PageSourceSearch

https://www.schauspielhausbochum.de/scripts/eyeAbleInclude-www.schauspielhausbochum.de.js

js schauspielhausbochum.de collected 2026-10-02 17:12:15 UTC 12,725 bytes, 187 lines download raw bytes

1let eA_domain = "www.schauspielhausbochum.de";
2let eA_top = "15%"; //Top-Position des Icons z.B. "200px" oder "calc(50% -44px)"
3let eA_side = "right"; //Seitenposition Icon z.B. "left"
4let eA_bottom = "15%"; //Mobile bottom position
5let eA_privacyPath = "https://eye-able.com/hinweis-datenschutz/"; //Url of the privacy notification
6let eA_path = "https://cdn.eye-able.com/"; //Change to the local path of the public folder when hosting Eye-Able
7let eA_configPath = "https://cdn.eye-able.com/configs/"; //Change to the local path of the config when hosting Eye-Able
8
9let t1 = "Eye-Able - Visuelle Hilfe";
10let t2 = "Passe diese Seite visuell an oder lass sie Dir vorlesen. Klicken zum Öffnen.";
11let t3 = "Externer Dienst";
12let t4 = "Mehr Infos";
13if(document.documentElement.lang && (document.documentElement.lang.includes("en") || !document.documentElement.lang.includes("de"))) {
14    t1 = "Eye-Able® - Visual Help";
15    t2 = "Customize this website visually or use the screenreader. Click to open.";
16    t3 = "External Service";
17    t4 = "More Info";
18    eA_privacyPath = "https://eye-able.com/en/hinweis-datenschutz/";
19}
20
21let eA_bColor = "#000"; //background color of the icon
22function eyeAble_updateConfig() {
23    eyeAble_pluginConfig.customIconColor = eA_bColor;
24}
25let eA_loaded = false;
26function aEA() {
27    if(!eA_loaded){
28        let eA_h = document.querySelector('head') || document.body;
29        let s = document.createElement('script');
30        let c = document.createElement('script');
31        s.src = eA_path + 'public/js/eyeAble.js';
32        s.async = true;
33        c.src = eA_configPath + eA_domain + '.js';
34        eA_h.appendChild(c);
35        eA_h.appendChild(s);
36        eA_loaded = true;
37    }
38}
39
40let eA_open = false;
41//load directly if a LocalStorage Entry exists
42if (localStorage.getItem("eyeAbleVariables")) {
43    aEA();
44} else {
45    function s() {
46        //Check for custom opener elements
47        let co = document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID,.eyeAble_customToolOpenerNoHideClass");
48        if(window.location.hash.substr(1) === "showEyeAble"){
49            eA_open = true;aEA();return;
50        }
51        if (co.length > 0) {
52            function cOf() {
53                eA_open = true;
54                aEA();
55                co.forEach(e => e.removeEventListener("click", cOf));
56            }
57            co.forEach(e => e.addEventListener("click", cOf));
58            co.forEach(e => e.addEventListener("keyup", function (e) {if (event.which === 13) cOf();}));
59        } else {
60            let t = document.createElement('Eye-Able');
61            t.setAttribute("id", "eA_Opener");
62            t.attachShadow({mode: 'open'});
63            //append after the first link that is not a jump to a landmark
64            if(document.links.length > 0) {
65                //check if the first link has an hash, which would indicate a jump to a landmark
66                if(!document.links[0].hash) {
67                    //no hash
68                    document.body.prepend(t);
69                } else {
70                    for (let i = 0; i < document.links.length; i++) {
71                        if(document.links[i].hash && document.links[i].baseURI.includes(window.location.hostname)) {
72                            //link with hash found! Place access after this one
73                        } else {
74                            if(i===0) {
75                                //make sure its not places at the end
76                                document.body.prepend(t);
77                                break;
78                            } else {
79                                //a link has been found without an hash. Place the access link right after the last link that had an hash
80                                document.links[i-1].after(t);
81                                break;
82                            }
83
84                        }
85                    }
86                }
87            } else {
88                document.body.prepend(t);
89            }
90            let h = document.createElement('div');
91            if (window.innerWidth < 700) { eA_side = "right";}
92            h.setAttribute("style", "position: fixed;top:" + eA_top + ";" + eA_side + ": 11px;z-index: 2147483648");
93            t.shadowRoot.appendChild(h);
94            let ts = "left";
95            if(eA_side==="left") ts = "right";
96            let eA_fColor = "#fff"; //foreground color of the icon
97            let s = '' +
98                '<div aria-hidden="true" id="t" style="display:none;'+ts+': -350px;top: -40px;position: absolute;background: black;color: white;width: 290px;padding: 11px 20px 28px;border-radius: 20px;border: 3px solid #fff;font-family:Open Sans,sans-serif;font-weight: 400;font-size: 17px;line-height:24px;box-shadow: 0 0 8px 1px rgb(0 0 0 / 50%);">' +
99                '   <div style="font-size: 22px;font-weight: bold;padding-bottom: 8px;margin-bottom: 8px;border-bottom: 3px solid;">'+t1+'</div>' +
100                '   <p style="margin: 0 0 13px 0;">'+t2+'</p>' +
101                '   <p style="position: absolute;bottom: 11px;right: 22px;margin: 0;font-weight: bold;font-size: 16px;">'+t3+' (<a href="'+ eA_privacyPath+'" target="_blank" style="' +
102                '    color: white;text-decoration: underline;cursor: pointer;">'+t4+'</a>)</p>'+
103                '</div>' +
104                '<div tabindex="0" role="img" aria-label="'+t1+' '+t2+t3+'" id="i" style="width: 70px;cursor: pointer;transition: transform 150ms ease;">' +
105                '   <svg style="filter: drop-shadow(2px 3px 4px #505050);" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
105ox="0 0 389.9 389.6" preserveAspectRatio="none" xmlns:v="https://vecta.io/nano"><defs><linearGradient id="A" x1="253.85" y1="63.7" x2="253.85" y2="480.49" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4f4f4e"></stop><stop offset=".26" stop-color="#313130"></stop><stop offset=".55" stop-color="#161616"></stop><stop offset=".8" stop-color="#060606"></stop><stop offset="1"></stop></linearGradient><linearGradient id="B" x1="214.9" y1="353.49" x2="286.3" y2="353.49" gradientTransform="matrix(0.16, 0.99, 0.99, -0.16, -138.47, -44.34)" xlink:href="#A"></linearGradient><linearGradient id="C" x1="135.26" y1="296.4" x2="365.84" y2="296.4" xlink:href="#A"></linearGradient></defs><path style="fill:'+eA_bColor+'" d="M201.6 443.2h-33.4c-27.7 0-51.9-9.6-71.9-28.4a101.84 101.84 0 0 1-30.6-56.2 107.42 107.42 0 0 1-1.7-19v-52.7l.1-120.5c.1-26.7 9.5-50.3 28.1-70.1a101.58 101.58 0 0 1 55.6-30.7 104 104 0 0 1 20.9-1.9H339c25.9 0 48.8 8.3 68.1 24.6a102 102 0 0 1 34.5 58.2 100.5 100.5 0 0 1 2.1 20.8V340a99.13 99.13 0 0 1-11 46.3c-15.9 30.4-41 49.1-74.7 55.6a95.89 95.89 0 0 1-17.6 1.6h-87.8z" transform="translate(-59.2 -58.6)" fill="url(#A)"></path><path style="fill:'+eA_fColor+'" d="M279.9 10c24.4 0 46.2 7.6 64.8 23.4C362 48 372.9 66.6 377.6 88.8a93.42 93.42 0 0 1 2 19.7q0 86.4.1 172.7a94.41 94.41 0 0 1-10.4 44q-22.8 43.65-71.2 53a85.05 85.05 0 0 1-16.7 1.5H109.2c-26.4 0-49.3-9-68.4-27.1-15.5-14.6-25.1-32.5-29.1-53.5a99.85 99.85 0 0 1-1.6-18.1l.1-173.2c.1-25.7 9.2-48 26.7-66.7a96.5 96.5 0 0 1 52.9-29.2 102.64 102.64 0 0 1 20-1.8h96.9l73.2-.1h0m0-10H109.7a114.49 114.49 0 0 0-22 2 106.79 106.79 0 0 0-58.2 32.2C10.1 55 .2 79.7.1 107.7L0 228.2v52.7a109.41 109.41 0 0 0 1.8 20c4.4 23.2 15.1 43 32.1 58.9 20.9 19.7 46.3 29.8 75.3 29.8h172.3a99.15 99.15 0 0 0 18.6-1.6c35.3-6.8 61.6-26.3 78.2-58.2a103.74 103.74 0 0 0 11.6-48.6V108.5a103.33 103.33 0 0 0-2.2-21.8 106.53 106.53 0 0 0-36.2-61C331 8.6 307 0 279.9 0z" fill="#fff"></path><circle style="fill:'+eA_bColor+'" cx="250.6" cy="146.4" r="35.7" transform="matrix(.160226 -.98708 .98708 .160226 6.75 311.71)" fill="url(#B)"></circle><path style="fill:'+eA_bColor+'" d="M350.6,203.6l-75,6.7c-2.8.2-5.5.4-8.3.4H233.9a76.87,76.87,0,0,1-8.3-.4l-75-6.7a14.24,14.24,0,0,0-2.2,28.4l60.6,5.5a14.25,14.25,0,0,1,13,14.2v16.4a33.8,33.8,0,0,1-2.5,13l-34.5,88a14.3,14.3,0,0,0,26.1,11.7l33-80.1a7,7,0,0,1,13-.1l33,80.1A14.3,14.3,0,1,0,316.2,369l-34.5-87.9a36.61,36.61,0,0,1-2.5-13V251.7a14.18,14.18,0,0,1,13-14.2l60.6-5.5a14.24,14.24,0,0,0-2.2-28.4Z" transform="translate(-59.2 -58.6)" fill="url(#C)"></path><path style="fill:'+eA_fColor+'" d="M191.4 130.7c-23.693 0-42.9-19.207-42.9-42.9s19.207-42.9 42.9-42.9 42.9 19.207 42.9 42.9a42.89 42.89 0 0 1-42.9 42.9zm0-71.5c-13.69-.038-25.498 9.605-28.197 23.026a28.68 28.68 0 0 0 17.105 32.135c12.641 5.256 27.234.846 34.848-10.531A28.68 28.68 0 0 0 211.6 67.6a29.06 29.06 0 0 0-20.2-8.4zm52.5 278.6a21.46 21.46 0 0 1-19.5-12.6l-33.1-80.3-32.7 80.1a21.41 21.41 0 0 1-37.1 4.1 21.57 21.57 0 0 1-2.1-21.5l34.4-87.5a26.63 26.63 0 0 0 1.9-10.4v-16.4a7.09 7.09 0 0 0-6.5-7.1l-60.6-5.5c-11.791-.911-20.611-11.209-19.7-23s11.209-20.611 23-19.7l75.1 6.7a97.18 97.18 0 0 0 7.7.3h33.4a99.08 99.08 0 0 0 7.7-.3l75-6.7h.1c11.791-.911 22.089 7.909 23 19.7s-7.909 22.089-19.7 23l-60.5 5.5a7.09 7.09 0 0 0-6.5 7.1v16.4a28.29 28.29 0 0 0 2 10.4l34.5 87.9a21.36 21.36 0 0 1-1.8 20.2 22.06 22.06 0 0 1-18 9.6zm-52.5-107.1a14.11 14.11 0 0 1 13.1 8.8l33 80.1a7.62 7.62 0 0 0 3.9 3.6 7.13 7.13 0 0 0 9-9.6l-34.6-88.3a42.14 42.14 0 0 1-3-15.7v-16.4c-.054-11.101 8.438-20.376 19.5-21.3l60.6-5.5a7 7 0 0 0 4.9-2.4 6.61 6.61 0 0 0 1.7-5.2 7 7 0 0 0-7.6-6.6l-74.9 6.7a88.33 88.33 0 0 1-8.9.4h-33.4a87 87 0 0 1-8.9-.4l-75-6.7a7.12 7.12 0 0 0-1 14.2l60.7 5.5c11.062.924 19.554 10.199 19.5 21.3v16.4a42.14 42.14 0 0 1-3 15.7l-34.5 87.9a7.09 7.09 0 0 0 .3 7.3 7.19 7.19 0 0 0 6.6 3.2 7 7 0 0 0 5.9-4.3l32.9-79.9a14 14 0 0 1 13.2-8.8z" fill="#fff"></path></svg></div>' +
106                '</div>';
107            h.insertAdjacentHTML('beforeend', s);
108            let o = h.querySelector("#i");
109            let m = h.querySelector("#t");
110            if(!sessionStorage.getItem('eyeAbleShow')) {
111                setTimeout(() =>
111 m.style.display = "block",500);
112                setTimeout(() => m.style.display = "none",4000);
113                sessionStorage.setItem('eyeAbleShow', 'false');
114            }
115            function x() {
116                eA_open = true;
117                aEA();
118            }
119            if (window.innerWidth < 700) {
120                h.style.top = "unset";
121                h.style.bottom = eA_bottom;
122                o.style.width = "50px";
123                m.style.width = "240px";
124                m.style.left = "-297px";
125                m.style.top = "-50px";
126                m.children[0].style.fontSize = "19px";
127                if(navigator.userAgent.match(/SamsungBrowser/i)) m.children[0].style.fontSize = "17px";
128                m.children[1].style.fontSize = "14px";
129                m.children[2].style.fontSize = "14px";
130                //m.style.opacity = "0";
131                o.addEventListener("touchstart", () => {
132                    if(m.style.display === "block") x();
133                });
134            } else {
135                o.addEventListener("click",x);
136            }
137            t.addEventListener("keyup", function (e) {
138                if (event.which === 13) {
139                    x();
140                }
141            });
142            o.addEventListener("mouseenter", function () {
143                m.style.display = "block";
144                o.style.transform = "scale(1.1)";
145            });
146            o.addEventListener("focus", function () {
147                m.style.display = "block";
148                o.style.outline = "3px solid black";
149            });
150            o.addEventListener("blur", function () {
151                m.style.display = "none";
152                o.style.outline = "none";
153            });
154            h.querySelectorAll("#i,#t").forEach(e => e.addEventListener("mouseleave", function () {
155                setTimeout(() => {
156                    if(!t.matches(':hover')){
157                        m.style.display = "none";
158                    }
159                },1500);
160                o.style.transform = "none";
161            }));
162            //detect alt+1 and alt+f1
163            function k(e) {
164                if(e.altKey){
165                    if(e.key === "1" || e.key === "F1") {
166                        eA_open = true;
167                        aEA();
168                        window.removeEventListener("keyup",k);
169                        if(e.key === "F1") {
170                            document.addEventListener("eyeable:init_completed", () => {
171                                eyeAble_toggleShortcutManPage();
172                            });
173                        }
174                    }
175                }
176            }
177            window.addEventListener("keyup",k);
178        }
179    }
180    if (document.readyState === "complete") {
181        s();
182    } else {
183        window.addEventListener('load', () => {
184            s();
185        });
186    }
187}

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.