(function(){var a=Ext.Button.prototype.onClick;Ext.override(Ext.Button,{onClick:function(b){b=new Ext.EventObjectImpl(b);this.focus();a.call(this,b);this.isDestroyed||this.blur()},template:new Ext.Template('<div id="{4}" class="x-btn {3}"><div class="{1}">','<em class="{2}" unselectable="on"><button type="{0}"></button></em>',"</div></div>")})})();
(function(){var a=Ext.Component.prototype.initComponent,b=Ext.Component.prototype.destroy;Ext.override(Ext.Component,{stateful:false,statefulRelativeDimensions:true,statefulName:undefined,initComponent:function(){if(this.stateful!==false){if(!this.stateId)this.stateId=Ext.id(null,"state-");Ext.state.Manager.register(this)}a.apply(this,arguments)},getStateName:function(){var e=this.statefulName;e||(e=this.xtype.match(/(?:zarafa\.)?(.*)/)[1]);return e},destroy:function(){if(this.plugins)for(var e in this.plugins){var l=
this.plugins[e];l instanceof Ext.util.Observable&&l.purgeListeners()}this.stateful!==false&&Ext.state.Manager.unregister(this);b.apply(this,arguments)}})})();(function(){Ext.override(Ext.Container,{bufferResize:false})})();
(function(){Ext.Element.addMethods({addUnits:function(a){if(Ext.isEmpty(a)||a=="auto")a=a||"";else if(isNaN(a))a="";else/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i.test(a)||(a+=this.defaultUnit||"px");return a},swallowEvent:function(a,b){var e=this,l=b===true?this.swallowEventHandlerPreventDefault:this.swallowEventHandler;if(Ext.isArray(a)){Ext.each(a,function(m){e.on(m,l,this)});return e}e.on(a,l,this);return e},swallowEventHandler:function(a){a.stopPropagation()},swallowEventHandlerPreventDefault:function(a){a.stopPropagation();
a.preventDefault()},spitOutEvent:function(a,b){var e=this,l=b===true?this.swallowEventHandlerPreventDefault:this.swallowEventHandler;if(Ext.isArray(a)){Ext.each(a,function(m){e.un(m,l,this)});return e}e.un(a,l,this);return e},selectable:function(){this.dom.unselectable="off";return this.spitOutEvent("selectstart",true).applyStyles("-moz-user-select:text;-khtml-user-select:text;").removeClass("x-unselectable")},clearClass:function(){this.dom.className=""}})})();
(function(){Ext.apply(Ext.EventManager,function(){function a(c){var f=false,d=0,g=A.length,j=false,h;if(c){if(c.getElementById||c.navigator){for(;d<g;++d){h=A[d];try{if(h.el===c){f=h.id;break}}catch(i){}}if(!f){f=Ext.id(c);A.push({id:f,el:c});j=true}}else f=Ext.id(c);if(!Ext.elCache[f]){Ext.Element.addToCache(new Ext.Element(c),f);if(j)Ext.elCache[f].skipGC=true}}return f}function b(c,f,d,g,j,h){c=Ext.getDom(c);var i=a(c);i=Ext.elCache[i].events;var n;n=t.on(c,f,j);i[f]=i[f]||[];i[f].push([d,j,h,
n,g]);if(c.addEventListener&&f=="mousewheel"){var p=["DOMMouseScroll",j,false];c.addEventListener.apply(c,p);Ext.EventManager.addListener(B,"unload",function(){c.removeEventListener.apply(c,p)})}c==r&&f=="mousedown"&&Ext.EventManager.stoppedMouseDownEvent.addListener(j)}function e(){if(window!=top)return false;try{r.documentElement.doScroll("left")}catch(c){return false}o();return true}function l(){if(Ext.isIE&&e())return true;if(r.readyState==F){o();return true}w||(x=setTimeout(arguments.callee,
2));return false}function m(){C||(C=Ext.query("style, link[rel=stylesheet]"));if(C.length==r.styleSheets.length){o();return true}w||(x=setTimeout(arguments.callee,2));return false}function k(){r.removeEventListener(y,arguments.callee,false);m()}function o(){if(!w){w=true;x&&clearTimeout(x);G&&r.removeEventListener(y,o,false);Ext.isIE&&l.bindIE&&r.detachEvent("onreadystatechange",l);t.un(B,"load",arguments.callee)}if(s&&!Ext.isReady){Ext.isReady=true;s.fire();s.listeners=[]}}function z(c,f){return function(){var d=
Ext.toArray(arguments);f.target==Ext.EventObject.setEvent(d[0]).target&&c.apply(this,d)}}function v(c,f,d){return function(g){d.delay(f.buffer,c,null,[new Ext.EventObjectImpl(g)])}}function H(c,f,d,g,j){return function(h){Ext.EventManager.removeListener(f,d,g,j);c(h)}}function I(c,f,d){return function(g){var j=new Ext.util.DelayedTask(c);if(!d.tasks)d.tasks=[];d.tasks.push(j);j.delay(f.delay||10,c,null,[new Ext.EventObjectImpl(g)])}}function D(c,f,d,g,j){function h(q){if(Ext){q=Ext.EventObject.setEvent(q);
var E;if(i.delegate){if(!(E=q.getTarget(i.delegate,n)))return}else E=q.target;i.stopEvent&&q.stopEvent();i.preventDefault&&q.preventDefault();i.stopPropagation&&q.stopPropagation();if(i.normalized===false)q=q.browserEvent;g.call(j||n,q,E,i)}}var i=!d||typeof d=="boolean"?{}:d,n=Ext.getDom(c),p;g=g||i.fn;j=j||i.scope;if(!n)throw'Error listening for "'+f+'". Element "'+c+"\" doesn't exist.";if(i.target)h=z(h,i);if(i.delay)h=I(h,i,g);if(i.single)h=H(h,n,f,g,j);if(i.buffer){p=new Ext.util.DelayedTask(h);
h=v(h,i,p)}b(n,f,g,p,h,j);return h}var s,x,w=false,G=Ext.isGecko||Ext.isWebKit||Ext.isSafari,t=Ext.lib.Event,r=document,B=window,y="DOMContentLoaded",F="complete",J=/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate)$/,A=[],C,u={addListener:function(c,f,d,g,j){if(typeof f=="object"){var h;for(h in f){d=f[h];J.test(h)||(Ext.isFunction(d)?D(c,h,f,d,f.scope):D(c,h,d))}}else D(c,f,j,d,g)},removeListener:function(c,f,d,g){c=Ext.getDom(c);var j=a(c),h=c&&Ext.elCache[j].events[f]||
[],i,n,p;i=0;for(n=h.length;i<n;i++)if(Ext.isArray(p=h[i])&&p[0]==d&&(!g||p[2]==g)){p[4]&&p[4].cancel();if(g=d.tasks&&d.tasks.length){for(;g--;)d.tasks[g].cancel();delete d.tasks}d=p[1];t.un(c,f,t.extAdapter?p[3]:d);d&&c.addEventListener&&f=="mousewheel"&&c.removeEventListener("DOMMouseScroll",d,false);d&&c==r&&f=="mousedown"&&Ext.EventManager.stoppedMouseDownEvent.removeListener(d);h.splice(i,1);h.length===0&&delete Ext.elCache[j].events[f];for(g in Ext.elCache[j].events)return false;Ext.elCache[j].events=
{};return false}},removeAll:function(c){c=Ext.getDom(c);var f=a(c),d=(Ext.elCache[f]||{}).events||{},g,j,h,i,n,p,q;for(i in d)if(d.hasOwnProperty(i)){g=d[i];j=0;for(h=g.length;j<h;j++){n=g[j];n[4]&&n[4].cancel();if(n[0].tasks&&(p=n[0].tasks.length)){for(;p--;)n[0].tasks[p].cancel();delete n.tasks}q=n[1];t.un(c,i,t.extAdapter?n[3]:q);c.addEventListener&&q&&i=="mousewheel"&&c.removeEventListener("DOMMouseScroll",q,false);q&&c==r&&i=="mousedown"&&Ext.EventManager.stoppedMouseDownEvent.removeListener(q)}}if(Ext.elCache[f])Ext.elCache[f].events=
{}},getListeners:function(c,f){c=Ext.getDom(c);var d=a(c);return(d=(Ext.elCache[d]||{}).events||{})&&d[f]?d[f]:null},purgeElement:function(c,f,d){c=Ext.getDom(c);var g=a(c);g=(Ext.elCache[g]||{}).events||{};var j,h;if(d){if(g&&g.hasOwnProperty(d)){j=g[d];g=0;for(h=j.length;g<h;g++)Ext.EventManager.removeListener(c,d,j[g][0])}}else Ext.EventManager.removeAll(c);if(f&&c&&c.childNodes){g=0;for(h=c.childNodes.length;g<h;g++)Ext.EventManager.purgeElement(c.childNodes[g],f,d)}},_unload:function(){var c;
for(c in Ext.elCache)Ext.EventManager.removeAll(c);delete Ext.elCache;delete Ext.Element._flyweights;var f,d,g=Ext.lib.Ajax;typeof g.conn=="object"?f=g.conn:f={};for(d in f)(c=f[d])&&g.abort({conn:c,tId:d})},onDocumentReady:function(c,f,d){if(Ext.isReady){s||(s=new Ext.util.Event);s.addListener(c,f,d);s.fire();s.listeners=[]}else{if(!s){s||(s=new Ext.util.Event);G&&r.addEventListener(y,o,false);if(Ext.isIE){if(!l()){l.bindIE=true;r.attachEvent("onreadystatechange",l)}}else if(Ext.isOpera)r.readyState==
F&&m()||r.addEventListener(y,k,false);else Ext.isWebKit&&l();t.on(B,"load",o)}d=d||{};d.delay=d.delay||1;s.addListener(c,f,d)}},fireDocReady:o};u.on=u.addListener;u.un=u.removeListener;u.stoppedMouseDownEvent=new Ext.util.Event;return u}())})();(function(){Ext.apply(Ext.EventObjectImpl.prototype,{SEMI_COLON:186,EQUAL_SIGN:187,COMMA:188,DASH:189,PERIOD:190,FORWARD_SLASH:191,OPEN_BRACKET:219,BACK_SLASH:220,CLOSE_BRACKET:221,SINGLE_QUOTE:222})})();
(function(){var a=Ext.TabPanel.prototype.onStripMouseDown;Ext.override(Ext.TabPanel,{itemTpl:new Ext.Template('<li class="{cls}" id="{id}">','<a href="#" class="x-tab-strip-focus"></a>','<a class="x-tab-strip-close"></a>','<a class="x-tab-right">','<em class="x-tab-left">','<span class="x-tab-strip-inner">','<span class="x-tab-strip-text {iconCls}">{text}</span>',"</span>","</em>","</a>","</li>",{disableFormats:true,compiled:true}),onStripMouseDown:function(b){var e=new Ext.EventObjectImpl(b);b=this.findTargets(b);
if(b.el)(b=Ext.get(b.el).child("a.x-tab-strip-focus"))&&b.focus();a.call(this,e)}})})();(function(){var a=Ext.Toolbar.TextItem.prototype.onRender;Ext.override(Ext.Toolbar.TextItem,{onRender:function(){a.apply(this,arguments);this.el&&this.el.unselectable()}})})();
(function(){var a=Ext.data.Node.prototype.appendChild,b=Ext.data.Node.prototype.removeChild;Ext.override(Ext.data.Node,{appendChild:function(){this.leaf=false;return a.apply(this,arguments)},removeChild:function(){var e=b.apply(this,arguments);if(!this.hasChildNodes())this.leaf=true;return e}})})();
(function(){var a=function(b){return b!==undefined&&b!==null&&b!==""?parseInt(b,10):this.useNull?null:0};Ext.data.Types.INT.convert=a;Ext.data.Types.INTEGER.convert=a;a=function(b){return b!==undefined&&b!==null&&b!==""?parseFloat(b,10):this.useNull?null:0};Ext.data.Types.FLOAT.convert=a;Ext.data.Types.NUMBER.convert=a})();(function(){Ext.apply(Ext.dd.DragDropMgr,{getGroupDDById:function(a,b){if(this.ids[a]&&this.ids[a][b])return this.ids[a][b];return null}})})();
(function(){var a=Ext.dd.DragSource.prototype.onDragOver,b=Ext.dd.DragSource.prototype.onDragOut,e=Ext.dd.DragSource.prototype.onDragDrop;Ext.override(Ext.dd.DragSource,{onDragEnter:function(l,m){this.cachedTarget&&this.onDragOut(l,this.cachedTarget.id);var k;if((this.cachedTarget=k=this.ddGroup?Ext.dd.DragDropMgr.getGroupDDById(this.ddGroup,m):Ext.dd.DragDropMgr.getDDById(m))&&this.beforeDragEnter(k,l,m)!==false){k.isNotifyTarget?this.proxy.setStatus(k.notifyEnter(this,l,this.dragData)):this.proxy.setStatus(this.dropAllowed);
this.afterDragEnter&&this.afterDragEnter(k,l,m)}},onDragOver:function(l,m){this.cachedTarget||this.onDragEnter(l,m);this.cachedTarget=this.cachedTarget||Ext.dd.DragDropMgr.getGroupDDById(this.ddGroup,m);return a.apply(this,arguments)},onDragOut:function(){if(this.cachedTarget)return b.apply(this,arguments)},onDragDrop:function(){if(this.cachedTarget)return e.apply(this,arguments)}})})();
(function(){Ext.override(Ext.form.BasicForm,{updateRecord:function(a){a.beginEdit();var b,e;a.fields.each(function(l){if(b=this.findField(l.name)){e=b.getValue();if(Ext.type(e)!==false&&e.getGroupValue)e=e.getGroupValue();else if(b.isSingleValued!==true&&b.eachItem){e=[];b.eachItem(function(m){e.push(m.getValue())})}a.set(l.name,e)}},this);a.endEdit();return this},setValues:function(a){if(Ext.isArray(a))for(var b=0,e=a.length;b<e;b++){var l=a[b],m=this.findField(l.id);if(m)if(!m.hasFocus||m.originalValue==
m.el.dom.value){m.setValue(l.value);if(this.trackResetOnLoad)m.originalValue=m.getValue()}}else for(e in a)if(!Ext.isFunction(a[e])&&(b=this.findField(e)))if(!b.hasFocus||b.originalValue==b.el.dom.value){b.setValue(a[e]);if(this.trackResetOnLoad)b.originalValue=b.getValue()}return this}})})();
(function(){var a=Ext.form.Checkbox.prototype.onRender;Ext.override(Ext.form.Checkbox,{onRender:function(){a.apply(this,arguments);this.wrap.addClass("x-form-item");if(this.boxLabel&&this.el){var b=Ext.query(".x-form-cb-label",this.el.parent().dom)[0];b&&Ext.get(b).unselectable()}}})})();
(function(){var a=Ext.form.ComboBox.prototype.initList;Ext.override(Ext.form.ComboBox,{initList:function(){if(!this.tpl)this.tpl='<tpl for="."><div class="x-combo-list-item">{'+this.displayField+":htmlEncode}</div></tpl>";a.apply(this,arguments)}})})();(function(){var a=Ext.form.DateField.prototype.getValue;Ext.override(Ext.form.DateField,{getValue:function(){var b=a.apply(this,arguments);return Ext.isEmpty(b)?null:b}})})();(function(){Ext.override(Ext.form.DisplayField,{cls:"x-form-item"})})();
(function(){Ext.override(Ext.form.FormPanel,{labelAlign:"right"})})();
(function(){Ext.override(Ext.form.HtmlEditor,{onFirstFocus:function(){this.activated=true;this.disableItems(this.readOnly);this.fireEvent("activate",this)},fixKeys:function(){if(Ext.isIE)return function(a){var b=a.getKey(),e=this.getDoc();if(b==a.TAB){a.stopEvent();if(b=e.selection.createRange()){b.collapse(true);b.pasteHTML("&nbsp;&nbsp;&nbsp;&nbsp;");this.deferFocus()}}else if(b==a.ENTER)if(b=e.selection.createRange()){e=b.parentElement();if(!e||e.tagName.toLowerCase()!="li"){a.stopEvent();b.pasteHTML("<br />");
b.collapse(false);b.select()}}};else if(Ext.isOpera)return function(a){if(a.getKey()==a.TAB){a.stopEvent();this.win.focus();this.execCmd("InsertHTML","&nbsp;&nbsp;&nbsp;&nbsp;");this.deferFocus()}};else if(Ext.isWebKit)return function(a){if(a.getKey()==a.TAB){a.stopEvent();this.execCmd("InsertText","\t");this.deferFocus()}}}()})})();
(function(){var a=Ext.form.Label.prototype.onRender;Ext.override(Ext.form.Label,{cls:"x-form-item-label",onRender:function(){a.apply(this,arguments);this.positionEl=this.el.wrap({cls:"x-form-item"});this.el.unselectable()}})})();(function(){var a=Ext.grid.GridPanel.prototype.onClick;Ext.override(Ext.grid.GridPanel,{onClick:function(){a.apply(this,arguments);this.view.focusEl.focus()}})})();
(function(){Ext.override(Ext.grid.GridView,{getColumnWidth:function(a){a=this.cm.getColumnWidth(a);var b=this.borderWidth;return Ext.isNumber(a)?Ext.isBorderBox?a+"px":Math.max(a-b,0)+"px":a}})})();(function(){if(Ext.isIE6||Ext.isIE7||Ext.isAir)Ext.BLANK_IMAGE_URL="client/resources/images/s.gif";var a=Ext.encode;Ext.encode=Ext.util.JSON.encode=function(b){if(Ext.isDefined(b))return a(b)}})();
(function(){var a=Ext.layout.BorderLayout.Region.prototype.beforeCollapse,b=Ext.layout.BorderLayout.Region.prototype.onExpand;Ext.override(Ext.layout.BorderLayout.Region,{beforeCollapse:function(){this.splitEl&&this.splitEl.addClass("x-hide-display");a.apply(this,arguments)},onExpand:function(){this.splitEl&&this.splitEl.removeClass("x-hide-display");b.apply(this,arguments)}})})();
(function(){var a=Ext.layout.ToolbarLayout.prototype.configureItem,b=Ext.layout.ToolbarLayout.prototype.hideItem,e=Ext.layout.ToolbarLayout.prototype.unhideItem,l=Ext.layout.ToolbarLayout.prototype.onLayout,m=Ext.layout.ToolbarLayout.prototype.addComponentToMenu;Ext.override(Ext.layout.ToolbarLayout,{triggerWidth:41,onLayout:function(k){l.apply(this,arguments);k.items.each(function(o){Ext.isFunction(o.doLayout)&&o.doLayout()},this)},configureItem:function(k){var o=this.container,z=o.getLayoutTarget();
a.apply(this,arguments);k.on("show",function(v){v.xtbHidden!==true&&this.onLayout(o,z)},this);k.on("hide",function(v){v.xtbHidden!==true&&this.onLayout(o,z)},this)},hideItem:function(k){var o=this;b.apply(this,arguments);k.xtbOrigShow=k.show;k.show=function(){k.xtbOrigShow(true);k.xtbWidth=k.getPositionEl().dom.parentNode.offsetWidth;k.xtbOrigHide(false)};k.xtbOrigHide=k.hide;k.hide=function(){o.unhideItem(k);k.hide()}},unhideItem:function(k){k.show=k.xtbOrigShow;delete k.xtbOrigShow;k.hide=k.xtbOrigHide;
delete k.xtbOrigHide;delete k.xtbWidth;e.apply(this,arguments)},addComponentToMenu:function(k,o){if(o.xtbHidden===true||o.hidden!==true)m.apply(this,arguments)}})})();(function(){var a=Ext.layout.boxOverflow.Menu.prototype.addComponentToMenu;Ext.override(Ext.layout.boxOverflow.Menu,{addComponentToMenu:function(b,e){if(e.xtbHidden===true||e.hidden!==true)a.apply(this,arguments)}})})();
(function(){Ext.apply(Ext.state.Manager,{components:new Ext.util.MixedCollection(false,function(a){return a.getStateId()}),register:function(a){this.components.add(a)},unregister:function(a){this.components.remove(a)},getComponent:function(a){return this.components.get(a)}})})();
(function(){var a=Ext.tree.TreeEditor.prototype.bindScroll,b=Ext.tree.TreeEditor.prototype.fitToTree;Ext.override(Ext.tree.TreeEditor,{fitToTree:function(){this.tree&&this.tree.isDestroyed!==true&&b.apply(this,arguments)},bindScroll:function(){this.tree&&this.tree.isDestroyed!==true&&a.apply(this,arguments)}})})();(function(){Ext.override(Ext.tree.TreeSorter,{doSort:function(a){a.childNodes&&a.sort(this.sortFn)}})})();
(function(){Ext.apply(Ext.util.Format,{fileSize:function(a){Ext.isNumber(a)||(a=0);if(a<1024)return String.format(ngettext("{0} byte","{0} bytes",a),a);a=parseFloat((a/1024).toFixed(1));if(a<1024)return String.format(ngettext("{0} KB","{0} KB",a),a);a=parseFloat((a/1024).toFixed(1));if(a<1024)return String.format(ngettext("{0} MB","{0} MB",a),a);a=parseFloat((a/1024).toFixed(1));if(a<1024)return String.format(ngettext("{0} GB","{0} GB",a),a);a=parseFloat((a/1024).toFixed(1));return String.format(ngettext("{0} TB",
"{0} TB",a),a)},percentage:function(a,b){Ext.isDefined(b)||(b=2);return(a*100).toFixed(b)+"%"},duration:function(a,b){b=Ext.isDefined(b)?b:0;if(a<60)return String.format(ngettext("{0} minute","{0} minutes",a),a);a=parseFloat((a/60).toFixed(b));if(a<24)return String.format(ngettext("{0} hour","{0} hours",a),a);a=parseFloat((a/24).toFixed(b));if(a<7)return String.format(ngettext("{0} day","{0} days",a),a);a=parseFloat((a/7).toFixed(b));return String.format(ngettext("{0} week","{0} weeks",a),a)},indent:function(a,
b){for(var e=(Ext.isDefined(a)?a:1)*(Ext.isDefined(b)?b:4),l="",m=0;m<e;m++)l+="&nbsp;";return l},elide:function(a,b,e){b=b||0;e=Ext.isDefined(e)?e:b;if(b===0&&e===0)return a;if(a&&a.length>b+e)return a.substr(0,b)+"..."+a.substr(a.length-e);return a},htmlEncodeUndef:function(){return this.htmlEncode(this.undef.apply(this,arguments))},defaultValue:function(a,b){return Ext.value(a,b)},htmlEncodeDefaultValue:function(){return this.htmlEncode(this.defaultValue.apply(this,arguments))},htmlEncodeElide:function(){return this.htmlEncode(this.elide.apply(this,
arguments))},htmlEncodeEllipsis:function(){return this.htmlEncode(this.ellipsis.apply(this,arguments))},sensitivityString:function(a){return Zarafa.core.mapi.Sensitivity.getDisplayName(a)},importanceString:function(a){return Zarafa.core.mapi.Importance.getDisplayName(a)},meetingStatusString:function(a){return Zarafa.core.mapi.MeetingStatus.getDisplayName(a)},responseStatusString:function(a){return Zarafa.core.mapi.ResponseStatus.getDisplayName(a)},taskStatusString:function(a){return Zarafa.core.mapi.TaskStatus.getDisplayName(a)}})})();
(function(){Ext.override(Ext.ux.Spinner,{initSpinner:function(){this.field.addEvents({spin:true,spinup:true,spindown:true});this.keyNav=new Ext.KeyNav(this.el,{up:function(a){a.preventDefault();this.onSpinUp()},down:function(a){a.preventDefault();this.onSpinDown()},pageUp:function(a){a.preventDefault();this.onSpinUpAlternate()},pageDown:function(a){a.preventDefault();this.onSpinDownAlternate()},scope:this});this.field.mon(this.trigger,"click",this.onTriggerClick,this,{preventDefault:true});this.field.mon(this.trigger,
{mouseover:this.onMouseOver,mouseout:this.onMouseOut,mousemove:this.onMouseMove,mousedown:this.onMouseDown,mouseup:this.onMouseUp,scope:this,preventDefault:true});this.field.mon(this.wrap,"mousewheel",this.handleMouseWheel,this);this.dd.setXConstraint(0,0,10);this.dd.setYConstraint(1500,1500,10);this.dd.endDrag=this.endDrag.createDelegate(this);this.dd.startDrag=this.startDrag.createDelegate(this);this.dd.onDrag=this.onDrag.createDelegate(this)}})})();
(function(){Ext.override(Ext.ux.grid.CheckColumn,{onMouseDown:function(a,b){if(Ext.fly(b).hasClass(this.createId())){a.stopEvent();var e=this.grid.store.getAt(this.grid.getView().findRowIndex(b));e.set(this.dataIndex,!e.data[this.dataIndex]);e.save()}}})})();
(function(){var a=Ext.DatePicker.prototype.onRender,b=Ext.DatePicker.prototype.initComponent;Ext.override(Ext.DatePicker,{width:"auto",initComponent:function(){this.startDay=Ext.isDefined(this.initialConfig.startDay)?this.startDay:container.getSettingsModel().get("zarafa/v1/main/week_start");b.apply(this,arguments)},onRender:function(){a.apply(this,arguments);this.getEl().down("table").applyStyles({width:this.width})}})})();
