PageSourceSearch

https://csnog.eu/static/dist/js/csnog_web.c78b08903eba.js

js csnog.eu collected 2026-09-25 06:19:22 UTC 9,938 bytes, 9 lines download raw bytes

1function A(){const n="set-bar-width",t=document.querySelector(".cms-dragbar-title");if(t&&!document.getElementsByClassName(n).length){const o=document.createElement("span");o.classList.add(n);const r=[[800,"the largest"],[600,"larger"],[416,"default"]];for(const e in r){e>0&&o.appendChild(document.createTextNode(", "));const i=r[e][0],a=r[e][1],d=document.createElement("a");d.appendChild(document.createTextNode(a)),d.href=`#${i}`,d.addEventListener("click",p=>(p.stopPropagation(),document.querySelector("div.cms .cms-structure.cms-structure-condensed").style.width=`${i}px`,!1)),o.appendChild(d)}t.appendChild(o)}}const q=n=>{if(n&&document.body.hasAttribute("data-project_version")){const t=document.createElement("span"),o=document.createElement("span"),r=document.createElement("span"),e=document.createElement("span");t.classList.add("versions","project-version"),r.classList.add("versions","deployment-version"),e.classList.add("versions","platform-node"),t.title="Project version.",r.title="Deployment version.",e.title="Platform node.";const i=document.body.dataset.project_version?document.body.dataset.project_version:"...",a=document.body.dataset.deployment_version?document.body.dataset.deployment_version:"...",d=document.body.dataset.platform_node?document.body.dataset.platform_node.replace(/-[0-9a-z]{25}$/,""):"?";t.appendChild(document.createTextNode(i)),o.appendChild(document.createTextNode("/")),r.appendChild(document.createTextNode(a)),e.appendChild(document.createTextNode(d)),n.after(t,o,r,e)}},C=(n,t,o,r)=>{const e=document.createElement("li");e.className=`page-item${r?" disabled":""}`;const i=document.createElement("a");if(i.className="page-link",i.href="#",i.setAttribute("aria-label",n),t){const a=document.createElement("img");a.src=t,a.setAttribute("aria-hidden","true"),i.appendChild(a)}else{const a=document.createElement("span");a.setAttribute("aria-hidden","true"),a.innerHTML=n==="Previous"?"«":"»",i.appendChild(a)}return i.addEventListener("click",a=>{a.preventDefault(),r||o()}),e.appendChild(i),e},w=(n,t,o)=>{const r=document.createElement("li");r.className=`page-item${t?" active":""}`;const e=document.createElement("a");return e.className="page-link",e.href="#",e.textContent=n,e.addEventListener("click",i=>{i.preventDefault(),t||o()}),r.appendChild(e),r},x=n=>{const t=parseInt(n.dataset.pageSize,10)||20,o=n.querySelector("[data-participants-rows]"),r=n.querySelector("[data-participants-pagination]");if(!o||!r)return;const{iconPrev:e="",iconPrevDisabled:i="",iconNext:a="",iconNextDisabled:d=""}=n.dataset,p=Array.from(o.children),h=Math.ceil(p.length/t);let l=1;const v=f=>
1{if(r.innerHTML="",h<=1)return;const u=document.createElement("ul");u.className="pagination";const m=l===1;u.appendChild(C("Previous",m?i:e,()=>f(l-1),m));for(let c=1;c<=h;c++)u.appendChild(w(c,c===l,()=>f(c)));const g=l===h;u.appendChild(C("Next",g?d:a,()=>f(l+1),g)),r.appendChild(u)},s=(f,u=!1)=>{l=f;const m=(f-1)*t,g=m+t;if(p.forEach((c,b)=>{c.hidden=b<m||b>=g}),v(c=>s(c,!0)),u){const c=n.getBoundingClientRect().top+window.scrollY-30;window.scrollTo({top:c,behavior:"smooth"})}};s(1)},k=()=>{document.querySelectorAll("[data-participants]").forEach(x)},N=768;function T(n,t){const o=n.querySelector("tbody");if(!o)return;const r=Array.from(o.querySelectorAll("tr"));let e=null,i=null;function a(){const l=document.createDocumentFragment();r.forEach(v=>{const s=Array.from(v.querySelectorAll("td")),f=s[0],u=s[1],m=s[2],g=document.createElement("tr");if(g.appendChild(f.cloneNode(!0)),u&&g.appendChild(u.cloneNode(!0)),l.appendChild(g),m&&m.textContent.trim()){const c=document.createElement("tr");c.appendChild(f.cloneNode(!0)),c.appendChild(m.cloneNode(!0)),l.appendChild(c)}}),o.innerHTML="",o.appendChild(l)}function d(){o.innerHTML="",r.forEach(l=>{o.appendChild(l.cloneNode(!0))})}function p(){const l=window.innerWidth<t;l!==e&&(e=l,e?a():d())}function h(){clearTimeout(i),i=setTimeout(p,150)}p(),window.addEventListener("resize",h)}function M({selector:n=".render-context-program",breakpoint:t=N}={}){document.querySelectorAll(n).forEach(o=>{T(o,t)})}const _=768;function D(){const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches;for(const r of document.querySelectorAll(".video-source:not([data-video-initialized])")){let m=function(){const b=window.innerWidth<_&&i?i:e;b!==f&&(f=b,v.src=b,s.load(),n||s.play())},g=function(){clearTimeout(u),u=setTimeout(m,150)};var t=m,o=g;const e=r.dataset.video,i=r.dataset.videoMobile,a=r.dataset.gradient,d=r.dataset.poster;if(!e)continue;a&&r.style.setProperty("--video-gradient",a);const p=r.querySelector(":scope > .container");if(!p)continue;r.dataset.videoInitialized="";const h=document.createElement("div");h.className="col";const l=document.createElement("div");for(l.className="video-source__content";p.firstChild;)l.appendChild(p.firstChild);const v=document.createElement("source");v.type="video/mp4";const s=document.createElement("video");s.className="video-source__video",s.muted=!0,s.loop=!0,s.playsInline=!0,s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex","-1"),d&&(s.poster=d),n||(s.autoplay=!0),s.addEventListener("error",()=>{if(s.style.display="none",d){const c=document.createElement("img");c.className="video-source__video",c.src=d,c.alt="",c.setAttribute("aria-hidden","true"),h.insertBefore(c,s)}}),s.appendChild(v),h.appendChild(s),h.appendChild(l),p.appendChild(h);let f=null,u=null;m(),window.addEventListener("resize",g)}}function P(){for(const n of document.querySelectorAll(".slider-hp:not([data-slider-hp-initialized])")){n.dataset.sliderHpInitialized="";const t=n.dataset.gradient;t&&n.style.setProperty("--slider-hp-gradient",t)}}class I{constructor(t,o){if(this.inputs=t.querySelectorAll("input[type=checkbox]"),this.partUrl=[],t.dataset.checkbox_keys&&(this.partUrl=t.dataset.checkbox_keys.split(",").map(r=>r.trim())),this.partUrl&&o){const e=new URL(o).pathname.match(/([^/]+)\/?$/);if(e){const i=this.partUrl.indexOf(e[1]);i!==-1&&(this.inputs[i].checked=!0)}}}}document.addEventListener("DOMContentLoaded",()=>{for(const n of document.getElementsByClassName("checkbox-url"))new I(n,document.referrer)});class B{constructor(t){this.checkboxset=t,this.dangerClass=t.querySelector(".text-danger"),t.addEventListener("input",()=>{const o=t.querySelectorAll("input[type=checkbox]:checked").length,r=t.querySelectorAll("input[type=checkbox]");if(o<t.dataset.required_min)for(const e of r)e.classList.remove("checkbox-ok"),this.dangerClass.classList.remove("d-none");else for(const e of r)e.classList.add("checkbox-ok"),this.dangerClass.classList.add("d-none")})}}document.addEventListener("DOMContentLoaded",()=>{for(const n of document.querySelectorAll(".base-form .checkbox.has-error"))new B(n)});const z=document.getElementsByTagName("body")[0];let y=[];const L=n=>{const t=`
2    <div class='gallery-view'>
3        <img class='gallery-img' src='${n}' alt='open image'>
4        <div class='gallery-close'></div>
5        <div class='gallery-previus'></div>
6        <div class='gallery-next'></div>
7    </div>
8    `;z.insertAdjacentHTML("afterbegin",t)},S=n=>{n.addEventListener("click",()=>{const t=document.querySelector(".gallery-view");t.classList.add("image-hide"),t.addEventListener("animationend",()=>{n.parentElement.remove()})})},j=()=>{S(document.querySelector(".gallery-close")),S(document.querySelector(".gallery-img"))},E=(n,t)=>{n.setAttribute("src",t)},H=()=>{const n=document.querySelector(".gallery-view"),t=document.querySelector(".gallery-img");n.addEventListener("click",o=>
8{const r=o.target.getAttribute("class");let e=0,i="";y.forEach(a=>{a.href.includes(t.getAttribute("src"))&&(i=a.href)}),e=y.findIndex(a=>a.href===i),t.classList.add("image-change"),t.addEventListener("animationend",function(){this.classList.remove("image-change")}),r==="gallery-previus"?e<1?E(t,y[y.length-1].href):E(t,y[e-1].href):r==="gallery-next"&&(e<y.length-1?E(t,y[e+1].href):E(t,y[0].href))})};addEventListener("DOMContentLoaded",()=>{const n=document.querySelector(".gallery"),t=document.querySelectorAll(".gallery .filer-image-link");y=Array.from(t),n&&n.addEventListener("click",o=>{o.preventDefault(),o.target.classList.contains("filer-image-link")&&L(o.target.getAttribute("href")),(o.target.classList.contains("filer-image-info")||o.target.classList.contains("filer-image"))&&L(o.target.parentElement.getAttribute("href")),o.target.classList.contains("title")&&L(o.target.parentElement.parentElement.getAttribute("href")),j(),H()})});document.addEventListener("DOMContentLoaded",()=>{const n=document.getElementsByTagName("BODY")[0],t=document.getElementById("toggleMenu");function o(e,i){t&&t.addEventListener("click",function(){e.classList.toggle(i)})}o(n,"show-body");for(const e of document.querySelectorAll(".base-form input[type=email].has-error"))e.value&&e.classList.add("email-error"),e.addEventListener("input",()=>{e.classList.remove("email-error")});for(const e of document.querySelectorAll(".cooperation aside img"))e.insertAdjacentHTML("afterend",`<div class='info-tooltip' >${e.alt}</div>`);for(const e of document.querySelectorAll(".collapse-box"))e.querySelector("header[id^=trigger]").classList.remove("collapsed"),e.querySelector("header[id^=trigger]").setAttribute("aria-expanded",!0),e.querySelector("aside[id^=container]").classList.add("collapse","show");for(const e of document.querySelectorAll(".prevent-default"))e.href="";for(const e of document.querySelectorAll('a[href^="mailto"]'))e.dataset.subject&&(e.href=`${e.href}?subject=${e.dataset.subject}`);for(const e of document.querySelectorAll(".cancel-event"))e.addEventListener("click",i=>{i.preventDefault()});const r=document.querySelector(".cms-toolbar-item-cms-mode-switcher > a:not(.cms-btn-disabled)");r&&r.addEventListener("click",()=>{setTimeout(A,1e3)},!0),q(document.querySelector(".cms-toolbar-item-logo a")),k(),M(),D(),P()});
9//# sourceMappingURL=csnog_web.js.c70639b58935.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.