@bryntum/engine-thin-trial 7.2.3 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/lib/ChronoGraph/chrono/Effect.js +1 -1
  2. package/lib/ChronoGraph/chrono/Graph.js +1 -1
  3. package/lib/ChronoGraph/chrono/Identifier.js +1 -1
  4. package/lib/ChronoGraph/chrono/Quark.js +1 -1
  5. package/lib/calendar/CalendarCacheSingle.js +1 -1
  6. package/lib/chrono/ChronoModelMixin.js +1 -1
  7. package/lib/chrono/Replica.js +1 -1
  8. package/lib/quark/model/gantt/ConstrainedLateEventMixin.js +1 -1
  9. package/lib/quark/model/gantt/ConstrainedLateScheduleMixin.js +1 -1
  10. package/lib/quark/model/mixin/AbstractPartOfProjectModelMixin.js +1 -1
  11. package/lib/quark/model/mixin/ChronoPartOfProjectModelMixin.js +1 -1
  12. package/lib/quark/model/scheduler_basic/BaseCalendarMixin.js +1 -1
  13. package/lib/quark/model/scheduler_basic/HasCalendarMixin.js +1 -1
  14. package/lib/quark/model/scheduler_basic/SchedulerBasicProjectMixin.js +1 -1
  15. package/lib/quark/model/scheduler_core/SchedulerCoreProjectMixin.js +1 -1
  16. package/lib/quark/model/scheduler_pro/ConstrainedEarlyEventMixin.js +1 -1
  17. package/lib/quark/model/scheduler_pro/ConstrainedScheduleMixin.js +1 -1
  18. package/lib/quark/model/scheduler_pro/SchedulerProEventSegment.js +1 -1
  19. package/lib/quark/model/scheduler_pro/SchedulerProHasAssignmentsMixin.js +1 -1
  20. package/lib/quark/model/scheduler_pro/SchedulerProHasTimePhasedAssignmentsMixin.js +1 -1
  21. package/lib/quark/model/scheduler_pro/SchedulerProProjectMixin.js +1 -1
  22. package/lib/quark/model/scheduler_pro/SchedulerProTimePhasedAssignmentMixin.js +1 -1
  23. package/lib/quark/model/scheduler_pro/SplitEventMixin.js +1 -1
  24. package/lib/quark/store/mixin/AbstractPartOfProjectStoreMixin.js +1 -1
  25. package/lib/quark/store/mixin/ChronoPartOfProjectStoreMixin.js +1 -1
  26. package/lib/quark/store/mixin/CorePartOfProjectStoreMixin.js +1 -1
  27. package/package.json +1 -1
