(function(a,b){function h(a,b){return _gab(b- -0x23b,a);}const c=a();while(!![]){try{const d=-parseInt(h(-0x18b,-0x188))/0x1*(-parseInt(h(-0x1ad,-0x19f))/0x2)+parseInt(h(-0x17d,-0x182))/0x3*(parseInt(h(-0x19e,-0x189))/0x4)+parseInt(h(-0x183,-0x18d))/0x5*(-parseInt(h(-0x189,-0x19c))/0x6)+-parseInt(h(-0x18f,-0x1a2))/0x7*(parseInt(h(-0x19a,-0x1a8))/0x8)+-parseInt(h(-0x189,-0x192))/0x9+-parseInt(h(-0x18d,-0x19d))/0xa*(-parseInt(h(-0x18c,-0x196))/0xb)+parseInt(h(-0x195,-0x1a0))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0xc7311));function _gai(a,b){return _gab(a-0x266,b);}import _gac from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _gaa(){const q=['TaskSegmentResize','pluginConfig','isEventElementDraggable','setDurationPinningSuccessors','$name','7862533sgTKHc','basicValidityCheck','2846388OzkSkO','485320rABcPM','isDateRangeValid','12270WhsjGu','444ZGafZg','configurable','registerFeature','getBeforeResizeParams','generation','-task-segment-resize-tip','12265mcRfCh','endBatch','pinSuccessors','getDateConstraints','870084XnLTML','call','duration','toSet','endListeningForBatchedUpdates','30995qvoBOX','run','assign','resolveTaskRecord','1293092RRgZFj','1zXJUKz','setupProductResizeContext','tipId','element','isTaskElementDraggable','Gantt','6XmrZDw','setDuration','set','client','render','isTaskSegmentElementDraggable','cancelEventRecordBatch','onEventDataGenerated','8TTvIHI'];_gaa=function(){return q;};return _gaa();}function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x8d;let f=c[d];return f;};return _gab(a,b);}import _gad from'@bryntum/schedulerpro-thin/lib/feature/EventSegmentResize.js';export default class TaskSegmentResize extends _gad{static [_gai(0x2fe,0x310)]=_gai(0x2fa,0x302);static [_gai(0x306,0x2fc)]={'draggingItemCls':'b-sch-event-resizing','resizingItemInnerCls':null,'leftHandle':![]};static get[_gai(0x2fb,0x2f6)](){function j(a,b){return _gai(a- -0x5da,b);}return{'after':[j(-0x2e5,-0x2fb),j(-0x2e2,-0x2e2),j(-0x2bd,-0x2b7),j(-0x2e4,-0x2f9)]};}[_gai(0x31d,0x31b)](a,b,c,d){function k(a,b){return _gai(a-0x52,b);}return this[k(0x34e,0x352)](...arguments);}[_gai(0x2f6,0x2ed)](a,b,c,d){function l(a,b){return _gai(b- -0x5e2,a);}return this[l(-0x2f6,-0x2e6)](...arguments);}[_gai(0x303,0x2f3)](a){return!![];}['checkValidity'](){function m(a,b){return _gai(b- -0xb7,a);}return this[m(0x238,0x249)](...arguments);}[_gai(0x308,0x314)](a){return{};}[_gai(0x31a,0x310)](a,b){var c;function n(a,b){return _gai(a- -0x630,b);}const d=this[n(-0x33c,-0x325)],e=d[n(-0x319,-0x326)](a[n(-0x314,-0x318)]);Object[n(-0x31a,-0x319)](a,{'taskRecord':e,'eventRecord':e,'dateConstraints':(c=d[n(-0x322,-0x31e)])===null||c===void 0x0?void 0x0:c[n(-0x320,-0x323)](d,e)});}async['internalUpdateRecord'](a,b){const {client:c}=this,{generation:d}=b,{startDate:e,endDate:f}=a,g={'endDate':f};a[o(-0x316,-0x32d)]=g[o(-0x316,-0x329)]=b['run']('calculateProjectedDuration',e,f);g[a[o(-0x315,-0x322)]]=b[o(-0x312,-0x310)]('calculateProjectedXDateWithDuration',e,!![],a[o(-0x316,-0x317)]);b[o(-0x334,-0x32b)](g);c[o(-0x314,-0x329)]();this[o(-0x330,-0x335)](b);if(this[o(-0x31a,-0x317)]&&a['event'][this[o(-0x31a,-0x31d)]]){await b[o(-0x32a,-0x318)](a['duration']);}else{await b[o(-0x307,-0x30a)](a[o(-0x316,-0x30c)]);}function o(a,b){return _gai(a- -0x627,b);}b[o(-0x31b,-0x32a)]();return b[o(-0x31e,-0x334)]!==d;}get[_gai(0x31b,0x320)](){function p(a,b){return _gai(a-0x14c,b);}return this[p(0x440,0x439)]['id']+p(0x456,0x450);}}_gac[_gai(0x307,0x2f3)](TaskSegmentResize,!![],_gai(0x31e,0x30a));