vendor: 16,384 bytes, lines 1-466
1/* 2 Copyright (C) Tobias Greiner - Web Inclusion GmBH 3 Unauthorized copying of this file, via any medium is strictly prohibited 4 Proprietary and confidential 5 All Rights Reserved 6 Written by Tobias Greiner [email protected], 2020 7*/ 8var $jscomp = $jscomp || {}; 9$jscomp.scope = {}; 10$jscomp.arrayIteratorImpl = function (a) { 11 var b = 0; 12 return function () { 13 return b < a.length ? {done: !1, value: a[b++]} : {done: !0} 14 } 15}; 16$jscomp.arrayIterator = function (a) { 17 return {next: $jscomp.arrayIteratorImpl(a)} 18}; 19$jscomp.ASSUME_ES5 = !1; 20$jscomp.ASSUME_NO_NATIVE_MAP = !1; 21$jscomp.ASSUME_NO_NATIVE_SET = !1; 22$jscomp.SIMPLE_FROUND_POLYFILL = !1; 23$jscomp.ISOLATE_POLYFILLS = !1; 24$jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function (a, b, c) { 25 if (a == Array.prototype || a == Object.prototype) return a; 26 a[b] = c.value; 27 return a 28}; 29$jscomp.getGlobal = function (a) { 30 a = ["object" == typeof globalThis && globalThis, a, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global]; 31 for (var b = 0; b < a.length; ++b) { 32 var c = a[b]; 33 if (c && c.Math == Math) return c 34 } 35 throw Error("Cannot find global object"); 36}; 37$jscomp.global = $jscomp.getGlobal(this); 38$jscomp.IS_SYMBOL_NATIVE = "function" === typeof Symbol && "symbol" === typeof Symbol("x"); 39$jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE; 40$jscomp.polyfills = {}; 41$jscomp.propertyToPolyfillSymbol = {}; 42$jscomp.POLYFILL_PREFIX = "$jscp$"; 43var $jscomp$lookupPolyfilledValue = function (a, b) { 44 var c = $jscomp.propertyToPolyfillSymbol[b]; 45 if (null == c) return a[b]; 46 c = a[c]; 47 return void 0 !== c ? c : a[b] 48}; 49$jscomp.polyfill = function (a, b, c, d) { 50 b && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(a, b, c, d) : $jscomp.polyfillUnisolated(a, b, c, d)) 51}; 52$jscomp.polyfillUnisolated = function (a, b, c, d) { 53 c = $jscomp.global; 54 a = a.split("."); 55 for (d = 0; d < a.length - 1; d++) { 56 var e = a[d]; 57 if (!(e in c)) return; 58 c = c[e] 59 } 60 a = a[a.length - 1]; 61 d = c[a]; 62 b = b(d); 63 b != d && null != b && $jscomp.defineProperty(c, a, {configurable: !0, writable: !0, value: b}) 64}; 65$jscomp.polyfillIsolated = function (a, b, c, d) { 66 var e = a.split("."); 67 a = 1 === e.length; 68 d = e[0]; 69 d = !a && d in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global; 70 for (var f = 0; f < e.length - 1; f++) { 71 var h = e[f]; 72 if (!(h in d)) return; 73 d = d[h] 74 } 75 e = e[e.length - 1]; 76 c = $jscomp.IS_SYMBOL_NATIVE && "es6" === c ? d[e] : null; 77 b = b(c); 78 null != b && (a ? $jscomp.defineProperty($jscomp.polyfills, e, { 79 configurable: !0, 80 writable: !0, 81 value: b 82 }) : b !== c && ($jscomp.propertyToPolyfillSymbol[e] = $jscomp.IS_SYMBOL_NATIVE ? $jscomp.global.Symbol(e) : $jscomp.POLYFILL_PREFIX + e, e = 83 $jscomp.propertyToPolyfillSymbol[e], $jscomp.defineProperty(d, e, {configurable: !0, writable: !0, value: b}))) 84}; 85$jscomp.initSymbol = function () { 86}; 87$jscomp.polyfill("Symbol", function (a) { 88 if (a) return a; 89 var b = function (e, f) { 90 this.$jscomp$symbol$id_ = e; 91 $jscomp.defineProperty(this, "description", {configurable: !0, writable: !0, value: f}) 92 }; 93 b.prototype.toString = function () { 94 return this.$jscomp$symbol$id_ 95 }; 96 var c = 0, d = function (e) { 97 if (this instanceof d) throw new TypeError("Symbol is not a constructor"); 98 return new b("jscomp_symbol_" + (e || "") + "_" + c++, e) 99 }; 100 return d 101}, "es6", "es3"); 102$jscomp.initSymbolIterator = function () { 103}; 104$jscomp.polyfill("Symbol.iterator", function (a) { 105 if (a) return a; 106 a = Symbol("Symbol.iterator"); 107 for (var b = "Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "), c = 0; c < b.length; c++) { 108 var d = $jscomp.global[b[c]]; 109 "function" === typeof d && "function" != typeof d.prototype[a] && $jscomp.defineProperty(d.prototype, a, { 110 configurable: !0, 111 writable: !0, 112 value: function () { 113 return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this)) 114 } 115 }) 116 } 117 return a 118 }, "es6", 119 "es3"); 120$jscomp.initSymbolAsyncIterator = function () { 121}; 122$jscomp.iteratorPrototype = function (a) { 123 a = {next: a}; 124 a[Symbol.iterator] = function () { 125 return this 126 }; 127 return a 128}; 129$jscomp.createTemplateTagFirstArg = function (a) { 130 return a.raw = a 131}; 132$jscomp.createTemplateTagFirstArgWithRaw = function (a, b) { 133 a.raw = b; 134 return a 135}; 136$jscomp.makeIterator = function (a) { 137 var b = "undefined" != typeof Symbol && Symbol.iterator && a[Symbol.iterator]; 138 return b ? b.call(a) : $jscomp.arrayIterator(a) 139}; 140$jscomp.arrayFromIterator = function (a) { 141 for (var b, c = []; !(b = a.next()).done;) c.push(b.value); 142 return c 143}; 144$jscomp.arrayFromIterable = function (a) { 145 return a instanceof Array ? a : $jscomp.arrayFromIterator($jscomp.makeIterator(a)) 146}; 147$jscomp.underscoreProtoCanBeSet = function () { 148 var a = {a: !0}, b = {}; 149 try { 150 return b.__proto__ = a, b.a 151 } catch (c) { 152 } 153 return !1 154}; 155$jscomp.setPrototypeOf = $jscomp.TRUST_ES6_POLYFILLS && "function" == typeof Object.setPrototypeOf ? Object.setPrototypeOf : $jscomp.underscoreProtoCanBeSet() ? function (a, b) { 156 a.__proto__ = b; 157 if (a.__proto__ !== b) throw new TypeError(a + " is not extensible"); 158 return a 159} : null; 160$jscomp.generator = {}; 161$jscomp.generator.ensureIteratorResultIsObject_ = function (a) { 162 if (!(a instanceof Object)) throw new TypeError("Iterator result " + a + " is not an object"); 163}; 164$jscomp.generator.Context = function () { 165 this.isRunning_ = !1; 166 this.yieldAllIterator_ = null; 167 this.yieldResult = void 0; 168 this.nextAddress = 1; 169 this.finallyAddress_ = this.catchAddress_ = 0; 170 this.finallyContexts_ = this.abruptCompletion_ = null 171}; 172$jscomp.generator.Context.prototype.start_ = function () { 173 if (this.isRunning_) throw new TypeError("Generator is already running"); 174 this.isRunning_ = !0 175}; 176$jscomp.generator.Context.prototype.stop_ = function () { 177 this.isRunning_ = !1 178}; 179$jscomp.generator.Context.prototype.jumpToErrorHandler_ = function () { 180 this.nextAddress = this.catchAddress_ || this.finallyAddress_ 181}; 182$jscomp.generator.Context.prototype.next_ = function (a) { 183 this.yieldResult = a 184}; 185$jscomp.generator.Context.prototype.throw_ = function (a) { 186 this.abruptCompletion_ = {exception: a, isException: !0}; 187 this.jumpToErrorHandler_() 188}; 189$jscomp.generator.Context.prototype.return = function (a) { 190 this.abruptCompletion_ = {return: a}; 191 this.nextAddress = this.finallyAddress_ 192}; 193$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks = function (a) { 194 this.abruptCompletion_ = {jumpTo: a}; 195 this.nextAddress = this.finallyAddress_ 196}; 197$jscomp.generator.Context.prototype.yield = function (a, b) { 198 this.nextAddress = b; 199 return {value: a} 200}; 201$jscomp.generator.Context.prototype.yieldAll = function (a, b) { 202 a = $jscomp.makeIterator(a); 203 var c = a.next(); 204 $jscomp.generator.ensureIteratorResultIsObject_(c); 205 if (c.done) this.yieldResult = c.value, this.nextAddress = b; else return this.yieldAllIterator_ = a, this.yield(c.value, b) 206}; 207$jscomp.generator.Context.prototype.jumpTo = function (a) { 208 this.nextAddress = a 209}; 210$jscomp.generator.Context.prototype.jumpToEnd = function () { 211 this.nextAddress = 0 212}; 213$jscomp.generator.Context.prototype.setCatchFinallyBlocks = function (a, b) { 214 this.catchAddress_ = a; 215 void 0 != b && (this.finallyAddress_ = b) 216}; 217$jscomp.generator.Context.prototype.setFinallyBlock = function (a) { 218 this.catchAddress_ = 0; 219 this.finallyAddress_ = a || 0 220}; 221$jscomp.generator.Context.prototype.leaveTryBlock = function (a, b) { 222 this.nextAddress = a; 223 this.catchAddress_ = b || 0 224}; 225$jscomp.generator.Context.prototype.enterCatchBlock = function (a) { 226 this.catchAddress_ = a || 0; 227 a = this.abruptCompletion_.exception; 228 this.abruptCompletion_ = null; 229 return a 230}; 231$jscomp.generator.Context.prototype.enterFinallyBlock = function (a, b, c) { 232 c ? this.finallyContexts_[c] = this.abruptCompletion_ : this.finallyContexts_ = [this.abruptCompletion_]; 233 this.catchAddress_ = a || 0; 234 this.finallyAddress_ = b || 0 235}; 236$jscomp.generator.Context.prototype.leaveFinallyBlock = function (a, b) { 237 b = this.finallyContexts_.splice(b || 0)[0]; 238 if (b = this.abruptCompletion_ = this.abruptCompletion_ || b) { 239 if (b.isException) return this.jumpToErrorHandler_(); 240 void 0 != b.jumpTo && this.finallyAddress_ < b.jumpTo ? (this.nextAddress = b.jumpTo, this.abruptCompletion_ = null) : this.nextAddress = this.finallyAddress_ 241 } else this.nextAddress = a 242}; 243$jscomp.generator.Context.prototype.forIn = function (a) { 244 return new $jscomp.generator.Context.PropertyIterator(a) 245}; 246$jscomp.generator.Context.PropertyIterator = function (a) { 247 this.object_ = a; 248 this.properties_ = []; 249 for (var b in a) this.properties_.push(b); 250 this.properties_.reverse() 251}; 252$jscomp.generator.Context.PropertyIterator.prototype.getNext = function () { 253 for (; 0 < this.properties_.length;) { 254 var a = this.properties_.pop(); 255 if (a in this.object_) return a 256 } 257 return null 258}; 259$jscomp.generator.Engine_ = function (a) { 260 this.context_ = new $jscomp.generator.Context; 261 this.program_ = a 262}; 263$jscomp.generator.Engine_.prototype.next_ = function (a) { 264 this.context_.start_(); 265 if (this.context_.yieldAllIterator_) return this.yieldAllStep_(this.context_.yieldAllIterator_.next, a, this.context_.next_); 266 this.context_.next_(a); 267 return this.nextStep_() 268}; 269$jscomp.generator.Engine_.prototype.return_ = function (a) { 270 this.context_.start_(); 271 var b = this.context_.yieldAllIterator_; 272 if (b) return this.yieldAllStep_("return" in b ? b["return"] : function (c) { 273 return {value: c, done: !0} 274 }, a, this.context_.return); 275 this.context_.return(a); 276 return this.nextStep_() 277}; 278$jscomp.generator.Engine_.prototype.throw_ = function (a) { 279 this.context_.start_(); 280 if (this.context_.yieldAllIterator_) return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"], a, this.context_.next_); 281 this.context_.throw_(a); 282 return this.nextStep_() 283}; 284$jscomp.generator.Engine_.prototype.yieldAllStep_ = function (a, b, c) { 285 try { 286 var d = a.call(this.context_.yieldAllIterator_, b); 287 $jscomp.generator.ensureIteratorResultIsObject_(d); 288 if (!d.done) return this.context_.stop_(), d; 289 var e = d.value 290 } catch (f) { 291 return this.context_.yieldAllIterator_ = null, this.context_.throw_(f), this.nextStep_() 292 } 293 this.context_.yieldAllIterator_ = null; 294 c.call(this.context_, e); 295 return this.nextStep_() 296}; 297$jscomp.generator.Engine_.prototype.nextStep_ = function () { 298 for (; this.context_.nextAddress;) try { 299 var a = this.program_(this.context_); 300 if (a) return this.context_.stop_(), {value: a.value, done: !1} 301 } catch (b) { 302 this.context_.yieldResult = void 0, this.context_.throw_(b) 303 } 304 this.context_.stop_(); 305 if (this.context_.abruptCompletion_) { 306 a = this.context_.abruptCompletion_; 307 this.context_.abruptCompletion_ = null; 308 if (a.isException) throw a.exception; 309 return {value: a.return, done: !0} 310 } 311 return {value: void 0, done: !0} 312}; 313$jscomp.generator.Generator_ = function (a) { 314 this.next = function (b) { 315 return a.next_(b) 316 }; 317 this.throw = function (b) { 318 return a.throw_(b) 319 }; 320 this.return = function (b) { 321 return a.return_(b) 322 }; 323 this[Symbol.iterator] = function () { 324 return this 325 } 326}; 327$jscomp.generator.createGenerator = function (a, b) { 328 b = new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(b)); 329 $jscomp.setPrototypeOf && a.prototype && $jscomp.setPrototypeOf(b, a.prototype); 330 return b 331}; 332$jscomp.asyncExecutePromiseGenerator = function (a) { 333 function b(d) { 334 return a.next(d) 335 } 336 337 function c(d) { 338 return a.throw(d) 339 } 340 341 return new Promise(function (d, e) { 342 function f(h) { 343 h.done ? d(h.value) : Promise.resolve(h.value).then(b, c).then(f, e) 344 } 345 346 f(a.next()) 347 }) 348}; 349$jscomp.asyncExecutePromiseGeneratorFunction = function (a) { 350 return $jscomp.asyncExecutePromiseGenerator(a()) 351}; 352$jscomp.asyncExecutePromiseGeneratorProgram = function (a) { 353 return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a))) 354}; 355$jscomp.FORCE_POLYFILL_PROMISE = !1; 356$jscomp.polyfill("Promise", function (a) { 357 function b() { 358 this.batch_ = null 359 } 360 361 function c(h) { 362 return h instanceof e ? h : new e(function (g, l) { 363 g(h) 364 }) 365 } 366 367 if (a && !$jscomp.FORCE_POLYFILL_PROMISE) return a; 368 b.prototype.asyncExecute = function (h) { 369 if (null == this.batch_) { 370 this.batch_ = []; 371 var g = this; 372 this.asyncExecuteFunction(function () { 373 g.executeBatch_() 374 }) 375 } 376 this.batch_.push(h) 377 }; 378 var d = $jscomp.global.setTimeout; 379 b.prototype.asyncExecuteFunction = function (h) { 380 d(h, 0) 381 }; 382 b.prototype.executeBatch_ = function () { 383 for (; this.batch_ && this.batch_.length;) { 384 var h = 385 this.batch_; 386 this.batch_ = []; 387 for (var g = 0; g < h.length; ++g) { 388 var l = h[g]; 389 h[g] = null; 390 try { 391 l() 392 } catch (m) { 393 this.asyncThrow_(m) 394 } 395 } 396 } 397 this.batch_ = null 398 }; 399 b.prototype.asyncThrow_ = function (h) { 400 this.asyncExecuteFunction(function () { 401 throw h; 402 }) 403 }; 404 var e = function (h) { 405 this.state_ = 0; 406 this.result_ = void 0; 407 this.onSettledCallbacks_ = []; 408 var g = this.createResolveAndReject_(); 409 try { 410 h(g.resolve, g.reject) 411 } catch (l) { 412 g.reject(l) 413 } 414 }; 415 e.prototype.createResolveAndReject_ = function () { 416 function h(m) { 417 return function (q) { 418 l || (l = !0, m.call(g, q)) 419 } 420 } 421 422 var g = this, l = !1; 423 return {resolve: h(this.resolveTo_), reject: h(this.reject_)} 424 }; 425 e.prototype.resolveTo_ = function (h) { 426 if (h === this) this.reject_(new TypeError("A Promise cannot resolve to itself")); else if (h instanceof e) this.settleSameAsPromise_(h); else { 427 a:switch (typeof h) { 428 case "object": 429 var g = null != h; 430 break a; 431 case "function": 432 g = !0; 433 break a; 434 default: 435 g = !1 436 } 437 g ? this.resolveToNonPromiseObj_(h) : this.fulfill_(h) 438 } 439 }; 440 e.prototype.resolveToNonPromiseObj_ = function (h) { 441 var g = void 0; 442 try { 443 g = h.then 444 } catch (l) { 445 this.reject_(l); 446 return 447 } 448 "function" == typeof g ? 449 this.settleSameAsThenable_(g, h) : this.fulfill_(h) 450 }; 451 e.prototype.reject_ = function (h) { 452 this.settle_(2, h) 453 }; 454 e.prototype.fulfill_ = function (h) { 455 this.settle_(1, h) 456 }; 457 e.prototype.settle_ = function (h, g) { 458 if (0 != this.state_) throw Error("Cannot settle(" + h + ", " + g + "): Promise already settled in state" + this.state_); 459 this.state_ = h; 460 this.result_ = g; 461 this.executeOnSettledCallbacks_() 462 }; 463 e.prototype.executeOnSettledCallbacks_ = function () { 464 if (null != this.onSettledCallbacks_) { 465 for (var h = 0; h < this.onSettledCallbacks_.length; ++h) f.asyncExecute(this.onSettledCallbacks_[h]); 466
466 this.onSettledCallbacks_ = null 467 } 468 }; 469 var f = new b; 470 e.prototype.settleSameAsPromise_ = function (h) { 471 var g = this.createResolveAndReject_(); 472 h.callWhenSettled_(g.resolve, g.reject) 473 }; 474 e.prototype.settleSameAsThenable_ = function (h, g) { 475 var l = this.createResolveAndReject_(); 476 try { 477 h.call(g, l.resolve, l.reject) 478 } catch (m) { 479 l.reject(m) 480 } 481 }; 482 e.prototype.then = function (h, g) { 483 function l(r, v) { 484 return "function" == typeof r ? function (A) { 485 try { 486 m(r(A)) 487 } catch (E) { 488 q(E) 489 } 490 } : v 491 } 492 493 var m, q, n = new e(function (r, v) { 494 m = r; 495 q = v 496 }); 497 this.callWhenSettled_(l(h, m), l(g, q)); 498 return n 499 }; 500 e.prototype.catch = function (h) { 501 return this.then(void 0, h) 502 }; 503 e.prototype.callWhenSettled_ = function (h, g) { 504 function l() { 505 switch (m.state_) { 506 case 1: 507 h(m.result_); 508 break; 509 case 2: 510 g(m.result_); 511 break; 512 default: 513 throw Error("Unexpected state: " + m.state_); 514 } 515 } 516 517 var m = this; 518 null == this.onSettledCallbacks_ ? f.asyncExecute(l) : this.onSettledCallbacks_.push(l) 519 }; 520 e.resolve = c; 521 e.reject = function (h) { 522 return new e(function (g, l) { 523 l(h) 524 }) 525 }; 526 e.race = function (h) { 527 return new e(function (g, l) { 528 for (var m = $jscomp.makeIterator(h), q = m.next(); !q.done; q = m.next()) c(q.value).callWhenSettled_(g, 529 l) 530 }) 531 }; 532 e.all = function (h) { 533 var g = $jscomp.makeIterator(h), l = g.next(); 534 return l.done ? c([]) : new e(function (m, q) { 535 function n(A) { 536 return function (E) { 537 r[A] = E; 538 v--; 539 0 == v && m(r) 540 } 541 } 542 543 var r = [], v = 0; 544 do r.push(void 0), v++, c(l.value).callWhenSettled_(n(r.length - 1), q), l = g.next(); while (!l.done) 545 }) 546 }; 547 return e 548}, "es6", "es3"); 549$jscomp.polyfill("Object.is", function (a) { 550 return a ? a : function (b, c) { 551 return b === c ? 0 !== b || 1 / b === 1 / c : b !== b && c !== c 552 } 553}, "es6", "es3"); 554$jscomp.polyfill("Array.prototype.includes", function (a) { 555 return a ? a : function (b, c) { 556 var d = this; 557 d instanceof String && (d = String(d)); 558 var e = d.length; 559 c = c || 0; 560 for (0 > c && (c = Math.max(c + e, 0)); c < e; c++) { 561 var f = d[c]; 562 if (f === b || Object.is(f, b)) return !0 563 } 564 return !1 565 } 566}, "es7", "es3"); 567$jscomp.checkStringArgs = function (a, b, c) { 568 if (null == a) throw new TypeError("The 'this' value for String.prototype." + c + " must not be null or undefined"); 569 if (b instanceof RegExp) throw new TypeError("First argument to String.prototype." + c + " must not be a regular expression"); 570 return a + "" 571}; 572$jscomp.polyfill("String.prototype.includes", function (a) { 573 return a ? a : function (b, c) { 574 return -1 !== $jscomp.checkStringArgs(this, b, "includes").indexOf(b, c || 0) 575 } 576}, "es6", "es3"); 577$jscomp.iteratorFromArray = function (a, b) { 578 a instanceof String && (a += ""); 579 var c = 0, d = { 580 next: function () { 581 if (c < a.length) { 582 var e = c++; 583 return {value: b(e, a[e]), done: !1} 584 } 585 d.next = function () { 586 return {done: !0, value: void 0} 587 }; 588 return d.next() 589 } 590 }; 591 d[Symbol.iterator] = function () { 592 return d 593 }; 594 return d 595}; 596$jscomp.polyfill("Array.prototype.keys", function (a) { 597 return a ? a : function () { 598 return $jscomp.iteratorFromArray(this, function (b) { 599 return b 600 }) 601 } 602}, "es6", "es3"); 603$jscomp.owns = function (a, b) { 604 return Object.prototype.hasOwnProperty.call(a, b) 605}; 606$jscomp.polyfill("Object.entries", function (a) { 607 return a ? a : function (b) { 608 var c = [], d; 609 for (d in b) $jscomp.owns(b, d) && c.push([d, b[d]]); 610 return c 611 } 612}, "es8", "es3"); 613$jscomp.polyfill("Array.prototype.fill", function (a) { 614 return a ? a : function (b, c, d) { 615 var e = this.length || 0; 616 0 > c && (c = Math.max(0, e + c)); 617 if (null == d || d > e) d = e; 618 d = Number(d); 619 0 > d && (d = Math.max(0, e + d)); 620 for (c = Number(c || 0); c < d; c++) this[c] = b; 621 return this 622 } 623}, "es6", "es3"); 624$jscomp.typedArrayFill = function (a) { 625 return a ? a : Array.prototype.fill 626}; 627$jscomp.polyfill("Int8Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 628$jscomp.polyfill("Uint8Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 629$jscomp.polyfill("Uint8ClampedArray.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 630$jscomp.polyfill("Int16Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 631$jscomp.polyfill("Uint16Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 632$jscomp.polyfill("Int32Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 633$jscomp.polyfill("Uint32Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 634$jscomp.polyfill("Float32Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 635$jscomp.polyfill("Float64Array.prototype.fill", $jscomp.typedArrayFill, "es6", "es5"); 636$jscomp.polyfill("Object.values", function (a) { 637 return a ? a : function (b) { 638 var c = [], d; 639 for (d in b) $jscomp.owns(b, d) && c.push(b[d]); 640 return c 641 } 642}, "es8", "es3"); 643$jscomp.assign = $jscomp.TRUST_ES6_POLYFILLS && "function" == typeof Object.assign ? Object.assign : function (a, b) { 644 for (var c = 1; c < arguments.length; c++) { 645 var d = arguments[c]; 646 if (d) for (var e in d) $jscomp.owns(d, e) && (a[e] = d[e]) 647 } 648 return a 649}; 650$jscomp.polyfill("Object.assign", function (a) { 651 return a || $jscomp.assign 652}, "es6", "es3"); 653$jscomp.polyfill("Number.isFinite", function (a) { 654 return a ? a : function (b) { 655 return "number" !== typeof b ? !1 : !isNaN(b) && Infinity !== b && -Infinity !== b 656 } 657}, "es6", "es3"); 658$jscomp.polyfill("Number.isInteger", function (a) { 659 return a ? a : function (b) { 660 return Number.isFinite(b) ? b === Math.floor(b) : !1 661 } 662}, "es6", "es3"); 663$jscomp.polyfill("Array.from", function (a) { 664 return a ? a : function (b, c, d) { 665 c = null != c ? c : function (g) { 666 return g 667 }; 668 var e = [], f = "undefined" != typeof Symbol && Symbol.iterator && b[Symbol.iterator]; 669 if ("function" == typeof f) { 670 b = f.call(b); 671 for (var h = 0; !(f = b.next()).done;
671) e.push(c.call(d, f.value, h++)) 672 } else for (f = b.length, h = 0; h < f; h++) e.push(c.call(d, b[h], h)); 673 return e 674 } 675}, "es6", "es3"); 676$jscomp.checkEs6ConformanceViaProxy = function () { 677 try { 678 var a = {}, b = Object.create(new $jscomp.global.Proxy(a, { 679 get: function (c, d, e) { 680 return c == a && "q" == d && e == b 681 } 682 })); 683 return !0 === b.q 684 } catch (c) { 685 return !1 686 } 687}; 688$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS = !1; 689$jscomp.ES6_CONFORMANCE = $jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS && $jscomp.checkEs6ConformanceViaProxy(); 690$jscomp.polyfill("WeakMap", function (a) { 691 function b() { 692 if (!a || !Object.seal) return !1; 693 try { 694 var m = Object.seal({}), q = Object.seal({}), n = new a([[m, 2], [q, 3]]); 695 if (2 != n.get(m) || 3 != n.get(q)) return !1; 696 n.delete(m); 697 n.set(q, 4); 698 return !n.has(m) && 4 == n.get(q) 699 } catch (r) { 700 return !1 701 } 702 } 703 704 function c() { 705 } 706 707 function d(m) { 708 var q = typeof m; 709 return "object" === q && null !== m || "function" === q 710 } 711 712 function e(m) { 713 if (!$jscomp.owns(m, h)) { 714 var q = new c; 715 $jscomp.defineProperty(m, h, {value: q}) 716 } 717 } 718 719 function f(m) { 720 if (!$jscomp.ISOLATE_POLYFILLS) { 721 var q = Object[m]; 722 q && (Object[m] = 723 function (n) { 724 if (n instanceof c) return n; 725 Object.isExtensible(n) && e(n); 726 return q(n) 727 }) 728 } 729 } 730 731 if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) { 732 if (a && $jscomp.ES6_CONFORMANCE) return a 733 } else if (b()) return a; 734 var h = "$jscomp_hidden_" + Math.random(); 735 f("freeze"); 736 f("preventExtensions"); 737 f("seal"); 738 var g = 0, l = function (m) { 739 this.id_ = (g += Math.random() + 1).toString(); 740 if (m) { 741 m = $jscomp.makeIterator(m); 742 for (var q; !(q = m.next()).done;) q = q.value, this.set(q[0], q[1]) 743 } 744 }; 745 l.prototype.set = function (m, q) { 746 if (!d(m)) throw Error("Invalid WeakMap key"); 747 e(m); 748 if (!$jscomp.owns(m, h)) throw Error("WeakMap key fail: " + m); 749 m[h][this.id_] = q; 750 return this 751 }; 752 l.prototype.get = function (m) { 753 return d(m) && $jscomp.owns(m, h) ? m[h][this.id_] : void 0 754 }; 755 l.prototype.has = function (m) { 756 return d(m) && $jscomp.owns(m, h) && $jscomp.owns(m[h], this.id_) 757 }; 758 l.prototype.delete = function (m) { 759 return d(m) && $jscomp.owns(m, h) && $jscomp.owns(m[h], this.id_) ? delete m[h][this.id_] : !1 760 }; 761 return l 762}, "es6", "es3"); 763$jscomp.MapEntry = function () { 764}; 765$jscomp.polyfill("Map", function (a) { 766 function b() { 767 if ($jscomp.ASSUME_NO_NATIVE_MAP || !a || "function" != typeof a || !a.prototype.entries || "function" != typeof Object.seal) return !1; 768 try { 769 var l = Object.seal({x: 4}), m = new a($jscomp.makeIterator([[l, "s"]])); 770 if ("s" != m.get(l) || 1 != m.size || m.get({x: 4}) || m.set({x: 4}, "t") != m || 2 != m.size) return !1; 771 var q = m.entries(), n = q.next(); 772 if (n.done || n.value[0] != l || "s" != n.value[1]) return !1; 773 n = q.next(); 774 return n.done || 4 != n.value[0].x || "t" != n.value[1] || !q.next().done ? !1 : !0 775 } catch (r) { 776 return !1 777 } 778 } 779 780 if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) { 781 if (a && $jscomp.ES6_CONFORMANCE) return a 782 } else if (b()) return a; 783 var c = new WeakMap, d = function (l) { 784 this.data_ = {}; 785 this.head_ = h(); 786 this.size = 0; 787 if (l) { 788 l = $jscomp.makeIterator(l); 789 for (var m; !(m = l.next()).done;) m = m.value, this.set(m[0], m[1]) 790 } 791 }; 792 d.prototype.set = function (l, m) { 793 l = 0 === l ? 0 : l; 794 var q = e(this, l); 795 q.list || (q.list = this.data_[q.id] = []); 796 q.entry ? q.entry.value = m : (q.entry = { 797 next: this.head_, 798 previous: this.head_.previous, 799 head: this.head_, 800 key: l, 801 value: m 802 }, q.list.push(q.entry), 803 this.head_.previous.next = q.entry, this.head_.previous = q.entry, this.size++); 804 return this 805 }; 806 d.prototype.delete = function (l) { 807 l = e(this, l); 808 return l.entry && l.list ? (l.list.splice(l.index, 1), l.list.length || delete this.data_[l.id], l.entry.previous.next = l.entry.next, l.entry.next.previous = l.entry.previous, l.entry.head = null, this.size--, !0) : !1 809 }; 810 d.prototype.clear = function () { 811 this.data_ = {}; 812 this.head_ = this.head_.previous = h(); 813 this.size = 0 814 }; 815 d.prototype.has = function (l) { 816 return !!e(this, l).entry 817 }; 818 d.prototype.get = function (l) { 819 return (l = 820 e(this, l).entry) && l.value 821 }; 822 d.prototype.entries = function () { 823 return f(this, function (l) { 824 return [l.key, l.value] 825 }) 826 }; 827 d.prototype.keys = function () { 828 return f(this, function (l) { 829 return l.key 830 }) 831 }; 832 d.prototype.values = function () { 833 return f(this, function (l) { 834 return l.value 835 }) 836 }; 837 d.prototype.forEach = function (l, m) { 838 for (var q = this.entries(), n; !(n = q.next()).done;) n = n.value, l.call(m, n[1], n[0], this) 839 }; 840 d.prototype[Symbol.iterator] = d.prototype.entries; 841 var e = function (l, m) { 842 var q = m && typeof m; 843 "object" == q || "function" == q ? c.has(m) ? q = c.get(m) : 844 (q = "" + ++g, c.set(m, q)) : q = "p_" + m; 845 var n = l.data_[q]; 846 if (n && $jscomp.owns(l.data_, q)) for (l = 0; l < n.length; l++) { 847 var r = n[l]; 848 if (m !== m && r.key !== r.key || m === r.key) return {id: q, list: n, index: l, entry: r} 849 } 850 return {id: q, list: n, index: -1, entry: void 0} 851 }, f = function (l, m) { 852 var q = l.head_; 853 return $jscomp.iteratorPrototype(function () { 854 if (q) { 855 for (; q.head != l.head_;) q = q.previous; 856 for (; q.next != q.head;) return q = q.next, {done: !1, value: m(q)}; 857 q = null 858 } 859 return {done: !0, value: void 0} 860 }) 861 }, h = function () { 862 var l = {}; 863 return l.previous = l.next = l.head = l 864 }, g = 0; 865 return d 866}, "es6", "es3"); 867$jscomp.polyfill("Set", function (a) { 868 function b() { 869 if ($jscomp.ASSUME_NO_NATIVE_SET || !a || "function" != typeof a || !a.prototype.entries || "function" != typeof Object.seal) return !1; 870 try { 871 var d = Object.seal({x: 4}), e = new a($jscomp.makeIterator([d])); 872 if (!e.has(d) || 1 != e.size || e.add(d) != e || 1 != e.size || e.add({x: 4}) != e || 2 != e.size) return !1; 873 var f = e.entries(), h = f.next(); 874 if (h.done || h.value[0] != d || h.value[1] != d) return !1; 875 h = f.next(); 876 return h.done || h.value[0] == d || 4 != h.value[0].x || h.value[1] != h.value[0] ? !1 : f.next().done 877 } catch (g) { 878 return !1 879 } 880 } 881 882 if ($jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS) { 883 if (a && $jscomp.ES6_CONFORMANCE) return a 884 } else if (b()) return a; 885 var c = function (d) { 886 this.map_ = new Map; 887 if (d) { 888 d = $jscomp.makeIterator(d); 889 for (var e; !(e = d.next()).done;) this.add(e.value) 890 } 891 this.size = this.map_.size 892 }; 893 c.prototype.add = function (d) { 894 d = 0 === d ? 0 : d; 895 this.map_.set(d, d); 896 this.size = this.map_.size; 897 return this 898 }; 899 c.prototype.delete = function (d) { 900 d = this.map_.delete(d); 901 this.size = this.map_.size; 902 return d 903 }; 904 c.prototype.clear = function () { 905 this.map_.clear(); 906 this.size = 0 907 }; 908 c.prototype.has = 909 function (d) { 910 return this.map_.has(d) 911 }; 912 c.prototype.entries = function () { 913 return this.map_.entries() 914 }; 915 c.prototype.values = function () { 916 return this.map_.values() 917 }; 918 c.prototype.keys = c.prototype.values; 919 c.prototype[Symbol.iterator] = c.prototype.values; 920 c.prototype.forEach = function (d, e) { 921 var f = this; 922 this.map_.forEach(function (h) { 923 return d.call(e, h, h, f) 924 }) 925 }; 926 return c 927}, "es6", "es3"); 928$jscomp.polyfill("Number.isNaN", function (a) { 929 return a ? a : function (b) { 930 return "number" === typeof b && isNaN(b) 931 } 932}, "es6", "es3"); 933$jscomp.polyfill("String.prototype.repeat", function (a) { 934 return a ? a : function (b) { 935 var c = $jscomp.checkStringArgs(this, null, "repeat"); 936 if (0 > b || 1342177279 < b) throw new RangeError("Invalid count value"); 937 b |= 0; 938 for (var d = ""; b;) if (b & 1 && (d += c), b >>>= 1) c += c; 939 return d 940 } 941}, "es6", "es3"); 942$jscomp.stringPadding = function (a, b) { 943 a = void 0 !== a ? String(a) : " "; 944 return 0 < b && a ? a.repeat(Math.ceil(b / a.length)).substring(0, b) : "" 945}; 946$jscomp.polyfill("String.prototype.padStart", function (a) { 947 return a ? a : function (b, c) { 948 var d = $jscomp.checkStringArgs(this, null, "padStart"); 949 return $jscomp.stringPadding(c, b - d.length) + d 950 } 951}, "es8", "es3"); 952$jscomp.polyfill("String.prototype.startsWith", function (a) { 953 return a ? a : function (b, c) { 954 var d = $jscomp.checkStringArgs(this, b, "startsWith"); 955 b += ""; 956 var e = d.length, f = b.length; 957 c = Math.max(0, Math.min(c | 0, d.length)); 958 for (var h = 0; h < f && c < e;) if (d[c++] != b[h++]) return !1; 959 return h >= f 960 } 961}, "es6", "es3"); 962$jscomp.findInternal = function (a, b, c) { 963 a instanceof String && (a = String(a)); 964 for (var d = a.length, e = 0; e < d; e++) { 965 var f = a[e]; 966 if (b.call(c, f, e, a)) return {i: e, v: f} 967 } 968 return {i: -1, v: void 0} 969}; 970$jscomp.polyfill("Array.prototype.find", function (a) { 971 return a ? a : function (b, c) { 972 return $jscomp.findInternal(this, b, c).v 973 } 974}, "es6", "es3"); 975!function () { 976 function a(n) { 977 n ? (g[0] = g[16] = g[1] = g[2] = g[3] = g[4] = g[5] = g[6] = g[7] = g[8] = g[9] = g[10] = g[11] = g[12] = g[13] = g[14] = g[15] = 0, this.blocks = g) : this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; 978 this.h0 = 1732584193; 979 this.h1 = 4023233417; 980 this.h2 = 2562383102; 981 this.h3 = 271733878; 982 this.h4 = 3285377520; 983 this.block = this.start = this.bytes = this.hBytes = 0; 984 this.finalized = this.hashed = !1; 985 this.first = !0 986 } 987 988 var b = "object" == typeof window ? window : {}, 989 c = !b.JS_SHA1_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node; 990 c && (b = global); 991 var d = "0123456789abcdef".split(""), e = [-2147483648, 8388608, 32768, 128], f = [24, 16, 8, 0], 992 h = ["hex", "array", "digest", "arrayBuffer"], g = [], l = function (n) { 993 return function (r) { 994 return (new a(!0)).update(r)[n]() 995 } 996 }, m = function (n) { 997 return function (r) { 998 if ("string" == typeof r) return b.createHash("keyXYZ").update(r, "utf8").digest("hex"); 999 if (r.constructor === ArrayBuffer) r = new Uint8Array(r); else if (void 0 === r.length) return n(r); 1000 return b.createHash("keyXYZ").update(new c(r)).digest("hex") 1001 } 1002 }; 1003 a.prototype.update = function (n) { 1004 if (!this.finalized) { 1005 var r = 1006 "string" != typeof n; 1007 r && n.constructor === b.ArrayBuffer && (n = new Uint8Array(n)); 1008 for (var v, A, E = 0, I = n.length || 0, H = this.blocks; E < I;) { 1009 if (this.hashed && (this.hashed = !1, H[0] = this.block, H[16] = H[1] = H[2] = H[3] = H[4] = H[5] = H[6] = H[7] = H[8] = H[9] = H[10] = H[11] = H[12] = H[13] = H[14] = H[15] = 0), r) for (A = this.start; E < I && 64 > A; ++E) H[A >> 2] |= n[E] << f[3 & A++]; else for (A = this.start; E < I && 64 > A; ++E) 128 >
1009 (v = n.charCodeAt(E)) ? H[A >> 2] |= v << f[3 & A++] : 2048 > v ? (H[A >> 2] |= (192 | v >> 6) << f[3 & A++], H[A >> 2] |= (128 | 63 & v) << f[3 & A++]) : 55296 > v || 57344 <= v ? (H[A >> 2] |= (224 | 1010 v >> 12) << f[3 & A++], H[A >> 2] |= (128 | v >> 6 & 63) << f[3 & A++], H[A >> 2] |= (128 | 63 & v) << f[3 & A++]) : (v = 65536 + ((1023 & v) << 10 | 1023 & n.charCodeAt(++E)), H[A >> 2] |= (240 | v >> 18) << f[3 & A++], H[A >> 2] |= (128 | v >> 12 & 63) << f[3 & A++], H[A >> 2] |= (128 | v >> 6 & 63) << f[3 & A++], H[A >> 2] |= (128 | 63 & v) << f[3 & A++]); 1011 this.lastByteIndex = A; 1012 this.bytes += A - this.start; 1013 64 <= A ? (this.block = H[16], this.start = A - 64, this.hash(), this.hashed = !0) : this.start = A 1014 } 1015 return 4294967295 < this.bytes && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes %= 4294967296), this 1016 } 1017 }; 1018 a.prototype.finalize = 1019 function () { 1020 if (!this.finalized) { 1021 this.finalized = !0; 1022 var n = this.blocks, r = this.lastByteIndex; 1023 n[16] = this.block; 1024 n[r >> 2] |= e[3 & r]; 1025 this.block = n[16]; 1026 56 <= r && (this.hashed || this.hash(), n[0] = this.block, n[16] = n[1] = n[2] = n[3] = n[4] = n[5] = n[6] = n[7] = n[8] = n[9] = n[10] = n[11] = n[12] = n[13] = n[14] = n[15] = 0); 1027 n[14] = this.hBytes << 3 | this.bytes >>> 29; 1028 n[15] = this.bytes << 3; 1029 this.hash() 1030 } 1031 }; 1032 a.prototype.hash = function () { 1033 var n, r = this.h0, v = this.h1, A = this.h2, E = this.h3, I = this.h4, H = this.blocks; 1034 for (n = 16; 80 > n; ++n) { 1035 var L = H[n - 3] ^ H[n - 8] ^ H[n - 14] ^ H[n - 16]; 1036 H[n] = L << 1 | L >>> 31 1037 } 1038 for (n = 0; 20 > n; n += 5) r = ((v = ((A = ((E = ((I = (r << 5 | r >>> 27) + (v & A | ~v & E) + I + 1518500249 + H[n] << 0) << 5 | I >>> 27) + (r & (v = v << 30 | v >>> 2) | ~r & A) + E + 1518500249 + H[n + 1] << 0) << 5 | E >>> 27) + (I & (r = r << 30 | r >>> 2) | ~I & v) + A + 1518500249 + H[n + 2] << 0) << 5 | A >>> 27) + (E & (I = I << 30 | I >>> 2) | ~E & r) + v + 1518500249 + H[n + 3] << 0) << 5 | v >>> 27) + (A & (E = E << 30 | E >>> 2) | ~A & I) + r + 1518500249 + H[n + 4] << 0, A = A << 30 | A >>> 2; 1039 for (; 40 > n; n += 5) r = ((v = ((A = ((E = ((I = (r << 5 | r >>> 27) + (v ^ A ^ E) + I + 1859775393 + H[n] << 0) << 5 | I >>> 27) + (r ^ (v = v << 30 | v >>> 2) ^ A) + E + 1859775393 + H[n + 1] << 0) << 5 | E >>> 27) + (I ^ 1040 (r = r << 30 | r >>> 2) ^ v) + A + 1859775393 + H[n + 2] << 0) << 5 | A >>> 27) + (E ^ (I = I << 30 | I >>> 2) ^ r) + v + 1859775393 + H[n + 3] << 0) << 5 | v >>> 27) + (A ^ (E = E << 30 | E >>> 2) ^ I) + r + 1859775393 + H[n + 4] << 0, A = A << 30 | A >>> 2; 1041 for (; 60 > n; n += 5) r = ((v = ((A = ((E = ((I = (r << 5 | r >>> 27) + (v & A | v & E | A & E) + I - 1894007588 + H[n] << 0) << 5 | I >>> 27) + (r & (v = v << 30 | v >>> 2) | r & A | v & A) + E - 1894007588 + H[n + 1] << 0) << 5 | E >>> 27) + (I & (r = r << 30 | r >>> 2) | I & v | r & v) + A - 1894007588 + H[n + 2] << 0) << 5 | A >>> 27) + (E & (I = I << 30 | I >>> 2) | E & r | I & r) + v - 1894007588 + H[n + 3] << 0) << 5 | v >>> 27) + (A & (E = E << 30 | E >>> 2) | A & I | E & I) + r - 1894007588 + H[n + 4] << 1042 0, A = A << 30 | A >>> 2; 1043 for (; 80 > n; n += 5) r = ((v = ((A = ((E = ((I = (r << 5 | r >>> 27) + (v ^ A ^ E) + I - 899497514 + H[n] << 0) << 5 | I >>> 27) + (r ^ (v = v << 30 | v >>> 2) ^ A) + E - 899497514 + H[n + 1] << 0) << 5 | E >>> 27) + (I ^ (r = r << 30 | r >>> 2) ^ v) + A - 899497514 + H[n + 2] << 0) << 5 | A >>> 27) + (E ^ (I = I << 30 | I >>> 2) ^ r) + v - 899497514 + H[n + 3] << 0) << 5 | v >>> 27) + (A ^ (E = E << 30 | E >>> 2) ^ I) + r - 899497514 + H[n + 4] << 0, A = A << 30 | A >>> 2; 1044 this.h0 = this.h0 + r << 0; 1045 this.h1 = this.h1 + v << 0; 1046 this.h2 = this.h2 + A << 0; 1047 this.h3 = this.h3 + E << 0; 1048 this.h4 = this.h4 + I << 0 1049 }; 1050 a.prototype.hex = function () { 1051 this.finalize(); 1052 var n = this.h0, r = this.h1, 1053 v = this.h2, A = this.h3, E = this.h4; 1054 return d[n >> 28 & 15] + d[n >> 24 & 15] + d[n >> 20 & 15] + d[n >> 16 & 15] + d[n >> 12 & 15] + d[n >> 8 & 15] + d[n >> 4 & 15] + d[15 & n] + d[r >> 28 & 15] + d[r >> 24 & 15] + d[r >> 20 & 15] + d[r >> 16 & 15] + d[r >> 12 & 15] + d[r >> 8 & 15] + d[r >> 4 & 15] + d[15 & r] + d[v >> 28 & 15] + d[v >> 24 & 15] + d[v >> 20 & 15] + d[v >> 16 & 15] + d[v >> 12 & 15] + d[v >> 8 & 15] + d[v >> 4 & 15] + d[15 & v] + d[A >> 28 & 15] + d[A >> 24 & 15] + d[A >> 20 & 15] + d[A >> 16 & 15] + d[A >> 12 & 15] + d[A >> 8 & 15] + d[A >> 4 & 15] + d[15 & A] + d[E >> 28 & 15] + d[E >> 24 & 15] + d[E >> 20 & 15] + d[E >> 16 & 15] + d[E >> 12 & 15] + d[E >> 8 & 15] + d[E >> 4 & 15] + d[15 & E] 1055 }; 1056 a.prototype.toString = 1057 a.prototype.hex; 1058 a.prototype.digest = function () { 1059 this.finalize(); 1060 var n = this.h0, r = this.h1, v = this.h2, A = this.h3, E = this.h4; 1061 return [n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, 255 & n, r >> 24 & 255, r >> 16 & 255, r >> 8 & 255, 255 & r, v >> 24 & 255, v >> 16 & 255, v >> 8 & 255, 255 & v, A >> 24 & 255, A >> 16 & 255, A >> 8 & 255, 255 & A, E >> 24 & 255, E >> 16 & 255, E >> 8 & 255, 255 & E] 1062 }; 1063 a.prototype.array = a.prototype.digest; 1064 a.prototype.arrayBuffer = function () { 1065 this.finalize(); 1066 var n = new ArrayBuffer(20), r = new DataView(n); 1067 return r.setUint32(0, this.h0), r.setUint32(4, this.h1), r.setUint32(8, this.h2), 1068 r.setUint32(12, this.h3), r.setUint32(16, this.h4), n 1069 }; 1070 var q = function () { 1071 var n = l("hex"); 1072 c && (n = m(n)); 1073 n.create = function () { 1074 return new a 1075 }; 1076 n.update = function (A) { 1077 return n.create().update(A) 1078 }; 1079 for (var r = 0; r < h.length; ++r) { 1080 var v = h[r]; 1081 n[v] = l(v) 1082 } 1083 return n 1084 }(); 1085 b.keyXYZ = q 1086}(); 1087var eyeAbleKeygen = function () { 1088 function a(c) { 1089 for (var d = [2, 15, 7, 10, 13, 4, 0, 9, 1], e = "", f = 0; f < c.length; f++) {
1090 var h = c.charCodeAt(f); 1091 h = String.fromCharCode(-97 + h + 48 - d[f]); 1092 e += h 1093 } 1094 return e 1095 } 1096 1097 var b = function (c, d, e) { 1098 e = void 0 === e ? "Pro" : e; 1099 var f = keyXYZ(c), h = f.length, g = 0, l = 1; 1100 c = ""; 1101 for (var m = 0; m < f.length; m++) { 1102 var q = g + l; 1103 c += f.charAt(h - q) + f.charAt(q); 1104 g = l; 1105 l = q; 1106 if (q > h - 1) break 1107 } 1108 f = d.getFullYear().toString(); 1109 h = d.getMonth().toString(); 1110 2 > h.length && (h = "0" + h); 1111 d = d.getDate().toString(); 1112 2 > d.length && (d = "0" + d); 1113 d = f + h + d; 1114 f = [2, 15, 7, 10, 13, 4, 0, 9, 1115 1]; 1116 h = ""; 1117 for (g = 0; g < d.length; g++) l = d.charCodeAt(g), l = String.fromCharCode(97 + l - 48 + f[g]), h += l; 1118 c += h; 1119 switch (e) { 1120 case "Pro": 1121 e = c.charCodeAt(5); 1122 e = String.fromCharCode(e + 4); 1123 c += e; 1124 break; 1125 case "Light": 1126 e = c.charCodeAt(5), e = String.fromCharCode(e + 2), c += e 1127 } 1128 return c 1129 }; 1130 return { 1131 generateKeyWithDate: b, evaluateKey: function (c, d) { 1132 var e = d.charCodeAt(5), f = d.charCodeAt(d.length - 1), h = "invali
1132d"; 1133 f == e + 4 ? h = "Pro" : f == e + 2 && (h = "Light"); 1134 if ("invalid" == h) return "invalid"; 1135 e = d.slice(0, d.length - 1); 1136 e = a(e.slice(e.length - 8)); 1137 e = e.slice(0, 4) + "/" + (parseInt(e.slice(4, 1138 6)) + 1).toString() + "/" + e.slice(6); 1139 e = new Date(e); 1140 return b(c, e, h) == d && e >= new Date ? h : "invalid" 1141 }, getLicenseEndDate: function (c, d) { 1142 var e = d.charCodeAt(5), f = d.charCodeAt(d.length - 1), h = "invalid"; 1143 f == e + 4 ? h = "Pro" : f == e + 2 && (h = "Light"); 1144 if ("invalid" == h) return null; 1145 e = d.slice(0, d.length - 1); 1146 e = a(e.slice(e.length - 8)); 1147 e = e.slice(0, 4) + "/" + (parseInt(e.slice(4, 6)) + 1).toString() + "/" + e.slice(6); 1148 e = new Date(e); 1149 return b(c, e, h) == d ? e : null 1150 } 1151 } 1152}();/* 1153 ModernizrEyeAble 3.6.0 (Custom Build) | MIT * 1154 https://ModernizrEyeAble.com/download/?-boxshadow-classlist-cookies-cssanimations-csstransitions-customelements-eventlistener-mutationobserver-queryselector-rgba-svg-svgfilters-setclasses ! ModernizrEyeAble 3.6.0 (Custom Build) | MIT * 1155 https://ModernizrEyeAble.com/download/?-boxshadow-classlist-cssanimations-csstransitions-customelements-eventlistener-mutationobserver-queryselector-rgba-svg-svgfilters-setclasses !*/ 1156!function (a, b, c) { 1157 function d() { 1158 return "function" != typeof b.createElement ? b.createElement(arguments[0]) : H ? b.createElementNS.call(b, "http://www.w3.org/2000/svg", arguments[0]) : b.createElement.apply(b, arguments) 1159 } 1160 1161 function e(F) { 1162 return F.replace(/([a-z])-([a-z])/g, function (M, P, U) { 1163 return P + U.toUpperCase() 1164 }).replace(/^-/, "") 1165 } 1166 1167 function f(F, M) { 1168 return function () { 1169 return F.apply(M, arguments) 1170 } 1171 } 1172 1173 function h(F) { 1174 return F.replace(/([A-Z])/g, function (M, P) { 1175 return "-" + P.toLowerCase() 1176 }).replace(/^ms-/, "-ms-") 1177 } 1178 1179 function g(F, M, 1180 P, U) { 1181 var S, R, Y, J = d("div"); 1182 var k = b.body; 1183 var p = (k || (k = d(H ? "svg" : "body"), k.fake = !0), k); 1184 if (parseInt(P, 10)) for (; P--;) k = d("div"), k.id = U ? U[P] : "ModernizrEyeAble" + (P + 1), J.appendChild(k); 1185 return S = d("style"), S.type = "text/css", S.id = "sModernizrEyeAble", (p.fake ? p : J).appendChild(S), p.appendChild(J), S.styleSheet ? S.styleSheet.cssText = F : S.appendChild(b.createTextNode(F)), J.id = "ModernizrEyeAble", p.fake && (p.style.background = "", p.style.overflow = "hidden", Y = I.style.overflow, I.style.overflow = "hidden", I.appendChild(p)), R = 1186 M(J, F), p.fake ? (p.parentNode.removeChild(p), I.style.overflow = Y, I.offsetHeight) : J.parentNode.removeChild(J), !!R 1187 } 1188 1189 function l(F, M) { 1190 var P = F.length; 1191 if ("CSS" in a && "supports" in a.CSS) { 1192 for (; P--;) if (a.CSS.supports(h(F[P]), M)) return !0; 1193 return !1 1194 } 1195 if ("CSSSupportsRule" in a) { 1196 for (var U = []; P--;) U.push("(" + h(F[P]) + ":" + M + ")"); 1197 return U = U.join(" or "), g("@supports (" + U + ") { #ModernizrEyeAble { position: absolute; } }", function (S) { 1198 if ("getComputedStyle" in a) { 1199 S = getComputedStyle.call(a, S, null); 1200 var R = a.console; 1201 null !== S ? S = S.getPropertyValue("position") : 1202 R && R[R.error ? "error" : "log"].call(R, "getComputedStyle returning null, its possible ModernizrEyeAble test results are inaccurate") 1203 } else S = S.currentStyle && S.currentStyle.position; 1204 return "absolute" == S 1205 }) 1206 } 1207 return c 1208 } 1209 1210 function m(F, M, P, U) { 1211 function S() { 1212 k && (delete w.style, delete w.modElem) 1213 } 1214 1215 if (U = "undefined" === typeof U ? !1 : U, "undefined" !== typeof P) { 1216 var R = l(F, P); 1217 if ("undefined" !== typeof R) return R 1218 } 1219 var Y, J; 1220 for (R = ["ModernizrEyeAble", "tspan", "samp"]; !w.style && R.length;) { 1221 var k = !0; 1222 w.modElem = d(R.shift()); 1223 w.style = w.modElem.style 1224 } 1225 var p = 1226 F.length; 1227 for (R = 0; p > R; R++) if (Y = F[R], J = w.style[Y], !!~("" + Y).indexOf("-") && (Y = e(Y)), w.style[Y] !== c) { 1228 if (U || "undefined" === typeof P) return S(), "pfx" == M ? Y : !0; 1229 try { 1230 w.style[Y] = P 1231 } catch (t) { 1232 } 1233 if (w.style[Y] != J) return S(), "pfx" == M ? Y : !0 1234 } 1235 return S(), !1 1236 } 1237 1238 function q(F, M, P, U, S) { 1239 var R = F.charAt(0).toUpperCase() + F.slice(1), Y = (F + " " + N.join(R + " ") + R).split(" "); 1240 if ("string" === typeof M || "undefined" === typeof M) var J = m(Y, M, U, S); else { 1241 Y = (F + " " + L.join(R + " ") + R).split(" "); 1242 a:{ 1243 F = Y; 1244 for (var k in F) if (F[k] in M) { 1245 M = !1 === P ? F[k] : (J = M[F[k]], 1246 "function" === typeof J ? f(J, P || M) : J); 1247 break a 1248 } 1249 M = !1 1250 } 1251 J = M 1252 } 1253 return J 1254 } 1255 1256 function n(F, M, P) { 1257 return q(F, c, c, M, P) 1258 } 1259 1260 var r = [], v = [], A = { 1261 _version: "3.6.0", 1262 _config: {classPrefix: "", enableClasses: !0, enableJSClass: !0, usePrefixes: !0}, 1263 _q: [], 1264 on: function (F, M) { 1265 var P = this; 1266 setTimeout(function () { 1267 M(P[F]) 1268 }, 0) 1269 }, 1270 addTest: function (F, M, P) { 1271 v.push({name: F, fn: M, options: P}) 1272 }, 1273 addAsyncTest: function (F) { 1274 v.push({name: null, fn: F}) 1275 } 1276 }, E = function () { 1277 }; 1278 E.prototype = A; 1279 E = new E; 1280 E.addTest("customelements", "customElements" in a); 1281 E.addTest("eventlistener", "addEventListener" in 1282 a); 1283 E.addTest("queryselector", "querySelector" in b && "querySelectorAll" in b); 1284 E.addTest("svg", !!b.createElementNS && !!b.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect); 1285 E.addTest("mutationobserver", !!a.MutationObserver || !!a.WebKitMutationObserver); 1286 E.addTest("svgfilters", function () { 1287 var F = !1; 1288 try { 1289 F = "SVGFEColorMatrixElement" in a && 2 == SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE 1290 } catch (M) { 1291 } 1292 return F 1293 }); 1294 var I = b.documentElement; 1295 E.addTest("classlist", "classList" in I); 1296 var H = "svg" === I.nodeName.toLowerCase(); 1297 E.addTest("rgba", function () { 1298 var F = d("a").style; 1299 return F.cssText = "background-color:rgba(150,255,150,.5)", -1 < ("" + F.backgroundColor).indexOf("rgba") 1300 }); 1301 var L = A._config.usePrefixes ? ["moz", "o", "ms", "webkit"] : []; 1302 A._domPrefixes = L; 1303 var N = A._config.usePrefixes ? ["Moz", "O", "ms", "Webkit"] : []; 1304 A._cssomPrefixes = N; 1305 var G = {elem: d("ModernizrEyeAble")}; 1306 E._q.push(function () { 1307 delete G.elem 1308 }); 1309 var w = {style: G.elem.style}; 1310 E._q.unshift(function () { 1311 delete w.style 1312 }); 1313 A.testAllProps = q; 1314 A.testAllProps = n; 1315 E.addTest("cssanimations", n("animationName", 1316 "a", !0)); 1317 E.addTest("boxshadow", n("boxShadow", "1px 1px", !0)); 1318 E.addTest("csstransitions", n("transition", "all", !0)); 1319 (function () { 1320 var F, M, P, U, S; 1321 for (S in v) if (v.hasOwnProperty(S)) { 1322 if (F = [], M = v[S], M.name && (F.push(M.name.toLowerCase()), M.options && M.options.aliases && M.options.aliases.length)) for (P = 0; P < M.options.aliases.length; P++) F.push(M.options.aliases[P].toLowerCase()); 1323 P = "function" === typeof M.fn ? M.fn() : M.fn; 1324 for (U = 0; U < F.length; U++) { 1325 var R = F[U]; 1326 R = R.split("."); 1327 1 === R.length ? E[R[0]] = P : (!E[R[0]] || E[R[0]] instanceof 1328 Boolean || (E[R[0]] = new Boolean(E[R[0]])), E[R[0]][R[1]] = P); 1329 r.push((P ? "" : "no-") + R.join("-")) 1330 } 1331 } 1332 })(); 1333 (function (F) { 1334 var M = I.className, P = E._config.classPrefix || ""; 1335 if (H && (M = M.baseVal), E._config.enableJSClass) M = M.replace(new RegExp("(^|\\s)" + P + "no-js(\\s|$)"), "$1" + P + "js$2"); 1336 E._config.enableClasses && (M += " " + P + F.join(" " + P), H ? I.className.baseVal = M : I.className = M) 1337 })(r); 1338 delete A.addTest; 1339 delete A.addAsyncTest; 1340 for (A = 0; A < E._q.length; A++) E._q[A](); 1341 a.ModernizrEyeAble = E 1342}(window, document); 1343var eyeAble_imagePaths = {}, eyeAbleVariables = { 1344 eyeAble_Font_Family: "0", 1345 iAble_Font_Offset: "0", 1346 Fontsize: 0, 1347 Line_height: 0, 1348 Word_Spacing: 0, 1349 Letter_Spacing: 0, 1350 Zoom_Lvl: 1, 1351 Alignment: "0", 1352 eyeAble_Color_Filter: "Deaktiviert", 1353 Color_Filter_Level: "1.0", 1354 Color_Mode: "0", 1355 iAble_Text_Color: "rgb(255, 255, 255)",
1356 iAble_Background_Color: "rgb(0, 0, 0)", 1357 Outline_Links: !0, 1358 bluefilterSet: "0", 1359 blueFilterLevel: "0.4", 1360 topPosition: "15%", 1361 rightPosition: "10px", 1362 mobileBottomPosition: "15%", 1363 mobileRightPosition: "10px", 1364 sidePosition: "right", 1365 mobileSidePosition: "right", 1366 Extended: "1", 1367 Animations: "1", 1368 HideImages: "0", 1369 Muted: "0", 1370 BluefilterAuto: "0", 1371 BluefilterTimes: "0", 1372 BluefilterSunTimes: "0", 1373 BluefilterLocation: "W\u00fcrzburg", 1374 BluefilterAutoSet: "false", 1375 BigCursor: "0", 1376 SpeechOutput: "0", 1377 SpeechRate: 1, 1378 SpeechVolume: 1, 1379 ReadCursorActive: !0, 1380 ControllerTop: 80, 1381 ControllerLeft: 55, 1382 OneClickSettingsDeviations: { 1383 bluefilterSet: "1", 1384 blueFilterLevel: "0.3", 1385 Color_Mode: "Contrast", 1386 iAble_Text_Color: "rgb(255, 255, 255)", 1387 iAble_Background_Color: "rgb(0, 0, 0)", 1388 iAble_Font_Offset: "3" 1389 }, 1390 lastIntroTime: 0, 1391 OneClickSaved: !1, 1392 UserLang: "de", 1393 UserLangCustom: !1, 1394 ShortcutsActive: !0, 1395 minimizeIcon: !1 1396 }, eyeAble_settings = { 1397 fontSizeIncrease: 1, 1398 iconSizeIncrease: 1, 1399 maximumFontSizeIncrease: 16, 1400 minimumFontSizeIncrease: -3, 1401 layoutCorrectThreshold: 4, 1402 highPowerMode: "True", 1403 BluefilterTimeInterval: 3E3 1404 }, eyeAble_setWhiteImgBackground = !1, eyeAble_invertSmallImg = !0, eyeAble_fileHomePath, eyeAble_firstInstallFree = !1, 1405 eyeAble_pluginDetected = !1, eyeAble_intersectionObserver = !0, eyeAble_lang; 1406 1407function eyeAble_setFilePaths(a) { 1408 a.includes("lib/") || a.includes("Public/") || (a += "lib/"); 1409 eyeAble_fileHomePath = a; 1410 eyeAble_imagePaths.bluefilterOnPath = a + "images/Eye-Able-Main-Bluefilter.svg"; 1411 eyeAble_imagePaths.bluefilterOffPath = a + "images/Eye-Able-Main-Bluefilter.svg"; 1412 eyeAble_imagePaths.mainIconPath = a + "images/eye-able-logo_rounded_bw_mini.png";
1413 eyeAble_imagePaths.mainIconFullPath = a + "images/eye-able-logo2.png"; 1414 eyeAble_imagePaths.mainIconActiveCheckPath = a + "images/eye-able-active-check.svg"; 1415 eyeAble_imagePaths.plusPath = 1416 a + "images/eye-able-plus.svg"; 1417 eyeAble_imagePaths.minusPath = a + "images/eye-able-minus.svg"; 1418 eyeAble_imagePaths.rightArrow = a + "images/eyeable-right-arrow.svg"; 1419 eyeAble_imagePaths.zoomPath = a + "images/Eye-Able-Main-Font-Size.svg"; 1420 eyeAble_imagePaths.zoomResetPath = a + "images/eye-able-main-zoom-reset.svg"; 1421 eyeAble_imagePaths.blackWhitePath = a + "images/Eye-Able-Main-Nightmode.svg"; 1422 eyeAble_imagePaths.blackWhiteOffPath = a + "images/eye-able-black_off.svg"; 1423 eyeAble_imagePaths.blueYellowPath = a + "images/eye-able-yellow-blue-yellow.svg"; 1424 eyeAble_imagePaths.redGreenPath = a + "images/eye-able-yellow-red-green.svg"; 1425 eyeAble_imagePaths.whiteBlackPath = a + "images/eye-able-colorpreset4.svg"; 1426 eyeAble_imagePaths.colorWheelPath = a + "images/Eye-Able-Main-Kontrastmodus.svg"; 1427 eyeAble_imagePaths.fontPath = a + "images/Eye-Able-Main-Font.svg"; 1428 eyeAble_imagePaths.colorblindPath = a + "images/Eye-Able-Main-Farbschwaeche.svg"; 1429 eyeAble_imagePaths.cc1Path = a + "images/Protanomalie.svg"; 1430 eyeAble_imagePaths.cc2Path = a + "images/Deuteranomalie.svg"; 1431 eyeAble_imagePaths.cc3Path = a + 1432 "images/Tritanomalie.svg"; 1433 eyeAble_imagePaths.cc4Path = a + "images/Graustufen.svg"; 1434 eyeAble_imagePaths.cc5Path = a + "images/Kontrast.svg"; 1435 eyeAble_imagePaths.cc6Path = a + "images/Saettigung.svg"; 1436 eyeAble_imagePaths.resetPath = a + "images/Eye-Able-Main-reset.svg"; 1437 eyeAble_imagePaths.rangerPlus = a + "images/plusRanger.svg"; 1438 eyeAble_imagePaths.rangerMinus = a + "images/minusRanger.svg"; 1439 eyeAble_imagePaths.bfrangerPlus = a + "images/bluefilter_plusRanger.svg"; 1440 eyeAble_imagePaths.bfrangerMinus = a + "images/bluefilter_minusRanger.svg"; 1441 eyeAble_imagePaths.settingsPath = a + "images/settings.png"; 1442 eyeAble_imagePaths.settingsAniPath = a + "images/eyeable_icon-settings-gif.svg"; 1443 eyeAble_imagePaths.settingsAniMainPath = a + "images/Eye-Able-Main-Animation.svg"; 1444 eyeAble_imagePaths.settingsClkPath = a + "images/eyeable_icon-settings-time.svg"; 1445 eyeAble_imagePaths.settingsImgPath = a + "images/Eye-Able-Main-Image.svg"; 1446 eyeAble_imagePaths.settingsLocPath = a + "images/eyeable_icon-settings-sunset.svg"; 1447 eyeAble_imagePaths.settingsMousePath = a + "images/eyeable_icon-cursor.svg"; 1448 eyeAble_imagePaths.settingsMutePath = a + "images/eyeable_icon-settings-audio.svg"; 1449 eyeAble_imagePaths.xPath = a + "images/eye-able-circle-x.svg"; 1450 eyeAble_imagePaths.xNoCirclePath = a + "images/eye-able-x.svg"; 1451 eyeAble_imagePaths.infoPath = a + "images/eye-able-info.svg"; 1452 eyeAble_imagePaths.resetTopPath = a + "images/eye-able-reset-top.svg"; 1453 eyeAble_imagePaths.resetContrastPath = a + "images/eye-able-reset-top.svg"; 1454 eyeAble_imagePaths.bigMousePath = a + "images/eye-able_cursor-big.png"; 1455 eyeAble_imagePaths.bigMouseToolbarPath = a + "images/Eye-Able-Main-BigCursor.svg"; 1456 eyeAble_imagePaths.pointerPath = a + "images/eyeable_pointer.png"; 1457 eyeAble_imagePaths.textPointerPath = a + "images/eyeable_text-cursor_2.png"; 1458 eyeAble_imagePaths.checkPath = a + "images/eye-able-check.svg"; 1459 eyeAble_imagePaths.arrowDownPath = a + "images/eye-Able-chevron-down.svg"; 1460 eyeAble_imagePaths.speakerPath = a + "images/eye-able-speaker.svg"; 1461 eyeAble_imagePaths.mutedPath = a + "images/eye-able-muted.svg"; 1462 eyeAble_imagePaths.magnifierPath = a + "images/eye-able-lupe.svg"; 1463 eyeAble_imagePaths.bwPresetPath = a + "images/eye-able-black-white.svg"; 1464 eyeAble_imagePaths.infoFaqPath = a + "images/eye-able-info-faq.svg"; 1465 eyeAble_imagePaths.infoMailPath = a + "images/eye-able-info-mail.svg"; 1466 eyeAble_imagePaths.infoManualPath = a + "images/eye-able-info-manual.svg"; 1467 eyeAble_imagePaths.infoTelPath = a + "images/eye-able-info-tel.svg"; 1468 eyeAble_imagePaths.navTTSPath = a + "images/Eye-Able-Main-Vorlesen.svg"; 1469 eyeAble_imagePaths.keyboardPath = a + "images/Eye-Able-Main-Keyboard.svg"; 1470 eyeAble_imagePaths.oneClickPath = a + "images/Eye-Able-Main-Schnellmodus.svg"; 1471 eyeAble_imagePaths.oneClickSavePath = 1472 a + "images/Eye-Able-Main-Save.svg"; 1473 eyeAble_imagePaths.moreFunctionsPath = a + "images/Eye-Able-Main-More-Functions.svg"; 1474 eyeAble_imagePaths.whiteLogo = a + "images/eye-able-white_logo.svg"; 1475 eyeAble_imagePaths.checkNoCirclePath = a + "images/eye-able-cmnbtn-check.svg"; 1476 eyeAble_imagePaths.proVersionPath = a + "images/Eye-Able-Main-Pro-version_trophy.svg"; 1477 eyeAble_imagePaths.cssPath = a + "css/eyeAble.1.12.57.min.css"; 1478 eyeAble_imagePaths.mainFontPath = a + "font/open-sans-v18-latin-regular.woff2"; 1479 eyeAble_imagePaths.mainFontWOFFPath = 1480 a + "font/open-sans-v18-latin-regular.woff"; 1481 eyeAble_imagePaths.mainFontTTFPath = a + "font/open-sans-v18-latin-regular.woff"; 1482 eyeAble_imagePaths.screenreaderLogo = a + "images/eye-able-screenreader.svg"; 1483 eyeAble_imagePaths.srPlayButton = a + "images/Play-Pause.svg"; 1484 eyeAble_imagePaths.srStopButton = a + "images/Stop.svg"; 1485 eyeAble_imagePaths.srPauseButton = a + "images/pause-play.svg"; 1486 eyeAble_imagePaths.srBackButton = a + "images/eye-able-backward.svg"; 1487 eyeAble_imagePaths.srForwardButton = a + "images/eye-able-forward.svg"; 1488 eyeAble_imagePaths.srSettings = 1489 a + "images/eye-able-srcicon.svg"; 1490 eyeAble_imagePaths.srSettingsClose = a + "images/eye-able-srscancel.
1490svg"; 1491 eyeAble_imagePaths.srMinus = a + "images/eye-able-SRminus.svg"; 1492 eyeAble_imagePaths.srPlus = a + "images/eye-able-SRplus.svg"; 1493 eyeAble_imagePaths.srInfoIcon = a + "images/eye-able-infoicon.svg"; 1494 eyeAble_imagePaths.flagDE = a + "images/eyeAble_flagDE.svg"; 1495 eyeAble_imagePaths.leftAlign = a + "images/eyeable-left-align.svg"; 1496 eyeAble_imagePaths.rightAlign = a + "images/eyeable-right-align.svg"; 1497 eyeAble_imagePaths.centerAlign = a + "images/eyeable-center-align.svg"; 1498 eyeAble_imagePaths.justifyAlign = a + "images/eyeable-justify-align.svg"; 1499 eyeAble_imagePaths.azureTTS = a + "tts/azureTTS.min.js" 1500} 1501 1502var eyeAble_contrastSkipClasses = [], eyeAble_fontsizeSkipClasses = [], eyeAble_noBackgroundClasses = []; 1503 1504function eyeAble_blacklistElements(a) { 1505 a || (a = document); 1506 try { 1507 if ("undefined" !== typeof eyeAble_pluginConfig) { 1508 var b; 1509 eyeAble_pluginConfig.blacklistAll && 0 < eyeAble_pluginConfig.blacklistAll.length && (b = eyeAble_pluginConfig.blacklistAll.split(",")); 1510 var c; 1511 eyeAble_pluginConfig.blacklistDarkmode && (c = eyeAble_pluginConfig.blacklistDarkmode.split(",")); 1512 var d; 1513 eyeAble_pluginConfig.blacklistContrast && (d = eyeAble_pluginConfig.blacklistContrast.split(",")); 1514 var e; 1515 eyeAble_pluginConfig.blacklistContrastMobile && (e = eyeAble_pluginConfig.blacklistContrastMobile.split(",")); 1516 var f; 1517 eyeAble_pluginConfig.blacklistFontsizeMobile && (f = eyeAble_pluginConfig.blacklistFontsizeMobile.split(",")); 1518 var h; 1519 eyeAble_pluginConfig.blacklistFontsize && (h = eyeAble_pluginConfig.blacklistFontsize.split(",")); 1520 var g; 1521 eyeAble_pluginConfig.forceWhiteBackground && (g = eyeAble_pluginConfig.forceWhiteBackground.split(",")); 1522 var l;
1523 eyeAble_pluginConfig.forceContrastBackground && (l = eyeAble_pluginConfig.forceContrastBackground.split(",")); 1524 var m; 1525 eyeAble_pluginConfig.noBackground && (m = eyeAble_pluginConfig.noBackground.split(",")); 1526 var q; 1527 eyeAble_pluginConfig.noLinkHighlight && (q = eyeAble_pluginConfig.noLinkHighlight.split(",")); 1528 if (b && 0 < b.length) for (var n = 0; n < b.length; n++) if (0 < b[n].length) { 1529 var r = a.querySelectorAll(b[n].trim()); 1530 if (r) for (var v = 0; v < r.length; v++) r[v].classList.add("eyeAbleSkip") 1531 } 1532 if (d && 0 < d.length) for (b = 0; b < d.length; b++) if (0 < d[b].length) { 1533 var A = a.querySelectorAll(d[b].trim()); 1534 eyeAble_contrastSkipClasses.push(d[b].trim()); 1535 if (A) for (n = 0; n < A.length; n++) A[n].classList.add("eyeAbleContrastSkip") 1536 } 1537 if (eyeAble_session_parameters.isMobile && 1538 e && 0 < e.length) for (d = 0; d < e.length; d++) if (0 < e[d].length) { 1539 var E = a.querySelectorAll(e[d].trim()); 1540 eyeAble_contrastSkipClasses.push(e[d].trim()); 1541 if (E) for (A = 0; A < E.length; A++) E[A].classList.add("eyeAbleContrastSkip") 1542 } 1543 if (c && 0 < c.length) for (e = 0; e < c.length; e++) if (0 < c[e].length) { 1544 var I = a.querySelectorAll(c[e].trim()); 1545 if (I) for (E = 0; E < I.length; E++) I[E].classList.add("eyeAbleSkipDarkmode") 1546 } 1547 if (h && 0 < h.length) for (c = 0; c < h.length; c++) if (0 < h[c].length) { 1548 var H = a.querySelectorAll(h[c].trim()); 1549 eyeAble_fontsizeSkipClasses.push(h[c].trim()); 1550 if (H) for (I = 0; I < H.length; I++) H[I].classList.add("eyeAbleSkipFontSize") 1551 } 1552 if (eyeAble_session_parameters.isMobile && f && 0 < f.length) for (h = 0; h < f.length; h++) if (0 < f[h].length) { 1553 var L = a.querySelectorAll(f[h].trim()); 1554 eyeAble_fontsizeSkipClasses.push(f[h].trim()); 1555 if (L) for (H = 0; H < L.length; H++) L[H].classList.add("eyeAbleSkipFontSize") 1556 } 1557 if (g && 0 < g.length) for (f = 0; f < g.length; f++) if (0 < g[f].length) { 1558 var N = a.querySelectorAll(g[f].trim()); 1559 if (N) for (L = 0; L < N.length; L++) N[L].classList.add("eyeAbleContrastSkip") 1560 } 1561 if (l && 0 < l.length) for (g = 1562 0; g < l.length; g++) if (0 < l[g].length) { 1563 var G = a.querySelectorAll(l[g].trim()); 1564 if (G) for (N = 0; N < G.length; N++) G[N].classList.add("eA_fcB") 1565 } 1566 if (m && 0 < m.length) for (l = 0; l < m.length; l++) if (0 < m[l].length) { 1567 var w = a.querySelectorAll(m[l].trim()); 1568 eyeAble_noBackgroundClasses.push(m[l].trim()); 1569 if (w) for (G = 0; G < w.length; G++) w[G].classList.add("eA_nB") 1570 } 1571 if (q && 0 < q.length) for (m = 0; m < q.length; m++) if (0 < q[m].length) { 1572 var F = a.querySelectorAll(q[m].trim()); 1573 if (F) for (w = 0; w < F.length; w++) F[w].classList.add("eA_nH") 1574 } 1575 } 1576 } catch (M) { 1577 } 1578} 1579 1580function eyeAble_setWhiteBackgrounds() { 1581 var a; 1582 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceWhiteBackground && (a = eyeAble_pluginLocalConfig.forceWhiteBackground.split(",")); 1583 if (a && 0 < a.length) { 1584 for (var b = {}, c = 0; c < a.length; b = {$jscomp$loop$prop$elements$275: b.$jscomp$loop$prop$elements$275}, c++) if (0 < a[c].length && (b.$jscomp$loop$prop$elements$275 = document.querySelectorAll(a[c].trim()), b.$jscomp$loop$prop$elements$275)) for (var d = {$jscomp$loop$prop$k$277: 0}; d.$jscomp$loop$prop$k$277 < b.$jscomp$loop$prop$elements$275.length; d = 1585 {$jscomp$loop$prop$k$277: d.$jscomp$loop$prop$k$277}, d.$jscomp$loop$prop$k$277++) fastdomEA.mutate(function (h, g) { 1586 return function () { 1587 h.$jscomp$loop$prop$elements$275[g.$jscomp$loop$prop$k$277].style.setProperty("background", "white", "important") 1588 } 1589 }(b, d)); 1590 b = document.querySelectorAll("IFRAME"); 1591 if (0 < b.length) for (c = 0; c < b.length; c++) { 1592 d = {}; 1593 for (var e = 0; e < a.length; d = {$jscomp$loop$prop$elements$52$279: d.$jscomp$loop$prop$elements$52$279}, e++) if (0 < a[e].length) try { 1594 if (d.$jscomp$loop$prop$elements$52$279 = b[e].contentWindow.document.querySelectorAll(a[e].trim()), 1595 d.$jscomp$loop$prop$elements$52$279) for (var f = {$jscomp$loop$prop$k$53$281: 0}; f.$jscomp$loop$prop$k$53$281 < d.$jscomp$loop$prop$elements$52$279.length; f = {$jscomp$loop$prop$k$53$281: f.$jscomp$loop$prop$k$53$281}, f.$jscomp$loop$prop$k$53$281++) fastdomEA.mutate(function (h, g) { 1596 return function () { 1597 h.$jscomp$loop$prop$elements$52$279[g.$jscomp$loop$prop$k$53$281].style.setProperty("background", "white", "important") 1598 } 1599 }(d, f)) 1600 } catch (h) { 1601 } 1602 } 1603 } 1604} 1605
1606function eyeAble_resetWhiteBackgrounds() { 1607 var a; 1608 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceWhiteBackground && (a = eyeAble_pluginLocalConfig.forceWhiteBackground.split(",")); 1609 if (a && 0 < a.length) for (var b = {}, c = 0; c < a.length; b = {$jscomp$loop$prop$elements$283: b.$jscomp$loop$prop$elements$283}, c++) if (a[c] && 0 < a[c].length && a[c].trim() && (b.$jscomp$loop$prop$elements$283 = document.querySelectorAll(a[c].trim()), b.$jscomp$loop$prop$elements$283)) for (var d = {$jscomp$loop$prop$k$285: 0}; d.$jscomp$loop$prop$k$285 < 1610 b.$jscomp$loop$prop$elements$283.length; d = {$jscomp$loop$prop$k$285: d.$jscomp$loop$prop$k$285}, d.$jscomp$loop$prop$k$285++) fastdomEA.mutate(function (e, f) { 1611 return function () { 1612 e.$jscomp$loop$prop$elements$283[f.$jscomp$loop$prop$k$285].style.removeProperty("background") 1613 } 1614 }(b, d)) 1615};var eyeAble_lS_found = !1, eyeAble_crossDomainStorage = !1, 1616 eyeAble_crossStorageDomain = "https://storage.eye-able-cdn.com", 1617 eyeAble_crossStorageUrl = eyeAble_crossStorageDomain + "/testing/localStorage.html"; 1618 1619function eyeAbleInitLocalVariables() { 1620 function a() { 1621 var f = localStorage.getItem("eyeAbleVariables"); 1622 b(f) 1623 } 1624 1625 function b(f) { 1626 f && (f = JSON.parse(f), Object.keys(f).length === Object.keys(eyeAbleVariables).length && (eyeAbleVariables = f), eyeAble_lS_found = !0); 1627 eyeAble_lS_found || document.addEventListener("eyeable:init_completed", function () { 1628 eyeAble_lS_found = !0 1629 }); 1630 eyeAble_variablesLoaded = !0; 1631 eyeAble_instantActions() 1632 } 1633 1634 if (document.getElementById("eyeAbleStorageHub")) { 1635 eyeAble_crossDomainStorage = !0; 1636 var c = document.createElement("a"); 1637 c.setAttribute("href", document.getElementById("eyeAbleStorageHub").src); 1638 eyeAble_crossStorageDomain = c.protocol + "//" + c.hostname 1639 } 1640 if (localStorage.getItem("eyeAbleCrossStorage") || "undefined" !== typeof eyeAble_pluginConfig && eyeAble_pluginConfig.shareLocalStorage) eyeAble_crossDomainStorage = !0; 1641 if (!0 === eyeAble_crossDomainStorage) try { 1642 var d = function (f) { 1643 f && f.data && "eyeAble_Message" === f.data.type && (f.data.config ? (e = !0, b(f.data.config), window.removeEventListener("message", d)) : "Allowed" === f.data.result ? document.getElementById("eyeAbleStorageHub").contentWindow.postMessage("get", 1644 eyeAble_crossStorageDomain) : "Denied" === f.data.result && (console.log("Cross Storage denied."), eyeAble_crossDomainStorage = !1, a(), window.removeEventListener("message", d))) 1645 }, e = !1; 1646 window.addEventListener("message", d); 1647 setTimeout(function () { 1648 e || (a(), window.removeEventListener("message", d)) 1649 }, 1E3); 1650 eyeAble_createStorageIframe() 1651 } catch (f) { 1652 a() 1653 } else a() 1654} 1655 1656function eyeAble_setCrossDomainStorage() { 1657 eyeAble_crossDomainStorage && document.getElementById("eyeAbleStorageHub") && document.getElementById("eyeAbleStorageHub").contentWindow.postMessage({set: JSON.stringify(eyeAbleVariables)}, eyeAble_crossStorageDomain) 1658} 1659 1660function eyeAble_setVar(a, b) { 1661 eyeAbleVariables[a] = b; 1662 a = !1; 1663 "undefined" !== typeof eyeAble_blockLocalStorage && !0 === eyeAble_blockLocalStorage && (a = !0); 1664 eyeAble_lS_found && !a && (localStorage.setItem("eyeAbleVariables", JSON.stringify(eyeAbleVariables)), eyeAble_setCrossDomainStorage()) 1665} 1666 1667function eyeAble_getVar(a) { 1668 return eyeAbleVariables[a] 1669};var eyeAble_bluefilterTimeCheck = -1, eyeAble_BfQuickInitRun = !1; 1670 1671function eyeAble_initBluefilter() { 1672 if (!eyeAble_BfQuickInitRun && "1" === eyeAble_getVar("bluefilterSet") || eyeAble_BfQuickInitRun) { 1673 var a = '<eye-able-shader aria-hidden="true" id="eyeAble-Bluefilter" style="background: rgba(255, 147, 41,' + ("1" === eyeAble_getVar("bluefilterSet") ? eyeAbleVariables.blueFilterLevel : "0") + '); z-index: 2147483646;\n margin: 0;\n border-radius: 0;\n padding: 0;\n pointer-events: none;\n position: fixed;\n top: -10%;\n right: -10%;\n bottom: -10%;\n left: -10%;\n width: auto;\n height: auto;\n mix-blend-mode: multiply;\n display: block !important;"></eye-able-shader>'; 1674 "display: block; transition: none 0s ease 0s; margin: 0px; padding: 0px; border-radius: 0px; border: none; outline: none; visibility: visible; max-height: none; max-width: none; clip: unset; overflow: visible; opacity: 1; position: fixed; inset: -10%; width: auto; height: auto; z-index: -2147483646; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(0, 0, 0);"; 1675 document.getElementById("eyeAble-Bluefilter") || (document.documentElement.insertAdjacentHTML("beforeend", a), document.documentElement.insertAdjacentHTML("beforeend", '<eye-able-shader id="eyeAble-Bluefilter-Back" style="display: none; transition: none 0s ease 0s; margin: 0px; padding: 0px; border-radius: 0px; border: none; outline: none; visibility: visible; max-height: none; max-width: none; clip: unset; overflow: visible; opacity: 1; position: fixed; inset: -10%; width: auto; height: auto; z-index: -2147483646; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(0, 0, 0);"></eye-able-shader>')); 1676 if ("0" !== eyeAble_getVar("BluefilterTimes") || "0" !== eyeAble_getVar("BluefilterSunTimes")) eyeAble_bluefilterTimeCheck = window.setInterval(eyeAble_BluefilterCheckTime, eyeAble_settings.BluefilterTimeInterval); 1677 eyeAble_bluefilterEnabled || eyeAble_resetBluefilter() 1678 } 1679 eyeAble_BfQuickInitRun = !0 1680} 1681 1682function eyeAble_toggleBluefilter() { 1683 if (!eyeAble_bluefilterEnabled) return !1; 1684 "0" === eyeAble_getVar("bluefilterSet") ? (.1 > parseFloat(eyeAbleVariables.blueFilterLevel) && eyeAble_setVar("blueFilterLevel", "0.1", 1), eyeAble_setBluefilter(), eyeAble_showFeedbackNotification(eyeAble_getMessage("activeBf"), "ALT + B")) : (eyeAble_resetBluefilter(), eyeAble_showFeedbackNotification(eyeAble_getMessage("inactiveBf"), "ALT + B")) 1685} 1686 1687function eyeAble_increaseBluefilter() { 1688 if (!eyeAble_bluefilterEnabled) return !1; 1689 var a = parseFloat(eyeAbleVariables.blueFilterLevel) + .05; 1690 1 >= a ? eyeAble_setBluefilterIntensity(a) : eyeAble_setBluefilterIntensity(1) 1691} 1692 1693function eyeAble_decreaseBluefilter() { 1694 if (!eyeAble_bluefilterEnabled) return !1; 1695 var a = parseFloat(eyeAbleVariables.blueFilterLevel) - .05; 1696 0 <= a ? eyeAble_setBluefilterIntensity(a) : eyeAble_setBluefilterIntensity(0) 1697} 1698 1699function eyeAble_setBluefilterIntensity(a) { 1700 eyeAble_setVar("blueFilterLevel", a.toString(), 1); 1701 fastdomEA.mutate(function () { 1702 document.getElementById("eyeAble-Bluefilter").style.background = "rgba(255, 147, 41," + eyeAbleVariables.blueFilterLevel + ")"; 1703 eyeAble_shadowRoot.getElementById("bluefilterRanger").value = (100 * a).toString(); 1704 eyeAble_shadowRoot.getElementById("eyeAble_BluefilterRanger_value").textContent = (100 * parseFloat(eyeAbleVariables.blueFilterLevel)).toFixed(0) + "%"; 1705 var b = parseFloat(eyeAble_shadowRoot.getElementById("bluefilterRanger").value); 1706 eyeAble_shadowRoot.getElementById("rngBGBluefilter").style.width = (b - 4 * b / 100).toString() + "%" 1707 }) 1708} 1709 1710var eyeAble_htmlHeightFit = !1; 1711 1712function eyeAble_setBluefilter() { 1713 if (!eyeAble_bluefilterEnabled) return !1; 1714 eyeAble_setBluefilterIntensity(parseFloat(eyeAbleVariables.blueFilterLevel)); 1715 fastdomEA.mutate(function () { 1716 eyeAble_shadowRoot.getElementById("bluefilterID").src = eyeAble_imagePaths.bluefilterOffPath; 1717 eyeAble_shadowRoot.getElementById("bluefilterTooltipID").innerHTML = eyeAble_getMessage("disableBf"); 1718 eyeAble_shadowRoot.getElementById("eyeABle_bluefilterCtrlID").classList.remove("eyeAble_collapsed"); 1719 eyeAble_shadowRoot.getElementById("bluefilterContainerID").classList.add("eyeAbleActive"); 1720 eyeAble_shadowRoot.getElementById("BluefilterMoreID") && (eyeAble_shadowRoot.getElementById("BluefilterMoreImgID").src = eyeAble_imagePaths.bluefilterOffPath, eyeAble_shadowRoot.getElementById("BluefilterMoreTxtID").innerHTML = eyeAble_getMessage("disableBf"), eyeAble_shadowRoot.getElementById("BluefilterMoreID").classList.add("eyeAbleActive"), eyeAble_shadowRoot.getElementById("BluefilterMoreID").setAttribute("aria-pressed", "true")) 1721 }); 1722 eyeAble_setVar("bluefilterSet", "1", 1); 1723 eyeAble_showClickableElements("eyeABle_bluefilterCtrlID"); 1724 eyeAble_shadowRoot.getElementById("bluefilterContainerID").setAttribute("aria-pressed", "true"); 1725 eyeAble_changeScrollbarColor(); 1726 eyeAble_dispatchEvent("Bluefilter_Enabled") 1727} 1728 1729function eyeAble_resetBluefilter() { 1730 fastdomEA.mutate(function () { 1731 document.getElementById("eyeAble-Bluefilter").style.background = "rgba(255, 147, 41, 0)"; 1732 eyeAble_shadowRoot.getElementById("bluefilterID").src = eyeAble_imagePaths.bluefilterOffPath; 1733 eyeAble_shadowRoot.getElementById("bluefilterTooltipID").innerHTML = eyeAble_getMessage("enableBf"); 1734 eyeAble_shadowRoot.getElementById("eyeABle_bluefilterCtrlID").classList.add("eyeAble_collapsed"); 1735 eyeAble_shadowRoot.getElementById("bluefilterContainerID").classList.contains("eyeAbleActive") && 1736 eyeAble_shadowRoot.getElementById("bluefilterContainerID").classList.remove("eyeAbleActive"); 1737 eyeAble_shadowRoot.getElementById("BluefilterMoreID") && (eyeAble_shadowRoot.getElementById("BluefilterMoreImgID").src = eyeAble_imagePaths.bluefilterOffPath, eyeAble_shadowRoot.getElementById("BluefilterMoreTxtID").innerHTML = eyeAble_getMessage("enableBf"), eyeAble_shadowRoot.getElementById("BluefilterMoreID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("BluefilterMoreID").setAttribute("aria-pressed", 1738 "false")) 1739 }); 1740 eyeAble_hideClickableElements("eyeABle_bluefilterCtrlID"); 1741 eyeAble_setVar("bluefilterSet", "0", 1); 1742 fastdomEA.mutate(function () { 1743 "0" === eyeAbleVariables.Color_Mode && document.documentElement.style.removeProperty("background-color"); 1744 eyeAble_htmlHeightFit && (document.documentElement.style.removeProperty("height"), eyeAble_htmlHeightFit = !1) 1745 }); 1746 if ("true" === eyeAble_getVar("BluefilterAutoSet") && "0" !== eyeAbleVariables.BluefilterAuto) { 1747 var a = new Date; 1748 eyeAble_setVar("BluefilterAutoSet", "false"); 1749 fastdomEA.mutate(function () { 1750 if ("SUN" === 1751 eyeAble_getVar("BluefilterAuto")) eyeAble_setVar("BluefilterSunTimes", eyeAbleVariables.BluefilterSunTimes + "," + a.getDate()), eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID") && (eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").innerText = eyeAble_getMessage("funcOffSunset"), eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").style.color = "var(--main-text-color)"); else { 1752 eyeAble_setVar("BluefilterTimes", eyeAbleVariables.BluefilterTimes + "," + a.getDate()); 1753 var b = eyeAbleVariables.BluefilterTimes.split(",")[1]; 1754 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID") && (eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeTo") + b.charAt(0) + b.charAt(1) + ":" + b.charAt(2) + b.charAt(3), eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)") 1755 } 1756 }) 1757 } 1758 eyeAble_shadowRoot.getElementById("bluefilterContainerID").setAttribute("aria-pressed", "false"); 1759 eyeAble_changeScrollbarColor(); 1760 eyeAble_setActiveCheckVis() 1761} 1762 1763function eyeAble_BluefilterCheckTime() { 1764 function a() { 1765 if (f <= e) { 1766 if (d >= e || d < f) return !0 1767 } else if (d >= e && d < f) return !0; 1768 return !1 1769 } 1770 1771 if (!eyeAble_bluefilterEnabled || !eyeAble_bluefilterAutoEnabled) return !1; 1772 if ("SUN" === eyeAble_getVar("BluefilterAuto")) var b = eyeAbleVariables.BluefilterSunTimes.split(","); else if ("MAN" === eyeAble_getVar("BluefilterAuto")) b = eyeAbleVariables.BluefilterTimes.split(","); else return -1 !== eyeAble_bluefilterTimeCheck && (clearInterval(eyeAble_bluefilterTimeCheck), eyeAble_bluefilterTimeCheck = -1), 1773 !1; 1774 var c = new Date, d = 100 * c.getHours() + c.getMinutes(), e = parseInt(b[0]), f = parseInt(b[1]); 1775 if (2 < b.length) { 1776 if (c.getDate() === parseInt(b[2]) && d > f && f >= e || c.getDate() !== parseInt(b[2]) && d > f) "MAN" === eyeAble_getVar("BluefilterAuto") ? (eyeAble_setVar("BluefilterTimes", b[0] + "," + b[1]), eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID") && fastdomEA.mutate(function () { 1777 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcOn"); 1778 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = 1779 "var(--main-text-color)" 1780 })) : eyeAble_setVar("BluefilterSunTimes", b[0] + "," + b[1]) 1781 } else a() ? (eyeAble_setBluefilter(), eyeAble_setVar("BluefilterAutoSet", "true"), eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID") && fastdomEA.mutate(function () { 1782 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcOn"); 1783 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)" 1784 })) : "true" === eyeAble_getVar("BluefilterAutoSet") && (eyeAble_setVar("BluefilterAutoSet", 1785 "false"), eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID") && (e = e.toString(), fastdomEA.mutate(function () { 1786 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeFrom") + e.charAt(0) + e.charAt(1) + ":" + e.charAt(2) + e.charAt(3) 1787 })), eyeAble_resetBluefilter()) 1788} 1789 1790function eyeAble_BluefilterRangerChange() { 1791 eyeAbleVariables.blueFilterLevel = (parseFloat(eyeAble_shadowRoot.getElementById("bluefilterRanger").value) / 100).toString(); 1792 eyeAble_setBluefilter() 1793};var eyeAble_htmlFilterRule; 1794
1795function eyeAble_initColorCorrection() { 1796 var a = document.createElement("style"); 1797 a.appendChild(document.createTextNode("")); 1798 document.head.appendChild(a); 1799 a = a.sheet; 1800 0 < navigator.userAgent.indexOf("Firefox") ? eyeAble_addCSSRule(a, "body > *:not(.eyeAble_container_b)", "") : eyeAble_addCSSRule(a, "html", ""); 1801 eyeAble_htmlFilterRule = a.rules[0]; 1802 "Deaktiviert" !== eyeAbleVariables.eyeAble_Color_Filter && eyeAble_applyCVD(eyeAble_getVar("eyeAble_Color_Filter")) 1803} 1804 1805function eyeAble_resetColorCorrection() { 1806 fastdomEA.mutate(function () { 1807 "True" === eyeAble_settings.highPowerMode && (eyeAble_htmlFilterRule.style.removeProperty("-webkit-filter"), eyeAble_htmlFilterRule.style.removeProperty("filter")); 1808 eyeAble_shadowRoot.getElementById("colorblindID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("colorblindID").classList.remove("eyeAbleActive"); 1809 eyeAble_shadowRoot.getElementById("ColorCorrMoreID") && (eyeAble_shadowRoot.getElementById("ColorCorrMoreID").classList.remove("eyeAbleActive"), 1810 eyeAble_shadowRoot.getElementById("ColorCorrMoreID").setAttribute("aria-pressed", "false")); 1811 eyeAble_shadowRoot.getElementById("colorCorrectionControllerID").classList.add("eyeAble_collapsed"); 1812 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.colorblindPath 1813 }); 1814 eyeAble_resetCCactiveColors(); 1815 !eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") || eyeAble_keyPressed || eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").matches(":hover") || "block" != getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_CCPageID")).display || 1816 eyeAble_closeCCpage();
1817 eyeAble_setVar("eyeAble_Color_Filter", "Deaktiviert", 1); 1818 fastdomEA.mutate(function () { 1819 eyeAble_hideClickableElements("colorCorrectionControllerID"); 1820 eyeAble_showCCTabElements() 1821 }); 1822 eyeAble_setActiveCheckVis(); 1823 eyeAble_shadowRoot.getElementById("colorblindID").setAttribute("aria-pressed", "false") 1824} 1825 1826function eyeAble_resetCCactiveColors() { 1827 eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && (fastdomEA.mutate(function () { 1828 eyeAble_shadowRoot.getElementById("eye_ProtIDRanger").classList.add("eyeAble_collapsed"); 1829 eyeAble_shadowRoot.getElementById("eye_ProtID").classList.remove("eyeAbleActive"); 1830 eyeAble_shadowRoot.getElementById("eye_DeuterIDRanger").classList.add("eyeAble_collapsed"); 1831 eyeAble_shadowRoot.getElementById("eye_DeuterID").classList.remove("eyeAbleActive"); 1832 eyeAble_shadowRoot.getElementById("eye_TritIDRanger").classList.add("eyeAble_collapsed"); 1833 eyeAble_shadowRoot.getElementById("eye_TritID").classList.remove("eyeAbleActive"); 1834 eyeAble_shadowRoot.getElementById("eye_greyIDRanger").classList.add("eyeAble_collapsed"); 1835 eyeAble_shadowRoot.getElementById("eye_greyID").classList.remove("eyeAbleActive"); 1836 eyeAble_shadowRoot.getElementById("eye_contrastIDRanger").classList.add("eyeAble_collapsed"); 1837 eyeAble_shadowRoot.getElementById("eye_contrastID").classList.remove("eyeAbleActive"); 1838 eyeAble_shadowRoot.getElementById("eye_saturationIDRanger").classList.add("eyeAble_collapsed"); 1839 eyeAble_shadowRoot.getElementById("eye_saturationID").classList.remove("eyeAbleActive") 1840 }), eyeAble_shadowRoot.getElementById("eye_ProtID").setAttribute("aria-expanded", "false"), eyeAble_shadowRoot.getElementById("eye_DeuterID").setAttribute("aria-expanded", "false"), eyeAble_shadowRoot.getElementById("eye_TritID").setAttribute("aria-expanded", "false"), eyeAble_shadowRoot.getElementById("eye_greyID").setAttribute("aria-expanded", "false"), eyeAble_shadowRoot.getElementById("eye_contrastID").setAttribute("aria-expanded", 1841 "false"), eyeAble_shadowRoot.getElementById("eye_saturationID").setAttribute("aria-expanded", "false")) 1842} 1843 1844function eyeAble_createCcPage() { 1845 function a() { 1846 "tabEndCC" === this.id ? eyeAble_shadowRoot.getElementById("ccTopbarXID").focus() : eyeAble_shadowRoot.getElementById("eye_saturationID").focus() 1847 } 1848 1849 if (!eyeAble_colorCorrEnabled) return !1; 1850 var b = '<section aria-labelledby="ccWindowHeading" class="eyeAble_settings eyeAble_topFixedPosition eyeAble_color-correction-menu eyeAbleSkip" id="eyeAble_CCPageID" tabindex="-1" style="display: none"> <div aria-hidden="true" id="tabStartCC" class="eyeAtabClickable" tabindex="0"></div> <div class="eyeAble_cc-menu-head"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.colorblindPath + 1851 '" alt="" class="eyeAble_ccMainImage"> </div> <div class="eyeAble_cc-menu-heading"> <span id="ccWindowHeading" class="eyeAble_setting-text" ealangid="ccHeader">' + eyeAble_getMessage("ccHeader") + '</span> </div> <div> <img eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" tabindex="0" id="ccTopbarXID" src="' + eyeAble_imagePaths.xPath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" style="margin-left: 10px; margin-right: 3px; font-size: 25px; padding-top: 5px;"></div> </div> <div class="eyeAble_cc-menu-content"> <div class="eyeAble_cc-single-item" id="itemsingle1"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_ProtID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1852 eyeAble_imagePaths.cc1Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccProt1">' + eyeAble_getMessage("ccProt1") + '</p>
1852 <span ealangid="ccProt2">' + eyeAble_getMessage("ccProt2") + '</span> </div> </div> <div aria-hidden="true" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_ProtIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1853 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp1">80%</span> </div> <div class="eyeAble_cc-ranger"> <input type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger1"> <span class="eyeAble_rnger-bg" id="rngBG1"></span> </div> <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1854 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> </div> <div class="eyeAble_cc-single-item" id="itemsingle2"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_DeuterID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1855 eyeAble_imagePaths.cc2Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccDeut1">' + eyeAble_getMessage("ccDeut1") + '</p> <span ealangid="ccDeut2">' + eyeAble_getMessage("ccDeut2") + '</span> </div> </div> <div aria-hidden="true" role="button" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_DeuterIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1856 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp2">80%</span> </div> <div class="eyeAble_cc-ranger"> <input aria-hidden="true" type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger2"> <span class="eyeAble_rnger-bg" id="rngBG2"></span> </div>
1856 <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1857 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> </div> <div class="eyeAble_cc-single-item" id="itemsingle3"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_TritID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1858 eyeAble_imagePaths.cc3Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccTrit1">' + eyeAble_getMessage("ccTrit1") + '</p> <span ealangid="ccTrit2">' + eyeAble_getMessage("ccTrit2") + '</span> </div> </div> <div aria-hidden="true" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_TritIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1859 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp3">80%</span> </div> <div class="eyeAble_cc-ranger"> <input aria-hidden="true" type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger3"> <span class="eyeAble_rnger-bg" id="rngBG3"></span> </div>
1859 <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1860 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> </div> <div class="eyeAble_cc-single-item" id="itemsingle4"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_greyID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1861 eyeAble_imagePaths.cc4Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccGrey">' + eyeAble_getMessage("ccGrey") + '</p> </div> </div> <div aria-hidden="true" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_greyIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1862 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp4">80%</span> </div> <div class="eyeAble_cc-ranger"> <input aria-hidden="true" type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger4"> <span class="eyeAble_rnger-bg" id="rngBG4"></span> </div>
1862 <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1863 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> </div> <div class="eyeAble_cc-single-item" id="itemsingle5"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_contrastID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1864 eyeAble_imagePaths.cc5Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccContrast">' + eyeAble_getMessage("ccContrast") + '</p> </div> </div> <div aria-hidden="true" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_contrastIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1865 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp5">80%</span> </div> <div class="eyeAble_cc-ranger"> <input aria-hidden="true" type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger5"> <span class="eyeAble_rnger-bg" id="rngBG5"></span> </div>
1865 <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1866 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> </div> <div class="eyeAble_cc-single-item" id="itemsingle6"> <div role="button" aria-expanded="false" class="eyeAble_cc-item-text eyeAtabClickable" tabindex="0" id="eye_saturationID"> <div class="eyeAble_cc-menu-icon"> <img eyeAbleSkipNav="true" src="' + 1867 eyeAble_imagePaths.cc6Path + '" alt="" class="eyeAble_ccMainImage eyeAbleInvert"> </div> <div class="eyeAble_cc-menu-text"> <p ealangid="ccSat">' + eyeAble_getMessage("ccSat") + '</p> </div> </div> <div aria-hidden="true" class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="eye_saturationIDRanger"> <div class="eyeAble_cc-ranger-text"> <p eALangID="rangerTopText">' + 1868 eyeAble_getMessage("rangerTopText") + '</p> <span id="ccRngrDisp6">80%</span> </div> <div class="eyeAble_cc-ranger"> <input aria-hidden="true" type="range" tabindex="-1" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="ccMainRanger6"> <span class="eyeAble_rnger-bg" id="rngBG6"></span> </div>
1868 <div class="eyeAble_cc-ranger-controls"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + 1869 eyeAble_imagePaths.rangerMinus + '" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAbleCCminus eyeAtabClickable noHide" tabindex="0"> <img role="button" aria-describedby="ColorCorrection_ranger_value" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rangerPlus + '" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAbleCCplus eyeAtabClickable noHide" tabindex="0"> </div> </div> <div aria-hidden="true" id="tabEndCC" class="eyeAtabClickable" tabindex="0"></div> </div> </div> </section>'; 1870 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", b); 1871 eyeAble_session_parameters.isMobile && (eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").style.setProperty("right", eyeAbleVariables.mobileRightPosition, "important"), eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").classList.add("eyeAble_topFixedPosition"), eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").style.setProperty("padding", "0", "important")); 1872 eyeAble_shadowRoot.getElementById("tabEndCC").addEventListener("focus", 1873 a); 1874 eyeAble_shadowRoot.getElementById("tabStartCC").addEventListener("focus", a); 1875 eyeAble_shadowRoot.getElementById("eye_ProtID").addEventListener("click", eyeAble_CCSettingsListener); 1876 eyeAble_shadowRoot.getElementById("eye_DeuterID").addEventListener("click", eyeAble_CCSettingsListener); 1877 eyeAble_shadowRoot.getElementById("eye_TritID").addEventListener("click", eyeAble_CCSettingsListener); 1878 eyeAble_shadowRoot.getElementById("eye_greyID").addEventListener("click", eyeAble_CCSettingsListener); 1879 eyeAble_shadowRoot.getElementById("eye_contrastID").addEventListener("click", 1880 eyeAble_CCSettingsListener); 1881 eyeAble_shadowRoot.getElementById("eye_saturationID").addEventListener("click", eyeAble_CCSettingsListener); 1882 eyeAble_shadowRoot.getElementById("ccTopbarXID").addEventListener("click", eyeAble_toggleCCpage); 1883 eyeAble_shadowRoot.getElementById("ccMainRanger1").addEventListener("input", eyeAble_ColorblindRangerChange); 1884 eyeAble_shadowRoot.getElementById("ccMainRanger2").addEventListener("input", eyeAble_ColorblindRangerChange); 1885 eyeAble_shadowRoot.getElementById("ccMainRanger3").addEventListener("input", 1886 eyeAble_ColorblindRangerChange); 1887 eyeAble_shadowRoot.getElementById("ccMainRanger4").addEventListener("input", eyeAble_ColorblindRangerChange); 1888 eyeAble_shadowRoot.getElementById("ccMainRanger5").addEventListener("input", eyeAble_ColorblindRangerChange); 1889 eyeAble_shadowRoot.getElementById("ccMainRanger6").addEventListener("input", eyeAble_ColorblindRangerChange);
1890 eyeAble_allUnfocusOnMouseLeave(eyeAble_shadowRoot.getElementById("eyeAble_CCPageID")); 1891 b = eyeAble_shadowRoot.querySelectorAll(".eyeAbleCCminus"); 1892 for (var c = 1893 0; c < b.length; c++) b[c].addEventListener("click", eyeAble_CCminusListener); 1894 b = eyeAble_shadowRoot.querySelectorAll(".eyeAbleCCplus"); 1895 for (c = 0; c < b.length; c++) b[c].addEventListener("click", eyeAble_CCplusListener); 1896 switch (eyeAbleVariables.eyeAble_Color_Filter) { 1897 case "Protanomalie": 1898 eyeAble_shadowRoot.getElementById("eye_ProtIDRanger").classList.remove("eyeAble_collapsed"); 1899 eyeAble_shadowRoot.getElementById("eye_ProtID").classList.add("eyeAbleActive"); 1900 eyeAble_shadowRoot.getElementById("eye_ProtID").setAttribute("aria-expanded", 1901 "true"); 1902 break; 1903 case "Deuteranomalie": 1904 eyeAble_shadowRoot.getElementById("eye_DeuterIDRanger").classList.remove("eyeAble_collapsed"); 1905 eyeAble_shadowRoot.getElementById("eye_DeuterID").classList.add("eyeAbleActive"); 1906 eyeAble_shadowRoot.getElementById("eye_DeuterID").setAttribute("aria-expanded", "true"); 1907 break; 1908 case "Tritanomalie": 1909 eyeAble_shadowRoot.getElementById("eye_TritIDRanger").classList.remove("eyeAble_collapsed"); 1910 eyeAble_shadowRoot.getElementById("eye_TritID").classList.add("eyeAbleActive"); 1911 eyeAble_shadowRoot.getElementById("eye_TritID").setAttribute("aria-expanded", 1912 "true"); 1913 break; 1914 case "Graustufen": 1915 eyeAble_shadowRoot.getElementById("eye_greyIDRanger").classList.remove("eyeAble_collapsed"); 1916 eyeAble_shadowRoot.getElementById("eye_greyID").classList.add("eyeAbleActive"); 1917 eyeAble_shadowRoot.getElementById("ye_greyID").setAttribute("aria-expanded", "true"); 1918 break; 1919 case "Kontrast": 1920 eyeAble_shadowRoot.getElementById("eye_contrastIDRanger").classList.remove("eyeAble_collapsed"); 1921 eyeAble_shadowRoot.getElementById("eye_contrastID").classList.add("eyeAbleActive"); 1922 eyeAble_shadowRoot.getElementById("eye_contrastID").setAttribute("aria-expanded", 1923 "true"); 1924 break; 1925 case "S\u00e4ttigung": 1926 eyeAble_shadowRoot.getElementById("eye_saturationIDRanger").classList.remove("eyeAble_collapsed"), eyeAble_shadowRoot.getElementById("eye_saturationID").classList.add("eyeAbleActive"), eyeAble_shadowRoot.getElementById("eye_saturationID").setAttribute("aria-expanded", "true") 1927 } 1928 eyeAble_refreshCCranger() 1929} 1930 1931function eyeAble_toggleCCpage() { 1932 eyeAble_closeAllOtherPages("eyeAble_CCPageID"); 1933 eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") ? "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_CCPageID")).display ? (eyeAble_closeCCpage(), eyeAble_showFeedbackNotification(eyeAble_getMessage("ccClosed"), "ALT + 3")) : (eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").style.setProperty("display", "block"), eyeAble_showCCTabElements(), eyeAble_shadowRoot.getElementById("ccTopbarXID").focus(), fastdomEA.mutate(function () { 1934 eyeAble_shadowRoot.getElementById("colorblindID").classList.add("eyeAbleActive") 1935 }), 1936 eyeAble_shadowRoot.getElementById("colorblindID").setAttribute("aria-pressed", "true"), setTimeout(function () { 1937 eyeAble_removeTooltip() 1938 }, 100), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("ccOpened"), "ALT + 3")) : (eyeAble_createCcPage(), setTimeout(function () { 1939 eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").style.setProperty("display", "block"); 1940 eyeAble_shadowRoot.getElementById("ccTopbarXID").focus() 1941 }, 200), eyeAble_showCCTabElements(), fastdomEA.mutate(function () { 1942 eyeAble_shadowRoot.getElementById("colorblindID").classList.add("eyeAbleActive") 1943 }), 1944 eyeAble_shadowRoot.getElementById("colorblindID").setAttribute("aria-pressed", "true"), eyeAble_removeTooltip(), setTimeout(function () { 1945 eyeAble_removeTooltip() 1946 }, 100), eyeAble_showFeedbackNotification(eyeAble_getMessage("ccOpened"), "ALT + 3")) 1947} 1948 1949function eyeAble_closeCCpage() { 1950 eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && (eyeAble_session_parameters.isMobile && (eyeAble_stopRetract = !0), eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").style.setProperty("display", "none"), eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("colorblindID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(), eyeAble_hideClickableElements("eyeAble_CCPageID"), "Deaktiviert" === eyeAbleVariables.eyeAble_Color_Filter && eyeAble_hideClickableElements("colorCorrectionControllerID"), 1951 eyeAble_shadowRoot.getElementById("colorblindID") && eyeAble_shadowRoot.getElementById("colorblindID").classList.contains("eyeAbleActive") && "Deaktiviert" === eyeAbleVariables.eyeAble_Color_Filter && (eyeAble_shadowRoot.getElementById("colorblindID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("colorblindID").setAttribute("aria-pressed", "false"))) 1952} 1953 1954function eyeAble_CCSettingsListener(a) { 1955 var b; 1956 a.target.id.includes("eye") ? b = a.target.id : a.target.parentNode.id.includes("eye") ? b = a.target.parentNode.id : a.target.parentNode.parentNode.id.includes("eye") ? b = a.target.parentNode.parentNode.id : console.log("Cant identify Source!"); 1957 eyeAble_CCPageHideAllRangers(); 1958 eyeAble_resetCCactiveColors(); 1959 switch (b) { 1960 case "eye_ProtID": 1961 "Protanomalie" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("Protanomalie"), fastdomEA.mutate(function () { 1962 eyeAble_shadowRoot.getElementById(b + 1963 "Ranger").classList.remove("eyeAble_collapsed"); 1964 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", "false"); 1965 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 1966 })) : eyeAble_resetColorCorrection(); 1967 break; 1968 case "eye_DeuterID": 1969 "Deuteranomalie" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("Deuteranomalie"), fastdomEA.mutate(function () { 1970 eyeAble_shadowRoot.getElementById(b + "Ranger").classList.remove("eyeAble_collapsed"); 1971 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", 1972 "false"); 1973 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 1974 })) : eyeAble_resetColorCorrection(); 1975 break; 1976 case "eye_TritID": 1977 "Tritanomalie" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("Tritanomalie"), fastdomEA.mutate(function () { 1978 eyeAble_shadowRoot.getElementById(b + "Ranger").classList.remove("eyeAble_collapsed"); 1979 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", "false"); 1980 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 1981 })) : eyeAble_resetColorCorrection(); 1982 break; 1983 case "eye_greyID": 1984 "Graustufen" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("Graustufen"), fastdomEA.mutate(function () { 1985 eyeAble_shadowRoot.getElementById(b + "Ranger").classList.remove("eyeAble_collapsed"); 1986 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", "false"); 1987 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 1988 })) : eyeAble_resetColorCorrection(); 1989 break; 1990 case "eye_contrastID": 1991 "Kontrast" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("Kontrast"), 1992 fastdomEA.mutate(function () { 1993 eyeAble_shadowRoot.getElementById(b + "Ranger").classList.remove("eyeAble_collapsed"); 1994 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", "false"); 1995 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 1996 })) : eyeAble_resetColorCorrection(); 1997 break; 1998 case "eye_saturationID": 1999 "S\u00e4ttigung" !== eyeAbleVariables.eyeAble_Color_Filter ? (eyeAble_applyCVD("S\u00e4ttigung"), fastdomEA.mutate(function () { 2000 eyeAble_shadowRoot.getElementById(b + "Ranger").classList.remove("eyeAble_collapsed"); 2001 eyeAble_shadowRoot.getElementById(b + "Ranger").setAttribute("aria-hidden", "false"); 2002 eyeAble_shadowRoot.getElementById(b).classList.add("eyeAbleActive") 2003 })) : eyeAble_resetColorCorrection() 2004 } 2005 "Deaktiviert" !== eyeAbleVariables.eyeAble_Color_Filter && (eyeAble_showClickableElements("colorCorrectionControllerID"), eyeAble_shadowRoot.getElementById(b).setAttribute("aria-expanded", "true")); 2006 eyeAble_dispatchEvent("CVD_Filter_Enabled") 2007} 2008 2009function eyeAble_CCPageHideAllRangers() { 2010 eyeAble_shadowRoot.getElementById("eye_ProtIDRanger").classList.add("eyeAble_collapsed"); 2011 eyeAble_shadowRoot.getElementById("eye_DeuterIDRanger").classList.add("eyeAble_collapsed"); 2012 eyeAble_shadowRoot.getElementById("eye_TritIDRanger").classList.add("eyeAble_collapsed"); 2013 eyeAble_shadowRoot.getElementById("eye_greyIDRanger").classList.add("eyeAble_collapsed"); 2014 eyeAble_shadowRoot.getElementById("eye_contrastIDRanger").classList.add("eyeAble_collapsed"); 2015 eyeAble_shadowRoot.getElementById("eye_saturationIDRanger").classList.add("eyeAble_collapsed") 2016} 2017 2018function eyeAble_CVDpickerChange() { 2019 eyeAble_applyCVD("Protanomalie"); 2020 eyeAble_createCcPage() 2021} 2022 2023function eyeAble_applyCVD(a) { 2024 if (!eyeAble_colorCorrEnabled) return !1; 2025 switch (a) { 2026 case "Deaktiviert": 2027 eyeAble_resetColorCorrection(); 2028 break; 2029 case "Protanomalie": 2030 eyeAble_daltonizePage("Protanomalie"); 2031 fastdomEA.mutate(function () { 2032 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.cc1Path 2033 }); 2034 break; 2035 case "Deuteranomalie": 2036 eyeAble_daltonizePage("Deuteranomalie"); 2037 fastdomEA.mutate(function () { 2038 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.cc2Path 2039 }); 2040 break; 2041 case "Tritanomalie": 2042 eyeAble_daltonizePage("Tritanomalie"); 2043 fastdomEA.mutate(function () { 2044 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.cc3Path 2045 }); 2046 break; 2047 case "Graustufen": 2048 eyeAble_daltonizePage("Graustufen"); 2049 fastdomEA.mutate(function () { 2050 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.cc4Path 2051 }); 2052 break; 2053 case "Kontrast": 2054 eyeAble_daltonizePage("Kontrast"); 2055 fastdomEA.mutate(function () { 2056 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = 2057 eyeAble_imagePaths.cc5Path 2058 }); 2059 break; 2060 case "S\u00e4ttigung": 2061 eyeAble_daltonizePage("S\u00e4ttigung"), fastdomEA.mutate(function () { 2062 eyeAble_shadowRoot.getElementById("colorblindMainImageID").src = eyeAble_imagePaths.cc6Path 2063 }) 2064 } 2065 eyeAble_refreshCCranger(); 2066 eyeAble_setVar("eyeAble_Color_Filter", a, 1); 2067 eyeAble_showCCTabElements(); 2068 "Deaktiviert" !== eyeAbleVariables.eyeAble_Color_Filter && eyeAble_showClickableElements("colorCorrectionControllerID"); 2069 eyeAble_shadowRoot.getElementById("colorblindID").setAttribute("aria-pressed", 2070 "true") 2071} 2072 2073function eyeAble_daltonizePage(a) { 2074 "True" === eyeAble_settings.highPowerMode && fastdomEA.mutate(function () { 2075 if ("Graustufen" === a) { 2076 var b = document.getElementById("eyeAble_CVDfilter"); 2077 b && b.parentNode.removeChild(b); 2078 eyeAble_htmlFilterRule.style.setProperty("-webkit-filter", "grayscale(" + (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString() + "%)"); 2079 eyeAble_htmlFilterRule.style.setProperty("-moz-filter", "grayscale(" + (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString() + "%)"); 2080 eyeAble_htmlFilterRule.style.setProperty("-ms-filter", "grayscale(" + 2081 (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString() + "%)"); 2082 eyeAble_htmlFilterRule.style.setProperty("-o-filter", "grayscale(" + (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString() + "%)"); 2083 eyeAble_htmlFilterRule.style.setProperty("-filter", "grayscale(" + (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString() + "%)") 2084 } else "Kontrast" === a ? ((b = document.getElementById("eyeAble_CVDfilter")) && b.parentNode.removeChild(b), eyeAble_htmlFilterRule.style.setProperty("-webkit-filter", "contrast(" + 2085 (1 + parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-moz-filter", "contrast(" + (1 + parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-ms-filter", "contrast(" + (1 + parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-o-filter", "contrast(" + (1 + parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-filter", 2086 "contrast(" + (1 + parseFloat(eyeAbleVariables.Color_Filter_Level)).toString())) : "S\u00e4ttigung" === a ? ((b = document.getElementById("eyeAble_CVDfilter")) && b.parentNode.removeChild(b), eyeAble_htmlFilterRule.style.setProperty("-webkit-filter", "saturate(" + (1 + 2 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-moz-filter", "saturate(" + (1 + 2 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-ms-filter", "saturate(" + 2087 (1 + 2 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-o-filter", "saturate(" + (1 + 2 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString()), eyeAble_htmlFilterRule.style.setProperty("-filter", "saturate(" + (1 + 2 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString())) : (eyeAble_createCVDsvgFilter(a, 100 * parseFloat(eyeAbleVariables.Color_Filter_Level)), eyeAble_htmlFilterRule.style.setProperty("-webkit-filter", "url(#f2)"), eyeAble_htmlFilterRule.style.setProperty("-moz-filter", 2088 "url(#f2)"), eyeAble_htmlFilterRule.style.setProperty("-ms-filter", "url(#f2)"), eyeAble_htmlFilterRule.style.setProperty("-o-filter", "url(#f2)"), eyeAble_htmlFilterRule.style.setProperty("-filter", "url(#f2)")); 2089 eyeAble_shadowRoot.getElementById("colorCorrectionControllerID").classList.remove("eyeAble_collapsed"); 2090 eyeAble_shadowRoot.getElementById("colorblindRanger").value = (100 * parseFloat(eyeAbleVariables.Color_Filter_Level)).toString(); 2091 eyeAble_shadowRoot.getElementById("colorblindID").classList.add("eyeAbleActive"); 2092 eyeAble_shadowRoot.getElementById("ColorCorrMoreID") && (eyeAble_shadowRoot.getElementById("ColorCorrMoreID").classList.add("eyeAbleActive"), eyeAble_shadowRoot.getElementById("ColorCorrMoreID").setAttribute("aria-pressed", "true")) 2093 }) 2094} 2095 2096function eyeAble_createCVDsvgFilter(a, b) { 2097 var c = document.getElementById("eyeAble_CVDfilter"); 2098 c && c.parentNode.removeChild(c); 2099 var d = { 2100 Protanomalie: [[[1, 0, 0], [0, 1, 0], [0, 0, 1]], [[.856167, .182038, -.038205], [.029342, .955115, .015544], [-.00288, -.001563, 1.004443]], [[.734766, .334872, -.069637], [.05184, .919198, .028963], [-.004928, -.004209, 1.009137]], [[.630323, .465641, -.095964], [.069181, .890046, .040773], [-.006308, -.00
21007724, 1.014032]], [[.539009, .579343, -.118352], [.082546, .866121, .051332], [-.007136, -.011959, 1.019095]], 2101 [[.458064, .679578, -.137642], [.092785, .846313, .060902], [-.007494, -.016807, 1.024301]], [[.38545, .769005, -.154455], [.100526, .829802, .069673], [-.007442, -.02219, 1.029632]], [[.319627, .849633, -.169261], [.106241, .815969, .07779], [-.007025, -.028051, 1.035076]], [[.259411, .923008, -.18242], [.110296, .80434, .085364], [-.006276, -.034346, 1.040622]], [[.203876, .990338, -.194214], [.112975, .794542, .092483], [-.005222, -.041043, 1.046265]], [[.152286, 1.052583, -.204868], [.114503, .786281, .099216], [-.003882, -.048116, 1.051998]]], 2102 Deuteranomalie: [[[1, 0, 0], [0, 1, 0], [0, 0, 1]], [[.866435, .177704, -.044139], [.049567, .939063, .01137], [-.003453, .007233, .99622]], [[.760729, .319078, -.079807], [.090568, .889315, .020117], [-.006027, .013325, .992702]], [[.675425, .43385, -.109275], [.125303, .847755, .026942], [-.00795, .018572, .989378]], [[.605511, .52856, -.134071], [.155318, .812366, .032316], [-.009376, .023176, .9862]], [[.547494, .607765, -.155259], [.181692, .781742, .036566], [-.01041, .027275, .983136]], [[.498864, .674741, -.173604], [.205199, .754872, .039929], [-.011131, 2103 .030969, .980162]], [[.457771, .731899, -.18967], [.226409, .731012, .042579], [-.011595, .034333, .977261]], [[.422823, .781057, -.203881], [.245752, .709602, .044646], [-.011843, .037423, .974421]], [[.392952, .82361, -.216562], [.263559, .69021, .046232], [-.01191, .040281, .97163]], [[.367322, .860646, -.227968], [.280085, .672501, .047413], [-.01182, .04294, .968881]]], 2104 Tritanomalie: [[[1, 0, 0], [0, 1, 0], [0, 0, 1]], [[.92667, .092514, -.019184], [.021191, .964503, .014306], [.008437, .054813, .93675]], [[.89572, .13333, -.02905], [.029997, .9454, .024603], 2105 [.013027, .104707, .882266]], [[.905871, .127791, -.033662], [.026856, .941251, .031893], [.01341, .148296, .838294]], [[.948035, .08949, -.037526], [.014364, .946792, .038844], [.010853, .193991, .795156]], [[1.017277, .027029, -.044306], [-.006113, .958479, .047634], [.006379, .248708, .744913]], [[1.104996, -.046633, -.058363], [-.032137, .971635, .060503], [.001336, .317922, .680742]], [[1.193214, -.109812, -.083402], [-.058496, .97941, .079086], [-.002346, .403492, .598854]], [[1.257728, -.139648, -.118081], [-.078003, .975409, .102594], [-.003316, 2106 .501214, .502102]], [[1.278864, -.125333, -.153531], [-.084748, .957674, .127074], [-9.89E-4, .601151, .399838]], [[1.255528, -.076749, -.178779], [-.078411, .930809, .147602], [.004733, .691367, .3039]]] 2107 }; 2108 c = document.createElementNS("http://www.w3.org/2000/svg", "svg"); 2109 c.setAttribute("id", "eyeAble_CVDfilter"); 2110 var e = document.createElementNS("http://www.w3.org/2000/svg", "filter"); 2111 e.setAttribute("id", "f2"); 2112 e.setAttribute("color-interpolation", "linearRGB"); 2113 0 === navigator.userAgent.indexOf("Firefox") && (e.setAttribute("x", 2114 "0"), e.setAttribute("y", "0"), e.setAttribute("width", "99999"), e.setAttribute("height", "99999")); 2115 var f = Math.floor(b / 10), h = b / 10 - f; 2116 if (0 >= b) h = d[a][0]; else if (100 <= b) h = d[a][10]; else if (0 < h) { 2117 b = d[a][f]; 2118 var g = d[a][f + 1], l = []; 2119 for (d = 0; d < b.length; d++) for (l[d] = [], f = 0; f < b[d].length; f++) l[d][f] = (g[d][f] - b[d][f]) * h + b[d][f]; 2120 h = l 2121 } else h = d[a][f]; 2122 a = { 2123 Protanomalie: [[0, 0, 0], [.7, 1, 0], [.7, 0, 1]], 2124 Deuteranomalie: [[1, .7, 0], [0, 0, 0], [0, .7, 1]], 2125 Tritanomalie: [[1, 0, .7], [0, 1, .7], [0, 0, 0]] 2126 }[a]; 2127 a = function (m, q) { 2128 for (var n = [], r = 0; r < q[0].length; r++) { 2129 n[r] = 2130 []; 2131 for (var v = 0; v < m[r].length; v++) n[r][v] = m[r][v] + q[r][v] 2132 } 2133 return n 2134 }([[1, 0, 0], [0, 1, 0], [0, 0, 1]], function (m, q) { 2135 for (var n = [], r = 0; r < q[0].length; r++) { 2136 n[r] = []; 2137 for (var v = 0; v < m[r].length; v++) n[r][v] = m[r][v] - q[r][v] 2138 } 2139 return n 2140 }(a, function (m, q) { 2141 for (var n = [], r = 0; r < q[0].length; r++) { 2142 n[r] = []; 2143 for (var v = 0; v < m[r].length; v++) for (var A = n[r][v] = 0; A < m[r].length; A++) n[r][v] += m[r][A] * q[A][v] 2144 } 2145 return n 2146 }(a, h))); 2147 h = document.createElementNS("http://www.w3.org/2000/svg", "feColorMatrix"); 2148 h.setAttribute("type", "matrix"); 2149 h.setAttribute("values", 2150 function (m) { 2151 for (var q = "", n = 0; n < m.length; n++) { 2152 for (var r = 0; r < m[n].length; r++) q = q + m[n][r].toString() + " "; 2153 q += "0 0 " 2154 } 2155 return q + "0 0 0 1 0" 2156 }(a)); 2157 e.appendChild(h); 2158 c.appendChild(e); 2159 document.body.appendChild(c) 2160} 2161 2162function eyeAble_ColorblindRangerChange(a) { 2163 eyeAble_setVar("Color_Filter_Level", (parseFloat(a.target.value) / 100).toString()); 2164 eyeAble_refreshCCranger(a.target.value); 2165 eyeAble_applyCVD(eyeAbleVariables.eyeAble_Color_Filter) 2166} 2167 2168function eyeAble_refreshCCranger() { 2169 var a = parseFloat(eyeAbleVariables.Color_Filter_Level), b = (100 * a).toFixed(0), c = (100 * a - 4 * a).toFixed(0); 2170 fastdomEA.mutate(function () { 2171 eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && (eyeAble_shadowRoot.getElementById("ccMainRanger1").value = b, eyeAble_shadowRoot.getElementById("ccMainRanger2").value = b, eyeAble_shadowRoot.getElementById("ccMainRanger3").value = b, eyeAble_shadowRoot.getElementById("ccMainRanger4").value = b, eyeAble_shadowRoot.getElementById("ccMainRanger5").value = 2172 b, eyeAble_shadowRoot.getElementById("ccMainRanger6").value = b, eyeAble_shadowRoot.getElementById("ccRngrDisp1").textContent = b + "%", eyeAble_shadowRoot.getElementById("ccRngrDisp2").textContent = b + "%", eyeAble_shadowRoot.getElementById("ccRngrDisp3").textContent = b + "%", eyeAble_shadowRoot.getElementById("ccRngrDisp4").textContent = b + "%", eyeAble_shadowRoot.getElementById("ccRngrDisp5").textContent = b + "%", eyeAble_shadowRoot.getElementById("ccRngrDisp6").textContent = b + "%", eyeAble_shadowRoot.getElementById("rngBG1").style.width = 2173 c + "%", eyeAble_shadowRoot.getElementById("rngBG2").style.width = c + "%", eyeAble_shadowRoot.getElementById("rngBG3").style.width = c + "%", eyeAble_shadowRoot.getElementById("rngBG4").style.width = c + "%", eyeAble_shadowRoot.getElementById("rngBG5").style.width = c + "%", eyeAble_shadowRoot.getElementById("rngBG6").style.width = c + "%"); 2174 eyeAble_shadowRoot.getElementById("colorblindRanger").value = b; 2175 eyeAble_shadowRoot.getElementById("ColorCorrection_ranger_value").textContent = b + "%"; 2176 eyeAble_shadowRoot.getElementById("rngBG0").style.width = 2177 c + "%" 2178 }) 2179} 2180 2181function eyeAble_CCplusListener() { 2182 var a = parseFloat(eyeAbleVariables.Color_Filter_Level) + .05; 2183 1 < a && (a = 1); 2184 eyeAble_setVar("Color_Filter_Level", a.toString()); 2185 eyeAble_refreshCCranger(); 2186 eyeAble_applyCVD(eyeAbleVariables.eyeAble_Color_Filter) 2187} 2188 2189function eyeAble_CCminusListener() { 2190 var a = parseFloat(eyeAbleVariables.Color_Filter_Level) - .05; 2191 0 > a && (a = 0); 2192 eyeAble_setVar("Color_Filter_Level", a.toString()); 2193 eyeAble_refreshCCranger(); 2194 eyeAble_applyCVD(eyeAbleVariables.eyeAble_Color_Filter) 2195} 2196 2197function eyeAble_showCCTabElements() { 2198 eyeAble_showClickableElements("eyeAble_CCPageID"); 2199 eyeAble_hideClickableElements("eye_ProtIDRanger"); 2200 eyeAble_hideClickableElements("eye_DeuterIDRanger"); 2201 eyeAble_hideClickableElements("eye_TritIDRanger"); 2202 eyeAble_hideClickableElements("eye_greyIDRanger"); 2203 eyeAble_hideClickableElements("eye_contrastIDRanger"); 2204 eyeAble_hideClickableElements("eye_saturationIDRanger"); 2205 switch (eyeAble_getVar("eyeAble_Color_Filter")) { 2206 case "Protanomalie": 2207 eyeAble_showClickableElements("eye_ProtIDRanger"); 2208 break; 2209 case "Deuteranomalie": 2210 eyeAble_showClickableElements("eye_DeuterIDRanger"); 2211 break; 2212 case "Tritanomalie": 2213 eyeAble_showClickableElements("eye_TritIDRanger"); 2214 break; 2215 case "Graustufen": 2216 eyeAble_showClickableElements("eye_greyIDRanger"); 2217 break; 2218 case "Kontrast": 2219 eyeAble_showClickableElements("eye_contrastIDRanger"); 2220 break; 2221 case "S\u00e4ttigung": 2222 eyeAble_showClickableElements("eye_saturationIDRanger") 2223 } 2224};var eyeAble_intersectionRootMargin = "800px"; 2225 2226function eyeAble_rgb2hsv(a, b, c) { 2227 var d = Math.max(a, b, c), e = d - Math.min(a, b, c); 2228 a = e && (d == a ? (b - c) / e : d == b ? 2 + (c - a) / e : 4 + (a - b) / e); 2229 return [60 * (0 > a ? a + 6 : a), d && e / d, d] 2230} 2231 2232function eyeAble_hsv2rgb(a, b, c) { 2233 var d = function (e, f) { 2234 f = void 0 === f ? (e + a / 60) % 6 : f; 2235 return c - c * b * Math.max(Math.min(f, 4 - f, 1), 0) 2236 }; 2237 return [d(5), d(3), d(1)] 2238} 2239 2240var eyeAble_textColorStylesheet, eyeAble_textIDColorStylesheet, eyeAble_availTextColorRules = []; 2241 2242function eyeAble_createEmptyStylesheet(a) { 2243 a = void 0 === a ? !1 : a; 2244 var b = document.createElement("style"); 2245 b.appendChild(document.createTextNode("")); 2246 a ? eyeAble_shadowRoot.appendChild(b) : document.head.appendChild(b); 2247 return b.sheet 2248} 2249 2250function eyeAble_isInShadow(a) { 2251 return a.getRootNode() instanceof ShadowRoot 2252} 2253 2254var eyeAble_forceInlineColor = !1; 2255String.prototype.replaceAllTxt = function (a, b) { 2256 return this.split(a).join(b) 2257}; 2258 2259function eyeAble_setTextColorStylesheet(a, b, c) { 2260 c = void 0 === c ? !1 : c; 2261 if (eyeAble_forceInlineColor || eyeAble_isInShadow(a) || a.ownerDocument !== document) ("Darkmode" !== eyeAble_getVar("Color_Mode") || eyeAble_forceInlineColor) && fastdomEA.mutate(function () { 2262 a.style.setProperty("color", b, "important"); 2263 a.classList.add("eATcInline") 2264 }); else { 2265 if (a.className && "undefined" !== typeof a.className.split) for (var d = a.className.split(" "), e = 0; e < d.length; e++) d[e].includes("eATc") && a.classList.remove(d[e]); 2266 var f = b.replaceAllTxt("(", 2267 ""); 2268 f = f.replaceAllTxt(")", ""); 2269 f = f.replaceAllTxt(",", ""); 2270 f = f.replaceAllTxt(".", ""); 2271 f = f.replaceAllTxt(" ", ""); 2272 if (c) { 2273 f = "eATc" + f; 2274 if (a.id) f = a.id.replaceAllTxt("_", "").replaceAllTxt("/", "").replaceAllTxt(":", ""); else if (document.getElementById(f)) for (c = f, d = 1; document.getElementById(f);) f = c + d.toString(), d += 1; else a.id = f; 2275 eyeAble_textIDColorStylesheet.disabled && (eyeAble_textIDColorStylesheet.disabled = !1); 2276 a.setAttribute("id", f); 2277 fastdomEA.mutate(function () { 2278 eyeAble_addCSSRule(eyeAble_textIDColorStylesheet, "#" + 2279 f, "color : " + b + " !important; text-shadow: none !important;opacity :1;") 2280 }) 2281 } else fastdomEA.mutate(function () { 2282 eyeAble_availTextColorRules.includes(b) || (eyeAble_addCSSRule(eyeAble_textColorStylesheet, ".eATc" + f, "color : " + b + " !important; text-shadow: none !important;opacity :1 !important;"), eyeAble_availTextColorRules.push(b)); 2283 a.classList.add("eATc" + f) 2284 }); 2285 fastdomEA.mutate(function () { 2286 setTimeout(function () { 2287 "0" !== eyeAbleVariables.Color_Mode && fastdomEA.measure(function () { 2288 getComputedStyle(a).color !== b && fastdomEA.mutate(function () { 2289 a.style.setProperty("color", 2290 b, "important"); 2291 a.classList.add("eATcInline") 2292 }) 2293 }) 2294 }, 1E3) 2295 }) 2296 } 2297} 2298 2299function eyeAble_convertColor(a) { 2300 if (a) { 2301 if ("transparent" === a.toLowerCase()) return [0, 0, 0, 0]; 2302 if ("#" === a[0]) return 7 > a.length && (a = "#" + a[1] + a[1] + a[2] + a[2] + a[3] + a[3] + (4 < a.length ? a[4] + a[4] : "")), [parseInt(a.substr(1, 2), 16), parseInt(a.substr(3, 2), 16), parseInt(a.substr(5, 2), 16), 7 < a.length ? parseInt(a.substr(7, 2), 16) / 25
23025 : 1]; 2303 if (-1 !== a.indexOf("rgb") && 0 === a.indexOf("rgb")) return -1 === a.indexOf("rgba") && (a += ",1"), a.match(/[\.\d]+/g).map(function (b) { 2304 return +b 2305 }) 2306 } 2307} 2308 2309function eyeAble_checkColorContrast(a, b) { 2310 function c(d, e, f) { 2311 d = [d, e, f].map(function (h) { 2312 h /= 255; 2313 return .03928 >= h ? h / 12.92 : Math.pow((h + .055) / 1.055, 2.4) 2314 }); 2315 return .2126 * d[0] + .7152 * d[1] + .0722 * d[2] 2316 } 2317 2318 return function (d, e) { 2319 d = c(d[0], d[1], d[2]); 2320 e = c(e[0], e[1], e[2]); 2321 return (Math.max(d, e) + .05) / (Math.min(d, e) + .05) 2322 }(a, b) 2323} 2324 2325var eyeAble_pseudoId = 0; 2326 2327function eyeAble_checkPseudoElements(a, b, c) { 2328 function d(g) { 2329 var l = ""; 2330 "none" !== g.content && '""' !== g.content && (l += "color : " + b + " !important;"); 2331 if ("rgba(0, 0, 0, 0)" !== g.backgroundColor) { 2332 var m = eyeAble_convertColor(g.backgroundColor); 2333 m && .5 < m[3] && (l += "background : " + c + " !important;") 2334 } 2335 g.border.includes("0px none") || (l += " border-color : " + b + " !important;"); 2336 return l 2337 } 2338 2339 function e(g, l, m) { 2340 fastdomEA.mutate(function () { 2341 if (g.id) var q = g.id.replaceAllTxt("_", "").replaceAllTxt("/", "").replaceAllTxt(":", ""); else q = "eATcPseu" + 2342 eyeAble_pseudoId.toFixed(0), g.setAttribute("id", q), eyeAble_pseudoId++; 2343 eyeAble_textIDColorStylesheet.disabled && (eyeAble_textIDColorStylesheet.disabled = !1); 2344 eyeAble_addCSSRule(eyeAble_textIDColorStylesheet, "#" + q + l, m) 2345 }) 2346 } 2347 2348 var f = getComputedStyle(a, ":before"), h = getComputedStyle(a, ":after"); 2349 f = d(f); 2350 h = d(h); 2351 "" !== f && e(a, ":before", f); 2352 "" !== h && e(a, ":after", h) 2353} 2354 2355function eyeAble_getBrightness(a) { 2356 return Math.sqrt(.299 * Math.pow(a[0], 2) + .587 * Math.pow(a[1], 2) + .114 * Math.pow(a[2], 2)) 2357} 2358 2359var eyeAble_LinkHighlightingStylesheet, eyeAble_enableLinkHighlighting = !0, eyeABle_linkHighlighActive = !1; 2360 2361function eyeAble_setLinkHighlighting(a) { 2362 eyeAble_enableLinkHighlighting && eyeAbleVariables.Outline_Links && "0" !== eyeAbleVariables.Color_Mode && (eyeAble_LinkHighlightingStylesheet ? eyeAble_resetLinkHighlighting() : eyeAble_LinkHighlightingStylesheet = function () { 2363 var b = document.createElement("style"); 2364 b.appendChild(document.createTextNode("")); 2365 document.head.appendChild(b); 2366 return b.sheet 2367 }(), 0 === eyeAble_LinkHighlightingStylesheet.cssRules.length && fastdomEA.mutate(function () { 2368 eyeAble_addCSSRule(eyeAble_LinkHighlightingStylesheet, 2369 "a:not(.eA_nH),button:not(.eA_nH)", "outline: " + a + " 2px dotted !important; outline-offset: 2px") 2370 })) 2371} 2372 2373function eyeAble_resetLinkHighlighting() { 2374 eyeAble_LinkHighlightingStylesheet && 0 < eyeAble_LinkHighlightingStylesheet.cssRules.length && eyeAble_LinkHighlightingStylesheet.deleteRule(0) 2375} 2376 2377var eyeAble_placeholderStylesheet; 2378 2379function eyeAble_setPlaceholderColor(a) { 2380 if (eyeAble_placeholderStylesheet) eyeAble_resetPlaceholderColor(); else { 2381 var b = document.createElement("style"); 2382 b.appendChild(document.createTextNode("")); 2383 document.head.appendChild(b); 2384 eyeAble_placeholderStylesheet = b.sheet 2385 } 2386 0 === eyeAble_placeholderStylesheet.cssRules.length && eyeAble_addCSSRule(eyeAble_placeholderStylesheet, "*::placeholder", "color : " + a + " !important;") 2387} 2388 2389function eyeAble_resetPlaceholderColor() { 2390 eyeAble_placeholderStylesheet && 0 < eyeAble_placeholderStylesheet.cssRules.length && eyeAble_placeholderStylesheet.deleteRule(0) 2391} 2392 2393var eyeAble_ScrollWidthStyle, eyeAble_ScrollTrackStyle, eyeAble_ScrollThumbStyle, eyeAble_ScrollCornerStyle; 2394 2395function eyeAble_changeScrollbarColor() { 2396 if ("0" === eyeAbleVariables.bluefilterSet && "0" === eyeAble_getVar("Color_Mode")) eyeAble_resetScrollbarColor(); else { 2397 if ("Darkmode" === eyeAble_getVar("Color_Mode")) { 2398 var a = "rgb(40,40,40)"; 2399 var b = "rgb(245,245,245)" 2400 } else "Contrast" === eyeAble_getVar("Color_Mode") && "0" !== eyeAble_getVar("iAble_Backgroun
2400d_Color") ? (a = eyeAble_getVar("iAble_Background_Color"), b = eyeAble_getVar("iAble_Text_Color")) : (a = "rgb(241,240,240)", b = "rgb(193,193,192)"); 2401 fastdomEA.measure(function () { 2402 if ("1" === 2403 eyeAbleVariables.bluefilterSet) { 2404 var c = document.getElementById("eyeAble-Bluefilter").style.background; 2405 c = eyeAble_convertColor(c); 2406 c[3] = parseFloat(eyeAble_getVar("blueFilterLevel")); 2407 var d = c[0] / 255 + (1 - c[0] / 255) * (1 - c[3]), e = c[1] / 255 + (1 - c[1] / 255) * (1 - c[3]); 2408 c = c[2] / 255 + (1 - c[2] / 255) * (1 - c[3]); 2409 var f = eyeAble_convertColor(a), h = Math.floor(f[0] * d).toString(), 2410 g = Math.floor(f[1] * e).toString(); 2411 f = Math.floor(f[2] * c).toString(); 2412 a = "rgb(" + h + "," + g + "," + f + ")"; 2413 f = eyeAble_convertColor(b); 2414 h = Math.floor(f[0] * d).toString(); 2415 g = Math.floor(f[1] * 2416 e).toString(); 2417 f = Math.floor(f[2] * c).toString(); 2418 b = "rgb(" + h + "," + g + "," + f + ")" 2419 } 2420 var l = window.innerWidth - document.documentElement.clientWidth; 2421 !l || 18 > l ? l = 18 : 20 < l && (l = 20); 2422 eyeAble_ScrollWidthStyle || (eyeAble_ScrollWidthStyle = function () { 2423 var n = document.createElement("style"); 2424 n.appendChild(document.createTextNode("")); 2425 document.head.appendChild(n); 2426 return n.sheet 2427 }()); 2428 0 < eyeAble_ScrollWidthStyle.rules.length && eyeAble_ScrollWidthStyle.deleteRule(0); 2429 fastdomEA.mutate(function () { 2430 eyeAble_addCSSRule(eyeAble_ScrollWidthStyle, 2431 "body::-webkit-scrollbar", "width: " + l.toString() + "px;") 2432 }); 2433 eyeAble_ScrollTrackStyle || (eyeAble_ScrollTrackStyle = function () { 2434 var n = document.createElement("style"); 2435 n.appendChild(document.createTextNode("")); 2436 document.head.appendChild(n); 2437 return n.sheet 2438 }()); 2439 var m = "*::-webkit-scrollbar-track"; 2440 "0" === eyeAbleVariables.Color_Mode && (m = "body::-webkit-scrollbar-track"); 2441 0 < eyeAble_ScrollTrackStyle.rules.length && eyeAble_ScrollTrackStyle.deleteRule(0); 2442 fastdomEA.mutate(function () { 2443 eyeAble_addCSSRule(eyeAble_ScrollTrackStyle, 2444 m, "background:" + a + " !important;") 2445 }); 2446 eyeAble_ScrollThumbStyle || (eyeAble_ScrollThumbStyle = function () { 2447 var n = document.createElement("style"); 2448 n.appendChild(document.createTextNode("")); 2449 document.head.appendChild(n); 2450 return n.sheet 2451 }()); 2452 var q = "*::-webkit-scrollbar-thumb"; 2453 "0" === eyeAbleVariables.Color_Mode && (q = "body::-webkit-scrollbar-thumb"); 2454 0 < eyeAble_ScrollThumbStyle.rules.length && eyeAble_ScrollThumbStyle.deleteRule(0); 2455 fastdomEA.mutate(function () { 2456 eyeAble_addCSSRule(eyeAble_ScrollThumbStyle, q, "background:" + 2457 b + " !important; border: 2px solid " + a + " !important; border-radius: 8px;") 2458 }); 2459 eyeAble_ScrollCornerStyle || (eyeAble_ScrollCornerStyle = function () { 2460 var n = document.createElement("style"); 2461 n.appendChild(document.createTextNode("")); 2462 document.head.appendChild(n); 2463 return n.sheet 2464 }()); 2465 0 < eyeAble_ScrollCornerStyle.rules.length && eyeAble_ScrollCornerStyle.deleteRule(0); 2466 fastdomEA.mutate(function () { 2467 eyeAble_addCSSRule(eyeAble_ScrollCornerStyle, "body::-webkit-scrollbar-corner", "background: " + a + ";") 2468 }) 2469 }) 2470 } 2471} 2472 2473function eyeAble_resetScrollbarColor() { 2474 eyeAble_ScrollWidthStyle && 0 !== eyeAble_ScrollWidthStyle.rules.length && eyeAble_ScrollWidthStyle.deleteRule(0); 2475 eyeAble_ScrollTrackStyle && 0 !== eyeAble_ScrollTrackStyle.rules.length && eyeAble_ScrollTrackStyle.deleteRule(0); 2476 eyeAble_ScrollThumbStyle && 0 !== eyeAble_ScrollThumbStyle.rules.length && eyeAble_ScrollThumbStyle.deleteRule(0); 2477 eyeAble_ScrollCornerStyle && 0 !== eyeAble_ScrollCornerStyle.rules.length && eyeAble_ScrollCornerStyle.deleteRule(0) 2478} 2479 2480var eyeAble_FocusHighlightingStylesheet; 2481 2482function eyeAble_setFocusHighlight(a) { 2483 if ("0" !== eyeAbleVariables.Color_Mode && "undefined" === typeof eyeAble_blockFocus) { 2484 if (eyeAble_FocusHighlightingStylesheet) eyeAble_resetLinkHighlighting(
2484); else { 2485 var b = document.createElement("style"); 2486 b.appendChild(document.createTextNode("")); 2487 document.head.appendChild(b); 2488 eyeAble_FocusHighlightingStylesheet = b.sheet 2489 } 2490 0 === eyeAble_FocusHighlightingStylesheet.cssRules.length && eyeAble_addCSSRule(eyeAble_FocusHighlightingStylesheet, "*:focus", "outline: " + a + " 6px solid !important; outline-offset: 2px;") 2491 } 2492} 2493 2494function eyeAble_resetFocusHighlighting() { 2495 eyeAble_FocusHighlightingStylesheet && 0 < eyeAble_FocusHighlightingStylesheet.cssRules.length && eyeAble_FocusHighlightingStylesheet.deleteRule(0) 2496} 2497 2498function eyeAble_openContrastBox() { 2499 if (!eyeAble_contrastEnabled || eyeAble_session_parameters.isMobile) return !1; 2500 eyeAble_shadowRoot.getElementById("eyeAble_zoomBoxContrast").classList.remove("eyeAble_collapsed"); 2501 eyeAble_showClickableElements("eyeAble_zoomBoxContrast") 2502} 2503 2504function eyeAble_closeContrastBox() { 2505 if (!eyeAble_contrastEnabled) return !1; 2506 eyeAble_shadowRoot.getElementById("eyeAble_zoomBoxContrast").classList.add("eyeAble_collapsed"); 2507 eyeAble_hideClickableElements("eyeAble_zoomBoxContrast") 2508};var eyeAble_PickrCSS = '/*! Pickr 1.8.0 MIT | https://github.com/Simonwep/pickr */.pickr{position:relative;overflow:visible;transform:translateY(0)}.pickr *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pickr .pcr-button{position:relative;height:2em;width:2em;padding:.5em;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;border-radius:.15em;background:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>\') no-repeat 50%;background-size:0;transition:all .3s}.pickr .pcr-button:before{background:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>\');background-size:.5em;z-index:-1;z-index:auto}.pickr .pcr-button:after,.pickr .pcr-button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;border-radius:.15em}.pickr .pcr-button:after{transition:background .3s;background:currentColor}.pickr .pcr-button.clear{background-size:70%}.pickr .pcr-button.clear:before{opacity:0}.pickr .pcr-button.clear:focus{box-shadow:0 0 0 1px hsla(0,0%,100%,.85),0 0 0 3px currentColor}.pickr .pcr-button.disabled{cursor:not-allowed}.pcr-app *,.pickr *{box-sizing:border-box;outline:none;border:none;-webkit-appearance:none}.pcr-app button.pcr-active,.pcr-app button:focus,.pcr-app input.pcr-active,.pcr-app input:focus,.pickr button.pcr-active,.pickr button:focus,.pickr input.pcr-active,.pickr input:focus{box-shadow:0 0 0 1px hsla(0,0%,100%,.85),0 0 0 3px currentColor}.pcr-app .pcr-palette,.pcr-app .pcr-slider,.pickr .pcr-palette,.pickr .pcr-slider{transition:box-shadow .3s}.pcr-app .pcr-palette:focus,.pcr-app .pcr-slider:focus,.pickr .pcr-palette:focus,.pickr .pcr-slider:focus{box-shadow:0 0 0 1px hsla(0,0%,100%,.85),0 0 0 3px rgba(0,0,0,.25)}.pcr-app{position:fixed;display:flex;flex-direction:column;z-index:10000;border-radius:.1em;background:#fff;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;box-shadow:0 .15em 1.5em 0 rgba(0,0,0,.1),0 0 1em 0 rgba(0,0,0,.03);left:0;top:0}.pcr-app.visible{transition:opacity .3s;visibility:visible;opacity:1}.pcr-app .pcr-swatches{display:flex;flex-wrap:wrap;margin-top:.75em}.pcr-app .pcr-swatches.pcr-last{margin:0}@supports (display:grid){.pcr-app .pcr-swatches{display:grid;align-items:center;grid-template-columns:repeat(auto-fit,1.75em)}}.pcr-app .pcr-swatches>button{font-size:1em;position:relative;width:calc(1.75em - 5px);height:calc(1.75em - 5px);border-radius:.15em;cursor:pointer;margin:2.5px;flex-shrink:0;justify-self:center;transition:all .15s;overflow:hidden;background:transparent;z-index:1}.pcr-app .pcr-swatches>button:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>\');background-size:6px;border-radius:.15em;z-index:-1}.pcr-app .pcr-swatches>button:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;border:1px solid rgba(0,0,0,.05);border-radius:.15em;box-sizing:border-box}.pcr-app .pcr-swatches>button:hover{filter:brightness(1.05)}.pcr-app .pcr-swatches>button:not(.pcr-active){box-shadow:none}
2508.pcr-app .pcr-interaction{display:flex;flex-wrap:wrap;align-items:center;margin:0 -.2em}.pcr-app .pcr-interaction>*{margin:0 .2em}.pcr-app .pcr-interaction input{letter-spacing:.07em;font-size:.75em;text-align:center;cursor:pointer;color:#75797e;background:#f1f3f4;border-radius:.15em;transition:all .15s;padding:.45em .5em;margin-top:.75em}.pcr-app .pcr-interaction input:hover{filter:brightness(.975)}.pcr-app .pcr-interaction input:focus{box-shadow:0 0 0 1px hsla(0,0%,100%,.85),0 0 0 3px rgba(66,133,244,.75)}.pcr-app .pcr-interaction .pcr-result{color:#75797e;text-align:left;flex:1 1 8em;min-width:8em;transition:all .2s;border-radius:.15em;background:#f1f3f4;cursor:text}.pcr-app .pcr-interaction .pcr-result::-moz-selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-result::selection{background:#4285f4;color:#fff}.pcr-app .pcr-interaction .pcr-type.active{color:#fff;background:#4285f4}.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear,.pcr-app .pcr-interaction .pcr-save{width:auto;color:#fff}.pcr-app .pcr-interaction .pcr-cancel:hover,.pcr-app .pcr-interaction .pcr-clear:hover,.pcr-app .pcr-interaction .pcr-save:hover{filter:brightness(.925)}.pcr-app .pcr-interaction .pcr-save{background:#4285f4}.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{background:#f44250}.pcr-app .pcr-interaction .pcr-cancel:focus,.pcr-app .pcr-interaction .pcr-clear:focus{box-shadow:0 0 0 1px hsla(0,0%,100%,.85),0 0 0 3px rgba(244,66,80,.75)}.pcr-app .pcr-selection .pcr-picker{position:absolute;height:18px;width:18px;border:2px solid #fff;border-radius:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pcr-app .pcr-selection .pcr-color-chooser,.pcr-app .pcr-selection .pcr-color-opacity,.pcr-app .pcr-selection .pcr-color-palette{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column;
2508cursor:grab;cursor:-webkit-grab}.pcr-app .pcr-selection .pcr-color-chooser:active,.pcr-app .pcr-selection .pcr-color-opacity:active,.pcr-app .pcr-selection .pcr-color-palette:active{cursor:grabbing;cursor:-webkit-grabbing}.pcr-app[data-theme=nano]{width:14.25em;max-width:95vw}.pcr-app[data-theme=nano] .pcr-swatches{margin-top:.6em;padding:0 .6em}.pcr-app[data-theme=nano] .pcr-interaction{padding:0 .6em .6em}.pcr-app[data-theme=nano] .pcr-selection{display:grid;grid-gap:.6em;grid-template-columns:1fr 4fr;grid-template-rows:5fr auto auto;align-items:center;height:10.5em;width:100%;align-self:flex-start}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview{grid-area:2/1/4/1;height:100%;width:100%;display:flex;flex-direction:row;justify-content:center;margin-left:.6em}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-last-color{display:none}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color{position:relative;background:currentColor;width:2em;height:2em;border-radius:50em;overflow:hidden}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>\');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette{grid-area:1/1/2/3;width:100%;height:100%;z-index:1}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette .pcr-palette{border-radius:.15em;width:100%;height:100%}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-palette .pcr-palette:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>\');background-size:.5em;border-radius:.15em;z-index:-1}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser{grid-area:2/2/2/2}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity{grid-area:3/2/3/2}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser,.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity{height:.5em;margin:0 .6em}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-picker,.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-picker{top:50%;transform:translateY(-50%)}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-slider,.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-slider{flex-grow:1;border-radius:50em}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser .pcr-slider{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity .pcr-slider{background:linear-gradient(90deg,transparent,#000),url(\'data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>\');background-size:100%,.25em}.pcr-app { z-index: 2147483645;}', 2509 eyeAble_pickrText, eyeAble_pickrBack; 2510 2511function eyeAble_initColorPicker() { 2512 var a = document.createElement("style"); 2513 a.textContent = eyeAble_PickrCSS; 2514 document.body.appendChild(a); 2515 a = eyeAble_blackWhiteColor; 2516 var b = eyeAble_blackWhiteBackcolor; 2517 eyeAble_pickrText = new eyeAble_Pickr.create({ 2518 el: eyeAble_shadowRoot.getElementById("eyeAbleTextColor"), 2519 theme: "nano", 2520 defaultRepresentation: "HEXA", 2521 default: a, 2522 comparison: !1, 2523 position: "right-start", 2524 useAsButton: !0, 2525 components: { 2526 preview: !0, opacity: !1, hue: !0, interaction: { 2527 hex: !0, rgba: !0, hsva: !1, input: !0, clear: !1, cancel: !1, 2528 save: !1 2529 } 2530 }, 2531 i18n: {"btn:toggle": eyeAble_getMessage("altBtnTextcolor")} 2532 }); 2533 eyeAble_pickrText.setColor(a); 2534 eyeAble_pickrText.on("change", function (c, d) { 2535 fastdomEA.mutate(function () { 2536 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = c.toRGBA().toString(); 2537 eyeAble_updateColorContrast() 2538 }); 2539 eyeAble_ColorPickerUncheckPresets() 2540 }); 2541 eyeAble_pickrBack = new eyeAble_Pickr.create({
2542 el: eyeAble_shadowRoot.getElementById("eyeAbleBackgroundColor"), 2543 theme: "nano", 2544 defaultRepresentation: "HEXA", 2545 default: b, 2546 position: "right-start", 2547 comparison: !1, 2548 useAsButton: !0, 2549 components: { 2550 preview: !0, 2551 opacity: !1, 2552 hue: !0, 2553 interaction: {hex: !0, rgba: !0, hsva: !1, input: !0, clear: !1, cancel: !1, save: !1} 2554 }, 2555 i18n: {"btn:toggle": eyeAble_getMessage("altBtnBackgroundcolor")} 2556 }); 2557 eyeAble_pickrBack.setColor(b); 2558 eyeAble_pickrBack.on("change", function (c, d) { 2559 fastdomEA.mutate(function () { 2560 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = c.toRGBA().toString(); 2561 eyeAble_updateColorContrast() 2562 }); 2563 eyeAble_ColorPickerUncheckPresets() 2564 }); 2565 fastdomEA.mutate(function () { 2566 for (var c = 2567 document.querySelectorAll(".pcr-app"), d = 0; d < c.length; d++) c[d].classList.add("eyeAbleContrastSkip") 2568 }) 2569} 2570 2571function eyeAble_createColorWindow() { 2572 function a(f) { 2573 var h = getComputedStyle(f.target).backgroundColor; 2574 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = h; 2575 eyeAble_pickrBack.setColor(h); 2576 for (h = 0; h < d.length; h++) d[h].setAttribute("aria-pressed", "false"); 2577 f.target.setAttribute("aria-pressed", "true") 2578 } 2579 2580 function b(f) { 2581 var h = getComputedStyle(f.target).backgroundColor; 2582 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = h; 2583 eyeAble_pickrText.setColor(h); 2584 for (h = 0; h < e.length; h++) e[h].setAttribute("aria-pressed", 2585 "false"); 2586 f.target.setAttribute("aria-pressed", "true") 2587 } 2588 2589 if (!eyeAble_contrastEnabled) return !1; 2590 var c = ' <section aria-labelledby="contrastWindowHeading" class="eyeAble_window eyeAble_colorbox-window" id="eyeAbleColorWindow" tabindex="-1" style="display: none">\n <div class="eyeAble_window-header">\n <div class="eyeAble_window-headertext">\n <img src="' + eyeAble_imagePaths.colorWheelPath + '" alt="">\n <p id="contrastWindowHeading" eALangID="contrastText" style="margin-left: 78px;font-size: 24px;text-transform: uppercase;word-break: normal;">' + 2591 eyeAble_getMessage("contrastText") + '</p>\n </div>\n <div role="button" class="eyeAble_window-headericon eyeAtabClickable" id="colorPickerXtopID">\n <img src="' + eyeAble_imagePaths.xNoCirclePath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" class="eyeAble_cancel-window noHide" style="margin-top: 5px;margin-right: 3px;">\n </div>\n </div>\n <div class="eyeAble_window-content eyeAble_colorbox-content">\n <div class="eyeable_colorpresetbox eyeAble_radical-border">\n <p eALangID="cpPreset" style="border-radius: 0;">' + 2592 eyeAble_getMessage("cpPreset") + '</p>\n <div class="eyeable_colorbox-wrapper">\n <button class="eyeAble_single-colorpreset eyeAtabClickable" id="colorPickerBlueYellowID" aria-pressed="false">\n <div class="eyeAble_singlecolorpreset-icon">\n <img class="noHide" src="' + eyeAble_imagePaths.blueYellowPath + '" alt="' + eyeAble_getMessage("altBlueYellow") + '" eaAltLangID="altBlueYellow">\n </div>\n <p aria-hidden="true" class="eyeAble_singlecolorpreset-text eyeAble_colorpreset1" eALangID="readable">' + 2593 eyeAble_getMessage("readable") + '</p>\n </button>\n <button class="eyeAble_single-colorpreset eyeAtabClickable" id="colorPickerRedGreenID" aria-pressed="false">\n <div class="eyeAble_singlecolorpreset-icon">\n <img class="noHide" src="' + eyeAble_imagePaths.redGreenPath + '" alt="' + eyeAble_getMessage("altRedGreen") + '" eaAltLangID="altRedGreen">\n </div>\n <p aria-hidden="true" class="eyeAble_singlecolorpreset-text eyeAble_colorpreset2" eALangID="readable">' + 2594 eyeAble_getMessage("readable") + '</p>\n </button>\n <button class="eyeAble_single-colorpreset eyeAtabClickable" id="colorPickerBlackWhiteID" aria-pressed="true">\n <div class="eyeAble_singlecolorpreset-icon">\n <img class="noHide" src="' + eyeAble_imagePaths.bwPresetPath + '" alt="' + eyeAble_getMessage("altBlackWhite") + '" eaAltLangID="altBlackWhite">\n </div>\n <p aria-hidden="true"class="eyeAble_singlecolorpreset-text eyeAble_colorpreset3" eALangID="readable">' + 2595 eyeAble_getMessage("readable") + '</p>\n </button>\n <button class="eyeAble_single-colorpreset eyeAtabClickable" id="colorPickerWhiteBlackID" aria-pressed="false">\n <div class="eyeAble_singlecolorpreset-icon">\n <img class="noHide" src="' + eyeAble_imagePaths.whiteBlackPath + '" alt="' + eyeAble_getMessage("altWhiteBlack") + '" eaAltLangID="altWhiteBlack">\n </div>\n <p aria-hidden="true" class="eyeAble_singlecolorpreset-text eyeAble_colorpreset4" eALangID="readable">' + 2596 eyeAble_getMessage("readable") + '</p>\n </button>\n </div>\n </div>\n <div class="eyeAble_colorpickerbox">\n <div class="eyeAble_bgcolorpicker eyeAble_radical-border">\n <div class="eyeAble_suggestcolorsbox">\n <p eALangID="cpBack">' + eyeAble_getMessage("cpBack") + '</p>\n <div class="eyeAble_suggestcolors" id="backgroundColorsID">\n <button class="eyeAble_singlecolor eyeAble_singlecolor0 eyeAtabClickable" eaAriaLangID="altBlackBack" aria-label="' + 2597 eyeAble_getMessage("altBlackBack") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor1 eyeAtabClickable" eaAriaLangID="altWhiteBack" aria-label="' + eyeAble_getMessage("altWhiteBack") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor2 eyeAtabClickable" eaAriaLangID="altRedBack" aria-label="' + eyeAble_getMessage("altRedBack") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor3 eyeAtabClickable" eaAriaLangID="altYellowBack" aria-label="' + 2598 eyeAble_getMessage("altYellowBack") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor4 eyeAtabClickable" eaAriaLangID="altGreenBack" aria-label="' + eyeAble_getMessage("altGreenBack") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor5 eyeAtabClickable" eaAriaLangID="altBlueBack" aria-label="' + eyeAble_getMessage("altBlueBack") + '" aria-pressed="false"></button>\n </div>\n </div>\n <div class="eyeable_colorpickertool">\n <img class="visHide eyeAtabClickable" src="' + 2599 eyeAble_imagePaths.colorWheelPath + '" alt="" id="eyeAbleBackgroun
2599dColor">\n <p eALangID="cpSelect">' + eyeAble_getMessage("cpSelect") + '</p>\n </div>\n </div>\n <div class="eyeAble_textcolorpicker eyeAble_radical-border">\n <div class="eyeAble_suggestcolorsbox">\n <p eALangID="cpColor">' + eyeAble_getMessage("cpColor") + '</p>\n <div class="eyeAble_suggestcolors" id="singleTextColorsID">\n <button class="eyeAble_singlecolor eyeAble_singlecolor0 eyeAtabClickable" eaAriaLangID="altBlackText" aria-label="' + 2600 eyeAble_getMessage("altBlackText") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor1 eyeAtabClickable" eaAriaLangID="altWhiteText" aria-label="' + eyeAble_getMessage("altWhiteText") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor2 eyeAtabClickable" eaAriaLangID="altRedText" aria-label="' + eyeAble_getMessage("altRedText") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor3 eyeAtabClickable" eaAriaLangID="altYellowText" aria-label="' + 2601 eyeAble_getMessage("altYellowText") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor4 eyeAtabClickable" eaAriaLangID="altGreenText" aria-label="' + eyeAble_getMessage("altGreenText") + '" aria-pressed="false"></button>\n <button class="eyeAble_singlecolor eyeAble_singlecolor5 eyeAtabClickable" eaAriaLangID="altBlueText" aria-label="' + eyeAble_getMessage("altBlueText") + '" aria-pressed="false"></button>\n </div>\n </div>\n <div class="eyeable_colorpickertool">\n <img class="visHide eyeAtabClickable" src="' + 2602 eyeAble_imagePaths.colorWheelPath + '" alt="" id="eyeAbleTextColor">\n <p eALangID="cpSelect">' + eyeAble_getMessage("cpSelect") + '</p>\n </div>\n </div>\n </div>\n <div class="eyeAble_colorviewbox eyeAble_radical-border">\n <div class="eyeAble_colorviewbox-text">\n <p eALangID="cpPre">' + eyeAble_getMessage("cpPre") + '</p>\n <p class="eyeAble_colorContrastText" eALangID="cpCon">' + eyeAble_getMessage("cpCon") + ' <span id="colorPickerContrastText">21:1</span></p>\n </div>\n <div class="eyeAble_colorview" eALangID="cpRead" id="eyeAblePreviewColors">' + 2603 eyeAble_getMessage("cpRead") + '</div>\n </div>\n <div class="eyeAble_accessible-linkbox eyeAble_radical-border" style="justify-content: space-around;">\n <label for="linkHighlightBox" class="shortcutsLabel" ealangid="cpLink"> ' + eyeAble_getMessage("cpLink") + '</label>\n <input class="eyeAtabClickable eA_checkmark" type="checkbox" id="linkHighlightBox" checked>\n </div>\n <div class="eyeAble_cmn-buttongroup color_stickyButtons">\n <div class="eyeAble_cmn-singlebutton eyeAtabClickable" role="button" id="color_picker_setButton">\n <div class="eyeAble_cmn-singlebuttonicon">\n <img src="' + 2604 eyeAble_imagePaths.checkNoCirclePath + '" alt="" style="filter: unset;">\n </div>\n <p class="eyeAble_cmn-singlebuttontext" eALangID="cpSet">' + eyeAble_getMessage("cpSet") + '</p>\n </div>\n <div class="eyeAble_cmn-singlebutton eyeAtabClickable" role="button" id="color_picker_resetButton">\n <div class="eyeAble_cmn-singlebuttonicon">\n <img src="' + eyeAble_imagePaths.resetContrastPath + '" alt="" style="max-width: 20px; width: 20px;">\n </div>\n <p class="eyeAble_cmn-singlebuttontext" eALangID="cpReset">' + 2605 eyeAble_getMessage("cpReset") + '</p>\n </div>\n <div class="eyeAble_cmn-singlebutton eyeAtabClickable" role="button" id="color_picker_abortButton">\n <div class="eyeAble_cmn-singlebuttonicon">\n <img src="' + eyeAble_imagePaths.xNoCirclePath + '" alt="">\n </div>\n <p class="eyeAble_cmn-singlebuttontext" eALangID="cpAbort">' + eyeAble_getMessage("cpAbort") + '</p>\n </div>\n <div aria-hidden="true" id="tabEndColor" class="eyeAtabClickable" tabindex="0"></div> </div>\n </div>\n </section>'; 2606 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", c);
2607 eyeAble_initColorPicker(); 2608 eyeAble_shadowRoot.getElementById("tabEndColor").addEventListener("focus", function () { 2609 eyeAble_shadowRoot.getElementById("colorPickerXtopID").focus() 2610 }); 2611 eyeAbleVariables.iAble_Text_Color === eyeAble_blueYellowColor && eyeAbleVariables.iAble_Background_Color === eyeAble_blueYellowBackcolor ? eyeAble_shadowRoot.getElementById("colorPickerBlueYellowID").classList.add("eyeAble_single-colorpreset-set") : 2612 eyeAbleVariables.iAble_Text_Color === eyeAble_redGreenColor && eyeAbleVariables.iAble_Background_Color === eyeAble_redGreenBackcolor ? eyeAble_shadowRoot.getElementById("colorPickerRedGreenID").classList.add("eyeAble_single-colorpreset-set") : eyeAbleVariables.iAble_Text_Color === eyeAble_blackWhiteColor && eyeAbleVariables.iAble_Background_Color === eyeAble_blackWhiteBackcolor ? eyeAble_shadowRoot.getElementById("colorPickerBlackWhiteID").classList.add("eyeAble_single-colorpreset-set") : eyeAbleVariables.iAble_Text_Color === 2613 eyeAble_whiteBlackColor && eyeAbleVariables.iAble_Background_Color === eyeAble_whiteBlackBackcolor && eyeAble_shadowRoot.getElementById("colorPickerWhiteBlackID").classList.add("eyeAble_single-colorpreset-set"); 2614 eyeAble_pickrText.setColor(eyeAbleVariables.iAble_Text_Color); 2615 eyeAble_pickrBack.setColor(eyeAbleVariables.iAble_Background_Color); 2616 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = eyeAbleVariables.iAble_Text_Color; 2617 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = 2618 eyeAbleVariables.iAble_Background_Color; 2619 eyeAbleVariables.Outline_Links ? eyeAble_shadowRoot.getElementById("linkHighlightBox").checked = !0 : eyeAble_shadowRoot.getElementById("linkHighlightBox").checked = !1; 2620 eyeAble_shadowRoot.querySelector("#colorPickerRedGreenID").addEventListener("click", eyeAble_redGreenChecked); 2621 eyeAble_shadowRoot.querySelector("#colorPickerBlueYellowID").addEventListener("click", eyeAble_blueYellowChecked); 2622 eyeAble_shadowRoot.querySelector("#colorPickerBlackWhiteID").addEventListener("click", 2623 eyeAble_blackWhiteChecked); 2624 eyeAble_shadowRoot.querySelector("#colorPickerWhiteBlackID").addEventListener("click", eyeAble_whiteBlackChecked); 2625 eyeAble_shadowRoot.querySelector("#colorPickerXtopID").addEventListener("click", eyeAble_closeColorPickerWindow); 2626 eyeAble_shadowRoot.querySelector("#color_picker_resetButton").addEventListener("click", eyeAble_reset_colors); 2627 eyeAble_shadowRoot.querySelector("#color_picker_abortButton").addEventListener("click", eyeAble_closeColorPickerWindow); 2628 eyeAble_shadowRoot.querySelector("#color_picker_setButton").addEventListener("click", 2629 eyeAble_setColorWheelSelection); 2630 eyeAble_shadowRoot.getElementById("linkHighlightBox").addEventListener("change", eyeAble_toggleLinkHighlight); 2631 var d = eyeAble_shadowRoot.getElementById("backgroundColorsID").querySelectorAll(".eyeAble_singlecolor"); 2632 for (c = 0; c < d.length; c++) d[c].addEventListener("click", a); 2633 var e = eyeAble_shadowRoot.getElementById("singleTextColorsID").querySelectorAll(".eyeAble_singlecolor"); 2634 for (c = 0; c < e.length; c++) e[c].addEventListener("click", b);
2635 eyeAble_allUnfocusOnMouseLeave(eyeAble_shadowRoot.getElementById("eyeAbleColorWindow")); 2636 eyeAble_updateColorContrast(); 2637 eyeAble_dragElement(eyeAble_shadowRoot.getElementById("eyeAbleColorWindow")) 2638} 2639 2640function eyeAble_setColorWheelSelection() { 2641 var a = getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAblePreviewColors")); 2642 eyeAble_change_colors(a.color, a.backgroundColor); 2643 eyeAble_closeColorPickerWindow() 2644} 2645 2646var eyeAble_blueYellowColor = "rgb(255, 255, 0)", eyeAble_blueYellowBackcolor = "rgb(26, 72, 149)"; 2647 2648function eyeAble_blueYellowChecked() { 2649 fastdomEA.mutate(function () { 2650 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = eyeAble_blueYellowColor; 2651 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = eyeAble_blueYellowBackcolor; 2652 eyeAble_pickrText.setColor(eyeAble_blueYellowColor); 2653 eyeAble_pickrBack.setColor(eyeAble_blueYellowBackcolor); 2654 eyeAble_ColorPickerUncheckPresets(); 2655 eyeAble_shadowRoot.getElementById("colorPickerBlueYellowID").classList.add("eyeAble_single-colorpreset-set"); 2656 eyeAble_shadowRoot.getElementById("colorPickerBlueYellowID").setAttribute("aria-pressed", "true"); 2657 eyeAble_updateColorContrast() 2658 }) 2659} 2660 2661var eyeAble_redGreenColor = "rgb(0, 255, 0)", eyeAble_redGreenBackcolor = "rgb(123, 0, 0)"; 2662 2663function eyeAble_redGreenChecked() { 2664 fastdomEA.mutate(function () { 2665 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = eyeAble_redGreenColor; 2666 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = eyeAble_redGreenBackcolor; 2667 eyeAble_pickrText.setColor(eyeAble_redGreenColor); 2668 eyeAble_pickrBack.setColor(eyeAble_redGreenBackcolor); 2669 eyeAble_ColorPickerUncheckPresets(); 2670 eyeAble_shadowRoot.getElementById("colorPickerRedGreenID").classList.add("eyeAble_single-colorpreset-set"); 2671 eyeAble_shadowRoot.getElementById("colorPickerRedGreenID").setAttribute("aria-pressed", "true"); 2672 eyeAble_updateColorContrast() 2673 }) 2674} 2675 2676var eyeAble_blackWhiteColor = "rgb(255, 255, 255)", eyeAble_blackWhiteBackcolor = "rgb(0, 0, 0)"; 2677 2678function eyeAble_blackWhiteChecked() { 2679 fastdomEA.mutate(function () { 2680 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = eyeAble_blackWhiteColor; 2681 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = eyeAble_blackWhiteBackcolor; 2682 eyeAble_pickrText.setColor(eyeAble_blackWhiteColor); 2683 eyeAble_pickrBack.setColor(eyeAble_blackWhiteBackcolor); 2684 eyeAble_ColorPickerUncheckPresets(); 2685 eyeAble_shadowRoot.getElementById("colorPickerBlackWhiteID").classList.add("eyeAble_single-colorpreset-set"); 2686 eyeAble_shadowRoot.getElementById("colorPickerBlackWhiteID").setAttribute("aria-pressed", "true"); 2687 eyeAble_updateColorContrast() 2688 }) 2689} 2690 2691var eyeAble_whiteBlackColor = "rgb(0, 0, 0)", eyeAble_whiteBlackBackcolor = "rgb(255, 255, 255)"; 2692 2693function eyeAble_whiteBlackChecked() { 2694 fastdomEA.mutate(function () { 2695 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color = eyeAble_whiteBlackColor; 2696 eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor = eyeAble_whiteBlackBackcolor; 2697 eyeAble_pickrText.setColor(eyeAble_whiteBlackColor); 2698 eyeAble_pickrBack.setColor(eyeAble_whiteBlackBackcolor); 2699 eyeAble_ColorPickerUncheckPresets(); 2700 eyeAble_shadowRoot.getElementById("colorPickerWhiteBlackID").classList.add("eyeAble_single-colorpreset-set"); 2701 eyeAble_shadowRoot.getElementById("colorPickerWhiteBlackID").setAttribute("aria-pressed", "true"); 2702 eyeAble_updateColorContrast() 2703 }) 2704} 2705 2706function eyeAble_toggleColorPickerWindow() { 2707 if (eyeAble_session_parameters.isMobile || eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.onlyOneContrast) return eyeAble_toggleContrastMode(), !0; 2708 eyeAble_closeAllOtherPages("eyeAbleColorWindow"); 2709 eyeAble_shadowRoot.getElementById("resetContrastModeID").matches(":hover") && "none" !== eyeAble_shadowRoot.getElementById("resetContrastModeID").style.display || (eyeAble_shadowRoot.getElementById("eyeAbleColorWindow") ? "block" === eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").style.display ? 2710 (eyeAble_closeColorPickerWindow(), eyeAble_showFeedbackNotification(eyeAble_getMessage("cpClosed"), "ALT + 2")) : (eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").style.setProperty("display", "block"), eyeAble_addColorpickerTabIndices(), eyeAble_shadowRoot.getElementById("colorPickerXtopID").focus(), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("cpOpened"), "ALT + 2")) : (eyeAble_createColorWindow(), eyeAble_addColorpickerTabIndices(), setTimeout(function () { 2711 eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").style.setProperty("display", 2712 "block"); 2713 eyeAble_shadowRoot.getElementById("colorPickerXtopID").focus() 2714 }, 200), setTimeout(function () { 2715 eyeAble_shadowRoot.getElementById("colorPickerXtopID").focus() 2716 }, 450), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("cpOpened"), "ALT + 2"))) 2717} 2718 2719function eyeAble_closeColorPickerWindow() { 2720 eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").style.display = "none"; 2721 eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("colorsID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(); 2722 eyeAble_deleteColorpickerTabIndices() 2723} 2724 2725function eyeAble_ColorPickerUncheckPresets() { 2726 for (var a = eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").querySelectorAll(".eyeAble_single-colorpreset-set"), b = 0; b < a.length; b++) a[b].classList.remove("eyeAble_single-colorpreset-set"), a[b].setAttribute("aria-pressed", "false") 2727} 2728 2729function eyeAble_deleteColorpickerTabIndices() { 2730 eyeAble_hideClickableElements("eyeAbleColorWindow") 2731} 2732 2733function eyeAble_addColorpickerTabIndices() { 2734 eyeAble_showClickableElements("eyeAbleColorWindow") 2735} 2736 2737function eyeAble_updateColorContrast() { 2738 fastdomEA.measure(function () { 2739 var a = eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.color, 2740 b = eyeAble_shadowRoot.getElementById("eyeAblePreviewColors").style.backgroundColor, 2741 c = eyeAble_checkColorContrast(eyeAble_convertColor(a), eyeAble_convertColor(b)); 2742 fastdomEA.mutate(function () { 2743 eyeAble_shadowRoot.getElementById("colorPickerContrastText").innerText = c.toFixed(0) + ":1"; 2744 7 < c ? eyeAble_shadowRoot.getElementById("colorPickerContrastText").style.color = "#00ff00" : 2745 4.5 < c ? eyeAble_shadowRoot.getElementById("colorPickerContrastText").style.color = "#E3F
2745F00" : eyeAble_shadowRoot.getElementById("colorPickerContrastText").style.color = "#FF6E6E" 2746 }) 2747 }) 2748} 2749 2750function eyeAble_toggleLinkHighlight() { 2751 eyeAbleVariables.Outline_Links ? (eyeAble_resetLinkHighlighting(), eyeAble_shadowRoot.getElementById("linkHighlightBox").checked = !1, eyeAble_setVar("Outline_Links", !1)) : (eyeAble_setVar("Outline_Links", !0), eyeAble_setLinkHighlighting(eyeAbleVariables.iAble_Text_Color), eyeAble_shadowRoot.getElementById("linkHighlightBox").checked = !0) 2752};var eyeAble_quickColorRulePlugin; 2753 2754function eyeAble_quickInitColors() { 2755 if (!("0" === eyeAble_getVar("Color_Mode") || "complete" === document.readyState || eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.noStartupFilter)) { 2756 var a = document.createElement("style"); 2757 a.appendChild(document.createTextNode("")); 2758 document.documentElement.appendChild(a); 2759 eyeAble_quickColorRulePlugin = a.sheet; 2760 eyeAble_addCSSRule(eyeAble_quickColorRulePlugin, "html", "filter : brightness(40%);") 2761 } 2762} 2763 2764function eyeAble_deleteQuickInitColors() { 2765 eyeAble_quickColorRulePlugin && 0 < eyeAble_quickColorRulePlugin.rules.length && fastdomEA.mutate(function () { 2766 eyeAble_quickColorRulePlugin.disabled = !0; 2767 requestAnimationFrame(function () { 2768 0 < eyeAble_quickColorRulePlugin.rules.length && 0 < eyeAble_quickColorRulePlugin.cssRules.length && eyeAble_quickColorRulePlugin.deleteRule(0) 2769 }) 2770 }) 2771} 2772 2773var eyeAble_forceBackgroundSheet, eyeAble_invertIconsSheet, eyeAble_linkShadowHoverSheet; 2774 2775function eyeAble_initColors() { 2776 eyeAble_textColorStylesheet = function () { 2777 var c = document.createElement("style"); 2778 c.appendChild(document.createTextNode("")); 2779 document.head.appendChild(c); 2780 return c.sheet 2781 }(); 2782 eyeAble_textIDColorStylesheet = function () { 2783 var c = document.createElement("style"); 2784 c.appendChild(document.createTextNode("")); 2785 document.head.appendChild(c); 2786 return c.sheet 2787 }(); 2788 eyeAble_linkShadowHoverSheet = eyeAble_createEmptyStylesheet(); 2789 eyeAble_addCSSRule(eyeAble_linkShadowHoverSheet, "a:hover", "box-shadow: 0px 0px 6px 1px transparent;"); 2790 eyeAble_linkShadowHoverSheet.disabled = !0; 2791 eyeAble_pluginLocalConfig && !1 === eyeAble_pluginLocalConfig.changeContrastColorToolbar || (eyeAble_forceBackgroundSheet = function () { 2792 var c = document.createElement("style"); 2793 c.appendChild(document.createTextNode("")); 2794 eyeAble_shadowRoot.appendChild(c); 2795 return c.sheet 2796 }(), eyeAble_addCSSRule(eyeAble_forceBackgroundSheet, ".eyeAbleActive > .eyeAble_tooltiptext,.eyeAbleActive > .eyeAble_settings-block-cta > a,.eyeAbleActive > .eyeAble_btn,.eyeAbleActive > .eyeAble_cc-menu-text,.eyeAble_zoom-value,.eyeAble_suggestcolorsbox > p, .eyeable_colorpresetbox > p, .eyeAble_colorviewbox-text > p,.eyeAble_accessible-linkboxtext, .eyeAble_cmn-singlebuttontext, .eyeable_colorpickertool > p, .eyeAble_setting-info-text,.eyeAble_sr-heading > p, .eyeAble_wohnort, .eyeAble_cc-ranger-text,.eyeAble_cc-ranger-text,#eyeAble_SUNtimeStatusID,#eyeAble_MANtimeStatusID", 2797 "background: black;color : white;margin-right: 5px;border-radius: 18px;"), eyeAble_forceBackgroundSheet.disabled = !0, eyeAble_invertIconsSheet = function () { 2798 var c = document.createElement("style"); 2799 c.appendChild(document.createTextNode("")); 2800 eyeAble_shadowRoot.appendChild(c); 2801 return c.sheet 2802 }(), eyeAble_addCSSRule(eyeAble_invertIconsSheet, ".eyeAble_cancel-window, .eyeAble_smallIconHeader,.eyeAble-arrowDown,.eyeAble_accessible-linkboxicon,.eyeAble_setting-icon, .eyeAble_sr-cmncontrols-icon > img,.eyeAble_navigation-cancel,.eyeAble-navigation-logo,.eyeAble_settings-block-icon", 2803 "filter : invert(1);"), eyeAble_invertIconsSheet.disabled = !0); 2804 if ("Darkmode" === eyeAble_getVar("Color_Mode")) eyeAble_enableDarkmode(); else if ("Contrast" === eyeAble_getVar("Color_Mode")) { 2805 var a = eyeAble_getVar("iAble_Background_Color"), b = eyeAble_getVar("iAble_Text_Color"); 2806 "0" !== a && "0" !== b && eyeAble_change_colors(b, a) 2807 } 2808 !eyeAble_session_parameters.isPlugin || eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.setWhiteImgBackgroun
2808d || (eyeAble_setWhiteImgBackground = !1) 2809} 2810 2811function eyeAble_reset_colors() { 2812 eyeAble_intersectionObserver && eyeAble_ColorObserver && eyeAble_ColorObserver.disconnect(); 2813 eyeAble_remove_color_recursive(document.body); 2814 window.requestAnimationFrame(function () { 2815 "1" === eyeAbleVariables.bluefilterSet && eyeAble_setBluefilter() 2816 }); 2817 eyeAble_setVar("Color_Mode", "0", 1); 2818 fastdomEA.mutate(function () { 2819 document.getElementById("eyeAble-Bluefilter-Back") && (document.getElementById("eyeAble-Bluefilter-Back").style.display = "none"); 2820 eyeAble_htmlHeightFit && (document.documentElement.style.removeProperty("height"), 2821 eyeAble_htmlHeightFit = !1); 2822 eyeAble_shadowRoot.getElementById("bwIDimage").src = eyeAble_imagePaths.blackWhitePath; 2823 eyeAble_shadowRoot.getElementById("bwTooltipID").innerHTML = eyeAble_getMessage("nightText"); 2824 eyeAble_shadowRoot.getElementById("bwID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("bwID").classList.remove("eyeAbleActive"); 2825 eyeAble_shadowRoot.getElementById("colorsID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("colorsID").classList.remove("eyeAbleActive"); 2826 eyeAble_shadowRoot.getElementById("NightmodeMoreID") && (eyeAble_shadowRoot.getElementById("NightmodeMoreID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("NightmodeMoreImgID").src = eyeAble_imagePaths.blackWhitePath, eyeAble_shadowRoot.getElementById("NightmodeMoreTxtID").innerHTML = eyeAble_getMessage("nightText"), eyeAble_shadowRoot.getElementById("NightmodeMoreTxtID").setAttribute("aria-pressed", "false")); 2827 eyeAble_shadowRoot.getElementById("resetContrastModeID").style.display = "none"; 2828 eyeAble_session_parameters.isMobile || (eyeAble_shadowRoot.getElementById("eyeA-contrastModeMainIconID").src = eyeAble_imagePaths.colorWheelPath); 2829 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.removeProperty("border"); 2830 eyeAble_shadowRoot.getElementById("resetContrastModeID").style.removeProperty("filter"); 2831 eyeAble_closeContrastBox() 2832 }); 2833 eyeAble_shadowRoot.getElementById("eyeAbleColorWindow") && "block" === eyeAble_shadowRoot.getElementById("eyeAbleColorWindow").style.display && eyeAble_closeColorPickerWindow(); 2834 eyeAble_resetLinkHighlighting(); 2835 eyeAble_resetPlaceholderColor(); 2836 eyeAble_linkShadowHoverSheet && (eyeAble_linkShadowHoverSheet.disabled = !0); 2837 eyeAble_resetWhiteBackgrounds(); 2838 eyeAble_resetFocusHighlighting(); 2839 eyeAble_textIDColorStylesheet && (eyeAble_textIDColorStylesheet.disabled = !0, document.head.removeChild(eyeAble_textIDColorStylesheet.ownerNode)); 2840 eyeAble_textIDColorStylesheet = function () { 2841 var a = document.createElement("style"); 2842 a.appendChild(document.createTextNode("")); 2843 document.head.appendChild(a); 2844 return a.sheet 2845 }(); 2846 eyeAble_pluginLocalConfig && !1 === eyeAble_pluginLocalConfig.changeContrastColorToolbar || (eyeAble_forceBackgroundSheet && (eyeAble_forceBackgroundSheet.disabled = !0, eyeAble_invertIconsSheet.disabled = !0), eyeAble_resetColorVarsToDefault()); 2847 eyeAble_darkModeHoverSheet && (eyeAble_darkModeHoverSheet.disabled = !0); 2848 eyeAble_shadowRoot.getElementById("bwID").setAttribute("aria-pressed", "false"); 2849 eyeAble_resetScrollbarColor(); 2850 eyeAble_setActiveCheckVis(); 2851 eyeAble_invertPage && (document.documentElement.style.filter = "", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.filter = 2852 "") 2853} 2854 2855function eyeAble_remove_color_recursive(a) { 2856 if (!eyeAble_nightmodeBlacklisted && a && ("function" === typeof resetCustomContrastEnhancement && resetCustomContrastEnhancement(), !(["SCRIPT"].includes(a.tagName) || a.classList && a.classList.contains("eyeAbleContrastSkip")))) if ("svg" === a.tagName) a.style.removeProperty("background"), eyeAble_resetSvgRecursive(a); else { 2857 if ("IFRAME" === a.tagName) try { 2858 var b = [(a.contentDocument || a.contentWindow.document).body] 2859 } catch (e) { 2860 return !1 2861 } else b = a.children; 2862 if (a.shadowRoot) for (var c = a.shadowRoot.children, 2863 d = 0; d < c.length; d++) eyeAble_remove_color_recursive(c[d]); 2864 if (0 !== b.length) for (c = 0; c < b.length; c++) eyeAble_remove_color_recursive(b[c]); 2865 "I" === a.tagName && a.style.removeProperty("filter"); 2866 "INPUT" === a.tagName && a.style.removeProperty("border"); 2867 fastdomEA.measure(function () { 2868 a.style && (a.getAttribute("eA-sC") || a.classList.contains("eATcInline")) && fastdomEA.mutate(function () { 2869 if (eyeAble_checkForText(a)) { 2870 for (var e = a.className.split(" "), f = 0; f < e.length; f++) e[f].includes("eATc") && (e[f].includes("eATcInline") && a.style.removeProperty("color"), 2871 a.classList.remove(e[f])); 2872 a.id.includes("eATc") && a.removeAttribute("id") 2873 } 2874 a.style.removeProperty("background-color"); 2875 a.style.removeProperty("background"); 2876 a.style.removeProperty("border-color"); 2877 a.style.removeProperty("borderWidth"); 2878 a.style.removeProperty("borderStyle"); 2879 a.style.removeProperty("background-blend-mode"); 2880 a.style.removeProperty("filter"); 2881 e = a.getAttribute("eA-sBr"); 2882 f = a.getAttribute("eA-inline"); 2883 e && (e.includes("url(") || e.includes("gradient") || f && "true" === f) && (a.getAttribute("eA-sBr") ? a.style.background = 2884 a.getAttribute("eA-sBr") : a.style.background = a.getAttribute("eA-sbc")); 2885 "true" === a.getAttribute("eA-Cinl") && (a.style.color = a.getAttribute("eA-sc")); 2886 e = a.getAttribute("eA-sBS"); 2887 "none" !== e && (a.style.boxShadow = e) 2888 }) 2889 }) 2890 } 2891} 2892 2893function eyeAble_toggleContrastMode() { 2894 if (!eyeAble_contrastEnabled) return !1; 2895 eyeAble_shadowRoot.getElementById("resetContrastModeID").matches(":hover") || ("Contrast" === eyeAble_getVar("Color_Mode") ? (eyeAble_reset_colors(), eyeAble_showFeedbackNotification(eyeAble_getMessage("contrastOff"), "ALT + C")) : (eyeAble_change_colors(eyeAble_getVar("iAble_Text_Color"), eyeAble_getVar("iAble_Backgroun
2895d_Color")), eyeAble_showFeedbackNotification(eyeAble_getMessage("contrastOn"), "ALT + C"), eyeAble_openContrastBox())) 2896} 2897 2898var eyeAble_contrastBackgroundDark = !0, eyeAble_enableWhiteImgBackground = !1, eyeAble_invertPage = !1, 2899 eyeAble_ColorObserver; 2900 2901function eyeAble_change_colors(a, b) { 2902 if (!eyeAble_contrastEnabled) return !1; 2903 "0" !== eyeAbleVariables.Color_Mode && eyeAble_reset_colors(); 2904 "function" === typeof customContrastEnhancement && customContrastEnhancement(); 2905 var c = eyeAble_convertColor(a), d = eyeAble_convertColor(b); 2906 eyeAble_contrastBackgroundDark = 125 > eyeAble_getBrightness(d) ? !0 : !1; 2907 try { 2908 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.useColorInvert && (eyeAble_invertPage = !0, document.documentElement.style.filter = "invert(1)", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.filter = 2909 "invert(1)", eyeAble_shadowRoot.getElementById("eyeAble_zoomBoxContrast").style.display = "none", a = "rgb(0, 0, 0)", b = "rgb(255, 255, 255)", c = [0, 0, 0, 1], d = [255, 255, 255, 1]) 2910 } catch (e) { 2911 console.log(e) 2912 } 2913 eyeAble_intersectionObserver ? (eyeAble_ColorObserver = new IntersectionObserver(function (e, f) { 2914 e.forEach(function (h) { 2915 h.isIntersecting && (eyeAble_change_color_intersection(h.target, d[0], d[1], d[2], c[0], c[1], c[2]), f.unobserve(h.target)) 2916 }) 2917 }, {rootMargin: eyeAble_intersectionRootMargin}), window.requestAnimationFrame(function () { 2918 eyeAble_change_color_intersetion_recursive(document.body, 2919 d[0], d[1], d[2], c[0], c[1], c[2]) 2920 })) : (window.requestAnimationFrame(function () { 2921 eyeAble_change_color_recursive(document.body, d[0], d[1], d[2], c[0], c[1], c[2]) 2922 }), requestAnimationFrame(function () { 2923 requestAnimationFrame(function () { 2924 eyeAble_CheckForImportantsAndContrast(document.body) 2925 }) 2926 })); 2927 eyeAble_setVar("iAble_Text_Color", a, 1); 2928 eyeAble_setVar("iAble_Background_Color", b, 1); 2929 fastdomEA.mutate(function () { 2930 eyeAble_enableLinkHighlighting && (0 < eyeAble_linkShadowHoverSheet.rules.length && eyeAble_linkShadowHoverSheet.deleteRule(0), 2931 eyeAble_linkShadowHoverSheet.disabled = !1, eyeAble_addCSSRule(eyeAble_linkShadowHoverSheet, "a:hover", "box-shadow: 0px 0px 6px 1px " + a + ";")); 2932 if (!(eyeAble_invertPage || eyeAble_pluginLocalConfig && !1 === eyeAble_pluginLocalConfig.changeContrastColorToolbar)) {
2933 eyeAble_contrastBackgroundDark ? (eyeAble_invertIconsSheet.disabled = !0, eyeAble_shadowRoot.getElementById("resetContrastModeID").style.removeProperty("filter")) : (eyeAble_invertIconsSheet.disabled = !1, eyeAble_shadowRoot.getElementById("resetContrastModeID").style.filter = 2934 "none"); 2935 var e = eyeAble_forceBackgroundSheet.cssRules || eyeAble_forceBackgroundSheet.rules; 2936 e[0].style.setProperty("background", b, "important"); 2937 e[0].style.setProperty("color", a, "important"); 2938 e = eyeAble_cssCustomSheet.cssRules || eyeAble_cssCustomSheet.rules; 2939 e[0].style.setProperty("--active-text-color", a); 2940 e[0].style.setProperty("--main-text-color", a); 2941 e[0].style.setProperty("--fixedHeader-text-color", a); 2942 e[0].style.setProperty("--active-background", a); 2943 e[0].style.setProperty("--inactive-hover-background", "transparent"); 2944 e[0].style.setProperty("--inactive-hover-shadow", "0px 0px 4px 2px " + a); 2945 e[0].style.setProperty("--main-toolbar-background", b); 2946 e[0].style.setProperty("--fixed-header-background", b); 2947 e[0].style.setProperty("--boxes-background", b); 2948 eyeAble_forceBackgroundSheet.disabled = !1 2949 } 2950 document.getElementById("eyeAble-Bluefilter-Back") && (document.getElementById("eyeAble-Bluefilter-Back").style.display = "block", document.getElementById("eyeAble-Bluefilter-Back").style.background = "none 0% 0% / auto repeat scroll padding-box border-box " + 2951 b); 2952 eyeAble_htmlFitContentSet(); 2953 "Darkmode" === eyeAbleVariables.Color_Mode && (eyeAble_shadowRoot.getElementById("bwIDimage").src = eyeAble_imagePaths.blackWhitePath, eyeAble_shadowRoot.getElementById("bwTooltipID").innerHTML = eyeAble_getMessage("nightText"), eyeAble_shadowRoot.getElementById("bwID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("bwID").classList.remove("eyeAbleActive")); 2954 eyeAble_setVar("Color_Mode", "Contrast"); 2955 eyeAble_shadowRoot.getElementById("colorsID").classList.add("eyeAbleActive"); 2956 eyeAble_shadowRoot.getElementById("resetContrastModeID").style.display = "block"; 2957 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.setProperty("border", "3px solid " + a); 2958 eyeAbleVariables.iAble_Text_Color === eyeAble_blueYellowColor && eyeAbleVariables.iAble_Background_Color === eyeAble_blueYellowBackcolor && (eyeAble_shadowRoot.getElementById("eyeA-contrastModeMainIconID").src = eyeAble_imagePaths.blueYellowPath); 2959 eyeAbleVariables.iAble_Text_Color === eyeAble_redGreenColor && eyeAbleVariables.iAble_Background_Color === 2960 eyeAble_redGreenBackcolor && (eyeAble_shadowRoot.getElementById("eyeA-contrastModeMainIconID").src = eyeAble_imagePaths.redGreenPath); 2961 eyeAbleVariables.iAble_Text_Color === eyeAble_blackWhiteColor && eyeAbleVariables.iAble_Background_Color === eyeAble_blackWhiteBackcolor && (eyeAble_shadowRoot.getElementById("eyeA-contrastModeMainIconID").src = eyeAble_imagePaths.bwPresetPath); 2962 eyeAble_changeScrollbarColor(); 2963 eyeAble_setLinkHighlighting(a); 2964 eyeAble_setFocusHighlight(a); 2965 eyeAble_setPlaceholderColor(a); 2966 eyeAble_setWhiteBackgrounds(); 2967 eyeAble_deleteQuickInitColors(); 2968 eyeAble_openContrastBox(); 2969 eyeAble_dispatchEvent("Contrast_Enabled") 2970 }) 2971} 2972 2973var eyeAble_contrastGraduationIntensity = 25; 2974 2975function eyeAble_change_color_sorter(a, b, c, d, e, f, h) { 2976 var g = ["SCRIPT", "STYLE", "LINK", "META"]; 2977 if (!a || g.includes(a.tagName) || a.classList && (a.classList.contains("eyeAbleContrastSkip") || "undefined" !== typeof a.className.includes && a.className.includes("pcr-")) || eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.CSSshadowDomMode && 0 < eyeAble_contrastSkipClasses.filter(function (q) { 2978 return a.classList.contains(q.replace(".", "")) 2979 }).length) return !1; 2980 if (a.tagName && "svg" === a.tagName.toLowerCase()) fastdomEA.mutate(function () { 2981 a.style.setProperty("background", 2982 "rgb(" + b.toString() + "," + c.toString() + "," + d.toString() + ")", "important") 2983 }), eyeAble_repaintSvgRecursive(a, !0, "rgb(" + e.toString() + "," + f.toString() + "," + h.toString() + ")"); else { 2984 if ("IFRAME" === a.tagName) { 2985 a.style.background = "white"; 2986 try { 2987 var l = [(a.contentDocument || a.contentWindow.document).body] 2988 } catch (q) { 2989 return !1 2990 } 2991 } else l = a.tagName && "form" === a.tagName.toLowerCase() ? a.childNodes : a.children; 2992 if (a.shadowRoot) { 2993 var m = a.shadowRoot.children; 2994 for (g = {$jscomp$loop$prop$i$287: 0}; g.$jscomp$loop$prop$i$287 < m.length; g = {$jscomp$loop$prop$i$287: g.$jscomp$loop$prop$i$287}, 2995 g.$jscomp$loop$prop$i$287++) setTimeout(function (q) { 2996 return function () { 2997 eyeAble_change_color_recursive(m[q.$jscomp$loop$prop$i$287], b, c, d, e, f, h) 2998 } 2999 }(g), 0) 3000 } 3001 if (l && 0 !== l.length) for (g = 0; g < l.length; g++) eyeAble_intersectionObserver ? eyeAble_change_color_intersetion_recursive(l[g], b, c, d, e, f, h) : eyeAble_change_color_recursive(l[g], b, c, d, e, f, h); 3002 return a.style ? !0 : !1 3003 } 3004} 3005 3006function eyeAble_change_color_recursive(a, b, c, d, e, f, h) { 3007 eyeAble_change_color_sorter(a, b, c, d, e, f, h) && eyeAble_change_color_intersection(a, b, c, d, e, f, h) 3008} 3009 3010function eyeAble_change_color_intersetion_recursive(a, b, c, d, e, f, h) { 3011 a && eyeAble_change_color_sorter(a, b, c, d, e, f, h) && eyeAble_ColorObserver.observe(a) 3012} 3013 3014function eyeAble_change_color_intersection(a, b, c, d, e, f, h) { 3015 fastdomEA.measure(function () { 3016 var g = !1; 3017 eyeAble_checkPseudoElements(a, "rgb(" + e.toString() + ", " + f.toString() + ", " + h.toString() + ")", "rgb(" + +b.toString() + ", " + c.toString() + ", " + d.toString() + ")"); 3018 a.style["background-color"] && a.setAttribute("eA-inline", "true"); 3019 a.style.color && a.setAttribute("eA-Cinl", "true"); 3020 var l = getComputedStyle(a); 3021 if (null == a.getAttribute("eA-sC")) { 3022 var m = l.getPropertyValue("color"); 3023 var q = l.getPropertyValue("background-color"); 3024 var n = 3025 l.getPropertyValue("border-color"); 3026 var r = l.getPropertyValue("background"); 3027 a.setAttribute("eA-sC", m); 3028 a.setAttribute("eA-sBC", q); 3029 a.setAttribute("eA-sBoC", n); 3030 a.setAttribute("eA-sBr", r) 3031 } else q = a.getAttribute("eA-sBC"), r = a.getAttribute("eA-sBr"); 3032 if ("" !== q && "" !== m) { 3033 r.includes("linear-gradient") && (r.split("linear-gradient")[1].includes("rgba(0, 0, 0, 0)") || fastdomEA.mutate(function () { 3034 fastdomEA.mutate(function () { 3035 a.style.setProperty("background-blend-mode", "soft-light"); 3036 a.style.backgroundColor = "rgb(50,50,50)" 3037 }) 3038 })); 3039 "none" === l.borderStyle && "INPUT" !== a.tagName || fastdomEA.mutate(function () { 3040 "INPUT" !== a.tagName || a.classList.contains("eA_nB") || (a.style.setProperty("border-width", "3px", "important"), a.style.borderStyle = "solid"); 3041 l.borderWidth && 10 < parseInt(l.borderWidth) ? a.style.setProperty("border-color", "rgb(" + b.toString() + ", " + c.toString() + ", " + d.toString() + ")", "important") : a.style.setProperty("border-color", "rgb(" + e.toString() + ", " + f.toString() + ", " + h.toString() + ")", "important") 3042 }); 3043 var v = eyeAble_convertColor(q); 3044 if (eyeAble_checkForText(a) || 3045 v[3] && .1 < v[3] && !a.classList.contains("eyeAbleActive") || a.classList.contains("eA_fcB")) { 3046 a.classList.contains("eA_nB") && (g = !0); 3047 m = eyeAble_getBrightness(v); 3048 200 < m ? m *= .75 : 80 > m && (m *= 2.5);
3049 if (eyeAble_contrastBackgroundDark) { 3050 var A = b + eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0; 3051 var E = c + eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0; 3052 var I = d + eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0 3053 } else A = b - eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0, E = c - eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0, 3054 I = d - eyeAble_contrastGraduationIntensity * (255 - m) / 255 | 0; 3055 if (eyeAble_checkForText(a)) { 3056 if (A = b, E = c, I = d, v[3] = 1, eyeAble_setTextColorStylesheet(a, "rgb(" + e.toFixed(0) + ", " + f.toFixed(0) + ", " + h.toFixed(0) + ")"), !g) { 3057 var H = "background-color"; 3058 "none" !== l.backgroundImage && (H = "background"); 3059 fastdomEA.mutate(function () { 3060 a.style.setProperty(H, "rgba(" + +A.toString() + "," + E.toString() + "," + I.toString() + "," + v[3] + ")", "important") 3061 }) 3062 } 3063 } else a.classList.contains("eA_fcB") ? (A = b, E = c, I = d, v[3] = 1, fastdomEA.mutate(function () { 3064 a.style.setProperty("background", 3065 "rgba(" + +A.toString() + "," + E.toString() + "," + I.toString() + "," + v[3] + ")", "important") 3066 })) : g || fastdomEA.mutate(function () { 3067 a.style.setProperty("background-color", "rgba(" + +A.toString() + "," + E.toString() + "," + I.toString() + "," + v[3] + ")", "important") 3068 }) 3069 } 3070 eyeAble_setWhiteImgBackground && "IMG" === a.tagName && "true" !== a.getAttribute("eyeableskipnav") && !a.classList.contains("emoji") ? fastdomEA.mutate(function () { 3071 a.style.setProperty("background-color", "rgb(" + e.toString() + "," + f.toString() + "," + h.toString() + ")", "important") 3072 }) : 3073 eyeAble_invertSmallImg && "none" !== l.backgroundImage && 300 > b + c + d && !a.classList.contains("emoji") && (g = a.getBoundingClientRect(), 50 > g.width + g.height && 5 < g.width + g.height && fastdomEA.mutate(function () { 3074 a.style.filter = "invert(1)" 3075 })); 3076 a === document.body && fastdomEA.mutate(function () { 3077 v[3] = 1; 3078 a.style.setProperty("background-color", "rgba(" + +b.toString() + "," + c.toString() + "," + d.toString() + "," + v[3].toString() + ")", "important") 3079 }) 3080 } 3081 }); 3082 requestAnimationFrame(function () { 3083 requestAnimationFrame(function () { 3084 eyeAble_checkForImportantsAndContrast_element(a) 3085 }) 3086 }) 3087} 3088 3089function eyeAble_CheckForImportantsAndContrast(a) { 3090 if (eyeAble_nightmodeBlacklisted || !a || ["SCRIPT", "svg"].includes(a.tagName) || a.classList && (a.classList.contains("eyeAbleSkip") || a.classList.contains("eyeAbleContrastSkip"))) return !1; 3091 if ("IFRAME" === a.tagName) try { 3092 var b = [(a.contentDocument || a.contentWindow.document).body] 3093 } catch (d) { 3094 return !1 3095 } else b = a.children; 3096 if (b && 0 !== b.length) for (var c = {$jscomp$loop$prop$i$289: 0}; c.$jscomp$loop$prop$i$289 < b.length; c = {$jscomp$loop$prop$i$289: c.$jscomp$loop$prop$i$289}, c.$jscomp$loop$prop$i$289++) setTimeout(function (d) { 3097 return function () { 3098 eyeAble_CheckForImportantsAndContrast(b[d.$jscomp$loop$prop$i$289]) 3099 } 3100 }(c), 3101 0); 3102 a.style && eyeAble_checkForImportantsAndContrast_element(a) 3103} 3104 3105function eyeAble_checkForImportantsAndContrast_element(a) { 3106 fastdomEA.measure(function () { 3107 var b = getComputedStyle(a); 3108 var c = b.getPropertyValue("color"); 3109 if ("Contrast" === eyeAbleVariables.Color_Mode) eyeAble_checkForText(a) && c !== eyeAbleVariables.iAble_Text_Color && eyeAble_setTextColorStylesheet(a, eyeAbleVariables.iAble_Text_Color, !0); else if (b = b.getPropertyValue("background-color"), ["", "initial", "transparent"].includes(a.style.backgroundColor) || b === a.style.backgroundColor || fastdomEA.mutate(function () { 3110 a.style.setProperty("background-color", 3111 a.style.backgroundColor, "important") 3112 }), eyeAble_checkForText(a)) { 3113 var d = !1, e = !1, f = eyeAble_convertColor(b), h = eyeAble_convertColor(c); 3114 h && f && fastdomEA.measure(function () { 3115 f && 0 !== f[3] || !a.parentNode || 1 !== a.parentNode.nodeType || (f = eyeAble_convertColor(getComputedStyle(a.parentNode).getPropertyValue("background-color")), d = !0); 3116 f && 0 !== f[3] || !a.parentNode.parentNode || 1 !== a.parentNode.parentNode.nodeType || (f = eyeAble_convertColor(getComputedStyle(a.parentNode.parentNode).getPropertyValue("background-color")), e = 3117 !0, d = !1); 3118 var g = eyeAble_checkColorContrast(f, h); 3119 f && 0 !== f[3] && 7.5 > g && (2.5 > g ? (1.5 > g ? (h[0] = 250, h[1] = 250, h[2] = 250) : h = h.map(function (l) { 3120 return 1.8 * l 3121 }), f = f.map(function (l) { 3122 return l / 1.8 3123 }), fastdomEA.mutate(function () { 3124 d || e ? d ? a.parentNode.style.setProperty("background-color", "rgb(" + f[0].toString() + "," + f[1].toString() + "," + f[2].toString() + ")", "important") : a.parentNode.parentNode.style.setProperty("background-color", "rgb(" + f[0].toString() + "," + f[1].toString() + "," + f[2].toString() + ")", "important") : a.style.setProperty("background-color", 3125 "rgb(" + f[0].toString() + "," + f[1].toString() + "," + f[2].toString() + ")", "important") 3126 })) : h = h.map(function (l) { 3127 return 1.2 * l 3128 }), fastdomEA.mutate(function () { 3129 eyeAble_setTextColorStylesheet(a, "rgb(" + h[0].toFixed(0) + ", " + h[1].toFixed(0) + ", " + h[2].toFixed(0) + ")", !0) 3130 })) 3131 }) 3132 } 3133 }) 3134}; 3135 3136function eyeAble_toggleDarkmode() { 3137 if (!eyeAble_nightmodeEnabled) return !1; 3138 "Darkmode" !== eyeAble_getVar("Color_Mode") ? (eyeAble_enableDarkmode(), eyeAble_showFeedbackNotification(eyeAble_getMessage("nightOn"), "ALT + N")) : (eyeAble_reset_colors(), eyeAble_showFeedbackNotification(eyeAble_getMessage("nightOff"), "ALT + N")) 3139} 3140 3141var eyeAble_darkModeHoverSheet; 3142 3143function eyeAble_enableDarkmode() { 3144 if (!eyeAble_nightmodeEnabled) return !1; 3145 if ("true" === document.documentElement.getAttribute("dark") || document.body.classList.contains("dark")) return setTimeout(function () { 3146 eyeAble_showFeedbackNotification(eyeAble_getMessage("nightDetect"), "", !0) 3147 }, 2E3), !1; 3148 eyeAble_shadowRoot.getElementById("colorsID").classList.contains("eyeAbleActive") && eyeAble_reset_colors(); 3149 eyeAble_intersectionObserver ? (eyeAble_ColorObserver = new IntersectionObserver(function (f, h) { 3150 f.forEach(function (g) { 3151 g.isIntersecting && 3152 (eyeAble_Darkmode_intersection(g.target), h.unobserve(g.target)) 3153 }) 3154 }, {rootMargin: eyeAble_intersectionRootMargin}), window.requestAnimationFrame(function () { 3155 eyeAble_Darkmode_intersection_recursive(document.body) 3156 })) : (window.requestAnimationFrame(function () { 3157 eyeAble_Darkmode_recursive(document.body) 3158 }), requestAnimationFrame(function () { 3159 eyeAble_CheckForImportantsAndContrast(document.body) 3160 })); 3161 fastdomEA.mutate(function () { 3162 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.skipHtmlBackcolor && !0 === eyeAble_pluginLocalConfig.skipHtmlBackcolor || 3163 (document.getElementById("eyeAble-Bluefilter-Back").style.display = "block", document.getElementById("eyeAble-Bluefilter-Back").style.background = "none 0% 0% / auto repeat scroll padding-box border-box rgb(0, 0, 0)"); 3164 eyeAble_htmlFitContentSet();
3165 eyeAble_setWhiteBackgrounds(); 3166 eyeAble_setFocusHighlight("#ffffff"); 3167 eyeAble_shadowRoot.getElementById("bwIDimage").src = eyeAble_imagePaths.blackWhiteOffPath; 3168 eyeAble_shadowRoot.getElementById("bwTooltipID").innerHTML = eyeAble_getMessage("dayText"); 3169 eyeAble_shadowRoot.getElementById("bwID").classList.add("eyeAbleActive"); 3170 eyeAble_shadowRoot.getElementById("colorsID").classList.contains("eyeAbleActive") && (eyeAble_shadowRoot.getElementById("colorsID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("resetContrastModeID").style.display = "none", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.border = "none"); 3171 eyeAble_shadowRoot.getElementById("NightmodeMoreID") && (eyeAble_shadowRoot.getElementById("NightmodeMoreID").classList.add("eyeAbleActive"), eyeAble_shadowRoot.getElementById("NightmodeMoreImgID").src = 3172 eyeAble_imagePaths.blackWhiteOffPath, eyeAble_shadowRoot.getElementById("NightmodeMoreTxtID").innerHTML = eyeAble_getMessage("dayText"), eyeAble_shadowRoot.getElementById("NightmodeMoreTxtID").setAttribute("aria-pressed", "true")); 3173 eyeAble_nightmodeBlacklisted && !eyeAble_shadowRoot.getElementById("bwTooltipID").innerText.includes("Blockiert") && (eyeAble_shadowRoot.getElementById("bwTooltipID").innerText = eyeAble_shadowRoot.getElementById("bwTooltipID").innerText + " - Blockiert"); 3174 eyeAble_deleteQuickInitColors() 3175 }); 3176 eyeAble_setVar("Color_Mode", "Darkmode"); 3177 if (eyeAble_darkModeHoverSheet) eyeAble_textIDColorStylesheet.disabled = !1; else { 3178 eyeAble_darkModeHoverSheet = function () { 3179 var f = document.createElement("style"); 3180 f.appendChild(document.createTextNode("")); 3181 document.head.appendChild(f); 3182 return f.sheet 3183 }(); 3184 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customDarkmodeCssRules) for (var a = $jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.customDarkmodeCssRules)), b = a.next(); !b.done; b = a.next()) { 3185 var c = $jscomp.makeIterator(b.value); 3186 b = c.next().value; 3187 c = c.next().value; 3188 eyeAble_addCSSRule(eyeAble_darkModeHoverSheet, b, c) 3189 } 3190 try { 3191 var d = document.styleSheets; 3192 for (a = 0; a < d.length; a++) try { 3193 var e = d[a].cssRules; 3194 b = {}; 3195 for (c = 0; c < e.length; b = {$jscomp$loop$prop$selectorText$291: b.$jscomp$loop$prop$selectorText$291}, c++) e[c] && (b.$jscomp$loop$prop$selectorText$291 = e[c].selectorText, b.$jscomp$loop$prop$selectorText$291 && (b.$jscomp$loop$prop$selectorText$291.includes(":hover") || b.$jscomp$loop$prop$selectorText$291.includes(":focus")) && e[c].cssText.includes("background") && 3196 fastdomEA.mutate(function (f) { 3197 return function () { 3198 eyeAble_addCSSRule(eyeAble_darkModeHoverSheet, f.$jscomp$loop$prop$selectorText$291, "background-color : rgb(10,10,10) !important;") 3199 } 3200 }(b))) 3201 } catch (f) { 3202 } 3203 } catch (f) { 3204 } 3205 } 3206 eyeAble_darkModeHoverSheet.disabled = !1; 3207 eyeAble_shadowRoot.getElementById("bwID").setAttribute("aria-pressed", "true"); 3208 eyeAble_changeScrollbarColor(); 3209 eyeAble_setPlaceholderColor("white"); 3210 eyeAble_dispatchEvent("Darkmode_Enabled") 3211} 3212 3213function eyeAble_Darkmode_sorter(a) { 3214 if (eyeAble_nightmodeBlacklisted || !a || ["SCRIPT", "STYLE", "SCRIPT", "LINK", "META"].includes(a.tagName) || a.classList && (a.classList.contains("eyeAbleSkip") || a.classList.contains("eyeAbleSkipDarkmode") || a.classList.contains("eyeAbleContrastSkip"))) return !1; 3215 if ("svg" === a.tagName) return eyeAble_repaintSvgRecursive(a, !0, "rgb(255,255,255)"), !1; 3216 if ("IFRAME" === a.tagName) { 3217 a.style.background = "rgb(220,220,220)"; 3218 try { 3219 var b = [(a.contentDocument || a.contentWindow.document).body] 3220 } catch (e) { 3221 return !1 3222 } 3223 } else b = 3224 a.children; 3225 if (a.shadowRoot) for (var c = a.shadowRoot.children, d = 0; d < c.length; d++) eyeAble_intersectionObserver ? eyeAble_Darkmode_intersection_recursive(c[d]) : eyeAble_Darkmode_recursive(c[d]); 3226 if (b && 0 !== b.length) for (c = 0; c < b.length; c++) eyeAble_intersectionObserver ? eyeAble_Darkmode_intersection_recursive(b[c]) : eyeAble_Darkmode_recursive(b[c]); 3227 return a.style ? !0 : !1 3228} 3229 3230function eyeAble_Darkmode_recursive(a) { 3231 eyeAble_Darkmode_sorter(a) && eyeAble_Darkmode_intersection(a) 3232} 3233 3234function eyeAble_Darkmode_intersection_recursive(a) { 3235 eyeAble_Darkmode_sorter(a) && eyeAble_ColorObserver.observe(a) 3236} 3237 3238function eyeAble_Darkmode_intersection(a) { 3239 var b = !1; 3240 fastdomEA.measure(function () { 3241 var c = getComputedStyle(a); 3242 var d = a.getAttribute("eA-sC"); 3243 a.style["background-color"] && a.setAttribute("eA-inline", "true"); 3244 a.style.color && a.setAttribute("eA-Cinl", "true"); 3245 if (d) { 3246 var e = a.getAttribute("eA-sBC"); 3247 var f = a.getAttribute("eA-sBoC"); 3248 var h = a.getAttribute("eA-sBr"); 3249 var g = a.getAttribute("eA-sBS") 3250 } else d = c.getPropertyValue("color"), e = c.getPropertyValue("background-color"), f = c.getPropertyValue("border-color"), h = c.getPropertyValue("background"), 3251 g = c.getPropertyValue("box-shadow"), a.setAttribute("eA-sC", d), a.setAttribute("eA-sBC", e), a.setAttribute("eA-sBoC", f), a.setAttribute("eA-sBr", h), a.setAttribute("eA-sBS", g); 3252 a.classList.contains("eA_nB") && (b = !0); 3253 if ("" !== e && "" !== d) { 3254 (h.includes("linear-gradient") || "none" !== c.backgroundImage && (0 < a.children.length || eyeAble_checkForText(a))) && "i" !== a.tagName.toLocaleLowerCase() && "button" !== a.tagName.toLocaleLowerCase() && (h.includes("linear-gradient") ? h.split("linear-gradient")[1].includes("rgba(0, 0, 0, 0)") || 3255 (a.classList.contains("ytp-gradient-bottom") || fastdomEA.mutate(function () { 3256 a.style.setProperty("background-blend-mode", "soft-light"); 3257 a.style.backgroundColor = "rgb(80,80,80)" 3258 }), b = !0) : (h = a.getBoundingClientRect(), !a.classList.contains("ytp-gradient-bottom") && 50 < h.width + h.height && fastdomEA.mutate(function () { 3259 a.style.setProperty("background-blend-mode", "soft-light"); 3260 a.style.backgroundColor = "rgb(80,80,80)" 3261 }), b = !0)); 3262 eyeAble_invertSmallImg && "none" !== c.backgroundImage && !a.classList.contains("emoji") && (h = a.getBoundingClientRect(), 3263 50 > h.width + h.height && 5 < h.width + h.height && fastdomEA.mutate(function () { 3264 a.style.filter = "invert(1)" 3265 }));
3266 eyeAble_setWhiteImgBackground && "IMG" === a.tagName && "true" !== a.getAttribute("eyeableskipnav") && !a.classList.contains("emoji") && fastdomEA.mutate(function () { 3267 a.style.setProperty("background-color", "rgb(240,240,240)", "important") 3268 }); 3269 var l = eyeAble_convertColor(e); 3270 if (b || a !== document.body) if (!b && l[3] && 0 < l[3]) { 3271 e = eyeAble_rgb2hsv(l[0] / 255, l[1] / 255, l[2] / 255); 3272 .09 <= e[1] ? (e[2] = .9 < e[2] ? .2 * e[2] : .3 * e[2], .2 < e[2] && (e[2] = 3273 .2)) : .05 < e[2] && (e[2] = 1 - e[2], .15 < e[2] && (e[2] = .15), .1 > e[2] && (e[2] += .05)); 3274 var m = eyeAble_hsv2rgb(e[0], e[1], e[2]); 3275 m = m.map(function (v) { 3276 return 255 * v 3277 }); 3278 fastdomEA.mutate(function () { 3279 a.style.setProperty("background-color", "rgba(" + m[0].toString() + "," + m[1].toString() + "," + m[2].toString() + "," + l[3].toString() + ")") 3280 }); 3281 a.setAttribute("bgSet", "rgba(" + m[0].toString() + "," + m[1].toString() + "," + m[2].toString() + "," + l[3].toString() + ")") 3282 } else !b && eyeAble_checkForText(a) && fastdomEA.measure(function () { 3283 var v = a.parentElement, A = "rgba(10,10,10,0.8)"; 3284 try { 3285 for (; v && v !== document.body;) { 3286 if (v.getAttribute("bgSet")) { 3287 A = v.getAttribute("bgSet"); 3288 break 3289 } 3290 v = v.parentElement 3291 } 3292 } catch (E) { 3293 console.log("Error", E) 3294 } 3295 fastdomEA.mutate(function () { 3296 a.style.setProperty("background-color", A, "important") 3297 }) 3298 }); else fastdomEA.mutate(function () { 3299 a.style.setProperty("background-color", "rgba(10,10,10,1)", "important") 3300 }); 3301 if (eyeAble_checkForText(a)) { 3302 d = eyeAble_convertColor(d); 3303 d = eyeAble_rgb2hsv(d[0] / 255, d[1] / 255, d[2] / 255); 3304 .4 < d[1] ? (.95 < d[2] && (d[2] *= .95), .95 > d[2] && (d[2] = .95), .6 < d[1] && (d[1] = 3305 .6), 230 < d[0] && 280 > d[0] && (d[0] = 190 + (280 - d[0]) / 50 * 30, d[1] = .5, d[2] = .95)) : (d[1] /= 10, d[2] = 1 - d[2], .95 > d[2] && (d[2] = .95)); 3306 var q = eyeAble_hsv2rgb(d[0], d[1], d[2]); 3307 q = q.map(function (v) { 3308 return 255 * v 3309 }); 3310 fastdomEA.mutate(function () { 3311 eyeAble_setTextColorStylesheet(a, "rgb(" + q[0].toFixed(0) + ", " + q[1].toFixed(0) + ", " + q[2].toFixed(0) + ")") 3312 }) 3313 } 3314 if ("none" !== c.borderStyle && f) { 3315 f = eyeAble_convertColor(f); 3316 f = eyeAble_rgb2hsv(f[0] / 255, f[1] / 255, f[2] / 255); 3317 .3 < f[1] ? (.95 < f[2] && (f[2] *= .95), .8 > f[2] && (f[2] = .8), 230 < f[0] && 280 > f[0] && (f[0] = 190 + 3318 (280 - f[0]) / 50 * 30, f[1] = .75, f[2] = .9)) : f[2] = 1 - f[2]; 3319 var n = eyeAble_hsv2rgb(f[0], f[1], f[2]); 3320 n = n.map(function (v) { 3321 return 255 * v 3322 }); 3323 fastdomEA.mutate(function () { 3324 a.style.setProperty("border-color", "rgb(" + n[0].toString() + "," + n[1].toString() + "," + n[2].toString() + ")") 3325 }) 3326 } 3327 if (g && "none" !== g) { 3328 g = g.split(" "); 3329 var r = ""; 3330 if (g) { 3331 for (f = 0; f < g.length; f++) g[f].includes("rgba") ? (r += "rgba(169, 169, 169, " + g[f + 3] + " ", f += 3) : r = r + g[f] + " "; 3332 fastdomEA.mutate(function () { 3333 a.style.setProperty("box-shadow", r) 3334 }) 3335 } 3336 } 3337 } 3338 }); 3339 requestAnimationFrame(function () { 3340 requestAnimationFrame(function () {
3341 eyeAble_checkForImportantsAndContrast_element(a) 3342 }) 3343 }) 3344} 3345; 3346 3347function eyeAble_repaintSvgRecursive(a, b, c) { 3348 b = void 0 === b ? !1 : b; 3349 c = void 0 === c ? "rgb(255,255,255)" : c; 3350 if (a.classList && (a.classList.contains("eyeAbleContrastSkip") || a.classList.contains("eyeAbleSkipDarkmode"))) return !1; 3351 fastdomEA.measure(function () { 3352 if ("Darkmode" === eyeAbleVariables.Color_Mode) { 3353 var d = a.getBoundingClientRect(); 3354 if (300 < d.width && 300 < d.height) return 3355 } 3356 if ((d = a.children) && 0 !== d.length) for (var e = 0; e < d.length; e++) eyeAble_repaintSvgRecursive(d[e], b, c); 3357 fastdomEA.measure(function () { 3358 var f = a.getAttribute("stroke"); 3359 if (a.getAttribute("data-originalFill")) var h = a.getAttribute("data-originalFill"); else h = a.getAttribute("fill"), h && "currentColor" !== h && "none" !== h || (h = getComputedStyle(a).fill); 3360 if (h && "none" !== h && "transparent" !== h && a.style) if (b) fastdomEA.mutate(function () { 3361 a.style.setProperty("fill", c); 3362 a.setAttribute("data-originalFill", h) 3363 }); else { 3364 var g = eyeAble_convertColor(h); 3365 if (g) { 3366 g = eyeAble_rgb2hsv(g[0] / 255, g[1] / 255, g[2] / 255); 3367 if (.3 > g[2] || .3 > g[1]) g[2] = 1 - g[2]; 3368 var l = eyeAble_hsv2rgb(g[0], g[1], g[2]); 3369 l = l.map(function (q) { 3370 return 255 * 3371 q 3372 }); 3373 fastdomEA.mutate(function () { 3374 a.style.setProperty("fill", "rgb(" + l[0].toString() + "," + l[1].toString() + "," + l[2].toString() + ")"); 3375 a.setAttribute("data-originalFill", h) 3376 }) 3377 } 3378 } 3379 if (f && "none" !== f && "transparent" !== f && b) if (b) fastdomEA.mutate(function () { 3380 a.style.setProperty("stroke", c); 3381 a.setAttribute("data-originalStroke", f) 3382 }); else if (g = eyeAble_convertColor(f)) { 3383 g = eyeAble_rgb2hsv(g[0] / 255, g[1] / 255, g[2] / 255); 3384 if (.3 > g[2] || .3 > g[1]) g[2] = 1 - g[2]; 3385 var m = eyeAble_hsv2rgb(g[0], g[1], g[2]); 3386 m = m.map(function (q) { 3387 return 255 * q 3388 }); 3389 fastdomEA.mutate(function () { 3390 a.style.setProperty("stroke", 3391 "rgb(" + m[0].toString() + "," + m[1].toString() + "," + m[2].toString() + ")"); 3392 a.setAttribute("data-originalStroke", f) 3393 }) 3394 } 3395 }) 3396 }) 3397} 3398 3399function eyeAble_resetPaintSVGs() { 3400 for (var a = document.getElementsByTagName("svg"), b = 0; b < a.length; b++) eyeAble_resetSvgRecursive(a[b]) 3401} 3402 3403function eyeAble_resetSvgRecursive(a) { 3404 var b = a.children; 3405 if (b && 0 !== b.length) for (var c = 0; c < b.length; c++) eyeAble_resetSvgRecursive(b[c]); 3406 if (a.getAttribute("data-originalFill")) { 3407 var d = a.getAttribute("data-originalFill"); 3408 fastdomEA.mutate(function () { 3409 a.setAttribute("fill", d); 3410 a.style.setProperty("fill", d) 3411 }) 3412 } 3413 if (a.getAttribute("data-originalStroke")) { 3414 var e = a.getAttribute("data-originalStroke"); 3415 fastdomEA.mutate(function () { 3416 a.setAttribute("stroke", e); 3417 a.style.setProperty("stroke", e) 3418 }) 3419 } 3420}; 3421 3422function eyeAble_createExtendedFontPage() { 3423 function a() { 3424 "tabEndExtFont" === this.id ? eyeAble_shadowRoot.getElementById("closeExtendedFontID").focus() : eyeAble_shadowRoot.getElementById("justifyAlignID").focus() 3425 } 3426 3427 var b = ' <Section aria-labelledby="fontWindowHeading" class="eyeAble_settings eyeAble_topFixedPosition eyeAbleSkip" id="eyeAble_ExtendedFontPageID" tabindex="-1"> <div aria-hidden="true" id="tabStartExtFont" class="eyeAtabClickable" tabindex="0"></div> <div class="eyeAble_settings-header" style="min-width: 261px; position: relative"> <div class="eyeAble_setting-icon">\n <img eyeAbleSkipNav="true" src="' + 3428 eyeAble_imagePaths.fontPath + '" alt="Schrift Icon" style="width: 35px"> </div> <div style="min-width: 165px; text-align: center;">
3428 <span id="fontWindowHeading" class="eyeAble_setting-text" ealangid="extFontText">' + eyeAble_getMessage("extFontText") + '</span> </div> <div> <img eyeAbleSkipNav="true" role="button" tabindex="0" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="closeExtendedFontID" src="' + eyeAble_imagePaths.xPath + 3429 '" alt="Fenster schlie\u00dfen" style="margin-left: 7px;font-size: 25px;margin-top: 5px;"></div> </div> </div> <div class="eyeAble_fontExtCnt"> <div class="eyeAble_cc-single-item" id="extendedZoomItem"> <span class="eyeAble_fontExt" ealangid="extFontZoom">' + eyeAble_getMessage("extFontZoom") + '</span> <span class="eyeAble_fontExt" style="float: right" id="zoomTxt">1.0</span> <div class="eyeAble_fontExtMargin"> <img class="eyeAtabClickable" aria-describedby="zoomTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3430 eyeAble_getMessage("altZoomMinus") + '" eaAltLangID="altZoomMinus" class="noHide" src="' + eyeAble_imagePaths.minusPath + '" id="zoomSmaller"> <input type="range" alt="' + eyeAble_getMessage("altZoomInput") + '" eaAltLangID="altZoomInput" tabindex="-1" min="0" step="5" max="100" value="0" class="eyeAble_font-rngr" id="zoomRangerID"> <img class="eyeAtabClickable" aria-describedby="zoomTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + eyeAble_getMessage("altZoomPlus") + 3431 '" eaAltLangID="altZoomPlus" class="noHide" src="' + eyeAble_imagePaths.plusPath + '" id="zoomLarger"> </div>\n </div>\n <div class="eyeAble_cc-single-item"> <span class="eyeAble_fontExt" ealangid="extFontsize">' + eyeAble_getMessage("extFontsize") + '</span> <span class="eyeAble_fontExt" style="float: right" id="fontsizeTxt">+0%</span> <div class="eyeAble_fontExtMargin">\n <img class="eyeAtabClickable" aria-describedby="fontsizeTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3432 eyeAble_getMessage("altZoomFontMinus") + '" eaAltLangID="altZoomFontMinus" class="noHide" src="' + eyeAble_imagePaths.minusPath + '" id="fontsizeSmaller"> <input type="range" alt="' + eyeAble_getMessage("altZoomFontInput") + '" eaAltLangID="altZoomFontInput" tabindex="-1" min="0" step="20" max="100" value="0" class="eyeAble_font-rngr" id="fontsizeRangerID"> <img class="eyeAtabClickable" aria-describedby="fontsizeTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3433 eyeAble_getMessage("altZoomFontPlus") + '" eaAltLangID="altZoomFontPlus" class="noHide" src="' + eyeAble_imagePaths.plusPath + '" id="fontsizeLarger"> </div>\n </div>\n <div class="eyeAble_cc-single-item"> <span class="eyeAble_fontExt" ealangid="extFontLine">' + eyeAble_getMessage("extFontLine") + '</span> <span class="eyeAble_fontExt" style="float: right" id="lineheightTxt">+0%</span> <div class="eyeAble_fontExtMargin">\n <img class="eyeAtabClickable" aria-describedby="lineheightTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3434 eyeAble_getMessage("altLineMinus") + '" eaAltLangID="altLineMinus" class="noHide" src="' + eyeAble_imagePaths.minusPath + '" id="lineheightSmaller"> <input type="range" alt="' + eyeAble_getMessage("altLineInput") + '" eaAltLangID="altLineInput" tabindex="-1" min="0" step="20" max="100" value="0" class="eyeAble_font-rngr" id="lineheightRangerID"> <img class="eyeAtabClickable" aria-describedby="lineheightTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3435 eyeAble_getMessage("altLinePlus") + '" eaAltLangID="altLinePlus" class="noHide" src="' + eyeAble_imagePaths.plusPath + '" id="lineheightLarger"> </div>\n </div>\n <div class="eyeAble_cc-single-item">
3435 <span class="eyeAble_fontExt" ealangid="extFontWord">' + eyeAble_getMessage("extFontWord") + '</span> <span class="eyeAble_fontExt" style="float: right" id="wordSpacingTxt">+0%</span> <div class="eyeAble_fontExtMargin">\n <img class="eyeAtabClickable" aria-describedby="wordSpacingTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3436 eyeAble_getMessage("altWordSpacingMinus") + '" eaAltLangID="altWordSpacingMinus" class="noHide" src="' + eyeAble_imagePaths.minusPath + '" id="wordSmaller"> <input type="range" alt="' + eyeAble_getMessage("altWordSpacingInput") + '" eaAltLangID="altWordSpacingInput" tabindex="-1" min="0" step="25" max="100" value="0" class="eyeAble_font-rngr" id="wordSpacingRangerID"> <img class="eyeAtabClickable" aria-describedby="wordSpacingTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3437 eyeAble_getMessage("altWordSpacingPlus") + '" eaAltLangID="altWordSpacingPlus" class="noHide" src="' + eyeAble_imagePaths.plusPath + '" id="wordLarger"> </div>\n </div>\n <div class="eyeAble_cc-single-item"> <span class="eyeAble_fontExt" ealangid="extFontLetter">' + eyeAble_getMessage("extFontLetter") + '</span> <span class="eyeAble_fontExt" style="float: right" id="letterSpacingTxt">+0%</span> <div class="eyeAble_fontExtMargin"> <img class="eyeAtabClickable" aria-describedby="letterSpacingTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3438 eyeAble_getMessage("altLetterSpacingMinus") + '" eaAltLangID="altLetterSpacingMinus" class="noHide" src="' + eyeAble_imagePaths.minusPath + '" id="letterSmaller"> <input type="range" alt="' + eyeAble_getMessage("altLetterSpacingInput") + '" eaAltLangID="altLetterSpacingInput" tabindex="-1" min="0" step="25" max="100" value="0" class="eyeAble_font-rngr" id="letterSpacingRangerID"> <img class="eyeAtabClickable" aria-describedby="letterSpacingTxt" tabindex="0" eyeAbleSkipNav="true" role="button" alt="' + 3439 eyeAble_getMessage("altLetterSpacingPlus") + '" eaAltLangID="altLetterSpacingPlus" class="noHide" src="' + eyeAble_imagePaths.plusPath + '" id="letterLarger"> </div>\n </div>\n <div class="eyeAble_cc-single-item"> <span class="eyeAble_fontExt" ealangid="extFontAlign">' + eyeAble_getMessage("extFontAlign") + '</span> <div class="eyeAble_fontExtMargin" style="margin-left: 6px;"> <div class="eyeAble_alignImg" role="button" eaAriaLangID="ariaAlignNone" aria-label="' + 3440 eyeAble_getMessage("ariaAlignNone") + '"> <img class="eyeAtabClickable" tabindex="0" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.xPath + '" alt="" style="filter: invert(1)" id="noAlignID"> </div> <div class="eyeAble_alignImg" role="button" eaAriaLangID="ariaAlignleft" aria-label="' + eyeAble_getMessage("ariaAlignleft") + '"> <img class="eyeAtabClickable" tabindex="0" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.leftAlign + 3441 '" alt="" id="leftAlignID"> </div> <div class="eyeAble_alignImg" role="button" eaAriaLangID="ariaAlignCenter" aria-label="' + eyeAble_getMessage("ariaAlignCenter") + '"> <img class="eyeAtabClickable" tabindex="0" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.centerAlign + '" alt="" id="centerAlignID"> </div> <div class="eyeAble_alignImg" role="button" eaAriaLangID="ariaAlignRight" aria-label="' + 3442 eyeAble_getMessage("ariaAlignRight") + '"> <img class="eyeAtabClickable" tabindex="0" eyeAbleSkipNav="true" src="' + eyeAble_imagePaths.rightAlign + '" alt="" id="rightAlignID"> </div> <div class="eyeAble_alignImg" role="button" eaAriaLangID="ariaAlignJustify" aria-label="' + eyeAble_getMessage("ariaAlignJustify") + '" style="margin-right: 0;"> <img class="eyeAtabClickable" tabindex="0" eyeAbleSkipNav="true" src="' + 3443 eyeAble_imagePaths.justifyAlign + '" alt="" id="justifyAlignID"> </div> </div> </div>\n <div aria-hidden="true" id="tabEndExtFont" class="eyeAtabClickable" tabindex="0"></div> </div>\n </Section>'; 3444 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", b); 3445 eyeAble_session_parameters.isPlugin && 0 < navigator.userAgent.indexOf("Firefox") && (eyeAble_shadowRoot.getElementById("extendedZoomItem").style.display = 3446 "none"); 3447 if (eyeAble_session_parameters.isMobile) { 3448 eyeAble_shadowRoot.getElementById("extendedZoomItem").style.display = "none"; 3449 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("right", eyeAbleVariables.mobileRightPosition, "important"); 3450 b = eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().height; 3451 var c = eyeAbleVariables.mobileBottomPosition.includes("%") ? parseInt(eyeAbleVariables.mobileBottomPosition) : 100 * parseInt(eyeAbleVariables.mobileBottomPosition) / 3452 window.innerHeight; 3453 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("top", "max(0%, calc(" + (100 - c).toFixed(0) + "% - " + b.toFixed(0) + "px))", "important"); 3454 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("height", "fit-content") 3455 } 3456 eyeAble_shadowRoot.getElementById("tabEndExtFont").addEventListener("focus", a); 3457 eyeAble_shadowRoot.getElementById("tabStartExtFont").addEventListener("focus", a); 3458 eyeAble_shadowRoot.getElementById("closeExtendedFontID").addEventListener("click", 3459 eyeAble_toggleExtendedFontPage); 3460 eyeAble_shadowRoot.getElementById("fontsizeSmaller").addEventListener("click", eyeAble_decreaseFontsize); 3461 eyeAble_shadowRoot.getElementById("fontsizeLarger").addEventListener("click", eyeAble_increaseFontsize); 3462 eyeAble_shadowRoot.getElementById("fontsizeRangerID").addEventListener("input", eyeAble_fontsizeChange); 3463 eyeAble_fontsizeStyleUpdate(); 3464 eyeAble_shadowRoot.getElementById("lineheightSmaller").addEventListener("click", eyeAble_decreaseLnHeight); 3465 eyeAble_shadowRoot.getElementById("lineheightLarger").addEventListener("click", 3466 eyeAble_increaseLnHeight); 3467 eyeAble_shadowRoot.getElementById("lineheightRangerID").addEventListener("input", eyeAble_lnHeightChange); 3468 eyeAble_lnHeightStyleUpdate(); 3469 eyeAble_shadowRoot.getElementById("zoomSmaller").addEventListener("click", eyeAble_decreaseZoomSpacing); 3470 eyeAble_shadowRoot.getElementById("zoomLarger").addEventListener("click", eyeAble_increaseZoomSpacing); 3471 eyeAble_shadowRoot.querySelector("#zoomRangerID").addEventListener("mousedown", function (d) { 3472 d.preventDefault() 3473 }); 3474 eyeAble_zoomStyleUpdate(); 3475 eyeAble_shadowRoot.getElementById("letterSmaller").addEventListener("click", eyeAble_decreaseLetterSpacing); 3476 eyeAble_shadowRoot.getElementById("letterLarger").addEventListener("click", eyeAble_increaseLetterSpacing); 3477 eyeAble_shadowRoot.getElementById("letterSpacingRangerID").addEventListener("input", eyeAble_letterSpacingChange); 3478 b = parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")); 3479 eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value = b * eyeAbleVariables.Letter_Spacing; 3480 eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Letter_Spacing).toFixed(0) + "%"; 3481 eyeAble_shadowRoot.getElementById("wordSmaller").addEventListener("click", eyeAble_decreaseWordSpacing); 3482 eyeAble_shadowRoot.getElementById("wordLarger").addEventListener("click", eyeAble_increaseWordSpacing); 3483 eyeAble_shadowRoot.getElementById("wordSpacingRangerID").addEventListener("input", eyeAble_wordSpacingChange); 3484 b = parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")); 3485 eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value = b * eyeAbleVariables.Word_Spacing; 3486 eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Word_Spacing).toFixed(0) + "%"; 3487 b = eyeAble_shadowRoot.querySelectorAll(".eyeAble_alignImg"); 3488 for (c = 0; c < b.length; c++) b[c].addEventListener("click", eyeAble_alignmentChange); 3489 eyeAble_alignStyleUpdate(); 3490 b = ["noAlignID", "leftAlignID", "centerAlignID", "rightAlignID", "justifyAlignID"]; 3491 for (c = 0; c < b.length; c++) eyeAble_shadowRoot.getElementById(b[c]).parentNode.addEventListener("mouseenter", 3492 eyeAble_createTooltip) 3493} 3494 3495function eyeAble_toggleExtendedFontPage() { 3496 eyeAble_closeAllOtherPages("eyeAble_ExtendedFontPageID"); 3497 if (eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")) if ("block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")).display) eyeAble_closeExtendedFontPage(); else { 3498 if (eyeAble_session_parameters.isMobile) { 3499 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("right", eyeAbleVariables.mobileRightPosition, "important"); 3500 var a = eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().height; 3501 var b = eyeAbleVariables.mobileBottomPosition.includes("%") ? parseInt(eyeAbleVariables.mobileBottomPosition) : 100 * parseInt(eyeAbleVariables.mobileBottomPosition) / window.innerHeight; 3502 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("top", "max(0%, calc(" + (100 - b).toFixed(0) + "% - " + a.toFixed(0) + "px))", "important"); 3503 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("height", "fit-content") 3504 } 3505 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("display", 3506 "block"); 3507 eyeAble_showClickableElements("eyeAble_ExtendedFontPageID"); 3508 eyeAble_shadowRoot.getElementById("closeExtendedFontID").focus(); 3509 eyeAble_removeTooltip() 3510 } else eyeAble_createExtendedFontPage(), eyeAble_showClickableElements("eyeAble_ExtendedFontPageID"), eyeAble_shadowRoot.getElementById("closeExtendedFontID").focus(), eyeAble_removeTooltip() 3511} 3512 3513function eyeAble_closeExtendedFontPage() { 3514 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && (eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").style.setProperty("display", "none"), eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("extendedFontID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(), eyeAble_hideClickableElements("eyeAble_ExtendedFontPageID")) 3515} 3516 3517var eyeAble_zoomStepsize = .1; 3518 3519function eyeAble_increaseZoomSpacing() { 3520 var a = parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step")); 3521 eyeAbleVariables.Zoom_Lvl <= 20 / a && (eyeAble_setVar("Zoom_Lvl", eyeAbleVariables.Zoom_Lvl + eyeAble_zoomStepsize), eyeAble_setWebsiteZoom(), eyeAble_zoomStyleUpdate()) 3522} 3523 3524function eyeAble_decreaseZoomSpacing() { 3525 1 <= eyeAbleVariables.Zoom_Lvl && (eyeAble_setVar("Zoom_Lvl", eyeAbleVariables.Zoom_Lvl - eyeAble_zoomStepsize), eyeAble_setWebsiteZoom(), eyeAble_zoomStyleUpdate()) 3526} 3527 3528function eyeAble_zoomStyleUpdate() { 3529 var a = parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step")); 3530 eyeAble_shadowRoot.getElementById("zoomRangerID").value = a * (e
3530yeAbleVariables.Zoom_Lvl - 1) / eyeAble_zoomStepsize; 3531 eyeAble_shadowRoot.getElementById("zoomTxt").innerText = (100 * eyeAbleVariables.Zoom_Lvl).toFixed(0) + "%" 3532} 3533 3534function eyeAble_zoomSpacingChange() { 3535 function a() { 3536 var b = parseFloat(eyeAble_shadowRoot.getElementById("zoomRangerID").getAttribute("step")), 3537 c = eyeAble_shadowRoot.getElementById("zoomRangerID").value; 3538 eyeAble_setVar("Zoom_Lvl", 1 + Math.floor(c / b) * eyeAble_zoomStepsize); 3539 eyeAble_setWebsiteZoom(); 3540 eyeAble_shadowRoot.getElementById("zoomTxt").innerText = (100 * eyeAbleVariables.Zoom_Lvl).toFixed(0) + "%"; 3541 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").removeEventListener("mouseup", a) 3542 } 3543 3544 eyeAble_zoomStyleUpdate(); 3545 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").addEventListener("mouseup", a) 3546} 3547 3548function eyeAble_increaseFontsize() { 3549 10 >= eyeAbleVariables.Fontsize + 1 && (eyeAble_setVar("Fontsize", eyeAbleVariables.Fontsize + 1), eyeAble_runFontsizeObserver(), eyeAble_fontsizeStyleUpdate()) 3550} 3551 3552function eyeAble_decreaseFontsize() { 3553 0 <= eyeAbleVariables.Fontsize - 1 && (eyeAble_setVar("Fontsize", eyeAbleVariables.Fontsize - 1), eyeAble_runFontsizeObserver(), eyeAble_fontsizeStyleUpdate()) 3554} 3555 3556function eyeAble_fontsizeStyleUpdate() { 3557 if (eyeAble_shadowRoot.getElementById("fontsizeRangerID")) { 3558 var a = parseFloat(eyeAble_shadowRoot.getElementById("fontsizeRangerID").getAttribute("step")); 3559 eyeAble_shadowRoot.getElementById("fontsizeRangerID").value = a * eyeAbleVariables.Fontsize; 3560 eyeAble_shadowRoot.getElementById("fontsizeTxt").innerText = "+" + (10 * eyeAbleVariables.Fontsize).toFixed(0) + "%" 3561 } 3562} 3563 3564function eyeAble_fontsizeChange() { 3565 var a = parseFloat(eyeAble_shadowRoot.getElementById("fontsizeRangerID").getAttribute("step")), 3566 b = eyeAble_shadowRoot.getElementById("fontsizeRangerID").value; 3567 eyeAble_setVar("Fontsize", Math.floor(b / a)); 3568 eyeAble_runFontsizeObserver(); 3569 eyeAble_fontsizeStyleUpdate() 3570} 3571 3572var eyeAble_forceLineheight = !1; 3573 3574function eyeAble_increaseLnHeight() { 3575 10 >= eyeAbleVariables.Line_height + 1 && (eyeAble_forceLineheight = !0, eyeAble_setVar("Line_height", eyeAbleVariables.Line_height + 1), eyeAble_runFontsizeObserver(), eyeAble_lnHeightStyleUpdate()) 3576} 3577 3578function eyeAble_decreaseLnHeight() { 3579 0 <= eyeAbleVariables.Line_height - 1 && (eyeAble_forceLineheight = !0, eyeAble_setVar("Line_height", eyeAbleVariables.Line_height - 1), eyeAble_runFontsizeObserver(), eyeAble_lnHeightStyleUpdate()) 3580} 3581 3582function eyeAble_lnHeightStyleUpdate() { 3583 var a = parseFloat(eyeAble_shadowRoot.getElementById("lineheightRangerID").getAttribute("step")); 3584 eyeAble_shadowRoot.getElementById("lineheightRangerID").value = a * eyeAbleVariables.Line_height; 3585 eyeAble_shadowRoot.getElementById("lineheightTxt").innerText = "+" + (10 * eyeAbleVariables.Line_height).toFixed(0) + "%" 3586} 3587 3588function eyeAble_lnHeightChange() { 3589 var a = parseFloat(eyeAble_shadowRoot.getElementById("lineheightRangerID").getAttribute("step")), 3590 b = eyeAble_shadowRoot.getElementById("lineheightRangerID").value; 3591 eyeAble_setVar("Line_height", Math.floor(b / a)); 3592 eyeAble_forceLineheight = !0; 3593 eyeAble_runFontsizeObserver(); 3594 eyeAble_lnHeightStyleUpdate() 3595} 3596 3597function eyeAble_increaseLetterSpacing() { 3598 var a = parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")); 3599 10 >= eyeAbleVariables.Letter_Spacing + 1 && (eyeAble_setVar("Letter_Spacing", eyeAbleVariables.Letter_Spacing + 1), eyeAble_setFontSpacingAndAlignments(), eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value = a * eyeAbleVariables.Letter_Spacing, eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Letter_Spacing).toFixed(0) + "%") 3600} 3601 3602function eyeAble_decreaseLetterSpacing() { 3603 if (0 <= eyeAbleVariables.Letter_Spacing - 1) { 3604 eyeAble_setVar("Letter_Spacing", eyeAbleVariables.Letter_Spacing - 1); 3605 eyeAble_setFontSpacingAndAlignments(); 3606 var a = parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")); 3607 eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value = a * eyeAbleVariables.Letter_Spacing; 3608 eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Letter_Spacing).toFixed(0) + "%" 3609 } 3610} 3611 3612function eyeAble_letterSpacingChange() { 3613 var a = parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")), 3614 b = eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value; 3615 eyeAble_setVar("Letter_Spacing", Math.floor(b / a)); 3616 eyeAble_setFontSpacingAndAlignments(); 3617 eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Letter_Spacing).toFixed(0) + "%" 3618} 3619 3620function eyeAble_increaseWordSpacing() { 3621 var a = parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")); 3622 10 >= eyeAbleVariables.Word_Spacing + 1 && (eyeAble_setVar("Word_Spacing", eyeAbleVariables.Word_Spacing + 1), eyeAble_setFontSpacingAndAlignments(), eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value = a * eyeAbleVariables.Word_Spacing, eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Word_Spacing).toFixed(0) + "%") 3623} 3624 3625function eyeAble_decreaseWordSpacing() { 3626 if (0 <= eyeAbleVariables.Word_Spacing - 1) { 3627 eyeAble_setVar("Word_Spacing", eyeAbleVariables.Word_Spacing - 1); 3628 eyeAble_setFontSpacingAndAlignments(); 3629 var a = parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")); 3630 eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value = a * eyeAbleVariables.Word_Spacing; 3631 eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Word_Spacing).toFixed(0) + "%" 3632 } 3633} 3634 3635function eyeAble_wordSpacingChange() { 3636 var a = parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")), 3637 b = eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value; 3638 eyeAble_setVar("Word_Spacing", Math.floor(b / a)); 3639 eyeAble_setFontSpacingAndAlignments(); 3640 eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Word_Spacing).toFixed(0) + "%" 3641} 3642 3643function eyeAble_alignmentChange(a) { 3644 var b = eyeAble_shadowRoot.querySelector(".eyeAble_alignActive"); 3645 b && b.classList.remove("eyeAble_alignActive"); 3646 a = a.target; 3647 a.classList.contains("eyeAble_alignImg") || (a = a.parentNode); 3648 switch (a.children[0].id) { 3649 case "noAlignID": 3650 eyeAble_setVar("Alignment", "0"); 3651 break; 3652 case "leftAlignID": 3653 eyeAble_setVar("Alignment", "left"); 3654 break; 3655 case "centerAlignID": 3656 eyeAble_setVar("Alignment", "center"); 3657 break; 3658 case "rightAlignID": 3659 eyeAble_setVar("Alignment", "right"); 3660 break; 3661 case "justifyAlignID": 3662 eyeAble_setVar("Alignment", 3663 "justify") 3664 } 3665 eyeAble_setFontSpacingAndAlignments(); 3666 a.classList.add("eyeAble_alignActive") 3667} 3668 3669function eyeAble_alignStyleUpdate() { 3670 var a = eyeAble_shadowRoot.querySelector(".eyeAble_alignActive"); 3671 a && a.classList.remove("eyeAble_alignActive"); 3672 switch (eyeAbleVariables.Alignment) { 3673 case "0": 3674 eyeAble_shadowRoot.getElementById("noAlignID").parentNode.classList.add("eyeAble_alignActive"); 3675 break;
3676 case "left": 3677 eyeAble_shadowRoot.getElementById("leftAlignID").parentNode.classList.add("eyeAble_alignActive"); 3678 break; 3679 case "center": 3680 eyeAble_shadowRoot.getElementById("centerAlignID").parentNode.classList.add("eyeAble_alignActive"); 3681 break; 3682 case "right": 3683 eyeAble_shadowRoot.getElementById("rightAlignID").parentNode.classList.add("eyeAble_alignActive"); 3684 break; 3685 case "justify": 3686 eyeAble_shadowRoot.getElementById("justifyAlignID").parentNode.classList.add("eyeAble_alignActive") 3687 } 3688}; 3689 3690function eyeAble_initFontPicker() { 3691 if (!0 === eyeAble_session_parameters.isExtension) { 3692 var a = function () { 3693 var e = document.createElement("style"); 3694 e.appendChild(document.createTextNode("")); 3695 document.head.appendChild(e); 3696 return e.sheet 3697 }(); 3698 eyeAble_addCSSRule(a, "@font-face", "font-family: 'Open Sans - Regular'; src : url(" + eyeAble_imagePaths.mainFontPath + ") format('woff2'), url(" + eyeAble_imagePaths.mainFontWOFFPath + ") format('woff'), url(" + eyeAble_imagePaths.mainFontTTFPath + ") format('truetype'); font-weight: 400; font-style: normal") 3699 } 3700 var b = 3701 "icon fas fab far fa glyphicon material-icons ab-icon mkdf-icon-font-elegant".split(" "); 3702 a = ["STYLE", "SCRIPT", "META", "I"]; 3703 for (var c = "*", d = 0; d < b.length; d++) c += ":not(." + b[d] + ")"; 3704 for (b = 0; b < a.length; b++) c += ":not(" + a[b].toLowerCase() + ")"; 3705 eyeAble_SettingsRule = function () { 3706 var e = document.createElement("style"); 3707 e.appendChild(document.createTextNode("")); 3708 document.head.appendChild(e); 3709 return e.sheet 3710 }(); 3711 eyeAble_addCSSRule(eyeAble_SettingsRule, c, ""); 3712 eyeAble_SettingsCSSrule = eyeAble_SettingsRule.rules[0]; 3713 "0" !== eyeAble_getVar("eyeAble_Font_Family") && 3714 eyeAble_setFontFamily(eyeAble_defaultCssVars["--font-family"]) 3715} 3716 3717function eyeAble_toggleFontFamily() { 3718 "0" !== eyeAble_getVar("eyeAble_Font_Family") ? (eyeAble_resetFontFamily(), eyeAble_showFeedbackNotification(eyeAble_getMessage("fontOff"), "ALT + X")) : (eyeAble_setFontFamily(eyeAble_defaultCssVars["--font-family"]), eyeAble_showFeedbackNotification(eyeAble_getMessage("fontOn"), "ALT + X")) 3719} 3720 3721function eyeAble_fontPickerChange() { 3722 if (!eyeAble_fontFamilyEnabled) return !1; 3723 var a = eyeAble_shadowRoot.getElementById("eyeAble_font-picker").selectedIndex, 3724 b = eyeAble_shadowRoot.getElementById("eyeAble_font-picker").options; 3725 "Standard" === b[a].text ? eyeAble_resetFontFamily() : eyeAble_setFontFamily(b[a].text) 3726} 3727 3728function eyeAble_setFontFamily(a) { 3729 if (!eyeAble_fontFamilyEnabled) return !1; 3730 eyeAble_SettingsCSSrule.style.setProperty("font-family", a, "important"); 3731 eyeAble_setVar("eyeAble_Font_Family", a, 1); 3732 eyeAble_shadowRoot.getElementById("fontID") && eyeAble_shadowRoot.getElementById("fontID").classList.add("eyeAbleActive"); 3733 eyeAble_dispatchEvent("Font_Enabled") 3734} 3735 3736function eyeAble_resetFontFamily() { 3737 eyeAble_SettingsCSSrule.style.removeProperty("font-family"); 3738 eyeAble_shadowRoot.getElementById("fontID") && eyeAble_shadowRoot.getElementById("fontID").classList.contains("eyeAbleActive") && (eyeAble_shadowRoot.getElementById("fontID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("fontID").setAttribute("aria-pressed", "false")); 3739 eyeAble_setVar("eyeAble_Font_Family", "0", 1); 3740 eyeAble_setActiveCheckVis() 3741} 3742 3743var eyeAble_SettingsCSSrule, eyeAble_SettingsRule; 3744 3745function eyeAble_addCSSRule(a, b, c, d) { 3746 try { 3747 "insertRule" in a ? a.insertRule(b + "{" + c + "}", d) : "addRule" in a && a.addRule(b, c, d) 3748 } catch (e) { 3749 } 3750} 3751 3752"undefined" === typeof window.addCSSRule && (window.addCSSRule = function (a, b, c, d) { 3753 "insertRule" in a ? a.insertRule(b + "{" + c + "}", d) : "addRule" in a && a.addRule(b, c, d) 3754}); 3755 3756function eyeAble_initFontSize() { 3757 var a = !0, b = parseInt(eyeAble_getVar("iAble_Font_Offset")); 3758 if (0 !== b) eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText = eyeAble_getVar("iAble_Font_Offset"), eyeAble_openZoomBox(), eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive"), eyeAble_setVar("Zoom_Lvl", eyeAble_calculateZoomLvl(b)), eyeAble_intersectionObserver ? eyeAble_runFontsizeObserver() : b >= parseInt(eyeAble_settings.layoutCorrectThreshold) ? eyeAble_change_font_size_recursive(document.body, 3759 parseInt(eyeAble_settings.layoutCorrectThreshold) - 1) : eyeAble_change_font_size_recursive(document.body, b), fastdomEA.mutate(function () { 3760 adaptFontSizeVars(b) 3761 }), a = !1, eyeAble_setWebsiteZoom(); else if (0 < eyeAbleVariables.Fontsize || 0 < eyeAbleVariables.Line_height) eyeAble_intersectionObserver ? eyeAble_runFontsizeObserver() : eyeAble_change_font_size_recursive(document.body, 0), a = !1; 3762 (0 < eyeAbleVariables.Letter_Spacing || 0 < eyeAbleVariables.Word_Spacing || "0" !== eyeAbleVariables.Alignment) && eyeAble_setFontSpacingAndAlignments(a); 3763 eyeAble_dispatchEvent("Adaptive_Zoom_Change") 3764} 3765 3766function eyeAble_resetFontSize() { 3767 if (!eyeAble_fontSizeEnabled) return !1; 3768 eyeAble_intersectionObserver && eyeAble_fontsizeObserver && (eyeAble_fontSizeObserverOffset = 0, eyeAble_fontsizeObserver.disconnect()); 3769 eyeAble_reset_font_size_recursive(document.body); 3770 eyeAble_setVar("iAble_Font_Offset", "0", 1); 3771 eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText = eyeAble_getVar("iAble_Font_Offset"); 3772 eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.remove("eyeAbleActive"); 3773 eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").style.removeProperty("color"); 3774 eyeAble_resetWebsiteZoom(); 3775 eyeAble_resetExtendedFontAndAlignments(); 3776 eyeAble_closeZoomBox(); 3777 eyeAble_setActiveCheckVis(); 3778 eyeAble_removeTooltip(); 3779 resetFontSiteVars() 3780} 3781 3782function eyeAble_resetFontSizeIcon() { 3783 eyeAble_resetFontSize(); 3784 eyeAble_openZoomBox() 3785} 3786 3787function eyeAble_reset_font_size_recursive(a) {
3788 if (!(["SCRIPT", "IMG", "VIDEO", "STYLE"].includes(a.tagName) || a.classList && a.classList.contains("eyeAbleSkip"))) { 3789 if (a.shadowRoot) for (var b = a.shadowRoot.children, c = 0; c < b.length; c++) eyeAble_reset_font_size_recursive(b[c]); 3790 if ("IFRAME" === a.tagName) try { 3791 var d = [(a.contentDocument || a.contentWindow.document).body] 3792 } catch (h) { 3793 return !1 3794 } else d = a.children; 3795 if (0 !== d.length) for (b = 0; b < d.length; b++) eyeAble_reset_font_size_recursive(d[b]); 3796 a.style && a.style.whiteSpace && fastdomEA.mutate(function () { 3797 a.style.removeProperty("white-space") 3798 }); 3799 var e = a.getAttribute("data-OriginalFontSize"); 3800 e && fastdomEA.mutate(function () { 3801 a.style.setProperty("font-size", e + "px") 3802 }); 3803 var f = a.getAttribute("data-OriginalLineHeight"); 3804 f && a.style.lineHeight && fastdomEA.mutate(function () { 3805 a.style.setProperty("line-height", f + "px") 3806 }) 3807 } 3808} 3809 3810var eyeAble_fontsizeObserver; 3811 3812function eyeAble_change_font_size_intersection_recursive(a) { 3813 if (a && !("SCRIPT IMG VIDEO STYLE LINK META SVG".split(" ").includes(a.tagName) || a.classList && (a.classList.contains("eyeAbleSkip") || a.classList.contains("eyeAbleSkipFontSize") || a.classList.contains("MathJax")))) { 3814 if ("IFRAME" === a.tagName) try { 3815 var b = [(a.contentDocument || a.contentWindow.document).body] 3816 } catch (e) { 3817 return !1 3818 } else b = a.children; 3819 if (a.shadowRoot) for (var c = a.shadowRoot.children, d = 0; d < c.length; d++) eyeAble_change_font_size_intersection_recursive(c[d]); 3820 if (b && 0 !== b.length) for (c = 0; c < b.length; c++) eyeAble_change_font_size_intersection_recursive(b[c]); 3821 eyeAble_fontsizeObserver.observe(a) 3822 } 3823} 3824 3825function eyeAble_change_font_size_intersection(a, b) { 3826 fastdomEA.measure(function () { 3827 if (a.style && a !== document.body && eyeAble_checkForText(a)) { 3828 var c = a.getAttribute("data-w"); 3829 if (c) c = parseFloat(c); else { 3830 var d = a.getBoundingClientRect(); 3831 a.setAttribute("data-w", d.width.toFixed(1)); 3832 c = d.width 3833 } 3834 requestAnimationFrame(function () { 3835 fastdomEA.measure(function () { 3836 a.getBoundingClientRect().width > 1.5 * parseFloat(c) && fastdomEA.mutate(function () { 3837 a.style.setProperty("white-space", "normal") 3838 }) 3839 }) 3840 }); 3841 (d = a.getAttribute("data-OriginalFontSize")) ? 3842 d = parseFloat(d) : (d = parseFloat(getComputedStyle(a).getPropertyValue("font-size")), a.setAttribute("data-OriginalFontSize", d)); 3843 var e = eyeAble_fontScaler(d, eyeAbleVariables.Fontsize); 3844 fastdomEA.mutate(function () { 3845 a.style.setProperty("font-size", e.toString() + "px", "important") 3846 }); 3847 requestAnimationFrame(function () { 3848 fastdomEA.measure(function () { 3849 var f = a.getAttribute("data-OriginalLineHeight"), h = a.getBoundingClientRect().height; 3850 f ? fastdomEA.mutate(function () { 3851 var g = parseFloat(f); 3852 eyeAble_checkAndApplyLineHeight(a, g, 3853 h, b, e) 3854 }) : eyeAble_adjustLineHeight(a, b, e, h) 3855 }) 3856 }) 3857 } 3858 }) 3859} 3860 3861function eyeAble_change_font_size_recursive(a, b) { 3862 if (a && !("SCRIPT IMG VIDEO STYLE LINK META SVG".split(" ").includes(a.tagName) || a.classList && (a.classList.contains("eyeAbleSkip") || a.classList.contains("eyeAbleSkipFontSize") || a.classList.contains("MathJax")))) { 3863 if (a.shadowRoot) for (var c = a.shadowRoot.children, d = 0; d < c.length; d++) eyeAble_change_font_size_recursive(c[d], b); 3864 if ((c = a.children) && 0 !== c.length) for (d = 0; d < c.length; d++) eyeAble_change_font_size_recursive(c[d], b); 3865 eyeAble_change_font_size_intersection(a, 3866 b) 3867 } 3868} 3869 3870function eyeAble_fontScaler(a, b) { 3871 if (0 < b) for (var c = 0; c < b; c++) a += .1 * a; else for (c = 0; c < -b; c++) a /= 1.1; 3872 return a 3873} 3874 3875function eyeAble_checkAndApplyLineHeight(a, b, c, d, e) { 3876 if (0 === d || eyeAble_forceLineheight) { 3877 var f = eyeAble_fontScaler(b, eyeAbleVariables.Line_height); 3878 0 < f && fastdomEA.mutate(function () { 3879 a.style.setProperty("line-height", f.toString() + "px", "important") 3880 }); 3881 return !0 3882 } 3883 d = 1 === parseFloat(a.getAttribute("eA-txt")) ? a.tagName.includes("H") ? 1.8 * b : 2.02 * b : 2.7 * b; 3884 if (c > d) { 3885 var h = eyeAble_fontScaler(b, eyeAbleVariables.Line_height); 3886 0 < h && (h < 1.5 * e ? h = 1.5 * e : h > 2 * e && (h = 2 * e), fastdomEA.mutate(function () { 3887 a.style.setProperty("line-height", 3888 h.toString() + "px", "important") 3889 })); 3890 return !0 3891 } 3892 return !1 3893} 3894 3895function eyeAble_adjustLineHeight(a, b, c, d) { 3896 var e = getComputedStyle(a).lineHeight, f = parseFloat(e); 3897 if (e === f + "") { 3898 var h = a.style.lineHeight; 3899 a.style.lineHeight = e + "em"; 3900 e = getComputedStyle(a).lineHeight; 3901 f = parseFloat(e); 3902 h ? a.style.lineHeight = h : delete a.style.lineHeight 3903 } 3904 -1 !== e.indexOf("pt") ? (f *= 4, f /= 3) : -1 !== e.indexOf("mm") ? (f *= 96, f /= 25.4)
3904: -1 !== e.indexOf("cm") ? (f *= 96, f /= 2.54) : -1 !== e.indexOf("in") ? f *= 96 : -1 !== e.indexOf("pc") && (f *= 16); 3905 f = Math.round(f); 3906 if ("normal" === e) { 3907 e = a.nodeName; 3908 var g = document.createElement(e); 3909 g.innerHTML = 3910 " "; 3911 "TEXTAREA" === e.toUpperCase() && g.setAttribute("rows", "1"); 3912 g.style.fontSize = c.toString() + "px"; 3913 g.style.padding = "0px"; 3914 g.style.border = "0px"; 3915 var l = document.body; 3916 fastdomEA.mutate(function () { 3917 eyeAble_observerNodeList.disconnect(); 3918 l.appendChild(g); 3919 eyeAble_observerNodeList.observe(document.body, eyeAble_configNodeList); 3920 fastdomEA.measure(function () { 3921 f = g.offsetHeight; 3922 a.setAttribute("data-OriginalLineHeight", f); 3923 fastdomEA.mutate(function () { 3924 eyeAble_checkAndApplyLineHeight(a, f, d, b, c); 3925 l.removeChild(g) 3926 }) 3927 }) 3928 }) 3929 } else a.setAttribute("data-OriginalLineHeight", 3930 f), eyeAble_checkAndApplyLineHeight(a, f, d, b, c) 3931} 3932 3933function eyeAble_checkForText(a) { 3934 var b = a.getAttribute("eA-txt"); 3935 if (!b || eyeAble_pluginLocalConfig.disableTextDetectCache) { 3936 for (var c = b = 0; c < a.childNodes.length; c++) a.childNodes[c] && a.childNodes[c].nodeValue && a.childNodes[c].nodeType !== Node.COMMENT_NODE && /\S/.test(a.childNodes[c].nodeValue) ? b += 1 : a.childNodes[c].className && "eamark" === a.childNodes[c].tagName.toLowerCase() && (b += 1); 3937 ("SELECT" === a.tagName || "INPUT" === a.tagName || "TEXTAREA" === a.tagName || "I" === a.tagName || "P" === a.tagName || a.tagName.includes("H") && 3938 !a.tagName.toLowerCase().includes("header") || a.tagName.includes("OPTION")) && 0 === b && (b = 1); 3939 if (0 < b || eyeAble_pluginLocalConfig.forceTextElement && a.matches(eyeAble_pluginLocalConfig.forceTextElement)) return a.setAttribute("eA-txt", b.toString()), fastdomEA.mutate(function () { 3940 a.classList.add("eyeAtext"); 3941 a.parentNode && a.parentNode.classList && a.parentNode.classList.add("eyeAtP") 3942 }), !0; 3943 a.setAttribute("eA-txt", 0) 3944 } else if ("0" !== b) return !0; 3945 return !1 3946} 3947 3948function eyeAble_increase_font_size() { 3949 if (!eyeAble_fontSizeEnabled) return !1; 3950 var a = parseInt(eyeAble_getVar("iAble_Font_Offset")); 3951 a += eyeAble_settings.fontSizeIncrease; 3952 if ((eyeAble_session_parameters.isMobile || !eyeAble_session_parameters.isExtension && 0 < navigator.userAgent.indexOf("Firefox")) && a >= parseInt(eyeAble_settings.layoutCorrectThreshold)) return !1; 3953 if (0 !== a) { 3954 if (!eyeAble_activeFeatures.FontSizeLimit || a <= eyeAble_activeFeatures.FontSizeLimit) fastdomEA.mutate(function () { 3955 eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive") 3956 }), 3957 a < parseInt(eyeAble_settings.maximumFontSizeIncrease) && (eyeAble_setVar("iAble_Font_Offset", a.toString()), eyeAble_calculateSizeAndHeight(a), fastdomEA.mutate(function () { 3958 adaptFontSizeVars(a) 3959 }), fastdomEA.mutate(function () { 3960 eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText = eyeAble_getVar("iAble_Font_Offset") 3961 }), a >= parseInt(eyeAble_settings.layoutCorrectThreshold) ? eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && fastdomEA.mutate(function () { 3962 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.overflowY = 3963 "auto" 3964 }) : eyeAble_intersectionObserver ? eyeAble_runFontsizeObserver() : eyeAble_change_font_size_recursive(document.body, a), eyeAble_setVar("Zoom_Lvl", eyeAble_calculateZoomLvl(a)), eyeAble_setWebsiteZoom()), eyeAble_showFeedbackNotification(eyeAble_getMessage("sizePlus"), "ALT + Plus") 3965 } else eyeAble_resetFontSize(), eyeAble_openZoomBox(); 3966 eyeAble_removeTooltip(); 3967 eyeAble_dispatchEvent("Adaptive_Zoom_Change") 3968} 3969 3970function adaptFontSizeVars(a) { 3971 var b = eyeAble_cssCustomSheet.cssRules || eyeAble_cssCustomSheet.rules; 3972 1 === a ? (b[0].style.setProperty("--font-size-buttons", "18px"), b[0].style.setProperty("--font-size-smallerText", "17px"), b[0].style.setProperty("--font-size-readable", "15px"), b[0].style.setProperty("--font-size-colorSelect", "13px")) : 2 === a ? (b[0].style.setProperty("--font-size-buttons", "19px"), b[0].style.setProperty("--font-size-smallerText", "18px"), b[0].style.setProperty("--font-size-readable", "16px"), b[0].style.setProperty("--font-size-colorSelect", 3973 "13px")) : 3 <= a ? (b[0].style.setProperty("--font-size-buttons", "20px"), b[0].style.setProperty("--font-size-smallerText", "19px"), b[0].style.setProperty("--font-size-readable", "17px"), b[0].style.setProperty("--font-size-colorSelect", "13px")) : 0 > a && (b[0].style.setProperty("--font-size-buttons", "16px"), b[0].style.setProperty("--font-size-smallerText", "15px"), b[0].style.setProperty("--font-size-readable", "13px"), b[0].style.setProperty("--font-size-colorSelect", "12px")) 3974} 3975 3976function resetFontSiteVars() { 3977 var a = eyeAble_cssCustomSheet.cssRules || eyeAble_cssCustomSheet.rules; 3978 a[0].style.setProperty("--font-size-buttons", eyeAble_defaultCssVars["--font-size-buttons"]); 3979 a[0].style.setProperty("--font-size-smallerText", eyeAble_defaultCssVars["--font-size-smallerText"]); 3980 a[0].style.setProperty("--font-size-readable", eyeAble_defaultCssVars["--font-size-readable"]); 3981 a[0].style.setProperty("--font-size-colorSelect", eyeAble_defaultCssVars["--font-size-colorSelect"]) 3982} 3983 3984var eyeAble_fontSizeObserverOffset = 0; 3985 3986function eyeAble_runFontsizeObserver() { 3987 var a = parseInt(eyeAble_getVar("iAble_Font_Offset")); 3988 eyeAble_fontSizeObserverOffset = a >= parseInt(eyeAble_settings.layoutCorrectThreshold) ? parseInt(eyeAble_settings.layoutCorrectThreshold) - 1 : a; 3989 eyeAble_fontsizeObserver = new IntersectionObserver(function (b, c) { 3990 b.forEach(function (d) { 3991 d.isIntersecting && (eyeAble_change_font_size_intersection(d.target, eyeAble_fontSizeObserverOffset), c.unobserve(d.target)) 3992 }) 3993 }, {rootMargin: eyeAble_intersectionRootMargin}); 3994 eyeAble_change_font_size_intersection_recursive(document.body) 3995} 3996 3997function eyeAble_decrease_font_size() { 3998 if (!eyeAble_fontSizeEnabled) return !1; 3999 var a = parseInt(eyeAble_getVar("iAble_Font_Offset")); 4000 a -= eyeAble_settings.fontSizeIncrease; 4001 a > parseInt(eyeAble_settings.minimumFontSizeIncrease) && (eyeAble_shadowRoot.getElementById("zoomBoxOpener").classList.add("eyeAbleActive"), eyeAble_calculateSizeAndHeight(a), 0 === a ? (eyeAble_resetFontSize(), eyeAble_openZoomBox()) : (eyeAble_setVar("Zoom_Lvl", eyeAble_calculateZoomLvl(a)), fastdomEA.mutate(function () { 4002 adaptFontSizeVars(a) 4003 }), a >= eyeAble_settings.layoutCorrectThreshold - 4004 1 ? eyeAble_setVar("iAble_Font_Offset", a.toString(), 1) : (eyeAble_setVar("iAble_Font_Offset", a.toString(), 1), eyeAble_intersectionObserver ? eyeAble_runFontsizeObserver() : eyeAble_change_font_size_recursive(document.body, a)), eyeAble_setWebsiteZoom()), 0 > a && (eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").style.color = "aqua"), eyeAble_setVar("iAble_Font_Offset", a.toString(), 1), eyeAble_shadowRoot.getElementById("eyeAble_zoomValue").innerText = eyeAble_getVar("iAble_Font_Offset")); 4005 eyeAble_showFeedbackNotification(eyeAble_getMessage("sizeMinus"), 4006 "ALT + Minus"); 4007 eyeAble_removeTooltip(); 4008 eyeAble_dispatchEvent("Adaptive_Zoom_Change") 4009} 4010 4011function eyeAble_resetExtendedFontAndAlignments() { 4012 eyeAble_spacingAndAlignSheet && (eyeAble_spacingAndAlignSheet.disabled = !0); 4013 eyeAble_setVar("Fontsize", 0); 4014 eyeAble_setVar("Line_height", 0); 4015 eyeAble_setVar("Letter_Spacing", 0); 4016 eyeAble_setVar("Word_Spacing", 0); 4017 eyeAble_setVar("Alignment", "0"); 4018 if (eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")) { 4019 eyeAble_lnHeightStyleUpdate(); 4020 eyeAble_fontsizeStyleUpdate(); 4021 eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+0%"; 4022 eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value = 4023 0; 4024 eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+0%"; 4025 eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value = 0; 4026 var a = eyeAble_shadowRoot.querySelector(".eyeAble_alignActive"); 4027 a && a.classList.remove("eyeAble_alignActive"); 4028 eyeAble_shadowRoot.getElementById("noAlignID").parentNode.classList.add("eyeAble_alignActive") 4029 } 4030} 4031 4032var eyeAble_spacingAndAlignSheet; 4033 4034function eyeAble_setFontSpacingAndAlignments(a) { 4035 (void 0 === a ? 0 : a) || document.querySelector(".eyeAtext") || "0" !== eyeAble_getVar("iAble_Font_Offset") || (eyeAble_intersectionObserver ? eyeAble_runFontsizeObserver() : eyeAble_change_font_size_recursive(document.body, 0)); 4036 eyeAble_spacingAndAlignSheet || (eyeAble_spacingAndAlignSheet = function () { 4037 var b = document.createElement("style"); 4038 b.appendChild(document.createTextNode("")); 4039 document.head.appendChild(b); 4040 return b.sheet 4041 }(), eyeAble_addCSSRule(eyeAble_spacingAndAlignSheet, 4042 ".eyeAtext,.eyeAtP:not(body)", "letter-spacing: normal;")); 4043 fastdomEA.mutate(function () { 4044 var b = eyeAble_spacingAndAlignSheet.cssRules || eyeAble_spacingAndAlignSheet.rules; 4045 0 < eyeAbleVariables.Word_Spacing ? b[0].style.setProperty("word-spacing", (.16 * eyeAbleVariables.Word_Spacing).toFixed(2) + "em", "important") : b[0].style.removeProperty("word-spacing"); 4046 0 < eyeAbleVariables.Letter_Spacing ? b[0].style.setProperty("letter-spacing", (.06 * eyeAbleVariables.Letter_Spacing).toFixed(2) + "em", "important") : b[0].style.removeProperty("letter-spacing"); 4047 "0" !== eyeAbleVariables.Alignment ? b[0].style.setProperty("text-align", eyeAbleVariables.Alignment, "important") : b[0].style.removeProperty("text-align"); 4048 eyeAble_spacingAndAlignSheet.disabled = !1 4049 }) 4050} 4051 4052function eyeAble_clickZoomBox() { 4053 eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.contains("eyeAble_collapsed") ? eyeAble_openZoomBox() : eyeAble_closeZoomBox() 4054} 4055 4056function eyeAble_openZoomBox() { 4057 if (!eyeAble_fontSizeEnabled) return !1; 4058 eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.remove("eyeAble_collapsed"); 4059 eyeAble_shadowRoot.getElementById("eyeA-zoomBoxArrowDown").style.transform = "rotate(180deg)"; 4060 eyeAble_shadowRoot.getElementById("zoomBoxOpener").setAttribute("aria-expanded", "true");
4061 eyeAble_addZoomboxTabIndices() 4062} 4063 4064function eyeAble_closeZoomBox() { 4065 if (!eyeAble_fontSizeEnabled) return !1; 4066 eyeAble_shadowRoot.getElementById("eyeAble_zoomBox1").classList.add("eyeAble_collapsed"); 4067 eyeAble_shadowRoot.getElementById("eyeA-zoomBoxArrowDown").style.transform = "none"; 4068 eyeAble_shadowRoot.getElementById("zoomBoxOpener").setAttribute("aria-expanded", "false"); 4069 eyeAble_deleteZoomboxTabIndices() 4070} 4071 4072var eyeAble_zoomStyle; 4073 4074function eyeAble_resetWebsiteZoom() { 4075 if (!eyeAble_fontSizeEnabled) return !1; 4076 eyeAble_setVar("Zoom_Lvl", 1); 4077 eyeAble_shadowRoot.getElementById("zoomRangerID") && (eyeAble_shadowRoot.getElementById("zoomRangerID").value = 0, eyeAble_shadowRoot.getElementById("zoomTxt").innerText = "100%"); 4078 eyeAble_session_parameters.isPlugin ? eyeAble_zoomStyle && 0 < eyeAble_zoomStyle.rules.length && fastdomEA.mutate(function () { 4079 eyeAble_zoomStyle.deleteRule(0); 4080 setTimeout(function () { 4081 window.dispatchEvent(new Event("resize")) 4082 }, 100) 4083 }) : chrome.runtime.sendMessage({ 4084 greeting: "eyeAble_setZoom", 4085 zoomFactor: 1 4086 }, function (a) { 4087 }) 4088} 4089 4090function eyeAble_calculateZoomLvl(a) { 4091 var b = 1; 4092 0 < a && (b = a < eyeAble_settings.layoutCorrectThreshold ? 1 + a / 100 : 1 + (a - eyeAble_settings.layoutCorrectThreshold + 2) / 20); 4093 return b 4094} 4095 4096function eyeAble_calculateSizeAndHeight(a) { 4097 a >= eyeAble_settings.layoutCorrectThreshold ? a = eyeAble_settings.layoutCorrectThreshold - 1 : a < parseInt(eyeAble_settings.minimumFontSizeIncrease) + 1 && (a = parseInt(eyeAble_settings.minimumFontSizeIncrease) + 1); 4098 eyeAble_setVar("Fontsize", a); 4099 eyeAble_setVar("Line_height", a); 4100 eyeAble_forceLineheight = !1; 4101 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && (eyeAble_fontsizeStyleUpdate(), eyeAble_lnHeightStyleUpdate()) 4102} 4103 4104function eyeAble_setWebsiteZoom() { 4105 if (!eyeAble_fontSizeEnabled || eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.disableZoom || eyeAble_session_parameters.isMobile) return !1; 4106 eyeAble_shadowRoot.getElementById("zoomRangerID") && eyeAble_zoomStyleUpdate(); 4107 eyeAble_updateNotifcationBannerPosition(); 4108 eyeAble_session_parameters.isExtension && !eyeAble_session_parameters.isPlugin ? fastdomEA.mutate(function () { 4109 chrome.runtime.sendMessage({greeting: "eyeAble_setZoom", zoomFactor: eyeAbleVariables.Zoom_Lvl}, function (a) { 4110 }) 4111 }) : 4112 (eyeAble_zoomStyle || (eyeAble_zoomStyle = function () { 4113 var a = document.createElement("style"); 4114 a.appendChild(document.createTextNode("")); 4115 document.head.appendChild(a); 4116 return a.sheet 4117 }()), fastdomEA.mutate(function () { 4118 0 !== eyeAble_zoomStyle.rules.length && eyeAble_zoomStyle.deleteRule(0) 4119 }), 0 < navigator.userAgent.indexOf("Firefox") || fastdomEA.mutate(function () { 4120 eyeAble_addCSSRule(eyeAble_zoomStyle, "body", "zoom : " + eyeAbleVariables.Zoom_Lvl.toFixed(2) + ";"); 4121 setTimeout(function () { 4122 window.dispatchEvent(new Event("resize")) 4123 }, 4124 100) 4125 })); 4126 fastdomEA.measure(function () { 4127 var a = eyeAble_shadowRoot.getElementById("eyeAble_columID"); 4128 a.scrollHeight > window.innerHeight * parseInt(getComputedStyle(a).maxHeight) / 100 && a.classList.contains("animeEyeAbleExtended") && fastdomEA.mutate(function () { 4129 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.overflowY = "auto" 4130 }) 4131 }) 4132} 4133 4134function eyeAble_deleteZoomboxTabIndices() { 4135 eyeAble_hideClickableElements("eyeAble_zoomBox1") 4136} 4137 4138function eyeAble_addZoomboxTabIndices() { 4139 eyeAble_showClickableElements("eyeAble_zoomBox1") 4140}; 4141 4142function eyeAble_initMagnifier() { 4143 eyeAble_session_parameters.isExtension && !eyeAble_session_parameters.isPlugin && (eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").addEventListener("click", eyeAble_takeScreenshot), eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").style.setProperty("display", "inline-block", "important")) 4144} 4145 4146var eyeAble_takingScreenshot = !1; 4147 4148function eyeAble_takeScreenshot() { 4149 if (!eyeAble_magnifierEnabled) return !1; 4150 eyeAble_session_parameters.isPlugin || eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID") || (eyeAble_removeTooltip(), -1 !== eyeAble_retractionTimeoutID && (clearTimeout(eyeAble_retractionTimeoutID), eyeAble_retractionTimeoutID = -1), setTimeout(function () { 4151 chrome.runtime.sendMessage({greeting: "eyeAble_Screenshot"}, function (a) { 4152 eyeAble_takingScreenshot = !0; 4153 var b = document.createElement("IMG"); 4154 b.classList.add("eyeAble_img-magnifier_background"); 4155 b.setAttribute("src", a.imgSrc); 4156 b.setAttribute("id", "screenID"); 4157 b.setAttribute("width", window.innerWidth.toString() + "px"); 4158 b.setAttribute("height", window.innerHeight.toString() + "px"); 4159 b.style.setProperty("min-width", window.innerWidth.toString() + "px"); 4160 b.style.setProperty("min-height", window.innerHeight.toString() + "px"); 4161 b.style.setProperty("max-width", window.innerWidth.toString() + "px"); 4162 b.style.setProperty("max-height", window.innerHeight.toString() + "px"); 4163 eyeAble_showScreenshot(b) 4164 }) 4165 }, 10)) 4166} 4167 4168function eyeAble_showScreenshot(a) { 4169 var b = document.createElement("DIV"); 4170 b.classList.add("eyeAble_img-magnifier_glass"); 4171 b.setAttribute("id", "eyeAble_magnifierContainerID"); 4172 eyeAble_shadowRoot.appendChild(b); 4173 b.appendChild(a); 4174 eyeAble_magnify("eyeAble_magnifierContainerID", "screenID", 2); 4175 eyeAble_takingScreenshot = !1 4176} 4177 4178function eyeAble_magnify(a, b, c) { 4179 function d(l) { 4180 if ("undefined" !== typeof l && l.key) switch (l.key.toLowerCase()) { 4181 case "m": 4182 f(); 4183 break; 4184 case "escape": 4185 f() 4186 } 4187 } 4188 4189 function e(l) { 4190 fastdomEA.measure(function () { 4191 l && l.preventDefault(); 4192 var m = l.pageX - 125, q = l.pageY - 125, n = 125 - l.pageX + window.pageXOffset, 4193 r = 125 - l.pageY + window.pageYOffset; 4194 fastdomEA.mutate(function () { 4195 g.style.left = m + "px"; 4196 g.style.top = q + "px"; 4197 h.style.left = n.toString() + "px"; 4198 h.style.top = r.toString() + "px" 4199 }) 4200 }) 4201 } 4202 4203 function f(l) { 4204 eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID") && 4205 eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID").remove(); 4206 eyeAble_shadowRoot.getElementById("eyeAble_columID").matches(":hover") || eyeAble_retractIconbar(); 4207 document.body.removeEventListener("mousemove", e); 4208 window.removeEventListener("wheel", f); 4209 window.removeEventListener("keydown", d); 4210 "click" === l.type && "function" === typeof document.elementFromPoint(l.x, l.y).click && (document.elementFromPoint(l.x, l.y).click(), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && 4211 eyeAble_shadowRoot.elementFromPoint(l.x, l.y).click()) 4212 } 4213 4214 var h = eyeAble_shadowRoot.getElementById(b), g = eyeAble_shadowRoot.getElementById(a); 4215 g.style.transform = "scale(" + c.toString() + ")"; 4216 g.addEventListener("click", f); 4217 window.addEventListener("wheel", f); 4218 document.body.addEventListener("mousemove", e); 4219 window.addEventListener("keydown", d); 4220 eyeAble_shadowRoot.getElementById("eyeA-magnifierID").matches(":hover") ? (a = eyeAble_shadowRoot.getElementById("eyeA-magnifierID").getBoundingClientRect(), g.style.left = (window.pageXOffset + 4221 a.left - 62.5).toString() + "px", g.style.top = (window.pageYOffset + a.top - 62.5).toString() + "px") : (g.style.left = (window.pageXOffset + parseInt(h.width) / 2 - 125).toString() + "px", g.style.top = (window.pageYOffset + parseInt(h.height) / 2 - 125).toString() + "px") 4222};var eyeAble_cssCustomSheet, eyeAble_hcDetected = !1; 4223
4224function eyeAble_initCSS() { 4225 var a = !0; 4226 eyeAble_hcDetected = function () { 4227 var f = document.createElement("div"); 4228 f.style.color = "rgb(31, 41, 59)"; 4229 document.body.appendChild(f); 4230 var h = document.defaultView ? document.defaultView.getComputedStyle(f, null).color : f.currentStyle.color; 4231 h = h.replace(/ /g, ""); 4232 document.body.removeChild(f); 4233 125 > eyeAble_getBrightness(eyeAble_convertColor(h)) && (a = !1); 4234 return "rgb(31,41,59)" !== h ? !0 : !1 4235 }(); 4236 if ("undefined" !== typeof eyeAble_CSSText) { 4237 var b = document.createElement("style"); 4238 b.setAttribute("id", 4239 "eyeAble_inlineCSSID"); 4240 b.innerHTML = eyeAble_CSSText; 4241 eyeAble_shadowRoot.appendChild(b); 4242 eyeAble_ccsLoaded = !0 4243 } else eyeAble_shadowRoot.getElementById("eyeABle_mainCSSID").setAttribute("href", eyeAble_imagePaths.cssPath); 4244 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customCssRules) { 4245 var c = function () { 4246 var f = document.createElement("style"); 4247 f.appendChild(document.createTextNode("")); 4248 eyeAble_shadowRoot.appendChild(f); 4249 return f.sheet 4250 }(); 4251 b = $jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.customCssRules)); 4252 for (var d = b.next(); !d.done; d = b.next()) { 4253 var e = $jscomp.makeIterator(d.value); 4254 d = e.next().value; 4255 e = e.next().value; 4256 eyeAble_addCSSRule(c, d, e) 4257 } 4258 } 4259 eyeAble_hcDetected && (c || (c = function () { 4260 var f = document.createElement("style"); 4261 f.appendChild(document.createTextNode("")); 4262 eyeAble_shadowRoot.appendChild(f); 4263 return f.sheet 4264 }()), eyeAble_addCSSRule(c, ".eyeAble_tgswitch,.eyeAble_setting-toggole-button", "filter: invert(1);"), a ? (eyeAble_addCSSRule(c, ".eyeAble_alignImg > img", "filter: invert(1);"), eyeAble_addCSSRule(c, '[eaarialangid="ariaAlignNone"] > img, [eaarialangid="ariaCursorToogle"] > img', 4265 "filter: none !important;")) : (eyeAble_addCSSRule(c, ".eyeAble_smallIconHeader:hover, .eyeAble_smallIconHeader:focus", "filter: invert(1) !important;"), eyeAble_addCSSRule(c, '.eyeAble_settings-block-icon,.eyeAble-arrowDown,.eyeAble_smallIconHeader,.eyeAble-sr-controls-icon > img,.eyeAble_sr-cmncontrols-icon > img,[eaaltlangid="altSettingsSrOpen"],[eaaltlangid="altCloseWindow"], input', "filter: invert(1);"))) 4266} 4267 4268var eyeAble_defaultCssVars = { 4269 "--main-toolbar-background": "linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(20,20,20,1) 100%)", 4270 "--fixed-header-background": "linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(38, 38, 38, 1) 100%)", 4271 "--main-text-color": "white", 4272 "--fixedHeader-text-color": "white", 4273 "--inactive-hover-shadow": "0px 0px 4px 2px white", 4274 "--inactive-hover-background": "linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(43,43,43,1) 100%)", 4275 "--active-hover-shadow": "#ff606d", 4276 "--active-text-color": "black", 4277 "--active-background": "linear-gradient(180deg,rgba(255,255,255,1) 0,rgba(255,255,255,0.8) 100%)", 4278 "--border-color": "#606060", 4279 "--boxes-background": "linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(38, 38, 38, 1) 100%)", 4280 "--font-family": "'Open Sans - Regular', Open Sans, sans-serif", 4281 "--font-weight-text": "400", 4282 "--font-size-buttons": "17px", 4283 "--font-size-smallerText": "16px", 4284 "--font-size-readable": "14px", 4285 "--font-size-colorSelect": "12px", 4286 "--font-font-transform": "translate(0px, 0px)", 4287 "--icon-glow": "drop-shadow(0px 0 2px silver)", 4288 "--toolbar-z-index": "2147483645" 4289}; 4290 4291function eyeAble_loadColorVarsCSS() { 4292 var a = document.createElement("style"); 4293 a.id = "customCSSvariables"; 4294 eyeAble_shadowRoot.appendChild(a); 4295 eyeAble_cssCustomSheet = a.sheet; 4296 a = ""; 4297 for (var b = $jscomp.makeIterator(Object.entries(eyeAble_defaultCssVars)), c = b.next(); !c.done; c = b.next()) { 4298 var d = $jscomp.makeIterator(c.value); 4299 c = d.next().value; 4300 d = d.next().value; 4301 a += c + ":" + d + ";" 4302 } 4303 eyeAble_addCSSRule(eyeAble_cssCustomSheet, ":host", a); 4304 eyeAble_pluginLocalConfig && !1 === eyeAble_pluginLocalConfig.activeImageInversion && eyeAble_addCSSRule(eyeAble_cssCustomSheet, 4305 ".eyeAbleActive>.eyeAbleInvert, .eyeAbleActive>div>.eyeAbleInvert", "filter : none;") 4306} 4307 4308function eyeAble_resetColorVarsToDefault() { 4309 for (var a = eyeAble_cssCustomSheet.cssRules || eyeAble_cssCustomSheet.rules, b = $jscomp.makeIterator(Object.entries(eyeAble_defaultCssVars)), c = b.next(); !c.done; c = b.next()) { 4310 var d = $jscomp.makeIterator(c.value); 4311 c = d.next().value; 4312 d = d.next().value; 4313 a[0].style.setProperty(c, d) 4314 } 4315};var eyeAble_pluginLocalConfig; 4316 4317function eyeAble_applyExternalCustomization() { 4318 try { 4319 if (eyeAble_pluginConfig) { 4320 try { 4321 "function" === typeof eyeAble_updateConfig && eyeAble_updateConfig() 4322 } catch (N) { 4323 console.error("Custom Eye-Able Config Function failed. Please check the code of eyeAble_updateConfig() or contact the support at [email protected]", N) 4324 } 4325 eyeAble_pluginLocalConfig = eyeAble_pluginConfig; 4326 eyeAble_pluginConfig.simulatePlugin && (eyeAble_session_parameters.isPlugin = !0);
4327 eyeAble_pluginLocalConfig.customBackgroundColor && (eyeAble_pluginLocalConfig.newColor || 4328 (eyeAble_pluginLocalConfig.newColor = {}), eyeAble_pluginLocalConfig.newColor["--boxes-background"] = eyeAble_pluginLocalConfig.customBackgroundColor, eyeAble_pluginLocalConfig.newColor["--fixed-header-background"] = eyeAble_pluginLocalConfig.customBackgroundColor, eyeAble_pluginLocalConfig.newColor["--main-toolbar-background"] = eyeAble_pluginLocalConfig.customBackgroundColor, eyeAble_pluginLocalConfig.customCssRules || (eyeAble_pluginLocalConfig.customCssRules = {}), eyeAble_pluginLocalConfig.customCssRules[".eyeAble_tooltip:after"] = 4329 "background : " + eyeAble_pluginLocalConfig.customBackgroundColor); 4330 if (1 === eyeAble_pluginLocalConfig.mainIconAlt || "1" === eyeAble_pluginLocalConfig.mainIconAlt) eyeAble_imagePaths.mainIconPath = eyeAble_fileHomePath + "images/eye-able_whitelabel-icon.svg"; else if (2 === eyeAble_pluginLocalConfig.mainIconAlt || "2" === eyeAble_pluginLocalConfig.mainIconAlt) eyeAble_imagePaths.mainIconPath = eyeAble_fileHomePath + "images/eye-able_whitelabel-icon_2.svg"; 4331 eyeAble_pluginConfig.customFeatures && (eyeAble_session_parameters.isMobile ? 4332 eyeAble_pluginConfig.customMobileFeatures ? eyeAble_activeFeatures = eyeAble_pluginConfig.customMobileFeatures : console.log("No Custom Mobile Design available.") : eyeAble_pluginConfig.customDesktopFeatures ? eyeAble_activeFeatures = eyeAble_pluginConfig.customDesktopFeatures : console.log("No Custom Desktop Design available.")); 4333 eyeAble_pluginConfig.onlyOneContrast && (eyeAble_setVar("iAble_Text_Color", eyeAble_pluginConfig.onlyOneContrast.color, 1), eyeAble_setVar("iAble_Background_Color", eyeAble_pluginConfig.onlyOneContrast.background, 4334 1)); 4335 eyeAble_pluginConfig.forceInlineColor && (eyeAble_forceInlineColor = eyeAble_pluginConfig.forceInlineColor); 4336 !1 === eyeAble_pluginConfig.enableLinkHighlighting && (eyeAble_enableLinkHighlighting = !1); 4337 if (eyeAble_pluginConfig.alternativeFilePaths) for (var a = $jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.alternativeFilePaths)), b = a.next(); !b.done; b = a.next()) { 4338 var c = $jscomp.makeIterator(b.value), d = c.next().value, e = c.next().value; 4339 d && e && (eyeAble_imagePaths[d] = eyeAble_fileHomePath + e) 4340 } 4341 if (eyeAble_pluginConfig.newColor) for (var f = 4342 $jscomp.makeIterator(Object.entries(eyeAble_pluginConfig.newColor)), h = f.next(); !h.done; h = f.next()) { 4343 var g = $jscomp.makeIterator(h.value), l = g.next().value, m = g.next().value; 4344 l in eyeAble_defaultCssVars && (eyeAble_defaultCssVars[l] = m) 4345 } 4346 eyeAble_pluginConfig.customOneClickSettings && !eyeAbleVariables.OneClickSaved && eyeAble_setVar("OneClickSettingsDeviations", eyeAble_pluginConfig.customOneClickSettings); 4347 eyeAble_pluginConfig.websiteLock && !window.location.hostname.includes(eyeAble_pluginConfig.websiteLock) && (eyeAbleRunPlugin = 4348 !1, console.log("Website is not in the configured domain range.")); 4349 eyeAble_pluginConfig.sidePosition && !eyeAble_session_parameters.isMobile && ("left" === eyeAble_pluginConfig.sidePosition || "right" === eyeAble_pluginConfig.sidePosition ? eyeAble_setVar("sidePosition", eyeAble_pluginConfig.sidePosition) : console.log("Wrong format for custom Side Position")); 4350 eyeAble_pluginConfig.mobileSidePosition && ("left" === eyeAble_pluginConfig.mobileSidePosition || "right" === eyeAble_pluginConfig.mobileSidePosition ? eyeAble_setVar("mobileSidePosition", 4351 eyeAble_pluginConfig.mobileSidePosition) : console.log("Wrong format for custom Side Position")); 4352 eyeAble_pluginConfig.topPosition && (parseFloat(eyeAble_pluginConfig.topPosition), eyeAble_pluginConfig.topPosition.includes("%") || eyeAble_pluginConfig.topPosition.includes("px") ? eyeAble_setVar("topPosition", eyeAble_pluginConfig.topPosition) : console.log("Wrong format for custom Top Position")); 4353 if (eyeAble_pluginConfig.mobileBottomPosition) { 4354 var q = parseFloat(eyeAble_pluginConfig.mobileBottomPosition); 4355 !eyeAble_pluginConfig.mobileBottomPosition.includes("%") || 4356 0 <= q && 100 >= q ? eyeAble_setVar("mobileBottomPosition", eyeAble_pluginConfig.mobileBottomPosition) : console.log("Wrong format for custom mobileBottomPosition") 4357 } 4358 if (eyeAble_pluginConfig.rightPosition) { 4359 var n = parseFloat(eyeAble_pluginConfig.rightPosition); 4360 0 <= n && 100 >= n ? eyeAble_setVar("rightPosition", eyeAble_pluginConfig.rightPosition) : console.log("Wrong format for custom Right Position") 4361 } 4362 if (eyeAble_pluginConfig.mobileRightPosition) { 4363 var r = parseFloat(eyeAble_pluginConfig.mobileRightPosition); 4364 0 <= r && 100 >= r ? eyeAble_setVar("mobileRightPosition", 4365 eyeAble_pluginConfig.mobileRightPosition) : console.log("Wrong format for custom mobileRightPosition ") 4366 } 4367 if (eyeAble_pluginConfig.contrastGraduationIntensity || 0 === eyeAble_pluginConfig.contrastGraduationIntensity) { 4368 var v = parseInt(eyeAble_pluginConfig.contrastGraduationIntensity); 4369 100 >= v && 0 <= v ? eyeAble_contrastGraduationIntensity = v : console.log("Wrong format for custom Color Graduation!") 4370 } 4371 if (eyeAble_pluginConfig.fontsizeThreshold) { 4372 var A = parseInt(eyeAble_pluginConfig.fontsizeThreshold); 4373 A && 0 < A && (eyeAble_settings.layoutCorrectThreshold = 4374 A + 1) 4375 }
4376 if (eyeAble_pluginConfig.maxMagnification) { 4377 var E = parseInt(eyeAble_pluginConfig.maxMagnification); 4378 E && 0 < E && (eyeAble_settings.maximumFontSizeIncrease = E + 1) 4379 } 4380 if (eyeAble_pluginConfig.maxMobileMagnification && eyeAble_session_parameters.isMobile) { 4381 var I = parseInt(eyeAble_pluginConfig.maxMobileMagnification); 4382 I && 0 < I && (eyeAble_settings.maximumFontSizeIncrease = I + 1) 4383 } 4384 eyeAble_pluginConfig.userLang && 1 < eyeAble_pluginConfig.userLang.length && (eyeAble_userLang = eyeAble_pluginConfig.userLang); 4385 !1 === eyeAble_pluginConfig.setWhiteImgBackground ? 4386 eyeAble_setWhiteImgBackground = !1 : !0 === eyeAble_pluginConfig.setWhiteImgBackground && (eyeAble_setWhiteImgBackground = !0); 4387 eyeAble_pluginLocalConfig && (eyeAble_pluginLocalConfig.customSrBlacklistCSS && (eyeAble_SrBlacklistClass = eyeAble_pluginLocalConfig.customSrBlacklistCSS), eyeAble_pluginLocalConfig.customSrStartCSS && (eyeAble_SrStartElementClass = eyeAble_pluginLocalConfig.customSrStartCSS), eyeAble_pluginLocalConfig.customSrTextCSS && (eyeAble_SrTextBlockClass = eyeAble_pluginLocalConfig.customSrTextCSS)); 4388 eyeAble_pluginConfig.sRStartElement && 4389 document.body.querySelector(eyeAble_pluginConfig.sRStartElement).classList.add(eyeAble_SrStartElementClass); 4390 eyeAble_pluginConfig.sRTextBlock && document.body.querySelector(eyeAble_pluginConfig.sRTextBlock).classList.add(eyeAble_SrTextBlockClass); 4391 var H; 4392 eyeAble_pluginConfig.blacklistScreenReader && (H = eyeAble_pluginConfig.blacklistScreenReader.split(",")); 4393 if (H && 0 < H.length) for (a = 0; a < H.length; a++) if (0 < H[a].length) { 4394 var L = document.querySelectorAll(H[a].trim()); 4395 if (L) for (b = 0; b < L.length; b++) L[b].classList.add(eyeAble_SrBlacklistClass) 4396 } 4397 eyeAble_pluginConfig.useAzureVoices && 4398 eyeAble_pluginConfig.azureRegion && eyeAble_pluginConfig.azureApiKey && (window.enableAzureTTS = !0, window.eyeAble_forceExternalTTS = !0, sdkApiKey = eyeAble_pluginConfig.azureApiKey, sdkRegion = eyeAble_pluginConfig.azureRegion); 4399 "undefined" !== typeof eyeAble_pluginConfig && eyeAble_pluginConfig.externalLogoUrl && (eyeAble_imagePaths.mainIconPath = eyeAble_pluginConfig.externalLogoUrl); 4400 "undefined" !== typeof eyeAble_pluginConfig && eyeAble_pluginConfig.externalToolbarLogoUrl && (eyeAble_imagePaths.mainIconFullPath
4400= eyeAble_pluginConfig.externalToolbarLogoUrl); 4401 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.readSpeaker && (eyeAble_imagePaths.navTTSPath = eyeAble_fileHomePath + "images/custom/Eye-Able-Main-ReadSpeaker_small.png"); 4402 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.hideIcon && (eyeAble_hideMainIcon = !0); 4403 eA_top && eyeAble_setVar("topPosition", eA_top); 4404 eA_side && eyeAble_setVar("sidePosition", eA_side); 4405 eA_bottom && eyeAble_setVar("mobileBottomPosition", eA_bottom) 4406 } 4407 } catch (N) { 4408 } 4409};var eyeAble_activeFeaturesBase = { 4410 id: "Free", 4411 OneClick: !0, 4412 FontSize: !0, 4413 FontSizeLimit: 2, 4414 Magnifier: !1, 4415 Contrast: !1, 4416 Bluefilter: !0, 4417 Nightmode: !0, 4418 Reader: !1, 4419 TabNav: !0, 4420 Sitemap: !1, 4421 ColorCorrection: !1, 4422 FontFamily: !1, 4423 BluefilterAuto: !1, 4424 BigCursor: !1, 4425 HideImages: !1, 4426 BlockAnimations: !1, 4427 MuteAudio: !1, 4428 MoreFunctions: !1, 4429 SettingsTopIcon: !0, 4430 InfoTopIcon: !0 4431 }, eyeAble_activeFeaturesBaseMobile = { 4432 id: "Free", 4433 OneClick: !0, 4434 FontSize: !0, 4435 FontSizeLimit: 2, 4436 Magnifier: !1, 4437 Contrast: !1, 4438 Bluefilter: !0, 4439 Nightmode: !0, 4440 Reader: !1, 4441 TabNav: !1, 4442 Sitemap: !1, 4443 ColorCorrection: !1, 4444 FontFamily: !1, 4445 BluefilterAuto: !1, 4446 BigCursor: !1, 4447 HideImages: !1, 4448 BlockAnimations: !1, 4449 MuteAudio: !1, 4450 MoreFunctions: !1, 4451 SettingsTopIcon: !0, 4452 InfoTopIcon: !0 4453 }, eyeAble_activeFeaturesMobile = { 4454 id: "Mobile", 4455 OneClick: !0, 4456 FontSize: !0, 4457 FontSizeLimit: 100, 4458 Magnifier: !1, 4459 Contrast: !0, 4460 Bluefilter: !0, 4461 Nightmode: !0, 4462 Reader: !0, 4463 TabNav: !1, 4464 Sitemap: !0, 4465 ColorCorrection: !0, 4466 FontFamily: !0, 4467 BluefilterAuto: !1, 4468 BigCursor: !1, 4469 HideImages: !0, 4470 BlockAnimations: !0, 4471 MuteAudio: !0, 4472 MoreFunctions: !1, 4473 SettingsTopIcon: !0, 4474 InfoTopIcon: !1 4475 }, eyeAble_activeFeaturesLight = { 4476 id: "Pro", 4477 OneClick: !0, 4478 FontSize: !0, 4479 FontSizeLimit: 100, 4480 Magnifier: !0, 4481 Contrast: !0, 4482 Bluefilter: !0, 4483 Nightmode: !0, 4484 Reader: !1, 4485 TabNav: !1, 4486 Sitemap: !1, 4487 ColorCorrection: !0, 4488 FontFamily: !0, 4489 BluefilterAuto: !0, 4490 BigCursor: !0, 4491 HideImages: !0, 4492 BlockAnimations: !0, 4493 MuteAudio: !0, 4494 MoreFunctions: !0, 4495 SettingsTopIcon: !0, 4496 InfoTopIcon: !0 4497 }, eyeAble_activeFeaturesPro = { 4498 id: "Pro", 4499 OneClick: !0, 4500 FontSize: !0, 4501 FontSizeLimit: 100, 4502 Magnifier: !0, 4503 Contrast: !0, 4504 Bluefilter: !0, 4505 Nightmode: !0, 4506 Reader: !0, 4507 TabNav: !0, 4508 Sitemap: !0, 4509 ColorCorrection: !0, 4510 FontFamily: !0, 4511 BluefilterAuto: !0, 4512 BigCursor: !0, 4513 HideImages: !0, 4514 BlockAnimations: !0, 4515 MuteAudio: !0, 4516 MoreFunctions: !0, 4517 SettingsTopIcon: !0, 4518 InfoTopIcon: !0 4519 }, eyeAble_activeFeatures = eyeAble_activeFeaturesPro, eyeAble_oneClickEnabled = !0, eyeAble_fontSizeEnabled = !0, 4520 eyeAble_contrastEnabled = !0, eyeAble_bluefilterEnabled = !0, eyeAble_nightmodeEnabled = !0, 4521 eyeAble_readerEnabled = !0, eyeAble_tabNavEnabled = !0, eyeAble_colorCorrEnabled = !0, 4522 eyeAble_fontFamilyEnabled = !0, eyeAble_bluefilterAutoEnabled = !0, eyeAble_bigCursorEnabled = !0, 4523 eyeAble_blockAnimationsEnabled = !0, eyeAble_hideImagesAutoEnabled = 4524 !0, eyeAble_muteAudioAutoEnabled = !0, eyeAble_magnifierEnabled = !0, eyeAble_sitemapEnabled = !0, 4525 eyeAble_moreFunctionsButtonEnabled = !0, eyeAble_settingsTopIconEnabled = !0, eyeAble_infoTopIconEnabled = !0; 4526 4527function eyeAble_isSafari() { 4528 var a = window.navigator.userAgent, b = !!a.match(/iPad/i) || !!a.match(/iPhone/i), c = !!a.match(/WebKit/i); 4529 a = b && c && !a.match(/CriOS/i); 4530 return /constructor/i.test(window.HTMLElement) || "[object SafariRemoteNotification]" === (!window.safari || "undefined" !== typeof safari && window.safari.pushNotification).toString() || a ? !0 : !1 4531} 4532 4533function eyeAble_reduceFeatures() { 4534 var a = "eyeAble_hideFunction"; 4535 "Free" === eyeAble_activeFeatures.id && !0 === eyeAble_session_parameters.isExtension && (a = "eyeAble_dimFunction"); 4536 eyeAble_isSafari() && (eyeAble_activeFeatures.ColorCorrection = !1); 4537 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceLocalVoiceOnly) { 4538 for (var b = speechSynthesis.getVoices(), c = !1, d = 0; d < b.length; d++) !0 === b[d].localService && (c = !0); 4539 c || (eyeAble_activeFeatures.Reader = !1) 4540 } 4541 !0 === eyeAble_nightmodeBlacklisted && (eyeAble_activeFeatures.Nightmode = 4542 !1); 4543 b = $jscomp.makeIterator(Object.entries(eyeAble_activeFeatures)); 4544 for (c = b.next(); !c.done; c = b.next()) if (d = $jscomp.makeIterator(c.value), c = d.next().value, d = d.next().value, "boolean" === typeof d && !1 === d) switch (c) { 4545 case "OneClick": 4546 eyeAble_oneClickEnabled = !1; 4547 eyeAble_shadowRoot.querySelector("#oneClickID").classList.add(a); 4548 break; 4549 case "FontSize": 4550 eyeAble_fontSizeEnabled = !1; 4551 eyeAble_shadowRoot.querySelector("#zoomBoxOpener").classList.add(a); 4552 eyeAble_shadowRoot.querySelector("#eyeAble_zoomBox1").classList.add(a); 4553 break; 4554 case "Contrast": 4555 eyeAble_contrastEnabled = !1; 4556 eyeAble_shadowRoot.querySelector("#colorsID").classList.add(a); 4557 break; 4558 case "Bluefilter": 4559 eyeAble_bluefilterEnabled = !1; 4560 eyeAble_shadowRoot.querySelector("#bluefilterContainerID").classList.add(a); 4561 eyeAble_shadowRoot.querySelector("#eyeABle_bluefilterCtrlID").classList.add(a); 4562 break; 4563 case "Nightmode": 4564 eyeAble_nightmodeEnabled = !1; 4565 eyeAble_shadowRoot.querySelector("#bwID").classList.add(a); 4566 break; 4567 case "TabNav": 4568 eyeAble_shadowRoot.querySelector("#tabNavContainerID").classList.add(a); 4569 break; 4570 case "Reader": 4571 eyeAble_readerEnabled = !1; 4572 eyeAble_shadowRoot.querySelector("#navAndSpeechContainerID").classList.add(a); 4573 break; 4574 case "ColorCorrection": 4575 eyeAble_colorCorrEnabled = !1; 4576 eyeAble_shadowRoot.querySelector("#colorblindID").classList.add(a); 4577 break; 4578 case "FontFamily": 4579 eyeAble_fontFamilyEnabled = !1; 4580 eyeAble_shadowRoot.querySelector("#fontID") && eyeAble_shadowRoot.querySelector("#fontID").classList.add(a); 4581 break; 4582 case "BluefilterAuto": 4583 eyeAble_bluefilterAutoEnabled = !1; 4584 break; 4585 case "BigCursor": 4586 eyeAble_bigCursorEnabled = 4587 !1; 4588 break; 4589 case "BlockAnimations": 4590 eyeAble_blockAnimationsEnabled = !1; 4591 break; 4592 case "HideImages": 4593 eyeAble_hideImagesAutoEnabled = !1; 4594 eyeAble_shadowRoot.querySelector("#hideImagesContainerID").classList.add(a); 4595 break; 4596 case "MuteAudio": 4597 eyeAble_muteAudioAutoEnabled = !1; 4598 break; 4599 case "Magnifier": 4600 eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").classList.add(a); 4601 eyeAble_magnifierEnabled = !1; 4602 break; 4603 case "Sitemap": 4604 eyeAble_sitemapEnabled = !1; 4605 break; 4606 case "MoreFunctions": 4607 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.add(a); 4608 eyeAble_shadowRoot.getElementById("resetID").style.marginTop = "0px"; 4609 eyeAble_moreFunctionsButtonEnabled = !1; 4610 break; 4611 case "SettingsTopIcon": 4612 eyeAble_shadowRoot.getElementById("settingsTopbarID").classList.add(a); 4613 eyeAble_settingsTopIconEnabled = !1; 4614 break; 4615 case "InfoTopIcon": 4616 eyeAble_shadowRoot.getElementById("infoIconBarID").classList.add(a), eyeAble_infoTopIconEnabled = !1 4617 } 4618 "Free" === eyeAble_activeFeatures.id && !0 === eyeAble_session_parameters.isExtension && (eyeAble_shadowRoot.querySelector("#moreFunctionsContainerID").classList.add(a), 4619 a = "https://eye-able.com/produkt/browser-barrierefrei", eyeAble_session_parameters.isExtension && !chrome.i18n.getUILanguage().includes("de") && (a = "https://eye-able.com/en/product/browser-barrierefrei"), a = '<div class="eyeAbletooltip eyeAtabClickable" id="getProContainerID" tabindex="0"> <img eyeAbleSkipNav="true" class="eyeAble_smallIconClass" src="' + eyeAble_imagePaths.proVersionPath + '"> <a target="_blank" rel="noopener noreferrer" href="' + a + '" class="eyeAble_tooltiptext" ealangid="proTxt">' + eyeAble_getMessage("proTxt") + 4620 "</a></div> ", eyeAble_shadowRootHtml.querySelector("#eyeAble_mainToolbarContentID").insertAdjacentHTML("beforeend", a)) 4621};var eyeAble_fired = !1, eyeAble_keyPressed = !1, eyeAble_keyPressedTimeoutID = -1, 4622 eyeAble_registeredKeys = [13, 32, 66, 67, 69, 70, 77, 78, 81, 83, 84, 86, 87, 88, 107, 109, 187, 189], 4623 eyeAble_keyMapping = { 4624 Reset: 82, 4625 Darkmode: 78, 4626 Bluefilter: 66, 4627 Contrast: 67, 4628 MainToolbar: 49, 4629 Magnifier: 77, 4630 HideImages: 86, 4631 Font: 88, 4632 Screenreader: 83, 4633 TabNavigation: 84, 4634 ShortcutManual: 112, 4635 NavManual: 113, 4636 ContrastWindow: 50, 4637 CorrectionWindow: 51, 4638 FunctionsWindow: 52, 4639 OneClick: 81, 4640 LargeCursor: 89, 4641 AnimationStop: 75, 4642 AudioStop: 74 4643 }, eyeAble_backTabDetected = !1; 4644 4645function eyeAble_initKeyEvents() { 4646 function a(h) { 4647 h.altKey && eyeAble_fontSizeEnabled && (0 > h.deltaY ? eyeAble_increase_font_size() : eyeAble_decrease_font_size(), eyeAble_displayZoomLevelWheel(), h.preventDefault()) 4648 } 4649 4650 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.disableAllShortcuts && eyeAble_setVar("ShortcutsActive", !1); 4651 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customKeyMapping && (eyeAble_keyMapping = eyeAble_pluginLocalConfig.customKeyMapping); 4652 for (var b = document.querySelectorAll("[accesskey]"), 4653 c = [], d = [], e = 0; e < b.length; e++) c.push(b[e].getAttribute("accesskey")); 4654 for (var f in eyeAble_keyMapping) b = eyeAble_keyMapping[f], e = String.fromCharCode(96 <= b && 105 >= b ? b - 48 : b), c.includes(e) && d.push(b); 4655 document.addEventListener("keydown", function (h) { 4656 function g() {
4657 m && m !== document.body && (m.focus(), m = null); 4658 document.getElementById("eyeAble_container_ID").removeEventListener("blur", g) 4659 } 4660 4661 if (!eyeAbleVariables.ShortcutsActive && 27 !== h.keyCode && 13 !== h.keyCode || h.metaKey || "Meta" === h.key || h.shiftKey || h.ctrlKey) return !1; 4662 var l = [66, 86, 83, 84]; 4663 eyeAble_keyPressed = !0; 4664 -1 !== eyeAble_keyPressedTimeoutID && clearTimeout(eyeAble_keyPressedTimeoutID); 4665 eyeAble_keyPressedTimeoutID = setTimeout(function () { 4666 eyeAble_keyPressed = !1; 4667 eyeAble_keyPressedTimeoutID = -1 4668 }, 500); 4669 var m = document.activeElement, q = h.keyCode; 4670 if (!d.includes(q)) { 4671 if (!eyeAble_fired && h.altKey && (-1 === navigator.userAgent.indexOf("Firefox") || !l.includes(q))) { 4672 if (107 === q || 187 === q) eyeAble_increase_font_size(); else if (109 === q || 189 === q) eyeAble_decrease_font_size(); else if (q === eyeAble_keyMapping.Reset) eyeAble_resetAll(); 4673 else if (q === eyeAble_keyMapping.Darkmode) eyeAble_toggleDarkmode(); else if (q === eyeAble_keyMapping.Bluefilter) eyeAble_toggleBluefilter(); else if (q === eyeAble_keyMapping.Contrast) eyeAble_toggleContrastMode(); else if (70 !== q) if (q === eyeAble_keyMapping.MainToolbar) "0" === eyeAbleVariables.Extended && eyeAble_showAll_arrow(), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_retractIconbar(0) : (eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && "none" !== 4674 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display && (eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "none"), eyeAble_extendIconbar()); else if (q === eyeAble_keyMapping.Magnifier) eyeAble_takeScreenshot(); else if (q === eyeAble_keyMapping.HideImages) eyeAble_toggleHideImagesAndVideos(); else if (q === eyeAble_keyMapping.Font) eyeAble_toggleFontFamily(); else if (q === eyeAble_keyMapping.Screenreader) { 4675 if (!eyeAble_tabNavEnabled || !eyeAble_readerEnabled) return !1; 4676 eyeAbleWebsiteNav.toggleNavWithSpeech() 4677 } else if (q === 4678 eyeAble_keyMapping.TabNavigation) { 4679 if (!eyeAble_tabNavEnabled || !eyeAble_readerEnabled) return !1; 4680 eyeAbleWebsiteNav.toggleNavOnly() 4681 } else q === eyeAble_keyMapping.ShortcutManual ? (m = document.activeElement, eyeAble_toggleShortcutManPage()) : q === eyeAble_keyMapping.NavManual ? (m = document.activeElement, document.getElementById("eyeAble_container_ID").addEventListener("blur", g), eyeAbleWebsiteNav.displayUserManualWebsiteNavigation()) : q === eyeAble_keyMapping.ContrastWindow ? (m = document.activeElement, document.getElementById("eyeAble_container_ID").addEventListener("blur", 4682 g), eyeAble_toggleColorPickerWindow()) : q === eyeAble_keyMapping.CorrectionWindow ? (m = document.activeElement, document.getElementById("eyeAble_container_ID").addEventListener("blur", g), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_toggleCCpage() : (eyeAble_extendIconbar(), setTimeout(function () { 4683 eyeAble_toggleCCpage() 4684 }, 400))) : q === eyeAble_keyMapping.FunctionsWindow ? (m = document.activeElement, document.getElementById("eyeAble_container_ID").addEventListener("blur", 4685 g), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_toggleMoreFunctionsPage() : (eyeAble_extendIconbar(), setTimeout(function () { 4686 eyeAble_toggleMoreFunctionsPage() 4687 }, 400))) : q === eyeAble_keyMapping.OneClick ? eyeAble_toggleOneClick() : q === eyeAble_keyMapping.LargeCursor ? eyeAble_toggleBigCursor() : q === eyeAble_keyMapping.AnimationStop ? eyeAble_toggleAnimations() : q === eyeAble_keyMapping.AudioStop && eyeAble_toggleMuteAudio(); 4688 eyeAble_registeredKeys.includes(q) && (eyeAble_fired = 4689 !0) 4690 } 4691 !eyeAble_fired && (13 === q ? eyeAble_shadowRoot.activeElement && eyeAble_shadowRoot.activeElement.classList.contains("eyeAtabClickable") && (eyeAble_extendIconbarDeadtime = !0, setTimeout(function () { 4692 eyeAble_extendIconbarDeadtime = !1 4693 }, 100), eyeAble_shadowRoot.activeElement.click()) : 27 === q ? (h = eyeAble_closeAllOtherPages(""), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && !h && (eyeAbleVariables.minimizeIcon ? eyeAble_closeAll_arrow() : eyeAble_retractIconbar(0, !0)), eyeAble_removeTooltip()) : 4694 32 === q && eyeAbleTTS.stop(), eyeAble_registeredKeys.includes(q) || -1 < Object.values(eyeAble_keyMapping).indexOf(q)) && (eyeAble_fired = !0) 4695 } 4696 }); 4697 document.addEventListener("keyup", function () { 4698 eyeAble_fired = !1 4699 }); 4700 eyeAbleVariables.ShortcutsActive && document.body.addEventListener("wheel", a, {passive: !1}) 4701} 4702 4703var eyeAble_zoomWheelTimeout = -1; 4704 4705function eyeAble_displayZoomLevelWheel() { 4706 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || eyeAbleWebsiteNav.getActiveState() ? eyeAble_openZoomBox() : (eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText = "Zoom Level " + eyeAbleVariables.iAble_Font_Offset, eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "block", -1 !== eyeAble_zoomWheelTimeout && clearTimeout(eyeAble_zoomWheelTimeout), eyeAble_zoomWheelTimeout = setTimeout(function () { 4707 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = 4708 "none"; 4709 eyeAble_zoomWheelTimeout = -1 4710 }, 2E3)) 4711} 4712 4713var eyeAble_ccTempDisabled = !1, eyeAble_ccTempLevel; 4714 4715function eyeAble_temporaryDisableCCmode() { 4716 if ("Deaktiviert" !== eyeAbleVariables.eyeAble_Color_Filter) { 4717 var a = eyeAbleVariables.Color_Filter_Level; 4718 eyeAble_ccTempDisabled && a === eyeAble_ccTempLevel ? (eyeAble_refreshCCranger(), eyeAble_applyCVD(eyeAbleVariables.eyeAble_Color_Filter), eyeAble_ccTempDisabled = !1) : (eyeAble_setVar("Color_Filter_Level", "0"), eyeAble_refreshCCranger(), eyeAble_applyCVD(eyeAbleVariables.eyeAble_Color_Filter), fastdomEA.mutate(function () { 4719 eyeAble_setVar("Color_Filter_Level", a) 4720 }), eyeAble_ccTempLevel = 4721 a, eyeAble_ccTempDisabled = !0) 4722 } 4723};var eyeAble_de = { 4724 appName: {message: "Eye-Able\u00ae - Visuelle Hilfe"}, 4725 appDesc: {message: "Mit Eye-Able\u00ae bist Du in der Lage, jede Website so zu sehen, wie Du es brauchst."}, 4726 headerName: {message: "Eye-Able\u00ae Assistent"}, 4727 sofortText: {message: "Sofortansicht"}, 4728 txtSizeText: {message: "Schriftgr\u00f6\u00dfe"}, 4729 contrastText: {message: "Kontrastmodus"}, 4730 enableBf: {message: "Blaufilter aktivieren"}, 4731 disableBf: {message: "Blaufilter deaktivieren"}, 4732 activeBf: {message: "Blaufilter aktiviert"}, 4733 inactiveBf: {message: "Blaufilter deaktiviert"}, 4734 rangerTopText: {message: "Intensit\u00e4t"}, 4735 nightText: {message: "Nachtmodus"}, 4736 dayText: {message: "Tagmodus"}, 4737 screenreaderText: {message: "Webseite vorlesen"}, 4738 tabNavText: {message: "Tastatur Navigation"}, 4739 ccText: {message: "Farbschw\u00e4che"}, 4740 hideImgText: {message: "Bilder ausblenden"}, 4741 showImgText: {message: "Bilder einblenden"}, 4742 fontText: {message: "Leserliche Schrift"}, 4743 moreFuncText: {message: "Mehr Funktionen"}, 4744 resetAllText: {message: "Alles zur\u00fccksetzen"}, 4745 keyNotifiText: {message: "Steuerungshilfe:"}, 4746 introText: {message: "Seite visuell anpassen!"}, 4747 introFree: {message: "Gratis Version"}, 4748 intro1hTrial: {message: "Alle Funktionen f\u00fcr die ersten 3 Tage frei!"}, 4749 pluginHere: {message: "Plugin erkannt!"}, 4750 infoHeader: {message: "Infoseite"}, 4751 faqText: {message: "FAQ HILFE"}, 4752 infoMail: {message: "MAIL SUPPORT"}, 4753 infoMan: {message: "KURZBEFEHLE & TIPPS"}, 4754 funcSunTxt: {message: "Blaufilter-Automatismus nach Sonnenstand"}, 4755 funcHome: {message: "Dein Wohnort:"}, 4756 funcOn: {message: "Aktiv"}, 4757 funcManTxt: {message: "Blaufilter-Automatismus nach Uhrzeit"}, 4758 funcStart: {message: "startzeit"}, 4759 funcEnd: {message: "endzeit"}, 4760 funcCursor: {message: "Gr\u00f6\u00dferer Mauszeiger aktivieren"}, 4761 funcCursorTipText: {message: "Ein gr\u00f6\u00dfer Mauszeiger wird beim Navigieren auf der Website angezeigt."}, 4762 funcToolbarCursor: {message: "Mauszeiger vergr\u00f6\u00dfern"}, 4763 funcImg: {message: "Alle Bilder ausblenden"}, 4764 funcAni: {message: "Ausblendung von Animationen"}, 4765 funcAniShort: {message: "Animationen stoppen"},
4766 funcAudio: {message: "Ton ausschalten"}, 4767 funcTimeTo: {message: "Deaktiviert bis "}, 4768 funcTimeFrom: {message: "Aktiv ab "}, 4769 funcOffSunset: {message: "Deaktiviert bis zum Sonnenaufgang"}, 4770 funcOpened: {message: "Mehr Funktionen ge\u00f6ffnet"}, 4771 funcClosed: {message: "Mehr Funktionen schlie\u00dfen"}, 4772 funcImgDis: {message: "Bilder eingeblendet"}, 4773 funcImgEna: {message: "Bilder ausgeblendet"}, 4774 ccHeader: {message: "Farbkorrektur"}, 4775 ccProt1: {message: "Rotschw\u00e4che-Modus"}, 4776 ccProt2: {message: "(Protanomalie)"}, 4777 ccDeut1: {message: "Gr\u00fcnschw\u00e4che-Modus"}, 4778 ccDeut2: {message: "(Deuteranomalie)"}, 4779 ccTrit1: {message: "Blauschw\u00e4che-Modus"}, 4780 ccTrit2: {message: "(Tritanomalie)"}, 4781 ccGrey: {message: "Graustufen-Modus"}, 4782 ccContrast: {message: "Kontrast-Modus"}, 4783 ccSat: {message: "S\u00e4ttigungs-Modus"}, 4784 ccOpened: {message: "Farbkorrektur ge\u00f6ffnet"}, 4785 ccClosed: {message: "Farbkorrektur schlie\u00dfen"}, 4786 srHeader: {message: "Screenreader Einstellungen"}, 4787 srOn: {message: "An"}, 4788 srOff: {message: "Aus"}, 4789 srVoice: {message: "Sprachausgabe"}, 4790 srCursor: {message: "Zeiger-Vorlesen"}, 4791 srVoiceOff: {message: "Sprachausgabe deaktiviert"}, 4792 srBannerTxt: {message: "Website Navigation aktiv"}, 4793 srCtrl: {message: "Webseite-Vorlesen"}, 4794 srSett: {message: "Einstellungen"}, 4795 srSpeed: {message: "Geschwindigkeit"}, 4796 srVol: {message: "Lautst\u00e4rke"}, 4797 srMan: {message: "Hier geht\u2019s zur Anleitung."}, 4798 srNoHeadings: {message: "Keine weitere \u00dcberschrift"}, 4799 srHeadingLev: {message: "\u00dcberschrift Ebene"}, 4800 srNoHeadingLev: {message: "Keine weitere \u00dcberschrift der Ebene"}, 4801 srNoImgs: {message: "Keine weiteren Grafiken"}, 4802 srImg: {message: "Bild"}, 4803 srNoLink: {message: "Keine weiteren Links"}, 4804 srLink: {message: "Link"}, 4805 srNoLand: {message: "Keine weiteren Sprungmarken"}, 4806 srLand: {message: "Sprungmarke"}, 4807 srNoList: {message: "Keine weitere Liste"}, 4808 srList: {message: "Liste mit"}, 4809 srEnt: {message: "Eintr\u00e4gen"}, 4810 srNoListEnt: {message: "Keine weiteren Listeneintr\u00e4ge"}, 4811 srListEnt: {message: "Listeneintrag"}, 4812 srNoForm: {message: "Kein weiteres Formularfeld"}, 4813 srForm: {message: "Formularfeld"}, 4814 srNoInp: {message: "Kein weiteres Eingabefeld"}, 4815 srInp: {message: "Eingabefeld"}, 4816 srNoBut: {message: "Kein weiteres Eingabefeld"}, 4817 srBut: {message: "Schalter"}, 4818 srNoEmb: {message: "Keine weiteren eingebetteten Objekte"}, 4819 srEmb: {message: "Eingebettetes Objekt"}, 4820 srNoCom: {message: "Kein weiteres Kombinationsfeld"}, 4821 srCom: {message: "Kombinationsfeld"}, 4822 srNoTxt: {message: "Kein weiterer Text"}, 4823 srTxt: {message: "Nicht verlinkter Text"}, 4824 srEnabled: {message: "Webseite Vorlesen aktiviert"}, 4825 srDisabled: {message: "Webseite Vorlesen deaktiviert"}, 4826 srAutoIntro: {message: "Vorlesen der Seite gestartet"}, 4827 srSiteEnd: {message: "Ende der Seite erreicht"}, 4828 srintroVoice: {message: "Webseiten Navigation mit Sprachausgabe aktiviert. Um sich einen Text vorlesen zu lassen navigieren sie mit der Maus \u00fcber den Text. Anleitung \u00fcber F2."}, 4829 srIntroReactivated: {message: "Sprachausgabe aktiv"}, 4830 srMobileIntroVoice: {message: "Webseiten Sprachausgabe aktiviert. Um sich einen Text vorlesen zu lassen dr\u00fccken Sie lange auf den Text. Automatisches vorlesen \u00fcber den Play-Knopf."}, 4831 navEnabled: {message: "Tastatur Navigation aktiviert"}, 4832 navDisabled: {message: "Tastatur Navigation deaktiviert"}, 4833 tipInstant: {message: "Aus mehreren Einstellungen wird eine Voreinstellung zusammengesetzt. Eigene Einstellungen k\u00f6nnen mithilfe des \u201eSpeichern\u201c-Buttons \u00fcbernommen werden."}, 4834 tipZoom: {message: "Adaptiver Zoom"}, 4835 tipZoomTxt: {message: "Vergr\u00f6\u00dfert die Website mit einer adaptiven Mischung aus Zoom, Schriftgr\u00f6\u00dfe und Zeilenabstand."}, 4836 tipZoomShortcut: {message: "ALT + Mausrad/+/-"}, 4837 tipContrast: {message: "Anpassung der Schrift- und Hintergrundfarben f\u00fcr einen optimalen Kontrast."}, 4838 tipBf: {message: "Blaufilter"}, 4839 tipBfTxt: {message: "Die Augen werden durch den Blaufilter geschont."}, 4840 tipNight: {message: "Stellt den Kontrast auf ein augenschonendes Niveau ein."}, 4841 tipSr: {message: "Vorlesen der Webseite"}, 4842 tipSrTxt: {message: "Der Screenreader liest die Webseite oder einzelne Inhalte vor. Die Bedienung erfolgt \u
484200fcber die Maus oder die Tastatur."}, 4843 tipNav: {message: "Navigation via Tastatur"}, 4844 tipNavTxt: {message: "Navigiere durch die Inhalte der Webseite nur mit der Tastatur."}, 4845 tipCCTxt: {message: "Alle Farben werden durch einen Algorithmus zur Kompensation von Farbschw\u00e4chen wie beispielsweise einer Rot-Gr\u00fcn-Schw\u00e4che angepasst."}, 4846 tipImgTxt: {message: "Alle Bilder auf der Website und im Tool werden ausgeblendet."}, 4847 tipFont: {message: "Lesbare Schriftart"}, 4848 tipFontTxt: {message: "Eine besser lesbare Schriftart kann individuell eingestellt werden."}, 4849 tipFuncTxt: {message: "Erweiterte Einstellungen wie ein automatischer Blaufilter, ein gr\u00f6\u00dferer Mauszeiger oder das Ausschalten von Animationen oder T\u00f6nen k\u00f6nnen hier vorgenommen werden."}, 4850 tipPro: {message: "Pro Version"}, 4851 tipProTxt: {message: "Schalte jetzt alle Funktionen frei!"}, 4852 tipResTxt: {message: "Setzt alle aktiven Funktionen zur\u00fcck."}, 4853 tipMag: {message: "Lupenfunktion"}, 4854 tipMagTxt: {message: "Vergr\u00f6\u00dfere die Webseite mit einer Lupe."}, 4855 tipPlayTxt: {message: "Starte/Pausiere das automatische Vorlesen der Webseite."}, 4856 tipMain: {message: "Visuelle Hilfe"}, 4857 tipMainTxt: {message: "Passe diese Webseite individuell an! Klicke zum \u00d6ffnen, halten dann ziehen zum Verschieben."}, 4858 manHeader: {message: "Anleitung zur Verwendung der Tastatur-Kurzbefehle"}, 4859 manInstant: {message: "Sofortansicht aktivieren"}, 4860 manTTSman: {message: "Tastaturnavigation Anleitung anzeigen"}, 4861 manTool: {message: "\u00d6ffnen der Iconbar f\u00fcr die Tastatur-Navigation"}, 4862 manWinCont: {message: "Kontrastmodusfenster anzeigen"}, 4863 manWinCC: {message: "Farbkorrekturfenster anzeigen"}, 4864 manWinFunc: {message: "Mehr Funktionen anzeigen"}, 4865 manIntro: {message: "Alle Funktionen sind auch mit der Tastatur bedienbar:"}, 4866 manReset: {message: "Alles zur\u00fccksetzen"}, 4867 manTTS: {message: "Aktivierung des Sprachausgabemodus"}, 4868 manTab: {message: "Tastaturnavigation starten"}, 4869 manCont: {message: "Kontrastmodus umschalten"}, 4870 manNight: {message: "Nachtmodus umschalten"}, 4871 manBf: {message: "Blaufilter umschalten"}, 4872 manLarger: {message: "Vergr\u00f6\u00dfern"}, 4873 manLargerTxt: {message: "Die Vergr\u00f6\u00dferung kann auch mit dem Mausrad und gedr\u00fcckter ALT-Taste bedient werden."}, 4874 manSmall: {message: "Verkleinern"}, 4875 manMag: {message: "Lupenfunktion"}, 4876 manEsc: {message: "Schlie\u00dfe das gerade ge\u00f6ffnete Fenster"}, 4877 manOpen: {message: "Anleitung ge\u00f6ffnet"}, 4878 manClose: {message: "Anleitung geschlossen"}, 4879 man2Intro: {message: "Es ist m\u00f6glich, den Text auf der Website vorlesen zu lassen. Daf\u00fcr muss die Maus \u00fcber den Text bewegt werden. Das Vorlesen kann durch einen linken Mausklick oder die Leertaste unterbrochen werden."}, 4880 man2Intro2: {message: "Die Website kann auch \u00fcber die Bedienung mit der Tastatur vorgelesen werden. Daf\u00fcr werden die folgenden Tastaturkombinationen verwendet:"}, 4881 man2Close: {message: "Navigation der Website beenden"}, 4882 man2TTS: {message: "Umschaltung zur Sprachausgabe"}, 4883 man2Show: {message: "Anzeigen dieser Anleitung"}, 4884 man2Next: {message: "Ausw\u00e4hlen des n\u00e4chsten Elements"}, 4885 man2Shift: {message: "In Verbindung mit der SHIFT-Taste kann bei jeder Kategorie das vorherige Element ausgew\u00e4hlt werden."}, 4886 man2Head: {message: "N\u00e4chste \u00dcberschrift"}, 4887 man2HeadLev: {message: "\u00dcberschrift erster bis sechster Ordnung"}, 4888 man2Levels: {message: "\u00dcberschriften im Web sind nach Wichtigkeit mit Nummern sortiert. Mithilfe der Ziffern 1 bis 6 kann die n\u00e4chste \u00dcberschrift ausgew\u00e4hlt werden (H w\u00e4hlt eine beliebige n\u00e4chste \u00dcberschrift aus)."}, 4889 man2Img: {message: "N\u00e4chste Grafik"}, 4890 man2Link: {message: "N\u00e4chster Link"}, 4891 man2Land: {message: "N\u00e4chste Sprungmarke"}, 4892 man2List: {message: "N\u00e4chste Liste"}, 4893 man2ListEnt: {message: "N\u00e4chster Listeneintrag"}, 4894 man2Form: {message: "N\u00e4chstes Formularfeld"}, 4895 man2Inp: {message: "N\u00e4chstes Eingabefeld"}, 4896 man2But: {message: "N\u00e4chster Schalter"}, 4897 man2Comb: {message: "N\u00e4chstes Kombinationsfeld/Auswahlliste"}, 4898 man2Embb: {message: "N\u00e4chstes eingebettetes Objekt"}, 4899 man2Open: {message: "TTS-Anleitung ge\u00f6ffnet"}, 4900 man2Esc: {message: "TTS-Anleitung geschlossen"}, 4901 cpPreset: {message: "Voreinstellung w\u00e4hlen:"}, 4902 readable: {message: "LESBAR?"}, 4903 cpBack: {message: "Hintergrundfarbe:"}, 4904 cpSelect: {message: "SELBST W\u00c4HLEN"}, 4905 cpColor: {message: "Textfarbe:"}, 4906 cpPre: {message: "Vorschau:"}, 4907 cpCon: {message: "Kontrast:"}, 4908 cpRead: {message: "Ist der Text lesbar?"}, 4909 cpLink: {message: "Linkumrandung aktiv:"}, 4910 cpSet: {message: "\u00dcBER-NEHMEN"}, 4911 cpReset: {message: "ZUR\u00dcCK-SETZEN"}, 4912 cpAbort: {message: "AB-BRECHEN"}, 4913 cpOpened: {message: "Kontrastfenster ge\u00f6ffnet"}, 4914 cpClosed: {message: "Kontrastfenster geschlossen"}, 4915 nightOn: {message: "Nachtmodus aktiviert"}, 4916 nightOff: {message: "Nachtmodus deaktiviert"}, 4917 nightDetect: {message: "Nachtmodus auf der Seite detektiert!"}, 4918 contrastOn: {message: "Kontrastmodus aktiviert"}, 4919 contrastOff: {message: "Kontrastmodus deaktiviert"}, 4920 fontOn: {message: "Barrierefreie Schrift aktiviert"}, 4921 fontOff: {message: "Barrierefreie Schrift deaktiviert"}, 4922 sizePlus: {message: "Schriftgr\u00f6\u00dfe erh\u00f6ht"}, 4923 sizeMinus: {message: "Schriftgr\u00f6\u00dfe verringert"}, 4924 proTxt: {message: "Pro-Version kaufen"}, 4925 instantOn: {message: "Sofortansicht aktiviert"}, 4926 instantOff: {message: "Sofortansicht deaktiviert"}, 4927 instantSaved: {message: "Einstellungen gespeichert"}, 4928 dragTxt: {message: "Mit gedr\u00fcckter linker Maustaste kann der Startbutton an die gew\u00fcnschte Stelle verschoben werden."}, 4929 ariaApp: {message: "Eye-Able Assistenztechnik. \u00d6ffnen mit ALT und 1. Bedie
4929nung mit TAB. Verlassen mit Esc."}, 4930 settingsText: {message: "Einstellungen"}, 4931 SettLang: {message: "Sprache:"}, 4932 SettShort: {message: "Tastaturbedienung:"}, 4933 SettHideIcon: {message: "Eye-Able ausblenden"}, 4934 tipHideIcon: {message: "Das Logo wird dauerhaft ausgeblendet. Das Men\u00fc kann \u00fcber die Tastaturkombination Alt + 1 aufgerufen werden."}, 4935 SettCrossDomain: {message: "Einstellungen teilen"}, 4936 tipCrossDomain: {message: "Die Einstellungen dieser Seite werden auf anderen Seiten mit Eye-Able \u00fcbernommen."}, 4937 settOpened: {message: "Einstellungen ge\u00f6ffnet."}, 4938 altCloseWindow: {message: "Fenster schlie\u00dfen"}, 4939 settClosed: {message: "Einstellungen geschlossen."}, 4940 tipSettingsTxt: {message: "Sprache wechseln, deaktiviere Abk\u00fcrzungen und weitere Funktionen."}, 4941 fontExtended: {message: "Mehr Einstellungen"}, 4942 extFontText: {message: "Schrift"}, 4943 extFontZoom: {message: "Zoom"}, 4944 extFontsize: {message: "Schriftgr\u00f6\u00dfe"}, 4945 extFontLine: {message: "Zeilenabstand"}, 4946 extFontWord: {message: "Wortabstand"}, 4947 extFontLetter: {message: "Zeichenabstand"}, 4948 extFontAlign: {message: "Ausrichtung"}, 4949 tipExtFont: {message: "Schrifteinstellungen"}, 4950 tipExtFontTxt: {message: "Individuelle Einstellung von Zoom, Schriftgr\u00f6\u00dfe, Zeilen-abstand, Wort-/Buchstaben-abstand und Ausrichtung."}, 4951 tipAlignNo: {message: "Standard Ausrichtung"}, 4952 tipAlignNoTxt: {message: "Keine \u00c4nderung der Ausrichtung."}, 4953 tipAlignLeft: {message: "Ausrichtung Links"}, 4954 tipAlignLeftTxt: {message: "Text wird linksb\u00fcndig aus-gerichtet."}, 4955 tipAlignCenter: {message: "Ausrichtung Zentrum"}, 4956 tipAlignCenterTxt: {message: "Text wird zentriert ausgerichtet."}, 4957 tipAlignRight: {message: "Ausrichtung Rechts"}, 4958 tipAlignRightTxt: {message: "Text wird rechtsb\u00fcndig aus-gerichtet."}, 4959 tipAlignJust: {message: "Ausrichtung Blocksatz"}, 4960 tipAlignJustTxt: {message: "Text wird im Blocksatz aus-gerichtet."}, 4961 tipShortcuts: {message: "Tastatur-Shortcuts"}, 4962 tipShortcutsTxt: {message: "Aktiviert oder deaktiviert die Tastaturabk\u00fcrzungen."}, 4963 tipCursorSpeech: {message: "Mauszeiger vorlesen"}, 4964 tipCursorSpeechTxt: {message: "Der Text unter dem Mauszeiger wird vorgelesen."}, 4965 tipInfoTop: {message: "Infofenster \u00f6ffnen"}, 4966 tipInfoTopTxt: {message: "FAQ, Mail Support und die Kurzbefehle."}, 4967 tipCloseTop: {message: "Toolbar minimieren"}, 4968 tipCloseTopTxt: {message: "Schlie\u00dft und minimiert das Eye-Able Icon."}, 4969 tipSaveInstant: {message: "Speichern"}, 4970 tipSaveInstantTxt: {message: "Speichert die Einstellungen als neue Sofortansicht."}, 4971 tipfontMinus: {message: "Schrift verkleinern"}, 4972 tipfontMinusTxt: {message: ""}, 4973 tipfontReset: {message: "Schriftgr\u00f6\u00dfe zur\u00fccksetzen"}, 4974 tipfontResetTxt: {message: ""}, 4975 tipfontPlus: {message: "Schrift vergr\u00f6\u00dfern"}, 4976 tipfontPlusTxt: {message: ""}, 4977 tipAnimation: {message: "Animationen ausblenden"}, 4978 tipAnimationTxt: {message: "Bewegte Elemente und Animationen auf der Webseite werden nicht angezeigt."}, 4979 tipAnimationActive: {message: "Animationen gestoppt."}, 4980 tipAnimationReset: {message: "Animationen wieder gestartet."}, 4981 tipMute: {message: "Ausschaltung des Tons"}, 4982 tipMuteTxt: {message: "Der Ton wird f\u00fcr die Webseite stumm geschaltet."}, 4983 tipMuteActive: {message: "Ton stumm geschalten."}, 4984 tipMuteReset: {message: "Ton aktiviert."}, 4985 tipCursorActive: {message: "Gro\u00dfer Mauszeiger aktiviert."}, 4986 tipCursorReset: {message: "Gro\u00dfer Mauszeiger deaktiviert."}, 4987 popUpHeading: {message: "Eye-Able Einstellungen"}, 4988 popUpNoDomain: {message: "Domain nicht erkannt."}, 4989 popUpPreDomain: {message: "Einstellungen f\u00fcr"}, 4990 popUpBlackEnable: {message: "Eye Able nicht ausf\u00fchren."}, 4991 popUpBlackDisable: {message: "Eye Able wieder aktivieren."}, 4992 popUpNightEnable: {message: "Nachtmodus nicht ausf\u00fchren."}, 4993 popUpNightDisable: {message: "Nachtmodus wieder ausf\u00fchren."}, 4994 popUpReset: {message: "Alle Ausnahmen zur\u00fccksetzen."}, 4995 popUpToolbarSide: {message: "Seite des Icons anpassen:"}, 4996 popUpToolbarL: {message: "Links"}, 4997 popUpToolbarR: {message: "Rechts"}, 4998 popUpVerticalPosition: {message: "Vertikale Position des Icons anpassen:"}, 4999 popUpLicense: {message: "Lizenz anzeigen"}, 5000 popUpIcon: {message: "Icon anpassen:"}, 5001 popUpIconSize: {message: "Gr\u00f6\u00dfe des Icons anpassen:"}, 5002 popUpHideIcon: {message: "Icon ausblenden:"}, 5003 popUpHideIconTip: {message: 'Tipp: Das Tool kann auch \u00fcber "ALT + 1" ge\u00f6ffnet werden.'}, 5004 settingsSync: {message: 'Bitte synchronisere deine Lizenz auf www.eye-able.com unter "Mein Konto"!'},
5005 settingsInvalid: {message: "Lizenz abgelaufen am"}, 5006 settingsSaved: {message: "Einstellungen gespeichert!"}, 5007 settingsValidTill: {message: "Lizenz g\u00fcltig bis"}, 5008 popUpShortcut: {message: "Tastaturanleitung"}, 5009 popUpLarger: {message: "Ansicht vergr\u00f6\u00dfern (+)"}, 5010 popUpSmaller: {message: "Ansicht verkleinern (-)"}, 5011 popUpDomainText: {message: "Setze Ausnahmen um Eye-Able auf manchen Seiten nicht auszuf\u00fchren."}, 5012 contrastExtended: {message: "Mehr Farben."}, 5013 contrastBoxText: {message: "Eigene Farben ausw\u00e4hlen"}, 5014 tipContrastBox: {message: "Individuelle Auswahl der optimalen Kontrastfarben."}, 5015 man2Focus: {message: "Fokus auf Anfang zur\u00fccksetzen"}, 5016 man2FocusTxt: {message: "Der Fokus wird wieder auf das Vorlesefenster und an den Anfang der Seite zur\u00fcckgesetzt"}, 5017 hideForMe: {message: "\u279c Eye-Able f\u00fcr mich ausblenden"}, 5018 showForMe: {message: "\u279c Eye-Able wieder anzeigen"}, 5019 altLogo: {message: "Eye-Able Logo"}, 5020 altResetLogo: {message: "Einstellungen zur\u00fccksetzen"}, 5021 altCloseLogo: {message: "Eye-Able schlie\u00dfen und minimieren"}, 5022 altInfoLogo: {message: "Info-Fenster \u00f6ffnen"}, 5023 altSmaller: {message: "Schriftgr\u00f6\u00dfe verkleinern"}, 5024 altResetFont: {message: "Schriftgr\u00f6\u00dfe zur\u00fccksetzen"}, 5025 altLarger: {message: "Schriftgr\u00f6\u00dfe vergr\u00f6\u00dfern"}, 5026 altBlueSmaller: {message: "Blaufilter reduzieren"}, 5027 altBlueLarger: {message: "Blaufilter verst\u00e4rken"}, 5028 altCCSmaller: {message: "Farbfilter reduzieren"}, 5029 altCCLarger: {message: "Farbfilter verst\u00e4rken"}, 5030 altCCReset: {message: "Farbfilter zur\u00fccksetzen"}, 5031 altBlueYellow: {message: "Blau Gelb Kontrast"}, 5032 altRedGreen: {message: "Rot Gr\u00fcn Kontrast"}, 5033 altBlackWhite: {message: "Schwarz Wei\u00df Kontrast"}, 5034 altWhiteBlack: {message: "Wei\u00df Schwarz Kontrast"}, 5035 altWhiteBack: {message: "Wei\u00dfe Hintergrundfarbe"}, 5036 altBlackBack: {message: "Schwarze Hintergrundfarbe"}, 5037 altRedBack: {message: "Rote Hintergrundfarbe"}, 5038 altYellowBack: {message: "Gelbe Hintergrundfarbe"}, 5039 altGreenBack: {message: "Gr\u00fcne Hintergrundfarbe"}, 5040 altBlueBack: {message: "Blaue Hintergrundfarbe"}, 5041 altWhiteText: {message: "Wei\u00dfe Textfarbe"}, 5042 altBlackText: {message: "Schwarze Textfarbe"}, 5043 altBtnTextcolor: {message: "Eigene Textfarbe ausw\u00e4hlen"}, 5044 altBtnBackgroundcolor: {message: "Eigene Hintergrundfarbe ausw\u00e4hlen"}, 5045 altRedText: {message: "Rote Textfarbe"}, 5046 altYellowText: {message: "Gelbe Textfarbe"}, 5047 altGreenText: {message: "Gr\u00fcne Textfarbe"}, 5048 altBlueText: {message: "Blaue Textfarbe"}, 5049 altSaveSettings: {message: "Speichern der Sofortansicht"}, 5050 altBackSr: {message: "Zur\u00fcck Knopf"}, 5051 altPlaySr: {message: "Automatische Vorlesefunktion Starten"}, 5052 altPauseSr: {message: "Pause Knopf"}, 5053 altStopSr: {message: "Stop Knopf"}, 5054 altForwardSr: {message: "\u00dcberspringen Knopf"}, 5055 altSettingsSrOpen: {message: "Einstellungen \u00f6ffnen"}, 5056 altSettingsSrClose: {message: "Einstellungen schlie\u00dfen"}, 5057 altSrSpeedPlus: {message: "Geschwindigkeit erh\u00f6hen"}, 5058 altSrSpeedMinus: {message: "Geschwindigkeit verringern"}, 5059 altSrVolPlus: {message: "Lautst\u00e4rke erh\u00f6hen"}, 5060 altSrVolMinus: {message: "Lautst\u00e4rke verringern"}, 5061 altSettingsLogo: {message: "Einstellungen \u00f6ffnen"}, 5062 ariaSmallLogo: {message: "Eye-Able Assistenzsoftware Logo"}, 5063 ariaBluefilterInten: {message: "Intensit\u00e4t des Blaufilters"}, 5064 ariaCursorToogle: {message: "Zeiger-Vorlesen umschalten"}, 5065 SettMinimizeIcon: {message: "Icon minimieren"}, 5066 SettMinimizeIconTxt: {message: "Icon minimieren"}, 5067 tipMinimizeIcon: {message: "Beim Schlie\u00dfen von Eye-Able wird das Icon minimiert."}, 5068 accessibleLinkText: {message: "Visuelle Assistenzsoftware \u00f6ffnen. Mit der Tastatur erreichbar \u00fcber ALT + 1"}, 5069 accessibleLinkTextMobile: {message: "Visuelle Assistenzsoftware \u00f6ffnen."}, 5070 altZoomMinus: {message: "Zoom Verkleinern"},
5071 altZoomInput: {message: "Zoom ver\u00e4ndern"}, 5072 altZoomPlus: {message: "Zoom Vergr\u00f6\u00dfern"}, 5073 altZoomFontMinus: {message: "Schriftgr\u00f6\u00dfe Verkleinern"}, 5074 altZoomFontInput: {message: "Schriftgr\u00f6\u00dfe ver\u00e4ndern"}, 5075 altZoomFontPlus: {message: "Schriftgr\u00f6\u00dfe Vergr\u00f6\u00dfern"}, 5076 altLineMinus: {message: "Zeilenabstand Verkleinern"}, 5077 altLineInput: {message: "Zeilenabstand ver\u00e4ndern"}, 5078 altLinePlus: {message: "Zeilenabstand Vergr\u00f6\u00dfern"}, 5079 altWordSpacingMinus: {message: "Wortabstand Verkleinern"}, 5080 altWordSpacingInput: {message: "Wortabstand ver\u00e4ndern"}, 5081 altWordSpacingPlus: {message: "Wortabstand Vergr\u00f6\u00dfern"}, 5082 altLetterSpacingMinus: {message: "Zeichenabstand Verkleinern"}, 5083 altLetterSpacingInput: {message: "Zeichenabstand ver\u00e4ndern"}, 5084 altLetterSpacingPlus: {message: "Zeichenabstand Vergr\u00f6\u00dfern"}, 5085 ariaAlignNone: {message: "Urspr\u00fcngliche Ausrichtung"}, 5086 ariaAlignleft: {message: "Linksb\u00fcndige Ausrichtung"}, 5087 ariaAlignCenter: {message: "Zentrierte Ausrichtung"}, 5088 ariaAlignRight: {message: "Rechtsb\u00fcndige Ausrichtung"}, 5089 ariaAlignJustify: {message: "Blocksatz Ausrichtung"} 5090}; 5091eyeAble_lang = eyeAble_de; 5092window.eyeAble_de = eyeAble_de; 5093 5094function eyeAble_updateTxt() { 5095 for (var a = eyeAble_shadowRoot.querySelectorAll("[ealangid]"), b = 0; b < a.length; b++) a[b].innerText = eyeAble_getMessage(a[b].getAttribute("ealangid")); 5096 a = document.querySelectorAll("[ealangid]"); 5097 for (b = 0; b < a.length; b++) a[b].innerText = eyeAble_getMessage(a[b].getAttribute("ealangid")); 5098 a = eyeAble_shadowRoot.querySelectorAll("[eaAltLangID]"); 5099 for (b = 0; b < a.length; b++) a[b].setAttribute("alt", eyeAble_getMessage(a[b].getAttribute("eaaltlangid"))); 5100 a = eyeAble_shadowRoot.querySelectorAll("[eaAriaLangID]"); 5101 for (b = 0; b < a.length; b++) a[b].setAttribute("aria-label", eyeAble_getMessage(a[b].getAttribute("eaarialangid"))); 5102 a = document.querySelectorAll("[eaAriaLangID]"); 5103 for (b = 0; b < a.length; b++) a[b].setAttribute("aria-label", eyeAble_getMessage(a[b].getAttribute("eaarialangid"))) 5104} 5105 5106function eyeAble_changeLanguage(a) { 5107 if ("de" !== a) if (window["eyeAble_" + a] && !0 !== eyeAble_session_parameters.isExtension) eyeAble_lang = window["eyeAble_" + a], eyeAble_updateTxt(); else if (!0 === eyeAble_session_parameters.isExtension) { 5108 switch (a) { 5109 case "en": 5110 eyeAble_lang = eyeAble_en; 5111 break; 5112 case "fr": 5113 eyeAble_lang = eyeAble_fr; 5114 break; 5115 case "es": 5116 eyeAble_lang = eyeAble_es; 5117 break; 5118 case "it": 5119 eyeAble_lang = eyeAble_it; 5120 break; 5121 case "nl": 5122 eyeAble_lang = eyeAble_nl; 5123 break; 5124 case "pt": 5125 eyeAble_lang = eyeAble_pt; 5126 break; 5127 case "ru": 5128 eyeAble_lang = eyeAble_ru; 5129 break; 5130 case "zh": 5131 eyeAble_lang = eyeAble_zh; 5132 break; 5133 case "sk": 5134 eyeAble_lang = eyeAble_sk; 5135 break; 5136 case "da": 5137 eyeAble_lang = eyeAble_da; 5138 break; 5139 case "uk": 5140 eyeAble_lang = eyeAble_uk; 5141 break; 5142 case "pl": 5143 eyeAble_lang = eyeAble_pl; 5144 break; 5145 case "ko": 5146 eyeAble_lang = eyeAble_ko; 5147 break; 5148 case "ja": 5149 eyeAble_lang = eyeAble_ja; 5150 break; 5151 case "id": 5152 eyeAble_lang = eyeAble_id; 5153 break; 5154 case "hi": 5155 eyeAble_lang = eyeAble_hi; 5156 break; 5157 case "ar": 5158 eyeAble_lang = eyeAble_ar; 5159 break; 5160 case "cs": 5161 eyeAble_lang = eyeAble_cs; 5162 break; 5163 case "fi": 5164 eyeAble_lang = eyeAble_fi; 5165 break; 5166 case "no": 5167 eyeAble_lang = 5168 eyeAble_no; 5169 break; 5170 case "sv": 5171 eyeAble_lang = eyeAble_sv; 5172 break; 5173 case "el": 5174 eyeAble_lang = eyeAble_el; 5175 break; 5176 case "tr": 5177 eyeAble_lang = eyeAble_tr; 5178 break; 5179 case "et": 5180 eyeAble_lang = eyeAble_et; 5181 break; 5182 case "lt": 5183 eyeAble_lang = eyeAble_lt; 5184 break; 5185 case "lv": 5186 eyeAble_lang = eyeAble_lv; 5187 break; 5188 case "ms": 5189 eyeAble_lang = eyeAble_ms; 5190 break; 5191 case "af": 5192 eyeAble_lang = eyeAble_af; 5193 break; 5194 case "st": 5195 eyeAble_lang = eyeAble_st; 5196 break; 5197 case "ts": 5198 eyeAble_lang = eyeAble_ts; 5199 break; 5200 case "xh": 5201 eyeAble_lang = eyeAble_xh; 5202 break; 5203 case "zu": 5204 eyeAble_lang = eyeAble_zu; 5205 break; 5206 case "sr": 5207 eyeAble_lang = 5208 eyeAble_sr 5209 } 5210 eyeAble_updateTxt() 5211 } else { 5212 var b = document.createElement("script"); 5213 b.async = !0; 5214 b.src = eyeAble_fileHomePath + "lang/eyeAble_lang_" + a + ".js"; 5215 b.addEventListener("load", eyeAble_updateTxt); 5216 document.head.appendChild(b) 5217 } else eyeAble_lang = eyeAble_de, eyeAble_updateTxt() 5218} 5219 5220function eyeAble_languageChanged() { 5221 var a = eyeAble_shadowRoot.getElementById("languages").value; 5222 eyeAble_setVar("UserLang", a); 5223 eyeAble_setVar("UserLangCustom", !0); 5224 eyeAble_changeLanguage(a) 5225} 5226 5227function eyeAble_initLanguage() { 5228 var a = "de en fr es it nl pt ru zh sk da uk pl ko ja id hi ar cs fi no nb sv el tr et lt lv ms af st zu ts xh sr".split(" "); 5229 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.userLang && !0 !== eyeAbleVariables.UserLangCustom) { 5230 var b = eyeAble_pluginLocalConfig.userLang; 5231 b && a.includes(b) ? (eyeAble_setVar("UserLang", b), eyeAble_setVar("UserLangCustom", !0)) : console.log("Language not supported: " + b) 5232 } 5233 !0 !== eyeAbleVariables.UserLangCustom && (eyeAble_session_parameters.isExtension && 5234 !chrome.i18n.getUILanguage().includes("de") ? eyeAble_setVar("UserLang", chrome.i18n.getUILanguage().split("-")[0]) : eyeAble_session_parameters.isPlugin && document.documentElement.lang && eyeAble_setVar("UserLang", document.documentElement.lang.split("-")[0].toLowerCase()), eyeAble_session_parameters.isPlugin && eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.getLangFromPath && (b = window.location.pathname.split("/")[1]) && a.includes(b) && eyeAble_setVar("UserLang", b)); 5235 a.includes(eyeAbleVariables.UserLang.toLowerCase()) || 5236 eyeAble_setVar("UserLang", "en"); 5237 "de" !== eyeAbleVariables.UserLang && eyeAble_changeLanguage(eyeAbleVariables.UserLang) 5238};var eyeAbleRunPlugin = !0, eyeAble_interactiveRun = !1, eyeAble_completeRun = !1, eyeAble_variablesLoaded = !1; 5239 5240function eyeAble_start() { 5241 eyeAbleRunPlugin = !0; 5242 eyeAble_checkBrowserFeatures() ? eyeAble_checkWebsiteBlacklist() || (console.log("Website is blocked!"), eyeAbleRunPlugin = !1) : (eyeAbleRunPlugin = !1, console.log("Browser not supported")); 5243 if (eyeAbleRunPlugin) { 5244 var a = function () { 5245 setTimeout(function () { 5246 !1 === eyeAble_session_parameters.isExtension && null != document.getElementById("eyeAbleChromeExtension") ? (console.log("Chrome Extension present, Eye-Able Plugin stand down"), eyeAble_blacklistElements(document), eyeAble_deleteQuickInit
5246Colors(), 5247 document.getElementById("eyeAble-Bluefilter") && (document.getElementById("eyeAble-Bluefilter").style.background = "rgba(255, 147, 41, 0)")) : b() 5248 }, 0) 5249 }, b = function () { 5250 if (eyeAble_interactiveRun) if (eyeAble_shadowRoot) { 5251 var e = function () { 5252 fastdomEA.mutate(function () { 5253 var h = document.body.querySelector("#eA_Opener"); 5254 h && (h.style.display = "none"); 5255 "undefined" !== typeof eA_open && eA_open && eyeAble_extendIconbar(); 5256 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.removeProperty("display"); 5257 h = new CustomEvent("eyeable:init_completed"); 5258 document.dispatchEvent(h); 5259 window.matchMedia && window.matchMedia("print").addListener(function (g) { 5260 g.matches ? eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.display = "none" : eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.removeProperty("display") 5261 }) 5262 }) 5263 }; 5264 eyeAble_completeRun = !0; 5265 eyeAble_blacklistElements(document); 5266 eyeAble_loadColorVarsCSS(); 5267 eyeAble_initFontPicker(); 5268 eyeAble_addEventListeners(); 5269 eyeAble_initMoreFuntions(); 5270 eyeAble_initMutationObserver(); 5271 eyeAble_initFontSize(); 5272 eyeAble_initColors(); 5273 eyeAble_initBluefilter(); 5274 eyeAble_initKeyEvents(); 5275 eyeAble_checkIconsAndRangers(); 5276 eyeAble_createIconbarNotification(); 5277 eyeAble_initLanguage(); 5278 eyeAble_checkIsLocalHosting(); 5279 eyeAble_runPlatformSpecificActions(); 5280 eyeAble_deleteQuickInitColors(); 5281 eyeAble_hideMainIcon || eyeAble_pluginLocalConfig.blockAccessibleLink || 0 !== document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID").length || eyeAble_createAccessibleLink(); 5282 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.forceToFront && 5283 setTimeout(eyeAble_checkOtherZIndex, 2E3); 5284 eyeAble_session_parameters.isExtension && eyeAble_lazyLoadImgs(); 5285 setTimeout(function () { 5286 eyeAble_updateNotifcationBannerPosition(); 5287 "1" !== eyeAbleVariables.Extended || !1 !== eyeAble_session_parameters.isMobile || eyeAble_hideMainIcon || !eyeAble_fileHomePath.includes(".eye-able") && "undefined" === typeof eyeAble_localForceIntro || sessionStorage.getItem("eaIntro") || localStorage.getItem("eyeAbleVariables") || (sessionStorage.setItem("eaIntro", "true"), "undefined" !== typeof eA_open && 5288 eA_open || (eyeAble_createTooltip({ 5289 target: eyeAble_shadowRoot.getElementById("eyeAble_columID"), 5290 manual: !0 5291 }), setTimeout(eyeAble_removeTooltip, 5E3))); 5292 (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.startAutoOpen || "showEyeAble" === window.location.hash.substr(1)) && setTimeout(function () { 5293 eyeAble_extendIconbar() 5294 }, 500) 5295 }, 1E3); 5296 if (eyeAble_ccsLoaded) setTimeout(function () { 5297 e() 5298 }, 400); else var f = setInterval(function () { 5299 eyeAble_ccsLoaded && (setTimeout(function () { 5300 e() 5301 }, 400), clearInterval(f)) 5302 }, 100); 5303 eyeAble_initTooltips() 5304 } else eyeAble_completeRun || 5305 setTimeout(b, 100); else d || (d = !0, c()), setTimeout(b, 100) 5306 }, c = function () { 5307 if (eyeAble_variablesLoaded && !eyeAble_interactiveRun) { 5308 if (eyeAble_interactiveRun = !0, !1 !== eyeAble_session_parameters.isExtension || null == document.getElementById("eyeAbleChromeExtension")) { 5309 eyeAble_authenticateLicense() || (console.log("License Authentication failed"), eyeAble_activeFeatures = eyeAble_activeFeaturesBase); 5310 try { 5311 if ("undefined" !== typeof eyeAble_pluginConfig && eyeAble_pluginConfig && eyeAble_pluginConfig.blockPluginSelektors) { 5312 var e = 5313 eyeAble_pluginConfig.blockPluginSelektors.split(","); 5314 if (e && 0 < e.length) for (var f = 0; f < e.length; f++) if (0 < e[f].length) { 5315 var h = document.querySelectorAll(e[f].trim()); 5316 if (h && 0 < h.length) {
5317 eyeAble_deleteQuickInitColors(); 5318 document.getElementById("eyeAble-Bluefilter") && (document.getElementById("eyeAble-Bluefilter").style.background = "rgba(255, 147, 41, 0)"); 5319 eyeAble_completeRun = !0; 5320 console.log("Eye-Able blocked on this site."); 5321 return 5322 } 5323 } 5324 } 5325 } catch (g) { 5326 console.log(g, "No Config detected.") 5327 } 5328 eyeAble_checkMobileDesign(); 5329 !0 !== 5330 eyeAble_session_parameters.isExtension || eyeAble_activeFeatures !== eyeAble_activeFeaturesBase && !eyeAble_firstInstallFree || null == document.getElementById("eyeAbleWebsitePlugin") || (console.log("Plugin detected! Pro Features enabled!"), eyeAble_activeFeatures = eyeAble_activeFeaturesPro, eyeAble_pluginDetected = !0); 5331 eyeAble_getSessionParameters(); 5332 eyeAble_applyExternalCustomization(); 5333 eyeAble_createShadowDOM(); 5334 eyeAble_initCSS(); 5335 eyeAble_createIcons(); 5336 eyeAble_reduceFeatures(); 5337 eyeAble_initColorCorrection() 5338 } 5339 } else eyeAble_interactiveRun || 5340 setTimeout(c, 100) 5341 }; 5342 eyeAbleInitLocalVariables(); 5343 var d = !1; 5344 "complete" === document.readyState ? a() : window.addEventListener("load", function () { 5345 a() 5346 }) 5347 } else eyeAble_deleteQuickInitColors() 5348} 5349 5350function eyeAble_instantActions() { 5351 eyeAble_initBluefilter(); 5352 eyeAble_quickInitColors() 5353} 5354 5355var eyeAble_shadowRoot, eyeAble_shadowRootHtml, eyeAble_ccsLoaded = !1; 5356 5357function eyeAble_createShadowDOM() { 5358 var a = document.createElement("Eye-Able"); 5359 a.classList.add("eyeAble_container_b"); 5360 a.id = "eyeAble_container_ID"; 5361 a.setAttribute("eaarialangid", "ariaApp"); 5362 a.setAttribute("aria-label", eyeAble_getMessage("ariaApp")); 5363 var b = a.attachShadow({mode: "open"}); 5364 eyeAble_shadowRoot = a.shadowRoot; 5365 var c = document.createElement("link"); 5366 c.setAttribute("rel", "stylesheet"); 5367 c.setAttribute("media", "print"); 5368 c.setAttribute("id", "eyeABle_mainCSSID"); 5369 c.onload = function () { 5370 this.media = "all"; 5371 eyeAble_ccsLoaded = 5372 !0 5373 }; 5374 b.appendChild(c); 5375 document.body.appendChild(a); 5376 eyeAble_shadowRootHtml = document.createElement("div"); 5377 eyeAble_shadowRoot.appendChild(eyeAble_shadowRootHtml) 5378};var eyeAble_observerNodeList, eyeAble_configNodeList; 5379 5380function eyeAble_initMutationObserver() { 5381 function a(d) { 5382 d.forEach(function (e) { 5383 e = e.addedNodes; 5384 null !== e && e.forEach(function (f) { 5385 if (f.nodeType !== Node.TEXT_NODE && f.nodeType !== Node.COMMENT_NODE && "EAMARK" !== f.tagName) { 5386 for (var h = f.querySelectorAll("*"), g = 0; g < h.length; g++) h[g].shadowRoot && (new MutationObserver(a)).observe(h[g].shadowRoot, { 5387 childList: !0, 5388 subtree: !0 5389 }); 5390 f.parentNode ? eyeAble_blacklistElements(f.parentNode) : eyeAble_blacklistElements(f); 5391 f && !eyeAble_hasSomeParentTheClass(f, "eyeAbleContrastSkip") && ("Darkmode" === 5392 eyeAble_getVar("Color_Mode") ? (eyeAble_Darkmode_recursive(f), requestAnimationFrame(function () { 5393 eyeAble_CheckForImportantsAndContrast(f) 5394 })) : "Contrast" === eyeAble_getVar("Color_Mode") && ("function" === typeof customContrastEnhancement && customContrastEnhancement(f), h = eyeAble_getVar("iAble_Background_Color"), g = eyeAble_getVar("iAble_Text_Color"), "0" !== h && (g = eyeAble_convertColor(g), h = eyeAble_convertColor(h), eyeAble_change_color_recursive(f, h[0], h[1], h[2], g[0], g[1], g[2])))); 5395 "Contrast" !== eyeAble_getVar("Color_Mode") && 5396 "Darkmode" !== eyeAble_getVar("Color_Mode") || eyeAble_setWhiteBackgroun
5396ds(); 5397 f && !eyeAble_hasSomeParentTheClass(f, "eyeAbleSkipFontSize") && (h = parseInt(eyeAble_getVar("iAble_Font_Offset")), h > parseInt(eyeAble_settings.layoutCorrectThreshold) && (h = parseInt(eyeAble_settings.layoutCorrectThreshold) - 1), 0 < h && eyeAble_change_font_size_recursive(f, h)); 5398 "0" !== eyeAble_getVar("Animations") && "1" !== eyeAble_getVar("HideImages") && "1" !== eyeAble_getVar("Muted") || eyeAble_checkAnimationsAudioImagesSettingsPerElement(f) 5399 } 5400 }) 5401 }) 5402 } 5403 5404 eyeAble_observerNodeList = new MutationObserver(a); 5405 eyeAble_configNodeList = {childList: !0, subtree: !0}; 5406 eyeAble_observerNodeList.observe(document.body, eyeAble_configNodeList); 5407 for (var b = document.querySelectorAll("IFRAME"), c = 0; c < b.length; c++) try { 5408 (new MutationObserver(a)).observe(b[c].contentWindow.document.body, eyeAble_configNodeList) 5409 } catch (d) { 5410 } 5411 b = document.querySelectorAll("*"); 5412 for (c = 0; c < b.length; c++) b[c].shadowRoot && "eyeAble_container_ID" !== b[c].id && ((new MutationObserver(a)).observe(b[c].shadowRoot, eyeAble_configNodeList), 5413 eyeAble_addBlacklistClasses(b[c].shadowRoot)) 5414} 5415 5416function eyeAble_addClasses(a) { 5417 fastdomEA.mutate(function () { 5418 a.classList && a.classList.add("eA_S"); 5419 var b = a.children; 5420 if (b && 0 !== b.length) for (var c = 0; c < b.length; c++) eyeAble_addClasses(b[c]) 5421 }) 5422} 5423 5424function eyeAble_addBlacklistClasses(a) { 5425 if (eyeAble_fontsizeSkipClasses && 0 < eyeAble_fontsizeSkipClasses.length) for (var b = 0; b < eyeAble_fontsizeSkipClasses.length; b++) if (0 < eyeAble_fontsizeSkipClasses[b].length) { 5426 var c = a.querySelectorAll(eyeAble_fontsizeSkipClasses[b]); 5427 if (c) for (var d = 0; d < c.length; d++) c[d].classList.add("eyeAbleSkipFontSize") 5428 } 5429 if (eyeAble_contrastSkipClasses && 0 < eyeAble_contrastSkipClasses.length) for (b = 0; b < eyeAble_contrastSkipClasses.length; b++) if (0 < eyeAble_contrastSkipClasses[b].length && (c = 5430 a.querySelectorAll(eyeAble_contrastSkipClasses[b]))) for (d = 0; d < c.length; d++) c[d].classList.add("eyeAbleContrastSkip"); 5431 if (eyeAble_noBackgroundClasses && 0 < eyeAble_noBackgroundClasses.length) for (b = 0; b < eyeAble_noBackgroundClasses.length; b++) if (0 < eyeAble_noBackgroundClasses[b].length && (c = a.querySelectorAll(eyeAble_noBackgroundClasses[b]))) for (d = 0; d < c.length; d++) c[d].classList.add("eA_nB") 5432} 5433 5434function eyeAble_changeSelectedValue(a, b) { 5435 a = eyeAble_shadowRoot.getElementById(a); 5436 for (var c = a.options, d, e = 0; d = c[e]; e++) if (d.value === b) { 5437 a.selectedIndex = e; 5438 break 5439 } 5440} 5441 5442function eyeAble_checkIconsAndRangers() { 5443 "1" === eyeAble_getVar("bluefilterSet") && eyeAble_setBluefilter() 5444} 5445 5446function eyeAble_resetAll() { 5447 eyeAble_shadowRoot.getElementById("oneClickID").classList.remove("eyeAbleActive"); 5448 eyeAble_resetBluefilter(); 5449 eyeAble_resetFontSize(); 5450 eyeAble_reset_colors(); 5451 setTimeout(function () { 5452 eyeAble_resetScrollbarColor() 5453 }, 300); 5454 eyeAble_resetFontFamily(); 5455 eyeAble_resetColorCorrection(); 5456 "1" === eyeAbleVariables.BigCursor && eyeAble_disableBigCursor(); 5457 "0" === eyeAble_getVar("Animations") && eyeAble_enableAnimations(); 5458 (0 < document.getElementsByClassName("eyeAble_hide").length || "1" === eyeAble_getVar("HideImages")) && 5459 eyeAble_resetHideImagesAndVideos(); 5460 "1" === eyeAbleVariables.Muted && eyeAble_resetMuteAudio(); 5461 eyeAbleWebsiteNav.reset(); 5462 eyeAble_showFeedbackNotification(eyeAble_getMessage("resetAllText"), "ALT + R") 5463} 5464 5465function eyeAble_checkBrowserFeatures() { 5466 return eyeAble_session_parameters.isPlugin ? ModernizrEyeAble.eventlistener ? ModernizrEyeAble.boxshadow ? ModernizrEyeAble.cssanimations ? ModernizrEyeAble.csstransitions ? ModernizrEyeAble.customelements ? ModernizrEyeAble.eventlistener ? ModernizrEyeAble.mutationobserver ? ModernizrEyeAble.queryselector ? ModernizrEyeAble.rgba ? ModernizrEyeAble.svg ? ModernizrEyeAble.svgfilters ? ModernizrEyeAble.classlist ? HTMLElement.prototype.attachShadow ? !0 : (console.log("Missing Shadow DOM V1"), 5467 !1) : (console.log("Missing classlist"), !1) : (console.log("Missing svgfilters"), !1) : (console.log("Missing svg"), !1) : (console.log("Missing rgba"), !1) : (console.log("Missing queryselector"), !1) : (console.log("Missing mutationobserver"), !1) : (console.log("Missing eventlistener"), !1) : (console.log("Missing customelements"), !1) : (console.log("Missing csstransitions"), !1) : (console.log("Missing cssanimations"), !1) : (console.log("Missing boxshadow"), !1) : (console.log("Missing Event Listener"), !1) : !0 5468} 5469 5470function eyeAble_hideClickableElements(a) { 5471 if (eyeAble_shadowRoot.getElementById(a)) { 5472 a = eyeAble_shadowRoot.getElementById(a).querySelectorAll(".eyeAtabClickable"); 5473 for (var b = 0; b < a.length; b++) a[b].setAttribute("tabIndex", "-1") 5474 } 5475} 5476 5477function eyeAble_showClickableElements(a) { 5478 if (eyeAble_shadowRoot.getElementById(a)) { 5479 a = eyeAble_shadowRoot.getElementById(a).querySelectorAll(".eyeAtabClickable"); 5480 for (var b = 0; b < a.length; b++) a[b].setAttribute("tabIndex", "0") 5481 } 5482} 5483 5484function eyeAble_debugLog(a) { 5485 console.log(a) 5486} 5487 5488function eyeAble_closeAllOtherPages(a) { 5489 var b = !1; 5490 "eyeAble_CCPageID" !== a && eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_CCPageID")).display && (eyeAble_closeCCpage(), b = !0); 5491 "eyeAbleColorWindow" !== a && eyeAble_shadowRoot.getElementById("eyeAbleColorWindow") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAbleColorWindow")).display && (eyeAble_closeColorPickerWindow(), b = !0); 5492 "eyeAble_SettingsPageID" !== a && eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID") && 5493 "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID")).display && (eyeAble_closeMoreFunctionsPage(), b = !0); 5494 "eyeAble_infoPageID" !== a && eyeAble_shadowRoot.getElementById("eyeAble_infoPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_infoPageID")).display && (eyeAble_closeInfoPage(), b = !0); 5495 "shortcutManualContainerID" !== a && eyeAble_shadowRoot.getElementById("shortcutManualContainerID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("shortcutManualContainerID")).display && 5496 (eyeAble_closeShortcutManualPage(), b = !0); 5497 "ttsManualContainerID" !== a && eyeAble_shadowRoot.getElementById("ttsManualContainerID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("ttsManualContainerID")).display && (eyeAble_closeTTSManPage(), b = !0); 5498 "eyeAble_RealSettingsPageID" !== a && eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID")).display && (eyeAble_closeSettingsPage(), b = !0); 5499 "eyeAble_ExtendedFontPageID" !== 5500 a && eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")).display && (eyeAble_closeExtendedFontPage(), b = !0); 5501 return b 5502} 5503 5504function eyeAble_toggleOneClick() { 5505 if (!eyeAble_oneClickEnabled || eyeAble_shadowRoot.getElementById("oneClickSaveID").matches(":hover")) return !1; 5506 eyeAble_shadowRoot.getElementById("oneClickID").classList.contains("eyeAbleActive") ? (eyeAble_resetAll(), eyeAble_showFeedbackNotification(eyeAble_getMessage("instantOff"), "ALT + Q")) : (eyeAble_enableOneClickSettings(), eyeAble_showFeedbackNotification(eyeAble_getMessage("instantOn"), "ALT + Q")) 5507} 5508 5509function eyeAble_enableOneClickSettings() { 5510 if (!eyeAble_oneClickEnabled) return !1; 5511 if (!eyeAble_shadowRoot.getElementById("oneClickSaveID").matches(":hover")) { 5512 eyeAble_shadowRoot.getElementById("oneClickID").classList.add("eyeAbleActive"); 5513 var a = Object.assign({}, eyeAbleDefaultOneClickVariables); 5514 a.OneClickSettingsDeviations = eyeAbleVariables.OneClickSettingsDeviations; 5515 a.sidePosition = eyeAbleVariables.sidePosition; 5516 a.topPosition = eyeAbleVariables.topPosition; 5517 a.mobileBottomPosition = eyeAbleVariables.mobileBottomPosition; 5518 a.rightPosition = eyeAbleVariables.rightPosition; 5519 a.mobileRightPosition = eyeAbleVariables.mobileRightPosition; 5520 a.OneClickSaved = eyeAbleVariables.OneClickSaved; 5521 a.userLang = eyeAbleVariables.UserLang; 5522 a.userLangCustom = eyeAbleVariables.UserLangCustom; 5523 if (eyeAbleVariables.OneClickSettingsDeviations) for (var b = $jscomp.makeIterator(Object.entries(eyeAbleVariables.OneClickSettingsDeviations)), c = b.next(); !c.done; c = b.next()) { 5524 var d = $jscomp.makeIterator(c.value); 5525 c = d.next().value; 5526 d = d.next().value; 5527 a[c] = d 5528 } 5529 a.iAble_Font_Offset > 5530 eyeAble_settings.maximumFontSizeIncrease && (a.iAble_Font_Offset = eyeAble_settings.maximumFontSizeIncrease); 5531 eyeAble_removeTooltip(); 5532 eyeAble_updateSettingsFromStruct(a) 5533 } 5534 eyeAble_dispatchEvent("One_Click_Mode") 5535} 5536 5537var eyeAbleDefaultOneClickVariables = Object.assign({}, eyeAbleVariables); 5538 5539function eyeAble_saveOneClickSettings() { 5540 if (!eyeAble_oneClickEnabled) return !1; 5541 for (var a = "OneClickSettingsDeviations topPosition UserLang UserLangCustom sidePosition OneClickSaved".split(" "), b = {}, c = $jscomp.makeIterator(Object.entries(eyeAbleDefaultOneClickVariables)), d = c.next(); !d.done; d = c.next()) { 5542 d = $jscomp.makeIterator(d.value); 5543 var e = d.next().value; 5544 d.next(); 5545 eyeAbleVariables[e] === eyeAbleDefaultOneClickVariables[e] || a.includes(e) || (b[e] = eyeAbleVariables[e]) 5546 } 5547 eyeAble_setVar("OneClickSettingsDeviations", 5548 b); 5549 eyeAble_setVar("OneClickSaved", !0); 5550 eyeAble_showFeedbackNotification(eyeAble_getMessage("instantSaved"), "", !0) 5551} 5552 5553function eyeAble_updateSettingsFromStruct(a) { 5554 if (eyeAbleVariables.bluefilterSet !== a.bluefilterSet || eyeAbleVariables.blueFilterLevel !== a.blueFilterLevel) eyeAbleVariables.blueFilterLevel = a.blueFilterLevel, "1" === a.bluefilterSet ? eyeAble_setBluefilter() : eyeAble_resetBluefilter(); 5555 var b = !1; 5556 if (eyeAbleVariables.iAble_Font_Offset !== a.iAble_Font_Offset) { 5557 b = parseInt(a.iAble_Font_Offset) - parseInt(eyeAbleVariables.iAble_Font_Offset); 5558 b > eyeAble_settings.maximumFontSizeIncrease - 1 && (b = eyeAble_settings.maximumFontSizeIncrease - 5559 1); 5560 if (0 < b) for (var c = 0; c < b; c++) eyeAble_increase_font_size(); else for (c = 0; c < -b; c++) eyeAble_decrease_font_size(); 5561 b = !0; 5562 "0" !== a.iAble_Font_Offset && eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && eyeAble_openZoomBox() 5563 } 5564 c = !1; 5565 eyeAbleVariables.Color_Mode !== a.Color_Mode && ("Darkmode" === a.Color_Mode ? (eyeAbleVariables.Color_Mode = a.Color_Mode, eyeAble_init
5565Colors()) : "Contrast" === a.Color_Mode ? (eyeAbleVariables.Color_Mode = a.Color_Mode, eyeAbleVariables.iAble_Background_Color = 5566 a.iAble_Background_Color, eyeAbleVariables.iAble_Text_Color = a.iAble_Text_Color, eyeAble_initColors(), c = !0) : eyeAble_reset_colors()); 5567 eyeAbleVariables.iAble_Background_Color === a.iAble_Background_Color && eyeAbleVariables.iAble_Text_Color === a.iAble_Text_Color || c || (eyeAbleVariables.iAble_Background_Color = a.iAble_Background_Color, eyeAbleVariables.iAble_Text_Color = a.iAble_Text_Color, eyeAble_initColors()); 5568 eyeAbleVariables.eyeAble_Font_Family !== a.eyeAble_Font_Family && ("0" === a.eyeAble_Font_Family ? eyeAble_resetFontFamily() : 5569 eyeAble_setFontFamily(a.eyeAble_Font_Family)); 5570 eyeAbleVariables.eyeAble_Color_Filter !== a.eyeAble_Color_Filter && eyeAble_applyCVD(a.eyeAble_Color_Filter); 5571 eyeAbleVariables.Extended !== a.Extended && ("1" === a.Extended ? eyeAble_showAll_arrow() : eyeAble_closeAll_arrow()); 5572 eyeAbleVariables.BigCursor !== a.BigCursor && ("1" === a.BigCursor ? eyeAble_enableBigCursor() : eyeAble_disableBigCursor()); 5573 eyeAbleVariables.Animations !== a.Animations && ("1" === a.Animations ? eyeAble_enableAnimations() : eyeAble_disableAnimations()); 5574 eyeAbleVariables.HideImages !== 5575 a.HideImages && ("1" === a.HideImages ? eyeAble_hideImagesAndVideos() : eyeAble_resetHideImagesAndVideos()); 5576 eyeAbleVariables.Muted !== a.Muted && ("1" === a.Muted ? eyeAble_muteAudio() : eyeAble_resetMuteAudio()); 5577 eyeAbleVariables.BluefilterAuto !== a.BluefilterAuto && ("0" === eyeAbleVariables.BluefilterAuto ? "MAN" === a.BluefilterAuto ? eyeAble_toggleBluefilterMANTimeSelect() : eyeAble_toggleBluefilterSUNTimeSelect() : "0" === a.BluefilterAuto && ("MAN" === eyeAbleVariables.BluefilterAuto ? eyeAble_toggleBluefilterMANTimeSelect() : eyeAble_toggleBluefilterSUNTimeSelect())); 5578 if (eyeAbleVariables.Letter_Spacing !== a.Letter_Spacing || eyeAbleVariables.Word_Spacing !== a.Word_Spacing || eyeAbleVariables.Alignment !== a.Alignment) eyeAbleVariables.Letter_Spacing = a.Letter_Spacing, eyeAbleVariables.Word_Spacing = a.Word_Spacing, eyeAbleVariables.Alignment = a.Alignment, eyeAble_setFontSpacingAndAlignments(), eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && (c = parseFloat(eyeAble_shadowRoot.getElementById("letterSpacingRangerID").getAttribute("step")), eyeAble_shadowRoot.getElementById("letterSpacingRangerID").value = 5579 c * eyeAbleVariables.Letter_Spacing, eyeAble_shadowRoot.getElementById("letterSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Letter_Spacing).toFixed(0) + "%", c = parseFloat(eyeAble_shadowRoot.getElementById("wordSpacingRangerID").getAttribute("step")), eyeAble_shadowRoot.getElementById("wordSpacingRangerID").value = c * eyeAbleVariables.Word_Spacing, eyeAble_shadowRoot.getElementById("wordSpacingTxt").innerText = "+" + (10 * eyeAbleVariables.Word_Spacing).toFixed(0) + "%", eyeAble_alignStyleUpdate()); 5580 b || eyeAbleVariables.Fontsize === 5581 a.Fontsize && eyeAbleVariables.Line_height === a.Line_height || (eyeAbleVariables.Fontsize = a.Fontsize, eyeAbleVariables.Line_height = a.Line_height, eyeAble_runFontsizeObserver(), eyeAble_fontsizeStyleUpdate(), eyeAble_lnHeightStyleUpdate()); 5582 b || eyeAbleVariables.Zoom_Lvl === a.Zoom_Lvl || (eyeAbleVariables.Zoom_Lvl = a.Zoom_Lvl, eyeAble_setWebsiteZoom(), eyeAble_zoomStyleUpdate()); 5583 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.disableIconDrag || (eyeAbleVariables.sidePosition !== a.sidePosition && eyeAble_switchSide(a.sidePosition), 5584 eyeAbleVariables.topPosition !== a.topPosition && eyeAble_changeFixedTopPosition(a.topPosition));
5585 Object.keys(a).length === Object.keys(eyeAbleVariables).length && (eyeAbleVariables = a); 5586 b && (eyeAble_calculateSizeAndHeight(parseInt(eyeAbleVariables.iAble_Font_Offset)), eyeAble_setVar("Zoom_Lvl", eyeAble_calculateZoomLvl(parseInt(eyeAbleVariables.iAble_Font_Offset)))) 5587} 5588 5589function eyeAble_initDetectVideoFullscreen() { 5590 for (var a = document.getElementsByTagName("VIDEO"), b = 0; b < a.length; b++) a[b].addEventListener("fullscreenchange", eyeAble_videoFullscreenDetected), a[b].addEventListener("mozfullscreenchange", eyeAble_videoFullscreenDetected), a[b].addEventListener("webkitfullscreenchange", eyeAble_videoFullscreenDetected); 5591 document.addEventListener("fullscreenchange", eyeAble_videoFullscreenDetected); 5592 document.addEventListener("mozfullscreenchange", eyeAble_videoFullscreenDetected); 5593 document.addEventListener("webkitfullscreenchange", eyeAble_videoFullscreenDetected); 5594 a = document.querySelectorAll(".ytp-fullscreen-button"); 5595 for (b = 0; b < a.length; b++) a[b].addEventListener("click", eyeAble_videoFullscreenDetected) 5596} 5597 5598function eyeAble_videoFullscreenDetected() { 5599 document.fullscreenElement || document.fullScreen || document.mozFullScreen || document.webkitIsFullScreen ? eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.display = "none" : eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.display = "block" 5600} 5601 5602function eyeAble_checkMobileDesign() { 5603 780 > window.innerWidth && !(eyeAble_session_parameters.isExtension && 1.5 < eyeAbleVariables.Zoom_Lvl) && (eyeAble_session_parameters.isMobile = !0); 5604 eyeAble_session_parameters.isMobile && (eyeAble_activeFeatures = "Free" === eyeAble_activeFeatures.id ? eyeAble_activeFeaturesBaseMobile : eyeAble_activeFeaturesMobile) 5605} 5606 5607function eyeAble_htmlFitContentSet() { 5608 if (eyeAble_pluginLocalConfig && !0 !== eyeAble_pluginLocalConfig.htmlFitContent) return !1; 5609 parseInt(getComputedStyle(document.documentElement).height) < window.innerHeight + 10 && !eyeAble_htmlHeightFit && (document.documentElement.style.height = "fit-content", eyeAble_htmlHeightFit = !0) 5610} 5611 5612var eyeAble_lastEvent = ""; 5613 5614function eyeAble_dispatchEvent(a) { 5615 if (eyeAble_lastEvent !== a) { 5616 var b = new CustomEvent("eyeable:event", {detail: a}); 5617 document.dispatchEvent(b); 5618 eyeAble_lastEvent = a; 5619 setTimeout(function () { 5620 eyeAble_lastEvent = "" 5621 }, 200) 5622 } 5623} 5624 5625function eyeAble_isFunctionActive() { 5626 for (var a = "eyeAble_Font_Family iAble_Font_Offset Fontsize Line_height Word_Spacing Letter_Spacing Zoom_Lvl Alignment eyeAble_Color_Filter Color_Mode bluefilterSet Animations HideImages Muted BluefilterAuto BigCursor".split(" "), b = $jscomp.makeIterator(Object.entries(eyeAbleDefaultOneClickVariables)), c = b.next(); !c.done; c = b.next()) { 5627 c = $jscomp.makeIterator(c.value); 5628 var d = c.next().value; 5629 c.next(); 5630 if (eyeAbleVariables[d] !== eyeAbleDefaultOneClickVariables[d] && a.includes(d)) return !0 5631 } 5632 return !1 5633} 5634 5635function eyeAble_setActiveCheckVis() { 5636 eyeAble_isFunctionActive() ? fastdomEA.mutate(function () { 5637 eyeAble_shadowRoot.getElementById("functionActiveID").style.removeProperty("visibility") 5638 }) : fastdomEA.mutate(function () { 5639 eyeAble_shadowRoot.getElementById("functionActiveID").style.visibility = "hidden" 5640 }) 5641} 5642 5643var eyeAble_isLocalHosting = !1; 5644 5645function eyeAble_checkIsLocalHosting() { 5646 try { 5647 eyeAble_isLocalHosting = !1, "undefined" !== typeof eyeAble_pluginConfig && eyeAble_pluginConfig.pluginPath && (eyeAble_pluginConfig.pluginPath.includes("eye-able-cdn") || (eyeAble_isLocalHosting = !0)), document.currentScript && !document.currentScript.src.includes("eye-able-cdn") && (eyeAble_isLocalHosting = !0), eyeAble_imagePaths.cssPath.includes("eye-able-cdn.") || (eyeAble_isLocalHosting = !0) 5648 } catch (a) { 5649 } 5650} 5651 5652var eyeAble_externalStorageIframe = !1; 5653 5654function eyeAble_createStorageIframe() { 5655 if (document.getElementById("eyeAbleStorageHub")) eyeAble_externalStorageIframe = !0; else { 5656 var a = document.createElement("iframe"); 5657 a.id = "eyeAbleStorageHub"; 5658 a.src = eyeAble_crossStorageUrl; 5659 a.style.display = "none"; 5660 document.head.appendChild(a) 5661 } 5662};var eyeAble_SrStartElementClass = "eyeAble_SrStart", eyeAble_SrTextBlockClass = "eyeAble_SrText", 5663 eyeAble_SrBlacklistClass = "eyeAble_SrSkip", eyeAble_limitBarSizeSheet, eyeAble_screenreaderReactivated = !1, 5664 eyeAble_TTSinitTextTimeout = -1, azureSynthLoaded = !1, azureSynth, azurePlayer, azureRequestSent = !1, 5665 azurePlayerSynthesisTime = 0, sdkApiKey, sdkRegion, azureVoice, azureLang, 5666 azureFavoriteVoices = {"de-DE": "de-DE-KatjaNeural"}, speechConfig; 5667 5668function eyeAble_configureExternalTTS(a) { 5669 var b, c, d, e, f, h, g, l, m; 5670 return $jscomp.asyncExecutePromiseGeneratorProgram(function (q) { 5671 if (1 == q.nextAddress) { 5672 if ("undefined" === typeof enableAzureTTS) return q.return(); 5673 speechConfig = window.SpeechSDK.SpeechConfig.fromSubscription(sdkApiKey, sdkRegion); 5674 speechConfig.SpeechSynthesisOutputFormat = window.SpeechSDK.SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3; 5675 azurePlayer = new window.SpeechSDK.SpeakerAudioDestination; 5676 b = window.SpeechSDK.AudioConfig.fromSpeakerOutput(azurePlayer); 5677 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.azureFavoriteVoices && (azureFavoriteVoices = eyeAble_pluginLocalConfig.azureFavoriteVoices); 5678 if (azureFavoriteVoices && a) for (c = $jscomp.makeIterator(Object.entries(azureFavoriteVoices)), d = c.next(); !d.done; d = c.next()) if (e = d.value, f = $jscomp.makeIterator(e), h = f.next().value, g = f.next().value, h.toLowerCase().includes(a.toLowerCase())) { 5679 azureVoice = g; 5680 azureLang = h; 5681 break 5682 } 5683 if (azureVoice && azureVoice.toLowerCase().includes(a.toLowerCase())) return speechConfig.speechSynthesisVoiceName = 5684 azureVoice, speechConfig.SpeechSynthesisLanguage = azureLang, q.jumpTo(2); 5685 azureSynth = new window.SpeechSDK.SpeechSynthesizer(speechConfig, b); 5686 return a ? q.yield(azureSynth.getVoicesAsync(), 4) : (speechConfig.speechSynthesisVoiceName = "de-DE-KatjaNeural", speechConfig.SpeechSynthesisLanguage = "de-DE", q.jumpTo(2)) 5687 } 5688 if (2 != q.nextAddress) if (l = q.yieldResult, eyeAble_debugLog("Azure Voices:"), eyeAble_debugLog(l), l) for (m = 0; m < l.privVoices.length; m++) { 5689 if (l.privVoices[m].privLocale.toLowerCase().includes(a.toLowerCase())) { 5690 azureVoice = 5691 l.privVoices[m].privShortName; 5692 azureLang = l.privVoices[m].privLocale; 5693 speechConfig.speechSynthesisVoiceName = azureVoice; 5694 speechConfig.SpeechSynthesisLanguage = azureLang; 5695 break 5696 } 5697 } else speechConfig.speechSynthesisVoiceName = "de-DE-KatjaNeural", speechConfig.SpeechSynthesisLanguage = "de-DE"; 5698 azureSynth = new window.SpeechSDK.SpeechSynthesizer(speechConfig, b); 5699 q.jumpToEnd() 5700 }) 5701} 5702 5703function eyeAble_loadExternalVoiceSrc() { 5704 var a = document.createElement("script"); 5705 a.setAttribute("src", eyeAble_imagePaths.azureTTS); 5706 a.setAttribute("id", "eyeAbleTTS"); 5707 a.setAttribute("async", "true"); 5708 a.addEventListener("load", function () { 5709 eyeAble_configureExternalTTS(document.documentElement.lang ? document.documentElement.lang.toLowerCase() : eyeAbleVariables.UserLang).then(); 5710 azureSynthLoaded = !0 5711 }); 5712 document.head.appendChild(a) 5713} 5714 5715var eyeAbleTTS = function () { 5716 function a() { 5717 S || eyeAble_shadowRoot.getElementById("screenreaderControllerID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_columID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || k() 5718 } 5719 5720 function b() { 5721 function u(Q, W, aa) { 5722 X = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 5723 T = Math.max(document.documentElement.clientHeight, window.innerHeight || 0
5723); 5724 var da = parseFloat(getComputedStyle(document.body).zoom); 5725 if (!da || 1 > da) da = 1; 5726 W *= da; 5727 aa *= da; 5728 50 < W ? (W = 100 - W - 100 * da * ba / T, 0 > W && (W = 0), Q.style.bottom = W.toFixed(2) + "%", Q.style.top = "unset") : (0 > W && (W = 0), Q.style.top = W.toFixed(2) + "%"); 5729 50 < aa ? (aa = 100 - aa - 100 * da * ha / X, 0 > aa && (aa = 0), W = aa.toFixed(2), eyeAble_session_parameters.isMobile && 7 > W && (W = 7), Q.style.right = W + "%", Q.style.left = "unset") : (0 > aa && (aa = 0), Q.style.left = aa.toFixed(2) + "%") 5730 } 5731 5732 function x(Q) { 5733 function W(V) { 5734 V = V || window.event; 5735 V.preventDefault(); 5736 da = ca - V.clientX; 5737 ea = Z - V.clientY; 5738 ca = V.clientX; 5739 Z = V.clientY; 5740 Q.style.top = Q.offsetTop - 5741 ea + "px"; 5742 Q.style.left = Q.offsetLeft - da + "px" 5743 } 5744 5745 function aa() { 5746 var V = 100 * (Q.offsetTop - ea) / T; 5747 eyeAble_setVar("ControllerTop", V); 5748 var ia = 100 * (Q.offsetLeft - da) / X; 5749 eyeAble_setVar("ControllerLeft", ia); 5750 u(Q, V, ia); 5751 document.removeEventListener("mousemove", W); 5752 document.removeEventListener("mouseup", aa) 5753 } 5754 5755 var da = 0, ea = 0, ca = 0, Z = 0; 5756 Q.onmousedown = function (V) { 5757 eyeAble_shadowRoot.getElementById("srControlerHeaderID").matches(":hover") && (X = Math.min(document.documentElement.clientWidth, window.innerWidth || 0), T = Math.min(document.documentElement.clientHeight, 5758 window.innerHeight || 0), V = V || window.event, V.preventDefault(), ca = V.clientX, Z = V.clientY, document.addEventListener("mouseup", aa), document.addEventListener("mousemove", W)) 5759 } 5760 } 5761 5762 function C(Q) { 5763 function W(V) { 5764 V = V || window.event; 5765 V.preventDefault(); 5766 da = ca - V.touches[0].clientX; 5767 ea = Z - V.touches[0].clientY; 5768 ca = V.touches[0].clientX; 5769 Z = V.touches[0].clientY; 5770 Q.style.top = Q.offsetTop - ea + "px"; 5771 Q.style.left = Q.offsetLeft - da + "px" 5772 } 5773 5774 function aa() { 5775 Q.classList.remove("eyeAble_shakeAnimation"); 5776 var V = 100 * (Q.offsetTop - ea) / T; 5777 eyeAble_setVar("ControllerTop", 5778 V); 5779 var ia = 100 * (Q.offsetLeft - da) / X; 5780 eyeAble_setVar("ControllerLeft", ia); 5781 u(Q, V, ia); 5782 document.removeEventListener("touchmove", W); 5783 document.removeEventListener("touchend", aa) 5784 } 5785 5786 var da = 0, ea = 0, ca = 0, Z = 0; 5787 Q.addEventListener("touchstart", function (V) { 5788 function ia() { 5789 ka = !0 5790 } 5791 5792 var ka = !1; 5793 document.addEventListener("touchend", ia); 5794 setTimeout(function () { 5795 eyeAble_shadowRoot.getElementById("screenreaderControllerID").matches(":hover") && !ka && (X = Math.min(document.documentElement.clientWidth, window.innerWidth || 0), T = Math.min(document.documentElement.clientHeight, 5796 window.innerHeight || 0), document.removeEventListener("touchend", ia), V = V || window.event, V.preventDefault(), ca = V.clientX, Z = V.clientY, document.addEventListener("touchend", aa), document.addEventListener("touchmove", W), Q.classList.add("eyeAble_shakeAnimation"), eyeAble_shadowRoot.getElementById("srForwardID").blur(), eyeAble_shadowRoot.getElementById("srBackwardID").blur(), eyeAble_shadowRoot.getElementById("srStopButtonID").blur()) 5797 }, 1E3) 5798 }) 5799 } 5800 5801 var O = ' <div class="eyeAble_screenreader-window" id="screenreaderControllerID" tabindex="0"> <div class="eyeAble_sr-heading" id="srControlerHeaderID"> <p class="eA_TabButton" ealangid="srHeader" tabindex="0">' + 5802 eyeAble_getMessage("srHeader") + '</p> <img class="noHide eA_TabButton" role="button" tabindex="0" src="' + eyeAble_imagePaths.xNoCirclePath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" class="eyeAble_cancel-window eA_TabButton" id="closeSrControllerID"> </div> <div class="eyeAble_sr-content"> <div class="eyeAble_sr-options"> <div class="eyeAble_sr-single-option eyeAble_sr-leftOption eyeAble_radical-border"> <div class="eyeAble_SrSkip eyeAble_sr-reading eA_TabButton" role="button" tabindex="0" eaAriaLangID="ariaCursorToogle" aria-label="' + 5803 eyeAble_getMessage("ariaCursorToogle") + '" id="toggleVoiceOutputID"> <img eyeableskipnav="true" class="noHide" src="' + eyeAble_imagePaths.settingsMousePath + '" alt="" style="transform: translate(-5px, 0px);">
5803 <span eyeableskipnav="true" id="srSpeechEnabledTextID" ealangid="srOn">' + eyeAble_getMessage("srOn") + '</span> </div> <p class="eyeAble_sr-option-text" eALangID="srCursor" style="font-size: min(18px,var(--font-size-smallerText));max-height: 20px;overflow: hidden;max-width: 130px;">' + 5804 eyeAble_getMessage("srCursor") + '</p> </div> <div class="eyeAble_sr-single-option eyeAble_sr-controlbox eyeAble_sr-centerOption eyeAble_radical-border"> <div class="eyeAble_sr-controls"> <button class="eyeAble_SrSkip eyeAble-sr-controls-icon eA_TabButton" id="srBackwardID" tabindex="0" style="margin-left: 1px"> <img eyeableskipnav="true" class="noHide"src="' + eyeAble_imagePaths.srBackButton + '" alt="' + eyeAble_getMessage("altBackSr") + '" eaAltLangID="altBackSr"> </button> <button class="eyeAble_SrSkip eyeAble-sr-controls-icon eyeAble_Play_Pause eA_TabButton" tabindex="0" id="srPlayStopButtonID"> <img eyeableskipnav="true" class="noHide" src="' + 5805 eyeAble_imagePaths.srPlayButton + '" alt="' + eyeAble_getMessage("altPlaySr") + '" eaAltLangID="altPlaySr"> <img eyeableskipnav="true" class="noHide" src="' + eyeAble_imagePaths.srPauseButton + '" alt="' + eyeAble_getMessage("altPauseSr") + '" eaAltLangID="altPauseSr"> </button> <button class="eyeAble_SrSkip eyeAble-sr-controls-icon eyeAble_Stop eA_TabButton" tabindex="0" id="srStopButtonID"> <img eyeableskipnav="true" class="noHide" src="' + eyeAble_imagePaths.srStopButton + 5806 '" alt="' + eyeAble_getMessage("altStopSr") + '" eaAltLangID="altStopSr"> </button> <button class="eyeAble_SrSkip eyeAble-sr-controls-icon eA_TabButton" id="srForwardID" tabindex="0" style="margin-right: 2px"> <img eyeableskipnav="true" class="noHide" src="' + eyeAble_imagePaths.srForwardButton + '" alt="' + eyeAble_getMessage("altForwardSr") + '" eaAltLangID="altForwardSr"> </button> </div> <p class="eyeAble_sr-option-text" eALangID="srCtrl">' + 5807 eyeAble_getMessage("srCtrl") + '</p> </div> <div class="eyeAble_sr-single-option eyeAble_sr-rightOption" style="min-width: 96px;"> <button id="srIcon" class="eyeAble_SrSkip eyeAble_sr-setting eA_TabButton" tabindex="0" style="min-width: 67px;"> <img eyeableskipnav="true" src="' + eyeAble_imagePaths.srSettings + '" alt="' + eyeAble_getMessage("altSettingsSrOpen") + '" eaAltLangID="altSettingsSrOpen" class="eyeAbe_srs-icon noHide"> <img eyeableskipnav="true" src="' + 5808 eyeAble_imagePaths.srSettingsClose + '" alt="' + eyeAble_getMessage("altSettingsSrClose") + '" eaAltLangID="altSettingsSrClose" class="eyeAble_srs-cancel noHide"> </button> <p class="eyeAble_sr-option-text" eALangID="srSett">' + eyeAble_getMessage("srSett") + '</p> </div> </div> <div id="srsContent" class="eyeAble_sr-settings"> <div class="eyeAble_sr-settings-content"> <div class="eyeAble_sr-speed eyeAble_radical-border"> <p eALangID="srSpeed">' + 5809 eyeAble_getMessage("srSpeed") + '</p> <div class="eyeAble_sr-cmncontrols"> <button class="eyeAble_sr-cmncontrols-icon eA_TabButton eyeAtabClickable" tabindex="-1" id="srSlowerButtID"> <img eyeableskipnav="true" class="noHide" class="eyeAble_srMinus" src="' + eyeAble_imagePaths.srMinus + '" alt="' + eyeAble_getMessage("altSrSpeedMinus") + '" eaAltLangID="altSrSpeedMinus"> </button> <div class="eyeAble_sr-cmncontrols-value" id="srRateTextID">1.0x</div> <button class="eyeAble_sr-cmncontrols-icon eA_TabButton eyeAtabClickable" tabindex="-1" id="srFasterButtID"> <img eyeableskipnav="true" class="noHide" src="' + 5810 eyeAble_imagePaths.srPlus + '" alt="' + eyeAble_getMessage("altSrSpeedPlus") + '" eaAltLangID="altSrSpeedPlus"> </button> </div> </div> <div class="eyeAble_sr-volume"> <p eALangID="srVol">' + eyeAble_getMessage("srVol") + '</p>
5810 <div class="eyeAble_sr-cmncontrols"> <button class="eyeAble_sr-cmncontrols-icon eA_TabButton eyeAtabClickable" tabindex="-1" id="srQuieterButtID"> <img eyeableskipnav="true" class="noHide" class="eyeAble_srMinus" src="' + 5811 eyeAble_imagePaths.srMinus + '" alt="' + eyeAble_getMessage("altSrVolMinus") + '" eaAltLangID="altSrVolMinus"> </button> <div class="eyeAble_sr-cmncontrols-value" id="srVolumeTextID">100%</div> <button class="eyeAble_sr-cmncontrols-icon eA_TabButton eyeAtabClickable" tabindex="-1" id="srLouderButtID"> <img eyeableskipnav="true" class="noHide" src="' + eyeAble_imagePaths.srPlus + '" alt="' + eyeAble_getMessage("altSrVolPlus") + '" eaAltLangID="altSrVolPlus"> </button> </div> </div> </div> <div class="eyeAble_setting-info"> <div class="eyeAble_setting-info-icon eA_TabButton eyeAtabClickable" role="button" tabindex="-1" aria-label="' + 5812 eyeAble_getMessage("srMan") + '" id="srOpenManualID"> <img eyeableskipnav="true" src="' + eyeAble_imagePaths.srInfoIcon + '" alt=""> <p class="eyeAble_setting-info-text" eALangID="srMan">' + eyeAble_getMessage("srMan") + "</p> </div> </div> </div> </div> </div>"; 5813 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", O); 5814 eyeAble_shadowRoot.getElementById("closeSrControllerID").addEventListener("click", eyeAbleWebsiteNav.toggleNavWithSpeech); 5815 eyeAble_shadowRoot.getElementById("closeSrControllerID").addEventListener("keydown", function (Q) { 5816 "Enter" === Q.code && eyeAbleWebsiteNav.toggleNavWithSpeech() 5817 }); 5818 var X = Math.max(document.documentElement.clientWidth, window.innerWidth || 0), 5819 T = Math.max(document.documentElement.clientHeight, window.innerHeight || 0), 5820 ba = eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().height, 5821 ha = eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().width, 5822 ja = eyeAble_shadowRoot.getElementById("srIcon"), 5823 fa = eyeAble_shadowRoot.getElementById("srsContent"); 5824 ja.addEventListener("click", function () { 5825 ja.classList.toggle("eyeAble_sr-active"); 5826 fa.classList.toggle("eyeAble_sr-active"); 5827 fa.classList.contains("eyeAble_sr-active") ? eyeAble_showClickableElements("srsContent") : eyeAble_hideClickableElements("srsContent"); 5828 setTimeout(function () { 5829 ba = eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().height 5830 }, 450) 5831 }); 5832 eyeAble_session_parameters.isMobile ? u(eyeAble_shadowRoot.getElementById("screenreaderControllerID"), 5833 80, 3) : u(eyeAble_shadowRoot.getElementById("screenreaderControllerID"), parseFloat(eyeAble_getVar("ControllerTop")), parseFloat(eyeAble_getVar("ControllerLeft"))); 5834 eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("click", d); 5835 eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("keyup", function (Q) { 5836 "Enter" === Q.key && d() 5837 }); 5838 eyeAbleVariables.ReadCursorActive || (eyeAble_shadowRoot.getElementById("toggleVoiceOutputID") && eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"), 5839 eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID") && (eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText = eyeAble_getMessage("srOff"))); 5840 eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause"); 5841 eyeAble_session_parameters.isMobile || (eyeAble_shadowRoot.getElementById("srPlayStopButtonID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("mouseenter", eyeAble_createTooltip)); 5842 eyeAble_shadowRoot.getElementById("srBackwardID").addEventListener("click", eyeAbleWebsiteNav.backward); 5843 eyeAble_shadowRoot.getElementById("srForwardID").addEventListener("click", eyeAbleWebsiteNav.forward); 5844 eyeAble_shadowRoot.getElementById("srPlayStopButtonID").addEventListener("click", eyeAbleWebsiteNav.toggleReadWholePage); 5845 eyeAble_shadowRoot.getElementById("srStopButtonID").addEventListener("click", eyeAbleWebsiteNav.stopReadWholePage); 5846 eyeAble_shadowRoot.getElementById("srRateTextID").innerText = eyeAble_getVar("SpeechRate").toFixed(1) + 5847 "x"; 5848 eyeAble_shadowRoot.getElementById("srFasterButtID").addEventListener("click", e); 5849 eyeAble_shadowRoot.getElementById("srSlowerButtID").addEventListener("click", f); 5850 eyeAble_shadowRoot.getElementById("srVolumeTextID").innerText = (100 * eyeAble_getVar("SpeechVolume")).toFixed(0) + "%"; 5851 eyeAble_shadowRoot.getElementById("srQuieterButtID").addEventListener("click", g); 5852 eyeAble_shadowRoot.getElementById("srLouderButtID").addEventListener("click", h); 5853 eyeAble_shadowRoot.getElementById("screenreaderControllerID").focus(); 5854 eyeAble_shadowRoot.getElementById("srOpenManualID").addEventListener("click", eyeAble_toggleTTSManPage); 5855 eyeAble_session_parameters.isMobile ? C(eyeAble_shadowRoot.getElementById("screenreaderControllerID")) : x(eyeAble_shadowRoot.getElementById("screenreaderControllerID")) 5856 } 5857 5858 function c() { 5859 var u = eyeAble_shadowRoot.getElementById("screenreaderControllerID"); 5860 u ? (u.style.display = "block", eyeAble_shadowRoot.getElementById("screenreaderControllerID").focus(), eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause"), 5861 eyeAbleVariables.ReadCursorActive || (eyeAble_shadowRoot.getElementById("toggleVoiceOutputID") && eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"), eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID") && (eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText = eyeAble_getMessage("srOff")))) : b(); 5862 azureSynthLoaded && r && (eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display = "none") 5863 } 5864 5865 function d() { 5866 eyeAbleVariables.ReadCursorActive ? 5867 (eyeAble_shadowRoot.getElementById("toggleVoiceOutputID") && eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"), eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID") && (eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText = eyeAble_getMessage("srOff")), eyeAble_setVar("ReadCursorActive", !1)) : (eyeAble_setVar("ReadCursorActive", !0), eyeAble_shadowRoot.getElementById("toggleVoiceOutputID") && eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.remove("eyeAble_sr-readingactive"), 5868 eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID") && (eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText = eyeAble_getMessage("srOn"))) 5869 } 5870 5871 function e() { 5872 G += .1; 5873 2 < G && (G = 2); 5874 eyeAble_setVar("SpeechRate", G); 5875 eyeAble_shadowRoot.getElementById("srRateTextID").innerText = G.toFixed(1) + "x" 5876 } 5877 5878 function f() { 5879 G -= .1; 5880 .1 > G && (G = .1); 5881 eyeAble_setVar("SpeechRate", G); 5882 eyeAble_shadowRoot.getElementById("srRateTextID").innerText = G.toFixed(1) + "x" 5883 } 5884 5885 function h() { 5886 w += .1; 5887 1 < w && (w = 1); 5888 eyeAble_setVar("SpeechVolume", w); 5889 eyeAble_shadowRoot.getElementById("srVolumeTextID").innerText = 5890 (100 * w).toFixed(0) + "%" 5891 } 5892 5893 function g() { 5894 w -= .1; 5895 0 > w && (w = 0); 5896 eyeAble_setVar("SpeechVolume", w); 5897 eyeAble_shadowRoot.getElementById("srVolumeTextID").innerText = (100 * w).toFixed(0) + "%" 5898 } 5899 5900 function l(u) { 5901 var x = u.lang; 5902 x = x.split("-")[0]; 5903 var C = speechSynthesis.getVoices(), O = !1; 5904 try { 5905 if (/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) { 5906 for (var X = 0; X < C.length; X++) if (C[X].lang.includes(x) && C[X].voiceURI.includes("Google")) { 5907 u.voice = C[X]; 5908 O = !0; 5909 break 5910 } 5911 if (!O) { 5912 var T = {en: "Samantha", it: "Luca"}[x]; 5913 if (T) for (X = 0; X < C.length; X++) if (C[X].lang.includes(x) && 5914 C[X].voiceURI.includes(T)) { 5915 u.voice = C[X]; 5916 O = !0; 5917 break 5918 } 5919 } 5920 } else for (T = 0; T < C.length; T++) C[T].lang.includes(x) && !0 === C[T].localService && (u.voice = C[T], O = !0) 5921 } catch (ba) { 5922 } 5923 if (!O && eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceLocalVoiceOnly) for (T = 0; T < C.length; T++) if (!0 === C[T].localService) { 5924 u.voice = C[T]; 5925 O = !0; 5926 break 5927 } 5928 O || (x.includes("sk") ? u.lang = "pl-PL" : x.includes("uk") && (u.lang = "ru-RU")); 5929 return u 5930 } 5931 5932 function m(u) { 5933 var x = u.lang; 5934 x = x.split("-")[0]; 5935 for (var C = speechSynthesis.getVoices(), O = 0; O < C.length; O++) if (C[O].lang.includes(x) && 5936 !0 !== C[O].localService) { 5937 u.voice = C[O]; 5938 break 5939 } 5940 return u 5941 } 5942 5943 function q() { 5944 if (R && Y && !0 !== window.speechSynthesis.paused) { 5945 var u = new SpeechSynthesisUtterance(Y); 5946 u.rate = G; 5947 u.volume = w; 5948 u.lang = H; 5949 l(u); 5950 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceBrowserVoice && (u = m(u));
5951 I(u, {chunkLength: 500}, null, null, !1) 5952 } 5953 } 5954 5955 function n() { 5956 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID") && eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").classList.remove("eyeAbleActive"); 5957 var u = document.querySelectorAll(".eyeAble_websiteMouseSpeechFocus"); 5958 if (u) for (var x = 0; x < u.length; x++) u[x].classList.remove("eyeAble_websiteMouseSpeechFocus"); 5959 eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID") && (eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID").src = eyeAble_imagePaths.mutedPath); 5960 document.getElementById("bar") && document.getElementById("bar").remove(); 5961 if (u = document.querySelectorAll(".eyeAble_websiteMousePreFocus")) for (x = 0; x < u.length; x++) u[x].classList.remove("eyeAble_websiteMousePreFocus") 5962 } 5963 5964 var r = !1, v = -1, A, E, I = function (u, x, C, O, X) { 5965 X = 5966 void 0 === X ? !0 : X; 5967 x = x || {}; 5968 var T = x && void 0 !== x.offset ? u.text.substring(x.offset) : u.text; 5969 if (u.voice && "native" === u.voice.voiceURI) { 5970 var ba = u; 5971 ba.text = T; 5972 ba.addEventListener("end", function () { 5973 I.cancel && (I.cancel = !1); 5974 void 0 !== C && C() 5975 }) 5976 } else {
5977 var ha = x && x.chunkLength || 160; 5978 T = T.match(new RegExp("^[\\s\\S]{" + Math.floor(ha / 2) + "," + ha + "}[.!?,]{1}|^[\\s\\S]{1," + ha + "}$|^[\\s\\S]{1," + ha + "} ")); 5979 if (void 0 === T[0] || 2 >= T[0].length) { 5980 void 0 !== C && "function" === typeof C && C(); 5981 return 5982 } 5983 var ja = T[0]; 5984 ba = new SpeechSynthesisUtterance(ja); 5985 for (var fa in u) fa in u && u[fa] && "text" !== fa && (ba[fa] = u[fa]); 5986 O && X && U && (E = new Mark(O), ba.onboundary = function (Q) { 5987 if ("word" === Q.name) { 5988 var W = {element: "eaMark", className: "eA_highlight"}; 5989 E.unmark(W); 5990 var aa = Q.charIndex; 5991 x.offset && (aa += x.offset); 5992 E.markRanges([{start: aa, length: Q.charLength}], W) 5993 } else "sentence" === Q.name && (W = { 5994 element: "eaMark", 5995 className: "eA_SentenceHighlight" 5996 }, E.unmark(W), aa = Q.utterance.text.substring(Q.charIndex), Q = Q.charIndex, 0 !== Q && --Q, x.offset && (Q += x.offset), Q = { 5997 start: Q, length: aa.split(". ")[0].length + 5998 1 5999 }, E.markRanges([Q], W)) 6000 }, ba.onend = function () { 6001 E.unmark() 6002 }); 6003 ba.addEventListener("end", function () { 6004 I.cancel ? I.cancel = !1 : (x.offset = x.offset || 0, x.offset += ja.length - 1, I(u, x, C, O, X)) 6005 }) 6006 } 6007 x.modifier && x.modifier(ba); 6008 setTimeout(function () { 6009 N.speak(ba) 6010 }, 0) 6011 }, H, L, N = window.speechSynthesis, G = 1, w = 1, F = !1, M, P = [], U = !0, S = !1, R = !0, Y = "", 6012 J = function (u, x, C, O, X, T, ba, ha) { 6013 function ja(ca, Z) { 6014 Z = void 0 === Z ? !0 : Z; 6015 P.includes(T) || P.push(T); 6016 ha && (ca.volume = .001); 6017 l(ca); 6018 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.forceBrowserVoice && 6019 (ca = m(ca)); 6020 2 >= ca.text.length ? N.speak(ca) : I(ca, {chunkLength: 500}, q, T, Z) 6021 } 6022 6023 x = void 0 === x ? null : x; 6024 C = void 0 === C ? null : C; 6025 O = void 0 === O ? !1 : O; 6026 X = void 0 === X ? null : X; 6027 T = void 0 === T ? null : T; 6028 ba = void 0 === ba ? !0 : ba; 6029 ha = void 0 === ha ? !1 : ha; 6030 var fa, Q, W, aa, da, ea; 6031 return $jscomp.asyncExecutePromiseGeneratorProgram(function (ca) { 6032 switch (ca.nextAddress) { 6033 case 1: 6034 if (!eyeAble_readerEnabled) return ca.return(!1); 6035 if (!F || !u || !eyeAbleWebsiteNavigationActive) return ca.return(); 6036 x || (x = L); 6037 "function" === typeof eyeAble_ttsTextFilter && (u = eyeAble_ttsTextFilter(u)); 6038 try { 6039 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.srDictionary) for (fa in eyeAble_pluginLocalConfig.srDictionary) u = u.replaceAll(fa, eyeAble_pluginLocalConfig.srDictionary[fa]) 6040 } catch (Z) { 6041 } 6042 k(); 6043 R = !0; 6044 Y = C; 6045 O && X.classList.add("eyeAble_websiteMouseSpeechFocus"); 6046 if (!azureSynthLoaded) { 6047 ca.jumpTo(2); 6048 break 6049 } 6050 if (azureSynth) { 6051 ca.jumpTo(3); 6052 break 6053 } 6054 return ca.yield(eyeAble_configureExternalTTS(L), 3); 6055 case 3: 6056 azurePlayer.resume(); 6057 azureRequestSent = !0; 6058 T && ba && !r && U && (Q = function () { 6059 if (0 !== W.length) { 6060 for (var Z = W[0].textOffset, 6061 V = 1E7 * azurePlayer.currentTime, ia = 0, ka = 0; ka < W.length; ka++) if (V >= W[ka].start && V <= W[ka].end) { 6062 ia = 1; 6063 var ma = {element: "eaMark", className: "eA_highlight"}; 6064 A.unmark(ma); 6065 A.markRanges([{start: W[ka].textOffset - Z, length: W[ka].wordLength}], ma) 6066 } 6067 if (1 >= aa.length) Z = { 6068 element: "eaMark", 6069 className: "eA_SentenceHighlight" 6070 }, A.unmark(Z), A.markRanges([{start: 0, length: u.length}], Z); else { 6071 ka = {element: "eaMark", className: "eA_SentenceHighlight"}; 6072 A.unmark(ka); 6073 for (var na = ma = 0, la = 0; la < aa.length; la++) if (V <= aa[la].start) { 6074 0 === la ? (ma = 0, na = 6075 aa[la].textOffset - Z) : (ma = aa[la - 1].textOffset - Z, na = aa[la].textOffset - Z - (aa[la - 1].textOffset - Z)); 6076 break 6077 } 6078 A.markRanges([{start: ma, length: na}], ka) 6079 } 6080 0 === ia && V >= W[W.length - 1].end && (A.unmark(), clearInterval(v)) 6081 } 6082 }, W = [], aa = [], A = new Mark(T), azureSynth.wordBoundary = function (Z, V) { 6083 "WordBoundary" === V.privBoundaryType ? W.push({ 6084 start: V.privAudioOffset, 6085 end: V.privAudioOffset + V.privDuration, 6086 word: V.privText, 6087 textOffset: V.privTextOffset, 6088 wordLength: V.privWordLength 6089 }) : "PunctuationBoundary" === V.privBoundaryType && aa.push({ 6090 start: V.privAudioOffset, 6091 textOffset: V.privTextOffset 6092 }) 6093 }, v = setInterval(Q, 100)); 6094 u = u.replaceAll('"', """); 6095 u = u.replaceAll("&", "&"); 6096 u = u.replaceAll("'", "'"); 6097 u = u.replaceAll("<", "<"); 6098 u = u.replaceAll(">", ">"); 6099 try { 6100 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.srPhoentic) for (da in eyeAble_pluginLocalConfig.srPhoentic) u = u.replaceAll(da, '<phoneme alph
6100abet="ipa" ph="' + eyeAble_pluginLocalConfig.srPhoentic[da] + '"> ' + da + " </phoneme>") 6101 } catch (Z) { 6102 } 6103 return ca.yield(azureSynth.speakSsmlAsync('\n <speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"\n xmlns:mstts="https://www.w3.org/2001/mstts" xml:lang="' + 6104 azureLang + '">\n <voice name="' + azureVoice + '">\n <prosody rate="' + G + '" volume="' + (100 * w).toFixed(0) + '">\n ' + u + "\n </prosody>\n </voice>\n </speak>\n ", function (Z) { 6105 azurePlayerSynthesisTime = Z.privAudioDuration / 1E7; 6106 azureSynth.close(); 6107 azureSynth = void 0; 6108 azureRequestSent = !1 6109 }, function (Z) { 6110 window.console.log("Error", Z); 6111 azurePlayerSynthesisTime = 0; 6112 azureSynth.close(); 6113 azureSynth = void 0; 6114 azureRequestSent = !1 6115 }), 5); 6116 case 5: 6117 return ca.return(); 6118 case 2: 6119 ea = new SpeechSynthesisUtterance(u), ea.rate = G, ea.volume = w, ea.pitch = 1, eyeAble_session_parameters.isPlugin ? (ea.lang = x, C && ea.lang.includes(H) && (ea.text = u + " " + C, R = !1), ja(ea, ba)) : chrome.i18n.detectLanguage(u, function (Z) { 6120 ea.lang = Z.isReliable && 50 <= u.length ? Z.languages[0].language : x; 6121 C && ea.lang.includes(H) && (ea.text = u + " " + C, R = !1); 6122 ja(ea, ba) 6123 }), ca.jumpToEnd() 6124 } 6125 }) 6126 }, k = function () { 6127 eyeAbleWebsiteNav.resetNotSpeakingCounter(); 6128 try { 6129 v && 0 <= v && clearInterval(v), A && A.unmark(), E && E.unmark() 6130 } catch (X) { 6131 } 6132 if (azureSynthLoaded && 6133 !azureRequestSent) { 6134 azurePlayer.pause(); 6135 azurePlayer.close(); 6136 azurePlayerSynthesisTime = 0; 6137 azurePlayer = new window.SpeechSDK.SpeakerAudioDestination; 6138 var u = window.SpeechSDK.AudioConfig.fromSpeakerOutput(azurePlayer); 6139 azureSynth = new window.SpeechSDK.SpeechSynthesizer(speechConfig, u) 6140 } else N && N.speaking && (N.cancel(), I.cancel = !0); 6141 if (u = document.querySelectorAll(".eyeAble_websiteMouseSpeechFocus")) for (var x = 0; x < u.length; x++) u[x].classList.remove("eyeAble_websiteMouseSpeechFocus"); 6142 if (u = eyeAble_shadowRoot.querySelectorAll(".eyeAble_websiteMouseSpeechFocus")) for (x = 6143 0; x < u.length; x++) u[x].classList.remove("eyeAble_websiteMouseSpeechFocus"); 6144 x = document.querySelectorAll("*"); 6145 for (var C = 0; C < x.length; C++) if (x[C].shadowRoot && "eyeAble_container_ID" !== x[C].id && (u = x[C].shadowRoot.querySelectorAll(".eyeAble_websiteMouseSpeechFocus"))) for (var O = 0; O < u.length; O++) u[O].classList.remove("eyeAble_websiteMouseSpeechFocus") 6146 }, p = null, t = null, z = function (u) { 6147 if (!eyeAble_readerEnabled || !F || !eyeAbleVariables.ReadCursorActive) return !1; 6148 var x = u.path || u.composedPath && u.composedPath(); 6149 var C = 6150 x && x.length && x[0] ? x[0] : u.target; 6151 if (C !== p && "EYE-ABLE" !== C.tagName) { 6152 "function" === typeof customScreenreaderDetect && (C = customScreenreaderDetect(C)); 6153 var O = eyeAble_getTextFromElement(C); 6154 !O && C.parentNode && C.parentNode.tagName && "A" === C.parentNode.tagName && (O = eyeAble_getTextFromElement(C.parentNode)); 6155 if (O) { 6156 if (eyeAble_hasSomeParentTheClass(C, eyeAble_SrBlacklistClass) || C.tagName && "eamark" === C.tagName.toLowerCase()) return !1; 6157 if (azureSynthLoaded && r) u = C.getRootNode().host, x = null, u && u.classList.contains("eyeAble_container_b") && 6158 (x = H), eyeAble_pluginLocalConfig && !eyeAble_pluginLocalConfig.srNoAppendices && ("a" === C.tagName.toLowerCase() || C.parentNode && C.parentNode.tagName && "a" === C.parentNode.tagName.toLowerCase() || C.parentNode && C.parentNode.parentNode && C.parentNode.parentNode.tagName && "a" === C.parentNode.parentNode.tagName.toLowerCase()) && (O = O + " " + eyeAble_getMessage("srLink")), S = !0, setTimeout(function () { 6159 S = !1 6160 }, 500), J(O, x, null, !0, C, C); else { 6161 var X = function (Q) { 6162 clearInterval(fa); 6163 fa = -1; 6164 document.getElementById("bar") && document.getElementById("bar").remove(); 6165 C.querySelector("#bar") && C.querySelector("#bar").remove(); 6166 C.ownerDocument !== document && C.ownerDocument.getElementById("bar") && C.ownerDocument.getElementById("bar").remove(); 6167 C.classList.remove("eyeAble_websiteMousePreFocus"); 6168 Q = document.getElementsByClassName("eyeAble_websiteMousePreFocus"); 6169 0 < Q.length && Q[0].classList.remove("eyeAble_websiteMousePreFocus"); 6170 Q = eyeAble_shadowRoot.querySelectorAll(".eyeAble_websiteMousePreFocus"); 6171 0 < Q.length && Q[0].classList.remove("eyeAble_websiteMousePreFocus"); 6172 eyeAble_session_parameters.isMobile ? 6173 t.removeEventListener("touchend", X) : t.removeEventListener("mouseleave", X); 6174 p = null 6175 }; 6176 document.getElementById("bar") && document.getElementById("bar").remove(); 6177 eyeAble_shadowRoot.getElementById("bar") && eyeAble_shadowRoot.getElementById("bar").remove(); 6178 u = document.getElementsByClassName("eyeAble_websiteMousePreFocus"); 6179 0 < u.length && u[0].classList.remove("eyeAble_websiteMousePreFocus"); 6180 u = eyeAble_shadowRoot.querySelectorAll(".eyeAble_websiteMousePreFocus"); 6181 0 < u.length && u[0].classList.remove("eyeAble_websiteMousePreFocus"); 6182 C.classList.add("eyeAble_websiteMousePreFocus"); 6183 u = document.createElement("div"); 6184 u.id = "bar"; 6185 u.style.setProperty("font-size", "3px", "important"); 6186 u.style.zIndex = "99999999"; 6187 u.style.position = "absolute"; 6188 u.style.background = "#b36000"; 6189 40 > C.getBoundingClientRect().height && (u.style.fontSize = "2px"); 6190 C.insertBefore(u, C.firstChild); 6191 var T = new RadialProgress(u, { 6192 colorBg: "#b36000", 6193 colorFg: "#000", 6194 thick: 50, 6195 fixedTextSize: .3, 6196 progress: 0, 6197 noInitAnimation: !0, 6198 noPercentage: !0 6199 }); 6200 eyeAble_limitBarSizeSheet || (eyeAble_limitBarSizeSheet = 6201 function () { 6202 var Q = document.createElement("style"); 6203 Q.appendChild(document.createTextNode("")); 6204 document.body.appendChild(Q); 6205 return Q.sheet 6206 }(), eyeAble_addCSSRule(eyeAble_limitBarSizeSheet, "#bar > div", "max-width: 30px;max-height : 30px;")); 6207 var ba = 1E3 / 60, ha = 0; 6208 p = t = C; 6209 var ja = Date.now(), fa = setInterval(function () { 6210 ha += 100 / (1E3 / ba); 6211 Date.now() - 1E3 > ja && (ha = 100); 6212 if (100 <= ha) { 6213 ha = 100; 6214 clearInterval(fa); 6215 fa = -1; 6216 document.getElementById("bar") && document.getElementById("bar").remove(); 6217 C.querySelector("#bar") && C.querySelector("#bar").remove(); 6218 t.ownerDocument !== document && t.ownerDocument.getElementById("bar") && t.ownerDocument.getElementById("bar").remove(); 6219 t.classList.remove("eyeAble_websiteMousePreFocus"); 6220 var Q = t.getRootNode().host, W = null; 6221 Q && Q.classList.contains("eyeAble_container_b") && (W = H); 6222 eyeAbleWebsiteNav.pauseReadWholePage(); 6223 window.speechSynthesis && !0 === window.speechSynthesis.paused && N.cancel(); 6224 eyeAble_pluginLocalConfig && !eyeAble_pluginLocalConfig.srNoAppendices && ("a" === t.tagName.toLowerCase() || t.parentNode && t.parentNode.tagName && 6225 "a" === t.parentNode.tagName.toLowerCase() || t.parentNode && t.parentNode.parentNode && t.parentNode.parentNode.tagName && "a" === t.parentNode.parentNode.tagName.toLowerCase()) && (O = O + " " + eyeAble_getMessage("srLink")); 6226 J(O, W, null, !0, t, t); 6227 eyeAbleWebsiteNav.setActiveElement(t) 6228 } 6229 T.setValue(ha / 100) 6230 }, ba); 6231 eyeAble_session_parameters.isMobile ? t.addEventListener("touchend", X) : t.addEventListener("mouseleave", X) 6232 } 6233 } 6234 } 6235 }, y = function () { 6236 var u = "touchstart"; 6237 eyeAble_session_parameters.isMobile || (u = "mousemove"); 6238 document.body.addEventListener(u, 6239 z); 6240 eyeAble_shadowRoot.addEventListener(u, z); 6241 for (var x = document.querySelectorAll("iframe"), C = 0; C < x.length; C++) try { 6242 var O = x[C].contentDocument || x[C].contentWindow.document; 6243 O && O.addEventListener(u, z) 6244 } catch (X) { 6245 } 6246 }, B = function () { 6247 eyeAble_session_parameters.isMobile ? (document.body.removeEventListener("touchstart", z), eyeAble_shadowRoot.removeEventListener("touchstart", z)) : (document.body.removeEventListener("mousemove", z), eyeAble_shadowRoot.removeEventListener("mousemove", z)) 6248 }, D = function () { 6249 F && (k(), eyeAbleWebsiteNavigationActive && 6250 J(eyeAble_getMessage("srVoiceOff"), H), F = !1, B(), eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display = "none", eyeAble_setVar("SpeechOutput", "0"), document.body.removeEventListener("click", a), n()) 6251 }, K = function () { 6252 F || (F = !0, eyeAble_setVar("SpeechOutput", "1"), eyeAbleWebsiteNavigationActive && J("Sprachausgabe aktiviert", H), y(), document.body.addEventListener("click", k), eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID") && (eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID").src = 6253 eyeAble_imagePaths.speakerPath), eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display = "block") 6254 }; 6255 return { 6256 init: function () { 6257 function u() { 6258 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.blockScreenreaderIntro || (eyeAble_screenreaderReactivated && J(eyeAble_getMessage("srIntroReactivated"), H), eyeAble_session_parameters.isMobile ? J(eyeAble_getMessage("srMobileIntroVoice"), H) : J
6258(eyeAble_getMessage("srintroVoice"), H)) 6259 } 6260 6261 if (!eyeAble_readerEnabled || eyeAble_readSpeakerFound) return !1; 6262 H = eyeAbleVariables.UserLang; 6263 L = eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.userLang ? H : document.documentElement.lang ? document.documentElement.lang.toLowerCase() : H; 6264 try { 6265 new Mark(document.body) 6266 } catch (x) { 6267 U = !1, console.log("Mark.js library not found.") 6268 } 6269 eyeAble_setVar("SpeechOutput", "1"); 6270 F = !0; 6271 G = eyeAble_getVar("SpeechRate"); 6272 w = eyeAble_getVar("SpeechVolume"); 6273 M || (M = function () { 6274 var x = document.createElement("style"); 6275 x.appendChild(document.createTextNode("")); 6276 document.head.appendChild(x); 6277 return x.sheet 6278 }(), eyeAble_addCSSRule(M, ".eA_highlight", 6279 "text-decoration: underline; background : black !important; color : white !important;"), eyeAble_addCSSRule(M, ".eA_SentenceHighlight", "background-color : rgba(173,216,230,0.3);")); 6280 (function () { 6281 c(); 6282 setTimeout(function () { 6283 y() 6284 }, 1E3); 6285 window.onbeforeunload = function () { 6286 k() 6287 }; 6288 window.onblur = function () { 6289 k() 6290 }; 6291 !0 === eyeAble_session_parameters.isMobile && setTimeout(function () { 6292 eyeAble_retractIconbar(0, !0) 6293 }, 500); 6294 r = eyeAble_isSafari() && 780 > window.innerWidth; 6295 document.body.addEventListener("click", a); 6296 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID") && 6297 fastdomEA.mutate(function () { 6298 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").classList.add("eyeAbleActive") 6299 }); 6300 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").setAttribute("aria-pressed", "true") 6301 })(); 6302 "speechSynthesis" in window && ("undefined" === typeof eyeAble_forceExternalTTS || !1 === eyeAble_forceExternalTTS) ? eyeAble_TTSinitTextTimeout = setTimeout(function () { 6303 u(); 6304 eyeAble_TTSinitTextTimeout = -1 6305 }, 200) : (document.getElementById("eyeAbleTTS") ? eyeAble_configureExternalTTS(L).then(function () { 6306 u() 6307 }) : 6308 (eyeAble_loadExternalVoiceSrc(), setTimeout(function () { 6309 u() 6310 }, 1500)), r && (eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display = "none")); 6311 eyeAble_dispatchEvent("Screenreader_Enabled") 6312 }, deInit: function () { 6313 k(); 6314 B(); 6315 eyeAble_setVar("SpeechOutput", "0"); 6316 document.body.removeEventListener("click", a); 6317 n(); 6318 F = !1; 6319 eyeAble_shadowRoot.getElementById("screenreaderControllerID") && (eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display = "none") 6320 }, outputText: J, outputElement: function (u, 6321 x, C) { 6322 C = void 0 === C ? !0 : C; 6323 if (x === eyeAbleNavigationTags.headlinesTags) if (u) { 6324 x = ""; 6325 switch (u.tagName.toLowerCase()) { 6326 case "h1": 6327 x = eyeAble_getMessage("srHeadingLev") + " 1"; 6328 break; 6329 case "h2": 6330 x = eyeAble_getMessage("srHeadingLev") + " 2"; 6331 break; 6332 case "h3": 6333 x = eyeAble_getMessage("srHeadingLev") + " 3"; 6334 break; 6335 case "h4": 6336 x = eyeAble_getMessage("srHeadingLev") + " 4"; 6337 break; 6338 case "h5": 6339 x = eyeAble_getMessage("srHeadingLev") + " 5"; 6340 break; 6341 case "h6": 6342 x = eyeAble_getMessage("srHeadingLev") + " 6" 6343 } 6344 !1 === C && (x = ""); 6345 J(u.textContent, null, x, !1, null, u) 6346 } else J(eyeAble_getMessage("srNoHeadings"), 6347 H); else if (eyeAbleNavigationTags.headlinesTags.includes(x)) if (u) { 6348 var O = ""; 6349 switch (x) { 6350 case "h1": 6351 O = eyeAble_getMessage("srHeadingLev") + " 1"; 6352 break; 6353 case "h2": 6354 O = eyeAble_getMessage("srHeadingLev") + " 2"; 6355 break; 6356 case "h3": 6357 O = eyeAble_getMessage("srHeadingLev") + " 3"; 6358 break; 6359 case "h4": 6360 O = eyeAble_getMessage("srHeadingLev") + " 4"; 6361 break; 6362 case "h5": 6363 O = eyeAble_getMessage("srHeadingLev") + " 5"; 6364 break; 6365 case "h6": 6366 O = eyeAble_getMessage("srHeadingLev") + " 6" 6367 } 6368 !1 === C && (O = ""); 6369 J(u.textContent, null, O, !1, null, u) 6370 } else switch (x) { 6371 case "h1": 6372 J(eyeAble_getMessage("srNoHeadingLev") + 6373 " 1", H); 6374 break; 6375 case "h2": 6376 J(eyeAble_getMessage("srNoHeadingLev") + " 2", H); 6377 break; 6378 case "h3": 6379 J(eyeAble_getMessage("srNoHeadingLev") + " 3", H); 6380 break; 6381 case "h4": 6382 J(eyeAble_getMessage("srNoHeadingLev") + " 4", H); 6383 break; 6384 case "h5": 6385 J(eyeAble_getMessage("srNoHeadingLev") + " 5", H); 6386 break; 6387 case "h6": 6388 J(eyeAble_getMessage("srNoHeadingLev") + " 6", H) 6389 } else x === eyeAbleNavigationTags.graphicTags ? u ? (C = eyeAble_getTextFromElement(u), x = " " + eyeAble_getMessage("srImg"), eyeAbleNavigationTags.linksArray.includes(u.parentNode) && (x = x + " " + 6390 eyeAble_getMessage("srLink")), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoImgs"), null) : "link" === x ? u ? (C = eyeAble_getTextFromElement(u), x = eyeAble_getMessage("srLink"), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoLink"), H) : "landmark" === x ? u ? (C = u.textContent, C.includes("/>") && (C = ""), x = " " + eyeAble_getMessage("srLand"), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoLand"), H) : x
6390=== eyeAbleNavigationTags.listTags ? u ? (C = eyeAble_getMessage("srList") + " " + u.children.length.toFixed() + " " + eyeAble_getMessage("srEnt"), 6391 J(C, H, null, !1, null, u, !1)) : J(eyeAble_getMessage("srNoList"), H) : x === eyeAbleNavigationTags.listEntryTags ? u ? ((C = u.textContent) || (C = eyeAble_getTextFromElement(u)), C.includes("/>") && (C = ""), x = " " + eyeAble_getMessage("srListEnt"), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoListEnt"), H) : x === eyeAbleNavigationTags.formTags ? u ? (C = eyeAble_getMessage("srForm"), J(C, null, null, !1, null, u, !1)) : J(eyeAble_getMessage("srNoForm"), H) : eyeAbleNavigationTags.inputTags.includes(x) ? u ? (C = u.innerText, C.includes("/>") && (C = ""), 6392 C || (C = eyeAble_getTextFromElement(u)), "" === C ? J(eyeAble_getMessage("srInp"), null) : (x = " " + eyeAble_getMessage("srInp"), J(C, null, x, !1, null, u))) : J(eyeAble_getMessage("srNoInp"), H) : x === eyeAbleNavigationTags.buttonTags ? u ? (C = u.innerText, C.includes("/>") && (C = ""), C || (C = eyeAble_getTextFromElement(u)), x = " " + eyeAble_getMessage("srBut"), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoBut"), H) : x === eyeAbleNavigationTags.embbeddedTags ? u ? (C = u.innerText, C.includes("/>") && (C = ""), u.name && (C += u.name), x = " " + eyeAble_getMessage("srEmb"), 6393 J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoEmb"), H) : x === eyeAbleNavigationTags.selectTags ? u ? (C = u.innerText, C.includes("/>") && (C = ""), u.name && (C += u.name), x = " " + eyeAble_getMessage("srCom"), J(C, null, x, !1, null, u)) : J(eyeAble_getMessage("srNoCom"), H) : "unlinkedText" === x && (u ? (x = u.textContent, x.includes("/>") && (x = ""), O = " " + eyeAble_getMessage("srTxt"), !1 === C && (O = ""), J(x, null, O, !1, null, u)) : J(eyeAble_getMessage("srNoTxt"), H)) 6394 }, stop: k, pause: function () { 6395 azureSynthLoaded && azureSynth ? azurePlayer.pause() : !0 === 6396 N.speaking && N.pause() 6397 }, resume: function () { 6398 azureSynthLoaded && azureSynth ? azurePlayer.resume() : N.resume() 6399 }, getActive: function () { 6400 return F 6401 }, getSpeakingState: function () { 6402 return azureSynthLoaded ? azurePlayer.privIsPaused || azurePlayer.currentTime >= azurePlayerSynthesisTime ? !1 : !0 : N.speaking 6403 }, getLastFinishedElement: function () { 6404 if (2 < P.length) { 6405 var u = P.pop(), x = P.pop(); 6406 P.push(u); 6407 return x 6408 } 6409 return null 6410 }, toggleSpeechOutput: function () { 6411 F ? D() : K() 6412 }, deactivate: D, reactivate: K 6413 } 6414}(); 6415 6416function eyeAble_getTextFromElement(a) { 6417 if (!a) return ""; 6418 if (eyeAble_checkForText(a)) var b = a.textContent; 6419 if (b) return b; 6420 if ("slot" === a.tagName.toLowerCase() && 0 < a.assignedNodes().length && a.assignedNodes()[0].nodeValue) for (b = 0; b < a.assignedNodes().length; b++) if (a.assignedNodes()[b].nodeType === Node.TEXT_NODE) return a.assignedNodes()[b].nodeValue; 6421 if ("function" === typeof a.getAttribute) { 6422 if (b = a.getAttribute("aria-labelledby")) return eyeAble_getTextFromElement(document.getElementById(b)); 6423 if ((b = a.getAttribute("aria-label")) || 6424 (b = a.getAttribute("alt")) || (b = a.getAttribute("title")) || (b = a.value) || (b = a.getAttribute("placeholder"))) return b 6425 } 6426 return "" 6427};var eyeAbleNavigationTags = { 6428 headlinesTags: "h1,h2,h3,h4,h5,h6", 6429 graphicTags: "img", 6430 tableTags: "table", 6431 listTags: "ol,ul,menu", 6432 listEntryTags: "li", 6433 inputTags: "input,textarea", 6434 buttonTags: "button", 6435 formTags: "form", 6436 selectTags: "select", 6437 embbeddedTags: "object,embed,iframe,audio,video", 6438 linksArray: [].slice.call(document.links), 6439 tabAllCategories: "h1,h2,h3,h4,h5,h6 img table ol,ul,menu li input button form object,embed,iframe,audio,video link landmark select unlinkedText".split(" ") 6440}, eyeAble_NavStyle = document.createElement("style"); 6441eyeAble_NavStyle.textContent = ".eyeAble_websiteNavFocus {\n border: #4e8000 8px solid !important;\n z-index: 9999999;\n}\n.eyeAble_websiteMouseSpeechFocus {\n outline: #007ea8 5px solid !important;\n box-shadow: 0 0 16px #333;\n z-index: 9999999;\n}.eyeAble_websiteMousePreFocus {\n outline: #b36000 3px solid !important;\n box-shadow: 0 0 16px #333;\n z-index: 9999999;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;
6441\n -ms-user-select: none;\n user-select: none;\n}\n"; 6442eyeAble_NavStyle.setAttribute("id", "eyeAble_NavStyleID"); 6443var eyeAbleWebsiteNavigationActive = !1, eyeAble_readSpeakerFound = !1, eyeAbleWebsiteNav = function () { 6444 function a(w, F) { 6445 function M(J, k, p) { 6446 p = void 0 === p ? !1 : p; 6447 if (U) { 6448 if (document.body.querySelector("." + eyeAble_SrTextBlockClass) && !eyeAble_hasSomeParentTheClass(J, eyeAble_SrTextBlockClass) || eyeAble_hasSomeParentTheClass(J, eyeAble_SrBlacklistClass)) return !1 6449 } else if ("all" === k && J.classList.contains("eA_TabButton") && "-1" !== J.getAttribute("tabindex")) return !0; 6450 if (!J) return !1; 6451 var t = eyeAble_getTextFromElement(J).trim(), z = 6452 J.getBoundingClientRect(), y = getComputedStyle(J); 6453 if (2 > z.width * z.height || "true" === f.elements[f.index].getAttribute("eyeableskipnav") || "-1" === f.elements[f.index].getAttribute("tabindex") || "hidden" === y.visibility || "none" === y.display || "0" === y.opacity || eyeAble_hasSomeParentTheAttribute(J, "aria-hidden", "true")) return !1; 6454 y = g !== t; 6455 q && !n && g && g.length > t.length && (y = y && !g.includes(t)); 6456 if ("landmark" === k) return eyeAbleNavigationTags.linksArray && eyeAbleNavigationTags.linksArray.includes(J) && ("#" === J.href.charAt(0) || 6457 "#" === J.href.charAt(J.href.length - 1)) ? !0 : !1; 6458 if ("link" === k) return eyeAbleNavigationTags.linksArray && eyeAbleNavigationTags.linksArray.includes(J) ? (t && (g = t), !0) : !1; 6459 if ("unlinkedText" === k) return eyeAble_checkForText(J) && y && t ? (g = t, !0) : !1; 6460 if ("all" === k) { 6461 if (0 < J.children.length && eyeAbleNavigationTags.linksArray.includes(J.children[0]) && (eyeAble_getTextFromElement(J.children[0]).trim() === t || !t)) return !1; 6462 for (k = 0; k < eyeAbleNavigationTags.tabAllCategories.length; k++) if (M(J, eyeAbleNavigationTags.tabAllCategories[k], 6463 !0)) return P = eyeAbleNavigationTags.tabAllCategories[k], t && (g = t), !0; 6464 return !1 6465 } 6466 z = k.split(",").includes(f.elements[f.index].tagName.toLowerCase()); 6467 p && (z = z && y); 6468 z && ("img" === k && f.alt && "" !== f.alt ? g = f.elements[f.index].alt : (J = J.tagName.toLowerCase(), eyeAbleNavigationTags.listTags.includes(J) || eyeAbleNavigationTags.formTags.includes(J) || eyeAbleNavigationTags.tableTags.includes(J) || t && (g = t))); 6469 return z 6470 } 6471 6472 var P, U = q; 6473 if (f) { 6474 var S = document.querySelectorAll(".eyeAble_websiteNavFocus"); 6475 0 === S.length && (S = eyeAble_shadowRoot.querySelectorAll(".eyeAble_websiteNavFocus")); 6476 var R = f.index, Y = !1; 6477 "next" === F ? f.index < f.elements.length - 1 ? f.index++ : Y = !0 : 0 < f.index ? f.index-- : 0 > f.index ? f.index = 0 : Y = !0; 6478 fastdomEA.measure(function () { 6479 for (; !M(f.elements[f.index], w);) if ("next" === F) if (f.index < f.elements.length - 1) f.index++; else { 6480 Y = !0; 6481 break 6482 } else if (0 < f.index) f.index--; else { 6483 Y = !0; 6484 break 6485 } 6486 var J = !0; 6487 "all" === w && P && (!U || "unlinkedText" !== P && "h1,h2,h3,h4,h5,h6" !== P || (J = !1), w = P); 6488 if (Y) return eyeAbleTTS.outputElement(null, w), f.index = R, null; 6489 var k = f.elements[f.index].getBoundingClientRect(), p = window.pageYOffset, 6490 t = window.innerHeight, z = parseFloat(getComputedStyle(document.body).zoom); 6491 if (!z || 1 > z) z = 1; 6492 fastdomEA.mutate(function () { 6493 if (S) for (var y = 0; y < S.length; y++) S[y].classList.remove("eyeAble_websiteNavFocus"); 6494 f.elements[R] && f.elements[R].classList.remove("eyeAble_websiteNavFocus"); 6495 (y = f.elements[f.index].classList.contains("eA_TabButton")) || f.elements[f.index].classList.add("eyeAble_websiteNavFocus"); 6496 f.elements[f.index].focus(); 6497 if (f.elements[f.index].getRootNode() !== eyeAble_shadowRoot) { 6498 var B = p + k.top - t / 2 + k.height / 6499 2; 6500 Math.abs(window.scrollY - B) > .1 * window.innerHeight && !y && window.scrollTo({ 6501 top: B, 6502 left: 0, 6503 behavior: "smooth" 6504 }) 6505 } else f.elements[f.index].getAttribute("tabindex") || f.elements[f.index].parentNode.focus(); 6506 eyeAbleTTS.outputElement(f.elements[f.index], w, J) 6507 }); 6508 return f.elements[f.index] 6509 }) 6510 } 6511 } 6512 6513 function b() { 6514 eyeAble_updateNotifcationBannerPosition(); 6515 eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText !== eyeAble_getMessage("srBannerTxt") && (eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText = 6516 eyeAble_getMessage("srBannerTxt")); 6517 eyeAble_session_parameters.isMobile && (eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "none"); 6518 var w = eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID"); 6519 w || (w = document.createElement("IMG"), w.src = eyeAble_imagePaths.speakerPath, w.classList.add("eyeAble_speakerImage"), w.setAttribute("eyeableskipnav", "true"), w.id = "eyeAbleSpeakerEnabledID", eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").appendChild(w)); 6520 eyeAbleTTS.getActive() ? 6521 w.src !== eyeAble_imagePaths.speakerPath && (w.src = eyeAble_imagePaths.speakerPath) : w.src !== eyeAble_imagePaths.mutedPath && (w.src = eyeAble_imagePaths.mutedPath) 6522 } 6523 6524 function c(w) {
6525 if ("undefined" === typeof eyeAble_blockKeyInputs || !eyeAble_blockKeyInputs) { 6526 if (w.altKey || w.metaKey || "Meta" === w.key || w.ctrlKey || !0 === h && 27 !== w.keyCode) return !1; 6527 var F = !0; 6528 switch (w.keyCode) { 6529 case 72: 6530 var M = eyeAbleNavigationTags.headlinesTags; 6531 break; 6532 case 71: 6533 M = eyeAbleNavigationTags.graphicTags; 6534 break; 6535 case 84: 6536 M = eyeAbleNavigationTags.tableTags; 6537 break; 6538 case 75: 6539 M = "link"; 6540 break; 6541 case 68: 6542 M = "landmark"; 6543 break; 6544 case 49: 6545 M = "h1"; 6546 break; 6547 case 50: 6548 M = "h2"; 6549 break; 6550 case 51: 6551 M = "h3"; 6552 break; 6553 case 52: 6554 M = "h4"; 6555 break; 6556 case 53: 6557 M = "h5"; 6558 break; 6559 case 54: 6560 M = "h6"; 6561 break; 6562 case 76: 6563 M = eyeAbleNavigationTags.listTags; 6564 break; 6565 case 73: 6566 M = eyeAbleNavigationTags.listEntryTags; 6567 break; 6568 case 70: 6569 M = eyeAbleNavigationTags.formTags; 6570 break; 6571 case 66: 6572 M = eyeAbleNavigationTags.buttonTags; 6573 break; 6574 case 67: 6575 M = eyeAbleNavigationTags.selectTags; 6576 break; 6577 case 69: 6578 M = eyeAbleNavigationTags.inputTags; 6579 break; 6580 case 83: 6581 eyeAbleTTS.getActive() && (f.index = 6582 -1); 6583 break; 6584 case 79: 6585 M = eyeAbleNavigationTags.embbeddedTags; 6586 break; 6587 case 113: 6588 eyeAble_toggleTTSManPage(); 6589 N(eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]')); 6590 eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]').focus(); 6591 setTimeout(function () { 6592 eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]').focus() 6593 }, 550); 6594 break; 6595 case 114: 6596 eyeAbleTTS.getActive() ? eyeAbleTTS.deactivate() : eyeAbleTTS.init(); 6597 break; 6598 case 39: 6599 q && !n && H(); 6600 break; 6601 case 37: 6602 q && !n && L(); 6603 break; 6604 case 9: 6605 M = "all"; 6606 w.preventDefault(); 6607 break; 6608 default: 6609 F = 6610 !1 6611 } 6612 F && ([37, 39, 9].includes(w.keyCode) || eyeAbleWebsiteNav.pauseReadWholePage(), !0 === window.speechSynthesis.paused && window.speechSynthesis.cancel()); 6613 b(); 6614 var P = !1; 6615 if (27 === w.keyCode) eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_retractIconbar() : 27 === w.keyCode && eyeAble_shadowRoot.getElementById("ttsManualContainerID") && "none" !== eyeAble_shadowRoot.getElementById("ttsManualContainerID").style.display ? eyeAble_closeTTSManPage() : e(); else if (13 !== w.keyCode) if (13 === 6616 w.keyCode) { 6617 var U = function (J) { 6618 if (!1 === P) { 6619 var k = new KeyboardEvent("keydown", {bubbles: !0, cancelable: !0, keyCode: 13}); 6620 J.dispatchEvent(k) 6621 } 6622 }, S = function () { 6623 var J = document.activeElement, k = window.location.hash.substr(1); 6624 k !== Y ? N(document.getElementById(k), !0) : J !== R && N(J, !0); 6625 R.removeEventListener("blur", S) 6626 }; 6627 if (!0 === P) return !1; 6628 P = !0; 6629 setTimeout(function () { 6630 P = !1 6631 }, 100); 6632 var R = document.activeElement, Y = window.location.hash.substr(1); 6633 R.addEventListener("blur", S); 6634 eyeAble_shadowRoot.getElementById("ttsManualContainerID") && 6635 "none" !== eyeAble_shadowRoot.getElementById("ttsManualContainerID").style.display && eyeAble_toggleTTSManPage(); 6636 if (w = document.querySelectorAll(".eyeAble_websiteNavFocus")[0]) [].slice.call(w.children).forEac
6636h(function (J, k) { 6637 eyeAbleNavigationTags.linksArray && eyeAbleNavigationTags.linksArray.includes(J) && U(J) 6638 }), eyeAbleNavigationTags.linksArray && eyeAbleNavigationTags.linksArray.includes(w) ? U(w) : w.click() 6639 } else M && (w.shiftKey ? a(M, "previous") : a(M, "next")) 6640 } 6641 } 6642 6643 function d() { 6644 function w() { 6645 var F = 1E3; 6646 if (!0 === I) I = !1, 6647 m = setTimeout(w, F); else { 6648 var M = !1; 6649 !0 === window.speechSynthesis.paused || !0 === n ? (eyeAbleTTS.resume(), n = !1, eyeAbleTTS.getSpeakingState() || (eyeAble_isSafari() || eyeAbleTTS.outputText("Weiter", eyeAbleVariables.UserLang, null, !1, null, null, !1, !0), F = 2300, setTimeout(function () { 6650 a("all", "next") 6651 }, 300))) : (eyeAbleTTS.getSpeakingState() ? v = 0 : (F = 2300, a("all", "next"), v += 1), 3 <= v && (v = 0, A(), M = !0, eyeAbleTTS.outputText(eyeAble_getMessage("srSiteEnd"), eyeAbleVariables.UserLang, null, !1, null, null, !1, !1))); 6652 M || (m = setTimeout(w, F)) 6653 } 6654 } 6655 6656 w() 6657 } 6658 6659 function e() { 6660 var w = document.querySelectorAll(".eyeAble_websiteNavFocus"); 6661 if (w) for (var F = 0; F < w.length; F++) w[F].classList.remove("eyeAble_websiteNavFocus"); 6662 if (w = eyeAble_shadowRoot.querySelectorAll(".eyeAble_websiteNavFocus")) for (F = 0; F < w.length; F++) w[F].classList.remove("eyeAble_websiteNavFocus"); 6663 document.body.removeEventListener("keydown", c); 6664 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && (eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "none"); 6665 eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID") && 6666 eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID").remove(); 6667 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").classList.remove("eyeAbleActive"); 6668 eyeAble_shadowRoot.getElementById("tabNavContainerID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("tabNavContainerID").classList.remove("eyeAbleActive"); 6669 eyeAble_shadowRoot.getElementById("TabNavMoreID") && eyeAble_shadowRoot.getElementById("TabNavMoreID").classList.remove("eyeAbleActive"); 6670 eyeAbleTTS.getActive && (eyeAbleTTS.deInit(), h = !1); 6671 A(); 6672 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").setAttribute("aria-pressed", "false"); 6673 eyeAble_shadowRoot.getElementById("tabNavContainerID").setAttribute("aria-pressed", "false"); 6674 eyeAbleWebsiteNavigationActive = !1 6675 } 6676 6677 var f, h = !1, g, l = function () { 6678 if (!eyeAble_tabNavEnabled) return !1; 6679 f = {elements: [].slice.call(document.body.querySelectorAll("*")), index: -1}; 6680 eyeAble_shadowRoot.getElementById("ttsManualContainerID") && G(eyeAble_shadowRoot.getElementById("ttsManualContainerID").querySelectorAll("*")); 6681 var w = []; 6682 w.push.apply(w, eyeAble_shadowRoot.getElementById("eyeAble_columID").querySelectorAll("*")); 6683 w.push.apply(w, f.elements); 6684 f.elements = w; 6685 eyeAbleTTS.getActive() && (w = [], w.push.apply(w, eyeAble_shadowRoot.getElementById("screenreaderControllerID").querySelectorAll("*")), w.push.apply(w, f.elements), f.elements = w); 6686 for (w = 0; w < f.elements.length; w++) if (f.elements[w].shadowRoot && "eyeAble_container_ID" !== f.elements[w].id) { 6687 var F = f.elements[w].shadowRoot.querySelectorAll("*"); 6688 f.elements.splice.apply(f.elements, 6689 [w, 0].concat($jscomp.arrayFromIterable(F))); 6690 w += F.length 6691 } 6692 if (eyeAbleWebsiteNavigationActive) e(), eyeAble_showFeedbackNotification(eyeAble_getMessage("navDisabled"), "ALT + T"), eyeAble_closeTTSManPage(); else { 6693 if (!document.getElementById("eyeAble_NavStyleID")) for (document.body.appendChild(eyeAble_NavStyle), w = document.createElement("style"), w.innerText = eyeAble_NavStyle.innerText, eyeAble_shadowRoot.appendChild(w), w = document.querySelectorAll("*"), F = 0; F < w.length;
6693 F++) if (w[F].shadowRoot && "eyeAble_container_ID" !== 6694 w[F].id) { 6695 var M = document.createElement("style"); 6696 M.innerText = eyeAble_NavStyle.innerText; 6697 w[F].shadowRoot.appendChild(M) 6698 } 6699 eyeAble_shadowRoot.getElementById("tabNavContainerID").classList.add("eyeAbleActive"); 6700 eyeAble_shadowRoot.getElementById("tabNavContainerID").setAttribute("aria-pressed", "true"); 6701 eyeAble_shadowRoot.getElementById("TabNavMoreID") && (eyeAble_shadowRoot.getElementById("TabNavMoreID").setAttribute("aria-pressed", "true"), eyeAble_shadowRoot.getElementById("TabNavMoreID").classList.add("eyeAbleActive")); 6702 eyeAbleNavigationTags.linksArray = [].slice.call(document.links); 6703 -1 !== eyeAble_notificationTimeoutID && clearTimeout(eyeAble_notificationTimeoutID); 6704 eyeAbleWebsiteNavigationActive = !0; 6705 b(); 6706 eyeAbleTTS.getActive() || (eyeAble_toggleTTSManPage(), N(eyeAble_shadowRoot.getElementById("ttsManualCloseID")), eyeAble_dispatchEvent("Key_Navigation_Enabled")); 6707 document.body.addEventListener("keydown", c); 6708 eyeAble_showFeedbackNotification(eyeAble_getMessage("navEnabled"), "ALT + T") 6709 } 6710 }, m = -1, q = !1, n = !1, r = function () { 6711 if (!eyeAbleTTS.getActive()) return q = 6712 !1; 6713 eyeAbleTTS.stop(); 6714 var w = document.body.querySelector("." + eyeAble_SrStartElementClass); 6715 w || (w = document.body.querySelector("h1")); 6716 w || (w = document.body.querySelector("h2")); 6717 w || (w = document.body.querySelector(eyeAbleNavigationTags.headlinesTags)); 6718 if (!w || document.body.querySelector("." + eyeAble_SrTextBlockClass)) w ? eyeAble_hasSomeParentTheClass(w, eyeAble_SrTextBlockClass) || (w = document.body.querySelector("." + eyeAble_SrTextBlockClass)) : document.body.querySelector("*"); 6719 N(w, !0); 6720 eyeAbleTTS.outputText(eyeAble_getMessage("srAutoIntro"), 6721 eyeAbleVariables.UserLang, null, !1, null, null, !1, !1); 6722 setTimeout(function () { 6723 d(); 6724 q = !0 6725 }, 1E3); 6726 eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.add("active_playPause") 6727 }, v = 0, A = function () { 6728 eyeAbleTTS.stop(); 6729 -1 !== m && (clearTimeout(m), m = -1); 6730 eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause") && eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause"); 6731 var w = document.querySelectorAll(".eyeAble_websiteNavFocus"); 6732 if (w) for (var F = 0; F < w.length; F++) w[F].classList.remove("eyeAble_websiteNavFocus"); 6733 q = !1; 6734 setTimeout(function () { 6735 eyeAble_shadowRoot.getElementById("srStopButtonID") && eyeAble_shadowRoot.getElementById("srStopButtonID").blur() 6736 }, 200) 6737 }, E = function () { 6738 if (-1 !== m) { 6739 v = 0; 6740 clearTimeout(m); 6741 eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause") && eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause"); 6742 var w = eyeAbleVariables.UserLang; 6743 !(document.documentElement.lang ? document.documentElement.lang : w).includes(w) || eyeAble_isSafari() || eyeAble_session_parameters.isMobile ? 6744 eyeAbleTTS.stop() : eyeAbleTTS.pause(); 6745 m = -1; 6746 n = !0 6747 } 6748 }, I = !1, H = function () { 6749 v = 0; 6750 I = !0; 6751 a("all", "next"); 6752 setTimeout(function () { 6753 eyeAble_shadowRoot.getElementById("srForwardID").blur() 6754 }, 200) 6755 }, L = function () { 6756 v = 0; 6757 I = !0; 6758 a("all", "previous"); 6759 setTimeout(function () { 6760 eyeAble_shadowRoot.getElementById("srBackwardID").blur() 6761 }, 200) 6762 }, N = function (w, F) { 6763 F = void 0 === F ? !1 : F; 6764 if (w && f) for (var M = 0; M < f.elements.length; M++) f.elements[M] === w && (f.index = F ? M - 1 : M) 6765 }, G = function (w) { 6766 var F = []; 6767 F.push.apply(F, w); 6768 F.push.apply(F, f.elements); 6769 f.elements = F 6770 }; 6771 return { 6772 toggleNavWithSpeech: function () { 6773 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.readSpeaker) if (document.querySelector(".rsexpanded")) { 6774 if (document.querySelector(".rsbtn_closer")) return document.querySelector(".rsbtn_closer").click(), eyeAble_readSpeakerFound = !0, !1 6775 } else { 6776 if (document.querySelector(".rsbtn_play")) return document.querySelector(".rsbtn_play").click(), eyeAble_readSpeakerFound = !0, !1; 6777 if (document.querySelector(".readspeaker")) return document.querySelector(".readspeaker").click(), 6778 eyeAble_readSpeakerFound = !0, !1 6779 } 6780 if (eyeAbleWebsiteNavigationActive && !eyeAbleTTS.getActive()) { 6781 if (!eyeAble_readerEnabled) return !1; 6782 eyeAble_setVar("SpeechOutput", "1"); 6783 eyeAbleTTS.init(); 6784 N(eyeAble_shadowRoot.querySelector("#srControlerHeaderID > p")); 6785 b(); 6786 eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"), "ALT + S") 6787 } else if (eyeAbleWebsiteNavigationActive) eyeAbleWebsiteNavigationActive && eyeAbleTTS.getActive() && (e(), eyeAble_showFeedbackNotification(eyeAble_getMessage("srDisabled"), "ALT + S")); 6788 else { 6789 if (!eyeAble_readerEnabled) return !1; 6790 eyeAble_setVar("SpeechOutput", "1"); 6791 eyeAbleTTS.init(); 6792 l(); 6793 N(eyeAble_shadowRoot.querySelector("#srControlerHeaderID > p")); 6794 b(); 6795 eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"), "ALT + S") 6796 } 6797 }, toggleNavOnly: l, toggleSpeechOnly: function () { 6798 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.readSpeaker) if (document.querySelector(".rsexpanded")) { 6799 if (document.querySelector(".rsbtn_closer")) return document.querySelector(".rsbtn_closer").click(), eyeAble_readSpeakerFound = 6800 !0, !1 6801 } else { 6802 if (document.querySelector(".rsbtn_play")) return document.querySelector(".rsbtn_play").click(), eyeAble_readSpeakerFound = !0, !1; 6803 if (document.querySelector(".readspeaker")) return document.querySelector(".readspeaker").click(), eyeAble_readSpeakerFound = !0, !1 6804 } 6805 eyeAbleTTS.getActive() ? (eyeAbleTTS.deInit(), A(), h = !1) : (eyeAbleTTS.init(), eyeAbleWebsiteNavigationActive && N(eyeAble_shadowRoot.querySelector("#srControlerHeaderID > p")), eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"), "ALT + S"), 6806 h = !0) 6807 }, setActiveElement: N, addElementsToNavigation: G, getActiveState: function () { 6808 return eyeAbleWebsiteNavigationActive 6809 }, toggleReadWholePage: function () { 6810 q ? n ? (v = 0, eyeAbleTTS.getActive() ? (-1 === m && d(), eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.add("active_playPause")) : q = !1) : E() : r() 6811 }, stopReadWholePage: A, pauseReadWholePage: E, forward: H, backward: L, resetNotSpeakingCounter: function () { 6812 v = 0 6813 }, displayUserManualWebsiteNavigation: function () { 6814 eyeAble_toggleTTSManPage() 6815 }, reset: function () { 6816 e(); 6817 eyeAble_setActiveCheckVis() 6818 } 6819 } 6820}(); 6821 6822function eyeAble_createManualWindow() { 6823 function a() { 6824 "tabEndShortcuts" === this.id ? eyeAble_shadowRoot.getElementById("shortcutManualCloseID").focus() : eyeAble_shadowRoot.getElementById("manualShortLast").focus() 6825 } 6826 6827 var b = ' <section aria-labelledby="keyManWindowHeading" class="eyeAble_navigation" id="shortcutManualContainerID" tabindex="-1">\n <div aria-hidden="true" id="tabStartShortcuts" class="eyeAtabClickable" tabindex="0"></div> <div class="eyeAble-navigation-header eyeAble_radical-border" id="shortcutManualContainerIDheader">\n <div class="eyeAble-navigation-logo">\n <img src="' + 6828 eyeAble_imagePaths.whiteLogo + '" alt="">\n </div>\n <h2 id="keyManWindowHeading" class="eyeAble-navigation-headertext" eALangID="manHeader">' + eyeAble_getMessage("manHeader") + '</h2>\n <div role="button" class="eyeAble_navigation-cancel eyeAtabClickable" id="shortcutManualCloseID">\n <img src="' + eyeAble_imagePaths.xNoCirclePath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow">\n </div>\n </div>\n <div class="eyeAble-navigation-body">\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <p class="eyeAble-navigation-text" eALangID="manIntro" style="margin-top: 0">' + 6829 eyeAble_getMessage("manIntro") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manInstant">' + eyeAble_getMessage("manInstant") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">Q</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manTTSman">' + 6830 eyeAble_getMessage("manTTSman") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">F2</div>\n </div>\n </div>\n </div> \n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manTool">' + eyeAble_getMessage("manTool") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">1</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manWinCont">' + 6831 eyeAble_getMessage("manWinCont") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">2</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manWinCCID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manWinCC">' + eyeAble_getMessage("manWinCC") + 6832 '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">3</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manWinFuncID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manWinFunc">' + eyeAble_getMessage("manWinFunc") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">4</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manReset">' + 6833 eyeAble_getMessage("manReset") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">R</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manTTS">' + eyeAble_getMessage("manTTS") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">S</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manTabID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manTab">' + 6834 eyeAble_getMessage("manTab") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">T</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manCont">' + eyeAble_getMessage("manCont") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">C</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manNightID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manNight">' + 6835 eyeAble_getMessage("manNight") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">N</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manBfID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manBf">' + eyeAble_getMessage("manBf") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">B</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manLarger">' + 6836 eyeAble_getMessage("manLarger") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">+</div>\n </div>\n </div>\n <p class="eyeAble-navigation-text" eALangID="manLargerTxt">' + eyeAble_getMessage("manLargerTxt") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manSmall">' + 6837 eyeAble_getMessage("manSmall") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">-</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" id="manMagnifierID">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manMag">' + eyeAble_getMessage("manMag") + 6838 '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">M</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" style="padding-bottom: 20px;">\n
6838 <div class="eyeAble_navigation-wrapper eyeAtabClickable" id="manualShortLast">\n <p class="eyeAble_navigation-name" eALangID="manEsc">' + eyeAble_getMessage("manEsc") + 6839 '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">Esc</div>\n </div>\n </div>\n </div>\n<div aria-hidden="true" id="tabEndShortcuts" class="eyeAtabClickable" tabindex="0"></div> </div>\n </section>'; 6840 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", b); 6841 if (!eyeAble_session_parameters.isExtension || eyeAble_session_parameters.isPlugin) eyeAble_shadowRoot.getElementById("manMagnifierID").style.display = 6842 "none"; 6843 eyeAble_shadowRoot.getElementById("tabEndShortcuts").addEventListener("focus", a); 6844 eyeAble_shadowRoot.getElementById("tabStartShortcuts").addEventListener("focus", a); 6845 !1 === eyeAble_activeFeatures.MoreFunctions && (eyeAble_shadowRoot.getElementById("manWinFuncID").style.display = "none"); 6846 !1 === eyeAble_activeFeatures.ColorCorrection && (eyeAble_shadowRoot.getElementById("manWinCCID").style.display = "none"); 6847 !1 === eyeAble_activeFeatures.TabNav && (eyeAble_shadowRoot.getElementById("manTabID").style.display = "none"); 6848 !1 === eyeAble_activeFeatures.Nightmode && (eyeAble_shadowRoot.getElementById("manNightID").style.display = "none"); 6849 !1 === eyeAble_activeFeatures.Bluefilter && (eyeAble_shadowRoot.getElementById("manBfID").style.display = "none"); 6850 eyeAble_shadowRoot.getElementById("shortcutManualCloseID").addEventListener("click", eyeAble_toggleShortcutManPage); 6851 eyeAble_dragElement(eyeAble_shadowRoot.getElementById("shortcutManualContainerID")) 6852} 6853 6854function eyeAble_toggleShortcutManPage() { 6855 eyeAble_closeAllOtherPages("shortcutManualContainerID"); 6856 var a = eyeAble_shadowRoot.getElementById("shortcutManualContainerID"); 6857 a ? "none" === a.style.display ? (a.style.display = "block", eyeAble_shadowRoot.getElementById("shortcutManualCloseID").focus(), setTimeout(function () { 6858 a.focus() 6859 }, 500), eyeAble_showClickableElements("shortcutManualContainerID"), eyeAble_showFeedbackNotification(eyeAble_getMessage("manOpen"), "ALT + F1")) : (eyeAble_closeShortcutManualPage(), eyeAble_hideClickableElements("shortcutManualContainerID"), 6860 eyeAble_showFeedbackNotification(eyeAble_getMessage("manClose"), "ALT + F1")) : (eyeAble_createManualWindow(), eyeAble_shadowRoot.getElementById("shortcutManualContainerID").focus(), eyeAble_showClickableElements("shortcutManualContainerID"), setTimeout(function () { 6861 eyeAble_shadowRoot.getElementById("shortcutManualCloseID").focus() 6862 }, 500), eyeAble_showFeedbackNotification(eyeAble_getMessage("manOpen"), "ALT + F1")) 6863} 6864 6865function eyeAble_closeShortcutManualPage() { 6866 eyeAble_shadowRoot.getElementById("shortcutManualContainerID") && (eyeAble_shadowRoot.getElementById("shortcutManualContainerID").style.display = "none") 6867} 6868 6869function eyeAble_createTTSManualWindow() { 6870 function a() { 6871 "tabEndTTS" === this.id ? eyeAble_shadowRoot.getElementById("ttsManualCloseID").focus() : eyeAble_shadowRoot.getElementById("manualTTSLast").focus() 6872 } 6873 6874 eyeAble_closeAllOtherPages("ttsManualContainerID"); 6875 var b = ' <section aria-labelledby="ttsManWindowHeading" class="eyeAble_navigation" id="ttsManualContainerID" tabindex="-1">\n <div aria-hidden="true" id="tabStartTTS" class="eyeAtabClickable" tabindex="-1"></div> <div class="eyeAble-navigation-header eyeAble_radical-border" id="ttsManualContainerIDheader">\n <div class="eyeAble-navigation-logo">\n <img src="' + eyeAble_imagePaths.whiteLogo + 6876 '" alt="">\n </div>\n <h2 id="ttsManWindowHeading" class="eyeAble-navigation-headertext" eALangID="manHeader">' + eyeAble_getMessage("manHeader") + '</h2>\n <div role="button" class="eyeAble_navigation-cancel eyeAtabClickable" id="ttsManualCloseID">\n <img src="' + eyeAble_imagePaths.xNoCirclePath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" style="width: 25px;height: 25px;max-width: unset;">\n </div>\n </div>\n <div class="eyeAble-navigation-body">\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <p class="eyeAble-navigation-text eyeAtabClickable" eALangID="man2Intro" style="margin-top: 10px">' + 6877 eyeAble_getMessage("man2Intro") + '</p>\n <p class="eyeAble-navigation-text eyeAtabClickable" eALangID="man2Intro2" style="margin-top: 20px">' + eyeAble_getMessage("man2Intro2") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Close">' + eyeAble_getMessage("man2Close") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble-nav-key-slash">Esc</div>\n <div class="eyeAble-nav-key">\u23ce</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2TTS">' + 6878 eyeAble_getMessage("man2TTS") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">F3</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Show">' + eyeAble_getMessage("man2Show") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">F2</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Next">' + 6879 eyeAble_getMessage("man2Next") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">Tab</div>\n </div>\n </div>\n <p class="eyeAble-navigation-text" eALangID="man2Shift">' + eyeAble_getMessage("man2Shift") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Focus">' + 6880 eyeAble_getMessage("man2Focus") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">S</div>\n </div>\n </div>\n <p class="eyeAble-navigation-text" eALangID="man2FocusTxt">' + eyeAble_getMessage("man2FocusTxt") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Head">' + 6881 eyeAble_getMessage("man2Head") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">H</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2HeadLev">' + eyeAble_getMessage("man2HeadLev") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble-nav-key-to">1</div>\n <div class="eyeAble-nav-key">6</div>\n </div>\n </div>\n <p class="eyeAble-navigation-text" eALangID="man2Levels">' + 6882 eyeAble_getMessage("man2Levels") + '</p>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Img">' + eyeAble_getMessage("man2Img") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">G</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Link">' + 6883 eyeAble_getMessage("man2Link") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">K</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Land">' + eyeAble_getMessage("man2Land") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">D</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2List">' + 6884 eyeAble_getMessage("man2List") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">L</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2ListEnt">' + eyeAble_getMessage("man2ListEnt") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">I</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Form">' + 6885 eyeAble_getMessage("man2Form") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">F</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Inp">' + eyeAble_getMessage("man2Inp") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">E</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2But">' + 6886 eyeAble_getMessage("man2But") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">B</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Comb">
6886' + eyeAble_getMessage("man2Comb") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">C</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="man2Embb">' + 6887 eyeAble_getMessage("man2Embb") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key eyeAble_noAfter">O</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable">\n <p class="eyeAble_navigation-name" eALangID="manTTS">' + eyeAble_getMessage("manTTS") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">S</div>\n </div>\n </div>\n </div>\n <div class="eyeBAle_single-navigation eyeAble_radical-border" style="padding-bottom: 20px;">\n <div class="eyeAble_navigation-wrapper eyeAtabClickable" id="manualTTSLast">\n <p class="eyeAble_navigation-name" eALangID="manTab">' + 6888 eyeAble_getMessage("manTab") + '</p>\n <div class="eyeAble_navigation-keys">\n <div class="eyeAble-nav-key">Alt</div>\n <div class="eyeAble-nav-key">T</div>\n </div>\n </div>\n </div>\n<div aria-hidden="true" id="tabEndTTS" class="eyeAtabClickable" tabindex="0"></div> </div>\n </section>'; 6889 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").parentNode.insertAdjacentHTML("beforeend", b); 6890 eyeAble_shadowRoot.getElementById("tabEndTTS").addEventListener("focus", 6891 a); 6892 eyeAble_shadowRoot.getElementById("tabStartTTS").addEventListener("focus", a); 6893 eyeAble_shadowRoot.getElementById("ttsManualCloseID").addEventListener("click", eyeAble_toggleTTSManPage); 6894 eyeAble_dragElement(eyeAble_shadowRoot.getElementById("ttsManualContainerID")) 6895} 6896 6897function eyeAble_toggleTTSManPage() { 6898 eyeAble_closeAllOtherPages("ttsManualContainerID"); 6899 var a = eyeAble_shadowRoot.getElementById("ttsManualContainerID"); 6900 a ? "none" === a.style.display ? (a.style.display = "block", eyeAble_shadowRoot.getElementById("ttsManualCloseID").focus(), setTimeout(function () { 6901 a.focus() 6902 }, 500), eyeAble_showClickableElements("ttsManualContainerID"), eyeAble_showFeedbackNotification(eyeAble_getMessage("man2Open"), "ALT + F2")) : (eyeAble_closeTTSManPage(), eyeAble_showFeedbackNotification(eyeAble_getMessage("man2Esc"), 6903 "ALT + F2")) : (eyeAble_createTTSManualWindow(), eyeAble_showClickableElements("ttsManualContainerID"), eyeAbleWebsiteNavigationActive && eyeAbleWebsiteNav.addElementsToNavigation(eyeAble_shadowRoot.getElementById("ttsManualContainerID").querySelectorAll("*")), a = eyeAble_shadowRoot.getElementById("ttsManualContainerID"), eyeAble_shadowRoot.getElementById("ttsManualCloseID").focus(), setTimeout(function () { 6904 a.focus() 6905 }, 500), eyeAble_showFeedbackNotification(eyeAble_getMessage("man2Open"), "ALT + F2")) 6906} 6907 6908function eyeAble_closeTTSManPage() { 6909 eyeAble_shadowRoot.getElementById("ttsManualContainerID") && (eyeAble_shadowRoot.getElementById("ttsManualContainerID").style.display = "none", eyeAble_hideClickableElements("ttsManualContainerID")) 6910};var eyeAble_sidePositionSheet, eyeAble_tooltipSidePositionSheet; 6911 6912function eyeAble_initPosition() { 6913 eyeAble_session_parameters.isMobile && eyeAble_setVar("sidePosition", "right"); 6914 eyeAble_initTopPosition(); 6915 eyeAble_initSidePosition() 6916} 6917 6918function eyeAble_initSidePosition() { 6919 eyeAble_sidePositionSheet || (eyeAble_sidePositionSheet = function () { 6920 var b = document.createElement("style"); 6921 b.appendChild(document.createTextNode("")); 6922 eyeAble_shadowRoot.appendChild(b); 6923 return b.sheet 6924 }()); 6925 eyeAble_tooltipSidePositionSheet || (eyeAble_tooltipSidePositionSheet = function () { 6926 var b = document.createElement("style"); 6927 b.appendChild(document.createTextNode("")); 6928 eyeAble_shadowRoot.appendChild(b); 6929 return b.sheet 6930 }()); 6931 var a = eyeAbleVariables.sidePosition + ": 295px;"; 6932 "right" === 6933 eyeAbleVariables.sidePosition ? a += "box-shadow: #505050 -5px 5px 10px 0;" : (a += "box-shadow: #505050 5px 5px 10px 0;", eyeAble_addCSSRule(eyeAble_tooltipSidePositionSheet, ".eyeAble_tooltip:after", "right: unset !important; left : -12px; transform:rotate(225deg) !important;"), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.add("iAble_left")); 6934 eyeAble_addCSSRule(eyeAble_sidePositionSheet, ".eyeAble_settings", a) 6935} 6936 6937function eyeAble_switchSide(a) { 6938 a || (a = "left", "left" === eyeAbleVariables.sidePosition && (a = "right")); 6939 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.removeProperty(eyeAbleVariables.sidePosition); 6940 var b = eyeAble_sidePositionSheet.cssRules || eyeAble_sidePositionSheet.rules; 6941 b[0].style.removeProperty(eyeAbleVariables.sidePosition); 6942 b[0].style[a] = "295px"; 6943 "right" === a ? (b[0].style.setProperty("box-shadow", " #505050 -5px 5px 10px 0"), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.remove("iAble_left")) : 6944 (b[0].style.setProperty("box-shadow", " #505050 5px 5px 10px 0"), eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.add("iAble_left")); 6945 b = eyeAble_TopFixedPositionStylesheet.cssRules || eyeAble_TopFixedPositionStylesheet.rules; 6946 b[0].style.removeProperty(eyeAbleVariables.sidePosition); 6947 eyeAble_setVar("sidePosition", a);
6948 eyeAble_changeFixedTopPosition(eyeAbleVariables.topPosition); 6949 b = eyeAble_tooltipSidePositionSheet.cssRules || eyeAble_tooltipSidePositionSheet.rules; 6950 "right" === a ? 0 < b.length && (b[0].style.removeProperty("right"), 6951 b[0].style.removeProperty("left"), b[0].style.removeProperty("transform")) : 0 < b.length ? (b[0].style.setProperty("right", "unset", "important"), b[0].style.setProperty("left", "-12px"), b[0].style.setProperty("transform", "rotate(225deg)", "important")) : eyeAble_addCSSRule(eyeAble_tooltipSidePositionSheet, ".eyeAble_tooltip:after", "right: unset !important; left : -12px; transform:rotate(225deg) !important;"); 6952 eyeAble_setMainIconTransform() 6953} 6954 6955function eyeAble_initTopPosition() { 6956 var a = document.createElement("style"); 6957 a.appendChild(document.createTextNode("")); 6958 eyeAble_shadowRoot.appendChild(a); 6959 eyeAble_TopFixedPositionStylesheet = a.sheet; 6960 eyeAble_addCSSRule(eyeAble_TopFixedPositionStylesheet, ".eyeAble_topFixedPosition", ""); 6961 eyeAble_session_parameters.isMobile ? eyeAble_changeFixedBottomPosition(eyeAbleVariables.mobileBottomPosition, eyeAbleVariables.mobileRightPosition) : eyeAble_changeFixedTopPosition(eyeAbleVariables.topPosition, eyeAbleVariables.rightPosition) 6962} 6963 6964function eyeAble_changeFixedBottomPosition(a, b, c) { 6965 c = void 0 === c ? !1 : c; 6966 b || (b = eyeAbleVariables.rightPosition); 6967 var d = eyeAble_TopFixedPositionStylesheet.cssRules || eyeAble_TopFixedPositionStylesheet.rules; 6968 d[0].style.setProperty("bottom", a, "important"); 6969 d[0].style.setProperty(eyeAbleVariables.sidePosition, b); 6970 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && (d = eyeAbleVariables.mobileBottomPosition.includes("%") ? parseFloat(eyeAbleVariables.mobileBottomPosition) / 100 * Math.max(document.documentElement.clientHeight || 6971 0, window.innerHeight || 0) + 10 : parseFloat(eyeAbleVariables.mobileBottomPosition) + 10, eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty("bottom", d.toString() + "px", "important")); 6972 c || (eyeAble_setVar("mobileBottomPosition", a), eyeAble_setVar("mobileRightPosition", b)) 6973} 6974 6975function eyeAble_changeFixedTopPosition(a, b, c) { 6976 c = void 0 === c ? !1 : c; 6977 b || (b = eyeAbleVariables.rightPosition); 6978 var d = eyeAble_TopFixedPositionStylesheet.cssRules || eyeAble_TopFixedPositionStylesheet.rules; 6979 fastdomEA.mutate(function () { 6980 d[0].style.setProperty("top", a, "important"); 6981 d[0].style.setProperty(eyeAbleVariables.sidePosition, b) 6982 }); 6983 c || (eyeAble_setVar("topPosition", a), eyeAble_setVar("rightPosition", b)); 6984 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && fastdomEA.measure(function () { 6985 var e = eyeAble_shadowRoot.getElementById("mainIconID").getBoundingClientRect(); 6986 "flex" === eyeAble_shadowRoot.getElementById("showAll_arrow").style.display && (e = eyeAble_shadowRoot.getElementById("showAll_arrow").getBoundingClientRect()); 6987 31 < e.top + e.height / 2 ? fastdomEA.mutate(function () { 6988 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty("top", (e.top + e.height / 2 - 31).toFixed() + "px", "important") 6989 }) : fastdomEA.mutate(function () { 6990 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty("top", eyeAbleVariables.topPosition, "important") 6991 }) 6992 }) 6993} 6994 6995function eyeAble_checkMobilePosition() { 6996 if (eyeAble_session_parameters.isMobile) { 6997 var a = window.innerWidth - document.body.clientWidth; 6998 if (0 < a && a !== window.innerWidth) { 6999 var b = eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.mobileBottomPosition ? parseInt(eyeAble_pluginLocalConfig.mobileRightPosition) : parseInt(eyeAbleDefaultOneClickVariables.mobileRightPosition); 7000 eyeAble_changeFixedBottomPosition(eyeAbleVariables.mobileBottomPosition, (a + 8 + b).toFixed(0) + "px") 7001 } 7002 } 7003} 7004 7005function eyeAble_dragElement(a) { 7006 function b(n) { 7007 l = a.getBoundingClientRect(); 7008 m = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 7009 q = Math.max(document.documentElement.clientHeight, window.innerHeight || 0
7009); 7010 n = n || window.event; 7011 n.preventDefault(); 7012 h = n.clientX; 7013 g = n.clientY; 7014 document.addEventListener("mouseup", d); 7015 document.addEventListener("mousemove", c) 7016 } 7017 7018 function c(n) { 7019 n = n || window.event; 7020 n.preventDefault(); 7021 e = h - n.clientX; 7022 f = g - n.clientY; 7023 h = n.clientX; 7024 g = n.clientY; 7025 a.style.top = a.offsetTop - f + "px"; 7026 a.style.left = 7027 a.offsetLeft - e + "px" 7028 } 7029 7030 function d() { 7031 var n = parseInt(a.style.top); 7032 n < l.height / 2 ? a.style.top = (l.height / 2).toFixed(0) + "px" : n > q - l.height / 2 && (a.style.top = (q - l.height / 2).toFixed(0) + "px"); 7033 n = parseInt(a.style.left); 7034 n < l.width / 2 ? a.style.left = (l.width / 2).toFixed(0) + "px" : n > m - l.width / 2 && (a.style.left = (m - l.width / 2).toFixed(0) + "px"); 7035 document.removeEventListener("mouseup", d); 7036 document.removeEventListener("mousemove", c) 7037 } 7038 7039 var e = 0, f = 0, h = 0, g = 0; 7040 eyeAble_shadowRoot.getElementById(a.id + "header") ? eyeAble_shadowRoot.getElementById(a.id + 7041 "header").onmousedown = b : a.onmousedown = b; 7042 var l, m, q 7043} 7044 7045var eyeAble_iconMouseDown = !1, eyeAble_dragTimeoutID = -1, eyeAble_iconMoved = !1, 7046 eyeAble_documentDragListenerSet = !1, eyeAble_blockClosing = !1; 7047 7048function eyeAble_dragAndPlaceIcon(a) { 7049 if (eyeAble_shadowRoot.getElementById("eyeAble_fixedHeaderToolbarID").matches(":hover") || eyeAble_shadowRoot.getElementById("showAll_arrow").matches(":hover") || document.getElementById("eyeAble_customToolOpenerID") && document.getElementById("eyeAble_customToolOpenerID").matches(":hover")) { 7050 var b = function () { 7051 "0" === eyeAbleVariables.Extended && (fastdomEA.mutate(function () { 7052 eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none"; 7053 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = 7054 "block" 7055 }), eyeAble_setVar("Extended", "1"), eyeAble_blockClosing = !0, setTimeout(function () { 7056 eyeAble_blockClosing = !1 7057 }, 400)); 7058 if (eyeAble_documentDragListenerSet) { 7059 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.removeProperty("transition"); 7060 eyeAble_shadowRoot.getElementById("mainIconID").classList.remove("eyeAble_shakeAnimation"); 7061 eyeAble_shadowRoot.getElementById("mainIconSVGID").classList.remove("eyeAble_shakeAnimation"); 7062 eyeAble_documentDragListenerSet = !1; 7063 for (var r = eyeAble_shadowRoot.querySelectorAll(".eyeAble_positionArea"), 7064 v = 0; v < r.length; v++) r[v].remove() 7065 } 7066 -1 !== eyeAble_dragTimeoutID && (clearTimeout(eyeAble_dragTimeoutID), eyeAble_dragTimeoutID = -1); 7067 eyeAble_iconMoved ? (r = 100 * parseFloat(eyeAble_shadowRoot.getElementById("eyeAble_columID").style.top) * m / h, 1 > r ? r = 1 : 89 < r && (r = 89), eyeAble_changeFixedTopPosition(r.toFixed(1) + "%"), eyeAble_shadowRoot.getElementById("eyeAble_columID").style.removeProperty("top"), eyeAble_removeTooltip(), eyeAble_iconMoved = !1) : eyeAble_extendIconbar(); 7068 eyeAble_setActiveCheckVis(); 7069 document.removeEventListener("mousemove", 7070 c); 7071 document.removeEventListener("mouseup", b) 7072 }, c = function (r) { 7073 eyeAble_iconMoved = !0; 7074 r = r || window.event; 7075 r.preventDefault(); 7076 d = f - r.clientY; 7077 e = r.clientX; 7078 f = r.clientY; 7079 e < g / 2 && "left" !== eyeAbleVariables.sidePosition ? eyeAble_switchSide("left") : e >= g / 2 && "right" !== eyeAbleVariables.sidePosition && eyeAble_switchSide("right"); 7080 r = eyeAble_shadowRoot.getElementById("eyeAble_columID"); 7081 var v = r.offsetTop - d; 7082 v < q ? v = q : v > n && (v = n); 7083 r.style.setProperty("top", v.toString() + "px", "important") 7084 }; 7085 eyeAble_iconMouseDown = !0; 7086 var d = 0, e = 0, f = 0, h = 7087 Math.max(document.documentElement.clientHeight, window.innerHeight || 0
7087), 7088 g = Math.max(document.documentElement.clientWidth, window.innerWidth || 0), 7089 l = eyeAble_shadowRoot.getElementById("functionActiveID"), 7090 m = parseFloat(getComputedStyle(document.body).zoom); 7091 if (!m || 1 > m) m = 1; 7092 var q = 1 * h / 100 / m, n = 89 * h / 100 / m; 7093 a.preventDefault(); 7094 document.addEventListener("mouseup", b); 7095 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.disableIconDrag || (eyeAble_dragTimeoutID = setTimeout(function () { 7096 if (eyeAble_iconMouseDown && eyeAble_shadowRoot.getElementById("mainIconID").matches(":hover") || 7097 eyeAble_shadowRoot.getElementById("showAll_arrow").matches(":hover") || eyeAble_shadowRoot.getElementById("mainIconSVGID").matches(":hover")) { 7098 a = a || window.event; 7099 a.preventDefault(); 7100 "0" === eyeAbleVariables.Extended && (fastdomEA.mutate(function () { 7101 eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none"; 7102 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "block" 7103 }), eyeAble_setVar("Extended", "1")); 7104 e = a.clientX; 7105 f = a.clientY; 7106 var r = document.createElement("div"); 7107 r.classList.add("eyeAble_positionArea"); 7108 r.style.right = "2px"; 7109 r.style.height = (n + eyeAble_iconSize).toString() + "px"; 7110 eyeAble_shadowRoot.appendChild(r); 7111 r = document.createElement("div"); 7112 r.classList.add("eyeAble_positionArea"); 7113 r.style.left = "2px"; 7114 r.style.height = (n + eyeAble_iconSize).toString() + "px"; 7115 eyeAble_shadowRoot.appendChild(r); 7116 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.transition = "unset"; 7117 eyeAble_shadowRoot.getElementById("mainIconID").classList.add("eyeAble_shakeAnimation"); 7118 eyeAble_shadowRoot.getElementById("mainIconSVGID").classList.add("eyeAble_shakeAnimation"); 7119 eyeAble_shadowRoot.getElementById("tooltipDescriptionID") && (eyeAble_shadowRoot.getElementById("tooltipDescriptionID").innerText = eyeAble_getMessage("dragTxt")); 7120 eyeAble_documentDragListenerSet = !0; 7121 l.style.visibility = "hidden"; 7122 setTimeout(function () { 7123 document.addEventListener("mousemove", c) 7124 }, 100) 7125 } 7126 }, 500)) 7127 } 7128} 7129 7130function eyeAble_checkOtherZIndex() { 7131 for (var a = document.body.children, b = {$jscomp$loop$prop$i$293: 0}; b.$jscomp$loop$prop$i$293 < a.length; b = {$jscomp$loop$prop$i$293: b.$jscomp$loop$prop$i$293}, b.$jscomp$loop$prop$i$293++) fastdomEA.measure(function (c) { 7132 return function () { 7133 var d = getComputedStyle(a[c.$jscomp$loop$prop$i$293]); 7134 2147483647 <= parseInt(d.zIndex) && !a[c.$jscomp$loop$prop$i$293].classList.contains("eyeAbleBigCursor") && fastdomEA.mutate(function () { 7135 a[c.$jscomp$loop$prop$i$293].style.setProperty("z-index", 7136 "2147483644", "important") 7137 }) 7138 } 7139 }(b)) 7140}; 7141 7142function eyeAble_initTooltips() { 7143 if (eyeAble_session_parameters.isMobile) return !1; 7144 for (var a = ["colorCorrectionControllerID", "eyeABle_bluefilterCtrlID", "eyeAble_zoomBox1", "eyeAble_zoomBoxContrast"], b = eyeAble_shadowRoot.getElementById("eyeAble_mainToolbarContentID").children, c = 0; c < b.length; c++) a.includes(b[c].id) || (b[c].addEventListener("mouseenter", eyeAble_createTooltip), b[c].addEventListener("focus", eyeAble_createTooltip)); 7145 a = "eyeAble_smallIconID eyeAble_columID eyeA-magnifierID mainIconID mainIconSVGID settingsTopbarID extendedFontID resetTopbarID infoIconBarID closeIconBarID oneClickSaveID minusID zoomResetID plusID extendedContrastID".split(" "); 7146 for (b = 0; b < a.length; b++) eyeAble_shadowRoot.getElementById(a[b]).addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById(a[b]).addEventListener("focus", eyeAble_createTooltip); 7147 eyeAble_shadowRoot.getElementById("eyeAble_columID").removeEventListener("blur", eyeAble_removeTooltip); 7148 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.showExternalIconTooltip && (a = document.getElementById("eyeAble_customToolOpenerID")) && (a.addEventListener("mouseenter", eyeAble_createTooltip), 7149 a.addEventListener("focus", eyeAble_createTooltip)) 7150} 7151 7152var eyeAble_tooltipTimeoutID = -1, eyeAble_lastTooltipElement; 7153 7154function eyeAble_createTooltip(a) { 7155 eyeAble_removeTooltip(); 7156 if (!eyeAble_session_parameters.isMobile) { 7157 var b = "", c = "", d = "", e = !1, f = a.target; 7158 if ("mainIconID" === f.id && eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || eyeAble_documentDragListenerSet) return !1; 7159 -1 !== eyeAble_tooltipTimeoutID && (clearTimeout(eyeAble_tooltipTimeoutID), eyeAble_tooltipTimeoutID = -1); 7160 eyeAble_tooltipTimeoutID = setTimeout(function () { 7161 if (!f.matches(":hover") && !f.matches(":focus") && !a.manual) return !1; 7162 var h = f.id; 7163 h && "" !== h || (h = f.children[0].id); 7164 switch (h) { 7165 case "oneClickSaveID": 7166 b = eyeAble_getMessage("tipSaveInstant"); 7167 c = eyeAble_getMessage("tipSaveInstantTxt"); 7168 break; 7169 case "oneClickID": 7170 b = eyeAble_getMessage("sofortText"); 7171 c = eyeAble_getMessage("tipInstant"); 7172 d = "ALT + Q"; 7173 break; 7174 case "zoomBoxOpener": 7175 b = eyeAble_getMessage("tipZoom"); 7176 c = eyeAble_getMessage("tipZoomTxt"); 7177 d = eyeAble_getMessage("tipZoomShortcut"); 7178 break; 7179 case "colorsID": 7180 b = eyeAble_getMessage("contrastText"); 7181 c = eyeAble_getMessage("tipContrast"); 7182 d = "ALT + C"; 7183 break; 7184 case "extendedContrastID": 7185 b = eyeAble_getMessage("contrastBoxText"); 7186 c = eyeAble_getMessage("tipContrastBox"); 7187 d = "ALT + 2"; 7188 break; 7189 case "BluefilterMoreID": 7190 case "bluefilterContainerID": 7191 b = eyeAble_getMessage("tipBf"); 7192 c = eyeAble_getMessage("tipBfTxt"); 7193 -1 === navigator.userAgent.indexOf("Firefox") && (d = "ALT + B"); 7194 break; 7195 case "NightmodeMoreID": 7196 case "bwID": 7197 b = eyeAble_getMessage("nightText"); 7198 c = eyeAble_getMessage("tipNight"); 7199 d = "ALT + N"; 7200 break; 7201 case "navAndSpeechContainerID": 7202 b = eyeAble_getMessage("tipSr"); 7203 c = eyeAble_getMessage("tipSrTxt"); 7204 -1 === navigator.userAgent.indexOf("Firefox") && (d = "ALT + S"); 7205 break; 7206 case "TabNavMoreID": 7207 case "tabNavContainerID": 7208 b = eyeAble_getMessage("tipNav"); 7209 c = eyeAble_getMessage("tipNavTxt"); 7210 -1 === navigator.userAgent.indexOf("Firefox") && (d = "ALT + T"); 7211 break; 7212 case "ColorCorrMoreID": 7213 case "colorblindID": 7214 b = eyeAble_getMessage("ccHeader"); 7215 c = eyeAble_getMessage("tipCCTxt"); 7216 d = "ALT + 3"; 7217 break; 7218 case "HideImagesDivID": 7219 case "hideImagesContainerID": 7220 b = eyeAble_getMessage("hideImgText"); 7221 c = eyeAble_getMessage("tipImgTxt"); 7222 -1 === navigator.userAgent.indexOf("Firefox") && 7223 (d = "ALT + V"); 7224 break; 7225 case "fontID": 7226 b = eyeAble_getMessage("tipFont"); 7227 c = eyeAble_getMessage("tipFontTxt"); 7228 d = "ALT + X"; 7229 break; 7230 case "moreFunctionsContainerID": 7231 b = eyeAble_getMessage("moreFuncText"); 7232 c = eyeAble_getMessage("tipFuncTxt"); 7233 d = "ALT + 4"; 7234 break; 7235 case "getProContainerID": 7236 b = eyeAble_getMessage("tipPro"); 7237 c = eyeAble_getMessage("tipProTxt"); 7238 d = ""; 7239 break; 7240 case "resetID": 7241 b = eyeAble_getMessage("resetAllText"); 7242 c = eyeAble_getMessage("tipResTxt"); 7243 d = "ALT + R"; 7244 break; 7245 case "eyeA-magnifierID": 7246 b = eyeAble_getMessage("tipMag"); 7247 c = eyeAble_getMessage("tipMagTxt"); 7248 d = "ALT + M"; 7249 break; 7250 case "srPlayStopButtonID": 7251 b = eyeAble_getMessage("screenreaderText"); 7252 c = eyeAble_getMessage("tipPlayTxt"); 7253 break; 7254 case "eyeAble_smallIconID": 7255 case "mainIconSVGID": 7256 case "eyeAble_columID": 7257 case "mainIconID": 7258 b = eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && eyeAble_pluginLocalConfig.customText.tipMain ? eyeAble_getMessage("tipMain") : "Eye-Able® - " + eyeAble_getMessage("tipMain"); 7259 55 < eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().top && 7260 (c = eyeAble_getMessage("tipMainTxt")); 7261 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && (e = !0); 7262 d = "ALT + 1"; 7263 break; 7264 case "eyeAble_customToolOpenerID": 7265 b = "Eye-Able® - " + eyeAble_getMessage("tipMain"); 7266 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && eyeAble_pluginLocalConfig.customText.headerName && (b = eyeAble_pluginLocalConfig.customText.headerName); 7267 55 < document.getElementById("eyeAble_customToolOpenerID").getBoundingClientRect().top && (c = eyeAble_getMessage("tipMainTxt")); 7268 d = "ALT + 1"; 7269 break; 7270 case "settingsTopbarID": 7271 b = eyeAble_getMessage("settingsText");
7272 c = eyeAble_getMessage("tipSettingsTxt"); 7273 break; 7274 case "extendedFontID": 7275 b = eyeAble_getMessage("tipExtFont"); 7276 c = eyeAble_getMessage("tipExtFontTxt"); 7277 break; 7278 case "noAlignID": 7279 b = eyeAble_getMessage("tipAlignNo"); 7280 c = eyeAble_getMessage("tipAlignNoTxt"); 7281 break; 7282 case "leftAlignID": 7283 b = eyeAble_getMessage("tipAlignLeft"); 7284 c = eyeAble_getMessage("tipAlignLeftTxt"); 7285 break; 7286 case "centerAlignID": 7287 b = eyeAble_getMessage("tipAlignCenter"); 7288 c = eyeAble_getMessage("tipAlignCenterTxt"); 7289 break; 7290 case "rightAlignID": 7291 b = eyeAble_getMessage("tipAlignRight"); 7292 c = eyeAble_getMessage("tipAlignRightTxt"); 7293 break; 7294 case "justifyAlignID": 7295 b = eyeAble_getMessage("tipAlignJust"); 7296 c = eyeAble_getMessage("tipAlignJustTxt"); 7297 break; 7298 case "shortcutSettingsID": 7299 b = eyeAble_getMessage("tipShortcuts"); 7300 c = eyeAble_getMessage("tipShortcutsTxt"); 7301 break; 7302 case "toggleVoiceOutputID": 7303 b = eyeAble_getMessage("tipCursorSpeech"); 7304 c = eyeAble_getMessage("tipCursorSpeechTxt"); 7305 break; 7306 case "bigCursorToolbarID": 7307 b = eyeAble_getMessage("funcToolbarCursor"); 7308 c = eyeAble_getMessage("funcCursorTipText"); 7309 d = "ALT + Y"; 7310 break; 7311 case "resetTopbarID": 7312 b = eyeAble_getMessage("resetAllText"); 7313 c = eyeAble_getMessage("tipResTxt"); 7314 d = "ALT + R"; 7315 break; 7316 case "infoIconBarID": 7317 b = eyeAble_getMessage("tipInfoTop"); 7318 c = eyeAble_getMessage("tipInfoTopTxt"); 7319 break; 7320 case "closeIconBarID": 7321 b = eyeAble_getMessage("tipCloseTop"); 7322 c = eyeAble_getMessage("tipCloseTopTxt"); 7323 d = "ESC"; 7324 break; 7325 case "minusID": 7326 b = eyeAble_getMessage("tipfontMinus"); 7327 d = "ALT -"; 7328 break; 7329 case "zoomResetID": 7330 b = eyeAble_getMessage("tipfontReset"); 7331 d = "ALT + R"; 7332 break; 7333 case "plusID": 7334 b = eyeAble_getMessage("tipfontPlus"); 7335 d = "ALT +"; 7336 break; 7337 case "BigCursorDivID": 7338 b = eyeAble_getMessage("funcToolbarCursor"); 7339 c = eyeAble_getMessage("funcCursor"); 7340 d = "ALT + Y"; 7341 break; 7342 case "AnimationsDivID": 7343 b = eyeAble_getMessage("tipAnimation"); 7344 c = eyeAble_getMessage("tipAnimationTxt"); 7345 d = "ALT + K"; 7346 break; 7347 case "MutedDivID": 7348 b = eyeAble_getMessage("tipMute"); 7349 c = eyeAble_getMessage("tipMuteTxt"); 7350 d = "ALT + J"; 7351 break; 7352 case "crossDomainSettingsID": 7353 b = eyeAble_getMessage("SettCrossDomain"); 7354 c = eyeAble_getMessage("tipCrossDomain"); 7355 break; 7356 case "hideForMeID": 7357 case "hideIconSettingsID": 7358 b = eyeAble_getMessage("SettHideIcon"); 7359 c = eyeAble_getMessage("tipHideIcon"); 7360 break; 7361 case "minimizeIconSettingsID": 7362 b = eyeAble_getMessage("SettMinimizeIconTxt"); 7363 c = eyeAble_getMessage("tipMinimizeIcon"); 7364 break; 7365 default: 7366 b = "Eye-Able", c = "Aktiviere diese Funktion." 7367 } 7368 if (e) return !1; 7369 eyeAbleVariables.ShortcutsActive || (d = ""); 7370 eyeAble_shadowRoot.getElementById("eyeAble_tooltip") || eyeAble_shadowRootHtml.insertAdjacentHTML("beforeend", '<div aria-hidden="true" class="eyeAble_tooltip eyeAbleContrastSkip" id="eyeAble_tooltip"> <div class="eyeAble_tooltip-header">' + 7371 b + '</div> <p id="tooltipDescriptionID" class="eyeAble_tooltip-text">' + c + '</p> <p class="eyeAble_tooltipShortcut">' + d + "</p></div>"); 7372 h = eyeAble_shadowRoot.getElementById("eyeAble_tooltip"); 7373 h.style.opacity = "1"; 7374 var g = f.getBoundingClientRect(); 7375 h.style.top = (g.top + g.height / 2).toFixed() + "px"; 7376 h.style.left = "right" === eyeAbleVariables.sidePosition ? (g.left - 31 - 306).toFixed() + "px" : (g.right + 31).toFixed() + "px"; 7377 document.body.addEventListener("wheel", eyeAble_removeTooltip, {passive: !1}); 7378 f.addEventListener("mouseleave", 7379 eyeAble_removeTooltip); 7380 f.addEventListener("blur", eyeAble_removeTooltip); 7381 eyeAble_lastTooltipElement = f; 7382 eyeAble_tooltipTimeoutID = -1 7383 }, 300) 7384 } 7385} 7386 7387function eyeAble_removeTooltip() { 7388 if (eyeAble_session_parameters.isMobile || eyeAble_documentDragListenerSet) return !1; 7389 eyeAble_shadowRoot.getElementById("eyeAble_tooltip") && (eyeAble_shadowRoot.getElementById("eyeAble_tooltip").remove(), eyeAble_shadowRoot.getElementById("eyeAble_columID").removeEventListener("wheel", eyeAble_removeTooltip, {passive: !1}), document.body.removeEventListener("wheel", eyeAble_removeTooltip), eyeAble_lastTooltipElement && (eyeAble_lastTooltipElement.removeEventListener("mouseleave", 7390 eyeAble_removeTooltip), eyeAble_lastTooltipElement.removeEventListener("blur", eyeAble_removeTooltip))) 7391} 7392 7393var eyeAble_feedbackTimeout = -1; 7394 7395function eyeAble_showFeedbackNotification(a, b, c) { 7396 b = void 0 === b ? "" : b; 7397 if (!(eyeAble_keyPressed || void 0 !== c && c)) return !1; 7398 var d = eyeAble_shadowRoot.getElementById("eyeAble_feebackTooltipID"); 7399 d.style.opacity = "1"; 7400 d.style.display = "block"; 7401 d.querySelector("#feedbackTextID").innerText = a; 7402 d.querySelector("#feedbackShortcutID").innerText = b; 7403 -1 !== eyeAble_feedbackTimeout && clearTimeout(eyeAble_feedbackTimeout); 7404 eyeAble_feedbackTimeout = setTimeout(function () { 7405 d.style.opacity = "0"; 7406 eyeAble_feedbackTimeout = -1; 7407 d.style.display = 7408 "none" 7409 }, 3E3) 7410}; 7411 7412function eyeAble_initMoreFuntions() { 7413 "1" === eyeAble_getVar("BigCursor") && eyeAble_enableBigCursor(
7413); 7414 "0" === eyeAble_getVar("Animations") && eyeAble_disableAnimations(); 7415 var a = document.createElement("style"); 7416 a.appendChild(document.createTextNode("")); 7417 document.head.appendChild(a); 7418 a = a.sheet; 7419 eyeAble_addCSSRule(a, ".eyeAble_hide:not(.eyeAbleHideSkip):not(.eyeAbleContrastSkip):not(#eyeAble_customToolOpenerID):not(.eyeAble_img-fluid)", "visibility : hidden !important;"); 7420 eyeAble_addCSSRule(a, ".eyeAble_hideBackImg:not(.eyeAbleHideSkip):not(.eyeAbleContrastSkip):not(#eyeAble_customToolOpenerID)", 7421 "background-image : none !important;"); 7422 "1" === eyeAble_getVar("HideImages") && eyeAble_hideImagesAndVideos(); 7423 "1" === eyeAble_getVar("Muted") && eyeAble_muteAudio(); 7424 eyeAble_initDetectVideoFullscreen() 7425} 7426 7427function eyeAble_createMoreFunctionsPage() { 7428 function a() { 7429 "tabEndFunc" === this.id ? eyeAble_shadowRoot.getElementById("settingsTopbarInID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").focus() 7430 } 7431 7432 var b = ' <Section aria-labelledby="functionsWindowHeading" class="eyeAble_settings eyeAble_topFixedPosition eyeAbleSkip" id="eyeAble_SettingsPageID" tabindex="-1" style="display: none"> <div aria-hidden="true" id="tabStartFunc" tabindex="0"></div> <div class="eyeAble_settings-header"> <div class="eyeAble_setting-icon"> <img eyeAbleSkipNav="true" style="width: 32px" src="' + eyeAble_imagePaths.moreFunctionsPath + 7433 '" alt=""> </div> <div> <span id="functionsWindowHeading" class="eyeAble_setting-text" ealangid="moreFuncText">' + eyeAble_getMessage("moreFuncText") + '</span> </div> <div> <img eyeAbleSkipNav="true" role="button" tabindex="0" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="settingsTopbarInID" src="' + eyeAble_imagePaths.xPath + '" alt="' + eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" style="margin-left: 7px;font-size: 25px;margin-top: 5px;"></div> </div> </div> <div class="eyeAble_settings-content"> <div role="button" style="display: none" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="BluefilterMoreID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" id="BluefilterMoreImgID" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7434 eyeAble_imagePaths.bluefilterOffPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" id="BluefilterMoreTxtID" ealangid="enableBf">' + eyeAble_getMessage("enableBf") + '</a> </div> </div> <div role="button" style="display: none" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="NightmodeMoreID" aria-pressed="false" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" style="filter:none" class="eyeAble_settings-block-icon eyeAbleInvert" id="NightmodeMoreImgID" src="' + 7435 eyeAble_imagePaths.blackWhitePath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" id="NightmodeMoreTxtID" ealangid="nightText">' + eyeAble_getMessage("nightText") + '</a> </div> </div> <div role="button" style="display: none" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="ColorCorrMoreID" aria-pressed="false" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7436 eyeAble_imagePaths.colorblindPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="ccText">' + eyeAble_getMessage("ccText") + '</a> </div> </div> <div role="button" style="display: none" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="HideImagesDivID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7437 eyeAble_imagePaths.settingsImgPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="funcImg">' + eyeAble_getMessage("funcImg") + '</a> </div> </div> <div role="button" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="TabNavMoreID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7438 eyeAble_imagePaths.keyboardPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="tabNavText">' + eyeAble_getMessage("tabNavText") + '</a> </div> </div> <div role="button" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="BigCursorDivID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7439 eyeAble_imagePaths.settingsMousePath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="funcCursor">' + eyeAble_getMessage("funcCursor") + '</a> </div> </div> <div role="button" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="fontID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7440 eyeAble_imagePaths.fontPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="fontText">' + eyeAble_getMessage("fontText") + '</a> </div> </div> <div role="button" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="AnimationsDivID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7441 eyeAble_imagePaths.settingsAniPath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="funcAni">' + eyeAble_getMessage("funcAni") + '</a> </div> </div> <div role="button" class="eyeAble_settings-block eyeAtabClickable" tabindex="0" id="MutedDivID" aria-pressed="false"> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon eyeAbleInvert" src="' + 7442 eyeAble_imagePaths.settingsMutePath + '" alt=""> </div> <div class="eyeAble_settings-block-cta"> <a class="eyeAble_btn" ealangid="funcAudio">' + eyeAble_getMessage("funcAudio") + '</a> </div> </div> <div class="eyeAble_settings-block eyeAble_settings-block-location"> <div class="eyeAble_setting-toggole-button"> <div id="eyeAble_tgbox2" class="eyeAble_tgbox"> <input type="checkbox" tabindex="0" id="eyeAble_tgButton2"> <div class="eyeAble_tgswitch"></div> </div> </div> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon" src="' + 7443 eyeAble_imagePaths.settingsLocPath + '" alt=""> </div> <div class="eyeAble_settings-block-header eyeAble_settings-block-cta" id="eyeA-settingsSUNtextId"> <label for="eyeAble_tgButton2" id="bluefilterSunDesc" class="eyeAble_btn" ealangid="funcSunTxt">' + eyeAble_getMessage("funcSunTxt") + '</label> </div> <div class="eyeAble_zoombox eyeAble_collapsed" id="eyeAble_sBlock2"> <div class="eyeAble_settings-block-feature"> <label class="eyeAble_wohnort" for="locations" ealangid="funcHome">' + 7444 eyeAble_getMessage("funcHome") + '</label> <select class="eyeAtabClickable" tabindex="-1" id="locations"> <option value="W\u00fcrzburg">W\u00fcrzburg</option> <option value="Berlin">Berlin</option> <option value="M\u00fcnchen">M\u00fcnchen</option> <option value="Rom">Rom</option> <option value="Stockholm">Stockholm</option> <option value="New York">New York</option> <option value="Tokyo">Tokyo</option> </select> </div>
7444 <span id="eyeAble_SUNtimeStatusID" ealangid="funcOn">' + 7445 eyeAble_getMessage("funcOn") + '</span> </div> </div> <div class="eyeAble_settings-block eyeAble_settings-block-time"> <div class="eyeAble_setting-toggole-button"> <div id="eyeAble_tgbox1" class="eyeAble_tgbox"> <input type="checkbox" tabindex="0" id="eyeAble_tgButton1"> <div class="eyeAble_tgswitch"></div> </div> </div> <div> <img eyeAbleSkipNav="true" class="eyeAble_settings-block-icon" src="' + 7446 eyeAble_imagePaths.settingsClkPath + '" alt=""> </div> <div class="eyeAble_settings-block-header eyeAble_settings-block-cta" id="eyeA-settingsMANtextId"> <label for="eyeAble_tgButton1" id="bluefilterManualDesc" class="eyeAble_btn" ealangid="funcManTxt">' + eyeAble_getMessage("funcManTxt") + '</label> </div> <div class="eyeAble_zoombox eyeAble_collapsed" id="eyeAble_sBlock1"> <div class="eyeAble_settings-block-feature"> <label for="eyeAble_BlueStart" class="starttime"> <input tabindex="-1" class="eyeAtabClickable" type="time" value="16:00" id="eyeAble_BlueStart" style="width: 70px" ealangid="funcStart">' + 7447 eyeAble_getMessage("funcStart") + '</label> <label for="eyeAble_BlueEnd" class="endtime"> <input tabindex="-1" class="eyeAtabClickable" type="time" value="
744708:00" id="eyeAble_BlueEnd" style="width: 70px" ealangid="funcEnd">' + eyeAble_getMessage("funcEnd") + '</label> </div> <span id="eyeAble_MANtimeStatusID" ealangid="funcOn">' + eyeAble_getMessage("funcOn") + '</span> </div> <div aria-hidden="true" id="tabEndFunc" class="eyeAtabClickable" tabindex="0"></div> </div> </div> </Section>'; 7448 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", b); 7449 !1 === eyeAble_blockAnimationsEnabled && (eyeAble_shadowRoot.getElementById("AnimationsDivID").style.display = "none"); 7450 !1 === eyeAble_fontFamilyEnabled && (eyeAble_shadowRoot.getElementById("fontID").style.display = "none"); 7451 eyeAble_shadowRoot.getElementById("tabEndFunc").addEventListener("focus", a); 7452 eyeAble_shadowRoot.getElementById("tabStartFunc").addEventListener("focus", a); 7453 eyeAble_shadowRoot.getElementById("BigCursorDivID").addEventListener("focus", 7454 function () { 7455 eyeAble_shadowRoot.querySelector("#eyeAble_SettingsPageID").scrollTop = 0 7456 }); 7457 eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").addEventListener("focus", function () { 7458 eyeAble_shadowRoot.querySelector("#eyeAble_SettingsPageID").scrollTop = eyeAble_shadowRoot.querySelector("#eyeAble_SettingsPageID").scrollHeight 7459 }); 7460 var c = eyeAble_shadowRoot.getElementById("eyeAble_tgbox1"), 7461 d = eyeAble_shadowRoot.getElementById("eyeAble_tgbox2"); 7462 c.addEventListener("change", function () { 7463 return c.classList.toggle("eyeAble_sSwitchColor") 7464 }); 7465 d.addEventListener("change", function () { 7466 return d.classList.toggle("eyeAble_sSwitchColor") 7467 }); 7468 eyeAble_shadowRoot.getElementById("settingsTopbarInID").addEventListener("click", eyeAble_toggleMoreFunctionsPage); 7469 eyeAble_changeSelectedValue("locations", eyeAbleVariables.BluefilterLocation); 7470 eyeAble_shadowRoot.getElementById("locations").addEventListener("change", eyeAble_setBluefilterSUN); 7471 eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").addEventListener("change", eyeAble_toggleBluefilterMANTimeSelect); 7472 eyeAble_shadowRoot.getElementById("eyeAble_tgButton2").addEventListener("change", eyeAble_toggleBluefilterSUNTimeSelect); 7473 eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").addEventListener("change", eyeAble_bluefilterStartListener); 7474 eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").addEventListener("change", eyeAble_bluefilterEndListener); 7475 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-location").addEventListener("click", function () { 7476 eyeAble_debugLog(eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-location").querySelector(".eyeAble_zoombox").matches(":hover")); 7477 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-location").querySelector(".eyeAble_zoombox").matches(":hover") || eyeAble_shadowRoot.activeElement !== eyeAble_shadowRoot.getElementById("eyeAble_tgButton2") && eyeAble_toggleBluefilterSUNTimeSelect() 7478 }); 7479 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-location").addEventListener("keydown", function (h) { 7480 "Enter" === h.code && eyeAble_toggleBluefilterSUNTimeSelect() 7481 }); 7482 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-time").addEventListener("click", 7483 function () { 7484 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-time").querySelector(".eyeAble_zoombox").matches(":hover") || eyeAble_shadowRoot.activeElement !== eyeAble_shadowRoot.getElementById("eyeAble_tgButton1") && "label" !== eyeAble_shadowRoot.activeElement.tagName.toLowerCase() && eyeAble_toggleBluefilterMANTimeSelect() 7485 }); 7486 eyeAble_shadowRoot.querySelector(".eyeAble_settings-block-time").addEventListener("keydown", function (h) { 7487 "Enter" === h.code && eyeAble_toggleBluefilterMANTimeSelect() 7488 }); 7489 eyeAble_shadowRoot.getElementById("BluefilterMoreID").addEventListener("click", 7490 eyeAble_toggleBluefilter); 7491 eyeAble_shadowRoot.getElementById("NightmodeMoreID").addEventListener("click", eyeAble_toggleDarkmode); 7492 eyeAble_shadowRoot.getElementById("ColorCorrMoreID").addEventListener("click", eyeAble_toggleCCpage); 7493 eyeAble_shadowRoot.getElementById("TabNavMoreID").addEventListener("click", function () { 7494 eyeAbleWebsiteNav.toggleNavOnly() 7495 }); 7496 eyeAble_shadowRoot.getElementById("BigCursorDivID").addEventListener("click", eyeAble_toggleBigCursor); 7497 eyeAble_shadowRoot.getElementById("AnimationsDivID").addEventListener("click", 7498 eyeAble_toggleAnimations); 7499 eyeAble_shadowRoot.getElementById("HideImagesDivID").addEventListener("click", eyeAble_toggleHideImagesAndVideos); 7500 eyeAble_shadowRoot.getElementById("fontID").addEventListener("click", eyeAble_toggleFontFamily); 7501 eyeAble_shadowRoot.getElementById("MutedDivID").addEventListener("click", eyeAble_toggleMuteAudio);
7502 eyeAble_allUnfocusOnMouseLeave(eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID")); 7503 eyeAble_session_parameters.isMobile || (eyeAble_shadowRoot.getElementById("BluefilterMoreID").addEventListener("mouseenter", 7504 eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("NightmodeMoreID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("ColorCorrMoreID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("TabNavMoreID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("HideImagesDivID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("BigCursorDivID").addEventListener("mouseenter", 7505 eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("fontID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("AnimationsDivID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("MutedDivID").addEventListener("mouseenter", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("BluefilterMoreID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("NightmodeMoreID").addEventListener("focus", 7506 eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("ColorCorrMoreID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("TabNavMoreID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("HideImagesDivID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("BigCursorDivID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("fontID").addEventListener("focus", eyeAble_createTooltip), 7507 eyeAble_shadowRoot.getElementById("AnimationsDivID").addEventListener("focus", eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("MutedDivID").addEventListener("focus", eyeAble_createTooltip)); 7508 "MAN" === eyeAbleVariables.BluefilterAuto ? eyeAble_shadowRoot.getElementById("eyeA-settingsMANtextId").classList.add("eyeAbleActive") : "SUN" === eyeAbleVariables.BluefilterAuto && eyeAble_shadowRoot.getElementById("eyeA-settingsSUNtextId").classList.add("eyeAbleActive"); 7509 "1" === eyeAbleVariables.BigCursor && eyeAble_shadowRoot.getElementById("BigCursorDivID").classList.add("eyeAbleActive"); 7510 "0" === eyeAbleVariables.Animations && eyeAble_shadowRoot.getElementById("AnimationsDivID").classList.add("eyeAbleActive"); 7511 "1" === eyeAbleVariables.HideImages && eyeAble_shadowRoot.getElementById("HideImagesDivID").classList.add("eyeAbleActive"); 7512 "0" !== eyeAbleVariables.eyeAble_Font_Family && eyeAble_shadowRoot.getElementById("fontID").classList.add("eyeAbleActive"); 7513 "1" === eyeAbleVariables.Muted && eyeAble_shadowRoot.getElementById("MutedDivID").classList.add("eyeAbleActive"); 7514 "1" === eyeAbleVariables.bluefilterSet && 7515 (eyeAble_shadowRoot.getElementById("BluefilterMoreImgID").src = eyeAble_imagePaths.bluefilterOffPath, eyeAble_shadowRoot.getElementById("BluefilterMoreTxtID").innerHTML = eyeAble_getMessage("disableBf"), eyeAble_shadowRoot.getElementById("BluefilterMoreID").classList.add("eyeAbleActive")); 7516 "Darkmode" === eyeAbleVariables.Color_Mode && (eyeAble_shadowRoot.getElementById("NightmodeMoreID").classList.add("eyeAbleActive"), eyeAble_shadowRoot.getElementById("NightmodeMoreImgID").src = eyeAble_imagePaths.blackWhiteOffPath, 7517 eyeAble_shadowRoot.getElementById("NightmodeMoreTxtID").innerHTML = eyeAble_getMessage("dayText")); 7518 "Deaktiviert" !== eyeAbleVariables.eyeAble_Color_Filter && eyeAble_shadowRoot.getElementById("ColorCorrMoreID").classList.add("eyeAbleActive"); 7519 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customFunctionPosition) { 7520 b = $jscomp.makeIterator(Object.entries(eyeAble_pluginLocalConfig.customFunctionPosition)); 7521 for (var e = b.next(); !e.done; e = b.next()) { 7522 var f = $jscomp.makeIterator(e.value); 7523 e = f.next().value; 7524 f = f.next().value; 7525 switch (e) { 7526 case "Bluefilter": 7527 "More" === f && (eyeAble_shadowRoot.getElementById("BluefilterMoreID").style.display = "block"); 7528 break; 7529 case "Darkmode": 7530 "More" === f && (eyeAble_shadowRoot.getElementById("NightmodeMoreID").style.display = "block"); 7531 break; 7532 case "TabNavi": 7533 "More" === f && (eyeAble_shadowRoot.getElementById("TabNavMoreID").style.display = "block"); 7534 break; 7535 case "ColorCorrection": 7536 "More" === f && (eyeAble_shadowRoot.getElementById("ColorCorrMoreID").style.display = "block"); 7537 break; 7538 case "HideImages": 7539 "More" === f && (eyeAble_shadowRoot.getElementById("HideImagesDivID").style.display = 7540 "block"); 7541 break; 7542 case "LargeCursor": 7543 "Main" === f && (eyeAble_shadowRoot.getElementById("BigCursorDivID").style.display = "none"); 7544 break; 7545 case "StopAnimation": 7546 "Main" === f && (eyeAble_shadowRoot.getElementById("AnimationsDivID").style.display = "none") 7547 } 7548 } 7549 } 7550 "MAN" === eyeAbleVariables.BluefilterAuto ? (eyeAble_shadowRoot.getElementById("eyeAble_sBlock1").classList.remove("eyeAble_collapsed"), c.classList.add("eyeAble_sSwitchColor"), eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").checked = !0, "0" !== eyeAbleVariables.BluefilterTimes ? 7551 (b = eyeAbleVariables.BluefilterTimes.split(","), e = b[0], f = b[1], eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").value = e.charAt(0) + e.charAt(1) + ":" + e.charAt(2) + e.charAt(3), eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").value = f.charAt(0) + f.charAt(1) + ":" + f.charAt(2) + f.charAt(3), 2 < b.length ? (eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeTo") + f.charAt(0) + f.charAt(1) + ":" + f.charAt(2) + f.charAt(3), eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = 7552 "var(--main-text-color)") : (eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)", eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeFrom") + e.charAt(0) + e.charAt(1) + ":" + e.charAt(2) + e.charAt(3))) : (eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").value = "20:00", eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").value = "06:00", eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)")) : 7553 "SUN" === eyeAbleVariables.BluefilterAuto && (eyeAble_shadowRoot.getElementById("eyeAble_sBlock2").classList.remove("eyeAble_collapsed"), eyeAble_shadowRoot.getElementById("eyeAble_tgButton2").checked = !0, "0" !== eyeAbleVariables.BluefilterSunTimes && (2 < eyeAbleVariables.BluefilterSunTimes.split(",").length ? (eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").innerText = eyeAble_getMessage("funcOffSunset"), eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").style.color = "var(--main-text-color)") : 7554 eyeAble_setBluefilterSUN()), d.classList.add("eyeAble_sSwitchColor")) 7555} 7556 7557function eyeAble_toggleMoreFunctionsPage() { 7558 if (eyeAble_session_parameters.isMobile || !eyeAble_moreFunctionsButtonEnabled && !eyeAble_settingsTopIconEnabled) return !1; 7559 eyeAble_closeAllOtherPages("eyeAble_SettingsPageID"); 7560 eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID") ? "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID")).display ? (eyeAble_closeMoreFunctionsPage(), eyeAble_showFeedbackNotification(eyeAble_getMessage("funcClosed"), "ALT + 4")) : (eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID").style.setProperty("display", 7561 "block"), eyeAble_showClickableElements("eyeAble_SettingsPageID"), eyeAble_shadowRoot.getElementById("eyeAble_tgbox2").classList.contains("eyeAble_sSwitchColor") || eyeAble_hideClickableElements("eyeAble_sBlock2"), eyeAble_shadowRoot.getElementById("eyeAble_tgbox1").classList.contains("eyeAble_sSwitchColor") || eyeAble_hideClickableElements("eyeAble_sBlock1"), eyeAble_shadowRoot.getElementById("settingsTopbarInID").focus(), fastdomEA.mutate(function () { 7562 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.add("eyeAbleActive"); 7563 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").setAttribute("aria-pressed", "true") 7564 }), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("funcOpened"), "ALT + 4")) : (eyeAble_createMoreFunctionsPage(), setTimeout(function () { 7565 eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID").style.setProperty("display", "block"); 7566 eyeAble_shadowRoot.getElementById("settingsTopbarInID").focus() 7567 }, 200), fastdomEA.mutate(function () { 7568 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.add("eyeAbleActive"); 7569 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").setAttribute("aria-pressed", "true") 7570 }), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("funcOpened"), "ALT + 4")) 7571} 7572 7573function eyeAble_closeMoreFunctionsPage() { 7574 eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID") && (eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID").style.setProperty("display", "none"), eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(), eyeAble_shadowRoot.getElementById("moreFunctionsContainerID") && eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.contains("eyeAbleActive") && 7575 (eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").setAttribute("aria-pressed", "false")), eyeAble_hideClickableElements("eyeAble_SettingsPageID")) 7576} 7577 7578var eyeAble_clickDeadtime = !1; 7579 7580function eyeAble_toggleBluefilterSUNTimeSelect() { 7581 if (!eyeAble_bluefilterAutoEnabled) return !1; 7582 eyeAble_clickDeadtime || (eyeAble_clickDeadtime = !0, setTimeout(function () { 7583 eyeAble_clickDeadtime = !1 7584 }, 400), "SUN" !== eyeAbleVariables.BluefilterAuto ? eyeAble_setBluefilterSUN() : (eyeAble_hideClickableElements("eyeAble_sBlock2"), -1 !== eyeAble_bluefilterTimeCheck && (clearInterval(eyeAble_bluefilterTimeCheck), eyeAble_bluefilterTimeCheck = -1), eyeAble_setVar("BluefilterAuto", "0"), eyeAble_resetBluefilter(), fastdomEA.mutate(function () { 7585 eyeAble_shadowRoot.getElementById("eyeAble_sBlock2").classList.add("eyeAble_collapsed"); 7586 eyeAble_shadowRoot.getElementById("eyeA-settingsSUNtextId").classList.remove("eyeAbleActive"); 7587 eyeAble_shadowRoot.getElementById("eyeAble_tgbox2").classList.remove("eyeAble_sSwitchColor"); 7588 eyeAble_shadowRoot.getElementById("eyeAble_tgButton2").checked = !1 7589 }))) 7590} 7591 7592function eyeAble_setBluefilterSUN() { 7593 function a(e, f) { 7594 for (e = e.toString(); e.length < f;) e = "0" + e; 7595 return e 7596 } 7597 7598 eyeAble_showClickableElements("eyeAble_sBlock2"); 7599 var b = 49.7685, c = 9.9382;
7600 switch (eyeAble_shadowRoot.getElementById("locations").value) { 7601 case "W\u00fcrzburg": 7602 b = 49.7685; 7603 c = 9.9382; 7604 break; 7605 case "Berlin": 7606 b = 52.5164; 7607 c = 13.3757; 7608 break; 7609 case "M\u00fcnchen": 7610 b = 48.1372; 7611 c = 11.5757; 7612 break; 7613 case "Rom": 7614 b = 41.8999; 7615 c = 12.4891; 7616 break; 7617 case "Stockholm": 7618 b = 59.331; 7619 c = 18.1666; 7620 break; 7621 case "New York": 7622 b = 40.7242; 7623 c = -73.9795; 7624 break; 7625 case "Tokyo": 7626 b = 7627 35.6782, c = 139.7592 7628 } 7629 eyeAble_setVar("BluefilterLocation", eyeAble_shadowRoot.getElementById("locations").value); 7630 var d = SunCalc.getTimes(new Date, b, c); 7631 b = a(d.sunrise.getHours(), 2) + "" + a(d.sunrise.getMinutes(), 2); 7632 c = a(d.sunset.getHours(), 2) + "" + a(d.sunset.getMinutes(), 2); 7633 eyeAble_setVar("BluefilterSunTimes", c + "," + b); 7634 eyeAble_setVar("BluefilterAuto", "SUN"); 7635 window.setTimeout(function () { 7636 -1 === eyeAble_bluefilterTimeCheck && (eyeAble_bluefilterTimeCheck = window.setInterval(eyeAble_BluefilterCheckTime, eyeAble_settings.BluefilterTimeInterval)) 7637 }, 7638 2E3); 7639 fastdomEA.mutate(function () { 7640 eyeAble_shadowRoot.getElementById("eyeAble_sBlock2").classList.remove("eyeAble_collapsed"); 7641 eyeAble_shadowRoot.getElementById("eyeA-settingsSUNtextId").classList.add("eyeAbleActive"); 7642 eyeAble_shadowRoot.getElementById("eyeAble_tgbox2").classList.add("eyeAble_sSwitchColor"); 7643 eyeAble_shadowRoot.getElementById("eyeAble_tgButton2").checked = !0; 7644 eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").style.color = "var(--main-text-color)"; 7645 eyeAble_shadowRoot.getElementById("eyeAble_SUNtimeStatusID").innerText = 7646 eyeAble_getMessage("funcTimeFrom") + a(d.sunset.getHours(), 2) + ":" + a(d.sunset.getMinutes(), 2) + " - " + a(d.sunrise.getHours(), 2) + ":" + a(d.sunrise.getMinutes(), 2); 7647 eyeAble_shadowRoot.getElementById("eyeAble_tgbox1").classList.contains("eyeAble_sSwitchColor") && (eyeAble_shadowRoot.getElementById("eyeA-settingsMANtextId").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("eyeAble_sBlock1").classList.add("eyeAble_collapsed"), eyeAble_shadowRoot.getElementById("eyeAble_tgbox1").classList.remove("eyeAble_sSwitchColor"), 7648 eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").checked = !1) 7649 }) 7650} 7651 7652function eyeAble_toggleBluefilterMANTimeSelect() { 7653 if (!eyeAble_bluefilterAutoEnabled) return !1; 7654 if (!eyeAble_clickDeadtime) if (eyeAble_clickDeadtime = !0, setTimeout(function () { 7655 eyeAble_clickDeadtime = !1 7656 }, 400), "MAN" !== eyeAbleVariables.BluefilterAuto) { 7657 eyeAble_showClickableElements("eyeAble_sBlock1"); 7658 var a = eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").value.replace(":", ""), 7659 b = eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").value.replace(":", ""); 7660 eyeAble_setVar("BluefilterTimes", a + "," + b); 7661 eyeAble_setVar("BluefilterAuto", 7662 "MAN"); 7663 window.setTimeout(function () { 7664 -1 === eyeAble_bluefilterTimeCheck && (eyeAble_bluefilterTimeCheck = window.setInterval(eyeAble_BluefilterCheckTime, eyeAble_settings.BluefilterTimeInterval)) 7665 }, 5E3); 7666 fastdomEA.mutate(function () { 7667 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)"; 7668 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeFrom") + a.charAt(0) + a.charAt(1) + ":" + a.charAt(2) + a.charAt(3); 7669 eyeAble_shadowRoot.getElementById("eyeAble_tgbox1").classList.add("eyeAble_sSwitchColor"); 7670 eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").checked = !0; 7671 eyeAble_shadowRoot.getElementById("eyeAble_sBlock1").classList.remove("eyeAble_collapsed"); 7672 eyeAble_shadowRoot.getElementById("eyeA-settingsMANtextId").classList.add("eyeAbleActive"); 7673 eyeAble_shadowRoot.getElementById("eyeAble_tgbox2").classList.contains("eyeAble_sSwitchColor") && (eyeAble_shadowRoot.getElementById("eyeA-settingsSUNtextId").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("eyeAble_sBlock2").classList.add("eyeAble_collapsed"), 7674 eyeAble_shadowRoot.getElementById("eyeAble_tgbox2").classList.remove("eyeAble_sSwitchColor"), eyeAble_shadowRoot.getElementById("eyeAble_tgButton2").checked = !1); 7675 setTimeout(function () { 7676 eyeAble_shadowRoot.querySelector("#eyeAble_SettingsPageID").scrollTop = eyeAble_shadowRoot.querySelector("#eyeAble_SettingsPageID").scrollHeight 7677 }, 500) 7678 }) 7679 } else eyeAble_hideClickableElements("eyeAble_sBlock1"), -1 !== eyeAble_bluefilterTimeCheck && (clearInterval(eyeAble_bluefilterTimeCheck), eyeAble_bluefilterTimeCheck = -1), eyeAble_setVar("BluefilterAuto", 7680 "0"), eyeAble_resetBluefilter(), fastdomEA.mutate(function () { 7681 eyeAble_shadowRoot.getElementById("eyeAble_sBlock1").classList.add("eyeAble_collapsed"); 7682 eyeAble_shadowRoot.getElementById("eyeA-settingsMANtextId").classList.remove("eyeAbleActive"); 7683 eyeAble_shadowRoot.getElementById("eyeAble_tgbox1").classList.remove("eyeAble_sSwitchColor"); 7684 eyeAble_shadowRoot.getElementById("eyeAble_tgButton1").checked = !1 7685 }) 7686} 7687 7688function eyeAble_bluefilterStartListener() { 7689 var a = eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").value.replace(":", ""), 7690 b = eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").value.replace(":", ""); 7691 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)"; 7692 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeFrom") + a.
7692charAt(0) + a.charAt(1) + ":" + a.charAt(2) + a.charAt(3); 7693 eyeAble_setVar("BluefilterTimes", a + "," + b); 7694 -1 === eyeAble_bluefilterTimeCheck && (eyeAble_bluefilterTimeCheck = window.setInterval(eyeAble_BluefilterCheckTime, eyeAble_settings.BluefilterTimeInterval)) 7695} 7696 7697function eyeAble_bluefilterEndListener() { 7698 var a = eyeAble_shadowRoot.getElementById("eyeAble_BlueStart").value.replace(":", ""), 7699 b = eyeAble_shadowRoot.getElementById("eyeAble_BlueEnd").value.replace(":", ""); 7700 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").style.color = "var(--main-text-color)"; 7701 eyeAble_shadowRoot.getElementById("eyeAble_MANtimeStatusID").innerText = eyeAble_getMessage("funcTimeFrom") + a.charAt(0) + a.charAt(1) + ":" + a.charAt(2) + a.charAt(3); 7702 eyeAble_setVar("BluefilterTimes", a + "," + b); 7703 -1 === 7704 eyeAble_bluefilterTimeCheck && (eyeAble_bluefilterTimeCheck = window.setInterval(eyeAble_BluefilterCheckTime, eyeAble_settings.BluefilterTimeInterval)) 7705} 7706 7707function eyeAble_toggleBigCursor() { 7708 if (!eyeAble_bigCursorEnabled) return !1; 7709 "0" === eyeAbleVariables.BigCursor ? eyeAble_enableBigCursor() : eyeAble_disableBigCursor() 7710} 7711 7712var eyeAble_bigCursorStyle, eyeAble_bigCursorStyleShadow; 7713 7714function eyeAble_enableBigCursor() { 7715 for (var a = document.body.querySelectorAll("*"), b = {$jscomp$loop$prop$i$295: 0}; b.$jscomp$loop$prop$i$295 < a.length; b = {$jscomp$loop$prop$i$295: b.$jscomp$loop$prop$i$295}, b.$jscomp$loop$prop$i$295++) fastdomEA.measure(function (c) { 7716 return function () { 7717 if (a[c.$jscomp$loop$prop$i$295]) { 7718 var d = getComputedStyle(a[c.$jscomp$loop$prop$i$295]); 7719 d && "pointer" === d.cursor ? fastdomEA.mutate(function () { 7720 a[c.$jscomp$loop$prop$i$295].classList.add("eABigPointer") 7721 }) : d && "text" === d.cursor && a[c.$jscomp$loop$prop$i$295].classList.add("eABigTextPointer") 7722 } 7723 } 7724 }(b)); 7725 eyeAble_bigCursorStyle || (eyeAble_bigCursorStyle = function () { 7726 var c = document.createElement("style"); 7727 c.appendChild(document.createTextNode("")); 7728 document.head.appendChild(c); 7729 return c.sheet 7730 }()); 7731 eyeAble_bigCursorStyle.disabled = !1; 7732 eyeAble_addCSSRule(eyeAble_bigCursorStyle, "body", "cursor: url(" + eyeAble_imagePaths.bigMousePath + "),auto !important;"); 7733 eyeAble_addCSSRule(eyeAble_bigCursorStyle, "a, button, input[type=submit], input[type=reset], .eABigPointer, .pcr-app .pcr-interaction input", "cursor: url(" + eyeAble_imagePaths.pointerPath + 7734 ") 18 0,auto !important;"); 7735 eyeAble_addCSSRule(eyeAble_bigCursorStyle, ".eABigTextPointer", "cursor: url(" + eyeAble_imagePaths.textPointerPath + ") 9 25,auto !important;"); 7736 eyeAble_bigCursorStyleShadow || (eyeAble_bigCursorStyleShadow = function () { 7737 var c = document.createElement("style"); 7738 c.appendChild(document.createTextNode("")); 7739 eyeAble_shadowRoot.appendChild(c); 7740 return c.sheet 7741 }()); 7742 eyeAble_bigCursorStyleShadow.disabled = !1; 7743 eyeAble_addCSSRule(eyeAble_bigCursorStyleShadow, ".eyeAble_container_b,.eyeAble_zoombox", "cursor: url(" + 7744 eyeAble_imagePaths.bigMousePath + "),auto !important;"); 7745 eyeAble_addCSSRule(eyeAble_bigCursorStyleShadow, 'a, button,input, input[type=submit], input[type=reset],.eyeAbletooltip,.eyeAble_settings-block-cta, .eyeAble_smallIconClass,.eyeAble_smallIconHeader,.eyeAble_mainIconClass,.eyeAble-saveIcon,.eyeable_colorpickertool,.eyeAble_settings-block,.eyeAble_accessible-linkboxicon,.eyeAble_cmn-singlebutton,.eyeAble_sr-heading>img,.eyeAble_sr-reading, .eyeAble_tgbox,.eyeAble_tgbox > *,[role="button"],.eyeAble_settings-block-header,.eyeAble_settings-block-header>*, .eyeAble_setting-info-icon,.eyeAble_window-headericon>img,.eyeAble_setting-toggole-button,.eyeAble_setting-toggole-button > label ,.eyeAble_setting-toggole-button > label > input,.eyeAble_cc-item-text,.eyeAble_navigation-cancel,.eyeAble_info-area-item,.eyeAble_wohnort,select', 7746 "cursor: url(" + eyeAble_imagePaths.pointerPath + ") 18 0,auto !important;"); 7747 eyeAble_shadowRoot.getElementById("BigCursorDivID") && eyeAble_shadowRoot.getElementById("BigCursorDivID").classList.add("eyeAbleActive"); 7748 eyeAble_shadowRoot.getElementById("bigCursorToolbarID").classList.add("eyeAbleActive"); 7749 eyeAble_setVar("BigCursor", "1"); 7750 eyeAble_dispatchEvent("Big_Cursor_Enabled"); 7751 eyeAble_shadowRoot.getElementById("BigCursorDivID") && eyeAble_shadowRoot.getElementById("BigCursorDivID").setAttribute("aria-pressed", 7752 "true"); 7753 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipCursorActive"), "ALT + Y") 7754} 7755
7756function eyeAble_disableBigCursor() { 7757 eyeAble_bigCursorStyle && 0 !== eyeAble_bigCursorStyle.rules.length && (eyeAble_bigCursorStyle.disabled = !0); 7758 eyeAble_bigCursorStyleShadow && 0 !== eyeAble_bigCursorStyleShadow.rules.length && (eyeAble_bigCursorStyleShadow.disabled = !0); 7759 eyeAble_shadowRoot.getElementById("BigCursorDivID") && eyeAble_shadowRoot.getElementById("BigCursorDivID").classList.contains("eyeAbleActive") && eyeAble_shadowRoot.getElementById("BigCursorDivID").classList.remove("eyeAbleActive"); 7760 eyeAble_shadowRoot.getElementById("bigCursorToolbarID").classList.remove("eyeAbleActive"); 7761 eyeAble_setVar("BigCursor", "0"); 7762 eyeAble_setActiveCheckVis(); 7763 eyeAble_shadowRoot.getElementById("BigCursorDivID") && eyeAble_shadowRoot.getElementById("BigCursorDivID").setAttribute("aria-pressed", "false"); 7764 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipCursorReset"), "ALT + Y") 7765} 7766 7767var eyeAble_animationsStyle, eyeAble_animationsShadowStyle; 7768 7769function eyeAble_toggleAnimations() { 7770 if (!eyeAble_blockAnimationsEnabled) return !1; 7771 "1" === eyeAble_getVar("Animations") ? eyeAble_disableAnimations() : eyeAble_enableAnimations() 7772} 7773 7774function eyeAble_enableAnimations() { 7775 eyeAble_animationsStyle && 0 !== eyeAble_animationsStyle.rules.length && eyeAble_animationsStyle.deleteRule(0); 7776 eyeAble_animationsShadowStyle && 0 !== eyeAble_animationsShadowStyle.rules.length && eyeAble_animationsShadowStyle.deleteRule(0); 7777 for (var a = document.getElementsByTagName("IMG"), b = 0; b < a.length; b++) a[b].src.includes(".gif") && a[b].classList.remove("eyeAble_freeze"); 7778 eyeAble_shadowRoot.getElementById("AnimationsDivID") && eyeAble_shadowRoot.getElementById("AnimationsDivID").classList.contains("eyeAbleActive") && 7779 (eyeAble_shadowRoot.getElementById("AnimationsDivID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("AnimationsDivID").setAttribute("aria-pressed", "false")); 7780 eyeAble_shadowRoot.getElementById("noAnimationToolbarID").classList.remove("eyeAbleActive"); 7781 eyeAble_shadowRoot.getElementById("noAnimationToolbarID").setAttribute("aria-pressed", "false"); 7782 eyeAble_setVar("Animations", "1"); 7783 eyeAble_setActiveCheckVis(); 7784 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipAnimationReset"), "ALT + K") 7785} 7786 7787function eyeAble_disableAnimations() { 7788 eyeAble_animationsStyle || (eyeAble_animationsStyle = function () { 7789 var c = document.createElement("style"); 7790 c.appendChild(document.createTextNode("")); 7791 document.head.appendChild(c); 7792 return c.sheet 7793 }()); 7794 eyeAble_animationsShadowStyle || (eyeAble_animationsShadowStyle = function () { 7795 var c = document.createElement("style"); 7796 c.appendChild(document.createTextNode("")); 7797 eyeAble_shadowRoot.appendChild(c); 7798 return c.sheet 7799 }()); 7800 eyeAble_addCSSRule(eyeAble_animationsStyle, "*:not(.eyeAble_freeze):not(.ff-container):not(.ff-loading-icon):not(ff-overlay):not(.ff-canvas)", 7801 "-o-transition-property: none !important;-moz-transition-property: none !important;-ms-transition-property: none !important;-webkit-transition-property: none !important;transition-property: none !important;-webkit-transition: none !important;-moz-transition: none !important;-ms-transition: none !important;-o-transition: none !important;transition: none !important;-webkit-animation: none !important;-moz-animation: none !important;-o-animation: none !important;-ms-animation: none !important;animation: none !important;-moz-animation-fill-mode: forwards !important;-ms-animation-fill-mode: forwards !important;-o-animation-fill-mode: forwards !important;animation-fill-mode: forwards !important;-moz-animation-iteration-count: 1 !important;-ms-animation-iteration-count: 1 !important;-o-animation-iteration-count: 1 !important;animation-iteration-count: 1 !important;animation-play-state: paused !important;-webkit-animation-duration: .01s !important;-moz-animation-duration: .01s !important;-ms-animation-duration: .01s !important;-o-animation-duration: .01s !important;animation-duration: .01s !important;"); 7802 eyeAble_addCSSRule(eyeAble_animationsShadowStyle, "*:not(.eyeAble_freeze):not(.ff-container):not(.ff-loading-icon):not(ff-overlay):not(.ff-canvas)", "-o-transition-property: none !important;-moz-transition-property: none !important;-ms-transition-property: none !important;-webkit-transition-property: none !important;transition-property: none !important;-webkit-transition: none !important;-moz-transition: none !important;-ms-transition: none !important;-o-transition: none !important;transition: none !important;-webkit-animation: none !important;-moz-animation: none !important;-o-animation: none !important;-ms-animation: none !important;animation: none !important;-moz-animation-fill-mode: forwards !important;-ms-animation-fill-mode: forwards !important;-o-animation-fill-mode: forwards !important;animation-fill-mode: forwards !important;-moz-animation-iteration-count: 1 !important;-ms-animation-iteration-count: 1 !important;-o-animation-iteration-count: 1 !important;animation-iteration-count: 1 !important;animation-play-state: paused !important;-webkit-animation-duration: .01s !important;-moz-animation-duration: .01s !important;-ms-animation-duration: .01s !important;-o-animation-duration: .01s !important;animation-duration: .01s !important;"); 7803 eyeAble_disableVideoAutoplay(); 7804 for (var a = document.getElementsByTagName("IMG"), b = 0; b < a.length; b++) a[b].src.includes(".gif") && !a[b].src.includes("placeholder.gif") && a[b].classList.add("eyeAble_freeze"); 7805 new Freezeframe({selector: ".eyeAble_freeze", trigger: "hover", overlay: !0, responsive: !1, warnings: !0}); 7806 for (b = 0; b < a.length; b++) a[b].classList.contains("eyeAble_freeze") && a[b].classList.remove("eyeAble_freeze"); 7807 eyeAble_shadowRoot.getElementById("AnimationsDivID") && (eyeAble_shadowRoot.getElementById("AnimationsDivID").classList.add("eyeAbleActive"), 7808 eyeAble_shadowRoot.getElementById("AnimationsDivID").setAttribute("aria-pressed", "true")); 7809 eyeAble_shadowRoot.getElementById("noAnimationToolbarID").classList.add("eyeAbleActive"); 7810 eyeAble_shadowRoot.getElementById("noAnimationToolbarID").setAttribute("aria-pressed", "true"); 7811 eyeAble_setVar("Animations", "0"); 7812 eyeAble_dispatchEvent("Animations_Disabled"); 7813 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipAnimationActive"), "ALT + K") 7814} 7815 7816function eyeAble_disableVideoAutoplay() { 7817 for (var a = document.getElementsByTagName("VIDEO"), b = 0; b < a.length; b++) a[b].removeAttribute("autoplay") 7818} 7819 7820function eyeAble_toggleHideImagesAndVideos() { 7821 if (!eyeAble_hideImagesAutoEnabled) return !1; 7822 0 < document.getElementsByClassName("eyeAble_hide").length || "1" === eyeAble_getVar("HideImages") ? (eyeAble_resetHideImagesAndVideos(), eyeAble_showFeedbackNotification(eyeAble_getMessage("funcImgDis"), "ALT + V")) : (eyeAble_hideImagesAndVideos(), eyeAble_showFeedbackNotification(eyeAble_getMessage("funcImgEna"), "ALT + V")) 7823} 7824 7825var eyeAble_showHiddenAltTexts = !0; 7826 7827function eyeAble_showImageAltText(a) { 7828 if (eyeAble_showHiddenAltTexts) { 7829 var b = eyeAble_getTextFromElement(a); 7830 if (b && !a.classList.contains("eyeAbleContrastSkip") && !a.classList.contains("eyeAbleHideSkip")) { 7831 var c = document.createElement("div"); 7832 c.style.position = "relative"; 7833 fastdomEA.measure(function () { 7834 var d = a.getBoundingClientRect(), e = d.height.toFixed(5) + "px"; 7835 150 < d.height && 150 > b.length && (e = (d.height / 2 + 15).toFixed(0) + "px"); 7836 c.style.top = "-" + e; 7837 c.className = "eA_altText"; 7838 c.title = b; 7839 d = document.createElement("span"); 7840 d.style = 7841 "position: absolute; left: 10px; top: 0%; max-width: 100%; max-height: " + e + "; overflow: hidden;font-size: 15px; line-height: 1.5;"; 7842 d.textContent = b; 7843 "Darkmode" === eyeAble_getVar("Color_Mode") ? (d.style.color = "white", d.style.background = "black") : "Contrast" === eyeAble_getVar("Color_Mode") ? (d.style.color = eyeAble_getVar("iAble_Text_Color"), d.style.background = eyeAble_getVar("iAble_Backgroun
7843d_Color")) : (d.style.color = "black", d.style.background = "white"); 7844 a.nextSibling ? a.parentNode.insertBefore(c, a.nextSibling) : 7845 a.parentNode.appendChild(c); 7846 c.appendChild(d) 7847 }) 7848 } 7849 } 7850} 7851 7852function eyeAble_hideImagesAndVideos() { 7853 "function" === typeof customHideImages && customHideImage(); 7854 eyeAble_setVar("HideImages", "1"); 7855 for (var a = document.getElementsByTagName("VIDEO"), b = {$jscomp$loop$prop$i$297: 0}; b.$jscomp$loop$prop$i$297 < a.length; b = {$jscomp$loop$prop$i$297: b.$jscomp$loop$prop$i$297}, b.$jscomp$loop$prop$i$297++) fastdomEA.mutate(function (h) { 7856 return function () { 7857 a[h.$jscomp$loop$prop$i$297].classList.add("eyeAble_hide") 7858 } 7859 }(b)); 7860 var c = document.getElementsByTagName("IMG"); 7861 for (b = {$jscomp$loop$prop$i$152$299: 0}; b.$jscomp$loop$prop$i$152$299 < 7862 c.length; b = {$jscomp$loop$prop$i$152$299: b.$jscomp$loop$prop$i$152$299}, b.$jscomp$loop$prop$i$152$299++) eyeAble_hasSomeParentTheClass(c[b.$jscomp$loop$prop$i$152$299], "eyeAbleSkip") || fastdomEA.mutate(function (h) { 7863 return function () { 7864 c[h.$jscomp$loop$prop$i$152$299].classList.contains("eyeAbleBigCursor") || (c[h.$jscomp$loop$prop$i$152$299].classList.add("eyeAble_hide"), eyeAble_showImageAltText(c[h.$jscomp$loop$prop$i$152$299])) 7865 } 7866 }(b)); 7867 var d = document.getElementsByTagName("CANVAS"); 7868 for (b = {$jscomp$loop$prop$i$153$301: 0}; b.$jscomp$loop$prop$i$153$301 < 7869 d.length; b = {$jscomp$loop$prop$i$153$301: b.$jscomp$loop$prop$i$153$301}, b.$jscomp$loop$prop$i$153$301++) eyeAble_hasSomeParentTheClass(d[b.$jscomp$loop$prop$i$153$301], "eyeAbleSkip") || fastdomEA.mutate(function (h) { 7870 return function () { 7871 d[h.$jscomp$loop$prop$i$153$301].classList.contains("eyeAbleBigCursor") || d[h.$jscomp$loop$prop$i$153$301].classList.add("eyeAble_hide") 7872 } 7873 }(b)); 7874 var e = document.getElementsByTagName("*"); 7875 for (b = {$jscomp$loop$prop$i$154$303: 0}; b.$jscomp$loop$prop$i$154$303 < e.length; b = {$jscomp$loop$prop$i$154$303: b.$jscomp$loop$prop$i$154$303}, 7876 b.$jscomp$loop$prop$i$154$303++) fastdomEA.measure(function (h) { 7877 return function () { 7878 if ("none" === getComputedStyle(e[h.$jscomp$loop$prop$i$154$303]).backgroundImage || getComputedStyle(e[h.$jscomp$loop$prop$i$154$303]).backgroundImage.includes("linear-gradient") || e[h.$jscomp$loop$prop$i$154$303].classList.contains("eA_nB")) if (!e[h.$jscomp$loop$prop$i$154$303].shadowRoot || e[h.$jscomp$loop$prop$i$154$303].classList.contains("eyeAble_container_b") || e[h.$jscomp$loop$prop$i$154$303].classList.contains("eyeAbleSkip")) "IFRAME" === 7879 e[h.$jscomp$loop$prop$i$154$303].tagName && function (m) { 7880 try { 7881 var q = [(m.contentDocument || m.contentWindow.document).body]; 7882 for (m = 0; m < q.length; m++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(q[m]) 7883 } catch (n) { 7884 return !1 7885 } 7886 }(e[h.$jscomp$loop$prop$i$154$303]); else for (var g = e[h.$jscomp$loop$prop$i$154$303].shadowRoot.children, l = 0; l < g.length; l++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(g[l]); else fastdomEA.mutate(function () { 7887 e[h.$jscomp$loop$prop$i$154$303].classList.add("eyeAble_hideBackImg") 7888 }) 7889 } 7890 }(b)); 7891 b = eyeAble_shadowRoot.querySelectorAll("img"); 7892 for (var f = 0; f < b.length; f++) b[f].classList.contains("noHide") || (b[f].classList.contains("visHide") ? b[f].style.setProperty("visibility", "hidden", "important") : b[f].style.setProperty("display", "none", "important"), b[f].classList.add("eyeAble_hide")); 7893 eyeAble_shadowRoot.getElementById("HideImagesDivID") && fastdomEA.mutate(function () { 7894 eyeAble_shadowRoot.getElementById("HideImagesDivID").classList.add("eyeAbleActive"); 7895 eyeAble_shadowRoot.getElementById("HideImagesDivID").setAttribute("aria-pressed", 7896 "true"); 7897 eyeAble_shadowRoot.querySelector('[ealangid="funcImg"]').innerText = eyeAble_getMessage("showImgText") 7898 }); 7899 eyeAble_shadowRoot.getElementById("hideImagesContainerID") && fastdomEA.mutate(function () { 7900 eyeAble_shadowRoot.getElementById("hideImagesContainerID").classList.add("eyeAbleActive"); 7901 eyeAble_shadowRoot.getElementById("hideImagesContainerID").setAttribute("aria-pressed", "true"); 7902 eyeAble_shadowRoot.querySelector('[ealangid="hideImgText"]').innerText = eyeAble_getMessage("showImgText") 7903 }); 7904 eyeAble_dispatchEvent("Hide_Images_Enabled") 7905} 7906 7907function eyeAble_resetHideImagesAndVideos() { 7908 function a(f) { 7909 for (var h = f.querySelectorAll(".eyeAble_hide"), g = 0; g < h.length; g++) h[g].classList.remove("eyeAble_hide"), eyeAble_isInShadow(h[g]) && (h[g].style.removeProperty("visibility"), h[g].style.removeProperty("display")); 7910 h = f.querySelectorAll(".eyeAble_hideBackImg"); 7911 for (g = 0; g < h.length; g++) h[g].classList.remove("eyeAble_hideBackImg"), eyeAble_isInShadow(h[g]) && h[g].style.removeProperty("display"); 7912 f = f.querySelectorAll(".eA_altText"); 7913 for (h = 0; h < f.length; h++) f[h].remove() 7914 } 7915 7916 "function" === typeof resetCustomHideImages && resetCustomHideImage(); 7917 a(document); 7918 for (var b = document.getElementsByTagName("*"), c = 0; c < b.length; c++) if (b[c].shadowRoot) for (var d = b[c].shadowRoot.children, e = 0; e < d.length; e++) a(d[e]); else "IFRAME" === b[c].tagName && function (f) { 7919 try { 7920 var h = [(f.contentDocument || f.contentWindow.document).body]; 7921 for (f = 0; f < h.length; f++) a(h[f]) 7922 } catch (g) { 7923 return !1 7924 } 7925 }(b[c]); 7926 eyeAble_shadowRoot.getElementById("HideImagesDivID") && eyeAble_shadowRoot.getElementById("HideImagesDivID").classList.contains("eyeAbleActive") && 7927 (eyeAble_shadowRoot.getElementById("HideImagesDivID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("HideImagesDivID").setAttribute("aria-pressed", "false"), eyeAble_shadowRoot.querySelector('[ealangid="funcImg"]').innerText = eyeAble_getMessage("hideImgText")); 7928 eyeAble_shadowRoot.getElementById("hideImagesContainerID") && eyeAble_shadowRoot.getElementById("hideImagesContainerID").classList.contains("eyeAbleActive") && (eyeAble_shadowRoot.getElementById("hideImagesContainerID").classList.remove("eyeAbleActive"), 7929 eyeAble_shadowRoot.getElementById("hideImagesContainerID").setAttribute("aria-pressed", "false"), eyeAble_shadowRoot.querySelector('[ealangid="hideImgText"]').innerText = eyeAble_getMessage("hideImgText")); 7930 eyeAble_setVar("HideImages", "0"); 7931 eyeAble_setActiveCheckVis() 7932} 7933 7934function eyeAble_hasSomeParentTheClass(a, b) { 7935 return a && a.className && "function" === typeof a.className.split && 0 <= a.className.split(" ").indexOf(b) ? !0 : a.parentNode && eyeAble_hasSomeParentTheClass(a.parentNode, b) 7936} 7937 7938function eyeAble_hasSomeParentTheAttribute(a, b, c) { 7939 return "function" === typeof a.getAttribute && a.getAttribute(b) && a.getAttribute(b) === c ? !0 : a.parentNode && eyeAble_hasSomeParentTheAttribute(a.parentNode, b, c) 7940} 7941 7942function eyeAble_toggleMuteAudio() { 7943 if (!eyeAble_muteAudioAutoEnabled) return !1; 7944 "0" === eyeAbleVariables.Muted ? eyeAble_muteAudio() : eyeAble_resetMuteAudio() 7945} 7946 7947function eyeAble_muteAudio() { 7948 for (var a = document.getElementsByTagName("VIDEO"), b = 0; b < a.length; b++) a[b].muted = !0; 7949 a = document.getElementsByTagName("AUDIO"); 7950 for (b = 0; b < a.length; b++) a[b].muted = !0; 7951 var c = document.getElementsByTagName("*"); 7952 for (a = {$jscomp$loop$prop$i$163$305: 0}; a.$jscomp$loop$prop$i$163$305 < c.length; a = {$jscomp$loop$prop$i$163$305: a.$jscomp$loop$prop$i$163$305}, a.$jscomp$loop$prop$i$163$305++) fastdomEA.measure(function (d) { 7953 return function () { 7954 if (c[d.$jscomp$loop$prop$i$163$305].shadowRoot) for (var e = 7955 c[d.$jscomp$loop$prop$i$163$305].shadowRoot.children, f = 0; f < e.length; f++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(e[f]); else if ("IFRAME" === c[d.$jscomp$loop$prop$i$163$305].tagName) { 7956 f = c[d.$jscomp$loop$prop$i$163$305]; 7957 try { 7958 for (e = [(f.contentDocument || f.contentWindow.document).body], f = 0; f < e.length; f++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(e[f]) 7959 } catch (h) { 7960 } 7961 } 7962 } 7963 }(a)); 7964 eyeAble_shadowRoot.getElementById("MutedDivID") && eyeAble_shadowRoot.getElementById("MutedDivID").classList.add("eyeAbleActive"); 7965 eyeAble_setVar("Muted", "1"); 7966 eyeAble_dispatchEvent("Mute_Audio_Enabled"); 7967 eyeAble_shadowRoot.getElementById("MutedDivID") && eyeAble_shadowRoot.getElementById("MutedDivID").setAttribute("aria-pressed", "true"); 7968 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipMuteActive"), "ALT + J") 7969} 7970 7971function eyeAble_resetMuteAudio() { 7972 eyeAble_shadowRoot.getElementById("MutedDivID") && eyeAble_shadowRoot.getElementById("MutedDivID").classList.contains("eyeAbleActive") && (eyeAble_shadowRoot.getElementById("MutedDivID").classList.remove("eyeAbleActive"), eyeAble_shadowRoot.getElementById("MutedDivID").setAttribute("aria-pressed", "false")); 7973 eyeAble_setVar("Muted", "0"); 7974 eyeAble_setActiveCheckVis(); 7975 eyeAble_showFeedbackNotification(eyeAble_getMessage("tipMuteReset"), "ALT + J") 7976} 7977 7978function eyeAble_checkAnimationsAudioImagesSettingsPerElement(a) { 7979 if (a && "function" === typeof a.getElementsByTagName) { 7980 var b = a.getElementsByTagName("VIDEO"), c = a.getElementsByTagName("IMG"), 7981 d = a.getElementsByTagName("CANVAS"), e = a.getElementsByTagName("*"); 7982 if ("0" === eyeAbleVariables.Animations) { 7983 for (a = 0; a < b.length; a++) b[a].removeAttribute("autoplay"); 7984 for (var f = a = 0; f < c.length; f++) c[f].classList.contains("eyeAble_freeze") || c[f].classList.contains("ff-image") || !c[f].src.includes(".gif") || c[f].src.includes("placeholder.gif") || 7985 (c[f].classList.add("eyeAble_freeze"), a += 1); 7986 0 < a && new Freezeframe({ 7987 selector: ".eyeAble_freeze", 7988 trigger: "hover", 7989 overlay: !0, 7990 responsive: !1, 7991 warnings: !0 7992 }); 7993 for (a = {$jscomp$loop$prop$i$167$307: 0}; a.$jscomp$loop$prop$i$167$307 < c.length; a = {$jscomp$loop$prop$i$167$307: a.$jscomp$loop$prop$i$167$307}, a.$jscomp$loop$prop$i$167$307++) c[a.$jscomp$loop$prop$i$167$307].classList.contains("eyeAble_freeze") && fastdomEA.mutate(function (h) { 7994 return function () { 7995 c[h.$jscomp$loop$prop$i$167$307].classList.remove("eyeAble_freeze") 7996 } 7997 }(a)) 7998 } 7999 if ("1" === 8000 eyeAbleVariables.HideImages) { 8001 for (a = {$jscomp$loop$prop$i$168$309: 0}; a.$jscomp$loop$prop$i$168$309 < b.length; a = {$jscomp$loop$prop$i$168$309: a.$jscomp$loop$prop$i$168$309}, a.$jscomp$loop$prop$i$168$309++) fastdomEA.mutate(function (h) { 8002 return function () { 8003 b[h.$jscomp$loop$prop$i$168$309].classList.add("eyeAble_hide"); 8004 eyeAble_isInShadow(b[h.$jscomp$loop$prop$i$168$309]) && (b[h.$jscomp$loop$prop$i$168$309].style.display = "none") 8005 } 8006 }(a)); 8007 for (a = {$jscomp$loop$prop$i$169$311: 0}; a.$jscomp$loop$prop$i$169$311 < c.length; a = 8008 {$jscomp$loop$prop$i$169$311: a.$jscomp$loop$prop$i$169$311}, a.$jscomp$loop$prop$i$169$311++) eyeAble_hasSomeParentTheClass(c[a.$jscomp$loop$prop$i$169$311], "eyeAbleSkip") || fastdomEA.mutate(function (h) { 8009 return function () { 8010 c[h.$jscomp$loop$prop$i$169$311].classList.add("eyeAble_hide"); 8011 eyeAble_isInShadow(c[h.$jscomp$loop$prop$i$169$311]) && (c[h.$jscomp$loop$prop$i$169$311].style.display = "none", eyeAble_showImageAltText(c[h.$jscomp$loop$prop$i$169$311])) 8012 } 8013 }(a)); 8014 for (a = {$jscomp$loop$prop$i$170$313: 0}; a.$jscomp$loop$prop$i$170$313 < 8015 d.length; a = {$jscomp$loop$prop$i$170$313: a.$jscomp$loop$prop$i$170$313}, a.$jscomp$loop$prop$i$170$313++) eyeAble_hasSomeParentTheClass(d[a.$jscomp$loop$prop$i$170$313], "eyeAbleSkip") || fastdomEA.mutate(function (h) { 8016 return function () { 8017 d[h.$jscomp$loop$prop$i$170$313].classList.add("eyeAble_hide") 8018 } 8019 }(a)); 8020 for (a = {$jscomp$loop$prop$i$171$315: 0}; a.$jscomp$loop$prop$i$171$315 < e.length; a = {$jscomp$loop$prop$i$171$315: a.$jscomp$loop$prop$i$171$315}, a.$jscomp$loop$prop$i$171$315++) fastdomEA.measure(function (h) { 8021 return function () { 8022 if ("none" !== 8023 getComputedStyle(e[h.$jscomp$loop$prop$i$171$315]).backgroundImage) fastdomEA.mutate(function () { 8024 e[h.$jscomp$loop$prop$i$171$315].classList.add("eyeAble_hideBackImg"); 8025 eyeAble_isInShadow(e[h.$jscomp$loop$prop$i$171$315]) && (e[h.$jscomp$loop$prop$i$171$315].style.display = "none") 8026 }); else if (e[h.$jscomp$loop$prop$i$171$315].shadowRoot) for (var g = e[h.$jscomp$loop$prop$i$171$315].shadowRoot.children, l = 0; l < g.length; l++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(g[l]); else "IFRAME" === e[h.$jscomp$loop$prop$i$171$315].tagName && 8027 function (m) { 8028 try { 8029 var q = [(m.contentDocument || m.contentWindow.document).body]; 8030 for (m = 0; m < q.length; m++) eyeAble_checkAnimationsAudioImagesSettingsPerElement(q[m]) 8031 } catch (n) { 8032 return !1 8033 } 8034 }(e[h.$jscomp$loop$prop$i$171$315]) 8035 } 8036 }(a)) 8037 } 8038 if ("1" === eyeAbleVariables.Muted) for (a = 0; a < b.length; a++) b[a].muted = !0 8039 } 8040}; 8041 8042function eyeAble_createInfoPage() { 8043 function a() { 8044 "tabEndInfo" === this.id ? eyeAble_shadowRoot.getElementById("eyeABle_infoX").focus() : eyeAble_shadowRoot.getElementById("eyeAble_infoManualID").focus() 8045 } 8046 8047 var b = "https://eye-able.com/kontaktieren-sie-uns-eye-able-die-software-fuer-barrierefreiheit", 8048 c = "https://eye-able.com/hilfe-center/"; 8049 if (eyeAble_session_parameters.isExtension && !chrome.i18n.getUILanguage().includes("de") || eyeAble_session_parameters.isPlugin && eyeAble_lang !== eyeAble_de) b = "https://eye-able.com/en/kontaktieren-sie-uns-eye-able-die-software-fuer-barrierefreiheit", 8050 c = "https://eye-able.com/en/hilfe-center/"; 8051 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && eyeAble_pluginLocalConfig.customText.contactLink && (b = eyeAble_pluginLocalConfig.customText.contactLink); 8052 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && eyeAble_pluginLocalConfig.customText.helpLink && (c = eyeAble_pluginLocalConfig.customText.helpLink); 8053 b = ' <section aria-labelledby="infoWindowHeading" class="eyeAble_settings eyeAble_topFixedPosition eyeAble_infoPage eyeAbleSkip" id="eyeAble_infoPageID" tabindex="-1" style="display: none">\n <div aria-hidden="true" id="tabStartInfo" class="eyeAtabClickable" tabindex="0"></div> <div class="eyeAble_info-area-head">\n <div class="eyeAble_info-area-icon">\n <img eyeAbleSkipNav="true" src="' + 8054 eyeAble_imagePaths.mainIconPath + '" alt="" class="eyeAble_infoimg-fluid" style="padding-top: 8px;">\n </div>\n <div class="eyeAble_info-area-heading">\n <h2 id="infoWindowHeading" class="eyeAble_info-text" ealangid="infoHeader">' + eyeAble_getMessage("infoHeader") + '</h2>\n </div>\n <div> <img eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" tabindex="0" id="eyeABle_infoX" src="' + eyeAble_imagePaths.xPath + '" style="margin-left: 7px;float: right;margin-top: 4px;" role="button" alt="' + 8055 eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow"></div> </div>\n <div
8055class="eyeAble_info-area-content">\n <div class="eyeAble_info-item-box">\n <a style="text-decoration: none;" href="' + c + '" target="_blank"> <div class="eyeAble_info-area-item" id="eyeAble_faqID" style="padding-bottom: 5px;width: 89px;">\n <div class="eyeAble_info-icon" style="padding-top: 9px;">\n <img eyeAbleSkipNav="true" src="' + 8056 eyeAble_imagePaths.infoFaqPath + '" alt="" class="eyeAble_infoimg-fluid" style="width: 65px;">\n </div>\n <div class="eyeAble_info-text" style="padding-top: 11px;padding-bottom: 11px;">\n <p class="eyeAble_info-text" style="padding-top: 10px;padding-bottom: 12px;" ealangid="faqText">' + eyeAble_getMessage("faqText") + '</p>\n </div>\n </div></a>\n <a style="text-decoration: none;" href="' + b + '" target="_blank"><div class="eyeAble_info-area-item" id="eyeAble_mailSuppID" style="padding: 3px;">\n <div class="eyeAble_info-icon">\n <img eyeAbleSkipNav="true" src="' + 8057 eyeAble_imagePaths.infoMailPath + '" alt="" class="eyeAble_infoimg-fluid" style="padding-top: 17%;width: 65px;">\n </div>\n <div class="eyeAble_info-text" style="padding-bottom: 2px;">\n <p class="eyeAble_info-text" style="padding-bottom: 12px;padding-top: 13px;" ealangid="infoMail">' + eyeAble_getMessage("infoMail") + '</p>\n </div>\n </div></a>\n </div>\n <div role="button" class="eyeAble_info-area-item eyeAtabClickable" tabindex="0" id="eyeAble_infoManualID" style="padding: 12px;">\n <div class="eyeAble_info-icon" style="margin-left: 10px;">\n <img eyeAbleSkipNav="true" src="' + 8058 eyeAble_imagePaths.infoManualPath + '" alt="" class="eyeAble_infoimg-fluid" style="width: 65px;">\n </div>\n <div class="eyeAble_info-text" style="padding-left: 5px;">\n <p class="eyeAble_info-text" ealangid="infoMan">' + eyeAble_getMessage("infoMan") + '</p>\n </div>\n </div>\n <div aria-hidden="true" id="tabEndInfo" class="eyeAtabClickable" tabindex="0"></div> </div>\n </section>'; 8059 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", 8060 b); 8061 eyeAble_shadowRoot.getElementById("eyeAble_infoManualID").addEventListener("click", eyeAble_toggleShortcutManPage); 8062 eyeAble_shadowRoot.getElementById("eyeABle_infoX").addEventListener("click", eyeAble_closeInfoPage); 8063 eyeAble_shadowRoot.getElementById("tabEndInfo").addEventListener("focus", a); 8064 eyeAble_shadowRoot.getElementById("tabStartInfo").addEventListener("focus", a);
8065 eyeAble_allUnfocusOnMouseLeave(eyeAble_shadowRoot.getElementById("eyeAble_infoPageID")) 8066} 8067 8068function eyeAble_toggleInfoPage() { 8069 if (eyeAble_session_parameters.isMobile) return !1; 8070 eyeAble_closeAllOtherPages("eyeAble_infoPageID"); 8071 eyeAble_shadowRoot.getElementById("eyeAble_infoPageID") ? "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_infoPageID")).display ? eyeAble_closeInfoPage() : (eyeAble_shadowRoot.getElementById("eyeAble_infoPageID").style.setProperty("display", "block"), eyeAble_showClickableElements("eyeAble_infoPageID"), eyeAble_shadowRoot.getElementById("eyeABle_infoX").focus(), 8072 eyeAble_removeTooltip(), setTimeout(function () { 8073 eyeAble_removeTooltip() 8074 }, 100)) : (eyeAble_createInfoPage(), setTimeout(function () { 8075 eyeAble_shadowRoot.getElementById("eyeAble_infoPageID").style.setProperty("display", "block"); 8076 eyeAble_shadowRoot.getElementById("eyeABle_infoX").focus() 8077 }, 200), eyeAble_removeTooltip(), setTimeout(function () { 8078 eyeAble_removeTooltip() 8079 }, 100)) 8080} 8081 8082function eyeAble_closeInfoPage() { 8083 eyeAble_shadowRoot.getElementById("eyeAble_infoPageID") && (eyeAble_shadowRoot.getElementById("eyeAble_infoPageID").style.setProperty("display", "none"), eyeAble_hideClickableElements("eyeAble_infoPageID"), eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("infoIconBarID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus()) 8084};var eyeAble_TopFixedPositionStylesheet, eyeAble_iconSize = 70; 8085 8086function eyeAble_createIcons() { 8087 var a = "https://eye-able.com"; 8088 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && eyeAble_pluginLocalConfig.customText.mainTopLink && (a = eyeAble_pluginLocalConfig.customText.mainTopLink); 8089 eyeAble_session_parameters.isMobile ? eyeAble_iconSize = eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.mobileIconSize ? parseInt(eyeAble_pluginLocalConfig.mobileIconSize) : 50 : eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.iconSize && (eyeAble_iconSize = parseInt(eyeAble_pluginLocalConfig.iconSize)); 8090 var b = ""; 8091 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customIconColor && (b = eyeAble_pluginLocalConfig.customIconColor); 8092 "undefined" !== typeof eA_bColor && eA_bColor && (b = eA_bColor); 8093 a = '<div aria-hidden="true" class="eyeAble_container_b eyeAbleContrastSkip eyeAbleSkip" id="eyeAble_MainContainerID"> <div class="eyeAble_topFixedPosition" id="showAll_arrow"> <svg id="mainIconSmallSVGID" style="display: none;height: 38px !important;" role="img" eaAriaLangID="ariaSmallLogo" aria-label="' + eyeAble_getMessage("ariaSmallLogo") + 8094 '" class="mainIconSVG" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 389.9 389.6" preserveAspectRatio="none" xmlns:v="https://vecta.io/nano"><defs><linearGradient 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 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 x1="135.26" y1="296.4" x2="365.84" y2="296.4" xlink:href="#A"></linearGradient></defs><path style="fill:' + 8095 b + '" 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 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:' + 8096 b + '" 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:' + b + '" 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 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.
809618 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> <img alt="' + 8097 eyeAble_getMessage("altLogo") + '" eaAltLangID="altLogo" eyeAbleSkipNav="true" eyeAbleSkipNav="true" id="eyeAble_smallIconID" class="eyeAble_mainIconClass noHide" src="' + eyeAble_imagePaths.mainIconPath + '" style="height: 39px !important;"></div> <div aria-hidden="true" id="tabStart" tabindex="-1"></div> <div class="iAble_column animeEyeAble" id="eyeAble_columID" aria-label="Eye-Able Toolbar" tabindex="-1"> <div id="eyeAble_fixedHeaderToolbarID"> <div class="eyeAble_header_controlers"><img eyeAbleSkipNav="true" role="button" alt="' + 8098 eyeAble_getMessage("altResetLogo") + '" eaAltLangID="altResetLogo" eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="resetTopbarID" data-src="' + eyeAble_imagePaths.resetTopPath + '" tabindex="0" width="30" height="30"> <img eyeAbleSkipNav="true" role="button" alt="' + eyeAble_getMessage("altSettingsLogo") + '" eaAltLangID="altSettingsLogo" aria-haspopup="true" eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="settingsTopbarID" data-src="' + eyeAble_imagePaths.settingsPath + 8099 '" tabindex="0" width="30" height="30"></div> <div class="eyeAbletooltip eyeAble_mainicon_container"> <svg id="mainIconSVGID" style="display: none;height: ' + eyeAble_iconSize.toFixed(0) + 'px !important;" role="img" class="mainIconSVG" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 389.9 389.6" preserveAspectRatio="none" xmlns:v="https://vecta.io/nano" eaarialangid="ariaSmallLogo" aria-label="' + eyeAble_getMessage("ariaSmallLogo") + '"><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:' + 8100 b + '" 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 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:' + 8101 b + '" 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:' + b + '" 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 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.
810118 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> <img alt="' + 8102 eyeAble_getMessage("ariaSmallLogo") + '" eaAltLangID="ariaSmallLogo" eyeAbleSkipNav="true" class="eyeAble_mainIconClass noHide" id="mainIconID" src="' + eyeAble_imagePaths.mainIconPath + '" style="height: ' + eyeAble_iconSize.toFixed(0) + "px !important;width: " + eyeAble_iconSize.toFixed(0) + 'px !important;"> <img alt="" aria-hidden="true" eyeAbleSkipNav="true" class="eyeAble_mainIconFunctionActive noHide" id="functionActiveID" style="visibility: hidden" src="' + eyeAble_imagePaths.mainIconActiveCheckPath + 8103 '"> <span class="eyeAble_tooltiptext" id="mainIconTooltipID" style="padding-left: 0" eALangID="headerName"> <a class="eyeAble_headerLink eyeAtabClickable" tabindex="-1" href="' + a + '" target="_blank">' + eyeAble_getMessage("headerName") + '</a> </span> </div> <div class="eyeAble_header_controlers-right"><img eyeAbleSkipNav="true" role="button" alt="' + eyeAble_getMessage("altCloseLogo") + '" eaAltLangID="altCloseLogo" eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="closeIconBarID" data-src="' + 8104 eyeAble_imagePaths.xPath + '" tabindex="0" width="30" height="30"> <img eyeAbleSkipNav="true" role="button" alt="' + eyeAble_getMessage("altInfoLogo") + '" eaAltLangID="altInfoLogo" aria-haspopup="true" eyeAbleSkipNav="true" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="infoIconBarID" data-src="' + eyeAble_imagePaths.infoPath + '" tabindex="0" width="30" height="30"></div> </div> <div class="eyeAble_toolbarContentPadding" id="eyeAble_mainToolbarContentID" >\n <div aria-labelledby="instantButtonText" role="button" class="eyeAbletooltip eyeAtabClickable" id="oneClickID" tabindex="0">\n <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" data-src="' + 8105 eyeAble_imagePaths.oneClickPath + '" > <span id="instantButtonText" class="eyeAble_tooltiptext" eALangID="sofortText">' + eyeAble_getMessage("sofortText") + '</span> <img alt="' + eyeAble_getMessage("altSaveSettings") + '" eaAltLangID="altSaveSettings" role="button" eyeAbleSkipNav="true" class="eyeAble-saveIcon eyeAtabClickable eyeAbleInvert noHide" id="oneClickSaveID" tabindex="0" data-src="' + eyeAble_imagePaths.oneClickSavePath + '" > </div>\n <div role="button" class="eyeAbletooltip eyeAtabClickable" id="zoomBoxOpener" aria-expanded="false" tabindex="0">\n <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" data-src="' + 8106 eyeAble_imagePaths.zoomPath + '" > <span class="eyeAble_tooltiptext" id="plusTooltipID" eALangID="txtSizeText">' + eyeAble_getMessage("txtSizeText") + '</span> <img alt="" eyeAbleSkipNav="true" class="eyeAble-arrowDown eyeAbleInvert noHide" id="eyeA-zoomBoxArrowDown" data-src="' + eyeAble_imagePaths.arrowDownPath + '" > </div>\n <div id="eyeAble_zoomBox1" class="eyeAble_zoombox eyeAble_collapsed"> <div> <span style="float: left; padding-left: 20px;"><img alt="Lupe Funktion" eyeAbleSkipNav="true" tabindex="-1" class="eyeAble-magnifierImg eyeAtabClickable" id="eyeA-magnifierID" data-src="' + 8107 eyeAble_imagePaths.magnifierPath + '" style="display: none"> </span>
8107 <span id="eyeAble_zoomValue" class="eyeAble_zoom-value">0</span> </div> <div class="eyeAble_main-zoombox">\n <span role="button" aria-describedby="eyeAble_zoomValue" class="eyeAble_zoom-control eyeAtabClickable" id="minusID" tabindex="-1"><img eyeAbleSkipNav="true" alt="' + eyeAble_getMessage("altSmaller") + '" eaAltLangID="altSmaller" class="eyeAble_smallIconClass noHide" data-src="' + eyeAble_imagePaths.minusPath + 8108 '"></span>\n <span role="button" aria-describedby="eyeAble_zoomValue" class="eyeAble_zoom-control eyeAtabClickable" id="zoomResetID" tabindex="-1"><img eyeAbleSkipNav="true" alt="' + eyeAble_getMessage("altResetFont") + '" eaAltLangID="altResetFont" class="eyeAble_smallIconClass noHide" data-src="' + eyeAble_imagePaths.zoomResetPath + '" style="margin-left: 0;margin-right: 0; width: 34px !important;"></span>\n <span role="button" aria-describedby="eyeAble_zoomValue" class="eyeAble_zoom-control eyeAtabClickable" id="plusID" tabindex="-1"><img eyeAbleSkipNav="true" alt="' + 8109 eyeAble_getMessage("altLarger") + '" eaAltLangID="altLarger" class="eyeAble_smallIconClass noHide" data-src="' + eyeAble_imagePaths.plusPath + '" ></span>\n </div>\n <div class="eyeAble_fontExtDiv eyeAtabClickable" tabindex="-1" role="button" id="extendedFontID" aria-haspopup="true"> <span style="float: left; transform: var(--font-font-transform);"><img alt="" eyeAbleSkipNav="true" data-src="' + eyeAble_imagePaths.rightArrow + '" style="max-width: 93%;"> </span> <span class="eyeAble_fontExtTxt" eALangID="fontExtended"> ' + 8110 eyeAble_getMessage("fontExtended") + '</span> </div> </div>\n <div role="button" class="eyeAbletooltip eyeAtabClickable" id="colorsID" tabindex="0"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass" id="eyeA-contrastModeMainIconID" data-src="' + eyeAble_imagePaths.colorWheelPath + '" > <span class="eyeAble_tooltiptext" id="colorsTooltipID" eALangID="contrastText">' + eyeAble_getMessage("contrastText") + '</span> <img alt="" eyeAbleSkipNav="true" class="eyeAble-arrowDown eyeAbleInvert noHide" id="resetContrastModeID" data-src="' + 8111 eyeAble_imagePaths.resetContrastPath + '" style="display: none;"> </div> <div id="eyeAble_zoomBoxContrast" class="eyeAble_zoombox eyeAble_collapsed"> <div class="eyeAble_fontExtDiv eyeAtabClickable" tabindex="-1" role="button" id="extendedContrastID" aria-haspopup="true" style="margin-top: -3px;"> <span style="float: left; transform: var(--font-font-transform);"><img alt="" eyeAbleSkipNav="true" data-src="' + eyeAble_imagePaths.rightArrow + '" style="max-width: 93%;"> </span> <span class="eyeAble_fontExtTxt" eALangID="contrastExtended"> ' + 8112 eyeAble_getMessage("contrastExtended") + '</span> </div> </div>\n <div role="button" class="eyeAbletooltip eyeAtabClickable" id="bluefilterContainerID" tabindex="0" aria-pressed="false"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="bluefilterID" data-src="' + eyeAble_imagePaths.bluefilterOffPath + '" > <span class="eyeAble_tooltiptext" id="bluefilterTooltipID" eALangID="enableBf">' + eyeAble_getMessage("enableBf") + 8113 '</span> </div> <div class="eyeAble_cc-ranger-box eyeAble_slider_container eyeAble_collapsed" id="eyeABle_bluefilterCtrlID">\n <div class="eyeAble_cc-ranger-text">\n <p eALangID="rangerTopText">' + eyeAble_getMessage("rangerTopText") + '</p>\n <span id="eyeAble_BluefilterRanger_value">80%</span>\n </div>\n <div class="eyeAble_cc-ranger">\n <input eyeAbleSkipNav="true" type="range" min="0" max="100" value="80" class="eyeAble_cc-rngr eyeAble_bluefilter-gradient-thumb" id="bluefilterRanger" tabindex="-1" eaAriaLangID="ariaBluefilterInten" aria-label="' + 8114 eyeAble_getMessage("ariaBluefilterInten") + '">
8114\n <span class="eyeAble_rnger-bg eyeAble_bluefilter-gradient" id="rngBGBluefilter"></span>\n </div>\n <div class="eyeAble_cc-ranger-controls">\n <img eyeAbleSkipNav="true" aria-describedby="eyeAble_BluefilterRanger_value" data-src="' + eyeAble_imagePaths.bfrangerMinus + '" role="button" alt="' + eyeAble_getMessage("altBlueSmaller") + '" eaAltLangID="altBlueSmaller" class="eyeAble_img-fluid eyeAtabClickable noHide" id="bluefilterMinus" tabindex="-1">\n <img eyeAbleSkipNav="true" aria-describedby="eyeAble_BluefilterRanger_value" data-src="' + 8115 eyeAble_imagePaths.bfrangerPlus + '" role="button" alt="' + eyeAble_getMessage("altBlueLarger") + '" eaAltLangID="altBlueLarger" class="eyeAble_img-fluid eyeAtabClickable noHide" id="bluefilterPlus" tabindex="-1">\n </div>\n </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="bwID" tabindex="0" aria-pressed="false"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass" id="bwIDimage" data-src="' + eyeAble_imagePaths.blackWhitePath + '" > <span class="eyeAble_tooltiptext" id="bwTooltipID" eALangID="nightText">' + 8116 eyeAble_getMessage("nightText") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="navAndSpeechContainerID" tabindex="0" aria-pressed="false"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="navAndSpeechID" data-src="' + eyeAble_imagePaths.navTTSPath + '" > <span class="eyeAble_tooltiptext" eALangID="screenreaderText">' + eyeAble_getMessage("screenreaderText") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="tabNavContainerID" tabindex="0" aria-pressed="false" style="display: none"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="eyeAbleTabNavID" data-src="' + 8117 eyeAble_imagePaths.keyboardPath + '" > <span class="eyeAble_tooltiptext" eALangID="tabNavText">' + eyeAble_getMessage("tabNavText") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="colorblindID" tabindex="0" aria-pressed="false" aria-haspopup="true" "> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="colorblindMainImageID" data-src="' + eyeAble_imagePaths.colorblindPath + '" > <span class="eyeAble_tooltiptext" id="colorblindTooltipID" eALangID="ccText">' + 8118 eyeAble_getMessage("ccText") + '</span> </div> <div class="eyeAble_cc-ranger-box eyeAble_zoomboxCC eyeAble_collapsed" id="colorCorrectionControllerID">\n <div class="eyeAble_cc-ranger-text">\n <p eALangID="rangerTopText">' + eyeAble_getMessage("rangerTopText") + '</p>\n <span id="ColorCorrection_ranger_value">80%</span>\n </div>\n <div class="eyeAble_cc-ranger">\n <input eyeAbleSkipNav="true" type="range" min="0" max="100" value="80" class="eyeAble_cc-rngr" id="colorblindRanger" tabindex="-1" alt="Intensit\u00e4t des Farbschw\u00e4chefilters">\n <span class="eyeAble_rnger-bg" id="rngBG0"></span>\n </div>
8118\n <div class="eyeAble_cc-ranger-controls">\n <img eyeAbleSkipNav="true" aria-describedby="ColorCorrection_ranger_value" data-src="' + 8119 eyeAble_imagePaths.rangerMinus + '" role="button" alt="' + eyeAble_getMessage("altCCSmaller") + '" eaAltLangID="altCCSmaller" class="eyeAble_img-fluid eyeAtabClickable noHide" id="ccmainMinusId" tabindex="-1">\n <img eyeAbleSkipNav="true" aria-describedby="ColorCorrection_ranger_value" role="button" alt="' + eyeAble_getMessage("altCCReset") + '" eaAltLangID="altCCReset" class="eyeAble_img-fluid eyeAtabClickable noHide" id="ccmainResetId" data-src="' + eyeAble_imagePaths.zoomResetPath + '" style="margin-left: 0px;margin-right: 0px;" tabindex="-1">\n <img eyeAbleSkipNav="true" aria-describedby="ColorCorrection_ranger_value" data-src="' + 8120 eyeAble_imagePaths.rangerPlus + '" role="button" alt="' + eyeAble_getMessage("altCCLarger") + '" eaAltLangID="altCCLarger" class="eyeAble_img-fluid eyeAtabClickable noHide" id="ccmainPlusId" tabindex="-1">\n </div>\n </div>\n <div role="button" class="eyeAbletooltip eyeAtabClickable" id="hideImagesContainerID" tabindex="0" aria-pressed="false"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="eyeAblemorehideImagesID" data-src="' + 8121 eyeAble_imagePaths.settingsImgPath + '" > <span class="eyeAble_tooltiptext" eALangID="hideImgText">' + eyeAble_getMessage("hideImgText") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="bigCursorToolbarID" tabindex="0" style="display: none; margin-top: 0;"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" data-src="' + eyeAble_imagePaths.bigMouseToolbarPath + '"> <span class="eyeAble_tooltiptext" eALangID="funcToolbarCursor">' + 8122 eyeAble_getMessage("funcToolbarCursor") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="noAnimationToolbarID" tabindex="0" style="display: none; margin-top: 0;"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" data-src="' + eyeAble_imagePaths.settingsAniMainPath + '"> <span class="eyeAble_tooltiptext" eALangID="funcAniShort">' + eyeAble_getMessage("funcAniShort") + '</span> </div> <div role="button" class="eyeAbletooltip eyeAtabClickable" id="moreFunctionsContainerID" tabindex="0" aria-pressed="false" aria-haspopup="true"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass eyeAbleInvert" id="eyeAblemoreFunctionsID" data-src="' + 8123 eyeAble_imagePaths.moreFunctionsPath + '"> <span class="eyeAble_tooltiptext" eALangID="moreFuncText">' + eyeAble_getMessage("moreFuncText") + '</span> </div> <div style="margin-bottom: 5px" role="button" class="eyeAbletooltip eyeAtabClickable" id="resetID" tabindex="0"> <img width="37" height="37" alt="" eyeAbleSkipNav="true" class="eyeAble_smallIconClass" data-src="' + eyeAble_imagePaths.resetPath + '" > <span class="eyeAble_tooltiptext" id="resetTooltipID" eALangID="resetAllText">' + 8124 eyeAble_getMessage("resetAllText") + '</span> </div> <div id="hideForMeID" role="button" tabindex="0" eALangID="hideForMe" class="eyeAbletooltip eyeAtabClickable" aria-pressed="false">' + eyeAble_getMessage("hideForMe") + '</div> <div aria-hidden="true" id="tabEnd" tabindex="-1"></div> </div> </div>\n </div></div><div aria-hidden="true" class="eyeAble_tooltip eyeAbleSkip eyeAble_FeedbackTooltip eyeAbleContrastSkip" id="eyeAble_feebackTooltipID" style="display: none"> <div class="eyeAble_tooltip-header" eALangID="keyNotifiText">' + 8125 eyeAble_getMessage("keyNotifiText") + '</div> <p class="eyeAble_tooltip-text" id="feedbackTextID"></p> <p class="eyeAble_tooltipShortcut" id="feedbackShortcutID"></p></div>'; 8126 eyeAble_shadowRootHtml.insertAdjacentHTML("beforeend", a); 8127 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").style.display = "none"; 8128 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customIconColor || "undefined" !== typeof eA_bColor && eA_bColor) eyeAble_shadowRoot.getElementById("mainIconSVGID").style.display = "block", 8129 eyeAble_shadowRoot.getElementById("mainIconID").style.display = "none", eyeAble_shadowRoot.getElementById("mainIconSmallSVGID").style.display = "block", eyeAble_shadowRoot.getElementById("eyeAble_smallIconID").style.display = "none"; 8130 if (eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customFunctionPosition) for (a = $jscomp.makeIterator(Object.entries(eyeAble_pluginLocalConfig.customFunctionPosition)), b = a.next(); !b.done; b = a.next()) { 8131 var c = $jscomp.makeIterator(b.value); 8132 b = c.next().value; 8133 c = c.next().value; 8134 switch (b) { 8135 case "Bluefilter": 8136 "More" === 8137 c && (eyeAble_shadowRoot.getElementById("bluefilterContainerID").style.display = "none", eyeAble_shadowRoot.getElementById("eyeABle_bluefilterCtrlID").style.display = "none"); 8138 break; 8139 case "Darkmode": 8140 "More" === c && (eyeAble_shadowRoot.getElementById("bwID").style.display = "none"); 8141 break; 8142 case "TabNavi": 8143 "More" === c ? eyeAble_shadowRoot.getElementById("tabNavContainerID").style.display = "none" : "Main" === c && (eyeAble_shadowRoot.getElementById("tabNavContainerID").style.display = "flex"); 8144 break; 8145 case "ColorCorrection": 8146 "More" === 8147 c && (eyeAble_shadowRoot.getElementById("colorblindID").style.display = "none", eyeAble_shadowRoot.getElementById("colorCorrectionControllerID").style.display = "none"); 8148 break; 8149 case "HideImages": 8150 "More" === c && (eyeAble_shadowRoot.getElementById("hideImagesContainerID").style.display = "none"); 8151 break; 8152 case "LargeCursor": 8153 "Main" !== c || eyeAble_session_parameters.isMobile || (eyeAble_shadowRoot.getElementById("bigCursorToolbarID").style.display = "flex"); 8154 break; 8155 case "StopAnimation": 8156 "Main" === c && (eyeAble_shadowRoot.getElementById("noAnimationToolbarID").style.display = 8157 "flex") 8158 } 8159 } 8160 eyeAble_setActiveCheckVis(); 8161 document.addEventListener("eyeable:event", eyeAble_setActiveCheckVis); 8162 (0 < document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID,.eyeAble_customToolOpenerNoHideClass").length || eyeAble_hideMainIcon) && !eyeAble_session_parameters.isExtension && (eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none", eyeAble_shadowRoot.getElementById("functionActiveID").style.display = "none", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = 8163 "none"); 8164 localStorage.getItem("eyeAbleHideIcon") && (eyeAble_hideMainIcon = !0, eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none", eyeAble_shadowRoot.getElementById("functionActiveID").style.display = "none", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "none", eyeAble_shadowRoot.getElementById("hideForMeID") && (eyeAble_shadowRoot.getElementById("hideForMeID").innerText = eyeAble_getMessage("showForMe"), eyeAble_shadowRoot.getElementById("hideForMeID").setAttribute("aria-pressed", 8165 "true"))); 8166 eyeAble_initPosition(); 8167 eyeAble_setMainIconTransform(); 8168 eyeAble_session_parameters.isMobile && (eyeAble_shadowRoot.getElementById("eyeA-contrastModeMainIconID").src = eyeAble_imagePaths.bwPresetPath, eyeAble_checkMobilePosition()); 8169 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.showCursorInToolbar && !eyeAble_session_parameters.isMobile && eyeAble_shadowRoot.getElementById("bigCursorToolbarID").style.removeProperty("display"); 8170 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.add("eyeAble_topFixedPosition"); 8171 "0" === eyeAble_getVar("Extended") && eyeAble_closeAll_arrow(); 8172 eyeAble_shadowRoot.getElementById("tabEnd").addEventListener("focus", function () { 8173 eyeAble_shadowRoot.getElementById("resetTopbarID").focus() 8174 }); 8175 eyeAble_shadowRoot.getElementById("tabStart").addEventListener("focus", function () { 8176 "none" !== eyeAble_shadowRoot.getElementById("hideForMeID").style.display ? eyeAble_shadowRoot.getElementById("hideForMeID").focus() : eyeAble_shadowRoot.getElementById("resetID").focus() 8177 }); 8178 0 < document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID").length && 8179 (eyeAble_shadowRoot.getElementById("hideForMeID").style.display = "none"); 8180 eyeAble_session_parameters.isExtension && !eyeAble_session_parameters.isPlugin && (eyeAble_shadowRoot.getElementById("hideForMeID").style.display = "none") 8181} 8182 8183function eyeAble_createAccessibleLink() { 8184 var a = document.createElement("a"); 8185 a.href = "javascript:EyeAbleAPI.toggleToolbar()"; 8186 a.classList.add("eyeAble_hiddenOpener"); 8187 eyeAble_session_parameters.isMobile ? (a.innerText = eyeAble_getMessage("accessibleLinkTextMobile"), a.setAttribute("ealangid", "accessibleLinkTextMobile")) : (a.innerText = eyeAble_getMessage("accessibleLinkText"), a.setAttribute("ealangid", "accessibleLinkText")); 8188 a.style.height = "1px"; 8189 a.style.width = "1px";
8190 a.style.margin = "-1px"; 8191 a.style.overflow = "hidden"; 8192 a.style.clip = "rect(1px, 1px, 1px, 1px)"; 8193 var b = eyeAble_createEmptyStylesheet(); 8194 eyeAble_addCSSRule(b, ".eyeAble_hiddenOpener", "border: 0;\n clip: rect(1px 1px 1px 1px); /* IE6, IE7 */\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px; "); 8195 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.showAccessibleLinkFocus && eyeAble_addCSSRule(b, ".eyeAble_hiddenOpener:focus", " clip: auto;\n height: auto;\n margin: 0px;\n padding: 8px;\n overflow: visible;\n top: 5px;\n left: 5px;\n font-size: 20px;\n font-weight: 400;\n background: black;\n border-radius: 5px;\n width: 270px;\n color: white;\n z-index: 99999999999;\n text-decoration: none;"); 8196 if (0 < document.links.length) if (document.links[0].hash) for (b = 0; b < document.links.length; b++) { 8197 if (!document.links[b].hash || !document.links[b].baseURI.includes(window.location.hostname)) { 8198 if (0 === b) document.body.prepend(a); else if (document.links[b].offsetParent) document.links[b].before(a); else { 8199 for (var c = document.links[b], d = 0; c.parentNode !== document.body && 30 > d;) c = c.parentNode, d++; 8200 "header" !== c.tagName.toLowerCase() ? c.after(a) : document.links[b].before(a) 8201 } 8202 break 8203 } 8204 } else document.body.prepend(a); else document.body.prepend(a); 8205 document.querySelector(".eyeAble_hiddenOpener").addEventListener("focus", function () { 8206 eyeAble_shadowRoot.querySelector(".iAble_column").setAttribute("accessFocus", "true"); 8207 eyeAble_shadowRoot.querySelector("#showAll_arrow").setAttribute("accessFocus", "true"); 8208 var e = 0; 8209 eyeAble_recentlyClosed && (e = 400); 8210 setTimeout(function () { 8211 "flex" === eyeAble_shadowRoot.querySelector("#showAll_arrow").style.display ? eyeAble_createTooltip({ 8212 target: eyeAble_shadowRoot.querySelector("#eyeAble_smallIconID"), 8213 manual: !0 8214 }) : eyeAble_createTooltip({ 8215 target: eyeAble_shadowRoot.querySelector(".iAble_column"), 8216 manual: !0 8217 }) 8218 }, e) 8219 }); 8220 document.querySelector(".eyeAble_hiddenOpener").addEventListener("blur", function () { 8221 eyeAble_shadowRoot.querySelector(".iAble_column").removeAttribute("accessFocus"); 8222 eyeAble_shadowRoot.querySelector("#showAll_arrow").removeAttribute("accessFocus"); 8223 eyeAble_removeTooltip(); 8224 setTimeout(eyeAble_removeTooltip, 300) 8225 }) 8226} 8227 8228var eyeAble_imagesLoaded = !1, eyeAble_imagesJustLoaded = !1, eyeAble_imgLoadDelay = 300; 8229 8230function eyeAble_lazyLoadImgs() { 8231 !1 === eyeAble_imagesLoaded && (eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").querySelectorAll("img").forEach(function (a) { 8232 a.hasAttribute("src") || (a.setAttribute("src", a.getAttribute("data-src")), a.removeAttribute("data-src")) 8233 }), eyeAble_imagesJustLoaded = eyeAble_imagesLoaded = !0, setTimeout(function () { 8234 eyeAble_imagesJustLoaded = !1 8235 }, eyeAble_imgLoadDelay - 20)) 8236} 8237 8238function eyeAble_showAll_arrow() { 8239 fastdomEA.mutate(function () { 8240 eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none"; 8241 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "block"; 8242 eyeAble_extendIconbar() 8243 }); 8244 eyeAble_setVar("Extended", "1") 8245} 8246 8247function eyeAble_closeAll_arrow() { 8248 eyeAbleVariables.minimizeIcon ? (eyeAble_hideMainIcon || eyeAble_setVar("Extended", "0"), fastdomEA.mutate(function () { 8249 eyeAble_hideMainIcon ? eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none" : eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "flex"; 8250 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "none"; 8251 eyeAble_oldFocus ? (eyeAble_oldFocus.focus(), eyeAble_oldFocus = null) : eyeAble_shadowRoot.getElementById("eyeAble_columID").blur(); 8252 eyeAble_closeAllOtherPages(""); 8253 eyeAble_removeTooltip(); 8254 !eyeAble_session_parameters.isMobile && (eyeAbleVariables.topPosition.includes("%") && 10 < parseFloat(eyeAbleVariables.topPosition) || eyeAbleVariables.topPosition.includes("px") && parseFloat(eyeAbleVariables.topPosition) > .1 * window.innerHeight || eyeAbleVariables.topPosition.includes("calc")) && (eyeAble_changeFixedTo
8254pPosition(eyeAbleVariables.topPosition), setTimeout(function () { 8255 eyeAble_changeFixedTopPosition(eyeAbleVariables.topPosition) 8256 }, 450)); 8257 eyeAble_retractIconbar(0, 8258 !0) 8259 })) : eyeAble_retractIconbar(1, !0) 8260} 8261 8262function eyeAble_focusHandling() { 8263 eyeAble_shadowRoot.getElementById("screenreaderControllerID") && (eyeAble_shadowRoot.getElementById("screenreaderControllerID").matches(":hover") || document.activeElement === document.getElementById("eyeAble_container_ID")) && "none" !== eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display || eyeAble_extendIconbar() 8264} 8265 8266function eyeAble_addEventListeners() { 8267 function a(e) { 8268 !eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || eyeAble_stopRetract && eyeAble_session_parameters.isMobile || eyeAble_shadowRoot.getElementById("eyeAble_columID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && eyeAble_shadowRoot.getElementById("eyeAble_CCPageID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID") && eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID").matches(":hover") || 8269 eyeAble_shadowRoot.getElementById("eyeAble_infoPageID") && eyeAble_shadowRoot.getElementById("eyeAble_infoPageID").matches(":hover") || eyeAble_shadowRoot.getElementById("screenreaderControllerID") && eyeAble_shadowRoot.getElementById("screenreaderControllerID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID") && eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID").matches(":hover") || 8270 document.getElementById("eyeAble_customToolOpenerID") && document.getElementById("eyeAble_customToolOpenerID").matches(":hover") || e.target.classList.contains("eyeAble_container_b") || (eyeAble_session_parameters.isMobile ? eyeAble_checkOpenWindows() && (e.preventDefault(), e.stopPropagation(), eyeAble_retractIconbar(0, !0)) : eyeAble_checkOpenWindows() && fastdomEA.measure(function () { 8271 var f = !1, h = eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect(), g = e.clientX; 8272 g = "right" === eyeAbleVariables.sidePosition ? 8273 g - h.left : h.right - g; 8274 -25 > g ? f = !0 : 0 < g && (-25 > e.clientY - h.top || -25 > h.bottom - e.clientY) && (f = !0); 8275 f && (eyeAbleVariables.minimizeIcon ? eyeAble_closeAll_arrow() : eyeAble_retractIconbar(0, !0)) 8276 })); 8277 eyeAble_stopRetract = !1 8278 } 8279 8280 eyeAble_shadowRoot.getElementById("oneClickID").addEventListener("click", eyeAble_toggleOneClick); 8281 eyeAble_shadowRoot.getElementById("oneClickSaveID").addEventListener("click", eyeAble_saveOneClickSettings); 8282 eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").addEventListener("click", function () { 8283 eyeAbleWebsiteNav.toggleNavWithSpeech() 8284 }); 8285 eyeAble_shadowRoot.querySelector("#bluefilterContainerID").addEventListener("click", eyeAble_toggleBluefilter); 8286 eyeAble_shadowRoot.querySelector("#plusID").addEventListener("click", eyeAble_increase_font_size); 8287 eyeAble_shadowRoot.querySelector("#minusID").addEventListener("click", eyeAble_decrease_font_size); 8288 eyeAble_shadowRoot.querySelector("#extendedFontID").addEventListener("click", eyeAble_toggleExtendedFontPage); 8289 eyeAble_shadowRoot.querySelector("#bwID").addEventListener("click", eyeAble_toggleDarkmode); 8290 eyeAble_shadowRoot.querySelector("#colorsID").addEventListener("click", eyeAble_toggleContrastMode); 8291 eyeAble_shadowRoot.querySelector("#extendedContrastID").addEventListener("click", eyeAble_toggleColorPickerWindow); 8292 eyeAble_shadowRoot.querySelector("#resetContrastModeID").addEventListener("click", eyeAble_reset_colors); 8293 eyeAble_shadowRoot.querySelector("#colorblindID").addEventListener("click", eyeAble_toggleCCpage); 8294 eyeAble_shadowRoot.querySelector("#bluefilterMinus").addEventListener("click", eyeAble_decreaseBluefilter); 8295 eyeAble_shadowRoot.querySelector("#bluefilterPlus").addEventListener("click", eyeAble_increaseBluefilter); 8296 eyeAble_shadowRoot.querySelector("#bluefilterRanger").addEventListener("input", eyeAble_BluefilterRangerChange); 8297 eyeAble_shadowRoot.querySelector("#colorblindRanger").addEventListener("input", eyeAble_ColorblindRangerChange); 8298 eyeAble_shadowRoot.getElementById("ccmainMinusId").addEventListener("click", eyeAble_CCminusListener); 8299 eyeAble_shadowRoot.getElementById("ccmainPlusId").addEventListener("click", 8300 eyeAble_CCplusListener); 8301 eyeAble_shadowRoot.getElementById("ccmainResetId").addEventListener("click", eyeAble_resetColorCorrection); 8302 eyeAble_shadowRoot.querySelector("#resetTopbarID").addEventListener("click", eyeAble_resetAll); 8303 eyeAble_shadowRoot.querySelector("#resetID").addEventListener("click", eyeAble_resetAll); 8304 eyeAble_shadowRoot.querySelector("#settingsTopbarID").addEventListener("click", eyeAble_toggleSettingsPage); 8305 eyeAble_shadowRoot.querySelector("#zoomResetID").addEventListener("click", eyeAble_resetFontSizeIcon); 8306 eyeAble_shadowRoot.getElementById("zoomBoxOpener").addEventListener("click", eyeAble_clickZoomBox); 8307 eyeAble_shadowRoot.getElementById("infoIconBarID").addEventListener("click", eyeAble_toggleInfoPage); 8308 eyeAble_shadowRoot.getElementById("noAnimationToolbarID").addEventListener("click", eyeAble_toggleAnimations); 8309 eyeAble_shadowRoot.getElementById("hideImagesContainerID").addEventListener("click", eyeAble_toggleHideImagesAndVideos); 8310 eyeAble_shadowRoot.getElementById("tabNavContainerID").addEventListener("click", 8311 function () { 8312 eyeAbleWebsiteNav.toggleNavOnly() 8313 }); 8314 eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").addEventListener("click", eyeAble_toggleMoreFunctionsPage); 8315 eyeAble_shadowRoot.getElementById("bigCursorToolbarID").addEventListener("click", eyeAble_toggleBigCursor); 8316 eyeAble_shadowRoot.getElementById("hideForMeID").addEventListener("click", eyeAble_toggleHideIcon); 8317 eyeAble_initMagnifier(); 8318 eyeAble_session_parameters.isMobile ? eyeAble_shadowRoot.getElementById("eyeAble_columID").addEventListener("click", 8319 function () { 8320 eyeAble_shadowRoot.getElementById("closeIconBarID").matches(":hover") || eyeAble_extendIconbar() 8321 }) : (eyeAble_shadowRoot.getElementById("eyeAble_columID").addEventListener("mousedown", eyeAble_dragAndPlaceIcon), eyeAble_shadowRoot.getElementById("eyeAble_columID").addEventListener("mouseenter", eyeAble_extendIconbar), eyeAble_shadowRoot.getElementById("resetID").addEventListener("focus", function () { 8322 -1 !== eyeAble_retractionTimeoutID && (clearTimeout(eyeAble_retractionTimeoutID), eyeAble_retractionTimeoutID = 8323 -1) 8324 })); 8325 eyeAble_shadowRoot.getElementById("mainIconSVGID").addEventListener("keydown", function (e) { 8326 if ("Space" === e.code || "Enter" === e.code) eyeAble_blockClosing = !0, eyeAble_extendIconbar(), setTimeout(function () { 8327 eyeAble_blockClosing = !1 8328 }, 500) 8329 }); 8330 eyeAble_session_parameters.isMobile || document.getElementById("eyeAble_container_ID").addEventListener("blur", eyeAble_retractIconbar); 8331 var b = window.navigator.userAgent, c = !!b.match(/iPad/i) || !!b.match(/iPhone/i), d = !!b.match(/WebKit/i); 8332 b = c && d && !b.match(/CriOS/i); 8333 eyeAble_session_parameters.isMobile && 8334 b ? document.body.addEventListener("touchend", a) : (window.addEventListener("click", a), window.addEventListener("touchend", a)); 8335 eyeAble_session_parameters.isMobile ? eyeAble_shadowRoot.querySelector("#showAll_arrow").addEventListener("touchend", eyeAble_showAll_arrow) : eyeAble_shadowRoot.querySelector("#showAll_arrow").addEventListener("mousedown", eyeAble_dragAndPlaceIcon); 8336 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.noMinimize ? eyeAble_shadowRoot.querySelector("#closeIconBarID").addEventListener("click", 8337 function () { 8338 eyeAble_retractIconbar(0) 8339 }) : eyeAble_shadowRoot.querySelector("#closeIconBarID").addEventListener("click", eyeAble_closeAll_arrow); 8340 fastdomEA.catch = function (e) { 8341 console.log("fastdomEA Error ", e) 8342 }; 8343 window.addEventListener("error", function (e, f, h, g, l) { 8344 console.log("Error: ", e) 8345 });
8346 eyeAble_allUnfocusOnMouseLeave(eyeAble_shadowRoot.getElementById("eyeAble_columID")) 8347} 8348 8349function eyeAble_allUnfocusOnMouseLeave(a) { 8350 function b(e) { 8351 e.target.blur() 8352 } 8353 8354 var c = "mouseleave"; 8355 eyeAble_session_parameters.isMobile && (c = "touchend"); 8356 a = a.querySelectorAll("*"); 8357 for (var d = 0; d < a.length; d++) a[d].id && "input" !== a[d].tagName.toLowerCase() && "select" !== a[d].tagName.toLowerCase() && a[d].addEventListener(c, b) 8358} 8359 8360var eyeAble_retractionTimeoutID = -1, eyeAble_toolbarOverflowID = -1, eyeAble_extendIconbarDeadtime = !1, 8361 eyeAble_oldFocus = null; 8362 8363function eyeAble_extendIconbar(a) { 8364 eyeAble_iconMouseDown = !1; 8365 if (!eyeAble_imagesLoaded) return eyeAble_lazyLoadImgs(), setTimeout(function () { 8366 eyeAble_extendIconbar(a) 8367 }, eyeAble_imgLoadDelay + 10), !1; 8368 if (!0 === eyeAble_imagesJustLoaded) return setTimeout(function () { 8369 eyeAble_extendIconbar(a) 8370 }, eyeAble_imgLoadDelay + 10), !1; 8371 -1 !== eyeAble_retractionTimeoutID && (clearTimeout(eyeAble_retractionTimeoutID), eyeAble_retractionTimeoutID = -1); 8372 if (a && a.type && "mouseenter" === a.type) return !1; 8373 fastdomEA.mutate(function () { 8374 eyeAble_session_parameters.isMobile && 8375 (eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "none"); 8376 eyeAble_shadowRoot.getElementById("mainIconSVGID").style.display = "none"; 8377 eyeAble_shadowRoot.getElementById("mainIconID").style.display = "block"; 8378 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || (eyeAble_dispatchEvent("Toolbar_Opened"), eyeAble_extendIconbarDeadtime = !0, setTimeout(function () { 8379 eyeAble_extendIconbarDeadtime = !1 8380 }, 500)); 8381 eyeAble_shadowRoot.getElementById("eyeAble_fixedHeaderToolbarID").classList.add("eyeAble_headerFixedTopbar"); 8382 for (var b = eyeAble_shadowRoot.querySelectorAll(".animeEyeAble"), c = 0; c < b.length; c++) b[c].classList.add("animeEyeAbleExtended"), eyeAble_imagePaths.mainIconFullPath.includes("eye-able-logo2.png") && (eyeAble_shadowRoot.getElementById("mainIconID").style.width = "80px"); 8383 eyeAble_shadowRoot.getElementById("eyeAble_mainToolbarContentID").style.display = "block"; 8384 eyeAble_session_parameters.isMobile ? (eyeAbleVariables.mobileBottomPosition.includes("%") && 15 < parseFloat(eyeAbleVariables.mobileBottomPosition) || eyeAbleVariables.mobileBottomPosition.includes("px") && 8385 parseFloat(eyeAbleVariables.mobileBottomPosition) > .15 * window.innerHeight || eyeAbleVariables.mobileBottomPosition.includes("calc")) && eyeAble_changeFixedBottomPosition("15%", null, !0) : (eyeAbleVariables.topPosition.includes("%") && 10 < parseFloat(eyeAbleVariables.topPosition) || eyeAbleVariables.topPosition.includes("px") && parseFloat(eyeAbleVariables.topPosition) > .1 * window.innerHeight || eyeAbleVariables.topPosition.includes("calc")) && eyeAble_changeFixedTopPosition("10%", null, !0); 8386 b = 295 + parseFloat(eyeAbleVariables.rightPosition); 8387 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty(eyeAbleVariables.sidePosition, b.toFixed(0) + "px", "important"); 8388 setTimeout(function () { 8389 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && (eyeAble_shadowRoot.getElementById("mainIconID").src = eyeAble_imagePaths.mainIconFullPath, eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("height"), eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("transform"), 8390 eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("width"), eyeAble_imagePaths.mainIconFullPath.includes("eye-able-logo2.png") && (eyeAble_shadowRoot.getElementById("mainIconID").style.width = "80px"), setTimeout(function () { 8391 eyeAble_shadowRoot.getElementById("mainIconID").style.opacity = ""; 8392 eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("width") 8393 }, 300), eyeAble_shadowRoot.getElementById("mainIconID").style.cursor = "default", eyeAble_hideMainIcon && (eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = 8394 "block"), eyeAble_shadowRoot.getElementById("tabEnd").tabIndex = "0", eyeAble_shadowRoot.getElementById("tabStart").tabIndex = "0", document.activeElement.classList.contains("eyeAble_container_b") || (eyeAble_oldFocus = document.activeElement, eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(), eyeAbleWebsiteNav.getActiveState() && eyeAbleWebsiteNav.setActiveElement(eyeAble_shadowRoot.getElementById("resetTopbarID"))), eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").ariaHidden = !1, eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").setAttribute("aria-hidden", 8395 "false"), setTimeout(function () { 8396 for (var d = eyeAble_shadowRoot.getElementById("eyeAble_columID").querySelectorAll("[aria-live]"), e = 0; e < d.length; e++) d[e].setAttribute("aria-live", "polite") 8397 }, 1E3), eyeAble_removeTooltip()) 8398 }, 100) 8399 }); 8400 eyeAble_toolbarOverflowID = setTimeout(function () { 8401 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") && fastdomEA.mutate(function () { 8402 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.overflowY = "auto"; 8403 eyeAble_shadowRoot.getElementById("mainIconID").src = 8404 eyeAble_imagePaths.mainIconFullPath 8405 }) 8406 }, 450) 8407} 8408 8409var eyeAble_mobileBottomPos = .2, eyeAble_hideMainIcon = !1; 8410 8411function eyeAble_checkOpenWindows() { 8412 return eyeAble_shadowRoot.getElementById("eyeAble_columID").matches(":hover") || eyeAble_shadowRoot.getElementById("eyeAble_CCPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_CCPageID")).display || eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_SettingsPageID")).display || eyeAble_shadowRoot.getElementById("eyeAbleColorWindow") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAbleColorWindow")).display || 8413 eyeAble_shadowRoot.getElementById("eyeAble_infoPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_infoPageID")).display || eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_magnifierContainerID")).display || eyeAble_takingScreenshot || eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID")).display || 8414 eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID") && "block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_ExtendedFontPageID")).display ? !1 : !0 8415} 8416 8417var eyeAble_recentlyClosed = !1; 8418 8419function eyeAble_retractIconbar(a, b) { 8420 a = void 0 === a ? 2E3 : a; 8421 b = void 0 === b ? !1 : b; 8422 if (eyeAble_blockClosing || eyeAble_extendIconbarDeadtime && !eyeAble_keyPressed && eyeAble_shadowRoot.activeElement !== eyeAble_shadowRoot.getElementById("closeIconBarID")) return !1; 8423 Number.isInteger(a) || (a = 2E3); 8424 if (eyeAble_checkOpenWindows() || b) -1 !== eyeAble_retractionTimeoutID && 0 === a && (clearTimeout(eyeAble_retractionTimeoutID), eyeAble_retractionTimeoutID = -1), -1 === eyeAble_retractionTimeoutID && (eyeAble_retractionTimeoutID = setTimeout(function () { 8425 if (!eyeAble_checkOpenWindows() && 8426 !b) return !1; 8427 !eyeAble_checkOpenWindows() && b && (eyeAble_closeCCpage(), eyeAble_closeSettingsPage(), eyeAble_closeInfoPage(), eyeAble_closeMoreFunctionsPage(), eyeAble_closeExtendedFontPage()); 8428 -1 !== eyeAble_toolbarOverflowID && (clearTimeout(eyeAble_toolbarOverflowID), eyeAble_toolbarOverflowID = -1); 8429 var c = eyeAble_iconSize + 15 + parseFloat(eyeAbleVariables.rightPosition); 8430 eyeAble_hideMainIcon && (c = 15 + parseFloat(eyeAbleVariables.rightPosition)); 8431 fastdomEA.mutate(function () { 8432 eyeAble_shadowRoot.getElementById("mainIconID").style.opacity = 8433 ""; 8434 eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customIconColor && (eyeAble_shadowRoot.getElementById("mainIconSVGID").style.display = "block", eyeAble_shadowRoot.getElementById("mainIconID").style.display = "none"); 8435 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty(eyeAbleVariables.sidePosition, c.toFixed(0) + "px", "important"); 8436 eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("height", eyeAble_iconSize.toFixed(0) + 8437 "px", "important"); 8438 eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("height", eyeAble_iconSize.toFixed(0) + "px", "important"); 8439 eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("width", eyeAble_iconSize.toFixed(0) + "px", "important"); 8440 eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("width", eyeAble_iconSize.toFixed(0) + "px", "important"); 8441 eyeAble_setMainIconTransform(); 8442 eyeAble_shadowRoot.getElementById("eyeAble_fixedHeaderToolbarID").classList.remove("eyeAble_headerFixedTopbar"); 8443 if (eyeAble_session_parameters.isMobile) (eyeAbleVariables.mobileBottomPosition.includes("%") && 15 < parseFloat(eyeAbleVariables.mobileBottomPosition) || eyeAbleVariables.mobileBottomPosition.includes("px") && parseFloat(eyeAbleVariables.mobileBottomPosition) > .15 * window.innerHeight || eyeAbleVariables.mobileBottomPosition.includes("calc")) && eyeAble_changeFixedBottomPosition(eyeAbleVariables.mobileBottomPosition); else if (eyeAbleVariables.topPosition.includes("%") && 15 < parseFloat(eyeAbleVariables.topPosition) || 8444 eyeAbleVariables.topPosition.includes("px") && parseFloat(eyeAbleVariables.topPosition) > .15 * window.innerHeight || eyeAbleVariables.topPosition.includes("calc")) 40 < parseFloat(eyeAbleVariables.topPosition) && (eyeAble_shadowRoot.getElementById("eyeAble_mainToolbarContentID").style.display = "none"), eyeAble_changeFixedTo
8444pPosition(eyeAbleVariables.topPosition), setTimeout(function () { 8445 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") || eyeAble_changeFixedTopPosition(eyeAbleVariables.topPosition) 8446 }, 8447 450); 8448 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.removeProperty("overflow-y"); 8449 for (var d = eyeAble_shadowRoot.querySelectorAll(".animeEyeAble"), e = 0; e < d.length; e++) d[e].classList.remove("animeEyeAbleExtended"); 8450 eyeAble_shadowRoot.getElementById("mainIconID").src = eyeAble_imagePaths.mainIconPath; 8451 eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("cursor"); 8452 eyeAble_removeTooltip(); 8453 "0" === eyeAbleVariables.iAble_Font_Offset && eyeAble_closeZoomBox(); 8454 eyeAble_recentlyClosed = !0; 8455 setTimeout(function () { 8456 eyeAble_recentlyClosed = 8457 !1 8458 }, 200); 8459 eyeAble_oldFocus ? (eyeAble_oldFocus.focus(), eyeAble_oldFocus = null) : eyeAble_shadowRoot.getElementById("eyeAble_columID").blur(); 8460 eyeAble_shadowRoot.getElementById("eyeAble_columID").scroll(0, 0); 8461 eyeAble_hideMainIcon && (eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "none"); 8462 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").setAttribute("aria-hidden", "true"); 8463 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").setAttribute("aria-hidden", "true"); 8464 d = eyeAble_shadowRoot.getElementById("eyeAble_columID").querySelectorAll("[aria-live]"); 8465 for (e = 0; e < d.length; e++) d[e].setAttribute("aria-live", "off"); 8466 eyeAble_setActiveCheckVis(); 8467 eyeAble_shadowRoot.getElementById("tabEnd").tabIndex = "-1"; 8468 eyeAble_shadowRoot.getElementById("tabStart").tabIndex = "-1" 8469 }) 8470 }, a)) 8471} 8472 8473function eyeAble_toggleMainToolbar() { 8474 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAbleVariables.minimizeIcon ? eyeAble_closeAll_arrow() : eyeAble_retractIconbar(0) : (eyeAbleVariables.minimizeIcon && (eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none", eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "block"), eyeAble_extendIconbar()) 8475} 8476 8477var eyeAble_notificationTimeoutID = -1; 8478 8479function eyeAble_createIconbarNotification() { 8480 var a = '<div class="eyeAbelIntroTooltip eyeAbleSkip" id="eyeAbleIntroNotification" style="display: none"> <span class="eyeAble_InfoText" id="eyeAble_IconBannerID" ealangid="introText">' + eyeAble_getMessage("introText") + "</span></div>"; 8481 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", a); 8482 !0 === eyeAble_session_parameters.isExtension && ("Free" === eyeAble_activeFeatures.id && (eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText = 8483 eyeAble_getMessage("introFree")), eyeAble_firstInstallFree && (eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText = eyeAble_getMessage("intro1hTrial")), eyeAble_pluginDetected && (eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText = eyeAble_getMessage("pluginHere"))); 8484 "1" !== eyeAble_getVar("Extended") && eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? fastdomEA.mutate(function () { 8485 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = 8486 "none" 8487 }) : fastdomEA.mutate(function () { 8488 eyeAble_updateNotifcationBannerPosition(); 8489 var b = eyeAble_session_parameters.isMobile ? eyeAble_iconSize + 15 + parseFloat(eyeAbleVariables.mobileRightPosition) : eyeAble_iconSize + 15 + parseFloat(eyeAbleVariables.rightPosition); 8490 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty(eyeAbleVariables.sidePosition, b.toString() + "px", "important"); 8491 eyeAble_notificationTimeoutID = setTimeout(function () { 8492 eyeAble_hideIconbarNotification(); 8493 eyeAble_notificationTimeoutID = 8494 -1 8495 }, 5E3) 8496 }) 8497} 8498 8499function eyeAble_updateNotifcationBannerPosition() { 8500 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification") && fastdomEA.measure(function () { 8501 var a = eyeAble_shadowRoot.getElementById("eyeAble_columID") && 0 < eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().width ? eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().top + 15 : parseFloat(eyeAbleVariables.topPosition) * Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0
8501) / 100 + 15; 8502 fastdomEA.mutate(function () { 8503 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.setProperty("top", 8504 a.toString() + "px", "important") 8505 }) 8506 }) 8507} 8508 8509function eyeAble_hideIconbarNotification() { 8510 fastdomEA.mutate(function () { 8511 eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display = "none" 8512 }) 8513} 8514 8515function eyeAble_setMainIconTransform() { 8516 var a = eyeAble_shadowRoot.getElementById("functionActiveID"); 8517 if (eyeAble_session_parameters.isMobile) { 8518 if (50 > eyeAble_iconSize) { 8519 var b = (50 - eyeAble_iconSize) / 2; 8520 eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("transform", "translate(" + b.toFixed(0) + "px,0)"); 8521 eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("transform", "translate(" + b.toFixed(0) + "px,0)") 8522 } 8523 b = (-.7 * eyeAble_iconSize + 42).toFixed(0) + "px"; 8524 a.style.left = b 8525 } else "right" === eyeAbleVariables.sidePosition ? 8526 (70 > eyeAble_iconSize && 60 <= eyeAble_iconSize ? (b = 70 - eyeAble_iconSize, eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("transform", "translate(" + b.toFixed(0) + "px,0)"), eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("transform", "translate(" + b.toFixed(0) + "px,0)")) : 60 > eyeAble_iconSize ? (b = 10 + (60 - eyeAble_iconSize) / 2, eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("transform", "translate(" + b.toFixed(0) + "px,0)"), eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("transform", 8527 "translate(" + b.toFixed(0) + "px,0)")) : (eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("transform"), eyeAble_shadowRoot.getElementById("mainIconSVGID").style.removeProperty("transform")), 70 > eyeAble_iconSize && (b = (-.9 * eyeAble_iconSize + 66).toFixed(0) + "px", a.style.left = b)) : (60 > eyeAble_iconSize ? (b = 36 * (1 - eyeAble_iconSize / 60), eyeAble_shadowRoot.getElementById("mainIconID").style.setProperty("transform", "translate(-" + b.toFixed(0) + "px,0)"), eyeAble_shadowRoot.getElementById("mainIconSVGID").style.setProperty("transform", 8528 "translate(-" + b.toFixed(0) + "px,0)")) : (eyeAble_shadowRoot.getElementById("mainIconID").style.removeProperty("transform"), eyeAble_shadowRoot.getElementById("mainIconSVGID").style.removeProperty("transform")), 70 > eyeAble_iconSize && (b = (.15 * eyeAble_iconSize - 7.5).toFixed(0) + "px", a.style.left = b)); 8529 70 > eyeAble_iconSize && (b = (.95 * eyeAble_iconSize - 6.5).toFixed(0) + "px", a.style.top = b, 60 > eyeAble_iconSize && (a.style.height = "20px")) 8530}; 8531 8532function eyeAble_createSettingsPage() { 8533 function a() { 8534 "tabEndSett" === this.id ? eyeAble_shadowRoot.getElementById("settingsCloseID").focus() : eyeAble_shadowRoot.querySelector("#minimizeIconSettingsID > input").focus() 8535 } 8536 8537 var b = ' <Section aria-labelledby="settingsWindowHeading" class="eyeAble_settings eyeAble_topFixedPosition eyeAbleSkip" id="eyeAble_RealSettingsPageID" tabindex="-1">\n <div aria-hidden="true" id="tabStartSett" class="eyeAtabClickable" tabindex="-1"></div> <div class="eyeAble_settings-header" style="min-width: 261px">\n <div class="eyeAble_setting-icon">\n <img eyeAbleSkipNav="true" src="' + 8538 eyeAble_imagePaths.settingsPath + '" alt="">\n </div>\n <div style="min-width: 165px; text-align: center;"> <span id="settingsWindowHeading" class="eyeAble_setting-text" ealangid="settingsText">' + eyeAble_getMessage("settingsText") + '</span>\n </div>\n <div> <img eyeAbleSkipNav="true" role="button" tabindex="0" class="eyeAble_smallIconHeader eyeAtabClickable noHide" id="settingsCloseID" src="' + eyeAble_imagePaths.xPath + '" alt="' + 8539 eyeAble_getMessage("altCloseWindow") + '" eaAltLangID="altCloseWindow" style="margin-left: 7px;font-size: 25px;margin-top: 5px;"></div> </div> </div>\n <div class="eyeAble_settings-content" style="overflow: visible">\n <div class="eyeAble_settings-block eyeAble_settings-block-location">\n <div class="eyeAble_zoombox">\n <div class="eyeAble_settings-block-feature" style="margin-top: 0">\n <label class="eyeAble_wohnort" for="languages" ealangid="SettLang" style="font-size: 17px;">' + 8540 eyeAble_getMessage("SettLang") + '</label>\n <select class="eyeAtabClickable" tabindex="-1" id="languages">\n <option value="af">Afrikaans</option>\n <option value="id">Bahasa Indonesia</option>\n <option value="ms">Bahasa Melayu</option>\n <option value="cs">\u010de\u0161tina</option>\n <option value="zh">\u4e2d\u6587</option>\n <option value="da">Dansk</option>\n <option value="de">
8540Deutsch</option>\n <option value="et">Eesti keel</option>\n <option value="en">English</option>\n <option value="el">\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac</option>\n <option value="es">Espa\u00f1ol</option>\n <option value="fr">Fran\u00e7ais</option>\n <option value="hi">\u0939\u093f\u0928\u094d\u0926\u0940</option>\n <option value="xh">isiXhosa</option>\n <option value="zu">isiZulu</option>\n <option value="it">Italiano</option>\n <option value="ja">\u65e5\u672c\u8a9e</option>\n <option value="ko">\ud55c\uad6d\uc758</option>\n <option value="lv">Latviski</option>\n <option value="lt">Lietuvi\u0173</option>\n <option value="no">Norsk</option>\n <option value="nl">Nederlands</option>\n <option value="uk">\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0438\u0439</option>\n <option value="pl">Polski</option>\n <option value="pt">Portugu\u00eas</option>\n <option value="ru">P\u0443\u0341\u0441\u0441\u043a\u0438\u0439</option>\n <option value="sr">\u0421\u0440\u043f\u0441\u043a\u0438</option>\n <option value="sk">Slovensk\u00fd</option>\n <option value="st">Sesotho</option>\n <option value="fi">Suomi</option>\n <option value="sv">Svenska</option>\n <option value="tr">T\u00fcrk\u00e7e</option>\n <option value="ts">Xitsonga</option>\n </select>\n </div>\n </div>\n </div>\n <div class="eyeAble_accessible-linkbox eyeAble_radical-border" style="padding: 15px 0 20px; justify-content: space-between; border-bottom: 2px solid var(--border-color);" id="shortcutSettingsID">\n <label for="shortcutsBox" class="shortcutsLabel" ealangid="SettShort"> ' + 8541 eyeAble_getMessage("SettShort") + '</label>\n <input class="eA_checkmark" type="checkbox" id="shortcutsBox" checked>\n </div> <div class="eyeAble_accessible-linkbox eyeAble_radical-border" style="padding: 15px 0 20px; justify-content: space-between;border-bottom: 2px solid var(--border-color);" id="crossDomainSettingsID">\n <label for="crossDomainBox" class="shortcutsLabel" ealangid="SettCrossDomain"> ' + eyeAble_getMessage("SettCrossDomain") + 8542 '</label>\n <input class="eA_checkmark" type="checkbox" id="crossDomainBox">\n </div> <div class="eyeAble_accessible-linkbox eyeAble_radical-border" style="padding: 15px 0 20px; justify-content: space-between;border-bottom: 2px solid var(--border-color);" id="hideIconSettingsID">\n <label for="hideIconBox" class="shortcutsLabel" ealangid="SettHideIcon"> ' + eyeAble_getMessage("SettHideIcon") + '</label>\n <input class="eA_checkmark" type="checkbox" id="hideIconBox">\n </div> <div class="eyeAble_accessible-linkbox eyeAble_radical-border" style="padding: 15px 0 20px; justify-content: space-between" id="minimizeIconSettingsID">\n <label for="minimizeIconBox" class="shortcutsLabel" ealangid="SettMinimizeIcon"> ' + 8543 eyeAble_getMessage("SettMinimizeIcon") + '</label>\n <input class="eA_checkmark" type="checkbox" id="minimizeIconBox">\n </div> </div>\n <div aria-hidden="true" id="tabEndSett" class="eyeAtabClickable" tabindex="0"></div> </Section>'; 8544 eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend", b); 8545 eyeAble_shadowRoot.getElementById("tabEndSett").addEventListener("focus", a); 8546 eyeAble_shadowRoot.getElementById("tabStartSett").addEventListener("focus", 8547 a); 8548 eyeAble_shadowRoot.getElementById("settingsCloseID").addEventListener("click", eyeAble_toggleSettingsPage); 8549 eyeAble_shadowRoot.getElementById("languages").addEventListener("change", eyeAble_languageChanged); 8550 eyeAble_shadowRoot.getElementById("shortcutsBox").addEventListener("change", eyeAble_toggleShortcutsActive); 8551 eyeAble_shadowRoot.getElementById("hideIconBox").addEventListener("change", eyeAble_toggleHideIcon); 8552 eyeAble_shadowRoot.getElementById("crossDomainBox").addEventListener("change", eyeAble_toggleCrossStorage); 8553 eyeAble_shadowRoot.getElementById("minimizeIconBox").addEventListener("change", eyeAble_toggleMinimizeIcon); 8554 if (eyeAble_session_parameters.isMobile) { 8555 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("right", eyeAbleVariables.mobileRightPosition, "important"); 8556 b = eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().height; 8557 var c = eyeAbleVariables.mobileBottomPosition.includes("%") ? parseInt(eyeAbleVariables.mobileBottomPosition) : 100 * parseInt(eyeAbleVariables.mobileBottomPosition) / 8558 window.innerHeight; 8559 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("top", "max(0%, calc(" + (100 - c).toFixed(0) + "% - " + b.toFixed(0) + "px))", "important"); 8560 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("height", "fit-content"); 8561 eyeAble_shadowRoot.getElementById("shortcutSettingsID").style.display = "none" 8562 } 8563 eyeAble_changeSelectedValue("languages", eyeAbleVariables.UserLang); 8564 !1 === eyeAbleVariables.ShortcutsActive && (eyeAble_shadowRoot.getElementById("shortcutsBox").checked = 8565 !1); 8566 !0 === eyeAbleVariables.minimizeIcon && (eyeAble_shadowRoot.getElementById("minimizeIconBox").checked = !0); 8567 eyeAble_pluginLocalConfig && !0 === eyeAble_pluginLocalConfig.disableAllShortcuts && (eyeAble_shadowRoot.getElementById("shortcutSettingsID").style.display = "none"); 8568 0 < document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID").length && (eyeAble_shadowRoot.getElementById("hideIconSettingsID").style.display = "none"); 8569 eyeAble_hideMainIcon && (eyeAble_shadowRoot.getElementById("hideIconBox").checked = 8570 !0); 8571 localStorage.getItem("eyeAbleCrossStorage") && (eyeAble_shadowRoot.getElementById("crossDomainBox").checked = !0); 8572 if (eyeAble_isLocalHosting || !eyeAble_session_parameters.isPlugin || eyeAble_externalStorageIframe) eyeAble_shadowRoot.getElementById("crossDomainSettingsID").style.display = "none"; 8573 eyeAble_shadowRoot.getElementById("shortcutSettingsID").addEventListener("mouseenter", eyeAble_createTooltip); 8574 eyeAble_shadowRoot.getElementById("hideIconSettingsID").addEventListener("mouseenter", eyeAble_createTooltip); 8575 eyeAble_shadowRoot.getElementById("crossDomainSettingsID").addEventListener("mouseenter", eyeAble_createTooltip); 8576 eyeAble_shadowRoot.getElementById("minimizeIconSettingsID").addEventListener("mouseenter", eyeAble_createTooltip) 8577} 8578 8579function eyeAble_toggleSettingsPage() { 8580 if (!eyeAble_settingsTopIconEnabled) return !1; 8581 eyeAble_closeAllOtherPages("eyeAble_RealSettingsPageID"); 8582 if (eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID")) if ("block" === getComputedStyle(eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID")).display) eyeAble_closeSettingsPage(), eyeAble_hideClickableElements("eyeAble_RealSettingsPageID"), eyeAble_showFeedbackNotification(eyeAble_getMessage("settClosed"), "ALT + 5"), setTimeout(function () { 8583 eyeAble_removeTooltip() 8584 }, 8585 100); else { 8586 if (eyeAble_session_parameters.isMobile) { 8587 var a = eyeAble_shadowRoot.getElementById("eyeAble_columID").getBoundingClientRect().height; 8588 var b = eyeAbleVariables.mobileBottomPosition.includes("%") ? parseInt(eyeAbleVariables.mobileBottomPosition) : 100 * parseInt(eyeAbleVariables.mobileBottomPosition) / window.innerHeight; 8589 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("top", "max(0%, calc(" + (100 - b).toFixed(0) + "% - " + a.toFixed(0) + "px))", "important") 8590 } 8591 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("display", 8592 "block"); 8593 eyeAble_showClickableElements("eyeAble_RealSettingsPageID"); 8594 eyeAble_shadowRoot.getElementById("settingsCloseID").focus(); 8595 eyeAble_removeTooltip(); 8596 setTimeout(function () { 8597 eyeAble_removeTooltip() 8598 }, 100); 8599 eyeAble_showFeedbackNotification(eyeAble_getMessage("settOpened"), "ALT + 5") 8600 } else eyeAble_createSettingsPage(), eyeAble_showClickableElements("eyeAble_RealSettingsPageID"), eyeAble_shadowRoot.getElementById("settingsCloseID").focus(), eyeAble_removeTooltip(), eyeAble_showFeedbackNotification(eyeAble_getMessage("settOpened"), 8601 "ALT + 5") 8602} 8603 8604var eyeAble_stopRetract = !1; 8605 8606function eyeAble_closeSettingsPage() { 8607 eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID") && (eyeAble_session_parameters.isMobile && (eyeAble_stopRetract = !0), eyeAble_shadowRoot.getElementById("eyeAble_RealSettingsPageID").style.setProperty("display", "none"), eyeAble_keyPressed ? eyeAble_shadowRoot.getElementById("settingsTopbarID").focus() : eyeAble_shadowRoot.getElementById("eyeAble_columID").focus(), eyeAble_hideClickableElements("eyeAble_RealSettingsPageID")) 8608} 8609 8610function eyeAble_toggleShortcutsActive() { 8611 eyeAbleVariables.ShortcutsActive ? (eyeAble_shadowRoot.getElementById("shortcutsBox") && (eyeAble_shadowRoot.getElementById("shortcutsBox").checked = !1), eyeAble_setVar("ShortcutsActive", !1)) : (eyeAble_setVar("ShortcutsActive", !0), eyeAble_shadowRoot.getElementById("shortcutsBox") && (eyeAble_shadowRoot.getElementById("shortcutsBox").checked = !0)) 8612} 8613 8614function eyeAble_toggleHideIcon() { 8615 eyeAble_hideMainIcon ? (localStorage.removeItem("eyeAbleHideIcon"), eyeAble_hideMainIcon = !1, eyeAble_shadowRoot.getElementById("hideIconBox") && (eyeAble_shadowRoot.getElementById("hideIconBox").checked = !1), eyeAble_shadowRoot.getElementById("hideForMeID").innerText = eyeAble_getMessage("hideForMe"), eyeAble_shadowRoot.getElementById("hideForMeID").setAttribute("aria-pressed", "false")) : (localStorage.setItem("eyeAbleHideIcon", "true"), eyeAble_hideMainIcon = !0, eyeAble_shadowRoot.getElementById("hideIconBox") && 8616 (eyeAble_shadowRoot.getElementById("hideIconBox").checked = !0), eyeAble_shadowRoot.getElementById("hideForMeID").innerText = eyeAble_getMessage("showForMe"), eyeAble_shadowRoot.getElementById("hideForMeID").setAttribute("aria-pressed", "true")) 8617} 8618 8619function eyeAble_toggleCrossStorage() { 8620 localStorage.getItem("eyeAbleCrossStorage") ? localStorage.removeItem("eyeAbleCrossStorage") : localStorage.setItem("eyeAbleCrossStorage", "true") 8621} 8622 8623function eyeAble_toggleMinimizeIcon() { 8624 eyeAbleVariables.minimizeIcon ? eyeAble_setVar("minimizeIcon", !1) : eyeAble_setVar("minimizeIcon", !0) 8625};/* 8626
8627 Following Third Party Libraries are used in the Eye-Able Software: 8628 Fastdom - MIT License - Copyright (c) 2016 Wilson Page [email protected] 8629 freezeframe.js - MIT License - Copyright (c) 2019 Christopher Antonellis & @ctrl-freaks 8630 mark.js - MIT License - Copyright (c) 2014?2018, Julian K?hnel 8631 Pickr 1.8.0 MIT | https://github.com/Simonwep/pickr 8632 NanoPop 2.1.0 MIT | https://github.com/Simonwep/nanopop 8633 sha1.js - MIT License - Chen, Yi-Cyuan 2014-2017 8634 MIT License : https://opensource.org/licenses/mit-license.php 8635 8636 Suncalc.js BSD 2-Clause Copyright (c) 2014, Vladimir Agafonkin - License: https://github.com/mourner/suncalc/blob/master/LICENSE 8637*/ 8638!function (a) { 8639 function b() { 8640 this.reads = []; 8641 this.writes = []; 8642 this.raf = f.bind(a) 8643 } 8644 8645 function c(h) { 8646 h.scheduled || (h.scheduled = !0, h.raf(d.bind(null, h))) 8647 } 8648 8649 function d(h) { 8650 var g = h.writes, l = h.reads; 8651 try { 8652 l.length; 8653 for (var m; m = l.shift();) m(); 8654 g.length; 8655 for (var q; q = g.shift();) q() 8656 } catch (r) { 8657 var n = r 8658 } 8659 if (h.scheduled = !1, (l.length || g.length) && c(h), n) { 8660 if (n.message, !h.catch) throw n; 8661 h.catch(n) 8662 } 8663 } 8664 8665 function e(h, g) { 8666 g = h.indexOf(g); 8667 return !!~g && !!h.splice(g, 1) 8668 } 8669 8670 var f = a.requestAnimationFrame || a.webkitRequestAnimationFrame || a.mozRequestAnimationFrame || 8671 a.msRequestAnimationFrame || function (h) { 8672 return setTimeout(h, 16) 8673 }; 8674 b.prototype = { 8675 constructor: b, measure: function (h, g) { 8676 h = g ? h.bind(g) : h; 8677 return this.reads.push(h), c(this), h 8678 }, mutate: function (h, g) { 8679 h = g ? h.bind(g) : h; 8680 return this.writes.push(h), c(this), h 8681 }, clear: function (h) { 8682 return e(this.reads, h) || e(this.writes, h) 8683 }, extend: function (h) { 8684 if ("object" != typeof h) throw Error("expected object"); 8685 var g = Object.create(this), l; 8686 for (l in h) h.hasOwnProperty(l) && (g[l] = h[l]); 8687 return g.fastdomEA = this, g.initialize && g.initialize(), g 8688 }, 8689 catch: null 8690 }; 8691 a.fastdomEA = a.fastdomEA || new b 8692}("undefined" != typeof window ? window : this); 8693var $jscomp$templatelit$m516772255$0 = $jscomp.createTemplateTagFirstArg(['\n <div class="', " ", '">\n </div>\n ']), 8694 $jscomp$templatelit$m516772255$1 = $jscomp.createTemplateTagFirstArg(['\n <canvas class="', '" width="0" height="0">\n </canvas>\n ']), 8695 $jscomp$templatelit$m516772255$2 = $jscomp.createTemplateTagFirstArg(['\n <div class="', '">\n </div>\n ']); 8696!function (a, b) { 8697 a.Freezeframe = b() 8698}(window, function () { 8699 return function (a) { 8700 function b(d) { 8701 if (c[d]) return c[d].exports; 8702 var e = c[d] = {i: d, l: !1, exports: {}}; 8703 return a[d].call(e.exports, e, e.exports, b), e.l = !0, e.exports 8704 } 8705 8706 var c = {}; 8707 return b.m = a, b.c = c, b.d = function (d, e, f) { 8708 b.o(d, e) || Object.defineProperty(d, e, {enumerable: !0, get: f}) 8709 }, b.r = function (d) { 8710 "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(d, Symbol.toStringTag, {value: "Module"}); 8711 Object.defineProperty(d, "__esModule", {value: !0}) 8712 }, b.t = function (d, 8713 e) { 8714 if ((1 & e && (d = b(d)), 8 & e) || 4 & e && "object" == typeof d && d && d.__esModule) return d; 8715 var f = Object.create(null); 8716 if (b.r(f), Object.defineProperty(f, "default", { 8717 enumerable: !0, 8718 value: d 8719 }), 2 & e && "string" != typeof d) for (var h in d) b.d(f, h, function (g) { 8720 return d[g] 8721 }.bind(null, h)); 8722 return f 8723 }, b.n = function (d) { 8724 var e = d && d.__esModule ? function () { 8725 return d.default 8726 } : function () { 8727 return d 8728 }; 8729 return b.d(e, "a", e), e 8730 }, b.o = function (d, e) { 8731 return Object.prototype.hasOwnProperty.call(d, e) 8732 }, b.p = "examples", b(b.s = 4) 8733 }([function (a, b, c) { 8734 var d, e; 8735 !function (f, 8736 h) { 8737 d = [c(2)]; 8738 void 0 === (e = function (g) { 8739 return function (l, m) { 8740 function q(L, N) { 8741 for (var G in N) L[G] = N[G]; 8742 return L 8743 } 8744 8745 function n(L, N, G) { 8746 if (!(this instanceof n)) return new n(L, N, G); 8747 var w, F = L; 8748 ("string" == typeof L && (F = document.querySelectorAll(L)), F) ? (this.elements = (w = F, Array.isArray(w) ? w : "object" == typeof w && "number" == typeof w.length ? I.call(w) : [w]), this.options = q({}, this.options), "function" == typeof N ? G = N : q(this.options, N), G && this.on("always", G), this.getImages(), A && (this.jqDeferred = new A.Deferred), setTimeout(this.check.bind(this))) : 8749 E.error("Bad element for imagesLoaded " + (F || L)) 8750 } 8751 8752 function r(L) { 8753 this.img = L 8754 } 8755 8756 function v(L, N) { 8757 this.url = L; 8758 this.element = N; 8759 this.img = new Image 8760 } 8761 8762 var A = l.jQuery, E = l.console, I = Array.prototype.slice; 8763 n.prototype = Object.create(m.prototype); 8764 n.prototype.options = {}; 8765 n.prototype.getImages = function () { 8766 this.images = [];
8767 this.elements.forEach(this.addElementImages, this) 8768 }; 8769 n.prototype.addElementImages = function (L) { 8770 "IMG" == L.nodeName && this.addImage(L); 8771 !0 === this.options.background && this.addElementBackgroundImages(L); 8772 var N = L.nodeType; 8773 if (N && H[N]) { 8774 var G = L.querySelectorAll("img"); 8775 for (N = 0; N < G.length; N++) this.addImage(G[N]); 8776 if ("string" == typeof this.options.background) for (L = L.querySelectorAll(this.options.background), N = 0; N < L.length; N++) this.addElementBackgroundImages(L[N]) 8777 } 8778 }; 8779 var H = {1: !0, 9: !0, 11: !0}; 8780 return n.prototype.addElementBackgroundImages = function (L) { 8781 var N = getComputedStyle(L); 8782 if (N) for (var G = /url\((['"])?(.*?)\1\)/gi, w = G.exec(N.backgroundImage); null !== w;) (w = w && w[2]) && this.addBackground(w, L), w = G.exec(N.backgroundImage) 8783 }, n.prototype.addImage = 8784 function (L) { 8785 L = new r(L); 8786 this.images.push(L) 8787 }, n.prototype.addBackground = function (L, N) { 8788 L = new v(L, N); 8789 this.images.push(L) 8790 }, n.prototype.check = function () { 8791 function L(G, w, F) { 8792 setTimeout(function () { 8793 N.progress(G, w, F) 8794 }) 8795 } 8796 8797 var N = this; 8798 this.progressedCount = 0; 8799 this.hasAnyBroken = !1; 8800 this.images.length ? this.images.forEach(function (G) { 8801 G.once("progress", L); 8802 G.check() 8803 }) : this.complete() 8804 }, n.prototype.progress = function (L, N, G) { 8805 this.progressedCount++; 8806 this.hasAnyBroken = this.hasAnyBroken || !L.isLoaded; 8807 this.emitEvent("progress", [this, 8808 L, N]); 8809 this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, L); 8810 this.progressedCount == this.images.length && this.complete(); 8811 this.options.debug && E && E.log("progress: " + G, L, N) 8812 }, n.prototype.complete = function () { 8813 var L = this.hasAnyBroken ? "fail" : "done"; 8814 if (this.isComplete = !0, this.emitEvent(L, [this]), this.emitEvent("always", [this]), this.jqDeferred) this.jqDeferred[this.hasAnyBroken ? "reject" : "resolve"](this) 8815 }, r.prototype = Object.create(m.prototype), r.prototype.check = function () { 8816 this.getIsImageComplete() ? 8817 this.confirm(0 !== this.img.naturalWidth, "naturalWidth") : (this.proxyImage = new Image, this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.proxyImage.src = this.img.src) 8818 }, r.prototype.getIsImageComplete = function () { 8819 return this.img.complete && this.img.naturalWidth 8820 }, r.prototype.confirm = function (L, N) { 8821 this.isLoaded = L; 8822 this.emitEvent("progress", [this, this.img, N]) 8823 }, r.prototype.handleEvent = function (L) { 8824 var N = 8825 "on" + L.type; 8826 this[N] && this[N](L) 8827 }, r.prototype.onload = function () { 8828 this.confirm(!0, "onload"); 8829 this.unbindEvents() 8830 }, r.prototype.onerror = function () { 8831 this.confirm(!1, "onerror"); 8832 this.unbindEvents() 8833 }, r.prototype.unbindEvents = function () { 8834 this.proxyImage.removeEventListener("load", this); 8835 this.proxyImage.removeEventListener("error", this); 8836 this.img.removeEventListener("load", this); 8837 this.img.removeEventListener("error", this) 8838 }
8838, v.prototype = Object.create(r.prototype), v.prototype.check = function () { 8839 this.img.addEventListener("load", 8840 this); 8841 this.img.addEventListener("error", this); 8842 this.img.src = this.url; 8843 this.getIsImageComplete() && (this.confirm(0 !== this.img.naturalWidth, "naturalWidth"), this.unbindEvents()) 8844 }, v.prototype.unbindEvents = function () { 8845 this.img.removeEventListener("load", this); 8846 this.img.removeEventListener("error", this) 8847 }, v.prototype.confirm = function (L, N) { 8848 this.isLoaded = L; 8849 this.emitEvent("progress", [this, this.element, N]) 8850 }, n 8851 }(f, g) 8852 }.apply(b, d)) || (a.exports = e) 8853 }("undefined" != typeof window ? window : this) 8854 }, function (a, b, c) { 8855 (a.exports = c(3)(!1)).push([a.i, 8856 '.ff-container{display:inline-block;position:relative}.ff-container .ff-image{z-index:0;vertical-align:top;opacity:0}.ff-container .ff-canvas{display:inline-block;position:absolute;top:0;left:0;pointer-events:none;z-index:1;vertical-align:top;opacity:0}.ff-container .ff-canvas.ff-canvas-ready{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;opacity:1}.ff-container.ff-active .ff-image{opacity:1}.ff-container.ff-active .ff-canvas.ff-canvas-ready{-webkit-transition:none;-o-transition:none;-moz-transition:none;transition:none;opacity:0}.ff-container.ff-active .ff-overlay{display:none}.ff-container.ff-inactive .ff-canvas.ff-canvas-ready{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;opacity:1}.ff-container.ff-inactive .ff-image{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;-webkit-transition-delay:170ms;-moz-transition-delay:170ms;-o-transition-delay:170ms;transition-delay:170ms;opacity:0}.ff-container.ff-responsive{width:100%}.ff-container.ff-responsive .ff-image,.ff-container.ff-responsive .ff-canvas{width:100%}.ff-container.ff-loading-icon:before{content:"";position:absolute;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSc1MHB4JyBoZWlnaHQ9JzUwcHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBjbGFzcz0idWlsLXNwaW4iPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJub25lIiBjbGFzcz0iYmsiPjwvcmVjdD48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCA1MCkiPjxnIHRyYW5zZm9ybT0icm90YXRlKDApIHRyYW5zbGF0ZSgzNCAwKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwcyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBmcm9tPSIxLjUiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9jaXJjbGU+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDQ1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC4xMnMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuMTJzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSg5MCkgdHJhbnNsYXRlKDM0IDApIj48Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iOCIgZmlsbD0iI2ZmZmZmZiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgZnJvbT0iMSIgdG89IjAuMSIgYmVnaW49IjAuMjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjI1cyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZVRyYW5zZm9ybT48L2NpcmNsZT48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTM1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC4zN3MiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuMzdzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgxODApIHRyYW5zbGF0ZSgzNCA
8856wKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgyMjUpIHRyYW5zbGF0ZSgzNCAwKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwLjYycyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBmcm9tPSIxLjUiIHRvPSIxIiBiZWdpbj0iMC42MnMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9jaXJjbGU+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCkgdHJhbnNsYXRlKDM0IDApIj48Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iOCIgZmlsbD0iI2ZmZmZmZiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgZnJvbT0iMSIgdG89IjAuMSIgYmVnaW49IjAuNzVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjc1cyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZVRyYW5zZm9ybT48L2NpcmNsZT48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzE1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC44N3MiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuODdzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48L2c+PC9zdmc+");background-position:center center;background-repeat:no-repeat;height:46px;width:46px;z-index:3;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.ff-container .ff-overlay{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABeCAQAAAAA22vlAAAGFklEQVR42t2ce0yVdRjHP9zlKnfQAwoqV80bImCR90tGhJmShVOxVFJBrdSWVmvmnJlSm2ZbWwunlc4ZOf5IV7NJ84KmFpmZioiKigoKyPWct72vJ4dj0Lm8t9Nz/jt/fd73/L6/5/v8fs9z4H8VTjjhjAuu5o8LLtJ3DoEuYnvghS89pY8PnrjjgrPeH0BEd8fbEHRpaVOZqVUQ2m/cLfomGX+8pAfQ8S8gonvglx/TeEToEKbW69vnD6Annrjp9QEevnU/Q0RDmdAp2m6ffSs0DD964KrHBeSEK96EnlgtdBGN5T9kEYQPHvp7AGc8CCCq7ozQTdzdv2U4AXjrTQEueBFGorFN6DaMzZWFU/t2UIAuwhVfIkkSLIiW6lOLfULx1Y8C3PAnmjTBwmg4UTyFQLzx0MMCcieQAaQLlofp1u73B+sjB7gTRCyjBavCWF+xPs2gvQJE+DjGCFZH8+WjuQRrqwB3gm2DF+P+4Z1jJQVotIDsghcEk7H6q4I4/M02TuUHsBNejPa6c2sTemlhImSAF6Pp/M/ZkgJUNREywYtRe3B7mroKkBFetNFXP5vTXz0bLSu8ZKNr/nhDLRstO7xko39Tx0YrAi/G7e+Vt9GKwYs2uqowK0pJE6EgvKSAG7/nK2ejFYaXbPSpkgxlFKACvKSAfR8Pk18BKsELgrGpcovchaRq8IJUSJ5eIqcCVIWXFHBy/1QC5VGA6vCii7i9d+NQOQpJLeBFBTy4vMl+BWgELyng2q95hNijAA3hJQWUPTpKcbV+AWkMLylgzwdDbFOA9vCiAhovb5zQx3oF6AJeUkDVyQXWHqXoBl5SwLF9k6w5TNQVvHSY+K3lh4l6gxcV0FCxIc1gSSGpQ3hJAZWl2QTghVt3+DqFF3+AMwUE4SXt/w4HL5hatoonoZ5db546hheEq3sQ1767Q8I33yKGYOndOx68IDCE3vg4JLypnWRE2+DqgPC3K0glGn+HhC8pIpUoh3zzd24aZpJEJL4OB3+vNnMlExlEON4OJViTUFqWsJwsUulHID1wdhj4C1XZn7KA6aSTQDg+XRsEncHX3lu323k5c3medAYiXlR7OIQ9aG3bfSjobRaQzWRSiMeAv2SL9W/MjpWnrOd1csggnSH049+rIb37+crq3M/JZw7TGEcScRgsu1XUHL6+cfN3riuYzwwmkkIifSw/iNIUvt1Y/EvkWhbxEs/wJE8QTZg1ByAawp/+a9xHLGY2mYxmGAPoZe31g0bw1TUFX5LPPGmVjyCOCFsufjSAf9C0vcTzTV5lJpNJJZG+hNh26awyvNF08PiA91jEyzzLUwyWtkR/W6/7VYX/81JmIUukVT6GYcTQ275GC9Xga2rX7GQZuUxnAsnEE2l/k5cq8M0tRQd7rmKBtMrTGEQUoXK0VigObxIOnxq8jjxeMSf+/oTL1dioMPzFqllbWcocshhDErGWJn7N4evurxftbS4vMpGRJNBH7lZGheDb2vYcChHtrZj4R0mrPEz+/g9F4MvOjtpgtrdPM5T+9FKmfVd2+Gs3874gn7mP7G3Eo/tuJ123rDQ2bdvvISb+GUyy1t5qCm80HTje710WMYuptthbDeHPVTxK/KPNiV+FMQ0Z4O/Urdn1WOKPIFidARk74Vtbd/0YsPqxxB+iXlexXfBHy0d82CnxezpAO+6V6nnbzYl/rPyJX0H4hsbC4g4VvwKJXyF4o7HkSF87Kn4N4csvTNncqeL30m7swuKBl5q7q3ZQwDxeYLztFb/c8LGM/q/xuuaWogO+K3nNXPEPtL3ilxdeGvK6fr479NLTUi0kVvwPD0HDba/45QzzeN2ObV2BV1zL2dahForRYkvsKsyDjZ7TrvzdGfxe/aa9zuKWqFgtZF+YR0oZH7/w4oWO4O3txaWGd1iobC1kX5iHeUkmwy33k68vXWlvF4S6+p/Kxm0gjxyeU7YWsi/MY9TEkUYGOeSxjBXks4jZZHU6BNXZGLt5gJ1exJLMeDKZwUymk8E4RipfC8mB74EfoUSRyHBSSGUkQ4nX4yrv6u17E0AYEUQRTV8MhDjCnzbgaH+X8Q8RGKy7dFBuqQAAAABJRU5ErkJggg==");background-repeat:no-repeat;max-width:94px;max-height:94px;position:absolute;
8856left:0%;right:0%;top:0%;bottom:0%;margin:auto;-webkit-background-size:contain;-moz-background-size:contain;background-size:contain;background-position:center;pointer-events:none;z-index:100}', 8857 ""]) 8858 }, function (a, b, c) { 8859 var d, e; 8860 "undefined" != typeof window && window; 8861 void 0 === (e = "function" == typeof (d = function () { 8862 function f() { 8863 } 8864 8865 var h = f.prototype; 8866 return h.on = function (g, l) { 8867 if (g && l) { 8868 var m = this._events = this._events || {}; 8869 g = m[g] = m[g] || []; 8870 return -1 == g.indexOf(l) && g.push(l), this 8871 } 8872 }, h.once = function (g, l) { 8873 if (g && l) { 8874 this.on(g, l); 8875 var m = this._onceEvents = this._onceEvents || {}; 8876 return (m[g] = m[g] || {})[l] = !0, this 8877 } 8878 }, h.off = function (g, l) { 8879 if ((g = this._events && this._events[g]) && g.length) return l = g.indexOf(l), -1 != l && g.splice(l, 1), 8880 this 8881 }, h.emitEvent = function (g, l) { 8882 var m = this._events && this._events[g]; 8883 if (m && m.length) { 8884 m = m.slice(0); 8885 l = l || []; 8886 for (var q = this._onceEvents && this._onceEvents[g], n = 0; n < m.length; n++) { 8887 var r = m[n]; 8888 q && q[r] && (this.off(g, r), delete q[r]); 8889 r.apply(this, l) 8890 } 8891 return this 8892 } 8893 }, h.allOff = function () { 8894 delete this._events; 8895 delete this._onceEvents 8896 }, f 8897 }) ? d.call(b, c, b, a) : d) || (a.exports = e) 8898 }, function (a, b, c) { 8899 a.exports = function (d) { 8900 var e = []; 8901 return e.toString = function () { 8902 return this.map(function (f) { 8903 var h = function (g, l) { 8904 var m = g[1] || "", q = g[3]; 8905 if (!q) return m; 8906 if (l && "function" == typeof btoa) return g = (n = q, "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(n)))) + " */"), n = q.sources.map(function (r) { 8907 return "/*# sourceURL=" + q.sourceRoot + r + " */" 8908 }), [m].concat(n).concat([g]).join("\n"); 8909 var n; 8910 return [m].join("\n") 8911 }(f, d); 8912 return f[2] ? "@media " + f[2] + "{" + h + "}" : h 8913 }).join("") 8914 }, e.i = function (f, h) { 8915 "string" == typeof f && (f = [[null, f, ""]]); 8916 for (var g = {}, l = 0; l < this.length; l++) { 8917 var m = this[l][0]; 8918 null != m && (g[m] = 8919 !0) 8920 } 8921 for (l = 0; l < f.length; l++) m = f[l], null != m[0] && g[m[0]] || (h && !m[2] ? m[2] = h : h && (m[2] = "(" + m[2] + ") and (" + h + ")"), e.push(m)) 8922 }, e 8923 } 8924 }, function (a, b, c) { 8925 function d(k) { 8926 if (Array.isArray(k)) { 8927 for (var p = 0, t = Array(k.length); p < k.length; p++) t[p] = k[p]; 8928 return t 8929 } 8930 return Array.from(k) 8931 } 8932 8933 c.r(b); 8934 var e; 8935 a = c(0); 8936 var f = c.n(a); 8937 !function (k) { 8938 k.START = "start"; 8939 k.STOP = "stop"; 8940 k.TOGGLE = "toggle" 8941 }(e || (e = {})); 8942 var h = function (k, p) { 8943 for (var t = [], z = 1; z < arguments.length; ++z) t[z - 1] = arguments[z]; 8944 console.error.apply(console, ["\u2728Freezeframe: " + k + "\u2728"].concat($jscomp.arrayFromIterable(t))) 8945 }, 8946 g = function (k) { 8947 return "string" == typeof k ? document.querySelectorAll(k) : k 8948 }, l = function (k, p, t) { 8949 return Array.from(k instanceof Element ? [k] : k).reduce(function (z, y) { 8950 if (y instanceof HTMLImageElement) z.push(y), "gif" !== y.src.split(".").pop().toLowerCase().substring(0, 3) && t.warnings && function (D, K) { 8951 for (var u = [], x = 1; x < arguments.length; ++x) u[x - 1] = arguments[x]; 8952 console.warn.apply(console, ["\u2728Freezeframe: " + D + "\u2728"].concat($jscomp.arrayFromIterable(u))) 8953 }("Image does not appear to be a gif", y); else { 8954 var B = y.querySelectorAll("img"); 8955 B.length ? z = z.concat(Array.from(B)) : h("Invalid element", y) 8956 } 8957 return z 8958 }, []) 8959 }, m = function (k) { 8960 return [].concat($jscomp.arrayFromIterable(new Set(k))) 8961 }, q = function (k) { 8962 var p = window.document.createElement("div"); 8963 p.innerHTML = k; 8964 k = p.childNodes; 8965 return 1 < k.length ? k : k[0] 8966 }, n, r, v = function () { 8967 function k(p, t) { 8968 for (var z = 0; z < t.length; z++) { 8969 var y = t[z]; 8970 y.enumerable = y.enumerable || !1; 8971 y.configurable = !0; 8972 "value" in y && (y.writable = !0); 8973 Object.defineProperty(p, y.key, y) 8974 } 8975 } 8976 8977 return function (p, t, z) { 8978 return t && k(p.prototype, t), z && k(p, z), p 8979 } 8980 }(), 8981 A = (n = ["", ""], r = ["", ""], Object.freeze(Object.defineProperties(n, {raw: {value: Object.freeze(r)}}))); 8982 n = function () { 8983 function k() { 8984 for (var p = this, t = arguments.length, z = Array(t), y = 0; y < t; y++) z[y] = arguments[y]; 8985 if (!(this instanceof k)) throw new TypeError("Cannot call a class as a function"); 8986 return this.tag = function (B) { 8987 for (var D = arguments.length, K = Array(1 < D ? D - 1 : 0), u = 1; u < D; u++) K[u - 1] = arguments[u]; 8988 return "function" == typeof B ? p.interimTag.bind(p, B) : "string" == typeof B ? p.transformEndResult(B) : (B = B.map(p.transformString.bind(p)), 8989 p.transformEndResult(B.reduce(p.processSubstitutions.bind(p, K)))) 8990 }, 0 < z.length && Array.isArray(z[0]) && (z = z[0]), this.transformers = z.map(function (B) { 8991 return "function" == typeof B ? B() : B 8992 }), this.tag 8993 } 8994 8995 return v(k, [{ 8996 key: "interimTag", value: function (p, t) { 8997 for (var z = arguments.length, y = Array(2 < z ? z - 2 : 0), B = 2; B < z; B++) y[B - 2] = arguments[B]; 8998 return this.tag(A, p.apply(void 0, [t].concat(y))) 8999 } 9000 }, { 9001 key: "processSubstitutions", value: function (p, t, z) { 9002 p = this.transformSubstitution(p.shift(), t); 9003 return "".concat(t, p, z) 9004 } 9005 }, { 9006 key: "transformString", 9007 value: function (p) { 9008 return this.transformers.reduce(function (t, z) { 9009 return z.onString ? z.onString(t) : t 9010 }, p) 9011 } 9012 }, { 9013 key: "transformSubstitution", value: function (p, t) { 9014 return this.transformers.reduce(function (z, y) { 9015 return y.onSubstitution ? y.onSubstitution(z, t) : z 9016 }, p) 9017 } 9018 }, { 9019 key: "transformEndResult", value: function (p) { 9020 return this.transformers.reduce(function (t, z) { 9021 return z.onEndResult ? z.onEndResult(t) : t 9022 }, p) 9023 } 9024 }]), k 9025 }(); 9026 r = function () { 9027 var k = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : ""; 9028 return { 9029 onEndResult: function (p) { 9030 if ("" === 9031 k) return p.trim(); 9032 if ("start" === (k = k.toLowerCase()) || "left" === k) return p.replace(/^\s*/, ""); 9033 if ("end" === k || "right" === k) return p.replace(/\s*$/, ""); 9034 throw Error("Side not supported: " + k); 9035 } 9036 } 9037 }; 9038 a = function () { 9039 var k = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "initial"; 9040 return { 9041 onEndResult: function (p) { 9042 if ("initial" === k) {
9043 var t = p.match(/^[^\S\n]*(?=\S)/gm); 9044 return (t = t && Math.min.apply(Math, d(t.map(function (z) { 9045 return z.length 9046 })))) ? p.replace(new RegExp("^.{" + t + "}", "gm"), "") : p 9047 } 9048 if ("all" === k) return p.replace(/^[^\S\n]+/gm, 9049 ""); 9050 throw Error("Unknown type: " + k); 9051 } 9052 } 9053 }; 9054 var E = function (k, p) { 9055 return { 9056 onEndResult: function (t) { 9057 if (null == k || null == p) throw Error("replaceResultTransformer requires at least 2 arguments."); 9058 return t.replace(k, p) 9059 } 9060 } 9061 }, I = function (k, p) { 9062 return { 9063 onSubstitution: function (t, z) { 9064 if (null == k || null == p) throw Error("replaceSubstitutionTransformer requires at least 2 arguments."); 9065 return null == t ? t : t.toString().replace(k, p) 9066 } 9067 } 9068 }, H = {separator: "", conjunction: "", serial: !1}, L = function () { 9069 var k = 0 < arguments.length && void 0 !== arguments[0] ? 9070 arguments[0] : H; 9071 return { 9072 onSubstitution: function (p, t) { 9073 if (Array.isArray(p)) { 9074 var z = p.length, y = k.separator, B = k.conjunction, D = k.serial; 9075 t = t.match(/(\n?[^\S\n]+)$/); 9076 if (p = t ? p.join(y + t[1]) : p.join(y + " "), B && 1 < z) z = p.lastIndexOf(y), p = p.slice(0, z) + (D ? y : "") + " " + B + p.slice(z + 1) 9077 } 9078 return p 9079 } 9080 } 9081 }, N = function (k) { 9082 return { 9083 onSubstitution: function (p, t) { 9084 if (null == k || "string" != typeof k) throw Error("You need to specify a string character to split by."); 9085 return "string" == typeof p && p.includes(k) && (p = p.split(k)), p 9086 } 9087 } 9088 }, G = function (k) { 9089 return null != 9090 k && !Number.isNaN(k) && "boolean" != typeof k 9091 }, w = (new n(L({separator: ","}), a, r), new n(L({ 9092 separator: ",", 9093 conjunction: "and" 9094 }), a, r), new n(L({separator: ",", conjunction: "or"}), a, r), new n(N("\n"), function () { 9095 return { 9096 onSubstitution: function (k) { 9097 return Array.isArray(k) ? k.filter(G) : G(k) ? k : "" 9098 } 9099 } 9100 }, L, a, r)); 9101 new n(N("\n"), L, a, r, I(/&/g, "&"), I(/</g, "<"), I(/>/g, ">"), I(/"/g, """), I(/'/g, "'"), I(/`/g, "`")); 9102 new n(E(/(?:\n(?:\s*))+/g, " "), r); 9103 new n(E(/(?:\n\s*)/g, ""), r); 9104 new n(L({separator: ","}), E(/(?:\s+)/g, 9105 " "), r); 9106 new n(L({separator: ",", conjunction: "or"}), E(/(?:\s+)/g, " "), r); 9107 new n(L({separator: ",", conjunction: "and"}), E(/(?:\s+)/g, " "), r); 9108 new n(L, a, r); 9109 new n(L, E(/(?:\s+)/g, " "), r); 9110 new n(a, r); 9111 new n(a("all"), r); 9112 var F = {selector: ".freezeframe", responsive: !0, trigger: "hover", overlay: !1, warnings: !0}; 9113 n = c(1); 9114 var M = c.n(n), P = function (k, p, t, z) { 9115 return new (t || (t = Promise))(function (y, B) { 9116 function D(x) { 9117 try { 9118 u(z.next(x)) 9119 } catch (C) { 9120 B(C) 9121 } 9122 } 9123 9124 function K(x) { 9125 try { 9126 u(z.throw(x)) 9127 } catch (C) { 9128 B(C) 9129 } 9130 } 9131 9132 function u(x) { 9133 var C; 9134 x.done ? y(x.value) : 9135 (C = x.value, C instanceof t ? C : new t(function (O) { 9136 O(C) 9137 })).then(D, K) 9138 } 9139 9140 u((z = z.apply(k, p || [])).next()) 9141 }) 9142 }, U = function (k, p, t) { 9143 if (!p.has(k)) throw new TypeError("attempted to set private field on non-instance"); 9144 return p.set(k, t), t 9145 }, S = function (k, p) { 9146 if (!p.has(k)) throw new TypeError("attempted to get private field on non-instance"); 9147 return p.get(k) 9148 }; 9149 var R = new WeakMap; 9150 var Y = new WeakMap; 9151 var J = new WeakMap; 9152 b.default = function (k, p) { 9153 k = void 0 === k ? ".freezeframe" : k; 9154 this.items = []; 9155 this.$images = []; 9156 R.set(this, void 0); 9157 Y.set(this, 9158 void 0); 9159 this._eventListeners = Object.assign({}, Object.values(e).reduce(function (t, z) { 9160 return t[z] = [], t 9161 }, {})); 9162 J.set(this, []); 9163 "string" == typeof k || k instanceof Element || k instanceof HTMLCollection || k instanceof NodeList ? (this.options = Object.assign(Object.assign({}, F), p), U(this, R, k)) : "object" != typeof k || p ? h.apply(null, ["Invalid Freezeframe.js configuration:"].concat($jscomp.arrayFromIterable([k, p].filter(function (t) { 9164 return void 0 !== t 9165 })))) : (this.options = Object.assign(Object.assign({}, F), k), U(this, R, this.options.selector)); 9166 this._init(S(this, R)) 9167 }; 9168 b.default.prototype._init = function (k) { 9169 this._injectStylesheet(); 9170 U(this, Y, "ontouchstart" in window || "onmsgesturechange" in window); 9171 this._capture(k); 9172 this._load(this.$images) 9173 }; 9174 b.default.prototype._capture = function (k) { 9175 this.$images = function (p) { 9176 for (var t = [], z = 0; z < arguments.length; ++z) t[z - 0] = arguments[z]; 9177 return function (y) { 9178 for (var B = [], D = 0; D < arguments.length; ++D) B[D - 0] = arguments[D]; 9179 return t.reduceRight(function (K, u) { 9180 return function (x) { 9181 for (var C = [], O = 0; O < arguments.length; ++O) C[O - 0] = arguments[O]; 9182 return K(u.apply(null, [].concat($jscomp.arrayFromIterable(C), $jscomp.arrayFromIterable(B)))) 9183 } 9184 })() 9185 } 9186 }(g, l, m)(k, this.options) 9187 }; 9188 b.default.prototype._load = function (k) { 9189 var p = this; 9190 f()(k).on("progress", function (t, z) { 9191 p._setup(z.img) 9192 }) 9193 }; 9194 b.default.prototype._setup = function (k) { 9195 return P(this, void 0, void 0, function t() { 9196 var z = this, y; 9197 return $jscomp.generator.createGenerator(t, function (B) { 9198 if (1 == B.nextAddress) return y = z._wrap(k), z.items.push(y), B.yield(z._process(y), 2); 9199 z._attach(y); 9200 B.jumpToEnd() 9201 }) 9202 }) 9203 }; 9204 b.default.prototype._wrap = 9205 function (k) { 9206 var p = q(w($jscomp$templatelit$m516772255$0, "ff-container", "ff-loading-icon")), 9207 t = q(w($jscomp$templatelit$m516772255$1, "ff-canvas")); 9208 return this.options.responsive && p.classList.add("ff-responsive"), this.options.overlay && p.appendChild(q(w($jscomp$templatelit$m516772255$2, "ff-overlay"))), k.classList.add("ff-image"), p.appendChild(t), k.parentNode.insertBefore(p, k), p.appendChild(k), { 9209 $container: p, 9210 $canvas: t, 9211 $image: k 9212 } 9213 }; 9214 b.default.prototype._process = function (k) { 9215 var p = this; 9216 return new Promise(function (t) { 9217 var z = 9218 k.$canvas, y = k.$image, B = k.$container, D = y.clientWidth, K = y.clientHeight; 9219 z.setAttribute("width", D.toString()); 9220 z.setAttribute("height", K.toString()); 9221 z.getContext("2d").drawImage(y, 0, 0, D, K); 9222 z.classList.add("ff-canvas-ready"); 9223 z.addEventListener("transitionend", function () { 9224 p._ready(B); 9225 t(k) 9226 }, {once: !0}) 9227 }) 9228 }; 9229 b.default.prototype._ready = function (k) { 9230 k.classList.add("ff-ready"); 9231 k.classList.add("ff-inactive"); 9232 k.classList.remove("ff-loading-icon") 9233 }; 9234 b.default.prototype._attach = function (k) { 9235 var p = this, t = k.$image; 9236 S(this, 9237 Y) || "hover" !== this.options.trigger || (this._addEventListener(t, "mouseleave", function () { 9238 p._toggleOff(k); 9239 p._emit(e.START, k, !1); 9240 p._emit(e.TOGGLE, k, !1) 9241 }), this._addEventListener(t, "mouseenter", function () { 9242 p._toggleOn(k); 9243 p._emit(e.START, k, !0); 9244 p._emit(e.TOGGLE, k, !0) 9245 })); 9246 (S(this, Y) || "click" === this.options.trigger) && this._addEventListener(t, "click", function () { 9247 p._toggle(k) 9248 }) 9249 }; 9250 b.default.prototype._addEventListener = function (k, p, t) { 9251 S(this, J).push({$image: k, event: p, listener: t}); 9252 k.addEventListener(p, t) 9253 }; 9254 b.default.prototype._removeEventListener = 9255 function (k, p, t) { 9256 k.removeEventListener(p, t) 9257 }; 9258 b.default.prototype._injectStylesheet = function () { 9259 this._stylesInjected || document.head.appendChild(q(w('\n <style id="ff-styles">\n ' + M.a.toString() + "\n </style>\n "))) 9260 }; 9261 b.default.prototype._emit = function (k, p, t) {
9262 this._eventListeners[k].forEach(function (z) { 9263 z(Array.isArray(p) && 1 === p.length ? p[0] : p, t) 9264 }) 9265 }; 9266 b.default.prototype._toggleOn = function (k) { 9267 var p = k.$container; 9268 k = k.$image; 9269 p.classList.contains("ff-ready") && (k.setAttribute("src", k.src), p.classList.remove("ff-inactive"), 9270 p.classList.add("ff-active")) 9271 }; 9272 b.default.prototype._toggleOff = function (k) { 9273 k = k.$container; 9274 k.classList.contains("ff-ready") && (k.classList.add("ff-inactive"), k.classList.remove("ff-active")) 9275 }; 9276 b.default.prototype._toggle = function (k) { 9277 var p = k.$container.classList.contains("ff-active"); 9278 return p ? this._toggleOff(k) : this._toggleOn(k), !p 9279 }; 9280 b.default.prototype.start = function () { 9281 var k = this; 9282 return this.items.forEach(function (p) { 9283 k._toggleOn(p) 9284 }), this._emit(e.START, this.items, !0), this._emit(e.TOGGLE, this.items, !0), 9285 this 9286 }; 9287 b.default.prototype.stop = function () { 9288 var k = this; 9289 return this.items.forEach(function (p) { 9290 k._toggleOff(p) 9291 }), this._emit(e.STOP, this.items, !1), this._emit(e.TOGGLE, this.items, !1), this 9292 }; 9293 b.default.prototype.toggle = function () { 9294 var k = this; 9295 return this.items.forEach(function (p) { 9296 (p = k._toggle(p)) ? k._emit(e.START, k.items, !1) : k._emit(e.STOP, k.items, !1); 9297 k._emit(e.TOGGLE, k.items, p) 9298 }), this 9299 }; 9300 b.default.prototype.on = function (k, p) { 9301 return this._eventListeners[k].push(p), this 9302 }; 9303 b.default.prototype.destroy = function () { 9304 var k = 9305 this; 9306 S(this, J).forEach(function (p) { 9307 k._removeEventListener(p.$image, p.event, p.listener) 9308 }) 9309 }; 9310 $jscomp.global.Object.defineProperties(b.default.prototype, { 9311 _stylesInjected: { 9312 configurable: !0, 9313 enumerable: !0, 9314 get: function () { 9315 return !!document.querySelector("style#ff-styles") 9316 } 9317 } 9318 }) 9319 }]).default 9320}); 9321!function (a, b) { 9322 a.Mark = b() 9323}(this, function () { 9324 var a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (h) { 9325 return typeof h 9326 } : function (h) { 9327 return h && "function" == typeof Symbol && h.constructor === Symbol && h !== Symbol.prototype ? "symbol" : typeof h 9328 }, b = function (h, g) { 9329 if (!(h instanceof g)) throw new TypeError("Cannot call a class as a function"); 9330 }, c = function () { 9331 function h(g, l) { 9332 for (var m = 0; m < l.length; m++) { 9333 var q = l[m]; 9334 q.enumerable = q.enumerable || !1; 9335 q.configurable = !0; 9336 "value" in q && (q.writable = !0); 9337 Object.defineProperty(g, 9338 q.key, q) 9339 } 9340 } 9341 9342 return function (g, l, m) { 9343 return l && h(g.prototype, l), m && h(g, m), g 9344 } 9345 }(), d = Object.assign || function (h) { 9346 for (var g = 1; g < arguments.length; g++) { 9347 var l = arguments[g], m; 9348 for (m in l) Object.prototype.hasOwnProperty.call(l, m) && (h[m] = l[m]) 9349 } 9350 return h 9351 }, e = function () { 9352 function h(g) { 9353 var l = !(1 < arguments.length && void 0 !== arguments[1]) || arguments[1], 9354 m = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : [], 9355 q = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : 5E3; 9356 b(this, h); 9357 this.ctx = g; 9358 this.iframes = l; 9359 this.exclude = m; 9360 this.iframesTimeout = q 9361 } 9362 9363 return c(h, [{ 9364 key: "getContexts", value: function () { 9365 var g = []; 9366 return (void 0 !== this.ctx && this.ctx ? NodeList.prototype.isPrototypeOf(this.ctx) ? Array.prototype.slice.call(this.ctx) : Array.isArray(this.ctx) ? this.ctx : "string" == typeof this.ctx ? Array.prototype.slice.call(document.querySelectorAll(this.ctx)) : [this.ctx] : []).forEac
9366h(function (l) { 9367 var m = 0 < g.filter(function (q) { 9368 return q.contains(l) 9369 }).length; 9370 -1 !== g.indexOf(l) || m || g.push(l) 9371 }), g 9372 } 9373 }, { 9374 key: "getIframeContents", value: function (g, l) { 9375 var m = 2 < 9376 arguments.length && void 0 !== arguments[2] ? arguments[2] : function () { 9377 }, q = void 0; 9378 try { 9379 var n = g.contentWindow; 9380 if (q = n.document, !n || !q) throw Error("iframe inaccessible"); 9381 } catch (r) { 9382 m() 9383 } 9384 q && l(q) 9385 } 9386 }, { 9387 key: "isIframeBlank", value: function (g) { 9388 var l = g.getAttribute("src").trim(); 9389 return "about:blank" === g.contentWindow.location.href && "about:blank" !== l && l 9390 } 9391 }, { 9392 key: "observeIframeLoad", value: function (g, l, m) { 9393 var q = this, n = !1, r = null, v = function E() { 9394 if (!n) { 9395 n = !0; 9396 clearTimeout(r); 9397 try { 9398 q.isIframeBlank(g) || (g.removeEventListener("load", E), 9399 q.getIframeContents(g, l, m)) 9400 } catch (I) { 9401 m() 9402 } 9403 } 9404 }; 9405 g.addEventListener("load", v); 9406 r = setTimeout(v, this.iframesTimeout) 9407 } 9408 }, { 9409 key: "onIframeReady", value: function (g, l, m) { 9410 try { 9411 "complete" === g.contentWindow.document.readyState ? this.isIframeBlank(g) ? this.observeIframeLoad(g, l, m) : this.getIframeContents(g, l, m) : this.observeIframeLoad(g, l, m) 9412 } catch (q) { 9413 m() 9414 } 9415 } 9416 }, { 9417 key: "waitForIframes", value: function (g, l) { 9418 var m = this, q = 0; 9419 this.forEachIframe(g, function () { 9420 return !0 9421 }, function (n) { 9422 q++; 9423 m.waitForIframes(n.querySelector("html"), function () { 9424 --q || 9425 l() 9426 }) 9427 }, function (n) { 9428 n || l() 9429 }) 9430 } 9431 }, { 9432 key: "forEachIframe", value: function (g, l, m) { 9433 var q = this, n = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : function () { 9434 }, r = g.querySelectorAll("iframe"), v = r.length, A = 0; 9435 r = Array.prototype.slice.call(r); 9436 var E = function () { 9437 0 >= --v && n(A) 9438 }; 9439 v || E(); 9440 r.forEach(function (I) { 9441 h.matches(I, q.exclude) ? E() : q.onIframeReady(I, function (H) { 9442 l(I) && (A++, m(H)); 9443 E() 9444 }, E) 9445 }) 9446 } 9447 }, { 9448 key: "createIterator", value: function (g, l, m) { 9449 return document.createNodeIterator(g, l, m, !1) 9450 } 9451 }, { 9452 key: "createInstanceOnIframe", value: function (g) { 9453 return new h(g.querySelector("html"), 9454 this.iframes) 9455 } 9456 }, { 9457 key: "compareNodeIframe", value: function (g, l, m) { 9458 return g.compareDocumentPosition(m) & Node.DOCUMENT_POSITION_PRECEDING && (null === l || l.compareDocumentPosition(m) & Node.DOCUMENT_POSITION_FOLLOWING) ? !0 : !1 9459 } 9460 }, { 9461 key: "getIteratorNode", value: function (g) { 9462 var l = g.previousNode(); 9463 return {prevNode: l, node: null === l ? g.nextNode() : g.nextNode() && g.nextNode()} 9464 } 9465 }, { 9466 key: "checkIframeFilter", value: function (g, l, m, q) { 9467 var n = !1, r = !1; 9468 return q.forEach(function (v, A) { 9469 v.val === m && (n = A, r = v.handled) 9470 }), this.compareNodeIframe(g, 9471 l, m) ? (!1 !== n || r ? !1 === n || r || (q[n].handled = !0) : q.push({ 9472 val: m, 9473 handled: !0 9474 }), !0) : (!1 === n && q.push({val: m, handled: !1}), !1) 9475 } 9476 }, { 9477 key: "handleOpenIframes", value: function (g, l, m, q) { 9478 var n = this; 9479 g.forEach(function (r) { 9480 r.handled || n.getIframeContents(r.val, function (v) { 9481 n.createInstanceOnIframe(v).forEachNode(l, m, q) 9482 }) 9483 }) 9484 } 9485 }, { 9486 key: "iterateThroughNodes", value: function (g, l, m, q, n) { 9487 for (var r, v = this, A = this.createIterator(l, g, q), E = [], I = [], H = void 0, L = void 0; void 0, r = v.getIteratorNode(A), L = r.prevNode, H = r.node;) this.iframes && this.forEachIframe(l, 9488 function (N) { 9489 return v.checkIframeFilter(H, L, N, E) 9490 }, function (N) {
9491 v.createInstanceOnIframe(N).forEachNode(g, function (G) { 9492 return I.push(G) 9493 }, q) 9494 }), I.push(H); 9495 I.forEach(function (N) { 9496 m(N) 9497 }); 9498 this.iframes && this.handleOpenIframes(E, g, m, q); 9499 n() 9500 } 9501 }, { 9502 key: "forEachNode", value: function (g, l, m) { 9503 var q = this, n = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : function () { 9504 }, r = this.getContexts(), v = r.length; 9505 v || n(); 9506 r.forEach(function (A) { 9507 var E = function () { 9508 q.iterateThroughNodes(g, A, l, m, function () { 9509 0 >= --v && n() 9510 }) 9511 }; 9512 q.iframes ? q.waitForIframes(A, 9513 E) : E() 9514 }) 9515 } 9516 }], [{ 9517 key: "matches", value: function (g, l) { 9518 l = "string" == typeof l ? [l] : l; 9519 var m = g.matches || g.matchesSelector || g.msMatchesSelector || g.mozMatchesSelector || g.oMatchesSelector || g.webkitMatchesSelector; 9520 if (m) { 9521 var q = !1; 9522 return l.every(function (n) { 9523 return !m.call(g, n) || (q = !0, !1) 9524 }), q 9525 } 9526 return !1 9527 } 9528 }]), h 9529 }(), f = function () { 9530 function h(g) { 9531 b(this, h); 9532 this.ctx = g; 9533 this.ie = !1; 9534 g = window.navigator.userAgent; 9535 (-1 < g.indexOf("MSIE") || -1 < g.indexOf("Trident")) && (this.ie = !0) 9536 } 9537 9538 return c(h, [{ 9539 key: "log", value: function (g) { 9540 var l = 1 < arguments.length && 9541 void 0 !== arguments[1] ? arguments[1] : "debug", m = this.opt.log; 9542 this.opt.debug && "object" === (void 0 === m ? "undefined" : a(m)) && "function" == typeof m[l] && m[l]("mark.js: " + g) 9543 } 9544 }, { 9545 key: "escapeStr", value: function (g) { 9546 return g.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&") 9547 } 9548 }, { 9549 key: "createRegExp", value: function (g) { 9550 return "disabled" !== this.opt.wildcards && (g = this.setupWildcardsRegExp(g)), g = this.escapeStr(g), Object.keys(this.opt.synonyms).length && (g = this.createSynonymsRegExp(g)), (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) && 9551 (g = this.setupIgnoreJoinersRegExp(g)), this.opt.diacritics && (g = this.createDiacriticsRegExp(g)), g = this.createMergedBlanksRegExp(g), (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) && (g = this.createJoinersRegExp(g)), "disabled" !== this.opt.wildcards && (g = this.createWildcardsRegExp(g)), this.createAccuracyRegExp(g) 9552 } 9553 }, { 9554 key: "createSynonymsRegExp", value: function (g) { 9555 var l = this.opt.synonyms, m = this.opt.caseSensitive ? "" : "i", 9556 q = this.opt.ignoreJoiners || this.opt.ignorePunctuation.length ? "\x00" : "", n; 9557 for (n in l) if (l.hasOwnProperty(n)) { 9558 var r = 9559 l[n], v = "disabled" !== this.opt.wildcards ? this.setupWildcardsRegExp(n) : this.escapeStr(n); 9560 r = "disabled" !== this.opt.wildcards ? this.setupWildcardsRegExp(r) : this.escapeStr(r); 9561 "" !== v && "" !== r && (g = g.replace(new RegExp("(" + this.escapeStr(v) + "|" + this.escapeStr(r) + ")", "gm" + m), q + "(" + this.processSynomyms(v) + "|" + this.processSynomyms(r) + ")" + q)) 9562 } 9563 return g 9564 } 9565 }, { 9566 key: "processSynomyms", value: function (g) { 9567 return (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) && (g = this.setupIgnoreJoinersRegExp(g)), g 9568 } 9569 }, { 9570 key: "setupWildcardsRegExp", 9571 value: function (g) { 9572 return (g = g.replace(/(?:\\)*\?/g, function (l) { 9573 return "\\" === l.charAt(0) ? "?" : "\u0001" 9574 })).replace(/(?:\\)*\*/g, function (l) { 9575 return "\\" === l.charAt(0) ? "*" : "\u0002" 9576 }) 9577 } 9578 }, { 9579 key: "createWildcardsRegExp", value: function (g) { 9580 var l = "withSpaces" === this.opt.wildcards; 9581 return g.replace(/\u0001/g, l ? "[\\S\\s]?" : "\\S?").replace(/\u0002/g, l ? "[\\S\\s]*?" : "\\S*") 9582 } 9583 }, { 9584 key: "setupIgnoreJoinersRegExp", value: function (g) { 9585 return g.replace(/[^(|)\\]/g, function (l, m, q) { 9586 m = q.charAt(m + 1); 9587 return /[(|)\\]/.test(m) || "" === m ? l : 9588 l + "\x00" 9589 }) 9590 } 9591 }, { 9592 key: "createJoinersRegExp", value: function (g) { 9593 var l = [], m = this.opt.ignorePunctuation; 9594 return Array.isArray(m) && m.length && l.push(this.escapeStr(m.join(""))), this.opt.ignoreJoiners && l.push("\\u00ad\\u200b\\u200c\\u200d"), l.length ? g.split(/\u0000+/).join("[" + l.join("") + "]*") : g 9595 } 9596 }, { 9597 key: "createDiacriticsRegExp", value: function (g) { 9598 var l = this.opt.caseSensitive ? "" : "i", 9599 m = this.opt.caseSensitive ? "a\u00e0\u00e1\u1ea3\u00e3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\u00e2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\u00e4\u00e5\u0101\u0105 A\u00c0\u00c1\u1ea2\u00c3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\u00c2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\u00c4\u00c5\u0100\u0104 c\u00e7\u0107\u010d C\u00c7\u0106\u010c d\u0111\u010f D\u0110\u010e e\u00e8\u00e9\u1ebb\u1ebd\u1eb9\u00ea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\u00eb\u011b\u0113\u0119 E\u00c8\u00c9\u1eba\u1ebc\u1eb8\u00ca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\u00cb\u011a\u0112\u0118 i\u00ec\u00ed\u1ec9\u0129\u1ecb\u00ee\u00ef\u012b I\u00cc\u00cd\u1ec8\u0128\u1eca\u00ce\u00cf\u012a l\u0142 L\u0141 n\u00f1\u0148\u0144 N\u00d1\u0147\u0143 o\u00f2\u00f3\u1ecf\u00f5\u1ecd\u00f4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\u00f6\u00f8\u014d O\u00d2\u00d3\u1ece\u00d5\u1ecc\u00d4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\u00d6\u00d8\u014c r\u0159 R\u0158 s\u0161\u015b\u
95990219\u015f S\u0160\u015a\u0218\u015e t\u0165\u021b\u0163 T\u0164\u021a\u0162 u\u00f9\u00fa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\u00fb\u00fc\u016f\u016b U\u00d9\u00da\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\u00db\u00dc\u016e\u016a y\u00fd\u1ef3\u1ef7\u1ef9\u1ef5\u00ff Y\u00dd\u1ef2\u1ef6\u1ef8\u1ef4\u0178 z\u017e\u017c\u017a Z\u017d\u017b\u0179".split(" ") : 9600 "a\u00e0\u00e1\u1ea3\u00e3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\u00e2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\u00e4\u00e5\u0101\u0105A\u00c0\u00c1\u1ea2\u00c3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\u00c2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\u00c4\u00c5\u0100\u0104 c\u00e7\u0107\u010dC\u00c7\u0106\u010c d\u0111\u010fD\u0110\u010e e\u00e8\u00e9\u1ebb\u1ebd\u1eb9\u00ea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\u00eb\u011b\u0113\u0119E\u00c8\u00c9\u1eba\u1ebc\u1eb8\u00ca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\u00cb\u011a\u0112\u0118 i\u00ec\u00ed\u1ec9\u0129\u1ecb\u00ee\u00ef\u012bI\u00cc\u00cd\u1ec8\u0128\u1eca\u00ce\u00cf\u012a l\u0142L\u0141 n\u00f1\u0148\u0144N\u00d1\u0147\u0143 o\u00f2\u00f3\u1ecf\u00f5\u1ecd\u00f4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\u00f6\u00f8\u014dO\u00d2\u00d3\u1ece\u00d5\u1ecc\u00d4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\u00d6\u00d8\u014c r\u0159R\u0158 s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e t\u0165\u021b\u0163T\u0164\u021a\u0162 u\u00f9\u00fa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\u00fb\u00fc\u016f\u016bU\u00d9\u00da\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\u00db\u00dc\u016e\u016a y\u00fd\u1ef3\u1ef7\u1ef9\u1ef5\u00ffY\u00dd\u1ef2\u1ef6\u1ef8\u1ef4\u0178 z\u017e\u017c\u017aZ\u017d\u017b\u0179".split(" "), 9601 q = []; 9602 return g.split("").forEach(function (n) { 9603 m.every(function (r) { 9604 if (-1 !== r.indexOf(n)) { 9605 if (-1 < q.indexOf(r)) return !1; 9606 g = g.replace(new RegExp("[" + r + "]", "gm" + l), "[" + r + "]"); 9607 q.push(r) 9608 } 9609 return !0 9610 }) 9611 }), g 9612 } 9613 }, { 9614 key: "createMergedBlanksRegExp", value: function (g) { 9615 return g.replace(/[\s]+/gim, "[\\s]+") 9616 } 9617 }, { 9618 key: "createAccuracyRegExp", value: function (g) { 9619 var l = this, m = this.opt.accuracy, q = "string" == typeof m ? m : m.value, n = ""; 9620 switch (("string" == typeof m ? [] : m.limiters).forEach(function (r) { 9621 n += "|" + l.escapeStr(r) 9622 }), q) { 9623 default: 9624 return "()(" + 9625 g + ")"; 9626 case "complementary": 9627 return "()([^" + (n = "\\s" + (n || this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\u00a1\u00bf"))) + "]*" + g + "[^" + n + "]*)"; 9628 case "exactly": 9629 return "(^|\\s" + n + ")(" + g + ")(?=$|\\s" + n + ")" 9630 } 9631 } 9632 }, { 9633 key: "getSeparatedKeywords", value: function (g) { 9634 var l = this, m = []; 9635 return g.forEach(function (q) { 9636 l.opt.separateWordSearch ? q.split(" ").forEach(function (n) { 9637 n.trim() && -1 === m.indexOf(n) && m.push(n) 9638 }) : q.trim() && -1 === m.indexOf(q) && m.push(q) 9639 }), { 9640 keywords: m.sort(function (q, n) { 9641 return n.length - q.length 9642 }), length: m.length 9643 } 9644 } 9645 }, 9646 { 9647 key: "isNumeric", value: function (g) { 9648 return Number(parseFloat(g)) == g 9649 } 9650 }, { 9651 key: "checkRanges", value: function (g) { 9652 var l = this; 9653 if (!Array.isArray(g) || "[object Object]" !== Object.prototype.toString.call(g[0])) return this.log("markRanges() will only accept an array of objects"), this.opt.noMatch(g), []; 9654 var m = [], q = 0; 9655 return g.sort(function (n, r) { 9656 return n.start - r.start 9657 }
9657).forEach(function (n) { 9658 var r = l.callNoMatchOnInvalidRanges(n, q), v = r.start, A = r.end; 9659 r.valid && (n.start = v, n.length = A - v, m.push(n), q = A) 9660 }), m 9661 } 9662 }, { 9663 key: "callNoMatchOnInvalidRanges", 9664 value: function (g, l) { 9665 var m = void 0, q = void 0, n = !1; 9666 return g && void 0 !== g.start ? (q = (m = parseInt(g.start, 10)) + parseInt(g.length, 10), this.isNumeric(g.start) && this.isNumeric(g.length) && 0 < q - l && 0 < q - m ? n = !0 : (this.log("Ignoring invalid or overlapping range: " + JSON.stringify(g)), this.opt.noMatch(g))) : (this.log("Ignoring invalid range: " + JSON.stringify(g)), this.opt.noMatch(g)), { 9667 start: m, 9668 end: q, 9669 valid: n 9670 } 9671 } 9672 }, { 9673 key: "checkWhitespaceRanges", value: function (g, l, m) { 9674 var q = void 0, n = !0, r = m.length; 9675 l -= r; 9676 l = parseInt(g.start, 10) - l; 9677 return (q = 9678 (l = l > r ? r : l) + parseInt(g.length, 10)) > r && (q = r, this.log("End range automatically set to the max value of " + r)), 0 > l || 0 > q - l || l > r || q > r ? (n = !1, this.log("Invalid range: " + JSON.stringify(g)), this.opt.noMatch(g)) : "" === m.substring(l, q).replace(/\s+/g, "") && (n = !1, this.log("Skipping whitespace only range: " + JSON.stringify(g)), this.opt.noMatch(g)), { 9679 start: l, 9680 end: q, 9681 valid: n 9682 } 9683 } 9684 }, { 9685 key: "getTextNodes", value: function (g) { 9686 var l = this, m = "", q = []; 9687 this.iterator.forEachNode(NodeFilter.SHOW_TEXT, function (n) { 9688 q.push({ 9689 start: m.length, end: (m += 9690 n.textContent).length, node: n 9691 }) 9692 }, function (n) { 9693 return l.matchesExclude(n.parentNode) ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT 9694 }, function () { 9695 g({value: m, nodes: q}) 9696 }) 9697 } 9698 }, { 9699 key: "matchesExclude", value: function (g) { 9700 return e.matches(g, this.opt.exclude.concat(["script", "style", "title", "head", "html"])) 9701 } 9702 }, { 9703 key: "wrapRangeInTextNode", value: function (g, l, m) { 9704 var q = this.opt.element ? this.opt.element : "mark"; 9705 g = g.splitText(l); 9706 l = g.splitText(m - l); 9707 q = document.createElement(q); 9708 return q.setAttribute("data-markjs", "true"), 9709 this.opt.className && q.setAttribute("class", this.opt.className), q.textContent = g.textContent, g.parentNode.replaceChild(q, g), l 9710 } 9711 }, { 9712 key: "wrapRangeInMappedTextNode", value: function (g, l, m, q, n) { 9713 var r = this; 9714 g.nodes.every(function (v, A) { 9715 var E = g.nodes[A + 1]; 9716 if (void 0 === E || E.start > l) { 9717 if (!q(v.node)) return !1; 9718 E = l - v.start; 9719 var I = (m > v.end ? v.end : m) - v.start, H = g.value.substr(0, v.start), 9720 L = g.value.substr(I + v.start); 9721 if (v.node = r.wrapRangeInTextNode(v.node, E, I), g.value = H + L, g.nodes.forEach(function (N, G) { 9722 G >= A && (0 < g.nodes[G].start && 9723 G !== A && (g.nodes[G].start -= I), g.nodes[G].end -= I) 9724 }), m -= I, n(v.node.previousSibling, v.start), !(m > v.end)) return !1; 9725 l = v.end 9726 } 9727 return !0 9728 }) 9729 } 9730 }, { 9731 key: "wrapMatches", value: function (g, l, m, q, n) { 9732 var r = this, v = 0 === l ? 0 : l + 1; 9733 this.getTextNodes(function (A) {
9734 A.nodes.forEach(function (E) { 9735 E = E.node; 9736 for (var I = void 0; null !== (I = g.exec(E.textContent)) && "" !== I[v];) if (m(I[v], E)) { 9737 var H = I.index; 9738 if (0 !== v) for (var L = 1; L < v; L++) H += I[L].length; 9739 E = r.wrapRangeInTextNode(E, H, H + I[v].length); 9740 q(E.previousSibling); 9741 g.lastIndex = 0 9742 } 9743 }); 9744 n() 9745 }) 9746 } 9747 }, { 9748 key: "wrapMatchesAcrossElements", 9749 value: function (g, l, m, q, n) { 9750 var r = this, v = 0 === l ? 0 : l + 1; 9751 this.getTextNodes(function (A) { 9752 for (var E = void 0; null !== (E = g.exec(A.value)) && "" !== E[v];) { 9753 var I = E.index; 9754 if (0 !== v) for (var H = 1; H < v; H++) I += E[H].length; 9755 r.wrapRangeInMappedTextNode(A, I, I + E[v].length, function (L) { 9756 return m(E[v], L) 9757 }, function (L, N) { 9758 g.lastIndex = N; 9759 q(L) 9760 }) 9761 } 9762 n() 9763 }) 9764 } 9765 }, { 9766 key: "wrapRangeFromIndex", value: function (g, l, m, q) { 9767 var n = this; 9768 this.getTextNodes(function (r) { 9769 var v = r.value.length; 9770 g.forEach(function (A, E) { 9771 var I = n.checkWhitespaceRanges(A, v, r.value), H = I.start, 9772 L = I.end; 9773 I.valid && n.wrapRangeInMappedTextNode(r, H, L, function (N) { 9774 return l(N, A, r.value.substring(H, L), E) 9775 }, function (N) { 9776 m(N, A) 9777 }) 9778 }); 9779 q() 9780 }) 9781 } 9782 }, { 9783 key: "unwrapMatches", value: function (g) { 9784 for (var l = g.parentNode, m = document.createDocumentFragment(); g.firstChild;) m.appendChild(g.removeChild(g.firstChild)); 9785 l.replaceChild(m, g); 9786 this.ie ? this.normalizeTextNode(l) : l.normalize() 9787 } 9788 }, { 9789 key: "normalizeTextNode", value: function (g) { 9790 if (g) { 9791 if (3 === g.nodeType) for (; g.nextSibling && 3 === g.nextSibling.nodeType;) g.nodeValue += g.nextSibling.nodeValue, 9792 g.parentNode.removeChild(g.nextSibling); else this.normalizeTextNode(g.firstChild); 9793 this.normalizeTextNode(g.nextSibling) 9794 } 9795 } 9796 }, { 9797 key: "markRegExp", value: function (g, l) { 9798 var m = this; 9799 this.opt = l; 9800 this.log('Searching with expression "' + g + '"'); 9801 var q = 0; 9802 l = "wrapMatches"; 9803 this.opt.acrossElements && (l = "wrapMatchesAcrossElements"); 9804 this[l](g, this.opt.ignoreGroups, function (n, r) { 9805 return m.opt.filter(r, n, q) 9806 }, function (n) { 9807 q++; 9808 m.opt.each(n) 9809 }, function () { 9810 0 === q && m.opt.noMatch(g); 9811 m.opt.done(q) 9812 }) 9813 } 9814 }, { 9815 key: "mark", value: function (g, l) { 9816 var m = 9817 this; 9818 this.opt = l; 9819 var q = 0, n = "wrapMatches";
9820 g = this.getSeparatedKeywords("string" == typeof g ? [g] : g); 9821 var r = g.keywords, v = g.length, A = this.opt.caseSensitive ? "" : "i"; 9822 this.opt.acrossElements && (n = "wrapMatchesAcrossElements"); 9823 0 === v ? this.opt.done(q) : function H(I) { 9824 var L = new RegExp(m.createRegExp(I), "gm" + A), N = 0; 9825 m.log('Searching with expression "' + L + '"'); 9826 m[n](L, 1, function (G, w) { 9827 return m.opt.filter(w, I, q, N) 9828 }, function (G) { 9829 N++; 9830 q++; 9831 m.opt.each(G) 9832 }, function () { 9833 0 === N && m.opt.noMatch(I); 9834 r[v - 1] === I ? m.opt.done(q) : H(r[r.indexOf(I) + 9835 1]) 9836 }) 9837 }(r[0]) 9838 } 9839 }, { 9840 key: "markRanges", value: function (g, l) { 9841 var m = this; 9842 this.opt = l; 9843 var q = 0; 9844 (g = this.checkRanges(g)) && g.length ? (this.log("Starting to mark with the following ranges: " + JSON.stringify(g)), this.wrapRangeFromIndex(g, function (n, r, v, A) { 9845 return m.opt.filter(n, r, v, A) 9846 }, function (n, r) { 9847 q++; 9848 m.opt.each(n, r) 9849 }, function () { 9850 m.opt.done(q) 9851 })) : this.opt.done(q) 9852 } 9853 }, { 9854 key: "unmark", value: function (g) { 9855 var l = this; 9856 this.opt = g; 9857 var m = this.opt.element ? this.opt.element : "*"; 9858 m += "[data-markjs]"; 9859 this.opt.className && (m += "." + this.opt.className); 9860 this.log('Removal selector "' + m + '"'); 9861 this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT, function (q) { 9862 l.unwrapMatches(q) 9863 }, function (q) { 9864 var n = e.matches(q, m); 9865 q = l.matchesExclude(q); 9866 return !n || q ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT 9867 }, this.opt.done) 9868 } 9869 }, { 9870 key: "opt", set: function (g) { 9871 this._opt = d({}, { 9872 element: "", 9873 className: "", 9874 exclude: [], 9875 iframes: !1, 9876 iframesTimeout: 5E3, 9877 separateWordSearch: !0, 9878 diacritics: !0, 9879 synonyms: {}, 9880 accuracy: "partially", 9881 acrossElements: !1, 9882 caseSensitive: !1, 9883 ignoreJoiners: !1, 9884 ignoreGroups: 0, 9885 ignorePunctuation: [], 9886 wildcards: "disabled", 9887 each: function () { 9888 }, 9889 noMatch: function () { 9890 }, 9891 filter: function () { 9892 return !0 9893 }, 9894 done: function () { 9895 }, 9896 debug: !1, 9897 log: window.console 9898 }, g) 9899 }, get: function () { 9900 return this._opt 9901 } 9902 }, { 9903 key: "iterator", get: function () { 9904 return new e(this.ctx, this.opt.iframes, this.opt.exclude, this.opt.iframesTimeout) 9905 } 9906 }]), h 9907 }(); 9908 return function (h) { 9909 var g = this, l = new f(h); 9910 return this.mark = function (m, q) { 9911 return l.mark(m, q), g 9912 }
9912, this.markRegExp = function (m, q) { 9913 return l.markRegExp(m, q), g 9914 }, this.markRanges = function (m, q) { 9915 return l.markRanges(m, q), 9916 g 9917 }, this.unmark = function (m) { 9918 return l.unmark(m), g 9919 }, this 9920 } 9921}); 9922!function (a, b) { 9923 a.eyeAble_Pickr = b() 9924}(window, function () { 9925 return function (a) { 9926 function b(d) { 9927 if (c[d]) return c[d].exports; 9928 var e = c[d] = {i: d, l: !1, exports: {}}; 9929 return a[d].call(e.exports, e, e.exports, b), e.l = !0, e.exports 9930 } 9931 9932 var c = {}; 9933 return b.m = a, b.c = c, b.d = function (d, e, f) { 9934 b.o(d, e) || Object.defineProperty(d, e, {enumerable: !0, get: f}) 9935 }, b.r = function (d) { 9936 "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(d, Symbol.toStringTag, {value: "Module"}); 9937 Object.defineProperty(d, "__esModule", {value: !0}) 9938 }, b.t = function (d, 9939 e) { 9940 if ((1 & e && (d = b(d)), 8 & e) || 4 & e && "object" == typeof d && d && d.__esModule) return d; 9941 var f = Object.create(null); 9942 if (b.r(f), Object.defineProperty(f, "default", { 9943 enumerable: !0, 9944 value: d 9945 }), 2 & e && "string" != typeof d) for (var h in d) b.d(f, h, function (g) { 9946 return d[g] 9947 }.bind(null, h)); 9948 return f 9949 }, b.n = function (d) { 9950 var e = d && d.__esModule ? function () { 9951 return d.default 9952 } : function () { 9953 return d 9954 }; 9955 return b.d(e, "a", e), e 9956 }, b.o = function (d, e) { 9957 return Object.prototype.hasOwnProperty.call(d, e) 9958 }, b.p = "", b(b.s = 0) 9959 }([function (a, b, c) { 9960 function d(k, p, t, z, y) { 9961 y = 9962 void 0 === y ? {} : y; 9963 p instanceof HTMLCollection || p instanceof NodeList ? p = Array.from(p) : Array.isArray(p) || (p = [p]); 9964 Array.isArray(t) || (t = [t]); 9965 for (var B = $jscomp.makeIterator(p), D = B.next(); !D.done; D = B.next()) { 9966 D = D.value; 9967 for (var K = $jscomp.makeIterator(t), u = K.next(); !u.done; u = K.next()) D[k](u.value, z, Object.assign({}, {capture: !1}, y)) 9968 } 9969 return Array.prototype.slice.call(arguments, 1) 9970 } 9971 9972 function e(k) { 9973 var p = document.createElement("div"); 9974 return p.innerHTML = k.trim(), p.firstElementChild 9975 } 9976 9977 function f(k) { 9978 var p = function (z, y) { 9979 var B = 9980 z.getAttribute(y); 9981 return z.removeAttribute(y), B 9982 }, t = function (z, y) { 9983 y = void 0 === y ? {} : y; 9984 var B = p(z, ":obj"), D = p(z, ":ref"); 9985 B = B ? y[B] = {} : y; 9986 D && (y[D] = z); 9987 z = $jscomp.makeIterator(Array.from(z.children)); 9988 for (D = z.next(); !D.done; D = z.next()) { 9989 D = D.value; 9990 var K = p(D, ":arr"), u = t(D, K ? {} : B); 9991 K && (B[K] || (B[K] = [])).push(Object.keys(u).length ? u : D) 9992 } 9993 return y 9994 }; 9995 return t(e(k)) 9996 } 9997 9998 function h(k) { 9999 var p = k.path || k.composedPath && k.composedPath(); 10000 if (p) return p; 10001 var t = k.target.parentElement; 10002 for (p = [k.target, t]; t = t.parentElement;) p.push(t); 10003 return p.push(document, 10004 window), p 10005 } 10006 10007 function g(k) { 10008 return k instanceof Element ? k : "string" == typeof k ? k.split(/>>/g).reduce(function (p, t, z, y) { 10009 return p = p.querySelector(t), z < y.length - 1 ? p.shadowRoot : p 10010 }, document) : null 10011 } 10012 10013 function l(k, p) { 10014 function t(z) { 10015 var y = [.001, .01, .1][Number(z.shiftKey || 2 * z.ctrlKey)] * (0 > z.deltaY ? 1 : -1), B = 0, 10016 D = k.selectionStart; 10017 k.value = k.value.replace(/[\d.]+/g, function (K, u) { 10018 return u <= D && u + K.length >= D ? (D = u, p(Number(K), y, B)) : (B++, K) 10019 }); 10020 k.focus(); 10021 k.setSelectionRange(D, D); 10022 z.preventDefault(); 10023 k.dispatchEvent(new Event("input")) 10024 } 10025 10026 p = void 0 === p ? function (z) { 10027 return z 10028 } : p; 10029 G(k, "focus", function () { 10030 return G(window, "wheel", t, {passive: !1}) 10031 }); 10032 G(k, "blur", function () { 10033 return w(window, "wheel", t) 10034 }) 10035 } 10036 10037 function m(k, p, t) { 10038 p /= 100; 10039 t /= 100; 10040 var z = P(k = k / 360 * 6), y = k - z; 10041 k = t * (1 - p); 10042 var B = t * (1 - y * p); 10043 p = t * (1 - (1 - y) * p); 10044 z %= 6;
10045 return [255 * [t, B, k, k, p, t][z], 255 * [p, t, t, B, k, k][z], 255 * [k, k, p, t, t, B][z]] 10046 } 10047 10048 function q(k, p, t) { 10049 var z = (2 - (p /= 100)) * (t /= 100) / 2; 10050 return 0 !== z && (p = 1 === z ? 0 : .5 > z ? p * t / (2 * z) : p * t / (2 - 2 * z)), [k, 100 * p, 100 * z] 10051 } 10052 10053 function n(k, p, t) { 10054 var z = F(k /= 255, p /= 255, t /= 255), y = M(k, p, 10055 t), B = y - z; 10056 if (0 === B) var D = z = 0; else { 10057 z = B / y; 10058 var K = ((y - k) / 6 + B / 2) / B, u = ((y - p) / 6 + B / 2) / B; 10059 B = ((y - t) / 6 + B / 2) / B; 10060 k === y ? D = B - u : p === y ? D = 1 / 3 + K - B : t === y && (D = 2 / 3 + u - K); 10061 0 > D ? D += 1 : 1 < D && --D 10062 } 10063 return [360 * D, 100 * z, 100 * y] 10064 } 10065 10066 function r(k, p, t, z) { 10067 p /= 100; 10068 t /= 100; 10069 return [].concat($jscomp.arrayFromIterable(n(255 * (1 - F(1, k / 100 * (1 - (z /= 100)) + z)), 255 * (1 - F(1, p * (1 - z) + z)), 255 * (1 - F(1, t * (1 - z) + z))))) 10070 } 10071 10072 function v(k, p, t) { 10073 p /= 100; 10074 var z = 2 * (p *= .5 > (t /= 100) ? t : 1 - t) / (t + p) * 100; 10075 p = 100 * (t + p); 10076 return [k, isNaN(z) ? 0 : z, p] 10077 } 10078 10079 function A(k) { 10080 return n.apply(null, $jscomp.arrayFromIterable(k.match(/.{2}/g).map(function (p) { 10081 return parseInt(p, 10082 16) 10083 }))) 10084 } 10085 10086 function E(k) { 10087 k = k.match(/^[a-zA-Z]+$/) ? function (K) { 10088 if ("black" === K.toLowerCase()) return "#000"; 10089 var u = document.createElement("canvas").getContext("2d"); 10090 return u.fillStyle = K, "#000" === u.fillStyle ? null : u.fillStyle 10091 }(k) : k; 10092 var p = { 10093 cmyk: /^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i, 10094 rgba: /^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, 10095 hsla: /^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, 10096 hsva: /^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, 10097 hexa: /^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i 10098 }, t = function (K) { 10099 return K.map(function (u) { 10100 return /^(|\d+)\.\d+|\d+$/.test(u) ? Number(u) : void 0 10101 }) 10102 }, z, y; 10103 a:for (y in p) if (z = p[y].exec(k)) { 10104 var B = function (K) { 10105 return !!z[2] == ("number" == typeof K) 10106 }; 10107 switch (y) { 10108 case "cmyk": 10109 t = $jscomp.makeIterator(t(z)); 10110 t.next(); 10111 B = t.next().value; 10112 k = t.next().value; 10113 p = t.next().value; 10114 t = t.next().value; 10115 if (100 < B || 100 < k || 100 < p || 100 < t) break a; 10116 return {values: r(B, k, p, t), type: y}; 10117 case "rgba": 10118 var D = $jscomp.makeIterator(t(z)); 10119 D.next(); 10120 D.next(); 10121 D.next(); 10122 k = D.next().value; 10123 p = D.next().value; 10124 t = D.next().value; 10125 D = D.next().value; 10126 if (255 < k || 255 < p || 255 < t || 0 > D || 1 < D || !B(D)) break a; 10127 return {values: [].concat($jscomp.arrayFromIterable(n(k, p, t)), [D]), a: D, type: y}; 10128 case "hexa": 10129 return B = $jscomp.makeIterator(z), B.next(), k = B.next().value, 4 !== k.length && 3 !== k.length || (k = k.split("").map(function (K) { 10130 return K + K 10131 }).join("")), B = k.substring(0, 6), k = k.substring(6), k = k ? parseInt(k, 16) / 25
101315 : void 0, { 10132 values: [].concat($jscomp.arrayFromIterable(A(B)), [k]), 10133 a: k, 10134 type: y 10135 }; 10136 case "hsla": 10137 D = 10138 $jscomp.makeIterator(t(z)); 10139 D.next(); 10140 D.next(); 10141 D.next(); 10142 k = D.next().value; 10143 p = D.next().value; 10144 t = D.next().value; 10145 D = D.next().value; 10146 if (360 < k || 100 < p || 100 < t || 0 > D || 1 < D || !B(D)) break a; 10147 return {values: [].concat($jscomp.arrayFromIterable(v(k, p, t)), [D]), a: D, type: y}; 10148 case "hsva": 10149 D = $jscomp.makeIterator(t(z)); 10150 D.next(); 10151 D.next(); 10152 D.next(); 10153 k = D.next().value; 10154 p = D.next().value; 10155 t = D.next().value; 10156 D = D.next().value; 10157 if (360 < k || 100 < p || 100 < t || 0 > D || 1 < D || !B(D)) break a; 10158 return {values: [k, p, t, D], a: D, type: y} 10159 } 10160 } 10161 return {values: null, type: null} 10162 } 10163 10164 function I(k, 10165 p, t, z) { 10166 var y = function (D, K) { 10167 return function (u) { 10168 u = void 0 === u ? -1 : u; 10169 return K(~u ? D.map(function (x) { 10170 return Number(x.toFixed(u)) 10171 }) : D) 10172 } 10173 }, B = { 10174 h: void 0 === k ? 0 : k, 10175 s: void 0 === p ? 0 : p, 10176 v: void 0 === t ? 0 : t, 10177 a: void 0 === z ? 1 : z, 10178 toHSVA: function () { 10179 var D = [B.h, B.s, B.v, B.a]; 10180 return D.toString = y(D, function (K) { 10181 return "hsva(" + K[0] + ", " + K[1] + "%, " + K[2] + "%, " + B.a + ")" 10182 }), D 10183 }, 10184 toHSLA: function () { 10185 var D = [].concat($jscomp.arrayFromIterable(q(B.h, B.s, B.v)), [B.a]); 10186 return D.toString = y(D, function (K) { 10187 return "hsla(" + K[0] + ", " + K[1] + "%, " + K[2] + "%, " + B.a + 10188 ")" 10189 }), D 10190 }, 10191 toRGBA: function () { 10192 var D = [].concat($jscomp.arrayFromIterable(m(B.h, B.s, B.v)), [B.a]); 10193 return D.toString = y(D, function (K) { 10194 return "rgba(" + K[0] + ", " + K[1] + ", " + K[2] + ", " + B.a + ")" 10195 }), D 10196 }, 10197 toCMYK: function () { 10198 var D = function (K, u, x) { 10199 x = m(K, u, x); 10200 K = x[0] / 255; 10201 u = x[1] / 255; 10202 x = x[2] / 255; 10203 var C = F(1 - K, 1 - u, 1 - x); 10204 return [100 * (1 === C ? 0 : (1 - K - C) / (1 - C)), 100 * (1 === C ? 0 : (1 - u - C) / (1 - C)), 100 * (1 === C ? 0 : (1 - x - C) / (1 - C)), 100 * C] 10205 }(B.h, B.s, B.v); 10206 return D.toString = y(D, function (K) { 10207 return "cmyk(" + K[0] + "%, " + K[1] + "%, " + K[2] + "%, " + K[3] + "%)" 10208 }), D 10209 }, 10210 toHEXA: function () { 10211 var D = 10212 function (u, x, C) { 10213 return m(u, x, C).map(function (O) { 10214 return U(O).toString(16).padStart(2, "0") 10215 }) 10216 }(B.h, B.s, B.v), 10217 K = 1 <= B.a ? "" : Number((255 * B.a).toFixed(0)).toString(16).toUpperCase().padStart(2, "0"); 10218 return K && D.push(K), D.toString = function () { 10219 return "#" + D.join("").toUpperCase() 10220 }, D 10221 }, 10222 clone: function () { 10223 return I(B.h, B.s, B.v, B.a) 10224 } 10225 }; 10226 return B 10227 } 10228 10229 function H(k) { 10230 var p = { 10231 options: Object.assign({ 10232 lock: null, onchange: function () { 10233 return 0 10234 }, onstop: function () { 10235 return 0 10236 } 10237 }, k), _keyboard: function (y) { 10238 var B = y.type, D = y.key; 10239 if (document.activeElement === 10240 p.options.wrapper) { 10241 var K = p.options.lock, u = "ArrowUp" === D, x = "ArrowRight" === D, C = "ArrowDown" === D, 10242 O = "ArrowLeft" === D; 10243 "keydown" === B && (u || x || C || O) ? (D = B = 0, "v" === K ? B = u || x ? 1 : -1 : "h" === K ? B = u || x ? -1 : 1 : (D = u ? -1 : C ? 1 : 0, B = O ? -1 : x ? 1 : 0), p.update(S(p.cache.x + .01 * B), S(p.c
10243ache.y + .01 * D)), y.preventDefault()) : D.startsWith("Arrow") && (p.options.onstop(), y.preventDefault()) 10244 } 10245 }, _tapstart: function (y) { 10246 G(document, ["mouseup", "touchend", "touchcancel"], p._tapstop); 10247 G(document, ["mousemove", "touchmove"], p._tapmove); 10248 y.cancelable && y.preventDefault(); 10249 p._tapmove(y) 10250 }, _tapmove: function (y) { 10251 var B = p, D = B.options, K = B.cache; 10252 B = D.lock; 10253 var u = D.element, x = D.wrapper.getBoundingClientRect(), C = 0, O = 0; 10254 y ? (O = y && y.touches && y.touches[0], C = y ? (O || y).clientX : 0, O = y ? (O || y).clientY : 0, C < x.left ? C = x.left : C > x.left + x.width && (C = x.left + x.width), O < x.top ? O = x.top : O > x.top + x.height && (O = x.top + x.height), C -= x.left, O -= x.top) : K && (C = K.x * x.width, O = K.y * x.height); 10255 "h" !== B && (u.style.left = "calc(" + C / x.width * 100 + "% - " + u.offsetWidth / 2 + "px)"); 10256 "v" !== B && (u.style.top = "calc(" + O / x.height * 100 + "% - " + u.offsetHeight / 10257 2 + "px)"); 10258 p.cache = {x: C / x.width, y: O / x.height}; 10259 y = S(C / x.width); 10260 x = S(O / x.height); 10261 switch (B) { 10262 case "v": 10263 return D.onchange(y); 10264 case "h": 10265 return D.onchange(x); 10266 default: 10267 return D.onchange(y, x) 10268 } 10269 }, _tapstop: function () { 10270 p.options.onstop(); 10271 w(document, ["mouseup", "touchend", "touchcancel"], p._tapstop); 10272 w(document, ["mousemove", "touchmove"], p._tapmove) 10273 }, trigger: function () { 10274 p._tapmove() 10275 }, update: function (y, B) { 10276 y = void 0 === y ? 0 : y; 10277 B = void 0 === B ? 0 : B; 10278 var D = p.options.wrapper.getBoundingClientRect(), K = D.left, u = D.top, x = D.width; 10279 D = D.height; 10280 "h" === p.options.lock && (B = y); 10281 p._tapmove({clientX: K + x * y, clientY: u + D * B}) 10282 }, destroy: function () { 10283 var y = p, B = y.options, D = y._tapstart; 10284 w(document, ["keydown", "keyup"], y._keyboard); 10285 w([B.wrapper, B.element], "mousedown", D); 10286 w([B.wrapper, B.element], "touchstart", D, {passive: !1}) 10287 } 10288 }, t = p; 10289 k = t.options; 10290 var z = t._tapstart; 10291 t = t._keyboard; 10292 return G([k.wrapper, k.element], "mousedown", z), G([k.wrapper, k.element], "touchstart", z, {passive: !1}), G(document, ["keydown", "keyup"], t), p 10293 } 10294 10295 function L(k) { 10296 k = void 0 === k ? {} : k; 10297 k = Object.assign({ 10298 onchange: function () { 10299 return 0 10300 }, 10301 className: "", elements: [] 10302 }, k); 10303 var p = G(k.elements, "click", function (t) { 10304 k.elements.forEach(function (z) { 10305 return z.classList[t.target === z ? "add" : "remove"](k.className) 10306 }); 10307 k.onchange(t); 10308 t.stopPropagation() 10309 }); 10310 return { 10311 destroy: function () { 10312 return w.apply(null, $jscomp.arrayFromIterable(p)) 10313 } 10314 } 10315 } 10316 10317 function N(k, p, t) { 10318 return p in k ? Object.defineProperty(k, p, { 10319 value: t, 10320 enumerable: !0, 10321 configurable: !0, 10322 writable: !0 10323 }) : k[p] = t, k 10324 } 10325 10326 c.r(b); 10327 a = {}; 10328 c.r(a); 10329 c.d(a, "on", function () { 10330 return G 10331 }); 10332 c.d(a, "off", function () { 10333 return w 10334 }); 10335 c.d(a, "createElementFromString", 10336 function () { 10337 return e 10338 }); 10339 c.d(a, "createFromTemplate", function () { 10340 return f 10341 }); 10342 c.d(a, "eventPath", function () { 10343 return h 10344 }); 10345 c.d(a, "resolveElement", function () { 10346 return g 10347 }); 10348 c.d(a, "adjustableInputNumbers", function () { 10349 return l 10350 }); 10351 var G = d.bind(null, "addEventListener"), w = d.bind(null, "removeEventListener"); 10352 c = Math;
10353 var F = c.min, M = c.max, P = c.floor, U = c.round, S = function (k) { 10354 return Math.max(Math.min(k, 1), 0) 10355 }, R = { 10356 variantFlipOrder: {start: "sme", middle: "mse", end: "ems"}, 10357 positionFlipOrder: {top: "tbrl", right: "rltb", bottom: "btrl", left: "lrbt"}, 10358 position: "bottom", 10359 margin: 8 10360 }, Y = function (k, p, t) { 10361 var z = "object" != typeof k || k instanceof HTMLElement ? Object.assign({}, { 10362 reference: k, 10363 popper: p 10364 }, t) : k; 10365 return { 10366 update: function (y) { 10367 y = void 0 === y ? z : y; 10368 y = Object.assign(z, y); 10369 var B = y.reference; 10370 y = y.popper; 10371 if (!y || !B) throw Error("Popper- or reference-element missing."); 10372 a:{ 10373 var D = Object.assign({}, {container: document.documentElement.getBoundingClientRect()}, R, z), 10374 K = D.container, u = D.margin, x = D.position, C = D.variantFlipOrder, 10375 O = D.positionFlipOrder, X = y.style; 10376 D = X.left; 10377 X = X.top; 10378 y.style.left = 10379 "0"; 10380 y.style.top = "0"; 10381 var T = B.getBoundingClientRect(); 10382 B = y.getBoundingClientRect(); 10383 u = {t: T.top - B.height - u, b: T.bottom + u, r: T.right + u, l: T.left - B.width - u}; 10384 T = { 10385 vs: T.left, 10386 vm: T.left + T.width / 2 + -B.width / 2, 10387 ve: T.left + T.width - B.width, 10388 hs: T.top, 10389 hm: T.bottom - T.height / 2 - B.height / 2, 10390 he: T.bottom - B.height 10391 }; 10392 x = $jscomp.makeIterator(x.split("-")); 10393 var ba = x.next().value; 10394 x = x.next().value; 10395 C = C[void 0 === x ? "middle" : x]; 10396 x = K.top; 10397 var ha = K.left, ja = K.bottom; 10398 K = K.right; 10399 O = $jscomp.makeIterator(O[ba]); 10400 for (ba = O.next(); !ba.done; ba = O.next()) { 10401 ba = ba.value; 10402 var fa = "t" === ba || "b" === ba, Q = u[ba], 10403 W = $jscomp.makeIterator(fa ? ["top", "left"] : ["left", "top"]), aa = W.next().value; 10404 W = W.next().value; 10405 var da = $jscomp.makeIterator(fa ? [B.height, B.width] : [B.width, B.height]), 10406 ea = da.next().value; 10407 da = da.next().value; 10408 var ca = $jscomp.makeIterator(fa ? [ja, K] : [K, ja]), Z = ca.next().value; 10409 ca = ca.next().value; 10410 var V = $jscomp.makeIterator(fa ? [x, ha] : [ha, x]), ia = V.next().value; 10411 V = V.next().value; 10412 if (!(Q < ia || Q + ea > Z)) for (ea = $jscomp.makeIterator(C), Z = ea.next(); !Z.done; Z = ea.next()) if (Z = Z.value, ia = T[(fa ? 10413 "v" : "h") + Z], !(ia < V || ia + da > ca)) { 10414 y = (y.style[W] = ia - B[W] + "px", y.style[aa] = Q - B[aa] + "px", ba + Z); 10415 break a 10416 } 10417 } 10418 y = (y.style.left = D, y.style.top = X, null) 10419 } 10420 return y 10421 } 10422 } 10423 }, J = function (k) { 10424 var p = this; 10425 N(this, "_initializingActive", !0); 10426 N(this, "_recalc", !0); 10427 N(this, "_nanopop", null); 10428 N(this, "_root", null); 10429 N(this, "_color", I()); 10430 N(this, "_lastColor", I()); 10431 N(this, "_swatchColors", []); 10432 N(this, "_setupAnimationFrame", null); 10433 N(this, "_eventListener", { 10434 init: [], 10435 save: [], 10436 hide: [], 10437 show: [], 10438 clear: [], 10439 change: [], 10440 changestop: [], 10441 cancel: [], 10442 swatchselect: [] 10443 }); 10444 var t = 10445 this.options = k = Object.assign(Object.assign({}, J.DEFAULT_OPTIONS), k), z = t.swatches, 10446 y = t.components, B = t.sliders, D = t.lockOpacity, K = t.padding; 10447 ["nano", "monolith"].includes(t.theme) && !B && (k.sliders = "h"); 10448 y.interaction || (y.interaction = {}); 10449 t = y.preview; 10450 B = y.opacity; 10451 var u = y.hue, x = y.palette; 10452 y.opacity = !D && B; 10453 y.palette = x || t || B || u; 10454 this._preBuild(); 10455 this._buildComponents(); 10456 this._bindEvents(); 10457 this._finalBuild(); 10458 z && z.length && z.forEach(function (X) { 10459 return p.addSwatch(X) 10460 }); 10461 z = this._root; 10462 y = z.button; 10463 var C = z.app; 10464 this._nanopop = 10465 Y(y, C, {margin: K}); 10466 y.setAttribute("role", "button"); 10467 y.setAttribute("aria-label", this._t("btn:toggle")); 10468 var O = this; 10469 this._setupAnimationFrame = requestAnimationFrame(function T() { 10470 if (!C.offsetWidth) return requestAnimationFrame(T); 10471 O.setColor(k.default); 10472 O._rePositioningPicker(); 10473 k.defaultRepresentation && (O._representation = k.defaultRepresentation, O.setColorRepresentation(O._representation)); 10474 k.showAlways && O.show(); 10475 O._initializingActive = !1;
10476 O._emit("init") 10477 }) 10478 }; 10479 J.prototype._preBuild = function () { 10480 for (var k = this.options, 10481 p = $jscomp.makeIterator(["el", "container"]), t = p.next(); !t.done; t = p.next()) t = t.value, k[t] = g(k[t]); 10482 this._root = function (z) { 10483 var y = z.options, B = y.components, D = y.lockOpacity, K = function (C) { 10484 return C ? "" : 'style="display:none" hidden' 10485 }, u = function (C) { 10486 return z._t(C) 10487 }; 10488 y = f('\n <div :ref="root" class="pickr">\n\n ' + (y.useAsButton ? "" : '<button type="button" :ref="button" class="pcr-button"></button>') + '\n\n <div :ref="app" class="pcr-app ' + (y.appClass || "") + '" data-theme="' + y.theme + '" ' + (y.inline ? 'style="position: unset"' : 10489 "") + ' aria-label="' + u("ui:dialog") + '" role="window">\n <div class="pcr-selection" ' + K(B.palette) + '>\n <div :obj="preview" class="pcr-color-preview" ' + K(B.preview) + '>\n <button type="button" :ref="lastColor" class="pcr-last-color" aria-label="' + u("btn:last-color") + '"></button>\n <div :ref="currentColor" class="pcr-current-color"></div>\n </div>\n\n <div :obj="palette" class="pcr-color-palette">\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="palette" class="pcr-palette" tabindex="0" aria-label="' + 10490 u("aria:palette") + '" role="listbox"></div>\n </div>\n\n <div :obj="hue" class="pcr-color-chooser" ' + K(B.hue) + '>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-hue pcr-slider" tabindex="0" aria-label="' + u("aria:hue") + '" role="slider"></div>\n </div>\n\n <div :obj="opacity" class="pcr-color-opacity" ' + K(B.opacity) + '>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-opacity pcr-slider" tabindex="0" aria-label="' + 10491 u("aria:opacity") + '" role="slider"></div>\n </div>\n </div>\n\n <div class="pcr-swatches ' + (B.palette ? "" : "pcr-last") + '" :ref="swatches"></div>\n\n <div :obj="interaction" class="pcr-interaction" ' + K(Object.keys(B.interaction).length) + '>\n <input :ref="result" class="pcr-result" type="text" spellcheck="false" ' + K(B.interaction.input) + ' aria-label="' + u("aria:input") + '">\n\n <input :arr="options" class="pcr-type" data-type="HEXA" value="' + (D ? 10492 "HEX" : "HEXA") + '" type="button" ' + K(B.interaction.hex) + '>\n <input :arr="options" class="pcr-type" data-type="RGBA" value="' + (D ? "RGB" : "RGBA") + '" type="button" ' + K(B.interaction.rgba) + '>\n <input :arr="options" class="pcr-type" data-type="HSLA" value="' + (D ? "HSL" : "HSLA") + '" type="button" ' + K(B.interaction.hsla) + '>\n <input :arr="options" class="pcr-type" data-type="HSVA" value="' + (D ? "HSV" : "HSVA") + '" type="button" ' + K(B.interaction.hsva) + '>\n <input :arr="options" class="pcr-type" data-type="CMYK" value="CMYK" type="button" ' + 10493 K(B.interaction.cmyk) + '>\n\n <input :ref="save" class="pcr-save" value="' + u("btn:save") + '" type="button" ' + K(B.interaction.save) + ' aria-label="' + u("aria:btn:save") + '">\n <input :ref="cancel" class="pcr-cancel" value="' + u("btn:cancel") + '" type="button" ' + K(B.interaction.cancel) + ' aria-label="' + u("aria:btn:cancel") + '">\n <input :ref="clear" class="pcr-clear" value="' + u("btn:clear") + '" type="button" ' + K(B.interaction.clear) + ' aria-label="' + u("aria:btn:clear") + '">\n </div>\n </div>\n </div>\n '); 10494 var x = y.interaction; 10495 return x.options.find(function (C) { 10496 return !C.hidden && !C.classList.add("active") 10497 }), x.type = function () { 10498 return x.options.find(function (C) { 10499 return C.classList.contains("active") 10500 }) 10501 }, y 10502 }(this); 10503 k.useAsButton && (this._root.button = k.el); 10504 k.container.appendChild(this._root.root) 10505 }; 10506 J.prototype._finalBuild = function () { 10507 var k = this.options, p = this._root; 10508 if (k.container.removeChild(p.root), k.inline) { 10509 var t = k.el.parentElement; 10510 k.el.nextSibling ? t.insertBefore(p.app, k.el.nextSibling) : t.appendChild(p.app) 10511 } else k.container.appendChild(p.app); 10512 k.useAsButton ? k.inline && k.el.remove() : k.el.parentNode.replaceChild(p.root, k.el); 10513 k.disabled && this.disable(); 10514 k.comparison || (p.button.style.transition = "none", k.useAsButton || (p.preview.lastColor.style.transition = "none")); 10515 this.hide() 10516 }; 10517 J.prototype._buildComponents = function () { 10518 var k = this, p = this, t = this.options.components, z = (p.options.sliders || "v").repeat(2), 10519 y = $jscomp.makeIterator(z.match(/^[vh]+$/g) ? z : []); 10520 z = y.next().value; 10521 y = y.next().value; 10522 var B = function () { 10523 return k._color || (k._color = k._lastColor.clone()) 10524 }, 10525 D = { 10526 palette: H({ 10527 element: p._root.palette.picker, wrapper: p._root.palette.palette, onstop: function () { 10528 return p._emit("changestop", "slider", p) 10529 }, onchange: function (K, u) { 10530 if (t.palette) { 10531 var x = B(), C = p._root, O = p.options, X = C.preview, T = X.lastColor; 10532 X = X.currentColor; 10533 p._recalc && (x.s = 100 * K, x.v = 100 - 100 * u, 0 > x.v && (x.v = 0), p._updateOutput("slider")); 10534 K = x.toRGBA().toString(0); 10535 this.element.style.background = K; 10536 this.wrapper.style.background = "\n linear-gradient(to top, rgba(0, 0, 0, " + x.a + "), transparent),\n linear-gradient(to left, hsla(" + 10537 x.h + ", 100%, 50%, " + x.a + "), rgba(255, 255, 255, " + x.a + "))\n "; 10538 O.comparison ? O.useAsButton || p._lastColor || (T.style.color = K) : (C.button.style.color = K, C.button.classList.remove("clear")); 10539 x = x.toHEXA().toString(); 10540 C = $jscomp.makeIterator(p._swatchColors); 10541 for (O = C.next(); !O.done; O = C.next()) O = O.value, O.el.classList[x === O.color.toHEXA().toString() ? "add" : "remove"]("pcr-active"); 10542 X.style.color = K 10543 } 10544 } 10545 }), 10546 hue: H({ 10547 lock: "v" === y ? "h" : "v", 10548 element: p._root.hue.picker, 10549 wrapper: p._root.hue.slider, 10550 onstop: function () { 10551 return p._emit("changestop", 10552 "slider", p) 10553 }, 10554 onchange: function (K) { 10555 if (t.hue && t.palette) { 10556 var u = B(); 10557 p._recalc && (u.h = 360 * K); 10558 this.element.style.backgroundColor = "hsl(" + u.h + ", 100%, 50%)"; 10559 D.palette.trigger() 10560 } 10561 } 10562 }), 10563 opacity: H({ 10564 lock: "v" === z ? "h" : "v", 10565 element: p._root.opacity.picker, 10566 wrapper: p._root.opacity.slider, 10567 onstop: function () { 10568 return p._emit("changestop", "slider", p) 10569 }, 10570 onchange: function (K) { 10571 if (t.opacity && t.palette) { 10572 var u = B(); 10573 p._recalc && (u.a = Math.round(100 * K) / 100); 10574 this.element.style.background = "rgba(0, 0, 0, " + u.a + ")"; 10575 D.palette.trigger() 10576 } 10577 } 10578 }), 10579 selectable: L({ 10580 elements: p._root.interaction.options, 10581 className: "active", onchange: function (K) { 10582 p._representation = K.target.getAttribute("data-type").toUpperCase(); 10583 p._recalc && p._updateOutput("swatch") 10584 } 10585 }) 10586 }; 10587 this._components = D 10588 }; 10589 J.prototype._bindEvents = function () { 10590 var k = this, p = this._root, t = this.options, z = [G(p.interaction.clear, "click", function () { 10591 return k._clearColor() 10592 }), G([p.interaction.cancel, p.preview.lastColor], "click", function () { 10593 k._emit("cancel"); 10594 k.setHSVA.apply(k, [].concat($jscomp.arrayFromIterable((k._lastColor || k._color).toHSVA()), [!0])) 10595 }), G(p.interaction.save, 10596 "click", function () { 10597 k.applyColor() || t.showAlways || k.hide() 10598 }), G(p.interaction.result, ["keyup", "input"], function (u) { 10599 k.setColor(u.target.value, !0) && !k._initializingActive && (k._emit("change", k._color, "input", k), k._emit("changestop", "input", k)); 10600 u.stopImmediatePropagation() 10601 }), G(p.interaction.result, ["focus", "blur"], function (u) { 10602 k._recalc = "blur" === u.type; 10603 k._recalc && k._updateOutput(null) 10604 }
10604), G([p.palette.palette, p.palette.picker, p.hue.slider, p.hue.picker, p.opacity.slider, p.opacity.picker], ["mousedown", "touchstart"], 10605 function () { 10606 return k._recalc = !0 10607 }, {passive: !0})]; 10608 if (!t.showAlways) { 10609 var y = t.closeWithKey; 10610 z.push(G(p.button, "click", function () { 10611 return k.isOpen() ? k.hide() : k.show() 10612 }), G(document, "keyup", function (u) { 10613 return k.isOpen() && (u.key === y || u.code === y) && k.hide() 10614 }), G(document, ["touchstart", "mousedown"], function (u) { 10615 k.isOpen() && !h(u).some(function (x) { 10616 return x === p.app || x === p.button 10617 }) && k.hide() 10618 }, {capture: !0})) 10619 } 10620 if (t.adjustableNumbers) { 10621 var B = { 10622 rgba: [255, 255, 255, 1], hsva: [360, 100, 100, 1], hsla: [360, 100, 100, 1], cmyk: [100, 100, 100, 10623 100] 10624 }; 10625 l(p.interaction.result, function (u, x, C) { 10626 var O = B[k.getColorRepresentation().toLowerCase()]; 10627 return O ? (C = O[C], u += 100 <= C ? 1E3 * x : x, 0 >= u ? 0 : Number((u < C ? u : C).toPrecision(3))) : u 10628 }) 10629 } 10630 if (t.autoReposition && !t.inline) { 10631 var D = null, K = this; 10632 z.push(G(window, ["scroll", "resize"], function () { 10633 K.isOpen() && (t.closeOnScroll && K.hide(), null === D ? (D = setTimeout(function () { 10634 return D = null 10635 }, 100), requestAnimationFrame(function x() { 10636 K._rePositioningPicker(); 10637 null !== D && requestAnimationFrame(x) 10638 })) : (clearTimeout(D), D = setTimeout(function () { 10639 return D = 10640 null 10641 }, 100))) 10642 }, {capture: !0})) 10643 } 10644 this._eventBindings = z 10645 }; 10646 J.prototype._rePositioningPicker = function () { 10647 var k = this.options; 10648 if (!k.inline && !this._nanopop.update({ 10649 container: document.body.getBoundingClientRect(), 10650 position: k.position 10651 })) { 10652 k = this._root.app; 10653 var p = k.getBoundingClientRect(); 10654 k.style.top = (window.innerHeight - p.height) / 2 + "px"; 10655 k.style.left = (window.innerWidth - p.width) / 2 + "px" 10656 } 10657 }; 10658 J.prototype._updateOutput = function (k) { 10659 var p = this._root, t = this._color, z = this.options; 10660 if (p.interaction.type()) { 10661 var y = "to" + p.interaction.type().getAttribute("data-type"); 10662 p.interaction.result.value = "function" == typeof t[y] ? t[y]().toString(z.outputPrecision) : "" 10663 } 10664 !this._initializingActive && this._recalc && this._emit("change", t, k, this) 10665 }; 10666 J.prototype._clearColor = function (k) { 10667 k = void 0 === k ? !1 : k; 10668 var p = this._root, t = this.options; 10669 t.useAsButton || (p.button.style.color = "rgba(0, 0, 0, 0.15)"); 10670 p.button.classList.add("clear"); 10671 t.showAlways || this.hide(); 10672 this._lastColor = null; 10673 this._initializingActive || k || (this._emit("save", null), this._emit("clear")) 10674 }; 10675 J.prototype._parseLocalColor = function (k) { 10676 var p = 10677 E(k); 10678 k = p.values; 10679 var t = p.type; 10680 p = p.a; 10681 var z = this.options.lockOpacity; 10682 return k && 3 === k.length && (k[3] = void 0), { 10683 values: !k || z && void 0 !== p && 1 !== p ? null : k, 10684 type: t 10685 } 10686 }; 10687 J.prototype._t = function (k) { 10688 return this.options.i18n[k] || J.I18N_DEFAULTS[k] 10689 }; 10690 J.prototype._emit = function (k, p) { 10691 for (var t = [], z = 1; z < arguments.length; ++z) t[z - 1] = arguments[z]; 10692 var y = this;
10693 this._eventListener[k].forEach(function (B) { 10694 return B.apply(null, [].concat($jscomp.arrayFromIterable(t), [y])) 10695 }) 10696 }; 10697 J.prototype.on = function (k, p) { 10698 return this._eventListener[k].push(p), 10699 this 10700 }; 10701 J.prototype.off = function (k, p) { 10702 k = this._eventListener[k] || []; 10703 p = k.indexOf(p); 10704 return ~p && k.splice(p, 1), this 10705 }; 10706 J.prototype.addSwatch = function (k) { 10707 var p = this, t = this._parseLocalColor(k).values; 10708 if (t) { 10709 k = this._swatchColors; 10710 var z = this._root, y = I.apply(null, $jscomp.arrayFromIterable(t)); 10711 t = e('<button type="button" style="color: ' + y.toRGBA().toString(0) + '" aria-label="' + this._t("btn:swatch") + '"/>'); 10712 return z.swatches.appendChild(t), k.push({ 10713 el: t, 10714 color: y 10715 }), this._eventBindings.push(G(t, "click", function () { 10716 p.setHSVA.apply(p, 10717 [].concat($jscomp.arrayFromIterable(y.toHSVA()), [!0])); 10718 p._emit("swatchselect", y); 10719 p._emit("change", y, "swatch", p) 10720 })), !0 10721 } 10722 return !1 10723 }; 10724 J.prototype.removeSwatch = function (k) { 10725 var p = this._swatchColors[k]; 10726 return p ? (this._root.swatches.removeChild(p.el), this._swatchColors.splice(k, 1), !0) : !1 10727 }; 10728 J.prototype.applyColor = function (k) { 10729 k = void 0 === k ? !1 : k; 10730 var p = this._root, t = p.preview; 10731 p = p.button; 10732 var z = this._color.toRGBA().toString(0); 10733 return t.lastColor.style.color = z, this.options.useAsButton || (p.style.color = z), p.classList.remove("clear"), 10734 this._lastColor = this._color.clone(), this._initializingActive || k || this._emit("save", this._color), this 10735 }; 10736 J.prototype.destroy = function () { 10737 var k = this; 10738 cancelAnimationFrame(this._setupAnimationFrame);
10739 this._eventBindings.forEach(function (p) { 10740 return w.apply(null, $jscomp.arrayFromIterable(p)) 10741 }); 10742 Object.keys(this._components).forEach(function (p) { 10743 return k._components[p].destroy() 10744 }) 10745 }; 10746 J.prototype.destroyAndRemove = function () { 10747 var k = this; 10748 this.destroy(); 10749 var p = this._root, t = p.root; 10750 p = p.app; 10751 t.parentElement && t.parentElement.removeChild(t); 10752 p.parentElement.removeChild(p); 10753 Object.keys(this).forEach(function (z) { 10754 return k[z] = null 10755 }) 10756 }; 10757 J.prototype.hide = function () { 10758 return this._root.app.classList.remove("visible"), this._emit("hide"), this 10759 }; 10760 J.prototype.show = function () { 10761 return this.options.disabled || (this._root.app.classList.add("visible"), this._rePositioningPicker(), this._emit("show", this._color)), this 10762 }; 10763 J.prototype.isOpen = function () { 10764 return this._root.app.classList.contains("visible") 10765 }; 10766 J.prototype.setHSVA = function (k, p, t, z, y) { 10767 k = void 0 === k ? 360 : k; 10768 p = 10769 void 0 === p ? 0 : p; 10770 t = void 0 === t ? 0 : t; 10771 z = void 0 === z ? 1 : z; 10772 y = void 0 === y ? !1 : y; 10773 var B = this._recalc; 10774 if (this._recalc = !1, 0 > k || 360 < k || 0 > p || 100 < p || 0 > t || 100 < t || 0 > z || 1 < z) return !1; 10775 this._color = I(k, p, t, z); 10776 var D = this._components, K = D.opacity, u = D.palette; 10777 return D.hue.update(k / 360), K.update(z), u.update(p / 100, 1 - t / 100), y || this.applyColor(), B && this._updateOutput(), this._recalc = B, !0 10778 }; 10779 J.prototype.setColor = function (k, p) { 10780 p = void 0 === p ? !1 : p; 10781 if (null === k) return this._clearColor(p), !0; 10782 var t = this._parseLocalColor(k); 10783 k = t.values; 10784 t = t.type; 10785 if (k) { 10786 var z = t.toUpperCase(), y = this._root.interaction.options; 10787 if ((t = y.find(function (D) { 10788 return D.getAttribute("data-type") === z 10789 })) && !t.hidden) { 10790 y = $jscomp.makeIterator(y); 10791 for (var B = y.next(); !B.done; B = y.next()) B = B.value, B.classList[B === t ? "add" : "remove"]("active") 10792 } 10793 return !!this.setHSVA.apply(this, [].concat($jscomp.arrayFromIterable(k), [p])) && this.setColorRepresentation(z) 10794 } 10795 return !1 10796 }; 10797 J.prototype.setColorRepresentation = function (k) { 10798 return k = k.toUpperCase(), !!this._root.interaction.options.find(function (p) { 10799 return p.getAttribute("data-type").startsWith(k) && 10800 !p.click() 10801 }) 10802 }; 10803 J.prototype.getColorRepresentation = function () { 10804 return this._representation 10805 }; 10806 J.prototype.getColor = function () { 10807 return this._color 10808 }; 10809 J.prototype.getSelectedColor = function () { 10810 return this._lastColor 10811 }; 10812 J.prototype.getRoot = function () { 10813 return this._root 10814 }; 10815 J.prototype.disable = function () { 10816 return this.hide(), this.options.disabled = !0, this._root.button.classList.add("disabled"), this 10817 }; 10818 J.prototype.enable = function () { 10819 return this.options.disabled = !1, this._root.button.classList.remove("disabled"), this 10820 }; 10821 N(J, "utils", 10822 a); 10823 N(J, "version", "1.8.0"); 10824 N(J, "I18N_DEFAULTS", { 10825 "ui:dialog": "color picker dialog", 10826 "btn:toggle": "toggle color picker dialog", 10827 "btn:swatch": "color swatch", 10828 "btn:last-color": "use previous color", 10829 "btn:save": "Save", 10830 "btn:cancel": "Cancel", 10831 "btn:clear": "Clear", 10832 "aria:btn:save": "save and close", 10833 "aria:btn:cancel": "cancel and close", 10834 "aria:btn:clear": "clear and close", 10835 "aria:input": "color input field", 10836 "aria:palette": "color selection area", 10837 "aria:hue": "hue selection slider", 10838 "aria:opacity": "selection slider" 10839 }); 10840 N(J, "DEFAULT_OPTIONS", 10841 { 10842 appClass: null, 10843 theme: "classic", 10844 useAsButton: !1, 10845 padding: 8, 10846 disabled: !1, 10847 comparison: !0, 10848 closeOnScroll: !1, 10849 outputPrecision: 0, 10850 lockOpacity: !1, 10851 autoReposition: !0, 10852 container: "body", 10853 components: {interaction: {}}, 10854 i18n: {}, 10855 swatches: null, 10856 inline: !1, 10857 sliders: null, 10858 default: "#42445a", 10859 defaultRepresentation: null, 10860 position: "bottom-middle", 10861 adjustableNumbers: !0, 10862 showAlways: !1, 10863 closeWithKey: "Escape" 10864 }); 10865 N(J, "create", function (k) {
10866 return new J(k) 10867 }); 10868 b.default = J 10869 }]).default 10870}); 10871window.rp_requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || function (a, b) { 10872 setTimeout(a, 1E3 / 60) 10873}; 10874 10875function RadialProgress(a, b) { 10876 a.innerHTML = ""; 10877 var c = document.createElement("div"); 10878 c.style.width = "10em"; 10879 c.style.height = "10em"; 10880 c.style.position = "relative"; 10881 a.appendChild(c); 10882 a = c; 10883 b || (b = {}); 10884 this.colorBg = void 0 == b.colorBg ? "#404040" : b.colorBg; 10885 this.colorFg = void 0 == b.colorFg ? "#007FFF" : b.colorFg; 10886 this.colorText = void 0 == b.colorText ? "#FFFFFF" : b.colorText; 10887 this.indeterminate = void 0 == b.indeterminate ? !1 : b.indeterminate; 10888 this.round = void 0 == b.round ? !1 : b.round; 10889 this.thick = void 0 == b.thick ? 2 : b.thick; 10890 this.progress = void 0 == b.progress ? 10891 0 : b.progress; 10892 this.noAnimations = void 0 == b.noAnimations ? 0 : b.noAnimations; 10893 this.fixedTextSize = void 0 == b.fixedTextSize ? !1 : b.fixedTextSize; 10894 this.animationSpeed = void 0 == b.animationSpeed ? 1 : 0 < b.animationSpeed ? b.animationSpeed : 1; 10895 this.noPercentage = void 0 == b.noPercentage ? !1 : b.noPercentage; 10896 this.spin = void 0 == b.spin ? !1 : b.spin; 10897 this.aniP = b.noInitAnimation ? this.progress : 0; 10898 b = document.createElement("canvas"); 10899 b.style.position = "absolute"; 10900 b.style.top = "0"; 10901 b.style.left = "0"; 10902 b.style.width = "100%"; 10903 b.style.height = "100%"; 10904 b.className = 10905 "rp_canvas"; 10906 a.appendChild(b); 10907 this.canvas = b; 10908 b = document.createElement("div"); 10909 b.style.position = "absolute"; 10910 b.style.display = "table"; 10911 b.style.width = "100%"; 10912 b.style.height = "100%"; 10913 c = document.createElement("div"); 10914 c.style.display = "table-cell"; 10915 c.style.verticalAlign = "middle"; 10916 var d = document.createElement("div"); 10917 d.style.color = this.colorText; 10918 d.style.textAlign = "center"; 10919 d.style.overflow = "visible"; 10920 d.style.whiteSpace = "nowrap"; 10921 d.className = "rp_text"; 10922 c.appendChild(d); 10923 b.appendChild(c); 10924 a.appendChild(b); 10925 this.text = d; 10926 this.indetA = 10927 this.prevP = this.prevH = this.prevW = 0; 10928 this.indetB = .2; 10929 this.rot = 0; 10930 this.draw = function (e) { 10931 1 != e && rp_requestAnimationFrame(this.draw); 10932 var f = this.canvas, h = window.devicePixelRatio || 1; 10933 f.width = f.clientWidth * h; 10934 f.height = f.clientHeight * h; 10935 if (1 == e || this.spin || this.indeterminate || !(1 > Math.abs(this.prevP - this.progress) && this.prevW == f.width && this.prevH == f.height)) { 10936 e = f.width / 2; 10937 var g = f.height / 2, l = f.clientWidth / 100, m = f.height / 2 - this.thick * l * h / 2; 10938 l = f.clientWidth / 100; 10939 this.text.style.fontSize = (this.fixedTextSize ? f.clientWidth * 10940 this.fixedTextSize : .26 * f.clientWidth - this.thick) + "px"; 10941 if (this.noAnimations) this.aniP = this.progress; else { 10942 var q = Math.pow(.93, this.animationSpeed); 10943 this.aniP = this.aniP * q + this.progress * (1 - q) 10944 } 10945 f = f.getContext("2d"); 10946 f.beginPath(); 10947 f.strokeStyle = this.colorBg; 10948 f.lineWidth = this.thick * l * h; 10949 f.arc(e, g, m, -Math.PI / 2, 2 * Math.PI); 10950 f.stroke(); 10951 f.beginPath(); 10952 f.strokeStyle = this.colorFg; 10953 f.lineWidth = this.thick * l * h; 10954 this.round && (f.lineCap = "round"); 10955 this.indeterminate ? (this.indetA = (this.indetA + .07 * this.animationSpeed) % (2 * Math.PI), 10956 this.indetB = (this.indetB + .14 * this.animationSpeed) % (2 * Math.PI), f.arc(e, g, m, this.indetA, this.indetB), this.noPercentage || (this.text.innerHTML = "")) : (this.spin && !this.noAnimations && (this.rot = (this.rot + .07 * this.animationSpeed) % (2 * Math.PI)), f.arc(e, g, m, this.rot - Math.PI / 2, this.rot + 2 * this.aniP * Math.PI - Math.PI / 2), this.noPercentage || (this.text.innerHTML = Math.round(100 * this.aniP) + " %")); 10957 f.stroke(); 10958 this.prevW = f.width; 10959 this.prevH = f.height; 10960 this.prevP = this.aniP 10961 } 10962 }.bind(this); 10963 this.draw() 10964} 10965 10966RadialProgress.prototype = { 10967 constructor: RadialProgress, setValue: function (a) { 10968 this.progress = 0 > a ? 0 : 1 < a ? 1 : a 10969 }, setIndeterminate: function (a) { 10970 this.indeterminate = a 10971 }, setText: function (a) { 10972 this.text.innerHTML = a 10973 } 10974}; 10975(function () { 10976 function a(G) { 10977 return new Date(864E5 * (G + .5 - 2440588)) 10978 } 10979 10980 function b(G, w) { 10981 return A(q(G) * n(H) - r(w) * q(H), n(G)) 10982 } 10983 10984 function c(G, w) { 10985 return v(q(w) * n(H) + n(w) * q(H) * q(G)) 10986 } 10987 10988 function d(G, w, F) { 10989 return A(q(G), n(G) * q(w) - r(F) * n(w)) 10990 } 10991 10992 function e(G, w, F) { 10993 return v(q(w) * q(F) + n(w) * n(F) * n(G)) 10994 } 10995 10996 function f(G) { 10997 var w = I * (1.9148 * q(G) + .02 * q(2 * G) + 3E-4 * q(3 * G)); 10998 return G + w + 102.9372 * I + m 10999 } 11000 11001 function h(G) { 11002 G = f(I * (357.5291 + .98560028 * G)); 11003 return {dec: c(G, 0), ra: b(G, 0)} 11004 } 11005 11006 function g(G) { 11007 var w = I * (134.963 + 13.064993 * G), F = I * (93.272 + 13.22935 * G); 11008 G = I * (218.316 + 11009 13.176396 * G) + 6.289 * I * q(w); 11010 F = 5.128 * I * q(F); 11011 w = 385001 - 20905 * n(w); 11012 return {ra: b(G, F), dec: c(G, F), dist: w} 11013 } 11014 11015 function l(G, w) { 11016 return new Date(G.valueOf() + 864E5 * w / 24) 11017 } 11018 11019 var m = Math.PI, q = Math.sin, n = Math.cos, r = Math.tan, v = Math.asin, A = Math.atan2, E = Math.acos, 11020 I = m / 180, H = 23.4397 * I, L = { 11021 getPosition: function (G, w, F) { 11022 F = I * -F; 11023 w *= I; 11024 var M = G.valueOf() / 864E5 - .5 + 2440588 - 2451545; 11025 G = h(M); 11026 F = I * (280.16 + 360.9856235 * M) - F - G.ra; 11027 return {azimuth: d(F, w, G.dec), altitude: e(F, w, G.dec)} 11028 } 11029 }, N = L.times = [[-.833, "sunrise", "sunset"], [-.3, "sunriseEnd", "sunsetStart"], 11030 [-6, "dawn", "dusk"], [-12, "nauticalDawn", "nauticalDusk"], [-18, "nightEnd", "night"], [6, "goldenHourEnd", "goldenHour"]]; 11031 L.addTime = function (G, w, F) { 11032 N.push([G, w, F]) 11033 }; 11034 L.getTimes = function (G, w, F, M) { 11035 F = I * -F; 11036 w *= I; 11037 M = -2.076 * Math.sqrt(M || 0) / 60; 11038 G = Math.round(G.valueOf() / 864E5 - .5 + 2440588 - 2451545 - 9E-4 - F / (2 * m)); 11039 var P = 9E-4 + (0 + F) / (2 * m) + G, U = I * (357.5291 + .98560028 * P), S = f(U), R = c(S, 0); 11040 P = 2451545 + P + .0053 * q(U) - .0069 * q(2 * S); 11041 var Y, J = {solarNoon: a(P), nadir: a(P - .5)}; 11042 var k = 0; 11043 for (Y = N.length; k < Y; k += 1) { 11044 var p = N[k]; 11045 var t = (p[0] + M) * I; 11046 var z = F; 11047 var y = G; 11048 var B = U, D = S, K = w, u = R; 11049 t = E((q(t) - q(K) * q(u)) / (n(K) * n(u))); 11050 z = 2451545 + (9E-4 + (t + z) / (2 * m) + y) + .0053 * q(B) - .0069 * q(2 * D); 11051 y = P - (z - P); 11052 J[p[1]] = a(y); 11053 J[p[2]] = a(z) 11054 } 11055 return J 11056 }; 11057 L.getMoonPosition = function (G, w, F) { 11058 F = I * -F; 11059 w *= I; 11060 var M = G.valueOf() / 864E5 - .5 + 2440588 - 2451545; 11061 G = g(M); 11062 F = I * (280.16 + 360.9856235 * M) - F - G.ra; 11063 M = e(F, w, G.dec);
11064 var P = A(q(F), r(w) * n(G.dec) - q(G.dec) * n(F)), U = M; 11065 0 > U && (U = 0); 11066 M += 2.967E-4 / Math.tan(U + .00312536 / (U + .08901179)); 11067 return {azimuth: d(F, w, G.dec), altitude: M, distance: G.dist, parallacticAngle: P} 11068 }; 11069 L.getMoonIllumination = 11070 function (G) { 11071 var w = (G || new Date).valueOf() / 864E5 - .5 + 2440588 - 2451545; 11072 G = h(w); 11073 w = g(w); 11074 var F = E(q(G.dec) * q(w.dec) + n(G.dec) * n(w.dec) * n(G.ra - w.ra)); 11075 F = A(149598E3 * q(F), w.dist - 149598E3 * n(F)); 11076 G = A(n(G.dec) * q(G.ra - w.ra), q(G.dec) * n(w.dec) - n(G.dec) * q(w.dec) * n(G.ra - w.ra)); 11077 return {fraction: (1 + n(F)) / 2, phase: .5 + .5 * F * (0 > G ? -1 : 1) / Math.PI, angle: G} 11078 }; 11079 L.getMoonTimes = function (G, w, F, M) { 11080 G = new Date(G); 11081 M ? G.setUTCHours(0, 0, 0, 0) : G.setHours(0, 0, 0, 0); 11082 M = .133 * I; 11083 for (var P = L.getMoonPosition(G, w, F).altitude - M, U, S, R, Y, J, k, p, t, z, y, B = 1; 24 >= B; B += 11084 2) { 11085 U = L.getMoonPosition(l(G, B), w, F).altitude - M; 11086 S = L.getMoonPosition(l(G, B + 1), w, F).altitude - M; 11087 J = (P + S) / 2 - U; 11088 k = (S - P) / 2; 11089 p = -k / (2 * J); 11090 t = (J * p + k) * p + U; 11091 k = k * k - 4 * J * U; 11092 U = 0; 11093 0 <= k && (y = Math.sqrt(k) / (2 * Math.abs(J)), z = p - y, y = p + y, 1 >= Math.abs(z) && U++, 1 >= Math.abs(y) && U++, -1 > z && (z = y)); 11094 1 === U ? 0 > P ? R = B + z : Y = B + z : 2 === U && (R = B + (0 > t ? y : z), Y = B + (0 > t ? z : y)); 11095 if (R && Y) break; 11096 P = S 11097 } 11098 w = {}; 11099 R && (w.rise = l(G, R)); 11100 Y && (w.set = l(G, Y)); 11101 R || Y || (w[0 < t ? "alwaysUp" : "alwaysDown"] = !0); 11102 return w 11103 }; 11104 window.SunCalc = L 11105})(); 11106var eyeAble_session_parameters = {isMobile: !1, isPlugin: !0, isExtension: !1}; 11107try { 11108 eyeAble_pluginConfig ? eyeAble_start() : setTimeout(eyeAble_start, 300) 11109} catch (a) { 11110 setTimeout(eyeAble_start, 300) 11111} 11112var eyeAble_nightmodeBlacklisted = !1; 11113 11114function eyeAble_checkWebsiteBlacklist() { 11115 return !0 11116} 11117 11118function eyeAble_authenticateLicense() { 11119 var a = window.location.hostname, b = function (e) { 11120 var f = e.split("."); 11121 if (2 < f.length) { 11122 e = "*."; 11123 for (var h = f.length - 2; h < f.length; h++) e = h === f.length - 1 ? e + f[h] : e + (f[h] + "."); 11124 return e 11125 } 11126 return "*." + e 11127 }(a); 11128 try { 11129 if ("object" === typeof eyeAble_pluginConfig.license) { 11130 var c = eyeAble_pluginConfig.license[a]; 11131 c || (a = a.includes("www.") ? a.replace("www.", "") : "www." + a, c = eyeAble_pluginConfig.license[a]); 11132 c || (c = eyeAble_pluginConfig.license[b]) 11133 } else c = eyeAble_pluginConfig.license; 11134 if ("localhost" === a && 11135 eyeAble_pluginConfig && eyeAble_pluginConfig.allowLocalhost) return console.log("Testing on Localhost allowed."), eyeAble_activeFeatures = eyeAble_activeFeaturesPro, !0 11136 } catch (e) { 11137 return console.log("No Config found!"), !1 11138 } 11139 var d = "Free"; 11140 a && c && (d = eyeAbleKeygen.evaluateKey(a, c)); 11141 "invalid" === d && b && c && (d = eyeAbleKeygen.evaluateKey(b, c)); 11142 "invalid" === d && (a.includes("www.") ? (a = a.replace("www.", ""), d = eyeAbleKeygen.evaluateKey(a, c)) : d = eyeAbleKeygen.evaluateKey("www." + a, c)); 11143 if ("invalid" === d || "Free" === d) try { 11144 "undefined" !== 11145 typeof eyeAble_pluginConfig && "object" === typeof eyeAble_pluginConfig.license && Object.keys(eyeAble_pluginConfig.license).forEach(function (e) { 11146 if (e) { 11147 var f = new RegExp(e); 11148 f && f.test(window.location.hostname) && (d = eyeAbleKeygen.evaluateKey(e, eyeAble_pluginConfig.license[e])) 11149 } 11150 }) 11151 } catch (e) { 11152 console.log("License RegEx failed", e) 11153 } 11154 return "Pro" === d ? (eyeAble_activeFeatures = eyeAble_activeFeaturesPro, !0) : "Light" === d ? (eyeAble_activeFeatures = eyeAble_activeFeaturesLight, !0) : !1 11155} 11156 11157function eyeAble_getSessionParameters() { 11158 try { 11159 if (eyeAble_pluginConfig.pluginPath && 0 < eyeAble_pluginConfig.pluginPath.length) var a = eyeAble_pluginConfig.pluginPath; else { 11160 a:{ 11161 for (var b = document.getElementsByTagName("script"), c = 0; c < b.length; c++) if (b[c].src.includes("eyeAble.js")) { 11162 var d = b[c].src; 11163 break a 11164 } 11165 d = "" 11166 } 11167 a = !d || d.includes("eye-able-cdn.com/lib") || d.includes("eye-able.b-cdn.net/lib") ? "https://www.eye-able-cdn.com" : d.replace("/lib/js/e
11167yeAble.js", "") 11168 } 11169 } catch (e) { 11170 a = "https://www.eye-able-cdn.com" 11171 } 11172 eyeAble_setFilePaths(a + 11173 "/"); 11174 "IntersectionObserver" in window || (eyeAble_intersectionObserver = !1) 11175} 11176 11177function eyeAble_chromePluginBeacon() { 11178 var a = document.createElement("div"); 11179 a.appendChild(document.createTextNode("")); 11180 a.id = "eyeAbleWebsitePlugin"; 11181 a.style.display = "none"; 11182 a.alt = "Used to signal the browser extension that a plugin is present."; 11183 document.documentElement.appendChild(a) 11184} 11185 11186eyeAble_chromePluginBeacon(); 11187 11188function eyeAble_runPlatformSpecificActions() { 11189 var a = document.getElementById("eyeAble_customToolOpenerID"); 11190 a && (a.addEventListener("mousedown", eyeAble_toggleMainToolbar), eyeAble_hideMainIcon = !0, eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "none", eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none", eyeAble_shadowRoot.getElementById("functionActiveID").style.display = "none"); 11191 if ((a = document.querySelectorAll(".eyeAble_customToolOpenerClass")) && 0 < a.length) { 11192 for (var b = 11193 0; b < a.length; b++) a[b].addEventListener("mousedown", eyeAble_toggleMainToolbar); 11194 eyeAble_hideMainIcon = !0; 11195 eyeAble_shadowRoot.getElementById("eyeAble_columID").style.display = "none"; 11196 eyeAble_shadowRoot.getElementById("showAll_arrow").style.display = "none"; 11197 eyeAble_shadowRoot.getElementById("functionActiveID").style.display = "none" 11198 } 11199 if ((a = document.querySelectorAll(".eyeAble_customToolOpenerNoHideClass")) && 0 < a.length) for (b = 0; b < a.length; b++) a[b].addEventListener("mousedown", eyeAble_toggleMainToolbar); 11200 a = document.querySelectorAll(".eyeAble_customToolOpenerClass,#eyeAble_customToolOpenerID,.eyeAble_customToolOpenerNoHideClass"); 11201 Array.prototype.forEach.call(a, function (c, d) { 11202 "a" === c.tagName && "input" === c.tagName && "button" === c.tagName || c.getAttribute("tabindex") || c.setAttribute("tabindex", "0"); 11203 c.addEventListener("keydown", function (e) { 11204 13 === e.keyCode && (e.preventDefault(), EyeAbleAPI.toggleToolbar()) 11205 }) 11206 }) 11207} 11208 11209function eyeAble_getMessage(a) { 11210 return eyeAble_pluginLocalConfig && eyeAble_pluginLocalConfig.customText && (eyeAble_lang === eyeAble_de || "headerName" === a) && eyeAble_pluginLocalConfig.customText[a] ? eyeAble_pluginLocalConfig.customText[a] : eyeAble_lang[a] ? eyeAble_lang[a].message : eyeAble_de[a] ? eyeAble_de[a].message : "" 11211};var EyeAbleAPI = function () { 11212 return { 11213 resetAll: function () { 11214 eyeAble_resetAll() 11215 }, toggleToolbar: function () { 11216 eyeAble_toggleMainToolbar() 11217 }, toggleContrastWindow: function () { 11218 eyeAble_toggleColorPickerWindow() 11219 }, toggleBluefilter: function () { 11220 eyeAble_toggleBluefilter() 11221 }, enableBluefilter: function (a) { 11222 a || (a = parseFloat(eyeAbleVariables.blueFilterLevel)); 11223 var b = Object.assign({}, eyeAbleVariables); 11224 b.bluefilterSet = "1"; 11225 b.blueFilterLevel = a.toFixed(2); 11226 eyeAble_updateSettingsFromStruct(b) 11227 }, disableBluefilter: function () { 11228 var a = Object.assign({}, 11229 eyeAbleVariables); 11230 a.bluefilterSet = "0"; 11231 eyeAble_updateSettingsFromStruct(a) 11232 }, getBluefilterState: function () { 11233 return "1" === eyeAbleVariables.bluefilterSet 11234 }, setZoomLevel: function (a) { 11235 var b = Object.assign({}, eyeAbleVariables); 11236 b.iAble_Font_Offset = a.toFixed(0); 11237 eyeAble_updateSettingsFromStruct(b) 11238 }, getZoomLevel: function () { 11239 return parseInt(eyeAbleVariables.iAble_Font_Offset) 11240 }, decreaseZoomLevel: function () { 11241 eyeAble_decreaseFontsize() 11242 }, increaseZoomLevel: function () { 11243 eyeAble_increase_font_size() 11244 }, toggleContrast: function () { 11245 eyeAble_toggleContrastMode() 11246 }, 11247 enableContrast: function (a, b) { 11248 a && b || (a = eyeAble_blackWhiteBackcolor, b = eyeAble_blackWhiteColor); 11249 var c = Object.assign({}, eyeAbleVariables); 11250 c.iAble_Text_Color = b;
11251 c.iAble_Background_Color = a; 11252 c.Color_Mode = "Contrast"; 11253 eyeAble_updateSettingsFromStruct(c) 11254 }, disableContrast: function () { 11255 eyeAble_reset_colors() 11256 }, getColorMode: function () { 11257 return eyeAbleVariables.Color_Mode 11258 }, toggleDarkmode: function () { 11259 eyeAble_toggleDarkmode() 11260 }, toggleScreenreader: function () { 11261 eyeAbleWebsiteNav.toggleNavWithSpeech() 11262 }, toggleReadWholePage: function () { 11263 eyeAbleWebsiteNav.toggleNavWithSpeech(); 11264 -1 !== eyeAble_TTSinitTextTimeout && (clearTimeout(eyeAble_TTSinitTextTimeout), eyeAble_TTSinitTextTimeout = -1); 11265 setTimeout(eyeAbleWebsiteNav.toggleReadWholePage, 300) 11266 }, getScreenreaderState: function () { 11267 return eyeAbleTTS.getActive() 11268 }, speakText: function (a, b) { 11269 b = void 0 === b ? null : b; 11270 eyeAbleTTS.getActive() || eyeAbleTTS.getActive() || eyeAbleWebsiteNav.toggleNavWithSpeech(); 11271 eyeAbleTTS.outputText(a, b, null, !1, null, null, !1, !1) 11272 }, speakElement: function (a) { 11273 eyeAbleTTS.getActive() || eyeAbleTTS.getActive() || eyeAbleWebsiteNav.toggleNavWithSpeech(); 11274 eyeAbleTTS.outputElement(a, "unlinkedText", !1) 11275 }, toggleTabNav: function () { 11276 eyeAbleWebsiteNav.toggleNavOnly() 11277 }, getTabNavState: function () { 11278 return eyeAbleWebsiteNav.getActiveState() 11279 }, toggleColorCorrectionWindow: function () { 11280 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_toggleCCpage() : (eyeAble_extendIconbar(), setTimeout(function () { 11281 eyeAble_toggleCCpage() 11282 }, 400)) 11283 }, getColorCorrectionState: function () { 11284 return "Deaktiviert" !== eyeAble_getVar("eyeAble_Color_Filter") 11285 }, 11286 toggleMoreFunctionsWindow: function () { 11287 eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended") ? eyeAble_toggleMoreFunctionsPage() : (eyeAble_extendIconbar(), setTimeout(function () { 11288 eyeAble_toggleMoreFunctionsPage() 11289 }, 400)) 11290 }, toggleBigCursor: function () { 11291 eyeAble_toggleBigCursor() 11292 }, enableBigCursor: function () { 11293 var a = Object.assign({}, eyeAbleVariables); 11294 a.BigCursor = "1"; 11295 eyeAble_updateSettingsFromStruct(a) 11296 }, disableBigCursor: function () { 11297 var a = Object.assign({}, eyeAbleVariables); 11298 a.BigCursor = 11299 "0"; 11300 eyeAble_updateSettingsFromStruct(a) 11301 }, getBigCursorState: function () { 11302 return "1" === eyeAble_getVar("BigCursor") 11303 }, toggleHideImages: function () { 11304 eyeAble_toggleHideImagesAndVideos() 11305 }, getHideImagesState: function () { 11306 return "1" === eyeAble_getVar("HideImages") 11307 }, toggleAccessibleFont: function () { 11308 eyeAble_toggleFontFamily() 11309 }, getAccessibleFontState: function () { 11310 return "0" !== eyeAble_getVar("eyeAble_Font_Family") 11311 } 11312 } 11313}();
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.