@@ -1 +1 @@
1
- function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xb2;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function f(a,b){return _enb(b- -0x2a3,a);}const c=a();while(!![]){try{const d=parseInt(f(-0x1e3,-0x1dc))/0x1+parseInt(f(-0x1f4,-0x1f0))/0x2+parseInt(f(-0x1dc,-0x1dd))/0x3+parseInt(f(-0x1e5,-0x1e3))/0x4*(-parseInt(f(-0x1e9,-0x1e8))/0x5)+parseInt(f(-0x1e8,-0x1e2))/0x6+parseInt(f(-0x1d3,-0x1de))/0x7+-parseInt(f(-0x1e1,-0x1e1))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x90226));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';import{ChronoPartOfProjectGenericMixin}from'../../ChronoPartOfProjectGenericMixin.js';import{ChronoPartOfProjectStoreMixin}from'../../store/mixin/ChronoPartOfProjectStoreMixin.js';import{AbstractPartOfProjectModelMixin}from'./AbstractPartOfProjectModelMixin.js';function _ena(){const n=['_graph','10LmmJtD','joinProject','find','calculateProject','addEntity','1339996MQwjOs','2664960SsMAKv','10105048bkEEQh','call','delayEnteringReplica','6683152GYbryT','1963770gIZRne','439562SEzGiM','graph','60910kWYsFp','project','prototype','removeEntity','getProject','leaveProject','getGraph'];_ena=function(){return n;};return _ena();}import{isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/Mixin.js';class ChronoPartOfProjectModelMixin extends Mixin([AbstractPartOfProjectModelMixin,ChronoPartOfProjectGenericMixin,ChronoModelMixin],a=>{const b=a[g(0x370,0x37b)];class c extends a{[g(0x37e,0x382)](){function h(a,b){return g(a,b- -0x66a);}if(!this[h(-0x2e9,-0x2f0)]?.[h(-0x2e0,-0x2e0)]){if(this[h(-0x2f7,-0x2f2)]&&this[h(-0x2f7,-0x2f2)]!=this[h(-0x2e0,-0x2eb)]()){this[h(-0x2fd,-0x2f2)]=null;}this['getGraph']()[h(-0x2ef,-0x2e5)](this);}}[g(0x378,0x37e)](d=![]){b[i(-0x129,-0x127)][i(-0x11e,-0x11c)](this,d);const e=this[i(-0x128,-0x11d)]();function i(a,b){return g(b,a- -0x4a7);}e?.[i(-0x12b,-0x130)](this);this['graph']=null;}[g(0x37c,0x37d)](){function j(a,b){return g(b,a- -0x58d);}return b['getProject'][j(-0x204,-0x20f)](this);}[g(0x37a,0x384)](){function k(a,b){return g(b,a- -0x3dd);}const d=this['stores']?.[k(-0x5a,-0x5f)](e=>isInstanceOf(e,ChronoPartOfProjectStoreMixin)&&!!e[k(-0x60,-0x55)]());return d?.[k(-0x60,-0x5b)]();}get[g(0x37f,0x378)](){function l(a,b){return g(b,a- -0x308);}return this[l(0x72,0x74)]?.[l(0x82,0x8d)]?null:this['_graph'];}set[g(0x380,0x378)](d){function m(a,b){return g(a,b- -0x2c2);}this[m(0xc9,0xbe)]=d;}}function g(a,b){return _enb(b-0x2c6,a);}return c;}){}export{ChronoPartOfProjectModelMixin};
1
+ (function(a,b){const c=a();function f(a,b){return _enb(a-0x2c3,b);}while(!![]){try{const d=-parseInt(f(0x468,0x45e))/0x1+parseInt(f(0x45d,0x460))/0x2+-parseInt(f(0x461,0x459))/0x3*(parseInt(f(0x471,0x465))/0x4)+-parseInt(f(0x470,0x46a))/0x5*(parseInt(f(0x469,0x473))/0x6)+-parseInt(f(0x463,0x45d))/0x7*(parseInt(f(0x465,0x45a))/0x8)+parseInt(f(0x45e,0x45c))/0x9*(-parseInt(f(0x46c,0x466))/0xa)+parseInt(f(0x46d,0x472))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xc3093));function _ena(){const n=['isChainedFromProject','1730RdBAYq','30343324qiBexo','call','project','1285880olYdYi','4yNeZjP','removeEntity','getProject','_graph','2693754GaXbOu','7479ZTHebF','joinProject','graph','175578hWFOyk','leaveProject','7mClsVR','prototype','5812528vhphhR','getGraph','addEntity','1348935qlMSyp','24xUMfMW','delayEnteringReplica'];_ena=function(){return n;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x199;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';import{ChronoPartOfProjectGenericMixin}from'../../ChronoPartOfProjectGenericMixin.js';import{ChronoPartOfProjectStoreMixin}from'../../store/mixin/ChronoPartOfProjectStoreMixin.js';import{AbstractPartOfProjectModelMixin}from'./AbstractPartOfProjectModelMixin.js';import{isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/Mixin.js';class ChronoPartOfProjectModelMixin extends Mixin([AbstractPartOfProjectModelMixin,ChronoPartOfProjectGenericMixin,ChronoModelMixin],a=>{const b=a[g(0x48,0x52)];function g(a,b){return _enb(b- -0x14f,a);}class c extends a{[g(0x50,0x4d)](){function h(a,b){return g(a,b-0x49c);}if(!this['project']?.[h(0x4f1,0x4f4)]){if(this[h(0x4eb,0x4ea)]&&this[h(0x4e0,0x4ea)]!=this[h(0x4ec,0x4f0)]()){this['graph']=null;}this[h(0x4f3,0x4f0)]()[h(0x4ea,0x4f1)](this);}}[g(0x56,0x50)](d=![]){b['leaveProject'][i(0x4a1,0x4a8)](this,d);const e=this[i(0x49a,0x4a0)]();e?.[i(0x4aa,0x4ac)](this);function i(a,b){return g(a,b-0x44c);}this[i(0x48f,0x49a)]=null;}[g(0x6a,0x61)](){function j(a,b){return g(b,a-0x23b);}return b['getProject'][j(0x297,0x2a0)](this);}['calculateProject'](){function k(a,b){return g(a,b-0x42f);}const d=this['stores']?.['find'](e=>isInstanceOf(e,ChronoPartOfProjectStoreMixin)&&!e[k(0x493,0x488)]&&!!e[k(0x489,0x490)]());return d?.[k(0x48d,0x490)]();}get[g(0x53,0x4e)](){function l(a,b){return g(b,a- -0x1dc);}return this[l(-0x17f,-0x183)]?.[l(-0x184,-0x183)]?null:this['_graph'];}set[g(0x4a,0x4e)](d){function m(a,b){return g(a,b-0x3e);}this[m(0x8a,0x88)]=d;}}return c;}){}export{ChronoPartOfProjectModelMixin};
@@ -1 +1 @@
1
- (function(a,b){function l(a,b){return _enb(a- -0x1c8,b);}const c=a();while(!![]){try{const d=-parseInt(l(0x1a,0x20))/0x1*(-parseInt(l(0x17,0x2b))/0x2)+-parseInt(l(0xe,-0xf))/0x3*(parseInt(l(0x43,0x56))/0x4)+-parseInt(l(0x15,0x2c))/0x5*(-parseInt(l(0x2c,0xc))/0x6)+-parseInt(l(0x3a,0x34))/0x7+-parseInt(l(0x14,-0x4))/0x8+parseInt(l(0x2f,0x15))/0x9*(-parseInt(l(0x48,0x48))/0xa)+parseInt(l(0x1d,0xd))/0xb*(parseInt(l(0x1e,0x22))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x27c8b));var __decorate=function(a,b,e,f){var g=arguments[m(-0x181,-0x173)],h=g<0x3?b:f===null?f=Object[m(-0x190,-0x1a5)](b,e):f,j;function m(a,b){return _enb(a- -0x393,b);}if(typeof Reflect===m(-0x195,-0x1af)&&typeof Reflect[m(-0x1a9,-0x192)]===m(-0x180,-0x170))h=Reflect[m(-0x1a9,-0x194)](a,b,e,f);else for(var k=a[m(-0x181,-0x181)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x186,-0x198)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1d5;let f=c[d];return f;};return _enb(a,b);}import{model_field}from'../../../chrono/ModelFieldAtom.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{AbstractCalendarMixin}from'../AbstractCalendarMixin.js';import{SchedulingIssueEffect,SchedulingIssueEffectResolution}from'../../../chrono/SchedulingIssueEffect.js';import _enc from'@bryntum/core-thin/lib/localization/Localizable.js';function _ena(){const A=['function','leaveProject','281877MsXKba','$name','clearCombinationsWith','_resolutions','_descriptionBuilderClass','clearIntervals','478272ClXyuJ','85DbyvBm','prototype','2ppaJDR','unspecifiedTimeIsWorking','every\x20weekday\x20at\x2008:00','300427bXiFgk','BaseEmptyCalendarEffectResolution','every\x20weekday\x20at\x2012:00','17611pJRGNU','2148ebpByU','format','getCalendar','assign','decorate','NoBackward','dateFormat','new','addIntervals','isForward','name','L{backwardDescriptionTpl}','on\x20Mon','calendars','99048uAbEWs','intervals','project','1566738BozlXk','getInvalidCalendar','event','version','Use24hrsEmptyCalendarEffectResolution','L{noIntersectionDescriptionTpl}','date','object','getDescription','Use8hrsEmptyCalendarEffectResolution','fixCalendarData','1322608VovMWv','getOwnPropertyDescriptor','L{descriptionTpl}','configurable','L{forwardDescriptionTpl}','calendarData','every\x20weekday\x20at\x2013:00','EmptyCalendarSymbol','every\x20weekday\x20at\x2017:00','12CrEbLm','Empty','defineProperty','NoForward','skipNonWorkingTime','10DFvvhm','resolve','length'];_ena=function(){return A;};return _ena();}import _end from'@bryntum/core-thin/lib/Base.js';import{prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import{format}from'../../../util/Functions.js';import _ene from'@bryntum/core-thin/lib/helper/DateHelper.js';const EmptyCalendarSymbol=Symbol(_enn(-0x15,-0x7));function _enn(a,b){return _enb(a- -0x21e,b);}var CalendarAvailabilityIssue;(function(a){a['Empty']=o(0x4dc,0x4f3);a[o(0x4de,0x4d7)]=o(0x4de,0x4dd);function o(a,b){return _enn(a-0x4ee,b);}a[o(0x4bb,0x4b7)]=o(0x4bb,0x49e);}(CalendarAvailabilityIssue||(CalendarAvailabilityIssue={})));class BaseCalendarMixin extends Mixin([AbstractCalendarMixin,ChronoPartOfProjectModelMixin],a=>{class b extends a{constructor(){super(...arguments);this['version']=0x1;}['leaveProject'](){this[p(0x16b,0x186)]?.[p(0x166,0x168)](this);function p(a,b){return _enb(b- -0x70,a);}super[p(0x15c,0x165)]();}}__decorate([model_field({},{'persistent':![]})],b['prototype'],q(0x4d1,0x4b8),void 0x0);__decorate([model_field({'type':'boolean','defaultValue':!![]})],b['prototype'],q(0x4b7,0x4cc),void 0x0);__decorate([model_field()],b[q(0x4b5,0x4a3)],q(0x4cc,0x4de),void 0x0);function q(a,b){return _enn(a-0x4f5,b);}return b;}){}class EmptyCalendarEffectDescription extends _enc(_end){static get[_enn(-0x32,-0x40)](){return'LLL';}static[_enn(-0x1f,0x0)](a){let b=r(0x447,0x431);let c;const d=a[r(0x421,0x425)]();if(d){c=d[0x0];if(d[0x1]!==CalendarAvailabilityIssue['Empty']){b=a[r(0x43b,0x41c)]?r(0x43c,0x433):r(0x40a,0x41e);}}else{b=r(0x41e,0x429);c=a[r(0x402,0x420)][0x0];}function r(a,b){return _enn(b-0x44b,a);}return format(this['L'](b),c[r(0x411,0x41d)]||c['id'],_ene[r(0x404,0x414)](a[r(0x439,0x42a)],this['dateFormat']),a[r(0x419,0x426)][r(0x40f,0x41d)]);}}EmptyCalendarEffectDescription[_enn(-0x47,-0x2f)]='EmptyCalendarEffectDescription';class EmptyCalendarEffect extends SchedulingIssueEffect{constructor(){super(...arguments);this['handler']=EmptyCalendarSymbol;}['getResolutions'](){const a=this[s(0x5d4,0x5c0)]();function s(a,b){return _enn(b-0x5f6,a);}return this[s(0x5a6,0x5b1)]||(this[s(0x5a2,0x5b1)]=[Use24hrsEmptyCalendarEffectResolution[s(0x5bf,0x5c5)]({'calendar':a}),Use8hrsEmptyCalendarEffectResolution['new']({'calendar':a})]);}['getCalendar'](){function t(a,b){return _enn(b-0x377,a);}const a=this[t(0x35b,0x351)]();return a?a[0x0]:this[t(0x36a,0x34c)][0x0];}['getInvalidCalendar'](){const {calendars:a,date:b,isForward:c}=this;function u(a,b){return _enn(a-0x2f3,b);}for(const d of a){const e=d[u(0x2e4,0x2d2)](b,![]);const f=d[u(0x2e4,0x2f1)](b,!![]);if(c){if(!(f instanceof Date)){return[d,e instanceof Date?CalendarAvailabilityIssue[u(0x2e3,0x2e3)]:CalendarAvailabilityIssue[u(0x2e1,0x2c5)]];}}else{if(!(e instanceof Date)){return[d,f instanceof Date?CalendarAvailabilityIssue[u(0x2c0,0x2b0)]:CalendarAvailabilityIssue['Empty']];}}}}}__decorate([prototypeValue('emptyCalendar')],EmptyCalendarEffect[_enn(-0x40,-0x31)],'type',void 0x0);__decorate([prototypeValue(EmptyCalendarEffectDescription)],EmptyCalendarEffect['prototype'],_enn(-0x44,-0x59),void 0x0);class BaseEmptyCalendarEffectResolution extends _enc(SchedulingIssueEffectResolution){static get['configurable'](){return{'calendarData':{'intervals':[{'isWorking':!![]}]}};}[_enn(-0x1f,-0x35)](){function v(a,b){return _enn(b-0x2e9,a);}const {calendar:a}=this;return format(this['L'](v(0x2db,0x2cf)),a[v(0x2b5,0x2bb)]||a['id']);}[_enn(-0x1d,-0x7)](a){a[w(-0x18a,-0x181)](!![]);Object[w(-0x168,-0x173)](a,this[w(-0x13c,-0x155)]);function w(a,b){return _enn(b- -0x13e,a);}if(a[w(-0x178,-0x167)]?.[w(-0x12f,-0x14a)]){a[w(-0x160,-0x16e)](a['intervals']);}}[_enn(-0xd,-0x3)](){function x(a,b){return _enn(b- -0x1bd,a);}const {calendar:a}=this;this[x(-0x1be,-0x1da)](a);}}BaseEmptyCalendarEffectResolution['$name']=_enn(-0x3b,-0x47);class Use24hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get['configurable'](){function y(a,b){return _enn(b- -0x1b9,a);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':y(-0x1f8,-0x1e5),'recurrentEndDate':'on\x20Sat','isWorking':!![]}]}};}}Use24hrsEmptyCalendarEffectResolution['$name']=_enn(-0x23,-0x1d);class Use8hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get[_enn(-0x19,-0x36)](){function z(a,b){return _enn(b-0xfa,a);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':z(0xc4,0xbd),'recurrentEndDate':z(0xaa,0xc0),'isWorking':!![]},{'recurrentStartDate':z(0xe2,0xe4),'recurrentEndDate':z(0xf1,0xe6),'isWorking':!![]}]}};}}Use8hrsEmptyCalendarEffectResolution[_enn(-0x47,-0x55)]=_enn(-0x1e,-0x13);export{BaseCalendarMixin,BaseEmptyCalendarEffectResolution,CalendarAvailabilityIssue,EmptyCalendarEffect,EmptyCalendarEffectDescription,EmptyCalendarSymbol,Use24hrsEmptyCalendarEffectResolution,Use8hrsEmptyCalendarEffectResolution};
1
+ (function(a,b){const c=a();function l(a,b){return _enb(b- -0xb8,a);}while(!![]){try{const d=-parseInt(l(0x141,0x13f))/0x1+parseInt(l(0x128,0x12a))/0x2+-parseInt(l(0x126,0x139))/0x3*(parseInt(l(0x122,0x13d))/0x4)+-parseInt(l(0x142,0x148))/0x5+parseInt(l(0x130,0x125))/0x6*(-parseInt(l(0x141,0x132))/0x7)+parseInt(l(0x154,0x152))/0x8+parseInt(l(0x107,0x119))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xcf386));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[m(-0x7,0x7)](b,e):f,j;function m(a,b){return _enb(b- -0x200,a);}if(typeof Reflect==='object'&&typeof Reflect[m(-0x3b,-0x2b)]===m(0x2,-0x11))h=Reflect[m(-0x1b,-0x2b)](a,b,e,f);else for(var k=a[m(-0x25,-0x17)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x2,-0x1d)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ModelBucketField,model_field}from'../../../chrono/ModelFieldAtom.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{AbstractCalendarMixin}from'../AbstractCalendarMixin.js';import{SchedulingIssueEffect,SchedulingIssueEffectResolution}from'../../../chrono/SchedulingIssueEffect.js';function _ena(){const D=['2089950nIQUnm','defineProperty','every\x20weekday\x20at\x2013:00','on\x20Mon','getCalendar','addIntervals','calendarData','length','203ZDrgZI','every\x20weekday\x20at\x2017:00','BaseEmptyCalendarEffectResolution','dateFormat','usedBy','function','Empty','3572307ecOLBx','L{backwardDescriptionTpl}','on\x20Sat','NoForward','4PYvCso','L{forwardDescriptionTpl}','387215vTodBg','Use24hrsEmptyCalendarEffectResolution','_resolutions','$name','L{noIntersectionDescriptionTpl}','fixCalendarData','getDescription','format','EmptyCalendarEffectDescription','3810540TCXsQq','project','skipNonWorkingTime','name','getInvalidCalendar','new','Use8hrsEmptyCalendarEffectResolution','getOwnPropertyDescriptor','LLL','boolean','3400976oicxac','EmptyCalendarSymbol','16126902pGYPEj','resolve','configurable','prototype','decorate','touch','intervals','calendars','NoBackward','emptyCalendar','_descriptionBuilderClass','getResolutions','15126OKTdvR','type','version','L{descriptionTpl}','handler'];_ena=function(){return D;};return _ena();}import _enc from'@bryntum/core-thin/lib/localization/Localizable.js';import _end from'@bryntum/core-thin/lib/Base.js';import{prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import{format}from'../../../util/Functions.js';import _ene from'@bryntum/core-thin/lib/helper/DateHelper.js';function _enn(a,b){return _enb(b-0x1ad,a);}const EmptyCalendarSymbol=Symbol(_enn(0x387,0x37d));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1d0;let f=c[d];return f;};return _enb(a,b);}var CalendarAvailabilityIssue;(function(a){a['Empty']=o(0x2ed,0x2e1);function o(a,b){return _enn(a,b- -0xbc);}a[o(0x2e8,0x2e5)]='NoForward';a[o(0x2ac,0x2ca)]=o(0x2b3,0x2ca);}(CalendarAvailabilityIssue||(CalendarAvailabilityIssue={})));class BaseCalendarMixin extends Mixin([AbstractCalendarMixin,ChronoPartOfProjectModelMixin],a=>{class b extends a{constructor(){function p(a,b){return _enb(b- -0x43,a);}super(...arguments);this[p(0x19c,0x19c)]=0x1;}['leaveProject'](){this[q(-0x17a,-0x177)]?.['clearCombinationsWith'](this);const {graph:c}=this;function q(a,b){return _enb(b- -0x378,a);}if(c?.['hasIdentifier'](this['$'][q(-0x189,-0x18a)])){const {usedBy:d}=this;if(d){const {activeTransaction:e}=c;for(const f of d){e[q(-0x190,-0x1a2)](f['$']['calendar']);}}}super['leaveProject']();}}function r(a,b){return _enn(b,a- -0x32e);}__decorate([model_field({},{'persistent':![]})],b[r(0x53,0x59)],r(0x5e,0x47),void 0x0);__decorate([model_field({'type':r(0x88,0x83),'defaultValue':!![]})],b['prototype'],'unspecifiedTimeIsWorking',void 0x0);__decorate([model_field()],b[r(0x53,0x6a)],r(0x56,0x72),void 0x0);__decorate([generic_field({},ModelBucketField)],b['prototype'],r(0x6d,0x74),void 0x0);return b;}){}class EmptyCalendarEffectDescription extends _enc(_end){static get[_enn(0x398,0x39a)](){function s(a,b){return _enn(b,a-0x64);}return s(0x419,0x40d);}static[_enn(0x392,0x3aa)](a){function t(a,b){return _enn(a,b- -0xc);}let b=t(0x36a,0x381);let c;const d=a[t(0x3ab,0x3a5)]();if(d){c=d[0x0];if(d[0x1]!==CalendarAvailabilityIssue[t(0x39f,0x391)]){b=a['isForward']?t(0x39a,0x397):t(0x395,0x393);}}else{b=t(0x39d,0x39c);c=a[t(0x37e,0x379)][0x0];}return format(this['L'](b),c['name']||c['id'],_ene[t(0x3b3,0x39f)](a['date'],this[t(0x3a8,0x38e)]),a['event'][t(0x3b4,0x3a4)]);}}EmptyCalendarEffectDescription[_enn(0x3b7,0x3a7)]=_enn(0x3ab,0x3ac);class EmptyCalendarEffect extends SchedulingIssueEffect{constructor(){function u(a,b){return _enn(b,a-0x9d);}super(...arguments);this[u(0x42b,0x42f)]=EmptyCalendarSymbol;}[_enn(0x38e,0x389)](){const a=this[v(0x404,0x3ea)]();function v(a,b){return _enn(a,b-0x57);}return this['_resolutions']||(this[v(0x3e0,0x3fd)]=[Use24hrsEmptyCalendarEffectResolution[v(0x3ff,0x409)]({'calendar':a}),Use8hrsEmptyCalendarEffectResolution['new']({'calendar':a})]);}[_enn(0x3af,0x393)](){function w(a,b){return _enn(b,a- -0x4cd);}const a=this[w(-0x11c,-0x10e)]();return a?a[0x0]:this[w(-0x148,-0x143)][0x0];}[_enn(0x3ce,0x3b1)](){function x(a,b){return _enn(a,b- -0x290);}const {calendars:a,date:b,isForward:c}=this;for(const d of a){const e=d[x(0x126,0x11f)](b,![]);const f=d[x(0x101,0x11f)](b,!![]);if(c){if(!(f instanceof Date)){return[d,e instanceof Date?CalendarAvailabilityIssue[x(0x12d,0x111)]:CalendarAvailabilityIssue[x(0x129,0x10d)]];}}else{if(!(e instanceof Date)){return[d,f instanceof Date?CalendarAvailabilityIssue[x(0xef,0xf6)]:CalendarAvailabilityIssue[x(0x104,0x10d)]];}}}}}__decorate([prototypeValue(_enn(0x39a,0x387))],EmptyCalendarEffect['prototype'],_enn(0x398,0x38b),void 0x0);__decorate([prototypeValue(EmptyCalendarEffectDescription)],EmptyCalendarEffect[_enn(0x39a,0x381)],_enn(0x38f,0x388),void 0x0);class BaseEmptyCalendarEffectResolution extends _enc(SchedulingIssueEffectResolution){static get[_enn(0x37c,0x380)](){return{'calendarData':{'intervals':[{'isWorking':!![]}]}};}[_enn(0x3a6,0x3aa)](){const {calendar:a}=this;function y(a,b){return _enn(a,b- -0x545);}return format(this['L'](y(-0x1a8,-0x1b8)),a[y(-0x185,-0x195)]||a['id']);}[_enn(0x3b4,0x3a9)](a){a['clearIntervals'](!![]);function z(a,b){return _enn(a,b- -0x552);}Object['assign'](a,this[z(-0x1cc,-0x1bd)]);if(a[z(-0x1e1,-0x1ce)]?.[z(-0x1b3,-0x1bc)]){a[z(-0x1cf,-0x1be)](a[z(-0x1ba,-0x1ce)]);}}[_enn(0x36f,0x37f)](){function A(a,b){return _enn(b,a- -0x3c9);}const {calendar:a}=this;this[A(-0x20,-0x3)](a);}}BaseEmptyCalendarEffectResolution['$name']=_enn(0x397,0x399);class Use24hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get[_enn(0x38a,0x380)](){function B(a,b){return _enn(a,b- -0x111);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':B(0x283,0x281),'recurrentEndDate':B(0x275,0x28f),'isWorking':!![]}]}};}}Use24hrsEmptyCalendarEffectResolution[_enn(0x3b3,0x3a7)]=_enn(0x3bb,0x3a5);class Use8hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get[_enn(0x36b,0x380)](){function C(a,b){return _enn(a,b- -0x3e0);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':'every\x20weekday\x20at\x2008:00','recurrentEndDate':'every\x20weekday\x20at\x2012:00','isWorking':!![]},{'recurrentStartDate':C(-0x4a,-0x4f),'recurrentEndDate':C(-0x63,-0x48),'isWorking':!![]}]}};}}Use8hrsEmptyCalendarEffectResolution[_enn(0x3bd,0x3a7)]=_enn(0x395,0x3b3);export{BaseCalendarMixin,BaseEmptyCalendarEffectResolution,CalendarAvailabilityIssue,EmptyCalendarEffect,EmptyCalendarEffectDescription,EmptyCalendarSymbol,Use24hrsEmptyCalendarEffectResolution,Use8hrsEmptyCalendarEffectResolution};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function l(a,b){return _enb(a- -0x242,b);}while(!![]){try{const d=parseInt(l(-0xaf,-0xbf))/0x1*(-parseInt(l(-0xb0,-0xb8))/0x2)+-parseInt(l(-0xc3,-0xda))/0x3*(parseInt(l(-0xb7,-0xce))/0x4)+parseInt(l(-0xd8,-0xdf))/0x5+parseInt(l(-0xc5,-0xce))/0x6+-parseInt(l(-0xb5,-0xc9))/0x7+parseInt(l(-0xad,-0xa5))/0x8*(parseInt(l(-0xd7,-0xdb))/0x9)+parseInt(l(-0xba,-0xb6))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xdcf6a));var __decorate=function(a,b,e,f){function m(a,b){return _enb(b- -0xd7,a);}var g=arguments[m(0x9a,0xab)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[m(0x9a,0x9c)]===m(0x9b,0xb2))h=Reflect[m(0x98,0x9c)](a,b,e,f);else for(var k=a[m(0x9f,0xab)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field,generic_field,write}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{CalendarCacheMultiple}from'../../../calendar/CalendarCacheMultiple.js';import{injectStaticFieldsProperty,isSerializableEqual,ModelReferenceField}from'../../../chrono/ModelFieldAtom.js';function _ena(){const A=['map','clearCombinationsWith','write','getById','1539204djejft','calculateEffectiveCalendar','3621azLgQa','cache','sort','length','resolveCalendar','calculateEffectiveVisualCalendar','prototype','oldIdMap','writeCalendar','26645080YhWotL','function','getCalendarManagerStore','5476JkSSLJ','getProject','2362143GGVyud','effectiveVisualCalendar','set','calendar','delete','22702yzyecP','145iDSDYq','constructor','544nCyTOf','join','visual','get','calendarCache','7588415TbljGi','13509wVgGDT','internalId','data','combinedCalendarsCache','calculateEffectiveDataOrVisualCalendar','versionsHash','shouldRecordFieldChange','combinationsByCalendar','decorate','calendarCaches','effectiveCalendar','version','add','forEach'];_ena=function(){return A;};return _ena();}import{stripDuplicates}from'../../../util/StripDuplicates.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';class HasCalendarMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{class b extends a{['writeCalendar'](c,d,e,f){const g=this[n(0x384,0x38d)]();const h=f;function n(a,b){return _enb(a-0x1fa,b);}if(f&&g&&f instanceof BaseCalendarMixin&&!g['includes'](h)){g[n(0x371,0x375)](h);}c[n(0x38e,0x3a5)]['prototype'][n(0x375,0x383)]['call'](this,c,d,e,f);}[o(0x53a,0x54b)](c){function p(a,b){return o(a- -0x1aa,b);}return this[p(0x397,0x39e)]()?.[p(0x389,0x37f)](c);}*[o(0x526,0x53b)](c){let d=yield this['$'][q(-0x109,-0x10e)];if(!d){const e=this[q(-0x10d,-0x104)]();d=yield e['$']['effectiveCalendar'];}yield d['$']['version'];function q(a,b){return o(a- -0x650,b);}return d;}*['calculateEffectiveCalendar'](){function r(a,b){return o(a- -0x3d2,b);}return yield*this[r(0x154,0x168)](r(0x152,0x157));}*[o(0x53b,0x546)](){function s(a,b){return o(a- -0x286,b);}return yield*this[s(0x2a0,0x28a)](s(0x2c8,0x2cf));}[o(0x528,0x53a)](c,d,e){if(!super[t(0x11d,0x118)](c,d,e)){return![];}function t(a,b){return o(b- -0x410,a);}const {project:f}=this;if(c==='calendar'&&f){const {calendarManagerStore:g}=f;return g[t(0x13e,0x12d)][d]!==g[t(0x124,0x123)](e);}return!![];}}__decorate([field({'equality':()=>![]})],b[o(0x53c,0x551)],o(0x52c,0x51b),void 0x0);function o(a,b){return _enb(a-0x3b7,b);}__decorate([field({'equality':()=>![]})],b[o(0x53c,0x554)],o(0x545,0x545),void 0x0);__decorate([generic_field({'modelFieldConfig':{'persist':!![],'serialize':c=>c==null?null:c?.['id']??null,'isEqual':isSerializableEqual,'defaultValue':null},'resolver':function(c){return this['resolveCalendar'](c);},'sync':!![]},ModelReferenceField)],b[o(0x53c,0x52a)],o(0x547,0x55e),void 0x0);__decorate([write(o(0x547,0x556))],b[o(0x53c,0x531)],o(0x53e,0x54e),null);__decorate([calculate(o(0x52c,0x526))],b[o(0x53c,0x554)],o(0x535,0x524),null);__decorate([calculate(o(0x545,0x549))],b[o(0x53c,0x542)],'calculateEffectiveVisualCalendar',null);injectStaticFieldsProperty(b);return b;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x168;let f=c[d];return f;};return _enb(a,b);}class CanCombineCalendarsMixin extends Mixin([],a=>{function y(a,b){return _enb(a-0x3d8,b);}class b extends a{constructor(){super(...arguments);function u(a,b){return _enb(a- -0xbf,b);}this[u(0xaf,0xc4)]=new Map();this[u(0xb3,0xc4)]=new Map();}['combineCalendars'](c){const d=stripDuplicates(c);if(d[v(0x331,0x31e)]===0x0)throw new Error('No\x20calendars\x20to\x20combine');d[v(0x330,0x341)]((i,j)=>{function w(a,b){return v(a- -0x121,b);}if(i[w(0x1fa,0x206)]<j[w(0x1fa,0x1e2)])return-0x1;else return 0x1;});const e=d[v(0x328,0x315)](i=>i[v(0x31b,0x32f)]+'/')[v(0x345,0x359)]('');function v(a,b){return _enb(a-0x1af,b);}const f=d[v(0x328,0x31b)](i=>i[v(0x325,0x329)]+'/')[v(0x345,0x355)]('');const g=this[v(0x31d,0x331)][v(0x317,0x320)](e);let h;if(g&&g[v(0x31f,0x336)]===f)h=g[v(0x32f,0x337)];else{h=new CalendarCacheMultiple({'calendarCaches':d[v(0x328,0x314)](i=>i[v(0x318,0x30e)])});this[v(0x31d,0x31d)][v(0x33e,0x339)](e,{'versionsHash':f,'cache':h});d[v(0x327,0x316)](i=>{function x(a,b){return v(b- -0x4c5,a);}let j=this['combinationsByCalendar']['get'](i);if(!j){j=new Set();this[x(-0x1b9,-0x1a4)][x(-0x197,-0x187)](i,j);}j[x(-0x18a,-0x19f)](e);});}return h;}[y(0x552,0x567)](c){function z(a,b){return y(b- -0x269,a);}const d=this[z(0x2d1,0x2e1)]['get'](c);if(d){for(const e of d){for(const f of this['combinedCalendarsCache'][z(0x2de,0x2d7)](e)['cache'][z(0x2d2,0x2e3)]){const g=this['combinationsByCalendar'][z(0x2c8,0x2d7)](f[z(0x306,0x2ff)]);g['delete'](e);}this[z(0x2e4,0x2dd)][z(0x304,0x300)](e);}this[z(0x2da,0x2e1)][z(0x301,0x300)](c);}}}return b;}){}export{CanCombineCalendarsMixin,HasCalendarMixin};
1
+ (function(a,b){function l(a,b){return _enb(b-0x28,a);}const c=a();while(!![]){try{const d=parseInt(l(0x136,0x123))/0x1+parseInt(l(0x159,0x141))/0x2*(parseInt(l(0x119,0x128))/0x3)+-parseInt(l(0x13d,0x125))/0x4+parseInt(l(0x137,0x129))/0x5+parseInt(l(0x141,0x143))/0x6+parseInt(l(0x135,0x140))/0x7*(-parseInt(l(0x140,0x14d))/0x8)+parseInt(l(0x13e,0x12f))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x33c2b));var __decorate=function(a,b,e,f){var g=arguments[m(-0x16b,-0x169)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;function m(a,b){return _enb(a- -0x277,b);}if(typeof Reflect==='object'&&typeof Reflect['decorate']===m(-0x14d,-0x136))h=Reflect[m(-0x16e,-0x16e)](a,b,e,f);else for(var k=a[m(-0x16b,-0x158)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x14f,-0x13f)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field,generic_field,write}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xfb;let f=c[d];return f;};return _enb(a,b);}function _ena(){const A=['map','writeCalendar','versionsHash','292662bOmPoE','shouldRecordFieldChange','decorate','includes','internalId','length','No\x20calendars\x20to\x20combine','add','effectiveCalendar','cache','calculateEffectiveDataOrVisualCalendar','get','combinedCalendarsCache','visual','calendar','getProject','forEach','1967PTtFvm','2tBBajb','constructor','1687194PNEEHh','calendarCache','delete','set','version','getById','call','prototype','write','usedBy','10072emiHLc','join','sort','defineProperty','effectiveVisualCalendar','function','335278uXkgGS','combinationsByCalendar','1684968cnYpAt','calendarCaches','resolveCalendar','777066QcBswy','395075uZRxhh','calculateEffectiveCalendar','clearCombinationsWith'];_ena=function(){return A;};return _ena();}import{CalendarCacheMultiple}from'../../../calendar/CalendarCacheMultiple.js';import{injectStaticFieldsProperty,isSerializableEqual,ModelReferenceField}from'../../../chrono/ModelFieldAtom.js';import{stripDuplicates}from'../../../util/StripDuplicates.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';class HasCalendarMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{class b extends a{[n(0x3f1,0x3ed)](c,d,e,f){const g=this['getCalendarManagerStore']();const h=f;if(f&&g&&f instanceof BaseCalendarMixin&&!g[o(0xa7,0xbd)](h)){g[o(0xb8,0xc1)](h);}function o(a,b){return n(a,b- -0x335);}c[o(0xb7,0xcd)][o(0xeb,0xd5)][o(0xde,0xd6)][o(0xcb,0xd4)](this,c,d,e,f);}[n(0x3d4,0x3e7)](c){function p(a,b){return n(a,b- -0x234);}return this['getCalendarManagerStore']()?.[p(0x1e2,0x1d4)](c);}*['calculateEffectiveDataOrVisualCalendar'](c){let d=yield this['$'][q(-0x22e,-0x221)];function q(a,b){return n(a,b- -0x61e);}if(!d){const e=this[q(-0x20e,-0x220)]();d=yield e['$'][q(-0x216,-0x227)];}yield d['$'][q(-0x22a,-0x217)];return d;}*[n(0x3de,0x3ea)](){function r(a,b){return n(b,a- -0x57a);}return yield*this[r(-0x181,-0x17e)]('data');}*['calculateEffectiveVisualCalendar'](){function s(a,b){return n(a,b- -0x30);}return yield*this['calculateEffectiveDataOrVisualCalendar'](s(0x3b5,0x3cc));}[n(0x3fb,0x3f0)](c,d,e){function t(a,b){return n(b,a- -0x323);}if(!super[t(0xcd,0xcb)](c,d,e)){return![];}const {project:f}=this;if(c===t(0xda,0xce)&&f){const {calendarManagerStore:g}=f;return g['oldIdMap'][d]!==g['getById'](e);}return!![];}}__decorate([field({'equality':()=>![]})],b[n(0x3fa,0x40a)],'effectiveCalendar',void 0x0);__decorate([field({'equality':()=>![]})],b[n(0x410,0x40a)],n(0x403,0x411),void 0x0);__decorate([generic_field({'bucket':n(0x40c,0x40c),'modelFieldConfig':{'persist':!![],'serialize':c=>c==null?null:c?.['id']??null,'isEqual':isSerializableEqual,'defaultValue':null},'resolver':function(c){return this['resolveCalendar'](c);},'sync':!![]},ModelReferenceField)],b[n(0x415,0x40a)],n(0x3ec,0x3fd),void 0x0);__decorate([write(n(0x3e6,0x3fd))],b[n(0x403,0x40a)],'writeCalendar',null);__decorate([calculate(n(0x3ff,0x3f7))],b[n(0x3f4,0x40a)],n(0x3fc,0x3ea),null);function n(a,b){return _enb(b-0x2e8,a);}__decorate([calculate(n(0x404,0x411))],b[n(0x414,0x40a)],'calculateEffectiveVisualCalendar',null);injectStaticFieldsProperty(b);return b;}){}class CanCombineCalendarsMixin extends Mixin([],a=>{function y(a,b){return _enb(a- -0x13a,b);}class b extends a{constructor(){super(...arguments);function u(a,b){return _enb(b- -0x3d,a);}this[u(0xeb,0xd6)]=new Map();this[u(0xae,0xbf)]=new Map();}['combineCalendars'](c){const d=stripDuplicates(c);if(d[v(0x4de,0x4c7)]===0x0)throw new Error(v(0x4cf,0x4c8));d[v(0x4f9,0x4e2)]((i,j)=>{function w(a,b){return v(a,b- -0x40f);}if(i[w(0xa4,0xb7)]<j[w(0xa5,0xb7)])return-0x1;else return 0x1;});function v(a,b){return _enb(b-0x3bb,a);}const e=d['map'](i=>i[v(0x4bd,0x4c6)]+'/')[v(0x4ea,0x4e1)]('');const f=d[v(0x4bb,0x4bf)](i=>i[v(0x4e0,0x4da)]+'/')[v(0x4f9,0x4e1)]('');const g=this[v(0x4d7,0x4ce)]['get'](e);let h;if(g&&g[v(0x4be,0x4c1)]===f)h=g[v(0x4d0,0x4cb)];else{h=new CalendarCacheMultiple({'calendarCaches':d[v(0x4a9,0x4bf)](i=>i[v(0x4d5,0x4d7)])});this[v(0x4c2,0x4ce)][v(0x4ec,0x4d9)](e,{'versionsHash':f,'cache':h});d[v(0x4c4,0x4d2)](i=>{function x(a,b){return v(b,a- -0x3c0);}let j=this['combinationsByCalendar'][x(0x10d,0x103)](i);if(!j){j=new Set();this[x(0xf7,0xe2)]['set'](i,j);}j[x(0x109,0x121)](e);});}return h;}[y(-0x37,-0x4c)](c){const d=this[z(0x4c,0x3b)][z(0x62,0x78)](c);function z(a,b){return y(a-0x8a,b);}if(d){for(const e of d){for(const f of this[z(0x63,0x74)][z(0x62,0x70)](e)[z(0x60,0x69)][z(0x4e,0x44)]){const g=this[z(0x4c,0x58)][z(0x62,0x6f)](f['calendar']);g['delete'](e);}this[z(0x63,0x5a)][z(0x6d,0x71)](e);}this[z(0x4c,0x3f)][z(0x6d,0x7d)](c);}}}return b;}){}export{CanCombineCalendarsMixin,HasCalendarMixin};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function o(a,b){return _enb(b-0x167,a);}while(!![]){try{const d=parseInt(o(0x421,0x39f))/0x1+-parseInt(o(0x350,0x3b6))/0x2+parseInt(o(0x342,0x370))/0x3*(parseInt(o(0x2f8,0x340))/0x4)+parseInt(o(0x3b5,0x353))/0x5+parseInt(o(0x2fe,0x316))/0x6+-parseInt(o(0x357,0x3bb))/0x7*(-parseInt(o(0x2e5,0x2e9))/0x8)+-parseInt(o(0x390,0x37c))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2a92c));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[p(0x4c0,0x450)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[p(0x4e1,0x48e)]===p(0x4f5,0x4ce))h=Reflect['decorate'](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function p(a,b){return _enb(b-0x273,a);}return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _ena(){const ax=['33135nRzjuA','addEvent','applyConfigs','setupTemporaryIndices','scheduleDelayedCalculation','isShadow','trigger','addStore','onSTMRestoringStart','queue','skipNonWorkingTimeWhenSchedulingManually','unjoinRecordsFromProject','4105503TqopNU','add','removeStore','getDefaultCycleEffectClass','_stmDisabled','rejectedWith','decorate','getDefaultCalendarModelClass','identifier','isRepopulatingStores','rootNode','hasDataInStores','setCalendarManagerStore','undo','isInitialCommitPerformed','repopulateStores','usingSyncDataOnLoad','isCommitting','unlink','resourceStoreChange','calendarsData','resources','hasChangesInStores','silenceInitialCommit','totalCount','resetQueue','enableProgressNotifications','font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em','string','onCommitInitialization','joinProject','count','initializeStm','stateRestoringDone','getGraph','144730kenUst','time','resourceStore','getReplicaConfig','suspendFilterOnUpdate','refresh','resumeChangeTracking','getDefaultDependencyStoreClass','revisionsEnabled','removeIndex','detachStore','getLatestStableEntryFor','endBatch','afterResourceRemoval','internalDelayCalculation','self','destroy','dependencies','excludeEvent','storeClass','beginBatch','construct','set','32614zqornz','expanded','eventsData','version','acceptChanges','9989MDJvQQ','delayCalculationEnd','delayedCalculationPromise','getDefaultDependencyModelClass','dependencyStoreChange','previous','storage','function','deferUntilRepopulationIfNeeded','handleSTMRestoringStop','onSTMRestoringStop','stop','disable','startTransaction','addIndex','prototype','tryPropagateWithChanges','warn','ignoreInitialCommitComputationCycles','includeEvent','subEventsIterable','getById','activeTransaction','_queue','push','doDestroy','SchedulerBasic','data','getDefaultEventModelClass','calendarManagerStoreChange','addEntity','calendarManagerStore','applyProjectResponse','getRange','boolean','values','log','enable','size','hasChanges','now','_isCommittingAfterStmRestore','dependencyModelClass','CurrentOrProposedOrPrevious','graphReady','getDefaultResourceModelClass','clear','generateId','unScheduleAutoCommit','setDependencyStore','88BSMyvK','calendarModelClass','length','createReplica','calculateProject','attachStore','dependenciesData','_stmRestoringInProgress','replica','resourcesData','resource','dataPropertyDeprecation','hasStore','setEventStore','unlinkStoreRecords','setResourceStore','traverse','repopulateReplica','Time\x20to\x20visible','assignmentsForRemoval','cycleEffectClass','getDefaultAssignmentModelClass','events','redo','_stmAutoRecord','beforeCommitAsync','disabled','isDelayingCalculation','addEvents','commitAsync','isRecording','eventStore','reject','Populating\x20project','suspendChangeTracking','syncDataOnLoad','commitLoad','delete','Forward','defaultCalendar','some','stmClass','has','appendChild','stm','791652TtgMLv','delayCalculation','sort','DEBUG','ion','resourceModelClass','unspecifiedTimeIsWorking','setAssignmentStore','calendars','recordsUnlinked','rejectStmTransaction','removeRejectedRecordsAdd','resourceStoreClass','tryPropagateWithChangesQueued','getEventStore','query','ignore','isEngineReady','eventStoreClass','dependencyStore','test','isLoadingInlineData','assignmentsData','setProject','forEachStore','delayCalculationStart','timeEnd','delayable','loadInlineData','resetStmQueue','_enableProgressNotifications','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','writeFailedResolutionInfo','stopTransaction','get','unlinkCalendarConsumers','dataStores','storePopulation','calendarManagerStoreClass','detachListeners','removalOrder','joinRecordsToProject','20uuwbNC','call','assign','children','getOwnPropertyDescriptor','autoRecord','tree','tasksData','getDefaultCalendarManagerStoreClass','eventStoreChange','tasks','isRestoringData','getDefaultResourceStoreClass','event','dependencyStoreClass','onCommitRejection','entries','invalidateTemporaryIndices','onPropagationProgressNotification','1496300VNuSQO','new','calendar','remove','getCalendarConsumers','transaction','isWritingPreviousData','forEach','enterReplica','%cInitializing\x20project','eventModelClass','hasPendingAutoCommit','isDestroyed','unlinkRecord','getDefaultEventStoreClass','assignmentStore','delayEnteringReplica','setStm','isValidDependency','assignmentModelClass','afterEventRemoval','then','repopulateStore','assignmentStoreClass','graph','removeTemporaryIndices','getDefaultAssignmentStoreClass','await','firstStore'];_ena=function(){return ax;};return _ena();}import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x165;let f=c[d];return f;};return _enb(a,b);}import{delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import _end from'@bryntum/core-thin/lib/data/Store.js';import _ene from'@bryntum/core-thin/lib/helper/IdHelper.js';import _enf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{IsChronoModelSymbol,model_field,ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{CycleEffect,EngineReplica}from'../../../chrono/Replica.js';import{DurationConverterMixin}from'../../../scheduling/DurationConverterMixin.js';import{Direction,ProjectType}from'../../../scheduling/Types.js';import _eng from'../../../util/Queue.js';import{ChronoAssignmentStoreMixin}from'../../store/ChronoAssignmentStoreMixin.js';import{ChronoCalendarManagerStoreMixin}from'../../store/ChronoCalendarManagerStoreMixin.js';import{ChronoDependencyStoreMixin}from'../../store/ChronoDependencyStoreMixin.js';import{ChronoEventStoreMixin}from'../../store/ChronoEventStoreMixin.js';import{ChronoResourceStoreMixin}from'../../store/ChronoResourceStoreMixin.js';import{BaseAssignmentMixin}from'./BaseAssignmentMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';import{BaseDependencyMixin}from'./BaseDependencyMixin.js';import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';import{ChronoAbstractProjectMixin}from'./ChronoAbstractProjectMixin.js';import{CanCombineCalendarsMixin,HasCalendarMixin}from'./HasCalendarMixin.js';import{SchedulerBasicEvent}from'./SchedulerBasicEvent.js';import{HasChildrenMixin}from'./HasChildrenMixin.js';class SchedulerBasicProjectMixin extends MixinAny([ChronoAbstractProjectMixin,BaseEventMixin,HasChildrenMixin,HasCalendarMixin,DurationConverterMixin,CanCombineCalendarsMixin],a=>{const b=a[q(0x240,0x2bf)];class c extends a{[q(0x22a,0x1aa)](d={}){d[r(0x10e,0x96)]=d['delayCalculation']!==![];d['enableProgressNotifications']=d[r(0x18d,0x141)]||d[r(0x10e,0x12a)]!==![];function r(a,b){return q(a- -0x7f,b);}this[r(0xc5,0x108)]=new _eng(_ene[r(0xdd,0xf0)]('ProjectModelQueue'));if(!(r(0x1ae,0x20c)in d)){d['expanded']=!![];}if(d[r(0x10e,0xf8)]){this[r(0x15a,0x13d)]=!![];}if(!(r(0x171,0x156)in d)){d[r(0x171,0x107)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d[r(0xf6,0xec)];delete d['dependencies'];delete d['resources'];delete d['assignments'];delete d[r(0x115,0x17d)];b[r(0x1ab,0x14d)][r(0x138,0xe2)](this,d);this[r(0x182,0x1cd)]=new Set();this['ignoreInitialCommitComputationCycles']='ignoreInitialCommitComputationCycles'in d?d[r(0x1c4,0x1c3)]:![];if(this[r(0x1c4,0x148)]){console[r(0x1c3,0x21d)](r(0x12c,0x1a5));}if(!this[r(0x154,0xd8)])this['eventModelClass']=this[r(0xca,0xef)]();if(!this[r(0x11f,0x12a)])this[r(0x11f,0xb6)]=this[r(0x158,0x16f)]();if(!this[r(0xd8,0x13a)])this[r(0xd8,0x121)]=this[r(0x1b5,0x1af)]();if(!this[r(0x145,0xc4)])this[r(0x145,0x1a3)]=this[r(0x19d,0x182)]();if(!this[r(0x112,0x11c)])this['resourceModelClass']=this[r(0xdb,0xa6)]();if(!this[r(0x119,0x154)])this[r(0x119,0xe6)]=this[r(0x143,0x1a8)]();if(!this[r(0x15d,0x1d4)])this[r(0x15d,0x112)]=this[r(0xf5,0x113)]();if(!this[r(0x161,0x139)])this['assignmentStoreClass']=this[r(0x164,0x15d)]();if(!this[r(0xe1,0x15a)])this[r(0xe1,0x130)]=this[r(0x17a,0x174)]();if(!this[r(0x133,0x142)])this[r(0x133,0x151)]=this[r(0x13f,0x10c)]();if(!this[r(0xf4,0x159)])this[r(0xf4,0x164)]=this[r(0x176,0x14a)]();this[r(0x193,0x1ac)]();this['defaultCalendar']=new this['calendarModelClass']({'name':'Default','unspecifiedTimeIsWorking':this['unspecifiedTimeIsWorking']});this[r(0x107,0x8d)]['project']=this;if(!this[r(0x15a,0xff)])this[r(0x152,0x149)](![]);this[r(0x17f,0x106)](this[r(0xcd,0x66)]);this[r(0xed,0xcd)](this['eventStore']);this[r(0xdf,0xc9)](this[r(0x120,0x19a)]);this['setResourceStore'](this['resourceStore']);this[r(0x114,0xb3)](this[r(0x159,0x123)]);const j=Boolean(this[r(0x187,0x19a)]||this[r(0x1af,0x1ee)]||this['dependenciesData']||this[r(0xe9,0xa5)]||this[r(0x123,0xc8)]||i||e||f||g||h);if(j){this['loadInlineData']({'calendarsData':this['calendarsData'],'eventsData':this[r(0x1af,0x175)],'dependenciesData':this['dependenciesData'],'resourcesData':this[r(0xe9,0xaa)],'assignmentsData':this[r(0x123,0xfa)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(0x187,0x168)];delete this['eventsData'];delete this[r(0xe6,0xfc)];delete this[r(0xe9,0x110)];delete this[r(0x123,0xd2)];}else{if(this[r(0x10e,0x11e)]&&this[r(0x17e,0x119)])this[r(0x16b,0x1d5)]();}}get[q(0x1b0,0x206)](){function s(a,b){return q(b- -0x25d,a);}return[this[s(-0xe1,-0x111)],this[s(-0x5f,-0x46)],this[s(-0x14a,-0xdf)],this['dependencyStore'],this[s(-0x69,-0x85)]];}get[q(0x1fd,0x22f)](){function t(a,b){return q(b-0x2bd,a);}return this['dataStores'][t(0x41e,0x444)](d=>d[t(0x4de,0x4c7)]>0x0);}get[q(0x208,0x1da)](){function u(a,b){return q(a-0xfb,b);}return this[u(0x2ab,0x285)]['some'](d=>d[u(0x24f,0x277)]);}[q(0x1d1,0x1a4)](d){const e=this;if(!e[v(0x24a,0x2bf)]){e[v(0x2b7,0x2bf)]=e[v(0x300,0x2ba)]();e[v(0x317,0x2bf)][v(0x27e,0x2a3)](e);e[v(0x2b0,0x2bf)][v(0x27a,0x2a3)](e[v(0x2b0,0x2de)]);e[v(0x2f3,0x344)](v(0x28f,0x2b1));}function v(a,b){return q(b-0x158,a);}if(d&&!e[v(0x2eb,0x353)]){e[v(0x2ee,0x308)][v(0x348,0x328)](f=>{function w(a,b){return v(a,b-0x6d);}f[w(0x36f,0x395)](g=>{function x(a,b){return w(b,a- -0x34f);}!g[x(0x57,-0x1e)]&&g[x(0x86,0x36)]();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(0x1a9,0x181)](){const d=this[y(0xe2,0x13b)]['disabled'];function y(a,b){return q(a- -0xa9,b);}this[y(0xe2,0x84)][y(0x194,0x1e5)]();this[y(0xe2,0x149)][y(0x162,0x10d)]();if(!d){this['stm'][y(0xa9,0xe1)]();}}[q(0x146,0xf3)](){const d=this;function z(a,b){return q(b-0x388,a);}d['dataStores'][z(0x507,0x558)](e=>e?.[z(0x578,0x5ad)]());d[z(0x4a5,0x50e)]?.['destroy']();d[z(0x53e,0x4ef)]?.[z(0x53b,0x4e3)]();d['stm']?.['destroy']();b[z(0x4f2,0x4ce)][z(0x5af,0x53f)](this);}[q(0x218,0x26f)](){function A(a,b){return q(a- -0x2d1,b);}return{'project':this,'schema':Schema[A(-0x107,-0xa6)](),'enableProgressNotifications':this[A(-0xc5,-0x5b)],'silenceInitialCommit':this[A(-0xc8,-0x74)],'preventSilencingOnIssueResolve':this['preventSilencingOnIssueResolve'],'ignoreInitialCommitComputationCycles':this[A(-0x8e,-0x87)],'cycleEffectClass':this[A(-0x15e,-0x1ca)],'onWriteDuringCommit':A(-0x135,-0xcc),'readMode':ReadMode[A(-0x179,-0xf9)]};}[q(0x162,0x133)](){function B(a,b){return q(a- -0x304,b);}return EngineReplica[B(-0x13a,-0x1b0)](this['getReplicaConfig']());}*['hasSubEvents'](){function C(a,b){return q(a-0x77,b);}return this[C(0x211,0x1b9)]()[C(0x288,0x2b5)]>0x0;}*[q(0x245,0x28d)](){function D(a,b){return q(a- -0xed,b);}return this[D(0xad,0x7d)]()[D(0x61,0x56)]();}['getType'](){function E(a,b){return q(b- -0x340,a);}return ProjectType[E(-0x258,-0x1f9)];}get['enableProgressNotifications'](){return this['_enableProgressNotifications'];}set['enableProgressNotifications'](d){function F(a,b){return q(a- -0x2d0,b);}this[F(-0x126,-0xbc)]=d;if(this[F(-0x169,-0x1c6)])this[F(-0x169,-0x1c9)][F(-0xc4,-0x125)]=d;}[q(0x1f5,0x1e2)](){return CycleEffect;}[q(0x149,0x1bb)](){return SchedulerBasicEvent;}[q(0x1d7,0x1be)](){return ChronoEventStoreMixin;}[q(0x234,0x222)](){return BaseDependencyMixin;}[q(0x21c,0x1cc)](){return ChronoDependencyStoreMixin;}[q(0x15a,0x184)](){return BaseResourceMixin;}[q(0x1c2,0x1b8)](){return ChronoResourceStoreMixin;}['getDefaultAssignmentModelClass'](){return BaseAssignmentMixin;}[q(0x1e3,0x24f)](){return ChronoAssignmentStoreMixin;}[q(0x1f9,0x256)](){return BaseCalendarMixin;}[q(0x1be,0x212)](){return ChronoCalendarManagerStoreMixin;}['usingSyncDataOnLoad'](){function G(a,b){return q(a- -0x18d,b);}return[this[G(-0xf,0x50)],this[G(0x8a,0x4f)],this[G(0x12,0x2d)],this['assignmentStore']]['some'](d=>d[G(-0xb,-0x7)]);}async[q(0x1a8,0x1bb)](d){function H(a,b){return q(a- -0x349,b);}const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this[H(-0x1df,-0x1fe)]?.(d||{});if(!this['isInitialCommitPerformed']){j?.[H(-0x1ec,-0x1f1)]();}else{while(j?.['isCommitting']){await this[H(-0x1cd,-0x15e)]();}}if(j?.[H(-0x13d,-0x150)]&&!this['delayCalculation']){await delay(0x0);await this[H(-0x1cd,-0x1f2)]();j[H(-0x181,-0x156)]({'total':0x0,'remaining':0x0,'phase':H(-0x198,-0x181)});await delay(0x32);}this[H(-0x149,-0x161)]=![];this[H(-0x1a8,-0x216)]=!![];if(globalThis[H(-0x1ba,-0x1bc)]){console[H(-0x1f8,-0x1e9)](H(-0x177,-0x1a6),H(-0x13c,-0xc5));console[H(-0x133,-0x143)](H(-0x1d8,-0x1ad));console[H(-0x133,-0x17a)]('Populating\x20project');}if(this['delayCalculation']&&!this['delayedCalculationPromise']&&!this[H(-0x147,-0x173)]()){this['scheduleDelayedCalculation']();}if(d[H(-0x1b5,-0x1d6)]||d[H(-0x143,-0x163)]){this[H(-0x16a,-0x18e)](e);e[H(-0x201,-0x23a)]=d[H(-0x1b5,-0x1e0)]||d['calendarsData'];}if(d[H(-0x1d4,-0x223)]||d[H(-0x189,-0x1be)]||d[H(-0x11b,-0x11a)]||d[H(-0x18c,-0x1d3)]){this[H(-0x16a,-0x177)](f);f[H(-0x201,-0x19a)]=d[H(-0x1d4,-0x1f3)]||d[H(-0x189,-0x108)]||d[H(-0x11b,-0x105)]||d[H(-0x18c,-0x1eb)];}if(d['dependencies']||d[H(-0x1e4,-0x255)]){this[H(-0x16a,-0x1a6)](g);g[H(-0x201,-0x267)]=d[H(-0x123,-0xb3)]||d[H(-0x1e4,-0x22f)];}if(d[H(-0x142,-0x18b)]||d[H(-0x1e1,-0x25a)]){this[H(-0x16a,-0x1c5)](i);i[H(-0x201,-0x23b)]=d[H(-0x142,-0x109)]||d[H(-0x1e1,-0x224)];}if(d['assignments']||d[H(-0x1a7,-0x129)]){this[H(-0x16a,-0x1e8)](h);h[H(-0x201,-0x248)]=d['assignments']||d[H(-0x1a7,-0x1ad)];}if(d['project']){if(this[H(-0x170,-0x1d2)]&&this[H(-0x14c,-0x177)]){this[H(-0x1b9,-0x20f)]({'recordsUnlinked':()=>{this[I(0x52d,0x526)]();this[I(0x4f9,0x4c9)](d['project']);function I(a,b){return H(a-0x6f5,b);}this[I(0x5c7,0x5fb)]();},'once':!![]});}else{this[H(-0x1fc,-0x1d7)](d['project']);}}if(globalThis[H(-0x1ba,-0x210)])console[H(-0x1a3,-0x1c6)](H(-0x1c9,-0x19a));const k=await this[H(-0x1c6,-0x1f9)]();this[H(-0x1a8,-0x1ea)]=![];return k;}[q(0x1e9,0x223)](){function J(a,b){return q(b-0x38e,a);}const {storage:d}=this['assignmentStore']||{};if(d){d[J(0x5f3,0x5cd)]({'property':J(0x540,0x551),'unique':![]});d[J(0x59b,0x5cd)]({'property':J(0x4e1,0x4f7),'unique':![]});}}[q(0x1c7,0x1ed)](){function K(a,b){return q(b-0x3fd,a);}this[K(0x625,0x5d5)]?.[K(0x5dc,0x634)]?.['invalidateIndices']();}['removeTemporaryIndices'](){const {storage:d}=this[L(0x372,0x3da)];d[L(0x3e5,0x420)](L(0x3af,0x3c5));function L(a,b){return q(b-0x202,a);}d[L(0x484,0x420)](L(0x362,0x36b));}async[q(0x223,0x1b7)](d){const e=this;e[M(-0xc8,-0xef)]=!![];e[M(-0xb8,-0x111)]();function M(a,b){return q(a- -0x2a1,b);}await delay(0x0);if(e[M(-0xcc,-0x13b)]){d();return;}e[M(-0xb5,-0x66)](M(-0xfc,-0x138));e['trigger'](M(-0x87,-0x92),{'isCalculated':![]});await delay(0x0);if(e[M(-0xcc,-0x56)]){d();return;}e[M(-0xc8,-0x13e)]=![];e[M(-0xf1,-0x125)]['forEach'](g=>g[M(-0x88,-0x9c)]());if(e['isRepopulatingStores']){e[M(-0x131,-0xde)][M(-0x14c,-0xeb)]();}else{e['trigger'](M(-0x10c,-0x94));e[M(-0xd0,-0xa3)](!![]);}const f=await e['replica']['commitAsync']();if(e[M(-0xcc,-0x14b)]){d();return;}e[M(-0xf1,-0x105)][M(-0xd1,-0x77)](g=>g['resumeFilterOnUpdate']());d(f);e[M(-0x6e,-0xdd)]=null;e[M(-0xb5,-0xc4)](M(-0x6f,-0xbe));e[M(-0xbf,-0x115)]();}[q(0x1ea,0x1ec)](){function N(a,b){return q(b- -0x18e,a);}if(this['delayedCalculationPromise']){return this[N(0x46,0xa5)];}if(this['delayCalculation']!==![]){return this[N(0x2e,0xa5)]=new Promise(d=>this['internalDelayCalculation'](d)[N(-0x26,0x50)]());}}async[q(0x183,0x120)](){const d=await this[O(0x1ed,0x238)]();function O(a,b){return q(a-0x71,b);}if(!this[O(0x246,0x257)])this[O(0x25d,0x216)]('load');return d;}['initializeStm'](){const d=this[P(0xf5,0x15a)]||_enc;if(!(this[P(0x146,0x15d)]instanceof _enc))this[P(0x152,0x15d)]=d['new']({'disabled':!![]},this[P(0x194,0x15d)]);this[P(0x1c4,0x1ac)](this[P(0xf6,0x15d)]);function P(a,b){return q(b- -0x2e,a);}if(this['resetUndoRedoQueuesAfterLoad']){this['ion']({'load':this['resetStmQueue'],'thisObj':this});}this[P(0x166,0x162)]({'beforeCommit':this[P(0x21a,0x1e1)],'commitFinalized':this['onCommitFinalization'],'commitRejected':this[P(0x1c5,0x197)],'thisObj':this});}[q(0x197,0x1a6)]({transactionResult:d,silenceCommit:e}){const f=new Map();for(const h of d[Q(0x54,0xd3)][Q(-0x22,-0x7b)]()){const i=h[Q(0x88,0xcd)];const {field:j}=i;if(h[Q(0x79,0xe3)]()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i[Q(0xb2,0xca)];const l=k[Q(0x73,0xed)];if(l&&!h['previous']&&!d[Q(0x5c,-0x24)][Q(0xae,0xaf)](k['$$'])?.[Q(0xc4,0x136)]){if(!f[Q(0x17,-0x26)](l)){f[Q(0xb9,0xfc)](l,new Set([k]));}else if(!f[Q(0x3c,-0x42)](l)[Q(0x17,-0x4a)](k)){f[Q(0x3c,0x97)](l)[Q(0x81,0xe9)](k);}}}this[Q(0xf,-0x41)]?.();function Q(a,b){return q(a- -0x172,b);}const g=Array['from'](f['keys']())[Q(0x1c,-0x1e)]((m,n)=>m[Q(0x42,0x5e)]-n[Q(0x42,0xaa)]);g[Q(0x5e,0x78)](m=>m['remove'](f['get'](m)));this[Q(0xa9,0xcf)]?.(e);if(e){this['dataStores'][Q(0x5e,0xd2)](m=>m[Q(0xbe,0xf6)]());}}['onCommitRejection'](d){function R(a,b){return q(b- -0x18e,a);}if(this[R(0x56,0x68)]){this[R(-0x5c,-0x27)][R(-0x22,0x41)]++;this['isRestoringData']=!![];this[R(0x1c,0x9)](d);this[R(0x81,0x33)]=![];this['replica']['isWritingPreviousData']--;}else{this[R(0x6d,0x8)]();}}[q(0x20f,0x270)](){const {stm:d}=this;function S(a,b){return q(b- -0x4b,a);}this[S(0x1f3,0x1ab)]=d[S(0x163,0x12e)];if(d[S(0x192,0x132)]&&d[S(0x110,0x170)]){this[S(0xcd,0x12c)]=!![];d[S(0x188,0x170)]=![];}}['onCommitFinalization'](){function T(a,b){return q(b-0x346,a);}if(this[T(0x43d,0x4bd)]){this[T(0x513,0x4d1)][T(0x4b4,0x501)]=!![];this['_stmAutoRecord']=![];}}async['undo'](){function U(a,b){return q(a-0x3d9,b);}await this[U(0x564,0x558)][U(0x5d8,0x644)]();if(this[U(0x52f,0x4ad)]){await this[U(0x5bd,0x59c)](U(0x5ec,0x582),![]);}}async[q(0x176,0x120)](){function V(a,b){return q(b-0x93,a);}await this[V(0x1d3,0x21e)]['redo']();if(this[V(0x1a8,0x1e9)]){await this[V(0x22d,0x277)](V(0x31f,0x2a6),![]);}}['onSTMRestoringStart']({source:d}){function W(a,b){return q(b- -0x2b4,a);}if(this[W(-0x15b,-0x14d)])this[W(-0x17d,-0x14d)][W(-0x6b,-0xe5)]++;}async[q(0x23a,0x1df)](d){if(this[X(-0xe,-0x32)])this[X(-0xe,-0x2b)]['isWritingPreviousData']--;this[X(-0xf,-0x1e)]=!![];d[X(0xc8,0xf5)]();this[X(-0x1f,0x26)]=!![];function X(a,b){return q(a- -0x175,b);}await this[X(0x7,0xa)]();this[X(-0x1f,0xc)]=![];this[X(-0xf,-0x5b)]=![];if(!this[X(0x60,0x6f)]){d[X(-0x23,-0x44)]();this[X(0x77,0xf2)](X(0x9e,0x106));}}async[q(0x23b,0x225)]({source:d}){function Y(a,b){return q(a-0x17a,b);}if(d[Y(0x397,0x36f)]){await this['queue'](()=>this[Y(0x3b4,0x3a4)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(0x239,0x260)](d,e,f){function Z(a,b){return q(a-0x2dd,b);}if(this[Z(0x4d8,0x4bf)]){this[Z(0x490,0x44c)](d);this[Z(0x46d,0x4de)]({'name':d,'repopulateReplica':{'fn':async()=>{function a0(a,b){return Z(a-0xe9,b);}await this['commitAsync']();if(!this[a0(0x59b,0x593)]){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(0x1fb,0x17c)](){function a1(a,b){return q(a-0x142,b);}return Boolean(this[a1(0x343,0x333)]?.[a1(0x295,0x295)]);}[q(0x1df,0x1e5)](d){function a2(a,b){return q(b-0x329,a);}const e=this;if(e['repopulateOnDataset']&&d[a2(0x578,0x533)]&&!d[a2(0x458,0x4ab)]){e[a2(0x439,0x490)]?.[a2(0x48b,0x46c)][a2(0x575,0x565)]();if(!e['repopulateStores'])e['repopulateStores']=new Set();e['repopulateStores'][a2(0x561,0x51c)](d);e[a2(0x512,0x499)]();}}[q(0x170,0x1f0)](){const d=this;function a3(a,b){return q(a-0x376,b);}if(d[a3(0x54f,0x4e3)]){return;}const {dataStores:e,replica:f,calendarManagerStore:g}=d;if(f){d['unlinkStoreRecords'](...e);d[a3(0x54c,0x581)](d);d['unlinkRecord'](d[a3(0x4fc,0x546)]);d[a3(0x562,0x5e2)](a3(0x50b,0x4b1));f[a3(0x4d1,0x478)]();}else{d[a3(0x562,0x50f)]('recordsUnlinked');}const h=d[a3(0x4dd,0x4d0)]=d[a3(0x4d8,0x549)]();h['addEntities']([d,d[a3(0x4fc,0x576)]]);const i=new Map();for(const j of e){i[a3(0x5a1,0x5d6)](j,j[a3(0x52b,0x570)](d,!![]));}if(i[a3(0x524,0x52c)](g)<g[a3(0x580,0x5de)]){d[a3(0x4c2,0x44b)][a3(0x52b,0x5a3)](d,!![]);}if(f){h[a3(0x4b9,0x43e)][a3(0x522,0x4e4)](f['baseRevision']['failedResolutionReferences']);}d['repopulateStores']['clear']();d['trigger'](a3(0x4e6,0x4dd));}[q(0x178,0x198)](){function a4(a,b){return q(a-0x312,b);}if(this[a4(0x482,0x4df)]['isPending']&&!this['isDelayingCalculation']){this[a4(0x482,0x400)]['now']();return this[a4(0x479,0x40e)][a4(0x48e,0x509)]();}return null;}['unlinkRecord'](d){function a5(a,b){return q(b- -0x3a8,a);}d[a5(-0x142,-0x1a4)]();}[q(0x16d,0x121)](...d){function a6(a,b){return q(a-0x17,b);}d[a6(0x1e7,0x1fc)](e=>{function a7(a,b){return a6(a-0xc2,b);}if(!this['repopulateStores'][a7(0x262,0x2e3)](e)||e['syncDataOnLoad']){e[a7(0x248,0x2b6)](f=>{function a8(a,b){return a7(a- -0x369,b);}this[a8(-0xba,-0xbf)](f);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(0x214,0x1f9)](){function a9(a,b){return q(a-0x190,b);}return this[a9(0x2f7,0x284)];}async[q(0x17b,0x1cd)](d){this[aa(0xa,-0x20)][aa(0x7f,0x9)](d);function aa(a,b){return q(a- -0x174,b);}return this['commitAsync']();}async[q(0x1e7,0x1d1)](d){this[ab(0x0,-0x6e)][ab(0x75,0x90)](d);function ab(a,b){return q(a- -0x17e,b);}return this[ab(-0x2,0x46)]();}[q(0x244,0x230)](d){function ac(a,b){return q(b-0xda,a);}this[ac(0x1f6,0x258)]['add'](d);}async['removeEvents'](d){this[ad(0xc9,0x63)][ad(0xa6,0xb1)](d);function ad(a,b){return q(b- -0x11b,a);}return this[ad(0x31,0x61)]();}[q(0x227,0x20c)](d){function ae(a,b){return q(b- -0x82,a);}this['eventStore'][ae(0x12e,0x14a)](d);}async['removeEvent'](d){this[af(0x218,0x1ad)][af(0x266,0x231)](d);function af(a,b){return q(a-0x9a,b);}return this[af(0x216,0x1d9)]();}['getStm'](){function ag(a,b){return q(a- -0x1bb,b);}return this[ag(-0x30,0x38)];}[q(0x1da,0x1ff)](d){function ah(a,b){return q(b- -0x81,a);}this[ah(0x114,0x10a)]=d;this[ah(0x111,0x10a)][ah(0xac,0x10f)]({'restoringStart':this[ah(0x18b,0x16d)],'restoringStop':this[ah(0x177,0x1ba)],'thisObj':this});}[q(0x163,0xe1)](){return this;}*['calculateEffectiveDataOrVisualCalendar'](d){let e=yield this['$'][ai(0x269,0x2b8)];if(e){yield e['$'][ai(0x2cd,0x296)];}else{e=this[ai(0x224,0x1ef)];}function ai(a,b){return q(a-0x9e,b);}return e;}[q(0x16c,0x1b8)](d){const e=this[aj(0x148,0x1be)];if(e&&this[aj(0x15c,0x1cb)][aj(0x214,0x1ab)](e)){this[aj(0x220,0x1cb)]['removeStore'](e);e[aj(0x23d,0x231)](this);this[aj(0x250,0x25f)](e);const f=e[aj(0x190,0x1b2)];f[aj(0x194,0x210)](g=>{const h=g[ak(0xbc,0x107)];function ak(a,b){return aj(b,a- -0x147);}if(h){const i=d[ak(0x3b,0x74)](h['id']);if(i){g[ak(0xbc,0x99)]=i;f[ak(0x7d,0xe5)](g);}}});e[aj(0x29d,0x21d)]();}function aj(a,b){return q(b-0x40,a);}if(!d||!(d instanceof _end)){const g=d?.[aj(0x25f,0x268)]||this[aj(0x220,0x1de)];this[aj(0x1cb,0x1be)]=new g(_enf[aj(0x265,0x1f8)]({'modelClass':this['eventModelClass'],'project':this,'stm':this[aj(0x1d3,0x1cb)]},d||{}));}else{this[aj(0x171,0x1be)]=d;d[aj(0x238,0x1e3)](this);this[aj(0x1ba,0x1cb)][aj(0x278,0x22d)](d);if(d[aj(0x1fa,0x1fc)]&&d['rootNode']!==this){this[aj(0x235,0x1ca)](d[aj(0x255,0x23c)][aj(0x1f2,0x1f9)]||[]);d[aj(0x1ea,0x23c)]=this;}else{d[aj(0x179,0x1f5)](this);}}this[aj(0x218,0x1a4)](this[aj(0x1ae,0x1be)]);this[aj(0x1c6,0x22c)](aj(0x202,0x1ff),{'store':this[aj(0x194,0x1be)]});}[q(0x15e,0x148)](d){const e=this[al(0x579,0x55e)];if(e&&this[al(0x4d2,0x54a)]['hasStore'](e)){this[al(0x4df,0x54a)][al(0x626,0x5b3)](e);this['detachStore'](e);}function al(a,b){return q(b-0x3bf,a);}if(!d||!(d instanceof _end)){const f=d?.[al(0x62c,0x5e7)]||this[al(0x52d,0x583)];this[al(0x4fb,0x55e)]=new f(_enf[al(0x5a2,0x577)]({'modelClass':this[al(0x55e,0x516)],'project':this,'stm':this[al(0x515,0x54a)]},d||{}));}else{this[al(0x512,0x55e)]=d;d[al(0x518,0x562)](this);this[al(0x549,0x54a)][al(0x530,0x5ac)](d);d[al(0x52a,0x574)](this);}this[al(0x517,0x523)](this[al(0x4e8,0x55e)]);this[al(0x5b5,0x5ab)](al(0x585,0x5f4),{'store':this['dependencyStore']});}[q(0x16e,0xff)](d){const e=this[am(0xbc,0x80)];function am(a,b){return q(a- -0x15b,b);}if(e&&this['stm'][am(0x10,0x55)](e)){this[am(0x30,0x25)]['removeStore'](e);e[am(0x96,0x8a)](this);this[am(0xc4,0xae)](e);const f=e[am(0x17,0x36)];f[am(0x75,0x8a)](g=>{const h=g[an(0x5c,0x2)];function an(a,b){return am(a-0x4e,b);}if(h){const i=d[an(0x35,0x23)](h['id']);if(i){g[an(0x5c,-0x17)]=i;f[an(0x77,0x5)](g);}}});e[am(0xc7,0xa1)]();}if(!d||!(d instanceof _end)){const g=d?.[am(0xcd,0x97)]||this[am(0x3d,0x71)];this[am(0xbc,0xdd)]=new g(_enf[am(0x5d,0x86)]({'modelClass':this[am(0x36,0x1f)],'project':this,'stm':this['stm']},d||{}));}else{this['resourceStore']=d;d['setProject'](this);this[am(0x30,0x99)][am(0x92,0xf6)](d);d[am(0x5a,0x65)](this);}this['attachStore'](this[am(0xbc,0x94)]);this[am(0x91,0xfb)](am(0xaa,0x97),{'store':this[am(0xbc,0x12c)]});}['setAssignmentStore'](d){const e=this[ao(0x0,-0x19)];if(e&&this['stm'][ao(-0x29,-0x86)](e)){this['stm'][ao(0x7d,0x3)](e);e[ao(-0x6c,0x0)](this);this[ao(0x19,0x2e)](e);}if(!d||!(d instanceof _end)){const f=d?.[ao(-0x2a,0x37)]||this[ao(-0x77,-0x11)];this[ao(0x66,-0x19)]=new f(_enf[ao(0x44,-0x39)]({'modelClass':this['assignmentModelClass'],'project':this,'stm':this[ao(-0xd,-0x66)]},d||{}));}else{this[ao(0x52,-0x19)]=d;d['setProject'](this);this[ao(-0x77,-0x66)]['addStore'](d);d[ao(0x3c,-0x3c)](this);}this[ao(-0xf6,-0x77)]&&this[ao(-0x6a,-0x8)]();this[ao(-0xc6,-0x8d)](this[ao(-0x24,-0x19)]);function ao(a,b){return q(b- -0x1f1,a);}this[ao(-0x2a,-0x5)]('assignmentStoreChange',{'store':this['assignmentStore']});}[q(0x1fe,0x181)](d){const e=this[ap(0x4e8,0x4e9)];if(e&&this[ap(0x527,0x530)][ap(0x507,0x513)](e)){this['stm']['removeStore'](e);this[ap(0x5bb,0x564)](e);}if(!d||!(d instanceof _end)){const f=d?.[ap(0x5c4,0x5a2)]||this[ap(0x54e,0x5bb)];this['calendarManagerStore']=new f(_enf[ap(0x554,0x527)]({'modelClass':this[ap(0x4fc,0x4fc)],'project':this,'stm':this[ap(0x527,0x589)]},d||{}));}else{this[ap(0x4e8,0x55e)]=d;if(d){d[ap(0x53f,0x4c0)](this);this[ap(0x527,0x4a5)][ap(0x589,0x5d1)](d);d[ap(0x551,0x56e)](this);}}this['attachStore'](this[ap(0x4e8,0x48e)]);function ap(a,b){return q(a-0x39c,b);}this[ap(0x588,0x5c8)](ap(0x4e6,0x515),{'store':this[ap(0x4e8,0x4d0)]});}async[q(0x1db,0x180)](...d){return!![];}['rejectStmTransaction'](d){function aq(a,b){return q(b- -0x1fc,a);}d=d||this[aq(-0xb,-0x71)];if(d[aq(-0x7b,-0x2e)]){if(d[aq(-0x25,-0x2e)][aq(-0xcd,-0x9b)]){d[aq(0x1c,-0x58)](e=>e[aq(0x52,0x2d)]());d['rejectTransaction']();d['forEachStore'](e=>e[aq(0x9c,0x25)]());}else{d['stopTransaction']();}}}async[q(0x241,0x2b7)](d){const f=this[ar(-0x172,-0x13c)],g=f[ar(-0x132,-0x14e)],h=f[ar(-0x156,-0x10c)];if(g){f['enable']();}else{if(h){f[ar(-0xd2,-0x10c)]=![];}if(f[ar(-0xd7,-0x14a)]){f[ar(-0xde,-0x11a)]();}}f[ar(-0x33,-0x89)]();function ar(a,b){return q(b- -0x2c7,a);}d();let i=!![];try{const j=await this['commitAsync']();i=!j[ar(-0xa2,-0xd0)];}catch(k){if(!/cycle/i[ar(-0x13b,-0x127)](k))throw k;i=![];}if(i){f[ar(-0x15a,-0x11a)]();if(g){f[ar(-0x138,-0xbc)]();}}else{this[ar(-0x158,-0x160)][ar(-0xd3,-0x148)]();this['rejectStmTransaction'](f);}f[ar(-0x19e,-0x14e)]=g;f[ar(-0xf4,-0x10c)]=h;return i;}async[q(0x199,0x1d7)](d){function as(a,b){return q(a-0x175,b);}return this[as(0x364,0x37e)](()=>this[as(0x3b6,0x3fe)](d));}[q(0x1ef,0x1c4)](d,e){function at(a,b){return q(a- -0x2d6,b);}const f=this;return f[at(-0x192,-0x214)][at(-0xe7,-0x6c)](async function g(){return d();},e);}[q(0x19d,0x149)](){const {replica:d}=this;function au(a,b){return q(b- -0x257,a);}return this['delayEnteringReplica']||!this[au(0x16,-0x5c)]&&(d?!(d['dirty']&&(d[au(-0x78,-0x83)]()||d[au(-0x4e,-0x54)])):!![]);}[q(0x1cd,0x24a)](d){function av(a,b){return q(a-0x253,b);}const e=[];if(this['calendar']===d)e[av(0x398,0x34f)](this);e[av(0x398,0x40e)](...this[av(0x3d1,0x3c7)][av(0x3ee,0x3bf)](f=>f[av(0x41e,0x43c)]===d,!![]));e['push'](...this[av(0x46a,0x427)][av(0x3ee,0x394)](f=>f[av(0x41e,0x449)]===d,!![]));if(d[av(0x40c,0x456)]?.['length']){for(const f of d[av(0x40c,0x423)]){e[av(0x398,0x337)](...this[av(0x420,0x461)](f));}}return e;}[q(0x1af,0x186)](d){function aw(a,b){return q(b- -0x222,a);}const e=this['getCalendarConsumers'](d);for(const f of e){f[aw(-0x82,-0x57)]=null;}}static get['defaultConfig'](){return{'assignmentsData':null,'calendarsData':null,'dependenciesData':null,'eventsData':null,'resourcesData':null,'eventStore':null,'resourceStore':null,'assignmentStore':null,'dependencyStore':null,'calendarManagerStore':null,'eventModelClass':null,'resourceModelClass':null,'assignmentModelClass':null,'dependencyModelClass':null,'calendarModelClass':null,'repopulateOnDataset':!![]};}static get[q(0x1a7,0x1be)](){return{'repopulateReplica':0xa};}}c[q(0x1e8,0x203)]=!![];__decorate([model_field({'type':'boolean','defaultValue':!![]})],c[q(0x240,0x287)],q(0x192,0x1cf),void 0x0);__decorate([model_field({'type':q(0x14f,0x1be),'defaultValue':![]})],c['prototype'],q(0x1f0,0x1f3),void 0x0);__decorate([model_field({'type':q(0x14f,0x1a6),'defaultValue':![]})],c[q(0x240,0x1d4)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);function q(a,b){return _enb(a- -0x23,b);}__decorate([model_field({'type':q(0x20e,0x24f),'defaultValue':Direction[q(0x185,0x140)]},{'sync':!![]})],c[q(0x240,0x1e5)],'direction',void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
1
+ (function(a,b){const c=a();function o(a,b){return _enb(b- -0x84,a);}while(!![]){try{const d=-parseInt(o(-0x23,0x1d))/0x1*(parseInt(o(0x144,0x104))/0x2)+-parseInt(o(0x91,0x53))/0x3+-parseInt(o(0x186,0x109))/0x4*(-parseInt(o(0xa4,0x56))/0x5)+-parseInt(o(0x127,0x10a))/0x6+parseInt(o(0x4a,0x68))/0x7*(parseInt(o(-0x35,0x41))/0x8)+parseInt(o(0x60,0x38))/0x9+parseInt(o(0xc5,0xdc))/0xa*(parseInt(o(-0x49,0x2d))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2cd92));var __decorate=function(a,b,e,f){var g=arguments[p(0x34e,0x348)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===p(0x34b,0x30d)&&typeof Reflect[p(0x2e9,0x2a3)]==='function')h=Reflect[p(0x2e9,0x2d2)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function p(a,b){return _enb(a-0x1f7,b);}return g>0x3&&h&&Object[p(0x2e5,0x285)](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';import{delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import _end from'@bryntum/core-thin/lib/data/Store.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x9f;let f=c[d];return f;};return _enb(a,b);}import _ene from'@bryntum/core-thin/lib/helper/IdHelper.js';function _ena(){const av=['delayedCalculationPromise','acceptChanges','loadInlineData','calendarsData','removeRejectedRecordsAdd','construct','direction','repopulateOnDataset','unlinkStoreRecords','enable','defaultCalendar','onSTMRestoringStop','disable','startTransaction','prototype','unScheduleAutoCommit','children','redo','joinRecordsToProject','repopulateReplica','subEventsIterable','push','keys','replica','addEntities','setProject','project','hasStore','getDefaultResourceModelClass','isDestroyed','storePopulation','usingSyncDataOnLoad','setDependencyStore','skipNonWorkingTimeWhenSchedulingManually','getDefaultDependencyModelClass','commitAsync','autoRecord','trigger','isPending','totalCount','%cInitializing\x20project','repopulateStore','appendChild','assignmentStoreClass','dirty','calendar','includeEvent','delayable','await','addIndex','log','has','stopTransaction','rootNode','rejectedWith','dataStores','addEntity','from','isChainedFromProject','resources','resetStmQueue','hasDataInStores','addStore','_stmRestoringInProgress','undo','getGraph','resourceModelClass','_stmAutoRecord','onCommitInitialization','removeIndex','_enableProgressNotifications','remove','eventModelClass','dependencies','hasPendingAutoCommit','queue','destroy','writeFailedResolutionInfo','getDefaultCalendarManagerStoreClass','resumeChangeTracking','tasks','onPropagationProgressNotification','dependencyStoreChange','object','disabled','deferUntilRepopulationIfNeeded','length','Forward','suspendChangeTracking','storage','_stmDisabled','enableProgressNotifications','resourceStoreClass','stateRestoringDone','Populating\x20project','191970mOztZL','reject','excludeEvent','query','syncDataOnLoad','event','delayEnteringReplica','applyConfigs','suspendFilterOnUpdate','calendarManagerStore','forEachStore','getDefaultCalendarModelClass','setCalendarManagerStore','dependencyStore','calculateProject','removeStore','setStm','eventStoreChange','now','setAssignmentStore','addEvent','delete','removeEvent','hasSubEvents','Default','getEventStore','detachListeners','generateId','getReplicaConfig','eventStoreClass','stmClass','isCommitting','events','boolean','assign','clear','timeEnd','isRepopulatingStores','then','get','482rdJsVm','commitLoad','version','data','entries','4380wHSfic','998178ElaFhB','baseRevision','delayCalculation','onCommitRejection','call','assignments','activeTransaction','resumeFilterOnUpdate','isLoadingInlineData','revisionsEnabled','_isCommittingAfterStmRestore','dependencyModelClass','forEach','handleSTMRestoringStop','repopulateStores','ion','stm','beginBatch','time','isDelayingCalculation','previous','tasksData','getDefaultAssignmentModelClass','847ZohXom','values','unspecifiedTimeIsWorking','calendarManagerStoreChange','string','isRestoringData','cycleEffectClass','transaction','graph','hasChangesInStores','resourceStore','isWritingPreviousData','eventsData','removeEvents','set','resetUndoRedoQueuesAfterLoad','77SZRDLu','doDestroy','load','failedResolutionReferences','getDefaultEventModelClass','unjoinRecordsFromProject','dependencyStoreClass','new','scheduleDelayedCalculation','getDefaultAssignmentStoreClass','getType','2249775BTdGVQ','recordsUnlinked','defaultConfig','invalidateIndices','assignmentStore','warn','ProjectModelQueue','invalidateTemporaryIndices','hasChanges','47912msDqzL','isRepopulating','getById','setEventStore','unlink','eventStore','getCalendarConsumers','refresh','onSTMRestoringStart','sort','assignmentModelClass','removeTemporaryIndices','isRecording','assignmentStoreChange','ignoreInitialCommitComputationCycles','getDefaultCycleEffectClass','applyProjectResponse','ignore','698643hDijun','DEBUG','storeClass','745INBDjy','rejectTransaction','isEngineReady','resource','calendarModelClass','traverse','onCommitFinalization','enterReplica','initializeStm','getDefaultResourceStoreClass','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','some','assignmentsData','detachStore','tree','setupTemporaryIndices','internalDelayCalculation','createReplica','280iCqwLx','removalOrder','defineProperty','CurrentOrProposedOrPrevious','calendars','add','decorate','calendarManagerStoreClass','resourcesData','getDefaultDependencyStoreClass','_queue','setResourceStore','unlinkCalendarConsumers','attachStore','rejectStmTransaction','isShadow','tryPropagateWithChangesQueued','getStm','dependenciesData','assignmentsForRemoval','isInitialCommitPerformed'];_ena=function(){return av;};return _ena();}import _enf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{IsChronoModelSymbol,model_field,ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{CycleEffect,EngineReplica}from'../../../chrono/Replica.js';import{DurationConverterMixin}from'../../../scheduling/DurationConverterMixin.js';import{Direction,ProjectType}from'../../../scheduling/Types.js';import _eng from'../../../util/Queue.js';import{ChronoAssignmentStoreMixin}from'../../store/ChronoAssignmentStoreMixin.js';import{ChronoCalendarManagerStoreMixin}from'../../store/ChronoCalendarManagerStoreMixin.js';import{ChronoDependencyStoreMixin}from'../../store/ChronoDependencyStoreMixin.js';import{ChronoEventStoreMixin}from'../../store/ChronoEventStoreMixin.js';import{ChronoResourceStoreMixin}from'../../store/ChronoResourceStoreMixin.js';import{BaseAssignmentMixin}from'./BaseAssignmentMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';import{BaseDependencyMixin}from'./BaseDependencyMixin.js';import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';import{ChronoAbstractProjectMixin}from'./ChronoAbstractProjectMixin.js';import{CanCombineCalendarsMixin,HasCalendarMixin}from'./HasCalendarMixin.js';import{SchedulerBasicEvent}from'./SchedulerBasicEvent.js';import{HasChildrenMixin}from'./HasChildrenMixin.js';class SchedulerBasicProjectMixin extends MixinAny([ChronoAbstractProjectMixin,BaseEventMixin,HasChildrenMixin,HasCalendarMixin,DurationConverterMixin,CanCombineCalendarsMixin],a=>{const b=a[q(-0xce,-0x6a)];class c extends a{[q(-0xd7,-0xf6)](d={}){d[r(-0x1ee,-0x183)]=d[r(-0x1ee,-0x214)]!==![];d[r(-0x222,-0x1d8)]=d[r(-0x222,-0x284)]||d[r(-0x1ee,-0x1c1)]!==![];this['_queue']=new _eng(_ene[r(-0x203,-0x194)](r(-0x2bc,-0x32e)));if(!('expanded'in d)){d['expanded']=!![];}if(d['delayCalculation']){this[r(-0x218,-0x243)]=!![];}if(!(r(-0x25c,-0x1de)in d)){d[r(-0x25c,-0x284)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d['events'];delete d['dependencies'];delete d['resources'];delete d[r(-0x1eb,-0x20b)];delete d[r(-0x28e,-0x2b6)];b[r(-0x278,-0x29c)][r(-0x1ec,-0x231)](this,d);this[r(-0x1e2,-0x23b)]=new Set();this[r(-0x2ab,-0x2bb)]=r(-0x2ab,-0x317)in d?d[r(-0x2ab,-0x27c)]:![];if(this[r(-0x2ab,-0x263)]){console[r(-0x2bd,-0x319)](r(-0x29a,-0x29c));}if(!this[r(-0x235,-0x284)])this[r(-0x235,-0x1b8)]=this[r(-0x2c9,-0x28b)]();if(!this[r(-0x201,-0x22b)])this[r(-0x201,-0x1dd)]=this['getDefaultEventStoreClass']();if(!this[r(-0x1e5,-0x215)])this[r(-0x1e5,-0x1ba)]=this[r(-0x25b,-0x1e5)]();if(!this[r(-0x2c7,-0x2ea)])this[r(-0x2c7,-0x28d)]=this[r(-0x289,-0x2d1)]();if(!this[r(-0x23b,-0x25c)])this['resourceModelClass']=this[r(-0x261,-0x209)]();function r(a,b){return q(a- -0x1a1,b);}if(!this[r(-0x221,-0x25a)])this['resourceStoreClass']=this[r(-0x29b,-0x257)]();if(!this[r(-0x2af,-0x2fa)])this[r(-0x2af,-0x32c)]=this[r(-0x2de,-0x360)]();if(!this['assignmentStoreClass'])this[r(-0x252,-0x214)]=this[r(-0x2c4,-0x274)]();if(!this[r(-0x2a0,-0x2e1)])this[r(-0x2a0,-0x321)]=this['getDefaultCalendarModelClass']();if(!this[r(-0x28b,-0x2ee)])this['calendarManagerStoreClass']=this[r(-0x22f,-0x26b)]();if(!this[r(-0x2d7,-0x2e1)])this[r(-0x2d7,-0x33d)]=this[r(-0x2aa,-0x258)]();this['initializeStm']();this[r(-0x273,-0x256)]=new this['calendarModelClass']({'name':r(-0x206,-0x1ed),'unspecifiedTimeIsWorking':this[r(-0x2db,-0x32d)]});this[r(-0x273,-0x29f)][r(-0x263,-0x1fe)]=this;if(!this['delayEnteringReplica'])this[r(-0x29d,-0x299)](![]);this[r(-0x212,-0x273)](this[r(-0x215,-0x25c)]);this[r(-0x2b6,-0x32b)](this[r(-0x2b4,-0x240)]);this[r(-0x25d,-0x1eb)](this['dependencyStore']);this['setResourceStore'](this['resourceStore']);this[r(-0x20b,-0x26e)](this[r(-0x2be,-0x302)]);const j=Boolean(this[r(-0x27a,-0x29a)]||this[r(-0x2d1,-0x2b4)]||this[r(-0x280,-0x299)]||this[r(-0x28a,-0x226)]||this[r(-0x298,-0x224)]||i||e||f||g||h);if(j){this[r(-0x27b,-0x2de)]({'calendarsData':this[r(-0x27a,-0x23b)],'eventsData':this[r(-0x2d1,-0x31d)],'dependenciesData':this[r(-0x280,-0x2ad)],'resourcesData':this[r(-0x28a,-0x2fa)],'assignmentsData':this[r(-0x298,-0x21a)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(-0x27a,-0x2ea)];delete this[r(-0x2d1,-0x309)];delete this[r(-0x280,-0x241)];delete this[r(-0x28a,-0x2ea)];delete this[r(-0x298,-0x218)];}else{if(this[r(-0x1ee,-0x1f1)]&&this[r(-0x240,-0x26c)])this['scheduleDelayedCalculation']();}}get[q(-0xa5,-0x46)](){function s(a,b){return q(b-0x49,a);}return[this[s(-0x51,-0x2b)],this[s(-0xbc,-0xe9)],this['eventStore'],this[s(0x28,-0x27)],this['assignmentStore']];}get[q(-0x9f,-0x3a)](){function t(a,b){return q(a- -0x7d,b);}return this[t(-0x122,-0xfe)][t(-0x175,-0x1c3)](d=>d[t(-0x132,-0x19d)]>0x0);}get[q(-0x133,-0xda)](){function u(a,b){return q(a-0xdc,b);}return this[u(0x37,-0x3b)]['some'](d=>d[u(-0x3d,-0x87)]);}['enterReplica'](d){const e=this;if(!e[v(-0x1fe,-0x22b)]){e['replica']=e[v(-0x25e,-0x258)]();e[v(-0x25d,-0x22b)]['addEntity'](e);e[v(-0x1e1,-0x22b)][v(-0x277,-0x20a)](e[v(-0x25f,-0x238)]);e[v(-0x23b,-0x21d)]('graphReady');}function v(a,b){return q(b- -0x166,a);}if(d&&!e[v(-0x1d1,-0x1be)]){e[v(-0x1fd,-0x20b)]['forEach'](f=>{if(f[w(0xbe,0xdc)]){return;}function w(a,b){return v(a,b-0x2e4);}f[w(0x111,0x13b)](g=>{function x(a,b){return w(a,b-0x90);}!g[x(0x14f,0xda)]&&g['joinProject']();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(-0xa0,-0x61)](){function y(a,b){return q(a-0x65,b);}const d=this['stm'][y(-0x23,-0x7c)];this[y(0x26,0x31)][y(-0x6b,-0x4d)]();this[y(0x26,0x16)]['resetQueue']();if(!d){this[y(0x26,0x91)]['enable']();}}[q(-0x12b,-0xe3)](){function z(a,b){return q(b-0xbf,a);}const d=this;d[z(0x8d,0x1a)][z(0x76,0x7c)](e=>e?.[z(0xa5,0x2f)]());d[z(-0x46,-0x13)]?.[z(-0x19,0x2f)]();d[z(-0x50,-0x6)]?.['clear']();d[z(0xa,0x80)]?.['destroy']();b[z(-0x91,-0x6c)][z(0x96,0x74)](this);}[q(-0x61,-0xde)](){function A(a,b){return q(b-0x1a5,a);}return{'project':this,'schema':Schema[A(0x2a,0x80)](),'enableProgressNotifications':this[A(0x147,0x124)],'silenceInitialCommit':this['silenceInitialCommit'],'preventSilencingOnIssueResolve':this['preventSilencingOnIssueResolve'],'ignoreInitialCommitComputationCycles':this['ignoreInitialCommitComputationCycles'],'cycleEffectClass':this[A(0xeb,0x6f)],'onWriteDuringCommit':A(0xfd,0x9e),'readMode':ReadMode[A(0xe5,0xb7)]};}['createReplica'](){function B(a,b){return q(b-0x48e,a);}return EngineReplica['new'](this[B(0x42b,0x42d)]());}*[q(-0x66,-0x8)](){const d=this[C(0x46,0x97)]();if(d['isChainedFromProject']){return![];}function C(a,b){return q(a-0xaa,b);}return d['count']>0x0;}*[q(-0xc8,-0x14a)](){const d=this[D(0xf2,0x140)]();if(d[D(0xb4,0x61)]){return[];}function D(a,b){return q(a-0x156,b);}return d['getRange']();}[q(-0x122,-0x17d)](){return ProjectType['SchedulerBasic'];}get[q(-0x81,-0x83)](){function E(a,b){return q(b-0xe3,a);}return this[E(0x85,0x4d)];}set['enableProgressNotifications'](d){this['_enableProgressNotifications']=d;function F(a,b){return q(b-0x355,a);}if(this[F(0x2d0,0x290)])this['replica'][F(0x2f6,0x2d4)]=d;}[q(-0x109,-0x125)](){return CycleEffect;}[q(-0x128,-0x117)](){return SchedulerBasicEvent;}['getDefaultEventStoreClass'](){return ChronoEventStoreMixin;}[q(-0xba,-0xef)](){return BaseDependencyMixin;}['getDefaultDependencyStoreClass'](){return ChronoDependencyStoreMixin;}[q(-0xc0,-0x10b)](){return BaseResourceMixin;}[q(-0xfa,-0x16e)](){return ChronoResourceStoreMixin;}['getDefaultAssignmentModelClass'](){return BaseAssignmentMixin;}['getDefaultAssignmentStoreClass'](){return ChronoAssignmentStoreMixin;}[q(-0x72,-0xc5)](){return BaseCalendarMixin;}[q(-0x8e,-0xf4)](){return ChronoCalendarManagerStoreMixin;}[q(-0xbd,-0x107)](){function G(a,b){return q(a-0x3dc,b);}return[this[G(0x2c9,0x315)],this[G(0x2aa,0x2b3)],this[G(0x36c,0x373)],this['assignmentStore']][G(0x2e4,0x298)](d=>d['syncDataOnLoad']);}async[q(-0xda,-0x12a)](d){const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this['dataPropertyDeprecation']?.(d||{});if(!this[H(0x1e3,0x166)]){j?.[H(0x12d,0x176)]();}else{while(j?.[H(0x20f,0x1e5)]){await this[H(0x1a6,0x18a)]();}}if(j?.['enableProgressNotifications']&&!this[H(0x25e,0x1f6)]){await delay(0x0);await this['commitAsync']();j[H(0x1f1,0x1b8)]({'total':0x0,'remaining':0x0,'phase':H(0x184,0x185)});await delay(0x32);}this[H(0x199,0x166)]=![];this['isLoadingInlineData']=!![];if(globalThis[H(0xc7,0x13e)]){console[H(0x1d1,0x199)](H(0x116,0x18f),'font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em');console[H(0x18e,0x206)]('Time\x20to\x20visible');console['time'](H(0x20f,0x1c5));}if(this[H(0x273,0x1f6)]&&!this[H(0x177,0x167)]&&!this['usingSyncDataOnLoad']()){this[H(0x18e,0x11f)]();}if(d[H(0x1d2,0x156)]||d[H(0x118,0x16a)]){this[H(0x129,0x190)](e);e[H(0x205,0x1f1)]=d[H(0x1d1,0x156)]||d['calendarsData'];}if(d[H(0x1d3,0x1e6)]||d[H(0x212,0x1b7)]||d[H(0xb1,0x113)]||d[H(0xc4,0x105)]){this[H(0x157,0x190)](f);f[H(0x20c,0x1f1)]=d['events']||d[H(0x173,0x1b7)]||d[H(0x138,0x113)]||d[H(0xae,0x105)];}if(d[H(0x1b0,0x1b0)]||d[H(0xef,0x164)]){this[H(0x1ab,0x190)](g);g['data']=d[H(0x218,0x1b0)]||d[H(0x120,0x164)];}if(d[H(0x1c0,0x1a2)]||d[H(0x134,0x15a)]){this[H(0x123,0x190)](i);i['data']=d['resources']||d['resourcesData'];}if(d[H(0x1ac,0x1f9)]||d[H(0x193,0x14c)]){this[H(0x13c,0x190)](h);h[H(0x195,0x1f1)]=d[H(0x1e2,0x1f9)]||d[H(0x15b,0x14c)];}if(d[H(0x115,0x181)]){if(this[H(0x21b,0x1cc)]&&this[H(0x168,0x1a4)]){this[H(0x281,0x203)]({'recordsUnlinked':()=>{function I(a,b){return H(a,b- -0x1ae);}this[I(-0x70,0x11)]();this['applyProjectResponse'](d[I(0x3c,-0x2d)]);this[I(0x36,0x8)]();},'once':!![]});}else{this[H(0xfa,0x13b)](d[H(0x14f,0x181)]);}}if(globalThis['DEBUG'])console[H(0x253,0x1ea)](H(0x1b8,0x1c5));const k=await this[H(0x222,0x1ef)]();function H(a,b){return q(b-0x243,a);}this[H(0x195,0x1fc)]=![];return k;}[q(-0xf4,-0x135)](){const {storage:d}=this['assignmentStore']||{};function J(a,b){return q(b-0x300,a);}if(d){d[J(0x206,0x255)]({'property':J(0x275,0x288),'unique':![]});d['addIndex']({'property':J(0x235,0x200),'unique':![]});}}[q(-0x11a,-0xb2)](){function K(a,b){return q(b-0x135,a);}this[K(0x5d,0x18)]?.[K(0x113,0xb2)]?.[K(-0x4b,0x17)]();}[q(-0x10d,-0x179)](){const {storage:d}=this[L(-0x4f,-0xb4)];function L(a,b){return q(b-0x69,a);}d[L(-0x53,-0x2e)](L(0x4a,-0xf));d['removeIndex'](L(-0x5d,-0x97));}async[q(-0xf3,-0xd9)](d){function M(a,b){return q(a-0x3f5,b);}const e=this;e[M(0x37e,0x3a2)]=!![];e[M(0x301,0x2b8)]();await delay(0x0);if(e[M(0x336,0x3b8)]){d();return;}e[M(0x33e,0x2e8)]('delayCalculationStart');e[M(0x33e,0x390)](M(0x2e4,0x28a),{'isCalculated':![]});await delay(0x0);if(e[M(0x336,0x362)]){d();return;}e[M(0x37e,0x394)]=![];e[M(0x350,0x388)][M(0x3b2,0x370)](g=>g[M(0x380,0x3ba)]());if(e['isRepopulatingStores']){e[M(0x32c,0x324)][M(0x38a,0x3d8)]();}else{e[M(0x33e,0x30b)](M(0x2d5,0x32e));e[M(0x2f9,0x341)](!![]);}const f=await e[M(0x330,0x2e6)][M(0x33c,0x308)]();if(e[M(0x336,0x2f1)]){d();return;}e[M(0x350,0x377)][M(0x3b2,0x417)](g=>g[M(0x3ad,0x3e4)]());d(f);e[M(0x319,0x33d)]=null;e[M(0x33e,0x2c1)]('delayCalculationEnd');e[M(0x2e8,0x352)]();}[q(-0x124,-0x151)](){if(this[N(-0x119,-0x14c)]){return this[N(-0x119,-0xb8)];}function N(a,b){return q(a- -0x3d,b);}if(this[N(-0x8a,-0x101)]!==![]){return this[N(-0x119,-0x13a)]=new Promise(d=>this['internalDelayCalculation'](d)[N(-0x94,-0x5b)]());}}async[q(-0x54,0x2b)](){function O(a,b){return q(a-0x257,b);}const d=await this[O(0x19e,0x1df)]();if(!this[O(0x198,0x1d4)])this['trigger'](O(0x12d,0x121));return d;}[q(-0xfb,-0x115)](){const d=this[P(0x34a,0x33a)]||_enc;if(!(this['stm']instanceof _enc))this[P(0x3a6,0x35a)]=d[P(0x274,0x274)]({'disabled':!![]},this['stm']);function P(a,b){return q(b-0x399,a);}this['setStm'](this[P(0x37f,0x35a)]);if(this[P(0x1f0,0x26c)]){this[P(0x2e5,0x359)]({'load':this[P(0x2d3,0x2f9)],'thisObj':this});}this[P(0x3a8,0x359)]({'beforeCommit':this['onCommitInitialization'],'commitFinalized':this['onCommitFinalization'],'commitRejected':this['onCommitRejection'],'thisObj':this});}['removeRejectedRecordsAdd']({transactionResult:d,silenceCommit:e}){const f=new Map();for(const h of d[Q(0x4eb,0x4c2)][Q(0x401,0x3f8)]()){const i=h['identifier'];const {field:j}=i;if(h[Q(0x45a,0x45e)]()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i['self'];const l=k['firstStore'];if(l&&!h[Q(0x501,0x579)]&&!d[Q(0x407,0x3b5)]['getLatestStableEntryFor'](k['$$'])?.[Q(0x501,0x522)]){if(!f['has'](l)){f[Q(0x40e,0x3be)](l,new Set([k]));}else if(!f[Q(0x4e6,0x55f)](l)[Q(0x493,0x422)](k)){f[Q(0x4e6,0x564)](l)[Q(0x450,0x400)](k);}}}this[Q(0x4b8,0x4b5)]?.();function Q(a,b){return q(a-0x53c,b);}const g=Array[Q(0x499,0x4d2)](f[Q(0x476,0x4e7)]())[Q(0x42d,0x402)]((m,n)=>m[Q(0x44c,0x464)]-n[Q(0x44c,0x438)]);g[Q(0x4f9,0x4f9)](m=>m[Q(0x4a7,0x4e9)](f['get'](m)));this[Q(0x4af,0x48f)]?.(e);if(e){this[Q(0x497,0x4c1)][Q(0x4f9,0x4db)](m=>m[Q(0x461,0x41e)]());}}[q(-0x4c,0x2c)](d){function R(a,b){return q(a-0x431,b);}if(this[R(0x3af,0x412)]){this[R(0x36c,0x3d6)][R(0x300,0x348)]++;this[R(0x2fa,0x31c)]=!![];this[R(0x359,0x338)](d);this['isRestoringData']=![];this['replica']['isWritingPreviousData']--;}else{this[R(0x34e,0x39d)]();}}[q(-0x98,-0x59)](){function S(a,b){return q(b-0x296,a);}const {stm:d}=this;this['_stmDisabled']=d[S(0x1ef,0x20e)];if(d[S(0x15b,0x18a)]&&d['autoRecord']){this[S(0x191,0x1fd)]=!![];d[S(0x213,0x1de)]=![];}}[q(-0xfd,-0xe6)](){function T(a,b){return q(a- -0x84,b);}if(this[T(-0x11d,-0xa5)]){this[T(-0xc3,-0xe8)][T(-0x13c,-0x141)]=!![];this[T(-0x11d,-0x13d)]=![];}}async['undo'](){function U(a,b){return q(b-0x174,a);}await this[U(0x1a6,0x135)][U(0x89,0xd8)]();if(this[U(0xc1,0x12f)]){await this['await'](U(0x100,0xf5),![]);}}async[q(-0xcb,-0xe7)](){function V(a,b){return q(a-0x1ea,b);}await this['stm']['redo']();if(this[V(0x1a5,0x1c9)]){await this[V(0x13e,0xd4)](V(0x16b,0x184),![]);}}[q(-0x110,-0x117)]({source:d}){function W(a,b){return q(a-0x22c,b);}if(this[W(0x167,0x121)])this[W(0x167,0x14b)][W(0xfb,0xdc)]++;}async['handleSTMRestoringStop'](d){if(this[X(0x11c,0x9f)])this[X(0x5d,0x9f)][X(0x28,0x33)]--;this[X(0x80,0xc7)]=!![];d[X(0x114,0x94)]();this[X(0x1a0,0x11f)]=!![];await this[X(0x65,0xab)]();function X(a,b){return q(b-0x164,a);}this[X(0xb8,0x11f)]=![];this[X(0x133,0xc7)]=![];if(!this[X(0xe8,0xa5)]){d[X(0x37,0x91)]();this['trigger'](X(0x154,0xe5));}}async[q(-0xd1,-0x9e)]({source:d}){function Y(a,b){return q(b-0x221,a);}if(d[Y(0x17b,0x1db)]){await this[Y(0x1fb,0x190)](()=>this[Y(0x250,0x1df)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(-0x87,-0x4f)](d,e,f){function Z(a,b){return q(a- -0x7e,b);}if(this[Z(-0xd6,-0xec)]){this[Z(-0xe1,-0xe2)](d);this[Z(-0xbe,-0x116)]({'name':d,'repopulateReplica':{'fn':async()=>{function a0(a,b){return Z(b- -0x123,a);}await this[a0(-0x1e8,-0x25a)]();if(!this['isDestroyed']){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(-0x58,-0xb2)](){function a1(a,b){return q(a- -0xa1,b);}return this[a1(-0x1b8,-0x194)]||Boolean(this[a1(-0xe2,-0x7d)]?.['size']);}[q(-0xb3,-0x52)](d){const e=this;function a2(a,b){return q(a-0xd0,b);}if(e[a2(-0x5,-0x1a)]&&d[a2(0x1b,-0x1b)]&&!d[a2(0x57,0xe)]){e[a2(0xb,-0x65)]?.[a2(0x87,0x77)]['stop']();if(!e[a2(0x8f,0xee)])e[a2(0x8f,0xfd)]=new Set();e[a2(0x8f,0xb1)][a2(-0x1c,0x1b)](d);e['repopulateReplica']();}}['repopulateReplica'](){const d=this;if(d[a3(0xbd,0x109)]){return;}const {replica:e,calendarManagerStore:f}=d;if(e){d[a3(0x24,0x6c)](e,!![]);}d[a3(0xf6,0xc9)](a3(-0x4,0x60));e?.[a3(0xfa,0x126)]();const g=d['replica']=d[a3(0x2c,0x8e)]();g[a3(0x76,0xbc)]([d,d[a3(0x78,0xae)]]);const h=new Map();for(const i of d['dataStores']){h['set'](i,i[a3(0xde,0xb6)](d,!![]));}if(h[a3(0x10c,0x12a)](f)<f['totalCount']){d[a3(0x110,0x10c)][a3(0x80,0xb6)](d,!![]);}if(e){g['activeTransaction'][a3(0x150,0xf1)](e[a3(0x14a,0x132)][a3(0xb7,0x57)]);}d['repopulateStores'][a3(0x171,0x126)]();function a3(a,b){return q(b-0x180,a);}d['trigger']('repopulateReplica');}['beforeCommitAsync'](){function a4(a,b){return q(b-0x4af,a);}if(this[a4(0x3e0,0x3e6)][a4(0x471,0x3f9)]&&!this[a4(0x463,0x473)]){this[a4(0x425,0x3e6)][a4(0x4c4,0x444)]();return this[a4(0x3d6,0x3ea)][a4(0x3e7,0x3f6)]();}return null;}[q(-0x114,-0xd4)](d,e=![]){if(e){this[a5(-0xad,-0x97)](d);}function a5(a,b){return q(b-0x3d,a);}this['defaultCalendar'][a5(-0x78,-0xd7)](d);super[a5(-0x60,-0xd7)](d);this['replica']=null;}[q(-0xd4,-0x138)](d,e){d=d||this[a6(0xc1,0xdc)];function a6(a,b){return q(b-0x210,a);}e=e||this[a6(0x13a,0x16b)];e[a6(0x246,0x1cd)](f=>{if(f[a7(0xbe,0x66)]){return;}function a7(a,b){return a6(b,a- -0xb0);}if(!this[a7(0x11f,0xdf)][a7(0xb7,0xd9)](f)||f[a7(0xe7,0x159)]){f[a7(0x62,0xf)](g=>{g['unlink'](d);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(-0x9b,-0xac)](){function a8(a,b){return q(a-0x3bb,b);}return this[a8(0x2f6,0x353)];}async['addEvents'](d){this['eventStore']['add'](d);function a9(a,b){return q(a-0x5b,b);}return this[a9(-0x5e,-0x36)]();}async[q(-0x69,-0xa0)](d){this[aa(0xd,0x2e)]['add'](d);function aa(a,b){return q(b-0x141,a);}return this[aa(0xcd,0x88)]();}[q(-0xae,-0x43)](d){function ab(a,b){return q(a-0x365,b);}this['eventStore'][ab(0x279,0x2b1)](d);}async[q(-0x12f,-0xc0)](d){this[ac(-0x5d,-0xc0)]['remove'](d);function ac(a,b){return q(a-0xb6,b);}return this[ac(-0x3,-0x48)]();}[q(-0x7b,-0x5f)](d){function ad(a,b){return q(b-0x134,a);}this['eventStore'][ad(0xbb,0x9f)](d);}async[q(-0x67,-0x10)](d){function ae(a,b){return q(b- -0x8b,a);}this[ae(-0x1ec,-0x19e)][ae(-0x13d,-0x120)](d);return this[ae(-0x115,-0x144)]();}[q(-0xe0,-0x139)](){function af(a,b){return q(b-0x1a1,a);}return this[af(0x1b7,0x162)];}[q(-0x6d,-0xd8)](d){function ag(a,b){return q(a- -0x40,b);}this[ag(-0x7f,-0x2a)]=d;this[ag(-0x7f,-0x4)][ag(-0x80,-0x2a)]({'restoringStart':this['onSTMRestoringStart'],'restoringStop':this[ag(-0x111,-0x13c)],'thisObj':this});}[q(-0x6f,-0x2b)](){return this;}*['calculateEffectiveDataOrVisualCalendar'](d){function ah(a,b){return q(b-0xf9,a);}let e=yield this['$'][ah(-0xd,0x4a)];if(e){yield e['$'][ah(0x7b,0xa6)];}else{e=this['defaultCalendar'];}return e;}[q(-0x115,-0xeb)](d){function ai(a,b){return q(b-0x539,a);}const e=this['eventStore'];if(e&&this['stm'][ai(0x4cf,0x478)](e)){this[ai(0x47a,0x4fa)][ai(0x4c9,0x4cb)](e);e['unjoinRecordsFromProject'](this);this[ai(0x458,0x443)](e);const f=e['assignmentsForRemoval'];f[ai(0x539,0x4f6)](g=>{function aj(a,b){return ai(b,a- -0x382);}const h=g[aj(0x13f,0x116)];if(h){const i=d[aj(0xa1,0xf4)](h['id']);if(i){g[aj(0x13f,0x157)]=i;f[aj(0x14f,0x1c1)](g);}}});e['afterEventRemoval']();}if(!d||!(d instanceof _end)){const g=d?.['storeClass']||this[ai(0x4e8,0x4d9)];this[ai(0x469,0x426)]=new g(_enf[ai(0x47a,0x4de)]({'modelClass':this[ai(0x49d,0x4a5)],'project':this,'stm':this[ai(0x559,0x4fa)]},d||{}));}else{this['eventStore']=d;if(d[ai(0x480,0x497)]){d['project']=this;}else{d['setProject'](this);this['stm'][ai(0x4c2,0x49b)](d);if(d[ai(0x3e4,0x444)]&&d[ai(0x4f8,0x492)]!==this){this[ai(0x4e6,0x487)](d['rootNode'][ai(0x491,0x46d)]||[]);d[ai(0x43e,0x492)]=this;}else{d[ai(0x4cf,0x46f)](this);}}}this[ai(0x46e,0x455)](this[ai(0x3f4,0x426)]);this[ai(0x4ff,0x482)](ai(0x4c1,0x4cd),{'store':this[ai(0x3b2,0x426)]});}[q(-0xbc,-0xce)](d){const e=this['dependencyStore'];function ak(a,b){return q(b-0xda,a);}if(e&&this['stm'][ak(-0xa,0x19)](e)){this[ak(0x94,0x9b)]['removeStore'](e);this[ak(0x12,-0x1c)](e);}if(!d||!(d instanceof _end)){const f=d?.[ak(-0x4e,-0x2a)]||this[ak(0x3,-0x4c)];this[ak(0xcd,0x6a)]=new f(_enf['assign']({'modelClass':this[ak(0x2a,0x96)],'project':this,'stm':this[ak(0xf2,0x9b)]},d||{}));}else{this['dependencyStore']=d;if(d[ak(-0x1a,0x38)]){d[ak(0x59,0x18)]=this;}else{d[ak(-0x38,0x17)](this);this['stm'][ak(-0x30,0x3c)](d);d[ak(0x4d,0x10)](this);}}this[ak(0x6f,-0xa)](this[ak(0xc,0x6a)]);this[ak(0x55,0x23)](ak(0xcf,0x50),{'store':this[ak(0x67,0x6a)]});}[q(-0xe6,-0x85)](d){const e=this[al(0x2cd,0x303)];if(e&&this[al(0x3c0,0x3d7)][al(0x33e,0x2c4)](e)){this[al(0x3c0,0x37d)][al(0x391,0x30f)](e);e[al(0x2d8,0x34b)](this);this[al(0x309,0x345)](e);const f=e[al(0x321,0x2ed)];f[al(0x3bc,0x40c)](g=>{function am(a,b){return al(a- -0x3df,b);}const h=g[am(-0xe0,-0x115)];if(h){const i=d[am(-0xf6,-0x171)](h['id']);if(i){g[am(-0xe0,-0x8d)]=i;f[am(-0x48,-0xb4)](g);}}});e['afterResourceRemoval']();}function al(a,b){return q(a-0x3ff,b);}if(!d||!(d instanceof _end)){const g=d?.[al(0x2fb,0x379)]||this['resourceStoreClass'];this['resourceStore']=new g(_enf[al(0x3a4,0x3d9)]({'modelClass':this[al(0x365,0x373)],'project':this,'stm':this[al(0x3c0,0x3c2)]},d||{}));}else{this[al(0x2cd,0x259)]=d;if(d[al(0x35d,0x36c)]){d[al(0x33d,0x35f)]=this;}else{d[al(0x33c,0x3aa)](this);this[al(0x3c0,0x425)][al(0x361,0x33c)](d);d['joinRecordsToProject'](this);}}this['attachStore'](this['resourceStore']);this[al(0x348,0x36e)]('resourceStoreChange',{'store':this[al(0x2cd,0x2d9)]});}['setAssignmentStore'](d){const e=this['assignmentStore'];if(e&&this['stm']['hasStore'](e)){this['stm'][an(-0xd,0x1a)](e);e[an(-0xc6,-0x104)](this);this[an(-0x95,-0xa2)](e);}function an(a,b){return q(a-0x61,b);}if(!d||!(d instanceof _end)){const f=d?.['storeClass']||this[an(-0x50,-0x82)];this[an(-0xbc,-0x123)]=new f(_enf[an(0x6,0x80)]({'modelClass':this['assignmentModelClass'],'project':this,'stm':this['stm']},d||{}));}else{this[an(-0xbc,-0x11c)]=d;if(d[an(-0x41,-0x61)]){d['project']=this;}else{d['setProject'](this);this[an(0x22,-0x13)]['addStore'](d);d['joinRecordsToProject'](this);}}this[an(0x25,-0x22)]&&this[an(-0x93,-0x88)]();this[an(-0x83,-0xb8)](this[an(-0xbc,-0xf3)]);this[an(-0x56,-0x54)](an(-0xaa,-0x72),{'store':this[an(-0xbc,-0x63)]});}['setCalendarManagerStore'](d){const e=this[ao(-0x299,-0x27d)];function ao(a,b){return q(b- -0x209,a);}if(e&&this[ao(-0x2b7,-0x248)][ao(-0x2ee,-0x2ca)](e)){this[ao(-0x292,-0x248)][ao(-0x276,-0x277)](e);this[ao(-0x371,-0x2ff)](e);}if(!d||!(d instanceof _end)){const f=d?.[ao(-0x351,-0x30d)]||this['calendarManagerStoreClass'];this[ao(-0x2f5,-0x27d)]=new f(_enf[ao(-0x2e5,-0x264)]({'modelClass':this[ao(-0x314,-0x308)],'project':this,'stm':this['stm']},d||{}));}else{this['calendarManagerStore']=d;if(d){if(d[ao(-0x2b6,-0x2ab)]){d['project']=this;}else{d['setProject'](this);this[ao(-0x248,-0x248)][ao(-0x318,-0x2a7)](d);d['joinRecordsToProject'](this);}}}this[ao(-0x31e,-0x2ed)](this[ao(-0x2a6,-0x27d)]);this[ao(-0x2c1,-0x2c0)](ao(-0x2ce,-0x342),{'store':this[ao(-0x278,-0x27d)]});}async['isValidDependency'](...d){return!![];}['rejectStmTransaction'](d){d=d||this['stm'];function ap(a,b){return q(b-0x40e,a);}if(d['transaction']){if(d[ap(0x2e8,0x2d9)][ap(0x30d,0x388)]){d[ap(0x41b,0x39b)](e=>e[ap(0x3b5,0x3d0)]());d[ap(0x329,0x30c)]();d[ap(0x39c,0x39b)](e=>e['endBatch']());}else{d['stopTransaction']();}}}async['tryPropagateWithChanges'](d){const f=this[aq(0x3bf,0x35d)],g=f[aq(0x2b3,0x314)],h=f[aq(0x2f1,0x2e4)];if(g){f[aq(0x271,0x2c9)]();}else{if(h){f['autoRecord']=![];}if(f[aq(0x2a8,0x290)]){f[aq(0x320,0x2f4)]();}}f[aq(0x2f5,0x2cd)]();d();let i=!![];try{const j=await this[aq(0x309,0x2e3)]();i=!j[aq(0x295,0x2f6)];}catch(k){if(!/cycle/i['test'](k))throw k;i=![];}if(i){f[aq(0x31d,0x2f4)]();if(g){f['resetQueue']();}}else{this[aq(0x29e,0x2d7)][aq(0x2db,0x320)]();this['rejectStmTransaction'](f);}f['disabled']=g;function aq(a,b){return q(b-0x39c,a);}f[aq(0x278,0x2e4)]=h;return i;}async[q(-0xe1,-0xab)](d){return this['queue'](()=>this['tryPropagateWithChanges'](d));}[q(-0x91,-0x95)](d,e){const f=this;function ar(a,b){return q(b-0x68,a);}return f[ar(-0x1f,-0x7f)][ar(-0x93,-0x29)](async function g(){return d();},e);}[q(-0x101,-0x104)](){const {replica:d}=this;function as(a,b){return q(b-0x4ad,a);}return this[as(0x3dc,0x436)]||!this['isRepopulatingStores']&&(d?!(d[as(0x3c5,0x3fd)]&&(d[as(0x426,0x41b)]()||d[as(0x4c6,0x44f)])):!![]);}[q(-0x112,-0x153)](d){const e=[];function at(a,b){return q(a-0x582,b);}if(this[at(0x4d3,0x4d0)]===d)e[at(0x4bb,0x44c)](this);e[at(0x4bb,0x49f)](...this[at(0x46f,0x47a)][at(0x508,0x54e)](f=>f['calendar']===d,!![]));e[at(0x4bb,0x43a)](...this[at(0x450,0x442)]['query'](f=>f['calendar']===d,!![]));if(d['children']?.['length']){for(const f of d['children']){e['push'](...this[at(0x470,0x453)](f));}}return e;}[q(-0xe5,-0x63)](d){function au(a,b){return q(b-0x13d,a);}const e=this[au(0x5a,0x2b)](d);for(const f of e){f[au(0xf,0x8e)]=null;}}static get[q(-0x11f,-0x13e)](){return{'assignmentsData':null,'calendarsData':null,'dependenciesData':null,'eventsData':null,'resourcesData':null,'eventStore':null,'resourceStore':null,'assignmentStore':null,'dependencyStore':null,'calendarManagerStore':null,'eventModelClass':null,'resourceModelClass':null,'assignmentModelClass':null,'dependencyModelClass':null,'calendarModelClass':null,'repopulateOnDataset':!![]};}static get[q(-0xad,-0xbb)](){return{'repopulateReplica':0xa};}}function q(a,b){return _enb(a- -0x1dd,b);}c[q(-0x76,-0xcf)]=!![];__decorate([model_field({'type':q(-0x5c,-0xb7),'defaultValue':!![]})],c[q(-0xce,-0x5f)],q(-0x13a,-0x141),void 0x0);__decorate([model_field({'type':q(-0x5c,-0x3e),'defaultValue':![]})],c['prototype'],'skipNonWorkingTimeWhenSchedulingManually',void 0x0);__decorate([model_field({'type':'boolean','defaultValue':![]})],c[q(-0xce,-0x5a)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);__decorate([model_field({'type':q(-0x138,-0x13a),'defaultValue':Direction[q(-0x85,-0xb4)]},{'sync':!![]})],c[q(-0xce,-0xc2)],q(-0xd6,-0x99),void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
@@ -1 +1 @@
1
- (function(a,b){function s(a,b){return _enb(a- -0x4b,b);}const c=a();while(!![]){try{const d=-parseInt(s(0x1a7,0x1c7))/0x1+-parseInt(s(0x178,0x192))/0x2*(parseInt(s(0x176,0x1ac))/0x3)+parseInt(s(0x18d,0x1c9))/0x4*(-parseInt(s(0x16e,0x19b))/0x5)+parseInt(s(0x1db,0x207))/0x6*(parseInt(s(0x18b,0x155))/0x7)+-parseInt(s(0x1ca,0x1e4))/0x8*(-parseInt(s(0x16d,0x186))/0x9)+parseInt(s(0x1e3,0x1a8))/0xa+parseInt(s(0x1d3,0x1b1))/0xb*(parseInt(s(0x1c4,0x193))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2c751));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{SchedulerCoreEvent}from'./SchedulerCoreEvent.js';import _enc from'@bryntum/core-thin/lib/data/Store.js';import _end from'@bryntum/core-thin/lib/data/Model.js';import _ene from'@bryntum/core-thin/lib/mixin/Delayable.js';import{CoreEventStoreMixin}from'../../store/CoreEventStoreMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1b7;let f=c[d];return f;};return _enb(a,b);}import{CoreAssignmentMixin}from'./CoreAssignmentMixin.js';import{CoreAssignmentStoreMixin}from'../../store/CoreAssignmentStoreMixin.js';import{CoreResourceMixin}from'./CoreResourceMixin.js';import{CoreResourceStoreMixin}from'../../store/CoreResourceStoreMixin.js';import{CorePartOfProjectGenericMixin}from'../../CorePartOfProjectGenericMixin.js';import{CoreDependencyStoreMixin}from'../../store/CoreDependencyStoreMixin.js';function _ena(){const ac=['resolve','dependenciesData','changeResourceStore','defaultCalendar','isAssignmentStore','event','assignmentsData','isDestroyed','assignmentStore','trigger','isPerformingCommit','calendarManagerStore','addResource','addStore','104366tOlerb','getDefaultConfiguration','unspecifiedTimeIsWorking','assignment','doDestroy','endBatch','beginBatch','forEach','destroy','clear','SchedulerCoreProjectMixin','effectiveCalendar','getById','silenceInitialCommit','afterEventRemoval','calendarModelClass','hasPendingAutoCommit','detachStore','dependency','calendar','hasLoadedDataToCommit','date','prototype','assign','hasStore','unScheduleAutoCommit','events','isWritingData','assignmentStoreChange','2496oACtVu','getStm','resourceStore','removeStore','resolveStoreAndModelClass','stateRestoringDone','40AmNykY','size','stm','onCommitAsync','startDate','configurable','updateDependencyStore','updateAssignmentStore','modelClass','20031NIWvEw','setDependencyStore','doCommitAsync','resourcesData','setResourceStore','$invalidated','add','suspendSortOnUpdate','308058adDzgj','joinRecordsToProject','commitAsync','attachStore','endDate','$leaving','setProject','finalizeInvalidated','151020Eokkwa','unjoinRecordsFromProject','setEventStore','load','ModelClass','tasksData','suspendAutoCommit','changeDependencyStore','tasks','data','eventStoreChange','setAssignmentStore','bufferedCommitAsync','crudManager','isInitialCommitPerformed','setTimeout','commitFinalized','delete','beforeCommit','340839ZBParM','1070hSgCtW','loadInlineData','addAssignment','dependencyStore','isEngineReady','updateCalendarManagerStore','propagateAsync','setCalendarManagerStore','3kqRQan','updateResourceStore','451686YRnJzg','$stm','applyConfigs','addEvent','resource','resumeSortOnUpdate','construct','dependencies','masterStore','dataPropertyDeprecation','commitLoad','project','StoreClass','resources','fields','afterResourceRemoval','disable','eventsData','dataReady','35sCqTha','$calendar','6124NMUywn','eventStore','ongoing','calendarsData','isLoadingInlineData','calendars','dependencyStoreChange','assignments','$name','resourceStoreChange','clearTimeout','refresh'];_ena=function(){return ac;};return _ena();}import{CoreDependencyMixin}from'./CoreDependencyMixin.js';import{CoreCalendarMixin}from'./CoreCalendarMixin.js';import{CoreCalendarManagerStoreMixin}from'../../store/CoreCalendarManagerStoreMixin.js';import{delay}from'../../../util/Functions.js';import _enf from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import _eng from'@bryntum/core-thin/lib/helper/ObjectHelper.js';class DelayableWrapper extends Mixin([],_ene){}class SchedulerCoreProjectMixin extends Mixin([AbstractProjectMixin,CorePartOfProjectGenericMixin,DelayableWrapper,_end],a=>{const b=a[t(0x15c,0x14a)];class c extends a{static get[t(0x125,0x101)](){function u(a,b){return t(b- -0x2bf,a);}return[{'name':u(-0x129,-0x152),'type':u(-0x132,-0x164)},{'name':u(-0x158,-0x141),'type':u(-0x1a0,-0x164)}];}static get[t(0x16e,0x1ad)](){return{'stm':{},'eventStore':{},'assignmentStore':{},'resourceStore':{},'dependencyStore':{},'calendarManagerStore':{},'eventModelClass':SchedulerCoreEvent,'assignmentModelClass':CoreAssignmentMixin,'resourceModelClass':CoreResourceMixin,'dependencyModelClass':CoreDependencyMixin,'calendarModelClass':CoreCalendarMixin,'eventStoreClass':CoreEventStoreMixin,'assignmentStoreClass':CoreAssignmentStoreMixin,'resourceStoreClass':CoreResourceStoreMixin,'dependencyStoreClass':CoreDependencyStoreMixin,'calendarManagerStoreClass':CoreCalendarManagerStoreMixin};}[t(0x11d,0x15c)](d={}){const e=this;const {resources:f,events:g,dependencies:h,assignments:i,calendars:j}=d;delete d[v(-0xe,-0x38)];delete d['events'];function v(a,b){return t(b- -0x15c,a);}delete d[v(-0x69,-0x3e)];delete d[v(-0x2a,-0x29)];delete d['calendars'];delete d[v(0x5e,0x2e)];e[v(-0x5,0x1b)]=new Set();e[v(0x48,0x23)]=new Set();e['isPerformingCommit']=![];e[v(0xb,-0x9)]=!![];e[v(0x3,-0x2e)]=Promise[v(0x7,-0x24)]();if(d[v(-0x64,-0x2f)]&&!d[v(0x15,-0x1c)]){const q=d[v(-0x22,-0x2f)][v(0x7,-0x3d)]||d[v(-0x53,-0x2f)];const r=q[v(-0x55,-0x1c)]||q[v(0x4b,0x33)]?.['assignmentStore'];if(r?.[v(-0x40,-0x20)]){d[v(-0x55,-0x1c)]=r;e['isSharingAssignmentStore']=!![];}}b['construct']['call'](e,d);e[v(0x10,-0x21)]=new e[(v(-0x2a,-0x19))][(v(-0x1d,0x15))]({'unspecifiedTimeIsWorking':e[v(-0x25,-0x14)]});e[v(-0x25,-0x21)][v(-0x42,-0x3a)]=e;const {calendarsData:k,eventsData:l,dependenciesData:m,resourcesData:n,assignmentsData:o}=e;const p=Boolean(k||l||m||n||o||j||g||h||f||i);if(p){e[v(-0x41,-0x4e)]({'calendarsData':k,'eventsData':l,'dependenciesData':m,'resourcesData':n,'assignmentsData':o,'calendars':j,'events':g,'dependencies':h,'resources':f,'assignments':i});delete e[v(-0x6d,-0x2d)];delete e['eventsData'];delete e[v(-0x55,-0x23)];delete e[v(-0x21,0x19)];delete e[v(-0x2d,-0x1e)];}else{e[v(-0x5,0x32)]();}}[t(0x14a,0x187)](){function w(a,b){return t(b- -0x2be,a);}const d=this;d[w(-0x1ce,-0x191)]?.[w(-0x19f,-0x170)]();d[w(-0x1eb,-0x1ae)]?.[w(-0x197,-0x170)]();d[w(-0x16f,-0x17e)]?.[w(-0x12b,-0x170)]();d[w(-0x16f,-0x159)]?.[w(-0x1ab,-0x170)]();d['calendarManagerStore']?.['destroy']();d['defaultCalendar'][w(-0x169,-0x170)]();d['stm']?.['destroy']();b[w(-0x199,-0x174)]['call'](this);}async[t(0x10e,0xe8)](d){const e=this;e[x(0x44d,0x450)]=!![];e[x(0x43d,0x3f9)]?.(d||{});if(d['calendars']||d[x(0x44c,0x468)]){e[x(0x460,0x474)][x(0x4a8,0x4e3)]=d[x(0x44e,0x47d)]||d[x(0x44c,0x45b)];}function x(a,b){return t(a-0x31d,b);}if(d[x(0x441,0x457)]||d[x(0x492,0x486)]){e[x(0x482,0x4a4)][x(0x4a8,0x48f)]=d['resources']||d['resourcesData'];}if(d['assignments']||d['assignmentsData']){e[x(0x45d,0x467)]['data']=d['assignments']||d[x(0x45b,0x448)];}if(d[x(0x47d,0x47b)]||d[x(0x445,0x434)]){e[x(0x44a,0x441)][x(0x4a8,0x4a8)]=d[x(0x47d,0x492)]||d[x(0x445,0x43d)];}if(d['tasks']||d['tasksData']){e[x(0x44a,0x48c)]['data']=d[x(0x4a7,0x4d5)]||d[x(0x4a4,0x4a3)];}if(d[x(0x43b,0x456)]||d[x(0x456,0x477)]){e['dependencyStore']['data']=d[x(0x43b,0x471)]||d[x(0x456,0x455)];}await e[x(0x43e,0x459)]();e[x(0x44d,0x457)]=![];return;}async['commitLoad'](){function y(a,b){return t(a- -0x2a7,b);}await this[y(-0x12b,-0x133)]();if(!this['isDestroyed'])this['trigger'](y(-0x122,-0xea));}[t(0x167,0x1a3)](d,e){const f=e?.['storeClass']||this[d+z(0x544,0x587)];let g=e?.[z(0x5bb,0x5d5)];function z(a,b){return t(b-0x464,a);}if(!g){if(this[z(0x5ce,0x5ab)]()[d+z(0x61a,0x5ea)]!==f[z(0x59e,0x5ab)]()[z(0x5f0,0x5d5)]){g=f[z(0x5bc,0x5ab)]()[z(0x5a8,0x5d5)];}else{g=this[d+'ModelClass'];}}return{'storeClass':f,'modelClass':g};}[t(0x184,0x152)](d){function A(a,b){return t(b- -0x1c3,a);}this[A(-0x83,-0x96)]=d;}['changeEventStore'](d,e){const f=this,{stm:g}=f;f[B(-0xed,-0x104)](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f['resolveStoreAndModelClass'](B(-0x107,-0x141),d);d=new h(_eng[B(-0xe7,-0xed)]({'modelClass':i,'project':f,'stm':g},d));}else{d[B(-0x122,-0x102)]=f;g[B(-0xff,-0x13b)](d);d[B(-0xc9,-0xde)](f);}if(e&&g[B(-0xe6,-0xaf)](e)){g[B(-0xde,-0xe6)](e);e[B(-0xc1,-0xff)](f);const {assignmentsForRemoval:j}=e;j[B(-0xf7,-0xf4)](k=>{function C(a,b){return B(a-0x638,b);}const l=k[C(0x531,0x538)];if(l){const m=d['getById'](l['id']);if(m){k['event']=m;j[C(0x587,0x565)](k);}}});e[B(-0xf0,-0x10a)]();}d['setProject'](f);function B(a,b){return t(a- -0x244,b);}return d;}['updateEventStore'](d,e){function D(a,b){return t(a- -0x2e5,b);}this['attachStore'](d);this[D(-0x1a4,-0x1b0)](D(-0x159,-0x119),{'store':d});}[t(0x18d,0x1ca)](d){function E(a,b){return t(a- -0x24b,b);}this[E(-0x10b,-0x13e)]=d;}['changeAssignmentStore'](d,e){const f=this,{stm:g}=f;f[F(0x42c,0x44b)](e);if(e&&g[F(0x433,0x420)](e)){g['removeStore'](e);e[F(0x458,0x423)](f);}function F(a,b){return t(a-0x2d5,b);}if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f['resolveStoreAndModelClass'](F(0x41e,0x452),d);d=new h(_eng[F(0x432,0x406)]({'modelClass':i,'project':f,'stm':g},d));}else{d['project']=f;g[F(0x41a,0x42c)](d);d[F(0x450,0x41b)](f);}d[F(0x455,0x48c)](f);return d;}[t(0x170,0x181)](d,e){function G(a,b){return t(b- -0x51,a);}this[G(0xee,0x12c)](d);this['trigger'](G(0x152,0x111),{'store':d});}[t(0x176,0x192)](d){function H(a,b){return t(b- -0x2d4,a);}this[H(-0x142,-0x16f)]=d;}[t(0x13a,0x12b)](d,e){const f=this,{stm:g}=f;function I(a,b){return t(a- -0xfe,b);}f['detachStore'](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f[I(0x69,0x63)](I(0x1d,-0x12),d);d=new h(_eng[I(0x5f,0x61)]({'modelClass':i,'project':f,'stm':g},d));}else{d[I(0x24,0x61)]=f;g[I(0x47,0x8b)](d);d[I(0x7d,0x77)](f);}if(e&&g[I(0x60,0x8b)](e)){g[I(0x68,0x6a)](e);e[I(0x85,0x8b)](f);const {assignmentsForRemoval:j}=e;j[I(0x4f,0x5f)](k=>{function J(a,b){return I(b-0x46f,a);}const l=k['resource'];if(l){const m=d[J(0x4ae,0x4c3)](l['id']);if(m){k[J(0x477,0x48c)]=m;j[J(0x518,0x504)](k);}}});e[I(0x28,0x38)]();}d['setProject'](f);return d;}[t(0x116,0x11e)](d,e){this['attachStore'](d);function K(a,b){return t(a-0x2da,b);}this['trigger'](K(0x40f,0x3da),{'store':d});}[t(0x173,0x170)](d){function L(a,b){return t(a-0x265,b);}this[L(0x375,0x38b)]=d;}[t(0x189,0x170)](d,e){const f=this;f[M(0x3fb,0x3d4)](e);function M(a,b){return t(a-0x2a4,b);}if(!(d instanceof _enc)){const {storeClass:g,modelClass:h}=f[M(0x40b,0x407)](M(0x3fc,0x42a),d);d=new g(_eng[M(0x401,0x43f)]({'modelClass':h,'project':f,'stm':f[M(0x40f,0x3d1)]},d));}else{d[M(0x3c6,0x384)]=f;f[M(0x40f,0x427)][M(0x3e9,0x3fb)](d);d[M(0x41f,0x453)](f);}return d;}[t(0x16f,0x1b0)](d,e){function N(a,b){return t(b-0x366,a);}this[N(0x519,0x4e3)](d);this[N(0x4b3,0x4a7)](N(0x488,0x498),{'store':d});}[t(0x114,0xd7)](d){function O(a,b){return t(a- -0x137,b);}this[O(0xc,0x4b)]=d;}['changeCalendarManagerStore'](d,e){function P(a,b){return t(b- -0x2a1,a);}const f=this;f['detachStore'](e);if(!(d instanceof _enc)){const g=d?.['storeClass']||f['calendarManagerStoreClass'];const h=d?.[P(-0x145,-0x130)]||g[P(-0x14e,-0x15a)]()[P(-0x15b,-0x130)]||f[P(-0x125,-0x14c)];d=new g(_eng[P(-0x180,-0x144)]({'modelClass':h,'project':f,'stm':f['stm']},d));}else{f[P(-0x118,-0x136)][P(-0x183,-0x15c)](d);}d['setProject'](f);return d;}[t(0x112,0x147)](d,e){function Q(a,b){return t(a- -0x280,b);}this[Q(-0x103,-0xc4)](d);this[Q(-0x13f,-0x16a)]('calendarManagerStoreChange',{'store':d});}get['calendar'](){function R(a,b){return t(a- -0xc1,b);}return this[R(0x6a,0x4d)]||this['defaultCalendar'];}set[t(0x159,0x175)](d){function S(a,b){return t(b- -0x10b,a);}this[S(0x5f,0x20)]=d;}get[t(0x151,0x177)](){function T(a,b){return t(a- -0x1f9,b);}return this[T(-0xa0,-0xb8)];}async[t(0x11a,0x158)](d){function U(a,b){return t(b- -0x320,a);}this[U(-0x215,-0x1f3)]['add'](d);return this[U(-0x18c,-0x1a4)]();}async[t(0x10f,0x122)](d){function V(a,b){return t(a- -0x27c,b);}this[V(-0x13c,-0x152)]['add'](d);return this[V(-0x100,-0xcb)]();}async[t(0x144,0x134)](d){this[W(-0x77,-0xab)][W(-0xa8,-0x98)](d);function W(a,b){return t(b- -0x210,a);}return this['commitAsync']();}async['addDependency'](d){this[X(0x40e,0x3ff)][X(0x428,0x467)](d);function X(a,b){return t(b-0x2ef,a);}return this[X(0x440,0x46b)]();}[t(0x18e,0x1bc)](){function Y(a,b){return t(a-0xd6,b);}if(!this[Y(0x22c,0x25a)]){this[Y(0x267,0x239)]({'fn':()=>this[Y(0x252,0x263)]?.(),'name':Y(0x252,0x244),'delay':0xa});}}get[t(0x156,0x186)](){function Z(a,b){return t(b- -0x2f5,a);}return this['hasTimeout'](Z(-0x137,-0x179));}[t(0x15f,0x19a)](){function a0(a,b){return t(b- -0x2f8,a);}this[a0(-0x1c6,-0x1c2)](a0(-0x15b,-0x17c));}async[t(0x17c,0x156)](){function a1(a,b){return t(a-0x30f,b);}if(this[a1(0x451,0x456)])return this[a1(0x43d,0x479)];this[a1(0x450,0x419)](a1(0x41a,0x454));return this['ongoing']=this[a1(0x483,0x480)]();}async[t(0x174,0x147)](){const d=this;function a2(a,b){return t(a- -0x217,b);}if(!d[a2(-0xa0,-0x6c)][a2(-0xad,-0x7a)]&&!d['$leaving'][a2(-0xad,-0x8e)]&&!d[a2(-0xbd,-0x93)]&&!d['isInitialCommit']){d['trigger'](a2(-0x85,-0xc8));return;}d[a2(-0x98,-0x62)][a2(-0xc8,-0xc9)]();d[a2(-0xd5,-0xf5)]=!![];await delay(0x0);if(!d[a2(-0xd8,-0xde)]){d[a2(-0xb8,-0xfc)]();for(const i of d[a2(-0xa0,-0xb6)]){i['calculateInvalidated']();}const {isInitialCommit:e,silenceInitialCommit:f}=d;const g=e&&f;d[a2(-0xd7,-0x103)]['onCommitAsync']();d[a2(-0x107,-0xec)][a2(-0xab,-0xed)]();d['isInitialCommitPerformed']=!![];d[a2(-0xbd,-0xdd)]=![];d[a2(-0xd5,-0xfc)]=![];const h=[d[a2(-0xd7,-0x114)],d['dependencyStore'],d[a2(-0xea,-0xb7)],d[a2(-0xb2,-0x81)],d[a2(-0xd4,-0x118)]];h[a2(-0xca,-0x8f)](j=>{j[a3(0x40d,0x3d2)]?.();function a3(a,b){return a2(a-0x49c,b);}j[a3(0x3fe,0x421)]?.();});d['isWritingData']=!![];d[a2(-0xd6,-0xe4)](a2(-0xe0,-0x111),{'isInitialCommit':e,'isCalculated':!![]});if(g){for(const j of d[a2(-0xa0,-0xa7)]){j[a2(-0x96,-0xa1)](!![]);}}else{for(const k of d['$invalidated']){k[a2(-0xcb,-0xc0)](!![]);k[a2(-0x96,-0x5a)]();}for(const l of d[a2(-0xa0,-0x6c)]){l[a2(-0xcc,-0x8f)](![],!![]);}}d[a2(-0xb6,-0xb8)]=![];d[a2(-0xa0,-0x99)][a2(-0xc8,-0x95)]();d[a2(-0xd6,-0xd7)](a2(-0xee,-0xdd));h[a2(-0xca,-0xb4)](m=>{function a4(a,b){return a2(b-0x1ac,a);}m['resumeAutoCommit']?.();m[a4(0xa3,0xb1)]?.();});d[a2(-0xd6,-0xaa)](a2(-0x85,-0x9c));return!![];}}async[t(0x113,0xe2)](){function a5(a,b){return t(b-0xf2,a);}return this[a5(0x236,0x26e)]();}['invalidate'](d){this[a6(0x1c5,0x1d4)][a6(0x1c6,0x1a5)](d);function a6(a,b){return t(a-0x4e,b);}this[a6(0x1dc,0x204)]();}async['isValidDependency'](){return!![];}[t(0x164,0x16f)](){function a7(a,b){return t(a-0x342,b);}return this[a7(0x4ad,0x48e)];}set[t(0x16b,0x175)](d){function a8(a,b){return t(b-0x444,a);}d=this['$stm']=new _enf(_eng[a8(0x5ba,0x5a1)]({'disabled':!![]},d));d['ion']({'restoringStop':async()=>{d[a9(0x4ec,0x4d7)]();await this[a9(0x519,0x52c)]();function a9(a,b){return a8(a,b- -0x94);}if(!this[a9(0x4e9,0x4ef)]){d['enable']();this[a9(0x4fc,0x4f1)](a9(0x516,0x518));}}});}get['stm'](){function aa(a,b){return t(b-0x82,a);}return this[aa(0x1bd,0x19a)];}[t(0x111,0x12f)](){function ab(a,b){return t(a-0x391,b);}return!this[ab(0x4e7,0x50e)]&&!this[ab(0x4d3,0x4e6)]&&this[ab(0x521,0x4e4)];}}c[t(0x134,0x105)]=t(0x150,0x11d);c[t(0x119,0x14f)]=!![];function t(a,b){return _enb(a- -0xac,b);}return c;}){}export{DelayableWrapper,SchedulerCoreProjectMixin};
1
+ (function(a,b){function s(a,b){return _enb(a- -0xb9,b);}const c=a();while(!![]){try{const d=parseInt(s(-0x16,-0x45))/0x1+parseInt(s(-0x35,-0x56))/0x2+-parseInt(s(0x1c,0x4))/0x3+parseInt(s(0x4a,0x58))/0x4*(-parseInt(s(-0x31,-0x53))/0x5)+-parseInt(s(-0x5,-0x26))/0x6*(-parseInt(s(0x47,0x7d))/0x7)+-parseInt(s(0x26,0xf))/0x8*(-parseInt(s(-0x3b,-0x63))/0x9)+parseInt(s(0x32,-0x2))/0xa*(parseInt(s(0x27,-0x14))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x96673));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{SchedulerCoreEvent}from'./SchedulerCoreEvent.js';import _enc from'@bryntum/core-thin/lib/data/Store.js';import _end from'@bryntum/core-thin/lib/data/Model.js';import _ene from'@bryntum/core-thin/lib/mixin/Delayable.js';import{CoreEventStoreMixin}from'../../store/CoreEventStoreMixin.js';import{CoreAssignmentMixin}from'./CoreAssignmentMixin.js';import{CoreAssignmentStoreMixin}from'../../store/CoreAssignmentStoreMixin.js';import{CoreResourceMixin}from'./CoreResourceMixin.js';import{CoreResourceStoreMixin}from'../../store/CoreResourceStoreMixin.js';import{CorePartOfProjectGenericMixin}from'../../CorePartOfProjectGenericMixin.js';import{CoreDependencyStoreMixin}from'../../store/CoreDependencyStoreMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x77;let f=c[d];return f;};return _enb(a,b);}import{CoreDependencyMixin}from'./CoreDependencyMixin.js';import{CoreCalendarMixin}from'./CoreCalendarMixin.js';import{CoreCalendarManagerStoreMixin}from'../../store/CoreCalendarManagerStoreMixin.js';import{delay}from'../../../util/Functions.js';import _enf from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';function _ena(){const a7=['1696342twPNUu','startDate','trigger','refresh','1215QmhBYf','destroy','dataReady','endBatch','assignment','calendarsData','$stm','finalizeInvalidated','isLoadingInlineData','project','suspendSortOnUpdate','addDependency','crudManager','calendarManagerStoreChange','getDefaultConfiguration','configurable','dependenciesData','isDestroyed','assignments','propagateAsync','tasksData','resourceStoreChange','changeAssignmentStore','clear','call','loadInlineData','setAssignmentStore','455528ZKPFZA','ion','eventsData','isWritingData','event','commitLoad','changeDependencyStore','detachStore','addStore','calendar','ongoing','updateAssignmentStore','assignmentStoreChange','data','masterStore','isInitialCommitPerformed','stm','2658RAHldg','addResource','hasStore','getById','applyConfigs','updateCalendarManagerStore','eventStore','construct','forEach','StoreClass','calendarModelClass','$name','calendars','hasTimeout','onCommitAsync','fields','assignmentsData','ModelClass','assign','isAssignmentStore','dataPropertyDeprecation','prototype','delete','resolve','doDestroy','beginBatch','afterResourceRemoval','bufferedCommitAsync','isInitialCommit','add','commitFinalized','assignmentStore','resourcesData','3321879yBDETV','unjoinRecordsFromProject','calendarManagerStoreClass','resource','isPerformingCommit','addAssignment','dependency','afterEventRemoval','events','resumeAutoCommit','39272TdqBin','55RBVJxp','SchedulerCoreProjectMixin','joinRecordsToProject','setCalendarManagerStore','tasks','changeEventStore','storeClass','defaultCalendar','commitAsync','$leaving','isChainedFromProject','789190GIfgIa','removeStore','hasPendingAutoCommit','unScheduleAutoCommit','setEventStore','resumeSortOnUpdate','setDependencyStore','endDate','silenceInitialCommit','isEngineReady','$calendar','dependencyStore','hasLoadedDataToCommit','calculateInvalidated','unspecifiedTimeIsWorking','setProject','changeCalendarManagerStore','modelClass','load','setTimeout','addEvent','9289gVPpKK','doCommitAsync','stateRestoringDone','14436oAspzt','dependencies','resolveStoreAndModelClass','updateResourceStore','resources','attachStore','calendarManagerStore','effectiveCalendar','suspendAutoCommit','576zDrfOX','isValidDependency','setResourceStore','size','$invalidated','resourceStore'];_ena=function(){return a7;};return _ena();}import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import _eng from'@bryntum/core-thin/lib/helper/ObjectHelper.js';class DelayableWrapper extends Mixin([],_ene){}class SchedulerCoreProjectMixin extends Mixin([AbstractProjectMixin,CorePartOfProjectGenericMixin,DelayableWrapper,_end],a=>{const b=a[t(-0x32a,-0x311)];function t(a,b){return _enb(b- -0x3da,a);}class c extends a{static get[t(-0x33c,-0x317)](){function u(a,b){return t(a,b-0x606);}return[{'name':u(0x2bb,0x2b1),'type':'date'},{'name':u(0x330,0x31e),'type':'date'}];}static get[t(-0x342,-0x343)](){return{'stm':{},'eventStore':{},'assignmentStore':{},'resourceStore':{},'dependencyStore':{},'calendarManagerStore':{},'eventModelClass':SchedulerCoreEvent,'assignmentModelClass':CoreAssignmentMixin,'resourceModelClass':CoreResourceMixin,'dependencyModelClass':CoreDependencyMixin,'calendarModelClass':CoreCalendarMixin,'eventStoreClass':CoreEventStoreMixin,'assignmentStoreClass':CoreAssignmentStoreMixin,'resourceStoreClass':CoreResourceStoreMixin,'dependencyStoreClass':CoreDependencyStoreMixin,'calendarManagerStoreClass':CoreCalendarManagerStoreMixin};}[t(-0x2e3,-0x31f)](d={}){const e=this;const {resources:f,events:g,dependencies:h,assignments:i,calendars:j}=d;delete d['resources'];delete d[v(0x214,0x23d)];delete d[v(0x23b,0x209)];delete d['assignments'];delete d['calendars'];delete d[v(0x21b,0x221)];function v(a,b){return t(b,a-0x511);}e[v(0x1b9,0x1ac)]=new Set();e[v(0x220,0x20d)]=new Set();e[v(0x210,0x1ff)]=![];e[v(0x22a,0x261)]=!![];e[v(0x1e4,0x1ac)]=Promise[v(0x202,0x1cf)]();if(d[v(0x1f1,0x1db)]&&!d['assignmentStore']){const q=d[v(0x1f1,0x1ec)][v(0x1e8,0x21b)]||d[v(0x1f1,0x205)];const r=q['assignmentStore']||q[v(0x1cb,0x1bb)]?.[v(0x20a,0x1de)];if(r?.[v(0x1fe,0x245)]){d[v(0x20a,0x1cb)]=r;e['isSharingAssignmentStore']=!![];}}b[v(0x1f2,0x1ad)]['call'](e,d);e['defaultCalendar']=new e[(v(0x1b2,0x1dc))][(v(0x233,0x22c))]({'unspecifiedTimeIsWorking':e[v(0x230,0x276)]});e['defaultCalendar']['project']=e;const {calendarsData:k,eventsData:l,dependenciesData:m,resourcesData:n,assignmentsData:o}=e;const p=Boolean(k||l||m||n||o||j||g||h||f||i);if(p){e[v(0x1d8,0x1db)]({'calendarsData':k,'eventsData':l,'dependenciesData':m,'resourcesData':n,'assignmentsData':o,'calendars':j,'events':g,'dependencies':h,'resources':f,'assignments':i});delete e[v(0x1c4,0x1d9)];delete e['eventsData'];delete e[v(0x1cf,0x1ac)];delete e[v(0x20b,0x1f6)];delete e['assignmentsData'];}else{e[v(0x206,0x228)]();}}['doDestroy'](){const d=this;d[w(0x136,0x105)]?.[w(0x10b,0xd4)]();d[w(0x15a,0x141)]?.['destroy']();d[w(0x15d,0x11e)]?.[w(0xd0,0xd4)]();d['resourceStore']?.['destroy']();d['calendarManagerStore']?.[w(0x9b,0xd4)]();d[w(0x150,0x132)][w(0x9c,0xd4)]();d[w(0xc2,0xfe)]?.[w(0xe0,0xd4)]();function w(a,b){return t(a,b-0x425);}b[w(0x13a,0x117)][w(0xbe,0xeb)](this);}async[t(-0x342,-0x339)](d){const e=this;e[x(0x469,0x493)]=!![];function x(a,b){return t(b,a-0x7b3);}e[x(0x4a1,0x4e4)]?.(d||{});if(d['calendars']||d[x(0x466,0x491)]){e[x(0x454,0x47e)][x(0x489,0x49b)]=d[x(0x499,0x4ce)]||d[x(0x466,0x47c)];}if(d[x(0x452,0x478)]||d['resourcesData']){e[x(0x45c,0x422)]['data']=d[x(0x452,0x46c)]||d[x(0x4ad,0x49b)];}if(d[x(0x473,0x4a6)]||d[x(0x49d,0x476)]){e['assignmentStore']['data']=d[x(0x473,0x42d)]||d[x(0x49d,0x484)];}if(d['events']||d[x(0x47e,0x498)]){e[x(0x493,0x47c)][x(0x489,0x444)]=d['events']||d['eventsData'];}if(d['tasks']||d[x(0x475,0x47f)]){e[x(0x493,0x4b6)][x(0x489,0x4cf)]=d[x(0x4bd,0x4e8)]||d[x(0x475,0x4a7)];}if(d[x(0x4dd,0x514)]||d[x(0x471,0x476)]){e['dependencyStore'][x(0x489,0x4a4)]=d[x(0x4dd,0x4c4)]||d[x(0x471,0x436)];}await e[x(0x481,0x488)]();e['isLoadingInlineData']=![];return;}async[t(-0x306,-0x332)](){await this['commitAsync']();function y(a,b){return t(b,a-0x38c);}if(!this[y(0x4b,0x59)])this['trigger'](y(0xaf,0xc7));}[t(-0x388,-0x363)](d,e){const f=e?.[z(0x495,0x4ca)]||this[d+z(0x46c,0x44c)];function z(a,b){return t(b,a-0x789);}let g=e?.[z(0x4ab,0x4d7)];if(!g){if(this[z(0x445,0x401)]()[d+'ModelClass']!==f[z(0x445,0x428)]()[z(0x4ab,0x4b1)]){g=f[z(0x445,0x469)]()[z(0x4ab,0x464)];}else{g=this[d+z(0x474,0x484)];}}return{'storeClass':f,'modelClass':g};}[t(-0x2fd,-0x2eb)](d){this['eventStore']=d;}[t(-0x2c0,-0x2f5)](d,e){const f=this,{stm:g}=f;f[A(0x1c9,0x193)](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f[A(0x16e,0x160)](A(0x1a0,0x190),d);d=new h(_eng[A(0x1bb,0x1af)]({'modelClass':i,'project':f,'stm':g},d));}else{d['project']=f;if(!d[A(0x1f1,0x1d3)]){g[A(0x18c,0x194)](d);d['joinRecordsToProject'](f);}}if(e&&g[A(0x1c4,0x19f)](e)){g[A(0x1b9,0x1d5)](e);e[A(0x188,0x1bf)](f);const {assignmentsForRemoval:j}=e;j['forEach'](k=>{function B(a,b){return A(b,a- -0x4a4);}const l=k[B(-0x314,-0x311)];if(l){const m=d[B(-0x304,-0x2e0)](l['id']);if(m){k[B(-0x314,-0x2de)]=m;j[B(-0x2f1,-0x2f7)](k);}}});e[A(0x1f0,0x1c5)]();}function A(a,b){return t(a,b-0x4c3);}if(!d[A(0x1a4,0x1d3)]){d[A(0x1c7,0x1e3)](f);}return d;}['updateEventStore'](d,e){this[C(0x18a,0x189)](d);function C(a,b){return t(a,b-0x4e9);}this['trigger']('eventStoreChange',{'store':d});}[t(-0x33d,-0x338)](d){function D(a,b){return t(b,a-0x2ee);}this[D(-0x19,0x24)]=d;}[t(-0x376,-0x33c)](d,e){const f=this,{stm:g}=f;f['detachStore'](e);if(e&&g[E(-0x2ed,-0x307)](e)){g['removeStore'](e);e[E(-0x2cd,-0x2da)](f);}if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f[E(-0x32c,-0x2f4)](E(-0x317,-0x30d),d);d=new h(_eng[E(-0x2dd,-0x2a1)]({'modelClass':i,'project':f,'stm':g},d));}else{d[E(-0x312,-0x33f)]=f;if(!d[E(-0x2b9,-0x2fc)]){g[E(-0x2f8,-0x2d9)](d);d[E(-0x2c1,-0x296)](f);}}function E(a,b){return t(b,a-0x37);}if(!d[E(-0x2b9,-0x2f0)]){d[E(-0x2a9,-0x262)](f);}return d;}[t(-0x2f2,-0x32c)](d,e){this[F(0x1e7,0x1f6)](d);function F(a,b){return t(a,b-0x556);}this[F(0x23d,0x202)](F(0x226,0x22b),{'store':d});}[t(-0x35b,-0x35a)](d){this['resourceStore']=d;}['changeResourceStore'](d,e){const f=this,{stm:g}=f;f[G(-0x4e,-0x41)](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f['resolveStoreAndModelClass'](G(-0x53,-0x13),d);d=new h(_eng[G(-0x46,-0x25)]({'modelClass':i,'project':f,'stm':g},d));}else{d[G(-0x1c,-0x5a)]=f;if(!d['isChainedFromProject']){g[G(-0x4e,-0x40)](d);d[G(-0x15,-0x9)](f);}}if(e&&g[G(-0x4,-0x35)](e)){g[G(0x47,0x1)](e);e[G(-0x39,-0x15)](f);const {assignmentsForRemoval:j}=e;j[G(-0x73,-0x2f)](k=>{const l=k[H(0x170,0x164)];function H(a,b){return G(b,a-0x183);}if(l){const m=d[H(0x14f,0x157)](l['id']);if(m){k[H(0x170,0x133)]=m;j['delete'](k);}}});e[G(-0x16,-0x1d)]();}function G(a,b){return t(a,b-0x2ef);}if(!d[G(-0x2c,-0x1)]){d['setProject'](f);}return d;}[t(-0x38c,-0x362)](d,e){function I(a,b){return t(b,a-0x5f7);}this['attachStore'](d);this[I(0x2a3,0x2d5)](I(0x2ba,0x2d4),{'store':d});}[t(-0x2f0,-0x2e9)](d){function J(a,b){return t(b,a-0x67);}this[J(-0x27d,-0x29f)]=d;}[t(-0x374,-0x331)](d,e){const f=this;f[K(0xe7,0x127)](e);function K(a,b){return t(b,a-0x417);}if(!(d instanceof _enc)){const {storeClass:g,modelClass:h}=f['resolveStoreAndModelClass'](K(0x118,0xea),d);d=new g(_eng[K(0x103,0x13f)]({'modelClass':h,'project':f,'stm':f['stm']},d));}else{d[K(0xce,0x106)]=f;if(!d[K(0x127,0x13e)]){f[K(0xf0,0xe1)]['addStore'](d);d['joinRecordsToProject'](f);}}return d;}['updateDependencyStore'](d,e){this[L(0x67,0x80)](d);function L(a,b){return t(a,b-0x3e0);}this[L(0xce,0x8c)]('dependencyStoreChange',{'store':d});}[t(-0x33a,-0x2f7)](d){this['calendarManagerStore']=d;}[t(-0x309,-0x2df)](d,e){const f=this;f[M(0xca,0x83)](e);if(!(d instanceof _enc)){const g=d?.[M(0xde,0xbf)]||f[M(0x75,0xb0)];const h=d?.['modelClass']||g['getDefaultConfiguration']()[M(0xbe,0xd5)]||f[M(0xcf,0x97)];d=new g(_eng[M(0xa6,0x9f)]({'modelClass':h,'project':f,'stm':f[M(0xbf,0x8c)]},d));}else{d[M(0x27,0x6a)]=f;if(!d[M(0xc0,0xc3)]){f['stm'][M(0x88,0x84)](d);}}if(!d[M(0xa6,0xc3)]){d['setProject'](f);}function M(a,b){return t(a,b-0x3b3);}return d;}[t(-0x31e,-0x321)](d,e){this[N(0x1b,0x60)](d);function N(a,b){return t(a,b-0x3c0);}this[N(0x61,0x6c)](N(0x65,0x7b),{'store':d});}get[t(-0x32b,-0x32e)](){function O(a,b){return t(b,a-0x6dc);}return this[O(0x3f7,0x42b)]||this[O(0x3e9,0x410)];}set[t(-0x32f,-0x32e)](d){function P(a,b){return t(a,b-0x5b9);}this[P(0x2f4,0x2d4)]=d;}get[t(-0x388,-0x35e)](){function Q(a,b){return t(b,a-0x81);}return this[Q(-0x2ad,-0x2ef)];}async[t(-0x2a6,-0x2db)](d){function R(a,b){return t(b,a-0x526);}this['eventStore'][R(0x21d,0x1f8)](d);return this[R(0x234,0x26d)]();}async[t(-0x2e2,-0x300)](d){function S(a,b){return t(a,b-0x8d);}this[S(-0x2a1,-0x27a)]['add'](d);return this[S(-0x23c,-0x265)]();}async[t(-0x2ea,-0x325)](d){function T(a,b){return t(a,b-0x65a);}this['resourceStore'][T(0x37e,0x351)](d);return this[T(0x36f,0x368)]();}async[t(-0x31d,-0x347)](d){this[U(0x2f9,0x325)][U(0x2d4,0x2f9)](d);function U(a,b){return t(b,a-0x5dd);}return this['commitAsync']();}[t(-0x2d6,-0x30b)](){function V(a,b){return t(b,a-0xde);}if(!this['hasPendingAutoCommit']){this[V(-0x1fe,-0x1d4)]({'fn':()=>this[V(-0x214,-0x233)]?.(),'name':V(-0x214,-0x1e6),'delay':0xa});}}get['hasPendingAutoCommit'](){function W(a,b){return t(b,a-0x5cc);}return this[W(0x2b3,0x2b3)]('commitAsync');}['unScheduleAutoCommit'](){this['clearTimeout']('commitAsync');}async[t(-0x321,-0x2f2)](){function X(a,b){return t(b,a-0xfc);}if(this['isPerformingCommit'])return this[X(-0x231,-0x204)];this[X(-0x258,-0x212)]('beforeCommit');return this[X(-0x231,-0x263)]=this[X(-0x1dd,-0x1c7)]();}async['doCommitAsync'](){const d=this;function Y(a,b){return t(a,b-0x5c1);}if(!d['$invalidated'][Y(0x256,0x268)]&&!d['$leaving'][Y(0x221,0x268)]&&!d['hasLoadedDataToCommit']&&!d[Y(0x27c,0x2b7)]){d[Y(0x22d,0x26d)](Y(0x2ed,0x2b9));return;}d[Y(0x2a3,0x2d0)][Y(0x2ac,0x286)]();d[Y(0x2f0,0x2c0)]=!![];await delay(0x0);if(!d['isDestroyed']){d[Y(0x2c3,0x2d5)]();for(const i of d[Y(0x243,0x269)]){i[Y(0x2dc,0x2df)]();}const {isInitialCommit:e,silenceInitialCommit:f}=d;const g=e&&f;d[Y(0x2fa,0x2ba)][Y(0x2a0,0x2a9)]();d[Y(0x2a3,0x2dd)][Y(0x29a,0x2a9)]();d[Y(0x2c0,0x299)]=!![];d[Y(0x2a3,0x2de)]=![];d[Y(0x302,0x2c0)]=![];const h=[d[Y(0x301,0x2ba)],d[Y(0x2f4,0x2dd)],d[Y(0x2bc,0x2a1)],d['resourceStore'],d[Y(0x28d,0x262)]];h[Y(0x2e2,0x2a3)](j=>{j[Z(-0x372,-0x36a)]?.();function Z(a,b){return Y(a,b- -0x5ce);}j[Z(-0x334,-0x355)]?.();});d[Y(0x290,0x28d)]=!![];d[Y(0x22a,0x26d)](Y(0x245,0x26e),{'isInitialCommit':e,'isCalculated':!![]});if(g){for(const j of d[Y(0x245,0x269)]){j[Y(0x2ac,0x276)](!![]);}}else{for(const k of d[Y(0x2ac,0x269)]){k[Y(0x2c6,0x2b4)](!![]);k[Y(0x2b2,0x276)]();}for(const l of d['$invalidated']){l[Y(0x274,0x272)](![],!![]);}}d[Y(0x2b8,0x28d)]=![];d['$invalidated'][Y(0x26d,0x286)]();d[Y(0x25b,0x26d)](Y(0x2ac,0x271));h['forEach'](m=>{function a0(a,b){return Y(b,a- -0x30f);}m[a0(-0x4a,-0x53)]?.();m[a0(-0x38,-0x23)]?.();});d['trigger'](Y(0x2d6,0x2b9));return!![];}}async[t(-0x36c,-0x33f)](){return this['commitAsync']();}['invalidate'](d){function a1(a,b){return t(a,b-0x197);}this[a1(-0x207,-0x1c1)]['add'](d);this[a1(-0x14a,-0x174)]();}async[t(-0x389,-0x35b)](){return!![];}['getStm'](){function a2(a,b){return t(b,a-0x3c2);}return this[a2(0x9b,0x90)];}set['stm'](d){d=this[a3(0x2a7,0x264)]=new _enf(_eng[a3(0x2df,0x2d3)]({'disabled':!![]},d));function a3(a,b){return t(b,a-0x5f3);}d[a3(0x2bd,0x2a4)]({'restoringStop':async()=>{function a4(a,b){return a3(b-0x21,a);}d['disable']();await this['commitAsync']();if(!this[a4(0x2d8,0x2d3)]){d['enable']();this[a4(0x2eb,0x2c0)](a4(0x373,0x33c));}}});}get[t(-0x316,-0x327)](){function a5(a,b){return t(a,b-0x3f);}return this[a5(-0x2fd,-0x30d)];}[t(-0x2d5,-0x2e6)](){function a6(a,b){return t(a,b-0x68);}return!this[a6(-0x285,-0x285)]&&!this['isPerformingCommit']&&this['isInitialCommitPerformed'];}}c[t(-0x2fd,-0x31b)]=t(-0x32e,-0x2f9);c[t(-0x333,-0x322)]=!![];return c;}){}export{DelayableWrapper,SchedulerCoreProjectMixin};
@@ -1 +1 @@
1
- (function(a,b){function l(a,b){return _enb(b- -0x307,a);}const c=a();while(!![]){try{const d=-parseInt(l(-0x15c,-0x175))/0x1*(parseInt(l(-0x174,-0x16e))/0x2)+-parseInt(l(-0x155,-0x172))/0x3*(-parseInt(l(-0x193,-0x19a))/0x4)+-parseInt(l(-0x165,-0x187))/0x5*(parseInt(l(-0x194,-0x193))/0x6)+parseInt(l(-0x1bb,-0x1ab))/0x7*(-parseInt(l(-0x18c,-0x190))/0x8)+-parseInt(l(-0x163,-0x179))/0x9*(parseInt(l(-0x1bc,-0x19d))/0xa)+-parseInt(l(-0x160,-0x182))/0xb*(parseInt(l(-0x1a6,-0x197))/0xc)+parseInt(l(-0x174,-0x17e))/0xd*(parseInt(l(-0x199,-0x1a6))/0xe);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x3acbb));var __decorate=function(a,b,e,f){function m(a,b){return _enb(b-0x27,a);}var g=arguments[m(0x178,0x18f)],h=g<0x3?b:f===null?f=Object[m(0x191,0x196)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect['decorate']==='function')h=Reflect[m(0x1a3,0x1c2)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0x1b6,0x1be)](b,e,h),h;};import{Reject}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _ena(){const E=['isConstrained','constructor','102dfDALV','doCalculateEffectiveEndDateInterval','unlink','376TLtZNK','earlyStartDate','calculateEndDateConstraintIntervals','onEmptyEffectiveInterval','calculateEffectiveDuration','calculateEndDateProposed','earlyEndDate','calculateEarlyEndDateConstraintIntervals','onNonEmptyEffectiveInterval','17440saKjGY','start','calculateStartDateProposed','shouldRollupChildEarlyStartDate','isManuallyScheduled','2412498PdjTpS','pickDirectionSchedule','resume','direction','13261625SIbsXG','shouldRollupChildEarlyEndDate','isConstrainedAlongDirection','shouldRollupChildLateEndDate','date','99486UenRjs','return','createConflictEffect','effectiveDirection','3fiNxga','shouldSkipNonWorkingTime','doCalculateEffectiveStartDateInterval','3XDxZyB','calculateStartDatePure','defineProperty','calculateEndDatePure','10878TQAhGH','endDate','decorate','new','startDateConstraintIntervals','calculateLateEndDateConstraintIntervals','57862PxEAom','prototype','_earlySchedule','calculateMaxChildrenEndDate','leaveGraph','14xcfUbi','earlySchedule','enterGraph','call','calculateEarlyStartDate','unscheduled','scheduleMixinClass','length','calculateMinChildrenStartDate','260dqCrcT','startDate','hasSubEvents','1643428rFmrhn','calculateEarlyEndDate','getOwnPropertyDescriptor','24GhlYwM','calculateProjectedXDateWithDuration'];_ena=function(){return E;};return _ena();}import{ConflictEffect}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';import{HasSubEventsMixin}from'../scheduler_basic/HasSubEventsMixin.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';import{HasPercentDoneMixin}from'./HasPercentDoneMixin.js';class ConstrainedEarlyEventMixin extends Mixin([HasSubEventsMixin,HasPercentDoneMixin],a=>{const b=a['prototype'];class c extends a{get['earlyPreSchedule'](){return this['earlySchedule'];}get['earlySchedule'](){function n(a,b){return _enb(a- -0x227,b);}if(this[n(-0xc9,-0xc7)]!==void 0x0)return this[n(-0xc9,-0xb2)];const d=new this[(n(-0xb4,-0xcf))][(n(-0xc0,-0xda))]({'id':n(-0xc5,-0xac)},null,null,![],!![]);d['event']=this;return this[n(-0xc9,-0xb1)]=d;}['enterGraph'](d){function o(a,b){return _enb(a- -0xf5,b);}super[o(0x6e,0x51)](d);this['earlySchedule'][o(0x6e,0x68)](d);}[p(-0xaf,-0xcb)](d){function q(a,b){return p(b,a-0x384);}this[q(0x2bb,0x2a0)]['leaveGraph'](d);super[q(0x2b9,0x2b6)](d);}[p(-0xc1,-0xb5)](){function r(a,b){return p(a,b- -0x23);}this[r(-0xde,-0xec)]['unlink']();super['unlink']();}*[p(-0xa7,-0xc6)](){function s(a,b){return p(b,a-0x413);}return yield this[s(0x34a,0x357)]['$'][s(0x353,0x36a)];}*['calculateEarlyEndDate'](){function t(a,b){return p(a,b-0x4f3);}return yield this[t(0x43e,0x42a)]['$'][t(0x466,0x462)];}*['calculateStartDateConstraintIntervals'](){return[];}*[p(-0xc1,-0xb2)](){return[];}*['calculateEarlyStartDateConstraintIntervals'](){return[];}*[p(-0xbf,-0xad)](){return[];}*['calculateLateStartDateConstraintIntervals'](){return[];}*[p(-0xaf,-0xd0)](){return[];}*[p(-0x9e,-0xa8)](d){return!![];}*[p(-0x87,-0xa1)](d){return!![];}*['shouldRollupChildLateStartDate'](d){return!![];}*[p(-0x8f,-0x9f)](d){return!![];}*[p(-0xb2,-0x95)](){const d=yield this['$'][u(-0x1bb,-0x19f)];let e;const f=yield*this['isManuallyScheduled']();function u(a,b){return p(a,b- -0x105);}if(!f&&!(yield this['$'][u(-0x1e4,-0x1ca)])&&(yield*this['isConstrainedAlongDirection'](d[u(-0x1bd,-0x1a8)]))){if(yield*this[u(-0x1a8,-0x1c4)]()){return yield*this[u(-0x1cf,-0x1c7)]();}e=yield this['pickDirectionSchedule'](d[u(-0x1a3,-0x1a8)])['$'][u(-0x1b8,-0x1c5)];}return e||(yield*b[u(-0x1bc,-0x19a)]['call'](this));}*[p(-0xa1,-0xa9)](){const d=yield this['$'][v(0x40e,0x40e)];let e;function v(a,b){return p(b,a-0x4a8);}const f=yield*this[v(0x401,0x3f8)]();if(!f&&!(yield this['$'][v(0x3e3,0x3e3)])&&(yield*this[v(0x408,0x418)](d[v(0x405,0x426)]))){if(yield*this[v(0x3e9,0x3e3)]()){return yield*this[v(0x3e6,0x403)]();}e=yield this[v(0x403,0x3e2)](d[v(0x405,0x40b)])['$']['startDate'];}return e||(yield*b['calculateStartDateProposed'][v(0x3e1,0x3ed)](this));}*['calculateEndDatePure'](){const d=yield this['$'][w(-0x1b,-0x1b)];let e;const f=yield*this[w(-0x43,-0x28)]();function w(a,b){return p(a,b-0x7f);}if(!f&&!(yield this['$'][w(-0x51,-0x46)])&&(yield*this[w(-0x25,-0x21)](d[w(-0x36,-0x24)]))){if(yield*this[w(-0x4f,-0x40)]()){return yield*this[w(-0x59,-0x4d)]();}e=yield this['pickDirectionSchedule'](d['direction'])['$'][w(-0x12,-0x12)];}return e||(yield*b[w(-0x1c,-0x14)][w(-0x34,-0x48)](this));}*[p(-0xac,-0xaf)](){function x(a,b){return p(a,b- -0x74);}const d=yield this['$'][x(-0xf6,-0x10e)];let e;const f=yield*this['isManuallyScheduled']();if(!f&&!(yield this['$'][x(-0x152,-0x139)])&&(yield*this[x(-0xf6,-0x114)](d[x(-0x115,-0x117)]))){if(yield*this[x(-0x12c,-0x133)]()){return yield*this[x(-0x121,-0x140)]();}e=yield this[x(-0x11c,-0x119)](d[x(-0xfa,-0x117)])['$'][x(-0x10c,-0x105)];}return e||(yield*b[x(-0x11e,-0x123)][x(-0x156,-0x13b)](this));}*['isConstrainedAlongDirection'](d){function y(a,b){return p(b,a-0x50d);}return yield*this[y(0x444,0x461)][y(0x454,0x437)]();}['pickDirectionSchedule'](d){return this['earlySchedule'];}*[p(-0xa5,-0x9b)](d,e){function z(a,b){return p(b,a- -0xfd);}const f=d===z(-0x1a7,-0x1b4)?yield*e[z(-0x194,-0x17b)](!![]):yield*e[z(-0x1b3,-0x1cd)](!![]);return ConflictEffect[z(-0x18c,-0x1a4)]({'intervals':[...f['intersectionOf']],'sourceSchedule':e});}*[p(-0x9a,-0xb1)](d,e){const f=yield*this['createConflictEffect'](d,e);function A(a,b){return p(b,a-0xb4);}if((yield f)===EffectResolutionResult['Cancel']){yield Reject(f);return{'kind':A(0x10,-0xa)};}else{return{'kind':A(0x18,-0x9),'value':null};}}*[p(-0x90,-0xac)](d,e){}*['getDateShifter'](d){const e=this;function B(a,b){return p(b,a-0x23a);}const f=yield*this[B(0x18a,0x18c)]();if(f==null){return null;}return function*(g){function C(a,b){return B(b-0x353,a);}return yield*e[C(0x4d2,0x4d3)](g,d,f);};}*[p(-0xb9,-0x98)](){let d=yield*super['shouldSkipNonWorkingTime']();function D(a,b){return p(a,b-0x135);}if(d){const e=yield*this[D(0xa7,0x85)]();d=e>0x0;}return d;}}c['scheduleMixinClass']=ConstrainedScheduleMixin;__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[p(-0xc0,-0xce)],p(-0xc6,-0xb3),void 0x0);function p(a,b){return _enb(b- -0x22b,a);}__decorate([model_field({'type':p(-0xbe,-0x9e),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],p(-0x94,-0xae),void 0x0);__decorate([field()],c[p(-0xdd,-0xce)],p(-0x84,-0x8e),void 0x0);__decorate([field()],c[p(-0xc6,-0xce)],'endDateConstraintIntervals',void 0x0);__decorate([calculate(p(-0xc6,-0xb3))],c[p(-0xc2,-0xce)],p(-0xd9,-0xc6),null);__decorate([calculate('earlyEndDate')],c[p(-0xed,-0xce)],p(-0xd1,-0xbd),null);__decorate([calculate(p(-0x8b,-0x8e))],c['prototype'],'calculateStartDateConstraintIntervals',null);__decorate([calculate('endDateConstraintIntervals')],c[p(-0xde,-0xce)],p(-0x9b,-0xb2),null);return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x15b;let f=c[d];return f;};return _enb(a,b);}export{ConstrainedEarlyEventMixin};
1
+ (function(a,b){function l(a,b){return _enb(b-0x329,a);}const c=a();while(!![]){try{const d=-parseInt(l(0x4c5,0x4d1))/0x1*(parseInt(l(0x4fe,0x4fe))/0x2)+-parseInt(l(0x4fe,0x4f1))/0x3*(-parseInt(l(0x4cd,0x4c4))/0x4)+parseInt(l(0x4e2,0x4d8))/0x5*(-parseInt(l(0x4fd,0x4f8))/0x6)+-parseInt(l(0x4b8,0x4d4))/0x7+-parseInt(l(0x4c9,0x4e8))/0x8*(-parseInt(l(0x4c9,0x4c0))/0x9)+-parseInt(l(0x4ed,0x4fc))/0xa+parseInt(l(0x4f4,0x4d2))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xd7e80));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x194;let f=c[d];return f;};return _enb(a,b);}var __decorate=function(a,b,e,f){function m(a,b){return _enb(a-0x3ae,b);}var g=arguments[m(0x55c,0x57b)],h=g<0x3?b:f===null?f=Object[m(0x56c,0x586)](b,e):f,j;if(typeof Reflect===m(0x555,0x55a)&&typeof Reflect[m(0x577,0x564)]===m(0x562,0x54f))h=Reflect['decorate'](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0x563,0x581)](b,e,h),h;};import{Reject}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConflictEffect}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';import{HasSubEventsMixin}from'../scheduler_basic/HasSubEventsMixin.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';import{HasPercentDoneMixin}from'./HasPercentDoneMixin.js';class ConstrainedEarlyEventMixin extends Mixin([HasSubEventsMixin,HasPercentDoneMixin],a=>{const b=a['prototype'];class c extends a{get[n(0x290,0x27d)](){function o(a,b){return n(b,a-0x4e);}return this[o(0x2b4,0x2b7)];}get['earlySchedule'](){if(this[p(0x1fc,0x20f)]!==void 0x0)return this[p(0x216,0x20f)];const d=new this[(p(0x227,0x233))]['scheduleMixinClass']({'id':p(0x1fd,0x210)},null,null,![],!![]);d[p(0x21c,0x226)]=this;function p(a,b){return n(a,b- -0x56);}return this[p(0x1f6,0x20f)]=d;}[n(0x25f,0x27a)](d){function q(a,b){return n(b,a- -0x440);}super['enterGraph'](d);this[q(-0x1da,-0x1de)][q(-0x1c6,-0x1ab)](d);}[n(0x29a,0x286)](d){this[r(0x395,0x395)][r(0x3b5,0x3d0)](d);function r(a,b){return n(b,a-0x12f);}super[r(0x3b5,0x3a6)](d);}['unlink'](...d){function s(a,b){return n(b,a- -0x311);}this[s(-0xab,-0x8a)][s(-0xb6,-0xae)](...d);super[s(-0xb6,-0xc6)](...d);}*[n(0x279,0x25f)](){function t(a,b){return n(a,b- -0xec);}return yield this[t(0x18d,0x17a)]['$'][t(0x1a9,0x1a3)];}*['calculateEarlyEndDate'](){function u(a,b){return n(b,a- -0x443);}return yield this[u(-0x1dd,-0x1f9)]['$'][u(-0x1bc,-0x1b5)];}*[n(0x27a,0x298)](){return[];}*[n(0x295,0x293)](){return[];}*['calculateEarlyStartDateConstraintIntervals'](){return[];}*[n(0x24d,0x268)](){return[];}*[n(0x26e,0x25a)](){return[];}*[n(0x292,0x282)](){return[];}*['shouldRollupChildEarlyStartDate'](d){return!![];}*['shouldRollupChildEarlyEndDate'](d){return!![];}*['shouldRollupChildLateStartDate'](d){return!![];}*[n(0x283,0x264)](d){return!![];}*[n(0x288,0x274)](){function v(a,b){return n(a,b- -0x384);}const d=yield this['$'][v(-0x135,-0x12d)];let e;const f=yield*this[v(-0x10c,-0x123)]();if(!f&&!(yield this['$'][v(-0xf6,-0x100)])&&(yield*this[v(-0xe2,-0xf2)](d[v(-0xff,-0xf4)]))){if(yield*this[v(-0x10f,-0xf7)]()){return yield*this[v(-0x11f,-0x116)]();}e=yield this[v(-0x13d,-0x124)](d[v(-0xd6,-0xf4)])['$']['startDate'];}return e||(yield*b[v(-0x10f,-0x110)][v(-0x11a,-0x109)](this));}*[n(0x29d,0x299)](){const d=yield this['$'][w(-0x113,-0x114)];let e;const f=yield*this[w(-0x109,-0x115)]();if(!f&&!(yield this['$'][w(-0xe6,-0xd0)])&&(yield*this['isConstrainedAlongDirection'](d[w(-0xda,-0xf3)]))){if(yield*this[w(-0xdd,-0xf2)]()){return yield*this[w(-0xfc,-0xea)]();}e=yield this[w(-0x10a,-0xf0)](d[w(-0xda,-0xf4)])['$'][w(-0xdb,-0xee)];}function w(a,b){return n(b,a- -0x36a);}return e||(yield*b['calculateStartDateProposed']['call'](this));}*[n(0x288,0x288)](){const d=yield this['$'][x(-0x16a,-0x186)];let e;function x(a,b){return n(a,b- -0x3dd);}const f=yield*this[x(-0x192,-0x17c)]();if(!f&&!(yield this['$'][x(-0x17a,-0x159)])&&(yield*this['isConstrainedAlongDirection'](d[x(-0x16f,-0x14d)]))){if(yield*this[x(-0x143,-0x150)]()){return yield*this[x(-0x171,-0x15f)]();}e=yield this[x(-0x19a,-0x17d)](d['direction'])['$'][x(-0x168,-0x156)];}return e||(yield*b['calculateEndDatePure'][x(-0x169,-0x162)](this));}*[n(0x279,0x283)](){const d=yield this['$'][y(0x516,0x523)];let e;const f=yield*this[y(0x520,0x51d)]();function y(a,b){return n(b,a-0x2bf);}if(!f&&!(yield this['$'][y(0x543,0x53c)])&&(yield*this[y(0x551,0x54d)](d[y(0x54f,0x56f)]))){if(yield*this[y(0x54c,0x54e)]()){return yield*this[y(0x53d,0x541)]();}e=yield this[y(0x51f,0x50f)](d[y(0x54f,0x56c)])['$'][y(0x546,0x551)];}return e||(yield*b[y(0x542,0x54b)][y(0x53a,0x521)](this));}*[n(0x290,0x292)](d){function z(a,b){return n(b,a- -0x4a6);}return yield*this[z(-0x240,-0x25a)][z(-0x210,-0x200)]();}[n(0x279,0x260)](d){function A(a,b){return n(a,b- -0x210);}return this[A(0x35,0x56)];}*[n(0x286,0x285)](d,e){function B(a,b){return n(b,a- -0x1d5);}const f=d==='start'?yield*e[B(0x92,0xab)](!![]):yield*e[B(0xb7,0xbe)](!![]);return ConflictEffect[B(0x83,0x6a)]({'intervals':[...f[B(0x89,0x71)]],'sourceSchedule':e});}*['onEmptyEffectiveInterval'](d,e){const f=yield*this[C(0xdb,0xfa)](d,e);function C(a,b){return n(b,a- -0x1aa);}if((yield f)===EffectResolutionResult[C(0xc9,0xc7)]){yield Reject(f);return{'kind':C(0xc2,0xd9)};}else{return{'kind':C(0xb2,0xbb),'value':null};}}*['onNonEmptyEffectiveInterval'](d,e){}*[n(0x2a8,0x28e)](d){function D(a,b){return n(b,a- -0x3ba);}const e=this;const f=yield*this[D(-0x14b,-0x161)]();if(f==null){return null;}return function*(g){function E(a,b){return D(a-0x2de,b);}return yield*e[E(0x1b8,0x1ce)](g,d,f);};}*['shouldSkipNonWorkingTime'](){let d=yield*super['shouldSkipNonWorkingTime']();if(d){const e=yield*this['calculateEffectiveDuration']();d=e>0x0;}return d;}}c[n(0x293,0x275)]=ConstrainedScheduleMixin;__decorate([model_field({'type':n(0x240,0x262),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],n(0x249,0x263),void 0x0);__decorate([model_field({'type':n(0x249,0x262),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],n(0x28c,0x279),void 0x0);function n(a,b){return _enb(b-0xc2,a);}__decorate([field()],c[n(0x254,0x272)],n(0x271,0x256),void 0x0);__decorate([field()],c[n(0x255,0x272)],n(0x29a,0x27f),void 0x0);__decorate([calculate(n(0x25c,0x263))],c['prototype'],n(0x269,0x25f),null);__decorate([calculate(n(0x277,0x279))],c['prototype'],n(0x25f,0x278),null);__decorate([calculate('startDateConstraintIntervals')],c[n(0x25c,0x272)],'calculateStartDateConstraintIntervals',null);__decorate([calculate(n(0x294,0x27f))],c['prototype'],n(0x2af,0x293),null);return c;}){}export{ConstrainedEarlyEventMixin};function _ena(){const F=['enterGraph','call','event','earlyPreSchedule','calculateMaxChildrenEndDate','endDateConstraintIntervals','getOwnPropertyDescriptor','768qdKYMU','calculateLateEndDateConstraintIntervals','calculateEndDateProposed','unscheduled','createConflictEffect','leaveGraph','endDate','calculateEndDatePure','constructor','6MDvmWG','decorate','doCalculateEffectiveEndDateInterval','hasSubEvents','getDateShifter','startDate','direction','23526VcmFiB','isConstrainedAlongDirection','calculateEndDateConstraintIntervals','calculateProjectedXDateWithDuration','280420sqefoR','isConstrained','2gAjtcg','calculateStartDateConstraintIntervals','calculateStartDateProposed','startDateConstraintIntervals','effectiveDirection','new','10296prUIpa','calculateLateStartDateConstraintIntervals','unlink','return','1187144tPaFLh','intersectionOf','calculateEarlyStartDate','pickDirectionSchedule','isManuallyScheduled','date','earlyStartDate','shouldRollupChildLateEndDate','_earlySchedule','earlySchedule','doCalculateEffectiveStartDateInterval','calculateEarlyEndDateConstraintIntervals','object','1574791fCSqvG','33204875lfZUBo','resume','5542341mgzZYa','calculateMinChildrenStartDate','calculateEffectiveDuration','length','565ClbDOd','prototype','Cancel','calculateStartDatePure','scheduleMixinClass','function','defineProperty','calculateEarlyEndDate','earlyEndDate'];_ena=function(){return F;};return _ena();}
@@ -1 +1 @@
1
- function _ena(){const S=['shouldRollupChildEarlyStartDate','maybeSkipNonWorkingTime','calculateMinChildrenStartDate','onNonEmptyEffectiveInterval','Start','getTime','End','startDateConstraintIntervals','20crKBPm','1141657UcJxlX','autoScheduleManualTasksOnSecondPass','resolved','endDate','constraintType','pick','concat','calculateLateStartDateConstraintIntervals','shouldRollupChildLateStartDate','calculateEndDate','minChildrenStartDate','removeField','decorate','end','defineProperty','value','isDateConstraintInterval','project','direction','changeDateConstraintIntervalOnConflict','add','84wwrzfn','event','shouldRollupChildEarlyEndDate','return','function','startDateIsFinite','doCalculateEffectiveEndDateInterval','isIntervalEmpty','kind','phase1','40HAltge','doCalculateEffectiveStartDateInterval','onEmptyEffectiveInterval','effectiveDirection','object','1688wyWWqX','start','isInfinite','endDateIsFinite','calculateStartDate','endDateConstraintIntervals','isManuallyScheduled','setupFields','shouldRollupChildEndDate','14670PfsUNN','3BNkBOU','FinishNoLaterThan','map','copyWith','side','isConstrained','33266PSgSqA','maxChildrenEndDate','783965PGYRql','skipNonWorkingTime','3679962kgnoWK','calculateEndDateConstraintIntervals','shouldSkipNonWorkingTime','calculateMaxChildrenEndDate','prototype','intersectionOf','409056tuzBDX','hasSubEvents','StartNoLaterThan','length','Forward','calculateStartDateConstraintIntervals','shouldRollupChildStartDate','Implement\x20me','containsDate','getOwnPropertyDescriptor','startDate','7076404yZFmZm','1NYtxyc','filter','new','calculateEffectiveConstraintInterval','date','getProject','orderedParentIndex','isDependencyConstraintInterval','FinishNoEarlierThan','StartNoEarlierThan','calculateProjectedXDateWithDuration','calculateLateEndDateConstraintIntervals','earlyPreSchedule','subEventsIterable'];_ena=function(){return S;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x118;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function p(a,b){return _enb(a-0x2ab,b);}const c=a();while(!![]){try{const d=parseInt(p(0x3fd,0x3fe))/0x1*(-parseInt(p(0x3e7,0x409))/0x2)+-parseInt(p(0x3e1,0x3e6))/0x3*(-parseInt(p(0x3fc,0x3e3))/0x4)+parseInt(p(0x3d2,0x3ad))/0x5*(parseInt(p(0x3f1,0x3d6))/0x6)+parseInt(p(0x3e9,0x3df))/0x7+-parseInt(p(0x3d7,0x3be))/0x8*(-parseInt(p(0x3e0,0x401))/0x9)+parseInt(p(0x413,0x3e9))/0xa*(parseInt(p(0x414,0x43c))/0xb)+-parseInt(p(0x3c8,0x3a3))/0xc*(parseInt(p(0x3eb,0x400))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xef391));var __decorate=function(a,b,e,f){function q(a,b){return _enb(a-0x2a,b);}var g=arguments[q(0x173,0x170)],h=g<0x3?b:f===null?f=Object[q(0x179,0x154)](b,e):f,j;if(typeof Reflect===q(0x155,0x14c)&&typeof Reflect[q(0x19f,0x1c7)]===q(0x14b,0x13f))h=Reflect[q(0x19f,0x1ad)](a,b,e,f);else for(var k=a[q(0x173,0x198)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[q(0x1a1,0x1a4)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConstraintInterval}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';function _enr(a,b){return _enb(b- -0x2dc,a);}import{intersectIntervals}from'../../../scheduling/DateInterval.js';import{ConstraintIntervalSide,ConstraintType,Direction}from'../../../scheduling/Types.js';import{isDateFinite,MAX_DATE,MIN_DATE}from'../../../util/Constants.js';import{EdgeInclusion}from'../../../util/Types.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';const isForwardInterval=a=>a['startDateIsFinite'](),isBackwardInterval=a=>a[_enr(-0x1a8,-0x1ad)](),isInflexibleInterval=a=>{function s(a,b){return _enr(a,b-0x246);}return a[s(0xb8,0x8c)]()&&a[s(0x8a,0x99)]()&&a['startDate'][s(0xf2,0xcf)]()===a[s(0xf1,0xd6)]['getTime']();};const calculateEffectiveStartDateConstraintInterval=function*(a,b,c,d,e,f){if(c[t(-0x88,-0x90)]())return c;function t(a,b){return _enr(b,a-0x130);}if(e&&c[t(-0x67,-0x3a)]){const i=new Set();for(const j of c[t(-0x67,-0x76)]){if(j['isInfinite']()){i[t(-0x90,-0x81)](j);}else{const k=j[t(-0x8a,-0xba)]()?yield*a['calculateProjectedXDateWithDuration'](j['startDate'],![],d):j[t(-0x5c,-0x6b)];const l=j[t(-0x7d,-0x50)]()?yield*a[t(-0x50,-0x5f)](j[t(-0x40,-0x60)],![],d):j[t(-0x40,-0x30)];const m=j;i[t(-0x90,-0x86)](m[t(-0x73,-0x72)]({'reflectionOf':m,'side':m[t(-0x72,-0x54)]===ConstraintIntervalSide[t(-0x48,-0x42)]?ConstraintIntervalSide[t(-0x46,-0x3b)]:ConstraintIntervalSide[t(-0x48,-0x34)],'startDate':k,'endDate':l}));}}c[t(-0x67,-0x41)]=i;}const g=c[t(-0x8a,-0xaa)]()?yield*f(c[t(-0x5c,-0x39)]):null;const h=c['endDateIsFinite']()?yield*f(c['endDate']):null;return intersectIntervals([b,ConstraintInterval[t(-0x58,-0x5c)]({'intersectionOf':c[t(-0x67,-0x81)],'startDate':g,'endDate':h})],e);};const calculateEffectiveEndDateConstraintInterval=function*(a,b,c,d,e,f){if(b['isIntervalEmpty']())return b;if(e&&b[u(0x3a9,0x3a0)]){const i=new Set();for(const j of b[u(0x3a9,0x37e)]){if(j[u(0x392,0x3b3)]()){i['add'](j);}else{const k=j['startDateIsFinite']()?yield*a[u(0x3c0,0x395)](j[u(0x3b4,0x3bc)],!![],d):j['startDate'];const l=j[u(0x393,0x3b8)]()?yield*a[u(0x3c0,0x3db)](j[u(0x3d0,0x3be)],!![],d):j[u(0x3d0,0x3d5)];const m=j;i[u(0x380,0x38e)](m[u(0x39d,0x38a)]({'reflectionOf':m,'side':m['side']===ConstraintIntervalSide['Start']?ConstraintIntervalSide['End']:ConstraintIntervalSide[u(0x3c8,0x3b0)],'startDate':k,'endDate':l}));}}b[u(0x3a9,0x3d8)]=i;}const g=b[u(0x386,0x3af)]()?yield*f(b[u(0x3b4,0x3b7)]):null;function u(a,b){return _enr(b,a-0x540);}const h=b[u(0x393,0x378)]()?yield*f(b[u(0x3d0,0x3fc)]):null;return intersectIntervals([c,ConstraintInterval[u(0x3b8,0x3e8)]({'reflectionOf':g||h?b:void 0x0,'intersectionOf':g||h?b[u(0x3a9,0x3b5)]:void 0x0,'startDate':g,'endDate':h})],e);};class EventScheduleMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{function w(a,b){return _enr(a,b-0x46f);}class b extends a{constructor(){super(...arguments);this[v(0x4c,0x22)]=void 0x0;function v(a,b){return _enb(a- -0xce,b);}this['phase']=v(0x58,0x57);this[v(0x50,0x67)]=void 0x0;}get[w(0x297,0x2ac)](){function x(a,b){return w(a,b-0x106);}return this['event']?.[x(0x3b6,0x3b2)];}[w(0x306,0x301)](c){throw new Error('Implement\x20me');}*['calculateStartDate'](){function y(a,b){return w(b,a- -0x54d);}throw new Error(y(-0x26d,-0x28f));}*['calculateEndDate'](){throw new Error('Implement\x20me');}static[w(0x2c0,0x2c6)](c,d){function z(a,b){return w(a,b- -0x43e);}super[z(-0x162,-0x178)](c,d);this[z(-0x108,-0x137)]('parentIndex');this[z(-0x12c,-0x137)](z(-0x165,-0x153));this[z(-0x109,-0x137)]('parentId');this[z(-0x127,-0x137)]('expanded');this[z(-0x129,-0x137)]('readOnly');}}__decorate([model_field({'type':w(0x2e4,0x2e9),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[w(0x2f2,0x2d7)],w(0x2bb,0x2e3),void 0x0);__decorate([model_field({'type':w(0x2dc,0x2e9),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[w(0x2a6,0x2d7)],w(0x2d3,0x2ff),void 0x0);__decorate([calculate(w(0x307,0x2e3))],b[w(0x2b1,0x2d7)],'calculateStartDate',null);__decorate([calculate(w(0x302,0x2ff))],b[w(0x2d5,0x2d7)],w(0x321,0x305),null);return b;}){}class ConstrainedScheduleMixin extends Mixin([EventScheduleMixin],a=>{class b extends a{constructor(){super(...arguments);this[A(0x496,0x4bf)]=Direction[A(0x4c6,0x4d8)];function A(a,b){return _enb(a-0x37c,b);}this[A(0x49a,0x472)]=void 0x0;}[B(-0x47,-0x64)](c){function C(a,b){return B(a,b-0x3ef);}return c[C(0x37a,0x37b)];}*['maybeSkipNonWorkingTime'](c,d=!![],e=null){if(yield*this[D(0x1db,0x1c1)]['hasSubEvents']())return c;let f=c;if(c&&(yield*this[D(0x1aa,0x1c1)][D(0x1f9,0x1e5)]())){f=yield*this[D(0x1e6,0x1c1)][D(0x20f,0x1e2)](c,d);if(f&&e&&!e[D(0x219,0x1f1)](f,EdgeInclusion['LeftAndRight'])){f=c;}}function D(a,b){return B(a,b-0x275);}return f;}['changeDateConstraintIntervalOnConflict'](c,d,e){const {isDateConstraintInterval:f,owner:g}=c;function E(a,b){return B(b,a-0x4ed);}if(f&&g===e){if(this[E(0x435,0x45d)]===Direction[E(0x465,0x445)]){if(d==='start'&&g['constraintType']===ConstraintType[E(0x463,0x48c)]){return c['copyWith']({'startDate':c[E(0x487,0x4a8)],'endDate':null});}if(d===E(0x491,0x4a7)&&g['constraintType']===ConstraintType[E(0x452,0x450)]){return c[E(0x454,0x47a)]({'startDate':c[E(0x487,0x46d)],'endDate':null});}}else{if(d===E(0x448,0x465)&&g[E(0x488,0x4ae)]===ConstraintType[E(0x476,0x44c)]){return c[E(0x454,0x432)]({'startDate':null,'endDate':c[E(0x46b,0x458)]});}if(d===E(0x491,0x4a1)&&g['constraintType']===ConstraintType[E(0x475,0x446)]){return c[E(0x454,0x42e)]({'startDate':null,'endDate':c['startDate']});}}}return c;}*['calculateEffectiveConstraintInterval'](c,d,e,f=![],g=![]){function F(a,b){return B(a,b-0x212);}const {event:h}=this;const i=yield*h['getDateShifter'](c?![]:!![]);if(i==null){return null;}const j=f?yield*h['calculateEffectiveDuration']():0x0;if(j==null){return null;}if(g){if(this[F(0x15b,0x159)]['bwcConflictPostpone']){if(yield*this['isFirstPass']()){d=d[F(0x163,0x193)](m=>!m[F(0x16e,0x199)])[F(0x18d,0x178)](m=>this[F(0x151,0x15b)](m,F(0x194,0x16d),h));e=e[F(0x18a,0x193)](m=>!m[F(0x18b,0x199)])['map'](m=>this[F(0x160,0x15b)](m,F(0x1b9,0x1b6),h));}else{d=d[F(0x19a,0x193)](m=>!m['isDateConstraintInterval']);e=e[F(0x1a5,0x193)](m=>!m[F(0x138,0x158)]);}}else{const m=this['direction']===Direction[F(0x1a6,0x18a)]?isForwardInterval:isBackwardInterval,n=d[F(0x1b4,0x193)](isInflexibleInterval);d=n[F(0x15c,0x189)]?n:d[F(0x190,0x193)](m);const o=e['filter'](isInflexibleInterval);e=o[F(0x16b,0x189)]?o:e['filter'](m);}}const k=c?calculateEffectiveStartDateConstraintInterval:calculateEffectiveEndDateConstraintInterval;const l=yield*k(h,intersectIntervals(d,f),intersectIntervals(e,f),j,f,i);return l;}*['calculateStartDateConstraintIntervals'](){function G(a,b){return B(b,a-0x79);}return this[G(-0x3f,-0x30)]===Direction['Forward']?yield*this['event']['calculateEarlyStartDateConstraintIntervals']():yield*this['event'][G(0x17,0x13)]();}*[B(-0x7f,-0x91)](){function H(a,b){return B(b,a- -0x1d7);}return this[H(-0x28f,-0x288)]===Direction[H(-0x25f,-0x281)]?yield*this[H(-0x28b,-0x28d)]['calculateEarlyEndDateConstraintIntervals']():yield*this[H(-0x28b,-0x264)][H(-0x24c,-0x24b)]();}*[B(-0xb7,-0xaa)](c=![],d=![]){const e=yield this['$'][I(-0xe9,-0xe7)];const f=yield this['$']['endDateConstraintIntervals'];function I(a,b){return B(b,a- -0x7e);}return yield*this['calculateEffectiveConstraintInterval'](!![],e[I(-0xe1,-0xb2)](yield this[I(-0x132,-0x105)]['$'][I(-0xe9,-0xcd)]),f['concat'](yield this['event']['$'][I(-0x11f,-0x120)]),c,d);}*[B(-0xdb,-0xaf)](c=![],d=![]){function J(a,b){return B(b,a-0x199);}const e=yield this['$'][J(0x12e,0x104)];const f=yield this['$'][J(0xf8,0xf2)];return yield*this[J(0x11c,0x104)](![],e[J(0x136,0x11c)](yield this[J(0xe5,0xd1)]['$'][J(0x12e,0x151)]),f[J(0x136,0x148)](yield this[J(0xe5,0xd3)]['$'][J(0xf8,0xe0)]),c,d);}*[B(-0x56,-0x86)](c){function K(a,b){return B(b,a-0x575);}return this['direction']===Direction[K(0x4ed,0x4ea)]?yield*this[K(0x4c1,0x4bd)][K(0x503,0x4fb)](c):yield*this[K(0x4c1,0x4f2)][K(0x514,0x4f5)](c);}*[B(-0x51,-0x70)](){let c=MAX_DATE;const d=yield*this[L(0x21c,0x22f)]['subEventsIterable']();function L(a,b){return B(a,b-0x2e3);}for(const e of d){if(!(yield*this[L(0x278,0x25d)](e)))continue;let f;if((yield*e[L(0x26b,0x243)]())&&(yield*e[L(0x26a,0x258)]())){f=yield this[L(0x257,0x27f)](e)['$'][L(0x29a,0x284)];}f=f||(yield this[L(0x277,0x27f)](e)['$'][L(0x254,0x261)]);if(f&&f<c)c=f;}return c[L(0x2a1,0x276)]()-MAX_DATE[L(0x265,0x276)]()?c:null;}*[B(-0xc0,-0x9e)](c){function M(a,b){return B(a,b-0x3ca);}return this[M(0x33f,0x312)]===Direction[M(0x328,0x342)]?yield*this[M(0x32b,0x316)][M(0x331,0x317)](c):yield*this['event']['shouldRollupChildLateEndDate'](c);}*[B(-0xab,-0x8f)](){let c=MIN_DATE;const d=yield*this[N(0x4ce,0x4db)][N(0x50f,0x52a)]();for(const e of d){if(!(yield*this[N(0x4e4,0x4bc)](e)))continue;let f;if((yield*e[N(0x4e2,0x4b5)]())&&(yield*e[N(0x4f7,0x4f6)]())){f=yield this['pick'](e)['$'][N(0x4ed,0x4c7)];}f=f||(yield this[N(0x51e,0x52c)](e)['$']['endDate']);if(f&&f>c)c=f;}function N(a,b){return B(b,a-0x582);}return c[N(0x515,0x509)]()-MIN_DATE[N(0x515,0x4f7)]()?c:null;}*['calculateStartDate'](){function O(a,b){return B(a,b-0x177);}let c;let d;if((yield*this['event']['isManuallyScheduled']())&&(!(yield this[O(0xd2,0xbe)]['$']['autoScheduleManualTasksOnSecondPass'])||(yield this[O(0xb1,0xc3)]['$'][O(0xc3,0xcf)])[O(0xe0,0xbf)]===this[O(0xb5,0xbf)])){c=yield this[O(0xb6,0xc3)]['$'][O(0xd3,0xf5)];}else if(yield*this[O(0xae,0xc3)][O(0x11b,0xec)]()){c=yield this['$'][O(0xf2,0x118)];}else if(!(yield*this[O(0xf0,0xe0)]())){c=yield this[O(0xea,0xc3)]['$'][O(0x124,0xf5)];}else{d=yield*this[O(0xe0,0xcd)]();if(d===null){return null;}else if(d[O(0xd5,0xc9)]()){const e=yield*this[O(0xaf,0xc3)][O(0xf4,0xce)](O(0xbb,0xd2),this);if(e['kind']===O(0xde,0xc5)){return e[O(0xf7,0x11d)];}else if(e[O(0xb0,0xca)]===O(0x138,0x110)){d=e[O(0x13c,0x11d)];}}else{yield*this['event'][O(0x100,0x108)]('start',this);}c=this[O(0xef,0xbf)]===Direction['Forward']?isDateFinite(d['startDate'])?d[O(0xe9,0xf5)]:null:isDateFinite(d['endDate'])?d['endDate']:null;}return yield*this[O(0x132,0x106)](c,!![],d);}*['calculateEndDate'](){let c;let d;function P(a,b){return B(a,b-0x3d);}if((yield*this[P(-0x9f,-0x77)]['isManuallyScheduled']())&&(!(yield this[P(-0x5e,-0x7c)]['$'][P(-0x45,-0x2b)])||(yield this[P(-0x6a,-0x77)]['$']['effectiveDirection'])[P(-0x75,-0x7b)]===this[P(-0x83,-0x7b)])){c=yield this[P(-0xa6,-0x77)]['$'][P(-0x4c,-0x29)];}else if(yield*this[P(-0x8f,-0x77)][P(-0x39,-0x4e)]()){c=yield this['$'][P(-0x2a,-0x58)];}else if(!(yield*this[P(-0x35,-0x5a)]())){c=yield this[P(-0x50,-0x77)]['$'][P(-0x45,-0x29)];}else{d=yield*this['doCalculateEffectiveEndDateInterval']();if(d===null){return null;}else if(d[P(-0x94,-0x71)]()){const e=yield*this['event']['onEmptyEffectiveInterval'](P(0x1,-0x1f),this);if(e[P(-0x41,-0x70)]==='return'){return e[P(-0x3b,-0x1d)];}else if(e['kind']===P(-0x14,-0x2a)){d=e[P(-0x49,-0x1d)];}}else{yield*this[P(-0x96,-0x77)][P(-0x13,-0x32)](P(-0x48,-0x1f),this);}c=this['direction']===Direction['Forward']?isDateFinite(d['startDate'])?d[P(-0x46,-0x45)]:null:isDateFinite(d[P(0x7,-0x29)])?d[P(-0xb,-0x29)]:null;}return yield*this[P(-0x50,-0x34)](c,![],d);}*[B(-0x69,-0x97)](){const c=yield this[Q(0x9a,0x98)]['$'][Q(0x102,0xe1)];const d=yield this[Q(0xb3,0x98)]['$'][Q(0x9c,0xab)];function Q(a,b){return B(a,b-0x14c);}const e=yield this['$'][Q(0xf7,0xe1)];const f=yield this['$'][Q(0xd9,0xab)];return e?.[Q(0xc4,0xc3)]>0x0||f?.[Q(0xaa,0xc3)]>0x0||c?.[Q(0xce,0xc3)]>0x0||d?.[Q(0xd5,0xc3)]>0x0;}*['isFirstPass'](){const c=yield this[R(0x3a7,0x389)]()['$'][R(0x337,0x35c)];function R(a,b){return B(a,b-0x404);}return c['direction']===this[R(0x35a,0x34c)];}}__decorate([field({'lazy':!![]})],b[B(-0xbb,-0x8e)],B(-0x31,-0x5f),void 0x0);__decorate([field({'lazy':!![]})],b[B(-0x7c,-0x8e)],B(-0xa7,-0x95),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[B(-0x8c,-0x8e)],B(-0x74,-0x6b),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[B(-0x6e,-0x8e)],'endDateConstraintIntervals',void 0x0);__decorate([calculate(B(-0x77,-0x6b))],b[B(-0x81,-0x8e)],B(-0x76,-0x87),null);function B(a,b){return _enr(a,b-0x10a);}__decorate([calculate(B(-0xcb,-0xa1))],b[B(-0xb8,-0x8e)],B(-0x89,-0x91),null);__decorate([calculate(B(-0x3c,-0x5f))],b[B(-0x82,-0x8e)],B(-0x4a,-0x70),null);__decorate([calculate(B(-0xaf,-0x95))],b[B(-0x87,-0x8e)],B(-0x91,-0x8f),null);__decorate([calculate('startDate')],b[B(-0x7a,-0x8e)],B(-0xa1,-0xa2),null);__decorate([calculate(B(-0x62,-0x66))],b[B(-0xb4,-0x8e)],B(-0x80,-0x60),null);return b;}){}export{ConstrainedScheduleMixin,EventScheduleMixin,calculateEffectiveEndDateConstraintInterval,calculateEffectiveStartDateConstraintInterval,isBackwardInterval,isForwardInterval,isInflexibleInterval};
1
+ (function(a,b){const c=a();function p(a,b){return _enb(b-0xb9,a);}while(!![]){try{const d=parseInt(p(0x21f,0x230))/0x1*(parseInt(p(0x1de,0x1fa))/0x2)+-parseInt(p(0x22b,0x22f))/0x3+-parseInt(p(0x201,0x1fe))/0x4*(-parseInt(p(0x1c9,0x1da))/0x5)+parseInt(p(0x240,0x216))/0x6+-parseInt(p(0x1c9,0x1d9))/0x7*(parseInt(p(0x240,0x219))/0x8)+-parseInt(p(0x203,0x1ed))/0x9+parseInt(p(0x1b9,0x1de))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x6f3f0));var __decorate=function(a,b,e,f){function q(a,b){return _enb(b-0x282,a);}var g=arguments['length'],h=g<0x3?b:f===null?f=Object[q(0x3cb,0x3ad)](b,e):f,j;if(typeof Reflect===q(0x3d8,0x3eb)&&typeof Reflect[q(0x3dd,0x3c1)]==='function')h=Reflect[q(0x3d8,0x3c1)](a,b,e,f);else for(var k=a[q(0x3c7,0x3c2)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConstraintInterval}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{intersectIntervals}from'../../../scheduling/DateInterval.js';function _ena(){const T=['getTime','startDateIsFinite','shouldRollupChildStartDate','add','shouldRollupChildEarlyStartDate','isIntervalEmpty','calculateLateEndDateConstraintIntervals','2060082rdnuhr','isInfinite','calculateStartDateConstraintIntervals','StartNoEarlierThan','calculateLateStartDateConstraintIntervals','shouldRollupChildEndDate','endDateIsFinite','parentId','FinishNoLaterThan','kind','orderedParentIndex','decorate','length','27786VUoRvT','onEmptyEffectiveInterval','side','return','12nKUPMX','maxChildrenEndDate','containsDate','FinishNoEarlierThan','prototype','onNonEmptyEffectiveInterval','copyWith','bwcConflictPostpone','hasSubEvents','intersectionOf','phase','calculateMaxChildrenEndDate','calculateEndDateConstraintIntervals','resolved','pick','concat','doCalculateEffectiveStartDateInterval','calculateEffectiveDuration','isManuallyScheduled','skipNonWorkingTime','calculateEndDate','value','project','filter','4630662JBxljr','subEventsIterable','earlyPreSchedule','2648niMQKz','isConstrained','start','minChildrenStartDate','isDependencyConstraintInterval','StartNoLaterThan','startDate','getProject','changeDateConstraintIntervalOnConflict','object','end','maybeSkipNonWorkingTime','startDateConstraintIntervals','Forward','direction','event','removeField','shouldRollupChildEarlyEndDate','constraintType','Implement\x20me','calculateStartDate','endDateConstraintIntervals','1812672KsnmEf','16DmuQkb','isFirstPass','End','phase1','doCalculateEffectiveEndDateInterval','autoScheduleManualTasksOnSecondPass','calculateMinChildrenStartDate','parentIndex','setupFields','15022ZxFZKq','321260lnzWKx','calculateProjectedXDateWithDuration','shouldRollupChildLateEndDate','isDateConstraintInterval','8122910fwnMox','Start','calculateEarlyEndDateConstraintIntervals','effectiveDirection','calculateEffectiveConstraintInterval','endDate','getOwnPropertyDescriptor','map'];_ena=function(){return T;};return _ena();}import{ConstraintIntervalSide,ConstraintType,Direction}from'../../../scheduling/Types.js';import{isDateFinite,MAX_DATE,MIN_DATE}from'../../../util/Constants.js';import{EdgeInclusion}from'../../../util/Types.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x11d;let f=c[d];return f;};return _enb(a,b);}const isForwardInterval=a=>a['startDateIsFinite'](),isBackwardInterval=a=>a['endDateIsFinite'](),isInflexibleInterval=a=>{function r(a,b){return _enb(b- -0x199,a);}return a[r(-0x3c,-0x6b)]()&&a[r(-0x3c,-0x5f)]()&&a[r(-0x46,-0x33)][r(-0x4e,-0x6c)]()===a['endDate']['getTime']();};const calculateEffectiveStartDateConstraintInterval=function*(a,b,c,d,e,f){function s(a,b){return _enb(a-0x43,b);}if(c[s(0x175,0x15a)]())return c;if(e&&c[s(0x191,0x1bc)]){const i=new Set();for(const j of c['intersectionOf']){if(j['isInfinite']()){i[s(0x173,0x162)](j);}else{const k=j[s(0x171,0x18c)]()?yield*a[s(0x165,0x146)](j[s(0x1a9,0x1bb)],![],d):j['startDate'];const l=j['endDateIsFinite']()?yield*a[s(0x165,0x13f)](j['endDate'],![],d):j['endDate'];const m=j;i[s(0x173,0x147)](m[s(0x18e,0x19e)]({'reflectionOf':m,'side':m[s(0x186,0x17a)]===ConstraintIntervalSide[s(0x169,0x144)]?ConstraintIntervalSide[s(0x1bc,0x1aa)]:ConstraintIntervalSide['Start'],'startDate':k,'endDate':l}));}}c[s(0x191,0x18f)]=i;}const g=c[s(0x171,0x16a)]()?yield*f(c['startDate']):null;const h=c[s(0x17d,0x168)]()?yield*f(c[s(0x16d,0x187)]):null;return intersectIntervals([b,ConstraintInterval['new']({'intersectionOf':c['intersectionOf'],'startDate':g,'endDate':h})],e);};const calculateEffectiveEndDateConstraintInterval=function*(a,b,c,d,e,f){if(b[t(0x26,0x18)]())return b;if(e&&b[t(0x42,0x6a)]){const i=new Set();for(const j of b[t(0x42,0x17)]){if(j[t(0x29,0x11)]()){i[t(0x24,0x16)](j);}else{const k=j['startDateIsFinite']()?yield*a['calculateProjectedXDateWithDuration'](j[t(0x5a,0x7b)],!![],d):j[t(0x5a,0x45)];const l=j[t(0x2e,0x5a)]()?yield*a[t(0x16,0x11)](j[t(0x1e,-0x2)],!![],d):j['endDate'];const m=j;i['add'](m[t(0x3f,0x40)]({'reflectionOf':m,'side':m[t(0x37,0x30)]===ConstraintIntervalSide[t(0x1a,0x31)]?ConstraintIntervalSide[t(0x6d,0x75)]:ConstraintIntervalSide[t(0x1a,-0xe)],'startDate':k,'endDate':l}));}}b[t(0x42,0x37)]=i;}const g=b[t(0x22,0x18)]()?yield*f(b[t(0x5a,0x6b)]):null;const h=b[t(0x2e,0x51)]()?yield*f(b['endDate']):null;function t(a,b){return _enb(a- -0x10c,b);}return intersectIntervals([c,ConstraintInterval['new']({'reflectionOf':g||h?b:void 0x0,'intersectionOf':g||h?b['intersectionOf']:void 0x0,'startDate':g,'endDate':h})],e);};class EventScheduleMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{class b extends a{constructor(){function u(a,b){return _enb(a-0xf8,b);}super(...arguments);this['direction']=void 0x0;this[u(0x247,0x251)]=u(0x272,0x26a);this[u(0x267,0x261)]=void 0x0;}get[v(0xbc,0xde)](){function w(a,b){return v(b,a- -0x8f);}return this[w(0x63,0x49)]?.[w(0x4f,0x26)];}[v(0xc3,0xd6)](c){function x(a,b){return v(b,a-0x1f8);}throw new Error(x(0x2ee,0x2c9));}*['calculateStartDate'](){function y(a,b){return v(b,a- -0x263);}throw new Error(y(-0x16d,-0x15d));}*['calculateEndDate'](){function z(a,b){return v(a,b- -0x288);}throw new Error(z(-0x16c,-0x192));}static[v(0x99,0xa2)](c,d){super[A(0xdd,0xd7)](c,d);this[A(0x13a,0x128)](A(0xe4,0xd6));this['removeField'](A(0xcb,0xf6));function A(a,b){return v(a,b-0x35);}this[A(0x120,0x128)](A(0x11b,0xf3));this['removeField']('expanded');this[A(0x11d,0x128)]('readOnly');}}function v(a,b){return _enb(b- -0x7d,a);}__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[v(0xbc,0xcc)],v(0x112,0xe9),void 0x0);__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b['prototype'],v(0x86,0xad),void 0x0);__decorate([calculate(v(0x103,0xe9))],b[v(0xd9,0xcc)],v(0xd6,0xf7),null);__decorate([calculate(v(0xaa,0xad))],b[v(0x9c,0xcc)],v(0xf7,0xdc),null);return b;}){}class ConstrainedScheduleMixin extends Mixin([EventScheduleMixin],a=>{class b extends a{constructor(){function B(a,b){return _enb(b- -0x29a,a);}super(...arguments);this[B(-0x159,-0x12c)]=Direction[B(-0x106,-0x12d)];this[B(-0x125,-0x12b)]=void 0x0;}[C(0x358,0x36c)](c){function D(a,b){return C(b- -0x126,a);}return c[D(0x218,0x23e)];}*[C(0x370,0x378)](c,d=!![],e=null){if(yield*this[E(0x446,0x46f)][E(0x461,0x44d)]())return c;let f=c;function E(a,b){return C(b-0xfb,a);}if(c&&(yield*this[E(0x474,0x46f)]['shouldSkipNonWorkingTime']())){f=yield*this['event'][E(0x437,0x458)](c,d);if(f&&e&&!e[E(0x470,0x447)](f,EdgeInclusion['LeftAndRight'])){f=c;}}return f;}['changeDateConstraintIntervalOnConflict'](c,d,e){const {isDateConstraintInterval:f,owner:g}=c;function F(a,b){return C(a-0x89,b);}if(f&&g===e){if(this['direction']===Direction[F(0x3fb,0x3f0)]){if(d===F(0x3f0,0x3f9)&&g[F(0x400,0x3d1)]===ConstraintType[F(0x3f3,0x41b)]){return c[F(0x3d9,0x3c8)]({'startDate':c[F(0x3b8,0x393)],'endDate':null});}if(d===F(0x3f8,0x3f3)&&g[F(0x400,0x428)]===ConstraintType[F(0x3ca,0x3dd)]){return c[F(0x3d9,0x3c4)]({'startDate':c[F(0x3b8,0x388)],'endDate':null});}}else{if(d===F(0x3f0,0x3f2)&&g[F(0x400,0x3e7)]===ConstraintType[F(0x3c5,0x39f)]){return c['copyWith']({'startDate':null,'endDate':c['startDate']});}if(d==='end'&&g['constraintType']===ConstraintType[F(0x3d6,0x3c2)]){return c[F(0x3d9,0x3e7)]({'startDate':null,'endDate':c[F(0x3f4,0x3d4)]});}}}return c;}*['calculateEffectiveConstraintInterval'](c,d,e,f=![],g=![]){const {event:h}=this;function G(a,b){return C(a-0x9d,b);}const i=yield*h['getDateShifter'](c?![]:!![]);if(i==null){return null;}const j=f?yield*h[G(0x3f8,0x3de)]():0x0;if(j==null){return null;}if(g){if(this[G(0x3fd,0x41e)][G(0x3ee,0x3e8)]){if(yield*this['isFirstPass']()){d=d[G(0x3fe,0x3f7)](m=>!m[G(0x406,0x407)])[G(0x3ce,0x3cf)](m=>this[G(0x40a,0x416)](m,G(0x404,0x3e6),h));e=e[G(0x3fe,0x3dc)](m=>!m[G(0x406,0x416)])[G(0x3ce,0x3b8)](m=>this[G(0x40a,0x426)](m,'end',h));}else{d=d[G(0x3fe,0x3e4)](m=>!m[G(0x3c6,0x3d0)]);e=e[G(0x3fe,0x416)](m=>!m[G(0x3c6,0x3b9)]);}}else{const m=this[G(0x410,0x3f7)]===Direction[G(0x40f,0x41f)]?isForwardInterval:isBackwardInterval,n=d['filter'](isInflexibleInterval);d=n[G(0x3e2,0x3c5)]?n:d['filter'](m);const o=e[G(0x3fe,0x3e3)](isInflexibleInterval);e=o[G(0x3e2,0x408)]?o:e['filter'](m);}}const k=c?calculateEffectiveStartDateConstraintInterval:calculateEffectiveEndDateConstraintInterval;const l=yield*k(h,intersectIntervals(d,f),intersectIntervals(e,f),j,f,i);return l;}*[C(0x33b,0x353)](){function H(a,b){return C(b- -0x528,a);}return this[H(-0x1d5,-0x1b5)]===Direction[H(-0x1ae,-0x1b6)]?yield*this[H(-0x19e,-0x1b4)]['calculateEarlyStartDateConstraintIntervals']():yield*this[H(-0x1d4,-0x1b4)][H(-0x1f0,-0x1eb)]();}*[C(0x356,0x32e)](){function I(a,b){return C(b-0xa9,a);}return this['direction']===Direction[I(0x3ef,0x41b)]?yield*this['event'][I(0x3f3,0x3d5)]():yield*this[I(0x426,0x41d)][I(0x3be,0x3e1)]();}*[C(0x35a,0x348)](c=![],d=![]){const e=yield this['$'][J(0x91,0x61)];function J(a,b){return C(b- -0x310,a);}const f=yield this['$'][J(0x72,0x6a)];return yield*this['calculateEffectiveConstraintInterval'](!![],e[J(0x3a,0x49)](yield this[J(0x6f,0x64)]['$'][J(0x8e,0x61)]),f[J(0x4a,0x49)](yield this[J(0x38,0x64)]['$']['endDateConstraintIntervals']),c,d);}*[C(0x380,0x359)](c=![],d=![]){const e=yield this['$']['startDateConstraintIntervals'];function K(a,b){return C(b- -0x57c,a);}const f=yield this['$'][K(-0x1f1,-0x202)];return yield*this[K(-0x25f,-0x24e)](![],e[K(-0x24b,-0x223)](yield this[K(-0x1f3,-0x208)]['$'][K(-0x231,-0x20b)]),f[K(-0x205,-0x223)](yield this[K(-0x22e,-0x208)]['$'][K(-0x22a,-0x202)]),c,d);}*[C(0x334,0x323)](c){function L(a,b){return C(a- -0x4c2,b);}return this[L(-0x14f,-0x121)]===Direction['Forward']?yield*this[L(-0x14e,-0x171)][L(-0x18c,-0x163)](c):yield*this['event']['shouldRollupChildLateStartDate'](c);}*[C(0x322,0x30d)](){let c=MAX_DATE;const d=yield*this[M(0x3e3,0x412)][M(0x3d1,0x401)]();function M(a,b){return C(b-0x9e,a);}for(const e of d){if(!(yield*this[M(0x3d0,0x3d2)](e)))continue;let f=this['pick'](e),g=yield f['$'][M(0x437,0x409)];if((yield*e[M(0x41e,0x3fa)]())&&(yield*e['hasSubEvents']())){const h=yield f['$'][M(0x42c,0x406)];if(h&&(!g||g>h)){g=h;}}if(g&&g<c)c=g;}return c[M(0x3fe,0x3d0)]()-MAX_DATE[M(0x3a2,0x3d0)]()?c:null;}*['shouldRollupChildEndDate'](c){function N(a,b){return C(a- -0x3bc,b);}return this[N(-0x49,-0x3d)]===Direction[N(-0x4a,-0x53)]?yield*this[N(-0x48,-0x5d)][N(-0x46,-0x27)](c):yield*this[N(-0x48,-0x5f)][N(-0x94,-0xbe)](c);}*[C(0x355,0x33f)](){let c=MIN_DATE;function O(a,b){return C(a- -0x14a,b);}const d=yield*this[O(0x22a,0x250)]['subEventsIterable']();for(const e of d){if(!(yield*this[O(0x1f4,0x1e8)](e)))continue;let f=this['pick'](e),g=yield f['$']['endDate'];if((yield*e[O(0x212,0x214)]())&&(yield*e[O(0x208,0x202)]())){const h=yield f['$'][O(0x201,0x1e2)];if(h&&(!g||g<h)){g=h;}}if(g&&g>c)c=g;}return c['getTime']()-MIN_DATE[O(0x1e8,0x20f)]()?c:null;}*[C(0x379,0x353)](){let c;let d;if((yield*this['event'][P(-0x14,-0x9)]())&&(!(yield this[P(0x7,-0x5)]['$']['autoScheduleManualTasksOnSecondPass'])||(yield this['event']['$'][P(-0x31,-0x38)])[P(0x3c,0xe)]===this[P(0x3,0xe)])){c=yield this[P(0x3d,0xf)]['$']['startDate'];}else if(yield*this[P(-0x1c,0xf)][P(-0x43,-0x13)]()){c=yield this['$'][P(0x11,0x3)];}else if(!(yield*this[P(-0x7,0x1)]())){c=yield this[P(-0x5,0xf)]['$'][P(0xb,0x6)];}else{d=yield*this[P(-0xd,-0xb)]();if(d===null){return null;}else if(d[P(-0x1d,-0x2e)]()){const e=yield*this[P(0x2b,0xf)][P(-0x1c,-0x1e)](P(0x17,0x2),this);if(e[P(-0x1b,-0x23)]==='return'){return e['value'];}else if(e['kind']===P(0x0,-0xe)){d=e[P(0xe,-0x6)];}}else{yield*this[P(0x15,0xf)]['onNonEmptyEffectiveInterval'](P(0x2d,0x2),this);}c=this[P(0x2b,0xe)]===Direction[P(0x11,0xd)]?isDateFinite(d[P(-0x8,0x6)])?d[P(-0x13,0x6)]:null:isDateFinite(d[P(-0x2d,-0x36)])?d[P(-0x3f,-0x36)]:null;}function P(a,b){return C(b- -0x365,a);}return yield*this[P(0x1f,0xb)](c,!![],d);}*[C(0x35e,0x38a)](){let c;let d;function Q(a,b){return C(a- -0x30d,b);}if((yield*this['event'][Q(0x4f,0x41)]())&&(!(yield this['project']['$'][Q(0x74,0x53)])||(yield this['event']['$'][Q(0x20,0x11)])[Q(0x66,0x71)]===this[Q(0x66,0x50)])){c=yield this[Q(0x67,0x4f)]['$']['endDate'];}else if(yield*this[Q(0x67,0x57)][Q(0x45,0x56)]()){c=yield this['$'][Q(0x3e,0x18)];}else if(!(yield*this['isConstrained']())){c=yield this[Q(0x67,0x7e)]['$'][Q(0x22,0x3c)];}else{d=yield*this['doCalculateEffectiveEndDateInterval']();if(d===null){return null;}else if(d[Q(0x2a,0x4f)]()){const e=yield*this['event'][Q(0x3a,0x3d)]('end',this);if(e['kind']===Q(0x3c,0x3f)){return e['value'];}else if(e[Q(0x35,0x5d)]===Q(0x4a,0x27)){d=e[Q(0x52,0x5c)];}}else{yield*this[Q(0x67,0x87)][Q(0x42,0x15)](Q(0x62,0x40),this);}c=this[Q(0x66,0x84)]===Direction[Q(0x65,0x77)]?isDateFinite(d['startDate'])?d['startDate']:null:isDateFinite(d['endDate'])?d['endDate']:null;}return yield*this[Q(0x63,0x82)](c,![],d);}*[C(0x366,0x385)](){const c=yield this[R(-0xf8,-0xca)]['$'][R(-0xd4,-0xcd)];const d=yield this[R(-0xf6,-0xca)]['$'][R(-0xb0,-0xc4)];const e=yield this['$'][R(-0xac,-0xcd)];const f=yield this['$'][R(-0x95,-0xc4)];function R(a,b){return C(b- -0x43e,a);}return e?.[R(-0x109,-0xf9)]>0x0||f?.[R(-0xe0,-0xf9)]>0x0||c?.[R(-0x11e,-0xf9)]>0x0||d?.['length']>0x0;}*[C(0x37d,0x367)](){const c=yield this[S(-0x21d,-0x226)]()['$'][S(-0x25d,-0x265)];function S(a,b){return C(b- -0x592,a);}return c[S(-0x206,-0x21f)]===this[S(-0x22f,-0x21f)];}}__decorate([field({'lazy':!![]})],b[C(0x34e,0x355)],'minChildrenStartDate',void 0x0);__decorate([field({'lazy':!![]})],b[C(0x34e,0x327)],C(0x34b,0x332),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[C(0x34e,0x337)],'startDateConstraintIntervals',void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[C(0x34e,0x365)],'endDateConstraintIntervals',void 0x0);__decorate([calculate(C(0x371,0x360))],b[C(0x34e,0x34f)],C(0x33b,0x311),null);function C(a,b){return _enb(a-0x205,b);}__decorate([calculate(C(0x37a,0x37b))],b[C(0x34e,0x356)],C(0x356,0x35f),null);__decorate([calculate('minChildrenStartDate')],b[C(0x34e,0x37d)],C(0x322,0x328),null);__decorate([calculate('maxChildrenEndDate')],b[C(0x34e,0x323)],C(0x355,0x380),null);__decorate([calculate(C(0x36b,0x38a))],b[C(0x34e,0x36f)],'calculateStartDate',null);__decorate([calculate(C(0x32f,0x354))],b[C(0x34e,0x322)],C(0x35e,0x344),null);return b;}){}export{ConstrainedScheduleMixin,EventScheduleMixin,calculateEffectiveEndDateConstraintInterval,calculateEffectiveStartDateConstraintInterval,isBackwardInterval,isForwardInterval,isInflexibleInterval};