(function(a,b){const c=a();function h(a,b){return _gab(a-0x27c,b);}while(!![]){try{const d=-parseInt(h(0x3a3,0x397))/0x1+-parseInt(h(0x3a6,0x3bc))/0x2*(-parseInt(h(0x39d,0x3aa))/0x3)+-parseInt(h(0x3a7,0x3bd))/0x4*(-parseInt(h(0x3b6,0x3a2))/0x5)+parseInt(h(0x3bb,0x3b2))/0x6+parseInt(h(0x3c2,0x3d4))/0x7*(-parseInt(h(0x3b7,0x3c6))/0x8)+parseInt(h(0x3ae,0x3c3))/0x9+-parseInt(h(0x3c4,0x3bb))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gaa,0x86903));import _gac from'@bryntum/core-thin/lib/helper/DomHelper.js';import _gad from'@bryntum/core-thin/lib/helper/EventHelper.js';import _gae from'@bryntum/schedulerpro-thin/lib/feature/EventResize.js';function _gab(a,b){const c=_gaa();_gab=function(d,e){d=d-0x11f;let f=c[d];return f;};return _gab(a,b);}function _gaa(){const t=['10548uXUsRs','right','TaskResize','124776eIXwYS','37996ectapn','basicValidityCheck','Handle','resolveTaskRecord','loadStylesheet','$name','rtl','7766892RaiOqt','left','set','assign','Gantt','isDateRangeValid','event','generation','125xKHtWQ','8IZnbMt','call','setDuration','cancelEventRecordBatch','2460924rQNtDk','checkValidity','selectedRecords','getDateConstraints','@bryntum/gantt-thin/lib/feature/TaskResize.css','isSelected','mainContext','2446969fZNPQu','toSpecialKey','7864950ucQEPr','render','adjustRecordBeforeUpdating','pluginConfig','setupProductResizeContext','run','setDurationPinningSuccessors','isTaskElementDraggable','9wKEluM','duration','client','calculateProjectedDuration','pinSuccessors','onDragItemMouseMove'];_gaa=function(){return t;};return _gaa();}function _gai(a,b){return _gab(b- -0x36,a);}import _gaf from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _gag from'@bryntum/scheduler-thin/lib/feature/mixin/TransactionalFeature.js';_gac[_gai(0x110,0xf9)](_gai(0x11f,0x10d));export default class TaskResize extends _gag(_gae){static [_gai(0xec,0xfa)]=_gai(0xe2,0xf3);static ['configurable']={'draggingItemCls':'b-sch-event-resizing','resizingItemInnerCls':null,'pinSuccessors':![]};static get[_gai(0x10f,0x115)](){function j(a,b){return _gai(b,a- -0x213);}return{'after':[j(-0x100,-0x10d),'onEventDataGenerated',j(-0x129,-0x11e)]};}[_gai(0xfa,0xf0)](){function k(a,b){return _gai(a,b- -0xb9);}this[(this['client'][k(0x3a,0x42)]?k(0x31,0x39):k(0x2d,0x44))+k(0x43,0x3e)]=![];super[k(0x4c,0x37)](...arguments);}['changePinSuccessors'](a){function l(a,b){return _gai(b,a-0x9d);}return _gad[l(0x1ae,0x1a8)](a);}[_gai(0x100,0xea)](a,b,c,d){return this['isEventElementDraggable'](...arguments);}[_gai(0x107,0x10a)](){function m(a,b){return _gai(b,a- -0x233);}return this[m(-0x13d,-0x145)](...arguments);}['getBeforeResizeParams'](a){return{};}[_gai(0x113,0x101)](a){return!![];}get[_gai(0xf6,0x10b)](){function n(a,b){return _gai(a,b-0x88);}return this[n(0x17a,0x175)][n(0x18e,0x193)];}['isRecordSelected'](a){function o(a,b){return _gai(a,b- -0x1cd);}return this[o(-0xe1,-0xe0)][o(-0xc5,-0xbf)](a);}['getSelectedRecordElement'](a){function p(a,b){return _gai(b,a-0x1e3);}return this[p(0x2d0,0x2e8)]['getElementFromTaskRecord'](a);}[_gai(0x119,0x116)](a,b){var c;function q(a,b){return _gai(a,b- -0x1de);}const d=this[q(-0xe1,-0xf1)],e=d[q(-0xd6,-0xe6)](a['element']);Object[q(-0xec,-0xdf)](a,{'taskRecord':e,'eventRecord':e,'dateConstraints':(c=d[q(-0xc3,-0xd2)])===null||c===void 0x0?void 0x0:c[q(-0xde,-0xd8)](d,e)});}[_gai(0x126,0x114)](a,b){const {startDate:c,endDate:d}=a,{toSet:e}=a[r(0x374,0x380)],f={'endDate':d};a['duration']=f['duration']=b[r(0x37c,0x38c)](r(0x353,0x35e),c,d);f[e]=a[e]=b[r(0x37c,0x37c)]('calculateProjectedXDateWithDuration',c,!![],a[r(0x351,0x34b)]);function r(a,b){return _gai(b,a-0x265);}b[r(0x363,0x364)](f);}async['internalUpdateRecord'](a,b){function s(a,b){return _gai(a,b-0x27f);}const {generation:c}=b;this[s(0x38a,0x387)](b);if(this[s(0x36d,0x36e)]&&a['mainContext'][s(0x395,0x381)][this[s(0x36a,0x36e)]]){await b[s(0x37d,0x368)](a[s(0x368,0x36b)]);}else{await b[s(0x371,0x386)](a[s(0x355,0x36b)]);}b['endBatch']();return b[s(0x36c,0x382)]!==c;}}_gaf['registerFeature'](TaskResize,!![],_gai(0xfc,0x100));