(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))o(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const b of r.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&o(b)}).observe(document,{childList:!0,subtree:!0});function s(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(n){if(n.ep)return;n.ep=!0;const r=s(n);fetch(n.href,r)}})();const I={cdnBaseUrl:"#",flagIconBaseUrl:"https://hatscripts.github.io/circle-flags/flags/",spriteUrl:"https://cdn.isonomy.app/v5/src/Frontend/assets/svgs/sprite.svg",cssPath:"https://cdn.isonomy.app/v5/src/Frontend/assets/css/widget.min.css",checkIconSvg:``,resetSettingsSvg:'',toastContentSvg:' Settings Reset ',getSvg:(t,e="currentColor",s=42,o=42)=>{const n={CognitiveDisability:`
`,ColorBlindness:`
`,SecondAccessibility:`
`,TechAccessibility:`
`,Accessible:`
`,UniversalAccess:`
`};return`
`,L=document.querySelector(".isonomy-hide-assistant"),c=document.querySelector(".isonomy-close-assistant"),a=document.querySelector(".isonomy-commands-list"),l=document.querySelector(".isonomy-voice-assistant"),u=document.querySelector(".isonomy_voice-assistant-icon"),S=document.querySelector(".isonomy-voice-assistant-text")},B=()=>{console.log("Voice Assistant Deactivated!"),l.classList.remove("isonomy-is-listening"),S.innerText=i("voice_assistant_paused"),u.setAttribute("aria-label",i("voice_assistant_aria_label_activate")),h.value="1",t.stop(),localStorage.removeItem("voiceStatus"),ce()},M=()=>{console.log("Voice Assistant Activated!"),l.classList.add("isonomy-is-listening"),S.innerText=i("voice_assistant_listening"),u.setAttribute("aria-label",i("voice_assistant_aria_label_deactivate")),h.value="0",t.start(),localStorage.setItem("voiceStatus","started"),pe()},D=()=>{L.addEventListener("click",function(){a.style.display==="block"?me():ue()}),c.addEventListener("click",function(){console.log("Voice Assistant Deactivated!"),l.classList.remove("isonomy-is-listening"),S.innerText=i("voice_assistant_paused"),h.value="1",t.stop(),localStorage.removeItem("voiceStatus"),ce(),l.style.display="none",_.style.display="none",console.log("Hide Widget..."),localStorage.removeItem("showWidget")}),u.addEventListener("click",function(){l.classList.contains("isonomy-is-listening")?B():M()})},V=()=>{_.addEventListener("mousedown",d=>{m=d.clientX-_.getBoundingClientRect().left,v=d.clientY-_.getBoundingClientRect().top,_.style.cursor="grabbing";const k=P=>{_.style.left=`${P.clientX-m}px`,_.style.top=`${P.clientY-v}px`};document.addEventListener("mousemove",k),document.addEventListener("mouseup",()=>{document.removeEventListener("mousemove",k),_.style.cursor="grab"},{once:!0})}),D();let y;window.addEventListener("scroll",()=>{y&&cancelAnimationFrame(y),y=requestAnimationFrame(G)})},Z=()=>{if(!("webkitSpeechRecognition"in window)&&!("SpeechRecognition"in window))return console.error("Speech recognition not supported in this browser"),!1;t=new webkitSpeechRecognition,t.continuous=!1,t.interimResults=!0,t.lang=A,t.onresult=y=>{let d="";for(let k=y.resultIndex;k{l.classList.contains("isonomy-is-listening")?k.innerText=i("voice_assistant_listening"):k.innerText=i("voice_assistant_paused")},2e3),et(d),t.stop()}},t.onerror=y=>{if(y.error==="no-speech"||y.error==="audio-capture"){console.log("Restarting recognition...");try{t.start()}catch{}}},t.onend=()=>{h.value=="0"&&t.start()}},R=()=>{s||(s=new IntersectionObserver(y=>{y.some(d=>d.isIntersecting||d.boundingClientRect.top<0)&&G()},{threshold:.1})),document.querySelectorAll("button, a, textarea, input, input[type='radio'], input[type='checkbox']").forEach(y=>{s.observe(y)}),o||(o=new MutationObserver(()=>{G()}),o.observe(document.body,{childList:!0,subtree:!0})),setInterval(G,b),G()},q=()=>{localStorage.getItem("showWidget")&&x.click(),localStorage.getItem("voiceStatus")?(u.click(),u.setAttribute("aria-label",i("voice_assistant_aria_label_deactivate"))):u.setAttribute("aria-label",i("voice_assistant_aria_label_activate"))},le=y=>{let d=y.getBoundingClientRect(),k=window.getComputedStyle(y);return d.width>0&&d.height>0&&d.top0&&k.display!=="none"&&k.visibility!=="hidden"&&k.opacity!=="0"},pe=()=>{document.getElementById("isonomyTooltipContainer")||(p=document.createElement("div"),p.id="isonomyTooltipContainer",document.body.appendChild(p)),p.innerHTML="",document.querySelectorAll(".isonomy_tooltip-element").forEach(y=>{let d=document.createElement("div");d.classList.add("isonomy_tooltip"),d.innerText=y.dataset.tooltipId,p.appendChild(d);let k=y.getBoundingClientRect();d.style.position="absolute",d.style.left=k.left+window.scrollX+"px",d.style.top=k.top+window.scrollY+k.height-13+"px",d.style.opacity="1"})},ce=()=>{document.querySelectorAll(".isonomy_tooltip").forEach(y=>y.remove())},et=y=>{var O,ie,z;let d=document.activeElement;y=y.toLowerCase().trim();let k=d.tagName.toLowerCase(),P=d.type?d.type.toLowerCase():null;if(y===i("help_me").toLowerCase().trim()||y===i("please_help").toLowerCase().trim()||y===i("show_commands").toLowerCase().trim()||y===i("available_commands").toLowerCase().trim()||y===i("list_commands").toLowerCase().trim()){ue();return}if(y===i("hide_help").toLowerCase().trim()||y===i("hide_commands").toLowerCase().trim()){me();return}if(y===i("scroll_down").toLowerCase().trim()||y===i("down").toLowerCase().trim()||y===i("page_down").toLowerCase().trim()||y===i("go_down").toLowerCase().trim()){window.scrollBy(0,window.innerHeight/2);return}if(y===i("scroll_up").toLowerCase().trim()||y===i("up").toLowerCase().trim()||y===i("page_up").toLowerCase().trim()||y===i("go_up").toLowerCase().trim()){window.scrollBy(0,-window.innerHeight/2);return}if(y===i("go_top").toLowerCase().trim()||y===i("scroll_top").toLowerCase().trim()){window.scrollTo(0,0);return}if(y===i("go_bottom").toLowerCase().trim()||y===i("scroll_bottom").toLowerCase().trim()){window.scrollTo(0,document.body.scrollHeight);return}if(y===i("tab").toLowerCase().trim()||y===i("next").toLowerCase().trim()){let F=Array.from(document.querySelectorAll("button, a, input, textarea, select, details, [tabindex]:not([tabindex='-1'])")),N=F.indexOf(d);(O=F[N+1])==null||O.focus();return}if(y===i("tab_back").toLowerCase().trim()||y===i("back").toLowerCase().trim()||y===i("previous").toLowerCase().trim()){let F=Array.from(document.querySelectorAll("button, a, input, textarea, select, details, [tabindex]:not([tabindex='-1'])")),N=F.indexOf(d);(ie=F[N-1])==null||ie.focus();return}if(y===i("move_up").toLowerCase().trim()||y===i("up").toLowerCase().trim())if(d&&d.tagName==="TEXTAREA"){let F=d.selectionStart,N=d.value,H=N.lastIndexOf(`
`,F)+1,K=F-H,ne=H-1;if(ne>0){let se=N.lastIndexOf(`
`,ne-1)+1,fe=Math.min(se+K,ne);d.setSelectionRange(fe,fe)}return}else{let F=new KeyboardEvent("keydown",{key:"ArrowUp",code:"ArrowUp",keyCode:38,which:38,bubbles:!0});d.dispatchEvent(F);return}if(y===i("move_left").toLowerCase().trim()||y===i("left").toLowerCase().trim())if(d&&(d.tagName==="TEXTAREA"||d.tagName==="INPUT")){if(P==="email")return;let F=d.selectionStart;d.focus(),d.setSelectionRange(Math.max(F-1,0),Math.max(F-1,0));return}else{let F=new KeyboardEvent("keydown",{key:"ArrowLeft",code:"ArrowLeft",keyCode:37,which:37,bubbles:!0});d.dispatchEvent(F);return}if(y===i("move_right").toLowerCase().trim()||y===i("right").toLowerCase().trim())if(d&&(d.tagName==="TEXTAREA"||d.tagName==="INPUT")){if(P==="email")return;let F=d.selectionStart;d.focus(),d.setSelectionRange(Math.min(F+1,d.value.length),Math.min(F+1,d.value.length));return}else{let F=new KeyboardEvent("keydown",{key:"ArrowRight",code:"ArrowRight",keyCode:39,which:39,bubbles:!0});d.dispatchEvent(F);return}if(y===i("move_down").toLowerCase().trim()||y===i("down").toLowerCase().trim())if(d&&d.tagName==="TEXTAREA"){const F=d.selectionStart,H=d.value.substring(0,F).lastIndexOf(`
`),K=F-(H===-1?0:H+1),se=d.value.substring(F).indexOf(`
`);if(se!==-1){const it=F+se+1+K,Ae=Math.min(it,d.value.length);d.focus(),d.setSelectionRange(Ae,Ae)}else d.focus(),d.setSelectionRange(d.value.length,d.value.length);return}else{let F=new KeyboardEvent("keydown",{key:"ArrowDown",code:"ArrowDown",keyCode:40,which:40,bubbles:!0});d.dispatchEvent(F);return}if((y===i("start_of_line").toLowerCase().trim()||y===i("go_start_line").toLowerCase().trim())&&d&&(d.tagName==="TEXTAREA"||d.tagName==="INPUT")&&P!=="radio"&&P!=="checkbox"){let F=d.selectionStart,H=d.value.lastIndexOf(`
`,F-1)+1;d.setSelectionRange(H,H);return}if((y===i("end_of_line").toLowerCase().trim()||y===i("go_end_line").toLowerCase().trim())&&d&&(d.tagName==="TEXTAREA"||d.tagName==="INPUT")&&P!=="radio"&&P!=="checkbox"){let F=d.selectionStart,N=d.value,H=N.indexOf(`
`,F),K=H!==-1?H:N.length;d.setSelectionRange(K,K);return}if(y===i("remove_all").toLowerCase().trim()||y===i("clear_all_input").toLowerCase().trim()||y===i("erase_all").toLowerCase().trim()||y===i("delete_all").toLowerCase().trim()){d.value="";return}if(y===i("remove").toLowerCase().trim()||y===i("clear").toLowerCase().trim()||y===i("erase").toLowerCase().trim()||y===i("delete").toLowerCase().trim()){let F=d.selectionStart;F>0&&(d.value=d.value.slice(0,F-1)+d.value.slice(F),d.setSelectionRange(F-1,F-1));return}if(y===i("remove_word").toLowerCase().trim()||y===i("clear_word").toLowerCase().trim()||y===i("erase_word").toLowerCase().trim()||y===i("delete_word").toLowerCase().trim()){if(P==="email")return;let F=d.selectionStart,N=d.value;if(F>0){let H=N.lastIndexOf(" ",F-1),K=N.slice(0,H<0?0:H)+N.slice(F);d.value=K,d.setSelectionRange(H<0?0:H,H<0?0:H)}return}if(y===i("add_space").toLowerCase().trim()||y===i("insert_space").toLowerCase().trim()){if(P==="email")return;let F=d.selectionStart,N=d.value;d.value=N.slice(0,F)+" "+N.slice(F),d.setSelectionRange(F+1,F+1);return}if(y===i("disable_dictation").toLowerCase().trim()){(z=document.activeElement)==null||z.blur();return}if(y===i("press_enter").toLowerCase().trim()||y===i("click_enter").toLowerCase().trim()){d.click(),G();return}if(y===i("stop_voice_navigation").toLowerCase().trim()||y===i("stop").toLowerCase().trim()){console.log("Voice Assistant Deactivated!"),l.classList.remove("isonomy-is-listening"),S.innerText=i("voice_assistant_paused"),h.value="1",t.stop(),localStorage.removeItem("voiceStatus"),ce();return}if(d){if(k==="input"||k==="textarea")if(P==="radio"||P==="checkbox")d.checked=!d.checked;else if(y.replace("at the rate","@")=="@"||d.value.slice(-1)=="@")de(d,y.replace("at the rate","@"));else if(P==="email"){let F=[" at the rate "," at the rate","at the rate "].reduce((N,H)=>N.replace(H,"@"),y);de(d," "+F)}else de(d," "+y);else if(tt(y)){y=Se(y);let F=[...e.entries()].find(([N,H])=>{let K=H.replace("element-","");return new RegExp(`\\b${K}\\b`).test(y)});if(F){F=F[1];let N=document.querySelector("."+F);if(N)if(N.tagName==="INPUT"||N.tagName==="TEXTAREA"){let H=N.type?N.type.toLowerCase():null;H==="radio"||H==="checkbox"?N.checked=!N.checked:N.focus()}else(N.tagName==="BUTTON"||N.tagName==="A")&&(N.click(),G())}}}},tt=y=>{y=Se(y);const d=[i("press"),i("open"),i("go"),i("click")],P=y.replace(/\d+/g,"").trim();return d.includes(P)},Se=y=>{if(A=="en"){const d={zero:0,one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12,thirteen:13,fourteen:14,fifteen:15,sixteen:16,seventeen:17,eighteen:18,nineteen:19,twenty:20,thirty:30,forty:40,fifty:50,sixty:60,seventy:70,eighty:80,ninety:90,hundred:100,thousand:1e3};return y.replace(/\b(?:zero|one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety|hundred|thousand)\b/gi,k=>d[k.toLowerCase()])}else if(A=="es"){const d={cero:0,uno:1,dos:2,tres:3,cuatro:4,cinco:5,seis:6,siete:7,ocho:8,nueve:9,diez:10,once:11,doce:12,trece:13,catorce:14,quince:15,dieciséis:16,diecisiete:17,dieciocho:18,diecinueve:19,veinte:20,veintiuno:21,veintidós:22,veintitrés:23,veinticuatro:24,veinticinco:25,veintiséis:26,veintisiete:27,veintiocho:28,veintinueve:29,treinta:30,cuarenta:40,cincuenta:50,sesenta:60,setenta:70,ochenta:80,noventa:90,cien:100,ciento:100,doscientos:200,trescientos:300,cuatrocientos:400,quinientos:500,seiscientos:600,setecientos:700,ochocientos:800,novecientos:900,mil:1e3};return y.replace(/\b(?:cero|uno|dos|tres|cuatro|cinco|seis|siete|ocho|nueve|diez|once|doce|trece|catorce|quince|dieciséis|diecisiete|dieciocho|diecinueve|veinte|veintiuno|veintidós|veintitrés|veinticuatro|veinticinco|veintiséis|veintisiete|veintiocho|veintinueve|treinta|cuarenta|cincuenta|sesenta|setenta|ochenta|noventa|cien|ciento|doscientos|trescientos|cuatrocientos|quinientos|seiscientos|setecientos|ochocientos|novecientos|mil)\b/gi,k=>d[k.toLowerCase()])}else if(A=="fr"){const d={zéro:0,un:1,deux:2,trois:3,quatre:4,cinq:5,six:6,sept:7,huit:8,neuf:9,dix:10,onze:11,douze:12,treize:13,quatorze:14,quinze:15,seize:16,"dix-sept":17,"dix-huit":18,"dix-neuf":19,vingt:20,trente:30,quarante:40,cinquante:50,soixante:60,"soixante-dix":70,"quatre-vingts":80,"quatre-vingt-dix":90,cent:100,cents:100,mille:1e3};return y.replace(/\b(?:zéro|un|deux|trois|quatre|cinq|six|sept|huit|neuf|dix|onze|douze|treize|quatorze|quinze|seize|dix-sept|dix-huit|dix-neuf|vingt|trente|quarante|cinquante|soixante|soixante-dix|quatre-vingts|quatre-vingt-dix|cent|cents|mille)\b/gi,k=>d[k.toLowerCase()])}else if(A=="pt"){const d={zero:0,um:1,uma:1,dois:2,duas:2,três:3,quatro:4,cinco:5,seis:6,sete:7,oito:8,nove:9,dez:10,onze:11,doze:12,treze:13,quatorze:14,quinze:15,dezesseis:16,dezessete:17,dezoito:18,dezenove:19,vinte:20,trinta:30,quarenta:40,cinquenta:50,sessenta:60,setenta:70,oitenta:80,noventa:90,cem:100,cento:100,duzentos:200,duzentas:200,trezentos:300,trezentas:300,quatrocentos:400,quatrocentas:400,quinhentos:500,quinhentas:500,seiscentos:600,seiscentas:600,setecentos:700,setecentas:700,oitocentos:800,oitocentas:800,novecentos:900,novecentas:900,mil:1e3};return y.toLowerCase().split(/\s+/).map(k=>d[k]!==void 0?d[k]:k).join(" ")}else if(A=="de"){const d={null:0,eins:1,eine:1,ein:1,zwei:2,drei:3,vier:4,fünf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zwölf:12,dreizehn:13,vierzehn:14,fünfzehn:15,sechzehn:16,siebzehn:17,achtzehn:18,neunzehn:19,zwanzig:20,dreißig:30,vierzig:40,fünfzig:50,sechzig:60,siebzig:70,achtzig:80,neunzig:90,hundert:100,tausend:1e3};return y.split(/\s+/).map(k=>d[k.toLowerCase()]!==void 0?d[k.toLowerCase()]:k).join(" ")}else if(A=="zh"){const d={零:0,一:1,二:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10,百:100,千:1e3};return y.replace(/[零一二三四五六七八九十百千]/g,k=>d[k])}else if(A=="zh-TW"){const d={零:0,一:1,二:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10,百:100,千:1e3};return y.replace(/[零一二三四五六七八九十百千]/g,k=>d[k])}else if(A=="ja"){const d={零:0,一:1,二:2,三:3,四:4,五:5,六:6,七:7,八:8,九:9,十:10,百:100,千:1e3};return y.replace(/[零一二三四五六七八九十百千]/g,k=>d[k])}else if(A=="ko"){const d={영:0,일:1,이:2,삼:3,사:4,오:5,육:6,칠:7,팔:8,구:9,십:10,백:100,천:1e3};return y.replace(/[영일이삼사오육칠팔구십백천]/g,k=>d[k])}else if(A=="th"){const d={ศูนย์:0,หนึ่ง:1,สอง:2,สาม:3,สี่:4,ห้า:5,หก:6,เจ็ด:7,แปด:8,เก้า:9,สิบ:10,ร้อย:100,พัน:1e3};return y.replace(/ศูนย์|หนึ่ง|สอง|สาม|สี่|ห้า|หก|เจ็ด|แปด|เก้า|สิบ|ร้อย|พัน/g,k=>d[k])}else if(A=="ar"){const d={صفر:0,واحد:1,اثنان:2,اثنين:2,ثلاثة:3,أربعة:4,خمسة:5,ستة:6,سبعة:7,ثمانية:8,تسعة:9,عشرة:10,"أحد عشر":11,"اثنا عشر":12,"اثني عشر":12,"ثلاثة عشر":13,"أربعة عشر":14,"خمسة عشر":15,"ستة عشر":16,"سبعة عشر":17,"ثمانية عشر":18,"تسعة عشر":19,عشرون:20,ثلاثون:30,أربعون:40,خمسون:50,ستون:60,سبعون:70,ثمانون:80,تسعون:90,مئة:100,مئتان:200,ثلاثمئة:300,أربعمئة:400,خمسمئة:500,ستمئة:600,سبعمئة:700,ثمانمئة:800,تسعمئة:900,ألف:1e3,ألفان:2e3,"ثلاثة آلاف":3e3,"أربعة آلاف":4e3,"خمسة آلاف":5e3,"ستة آلاف":6e3,"سبعة آلاف":7e3,"ثمانية آلاف":8e3,"تسعة آلاف":9e3};return y.replace(/صفر|واحد|اثنان|اثنين|ثلاثة|أربعة|خمسة|ستة|سبعة|ثمانية|تسعة|عشرة|أحد عشر|اثنا عشر|اثني عشر|ثلاثة عشر|أربعة عشر|خمسة عشر|ستة عشر|سبعة عشر|ثمانية عشر|تسعة عشر|عشرون|ثلاثون|أربعون|خمسون|ستون|سبعون|ثمانون|تسعون|مئة|مئتان|ثلاثمئة|أربعمئة|خمسمئة|ستمئة|سبعمئة|ثمانمئة|تسعمئة|ألف|ألفان|ثلاثة آلاف|أربعة آلاف|خمسة آلاف|ستة آلاف|سبعة آلاف|ثمانية آلاف|تسعة آلاف/g,k=>d[k])}else if(A=="he"){const d={אפס:0,אחד:1,שתיים:2,שניים:2,שלוש:3,ארבע:4,חמש:5,שש:6,שבע:7,שמונה:8,תשע:9,עשר:10,"אחת עשרה":11,"שתים עשרה":12,"שלוש עשרה":13,"ארבע עשרה":14,"חמש עשרה":15,"שש עשרה":16,"שבע עשרה":17,"שמונה עשרה":18,"תשע עשרה":19,עשרים:20,שלושים:30};return y.replace(new RegExp(Object.keys(d).join("|"),"g"),k=>d[k])}else if(A=="hi"){const d={शून्य:0,एक:1,दो:2,तीन:3,चार:4,पांच:5,छह:6,सात:7,आठ:8,नौ:9,दस:10,ग्यारह:11,बारह:12,तेरह:13,चौदह:14,पंद्रह:15,बीस:20};return y.replace(new RegExp(Object.keys(d).join("|"),"g"),k=>d[k])}else if(A=="ur"){const d={صفر:0,ایک:1,دو:2,تین:3,چار:4,پانچ:5,چھ:6,سات:7,آٹھ:8,نو:9,دس:10,گیارہ:11,بارہ:12,تیرہ:13,چودہ:14,پندرہ:15,بیس:20};return y.replace(new RegExp(Object.keys(d).join("|"),"g"),k=>d[k])}else return y},de=(y,d)=>{if(document.activeElement===y){let k=y.selectionStart,P=y.selectionEnd,O=y.value;y.value=(O.substring(0,k)+d+O.substring(P)).trim(),y.selectionStart=y.selectionEnd=k+d.length}else y.value+=d.trim()},ue=()=>{a.style.display="block",L.innerHTML=`
`},me=()=>{a.style.display="none",L.innerHTML=`
`},G=()=>{let y=performance.now();n||y-r{let d=new Set([document.body]);e.forEach((P,O)=>{O.classList.remove("isonomy_tooltip-element","isonomy_dynamic-element",P),e.delete(O)}),document.querySelectorAll("button, a, textarea, input, input[type='radio'], input[type='checkbox']").forEach(P=>{let O=le(P),ie=[...d].some(z=>z==null?void 0:z.contains(P));if(O&&ie){if(!e.has(P)){let z="element-"+(e.size+1);e.set(P,z),P.classList.add("isonomy_tooltip-element","isonomy_dynamic-element",z),P.dataset.tooltipId=z.replace("element-","")}}else if(e.has(P)){let z=e.get(P);P.classList.remove("isonomy_tooltip-element","isonomy_dynamic-element",z),e.delete(P)}}),h.value=="0"&&pe(),r=y,n=!1}))};return{init:()=>"webkitSpeechRecognition"in window?(E(),V(),Z(),R(),q(),!0):(console.log("Your browser does not support speech recognition. Please use Google Chrome."),!1),showCommands:ue,hideCommands:me,enable:()=>{console.log("Voice Assistant Enabled!"),_||(E(),Z(),R(),V(),q()),_&&(_.style.display="block"),localStorage.getItem("showWidget")&&x.click()},disable:()=>{console.log("Voice Assistant Disabled!"),l&&l.classList.contains("isonomy-is-listening")&&B(),_&&(_.style.display="none"),g&&(g.style.display="none"),localStorage.removeItem("showWidget"),localStorage.removeItem("voiceStatus")}}})(),$=(()=>{const t=w.getPreferences();function e(b,m,v){return function(...p){if(typeof b=="function"){const g=b.apply(this,p);return J.trackEvent(m,{featureName:v,parameters:p,isEnabled:m==="FeatureEnabled"}),g}else console.warn(`Expected a function for feature "${v}", but got ${typeof b}`)}}const s=()=>{var _;const b=(_=document.querySelector(".Accessify_Container"))==null?void 0:_.shadowRoot;if(!b){console.warn("Shadow root not found.");return}const m=b.querySelectorAll(".Accessify_Profiles_Button"),v=b.querySelectorAll("#Accessify_Features_Button");m.forEach(L=>{L.classList.remove("Accessify_profile_active");const c=L.querySelector(".Accessify_icon_active");c&&c.classList.remove("Accessify_icon_active")}),v.forEach(L=>{L.classList.remove("Accessify_feature_active"),L.setAttribute("data-click-count","0");const c=L.querySelector(".Accessify_check-icon-container");c&&(c.innerHTML=""),L.querySelectorAll(".Accessify_smallDivs").forEach(l=>{l.style.backgroundColor="#ccc"})});const p=b.querySelector(".TextColor_Selected");p&&p.classList.remove("TextColor_Selected");const g=b.querySelector(".TitleColor_Selected");g&&g.classList.remove("TitleColor_Selected");const x=b.querySelector(".BackgroundColor_Selected");x&&x.classList.remove("BackgroundColor_Selected")},o={enableAlignText:e(_e.enable,"FeatureEnabled","AlignText"),disableAlignText:e(_e.disable,"FeatureDisabled","AlignText"),enableContrast:e(we.enable,"FeatureEnabled","Contrast"),disableContrast:e(we.disable,"FeatureDisabled","Contrast"),enableSaturation:e(xe.enable,"FeatureEnabled","Saturation"),disableSaturation:e(xe.disable,"FeatureDisabled","Saturation"),enableReadingMask:e(X.enable,"FeatureEnabled","ReadingMask"),disableReadingMask:e(X.disable,"FeatureDisabled","ReadingMask"),enableMediaAltText:e(Ce.enable,"FeatureEnabled","MediaAltText"),disableMediaAltText:e(Ce.disable,"FeatureDisabled","MediaAltText"),enableVoiceNavigation:e(je.enable,"FeatureEnabled","VoiceNavigator"),disableVoiceNavigation:e(je.disable,"FeatureDisabled","VoiceNavigator"),enableCursor:e(Q.enable,"FeatureEnabled","Cursor"),disableCursor:e(Q.disable,"FeatureDisabled","Cursor"),enableBrightness:e(Le.enable,"FeatureEnabled","Brightness"),disableBrightness:e(Le.disable,"FeatureDisabled","Brightness"),enableFonts:e(Ee.enable,"FeatureEnabled","Fonts"),disableFonts:e(Ee.disable,"FeatureDisabled","Fonts"),enableHighlightHover:e(ke.enable,"FeatureEnabled","HighlightHover"),disableHighlightHover:e(ke.disable,"FeatureDisabled","HighlightHover"),enablePauseAnimations:e(ge.enable,"FeatureEnabled","PauseAnimations"),disablePauseAnimations:e(ge.disable,"FeatureDisabled","PauseAnimations"),enableHighlightFocus:e(Fe.enable,"FeatureEnabled","HighlightFocus"),disableHighlightFocus:e(Fe.disable,"FeatureDisabled","HighlightFocus"),enableTextToSpeech:e((b=1)=>{console.log("Text to speech enabled with speed:",b),typeof b=="number"&&W.setRate(b),W.initializeSelectionListener(),W.initiateSpeech("Text To speach enabled")},"FeatureEnabled","TextToSpeech"),disableTextToSpeech:e(()=>{console.log("Text to speech disabled."),W.cancel(),W.removeSelectionListener()},"FeatureDisabled","TextToSpeech"),pauseTextToSpeech:e(()=>{console.log("Text to speech paused."),W.pause()},"FeaturePaused","TextToSpeech"),resumeTextToSpeech:e(()=>{console.log("Text to speech resumed."),W.resume()},"FeatureResumed","TextToSpeech"),enableColorPalette:e(Te.enable,"FeatureEnabled","ColorPalette"),disableColorPalette:e(Te.disable,"FeatureDisabled","ColorPalette"),enableIncreaseFontSize:e(Pe.enable,"FeatureEnabled","IncreaseFontSize"),disableIncreaseFontSize:e(Pe.disable,"FeatureDisabled","IncreaseFontSize"),enableIncreaseLetterSpacing:e(Ne.enable,"FeatureEnabled","IncreaseLetterSpacing"),disableIncreaseLetterSpacing:e(Ne.disable,"FeatureDisabled","IncreaseLetterSpacing"),enableIncreaseLineHeight:e(Ie.enable,"FeatureEnabled","IncreaseLineHeight"),disableIncreaseLineHeight:e(Ie.disable,"FeatureDisabled","IncreaseLineHeight"),enableDecreaseLineHeight:e(He.enable,"FeatureEnabled","DecreaseLineHeight"),disableDecreaseLineHeight:e(He.disable,"FeatureDisabled","DecreaseLineHeight"),enableReadingGuide:e(b=>{console.log("Reading guide enabled with setting:",b),b==="readingGuide"&&(Q.disable(),ae.disable(),X.disable(),ae.enable()),b==="readingMask"&&(Q.disable(),ae.disable(),X.disable(),X.enable())},"FeatureEnabled","ReadingGuide"),disableReadingGuide:e(()=>{Q.disable(),ae.disable(),X.disable()},"FeatureDisabled","ReadingGuide"),enableZoomScreenIncrease:e(Be.enable,"FeatureEnabled","ZoomScreenIncrease"),disableZoomScreen:e(Be.disable,"FeatureDisabled","ZoomScreen"),enableUnderlineHeaders:e(Me.enable,"FeatureEnabled","UnderlineHeaders"),disableUnderlineHeaders:e(Me.disable,"FeatureDisabled","UnderlineHeaders"),enableUnderlineLinks:e($e.enable,"FeatureEnabled","UnderlineLinks"),disableUnderlineLinks:e($e.disable,"FeatureDisabled","UnderlineLinks"),enableMuteSounds:e(()=>{De.muteSounds(),console.log("All sounds muted.")},"FeatureEnabled","MuteSounds"),disableMuteSounds:e(()=>{De.unmuteSounds(),console.log("All sounds unmuted.")},"FeatureDisabled","MuteSounds"),enableGrayscale:e(qe.enable,"FeatureEnabled","Grayscale"),disableGrayscale:e(qe.disable,"FeatureDisabled","Grayscale"),enableHideImages:e(ze.enable,"FeatureEnabled","HideImages"),disableHideImages:e(ze.disable,"FeatureDisabled","HideImages"),enableHighContrast:e(Re.enable,"FeatureEnabled","HighContrast"),disableHighContrast:e(Re.disable,"FeatureDisabled","HighContrast"),enableInvertColors:e(Oe.enable,"FeatureEnabled","InvertColors"),disableInvertColors:e(Oe.disable,"FeatureDisabled","InvertColors"),disableKeyboardNavigation:e(Ke.disable,"FeatureDisabled","KeyboardNavigation"),enableKeyboardNavigation:()=>{Ke.init()}},n=e(()=>{for(const[b,m]of Object.entries(t))o[b]&&m&&o[b]()},"Initialization","AccessibilityFeatures"),r=e(()=>{for(const[b,m]of Object.entries(o))b.startsWith("disable")&&typeof m=="function"&&m();ot.enable(),s(),w.savePreferences({},"accessibilitySettings")},"ResetAllSettings","AccessibilityFeatures");return{...o,textToSpeech:W,initialize:n,resetAllSettings:r}})(),ye=(()=>{window.AccessibilityFeatures||(window.AccessibilityFeatures=$);let t=w.getPreferences("accessibilitySettings")||{};const e=async()=>(await f.init(),{[f.t("profile.Mi")]:{features:["Pause Animations","Show Tooltips"],icon:"Motor_Impaired",key:"profile.Mi"},[f.t("profile.Bl")]:{features:["Text-to-Speech"],icon:"Blind",key:"profile.Bl"},[f.t("profile.CB")]:{features:["Saturation"],icon:"Color_Blind",key:"profile.CB"},[f.t("profile.Dy")]:{features:["Dyslexic Font","Pause Animations"],icon:"Dyslexia",key:"profile.Dy"},[f.t("profile.Vi")]:{features:["Zoom Screen","Font Sizing","Saturation","Pause Animations","Show Tooltips","Dyslexic Font","Big Cursor"],icon:"Visually-Impaired",key:"profile.Vi"},[f.t("profile.Cl")]:{features:["Highlight Focus","Reading Guide","Show Tooltips","Pause Animations"],icon:"Cognitive&Learning",key:"profile.Cl"},[f.t("profile.Se")]:{features:["Pause Animations","Saturation"],icon:"Seizure&Epileptic",key:"profile.Se"},[f.t("profile.Adhd")]:{features:["Saturation","Reading Guide","Pause Animations"],icon:"ADHD",key:"profile.Adhd"}});let s={};e().then(x=>{s=x});const o={"Pause Animations":"disablePauseAnimations","Show Tooltips":"disableMediaAltText","Text-to-Speech":"disableTextToSpeech",Saturation:"disableSaturation","Dyslexic Font":"disableFonts","Big Cursor":"disableCursor","Readable Font":"disableFonts","Zoom Screen":"disableZoomScreen","Font Sizing":"disableIncreaseFontSize","Highlight Focus":"disableHighlightFocus","Reading Guide":"disableReadingGuide","Pause Animations":"disablePauseAnimations","Highlight Hover":"disableHighlightHover"},n=(x,_)=>{var c;m(_);const L=(c=s[x])==null?void 0:c.features;L&&(L.forEach(a=>{const l=v(a);if(l&&$[l.applyFunctionName]){let u=l.settings?l.settings[0]:!0,S=1;l.applyFunctionName==="enableSaturation"?(x==="Seizure & Epileptic"||x==="ADHD"?(u="lowSaturation",S=1):(u="highSaturation",S=2),$.enableSaturation(u)):l.applyFunctionName==="enableReadingGuide"?x==="ADHD"&&(u="readingMask",S=2,$.disableReadingGuide(),$.enableReadingGuide(u)):(l.applyFunctionName==="enableFonts"&&x==="Visually-Impaired"&&(u="dyslexicFont",S=2),$[l.applyFunctionName](u)),t[a]={active:!0,value:u,clickCount:S},b(a,!0,S,_)}}),t.activeProfile=x,w.savePreferences(t,"accessibilitySettings"))},r=(x,_)=>{var c;const L=(c=s[x])==null?void 0:c.features;L&&(L.forEach(a=>{const l=o[a];l&&$[l]&&($[l](),delete t[a],b(a,!1,0,_))}),t.activeProfile=null,w.savePreferences(t,"accessibilitySettings"))},b=(x,_,L,c)=>{const a=c.querySelector(`[data-feature-name="${x}"]`);if(a){if(_){a.classList.add("Accessify_feature_active"),a.setAttribute("data-click-count",L.toString());const u=a.querySelector(".Accessify_check-icon-container");u&&(u.innerHTML=I.checkIconSvg)}else{a.classList.remove("Accessify_feature_active"),a.setAttribute("data-click-count","0");const u=a.querySelector(".Accessify_check-icon-container");u&&(u.innerHTML="")}const l=a.querySelectorAll(".Accessify_smallDivs");l&&l.forEach((u,S)=>{_&&S{Object.keys(t).length!=0&&(Object.keys(t).forEach(_=>{if(_!=="activeProfile"&&t[_].active!==void 0){const L=o[_];L&&$[L]&&($[L](),t[_].active=!1,t[_].value=!1,t[_].clickCount=0,b(_,!1,0,x))}}),w.savePreferences(t,"accessibilitySettings"))},v=x=>window.allFeatureOptions.find(_=>_.text===x)||null;return{createProfilesFeatureUI:async(x,_)=>{const L=Object.entries(s).map(([T,B])=>({text:T,icon:B.icon,dataAttr:{"data-i18n":B.key},textClass:"",svgClass:"Accessify_svg_align"})),a=(f.init(),{[f.t("profile.Mi")]:["enabledTooltips","enabledStopAnimations"],[f.t("profile.Bl")]:["enabledTextToSpeech"],[f.t("profile.CB")]:["enabledSaturation"],[f.t("profile.Dy")]:["enabledDyslexicFont","enabledStopAnimations"],[f.t("profile.Vi")]:["enabledZoomScreen","enabledFontSizing","enabledSaturation","enabledContrast","enabledAdjustTextColor","enabledAdjustTitlesColor","enabledAdjustBackgroundColor","enabledLinkNavigator","enabledLetterSpacing","enabledTextAlignment","enabledReadingMode","enabledBigCursor"],[f.t("profile.Cl")]:["enabledHighlightFocus","enabledReadingMode","enabledTooltips","enabledStopAnimations","enabledHighlightHover","enabledHideImages","enabledMuteSounds"],[f.t("profile.Se")]:["enabledStopAnimations","enabledSaturation"],[f.t("profile.Adhd")]:["enabledSaturation","enabledReadingMode","enabledStopAnimations"]});function l(T,B,M){const D=[];for(let V in T)if(T[V].some(q=>B[q]==="false")){const q=M.findIndex(le=>le.text.replace(/[^a-zA-Z]/g,"")===V.replace(/[^a-zA-Z]/g,""));q!==-1&&D.push(q)}return D}function u(T,B){B.sort((M,D)=>D-M);for(let M of B)M>=0&&M');C("h4","h4",A,f.t("profiles.title"),null,{"data-i18n":"profiles.title"});const i=U(A,"rightArrow");C("hr",null,h);const E=C("div","Accessify_HideProfiles_Content",h,'',null);E.style.display="none",A.onclick=()=>{E.style.display=E.style.display==="none"?"block":"none",i.style.transform=E.style.display==="block"?"rotate(90deg)":"rotate(0deg)"},L.forEach(T=>{const B=C("button","Accessify_Profiles_Button",E.firstChild,``),M=B.querySelector("svg");C("div",T.textClass,B,T.text,null,T.dataAttr);const D=C("div","Accessify_check-icon-container",B);t.activeProfile===T.text&&(B.classList.add("Accessify_profile_active"),D.innerHTML=I.checkIconSvg,M.classList.add("Accessify_icon_active")),B.addEventListener("click",()=>{B.classList.contains("Accessify_profile_active")?(B.classList.remove("Accessify_profile_active"),D.innerHTML="",M.classList.remove("Accessify_icon_active"),r(T.text,_)):(E.firstChild.querySelectorAll(".Accessify_Profiles_Button").forEach(R=>{R.classList.remove("Accessify_profile_active"),R.querySelector(".Accessify_check-icon-container").innerHTML="";const q=R.querySelector("svg");q&&q.classList.remove("Accessify_icon_active")}),B.classList.add("Accessify_profile_active"),D.innerHTML=I.checkIconSvg,M.classList.add("Accessify_icon_active"),n(T.text,_))})})},initialize:x=>{t.activeProfile&&n(t.activeProfile,x)},enableProfileFeatures:n,disableProfileFeatures:r}})();class at{constructor(e){this.shadowRoot=e,this.modal=C("div","Accessify_Settings_Modal",this.shadowRoot),this.modal.style.display="none",this.buildModal()}buildModal(){const e=C("div","Accessify_Settings_Modal_Content",this.modal),s=C("div","Accessify_Settings_Modal_header",e);C("h3","Accessify_Modal_Title",s,"Accessibility Statement for Isonomy – Web Accessibility"),C("button","Accessify_Settings_Modal_close",s,'').addEventListener("click",()=>this.hide());const n=C("div","Accessify_Settings_Modal_body",e);n.style.padding="16px",n.style.overflowY="auto",n.style.maxHeight="80vh",n.style.overflowX="hidden",this.createKeyboardNavigationSection(n),this.createAccessibilityStatementSection(n)}createKeyboardNavigationSection(e){C("div","Accessify_Section_Container",e)}createAccessibilityStatementSection(e){const s=C("div","Accessify_Statement_Section",e),o=C("div","Accessify_Statement_Content",s);o.innerHTML=`
Commitment to Accessibility
At Isonomy, we believe that the web should be inclusive and accessible to everyone. Our mission is to empower Shopify merchants with tools that make their online stores accessible to the widest possible audience—regardless of ability.
We are fully committed to ensuring digital equality and work to conform to the Web Content Accessibility Guidelines (WCAG) 2.1, at the AA level, established by the World Wide Web Consortium (W3C). These guidelines serve as a benchmark for making content accessible to individuals with disabilities, including visual, motor, auditory, speech, and cognitive impairments.
Accessibility Features Provided by Isonomy
Isonomy equips your store with an AI-powered accessibility layer and user-friendly customization interface. The app actively remediates accessibility gaps in real-time and enables individual users to personalize their experience through assistive profiles.
Screen Reader & Keyboard Support
ARIA Labels & Roles: Enhances semantic clarity for screen readers by applying ARIA attributes to key elements (buttons, forms, modals, navigation menus).
Screen Reader Mode: Activates via keyboard shortcut (Alt+1), triggering optimized accessibility behaviors compatible with JAWS, NVDA, VoiceOver, and TalkBack.
Keyboard Navigation Enhancements: Enables full keyboard operability including tab order management, dropdown control with arrow keys, and modal focus traps.
Disability Profiles Available
Isonomy supports multiple accessibility modes to accommodate various disabilities:
Epilepsy Safe Mode: Disables flashing animations and high-contrast sequences to prevent seizures.
Vision Impaired Mode: Enhances readability for users with cataracts, glaucoma, or partial blindness.
Cognitive Disability Mode: Simplifies page layouts and highlights key elements to reduce cognitive load.
ADHD Friendly Mode: Minimizes on-page distractions for easier concentration.
Blind Users Profile: Seamless compatibility with screen reader software.
Motor-Impaired Mode: Full website control using only keyboard inputs with skip links and shortcut keys (e.g., H for headings, F for forms, B for buttons).
UI and Content Customizations
Typography Controls: Adjust font size, family, spacing, and alignment.
Color Contrast Tools: Toggle between light/dark modes, inverted colors, and custom contrast schemes.
Content Highlighting: Emphasize links, buttons, and interactive elements on hover/focus.
Animation Control: Instantly stop autoplaying media and transitions for reduced motion sensitivity.
Audio Mute: Disable all site audio for users with auditory sensitivity or assistive hearing devices.
Virtual Keyboard: Assist users with limited physical input devices.
Technology and Compatibility
Isonomy is engineered for compatibility with all major browsers and assistive technologies, including:
Browsers: Chrome, Firefox, Safari, Microsoft Edge, Opera
Screen Readers: JAWS, NVDA, VoiceOver, TalkBack
Devices: Supports accessibility on desktops, tablets, and mobile phones
Feedback and Continuous Improvement
Accessibility is an ongoing process. We are continuously improving Isonomy to support new standards, technologies, and merchant needs. If you encounter accessibility issues or have suggestions, we welcome your feedback through our support form on the Shopify App Store listing.