function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0xb5;let f=c[d];return f;};return _gab(a,b);}(function(a,b){const c=a();function A(a,b){return _gab(b-0x242,a);}while(!![]){try{const d=parseInt(A(0x30b,0x2ff))/0x1+parseInt(A(0x304,0x2f7))/0x2+parseInt(A(0x310,0x320))/0x3+parseInt(A(0x301,0x312))/0x4+-parseInt(A(0x329,0x316))/0x5+-parseInt(A(0x31b,0x31a))/0x6+parseInt(A(0x301,0x30d))/0x7*(-parseInt(A(0x31d,0x315))/0x8);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0xea29b));function _gaB(a,b){return _gab(b- -0x1dd,a);}import _gac from'@bryntum/core-thin/lib/Base.js';import _gad from'@bryntum/core-thin/lib/helper/DomHelper.js';import _gae from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const defaultScrollOptions={'block':_gaB(-0x109,-0x102),'edgeOffset':0x14};export default a=>class b extends(a||_gac){static [_gaB(-0x116,-0x119)]=_gaB(-0x102,-0xfb);async['scrollTaskIntoView'](c,d=defaultScrollOptions,e=![]){const f=this;c=c[C(0x19d,0x190)](f['store']);let g=c['startDate'],h=c['endDate'],{startDate:i,endDate:j}=f['timeAxis'];if(d[C(0x1a4,0x1a6)]==null){d['edgeOffset']=0x14;}if(!(c[C(0x1ae,0x1ba)]&&g&&h)){return this[C(0x1a5,0x1a1)](c,d);}if(f['timeAxisSubGrid'][C(0x1d1,0x1b9)]){return;}if(f[C(0x18e,0x196)]){const m=f[C(0x191,0x19a)],{clientSize:n}=m,o=n*f[C(0x1c2,0x1b8)],p=o*f[C(0x1a0,0x197)],q=f[C(0x1a4,0x1ac)][C(0x19c,0x1a3)](p)-i;i=new Date(i[C(0x195,0x1a2)]()+q);j=new Date(j[C(0x1a3,0x1a2)]()-q);}g=g||h;h=h||g;const k=g<i|(h>j)<<0x1;if(k&&d['extendTimeAxis']!==![]){const r=f[C(0x196,0x19f)]['endDate']-f['timeAxis'][C(0x1ba,0x1aa)];let s,t;if(k===0x3){f[C(0x1b8,0x19f)][C(0x1c5,0x1ae)](new Date(g[C(0x197,0x1a2)]()-r/0x2),new Date(h[C(0x18a,0x193)]()+r/0x2));}else if(f[C(0x181,0x196)]){const {visibleDateRange:u}=f,v=u[C(0x179,0x18f)]-u[C(0x1c4,0x1b1)],w=k&0x1?0x1:-0x1;await f[C(0x1bf,0x1ae)](new Date(g[C(0x18e,0x1a2)]()-r/0x2),new Date(g[C(0x1aa,0x1a2)]()+r/0x2),{'visibleDate':new Date(h[C(0x1a2,0x1a2)]()+w*v)});}else{s=f['getCoordinateFromDate'](k&0x1?h:g);if(k&0x1){f['timeAxis'][C(0x19e,0x1ae)](new Date(g),new Date(g[C(0x1a9,0x1a2)]()+r));}else{f[C(0x1ad,0x19f)][C(0x1af,0x1ae)](new Date(h[C(0x194,0x1a2)]()-r),new Date(h));}t=k&0x1?f[C(0x1ad,0x19c)](h):f[C(0x18c,0x19c)](g);await f['timeAxisSubGrid']['scrollable']['scrollBy'](t-s);}}function C(a,b){return _gaB(a,b-0x2b2);}let l=f[C(0x1ab,0x198)](c);if(l){const x=f[C(0x1b8,0x1af)][C(0x185,0x19b)],{labels:y}=f[C(0x192,0x19e)];if(e&&y){l=_gae[C(0x1a5,0x19d)](_gae['from'](l),...Array['from'](l[C(0x193,0x1ab)][C(0x199,0x1a4)](C(0x17b,0x191)))[C(0x1a8,0x195)](z=>_gae[C(0x1b7,0x1b4)](z)));}await x[C(0x19e,0x18b)](l,d);}else{await f[C(0x192,0x1a7)](c,d);}}async['scrollUnrenderedTaskIntoView'](c,d=defaultScrollOptions){if(d['edgeOffset']==null){d['edgeOffset']=0x14;}const e=this;await e['expandTo'](c);const f=e['timeAxisSubGrid'][D(0x20c,0x222)],g=e[D(0x1ff,0x1fd)](c),h=f[D(0x223,0x20f)],i=g['translate'](h['x']-f['x'],h['y']-f['y']);function D(a,b){return _gaB(b,a-0x323);}await f[D(0x1fc,0x20a)](i,Object[D(0x1fd,0x1f3)]({},d,{'highlight':![]}));if(d[D(0x1fe,0x1f7)]){const j=e['getElementFromTaskRecord'](c);if(j){if(typeof d[D(0x1fe,0x1f1)]===D(0x227,0x21c)){_gad[D(0x1fe,0x201)](j);}else{e[D(0x226,0x23b)](d['highlight'],e,[j,e]);}}}}get[_gaB(-0x120,-0x11e)](){}};function _gaa(){const E=['callback','boolean','GanttScroll','bufferCoef','collapsed','isScheduled','3317230PefXrE','scrollIntoView','assign','highlight','getTaskBox','endMS','getStoreLink','.b-sch-label','1617587kZKFKm','getTime','widgetClass','map','infiniteScroll','bufferThreshold','getElementFromTaskRecord','$name','timelineScroller','scrollable','getCoordinateFromDate','union','features','timeAxis','7ZHipsW','scrollRowIntoView','valueOf','getDateFromPosition','querySelectorAll','5453812EKAamx','edgeOffset','scrollUnrenderedTaskIntoView','17670232JyxSeN','4525635vYPNPC','startDate','parentNode','timeAxisViewModel','4834374bTAwXj','setTimeSpan','timeAxisSubGrid','nearest','startMS','viewport','717333OjibSq','from'];_gaa=function(){return E;};return _gaa();}