//>>built
define("dijit/_BidiSupport",["./_WidgetBase"],function(c){var d,e,f;c.extend({getTextDir:function(a){return"auto"==this.textDir?this._checkContextual(a):this.textDir},_checkContextual:function(a){return(a=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(a))?"z">=a[0]?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(a,b){var c="auto"==this.textDir?this._checkContextual(b):this.textDir;if(a.dir!=c)a.dir=c},enforceTextDirWithUcc:function(a,
b){return this.textDir?(a.originalText=b,("ltr"==("auto"==this.textDir?this._checkContextual(b):this.textDir)?d:e)+b+f):b},restoreOriginalText:function(a){if(a.originalText)a.text=a.originalText,delete a.originalText;return a}});d="\u202a";f="\u202c";e="\u202b";return c});