1"use strict";(self.webpackChunkpimcore_seitwerk=self.webpackChunkpimcore_seitwerk||[]).push([[466],{2466(e,t,o){o.r(t);o(4423),o(8111),o(7588),o(2762);var n=o(1425);const c=".dropdown-menu.countries",r=".dropdown-menu.countries .loading-contacts-container",i=".dropdown-menu.countries .countries-list-container.outer",a=".dropdown-menu.countries .locations-detail",s=".dropdown-menu.countries .contacts-overview",l=".dropdown-menu.countries .contacts-overview.outer",d=".dropdown-menu.countries .countries-overview",u=".countries .dropdown-inner .container",p=(e,t)=>{e&&Object.assign(e.style,t)},y=()=>{document.querySelectorAll(c).forEach((e=>{e.addEventListener("click",(e=>e.stopPropagation()))}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",y):y();const h={async fetchData(e,t){const c=document.querySelector(r),s=document.querySelector(u);p(c,{opacity:"1",display:"block",height:"auto"}),s&&(s.scrollTop=0);const l=`${window.location.origin}/${e}/locations_detail/${t}`;try{const e=await fetch(l),r=await e.text();if(r.length>1){const e=document.querySelector(i),s=document.querySelector(a);if(p(c,{opacity:"0",display:"none",height:"0"}),p(e,{opacity:"0",pointerEvents:"none",zIndex:"-1",height:"0"}),p(s,{opacity:"1",pointerEvents:"all",height:"auto"}),s&&(s.innerHTML=r),window.scroll({top:0,left:0,behavior:"smooth"}),"Germany"===t&&document.getElementById("contact-search-germany")){const{default:e}=await Promise.all([o.e(96),o.e(39)]).then(o.bind(o,6039));(0,n.Ef)({components:{ContactSearch:e}}).mount("#contact-search-germany")}}}catch(e){p(c,{opacity:"0",display:"none",height:"0"})}},loadOverview(){p(document.querySelector(i),{opacity:"1",pointerEvents:"all",zIndex:"1",height:"auto"}),p(document.querySelector(a),{opacity:"0",pointerEvents:"none",height:"0"}),p(document.querySelector(s),{opacity:"0",height:"0",pointerEvents:"none"})},loadOverviewFromPlz(){p(document.querySelector(i),{opacity:"1",pointerEvents:"all",zIndex:"1",height:"auto"}),p(document.querySelector(a),{opacity:"0",pointerEvents:"none",height:"0"}),p(document.querySelector(l),{opacity:"0",height:"0",pointerEvents:"none"}),p(document.querySelector(d),{opacity:"1",pointerEvents:"all",display:"grid"})},filterCountries(e){const t=(e||"").trim().toLowerCase(),o=document.querySelector(d);o&&o.querySelectorAll(".countries-list").forEach((e=>{let o=0;e.querySelectorAll("a").forEach((e=>{const n=e.textContent.trim().toLowerCase().includes(t);e.style.display=n?"":"none",n&&(o+=1)}));const n=e.previousElementSibling;n&&"H2"===n.tagName&&(n.style.display=o>0?"":"none");const c=e.parentElement;c&&c.children.length<=2&&!c.classList.contains("countries-overview")&&(c.style.display=o>0?"":"none")}))},toggleLocationDropdown(e,t){const o=document.querySelector(c);o&&(o.classList.add("opened"),this.fetchData(e,t))}};o.g.loadLocations=h}}]);
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.