Module 181038

437 characters · in e76b0f3552014092.js
Dependencies
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(t,e,r){"use strict";var n=r(797686),i=null;function o(t){return"LTR"===t||"RTL"===t}function a(t){return o(t)||n(!1),"LTR"===t?"ltr":"rtl"}t.exports={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:o,getHTMLDir:a,getHTMLDirIfDifferent:function(t,e){return o(t)||n(!1),o(e)||n(!1),t===e?null:a(t)},setGlobalDir:function(t){i=t},initGlobalDir:function(){i="LTR"},getGlobalDir:function(){return i||this.initGlobalDir(),i||n(!1),i}}}