PageSourceSearch

https://gokart-hamburg.de/wp-content/themes/parallax/js/themify-script.js?ver=7.9.1

js gokart-hamburg.de collected 2026-10-06 16:38:46 UTC 4,827 bytes, 1 lines download raw bytes

1(($,o,e,t,i,l,s)=>{"use strict";let n=null;const r=$(t.body);({bodyCl:t.body.classList,init(){o.megaMenu(t.tfId("main-nav")),this.bodyCl.contains("fixed-header-enabled")&&o.fixedHeader(),this.headerVideo(),this.sideMenu(),this.skills(),o.on("tf_lazy tf_swiper_init",(o=>{this.skills(o?.el||o)})),t.tfClass("post")[0]!==s&&this.infinite("#loops-wrapper"),t.tfClass("portfolio-post")[0]!==s&&this.infinite(".portfolio-wrapper"),setTimeout((()=>{this.loadFilterCss(),setTimeout((()=>{this.scrollTo(),this.portfolioExpand()}),1e3)}),800)},infinite(e){for(let i=(e=t.querySelectorAll(e)).length-1;i>-1;--i)e[i].tfOn("infiniteloaded",(e=>{const t=[],i=e.detail.items;for(let o=i.length-1;o>-1;--o){if(i[o].classList.contains("post")){let e=i[o].tfClass("slides");for(let o=e.length-1;o>-1;--o)t.push(e[o])}this.skills(i[o])}t.length>0&&o.carousel(t)}),{passive:!0});o.infinity(e,{scrollToNewOnLoad:l.scrollToNewOnLoad,scrollThreshold:"auto"===l.autoInfinite&&200})},headerVideo(){const e=t.tfId("headerwrap");if(e){const t=o.selectWithParent("[data-fullwidthvideo]",e);t.length>0&&o.loadJs(i.theme_url+"/js/modules/header-video",null,i.theme_v).then((()=>{o.trigger("themify_theme_header_video_init",[t])}))}},skills(o=t){const e=o.tfClass("progress-bar");if(e[0]!==s){null===n&&(n=new IntersectionObserver((o=>{for(let e=o.length-1;e>-1;--e){let t=o[e].intersectionRatio;if(1===t||0===t){let i=o[e].target.tfTag("span")[0];i.style.transition=0===t?"none":"",i.style.width=0===t?"0px":i.dataset.percent}}}),{threshold:[0,1]}));for(let o=e.length-1;o>-1;--o)n.observe(e[o])}},sideMenu(){const e=t.tfId("menu-icon");if(null!==e)o.sideMenu(e,{close:"#menu-icon-close",side:this.bodyCl.contains("header-minbar")||this.bodyCl.contains("header-leftpane")?"left":"right"});else{const o=t.tfId("menu-icon-dropdown");o&&(o.tfOn("click",(()=>{$(".dropdown-menu-style #main-nav").fadeToggle(),this.bodyCl.toggle("dropdown-menu-visible")}),{passive:!0}),t.tfOn("click",(o=>{o.target.closest("#menu-icon-dropdown")||($(".dropdown-menu-style.mobile_menu_active #main-nav").slideUp("fast"),this.bodyCl.remove("dropdown-menu-visible"))}),{passive:!0}))}r.on("touchstart touchmove touchend","#main-nav",(o=>{o.stopPropagation()}))},portfolioExpand(){if(this.bodyCl.contains("single-portfolio-expanded"))return e.top.Themify.trigger("theme_portfolio_expand",t.body.clientHeight),void o.on("tfsmartresize",(()=>{e.top.Themify.trigger("theme_portfolio_expand",t.body.clientHeight)}));o.on("theme_portfolio_expand",(o=>{const e=t.tfId("portfolio-lightbox-iframe");e&&(e.style.height=o+"px")})),r.on("click",".porto-expand-js",(function(t){if(!t.target.closest(".themify_builder_slider")){t.preventDefault();const i=$(this),l=$(e).scrollTop(),s=this.closest(".shortcode,.module-portfolio")||this.closest(".post").parentNode;$(".portfolio-expanded").remove(),$('<div class="portfolio-expanded tf_rel tf_clear tf_overflow"><iframe id="portfolio-lightbox-iframe" class="tf_block tf_w"></iframe></div>').appendTo(s).hide(),$(".portfolio-loader").remove(),$('<div class="portfolio-loader tf_loader tf_hide">').appendTo(i.closest(".portfolio-post").find(".post-image")).show(),$(".portfolio-expanded").show(),$("#portfolio-lightbox-iframe").prop("src",o.updateQueryString("porto_expand",1,i.attr("href"))).on("load",(function(){const e=$(this).contents(),t=i.data("post-id"),s=[];$(".portfolio-loader").remove(),$(".portfolio-expanded").hide().slideDown("slow",(()=>{let e=$(".portfolio-expanded").offset().top,t=$("#main-nav-wrap, #tbp_header").first();t.length&&(e-=t.outerHeight()),o.scrollTo(e,1e3),r.triggerHandler("portfolio_expanded")})),e.find(".close-expanded").on("click",(function(e){e.preventDefault(),$(".portfolio-expanded").slideUp(800,(function(){$(this).remove()})),o.scrollTo(l)}));let n=!1;i.closest(".post").parent().find(".post").each((function(){let o=$(this).find("a.porto-expand-js").first();if(o.length>0){let e=o.data("post-id");e&&(s.push({id:e,post:o}),t===e&&(n=s.length-1))}})),0===n?e.find(".expand-prev").remove():n===s.length-1&&e.find(".expand-next").remove(),s.length>1&&e.find(".expand-arrow").on("click",(function(o){o.preventDefault();let e=!1;for(let o in s)if(s[o].id===t){e=parseInt(o);break}if(!1!==e){const o=$(this).hasClass("expand-next")?e+1:e-1;s[o]?.post.trigger("click")}})).show()}))}}))},scrollTo(){const t=e.location.hash.replace(/^#\!\//,"").replace("#","");if(""!==t&&$("#"+t).length>0){const e=$("#"+t).offset().top;o.scrollTo(e,1e3)}$(".back-top a").on("click",(e=>{e.preventDefault(),o.scrollTo()}))},loadFilterCss(){const e=["blur","grayscale","sepia","none"];for(let l=3;l>-1;--l)t.tfClass("filter-"+e[l])[0]===s&&t.tfClass("filter-hover-"+e[l])[0]===s||o.loadCss(i.theme_url+"/styles/modules/filters/"+e[l],null,i.theme_v)}}).init()})(jQuery,Themify,window,document,themify_vars,themifyScript,void 0);

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.