accessify-widget 0.3.91 → 0.3.92
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-6x9QVOWJ.js → index-Dz7xjzMF.js} +4 -4
- package/dist/{index-6x9QVOWJ.js.map → index-Dz7xjzMF.js.map} +1 -1
- package/dist/{keyboard-nav-C_XqN2TB.js → keyboard-nav-B3NluwBk.js} +2 -2
- package/dist/{keyboard-nav-C_XqN2TB.js.map → keyboard-nav-B3NluwBk.js.map} +1 -1
- package/dist/{page-structure-5vBvbFIi.js → page-structure-DASHbcEm.js} +2 -2
- package/dist/{page-structure-5vBvbFIi.js.map → page-structure-DASHbcEm.js.map} +1 -1
- package/dist/{text-simplify-DeYdGc2W.js → text-simplify-BxIySphr.js} +22 -30
- package/dist/text-simplify-BxIySphr.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-DeYdGc2W.js.map +0 -1
package/dist/accessify.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var Accessify=function(e){"use strict";var t,n,i,r,a,o,s,c,l,d,u,f,p,h,g,m,y,v,b,w,x,k,S,A,M,E,C,I,T,z,$,_,L,N,P,H,j,O,B,W,F,D,K,R,q,G=Object.defineProperty,U=e=>{throw TypeError(e)},V=(e,t,n)=>((e,t,n)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),J=(e,t,n)=>t.has(e)||U("Cannot "+n),Y=(e,t,n)=>(J(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>t.has(e)?U("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,i)=>(J(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Q=(e,t,n)=>(J(e,t,"access private method"),n);const ee=globalThis.process?.env?.NODE_ENV,te=ee&&!ee.toLowerCase().startsWith("prod");var ne=Array.isArray,ie=Array.prototype.indexOf,re=Array.prototype.includes,ae=Array.from,oe=Object.defineProperty,se=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyDescriptors,le=Object.prototype,de=Array.prototype,ue=Object.getPrototypeOf,fe=Object.isExtensible;const pe=()=>{};function he(){var e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}const ge=32,me=512,ye=1024,ve=2048,be=4096,we=8192,xe=16384,ke=32768,Se=1<<25,Ae=65536,Me=1<<17,Ee=1<<19,Ce=1<<25,Ie=65536,Te=1<<21,ze=1<<23,$e=Symbol("$state"),_e=Symbol("legacy props"),Le=Symbol(""),Ne=Symbol("proxy path"),Pe=new class extends Error{constructor(){super(...arguments),V(this,"name","StaleReactionError"),V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function He(e,t,n){if(te){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 je(e,t,n){if(te){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 Oe=Symbol(),Be=Symbol("filename"),We="http://www.w3.org/1999/xhtml";function Fe(e){}function De(e){return e===this.v}function Ke(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function Re(e,t){return e.label=t,qe(e.v,t),e}function qe(e,t){return e?.[Ne]?.(t),e}function Ge(e,t){if(!te)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(te){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 Ue=null;function Ve(e){Ue=e}let Je=null;function Ye(e){Je=e}let Xe=null;function Ze(e){Xe=e}function Qe(e,t=!1,n){Ue={p:Ue,i:!1,c:null,e:null,s:e,x:null,r:Gn,l:null},te&&(Ue.function=n,Xe=n)}function et(e){var t=Ue,n=t.e;if(null!==n)for(var i of(t.e=null,n))Mn(i);return void 0!==e&&(t.x=e),t.i=!0,Ue=t.p,te&&(Xe=Ue?.function??null),e??{}}let tt=[];function nt(e){if(0===tt.length){var t=tt;queueMicrotask(()=>{t===tt&&function(){var e=tt;tt=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}tt.push(e)}const it=new WeakMap;function rt(e){var t=Gn;if(null===t)return Kn.f|=ze,e;if(te&&e instanceof Error&&!it.has(e)&&it.set(e,function(e,t){const n=se(e,"message");if(!n||n.configurable){for(var i=dn?" ":"\t",r=`\n${i}in ${t.fn?.name||"<unknown>"}`,a=t.ctx;null!==a;)r+=`\n${i}in ${a.function?.[Be].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&ke)&&!(4&t.f))throw te&&!t.parent&&e instanceof Error&&ot(e),e;at(e,t)}function at(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&ke))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw te&&e instanceof Error&&ot(e),e}function ot(e){const t=it.get(e);t&&(oe(e,"message",{value:t.message}),oe(e,"stack",{value:t.stack}))}const st=-7169;function ct(e,t){e.f=e.f&st|t}function lt(e){ct(e,0!==(e.f&me)||null===e.deps?ye:be)}function dt(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&Ie)&&(t.f^=Ie,dt(t.deps))}function ut(e,t,n){0!==(e.f&ve)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ye)}let ft=!1;const pt=new Set;let ht=null,gt=null,mt=null,yt=!1,vt=null,bt=null;var wt=0,xt=te?new Set:null;let kt=1;const St=class e{constructor(){X(this,u),V(this,"id",kt++),V(this,"current",new Map),V(this,"previous",new Map),X(this,t,new Set),X(this,n,new Set),X(this,i,0),X(this,r,0),X(this,a,null),X(this,o,[]),X(this,s,new Set),X(this,c,new Set),X(this,l,new Map),V(this,"is_fork",!1),X(this,d,!1)}skip_effect(e){Y(this,l).has(e)||Y(this,l).set(e,{d:[],m:[]})}unskip_effect(e){var t=Y(this,l).get(e);if(t){for(var n of(Y(this,l).delete(e),t.d))ct(n,ve),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===Oe||this.previous.has(e)||this.previous.set(e,t),0===(e.f&ze)&&(this.current.set(e,e.v),gt?.set(e,e.v))}activate(){ht=this}deactivate(){ht=null,gt=null}flush(){var e=te?new Set:null;try{yt=!0,ht=this,Q(this,u,p).call(this)}finally{if(wt=0,mt=null,vt=null,bt=null,yt=!1,ht=null,gt=null,Gt.clear(),te)for(const t of e)t.updated=null}}discard(){for(const e of Y(this,n))e(this);Y(this,n).clear()}increment(e){Z(this,i,Y(this,i)+1),e&&Z(this,r,Y(this,r)+1)}decrement(e,t){Z(this,i,Y(this,i)-1),e&&Z(this,r,Y(this,r)-1),Y(this,d)||t||(Z(this,d,!0),nt(()=>{Z(this,d,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)Y(this,s).add(n);for(const n of t)Y(this,c).add(n);e.clear(),t.clear()}oncommit(e){Y(this,t).add(e)}ondiscard(e){Y(this,n).add(e)}settled(){return(Y(this,a)??Z(this,a,he())).promise}static ensure(){if(null===ht){const t=ht=new e;yt||(pt.add(ht),nt(()=>{ht===t&&t.flush()}))}return ht}apply(){gt=null}schedule(e){if(mt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&ke))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===vt||t!==Gn||null!==Kn&&2&Kn.f))return;if(96&n){if(0===(n&ye))return;t.f^=ye}}Y(this,o).push(t)}}};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 WeakMap,u=new WeakSet,f=function(){return this.is_fork||Y(this,r)>0},p=function(){var e;if(wt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of ht.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());}try{!function(){if(te){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){te&&oe(n,"stack",{value:""}),at(n,mt)}}()),!Q(this,u,f).call(this)){for(const e of Y(this,s))Y(this,c).delete(e),ct(e,ve),this.schedule(e);for(const e of Y(this,c))ct(e,be),this.schedule(e)}const n=Y(this,o);Z(this,o,[]),this.apply();var r=vt=[],d=[],y=bt=[];for(const t of n)try{Q(this,u,h).call(this,t,r,d)}catch(w){throw $t(t),w}if(ht=null,y.length>0){var v=St.ensure();for(const e of y)v.schedule(e)}if(vt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,g).call(this,d),Q(this,u,g).call(this,r);for(const[e,t]of Y(this,l))zt(e,t)}else{0===Y(this,i)&&pt.delete(this),Y(this,s).clear(),Y(this,c).clear();for(const e of Y(this,t))e(this);Y(this,t).clear(),Et(d),Et(r),Y(this,a)?.resolve()}var b=ht;if(Y(this,o).length>0){const e=b??(b=this);Y(e,o).push(...Y(this,o).filter(t=>!Y(e,o).includes(t)))}if(null!==b){if(pt.add(b),te)for(const e of this.current.keys())xt.add(e);Q(e=b,u,p).call(e)}pt.has(this)||Q(this,u,m).call(this)},h=function(e,t,n){e.f^=ye;for(var i=e.first;null!==i;){var r=i.f,a=!!(96&r);if(!(a&&0!==(r&ye)||0!==(r&we)||Y(this,l).has(i))&&null!==i.fn){a?i.f^=ye:4&r?t.push(i):ri(i)&&(!!(16&r)&&Y(this,c).add(i),li(i));var o=i.first;if(null!==o){i=o;continue}}for(;null!==i;){var s=i.next;if(null!==s){i=s;break}i=i.parent}}},g=function(e){for(var t=0;t<e.length;t+=1)ut(e[t],Y(this,s),Y(this,c))},m=function(){var e;for(const l of pt){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){te&&Ge(0===Y(l,o).length,"Batch has scheduled roots"),l.activate();var r=new Set,a=new Map;for(var s of n)Ct(s,i,r,a);if(Y(l,o).length>0){for(var c of(l.apply(),Y(l,o)))Q(e=l,u,h).call(e,c,[],[]);Z(l,o,[])}l.deactivate()}}}};let At=St,Mt=null;function Et(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var i=e[n++];if(!(24576&i.f)&&ri(i)&&(Mt=new Set,li(i),null===i.deps&&null===i.first&&null===i.nodes&&null===i.teardown&&null===i.ac&&Nn(i),Mt?.size>0)){Gt.clear();for(const e of Mt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Mt.has(n)&&(Mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||li(n)}}Mt.clear()}}Mt=null}}function Ct(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?Ct(r,t,n,i):4194320&e&&0===(e&ve)&&It(r,t,i)&&(ct(r,ve),Tt(r))}}function It(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(re.call(t,r))return!0;if(2&r.f&&It(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Tt(e){ht.schedule(e)}function zt(e,t){if(0===(e.f&ge)||0===(e.f&ye)){0!==(e.f&ve)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ye);for(var n=e.first;null!==n;)zt(n,t),n=n.next}}function $t(e){ct(e,ye);for(var t=e.first;null!==t;)$t(t),t=t.next}class _t{constructor(e,t,n,i){X(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),X(this,y),X(this,v,null),X(this,b),X(this,w),X(this,x),X(this,k,null),X(this,S,null),X(this,A,null),X(this,M,null),X(this,E,0),X(this,C,0),X(this,I,!1),X(this,T,new Set),X(this,z,new Set),X(this,$,null),X(this,_,function(e){let t,n=0,i=Jt(0);return te&&Re(i,"createSubscriber version"),()=>{kn()&&(di(i),En(()=>(0===n&&(t=pi(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(i))})})))}}(()=>(Z(this,$,Jt(Y(this,E))),te&&Re(Y(this,$),"$effect.pending()"),()=>{Z(this,$,null)}))),Z(this,y,e),Z(this,b,t),Z(this,w,e=>{var t=Gn;t.b=this,t.f|=128,n(e)}),this.parent=Gn.b,this.transform_error=i??this.parent?.transform_error??(e=>e),Z(this,x,In(()=>{Q(this,L,N).call(this)},589824))}defer_effect(e){ut(e,Y(this,T),Y(this,z))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Y(this,b).pending}update_pending_count(e,t){Q(this,L,j).call(this,e,t),Z(this,E,Y(this,E)+e),Y(this,$)&&!Y(this,I)&&(Z(this,I,!0),nt(()=>{Z(this,I,!1),Y(this,$)&&Qt(Y(this,$),Y(this,E))}))}get_effect_pending(){return Y(this,_).call(this),di(Y(this,$))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(_n(Y(this,k)),Z(this,k,null)),Y(this,S)&&(_n(Y(this,S)),Z(this,S,null)),Y(this,A)&&(_n(Y(this,A)),Z(this,A,null));var i=!1,r=!1;const a=()=>{i||(i=!0,r&&function(){if(te){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!==Y(this,A)&&Pn(Y(this,A),()=>{Z(this,A,null)}),Q(this,L,H).call(this,()=>{Q(this,L,N).call(this)}))},o=e=>{try{r=!0,t?.(e,a),r=!1}catch(i){at(i,Y(this,x)&&Y(this,x).parent)}n&&Z(this,A,Q(this,L,H).call(this,()=>{try{return Tn(()=>{var t=Gn;t.b=this,t.f|=128,n(Y(this,y),()=>e,()=>a)})}catch(i){return at(i,Y(this,x).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void at(n,Y(this,x)&&Y(this,x).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>at(e,Y(this,x)&&Y(this,x).parent)):o(t)})}}function Lt(e=!0){Un(null),qn(null),Ve(null),e&&ht?.deactivate(),te&&Ye(null)}function Nt(){var e=Gn.b,t=ht,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)}}y=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,A=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,I=new WeakMap,T=new WeakMap,z=new WeakMap,$=new WeakMap,_=new WeakMap,L=new WeakSet,N=function(){try{if(this.is_pending=this.has_pending_snippet(),Z(this,C,0),Z(this,E,0),Z(this,k,Tn(()=>{Y(this,w).call(this,Y(this,y))})),Y(this,C)>0){var e=Z(this,M,document.createDocumentFragment());Bn(Y(this,k),e);const t=Y(this,b).pending;Z(this,S,Tn(()=>t(Y(this,y))))}else Q(this,L,P).call(this,ht)}catch(t){this.error(t)}},P=function(e){this.is_pending=!1,e.transfer_effects(Y(this,T),Y(this,z))},H=function(e){var t=Gn,n=Kn,i=Ue;Un(Y(this,x)),qn(Y(this,x)),Ve(Y(this,x).ctx);try{return At.ensure(),e()}catch(r){return rt(r),null}finally{Un(t),qn(n),Ve(i)}},j=function(e,t){var n;this.has_pending_snippet()?(Z(this,C,Y(this,C)+e),0===Y(this,C)&&(Q(this,L,P).call(this,t),Y(this,S)&&Pn(Y(this,S),()=>{Z(this,S,null)}),Y(this,M)&&(Y(this,y).before(Y(this,M)),Z(this,M,null)))):this.parent&&Q(n=this.parent,L,j).call(n,e,t)};const Pt=new Set;function Ht(e){var t=null!==Kn&&2&Kn.f?Kn:null;return null!==Gn&&(Gn.f|=Ee),{ctx:Ue,deps:null,effects:null,equals:De,f:2050,fn:e,reactions:null,rv:0,v:Oe,wv:0,parent:t??Gn,ac:null}}function jt(e,t,n){let i=Gn;null===i&&function(){if(te){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=Jt(Oe);te&&(a.label=t);var o=!Kn,s=new Map;return function(e){xn(4718592,e)}(()=>{var t=Gn,n=he();r=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Lt)}catch(u){n.reject(u),Lt()}var c=ht;if(o){if(0!==(t.f&ke))var l=Nt();if(i.b.is_rendered())s.get(c)?.reject(Pe),s.delete(c);else{for(const e of s.values())e.reject(Pe);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===Pe),n!==Pe&&0===(t.f&xe)){if(c.activate(),n)a.f|=ze,Qt(a,n);else{0!==(a.f&ze)&&(a.f^=ze),Qt(a,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(Pe)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),Sn(()=>{for(const e of s.values())e.reject(Pe)}),te&&(a.f|=4194304),new Promise(e=>{!function t(n){function i(){n===r?e(a):t(r)}n.then(i,i)}(r)})}function Ot(e){const t=Ht(e);return Jn(t),t}function Bt(e){const t=Ht(e);return t.equals=Ke,t}function Wt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)_n(t[n])}}let Ft=[];function Dt(e){var t,n=Gn;if(Un(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&xe)?t:null;t=t.parent}return null}(e)),te){let i=qt;Ut(new Set);try{re.call(Ft,e)&&function(){if(te){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")}(),Ft.push(e),e.f&=-65537,Wt(e),t=oi(e)}finally{Un(n),Ut(i),Ft.pop()}}else try{e.f&=-65537,Wt(e),t=oi(e)}finally{Un(n)}return t}function Kt(e){var t=e.v,n=Dt(e);e.equals(n)||(e.wv=ii(),ht?.is_fork&&null!==e.deps||(e.v=n,ht?.capture(e,t),null!==e.deps))?Fn||(null!==gt?(kn()||ht?.is_fork)&>.set(e,n):lt(e)):ct(e,ye)}function Rt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&li(t)}let qt=new Set;const Gt=new Map;function Ut(e){qt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:De,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Jn(n),n}function Xt(e,t=!1,n=!0){const i=Jt(e);return t||(i.equals=Ke),i}function Zt(e,t,n=!1){null===Kn||Rn&&0===(Kn.f&Me)||!(4325394&Kn.f)||null!==Vn&&re.call(Vn,e)||function(){if(te){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?an(t):t;return te&&qe(i,e.label),Qt(e,i,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var i=e.v;Gt.set(e,Fn?t:i),e.v=t;var r=At.ensure();if(r.capture(e,i),te){if(null!==Gn){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"),oe(e,"stack",{value:t.join("\n")}),oe(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!==Gn&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&ve)&&Dt(t),null===gt&<(t)}e.wv=ii(),nn(e,ve,n),null===Gn||0===(Gn.f&ye)||96&Gn.f||(null===Zn?function(e){Zn=e}([e]):Zn.push(e)),!r.is_fork&&qt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of qt)0!==(e.f&ye)&&ct(e,be),ri(e)&&li(e);qt.clear()}function tn(e){Zt(e,e.v+1)}function nn(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(te&&0!==(s&Me))qt.add(o);else{var c=0===(s&ve);if(c&&ct(o,t),2&s){var l=o;gt?.delete(l),0===(s&Ie)&&(s&me&&(o.f|=Ie),nn(l,be,n))}else if(c){var d=o;!!(16&s)&&null!==Mt&&Mt.add(d),null!==n?n.push(d):Tt(d)}}}}const rn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function an(e){if("object"!=typeof e||null===e||$e in e)return e;const t=ue(e);if(t!==le&&t!==de)return e;var n=new Map,i=ne(e),r=Yt(0),a=ti,o=e=>{if(ti===a)return e();var t=Kn,n=ti;qn(null),ni(a);var i=e();return qn(t),ni(n),i};i&&(n.set("length",Yt(e.length)),te&&(e=new Proxy(e,{get(e,t,n){var i=Reflect.get(e,t,n);return cn.has(t)?function(...e){Vt=!0;var t=i.apply(this,e);return en(),t}:i}})));var s="";let c=!1;function l(e){if(!c){c=!0,Re(r,`${s=e} version`);for(const[e,t]of n)Re(t,on(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(te){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=Yt(i.value);return n.set(t,e),te&&"string"==typeof t&&Re(e,on(s,t)),e}):Zt(r,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=o(()=>Yt(Oe));n.set(t,e),tn(r),te&&Re(e,on(s,t))}}else Zt(i,Oe),tn(r);return!0},get(t,i,r){if(i===$e)return e;if(te&&i===Ne)return l;var a=n.get(i),c=i in t;if(void 0!==a||c&&!se(t,i)?.writable||(a=o(()=>{var e=Yt(an(c?t[i]:Oe));return te&&Re(e,on(s,i)),e}),n.set(i,a)),void 0!==a){var d=di(a);return d===Oe?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=di(r))}else if(void 0===i){var a=n.get(t),o=a?.v;if(void 0!==a&&o!==Oe)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===$e)return!0;var i=n.get(t),r=void 0!==i&&i.v!==Oe||Reflect.has(e,t);return!((void 0!==i||null!==Gn&&(!r||se(e,t)?.writable))&&(void 0===i&&(i=o(()=>{var n=Yt(r?an(e[t]):Oe);return te&&Re(n,on(s,t)),n}),n.set(t,i)),di(i)===Oe))&&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?Zt(f,Oe):u in e&&(f=o(()=>Yt(Oe)),n.set(u+"",f),te&&Re(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&Re(l,on(s,t)),Zt(l,an(a)),n.set(t,l)):(d=l.v!==Oe,Zt(l,o(()=>an(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&&Zt(h,g+1)}tn(r)}return!0},ownKeys(e){di(r);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Oe});for(var[i,a]of n)a.v===Oe||i in e||t.push(i);return t},setPrototypeOf(){!function(){if(te){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 on(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:rn.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function sn(e){try{if(null!==e&&"object"==typeof e&&$e in e)return e[$e]}catch{}return e}const cn=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var ln,dn,un,fn;function pn(e=""){return document.createTextNode(e)}function hn(e){return un.call(e)}function gn(e){return fn.call(e)}function mn(e,t){return hn(e)}function yn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?gn(n):n}function vn(e,t=1,n=!1){let i=e;for(;t--;)i=gn(i);return i}function bn(e,t,n){return document.createElementNS(t??We,e,void 0)}function wn(e){var t=Kn,n=Gn;qn(null),Un(null);try{return e()}finally{qn(t),Un(n)}}function xn(e,t){var n=Gn;if(te)for(;null!==n&&0!==(n.f&Me);)n=n.parent;null!==n&&0!==(n.f&we)&&(e|=we);var i={ctx:Ue,deps:null,nodes:null,f:e|ve|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};te&&(i.component_function=Xe);var r=i;if(4&e)null!==vt?vt.push(i):At.ensure().schedule(i);else if(null!==t){try{li(i)}catch(a){throw _n(i),a}null===r.deps&&null===r.teardown&&null===r.nodes&&r.first===r.last&&0===(r.f&Ee)&&(r=r.first,16&e&&0!==(e&Ae)&&null!==r&&(r.f|=Ae))}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!==Kn&&2&Kn.f&&!(64&e))&&(Kn.effects??(Kn.effects=[])).push(r),i}function kn(){return null!==Kn&&!Rn}function Sn(e){const t=xn(8,null);return ct(t,ye),t.teardown=e,t}function An(e){var t;t="$effect",null===Gn&&(null===Kn&&function(e){if(te){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(te){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")}()),Fn&&function(e){if(te){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),te&&oe(e,"name",{value:"$effect"});var n=Gn.f;if(Kn||0===(n&ge)||0!==(n&ke))return Mn(e);(Ue.e??(Ue.e=[])).push(e)}function Mn(e){return xn(1048580,e)}function En(e,t=0){return xn(8|t,e)}function Cn(e,t=[],n=[],i=[]){!function(e,t,n,i){const r=Ht;var a=e.filter(e=>!e.settled);if(0!==n.length||0!==a.length){var o=Gn,s=function(){var e=Gn,t=Kn,n=Ue,i=ht;if(te)var r=Je;return function(a=!0){Un(e),qn(t),Ve(n),a&&0===(e.f&xe)&&(i?.activate(),i?.apply()),te&&Ye(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=Nt();c?c.then(()=>{s(),u(),Lt()}):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&xe)&&at(t,o)}Lt()}function u(){Promise.all(n.map(e=>jt(e))).then(e=>d([...t.map(r),...e])).catch(e=>at(e,o)).finally(()=>l())}}(i,t,n,t=>{xn(8,()=>e(...t.map(di)))})}function In(e,t=0){var n=xn(16|t,e);return te&&(n.dev_stack=Je),n}function Tn(e){return xn(524320,e)}function zn(e){var t=e.teardown;if(null!==t){const e=Fn,n=Kn;Dn(!0),qn(null);try{t.call(null)}finally{Dn(e),qn(n)}}}function $n(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&wn(()=>{e.abort(Pe)});var i=n.next;64&n.f?n.parent=null:_n(n,t),n=i}}function _n(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Ln(e.nodes.start,e.nodes.end),n=!0),ct(e,Se),$n(e,t&&!n),ci(e,0);var i=e.nodes&&e.nodes.t;if(null!==i)for(const a of i)a.stop();zn(e),e.f^=Se,e.f|=xe;var r=e.parent;null!==r&&null!==r.first&&Nn(e),te&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Ln(e,t){for(;null!==e;){var n=e===t?null:gn(e);e.remove(),e=n}}function Nn(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 Pn(e,t,n=!0){var i=[];Hn(e,i,!0);var r=()=>{n&&_n(e),t&&t()},a=i.length;if(a>0){var o=()=>--a||r();for(var s of i)s.out(o)}else r()}function Hn(e,t,n){if(0===(e.f&we)){e.f^=we;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;Hn(r,t,!!(0!==(r.f&Ae)||0!==(r.f&ge)&&16&e.f)&&n),r=a}}}function jn(e){On(e,!0)}function On(e,t){if(0!==(e.f&we)){e.f^=we,0===(e.f&ye)&&(ct(e,ve),At.ensure().schedule(e));for(var n=e.first;null!==n;){var i=n.next;On(n,!(0===(n.f&Ae)&&0===(n.f&ge))&&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 Bn(e,t){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end;null!==n;){var r=n===i?null:gn(n);t.append(n),n=r}}let Wn=!1,Fn=!1;function Dn(e){Fn=e}let Kn=null,Rn=!1;function qn(e){Kn=e}let Gn=null;function Un(e){Gn=e}let Vn=null;function Jn(e){null!==Kn&&(null===Vn?Vn=[e]:Vn.push(e))}let Yn=null,Xn=0,Zn=null,Qn=1,ei=0,ti=ei;function ni(e){ti=e}function ii(){return++Qn}function ri(e){var t=e.f;if(0!==(t&ve))return!0;if(2&t&&(e.f&=-65537),0!==(t&be)){for(var n=e.deps,i=n.length,r=0;r<i;r++){var a=n[r];if(ri(a)&&Kt(a),a.wv>e.wv)return!0}0!==(t&me)&&null===gt&&ct(e,ye)}return!1}function ai(e,t,n=!0){var i=e.reactions;if(null!==i&&(null===Vn||!re.call(Vn,e)))for(var r=0;r<i.length;r++){var a=i[r];2&a.f?ai(a,t,!1):t===a&&(n?ct(a,ve):0!==(a.f&ye)&&ct(a,be),Tt(a))}}function oi(e){var t,n=Yn,i=Xn,r=Zn,a=Kn,o=Vn,s=Ue,c=Rn,l=ti;Yn=null,Xn=0,Zn=null,Kn=96&e.f?null:e,Vn=null,Ve(e.ctx),Rn=!1,ti=++ei,null!==e.ac&&(wn(()=>{e.ac.abort(Pe)}),e.ac=null);try{e.f|=Te;var d=(0,e.fn)();e.f|=ke;var u=e.deps,f=ht?.is_fork;if(null!==Yn){var p;if(f||ci(e,Xn),null!==u&&Xn>0)for(u.length=Xn+Yn.length,p=0;p<Yn.length;p++)u[Xn+p]=Yn[p];else e.deps=u=Yn;if(kn()&&0!==(e.f&me))for(p=Xn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Xn<u.length&&(ci(e,Xn),u.length=Xn);if(!(null===Zn||Rn||null===u||6146&e.f))for(p=0;p<Zn.length;p++)ai(Zn[p],e);if(null!==a&&a!==e){if(ei++,null!==a.deps)for(let e=0;e<i;e+=1)a.deps[e].rv=ei;if(null!==n)for(const e of n)e.rv=ei;null!==Zn&&(null===r?r=Zn:r.push(...Zn))}return 0!==(e.f&ze)&&(e.f^=ze),d}catch(h){return rt(h)}finally{e.f^=Te,Yn=n,Xn=i,Zn=r,Kn=a,Vn=o,Ve(s),Rn=c,ti=l}}function si(e,t){let n=t.reactions;if(null!==n){var i=ie.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===Yn||!re.call(Yn,t))){var a=t;0!==(a.f&me)&&(a.f^=me,a.f&=-65537),lt(a),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Pe),t.teardown=pe,t.ac=null,ci(t,0),$n(t))}(a),ci(a,0)}}function ci(e,t){var n=e.deps;if(null!==n)for(var i=t;i<n.length;i++)si(e,n[i])}function li(e){var t=e.f;if(0===(t&xe)){ct(e,ye);var n=Gn,i=Wn;if(Gn=e,Wn=!0,te){var r=Xe;Ze(e.component_function);var a=Je;Ye(e.dev_stack??Je)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&ge)&&_n(t),t=n}}(e):$n(e),zn(e);var o=oi(e);e.teardown="function"==typeof o?o:null,e.wv=Qn}finally{Wn=i,Gn=n,te&&(Ze(r),Ye(a))}}}function di(e){var t=!!(2&e.f);if(null!==Kn&&!Rn&&!(null!==Gn&&0!==(Gn.f&xe)||null!==Vn&&re.call(Vn,e))){var n=Kn.deps;if(0!==(Kn.f&Te))e.rv<ei&&(e.rv=ei,null===Yn&&null!==n&&n[Xn]===e?Xn++:null===Yn?Yn=[e]:Yn.push(e));else{(Kn.deps??(Kn.deps=[])).push(e);var i=e.reactions;null===i?e.reactions=[Kn]:re.call(i,Kn)||i.push(Kn)}}if(te&&Pt.delete(e),Fn&&Gt.has(e))return Gt.get(e);if(t){var r=e;if(Fn){var a=r.v;return(0===(r.f&ye)&&null!==r.reactions||fi(r))&&(a=Dt(r)),Gt.set(r,a),a}var o=0===(r.f&me)&&!Rn&&null!==Kn&&(Wn||0!==(Kn.f&me)),s=0===(r.f&ke);ri(r)&&(o&&(r.f|=me),Kt(r)),o&&!s&&(Rt(r),ui(r))}if(gt?.has(e))return gt.get(e);if(0!==(e.f&ze))throw e.v;return e.v}function ui(e){if(e.f|=me,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&me)&&(Rt(t),ui(t))}function fi(e){if(e.v===Oe)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Gt.has(t))return!0;if(2&t.f&&fi(t))return!0}return!1}function pi(e){var t=Rn;try{return Rn=!0,e()}finally{Rn=t}}const hi=["touchstart","touchmove"];function gi(e){return hi.includes(e)}const mi=Symbol("events"),yi=new Set,vi=new Set;function bi(e,t,n){(t[mi]??(t[mi]={}))[e]=n}function wi(e){for(var t=0;t<e.length;t++)yi.add(e[t]);for(var n of vi)n(e)}let xi=null;function ki(e){var t=this,n=t.ownerDocument,i=e.type,r=e.composedPath?.()||[],a=r[0]||e.target;xi=e;var o=0,s=xi===e&&e[mi];if(s){var c=r.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[mi]=t);var l=r.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((a=r[o]||e.target)!==t){oe(e,"currentTarget",{configurable:!0,get:()=>a||n});var d=Kn,u=Gn;qn(null),Un(null);try{for(var f,p=[];null!==a;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[mi]?.[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[mi]=t,delete e.currentTarget,qn(d),Un(u)}}}const Si=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ai(e){var t=bn("template");return t.innerHTML=function(e){return Si?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Mi(e,t){null===Gn.nodes&&(Gn.nodes={start:e,end:t,a:null,t:null})}function Ei(e,t){var n,i=!!(1&t),r=!!(2&t),a=!e.startsWith("<!>");return()=>{void 0===n&&(n=Ai(a?e:"<!>"+e),i||(n=hn(n)));var t=r||dn?document.importNode(n,!0):n.cloneNode(!0);return i?Mi(hn(t),t.lastChild):Mi(t,t),t}}function Ci(e,t,n="svg"){var i,r=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!i){var e=Ai(r);i=hn(hn(e))}var t=i.cloneNode(!0);return Mi(t,t),t}}function Ii(e,t){return Ci(e,0,"svg")}function Ti(e,t){null!==e&&e.before(t)}function zi(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 _i=new WeakMap;class Li{constructor(e,t=!0){V(this,"anchor"),X(this,O,new Map),X(this,B,new Map),X(this,W,new Map),X(this,F,new Set),X(this,D,!0),X(this,K,e=>{if(Y(this,O).has(e)){var t=Y(this,O).get(e),n=Y(this,B).get(t);if(n)jn(n),Y(this,F).delete(t);else{var i=Y(this,W).get(t);i&&(Y(this,B).set(t,i.effect),Y(this,W).delete(t),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[t,n]of Y(this,O)){if(Y(this,O).delete(t),t===e)break;const i=Y(this,W).get(n);i&&(_n(i.effect),Y(this,W).delete(n))}for(const[e,i]of Y(this,B)){if(e===t||Y(this,F).has(e))continue;const r=()=>{if(Array.from(Y(this,O).values()).includes(e)){var t=document.createDocumentFragment();Bn(i,t),t.append(pn()),Y(this,W).set(e,{effect:i,fragment:t})}else _n(i);Y(this,F).delete(e),Y(this,B).delete(e)};Y(this,D)||!n?(Y(this,F).add(e),Pn(i,r,!1)):r()}}}),X(this,R,e=>{Y(this,O).delete(e);const t=Array.from(Y(this,O).values());for(const[n,i]of Y(this,W))t.includes(n)||(_n(i.effect),Y(this,W).delete(n))}),this.anchor=e,Z(this,D,t)}ensure(e,t){var n=ht;!t||Y(this,B).has(e)||Y(this,W).has(e)||Y(this,B).set(e,Tn(()=>t(this.anchor))),Y(this,O).set(n,e),Y(this,K).call(this,n)}}function Ni(e,t,n=!1){var i=new Li(e);function r(e,t){i.ensure(e,t)}In(()=>{var e=!1;t((t,n=0)=>{e=!0,r(n,t)}),e||r(-1,null)},n?Ae:0)}function Pi(e,t){return t}function Hi(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|=Ce,Bn(a,document.createDocumentFragment())):_n(t[r],n)}}var ji;function Oi(e,t,n,i,r,a=null){var o,s=new Map;o=e.appendChild(pn());var c,l=null,d=Bt(()=>{var e=n();return ne(e)?e:null==e?[]:ae(e)}),u=new Map,f=!0,p={effect:In(()=>{for(var e=(c=di(d)).length,h=new Set,g=ht,m=0;m<e;m+=1){var y=c[m],v=i(y,m);if(te){var b=i(y,m);v!==b&&je(String(m),String(v),String(b))}var w=f?null:s.get(v);w?(w.v&&Qt(w.v,y),w.i&&Qt(w.i,m)):(w=Wi(s,f?o:ji??(ji=pn()),y,v,m,r,t,n),f||(w.e.f|=Ce),s.set(v,w)),h.add(v)}0===e&&a&&!l&&(f?l=Tn(()=>a(o)):(l=Tn(()=>a(ji??(ji=pn())))).f|=Ce),e>h.size&&(te?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),He(e,t,a)}n.set(i,r)}}(c,i):He("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&xe)&&(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=Bi(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&Ce)){if(s.f^=Ce,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),Di(e,f,s),Di(e,s,g),Fi(s,g,n),p=[],h=[],u=Bi((f=s).next);continue}Fi(s,null,n)}if(0!==(s.f&we)&&jn(s),s!==u){if(void 0!==a&&a.has(s)){if(p.length<h.length){var m,y=h[0];f=y.prev;var v=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Fi(p[m],y,n);for(m=0;m<h.length;m+=1)a.delete(h[m]);Di(e,v.prev,b.next),Di(e,f,v),Di(e,b,y),u=y,f=b,c-=1,p=[],h=[]}else a.delete(s),Fi(s,u,n),Di(e,s.prev,s.next),Di(e,s,null===f?e.effect.first:f.next),Di(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(a??(a=new Set)).add(u),h.push(u),u=Bi(u.next);if(null===u)continue}0===(s.f&Ce)&&p.push(s),f=s,u=Bi(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Hi(e,ae(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&we)&&w.push(s);for(;null!==u;)0===(u.f&we)&&u!==e.fallback&&w.push(u),u=Bi(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];Pn(n,()=>{if(i){if(i.pending.delete(n),i.done.add(n),0===i.pending.size){var t=e.outrogroups;Hi(e,ae(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()}Hi(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&Ce)?jn(l):(l.f^=Ce,Fi(l,null,o)):Pn(l,()=>{l=null})))}(g)),di(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Bi(e){for(;null!==e&&0===(e.f&ge);)e=e.next;return e}function Wi(e,t,n,i,r,a,o,s){var c=1&o?16&o?Jt(n):Xt(n,!1,!1):null,l=2&o?Jt(r):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:Tn(()=>(a(t,c??n,l??r,s),()=>{e.delete(i)}))}}function Fi(e,t,n){if(e.nodes)for(var i=e.nodes.start,r=e.nodes.end,a=t&&0===(t.f&Ce)?t.nodes.start:n;null!==i;){var o=gn(i);if(a.before(i),i===r)return;i=o}}function Di(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Ki(e,t,n=!1,i=!1,r=!1,a=!1){var o=e,s="";if(n)var c=e;Cn(()=>{var e=Gn;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&Mi(hn(c),c.lastChild));if(null!==e.nodes&&(Ln(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var a=bn(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(Mi(hn(l),l.lastChild),i||r)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}O=new WeakMap,B=new WeakMap,W=new WeakMap,F=new WeakMap,D=new WeakMap,K=new WeakMap,R=new WeakMap;const Ri=[..." \t\n\r\f \v\ufeff"];function qi(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&&!Ri.includes(i[o-1])||s!==i.length&&!Ri.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 Gi(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 Ui=Symbol("is custom element"),Vi=Symbol("is html");function Ji(e,t,n,i){var r=function(e){return e.__attributes??(e.__attributes={[Ui]:e.nodeName.includes("-"),[Vi]:e.namespaceURI===We})}(e);r[t]!==(r[t]=n)&&("loading"===t&&(e[Le]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,i=Yi.get(n);if(i)return i;Yi.set(n,i=[]);for(var r=e,a=Element.prototype;a!==r;){for(var o in t=ce(r))t[o].set&&i.push(o);r=ue(r)}return i}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Yi=new Map;function Xi(e,t){return e===t||e?.[$e]===t}function Zi(e={},t,n,i){var r=Ue.r,a=Gn;return xn(4,()=>{var i,o;return En(()=>{i=o,o=[],pi(()=>{e!==n(...o)&&(t(e,...o),i&&Xi(n(...i),e)&&t(null,...i))})}),()=>{let i=a;for(;i!==r&&null!==i.parent&&i.parent.f&Se;)i=i.parent;const s=i.teardown;i.teardown=()=>{o&&Xi(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?pi(i):i),o);let l;if(r){var d=$e in e||_e in e;l=se(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=ft;try{return ft=!1,[e[t],ft]}finally{ft=n}}():u=e[t],void 0===u&&void 0!==i&&(u=c(),l&&(function(e){if(te){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?Ht:Bt)(()=>(g=!1,f()));te&&(m.label=t),r&&di(m);var y=Gn;return function(e,t){if(arguments.length>0){const n=t?di(m):r?an(e):e;return Zt(m,n),g=!0,void 0!==o&&(o=n),e}return Fn&&g||0!==(y.f&xe)?m.v:di(m)}}if(te){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(te){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 er(e){null===Ue&&function(){if(te){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")}(),An(()=>{const t=pi(e);if("function"==typeof t)return t})}function tr(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 nr(){return tr('<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 ir(){return tr('<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 rr(){return tr('<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 ar(){return tr('<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 or(){return tr('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function sr(){return tr('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function cr(){return tr('<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&&((q=window.__svelte??(window.__svelte={})).v??(q.v=new Set)).add("5");const lr={accessibility:nr,contrast:function(){return tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return tr('<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:ir,tts:ir,brain:rr,ai:rr,image:ar,"alt-text":ar,keyboard:function(){return tr('<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 tr('<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 tr('<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:or,"close-x":or,reset:sr,chevron:function(){return tr('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return tr('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return tr('<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 tr('<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 tr('<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:cr,profile:function(){return tr('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},dr={"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 ur(e){return{...dr,...e}}const fr={en:dr,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 pausieren","feature.animationStop.desc":"Alle Animationen und Videos pausieren","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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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":"방해 요소를 줄이고 집중력 향상"})},pr=[{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:"🇷🇺"}],hr=new Set(["ar","ur"]);let gr="en";function mr(e){if(!e)return"en";const t=e.toLowerCase();if(fr[t])return t;const n=t.split("-")[0];return fr[n]?n:"en"}function yr(){return gr}function vr(e){return hr.has(mr(e))}function br(e,t="en"){const n=mr(t);return fr[n]?.[e]||dr[e]||e}var wr=Ei("<button></button>"),xr=Ei('<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>');wi(["click"]);const kr=[{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 Sr=Ii('<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>'),Ar=Ei('<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>'),Mr=Ei('<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>');wi(["click"]);const Er="https://openrouter.ai/api/v1",Cr="google/gemini-2.0-flash-001";function Ir(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 Tr(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(`${Er}/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 zr("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return Ir(await o.json())},async generateAltText(n,i,r){const a=r&&!r.startsWith("en")?` Generate the alt text in ${r} language.`:"",o=await fetch(`${Er}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Cr,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 zr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return Ir(await o.json())},async describeImage(n,i){const r=i&&i.startsWith("de")?" Beschreibe auf Deutsch.":"",a=await fetch(`${Er}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Cr,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 zr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${a.status}`)}return Ir(await a.json())}}}class zr extends Error{constructor(e){super(e),this.name="RateLimitError"}}var $r=Ei('<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>'),_r=Ei('<span class="accessify-chip-icon" aria-hidden="true"></span>'),Lr=Ei('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),Nr=Ei('<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>'),Pr=Ei('<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>'),Hr=Ei('<span aria-hidden="true">A</span>'),jr=Ei('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),Or=Ei('<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>'),Br=Ei('<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>'),Wr=Ei('<div class="accessify-features"></div>'),Fr=Ei('<!> <!> <div class="accessify-section-divider"></div> <!>',1);wi(["click"]);var Dr=Ei('<span aria-hidden="true">·</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Kr=Ei('<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>');wi(["click"]);let Rr=[],qr=[],Gr=null,Ur=!1,Vr=null,Jr=!1,Yr=null,Xr="";const Zr=["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 ea=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function ta(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 na(e){let t=e.parentElement;for(;t&&t!==document.body;){if(ea.has(t.tagName))return t;t=t.parentElement}return null}async function ia(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 Zr){const n=i.getAttribute(e);n?.trim()&&t.push({el:i,attr:e,original:n})}return t}(),r=new Set(Rr.map(e=>e.node));for(const u of n)r.has(u)||Rr.push({node:u,original:u.data});const a=new Set(qr.map(e=>`${ra(e.el)}:${e.attr}`));for(const u of i){const e=`${ra(u.el)}:${u.attr}`;a.has(e)||qr.push(u)}const o=function(e){const t=[],n=new Set;for(const i of e){if(n.has(i))continue;const r=na(i);if(r&&ea.has(r.tagName)){const i=e.filter(e=>!n.has(e)&&na(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])}),Jr=!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)ta(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)}Jr=!1}function ra(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 aa=Ii('<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>'),oa=Ei('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),sa=Ei('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),ca=Ei('<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 la(e,t){Qe(t,!0);let n=Qi(t,"config",7),i=Yt(!1),r=Yt(an(new Map)),a=Yt("light"),o=Yt(null),s=Yt(null),c=Yt(""),l=Yt("en"),d=Yt(null),u=Yt(!1),f=Yt(null);const p="accessify-panel-x",h={async translate(e){if(!Ur){Ur=!0;try{Rr.length>0&&this.restore(),await ia(e),Gr=e,function(){Vr&&Vr.disconnect(),Xr=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Gr&&!Jr&&ia(Gr)}),t=()=>{if(!Gr||Jr)return;const e=location.href;e!==Xr&&(Xr=e,Rr=[],qr=[],setTimeout(()=>{Gr&&ia(Gr)},500))};Vr=new MutationObserver(n=>{if(Jr||!Gr)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())}),Vr.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Yr=t,window.addEventListener("popstate",Yr);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{Ur=!1}}},async simplify(e,t){},restore(){Vr?.disconnect(),Vr=null,Yr&&(window.removeEventListener("popstate",Yr),Yr=null),Jr=!0;for(const e of Rr)e.node.parentNode&&(e.node.data=e.original);Rr=[];for(const e of qr)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);qr=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Gr=null,Jr=!1},isTranslated:()=>null!==Gr,currentLang:()=>Gr},g="accessify-prefs";let m=Ot(()=>Array.from(di(r).values()).filter(Boolean).length),y=Ot(()=>pr.find(e=>e.code===di(l)));function v(e){Zt(c,""),requestAnimationFrame(()=>{Zt(c,e,!0)})}function b(){try{const e=Object.fromEntries(di(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",di(a)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=vr(di(l))?"rtl":"ltr";var i;e&&(e.setAttribute("lang",di(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",di(l)),t.shadow.host.setAttribute("dir",n),i=di(l),gr=mr(i)}function k(){Zt(i,!0),requestAnimationFrame(()=>{if(di(o)){const e=di(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Zt(i,!1),Zt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let A=Ot(()=>null!==di(f)?`left: ${di(f)}px; right: auto;`:"");er(()=>{Zt(l,mr(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Zt(a,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Zt(a,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Zt(a,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Zt(r,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Zt(f,parseFloat(t),!0)}catch{}}(),x()});var M,E,C,I={open:k,close:S},T=ca();C=function(e,t,n,i={}){function r(e){if(i.capture||ki.call(t,e),!e.cancelBubble)return wn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?nt(()=>{t.addEventListener(e,r,i)}):t.addEventListener(e,r,i),r}("keydown",M=ln,function(e){if("Escape"===e.key){if(di(u))return Zt(u,!1),void e.preventDefault();if(di(i))return e.preventDefault(),void S()}if("Tab"===e.key&&di(i)&&di(o)){const n=di(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)&&Sn(()=>{M.removeEventListener("keydown",C,E)});var z=yn(T),$=mn(z),_=vn(z,2);!function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en"),i=Qi(t,"el",15,null),r=Yt(!1);er(()=>{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;if(!c&&(Math.abs(i)>5||Math.abs(d)>5)&&(c=!0,Zt(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="",Zt(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=wr();let o;Ki(a,nr,!0),Zi(a,e=>i(e),()=>i()),Cn(e=>{o=qi(a,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":di(r),"accessify-trigger--hidden":t.isOpen}),Ji(a,"aria-expanded",t.isOpen),Ji(a,"aria-label",e)},[()=>br(t.isOpen?"widget.close":"widget.open",n())]),Ti(e,a),et()}(_,{get isOpen(){return di(i)},get lang(){return di(l)},onclick:function(){di(i)?S():k()},get el(){return di(s)},set el(e){Zt(s,e,!0)}});var L=vn(_,2),N=mn(L);!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=Yt(null);er(()=>{const e=di(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=xr(),o=vn(mn(a),2),s=mn(o);Zi(s,e=>Zt(r,e),()=>di(r));var c=vn(s,2);Ki(c,sr,!0);var l=vn(c,2);Ki(l,or,!0),Cn((e,t)=>{Ji(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Ji(c,"aria-label",e),Ji(l,"aria-label",t)},[()=>br("widget.reset",n()),()=>br("widget.close",n())]),bi("click",c,function(...e){t.onreset?.apply(this,e)}),bi("click",l,function(...e){t.onclose?.apply(this,e)}),Ti(e,a),et()}(N,{get lang(){return di(l)},get activeCount(){return di(m)},onclose:S,onreset:function(){Zt(r,new Map,!0),Zt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),v(br("widget.resetConfirm",di(l)))},ondrag:function(e){Zt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return di(o)}});var P=vn(N,2),H=mn(P),j=mn(H),O=mn(j),B=mn(O);Ki(B,cr);var W=mn(vn(B,2)),F=vn(O,2);let D;var K=vn(j,2),R=e=>{var t=sa();Oi(t,21,()=>pr,Pi,(e,t)=>{var i=oa(),r=mn(i),a=mn(r),o=vn(r,2),s=e=>{Ti(e,aa())};Ni(o,e=>{di(l)===di(t).code&&e(s)}),Cn(()=>{Ji(i,"aria-selected",di(l)===di(t).code),Ji(i,"data-active",di(l)===di(t).code),zi(a,`${(di(t).flag||"")??""} ${di(t).label??""}`)}),bi("click",i,()=>function(e){Zt(l,mr(e),!0),n().lang=di(l),Zt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";di(l)!==t?h.translate(di(l)):h.restore()}(di(t).code)),Ti(e,i)}),Cn(e=>Ji(t,"aria-label",e),[()=>br("widget.title",di(l))]),Ti(e,t)};Ni(K,e=>{di(u)&&e(R)});var q=vn(H,4);!function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en"),i=Qi(t,"activeProfileId",3,null),r=Yt(!1),a=Ot(()=>i()?kr.find(e=>e.id===i()):null);var o=Mr(),s=mn(o),c=mn(s),l=vn(mn(c),2),d=mn(l),u=vn(c,2);let f;var p=vn(s,2);Oi(p,21,()=>kr,e=>e.id,(e,r)=>{var a=Ar(),o=mn(a),s=mn(o);Ki(s,()=>function(e){const t=lr[e];return t?t():""}(di(r).iconId),!0);var c=mn(vn(s,2)),l=mn(c),d=mn(vn(c,2)),u=vn(o,2),f=e=>{Ti(e,Sr())};Ni(u,e=>{i()===di(r).id&&e(f)}),Cn((e,t)=>{Ji(a,"aria-pressed",i()===di(r).id),Ji(a,"data-active",i()===di(r).id),zi(l,e),zi(d,t)},[()=>br(di(r).nameKey,n()),()=>br(di(r).descKey,n())]),bi("click",a,()=>t.onactivate(di(r))),Ti(e,a)}),Cn((e,t,n)=>{Ji(o,"aria-label",e),Ji(s,"aria-expanded",di(r)),zi(d,t),f=qi(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":di(r)}),Ji(p,"aria-label",n),Gi(p,di(r)?"":"display:none")},[()=>br("section.profiles",n()),()=>di(a)?br(di(a).nameKey,n()):br("section.profiles",n()),()=>br("section.profiles",n())]),bi("click",s,()=>{Zt(r,!di(r))}),Ti(e,o),et()}(q,{get lang(){return di(l)},get activeProfileId(){return di(d)},onactivate:function(e){if(di(d)===e.id){Zt(d,null);for(const t of e.features)di(r).set(t,!1);return Zt(r,new Map(di(r)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void v(`${br(e.nameKey,di(l))} ${br("status.deactivated",di(l))}`)}Zt(d,e.id,!0);for(const t of e.features)di(r).set(t,!0);Zt(r,new Map(di(r)),!0),b(),v(`${br(e.nameKey,di(l))} ${br("status.activated",di(l))}`)}});var G=vn(q,4);{let e=Ot(()=>({...n(),lang:di(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(()=>ja),"text-size":()=>Promise.resolve().then(()=>Oa),"keyboard-nav":()=>Promise.resolve().then(()=>Ba),"link-highlight":()=>Promise.resolve().then(()=>Wa),"reading-guide":()=>Promise.resolve().then(()=>Da),"reading-mask":()=>Promise.resolve().then(()=>Ka),"animation-stop":()=>Promise.resolve().then(()=>Ra),"hide-images":()=>Promise.resolve().then(()=>qa),"big-cursor":()=>Promise.resolve().then(()=>Ua),"page-structure":()=>Promise.resolve().then(()=>Va),tts:()=>Promise.resolve().then(()=>Ya),"text-simplify":()=>Promise.resolve().then(()=>Xa),"alt-text":()=>Promise.resolve().then(()=>Sa)};let c,l=Yt(an(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),d=Yt(an(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=Ot(()=>new Set(t.config.features)),f=Ot(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function p(e){const t=lr[e];return t?t():""}function h(e,n){if(!n)return;const i=n.getState();"contrast"===e&&Zt(l,"light"===i.value||"dark"===i.value||"high"===i.value?i.value:"off",!0),"text-size"===e&&(Zt(d,"number"==typeof i.value?i.value:100,!0),t.ontextsize?.(di(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?Tr(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 zr(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 zr(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 zr(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""}}}(i.siteKey,i.proxyUrl):Tr(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 null}var i}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of o)try{e.deactivate()}catch{}Zt(l,"off"),Zt(d,100),t.ontextsize?.(100)});let m=Ot(()=>t.config.features.filter(e=>!i.has(e)&&n[e]).map(e=>n[e]));An(()=>{t.config.features.join("|"),di(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&&Zt(l,"off"),"text-size"===n&&Zt(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 y=Fr(),v=yn(y),b=e=>{var n=Nr(),i=mn(n),a=mn(i);Ki(a,()=>p("contrast"),!0);var o=mn(vn(a,2));Oi(vn(i,2),21,()=>r,Pi,(e,n)=>{var i=Lr(),r=mn(i),a=e=>{Ti(e,$r())},o=e=>{var t=_r();Ki(t,()=>di(n).icon,!0),Ti(e,t)};Ni(r,e=>{di(l)===di(n).id?e(a):e(o,-1)});var s=mn(vn(r,2));Cn(e=>{Ji(i,"data-active",di(l)===di(n).id),Ji(i,"aria-pressed",di(l)===di(n).id),zi(s,e)},[()=>br(di(n).labelKey,t.config.lang)]),bi("click",i,()=>async function(e){const n=await g("contrast");if(n){if("off"===e)return n.deactivate(),Zt(l,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(l,e,!0),t.ontoggle("contrast",!0)}}(di(l)===di(n).id?"off":di(n).id)),Ti(e,i)}),Cn((e,t)=>{Ji(n,"aria-label",e),zi(o,t)},[()=>br("feature.contrast",t.config.lang),()=>br("feature.contrast",t.config.lang)]),Ti(e,n)},w=Ot(()=>di(u).has("contrast"));Ni(v,e=>{di(w)&&e(b)});var x=vn(v,2),k=e=>{var n=Or(),i=mn(n),r=mn(i);Ki(r,()=>p("text-size"),!0);var a=mn(vn(r,2));Oi(vn(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"}],Pi,(e,n)=>{var i=jr(),r=mn(i),a=e=>{Ti(e,Pr())},o=e=>{var t=Hr();Cn(()=>Gi(t,`font-size:${di(n).size??""};font-weight:700;line-height:1`)),Ti(e,t)};Ni(r,e=>{di(d)===di(n).pct?e(a):e(o,-1)});var s=mn(vn(r,2));Cn(()=>{Ji(i,"data-active",di(d)===di(n).pct),Ji(i,"aria-pressed",di(d)===di(n).pct),zi(s,di(n).label)}),bi("click",i,()=>async function(e){const n=await g("text-size");if(n){if(100===e)return n.deactivate(),Zt(d,100),t.ontoggle("text-size",!1),void t.ontextsize?.(100);n.getState().enabled||n.activate(),n.setState?.(e),Zt(d,e,!0),t.ontoggle("text-size",!0),t.ontextsize?.(e)}}(di(d)===di(n).pct?100:di(n).pct)),Ti(e,i)}),Cn((e,t)=>{Ji(n,"aria-label",e),zi(a,t)},[()=>br("feature.textSize",t.config.lang),()=>br("feature.textSize",t.config.lang)]),Ti(e,n)},S=Ot(()=>di(u).has("text-size"));Ni(x,e=>{di(S)&&e(k)});var A=vn(x,4),M=e=>{var n=Wr();Oi(n,21,()=>di(m),e=>e.id,(e,n)=>{const i=Ot(()=>t.activeFeatures.get(di(n).id)??!1);var r=Br(),a=mn(r),o=mn(a);Ki(o,()=>p(di(n).iconId),!0);var s=mn(vn(o,2)),c=vn(a,2);Cn((e,t,n,r)=>{Ji(a,"data-active",di(i)),Ji(a,"aria-checked",di(i)),Ji(a,"aria-label",e),zi(s,t),Ji(c,"aria-label",n),Ji(c,"title",r)},[()=>br(di(n).nameKey,t.config.lang),()=>br(di(n).nameKey,t.config.lang),()=>br(di(n).descKey,t.config.lang),()=>br(di(n).descKey,t.config.lang)]),bi("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)}(di(n).id)),Ti(e,r)}),Ti(e,n)};Ni(A,e=>{di(m).length>0&&e(M)}),Ti(e,y),et()}(G,{get config(){return di(e)},get activeFeatures(){return di(r)},ontoggle:function(e,t){di(r).set(e,t),Zt(r,new Map(di(r)),!0),b(),v(`${br(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,di(l))||e} ${br(t?"status.activated":"status.deactivated",di(l))}`)},ontextsize:function(e){}})}return function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en");var i=Kr(),r=mn(i),a=mn(r),o=vn(a,2),s=e=>{var i=Dr(),r=vn(yn(i),2),a=mn(r);Cn(e=>{Ji(r,"href",t.statementUrl),zi(a,e)},[()=>br("widget.statement",n())]),Ti(e,i)};Ni(o,e=>{t.statementUrl&&e(s)});var c=vn(r,2),l=vn(mn(c),2),d=mn(l);Cn((e,n)=>{Ji(a,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Ji(c,"aria-label",e),zi(d,n)},[()=>br("widget.close",n()),()=>br("widget.close",n())]),bi("click",c,function(...e){t.onclose?.apply(this,e)}),Ti(e,i),et()}(vn(P,2),{get lang(){return di(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Zi(L,e=>Zt(o,e),()=>di(o)),Cn((e,t)=>{zi($,di(c)),Ji(L,"aria-label",e),Ji(L,"aria-hidden",!di(i)),Ji(L,"dir",t),Gi(L,di(A)),Ji(j,"aria-expanded",di(u)),zi(W,`${(di(y)?.flag||"")??""} ${(di(y)?.label||di(l))??""}`),D=qi(F,0,"accessify-lang-chevron",0,D,{"accessify-lang-chevron--open":di(u)}),L.dir=L.dir},[()=>br("widget.title",di(l)),()=>vr(di(l))?"rtl":"ltr"]),bi("click",j,()=>{Zt(u,!di(u))}),Ti(e,T),et(I)}function da(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 .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\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 .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\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 .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\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 .accessify-lang-option:hover { background: var(--surface-hover); }\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 .accessify-accordion-option:hover { background: var(--surface-hover); }\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 .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\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 .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\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 .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\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 .accessify-card-info:hover { opacity: 1; color: var(--accent); }\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 .accessify-footer a:hover { text-decoration: underline; }\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 .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\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 }\n `}wi(["click"]);const ua="alt-texts";function fa(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 pa(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 ha(e){return e.currentSrc||e.src}function ga(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(ua)||e.createObjectStore(ua,{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 ma(e){const t=await ga();return t?new Promise(n=>{try{const i=t.transaction(ua,"readonly").objectStore(ua),r=i.get(fa(e));r.onsuccess=()=>{if(r.result?.altText)return void n(r.result.altText);const t=pa(e);if(t!==e){const e=i.get(fa(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 ya(e,t,n){const i=await ga();if(i)return new Promise(r=>{try{const a=i.transaction(ua,"readwrite");a.objectStore(ua).put({key:fa(e),src:e,altText:t,lang:n,createdAt:Date.now()}),a.oncomplete=()=>r(),a.onerror=()=>r()}catch{r()}})}const va="https://accessify-api.accessify.workers.dev";let ba="manual";function wa(e,t,n,i,r){try{const a=window.location.origin+window.location.pathname;fetch(`${t||va}/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 xa=!1;async function ka(e){if(xa)return 0;xa=!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||va,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(ba="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=pa(n);e!==n&&t.set(e,i),ya(n,i,r).catch(()=>{})}}const a=await async function(){const e=await ga(),t=new Map;return e?new Promise(n=>{try{const i=e.transaction(ua,"readonly").objectStore(ua).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=ha(e),i=pa(n),r=pa(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 Sa=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:ka,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 yr()||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(ha(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 y="data-accessify-badge",v="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(y))return;e.setAttribute(y,"1");const n=function(){let e=document.getElementById(v);return e||(e=document.createElement("div"),e.id=v,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(y,"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(y,"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"}),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 A(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function M(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 E(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 C(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=ha(t),o=await ma(n);if(o)g(t,o);else if("auto"===ba)try{const o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),ya(n,s,d()).catch(()=>{}),i&&wa(i,r,n,s,d()))}catch(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 ka({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=ha(e),i=await ma(n);i?g(e,i):t.push(e)}if(t.length){if("auto"!==ba)return window,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=ha(t),o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),ya(n,s,d()).catch(()=>{}),i&&wa(i,r,n,s,d()))}catch(n){}}))}s=!1}else s=!1}(),async function(){if(!e||!a)return;if("auto"!==ba)return void window;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=A(o);if(!t)continue;const s=await ma(t);if(s)M(o,s);else try{const n=E(o),s=await e.generateAltText(t,n,d());s&&a&&(M(o,s),ya(t,s,d()).catch(()=>{}),i&&wa(i,r,t,s,d()))}catch(n){}}}(),m(),S(),document.querySelectorAll("img").forEach(e=>{e.complete||C(e)});for(const e of[2e3,5e3,1e4])setTimeout(()=>{a&&(document.querySelectorAll("img").forEach(C),m(),S())},e);o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?C(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(C)}),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(v)?.remove(),document.querySelectorAll(`[${y}]`).forEach(e=>e.removeAttribute(y)),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"})),Aa=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","focus-highlight","auto-scan"]),Ma={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 Ea=null,Ca=null,Ia={...Ma};async function Ta(e={}){if(Ea)return;if(navigator.maxTouchPoints>0&&matchMedia("(pointer:coarse)").matches&&!matchMedia("(pointer:fine)").matches)return;const t=window.__accessify_dataConfig||{};Ia={...Ma,...t,...e};const n=Ia.siteKey||Ia.siteKey,i=Ia.proxyUrl||Ia.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||"");Ia={...Ma,...r,...t,...e}}Ia.features=(Ia.features||Ma.features).filter(e=>!Aa.has(e)),Ca=document.createElement("div"),Ca.id="accessify-root",Ca.setAttribute("role","complementary"),Ca.setAttribute("aria-label",br("widget.title",Ia.lang));const r=Ia.position||"bottom-right",a=r.includes("right"),o=r.includes("bottom");Ca.style.cssText=["position:fixed!important",o?"bottom:20px!important":"top:20px!important",a?"right:20px!important":"left:20px!important",`z-index:${Ia.zIndex||2147483647}!important`,"width:auto!important","height:auto!important","overflow:visible!important","contain:none!important","display:block!important"].join(";")+";";const s=Ca.attachShadow({mode:"open",delegatesFocus:!0}),c=new CSSStyleSheet;c.replaceSync(da(Ia)),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),Ea=function(e,{target:t,anchor:n,props:i={},events:r,context:a,intro:o=!0,transformError:s}){!function(){if(void 0===ln){ln=window,dn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;un=se(t,"firstChild").get,fn=se(t,"nextSibling").get,fe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),fe(n)&&(n.__t=void 0),te&&(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(sn(this[n])===e){Fe();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(sn(this[i])===e){Fe();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(sn(this[i])===e){Fe();break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=i,e.includes=r}}())}}();var c=void 0,l=function(){At.ensure();const o=xn(524352,()=>{var o=n??t.appendChild(pn());new _t(o,{pending:()=>{}},t=>{Qe({}),a&&(Ue.c=a),r&&(i.$$events=r),c=e(t,i)||{},et()},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=gi(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,ki,{passive:r}),a.set(i,1)):a.set(i,o+1)}}}};return d(ae(yi)),vi.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,ki),i.delete(e),0===i.size&&$i.delete(n)):i.set(e,r)}vi.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Pn(o,()=>{_n(o),t(void 0)}):(_n(o),t(void 0))})}();return _i.set(c,l),c}(la,{target:l,props:{config:Ia,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&&Ia&&(Ia.position=t,c.replaceSync(da(Ia)))});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(Ia,e.data.config||{}),c.replaceSync(da(Ia))),"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(Ca),ka(Ia).catch(()=>{}),Ia.onReady?.()}function za(){Ea&&(function(e){const t=_i.get(e);t?(_i.delete(e),t(void 0)):Promise.resolve()}(Ea),Ea=null),Ca?.remove(),Ca=null}function $a(e,...t){const n={init:e=>Ta(e),open:()=>Ea?.open?.(),close:()=>Ea?.close?.(),destroy:za};n[e]?.(...t)}window.__accessify_exec=$a;const _a=window.Accessify;_a?.q&&(_a.q.forEach(e=>$a(...e)),_a.q=[]);const La=function(e,...t){$a(e,...t)};La._loaded=!0,Object.defineProperty(La,"config",{get:()=>Ia,enumerable:!0}),window.Accessify=La,window.A11yPlus=La;const Na={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)"}},Pa=":not(#accessify-root):not(#accessify-root *)",Ha="data-a11y-bg",ja=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=Na[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 *${Pa} {\n background-color: transparent !important;\n background-image: none !important;\n }\n \n body *${Pa} {\n color: ${t.text} !important;\n }\n body :where(h1, h2, h3, h4, h5, h6, strong, b, th)${Pa} {\n color: ${t.textStrong} !important;\n }\n \n body :where(a)${Pa} {\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)${Pa} {\n color: ${t.linkVisited} !important;\n }\n body :where(a:hover, a:focus)${Pa} {\n opacity: 0.85 !important;\n }\n \n body :where(input, textarea, select)${Pa} {\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"])${Pa} {\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])${Pa}: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)${Pa} {\n border-color: ${t.borderContent} !important;\n }\n `+(t.imgFilter?`\n body :where(img, video, picture)${Pa} {\n filter: ${t.imgFilter} !important;\n }\n `:"")+(n?`\n body :where(::placeholder)${Pa} {\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)${Pa} {\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"})),Oa=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"})),Ba=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 yr()}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 y(){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 v(){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(y(),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",br("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;">${br("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;">${br("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${br("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;">${br("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;">${br("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;">${br("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;">${br("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;">${br("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">${br("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(),y(),a=-1,o=-1,v()},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=br("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)}(),v(),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"})),Wa=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},Da=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"})),Ka=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=e.clientY,a=i/2,o=Math.max(0,r-a),s=Math.max(0,window.innerHeight-r-a);t.style.height=o+"px",n.style.height=s+"px"}function a(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",r),document.addEventListener("keydown",a)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("keydown",a),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"})),Ra=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 y(){document.querySelectorAll("img").forEach(m)}function v(){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)}),y(),v(),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(),y(),v())}),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(),y())},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"})),qa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,i=null;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, svg:not([aria-hidden="true"]), video, canvas,\n [role="img"], figure {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* CSS background-images (inline styles) */\n [style*="background-image"] {\n background-image: 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("*");for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==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&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll("*").forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==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 Ga(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 Ua=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",i="accessify-big-cursor",r={48:Ga(48),64:Ga(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"})),Va=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 yr()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",br("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-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="${br("widget.close",l())}">×</button>\n <h3>${br("pageStructure.title",l())}</h3>\n `;e.length>0&&(a+=`<div class="ps-section"><div class="ps-label">${br("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">${br("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">${br("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"})),Ja={speed:1},Ya=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Ja},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,v(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,v(),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(),y()}function y(){if(c>=s.length)return r=!1,a=!1,v(),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(()=>y(),100):(r=!1,a=!1,v(),x()))},2e4),e.onend=()=>{i(),c++,c<s.length&&r?setTimeout(()=>y(),50):(r=!1,a=!1,v(),x())},e.onerror=e=>{i(),"interrupted"!==e.error&&"canceled"!==e.error&&(c++,c<s.length&&r)?setTimeout(()=>y(),100):(r=!1,a=!1,v(),x())},speechSynthesis.speak(e)}function v(){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??Ja.speed))}catch{t={...Ja}}}(),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=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",gap:"6px",padding:"6px 14px",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=document.createElement("span");p.className="accessify-tts-hint",p.textContent="Click any text to read it aloud",Object.assign(p.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap"});const h=document.createElement("span");return Object.assign(h.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),h.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(p),e.appendChild(h),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),v(),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"})),Xa=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",y="accessify-simplify-overrides",v="blocks";function b(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(v)||e.createObjectStore(v)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function w(e){try{const t=await b();return new Promise(n=>{const i=t.transaction(v,"readonly").objectStore(v).get(e);i.onsuccess=()=>n(i.result??null),i.onerror=()=>n(null)})}catch{return null}}async function x(e,t){try{(await b()).transaction(v,"readwrite").objectStore(v).put(t,e)}catch{}}function k(e){return`${window.location.origin+window.location.pathname}:simplify:${r}:${e}`}const S=["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(", "),A=/^(Bild|Foto|Photo|Image|Fotocredit|Credit|Text|Autor|Author|Quelle|Source|Copyright|©|\(c\))\s*[:·\-–—]/i;function M(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 E(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 C(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 I(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function T(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 z(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=I(e);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:t}:($(t),{safe:!1,patches:[]})}function $(e){for(const t of e)t.el.style[t.property]=t.originalValue}function _(e,t,n){const i=e.innerHTML,r=C(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=C(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=I(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=T(e);if(!n)return{safe:!0,patches:[]};const i=I(n);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:[]}:z(n,t)}const i=T(e);return i?z(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),c++,!1}return e.setAttribute(h,"true"),e.setAttribute(g,i),n&&e.setAttribute(m,n),a.push({el:e,originalHtml:i,savedTextNodes:r,ancestorPatches:s}),l?.observe(e),setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),!0}function L(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.ancestorPatches),l?.unobserve(e.el),a=a.filter(t=>t.el!==e.el)}const N=new Map;function P(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 H=[];let j=null;const O=new Set;function B(e,t,n,i,a,o){O.has(t)||(O.add(t),H.push({blockHash:t,originalText:n,result:i,selector:a}),j&&clearTimeout(j),j=setTimeout(()=>function(e,t){if(0===H.length)return;const n=t||"https://accessify-api.accessify.workers.dev",i=window.location.origin+window.location.pathname,a=H.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=>{e.ok&&window}).catch(e=>{})}(e,o),2e3))}function W(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function F(e){e.style.opacity="",e.style.transition=""}function D(e,t){K()}function K(){s?.remove(),s=null,document.getElementById("accessify-autospin-style")?.remove()}const R="accessify-ai-disclaimer";function q(){if(document.getElementById(R))return;const e=t.startsWith("de")?"KI-vereinfachter Text":"AI-simplified text",n=document.createElement("div");n.id=R,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 G(){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&&A.test(r))return;if(t.has(i))return;if(i.closest(S)&&i.querySelectorAll("p, li, dd, dt, summary").length>1)return void window;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=new AbortController,a=[],c=0,function(){if(document.getElementById(y))return;const e=window.getComputedStyle(document.body),t=e.fontSize||"16px",n=e.fontFamily||"sans-serif",i=document.querySelector("p:not(#accessify-root p)");let r=t,a=n;if(i){const e=window.getComputedStyle(i);r=e.fontSize||t,a=e.fontFamily||n}const o=document.createElement("style");o.id=y,o.textContent=[`[${h}],[${h}] *{text-transform:none!important}`,`h1[${h}],h1[${h}] *,h2[${h}],h2[${h}] *,h3[${h}],h3[${h}] *,h4[${h}],h4[${h}] *,h5[${h}],h5[${h}] *,h6[${h}],h6[${h}] *{font-size:${r}!important;font-weight:normal!important;line-height:1.5!important;font-family:${a}!important;letter-spacing:normal!important}`].join("\n"),document.head.appendChild(o)}(),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=T(e);if(i){const e=I(i);e.scrollHeight>e.clientHeight+2&&(L(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.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")&&(l?.unobserve(e.el),e.el.removeAttribute(h),e.el.removeAttribute(g),e.el.removeAttribute(m),$(e.ancestorPatches),a=a.filter(e=>e.el!==n))}}}}),d.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:i,proxyUrl:f}=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 p=0,C=n;const z=new Set;if(window,i){const e=await async function(e,t){const n=`${e}:${r}`;if(N.has(n))return N.get(n);const i=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${r}`;try{const e=await fetch(i,{cache:"no-cache"});if(!e.ok)return N.set(n,null),null;const t=await e.json();u="auto"===t.siteMode?"auto":"manual";const r=t.blocks?.length?t:null;return N.set(n,r),r}catch{return N.set(n,null),null}}(i,f);if(e?.blocks?.length){await async function(){try{const e=(await b()).transaction(v,"readwrite").objectStore(v),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{}}();const t=function(e,t){const n=[],i=[],r=[],a=new Map,o=new Map;for(const s of e.blocks)a.set(s.blockHash,s),s.selector&&o.set(s.selector,s);for(const s of t){const e=s.dataset.accessifyOriginal||s.textContent?.trim()||"",t=M(e),c=a.get(t);if(c?.result){_(s,c.result,t)?n.push(s):i.push(s);continue}let l;for(const[n,i]of o)try{if(s.matches(n)||s.closest(n)===s){l=i;break}}catch{}l?.result&&l.originalText?E(e,l.originalText)<=3?_(s,l.result,t)?n.push(s):i.push(s):r.push(s):i.push(s)}return{applied:n,remaining:i,stale:r}}(e,n);p=t.applied.length;for(const e of t.stale)z.add(e);C=[...t.stale,...t.remaining];for(const n of e.blocks)n.result&&x(k(n.blockHash),n.result);if(0===C.length)return void D()}}{const e=[];for(const t of C){const n=t.dataset.accessifyOriginal||t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const i=M(n),r=await w(k(i));r&&_(t,r,i)?p++:e.push(t)}if(C=e,0===C.length)return void D()}if((p>0||i&&z.size>0)&&C.length>0){const e=C.filter(e=>!z.has(e));for(const t of e)F(t);if(C=C.filter(e=>z.has(e)),0===C.length)return D(),void q()}else if("auto"!==u&&C.length>0){z.size>0&&(c+=z.size);for(const e of C)F(e);return void(p>0?(D(),q()):K())}if(!e&&C.length>0)return z.size>0&&(c+=z.size),void(p>0?D():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(()=>K(),5e3)}}(t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured"));for(const e of C)W(e);let H=p;const j=e=>z.has(e);for(const a of C){if(o.signal.aborted)break;const n=a.dataset.accessifyOriginal||a.textContent?.trim()||"";if(n.length<20){F(a);continue}if(n.length<60&&A.test(n)){F(a),c++;continue}const s=M(n);try{const c=await e.simplifyText(n,r,t);if(o?.signal.aborted)return;c&&c!==n&&_(a,c,s)&&(H++,x(k(s),c),i&&B(i,s,n,c,P(a),f))}catch(O){if(O?.message?.includes("401")||O?.message?.includes("403")){for(const e of C)j(e)&&!e.hasAttribute(h)&&c++;F(a);break}if(O?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const c=await e.simplifyText(n,r,t);if(o?.signal.aborted)return;c&&c!==n&&_(a,c,s)&&(H++,x(k(s),c),i&&B(i,s,n,c,P(a),f))}catch{j(a)&&c++}}else j(a)&&c++}finally{F(a),o?.signal.aborted||await new Promise(e=>setTimeout(e,600))}}for(const e of C)F(e);o?.signal.aborted||(D(),(H>0||p>0)&&q())}function U(){l&&(l.disconnect(),l=null),d&&(d.disconnect(),d=null),f.clear();for(const{el:e,originalHtml:t,savedTextNodes:n,ancestorPatches:i}of a){if(n.length>0){let i=!0;for(const e of n)e.node.parentNode?e.node.data=e.original:i=!1;i||(e.innerHTML=t)}else e.innerHTML=t;e.removeAttribute(g),e.removeAttribute(h),e.removeAttribute(m),e.removeAttribute("data-accessify-replacing"),F(e),$(i)}document.getElementById(y)?.remove(),a=[],c=0}let V="",J=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(){V=location.href;const e=()=>{i&&location.href!==V&&(V=location.href,window,o?.abort(),U(),K(),setTimeout(()=>{i&&G()},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()},J=()=>{window.removeEventListener("popstate",e),history.pushState=t,history.replaceState=n}}(),G())},deactivate:function(){i=!1,o?.abort(),o=null,J?.(),J=null,U(),K(),document.getElementById(R)?.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"}));return e.destroy=za,e.init=Ta,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
|
|
1
|
+
var Accessify=function(e){"use strict";var t,n,i,r,a,o,s,c,l,d,u,f,p,h,g,m,y,v,b,w,x,k,S,A,M,E,C,T,I,z,$,_,L,N,P,H,O,j,B,W,F,D,K,R,q,G=Object.defineProperty,U=e=>{throw TypeError(e)},V=(e,t,n)=>((e,t,n)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),J=(e,t,n)=>t.has(e)||U("Cannot "+n),Y=(e,t,n)=>(J(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>t.has(e)?U("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,i)=>(J(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Q=(e,t,n)=>(J(e,t,"access private method"),n);const ee=globalThis.process?.env?.NODE_ENV,te=ee&&!ee.toLowerCase().startsWith("prod");var ne=Array.isArray,ie=Array.prototype.indexOf,re=Array.prototype.includes,ae=Array.from,oe=Object.defineProperty,se=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyDescriptors,le=Object.prototype,de=Array.prototype,ue=Object.getPrototypeOf,fe=Object.isExtensible;const pe=()=>{};function he(){var e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}const ge=32,me=512,ye=1024,ve=2048,be=4096,we=8192,xe=16384,ke=32768,Se=1<<25,Ae=65536,Me=1<<17,Ee=1<<19,Ce=1<<25,Te=65536,Ie=1<<21,ze=1<<23,$e=Symbol("$state"),_e=Symbol("legacy props"),Le=Symbol(""),Ne=Symbol("proxy path"),Pe=new class extends Error{constructor(){super(...arguments),V(this,"name","StaleReactionError"),V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function He(e,t,n){if(te){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 Oe(e,t,n){if(te){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 je=Symbol(),Be=Symbol("filename"),We="http://www.w3.org/1999/xhtml";function Fe(e){}function De(e){return e===this.v}function Ke(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function Re(e,t){return e.label=t,qe(e.v,t),e}function qe(e,t){return e?.[Ne]?.(t),e}function Ge(e,t){if(!te)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(te){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 Ue=null;function Ve(e){Ue=e}let Je=null;function Ye(e){Je=e}let Xe=null;function Ze(e){Xe=e}function Qe(e,t=!1,n){Ue={p:Ue,i:!1,c:null,e:null,s:e,x:null,r:Gn,l:null},te&&(Ue.function=n,Xe=n)}function et(e){var t=Ue,n=t.e;if(null!==n)for(var i of(t.e=null,n))Mn(i);return void 0!==e&&(t.x=e),t.i=!0,Ue=t.p,te&&(Xe=Ue?.function??null),e??{}}let tt=[];function nt(e){if(0===tt.length){var t=tt;queueMicrotask(()=>{t===tt&&function(){var e=tt;tt=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}tt.push(e)}const it=new WeakMap;function rt(e){var t=Gn;if(null===t)return Kn.f|=ze,e;if(te&&e instanceof Error&&!it.has(e)&&it.set(e,function(e,t){const n=se(e,"message");if(!n||n.configurable){for(var i=dn?" ":"\t",r=`\n${i}in ${t.fn?.name||"<unknown>"}`,a=t.ctx;null!==a;)r+=`\n${i}in ${a.function?.[Be].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&ke)&&!(4&t.f))throw te&&!t.parent&&e instanceof Error&&ot(e),e;at(e,t)}function at(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&ke))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw te&&e instanceof Error&&ot(e),e}function ot(e){const t=it.get(e);t&&(oe(e,"message",{value:t.message}),oe(e,"stack",{value:t.stack}))}const st=-7169;function ct(e,t){e.f=e.f&st|t}function lt(e){ct(e,0!==(e.f&me)||null===e.deps?ye:be)}function dt(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&Te)&&(t.f^=Te,dt(t.deps))}function ut(e,t,n){0!==(e.f&ve)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ye)}let ft=!1;const pt=new Set;let ht=null,gt=null,mt=null,yt=!1,vt=null,bt=null;var wt=0,xt=te?new Set:null;let kt=1;const St=class e{constructor(){X(this,u),V(this,"id",kt++),V(this,"current",new Map),V(this,"previous",new Map),X(this,t,new Set),X(this,n,new Set),X(this,i,0),X(this,r,0),X(this,a,null),X(this,o,[]),X(this,s,new Set),X(this,c,new Set),X(this,l,new Map),V(this,"is_fork",!1),X(this,d,!1)}skip_effect(e){Y(this,l).has(e)||Y(this,l).set(e,{d:[],m:[]})}unskip_effect(e){var t=Y(this,l).get(e);if(t){for(var n of(Y(this,l).delete(e),t.d))ct(n,ve),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===je||this.previous.has(e)||this.previous.set(e,t),0===(e.f&ze)&&(this.current.set(e,e.v),gt?.set(e,e.v))}activate(){ht=this}deactivate(){ht=null,gt=null}flush(){var e=te?new Set:null;try{yt=!0,ht=this,Q(this,u,p).call(this)}finally{if(wt=0,mt=null,vt=null,bt=null,yt=!1,ht=null,gt=null,Gt.clear(),te)for(const t of e)t.updated=null}}discard(){for(const e of Y(this,n))e(this);Y(this,n).clear()}increment(e){Z(this,i,Y(this,i)+1),e&&Z(this,r,Y(this,r)+1)}decrement(e,t){Z(this,i,Y(this,i)-1),e&&Z(this,r,Y(this,r)-1),Y(this,d)||t||(Z(this,d,!0),nt(()=>{Z(this,d,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)Y(this,s).add(n);for(const n of t)Y(this,c).add(n);e.clear(),t.clear()}oncommit(e){Y(this,t).add(e)}ondiscard(e){Y(this,n).add(e)}settled(){return(Y(this,a)??Z(this,a,he())).promise}static ensure(){if(null===ht){const t=ht=new e;yt||(pt.add(ht),nt(()=>{ht===t&&t.flush()}))}return ht}apply(){gt=null}schedule(e){if(mt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&ke))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===vt||t!==Gn||null!==Kn&&2&Kn.f))return;if(96&n){if(0===(n&ye))return;t.f^=ye}}Y(this,o).push(t)}}};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 WeakMap,u=new WeakSet,f=function(){return this.is_fork||Y(this,r)>0},p=function(){var e;if(wt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of ht.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());}try{!function(){if(te){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){te&&oe(n,"stack",{value:""}),at(n,mt)}}()),!Q(this,u,f).call(this)){for(const e of Y(this,s))Y(this,c).delete(e),ct(e,ve),this.schedule(e);for(const e of Y(this,c))ct(e,be),this.schedule(e)}const n=Y(this,o);Z(this,o,[]),this.apply();var r=vt=[],d=[],y=bt=[];for(const t of n)try{Q(this,u,h).call(this,t,r,d)}catch(w){throw $t(t),w}if(ht=null,y.length>0){var v=St.ensure();for(const e of y)v.schedule(e)}if(vt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,g).call(this,d),Q(this,u,g).call(this,r);for(const[e,t]of Y(this,l))zt(e,t)}else{0===Y(this,i)&&pt.delete(this),Y(this,s).clear(),Y(this,c).clear();for(const e of Y(this,t))e(this);Y(this,t).clear(),Et(d),Et(r),Y(this,a)?.resolve()}var b=ht;if(Y(this,o).length>0){const e=b??(b=this);Y(e,o).push(...Y(this,o).filter(t=>!Y(e,o).includes(t)))}if(null!==b){if(pt.add(b),te)for(const e of this.current.keys())xt.add(e);Q(e=b,u,p).call(e)}pt.has(this)||Q(this,u,m).call(this)},h=function(e,t,n){e.f^=ye;for(var i=e.first;null!==i;){var r=i.f,a=!!(96&r);if(!(a&&0!==(r&ye)||0!==(r&we)||Y(this,l).has(i))&&null!==i.fn){a?i.f^=ye:4&r?t.push(i):ri(i)&&(!!(16&r)&&Y(this,c).add(i),li(i));var o=i.first;if(null!==o){i=o;continue}}for(;null!==i;){var s=i.next;if(null!==s){i=s;break}i=i.parent}}},g=function(e){for(var t=0;t<e.length;t+=1)ut(e[t],Y(this,s),Y(this,c))},m=function(){var e;for(const l of pt){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){te&&Ge(0===Y(l,o).length,"Batch has scheduled roots"),l.activate();var r=new Set,a=new Map;for(var s of n)Ct(s,i,r,a);if(Y(l,o).length>0){for(var c of(l.apply(),Y(l,o)))Q(e=l,u,h).call(e,c,[],[]);Z(l,o,[])}l.deactivate()}}}};let At=St,Mt=null;function Et(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var i=e[n++];if(!(24576&i.f)&&ri(i)&&(Mt=new Set,li(i),null===i.deps&&null===i.first&&null===i.nodes&&null===i.teardown&&null===i.ac&&Nn(i),Mt?.size>0)){Gt.clear();for(const e of Mt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Mt.has(n)&&(Mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||li(n)}}Mt.clear()}}Mt=null}}function Ct(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?Ct(r,t,n,i):4194320&e&&0===(e&ve)&&Tt(r,t,i)&&(ct(r,ve),It(r))}}function Tt(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(re.call(t,r))return!0;if(2&r.f&&Tt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function It(e){ht.schedule(e)}function zt(e,t){if(0===(e.f&ge)||0===(e.f&ye)){0!==(e.f&ve)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ye);for(var n=e.first;null!==n;)zt(n,t),n=n.next}}function $t(e){ct(e,ye);for(var t=e.first;null!==t;)$t(t),t=t.next}class _t{constructor(e,t,n,i){X(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),X(this,y),X(this,v,null),X(this,b),X(this,w),X(this,x),X(this,k,null),X(this,S,null),X(this,A,null),X(this,M,null),X(this,E,0),X(this,C,0),X(this,T,!1),X(this,I,new Set),X(this,z,new Set),X(this,$,null),X(this,_,function(e){let t,n=0,i=Jt(0);return te&&Re(i,"createSubscriber version"),()=>{kn()&&(di(i),En(()=>(0===n&&(t=pi(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(i))})})))}}(()=>(Z(this,$,Jt(Y(this,E))),te&&Re(Y(this,$),"$effect.pending()"),()=>{Z(this,$,null)}))),Z(this,y,e),Z(this,b,t),Z(this,w,e=>{var t=Gn;t.b=this,t.f|=128,n(e)}),this.parent=Gn.b,this.transform_error=i??this.parent?.transform_error??(e=>e),Z(this,x,Tn(()=>{Q(this,L,N).call(this)},589824))}defer_effect(e){ut(e,Y(this,I),Y(this,z))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Y(this,b).pending}update_pending_count(e,t){Q(this,L,O).call(this,e,t),Z(this,E,Y(this,E)+e),Y(this,$)&&!Y(this,T)&&(Z(this,T,!0),nt(()=>{Z(this,T,!1),Y(this,$)&&Qt(Y(this,$),Y(this,E))}))}get_effect_pending(){return Y(this,_).call(this),di(Y(this,$))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(_n(Y(this,k)),Z(this,k,null)),Y(this,S)&&(_n(Y(this,S)),Z(this,S,null)),Y(this,A)&&(_n(Y(this,A)),Z(this,A,null));var i=!1,r=!1;const a=()=>{i||(i=!0,r&&function(){if(te){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!==Y(this,A)&&Pn(Y(this,A),()=>{Z(this,A,null)}),Q(this,L,H).call(this,()=>{Q(this,L,N).call(this)}))},o=e=>{try{r=!0,t?.(e,a),r=!1}catch(i){at(i,Y(this,x)&&Y(this,x).parent)}n&&Z(this,A,Q(this,L,H).call(this,()=>{try{return In(()=>{var t=Gn;t.b=this,t.f|=128,n(Y(this,y),()=>e,()=>a)})}catch(i){return at(i,Y(this,x).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void at(n,Y(this,x)&&Y(this,x).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>at(e,Y(this,x)&&Y(this,x).parent)):o(t)})}}function Lt(e=!0){Un(null),qn(null),Ve(null),e&&ht?.deactivate(),te&&Ye(null)}function Nt(){var e=Gn.b,t=ht,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)}}y=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,A=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,T=new WeakMap,I=new WeakMap,z=new WeakMap,$=new WeakMap,_=new WeakMap,L=new WeakSet,N=function(){try{if(this.is_pending=this.has_pending_snippet(),Z(this,C,0),Z(this,E,0),Z(this,k,In(()=>{Y(this,w).call(this,Y(this,y))})),Y(this,C)>0){var e=Z(this,M,document.createDocumentFragment());Bn(Y(this,k),e);const t=Y(this,b).pending;Z(this,S,In(()=>t(Y(this,y))))}else Q(this,L,P).call(this,ht)}catch(t){this.error(t)}},P=function(e){this.is_pending=!1,e.transfer_effects(Y(this,I),Y(this,z))},H=function(e){var t=Gn,n=Kn,i=Ue;Un(Y(this,x)),qn(Y(this,x)),Ve(Y(this,x).ctx);try{return At.ensure(),e()}catch(r){return rt(r),null}finally{Un(t),qn(n),Ve(i)}},O=function(e,t){var n;this.has_pending_snippet()?(Z(this,C,Y(this,C)+e),0===Y(this,C)&&(Q(this,L,P).call(this,t),Y(this,S)&&Pn(Y(this,S),()=>{Z(this,S,null)}),Y(this,M)&&(Y(this,y).before(Y(this,M)),Z(this,M,null)))):this.parent&&Q(n=this.parent,L,O).call(n,e,t)};const Pt=new Set;function Ht(e){var t=null!==Kn&&2&Kn.f?Kn:null;return null!==Gn&&(Gn.f|=Ee),{ctx:Ue,deps:null,effects:null,equals:De,f:2050,fn:e,reactions:null,rv:0,v:je,wv:0,parent:t??Gn,ac:null}}function Ot(e,t,n){let i=Gn;null===i&&function(){if(te){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=Jt(je);te&&(a.label=t);var o=!Kn,s=new Map;return function(e){xn(4718592,e)}(()=>{var t=Gn,n=he();r=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Lt)}catch(u){n.reject(u),Lt()}var c=ht;if(o){if(0!==(t.f&ke))var l=Nt();if(i.b.is_rendered())s.get(c)?.reject(Pe),s.delete(c);else{for(const e of s.values())e.reject(Pe);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===Pe),n!==Pe&&0===(t.f&xe)){if(c.activate(),n)a.f|=ze,Qt(a,n);else{0!==(a.f&ze)&&(a.f^=ze),Qt(a,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(Pe)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),Sn(()=>{for(const e of s.values())e.reject(Pe)}),te&&(a.f|=4194304),new Promise(e=>{!function t(n){function i(){n===r?e(a):t(r)}n.then(i,i)}(r)})}function jt(e){const t=Ht(e);return Jn(t),t}function Bt(e){const t=Ht(e);return t.equals=Ke,t}function Wt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)_n(t[n])}}let Ft=[];function Dt(e){var t,n=Gn;if(Un(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&xe)?t:null;t=t.parent}return null}(e)),te){let i=qt;Ut(new Set);try{re.call(Ft,e)&&function(){if(te){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")}(),Ft.push(e),e.f&=-65537,Wt(e),t=oi(e)}finally{Un(n),Ut(i),Ft.pop()}}else try{e.f&=-65537,Wt(e),t=oi(e)}finally{Un(n)}return t}function Kt(e){var t=e.v,n=Dt(e);e.equals(n)||(e.wv=ii(),ht?.is_fork&&null!==e.deps||(e.v=n,ht?.capture(e,t),null!==e.deps))?Fn||(null!==gt?(kn()||ht?.is_fork)&>.set(e,n):lt(e)):ct(e,ye)}function Rt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&li(t)}let qt=new Set;const Gt=new Map;function Ut(e){qt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:De,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Jn(n),n}function Xt(e,t=!1,n=!0){const i=Jt(e);return t||(i.equals=Ke),i}function Zt(e,t,n=!1){null===Kn||Rn&&0===(Kn.f&Me)||!(4325394&Kn.f)||null!==Vn&&re.call(Vn,e)||function(){if(te){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?an(t):t;return te&&qe(i,e.label),Qt(e,i,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var i=e.v;Gt.set(e,Fn?t:i),e.v=t;var r=At.ensure();if(r.capture(e,i),te){if(null!==Gn){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"),oe(e,"stack",{value:t.join("\n")}),oe(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!==Gn&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&ve)&&Dt(t),null===gt&<(t)}e.wv=ii(),nn(e,ve,n),null===Gn||0===(Gn.f&ye)||96&Gn.f||(null===Zn?function(e){Zn=e}([e]):Zn.push(e)),!r.is_fork&&qt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of qt)0!==(e.f&ye)&&ct(e,be),ri(e)&&li(e);qt.clear()}function tn(e){Zt(e,e.v+1)}function nn(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(te&&0!==(s&Me))qt.add(o);else{var c=0===(s&ve);if(c&&ct(o,t),2&s){var l=o;gt?.delete(l),0===(s&Te)&&(s&me&&(o.f|=Te),nn(l,be,n))}else if(c){var d=o;!!(16&s)&&null!==Mt&&Mt.add(d),null!==n?n.push(d):It(d)}}}}const rn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function an(e){if("object"!=typeof e||null===e||$e in e)return e;const t=ue(e);if(t!==le&&t!==de)return e;var n=new Map,i=ne(e),r=Yt(0),a=ti,o=e=>{if(ti===a)return e();var t=Kn,n=ti;qn(null),ni(a);var i=e();return qn(t),ni(n),i};i&&(n.set("length",Yt(e.length)),te&&(e=new Proxy(e,{get(e,t,n){var i=Reflect.get(e,t,n);return cn.has(t)?function(...e){Vt=!0;var t=i.apply(this,e);return en(),t}:i}})));var s="";let c=!1;function l(e){if(!c){c=!0,Re(r,`${s=e} version`);for(const[e,t]of n)Re(t,on(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(te){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=Yt(i.value);return n.set(t,e),te&&"string"==typeof t&&Re(e,on(s,t)),e}):Zt(r,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=o(()=>Yt(je));n.set(t,e),tn(r),te&&Re(e,on(s,t))}}else Zt(i,je),tn(r);return!0},get(t,i,r){if(i===$e)return e;if(te&&i===Ne)return l;var a=n.get(i),c=i in t;if(void 0!==a||c&&!se(t,i)?.writable||(a=o(()=>{var e=Yt(an(c?t[i]:je));return te&&Re(e,on(s,i)),e}),n.set(i,a)),void 0!==a){var d=di(a);return d===je?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=di(r))}else if(void 0===i){var a=n.get(t),o=a?.v;if(void 0!==a&&o!==je)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===$e)return!0;var i=n.get(t),r=void 0!==i&&i.v!==je||Reflect.has(e,t);return!((void 0!==i||null!==Gn&&(!r||se(e,t)?.writable))&&(void 0===i&&(i=o(()=>{var n=Yt(r?an(e[t]):je);return te&&Re(n,on(s,t)),n}),n.set(t,i)),di(i)===je))&&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?Zt(f,je):u in e&&(f=o(()=>Yt(je)),n.set(u+"",f),te&&Re(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&Re(l,on(s,t)),Zt(l,an(a)),n.set(t,l)):(d=l.v!==je,Zt(l,o(()=>an(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&&Zt(h,g+1)}tn(r)}return!0},ownKeys(e){di(r);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==je});for(var[i,a]of n)a.v===je||i in e||t.push(i);return t},setPrototypeOf(){!function(){if(te){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 on(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:rn.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function sn(e){try{if(null!==e&&"object"==typeof e&&$e in e)return e[$e]}catch{}return e}const cn=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var ln,dn,un,fn;function pn(e=""){return document.createTextNode(e)}function hn(e){return un.call(e)}function gn(e){return fn.call(e)}function mn(e,t){return hn(e)}function yn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?gn(n):n}function vn(e,t=1,n=!1){let i=e;for(;t--;)i=gn(i);return i}function bn(e,t,n){return document.createElementNS(t??We,e,void 0)}function wn(e){var t=Kn,n=Gn;qn(null),Un(null);try{return e()}finally{qn(t),Un(n)}}function xn(e,t){var n=Gn;if(te)for(;null!==n&&0!==(n.f&Me);)n=n.parent;null!==n&&0!==(n.f&we)&&(e|=we);var i={ctx:Ue,deps:null,nodes:null,f:e|ve|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};te&&(i.component_function=Xe);var r=i;if(4&e)null!==vt?vt.push(i):At.ensure().schedule(i);else if(null!==t){try{li(i)}catch(a){throw _n(i),a}null===r.deps&&null===r.teardown&&null===r.nodes&&r.first===r.last&&0===(r.f&Ee)&&(r=r.first,16&e&&0!==(e&Ae)&&null!==r&&(r.f|=Ae))}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!==Kn&&2&Kn.f&&!(64&e))&&(Kn.effects??(Kn.effects=[])).push(r),i}function kn(){return null!==Kn&&!Rn}function Sn(e){const t=xn(8,null);return ct(t,ye),t.teardown=e,t}function An(e){var t;t="$effect",null===Gn&&(null===Kn&&function(e){if(te){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(te){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")}()),Fn&&function(e){if(te){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),te&&oe(e,"name",{value:"$effect"});var n=Gn.f;if(Kn||0===(n&ge)||0!==(n&ke))return Mn(e);(Ue.e??(Ue.e=[])).push(e)}function Mn(e){return xn(1048580,e)}function En(e,t=0){return xn(8|t,e)}function Cn(e,t=[],n=[],i=[]){!function(e,t,n,i){const r=Ht;var a=e.filter(e=>!e.settled);if(0!==n.length||0!==a.length){var o=Gn,s=function(){var e=Gn,t=Kn,n=Ue,i=ht;if(te)var r=Je;return function(a=!0){Un(e),qn(t),Ve(n),a&&0===(e.f&xe)&&(i?.activate(),i?.apply()),te&&Ye(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=Nt();c?c.then(()=>{s(),u(),Lt()}):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&xe)&&at(t,o)}Lt()}function u(){Promise.all(n.map(e=>Ot(e))).then(e=>d([...t.map(r),...e])).catch(e=>at(e,o)).finally(()=>l())}}(i,t,n,t=>{xn(8,()=>e(...t.map(di)))})}function Tn(e,t=0){var n=xn(16|t,e);return te&&(n.dev_stack=Je),n}function In(e){return xn(524320,e)}function zn(e){var t=e.teardown;if(null!==t){const e=Fn,n=Kn;Dn(!0),qn(null);try{t.call(null)}finally{Dn(e),qn(n)}}}function $n(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&wn(()=>{e.abort(Pe)});var i=n.next;64&n.f?n.parent=null:_n(n,t),n=i}}function _n(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Ln(e.nodes.start,e.nodes.end),n=!0),ct(e,Se),$n(e,t&&!n),ci(e,0);var i=e.nodes&&e.nodes.t;if(null!==i)for(const a of i)a.stop();zn(e),e.f^=Se,e.f|=xe;var r=e.parent;null!==r&&null!==r.first&&Nn(e),te&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Ln(e,t){for(;null!==e;){var n=e===t?null:gn(e);e.remove(),e=n}}function Nn(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 Pn(e,t,n=!0){var i=[];Hn(e,i,!0);var r=()=>{n&&_n(e),t&&t()},a=i.length;if(a>0){var o=()=>--a||r();for(var s of i)s.out(o)}else r()}function Hn(e,t,n){if(0===(e.f&we)){e.f^=we;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;Hn(r,t,!!(0!==(r.f&Ae)||0!==(r.f&ge)&&16&e.f)&&n),r=a}}}function On(e){jn(e,!0)}function jn(e,t){if(0!==(e.f&we)){e.f^=we,0===(e.f&ye)&&(ct(e,ve),At.ensure().schedule(e));for(var n=e.first;null!==n;){var i=n.next;jn(n,!(0===(n.f&Ae)&&0===(n.f&ge))&&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 Bn(e,t){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end;null!==n;){var r=n===i?null:gn(n);t.append(n),n=r}}let Wn=!1,Fn=!1;function Dn(e){Fn=e}let Kn=null,Rn=!1;function qn(e){Kn=e}let Gn=null;function Un(e){Gn=e}let Vn=null;function Jn(e){null!==Kn&&(null===Vn?Vn=[e]:Vn.push(e))}let Yn=null,Xn=0,Zn=null,Qn=1,ei=0,ti=ei;function ni(e){ti=e}function ii(){return++Qn}function ri(e){var t=e.f;if(0!==(t&ve))return!0;if(2&t&&(e.f&=-65537),0!==(t&be)){for(var n=e.deps,i=n.length,r=0;r<i;r++){var a=n[r];if(ri(a)&&Kt(a),a.wv>e.wv)return!0}0!==(t&me)&&null===gt&&ct(e,ye)}return!1}function ai(e,t,n=!0){var i=e.reactions;if(null!==i&&(null===Vn||!re.call(Vn,e)))for(var r=0;r<i.length;r++){var a=i[r];2&a.f?ai(a,t,!1):t===a&&(n?ct(a,ve):0!==(a.f&ye)&&ct(a,be),It(a))}}function oi(e){var t,n=Yn,i=Xn,r=Zn,a=Kn,o=Vn,s=Ue,c=Rn,l=ti;Yn=null,Xn=0,Zn=null,Kn=96&e.f?null:e,Vn=null,Ve(e.ctx),Rn=!1,ti=++ei,null!==e.ac&&(wn(()=>{e.ac.abort(Pe)}),e.ac=null);try{e.f|=Ie;var d=(0,e.fn)();e.f|=ke;var u=e.deps,f=ht?.is_fork;if(null!==Yn){var p;if(f||ci(e,Xn),null!==u&&Xn>0)for(u.length=Xn+Yn.length,p=0;p<Yn.length;p++)u[Xn+p]=Yn[p];else e.deps=u=Yn;if(kn()&&0!==(e.f&me))for(p=Xn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Xn<u.length&&(ci(e,Xn),u.length=Xn);if(!(null===Zn||Rn||null===u||6146&e.f))for(p=0;p<Zn.length;p++)ai(Zn[p],e);if(null!==a&&a!==e){if(ei++,null!==a.deps)for(let e=0;e<i;e+=1)a.deps[e].rv=ei;if(null!==n)for(const e of n)e.rv=ei;null!==Zn&&(null===r?r=Zn:r.push(...Zn))}return 0!==(e.f&ze)&&(e.f^=ze),d}catch(h){return rt(h)}finally{e.f^=Ie,Yn=n,Xn=i,Zn=r,Kn=a,Vn=o,Ve(s),Rn=c,ti=l}}function si(e,t){let n=t.reactions;if(null!==n){var i=ie.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===Yn||!re.call(Yn,t))){var a=t;0!==(a.f&me)&&(a.f^=me,a.f&=-65537),lt(a),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Pe),t.teardown=pe,t.ac=null,ci(t,0),$n(t))}(a),ci(a,0)}}function ci(e,t){var n=e.deps;if(null!==n)for(var i=t;i<n.length;i++)si(e,n[i])}function li(e){var t=e.f;if(0===(t&xe)){ct(e,ye);var n=Gn,i=Wn;if(Gn=e,Wn=!0,te){var r=Xe;Ze(e.component_function);var a=Je;Ye(e.dev_stack??Je)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&ge)&&_n(t),t=n}}(e):$n(e),zn(e);var o=oi(e);e.teardown="function"==typeof o?o:null,e.wv=Qn}finally{Wn=i,Gn=n,te&&(Ze(r),Ye(a))}}}function di(e){var t=!!(2&e.f);if(null!==Kn&&!Rn&&!(null!==Gn&&0!==(Gn.f&xe)||null!==Vn&&re.call(Vn,e))){var n=Kn.deps;if(0!==(Kn.f&Ie))e.rv<ei&&(e.rv=ei,null===Yn&&null!==n&&n[Xn]===e?Xn++:null===Yn?Yn=[e]:Yn.push(e));else{(Kn.deps??(Kn.deps=[])).push(e);var i=e.reactions;null===i?e.reactions=[Kn]:re.call(i,Kn)||i.push(Kn)}}if(te&&Pt.delete(e),Fn&&Gt.has(e))return Gt.get(e);if(t){var r=e;if(Fn){var a=r.v;return(0===(r.f&ye)&&null!==r.reactions||fi(r))&&(a=Dt(r)),Gt.set(r,a),a}var o=0===(r.f&me)&&!Rn&&null!==Kn&&(Wn||0!==(Kn.f&me)),s=0===(r.f&ke);ri(r)&&(o&&(r.f|=me),Kt(r)),o&&!s&&(Rt(r),ui(r))}if(gt?.has(e))return gt.get(e);if(0!==(e.f&ze))throw e.v;return e.v}function ui(e){if(e.f|=me,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&me)&&(Rt(t),ui(t))}function fi(e){if(e.v===je)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Gt.has(t))return!0;if(2&t.f&&fi(t))return!0}return!1}function pi(e){var t=Rn;try{return Rn=!0,e()}finally{Rn=t}}const hi=["touchstart","touchmove"];function gi(e){return hi.includes(e)}const mi=Symbol("events"),yi=new Set,vi=new Set;function bi(e,t,n){(t[mi]??(t[mi]={}))[e]=n}function wi(e){for(var t=0;t<e.length;t++)yi.add(e[t]);for(var n of vi)n(e)}let xi=null;function ki(e){var t=this,n=t.ownerDocument,i=e.type,r=e.composedPath?.()||[],a=r[0]||e.target;xi=e;var o=0,s=xi===e&&e[mi];if(s){var c=r.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[mi]=t);var l=r.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((a=r[o]||e.target)!==t){oe(e,"currentTarget",{configurable:!0,get:()=>a||n});var d=Kn,u=Gn;qn(null),Un(null);try{for(var f,p=[];null!==a;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[mi]?.[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[mi]=t,delete e.currentTarget,qn(d),Un(u)}}}const Si=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ai(e){var t=bn("template");return t.innerHTML=function(e){return Si?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Mi(e,t){null===Gn.nodes&&(Gn.nodes={start:e,end:t,a:null,t:null})}function Ei(e,t){var n,i=!!(1&t),r=!!(2&t),a=!e.startsWith("<!>");return()=>{void 0===n&&(n=Ai(a?e:"<!>"+e),i||(n=hn(n)));var t=r||dn?document.importNode(n,!0):n.cloneNode(!0);return i?Mi(hn(t),t.lastChild):Mi(t,t),t}}function Ci(e,t,n="svg"){var i,r=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!i){var e=Ai(r);i=hn(hn(e))}var t=i.cloneNode(!0);return Mi(t,t),t}}function Ti(e,t){return Ci(e,0,"svg")}function Ii(e,t){null!==e&&e.before(t)}function zi(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 _i=new WeakMap;class Li{constructor(e,t=!0){V(this,"anchor"),X(this,j,new Map),X(this,B,new Map),X(this,W,new Map),X(this,F,new Set),X(this,D,!0),X(this,K,e=>{if(Y(this,j).has(e)){var t=Y(this,j).get(e),n=Y(this,B).get(t);if(n)On(n),Y(this,F).delete(t);else{var i=Y(this,W).get(t);i&&(Y(this,B).set(t,i.effect),Y(this,W).delete(t),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[t,n]of Y(this,j)){if(Y(this,j).delete(t),t===e)break;const i=Y(this,W).get(n);i&&(_n(i.effect),Y(this,W).delete(n))}for(const[e,i]of Y(this,B)){if(e===t||Y(this,F).has(e))continue;const r=()=>{if(Array.from(Y(this,j).values()).includes(e)){var t=document.createDocumentFragment();Bn(i,t),t.append(pn()),Y(this,W).set(e,{effect:i,fragment:t})}else _n(i);Y(this,F).delete(e),Y(this,B).delete(e)};Y(this,D)||!n?(Y(this,F).add(e),Pn(i,r,!1)):r()}}}),X(this,R,e=>{Y(this,j).delete(e);const t=Array.from(Y(this,j).values());for(const[n,i]of Y(this,W))t.includes(n)||(_n(i.effect),Y(this,W).delete(n))}),this.anchor=e,Z(this,D,t)}ensure(e,t){var n=ht;!t||Y(this,B).has(e)||Y(this,W).has(e)||Y(this,B).set(e,In(()=>t(this.anchor))),Y(this,j).set(n,e),Y(this,K).call(this,n)}}function Ni(e,t,n=!1){var i=new Li(e);function r(e,t){i.ensure(e,t)}Tn(()=>{var e=!1;t((t,n=0)=>{e=!0,r(n,t)}),e||r(-1,null)},n?Ae:0)}function Pi(e,t){return t}function Hi(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|=Ce,Bn(a,document.createDocumentFragment())):_n(t[r],n)}}var Oi;function ji(e,t,n,i,r,a=null){var o,s=new Map;o=e.appendChild(pn());var c,l=null,d=Bt(()=>{var e=n();return ne(e)?e:null==e?[]:ae(e)}),u=new Map,f=!0,p={effect:Tn(()=>{for(var e=(c=di(d)).length,h=new Set,g=ht,m=0;m<e;m+=1){var y=c[m],v=i(y,m);if(te){var b=i(y,m);v!==b&&Oe(String(m),String(v),String(b))}var w=f?null:s.get(v);w?(w.v&&Qt(w.v,y),w.i&&Qt(w.i,m)):(w=Wi(s,f?o:Oi??(Oi=pn()),y,v,m,r,t,n),f||(w.e.f|=Ce),s.set(v,w)),h.add(v)}0===e&&a&&!l&&(f?l=In(()=>a(o)):(l=In(()=>a(Oi??(Oi=pn())))).f|=Ce),e>h.size&&(te?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),He(e,t,a)}n.set(i,r)}}(c,i):He("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&xe)&&(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=Bi(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&Ce)){if(s.f^=Ce,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),Di(e,f,s),Di(e,s,g),Fi(s,g,n),p=[],h=[],u=Bi((f=s).next);continue}Fi(s,null,n)}if(0!==(s.f&we)&&On(s),s!==u){if(void 0!==a&&a.has(s)){if(p.length<h.length){var m,y=h[0];f=y.prev;var v=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Fi(p[m],y,n);for(m=0;m<h.length;m+=1)a.delete(h[m]);Di(e,v.prev,b.next),Di(e,f,v),Di(e,b,y),u=y,f=b,c-=1,p=[],h=[]}else a.delete(s),Fi(s,u,n),Di(e,s.prev,s.next),Di(e,s,null===f?e.effect.first:f.next),Di(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(a??(a=new Set)).add(u),h.push(u),u=Bi(u.next);if(null===u)continue}0===(s.f&Ce)&&p.push(s),f=s,u=Bi(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Hi(e,ae(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&we)&&w.push(s);for(;null!==u;)0===(u.f&we)&&u!==e.fallback&&w.push(u),u=Bi(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];Pn(n,()=>{if(i){if(i.pending.delete(n),i.done.add(n),0===i.pending.size){var t=e.outrogroups;Hi(e,ae(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()}Hi(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&Ce)?On(l):(l.f^=Ce,Fi(l,null,o)):Pn(l,()=>{l=null})))}(g)),di(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Bi(e){for(;null!==e&&0===(e.f&ge);)e=e.next;return e}function Wi(e,t,n,i,r,a,o,s){var c=1&o?16&o?Jt(n):Xt(n,!1,!1):null,l=2&o?Jt(r):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:In(()=>(a(t,c??n,l??r,s),()=>{e.delete(i)}))}}function Fi(e,t,n){if(e.nodes)for(var i=e.nodes.start,r=e.nodes.end,a=t&&0===(t.f&Ce)?t.nodes.start:n;null!==i;){var o=gn(i);if(a.before(i),i===r)return;i=o}}function Di(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Ki(e,t,n=!1,i=!1,r=!1,a=!1){var o=e,s="";if(n)var c=e;Cn(()=>{var e=Gn;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&Mi(hn(c),c.lastChild));if(null!==e.nodes&&(Ln(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var a=bn(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(Mi(hn(l),l.lastChild),i||r)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}j=new WeakMap,B=new WeakMap,W=new WeakMap,F=new WeakMap,D=new WeakMap,K=new WeakMap,R=new WeakMap;const Ri=[..." \t\n\r\f \v\ufeff"];function qi(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&&!Ri.includes(i[o-1])||s!==i.length&&!Ri.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 Gi(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 Ui=Symbol("is custom element"),Vi=Symbol("is html");function Ji(e,t,n,i){var r=function(e){return e.__attributes??(e.__attributes={[Ui]:e.nodeName.includes("-"),[Vi]:e.namespaceURI===We})}(e);r[t]!==(r[t]=n)&&("loading"===t&&(e[Le]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,i=Yi.get(n);if(i)return i;Yi.set(n,i=[]);for(var r=e,a=Element.prototype;a!==r;){for(var o in t=ce(r))t[o].set&&i.push(o);r=ue(r)}return i}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Yi=new Map;function Xi(e,t){return e===t||e?.[$e]===t}function Zi(e={},t,n,i){var r=Ue.r,a=Gn;return xn(4,()=>{var i,o;return En(()=>{i=o,o=[],pi(()=>{e!==n(...o)&&(t(e,...o),i&&Xi(n(...i),e)&&t(null,...i))})}),()=>{let i=a;for(;i!==r&&null!==i.parent&&i.parent.f&Se;)i=i.parent;const s=i.teardown;i.teardown=()=>{o&&Xi(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?pi(i):i),o);let l;if(r){var d=$e in e||_e in e;l=se(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=ft;try{return ft=!1,[e[t],ft]}finally{ft=n}}():u=e[t],void 0===u&&void 0!==i&&(u=c(),l&&(function(e){if(te){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?Ht:Bt)(()=>(g=!1,f()));te&&(m.label=t),r&&di(m);var y=Gn;return function(e,t){if(arguments.length>0){const n=t?di(m):r?an(e):e;return Zt(m,n),g=!0,void 0!==o&&(o=n),e}return Fn&&g||0!==(y.f&xe)?m.v:di(m)}}if(te){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(te){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 er(e){null===Ue&&function(){if(te){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")}(),An(()=>{const t=pi(e);if("function"==typeof t)return t})}function tr(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 nr(){return tr('<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 ir(){return tr('<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 rr(){return tr('<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 ar(){return tr('<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 or(){return tr('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function sr(){return tr('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function cr(){return tr('<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&&((q=window.__svelte??(window.__svelte={})).v??(q.v=new Set)).add("5");const lr={accessibility:nr,contrast:function(){return tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return tr('<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:ir,tts:ir,brain:rr,ai:rr,image:ar,"alt-text":ar,keyboard:function(){return tr('<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 tr('<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 tr('<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:or,"close-x":or,reset:sr,chevron:function(){return tr('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return tr('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<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 tr('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return tr('<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 tr('<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 tr('<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:cr,profile:function(){return tr('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},dr={"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 ur(e){return{...dr,...e}}const fr={en:dr,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 pausieren","feature.animationStop.desc":"Alle Animationen und Videos pausieren","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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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:ur({"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":"방해 요소를 줄이고 집중력 향상"})},pr=[{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:"🇷🇺"}],hr=new Set(["ar","ur"]);let gr="en";function mr(e){if(!e)return"en";const t=e.toLowerCase();if(fr[t])return t;const n=t.split("-")[0];return fr[n]?n:"en"}function yr(){return gr}function vr(e){return hr.has(mr(e))}function br(e,t="en"){const n=mr(t);return fr[n]?.[e]||dr[e]||e}var wr=Ei("<button></button>"),xr=Ei('<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>');wi(["click"]);const kr=[{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 Sr=Ti('<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>'),Ar=Ei('<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>'),Mr=Ei('<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>');wi(["click"]);const Er="https://openrouter.ai/api/v1",Cr="google/gemini-2.0-flash-001";function Tr(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 Ir(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(`${Er}/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 zr("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return Tr(await o.json())},async generateAltText(n,i,r){const a=r&&!r.startsWith("en")?` Generate the alt text in ${r} language.`:"",o=await fetch(`${Er}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Cr,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 zr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return Tr(await o.json())},async describeImage(n,i){const r=i&&i.startsWith("de")?" Beschreibe auf Deutsch.":"",a=await fetch(`${Er}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Cr,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 zr("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${a.status}`)}return Tr(await a.json())}}}class zr extends Error{constructor(e){super(e),this.name="RateLimitError"}}var $r=Ei('<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>'),_r=Ei('<span class="accessify-chip-icon" aria-hidden="true"></span>'),Lr=Ei('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),Nr=Ei('<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>'),Pr=Ei('<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>'),Hr=Ei('<span aria-hidden="true">A</span>'),Or=Ei('<button class="accessify-chip accessify-chip--icon"><!> <span> </span></button>'),jr=Ei('<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>'),Br=Ei('<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>'),Wr=Ei('<div class="accessify-features"></div>'),Fr=Ei('<!> <!> <div class="accessify-section-divider"></div> <!>',1);wi(["click"]);var Dr=Ei('<span aria-hidden="true">·</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Kr=Ei('<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>');wi(["click"]);let Rr=[],qr=[],Gr=null,Ur=!1,Vr=null,Jr=!1,Yr=null,Xr="";const Zr=["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 ea=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function ta(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 na(e){let t=e.parentElement;for(;t&&t!==document.body;){if(ea.has(t.tagName))return t;t=t.parentElement}return null}async function ia(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 Zr){const n=i.getAttribute(e);n?.trim()&&t.push({el:i,attr:e,original:n})}return t}(),r=new Set(Rr.map(e=>e.node));for(const u of n)r.has(u)||Rr.push({node:u,original:u.data});const a=new Set(qr.map(e=>`${ra(e.el)}:${e.attr}`));for(const u of i){const e=`${ra(u.el)}:${u.attr}`;a.has(e)||qr.push(u)}const o=function(e){const t=[],n=new Set;for(const i of e){if(n.has(i))continue;const r=na(i);if(r&&ea.has(r.tagName)){const i=e.filter(e=>!n.has(e)&&na(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])}),Jr=!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)ta(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)}Jr=!1}function ra(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 aa=Ti('<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>'),oa=Ei('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),sa=Ei('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),ca=Ei('<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 la(e,t){Qe(t,!0);let n=Qi(t,"config",7),i=Yt(!1),r=Yt(an(new Map)),a=Yt("light"),o=Yt(null),s=Yt(null),c=Yt(""),l=Yt("en"),d=Yt(null),u=Yt(!1),f=Yt(null);const p="accessify-panel-x",h={async translate(e){if(!Ur){Ur=!0;try{Rr.length>0&&this.restore(),await ia(e),Gr=e,function(){Vr&&Vr.disconnect(),Xr=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Gr&&!Jr&&ia(Gr)}),t=()=>{if(!Gr||Jr)return;const e=location.href;e!==Xr&&(Xr=e,Rr=[],qr=[],setTimeout(()=>{Gr&&ia(Gr)},500))};Vr=new MutationObserver(n=>{if(Jr||!Gr)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())}),Vr.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Yr=t,window.addEventListener("popstate",Yr);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{Ur=!1}}},async simplify(e,t){},restore(){Vr?.disconnect(),Vr=null,Yr&&(window.removeEventListener("popstate",Yr),Yr=null),Jr=!0;for(const e of Rr)e.node.parentNode&&(e.node.data=e.original);Rr=[];for(const e of qr)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);qr=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Gr=null,Jr=!1},isTranslated:()=>null!==Gr,currentLang:()=>Gr},g="accessify-prefs";let m=jt(()=>Array.from(di(r).values()).filter(Boolean).length),y=jt(()=>pr.find(e=>e.code===di(l)));function v(e){Zt(c,""),requestAnimationFrame(()=>{Zt(c,e,!0)})}function b(){try{const e=Object.fromEntries(di(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",di(a)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=vr(di(l))?"rtl":"ltr";var i;e&&(e.setAttribute("lang",di(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",di(l)),t.shadow.host.setAttribute("dir",n),i=di(l),gr=mr(i)}function k(){Zt(i,!0),requestAnimationFrame(()=>{if(di(o)){const e=di(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Zt(i,!1),Zt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let A=jt(()=>null!==di(f)?`left: ${di(f)}px; right: auto;`:"");er(()=>{Zt(l,mr(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Zt(a,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Zt(a,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Zt(a,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Zt(r,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Zt(f,parseFloat(t),!0)}catch{}}(),x()});var M,E,C,T={open:k,close:S},I=ca();C=function(e,t,n,i={}){function r(e){if(i.capture||ki.call(t,e),!e.cancelBubble)return wn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?nt(()=>{t.addEventListener(e,r,i)}):t.addEventListener(e,r,i),r}("keydown",M=ln,function(e){if("Escape"===e.key){if(di(u))return Zt(u,!1),void e.preventDefault();if(di(i))return e.preventDefault(),void S()}if("Tab"===e.key&&di(i)&&di(o)){const n=di(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)&&Sn(()=>{M.removeEventListener("keydown",C,E)});var z=yn(I),$=mn(z),_=vn(z,2);!function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en"),i=Qi(t,"el",15,null),r=Yt(!1);er(()=>{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;if(!c&&(Math.abs(i)>5||Math.abs(d)>5)&&(c=!0,Zt(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="",Zt(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=wr();let o;Ki(a,nr,!0),Zi(a,e=>i(e),()=>i()),Cn(e=>{o=qi(a,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":di(r),"accessify-trigger--hidden":t.isOpen}),Ji(a,"aria-expanded",t.isOpen),Ji(a,"aria-label",e)},[()=>br(t.isOpen?"widget.close":"widget.open",n())]),Ii(e,a),et()}(_,{get isOpen(){return di(i)},get lang(){return di(l)},onclick:function(){di(i)?S():k()},get el(){return di(s)},set el(e){Zt(s,e,!0)}});var L=vn(_,2),N=mn(L);!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=Yt(null);er(()=>{const e=di(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=xr(),o=vn(mn(a),2),s=mn(o);Zi(s,e=>Zt(r,e),()=>di(r));var c=vn(s,2);Ki(c,sr,!0);var l=vn(c,2);Ki(l,or,!0),Cn((e,t)=>{Ji(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Ji(c,"aria-label",e),Ji(l,"aria-label",t)},[()=>br("widget.reset",n()),()=>br("widget.close",n())]),bi("click",c,function(...e){t.onreset?.apply(this,e)}),bi("click",l,function(...e){t.onclose?.apply(this,e)}),Ii(e,a),et()}(N,{get lang(){return di(l)},get activeCount(){return di(m)},onclose:S,onreset:function(){Zt(r,new Map,!0),Zt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),v(br("widget.resetConfirm",di(l)))},ondrag:function(e){Zt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return di(o)}});var P=vn(N,2),H=mn(P),O=mn(H),j=mn(O),B=mn(j);Ki(B,cr);var W=mn(vn(B,2)),F=vn(j,2);let D;var K=vn(O,2),R=e=>{var t=sa();ji(t,21,()=>pr,Pi,(e,t)=>{var i=oa(),r=mn(i),a=mn(r),o=vn(r,2),s=e=>{Ii(e,aa())};Ni(o,e=>{di(l)===di(t).code&&e(s)}),Cn(()=>{Ji(i,"aria-selected",di(l)===di(t).code),Ji(i,"data-active",di(l)===di(t).code),zi(a,`${(di(t).flag||"")??""} ${di(t).label??""}`)}),bi("click",i,()=>function(e){Zt(l,mr(e),!0),n().lang=di(l),Zt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";di(l)!==t?h.translate(di(l)):h.restore()}(di(t).code)),Ii(e,i)}),Cn(e=>Ji(t,"aria-label",e),[()=>br("widget.title",di(l))]),Ii(e,t)};Ni(K,e=>{di(u)&&e(R)});var q=vn(H,4);!function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en"),i=Qi(t,"activeProfileId",3,null),r=Yt(!1),a=jt(()=>i()?kr.find(e=>e.id===i()):null);var o=Mr(),s=mn(o),c=mn(s),l=vn(mn(c),2),d=mn(l),u=vn(c,2);let f;var p=vn(s,2);ji(p,21,()=>kr,e=>e.id,(e,r)=>{var a=Ar(),o=mn(a),s=mn(o);Ki(s,()=>function(e){const t=lr[e];return t?t():""}(di(r).iconId),!0);var c=mn(vn(s,2)),l=mn(c),d=mn(vn(c,2)),u=vn(o,2),f=e=>{Ii(e,Sr())};Ni(u,e=>{i()===di(r).id&&e(f)}),Cn((e,t)=>{Ji(a,"aria-pressed",i()===di(r).id),Ji(a,"data-active",i()===di(r).id),zi(l,e),zi(d,t)},[()=>br(di(r).nameKey,n()),()=>br(di(r).descKey,n())]),bi("click",a,()=>t.onactivate(di(r))),Ii(e,a)}),Cn((e,t,n)=>{Ji(o,"aria-label",e),Ji(s,"aria-expanded",di(r)),zi(d,t),f=qi(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":di(r)}),Ji(p,"aria-label",n),Gi(p,di(r)?"":"display:none")},[()=>br("section.profiles",n()),()=>di(a)?br(di(a).nameKey,n()):br("section.profiles",n()),()=>br("section.profiles",n())]),bi("click",s,()=>{Zt(r,!di(r))}),Ii(e,o),et()}(q,{get lang(){return di(l)},get activeProfileId(){return di(d)},onactivate:function(e){if(di(d)===e.id){Zt(d,null);for(const t of e.features)di(r).set(t,!1);return Zt(r,new Map(di(r)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void v(`${br(e.nameKey,di(l))} ${br("status.deactivated",di(l))}`)}Zt(d,e.id,!0);for(const t of e.features)di(r).set(t,!0);Zt(r,new Map(di(r)),!0),b(),v(`${br(e.nameKey,di(l))} ${br("status.activated",di(l))}`)}});var G=vn(q,4);{let e=jt(()=>({...n(),lang:di(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(()=>Oa),"text-size":()=>Promise.resolve().then(()=>ja),"keyboard-nav":()=>Promise.resolve().then(()=>Ba),"link-highlight":()=>Promise.resolve().then(()=>Wa),"reading-guide":()=>Promise.resolve().then(()=>Da),"reading-mask":()=>Promise.resolve().then(()=>Ka),"animation-stop":()=>Promise.resolve().then(()=>Ra),"hide-images":()=>Promise.resolve().then(()=>qa),"big-cursor":()=>Promise.resolve().then(()=>Ua),"page-structure":()=>Promise.resolve().then(()=>Va),tts:()=>Promise.resolve().then(()=>Ya),"text-simplify":()=>Promise.resolve().then(()=>Xa),"alt-text":()=>Promise.resolve().then(()=>Sa)};let c,l=Yt(an(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),d=Yt(an(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=jt(()=>new Set(t.config.features)),f=jt(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function p(e){const t=lr[e];return t?t():""}function h(e,n){if(!n)return;const i=n.getState();"contrast"===e&&Zt(l,"light"===i.value||"dark"===i.value||"high"===i.value?i.value:"off",!0),"text-size"===e&&(Zt(d,"number"==typeof i.value?i.value:100,!0),t.ontextsize?.(di(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?Ir(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 zr(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 zr(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 zr(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""}}}(i.siteKey,i.proxyUrl):Ir(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 null}var i}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of o)try{e.deactivate()}catch{}Zt(l,"off"),Zt(d,100),t.ontextsize?.(100)});let m=jt(()=>t.config.features.filter(e=>!i.has(e)&&n[e]).map(e=>n[e]));An(()=>{t.config.features.join("|"),di(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&&Zt(l,"off"),"text-size"===n&&Zt(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 y=Fr(),v=yn(y),b=e=>{var n=Nr(),i=mn(n),a=mn(i);Ki(a,()=>p("contrast"),!0);var o=mn(vn(a,2));ji(vn(i,2),21,()=>r,Pi,(e,n)=>{var i=Lr(),r=mn(i),a=e=>{Ii(e,$r())},o=e=>{var t=_r();Ki(t,()=>di(n).icon,!0),Ii(e,t)};Ni(r,e=>{di(l)===di(n).id?e(a):e(o,-1)});var s=mn(vn(r,2));Cn(e=>{Ji(i,"data-active",di(l)===di(n).id),Ji(i,"aria-pressed",di(l)===di(n).id),zi(s,e)},[()=>br(di(n).labelKey,t.config.lang)]),bi("click",i,()=>async function(e){const n=await g("contrast");if(n){if("off"===e)return n.deactivate(),Zt(l,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(l,e,!0),t.ontoggle("contrast",!0)}}(di(l)===di(n).id?"off":di(n).id)),Ii(e,i)}),Cn((e,t)=>{Ji(n,"aria-label",e),zi(o,t)},[()=>br("feature.contrast",t.config.lang),()=>br("feature.contrast",t.config.lang)]),Ii(e,n)},w=jt(()=>di(u).has("contrast"));Ni(v,e=>{di(w)&&e(b)});var x=vn(v,2),k=e=>{var n=jr(),i=mn(n),r=mn(i);Ki(r,()=>p("text-size"),!0);var a=mn(vn(r,2));ji(vn(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"}],Pi,(e,n)=>{var i=Or(),r=mn(i),a=e=>{Ii(e,Pr())},o=e=>{var t=Hr();Cn(()=>Gi(t,`font-size:${di(n).size??""};font-weight:700;line-height:1`)),Ii(e,t)};Ni(r,e=>{di(d)===di(n).pct?e(a):e(o,-1)});var s=mn(vn(r,2));Cn(()=>{Ji(i,"data-active",di(d)===di(n).pct),Ji(i,"aria-pressed",di(d)===di(n).pct),zi(s,di(n).label)}),bi("click",i,()=>async function(e){const n=await g("text-size");if(n){if(100===e)return n.deactivate(),Zt(d,100),t.ontoggle("text-size",!1),void t.ontextsize?.(100);n.getState().enabled||n.activate(),n.setState?.(e),Zt(d,e,!0),t.ontoggle("text-size",!0),t.ontextsize?.(e)}}(di(d)===di(n).pct?100:di(n).pct)),Ii(e,i)}),Cn((e,t)=>{Ji(n,"aria-label",e),zi(a,t)},[()=>br("feature.textSize",t.config.lang),()=>br("feature.textSize",t.config.lang)]),Ii(e,n)},S=jt(()=>di(u).has("text-size"));Ni(x,e=>{di(S)&&e(k)});var A=vn(x,4),M=e=>{var n=Wr();ji(n,21,()=>di(m),e=>e.id,(e,n)=>{const i=jt(()=>t.activeFeatures.get(di(n).id)??!1);var r=Br(),a=mn(r),o=mn(a);Ki(o,()=>p(di(n).iconId),!0);var s=mn(vn(o,2)),c=vn(a,2);Cn((e,t,n,r)=>{Ji(a,"data-active",di(i)),Ji(a,"aria-checked",di(i)),Ji(a,"aria-label",e),zi(s,t),Ji(c,"aria-label",n),Ji(c,"title",r)},[()=>br(di(n).nameKey,t.config.lang),()=>br(di(n).nameKey,t.config.lang),()=>br(di(n).descKey,t.config.lang),()=>br(di(n).descKey,t.config.lang)]),bi("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)}(di(n).id)),Ii(e,r)}),Ii(e,n)};Ni(A,e=>{di(m).length>0&&e(M)}),Ii(e,y),et()}(G,{get config(){return di(e)},get activeFeatures(){return di(r)},ontoggle:function(e,t){di(r).set(e,t),Zt(r,new Map(di(r)),!0),b(),v(`${br(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,di(l))||e} ${br(t?"status.activated":"status.deactivated",di(l))}`)},ontextsize:function(e){}})}return function(e,t){Qe(t,!0);let n=Qi(t,"lang",3,"en");var i=Kr(),r=mn(i),a=mn(r),o=vn(a,2),s=e=>{var i=Dr(),r=vn(yn(i),2),a=mn(r);Cn(e=>{Ji(r,"href",t.statementUrl),zi(a,e)},[()=>br("widget.statement",n())]),Ii(e,i)};Ni(o,e=>{t.statementUrl&&e(s)});var c=vn(r,2),l=vn(mn(c),2),d=mn(l);Cn((e,n)=>{Ji(a,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Ji(c,"aria-label",e),zi(d,n)},[()=>br("widget.close",n()),()=>br("widget.close",n())]),bi("click",c,function(...e){t.onclose?.apply(this,e)}),Ii(e,i),et()}(vn(P,2),{get lang(){return di(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Zi(L,e=>Zt(o,e),()=>di(o)),Cn((e,t)=>{zi($,di(c)),Ji(L,"aria-label",e),Ji(L,"aria-hidden",!di(i)),Ji(L,"dir",t),Gi(L,di(A)),Ji(O,"aria-expanded",di(u)),zi(W,`${(di(y)?.flag||"")??""} ${(di(y)?.label||di(l))??""}`),D=qi(F,0,"accessify-lang-chevron",0,D,{"accessify-lang-chevron--open":di(u)}),L.dir=L.dir},[()=>br("widget.title",di(l)),()=>vr(di(l))?"rtl":"ltr"]),bi("click",O,()=>{Zt(u,!di(u))}),Ii(e,I),et(T)}function da(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 .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\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 .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\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 .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\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 .accessify-lang-option:hover { background: var(--surface-hover); }\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 .accessify-accordion-option:hover { background: var(--surface-hover); }\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 .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\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 .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\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 .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\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 .accessify-card-info:hover { opacity: 1; color: var(--accent); }\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 .accessify-footer a:hover { text-decoration: underline; }\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 .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\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 }\n `}wi(["click"]);const ua="alt-texts";function fa(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 pa(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 ha(e){return e.currentSrc||e.src}function ga(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(ua)||e.createObjectStore(ua,{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 ma(e){const t=await ga();return t?new Promise(n=>{try{const i=t.transaction(ua,"readonly").objectStore(ua),r=i.get(fa(e));r.onsuccess=()=>{if(r.result?.altText)return void n(r.result.altText);const t=pa(e);if(t!==e){const e=i.get(fa(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 ya(e,t,n){const i=await ga();if(i)return new Promise(r=>{try{const a=i.transaction(ua,"readwrite");a.objectStore(ua).put({key:fa(e),src:e,altText:t,lang:n,createdAt:Date.now()}),a.oncomplete=()=>r(),a.onerror=()=>r()}catch{r()}})}const va="https://accessify-api.accessify.workers.dev";let ba="manual";function wa(e,t,n,i,r){try{const a=window.location.origin+window.location.pathname;fetch(`${t||va}/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 xa=!1;async function ka(e){if(xa)return 0;xa=!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||va,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(ba="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=pa(n);e!==n&&t.set(e,i),ya(n,i,r).catch(()=>{})}}const a=await async function(){const e=await ga(),t=new Map;return e?new Promise(n=>{try{const i=e.transaction(ua,"readonly").objectStore(ua).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=ha(e),i=pa(n),r=pa(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 Sa=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:ka,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 yr()||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(ha(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 y="data-accessify-badge",v="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(y))return;e.setAttribute(y,"1");const n=function(){let e=document.getElementById(v);return e||(e=document.createElement("div"),e.id=v,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(y,"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(y,"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"}),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 A(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function M(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 E(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 C(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=ha(t),o=await ma(n);if(o)g(t,o);else if("auto"===ba)try{const o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),ya(n,s,d()).catch(()=>{}),i&&wa(i,r,n,s,d()))}catch(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 ka({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=ha(e),i=await ma(n);i?g(e,i):t.push(e)}if(t.length){if("auto"!==ba)return window,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=ha(t),o=h(t),s=await e.generateAltText(n,o,d());s&&a&&(g(t,s),ya(n,s,d()).catch(()=>{}),i&&wa(i,r,n,s,d()))}catch(n){}}))}s=!1}else s=!1}(),async function(){if(!e||!a)return;if("auto"!==ba)return void window;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=A(o);if(!t)continue;const s=await ma(t);if(s)M(o,s);else try{const n=E(o),s=await e.generateAltText(t,n,d());s&&a&&(M(o,s),ya(t,s,d()).catch(()=>{}),i&&wa(i,r,t,s,d()))}catch(n){}}}(),m(),S(),document.querySelectorAll("img").forEach(e=>{e.complete||C(e)});for(const e of[2e3,5e3,1e4])setTimeout(()=>{a&&(document.querySelectorAll("img").forEach(C),m(),S())},e);o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?C(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(C)}),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(v)?.remove(),document.querySelectorAll(`[${y}]`).forEach(e=>e.removeAttribute(y)),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"})),Aa=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","focus-highlight","auto-scan"]),Ma={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 Ea=null,Ca=null,Ta={...Ma};async function Ia(e={}){if(Ea)return;if(navigator.maxTouchPoints>0&&matchMedia("(pointer:coarse)").matches&&!matchMedia("(pointer:fine)").matches)return;const t=window.__accessify_dataConfig||{};Ta={...Ma,...t,...e};const n=Ta.siteKey||Ta.siteKey,i=Ta.proxyUrl||Ta.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||"");Ta={...Ma,...r,...t,...e}}Ta.features=(Ta.features||Ma.features).filter(e=>!Aa.has(e)),Ca=document.createElement("div"),Ca.id="accessify-root",Ca.setAttribute("role","complementary"),Ca.setAttribute("aria-label",br("widget.title",Ta.lang));const r=Ta.position||"bottom-right",a=r.includes("right"),o=r.includes("bottom");Ca.style.cssText=["position:fixed!important",o?"bottom:20px!important":"top:20px!important",a?"right:20px!important":"left:20px!important",`z-index:${Ta.zIndex||2147483647}!important`,"width:auto!important","height:auto!important","overflow:visible!important","contain:none!important","display:block!important"].join(";")+";";const s=Ca.attachShadow({mode:"open",delegatesFocus:!0}),c=new CSSStyleSheet;c.replaceSync(da(Ta)),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),Ea=function(e,{target:t,anchor:n,props:i={},events:r,context:a,intro:o=!0,transformError:s}){!function(){if(void 0===ln){ln=window,dn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;un=se(t,"firstChild").get,fn=se(t,"nextSibling").get,fe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),fe(n)&&(n.__t=void 0),te&&(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(sn(this[n])===e){Fe();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(sn(this[i])===e){Fe();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(sn(this[i])===e){Fe();break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=i,e.includes=r}}())}}();var c=void 0,l=function(){At.ensure();const o=xn(524352,()=>{var o=n??t.appendChild(pn());new _t(o,{pending:()=>{}},t=>{Qe({}),a&&(Ue.c=a),r&&(i.$$events=r),c=e(t,i)||{},et()},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=gi(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,ki,{passive:r}),a.set(i,1)):a.set(i,o+1)}}}};return d(ae(yi)),vi.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,ki),i.delete(e),0===i.size&&$i.delete(n)):i.set(e,r)}vi.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Pn(o,()=>{_n(o),t(void 0)}):(_n(o),t(void 0))})}();return _i.set(c,l),c}(la,{target:l,props:{config:Ta,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&&Ta&&(Ta.position=t,c.replaceSync(da(Ta)))});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(Ta,e.data.config||{}),c.replaceSync(da(Ta))),"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(Ca),ka(Ta).catch(()=>{}),Ta.onReady?.()}function za(){Ea&&(function(e){const t=_i.get(e);t?(_i.delete(e),t(void 0)):Promise.resolve()}(Ea),Ea=null),Ca?.remove(),Ca=null}function $a(e,...t){const n={init:e=>Ia(e),open:()=>Ea?.open?.(),close:()=>Ea?.close?.(),destroy:za};n[e]?.(...t)}window.__accessify_exec=$a;const _a=window.Accessify;_a?.q&&(_a.q.forEach(e=>$a(...e)),_a.q=[]);const La=function(e,...t){$a(e,...t)};La._loaded=!0,Object.defineProperty(La,"config",{get:()=>Ta,enumerable:!0}),window.Accessify=La,window.A11yPlus=La;const Na={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)"}},Pa=":not(#accessify-root):not(#accessify-root *)",Ha="data-a11y-bg",Oa=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=Na[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 *${Pa} {\n background-color: transparent !important;\n background-image: none !important;\n }\n \n body *${Pa} {\n color: ${t.text} !important;\n }\n body :where(h1, h2, h3, h4, h5, h6, strong, b, th)${Pa} {\n color: ${t.textStrong} !important;\n }\n \n body :where(a)${Pa} {\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)${Pa} {\n color: ${t.linkVisited} !important;\n }\n body :where(a:hover, a:focus)${Pa} {\n opacity: 0.85 !important;\n }\n \n body :where(input, textarea, select)${Pa} {\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"])${Pa} {\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])${Pa}: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)${Pa} {\n border-color: ${t.borderContent} !important;\n }\n `+(t.imgFilter?`\n body :where(img, video, picture)${Pa} {\n filter: ${t.imgFilter} !important;\n }\n `:"")+(n?`\n body :where(::placeholder)${Pa} {\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)${Pa} {\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"})),ja=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"})),Ba=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 yr()}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 y(){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 v(){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(y(),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",br("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;">${br("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;">${br("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${br("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;">${br("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;">${br("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;">${br("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;">${br("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;">${br("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">${br("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(),y(),a=-1,o=-1,v()},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=br("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)}(),v(),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"})),Wa=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},Da=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"})),Ka=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=e.clientY,a=i/2,o=Math.max(0,r-a),s=Math.max(0,window.innerHeight-r-a);t.style.height=o+"px",n.style.height=s+"px"}function a(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",r),document.addEventListener("keydown",a)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("keydown",a),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"})),Ra=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 y(){document.querySelectorAll("img").forEach(m)}function v(){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)}),y(),v(),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(),y(),v())}),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(),y())},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"})),qa=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,i=null;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, svg:not([aria-hidden="true"]), video, canvas,\n [role="img"], figure {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* CSS background-images (inline styles) */\n [style*="background-image"] {\n background-image: 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("*");for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==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&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll("*").forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==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 Ga(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 Ua=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",i="accessify-big-cursor",r={48:Ga(48),64:Ga(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"})),Va=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 yr()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",br("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-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="${br("widget.close",l())}">×</button>\n <h3>${br("pageStructure.title",l())}</h3>\n `;e.length>0&&(a+=`<div class="ps-section"><div class="ps-label">${br("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">${br("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">${br("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"})),Ja={speed:1},Ya=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Ja},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,v(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,v(),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(),y()}function y(){if(c>=s.length)return r=!1,a=!1,v(),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(()=>y(),100):(r=!1,a=!1,v(),x()))},2e4),e.onend=()=>{i(),c++,c<s.length&&r?setTimeout(()=>y(),50):(r=!1,a=!1,v(),x())},e.onerror=e=>{i(),"interrupted"!==e.error&&"canceled"!==e.error&&(c++,c<s.length&&r)?setTimeout(()=>y(),100):(r=!1,a=!1,v(),x())},speechSynthesis.speak(e)}function v(){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??Ja.speed))}catch{t={...Ja}}}(),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=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",gap:"6px",padding:"6px 14px",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=document.createElement("span");p.className="accessify-tts-hint",p.textContent="Click any text to read it aloud",Object.assign(p.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap"});const h=document.createElement("span");return Object.assign(h.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),h.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(p),e.appendChild(h),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),v(),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"})),Xa=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",y="blocks";function v(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(y)||e.createObjectStore(y)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function b(e){try{const t=await v();return new Promise(n=>{const i=t.transaction(y,"readonly").objectStore(y).get(e);i.onsuccess=()=>n(i.result??null),i.onerror=()=>n(null)})}catch{return null}}async function w(e,t){try{(await v()).transaction(y,"readwrite").objectStore(y).put(t,e)}catch{}}function x(e){return`${window.location.origin+window.location.pathname}:simplify:${r}:${e}`}const k=["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(", "),S=/^(Bild|Foto|Photo|Image|Fotocredit|Credit|Text|Autor|Author|Quelle|Source|Copyright|©|\(c\))\s*[:·\-–—]/i;function A(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 M(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 E(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 C(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function T(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 I(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=C(e);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:t}:(z(t),{safe:!1,patches:[]})}function z(e){for(const t of e)t.el.style[t.property]=t.originalValue}function $(e,t,n){const i=e.innerHTML,r=E(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=E(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=C(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=T(e);if(!n)return{safe:!0,patches:[]};const i=C(n);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:[]}:I(n,t)}const i=T(e);return i?I(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),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 _(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),z(e.ancestorPatches),l?.unobserve(e.el),a=a.filter(t=>t.el!==e.el)}const L=new Map;function N(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 P=[];let H=null;const O=new Set;function j(e,t,n,i,a,o){O.has(t)||(O.add(t),P.push({blockHash:t,originalText:n,result:i,selector:a}),H&&clearTimeout(H),H=setTimeout(()=>function(e,t){if(0===P.length)return;const n=t||"https://accessify-api.accessify.workers.dev",i=window.location.origin+window.location.pathname,a=P.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=>{e.ok&&window}).catch(e=>{})}(e,o),2e3))}function B(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function W(e){e.style.opacity="",e.style.transition=""}function F(e,t){D()}function D(){s?.remove(),s=null,document.getElementById("accessify-autospin-style")?.remove()}const K="accessify-ai-disclaimer";function R(){if(document.getElementById(K))return;const e=t.startsWith("de")?"KI-vereinfachter Text":"AI-simplified text",n=document.createElement("div");n.id=K,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 q(){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&&S.test(r))return;if(t.has(i))return;if(i.closest(k)&&i.querySelectorAll("p, li, dd, dt, summary").length>1)return void window;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=new AbortController,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=T(e);if(i){const e=C(i);e.scrollHeight>e.clientHeight+2&&(_(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),z(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")&&(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),z(e.ancestorPatches),a=a.filter(e=>e.el!==n))}}}}),d.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:i,proxyUrl:f}=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 p=0,E=n;const I=new Set;if(window,i){const e=await async function(e,t){const n=`${e}:${r}`;if(L.has(n))return L.get(n);const i=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${r}`;try{const e=await fetch(i,{cache:"no-cache"});if(!e.ok)return L.set(n,null),null;const t=await e.json();u="auto"===t.siteMode?"auto":"manual";const r=t.blocks?.length?t:null;return L.set(n,r),r}catch{return L.set(n,null),null}}(i,f);if(e?.blocks?.length){await async function(){try{const e=(await v()).transaction(y,"readwrite").objectStore(y),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{}}();const t=function(e,t){const n=[],i=[],r=[],a=new Map,o=new Map;for(const s of e.blocks)a.set(s.blockHash,s),s.selector&&o.set(s.selector,s);for(const s of t){const e=s.dataset.accessifyOriginal||s.textContent?.trim()||"",t=A(e),c=a.get(t);if(c?.result){$(s,c.result,t)?n.push(s):i.push(s);continue}let l;for(const[n,i]of o)try{if(s.matches(n)||s.closest(n)===s){l=i;break}}catch{}l?.result&&l.originalText?M(e,l.originalText)<=3?$(s,l.result,t)?n.push(s):i.push(s):r.push(s):i.push(s)}return{applied:n,remaining:i,stale:r}}(e,n);p=t.applied.length;for(const e of t.stale)I.add(e);E=[...t.stale,...t.remaining];for(const n of e.blocks)n.result&&w(x(n.blockHash),n.result);if(0===E.length)return void F()}}{const e=[];for(const t of E){const n=t.dataset.accessifyOriginal||t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const i=A(n),r=await b(x(i));r&&$(t,r,i)?p++:e.push(t)}if(E=e,0===E.length)return void F()}if((p>0||i&&I.size>0)&&E.length>0){const e=E.filter(e=>!I.has(e));for(const t of e)W(t);if(E=E.filter(e=>I.has(e)),0===E.length)return F(),void R()}else if("auto"!==u&&E.length>0){I.size>0&&(c+=I.size);for(const e of E)W(e);return void(p>0?(F(),R()):D())}if(!e&&E.length>0)return I.size>0&&(c+=I.size),void(p>0?F():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(()=>D(),5e3)}}(t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured"));for(const e of E)B(e);let P=p;const H=e=>I.has(e);for(const a of E){if(o.signal.aborted)break;const n=a.dataset.accessifyOriginal||a.textContent?.trim()||"";if(n.length<20){W(a);continue}if(n.length<60&&S.test(n)){W(a),c++;continue}const s=A(n);try{const c=await e.simplifyText(n,r,t);if(o?.signal.aborted)return;c&&c!==n&&$(a,c,s)&&(P++,w(x(s),c),i&&j(i,s,n,c,N(a),f))}catch(O){if(O?.message?.includes("401")||O?.message?.includes("403")){for(const e of E)H(e)&&!e.hasAttribute(h)&&c++;W(a);break}if(O?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const c=await e.simplifyText(n,r,t);if(o?.signal.aborted)return;c&&c!==n&&$(a,c,s)&&(P++,w(x(s),c),i&&j(i,s,n,c,N(a),f))}catch{H(a)&&c++}}else H(a)&&c++}finally{W(a),o?.signal.aborted||await new Promise(e=>setTimeout(e,600))}}for(const e of E)W(e);o?.signal.aborted||(F(),(P>0||p>0)&&R())}function G(){l&&(l.disconnect(),l=null),d&&(d.disconnect(),d=null),f.clear();for(const{el:e,originalHtml:t,savedTextNodes:n,ancestorPatches:i}of a){if(n.length>0){let i=!0;for(const e of n)e.node.parentNode?e.node.data=e.original:i=!1;i||(e.innerHTML=t)}else e.innerHTML=t;e.removeAttribute(g),e.removeAttribute(h),e.removeAttribute(m),e.removeAttribute("data-accessify-replacing"),W(e),e.dataset.accessifyOrigTransform&&(e.style.textTransform=e.dataset.accessifyOrigTransform,delete e.dataset.accessifyOrigTransform),z(i)}a=[],c=0}let U="",V=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(){U=location.href;const e=()=>{i&&location.href!==U&&(U=location.href,window,o?.abort(),G(),D(),setTimeout(()=>{i&&q()},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()},V=()=>{window.removeEventListener("popstate",e),history.pushState=t,history.replaceState=n}}(),q())},deactivate:function(){i=!1,o?.abort(),o=null,V?.(),V=null,G(),D(),document.getElementById(K)?.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"}));return e.destroy=za,e.init=Ia,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
|
|
2
2
|
//# sourceMappingURL=accessify.min.js.map
|