import{$ as s,Z as a,ba as o,pa as d,wc as c}from"./chunk-7W5IJG57.js";import{i as r}from"./chunk-RB5FWREQ.js";var l=new s("cdk-dir-doc",{providedIn:"root",factory:f});function f(){return o(c)}var g=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(i){let t=i?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?g.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var O=(()=>{let t=class t{value="ltr";change=new d;constructor(){let e=o(l,{optional:!0});if(e){let n=e.body?e.body.dir:null,u=e.documentElement?e.documentElement.dir:null;this.value=h(n||u||"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 i=t;return i})();export{O as a};
/**i18n:3558f4fa3a6acf6a8a484a0589828971efacd00f9f89386e64ec00a5fc269cc5*/
//# sourceMappingURL=chunk-RAKTOQHD.js.map
