text: /*
  jQWidgets v5.1.0 (2017-Aug)
  Copyright (c) 2011-2017 jQWidgets.
  License: http://jqwidgets.com/license/
  */
  !function(e){"use strict";e.jqx.jqxWidget("jqxTextArea","",{}),e.extend(e.jqx._jqxTextArea.prototype,{defineInstance:function(){var t=this,r={disabled:!1,filter:t._filter,sort:t._sort,highlight:t._highlight,dropDownWidth:null,renderer:t._renderer,opened:!1,$popup:document.createElement("ul"),source:[],roundedCorners:!0,searchMode:"default",placeHolder:"",width:null,height:null,rtl:!1,displayMember:"",valueMember:"",popupZIndex:2e4,items:8,minLength:1,maxLength:null,scrollBarSize:e.jqx.utilities.scrollBarSize,query:"",changeType:null,events:["change","select","open","close"]};return this===e.jqx._jqxTextArea.prototype?r:(e.extend(!0,t,r),r)},createInstance:function(){var t=this;t._textareaWidthFix=0,e.jqx.browser.chrome?t._textareaWidthFix=6:e.jqx.browser.msie&&(t._textareaWidthFix=3),!1===document.body.contains(t.element)&&(t._notInDOM=!0),t._popupHelper=e(t.$popup),t.render(),t.isInitialized=!0},render:function(){var t=this;if(!0!==t.isInitialized){15!==e.jqx.utilities.scrollBarSize&&(t.scrollBarSize=e.jqx.utilities.scrollBarSize);var r=document.createElement("div");r.style.overflow="hidden",r.style.width="100%",r.style.height="100%",r.style.backgroundColor="transparent",r.style["-webkit-appearance"]="none",r.style.outline="none",r.style.align="left",r.style.border="0px",r.style.padding="0px",r.style.margin="0px",r.style.left="0px",r.style.top="0px",r.style.valign="top",r.style.position="relative";var a=document.createElement("div");if(a.style.align="left",a.style.valign="top",a.style.left="0px",a.style.top="0px",a.style.position="absolute",t._baseHost=t.host,e.jqx.utilities.resize(t._baseHost,function(){if(t._notInDOM)return t._notInDOM=!1,void("textarea"===t.element.nodeName.toLowerCase()&&(t.isInitialized=!1,t.render()));t._ttimer=setTimeout(function(){t.textarea.style.width="",t._arrange()},100)},!1,!0),"div"===t.element.tagName.toLowerCase()){t.element.appendChild(r);var l=document.createElement("textarea");l.className=t.toThemeProperty("jqx-text-area-element"),t.textarea=l,r.appendChild(l),r.appendChild(a),t.wrapper=t.element}else if("textarea"===t.element.tagName.toLowerCase()){if(t._notInDOM)return;t.textarea=t.element;var s=document.createElement("div");t.element.parentNode.insertBefore(s,t.element),s.appendChild(r),r.appendChild(t.element),r.appendChild(a);var i=t.host.data();t.host=e(s),t.host.data(i),s.style.cssText=t.element.style.cssText,t.element.style.cssText="",t.element.className=t.toThemeProperty("jqx-text-area-element"),t.wrapper=s,s.setAttribute("id",t.element.id),t.element=s,t.textarea.setAttribute("id",t.element.id+"TextArea")}var n=t.host;if(t._addClasses(),!n.jqxButton)throw new Error("jqxTextArea: Missing reference to jqxbuttons.js.");if(!n.jqxScrollBar)throw new Error("jqxTextArea: Missing reference to jqxscrollbar.js.");null===t.width&&t.element.style&&null!==t.element.style.width&&(t.width=t.element.style.width),null===t.height&&t.element.style&&null!==t.element.style.height&&(t.height=t.element.style.height),t._setSize(),t.vScrollBar=e(a),t.vScrollBar.jqxScrollBar({vertical:!0,width:15,height:"100%",max:t.height,theme:t.theme}),""===e.trim(t.textarea.value)&&(t.textarea.value=""),t.textarea.setAttribute("placeholder",t.placeHolder),null!==t.maxLength&&t.textarea.setAttribute("maxlength",t.maxLength),e.jqx.browser.msie&&e.jqx.browser.version<10&&""===t.textarea.value&&(t.textarea.value=t.placeHolder),(t.source instanceof Array&&t.source.length||t.source._source||e.isFunction(t.source))&&(t._oldsource=t.source,t._updateSource(),t._addPopupClasses(),e.jqx.aria(t,"aria-haspopup",!0)),t._arrange(),t._addHandlers()}else t.refresh()},refresh:function(e){if(!0!==e){var t=this;t._setSize(),t._arrange(),t._removeHandlers(),t._addHandlers(),!0===t.opened&&t.open()}},_arrange:function(){var e=this,t=e.textarea,r=t.scrollHeight-e._height(t),a=Math.max(0,r);e.vScrollBar.jqxScrollBar({max:a,value:t.scrollTop}),r<5?(t.style.width=this._toPx(e._width(e.element)),e.vScrollBar[0].style.visibility="hidden"):(t.style.width=this._toPx(e._width(e.element)-e.scrollBarSize-e._textareaWidthFix),e.vScrollBar[0].style.visibility="visible",e._arrangeScrollbars(e.scrollBarSize))},val:function(t){var r,a=this,l=a.textarea,s=l.value;if(e.jqx.browser.msie&&e.jqx.browser.version<10&&s===a.placeHolder&&(s=""),0===arguments.length||"object"==typeof t&&!0===e.isEmptyObject(t))return""!==a.displayMember&&""!==a.valueMember&&a.selectedItem?""===s?"":a.selectedItem:s;if(t&&t.label){if(a.selectedItem&&t.label===a.selectedItem.label&&t.value===a.selectedItem.value)return t.label;a.selectedItem={label:t.label,value:t.value},a.element.setAttribute("data-value",t.value),a.element.setAttribute("data-label",t.label),l.value=t.label,r=t.label}else{if(s===t)return t;l.value=t,a.element.setAttribute("data-value",t),a.element.setAttribute("data-label",t),r=t}return a._arrange(),a._raiseEvent("0"),r},focus:function(){this.textarea.focus()},selectAll:function(){var e=this.textarea;setTimeout(function(){if("selectionStart"in e)e.focus(),e.setSelectionRange(0,e.value.length);else{var t=e.createTextRange();t.collapse(!0),t.moveEnd("character",e.value.length),t.moveStart("character",0),t.select()}},10)},_arrangeScrollbars:function(e){var t=this,r=t._width(t.element),a=t._height(t.element),l=t.vScrollBar,s=l[0],i="hidden"!==s.style.visibility;l.jqxScrollBar({width:e,height:parseInt(a,10)-2}),s.style.left=r-e-2-2+"px",s.style.top="0px";var n=t._width(t.element)-t.vScrollBar.outerWidth();if(t.rtl){s.style.left="0px";var o=i?parseInt(e,10)+3+"px":0;t.textarea.style.paddingLeft=t._toPx(o),t.textarea.style.width=t._toPx(n-4)}else"hidden"!==l.css("visibility")&&(t.textarea.style.width=this._toPx(n-t._textareaWidthFix));l.jqxScrollBar("refresh")},destroy:function(){var e=this;e._popupHelper.remove(),e.vScrollBar.jqxScrollBar("destroy"),e._removeHandlers(),e.host.remove()},propertiesChangedHandler:function(e,t,r){r&&r.width&&r.height&&2==Object.keys(r).length&&(e.element.style.width=e._toPx(e.width),e.element.style.height=e._toPx(e.height),e._arrange())},propertyChangedHandler:function(t,r,a,l){if(void 0!==t.isInitialized&&!1!==t.isInitialized&&!(t.batchUpdate&&t.batchUpdate.width&&t.batchUpdate.height&&2==Object.keys(t.batchUpdate).length)&&l!==a)switch(r){case"theme":t.vScrollBar.jqxScrollBar({theme:t.theme});break;case"width":case"height":t.element.style[r]=t._toPx(l),t._arrange();break;case"source":t._oldsource=l,t._updateSource();break;case"displayMember":case"valueMember":t.source=t._oldsource,t._updateSource();break;case"opened":!0===l?t.open():t.close();break;case"maxLength":t.textarea.setAttribute("maxlength",l);break;case"placeHolder":t.textarea.setAttribute("placeholder",l),e.jqx.browser.msie&&e.jqx.browser.version<10&&t.textarea.value===a&&(t.textarea.value=l);break;case"scrollBarSize":t._arrange();break;case"dropDownWidth":t.$popup.style.width=t._toPx(l);break;case"roundedCorners":!0===l?(t.element.className+=" "+t.toThemeProperty("jqx-rc-all"),t.$popup.className+=" "+t.toThemeProperty("jqx-rc-all")):(t.host.removeClass(t.toThemeProperty("jqx-rc-all")),t._popupHelper.removeClass(t.toThemeProperty("jqx-rc-all")));break;case"disabled":t.vScrollBar.jqxScrollBar({disabled:l}),!0===l?(t.element.className+=" "+t.toThemeProperty("jqx-fill-state-disabled"),t.textarea.setAttribute("disabled","disabled")):(t.host.removeClass(t.toThemeProperty("jqx-fill-state-disabled")),t.textarea.removeAttribute("disabled")),e.jqx.aria(t,"aria-disabled",l);break;case"rtl":!0===l?t.textarea.className+=" "+t.toThemeProperty("jqx-text-area-element-rtl"):e(t.textarea).removeClass(t.toThemeProperty("jqx-text-area-element-rtl")),t._arrange();break;default:t.refresh()}},_raiseEvent:function(t,r){var a=this;void 0===r&&(r={owner:null});var l=a.events[t];r.owner=a;var s=new e.Event(l);s.owner=a,0===t&&(r.type=this.changeType,this.changeType=null),s.args=r,s.preventDefault&&s.preventDefault();return("change"===l||"div"===a._baseHost[0].tagName.toLowerCase()?a.host:a._baseHost).trigger(s)},_addHandlers:function(){var t=this,r=t.element.id,a=t.host,l=t.textarea,s=e.jqx.browser.mozilla?"wheel":"mousewheel";t.addHandler(a,s+".jqxTextArea"+r,function(e){t.wheel(e,t)}),t.addHandler(a,"mouseenter.jqxTextArea"+r,function(){t.focused=!0}),t.addHandler(a,"mouseleave.jqxTextArea"+r,function(){t.focused=!1}),t.addHandler(a,"focus.jqxTextArea"+r,function(){t.focused=!0}),t.addHandler(a,"blur.jqxTextArea"+r,function(){t.focused=!1}),t.addHandler(t.wrapper,"scroll.jqxTextArea"+r,function(){0!==t.wrapper.scrollTop&&(t.wrapper.scrollTop=0),0!==t.wrapper.scrollLeft&&(t.wrapper.scrollLeft=0)}),t.addHandler(l,"change.jqxTextArea"+r,function(e){e.stopPropagation(),e.preventDefault(),t._arrange(),t._raiseEvent("0")}),t.addHandler(l,"select.jqxTextArea"+r,function(e){e.stopPropagation(),e.preventDefault()}),t.addHandler(l,"scroll.jqxTextArea"+r,function(){var e=Math.max(0,l.scrollHeight-t._height(l));t.vScrollBar.jqxScrollBar({max:e,value:l.scrollTop})}),t.addHandler(l,"focus.jqxTextArea"+r,function(){t.element.className+=" "+t.toThemeProperty("jqx-fill-state-focus"),e.jqx.browser.msie&&e.jqx.browser.version<10&&l.value===t.placeHolder&&(l.value="")}),t.addHandler(l,"blur.jqxTextArea"+r,function(){if(t.host.removeClass(t.toThemeProperty("jqx-fill-state-focus")),e.jqx.browser.msie&&e.jqx.browser.version<10){var r=t.textarea.value;""===r?t.textarea.value=t.placeHolder:null!==t.maxLength&&r.length>t.maxLength&&(t.textarea.value=r.substr(0,t.maxLength))}}),t.addHandler(l,"keydown.jqxTextArea"+r,function(r){t._suppressKeyPressRepeat=~e.inArray(r.keyCode,[40,38,9,13,27]),t.changeType="keyboard",t._move(r)}),t.addHandler(l,"keypress.jqxTextArea"+r,function(r){if(null!==t.maxLength&&e.jqx.browser.msie&&e.jqx.browser.version<10&&l.value.length>t.maxLength)return!1;t._suppressKeyPressRepeat||t._move(r)}),t.addHandler(l,"keyup.jqxTextArea"+r,function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!t.opened)return;t._select();break;case 27:if(!t.opened)return;t.close();break;default:t.timer&&clearTimeout(t.timer),t.timer=setTimeout(function(){t._suggest()},300)}e.preventDefault(),t._arrange()}),t.addHandler(t.vScrollBar,"valueChanged.jqxTextArea"+r,function(e){l.scrollTop=e.currentValue}),t.addHandler(t.$popup,"mousedown.jqxTextArea"+r,function(e){e.stopPropagation(),e.preventDefault(),t.changeType="mouse",t._select()})},_removeHandlers:function(){var t=this,r=t.element.id,a=t.host,l=t.textarea;e.jqx.utilities.resize(t._baseHost,null,!0),t.removeHandler(a,"mousewheel.jqxTextArea"+r),t.removeHandler(a,"mouseenter.jqxTextArea"+r),t.removeHandler(a,"mouseleave.jqxTextArea"+r),t.removeHandler(a,"focus.jqxTextArea"+r),t.removeHandler(a,"blur.jqxTextArea"+r),t.removeHandler(t.wrapper,"scroll.jqxTextArea"+r),t.removeHandler(l,"change.jqxTextArea"+r),t.removeHandler(l,"select.jqxTextArea"+r),t.removeHandler(l,"scroll.jqxTextArea"+r),t.removeHandler(l,"focus.jqxTextArea"+r),t.removeHandler(l,"blur.jqxTextArea"+r),t.removeHandler(l,"keydown.jqxTextArea"+r),t.removeHandler(l,"keypress.jqxTextArea"+r),t.removeHandler(l,"keyup.jqxTextArea"+r),t.removeHandler(t.vScrollBar,"valueChanged.jqxTextArea"+r),t.removeHandler(t.$popup,"mousedown.jqxTextArea"+r)},_itemHandler:function(t){e(this._find("jqx-fill-state-pressed",this._popupHelper)).removeClass(this.toThemeProperty("jqx-fill-state-pressed")),t.currentTarget.className+=" "+this.toThemeProperty("jqx-fill-state-pressed")},wheel:function(t,r){var a=0;if(t.originalEvent&&e.jqx.browser.msie&&t.originalEvent.wheelDelta&&(a=t.originalEvent.wheelDelta/120),t||(t=window.event),t.wheelDelta?a=t.wheelDelta/120:t.detail?a=-t.detail/3:t.originalEvent.wheelDelta?a=t.originalEvent.wheelDelta/120:t.originalEvent.detail?a=-t.originalEvent.detail/3:t.originalEvent.deltaY&&(a=-t.originalEvent.deltaY/3),a){var l=r._handleDelta(a);return l||t.preventDefault&&t.preventDefault(),!l&&l}t.preventDefault&&t.preventDefault(),t.returnValue=!1},_handleDelta:function(e){var t=this,r=t.vScrollBar.jqxScrollBar("getInstance");if(t.focused){var a=r.value;if(e<0?t.scrollDown():t.scrollUp(),a!==r.value)return!1}return!0},scrollDown:function(){var e=this;if("hidden"===e.vScrollBar.css("visibility"))return!1;var t=e.vScrollBar.jqxScrollBar("getInstance"),r=Math.min(t.value+t.largestep,t.max);return t.setPosition(r),e._arrange(),!0},scrollUp:function(){var e=this;if("hidden"===e.vScrollBar.css("visibility"))return!1;var t=e.vScrollBar.jqxScrollBar("getInstance"),r=Math.max(t.value-t.largestep,t.min);return t.setPosition(r),e._arrange(),!0},_setSize:function(){var e=this;e.element.style.width=e._toPx(e.width),e.element.style.height=e._toPx(e.height)},_addClasses:function(){var t=this,r="jqx-panel jqx-widget jqx-widget-content jqx-text-area";t.textarea.className+=" "+t.toThemeProperty("jqx-widget jqx-widget-content"),!0===t.roundedCorners&&(r+=" jqx-rc-all"),!0===t.disabled?(r+=" jqx-fill-state-disabled",t.textarea.setAttribute("disabled","disabled"),e.jqx.aria(t,"aria-disabled",!0)):e.jqx.aria(t,"aria-disabled",!1),!0===t.rtl&&(t.textarea.className+=" "+t.toThemeProperty("jqx-text-area-element-rtl")),t.element.className+=" "+t.toThemeProperty(r)},_addPopupClasses:function(){var t=this,r="jqx-popup jqx-input-popup jqx-menu jqx-menu-vertical jqx-menu-dropdown jqx-widget jqx-widget-content";e.jqx.browser.msie&&(r+=" jqx-noshadow"),t.roundedCorners&&(r+=" jqx-rc-all"),t.$popup.className+=" "+t.toThemeProperty(r)},_updateSource:function(){var t=this,r=function(e){if(void 0===e)return null;if("string"==typeof e||e instanceof String)return{label:e,value:e};if("string"!=typeof e&&e instanceof String==!1){var r="",a="";return""!==t.displayMember&&void 0!==t.displayMember&&e[t.displayMember]&&(r=e[t.displayMember]),""!==t.valueMember&&void 0!==t.valueMember&&(a=e[t.valueMember]),""===r&&(r=e.label),""===a&&(a=e.value),{label:r,value:a}}return e},a=function(e){for(var t=[],a=0;a<e.length;a++)t[a]=r(e[a]);return t};if(this.source&&this.source._source){if(this.adapter=this.source,null!=this.adapter._source.localdata)this.adapter.unbindBindingUpdate(this.element.id),this.adapter.bindBindingUpdate(this.element.id,function(){t.source=a(t.adapter.records)});else{var l={};this.adapter._options.data?e.extend(t.adapter._options.data,l):(this.source._source.data&&e.extend(l,this.source._source.data),this.adapter._options.data=l),this.adapter.unbindDownloadComplete(this.element.id),this.adapter.bindDownloadComplete(this.element.id,function(){t.source=a(t.adapter.records)})}this.source.dataBind()}else e.isFunction(this.source)||(this.source=a(this.source))},open:function(){if(!e.jqx.isHidden(this.host)){var t=e.extend({},this.host.coord(!0),{height:this.element.offsetHeight});if(this.$popup.parentNode!==document.body){var r=this.element.id+"_popup";this.$popup.id=r,e.jqx.aria(this,"aria-owns",r),document.body.appendChild(this.$popup)}this.$popup.style.position="absolute",this.$popup.style.zIndex=this.popupZIndex,this.$popup.style.top=this._toPx(t.top+t.height),this.$popup.style.left=this._toPx(t.left),this.$popup.style.display="block";var a=0,l=this._popupHelper.children();return e.each(l,function(){a+=e(this).outerHeight()+1}),this.$popup.style.height=this._toPx(a),this.opened=!0,this._raiseEvent("2",{popup:this.$popup}),e.jqx.aria(this,"aria-expanded",!0),this}},close:function(){return this.$popup.style.display="none",this.opened=!1,this._raiseEvent("3",{popup:this.$popup}),e.jqx.aria(this,"aria-expanded",!1),this},_suggest:function(){var t,r=this;return r.query=r.textarea.value,!r.query||r.query.length<r.minLength?r.opened?r.close():r:(t=e.isFunction(r.source)?r.source(r.query,e.proxy(r._load,this)):r.source)?r._load(t):r},_load:function(t){var r=this;return t=e.grep(t,function(e){return r.filter(e)}),(t=r.sort(t)).length?r._render(t.slice(0,r.items)).open():r.opened?r.close():r},_filter:function(t){var r=this,a=r.query,l=t;switch(void 0!==t.label?l=t.label:r.displayMember&&(l=t[r.displayMember]),r.searchMode){case"none":break;case"contains":return e.jqx.string.contains(l,a);case"equals":return e.jqx.string.equals(l,a);case"equalsignorecase":return e.jqx.string.equalsIgnoreCase(l,a);case"startswith":return e.jqx.string.startsWith(l,a);case"startswithignorecase":return e.jqx.string.startsWithIgnoreCase(l,a);case"endswith":return e.jqx.string.endsWith(l,a);case"endswithignorecase":return e.jqx.string.endsWithIgnoreCase(l,a);default:return e.jqx.string.containsIgnoreCase(l,a)}},_sort:function(e){for(var t=this,r=[],a=[],l=[],s=0;s<e.length;s++){var i=e[s],n=i;i.label?n=i.label:t.displayMember&&(n=i[t.displayMember]),0===n.toString().toLowerCase().indexOf(t.query.toString().toLowerCase())?r.push(i):n.toString().indexOf(t.query)>=0?a.push(i):n.toString().toLowerCase().indexOf(t.query.toString().toLowerCase())>=0&&l.push(i)}return r.concat(a,l)},_render:function(t){var r=this,a=r._popupHelper.children();if(a.length>0)for(var l=0;l<a.length;l++)e(a[l]).remove();var s=function(e,t){var a,l,s=e,i=document.createElement("li"),n=document.createElement("a");n.setAttribute("href","#"),i.appendChild(n),void 0!==e.value&&null!==e.value?void 0!==e.label&&null!==e.label?(a=e.label,l=e.value):(a=e.value,l=e.value):void 0!==e.label&&null!==e.label?(a=e.label,l=e.label):void 0!==r.displayMember&&""!==r.displayMember?(a=e[r.displayMember],l=e[r.valueMember]):(a=e,l=e),i.setAttribute("data-value",l),i.setAttribute("data-name",a),e.label?s=e.label:r.displayMember&&(s=e[r.displayMember]),n.innerHTML=r.highlight(s);var o="";r.rtl&&(o=" jqx-rtl"),0===t&&(o+=" jqx-fill-state-pressed"),i.className=r.toThemeProperty("jqx-item jqx-menu-item jqx-rc-all"+o),r.$popup.appendChild(i),r.addHandler(i,"mouseenter",function(e){r._itemHandler(e)})};return function(e){for(var t=0;t<e.length;t++)s(e[t],t)}(t),this.dropDownWidth?this.$popup.style.width=r._toPx(r.dropDownWidth):this.$popup.style.width=r._toPx(r.element.offsetWidth-6),this},_highlight:function(e){var t=this.query;t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var r=new RegExp("("+t+")","ig");return e.replace(r,function(e,t){return"<b>"+t+"</b>"})},_select:function(){var e=this._find("jqx-fill-state-pressed",this._popupHelper),t=e.getAttribute("data-value"),r=e.getAttribute("data-name");return this.textarea.value=this.renderer(r,this.textarea.value),this.selectedItem={label:r,value:t},this.element.setAttribute("data-value",t),this.element.setAttribute("data-label",r),this._raiseEvent("1",{item:{label:r,value:t}}),this._arrange(),this.textarea.scrollTop=this.textarea.scrollHeight,this._raiseEvent("0"),this.close()},_renderer:function(e){return e},_move:function(e){var t=this;if(t.opened){switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.shiftKey||(e.preventDefault(),t._prev());break;case 40:e.shiftKey||(e.preventDefault(),t._next())}e.stopPropagation()}},_next:function(){var t=this._find("jqx-fill-state-pressed",this._popupHelper),r=t.nextSibling;e(t).removeClass(this.toThemeProperty("jqx-fill-state-pressed")),r||(r=this.$popup.firstChild),r.className+=" "+this.toThemeProperty("jqx-fill-state-pressed")},_prev:function(){var t=this._find("jqx-fill-state-pressed",this._popupHelper),r=t.previousSibling;e(t).removeClass(this.toThemeProperty("jqx-fill-state-pressed")),r||(r=this.$popup.lastChild),r.className+=" "+this.toThemeProperty("jqx-fill-state-pressed")},_toPx:function(e){return"number"==typeof e?e+"px":e},_find:function(e,t){for(var r=t.children(),a=0;a<r.length;a++){var l=r[a];if(-1!==l.className.indexOf(e))return l}},_width:function(t){var r=e(t),a=r.css("border-left-width"),l=r.css("border-right-width"),s=parseInt(r.css("padding-left"),10),i=parseInt(r.css("padding-right"),10);a=-1===a.indexOf("px")?1:parseInt(a,10),l=-1===l.indexOf("px")?1:parseInt(l,10);var n=t.offsetWidth-(a+l+s+i);return n>0?n:""},_height:function(t){var r=e(t),a=r.css("border-top-width"),l=r.css("border-bottom-width"),s=parseInt(r.css("padding-top"),10),i=parseInt(r.css("padding-bottom"),10);a=-1===a.indexOf("px")?1:parseInt(a,10),l=-1===l.indexOf("px")?1:parseInt(l,10);var n=t.offsetHeight-(a+l+s+i);return n>0?n:""}})}(jqxBaseFramework);
  
  