accessify-widget 0.3.100 → 0.3.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accessify.min.js +1 -1
- package/dist/accessify.min.js.map +1 -1
- package/dist/accessify.mjs +1 -1
- package/dist/{index-BCnhsRbl.js → index-CyZv4-2d.js} +4 -4
- package/dist/{index-BCnhsRbl.js.map → index-CyZv4-2d.js.map} +1 -1
- package/dist/{keyboard-nav-yfjbY6i4.js → keyboard-nav-BYl36wkS.js} +2 -2
- package/dist/{keyboard-nav-yfjbY6i4.js.map → keyboard-nav-BYl36wkS.js.map} +1 -1
- package/dist/{page-structure-sIAqugcR.js → page-structure-DkNwkCP-.js} +2 -2
- package/dist/{page-structure-sIAqugcR.js.map → page-structure-DkNwkCP-.js.map} +1 -1
- package/dist/{text-simplify-QxPVLWca.js → text-simplify-YuRRlyGQ.js} +117 -1
- package/dist/text-simplify-YuRRlyGQ.js.map +1 -0
- package/dist/widget.js +1 -1
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/text-simplify-QxPVLWca.js.map +0 -1
package/dist/widget.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,i)=>(__accessCheck(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n);!function(){"use strict";var e,t,n,i,r,a,o,s,c,l,d,u,f,p,h,g,m,v,y,b,w,x,k,S,_,A,M,E,C,I,T,z,$,L,N,H,P,G,O,B,F,j,D,W,K;const R=globalThis.process?.env?.NODE_ENV,q=R&&!R.toLowerCase().startsWith("prod");var U=Array.isArray,V=Array.prototype.indexOf,Y=Array.prototype.includes,J=Array.from,X=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,ie=Object.isExtensible;const re=()=>{};function ae(){var e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}const oe=32,se=512,ce=1024,le=2048,de=4096,ue=8192,fe=16384,pe=32768,he=1<<25,ge=65536,me=1<<17,ve=1<<19,ye=1<<25,be=65536,we=1<<21,xe=1<<23,ke=Symbol("$state"),Se=Symbol("legacy props"),_e=Symbol(""),Ae=Symbol("proxy path"),Me=new class extends Error{constructor(){super(...arguments),__publicField(this,"name","StaleReactionError"),__publicField(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ee(e,t,n){if(q){const i=new Error(`each_key_duplicate\n${n?`Keyed each block has duplicate key \`${n}\` at indexes ${e} and ${t}`:`Keyed each block has duplicate key at indexes ${e} and ${t}`}\nhttps://svelte.dev/e/each_key_duplicate`);throw i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ce(e,t,n){if(q){const i=new Error(`each_key_volatile\nKeyed each block has key that is not idempotent — the key for item at index ${e} was \`${t}\` but is now \`${n}\`. Keys must be the same each time for a given item\nhttps://svelte.dev/e/each_key_volatile`);throw i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_volatile")}const Ie=Symbol(),Te=Symbol("filename"),ze="http://www.w3.org/1999/xhtml";var $e="font-weight: bold",Le="font-weight: normal";function Ne(e){q?console.warn(`%c[svelte] state_proxy_equality_mismatch\n%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${e}\` will produce unexpected results\nhttps://svelte.dev/e/state_proxy_equality_mismatch`,$e,Le):console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function He(e){return e===this.v}function Pe(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function Ge(e,t){return e.label=t,Oe(e.v,t),e}function Oe(e,t){return e?.[Ae]?.(t),e}function Be(e,t){if(!q)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(q){const t=new Error(`invariant_violation\nAn invariant violation occurred, meaning Svelte's internal assumptions were flawed. This is a bug in Svelte, not your app — please open an issue at https://github.com/sveltejs/svelte, citing the following message: "${e}"\nhttps://svelte.dev/e/invariant_violation`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/invariant_violation")}(t)}let Fe=null;function je(e){Fe=e}let De=null;function We(e){De=e}let Ke=null;function Re(e){Ke=e}function qe(e,t=!1,n){Fe={p:Fe,i:!1,c:null,e:null,s:e,x:null,r:Bn,l:null},q&&(Fe.function=n,Ke=n)}function Ue(e){var t=Fe,n=t.e;if(null!==n)for(var i of(t.e=null,n))yn(i);return void 0!==e&&(t.x=e),t.i=!0,Fe=t.p,q&&(Ke=Fe?.function??null),e??{}}let Ve=[];function Ye(e){if(0===Ve.length){var t=Ve;queueMicrotask(()=>{t===Ve&&function(){var e=Ve;Ve=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}Ve.push(e)}const Je=new WeakMap;function Xe(e){var t=Bn;if(null===t)return Pn.f|=xe,e;if(q&&e instanceof Error&&!Je.has(e)&&Je.set(e,function(e,t){const n=Z(e,"message");if(!n||n.configurable){for(var i=nn?" ":"\t",r=`\n${i}in ${t.fn?.name||"<unknown>"}`,a=t.ctx;null!==a;)r+=`\n${i}in ${a.function?.[Te].split("/").pop()}`,a=a.p;return{message:e.message+`\n${r}\n`,stack:e.stack?.split("\n").filter(e=>!e.includes("svelte/src/internal")).join("\n")}}}(e,t)),0===(t.f&pe)&&!(4&t.f))throw q&&!t.parent&&e instanceof Error&&Qe(e),e;Ze(e,t)}function Ze(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&pe))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw q&&e instanceof Error&&Qe(e),e}function Qe(e){const t=Je.get(e);t&&(X(e,"message",{value:t.message}),X(e,"stack",{value:t.stack}))}const et=-7169;function tt(e,t){e.f=e.f&et|t}function nt(e){tt(e,0!==(e.f&se)||null===e.deps?ce:de)}function it(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&be)&&(t.f^=be,it(t.deps))}function rt(e,t,n){0!==(e.f&le)?t.add(e):0!==(e.f&de)&&n.add(e),it(e.deps),tt(e,ce)}let at=!1;const ot=new Set;let st=null,ct=null,lt=null,dt=!1,ut=null,ft=null;var pt=0,ht=q?new Set:null;let gt=1;const mt=class u{constructor(){__privateAdd(this,d),__publicField(this,"id",gt++),__publicField(this,"current",new Map),__publicField(this,"previous",new Map),__privateAdd(this,e,new Set),__privateAdd(this,t,new Set),__privateAdd(this,n,0),__privateAdd(this,i,0),__privateAdd(this,r,null),__privateAdd(this,a,[]),__privateAdd(this,o,new Set),__privateAdd(this,s,new Set),__privateAdd(this,c,new Map),__publicField(this,"is_fork",!1),__privateAdd(this,l,!1)}skip_effect(e){__privateGet(this,c).has(e)||__privateGet(this,c).set(e,{d:[],m:[]})}unskip_effect(e){var t=__privateGet(this,c).get(e);if(t){for(var n of(__privateGet(this,c).delete(e),t.d))tt(n,le),this.schedule(n);for(n of t.m)tt(n,de),this.schedule(n)}}capture(e,t){t===Ie||this.previous.has(e)||this.previous.set(e,t),0===(e.f&xe)&&(this.current.set(e,e.v),ct?.set(e,e.v))}activate(){st=this}deactivate(){st=null,ct=null}flush(){var e=q?new Set:null;try{dt=!0,st=this,__privateMethod(this,d,f).call(this)}finally{if(pt=0,lt=null,ut=null,ft=null,dt=!1,st=null,ct=null,Bt.clear(),q)for(const t of e)t.updated=null}}discard(){for(const e of __privateGet(this,t))e(this);__privateGet(this,t).clear()}increment(e){__privateSet(this,n,__privateGet(this,n)+1),e&&__privateSet(this,i,__privateGet(this,i)+1)}decrement(e,t){__privateSet(this,n,__privateGet(this,n)-1),e&&__privateSet(this,i,__privateGet(this,i)-1),__privateGet(this,l)||t||(__privateSet(this,l,!0),Ye(()=>{__privateSet(this,l,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)__privateGet(this,o).add(n);for(const n of t)__privateGet(this,s).add(n);e.clear(),t.clear()}oncommit(t){__privateGet(this,e).add(t)}ondiscard(e){__privateGet(this,t).add(e)}settled(){return(__privateGet(this,r)??__privateSet(this,r,ae())).promise}static ensure(){if(null===st){const e=st=new u;dt||(ot.add(st),Ye(()=>{st===e&&e.flush()}))}return st}apply(){ct=null}schedule(e){if(lt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&pe))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===ut||t!==Bn||null!==Pn&&2&Pn.f))return;if(96&n){if(0===(n&ce))return;t.f^=ce}}__privateGet(this,a).push(t)}}};e=new WeakMap,t=new WeakMap,n=new WeakMap,i=new WeakMap,r=new WeakMap,a=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,d=new WeakSet,u=function(){return this.is_fork||__privateGet(this,i)>0},f=function(){var t;if(pt++>1e3&&(ot.delete(this),function(){if(q){var e=new Map;for(const n of st.current.keys())for(const[i,r]of n.updated??[]){var t=e.get(i);t||e.set(i,t={error:r.error,count:0}),t.count+=r.count}for(const t of e.values())t.error&&console.error(t.error)}try{!function(){if(q){const e=new Error("effect_update_depth_exceeded\nMaximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state\nhttps://svelte.dev/e/effect_update_depth_exceeded");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(n){q&&X(n,"stack",{value:""}),Ze(n,lt)}}()),!__privateMethod(this,d,u).call(this)){for(const e of __privateGet(this,o))__privateGet(this,s).delete(e),tt(e,le),this.schedule(e);for(const e of __privateGet(this,s))tt(e,de),this.schedule(e)}const i=__privateGet(this,a);__privateSet(this,a,[]),this.apply();var l=ut=[],m=[],v=ft=[];for(const e of i)try{__privateMethod(this,d,p).call(this,e,l,m)}catch(w){throw _t(e),w}if(st=null,v.length>0){var y=mt.ensure();for(const e of v)y.schedule(e)}if(ut=null,ft=null,__privateMethod(this,d,u).call(this)){__privateMethod(this,d,h).call(this,m),__privateMethod(this,d,h).call(this,l);for(const[e,t]of __privateGet(this,c))St(e,t)}else{0===__privateGet(this,n)&&ot.delete(this),__privateGet(this,o).clear(),__privateGet(this,s).clear();for(const t of __privateGet(this,e))t(this);__privateGet(this,e).clear(),bt(m),bt(l),__privateGet(this,r)?.resolve()}var b=st;if(__privateGet(this,a).length>0){const e=b??(b=this);__privateGet(e,a).push(...__privateGet(this,a).filter(t=>!__privateGet(e,a).includes(t)))}if(null!==b){if(ot.add(b),q)for(const e of this.current.keys())ht.add(e);__privateMethod(t=b,d,f).call(t)}ot.has(this)||__privateMethod(this,d,g).call(this)},p=function(e,t,n){e.f^=ce;for(var i=e.first;null!==i;){var r=i.f,a=!!(96&r);if(!(a&&0!==(r&ce)||0!==(r&ue)||__privateGet(this,c).has(i))&&null!==i.fn){a?i.f^=ce:4&r?t.push(i):Xn(i)&&(!!(16&r)&&__privateGet(this,s).add(i),ni(i));var o=i.first;if(null!==o){i=o;continue}}for(;null!==i;){var l=i.next;if(null!==l){i=l;break}i=i.parent}}},h=function(e){for(var t=0;t<e.length;t+=1)rt(e[t],__privateGet(this,o),__privateGet(this,s))},g=function(){var e;for(const l of ot){var t=l.id<this.id,n=[];for(const[e,i]of this.current){if(l.current.has(e)){if(!t||i===l.current.get(e))continue;l.current.set(e,i)}n.push(e)}if(0!==n.length){var i=[...l.current.keys()].filter(e=>!this.current.has(e));if(i.length>0){q&&Be(0===__privateGet(l,a).length,"Batch has scheduled roots"),l.activate();var r=new Set,o=new Map;for(var s of n)wt(s,i,r,o);if(__privateGet(l,a).length>0){for(var c of(l.apply(),__privateGet(l,a)))__privateMethod(e=l,d,p).call(e,c,[],[]);__privateSet(l,a,[])}l.deactivate()}}}};let vt=mt,yt=null;function bt(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var i=e[n++];if(!(24576&i.f)&&Xn(i)&&(yt=new Set,ni(i),null===i.deps&&null===i.first&&null===i.nodes&&null===i.teardown&&null===i.ac&&En(i),yt?.size>0)){Bt.clear();for(const e of yt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)yt.has(n)&&(yt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||ni(n)}}yt.clear()}}yt=null}}function wt(e,t,n,i){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const r of e.reactions){const e=r.f;2&e?wt(r,t,n,i):4194320&e&&0===(e&le)&&xt(r,t,i)&&(tt(r,le),kt(r))}}function xt(e,t,n){const i=n.get(e);if(void 0!==i)return i;if(null!==e.deps)for(const r of e.deps){if(Y.call(t,r))return!0;if(2&r.f&&xt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function kt(e){st.schedule(e)}function St(e,t){if(0===(e.f&oe)||0===(e.f&ce)){0!==(e.f&le)?t.d.push(e):0!==(e.f&de)&&t.m.push(e),tt(e,ce);for(var n=e.first;null!==n;)St(n,t),n=n.next}}function _t(e){tt(e,ce);for(var t=e.first;null!==t;)_t(t),t=t.next}class At{constructor(e,t,n,i){__privateAdd(this,$),__publicField(this,"parent"),__publicField(this,"is_pending",!1),__publicField(this,"transform_error"),__privateAdd(this,m),__privateAdd(this,v,null),__privateAdd(this,y),__privateAdd(this,b),__privateAdd(this,w),__privateAdd(this,x,null),__privateAdd(this,k,null),__privateAdd(this,S,null),__privateAdd(this,_,null),__privateAdd(this,A,0),__privateAdd(this,M,0),__privateAdd(this,E,!1),__privateAdd(this,C,new Set),__privateAdd(this,I,new Set),__privateAdd(this,T,null),__privateAdd(this,z,function(e){let t,n=0,i=Dt(0);return q&&Ge(i,"createSubscriber version"),()=>{gn()&&(ii(i),bn(()=>(0===n&&(t=oi(()=>e())),n+=1,()=>{Ye(()=>{n-=1,0===n&&(t?.(),t=void 0,Vt(i))})})))}}(()=>(__privateSet(this,T,Dt(__privateGet(this,A))),q&&Ge(__privateGet(this,T),"$effect.pending()"),()=>{__privateSet(this,T,null)}))),__privateSet(this,m,e),__privateSet(this,y,t),__privateSet(this,b,e=>{var t=Bn;t.b=this,t.f|=128,n(e)}),this.parent=Bn.b,this.transform_error=i??this.parent?.transform_error??(e=>e),__privateSet(this,w,xn(()=>{__privateMethod(this,$,L).call(this)},589824))}defer_effect(e){rt(e,__privateGet(this,C),__privateGet(this,I))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!__privateGet(this,y).pending}update_pending_count(e,t){__privateMethod(this,$,P).call(this,e,t),__privateSet(this,A,__privateGet(this,A)+e),__privateGet(this,T)&&!__privateGet(this,E)&&(__privateSet(this,E,!0),Ye(()=>{__privateSet(this,E,!1),__privateGet(this,T)&&qt(__privateGet(this,T),__privateGet(this,A))}))}get_effect_pending(){return __privateGet(this,z).call(this),ii(__privateGet(this,T))}error(e){var t=__privateGet(this,y).onerror;let n=__privateGet(this,y).failed;if(!t&&!n)throw e;__privateGet(this,x)&&(An(__privateGet(this,x)),__privateSet(this,x,null)),__privateGet(this,k)&&(An(__privateGet(this,k)),__privateSet(this,k,null)),__privateGet(this,S)&&(An(__privateGet(this,S)),__privateSet(this,S,null));var i=!1,r=!1;const a=()=>{i?q?console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `<svelte:boundary>` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",$e,Le):console.warn("https://svelte.dev/e/svelte_boundary_reset_noop"):(i=!0,r&&function(){if(q){const e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==__privateGet(this,S)&&Cn(__privateGet(this,S),()=>{__privateSet(this,S,null)}),__privateMethod(this,$,H).call(this,()=>{__privateMethod(this,$,L).call(this)}))},o=e=>{try{r=!0,t?.(e,a),r=!1}catch(i){Ze(i,__privateGet(this,w)&&__privateGet(this,w).parent)}n&&__privateSet(this,S,__privateMethod(this,$,H).call(this,()=>{try{return kn(()=>{var t=Bn;t.b=this,t.f|=128,n(__privateGet(this,m),()=>e,()=>a)})}catch(i){return Ze(i,__privateGet(this,w).parent),null}}))};Ye(()=>{var t;try{t=this.transform_error(e)}catch(n){return void Ze(n,__privateGet(this,w)&&__privateGet(this,w).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>Ze(e,__privateGet(this,w)&&__privateGet(this,w).parent)):o(t)})}}function Mt(e=!0){Fn(null),On(null),je(null),e&&st?.deactivate(),q&&We(null)}function Et(){var e=Bn.b,t=st,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(i=!1)=>{e.update_pending_count(-1,t),t.decrement(n,i)}}m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,_=new WeakMap,A=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,I=new WeakMap,T=new WeakMap,z=new WeakMap,$=new WeakSet,L=function(){try{if(this.is_pending=this.has_pending_snippet(),__privateSet(this,M,0),__privateSet(this,A,0),__privateSet(this,x,kn(()=>{__privateGet(this,b).call(this,__privateGet(this,m))})),__privateGet(this,M)>0){var e=__privateSet(this,_,document.createDocumentFragment());$n(__privateGet(this,x),e);const t=__privateGet(this,y).pending;__privateSet(this,k,kn(()=>t(__privateGet(this,m))))}else __privateMethod(this,$,N).call(this,st)}catch(t){this.error(t)}},N=function(e){this.is_pending=!1,e.transfer_effects(__privateGet(this,C),__privateGet(this,I))},H=function(e){var t=Bn,n=Pn,i=Fe;Fn(__privateGet(this,w)),On(__privateGet(this,w)),je(__privateGet(this,w).ctx);try{return vt.ensure(),e()}catch(r){return Xe(r),null}finally{Fn(t),On(n),je(i)}},P=function(e,t){var n;this.has_pending_snippet()?(__privateSet(this,M,__privateGet(this,M)+e),0===__privateGet(this,M)&&(__privateMethod(this,$,N).call(this,t),__privateGet(this,k)&&Cn(__privateGet(this,k),()=>{__privateSet(this,k,null)}),__privateGet(this,_)&&(__privateGet(this,m).before(__privateGet(this,_)),__privateSet(this,_,null)))):this.parent&&__privateMethod(n=this.parent,$,P).call(n,e,t)};const Ct=new Set;function It(e){var t=null!==Pn&&2&Pn.f?Pn:null;return null!==Bn&&(Bn.f|=ve),{ctx:Fe,deps:null,effects:null,equals:He,f:2050,fn:e,reactions:null,rv:0,v:Ie,wv:0,parent:t??Bn,ac:null}}function Tt(e,t,n){let i=Bn;null===i&&function(){if(q){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var r=void 0,a=Dt(Ie);q&&(a.label=t);var o=!Pn,s=new Map;return function(e){hn(4718592,e)}(()=>{var t=Bn,n=ae();r=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Mt)}catch(u){n.reject(u),Mt()}var c=st;if(o){if(0!==(t.f&pe))var l=Et();if(i.b.is_rendered())s.get(c)?.reject(Me),s.delete(c);else{for(const e of s.values())e.reject(Me);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===Me),n!==Me&&0===(t.f&fe)){if(c.activate(),n)a.f|=xe,qt(a,n);else{0!==(a.f&xe)&&(a.f^=xe),qt(a,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(Me)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),mn(()=>{for(const e of s.values())e.reject(Me)}),q&&(a.f|=4194304),new Promise(e=>{!function t(n){function i(){n===r?e(a):t(r)}n.then(i,i)}(r)})}function zt(e){const t=It(e);return Dn(t),t}function $t(e){const t=It(e);return t.equals=Pe,t}function Lt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)An(t[n])}}let Nt=[];function Ht(e){var t,n=Bn;if(Fn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&fe)?t:null;t=t.parent}return null}(e)),q){let i=Ot;Ft(new Set);try{Y.call(Nt,e)&&function(){if(q){const e=new Error("derived_references_self\nA derived value cannot reference itself recursively\nhttps://svelte.dev/e/derived_references_self");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/derived_references_self")}(),Nt.push(e),e.f&=-65537,Lt(e),t=Qn(e)}finally{Fn(n),Ft(i),Nt.pop()}}else try{e.f&=-65537,Lt(e),t=Qn(e)}finally{Fn(n)}return t}function Pt(e){var t=e.v,n=Ht(e);e.equals(n)||(e.wv=Jn(),st?.is_fork&&null!==e.deps||(e.v=n,st?.capture(e,t),null!==e.deps))?Nn||(null!==ct?(gn()||st?.is_fork)&&ct.set(e,n):nt(e)):tt(e,ce)}function Gt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&ni(t)}let Ot=new Set;const Bt=new Map;function Ft(e){Ot=e}let jt=!1;function Dt(e,t){return{f:0,v:e,reactions:null,equals:He,rv:0,wv:0}}function Wt(e,t){const n=Dt(e);return Dn(n),n}function Kt(e,t=!1,n=!0){const i=Dt(e);return t||(i.equals=Pe),i}function Rt(e,t,n=!1){null===Pn||Gn&&0===(Pn.f&me)||!(4325394&Pn.f)||null!==jn&&Y.call(jn,e)||function(){if(q){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let i=n?Xt(t):t;return q&&Oe(i,e.label),qt(e,i,ft)}function qt(e,t,n=null){if(!e.equals(t)){var i=e.v;Bt.set(e,Nn?t:i),e.v=t;var r=vt.ensure();if(r.capture(e,i),q){if(null!==Bn){e.updated??(e.updated=new Map);const t=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:t}),t>5){const t=function(){const e=new Error,t=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split("\n"),i=[];for(let r=0;r<n.length;r++){const e=n[r],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||i.push(e)}}return i}();return 0===t.length?null:(t.unshift("\n"),X(e,"stack",{value:t.join("\n")}),X(e,"name",{value:"updated at"}),e)}();if(null!==t){let n=e.updated.get(t.stack);n||(n={error:t,count:0},e.updated.set(t.stack,n)),n.count++}}}null!==Bn&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&le)&&Ht(t),null===ct&&nt(t)}e.wv=Jn(),Yt(e,le,n),null===Bn||0===(Bn.f&ce)||96&Bn.f||(null===Rn?function(e){Rn=e}([e]):Rn.push(e)),!r.is_fork&&Ot.size>0&&!jt&&Ut()}return t}function Ut(){jt=!1;for(const e of Ot)0!==(e.f&ce)&&tt(e,de),Xn(e)&&ni(e);Ot.clear()}function Vt(e){Rt(e,e.v+1)}function Yt(e,t,n){var i=e.reactions;if(null!==i)for(var r=i.length,a=0;a<r;a++){var o=i[a],s=o.f;if(q&&0!==(s&me))Ot.add(o);else{var c=0===(s&le);if(c&&tt(o,t),2&s){var l=o;ct?.delete(l),0===(s&be)&&(s&se&&(o.f|=be),Yt(l,de,n))}else if(c){var d=o;!!(16&s)&&null!==yt&&yt.add(d),null!==n?n.push(d):kt(d)}}}}const Jt=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function Xt(e){if("object"!=typeof e||null===e||ke in e)return e;const t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,i=U(e),r=Wt(0),a=Vn,o=e=>{if(Vn===a)return e();var t=Pn,n=Vn;On(null),Yn(a);var i=e();return On(t),Yn(n),i};i&&(n.set("length",Wt(e.length)),q&&(e=new Proxy(e,{get(e,t,n){var i=Reflect.get(e,t,n);return en.has(t)?function(...e){jt=!0;var t=i.apply(this,e);return Ut(),t}:i}})));var s="";let c=!1;function l(e){if(!c){c=!0,Ge(r,`${s=e} version`);for(const[e,t]of n)Ge(t,Zt(s,e));c=!1}}return new Proxy(e,{defineProperty(e,t,i){"value"in i&&!1!==i.configurable&&!1!==i.enumerable&&!1!==i.writable||function(){if(q){const e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var r=n.get(t);return void 0===r?o(()=>{var e=Wt(i.value);return n.set(t,e),q&&"string"==typeof t&&Ge(e,Zt(s,t)),e}):Rt(r,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=o(()=>Wt(Ie));n.set(t,e),Vt(r),q&&Ge(e,Zt(s,t))}}else Rt(i,Ie),Vt(r);return!0},get(t,i,r){if(i===ke)return e;if(q&&i===Ae)return l;var a=n.get(i),c=i in t;if(void 0!==a||c&&!Z(t,i)?.writable||(a=o(()=>{var e=Wt(Xt(c?t[i]:Ie));return q&&Ge(e,Zt(s,i)),e}),n.set(i,a)),void 0!==a){var d=ii(a);return d===Ie?void 0:d}return Reflect.get(t,i,r)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&"value"in i){var r=n.get(t);r&&(i.value=ii(r))}else if(void 0===i){var a=n.get(t),o=a?.v;if(void 0!==a&&o!==Ie)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===ke)return!0;var i=n.get(t),r=void 0!==i&&i.v!==Ie||Reflect.has(e,t);return!((void 0!==i||null!==Bn&&(!r||Z(e,t)?.writable))&&(void 0===i&&(i=o(()=>{var n=Wt(r?Xt(e[t]):Ie);return q&&Ge(n,Zt(s,t)),n}),n.set(t,i)),ii(i)===Ie))&&r},set(e,t,a,c){var l=n.get(t),d=t in e;if(i&&"length"===t)for(var u=a;u<l.v;u+=1){var f=n.get(u+"");void 0!==f?Rt(f,Ie):u in e&&(f=o(()=>Wt(Ie)),n.set(u+"",f),q&&Ge(f,Zt(s,u)))}void 0===l?d&&!Z(e,t)?.writable||(l=o(()=>Wt(void 0)),q&&Ge(l,Zt(s,t)),Rt(l,Xt(a)),n.set(t,l)):(d=l.v!==Ie,Rt(l,o(()=>Xt(a))));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(c,a),!d){if(i&&"string"==typeof t){var h=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=h.v&&Rt(h,g+1)}Vt(r)}return!0},ownKeys(e){ii(r);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Ie});for(var[i,a]of n)a.v===Ie||i in e||t.push(i);return t},setPrototypeOf(){!function(){if(q){const e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function Zt(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:Jt.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function Qt(e){try{if(null!==e&&"object"==typeof e&&ke in e)return e[ke]}catch{}return e}const en=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var tn,nn,rn,an;function on(e=""){return document.createTextNode(e)}function sn(e){return rn.call(e)}function cn(e){return an.call(e)}function ln(e,t){return sn(e)}function dn(e,t=!1){var n=sn(e);return n instanceof Comment&&""===n.data?cn(n):n}function un(e,t=1,n=!1){let i=e;for(;t--;)i=cn(i);return i}function fn(e,t,n){return document.createElementNS(t??ze,e,void 0)}function pn(e){var t=Pn,n=Bn;On(null),Fn(null);try{return e()}finally{On(t),Fn(n)}}function hn(e,t){var n=Bn;if(q)for(;null!==n&&0!==(n.f&me);)n=n.parent;null!==n&&0!==(n.f&ue)&&(e|=ue);var i={ctx:Fe,deps:null,nodes:null,f:e|le|se,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};q&&(i.component_function=Ke);var r=i;if(4&e)null!==ut?ut.push(i):vt.ensure().schedule(i);else if(null!==t){try{ni(i)}catch(a){throw An(i),a}null===r.deps&&null===r.teardown&&null===r.nodes&&r.first===r.last&&0===(r.f&ve)&&(r=r.first,16&e&&0!==(e&ge)&&null!==r&&(r.f|=ge))}return null!==r&&(r.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(r,n),null!==Pn&&2&Pn.f&&!(64&e))&&(Pn.effects??(Pn.effects=[])).push(r),i}function gn(){return null!==Pn&&!Gn}function mn(e){const t=hn(8,null);return tt(t,ce),t.teardown=e,t}function vn(e){var t;t="$effect",null===Bn&&(null===Pn&&function(e){if(q){const t=new Error(`effect_orphan\n\`${e}\` can only be used inside an effect (e.g. during component initialisation)\nhttps://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_orphan")}(t),function(){if(q){const e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Nn&&function(e){if(q){const t=new Error(`effect_in_teardown\n\`${e}\` cannot be used inside an effect cleanup function\nhttps://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_in_teardown")}(t),q&&X(e,"name",{value:"$effect"});var n=Bn.f;if(Pn||0===(n&oe)||0!==(n&pe))return yn(e);(Fe.e??(Fe.e=[])).push(e)}function yn(e){return hn(1048580,e)}function bn(e,t=0){return hn(8|t,e)}function wn(e,t=[],n=[],i=[]){!function(e,t,n,i){const r=It;var a=e.filter(e=>!e.settled);if(0!==n.length||0!==a.length){var o=Bn,s=function(){var e=Bn,t=Pn,n=Fe,i=st;if(q)var r=De;return function(a=!0){Fn(e),On(t),je(n),a&&0===(e.f&fe)&&(i?.activate(),i?.apply()),q&&We(r)}}(),c=1===a.length?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;if(0!==n.length){var l=Et();c?c.then(()=>{s(),u(),Mt()}):u()}else c.then(()=>d(t.map(r)))}else i(t.map(r));function d(e){s();try{i(e)}catch(t){0===(o.f&fe)&&Ze(t,o)}Mt()}function u(){Promise.all(n.map(e=>Tt(e))).then(e=>d([...t.map(r),...e])).catch(e=>Ze(e,o)).finally(()=>l())}}(i,t,n,t=>{hn(8,()=>e(...t.map(ii)))})}function xn(e,t=0){var n=hn(16|t,e);return q&&(n.dev_stack=De),n}function kn(e){return hn(524320,e)}function Sn(e){var t=e.teardown;if(null!==t){const e=Nn,n=Pn;Hn(!0),On(null);try{t.call(null)}finally{Hn(e),On(n)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&pn(()=>{e.abort(Me)});var i=n.next;64&n.f?n.parent=null:An(n,t),n=i}}function An(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Mn(e.nodes.start,e.nodes.end),n=!0),tt(e,he),_n(e,t&&!n),ti(e,0);var i=e.nodes&&e.nodes.t;if(null!==i)for(const a of i)a.stop();Sn(e),e.f^=he,e.f|=fe;var r=e.parent;null!==r&&null!==r.first&&En(e),q&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Mn(e,t){for(;null!==e;){var n=e===t?null:cn(e);e.remove(),e=n}}function En(e){var t=e.parent,n=e.prev,i=e.next;null!==n&&(n.next=i),null!==i&&(i.prev=n),null!==t&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function Cn(e,t,n=!0){var i=[];In(e,i,!0);var r=()=>{n&&An(e),t&&t()},a=i.length;if(a>0){var o=()=>--a||r();for(var s of i)s.out(o)}else r()}function In(e,t,n){if(0===(e.f&ue)){e.f^=ue;var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||n)&&t.push(e);for(var r=e.first;null!==r;){var a=r.next;In(r,t,!!(0!==(r.f&ge)||0!==(r.f&oe)&&16&e.f)&&n),r=a}}}function Tn(e){zn(e,!0)}function zn(e,t){if(0!==(e.f&ue)){e.f^=ue,0===(e.f&ce)&&(tt(e,le),vt.ensure().schedule(e));for(var n=e.first;null!==n;){var i=n.next;zn(n,!(0===(n.f&ge)&&0===(n.f&oe))&&t),n=i}var r=e.nodes&&e.nodes.t;if(null!==r)for(const e of r)(e.is_global||t)&&e.in()}}function $n(e,t){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end;null!==n;){var r=n===i?null:cn(n);t.append(n),n=r}}let Ln=!1,Nn=!1;function Hn(e){Nn=e}let Pn=null,Gn=!1;function On(e){Pn=e}let Bn=null;function Fn(e){Bn=e}let jn=null;function Dn(e){null!==Pn&&(null===jn?jn=[e]:jn.push(e))}let Wn=null,Kn=0,Rn=null,qn=1,Un=0,Vn=Un;function Yn(e){Vn=e}function Jn(){return++qn}function Xn(e){var t=e.f;if(0!==(t&le))return!0;if(2&t&&(e.f&=-65537),0!==(t&de)){for(var n=e.deps,i=n.length,r=0;r<i;r++){var a=n[r];if(Xn(a)&&Pt(a),a.wv>e.wv)return!0}0!==(t&se)&&null===ct&&tt(e,ce)}return!1}function Zn(e,t,n=!0){var i=e.reactions;if(null!==i&&(null===jn||!Y.call(jn,e)))for(var r=0;r<i.length;r++){var a=i[r];2&a.f?Zn(a,t,!1):t===a&&(n?tt(a,le):0!==(a.f&ce)&&tt(a,de),kt(a))}}function Qn(e){var t,n=Wn,i=Kn,r=Rn,a=Pn,o=jn,s=Fe,c=Gn,l=Vn;Wn=null,Kn=0,Rn=null,Pn=96&e.f?null:e,jn=null,je(e.ctx),Gn=!1,Vn=++Un,null!==e.ac&&(pn(()=>{e.ac.abort(Me)}),e.ac=null);try{e.f|=we;var d=(0,e.fn)();e.f|=pe;var u=e.deps,f=st?.is_fork;if(null!==Wn){var p;if(f||ti(e,Kn),null!==u&&Kn>0)for(u.length=Kn+Wn.length,p=0;p<Wn.length;p++)u[Kn+p]=Wn[p];else e.deps=u=Wn;if(gn()&&0!==(e.f&se))for(p=Kn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Kn<u.length&&(ti(e,Kn),u.length=Kn);if(!(null===Rn||Gn||null===u||6146&e.f))for(p=0;p<Rn.length;p++)Zn(Rn[p],e);if(null!==a&&a!==e){if(Un++,null!==a.deps)for(let e=0;e<i;e+=1)a.deps[e].rv=Un;if(null!==n)for(const e of n)e.rv=Un;null!==Rn&&(null===r?r=Rn:r.push(...Rn))}return 0!==(e.f&xe)&&(e.f^=xe),d}catch(h){return Xe(h)}finally{e.f^=we,Wn=n,Kn=i,Rn=r,Pn=a,jn=o,je(s),Gn=c,Vn=l}}function ei(e,t){let n=t.reactions;if(null!==n){var i=V.call(n,e);if(-1!==i){var r=n.length-1;0===r?n=t.reactions=null:(n[i]=n[r],n.pop())}}if(null===n&&2&t.f&&(null===Wn||!Y.call(Wn,t))){var a=t;0!==(a.f&se)&&(a.f^=se,a.f&=-65537),nt(a),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Me),t.teardown=re,t.ac=null,ti(t,0),_n(t))}(a),ti(a,0)}}function ti(e,t){var n=e.deps;if(null!==n)for(var i=t;i<n.length;i++)ei(e,n[i])}function ni(e){var t=e.f;if(0===(t&fe)){tt(e,ce);var n=Bn,i=Ln;if(Bn=e,Ln=!0,q){var r=Ke;Re(e.component_function);var a=De;We(e.dev_stack??De)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&oe)&&An(t),t=n}}(e):_n(e),Sn(e);var o=Qn(e);e.teardown="function"==typeof o?o:null,e.wv=qn}finally{Ln=i,Bn=n,q&&(Re(r),We(a))}}}function ii(e){var t=!!(2&e.f);if(null!==Pn&&!Gn&&!(null!==Bn&&0!==(Bn.f&fe)||null!==jn&&Y.call(jn,e))){var n=Pn.deps;if(0!==(Pn.f&we))e.rv<Un&&(e.rv=Un,null===Wn&&null!==n&&n[Kn]===e?Kn++:null===Wn?Wn=[e]:Wn.push(e));else{(Pn.deps??(Pn.deps=[])).push(e);var i=e.reactions;null===i?e.reactions=[Pn]:Y.call(i,Pn)||i.push(Pn)}}if(q&&Ct.delete(e),Nn&&Bt.has(e))return Bt.get(e);if(t){var r=e;if(Nn){var a=r.v;return(0===(r.f&ce)&&null!==r.reactions||ai(r))&&(a=Ht(r)),Bt.set(r,a),a}var o=0===(r.f&se)&&!Gn&&null!==Pn&&(Ln||0!==(Pn.f&se)),s=0===(r.f&pe);Xn(r)&&(o&&(r.f|=se),Pt(r)),o&&!s&&(Gt(r),ri(r))}if(ct?.has(e))return ct.get(e);if(0!==(e.f&xe))throw e.v;return e.v}function ri(e){if(e.f|=se,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&se)&&(Gt(t),ri(t))}function ai(e){if(e.v===Ie)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Bt.has(t))return!0;if(2&t.f&&ai(t))return!0}return!1}function oi(e){var t=Gn;try{return Gn=!0,e()}finally{Gn=t}}const si=["touchstart","touchmove"];function ci(e){return si.includes(e)}const li=Symbol("events"),di=new Set,ui=new Set;function fi(e,t,n){(t[li]??(t[li]={}))[e]=n}function pi(e){for(var t=0;t<e.length;t++)di.add(e[t]);for(var n of ui)n(e)}let hi=null;function gi(e){var t=this,n=t.ownerDocument,i=e.type,r=e.composedPath?.()||[],a=r[0]||e.target;hi=e;var o=0,s=hi===e&&e[li];if(s){var c=r.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[li]=t);var l=r.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((a=r[o]||e.target)!==t){X(e,"currentTarget",{configurable:!0,get:()=>a||n});var d=Pn,u=Bn;On(null),Fn(null);try{for(var f,p=[];null!==a;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[li]?.[i];null==g||a.disabled&&e.target!==a||g.call(a,e)}catch(m){f?p.push(m):f=m}if(e.cancelBubble||h===t||null===h)break;a=h}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[li]=t,delete e.currentTarget,On(d),Fn(u)}}}const mi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function vi(e){var t=fn("template");return t.innerHTML=function(e){return mi?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function yi(e,t){null===Bn.nodes&&(Bn.nodes={start:e,end:t,a:null,t:null})}function bi(e,t){var n,i=!!(1&t),r=!!(2&t),a=!e.startsWith("<!>");return()=>{void 0===n&&(n=vi(a?e:"<!>"+e),i||(n=sn(n)));var t=r||nn?document.importNode(n,!0):n.cloneNode(!0);return i?yi(sn(t),t.lastChild):yi(t,t),t}}function wi(e,t,n="svg"){var i,r=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!i){var e=vi(r);i=sn(sn(e))}var t=i.cloneNode(!0);return yi(t,t),t}}function xi(e,t){return wi(e,0,"svg")}function ki(e,t){null!==e&&e.before(t)}function Si(e,t){var n=null==t?"":"object"==typeof t?`${t}`:t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=`${n}`)}const _i=new Map;let Ai=new WeakMap;class Mi{constructor(e,t=!0){__publicField(this,"anchor"),__privateAdd(this,G,new Map),__privateAdd(this,O,new Map),__privateAdd(this,B,new Map),__privateAdd(this,F,new Set),__privateAdd(this,j,!0),__privateAdd(this,D,e=>{if(__privateGet(this,G).has(e)){var t=__privateGet(this,G).get(e),n=__privateGet(this,O).get(t);if(n)Tn(n),__privateGet(this,F).delete(t);else{var i=__privateGet(this,B).get(t);i&&(__privateGet(this,O).set(t,i.effect),__privateGet(this,B).delete(t),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[t,n]of __privateGet(this,G)){if(__privateGet(this,G).delete(t),t===e)break;const i=__privateGet(this,B).get(n);i&&(An(i.effect),__privateGet(this,B).delete(n))}for(const[e,i]of __privateGet(this,O)){if(e===t||__privateGet(this,F).has(e))continue;const r=()=>{if(Array.from(__privateGet(this,G).values()).includes(e)){var t=document.createDocumentFragment();$n(i,t),t.append(on()),__privateGet(this,B).set(e,{effect:i,fragment:t})}else An(i);__privateGet(this,F).delete(e),__privateGet(this,O).delete(e)};__privateGet(this,j)||!n?(__privateGet(this,F).add(e),Cn(i,r,!1)):r()}}}),__privateAdd(this,W,e=>{__privateGet(this,G).delete(e);const t=Array.from(__privateGet(this,G).values());for(const[n,i]of __privateGet(this,B))t.includes(n)||(An(i.effect),__privateGet(this,B).delete(n))}),this.anchor=e,__privateSet(this,j,t)}ensure(e,t){var n=st;!t||__privateGet(this,O).has(e)||__privateGet(this,B).has(e)||__privateGet(this,O).set(e,kn(()=>t(this.anchor))),__privateGet(this,G).set(n,e),__privateGet(this,D).call(this,n)}}function Ei(e,t,n=!1){var i=new Mi(e);function r(e,t){i.ensure(e,t)}xn(()=>{var e=!1;t((t,n=0)=>{e=!0,r(n,t)}),e||r(-1,null)},n?ge:0)}function Ci(e,t){return t}function Ii(e,t,n=!0){var i;if(e.pending.size>0){i=new Set;for(const t of e.pending.values())for(const n of t)i.add(e.items.get(n).e)}for(var r=0;r<t.length;r++){var a=t[r];i?.has(a)?(a.f|=ye,$n(a,document.createDocumentFragment())):An(t[r],n)}}var Ti;function zi(e,t,n,i,r,a=null){var o,s=new Map;o=e.appendChild(on());var c,l=null,d=$t(()=>{var e=n();return U(e)?e:null==e?[]:J(e)}),u=new Map,f=!0,p={effect:xn(()=>{for(var e=(c=ii(d)).length,h=new Set,g=st,m=0;m<e;m+=1){var v=c[m],y=i(v,m);if(q){var b=i(v,m);y!==b&&Ce(String(m),String(y),String(b))}var w=f?null:s.get(y);w?(w.v&&qt(w.v,v),w.i&&qt(w.i,m)):(w=Li(s,f?o:Ti??(Ti=on()),v,y,m,r,t,n),f||(w.e.f|=ye),s.set(y,w)),h.add(y)}0===e&&a&&!l&&(f?l=kn(()=>a(o)):(l=kn(()=>a(Ti??(Ti=on())))).f|=ye),e>h.size&&(q?function(e,t){const n=new Map,i=e.length;for(let r=0;r<i;r++){const i=t(e[r],r);if(n.has(i)){const e=String(n.get(i)),t=String(r);let a=String(i);a.startsWith("[object ")&&(a=null),Ee(e,t,a)}n.set(i,r)}}(c,i):Ee("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&fe)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,i,r){var a,o,s,c,l=t.length,d=e.items,u=$i(e.effect.first),f=null,p=[],h=[];for(c=0;c<l;c+=1){if(o=r(t[c],c),s=d.get(o).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(s),t.done.delete(s);if(0!==(s.f&ye)){if(s.f^=ye,s!==u){var g=f?f.next:u;s===e.effect.last&&(e.effect.last=s.prev),s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),Hi(e,f,s),Hi(e,s,g),Ni(s,g,n),p=[],h=[],u=$i((f=s).next);continue}Ni(s,null,n)}if(0!==(s.f&ue)&&Tn(s),s!==u){if(void 0!==a&&a.has(s)){if(p.length<h.length){var m,v=h[0];f=v.prev;var y=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Ni(p[m],v,n);for(m=0;m<h.length;m+=1)a.delete(h[m]);Hi(e,y.prev,b.next),Hi(e,f,y),Hi(e,b,v),u=v,f=b,c-=1,p=[],h=[]}else a.delete(s),Ni(s,u,n),Hi(e,s.prev,s.next),Hi(e,s,null===f?e.effect.first:f.next),Hi(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(a??(a=new Set)).add(u),h.push(u),u=$i(u.next);if(null===u)continue}0===(s.f&ye)&&p.push(s),f=s,u=$i(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Ii(e,J(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==u||void 0!==a){var w=[];if(void 0!==a)for(s of a)0===(s.f&ue)&&w.push(s);for(;null!==u;)0===(u.f&ue)&&u!==e.fallback&&w.push(u),u=$i(u.next);w.length>0&&function(e,t,n){for(var i,r=t.length,a=t.length,o=0;o<r;o++){let n=t[o];Cn(n,()=>{if(i){if(i.pending.delete(n),i.done.add(n),0===i.pending.size){var t=e.outrogroups;Ii(e,J(i.done)),t.delete(i),0===t.size&&(e.outrogroups=null)}}else a-=1},!1)}if(0===a){var s=null!==n;if(s){var c=n,l=c.parentNode;l.textContent="",l.append(c),e.items.clear()}Ii(e,t,!s)}else i={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(i)}(e,w,0===l?n:null)}}(p,c,o,0,i),null!==l&&(0===c.length?0===(l.f&ye)?Tn(l):(l.f^=ye,Ni(l,null,o)):Cn(l,()=>{l=null})))}(g)),ii(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function $i(e){for(;null!==e&&0===(e.f&oe);)e=e.next;return e}function Li(e,t,n,i,r,a,o,s){var c=1&o?16&o?Dt(n):Kt(n,!1,!1):null,l=2&o?Dt(r):null;return q&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:kn(()=>(a(t,c??n,l??r,s),()=>{e.delete(i)}))}}function Ni(e,t,n){if(e.nodes)for(var i=e.nodes.start,r=e.nodes.end,a=t&&0===(t.f&ye)?t.nodes.start:n;null!==i;){var o=cn(i);if(a.before(i),i===r)return;i=o}}function Hi(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Pi(e,t,n=!1,i=!1,r=!1,a=!1){var o=e,s="";if(n)var c=e;wn(()=>{var e=Bn;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&yi(sn(c),c.lastChild));if(null!==e.nodes&&(Mn(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var a=fn(i?"svg":r?"math":"template",i?"http://www.w3.org/2000/svg":r?"http://www.w3.org/1998/Math/MathML":void 0);a.innerHTML=s;var l=i||r?a:a.content;if(yi(sn(l),l.lastChild),i||r)for(;sn(l);)o.before(sn(l));else o.before(l)}}})}G=new WeakMap,O=new WeakMap,B=new WeakMap,F=new WeakMap,j=new WeakMap,D=new WeakMap,W=new WeakMap;const Gi=[..." \t\n\r\f \v\ufeff"];function Oi(e,t,n,i,r,a){var o=e.__className;if(o!==n||void 0===o){var s=function(e,t,n){var i=null==e?"":""+e;if(n)for(var r of Object.keys(n))if(n[r])i=i?i+" "+r:r;else if(i.length)for(var a=r.length,o=0;(o=i.indexOf(r,o))>=0;){var s=o+a;0!==o&&!Gi.includes(i[o-1])||s!==i.length&&!Gi.includes(i[s])?o=s:i=(0===o?"":i.substring(0,o))+i.substring(s+1)}return""===i?null:i}(n,0,a);null==s?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s),e.__className=n}else if(a&&r!==a)for(var c in a){var l=!!a[c];null!=r&&l===!!r[c]||e.classList.toggle(c,l)}return a}function Bi(e,t,n,i){if(e.__style!==t){var r=function(e){return null==e?null:String(e)}(t);null==r?e.removeAttribute("style"):e.style.cssText=r,e.__style=t}return i}const Fi=Symbol("is custom element"),ji=Symbol("is html");function Di(e,t,n,i){var r=function(e){return e.__attributes??(e.__attributes={[Fi]:e.nodeName.includes("-"),[ji]:e.namespaceURI===ze})}(e);r[t]!==(r[t]=n)&&("loading"===t&&(e[_e]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,i=Wi.get(n);if(i)return i;Wi.set(n,i=[]);for(var r=e,a=Element.prototype;a!==r;){for(var o in t=Q(r))t[o].set&&i.push(o);r=ne(r)}return i}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Wi=new Map;function Ki(e,t){return e===t||e?.[ke]===t}function Ri(e={},t,n,i){var r=Fe.r,a=Bn;return hn(4,()=>{var i,o;return bn(()=>{i=o,o=[],oi(()=>{e!==n(...o)&&(t(e,...o),i&&Ki(n(...i),e)&&t(null,...i))})}),()=>{let i=a;for(;i!==r&&null!==i.parent&&i.parent.f&he;)i=i.parent;const s=i.teardown;i.teardown=()=>{o&&Ki(n(...o),e)&&t(null,...o),s?.()}}}),e}function qi(e,t,n,i){var r=!!(8&n),a=!!(16&n),o=i,s=!0,c=()=>(s&&(s=!1,o=a?oi(i):i),o);let l;if(r){var d=ke in e||Se in e;l=Z(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var u,f,p=!1;if(r?[u,p]=function(){var n=at;try{return at=!1,[e[t],at]}finally{at=n}}():u=e[t],void 0===u&&void 0!==i&&(u=c(),l&&(function(e){if(q){const t=new Error(`props_invalid_value\nCannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value\nhttps://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_invalid_value")}(t),l(u))),f=()=>{var n=e[t];return void 0===n?c():(s=!0,n)},!(4&n))return f;if(l){var h=e.$$legacy;return function(e,t){return arguments.length>0?((!t||h||p)&&l(t?f():e),e):f()}}var g=!1,m=(1&n?It:$t)(()=>(g=!1,f()));q&&(m.label=t),r&&ii(m);var v=Bn;return function(e,t){if(arguments.length>0){const n=t?ii(m):r?Xt(e):e;return Rt(m,n),g=!0,void 0!==o&&(o=n),e}return Nn&&g||0!==(v.f&fe)?m.v:ii(m)}}if(q){let e=function(e){if(!(e in globalThis)){let t;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(void 0!==t)return t;!function(e){if(q){const t=new Error(`rune_outside_svelte\nThe \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nhttps://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/rune_outside_svelte")}(e)},set:e=>{t=e}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Ui(e){null===Fe&&function(){if(q){const e=new Error("lifecycle_outside_component\n`onMount(...)` can only be used during component initialisation\nhttps://svelte.dev/e/lifecycle_outside_component");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),vn(()=>{const t=oi(e);if("function"==typeof t)return t})}function Vi(e){return`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`}function Yi(){return Vi('<circle cx="12" cy="4.5" r="1.5"/><path d="M12 7.5v5m0 0l-3 4.5m3-4.5l3 4.5"/><path d="M6.5 9.5h11"/>')}function Ji(){return Vi('<path d="M11 5L6 9H3v6h3l5 4V5z"/><path d="M15 9a4 4 0 0 1 0 6"/><path d="M18 6a8 8 0 0 1 0 12"/>')}function Xi(){return Vi('<path d="M12 2a5 5 0 0 1 4.65 3.2A4.5 4.5 0 0 1 20 9.5a4.5 4.5 0 0 1-1.5 3.35A5 5 0 0 1 12 18"/><path d="M12 2a5 5 0 0 0-4.65 3.2A4.5 4.5 0 0 0 4 9.5a4.5 4.5 0 0 0 1.5 3.35A5 5 0 0 0 12 18"/><path d="M12 18v4"/><path d="M8 10h.01"/><path d="M16 10h.01"/><path d="M9 14c1 1 5 1 6 0"/>')}function Zi(){return Vi('<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 16l5-5 4 4 3-3 6 6"/><circle cx="8.5" cy="8.5" r="1.5"/><text x="12" y="21.5" text-anchor="middle" fill="currentColor" stroke="none" font-size="5" font-weight="bold" font-family="sans-serif">ALT</text>')}function Qi(){return Vi('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function er(){return Vi('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function tr(){return Vi('<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>')}"undefined"!=typeof window&&((K=window.__svelte??(window.__svelte={})).v??(K.v=new Set)).add("5");const nr={accessibility:Yi,contrast:function(){return Vi('<circle cx="12" cy="12" r="9"/><path d="M12 3v18" /><path d="M12 3a9 9 0 0 1 0 18" fill="currentColor" stroke="none"/>')},"text-size":function(){return Vi('<path d="M4 19l4-12h1l4 12"/><path d="M5.5 15h5"/><path d="M17 5v14"/><path d="M14 8l3-3 3 3"/><path d="M14 16l3 3 3-3"/>')},spacing:function(){return Vi('<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 5l-2 2 2 2"/><path d="M14 5l2 2-2 2"/><path d="M10 17l-2-2 2-2"/><path d="M14 17l2-2-2-2"/>')},font:function(){return Vi('<path d="M6 4h10a2 2 0 0 1 2 2v1"/><path d="M6 4v16"/><path d="M6 12h8"/><path d="M4 20h4"/>')},"reading-guide":function(){return Vi('<path d="M3 12h18"/><path d="M3 6h18" opacity="0.3"/><path d="M3 18h18" opacity="0.3"/><rect x="1" y="10" width="22" height="4" rx="1" stroke-dasharray="4 2"/>')},focus:function(){return Vi('<circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="7"/><path d="M12 2v3"/><path d="M12 19v3"/><path d="M2 12h3"/><path d="M19 12h3"/>')},"animation-pause":function(){return Vi('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return Vi('<path d="M5 3l1.5 16 3.5-4 5 6 2-1.5-5-6h5.5z"/><path d="M18 12h4"/><path d="M20 10v4"/>')},speaker:Ji,tts:Ji,brain:Xi,ai:Xi,image:Zi,"alt-text":Zi,keyboard:function(){return Vi('<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01"/><path d="M10 10h.01"/><path d="M14 10h.01"/><path d="M18 10h.01"/><path d="M8 14h8"/>')},"color-blindness":function(){return Vi('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/><path d="M12 9v6" stroke-dasharray="2 1"/><path d="M9 12h6" stroke-dasharray="2 1"/>')},"link-highlight":function(){return Vi('<path d="M10 13a5 5 0 0 0 7.07.5l2.12-2.12a5 5 0 0 0-7.07-7.07l-1.06 1.06"/><path d="M14 11a5 5 0 0 0-7.07-.5L4.81 12.6a5 5 0 0 0 7.07 7.07l1.06-1.06"/><path d="M2 20l4-4" stroke-width="3" opacity="0.4"/>')},close:Qi,"close-x":Qi,reset:er,chevron:function(){return Vi('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return Vi('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return Vi('<path d="M10.3 3.2L1.7 18a2 2 0 0 0 1.7 3h17.2a2 2 0 0 0 1.7-3L13.7 3.2a2 2 0 0 0-3.4 0z"/><path d="M12 9v4"/><path d="M12 17h.01"/>')},scan:function(){return Vi('<circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/><path d="M8 9h6"/><path d="M8 11h4"/><path d="M8 13h5"/>')},"simplify-text":function(){return Vi('<rect x="4" y="2" width="16" height="20" rx="2"/><path d="M8 6h8"/><path d="M8 10h8" opacity="0.35" stroke-dasharray="2 2"/><path d="M8 14h5"/><path d="M8 18h6" opacity="0.35" stroke-dasharray="2 2"/>')},eye:function(){return Vi('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/>')},shield:function(){return Vi('<path d="M12 2l8 4v6c0 5.5-3.8 10.7-8 12-4.2-1.3-8-6.5-8-12V6l8-4z"/><path d="M9 12l2 2 4-4"/>')},saturation:function(){return Vi('<path d="M12 2.7c-4.5 5-7 8.5-7 11.8a7 7 0 0 0 14 0c0-3.3-2.5-6.8-7-11.8z"/><path d="M12 9v9"/><path d="M12 9a4.5 4.5 0 0 0 0 9" fill="currentColor" stroke="none" opacity="0.3"/>')},"hide-images":function(){return Vi('<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M3 16l5-5 4 4 3-3 6 6"/><path d="M2 2l20 20" stroke-width="2.5"/>')},"text-align":function(){return Vi('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return Vi('<rect x="2" y="2" width="20" height="20" rx="2" opacity="0.3"/><rect x="4" y="8" width="16" height="8" rx="1"/><path d="M4 8h16" stroke-dasharray="3 2"/><path d="M4 16h16" stroke-dasharray="3 2"/>')},"page-structure":function(){return Vi('<path d="M4 6h4"/><path d="M4 6v6"/><path d="M8 6v6"/><path d="M4 9h4"/><path d="M12 7h8" stroke-width="1.5"/><path d="M14 12h6" opacity="0.6"/><path d="M14 16h6" opacity="0.6"/><path d="M12 20h8" stroke-width="1.5"/>')},"line-height":function(){return Vi('<path d="M10 6h10"/><path d="M10 12h10"/><path d="M10 18h10"/><path d="M4 4v16"/><path d="M2 7l2-3 2 3"/><path d="M2 17l2 3 2-3"/>')},globe:tr,profile:function(){return Vi('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},ir={"widget.title":"Accessibility","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments reset","widget.poweredBy":"Powered by Accessify","widget.statement":"Accessibility Statement","status.active":"{count} active","status.noActive":"No adjustments active","status.activated":"activated","status.deactivated":"deactivated","section.profiles":"Quick Profiles","category.visual":"Visual","category.motor":"Motor & Navigation","category.cognitive":"Cognitive","category.ai":"AI Features","profile.visionImpaired":"Vision Impaired","profile.visionImpaired.desc":"High contrast, larger text and cursor","profile.motorImpaired":"Motor Impaired","profile.motorImpaired.desc":"Keyboard navigation and focus aids","profile.cognitive":"Cognitive Support","profile.cognitive.desc":"Reading aids, spacing, and simpler fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animations and reduce stimuli","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distractions and improve focus","feature.contrast":"Contrast","feature.contrast.desc":"Increase contrast for better readability","feature.textSize":"Text Size","feature.textSize.desc":"Increase or decrease text size","feature.spacing":"Text Spacing","feature.spacing.desc":"Adjust letter and line spacing","feature.dyslexiaFont":"Dyslexia Font","feature.dyslexiaFont.desc":"Special font for better readability","feature.readingGuide":"Reading Guide","feature.readingGuide.desc":"Horizontal ruler for line-by-line reading","feature.focusHighlight":"Focus Highlight","feature.focusHighlight.desc":"Visible outline on focused elements","feature.animationStop":"Pause Animations","feature.animationStop.desc":"Pause all animations and videos","feature.bigCursor":"Big Cursor","feature.bigCursor.desc":"Enlarged cursor for better visibility","feature.colorBlind":"Color Filter","feature.colorBlind.desc":"Color corrections for color vision deficiencies","feature.linkHighlight":"Highlight Links","feature.linkHighlight.desc":"Underline and highlight all links","feature.keyboardNav":"Keyboard Nav","feature.keyboardNav.desc":"Navigate the page using only your keyboard: Skip to main content, Alt+H to jump through headings, Alt+L for page sections, Alt+K shows all shortcuts","feature.tts":"Read Aloud","feature.tts.desc":"Click any text to hear it spoken","feature.textSimplify":"Simplify Text","feature.textSimplify.desc":"Simplify text for easier understanding","feature.altText":"Image Description","feature.altText.desc":"Show image descriptions on hover and auto-generate missing ones","feature.autoScan":"WCAG Scan","feature.autoScan.desc":"Scan page for accessibility issues","feature.saturation":"Saturation","feature.saturation.desc":"Adjust color saturation or grayscale","feature.hideImages":"Hide Images","feature.hideImages.desc":"Remove images for distraction-free reading","feature.textAlign":"Text Align","feature.textAlign.desc":"Change text alignment across the page","feature.readingMask":"Reading Mask","feature.readingMask.desc":"Focus window that dims surrounding content","feature.pageStructure":"Page Structure","feature.pageStructure.desc":"View headings and landmarks for quick navigation","feature.lineHeight":"Line Height","feature.lineHeight.desc":"Increase space between lines of text","ai.loading":"Loading...","ai.error":"Error processing request","ai.simplify.select":"Select text to simplify","ai.simplify.level":"Simplification level","ai.simplify.einfache":"Simple language","ai.simplify.leichte":"Easy language","ai.alttext.generate":"Generate alt text","ai.alttext.apply":"Apply","ai.alttext.edit":"Edit","ai.alttext.badge":"Images missing alt text","ai.alttext.aiGenerated":"AI-generated – please review","tts.play":"Play","tts.pause":"Pause","tts.stop":"Stop","tts.speed":"Speed","footer.disclaimer":"This widget enhances accessibility but does not replace accessible web development.","footer.docs":"Documentation","footer.github":"GitHub","bfsg.notice":"Note: This overlay tool alone does not meet BFSG requirements. Full accessibility requires structural changes to the source code.","disclaimer.ai":"Parts of this page have been simplified using AI. Original text can be restored via the accessibility widget.","disclaimer.dismiss":"Dismiss","widget.subtitle":"Adjust contrast, text and navigation on this page","widget.language":"Language","widget.widgetLang":"Widget language","widget.moveWidget":"Move widget to other side","widget.poweredBy":"Powered by Accessify-Widget","section.essentials":"Most used","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI assistance","section.ai.desc":"Simplify content, generate alt text and scan the current page.","control.mostUsed":"Most used","control.chooseMode":"Choose a mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","keyboard.shortcuts":"Keyboard shortcuts","keyboard.shortcut":"Shortcut","keyboard.action":"Action","keyboard.nextHeading":"Go to the next heading","keyboard.nextLandmark":"Go to the next landmark","keyboard.toggleHelp":"Open or close this help overlay","keyboard.nextFocusable":"Move to the next focusable element","keyboard.closeOverlay":"Close this overlay","keyboard.skipToContent":"Skip to main content","pageStructure.title":"Page structure","pageStructure.headings":"Headings","pageStructure.landmarks":"Landmarks","pageStructure.empty":"No headings or landmarks found on this page."};function rr(e){return{...ir,...e}}const ar={en:ir,de:{"widget.title":"Barrierefreiheit","widget.open":"Barrierefreiheit-Einstellungen öffnen","widget.close":"Schließen","widget.reset":"Alle zurücksetzen","widget.resetConfirm":"Alle Anpassungen zurückgesetzt","widget.poweredBy":"Bereitgestellt von Accessify","widget.statement":"Barrierefreiheitserklärung","status.active":"{count} aktiv","status.noActive":"Keine Anpassungen aktiv","status.activated":"aktiviert","status.deactivated":"deaktiviert","section.profiles":"Schnellprofile","category.visual":"Visuell","category.motor":"Motorik & Navigation","category.cognitive":"Kognitiv","category.ai":"KI-Funktionen","profile.visionImpaired":"Sehbeeinträchtigung","profile.visionImpaired.desc":"Hoher Kontrast, größerer Text und Cursor","profile.motorImpaired":"Motorische Einschränkung","profile.motorImpaired.desc":"Tastaturnavigation und Fokus-Hilfen","profile.cognitive":"Kognitive Unterstützung","profile.cognitive.desc":"Lesehilfen, Abstände und einfachere Schrift","profile.seizureSafe":"Anfallssicher","profile.seizureSafe.desc":"Animationen stoppen und Reize reduzieren","profile.adhdFriendly":"ADHS-freundlich","profile.adhdFriendly.desc":"Ablenkungen reduzieren und Fokus verbessern","feature.contrast":"Kontrast","feature.contrast.desc":"Kontrast erhöhen für bessere Lesbarkeit","feature.textSize":"Textgröße","feature.textSize.desc":"Text vergrößern oder verkleinern","feature.spacing":"Textabstand","feature.spacing.desc":"Abstände zwischen Buchstaben und Zeilen anpassen","feature.dyslexiaFont":"Legasthenie-Schrift","feature.dyslexiaFont.desc":"Spezielle Schriftart für bessere Lesbarkeit","feature.readingGuide":"Leselineal","feature.readingGuide.desc":"Horizontales Lineal zum zeilenweisen Lesen","feature.focusHighlight":"Fokus-Hervorhebung","feature.focusHighlight.desc":"Sichtbare Umrandung fokussierter Elemente","feature.animationStop":"Animationen stoppen","feature.animationStop.desc":"Alle Animationen und Videos stoppen","feature.bigCursor":"Großer Mauszeiger","feature.bigCursor.desc":"Vergrößerter Mauszeiger für bessere Sichtbarkeit","feature.colorBlind":"Farbfilter","feature.colorBlind.desc":"Farbkorrekturen für verschiedene Sehschwächen","feature.linkHighlight":"Links hervorheben","feature.linkHighlight.desc":"Alle Links sichtbar unterstreichen","feature.keyboardNav":"Tastaturnavigation","feature.keyboardNav.desc":"Seite nur mit Tastatur bedienen: Direkt zum Inhalt springen, mit Alt+H durch Überschriften navigieren, Alt+L für Seitenbereiche, Alt+K zeigt alle Tastenkombinationen","feature.tts":"Vorlesen","feature.tts.desc":"Text per Klick vorlesen lassen","feature.textSimplify":"Text vereinfachen","feature.textSimplify.desc":"Text in Einfache Sprache umwandeln","feature.altText":"Bildbeschreibung","feature.altText.desc":"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen","feature.autoScan":"WCAG-Prüfung","feature.autoScan.desc":"Seite auf Barrierefreiheit prüfen","feature.saturation":"Sättigung","feature.saturation.desc":"Farbsättigung anpassen oder Graustufen","feature.hideImages":"Bilder ausblenden","feature.hideImages.desc":"Bilder entfernen für ablenkungsfreies Lesen","feature.textAlign":"Textausrichtung","feature.textAlign.desc":"Textausrichtung der Seite ändern","feature.readingMask":"Lesemaske","feature.readingMask.desc":"Fokus-Fenster, das die Umgebung abdunkelt","feature.pageStructure":"Seitenstruktur","feature.pageStructure.desc":"Überschriften und Bereiche zur Navigation anzeigen","feature.lineHeight":"Zeilenhöhe","feature.lineHeight.desc":"Abstand zwischen Textzeilen vergrößern","ai.loading":"Wird geladen...","ai.error":"Fehler bei der Verarbeitung","ai.simplify.select":"Text auswählen zum Vereinfachen","ai.simplify.level":"Vereinfachungsstufe","ai.simplify.einfache":"Einfache Sprache","ai.simplify.leichte":"Leichte Sprache","ai.alttext.generate":"Alt-Text erzeugen","ai.alttext.apply":"Übernehmen","ai.alttext.edit":"Bearbeiten","ai.alttext.badge":"Bilder ohne Alt-Text","ai.alttext.aiGenerated":"KI-generiert – bitte überprüfen","tts.play":"Vorlesen","tts.pause":"Pause","tts.stop":"Stopp","tts.speed":"Geschwindigkeit","footer.disclaimer":"Dieses Widget verbessert die Barrierefreiheit, ersetzt aber keine barrierefreie Webentwicklung.","footer.docs":"Dokumentation","footer.github":"GitHub","bfsg.notice":"Hinweis: Dieses Overlay-Tool allein erfüllt nicht die Anforderungen des BFSG. Professionelle Barrierefreiheit erfordert strukturelle Änderungen am Quellcode.","disclaimer.ai":"Teile dieser Seite wurden mit KI vereinfacht. Der Originaltext kann über das Barrierefreiheits-Widget wiederhergestellt werden.","disclaimer.dismiss":"Schließen","widget.subtitle":"Passe Kontrast, Text und Navigation auf dieser Seite an","widget.language":"Sprache","widget.widgetLang":"Widget-Sprache","widget.moveWidget":"Widget auf andere Seite verschieben","widget.poweredBy":"Bereitgestellt von Accessify-Widget","section.essentials":"Am haeufigsten genutzt","section.essentials.desc":"Starte mit Kontrast, Textgroesse und Tastaturhilfe.","section.support":"Lesen und Navigation","section.support.desc":"Hilfen fuer Fokus, reduzierte Bewegung und Seitenstruktur.","section.ai":"KI-Unterstuetzung","section.ai.desc":"Inhalte vereinfachen, Alt-Texte erzeugen und die Seite pruefen.","control.mostUsed":"Meistgenutzt","control.chooseMode":"Modus waehlen","control.default":"Standard","contrast.mode.light":"Heller Kontrast","contrast.mode.dark":"Dunkler Kontrast","contrast.mode.high":"Hoher Kontrast","keyboard.shortcuts":"Tastaturhilfe","keyboard.shortcut":"Tastaturkuerzel","keyboard.action":"Aktion","keyboard.nextHeading":"Zur naechsten Ueberschrift springen","keyboard.nextLandmark":"Zur naechsten Landmarke springen","keyboard.toggleHelp":"Diese Hilfe ein- oder ausblenden","keyboard.nextFocusable":"Zum naechsten fokussierbaren Element wechseln","keyboard.closeOverlay":"Diese Hilfe schliessen","keyboard.skipToContent":"Zum Hauptinhalt springen","pageStructure.title":"Seitenstruktur","pageStructure.headings":"Ueberschriften","pageStructure.landmarks":"Landmarken","pageStructure.empty":"Auf dieser Seite wurden keine Ueberschriften oder Landmarken gefunden."},zh:rr({"widget.widgetLang":"小组件语言","widget.title":"无障碍","widget.subtitle":"调整此页面的对比度、文字和导航","widget.open":"打开无障碍设置","widget.close":"关闭","widget.reset":"全部重置","widget.resetConfirm":"已重置所有调整","widget.poweredBy":"由 Accessify-Widget 提供支持","widget.statement":"无障碍声明","widget.language":"语言","status.active":"已启用 {count} 项","status.noActive":"当前未启用调整","status.activated":"已启用","status.deactivated":"已关闭","section.essentials":"最常用","section.essentials.desc":"先从对比度、文字大小和键盘支持开始。","section.support":"阅读与导航","section.support.desc":"用于聚焦、减少动画和查看页面结构的工具。","section.ai":"AI 辅助","section.ai.desc":"简化内容、生成替代文本并扫描当前页面。","control.mostUsed":"最常用","control.chooseMode":"选择模式","control.default":"默认","contrast.mode.light":"浅色高对比","contrast.mode.dark":"深色高对比","contrast.mode.high":"高对比","feature.contrast":"对比度","feature.textSize":"更大文字","feature.keyboardNav":"键盘导航","feature.focusHighlight":"焦点高亮","feature.linkHighlight":"突出链接","feature.animationStop":"停止动画","feature.readingGuide":"阅读指引线","feature.readingMask":"阅读遮罩","feature.hideImages":"隐藏图片","feature.bigCursor":"大号光标","feature.pageStructure":"页面结构","feature.tts":"朗读","feature.textSimplify":"简化文本","feature.altText":"图片描述","feature.autoScan":"WCAG 扫描","section.profiles":"快速配置","profile.visionImpaired":"视力障碍","profile.visionImpaired.desc":"高对比度、更大文字和光标","profile.motorImpaired":"运动障碍","profile.motorImpaired.desc":"键盘导航和焦点辅助","profile.cognitive":"认知支持","profile.cognitive.desc":"阅读辅助、间距调整和简化字体","profile.seizureSafe":"癫痫安全","profile.seizureSafe.desc":"停止动画并减少刺激","profile.adhdFriendly":"注意力友好","profile.adhdFriendly.desc":"减少干扰并提高专注力"}),hi:rr({"widget.widgetLang":"विजेट भाषा","widget.title":"सुलभता","widget.subtitle":"इस पेज पर कंट्रास्ट, टेक्स्ट और नेविगेशन समायोजित करें","widget.open":"सुलभता सेटिंग खोलें","widget.close":"बंद करें","widget.reset":"सब रीसेट करें","widget.resetConfirm":"सभी बदलाव रीसेट हो गए","widget.poweredBy":"Accessify-Widget द्वारा संचालित","widget.statement":"एक्सेसिबिलिटी स्टेटमेंट","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोई बदलाव सक्रिय नहीं","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सबसे ज्यादा उपयोग","section.essentials.desc":"कंट्रास्ट, टेक्स्ट साइज और कीबोर्ड सहायता से शुरू करें।","section.support":"पढ़ना और नेविगेशन","section.support.desc":"फोकस, कम मोशन और पेज स्ट्रक्चर के लिए टूल।","section.ai":"AI सहायता","section.ai.desc":"कंटेंट सरल करें, ऑल्ट टेक्स्ट बनाएं और मौजूदा पेज स्कैन करें।","control.mostUsed":"सबसे उपयोगी","control.chooseMode":"मोड चुनें","control.default":"डिफ़ॉल्ट","contrast.mode.light":"लाइट कंट्रास्ट","contrast.mode.dark":"डार्क कंट्रास्ट","contrast.mode.high":"हाई कंट्रास्ट","feature.contrast":"कंट्रास्ट","feature.textSize":"बड़ा टेक्स्ट","feature.keyboardNav":"कीबोर्ड नेविगेशन","feature.focusHighlight":"फोकस हाइलाइट","feature.linkHighlight":"लिंक हाइलाइट","feature.animationStop":"एनिमेशन रोकें","feature.readingGuide":"रीडिंग गाइड","feature.readingMask":"रीडिंग मास्क","feature.hideImages":"तस्वीरें छिपाएँ","feature.bigCursor":"बड़ा कर्सर","feature.pageStructure":"पेज संरचना","feature.tts":"जोर से पढ़ें","feature.textSimplify":"टेक्स्ट सरल करें","feature.altText":"चित्र विवरण","feature.autoScan":"WCAG स्कैन","section.profiles":"त्वरित प्रोफ़ाइल","profile.visionImpaired":"दृष्टि बाधित","profile.visionImpaired.desc":"उच्च कंट्रास्ट, बड़ा टेक्स्ट और कर्सर","profile.motorImpaired":"मोटर बाधित","profile.motorImpaired.desc":"कीबोर्ड नेविगेशन और फोकस सहायता","profile.cognitive":"संज्ञानात्मक सहायता","profile.cognitive.desc":"पठन सहायता, स्पेसिंग और सरल फ़ॉन्ट","profile.seizureSafe":"दौरा सुरक्षित","profile.seizureSafe.desc":"एनिमेशन बंद करें और उत्तेजना कम करें","profile.adhdFriendly":"ADHD अनुकूल","profile.adhdFriendly.desc":"विकर्षण कम करें और ध्यान बढ़ाएँ"}),es:rr({"widget.widgetLang":"Idioma del widget","widget.title":"Accesibilidad","widget.subtitle":"Ajusta contraste, texto y navegacion en esta pagina","widget.open":"Abrir ajustes de accesibilidad","widget.close":"Cerrar","widget.reset":"Restablecer todo","widget.resetConfirm":"Se restablecieron todos los ajustes","widget.poweredBy":"Impulsado por Accessify-Widget","widget.statement":"Declaracion de accesibilidad","widget.language":"Idioma","status.active":"{count} activas","status.noActive":"No hay ajustes activos","status.activated":"activado","status.deactivated":"desactivado","section.essentials":"Lo mas usado","section.essentials.desc":"Empieza con contraste, tamano de texto y apoyo para teclado.","section.support":"Lectura y navegacion","section.support.desc":"Herramientas para foco, menos movimiento y estructura de pagina.","section.ai":"Asistencia de IA","section.ai.desc":"Simplifica contenido, genera texto alternativo y analiza la pagina actual.","control.mostUsed":"Mas usado","control.chooseMode":"Elegir modo","control.default":"Predeterminado","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste oscuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto mas grande","feature.keyboardNav":"Navegacion por teclado","feature.focusHighlight":"Resaltar foco","feature.linkHighlight":"Resaltar enlaces","feature.animationStop":"Detener animaciones","feature.readingGuide":"Guia de lectura","feature.readingMask":"Mascara de lectura","feature.hideImages":"Ocultar imagenes","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estructura de pagina","feature.tts":"Lectura en voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descripcion de imagen","feature.autoScan":"Escaneo WCAG","section.profiles":"Perfiles rápidos","profile.visionImpaired":"Discapacidad visual","profile.visionImpaired.desc":"Alto contraste, texto y cursor más grandes","profile.motorImpaired":"Discapacidad motora","profile.motorImpaired.desc":"Navegación por teclado y ayudas de enfoque","profile.cognitive":"Apoyo cognitivo","profile.cognitive.desc":"Ayudas de lectura, espaciado y fuentes más simples","profile.seizureSafe":"Seguro para convulsiones","profile.seizureSafe.desc":"Detener animaciones y reducir estímulos","profile.adhdFriendly":"Apto para TDAH","profile.adhdFriendly.desc":"Reducir distracciones y mejorar el enfoque"}),fr:rr({"widget.widgetLang":"Langue du widget","widget.title":"Accessibilite","widget.subtitle":"Ajustez le contraste, le texte et la navigation sur cette page","widget.open":"Ouvrir les reglages d'accessibilite","widget.close":"Fermer","widget.reset":"Tout reinitialiser","widget.resetConfirm":"Tous les ajustements ont ete reinitialises","widget.poweredBy":"Propulse par Accessify-Widget","widget.statement":"Declaration d'accessibilite","widget.language":"Langue","status.active":"{count} actives","status.noActive":"Aucun ajustement actif","status.activated":"active","status.deactivated":"desactive","section.essentials":"Les plus utilises","section.essentials.desc":"Commencez par le contraste, la taille du texte et le clavier.","section.support":"Lecture et navigation","section.support.desc":"Outils pour la mise au point, moins de mouvement et la structure de page.","section.ai":"Assistance IA","section.ai.desc":"Simplifiez le contenu, generez un texte alternatif et analysez la page.","control.mostUsed":"Les plus utilises","control.chooseMode":"Choisir un mode","control.default":"Par defaut","contrast.mode.light":"Contraste clair","contrast.mode.dark":"Contraste sombre","contrast.mode.high":"Contraste eleve","feature.contrast":"Contraste","feature.textSize":"Texte plus grand","feature.keyboardNav":"Navigation clavier","feature.focusHighlight":"Mise en evidence du focus","feature.linkHighlight":"Mettre les liens en evidence","feature.animationStop":"Arreter les animations","feature.readingGuide":"Guide de lecture","feature.readingMask":"Masque de lecture","feature.hideImages":"Masquer les images","feature.bigCursor":"Grand curseur","feature.pageStructure":"Structure de page","feature.tts":"Lecture audio","feature.textSimplify":"Simplifier le texte","feature.altText":"Description d'image","feature.autoScan":"Analyse WCAG","section.profiles":"Profils rapides","profile.visionImpaired":"Déficience visuelle","profile.visionImpaired.desc":"Contraste élevé, texte et curseur plus grands","profile.motorImpaired":"Déficience motrice","profile.motorImpaired.desc":"Navigation au clavier et aides à la mise au point","profile.cognitive":"Soutien cognitif","profile.cognitive.desc":"Aides à la lecture, espacement et polices simplifiées","profile.seizureSafe":"Protection contre les crises","profile.seizureSafe.desc":"Arrêter les animations et réduire les stimuli","profile.adhdFriendly":"Adapté au TDAH","profile.adhdFriendly.desc":"Réduire les distractions et améliorer la concentration"}),ar:rr({"widget.widgetLang":"لغة الأداة","widget.title":"إمكانية الوصول","widget.subtitle":"اضبط التباين والنص والتنقل في هذه الصفحة","widget.open":"افتح إعدادات إمكانية الوصول","widget.close":"إغلاق","widget.reset":"إعادة ضبط الكل","widget.resetConfirm":"تمت إعادة ضبط جميع التعديلات","widget.poweredBy":"مدعوم بواسطة Accessify-Widget","widget.statement":"بيان إمكانية الوصول","widget.language":"اللغة","status.active":"{count} عناصر نشطة","status.noActive":"لا توجد تعديلات نشطة","status.activated":"مفعل","status.deactivated":"معطل","section.essentials":"الأكثر استخدامًا","section.essentials.desc":"ابدأ بالتباين وحجم النص ودعم لوحة المفاتيح.","section.support":"القراءة والتنقل","section.support.desc":"أدوات للتركيز وتقليل الحركة وبنية الصفحة.","section.ai":"مساعدة الذكاء الاصطناعي","section.ai.desc":"بسّط المحتوى وأنشئ نصًا بديلاً وافحص الصفحة الحالية.","control.mostUsed":"الأكثر استخدامًا","control.chooseMode":"اختر وضعًا","control.default":"افتراضي","contrast.mode.light":"تباين فاتح","contrast.mode.dark":"تباين داكن","contrast.mode.high":"تباين عالٍ","feature.contrast":"التباين","feature.textSize":"نص أكبر","feature.keyboardNav":"تنقل بلوحة المفاتيح","feature.focusHighlight":"إبراز التركيز","feature.linkHighlight":"إبراز الروابط","feature.animationStop":"إيقاف الرسوم المتحركة","feature.readingGuide":"دليل القراءة","feature.readingMask":"قناع القراءة","feature.hideImages":"إخفاء الصور","feature.bigCursor":"مؤشر كبير","feature.pageStructure":"بنية الصفحة","feature.tts":"القراءة بصوت عالٍ","feature.textSimplify":"تبسيط النص","feature.altText":"وصف الصورة","feature.autoScan":"فحص WCAG","section.profiles":"ملفات تعريف سريعة","profile.visionImpaired":"ضعف البصر","profile.visionImpaired.desc":"تباين عالٍ، نص ومؤشر أكبر","profile.motorImpaired":"إعاقة حركية","profile.motorImpaired.desc":"التنقل بلوحة المفاتيح ومساعدات التركيز","profile.cognitive":"دعم إدراكي","profile.cognitive.desc":"مساعدات القراءة والتباعد وخطوط أبسط","profile.seizureSafe":"آمن من النوبات","profile.seizureSafe.desc":"إيقاف الرسوم المتحركة وتقليل المحفزات","profile.adhdFriendly":"ملائم لاضطراب فرط الحركة","profile.adhdFriendly.desc":"تقليل المشتتات وتحسين التركيز"}),bn:rr({"widget.title":"অ্যাক্সেসিবিলিটি","widget.subtitle":"এই পাতায় কনট্রাস্ট, টেক্সট এবং নেভিগেশন ঠিক করুন","widget.open":"অ্যাক্সেসিবিলিটি সেটিংস খুলুন","widget.close":"বন্ধ করুন","widget.reset":"সব রিসেট করুন","widget.resetConfirm":"সব পরিবর্তন রিসেট হয়েছে","widget.poweredBy":"Accessify-Widget দ্বারা চালিত","widget.statement":"অ্যাক্সেসিবিলিটি বিবৃতি","widget.language":"ভাষা","status.active":"{count} টি সক্রিয়","status.noActive":"কোনও সমন্বয় সক্রিয় নেই","status.activated":"সক্রিয়","status.deactivated":"নিষ্ক্রিয়","section.essentials":"সবচেয়ে ব্যবহৃত","section.essentials.desc":"কনট্রাস্ট, টেক্সট সাইজ এবং কিবোর্ড সহায়তা দিয়ে শুরু করুন।","section.support":"পড়া ও নেভিগেশন","section.support.desc":"ফোকাস, কম মুভমেন্ট এবং পেজ স্ট্রাকচারের টুল।","section.ai":"AI সহায়তা","section.ai.desc":"কনটেন্ট সহজ করুন, অল্ট টেক্সট তৈরি করুন এবং পেজ স্ক্যান করুন।","control.mostUsed":"সবচেয়ে ব্যবহৃত","control.chooseMode":"মোড বেছে নিন","control.default":"ডিফল্ট","contrast.mode.light":"লাইট কনট্রাস্ট","contrast.mode.dark":"ডার্ক কনট্রাস্ট","contrast.mode.high":"হাই কনট্রাস্ট","feature.contrast":"কনট্রাস্ট","feature.textSize":"বড় টেক্সট","feature.keyboardNav":"কিবোর্ড নেভিগেশন","feature.focusHighlight":"ফোকাস হাইলাইট","feature.linkHighlight":"লিংক হাইলাইট","feature.animationStop":"অ্যানিমেশন বন্ধ","feature.readingGuide":"রিডিং গাইড","feature.readingMask":"রিডিং মাস্ক","feature.hideImages":"ছবি লুকান","feature.bigCursor":"বড় কার্সর","feature.pageStructure":"পেজ স্ট্রাকচার","feature.tts":"জোরে পড়া","feature.textSimplify":"টেক্সট সহজ করুন","feature.altText":"ছবির বিবরণ","feature.autoScan":"WCAG স্ক্যান","section.profiles":"দ্রুত প্রোফাইল","profile.visionImpaired":"দৃষ্টি প্রতিবন্ধী","profile.visionImpaired.desc":"উচ্চ কনট্রাস্ট, বড় টেক্সট এবং কার্সর","profile.motorImpaired":"মোটর প্রতিবন্ধী","profile.motorImpaired.desc":"কীবোর্ড নেভিগেশন এবং ফোকাস সহায়তা","profile.cognitive":"জ্ঞানীয় সহায়তা","profile.cognitive.desc":"পড়ার সহায়তা, ব্যবধান এবং সরল ফন্ট","profile.seizureSafe":"খিঁচুনি নিরাপদ","profile.seizureSafe.desc":"অ্যানিমেশন বন্ধ করুন এবং উদ্দীপনা কমান","profile.adhdFriendly":"ADHD বান্ধব","profile.adhdFriendly.desc":"বিক্ষেপ কমান এবং মনোযোগ বাড়ান"}),pt:rr({"widget.widgetLang":"Idioma do widget","widget.title":"Acessibilidade","widget.subtitle":"Ajuste contraste, texto e navegacao nesta pagina","widget.open":"Abrir configuracoes de acessibilidade","widget.close":"Fechar","widget.reset":"Redefinir tudo","widget.resetConfirm":"Todos os ajustes foram redefinidos","widget.poweredBy":"Desenvolvido por Accessify-Widget","widget.statement":"Declaracao de acessibilidade","widget.language":"Idioma","status.active":"{count} ativas","status.noActive":"Nenhum ajuste ativo","status.activated":"ativado","status.deactivated":"desativado","section.essentials":"Mais usados","section.essentials.desc":"Comece com contraste, tamanho do texto e apoio ao teclado.","section.support":"Leitura e navegacao","section.support.desc":"Ferramentas para foco, menos movimento e estrutura da pagina.","section.ai":"Assistencia de IA","section.ai.desc":"Simplifique conteudo, gere texto alternativo e analise a pagina atual.","control.mostUsed":"Mais usados","control.chooseMode":"Escolher modo","control.default":"Padrao","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste escuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto maior","feature.keyboardNav":"Navegacao por teclado","feature.focusHighlight":"Destaque de foco","feature.linkHighlight":"Destacar links","feature.animationStop":"Parar animacoes","feature.readingGuide":"Guia de leitura","feature.readingMask":"Mascara de leitura","feature.hideImages":"Ocultar imagens","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estrutura da pagina","feature.tts":"Leitura em voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descricao da imagem","feature.autoScan":"Varredura WCAG","section.profiles":"Perfis rápidos","profile.visionImpaired":"Deficiência visual","profile.visionImpaired.desc":"Alto contraste, texto e cursor maiores","profile.motorImpaired":"Deficiência motora","profile.motorImpaired.desc":"Navegação por teclado e auxílios de foco","profile.cognitive":"Suporte cognitivo","profile.cognitive.desc":"Auxílios de leitura, espaçamento e fontes simplificadas","profile.seizureSafe":"Seguro para convulsões","profile.seizureSafe.desc":"Parar animações e reduzir estímulos","profile.adhdFriendly":"Adequado para TDAH","profile.adhdFriendly.desc":"Reduzir distrações e melhorar o foco"}),ru:rr({"widget.widgetLang":"Язык виджета","widget.title":"Доступность","widget.subtitle":"Настройте контраст, текст и навигацию на этой странице","widget.open":"Открыть настройки доступности","widget.close":"Закрыть","widget.reset":"Сбросить все","widget.resetConfirm":"Все настройки сброшены","widget.poweredBy":"Работает на Accessify-Widget","widget.statement":"Заявление о доступности","widget.language":"Язык","status.active":"Активно: {count}","status.noActive":"Нет активных настроек","status.activated":"включено","status.deactivated":"выключено","section.essentials":"Самое используемое","section.essentials.desc":"Начните с контраста, размера текста и поддержки клавиатуры.","section.support":"Чтение и навигация","section.support.desc":"Инструменты для фокуса, уменьшения движения и структуры страницы.","section.ai":"Помощь ИИ","section.ai.desc":"Упрощайте текст, создавайте alt-текст и проверяйте текущую страницу.","control.mostUsed":"Популярное","control.chooseMode":"Выберите режим","control.default":"По умолчанию","contrast.mode.light":"Светлый контраст","contrast.mode.dark":"Темный контраст","contrast.mode.high":"Высокий контраст","feature.contrast":"Контраст","feature.textSize":"Крупный текст","feature.keyboardNav":"Навигация с клавиатуры","feature.focusHighlight":"Подсветка фокуса","feature.linkHighlight":"Выделить ссылки","feature.animationStop":"Остановить анимацию","feature.readingGuide":"Линейка для чтения","feature.readingMask":"Маска чтения","feature.hideImages":"Скрыть изображения","feature.bigCursor":"Большой курсор","feature.pageStructure":"Структура страницы","feature.tts":"Озвучивание","feature.textSimplify":"Упростить текст","feature.altText":"Описание изображения","feature.autoScan":"Проверка WCAG","section.profiles":"Быстрые профили","profile.visionImpaired":"Нарушение зрения","profile.visionImpaired.desc":"Высокий контраст, увеличенный текст и курсор","profile.motorImpaired":"Нарушение моторики","profile.motorImpaired.desc":"Навигация с клавиатуры и помощь с фокусом","profile.cognitive":"Когнитивная поддержка","profile.cognitive.desc":"Помощь при чтении, интервалы и упрощённые шрифты","profile.seizureSafe":"Защита от припадков","profile.seizureSafe.desc":"Остановить анимации и уменьшить раздражители","profile.adhdFriendly":"Подходит при СДВГ","profile.adhdFriendly.desc":"Уменьшить отвлечения и улучшить концентрацию"}),ur:rr({"widget.title":"رسائی","widget.subtitle":"اس صفحے پر کنٹراسٹ، متن اور نیویگیشن کو ایڈجسٹ کریں","widget.open":"رسائی کی ترتیبات کھولیں","widget.close":"بند کریں","widget.reset":"سب ری سیٹ کریں","widget.resetConfirm":"تمام تبدیلیاں ری سیٹ ہو گئیں","widget.poweredBy":"Accessify-Widget کے ذریعے","widget.statement":"رسائی کا بیان","widget.language":"زبان","status.active":"{count} فعال","status.noActive":"کوئی تبدیلی فعال نہیں","status.activated":"فعال","status.deactivated":"غیر فعال","section.essentials":"سب سے زیادہ استعمال","section.essentials.desc":"کنٹراسٹ، متن کے سائز اور کی بورڈ مدد سے شروع کریں۔","section.support":"مطالعہ اور نیویگیشن","section.support.desc":"فوکس، کم حرکت اور صفحہ ساخت کے لیے ٹولز۔","section.ai":"AI مدد","section.ai.desc":"مواد آسان کریں، آلٹ ٹیکسٹ بنائیں اور موجودہ صفحہ اسکین کریں۔","control.mostUsed":"زیادہ استعمال","control.chooseMode":"موڈ منتخب کریں","control.default":"ڈیفالٹ","contrast.mode.light":"لائٹ کنٹراسٹ","contrast.mode.dark":"ڈارک کنٹراسٹ","contrast.mode.high":"ہائی کنٹراسٹ","feature.contrast":"کنٹراسٹ","feature.textSize":"بڑا متن","feature.keyboardNav":"کی بورڈ نیویگیشن","feature.focusHighlight":"فوکس ہائی لائٹ","feature.linkHighlight":"لنکس نمایاں کریں","feature.animationStop":"اینیمیشن روکیں","feature.readingGuide":"مطالعہ گائیڈ","feature.readingMask":"مطالعہ ماسک","feature.hideImages":"تصاویر چھپائیں","feature.bigCursor":"بڑا کرسر","feature.pageStructure":"صفحہ ساخت","feature.tts":"بلند آواز میں پڑھیں","feature.textSimplify":"متن آسان کریں","feature.altText":"تصویر کی تفصیل","feature.autoScan":"WCAG اسکین","section.profiles":"فوری پروفائلز","profile.visionImpaired":"بصارت سے محروم","profile.visionImpaired.desc":"اعلیٰ کنٹراسٹ، بڑا متن اور کرسر","profile.motorImpaired":"حرکی معذوری","profile.motorImpaired.desc":"کی بورڈ نیویگیشن اور فوکس معاونت","profile.cognitive":"ادراکی معاونت","profile.cognitive.desc":"پڑھنے میں مدد، فاصلہ اور آسان فونٹس","profile.seizureSafe":"دورے سے محفوظ","profile.seizureSafe.desc":"اینیمیشنز بند کریں اور محرکات کم کریں","profile.adhdFriendly":"ADHD کے لیے موزوں","profile.adhdFriendly.desc":"خلفشار کم کریں اور توجہ بہتر بنائیں"}),id:rr({"widget.title":"Aksesibilitas","widget.subtitle":"Atur kontras, teks, dan navigasi di halaman ini","widget.open":"Buka pengaturan aksesibilitas","widget.close":"Tutup","widget.reset":"Reset semua","widget.resetConfirm":"Semua penyesuaian telah direset","widget.poweredBy":"Didukung oleh Accessify-Widget","widget.statement":"Pernyataan aksesibilitas","widget.language":"Bahasa","status.active":"{count} aktif","status.noActive":"Tidak ada penyesuaian aktif","status.activated":"aktif","status.deactivated":"nonaktif","section.essentials":"Paling sering dipakai","section.essentials.desc":"Mulai dari kontras, ukuran teks, dan dukungan keyboard.","section.support":"Membaca dan navigasi","section.support.desc":"Alat untuk fokus, gerakan rendah, dan struktur halaman.","section.ai":"Bantuan AI","section.ai.desc":"Sederhanakan konten, buat alt text, dan pindai halaman saat ini.","control.mostUsed":"Paling sering","control.chooseMode":"Pilih mode","control.default":"Default","contrast.mode.light":"Kontras terang","contrast.mode.dark":"Kontras gelap","contrast.mode.high":"Kontras tinggi","feature.contrast":"Kontras","feature.textSize":"Teks lebih besar","feature.keyboardNav":"Navigasi keyboard","feature.focusHighlight":"Sorot fokus","feature.linkHighlight":"Sorot tautan","feature.animationStop":"Hentikan animasi","feature.readingGuide":"Panduan baca","feature.readingMask":"Masker baca","feature.hideImages":"Sembunyikan gambar","feature.bigCursor":"Kursor besar","feature.pageStructure":"Struktur halaman","feature.tts":"Bacakan","feature.textSimplify":"Sederhanakan teks","feature.altText":"Deskripsi gambar","feature.autoScan":"Pindai WCAG","section.profiles":"Profil Cepat","profile.visionImpaired":"Gangguan Penglihatan","profile.visionImpaired.desc":"Kontras tinggi, teks dan kursor lebih besar","profile.motorImpaired":"Gangguan Motorik","profile.motorImpaired.desc":"Navigasi keyboard dan bantuan fokus","profile.cognitive":"Dukungan Kognitif","profile.cognitive.desc":"Bantuan membaca, spasi, dan font yang lebih sederhana","profile.seizureSafe":"Aman dari Kejang","profile.seizureSafe.desc":"Hentikan animasi dan kurangi rangsangan","profile.adhdFriendly":"Ramah ADHD","profile.adhdFriendly.desc":"Kurangi gangguan dan tingkatkan fokus"}),ja:rr({"widget.widgetLang":"ウィジェットの言語","widget.title":"アクセシビリティ","widget.subtitle":"このページのコントラスト、文字、ナビゲーションを調整します","widget.open":"アクセシビリティ設定を開く","widget.close":"閉じる","widget.reset":"すべてリセット","widget.resetConfirm":"すべての調整をリセットしました","widget.poweredBy":"Accessify-Widget 提供","widget.statement":"アクセシビリティ宣言","widget.language":"言語","status.active":"{count} 件が有効","status.noActive":"有効な調整はありません","status.activated":"有効","status.deactivated":"無効","section.essentials":"よく使う設定","section.essentials.desc":"まずはコントラスト、文字サイズ、キーボード支援から始めてください。","section.support":"読みやすさとナビゲーション","section.support.desc":"フォーカス、動きの抑制、ページ構造のためのツールです。","section.ai":"AI 支援","section.ai.desc":"文章を簡単にし、代替テキストを生成し、現在のページを確認します。","control.mostUsed":"よく使う","control.chooseMode":"モードを選択","control.default":"標準","contrast.mode.light":"ライトコントラスト","contrast.mode.dark":"ダークコントラスト","contrast.mode.high":"ハイコントラスト","feature.contrast":"コントラスト","feature.textSize":"大きな文字","feature.keyboardNav":"キーボード操作","feature.focusHighlight":"フォーカス強調","feature.linkHighlight":"リンク強調","feature.animationStop":"アニメーション停止","feature.readingGuide":"読書ガイド","feature.readingMask":"読書マスク","feature.hideImages":"画像を隠す","feature.bigCursor":"大きいカーソル","feature.pageStructure":"ページ構造","feature.tts":"読み上げ","feature.textSimplify":"文章を簡単にする","feature.altText":"画像の説明","feature.autoScan":"WCAG スキャン","section.profiles":"クイックプロフィール","profile.visionImpaired":"視覚障害","profile.visionImpaired.desc":"高コントラスト、大きな文字とカーソル","profile.motorImpaired":"運動障害","profile.motorImpaired.desc":"キーボードナビゲーションとフォーカス補助","profile.cognitive":"認知サポート","profile.cognitive.desc":"読書支援、間隔調整、シンプルなフォント","profile.seizureSafe":"発作防止","profile.seizureSafe.desc":"アニメーションを停止し刺激を軽減","profile.adhdFriendly":"ADHD対応","profile.adhdFriendly.desc":"気が散る要素を減らし集中力を向上"}),pcm:rr({"widget.title":"Accessibility","widget.subtitle":"Adjust contrast, text and navigation for dis page","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments don reset","widget.poweredBy":"Powered by Accessify-Widget","widget.statement":"Accessibility statement","widget.language":"Language","status.active":"{count} active","status.noActive":"No adjustment dey active","status.activated":"activated","status.deactivated":"deactivated","section.essentials":"Wetin people use pass","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI help","section.ai.desc":"Simplify content, generate alt text and scan dis page.","control.mostUsed":"Most used","control.chooseMode":"Choose mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","feature.contrast":"Contrast","feature.textSize":"Bigger text","feature.keyboardNav":"Keyboard navigation","feature.focusHighlight":"Focus highlight","feature.linkHighlight":"Highlight links","feature.animationStop":"Stop animations","feature.readingGuide":"Reading guide","feature.readingMask":"Reading mask","feature.hideImages":"Hide images","feature.bigCursor":"Big cursor","feature.pageStructure":"Page structure","feature.tts":"Read aloud","feature.textSimplify":"Simplify text","feature.altText":"Image Description","feature.autoScan":"WCAG scan","section.profiles":"Quick Profiles","profile.visionImpaired":"Eye No Dey See Well","profile.visionImpaired.desc":"High contrast, big text and cursor","profile.motorImpaired":"Body Movement Wahala","profile.motorImpaired.desc":"Keyboard navigation and focus help","profile.cognitive":"Brain Support","profile.cognitive.desc":"Reading help, spacing, and simple fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animation and reduce wahala for eye","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distraction and help you focus well"}),mr:rr({"widget.title":"प्रवेशयोग्यता","widget.subtitle":"या पानावर कॉन्ट्रास्ट, मजकूर आणि नेव्हिगेशन समायोजित करा","widget.open":"प्रवेशयोग्यता सेटिंग्ज उघडा","widget.close":"बंद करा","widget.reset":"सर्व रीसेट करा","widget.resetConfirm":"सर्व बदल रीसेट झाले","widget.poweredBy":"Accessify-Widget द्वारे समर्थित","widget.statement":"प्रवेशयोग्यता निवेदन","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोणतेही बदल सक्रिय नाहीत","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सर्वात जास्त वापरलेले","section.essentials.desc":"कॉन्ट्रास्ट, मजकूर आकार आणि कीबोर्ड सहाय्यापासून सुरुवात करा.","section.support":"वाचन आणि नेव्हिगेशन","section.support.desc":"फोकस, कमी हालचाल आणि पृष्ठरचना यासाठी साधने.","section.ai":"AI मदत","section.ai.desc":"मजकूर सोपा करा, alt-text तयार करा आणि हे पान स्कॅन करा.","control.mostUsed":"सर्वाधिक वापरलेले","control.chooseMode":"मोड निवडा","control.default":"डीफॉल्ट","contrast.mode.light":"लाईट कॉन्ट्रास्ट","contrast.mode.dark":"डार्क कॉन्ट्रास्ट","contrast.mode.high":"हाय कॉन्ट्रास्ट","feature.contrast":"कॉन्ट्रास्ट","feature.textSize":"मोठा मजकूर","feature.keyboardNav":"कीबोर्ड नेव्हिगेशन","feature.focusHighlight":"फोकस हायलाइट","feature.linkHighlight":"लिंक हायलाइट","feature.animationStop":"अॅनिमेशन थांबवा","feature.readingGuide":"वाचन मार्गदर्शक","feature.readingMask":"वाचन मास्क","feature.hideImages":"प्रतिमा लपवा","feature.bigCursor":"मोठा कर्सर","feature.pageStructure":"पृष्ठरचना","feature.tts":"मोठ्याने वाचा","feature.textSimplify":"मजकूर सोपा करा","feature.altText":"चित्र वर्णन","feature.autoScan":"WCAG स्कॅन","section.profiles":"जलद प्रोफाइल","profile.visionImpaired":"दृष्टिदोष","profile.visionImpaired.desc":"उच्च कॉन्ट्रास्ट, मोठा मजकूर आणि कर्सर","profile.motorImpaired":"मोटर अक्षमता","profile.motorImpaired.desc":"कीबोर्ड नेव्हिगेशन आणि फोकस सहाय्य","profile.cognitive":"संज्ञानात्मक सहाय्य","profile.cognitive.desc":"वाचन सहाय्य, अंतर आणि सोपे फॉन्ट","profile.seizureSafe":"झटके सुरक्षित","profile.seizureSafe.desc":"अॅनिमेशन थांबवा आणि उत्तेजना कमी करा","profile.adhdFriendly":"ADHD अनुकूल","profile.adhdFriendly.desc":"विचलन कमी करा आणि लक्ष सुधारा"}),te:rr({"widget.title":"అందుబాటు","widget.subtitle":"ఈ పేజీలో కాంట్రాస్ట్, టెక్స్ట్ మరియు నావిగేషన్ను సర్దుబాటు చేయండి","widget.open":"అందుబాటు సెట్టింగ్స్ తెరువు","widget.close":"మూసివేయి","widget.reset":"అన్నీ రీసెట్ చేయి","widget.resetConfirm":"అన్ని మార్పులు రీసెట్ అయ్యాయి","widget.poweredBy":"Accessify-Widget ద్వారా","widget.statement":"అందుబాటు ప్రకటన","widget.language":"భాష","status.active":"{count} సక్రియం","status.noActive":"ఏ మార్పూ సక్రియంగా లేదు","status.activated":"సక్రియం","status.deactivated":"నిష్క్రియం","section.essentials":"ఎక్కువగా ఉపయోగించేవి","section.essentials.desc":"కాంట్రాస్ట్, టెక్స్ట్ సైజు మరియు కీబోర్డ్ సహాయంతో మొదలుపెట్టండి.","section.support":"చదువు మరియు నావిగేషన్","section.support.desc":"ఫోకస్, తక్కువ మోషన్ మరియు పేజీ నిర్మాణానికి టూల్స్.","section.ai":"AI సహాయం","section.ai.desc":"కంటెంట్ను సులభతరం చేయండి, alt-text తయారు చేయండి, ఈ పేజీని స్కాన్ చేయండి.","control.mostUsed":"ఎక్కువ ఉపయోగం","control.chooseMode":"మోడ్ ఎంచుకోండి","control.default":"డిఫాల్ట్","contrast.mode.light":"లైట్ కాంట్రాస్ట్","contrast.mode.dark":"డార్క్ కాంట్రాస్ట్","contrast.mode.high":"హై కాంట్రాస్ట్","feature.contrast":"కాంట్రాస్ట్","feature.textSize":"పెద్ద టెక్స్ట్","feature.keyboardNav":"కీబోర్డ్ నావిగేషన్","feature.focusHighlight":"ఫోకస్ హైలైట్","feature.linkHighlight":"లింక్ హైలైట్","feature.animationStop":"యానిమేషన్స్ ఆపండి","feature.readingGuide":"రీడింగ్ గైడ్","feature.readingMask":"రీడింగ్ మాస్క్","feature.hideImages":"చిత్రాలు దాచు","feature.bigCursor":"పెద్ద కర్సర్","feature.pageStructure":"పేజీ నిర్మాణం","feature.tts":"గట్టిగా చదవండి","feature.textSimplify":"టెక్స్ట్ సులభతరం చేయి","feature.altText":"చిత్ర వివరణ","feature.autoScan":"WCAG స్కాన్","section.profiles":"త్వరిత ప్రొఫైల్లు","profile.visionImpaired":"దృష్టి లోపం","profile.visionImpaired.desc":"అధిక కాంట్రాస్ట్, పెద్ద టెక్స్ట్ మరియు కర్సర్","profile.motorImpaired":"మోటార్ లోపం","profile.motorImpaired.desc":"కీబోర్డ్ నావిగేషన్ మరియు ఫోకస్ సహాయాలు","profile.cognitive":"అభిజ్ఞా మద్దతు","profile.cognitive.desc":"చదవడంలో సహాయం, అంతరాలు మరియు సరళ ఫాంట్లు","profile.seizureSafe":"మూర్ఛ భద్రత","profile.seizureSafe.desc":"యానిమేషన్లను ఆపండి మరియు ఉద్దీపనలను తగ్గించండి","profile.adhdFriendly":"ADHD అనుకూలం","profile.adhdFriendly.desc":"పరధ్యానాన్ని తగ్గించండి మరియు దృష్టిని మెరుగుపరచండి"}),tr:rr({"widget.widgetLang":"Widget dili","widget.title":"Erisilebilirlik","widget.subtitle":"Bu sayfada kontrast, metin ve gezinmeyi ayarlayin","widget.open":"Erisilebilirlik ayarlarini ac","widget.close":"Kapat","widget.reset":"Tumunu sifirla","widget.resetConfirm":"Tum ayarlar sifirlandi","widget.poweredBy":"Accessify-Widget ile calisir","widget.statement":"Erisilebilirlik bildirimi","widget.language":"Dil","status.active":"{count} etkin","status.noActive":"Etkin ayar yok","status.activated":"etkin","status.deactivated":"devre disi","section.essentials":"En cok kullanilanlar","section.essentials.desc":"Kontrast, yazi boyutu ve klavye destegi ile baslayin.","section.support":"Okuma ve gezinme","section.support.desc":"Odak, azaltulmis hareket ve sayfa yapisi icin araclar.","section.ai":"YZ yardimi","section.ai.desc":"Icerigi sadeletir, alt metin olusturur ve mevcut sayfayi tarar.","control.mostUsed":"En cok kullanilan","control.chooseMode":"Mod sec","control.default":"Varsayilan","contrast.mode.light":"Acik kontrast","contrast.mode.dark":"Koyu kontrast","contrast.mode.high":"Yuksek kontrast","feature.contrast":"Kontrast","feature.textSize":"Buyuk metin","feature.keyboardNav":"Klavye gezintisi","feature.focusHighlight":"Odak vurgusu","feature.linkHighlight":"Baglantilari vurgula","feature.animationStop":"Animasyonlari durdur","feature.readingGuide":"Okuma kilavuzu","feature.readingMask":"Okuma maskesi","feature.hideImages":"Gorselleri gizle","feature.bigCursor":"Buyuk imlec","feature.pageStructure":"Sayfa yapisi","feature.tts":"Sesli oku","feature.textSimplify":"Metni sadeletir","feature.altText":"Resim aciklamasi","feature.autoScan":"WCAG taramasi","section.profiles":"Hizli Profiller","profile.visionImpaired":"Gorme Engelli","profile.visionImpaired.desc":"Yuksek kontrast, buyuk yazi ve imlec","profile.motorImpaired":"Motor Engelli","profile.motorImpaired.desc":"Klavye gezinme ve odaklanma yardimlari","profile.cognitive":"Bilissel Destek","profile.cognitive.desc":"Okuma yardimlari, bosluk ve basit yazitipleri","profile.seizureSafe":"Nobetlere Karsi Guvenli","profile.seizureSafe.desc":"Animasyonlari durdurun ve uyaranlari azaltin","profile.adhdFriendly":"DEHB Dostu","profile.adhdFriendly.desc":"Dikkat dagitici unsurlari azaltin ve odaklanmayi artirin"}),ta:rr({"widget.title":"அணுகல்திறன்","widget.subtitle":"இந்த பக்கத்தில் எதிரொலி, உரை மற்றும் வழிசெலுத்தலை மாற்றுங்கள்","widget.open":"அணுகல்திறன் அமைப்புகளை திறக்கவும்","widget.close":"மூடு","widget.reset":"அனைத்தையும் மீட்டமை","widget.resetConfirm":"அனைத்து மாற்றங்களும் மீட்டமைக்கப்பட்டன","widget.poweredBy":"Accessify-Widget மூலம்","widget.statement":"அணுகல்திறன் அறிக்கை","widget.language":"மொழி","status.active":"{count} செயலில்","status.noActive":"செயலில் மாற்றங்கள் இல்லை","status.activated":"செயலில்","status.deactivated":"செயலற்றது","section.essentials":"அதிகம் பயன்படுத்தப்படும்","section.essentials.desc":"எதிரொலி, எழுத்து அளவு மற்றும் விசைப்பலகை உதவியுடன் தொடங்குங்கள்.","section.support":"வாசிப்பு மற்றும் வழிசெலுத்தல்","section.support.desc":"கவனம், குறைந்த இயக்கம் மற்றும் பக்க அமைப்புக்கான கருவிகள்.","section.ai":"AI உதவி","section.ai.desc":"உள்ளடக்கத்தை எளிமைப்படுத்தி, alt-text உருவாக்கி, இந்த பக்கத்தை ஸ்கேன் செய்யுங்கள்.","control.mostUsed":"அதிகம் பயன்படுத்தப்படும்","control.chooseMode":"முறையை தேர்வு செய்","control.default":"இயல்புநிலை","contrast.mode.light":"ஒளி எதிரொலி","contrast.mode.dark":"இருண்ட எதிரொலி","contrast.mode.high":"உயர் எதிரொலி","feature.contrast":"எதிரொலி","feature.textSize":"பெரிய எழுத்து","feature.keyboardNav":"விசைப்பலகை வழிசெலுத்தல்","feature.focusHighlight":"கவனத்தை வெளிப்படுத்து","feature.linkHighlight":"இணைப்புகளை வெளிப்படுத்து","feature.animationStop":"அனிமேஷனை நிறுத்து","feature.readingGuide":"வாசிப்பு வழிகாட்டி","feature.readingMask":"வாசிப்பு மறைப்பு","feature.hideImages":"படங்களை மறை","feature.bigCursor":"பெரிய கர்சர்","feature.pageStructure":"பக்க அமைப்பு","feature.tts":"சத்தமாக வாசி","feature.textSimplify":"உரையை எளிமைப்படுத்து","feature.altText":"பட விளக்கம்","feature.autoScan":"WCAG ஸ்கேன்","section.profiles":"விரைவு சுயவிவரங்கள்","profile.visionImpaired":"பார்வை குறைபாடு","profile.visionImpaired.desc":"அதிக மாறுபாடு, பெரிய உரை மற்றும் கர்சர்","profile.motorImpaired":"இயக்க குறைபாடு","profile.motorImpaired.desc":"விசைப்பலகை வழிசெலுத்தல் மற்றும் கவன உதவிகள்","profile.cognitive":"அறிவாற்றல் ஆதரவு","profile.cognitive.desc":"வாசிப்பு உதவிகள், இடைவெளி மற்றும் எளிய எழுத்துருக்கள்","profile.seizureSafe":"வலிப்பு பாதுகாப்பு","profile.seizureSafe.desc":"அனிமேஷன்களை நிறுத்தி தூண்டுதல்களைக் குறைக்கவும்","profile.adhdFriendly":"ADHD நட்பு","profile.adhdFriendly.desc":"கவனச்சிதறல்களைக் குறைத்து கவனத்தை மேம்படுத்தவும்"}),vi:rr({"widget.title":"Tro nang truy cap","widget.subtitle":"Dieu chinh tuong phan, van ban va dieu huong tren trang nay","widget.open":"Mo cai dat tro nang truy cap","widget.close":"Dong","widget.reset":"Dat lai tat ca","widget.resetConfirm":"Da dat lai moi dieu chinh","widget.poweredBy":"Van hanh boi Accessify-Widget","widget.statement":"Tuyen bo tro nang truy cap","widget.language":"Ngon ngu","status.active":"{count} muc dang bat","status.noActive":"Khong co dieu chinh nao dang bat","status.activated":"da bat","status.deactivated":"da tat","section.essentials":"Dung nhieu nhat","section.essentials.desc":"Bat dau voi tuong phan, co chu va ho tro ban phim.","section.support":"Doc va dieu huong","section.support.desc":"Cong cu cho tap trung, giam chuyen dong va cau truc trang.","section.ai":"Ho tro AI","section.ai.desc":"Don gian hoa noi dung, tao alt-text va quet trang hien tai.","control.mostUsed":"Pho bien","control.chooseMode":"Chon che do","control.default":"Mac dinh","contrast.mode.light":"Tuong phan sang","contrast.mode.dark":"Tuong phan toi","contrast.mode.high":"Tuong phan cao","feature.contrast":"Tuong phan","feature.textSize":"Chu lon hon","feature.keyboardNav":"Dieu huong ban phim","feature.focusHighlight":"Noi bat tieu diem","feature.linkHighlight":"Noi bat lien ket","feature.animationStop":"Dung hieu ung","feature.readingGuide":"Thuoc doc","feature.readingMask":"Mat na doc","feature.hideImages":"An hinh anh","feature.bigCursor":"Con tro lon","feature.pageStructure":"Cau truc trang","feature.tts":"Doc thanh tieng","feature.textSimplify":"Don gian hoa van ban","feature.altText":"Mo ta hinh anh","feature.autoScan":"Quet WCAG","section.profiles":"Hồ sơ nhanh","profile.visionImpaired":"Khiếm thị","profile.visionImpaired.desc":"Tương phản cao, chữ và con trỏ lớn hơn","profile.motorImpaired":"Khuyết tật vận động","profile.motorImpaired.desc":"Điều hướng bàn phím và hỗ trợ tiêu điểm","profile.cognitive":"Hỗ trợ nhận thức","profile.cognitive.desc":"Hỗ trợ đọc, giãn cách và phông chữ đơn giản","profile.seizureSafe":"An toàn co giật","profile.seizureSafe.desc":"Dừng hoạt ảnh và giảm kích thích","profile.adhdFriendly":"Thân thiện ADHD","profile.adhdFriendly.desc":"Giảm phiền nhiễu và cải thiện sự tập trung"}),ko:rr({"widget.widgetLang":"위젯 언어","widget.title":"접근성","widget.subtitle":"이 페이지의 대비, 텍스트, 내비게이션을 조정하세요","widget.open":"접근성 설정 열기","widget.close":"닫기","widget.reset":"모두 재설정","widget.resetConfirm":"모든 조정이 재설정되었습니다","widget.poweredBy":"Accessify-Widget 제공","widget.statement":"접근성 안내문","widget.language":"언어","status.active":"{count}개 활성","status.noActive":"활성화된 조정이 없습니다","status.activated":"활성화됨","status.deactivated":"비활성화됨","section.essentials":"가장 많이 사용됨","section.essentials.desc":"대비, 글자 크기, 키보드 지원부터 시작하세요.","section.support":"읽기 및 내비게이션","section.support.desc":"초점, 움직임 감소, 페이지 구조를 위한 도구입니다.","section.ai":"AI 지원","section.ai.desc":"콘텐츠를 쉽게 만들고 대체 텍스트를 생성하며 현재 페이지를 검사합니다.","control.mostUsed":"가장 많이 사용됨","control.chooseMode":"모드 선택","control.default":"기본값","contrast.mode.light":"라이트 대비","contrast.mode.dark":"다크 대비","contrast.mode.high":"고대비","feature.contrast":"대비","feature.textSize":"큰 글자","feature.keyboardNav":"키보드 내비게이션","feature.focusHighlight":"포커스 강조","feature.linkHighlight":"링크 강조","feature.animationStop":"애니메이션 중지","feature.readingGuide":"읽기 가이드","feature.readingMask":"읽기 마스크","feature.hideImages":"이미지 숨기기","feature.bigCursor":"큰 커서","feature.pageStructure":"페이지 구조","feature.tts":"소리 내어 읽기","feature.textSimplify":"텍스트 단순화","feature.altText":"이미지 설명","feature.autoScan":"WCAG 검사","section.profiles":"빠른 프로필","profile.visionImpaired":"시각 장애","profile.visionImpaired.desc":"고대비, 큰 텍스트 및 커서","profile.motorImpaired":"운동 장애","profile.motorImpaired.desc":"키보드 탐색 및 포커스 지원","profile.cognitive":"인지 지원","profile.cognitive.desc":"읽기 지원, 간격 조정 및 간단한 글꼴","profile.seizureSafe":"발작 방지","profile.seizureSafe.desc":"애니메이션 중지 및 자극 감소","profile.adhdFriendly":"ADHD 친화적","profile.adhdFriendly.desc":"방해 요소를 줄이고 집중력 향상"})},or=[{code:"de",label:"Deutsch",flag:"🇩🇪"},{code:"en",label:"English",flag:"🇺🇸"},{code:"es",label:"Español",flag:"🇪🇸"},{code:"fr",label:"Français",flag:"🇫🇷"},{code:"pt",label:"Português",flag:"🇧🇷"},{code:"tr",label:"Türkçe",flag:"🇹🇷"},{code:"ar",label:"العربية",flag:"🇸🇦"},{code:"zh",label:"中文",flag:"🇨🇳"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"ru",label:"Русский",flag:"🇷🇺"}],sr=new Set(["ar","ur"]);let cr="en";function lr(e){if(!e)return"en";const t=e.toLowerCase();if(ar[t])return t;const n=t.split("-")[0];return ar[n]?n:"en"}function dr(){return cr}function ur(e){return sr.has(lr(e))}function fr(e,t="en"){const n=lr(t);return ar[n]?.[e]||ir[e]||e}var pr=bi("<button></button>"),hr=bi('<header class="accessify-header"><div class="accessify-header-left"><span class="accessify-logo" aria-label="Accessify"><svg viewBox="0 0 480 80" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><text x="0" y="64" font-family="-apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif" font-size="72" font-weight="700" letter-spacing="-2">accessify</text></svg></span></div> <div class="accessify-header-actions"><button class="accessify-header-btn accessify-drag-handle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="8" y1="6" x2="8" y2="6.01"></line><line x1="16" y1="6" x2="16" y2="6.01"></line><line x1="8" y1="12" x2="8" y2="12.01"></line><line x1="16" y1="12" x2="16" y2="12.01"></line><line x1="8" y1="18" x2="8" y2="18.01"></line><line x1="16" y1="18" x2="16" y2="18.01"></line></svg></button> <button class="accessify-header-btn"></button> <button class="accessify-header-btn accessify-header-btn--icon accessify-header-btn--close"></button></div></header>');pi(["click"]);const gr=[{id:"vision-impaired",nameKey:"profile.visionImpaired",descKey:"profile.visionImpaired.desc",iconId:"eye",features:["contrast","text-size","big-cursor","link-highlight"],featureSettings:{"text-size":150,contrast:"high"}},{id:"motor-impaired",nameKey:"profile.motorImpaired",descKey:"profile.motorImpaired.desc",iconId:"keyboard",features:["keyboard-nav","big-cursor","link-highlight"]},{id:"cognitive",nameKey:"profile.cognitive",descKey:"profile.cognitive.desc",iconId:"brain",features:["reading-guide","text-size","animation-stop","tts"],featureSettings:{"text-size":130}},{id:"seizure-safe",nameKey:"profile.seizureSafe",descKey:"profile.seizureSafe.desc",iconId:"shield",features:["animation-stop","hide-images"]},{id:"adhd-friendly",nameKey:"profile.adhdFriendly",descKey:"profile.adhdFriendly.desc",iconId:"focus",features:["animation-stop","reading-mask","hide-images"]}];var mr=xi('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),vr=bi('<button class="accessify-accordion-option"><span class="accessify-accordion-option-left"><span class="accessify-accordion-option-icon" aria-hidden="true"></span> <span class="accessify-accordion-option-text"><span class="accessify-accordion-option-name"> </span> <span class="accessify-accordion-option-desc"> </span></span></span> <!></button>'),yr=bi('<div class="accessify-accordion" role="region"><button class="accessify-accordion-toggle"><span class="accessify-accordion-toggle-left"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 8v4l2 2"></path></svg> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <div class="accessify-accordion-list" role="group"></div></div>');pi(["click"]);const br="https://openrouter.ai/api/v1",wr="google/gemini-2.0-flash-001";function xr(e){const t=e.choices?.[0]?.message;if(t?.content&&"string"==typeof t.content)return t.content.trim();if(t?.reasoning&&"string"==typeof t.reasoning)return t.reasoning.trim();if(Array.isArray(t?.reasoning_details))for(const n of t.reasoning_details)if(n?.text)return n.text.trim();return""}function kr(e){const t={"Content-Type":"application/json",...e.apiKey?{Authorization:`Bearer ${e.apiKey}`}:{},"HTTP-Referer":"undefined"!=typeof window?window.location.origin:"","X-Title":"Accessify Widget"};return{async simplifyText(n,i="einfache",r="de"){const a=r.startsWith("de")?function(e){return"leichte"===e?"Du bist ein Experte für Leichte Sprache (DIN SPEC 33429). Vereinfache den folgenden Text nach diesen Regeln:\n- Benutze kurze Sätze (maximal 8 Wörter pro Satz)\n- Ein Satz pro Zeile\n- Benutze einfache, bekannte Wörter\n- Erkläre Fremdwörter und Fachbegriffe\n- Benutze aktive Sätze (kein Passiv)\n- Benutze keine Abkürzungen\n- Benutze keine Metaphern oder bildliche Sprache\n- Schreibe in Präsens\n- Benutze positive Formulierungen\n- Zielgruppe: CEFR A1-A2\n\nSTRENGE REGELN — Verstoß = fehlerhaft:\n1. ALLE Personen-Namen MÜSSEN im vereinfachten Text vorkommen. Lösche NIEMALS einen Namen.\n2. Zitate: IMMER den vollen Namen des Sprechers behalten.\n3. Zahlen, Daten, Ergebnisse, Spielstände: Wort für Wort übernehmen.\n4. Eigennamen (Vereine, Orte, Firmen): exakt übernehmen.\n5. Erfinde NICHTS dazu.\n\nGib NUR den vereinfachten Text zurück.":'Du bist ein Experte für Einfache Sprache (DIN ISO 24495-1). Vereinfache den folgenden Text:\n- Kurze, klare Sätze (maximal 15 Wörter)\n- Vermeide Fachbegriffe oder erkläre sie\n- Benutze aktive Formulierungen\n- Strukturiere den Text mit klaren Absätzen\n- Zielgruppe: CEFR B1-B2\n\nSTRENGE REGELN — Verstoß = fehlerhaft:\n1. ALLE Personen-Namen MÜSSEN im vereinfachten Text vorkommen. Wenn im Original "Simon Dornieden" steht, MUSS "Simon Dornieden" auch in der Ausgabe stehen. Lösche NIEMALS einen Namen.\n2. Zitate: IMMER den vollen Namen des Sprechers behalten (z.B. „Simon Dornieden sagt: …")\n3. Zahlen, Daten, Ergebnisse, Spielstände: Wort für Wort übernehmen, NICHT umformulieren\n4. Eigennamen (Vereine, Orte, Firmen): exakt übernehmen\n5. Adressen, Postleitzahlen: exakt übernehmen\n6. Bildunterschriften, Quellenangaben, Fotocredits: NICHT verändern\n7. Erfinde NICHTS dazu. Nur vorhandenen Inhalt in einfacherer Sprache wiedergeben.\n\nGib NUR den vereinfachten Text zurück.'}(i):"You are a plain language expert. Simplify the following text:\n- Use short, clear sentences (max 15 words)\n- Avoid jargon, explain technical terms\n- Use active voice\n- Target reading level: grade 6-8\n\nSTRICT RULES — violating any = incorrect output:\n1. ALL person names MUST appear in the simplified text. NEVER delete a name.\n2. Quotes: ALWAYS keep the full speaker name.\n3. Numbers, dates, scores, results: copy verbatim.\n4. Proper nouns (teams, places, companies): copy exactly.\n5. Do NOT invent details.\n\nReturn ONLY the simplified text.",o=await fetch(`${br}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.textModel||"google/gemini-2.0-flash-001",messages:[{role:"system",content:a},{role:"user",content:n}],stream:!1,max_tokens:2e3})});if(!o.ok){if(429===o.status)throw new Sr("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return xr(await o.json())},async generateAltText(n,i,r){const a=r&&!r.startsWith("en")?` Generate the alt text in ${r} language.`:"",o=await fetch(`${br}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||wr,messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility.${a} ${i?"Context: "+i:""} Return ONLY the alt text, nothing else. Max 125 characters.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:300})});if(!o.ok){if(429===o.status)throw new Sr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return xr(await o.json())},async describeImage(n,i){const r=i&&i.startsWith("de")?" Beschreibe auf Deutsch.":"",a=await fetch(`${br}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||wr,messages:[{role:"user",content:[{type:"text",text:`Describe what is shown in this image. 2-3 sentences, easy to understand.${r} Return ONLY the description.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:500})});if(!a.ok){if(429===a.status)throw new Sr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${a.status}`)}return xr(await a.json())}}}class Sr extends Error{constructor(e){super(e),this.name="RateLimitError"}}var _r=bi('<span class="accessify-chip-check" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg></span>'),Ar=bi('<span class="accessify-chip-icon" aria-hidden="true"></span>'),Mr=bi('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),Er=bi('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),Cr=bi('<span class="accessify-chip-check" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg></span>'),Ir=bi('<span aria-hidden="true">A</span>'),Tr=bi('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),zr=bi('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),$r=bi('<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info" role="note"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg></span></div>'),Lr=bi('<div class="accessify-features"></div>'),Nr=bi('<!> <!> <div class="accessify-section-divider"></div> <!>',1);pi(["click"]);var Hr=bi('<span aria-hidden="true">·</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Pr=bi('<div class="accessify-footer"><div class="accessify-footer-links"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div> <button class="accessify-footer-close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg> <span> </span></button></div>');pi(["click"]);let Gr=[],Or=[],Br=null,Fr=!1,jr=null,Dr=!1,Wr=null,Kr="";const Rr=["aria-label","aria-description","placeholder","title","alt","aria-placeholder","aria-roledescription","aria-valuetext"];async function qr(e,t,n){const i=new URLSearchParams({client:"gtx",sl:t,tl:n,dt:"t",q:e});try{const t=await fetch(`https://translate.googleapis.com/translate_a/single?${i.toString()}`);if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(Array.isArray(n[0])){const e=[];for(const t of n[0])Array.isArray(t)&&"string"==typeof t[0]&&e.push(t[0]);return e.join("")}return e}catch{return e}}const Ur=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function Vr(e,t){const n=e.map(e=>e.data.trim().length),i=e.map(e=>({leading:e.data.match(/^\s*/)?.[0]||"",trailing:e.data.match(/\s*$/)?.[0]||""}));let r=0;for(let a=0;a<e.length;a++){const o=n[a];if(0===o)continue;const s=t.slice(r,r+o);r+=o,e[a].data=i[a].leading+s+i[a].trailing}if(r<t.length){const a=t.slice(r);for(let t=e.length-1;t>=0;t--)if(n[t]>0){e[t].data=e[t].data.trimEnd()+a+i[t].trailing;break}}for(let a=0;a<e.length;a++)n[a]>0&&(t.slice(n.slice(0,a).reduce((e,t)=>e+t,0),n.slice(0,a+1).reduce((e,t)=>e+t,0))||(e[a].data=i[a].leading+i[a].trailing))}function Yr(e){let t=e.parentElement;for(;t&&t!==document.body;){if(Ur.has(t.tagName))return t;t=t.parentElement}return null}async function Jr(e){const t=document.documentElement.lang?.split("-")[0]||"auto",n=function(e=document.body){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){if(!e.textContent||!e.textContent.trim())return NodeFilter.FILTER_REJECT;const t=e.parentElement;return t?["SCRIPT","STYLE","NOSCRIPT","CODE","PRE","TEXTAREA","INPUT"].includes(t.tagName)||t.closest("accessify-widget")||t.closest("#accessify-root")||t.classList?.contains("notranslate")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n=[];let i;for(;i=t.nextNode();)n.push(i);return n}(),i=function(e=document.body){const t=[],n=e.querySelectorAll("*");for(const i of n)if(!i.closest("accessify-widget")&&!i.closest("#accessify-root"))for(const e of Rr){const n=i.getAttribute(e);n?.trim()&&t.push({el:i,attr:e,original:n})}return t}(),r=new Set(Gr.map(e=>e.node));for(const u of n)r.has(u)||Gr.push({node:u,original:u.data});const a=new Set(Or.map(e=>`${Xr(e.el)}:${e.attr}`));for(const u of i){const e=`${Xr(u.el)}:${u.attr}`;a.has(e)||Or.push(u)}const o=function(e){const t=[],n=new Set;for(const i of e){if(n.has(i))continue;const r=Yr(i);if(r&&Ur.has(r.tagName)){const i=e.filter(e=>!n.has(e)&&Yr(e)===r);if(i.length>1){for(const t of i)n.add(t);const e=(r.textContent?.trim()||"").replace(/\s+/g," "),a=i.filter(e=>e.data.trim().length<=2).length;t.push({nodes:i,fullText:e,singleNode:!1,charPerNode:a>.5*i.length});continue}}n.add(i),t.push({nodes:[i],fullText:i.data.trim(),singleNode:!0,charPerNode:!1})}return t}(n),s=[...o.map(e=>e.fullText),...i.map(e=>e.original.trim())].filter(Boolean),c=[...new Set(s)];if(0===c.length)return;const l=await async function(e,t,n){const i=new Array(e.length).fill("");let r=0;for(;r<e.length;){const a=[];let o=0,s=r;for(;s<e.length;){const t=e[s].length+2;if(o+t>4e3&&a.length>0)break;a.push(e[s]),o+=t,s++}const c=a.join("\n\n"),l=(await qr(c,t,n)).split(/\n\s*\n/);for(let e=0;e<a.length;e++)i[r+e]=(l[e]||"").trim()||a[e];r=s}return i}(c,t,e),d=new Map;c.forEach((e,t)=>{l[t]&&l[t]!==e&&d.set(e,l[t])}),Dr=!0;for(const u of o){const e=d.get(u.fullText);if(e)if(u.singleNode){const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"",i=t.data.match(/\s*$/)?.[0]||"";t.data=n+e+i}else if(u.charPerNode)Vr(u.nodes,e);else{const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"";t.data=n+e;for(let e=1;e<u.nodes.length;e++)u.nodes[e].data=""}}for(const u of i){const e=d.get(u.original.trim());e&&u.el.setAttribute(u.attr,e)}Dr=!1}function Xr(e){return e.id||e.getAttribute("data-a11y-id")||(e.setAttribute("data-a11y-id",Math.random().toString(36).substr(2,9)),e.getAttribute("data-a11y-id"))}var Zr=xi('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),Qr=bi('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),ea=bi('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),ta=bi('<div class="sr-only" role="status" aria-live="polite" aria-atomic="true"> </div> <!> <div class="accessify-panel" role="dialog"><!> <div class="accessify-body"><div class="accessify-lang-dropdown"><button class="accessify-lang-toggle" aria-controls="accessify-lang-list"><span class="accessify-lang-toggle-left"><!> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div> <div class="accessify-section-divider"></div> <!> <div class="accessify-section-divider"></div> <!></div> <!></div>',1);function na(e,t){qe(t,!0);let n=qi(t,"config",7),i=Wt(!1),r=Wt(Xt(new Map)),a=Wt("light"),o=Wt(null),s=Wt(null),c=Wt(""),l=Wt("en"),d=Wt(null),u=Wt(!1),f=Wt(null);const p="accessify-panel-x",h={async translate(e){if(!Fr){Fr=!0;try{Gr.length>0&&this.restore(),await Jr(e),Br=e,function(){jr&&jr.disconnect(),Kr=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Br&&!Dr&&Jr(Br)}),t=()=>{if(!Br||Dr)return;const e=location.href;e!==Kr&&(Kr=e,Gr=[],Or=[],setTimeout(()=>{Br&&Jr(Br)},500))};jr=new MutationObserver(n=>{if(Dr||!Br)return;let i=!1;for(const e of n){if(e.addedNodes.length>0){i=!0;break}if("characterData"===e.type){i=!0;break}}i&&(t(),e())}),jr.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Wr=t,window.addEventListener("popstate",Wr);const n=history.pushState,i=history.replaceState;history.pushState=function(...e){n.apply(this,e),t()},history.replaceState=function(...e){i.apply(this,e),t()}}()}finally{Fr=!1}}},async simplify(e,t){},restore(){jr?.disconnect(),jr=null,Wr&&(window.removeEventListener("popstate",Wr),Wr=null),Dr=!0;for(const e of Gr)e.node.parentNode&&(e.node.data=e.original);Gr=[];for(const e of Or)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);Or=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Br=null,Dr=!1},isTranslated:()=>null!==Br,currentLang:()=>Br},g="accessify-prefs";let m=zt(()=>Array.from(ii(r).values()).filter(Boolean).length),v=zt(()=>or.find(e=>e.code===ii(l)));function y(e){Rt(c,""),requestAnimationFrame(()=>{Rt(c,e,!0)})}function b(){try{const e=Object.fromEntries(ii(r));localStorage.setItem(g,JSON.stringify(e))}catch{}}function w(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",ii(a)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=ur(ii(l))?"rtl":"ltr";var i;e&&(e.setAttribute("lang",ii(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",ii(l)),t.shadow.host.setAttribute("dir",n),i=ii(l),cr=lr(i)}function k(){Rt(i,!0),requestAnimationFrame(()=>{if(ii(o)){const e=ii(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Rt(i,!1),Rt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let _=zt(()=>null!==ii(f)?`left: ${ii(f)}px; right: auto;`:"");const A="undefined"!=typeof window?window.matchMedia("(max-width: 640px)"):null;vn(()=>{if(!ii(i)||!A?.matches)return;const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}),Ui(()=>{Rt(l,lr(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Rt(a,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Rt(a,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Rt(a,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Rt(r,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Rt(f,parseFloat(t),!0)}catch{}}(),x()});var M,E,C,I={open:k,close:S},T=ta();C=function(e,t,n,i={}){function r(e){if(i.capture||gi.call(t,e),!e.cancelBubble)return pn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?Ye(()=>{t.addEventListener(e,r,i)}):t.addEventListener(e,r,i),r}("keydown",M=tn,function(e){if("Escape"===e.key){if(ii(u))return Rt(u,!1),void e.preventDefault();if(ii(i))return e.preventDefault(),void S()}if("Tab"===e.key&&ii(i)&&ii(o)){const n=ii(o).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const i=n[0],r=n[n.length-1],a=t.shadow.activeElement||document.activeElement;e.shiftKey&&a===i?(e.preventDefault(),r.focus()):e.shiftKey||a!==r||(e.preventDefault(),i.focus())}},E={capture:void 0,passive:void 0}),(M===document.body||M===window||M===document||M instanceof HTMLMediaElement)&&mn(()=>{M.removeEventListener("keydown",C,E)});var z=dn(T),$=ln(z),L=un(z,2);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en"),i=qi(t,"el",15,null),r=Wt(!1);Ui(()=>{const e=i();if(!e)return;let n=0,a=0,o=0,s=0,c=!1,l=null;function d(t){const i=e.getBoundingClientRect();n=t.clientX,a=t.clientY,o=i.left,s=i.top,c=!1,l=t.pointerId,e.setPointerCapture(t.pointerId)}function u(t){if(null===l||t.pointerId!==l)return;const i=t.clientX-n,d=t.clientY-a,u=matchMedia("(pointer: coarse)").matches?15:5;if(!c&&(Math.abs(i)>u||Math.abs(d)>u)&&(c=!0,Rt(r,!0),e.style.transition="none"),c){const t=Math.max(0,Math.min(window.innerWidth-60,o+i)),n=Math.max(0,Math.min(window.innerHeight-60,s+d));e.style.left=t+"px",e.style.top=n+"px",e.style.right="auto",e.style.bottom="auto"}}function f(n){null!==l&&n.pointerId===l&&(e.releasePointerCapture(n.pointerId),e.style.transition="",Rt(r,!1),c||t.onclick(),l=null)}return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",f),()=>{e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",f)}});var a=pr();let o;Pi(a,Yi,!0),Ri(a,e=>i(e),()=>i()),wn(e=>{o=Oi(a,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":ii(r),"accessify-trigger--hidden":t.isOpen}),Di(a,"aria-expanded",t.isOpen),Di(a,"aria-label",e)},[()=>fr(t.isOpen?"widget.close":"widget.open",n())]),ki(e,a),Ue()}(L,{get isOpen(){return ii(i)},get lang(){return ii(l)},onclick:function(){ii(i)?S():k()},get el(){return ii(s)},set el(e){Rt(s,e,!0)}});var N=un(L,2),H=ln(N);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en");qi(t,"activeCount",3,0);let i=qi(t,"panelEl",3,null),r=Wt(null);Ui(()=>{const e=ii(r);if(!e)return;let n=0,a=0,o=!1,s=null;function c(t){const r=i();if(!r)return;const c=r.getBoundingClientRect();n=t.clientX,a=c.left,o=!1,s=t.pointerId,e.setPointerCapture(t.pointerId),t.preventDefault()}function l(e){if(null===s||e.pointerId!==s)return;const t=i();if(!t)return;const r=e.clientX-n;if(!o&&Math.abs(r)>5&&(o=!0,t.style.transition="none"),o){const e=Math.max(0,Math.min(window.innerWidth-t.offsetWidth,a+r));t.style.left=e+"px",t.style.right="auto"}}function d(n){if(null===s||n.pointerId!==s)return;e.releasePointerCapture(n.pointerId);const r=i();if(r&&(r.style.transition="",o)){const e=r.getBoundingClientRect();t.ondrag(e.left)}s=null,o=!1}return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",l),e.addEventListener("pointerup",d),()=>{e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",l),e.removeEventListener("pointerup",d)}});var a=hr(),o=un(ln(a),2),s=ln(o);Ri(s,e=>Rt(r,e),()=>ii(r));var c=un(s,2);Pi(c,er,!0);var l=un(c,2);Pi(l,Qi,!0),wn((e,t)=>{Di(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Di(c,"aria-label",e),Di(l,"aria-label",t)},[()=>fr("widget.reset",n()),()=>fr("widget.close",n())]),fi("click",c,function(...e){t.onreset?.apply(this,e)}),fi("click",l,function(...e){t.onclose?.apply(this,e)}),ki(e,a),Ue()}(H,{get lang(){return ii(l)},get activeCount(){return ii(m)},onclose:S,onreset:function(){Rt(r,new Map,!0),Rt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),y(fr("widget.resetConfirm",ii(l)))},ondrag:function(e){Rt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return ii(o)}});var P=un(H,2),G=ln(P),O=ln(G),B=ln(O),F=ln(B);Pi(F,tr);var j=ln(un(F,2)),D=un(B,2);let W;var K=un(O,2),R=e=>{var t=ea();zi(t,21,()=>or,Ci,(e,t)=>{var i=Qr(),r=ln(i),a=ln(r),o=un(r,2),s=e=>{ki(e,Zr())};Ei(o,e=>{ii(l)===ii(t).code&&e(s)}),wn(()=>{Di(i,"aria-selected",ii(l)===ii(t).code),Di(i,"data-active",ii(l)===ii(t).code),Si(a,`${(ii(t).flag||"")??""} ${ii(t).label??""}`)}),fi("click",i,()=>function(e){Rt(l,lr(e),!0),n().lang=ii(l),Rt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";ii(l)!==t?h.translate(ii(l)):h.restore()}(ii(t).code)),ki(e,i)}),wn(e=>Di(t,"aria-label",e),[()=>fr("widget.title",ii(l))]),ki(e,t)};Ei(K,e=>{ii(u)&&e(R)});var q=un(G,4);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en"),i=qi(t,"activeProfileId",3,null),r=Wt(!1),a=zt(()=>i()?gr.find(e=>e.id===i()):null);var o=yr(),s=ln(o),c=ln(s),l=un(ln(c),2),d=ln(l),u=un(c,2);let f;var p=un(s,2);zi(p,21,()=>gr,e=>e.id,(e,r)=>{var a=vr(),o=ln(a),s=ln(o);Pi(s,()=>function(e){const t=nr[e];return t?t():""}(ii(r).iconId),!0);var c=ln(un(s,2)),l=ln(c),d=ln(un(c,2)),u=un(o,2),f=e=>{ki(e,mr())};Ei(u,e=>{i()===ii(r).id&&e(f)}),wn((e,t)=>{Di(a,"aria-pressed",i()===ii(r).id),Di(a,"data-active",i()===ii(r).id),Si(l,e),Si(d,t)},[()=>fr(ii(r).nameKey,n()),()=>fr(ii(r).descKey,n())]),fi("click",a,()=>t.onactivate(ii(r))),ki(e,a)}),wn((e,t,n)=>{Di(o,"aria-label",e),Di(s,"aria-expanded",ii(r)),Si(d,t),f=Oi(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":ii(r)}),Di(p,"aria-label",n),Bi(p,ii(r)?"":"display:none")},[()=>fr("section.profiles",n()),()=>ii(a)?fr(ii(a).nameKey,n()):fr("section.profiles",n()),()=>fr("section.profiles",n())]),fi("click",s,()=>{Rt(r,!ii(r))}),ki(e,o),Ue()}(q,{get lang(){return ii(l)},get activeProfileId(){return ii(d)},onactivate:function(e){if(ii(d)===e.id){Rt(d,null);for(const t of e.features)ii(r).set(t,!1);return Rt(r,new Map(ii(r)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void y(`${fr(e.nameKey,ii(l))} ${fr("status.deactivated",ii(l))}`)}Rt(d,e.id,!0);for(const t of e.features)ii(r).set(t,!0);Rt(r,new Map(ii(r)),!0),b(),y(`${fr(e.nameKey,ii(l))} ${fr("status.activated",ii(l))}`)}});var U=un(q,4);{let e=zt(()=>({...n(),lang:ii(l)}));!function(e,t){qe(t,!0);const n={"keyboard-nav":{id:"keyboard-nav",nameKey:"feature.keyboardNav",descKey:"feature.keyboardNav.desc",iconId:"keyboard"},"link-highlight":{id:"link-highlight",nameKey:"feature.linkHighlight",descKey:"feature.linkHighlight.desc",iconId:"link-highlight"},"reading-guide":{id:"reading-guide",nameKey:"feature.readingGuide",descKey:"feature.readingGuide.desc",iconId:"reading-guide"},"reading-mask":{id:"reading-mask",nameKey:"feature.readingMask",descKey:"feature.readingMask.desc",iconId:"reading-mask"},"animation-stop":{id:"animation-stop",nameKey:"feature.animationStop",descKey:"feature.animationStop.desc",iconId:"animation-pause"},"hide-images":{id:"hide-images",nameKey:"feature.hideImages",descKey:"feature.hideImages.desc",iconId:"hide-images"},"big-cursor":{id:"big-cursor",nameKey:"feature.bigCursor",descKey:"feature.bigCursor.desc",iconId:"cursor"},"page-structure":{id:"page-structure",nameKey:"feature.pageStructure",descKey:"feature.pageStructure.desc",iconId:"page-structure"},tts:{id:"tts",nameKey:"feature.tts",descKey:"feature.tts.desc",iconId:"tts"},"text-simplify":{id:"text-simplify",nameKey:"feature.textSimplify",descKey:"feature.textSimplify.desc",iconId:"simplify-text"},"alt-text":{id:"alt-text",nameKey:"feature.altText",descKey:"feature.altText.desc",iconId:"alt-text"}},i=new Set(["contrast","text-size"]),r=[{id:"light",labelKey:"contrast.mode.light",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>'},{id:"dark",labelKey:"contrast.mode.dark",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>'},{id:"high",labelKey:"contrast.mode.high",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2v20"/><path d="M12 2a10 10 0 0 1 0 20" fill="currentColor"/></svg>'}],a=new Set(["text-simplify","alt-text"]),o=new Map,s={contrast:()=>Promise.resolve().then(()=>Pa),"text-size":()=>Promise.resolve().then(()=>Ga),"keyboard-nav":()=>Promise.resolve().then(()=>Oa),"link-highlight":()=>Promise.resolve().then(()=>Ba),"reading-guide":()=>Promise.resolve().then(()=>ja),"reading-mask":()=>Promise.resolve().then(()=>Da),"animation-stop":()=>Promise.resolve().then(()=>Wa),"hide-images":()=>Promise.resolve().then(()=>Ka),"big-cursor":()=>Promise.resolve().then(()=>qa),"page-structure":()=>Promise.resolve().then(()=>Ua),tts:()=>Promise.resolve().then(()=>Ya),"text-simplify":()=>Promise.resolve().then(()=>to),"alt-text":()=>Promise.resolve().then(()=>ma)};let c,l=Wt(Xt(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),d=Wt(Xt(function(){if("undefined"==typeof window)return 100;const e=Number.parseInt(localStorage.getItem("accessify-text-size")||"100",10);return Number.isFinite(e)?Math.max(100,Math.min(200,e)):100}())),u=zt(()=>new Set(t.config.features)),f=zt(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function p(e){const t=nr[e];return t?t():""}function h(e,n){if(!n)return;const i=n.getState();"contrast"===e&&Rt(l,"light"===i.value||"dark"===i.value||"high"===i.value?i.value:"off",!0),"text-size"===e&&(Rt(d,"number"==typeof i.value?i.value:100,!0),t.ontextsize?.(ii(d)))}async function g(e){if(o.has(e))return o.get(e);const n=s[e];if(!n)return null;try{const r=await n(),s=r.default??r,l="function"==typeof s?a.has(e)?s((c||(c=(i={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).apiKey?kr(i):i.siteKey?function(e,t){const n=t||"https://accessify-api.accessify.workers.dev",i={"Content-Type":"application/json","X-Site-Key":e};return{async simplifyText(e,t="einfache",r="de"){const a=`b-${function(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t|=0;return Math.abs(t).toString(36)}(e)}`,o=t;try{const t=await fetch(`${n}/v1/cache/query`,{method:"POST",headers:i,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:a,text:e}]})});if(t.ok){const e=await t.json();if(e.cached?.[a])return e.cached[a]}}catch{}try{const t=await fetch(`${n}/v1/cache/process`,{method:"POST",headers:i,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:a,text:e}]})});if(t.ok){const e=await t.json();if(e.results?.[a])return e.results[a]}}catch{}const s=await fetch(`${n}/v1/ai/simplify`,{method:"POST",headers:i,body:JSON.stringify({text:e,level:t,lang:r})});if(!s.ok){const e=await s.json().catch(()=>({error:`HTTP ${s.status}`}));if(429===s.status)throw new Sr(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${s.status}`)}return(await s.json()).result||""},async generateAltText(e,t,r){const a=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:i,body:JSON.stringify({imageUrl:e,context:t,lang:r})});if(!a.ok){const e=await a.json().catch(()=>({error:`HTTP ${a.status}`}));if(429===a.status)throw new Sr(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${a.status}`)}return(await a.json()).result||""},async describeImage(e,t){const r=await fetch(`${n}/v1/ai/describe-image`,{method:"POST",headers:i,body:JSON.stringify({imageUrl:e,lang:t})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new Sr(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""}}}(i.siteKey,i.proxyUrl):kr(i)),c),t.config.lang,{siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl,simplificationLevel:t.config.simplificationLevel}):s():s;return o.set(e,l),l}catch(r){return console.warn(`[Accessify] Failed to load feature module "${e}":`,r),null}var i}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of o)try{e.deactivate()}catch{}Rt(l,"off"),Rt(d,100),t.ontextsize?.(100)});let m=zt(()=>t.config.features.filter(e=>!i.has(e)&&n[e]).map(e=>n[e]));vn(()=>{t.config.features.join("|"),ii(f),async function(){const e=new Set(["contrast","text-size",...t.config.features]);for(const n of e){const e=t.activeFeatures.get(n)??!1,i=o.get(n);if(!e&&!i){"contrast"===n&&Rt(l,"off"),"text-size"===n&&Rt(d,100);continue}const r=e?await g(n):i;if(!r)continue;const a=r.getState().enabled;e&&!a&&r.activate(),!e&&a&&r.deactivate(),h(n,r)}}()});var v=Nr(),y=dn(v),b=e=>{var n=Er(),i=ln(n),a=ln(i);Pi(a,()=>p("contrast"),!0);var o=ln(un(a,2));zi(un(i,2),21,()=>r,Ci,(e,n)=>{var i=Mr(),r=ln(i),a=e=>{ki(e,_r())},o=e=>{var t=Ar();Pi(t,()=>ii(n).icon,!0),ki(e,t)};Ei(r,e=>{ii(l)===ii(n).id?e(a):e(o,-1)});var s=ln(un(r,2));wn(e=>{Di(i,"data-active",ii(l)===ii(n).id),Di(i,"aria-pressed",ii(l)===ii(n).id),Si(s,e)},[()=>fr(ii(n).labelKey,t.config.lang)]),fi("click",i,()=>async function(e){const n=await g("contrast");if(n){if("off"===e)return n.deactivate(),Rt(l,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Rt(l,e,!0),t.ontoggle("contrast",!0)}}(ii(l)===ii(n).id?"off":ii(n).id)),ki(e,i)}),wn((e,t)=>{Di(n,"aria-label",e),Si(o,t)},[()=>fr("feature.contrast",t.config.lang),()=>fr("feature.contrast",t.config.lang)]),ki(e,n)},w=zt(()=>ii(u).has("contrast"));Ei(y,e=>{ii(w)&&e(b)});var x=un(y,2),k=e=>{var n=zr(),i=ln(n),r=ln(i);Pi(r,()=>p("text-size"),!0);var a=ln(un(r,2));zi(un(i,2),21,()=>[{pct:85,size:"12px",label:t.config.lang?.startsWith("de")?"Kleiner":"Smaller"},{pct:125,size:"16px",label:t.config.lang?.startsWith("de")?"Größer":"Bigger"},{pct:150,size:"20px",label:t.config.lang?.startsWith("de")?"Groß":"Large"}],Ci,(e,n)=>{var i=Tr(),r=ln(i),a=e=>{ki(e,Cr())},o=e=>{var t=Ir();wn(()=>Bi(t,`font-size:${ii(n).size??""};font-weight:700;line-height:1`)),ki(e,t)};Ei(r,e=>{ii(d)===ii(n).pct?e(a):e(o,-1)});var s=ln(un(r,2));wn(()=>{Di(i,"data-active",ii(d)===ii(n).pct),Di(i,"aria-pressed",ii(d)===ii(n).pct),Si(s,ii(n).label)}),fi("click",i,()=>async function(e){const n=await g("text-size");if(n){if(100===e)return n.deactivate(),Rt(d,100),t.ontoggle("text-size",!1),void t.ontextsize?.(100);n.getState().enabled||n.activate(),n.setState?.(e),Rt(d,e,!0),t.ontoggle("text-size",!0),t.ontextsize?.(e)}}(ii(d)===ii(n).pct?100:ii(n).pct)),ki(e,i)}),wn((e,t)=>{Di(n,"aria-label",e),Si(a,t)},[()=>fr("feature.textSize",t.config.lang),()=>fr("feature.textSize",t.config.lang)]),ki(e,n)},S=zt(()=>ii(u).has("text-size"));Ei(x,e=>{ii(S)&&e(k)});var _=un(x,4),A=e=>{var n=Lr();zi(n,21,()=>ii(m),e=>e.id,(e,n)=>{const i=zt(()=>t.activeFeatures.get(ii(n).id)??!1);var r=$r(),a=ln(r),o=ln(a);Pi(o,()=>p(ii(n).iconId),!0);var s=ln(un(o,2)),c=un(a,2);wn((e,t,o,l)=>{Di(r,"data-feature",ii(n).id),Di(a,"data-active",ii(i)),Di(a,"aria-checked",ii(i)),Di(a,"aria-label",e),Si(s,t),Di(c,"aria-label",o),Di(c,"title",l)},[()=>fr(ii(n).nameKey,t.config.lang),()=>fr(ii(n).nameKey,t.config.lang),()=>fr(ii(n).descKey,t.config.lang),()=>fr(ii(n).descKey,t.config.lang)]),fi("click",a,()=>async function(e){const n=!t.activeFeatures.get(e),i=await g(e);i&&(n?i.activate():i.deactivate(),h(e,i)),t.ontoggle(e,n)}(ii(n).id)),ki(e,r)}),ki(e,n)};Ei(_,e=>{ii(m).length>0&&e(A)}),ki(e,v),Ue()}(U,{get config(){return ii(e)},get activeFeatures(){return ii(r)},ontoggle:function(e,t){ii(r).set(e,t),Rt(r,new Map(ii(r)),!0),b(),y(`${fr(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,ii(l))||e} ${fr(t?"status.activated":"status.deactivated",ii(l))}`)},ontextsize:function(e){}})}return function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en");var i=Pr(),r=ln(i),a=ln(r),o=un(a,2),s=e=>{var i=Hr(),r=un(dn(i),2),a=ln(r);wn(e=>{Di(r,"href",t.statementUrl),Si(a,e)},[()=>fr("widget.statement",n())]),ki(e,i)};Ei(o,e=>{t.statementUrl&&e(s)});var c=un(r,2),l=un(ln(c),2),d=ln(l);wn((e,n)=>{Di(a,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Di(c,"aria-label",e),Si(d,n)},[()=>fr("widget.close",n()),()=>fr("widget.close",n())]),fi("click",c,function(...e){t.onclose?.apply(this,e)}),ki(e,i),Ue()}(un(P,2),{get lang(){return ii(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Ri(N,e=>Rt(o,e),()=>ii(o)),wn((e,t)=>{Si($,ii(c)),Di(N,"aria-label",e),Di(N,"aria-hidden",!ii(i)),Di(N,"dir",t),Bi(N,ii(_)),Di(O,"aria-expanded",ii(u)),Si(j,`${(ii(v)?.flag||"")??""} ${(ii(v)?.label||ii(l))??""}`),W=Oi(D,0,"accessify-lang-chevron",0,W,{"accessify-lang-chevron--open":ii(u)}),N.dir=N.dir},[()=>fr("widget.title",ii(l)),()=>ur(ii(l))?"rtl":"ltr"]),fi("click",O,()=>{Rt(u,!ii(u))}),ki(e,T),Ue(I)}function ia(e){const t=e.position||"bottom-right",n=t.includes("right"),i=t.includes("bottom"),r=e.zIndex||2147483647,a=n?"20px 0 0 20px":"0 20px 20px 0",o=n?"translateX(24px)":"translateX(-24px)",s=e;return`\n :host {\n all: initial;\n display: block !important;\n position: fixed !important;\n ${i?"bottom: 20px":"top: 20px"} !important;\n ${n?"right: 20px":"left: 20px"} !important;\n z-index: ${r} !important;\n width: auto !important; height: auto !important;\n overflow: visible !important;\n contain: none !important;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n font-size: 16px;\n line-height: 1.5;\n color-scheme: dark;\n }\n\n *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n\n #accessify-mount {\n --gap: 14px;\n --pad: 18px;\n --radius: 12px;\n --radius-lg: 16px;\n --pill: 999px;\n --surface: #3d4775;\n --surface-card: #4a5387;\n --surface-dim: #353e6a;\n --surface-hover: #545d8f;\n --text: #f0f0f5;\n --text-dim: #b8bdd4;\n --border: rgba(255,255,255,0.10);\n --border-hl: rgba(255,255,255,0.20);\n --accent: #e8837c;\n --accent-soft: rgba(232,131,124,0.15);\n --accent-on: #fff;\n --logo-color: #e8837c;\n --shadow: 0 12px 48px rgba(0,0,0,0.35);\n --fast: 140ms ease;\n ${[s.brandPrimaryColor?`--surface: ${s.brandPrimaryColor};`:"",s.brandSurfaceColor?`--surface-dim: ${s.brandSurfaceColor};`:"",s.brandCardColor?`--surface-card: ${s.brandCardColor};`:"",s.brandHoverColor?`--surface-hover: ${s.brandHoverColor};`:"",s.brandTextColor?`--text: ${s.brandTextColor};`:"",s.brandTextDimColor?`--text-dim: ${s.brandTextDimColor};`:"",s.brandAccentColor?`--accent: ${s.brandAccentColor}; --accent-soft: ${s.brandAccentColor}26;`:"",s.brandBorderColor?`--border: ${s.brandBorderColor}; --border-hl: ${s.brandBorderColor};`:""].filter(Boolean).join("\n ")}\n }\n\n .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }\n *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }\n\n /* ─── Trigger ─── */\n .accessify-trigger {\n position: static;\n z-index: ${r};\n width: 56px; height: 56px;\n border: none; border-radius: 16px;\n background: ${s.brandTriggerColor||"linear-gradient(135deg, #545d8f, #3d4775)"};\n color: ${s.brandTriggerIconColor||"#e8837c"};\n cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n box-shadow: 0 6px 20px rgba(50,60,100,0.5);\n transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);\n touch-action: none;\n }\n @media (hover: hover) {\n .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\n }\n .accessify-trigger:active { transform: scale(0.96); }\n .accessify-trigger--hidden { display:none; }\n .accessify-trigger svg { width: 26px; height: 26px; }\n .accessify-trigger--dragging { cursor: grabbing !important; opacity: 0.85; }\n\n /* Active count badge on trigger */\n .accessify-trigger-badge {\n position: absolute; top: -4px; right: -4px;\n min-width: 20px; height: 20px; padding: 0 5px;\n border-radius: 999px; background: var(--accent); color: #fff;\n font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;\n pointer-events: none;\n }\n\n /* ─── Panel ─── */\n .accessify-panel {\n position: fixed; top: 0; bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${r-1};\n width: min(${s.panelWidth?`${s.panelWidth}px`:"420px"}, 100vw); height: 100vh; height: 100dvh;\n display: flex; flex-direction: column;\n border-radius: ${a};\n background: var(--surface);\n overflow: hidden;\n color: var(--text);\n box-shadow: var(--shadow);\n transition: opacity 200ms ease, transform 200ms ease;\n }\n .accessify-panel[aria-hidden="true"] { opacity:0; transform:${o}; pointer-events:none; display:none; }\n .accessify-panel[aria-hidden="false"] { opacity:1; transform:translateX(0); }\n\n /* ─── Header ─── */\n .accessify-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border-bottom: 1px solid var(--border);\n background: var(--surface-dim);\n flex-shrink: 0;\n }\n .accessify-header-left { display: flex; align-items: center; gap: 10px; }\n .accessify-header-actions { display: flex; align-items: center; gap: 6px; }\n\n .accessify-logo { display: inline-flex; color: var(--logo-color); }\n .accessify-logo svg { height: 24px; width: auto; }\n\n .accessify-header-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; transition: background var(--fast), color var(--fast);\n }\n @media (hover: hover) {\n .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\n }\n .accessify-header-btn svg { width: 16px; height: 16px; }\n .accessify-header-btn--icon { padding: 0; }\n .accessify-header-btn--close { background: transparent; border-color: transparent; }\n\n /* Drag handle */\n .accessify-drag-handle {\n cursor: grab; touch-action: none;\n }\n .accessify-drag-handle:active { cursor: grabbing; }\n .accessify-drag-handle svg { stroke-width: 3; }\n\n /* ─── Shared Accordion (Language + Profiles) ─── */\n .accessify-lang-dropdown,\n .accessify-accordion {\n border-radius: var(--radius);\n border: 1px solid var(--border);\n overflow: clip;\n }\n\n .accessify-lang-toggle,\n .accessify-accordion-toggle {\n display: flex; align-items: center; justify-content: space-between;\n width: 100%; padding: 14px 14px;\n border: none; background: var(--surface-card);\n color: var(--text); cursor: pointer; font-family: inherit;\n font-size: 15px; font-weight: 700;\n transition: background var(--fast);\n }\n @media (hover: hover) {\n .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\n }\n\n .accessify-lang-toggle-left,\n .accessify-accordion-toggle-left {\n display: flex; align-items: center; gap: 10px;\n }\n .accessify-lang-toggle-left svg,\n .accessify-accordion-toggle-left svg { width: 20px; height: 20px; color: var(--accent); }\n\n .accessify-lang-chevron,\n .accessify-accordion-chevron {\n width: 18px; height: 18px; color: var(--text-dim);\n transition: transform 200ms ease; flex-shrink: 0;\n }\n .accessify-lang-chevron--open,\n .accessify-accordion-chevron--open { transform: rotate(180deg); }\n\n /* Shared list inside accordion */\n .accessify-lang-list,\n .accessify-accordion-list {\n display: flex; flex-direction: column;\n max-height: 280px; overflow-y: auto;\n background: var(--surface-dim);\n border-top: 1px solid var(--border);\n }\n .accessify-lang-list::-webkit-scrollbar,\n .accessify-accordion-list::-webkit-scrollbar { width: 4px; }\n .accessify-lang-list::-webkit-scrollbar-thumb,\n .accessify-accordion-list::-webkit-scrollbar-thumb { background: var(--border-hl); border-radius: 2px; }\n\n /* Language options */\n .accessify-lang-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-size: 14px; font-weight: 500; font-family: inherit;\n transition: background var(--fast);\n min-height: 44px;\n }\n @media (hover: hover) {\n .accessify-lang-option:hover { background: var(--surface-hover); }\n }\n .accessify-lang-option[data-active="true"] { color: var(--accent); font-weight: 700; }\n .accessify-lang-option svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }\n\n /* Profile options (with icon + description) */\n .accessify-accordion-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-family: inherit; text-align: left;\n transition: background var(--fast);\n }\n @media (hover: hover) {\n .accessify-accordion-option:hover { background: var(--surface-hover); }\n }\n .accessify-accordion-option[data-active="true"] { background: var(--accent-soft); }\n\n .accessify-accordion-option-left {\n display: flex; align-items: center; gap: 12px; min-width: 0;\n }\n .accessify-accordion-option-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 40px; height: 40px; border-radius: 12px;\n background: var(--surface-card); color: var(--accent); flex-shrink: 0;\n }\n .accessify-accordion-option-icon svg { width: 24px; height: 24px; stroke-width: 2.5; }\n .accessify-accordion-option-text {\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n }\n .accessify-accordion-option-name {\n font-size: 14px; font-weight: 700; line-height: 1.3;\n }\n .accessify-accordion-option-desc {\n font-size: 12px; font-weight: 400; color: var(--text-dim); line-height: 1.3;\n }\n .accessify-accordion-option > svg {\n width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-left: 8px;\n }\n\n /* ─── Scrollable Body ─── */\n .accessify-body {\n flex: 1 1 auto;\n min-height: 0;\n display: flex; flex-direction: column; gap: var(--gap);\n padding: var(--gap) var(--pad);\n overflow-y: auto; overscroll-behavior: contain;\n }\n\n /* ─── Contrast Row ─── */\n .accessify-control-row {\n display: flex; flex-direction: column; gap: 10px;\n padding: 14px 16px;\n border-radius: var(--radius); border: 1px solid var(--border);\n background: var(--surface-card);\n }\n .accessify-control-label {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-control-label-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px; border-radius: 10px;\n background: var(--surface-dim); color: var(--accent); flex-shrink: 0;\n }\n .accessify-control-label-icon svg { width: 18px; height: 18px; }\n .accessify-control-label-text { font-size: 14px; font-weight: 600; }\n\n /* Contrast chips */\n .accessify-chip-row {\n display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;\n }\n .accessify-chip {\n min-height: 48px; padding: 6px 8px;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); color: var(--text);\n cursor: pointer; font-size: 11px; font-weight: 600; font-family: inherit;\n display: inline-flex; align-items: center; justify-content: center;\n text-align: center; line-height: 1.25;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n }\n @media (hover: hover) {\n .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\n }\n .accessify-chip[data-active="true"] {\n background: var(--accent); color: var(--accent-on);\n border-color: var(--accent);\n border-width: 2px;\n font-weight: 700;\n }\n .accessify-chip--icon { gap: 6px; flex-direction: column; }\n .accessify-chip-icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }\n .accessify-chip-icon svg { width: 16px; height: 16px; }\n .accessify-chip-check {\n display: inline-flex; align-items: center; justify-content: center;\n width: 20px; height: 20px; border-radius: 50%;\n background: rgba(255,255,255,0.25); flex-shrink: 0;\n }\n .accessify-chip-check svg { width: 14px; height: 14px; }\n\n /* Text Size stepper */\n .accessify-control-row:has(.accessify-stepper) {\n flex-direction: row; align-items: center; justify-content: space-between; gap: var(--gap);\n }\n .accessify-stepper {\n display: inline-flex; align-items: center;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); height: 36px; overflow: hidden;\n }\n .accessify-stepper-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 36px; height: 100%; border: none; background: transparent;\n color: var(--text); cursor: pointer; font-size: 18px; font-weight: 700;\n transition: background var(--fast); font-family: inherit;\n }\n @media (hover: hover) {\n .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\n }\n .accessify-stepper-btn:disabled { opacity: 0.3; cursor: default; }\n .accessify-stepper-value {\n min-width: 48px; text-align: center;\n font-size: 13px; font-weight: 600; color: var(--text); user-select: none;\n }\n\n /* Text Size: uses same .accessify-chip-row / .accessify-chip as contrast */\n\n /* ─── Feature Cards (2-column grid) ─── */\n .accessify-features {\n display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);\n }\n .accessify-card-wrap {\n position: relative;\n overflow: visible;\n }\n .accessify-card {\n position: relative; width: 100%;\n display: flex; flex-direction: column; align-items: center; justify-content: center;\n gap: 8px; padding: 18px 10px; min-height: 105px;\n border-radius: var(--radius-lg); border: 1px solid var(--border);\n background: var(--surface-card); color: var(--text);\n cursor: pointer; text-align: center; font-family: inherit;\n transition: transform var(--fast), border-color var(--fast), background var(--fast), box-shadow var(--fast);\n }\n @media (hover: hover) {\n .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\n }\n .accessify-card[data-active="true"] { border-color: var(--accent); background: var(--accent-soft); }\n .accessify-card-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 48px; height: 48px; border-radius: 14px;\n background: var(--surface-dim); color: var(--accent);\n }\n .accessify-card-icon svg { width: 28px; height: 28px; stroke-width: 2.5; }\n .accessify-card-label { font-size: 12px; font-weight: 600; line-height: 1.25; }\n\n /* Info icon + tooltip */\n .accessify-card-info {\n position: absolute; top: 6px; ${n?"right: 6px":"left: 6px"}; z-index: 10;\n display: inline-flex; align-items: center; justify-content: center;\n width: 22px; height: 22px; border-radius: 999px;\n color: var(--text-dim); cursor: help; background: none; border: none;\n opacity: 0.35; transition: opacity var(--fast), color var(--fast);\n }\n .accessify-card-info svg { width: 14px; height: 14px; }\n @media (hover: hover) {\n .accessify-card-info:hover { opacity: 1; color: var(--accent); }\n }\n\n /* ─── Section Divider ─── */\n .accessify-section-divider {\n height: 1px;\n background: var(--border);\n margin: 4px 0;\n flex-shrink: 0;\n }\n\n /* ─── Footer ─── */\n .accessify-footer {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px var(--pad);\n border-top: 1px solid var(--border);\n color: var(--text-dim); font-size: 11px;\n background: var(--surface-dim); flex-shrink: 0;\n gap: 8px;\n }\n .accessify-footer-links {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }\n @media (hover: hover) {\n .accessify-footer a:hover { text-decoration: underline; }\n }\n\n .accessify-footer-close {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 6px 14px; min-height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; font-size: 12px; font-weight: 600; font-family: inherit;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n flex-shrink: 0;\n }\n @media (hover: hover) {\n .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\n }\n .accessify-footer-close svg { width: 14px; height: 14px; flex-shrink: 0; }\n\n /* ─── Reduced Motion ─── */\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }\n }\n\n /* ─── Mobile ─── */\n @media (max-width: 640px) {\n .accessify-panel { width: 100vw; border-radius: 0; }\n .accessify-features { gap: 8px; }\n .accessify-body { padding: 8px 12px; }\n .accessify-trigger {\n ${i?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 50px; height: 50px; border-radius: 14px;\n }\n .accessify-card-wrap[data-feature="big-cursor"] { display: none; }\n .accessify-drag-handle { display: none; }\n .accessify-header { padding-top: max(14px, env(safe-area-inset-top, 0px)); }\n .accessify-footer { padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }\n }\n @media (pointer: coarse) {\n .accessify-header-btn { min-width: 44px; min-height: 44px; }\n .accessify-footer-close { min-height: 44px; }\n .accessify-card-info { opacity: 0.7; }\n }\n `}pi(["click"]);const ra="alt-texts";function aa(e){let t=5381;const n=e.toLowerCase().trim();for(let i=0;i<n.length;i++)t=(t<<5)+t+n.charCodeAt(i),t|=0;return Math.abs(t).toString(36)}function oa(e){try{const t=new URL(e);return t.searchParams.delete("width"),t.searchParams.delete("height"),t.searchParams.delete("scale-down-to"),t.href}catch{return e}}function sa(e){return e.currentSrc||e.src}function ca(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(ra)||e.createObjectStore(ra,{keyPath:"key"}),e.objectStoreNames.contains("alt-text-reports")||e.createObjectStore("alt-text-reports",{keyPath:"key"})},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null)}catch{e(null)}})}async function la(e){const t=await ca();return t?new Promise(n=>{try{const i=t.transaction(ra,"readonly").objectStore(ra),r=i.get(aa(e));r.onsuccess=()=>{if(r.result?.altText)return void n(r.result.altText);const t=oa(e);if(t!==e){const e=i.get(aa(t));e.onsuccess=()=>n(e.result?.altText||null),e.onerror=()=>n(null)}else n(null)},r.onerror=()=>n(null)}catch{n(null)}}):null}async function da(e,t,n){const i=await ca();if(i)return new Promise(r=>{try{const a=i.transaction(ra,"readwrite");a.objectStore(ra).put({key:aa(e),src:e,altText:t,lang:n,createdAt:Date.now()}),a.oncomplete=()=>r(),a.onerror=()=>r()}catch{r()}})}const ua="https://accessify-api.accessify.workers.dev";let fa="manual";function pa(e,t,n,i,r){try{const a=window.location.origin+window.location.pathname;fetch(`${t||ua}/v1/cache/persist-alt-text`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,pageUrl:a,imageUrl:n,altText:i,lang:r})}).catch(()=>{})}catch{}}let ha=!1;async function ga(e){if(ha)return 0;ha=!0;const t=new Map,n=e?.siteKey,i=e?.proxyUrl||"",r=e?.lang?.split("-")[0]||document.documentElement.lang?.split("-")[0]||"en";if(n){const e=await async function(e,t,n){const i=new Map;try{const r=t||ua,a=window.location.origin+window.location.pathname,o=await fetch(`${r}/v1/manifest?siteKey=${encodeURIComponent(e)}&url=${encodeURIComponent(a)}&feature=alt_text&variant=${encodeURIComponent(n)}`,{headers:{Accept:"application/json"},cache:"no-cache"});if(!o.ok)return i;const s=await o.json();if(fa="auto"===s.siteMode?"auto":"manual",s.blocks)for(const e of s.blocks)e.selector&&e.result&&i.set(e.selector,e.result)}catch{}return i}(n,i,r);for(const[n,i]of e){t.set(n,i);const e=oa(n);e!==n&&t.set(e,i),da(n,i,r).catch(()=>{})}}const a=await async function(){const e=await ca(),t=new Map;return e?new Promise(n=>{try{const i=e.transaction(ra,"readonly").objectStore(ra).getAll();i.onsuccess=()=>{for(const e of i.result)t.set(e.src,e.altText);n(t)},i.onerror=()=>n(t)}catch{n(t)}}):t}();for(const[l,d]of a)t.has(l)||t.set(l,d);if(0===t.size)return 0;function o(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;const n=sa(e),i=oa(n),r=oa(e.src),a=t.get(n)||t.get(i)||t.get(e.src)||t.get(r);if(!a)return!1;const o=e.getAttribute("alt");return null!==o&&""!==o.trim()||(e.setAttribute("alt",a),e.setAttribute("data-accessify-alt","auto")),e.setAttribute("title",a),!0}let s=0;document.querySelectorAll("img").forEach(e=>{o(e)&&s++});const c=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes){const t=e instanceof HTMLImageElement?[e]:e instanceof HTMLElement?Array.from(e.querySelectorAll("img")):[];for(const e of t)o(e)}});return c.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>c.disconnect(),3e4),s}const ma=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:ga,default:function(e,t="de",n){const i=n?.siteKey||"",r=n?.proxyUrl||"";let a=!1,o=null,s=!1,c=[];const l=new Map;function d(){return dr()||t}function u(){return d().startsWith("de")}function f(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;if(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))return!1;const t=e.getBoundingClientRect();if(t.width<40||t.height<40)return!1;const n=getComputedStyle(e);return"none"!==n.display&&"hidden"!==n.visibility&&"0"!==n.opacity&&"presentation"!==e.getAttribute("role")&&"true"!==e.getAttribute("aria-hidden")}function p(e){if(!f(e))return!1;const t=e.getAttribute("alt");return null===t||!!function(e){return!(e.trim()&&!/^(image|img|photo|bild|foto|untitled|placeholder)/i.test(e)&&!/^IMG_\d+/i.test(e)&&!/\.(jpg|jpeg|png|gif|webp|svg|avif)$/i.test(e))}(t)||""===t&&!function(e){const t=e.getAttribute("role");return"presentation"===t||"none"===t||!!(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))}(e)}function h(e){const t=[];try{const n=new URL(sa(e),window.location.href).pathname.split("/").pop();n&&t.push(`Filename: ${n}`)}catch{}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e?.textContent?.trim()&&t.push(`Caption: ${e.textContent.trim()}`)}const i=e.parentElement?.parentElement||e.parentElement;if(i){const e=i.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}return t.join(". ")}function g(e,t){e.setAttribute("alt",t),e.setAttribute("title",t),l.set(e,{generatedAlt:t}),a&&k(e,t)}function m(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;if(e.getAttribute("title"))return;const t=e.getAttribute("alt");t&&t.trim()&&(e.setAttribute("title",t),e.setAttribute("data-accessify-title","auto"))})}const v="data-accessify-badge",y="accessify-badge-overlay";let b=null,w=[];function x(e,t,n){const i=e.getBoundingClientRect();if(i.width<40||i.height<40||i.bottom<0||i.top>window.innerHeight+200||i.right<0||i.left>window.innerWidth+200)return t.style.display="none",void(n.style.display="none");const r=window.scrollX,a=window.scrollY,o=i.top+a+6,s=i.left+r+6;t.style.display="",t.style.top=`${o}px`,t.style.left=`${s}px`,n.style.top=`${o+26}px`,n.style.left=`${s}px`}function k(e,t){if(e.getAttribute(v))return;e.setAttribute(v,"1");const n=function(){let e=document.getElementById(y);return e||(e=document.createElement("div"),e.id=y,Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"0",height:"0",overflow:"visible",pointerEvents:"none",zIndex:"10000"}),document.body.appendChild(e)),e}(),i=document.createElement("span");Object.assign(i.style,{position:"absolute",width:"22px",height:"22px",borderRadius:"50%",background:"rgba(0,0,0,0.6)",color:"#fff",fontFamily:"sans-serif",fontWeight:"bold",fontSize:"13px",lineHeight:"22px",textAlign:"center",cursor:"default",pointerEvents:"auto",boxShadow:"0 1px 4px rgba(0,0,0,0.4)",transition:"background 0.15s"}),i.textContent="i",i.setAttribute("aria-hidden","true"),i.setAttribute("translate","no"),i.classList.add("notranslate"),i.setAttribute(v,"badge");const r=document.createElement("span");Object.assign(r.style,{display:"none",position:"absolute",minWidth:"150px",maxWidth:"280px",padding:"6px 10px",background:"rgba(0,0,0,0.88)",color:"#fff",fontFamily:"sans-serif",fontSize:"12px",lineHeight:"1.4",borderRadius:"6px",pointerEvents:"none",wordWrap:"break-word",boxShadow:"0 2px 8px rgba(0,0,0,0.3)",zIndex:"1"}),r.textContent=t,r.setAttribute("translate","no"),r.classList.add("notranslate"),r.setAttribute(v,"tooltip"),i.addEventListener("mouseenter",()=>{i.style.background="rgba(0,0,0,0.85)",r.style.display="block"}),i.addEventListener("mouseleave",()=>{i.style.background="rgba(0,0,0,0.6)",r.style.display="none"}),i.addEventListener("click",e=>{e.stopPropagation();const t="block"===r.style.display;r.style.display=t?"none":"block",i.style.background=t?"rgba(0,0,0,0.6)":"rgba(0,0,0,0.85)"}),n.appendChild(i),n.appendChild(r),x(e,i,r),w.push({target:e,badge:i,tooltip:r})}function S(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;const t=e.getAttribute("alt")||e.getAttribute("title");t&&t.trim()&&k(e,t.trim())}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{const t=e.getAttribute("aria-label");t&&t.trim()&&k(e,t.trim())}),w.length>0&&function(){if(null!==b)return;const e=()=>{!function(){for(const{target:e,badge:t,tooltip:n}of w)document.body.contains(e)&&x(e,t,n)}(),b=requestAnimationFrame(e)};b=requestAnimationFrame(e)}()}function _(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function A(e,t){e.setAttribute("role","img"),e.setAttribute("aria-label",t),e.setAttribute("title",t),e.setAttribute("data-accessify-bg-alt","auto"),a&&k(e,t)}function M(e){const t=[];t.push(`Element: <${e.tagName.toLowerCase()}>`),e.className&&t.push(`Class: ${e.className}`);const n=e.textContent?.trim().slice(0,100);n&&t.push(`Overlay text: ${n}`);const i=e.querySelector("h1, h2, h3");return i?.textContent?.trim()&&t.push(`Heading: ${i.textContent.trim()}`),t.join(". ")}function E(t){function n(){if(a&&!c.includes(t)&&!(t.naturalWidth<20||t.naturalHeight<20))if(p(t))c.push(t),async function(t){if(!e||!a)return;const n=sa(t),o=await la(n);if(o)g(t,o);else if("auto"===fa)try{const o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),da(n,s,d()).catch(()=>{}),i&&pa(i,r,n,s,d()))}catch(s){console.warn("[Accessify] Alt-text generation failed:",n,s)}}(t);else{const e=t.getAttribute("alt");e&&e.trim()&&(t.getAttribute("title")||(t.setAttribute("title",e),t.setAttribute("data-accessify-title","auto")),k(t,e.trim()))}}a&&f(t)&&(c.includes(t)||(t.complete&&t.naturalWidth>0?n():t.addEventListener("load",n,{once:!0})))}return ga({siteKey:i,proxyUrl:r,lang:t}).catch(()=>{}),{id:"alt-text",name:()=>u()?"Bildbeschreibung":"Image Description",description:u()?"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen":"Show image descriptions on hover and auto-generate missing ones",icon:"alt-text",category:"ai",activate:function(){if(a)return;a=!0,document.querySelectorAll('img[data-accessify-alt="auto"]').forEach(e=>{e.closest("#accessify-root")||l.has(e)||(l.set(e,{generatedAlt:e.getAttribute("alt")||""}),c.push(e))});const t=function(){const e=[];return document.querySelectorAll("img").forEach(t=>{p(t)&&e.push(t)}),document.querySelectorAll("picture").forEach(t=>{if(t.closest("#accessify-root")||t.closest("accessify-widget"))return;const n=t.querySelector("img");n&&!e.includes(n)&&p(n)&&e.push(n)}),e}();for(const e of t)c.includes(e)||c.push(e);!async function(){if(s||!a||!e)return;s=!0;const t=[];for(const e of c){if(l.has(e))continue;const n=sa(e),i=await la(n);i?g(e,i):t.push(e)}if(t.length){if("auto"!==fa)return window.__ACCESSIFY_DEBUG&&console.info(`[Accessify] alt-text: siteMode=manual — ${t.length} image(s) left untouched. Trigger a crawl from the dashboard or enable auto mode.`),void(s=!1);for(let n=0;n<t.length&&a;n+=3){const o=t.slice(n,n+3);await Promise.all(o.map(async t=>{if(a)try{const n=sa(t),o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),da(n,s,d()).catch(()=>{}),i&&pa(i,r,n,s,d()))}catch(n){console.warn("[Accessify] Alt-text generation failed:",sa(t),n)}}))}s=!1}else s=!1}(),async function(){if(!e||!a)return;if("auto"!==fa)return void(window.__ACCESSIFY_DEBUG&&console.info("[Accessify] alt-text: siteMode=manual — skipping live generation for background images"));const t=function(){const e=[],t=document.querySelectorAll("*");for(const n of t){if(n.closest("#accessify-root")||n.closest("accessify-widget"))continue;if(n.getAttribute("data-accessify-bg-alt"))continue;if(n.offsetWidth<200||n.offsetHeight<150)continue;const t=getComputedStyle(n).backgroundImage;if(!t||"none"===t)continue;const i=t.match(/url\(["']?([^"')]+)["']?\)/);i&&(i[1].startsWith("data:image/svg")||"img"===n.getAttribute("role")&&n.getAttribute("aria-label")||e.push(n))}return e}();for(const o of t){if(!a)break;const t=_(o);if(!t)continue;const s=await la(t);if(s)A(o,s);else try{const n=M(o),s=await e.generateAltText(t,n,d());s&&a&&(A(o,s),da(t,s,d()).catch(()=>{}),i&&pa(i,r,t,s,d()))}catch(n){console.warn("[Accessify] Bg alt-text generation failed:",t,n)}}}(),m(),S(),document.querySelectorAll("img").forEach(e=>{e.complete||E(e)});for(const e of[2e3,5e3,1e4])setTimeout(()=>{a&&(document.querySelectorAll("img").forEach(E),m(),S())},e);o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?E(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(E)}),o.observe(document.body,{childList:!0,subtree:!0})},deactivate:function(){a=!1,s=!1,o?.disconnect(),o=null,document.querySelectorAll('img[data-accessify-title="auto"]').forEach(e=>{e.removeAttribute("title"),e.removeAttribute("data-accessify-title")}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("title"),e.removeAttribute("data-accessify-bg-alt")}),null!==b&&(cancelAnimationFrame(b),b=null),w=[],document.getElementById(y)?.remove(),document.querySelectorAll(`[${v}]`).forEach(e=>e.removeAttribute(v)),document.querySelectorAll("[data-accessify-badge-wrap]").forEach(e=>{const t=e.querySelector("img");t&&e.parentElement&&(e.parentElement.insertBefore(t,e),e.remove())}),c=[]},getState:()=>({id:"alt-text",enabled:a,value:{missingCount:c.filter(e=>!l.has(e)).length,processedCount:l.size}})}}},Symbol.toStringTag,{value:"Module"})),va=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","focus-highlight","auto-scan"]),ya={position:"bottom-right",theme:"auto",lang:function(){const e=document.documentElement.lang?.trim();if(e)return e.split("-")[0].toLowerCase();const t=(navigator.language||navigator.userLanguage||"").trim();return t?t.split("-")[0].toLowerCase():"en"}(),features:["contrast","text-size","link-highlight","hide-images","reading-guide","reading-mask","big-cursor","keyboard-nav","animation-stop","tts","text-simplify","alt-text","page-structure"],zIndex:2147483647,compact:!1};let ba=null,wa=null,xa={...ya};async function ka(e={}){if(ba)return;const t=window.__accessify_dataConfig||{};xa={...ya,...t,...e};const n=xa.siteKey||xa.siteKey,i=xa.proxyUrl||xa.proxyUrl;if(n){const r=await async function(e,t){try{const n=t||"https://accessify-api.accessify.workers.dev",i=await fetch(`${n}/v1/config/${e}`,{headers:{Accept:"application/json"}});if(!i.ok)return{};const r=await i.json(),a=r?.config||{},o={};a.features?.length&&(o.features=a.features),a.defaultLang&&(o.lang=a.defaultLang),a.position&&(o.position=a.position),a.theme&&(o.theme=a.theme),null!=a.compact&&(o.compact=a.compact);const s=["brandPrimaryColor","brandSurfaceColor","brandTextColor","brandBorderColor","brandCardColor","brandAccentColor","brandTextDimColor","brandTriggerColor","brandTriggerIconColor","brandHoverColor"];for(const e of s)a[e]&&(o[e]=a[e]);return a.panelWidth&&(o.panelWidth=a.panelWidth),a.simplificationLevel&&(o.simplificationLevel=a.simplificationLevel),o}catch{return{}}}(n,i||"");xa={...ya,...r,...t,...e}}xa.features=(xa.features||ya.features).filter(e=>!va.has(e)),wa=document.createElement("div"),wa.id="accessify-root",wa.setAttribute("role","complementary"),wa.setAttribute("aria-label",fr("widget.title",xa.lang));const r=xa.position||"bottom-right",a=r.includes("right"),o=r.includes("bottom");wa.style.cssText=["position:fixed!important",o?"bottom:20px!important":"top:20px!important",a?"right:20px!important":"left:20px!important",`z-index:${xa.zIndex||2147483647}!important`,"width:auto!important","height:auto!important","overflow:visible!important","contain:none!important","display:block!important"].join(";")+";";const s=wa.attachShadow({mode:"open",delegatesFocus:!0}),c=new CSSStyleSheet;c.replaceSync(ia(xa)),s.adoptedStyleSheets=[c];const l=document.createElement("div");function d(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}l.id="accessify-mount",s.appendChild(l),ba=function(e,{target:t,anchor:n,props:i={},events:r,context:a,intro:o=!0,transformError:s}){!function(){if(void 0===tn){tn=window,nn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;rn=Z(t,"firstChild").get,an=Z(t,"nextSibling").get,ie(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ie(n)&&(n.__t=void 0),q&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:n,lastIndexOf:i,includes:r}=e;e.indexOf=function(e,t){const i=n.call(this,e,t);if(-1===i)for(let n=t??0;n<this.length;n+=1)if(Qt(this[n])===e){Ne("array.indexOf(...)");break}return i},e.lastIndexOf=function(e,t){const n=i.call(this,e,t??this.length-1);if(-1===n)for(let i=0;i<=(t??this.length-1);i+=1)if(Qt(this[i])===e){Ne("array.lastIndexOf(...)");break}return n},e.includes=function(e,t){const n=r.call(this,e,t);if(!n)for(let i=0;i<this.length;i+=1)if(Qt(this[i])===e){Ne("array.includes(...)");break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=i,e.includes=r}}())}}();var c=void 0,l=function(){vt.ensure();const o=hn(524352,()=>{var o=n??t.appendChild(on());new At(o,{pending:()=>{}},t=>{qe({}),a&&(Fe.c=a),r&&(i.$$events=r),c=e(t,i)||{},Ue()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var i=e[n];if(!l.has(i)){l.add(i);var r=ci(i);for(const e of[t,document]){var a=_i.get(e);void 0===a&&_i.set(e,a=new Map);var o=a.get(i);void 0===o?(e.addEventListener(i,gi,{passive:r}),a.set(i,1)):a.set(i,o+1)}}}};return d(J(di)),ui.add(d),()=>{for(var e of l)for(const n of[t,document]){var i=_i.get(n),r=i.get(e);0==--r?(n.removeEventListener(e,gi),i.delete(e),0===i.size&&_i.delete(n)):i.set(e,r)}ui.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Cn(o,()=>{An(o),t(void 0)}):(An(o),t(void 0))})}();return Ai.set(c,l),c}(na,{target:l,props:{config:xa,shadow:s}});const u=["click","input","change","keydown","keyup","focusin","focusout"];for(const p of u)s.addEventListener(p,e=>{let t=e.composedPath()[0],n=!1;for(;t&&t!==s;){const i=d(t);if(i){const r=t[i];r&&"function"==typeof r[p]&&(r[p].call(t,e),n=!0)}if(e.cancelBubble)break;t=t.assignedSlot||t.parentNode||t.host}n&&e.stopImmediatePropagation()},!0);window.addEventListener("accessify:reposition",e=>{const t=e.detail?.position;t&&xa&&(xa.position=t,c.replaceSync(ia(xa)))});const f=["https://accessify-dashboard.pages.dev","https://accessify.dev","https://www.accessify.dev","http://localhost:4321","http://localhost:5173","http://localhost:8787","http://127.0.0.1:4321","http://127.0.0.1:5173"];window.addEventListener("message",e=>{if(function(e){if(f.includes(e))return!0;try{const t=new URL(e);if(t.hostname.endsWith(".accessify.dev"))return!0;if(t.hostname.endsWith(".accessify-dashboard.pages.dev"))return!0}catch{}return!1}(e.origin)&&("accessify:preview-config"===e.data?.type&&(Object.assign(xa,e.data.config||{}),c.replaceSync(ia(xa))),"accessify:open"===e.data?.type)){const e=s.querySelector(".accessify-panel"),t=s.querySelector(".accessify-trigger");e&&e.setAttribute("aria-hidden","false"),t&&t.setAttribute("aria-expanded","true")}}),document.body.appendChild(wa),ga(xa).catch(()=>{}),xa.onReady?.()}function Sa(){ba&&(function(e){const t=Ai.get(e);t?(Ai.delete(e),t(void 0)):(q&&(ke in e?q?console.warn("%c[svelte] state_proxy_unmount\n%cTried to unmount a state proxy, rather than a component\nhttps://svelte.dev/e/state_proxy_unmount",$e,Le):console.warn("https://svelte.dev/e/state_proxy_unmount"):q?console.warn("%c[svelte] lifecycle_double_unmount\n%cTried to unmount a component that was not mounted\nhttps://svelte.dev/e/lifecycle_double_unmount",$e,Le):console.warn("https://svelte.dev/e/lifecycle_double_unmount")),Promise.resolve())}(ba),ba=null),wa?.remove(),wa=null}function _a(e,...t){const n={init:e=>ka(e),open:()=>ba?.open?.(),close:()=>ba?.close?.(),destroy:Sa};n[e]?.(...t)}window.__accessify_exec=_a;const Aa=window.Accessify;Aa?.q&&(Aa.q.forEach(e=>_a(...e)),Aa.q=[]);const Ma=function(e,...t){_a(e,...t)};Ma._loaded=!0,Object.defineProperty(Ma,"config",{get:()=>xa,enumerable:!0}),window.Accessify=Ma,window.A11yPlus=Ma;const Ea=document.currentScript;function Ca(){if(!Ea)return{};const e=Ea.dataset,t={};return e.openrouterKey&&(t.openRouterKey=e.openrouterKey),e.siteKey&&(t.siteKey=e.siteKey),e.proxyUrl&&(t.proxyUrl=e.proxyUrl),e.lang&&(t.lang=e.lang),e.position&&(t.position=e.position),e.theme&&(t.theme=e.theme),e.features&&(t.features=e.features.split(",").map(e=>e.trim()).filter(Boolean)),e.statementUrl&&(t.statementUrl=e.statementUrl),"true"===e.compact&&(t.compact=!0),e.zIndex&&(t.zIndex=parseInt(e.zIndex,10)),t.siteKey&&!t.proxyUrl&&(t.proxyUrl="https://accessify-api.accessify.workers.dev"),t}const Ia=[];function Ta(e,...t){const n={init:e=>ka({...Ca(),...e}),destroy:Sa};n[e]?.(...t)}window.__accessify_exec=Ta;const za=function(e,...t){za._loaded?Ta(e,...t):Ia.push([e,...t])};function $a(){za._loaded=!0,Ia.length>0&&(Ia.forEach(e=>Ta(...e)),Ia.length=0);const e=Ca(),t=Boolean(e.siteKey)||Ea?.hasAttribute("data-accessify"),n=Boolean(document.getElementById("accessify-root"));t&&!n&&(window.__accessify_dataConfig=e,ka(e));const i=window.Accessify?.config,r=function(e,...t){Ta(e,...t)};r._loaded=!0,i&&(r.config=i),window.Accessify=r,window.A11yPlus=r}za.q=Ia,za._loaded=!1,window.Accessify=za,window.A11yPlus=za,"complete"===document.readyState||"interactive"===document.readyState?setTimeout($a,1):document.addEventListener("DOMContentLoaded",$a);const La={light:{colorScheme:"light",pageBg:"#fbf7ef",text:"#1a1a1a",textStrong:"#0d0d0d",link:"#0047b3",linkVisited:"#3d2b85",focusRing:"#0047b3",borderContent:"#888078",inputBg:"#ffffff",inputBorder:"#6f675d",imgFilter:""},dark:{colorScheme:"dark",pageBg:"#101418",text:"#e8e4dc",textStrong:"#ffffff",link:"#7cc8f5",linkVisited:"#b8a0e8",focusRing:"#7cc8f5",borderContent:"#3a4a58",inputBg:"#1a2028",inputBorder:"#4a5a68",imgFilter:"brightness(0.90) contrast(1.06)"},high:{colorScheme:"dark",pageBg:"#000000",text:"#ffffff",textStrong:"#ffffff",link:"#ffff00",linkVisited:"#ffff00",focusRing:"#ffff00",borderContent:"#ffffff",inputBg:"#000000",inputBorder:"#ffffff",imgFilter:"contrast(1.25) brightness(0.95)"}},Na=":not(#accessify-root):not(#accessify-root *)",Ha="data-a11y-bg",Pa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e="off";const t="accessify-contrast",n="accessify-contrast-mode";function i(e){let n=document.getElementById(t);if("off"===e)return n?.remove(),void function(){const e=document.querySelectorAll(`[${Ha}]`);for(const t of e){const e=t;try{const t=JSON.parse(e.getAttribute(Ha)||"{}");e.style.background=t.bg||"",e.style.backgroundColor=t.bgColor||"",e.style.backgroundImage=t.bgImage||""}catch{}e.removeAttribute(Ha)}}();n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=function(e){const t=La[e],n="high"===e;return`\n html {\n color-scheme: ${t.colorScheme} !important;\n }\n html, body {\n background-color: ${t.pageBg} !important;\n }\n body *${Na} {\n background-color: transparent !important;\n background-image: none !important;\n }\n \n body *${Na} {\n color: ${t.text} !important;\n }\n body :where(h1, h2, h3, h4, h5, h6, strong, b, th)${Na} {\n color: ${t.textStrong} !important;\n }\n \n body :where(a)${Na} {\n color: ${t.link} !important;\n text-decoration: underline !important;\n text-decoration-color: ${t.link} !important;\n ${n?"text-decoration-thickness: 2px !important; text-underline-offset: 3px !important;":""}\n }\n body :where(a:visited)${Na} {\n color: ${t.linkVisited} !important;\n }\n body :where(a:hover, a:focus)${Na} {\n opacity: 0.85 !important;\n }\n \n body :where(input, textarea, select)${Na} {\n background-color: ${t.inputBg} !important;\n color: ${t.text} !important;\n border: 1px solid ${t.inputBorder} !important;\n box-shadow: none !important;\n }\n body :where(button, [role="button"])${Na} {\n color: ${t.text} !important;\n border-color: ${t.inputBorder} !important;\n ${n?`background-color: ${t.pageBg} !important; border: 2px solid ${t.inputBorder} !important;`:""}\n }\n \n body :where(a, button, input, textarea, select, [tabindex])${Na}:focus-visible {\n outline: ${n?"3px":"2px"} solid ${t.focusRing} !important;\n outline-offset: 2px !important;\n }\n \n body :where(table, th, td, hr, fieldset)${Na} {\n border-color: ${t.borderContent} !important;\n }\n `+(t.imgFilter?`\n body :where(img, video, picture)${Na} {\n filter: ${t.imgFilter} !important;\n }\n `:"")+(n?`\n body :where(::placeholder)${Na} {\n color: #aaaaaa !important;\n opacity: 1 !important;\n }\n body :where(::selection) {\n background: #ffff00 !important;\n color: #000000 !important;\n }\n body :where(mark)${Na} {\n background: #ffff00 !important;\n color: #000000 !important;\n }\n `:"")}(e),function(){const e=document.querySelectorAll("body *:not(#accessify-root):not(#accessify-root *)");for(const t of e){const e=t;"IMG"!==e.tagName&&"VIDEO"!==e.tagName&&"PICTURE"!==e.tagName&&"CANVAS"!==e.tagName&&"SVG"!==e.tagName&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&"SELECT"!==e.tagName&&(e.style.background||e.style.backgroundColor||e.style.backgroundImage)&&(e.hasAttribute(Ha)||e.setAttribute(Ha,JSON.stringify({bg:e.style.background,bgColor:e.style.backgroundColor,bgImage:e.style.backgroundImage})),e.style.setProperty("background","transparent","important"),e.style.setProperty("background-color","transparent","important"),e.style.setProperty("background-image","none","important"))}}()}return{id:"contrast",name:()=>"Contrast",description:"Increase contrast for better readability",icon:"contrast",category:"visual",activate:function(){const t=localStorage.getItem(n);e="light"===t||"dark"===t||"high"===t?t:"dark",i(e)},deactivate:function(){e="off",i("off"),localStorage.removeItem(n)},getState:()=>({id:"contrast",enabled:"off"!==e,value:e}),setState:t=>{e="light"===t||"dark"===t||"high"===t?t:"off",i(e),"off"===e?localStorage.removeItem(n):localStorage.setItem(n,e)}}}},Symbol.toStringTag,{value:"Module"})),Ga=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=100,t=null,n=!1;const i="accessify-text-size-styles",r="accessify-text-size",a="data-accessify-text-size-processed",o="data-accessify-original-inline-font-size",s="data-accessify-original-computed-font-size",c=new Set(["SCRIPT","STYLE","NOSCRIPT","IFRAME","SVG","PATH","G","DEFS","MASK","BR","META","LINK","HEAD"]);function l(e){if("accessify-root"===e.id||e.closest("#accessify-root"))return!1;if(c.has(e.tagName))return!1;const t=window.getComputedStyle(e),n=parseFloat(t.fontSize);return!(!Number.isFinite(n)||n<=0)&&"none"!==t.display&&"hidden"!==t.visibility&&(new Set(["INPUT","TEXTAREA","SELECT","BUTTON","LABEL","OPTION"]).has(e.tagName)||function(e){return Array.from(e.childNodes).some(e=>e.nodeType===Node.TEXT_NODE&&Boolean(e.textContent?.trim()))}(e))}function d(e){const t=e.getAttribute(o);null!==t&&(t?e.style.fontSize=t:e.style.removeProperty("font-size"),e.removeAttribute(a),e.removeAttribute(o),e.removeAttribute(s))}function u(){if(n||100===e)return;n=!0;const t=()=>{n=!1,f(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>t()):window.setTimeout(t,0)}function f(e){if(100===e)return t?.disconnect(),t=null,n=!1,document.getElementById(i)?.remove(),void document.querySelectorAll(`[${a}]`).forEach(e=>{d(e)});!function(e){let t=document.getElementById(i);t||(t=document.createElement("style"),t.id=i,document.head.appendChild(t)),t.textContent=`/* accessify text-size: ${e}% */`}(e);const r=e/100,c=new Set(document.body?[document.body,...Array.from(document.body.querySelectorAll("*"))].filter(l):[]);document.querySelectorAll(`[${a}]`).forEach(e=>{c.has(e)||d(e)}),c.forEach(e=>{!function(e,t){!function(e){if(e.hasAttribute(o)||e.setAttribute(o,e.style.fontSize||""),!e.hasAttribute(s)){const t=parseFloat(window.getComputedStyle(e).fontSize);Number.isFinite(t)&&t>0&&e.setAttribute(s,String(t))}}(e);const n=parseFloat(e.getAttribute(s)||"");if(!Number.isFinite(n)||n<=0)return;const i=Math.round(n*t*100)/100;e.style.setProperty("font-size",`${i}px`,"important"),e.setAttribute(a,"true")}(e,r)}),!t&&document.body&&(t=new MutationObserver(e=>{for(const t of e)if("childList"===t.type&&(t.addedNodes.length>0||t.removedNodes.length>0))return void u()}),t.observe(document.body,{childList:!0,subtree:!0}))}function p(e){return Math.min(200,Math.max(75,5*Math.round(e/5)))}return{id:"text-size",name:()=>"Text Size",description:"Adjust text size from 100% to 200%",icon:"text-size",category:"visual",activate:function(){const t=localStorage.getItem(r);e=t?p(parseInt(t,10)):150,f(e),localStorage.setItem(r,String(e))},deactivate:function(){e=100,f(100),localStorage.removeItem(r)},getState:()=>({id:"text-size",enabled:100!==e,value:e}),setState:t=>{e=p(t),f(e),localStorage.setItem(r,String(e))}}}},Symbol.toStringTag,{value:"Module"})),Oa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-keyboard-nav",n="accessify-skip-link",i="accessify-keyboard-help",r="accessify-keyboard-nav";let a=-1,o=-1,s=[],c=[],l=!1,d=null,u=null,f=null,p=null;const h=()=>w();function g(){return dr()}function m(){s=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function v(){c=Array.from(document.querySelectorAll(['header, [role="banner"]','nav, [role="navigation"]','main, [role="main"]','aside, [role="complementary"]','[role="search"]','[role="form"]','footer, [role="contentinfo"]','[role="region"][aria-label]'].join(", "))).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function y(){document.querySelectorAll(["a[href]","button","input","select","textarea",'[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="tab"]','[role="menuitem"]','[role="switch"]','[contenteditable="true"]',"summary"].join(", ")).forEach(e=>{e.hasAttribute("tabindex")||function(e){const t=e.tagName.toLowerCase();return!!["a","button","input","select","textarea"].includes(t)}(e)||(e.setAttribute("tabindex","0"),e.dataset.accessifyTabindex="true")})}function b(t){if(e){if("Escape"===t.key&&l){const e=document.getElementById(i);return e?.remove(),void(l=!1)}if(t.altKey)switch(t.key.toLowerCase()){case"h":t.preventDefault(),function(){if(m(),0===s.length)return;a=(a+1)%s.length;const e=s[a];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"l":t.preventDefault(),function(){if(v(),0===c.length)return;o=(o+1)%c.length;const e=c[o];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"k":t.preventDefault(),function(){const e=document.getElementById(i);if(e)return e.remove(),void(l=!1);l=!0;const t=document.createElement("div");t.id=i,t.setAttribute("role","dialog"),t.setAttribute("aria-label",fr("keyboard.shortcuts",g())),t.setAttribute("aria-modal","true"),t.innerHTML=`\n <div style="\n position: fixed; inset: 0; background: rgba(0,0,0,0.6);\n display: flex; align-items: center; justify-content: center;\n z-index: 2147483647;\n ">\n <div style="\n background: #fff; color: #222; border-radius: 12px; padding: 32px;\n max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto;\n box-shadow: 0 8px 32px rgba(0,0,0,0.3); font-family: system-ui, sans-serif;\n " role="document">\n <h2 style="margin: 0 0 16px; font-size: 20px; color: #1a73e8;">${fr("keyboard.shortcuts",g())}</h2>\n <table style="width: 100%; border-collapse: collapse; font-size: 14px;">\n <thead>\n <tr style="border-bottom: 2px solid #e0e0e0;">\n <th style="text-align: left; padding: 8px 12px;">${fr("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${fr("keyboard.action",g())}</th>\n </tr>\n </thead>\n <tbody>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + H</kbd></td>\n <td style="padding: 8px 12px;">${fr("keyboard.nextHeading",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + L</kbd></td>\n <td style="padding: 8px 12px;">${fr("keyboard.nextLandmark",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + K</kbd></td>\n <td style="padding: 8px 12px;">${fr("keyboard.toggleHelp",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Tab</kbd></td>\n <td style="padding: 8px 12px;">${fr("keyboard.nextFocusable",g())}</td>\n </tr>\n <tr>\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Escape</kbd></td>\n <td style="padding: 8px 12px;">${fr("keyboard.closeOverlay",g())}</td>\n </tr>\n </tbody>\n </table>\n <button style="\n margin-top: 20px; padding: 8px 24px; background: #1a73e8; color: #fff;\n border: none; border-radius: 6px; cursor: pointer; font-size: 14px;\n " id="accessify-keyboard-help-close">${fr("widget.close",g())}</button>\n </div>\n </div>\n `,document.body.appendChild(t);const n=document.getElementById("accessify-keyboard-help-close");n?.focus(),n?.addEventListener("click",()=>{t.remove(),l=!1})}()}}}function w(){e&&(u&&clearTimeout(u),u=setTimeout(()=>{m(),v(),a=-1,o=-1,y()},300))}function x(){e=!0,a=-1,o=-1,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify keyboard navigation */\n #${n} {\n position: fixed;\n top: -100px;\n left: 50%;\n transform: translateX(-50%);\n background: #1a73e8;\n color: #fff;\n padding: 12px 24px;\n border-radius: 0 0 8px 8px;\n font-size: 16px;\n font-family: system-ui, sans-serif;\n text-decoration: none;\n z-index: 2147483647;\n transition: top 0.2s ease;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n }\n #${n}:focus {\n top: 0;\n outline: 3px solid #ffdd00;\n outline-offset: 2px;\n }\n `}(),function(){if(function(){const e=document.querySelectorAll('a[href^="#"]');for(const t of e){const e=t.textContent?.toLowerCase()||"";if(e.includes("skip")||e.includes("main content")||e.includes("navigation"))return!0}return!1}())return;const e=document.querySelector("main")||document.getElementById("content")||document.getElementById("main-content")||document.querySelector('[role="main"]')||document.querySelector("h1");if(!e)return;e.id||(e.id="accessify-main-content");const t=document.createElement("a");t.id=n,t.href=`#${e.id}`,t.textContent=fr("keyboard.skipToContent",g()),t.addEventListener("click",t=>{t.preventDefault(),e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"start"})}),document.body.insertBefore(t,document.body.firstChild)}(),y(),document.addEventListener("keydown",b),function(){if(d)return;d=new MutationObserver(()=>w());const e=document.querySelector("main")||document.body;d.observe(e,{childList:!0,subtree:!0})}(),f||(f=history.pushState,history.pushState=function(...e){f.apply(this,e),w()}),p||(p=history.replaceState,history.replaceState=function(...e){p.apply(this,e),w()}),window.addEventListener("popstate",h),localStorage.setItem(r,"true")}function k(){e=!1,l=!1,d?.disconnect(),d=null,u&&(clearTimeout(u),u=null),f&&(history.pushState=f,f=null),p&&(history.replaceState=p,p=null),window.removeEventListener("popstate",h),document.removeEventListener("keydown",b),function(){const e=document.getElementById(n);e?.remove()}(),document.querySelectorAll('[data-accessify-tabindex="true"]').forEach(e=>{e.removeAttribute("tabindex"),delete e.dataset.accessifyTabindex}),function(){const e=document.getElementById(t);e?.remove()}();const a=document.getElementById(i);a?.remove(),localStorage.removeItem(r)}return{id:"keyboard-nav",name:()=>"Keyboard Navigation",description:"Enhanced keyboard navigation with skip links, heading/landmark jumping, and shortcut help",icon:"keyboard-nav",category:"motor",activate:x,deactivate:k,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?x():k()}}}},Symbol.toStringTag,{value:"Module"})),Ba=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-link-highlight",n="accessify-link-highlight";function i(){e=!0,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify link highlighting */\n a[href] {\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n text-decoration-color: #1a73e8 !important;\n background-color: rgba(26, 115, 232, 0.1) !important;\n padding: 2px 4px !important;\n border-radius: 2px !important;\n transition: background-color 0.15s ease !important;\n }\n\n a[href]:hover {\n background-color: rgba(26, 115, 232, 0.25) !important;\n }\n\n a[href]:visited {\n text-decoration-color: #681da8 !important;\n background-color: rgba(104, 29, 168, 0.1) !important;\n }\n\n a[href]:visited:hover {\n background-color: rgba(104, 29, 168, 0.25) !important;\n }\n\n /* External link indicator */\n a[href^="http"]:not([href*="${"undefined"!=typeof window?window.location.hostname:""}"]):after {\n content: " \\2197";\n font-size: 0.8em;\n vertical-align: super;\n }\n `}(),localStorage.setItem(n,"true")}function r(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),localStorage.removeItem(n)}return{id:"link-highlight",name:()=>"Link Highlight",description:"Highlight all links with thick underlines and background colors",icon:"link-highlight",category:"visual",activate:i,deactivate:r,getState:()=>({id:"link-highlight",enabled:e}),setState:e=>{e.enabled?i():r()}}}},Symbol.toStringTag,{value:"Module"})),Fa={height:8,opacity:.3},ja=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,i={...Fa};const r="accessify-reading-guide";function a(e){n=e.clientY,c()}function o(e){e.touches.length>0&&(n=e.touches[0].clientY,c())}function s(i){e&&t&&("ArrowUp"===i.key?(i.preventDefault(),n=Math.max(0,n-10),c()):"ArrowDown"===i.key&&(i.preventDefault(),n=Math.min(window.innerHeight,n+10),c()))}function c(){t&&(t.style.top=n-i.height/2+"px")}return{id:"reading-guide",name:()=>"Reading Guide",description:"Horizontal ruler that follows your cursor for easier reading",icon:"reading-guide",category:"cognitive",activate:function(){e=!0;const l=localStorage.getItem(r);if(l)try{const e=JSON.parse(l);i={height:Math.min(60,Math.max(2,e.height??Fa.height)),opacity:Math.min(1,Math.max(.1,e.opacity??Fa.opacity))}}catch{i={...Fa}}t=function(){const e=document.createElement("div");return e.id="accessify-reading-guide",e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"fixed",left:"0",width:"100%",height:`${i.height}px`,backgroundColor:`rgba(255, 255, 0, ${i.opacity})`,pointerEvents:"none",zIndex:"2147483646",top:"50%",transition:"top 0.05s linear",boxShadow:"0 0 4px rgba(0,0,0,0.2)"}),e}(),document.documentElement.appendChild(t),n=window.innerHeight/2,c(),document.addEventListener("mousemove",a,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",a),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t&&(t.remove(),t=null),localStorage.removeItem(r)},getState:()=>({id:"reading-guide",enabled:e,value:{...i}}),setState:e=>{i={height:Math.min(60,Math.max(2,e.height??i.height)),opacity:Math.min(1,Math.max(.1,e.opacity??i.opacity))},localStorage.setItem(r,JSON.stringify(i)),t&&(t.style.height=`${i.height}px`,t.style.backgroundColor=`rgba(255, 255, 0, ${i.opacity})`,c())}}}},Symbol.toStringTag,{value:"Module"})),Da=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=null,i=120;function r(e){if(!t||!n)return;const r=i/2,a=Math.max(0,e-r),o=Math.max(0,window.innerHeight-e-r);t.style.height=a+"px",n.style.height=o+"px"}function a(e){r(e.clientY)}function o(e){e.touches.length>0&&r(e.touches[0].clientY)}function s(e){if(t&&n&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const e=document.activeElement;if(!e)return;const r=e.getBoundingClientRect(),a=r.top+r.height/2,o=i/2;t.style.height=Math.max(0,a-o)+"px",n.style.height=Math.max(0,window.innerHeight-a-o)+"px"}}return{id:"reading-mask",name:()=>"Reading Mask",description:"Focus window that dims surrounding content",icon:"reading-mask",category:"motor",activate:function(){e=!0,function(){t=document.createElement("div"),n=document.createElement("div");const e="\n position: fixed; left: 0; right: 0; z-index: 999990;\n background: rgba(0, 0, 0, 0.65); pointer-events: none;\n transition: top 80ms ease, bottom 80ms ease, height 80ms ease;\n ";t.setAttribute("style",e+"top: 0;"),t.setAttribute("aria-hidden","true"),t.id="accessify-mask-top",n.setAttribute("style",e+"bottom: 0;"),n.setAttribute("aria-hidden","true"),n.id="accessify-mask-bottom",document.body.appendChild(t),document.body.appendChild(n)}(),document.addEventListener("mousemove",a,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",a),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t?.remove(),n?.remove(),t=null,n=null},getState:()=>({id:"reading-mask",enabled:e,value:i}),setState:e=>{i=Math.min(400,Math.max(60,e))}}}},Symbol.toStringTag,{value:"Module"})),Wa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="a11y-stop-animations",n="accessify-animation-stop";let i=null,r=null,a=null,o=null,s=null,c=[],l=new Map;const d=new Set(["transform","scale","rotate","translate","filter","backdropFilter","backdrop-filter","webkitTransform","webkitFilter","-webkit-transform","-webkit-filter","offset","easing","composite"]);function u(e){try{const t=e.effect?.target;if(!t)return!1;let n=t;for(;n;){if("accessify-root"===n.id)return!0;const e=n.parentNode||n.host;if(e===n)break;n=e}}catch{}return!1}function f(){try{const e=document.getAnimations?.();if(!e)return;for(const t of e)if(!u(t))try{t.finish()}catch{try{t.cancel()}catch{}}}catch{}}function p(){const e=window.innerHeight,t=1.5*e,n=document.querySelectorAll("*");for(const i of n){if("SCRIPT"===i.tagName||"STYLE"===i.tagName||"NOSCRIPT"===i.tagName||"META"===i.tagName||"LINK"===i.tagName)continue;if(i.closest("#accessify-root")||i.closest("accessify-widget"))continue;if(i.dataset.a11yOrigStyle)continue;const n=window.getComputedStyle(i);if("none"===n.display)continue;const r=i.getBoundingClientRect();if(r.top>e+t)continue;if(r.bottom<-t)continue;const a=i.style;let o=!1;const s={},c=parseFloat(n.opacity);c<.1&&""!==a.opacity?(s.opacity=a.opacity,i.style.opacity="1",o=!0):c<.1&&i.hasAttribute("data-framer-appear-id")&&(s.opacity=a.opacity||"",i.style.opacity="1",o=!0),a.transform&&/translate[XY]\([^0]/.test(a.transform)&&(s.transform=a.transform,i.style.transform="none",o=!0),"hidden"===a.visibility&&(s.visibility=a.visibility,i.style.visibility="visible",o=!0),a.clipPath&&"none"!==a.clipPath&&(s.clipPath=a.clipPath,i.style.clipPath="none",o=!0),o&&(i.dataset.a11yOrigStyle=JSON.stringify(s))}}function h(){document.querySelectorAll("[style]").forEach(e=>{if(e.closest("#accessify-root")||e.closest("accessify-widget"))return;if(e.dataset.a11yFrozenStyle)return;const t=e.style;(t.transform||t.opacity)&&(e.dataset.a11yFrozenStyle=JSON.stringify({transform:t.transform||"",opacity:t.opacity||""}))}),a||(a=()=>{e&&document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yFrozenStyle||"{}");t.transform&&e.style.transform!==t.transform&&(e.style.transform=t.transform)}catch{}})},window.addEventListener("scroll",a,{passive:!0,capture:!0}))}function g(){document.querySelectorAll("video").forEach(e=>{e.paused||(e.dataset.a11yPaused="true",e.pause(),c.push(e))})}function m(e){if(!(e.currentSrc||e.src||"").toLowerCase().match(/\.gif(\?|$)/i))return;if(l.has(e))return;const t=()=>{try{const t=e.naturalWidth||e.width,n=e.naturalHeight||e.height;if(0===t||0===n)return;const i=document.createElement("canvas");i.width=t,i.height=n;const r=i.getContext("2d");if(!r)return;r.drawImage(e,0,0),l.set(e,e.src),e.src=i.toDataURL("image/png")}catch{}};e.complete&&e.naturalWidth>0?t():e.addEventListener("load",t,{once:!0})}function v(){document.querySelectorAll("img").forEach(m)}function y(){document.querySelectorAll("svg").forEach(e=>{try{e.pauseAnimations?.()}catch{}})}function b(){if(!e){e=!0,s||(s=Element.prototype.animate,Element.prototype.animate=function(t,n){if(!e)return s.call(this,t,n);try{let e=this;for(;e;){if("accessify-root"===e.id)return s.call(this,t,n);const i=e.parentNode||e.host;if(i===e)break;e=i}}catch{}const i=function(e){if(!e)return!1;try{if(Array.isArray(e)){for(const t of e){if(!t||"object"!=typeof t)return!1;for(const e of Object.keys(t))if(!d.has(e))return!1}return!0}for(const t of Object.keys(e))if(!d.has(t))return!1;return!0}catch{return!1}}(t);let r;"number"==typeof n?r={duration:.001,fill:"forwards"}:(r={...n||{},duration:.001,delay:0,iterations:1,fill:"forwards"},delete r.iterationStart,delete r.endDelay);const a=s.call(this,t,r);try{i?a.cancel():a.finish()}catch{}return a}),function(){if(document.getElementById(t))return;const e=document.createElement("style");e.id=t,e.textContent="\n *, *::before, *::after {\n animation-duration: 0.001ms !important;\n animation-iteration-count: 1 !important;\n animation-delay: 0s !important;\n animation-fill-mode: forwards !important;\n transition-duration: 0.001ms !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n animation-timeline: auto !important;\n scroll-timeline: none !important;\n }\n /* Neutralize interaction transforms (hover zoom, click scale, focus\n lift). Without this, CSS like `.card:hover { transform: scale(1.05) }`\n still visibly changes the element — just instantly. Users who\n disable animations expect NO motion including the end-state. */\n *:not(#accessify-root):not(#accessify-root *):hover,\n *:not(#accessify-root):not(#accessify-root *):focus,\n *:not(#accessify-root):not(#accessify-root *):focus-within,\n *:not(#accessify-root):not(#accessify-root *):focus-visible,\n *:not(#accessify-root):not(#accessify-root *):active {\n transform: none !important;\n scale: none !important;\n rotate: none !important;\n translate: none !important;\n }\n ",document.head.appendChild(e)}(),f(),function(){const e=window.gsap;if(e?.globalTimeline)try{e.globalTimeline.timeScale(0),window._a11yGsapPatched=!0}catch{}}(),p(),h(),g(),o||(o=HTMLVideoElement.prototype.play,HTMLVideoElement.prototype.play=function(){return e?Promise.resolve():o.call(this)}),v(),y(),document.querySelectorAll("marquee").forEach(e=>{try{e.stop?.()}catch{}}),i||(i=new MutationObserver(t=>{if(!e)return;let n=!1;for(const e of t)if(e.addedNodes.length>0){n=!0;break}n&&(f(),p(),g(),v(),y())}),i.observe(document.body,{childList:!0,subtree:!0})),r||(r=setInterval(()=>{e&&f()},500));for(const t of[50,200,500,1e3,2e3,4e3])setTimeout(()=>{e&&(f(),p(),h(),g(),v())},t);localStorage.setItem(n,"true")}}function w(){e=!1,r&&(clearInterval(r),r=null),i?.disconnect(),i=null,s&&(Element.prototype.animate=s,s=null),a&&(window.removeEventListener("scroll",a,!0),a=null),document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{delete e.dataset.a11yFrozenStyle}),function(){const e=window.gsap;if(window._a11yGsapPatched&&e?.globalTimeline)try{e.globalTimeline.timeScale(1),delete window._a11yGsapPatched}catch{}}(),document.querySelectorAll("[data-a11y-orig-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yOrigStyle||"{}");for(const[n,i]of Object.entries(t))""===i?e.style.removeProperty(n):e.style[n]=i}catch{}delete e.dataset.a11yOrigStyle}),document.querySelectorAll("marquee").forEach(e=>{try{e.start?.()}catch{}}),document.querySelectorAll("svg").forEach(e=>{try{e.unpauseAnimations?.()}catch{}}),function(){for(const[e,t]of l)try{e.src=t}catch{}l.clear()}(),o&&(HTMLVideoElement.prototype.play=o,o=null),document.querySelectorAll("video[data-a11y-paused]").forEach(e=>{try{e.play()}catch{}delete e.dataset.a11yPaused}),c=[],document.getElementById(t)?.remove(),localStorage.removeItem(n)}return{id:"animation-stop",name:()=>"Stop Animations",description:"Pause all animations, transitions, and auto-playing videos (WCAG 2.3.1)",icon:"animation-stop",category:"visual",activate:b,deactivate:w,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?b():w()}}}},Symbol.toStringTag,{value:"Module"})),Ka=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,i=null;function r(e){return/url\s*\(/.test(e)&&!/gradient\s*\(/.test(e)}return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let a=document.getElementById(t);a||(a=document.createElement("style"),a.id=t,document.head.appendChild(a)),a.textContent='\n /* Standard image elements */\n img, picture, video, canvas,\n [role="img"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* SVGs that are decorative images (not icons or UI elements) */\n svg:not([aria-hidden="true"]):not([width]):not([class*="icon"]) {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* Lazy-load images that haven\'t loaded yet */\n img[data-src], img[data-lazy-src], img[data-original],\n img[loading="lazy"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n ',function(){const e=document.querySelectorAll('[style*="background-image"], [style*="background:"], figure, [class*="image"], [class*="photo"], [class*="hero"], [class*="banner"], [data-framer-background-image-wrapper]');for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&r(e.backgroundImage)&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important"))}}(),i||(i=new MutationObserver(t=>{if(e)for(const e of t)for(const t of e.addedNodes){if(!(t instanceof HTMLElement))continue;if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&r(e.backgroundImage)&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll('img, picture, video, [role="img"], [style*="background-image"]').forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==t.backgroundImage&&r(t.backgroundImage)&&(n.set(e,e.style.backgroundImage),e.style.setProperty("background-image","none","important"))})}}),i.observe(document.body,{childList:!0,subtree:!0}))},deactivate:function(){e=!1,i?.disconnect(),i=null,function(){for(const[e,t]of n)try{e.style.backgroundImage=t}catch{}n.clear()}(),document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function Ra(e){return`data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${e}" viewBox="0 0 ${e} ${e}">\n <defs>\n <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">\n <feDropShadow dx="1" dy="1" stdDeviation="1" flood-color="#000" flood-opacity="0.5"/>\n </filter>\n </defs>\n <g filter="url(#shadow)">\n <path d="M ${.15*e} ${.05*e} L ${.15*e} ${.75*e} L ${.35*e} ${.6*e} L ${.55*e} ${.9*e} L ${.65*e} ${.85*e} L ${.45*e} ${.55*e} L ${.7*e} ${.5*e} Z"\n fill="white" stroke="black" stroke-width="${.04*e}" stroke-linejoin="round"/>\n </g>\n </svg>`)}`}const qa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",i="accessify-big-cursor",r={48:Ra(48),64:Ra(64)};function a(e){let t=document.getElementById(n);t||(t=document.createElement("style"),t.id=n,document.head.appendChild(t)),t.textContent=function(e){const t=parseInt(e,10),n=Math.round(.15*t);return`\n /* accessify big cursor */\n html, html * {\n cursor: url('${r[e]}') ${n} ${n}, auto !important;\n }\n html a, html a *, html button, html button *,\n html input[type="submit"], html input[type="button"],\n html [role="button"], html [role="button"] * {\n cursor: url('${r[e]}') ${n} ${n}, pointer !important;\n }\n `}(e)}return{id:"big-cursor",name:()=>"Big Cursor",description:"Enlarge the mouse cursor for easier visibility",icon:"big-cursor",category:"motor",activate:function(){e=!0;const n=localStorage.getItem(i);t="64"===n?"64":"48",a(t)},deactivate:function(){e=!1,function(){const e=document.getElementById(n);e?.remove()}(),localStorage.removeItem(i)},getState:()=>({id:"big-cursor",enabled:e,value:t}),setState:n=>{t="64"===n?"64":"48",e&&a(t),localStorage.setItem(i,t)}}}},Symbol.toStringTag,{value:"Module"})),Ua=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";let i=null,r=null,a=null,o=null;const s=()=>p();let c="";function l(){return dr()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",fr("pageStructure.title",l()));const e=function(){const e=[];return document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.textContent?.trim()||"";n&&e.push({tag:t.tagName.toLowerCase(),text:n,el:t})}),e}(),i=function(){const e=[];return document.querySelectorAll(["main","nav","aside","header","footer","section[aria-label]","section[aria-labelledby]",'[role="main"]','[role="navigation"]','[role="complementary"]','[role="banner"]','[role="contentinfo"]','[role="search"]'].join(",")).forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.getAttribute("role")||t.tagName.toLowerCase(),i=t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||n;e.push({role:n,label:i,el:t})}),e}(),r={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let a=`\n <style>\n #${n} {\n position: fixed; top: 50%; left: 50%;\n transform: translate(-50%, -50%);\n z-index: 999998;\n background: #fff; color: #1a1a1a;\n border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2);\n padding: 24px; width: 400px; max-width: calc(100vw - 32px); max-height: 80vh;\n overflow-y: auto; font-family: system-ui, sans-serif;\n font-size: 14px; line-height: 1.5;\n }\n #${n} h3 { margin: 0 0 12px; font-size: 16px; }\n #${n} .ps-section { margin-bottom: 16px; }\n #${n} .ps-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 6px; }\n #${n} .ps-item {\n display: block; width: 100%; text-align: left;\n padding: 6px 8px; border: none; background: none;\n cursor: pointer; border-radius: 6px; font-size: 13px;\n color: #1a1a1a; font-family: inherit;\n }\n #${n} .ps-item:hover { background: #f0f0f2; }\n #${n} .ps-item:focus-visible { outline: 2px solid #0055CC; outline-offset: 1px; }\n #${n} .ps-tag { color: #888; font-size: 11px; margin-right: 6px; }\n #${n} .ps-close {\n position: absolute; top: 12px; right: 12px;\n background: none; border: none; cursor: pointer;\n font-size: 18px; color: #888; padding: 4px 8px; border-radius: 4px;\n }\n #${n} .ps-close:hover { background: #f0f0f2; }\n @media (prefers-color-scheme: dark) {\n #${n} { background: #1a1a1a; color: #f0f0f0; }\n #${n} .ps-item { color: #f0f0f0; }\n #${n} .ps-item:hover { background: #2a2a2e; }\n #${n} .ps-close { color: #aaa; }\n #${n} .ps-close:hover { background: #2a2a2e; }\n }\n </style>\n <button class="ps-close" aria-label="${fr("widget.close",l())}">×</button>\n <h3>${fr("pageStructure.title",l())}</h3>\n `;e.length>0&&(a+=`<div class="ps-section"><div class="ps-label">${fr("pageStructure.headings",l())}</div>`,e.forEach((e,t)=>{a+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${r[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${u(e.text.slice(0,80))}\n </button>`}),a+="</div>"),i.length>0&&(a+=`<div class="ps-section"><div class="ps-label">${fr("pageStructure.landmarks",l())}</div>`,i.forEach((e,t)=>{a+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${u(e.role)}</span>${u(e.label.slice(0,60))}\n </button>`}),a+="</div>"),0===e.length&&0===i.length&&(a+=`<p style="color:#888">${fr("pageStructure.empty",l())}</p>`),t.innerHTML=a,t.addEventListener("click",t=>{const n=t.target.closest(".ps-item");if(n){const t=n.dataset.type,r=parseInt(n.dataset.index||"0",10);let a;"heading"===t?a=e[r]?.el:"landmark"===t&&(a=i[r]?.el),a&&(a.scrollIntoView({behavior:"smooth",block:"center"}),a.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&h()}),document.body.appendChild(t);const o=t.querySelector(".ps-item, .ps-close");o?.focus()}function u(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function f(){const e=document.querySelectorAll("h1, h2, h3, h4, h5, h6");let t="";return e.forEach(e=>{t+=e.textContent?.trim().slice(0,20)||""}),t}function p(){e&&t&&(r&&clearTimeout(r),r=setTimeout(()=>{const e=f();e!==c&&(c=e,t?.remove(),d())},300))}function h(){e=!1,i?.disconnect(),i=null,r&&(clearTimeout(r),r=null),a&&(history.pushState=a,a=null),o&&(history.replaceState=o,o=null),window.removeEventListener("popstate",s),t?.remove(),t=null}return{id:"page-structure",name:()=>"Page Structure",description:"View headings and landmarks for quick navigation",icon:"page-structure",category:"motor",activate:function(){e=!0,c=f(),d(),function(){if(i)return;i=new MutationObserver(()=>p());const e=document.querySelector("main")||document.body;i.observe(e,{childList:!0,subtree:!0})}(),a||(a=history.pushState,history.pushState=function(...e){a.apply(this,e),p()}),o||(o=history.replaceState,history.replaceState=function(...e){o.apply(this,e),p()}),window.addEventListener("popstate",s)},deactivate:h,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),Va={speed:1},Ya=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Va},n=null,i=null,r=!1,a=!1,o=!0,s=[],c=0,l=null,d="en";const u="accessify-tts",f="accessify-tts-controls",p="accessify-tts-styles",h="accessify-tts-highlight";function g(){speechSynthesis.cancel(),r=!1,a=!1,s=[],c=0,y(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,y(),o.classList.add(h),i=o);const u=function(e){const t=e.match(/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(!t)return[e];const n=[];let i="";for(const r of t){const e=r.trim();e&&(i+=(i?" ":"")+e,(i.length>80||/[.!?]$/.test(i))&&(n.push(i),i=""))}return i.trim()&&n.push(i.trim()),n.length>0?n:[e]}(e).slice(0,50);s=u.map(e=>{const n=new SpeechSynthesisUtterance(e);return n.rate=t.speed,n.lang=d,l&&(n.voice=l),n}),c=0,r=!0,a=!1,x(),v()}function v(){if(c>=s.length)return r=!1,a=!1,y(),void x();const e=s[c];let t=null,n=!1;function i(){n||(n=!0,t&&(clearTimeout(t),t=null))}t=setTimeout(()=>{n||(i(),speechSynthesis.cancel(),c++,c<s.length&&r?setTimeout(()=>v(),100):(r=!1,a=!1,y(),x()))},2e4),e.onend=()=>{i(),c++,c<s.length&&r?setTimeout(()=>v(),50):(r=!1,a=!1,y(),x())},e.onerror=e=>{i(),"interrupted"!==e.error&&"canceled"!==e.error&&(console.warn("[Accessify TTS] Speech error:",e.error),c++,c<s.length&&r)?setTimeout(()=>v(),100):(r=!1,a=!1,y(),x())},speechSynthesis.speak(e)}function y(){i&&(i.classList.remove(h),i=null),document.querySelectorAll(`.${h}`).forEach(e=>e.classList.remove(h))}function b(t){if(!e||!o)return;const i=t.target;if(!i)return;if(n?.contains(i))return;const r=document.getElementById("accessify-root");if(r&&(r===i||r.contains(i)))return;const a=i.tagName;if("A"===a||"BUTTON"===a||"INPUT"===a||"SELECT"===a||"TEXTAREA"===a||i.closest('a, button, input, select, textarea, [role="button"]'))return;t.preventDefault();const s=function(e){if(w(e).trim().length>0)return e;let t=e;for(;t&&t!==document.body;){if(w(t).trim().length>0)return t;t=t.parentElement}return null}(i);if(!s)return;const c=w(s);c.trim()&&m(c,s)}function w(e){return(e.innerText||e.textContent||"").trim()}function x(){if(!n)return;const e=n.querySelector(".accessify-tts-play"),t=n.querySelector(".accessify-tts-hint");e&&(r&&!a?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="5" y="3" width="4" height="18"/><rect x="15" y="3" width="4" height="18"/></svg>',e.setAttribute("aria-label","Pause"),e.title="Pause"):r&&a?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Resume"),e.title="Resume"):(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Play / Pause"),e.title="Play / Pause")),t&&(t.textContent=r&&!a?"Speaking...":a?"Paused":"Click any text to read it aloud")}function k(){localStorage.setItem(u,JSON.stringify({speed:t.speed}))}return{id:"tts",name:()=>"Text-to-Speech",description:"Click any text to hear it read aloud with adjustable speed",icon:"tts",category:"cognitive",activate:function(){e||(e=!0,function(){const e=localStorage.getItem(u);if(e)try{const n=JSON.parse(e);t.speed=Math.min(2,Math.max(.5,n.speed??Va.speed))}catch{t={...Va}}}(),d=function(){const e=document.documentElement.lang;if(e)return e.toLowerCase();const t=document.querySelector('meta[http-equiv="content-language"]');return t?.content?t.content.toLowerCase():"en"}(),function(e=3e3){return new Promise(t=>{if(speechSynthesis.getVoices().length>0)return void t();let n=!1;const i=()=>{n||(n=!0,t())};speechSynthesis.addEventListener("voiceschanged",i,{once:!0}),setTimeout(i,e)})}().then(()=>{l=function(e){const t=speechSynthesis.getVoices();if(0===t.length)return null;const n=e.split("-")[0];if("de"===n){const e=t.find(e=>e.lang.toLowerCase().startsWith("de-de")&&!1===e.localService);if(e)return e;const n=t.find(e=>e.lang.toLowerCase().startsWith("de-de"));if(n)return n;const i=t.find(e=>e.lang.toLowerCase().startsWith("de"));if(i)return i}return t.find(t=>t.lang.toLowerCase()===e)||t.find(e=>e.lang.toLowerCase().startsWith(n))||t[0]||null}(d)}),function(){let e=document.getElementById(p);e||(e=document.createElement("style"),e.id=p,document.head.appendChild(e)),e.textContent=`\n /* accessify TTS styles */\n .${h} {\n background-color: rgba(78, 168, 222, 0.15) !important;\n outline: 2px solid rgba(78, 168, 222, 0.5) !important;\n outline-offset: 2px !important;\n border-radius: 3px !important;\n transition: background-color 0.2s ease, outline-color 0.2s ease !important;\n }\n\n #${f} .accessify-tts-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n padding: 0;\n margin: 0;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 6px;\n background: rgba(255,255,255,0.08);\n color: #f0f0f0;\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n line-height: 1;\n }\n\n #${f} .accessify-tts-btn:hover {\n background: rgba(255,255,255,0.18);\n border-color: rgba(255,255,255,0.3);\n }\n\n #${f} .accessify-tts-btn:focus-visible {\n outline: 2px solid #4ea8de;\n outline-offset: 1px;\n }\n\n #${f} .accessify-tts-btn:active {\n background: rgba(255,255,255,0.25);\n }\n\n @media (pointer: coarse) {\n #${f} .accessify-tts-btn {\n width: 40px;\n height: 40px;\n }\n #${f} .accessify-tts-hint {\n display: none;\n }\n }\n `}(),n=function(){const e=document.createElement("div");e.id=f,e.setAttribute("role","toolbar"),e.setAttribute("aria-label","Text-to-Speech controls"),Object.assign(e.style,{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",zIndex:"2147483646",display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"center",gap:"6px",padding:"6px 14px",maxWidth:"100vw",boxSizing:"border-box",background:"#1a1a2e",color:"#f0f0f0",borderRadius:"0 0 10px 10px",boxShadow:"0 4px 16px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",lineHeight:"1",userSelect:"none",transition:"opacity 0.2s ease"});const n=document.createElement("button");n.className="accessify-tts-btn accessify-tts-play",n.setAttribute("aria-label","Play / Pause"),n.title="Play / Pause",n.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',n.addEventListener("click",()=>{r&&r&&(a?(speechSynthesis.resume(),a=!1):(speechSynthesis.pause(),a=!0),x())});const i=document.createElement("button");i.className="accessify-tts-btn accessify-tts-stop",i.setAttribute("aria-label","Stop"),i.title="Stop",i.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="2"/></svg>',i.addEventListener("click",()=>{g()});const o=document.createElement("div");Object.assign(o.style,{display:"flex",alignItems:"center",gap:"4px",marginLeft:"4px"});const c=document.createElement("label");c.textContent="Speed",c.setAttribute("for","accessify-tts-speed"),Object.assign(c.style,{fontSize:"11px",opacity:"0.8",whiteSpace:"nowrap"});const l=document.createElement("input");l.type="range",l.id="accessify-tts-speed",l.min="0.5",l.max="2",l.step="0.1",l.value=String(t.speed),l.setAttribute("aria-label","Speech speed"),Object.assign(l.style,{width:"70px",accentColor:"#4ea8de",cursor:"pointer"});const d=document.createElement("span");d.className="accessify-tts-speed-val",d.textContent=`${t.speed.toFixed(1)}x`,Object.assign(d.style,{fontSize:"11px",minWidth:"30px",textAlign:"center",opacity:"0.8"}),l.addEventListener("input",()=>{const e=parseFloat(l.value);t.speed=e,d.textContent=`${e.toFixed(1)}x`,k();for(const t of s)t.rate=e}),o.appendChild(c),o.appendChild(l),o.appendChild(d);const u=document.createElement("div");Object.assign(u.style,{width:"1px",height:"18px",background:"rgba(255,255,255,0.2)",margin:"0 4px"});const p=navigator.maxTouchPoints>0,h=document.createElement("span");h.className="accessify-tts-hint",h.textContent=p?"Tap any text to read it aloud":"Click any text to read it aloud",Object.assign(h.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap",display:window.innerWidth<=640?"none":"inline"});const m=document.createElement("span");return Object.assign(m.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),m.textContent="For full screen reader support, use NVDA, JAWS, or VoiceOver",e.appendChild(n),e.appendChild(i),e.appendChild(u),e.appendChild(o),e.appendChild(u.cloneNode(!0)),e.appendChild(h),e.appendChild(m),e}(),document.documentElement.appendChild(n),o=!0,document.addEventListener("click",b,!0))},deactivate:function(){e=!1,g(),document.removeEventListener("click",b,!0),o=!1,n&&(n.remove(),n=null),y(),function(){const e=document.getElementById(p);e?.remove()}(),l=null},getState:()=>({id:"tts",enabled:e,value:{speed:t.speed}}),setState:e=>{if(void 0!==e.speed){t.speed=Math.min(2,Math.max(.5,e.speed)),k();const i=document.getElementById("accessify-tts-speed");i&&(i.value=String(t.speed));const r=n?.querySelector(".accessify-tts-speed-val");r&&(r.textContent=`${t.speed.toFixed(1)}x`)}}}}},Symbol.toStringTag,{value:"Module"}));function Ja(e){const t=new Set,n=e.toLowerCase().replace(/[^\p{L}\p{N}\s]/gu," ").split(/\s+/);for(const i of n)i.length>=3&&t.add(i);return t}function Xa(e,t){if(0===e.size||0===t.size)return 0;let n=0;for(const r of e)t.has(r)&&n++;const i=e.size+t.size-n;return 0===i?0:n/i}function Za(e){const t=e.tagName;return"BODY"===t||"HTML"===t}function Qa(e,t){let n=e;for(let i=0;i<4&&n;i++){if(Za(n))return!1;if(t.has(n))return!0;n=n.parentElement}return!1}function eo(e){return!!e.closest('nav, [role="navigation"], [role="menu"], [role="menubar"], [role="menuitem"]')}const to=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de",n){let i=!1,r=("string"==typeof n?n:n?.simplificationLevel||void 0)||"einfache",a=[],o=null,s=null,c=0,l=null,d=null,u="manual";const f=new Map,p="accessify-text-simplify",h="data-accessify-simplified",g="data-accessify-original",m="data-accessify-block-hash";let v=null;const y=[],b=()=>!!window.__ACCESSIFY_DIAG;function w(e){const t={hash:e.hash,text:e.text||"",tag:e.tag||"",manifestMatch:e.manifestMatch||"none",idbHit:e.idbHit||!1,liveAI:e.liveAI||!1,persistOk:e.persistOk??null,replaced:e.replaced||!1,skipReason:e.skipReason||null,stale:e.stale||!1,source:e.source||"skipped"};return v?.blocks.push(t),t}function x(){v&&(v.totalReplaced=v.blocks.filter(e=>e.replaced).length,v.totalSkipped=v.blocks.filter(e=>!e.replaced).length,y.push(v),window.__accessifyDiag=y,b()&&(console.groupCollapsed(`%c[Accessify DIAG] Run complete: ${v.route}`,"color: #38bdf8; font-weight: bold"),console.table({route:v.route,level:v.level,siteMode:v.siteMode,manifestLoaded:v.manifestLoaded,manifestBlocks:v.manifestBlocks,elementsFound:v.elementsFound,"Phase 1 (manifest)":v.phase1Applied,"Phase 1 stale":v.phase1Stale,"Phase 1.5 (IDB)":v.phase15IdbHits,"Phase 2 (AI)":v.phase2AICalls,"Phase 2 errors":v.phase2AIErrors,totalReplaced:v.totalReplaced,totalSkipped:v.totalSkipped}),console.table(v.blocks.map(e=>({hash:e.hash,text:e.text,tag:e.tag,source:e.source,manifest:e.manifestMatch,idb:e.idbHit,ai:e.liveAI,persist:e.persistOk,replaced:e.replaced,skip:e.skipReason,stale:e.stale}))),console.groupEnd()))}const k="blocks";function S(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(k)||e.createObjectStore(k)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function _(e){try{const t=await S();return new Promise(n=>{const i=t.transaction(k,"readonly").objectStore(k).get(e);i.onsuccess=()=>n(i.result??null),i.onerror=()=>n(null)})}catch{return null}}async function A(e,t){try{(await S()).transaction(k,"readwrite").objectStore(k).put(t,e)}catch{}}function M(e){return`${window.location.origin+window.location.pathname}:simplify:${r}:${e}`}const E=["details",'[role="region"][aria-labelledby]',"[aria-expanded]",'[data-state="open"]','[data-state="closed"]','[class*="accordion" i]','[class*="faq" i]','[class*="disclosure" i]','[class*="expandable" i]','[class*="collapsible" i]','[class*="collapse" i]'].join(", "),C=/^(Bild|Foto|Photo|Image|Fotocredit|Credit|Text|Autor|Author|Quelle|Source|Copyright|©|\(c\))\s*[:·\-–—]/i;function I(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=5381;for(let i=0;i<t.length;i++)n=(n<<5)+n+t.charCodeAt(i)&2147483647;return n.toString(36)}function T(e,t){const n=e.replace(/\s+/g," ").trim(),i=t.replace(/\s+/g," ").trim();if(n===i)return 0;if(n.length>500||i.length>500){const e=Math.abs(n.length-i.length);if(e>3)return e;let t=e;const r=Math.min(n.length,i.length);for(let a=0;a<r;a++)if(n[a]!==i[a]&&t++,t>3)return t;return t}const r=n.length,a=i.length;if(Math.abs(r-a)>3)return Math.abs(r-a);const o=Array.from({length:a+1},(e,t)=>t);for(let s=1;s<=r;s++){let e=o[0];o[0]=s;for(let t=1;t<=a;t++){const r=o[t];o[t]=n[s-1]===i[t-1]?e:1+Math.min(e,o[t],o[t-1]),e=r}if(Math.min(...o)>3)return 4}return o[a]}function z(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let i;for(;i=n.nextNode();){const e=i.nodeValue?.trim();e&&e.length>0&&t.push(i)}return t}function $(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function L(e){let t=e;for(;t&&t!==document.body;){const e=getComputedStyle(t),n=e.overflow+" "+e.overflowY,i=n.includes("hidden")||n.includes("clip"),r="none"!==e.maxHeight||"auto"!==e.height&&""!==e.height&&!e.height.includes("%");if(i&&r)return t;t=t.parentElement}return null}function N(e,t){const n=getComputedStyle(e);"none"!==n.maxHeight&&(t.push({el:e,property:"maxHeight",originalValue:e.style.maxHeight}),e.style.maxHeight="none"),(n.overflow.includes("hidden")||n.overflowY.includes("hidden"))&&(t.push({el:e,property:"overflow",originalValue:e.style.overflow}),e.style.overflow="visible");const i=$(e);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:t}:(H(t),{safe:!1,patches:[]})}function H(e){for(const t of e)t.el.style[t.property]=t.originalValue}function P(e,t,n){const i=e.innerHTML,r=z(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=z(e);if(0===n.length)return;if(1===n.length)return void(n[0].nodeValue=t);const i=t.match(/[^.!?]+[.!?]*\s*/g)||[t],r=n.reduce((e,t)=>e+(t.nodeValue?.trim().length||0),0);if(0===r){n[0].nodeValue=t;for(let e=1;e<n.length;e++)n[e].nodeValue="";return}let a=0;for(let o=0;o<n.length;o++){const e=(n[o].nodeValue?.trim().length||0)/r,t=Math.max(1,Math.round(e*i.length)),s=i.slice(a,a+t).join("");n[o].nodeValue=s||"",a+=t}if(a<i.length){const e=n[n.length-1];e.nodeValue=(e.nodeValue||"")+i.slice(a).join("")}}(e,t);const{safe:o,patches:s}=function(e){const t=[],n=$(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=L(e);if(!n)return{safe:!0,patches:[]};const i=$(n);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:[]}:N(n,t)}const i=L(e);return i?N(i,t):{safe:!0,patches:[]}}(e);if(!o){for(const e of r)e.node.parentNode&&(e.node.data=e.original);return setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),console.warn("[Accessify] Block skipped — layout clipping detected after replacement:",e.textContent?.slice(0,60)),c++,!1}e.setAttribute(h,"true"),e.setAttribute(g,i),n&&e.setAttribute(m,n);const d=window.getComputedStyle(e);return d.textTransform&&"none"!==d.textTransform&&(e.dataset.accessifyOrigTransform=d.textTransform,e.style.setProperty("text-transform","none","important")),a.push({el:e,originalHtml:i,savedTextNodes:r,ancestorPatches:s}),l?.observe(e),setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),!0}function G(e){if(e.savedTextNodes.length>0)for(const t of e.savedTextNodes)t.node.parentNode&&(t.node.data=t.original);else e.el.innerHTML=e.originalHtml;e.el.removeAttribute(h),e.el.removeAttribute(g),e.el.removeAttribute(m),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),H(e.ancestorPatches),l?.unobserve(e.el),a=a.filter(t=>t.el!==e.el)}const O=new Map;function B(e){const t=e.tagName.toLowerCase();if(e.id)return`#${CSS.escape(e.id)}`;const n=e.parentElement;if(!n)return t;const i=Array.from(n.children).filter(t=>t.tagName===e.tagName);return 1===i.length?t:`${t}:nth-of-type(${i.indexOf(e)+1})`}const F=[];let j=null;const D=new Set;function W(e,t,n,i,a,o){D.has(t)||(D.add(t),F.push({blockHash:t,originalText:n,result:i,selector:a}),j&&clearTimeout(j),j=setTimeout(()=>function(e,t){if(0===F.length)return;const n=t||"https://accessify-api.accessify.workers.dev",i=window.location.origin+window.location.pathname,a=F.splice(0);fetch(`${n}/v1/cache/persist`,{method:"POST",headers:{"Content-Type":"application/json","X-Site-Key":e},body:JSON.stringify({siteKey:e,url:i,feature:"simplify",variant:r,blocks:a})}).then(e=>{if(e.ok){if(window.__ACCESSIFY_DEBUG&&console.log(`[Accessify] Persisted ${a.length} blocks to D1+KV`),b()&&v){for(const e of a){const t=v.blocks.find(t=>t.hash===e.blockHash);t&&(t.persistOk=!0)}console.log(`%c[Accessify DIAG] Persist OK: ${a.length} blocks → ${i}`,"color: #22c55e")}}else if(console.warn(`[Accessify] Persist failed: ${e.status}`),b()&&v){for(const e of a){const t=v.blocks.find(t=>t.hash===e.blockHash);t&&(t.persistOk=!1)}console.warn(`%c[Accessify DIAG] Persist FAILED (${e.status}): ${a.length} blocks`,"color: #ef4444")}}).catch(e=>{if(console.warn("[Accessify] Failed to persist live simplification:",e),b()&&v)for(const t of a){const e=v.blocks.find(e=>e.hash===t.blockHash);e&&(e.persistOk=!1)}})}(e,o),2e3))}function K(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function R(e){e.style.opacity="",e.style.transition=""}function q(e,t){U()}function U(){s?.remove(),s=null,document.getElementById("accessify-autospin-style")?.remove()}const V="accessify-ai-disclaimer";function Y(){if(document.getElementById(V))return;const e=t.startsWith("de")?"KI-vereinfachter Text":"AI-simplified text",n=document.createElement("div");n.id=V,n.setAttribute("role","status"),n.setAttribute("aria-live","polite"),n.textContent=e,Object.assign(n.style,{position:"fixed",bottom:"12px",left:"12px",zIndex:"2147483640",padding:"6px 12px",background:"rgba(30,41,59,0.85)",color:"#94a3b8",fontSize:"11px",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',borderRadius:"6px",pointerEvents:"none"}),document.body.appendChild(n)}async function J(){const n=function(){const e=[],t=new Set;return document.body.querySelectorAll("h1, h2, h3, h4, h5, h6, p, li, td, th, blockquote, figcaption, .hero-subtitle, summary, dt, dd").forEach(n=>{const i=n;if(i.closest("#accessify-root"))return;if(null===i.offsetParent&&"fixed"!==i.style.position&&!i.closest("[data-framer-appear-id]")&&!i.closest("[data-framer-name]"))return;i.dataset.accessifyOriginal||(i.dataset.accessifyOriginal=i.textContent?.trim()||"");const r=i.dataset.accessifyOriginal;if(r.length<20)return;if(r.length<60&&C.test(r))return;if(t.has(i))return;if(i.closest(E)&&i.querySelectorAll("p, li, dd, dt, summary").length>1)return void(window.__ACCESSIFY_DEBUG&&console.log("[Accessify] FAQ: skipping wrapper, will collect children:",i.tagName));let a=!1;for(const e of t)if(e.contains(i)){a=!0;break}a||(t.add(i),e.push(i))}),e}();if(0===n.length)return;o?.abort();const f=new AbortController;o=f;const p=f.signal,y=()=>p.aborted||!i;a=[],c=0,l||(l=new ResizeObserver(e=>{for(const t of e){const e=t.target;if(!e.hasAttribute(h))continue;const n=a.find(t=>t.el===e);if(!n)continue;const i=L(e);if(i){const t=$(i);t.scrollHeight>t.clientHeight+2&&(console.warn("[Accessify] ResizeObserver detected clipping after external layout change, reverting block:",e),G(n),c++)}}})),d||(d=new MutationObserver(e=>{for(const t of e){for(const e of t.removedNodes){if(!(e instanceof HTMLElement))continue;const t=a.findIndex(t=>t.el===e||e.contains(t.el));if(-1!==t){const e=a[t];l?.unobserve(e.el),e.el.removeAttribute(h),e.el.removeAttribute(g),e.el.removeAttribute(m),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),H(e.ancestorPatches),a.splice(t,1)}}if("characterData"===t.type||"childList"===t.type){const e=t.target instanceof HTMLElement?t.target:t.target.parentElement;if(!e)continue;const n=e.closest(`[${h}]`);if(n){const e=a.find(e=>e.el===n);e&&!n.hasAttribute("data-accessify-replacing")&&(console.warn("[Accessify] External mutation detected on simplified block, cleaning up tracking:",n),l?.unobserve(e.el),e.el.removeAttribute(h),e.el.removeAttribute(g),e.el.removeAttribute(m),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),H(e.ancestorPatches),a=a.filter(e=>e.el!==n))}}}}),d.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:z,proxyUrl:N}=function(){const e=document.querySelector("script[data-site-key]");return{siteKey:e?.getAttribute("data-site-key")||window.Accessify?.config?.siteKey||void 0,proxyUrl:e?.getAttribute("data-proxy-url")||window.Accessify?.config?.proxyUrl||void 0}}();let F=0,j=n;const D=new Set;let V=[];const J=!!window.__ACCESSIFY_DEBUG;if(b()&&function(e,t){v={ts:(new Date).toISOString(),route:e,level:r,siteMode:u,siteKey:t,manifestLoaded:!1,manifestBlocks:0,elementsFound:0,phase1Applied:0,phase1Stale:0,phase15IdbHits:0,phase2AICalls:0,phase2AIErrors:0,totalReplaced:0,totalSkipped:0,blocks:[],restoreLog:[]}}(window.location.pathname,z||null),v&&(v.elementsFound=n.length),z){const e=await async function(e,t,n){const i=`${e}:${r}:${window.location.pathname}`;if(O.has(i))return O.get(i);const a=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${r}`,o=new AbortController,s=setTimeout(()=>o.abort(),8e3),c=()=>o.abort();n&&(n.aborted?o.abort():n.addEventListener("abort",c));try{const e=await fetch(a,{cache:"no-cache",signal:o.signal});if(!e.ok)return O.set(i,null),null;const t=await e.json();u="auto"===t.siteMode?"auto":"manual";const n=t.blocks?.length?t:null;return O.set(i,n),n}catch{return null}finally{clearTimeout(s),n&&n.removeEventListener("abort",c)}}(z,N,p);if(J&&console.log(`[Accessify] Manifest: ${e?.blocks?.length??0} blocks for ${n.length} elements`),v&&(v.manifestLoaded=!!e?.blocks?.length,v.manifestBlocks=e?.blocks?.length??0,v.siteMode=u),y())return void(b()&&x());if(e?.blocks?.length){if(await async function(){try{const e=(await S()).transaction(k,"readwrite").objectStore(k),t=`${window.location.origin+window.location.pathname}:simplify:${r}:`,n=e.openCursor();n.onsuccess=()=>{const e=n.result;e&&("string"==typeof e.key&&e.key.startsWith(t)&&e.delete(),e.continue())}}catch{}}(),y())return void(b()&&x());const t=function(e,t){const n=[],i=[],r=[],a=new Map,o=new Map;for(const l of e.blocks)a.set(l.blockHash,l),l.selector&&o.set(l.selector,l);const s=new Set;for(const l of t){const e=l.dataset.accessifyOriginal||l.textContent?.trim()||"",t=I(e),c=a.get(t);if(c?.result){P(l,c.result,t)?(n.push(l),s.add(c.blockHash),b()&&w({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"exact",replaced:!0,source:"manifest"})):(i.push(l),b()&&w({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"exact",replaced:!1,skipReason:"layout-unsafe",source:"skipped"}));continue}let d;for(const[n,i]of o)try{if(l.matches(n)||l.closest(n)===l){d=i;break}}catch{}if(d?.result&&d.originalText){const a=T(e,d.originalText);a<=3?P(l,d.result,t)?(n.push(l),s.add(d.blockHash),b()&&w({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",replaced:!0,source:"manifest"})):(i.push(l),b()&&w({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",replaced:!1,skipReason:"layout-unsafe",source:"skipped"})):(console.info(`[Accessify] Stale block (diff=${a}):`,e.slice(0,50)+"…"),r.push(l),s.add(d.blockHash),b()&&w({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",stale:!0,skipReason:`stale(diff=${a})`,source:"skipped"}));continue}i.push(l)}const c=e.blocks.filter(e=>e.originalText&&e.result&&!s.has(e.blockHash));if(c.length>0&&i.length>0){const e=c.map(e=>({block:e,tokens:Ja(e.originalText)})),t=[];for(const r of i){const n=r.dataset.accessifyOriginal||r.textContent?.trim()||"";if(n.length<20)continue;const i=Ja(n);if(i.size<3)continue;let a=null;for(const{block:t,tokens:o}of e){const e=Xa(i,o);e>=.4&&(!a||e>a.sim)&&(a={el:r,block:t,sim:e})}a&&t.push(a)}t.sort((e,t)=>t.sim-e.sim);const n=new Set,a=new Set;for(const i of t){if(n.has(i.block.blockHash))continue;if(a.has(i.el))continue;n.add(i.block.blockHash),a.add(i.el),r.push(i.el),s.add(i.block.blockHash);const e=i.el.dataset.accessifyOriginal||i.el.textContent?.trim()||"";console.info(`[Accessify] Stale block (similarity=${i.sim.toFixed(2)}):`,e.slice(0,50)+"…"),b()&&w({hash:I(e),text:e.slice(0,60),tag:i.el.tagName,manifestMatch:"similarity",stale:!0,skipReason:`stale(sim=${i.sim.toFixed(2)})`,source:"skipped"})}if(a.size>0){const e=i.filter(e=>!a.has(e));i.length=0,i.push(...e)}}return{applied:n,remaining:i,stale:r}}(e,n);F=t.applied.length,V=t.applied,J&&console.log(`[Accessify] Manifest hit: ${F}, stale: ${t.stale.length}, remaining: ${t.remaining.length}`);for(const e of t.stale)D.add(e);j=[...t.stale,...t.remaining];for(const n of e.blocks)n.result&&A(M(n.blockHash),n.result);if(v&&(v.phase1Applied=t.applied.length,v.phase1Stale=t.stale.length),0===j.length)return q(),void(b()&&x())}}{const e=[];for(const t of j){if(y())return;const n=t.dataset.accessifyOriginal||t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const i=I(n),r=await _(M(i));if(y())return;r?P(t,r,i)?(F++,b()&&(w({hash:i,text:n.slice(0,60),tag:t.tagName,idbHit:!0,replaced:!0,source:"idb"}),v&&v.phase15IdbHits++)):(e.push(t),b()&&w({hash:i,text:n.slice(0,60),tag:t.tagName,idbHit:!0,replaced:!1,skipReason:"layout-unsafe",source:"skipped"})):e.push(t)}if(j=e,0===j.length)return q(),void(b()&&x())}if((F>0||z&&D.size>0)&&j.length>0){const e=function(e){const t=new Set;for(const n of e){let e=n;for(let n=0;n<4&&e&&!Za(e);n++)t.add(e),e=e.parentElement}return t}(V),t=[],n=[];for(const i of j)D.has(i)?n.push(i):eo(i)?t.push(i):"auto"===u&&Qa(i,e)?n.push(i):t.push(i);if(t.length>0&&J&&console.info(`[Accessify] Safety Gate: ${t.length} boilerplate skipped, ${n.length} queued for AI (stale + near-content).`),b())for(const i of t){const e=i.dataset.accessifyOriginal||i.textContent?.trim()||"",t=eo(i)?"structural-boilerplate(nav/menu)":"auto"===u?"no-content-anchor":`manual-mode(siteMode=${u})`;w({hash:I(e),text:e.slice(0,60),tag:i.tagName,skipReason:t,source:"skipped"})}for(const i of t)R(i);if(j=n,0===j.length)return q(),Y(),void(b()&&x())}else if("auto"!==u&&j.length>0){if(J&&console.info(`[Accessify] siteMode=${u} — skipping live AI for ${j.length} uncached block(s). Site owner: trigger a crawl from the dashboard or switch to 'auto' mode.`),b())for(const e of j){const t=e.dataset.accessifyOriginal||e.textContent?.trim()||"";w({hash:I(t),text:t.slice(0,60),tag:e.tagName,skipReason:`manual-mode(siteMode=${u})`,source:"skipped"})}D.size>0&&(c+=D.size);for(const e of j)R(e);return F>0?(q(),Y()):U(),void(b()&&x())}if(!e&&j.length>0)return D.size>0&&(c+=D.size,console.info(`[Accessify] ${D.size} stale block(s) skipped — no AI service to regenerate`)),void(F>0?q():function(e){if(s){s.textContent="";const t=document.createElement("span");t.style.color="#ef4444",t.textContent="✕ ",s.appendChild(t),s.appendChild(document.createTextNode(String(e??""))),s.style.color="#ef4444",setTimeout(()=>U(),5e3)}}(t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured"));for(const e of j)K(e);let X=F;const Z=e=>D.has(e);for(const i of j){if(y())break;const n=i.dataset.accessifyOriginal||i.textContent?.trim()||"";if(n.length<20){R(i);continue}if(n.length<60&&C.test(n)){R(i),c++;continue}const a=I(n);let o=null;b()&&(o=w({hash:a,text:n.slice(0,60),tag:i.tagName,liveAI:!0,stale:Z(i),source:"ai"}),v&&v.phase2AICalls++);try{const s=await e.simplifyText(n,r,t);if(y())return;s&&s!==n?P(i,s,a)?(X++,A(M(a),s),z&&W(z,a,n,s,B(i),N),o&&(o.replaced=!0)):o&&(o.replaced=!1,o.skipReason="layout-unsafe"):o&&(o.replaced=!1,o.skipReason=s?"ai-returned-identical":"ai-returned-empty")}catch(Q){if(o&&(o.skipReason=`error:${Q?.message?.slice(0,50)||"unknown"}`,o.replaced=!1),v&&v.phase2AIErrors++,Q?.message?.includes("401")||Q?.message?.includes("403")){console.warn("[Accessify] AI auth failed, stopping live simplification");for(const e of j)Z(e)&&!e.hasAttribute(h)&&c++;R(i);break}if(Q?.message?.includes("429")){if(await new Promise(e=>setTimeout(e,8e3)),y())return;try{const s=await e.simplifyText(n,r,t);if(y())return;s&&s!==n&&P(i,s,a)&&(X++,A(M(a),s),z&&W(z,a,n,s,B(i),N),o&&(o.replaced=!0,o.skipReason=null))}catch{Z(i)&&(c++,console.warn("[Accessify] Stale block skipped — AI retry failed:",n.slice(0,50)))}}else Z(i)?(c++,console.warn("[Accessify] Stale block skipped — AI error:",n.slice(0,50))):console.warn("[Accessify] Failed to simplify:",Q)}finally{R(i),y()||await new Promise(e=>setTimeout(e,600))}if(y())break}for(const e of j)R(e);y()||(q(),(X>0||F>0)&&Y()),b()&&x()}function X(){l&&(l.disconnect(),l=null),d&&(d.disconnect(),d=null),f.clear();const e=o?.signal.aborted?"abort(navigation/toggle)":"toggle-off",t=new Set(a.map(e=>e.el));document.querySelectorAll(`[${h}]`).forEach(n=>{const i=n;if(t.has(i))return;const r=i.dataset.accessifyOriginal;r&&i.textContent!==r&&(i.textContent=r),i.removeAttribute(h),i.removeAttribute(g),i.removeAttribute(m),i.removeAttribute("data-accessify-replacing"),R(i),i.dataset.accessifyOrigTransform&&(i.style.textTransform=i.dataset.accessifyOrigTransform,delete i.dataset.accessifyOrigTransform),b()&&v&&v.restoreLog.push({ts:(new Date).toISOString(),hash:i.getAttribute(m)||"orphan",text:r?.slice(0,60)||"",textNodeRestore:!1,innerHtmlFallback:!1,reason:`${e}+orphan-sweep`})});for(const{el:n,originalHtml:i,savedTextNodes:r,ancestorPatches:o}of a){const t=n.getAttribute(m)||"unknown";let a=!1,s=!1;if(r.length>0){let e=!0;for(const t of r)t.node.parentNode?t.node.data=t.original:e=!1;e?a=!0:(n.innerHTML=i,s=!0)}else n.innerHTML=i,s=!0;b()&&v&&v.restoreLog.push({ts:(new Date).toISOString(),hash:t,text:(n.textContent?.trim()||"").slice(0,60),textNodeRestore:a,innerHtmlFallback:s,reason:s?`${e}+innerHTML-fallback(text-nodes-detached)`:e}),n.removeAttribute(g),n.removeAttribute(h),n.removeAttribute(m),n.removeAttribute("data-accessify-replacing"),R(n),n.dataset.accessifyOrigTransform&&(n.style.textTransform=n.dataset.accessifyOrigTransform,delete n.dataset.accessifyOrigTransform),H(o)}if(b()&&v){const e=v.restoreLog;console.log(`%c[Accessify DIAG] Restore: ${e.length} blocks, ${e.filter(e=>e.textNodeRestore).length} text-node, ${e.filter(e=>e.innerHtmlFallback).length} innerHTML-fallback`,"color: #f59e0b; font-weight: bold"),e.some(e=>e.innerHtmlFallback)&&(console.warn("[Accessify DIAG] innerHTML fallbacks detected — framework may have detached text nodes:"),console.table(e.filter(e=>e.innerHtmlFallback)))}a=[],c=0}let Z="",Q=null;return{id:"text-simplify",name:()=>t.startsWith("de")?"Text vereinfachen":"Simplify Text",description:t.startsWith("de")?"Text in Einfache Sprache umwandeln":"Simplify text for easier understanding",icon:"simplify-text",category:"ai",activate:function(){i||(i=!0,function(){try{const e=localStorage.getItem(p);if(e){const t=JSON.parse(e);"einfache"!==t.level&&"leichte"!==t.level||(r=t.level)}}catch{}}(),function(){Z=location.href;const e=()=>{i&&location.href!==Z&&(Z=location.href,window.__ACCESSIFY_DEBUG&&console.log("[Accessify] URL changed, re-simplifying:",Z),o?.abort(),X(),U(),setTimeout(()=>{i&&J()},500))};window.addEventListener("popstate",e);const t=history.pushState.bind(history),n=history.replaceState.bind(history);history.pushState=function(...n){t(...n),e()},history.replaceState=function(...t){n(...t),e()},Q=()=>{window.removeEventListener("popstate",e),history.pushState=t,history.replaceState=n}}(),J())},deactivate:function(){i=!1,o?.abort(),o=null,Q?.(),Q=null,X(),U(),document.getElementById(V)?.remove()},getState:()=>({id:"text-simplify",enabled:i,value:{level:r}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(r=e.level,localStorage.setItem(p,JSON.stringify({level:r})))}}}},Symbol.toStringTag,{value:"Module"}))}();
|
|
1
|
+
var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,i)=>(__accessCheck(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n);!function(){"use strict";var e,t,n,i,a,r,o,s,c,l,d,u,f,p,h,g,m,v,y,b,w,x,k,S,_,A,M,E,C,I,T,$,z,L,H,N,P,O,G,B,j,F,D,W,K;const R=globalThis.process?.env?.NODE_ENV,q=R&&!R.toLowerCase().startsWith("prod");var U=Array.isArray,V=Array.prototype.indexOf,Y=Array.prototype.includes,J=Array.from,X=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,ie=Object.isExtensible;const ae=()=>{};function re(){var e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}const oe=32,se=512,ce=1024,le=2048,de=4096,ue=8192,fe=16384,pe=32768,he=1<<25,ge=65536,me=1<<17,ve=1<<19,ye=1<<25,be=65536,we=1<<21,xe=1<<23,ke=Symbol("$state"),Se=Symbol("legacy props"),_e=Symbol(""),Ae=Symbol("proxy path"),Me=new class extends Error{constructor(){super(...arguments),__publicField(this,"name","StaleReactionError"),__publicField(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ee(e,t,n){if(q){const i=new Error(`each_key_duplicate\n${n?`Keyed each block has duplicate key \`${n}\` at indexes ${e} and ${t}`:`Keyed each block has duplicate key at indexes ${e} and ${t}`}\nhttps://svelte.dev/e/each_key_duplicate`);throw i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ce(e,t,n){if(q){const i=new Error(`each_key_volatile\nKeyed each block has key that is not idempotent — the key for item at index ${e} was \`${t}\` but is now \`${n}\`. Keys must be the same each time for a given item\nhttps://svelte.dev/e/each_key_volatile`);throw i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_volatile")}const Ie=Symbol(),Te=Symbol("filename"),$e="http://www.w3.org/1999/xhtml";var ze="font-weight: bold",Le="font-weight: normal";function He(e){q?console.warn(`%c[svelte] state_proxy_equality_mismatch\n%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${e}\` will produce unexpected results\nhttps://svelte.dev/e/state_proxy_equality_mismatch`,ze,Le):console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function Ne(e){return e===this.v}function Pe(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function Oe(e,t){return e.label=t,Ge(e.v,t),e}function Ge(e,t){return e?.[Ae]?.(t),e}function Be(e,t){if(!q)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(q){const t=new Error(`invariant_violation\nAn invariant violation occurred, meaning Svelte's internal assumptions were flawed. This is a bug in Svelte, not your app — please open an issue at https://github.com/sveltejs/svelte, citing the following message: "${e}"\nhttps://svelte.dev/e/invariant_violation`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/invariant_violation")}(t)}let je=null;function Fe(e){je=e}let De=null;function We(e){De=e}let Ke=null;function Re(e){Ke=e}function qe(e,t=!1,n){je={p:je,i:!1,c:null,e:null,s:e,x:null,r:Bn,l:null},q&&(je.function=n,Ke=n)}function Ue(e){var t=je,n=t.e;if(null!==n)for(var i of(t.e=null,n))yn(i);return void 0!==e&&(t.x=e),t.i=!0,je=t.p,q&&(Ke=je?.function??null),e??{}}let Ve=[];function Ye(e){if(0===Ve.length){var t=Ve;queueMicrotask(()=>{t===Ve&&function(){var e=Ve;Ve=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}Ve.push(e)}const Je=new WeakMap;function Xe(e){var t=Bn;if(null===t)return Pn.f|=xe,e;if(q&&e instanceof Error&&!Je.has(e)&&Je.set(e,function(e,t){const n=Z(e,"message");if(!n||n.configurable){for(var i=nn?" ":"\t",a=`\n${i}in ${t.fn?.name||"<unknown>"}`,r=t.ctx;null!==r;)a+=`\n${i}in ${r.function?.[Te].split("/").pop()}`,r=r.p;return{message:e.message+`\n${a}\n`,stack:e.stack?.split("\n").filter(e=>!e.includes("svelte/src/internal")).join("\n")}}}(e,t)),0===(t.f&pe)&&!(4&t.f))throw q&&!t.parent&&e instanceof Error&&Qe(e),e;Ze(e,t)}function Ze(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&pe))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw q&&e instanceof Error&&Qe(e),e}function Qe(e){const t=Je.get(e);t&&(X(e,"message",{value:t.message}),X(e,"stack",{value:t.stack}))}const et=-7169;function tt(e,t){e.f=e.f&et|t}function nt(e){tt(e,0!==(e.f&se)||null===e.deps?ce:de)}function it(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&be)&&(t.f^=be,it(t.deps))}function at(e,t,n){0!==(e.f&le)?t.add(e):0!==(e.f&de)&&n.add(e),it(e.deps),tt(e,ce)}let rt=!1;const ot=new Set;let st=null,ct=null,lt=null,dt=!1,ut=null,ft=null;var pt=0,ht=q?new Set:null;let gt=1;const mt=class u{constructor(){__privateAdd(this,d),__publicField(this,"id",gt++),__publicField(this,"current",new Map),__publicField(this,"previous",new Map),__privateAdd(this,e,new Set),__privateAdd(this,t,new Set),__privateAdd(this,n,0),__privateAdd(this,i,0),__privateAdd(this,a,null),__privateAdd(this,r,[]),__privateAdd(this,o,new Set),__privateAdd(this,s,new Set),__privateAdd(this,c,new Map),__publicField(this,"is_fork",!1),__privateAdd(this,l,!1)}skip_effect(e){__privateGet(this,c).has(e)||__privateGet(this,c).set(e,{d:[],m:[]})}unskip_effect(e){var t=__privateGet(this,c).get(e);if(t){for(var n of(__privateGet(this,c).delete(e),t.d))tt(n,le),this.schedule(n);for(n of t.m)tt(n,de),this.schedule(n)}}capture(e,t){t===Ie||this.previous.has(e)||this.previous.set(e,t),0===(e.f&xe)&&(this.current.set(e,e.v),ct?.set(e,e.v))}activate(){st=this}deactivate(){st=null,ct=null}flush(){var e=q?new Set:null;try{dt=!0,st=this,__privateMethod(this,d,f).call(this)}finally{if(pt=0,lt=null,ut=null,ft=null,dt=!1,st=null,ct=null,Bt.clear(),q)for(const t of e)t.updated=null}}discard(){for(const e of __privateGet(this,t))e(this);__privateGet(this,t).clear()}increment(e){__privateSet(this,n,__privateGet(this,n)+1),e&&__privateSet(this,i,__privateGet(this,i)+1)}decrement(e,t){__privateSet(this,n,__privateGet(this,n)-1),e&&__privateSet(this,i,__privateGet(this,i)-1),__privateGet(this,l)||t||(__privateSet(this,l,!0),Ye(()=>{__privateSet(this,l,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)__privateGet(this,o).add(n);for(const n of t)__privateGet(this,s).add(n);e.clear(),t.clear()}oncommit(t){__privateGet(this,e).add(t)}ondiscard(e){__privateGet(this,t).add(e)}settled(){return(__privateGet(this,a)??__privateSet(this,a,re())).promise}static ensure(){if(null===st){const e=st=new u;dt||(ot.add(st),Ye(()=>{st===e&&e.flush()}))}return st}apply(){ct=null}schedule(e){if(lt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&pe))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===ut||t!==Bn||null!==Pn&&2&Pn.f))return;if(96&n){if(0===(n&ce))return;t.f^=ce}}__privateGet(this,r).push(t)}}};e=new WeakMap,t=new WeakMap,n=new WeakMap,i=new WeakMap,a=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,d=new WeakSet,u=function(){return this.is_fork||__privateGet(this,i)>0},f=function(){var t;if(pt++>1e3&&(ot.delete(this),function(){if(q){var e=new Map;for(const n of st.current.keys())for(const[i,a]of n.updated??[]){var t=e.get(i);t||e.set(i,t={error:a.error,count:0}),t.count+=a.count}for(const t of e.values())t.error&&console.error(t.error)}try{!function(){if(q){const e=new Error("effect_update_depth_exceeded\nMaximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state\nhttps://svelte.dev/e/effect_update_depth_exceeded");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(n){q&&X(n,"stack",{value:""}),Ze(n,lt)}}()),!__privateMethod(this,d,u).call(this)){for(const e of __privateGet(this,o))__privateGet(this,s).delete(e),tt(e,le),this.schedule(e);for(const e of __privateGet(this,s))tt(e,de),this.schedule(e)}const i=__privateGet(this,r);__privateSet(this,r,[]),this.apply();var l=ut=[],m=[],v=ft=[];for(const e of i)try{__privateMethod(this,d,p).call(this,e,l,m)}catch(w){throw _t(e),w}if(st=null,v.length>0){var y=mt.ensure();for(const e of v)y.schedule(e)}if(ut=null,ft=null,__privateMethod(this,d,u).call(this)){__privateMethod(this,d,h).call(this,m),__privateMethod(this,d,h).call(this,l);for(const[e,t]of __privateGet(this,c))St(e,t)}else{0===__privateGet(this,n)&&ot.delete(this),__privateGet(this,o).clear(),__privateGet(this,s).clear();for(const t of __privateGet(this,e))t(this);__privateGet(this,e).clear(),bt(m),bt(l),__privateGet(this,a)?.resolve()}var b=st;if(__privateGet(this,r).length>0){const e=b??(b=this);__privateGet(e,r).push(...__privateGet(this,r).filter(t=>!__privateGet(e,r).includes(t)))}if(null!==b){if(ot.add(b),q)for(const e of this.current.keys())ht.add(e);__privateMethod(t=b,d,f).call(t)}ot.has(this)||__privateMethod(this,d,g).call(this)},p=function(e,t,n){e.f^=ce;for(var i=e.first;null!==i;){var a=i.f,r=!!(96&a);if(!(r&&0!==(a&ce)||0!==(a&ue)||__privateGet(this,c).has(i))&&null!==i.fn){r?i.f^=ce:4&a?t.push(i):Xn(i)&&(!!(16&a)&&__privateGet(this,s).add(i),ni(i));var o=i.first;if(null!==o){i=o;continue}}for(;null!==i;){var l=i.next;if(null!==l){i=l;break}i=i.parent}}},h=function(e){for(var t=0;t<e.length;t+=1)at(e[t],__privateGet(this,o),__privateGet(this,s))},g=function(){var e;for(const l of ot){var t=l.id<this.id,n=[];for(const[e,i]of this.current){if(l.current.has(e)){if(!t||i===l.current.get(e))continue;l.current.set(e,i)}n.push(e)}if(0!==n.length){var i=[...l.current.keys()].filter(e=>!this.current.has(e));if(i.length>0){q&&Be(0===__privateGet(l,r).length,"Batch has scheduled roots"),l.activate();var a=new Set,o=new Map;for(var s of n)wt(s,i,a,o);if(__privateGet(l,r).length>0){for(var c of(l.apply(),__privateGet(l,r)))__privateMethod(e=l,d,p).call(e,c,[],[]);__privateSet(l,r,[])}l.deactivate()}}}};let vt=mt,yt=null;function bt(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var i=e[n++];if(!(24576&i.f)&&Xn(i)&&(yt=new Set,ni(i),null===i.deps&&null===i.first&&null===i.nodes&&null===i.teardown&&null===i.ac&&En(i),yt?.size>0)){Bt.clear();for(const e of yt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)yt.has(n)&&(yt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||ni(n)}}yt.clear()}}yt=null}}function wt(e,t,n,i){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const a of e.reactions){const e=a.f;2&e?wt(a,t,n,i):4194320&e&&0===(e&le)&&xt(a,t,i)&&(tt(a,le),kt(a))}}function xt(e,t,n){const i=n.get(e);if(void 0!==i)return i;if(null!==e.deps)for(const a of e.deps){if(Y.call(t,a))return!0;if(2&a.f&&xt(a,t,n))return n.set(a,!0),!0}return n.set(e,!1),!1}function kt(e){st.schedule(e)}function St(e,t){if(0===(e.f&oe)||0===(e.f&ce)){0!==(e.f&le)?t.d.push(e):0!==(e.f&de)&&t.m.push(e),tt(e,ce);for(var n=e.first;null!==n;)St(n,t),n=n.next}}function _t(e){tt(e,ce);for(var t=e.first;null!==t;)_t(t),t=t.next}class At{constructor(e,t,n,i){__privateAdd(this,z),__publicField(this,"parent"),__publicField(this,"is_pending",!1),__publicField(this,"transform_error"),__privateAdd(this,m),__privateAdd(this,v,null),__privateAdd(this,y),__privateAdd(this,b),__privateAdd(this,w),__privateAdd(this,x,null),__privateAdd(this,k,null),__privateAdd(this,S,null),__privateAdd(this,_,null),__privateAdd(this,A,0),__privateAdd(this,M,0),__privateAdd(this,E,!1),__privateAdd(this,C,new Set),__privateAdd(this,I,new Set),__privateAdd(this,T,null),__privateAdd(this,$,function(e){let t,n=0,i=Dt(0);return q&&Oe(i,"createSubscriber version"),()=>{gn()&&(ii(i),bn(()=>(0===n&&(t=oi(()=>e())),n+=1,()=>{Ye(()=>{n-=1,0===n&&(t?.(),t=void 0,Vt(i))})})))}}(()=>(__privateSet(this,T,Dt(__privateGet(this,A))),q&&Oe(__privateGet(this,T),"$effect.pending()"),()=>{__privateSet(this,T,null)}))),__privateSet(this,m,e),__privateSet(this,y,t),__privateSet(this,b,e=>{var t=Bn;t.b=this,t.f|=128,n(e)}),this.parent=Bn.b,this.transform_error=i??this.parent?.transform_error??(e=>e),__privateSet(this,w,xn(()=>{__privateMethod(this,z,L).call(this)},589824))}defer_effect(e){at(e,__privateGet(this,C),__privateGet(this,I))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!__privateGet(this,y).pending}update_pending_count(e,t){__privateMethod(this,z,P).call(this,e,t),__privateSet(this,A,__privateGet(this,A)+e),__privateGet(this,T)&&!__privateGet(this,E)&&(__privateSet(this,E,!0),Ye(()=>{__privateSet(this,E,!1),__privateGet(this,T)&&qt(__privateGet(this,T),__privateGet(this,A))}))}get_effect_pending(){return __privateGet(this,$).call(this),ii(__privateGet(this,T))}error(e){var t=__privateGet(this,y).onerror;let n=__privateGet(this,y).failed;if(!t&&!n)throw e;__privateGet(this,x)&&(An(__privateGet(this,x)),__privateSet(this,x,null)),__privateGet(this,k)&&(An(__privateGet(this,k)),__privateSet(this,k,null)),__privateGet(this,S)&&(An(__privateGet(this,S)),__privateSet(this,S,null));var i=!1,a=!1;const r=()=>{i?q?console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `<svelte:boundary>` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",ze,Le):console.warn("https://svelte.dev/e/svelte_boundary_reset_noop"):(i=!0,a&&function(){if(q){const e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==__privateGet(this,S)&&Cn(__privateGet(this,S),()=>{__privateSet(this,S,null)}),__privateMethod(this,z,N).call(this,()=>{__privateMethod(this,z,L).call(this)}))},o=e=>{try{a=!0,t?.(e,r),a=!1}catch(i){Ze(i,__privateGet(this,w)&&__privateGet(this,w).parent)}n&&__privateSet(this,S,__privateMethod(this,z,N).call(this,()=>{try{return kn(()=>{var t=Bn;t.b=this,t.f|=128,n(__privateGet(this,m),()=>e,()=>r)})}catch(i){return Ze(i,__privateGet(this,w).parent),null}}))};Ye(()=>{var t;try{t=this.transform_error(e)}catch(n){return void Ze(n,__privateGet(this,w)&&__privateGet(this,w).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>Ze(e,__privateGet(this,w)&&__privateGet(this,w).parent)):o(t)})}}function Mt(e=!0){jn(null),Gn(null),Fe(null),e&&st?.deactivate(),q&&We(null)}function Et(){var e=Bn.b,t=st,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(i=!1)=>{e.update_pending_count(-1,t),t.decrement(n,i)}}m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,_=new WeakMap,A=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,I=new WeakMap,T=new WeakMap,$=new WeakMap,z=new WeakSet,L=function(){try{if(this.is_pending=this.has_pending_snippet(),__privateSet(this,M,0),__privateSet(this,A,0),__privateSet(this,x,kn(()=>{__privateGet(this,b).call(this,__privateGet(this,m))})),__privateGet(this,M)>0){var e=__privateSet(this,_,document.createDocumentFragment());zn(__privateGet(this,x),e);const t=__privateGet(this,y).pending;__privateSet(this,k,kn(()=>t(__privateGet(this,m))))}else __privateMethod(this,z,H).call(this,st)}catch(t){this.error(t)}},H=function(e){this.is_pending=!1,e.transfer_effects(__privateGet(this,C),__privateGet(this,I))},N=function(e){var t=Bn,n=Pn,i=je;jn(__privateGet(this,w)),Gn(__privateGet(this,w)),Fe(__privateGet(this,w).ctx);try{return vt.ensure(),e()}catch(a){return Xe(a),null}finally{jn(t),Gn(n),Fe(i)}},P=function(e,t){var n;this.has_pending_snippet()?(__privateSet(this,M,__privateGet(this,M)+e),0===__privateGet(this,M)&&(__privateMethod(this,z,H).call(this,t),__privateGet(this,k)&&Cn(__privateGet(this,k),()=>{__privateSet(this,k,null)}),__privateGet(this,_)&&(__privateGet(this,m).before(__privateGet(this,_)),__privateSet(this,_,null)))):this.parent&&__privateMethod(n=this.parent,z,P).call(n,e,t)};const Ct=new Set;function It(e){var t=null!==Pn&&2&Pn.f?Pn:null;return null!==Bn&&(Bn.f|=ve),{ctx:je,deps:null,effects:null,equals:Ne,f:2050,fn:e,reactions:null,rv:0,v:Ie,wv:0,parent:t??Bn,ac:null}}function Tt(e,t,n){let i=Bn;null===i&&function(){if(q){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var a=void 0,r=Dt(Ie);q&&(r.label=t);var o=!Pn,s=new Map;return function(e){hn(4718592,e)}(()=>{var t=Bn,n=re();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Mt)}catch(u){n.reject(u),Mt()}var c=st;if(o){if(0!==(t.f&pe))var l=Et();if(i.b.is_rendered())s.get(c)?.reject(Me),s.delete(c);else{for(const e of s.values())e.reject(Me);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===Me),n!==Me&&0===(t.f&fe)){if(c.activate(),n)r.f|=xe,qt(r,n);else{0!==(r.f&xe)&&(r.f^=xe),qt(r,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(Me)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),mn(()=>{for(const e of s.values())e.reject(Me)}),q&&(r.f|=4194304),new Promise(e=>{!function t(n){function i(){n===a?e(r):t(a)}n.then(i,i)}(a)})}function $t(e){const t=It(e);return Dn(t),t}function zt(e){const t=It(e);return t.equals=Pe,t}function Lt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)An(t[n])}}let Ht=[];function Nt(e){var t,n=Bn;if(jn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&fe)?t:null;t=t.parent}return null}(e)),q){let i=Gt;jt(new Set);try{Y.call(Ht,e)&&function(){if(q){const e=new Error("derived_references_self\nA derived value cannot reference itself recursively\nhttps://svelte.dev/e/derived_references_self");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/derived_references_self")}(),Ht.push(e),e.f&=-65537,Lt(e),t=Qn(e)}finally{jn(n),jt(i),Ht.pop()}}else try{e.f&=-65537,Lt(e),t=Qn(e)}finally{jn(n)}return t}function Pt(e){var t=e.v,n=Nt(e);e.equals(n)||(e.wv=Jn(),st?.is_fork&&null!==e.deps||(e.v=n,st?.capture(e,t),null!==e.deps))?Hn||(null!==ct?(gn()||st?.is_fork)&&ct.set(e,n):nt(e)):tt(e,ce)}function Ot(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&ni(t)}let Gt=new Set;const Bt=new Map;function jt(e){Gt=e}let Ft=!1;function Dt(e,t){return{f:0,v:e,reactions:null,equals:Ne,rv:0,wv:0}}function Wt(e,t){const n=Dt(e);return Dn(n),n}function Kt(e,t=!1,n=!0){const i=Dt(e);return t||(i.equals=Pe),i}function Rt(e,t,n=!1){null===Pn||On&&0===(Pn.f&me)||!(4325394&Pn.f)||null!==Fn&&Y.call(Fn,e)||function(){if(q){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let i=n?Xt(t):t;return q&&Ge(i,e.label),qt(e,i,ft)}function qt(e,t,n=null){if(!e.equals(t)){var i=e.v;Bt.set(e,Hn?t:i),e.v=t;var a=vt.ensure();if(a.capture(e,i),q){if(null!==Bn){e.updated??(e.updated=new Map);const t=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:t}),t>5){const t=function(){const e=new Error,t=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split("\n"),i=[];for(let a=0;a<n.length;a++){const e=n[a],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||i.push(e)}}return i}();return 0===t.length?null:(t.unshift("\n"),X(e,"stack",{value:t.join("\n")}),X(e,"name",{value:"updated at"}),e)}();if(null!==t){let n=e.updated.get(t.stack);n||(n={error:t,count:0},e.updated.set(t.stack,n)),n.count++}}}null!==Bn&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&le)&&Nt(t),null===ct&&nt(t)}e.wv=Jn(),Yt(e,le,n),null===Bn||0===(Bn.f&ce)||96&Bn.f||(null===Rn?function(e){Rn=e}([e]):Rn.push(e)),!a.is_fork&&Gt.size>0&&!Ft&&Ut()}return t}function Ut(){Ft=!1;for(const e of Gt)0!==(e.f&ce)&&tt(e,de),Xn(e)&&ni(e);Gt.clear()}function Vt(e){Rt(e,e.v+1)}function Yt(e,t,n){var i=e.reactions;if(null!==i)for(var a=i.length,r=0;r<a;r++){var o=i[r],s=o.f;if(q&&0!==(s&me))Gt.add(o);else{var c=0===(s&le);if(c&&tt(o,t),2&s){var l=o;ct?.delete(l),0===(s&be)&&(s&se&&(o.f|=be),Yt(l,de,n))}else if(c){var d=o;!!(16&s)&&null!==yt&&yt.add(d),null!==n?n.push(d):kt(d)}}}}const Jt=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function Xt(e){if("object"!=typeof e||null===e||ke in e)return e;const t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,i=U(e),a=Wt(0),r=Vn,o=e=>{if(Vn===r)return e();var t=Pn,n=Vn;Gn(null),Yn(r);var i=e();return Gn(t),Yn(n),i};i&&(n.set("length",Wt(e.length)),q&&(e=new Proxy(e,{get(e,t,n){var i=Reflect.get(e,t,n);return en.has(t)?function(...e){Ft=!0;var t=i.apply(this,e);return Ut(),t}:i}})));var s="";let c=!1;function l(e){if(!c){c=!0,Oe(a,`${s=e} version`);for(const[e,t]of n)Oe(t,Zt(s,e));c=!1}}return new Proxy(e,{defineProperty(e,t,i){"value"in i&&!1!==i.configurable&&!1!==i.enumerable&&!1!==i.writable||function(){if(q){const e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var a=n.get(t);return void 0===a?o(()=>{var e=Wt(i.value);return n.set(t,e),q&&"string"==typeof t&&Oe(e,Zt(s,t)),e}):Rt(a,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=o(()=>Wt(Ie));n.set(t,e),Vt(a),q&&Oe(e,Zt(s,t))}}else Rt(i,Ie),Vt(a);return!0},get(t,i,a){if(i===ke)return e;if(q&&i===Ae)return l;var r=n.get(i),c=i in t;if(void 0!==r||c&&!Z(t,i)?.writable||(r=o(()=>{var e=Wt(Xt(c?t[i]:Ie));return q&&Oe(e,Zt(s,i)),e}),n.set(i,r)),void 0!==r){var d=ii(r);return d===Ie?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&"value"in i){var a=n.get(t);a&&(i.value=ii(a))}else if(void 0===i){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==Ie)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===ke)return!0;var i=n.get(t),a=void 0!==i&&i.v!==Ie||Reflect.has(e,t);return!((void 0!==i||null!==Bn&&(!a||Z(e,t)?.writable))&&(void 0===i&&(i=o(()=>{var n=Wt(a?Xt(e[t]):Ie);return q&&Oe(n,Zt(s,t)),n}),n.set(t,i)),ii(i)===Ie))&&a},set(e,t,r,c){var l=n.get(t),d=t in e;if(i&&"length"===t)for(var u=r;u<l.v;u+=1){var f=n.get(u+"");void 0!==f?Rt(f,Ie):u in e&&(f=o(()=>Wt(Ie)),n.set(u+"",f),q&&Oe(f,Zt(s,u)))}void 0===l?d&&!Z(e,t)?.writable||(l=o(()=>Wt(void 0)),q&&Oe(l,Zt(s,t)),Rt(l,Xt(r)),n.set(t,l)):(d=l.v!==Ie,Rt(l,o(()=>Xt(r))));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(c,r),!d){if(i&&"string"==typeof t){var h=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=h.v&&Rt(h,g+1)}Vt(a)}return!0},ownKeys(e){ii(a);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Ie});for(var[i,r]of n)r.v===Ie||i in e||t.push(i);return t},setPrototypeOf(){!function(){if(q){const e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function Zt(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:Jt.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function Qt(e){try{if(null!==e&&"object"==typeof e&&ke in e)return e[ke]}catch{}return e}const en=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var tn,nn,an,rn;function on(e=""){return document.createTextNode(e)}function sn(e){return an.call(e)}function cn(e){return rn.call(e)}function ln(e,t){return sn(e)}function dn(e,t=!1){var n=sn(e);return n instanceof Comment&&""===n.data?cn(n):n}function un(e,t=1,n=!1){let i=e;for(;t--;)i=cn(i);return i}function fn(e,t,n){return document.createElementNS(t??$e,e,void 0)}function pn(e){var t=Pn,n=Bn;Gn(null),jn(null);try{return e()}finally{Gn(t),jn(n)}}function hn(e,t){var n=Bn;if(q)for(;null!==n&&0!==(n.f&me);)n=n.parent;null!==n&&0!==(n.f&ue)&&(e|=ue);var i={ctx:je,deps:null,nodes:null,f:e|le|se,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};q&&(i.component_function=Ke);var a=i;if(4&e)null!==ut?ut.push(i):vt.ensure().schedule(i);else if(null!==t){try{ni(i)}catch(r){throw An(i),r}null===a.deps&&null===a.teardown&&null===a.nodes&&a.first===a.last&&0===(a.f&ve)&&(a=a.first,16&e&&0!==(e&ge)&&null!==a&&(a.f|=ge))}return null!==a&&(a.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(a,n),null!==Pn&&2&Pn.f&&!(64&e))&&(Pn.effects??(Pn.effects=[])).push(a),i}function gn(){return null!==Pn&&!On}function mn(e){const t=hn(8,null);return tt(t,ce),t.teardown=e,t}function vn(e){var t;t="$effect",null===Bn&&(null===Pn&&function(e){if(q){const t=new Error(`effect_orphan\n\`${e}\` can only be used inside an effect (e.g. during component initialisation)\nhttps://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_orphan")}(t),function(){if(q){const e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Hn&&function(e){if(q){const t=new Error(`effect_in_teardown\n\`${e}\` cannot be used inside an effect cleanup function\nhttps://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_in_teardown")}(t),q&&X(e,"name",{value:"$effect"});var n=Bn.f;if(Pn||0===(n&oe)||0!==(n&pe))return yn(e);(je.e??(je.e=[])).push(e)}function yn(e){return hn(1048580,e)}function bn(e,t=0){return hn(8|t,e)}function wn(e,t=[],n=[],i=[]){!function(e,t,n,i){const a=It;var r=e.filter(e=>!e.settled);if(0!==n.length||0!==r.length){var o=Bn,s=function(){var e=Bn,t=Pn,n=je,i=st;if(q)var a=De;return function(r=!0){jn(e),Gn(t),Fe(n),r&&0===(e.f&fe)&&(i?.activate(),i?.apply()),q&&We(a)}}(),c=1===r.length?r[0].promise:r.length>1?Promise.all(r.map(e=>e.promise)):null;if(0!==n.length){var l=Et();c?c.then(()=>{s(),u(),Mt()}):u()}else c.then(()=>d(t.map(a)))}else i(t.map(a));function d(e){s();try{i(e)}catch(t){0===(o.f&fe)&&Ze(t,o)}Mt()}function u(){Promise.all(n.map(e=>Tt(e))).then(e=>d([...t.map(a),...e])).catch(e=>Ze(e,o)).finally(()=>l())}}(i,t,n,t=>{hn(8,()=>e(...t.map(ii)))})}function xn(e,t=0){var n=hn(16|t,e);return q&&(n.dev_stack=De),n}function kn(e){return hn(524320,e)}function Sn(e){var t=e.teardown;if(null!==t){const e=Hn,n=Pn;Nn(!0),Gn(null);try{t.call(null)}finally{Nn(e),Gn(n)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&pn(()=>{e.abort(Me)});var i=n.next;64&n.f?n.parent=null:An(n,t),n=i}}function An(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Mn(e.nodes.start,e.nodes.end),n=!0),tt(e,he),_n(e,t&&!n),ti(e,0);var i=e.nodes&&e.nodes.t;if(null!==i)for(const r of i)r.stop();Sn(e),e.f^=he,e.f|=fe;var a=e.parent;null!==a&&null!==a.first&&En(e),q&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Mn(e,t){for(;null!==e;){var n=e===t?null:cn(e);e.remove(),e=n}}function En(e){var t=e.parent,n=e.prev,i=e.next;null!==n&&(n.next=i),null!==i&&(i.prev=n),null!==t&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function Cn(e,t,n=!0){var i=[];In(e,i,!0);var a=()=>{n&&An(e),t&&t()},r=i.length;if(r>0){var o=()=>--r||a();for(var s of i)s.out(o)}else a()}function In(e,t,n){if(0===(e.f&ue)){e.f^=ue;var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||n)&&t.push(e);for(var a=e.first;null!==a;){var r=a.next;In(a,t,!!(0!==(a.f&ge)||0!==(a.f&oe)&&16&e.f)&&n),a=r}}}function Tn(e){$n(e,!0)}function $n(e,t){if(0!==(e.f&ue)){e.f^=ue,0===(e.f&ce)&&(tt(e,le),vt.ensure().schedule(e));for(var n=e.first;null!==n;){var i=n.next;$n(n,!(0===(n.f&ge)&&0===(n.f&oe))&&t),n=i}var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||t)&&e.in()}}function zn(e,t){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end;null!==n;){var a=n===i?null:cn(n);t.append(n),n=a}}let Ln=!1,Hn=!1;function Nn(e){Hn=e}let Pn=null,On=!1;function Gn(e){Pn=e}let Bn=null;function jn(e){Bn=e}let Fn=null;function Dn(e){null!==Pn&&(null===Fn?Fn=[e]:Fn.push(e))}let Wn=null,Kn=0,Rn=null,qn=1,Un=0,Vn=Un;function Yn(e){Vn=e}function Jn(){return++qn}function Xn(e){var t=e.f;if(0!==(t&le))return!0;if(2&t&&(e.f&=-65537),0!==(t&de)){for(var n=e.deps,i=n.length,a=0;a<i;a++){var r=n[a];if(Xn(r)&&Pt(r),r.wv>e.wv)return!0}0!==(t&se)&&null===ct&&tt(e,ce)}return!1}function Zn(e,t,n=!0){var i=e.reactions;if(null!==i&&(null===Fn||!Y.call(Fn,e)))for(var a=0;a<i.length;a++){var r=i[a];2&r.f?Zn(r,t,!1):t===r&&(n?tt(r,le):0!==(r.f&ce)&&tt(r,de),kt(r))}}function Qn(e){var t,n=Wn,i=Kn,a=Rn,r=Pn,o=Fn,s=je,c=On,l=Vn;Wn=null,Kn=0,Rn=null,Pn=96&e.f?null:e,Fn=null,Fe(e.ctx),On=!1,Vn=++Un,null!==e.ac&&(pn(()=>{e.ac.abort(Me)}),e.ac=null);try{e.f|=we;var d=(0,e.fn)();e.f|=pe;var u=e.deps,f=st?.is_fork;if(null!==Wn){var p;if(f||ti(e,Kn),null!==u&&Kn>0)for(u.length=Kn+Wn.length,p=0;p<Wn.length;p++)u[Kn+p]=Wn[p];else e.deps=u=Wn;if(gn()&&0!==(e.f&se))for(p=Kn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Kn<u.length&&(ti(e,Kn),u.length=Kn);if(!(null===Rn||On||null===u||6146&e.f))for(p=0;p<Rn.length;p++)Zn(Rn[p],e);if(null!==r&&r!==e){if(Un++,null!==r.deps)for(let e=0;e<i;e+=1)r.deps[e].rv=Un;if(null!==n)for(const e of n)e.rv=Un;null!==Rn&&(null===a?a=Rn:a.push(...Rn))}return 0!==(e.f&xe)&&(e.f^=xe),d}catch(h){return Xe(h)}finally{e.f^=we,Wn=n,Kn=i,Rn=a,Pn=r,Fn=o,Fe(s),On=c,Vn=l}}function ei(e,t){let n=t.reactions;if(null!==n){var i=V.call(n,e);if(-1!==i){var a=n.length-1;0===a?n=t.reactions=null:(n[i]=n[a],n.pop())}}if(null===n&&2&t.f&&(null===Wn||!Y.call(Wn,t))){var r=t;0!==(r.f&se)&&(r.f^=se,r.f&=-65537),nt(r),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Me),t.teardown=ae,t.ac=null,ti(t,0),_n(t))}(r),ti(r,0)}}function ti(e,t){var n=e.deps;if(null!==n)for(var i=t;i<n.length;i++)ei(e,n[i])}function ni(e){var t=e.f;if(0===(t&fe)){tt(e,ce);var n=Bn,i=Ln;if(Bn=e,Ln=!0,q){var a=Ke;Re(e.component_function);var r=De;We(e.dev_stack??De)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&oe)&&An(t),t=n}}(e):_n(e),Sn(e);var o=Qn(e);e.teardown="function"==typeof o?o:null,e.wv=qn}finally{Ln=i,Bn=n,q&&(Re(a),We(r))}}}function ii(e){var t=!!(2&e.f);if(null!==Pn&&!On&&!(null!==Bn&&0!==(Bn.f&fe)||null!==Fn&&Y.call(Fn,e))){var n=Pn.deps;if(0!==(Pn.f&we))e.rv<Un&&(e.rv=Un,null===Wn&&null!==n&&n[Kn]===e?Kn++:null===Wn?Wn=[e]:Wn.push(e));else{(Pn.deps??(Pn.deps=[])).push(e);var i=e.reactions;null===i?e.reactions=[Pn]:Y.call(i,Pn)||i.push(Pn)}}if(q&&Ct.delete(e),Hn&&Bt.has(e))return Bt.get(e);if(t){var a=e;if(Hn){var r=a.v;return(0===(a.f&ce)&&null!==a.reactions||ri(a))&&(r=Nt(a)),Bt.set(a,r),r}var o=0===(a.f&se)&&!On&&null!==Pn&&(Ln||0!==(Pn.f&se)),s=0===(a.f&pe);Xn(a)&&(o&&(a.f|=se),Pt(a)),o&&!s&&(Ot(a),ai(a))}if(ct?.has(e))return ct.get(e);if(0!==(e.f&xe))throw e.v;return e.v}function ai(e){if(e.f|=se,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&se)&&(Ot(t),ai(t))}function ri(e){if(e.v===Ie)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Bt.has(t))return!0;if(2&t.f&&ri(t))return!0}return!1}function oi(e){var t=On;try{return On=!0,e()}finally{On=t}}const si=["touchstart","touchmove"];function ci(e){return si.includes(e)}const li=Symbol("events"),di=new Set,ui=new Set;function fi(e,t,n){(t[li]??(t[li]={}))[e]=n}function pi(e){for(var t=0;t<e.length;t++)di.add(e[t]);for(var n of ui)n(e)}let hi=null;function gi(e){var t=this,n=t.ownerDocument,i=e.type,a=e.composedPath?.()||[],r=a[0]||e.target;hi=e;var o=0,s=hi===e&&e[li];if(s){var c=a.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[li]=t);var l=a.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((r=a[o]||e.target)!==t){X(e,"currentTarget",{configurable:!0,get:()=>r||n});var d=Pn,u=Bn;Gn(null),jn(null);try{for(var f,p=[];null!==r;){var h=r.assignedSlot||r.parentNode||r.host||null;try{var g=r[li]?.[i];null==g||r.disabled&&e.target!==r||g.call(r,e)}catch(m){f?p.push(m):f=m}if(e.cancelBubble||h===t||null===h)break;r=h}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[li]=t,delete e.currentTarget,Gn(d),jn(u)}}}const mi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function vi(e){var t=fn("template");return t.innerHTML=function(e){return mi?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function yi(e,t){null===Bn.nodes&&(Bn.nodes={start:e,end:t,a:null,t:null})}function bi(e,t){var n,i=!!(1&t),a=!!(2&t),r=!e.startsWith("<!>");return()=>{void 0===n&&(n=vi(r?e:"<!>"+e),i||(n=sn(n)));var t=a||nn?document.importNode(n,!0):n.cloneNode(!0);return i?yi(sn(t),t.lastChild):yi(t,t),t}}function wi(e,t,n="svg"){var i,a=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!i){var e=vi(a);i=sn(sn(e))}var t=i.cloneNode(!0);return yi(t,t),t}}function xi(e,t){return wi(e,0,"svg")}function ki(e,t){null!==e&&e.before(t)}function Si(e,t){var n=null==t?"":"object"==typeof t?`${t}`:t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=`${n}`)}const _i=new Map;let Ai=new WeakMap;class Mi{constructor(e,t=!0){__publicField(this,"anchor"),__privateAdd(this,O,new Map),__privateAdd(this,G,new Map),__privateAdd(this,B,new Map),__privateAdd(this,j,new Set),__privateAdd(this,F,!0),__privateAdd(this,D,e=>{if(__privateGet(this,O).has(e)){var t=__privateGet(this,O).get(e),n=__privateGet(this,G).get(t);if(n)Tn(n),__privateGet(this,j).delete(t);else{var i=__privateGet(this,B).get(t);i&&(__privateGet(this,G).set(t,i.effect),__privateGet(this,B).delete(t),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[t,n]of __privateGet(this,O)){if(__privateGet(this,O).delete(t),t===e)break;const i=__privateGet(this,B).get(n);i&&(An(i.effect),__privateGet(this,B).delete(n))}for(const[e,i]of __privateGet(this,G)){if(e===t||__privateGet(this,j).has(e))continue;const a=()=>{if(Array.from(__privateGet(this,O).values()).includes(e)){var t=document.createDocumentFragment();zn(i,t),t.append(on()),__privateGet(this,B).set(e,{effect:i,fragment:t})}else An(i);__privateGet(this,j).delete(e),__privateGet(this,G).delete(e)};__privateGet(this,F)||!n?(__privateGet(this,j).add(e),Cn(i,a,!1)):a()}}}),__privateAdd(this,W,e=>{__privateGet(this,O).delete(e);const t=Array.from(__privateGet(this,O).values());for(const[n,i]of __privateGet(this,B))t.includes(n)||(An(i.effect),__privateGet(this,B).delete(n))}),this.anchor=e,__privateSet(this,F,t)}ensure(e,t){var n=st;!t||__privateGet(this,G).has(e)||__privateGet(this,B).has(e)||__privateGet(this,G).set(e,kn(()=>t(this.anchor))),__privateGet(this,O).set(n,e),__privateGet(this,D).call(this,n)}}function Ei(e,t,n=!1){var i=new Mi(e);function a(e,t){i.ensure(e,t)}xn(()=>{var e=!1;t((t,n=0)=>{e=!0,a(n,t)}),e||a(-1,null)},n?ge:0)}function Ci(e,t){return t}function Ii(e,t,n=!0){var i;if(e.pending.size>0){i=new Set;for(const t of e.pending.values())for(const n of t)i.add(e.items.get(n).e)}for(var a=0;a<t.length;a++){var r=t[a];i?.has(r)?(r.f|=ye,zn(r,document.createDocumentFragment())):An(t[a],n)}}var Ti;function $i(e,t,n,i,a,r=null){var o,s=new Map;o=e.appendChild(on());var c,l=null,d=zt(()=>{var e=n();return U(e)?e:null==e?[]:J(e)}),u=new Map,f=!0,p={effect:xn(()=>{for(var e=(c=ii(d)).length,h=new Set,g=st,m=0;m<e;m+=1){var v=c[m],y=i(v,m);if(q){var b=i(v,m);y!==b&&Ce(String(m),String(y),String(b))}var w=f?null:s.get(y);w?(w.v&&qt(w.v,v),w.i&&qt(w.i,m)):(w=Li(s,f?o:Ti??(Ti=on()),v,y,m,a,t,n),f||(w.e.f|=ye),s.set(y,w)),h.add(y)}0===e&&r&&!l&&(f?l=kn(()=>r(o)):(l=kn(()=>r(Ti??(Ti=on())))).f|=ye),e>h.size&&(q?function(e,t){const n=new Map,i=e.length;for(let a=0;a<i;a++){const i=t(e[a],a);if(n.has(i)){const e=String(n.get(i)),t=String(a);let r=String(i);r.startsWith("[object ")&&(r=null),Ee(e,t,r)}n.set(i,a)}}(c,i):Ee("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&fe)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,i,a){var r,o,s,c,l=t.length,d=e.items,u=zi(e.effect.first),f=null,p=[],h=[];for(c=0;c<l;c+=1){if(o=a(t[c],c),s=d.get(o).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(s),t.done.delete(s);if(0!==(s.f&ye)){if(s.f^=ye,s!==u){var g=f?f.next:u;s===e.effect.last&&(e.effect.last=s.prev),s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),Ni(e,f,s),Ni(e,s,g),Hi(s,g,n),p=[],h=[],u=zi((f=s).next);continue}Hi(s,null,n)}if(0!==(s.f&ue)&&Tn(s),s!==u){if(void 0!==r&&r.has(s)){if(p.length<h.length){var m,v=h[0];f=v.prev;var y=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Hi(p[m],v,n);for(m=0;m<h.length;m+=1)r.delete(h[m]);Ni(e,y.prev,b.next),Ni(e,f,y),Ni(e,b,v),u=v,f=b,c-=1,p=[],h=[]}else r.delete(s),Hi(s,u,n),Ni(e,s.prev,s.next),Ni(e,s,null===f?e.effect.first:f.next),Ni(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(r??(r=new Set)).add(u),h.push(u),u=zi(u.next);if(null===u)continue}0===(s.f&ye)&&p.push(s),f=s,u=zi(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Ii(e,J(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==u||void 0!==r){var w=[];if(void 0!==r)for(s of r)0===(s.f&ue)&&w.push(s);for(;null!==u;)0===(u.f&ue)&&u!==e.fallback&&w.push(u),u=zi(u.next);w.length>0&&function(e,t,n){for(var i,a=t.length,r=t.length,o=0;o<a;o++){let n=t[o];Cn(n,()=>{if(i){if(i.pending.delete(n),i.done.add(n),0===i.pending.size){var t=e.outrogroups;Ii(e,J(i.done)),t.delete(i),0===t.size&&(e.outrogroups=null)}}else r-=1},!1)}if(0===r){var s=null!==n;if(s){var c=n,l=c.parentNode;l.textContent="",l.append(c),e.items.clear()}Ii(e,t,!s)}else i={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(i)}(e,w,0===l?n:null)}}(p,c,o,0,i),null!==l&&(0===c.length?0===(l.f&ye)?Tn(l):(l.f^=ye,Hi(l,null,o)):Cn(l,()=>{l=null})))}(g)),ii(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function zi(e){for(;null!==e&&0===(e.f&oe);)e=e.next;return e}function Li(e,t,n,i,a,r,o,s){var c=1&o?16&o?Dt(n):Kt(n,!1,!1):null,l=2&o?Dt(a):null;return q&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:kn(()=>(r(t,c??n,l??a,s),()=>{e.delete(i)}))}}function Hi(e,t,n){if(e.nodes)for(var i=e.nodes.start,a=e.nodes.end,r=t&&0===(t.f&ye)?t.nodes.start:n;null!==i;){var o=cn(i);if(r.before(i),i===a)return;i=o}}function Ni(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Pi(e,t,n=!1,i=!1,a=!1,r=!1){var o=e,s="";if(n)var c=e;wn(()=>{var e=Bn;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&yi(sn(c),c.lastChild));if(null!==e.nodes&&(Mn(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var r=fn(i?"svg":a?"math":"template",i?"http://www.w3.org/2000/svg":a?"http://www.w3.org/1998/Math/MathML":void 0);r.innerHTML=s;var l=i||a?r:r.content;if(yi(sn(l),l.lastChild),i||a)for(;sn(l);)o.before(sn(l));else o.before(l)}}})}O=new WeakMap,G=new WeakMap,B=new WeakMap,j=new WeakMap,F=new WeakMap,D=new WeakMap,W=new WeakMap;const Oi=[..." \t\n\r\f \v\ufeff"];function Gi(e,t,n,i,a,r){var o=e.__className;if(o!==n||void 0===o){var s=function(e,t,n){var i=null==e?"":""+e;if(n)for(var a of Object.keys(n))if(n[a])i=i?i+" "+a:a;else if(i.length)for(var r=a.length,o=0;(o=i.indexOf(a,o))>=0;){var s=o+r;0!==o&&!Oi.includes(i[o-1])||s!==i.length&&!Oi.includes(i[s])?o=s:i=(0===o?"":i.substring(0,o))+i.substring(s+1)}return""===i?null:i}(n,0,r);null==s?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s),e.__className=n}else if(r&&a!==r)for(var c in r){var l=!!r[c];null!=a&&l===!!a[c]||e.classList.toggle(c,l)}return r}function Bi(e,t,n,i){if(e.__style!==t){var a=function(e){return null==e?null:String(e)}(t);null==a?e.removeAttribute("style"):e.style.cssText=a,e.__style=t}return i}const ji=Symbol("is custom element"),Fi=Symbol("is html");function Di(e,t,n,i){var a=function(e){return e.__attributes??(e.__attributes={[ji]:e.nodeName.includes("-"),[Fi]:e.namespaceURI===$e})}(e);a[t]!==(a[t]=n)&&("loading"===t&&(e[_e]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,i=Wi.get(n);if(i)return i;Wi.set(n,i=[]);for(var a=e,r=Element.prototype;r!==a;){for(var o in t=Q(a))t[o].set&&i.push(o);a=ne(a)}return i}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Wi=new Map;function Ki(e,t){return e===t||e?.[ke]===t}function Ri(e={},t,n,i){var a=je.r,r=Bn;return hn(4,()=>{var i,o;return bn(()=>{i=o,o=[],oi(()=>{e!==n(...o)&&(t(e,...o),i&&Ki(n(...i),e)&&t(null,...i))})}),()=>{let i=r;for(;i!==a&&null!==i.parent&&i.parent.f&he;)i=i.parent;const s=i.teardown;i.teardown=()=>{o&&Ki(n(...o),e)&&t(null,...o),s?.()}}}),e}function qi(e,t,n,i){var a=!!(8&n),r=!!(16&n),o=i,s=!0,c=()=>(s&&(s=!1,o=r?oi(i):i),o);let l;if(a){var d=ke in e||Se in e;l=Z(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var u,f,p=!1;if(a?[u,p]=function(){var n=rt;try{return rt=!1,[e[t],rt]}finally{rt=n}}():u=e[t],void 0===u&&void 0!==i&&(u=c(),l&&(function(e){if(q){const t=new Error(`props_invalid_value\nCannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value\nhttps://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_invalid_value")}(t),l(u))),f=()=>{var n=e[t];return void 0===n?c():(s=!0,n)},!(4&n))return f;if(l){var h=e.$$legacy;return function(e,t){return arguments.length>0?((!t||h||p)&&l(t?f():e),e):f()}}var g=!1,m=(1&n?It:zt)(()=>(g=!1,f()));q&&(m.label=t),a&&ii(m);var v=Bn;return function(e,t){if(arguments.length>0){const n=t?ii(m):a?Xt(e):e;return Rt(m,n),g=!0,void 0!==o&&(o=n),e}return Hn&&g||0!==(v.f&fe)?m.v:ii(m)}}if(q){let e=function(e){if(!(e in globalThis)){let t;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(void 0!==t)return t;!function(e){if(q){const t=new Error(`rune_outside_svelte\nThe \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nhttps://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/rune_outside_svelte")}(e)},set:e=>{t=e}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Ui(e){null===je&&function(){if(q){const e=new Error("lifecycle_outside_component\n`onMount(...)` can only be used during component initialisation\nhttps://svelte.dev/e/lifecycle_outside_component");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),vn(()=>{const t=oi(e);if("function"==typeof t)return t})}function Vi(e){return`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`}function Yi(){return Vi('<circle cx="12" cy="4.5" r="1.5"/><path d="M12 7.5v5m0 0l-3 4.5m3-4.5l3 4.5"/><path d="M6.5 9.5h11"/>')}function Ji(){return Vi('<path d="M11 5L6 9H3v6h3l5 4V5z"/><path d="M15 9a4 4 0 0 1 0 6"/><path d="M18 6a8 8 0 0 1 0 12"/>')}function Xi(){return Vi('<path d="M12 2a5 5 0 0 1 4.65 3.2A4.5 4.5 0 0 1 20 9.5a4.5 4.5 0 0 1-1.5 3.35A5 5 0 0 1 12 18"/><path d="M12 2a5 5 0 0 0-4.65 3.2A4.5 4.5 0 0 0 4 9.5a4.5 4.5 0 0 0 1.5 3.35A5 5 0 0 0 12 18"/><path d="M12 18v4"/><path d="M8 10h.01"/><path d="M16 10h.01"/><path d="M9 14c1 1 5 1 6 0"/>')}function Zi(){return Vi('<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 16l5-5 4 4 3-3 6 6"/><circle cx="8.5" cy="8.5" r="1.5"/><text x="12" y="21.5" text-anchor="middle" fill="currentColor" stroke="none" font-size="5" font-weight="bold" font-family="sans-serif">ALT</text>')}function Qi(){return Vi('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function ea(){return Vi('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function ta(){return Vi('<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>')}"undefined"!=typeof window&&((K=window.__svelte??(window.__svelte={})).v??(K.v=new Set)).add("5");const na={accessibility:Yi,contrast:function(){return Vi('<circle cx="12" cy="12" r="9"/><path d="M12 3v18" /><path d="M12 3a9 9 0 0 1 0 18" fill="currentColor" stroke="none"/>')},"text-size":function(){return Vi('<path d="M4 19l4-12h1l4 12"/><path d="M5.5 15h5"/><path d="M17 5v14"/><path d="M14 8l3-3 3 3"/><path d="M14 16l3 3 3-3"/>')},spacing:function(){return Vi('<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 5l-2 2 2 2"/><path d="M14 5l2 2-2 2"/><path d="M10 17l-2-2 2-2"/><path d="M14 17l2-2-2-2"/>')},font:function(){return Vi('<path d="M6 4h10a2 2 0 0 1 2 2v1"/><path d="M6 4v16"/><path d="M6 12h8"/><path d="M4 20h4"/>')},"reading-guide":function(){return Vi('<path d="M3 12h18"/><path d="M3 6h18" opacity="0.3"/><path d="M3 18h18" opacity="0.3"/><rect x="1" y="10" width="22" height="4" rx="1" stroke-dasharray="4 2"/>')},focus:function(){return Vi('<circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="7"/><path d="M12 2v3"/><path d="M12 19v3"/><path d="M2 12h3"/><path d="M19 12h3"/>')},"animation-pause":function(){return Vi('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return Vi('<path d="M5 3l1.5 16 3.5-4 5 6 2-1.5-5-6h5.5z"/><path d="M18 12h4"/><path d="M20 10v4"/>')},speaker:Ji,tts:Ji,brain:Xi,ai:Xi,image:Zi,"alt-text":Zi,keyboard:function(){return Vi('<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01"/><path d="M10 10h.01"/><path d="M14 10h.01"/><path d="M18 10h.01"/><path d="M8 14h8"/>')},"color-blindness":function(){return Vi('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/><path d="M12 9v6" stroke-dasharray="2 1"/><path d="M9 12h6" stroke-dasharray="2 1"/>')},"link-highlight":function(){return Vi('<path d="M10 13a5 5 0 0 0 7.07.5l2.12-2.12a5 5 0 0 0-7.07-7.07l-1.06 1.06"/><path d="M14 11a5 5 0 0 0-7.07-.5L4.81 12.6a5 5 0 0 0 7.07 7.07l1.06-1.06"/><path d="M2 20l4-4" stroke-width="3" opacity="0.4"/>')},close:Qi,"close-x":Qi,reset:ea,chevron:function(){return Vi('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return Vi('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return Vi('<path d="M10.3 3.2L1.7 18a2 2 0 0 0 1.7 3h17.2a2 2 0 0 0 1.7-3L13.7 3.2a2 2 0 0 0-3.4 0z"/><path d="M12 9v4"/><path d="M12 17h.01"/>')},scan:function(){return Vi('<circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/><path d="M8 9h6"/><path d="M8 11h4"/><path d="M8 13h5"/>')},"simplify-text":function(){return Vi('<rect x="4" y="2" width="16" height="20" rx="2"/><path d="M8 6h8"/><path d="M8 10h8" opacity="0.35" stroke-dasharray="2 2"/><path d="M8 14h5"/><path d="M8 18h6" opacity="0.35" stroke-dasharray="2 2"/>')},eye:function(){return Vi('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/>')},shield:function(){return Vi('<path d="M12 2l8 4v6c0 5.5-3.8 10.7-8 12-4.2-1.3-8-6.5-8-12V6l8-4z"/><path d="M9 12l2 2 4-4"/>')},saturation:function(){return Vi('<path d="M12 2.7c-4.5 5-7 8.5-7 11.8a7 7 0 0 0 14 0c0-3.3-2.5-6.8-7-11.8z"/><path d="M12 9v9"/><path d="M12 9a4.5 4.5 0 0 0 0 9" fill="currentColor" stroke="none" opacity="0.3"/>')},"hide-images":function(){return Vi('<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M3 16l5-5 4 4 3-3 6 6"/><path d="M2 2l20 20" stroke-width="2.5"/>')},"text-align":function(){return Vi('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return Vi('<rect x="2" y="2" width="20" height="20" rx="2" opacity="0.3"/><rect x="4" y="8" width="16" height="8" rx="1"/><path d="M4 8h16" stroke-dasharray="3 2"/><path d="M4 16h16" stroke-dasharray="3 2"/>')},"page-structure":function(){return Vi('<path d="M4 6h4"/><path d="M4 6v6"/><path d="M8 6v6"/><path d="M4 9h4"/><path d="M12 7h8" stroke-width="1.5"/><path d="M14 12h6" opacity="0.6"/><path d="M14 16h6" opacity="0.6"/><path d="M12 20h8" stroke-width="1.5"/>')},"line-height":function(){return Vi('<path d="M10 6h10"/><path d="M10 12h10"/><path d="M10 18h10"/><path d="M4 4v16"/><path d="M2 7l2-3 2 3"/><path d="M2 17l2 3 2-3"/>')},globe:ta,profile:function(){return Vi('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},ia={"widget.title":"Accessibility","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments reset","widget.poweredBy":"Powered by Accessify","widget.statement":"Accessibility Statement","status.active":"{count} active","status.noActive":"No adjustments active","status.activated":"activated","status.deactivated":"deactivated","section.profiles":"Quick Profiles","category.visual":"Visual","category.motor":"Motor & Navigation","category.cognitive":"Cognitive","category.ai":"AI Features","profile.visionImpaired":"Vision Impaired","profile.visionImpaired.desc":"High contrast, larger text and cursor","profile.motorImpaired":"Motor Impaired","profile.motorImpaired.desc":"Keyboard navigation and focus aids","profile.cognitive":"Cognitive Support","profile.cognitive.desc":"Reading aids, spacing, and simpler fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animations and reduce stimuli","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distractions and improve focus","feature.contrast":"Contrast","feature.contrast.desc":"Increase contrast for better readability","feature.textSize":"Text Size","feature.textSize.desc":"Increase or decrease text size","feature.spacing":"Text Spacing","feature.spacing.desc":"Adjust letter and line spacing","feature.dyslexiaFont":"Dyslexia Font","feature.dyslexiaFont.desc":"Special font for better readability","feature.readingGuide":"Reading Guide","feature.readingGuide.desc":"Horizontal ruler for line-by-line reading","feature.focusHighlight":"Focus Highlight","feature.focusHighlight.desc":"Visible outline on focused elements","feature.animationStop":"Pause Animations","feature.animationStop.desc":"Pause all animations and videos","feature.bigCursor":"Big Cursor","feature.bigCursor.desc":"Enlarged cursor for better visibility","feature.colorBlind":"Color Filter","feature.colorBlind.desc":"Color corrections for color vision deficiencies","feature.linkHighlight":"Highlight Links","feature.linkHighlight.desc":"Underline and highlight all links","feature.keyboardNav":"Keyboard Nav","feature.keyboardNav.desc":"Navigate the page using only your keyboard: Skip to main content, Alt+H to jump through headings, Alt+L for page sections, Alt+K shows all shortcuts","feature.tts":"Read Aloud","feature.tts.desc":"Click any text to hear it spoken","feature.textSimplify":"Simplify Text","feature.textSimplify.desc":"Simplify text for easier understanding","feature.altText":"Image Description","feature.altText.desc":"Show image descriptions on hover and auto-generate missing ones","feature.autoScan":"WCAG Scan","feature.autoScan.desc":"Scan page for accessibility issues","feature.saturation":"Saturation","feature.saturation.desc":"Adjust color saturation or grayscale","feature.hideImages":"Hide Images","feature.hideImages.desc":"Remove images for distraction-free reading","feature.textAlign":"Text Align","feature.textAlign.desc":"Change text alignment across the page","feature.readingMask":"Reading Mask","feature.readingMask.desc":"Focus window that dims surrounding content","feature.pageStructure":"Page Structure","feature.pageStructure.desc":"View headings and landmarks for quick navigation","feature.lineHeight":"Line Height","feature.lineHeight.desc":"Increase space between lines of text","ai.loading":"Loading...","ai.error":"Error processing request","ai.simplify.select":"Select text to simplify","ai.simplify.level":"Simplification level","ai.simplify.einfache":"Simple language","ai.simplify.leichte":"Easy language","ai.alttext.generate":"Generate alt text","ai.alttext.apply":"Apply","ai.alttext.edit":"Edit","ai.alttext.badge":"Images missing alt text","ai.alttext.aiGenerated":"AI-generated – please review","tts.play":"Play","tts.pause":"Pause","tts.stop":"Stop","tts.speed":"Speed","footer.disclaimer":"This widget enhances accessibility but does not replace accessible web development.","footer.docs":"Documentation","footer.github":"GitHub","bfsg.notice":"Note: This overlay tool alone does not meet BFSG requirements. Full accessibility requires structural changes to the source code.","disclaimer.ai":"Parts of this page have been simplified using AI. Original text can be restored via the accessibility widget.","disclaimer.dismiss":"Dismiss","widget.subtitle":"Adjust contrast, text and navigation on this page","widget.language":"Language","widget.widgetLang":"Widget language","widget.moveWidget":"Move widget to other side","widget.poweredBy":"Powered by Accessify-Widget","section.essentials":"Most used","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI assistance","section.ai.desc":"Simplify content, generate alt text and scan the current page.","control.mostUsed":"Most used","control.chooseMode":"Choose a mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","keyboard.shortcuts":"Keyboard shortcuts","keyboard.shortcut":"Shortcut","keyboard.action":"Action","keyboard.nextHeading":"Go to the next heading","keyboard.nextLandmark":"Go to the next landmark","keyboard.toggleHelp":"Open or close this help overlay","keyboard.nextFocusable":"Move to the next focusable element","keyboard.closeOverlay":"Close this overlay","keyboard.skipToContent":"Skip to main content","pageStructure.title":"Page structure","pageStructure.headings":"Headings","pageStructure.landmarks":"Landmarks","pageStructure.empty":"No headings or landmarks found on this page."};function aa(e){return{...ia,...e}}const ra={en:ia,de:{"widget.title":"Barrierefreiheit","widget.open":"Barrierefreiheit-Einstellungen öffnen","widget.close":"Schließen","widget.reset":"Alle zurücksetzen","widget.resetConfirm":"Alle Anpassungen zurückgesetzt","widget.poweredBy":"Bereitgestellt von Accessify","widget.statement":"Barrierefreiheitserklärung","status.active":"{count} aktiv","status.noActive":"Keine Anpassungen aktiv","status.activated":"aktiviert","status.deactivated":"deaktiviert","section.profiles":"Schnellprofile","category.visual":"Visuell","category.motor":"Motorik & Navigation","category.cognitive":"Kognitiv","category.ai":"KI-Funktionen","profile.visionImpaired":"Sehbeeinträchtigung","profile.visionImpaired.desc":"Hoher Kontrast, größerer Text und Cursor","profile.motorImpaired":"Motorische Einschränkung","profile.motorImpaired.desc":"Tastaturnavigation und Fokus-Hilfen","profile.cognitive":"Kognitive Unterstützung","profile.cognitive.desc":"Lesehilfen, Abstände und einfachere Schrift","profile.seizureSafe":"Anfallssicher","profile.seizureSafe.desc":"Animationen stoppen und Reize reduzieren","profile.adhdFriendly":"ADHS-freundlich","profile.adhdFriendly.desc":"Ablenkungen reduzieren und Fokus verbessern","feature.contrast":"Kontrast","feature.contrast.desc":"Kontrast erhöhen für bessere Lesbarkeit","feature.textSize":"Textgröße","feature.textSize.desc":"Text vergrößern oder verkleinern","feature.spacing":"Textabstand","feature.spacing.desc":"Abstände zwischen Buchstaben und Zeilen anpassen","feature.dyslexiaFont":"Legasthenie-Schrift","feature.dyslexiaFont.desc":"Spezielle Schriftart für bessere Lesbarkeit","feature.readingGuide":"Leselineal","feature.readingGuide.desc":"Horizontales Lineal zum zeilenweisen Lesen","feature.focusHighlight":"Fokus-Hervorhebung","feature.focusHighlight.desc":"Sichtbare Umrandung fokussierter Elemente","feature.animationStop":"Animationen stoppen","feature.animationStop.desc":"Alle Animationen und Videos stoppen","feature.bigCursor":"Großer Mauszeiger","feature.bigCursor.desc":"Vergrößerter Mauszeiger für bessere Sichtbarkeit","feature.colorBlind":"Farbfilter","feature.colorBlind.desc":"Farbkorrekturen für verschiedene Sehschwächen","feature.linkHighlight":"Links hervorheben","feature.linkHighlight.desc":"Alle Links sichtbar unterstreichen","feature.keyboardNav":"Tastaturnavigation","feature.keyboardNav.desc":"Seite nur mit Tastatur bedienen: Direkt zum Inhalt springen, mit Alt+H durch Überschriften navigieren, Alt+L für Seitenbereiche, Alt+K zeigt alle Tastenkombinationen","feature.tts":"Vorlesen","feature.tts.desc":"Text per Klick vorlesen lassen","feature.textSimplify":"Text vereinfachen","feature.textSimplify.desc":"Text in Einfache Sprache umwandeln","feature.altText":"Bildbeschreibung","feature.altText.desc":"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen","feature.autoScan":"WCAG-Prüfung","feature.autoScan.desc":"Seite auf Barrierefreiheit prüfen","feature.saturation":"Sättigung","feature.saturation.desc":"Farbsättigung anpassen oder Graustufen","feature.hideImages":"Bilder ausblenden","feature.hideImages.desc":"Bilder entfernen für ablenkungsfreies Lesen","feature.textAlign":"Textausrichtung","feature.textAlign.desc":"Textausrichtung der Seite ändern","feature.readingMask":"Lesemaske","feature.readingMask.desc":"Fokus-Fenster, das die Umgebung abdunkelt","feature.pageStructure":"Seitenstruktur","feature.pageStructure.desc":"Überschriften und Bereiche zur Navigation anzeigen","feature.lineHeight":"Zeilenhöhe","feature.lineHeight.desc":"Abstand zwischen Textzeilen vergrößern","ai.loading":"Wird geladen...","ai.error":"Fehler bei der Verarbeitung","ai.simplify.select":"Text auswählen zum Vereinfachen","ai.simplify.level":"Vereinfachungsstufe","ai.simplify.einfache":"Einfache Sprache","ai.simplify.leichte":"Leichte Sprache","ai.alttext.generate":"Alt-Text erzeugen","ai.alttext.apply":"Übernehmen","ai.alttext.edit":"Bearbeiten","ai.alttext.badge":"Bilder ohne Alt-Text","ai.alttext.aiGenerated":"KI-generiert – bitte überprüfen","tts.play":"Vorlesen","tts.pause":"Pause","tts.stop":"Stopp","tts.speed":"Geschwindigkeit","footer.disclaimer":"Dieses Widget verbessert die Barrierefreiheit, ersetzt aber keine barrierefreie Webentwicklung.","footer.docs":"Dokumentation","footer.github":"GitHub","bfsg.notice":"Hinweis: Dieses Overlay-Tool allein erfüllt nicht die Anforderungen des BFSG. Professionelle Barrierefreiheit erfordert strukturelle Änderungen am Quellcode.","disclaimer.ai":"Teile dieser Seite wurden mit KI vereinfacht. Der Originaltext kann über das Barrierefreiheits-Widget wiederhergestellt werden.","disclaimer.dismiss":"Schließen","widget.subtitle":"Passe Kontrast, Text und Navigation auf dieser Seite an","widget.language":"Sprache","widget.widgetLang":"Widget-Sprache","widget.moveWidget":"Widget auf andere Seite verschieben","widget.poweredBy":"Bereitgestellt von Accessify-Widget","section.essentials":"Am haeufigsten genutzt","section.essentials.desc":"Starte mit Kontrast, Textgroesse und Tastaturhilfe.","section.support":"Lesen und Navigation","section.support.desc":"Hilfen fuer Fokus, reduzierte Bewegung und Seitenstruktur.","section.ai":"KI-Unterstuetzung","section.ai.desc":"Inhalte vereinfachen, Alt-Texte erzeugen und die Seite pruefen.","control.mostUsed":"Meistgenutzt","control.chooseMode":"Modus waehlen","control.default":"Standard","contrast.mode.light":"Heller Kontrast","contrast.mode.dark":"Dunkler Kontrast","contrast.mode.high":"Hoher Kontrast","keyboard.shortcuts":"Tastaturhilfe","keyboard.shortcut":"Tastaturkuerzel","keyboard.action":"Aktion","keyboard.nextHeading":"Zur naechsten Ueberschrift springen","keyboard.nextLandmark":"Zur naechsten Landmarke springen","keyboard.toggleHelp":"Diese Hilfe ein- oder ausblenden","keyboard.nextFocusable":"Zum naechsten fokussierbaren Element wechseln","keyboard.closeOverlay":"Diese Hilfe schliessen","keyboard.skipToContent":"Zum Hauptinhalt springen","pageStructure.title":"Seitenstruktur","pageStructure.headings":"Ueberschriften","pageStructure.landmarks":"Landmarken","pageStructure.empty":"Auf dieser Seite wurden keine Ueberschriften oder Landmarken gefunden."},zh:aa({"widget.widgetLang":"小组件语言","widget.title":"无障碍","widget.subtitle":"调整此页面的对比度、文字和导航","widget.open":"打开无障碍设置","widget.close":"关闭","widget.reset":"全部重置","widget.resetConfirm":"已重置所有调整","widget.poweredBy":"由 Accessify-Widget 提供支持","widget.statement":"无障碍声明","widget.language":"语言","status.active":"已启用 {count} 项","status.noActive":"当前未启用调整","status.activated":"已启用","status.deactivated":"已关闭","section.essentials":"最常用","section.essentials.desc":"先从对比度、文字大小和键盘支持开始。","section.support":"阅读与导航","section.support.desc":"用于聚焦、减少动画和查看页面结构的工具。","section.ai":"AI 辅助","section.ai.desc":"简化内容、生成替代文本并扫描当前页面。","control.mostUsed":"最常用","control.chooseMode":"选择模式","control.default":"默认","contrast.mode.light":"浅色高对比","contrast.mode.dark":"深色高对比","contrast.mode.high":"高对比","feature.contrast":"对比度","feature.textSize":"更大文字","feature.keyboardNav":"键盘导航","feature.focusHighlight":"焦点高亮","feature.linkHighlight":"突出链接","feature.animationStop":"停止动画","feature.readingGuide":"阅读指引线","feature.readingMask":"阅读遮罩","feature.hideImages":"隐藏图片","feature.bigCursor":"大号光标","feature.pageStructure":"页面结构","feature.tts":"朗读","feature.textSimplify":"简化文本","feature.altText":"图片描述","feature.autoScan":"WCAG 扫描","section.profiles":"快速配置","profile.visionImpaired":"视力障碍","profile.visionImpaired.desc":"高对比度、更大文字和光标","profile.motorImpaired":"运动障碍","profile.motorImpaired.desc":"键盘导航和焦点辅助","profile.cognitive":"认知支持","profile.cognitive.desc":"阅读辅助、间距调整和简化字体","profile.seizureSafe":"癫痫安全","profile.seizureSafe.desc":"停止动画并减少刺激","profile.adhdFriendly":"注意力友好","profile.adhdFriendly.desc":"减少干扰并提高专注力"}),hi:aa({"widget.widgetLang":"विजेट भाषा","widget.title":"सुलभता","widget.subtitle":"इस पेज पर कंट्रास्ट, टेक्स्ट और नेविगेशन समायोजित करें","widget.open":"सुलभता सेटिंग खोलें","widget.close":"बंद करें","widget.reset":"सब रीसेट करें","widget.resetConfirm":"सभी बदलाव रीसेट हो गए","widget.poweredBy":"Accessify-Widget द्वारा संचालित","widget.statement":"एक्सेसिबिलिटी स्टेटमेंट","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोई बदलाव सक्रिय नहीं","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सबसे ज्यादा उपयोग","section.essentials.desc":"कंट्रास्ट, टेक्स्ट साइज और कीबोर्ड सहायता से शुरू करें।","section.support":"पढ़ना और नेविगेशन","section.support.desc":"फोकस, कम मोशन और पेज स्ट्रक्चर के लिए टूल।","section.ai":"AI सहायता","section.ai.desc":"कंटेंट सरल करें, ऑल्ट टेक्स्ट बनाएं और मौजूदा पेज स्कैन करें।","control.mostUsed":"सबसे उपयोगी","control.chooseMode":"मोड चुनें","control.default":"डिफ़ॉल्ट","contrast.mode.light":"लाइट कंट्रास्ट","contrast.mode.dark":"डार्क कंट्रास्ट","contrast.mode.high":"हाई कंट्रास्ट","feature.contrast":"कंट्रास्ट","feature.textSize":"बड़ा टेक्स्ट","feature.keyboardNav":"कीबोर्ड नेविगेशन","feature.focusHighlight":"फोकस हाइलाइट","feature.linkHighlight":"लिंक हाइलाइट","feature.animationStop":"एनिमेशन रोकें","feature.readingGuide":"रीडिंग गाइड","feature.readingMask":"रीडिंग मास्क","feature.hideImages":"तस्वीरें छिपाएँ","feature.bigCursor":"बड़ा कर्सर","feature.pageStructure":"पेज संरचना","feature.tts":"जोर से पढ़ें","feature.textSimplify":"टेक्स्ट सरल करें","feature.altText":"चित्र विवरण","feature.autoScan":"WCAG स्कैन","section.profiles":"त्वरित प्रोफ़ाइल","profile.visionImpaired":"दृष्टि बाधित","profile.visionImpaired.desc":"उच्च कंट्रास्ट, बड़ा टेक्स्ट और कर्सर","profile.motorImpaired":"मोटर बाधित","profile.motorImpaired.desc":"कीबोर्ड नेविगेशन और फोकस सहायता","profile.cognitive":"संज्ञानात्मक सहायता","profile.cognitive.desc":"पठन सहायता, स्पेसिंग और सरल फ़ॉन्ट","profile.seizureSafe":"दौरा सुरक्षित","profile.seizureSafe.desc":"एनिमेशन बंद करें और उत्तेजना कम करें","profile.adhdFriendly":"ADHD अनुकूल","profile.adhdFriendly.desc":"विकर्षण कम करें और ध्यान बढ़ाएँ"}),es:aa({"widget.widgetLang":"Idioma del widget","widget.title":"Accesibilidad","widget.subtitle":"Ajusta contraste, texto y navegacion en esta pagina","widget.open":"Abrir ajustes de accesibilidad","widget.close":"Cerrar","widget.reset":"Restablecer todo","widget.resetConfirm":"Se restablecieron todos los ajustes","widget.poweredBy":"Impulsado por Accessify-Widget","widget.statement":"Declaracion de accesibilidad","widget.language":"Idioma","status.active":"{count} activas","status.noActive":"No hay ajustes activos","status.activated":"activado","status.deactivated":"desactivado","section.essentials":"Lo mas usado","section.essentials.desc":"Empieza con contraste, tamano de texto y apoyo para teclado.","section.support":"Lectura y navegacion","section.support.desc":"Herramientas para foco, menos movimiento y estructura de pagina.","section.ai":"Asistencia de IA","section.ai.desc":"Simplifica contenido, genera texto alternativo y analiza la pagina actual.","control.mostUsed":"Mas usado","control.chooseMode":"Elegir modo","control.default":"Predeterminado","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste oscuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto mas grande","feature.keyboardNav":"Navegacion por teclado","feature.focusHighlight":"Resaltar foco","feature.linkHighlight":"Resaltar enlaces","feature.animationStop":"Detener animaciones","feature.readingGuide":"Guia de lectura","feature.readingMask":"Mascara de lectura","feature.hideImages":"Ocultar imagenes","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estructura de pagina","feature.tts":"Lectura en voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descripcion de imagen","feature.autoScan":"Escaneo WCAG","section.profiles":"Perfiles rápidos","profile.visionImpaired":"Discapacidad visual","profile.visionImpaired.desc":"Alto contraste, texto y cursor más grandes","profile.motorImpaired":"Discapacidad motora","profile.motorImpaired.desc":"Navegación por teclado y ayudas de enfoque","profile.cognitive":"Apoyo cognitivo","profile.cognitive.desc":"Ayudas de lectura, espaciado y fuentes más simples","profile.seizureSafe":"Seguro para convulsiones","profile.seizureSafe.desc":"Detener animaciones y reducir estímulos","profile.adhdFriendly":"Apto para TDAH","profile.adhdFriendly.desc":"Reducir distracciones y mejorar el enfoque"}),fr:aa({"widget.widgetLang":"Langue du widget","widget.title":"Accessibilite","widget.subtitle":"Ajustez le contraste, le texte et la navigation sur cette page","widget.open":"Ouvrir les reglages d'accessibilite","widget.close":"Fermer","widget.reset":"Tout reinitialiser","widget.resetConfirm":"Tous les ajustements ont ete reinitialises","widget.poweredBy":"Propulse par Accessify-Widget","widget.statement":"Declaration d'accessibilite","widget.language":"Langue","status.active":"{count} actives","status.noActive":"Aucun ajustement actif","status.activated":"active","status.deactivated":"desactive","section.essentials":"Les plus utilises","section.essentials.desc":"Commencez par le contraste, la taille du texte et le clavier.","section.support":"Lecture et navigation","section.support.desc":"Outils pour la mise au point, moins de mouvement et la structure de page.","section.ai":"Assistance IA","section.ai.desc":"Simplifiez le contenu, generez un texte alternatif et analysez la page.","control.mostUsed":"Les plus utilises","control.chooseMode":"Choisir un mode","control.default":"Par defaut","contrast.mode.light":"Contraste clair","contrast.mode.dark":"Contraste sombre","contrast.mode.high":"Contraste eleve","feature.contrast":"Contraste","feature.textSize":"Texte plus grand","feature.keyboardNav":"Navigation clavier","feature.focusHighlight":"Mise en evidence du focus","feature.linkHighlight":"Mettre les liens en evidence","feature.animationStop":"Arreter les animations","feature.readingGuide":"Guide de lecture","feature.readingMask":"Masque de lecture","feature.hideImages":"Masquer les images","feature.bigCursor":"Grand curseur","feature.pageStructure":"Structure de page","feature.tts":"Lecture audio","feature.textSimplify":"Simplifier le texte","feature.altText":"Description d'image","feature.autoScan":"Analyse WCAG","section.profiles":"Profils rapides","profile.visionImpaired":"Déficience visuelle","profile.visionImpaired.desc":"Contraste élevé, texte et curseur plus grands","profile.motorImpaired":"Déficience motrice","profile.motorImpaired.desc":"Navigation au clavier et aides à la mise au point","profile.cognitive":"Soutien cognitif","profile.cognitive.desc":"Aides à la lecture, espacement et polices simplifiées","profile.seizureSafe":"Protection contre les crises","profile.seizureSafe.desc":"Arrêter les animations et réduire les stimuli","profile.adhdFriendly":"Adapté au TDAH","profile.adhdFriendly.desc":"Réduire les distractions et améliorer la concentration"}),ar:aa({"widget.widgetLang":"لغة الأداة","widget.title":"إمكانية الوصول","widget.subtitle":"اضبط التباين والنص والتنقل في هذه الصفحة","widget.open":"افتح إعدادات إمكانية الوصول","widget.close":"إغلاق","widget.reset":"إعادة ضبط الكل","widget.resetConfirm":"تمت إعادة ضبط جميع التعديلات","widget.poweredBy":"مدعوم بواسطة Accessify-Widget","widget.statement":"بيان إمكانية الوصول","widget.language":"اللغة","status.active":"{count} عناصر نشطة","status.noActive":"لا توجد تعديلات نشطة","status.activated":"مفعل","status.deactivated":"معطل","section.essentials":"الأكثر استخدامًا","section.essentials.desc":"ابدأ بالتباين وحجم النص ودعم لوحة المفاتيح.","section.support":"القراءة والتنقل","section.support.desc":"أدوات للتركيز وتقليل الحركة وبنية الصفحة.","section.ai":"مساعدة الذكاء الاصطناعي","section.ai.desc":"بسّط المحتوى وأنشئ نصًا بديلاً وافحص الصفحة الحالية.","control.mostUsed":"الأكثر استخدامًا","control.chooseMode":"اختر وضعًا","control.default":"افتراضي","contrast.mode.light":"تباين فاتح","contrast.mode.dark":"تباين داكن","contrast.mode.high":"تباين عالٍ","feature.contrast":"التباين","feature.textSize":"نص أكبر","feature.keyboardNav":"تنقل بلوحة المفاتيح","feature.focusHighlight":"إبراز التركيز","feature.linkHighlight":"إبراز الروابط","feature.animationStop":"إيقاف الرسوم المتحركة","feature.readingGuide":"دليل القراءة","feature.readingMask":"قناع القراءة","feature.hideImages":"إخفاء الصور","feature.bigCursor":"مؤشر كبير","feature.pageStructure":"بنية الصفحة","feature.tts":"القراءة بصوت عالٍ","feature.textSimplify":"تبسيط النص","feature.altText":"وصف الصورة","feature.autoScan":"فحص WCAG","section.profiles":"ملفات تعريف سريعة","profile.visionImpaired":"ضعف البصر","profile.visionImpaired.desc":"تباين عالٍ، نص ومؤشر أكبر","profile.motorImpaired":"إعاقة حركية","profile.motorImpaired.desc":"التنقل بلوحة المفاتيح ومساعدات التركيز","profile.cognitive":"دعم إدراكي","profile.cognitive.desc":"مساعدات القراءة والتباعد وخطوط أبسط","profile.seizureSafe":"آمن من النوبات","profile.seizureSafe.desc":"إيقاف الرسوم المتحركة وتقليل المحفزات","profile.adhdFriendly":"ملائم لاضطراب فرط الحركة","profile.adhdFriendly.desc":"تقليل المشتتات وتحسين التركيز"}),bn:aa({"widget.title":"অ্যাক্সেসিবিলিটি","widget.subtitle":"এই পাতায় কনট্রাস্ট, টেক্সট এবং নেভিগেশন ঠিক করুন","widget.open":"অ্যাক্সেসিবিলিটি সেটিংস খুলুন","widget.close":"বন্ধ করুন","widget.reset":"সব রিসেট করুন","widget.resetConfirm":"সব পরিবর্তন রিসেট হয়েছে","widget.poweredBy":"Accessify-Widget দ্বারা চালিত","widget.statement":"অ্যাক্সেসিবিলিটি বিবৃতি","widget.language":"ভাষা","status.active":"{count} টি সক্রিয়","status.noActive":"কোনও সমন্বয় সক্রিয় নেই","status.activated":"সক্রিয়","status.deactivated":"নিষ্ক্রিয়","section.essentials":"সবচেয়ে ব্যবহৃত","section.essentials.desc":"কনট্রাস্ট, টেক্সট সাইজ এবং কিবোর্ড সহায়তা দিয়ে শুরু করুন।","section.support":"পড়া ও নেভিগেশন","section.support.desc":"ফোকাস, কম মুভমেন্ট এবং পেজ স্ট্রাকচারের টুল।","section.ai":"AI সহায়তা","section.ai.desc":"কনটেন্ট সহজ করুন, অল্ট টেক্সট তৈরি করুন এবং পেজ স্ক্যান করুন।","control.mostUsed":"সবচেয়ে ব্যবহৃত","control.chooseMode":"মোড বেছে নিন","control.default":"ডিফল্ট","contrast.mode.light":"লাইট কনট্রাস্ট","contrast.mode.dark":"ডার্ক কনট্রাস্ট","contrast.mode.high":"হাই কনট্রাস্ট","feature.contrast":"কনট্রাস্ট","feature.textSize":"বড় টেক্সট","feature.keyboardNav":"কিবোর্ড নেভিগেশন","feature.focusHighlight":"ফোকাস হাইলাইট","feature.linkHighlight":"লিংক হাইলাইট","feature.animationStop":"অ্যানিমেশন বন্ধ","feature.readingGuide":"রিডিং গাইড","feature.readingMask":"রিডিং মাস্ক","feature.hideImages":"ছবি লুকান","feature.bigCursor":"বড় কার্সর","feature.pageStructure":"পেজ স্ট্রাকচার","feature.tts":"জোরে পড়া","feature.textSimplify":"টেক্সট সহজ করুন","feature.altText":"ছবির বিবরণ","feature.autoScan":"WCAG স্ক্যান","section.profiles":"দ্রুত প্রোফাইল","profile.visionImpaired":"দৃষ্টি প্রতিবন্ধী","profile.visionImpaired.desc":"উচ্চ কনট্রাস্ট, বড় টেক্সট এবং কার্সর","profile.motorImpaired":"মোটর প্রতিবন্ধী","profile.motorImpaired.desc":"কীবোর্ড নেভিগেশন এবং ফোকাস সহায়তা","profile.cognitive":"জ্ঞানীয় সহায়তা","profile.cognitive.desc":"পড়ার সহায়তা, ব্যবধান এবং সরল ফন্ট","profile.seizureSafe":"খিঁচুনি নিরাপদ","profile.seizureSafe.desc":"অ্যানিমেশন বন্ধ করুন এবং উদ্দীপনা কমান","profile.adhdFriendly":"ADHD বান্ধব","profile.adhdFriendly.desc":"বিক্ষেপ কমান এবং মনোযোগ বাড়ান"}),pt:aa({"widget.widgetLang":"Idioma do widget","widget.title":"Acessibilidade","widget.subtitle":"Ajuste contraste, texto e navegacao nesta pagina","widget.open":"Abrir configuracoes de acessibilidade","widget.close":"Fechar","widget.reset":"Redefinir tudo","widget.resetConfirm":"Todos os ajustes foram redefinidos","widget.poweredBy":"Desenvolvido por Accessify-Widget","widget.statement":"Declaracao de acessibilidade","widget.language":"Idioma","status.active":"{count} ativas","status.noActive":"Nenhum ajuste ativo","status.activated":"ativado","status.deactivated":"desativado","section.essentials":"Mais usados","section.essentials.desc":"Comece com contraste, tamanho do texto e apoio ao teclado.","section.support":"Leitura e navegacao","section.support.desc":"Ferramentas para foco, menos movimento e estrutura da pagina.","section.ai":"Assistencia de IA","section.ai.desc":"Simplifique conteudo, gere texto alternativo e analise a pagina atual.","control.mostUsed":"Mais usados","control.chooseMode":"Escolher modo","control.default":"Padrao","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste escuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto maior","feature.keyboardNav":"Navegacao por teclado","feature.focusHighlight":"Destaque de foco","feature.linkHighlight":"Destacar links","feature.animationStop":"Parar animacoes","feature.readingGuide":"Guia de leitura","feature.readingMask":"Mascara de leitura","feature.hideImages":"Ocultar imagens","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estrutura da pagina","feature.tts":"Leitura em voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descricao da imagem","feature.autoScan":"Varredura WCAG","section.profiles":"Perfis rápidos","profile.visionImpaired":"Deficiência visual","profile.visionImpaired.desc":"Alto contraste, texto e cursor maiores","profile.motorImpaired":"Deficiência motora","profile.motorImpaired.desc":"Navegação por teclado e auxílios de foco","profile.cognitive":"Suporte cognitivo","profile.cognitive.desc":"Auxílios de leitura, espaçamento e fontes simplificadas","profile.seizureSafe":"Seguro para convulsões","profile.seizureSafe.desc":"Parar animações e reduzir estímulos","profile.adhdFriendly":"Adequado para TDAH","profile.adhdFriendly.desc":"Reduzir distrações e melhorar o foco"}),ru:aa({"widget.widgetLang":"Язык виджета","widget.title":"Доступность","widget.subtitle":"Настройте контраст, текст и навигацию на этой странице","widget.open":"Открыть настройки доступности","widget.close":"Закрыть","widget.reset":"Сбросить все","widget.resetConfirm":"Все настройки сброшены","widget.poweredBy":"Работает на Accessify-Widget","widget.statement":"Заявление о доступности","widget.language":"Язык","status.active":"Активно: {count}","status.noActive":"Нет активных настроек","status.activated":"включено","status.deactivated":"выключено","section.essentials":"Самое используемое","section.essentials.desc":"Начните с контраста, размера текста и поддержки клавиатуры.","section.support":"Чтение и навигация","section.support.desc":"Инструменты для фокуса, уменьшения движения и структуры страницы.","section.ai":"Помощь ИИ","section.ai.desc":"Упрощайте текст, создавайте alt-текст и проверяйте текущую страницу.","control.mostUsed":"Популярное","control.chooseMode":"Выберите режим","control.default":"По умолчанию","contrast.mode.light":"Светлый контраст","contrast.mode.dark":"Темный контраст","contrast.mode.high":"Высокий контраст","feature.contrast":"Контраст","feature.textSize":"Крупный текст","feature.keyboardNav":"Навигация с клавиатуры","feature.focusHighlight":"Подсветка фокуса","feature.linkHighlight":"Выделить ссылки","feature.animationStop":"Остановить анимацию","feature.readingGuide":"Линейка для чтения","feature.readingMask":"Маска чтения","feature.hideImages":"Скрыть изображения","feature.bigCursor":"Большой курсор","feature.pageStructure":"Структура страницы","feature.tts":"Озвучивание","feature.textSimplify":"Упростить текст","feature.altText":"Описание изображения","feature.autoScan":"Проверка WCAG","section.profiles":"Быстрые профили","profile.visionImpaired":"Нарушение зрения","profile.visionImpaired.desc":"Высокий контраст, увеличенный текст и курсор","profile.motorImpaired":"Нарушение моторики","profile.motorImpaired.desc":"Навигация с клавиатуры и помощь с фокусом","profile.cognitive":"Когнитивная поддержка","profile.cognitive.desc":"Помощь при чтении, интервалы и упрощённые шрифты","profile.seizureSafe":"Защита от припадков","profile.seizureSafe.desc":"Остановить анимации и уменьшить раздражители","profile.adhdFriendly":"Подходит при СДВГ","profile.adhdFriendly.desc":"Уменьшить отвлечения и улучшить концентрацию"}),ur:aa({"widget.title":"رسائی","widget.subtitle":"اس صفحے پر کنٹراسٹ، متن اور نیویگیشن کو ایڈجسٹ کریں","widget.open":"رسائی کی ترتیبات کھولیں","widget.close":"بند کریں","widget.reset":"سب ری سیٹ کریں","widget.resetConfirm":"تمام تبدیلیاں ری سیٹ ہو گئیں","widget.poweredBy":"Accessify-Widget کے ذریعے","widget.statement":"رسائی کا بیان","widget.language":"زبان","status.active":"{count} فعال","status.noActive":"کوئی تبدیلی فعال نہیں","status.activated":"فعال","status.deactivated":"غیر فعال","section.essentials":"سب سے زیادہ استعمال","section.essentials.desc":"کنٹراسٹ، متن کے سائز اور کی بورڈ مدد سے شروع کریں۔","section.support":"مطالعہ اور نیویگیشن","section.support.desc":"فوکس، کم حرکت اور صفحہ ساخت کے لیے ٹولز۔","section.ai":"AI مدد","section.ai.desc":"مواد آسان کریں، آلٹ ٹیکسٹ بنائیں اور موجودہ صفحہ اسکین کریں۔","control.mostUsed":"زیادہ استعمال","control.chooseMode":"موڈ منتخب کریں","control.default":"ڈیفالٹ","contrast.mode.light":"لائٹ کنٹراسٹ","contrast.mode.dark":"ڈارک کنٹراسٹ","contrast.mode.high":"ہائی کنٹراسٹ","feature.contrast":"کنٹراسٹ","feature.textSize":"بڑا متن","feature.keyboardNav":"کی بورڈ نیویگیشن","feature.focusHighlight":"فوکس ہائی لائٹ","feature.linkHighlight":"لنکس نمایاں کریں","feature.animationStop":"اینیمیشن روکیں","feature.readingGuide":"مطالعہ گائیڈ","feature.readingMask":"مطالعہ ماسک","feature.hideImages":"تصاویر چھپائیں","feature.bigCursor":"بڑا کرسر","feature.pageStructure":"صفحہ ساخت","feature.tts":"بلند آواز میں پڑھیں","feature.textSimplify":"متن آسان کریں","feature.altText":"تصویر کی تفصیل","feature.autoScan":"WCAG اسکین","section.profiles":"فوری پروفائلز","profile.visionImpaired":"بصارت سے محروم","profile.visionImpaired.desc":"اعلیٰ کنٹراسٹ، بڑا متن اور کرسر","profile.motorImpaired":"حرکی معذوری","profile.motorImpaired.desc":"کی بورڈ نیویگیشن اور فوکس معاونت","profile.cognitive":"ادراکی معاونت","profile.cognitive.desc":"پڑھنے میں مدد، فاصلہ اور آسان فونٹس","profile.seizureSafe":"دورے سے محفوظ","profile.seizureSafe.desc":"اینیمیشنز بند کریں اور محرکات کم کریں","profile.adhdFriendly":"ADHD کے لیے موزوں","profile.adhdFriendly.desc":"خلفشار کم کریں اور توجہ بہتر بنائیں"}),id:aa({"widget.title":"Aksesibilitas","widget.subtitle":"Atur kontras, teks, dan navigasi di halaman ini","widget.open":"Buka pengaturan aksesibilitas","widget.close":"Tutup","widget.reset":"Reset semua","widget.resetConfirm":"Semua penyesuaian telah direset","widget.poweredBy":"Didukung oleh Accessify-Widget","widget.statement":"Pernyataan aksesibilitas","widget.language":"Bahasa","status.active":"{count} aktif","status.noActive":"Tidak ada penyesuaian aktif","status.activated":"aktif","status.deactivated":"nonaktif","section.essentials":"Paling sering dipakai","section.essentials.desc":"Mulai dari kontras, ukuran teks, dan dukungan keyboard.","section.support":"Membaca dan navigasi","section.support.desc":"Alat untuk fokus, gerakan rendah, dan struktur halaman.","section.ai":"Bantuan AI","section.ai.desc":"Sederhanakan konten, buat alt text, dan pindai halaman saat ini.","control.mostUsed":"Paling sering","control.chooseMode":"Pilih mode","control.default":"Default","contrast.mode.light":"Kontras terang","contrast.mode.dark":"Kontras gelap","contrast.mode.high":"Kontras tinggi","feature.contrast":"Kontras","feature.textSize":"Teks lebih besar","feature.keyboardNav":"Navigasi keyboard","feature.focusHighlight":"Sorot fokus","feature.linkHighlight":"Sorot tautan","feature.animationStop":"Hentikan animasi","feature.readingGuide":"Panduan baca","feature.readingMask":"Masker baca","feature.hideImages":"Sembunyikan gambar","feature.bigCursor":"Kursor besar","feature.pageStructure":"Struktur halaman","feature.tts":"Bacakan","feature.textSimplify":"Sederhanakan teks","feature.altText":"Deskripsi gambar","feature.autoScan":"Pindai WCAG","section.profiles":"Profil Cepat","profile.visionImpaired":"Gangguan Penglihatan","profile.visionImpaired.desc":"Kontras tinggi, teks dan kursor lebih besar","profile.motorImpaired":"Gangguan Motorik","profile.motorImpaired.desc":"Navigasi keyboard dan bantuan fokus","profile.cognitive":"Dukungan Kognitif","profile.cognitive.desc":"Bantuan membaca, spasi, dan font yang lebih sederhana","profile.seizureSafe":"Aman dari Kejang","profile.seizureSafe.desc":"Hentikan animasi dan kurangi rangsangan","profile.adhdFriendly":"Ramah ADHD","profile.adhdFriendly.desc":"Kurangi gangguan dan tingkatkan fokus"}),ja:aa({"widget.widgetLang":"ウィジェットの言語","widget.title":"アクセシビリティ","widget.subtitle":"このページのコントラスト、文字、ナビゲーションを調整します","widget.open":"アクセシビリティ設定を開く","widget.close":"閉じる","widget.reset":"すべてリセット","widget.resetConfirm":"すべての調整をリセットしました","widget.poweredBy":"Accessify-Widget 提供","widget.statement":"アクセシビリティ宣言","widget.language":"言語","status.active":"{count} 件が有効","status.noActive":"有効な調整はありません","status.activated":"有効","status.deactivated":"無効","section.essentials":"よく使う設定","section.essentials.desc":"まずはコントラスト、文字サイズ、キーボード支援から始めてください。","section.support":"読みやすさとナビゲーション","section.support.desc":"フォーカス、動きの抑制、ページ構造のためのツールです。","section.ai":"AI 支援","section.ai.desc":"文章を簡単にし、代替テキストを生成し、現在のページを確認します。","control.mostUsed":"よく使う","control.chooseMode":"モードを選択","control.default":"標準","contrast.mode.light":"ライトコントラスト","contrast.mode.dark":"ダークコントラスト","contrast.mode.high":"ハイコントラスト","feature.contrast":"コントラスト","feature.textSize":"大きな文字","feature.keyboardNav":"キーボード操作","feature.focusHighlight":"フォーカス強調","feature.linkHighlight":"リンク強調","feature.animationStop":"アニメーション停止","feature.readingGuide":"読書ガイド","feature.readingMask":"読書マスク","feature.hideImages":"画像を隠す","feature.bigCursor":"大きいカーソル","feature.pageStructure":"ページ構造","feature.tts":"読み上げ","feature.textSimplify":"文章を簡単にする","feature.altText":"画像の説明","feature.autoScan":"WCAG スキャン","section.profiles":"クイックプロフィール","profile.visionImpaired":"視覚障害","profile.visionImpaired.desc":"高コントラスト、大きな文字とカーソル","profile.motorImpaired":"運動障害","profile.motorImpaired.desc":"キーボードナビゲーションとフォーカス補助","profile.cognitive":"認知サポート","profile.cognitive.desc":"読書支援、間隔調整、シンプルなフォント","profile.seizureSafe":"発作防止","profile.seizureSafe.desc":"アニメーションを停止し刺激を軽減","profile.adhdFriendly":"ADHD対応","profile.adhdFriendly.desc":"気が散る要素を減らし集中力を向上"}),pcm:aa({"widget.title":"Accessibility","widget.subtitle":"Adjust contrast, text and navigation for dis page","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments don reset","widget.poweredBy":"Powered by Accessify-Widget","widget.statement":"Accessibility statement","widget.language":"Language","status.active":"{count} active","status.noActive":"No adjustment dey active","status.activated":"activated","status.deactivated":"deactivated","section.essentials":"Wetin people use pass","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI help","section.ai.desc":"Simplify content, generate alt text and scan dis page.","control.mostUsed":"Most used","control.chooseMode":"Choose mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","feature.contrast":"Contrast","feature.textSize":"Bigger text","feature.keyboardNav":"Keyboard navigation","feature.focusHighlight":"Focus highlight","feature.linkHighlight":"Highlight links","feature.animationStop":"Stop animations","feature.readingGuide":"Reading guide","feature.readingMask":"Reading mask","feature.hideImages":"Hide images","feature.bigCursor":"Big cursor","feature.pageStructure":"Page structure","feature.tts":"Read aloud","feature.textSimplify":"Simplify text","feature.altText":"Image Description","feature.autoScan":"WCAG scan","section.profiles":"Quick Profiles","profile.visionImpaired":"Eye No Dey See Well","profile.visionImpaired.desc":"High contrast, big text and cursor","profile.motorImpaired":"Body Movement Wahala","profile.motorImpaired.desc":"Keyboard navigation and focus help","profile.cognitive":"Brain Support","profile.cognitive.desc":"Reading help, spacing, and simple fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animation and reduce wahala for eye","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distraction and help you focus well"}),mr:aa({"widget.title":"प्रवेशयोग्यता","widget.subtitle":"या पानावर कॉन्ट्रास्ट, मजकूर आणि नेव्हिगेशन समायोजित करा","widget.open":"प्रवेशयोग्यता सेटिंग्ज उघडा","widget.close":"बंद करा","widget.reset":"सर्व रीसेट करा","widget.resetConfirm":"सर्व बदल रीसेट झाले","widget.poweredBy":"Accessify-Widget द्वारे समर्थित","widget.statement":"प्रवेशयोग्यता निवेदन","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोणतेही बदल सक्रिय नाहीत","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सर्वात जास्त वापरलेले","section.essentials.desc":"कॉन्ट्रास्ट, मजकूर आकार आणि कीबोर्ड सहाय्यापासून सुरुवात करा.","section.support":"वाचन आणि नेव्हिगेशन","section.support.desc":"फोकस, कमी हालचाल आणि पृष्ठरचना यासाठी साधने.","section.ai":"AI मदत","section.ai.desc":"मजकूर सोपा करा, alt-text तयार करा आणि हे पान स्कॅन करा.","control.mostUsed":"सर्वाधिक वापरलेले","control.chooseMode":"मोड निवडा","control.default":"डीफॉल्ट","contrast.mode.light":"लाईट कॉन्ट्रास्ट","contrast.mode.dark":"डार्क कॉन्ट्रास्ट","contrast.mode.high":"हाय कॉन्ट्रास्ट","feature.contrast":"कॉन्ट्रास्ट","feature.textSize":"मोठा मजकूर","feature.keyboardNav":"कीबोर्ड नेव्हिगेशन","feature.focusHighlight":"फोकस हायलाइट","feature.linkHighlight":"लिंक हायलाइट","feature.animationStop":"अॅनिमेशन थांबवा","feature.readingGuide":"वाचन मार्गदर्शक","feature.readingMask":"वाचन मास्क","feature.hideImages":"प्रतिमा लपवा","feature.bigCursor":"मोठा कर्सर","feature.pageStructure":"पृष्ठरचना","feature.tts":"मोठ्याने वाचा","feature.textSimplify":"मजकूर सोपा करा","feature.altText":"चित्र वर्णन","feature.autoScan":"WCAG स्कॅन","section.profiles":"जलद प्रोफाइल","profile.visionImpaired":"दृष्टिदोष","profile.visionImpaired.desc":"उच्च कॉन्ट्रास्ट, मोठा मजकूर आणि कर्सर","profile.motorImpaired":"मोटर अक्षमता","profile.motorImpaired.desc":"कीबोर्ड नेव्हिगेशन आणि फोकस सहाय्य","profile.cognitive":"संज्ञानात्मक सहाय्य","profile.cognitive.desc":"वाचन सहाय्य, अंतर आणि सोपे फॉन्ट","profile.seizureSafe":"झटके सुरक्षित","profile.seizureSafe.desc":"अॅनिमेशन थांबवा आणि उत्तेजना कमी करा","profile.adhdFriendly":"ADHD अनुकूल","profile.adhdFriendly.desc":"विचलन कमी करा आणि लक्ष सुधारा"}),te:aa({"widget.title":"అందుబాటు","widget.subtitle":"ఈ పేజీలో కాంట్రాస్ట్, టెక్స్ట్ మరియు నావిగేషన్ను సర్దుబాటు చేయండి","widget.open":"అందుబాటు సెట్టింగ్స్ తెరువు","widget.close":"మూసివేయి","widget.reset":"అన్నీ రీసెట్ చేయి","widget.resetConfirm":"అన్ని మార్పులు రీసెట్ అయ్యాయి","widget.poweredBy":"Accessify-Widget ద్వారా","widget.statement":"అందుబాటు ప్రకటన","widget.language":"భాష","status.active":"{count} సక్రియం","status.noActive":"ఏ మార్పూ సక్రియంగా లేదు","status.activated":"సక్రియం","status.deactivated":"నిష్క్రియం","section.essentials":"ఎక్కువగా ఉపయోగించేవి","section.essentials.desc":"కాంట్రాస్ట్, టెక్స్ట్ సైజు మరియు కీబోర్డ్ సహాయంతో మొదలుపెట్టండి.","section.support":"చదువు మరియు నావిగేషన్","section.support.desc":"ఫోకస్, తక్కువ మోషన్ మరియు పేజీ నిర్మాణానికి టూల్స్.","section.ai":"AI సహాయం","section.ai.desc":"కంటెంట్ను సులభతరం చేయండి, alt-text తయారు చేయండి, ఈ పేజీని స్కాన్ చేయండి.","control.mostUsed":"ఎక్కువ ఉపయోగం","control.chooseMode":"మోడ్ ఎంచుకోండి","control.default":"డిఫాల్ట్","contrast.mode.light":"లైట్ కాంట్రాస్ట్","contrast.mode.dark":"డార్క్ కాంట్రాస్ట్","contrast.mode.high":"హై కాంట్రాస్ట్","feature.contrast":"కాంట్రాస్ట్","feature.textSize":"పెద్ద టెక్స్ట్","feature.keyboardNav":"కీబోర్డ్ నావిగేషన్","feature.focusHighlight":"ఫోకస్ హైలైట్","feature.linkHighlight":"లింక్ హైలైట్","feature.animationStop":"యానిమేషన్స్ ఆపండి","feature.readingGuide":"రీడింగ్ గైడ్","feature.readingMask":"రీడింగ్ మాస్క్","feature.hideImages":"చిత్రాలు దాచు","feature.bigCursor":"పెద్ద కర్సర్","feature.pageStructure":"పేజీ నిర్మాణం","feature.tts":"గట్టిగా చదవండి","feature.textSimplify":"టెక్స్ట్ సులభతరం చేయి","feature.altText":"చిత్ర వివరణ","feature.autoScan":"WCAG స్కాన్","section.profiles":"త్వరిత ప్రొఫైల్లు","profile.visionImpaired":"దృష్టి లోపం","profile.visionImpaired.desc":"అధిక కాంట్రాస్ట్, పెద్ద టెక్స్ట్ మరియు కర్సర్","profile.motorImpaired":"మోటార్ లోపం","profile.motorImpaired.desc":"కీబోర్డ్ నావిగేషన్ మరియు ఫోకస్ సహాయాలు","profile.cognitive":"అభిజ్ఞా మద్దతు","profile.cognitive.desc":"చదవడంలో సహాయం, అంతరాలు మరియు సరళ ఫాంట్లు","profile.seizureSafe":"మూర్ఛ భద్రత","profile.seizureSafe.desc":"యానిమేషన్లను ఆపండి మరియు ఉద్దీపనలను తగ్గించండి","profile.adhdFriendly":"ADHD అనుకూలం","profile.adhdFriendly.desc":"పరధ్యానాన్ని తగ్గించండి మరియు దృష్టిని మెరుగుపరచండి"}),tr:aa({"widget.widgetLang":"Widget dili","widget.title":"Erisilebilirlik","widget.subtitle":"Bu sayfada kontrast, metin ve gezinmeyi ayarlayin","widget.open":"Erisilebilirlik ayarlarini ac","widget.close":"Kapat","widget.reset":"Tumunu sifirla","widget.resetConfirm":"Tum ayarlar sifirlandi","widget.poweredBy":"Accessify-Widget ile calisir","widget.statement":"Erisilebilirlik bildirimi","widget.language":"Dil","status.active":"{count} etkin","status.noActive":"Etkin ayar yok","status.activated":"etkin","status.deactivated":"devre disi","section.essentials":"En cok kullanilanlar","section.essentials.desc":"Kontrast, yazi boyutu ve klavye destegi ile baslayin.","section.support":"Okuma ve gezinme","section.support.desc":"Odak, azaltulmis hareket ve sayfa yapisi icin araclar.","section.ai":"YZ yardimi","section.ai.desc":"Icerigi sadeletir, alt metin olusturur ve mevcut sayfayi tarar.","control.mostUsed":"En cok kullanilan","control.chooseMode":"Mod sec","control.default":"Varsayilan","contrast.mode.light":"Acik kontrast","contrast.mode.dark":"Koyu kontrast","contrast.mode.high":"Yuksek kontrast","feature.contrast":"Kontrast","feature.textSize":"Buyuk metin","feature.keyboardNav":"Klavye gezintisi","feature.focusHighlight":"Odak vurgusu","feature.linkHighlight":"Baglantilari vurgula","feature.animationStop":"Animasyonlari durdur","feature.readingGuide":"Okuma kilavuzu","feature.readingMask":"Okuma maskesi","feature.hideImages":"Gorselleri gizle","feature.bigCursor":"Buyuk imlec","feature.pageStructure":"Sayfa yapisi","feature.tts":"Sesli oku","feature.textSimplify":"Metni sadeletir","feature.altText":"Resim aciklamasi","feature.autoScan":"WCAG taramasi","section.profiles":"Hizli Profiller","profile.visionImpaired":"Gorme Engelli","profile.visionImpaired.desc":"Yuksek kontrast, buyuk yazi ve imlec","profile.motorImpaired":"Motor Engelli","profile.motorImpaired.desc":"Klavye gezinme ve odaklanma yardimlari","profile.cognitive":"Bilissel Destek","profile.cognitive.desc":"Okuma yardimlari, bosluk ve basit yazitipleri","profile.seizureSafe":"Nobetlere Karsi Guvenli","profile.seizureSafe.desc":"Animasyonlari durdurun ve uyaranlari azaltin","profile.adhdFriendly":"DEHB Dostu","profile.adhdFriendly.desc":"Dikkat dagitici unsurlari azaltin ve odaklanmayi artirin"}),ta:aa({"widget.title":"அணுகல்திறன்","widget.subtitle":"இந்த பக்கத்தில் எதிரொலி, உரை மற்றும் வழிசெலுத்தலை மாற்றுங்கள்","widget.open":"அணுகல்திறன் அமைப்புகளை திறக்கவும்","widget.close":"மூடு","widget.reset":"அனைத்தையும் மீட்டமை","widget.resetConfirm":"அனைத்து மாற்றங்களும் மீட்டமைக்கப்பட்டன","widget.poweredBy":"Accessify-Widget மூலம்","widget.statement":"அணுகல்திறன் அறிக்கை","widget.language":"மொழி","status.active":"{count} செயலில்","status.noActive":"செயலில் மாற்றங்கள் இல்லை","status.activated":"செயலில்","status.deactivated":"செயலற்றது","section.essentials":"அதிகம் பயன்படுத்தப்படும்","section.essentials.desc":"எதிரொலி, எழுத்து அளவு மற்றும் விசைப்பலகை உதவியுடன் தொடங்குங்கள்.","section.support":"வாசிப்பு மற்றும் வழிசெலுத்தல்","section.support.desc":"கவனம், குறைந்த இயக்கம் மற்றும் பக்க அமைப்புக்கான கருவிகள்.","section.ai":"AI உதவி","section.ai.desc":"உள்ளடக்கத்தை எளிமைப்படுத்தி, alt-text உருவாக்கி, இந்த பக்கத்தை ஸ்கேன் செய்யுங்கள்.","control.mostUsed":"அதிகம் பயன்படுத்தப்படும்","control.chooseMode":"முறையை தேர்வு செய்","control.default":"இயல்புநிலை","contrast.mode.light":"ஒளி எதிரொலி","contrast.mode.dark":"இருண்ட எதிரொலி","contrast.mode.high":"உயர் எதிரொலி","feature.contrast":"எதிரொலி","feature.textSize":"பெரிய எழுத்து","feature.keyboardNav":"விசைப்பலகை வழிசெலுத்தல்","feature.focusHighlight":"கவனத்தை வெளிப்படுத்து","feature.linkHighlight":"இணைப்புகளை வெளிப்படுத்து","feature.animationStop":"அனிமேஷனை நிறுத்து","feature.readingGuide":"வாசிப்பு வழிகாட்டி","feature.readingMask":"வாசிப்பு மறைப்பு","feature.hideImages":"படங்களை மறை","feature.bigCursor":"பெரிய கர்சர்","feature.pageStructure":"பக்க அமைப்பு","feature.tts":"சத்தமாக வாசி","feature.textSimplify":"உரையை எளிமைப்படுத்து","feature.altText":"பட விளக்கம்","feature.autoScan":"WCAG ஸ்கேன்","section.profiles":"விரைவு சுயவிவரங்கள்","profile.visionImpaired":"பார்வை குறைபாடு","profile.visionImpaired.desc":"அதிக மாறுபாடு, பெரிய உரை மற்றும் கர்சர்","profile.motorImpaired":"இயக்க குறைபாடு","profile.motorImpaired.desc":"விசைப்பலகை வழிசெலுத்தல் மற்றும் கவன உதவிகள்","profile.cognitive":"அறிவாற்றல் ஆதரவு","profile.cognitive.desc":"வாசிப்பு உதவிகள், இடைவெளி மற்றும் எளிய எழுத்துருக்கள்","profile.seizureSafe":"வலிப்பு பாதுகாப்பு","profile.seizureSafe.desc":"அனிமேஷன்களை நிறுத்தி தூண்டுதல்களைக் குறைக்கவும்","profile.adhdFriendly":"ADHD நட்பு","profile.adhdFriendly.desc":"கவனச்சிதறல்களைக் குறைத்து கவனத்தை மேம்படுத்தவும்"}),vi:aa({"widget.title":"Tro nang truy cap","widget.subtitle":"Dieu chinh tuong phan, van ban va dieu huong tren trang nay","widget.open":"Mo cai dat tro nang truy cap","widget.close":"Dong","widget.reset":"Dat lai tat ca","widget.resetConfirm":"Da dat lai moi dieu chinh","widget.poweredBy":"Van hanh boi Accessify-Widget","widget.statement":"Tuyen bo tro nang truy cap","widget.language":"Ngon ngu","status.active":"{count} muc dang bat","status.noActive":"Khong co dieu chinh nao dang bat","status.activated":"da bat","status.deactivated":"da tat","section.essentials":"Dung nhieu nhat","section.essentials.desc":"Bat dau voi tuong phan, co chu va ho tro ban phim.","section.support":"Doc va dieu huong","section.support.desc":"Cong cu cho tap trung, giam chuyen dong va cau truc trang.","section.ai":"Ho tro AI","section.ai.desc":"Don gian hoa noi dung, tao alt-text va quet trang hien tai.","control.mostUsed":"Pho bien","control.chooseMode":"Chon che do","control.default":"Mac dinh","contrast.mode.light":"Tuong phan sang","contrast.mode.dark":"Tuong phan toi","contrast.mode.high":"Tuong phan cao","feature.contrast":"Tuong phan","feature.textSize":"Chu lon hon","feature.keyboardNav":"Dieu huong ban phim","feature.focusHighlight":"Noi bat tieu diem","feature.linkHighlight":"Noi bat lien ket","feature.animationStop":"Dung hieu ung","feature.readingGuide":"Thuoc doc","feature.readingMask":"Mat na doc","feature.hideImages":"An hinh anh","feature.bigCursor":"Con tro lon","feature.pageStructure":"Cau truc trang","feature.tts":"Doc thanh tieng","feature.textSimplify":"Don gian hoa van ban","feature.altText":"Mo ta hinh anh","feature.autoScan":"Quet WCAG","section.profiles":"Hồ sơ nhanh","profile.visionImpaired":"Khiếm thị","profile.visionImpaired.desc":"Tương phản cao, chữ và con trỏ lớn hơn","profile.motorImpaired":"Khuyết tật vận động","profile.motorImpaired.desc":"Điều hướng bàn phím và hỗ trợ tiêu điểm","profile.cognitive":"Hỗ trợ nhận thức","profile.cognitive.desc":"Hỗ trợ đọc, giãn cách và phông chữ đơn giản","profile.seizureSafe":"An toàn co giật","profile.seizureSafe.desc":"Dừng hoạt ảnh và giảm kích thích","profile.adhdFriendly":"Thân thiện ADHD","profile.adhdFriendly.desc":"Giảm phiền nhiễu và cải thiện sự tập trung"}),ko:aa({"widget.widgetLang":"위젯 언어","widget.title":"접근성","widget.subtitle":"이 페이지의 대비, 텍스트, 내비게이션을 조정하세요","widget.open":"접근성 설정 열기","widget.close":"닫기","widget.reset":"모두 재설정","widget.resetConfirm":"모든 조정이 재설정되었습니다","widget.poweredBy":"Accessify-Widget 제공","widget.statement":"접근성 안내문","widget.language":"언어","status.active":"{count}개 활성","status.noActive":"활성화된 조정이 없습니다","status.activated":"활성화됨","status.deactivated":"비활성화됨","section.essentials":"가장 많이 사용됨","section.essentials.desc":"대비, 글자 크기, 키보드 지원부터 시작하세요.","section.support":"읽기 및 내비게이션","section.support.desc":"초점, 움직임 감소, 페이지 구조를 위한 도구입니다.","section.ai":"AI 지원","section.ai.desc":"콘텐츠를 쉽게 만들고 대체 텍스트를 생성하며 현재 페이지를 검사합니다.","control.mostUsed":"가장 많이 사용됨","control.chooseMode":"모드 선택","control.default":"기본값","contrast.mode.light":"라이트 대비","contrast.mode.dark":"다크 대비","contrast.mode.high":"고대비","feature.contrast":"대비","feature.textSize":"큰 글자","feature.keyboardNav":"키보드 내비게이션","feature.focusHighlight":"포커스 강조","feature.linkHighlight":"링크 강조","feature.animationStop":"애니메이션 중지","feature.readingGuide":"읽기 가이드","feature.readingMask":"읽기 마스크","feature.hideImages":"이미지 숨기기","feature.bigCursor":"큰 커서","feature.pageStructure":"페이지 구조","feature.tts":"소리 내어 읽기","feature.textSimplify":"텍스트 단순화","feature.altText":"이미지 설명","feature.autoScan":"WCAG 검사","section.profiles":"빠른 프로필","profile.visionImpaired":"시각 장애","profile.visionImpaired.desc":"고대비, 큰 텍스트 및 커서","profile.motorImpaired":"운동 장애","profile.motorImpaired.desc":"키보드 탐색 및 포커스 지원","profile.cognitive":"인지 지원","profile.cognitive.desc":"읽기 지원, 간격 조정 및 간단한 글꼴","profile.seizureSafe":"발작 방지","profile.seizureSafe.desc":"애니메이션 중지 및 자극 감소","profile.adhdFriendly":"ADHD 친화적","profile.adhdFriendly.desc":"방해 요소를 줄이고 집중력 향상"})},oa=[{code:"de",label:"Deutsch",flag:"🇩🇪"},{code:"en",label:"English",flag:"🇺🇸"},{code:"es",label:"Español",flag:"🇪🇸"},{code:"fr",label:"Français",flag:"🇫🇷"},{code:"pt",label:"Português",flag:"🇧🇷"},{code:"tr",label:"Türkçe",flag:"🇹🇷"},{code:"ar",label:"العربية",flag:"🇸🇦"},{code:"zh",label:"中文",flag:"🇨🇳"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"ru",label:"Русский",flag:"🇷🇺"}],sa=new Set(["ar","ur"]);let ca="en";function la(e){if(!e)return"en";const t=e.toLowerCase();if(ra[t])return t;const n=t.split("-")[0];return ra[n]?n:"en"}function da(){return ca}function ua(e){return sa.has(la(e))}function fa(e,t="en"){const n=la(t);return ra[n]?.[e]||ia[e]||e}var pa=bi("<button></button>"),ha=bi('<header class="accessify-header"><div class="accessify-header-left"><span class="accessify-logo" aria-label="Accessify"><svg viewBox="0 0 480 80" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><text x="0" y="64" font-family="-apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif" font-size="72" font-weight="700" letter-spacing="-2">accessify</text></svg></span></div> <div class="accessify-header-actions"><button class="accessify-header-btn accessify-drag-handle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="8" y1="6" x2="8" y2="6.01"></line><line x1="16" y1="6" x2="16" y2="6.01"></line><line x1="8" y1="12" x2="8" y2="12.01"></line><line x1="16" y1="12" x2="16" y2="12.01"></line><line x1="8" y1="18" x2="8" y2="18.01"></line><line x1="16" y1="18" x2="16" y2="18.01"></line></svg></button> <button class="accessify-header-btn"></button> <button class="accessify-header-btn accessify-header-btn--icon accessify-header-btn--close"></button></div></header>');pi(["click"]);const ga=[{id:"vision-impaired",nameKey:"profile.visionImpaired",descKey:"profile.visionImpaired.desc",iconId:"eye",features:["contrast","text-size","big-cursor","link-highlight"],featureSettings:{"text-size":150,contrast:"high"}},{id:"motor-impaired",nameKey:"profile.motorImpaired",descKey:"profile.motorImpaired.desc",iconId:"keyboard",features:["keyboard-nav","big-cursor","link-highlight"]},{id:"cognitive",nameKey:"profile.cognitive",descKey:"profile.cognitive.desc",iconId:"brain",features:["reading-guide","text-size","animation-stop","tts"],featureSettings:{"text-size":130}},{id:"seizure-safe",nameKey:"profile.seizureSafe",descKey:"profile.seizureSafe.desc",iconId:"shield",features:["animation-stop","hide-images"]},{id:"adhd-friendly",nameKey:"profile.adhdFriendly",descKey:"profile.adhdFriendly.desc",iconId:"focus",features:["animation-stop","reading-mask","hide-images"]}];var ma=xi('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),va=bi('<button class="accessify-accordion-option"><span class="accessify-accordion-option-left"><span class="accessify-accordion-option-icon" aria-hidden="true"></span> <span class="accessify-accordion-option-text"><span class="accessify-accordion-option-name"> </span> <span class="accessify-accordion-option-desc"> </span></span></span> <!></button>'),ya=bi('<div class="accessify-accordion" role="region"><button class="accessify-accordion-toggle"><span class="accessify-accordion-toggle-left"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 8v4l2 2"></path></svg> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <div class="accessify-accordion-list" role="group"></div></div>');pi(["click"]);const ba="https://openrouter.ai/api/v1",wa="google/gemini-2.0-flash-001";function xa(e){const t=e.choices?.[0]?.message;if(t?.content&&"string"==typeof t.content)return t.content.trim();if(t?.reasoning&&"string"==typeof t.reasoning)return t.reasoning.trim();if(Array.isArray(t?.reasoning_details))for(const n of t.reasoning_details)if(n?.text)return n.text.trim();return""}function ka(e){const t={"Content-Type":"application/json",...e.apiKey?{Authorization:`Bearer ${e.apiKey}`}:{},"HTTP-Referer":"undefined"!=typeof window?window.location.origin:"","X-Title":"Accessify Widget"};return{async simplifyText(n,i="einfache",a="de"){const r=a.startsWith("de")?function(e){return"leichte"===e?"Du bist ein Experte für Leichte Sprache (DIN SPEC 33429). Vereinfache den folgenden Text nach diesen Regeln:\n- Benutze kurze Sätze (maximal 8 Wörter pro Satz)\n- Ein Satz pro Zeile\n- Benutze einfache, bekannte Wörter\n- Erkläre Fremdwörter und Fachbegriffe\n- Benutze aktive Sätze (kein Passiv)\n- Benutze keine Abkürzungen\n- Benutze keine Metaphern oder bildliche Sprache\n- Schreibe in Präsens\n- Benutze positive Formulierungen\n- Zielgruppe: CEFR A1-A2\n\nSTRENGE REGELN — Verstoß = fehlerhaft:\n1. ALLE Personen-Namen MÜSSEN im vereinfachten Text vorkommen. Lösche NIEMALS einen Namen.\n2. Zitate: IMMER den vollen Namen des Sprechers behalten.\n3. Zahlen, Daten, Ergebnisse, Spielstände: Wort für Wort übernehmen.\n4. Eigennamen (Vereine, Orte, Firmen): exakt übernehmen.\n5. Erfinde NICHTS dazu.\n\nGib NUR den vereinfachten Text zurück.":'Du bist ein Experte für Einfache Sprache (DIN ISO 24495-1). Vereinfache den folgenden Text:\n- Kurze, klare Sätze (maximal 15 Wörter)\n- Vermeide Fachbegriffe oder erkläre sie\n- Benutze aktive Formulierungen\n- Strukturiere den Text mit klaren Absätzen\n- Zielgruppe: CEFR B1-B2\n\nSTRENGE REGELN — Verstoß = fehlerhaft:\n1. ALLE Personen-Namen MÜSSEN im vereinfachten Text vorkommen. Wenn im Original "Simon Dornieden" steht, MUSS "Simon Dornieden" auch in der Ausgabe stehen. Lösche NIEMALS einen Namen.\n2. Zitate: IMMER den vollen Namen des Sprechers behalten (z.B. „Simon Dornieden sagt: …")\n3. Zahlen, Daten, Ergebnisse, Spielstände: Wort für Wort übernehmen, NICHT umformulieren\n4. Eigennamen (Vereine, Orte, Firmen): exakt übernehmen\n5. Adressen, Postleitzahlen: exakt übernehmen\n6. Bildunterschriften, Quellenangaben, Fotocredits: NICHT verändern\n7. Erfinde NICHTS dazu. Nur vorhandenen Inhalt in einfacherer Sprache wiedergeben.\n\nGib NUR den vereinfachten Text zurück.'}(i):"You are a plain language expert. Simplify the following text:\n- Use short, clear sentences (max 15 words)\n- Avoid jargon, explain technical terms\n- Use active voice\n- Target reading level: grade 6-8\n\nSTRICT RULES — violating any = incorrect output:\n1. ALL person names MUST appear in the simplified text. NEVER delete a name.\n2. Quotes: ALWAYS keep the full speaker name.\n3. Numbers, dates, scores, results: copy verbatim.\n4. Proper nouns (teams, places, companies): copy exactly.\n5. Do NOT invent details.\n\nReturn ONLY the simplified text.",o=await fetch(`${ba}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.textModel||"google/gemini-2.0-flash-001",messages:[{role:"system",content:r},{role:"user",content:n}],stream:!1,max_tokens:2e3})});if(!o.ok){if(429===o.status)throw new Sa("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return xa(await o.json())},async generateAltText(n,i,a){const r=a&&!a.startsWith("en")?` Generate the alt text in ${a} language.`:"",o=await fetch(`${ba}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||wa,messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility.${r} ${i?"Context: "+i:""} Return ONLY the alt text, nothing else. Max 125 characters.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:300})});if(!o.ok){if(429===o.status)throw new Sa("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return xa(await o.json())},async describeImage(n,i){const a=i&&i.startsWith("de")?" Beschreibe auf Deutsch.":"",r=await fetch(`${ba}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||wa,messages:[{role:"user",content:[{type:"text",text:`Describe what is shown in this image. 2-3 sentences, easy to understand.${a} Return ONLY the description.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:500})});if(!r.ok){if(429===r.status)throw new Sa("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${r.status}`)}return xa(await r.json())}}}class Sa extends Error{constructor(e){super(e),this.name="RateLimitError"}}var _a=bi('<span class="accessify-chip-check" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg></span>'),Aa=bi('<span class="accessify-chip-icon" aria-hidden="true"></span>'),Ma=bi('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),Ea=bi('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),Ca=bi('<span class="accessify-chip-check" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg></span>'),Ia=bi('<span aria-hidden="true">A</span>'),Ta=bi('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),$a=bi('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),za=bi('<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info" role="note"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg></span></div>'),La=bi('<div class="accessify-features"></div>'),Ha=bi('<!> <!> <div class="accessify-section-divider"></div> <!>',1);pi(["click"]);var Na=bi('<span aria-hidden="true">·</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Pa=bi('<div class="accessify-footer"><div class="accessify-footer-links"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div> <button class="accessify-footer-close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg> <span> </span></button></div>');pi(["click"]);let Oa=[],Ga=[],Ba=null,ja=!1,Fa=null,Da=!1,Wa=null,Ka="";const Ra=["aria-label","aria-description","placeholder","title","alt","aria-placeholder","aria-roledescription","aria-valuetext"];async function qa(e,t,n){const i=new URLSearchParams({client:"gtx",sl:t,tl:n,dt:"t",q:e});try{const t=await fetch(`https://translate.googleapis.com/translate_a/single?${i.toString()}`);if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(Array.isArray(n[0])){const e=[];for(const t of n[0])Array.isArray(t)&&"string"==typeof t[0]&&e.push(t[0]);return e.join("")}return e}catch{return e}}const Ua=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function Va(e,t){const n=e.map(e=>e.data.trim().length),i=e.map(e=>({leading:e.data.match(/^\s*/)?.[0]||"",trailing:e.data.match(/\s*$/)?.[0]||""}));let a=0;for(let r=0;r<e.length;r++){const o=n[r];if(0===o)continue;const s=t.slice(a,a+o);a+=o,e[r].data=i[r].leading+s+i[r].trailing}if(a<t.length){const r=t.slice(a);for(let t=e.length-1;t>=0;t--)if(n[t]>0){e[t].data=e[t].data.trimEnd()+r+i[t].trailing;break}}for(let r=0;r<e.length;r++)n[r]>0&&(t.slice(n.slice(0,r).reduce((e,t)=>e+t,0),n.slice(0,r+1).reduce((e,t)=>e+t,0))||(e[r].data=i[r].leading+i[r].trailing))}function Ya(e){let t=e.parentElement;for(;t&&t!==document.body;){if(Ua.has(t.tagName))return t;t=t.parentElement}return null}async function Ja(e){const t=document.documentElement.lang?.split("-")[0]||"auto",n=function(e=document.body){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){if(!e.textContent||!e.textContent.trim())return NodeFilter.FILTER_REJECT;const t=e.parentElement;return t?["SCRIPT","STYLE","NOSCRIPT","CODE","PRE","TEXTAREA","INPUT"].includes(t.tagName)||t.closest("accessify-widget")||t.closest("#accessify-root")||t.classList?.contains("notranslate")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n=[];let i;for(;i=t.nextNode();)n.push(i);return n}(),i=function(e=document.body){const t=[],n=e.querySelectorAll("*");for(const i of n)if(!i.closest("accessify-widget")&&!i.closest("#accessify-root"))for(const e of Ra){const n=i.getAttribute(e);n?.trim()&&t.push({el:i,attr:e,original:n})}return t}(),a=new Set(Oa.map(e=>e.node));for(const u of n)a.has(u)||Oa.push({node:u,original:u.data});const r=new Set(Ga.map(e=>`${Xa(e.el)}:${e.attr}`));for(const u of i){const e=`${Xa(u.el)}:${u.attr}`;r.has(e)||Ga.push(u)}const o=function(e){const t=[],n=new Set;for(const i of e){if(n.has(i))continue;const a=Ya(i);if(a&&Ua.has(a.tagName)){const i=e.filter(e=>!n.has(e)&&Ya(e)===a);if(i.length>1){for(const t of i)n.add(t);const e=(a.textContent?.trim()||"").replace(/\s+/g," "),r=i.filter(e=>e.data.trim().length<=2).length;t.push({nodes:i,fullText:e,singleNode:!1,charPerNode:r>.5*i.length});continue}}n.add(i),t.push({nodes:[i],fullText:i.data.trim(),singleNode:!0,charPerNode:!1})}return t}(n),s=[...o.map(e=>e.fullText),...i.map(e=>e.original.trim())].filter(Boolean),c=[...new Set(s)];if(0===c.length)return;const l=await async function(e,t,n){const i=new Array(e.length).fill("");let a=0;for(;a<e.length;){const r=[];let o=0,s=a;for(;s<e.length;){const t=e[s].length+2;if(o+t>4e3&&r.length>0)break;r.push(e[s]),o+=t,s++}const c=r.join("\n\n"),l=(await qa(c,t,n)).split(/\n\s*\n/);for(let e=0;e<r.length;e++)i[a+e]=(l[e]||"").trim()||r[e];a=s}return i}(c,t,e),d=new Map;c.forEach((e,t)=>{l[t]&&l[t]!==e&&d.set(e,l[t])}),Da=!0;for(const u of o){const e=d.get(u.fullText);if(e)if(u.singleNode){const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"",i=t.data.match(/\s*$/)?.[0]||"";t.data=n+e+i}else if(u.charPerNode)Va(u.nodes,e);else{const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"";t.data=n+e;for(let e=1;e<u.nodes.length;e++)u.nodes[e].data=""}}for(const u of i){const e=d.get(u.original.trim());e&&u.el.setAttribute(u.attr,e)}Da=!1}function Xa(e){return e.id||e.getAttribute("data-a11y-id")||(e.setAttribute("data-a11y-id",Math.random().toString(36).substr(2,9)),e.getAttribute("data-a11y-id"))}var Za=xi('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),Qa=bi('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),er=bi('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),tr=bi('<div class="sr-only" role="status" aria-live="polite" aria-atomic="true"> </div> <!> <div class="accessify-panel" role="dialog"><!> <div class="accessify-body"><div class="accessify-lang-dropdown"><button class="accessify-lang-toggle" aria-controls="accessify-lang-list"><span class="accessify-lang-toggle-left"><!> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div> <div class="accessify-section-divider"></div> <!> <div class="accessify-section-divider"></div> <!></div> <!></div>',1);function nr(e,t){qe(t,!0);let n=qi(t,"config",7),i=Wt(!1),a=Wt(Xt(new Map)),r=Wt("light"),o=Wt(null),s=Wt(null),c=Wt(""),l=Wt("en"),d=Wt(null),u=Wt(!1),f=Wt(null);const p="accessify-panel-x",h={async translate(e){if(!ja){ja=!0;try{Oa.length>0&&this.restore(),await Ja(e),Ba=e,function(){Fa&&Fa.disconnect(),Ka=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Ba&&!Da&&Ja(Ba)}),t=()=>{if(!Ba||Da)return;const e=location.href;e!==Ka&&(Ka=e,Oa=[],Ga=[],setTimeout(()=>{Ba&&Ja(Ba)},500))};Fa=new MutationObserver(n=>{if(Da||!Ba)return;let i=!1;for(const e of n){if(e.addedNodes.length>0){i=!0;break}if("characterData"===e.type){i=!0;break}}i&&(t(),e())}),Fa.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Wa=t,window.addEventListener("popstate",Wa);const n=history.pushState,i=history.replaceState;history.pushState=function(...e){n.apply(this,e),t()},history.replaceState=function(...e){i.apply(this,e),t()}}()}finally{ja=!1}}},async simplify(e,t){},restore(){Fa?.disconnect(),Fa=null,Wa&&(window.removeEventListener("popstate",Wa),Wa=null),Da=!0;for(const e of Oa)e.node.parentNode&&(e.node.data=e.original);Oa=[];for(const e of Ga)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);Ga=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Ba=null,Da=!1},isTranslated:()=>null!==Ba,currentLang:()=>Ba},g="accessify-prefs";let m=$t(()=>Array.from(ii(a).values()).filter(Boolean).length),v=$t(()=>oa.find(e=>e.code===ii(l)));function y(e){Rt(c,""),requestAnimationFrame(()=>{Rt(c,e,!0)})}function b(){try{const e=Object.fromEntries(ii(a));localStorage.setItem(g,JSON.stringify(e))}catch{}}function w(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",ii(r)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=ua(ii(l))?"rtl":"ltr";var i;e&&(e.setAttribute("lang",ii(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",ii(l)),t.shadow.host.setAttribute("dir",n),i=ii(l),ca=la(i)}function k(){Rt(i,!0),requestAnimationFrame(()=>{if(ii(o)){const e=ii(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Rt(i,!1),Rt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let _=$t(()=>null!==ii(f)?`left: ${ii(f)}px; right: auto;`:"");const A="undefined"!=typeof window?window.matchMedia("(max-width: 640px)"):null;vn(()=>{if(!ii(i)||!A?.matches)return;const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}),Ui(()=>{Rt(l,la(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Rt(r,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Rt(r,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Rt(r,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Rt(a,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Rt(f,parseFloat(t),!0)}catch{}}(),x()});var M,E,C,I={open:k,close:S},T=tr();C=function(e,t,n,i={}){function a(e){if(i.capture||gi.call(t,e),!e.cancelBubble)return pn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?Ye(()=>{t.addEventListener(e,a,i)}):t.addEventListener(e,a,i),a}("keydown",M=tn,function(e){if("Escape"===e.key){if(ii(u))return Rt(u,!1),void e.preventDefault();if(ii(i))return e.preventDefault(),void S()}if("Tab"===e.key&&ii(i)&&ii(o)){const n=ii(o).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const i=n[0],a=n[n.length-1],r=t.shadow.activeElement||document.activeElement;e.shiftKey&&r===i?(e.preventDefault(),a.focus()):e.shiftKey||r!==a||(e.preventDefault(),i.focus())}},E={capture:void 0,passive:void 0}),(M===document.body||M===window||M===document||M instanceof HTMLMediaElement)&&mn(()=>{M.removeEventListener("keydown",C,E)});var $=dn(T),z=ln($),L=un($,2);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en"),i=qi(t,"el",15,null),a=Wt(!1);Ui(()=>{const e=i();if(!e)return;let n=0,r=0,o=0,s=0,c=!1,l=null;function d(t){const i=e.getBoundingClientRect();n=t.clientX,r=t.clientY,o=i.left,s=i.top,c=!1,l=t.pointerId,e.setPointerCapture(t.pointerId)}function u(t){if(null===l||t.pointerId!==l)return;const i=t.clientX-n,d=t.clientY-r,u=matchMedia("(pointer: coarse)").matches?15:5;if(!c&&(Math.abs(i)>u||Math.abs(d)>u)&&(c=!0,Rt(a,!0),e.style.transition="none"),c){const t=Math.max(0,Math.min(window.innerWidth-60,o+i)),n=Math.max(0,Math.min(window.innerHeight-60,s+d));e.style.left=t+"px",e.style.top=n+"px",e.style.right="auto",e.style.bottom="auto"}}function f(n){null!==l&&n.pointerId===l&&(e.releasePointerCapture(n.pointerId),e.style.transition="",Rt(a,!1),c||t.onclick(),l=null)}return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",f),()=>{e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",f)}});var r=pa();let o;Pi(r,Yi,!0),Ri(r,e=>i(e),()=>i()),wn(e=>{o=Gi(r,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":ii(a),"accessify-trigger--hidden":t.isOpen}),Di(r,"aria-expanded",t.isOpen),Di(r,"aria-label",e)},[()=>fa(t.isOpen?"widget.close":"widget.open",n())]),ki(e,r),Ue()}(L,{get isOpen(){return ii(i)},get lang(){return ii(l)},onclick:function(){ii(i)?S():k()},get el(){return ii(s)},set el(e){Rt(s,e,!0)}});var H=un(L,2),N=ln(H);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en");qi(t,"activeCount",3,0);let i=qi(t,"panelEl",3,null),a=Wt(null);Ui(()=>{const e=ii(a);if(!e)return;let n=0,r=0,o=!1,s=null;function c(t){const a=i();if(!a)return;const c=a.getBoundingClientRect();n=t.clientX,r=c.left,o=!1,s=t.pointerId,e.setPointerCapture(t.pointerId),t.preventDefault()}function l(e){if(null===s||e.pointerId!==s)return;const t=i();if(!t)return;const a=e.clientX-n;if(!o&&Math.abs(a)>5&&(o=!0,t.style.transition="none"),o){const e=Math.max(0,Math.min(window.innerWidth-t.offsetWidth,r+a));t.style.left=e+"px",t.style.right="auto"}}function d(n){if(null===s||n.pointerId!==s)return;e.releasePointerCapture(n.pointerId);const a=i();if(a&&(a.style.transition="",o)){const e=a.getBoundingClientRect();t.ondrag(e.left)}s=null,o=!1}return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",l),e.addEventListener("pointerup",d),()=>{e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",l),e.removeEventListener("pointerup",d)}});var r=ha(),o=un(ln(r),2),s=ln(o);Ri(s,e=>Rt(a,e),()=>ii(a));var c=un(s,2);Pi(c,ea,!0);var l=un(c,2);Pi(l,Qi,!0),wn((e,t)=>{Di(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Di(c,"aria-label",e),Di(l,"aria-label",t)},[()=>fa("widget.reset",n()),()=>fa("widget.close",n())]),fi("click",c,function(...e){t.onreset?.apply(this,e)}),fi("click",l,function(...e){t.onclose?.apply(this,e)}),ki(e,r),Ue()}(N,{get lang(){return ii(l)},get activeCount(){return ii(m)},onclose:S,onreset:function(){Rt(a,new Map,!0),Rt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),y(fa("widget.resetConfirm",ii(l)))},ondrag:function(e){Rt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return ii(o)}});var P=un(N,2),O=ln(P),G=ln(O),B=ln(G),j=ln(B);Pi(j,ta);var F=ln(un(j,2)),D=un(B,2);let W;var K=un(G,2),R=e=>{var t=er();$i(t,21,()=>oa,Ci,(e,t)=>{var i=Qa(),a=ln(i),r=ln(a),o=un(a,2),s=e=>{ki(e,Za())};Ei(o,e=>{ii(l)===ii(t).code&&e(s)}),wn(()=>{Di(i,"aria-selected",ii(l)===ii(t).code),Di(i,"data-active",ii(l)===ii(t).code),Si(r,`${(ii(t).flag||"")??""} ${ii(t).label??""}`)}),fi("click",i,()=>function(e){Rt(l,la(e),!0),n().lang=ii(l),Rt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";ii(l)!==t?h.translate(ii(l)):h.restore()}(ii(t).code)),ki(e,i)}),wn(e=>Di(t,"aria-label",e),[()=>fa("widget.title",ii(l))]),ki(e,t)};Ei(K,e=>{ii(u)&&e(R)});var q=un(O,4);!function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en"),i=qi(t,"activeProfileId",3,null),a=Wt(!1),r=$t(()=>i()?ga.find(e=>e.id===i()):null);var o=ya(),s=ln(o),c=ln(s),l=un(ln(c),2),d=ln(l),u=un(c,2);let f;var p=un(s,2);$i(p,21,()=>ga,e=>e.id,(e,a)=>{var r=va(),o=ln(r),s=ln(o);Pi(s,()=>function(e){const t=na[e];return t?t():""}(ii(a).iconId),!0);var c=ln(un(s,2)),l=ln(c),d=ln(un(c,2)),u=un(o,2),f=e=>{ki(e,ma())};Ei(u,e=>{i()===ii(a).id&&e(f)}),wn((e,t)=>{Di(r,"aria-pressed",i()===ii(a).id),Di(r,"data-active",i()===ii(a).id),Si(l,e),Si(d,t)},[()=>fa(ii(a).nameKey,n()),()=>fa(ii(a).descKey,n())]),fi("click",r,()=>t.onactivate(ii(a))),ki(e,r)}),wn((e,t,n)=>{Di(o,"aria-label",e),Di(s,"aria-expanded",ii(a)),Si(d,t),f=Gi(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":ii(a)}),Di(p,"aria-label",n),Bi(p,ii(a)?"":"display:none")},[()=>fa("section.profiles",n()),()=>ii(r)?fa(ii(r).nameKey,n()):fa("section.profiles",n()),()=>fa("section.profiles",n())]),fi("click",s,()=>{Rt(a,!ii(a))}),ki(e,o),Ue()}(q,{get lang(){return ii(l)},get activeProfileId(){return ii(d)},onactivate:function(e){if(ii(d)===e.id){Rt(d,null);for(const t of e.features)ii(a).set(t,!1);return Rt(a,new Map(ii(a)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void y(`${fa(e.nameKey,ii(l))} ${fa("status.deactivated",ii(l))}`)}Rt(d,e.id,!0);for(const t of e.features)ii(a).set(t,!0);Rt(a,new Map(ii(a)),!0),b(),y(`${fa(e.nameKey,ii(l))} ${fa("status.activated",ii(l))}`)}});var U=un(q,4);{let e=$t(()=>({...n(),lang:ii(l)}));!function(e,t){qe(t,!0);const n={"keyboard-nav":{id:"keyboard-nav",nameKey:"feature.keyboardNav",descKey:"feature.keyboardNav.desc",iconId:"keyboard"},"link-highlight":{id:"link-highlight",nameKey:"feature.linkHighlight",descKey:"feature.linkHighlight.desc",iconId:"link-highlight"},"reading-guide":{id:"reading-guide",nameKey:"feature.readingGuide",descKey:"feature.readingGuide.desc",iconId:"reading-guide"},"reading-mask":{id:"reading-mask",nameKey:"feature.readingMask",descKey:"feature.readingMask.desc",iconId:"reading-mask"},"animation-stop":{id:"animation-stop",nameKey:"feature.animationStop",descKey:"feature.animationStop.desc",iconId:"animation-pause"},"hide-images":{id:"hide-images",nameKey:"feature.hideImages",descKey:"feature.hideImages.desc",iconId:"hide-images"},"big-cursor":{id:"big-cursor",nameKey:"feature.bigCursor",descKey:"feature.bigCursor.desc",iconId:"cursor"},"page-structure":{id:"page-structure",nameKey:"feature.pageStructure",descKey:"feature.pageStructure.desc",iconId:"page-structure"},tts:{id:"tts",nameKey:"feature.tts",descKey:"feature.tts.desc",iconId:"tts"},"text-simplify":{id:"text-simplify",nameKey:"feature.textSimplify",descKey:"feature.textSimplify.desc",iconId:"simplify-text"},"alt-text":{id:"alt-text",nameKey:"feature.altText",descKey:"feature.altText.desc",iconId:"alt-text"}},i=new Set(["contrast","text-size"]),a=[{id:"light",labelKey:"contrast.mode.light",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>'},{id:"dark",labelKey:"contrast.mode.dark",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>'},{id:"high",labelKey:"contrast.mode.high",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2v20"/><path d="M12 2a10 10 0 0 1 0 20" fill="currentColor"/></svg>'}],r=new Set(["text-simplify","alt-text"]),o=new Map,s={contrast:()=>Promise.resolve().then(()=>Pr),"text-size":()=>Promise.resolve().then(()=>Or),"keyboard-nav":()=>Promise.resolve().then(()=>Gr),"link-highlight":()=>Promise.resolve().then(()=>Br),"reading-guide":()=>Promise.resolve().then(()=>Fr),"reading-mask":()=>Promise.resolve().then(()=>Dr),"animation-stop":()=>Promise.resolve().then(()=>Wr),"hide-images":()=>Promise.resolve().then(()=>Kr),"big-cursor":()=>Promise.resolve().then(()=>qr),"page-structure":()=>Promise.resolve().then(()=>Ur),tts:()=>Promise.resolve().then(()=>Yr),"text-simplify":()=>Promise.resolve().then(()=>to),"alt-text":()=>Promise.resolve().then(()=>mr)};let c,l=Wt(Xt(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),d=Wt(Xt(function(){if("undefined"==typeof window)return 100;const e=Number.parseInt(localStorage.getItem("accessify-text-size")||"100",10);return Number.isFinite(e)?Math.max(100,Math.min(200,e)):100}())),u=$t(()=>new Set(t.config.features)),f=$t(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function p(e){const t=na[e];return t?t():""}function h(e,n){if(!n)return;const i=n.getState();"contrast"===e&&Rt(l,"light"===i.value||"dark"===i.value||"high"===i.value?i.value:"off",!0),"text-size"===e&&(Rt(d,"number"==typeof i.value?i.value:100,!0),t.ontextsize?.(ii(d)))}async function g(e){if(o.has(e))return o.get(e);const n=s[e];if(!n)return null;try{const a=await n(),s=a.default??a,l="function"==typeof s?r.has(e)?s((c||(c=(i={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).apiKey?ka(i):i.siteKey?function(e,t){const n=t||"https://accessify-api.accessify.workers.dev",i={"Content-Type":"application/json","X-Site-Key":e};return{async simplifyText(e,t="einfache",a="de"){const r=`b-${function(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t|=0;return Math.abs(t).toString(36)}(e)}`,o=t;try{const t=await fetch(`${n}/v1/cache/query`,{method:"POST",headers:i,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.cached?.[r])return e.cached[r]}}catch{}try{const t=await fetch(`${n}/v1/cache/process`,{method:"POST",headers:i,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.results?.[r])return e.results[r]}}catch{}const s=await fetch(`${n}/v1/ai/simplify`,{method:"POST",headers:i,body:JSON.stringify({text:e,level:t,lang:a})});if(!s.ok){const e=await s.json().catch(()=>({error:`HTTP ${s.status}`}));if(429===s.status)throw new Sa(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${s.status}`)}return(await s.json()).result||""},async generateAltText(e,t,a){const r=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:i,body:JSON.stringify({imageUrl:e,context:t,lang:a})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new Sa(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""},async describeImage(e,t){const a=await fetch(`${n}/v1/ai/describe-image`,{method:"POST",headers:i,body:JSON.stringify({imageUrl:e,lang:t})});if(!a.ok){const e=await a.json().catch(()=>({error:`HTTP ${a.status}`}));if(429===a.status)throw new Sa(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${a.status}`)}return(await a.json()).result||""}}}(i.siteKey,i.proxyUrl):ka(i)),c),t.config.lang,{siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl,simplificationLevel:t.config.simplificationLevel}):s():s;return o.set(e,l),l}catch(a){return console.warn(`[Accessify] Failed to load feature module "${e}":`,a),null}var i}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of o)try{e.deactivate()}catch{}Rt(l,"off"),Rt(d,100),t.ontextsize?.(100)});let m=$t(()=>t.config.features.filter(e=>!i.has(e)&&n[e]).map(e=>n[e]));vn(()=>{t.config.features.join("|"),ii(f),async function(){const e=new Set(["contrast","text-size",...t.config.features]);for(const n of e){const e=t.activeFeatures.get(n)??!1,i=o.get(n);if(!e&&!i){"contrast"===n&&Rt(l,"off"),"text-size"===n&&Rt(d,100);continue}const a=e?await g(n):i;if(!a)continue;const r=a.getState().enabled;e&&!r&&a.activate(),!e&&r&&a.deactivate(),h(n,a)}}()});var v=Ha(),y=dn(v),b=e=>{var n=Ea(),i=ln(n),r=ln(i);Pi(r,()=>p("contrast"),!0);var o=ln(un(r,2));$i(un(i,2),21,()=>a,Ci,(e,n)=>{var i=Ma(),a=ln(i),r=e=>{ki(e,_a())},o=e=>{var t=Aa();Pi(t,()=>ii(n).icon,!0),ki(e,t)};Ei(a,e=>{ii(l)===ii(n).id?e(r):e(o,-1)});var s=ln(un(a,2));wn(e=>{Di(i,"data-active",ii(l)===ii(n).id),Di(i,"aria-pressed",ii(l)===ii(n).id),Si(s,e)},[()=>fa(ii(n).labelKey,t.config.lang)]),fi("click",i,()=>async function(e){const n=await g("contrast");if(n){if("off"===e)return n.deactivate(),Rt(l,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Rt(l,e,!0),t.ontoggle("contrast",!0)}}(ii(l)===ii(n).id?"off":ii(n).id)),ki(e,i)}),wn((e,t)=>{Di(n,"aria-label",e),Si(o,t)},[()=>fa("feature.contrast",t.config.lang),()=>fa("feature.contrast",t.config.lang)]),ki(e,n)},w=$t(()=>ii(u).has("contrast"));Ei(y,e=>{ii(w)&&e(b)});var x=un(y,2),k=e=>{var n=$a(),i=ln(n),a=ln(i);Pi(a,()=>p("text-size"),!0);var r=ln(un(a,2));$i(un(i,2),21,()=>[{pct:85,size:"12px",label:t.config.lang?.startsWith("de")?"Kleiner":"Smaller"},{pct:125,size:"16px",label:t.config.lang?.startsWith("de")?"Größer":"Bigger"},{pct:150,size:"20px",label:t.config.lang?.startsWith("de")?"Groß":"Large"}],Ci,(e,n)=>{var i=Ta(),a=ln(i),r=e=>{ki(e,Ca())},o=e=>{var t=Ia();wn(()=>Bi(t,`font-size:${ii(n).size??""};font-weight:700;line-height:1`)),ki(e,t)};Ei(a,e=>{ii(d)===ii(n).pct?e(r):e(o,-1)});var s=ln(un(a,2));wn(()=>{Di(i,"data-active",ii(d)===ii(n).pct),Di(i,"aria-pressed",ii(d)===ii(n).pct),Si(s,ii(n).label)}),fi("click",i,()=>async function(e){const n=await g("text-size");if(n){if(100===e)return n.deactivate(),Rt(d,100),t.ontoggle("text-size",!1),void t.ontextsize?.(100);n.getState().enabled||n.activate(),n.setState?.(e),Rt(d,e,!0),t.ontoggle("text-size",!0),t.ontextsize?.(e)}}(ii(d)===ii(n).pct?100:ii(n).pct)),ki(e,i)}),wn((e,t)=>{Di(n,"aria-label",e),Si(r,t)},[()=>fa("feature.textSize",t.config.lang),()=>fa("feature.textSize",t.config.lang)]),ki(e,n)},S=$t(()=>ii(u).has("text-size"));Ei(x,e=>{ii(S)&&e(k)});var _=un(x,4),A=e=>{var n=La();$i(n,21,()=>ii(m),e=>e.id,(e,n)=>{const i=$t(()=>t.activeFeatures.get(ii(n).id)??!1);var a=za(),r=ln(a),o=ln(r);Pi(o,()=>p(ii(n).iconId),!0);var s=ln(un(o,2)),c=un(r,2);wn((e,t,o,l)=>{Di(a,"data-feature",ii(n).id),Di(r,"data-active",ii(i)),Di(r,"aria-checked",ii(i)),Di(r,"aria-label",e),Si(s,t),Di(c,"aria-label",o),Di(c,"title",l)},[()=>fa(ii(n).nameKey,t.config.lang),()=>fa(ii(n).nameKey,t.config.lang),()=>fa(ii(n).descKey,t.config.lang),()=>fa(ii(n).descKey,t.config.lang)]),fi("click",r,()=>async function(e){const n=!t.activeFeatures.get(e),i=await g(e);i&&(n?i.activate():i.deactivate(),h(e,i)),t.ontoggle(e,n)}(ii(n).id)),ki(e,a)}),ki(e,n)};Ei(_,e=>{ii(m).length>0&&e(A)}),ki(e,v),Ue()}(U,{get config(){return ii(e)},get activeFeatures(){return ii(a)},ontoggle:function(e,t){ii(a).set(e,t),Rt(a,new Map(ii(a)),!0),b(),y(`${fa(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,ii(l))||e} ${fa(t?"status.activated":"status.deactivated",ii(l))}`)},ontextsize:function(e){}})}return function(e,t){qe(t,!0);let n=qi(t,"lang",3,"en");var i=Pa(),a=ln(i),r=ln(a),o=un(r,2),s=e=>{var i=Na(),a=un(dn(i),2),r=ln(a);wn(e=>{Di(a,"href",t.statementUrl),Si(r,e)},[()=>fa("widget.statement",n())]),ki(e,i)};Ei(o,e=>{t.statementUrl&&e(s)});var c=un(a,2),l=un(ln(c),2),d=ln(l);wn((e,n)=>{Di(r,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Di(c,"aria-label",e),Si(d,n)},[()=>fa("widget.close",n()),()=>fa("widget.close",n())]),fi("click",c,function(...e){t.onclose?.apply(this,e)}),ki(e,i),Ue()}(un(P,2),{get lang(){return ii(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Ri(H,e=>Rt(o,e),()=>ii(o)),wn((e,t)=>{Si(z,ii(c)),Di(H,"aria-label",e),Di(H,"aria-hidden",!ii(i)),Di(H,"dir",t),Bi(H,ii(_)),Di(G,"aria-expanded",ii(u)),Si(F,`${(ii(v)?.flag||"")??""} ${(ii(v)?.label||ii(l))??""}`),W=Gi(D,0,"accessify-lang-chevron",0,W,{"accessify-lang-chevron--open":ii(u)}),H.dir=H.dir},[()=>fa("widget.title",ii(l)),()=>ua(ii(l))?"rtl":"ltr"]),fi("click",G,()=>{Rt(u,!ii(u))}),ki(e,T),Ue(I)}function ir(e){const t=e.position||"bottom-right",n=t.includes("right"),i=t.includes("bottom"),a=e.zIndex||2147483647,r=n?"20px 0 0 20px":"0 20px 20px 0",o=n?"translateX(24px)":"translateX(-24px)",s=e;return`\n :host {\n all: initial;\n display: block !important;\n position: fixed !important;\n ${i?"bottom: 20px":"top: 20px"} !important;\n ${n?"right: 20px":"left: 20px"} !important;\n z-index: ${a} !important;\n width: auto !important; height: auto !important;\n overflow: visible !important;\n contain: none !important;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n font-size: 16px;\n line-height: 1.5;\n color-scheme: dark;\n }\n\n *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n\n #accessify-mount {\n --gap: 14px;\n --pad: 18px;\n --radius: 12px;\n --radius-lg: 16px;\n --pill: 999px;\n --surface: #3d4775;\n --surface-card: #4a5387;\n --surface-dim: #353e6a;\n --surface-hover: #545d8f;\n --text: #f0f0f5;\n --text-dim: #b8bdd4;\n --border: rgba(255,255,255,0.10);\n --border-hl: rgba(255,255,255,0.20);\n --accent: #e8837c;\n --accent-soft: rgba(232,131,124,0.15);\n --accent-on: #fff;\n --logo-color: #e8837c;\n --shadow: 0 12px 48px rgba(0,0,0,0.35);\n --fast: 140ms ease;\n ${[s.brandPrimaryColor?`--surface: ${s.brandPrimaryColor};`:"",s.brandSurfaceColor?`--surface-dim: ${s.brandSurfaceColor};`:"",s.brandCardColor?`--surface-card: ${s.brandCardColor};`:"",s.brandHoverColor?`--surface-hover: ${s.brandHoverColor};`:"",s.brandTextColor?`--text: ${s.brandTextColor};`:"",s.brandTextDimColor?`--text-dim: ${s.brandTextDimColor};`:"",s.brandAccentColor?`--accent: ${s.brandAccentColor}; --accent-soft: ${s.brandAccentColor}26;`:"",s.brandBorderColor?`--border: ${s.brandBorderColor}; --border-hl: ${s.brandBorderColor};`:""].filter(Boolean).join("\n ")}\n }\n\n .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }\n *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }\n\n /* ─── Trigger ─── */\n .accessify-trigger {\n position: static;\n z-index: ${a};\n width: 56px; height: 56px;\n border: none; border-radius: 16px;\n background: ${s.brandTriggerColor||"linear-gradient(135deg, #545d8f, #3d4775)"};\n color: ${s.brandTriggerIconColor||"#e8837c"};\n cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n box-shadow: 0 6px 20px rgba(50,60,100,0.5);\n transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);\n touch-action: none;\n }\n @media (hover: hover) {\n .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\n }\n .accessify-trigger:active { transform: scale(0.96); }\n .accessify-trigger--hidden { display:none; }\n .accessify-trigger svg { width: 26px; height: 26px; }\n .accessify-trigger--dragging { cursor: grabbing !important; opacity: 0.85; }\n\n /* Active count badge on trigger */\n .accessify-trigger-badge {\n position: absolute; top: -4px; right: -4px;\n min-width: 20px; height: 20px; padding: 0 5px;\n border-radius: 999px; background: var(--accent); color: #fff;\n font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;\n pointer-events: none;\n }\n\n /* ─── Panel ─── */\n .accessify-panel {\n position: fixed; top: 0; bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${a-1};\n width: min(${s.panelWidth?`${s.panelWidth}px`:"420px"}, 100vw); height: 100vh; height: 100dvh;\n display: flex; flex-direction: column;\n border-radius: ${r};\n background: var(--surface);\n overflow: hidden;\n color: var(--text);\n box-shadow: var(--shadow);\n transition: opacity 200ms ease, transform 200ms ease;\n }\n .accessify-panel[aria-hidden="true"] { opacity:0; transform:${o}; pointer-events:none; display:none; }\n .accessify-panel[aria-hidden="false"] { opacity:1; transform:translateX(0); }\n\n /* ─── Header ─── */\n .accessify-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border-bottom: 1px solid var(--border);\n background: var(--surface-dim);\n flex-shrink: 0;\n }\n .accessify-header-left { display: flex; align-items: center; gap: 10px; }\n .accessify-header-actions { display: flex; align-items: center; gap: 6px; }\n\n .accessify-logo { display: inline-flex; color: var(--logo-color); }\n .accessify-logo svg { height: 24px; width: auto; }\n\n .accessify-header-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; transition: background var(--fast), color var(--fast);\n }\n @media (hover: hover) {\n .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\n }\n .accessify-header-btn svg { width: 16px; height: 16px; }\n .accessify-header-btn--icon { padding: 0; }\n .accessify-header-btn--close { background: transparent; border-color: transparent; }\n\n /* Drag handle */\n .accessify-drag-handle {\n cursor: grab; touch-action: none;\n }\n .accessify-drag-handle:active { cursor: grabbing; }\n .accessify-drag-handle svg { stroke-width: 3; }\n\n /* ─── Shared Accordion (Language + Profiles) ─── */\n .accessify-lang-dropdown,\n .accessify-accordion {\n border-radius: var(--radius);\n border: 1px solid var(--border);\n overflow: clip;\n }\n\n .accessify-lang-toggle,\n .accessify-accordion-toggle {\n display: flex; align-items: center; justify-content: space-between;\n width: 100%; padding: 14px 14px;\n border: none; background: var(--surface-card);\n color: var(--text); cursor: pointer; font-family: inherit;\n font-size: 15px; font-weight: 700;\n transition: background var(--fast);\n }\n @media (hover: hover) {\n .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\n }\n\n .accessify-lang-toggle-left,\n .accessify-accordion-toggle-left {\n display: flex; align-items: center; gap: 10px;\n }\n .accessify-lang-toggle-left svg,\n .accessify-accordion-toggle-left svg { width: 20px; height: 20px; color: var(--accent); }\n\n .accessify-lang-chevron,\n .accessify-accordion-chevron {\n width: 18px; height: 18px; color: var(--text-dim);\n transition: transform 200ms ease; flex-shrink: 0;\n }\n .accessify-lang-chevron--open,\n .accessify-accordion-chevron--open { transform: rotate(180deg); }\n\n /* Shared list inside accordion */\n .accessify-lang-list,\n .accessify-accordion-list {\n display: flex; flex-direction: column;\n max-height: 280px; overflow-y: auto;\n background: var(--surface-dim);\n border-top: 1px solid var(--border);\n }\n .accessify-lang-list::-webkit-scrollbar,\n .accessify-accordion-list::-webkit-scrollbar { width: 4px; }\n .accessify-lang-list::-webkit-scrollbar-thumb,\n .accessify-accordion-list::-webkit-scrollbar-thumb { background: var(--border-hl); border-radius: 2px; }\n\n /* Language options */\n .accessify-lang-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-size: 14px; font-weight: 500; font-family: inherit;\n transition: background var(--fast);\n min-height: 44px;\n }\n @media (hover: hover) {\n .accessify-lang-option:hover { background: var(--surface-hover); }\n }\n .accessify-lang-option[data-active="true"] { color: var(--accent); font-weight: 700; }\n .accessify-lang-option svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }\n\n /* Profile options (with icon + description) */\n .accessify-accordion-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-family: inherit; text-align: left;\n transition: background var(--fast);\n }\n @media (hover: hover) {\n .accessify-accordion-option:hover { background: var(--surface-hover); }\n }\n .accessify-accordion-option[data-active="true"] { background: var(--accent-soft); }\n\n .accessify-accordion-option-left {\n display: flex; align-items: center; gap: 12px; min-width: 0;\n }\n .accessify-accordion-option-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 40px; height: 40px; border-radius: 12px;\n background: var(--surface-card); color: var(--accent); flex-shrink: 0;\n }\n .accessify-accordion-option-icon svg { width: 24px; height: 24px; stroke-width: 2.5; }\n .accessify-accordion-option-text {\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n }\n .accessify-accordion-option-name {\n font-size: 14px; font-weight: 700; line-height: 1.3;\n }\n .accessify-accordion-option-desc {\n font-size: 12px; font-weight: 400; color: var(--text-dim); line-height: 1.3;\n }\n .accessify-accordion-option > svg {\n width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-left: 8px;\n }\n\n /* ─── Scrollable Body ─── */\n .accessify-body {\n flex: 1 1 auto;\n min-height: 0;\n display: flex; flex-direction: column; gap: var(--gap);\n padding: var(--gap) var(--pad);\n overflow-y: auto; overscroll-behavior: contain;\n }\n\n /* ─── Contrast Row ─── */\n .accessify-control-row {\n display: flex; flex-direction: column; gap: 10px;\n padding: 14px 16px;\n border-radius: var(--radius); border: 1px solid var(--border);\n background: var(--surface-card);\n }\n .accessify-control-label {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-control-label-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px; border-radius: 10px;\n background: var(--surface-dim); color: var(--accent); flex-shrink: 0;\n }\n .accessify-control-label-icon svg { width: 18px; height: 18px; }\n .accessify-control-label-text { font-size: 14px; font-weight: 600; }\n\n /* Contrast chips */\n .accessify-chip-row {\n display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;\n }\n .accessify-chip {\n min-height: 48px; padding: 6px 8px;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); color: var(--text);\n cursor: pointer; font-size: 11px; font-weight: 600; font-family: inherit;\n display: inline-flex; align-items: center; justify-content: center;\n text-align: center; line-height: 1.25;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n }\n @media (hover: hover) {\n .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\n }\n .accessify-chip[data-active="true"] {\n background: var(--accent); color: var(--accent-on);\n border-color: var(--accent);\n border-width: 2px;\n font-weight: 700;\n }\n .accessify-chip--icon { gap: 6px; flex-direction: column; }\n .accessify-chip-icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }\n .accessify-chip-icon svg { width: 16px; height: 16px; }\n .accessify-chip-check {\n display: inline-flex; align-items: center; justify-content: center;\n width: 20px; height: 20px; border-radius: 50%;\n background: rgba(255,255,255,0.25); flex-shrink: 0;\n }\n .accessify-chip-check svg { width: 14px; height: 14px; }\n\n /* Text Size stepper */\n .accessify-control-row:has(.accessify-stepper) {\n flex-direction: row; align-items: center; justify-content: space-between; gap: var(--gap);\n }\n .accessify-stepper {\n display: inline-flex; align-items: center;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); height: 36px; overflow: hidden;\n }\n .accessify-stepper-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 36px; height: 100%; border: none; background: transparent;\n color: var(--text); cursor: pointer; font-size: 18px; font-weight: 700;\n transition: background var(--fast); font-family: inherit;\n }\n @media (hover: hover) {\n .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\n }\n .accessify-stepper-btn:disabled { opacity: 0.3; cursor: default; }\n .accessify-stepper-value {\n min-width: 48px; text-align: center;\n font-size: 13px; font-weight: 600; color: var(--text); user-select: none;\n }\n\n /* Text Size: uses same .accessify-chip-row / .accessify-chip as contrast */\n\n /* ─── Feature Cards (2-column grid) ─── */\n .accessify-features {\n display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);\n }\n .accessify-card-wrap {\n position: relative;\n overflow: visible;\n }\n .accessify-card {\n position: relative; width: 100%;\n display: flex; flex-direction: column; align-items: center; justify-content: center;\n gap: 8px; padding: 18px 10px; min-height: 105px;\n border-radius: var(--radius-lg); border: 1px solid var(--border);\n background: var(--surface-card); color: var(--text);\n cursor: pointer; text-align: center; font-family: inherit;\n transition: transform var(--fast), border-color var(--fast), background var(--fast), box-shadow var(--fast);\n }\n @media (hover: hover) {\n .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\n }\n .accessify-card[data-active="true"] { border-color: var(--accent); background: var(--accent-soft); }\n .accessify-card-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 48px; height: 48px; border-radius: 14px;\n background: var(--surface-dim); color: var(--accent);\n }\n .accessify-card-icon svg { width: 28px; height: 28px; stroke-width: 2.5; }\n .accessify-card-label { font-size: 12px; font-weight: 600; line-height: 1.25; }\n\n /* Info icon + tooltip */\n .accessify-card-info {\n position: absolute; top: 6px; ${n?"right: 6px":"left: 6px"}; z-index: 10;\n display: inline-flex; align-items: center; justify-content: center;\n width: 22px; height: 22px; border-radius: 999px;\n color: var(--text-dim); cursor: help; background: none; border: none;\n opacity: 0.35; transition: opacity var(--fast), color var(--fast);\n }\n .accessify-card-info svg { width: 14px; height: 14px; }\n @media (hover: hover) {\n .accessify-card-info:hover { opacity: 1; color: var(--accent); }\n }\n\n /* ─── Section Divider ─── */\n .accessify-section-divider {\n height: 1px;\n background: var(--border);\n margin: 4px 0;\n flex-shrink: 0;\n }\n\n /* ─── Footer ─── */\n .accessify-footer {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px var(--pad);\n border-top: 1px solid var(--border);\n color: var(--text-dim); font-size: 11px;\n background: var(--surface-dim); flex-shrink: 0;\n gap: 8px;\n }\n .accessify-footer-links {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }\n @media (hover: hover) {\n .accessify-footer a:hover { text-decoration: underline; }\n }\n\n .accessify-footer-close {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 6px 14px; min-height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; font-size: 12px; font-weight: 600; font-family: inherit;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n flex-shrink: 0;\n }\n @media (hover: hover) {\n .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\n }\n .accessify-footer-close svg { width: 14px; height: 14px; flex-shrink: 0; }\n\n /* ─── Reduced Motion ─── */\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }\n }\n\n /* ─── Mobile ─── */\n @media (max-width: 640px) {\n .accessify-panel { width: 100vw; border-radius: 0; }\n .accessify-features { gap: 8px; }\n .accessify-body { padding: 8px 12px; }\n .accessify-trigger {\n ${i?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 50px; height: 50px; border-radius: 14px;\n }\n .accessify-card-wrap[data-feature="big-cursor"] { display: none; }\n .accessify-drag-handle { display: none; }\n .accessify-header { padding-top: max(14px, env(safe-area-inset-top, 0px)); }\n .accessify-footer { padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); }\n }\n @media (pointer: coarse) {\n .accessify-header-btn { min-width: 44px; min-height: 44px; }\n .accessify-footer-close { min-height: 44px; }\n .accessify-card-info { opacity: 0.7; }\n }\n `}pi(["click"]);const ar="alt-texts";function rr(e){let t=5381;const n=e.toLowerCase().trim();for(let i=0;i<n.length;i++)t=(t<<5)+t+n.charCodeAt(i),t|=0;return Math.abs(t).toString(36)}function or(e){try{const t=new URL(e);return t.searchParams.delete("width"),t.searchParams.delete("height"),t.searchParams.delete("scale-down-to"),t.href}catch{return e}}function sr(e){return e.currentSrc||e.src}function cr(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(ar)||e.createObjectStore(ar,{keyPath:"key"}),e.objectStoreNames.contains("alt-text-reports")||e.createObjectStore("alt-text-reports",{keyPath:"key"})},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null)}catch{e(null)}})}async function lr(e){const t=await cr();return t?new Promise(n=>{try{const i=t.transaction(ar,"readonly").objectStore(ar),a=i.get(rr(e));a.onsuccess=()=>{if(a.result?.altText)return void n(a.result.altText);const t=or(e);if(t!==e){const e=i.get(rr(t));e.onsuccess=()=>n(e.result?.altText||null),e.onerror=()=>n(null)}else n(null)},a.onerror=()=>n(null)}catch{n(null)}}):null}async function dr(e,t,n){const i=await cr();if(i)return new Promise(a=>{try{const r=i.transaction(ar,"readwrite");r.objectStore(ar).put({key:rr(e),src:e,altText:t,lang:n,createdAt:Date.now()}),r.oncomplete=()=>a(),r.onerror=()=>a()}catch{a()}})}const ur="https://accessify-api.accessify.workers.dev";let fr="manual";function pr(e,t,n,i,a){try{const r=window.location.origin+window.location.pathname;fetch(`${t||ur}/v1/cache/persist-alt-text`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,pageUrl:r,imageUrl:n,altText:i,lang:a})}).catch(()=>{})}catch{}}let hr=!1;async function gr(e){if(hr)return 0;hr=!0;const t=new Map,n=e?.siteKey,i=e?.proxyUrl||"",a=e?.lang?.split("-")[0]||document.documentElement.lang?.split("-")[0]||"en";if(n){const e=await async function(e,t,n){const i=new Map;try{const a=t||ur,r=window.location.origin+window.location.pathname,o=await fetch(`${a}/v1/manifest?siteKey=${encodeURIComponent(e)}&url=${encodeURIComponent(r)}&feature=alt_text&variant=${encodeURIComponent(n)}`,{headers:{Accept:"application/json"},cache:"no-cache"});if(!o.ok)return i;const s=await o.json();if(fr="auto"===s.siteMode?"auto":"manual",s.blocks)for(const e of s.blocks)e.selector&&e.result&&i.set(e.selector,e.result)}catch{}return i}(n,i,a);for(const[n,i]of e){t.set(n,i);const e=or(n);e!==n&&t.set(e,i),dr(n,i,a).catch(()=>{})}}const r=await async function(){const e=await cr(),t=new Map;return e?new Promise(n=>{try{const i=e.transaction(ar,"readonly").objectStore(ar).getAll();i.onsuccess=()=>{for(const e of i.result)t.set(e.src,e.altText);n(t)},i.onerror=()=>n(t)}catch{n(t)}}):t}();for(const[l,d]of r)t.has(l)||t.set(l,d);if(0===t.size)return 0;function o(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;const n=sr(e),i=or(n),a=or(e.src),r=t.get(n)||t.get(i)||t.get(e.src)||t.get(a);if(!r)return!1;const o=e.getAttribute("alt");return null!==o&&""!==o.trim()||(e.setAttribute("alt",r),e.setAttribute("data-accessify-alt","auto")),e.setAttribute("title",r),!0}let s=0;document.querySelectorAll("img").forEach(e=>{o(e)&&s++});const c=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes){const t=e instanceof HTMLImageElement?[e]:e instanceof HTMLElement?Array.from(e.querySelectorAll("img")):[];for(const e of t)o(e)}});return c.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>c.disconnect(),3e4),s}const mr=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:gr,default:function(e,t="de",n){const i=n?.siteKey||"",a=n?.proxyUrl||"";let r=!1,o=null,s=!1,c=[];const l=new Map;function d(){return da()||t}function u(){return d().startsWith("de")}function f(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;if(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))return!1;const t=e.getBoundingClientRect();if(t.width<40||t.height<40)return!1;const n=getComputedStyle(e);return"none"!==n.display&&"hidden"!==n.visibility&&"0"!==n.opacity&&"presentation"!==e.getAttribute("role")&&"true"!==e.getAttribute("aria-hidden")}function p(e){if(!f(e))return!1;const t=e.getAttribute("alt");return null===t||!!function(e){return!(e.trim()&&!/^(image|img|photo|bild|foto|untitled|placeholder)/i.test(e)&&!/^IMG_\d+/i.test(e)&&!/\.(jpg|jpeg|png|gif|webp|svg|avif)$/i.test(e))}(t)||""===t&&!function(e){const t=e.getAttribute("role");return"presentation"===t||"none"===t||!!(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))}(e)}function h(e){const t=[];try{const n=new URL(sr(e),window.location.href).pathname.split("/").pop();n&&t.push(`Filename: ${n}`)}catch{}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e?.textContent?.trim()&&t.push(`Caption: ${e.textContent.trim()}`)}const i=e.parentElement?.parentElement||e.parentElement;if(i){const e=i.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}return t.join(". ")}function g(e,t){e.setAttribute("alt",t),e.setAttribute("title",t),l.set(e,{generatedAlt:t}),r&&k(e,t)}function m(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;if(e.getAttribute("title"))return;const t=e.getAttribute("alt");t&&t.trim()&&(e.setAttribute("title",t),e.setAttribute("data-accessify-title","auto"))})}const v="data-accessify-badge",y="accessify-badge-overlay";let b=null,w=[];function x(e,t,n){const i=e.getBoundingClientRect();if(i.width<40||i.height<40||i.bottom<0||i.top>window.innerHeight+200||i.right<0||i.left>window.innerWidth+200)return t.style.display="none",void(n.style.display="none");const a=window.scrollX,r=window.scrollY,o=i.top+r+6,s=i.left+a+6;t.style.display="",t.style.top=`${o}px`,t.style.left=`${s}px`,n.style.top=`${o+26}px`,n.style.left=`${s}px`}function k(e,t){if(e.getAttribute(v))return;e.setAttribute(v,"1");const n=function(){let e=document.getElementById(y);return e||(e=document.createElement("div"),e.id=y,Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"0",height:"0",overflow:"visible",pointerEvents:"none",zIndex:"10000"}),document.body.appendChild(e)),e}(),i=document.createElement("span");Object.assign(i.style,{position:"absolute",width:"22px",height:"22px",borderRadius:"50%",background:"rgba(0,0,0,0.6)",color:"#fff",fontFamily:"sans-serif",fontWeight:"bold",fontSize:"13px",lineHeight:"22px",textAlign:"center",cursor:"default",pointerEvents:"auto",boxShadow:"0 1px 4px rgba(0,0,0,0.4)",transition:"background 0.15s"}),i.textContent="i",i.setAttribute("aria-hidden","true"),i.setAttribute("translate","no"),i.classList.add("notranslate"),i.setAttribute(v,"badge");const a=document.createElement("span");Object.assign(a.style,{display:"none",position:"absolute",minWidth:"150px",maxWidth:"280px",padding:"6px 10px",background:"rgba(0,0,0,0.88)",color:"#fff",fontFamily:"sans-serif",fontSize:"12px",lineHeight:"1.4",borderRadius:"6px",pointerEvents:"none",wordWrap:"break-word",boxShadow:"0 2px 8px rgba(0,0,0,0.3)",zIndex:"1"}),a.textContent=t,a.setAttribute("translate","no"),a.classList.add("notranslate"),a.setAttribute(v,"tooltip"),i.addEventListener("mouseenter",()=>{i.style.background="rgba(0,0,0,0.85)",a.style.display="block"}),i.addEventListener("mouseleave",()=>{i.style.background="rgba(0,0,0,0.6)",a.style.display="none"}),i.addEventListener("click",e=>{e.stopPropagation();const t="block"===a.style.display;a.style.display=t?"none":"block",i.style.background=t?"rgba(0,0,0,0.6)":"rgba(0,0,0,0.85)"}),n.appendChild(i),n.appendChild(a),x(e,i,a),w.push({target:e,badge:i,tooltip:a})}function S(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;const t=e.getAttribute("alt")||e.getAttribute("title");t&&t.trim()&&k(e,t.trim())}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{const t=e.getAttribute("aria-label");t&&t.trim()&&k(e,t.trim())}),w.length>0&&function(){if(null!==b)return;const e=()=>{!function(){for(const{target:e,badge:t,tooltip:n}of w)document.body.contains(e)&&x(e,t,n)}(),b=requestAnimationFrame(e)};b=requestAnimationFrame(e)}()}function _(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function A(e,t){e.setAttribute("role","img"),e.setAttribute("aria-label",t),e.setAttribute("title",t),e.setAttribute("data-accessify-bg-alt","auto"),r&&k(e,t)}function M(e){const t=[];t.push(`Element: <${e.tagName.toLowerCase()}>`),e.className&&t.push(`Class: ${e.className}`);const n=e.textContent?.trim().slice(0,100);n&&t.push(`Overlay text: ${n}`);const i=e.querySelector("h1, h2, h3");return i?.textContent?.trim()&&t.push(`Heading: ${i.textContent.trim()}`),t.join(". ")}function E(t){function n(){if(r&&!c.includes(t)&&!(t.naturalWidth<20||t.naturalHeight<20))if(p(t))c.push(t),async function(t){if(!e||!r)return;const n=sr(t),o=await lr(n);if(o)g(t,o);else if("auto"===fr)try{const o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),dr(n,s,d()).catch(()=>{}),i&&pr(i,a,n,s,d()))}catch(s){console.warn("[Accessify] Alt-text generation failed:",n,s)}}(t);else{const e=t.getAttribute("alt");e&&e.trim()&&(t.getAttribute("title")||(t.setAttribute("title",e),t.setAttribute("data-accessify-title","auto")),k(t,e.trim()))}}r&&f(t)&&(c.includes(t)||(t.complete&&t.naturalWidth>0?n():t.addEventListener("load",n,{once:!0})))}return gr({siteKey:i,proxyUrl:a,lang:t}).catch(()=>{}),{id:"alt-text",name:()=>u()?"Bildbeschreibung":"Image Description",description:u()?"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen":"Show image descriptions on hover and auto-generate missing ones",icon:"alt-text",category:"ai",activate:function(){if(r)return;r=!0,document.querySelectorAll('img[data-accessify-alt="auto"]').forEach(e=>{e.closest("#accessify-root")||l.has(e)||(l.set(e,{generatedAlt:e.getAttribute("alt")||""}),c.push(e))});const t=function(){const e=[];return document.querySelectorAll("img").forEach(t=>{p(t)&&e.push(t)}),document.querySelectorAll("picture").forEach(t=>{if(t.closest("#accessify-root")||t.closest("accessify-widget"))return;const n=t.querySelector("img");n&&!e.includes(n)&&p(n)&&e.push(n)}),e}();for(const e of t)c.includes(e)||c.push(e);!async function(){if(s||!r||!e)return;s=!0;const t=[];for(const e of c){if(l.has(e))continue;const n=sr(e),i=await lr(n);i?g(e,i):t.push(e)}if(t.length){if("auto"!==fr)return window.__ACCESSIFY_DEBUG&&console.info(`[Accessify] alt-text: siteMode=manual — ${t.length} image(s) left untouched. Trigger a crawl from the dashboard or enable auto mode.`),void(s=!1);for(let n=0;n<t.length&&r;n+=3){const o=t.slice(n,n+3);await Promise.all(o.map(async t=>{if(r)try{const n=sr(t),o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),dr(n,s,d()).catch(()=>{}),i&&pr(i,a,n,s,d()))}catch(n){console.warn("[Accessify] Alt-text generation failed:",sr(t),n)}}))}s=!1}else s=!1}(),async function(){if(!e||!r)return;if("auto"!==fr)return void(window.__ACCESSIFY_DEBUG&&console.info("[Accessify] alt-text: siteMode=manual — skipping live generation for background images"));const t=function(){const e=[],t=document.querySelectorAll("*");for(const n of t){if(n.closest("#accessify-root")||n.closest("accessify-widget"))continue;if(n.getAttribute("data-accessify-bg-alt"))continue;if(n.offsetWidth<200||n.offsetHeight<150)continue;const t=getComputedStyle(n).backgroundImage;if(!t||"none"===t)continue;const i=t.match(/url\(["']?([^"')]+)["']?\)/);i&&(i[1].startsWith("data:image/svg")||"img"===n.getAttribute("role")&&n.getAttribute("aria-label")||e.push(n))}return e}();for(const o of t){if(!r)break;const t=_(o);if(!t)continue;const s=await lr(t);if(s)A(o,s);else try{const n=M(o),s=await e.generateAltText(t,n,d());s&&r&&(A(o,s),dr(t,s,d()).catch(()=>{}),i&&pr(i,a,t,s,d()))}catch(n){console.warn("[Accessify] Bg alt-text generation failed:",t,n)}}}(),m(),S(),document.querySelectorAll("img").forEach(e=>{e.complete||E(e)});for(const e of[2e3,5e3,1e4])setTimeout(()=>{r&&(document.querySelectorAll("img").forEach(E),m(),S())},e);o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?E(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(E)}),o.observe(document.body,{childList:!0,subtree:!0})},deactivate:function(){r=!1,s=!1,o?.disconnect(),o=null,document.querySelectorAll('img[data-accessify-title="auto"]').forEach(e=>{e.removeAttribute("title"),e.removeAttribute("data-accessify-title")}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("title"),e.removeAttribute("data-accessify-bg-alt")}),null!==b&&(cancelAnimationFrame(b),b=null),w=[],document.getElementById(y)?.remove(),document.querySelectorAll(`[${v}]`).forEach(e=>e.removeAttribute(v)),document.querySelectorAll("[data-accessify-badge-wrap]").forEach(e=>{const t=e.querySelector("img");t&&e.parentElement&&(e.parentElement.insertBefore(t,e),e.remove())}),c=[]},getState:()=>({id:"alt-text",enabled:r,value:{missingCount:c.filter(e=>!l.has(e)).length,processedCount:l.size}})}}},Symbol.toStringTag,{value:"Module"})),vr=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","focus-highlight","auto-scan"]),yr={position:"bottom-right",theme:"auto",lang:function(){const e=document.documentElement.lang?.trim();if(e)return e.split("-")[0].toLowerCase();const t=(navigator.language||navigator.userLanguage||"").trim();return t?t.split("-")[0].toLowerCase():"en"}(),features:["contrast","text-size","link-highlight","hide-images","reading-guide","reading-mask","big-cursor","keyboard-nav","animation-stop","tts","text-simplify","alt-text","page-structure"],zIndex:2147483647,compact:!1};let br=null,wr=null,xr={...yr};async function kr(e={}){if(br)return;const t=window.__accessify_dataConfig||{};xr={...yr,...t,...e};const n=xr.siteKey||xr.siteKey,i=xr.proxyUrl||xr.proxyUrl;if(n){const a=await async function(e,t){try{const n=t||"https://accessify-api.accessify.workers.dev",i=await fetch(`${n}/v1/config/${e}`,{headers:{Accept:"application/json"}});if(!i.ok)return{};const a=await i.json(),r=a?.config||{},o={};r.features?.length&&(o.features=r.features),r.defaultLang&&(o.lang=r.defaultLang),r.position&&(o.position=r.position),r.theme&&(o.theme=r.theme),null!=r.compact&&(o.compact=r.compact);const s=["brandPrimaryColor","brandSurfaceColor","brandTextColor","brandBorderColor","brandCardColor","brandAccentColor","brandTextDimColor","brandTriggerColor","brandTriggerIconColor","brandHoverColor"];for(const e of s)r[e]&&(o[e]=r[e]);return r.panelWidth&&(o.panelWidth=r.panelWidth),r.simplificationLevel&&(o.simplificationLevel=r.simplificationLevel),o}catch{return{}}}(n,i||"");xr={...yr,...a,...t,...e}}xr.features=(xr.features||yr.features).filter(e=>!vr.has(e)),wr=document.createElement("div"),wr.id="accessify-root",wr.setAttribute("role","complementary"),wr.setAttribute("aria-label",fa("widget.title",xr.lang));const a=xr.position||"bottom-right",r=a.includes("right"),o=a.includes("bottom");wr.style.cssText=["position:fixed!important",o?"bottom:20px!important":"top:20px!important",r?"right:20px!important":"left:20px!important",`z-index:${xr.zIndex||2147483647}!important`,"width:auto!important","height:auto!important","overflow:visible!important","contain:none!important","display:block!important"].join(";")+";";const s=wr.attachShadow({mode:"open",delegatesFocus:!0}),c=new CSSStyleSheet;c.replaceSync(ir(xr)),s.adoptedStyleSheets=[c];const l=document.createElement("div");function d(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}l.id="accessify-mount",s.appendChild(l),br=function(e,{target:t,anchor:n,props:i={},events:a,context:r,intro:o=!0,transformError:s}){!function(){if(void 0===tn){tn=window,nn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=Z(t,"firstChild").get,rn=Z(t,"nextSibling").get,ie(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ie(n)&&(n.__t=void 0),q&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:n,lastIndexOf:i,includes:a}=e;e.indexOf=function(e,t){const i=n.call(this,e,t);if(-1===i)for(let n=t??0;n<this.length;n+=1)if(Qt(this[n])===e){He("array.indexOf(...)");break}return i},e.lastIndexOf=function(e,t){const n=i.call(this,e,t??this.length-1);if(-1===n)for(let i=0;i<=(t??this.length-1);i+=1)if(Qt(this[i])===e){He("array.lastIndexOf(...)");break}return n},e.includes=function(e,t){const n=a.call(this,e,t);if(!n)for(let i=0;i<this.length;i+=1)if(Qt(this[i])===e){He("array.includes(...)");break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=i,e.includes=a}}())}}();var c=void 0,l=function(){vt.ensure();const o=hn(524352,()=>{var o=n??t.appendChild(on());new At(o,{pending:()=>{}},t=>{qe({}),r&&(je.c=r),a&&(i.$$events=a),c=e(t,i)||{},Ue()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var i=e[n];if(!l.has(i)){l.add(i);var a=ci(i);for(const e of[t,document]){var r=_i.get(e);void 0===r&&_i.set(e,r=new Map);var o=r.get(i);void 0===o?(e.addEventListener(i,gi,{passive:a}),r.set(i,1)):r.set(i,o+1)}}}};return d(J(di)),ui.add(d),()=>{for(var e of l)for(const n of[t,document]){var i=_i.get(n),a=i.get(e);0==--a?(n.removeEventListener(e,gi),i.delete(e),0===i.size&&_i.delete(n)):i.set(e,a)}ui.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Cn(o,()=>{An(o),t(void 0)}):(An(o),t(void 0))})}();return Ai.set(c,l),c}(nr,{target:l,props:{config:xr,shadow:s}});const u=["click","input","change","keydown","keyup","focusin","focusout"];for(const p of u)s.addEventListener(p,e=>{let t=e.composedPath()[0],n=!1;for(;t&&t!==s;){const i=d(t);if(i){const a=t[i];a&&"function"==typeof a[p]&&(a[p].call(t,e),n=!0)}if(e.cancelBubble)break;t=t.assignedSlot||t.parentNode||t.host}n&&e.stopImmediatePropagation()},!0);window.addEventListener("accessify:reposition",e=>{const t=e.detail?.position;t&&xr&&(xr.position=t,c.replaceSync(ir(xr)))});const f=["https://accessify-dashboard.pages.dev","https://accessify.dev","https://www.accessify.dev","http://localhost:4321","http://localhost:5173","http://localhost:8787","http://127.0.0.1:4321","http://127.0.0.1:5173"];window.addEventListener("message",e=>{if(function(e){if(f.includes(e))return!0;try{const t=new URL(e);if(t.hostname.endsWith(".accessify.dev"))return!0;if(t.hostname.endsWith(".accessify-dashboard.pages.dev"))return!0}catch{}return!1}(e.origin)&&("accessify:preview-config"===e.data?.type&&(Object.assign(xr,e.data.config||{}),c.replaceSync(ir(xr))),"accessify:open"===e.data?.type)){const e=s.querySelector(".accessify-panel"),t=s.querySelector(".accessify-trigger");e&&e.setAttribute("aria-hidden","false"),t&&t.setAttribute("aria-expanded","true")}}),document.body.appendChild(wr),gr(xr).catch(()=>{}),xr.onReady?.()}function Sr(){br&&(function(e){const t=Ai.get(e);t?(Ai.delete(e),t(void 0)):(q&&(ke in e?q?console.warn("%c[svelte] state_proxy_unmount\n%cTried to unmount a state proxy, rather than a component\nhttps://svelte.dev/e/state_proxy_unmount",ze,Le):console.warn("https://svelte.dev/e/state_proxy_unmount"):q?console.warn("%c[svelte] lifecycle_double_unmount\n%cTried to unmount a component that was not mounted\nhttps://svelte.dev/e/lifecycle_double_unmount",ze,Le):console.warn("https://svelte.dev/e/lifecycle_double_unmount")),Promise.resolve())}(br),br=null),wr?.remove(),wr=null}function _r(e,...t){const n={init:e=>kr(e),open:()=>br?.open?.(),close:()=>br?.close?.(),destroy:Sr};n[e]?.(...t)}window.__accessify_exec=_r;const Ar=window.Accessify;Ar?.q&&(Ar.q.forEach(e=>_r(...e)),Ar.q=[]);const Mr=function(e,...t){_r(e,...t)};Mr._loaded=!0,Object.defineProperty(Mr,"config",{get:()=>xr,enumerable:!0}),window.Accessify=Mr,window.A11yPlus=Mr;const Er=document.currentScript;function Cr(){if(!Er)return{};const e=Er.dataset,t={};return e.openrouterKey&&(t.openRouterKey=e.openrouterKey),e.siteKey&&(t.siteKey=e.siteKey),e.proxyUrl&&(t.proxyUrl=e.proxyUrl),e.lang&&(t.lang=e.lang),e.position&&(t.position=e.position),e.theme&&(t.theme=e.theme),e.features&&(t.features=e.features.split(",").map(e=>e.trim()).filter(Boolean)),e.statementUrl&&(t.statementUrl=e.statementUrl),"true"===e.compact&&(t.compact=!0),e.zIndex&&(t.zIndex=parseInt(e.zIndex,10)),t.siteKey&&!t.proxyUrl&&(t.proxyUrl="https://accessify-api.accessify.workers.dev"),t}const Ir=[];function Tr(e,...t){const n={init:e=>kr({...Cr(),...e}),destroy:Sr};n[e]?.(...t)}window.__accessify_exec=Tr;const $r=function(e,...t){$r._loaded?Tr(e,...t):Ir.push([e,...t])};function zr(){$r._loaded=!0,Ir.length>0&&(Ir.forEach(e=>Tr(...e)),Ir.length=0);const e=Cr(),t=Boolean(e.siteKey)||Er?.hasAttribute("data-accessify"),n=Boolean(document.getElementById("accessify-root"));t&&!n&&(window.__accessify_dataConfig=e,kr(e));const i=window.Accessify?.config,a=function(e,...t){Tr(e,...t)};a._loaded=!0,i&&(a.config=i),window.Accessify=a,window.A11yPlus=a}$r.q=Ir,$r._loaded=!1,window.Accessify=$r,window.A11yPlus=$r,"complete"===document.readyState||"interactive"===document.readyState?setTimeout(zr,1):document.addEventListener("DOMContentLoaded",zr);const Lr={light:{colorScheme:"light",pageBg:"#fbf7ef",text:"#1a1a1a",textStrong:"#0d0d0d",link:"#0047b3",linkVisited:"#3d2b85",focusRing:"#0047b3",borderContent:"#888078",inputBg:"#ffffff",inputBorder:"#6f675d",imgFilter:""},dark:{colorScheme:"dark",pageBg:"#101418",text:"#e8e4dc",textStrong:"#ffffff",link:"#7cc8f5",linkVisited:"#b8a0e8",focusRing:"#7cc8f5",borderContent:"#3a4a58",inputBg:"#1a2028",inputBorder:"#4a5a68",imgFilter:"brightness(0.90) contrast(1.06)"},high:{colorScheme:"dark",pageBg:"#000000",text:"#ffffff",textStrong:"#ffffff",link:"#ffff00",linkVisited:"#ffff00",focusRing:"#ffff00",borderContent:"#ffffff",inputBg:"#000000",inputBorder:"#ffffff",imgFilter:"contrast(1.25) brightness(0.95)"}},Hr=":not(#accessify-root):not(#accessify-root *)",Nr="data-a11y-bg",Pr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e="off";const t="accessify-contrast",n="accessify-contrast-mode";function i(e){let n=document.getElementById(t);if("off"===e)return n?.remove(),void function(){const e=document.querySelectorAll(`[${Nr}]`);for(const t of e){const e=t;try{const t=JSON.parse(e.getAttribute(Nr)||"{}");e.style.background=t.bg||"",e.style.backgroundColor=t.bgColor||"",e.style.backgroundImage=t.bgImage||""}catch{}e.removeAttribute(Nr)}}();n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=function(e){const t=Lr[e],n="high"===e;return`\n html {\n color-scheme: ${t.colorScheme} !important;\n }\n html, body {\n background-color: ${t.pageBg} !important;\n }\n body *${Hr} {\n background-color: transparent !important;\n background-image: none !important;\n }\n \n body *${Hr} {\n color: ${t.text} !important;\n }\n body :where(h1, h2, h3, h4, h5, h6, strong, b, th)${Hr} {\n color: ${t.textStrong} !important;\n }\n \n body :where(a)${Hr} {\n color: ${t.link} !important;\n text-decoration: underline !important;\n text-decoration-color: ${t.link} !important;\n ${n?"text-decoration-thickness: 2px !important; text-underline-offset: 3px !important;":""}\n }\n body :where(a:visited)${Hr} {\n color: ${t.linkVisited} !important;\n }\n body :where(a:hover, a:focus)${Hr} {\n opacity: 0.85 !important;\n }\n \n body :where(input, textarea, select)${Hr} {\n background-color: ${t.inputBg} !important;\n color: ${t.text} !important;\n border: 1px solid ${t.inputBorder} !important;\n box-shadow: none !important;\n }\n body :where(button, [role="button"])${Hr} {\n color: ${t.text} !important;\n border-color: ${t.inputBorder} !important;\n ${n?`background-color: ${t.pageBg} !important; border: 2px solid ${t.inputBorder} !important;`:""}\n }\n \n body :where(a, button, input, textarea, select, [tabindex])${Hr}:focus-visible {\n outline: ${n?"3px":"2px"} solid ${t.focusRing} !important;\n outline-offset: 2px !important;\n }\n \n body :where(table, th, td, hr, fieldset)${Hr} {\n border-color: ${t.borderContent} !important;\n }\n `+(t.imgFilter?`\n body :where(img, video, picture)${Hr} {\n filter: ${t.imgFilter} !important;\n }\n `:"")+(n?`\n body :where(::placeholder)${Hr} {\n color: #aaaaaa !important;\n opacity: 1 !important;\n }\n body :where(::selection) {\n background: #ffff00 !important;\n color: #000000 !important;\n }\n body :where(mark)${Hr} {\n background: #ffff00 !important;\n color: #000000 !important;\n }\n `:"")}(e),function(){const e=document.querySelectorAll("body *:not(#accessify-root):not(#accessify-root *)");for(const t of e){const e=t;"IMG"!==e.tagName&&"VIDEO"!==e.tagName&&"PICTURE"!==e.tagName&&"CANVAS"!==e.tagName&&"SVG"!==e.tagName&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&"SELECT"!==e.tagName&&(e.style.background||e.style.backgroundColor||e.style.backgroundImage)&&(e.hasAttribute(Nr)||e.setAttribute(Nr,JSON.stringify({bg:e.style.background,bgColor:e.style.backgroundColor,bgImage:e.style.backgroundImage})),e.style.setProperty("background","transparent","important"),e.style.setProperty("background-color","transparent","important"),e.style.setProperty("background-image","none","important"))}}()}return{id:"contrast",name:()=>"Contrast",description:"Increase contrast for better readability",icon:"contrast",category:"visual",activate:function(){const t=localStorage.getItem(n);e="light"===t||"dark"===t||"high"===t?t:"dark",i(e)},deactivate:function(){e="off",i("off"),localStorage.removeItem(n)},getState:()=>({id:"contrast",enabled:"off"!==e,value:e}),setState:t=>{e="light"===t||"dark"===t||"high"===t?t:"off",i(e),"off"===e?localStorage.removeItem(n):localStorage.setItem(n,e)}}}},Symbol.toStringTag,{value:"Module"})),Or=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=100,t=null,n=!1;const i="accessify-text-size-styles",a="accessify-text-size",r="data-accessify-text-size-processed",o="data-accessify-original-inline-font-size",s="data-accessify-original-computed-font-size",c=new Set(["SCRIPT","STYLE","NOSCRIPT","IFRAME","SVG","PATH","G","DEFS","MASK","BR","META","LINK","HEAD"]);function l(e){if("accessify-root"===e.id||e.closest("#accessify-root"))return!1;if(c.has(e.tagName))return!1;const t=window.getComputedStyle(e),n=parseFloat(t.fontSize);return!(!Number.isFinite(n)||n<=0)&&"none"!==t.display&&"hidden"!==t.visibility&&(new Set(["INPUT","TEXTAREA","SELECT","BUTTON","LABEL","OPTION"]).has(e.tagName)||function(e){return Array.from(e.childNodes).some(e=>e.nodeType===Node.TEXT_NODE&&Boolean(e.textContent?.trim()))}(e))}function d(e){const t=e.getAttribute(o);null!==t&&(t?e.style.fontSize=t:e.style.removeProperty("font-size"),e.removeAttribute(r),e.removeAttribute(o),e.removeAttribute(s))}function u(){if(n||100===e)return;n=!0;const t=()=>{n=!1,f(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>t()):window.setTimeout(t,0)}function f(e){if(100===e)return t?.disconnect(),t=null,n=!1,document.getElementById(i)?.remove(),void document.querySelectorAll(`[${r}]`).forEach(e=>{d(e)});!function(e){let t=document.getElementById(i);t||(t=document.createElement("style"),t.id=i,document.head.appendChild(t)),t.textContent=`/* accessify text-size: ${e}% */`}(e);const a=e/100,c=new Set(document.body?[document.body,...Array.from(document.body.querySelectorAll("*"))].filter(l):[]);document.querySelectorAll(`[${r}]`).forEach(e=>{c.has(e)||d(e)}),c.forEach(e=>{!function(e,t){!function(e){if(e.hasAttribute(o)||e.setAttribute(o,e.style.fontSize||""),!e.hasAttribute(s)){const t=parseFloat(window.getComputedStyle(e).fontSize);Number.isFinite(t)&&t>0&&e.setAttribute(s,String(t))}}(e);const n=parseFloat(e.getAttribute(s)||"");if(!Number.isFinite(n)||n<=0)return;const i=Math.round(n*t*100)/100;e.style.setProperty("font-size",`${i}px`,"important"),e.setAttribute(r,"true")}(e,a)}),!t&&document.body&&(t=new MutationObserver(e=>{for(const t of e)if("childList"===t.type&&(t.addedNodes.length>0||t.removedNodes.length>0))return void u()}),t.observe(document.body,{childList:!0,subtree:!0}))}function p(e){return Math.min(200,Math.max(75,5*Math.round(e/5)))}return{id:"text-size",name:()=>"Text Size",description:"Adjust text size from 100% to 200%",icon:"text-size",category:"visual",activate:function(){const t=localStorage.getItem(a);e=t?p(parseInt(t,10)):150,f(e),localStorage.setItem(a,String(e))},deactivate:function(){e=100,f(100),localStorage.removeItem(a)},getState:()=>({id:"text-size",enabled:100!==e,value:e}),setState:t=>{e=p(t),f(e),localStorage.setItem(a,String(e))}}}},Symbol.toStringTag,{value:"Module"})),Gr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-keyboard-nav",n="accessify-skip-link",i="accessify-keyboard-help",a="accessify-keyboard-nav";let r=-1,o=-1,s=[],c=[],l=!1,d=null,u=null,f=null,p=null;const h=()=>w();function g(){return da()}function m(){s=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function v(){c=Array.from(document.querySelectorAll(['header, [role="banner"]','nav, [role="navigation"]','main, [role="main"]','aside, [role="complementary"]','[role="search"]','[role="form"]','footer, [role="contentinfo"]','[role="region"][aria-label]'].join(", "))).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function y(){document.querySelectorAll(["a[href]","button","input","select","textarea",'[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="tab"]','[role="menuitem"]','[role="switch"]','[contenteditable="true"]',"summary"].join(", ")).forEach(e=>{e.hasAttribute("tabindex")||function(e){const t=e.tagName.toLowerCase();return!!["a","button","input","select","textarea"].includes(t)}(e)||(e.setAttribute("tabindex","0"),e.dataset.accessifyTabindex="true")})}function b(t){if(e){if("Escape"===t.key&&l){const e=document.getElementById(i);return e?.remove(),void(l=!1)}if(t.altKey)switch(t.key.toLowerCase()){case"h":t.preventDefault(),function(){if(m(),0===s.length)return;r=(r+1)%s.length;const e=s[r];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"l":t.preventDefault(),function(){if(v(),0===c.length)return;o=(o+1)%c.length;const e=c[o];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"k":t.preventDefault(),function(){const e=document.getElementById(i);if(e)return e.remove(),void(l=!1);l=!0;const t=document.createElement("div");t.id=i,t.setAttribute("role","dialog"),t.setAttribute("aria-label",fa("keyboard.shortcuts",g())),t.setAttribute("aria-modal","true"),t.innerHTML=`\n <div style="\n position: fixed; inset: 0; background: rgba(0,0,0,0.6);\n display: flex; align-items: center; justify-content: center;\n z-index: 2147483647;\n ">\n <div style="\n background: #fff; color: #222; border-radius: 12px; padding: 32px;\n max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto;\n box-shadow: 0 8px 32px rgba(0,0,0,0.3); font-family: system-ui, sans-serif;\n " role="document">\n <h2 style="margin: 0 0 16px; font-size: 20px; color: #1a73e8;">${fa("keyboard.shortcuts",g())}</h2>\n <table style="width: 100%; border-collapse: collapse; font-size: 14px;">\n <thead>\n <tr style="border-bottom: 2px solid #e0e0e0;">\n <th style="text-align: left; padding: 8px 12px;">${fa("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${fa("keyboard.action",g())}</th>\n </tr>\n </thead>\n <tbody>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + H</kbd></td>\n <td style="padding: 8px 12px;">${fa("keyboard.nextHeading",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + L</kbd></td>\n <td style="padding: 8px 12px;">${fa("keyboard.nextLandmark",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + K</kbd></td>\n <td style="padding: 8px 12px;">${fa("keyboard.toggleHelp",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Tab</kbd></td>\n <td style="padding: 8px 12px;">${fa("keyboard.nextFocusable",g())}</td>\n </tr>\n <tr>\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Escape</kbd></td>\n <td style="padding: 8px 12px;">${fa("keyboard.closeOverlay",g())}</td>\n </tr>\n </tbody>\n </table>\n <button style="\n margin-top: 20px; padding: 8px 24px; background: #1a73e8; color: #fff;\n border: none; border-radius: 6px; cursor: pointer; font-size: 14px;\n " id="accessify-keyboard-help-close">${fa("widget.close",g())}</button>\n </div>\n </div>\n `,document.body.appendChild(t);const n=document.getElementById("accessify-keyboard-help-close");n?.focus(),n?.addEventListener("click",()=>{t.remove(),l=!1})}()}}}function w(){e&&(u&&clearTimeout(u),u=setTimeout(()=>{m(),v(),r=-1,o=-1,y()},300))}function x(){e=!0,r=-1,o=-1,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify keyboard navigation */\n #${n} {\n position: fixed;\n top: -100px;\n left: 50%;\n transform: translateX(-50%);\n background: #1a73e8;\n color: #fff;\n padding: 12px 24px;\n border-radius: 0 0 8px 8px;\n font-size: 16px;\n font-family: system-ui, sans-serif;\n text-decoration: none;\n z-index: 2147483647;\n transition: top 0.2s ease;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n }\n #${n}:focus {\n top: 0;\n outline: 3px solid #ffdd00;\n outline-offset: 2px;\n }\n `}(),function(){if(function(){const e=document.querySelectorAll('a[href^="#"]');for(const t of e){const e=t.textContent?.toLowerCase()||"";if(e.includes("skip")||e.includes("main content")||e.includes("navigation"))return!0}return!1}())return;const e=document.querySelector("main")||document.getElementById("content")||document.getElementById("main-content")||document.querySelector('[role="main"]')||document.querySelector("h1");if(!e)return;e.id||(e.id="accessify-main-content");const t=document.createElement("a");t.id=n,t.href=`#${e.id}`,t.textContent=fa("keyboard.skipToContent",g()),t.addEventListener("click",t=>{t.preventDefault(),e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"start"})}),document.body.insertBefore(t,document.body.firstChild)}(),y(),document.addEventListener("keydown",b),function(){if(d)return;d=new MutationObserver(()=>w());const e=document.querySelector("main")||document.body;d.observe(e,{childList:!0,subtree:!0})}(),f||(f=history.pushState,history.pushState=function(...e){f.apply(this,e),w()}),p||(p=history.replaceState,history.replaceState=function(...e){p.apply(this,e),w()}),window.addEventListener("popstate",h),localStorage.setItem(a,"true")}function k(){e=!1,l=!1,d?.disconnect(),d=null,u&&(clearTimeout(u),u=null),f&&(history.pushState=f,f=null),p&&(history.replaceState=p,p=null),window.removeEventListener("popstate",h),document.removeEventListener("keydown",b),function(){const e=document.getElementById(n);e?.remove()}(),document.querySelectorAll('[data-accessify-tabindex="true"]').forEach(e=>{e.removeAttribute("tabindex"),delete e.dataset.accessifyTabindex}),function(){const e=document.getElementById(t);e?.remove()}();const r=document.getElementById(i);r?.remove(),localStorage.removeItem(a)}return{id:"keyboard-nav",name:()=>"Keyboard Navigation",description:"Enhanced keyboard navigation with skip links, heading/landmark jumping, and shortcut help",icon:"keyboard-nav",category:"motor",activate:x,deactivate:k,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?x():k()}}}},Symbol.toStringTag,{value:"Module"})),Br=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-link-highlight",n="accessify-link-highlight";function i(){e=!0,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify link highlighting */\n a[href] {\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n text-decoration-color: #1a73e8 !important;\n background-color: rgba(26, 115, 232, 0.1) !important;\n padding: 2px 4px !important;\n border-radius: 2px !important;\n transition: background-color 0.15s ease !important;\n }\n\n a[href]:hover {\n background-color: rgba(26, 115, 232, 0.25) !important;\n }\n\n a[href]:visited {\n text-decoration-color: #681da8 !important;\n background-color: rgba(104, 29, 168, 0.1) !important;\n }\n\n a[href]:visited:hover {\n background-color: rgba(104, 29, 168, 0.25) !important;\n }\n\n /* External link indicator */\n a[href^="http"]:not([href*="${"undefined"!=typeof window?window.location.hostname:""}"]):after {\n content: " \\2197";\n font-size: 0.8em;\n vertical-align: super;\n }\n `}(),localStorage.setItem(n,"true")}function a(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),localStorage.removeItem(n)}return{id:"link-highlight",name:()=>"Link Highlight",description:"Highlight all links with thick underlines and background colors",icon:"link-highlight",category:"visual",activate:i,deactivate:a,getState:()=>({id:"link-highlight",enabled:e}),setState:e=>{e.enabled?i():a()}}}},Symbol.toStringTag,{value:"Module"})),jr={height:8,opacity:.3},Fr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,i={...jr};const a="accessify-reading-guide";function r(e){n=e.clientY,c()}function o(e){e.touches.length>0&&(n=e.touches[0].clientY,c())}function s(i){e&&t&&("ArrowUp"===i.key?(i.preventDefault(),n=Math.max(0,n-10),c()):"ArrowDown"===i.key&&(i.preventDefault(),n=Math.min(window.innerHeight,n+10),c()))}function c(){t&&(t.style.top=n-i.height/2+"px")}return{id:"reading-guide",name:()=>"Reading Guide",description:"Horizontal ruler that follows your cursor for easier reading",icon:"reading-guide",category:"cognitive",activate:function(){e=!0;const l=localStorage.getItem(a);if(l)try{const e=JSON.parse(l);i={height:Math.min(60,Math.max(2,e.height??jr.height)),opacity:Math.min(1,Math.max(.1,e.opacity??jr.opacity))}}catch{i={...jr}}t=function(){const e=document.createElement("div");return e.id="accessify-reading-guide",e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"fixed",left:"0",width:"100%",height:`${i.height}px`,backgroundColor:`rgba(255, 255, 0, ${i.opacity})`,pointerEvents:"none",zIndex:"2147483646",top:"50%",transition:"top 0.05s linear",boxShadow:"0 0 4px rgba(0,0,0,0.2)"}),e}(),document.documentElement.appendChild(t),n=window.innerHeight/2,c(),document.addEventListener("mousemove",r,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t&&(t.remove(),t=null),localStorage.removeItem(a)},getState:()=>({id:"reading-guide",enabled:e,value:{...i}}),setState:e=>{i={height:Math.min(60,Math.max(2,e.height??i.height)),opacity:Math.min(1,Math.max(.1,e.opacity??i.opacity))},localStorage.setItem(a,JSON.stringify(i)),t&&(t.style.height=`${i.height}px`,t.style.backgroundColor=`rgba(255, 255, 0, ${i.opacity})`,c())}}}},Symbol.toStringTag,{value:"Module"})),Dr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=null,i=120;function a(e){if(!t||!n)return;const a=i/2,r=Math.max(0,e-a),o=Math.max(0,window.innerHeight-e-a);t.style.height=r+"px",n.style.height=o+"px"}function r(e){a(e.clientY)}function o(e){e.touches.length>0&&a(e.touches[0].clientY)}function s(e){if(t&&n&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const e=document.activeElement;if(!e)return;const a=e.getBoundingClientRect(),r=a.top+a.height/2,o=i/2;t.style.height=Math.max(0,r-o)+"px",n.style.height=Math.max(0,window.innerHeight-r-o)+"px"}}return{id:"reading-mask",name:()=>"Reading Mask",description:"Focus window that dims surrounding content",icon:"reading-mask",category:"motor",activate:function(){e=!0,function(){t=document.createElement("div"),n=document.createElement("div");const e="\n position: fixed; left: 0; right: 0; z-index: 999990;\n background: rgba(0, 0, 0, 0.65); pointer-events: none;\n transition: top 80ms ease, bottom 80ms ease, height 80ms ease;\n ";t.setAttribute("style",e+"top: 0;"),t.setAttribute("aria-hidden","true"),t.id="accessify-mask-top",n.setAttribute("style",e+"bottom: 0;"),n.setAttribute("aria-hidden","true"),n.id="accessify-mask-bottom",document.body.appendChild(t),document.body.appendChild(n)}(),document.addEventListener("mousemove",r,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t?.remove(),n?.remove(),t=null,n=null},getState:()=>({id:"reading-mask",enabled:e,value:i}),setState:e=>{i=Math.min(400,Math.max(60,e))}}}},Symbol.toStringTag,{value:"Module"})),Wr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="a11y-stop-animations",n="accessify-animation-stop";let i=null,a=null,r=null,o=null,s=null,c=[],l=new Map;const d=new Set(["transform","scale","rotate","translate","filter","backdropFilter","backdrop-filter","webkitTransform","webkitFilter","-webkit-transform","-webkit-filter","offset","easing","composite"]);function u(e){try{const t=e.effect?.target;if(!t)return!1;let n=t;for(;n;){if("accessify-root"===n.id)return!0;const e=n.parentNode||n.host;if(e===n)break;n=e}}catch{}return!1}function f(){try{const e=document.getAnimations?.();if(!e)return;for(const t of e)if(!u(t))try{t.finish()}catch{try{t.cancel()}catch{}}}catch{}}function p(){const e=window.innerHeight,t=1.5*e,n=document.querySelectorAll("*");for(const i of n){if("SCRIPT"===i.tagName||"STYLE"===i.tagName||"NOSCRIPT"===i.tagName||"META"===i.tagName||"LINK"===i.tagName)continue;if(i.closest("#accessify-root")||i.closest("accessify-widget"))continue;if(i.dataset.a11yOrigStyle)continue;const n=window.getComputedStyle(i);if("none"===n.display)continue;const a=i.getBoundingClientRect();if(a.top>e+t)continue;if(a.bottom<-t)continue;const r=i.style;let o=!1;const s={},c=parseFloat(n.opacity);c<.1&&""!==r.opacity?(s.opacity=r.opacity,i.style.opacity="1",o=!0):c<.1&&i.hasAttribute("data-framer-appear-id")&&(s.opacity=r.opacity||"",i.style.opacity="1",o=!0),r.transform&&/translate[XY]\([^0]/.test(r.transform)&&(s.transform=r.transform,i.style.transform="none",o=!0),"hidden"===r.visibility&&(s.visibility=r.visibility,i.style.visibility="visible",o=!0),r.clipPath&&"none"!==r.clipPath&&(s.clipPath=r.clipPath,i.style.clipPath="none",o=!0),o&&(i.dataset.a11yOrigStyle=JSON.stringify(s))}}function h(){document.querySelectorAll("[style]").forEach(e=>{if(e.closest("#accessify-root")||e.closest("accessify-widget"))return;if(e.dataset.a11yFrozenStyle)return;const t=e.style;(t.transform||t.opacity)&&(e.dataset.a11yFrozenStyle=JSON.stringify({transform:t.transform||"",opacity:t.opacity||""}))}),r||(r=()=>{e&&document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yFrozenStyle||"{}");t.transform&&e.style.transform!==t.transform&&(e.style.transform=t.transform)}catch{}})},window.addEventListener("scroll",r,{passive:!0,capture:!0}))}function g(){document.querySelectorAll("video").forEach(e=>{e.paused||(e.dataset.a11yPaused="true",e.pause(),c.push(e))})}function m(e){if(!(e.currentSrc||e.src||"").toLowerCase().match(/\.gif(\?|$)/i))return;if(l.has(e))return;const t=()=>{try{const t=e.naturalWidth||e.width,n=e.naturalHeight||e.height;if(0===t||0===n)return;const i=document.createElement("canvas");i.width=t,i.height=n;const a=i.getContext("2d");if(!a)return;a.drawImage(e,0,0),l.set(e,e.src),e.src=i.toDataURL("image/png")}catch{}};e.complete&&e.naturalWidth>0?t():e.addEventListener("load",t,{once:!0})}function v(){document.querySelectorAll("img").forEach(m)}function y(){document.querySelectorAll("svg").forEach(e=>{try{e.pauseAnimations?.()}catch{}})}function b(){if(!e){e=!0,s||(s=Element.prototype.animate,Element.prototype.animate=function(t,n){if(!e)return s.call(this,t,n);try{let e=this;for(;e;){if("accessify-root"===e.id)return s.call(this,t,n);const i=e.parentNode||e.host;if(i===e)break;e=i}}catch{}const i=function(e){if(!e)return!1;try{if(Array.isArray(e)){for(const t of e){if(!t||"object"!=typeof t)return!1;for(const e of Object.keys(t))if(!d.has(e))return!1}return!0}for(const t of Object.keys(e))if(!d.has(t))return!1;return!0}catch{return!1}}(t);let a;"number"==typeof n?a={duration:.001,fill:"forwards"}:(a={...n||{},duration:.001,delay:0,iterations:1,fill:"forwards"},delete a.iterationStart,delete a.endDelay);const r=s.call(this,t,a);try{i?r.cancel():r.finish()}catch{}return r}),function(){if(document.getElementById(t))return;const e=document.createElement("style");e.id=t,e.textContent="\n *, *::before, *::after {\n animation-duration: 0.001ms !important;\n animation-iteration-count: 1 !important;\n animation-delay: 0s !important;\n animation-fill-mode: forwards !important;\n transition-duration: 0.001ms !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n animation-timeline: auto !important;\n scroll-timeline: none !important;\n }\n /* Neutralize interaction transforms (hover zoom, click scale, focus\n lift). Without this, CSS like `.card:hover { transform: scale(1.05) }`\n still visibly changes the element — just instantly. Users who\n disable animations expect NO motion including the end-state. */\n *:not(#accessify-root):not(#accessify-root *):hover,\n *:not(#accessify-root):not(#accessify-root *):focus,\n *:not(#accessify-root):not(#accessify-root *):focus-within,\n *:not(#accessify-root):not(#accessify-root *):focus-visible,\n *:not(#accessify-root):not(#accessify-root *):active {\n transform: none !important;\n scale: none !important;\n rotate: none !important;\n translate: none !important;\n }\n ",document.head.appendChild(e)}(),f(),function(){const e=window.gsap;if(e?.globalTimeline)try{e.globalTimeline.timeScale(0),window._a11yGsapPatched=!0}catch{}}(),p(),h(),g(),o||(o=HTMLVideoElement.prototype.play,HTMLVideoElement.prototype.play=function(){return e?Promise.resolve():o.call(this)}),v(),y(),document.querySelectorAll("marquee").forEach(e=>{try{e.stop?.()}catch{}}),i||(i=new MutationObserver(t=>{if(!e)return;let n=!1;for(const e of t)if(e.addedNodes.length>0){n=!0;break}n&&(f(),p(),g(),v(),y())}),i.observe(document.body,{childList:!0,subtree:!0})),a||(a=setInterval(()=>{e&&f()},500));for(const t of[50,200,500,1e3,2e3,4e3])setTimeout(()=>{e&&(f(),p(),h(),g(),v())},t);localStorage.setItem(n,"true")}}function w(){e=!1,a&&(clearInterval(a),a=null),i?.disconnect(),i=null,s&&(Element.prototype.animate=s,s=null),r&&(window.removeEventListener("scroll",r,!0),r=null),document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{delete e.dataset.a11yFrozenStyle}),function(){const e=window.gsap;if(window._a11yGsapPatched&&e?.globalTimeline)try{e.globalTimeline.timeScale(1),delete window._a11yGsapPatched}catch{}}(),document.querySelectorAll("[data-a11y-orig-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yOrigStyle||"{}");for(const[n,i]of Object.entries(t))""===i?e.style.removeProperty(n):e.style[n]=i}catch{}delete e.dataset.a11yOrigStyle}),document.querySelectorAll("marquee").forEach(e=>{try{e.start?.()}catch{}}),document.querySelectorAll("svg").forEach(e=>{try{e.unpauseAnimations?.()}catch{}}),function(){for(const[e,t]of l)try{e.src=t}catch{}l.clear()}(),o&&(HTMLVideoElement.prototype.play=o,o=null),document.querySelectorAll("video[data-a11y-paused]").forEach(e=>{try{e.play()}catch{}delete e.dataset.a11yPaused}),c=[],document.getElementById(t)?.remove(),localStorage.removeItem(n)}return{id:"animation-stop",name:()=>"Stop Animations",description:"Pause all animations, transitions, and auto-playing videos (WCAG 2.3.1)",icon:"animation-stop",category:"visual",activate:b,deactivate:w,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?b():w()}}}},Symbol.toStringTag,{value:"Module"})),Kr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,i=null;function a(e){return/url\s*\(/.test(e)&&!/gradient\s*\(/.test(e)}return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r)),r.textContent='\n /* Standard image elements */\n img, picture, video, canvas,\n [role="img"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* SVGs that are decorative images (not icons or UI elements) */\n svg:not([aria-hidden="true"]):not([width]):not([class*="icon"]) {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* Lazy-load images that haven\'t loaded yet */\n img[data-src], img[data-lazy-src], img[data-original],\n img[loading="lazy"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n ',function(){const e=document.querySelectorAll('[style*="background-image"], [style*="background:"], figure, [class*="image"], [class*="photo"], [class*="hero"], [class*="banner"], [data-framer-background-image-wrapper]');for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&a(e.backgroundImage)&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important"))}}(),i||(i=new MutationObserver(t=>{if(e)for(const e of t)for(const t of e.addedNodes){if(!(t instanceof HTMLElement))continue;if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&a(e.backgroundImage)&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll('img, picture, video, [role="img"], [style*="background-image"]').forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==t.backgroundImage&&a(t.backgroundImage)&&(n.set(e,e.style.backgroundImage),e.style.setProperty("background-image","none","important"))})}}),i.observe(document.body,{childList:!0,subtree:!0}))},deactivate:function(){e=!1,i?.disconnect(),i=null,function(){for(const[e,t]of n)try{e.style.backgroundImage=t}catch{}n.clear()}(),document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function Rr(e){return`data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${e}" viewBox="0 0 ${e} ${e}">\n <defs>\n <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">\n <feDropShadow dx="1" dy="1" stdDeviation="1" flood-color="#000" flood-opacity="0.5"/>\n </filter>\n </defs>\n <g filter="url(#shadow)">\n <path d="M ${.15*e} ${.05*e} L ${.15*e} ${.75*e} L ${.35*e} ${.6*e} L ${.55*e} ${.9*e} L ${.65*e} ${.85*e} L ${.45*e} ${.55*e} L ${.7*e} ${.5*e} Z"\n fill="white" stroke="black" stroke-width="${.04*e}" stroke-linejoin="round"/>\n </g>\n </svg>`)}`}const qr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",i="accessify-big-cursor",a={48:Rr(48),64:Rr(64)};function r(e){let t=document.getElementById(n);t||(t=document.createElement("style"),t.id=n,document.head.appendChild(t)),t.textContent=function(e){const t=parseInt(e,10),n=Math.round(.15*t);return`\n /* accessify big cursor */\n html, html * {\n cursor: url('${a[e]}') ${n} ${n}, auto !important;\n }\n html a, html a *, html button, html button *,\n html input[type="submit"], html input[type="button"],\n html [role="button"], html [role="button"] * {\n cursor: url('${a[e]}') ${n} ${n}, pointer !important;\n }\n `}(e)}return{id:"big-cursor",name:()=>"Big Cursor",description:"Enlarge the mouse cursor for easier visibility",icon:"big-cursor",category:"motor",activate:function(){e=!0;const n=localStorage.getItem(i);t="64"===n?"64":"48",r(t)},deactivate:function(){e=!1,function(){const e=document.getElementById(n);e?.remove()}(),localStorage.removeItem(i)},getState:()=>({id:"big-cursor",enabled:e,value:t}),setState:n=>{t="64"===n?"64":"48",e&&r(t),localStorage.setItem(i,t)}}}},Symbol.toStringTag,{value:"Module"})),Ur=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";let i=null,a=null,r=null,o=null;const s=()=>p();let c="";function l(){return da()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",fa("pageStructure.title",l()));const e=function(){const e=[];return document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.textContent?.trim()||"";n&&e.push({tag:t.tagName.toLowerCase(),text:n,el:t})}),e}(),i=function(){const e=[];return document.querySelectorAll(["main","nav","aside","header","footer","section[aria-label]","section[aria-labelledby]",'[role="main"]','[role="navigation"]','[role="complementary"]','[role="banner"]','[role="contentinfo"]','[role="search"]'].join(",")).forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.getAttribute("role")||t.tagName.toLowerCase(),i=t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||n;e.push({role:n,label:i,el:t})}),e}(),a={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let r=`\n <style>\n #${n} {\n position: fixed; top: 50%; left: 50%;\n transform: translate(-50%, -50%);\n z-index: 999998;\n background: #fff; color: #1a1a1a;\n border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2);\n padding: 24px; width: 400px; max-width: calc(100vw - 32px); max-height: 80vh;\n overflow-y: auto; font-family: system-ui, sans-serif;\n font-size: 14px; line-height: 1.5;\n }\n #${n} h3 { margin: 0 0 12px; font-size: 16px; }\n #${n} .ps-section { margin-bottom: 16px; }\n #${n} .ps-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 6px; }\n #${n} .ps-item {\n display: block; width: 100%; text-align: left;\n padding: 6px 8px; border: none; background: none;\n cursor: pointer; border-radius: 6px; font-size: 13px;\n color: #1a1a1a; font-family: inherit;\n }\n #${n} .ps-item:hover { background: #f0f0f2; }\n #${n} .ps-item:focus-visible { outline: 2px solid #0055CC; outline-offset: 1px; }\n #${n} .ps-tag { color: #888; font-size: 11px; margin-right: 6px; }\n #${n} .ps-close {\n position: absolute; top: 12px; right: 12px;\n background: none; border: none; cursor: pointer;\n font-size: 18px; color: #888; padding: 4px 8px; border-radius: 4px;\n }\n #${n} .ps-close:hover { background: #f0f0f2; }\n @media (prefers-color-scheme: dark) {\n #${n} { background: #1a1a1a; color: #f0f0f0; }\n #${n} .ps-item { color: #f0f0f0; }\n #${n} .ps-item:hover { background: #2a2a2e; }\n #${n} .ps-close { color: #aaa; }\n #${n} .ps-close:hover { background: #2a2a2e; }\n }\n </style>\n <button class="ps-close" aria-label="${fa("widget.close",l())}">×</button>\n <h3>${fa("pageStructure.title",l())}</h3>\n `;e.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${fa("pageStructure.headings",l())}</div>`,e.forEach((e,t)=>{r+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${a[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${u(e.text.slice(0,80))}\n </button>`}),r+="</div>"),i.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${fa("pageStructure.landmarks",l())}</div>`,i.forEach((e,t)=>{r+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${u(e.role)}</span>${u(e.label.slice(0,60))}\n </button>`}),r+="</div>"),0===e.length&&0===i.length&&(r+=`<p style="color:#888">${fa("pageStructure.empty",l())}</p>`),t.innerHTML=r,t.addEventListener("click",t=>{const n=t.target.closest(".ps-item");if(n){const t=n.dataset.type,a=parseInt(n.dataset.index||"0",10);let r;"heading"===t?r=e[a]?.el:"landmark"===t&&(r=i[a]?.el),r&&(r.scrollIntoView({behavior:"smooth",block:"center"}),r.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&h()}),document.body.appendChild(t);const o=t.querySelector(".ps-item, .ps-close");o?.focus()}function u(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function f(){const e=document.querySelectorAll("h1, h2, h3, h4, h5, h6");let t="";return e.forEach(e=>{t+=e.textContent?.trim().slice(0,20)||""}),t}function p(){e&&t&&(a&&clearTimeout(a),a=setTimeout(()=>{const e=f();e!==c&&(c=e,t?.remove(),d())},300))}function h(){e=!1,i?.disconnect(),i=null,a&&(clearTimeout(a),a=null),r&&(history.pushState=r,r=null),o&&(history.replaceState=o,o=null),window.removeEventListener("popstate",s),t?.remove(),t=null}return{id:"page-structure",name:()=>"Page Structure",description:"View headings and landmarks for quick navigation",icon:"page-structure",category:"motor",activate:function(){e=!0,c=f(),d(),function(){if(i)return;i=new MutationObserver(()=>p());const e=document.querySelector("main")||document.body;i.observe(e,{childList:!0,subtree:!0})}(),r||(r=history.pushState,history.pushState=function(...e){r.apply(this,e),p()}),o||(o=history.replaceState,history.replaceState=function(...e){o.apply(this,e),p()}),window.addEventListener("popstate",s)},deactivate:h,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),Vr={speed:1},Yr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Vr},n=null,i=null,a=!1,r=!1,o=!0,s=[],c=0,l=null,d="en";const u="accessify-tts",f="accessify-tts-controls",p="accessify-tts-styles",h="accessify-tts-highlight";function g(){speechSynthesis.cancel(),a=!1,r=!1,s=[],c=0,y(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,y(),o.classList.add(h),i=o);const u=function(e){const t=e.match(/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(!t)return[e];const n=[];let i="";for(const a of t){const e=a.trim();e&&(i+=(i?" ":"")+e,(i.length>80||/[.!?]$/.test(i))&&(n.push(i),i=""))}return i.trim()&&n.push(i.trim()),n.length>0?n:[e]}(e).slice(0,50);s=u.map(e=>{const n=new SpeechSynthesisUtterance(e);return n.rate=t.speed,n.lang=d,l&&(n.voice=l),n}),c=0,a=!0,r=!1,x(),v()}function v(){if(c>=s.length)return a=!1,r=!1,y(),void x();const e=s[c];let t=null,n=!1;function i(){n||(n=!0,t&&(clearTimeout(t),t=null))}t=setTimeout(()=>{n||(i(),speechSynthesis.cancel(),c++,c<s.length&&a?setTimeout(()=>v(),100):(a=!1,r=!1,y(),x()))},2e4),e.onend=()=>{i(),c++,c<s.length&&a?setTimeout(()=>v(),50):(a=!1,r=!1,y(),x())},e.onerror=e=>{i(),"interrupted"!==e.error&&"canceled"!==e.error&&(console.warn("[Accessify TTS] Speech error:",e.error),c++,c<s.length&&a)?setTimeout(()=>v(),100):(a=!1,r=!1,y(),x())},speechSynthesis.speak(e)}function y(){i&&(i.classList.remove(h),i=null),document.querySelectorAll(`.${h}`).forEach(e=>e.classList.remove(h))}function b(t){if(!e||!o)return;const i=t.target;if(!i)return;if(n?.contains(i))return;const a=document.getElementById("accessify-root");if(a&&(a===i||a.contains(i)))return;const r=i.tagName;if("A"===r||"BUTTON"===r||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r||i.closest('a, button, input, select, textarea, [role="button"]'))return;t.preventDefault();const s=function(e){if(w(e).trim().length>0)return e;let t=e;for(;t&&t!==document.body;){if(w(t).trim().length>0)return t;t=t.parentElement}return null}(i);if(!s)return;const c=w(s);c.trim()&&m(c,s)}function w(e){return(e.innerText||e.textContent||"").trim()}function x(){if(!n)return;const e=n.querySelector(".accessify-tts-play"),t=n.querySelector(".accessify-tts-hint");e&&(a&&!r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="5" y="3" width="4" height="18"/><rect x="15" y="3" width="4" height="18"/></svg>',e.setAttribute("aria-label","Pause"),e.title="Pause"):a&&r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Resume"),e.title="Resume"):(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Play / Pause"),e.title="Play / Pause")),t&&(t.textContent=a&&!r?"Speaking...":r?"Paused":"Click any text to read it aloud")}function k(){localStorage.setItem(u,JSON.stringify({speed:t.speed}))}return{id:"tts",name:()=>"Text-to-Speech",description:"Click any text to hear it read aloud with adjustable speed",icon:"tts",category:"cognitive",activate:function(){e||(e=!0,function(){const e=localStorage.getItem(u);if(e)try{const n=JSON.parse(e);t.speed=Math.min(2,Math.max(.5,n.speed??Vr.speed))}catch{t={...Vr}}}(),d=function(){const e=document.documentElement.lang;if(e)return e.toLowerCase();const t=document.querySelector('meta[http-equiv="content-language"]');return t?.content?t.content.toLowerCase():"en"}(),function(e=3e3){return new Promise(t=>{if(speechSynthesis.getVoices().length>0)return void t();let n=!1;const i=()=>{n||(n=!0,t())};speechSynthesis.addEventListener("voiceschanged",i,{once:!0}),setTimeout(i,e)})}().then(()=>{l=function(e){const t=speechSynthesis.getVoices();if(0===t.length)return null;const n=e.split("-")[0];if("de"===n){const e=t.find(e=>e.lang.toLowerCase().startsWith("de-de")&&!1===e.localService);if(e)return e;const n=t.find(e=>e.lang.toLowerCase().startsWith("de-de"));if(n)return n;const i=t.find(e=>e.lang.toLowerCase().startsWith("de"));if(i)return i}return t.find(t=>t.lang.toLowerCase()===e)||t.find(e=>e.lang.toLowerCase().startsWith(n))||t[0]||null}(d)}),function(){let e=document.getElementById(p);e||(e=document.createElement("style"),e.id=p,document.head.appendChild(e)),e.textContent=`\n /* accessify TTS styles */\n .${h} {\n background-color: rgba(78, 168, 222, 0.15) !important;\n outline: 2px solid rgba(78, 168, 222, 0.5) !important;\n outline-offset: 2px !important;\n border-radius: 3px !important;\n transition: background-color 0.2s ease, outline-color 0.2s ease !important;\n }\n\n #${f} .accessify-tts-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n padding: 0;\n margin: 0;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 6px;\n background: rgba(255,255,255,0.08);\n color: #f0f0f0;\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n line-height: 1;\n }\n\n #${f} .accessify-tts-btn:hover {\n background: rgba(255,255,255,0.18);\n border-color: rgba(255,255,255,0.3);\n }\n\n #${f} .accessify-tts-btn:focus-visible {\n outline: 2px solid #4ea8de;\n outline-offset: 1px;\n }\n\n #${f} .accessify-tts-btn:active {\n background: rgba(255,255,255,0.25);\n }\n\n @media (pointer: coarse) {\n #${f} .accessify-tts-btn {\n width: 40px;\n height: 40px;\n }\n #${f} .accessify-tts-hint {\n display: none;\n }\n }\n `}(),n=function(){const e=document.createElement("div");e.id=f,e.setAttribute("role","toolbar"),e.setAttribute("aria-label","Text-to-Speech controls"),Object.assign(e.style,{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",zIndex:"2147483646",display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"center",gap:"6px",padding:"6px 14px",maxWidth:"100vw",boxSizing:"border-box",background:"#1a1a2e",color:"#f0f0f0",borderRadius:"0 0 10px 10px",boxShadow:"0 4px 16px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",lineHeight:"1",userSelect:"none",transition:"opacity 0.2s ease"});const n=document.createElement("button");n.className="accessify-tts-btn accessify-tts-play",n.setAttribute("aria-label","Play / Pause"),n.title="Play / Pause",n.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',n.addEventListener("click",()=>{a&&a&&(r?(speechSynthesis.resume(),r=!1):(speechSynthesis.pause(),r=!0),x())});const i=document.createElement("button");i.className="accessify-tts-btn accessify-tts-stop",i.setAttribute("aria-label","Stop"),i.title="Stop",i.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="2"/></svg>',i.addEventListener("click",()=>{g()});const o=document.createElement("div");Object.assign(o.style,{display:"flex",alignItems:"center",gap:"4px",marginLeft:"4px"});const c=document.createElement("label");c.textContent="Speed",c.setAttribute("for","accessify-tts-speed"),Object.assign(c.style,{fontSize:"11px",opacity:"0.8",whiteSpace:"nowrap"});const l=document.createElement("input");l.type="range",l.id="accessify-tts-speed",l.min="0.5",l.max="2",l.step="0.1",l.value=String(t.speed),l.setAttribute("aria-label","Speech speed"),Object.assign(l.style,{width:"70px",accentColor:"#4ea8de",cursor:"pointer"});const d=document.createElement("span");d.className="accessify-tts-speed-val",d.textContent=`${t.speed.toFixed(1)}x`,Object.assign(d.style,{fontSize:"11px",minWidth:"30px",textAlign:"center",opacity:"0.8"}),l.addEventListener("input",()=>{const e=parseFloat(l.value);t.speed=e,d.textContent=`${e.toFixed(1)}x`,k();for(const t of s)t.rate=e}),o.appendChild(c),o.appendChild(l),o.appendChild(d);const u=document.createElement("div");Object.assign(u.style,{width:"1px",height:"18px",background:"rgba(255,255,255,0.2)",margin:"0 4px"});const p=navigator.maxTouchPoints>0,h=document.createElement("span");h.className="accessify-tts-hint",h.textContent=p?"Tap any text to read it aloud":"Click any text to read it aloud",Object.assign(h.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap",display:window.innerWidth<=640?"none":"inline"});const m=document.createElement("span");return Object.assign(m.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),m.textContent="For full screen reader support, use NVDA, JAWS, or VoiceOver",e.appendChild(n),e.appendChild(i),e.appendChild(u),e.appendChild(o),e.appendChild(u.cloneNode(!0)),e.appendChild(h),e.appendChild(m),e}(),document.documentElement.appendChild(n),o=!0,document.addEventListener("click",b,!0))},deactivate:function(){e=!1,g(),document.removeEventListener("click",b,!0),o=!1,n&&(n.remove(),n=null),y(),function(){const e=document.getElementById(p);e?.remove()}(),l=null},getState:()=>({id:"tts",enabled:e,value:{speed:t.speed}}),setState:e=>{if(void 0!==e.speed){t.speed=Math.min(2,Math.max(.5,e.speed)),k();const i=document.getElementById("accessify-tts-speed");i&&(i.value=String(t.speed));const a=n?.querySelector(".accessify-tts-speed-val");a&&(a.textContent=`${t.speed.toFixed(1)}x`)}}}}},Symbol.toStringTag,{value:"Module"}));function Jr(e){const t=new Set,n=e.toLowerCase().replace(/[^\p{L}\p{N}\s]/gu," ").split(/\s+/);for(const i of n)i.length>=3&&t.add(i);return t}function Xr(e,t){if(0===e.size||0===t.size)return 0;let n=0;for(const a of e)t.has(a)&&n++;const i=e.size+t.size-n;return 0===i?0:n/i}function Zr(e){const t=e.tagName;return"BODY"===t||"HTML"===t}function Qr(e,t){let n=e;for(let i=0;i<4&&n;i++){if(Zr(n))return!1;if(t.has(n))return!0;n=n.parentElement}return!1}function eo(e){return!!e.closest('nav, [role="navigation"], [role="menu"], [role="menubar"], [role="menuitem"]')}const to=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de",n){let i=!1,a=("string"==typeof n?n:n?.simplificationLevel||void 0)||"einfache",r=[],o=null,s=null,c=0,l=null,d=null,u="manual",f=!1,p=null;const h=new Map,g="accessify-text-simplify",m="data-accessify-simplified",v="data-accessify-original",y="data-accessify-block-hash";let b=null;const w=[],x=()=>!!window.__ACCESSIFY_DIAG;function k(e){const t={hash:e.hash,text:e.text||"",tag:e.tag||"",manifestMatch:e.manifestMatch||"none",idbHit:e.idbHit||!1,liveAI:e.liveAI||!1,persistOk:e.persistOk??null,replaced:e.replaced||!1,skipReason:e.skipReason||null,stale:e.stale||!1,source:e.source||"skipped"};return b?.blocks.push(t),t}function S(){b&&(b.totalReplaced=b.blocks.filter(e=>e.replaced).length,b.totalSkipped=b.blocks.filter(e=>!e.replaced).length,w.push(b),window.__accessifyDiag=w,x()&&(console.groupCollapsed(`%c[Accessify DIAG] Run complete: ${b.route}`,"color: #38bdf8; font-weight: bold"),console.table({route:b.route,level:b.level,siteMode:b.siteMode,manifestLoaded:b.manifestLoaded,manifestBlocks:b.manifestBlocks,elementsFound:b.elementsFound,"Phase 1 (manifest)":b.phase1Applied,"Phase 1 stale":b.phase1Stale,"Phase 1.5 (IDB)":b.phase15IdbHits,"Phase 2 (AI)":b.phase2AICalls,"Phase 2 errors":b.phase2AIErrors,totalReplaced:b.totalReplaced,totalSkipped:b.totalSkipped}),console.table(b.blocks.map(e=>({hash:e.hash,text:e.text,tag:e.tag,source:e.source,manifest:e.manifestMatch,idb:e.idbHit,ai:e.liveAI,persist:e.persistOk,replaced:e.replaced,skip:e.skipReason,stale:e.stale}))),console.groupEnd()))}const _="blocks";function A(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(_)||e.createObjectStore(_)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function M(e){try{const t=await A();return new Promise(n=>{const i=t.transaction(_,"readonly").objectStore(_).get(e);i.onsuccess=()=>n(i.result??null),i.onerror=()=>n(null)})}catch{return null}}async function E(e,t){try{(await A()).transaction(_,"readwrite").objectStore(_).put(t,e)}catch{}}function C(e){return`${window.location.origin+window.location.pathname}:simplify:${a}:${e}`}function I(){const e=document.querySelector("script[data-site-key]");return{siteKey:e?.getAttribute("data-site-key")||window.Accessify?.config?.siteKey||void 0,proxyUrl:e?.getAttribute("data-proxy-url")||window.Accessify?.config?.proxyUrl||void 0}}const T=["details",'[role="region"][aria-labelledby]',"[aria-expanded]",'[data-state="open"]','[data-state="closed"]','[class*="accordion" i]','[class*="faq" i]','[class*="disclosure" i]','[class*="expandable" i]','[class*="collapsible" i]','[class*="collapse" i]'].join(", "),$=/^(Bild|Foto|Photo|Image|Fotocredit|Credit|Text|Autor|Author|Quelle|Source|Copyright|©|\(c\))\s*[:·\-–—]/i;function z(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=5381;for(let i=0;i<t.length;i++)n=(n<<5)+n+t.charCodeAt(i)&2147483647;return n.toString(36)}function L(e,t){const n=e.replace(/\s+/g," ").trim(),i=t.replace(/\s+/g," ").trim();if(n===i)return 0;if(n.length>500||i.length>500){const e=Math.abs(n.length-i.length);if(e>3)return e;let t=e;const a=Math.min(n.length,i.length);for(let r=0;r<a;r++)if(n[r]!==i[r]&&t++,t>3)return t;return t}const a=n.length,r=i.length;if(Math.abs(a-r)>3)return Math.abs(a-r);const o=Array.from({length:r+1},(e,t)=>t);for(let s=1;s<=a;s++){let e=o[0];o[0]=s;for(let t=1;t<=r;t++){const a=o[t];o[t]=n[s-1]===i[t-1]?e:1+Math.min(e,o[t],o[t-1]),e=a}if(Math.min(...o)>3)return 4}return o[r]}function H(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let i;for(;i=n.nextNode();){const e=i.nodeValue?.trim();e&&e.length>0&&t.push(i)}return t}function N(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function P(e){let t=e;for(;t&&t!==document.body;){const e=getComputedStyle(t),n=e.overflow+" "+e.overflowY,i=n.includes("hidden")||n.includes("clip"),a="none"!==e.maxHeight||"auto"!==e.height&&""!==e.height&&!e.height.includes("%");if(i&&a)return t;t=t.parentElement}return null}function O(e,t){const n=getComputedStyle(e);"none"!==n.maxHeight&&(t.push({el:e,property:"maxHeight",originalValue:e.style.maxHeight}),e.style.maxHeight="none"),(n.overflow.includes("hidden")||n.overflowY.includes("hidden"))&&(t.push({el:e,property:"overflow",originalValue:e.style.overflow}),e.style.overflow="visible");const i=N(e);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:t}:(G(t),{safe:!1,patches:[]})}function G(e){for(const t of e)t.el.style[t.property]=t.originalValue}function B(e,t,n){const i=e.innerHTML,a=H(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=H(e);if(0===n.length)return;if(1===n.length)return void(n[0].nodeValue=t);const i=t.match(/[^.!?]+[.!?]*\s*/g)||[t],a=n.reduce((e,t)=>e+(t.nodeValue?.trim().length||0),0);if(0===a){n[0].nodeValue=t;for(let e=1;e<n.length;e++)n[e].nodeValue="";return}let r=0;for(let o=0;o<n.length;o++){const e=(n[o].nodeValue?.trim().length||0)/a,t=Math.max(1,Math.round(e*i.length)),s=i.slice(r,r+t).join("");n[o].nodeValue=s||"",r+=t}if(r<i.length){const e=n[n.length-1];e.nodeValue=(e.nodeValue||"")+i.slice(r).join("")}}(e,t);const{safe:o,patches:s}=function(e){const t=[],n=N(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=P(e);if(!n)return{safe:!0,patches:[]};const i=N(n);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:[]}:O(n,t)}const i=P(e);return i?O(i,t):{safe:!0,patches:[]}}(e);if(!o){for(const e of a)e.node.parentNode&&(e.node.data=e.original);return setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),console.warn("[Accessify] Block skipped — layout clipping detected after replacement:",e.textContent?.slice(0,60)),c++,!1}e.setAttribute(m,"true"),e.setAttribute(v,i),n&&e.setAttribute(y,n);const d=window.getComputedStyle(e);return d.textTransform&&"none"!==d.textTransform&&(e.dataset.accessifyOrigTransform=d.textTransform,e.style.setProperty("text-transform","none","important")),r.push({el:e,originalHtml:i,savedTextNodes:a,ancestorPatches:s}),l?.observe(e),setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),!0}function j(e){if(e.savedTextNodes.length>0)for(const t of e.savedTextNodes)t.node.parentNode&&(t.node.data=t.original);else e.el.innerHTML=e.originalHtml;e.el.removeAttribute(m),e.el.removeAttribute(v),e.el.removeAttribute(y),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),G(e.ancestorPatches),l?.unobserve(e.el),r=r.filter(t=>t.el!==e.el)}const F=new Map;function D(e){const t=e.tagName.toLowerCase();if(e.id)return`#${CSS.escape(e.id)}`;const n=e.parentElement;if(!n)return t;const i=Array.from(n.children).filter(t=>t.tagName===e.tagName);return 1===i.length?t:`${t}:nth-of-type(${i.indexOf(e)+1})`}const W=[];let K=null;const R=new Set;function q(e,t,n,i,a,r){R.has(t)||(R.add(t),W.push({blockHash:t,originalText:n,result:i,selector:a}),K&&clearTimeout(K),K=setTimeout(()=>U(e,r),2e3))}function U(e,t){if(0===W.length)return;K&&(clearTimeout(K),K=null);const n=t||"https://accessify-api.accessify.workers.dev",i=window.location.origin+window.location.pathname,r=W.splice(0),o=p;o&&(o.persistAttempts+=r.length),fetch(`${n}/v1/cache/persist`,{method:"POST",headers:{"Content-Type":"application/json","X-Site-Key":e},body:JSON.stringify({siteKey:e,url:i,feature:"simplify",variant:a,blocks:r})}).then(t=>{if(t.ok){if(o&&(o.persistSuccesses+=r.length),window.__ACCESSIFY_DEBUG&&console.log(`[Accessify] Persisted ${r.length} blocks to D1+KV`),function(e){const t=`${e}:${a}:${window.location.pathname}`;F.delete(t)}(e),x()&&b){for(const e of r){const t=b.blocks.find(t=>t.hash===e.blockHash);t&&(t.persistOk=!0)}console.log(`%c[Accessify DIAG] Persist OK: ${r.length} blocks → ${i}`,"color: #22c55e")}}else if(console.warn(`[Accessify] Persist failed: ${t.status}`),x()&&b){for(const e of r){const t=b.blocks.find(t=>t.hash===e.blockHash);t&&(t.persistOk=!1)}console.warn(`%c[Accessify DIAG] Persist FAILED (${t.status}): ${r.length} blocks`,"color: #ef4444")}}).catch(e=>{if(console.warn("[Accessify] Failed to persist live simplification:",e),x()&&b)for(const t of r){const e=b.blocks.find(e=>e.hash===t.blockHash);e&&(e.persistOk=!1)}})}function V(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function Y(e){e.style.opacity="",e.style.transition=""}function J(e,t){X()}function X(){s?.remove(),s=null,document.getElementById("accessify-autospin-style")?.remove()}const Z="accessify-ai-disclaimer";function Q(){if(document.getElementById(Z))return;const e=t.startsWith("de")?"KI-vereinfachter Text":"AI-simplified text",n=document.createElement("div");n.id=Z,n.setAttribute("role","status"),n.setAttribute("aria-live","polite"),n.textContent=e,Object.assign(n.style,{position:"fixed",bottom:"12px",left:"12px",zIndex:"2147483640",padding:"6px 12px",background:"rgba(30,41,59,0.85)",color:"#94a3b8",fontSize:"11px",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',borderRadius:"6px",pointerEvents:"none"}),document.body.appendChild(n)}async function ee(){const n=function(){const e=[],t=new Set;return document.body.querySelectorAll("h1, h2, h3, h4, h5, h6, p, li, td, th, blockquote, figcaption, .hero-subtitle, summary, dt, dd").forEach(n=>{const i=n;if(i.closest("#accessify-root"))return;if(null===i.offsetParent&&"fixed"!==i.style.position&&!i.closest("[data-framer-appear-id]")&&!i.closest("[data-framer-name]"))return;i.dataset.accessifyOriginal||(i.dataset.accessifyOriginal=i.textContent?.trim()||"");const a=i.dataset.accessifyOriginal;if(a.length<20)return;if(a.length<60&&$.test(a))return;if(t.has(i))return;if(i.closest(T)&&i.querySelectorAll("p, li, dd, dt, summary").length>1)return void(window.__ACCESSIFY_DEBUG&&console.log("[Accessify] FAQ: skipping wrapper, will collect children:",i.tagName));let r=!1;for(const e of t)if(e.contains(i)){r=!0;break}r||(t.add(i),e.push(i))}),e}();if(0===n.length)return;o?.abort();const h=new AbortController;o=h;const g=h.signal,w=()=>g.aborted||!i;r=[],c=0,p={contentHash:z(window.location.pathname||"/"),manifestHit:!1,manifestBlocks:0,domQualifying:0,phase1Applied:0,phase1Stale:0,phase15IdbHits:0,phase2AiCalls:0,phase2AiErrors:0,persistAttempts:0,persistSuccesses:0,manifestLatencyMs:null,sent:!1},p.domQualifying=n.length,l||(l=new ResizeObserver(e=>{for(const t of e){const e=t.target;if(!e.hasAttribute(m))continue;const n=r.find(t=>t.el===e);if(!n)continue;const i=P(e);if(i){const t=N(i);t.scrollHeight>t.clientHeight+2&&(console.warn("[Accessify] ResizeObserver detected clipping after external layout change, reverting block:",e),j(n),c++)}}})),d||(d=new MutationObserver(e=>{for(const t of e){for(const e of t.removedNodes){if(!(e instanceof HTMLElement))continue;const t=r.findIndex(t=>t.el===e||e.contains(t.el));if(-1!==t){const e=r[t];l?.unobserve(e.el),e.el.removeAttribute(m),e.el.removeAttribute(v),e.el.removeAttribute(y),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),G(e.ancestorPatches),r.splice(t,1)}}if("characterData"===t.type||"childList"===t.type){const e=t.target instanceof HTMLElement?t.target:t.target.parentElement;if(!e)continue;const n=e.closest(`[${m}]`);if(n){const e=r.find(e=>e.el===n);e&&!n.hasAttribute("data-accessify-replacing")&&(console.warn("[Accessify] External mutation detected on simplified block, cleaning up tracking:",n),l?.unobserve(e.el),e.el.removeAttribute(m),e.el.removeAttribute(v),e.el.removeAttribute(y),e.el.dataset.accessifyOrigTransform&&(e.el.style.textTransform=e.el.dataset.accessifyOrigTransform,delete e.el.dataset.accessifyOrigTransform),G(e.ancestorPatches),r=r.filter(e=>e.el!==n))}}}}),d.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:H,proxyUrl:O}=I();let W=0,K=n;const R=new Set;let U=[];const Z=!!window.__ACCESSIFY_DEBUG;if(x()&&function(e,t){b={ts:(new Date).toISOString(),route:e,level:a,siteMode:u,siteKey:t,manifestLoaded:!1,manifestBlocks:0,elementsFound:0,phase1Applied:0,phase1Stale:0,phase15IdbHits:0,phase2AICalls:0,phase2AIErrors:0,totalReplaced:0,totalSkipped:0,blocks:[],restoreLog:[]}}(window.location.pathname,H||null),b&&(b.elementsFound=n.length),H){const e=Date.now(),t=await async function(e,t,n){const i=`${e}:${a}:${window.location.pathname}`;if(F.has(i))return F.get(i);const r=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${a}`,o=new AbortController,s=setTimeout(()=>o.abort(),8e3),c=()=>o.abort();n&&(n.aborted?o.abort():n.addEventListener("abort",c));try{const e=await fetch(r,{cache:"no-cache",signal:o.signal});if(!e.ok)return F.set(i,null),null;const t=await e.json();u="auto"===t.siteMode?"auto":"manual",f=!!t.telemetryEnabled;const n=t.blocks?.length?t:null;return F.set(i,n),n}catch{return null}finally{clearTimeout(s),n&&n.removeEventListener("abort",c)}}(H,O,g);if(p&&(p.manifestLatencyMs=Date.now()-e),Z&&console.log(`[Accessify] Manifest: ${t?.blocks?.length??0} blocks for ${n.length} elements`),b&&(b.manifestLoaded=!!t?.blocks?.length,b.manifestBlocks=t?.blocks?.length??0,b.siteMode=u),p&&(p.manifestHit=!!t?.blocks?.length,p.manifestBlocks=t?.blocks?.length??0),w())return void(x()&&S());if(t?.blocks?.length){if(await async function(){try{const e=(await A()).transaction(_,"readwrite").objectStore(_),t=`${window.location.origin+window.location.pathname}:simplify:${a}:`,n=e.openCursor();n.onsuccess=()=>{const e=n.result;e&&("string"==typeof e.key&&e.key.startsWith(t)&&e.delete(),e.continue())}}catch{}}(),w())return void(x()&&S());const e=function(e,t){const n=[],i=[],a=[],r=new Map,o=new Map;for(const l of e.blocks)r.set(l.blockHash,l),l.selector&&o.set(l.selector,l);const s=new Set;for(const l of t){const e=l.dataset.accessifyOriginal||l.textContent?.trim()||"",t=z(e),c=r.get(t);if(c?.result){B(l,c.result,t)?(n.push(l),s.add(c.blockHash),x()&&k({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"exact",replaced:!0,source:"manifest"})):(i.push(l),x()&&k({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"exact",replaced:!1,skipReason:"layout-unsafe",source:"skipped"}));continue}let d;for(const[n,i]of o)try{if(l.matches(n)||l.closest(n)===l){d=i;break}}catch{}if(d?.result&&d.originalText){const r=L(e,d.originalText);r<=3?B(l,d.result,t)?(n.push(l),s.add(d.blockHash),x()&&k({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",replaced:!0,source:"manifest"})):(i.push(l),x()&&k({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",replaced:!1,skipReason:"layout-unsafe",source:"skipped"})):(console.info(`[Accessify] Stale block (diff=${r}):`,e.slice(0,50)+"…"),a.push(l),s.add(d.blockHash),x()&&k({hash:t,text:e.slice(0,60),tag:l.tagName,manifestMatch:"fuzzy",stale:!0,skipReason:`stale(diff=${r})`,source:"skipped"}));continue}i.push(l)}const c=e.blocks.filter(e=>e.originalText&&e.result&&!s.has(e.blockHash));if(c.length>0&&i.length>0){const e=c.map(e=>({block:e,tokens:Jr(e.originalText)})),t=[];for(const a of i){const n=a.dataset.accessifyOriginal||a.textContent?.trim()||"";if(n.length<20)continue;const i=Jr(n);if(i.size<3)continue;let r=null;for(const{block:t,tokens:o}of e){const e=Xr(i,o);e>=.4&&(!r||e>r.sim)&&(r={el:a,block:t,sim:e})}r&&t.push(r)}t.sort((e,t)=>t.sim-e.sim);const n=new Set,r=new Set;for(const i of t){if(n.has(i.block.blockHash))continue;if(r.has(i.el))continue;n.add(i.block.blockHash),r.add(i.el),a.push(i.el),s.add(i.block.blockHash);const e=i.el.dataset.accessifyOriginal||i.el.textContent?.trim()||"";console.info(`[Accessify] Stale block (similarity=${i.sim.toFixed(2)}):`,e.slice(0,50)+"…"),x()&&k({hash:z(e),text:e.slice(0,60),tag:i.el.tagName,manifestMatch:"similarity",stale:!0,skipReason:`stale(sim=${i.sim.toFixed(2)})`,source:"skipped"})}if(r.size>0){const e=i.filter(e=>!r.has(e));i.length=0,i.push(...e)}}return{applied:n,remaining:i,stale:a}}(t,n);W=e.applied.length,U=e.applied,Z&&console.log(`[Accessify] Manifest hit: ${W}, stale: ${e.stale.length}, remaining: ${e.remaining.length}`);for(const t of e.stale)R.add(t);K=[...e.stale,...e.remaining];for(const n of t.blocks)n.result&&E(C(n.blockHash),n.result);if(b&&(b.phase1Applied=e.applied.length,b.phase1Stale=e.stale.length),p&&(p.phase1Applied=e.applied.length,p.phase1Stale=e.stale.length),0===K.length)return J(),void(x()&&S())}}{const e=[];for(const t of K){if(w())return;const n=t.dataset.accessifyOriginal||t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const i=z(n),a=await M(C(i));if(w())return;a?B(t,a,i)?(W++,p&&p.phase15IdbHits++,x()&&(k({hash:i,text:n.slice(0,60),tag:t.tagName,idbHit:!0,replaced:!0,source:"idb"}),b&&b.phase15IdbHits++)):(e.push(t),x()&&k({hash:i,text:n.slice(0,60),tag:t.tagName,idbHit:!0,replaced:!1,skipReason:"layout-unsafe",source:"skipped"})):e.push(t)}if(K=e,0===K.length)return J(),void(x()&&S())}if((W>0||H&&R.size>0)&&K.length>0){const e=function(e){const t=new Set;for(const n of e){let e=n;for(let n=0;n<4&&e&&!Zr(e);n++)t.add(e),e=e.parentElement}return t}(U),t=[],n=[];for(const i of K)R.has(i)?n.push(i):eo(i)?t.push(i):"auto"===u&&Qr(i,e)?n.push(i):t.push(i);if(t.length>0&&Z&&console.info(`[Accessify] Safety Gate: ${t.length} boilerplate skipped, ${n.length} queued for AI (stale + near-content).`),x())for(const i of t){const e=i.dataset.accessifyOriginal||i.textContent?.trim()||"",t=eo(i)?"structural-boilerplate(nav/menu)":"auto"===u?"no-content-anchor":`manual-mode(siteMode=${u})`;k({hash:z(e),text:e.slice(0,60),tag:i.tagName,skipReason:t,source:"skipped"})}for(const i of t)Y(i);if(K=n,0===K.length)return J(),Q(),void(x()&&S())}else if("auto"!==u&&K.length>0){if(Z&&console.info(`[Accessify] siteMode=${u} — skipping live AI for ${K.length} uncached block(s). Site owner: trigger a crawl from the dashboard or switch to 'auto' mode.`),x())for(const e of K){const t=e.dataset.accessifyOriginal||e.textContent?.trim()||"";k({hash:z(t),text:t.slice(0,60),tag:e.tagName,skipReason:`manual-mode(siteMode=${u})`,source:"skipped"})}R.size>0&&(c+=R.size);for(const e of K)Y(e);return W>0?(J(),Q()):X(),void(x()&&S())}if(!e&&K.length>0)return R.size>0&&(c+=R.size,console.info(`[Accessify] ${R.size} stale block(s) skipped — no AI service to regenerate`)),void(W>0?J():function(e){if(s){s.textContent="";const t=document.createElement("span");t.style.color="#ef4444",t.textContent="✕ ",s.appendChild(t),s.appendChild(document.createTextNode(String(e??""))),s.style.color="#ef4444",setTimeout(()=>X(),5e3)}}(t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured"));for(const e of K)V(e);let ee=W;const te=e=>R.has(e);for(const i of K){if(w())break;const n=i.dataset.accessifyOriginal||i.textContent?.trim()||"";if(n.length<20){Y(i);continue}if(n.length<60&&$.test(n)){Y(i),c++;continue}const r=z(n);p&&p.phase2AiCalls++;let o=null;x()&&(o=k({hash:r,text:n.slice(0,60),tag:i.tagName,liveAI:!0,stale:te(i),source:"ai"}),b&&b.phase2AICalls++);try{const s=await e.simplifyText(n,a,t);if(w())return;s&&s!==n?B(i,s,r)?(ee++,E(C(r),s),H&&q(H,r,n,s,D(i),O),o&&(o.replaced=!0)):o&&(o.replaced=!1,o.skipReason="layout-unsafe"):o&&(o.replaced=!1,o.skipReason=s?"ai-returned-identical":"ai-returned-empty")}catch(ne){if(o&&(o.skipReason=`error:${ne?.message?.slice(0,50)||"unknown"}`,o.replaced=!1),b&&b.phase2AIErrors++,p&&p.phase2AiErrors++,ne?.message?.includes("401")||ne?.message?.includes("403")){console.warn("[Accessify] AI auth failed, stopping live simplification");for(const e of K)te(e)&&!e.hasAttribute(m)&&c++;Y(i);break}if(ne?.message?.includes("429")){if(await new Promise(e=>setTimeout(e,8e3)),w())return;try{const s=await e.simplifyText(n,a,t);if(w())return;s&&s!==n&&B(i,s,r)&&(ee++,E(C(r),s),H&&q(H,r,n,s,D(i),O),o&&(o.replaced=!0,o.skipReason=null))}catch{te(i)&&(c++,console.warn("[Accessify] Stale block skipped — AI retry failed:",n.slice(0,50)))}}else te(i)?(c++,console.warn("[Accessify] Stale block skipped — AI error:",n.slice(0,50))):console.warn("[Accessify] Failed to simplify:",ne)}finally{Y(i),w()||await new Promise(e=>setTimeout(e,600))}if(w())break}for(const e of K)Y(e);w()||(J(),(ee>0||W>0)&&Q()),x()&&S()}function te(){l&&(l.disconnect(),l=null),d&&(d.disconnect(),d=null),h.clear();const e=o?.signal.aborted?"abort(navigation/toggle)":"toggle-off",t=new Set(r.map(e=>e.el));document.querySelectorAll(`[${m}]`).forEach(n=>{const i=n;if(t.has(i))return;const a=i.dataset.accessifyOriginal;a&&i.textContent!==a&&(i.textContent=a),i.removeAttribute(m),i.removeAttribute(v),i.removeAttribute(y),i.removeAttribute("data-accessify-replacing"),Y(i),i.dataset.accessifyOrigTransform&&(i.style.textTransform=i.dataset.accessifyOrigTransform,delete i.dataset.accessifyOrigTransform),x()&&b&&b.restoreLog.push({ts:(new Date).toISOString(),hash:i.getAttribute(y)||"orphan",text:a?.slice(0,60)||"",textNodeRestore:!1,innerHtmlFallback:!1,reason:`${e}+orphan-sweep`})});for(const{el:n,originalHtml:i,savedTextNodes:a,ancestorPatches:o}of r){const t=n.getAttribute(y)||"unknown";let r=!1,s=!1;if(a.length>0){let e=!0;for(const t of a)t.node.parentNode?t.node.data=t.original:e=!1;e?r=!0:(n.innerHTML=i,s=!0)}else n.innerHTML=i,s=!0;x()&&b&&b.restoreLog.push({ts:(new Date).toISOString(),hash:t,text:(n.textContent?.trim()||"").slice(0,60),textNodeRestore:r,innerHtmlFallback:s,reason:s?`${e}+innerHTML-fallback(text-nodes-detached)`:e}),n.removeAttribute(v),n.removeAttribute(m),n.removeAttribute(y),n.removeAttribute("data-accessify-replacing"),Y(n),n.dataset.accessifyOrigTransform&&(n.style.textTransform=n.dataset.accessifyOrigTransform,delete n.dataset.accessifyOrigTransform),G(o)}if(x()&&b){const e=b.restoreLog;console.log(`%c[Accessify DIAG] Restore: ${e.length} blocks, ${e.filter(e=>e.textNodeRestore).length} text-node, ${e.filter(e=>e.innerHtmlFallback).length} innerHTML-fallback`,"color: #f59e0b; font-weight: bold"),e.some(e=>e.innerHtmlFallback)&&(console.warn("[Accessify DIAG] innerHTML fallbacks detected — framework may have detached text nodes:"),console.table(e.filter(e=>e.innerHtmlFallback)))}r=[],c=0}let ne="",ie=null,ae=null;return{id:"text-simplify",name:()=>t.startsWith("de")?"Text vereinfachen":"Simplify Text",description:t.startsWith("de")?"Text in Einfache Sprache umwandeln":"Simplify text for easier understanding",icon:"simplify-text",category:"ai",activate:function(){i||(i=!0,function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);"einfache"!==t.level&&"leichte"!==t.level||(a=t.level)}}catch{}}(),function(){ne=location.href;const e=()=>{i&&location.href!==ne&&(ne=location.href,window.__ACCESSIFY_DEBUG&&console.log("[Accessify] URL changed, re-simplifying:",ne),o?.abort(),te(),X(),setTimeout(()=>{i&&ee()},500))};window.addEventListener("popstate",e);const t=history.pushState.bind(history),n=history.replaceState.bind(history);history.pushState=function(...n){t(...n),e()},history.replaceState=function(...t){n(...t),e()},ie=()=>{window.removeEventListener("popstate",e),history.pushState=t,history.replaceState=n}}(),function(){if(ae)return;const e=()=>{const{siteKey:e,proxyUrl:t}=I();if(!e)return;const n=t||"https://accessify-api.accessify.workers.dev",i=window.location.origin+window.location.pathname;if(W.length>0){const t=W.splice(0),r=JSON.stringify({siteKey:e,url:i,feature:"simplify",variant:a,blocks:t});try{"undefined"!=typeof navigator&&navigator.sendBeacon&&navigator.sendBeacon(`${n}/v1/cache/persist`,new Blob([r],{type:"application/json"}))||fetch(`${n}/v1/cache/persist`,{method:"POST",headers:{"Content-Type":"application/json","X-Site-Key":e},body:r,keepalive:!0}).catch(()=>{})}catch{}}if(f&&p&&!p.sent){const t=p;t.sent=!0;const i=JSON.stringify({siteKey:e,variant:a,contentHash:t.contentHash,manifestHit:t.manifestHit,manifestBlocks:t.manifestBlocks,domQualifying:t.domQualifying,phase1Applied:t.phase1Applied,phase1Stale:t.phase1Stale,phase15IdbHits:t.phase15IdbHits,phase2AiCalls:t.phase2AiCalls,phase2AiErrors:t.phase2AiErrors,persistAttempts:t.persistAttempts,persistSuccesses:t.persistSuccesses,manifestLatencyMs:t.manifestLatencyMs});try{"undefined"!=typeof navigator&&navigator.sendBeacon&&navigator.sendBeacon(`${n}/v1/telemetry`,new Blob([i],{type:"application/json"}))||fetch(`${n}/v1/telemetry`,{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0}).catch(()=>{})}catch{}}};window.addEventListener("pagehide",e),ae=()=>window.removeEventListener("pagehide",e)}(),ee())},deactivate:function(){i=!1,o?.abort(),o=null;const{siteKey:e,proxyUrl:t}=I();e&&W.length>0&&U(e,t),ie?.(),ie=null,ae?.(),ae=null,te(),X(),document.getElementById(Z)?.remove()},getState:()=>({id:"text-simplify",enabled:i,value:{level:a}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(a=e.level,localStorage.setItem(g,JSON.stringify({level:a})))}}}},Symbol.toStringTag,{value:"Module"}))}();
|
|
2
2
|
//# sourceMappingURL=widget.js.map
|