@bryntum/scheduler-thin-trial 7.1.3 → 7.2.1

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 (120) hide show
  1. package/README.md +1 -1
  2. package/entry.js +3 -0
  3. package/lib/column/ResourceInfoColumn.css +20 -0
  4. package/lib/column/ResourceInfoColumn.js +1 -1
  5. package/lib/crud/AbstractCrudManagerMixin.js +1 -1
  6. package/lib/data/AISettingsModel.js +1 -0
  7. package/lib/data/mixin/DependencyStoreMixin.js +1 -1
  8. package/lib/data/mixin/EventStoreMixin.js +1 -1
  9. package/lib/data/mixin/GetEventsMixin.js +1 -1
  10. package/lib/feature/AI.js +1 -0
  11. package/lib/feature/AbstractTimeRanges.js +1 -1
  12. package/lib/feature/Dependencies.js +1 -1
  13. package/lib/feature/DependencyEdit.js +1 -1
  14. package/lib/feature/DependencyMenu.js +1 -1
  15. package/lib/feature/EventCopyPaste.js +1 -1
  16. package/lib/feature/EventDragSelect.js +1 -1
  17. package/lib/feature/EventEdit.js +1 -1
  18. package/lib/feature/EventFilter.js +1 -1
  19. package/lib/feature/EventMenu.js +1 -1
  20. package/lib/feature/EventNonWorkingTime.js +1 -1
  21. package/lib/feature/EventResize.js +1 -1
  22. package/lib/feature/GroupSummary.js +1 -1
  23. package/lib/feature/Labels.js +1 -1
  24. package/lib/feature/LockRows.js +1 -1
  25. package/lib/feature/NonWorkingTime.js +1 -1
  26. package/lib/feature/Pan.js +1 -1
  27. package/lib/feature/ResourceColumnReorder.css +78 -0
  28. package/lib/feature/ResourceColumnReorder.js +1 -0
  29. package/lib/feature/ResourceMenu.js +1 -1
  30. package/lib/feature/ScheduleContext.js +1 -1
  31. package/lib/feature/ScheduleMenu.js +1 -1
  32. package/lib/feature/ScheduleTooltip.js +1 -1
  33. package/lib/feature/ScrollButtons.js +1 -1
  34. package/lib/feature/SimpleEventEdit.js +1 -1
  35. package/lib/feature/Split.js +1 -1
  36. package/lib/feature/StickyEvents.js +1 -1
  37. package/lib/feature/Summary.js +1 -1
  38. package/lib/feature/TimeAxisHeaderMenu.js +1 -1
  39. package/lib/feature/TimelineSummary.js +1 -1
  40. package/lib/feature/TreeSummary.js +1 -1
  41. package/lib/feature/ai/agents/DefaultSchedulerAgent.js +18 -0
  42. package/lib/feature/ai/agents/trainingData.js +1 -0
  43. package/lib/feature/base/DragBase.js +1 -1
  44. package/lib/feature/base/DragCreateBase.js +1 -1
  45. package/lib/feature/base/EditBase.js +1 -1
  46. package/lib/feature/base/ResourceTimeRangesBase.js +1 -1
  47. package/lib/feature/base/TooltipBase.js +1 -1
  48. package/lib/feature/mixin/DependencyCreation.js +1 -1
  49. package/lib/feature/mixin/HeaderDragSelect.js +1 -1
  50. package/lib/feature/mixin/RecurringEventEdit.js +1 -1
  51. package/lib/model/DependencyBaseModel.js +1 -1
  52. package/lib/model/TimeSpan.js +1 -1
  53. package/lib/model/mixin/EventModelMixin.js +1 -1
  54. package/lib/model/mixin/RecurringTimeSpan.js +1 -1
  55. package/lib/model/mixin/ResourceModelMixin.js +1 -1
  56. package/lib/view/ResourceHeader.js +1 -1
  57. package/lib/view/SchedulerBase.js +1 -1
  58. package/lib/view/TimelineBase.js +1 -1
  59. package/lib/view/mixin/EventNavigation.js +1 -1
  60. package/lib/view/mixin/SchedulerDom.js +1 -1
  61. package/lib/view/mixin/SchedulerEventRendering.js +1 -1
  62. package/lib/view/mixin/SchedulerState.js +1 -1
  63. package/lib/view/mixin/TimelineDomEvents.js +1 -1
  64. package/lib/view/mixin/TimelineEventRendering.js +1 -1
  65. package/lib/view/mixin/TimelineViewPresets.js +1 -1
  66. package/lib/view/orientation/HorizontalRendering.js +1 -1
  67. package/lib/view/orientation/VerticalRendering.js +1 -1
  68. package/lib/view/recurrence/RecurrenceEditorPanel.js +1 -1
  69. package/lib/view/recurrence/RecurrenceLegendButton.js +1 -1
  70. package/lib/widget/DayButtons.js +1 -1
  71. package/lib/widget/SchedulerDatePicker.css +1 -1
  72. package/locales/scheduler.locale.Ar.js +1 -1
  73. package/locales/scheduler.locale.Bg.js +1 -1
  74. package/locales/scheduler.locale.Ca.js +1 -1
  75. package/locales/scheduler.locale.Cs.js +1 -1
  76. package/locales/scheduler.locale.Da.js +1 -1
  77. package/locales/scheduler.locale.De.js +1 -1
  78. package/locales/scheduler.locale.El.js +1 -1
  79. package/locales/scheduler.locale.En.js +1 -1
  80. package/locales/scheduler.locale.EnGb.js +1 -1
  81. package/locales/scheduler.locale.Es.js +1 -1
  82. package/locales/scheduler.locale.Et.js +1 -1
  83. package/locales/scheduler.locale.Eu.js +1 -1
  84. package/locales/scheduler.locale.Fi.js +1 -1
  85. package/locales/scheduler.locale.FrFr.js +1 -1
  86. package/locales/scheduler.locale.Gl.js +1 -1
  87. package/locales/scheduler.locale.He.js +1 -1
  88. package/locales/scheduler.locale.Hi.js +1 -1
  89. package/locales/scheduler.locale.Hr.js +1 -1
  90. package/locales/scheduler.locale.Hu.js +1 -1
  91. package/locales/scheduler.locale.Id.js +1 -1
  92. package/locales/scheduler.locale.It.js +1 -1
  93. package/locales/scheduler.locale.Ja.js +1 -1
  94. package/locales/scheduler.locale.Kk.js +1 -1
  95. package/locales/scheduler.locale.Ko.js +1 -1
  96. package/locales/scheduler.locale.Lt.js +1 -1
  97. package/locales/scheduler.locale.Lv.js +1 -1
  98. package/locales/scheduler.locale.Ms.js +1 -1
  99. package/locales/scheduler.locale.Nl.js +1 -1
  100. package/locales/scheduler.locale.No.js +1 -1
  101. package/locales/scheduler.locale.Pl.js +1 -1
  102. package/locales/scheduler.locale.Pt.js +1 -1
  103. package/locales/scheduler.locale.PtBr.js +1 -1
  104. package/locales/scheduler.locale.Ro.js +1 -1
  105. package/locales/scheduler.locale.Ru.js +1 -1
  106. package/locales/scheduler.locale.Sk.js +1 -1
  107. package/locales/scheduler.locale.Sl.js +1 -1
  108. package/locales/scheduler.locale.Sr.js +1 -1
  109. package/locales/scheduler.locale.SrRs.js +1 -1
  110. package/locales/scheduler.locale.SvSE.js +1 -1
  111. package/locales/scheduler.locale.Th.js +1 -1
  112. package/locales/scheduler.locale.Tr.js +1 -1
  113. package/locales/scheduler.locale.Uk.js +1 -1
  114. package/locales/scheduler.locale.Vi.js +1 -1
  115. package/locales/scheduler.locale.ZhCn.js +1 -1
  116. package/locales/scheduler.locale.ZhTw.js +1 -1
  117. package/package.json +1 -1
  118. package/scheduler.css +56 -1
  119. package/scheduler.css.map +3 -3
  120. package/scheduler.d.ts +1689 -348
