umd/fieldstack.js
/**
   * Stateful class for paragraph direction detection
   *
   * @param defaultDir  Default direction of the service
   */
Stateful class for paragraph direction detection
@param defaultDir  Default direction of the service
Stateful class for paragraph direction detection @param defaultDir Default direction of the service
function UnicodeBidiService(defaultDir) {
    _classCallCheck$7(this, UnicodeBidiService);
    if (!defaultDir) {
      defaultDir = UnicodeBidiDirection_1.getGlobalDir();
    } else {
      !UnicodeBidiDirection_1.isStrong(defaultDir) ? invariant_1(false, 'Default direction must be a strong direction (LTR or RTL)') : void 0;
    }
    this._defaultDir = defaultDir;
    this.reset();
  }
function UnicodeBidiService ( defaultDir ) { _classCallCheck$7 ( this , UnicodeBidiService ) ; if ( ! defaultDir ) { defaultDir = UnicodeBidiDirection_1 . getGlobalDir ( ) ; } else { ! UnicodeBidiDirection_1 . isStrong ( defaultDir ) ? invariant_1 ( false , 'Default direction must be a strong direction (LTR or RTL)' ) : void 0 ; } this . _defaultDir = defaultDir ; this . reset ( ) ; }
Stateful class for paragraph direction detection
 @param defaultDir  Default direction of the service
Stateful class for paragraph direction detection @param defaultDir Default direction of the service