1import{ap as y,ax as N,g as p,I as E,u as S}from"./CYGRAPIB.js";import{i as k,f as I}from"./BEZvtooX.js";const i="yanok-cookie-consent";function D(){const n=localStorage.getItem(i);return n==="accepted"?"accepted":n==="declined"?"declined":"pending"}function A(n){localStorage.setItem(i,n)}function w(){localStorage.removeItem(i),window.dispatchEvent(new CustomEvent("consentReset"))}function F(){return D()==="accepted"}function b(n){const e=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");return Array.from(n.querySelectorAll(e)).filter(a=>!a.closest("[hidden]")&&!a.closest('[aria-hidden="true"]'))}function K(n,e={}){let a=null,{enabled:s=!0,focusFirst:r=!0,restoreFocus:u=!0,closeOnEscape:l=!1,onEscape:f}=e;function d(t){if(!s)return;if(t.key==="Escape"&&l){t.preventDefault(),f?.();return}if(t.key!=="Tab")return;const o=b(n);if(o.length===0)return;const v=o[0],h=o[o.length-1];t.shiftKey?document.activeElement===v&&(t.preventDefault(),h.focus()):document.activeElement===h&&(t.preventDefault(),v.focus())}function m(){a=document.activeElement,r&&requestAnimationFrame(()=>{const t=b(n);t.length>0&&t[0].focus()}),document.addEventListener("keydown",d)}function g(){document.removeEventListener("keydown",d),u&&a&&(a.focus(),a=null)}return s&&m(),{update(t){const o=s;s=t.enabled??!0,r=t.focusFirst??!0,u=t.restoreFocus??!0,l=t.closeOnEscape??!1,f=t.onEscape,s&&!o?m():!s&&o&&g()},destroy(){g()}}}const c=[{code:"en",name:"English",nativeName:"English",flag:"ðºð¸"},{code:"es",name:"Spanish",nativeName:"Español",flag:"ðªð¸"},{code:"fr",name:"French",nativeName:"Français",flag:"ð«ð·"},{code:"de",name:"German",nativeName:"Deutsch",flag:"ð©ðª"},{code:"ms",name:"Malay",nativeName:"Bahasa Melayu",flag:"ð²ð¾"},{code:"id",name:"Indonesian",nativeName:"Bahasa Indonesia",flag:"ð®ð©"},{code:"ja",name:"Japanese",nativeName:"æ¥æ¬èª",flag:"ð¯ðµ"},{code:"ko",name:"Korean",nativeName:"íêµì´",flag:"ð°ð·"},{code:"zh",name:"Chinese",nativeName:"䏿",flag:"ð¨ð³"},{code:"vi",name:"Vietnamese",nativeName:"Tiếng Viá»t",flag:"ð»ð³"},{code:"th",name:"Thai",nativeName:"à¹à¸à¸¢",flag:"ð¹ð"},{code:"uk",name:"Ukrainian",nativeName:"УкÑаÑнÑÑка",flag:"ðºð¦"}];function C(){{const n=localStorage.getItem("yanok-language");if(n&&c.some(e=>e.code===n))return n}return"en"}class L{#e=y(N(C()));get current(){return p(this.#e)}set current(e){E(this.#e,e,!0)}#t=S(()=>c.find(e=>e.code===this.current));get currentData(){return p(this.#t)}set currentData(e){E(this.#t,e)}change(e){c.some(a=>a.code===e)&&(this.current=e,k(e)&&I(e),F()&&localStorage.setItem("yanok-language",e),document.documentElement.lang=e)}}const O=new L;export{c as a,K as f,D as g,F as h,O as l,w as r,A as s};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.