@@ -1 +1 @@
1
- (function(a,b){function l(a,b){return _scb(a- -0x1b5,b);}const c=a();while(!![]){try{const d=parseInt(l(-0x43,-0x3e))/0x1+-parseInt(l(-0x48,-0x2e))/0x2*(-parseInt(l(-0x57,-0x6d))/0x3)+parseInt(l(-0x73,-0x7a))/0x4*(parseInt(l(-0x8c,-0x82))/0x5)+parseInt(l(-0x5d,-0x77))/0x6*(parseInt(l(-0x91,-0xac))/0x7)+-parseInt(l(-0x49,-0x45))/0x8*(parseInt(l(-0x8e,-0x95))/0x9)+parseInt(l(-0x6f,-0x41))/0xa*(parseInt(l(-0x41,-0x6f))/0xb)+-parseInt(l(-0x54,-0x37))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x43ae9));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x11b;let f=c[d];return f;};return _scb(a,b);}import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/grid-thin/lib/feature/Split.js';import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _scg from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const startScrollOptions=Object['freeze']({'animate':![],'block':'start'}),endScrollOptions=Object[_scm(0x3da,0x3f0)]({'animate':![],'block':_scm(0x395,0x397)});function _scm(a,b){return _scb(a-0x262,b);}export default class Split extends _scd{static [_scm(0x388,0x36e)]='Split';static [_scm(0x390,0x3bb)]={'relayProperties':{'value':{'barMargin':0x1,'eventColor':0x1,'eventStyle':0x1,'eventLayout':0x1,'fillTicks':0x1,'resourceMargin':0x1,'snap':0x1,'tickSize':0x1},'$config':{'merge':_scm(0x3be,0x39e)}}};static get[_scm(0x39d,0x394)](){const a=super[n(0x4a6,0x4d3)];function n(a,b){return _scm(b-0x136,a);}a['chain'][n(0x4f1,0x4c9)](n(0x4e6,0x4e7));return a;}[_scm(0x3b0,0x38d)](a,b,c,d){var e;const {client:f}=this,g=super['getClientConfig'](a,b,c,d);if(!f[o(0x94,0x6b)]&&!f[o(0x74,0x58)]&&!f[o(0x6a,0x5d)]){return g;}delete g[o(0xac,0xb2)];delete g[o(0x63,0x6a)];delete g['resources'];delete g['assignments'];delete g[o(0x86,0x8a)];delete g[o(0xbd,0x90)];delete g[o(0x71,0x5b)];g[o(0x65,0x77)]=f[o(0x65,0x8b)];g[o(0x97,0xaf)]=g[o(0x65,0x93)][o(0x97,0x74)];g[o(0x92,0x88)]=f[o(0x92,0x68)];function o(a,b){return _scm(a- -0x31b,b);}g[o(0x7f,0x4f)]=f[o(0x7f,0x71)];g[o(0xa1,0xc3)]=f[o(0xa1,0xbb)];g[o(0x98,0x78)]=f[o(0x98,0x70)];g[o(0xa9,0x9a)]=f[o(0xa9,0xc6)];g[o(0xad,0x7b)]=![];if(((e=g[o(0xae,0xb4)])===null||e===void 0x0?void 0x0:e[o(0x9e,0x90)])!==![]){_scf[o(0x80,0x6f)](g,o(0x84,0x85),![]);f['features'][o(0x9e,0x78)][o(0x9b,0x7b)]=![];}return g;}[_scm(0x3a9,0x3c9)](a){function p(a,b){return _scm(b- -0x36f,a);}this['client'][p(0x7e,0x4e)]['onElementResize']();}[_scm(0x3cd,0x3da)](a){function q(a,b){return _scm(a- -0x127,b);}const {client:b}=this,c=_scg['from'](b['element']);let {atDate:d,atRecord:e}=a;if(a['direction']!==q(0x298,0x28d)&&!a[q(0x2a5,0x2ac)]&&!a['atRecord']&&!d){const f=b[q(0x258,0x284)](c['center']['x'],q(0x2b8,0x2e0),![]);if(f){a['atDate']=d=f;a['atColumn']=b[q(0x2ab,0x2d7)];}}if(d){if(!a['direction']){a['direction']=e?q(0x26d,0x25c):q(0x27b,0x279);}a[q(0x2ac,0x2c3)]=b[q(0x28e,0x2c0)](d)-b[q(0x296,0x2c8)][q(0x2ae,0x290)]['x'];if(b[q(0x272,0x244)]){a['splitX']+=c[q(0x277,0x291)]-_scg[q(0x266,0x24a)](b[q(0x2aa,0x2c1)])[q(0x25d,0x236)];}else{a[q(0x2ac,0x288)]+=_scg['from'](b[q(0x2aa,0x2a8)],b[q(0x2b6,0x28a)])['left'];}a[q(0x275,0x24a)]=c[q(0x277,0x297)]-a[q(0x2ac,0x290)];}return super[q(0x2a6,0x27d)](a);}async[_scm(0x387,0x357)](a={}){const {client:b}=this;function r(a,b){return _scm(a- -0x5d1,b);}this[r(-0x24e,-0x23a)](r(-0x22b,-0x21d));if(b[r(-0x1f6,-0x1d3)]){throw new Error(r(-0x22e,-0x22c));}const c=await super[r(-0x24a,-0x250)](a),d=(e,f)=>{function s(a,b){return r(a-0x50,b);}e['reconfigure']({'viewPreset':f[s(-0x1e7,-0x211)],'startDate':f[s(-0x1c5,-0x1e9)],'endDate':f['endDate']});};if(c){if(a[r(-0x240,-0x20e)]){await Promise['all']([c[0x0][r(-0x243,-0x251)](_sce[r(-0x210,-0x22a)](a[r(-0x240,-0x267)],-0x1,b['timeAxis'][r(-0x24f,-0x24a)]),endScrollOptions),c[0x1]['scrollToDate'](a[r(-0x240,-0x22a)],startScrollOptions)]);}if(b[r(-0x239,-0x268)]){if(a[r(-0x254,-0x252)]==='horizontal'){d(c[0x1][r(-0x23b,-0x20c)],c[0x0][r(-0x23b,-0x21e)]);}if(a[r(-0x254,-0x262)]===r(-0x23d,-0x246)){d(c[0x2][r(-0x23b,-0x20c)],c[0x0]['timeAxis']);d(c[0x3][r(-0x23b,-0x21c)],c[0x1][r(-0x23b,-0x21a)]);}}}b[r(-0x214,-0x203)]['scrollable']['x']+=0.5;c[r(-0x21d,-0x242)](e=>{function t(a,b){return r(a-0x193,b);}e[t(-0xa8,-0x91)][t(-0x92,-0xa2)]({'name':'onReconfigure','reconfigure':t(-0x98,-0x68),'thisObj':this});});return c;}['populateCellMenu'](){}['populateScheduleMenu']({items:a,date:b,record:c}){const d=this,{isSplit:e}=d,{splitFrom:f}=d[u(-0x86,-0x5c)];function u(a,b){return _scm(a- -0x466,b);}if(!d[u(-0xbf,-0xbb)]&&d[u(-0x86,-0x7a)][u(-0x8d,-0x79)]){a[u(-0xc1,-0xbd)]={'text':u(-0x9c,-0x9d),'localeClass':d,'icon':u(-0xbb,-0xb8),'weight':0x1f4,'separator':!![],'hidden':e||f,'menu':{'splitHorizontally':{'text':u(-0xa0,-0xa9),'icon':u(-0xaf,-0xc6),'localeClass':d,'weight':0x64,'onItem'(){function v(a,b){return u(a- -0x38,b);}d[v(-0x117,-0x11b)]({'atRecord':c,'direction':v(-0xdf,-0xb2)})['then']();}},'splitVertically':{'text':u(-0x96,-0x6b),'icon':u(-0xbb,-0xc3),'localeClass':d,'weight':0xc8,'onItem'(){function w(a,b){return u(b-0x359,a);}d['split']({'atDate':b})[w(0x2d0,0x2ca)]();}},'splitBoth':{'text':u(-0xe5,-0xfe),'icon':u(-0xa1,-0xb4),'localeClass':d,'weight':0x12c,'onItem'(){function x(a,b){return u(a-0x4c9,b);}d['split']({'atDate':b,'atRecord':c,'direction':'both'})[x(0x43a,0x424)]();}}}};a['unsplitSchedule']={'text':u(-0xcf,-0xa1),'localeClass':d,'icon':u(-0x9b,-0xab),'hidden':!(e||f),'weight':0x226,'onItem'(){(f||d)['unsplit']();}};}}[_scm(0x3a6,0x3cd)]({suppressRefresh:a,config:b}){const {client:c}=this;function y(a,b){return _scm(b- -0x5b,a);}if(b&&!this['isReconfiguring']){this[y(0x32b,0x353)]=!![];const e=c[y(0x34f,0x345)]?c[y(0x358,0x345)]:c;if(e[y(0x35f,0x35d)]&&e[y(0x371,0x35d)]!==y(0x318,0x347)){var d;(d=c[y(0x336,0x367)])===null||d===void 0x0||d[y(0x381,0x360)](c,f=>{function z(a,b){return y(a,b- -0x47d);}var g,h;const {subViews:i}=e,j=i[z(-0x112,-0x12e)](f),k=i[z(-0xf1,-0xfc)]>0x2?j+(j>0x1?-0x1:0x1)*0x2:0x1-j;(g=i[j])===null||g===void 0x0||g[z(-0x172,-0x142)][z(-0x135,-0x146)](b,a,![]);(h=i[k])===null||h===void 0x0||h[z(-0x12b,-0x142)][z(-0x131,-0x146)](b,a,![]);});}this[y(0x343,0x353)]=![];}}}function _sca(){const A=['remainingWidth','pluginConfig','width','features.eventDrag.constrainDragToTimeline','splitFrom','dependencies','vertical','Splitting\x20is\x20not\x20supported\x20in\x20vertical\x20mode','549772nnIqly','splitSchedule','onReconfigure','disabled','14700vphWEO','unsplitCleanup','indexOf','b-icon\x20b-icon-split-vertical','ion','crudManager','isReconfiguring','isSchedulerBase','getClientConfig','populateScheduleMenu','assignmentStore','endDate','forEach','getVirtualCoordFromDate','constrainDragToTimeline','b-icon\x20b-icon-split-horizontal','splitDirection','eventDrag','246GVGNph','call','startDate','timeAxisSubGrid','merge','horizontal','54756VKaoOX','add','syncSplits','7419912GSsXbY','selectedCollection','b-icon\x20b-icon-split-both','L{horizontally}','store','useInitialAnimation','features','L{split}','b-icon\x20b-icon-clear','atColumn','processOptions','106608UIjSMG','46AFhMEu','L{vertically}','timeAxisSubGridElement','timeAxisColumn','splitX','308982dBrzzc','scrollable','3146iLYIQx','then','resourceTimeRanges','isHorizontal','freeze','isVertical','length','bodyContainer','registerFeature','round','client','direction','events','getDateFromCoordinate','project','L{both}','unit','detachListeners','right','isGanttBase','6034llTICw','split','$name','288RbiCks','Scheduler','5PErvng','timeRanges','from','scrollToDate','isSchedulerProBase','configurable','atDate','reconfigure','push','both','end','timeAxis','L{unsplit}','infiniteScroll','rtl','viewPreset','setPath'];_sca=function(){return A;};return _sca();}_scc[_scm(0x3de,0x3d3)](Split,![],_scm(0x38a,0x3a2));
1
+ (function(a,b){const c=a();function l(a,b){return _scb(b-0x1e1,a);}while(!![]){try{const d=parseInt(l(0x292,0x27b))/0x1*(parseInt(l(0x237,0x258))/0x2)+-parseInt(l(0x269,0x26c))/0x3*(-parseInt(l(0x24b,0x25b))/0x4)+parseInt(l(0x26c,0x28f))/0x5*(-parseInt(l(0x2c1,0x2a0))/0x6)+-parseInt(l(0x2bc,0x2a4))/0x7+-parseInt(l(0x261,0x27c))/0x8+-parseInt(l(0x2b1,0x2a5))/0x9+parseInt(l(0x267,0x27d))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x39b0b));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scm(a,b){return _scb(b- -0x173,a);}import _scd from'@bryntum/grid-thin/lib/feature/Split.js';function _sca(){const D=['6JiyRHt','element','getClientConfig','timeRanges','2882096NRjPdc','3113811gEnpEj','assignments','pluginConfig','events','isGanttBase','endDate','atRecord','onReconfigure','isSplit','left','start','from','startDate','remainingWidth','call','getVirtualCoordFromDate','right','direction','b-icon\x20b-icon-clear','scrollable','project','registerFeature','isSchedulerProBase','2zWOvAf','unit','timeAxisSubGrid','159908trmVJQ','eventLayout','both','merge','timeAxisSubGridElement','atDate','client','Split','reconfigure','horizontal','resourceTimeRanges','configurable','setPath','assignmentStore','processOptions','unsplit','push','27oHYDYv','forEach','constrainDragToTimeline','syncSplits','splitDirection','timeAxisColumn','Splitting\x20is\x20not\x20supported\x20in\x20vertical\x20mode','getDateFromCoordinate','name','b-icon\x20b-icon-split-both','width','disabled','splitFrom','b-icon\x20b-icon-split-vertical','resources','399925ejXzew','3378384cOfBvi','10412950BNUHBs','then','rtl','infiniteScroll','indexOf','vertical','$name','onElementResize','timeAxis','afterConfigChange','L{vertically}','dependencies','populateCellMenu','split','useInitialAnimation','unsplitSchedule','eventDrag','end','1923545qGukyk','splitX','center','scrollToDate','selectedCollection','features','viewPreset','internalEventLayout','L{horizontally}','crudManager','atColumn','all','isReconfiguring','bodyContainer','L{split}','detachListeners','isHorizontal'];_sca=function(){return D;};return _sca();}import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x68;let f=c[d];return f;};return _scb(a,b);}import _scg from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const startScrollOptions=Object['freeze']({'animate':![],'block':_scm(-0x13a,-0x109)}),endScrollOptions=Object['freeze']({'animate':![],'block':_scm(-0xce,-0xc6)});export default class Split extends _scd{static [_scm(-0xde,-0xd1)]=_scm(-0x100,-0xf2);static [_scm(-0x103,-0xee)]={'relayProperties':{'value':{'barMargin':0x1,'eventColor':0x1,'eventStyle':0x1,'eventLayout':0x1,'fillTicks':0x1,'resourceMargin':0x1,'snap':0x1,'tickSize':0x1},'$config':{'merge':_scm(-0xdd,-0xf6)}}};static get[_scm(-0x7c,-0xad)](){const a=super[n(0x1f,0x4f)];a['after'][n(-0x1d,-0x19)]('populateScheduleMenu');function n(a,b){return _scm(b,a-0xcc);}return a;}[_scm(-0x94,-0xb2)](a,b,c,d){var e;const {client:f}=this,g=super['getClientConfig'](a,b,c,d);if(!f['isSchedulerBase']&&!f[o(0x3c,0x14)]&&!f[o(0x8e,0x83)]){return g;}delete g['store'];delete g[o(0x8d,0x6f)];function o(a,b){return _scm(b,a-0x139);}delete g[o(0x5f,0x8d)];delete g[o(0x8b,0x5d)];delete g[o(0x6d,0x3b)];delete g[o(0x4a,0x28)];delete g[o(0x88,0x75)];g['project']=f['project'];g[o(0x4d,0x42)]=g[o(0x3a,0x11)][o(0x4d,0x4d)];g[o(0x7d,0xa2)]=f[o(0x7d,0x8f)];g['viewPreset']=f[o(0x7a,0x7f)];g[o(0x32,0x4)]=f[o(0x32,0x17)];g[o(0x8f,0xa8)]=f[o(0x8f,0x7d)];g[o(0x78,0x95)]=f['selectedCollection'];g[o(0x70,0x4c)]=![];g[o(0x41,0x6f)]=f[o(0x7b,0x8c)];if(((e=g['features'])===null||e===void 0x0?void 0x0:e['eventDrag'])!==![]){_scf[o(0x4c,0x2e)](g,'features.eventDrag.constrainDragToTimeline',![]);f[o(0x79,0x8d)][o(0x72,0x93)][o(0x53,0x62)]=![];}return g;}['unsplitCleanup'](a){function p(a,b){return _scm(a,b- -0x254);}this[p(-0x336,-0x347)][p(-0x324,-0x34e)][p(-0x322,-0x324)]();}[_scm(-0xd0,-0xce)](a){function q(a,b){return _scm(a,b- -0x1ed);}if(a[q(-0x2a3,-0x2cd)]==='eventLayout'){if(this[q(-0x2e9,-0x2f8)]){this[q(-0x2dc,-0x2d2)](b=>{function r(a,b){return q(b,a-0x6c5);}b['eventLayout']=this[r(0x3e5,0x3df)][r(0x41a,0x40d)];});}}else{super[q(-0x2c7,-0x2bb)](a);}}[_scm(-0xf4,-0xeb)](a){const {client:b}=this,c=_scg[s(0x165,0x16e)](b[s(0x1ba,0x19b)]);let {atDate:d,atRecord:e}=a;if(a[s(0x16b,0x185)]!==s(0x17d,0x179)&&!a[s(0x1b2,0x1d6)]&&!a[s(0x1c4,0x1c0)]&&!d){const f=b[s(0x18c,0x1af)](c[s(0x1aa,0x17e)]['x'],'round',![]);if(f){a['atDate']=d=f;a[s(0x1b2,0x1d6)]=b[s(0x18a,0x1a9)];}}function s(a,b){return _scm(b,a-0x26d);}if(d){if(!a[s(0x16b,0x160)]){a[s(0x16b,0x14d)]=e?s(0x176,0x17f):s(0x19b,0x17b);}a['splitX']=b[s(0x169,0x17d)](d)-b[s(0x173,0x18f)][s(0x16d,0x149)]['x'];if(b[s(0x198,0x18a)]){a[s(0x1a9,0x1d1)]+=c['width']-_scg[s(0x165,0x16c)](b[s(0x178,0x17b)])[s(0x16a,0x147)];}else{a['splitX']+=_scg[s(0x165,0x150)](b['timeAxisSubGridElement'],b[s(0x1b5,0x184)])[s(0x163,0x160)];}a[s(0x167,0x13e)]=c[s(0x18f,0x199)]-a[s(0x1a9,0x1b1)];}return super[s(0x182,0x169)](a);}async['split'](a={}){const {client:b}=this;this[t(-0x29,0x9)](t(-0x1b,-0x40));if(b['isVertical']){throw new Error(t(-0x55,-0x61));}function t(a,b){return _scm(b,a-0x8d);}const c=await super[t(-0x3d,-0x45)](a),d=(e,f)=>{function u(a,b){return t(a-0x28f,b);}e[u(0x22b,0x241)]({'viewPreset':f[u(0x25d,0x28e)],'startDate':f[u(0x215,0x219)],'endDate':f[u(0x272,0x260)]});};if(c){if(a[t(-0x67,-0x66)]){await Promise[t(-0x2d,-0x46)]([c[0x0][t(-0x35,-0x4)](_sce['add'](a[t(-0x67,-0x42)],-0x1,b[t(-0x42,-0x5a)][t(-0x6e,-0x5b)]),endScrollOptions),c[0x1][t(-0x35,-0xf)](a[t(-0x67,-0x6a)],startScrollOptions)]);}if(b[t(-0x47,-0x42)]){if(a['direction']==='horizontal'){d(c[0x1]['timeAxis'],c[0x0][t(-0x42,-0x4b)]);}if(a[t(-0x75,-0x44)]===t(-0x6a,-0x63)){d(c[0x2][t(-0x42,-0x60)],c[0x0][t(-0x42,-0x6c)]);d(c[0x3][t(-0x42,-0x1a)],c[0x1][t(-0x42,-0x11)]);}}}b[t(-0x6d,-0x95)][t(-0x73,-0x8b)]['x']+=0.5;c[t(-0x5a,-0x49)](e=>{function v(a,b){return t(b- -0x28a,a);}e[v(-0x2c4,-0x2cc)]['ion']({'name':v(-0x276,-0x2a5),'reconfigure':'onReconfigure','thisObj':this});});return c;}[_scm(-0xaa,-0xcb)](){}['populateScheduleMenu']({items:a,date:b,record:c}){const d=this,{isSplit:e}=d,{splitFrom:f}=d['client'];function w(a,b){return _scm(b,a-0x4fb);}if(!d[w(0x41e,0x440)]&&d['client'][w(0x446,0x421)]){a['splitSchedule']={'text':w(0x444,0x475),'localeClass':d,'icon':w(0x420,0x44c),'weight':0x1f4,'separator':!![],'hidden':e||f,'menu':{'splitHorizontally':{'text':w(0x43e,0x431),'icon':'b-icon\x20b-icon-split-horizontal','localeClass':d,'weight':0x64,'onItem'(){function x(a,b){return w(a- -0x769,b);}d[x(-0x338,-0x31f)]({'atRecord':c,'direction':x(-0x35e,-0x33a)})[x(-0x344,-0x35c)]();}},'splitVertically':{'text':w(0x42e,0x45d),'icon':w(0x420,0x403),'localeClass':d,'weight':0xc8,'onItem'(){function y(a,b){return w(b- -0x37b,a);}d[y(0x98,0xb6)]({'atDate':b})[y(0xce,0xaa)]();}},'splitBoth':{'text':'L{both}','icon':w(0x41c,0x40a),'localeClass':d,'weight':0x12c,'onItem'(){function z(a,b){return w(a- -0x745,b);}d[z(-0x314,-0x2f0)]({'atDate':b,'atRecord':c,'direction':z(-0x341,-0x331)})[z(-0x320,-0x2f7)]();}}}};a[w(0x433,0x458)]={'text':'L{unsplit}','localeClass':d,'icon':w(0x3fa,0x402),'hidden':!(e||f),'weight':0x226,'onItem'(){function A(a,b){return w(b- -0x556,a);}(f||d)[A(-0x133,-0x145)]();}};}}[_scm(-0x8b,-0xa8)]({suppressRefresh:a,config:b}){const {client:c}=this;function B(a,b){return _scm(b,a-0x326);}if(b&&!this[B(0x26d,0x23b)]){this[B(0x26d,0x247)]=!![];const e=c[B(0x24a,0x265)]?c[B(0x24a,0x245)]:c;if(e[B(0x242,0x263)]&&e[B(0x242,0x217)]!==B(0x254,0x257)){var d;(d=c[B(0x241,0x21e)])===null||d===void 0x0||d[B(0x221,0x22a)](c,f=>{var g,h;const {subViews:i}=e,j=i[C(-0x29e,-0x296)](f),k=i['length']>0x2?j+(j>0x1?-0x1:0x1)*0x2:0x1-j;(g=i[j])===null||g===void 0x0||g['timeAxis']['reconfigure'](b,a,![]);function C(a,b){return B(b- -0x4e9,a);}(h=i[k])===null||h===void 0x0||h['timeAxis']['reconfigure'](b,a,![]);});}this[B(0x26d,0x268)]=![];}}}_scc[_scm(-0x11c,-0xfe)](Split,![],'Scheduler');
@@ -1 +1 @@
1
- (function(a,b){const c=a();function C(a,b){return _scb(b- -0x330,a);}while(!![]){try{const d=-parseInt(C(-0x1fa,-0x1ef))/0x1*(parseInt(C(-0x205,-0x213))/0x2)+parseInt(C(-0x21e,-0x222))/0x3*(-parseInt(C(-0x210,-0x204))/0x4)+parseInt(C(-0x218,-0x21d))/0x5*(-parseInt(C(-0x1fc,-0x1ff))/0x6)+parseInt(C(-0x1e6,-0x206))/0x7*(-parseInt(C(-0x1d4,-0x1ec))/0x8)+parseInt(C(-0x231,-0x21e))/0x9*(parseInt(C(-0x1e8,-0x209))/0xa)+-parseInt(C(-0x235,-0x227))/0xb+parseInt(C(-0x20f,-0x20c))/0xc*(parseInt(C(-0x214,-0x21b))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x3b833));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x109;let f=c[d];return f;};return _scb(a,b);}import _scf from'@bryntum/core-thin/lib/helper/DomSync.js';function _scD(a,b){return _scb(a-0x2fd,b);}function _sca(){const O=['offsetWidth','add','stickyContents','registerFeature','ion','apply','applyStyle','offsetHeight','eventRecord','doDisable','toUpdate','currentOrientation','b-disable-sticky','stuck','2KnTjgK','$name','eventContent','8tNrRnc','parentNode','construct','isResourceTimeRange','classList','b-dragging','isHorizontal','pluginConfig','justifyContent','isConfiguring','@bryntum/scheduler-thin/lib/feature/StickyEvents.css','3677366UuqKPn','timeAxisSubGrid','center','updateStyles','getEdgeSize','21EXgvPW','values','getChild','style','76536xMPqVw','5rmdONC','clear','609258LzxXSJ','contains','size','wrapperCls','getEventContentMargins','instanceMeta','event.content','onSchedulerScroll','124876FfRvNM','Scheduler','StickyEvents','children','syncEventContentPosition','onEventDataGenerated','type','228pJzKyU','client','parseStyle','530QfEPdc','disabled','scrollable','246463bVfFhf','MAX_SAFE_INTEGER','76012CzupoM','isVertical','onHorizontalScroll','verticalSyncAllEventsContentPosition','translate','2819946IbrNtO','string'];_sca=function(){return O;};return _sca();}_sce['loadStylesheet'](_scD(0x44b,0x43a));const zeroMargins={'width':0x0,'height':0x0};export default class StickyEvents extends _scc{static [_scD(0x43f,0x42c)]=_scD(0x41c,0x402);static [_scD(0x420,0x42f)]='stickyEvents';static get[_scD(0x448,0x465)](){function E(a,b){return _scD(a- -0x97,b);}return{'chain':[E(0x388,0x371)]};}['construct'](a,b){super[F(-0x287,-0x286)](a,b);function F(a,b){return _scD(a- -0x6ca,b);}if(a[F(-0x2a0,-0x2bd)]){this[F(-0x290,-0x28c)]=new Set();a[F(-0x296,-0x291)]({'scroll':'onSchedulerScroll','horizontalScroll':F(-0x29f,-0x28b),'thisObj':this,'prio':0x2710});}}[_scD(0x41f,0x42e)](a){function G(a,b){return _scD(a- -0x1a0,b);}if(this[G(0x282,0x289)][G(0x2a7,0x286)]){a[G(0x275,0x269)][G(0x29c,0x285)]=a[G(0x298,0x2b9)][G(0x292,0x27a)]===![];}else{this[G(0x27e,0x28b)](a,undefined,!![]);this['updateStyles']();}}[_scD(0x419,0x43a)](){function H(a,b){return _scD(a- -0x1e,b);}if(!this[H(0x407,0x3f9)]){this[H(0x40e,0x423)](this['client']);}}[_scD(0x42b,0x410)]({subGrid:a}){function I(a,b){return _scD(b-0x39,a);}if(a===this['client'][I(0x423,0x440)]){this[I(0x474,0x465)](this[I(0x438,0x45b)]);}}[_scD(0x409,0x400)](){for(const {contentEl:a,style:b}of this[J(-0x7,0xf)]){_sce[J(-0x9,0xb)](a,b);}function J(a,b){return _scD(b- -0x42b,a);}this[J(0x9,0xf)][J(-0x29,-0x1a)]();}[_scD(0x42c,0x440)](a){const {resourceMap:b}=a[K(0x3de,0x3c0)];function K(a,b){return _scD(b- -0x7b,a);}for(const c of b[K(0x388,0x391)]()){for(const {renderData:d,elementConfig:e}of Object['values'](c)){const f=[d];if(e&&d['eventRecord'][K(0x3b2,0x3c9)]){f['push'](e[K(0x3a1,0x3a2)][0x0]);}this[K(0x39c,0x3a3)][K(0x3a6,0x3ba)](this,f);}}this[K(0x3a0,0x3bf)][K(0x3a5,0x399)]&&this[K(0x3a2,0x38e)]();}[_scD(0x41e,0x40c)](a,b=a[_scD(0x440,0x460)],d=![]){function L(a,b){return _scD(b- -0x27b,a);}if(this[L(0x1a1,0x1aa)]||a['eventRecord'][L(0x1a4,0x1b7)]===![]){return;}const {client:e}=this,{eventRecord:f,resourceRecord:g,useEventBuffer:h,bufferAfterWidth:i,bufferBeforeWidth:j,top:k,height:l}=a,m=e[L(0x19d,0x1ab)]['y'],n=d?null:e['getElementFromEventRecord'](f,g,!![]),o=n&&_scf[L(0x193,0x192)](n,L(0x1ab,0x19d)),p=f[L(0x19a,0x19c)](e),q=typeof b['style']===L(0x1bb,0x1b4)?b[L(0x19d,0x193)]=_sce[L(0x1b3,0x1a8)](b[L(0x1aa,0x193)]):b[L(0x195,0x193)]||(b[L(0x197,0x193)]={});if(n!==null&&n!==void 0x0&&n[L(0x1c7,0x1ca)][L(0x18d,0x198)](L(0x1b1,0x1cb))){return;}let r=k,s=l,t=r+s;if(h){r+=j;s=s-j-i;t=r+s;}if(r<m&&t>=m&&!f['isMilestone']){const u=o===null||o===void 0x0?void 0x0:o[L(0x1cb,0x1b5)],v=(o===null||o===void 0x0?void 0x0:o[L(0x1b6,0x1c7)])&&_sce['getStyleValue'](o[L(0x1b0,0x1c7)],L(0x1bf,0x1ce)),w=v===L(0x176,0x18d)?(a['width']-u)/0x2:0x0,x=r,y=x+s-0x1;if((!o||u)&&x<m&&y>=m){const z=this[L(0x17e,0x19b)](o),A=o?s-o[L(0x1ad,0x1bc)]-z['height']-w:Number[L(0x1b1,0x1ad)],B=Math['min'](m-x,A-0x2);q['translate']=B>0x0?'0\x20'+B+'px':'';p[L(0x1c3,0x1c2)]=!![];}else{q[L(0x19f,0x1b2)]='';p[L(0x1a4,0x1c2)]=![];}if(o){this[L(0x1c4,0x1bf)][L(0x1cf,0x1b6)]({'contentEl':o,'style':q});}}else if(o&&p[L(0x1af,0x1c2)]){q[L(0x193,0x1b2)]='';p['stuck']=![];this[L(0x1c9,0x1bf)]['add']({'contentEl':o,'style':q});}}['getEventContentMargins'](a){function M(a,b){return _scD(a- -0x400,b);}if(a!==null&&a!==void 0x0&&a[M(0x45,0x25)][M(0x13,0x3)]('b-sch-event-content')){return _sce[M(0xa,0x1e)](a,'margin');}return zeroMargins;}['doDisable'](...a){super[N(0x430,0x42a)](...a);function N(a,b){return _scD(b- -0xf,a);}if(!this[N(0x426,0x43b)]){this[N(0x405,0x413)]['refreshWithTransition']();}}}_scd['registerFeature'](StickyEvents,!![],_scD(0x41b,0x426));_scd[_scD(0x433,0x43c)](StickyEvents,![],'ResourceHistogram');
1
+ (function(a,b){const c=a();function C(a,b){return _scb(a- -0x236,b);}while(!![]){try{const d=parseInt(C(-0x75,-0x6f))/0x1+-parseInt(C(-0x8f,-0x91))/0x2*(-parseInt(C(-0x9c,-0x81))/0x3)+-parseInt(C(-0x91,-0xa8))/0x4*(parseInt(C(-0x90,-0xa0))/0x5)+-parseInt(C(-0x6f,-0x50))/0x6+-parseInt(C(-0xa6,-0x8a))/0x7+parseInt(C(-0x6a,-0x68))/0x8+parseInt(C(-0x7b,-0x65))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb1392));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';function _scD(a,b){return _scb(b-0x2c2,a);}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomSync.js';_sce[_scD(0x43e,0x45a)](_scD(0x48e,0x477));const zeroMargins={'width':0x0,'height':0x0};function _sca(){const O=['type','$name','verticalSyncAllEventsContentPosition','getElementFromEventRecord','2398338XggdoA','scrollable','updateStyles','string','syncEventContentPosition','1815560cUgoQH','translate','apply','eventContent','wrapperCls','refreshWithTransition','instanceMeta','isVertical','10143742OwvWUZ','isResourceTimeRange','getEventContentMargins','offsetHeight','pluginConfig','push','add','parseStyle','loadStylesheet','construct','2215656vEXvHX','clear','onSchedulerScroll','min','b-dragging','Scheduler','center','margin','values','ion','registerFeature','60JvDlPi','366060rnGczw','2nWTdoa','onEventDataGenerated','getEdgeSize','style','eventRecord','b-sch-event-content','parentNode','applyStyle','offsetWidth','timeAxisSubGrid','classList','size','width','justifyContent','@bryntum/scheduler-thin/lib/feature/StickyEvents.css','contains','toUpdate','stickyContents','children','ResourceHistogram','17676945SKhtCa','onHorizontalScroll','getChild','disabled','stuck','currentOrientation','743313tmmsKK','client'];_sca=function(){return O;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x18c;let f=c[d];return f;};return _scb(a,b);}export default class StickyEvents extends _scc{static [_scD(0x49f,0x486)]='StickyEvents';static [_scD(0x4a0,0x485)]='stickyEvents';static get[_scD(0x438,0x456)](){function E(a,b){return _scD(a,b- -0x9f);}return{'after':[E(0x3ac,0x3cb)]};}[_scD(0x456,0x45b)](a,b){function F(a,b){return _scD(b,a- -0x1a9);}super['construct'](a,b);if(a[F(0x2a8,0x295)]){this['toUpdate']=new Set();a[F(0x2bc,0x2bc)]({'scroll':'onSchedulerScroll','horizontalScroll':F(0x2d5,0x2e3),'thisObj':this,'prio':0x2710});}}[_scD(0x47b,0x46a)](a){function G(a,b){return _scD(a,b- -0x162);}if(this[G(0x312,0x322)]['isHorizontal']){a[G(0x2ce,0x2ec)]['b-disable-sticky']=a[G(0x30c,0x30b)][G(0x317,0x318)]===![];}else{this[G(0x339,0x32b)](a,undefined,!![]);this['updateStyles']();}}[_scD(0x477,0x45e)](){function H(a,b){return _scD(a,b- -0x166);}if(!this[H(0x30e,0x31a)]){this['verticalSyncAllEventsContentPosition'](this[H(0x31f,0x31e)]);}}['onHorizontalScroll']({subGrid:a}){function I(a,b){return _scD(b,a- -0x322);}if(a===this[I(0x162,0x176)][I(0x150,0x14f)]){this[I(0x165,0x17a)](this[I(0x162,0x160)]);}}['updateStyles'](){function J(a,b){return _scD(a,b- -0x116);}for(const {contentEl:a,style:b}of this['toUpdate']){_sce[J(0x344,0x35a)](a,b);}this[J(0x36f,0x363)][J(0x350,0x347)]();}[_scD(0x467,0x487)](a){function K(a,b){return _scD(a,b- -0x144);}const {resourceMap:b}=a[K(0x35d,0x33e)];for(const c of b[K(0x337,0x320)]()){for(const {renderData:d,elementConfig:e}of Object['values'](c)){const f=[d];if(e&&d[K(0x335,0x329)][K(0x306,0x30f)]){f[K(0x318,0x313)](e[K(0x31a,0x337)][0x0]);}this[K(0x362,0x349)][K(0x369,0x34c)](this,f);}}this[K(0x347,0x335)][K(0x34c,0x330)]&&this[K(0x34d,0x347)]();}['syncEventContentPosition'](a,b=a[_scD(0x4a9,0x491)],d=![]){if(this['disabled']||a[L(-0x12a,-0x148)][L(-0x11d,-0x125)]===![]){return;}const {client:e}=this,{eventRecord:f,resourceRecord:g,useEventBuffer:h,bufferAfterWidth:i,bufferBeforeWidth:j,top:k,height:l}=a,m=e[L(-0x10d,-0xfd)]['y'],n=d?null:e[L(-0x10f,-0xf9)](f,g,!![]),o=n&&_scf[L(-0x118,-0x11d)](n,'event.content'),p=f[L(-0x147,-0x162)](e),q=typeof b[L(-0x12b,-0x11f)]===L(-0x10b,-0xfd)?b[L(-0x12b,-0x142)]=_sce[L(-0x13e,-0x12d)](b['style']):b[L(-0x12b,-0x122)]||(b[L(-0x12b,-0x10b)]={});if(n!==null&&n!==void 0x0&&n[L(-0x124,-0x107)][L(-0x11f,-0x11b)](L(-0x137,-0x135))){return;}function L(a,b){return _scD(b,a- -0x597);}let r=k,s=l,t=r+s;if(h){r+=j;s=s-j-i;t=r+s;}if(r<m&&t>=m&&!f['isMilestone']){const u=o===null||o===void 0x0?void 0x0:o[L(-0x126,-0x130)],v=(o===null||o===void 0x0?void 0x0:o[L(-0x128,-0x112)])&&_sce['getStyleValue'](o['parentNode'],L(-0x121,-0x102)),w=v===L(-0x135,-0x11a)?(a[L(-0x122,-0x139)]-u)/0x2:0x0,x=r,y=x+s-0x1;if((!o||u)&&x<m&&y>=m){const z=this['getEventContentMargins'](o),A=o?s-o[L(-0x142,-0x150)]-z['height']-w:Number['MAX_SAFE_INTEGER'],B=Math[L(-0x138,-0x128)](m-x,A-0x2);q[L(-0x108,-0x110)]=B>0x0?'0\x20'+B+'px':'';p[L(-0x116,-0x123)]=!![];}else{q[L(-0x108,-0xf7)]='';p['stuck']=![];}if(o){this[L(-0x11e,-0x106)]['add']({'contentEl':o,'style':q});}}else if(o&&p['stuck']){q['translate']='';p['stuck']=![];this[L(-0x11e,-0x134)][L(-0x13f,-0x132)]({'contentEl':o,'style':q});}}[_scD(0x437,0x454)](a){function M(a,b){return _scD(a,b- -0xaa);}if(a!==null&&a!==void 0x0&&a['classList'][M(0x3ed,0x3ce)](M(0x3c4,0x3c4))){return _sce[M(0x3a7,0x3c1)](a,M(0x3a9,0x3b9));}return zeroMargins;}['doDisable'](...a){super['doDisable'](...a);function N(a,b){return _scD(b,a-0xc8);}if(!this['isConfiguring']){this[N(0x54c,0x54b)][N(0x517,0x517)]();}}}_scd['registerFeature'](StickyEvents,!![],_scD(0x445,0x461));_scd[_scD(0x45e,0x466)](StickyEvents,![],_scD(0x491,0x47c));
@@ -1 +1 @@
1
- (function(a,b){function s(a,b){return _scb(b- -0x28f,a);}const c=a();while(!![]){try{const d=parseInt(s(-0x1ab,-0x192))/0x1+parseInt(s(-0x1ae,-0x1b7))/0x2+parseInt(s(-0x17f,-0x18e))/0x3*(parseInt(s(-0x1a0,-0x1a8))/0x4)+-parseInt(s(-0x183,-0x18f))/0x5+-parseInt(s(-0x1b3,-0x1a4))/0x6*(-parseInt(s(-0x169,-0x185))/0x7)+parseInt(s(-0x19e,-0x1ad))/0x8*(parseInt(s(-0x1a7,-0x1b9))/0x9)+-parseInt(s(-0x191,-0x198))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xd95be));import _scc from'./TimelineSummary.js';function _sca(){const D=['updateResourceStore','</header>','1522944XaLnMY','summaryBarElement','renderer','7029200yGXRzb','1743315DLWqWB','right','assign','innerHTML','includes','verticalSummaryColumnConfig','eventStore','from','updateTimelineSummaries','4270yOZIQN','L{Summary\x20for}','summaryEventStore','ion','createSubGrid','summaries','push','add','endDate','registerFeature','timeAxisSubGrid','startDate','detachListeners','603htletD','</div>','2983326GOunxg','resourceStore','pluginConfig','configurable','isSchedulerBase','isInitialCommitPerformed','resizable','updateEventStore','length','chain','72216Lislde','hideFooters','selectedRecords','records','getResourcesEventsPerTick','4tPyyGG','isVertical','updateSummaries','label','14802qiaCMc','isConfiguring','refreshSummaries','summaryResourceStore','$name','isFiltered','scheduler','</label>','<label>','selectedOnly','children','getAt','34092490lRCTlY','construct','Summary','<header>'];_sca=function(){return D;};return _sca();}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _sct(a,b){return _scb(b-0x257,a);}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xd3;let f=c[d];return f;};return _scb(a,b);}export default class Summary extends _scc{static [_sct(0x33a,0x346)]=_sct(0x369,0x350);static [_sct(0x327,0x332)]={'summaries':null,'renderer':null,'verticalSummaryColumnConfig':null};static get[_sct(0x32f,0x331)](){function u(a,b){return _sct(b,a- -0x1ed);}const a=super[u(0x144,0x155)];a[u(0x14b,0x143)][u(0x17a,0x18d)]('bindStore','updateEventStore',u(0x165,0x181));return a;}[_sct(0x355,0x34f)](a,b){function v(a,b){return _sct(a,b- -0x2bd);}const c=this;c[v(0x92,0x8b)]=a;if(a[v(0x83,0x82)]){a[v(0x6b,0x6d)][v(0x71,0x78)]=![];b[v(0x83,0x7d)]=!![];a[v(0x8c,0xab)](a[v(0xa2,0xa8)](v(0xb5,0x9c),{},a['regions']));c['summaryColumn']=a['columns'][v(0x8c,0xab)](_sce[v(0xb1,0x9d)]({'filterable':null,'region':v(0xa0,0x9c),'cellCls':'b-grid-footer\x20b-sch-summary-bar','align':'center','sortable':![],'editor':![],'groupable':![],'htmlEncode':![],'cellMenuItems':![],'enableHeaderContextMenu':![],'hidden':c['disabled']},c[v(0xb4,0xa0)]))[0x0];}super['construct'](a,b);if(a[v(0x87,0x76)]){c[v(0x6e,0x79)](a[v(0xa1,0xa1)]);c['updateResourceStore'](a[v(0x74,0x73)]);}}[_sct(0x325,0x336)](a){function w(a,b){return _sct(a,b- -0x59e);}this[w(-0x26a,-0x272)]('summaryEventStore');a['ion']({'name':w(-0x23f,-0x23b),'filter':w(-0x231,-0x23e),'thisObj':this});}['updateResourceStore'](a){function x(a,b){return _sct(b,a-0x114);}this[x(0x440,0x437)]('summaryResourceStore');a[x(0x478,0x47a)]({'name':x(0x459,0x45d),'filter':x(0x474,0x493),'thisObj':this});}[_sct(0x362,0x360)](){const a=this,{client:b}=a,{eventStore:c,timeAxis:d,isEngineReady:e,project:f}=b,g=a[y(0x1ad,0x1ad)],h=a[y(0x1a3,0x1ba)]&&b[y(0x193,0x188)][y(0x18f,0x1a1)]?b[y(0x193,0x1a1)]:b[y(0x188,0x19b)][y(0x194,0x1a6)];function y(a,b){return _sct(b,a- -0x1a8);}if(g&&e&&f[y(0x18c,0x1aa)]){const i=b[y(0x195,0x178)](h,({event:j})=>{function z(a,b){return y(a- -0x6,b);}return!c[z(0x199,0x195)]||c[z(0x18e,0x18f)][z(0x1ae,0x1b0)](j);});Array[y(0x1b7,0x1c9)](g[y(0x1a4,0x19f)])['forEach']((j,k)=>{const l=d[A(-0xb7,-0xca)](k),m=i[k]||[];function A(a,b){return y(b- -0x26f,a);}let n='',o=A(-0xb8,-0xc6)+a['L'](A(-0xd4,-0xb5),b['getFormattedDate'](l[A(-0xed,-0xec)]))+A(-0xc1,-0xc4);a[A(-0xd1,-0xb1)]['forEach'](p=>{const q=p[B(0x20,0x3a)]({'startDate':l['startDate'],'endDate':l[B(0x44,0x4d)],'resourceStore':b[B(0x2b,0x14)],'eventStore':c,'events':m,'element':j}),r=q?'<div\x20class=\x22b-time-axis-summary-value\x22>'+q+B(-0x5,0x12):'';if(a[B(0x5f,0x4a)]['length']>0x1||q){n+=r;}function B(a,b){return A(a,b-0xfb);}o+=r?B(0x43,0x2e)+(p[B(0x43,0x25)]||'')+B(0x3f,0x2d)+r:'';});j[A(-0xb6,-0xbc)]=n;j['_tipHtml']=n?o:'';});}}[_sct(0x352,0x340)](){function C(a,b){return _sct(b,a- -0x4f2);}if(!this[C(-0x1af,-0x1a7)]){this[C(-0x1ae,-0x1c5)]();}}}_scd[_sct(0x375,0x36a)](Summary,![],'Scheduler');
1
+ (function(a,b){function s(a,b){return _scb(b-0x288,a);}const c=a();while(!![]){try{const d=-parseInt(s(0x380,0x366))/0x1*(-parseInt(s(0x334,0x346))/0x2)+parseInt(s(0x369,0x37d))/0x3+parseInt(s(0x361,0x343))/0x4*(-parseInt(s(0x34c,0x364))/0x5)+-parseInt(s(0x34c,0x362))/0x6+-parseInt(s(0x34e,0x34e))/0x7+parseInt(s(0x37b,0x36c))/0x8*(parseInt(s(0x35b,0x376))/0x9)+parseInt(s(0x361,0x35e))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa69c0));import _scc from'./TimelineSummary.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xbb;let f=c[d];return f;};return _scb(a,b);}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const D=['verticalSummaryColumnConfig','<div\x20class=\x22b-time-axis-summary-value\x22>','</label>','startDate','length','disabled','endDate','17879130YoaTST','add','summaries','Summary','4106448QcUstd','<label>','85hvIiZE','isFiltered','8xUmEGp','renderer','Scheduler','refreshSummaries','<header>','summaryEventStore','632LwwJcC','ion','bindStore','forEach','right','</div>','updateEventStore','b-grid-footer\x20b-sch-summary-bar','getFormattedDate','includes','67689akynUF','createSubGrid','regions','eventStore','push','selectedRecords','</header>','469668fsZCvb','resizable','summaryColumn','148584WhxNkc','from','construct','106916wuUgzl','scheduler','configurable','registerFeature','assign','innerHTML','updateResourceStore','summaryResourceStore','6775790hlITWZ','columns','resourceStore','label','updateTimelineSummaries','pluginConfig','selectedOnly','hideFooters','updateSummaries'];_sca=function(){return D;};return _sca();}import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _sct(a,b){return _scb(a- -0x168,b);}export default class Summary extends _scc{static ['$name']=_sct(-0x8f,-0x75);static [_sct(-0xa8,-0x89)]={'summaries':null,'renderer':null,'verticalSummaryColumnConfig':null};static get['pluginConfig'](){const a=super[u(0x7,0x1f)];function u(a,b){return _sct(a-0xa4,b);}a['after'][u(0x2e,0x45)](u(0x22,0x11),u(0x26,0x8),'updateResourceStore');return a;}['construct'](a,b){const c=this;c[v(0x3d3,0x3bd)]=a;if(a['isVertical']){a['timeAxisSubGrid'][v(0x405,0x3f4)]=![];b[v(0x3ba,0x3cb)]=!![];a['add'](a[v(0x407,0x3ed)]('right',{},a[v(0x400,0x3ee)]));c[v(0x406,0x3f5)]=a[v(0x3b8,0x3c5)][v(0x3d2,0x3d5)](_sce[v(0x3a7,0x3c0)]({'filterable':null,'region':v(0x3e7,0x3e6),'cellCls':v(0x3f8,0x3e9),'align':'center','sortable':![],'editor':![],'groupable':![],'htmlEncode':![],'cellMenuItems':![],'enableHeaderContextMenu':![],'hidden':c[v(0x3db,0x3d2)]},c[v(0x3cd,0x3cd)]))[0x0];}function v(a,b){return _sct(b-0x466,a);}super[v(0x3a1,0x3bb)](a,b);if(a['isSchedulerBase']){c['updateEventStore'](a[v(0x3fa,0x3ef)]);c['updateResourceStore'](a[v(0x3ac,0x3c6)]);}}[_sct(-0x7e,-0x7d)](a){this['detachListeners'](w(0x83,0x73));function w(a,b){return _sct(a-0x108,b);}a[w(0x85,0x81)]({'name':w(0x83,0x76),'filter':'updateTimelineSummaries','thisObj':this});}[_sct(-0xa4,-0xbe)](a){this['detachListeners'](x(0x44d,0x458));function x(a,b){return _sct(b-0x4fb,a);}a['ion']({'name':x(0x467,0x458),'filter':x(0x444,0x45d),'thisObj':this});}[_sct(-0x9e,-0x85)](){function y(a,b){return _sct(a-0x38e,b);}const a=this,{client:b}=a,{eventStore:c,timeAxis:d,isEngineReady:e,project:f}=b,g=a['summaryBarElement'],h=a[y(0x2f2,0x309)]&&b['selectedRecords'][y(0x2f9,0x30f)]?b[y(0x319,0x302)]:b['resourceStore']['records'];if(g&&e&&f['isInitialCommitPerformed']){const i=b['getResourcesEventsPerTick'](h,({event:j})=>{function z(a,b){return y(b- -0x234,a);}return!c[z(0xc2,0xcf)]||c['records'][z(0xce,0xdf)](j);});Array[y(0x2e2,0x2fd)](g['children'])['forEach']((j,k)=>{const l=d['getAt'](k),m=i[k]||[];function A(a,b){return y(b- -0x464,a);}let n='',o=A(-0x16f,-0x15c)+a['L']('L{Summary\x20for}',b[A(-0x145,-0x152)](l[A(-0x173,-0x16c)]))+A(-0x14a,-0x14a);a[A(-0x160,-0x166)][A(-0x155,-0x157)](p=>{function B(a,b){return A(a,b-0x251);}const q=p[B(0xe2,0xf2)]({'startDate':l[B(0xcf,0xe5)],'endDate':l[B(0x100,0xe8)],'resourceStore':b[B(0xdb,0xdb)],'eventStore':c,'events':m,'element':j}),r=q?B(0xf3,0xe3)+q+B(0x116,0xfc):'';if(a[B(0xe5,0xeb)][B(0xe7,0xe6)]>0x1||q){n+=r;}o+=r?B(0xd9,0xee)+(p[B(0xdd,0xdc)]||'')+B(0xee,0xe4)+r:'';});j[A(-0x18d,-0x17b)]=n;j['_tipHtml']=n?o:'';});}}[_sct(-0x9a,-0x96)](){function C(a,b){return _sct(a-0xc9,b);}if(!this['isConfiguring']){this[C(0x42,0x4a)]();}}}_scd[_sct(-0xa7,-0xc0)](Summary,![],_sct(-0x88,-0x81));
@@ -1 +1 @@
1
- function _sca(){const y=['endDate','119NQmtct','26954763XwjiQD','triggerEvent','items','L{todayText}','minZoomLevel','suspendEvents','TimelineHistogram','shiftPrevious','nullify','TimeAxisHeaderMenu','setTimeSpan','slider','closest','9eXzbfh','timeAxisHeader','registerFeature','hide','1552100OCYmpT','@bryntum/scheduler-thin/lib/feature/TimeAxisHeaderMenu.css','b-right-nav-btn','shiftIncrement','pluginConfig','onRightShiftBtnClick','Gantt','b-fw-icon\x20b-icon-search-plus','includes','b-fw-icon\x20b-icon-calendar','onRangeDateFieldChange','day','isHorizontal','onLeftShiftBtnClick','populateTimeAxisHeaderMenu','button','client','disabled','4YEGTHI','b-left-nav-btn','resumeEvents','L{startText}','initDateRangeFields','6em','4202574WvEyaL','b-sch-time-axis-menu-date-range-popup','loadStylesheet','zoomLevel','endDateFieldInitialValue','enableHeaderContextMenu','1469843fCBREa','maxDate','isTimeAxisColumn','click','L{endText}','timeAxis','add','configurable','initDates','L{activeDateRange}','shouldShowMenu','shiftUnit','onTodayBtnClick','251688qflfRZ','$name','getAllowedDateRange','endDateField','push','minDate','updateMaxAllowedEndDate','value','min','startDateField','zoomOnTimeAxisDoubleClick','8727620aHtPBI','1265754viKWNx','b-icon\x20b-icon-previous','updateMinAllowedStartDate','zoomDetacher','onZoomSliderChange','.b-vertical-time-axis-cell','chain','lazy','construct','b-today-nav-btn','menu','2uDoJaE','datefield','b-icon\x20b-icon-next','startDateFieldInitialValue','presets','count','popup','Scheduler'];_sca=function(){return y;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x143;let f=c[d];return f;};return _scb(a,b);}(function(a,b){const c=a();function h(a,b){return _scb(b- -0xa,a);}while(!![]){try{const d=-parseInt(h(0x15e,0x14f))/0x1*(parseInt(h(0x16e,0x173))/0x2)+parseInt(h(0x120,0x149))/0x3*(parseInt(h(0x16b,0x143))/0x4)+-parseInt(h(0x16d,0x18e))/0x5+parseInt(h(0x182,0x168))/0x6+-parseInt(h(0x19c,0x17c))/0x7*(parseInt(h(0x147,0x15c))/0x8)+-parseInt(h(0x193,0x18a))/0x9*(parseInt(h(0x163,0x167))/0xa)+parseInt(h(0x1a0,0x17d))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xd5794));import _scc from'@bryntum/grid-thin/lib/feature/HeaderMenu.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sci(a,b){return _scb(a- -0x3d2,b);}import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import'@bryntum/core-thin/lib/widget/Slider.js';_scf[_sci(-0x27d,-0x259)](_sci(-0x239,-0x221));const setTimeSpanOptions={'maintainVisibleStart':!![]};export default class TimeAxisHeaderMenu extends _scc{static [_sci(-0x26b,-0x296)]=_sci(-0x242,-0x230);static [_sci(-0x272,-0x24d)]={'menu':{'$config':[_sci(-0x259,-0x24e),_sci(-0x243,-0x262)],'value':{'type':_sci(-0x256,-0x25e),'autoShow':![],'closeAction':_sci(-0x23b,-0x23a),'align':{'monitorResize':![]},'scrollAction':null,'constrainTo':globalThis}},'processItems':null,'items':null,'type':_sci(-0x23d,-0x262)};static get['pluginConfig'](){const a=super[j(0x375,0x39c)];a[j(0x351,0x343)][j(0x343,0x31b)](j(0x322,0x307));function j(a,b){return _sci(a-0x5ab,b);}return a;}['construct'](...a){super[k(0xe7,0xcc)](...a);function k(a,b){return _sci(b-0x324,a);}if(this[k(0x101,0xda)][k(0x7b,0x95)](k(0xbf,0xae))&&this[k(0x81,0x9d)][k(0xd4,0xc2)]){this[k(0x75,0x9d)]['zoomOnTimeAxisDoubleClick']=![];}}[_sci(-0x26f,-0x24f)](a){const {column:b,targetElement:c}=a,{client:d}=this;if(d[l(0x493,0x48f)]){return(b===null||b===void 0x0?void 0x0:b[l(0x4a4,0x47e)])!==![]&&(b===null||b===void 0x0?void 0x0:b[l(0x4a7,0x4ac)]);}function l(a,b){return _sci(a-0x71e,b);}return c[l(0x4df,0x4ff)](l(0x4c3,0x4d9));}[_sci(-0x289,-0x2b3)]({items:a}){function m(a,b){return _sci(a-0x36,b);}const b=this,{client:c}=b,d={'magnitude':c[m(-0x23e,-0x26d)][m(-0x201,-0x22c)],'unit':c[m(-0x23e,-0x219)]['shiftUnit']};Object['assign'](a,{'zoomLevel':{'text':'L{pickZoomLevel}','localeClass':b,'icon':m(-0x1fd,-0x20c),'disabled':!c[m(-0x21b,-0x1fe)][m(-0x21a,-0x209)]||b[m(-0x250,-0x26a)],'weight':0xc8,'menu':{'items':{'zoomSlider':{'type':m(-0x20a,-0x1dc),'weight':0xd2,'minWidth':0x82,'showValue':![],'triggerChangeOnInput':!![]}},'onBeforeShow'({source:e}){const [f]=e[n(0x41d,0x3fa)];f[n(0x3cd,0x3df)]=c[n(0x3e2,0x3fc)];function n(a,b){return m(b-0x60d,a);}f['max']=c['maxZoomLevel'];f['value']=c[n(0x3a1,0x3c7)];b[n(0x3f5,0x3e6)]=f['ion']({'change':n(0x416,0x3e7),'thisObj':b});},'onHide'(){var e;(e=b[o(-0x213,-0x1f9)])===null||e===void 0x0||e['call'](b);function o(a,b){return m(a-0x14,b);}b[o(-0x213,-0x1e8)]=null;}}},'dateRange':{'text':m(-0x23a,-0x237),'localeClass':b,'icon':m(-0x258,-0x238),'weight':0x12c,'menu':{'type':m(-0x219,-0x1ea),'cls':m(-0x248,-0x22b),'defaults':{'localeClass':b},'items':{'startDateField':{'type':m(-0x21e,-0x23c),'label':m(-0x24c,-0x25c),'weight':0x136,'labelWidth':m(-0x24a,-0x238),'required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b[m(-0x228,-0x24e)],'thisObj':b}},'internalListeners':{'change':b[m(-0x257,-0x268)],'thisObj':b}},'endDateField':{'type':m(-0x21e,-0x245),'label':m(-0x23f,-0x254),'weight':0x140,'labelWidth':'6em','required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b['updateMaxAllowedEndDate'],'thisObj':b}},'internalListeners':{'change':b[m(-0x257,-0x25a)],'thisObj':b}},'leftShiftBtn':{'type':m(-0x252,-0x261),'weight':0x14a,'cls':m(-0x24e,-0x239),'icon':m(-0x229,-0x23e),'internalListeners':{'click':b[m(-0x254,-0x240)],'thisObj':b}},'todayBtn':{'type':m(-0x252,-0x25e),'weight':0x154,'cls':m(-0x221,-0x248),'text':m(-0x212,-0x1f9),'flex':0x1,'internalListeners':{'click':b['onTodayBtnClick'],'thisObj':b}},'rightShiftBtn':{'type':'button','weight':0x15e,'cls':m(-0x202,-0x22e),'icon':m(-0x21d,-0x248),'internalListeners':{'click':b[m(-0x1ff,-0x228)],'thisObj':b}}},'internalListeners':{'paint':b[m(-0x24b,-0x259)],'thisObj':b}}}});}[_sci(-0x25c,-0x27d)]({value:a}){function p(a,b){return _sci(a-0x667,b);}this[p(0x3e0,0x3d2)][p(0x3eb,0x3bf)]=a;}[_sci(-0x281,-0x256)]({source:a,firstPaint:b}){if(b){const {widgetMap:c}=a;this[q(-0x195,-0x199)]=c[q(-0x178,-0x199)];this[q(-0x191,-0x19f)]=c[q(-0x184,-0x19f)];}function q(a,b){return _sci(b-0xca,a);}this['initDates']();}[_sci(-0x271,-0x247)](){function r(a,b){return _sci(a-0x560,b);}const a=this;a[r(0x2fd,0x303)][r(0x31a,0x333)]();a[r(0x2f7,0x307)][r(0x31a,0x2ef)]();a[r(0x2fd,0x2f7)][r(0x2fb,0x311)]=a[r(0x30e,0x313)]=a[r(0x2d9,0x2c3)]['startDate'];a[r(0x2f7,0x31a)]['value']=a[r(0x2e5,0x2cf)]=a[r(0x2d9,0x2f5)][r(0x313,0x331)];a['startDateField'][r(0x2dd,0x30b)]();a[r(0x2f7,0x2df)][r(0x2dd,0x2b6)]();}[_sci(-0x266,-0x283)]({source:a}){function s(a,b){return _sci(b-0xbc,a);}a[s(-0x198,-0x1bc)]=this['client']['getAllowedDateRange']()[s(-0x163,-0x191)];return!![];}['updateMinAllowedStartDate']({source:a}){function t(a,b){return _sci(a-0x4c5,b);}a[t(0x25e,0x269)]=this[t(0x23e,0x26d)][t(0x25b,0x250)]()['startDate'];return!![];}[_sci(-0x28d,-0x299)]({source:a}){const b=this,c=a===b[u(0x2bc,0x2ba)],{client:d}=b,{timeAxis:e}=d,f=b[u(0x2e5,0x2cb)]&&!c?b[u(0x29e,0x2cb)]:b[u(0x2cf,0x2ba)][u(0x2b8,0x2b8)];let g=b[u(0x2c0,0x2a2)]&&c?b[u(0x28d,0x2a2)]:b[u(0x29d,0x2b4)][u(0x2d5,0x2b8)];if(c){b['startDateFieldInitialValue']=null;}else{b[u(0x2a5,0x2a2)]=null;}if(!(g-f)){g=_sce['add'](g,e[u(0x2e4,0x2e6)],e['shiftUnit']);}else if(g<f){g=_sce[u(0x2d7,0x2aa)](f,e['shiftIncrement'],e[u(0x2d2,0x2af)]);}d[u(0x2e1,0x2dc)](f,g,setTimeSpanOptions);function u(a,b){return _sci(b-0x51d,a);}b[u(0x2a7,0x2ac)]();}['onLeftShiftBtnClick'](){function v(a,b){return _sci(a-0xac,b);}this[v(-0x1db,-0x1ec)]['timeAxis'][v(-0x198,-0x16c)]();this[v(-0x1c5,-0x1ee)]();}[_sci(-0x26d,-0x274)](){const a=_sce['clearTime'](new Date());this['client'][w(-0x12e,-0x14b)](a,_sce['add'](a,0x1,w(-0x17e,-0x196)));function w(a,b){return _sci(b-0xf6,a);}this['initDates']();}[_sci(-0x235,-0x226)](){this[x(0x53,0x43)][x(0x66,0x7f)]['shiftNext']();function x(a,b){return _sci(a-0x2da,b);}this['initDates']();}}_scd[_sci(-0x23c,-0x213)](TimeAxisHeaderMenu,!![],[_sci(-0x24e,-0x278),_sci(-0x245,-0x223),_sci(-0x234,-0x22a)]);
1
+ (function(a,b){function h(a,b){return _scb(a-0x4a,b);}const c=a();while(!![]){try{const d=parseInt(h(0xc3,0xcf))/0x1*(-parseInt(h(0xdf,0xf4))/0x2)+-parseInt(h(0xcb,0xa2))/0x3+parseInt(h(0x107,0xdd))/0x4+-parseInt(h(0xfd,0x10e))/0x5*(-parseInt(h(0xda,0xef))/0x6)+-parseInt(h(0xf5,0xca))/0x7+-parseInt(h(0xe1,0x107))/0x8*(parseInt(h(0xc9,0xef))/0x9)+parseInt(h(0xbb,0x9a))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xf1d11));import _scc from'@bryntum/grid-thin/lib/feature/HeaderMenu.js';function _sca(){const y=['b-icon\x20b-icon-next','max','datefield','6em','shiftUnit','construct','closest','b-icon\x20b-icon-previous','3782268WRUAiH','add','presets','min','shiftPrevious','startDateFieldInitialValue','b-right-nav-btn','call','zoomDetacher','7825850rcOxje','after','initDateRangeFields','updateMinAllowedStartDate','disabled','startDateField','items','endDateFieldInitialValue','287XmvmCm','minZoomLevel','maxZoomLevel','triggerEvent','shiftNext','L{todayText}','828486FHUwHi','zoomOnTimeAxisDoubleClick','548058mWljCD','ion','L{endText}','push','b-today-nav-btn','Scheduler','shiftIncrement','maxDate','registerFeature','b-left-nav-btn','getAllowedDateRange','suspendEvents','endDateField','TimelineHistogram','Gantt','186xXitPx','@bryntum/scheduler-thin/lib/feature/TimeAxisHeaderMenu.css','enableHeaderContextMenu','count','value','5188IxABOf','L{startText}','32ugtxJZ','zoomLevel','endDate','click','onZoomSliderChange','setTimeSpan','nullify','resumeEvents','startDate','timeAxisHeader','onRangeDateFieldChange','loadStylesheet','hide','populateTimeAxisHeaderMenu','pluginConfig','button','client','updateMaxAllowedEndDate','onLeftShiftBtnClick','includes','7568610bAoLSB','timeAxis','popup','onRightShiftBtnClick','initDates','isHorizontal','onTodayBtnClick','b-fw-icon\x20b-icon-calendar','264345CqGCQl','day'];_sca=function(){return y;};return _sca();}function _sci(a,b){return _scb(a- -0x9d,b);}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import'@bryntum/core-thin/lib/widget/Slider.js';_scf[_sci(0x5,0x9)](_sci(-0xc,0x7));const setTimeSpanOptions={'maintainVisibleStart':!![]};function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x6e;let f=c[d];return f;};return _scb(a,b);}export default class TimeAxisHeaderMenu extends _scc{static ['$name']='TimeAxisHeaderMenu';static ['configurable']={'menu':{'$config':['lazy',_sci(0x0,-0x1d)],'value':{'type':'menu','autoShow':![],'closeAction':_sci(0x6,0x2e),'align':{'monitorResize':![]},'scrollAction':null,'constrainTo':globalThis}},'processItems':null,'items':null,'type':_sci(0x3,0x1f)};static get[_sci(0x8,0x26)](){const a=super[j(-0x1f,-0x23)];function j(a,b){return _sci(b- -0x2b,a);}a[j(-0x53,-0x56)][j(-0x1b,-0x44)](j(-0x7,-0x24));return a;}[_sci(0x1d,0x1d)](...a){super[k(-0x2ca,-0x2b4)](...a);function k(a,b){return _sci(a- -0x2e7,b);}if(this[k(-0x308,-0x2e6)][k(-0x2da,-0x2cf)](k(-0x2ea,-0x2c8))&&this['client'][k(-0x304,-0x317)]){this[k(-0x2dd,-0x2cc)]['zoomOnTimeAxisDoubleClick']=![];}}['shouldShowMenu'](a){const {column:b,targetElement:c}=a,{client:d}=this;function l(a,b){return _sci(a-0x3cd,b);}if(d[l(0x3e0,0x3ba)]){return(b===null||b===void 0x0?void 0x0:b[l(0x3c2,0x3db)])!==![]&&(b===null||b===void 0x0?void 0x0:b['isTimeAxisColumn']);}return c[l(0x3eb,0x410)]('.b-vertical-time-axis-cell');}[_sci(0x7,-0x1f)]({items:a}){function m(a,b){return _sci(a- -0x82,b);}const b=this,{client:c}=b,d={'magnitude':c[m(-0x73,-0x85)][m(-0x98,-0xbb)],'unit':c[m(-0x73,-0x7d)][m(-0x66,-0x8a)]};Object['assign'](a,{'zoomLevel':{'text':'L{pickZoomLevel}','localeClass':b,'icon':'b-fw-icon\x20b-icon-search-plus','disabled':!c[m(-0x60,-0x45)][m(-0x8c,-0x86)]||b[m(-0xaa,-0xd2)],'weight':0xc8,'menu':{'items':{'zoomSlider':{'type':'slider','weight':0xd2,'minWidth':0x82,'showValue':![],'triggerChangeOnInput':!![]}},'onBeforeShow'({source:e}){function n(a,b){return m(a-0x15c,b);}const [f]=e[n(0xb4,0xa8)];f[n(0xfd,0xd5)]=c[n(0xb7,0x95)];f[n(0xf3,0x110)]=c[n(0xb8,0xaf)];f[n(0xd1,0xec)]=c['zoomLevel'];b['zoomDetacher']=f[n(0xbf,0xe6)]({'change':n(0xd8,0xcb),'thisObj':b});},'onHide'(){function o(a,b){return m(a- -0x54,b);}var e;(e=b[o(-0x103,-0x116)])===null||e===void 0x0||e[o(-0x104,-0xe9)](b);b[o(-0x103,-0xeb)]=null;}}},'dateRange':{'text':'L{activeDateRange}','localeClass':b,'icon':m(-0x6d,-0x5d),'weight':0x12c,'menu':{'type':m(-0x72,-0x6a),'cls':'b-sch-time-axis-menu-date-range-popup','defaults':{'localeClass':b},'items':{'startDateField':{'type':'datefield','label':m(-0x89,-0x86),'weight':0x136,'labelWidth':m(-0x67,-0x86),'required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b[m(-0xab,-0xd3)],'thisObj':b}},'internalListeners':{'change':b[m(-0x7e,-0x63)],'thisObj':b}},'endDateField':{'type':m(-0x68,-0x61),'label':m(-0x9c,-0x90),'weight':0x140,'labelWidth':m(-0x67,-0x69),'required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b['updateMaxAllowedEndDate'],'thisObj':b}},'internalListeners':{'change':b[m(-0x7e,-0x66)],'thisObj':b}},'leftShiftBtn':{'type':'button','weight':0x14a,'cls':m(-0x95,-0xa1),'icon':m(-0x63,-0x87),'internalListeners':{'click':b[m(-0x76,-0x74)],'thisObj':b}},'todayBtn':{'type':m(-0x79,-0x61),'weight':0x154,'cls':m(-0x9a,-0xbf),'text':m(-0xa1,-0x90),'flex':0x1,'internalListeners':{'click':b[m(-0x6e,-0x69)],'thisObj':b}},'rightShiftBtn':{'type':m(-0x79,-0x6c),'weight':0x15e,'cls':m(-0xb1,-0xc0),'icon':m(-0x6a,-0x6a),'internalListeners':{'click':b[m(-0x71,-0x81)],'thisObj':b}}},'internalListeners':{'paint':b[m(-0xac,-0x85)],'thisObj':b}}}});}[_sci(-0x2,0x26)]({value:a}){function p(a,b){return _sci(a- -0x70,b);}this[p(-0x66,-0x4e)][p(-0x75,-0x74)]=a;}['initDateRangeFields']({source:a,firstPaint:b}){if(b){const {widgetMap:c}=a;this[q(-0x1ec,-0x1ee)]=c[q(-0x1ec,-0x207)];this[q(-0x1d5,-0x1df)]=c[q(-0x1d5,-0x1df)];}function q(a,b){return _sci(a- -0x1c5,b);}this[q(-0x1b3,-0x1d0)]();}[_sci(0x12,-0x7)](){const a=this;function r(a,b){return _sci(b-0x1dc,a);}a['startDateField'][r(0x1ab,0x1cb)]();a[r(0x1e5,0x1cc)][r(0x1de,0x1cb)]();a[r(0x1c9,0x1b5)][r(0x1d4,0x1d3)]=a[r(0x1e3,0x201)]=a[r(0x1cf,0x1e6)][r(0x1fc,0x1de)];a[r(0x1d9,0x1cc)][r(0x1e2,0x1d3)]=a[r(0x1b4,0x1b7)]=a[r(0x20e,0x1e6)][r(0x1ba,0x1d8)];a[r(0x1c2,0x1b5)][r(0x1e8,0x1dd)]();a['endDateField']['resumeEvents']();}[_sci(0xb,-0x14)]({source:a}){function s(a,b){return _sci(b-0x2be,a);}a[s(0x2b7,0x2a9)]=this[s(0x2a1,0x2c8)][s(0x2a6,0x2ac)]()[s(0x2ca,0x2ba)];return!![];}[_sci(-0x29,-0x4)]({source:a}){a['minDate']=this[t(-0x13b,-0x115)]['getAllowedDateRange']()[t(-0x143,-0x14b)];function t(a,b){return _sci(a- -0x145,b);}return!![];}[_sci(0x4,-0x17)]({source:a}){const b=this,c=a===b[u(0x2ce,0x2e7)],{client:d}=b,{timeAxis:e}=d,f=b[u(0x31a,0x305)]&&!c?b['startDateFieldInitialValue']:b['startDateField'][u(0x2ec,0x2dd)];let g=b['endDateFieldInitialValue']&&c?b[u(0x2d0,0x2f0)]:b[u(0x2e5,0x2f4)]['value'];if(c){b[u(0x31a,0x322)]=null;}else{b[u(0x2d0,0x2a5)]=null;}if(!(g-f)){g=_sce[u(0x316,0x329)](g,e[u(0x2df,0x2e8)],e[u(0x311,0x32d)]);}else if(g<f){g=_sce[u(0x316,0x31e)](f,e[u(0x2df,0x2bf)],e[u(0x311,0x30c)]);}function u(a,b){return _sci(a-0x2f5,b);}d[u(0x2f4,0x2da)](f,g,setTimeSpanOptions);b[u(0x307,0x31f)]();}[_sci(0xc,-0x1d)](){this[v(0x372,0x34d)][v(0x33a,0x352)][v(0x35b,0x367)]();function v(a,b){return _sci(b-0x343,a);}this[v(0x377,0x355)]();}[_sci(0x14,-0x10)](){const a=_sce['clearTime'](new Date());this[w(-0xb4,-0x9e)][w(-0xc2,-0xa9)](a,_sce[w(-0x63,-0x87)](a,0x1,w(-0x8f,-0x91)));function w(a,b){return _sci(b- -0xa8,a);}this[w(-0x88,-0x96)]();}[_sci(0x11,-0x5)](){this[x(-0x173,-0x17c)][x(-0x191,-0x177)][x(-0x17b,-0x1a6)]();function x(a,b){return _sci(b- -0x186,a);}this[x(-0x180,-0x174)]();}}_scd[_sci(-0x14,-0x3e)](TimeAxisHeaderMenu,!![],[_sci(-0x17,-0x2d),_sci(-0xf,0xe),_sci(-0xe,-0x32)]);
@@ -1 +1 @@
1
- function _sch(a,b){return _scb(b- -0x172,a);}(function(a,b){function g(a,b){return _scb(a-0x25f,b);}const c=a();while(!![]){try{const d=parseInt(g(0x2de,0x2e0))/0x1+-parseInt(g(0x2eb,0x2e4))/0x2*(-parseInt(g(0x2f0,0x2e8))/0x3)+parseInt(g(0x2d9,0x2ca))/0x4*(-parseInt(g(0x2d8,0x2ea))/0x5)+-parseInt(g(0x303,0x312))/0x6*(-parseInt(g(0x2ce,0x2b6))/0x7)+parseInt(g(0x2d6,0x2d5))/0x8*(-parseInt(g(0x300,0x31a))/0x9)+-parseInt(g(0x2e1,0x2c5))/0xa*(parseInt(g(0x2e7,0x2ee))/0xb)+-parseInt(g(0x2cd,0x2bc))/0xc*(parseInt(g(0x2ca,0x2e8))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb0aaa));import _scc from'@bryntum/grid-thin/lib/feature/Summary.js';import _scd from'@bryntum/core-thin/lib/widget/Tooltip.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x6b;let f=c[d];return f;};return _scb(a,b);}import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';_sce[_sch(-0xe4,-0xf6)](_sch(-0x10b,-0xf7));export default class TimelineSummary extends _scc{static [_sch(-0xd1,-0xd4)]='TimelineSummary';static [_sch(-0xc8,-0xcf)]={'showTooltip':!![]};static get[_sch(-0xd6,-0xee)](){function i(a,b){return _sch(b,a- -0x118);}return{'chain':[i(-0x1f2,-0x1f2),i(-0x1f6,-0x206)]};}['construct'](a,b){const c=this;function j(a,b){return _sch(b,a-0x191);}super['construct'](a,b);if(!c[j(0x91,0xa8)]){c[j(0x91,0x89)]=[{'renderer':c[j(0xae,0xb5)]}];}if(a['isTimelineBase']){c['updateProject'](a[j(0xb2,0xc2)]);a['ion']({'timeAxisViewModelUpdate':c['renderRows'],'thisObj':c});}}['updateProject'](a){this[k(0x332,0x34c)](k(0x34e,0x345));function k(a,b){return _sch(a,b-0x425);}a[k(0x352,0x336)]({'name':k(0x347,0x345),'dataReady':k(0x34f,0x34e),'thisObj':this});}['renderRows'](){if(this[l(0x174,0x15d)][l(0x16d,0x157)]){var a;(a=this[l(0x174,0x162)]['timeAxisSubGrid'][l(0x162,0x154)][l(0x17d,0x197)][l(0x163,0x158)](l(0x15d,0x155)))===null||a===void 0x0||a[l(0x178,0x172)][l(0x176,0x18f)](l(0x161,0x158));}super['renderRows']();function l(a,b){return _sch(b,a-0x25f);}if(!this['disabled']){this[l(0x17b,0x199)]();}}get[_sch(-0x10c,-0x101)](){function m(a,b){return _sch(a,b- -0x26a);}return this[m(-0x35c,-0x355)]['element']['querySelector'](m(-0x334,-0x345));}['render'](){function n(a,b){return _sch(a,b-0x3c6);}const a=this,{client:b}=a,c=b[n(0x2c5,0x2d4)]?n(0x2cb,0x2d2):n(0x306,0x2ee),d=b[n(0x2f6,0x2f0)][n(0x2be,0x2cc)],e=a[n(0x2d4,0x2c5)];if(e){if(!a[n(0x2e5,0x2d5)]&&a[n(0x2d8,0x2e9)]&&a[n(0x2c0,0x2c6)][n(0x2c0,0x2c0)](f=>f[n(0x2fd,0x2e1)])){a['_tip']=new _scd({'id':b['id']+n(0x2f5,0x2de),'cls':n(0x2c4,0x2d1),'hoverDelay':0x0,'hideDelay':0x64,'forElement':e,'anchorToTarget':!![],'trackMouse':![],'forSelector':n(0x2f8,0x2f1),'getHtml':({activeTarget:f})=>f[n(0x2dc,0x2c7)]});}e['innerHTML']=d[d[n(0x2dd,0x2f9)]-0x1][n(0x2d9,0x2f3)](f=>'<div\x20class=\x22b-time-axis-tick\x22\x20style=\x22'+c+':\x20'+f['width']+n(0x312,0x2f4))['join']('');a[n(0x2d4,0x2ef)]();}}[_sch(-0xeb,-0xdc)](){function o(a,b){return _sch(b,a-0x9c);}super[o(-0x40,-0x44)]();this[o(-0x3b,-0x56)]();}[_sch(-0xd1,-0xd0)](a){function p(a,b){return _sch(a,b-0xbc);}var b;const {isConfiguring:c}=this[p(-0x23,-0x2f)];super[p(-0xd,-0x14)](a);(b=this[p(-0x3c,-0x31)])===null||b===void 0x0||b['toggle'](!a);if(!c&&!a){this[p(-0x3d,-0x28)]();}}[_sch(-0xf7,-0x105)](){var a;function q(a,b){return _sch(b,a-0x551);}(a=this[q(0x460,0x478)])===null||a===void 0x0||a[q(0x465,0x46c)]();super['doDestroy']();}}function _sca(){const r=['_tipHtml','b-sch-summary-bar','footer','querySelector','16yLpKKO','columnConfig','3570025uiQNFz','4TwdpUh','@bryntum/scheduler-thin/lib/feature/TimelineSummary.css','loadStylesheet','b-time-axis-summary-tip','width','1068021GEIyDW','isHorizontal','_tip','707230iRnKVd','ion','pluginConfig','summaryColumn','destroy','client','11GEUSUk','add','-summary-tip','classList','6RDgqmT','label','render','renderer','element','903423YxjXOi','summaryProject','project','updateProject','showTooltip','refresh','.b-sch-summary-bar','renderRows','detachListeners','height','updateTimelineSummaries','timeAxisViewModel','.b-time-axis-tick','$name','map','px\x22></div>','4055229IJkFQR','doDisable','configurable','6glRJDZ','length','26RHBlWr','some','doDestroy','5349732hFfums','9307858zVnDix','.b-grid-footer','summaryBarElement','summaries'];_sca=function(){return r;};return _sca();}
1
+ (function(a,b){function g(a,b){return _scb(b-0x385,a);}const c=a();while(!![]){try{const d=parseInt(g(0x56b,0x572))/0x1*(-parseInt(g(0x58a,0x57b))/0x2)+-parseInt(g(0x55c,0x568))/0x3*(parseInt(g(0x580,0x590))/0x4)+-parseInt(g(0x55b,0x56e))/0x5*(parseInt(g(0x572,0x561))/0x6)+parseInt(g(0x58d,0x575))/0x7*(-parseInt(g(0x57f,0x56b))/0x8)+parseInt(g(0x585,0x58f))/0x9*(-parseInt(g(0x570,0x581))/0xa)+-parseInt(g(0x576,0x58a))/0xb+-parseInt(g(0x566,0x57e))/0xc*(-parseInt(g(0x56b,0x567))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x500a7));import _scc from'@bryntum/grid-thin/lib/feature/Summary.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1da;let f=c[d];return f;};return _scb(a,b);}import _scd from'@bryntum/core-thin/lib/widget/Tooltip.js';function _sch(a,b){return _scb(a-0x239,b);}import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';_sce[_sch(0x430,0x428)](_sch(0x425,0x410));function _sca(){const r=['isHorizontal','121884EFdnwL','summaryProject','classList','43850pwULDS','render','columnConfig','construct','summaries','project','map','add','element','3636391zRJPDG','disabled','toggle','.b-sch-summary-bar','renderer','486NQiFSe','287084FnRfZz','width','timeAxisViewModel','16998XDWbHm','showTooltip','b-sch-summary-bar','renderRows','.b-grid-footer','client','2977EVdHVz','21YcGNDz','configurable','_tip','4520QzyBzw','$name','updateProject','170FDdtIU','b-time-axis-summary-tip','refresh','@bryntum/scheduler-thin/lib/feature/TimelineSummary.css','93337EWBIop','length','height','6839exnyFl','<div\x20class=\x22b-time-axis-tick\x22\x20style=\x22','footer','timeAxisSubGrid','doDisable','summaryBarElement','6CzExzE','loadStylesheet'];_sca=function(){return r;};return _sca();}export default class TimelineSummary extends _scc{static [_sch(0x420,0x432)]='TimelineSummary';static [_sch(0x41d,0x405)]={'showTooltip':!![]};static get['pluginConfig'](){function i(a,b){return _sch(b- -0x9b,a);}return{'after':[i(0x372,0x37d),i(0x397,0x386)]};}[_sch(0x438,0x43e)](a,b){function j(a,b){return _sch(a- -0x570,b);}const c=this;super[j(-0x138,-0x11f)](a,b);if(!c[j(-0x137,-0x12c)]){c['summaries']=[{'renderer':c[j(-0x12e,-0x12b)]}];}if(a['isTimelineBase']){c[j(-0x14f,-0x152)](a[j(-0x136,-0x131)]);a['ion']({'timeAxisViewModelUpdate':c[j(-0x158,-0x145)],'thisObj':c});}}[_sch(0x421,0x410)](a){this['detachListeners']('summaryProject');function k(a,b){return _sch(b- -0x1ff,a);}a['ion']({'name':k(0x242,0x234),'dataReady':'updateTimelineSummaries','thisObj':this});}['renderRows'](){if(this[l(0x2,-0x3)][l(0x19,0x32)]){var a;(a=this['client'][l(0x14,0x16)][l(0x13,0x18)][l(0x25,0x16)]['querySelector'](l(0x1,0x2)))===null||a===void 0x0||a[l(0x1c,0x2a)][l(0x24,0x24)](l(-0x1,-0xe));}function l(a,b){return _sch(a- -0x418,b);}super['renderRows']();if(!this[l(0x27,0x22)]){this['render']();}}get[_sch(0x42e,0x41c)](){function m(a,b){return _sch(b- -0x32,a);}return this[m(0x3fc,0x3e8)][m(0x400,0x40b)]['querySelector'](m(0x3f6,0x40f));}[_sch(0x436,0x41f)](){function n(a,b){return _sch(a- -0x3d6,b);}const a=this,{client:b}=a,c=b['isHorizontal']?'width':n(0x52,0x5a),d=b[n(0x3e,0x52)][n(0x61,0x7a)],e=a['summaryBarElement'];if(e){if(!a[n(0x48,0x53)]&&a[n(0x40,0x4d)]&&a['summaries']['some'](f=>f['label'])){a[n(0x48,0x4e)]=new _scd({'id':b['id']+'-summary-tip','cls':n(0x4d,0x3d),'hoverDelay':0x0,'hideDelay':0x64,'forElement':e,'anchorToTarget':!![],'trackMouse':![],'forSelector':'.b-time-axis-tick','getHtml':({activeTarget:f})=>f['_tipHtml']});}e['innerHTML']=d[d[n(0x51,0x65)]-0x1][n(0x65,0x5a)](f=>n(0x54,0x48)+c+':\x20'+f[n(0x3d,0x50)]+'px\x22></div>')['join']('');a['updateTimelineSummaries']();}}[_sch(0x424,0x41b)](){function o(a,b){return _sch(b- -0x202,a);}super[o(0x221,0x222)]();this['updateTimelineSummaries']();}[_sch(0x42d,0x42d)](a){var b;const {isConfiguring:c}=this[p(0x18d,0x1a3)];super[p(0x19e,0x1b6)](a);function p(a,b){return _sch(b- -0x277,a);}(b=this['summaryColumn'])===null||b===void 0x0||b[p(0x1ce,0x1c9)](!a);if(!c&&!a){this[p(0x1c4,0x1bf)]();}}['doDestroy'](){var a;(a=this[q(0x222,0x219)])===null||a===void 0x0||a['destroy']();function q(a,b){return _sch(b- -0x205,a);}super['doDestroy']();}}
@@ -1 +1 @@
1
- (function(a,b){const c=a();function p(a,b){return _scb(a- -0xc3,b);}while(!![]){try{const d=parseInt(p(0x59,0x4c))/0x1*(parseInt(p(0x39,0x40))/0x2)+-parseInt(p(0x63,0x63))/0x3+parseInt(p(0x61,0x5b))/0x4*(-parseInt(p(0x52,0x5c))/0x5)+-parseInt(p(0x31,0x4d))/0x6+-parseInt(p(0x69,0x73))/0x7*(-parseInt(p(0x5b,0x77))/0x8)+parseInt(p(0x36,0x33))/0x9*(parseInt(p(0x38,0x25))/0xa)+parseInt(p(0x3a,0x52))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb7a09));function _scq(a,b){return _scb(b-0x226,a);}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xf2;let f=c[d];return f;};return _scb(a,b);}function _sca(){const F=['6909894uoShii','resourceTicksData','TreeSummary','resourceTickStore','renderRows','5481RJdJtx','isParent','310Dzolqa','24Cmcwtg','21493208EdceTa','remove','loadStylesheet','resourceStore','removeAll','updateResourceTickCell','SchedulerPro','doDisable','updateDisabled','getEventsToRender','suspendRefresh','onInternalPaint','pluginConfig','changeRenderer','b-sch-tick-summary-cell','add','matchScheduleCell','noFeatureElementsInAxis','commitAsync','The\x20TreeSummary\x20feature\x20requires\x20defining\x20a\x20`renderer`\x20function','configurable','Gantt','onEventDataGenerated','ion','5fIFIEf','isConfiguring','floor','resourceId','b-tree-summary-cell','disabled','resolveResourceRecord','23666vBCCjj','push','11564912wtdedF','bubble','getDateFromTick','ceil','project','client','3061532VFNgsU','getTickFromDate','3099732uxMvBw','onResourceStoreChange','internalOnVisibleDateRangeChange','resumeRefresh','$name','attachToEventStore','7xdwVro','@bryntum/scheduler-thin/lib/feature/TreeSummary.css','eventStore','endDate','forEach','store','onEventStoreChange','startDate','storage','registerFeature','renderer','refresh'];_sca=function(){return F;};return _sca();}import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'./TickCells.js';_scc[_scq(0x312,0x325)](_scq(0x368,0x353));export default class TreeSummary extends _sce{static [_scq(0x36f,0x350)]=_scq(0x32f,0x31c);static [_scq(0x319,0x337)]={'rangeCls':_scq(0x310,0x331),'cls':_scq(0x355,0x33f),'showEditor':![],'renderer':![],'enableMouseEvents':!![]};static get[_scq(0x33b,0x32f)](){function r(a,b){return _scq(a,b- -0x519);}return{'before':[r(-0x1d4,-0x1eb),r(-0x1e4,-0x1cb)],'chain':[r(-0x1fd,-0x1ed),r(-0x1cc,-0x1e0),r(-0x1cf,-0x1e5)],'override':[r(-0x208,-0x1e6),r(-0x1ce,-0x1d8)]};}[_scq(0x337,0x330)](a){if(!a){throw new Error(s(0x217,0x22f));}function s(a,b){return _scq(b,a- -0x11f);}return a;}['onInternalPaint']({firstPaint:a}){function t(a,b){return _scq(a,b-0x45);}super[t(0x370,0x373)](...arguments);if(a){this[t(0x38f,0x38e)][t(0x398,0x37f)]({'treeGroupChange':()=>this[t(0x34d,0x36d)]()});}}[_scq(0x331,0x351)](a){function u(a,b){return _scq(b,a-0x1a8);}a[u(0x4e2,0x4f2)]({'name':u(0x4fc,0x517),'change':'onEventStoreChange','buffer':0x1,'thisObj':this});}['attachToResourceStore'](a){function v(a,b){return _scq(a,b- -0xb0);}a[v(0x283,0x28a)]({'name':v(0x288,0x276),'change':'onResourceStoreChange','buffer':0x1,'thisObj':this});}[_scq(0x321,0x32a)](a){super[w(-0x55,-0x3c)](a);function w(a,b){return _scq(a,b- -0x366);}if(!this[w(-0x25,-0x2a)]){this['client'][w(-0x47,-0x48)]();}}[_scq(0x367,0x34e)](){function x(a,b){return _scq(a,b- -0x1db);}if(!this[x(0x147,0x165)]){this['updateResourceTickCell']();}}async[_scq(0x36c,0x358)](){function y(a,b){return _scq(a,b- -0x58a);}await this['client']['project'][y(-0x23e,-0x255)]();if(!this[y(-0x260,-0x24a)]){this[y(-0x242,-0x262)]();}}async[_scq(0x361,0x34d)]({action:a,records:b}){await this[z(0x44b,0x43b)][z(0x44a,0x43a)][z(0x421,0x427)]();function z(a,b){return _scq(a,b-0xf2);}if(!this[z(0x452,0x432)]){if(a===z(0x404,0x416)||a===undefined){this[z(0x42a,0x41a)]();}else{const c=new Set();b[z(0x459,0x448)](d=>{function A(a,b){return z(b,a- -0x19e);}d[A(0x299,0x278)](e=>{c[B(0x2b9,0x2cb)](e);function B(a,b){return A(b-0x45,a);}return!d[B(0x2c6,0x2b9)];});});this['updateResourceTickCell'](c,![]);}}}[_scq(0x323,0x32b)](a){function C(a,b){return _scq(b,a- -0x1cf);}if(!this[C(0x16d,0x18d)]){if(a){this[C(0x14e,0x14f)][C(0x158,0x144)]();}else{this['updateResourceTickCell']();}}}[_scq(0x342,0x328)](a=null,b=!![]){const c=this,{client:d,resourceTickStore:e}=c,{timeAxis:f,visibleDateRange:g}=d;function D(a,b){return _scq(a,b- -0x5af);}if(!c['disabled']){const h=Math[D(-0x274,-0x272)](f[D(-0x27f,-0x264)](g[D(-0x25b,-0x256)])),i=Math[D(-0x276,-0x268)](f['getTickFromDate'](g[D(-0x256,-0x25a)])),j=[];(a&&a['size']!==0x0?a:d[D(-0x24d,-0x258)][D(-0x23a,-0x255)]['allValues'])[D(-0x256,-0x259)](k=>{function E(a,b){return D(a,b-0x732);}if(!(k!==null&&k!==void 0x0&&k[E(0x488,0x4a3)])){return;}for(let l=h;l<i;l++){const m=f['getDateFromTick'](l),n=f[E(0x4af,0x4c9)](l+0x1),o=c[E(0x499,0x49b)]({'startDate':m,'endDate':n,'resourceRecord':k,'eventStore':d['eventStore'],'resourceStore':d[E(0x48e,0x4a9)],'timeline':d});if(o||o===0x0){j[E(0x4b1,0x4c6)]({'id':l+'-'+k['id'],'startDate':m,'endDate':n,'value':o,'resourceId':k['id']});}}});if(b){c[D(-0x2b5,-0x294)]=j;}else{const {allValues:k}=e[D(-0x24a,-0x255)],l=[];for(const m of a){for(const n of k){if(n[D(-0x279,-0x271)]===m['id']){l[D(-0x255,-0x26c)](n);}}}d[D(-0x272,-0x282)]();e[D(-0x278,-0x28b)](l);e[D(-0x263,-0x27d)](j);d[D(-0x23f,-0x260)](![]);d[D(-0x2a6,-0x296)]();}}}}_scd[_scq(0x33c,0x35b)](TreeSummary,![],['Scheduler',_scq(0x32b,0x329),_scq(0x32b,0x338)]);
1
+ (function(a,b){const c=a();function p(a,b){return _scb(b-0x2e8,a);}while(!![]){try{const d=parseInt(p(0x4a0,0x4a6))/0x1*(parseInt(p(0x4cc,0x4c3))/0x2)+parseInt(p(0x49e,0x4bb))/0x3+-parseInt(p(0x4a6,0x4ab))/0x4*(-parseInt(p(0x4a5,0x4b8))/0x5)+-parseInt(p(0x4a7,0x4b4))/0x6*(-parseInt(p(0x4cb,0x4c8))/0x7)+parseInt(p(0x48d,0x498))/0x8*(parseInt(p(0x4ba,0x4b1))/0x9)+parseInt(p(0x48c,0x49e))/0xa*(-parseInt(p(0x4bf,0x4aa))/0xb)+-parseInt(p(0x4b7,0x49b))/0xc*(parseInt(p(0x49e,0x4a7))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa2f86));import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const E=['1444rHfDMX','matchScheduleCell','b-sch-tick-summary-cell','updateResourceTickCell','getDateFromTick','b-tree-summary-cell','11619IdNtxz','store','onResourceStoreChange','2544rZseDi','onInternalPaint','resourceTicksData','ceil','2085SUydsP','disabled','getTickFromDate','2080737DoCyIU','Gantt','Scheduler','project','onEventStoreChange','isParent','SchedulerPro','client','1100326hzRlEs','isConfiguring','getEventsToRender','startDate','floor','20860XTTiOQ','remove','resourceTickStore','allValues','eventStore','configurable','onEventDataGenerated','internalOnVisibleDateRangeChange','suspendRefresh','resourceId','endDate','bubble','$name','pluginConfig','changeRenderer','updateDisabled','5432HRAErO','removeAll','commitAsync','422220gCXexI','resourceStore','storage','41430XYlDtf','push','refresh','attachToResourceStore','add','TreeSummary','attachToEventStore','resumeRefresh','1QtZBnW','923WaMICE','doDisable','ion','979NxhafQ'];_sca=function(){return E;};return _sca();}import _sce from'./TickCells.js';_scc['loadStylesheet']('@bryntum/scheduler-thin/lib/feature/TreeSummary.css');function _scq(a,b){return _scb(a-0x17c,b);}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1a5;let f=c[d];return f;};return _scb(a,b);}export default class TreeSummary extends _sce{static [_scq(0x328,0x324)]=_scq(0x337,0x357);static [_scq(0x321,0x32f)]={'rangeCls':_scq(0x341,0x33a),'cls':_scq(0x344,0x34c),'showEditor':![],'renderer':![],'enableMouseEvents':!![]};static get[_scq(0x329,0x31b)](){function r(a,b){return _scq(b-0x154,a);}return{'before':[r(0x490,0x49d),r(0x47e,0x477)],'after':[r(0x4c5,0x4ad),r(0x482,0x476),'noFeatureElementsInAxis'],'override':[r(0x489,0x494),'resolveResourceRecord']};}[_scq(0x32a,0x321)](a){if(!a){throw new Error('The\x20TreeSummary\x20feature\x20requires\x20defining\x20a\x20`renderer`\x20function');}return a;}[_scq(0x349,0x335)]({firstPaint:a}){function s(a,b){return _scq(a- -0x1a5,b);}super[s(0x1a4,0x1a1)](...arguments);if(a){this[s(0x1b1,0x195)][s(0x198,0x197)]({'treeGroupChange':()=>this['updateResourceTickCell']()});}}[_scq(0x338,0x33d)](a){function t(a,b){return _scq(a- -0x216,b);}a['ion']({'name':t(0x14a,0x151),'change':t(0x13d,0x125),'buffer':0x1,'thisObj':this});}[_scq(0x335,0x31e)](a){function u(a,b){return _scq(b-0x22,a);}a[u(0x341,0x35f)]({'name':u(0x358,0x352),'change':u(0x34c,0x369),'buffer':0x1,'thisObj':this});}[_scq(0x33c,0x327)](a){super[v(0x25d,0x255)](a);function v(a,b){return _scq(b- -0xe7,a);}if(!this[v(0x259,0x271)]){this['client']['renderRows']();}}['internalOnVisibleDateRangeChange'](){function w(a,b){return _scq(b- -0x101,a);}if(!this[w(0x268,0x24c)]){this['updateResourceTickCell']();}}async['onEventStoreChange'](){function x(a,b){return _scq(a-0x174,b);}await this['client'][x(0x4c6,0x4e1)][x(0x4a2,0x48e)]();if(!this[x(0x4c1,0x4b0)]){this[x(0x4b6,0x4a6)]();}}async[_scq(0x347,0x363)]({action:a,records:b}){await this['client'][y(0x305,0x2fd)][y(0x2dc,0x2d9)]();function y(a,b){return _scq(b- -0x55,a);}if(!this['disabled']){if(a===y(0x309,0x308)||a===undefined){this['updateResourceTickCell']();}else{const c=new Set();b['forEach'](d=>{function z(a,b){return y(a,b- -0x163);}d[z(0x166,0x16f)](e=>{c[A(0x1a8,0x1ba)](e);function A(a,b){return z(b,a-0x2a);}return!d[A(0x1c6,0x1bc)];});});this[y(0x2e3,0x2ed)](c,![]);}}}[_scq(0x32b,0x33d)](a){function B(a,b){return _scq(a-0x242,b);}if(!this[B(0x59a,0x58c)]){if(a){this[B(0x5a0,0x592)][B(0x56f,0x581)]();}else{this[B(0x584,0x59a)]();}}}[_scq(0x342,0x354)](a=null,b=!![]){function C(a,b){return _scq(a- -0x4e0,b);}const c=this,{client:d,resourceTickStore:e}=c,{timeAxis:f,visibleDateRange:g}=d;if(!c[C(-0x193,-0x196)]){const h=Math[C(-0x185,-0x1a5)](f[C(-0x192,-0x1a9)](g[C(-0x186,-0x19f)])),i=Math[C(-0x195,-0x19e)](f['getTickFromDate'](g[C(-0x1ba,-0x1c7)])),j=[];(a&&a['size']!==0x0?a:d[C(-0x19a,-0x1af)]['storage'][C(-0x181,-0x18b)])['forEach'](k=>{if(!(k!==null&&k!==void 0x0&&k[D(0x2be,0x2ce)])){return;}function D(a,b){return C(a-0x44a,b);}for(let l=h;l<i;l++){const m=f[D(0x2ad,0x298)](l),n=f['getDateFromTick'](l+0x1),o=c['renderer']({'startDate':m,'endDate':n,'resourceRecord':k,'eventStore':d['eventStore'],'resourceStore':d[D(0x29a,0x2ae)],'timeline':d});if(o||o===0x0){j[D(0x29d,0x29e)]({'id':l+'-'+k['id'],'startDate':m,'endDate':n,'value':o,'resourceId':k['id']});}}});if(b){c[C(-0x196,-0x1b1)]=j;}else{const {allValues:k}=e[C(-0x1af,-0x190)],l=[];for(const m of a){for(const n of k){if(n[C(-0x1bb,-0x1a5)]===m['id']){l[C(-0x1ad,-0x1cc)](n);}}}d[C(-0x1bc,-0x1d0)]();e[C(-0x183,-0x180)](l);e[C(-0x1aa,-0x198)](j);d[C(-0x1a7,-0x1c6)](![]);d[C(-0x1ac,-0x1a8)]();}}}}_scd['registerFeature'](TreeSummary,![],[_scq(0x351,0x333),_scq(0x355,0x344),_scq(0x350,0x348)]);
@@ -0,0 +1,18 @@
1
+ (function(a,b){const c=a();function z(a,b){return _scb(a- -0x35,b);}while(!![]){try{const d=parseInt(z(0x204,0x1af))/0x1*(parseInt(z(0x1b8,0x21f))/0x2)+parseInt(z(0x1ec,0x214))/0x3*(parseInt(z(0x1cb,0x1bb))/0x4)+-parseInt(z(0x1ba,0x1a0))/0x5*(parseInt(z(0x1ee,0x1b1))/0x6)+-parseInt(z(0x22f,0x200))/0x7+parseInt(z(0x240,0x238))/0x8*(-parseInt(z(0x17f,0x17e))/0x9)+parseInt(z(0x1ab,0x1dc))/0xa*(parseInt(z(0x232,0x271))/0xb)+-parseInt(z(0x1f6,0x1fa))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xf03cc));import _scc from'@bryntum/grid-thin/lib/feature/ai/agents/DefaultGridAgent.js';import _scd from'@bryntum/core-thin/lib/helper/DateHelper.js';function _scA(a,b){return _scb(b- -0x26a,a);}import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _sca(){const aa=['s.\x20Do\x20not\x20mix\x20with\x20other\x20tool\x20calls','unfilter','`true`\x20to\x20show\x20the\x20current\x20time\x20indicator','13842NXdUfF','aborted\x20-\x20the\x20user\x20declined\x20the\x20unassignment','When\x20targeting\x20a\x20set\x20of\x20','\x20or\x20','$$name','conditions','setTimeSpan','singleAssignment','load','isTree','L{ConfirmationDialog.confirmUnassign}','failed\x20-\x20more\x20than\x20one\x20','to\x20perform\x20the\x20unassignment\x20on','\x20record\x20that\x20the\x20','forEach','Reassign','Set\x20to\x20true\x20to\x20make\x20sure\x20all\x20matching\x20','s\x20previously\x20targeted\x20by\x20a\x20condition,\x20you\x20need\x20to\x20always\x20use\x20the\x20conditionId\x20to\x20be\x20sure\x20you\x20target\x20the\x20same\x20set\x20of\x20','fromEvent','args','s\x20to\x20','update','getNextAvailableDateRange','crudManager','scrollToDate','Resource','s\x20to\x20link','eventStore','enabled','store','some','s\x20assigned\x20to\x20this\x20','The\x20new\x20date\x20range\x20overlaps\x20another\x20','failed\x20-\x20duration\x20required','date','requireConfirmationOnAdds','failed\x20-\x20to\x20many\x20','records','Something\x20that\x20is\x20planned\x20at\x20a\x20specific\x20date\x20with\x20a\x20duration.\x20Similar\x20words:\x20event,task,appointment,meeting\x20etc.','copy','success','event','\x20is\x20assigned\x20to','pasteEvents','40SJrkMa','ResourceModel','Event','systemMessageModels','Use\x20this\x20to\x20unassign\x20a\x20','_configuredTools','usesSingleAssignment','conditionIds','Use\x20this\x20to\x20copy\x20an\x20','assignConditions','The\x20start\x20of\x20the\x20time\x20span','\x20(conditionId:\x20','s,\x20respond\x20with\x20the\x20names\x20of\x20the\x20','1529812jwOauw','assignmentStore','2612315BRzfLz','\x20record\x20that\x20the\x20dependency\x20ends\x20at',')\x20to\x20','parseDuration','isSameDate','start','allowOverlap','replace','s\x20at\x20the\x20same\x20time.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20When\x20asked\x20about\x20the\x20','\x20to\x20another\x20by\x20creating\x20a\x20dependency.\x20Pass\x20conditions\x20for\x20which\x20','createUpdateRecordsTool','Assignment','s\x20to\x20unlink','Use\x20this\x20to\x20highlight/show\x20','\x20this\x20','s\x20that\x20overlaps.\x20Always\x20consider\x20this\x20when\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20adding,\x20editing\x20or\x20copying\x20','failed\x20-\x20no\x20','20956bCuvUc','L{ConfirmationDialog.confirmLink}','\x20with\x20it`s\x20id,\x20and\x20paste\x20the\x20copy\x20onto\x20another\x20(or\x20the\x20same)\x20','boolean','eventCopyPaste','push','s\x20instead\x20of\x20their\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ids.','dependencyStore','meta','\x20of\x20a\x20parent\x20','\x20can\x20be\x20assigned\x20to\x20multiple\x20','timeRanges','features','delete','AssignmentModel','\x20to\x20find\x20available\x20time\x20slots','The\x20date\x20to\x20paste\x20the\x20','The\x20end\x20of\x20the\x20time\x20span','\x20from\x20an\x20','to\x20unassign\x20from\x20the\x20','\x20at\x20a\x20time.','conditionId','L{ConfirmationDialog.confirm','failed\x20-\x20no\x20dependency\x20found','This\x20is\x20used\x20for\x20changing\x20the\x20time\x20span\x20of\x20the\x20timeline.\x20This\x20uses\x20the\x20timeline\x20date\x20range,\x20not\x20the\x20visible\x20date\x20range','resource',')\x20from\x20','resources','isScheduler','canReload','copyTimeValues','to\x20highlight','startDate','714zEHPJK','\x20uses\x20multi\x20assignment,\x20an\x20','6nVJnIk','successfully\x20assigned\x20','loadUrl','isResourceAvailable','parentId','The\x20','createAddRecordTool','filter','14106156xnDSjf','uncapitalize','to\x20add\x20this\x20as\x20a\x20child\x20','matchAll','Use\x20this\x20to\x20remove\x20a\x20dependency\x20linking\x20two\x20','successfully\x20copied\x20the\x20','Conditions','This\x20is\x20a\x20feature\x20used\x20to\x20show\x20an\x20indicator\x20line\x20at\x20the\x20current\x20date\x20/\x20time.','eventModelName','duration','modelClassDescriptions','unlink','The\x20date\x20to\x20scroll\x20','.\x20If\x20user\x20requests\x20any\x20action\x20from\x20you\x20that\x20would\x20result\x20in\x20an\x20overlap,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20please\x20prompt\x20the\x20user\x20what\x20to\x20do.','1aIKmVE','txt','\x20(only\x20when\x20asked\x20to)','parse','b-icon-unlink','\x20found\x20to\x20assign\x20to\x20the\x20specified\x20','\x20found\x20to\x20assign\x20to','dependencies','EventModel','b-icon-right','successfully\x20selected\x20','length','assign','isSchedulerPro','\x20uses\x20single\x20assignment,\x20an\x20','models','tools','events','\x20record','.\x20Dont\x20mix\x20with\x20other\x20tool\x20calls.\x20If\x20reassigning,\x20always\x20call\x20assign\x20first,\x20and\x20then\x20unassign.','toLowerCase',')\x20to\x20the\x20','\x20created\x20but\x20only\x20','\x20to','merge','modelClass','endDate','select','s\x20(conditionId:\x20','forceHighlight','reload','link','\x20found\x20(only\x201\x20allowed)','Use\x20this\x20to\x20link\x20one\x20','replaceKeywords','\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20instead\x20of\x20the\x20id.','reassign','shouldIncludeTrainingDataEntry','rowModelName','This\x20will\x20return\x20a\x20startDate\x20and\x20a\x20resourceId\x20which\x20will\x20represent\x20the\x20next\x20available\x20slot\x20which\x20will\x20be\x20calculated\x20using\x20the\x20provided\x20parameters','includes','processRecordsRequest','fail\x20-\x20no\x20parent\x20','4514790iRYuQE','L{ConfirmationDialog.confirmUnlink}','requireConfirmationOnUpdates','5109731rAtQnJ','unassign','to\x20unlink\x20to','client','to\x20select','string','\x20resources\x20assigned\x20due\x20to\x20overlap\x20not\x20allowed','value','to\x20link\x20to','configurable','formatDate','highlight','getFormattedDate','durationUnit','2824KdmIMu','L{ConfirmationDialog.confirmCopy}','classDisplayName','Id\x20of\x20the\x20','\x20-\x20','Dependency','\x20found','s\x20or\x20changing\x20dates.','add','\x20to.\x20If\x20no\x20time\x20is\x20provided,\x20the\x20time\x20part\x20will\x20be\x20copied\x20from\x20the\x20source\x20','toEvent','\x20out\x20of\x20','Only\x20use\x20this\x20when\x20asked\x20to\x20unhighlight\x20all\x20','createDeleteRecordsTool','isSchedulerBase','to\x20copy','eventStore.filters','assignmentModelName','s.\x20Pass\x20conditions\x20for\x20which\x20','systemMessageAssignment','.\x20Make\x20sure\x20to\x20only\x20call\x20once\x20even\x20if\x20multiple\x20','confirm','showCurrentTimeLine','resourceId'];_sca=function(){return aa;};return _sca();}import _scf from'@bryntum/core-thin/lib/helper/StringHelper.js';import _scg from'@bryntum/core-thin/lib/feature/ai/AIHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1aa;let f=c[d];return f;};return _scb(a,b);}import _sch from'./trainingData.js';const {getConditionBlock,createConditionTool,createGetRecordsTool,createBasicTool}=_scg;export default class DefaultSchedulerAgent extends _scc{static [_scA(0x35,0x6)]={'trainingData':_sch};get['systemMessageIntro'](){function B(a,b){return _scA(b,a-0xcd);}const {productName:a}=this;return this[B(0x9d,0x42)]`You are an assistant for a scheduling / project management application called ${a}.
2
+ By the use of your tools, you can help the user modifying the data in the ${a}.
3
+ And also to control the ${a} ui.
4
+
5
+ When working with dates, and no exact date is provided, dates should be considered to be in the current timeline range. If ambiguity, use the one currently scrolled in view.
6
+ `;}get[_scA(-0x5c,-0xbe)](){const {eventModelName:a,rowModelName:b,productName:c}=this;if(this[C(0x543,0x55f)]['eventStore'][C(0x4cf,0x4db)]){return'The\x20'+c+C(0x5a4,0x53c)+a+'\x20can\x20only\x20be\x20assigned\x20to\x20a\x20single\x20'+b+C(0x49e,0x509);}function C(a,b){return _scA(a,b-0x55f);}return C(0x4ea,0x51d)+c+C(0x4b0,0x517)+a+C(0x4d0,0x4ff)+b+C(0x485,0x4ec)+a+'\x20or\x20'+b+'\x20of\x20an\x20assignment,\x20respond\x20with\x20the\x20name\x20of\x20the\x20'+a+C(0x45e,0x4ac)+b+C(0x58b,0x551);}get[_scA(-0xad,-0x87)](){var a;function D(a,b){return _scA(b,a-0x47f);}const b=this,{client:c,eventModelName:d,rowModelName:e}=b,f=b[D(0x470,0x421)](super[D(0x3f8,0x413)]);return f+'\x0a'+this[D(0x44f,0x467)]`
7
+ ${c[D(0x40a,0x45e)]?'':'A\x20'+e+'\x20MUST\x20NOT\x20have\x20any\x20'+d+D(0x413,0x3c7)+d+D(0x44d,0x4a8)}
8
+
9
+ ${b[D(0x44a,0x47a)]??''}
10
+
11
+ A milestone is an ${d} that has a duration of 0.
12
+
13
+ ${b[D(0x3c1,0x3e9)]}
14
+
15
+ It is ok to try to match conditions for ${d}s and ${e}s on the name field only, if that is the only thing that is provided. But be sure you add the condition to the correct data entity or relation.
16
+ And it is always better to match on a conditionId, if you can.
17
+
18
+ ${(a=c[D(0x421,0x41f)][D(0x455,0x485)])!==null&&a!==void 0x0&&a[D(0x3e5,0x386)]?'When\x20asked\x20about\x20dependencies\x20(links)\x20between\x20'+d+D(0x401,0x394)+d+D(0x41b,0x455):''}`;}[_scA(0xb,-0xf)](a){function E(a,b){return _scA(a,b- -0x153);}return super['replaceKeywords'](a)[E(-0x20f,-0x1c7)](/\$\$Event/g,this[E(-0x15b,-0x18a)])[E(-0x201,-0x1c7)](/\$\$event/g,this[E(-0x132,-0x18a)][E(-0x145,-0x170)]());}get[_scA(0x48,-0xb)](){const a=super[F(0x174,0x1d5)];if(a===F(0xf6,0xf4)){return F(0xe2,0x98);}function F(a,b){return _scA(b,a-0x17f);}return a;}get[_scA(0x30,-0x37)](){function G(a,b){return _scA(b,a- -0x33);}const a=this[G(-0x33,0x12)][G(-0xce,-0xf4)][G(-0x4b,-0x9f)][G(-0xe5,-0xdb)];if(a===G(-0x5c,-0x31)){return G(-0xbb,-0x9f);}return a;}get[_scA(-0x6b,-0xc0)](){const a=this['client'][H(0x3b6,0x401)][H(0x421,0x465)][H(0x3b2,0x3cb)];function H(a,b){return _scA(a,b-0x47d);}if(a===H(0x463,0x421)){return H(0x3e0,0x40d);}return a;}get[_scA(-0x36,-0x22)](){function I(a,b){return _scA(a,b-0x7f);}var a;const {rowModelName:b,eventModelName:c,assignmentModelName:d,client:e}=this,{eventStore:f,assignmentStore:g}=e,{usesSingleAssignment:h}=f,i=h?'':'s';return _sce['merge']({},super[I(0x22,0x5d)],{[b]:{'relations':{'events':{'relatedModelName':c,'description':I(-0x27,0x3d)+c+I(0x11,-0x18)+b+'\x20(only\x20for\x20conditions)','isArray':!![]}},'ignoreFields':h?null:[I(-0x6e,-0x3b)]},[c]:{'store':f,'relations':{[I(0x4e,0x2e)+i]:{'relatedModelName':b,'description':I(0x7f,0x3d)+(b+i)+I(0x4e,0x12)+c+I(0x52,-0xd),'isArray':!h}},'fields':[{'name':I(0x37,0x2a),'description':I(-0x6c,-0x35)+c+I(-0x6e,-0x26)+c+'s'}],'description':I(-0x7a,-0x11)}},h?{}:{[d]:{'store':g,'relations':{'resource':{'relatedModelName':b,'description':I(-0x22,0x3d)+b+I(-0x7f,-0x2a)+d+'\x20links\x20to\x20an\x20'+c+I(0x75,0x60)},'event':{'relatedModelName':c,'description':I(0x8d,0x3d)+c+I(-0x6b,-0x2a)+d+'\x20links\x20to\x20a\x20'+b+'\x20record'}}}},(a=e[I(-0x26,0x21)][I(0x9,0x55)])!==null&&a!==void 0x0&&a[I(-0x74,-0x1b)]?{'Dependency':{'store':e[I(0x22,0x1c)],'fields':[{'name':'fromEvent','description':I(0x59,0x8d)+c+'\x20record\x20that\x20the\x20dependency\x20starts\x20from'},{'name':'toEvent','description':I(0xf5,0x8d)+c+I(-0x18,0x5)}],'description':'Represents\x20a\x20single\x20dependency\x20(or\x20link)\x20between\x20two\x20'+c+'s'}}:{});}[_scA(0x1f,-0xc)](a,b){function J(a,b){return _scA(a,b-0x13f);}return!(super['shouldIncludeTrainingDataEntry'](a,b)===![]||a[J(0x164,0x136)](J(0xb6,0x90))&&!this['client'][J(0x93,0xa4)]['usesSingleAssignment']);}get['tools'](){var a,b;const c=this,{client:d,eventModelName:e,rowModelName:f,productName:g}=c,{readOnly:h}=d,i=c[K(0x37a,0x381)][e][K(0x303,0x362)],{usesSingleAssignment:j}=i,k=d[K(0x3b5,0x3fa)],l=_scf['uncapitalize'](e)+K(0x363,0x38b),m=_scf[K(0x35e,0x35a)](f)+'Conditions',n=_sce[K(0x383,0x338)](super[K(0x37b,0x37b)],{[K(0x2fb,0x2e3)+e+'s']:_scg[K(0x32b,0x35c)]({'modelName':e,'beforeRecordUpdate':({record:o,toSet:p,errors:q})=>{function L(a,b){return K(a- -0x17a,b);}let {startDate:r,endDate:s}=p;if(r||s){r??=_scd[L(0x235,0x21e)](s,-o[L(0x1ec,0x18f)],o['durationUnit']);s??=_scd['add'](r,o[L(0x1ec,0x226)],o['durationUnit']);if(d[L(0x1ad,0x146)]===![]){if(!i[L(0x1de,0x1a4)](r,s,null,o[L(0x1d1,0x1af)],![])){const t=L(0x18c,0x1b4)+e+'.\x20If\x20user\x20specified\x20exact\x20time,\x20please\x20let\x20the\x20user\x20know\x20that\x20it\x20is\x20not\x20available.\x20Otherwise,\x20use\x20get'+e+L(0x1c7,0x18f);if(!q[L(0x219,0x23e)](t)){q[L(0x1bd,0x1ef)](t);}return![];}}}}}),[K(0x3af,0x36e)+e]:_scg[K(0x35b,0x34e)]({'modelName':e,'properties':{'assignConditions':getConditionBlock({'modelName':f,'doWhat':'to\x20assign\x20this\x20'+e+K(0x382,0x3aa)}),...i[K(0x2ef,0x33d)]?{'parentConditions':getConditionBlock({'modelName':e,'doWhat':K(0x35f,0x349)+e+K(0x33b,0x31f)+e+K(0x36d,0x361)})}:{}},'required':k?[K(0x31b,0x2fe)]:[],'prepareArguments'(o){const {dataObject:p}=o,{assignConditions:q,parentConditions:r}=o[M(-0x1ef,-0x25a)],s=q&&c[M(-0x154,-0x1a2)]({'modelName':f},q);if(!(s!==null&&s!==void 0x0&&s[M(-0x172,-0x15d)])&&k){return'fail\x20-\x20no\x20'+f+M(-0x177,-0x13e);}if(r){const x=c[M(-0x154,-0x14a)]({'modelName':e},r);if(!x[M(-0x172,-0x19d)]){return M(-0x153,-0x168)+e+M(-0x13b,-0x13b);}p[M(-0x18f,-0x1d6)]=x[0x0]['id'];}let {startDate:t,endDate:u,duration:v}=p;function M(a,b){return K(a- -0x4e8,b);}let w=s;if(d[M(-0x1c1,-0x222)]===![]&&t&&s){if(typeof t===M(-0x14a,-0x170)){t=_scd[M(-0x17a,-0x142)](t);}if(!u&&typeof v===M(-0x14a,-0x11b)){v=parseInt(v);}u??=_scd[M(-0x139,-0x119)](t,v,p[M(-0x142,-0x114)]);w=s['filter'](y=>d['isDateRangeAvailable'](t,u,null,y));if(!w[M(-0x172,-0x12c)]){return'failed\x20-\x20resources\x20not\x20available\x20(overlap\x20not\x20allowed)';}}Object[M(-0x171,-0x171)](o,{'resources':s,'availableResources':w});},'afterAdd'({resources:o,availableResources:p,added:q}){p===null||p===void 0x0||p[N(0x527,0x504)](r=>q['assign'](r));function N(a,b){return K(b-0x210,a);}if(o&&p['length']<o[N(0x5b5,0x586)]){return'success\x20-\x20'+e+N(0x5f9,0x591)+p['length']+N(0x5d1,0x5c2)+o[N(0x5c0,0x586)]+N(0x602,0x5af);}}}),[K(0x33f,0x317)+e+'s']:_scg[K(0x3b4,0x3ef)]({'modelName':e}),['get'+e+'s']:createGetRecordsTool({'modelName':e,'defaultSortField':K(0x352,0x37f)}),[K(0x35c,0x3c0)+e+'s']:_scg['createFilterTool']({'modelName':e,'productName':g,'storeProperty':'eventStore'}),[K(0x2e4,0x2e0)+e+'s']:createBasicTool({'description':'Use\x20this\x20to\x20remove\x20filters\x20for\x20'+e+'s\x20and\x20show\x20all\x20again','state':{'path':K(0x3b7,0x409),'empty':[]},'fn'(){function O(a,b){return K(a-0x279,b);}i['clearFilters']();return O(0x587,0x5c8);}}),[K(0x386,0x3d7)+e+'s']:createConditionTool({'description':'Use\x20this\x20to\x20select\x20a\x20number\x20of\x20'+e+K(0x2df,0x2bd)+e+'\x20are\x20to\x20be\x20selected','conditions':[{'modelName':e,'doWhat':K(0x39d,0x3aa)}],'fn'({records:o}){function P(a,b){return K(a-0x2ae,b);}d['selectEvents'](o);return P(0x623,0x5d1)+o['length']+'\x20'+e+P(0x635,0x659)+o[0x0]['meta'][P(0x5c7,0x60d)]['at'](-0x1)+')';}}),'changeTimeSpan':createBasicTool({'description':K(0x34a,0x351),'properties':{'startDate':{'type':K(0x39e,0x3c3),'description':K(0x31c,0x2be)},'endDate':{'type':K(0x39e,0x3e3),'description':K(0x343,0x355)}},'required':[K(0x352,0x345),K(0x385,0x33e)],'state':{'path':[K(0x352,0x367),K(0x385,0x320)]},'fn'({args:{startDate:o,endDate:p}}){o=new Date(o);function Q(a,b){return K(a- -0x412,b);}p=new Date(p);d[Q(-0x126,-0x18a)](o,p);return'successfully\x20changed\x20the\x20time\x20span\x20to\x20'+c['formatDate'](o)+Q(-0x67,-0xb2)+c['formatDate'](p);}}),'showCurrentTimeLine':createBasicTool({'description':K(0x364,0x30f),'properties':{'value':{'type':K(0x335,0x38d),'description':K(0x2e5,0x312)}},'required':[K(0x3a0,0x33b)],'available':((a=d[K(0x33e,0x373)][K(0x33d,0x352)])===null||a===void 0x0?void 0x0:a[K(0x302,0x300)])??![],'fn'({args:{value:o}}){d['features'][R(0x27,0x15)][R(-0x35,-0x5f)]=o;function R(a,b){return K(a- -0x316,b);}return'success';}}),[K(0x3a4,0x3d9)+e+'s']:createConditionTool({'description':K(0x32e,0x319)+e+'s\x20determined\x20by\x20the\x20conditions\x20passed','conditions':[{'modelName':e,'doWhat':K(0x351,0x3b9)}],'fn'({promptContext:o,records:p}){(o[S(0x4e6,0x528)][e]??=[])['push'](...p);o[S(0x50d,0x50c)]=!![];function S(a,b){return K(b-0x184,a);}return'successfully\x20highlighted\x20'+p['length']+'\x20'+e+S(0x56d,0x50b)+p[0x0][S(0x4cf,0x4be)]['conditionIds']['at'](-0x1)+')';}}),'unhighlightAll':createBasicTool({'description':K(0x3b3,0x3e6)+e+'s','fn'({promptContext:o}){o[T(-0x147,-0x107)][e]=[];function T(a,b){return K(b- -0x4ab,a);}return T(-0x1b8,-0x19d);}}),'scrollToDate':createBasicTool({'description':'This\x20is\x20used\x20for\x20scrolling\x20a\x20specific\x20date\x20into\x20view','properties':{'date':{'type':'string','description':K(0x369,0x364)}},'required':[K(0x308,0x2d8)],'fn'({args:{date:o}}){o=new Date(o);d[U(0x6d,0x9f)](o,{'block':U(0x10d,0xc7),'animate':!![]});function U(a,b){return K(b- -0x25f,a);}return'success';}}),[K(0x30d,0x2e0)+e]:createConditionTool({'description':K(0x31a,0x30f)+e+K(0x334,0x370)+f+'\x20at\x20a\x20given\x20date.\x20Only\x20perform\x20this\x20task\x20when\x20asked\x20to\x20copy/duplicate,\x20NEVER\x20when\x20reassigning\x20to\x20other\x20'+f+K(0x3ae,0x356),'conditions':[{'modelName':e,'doWhat':K(0x3b6,0x40b)},{'modelName':f,'doWhat':'to\x20paste\x20to','required':!j}],'properties':{'date':{'type':K(0x39e,0x3a4),'description':K(0x342,0x352)+e+K(0x3b0,0x3f4)+e}},'required':[K(0x308,0x325)],'available':!h,'prepareArguments'(o){var p;let {args:{date:q,[m]:r},records:{[l]:s,[m]:t}}=o;if(!q){return'failed\x20-\x20date\x20to\x20paste\x20to\x20is\x20required';}const u=q[V(0x54c,0x559)]<0xb;o[V(0x512,0x4eb)]=q=new Date(q);const v=({startDate:x})=>u?_scd[V(0x4cc,0x508)](x,q):x-q===0x0;s=s[V(0x581,0x53f)](x=>!v(x)||t[V(0x4bb,0x4e7)](y=>!x['resources']['includes'](y)));if(s[V(0x51a,0x559)]!==0x1){return s['length']?V(0x512,0x4ed)+e+V(0x538,0x56e):V(0x4bd,0x514)+e+V(0x5d0,0x590);}function V(a,b){return K(b-0x1e3,a);}const [w]=s;if(v(w)){t=t[V(0x523,0x53f)](x=>!x[V(0x57c,0x55f)]['includes'](w));}if(j&&!(r!==null&&r!==void 0x0&&(p=r[V(0x4ee,0x4ce)])!==null&&p!==void 0x0&&p[V(0x58d,0x559)])){t=w[V(0x4d5,0x530)];}if(t[V(0x5bd,0x559)]!==0x1){return t[V(0x56b,0x559)]?'failed\x20-\x20to\x20many\x20'+f+V(0x5ac,0x56e):V(0x500,0x514)+f+'\x20found';}u&&_scd[V(0x4d6,0x533)](q,w['startDate']);o[V(0x532,0x4f2)]=w;o[V(0x522,0x52e)]=t[0x0];},async 'confirm'({date:o,event:p,resource:q,promptContext:r}){if(this[W(0x243,0x26f)]!==!![]){return!![];}function W(a,b){return K(a- -0xc6,b);}return this[W(0x21a,0x229)]({'items':[d['L'](W(0x2e2,0x2af)),{'text':p[W(0x2e3,0x350)]},{'icon':W(0x2ae,0x29f)},{'text':q[W(0x2e3,0x2a4)]},{'icon':'b-icon-clock'},{'text':d[W(0x2df,0x2fd)](o)}],'isAdd':!![],'highlight':{[e]:[p],[f]:[q],'date':o},'promptContext':r});},async 'fn'({date:o,event:p,resource:q}){function X(a,b){return K(a- -0x49f,b);}await d[X(-0x161,-0x174)][X(-0x169,-0x176)]['copyEvents']([p]);await d[X(-0x161,-0x18d)]['eventCopyPaste'][X(-0x18e,-0x1b2)](o,q);return X(-0x13d,-0x12d)+e+X(-0x182,-0x18c)+p[X(-0x165,-0x10a)][X(-0x186,-0x17a)]['at'](-0x1)+X(-0x11f,-0xe1)+f+X(-0x182,-0x1b1)+q[X(-0x165,-0x14d)][X(-0x186,-0x15a)]['at'](-0x1)+')';}}),[K(0x377,0x391)+e+'s']:createConditionTool({'description':'Use\x20this\x20to\x20assign\x20'+f+K(0x2fa,0x294)+e+K(0x2e3,0x2b9),'conditions':[{'modelName':e,'pluralize':!![],'doWhat':'to\x20perform\x20the\x20assignments\x20on','includeReadOnly':![]},{'modelName':f,'pluralize':!![],'doWhat':'to\x20assign\x20the\x20'+e+K(0x382,0x3c6)}],'properties':j?null:{'reassign':{'type':K(0x335,0x306),'description':'If\x20true,\x20removes\x20currently\x20assigned\x20'+f+'s\x20before\x20assigning'}},'required':j?[]:['reassign'],'available':!h,'prepareArguments'(o){const {records:{[l]:p,[m]:q}}=o;o[Y(0x28f,0x2de)]=p[Y(0x299,0x2be)](r=>q[Y(0x26e,0x266)](s=>!r[Y(0x2ca,0x2af)][Y(0x32c,0x2f5)](s)));function Y(a,b){return K(b- -0x9e,a);}if(!o[Y(0x312,0x2de)][Y(0x2b5,0x2d8)]){return Y(0x266,0x293)+e+Y(0x316,0x2d2)+f+'s';}o[Y(0x2fb,0x2af)]=q[Y(0x2a4,0x2be)](s=>!s['events'][Y(0x2a2,0x2f5)](p[0x0]));if(!o['events'][Y(0x282,0x2d8)]){return Y(0x2bc,0x293)+e+'\x20found\x20to\x20assign\x20to\x20the\x20specified\x20'+f+'s';}o['reassign']=!j&&o['args'][Y(0x321,0x2f1)];},async 'confirm'({reassign:o,events:p,resources:q,promptContext:r}){if(this[Z(0x2e0,0x2b0)]!==!![]){return!![];}function Z(a,b){return K(b- -0xe8,a);}const s={[e]:p,[f]:q};return this[Z(0x1e9,0x1f8)]({'items':[d['L'](Z(0x28d,0x260)+(o?Z(0x237,0x20d):'Assign')+'}'),{'count':p['length'],'modelName':e},{'icon':Z(0x2f5,0x28c)},{'count':q[Z(0x2d2,0x28e)],'modelName':f}],'promptContext':r,'highlight':s});},async 'fn'({reassign:o,promptContext:p,events:q,resources:r}){const s=[];function a0(a,b){return K(a- -0x3db,b);}for(const t of q){for(const u of r){o&&t['resources'][a0(-0xe7,-0xbd)](v=>v!==u&&t['unassign'](v));if(!t[a0(-0x8e,-0xac)]['includes'](u)){t[a0(-0x64,-0x87)](u);s['push'](u);}}}(p[a0(-0x37,-0x85)][e]??=[])[a0(-0xa4,-0x57)](...q);(p[a0(-0x37,-0x1b)][f]??=[])[a0(-0xa4,-0x44)](...s);return a0(-0x85,-0xd5)+q[a0(-0x65,-0x45)]+'\x20'+e+a0(-0x54,-0x3d)+q[0x0][a0(-0xa1,-0x45)][a0(-0xc2,-0xc0)]['at'](-0x1)+a0(-0xb8,-0xfa)+s[a0(-0x65,-0xc3)]+'\x20'+f+a0(-0x54,-0x9a)+s[0x0][a0(-0xa1,-0x55)]['conditionIds']['at'](-0x1)+')';}}),[K(0x39a,0x386)+e+'s']:createConditionTool({'description':K(0x316,0x376)+f+K(0x344,0x39a)+e+K(0x37e,0x328),'conditions':[{'modelName':e,'pluralize':!![],'doWhat':K(0x2f2,0x311),'includeReadOnly':![]},{'modelName':f,'pluralize':!![],'doWhat':K(0x345,0x323)+e}],'available':!h&&!j,async 'fn'({promptContext:o,records:p}){function a1(a,b){return K(b-0x263,a);}const q=p[l],r=p[m],s={[e]:q,[f]:r},t=[],u=[];if(this['requireConfirmationOnUpdates']&&await this['confirm']({'items':[d['L'](a1(0x57e,0x553)),{'count':r[a1(0x640,0x5d9)],'modelName':f},{'icon':a1(0x5de,0x5d2)},{'count':q[a1(0x5d7,0x5d9)],'modelName':e}],'promptContext':o,'highlight':s})===![]){return a1(0x5b5,0x54a);}for(const v of q){let w=![];for(const x of r){if(v[a1(0x551,0x5b0)]['includes'](x)){v['unassign'](x);t[a1(0x5e6,0x59a)](x);w=!![];}}w&&u[a1(0x5b6,0x59a)](v);}(o[a1(0x634,0x607)][e]??=[])[a1(0x5c4,0x59a)](...q);return'successfully\x20unassigned\x20'+t[a1(0x5da,0x5d9)]+'\x20'+f+a1(0x5da,0x5ea)+t[0x0][a1(0x569,0x59d)][a1(0x530,0x57c)]['at'](-0x1)+a1(0x60b,0x5af)+u[a1(0x606,0x5d9)]+'\x20'+e+a1(0x5cd,0x5ea)+u[0x0][a1(0x57e,0x59d)][a1(0x5b9,0x57c)]['at'](-0x1)+')';}}),'getNextAvailableSlot':createConditionTool({'description':K(0x392,0x385),'conditions':[{'modelName':f,'doWhat':'to\x20find\x20available\x20slots\x20for'}],'properties':{[K(0x360,0x375)+f+'s']:{'type':K(0x335,0x354),'description':K(0x2f6,0x2ca)+f+'\x20are\x20available'},'startDate':{'type':K(0x39e,0x330),'description':'The start date from where to begin finding available slots. If excluded, the start of the current timerange will be used'},'duration':{'type':K(0x39e,0x38b),'description':'How\x20long\x20the\x20time\x20slot\x20needs\x20to\x20be,\x20expressed\x20with\x20an\x20amount\x20and\x20a\x20unit.\x20Examples:\x20\x221day\x22,\x20\x222hours\x22,\x20\x2290min\x22'}},'required':[K(0x366,0x3a7),'matchAll'+f+'s'],'fn'({args:{startDate:o,duration:p,...q},records:r}){var s;if(!p){return a2(-0x8b,-0x2d);}p=_scd[a2(-0x22,-0x10)](p);o=(s=o)!==null&&s!==void 0x0&&s['length']?new Date(o):d[a2(0x2e,0x1e)]??d[a2(-0x5b,-0x2c)];const t=q[a2(0xb,0x2c)+f+'s'],u=d[a2(-0x8,-0x33)][a2(-0x49,-0x38)]({'startDate':o,'duration':p,'resources':r,'matchAllResources':t});function a2(a,b){return K(b- -0x334,a);}return JSON['stringify']({'resourceId':u[a2(0x26,0x17)]['id'],'startDate':c[a2(0x2c,0x6f)](u['startDate'])});}})});if((b=d[K(0x33e,0x2db)][K(0x372,0x3d6)])!==null&&b!==void 0x0&&b[K(0x302,0x34f)]){const o='from'+e,p='to'+e;Object[K(0x377,0x3d1)](n,{'getDependencies':createGetRecordsTool({'modelName':K(0x3ac,0x3cd)}),[K(0x38a,0x341)+e]:createConditionTool({'description':K(0x38c,0x34c)+e+K(0x32a,0x2e4)+e+K(0x300,0x365),'conditions':[{'name':o,'modelName':e,'doWhat':'to link from'},{'name':p,'modelName':e,'doWhat':K(0x3a1,0x34f)}],'available':!h,'prepareArguments'(q){const r=q['records'][o],s=q[a3(0x1d3,0x1c1)][p];function a3(a,b){return K(a- -0x138,b);}if(r['length']>0x1||s[a3(0x23e,0x261)]>0x1){return a3(0x1b9,0x16e)+(r['length']>0x1?o:p)+a3(0x275,0x26c);}Object[a3(0x23f,0x1f6)](q,{'fromEvent':r[0x0],'toEvent':s[0x0]});},async 'confirm'({fromEvent:q,toEvent:r,promptContext:s}){function a4(a,b){return K(b- -0x1fa,a);}if(this[a4(0x1d2,0x19e)]!==!![]){return!![];}const t={[e]:[q,r]};return this[a4(0x9c,0xe6)]({'items':[d['L'](a4(0x186,0x139)),{'text':q[a4(0x207,0x1af)]},{'icon':a4(0x1dd,0x17a)},{'text':r['classDisplayName']}],'promptContext':s,'highlight':t});},'fn'({fromEvent:q,toEvent:r,promptContext:s}){d['dependencyStore']['add']({'fromEvent':q,'toEvent':r});(s['highlight'][e]??=[])['push'](q,r);return'success';}}),[K(0x368,0x350)+e]:createConditionTool({'description':K(0x361,0x366)+e+K(0x2dd,0x2d6)+e+K(0x32d,0x2d0),'conditions':[{'name':o,'modelName':e,'doWhat':'to unlink from'},{'name':p,'modelName':e,'doWhat':K(0x39b,0x338)}],'available':!h,'prepareArguments'(q){function a5(a,b){return K(b-0x34,a);}const r=q[a5(0x2dc,0x33f)][o],s=q['records'][p];if(r[a5(0x36d,0x3aa)]>0x1||s[a5(0x372,0x3aa)]>0x1){return'failed\x20-\x20more\x20than\x20one\x20'+(r['length']>0x1?o:p)+a5(0x383,0x3e1);}const [t]=r,[u]=s,v=d[a5(0x39f,0x36d)]['find'](w=>w[a5(0x31e,0x32c)]===t&&w[a5(0x37b,0x3e5)]===u||w[a5(0x2f4,0x32c)]===u&&w[a5(0x3ea,0x3e5)]===t);if(!v){return a5(0x32d,0x37d);}Object['assign'](q,{'fromEvent':r[0x0],'toEvent':s[0x0],'dependency':v});},async 'confirm'({fromEvent:q,toEvent:r,promptContext:s}){if(this[a6(0x2f7,0x360)]!==!![]){return!![];}const t={[e]:[q,r]};function a6(a,b){return K(b- -0x38,a);}return this[a6(0x2e7,0x2a8)]({'items':[d['L'](a6(0x346,0x35f)),{'text':q['classDisplayName']},{'icon':a6(0x2df,0x33c)},{'text':r[a6(0x360,0x371)]}],'promptContext':s,'highlight':t});},'fn'({dependency:q,promptContext:r,fromEvent:s,toEvent:t}){q['remove']();function a7(a,b){return K(a- -0x287,b);}(r[a7(0x11d,0x169)][e]??=[])[a7(0xb0,0x56)](s,t);return a7(0x87,0x35);}})});}function K(a,b){return _scA(b,a-0x39c);}if(c[K(0x317,0x343)]&&(d[K(0x34e,0x31a)]||d[K(0x378,0x390)])){_sce[K(0x383,0x381)](n,c[K(0x317,0x34d)]);}return n;}[_scA(0x1b,-0x4d)](){var a;function a8(a,b){return _scA(a,b-0xfd);}return Boolean((a=this[a8(0x12f,0xfd)][a8(0x3d,0x5e)])===null||a===void 0x0?void 0x0:a[a8(0xe4,0xb8)]);}[_scA(-0x4d,-0x13)](){function a9(a,b){return _scA(b,a-0x58c);}this['client'][a9(0x4ed,0x4de)][a9(0x4de,0x4fd)]();}}
@@ -0,0 +1 @@
1
+ function _scg(a,b){return _scb(a-0x346,b);}function _sca(){var h=['{\x22$$Events\x22:[{\x22id\x22:236,\x22name\x22:\x22Performance\x20review\x22,\x22startDate\x22:\x222025-04-03T08:00:00\x22,\x22endDate\x22:\x222025-04-03T09:00:00\x22,\x22resourceId\x22:3},{\x22id\x22:224,\x22name\x22:\x22Team\x20check-in\x22,\x22startDate\x22:\x222025-04-03T09:00:00\x22,\x22endDate\x22:\x222025-04-03T09:30:00\x22,\x22resourceId\x22:\x223\x22},{\x22id\x22:132,\x22name\x22:\x22Training\x20session\x22,\x22startDate\x22:\x222025-04-03T10:00:00\x22,\x22endDate\x22:\x222025-04-03T11:00:00\x22,\x22resourceId\x22:1},{\x22id\x22:113,\x22name\x22:\x22Lunch\x20with\x20friends\x22,\x22startDate\x22:\x222025-04-03T12:00:00\x22,\x22endDate\x22:\x222025-04-03T13:30:00\x22,\x22resourceId\x22:1},{\x22id\x22:202,\x22name\x22:\x22Client\x20call\x22,\x22startDate\x22:\x222025-04-03T16:00:00\x22,\x22endDate\x22:\x222025-04-03T17:00:00\x22,\x22resourceId\x22:\x223\x22}],\x22conditionId\x22:3,\x22count\x22:5}','Example$$EventName1','Move\x20Example$$RowName1\x20$$events\x20to\x20Example$$RowName2\x20and\x20increase\x20the\x20duration\x20by\x20one','230','system','get$$Events','2\x20days','ExampleName1','any','assign$$Events','2024-11-11T00:00:00','72285edHRSX','234KSJVEB','We\x20also\x20need\x20ExampleName2s\x20events\x20','And\x20set\x20Example$$EventName2s\x20startDate\x20to\x20Example$$EventName1s','set','update$$Events','resourceId','assistant','2025-04-03','2025-03-14T08:00','changeTimeSpan','Assign\x20ExampleName1s\x20$$events\x20to\x20ExampleName2','2491006cRWCUo','name','ExampleName2','{\x22$$Events\x22:[{\x22id\x22:230,\x22name\x22:\x22Team\x20meeting\x22,\x22startDate\x22:\x222025-03-31T08:00:00\x22,\x22endDate\x22:\x222025-03-31T09:00:00\x22},{\x22id\x22:231,\x22name\x22:\x22Project\x20planning\x22,\x22startDate\x22:\x222025-03-31T10:00:00\x22,\x22endDate\x22:\x222025-03-31T11:00:00\x22},{\x22id\x22:232,\x22name\x22:\x22Client\x20call\x22,\x22startDate\x22:\x222025-03-31T13:30:00\x22,\x22endDate\x22:\x222025-03-31T14:30:00\x22}],\x22conditionId\x22:1,\x22count\x22:3}','Assign\x20Example$$EventName1\x20to\x20Example$$EventName2s\x20$$row','singleAssignment','You\x20need\x20to\x20find\x20out\x20what\x20date\x20the\x20Friday\x20the\x20user\x20refers\x20to\x20is,\x20do\x20this\x20by\x20checking\x20the\x20timeline\x20date\x20range,\x20and\x20if\x20that\x20contains\x20multiple\x20matches,\x20use\x20current\x20visible\x20date\x20range','Shift\x20the\x20schedule\x20one\x20week\x20in\x20the\x20future','Make\x20ExampleName\x20$$event\x201\x20hour\x20long','This\x20case\x20requires\x20you\x20to\x20use\x20ids.\x20We\x20begin\x20by\x20reading\x20ExampleName1s\x20events','The\x20reschedule\x20keyword\x20indicates\x20we\x20cannot\x20simply\x20change\x20the\x20date\x20and\x20since\x20you\x20need\x20to\x20make\x20sure\x20that\x20there\x20are\x20no\x20conflicts,\x20you\x20first\x20need\x20to\x20read\x20events\x20for\x20both\x20of\x20the\x20days','231','233','Change\x20ExampleName1s\x20$$events\x20resourceId\x20to\x20ExampleName2s','2024-11-15T23:59:59','2024-12-01','Assign\x20Example$$EventName2\x20to\x20Example$$EventName1s\x20$$row','The\x20$$events\x20to\x20reschedule.\x20This\x20is\x20example\x20data\x20only','durationUnit','1103614EWSvEb','This\x20is\x20example\x20data\x20only','7463700XEjhhL','{\x22Events\x22:[{\x22id\x22:1},...],\x22conditionId\x22:1,\x22count\x22:30}','The\x20$$event\x20with\x20id\x20231\x20is\x201\x20hour\x20long,\x20and\x20the\x20first\x20available\x20hour\x20on\x20Thursday\x20is\x20now\x2013:30','all','There\x20are\x2030\x20$$events\x20this\x20month','2025-03-31','Reschedule\x20example$$RowName1\x27s\x20$$events\x20on\x20Monday\x20to\x20Thursday\x20and\x20see\x20to\x20it\x20that\x20none\x20are\x20colliding\x20with\x20other\x20$$events','ExampleName','45iyPsdc','Move\x20Wednesday`s\x20$$events\x20to\x20Friday','updateEvents','2308408ujCBVs','ExampleName1\x20and\x20ExampleName2\x20is\x20both\x20$$rows\x20and\x20the\x20user\x20wants\x20their\x20$$event\x20to\x20be\x20reassigned\x20to\x20the\x20other','The\x20user\x20wants\x20to\x20switch\x20the\x20$$row\x20and\x20date\x20for\x20these\x20$$events','ExampleName1\x20and\x20ExampleName2\x20needs\x20to\x20switch\x20$$events','tool','user','2025-03-12','This\x20is\x20the\x20current\x20state\x20of\x20the\x20$$productName.\x0aTimeline\x20date\x20range:\x202025-03-10T00:00:00\x20to\x202025-03-14T23:59:59\x0a\x20A\x20week\x20starts\x20on\x20Sunday\x0a\x20Current\x20time\x20is:\x202025-03-14T13:31:02\x0a\x20Current\x20visible\x20date\x20range:\x202025-03-10T00:00:00\x20to\x202025-03-14T23:59:59','resource.name','endDate','POSTPONED\x20','duration','2025-03-15T15:00','conditionId','2802660rXqzsB','3214038PzNHgr','This\x20is\x20the\x20current\x20state\x20of\x20the\x20Schedule.\x20Use\x20this\x20data\x20when\x20evaluating\x20the\x20user\x20prompts:\x0a\x0a\x20Timeline\x20date\x20range\x20(time\x20span):\x202024-11-04T00:00:00\x20to\x202024-11-08T23:59:59\x0a\x20A\x20week\x20starts\x20on\x20Sunday\x0a\x20Current\x20time\x20is:\x202025-04-24T15:11:19\x0a\x20Current\x20visible\x20date\x20range\x20(scrolled\x20in\x20view):\x202024-11-04T00:00:00\x20to\x202024-11-08T14:24:00','2025-04-03T11:00','startDate','setDatePart'];_sca=function(){return h;};return _sca();}function _scb(a,b){var c=_sca();_scb=function(d,e){d=d-0x172;var f=c[d];return f;};return _scb(a,b);}(function(a,b){var c=a();function f(a,b){return _scb(b-0x18,a);}while(!![]){try{var d=-parseInt(f(0x19a,0x1ab))/0x1+-parseInt(f(0x1ad,0x1c6))/0x2+parseInt(f(0x1b1,0x1c7))/0x3+parseInt(f(0x198,0x1ad))/0x4+-parseInt(f(0x1b2,0x18c))/0x5*(parseInt(f(0x1b3,0x18d))/0x6)+-parseInt(f(0x1a5,0x198))/0x7+-parseInt(f(0x1a4,0x1b8))/0x8*(-parseInt(f(0x1cb,0x1b5))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xe9409));export default[[_scg(0x4cb,0x4ed),{'role':'user','content':_scg(0x4e9,0x4c4),'description':_scg(0x4e7,0x4e9)},{'role':_scg(0x4c1,0x4df),'toolCalls':[{'id':'1','name':'get$$Events','parameters':{'$$eventConditions':{'conditions':[{'field':'resource.name','operator':'*','value':_scg(0x501,0x4eb)}],'type':_scg(0x4de,0x4fc)},'fields':['id',_scg(0x4c0,0x4bf)]},'description':_scg(0x4cf,0x4f4)},{'id':'2','name':_scg(0x4ff,0x51b),'parameters':{'$$eventConditions':{'conditions':[{'field':_scg(0x4ee,0x4e9),'operator':'*','value':_scg(0x4c8,0x4d5)}],'type':'all'},'fields':['id',_scg(0x4c0,0x4c1)]},'description':_scg(0x4bc,0x4d0)}]},{'role':'tool','id':'1','content':[{'id':'1','resourceId':'10'}],'name':'get$$Events'},{'role':'tool','id':'2','content':[{'id':'3','resourceId':'11'},{'id':'7','resourceId':'11'}],'name':_scg(0x4ff,0x516)},{'role':_scg(0x4c1,0x4da),'toolCalls':[{'name':'assign$$Events','parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'1'}],'type':_scg(0x4de,0x4f8)},'$$rowConditions':{'conditions':[{'field':'id','operator':'=','value':'11'}],'type':'all'}},'description':_scg(0x4d3,0x4eb)},{'name':_scg(0x4b8,0x4b8),'parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'3'},{'field':'id','operator':'=','value':'7'}],'type':_scg(0x502,0x526)},'$$rowConditions':{'conditions':[{'field':'id','operator':'=','value':'10'}],'type':_scg(0x4de,0x4dc)}},'description':_scg(0x4c5,0x4ae)}]},{'role':_scg(0x4ea,0x4df),'id':'3','content':'success','name':_scg(0x4b8,0x49e)},{'role':'tool','id':'4','content':'success','name':'assign$$Events'}],['singleAssignment',{'role':_scg(0x4eb,0x4d2),'content':'Switch\x20the\x20$$event\x20Example$$EventName1\x20with\x20Example$$EventName2','description':_scg(0x4e8,0x4fd)},{'role':'assistant','toolCalls':[{'id':'1','name':_scg(0x4ff,0x4e0),'parameters':{'$$eventConditions':{'conditions':[{'field':'name','operator':'*','value':'Example$$EventName1'},{'field':'name','operator':'*','value':'Example$$EventName2'}],'type':'any'},'fields':['id',_scg(0x4c7,0x4e6),_scg(0x4c0,0x4df),_scg(0x4f8,0x50f)]},'description':'This\x20case\x20requires\x20you\x20to\x20read\x20$$event\x20data'}]},{'role':'tool','id':'1','content':[{'id':'1','name':_scg(0x4fb,0x4ff),'resourceId':'10','startDate':_scg(0x4c3,0x4e3)},{'id':'9','name':'Example$$EventName2','resourceId':'11','startDate':_scg(0x4f2,0x4d5)}],'name':_scg(0x4ff,0x4f7)},{'role':_scg(0x4c1,0x4c9),'toolCalls':[{'name':_scg(0x4b8,0x4b5),'parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'1'}],'type':_scg(0x4de,0x4fe)},'$$rowConditions':{'conditions':[{'field':'id','operator':'=','value':'11'}],'type':_scg(0x4de,0x502)}},'description':_scg(0x4ca,0x4cf)},{'name':_scg(0x4b8,0x4a1),'parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'9'}],'type':'all'},'$$rowConditions':{'conditions':[{'field':'id','operator':'=','value':'10'}],'type':_scg(0x4de,0x4ba)}},'description':_scg(0x4d6,0x4f5)},{'name':_scg(0x4bf,0x4bf),'parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'1'}],'type':_scg(0x4de,0x4f6)},'changes':[{'field':_scg(0x4f8,0x4e9),'setOperator':'set','value':_scg(0x4f2,0x4f7)}]},'description':'Also\x20set\x20Example$$EventName1s\x20startDate\x20to\x20Example$$EventName2s'},{'name':_scg(0x4bf,0x4dd),'parameters':{'$$eventConditions':{'conditions':[{'field':'id','operator':'=','value':'9'}],'type':'all'},'changes':[{'field':_scg(0x4f8,0x4ef),'setOperator':_scg(0x4be,0x4c0),'value':'2025-03-14T08:00'}]},'description':_scg(0x4bd,0x499)}]}],[{'role':_scg(0x4eb,0x4f0),'content':_scg(0x4e4,0x4f7)},{'role':_scg(0x4fe,0x519),'content':_scg(0x4ed,0x4d1)},{'role':'assistant','toolCalls':[{'name':_scg(0x4bf,0x4d0),'parameters':{'$$eventConditions':{'conditions':[{'field':_scg(0x4f8,0x500),'operator':'=','value':_scg(0x4ec,0x4e8)}],'type':_scg(0x4de,0x503)},'changes':[{'field':_scg(0x4f8,0x50d),'setOperator':'+','value':_scg(0x500,0x4e8)}]},'description':'Use the information from the state system message to find out what Wednesday the user refers to'}]}],[{'role':'user','content':'Move\x20ExampleNames\x20$$events\x20to\x20friday\x20and\x20add\x20a\x20POSTPONED\x20word\x20to\x20their\x20names'},{'role':_scg(0x4fe,0x50c),'content':'This\x20is\x20the\x20current\x20state\x20of\x20the\x20$$productName.\x20Use\x20this\x20data\x20when\x20evaluating\x20the\x20user\x20prompts:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeline\x20date\x20range\x20(time\x20span):\x202024-11-04T00:00:00\x20to\x202024-11-08T23:59:59\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A\x20week\x20starts\x20on\x20Sunday\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Current\x20time\x20is:\x202025-03-18T14:48:01\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Current\x20visible\x20date\x20range\x20(scrolled\x20in\x20view):\x202024-11-07T04:39:31\x20to\x202024-11-08T23:59:59'},{'role':'assistant','toolCalls':[{'name':'update$$Events','parameters':{'$$eventConditions':{'conditions':[{'field':_scg(0x4ee,0x4c8),'operator':'*','value':_scg(0x4e2,0x4ee)}],'type':'all'},'changes':[{'field':_scg(0x4f8,0x510),'setOperator':_scg(0x4f9,0x4da),'value':'2024-11-08'},{'field':_scg(0x4c7,0x4e4),'setOperator':'prepend','value':_scg(0x4f0,0x4f8)}]},'description':_scg(0x4cc,0x4c4)}]}],[{'role':'user','content':_scg(0x4ce,0x4ed)},{'role':_scg(0x4c1,0x4b6),'toolCalls':[{'name':_scg(0x4bf,0x4b3),'parameters':{'changes':[{'field':_scg(0x4f1,0x4fa),'setOperator':_scg(0x4be,0x49a),'value':'1'},{'field':_scg(0x4d8,0x4b7),'setOperator':_scg(0x4be,0x4e2),'value':'hour'}],'$$eventConditions':{'conditions':[{'field':'name','operator':'*','value':_scg(0x4e2,0x4ec)}],'type':'all'}}}]}],[{'role':_scg(0x4eb,0x504),'content':_scg(0x4cd,0x4d0)},{'role':'system','content':'This\x20is\x20the\x20current\x20state\x20of\x20the\x20Schedule.\x20Use\x20this\x20data\x20when\x20evaluating\x20the\x20user\x20prompts:\x0a\x0a\x20Timeline\x20date\x20range\x20(time\x20span):\x202024-11-04T00:00:00\x20to\x202024-11-08T23:59:59\x0a\x20A\x20week\x20starts\x20on\x20Sunday\x0a\x20Current\x20time\x20is:\x202025-03-28T09:23:35\x0a\x20Current\x20visible\x20date\x20range\x20(scrolled\x20in\x20view):\x202024-11-07T04:39:31\x20to\x202024-11-08T23:59:59'},{'role':_scg(0x4c1,0x4bd),'toolCalls':[{'name':_scg(0x4c4,0x4e9),'parameters':{'startDate':_scg(0x4b9,0x4a4),'endDate':_scg(0x4d4,0x4f3)}}],'description':'Use the system state message to find out the current week and from there calculate the next week'}],['singleAssignment',{'role':_scg(0x4eb,0x4f7),'content':_scg(0x4fc,0x50f)},{'role':'assistant','toolCalls':[{'id':0x1,'name':'assign$$Events','parameters':{'$$eventConditions':{'type':'all','conditions':[{'field':_scg(0x4ee,0x510),'operator':'*','value':'Michael'}]},'$$rowConditions':{'type':_scg(0x4de,0x4c6),'conditions':[{'field':_scg(0x4c7,0x4cc),'operator':'*','value':'Linda'}]}}}]},{'content':'successfully\x20assigned\x202\x20$$Events\x20(conditionId:\x201)\x20to\x201\x20$$Rows\x20(conditionId:\x202)','role':_scg(0x4ea,0x4f9),'id':0x1,'name':'assign$$Events'},{'id':0x2,'name':_scg(0x4bf,0x4e2),'parameters':{'$$eventConditions':{'type':_scg(0x4de,0x4f8),'conditions':[{'field':_scg(0x4f3,0x4d4),'operator':'=','value':'1'}],'description':'Use\x20the\x20conditionId\x20returned\x20by\x20the\x20previous\x20tool\x20call\x20to\x20target\x20the\x20$$events\x20to\x20update.\x20Do\x20not\x20use\x20resource.name\x20in\x20this\x20case'},'changes':[{'field':_scg(0x4f1,0x4fd),'value':'1','setOperator':'+'}]}}],[{'role':'user','content':'how\x20many\x20$$events\x20this\x20month?'},{'role':_scg(0x4fe,0x503),'content':_scg(0x4f6,0x4dc)},{'role':_scg(0x4c1,0x4ce),'toolCalls':[{'id':0x1,'name':_scg(0x4ff,0x4e1),'parameters':{'fields':['id'],'$$eventConditions':{'type':_scg(0x4de,0x4fe),'conditions':[{'field':'endDate','operator':'>','value':'2024-11-01'},{'field':_scg(0x4f8,0x503),'operator':'<','value':_scg(0x4d5,0x4e3)}],'description':'The startDate and endDate is deferred from the state system message. With "this month" the user means the month currently in view.'}}}]},{'content':_scg(0x4dc,0x4d7),'role':_scg(0x4ea,0x4cc),'id':0x1,'name':'get$$Events','description':_scg(0x4da,0x4dd)},{'role':_scg(0x4c1,0x4aa),'content':_scg(0x4df,0x502)}],[{'role':_scg(0x4eb,0x4ca),'content':_scg(0x4e1,0x4d0),'description':_scg(0x4d0,0x4e6)},{'role':_scg(0x4fe,0x4fe),'content':'This\x20is\x20the\x20current\x20state\x20of\x20the\x20Schedule.\x20Use\x20this\x20data\x20when\x20evaluating\x20the\x20user\x20prompts:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeline\x20date\x20range\x20(time\x20span):\x202024-11-04T00:00:00\x20to\x202024-11-08T23:59:59\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A\x20week\x20starts\x20on\x20Sunday\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Current\x20time\x20is:\x202025-04-24T15:11:19\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Current\x20visible\x20date\x20range\x20(scrolled\x20in\x20view):\x202024-11-04T00:00:00\x20to\x202024-11-08T14:24:00'},{'role':_scg(0x4c1,0x4c4),'toolCalls':[{'id':0x1,'name':_scg(0x4ff,0x4e5),'parameters':{'fields':['id','startDate','endDate',_scg(0x4c7,0x4dc)],'$$eventConditions':{'type':_scg(0x4de,0x4de),'conditions':[{'field':_scg(0x4f8,0x512),'operator':'=','value':_scg(0x4e0,0x4d8)}],'description':'The startDate condition is deferred from the state system message'}}},{'id':0x2,'name':'get$$Events','parameters':{'fields':['id','startDate',_scg(0x4ef,0x4f1),_scg(0x4c7,0x4ce)],'$$eventConditions':{'type':_scg(0x4de,0x4c4),'conditions':[{'field':_scg(0x4f8,0x500),'operator':'=','value':_scg(0x4c2,0x4c1)}],'description':'The startDate condition is deferred from the state system message'}}}]},{'content':_scg(0x4c9,0x4be),'role':_scg(0x4ea,0x4d1),'id':0x1,'name':_scg(0x4ff,0x520),'description':_scg(0x4d7,0x4e1)},{'content':_scg(0x4fa,0x519),'role':'tool','id':0x2,'name':_scg(0x4ff,0x4ef),'description':'The\x20current\x20$$events\x20on\x20Thursday.\x20This\x20is\x20example\x20data\x20only'},{'role':'assistant','toolCalls':[{'id':0x3,'name':_scg(0x4e5,0x4c0),'parameters':{'$$eventConditions':{'type':_scg(0x4de,0x4c1),'conditions':[{'field':'id','operator':'=','value':_scg(0x4fd,0x4e2)}]},'changes':[{'field':'startDate','setOperator':_scg(0x4be,0x499),'value':_scg(0x4f7,0x505)}]},'description':'The\x20$$event\x20with\x20id\x20230\x20is\x201\x20hour\x20long,\x20and\x20the\x20first\x20available\x20hour\x20on\x20Thursday\x20is\x2011:00'},{'id':0x4,'name':'updateEvents','parameters':{'$$eventConditions':{'type':_scg(0x4de,0x4ee),'conditions':[{'field':'id','operator':'=','value':_scg(0x4d1,0x4c5)}]},'changes':[{'field':_scg(0x4f8,0x4eb),'setOperator':_scg(0x4be,0x499),'value':_scg(0x4f7,0x4e7)}]},'description':_scg(0x4dd,0x4e2)},{'id':0x5,'name':_scg(0x4e5,0x500),'parameters':{'$$eventConditions':{'type':_scg(0x4de,0x4b9),'conditions':[{'field':'id','operator':'=','value':_scg(0x4d2,0x4b4)}]},'changes':[{'field':_scg(0x4f8,0x4e2),'setOperator':_scg(0x4be,0x4d1),'value':_scg(0x4f7,0x4d7)}]},'description':'The\x20$$event\x20with\x20id\x20232\x20is\x201\x20hour\x20long,\x20and\x20the\x20first\x20available\x20hour\x20on\x20Thursday\x20is\x20now\x2014:30'}]}]];