Loading
function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>f});var i=n(17928),r=n(228366),s=n(724066),a=n(77729),o=n(617617),l=n(375708);async function u(){if(a.A?.app?.getPreferredSystemLanguages!=null){let e=await a.A.app.getPreferredSystemLanguages().then(e=>e[0]);if(null!=e&&""!==e)return e}return l.systemLocale}let d=l.intl.currentLocale,c=l.systemLocale;function _(){let e=o.A.settings.localization?.locale?.value;return null!=e&&""!==e&&e!==d&&(d=e,(0,s.Av)(d),!0)}u().then(e=>{c=e});class h extends i.Ay.Store{static displayName="LocaleStore";initialize(){this.waitFor(o.A),_(),(0,s.Av)(d)}get locale(){return d}get systemLocale(){return c}}let f=new h(r.h,{OVERLAY_INITIALIZE:_,CACHE_LOADED:_,CONNECTION_OPEN:_,USER_SETTINGS_PROTO_UPDATE:_,USER_SETTINGS_LOCALE_OVERRIDE:function(e){d=e.locale,(0,s.Av)(d)}})}