PageSourceSearch

https://www.eichhorn-toys.de/build/custom.min.js?v=1764840331

js eichhorn-toys.de collected 2026-09-26 14:38:35 UTC 18,999 bytes, 1 lines download raw bytes

1function copyContentsButton(element){var copyText=element.getAttribute("data-copy");void 0!==navigator.clipboard?navigator.clipboard.writeText(copyText).then(function(){$(element).find(".state-1").fadeOut(250,function(){$(element).find(".state-2").css("display","flex").hide().fadeIn(),element.classList.add("copied")})},function(err){console.error("copyContentsButton(): Could not copy text: ",err)}):($(element).parent().children().find("input").select(),document.execCommand("copy"),$(element).find(".state-1").fadeOut(250,function(){$(element).find(".state-2").css("display","flex").hide().fadeIn(),element.classList.add("copied")}))}function copyContentsButtonExitIntent(element){var copyText=element.getAttribute("data-copy");void 0!==navigator.clipboard?navigator.clipboard.writeText(copyText).then(function(){$(element).find(".state-1").fadeOut(250,function(){$(element).find(".state-2").css("display","flex").hide().fadeIn(),element.classList.add("copied")})},function(err){console.error("copyContentsButton(): Could not copy text: ",err)}):($(element).parent().before().find("input").select(),document.execCommand("copy"),$(element).find(".state-1").fadeOut(250,function(){$(element).find(".state-2").css("display","flex").hide().fadeIn(),element.classList.add("copied")}))}(jQuery=$).event.special.doubletap={bindType:"touchend",delegateType:"touchend",handle:function(event){var handleObj=event.handleObj,targetData=jQuery.data(event.target),now=(new Date).getTime(),delta=targetData.lastTouch?now-targetData.lastTouch:0;delta<300&&30<delta?(targetData.lastTouch=null,event.type=handleObj.origType,["clientX","clientY","pageX","pageY"].forEach(function(property){event[property]=event.originalEvent.changedTouches[0][property]}),handleObj.handler.apply(this,arguments)):targetData.lastTouch=now}},$(document).ready(function(){$(document).on("click",'[data-action="paginate-products-overview"]',function(e){e.preventDefault();var currentScrollY=window.scrollY,currentScrollX=window.scrollX,target=$(this),targetHref=target.attr("href"),productsRow=$(".products__row"),destination=productsRow.find("div.row:first-of-type"),productsRowCount=productsRow.find(".products__row_count");productsRow.addClass("loading"),target.find(".more_loader_svg").removeClass("d-none"),$.get(target.attr("href"),{ajax:!0},function(response){null!==response.navigation.next?target.attr("href",response.navigation.next.uri):target.fadeOut(),productsRowCount.find("span:first-of-type").text(response.currentResultCount),productsRowCount.find("span:last-of-type").text(response.totalCount),destination.html(response.products_html),window.scrollTo(currentScrollX,currentScrollY),target.find(".more_loader_svg").addClass("d-none"),productsRow.removeClass("loading"),history.pushState({page:response.currentPage},"Page "+response.currentPage,targetHref)}).fail(function(){target.find(".more_loader_svg").addClass("d-none"),productsRow.removeClass("loading")})})}),$(document).ready(function(){$(document).on("submit","body.page--settings form",showPageLoading),$(document).on("click","body.page--settings a.settings_body_product__remove",showPageLoading),$(document).on("submit","body.page--checkout form",showPageLoading),$("body").hasClass("page--checkout")&&$(window).on("beforeunload",showPageLoading),$(document).on("submit","#comments_modal form",showPageLoading),$(document).on("submit","#js--filter_form",showPageLoading),$(document).on("submit",".header_main_col--search form",showPageLoading),$(document).on("click",'body.page--search_page button[type="submit"]',showPageLoading),$(document).on("click","body.page--search_page .js--search_page_tab",showPageLoading),$(document).on("click","body.page--search_page .js--products_info_categories__remove",showPageLoading)}),$(document).ready(function(){$(document).on("shown.bs.modal",".modal",function(){var customBackdropColor=$(this).data("backdrop-color");
1void 0!==customBackdropColor&&$(document).find(".modal-backdrop").css("background-color",customBackdropColor)}),$(document).on("hidden.bs.modal",".modal",function(){$(document).find(".modal-backdrop").removeAttr("style")})}),$(document).ready(function(){$(document).on("click","body.page--product .product_accordion__header.js--product_accordion__header",function(e){null!==$(e.currentTarget).parent().attr("class").match("open")&&setTimeout(function(e){var e=$(e.target).offset(),headerHeight=$(".js--header").height();$("html, body").animate({scrollTop:e.top-headerHeight-10},"slow")},350,e)}),setTimeout(()=>{$("#pds-tabs").on("click",'a[data-target^="#tab-pds-"].d-lg-none',function(e){$(e.currentTarget).hasClass("collapsed")&&setTimeout(function(e){var e=$(e.target).offset(),headerHeight=$(".js--header").height();$("html, body").animate({scrollTop:e.top-headerHeight-10},"slow")},350,e)}),$("#pds-tabs").on("click",'div.d-lg-block a[data-target^="#tab-pds-"]:not(.collapsed)',function(e){e.preventDefault(),e.stopPropagation()})},350)}),$(document).ready(function(){$(document).on("click","a.post_main__link__toyfan",function(){var target=$(this).attr("href"),tfSku=($(this).closest("div[data-toyfan-id]").data("toyfan-id"),$(this).closest("div[data-toyfan-id]").data("toyfan-sku")||null),eventType="Toyfan",eventAction="Clicked Link";$("body").hasClass("page--product")&&(eventType="ToyfanProductDetail",eventAction=tfSku||eventAction),"undefined"!=typeof _paq&&_paq.push(["trackEvent",eventType,eventAction,target])})}),$(document).ready(function(){let formNewsletterSubscription=$(document).find("#js--subscribe-newsletter"),widgetSocials=(formNewsletterSubscription.on("submit",function(e){var payload;e.preventDefault(),!0!==formNewsletterSubscription.data("request-pending")&&($(this).find('input[name="newsletter_widget[accept_terms]"]:checked').length?($(this).find(".checkbox").removeClass("text-danger font-weight-bold"),payload={},$.each($("#js--subscribe-newsletter").serializeArray(),function(i,field){payload[field.name]=field.value||""}),formNewsletterSubscription.find('button[type="submit"]').prop("disabled",!0),formNewsletterSubscription.data("request-pending",!0),$.post(formNewsletterSubscription.attr("action")+"?ajax=true",payload,function(response){response.html.length&&($(document).find("#newsletter_modal").remove(),$(document).find("div.page_wrapper").append(response.html),$(document).find("#newsletter_modal").modal("show"),response.success)&&(formNewsletterSubscription[0].reset(),formNewsletterSubscription.find(".social-v2--accept").addClass("d-none")),window.grecaptcha&&grecaptcha.reset()}).always(function(){formNewsletterSubscription.find('button[type="submit"]').prop("disabled",!1),formNewsletterSubscription.data("request-pending",!1)})):$(this).find(".checkbox").addClass("text-danger font-weight-bold"))}),formNewsletterSubscription.on("focus",'input[type="email"]',function(){formNewsletterSubscription.find(".social-v2--accept").removeClass("d-none")}),$("div.social-v2--socials")),widgetSocialsList=widgetSocials.find(".social-v2--list-socials");widgetSocials.on("click","a.social-v2--button-pill",function(e){e.preventDefault(),$(this).fadeOut(250,function(){$(this).addClass("d-none").removeClass("d-flex"),widgetSocialsList.addClass("open")})}),widgetSocials.on("click",".social-v2--list-socials--toggle",function(e){e.preventDefault(),widgetSocialsList.removeClass("open"),widgetSocials.find("a.social-v2--button-pill").show().addClass("d-flex").removeClass("d-none")}),"#newsletter"===location.hash&&$(".social-v2--newsletter").length&&setTimeout(()=>{document.querySelector(".social-v2--newsletter").scrollIntoView({block:"center",behavior:"smooth"}),$('.social-v2--newsletter input[type="email"]').focus()},500)}),$(document).ready(function(){$("#comments_modal").on("show.bs.modal",function(){var html=$(this).find("template").html();void 0!==html&&($(this).find("div.modal-body").html(html),$(document).trigger("sdg--render-star-rating"))})}),$(document).ready(function(){var filterPicker,TF_Filter,TF_Filter_Previous,TF_Offset,body=$("body.page--products_tests");function getCurrentFilters(){var selected,collection;return TF_Filter.b=((selected=filterPicker.find(".fast_search_body__age").find(".slick-slide:not(.slick-cloned) .active")).length||(selected=$(document).find(".products_tests_picker__user.active")),collection=[],$.each(selected,function(){collection.push($(this).find(".filter-trigger").data("blogger"))}),collection),TF_Filter.c=(()=>{selected=$(document).width()<768?filterPicker.find('input[name="data-category"]'):filterPicker.find("[data-category].selected");var selected,collection=[];return $.each(selected,function(){$(this).attr("data-category")?collection.push($(this).data("category")):parseInt($(this).val())&&collection.push($(this).val())}),collection})(),TF_Filter.a=(()=>{var selected=filterPicker.find("[data-age] .fast_search_body__circle--active"),collection=[];return $.each(selected,function(){void 0!==$(this).parent().data("age")&&collection.push($(this).parent().data("age"))}),collection})(),TF_Filter.s=filterPicker.find('[name="data-sort"]').val(),TF_Filter}body.length&&(filterPicker=body.find(".products_tests_picker"),TF_Filter_Previous={...TF_Filter={a:[],b:[],c:[],s:"",ajax:!0}},TF_Offset=0,body.on("click change",".filter-trigger",function(){setTimeout(function(){var currentUrl,lastChange,filters=getCurrentFilters();JSON.stringify(TF_Filter)!==JSON.stringify(TF_Filter_Previous)&&(filters=filters,currentUrl=location.href,lastChange="",JSON.stringify(TF_Filter.a)!==JSON.stringify(TF_Filter_Previous.a)&&(lastChange="age"),JSON.stringify(TF_Filter.b)!==JSON.stringify(TF_Filter_Previous.b)&&(lastChange="blog"),JSON.stringify(TF_Filter.c)!==JSON.stringify(TF_Filter_Previous.c)&&(lastChange="category"),body.addClass("page--loading"),$.ajax({type:"GET",data:{...filters,lastChange:lastChange},url:currentUrl,success:function(response,status,xhr){body.find(".tf-teaser-rows").html(response.posts_html),body.find(".js--toyfan-selected-filters").html(response.selected_filters_html),body.find(".js--toyfan-filters").html(response.available_filters_html),body.removeClass("page--loading"),body.find(".tf-total-count").text(response.total_count),body.find(".tf-current-count").text(response.current_count),response.current_count>=response.total_count?body.find(".tf-load-more").hide():body.find(".tf-load-more").show(),$(document).trigger("toyfan-re-init-js")},error:function(){body.removeClass("page--loading")}}),TF_Filter_Previous={...TF_Filter})},100)}),body.find(".tf-load-more").on("click",function(e){var currentScrollY,currentScrollX;currentScrollY=window.scrollY,currentScrollX=window.scrollX,TF_Offset+=1,body.addClass("page--loading"),$.ajax({type:"GET",data:{...getCurrentFilters(),o:TF_Offset,ajax:!0},url:location.href,success:function(response,status,xhr){body.find(".tf-teaser-rows").append(response.posts_html),window.scrollTo(currentScrollX,currentScrollY),body.removeClass("page--loading"),body.find(".tf-total-count").text(response.total_count),body.find(".tf-current-count").text(response.current_count),response.current_count>=response.total_count?body.find(".tf-load-more").hide():body.find(".tf-load-more").show()},error:function(response){body.removeClass("page--loading")}}),e.preventDefault()}),$(document).on("click",".products_info_categories__remove",function(e){e.preventDefault();
1var e=$(this).data("filter-name"),id=$(this).data("filter-id");"age"===e&&$(document).find('.filter-trigger[data-age="'+id+'"]').find(".fast_search_body__circle").trigger("click"),"category"===e&&($(document).width()<768?$(document).find('.select .filter-trigger[name="data-category"]').val(0).trigger("change"):$(document).find('.filter-trigger[data-category="'+id+'"]').trigger("click")),"blog"===e&&$(document).find('.filter-trigger[data-blogger="'+id+'"]').trigger("click")}))}),$(document).ready(function(){$(".show-password").on("click",function(){var target=$(this).data("for"),target=$(target);target.attr("type","password"===target.attr("type")?"text":"password"),$(this).toggleClass("showing")})}),$(document).ready(function(){$(".modal-show-onload").each(function(){$(this).modal("show")})}),$(document).ready(function(){var namespace=window;if("replaceState"in history)namespace.replaceHash=function(newhash){"#"!==(""+newhash).charAt(0)&&(newhash="#"+newhash),history.replaceState("","",newhash)};else{let hash=location.hash;namespace.replaceHash=function(newhash){location.hash!==hash&&history.back(),location.hash=newhash}}var elementNumber,namespace=$("dl#tips-and-tricks"),namespace=(namespace.length&&(namespace.on("click","dt",function(){$(this).toggleClass("expanded"),window.replaceHash($(this).attr("id"))}),location.hash)&&(namespace=$(document).find('dl#tips-and-tricks dt[id="'+location.hash.replace("#","")+'"]')).length&&(elementNumber=992<=window.innerWidth?1:0,namespace.toggleClass("expanded"),window.scrollTo(0,$(namespace).eq(elementNumber).offset().top+(992<=window.innerWidth?150:-100)),console.log($(namespace).eq(elementNumber).offset().top)),$("dl#faq"));if(namespace.length&&(namespace.on("click","dt",function(){$(this).toggleClass("expanded"),window.replaceHash($(this).attr("id"))}),location.hash)){let wantedEntry=$(document).find('dl#faq dt[id="'+location.hash.replace("#","")+'"]');if(wantedEntry.length){let elementNumber=992<=window.innerWidth?1:0;wantedEntry.toggleClass("expanded"),window.scrollTo(0,$(wantedEntry).eq(elementNumber).offset().top+(992<=window.innerWidth?150:-100)),console.log($(wantedEntry).eq(elementNumber).offset().top)}}}),$(document).ready(function(){var instagramCircle=$(".insta-circle");let influencerVideoModal=$("#influencer_video_modal"),influencerVideoModalDialog=influencerVideoModal.find(".modal-dialog"),influencerVideoModalContent=influencerVideoModal.find(".modal-content"),influencerVideoModalBody=influencerVideoModal.find(".modal-body");instagramCircle.length&&(instagramCircle.on("click",function(e){e.preventDefault();var e=$(this).data("video-file"),videoElement=$("<video/>"),videoSourceElement=(videoElement.addClass("video_player w-100 rounded"),videoElement.prop("controls",!0),videoElement.prop("autoplay",!0),$("<source/>"));videoSourceElement.attr("type","video/mp4"),videoSourceElement.attr("src",e),videoElement.append(videoSourceElement),influencerVideoModalBody.html(videoElement),influencerVideoModal.modal("show"),videoElement.height(window.innerHeight),influencerVideoModalContent.css({cssText:"margin-top: 0 !important","background-color":"#000"}),influencerVideoModalDialog.css({cssText:"margin: 0 auto !important",width:"fit-content"}),"undefined"!=typeof _paq&&_paq.push(["trackEvent","InstagramSaskia","Watched video",location.href])}),influencerVideoModal.on("hide.bs.modal",function(){$(this).find("video")[0].pause()}))}),$(document).ready(function(){let collapsableCommentsElement=$(".comments__collapsable");var collapsableCommentsButton=$(".comments__button");collapsableCommentsElement.length&&collapsableCommentsButton.click(function(e){e.preventDefault(),collapsableCommentsElement.addClass("show"),collapsableCommentsElement.find(".comments_item.d-none").removeClass("d-none"),$(this).hide()})}),$(document).ready(function(){setTimeout(function(){var has_vue_init=document.getElementById("vue_app_init_main");if(null==has_vue_init)try{var today,date,app_styles,script,wanted_call=new URLSearchParams(window.location.search).get("call_sub");null!=wanted_call&&(date=(today=new Date).getFullYear()+"."+today.getMonth()+"."+today.getDate(),(app_styles=document.createElement("link")).rel="stylesheet",app_styles.type="text/css",app_styles.href="/widgets/storelocator/dist/assets/index.css?v="+date,document.head.appendChild(app_styles),(script=document.createElement("script")).id="vue_app_init_main",script.type="module",script.src="/widgets/storelocator/dist/assets/index.js?v="+date,document.head.appendChild(script))}catch(e){console.log(e)}},200)}),$(document).ready(function(){$(document).on("click",".product-details-spare-parts--toggle",function(){$(".product-details-spare-parts").addClass("expanded")})}),$(document).ready(function(){$(document).on("click",".expand-allowed-country-list",function(){$(".allowed-country-list>p").toggleClass("expanded"),$(this).toggleClass("open")})}),jQuery(".slick-slider").slick({slidesToShow:1,dots:!1,adaptiveHeight:!0,infinite:!1,variableWidth:!1,nextArrow:'<div class="next"><i class="fas fa-chevron-right"></i></div>',prevArrow:'<div class="prev"><i class="fas fa-chevron-left"></i></div>'}),jQuery(".lightgallery-multi").lightGallery({thumbnail:!1,download:!1,fullScreen:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!1,autoplay:!1,autoplayControls:!1,pager:!1,zoom:!0,scale:1,hash:!1,share:!1,hideControlOnEnd:!0,toogleThumb:!0,showThumbByDefault:!0,actualSize:!1,closable:!1,hideBarsDelay:36e5,nextHtml:'<svg><use xlink:href="/build/img/symbol_sprite.svg#arrow"></use></svg>',prevHtml:'<svg><use xlink:href="/build/img/symbol_sprite.svg#arrow"></use></svg>',selector:"img"}),jQuery(".lightgallery-single").lightGallery({thumbnail:!1,download:!1,fullScreen:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!1,autoplay:!1,autoplayControls:!1,pager:!1,zoom:!0,scale:1,hash:!1,share:!1,hideControlOnEnd:!0,toogleThumb:!0,showThumbByDefault:!0,actualSize:!1,closable:!1,hideBarsDelay:36e5,nextHtml:'<svg><use xlink:href="/build/img/symbol_sprite.svg#arrow"></use></svg>',prevHtml:'<svg><use xlink:href="/build/img/symbol_sprite.svg#arrow"></use></svg>'}),$(document).ready(function(){$(".header_list_podlist__link-last.has-third-level").click(function(e){$(this).hasClass("show-third-level")||(e.preventDefault(),$(this).next("ul").removeClass("d-none")),$(this).addClass("show-third-level")})}),$(document).ready(function(){jQuery(".js--apply-voucher:not(.done)").click(function(e){e.preventDefault();let button=$(this);e=button.data("voucher-code");e&&(button[0].classList.toggle("loading"),jQuery.post(SDG_CART_URL,{voucher:{voucher_code:e}},function(response){setTimeout(function(){button[0].classList.toggle("loading"),button[0].classList.add("done")},1e3)}))})}),$(document).ready(function(){var headerHeight,bundleConfiguratorBadge=document.querySelectorAll(".sale_badge.set-config");if(void 0!==bundleConfiguratorBadge){let setConfigElement=document.querySelector("#set-config"),setConfigPositionTopOffset=setConfigElement.offsetTop||0;if(setConfigPositionTopOffset&&(headerHeight=document.querySelector(".header.js--header").offsetHeight||0)&&(setConfigPositionTopOffset-=headerHeight),void 0!==setConfigElement)for(let i=0;i<bundleConfiguratorBadge.length;i++)bundleConfiguratorBadge[i].addEventListener("click",function(){setTimeout(function(){window.scrollTo({top:setConfigPositionTopOffset,behavior:"smooth"})},500);function setConfigAnimationHandler(){setConfigElement.removeEventListener("animationend",setConfigAnimationHandler,!1),setConfigElement.classList.remove("eyecatcher")}setConfigElement.addEventListener("animationend",setConfigAnimationHandler,!1),setConfigElement.classList.add("eyecatcher")})}});

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.