1const defaultValues={highlight:"all",eventtype:"all",people:"0",region:"all",place:"all",zip:"",radius:"0",q:"",date:"",hideOngoingEvents:"0",itemsPerPage:"20",pageId:"1"},replaceUrl=function(){const e=document.getElementsByName("etkeysForm");1===e.length&&e.forEach((function(e){const t=new FormData(e),n=getUrlChangeOption(t.entries(),defaultValues),o=removeProtocolAndHostFromUrl();if("highlightEventtypePeople"===n)urlForHighlightEventtypePeople(t.entries(),o)}))},getChangedOptions=function(e,t){let n={highlight:!1,eventtype:!1,people:!1,region:!1,place:!1,zip:!1,radius:!1,q:!1,date:!1,hideOngoingEvents:!1,itemsPerPage:!1};for(let o of e)for(const[e,r]of Object.entries(t))o[0]=="tx_evangtermine_list[etkeysForm]["+e+"]"&&o[1]!=r&&("highlight"===e&&(n.highlight=!0),"eventtype"===e&&(n.eventtype=!0),"people"===e&&(n.people=!0),"region"===e&&(n.region=!0),"place"===e&&(n.place=!0),"zip"===e&&(n.zip=!0),"radius"===e&&(n.radius=!0),"q"===e&&(n.q=!0),"date"===e&&(n.date=!0),"hideOngoingEvents"===e&&(n.hideOngoingEvents=!0),"itemsPerPage"===e&&(n.itemsPerPage=!0));return n},getUrlChangeOption=function(e,t){let n=getChangedOptions(e,t);return n.zip||n.radius||n.q||n.date||n.hideOngoingEvents||n.itemsPerPage?"none":n.eventtype&&n.people&&!n.region&&!n.place?"highlightEventtypePeople":n.highlight||n.eventtype||n.people||!n.region||n.place?n.highlight||n.eventtype||n.people||n.region||!n.place?void 0:"place":"region"},removeProtocolAndHostFromUrl=function(){return window.location.href.split(window.location.host)[1].replace(".html","")},urlForHighlightEventtypePeople=function(e,t){const n=t.split("/highlight/");let o,r,i;t=n[0];for(let t of e)"tx_evangtermine_list[etkeysForm][highlight]"===t[0]&&(o=t[1]),"tx_evangtermine_list[etkeysForm][eventtype]"===t[0]&&(r=t[1]),"tx_evangtermine_list[etkeysForm][people]"===t[0]&&(i=t[1]);let l=t+"/highlight/"+o+"/kategorie/"+r+"/zielgruppe/"+i;l.replace("//","/"),history.pushState("","",l)},urlForRegion=function(e,t){const n=t.split("/region/");let o;t=n[0];for(let t of e)"tx_evangtermine_list[etkeysForm][region]"===t[0]&&(o=t[1]);o=changeString(o),o=changeString(o),o=changeString(o),o=changeString(o),o=changeString(o);let r=t+"/region/"+o;r.replace("//","/"),history.pushState("","",r)},urlForPlace=function(e,t){const n=t.split("/ort/");let o;t=n[0];let r="";for(let t of e)"tx_evangtermine_list[etkeysForm][place]"===t[0]&&(o=t[1],r=document.querySelector('#places option[value="'+o+'"]').text);r=changeString(r),r=changeString(r),r=changeString(r),r=changeString(r),r=changeString(r);let i=t+"/ort/"+r;i.replace("//","/"),history.pushState("","",i)},changeString=function(e){return(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(" ","-")).replace("--","")).replace("Ã","ss")).replace('"',"")).replace("'","")).replace(".","")).replace(":","")).replace("?","")).replace("!","")).replace("(","")).replace(")","")).toLowerCase()).replace("ä","ae")).replace("ö","oe")).replace(/(?:\r\n|\r|\n)/g,"")};replaceUrl();const scrollToResults=function(){const e=document.getElementsByName("etkeysForm");for(let t=0;t<e.length;t++){const n=e[t];n.addEventListener("submit",(function(){localStorage.setItem("evangtermine-form","submitted")}));const o=n.querySelectorAll(".pagination li a");for(let e=0;e<o.length;e++)o[e].addEventListener("click",(function(){localStorage.setItem("evangtermine-form","submitted")}));let r="";try{r=localStorage.getItem("evangtermine-form")}catch(e){}if("submitted"===r){let e=n.querySelector(".et-event").offsetTop;if(void 0!==e){if(document.querySelector("header.fixed-header")){const t=document.querySelector(".top-toolbar");let n=0;t&&(n=t.offsetHeight);const o=document.querySelector(".main-navigation-toolbar");let r=0;o&&(r=o.offsetHeight);const i=document.querySelector("main").offsetTop;e=e-i-n-r}setTimeout((function(){window.scrollTo(0,e)}),300)}localStorage.removeItem("evangtermine-form")}}};scrollToResults();
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.