import{b as u}from"./index-D5jBmCgz.js";function t(){const e=u();return[{value:"es",label:e.formatMessage({id:"languages.es"}),active:!0},{value:"eu",label:e.formatMessage({id:"languages.eu"}),active:!0},{value:"it",label:e.formatMessage({id:"languages.it"}),active:!0},{value:"fr",label:e.formatMessage({id:"languages.fr"}),active:!0},{value:"da",label:e.formatMessage({id:"languages.da"}),active:!0},{value:"de",label:e.formatMessage({id:"languages.de"}),active:!0},{value:"en",label:e.formatMessage({id:"languages.en"}),active:!0},{value:"ja",label:e.formatMessage({id:"languages.ja"}),active:!0},{value:"cs",label:e.formatMessage({id:"languages.cs"}),active:!0},{value:"pt",label:e.formatMessage({id:"languages.pt"}),active:!0},{value:"ro",label:e.formatMessage({id:"languages.ro"}),active:!0},{value:"tr",label:e.formatMessage({id:"languages.tr"}),active:!0},{value:"fi",label:e.formatMessage({id:"languages.fi"}),active:!0},{value:"no",label:e.formatMessage({id:"languages.no"}),active:!0},{value:"nl",label:e.formatMessage({id:"languages.nl"}),active:!0},{value:"pl",label:e.formatMessage({id:"languages.pl"}),active:!0},{value:"ko",label:e.formatMessage({id:"languages.ko"}),active:!0},{value:"ru",label:e.formatMessage({id:"languages.ru"}),active:!0},{value:"sl",label:e.formatMessage({id:"languages.sl"}),active:!0},{value:"sv",label:e.formatMessage({id:"languages.sv"}),active:!0},{value:"th",label:e.formatMessage({id:"languages.th"}),active:!0},{value:"uk",label:e.formatMessage({id:"languages.uk"}),active:!0},{value:"el",label:e.formatMessage({id:"languages.el"}),active:!0},{value:"id",label:e.formatMessage({id:"languages.id"}),active:!0},{value:"bg",label:e.formatMessage({id:"languages.bg"}),active:!0},{value:"hu",label:e.formatMessage({id:"languages.hu"}),active:!0},{value:"hr",label:e.formatMessage({id:"languages.hr"}),active:!0},{value:"sr",label:e.formatMessage({id:"languages.sr"}),active:!0},{value:"sk",label:e.formatMessage({id:"languages.sk"}),active:!0},{value:"ms",label:e.formatMessage({id:"languages.ms"}),active:!0},{value:"ar",label:e.formatMessage({id:"languages.ar"}),active:!1},{value:"zh",label:e.formatMessage({id:"languages.zh"}),active:!1},{value:"hi",label:e.formatMessage({id:"languages.hi"}),active:!1},{value:"bn",label:e.formatMessage({id:"languages.bn"}),active:!1},{value:"ur",label:e.formatMessage({id:"languages.ur"}),active:!1},{value:"vi",label:e.formatMessage({id:"languages.vi"}),active:!1},{value:"ca",label:e.formatMessage({id:"languages.ca"}),active:!0},{value:"my",label:e.formatMessage({id:"languages.my"}),active:!1},{value:"lv",label:e.formatMessage({id:"languages.lv"}),active:!0},{value:"zh",label:e.formatMessage({id:"languages.zh"}),active:!0}]}function g(e,a){return String.prototype.localeCompare?e.label.localeCompare(a.label):e.label<a.label?-1:e.label>a.label?1:0}function i(e=!0){return t().reduce((s,l)=>l.active||!e?[...s,{label:l.label,value:l.value}]:s,[]).sort(g)}function v(){const e=t(),a=u();return[...e,{value:"al",label:a.formatMessage({id:"languages.al"})}].sort(g)}export{v as a,t as b,i as u};