import{Ta as u,Y as a,Z as s,_ as d,aa as o,pa as c,zc as l}from"./chunk-GKQGDBUU.js";import{i as r}from"./chunk-QVFSZZWQ.js";var p=new d("cdk-dir-doc",{providedIn:"root",factory:v});function v(){return o(l)}var m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?m.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var I=(()=>{let t=class t{value="ltr";change=new c;constructor(){let i=o(p,{optional:!0});if(i){let n=i.body?i.body.dir:null,f=i.documentElement?i.documentElement.dir:null;this.value=h(n||f||"ltr")}}ngOnDestroy(){this.change.complete()}};r(t,"\u0275fac",function(n){return new(n||t)}),r(t,"\u0275prov",a({token:t,factory:t.\u0275fac,providedIn:"root"}));let e=t;return e})();var b=(()=>{let t=class t{};r(t,"\u0275fac",function(n){return new(n||t)}),r(t,"\u0275mod",u({type:t})),r(t,"\u0275inj",s({}));let e=t;return e})();export{I as a,b};
/**i18n:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*/
//# sourceMappingURL=chunk-JUARZ223.js.map
