PageSourceSearch

https://www.de-cix.net/_Resources/Static/Packages/Decix.DecixNet/Scripts/Main.js?bust=2b4ad411

js de-cix.net collected 2026-10-01 08:39:25 UTC 11,367 bytes, 2 lines download raw bytes

1import{a as E}from"./chunks/chunk-IMLOZTNJ.js";import{a as l}from"./chunks/chunk-L7ZJ2VRV.js";import"./chunks/chunk-KVMUXFPB.js";function w(o,t){let e=document.querySelectorAll(`.${o}`);for(let s of e){let i=s.querySelectorAll(`.${t}`);for(let n of i){let a=n.querySelector("input, select, textarea"),c=`${t}--focus`;a.value!==""&&n.classList.add(c),a.addEventListener("focus",()=>{n.classList.add(c)}),a.addEventListener("blur",()=>{a.value===""&&n.classList.remove(c)})}}}window.prepareCompactForms=w;w("form--compact","input");var g="neos"in window,d="accordion__item--open",m="accordion__item",N="accordion__button",q=document.querySelectorAll(".accordion");function C(o,t,e){let s=o;g&&(s=o.querySelector(".list__indicator")),s.addEventListener("click",i=>{let n=i.target.closest(`.${m}`),a=n.querySelector(".accordion__drawer");n.classList.contains(d)?(n.classList.remove(d),a.style.maxHeight="0px"):(t.forEach(c=>{c.classList.remove(d)}),e.forEach(c=>{c.style.maxHeight="0px"}),n.classList.add(d),a.style.maxHeight=a.scrollHeight+"px")})}function k(o){let t=o.querySelectorAll(`.${m}`),e=o.querySelectorAll(".accordion__drawer");return{items:t,drawers:e}}if(g){let o=new MutationObserver(t=>{for(let e of t)if(e.addedNodes.length>0){for(let s of e.addedNodes.values())if(s.nodeType===Node.ELEMENT_NODE&&s.classList.contains(m)){let{items:i,drawers:n}=k(s.closest(".accordion"));C(s.querySelector(`.${N}`),i,n)}}});for(let t of q)o.observe(t,{attributes:!1,childList:!0,subtree:!0})}for(let o of q){let{items:t,drawers:e}=k(o);g||t.forEach(s=>{s.addEventListener("transitionend",()=>{let i=s.closest(`.${d}`);l.matchesMax("lg")&&i&&i.closest(`.${m}`).scrollIntoView({behavior:"smooth",block:"start"})})});for(let s of o.querySelectorAll(`.${N}`))C(s,t,e)}var p=17,A=document.getElementById("ajaxLoadMore");A&&A.addEventListener("click",F);function F(){let o=this.dataset.url,t=this.dataset.target,e=this.dataset.content,s=this.dataset.search,i=this.dataset.loadingText,n=this.getElementsByTagName("span").item(0).innerHTML;this.getElementsByTagName("span").item(0).innerHTML=i,fetch(o+"?"+new URLSearchParams({ajax:e,offset:p,search:s})).then(a=>a.text()).then(a=>{document.getElementById(t).insertAdjacentHTML("beforeend",`${a}`),p+=17,fetch(o+"?"+new URLSearchParams({ajax:e,offset:p,search:s})).then(r=>r.text()).then(r=>{r?this.getElementsByTagName("span").item(0).innerHTML=n:this.remove()})})}var b="meta__item--active";function D(o){if(window.matchMedia("(max-width: 991px").matches&&o==="meta-search"){let t=document.querySelector(".navigation");t.classList.remove("navigation--show"),t.style.removeProperty("height")}}function x(o,t){for(let e of document.querySelectorAll(`${o}`)){let s=e.parentNode.querySelector(`.${t}`);s||(s=document.querySelector(`.header__content .${t}`));let i=n=>{!n.target.closest(`${o}`)&&!n.target.closest(`.${t}`)&&(e.parentNode.classList.remove(b),s.classList.remove(`${t}--show`),document.removeEventListener("click",i))};e.addEventListener("click",n=>{n.preventDefault(),s.classList.contains(`${t}--show`)?(e.parentNode.classList.remove(b),s.classList.remove(`${t}--show`),document.removeEventListener("click",i)):(e.parentNode.classList.add(b),s.classList.add(`${t}--show`),document.addEventListener("click",i)),D(t)})}}x(".meta__search button","meta-search");x(".meta__lang button","meta-lang");var u="sub-navigation--open",y="navigation__item--shows-sub",L="navigation--show",T=o=>{let t=document.querySelectorAll(`.${u}`);for(let e of t)e!==o&&(e.parentNode.classList.remove(y),e.classList.remove(u));return t.length>0},B=()=>{document.addEventListener("click",o=>{o.target.closest(".navigation__item")||T()})},V=()=>{let o=document.querySelector(".navigation");document.querySelector(".navigation__mobile").addEventListener("click",()=>{o.classList.contains(L)?(o.classList.remove(L),h()):o.classList.add(L)}),document.querySelector(".navigation__mobile-meta").addEventListener("click",()=>{document.querySelector(".meta__item--active")?v(document.querySelector(".navigation").offsetHeight+80):h()})},R=()=>{V();let o=document.querySelectorAll(".navigation__item");for(let t of o)t.querySelector("* >
1 a").addEventListener("click",s=>{s.preventDefault();let i=t.querySelector(".sub-navigation"),n=T(i);if(i)if(i.classList.contains(u))t.classList.remove(y),i.classList.remove(u),h(),s.target.blur();else{t.classList.add(y),i.classList.add(u);let a=i.querySelector(".sub-navigation__row").offsetHeight;v(a),n&&l.matchesMax("lg")&&t.scrollIntoView({behavior:"smooth",block:"start"})}})};function P(){document.querySelectorAll(".sub-navigation__item:not([href])").forEach(s=>{s.addEventListener("click",i=>{let n=document.querySelector(".sub-navigation__second-level-item.active");n&&n.classList.remove("active");let a=s;a&&a.classList.toggle("active");let c=document.querySelector(".sub-navigation__third-level.active");c&&c.classList.remove("active");let r=i.target.nextElementSibling;if(r){r.classList.toggle("active");let $=r.offsetHeight;v($)}})}),document.querySelectorAll(".sub-navigation__close, .navigation__close").forEach(s=>{s.addEventListener("click",()=>{let i=document.querySelector(".navigation.navigation--show");i&&i.classList.remove("navigation--show");let n=document.querySelector(".sub-navigation.sub-navigation--open");n&&n.classList.remove("sub-navigation--open");let a=document.querySelector(".navigation__item.navigation__item--shows-sub");a&&a.classList.remove("navigation__item--shows-sub");let c=document.querySelector(".sub-navigation__third-level.active");c&&c.classList.remove("active");let r=document.querySelector(".sub-navigation__second-level-item.active");r&&r.classList.remove("active")})}),document.querySelectorAll(".sub-navigation__back").forEach(s=>{s.addEventListener("click",i=>{i.currentTarget.closest(".sub-navigation__third-level")?(i.currentTarget.closest(".sub-navigation__third-level").classList.remove("active"),v(document.querySelector(".sub-navigation.sub-navigation--open").offsetHeight)):(i.currentTarget.closest(".sub-navigation").classList.remove("sub-navigation--open"),i.currentTarget.closest(".navigation__item").classList.remove("navigation__item--shows-sub"),h())})})}function v(o){l.matchesMax("lg",!0)&&(document.querySelector(".navigation").style.height=o+"px")}function h(){l.matchesMax("lg",!0)&&document.querySelector(".navigation").style.removeProperty("height")}R();P();B();var _=class{constructor(){this.closeSvg='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"/></svg>',this.classNameAppearAnimation="floating-nav--appear-animation",this.classNameOpen="floating-nav--open",this.classNameVisible="floating-nav--visible",this.listElement=document.querySelector(".list--sticky-on-page-nav"),this.listElement&&this.initialize()}initialize(){this.createFloatingNav(),this.copyListToFloatingNav(),this.applyScrollToAnimation(),this.setInitialVisibility(),this.showFlapWhenLeavingItemList(),this.closeOnOutsideClick()}createFloatingNav(){let t=document.createElement("button");t.innerText=this.getListTitle(),t.classList.add("floating-nav__flap"),t.addEventListener("click",()=>{this.isOpen()?this.close():this.open()});let e=document.createElement("button");e.innerHTML=this.closeSvg,e.classList.add("floating-nav__close"),e.addEventListener("click",()=>this.close()),this.floatingNav=document.createElement("nav"),this.floatingNav.classList.add("floating-nav"),this.floatingNav.appendChild(t),this.floatingNav.appendChild(e),document.body.appendChild(this.floatingNav)}copyListToFloatingNav(){let t=this.listElement.cloneNode(!0);this.floatingNav.appendChild(t)}applyScrollToAnimation(){let t=e=>{for(let s of e)s.addEventListener("click",i=>{let n=i.target.closest("a"),a=this.getHashFromUrl(n.getAttribute("href"));i.preventDefault(),this.close(),document.querySelector("#"+a).scrollIntoView({behavior:"smooth"})})};t(this.floatingNav.querySelectorAll("a")),t(this.listElement.querySelectorAll("a"))}setInitialVisibility(){this.listElement.getBoundingClientRect().y<0&&this.show()}showFlapWhenLeavingItemList(){let t=s=>{let i=this.listElement.getBoundingClientRect();for(let n of s)i.y<0?n.intersectionRatio>0&&this.show():this.hide()};new IntersectionObserver(t,{root:null,rootMargin:"0px",threshold:[0,.25]}).observe(this.listElement)}closeOnOutsideClick(){document.addEventListener("click",t=>{t.target.closest(".floating-nav")||this.close()})}getHashFromUrl(t){return t.split("#").pop()}getListTitle(){let t=this.listElement.closest(".container");if(t){let e=t.querySelector("h2");if(e)return e.innerText}return""}isOpen(){return this.floatingNav.classList.contains(this.classNameOpen)}open(){this.floatingNav.classList.add(this.classNameOpen)}close(){this.floatingNav.classList.remove(this.classNameOpen)}isVisible(){return this.floatingNav.classList.contains(this.classNameVisible)}show(){this.floatingNav.classList.add(this.classNameVisible),this.floatingNav.classList.add(this.classNameAppearAnimation)}hide(){this.floatingNav.classList.remove(this.classNameVisible)}};new _;var I=document.querySelector(".breadcrumb__container--sticky");if(I){let o;o=new IntersectionObserver(([t])=>t.target.classList.toggle("is-stuck",t.intersectionRatio<1),{threshold:1}),o.observe(I)}var S="tabs-nav__tab--active",M="tab-content__panel--active";
1for(let o of document.querySelectorAll(".tabs-nav")){let t=o.querySelectorAll(".tabs-nav__tab");for(let e of t)e.addEventListener("click",s=>{if(s.preventDefault(),!e.classList.contains(S)){t.forEach(n=>{n.classList.remove(S),n.setAttribute("aria-selected",!1)}),e.classList.add(S),e.setAttribute("aria-selected",!0);let i=document.querySelector(e.hash);for(let n of i.parentElement.querySelectorAll(".tab-content__panel"))n.classList.remove(M);i.classList.add(M)}})}function H(){if(document.body&&document.body.classList.contains("neos-backend"))return;let o=document.querySelectorAll("[data-ticker-target]");o.length!==0&&o.forEach(t=>{let s=(t.closest("[data-ticker-scope]")||document).querySelector("[data-ticker-content]");if(!s||!s.content)return;let i=s.content.querySelector(".vertical-scroll-ticker__scroll-stage");if(!i)return;let n=t.querySelector("strong");n&&n.replaceChildren(i.cloneNode(!0))})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",H):H();var O=new Set,X=()=>{if("Hubspot"in DECIX&&typeof hbspt<"u"){let o=[];for(let t of DECIX.Hubspot.forms){let e=`${t.id}:${t.target}`;if(O.has(e))continue;O.add(e);let s=new Promise(i=>{hbspt.forms.create({region:DECIX.Hubspot.region,portalId:DECIX.Hubspot.portalId,formId:t.id,cssClass:t.className,target:t.target,cssRequired:"",onFormReady:()=>i()})});o.push(s)}Promise.all(o).then(()=>{window.prepareCompactForms("form--compact","hs-form-field")})}},f=()=>{typeof hbspt<"u"&&"Hubspot"in DECIX?X():"Hubspot"in DECIX&&setTimeout(f,100)};window.addEventListener("CookiebotOnTagsExecuted",f);document.addEventListener("DOMContentLoaded",f);f();E.init();
2//# sourceMappingURL=Main.js.map

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.