@univerjs-pro/bases 1.0.0-alpha.3 → 1.0.0-alpha.4

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 (90) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/commands/commands/set-base-name.command.d.ts +6 -0
  65. package/lib/types/facade/f-event.d.ts +0 -15
  66. package/lib/types/index.d.ts +2 -0
  67. package/lib/types/ot/json1-op-factory.d.ts +2 -0
  68. package/lib/types/services/base-formula.service.d.ts +2 -5
  69. package/lib/umd/facade.js +1 -1
  70. package/lib/umd/index.js +1 -1
  71. package/lib/umd/locale/ar-SA.js +1 -1
  72. package/lib/umd/locale/ca-ES.js +1 -1
  73. package/lib/umd/locale/de-DE.js +1 -1
  74. package/lib/umd/locale/en-US.js +1 -1
  75. package/lib/umd/locale/es-ES.js +1 -1
  76. package/lib/umd/locale/fa-IR.js +1 -1
  77. package/lib/umd/locale/fr-FR.js +1 -1
  78. package/lib/umd/locale/id-ID.js +1 -1
  79. package/lib/umd/locale/it-IT.js +1 -1
  80. package/lib/umd/locale/ja-JP.js +1 -1
  81. package/lib/umd/locale/ko-KR.js +1 -1
  82. package/lib/umd/locale/pl-PL.js +1 -1
  83. package/lib/umd/locale/pt-BR.js +1 -1
  84. package/lib/umd/locale/ru-RU.js +1 -1
  85. package/lib/umd/locale/sk-SK.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-HK.js +1 -1
  89. package/lib/umd/locale/zh-TW.js +1 -1
  90. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x16d78d=_0xf159;(function(_0x119b5f,_0x2424bd){const _0x2c617b=_0xf159,_0x4e1471=_0x119b5f();while(!![]){try{const _0x581a00=parseInt(_0x2c617b(0x242))/0x1*(parseInt(_0x2c617b(0x340))/0x2)+parseInt(_0x2c617b(0x2fe))/0x3+-parseInt(_0x2c617b(0x1e1))/0x4*(parseInt(_0x2c617b(0x332))/0x5)+-parseInt(_0x2c617b(0x283))/0x6*(-parseInt(_0x2c617b(0x17d))/0x7)+-parseInt(_0x2c617b(0xd4))/0x8*(parseInt(_0x2c617b(0x19e))/0x9)+parseInt(_0x2c617b(0x1a2))/0xa+-parseInt(_0x2c617b(0x290))/0xb*(parseInt(_0x2c617b(0x116))/0xc);if(_0x581a00===_0x2424bd)break;else _0x4e1471['push'](_0x4e1471['shift']());}catch(_0x5cda82){_0x4e1471['push'](_0x4e1471['shift']());}}}(_0x72cc,0xaa985));import{BaseDataModel as _0x2687e8,BaseFieldType as _0x3d85e5,BaseFilterConjunction as _0x5c5bdc,BaseSortDirection as _0x2bad6f,BaseViewType as _0x4f7ceb,CellValueType as _0x2e3f0c,CommandType as _0x567a9a,DependentOn as _0x3f308b,Disposable as _0x10a465,ICommandService as _0x4bf63b,IConfigService as _0x8e1870,IUndoRedoService as _0x157955,IUniverInstanceService as _0x4c4561,Inject as _0x2aaad9,Injector as _0x2d625e,JSON1 as _0x579b08,Optional as _0x21d5d7,Plugin as _0x1f1f96,Tools as _0xa49e00,UniverInstanceType as _0x45db82,createIdentifier as _0x2eeafa,dateKit as _0x328c7d,generateRandomId as _0x4fbb25,merge as _0x193490,numfmt as _0x57444b,regexp as _0x2c067b,toDisposable as _0x3f89c7,touchDependencies as _0x4000d7}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x5c56ad,IActiveDirtyManagerService as _0x10efb7,RemoveSuperTableMutation as _0x1ccd1b,SetFormulaCalculationResultMutation as _0x3f42e8,SetSuperTableMutation as _0x41451e,UniverProFormulaEnginePlugin as _0x4ef977}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x244464}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x2e756d}from'@univerjs/rpc';let pe=0x0;function me(){const _0x37fe82=_0xf159;if(globalThis[_0x37fe82(0x245)]===!0x0)return!0x0;try{let _0x2a21e3=typeof location>'u'?'':location['search'],_0x42cd01=new URLSearchParams(_0x2a21e3);if(_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x28f))==='1'||_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x28f))==='true'||_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x367))==='1')return!0x0;}catch{}try{let _0x4fe868=typeof localStorage>'u'?null:localStorage[_0x37fe82(0x234)]('univer.basePerf');return _0x4fe868==='1'||_0x4fe868===_0x37fe82(0x25f);}catch{return!0x1;}}function C(_0xecd032,_0x29ecf2,_0x1cb956){const _0x1f66d9=_0xf159;if(!me())return _0x29ecf2();let _0x506605=ge(),_0x35585e='base-perf-'+pe++;_e(_0x35585e+_0x1f66d9(0x337));try{return _0x29ecf2();}finally{let _0x51077c=ge()-_0x506605;_e(_0x35585e+_0x1f66d9(0x2f5)),ve(_0xecd032,_0x35585e+':start',_0x35585e+_0x1f66d9(0x2f5)),he(_0xecd032,_0x51077c,_0x1cb956);}}function he(_0x411113,_0x43a2e7,_0x2a1c1a){const _0xb4f7d5=_0xf159;if(!me())return;let _0x4e9d2c=Math['round'](_0x43a2e7*0x64)/0x64,_0x6d7e5a=_0x2a1c1a&&Object[_0xb4f7d5(0x33a)](_0x2a1c1a)[_0xb4f7d5(0x1ee)]?'\x20'+JSON[_0xb4f7d5(0x1f5)](_0x2a1c1a):'';console[_0xb4f7d5(0x1c0)](_0xb4f7d5(0xd1)+_0x411113+':\x20'+_0x4e9d2c+'ms'+_0x6d7e5a);}function ge(){const _0x453fac=_0xf159;return typeof performance<'u'&&typeof performance[_0x453fac(0x176)]=='function'?performance[_0x453fac(0x176)]():Date[_0x453fac(0x176)]();}function _e(_0x2a4e88){const _0x5484ab=_0xf159;try{if(typeof performance<'u'){var _0xd23022,_0x232fb5;(_0xd23022=(_0x232fb5=performance)['mark'])==null||_0xd23022[_0x5484ab(0x16c)](_0x232fb5,_0x2a4e88);}}catch{}}function ve(_0x98bc30,_0x275234,_0x143af3){const _0x8e3c23=_0xf159;try{if(typeof performance<'u'){var _0x2ed449,_0x464247;(_0x2ed449=(_0x464247=performance)[_0x8e3c23(0x2e4)])==null||_0x2ed449[_0x8e3c23(0x16c)](_0x464247,_0x8e3c23(0xd1)+_0x98bc30,_0x275234,_0x143af3);}}catch{}}function w(_0x25a2ad){const _0x43bf48=_0xf159;var _0x4d9db6,_0x2ea095;return me()?C(_0x43bf48(0x20d),()=>ye(_0x25a2ad),{'tableId':_0x25a2ad['id'],'records':Object['keys']((_0x4d9db6=_0x25a2ad[_0x43bf48(0x26d)])==null?{}:_0x4d9db6)['length'],'fields':_0x25a2ad[_0x43bf48(0x301)][_0x43bf48(0x1ee)],'hasRecordOrder':!!((_0x2ea095=_0x25a2ad[_0x43bf48(0x158)])!=null&&_0x2ea095[_0x43bf48(0x1ee)])}):ye(_0x25a2ad);}function ye(_0x451c11){const _0x10b28f=_0xf159;var _0x10b175,_0x556f02,_0x569b31,_0x38500d,_0x37e3c0,_0x17948e,_0x42fe9c,_0xd92ce5,_0x50d0b3,_0x3417c4;let _0x2bb6de=(_0x10b175=_0x451c11[_0x10b28f(0x26d)])==null?{}:_0x10b175,_0x4e958d=(_0x556f02=_0x451c11[_0x10b28f(0x30b)])==null?{}:_0x556f02,_0x38c227=(_0x569b31=(_0x38500d=_0x451c11[_0x10b28f(0x158)])==null?void 0x0:_0x38500d[_0x10b28f(0x33b)](_0x4e6df8=>_0x2bb6de[_0x4e6df8]))==null?[]:_0x569b31,_0x9a76e0=new Set(_0x38c227),_0x2259ee=[];for(let _0x5f1575 of Object[_0x10b28f(0x10f)](_0x2bb6de))_0x9a76e0[_0x10b28f(0x277)](_0x5f1575['id'])||_0x2259ee['push'](_0x5f1575);let _0x131ba3=_0x2259ee[_0x10b28f(0x1ee)]?[..._0x38c227,...ze(_0x2259ee)]:_0x38c227,_0x5733e6=_0x451c11[_0x10b28f(0x301)][_0x10b28f(0x33b)](_0x14c46b=>_0x4e958d[_0x14c46b]),_0x2c7cd0={...(_0x37e3c0=_0x451c11[_0x10b28f(0xd7)])==null?{}:_0x37e3c0},_0x449734={...(_0x17948e=_0x451c11[_0x10b28f(0x15b)])==null?{}:_0x17948e},_0x4e5027={...(_0x42fe9c=_0x451c11[_0x10b28f(0x33e)])==null?{}:_0x42fe9c};return _0x451c11[_0x10b28f(0x158)]=_0x131ba3,_0x451c11[_0x10b28f(0x34b)]={},_0x451c11['rowId']={},_0x451c11[_0x10b28f(0x32b)]={},_0x451c11[_0x10b28f(0x15b)]={},_0x451c11['cellData']={},_0x451c11['resources']={...(_0xd92ce5=_0x451c11[_0x10b28f(0x326)])==null?{}:_0xd92ce5},_0x451c11[_0x10b28f(0x326)][_0x10b28f(0xb3)]={...(_0x50d0b3=_0x451c11[_0x10b28f(0x326)][_0x10b28f(0xb3)])==null?{}:_0x50d0b3},_0x451c11[_0x10b28f(0x326)][_0x10b28f(0x25a)]={...(_0x3417c4=_0x451c11['resources']['attachments'])==null?{}:_0x3417c4},_0x131ba3[_0x10b28f(0x165)]((_0x5809f4,_0x279daf)=>{const _0x580bbc=_0x10b28f;_0x451c11[_0x580bbc(0x34b)][_0x5809f4]=_0x279daf,_0x451c11[_0x580bbc(0xd7)][_0x279daf]=_0x5809f4;}),_0x5733e6['forEach']((_0x2e1f75,_0x328034)=>{const _0x244d51=_0x10b28f;_0x451c11[_0x244d51(0x32b)][_0x2e1f75]=_0x328034,_0x451c11[_0x244d51(0x15b)][_0x328034]=_0x2e1f75;}),Object['entries'](_0x4e5027)[_0x10b28f(0x165)](([_0x1261f1,_0x294be9])=>{const _0x4aa4aa=_0x10b28f;var _0x13f67d,_0x3270ac;let _0x3a1f66=Number(_0x1261f1),_0x3332cd=(_0x13f67d=_0x2c7cd0[_0x3a1f66])==null?_0x131ba3[_0x3a1f66]:_0x13f67d,_0x518ee9=_0x3332cd?_0x451c11[_0x4aa4aa(0x34b)][_0x3332cd]:void 0x0;_0x518ee9!=null&&(_0x451c11[_0x4aa4aa(0x33e)][_0x518ee9]={...(_0x3270ac=_0x451c11[_0x4aa4aa(0x33e)][_0x518ee9])==null?{}:_0x3270ac},Object[_0x4aa4aa(0x1d7)](_0x294be9==null?{}:_0x294be9)[_0x4aa4aa(0x165)](([_0x38dcf6,_0x175577])=>{const _0x78e381=_0x4aa4aa;var _0x446918;let _0x133b50=Number(_0x38dcf6),_0x3ad300=(_0x446918=_0x449734[_0x133b50])==null?_0x5733e6[_0x133b50]:_0x446918,_0x2af0f0=_0x3ad300?_0x451c11[_0x78e381(0x32b)][_0x3ad300]:void 0x0;_0x2af0f0!=null&&(_0x451c11[_0x78e381(0x33e)][_0x518ee9][_0x2af0f0]=De(_0x175577));}));}),Object[_0x10b28f(0x10f)](_0x2bb6de)[_0x10b28f(0x165)](_0x1b730f=>{const _0x433dd4=_0x10b28f;var _0x588f94,_0x3cbb14;let _0x9bd748=_0x451c11['rowIndex'][_0x1b730f['id']];_0x9bd748!=null&&(_0x451c11[_0x433dd4(0x33e)][_0x9bd748]={...(_0x588f94=_0x451c11[_0x433dd4(0x33e)][_0x9bd748])==null?{}:_0x588f94},Object[_0x433dd4(0x1d7)]((_0x3cbb14=_0x1b730f['values'])==null?{}:_0x3cbb14)[_0x433dd4(0x165)](([_0x14cf09,_0xbe1dcf])=>{const _0xd8cb3d=_0x433dd4;let _0x88a3ce=_0x4e958d[_0x14cf09];(_0x88a3ce==null?void 0x0:_0x88a3ce[_0xd8cb3d(0x14a)])===_0x3d85e5[_0xd8cb3d(0x18d)]&&Me(_0x451c11,_0x1b730f['id'],_0x14cf09,_0xbe1dcf);let _0x17c146=_0x451c11['colIndex'][_0x14cf09];if(_0x17c146==null)return;let _0x343b7b=_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146];if(_0x343b7b!=null){Fe(_0x343b7b,_0x88a3ce,_0xbe1dcf)&&(_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146]=Ee(_0xbe1dcf,_0x88a3ce));return;}_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146]=Ee(_0xbe1dcf,_0x88a3ce);}));}),_0x451c11;}function be(_0x1cb3e0){const _0x20553d=_0xf159;var _0x3a130a;return w(_0x1cb3e0),Object['entries']((_0x3a130a=_0x1cb3e0[_0x20553d(0xd7)])==null?{}:_0x3a130a)['forEach'](([_0x38820e,_0x3e2712])=>{const _0x3d0488=_0x20553d;var _0x4ecfa7,_0x38bf96,_0x268ce1;let _0xec4984=Number(_0x38820e),_0x14c472=_0x1cb3e0[_0x3d0488(0x26d)][_0x3e2712];_0x14c472&&(_0x14c472['values']={...(_0x4ecfa7=_0x14c472[_0x3d0488(0x10f)])==null?{}:_0x4ecfa7},Object[_0x3d0488(0x1d7)]((_0x38bf96=(_0x268ce1=_0x1cb3e0[_0x3d0488(0x33e)])==null?void 0x0:_0x268ce1[_0xec4984])==null?{}:_0x38bf96)[_0x3d0488(0x165)](([_0x183fc1,_0x53cf7b])=>{const _0x14aad2=_0x3d0488;var _0x4b36fc;let _0x35f6a6=(_0x4b36fc=_0x1cb3e0[_0x14aad2(0x15b)])==null?void 0x0:_0x4b36fc[Number(_0x183fc1)];_0x35f6a6&&(_0x14c472[_0x14aad2(0x10f)][_0x35f6a6]=Oe(_0x53cf7b,_0x1cb3e0['fields'][_0x35f6a6],_0x1cb3e0,_0x3e2712));}));}),_0x1cb3e0;}function xe(_0x3133e5,_0x33b41c){const _0x21c08d=_0xf159;for(let {row:_0x29dca9,col:_0x3aed7d}of _0x33b41c){var _0x55eef0,_0x5f401f,_0x4942b4,_0x430c73;let _0x1168db=(_0x55eef0=_0x3133e5[_0x21c08d(0xd7)])==null?void 0x0:_0x55eef0[_0x29dca9],_0x5a6d05=(_0x5f401f=_0x3133e5[_0x21c08d(0x15b)])==null?void 0x0:_0x5f401f[_0x3aed7d],_0x531780=_0x1168db?_0x3133e5[_0x21c08d(0x26d)][_0x1168db]:void 0x0;!_0x531780||!_0x5a6d05||(_0x531780[_0x21c08d(0x10f)]={...(_0x4942b4=_0x531780[_0x21c08d(0x10f)])==null?{}:_0x4942b4},_0x531780['values'][_0x5a6d05]=Oe((_0x430c73=_0x3133e5[_0x21c08d(0x33e)])==null||(_0x430c73=_0x430c73[_0x29dca9])==null?void 0x0:_0x430c73[_0x3aed7d],_0x3133e5['fields'][_0x5a6d05],_0x3133e5,_0x1168db));}return _0x3133e5;}function Se(_0x24dca7,_0x505afc,_0x36076b){const _0x224cdd=_0xf159;var _0x40f1c7,_0x32afc0,_0x3dece8,_0x459fec,_0x3c3d28,_0x2d04c2;let _0x29a7ad=(_0x40f1c7=_0x24dca7[_0x224cdd(0x34b)])==null?void 0x0:_0x40f1c7[_0x505afc],_0x241103=(_0x32afc0=_0x24dca7[_0x224cdd(0x32b)])==null?void 0x0:_0x32afc0[_0x36076b];if(_0x29a7ad!=null&&_0x241103!=null&&((_0x3dece8=_0x24dca7[_0x224cdd(0xd7)])==null?void 0x0:_0x3dece8[_0x29a7ad])===_0x505afc&&((_0x459fec=_0x24dca7[_0x224cdd(0x15b)])==null?void 0x0:_0x459fec[_0x241103])===_0x36076b)return{'row':_0x29a7ad,'col':_0x241103};let _0x5b3856=w(_0x24dca7),_0x3f2d4f=(_0x3c3d28=_0x5b3856['rowIndex'])==null?void 0x0:_0x3c3d28[_0x505afc],_0x43b70b=(_0x2d04c2=_0x5b3856['colIndex'])==null?void 0x0:_0x2d04c2[_0x36076b];return _0x3f2d4f==null||_0x43b70b==null?null:{'row':_0x3f2d4f,'col':_0x43b70b};}function Ce(_0x2202ef,_0x3fe036,_0x281800){const _0x55b875=_0xf159;var _0x24634a;let _0x38818b=Se(_0x2202ef,_0x3fe036,_0x281800);if(_0x38818b)return(_0x24634a=_0x2202ef[_0x55b875(0x33e)])==null||(_0x24634a=_0x24634a[_0x38818b[_0x55b875(0x2ed)]])==null?void 0x0:_0x24634a[_0x38818b['col']];}function we(_0x3ea204,_0x4c0cb8,_0x2c362f){const _0x26d3b2=_0xf159;var _0x27a551,_0x5cd356;let _0x4711f5=Ce(_0x3ea204,_0x4c0cb8,_0x2c362f),_0x395798=_0x3ea204[_0x26d3b2(0x30b)][_0x2c362f];if((_0x395798==null?void 0x0:_0x395798[_0x26d3b2(0x14a)])===_0x3d85e5[_0x26d3b2(0x18d)]){var _0x2a9c36,_0x53f202;return(_0x2a9c36=Ne(_0x3ea204,_0x4c0cb8,_0x2c362f))==null?T((_0x53f202=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x53f202=_0x53f202[_0x26d3b2(0x10f)])==null?void 0x0:_0x53f202[_0x2c362f]):_0x2a9c36;}if(E(_0x395798)||(_0x395798==null?void 0x0:_0x395798[_0x26d3b2(0x14a)])===_0x3d85e5['Link']){var _0x5074f8;let _0x1ab715=(_0x5074f8=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x5074f8=_0x5074f8[_0x26d3b2(0x10f)])==null?void 0x0:_0x5074f8[_0x2c362f];return _0x1ab715!=null&&_0x1ab715!==''?Pe(_0x1ab715,_0x395798):Oe(_0x4711f5,_0x395798,_0x3ea204,_0x4c0cb8);}if(_0x4711f5&&Object[_0x26d3b2(0x1de)][_0x26d3b2(0x138)][_0x26d3b2(0x16c)](_0x4711f5,'v')){var _0x7f666d;return(_0x7f666d=_0x4711f5['v'])==null?null:_0x7f666d;}return(_0x27a551=(_0x5cd356=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x5cd356=_0x5cd356[_0x26d3b2(0x10f)])==null?void 0x0:_0x5cd356[_0x2c362f])==null?null:_0x27a551;}function Te(_0x12564a,_0x5671b6,_0x8c5e1b){const _0x1b87eb=_0xf159;var _0x2901ad,_0x1ac18e,_0x31136e;let _0x27f8c5=Ce(_0x12564a,_0x5671b6,_0x8c5e1b);if(_0x27f8c5&&Object[_0x1b87eb(0x1de)][_0x1b87eb(0x138)][_0x1b87eb(0x16c)](_0x27f8c5,'v')){var _0x58f745;return(_0x58f745=_0x27f8c5['v'])==null?null:_0x58f745;}let _0x26aa05=_0x12564a[_0x1b87eb(0x30b)][_0x8c5e1b];return(_0x2901ad=Ee((_0x1ac18e=(_0x31136e=_0x12564a['records'][_0x5671b6])==null||(_0x31136e=_0x31136e[_0x1b87eb(0x10f)])==null?void 0x0:_0x31136e[_0x8c5e1b])==null?null:_0x1ac18e,_0x26aa05)['v'])==null?null:_0x2901ad;}function Ee(_0x385d13,_0x1ff83d){const _0x242419=_0xf159;if(Ae(_0x385d13))return(_0x1ff83d==null?void 0x0:_0x1ff83d['type'])===_0x3d85e5[_0x242419(0x18d)]?{..._0x385d13,'v':'','t':_0x2e3f0c[_0x242419(0x377)]}:De(_0x385d13);if((_0x1ff83d==null?void 0x0:_0x1ff83d[_0x242419(0x14a)])===_0x3d85e5['Attachment'])return{'v':'','t':_0x2e3f0c[_0x242419(0x377)]};if(E(_0x1ff83d))return{'v':Ie(_0x385d13)[_0x242419(0x115)](',\x20'),'t':_0x2e3f0c[_0x242419(0x377)]};if((_0x1ff83d==null?void 0x0:_0x1ff83d['type'])===_0x3d85e5[_0x242419(0x33c)]&&_0x385d13&&typeof _0x385d13==_0x242419(0x1ae)&&!Array[_0x242419(0x352)](_0x385d13)){var _0x47610a,_0x3b8d7b;let _0x357dde=_0x385d13;return{'v':String((_0x47610a=(_0x3b8d7b=_0x357dde[_0x242419(0x349)])==null?_0x357dde[_0x242419(0x190)]:_0x3b8d7b)==null?'':_0x47610a),'t':_0x2e3f0c[_0x242419(0x377)]};}return _0x385d13===null||typeof _0x385d13==_0x242419(0xc9)||typeof _0x385d13==_0x242419(0x12e)||typeof _0x385d13==_0x242419(0x288)?{'v':_0x385d13,'t':Re(_0x385d13)}:{'v':null,'t':null};}function De(_0x1d4045){let _0x50ea47=Be(_0x1d4045['t'],_0x1d4045['v']);if(_0x50ea47===void 0x0){let {t:_0x2424b5,..._0x56fe71}=_0x1d4045;return _0x56fe71;}return{..._0x1d4045,'t':_0x50ea47};}function Oe(_0x5206db,_0x15c49a,_0x467e8d,_0x320f3a){const _0x364973=_0xf159;if(!_0x5206db)return null;if((_0x15c49a==null?void 0x0:_0x15c49a['type'])===_0x3d85e5[_0x364973(0x18d)]){var _0x1901bc;return _0x467e8d&&_0x320f3a?(_0x1901bc=Ne(_0x467e8d,_0x320f3a,_0x15c49a['id']))==null?[]:_0x1901bc:[];}if(E(_0x15c49a))return Ie(_0x5206db['v']);if((_0x15c49a==null?void 0x0:_0x15c49a[_0x364973(0x14a)])===_0x3d85e5[_0x364973(0x33c)]&&_0x467e8d&&_0x320f3a){var _0x22f36a;let _0x3afb47=(_0x22f36a=_0x467e8d[_0x364973(0x26d)][_0x320f3a])==null||(_0x22f36a=_0x22f36a[_0x364973(0x10f)])==null?void 0x0:_0x22f36a[_0x15c49a['id']];if(_0x3afb47&&typeof _0x3afb47==_0x364973(0x1ae)&&!Array['isArray'](_0x3afb47))return _0x3afb47;}if(Object['prototype'][_0x364973(0x138)][_0x364973(0x16c)](_0x5206db,'v')){var _0x4470ef;return(_0x4470ef=_0x5206db['v'])==null?null:_0x4470ef;}return null;}function ke(_0x5020f0,_0x55204b,_0x3b8fe2,_0x12ca5e,_0x4b2238){const _0x4843d9=_0xf159;return(_0x3b8fe2==null?void 0x0:_0x3b8fe2[_0x4843d9(0x14a)])===_0x3d85e5[_0x4843d9(0x18d)]?T(_0x5020f0):E(_0x3b8fe2)?Ie(_0x5020f0):(_0x3b8fe2==null?void 0x0:_0x3b8fe2['type'])===_0x3d85e5['Link']&&_0x5020f0&&typeof _0x5020f0==_0x4843d9(0x1ae)&&!Array[_0x4843d9(0x352)](_0x5020f0)&&!Ae(_0x5020f0)?_0x5020f0:Oe(_0x55204b,_0x3b8fe2,_0x12ca5e,_0x4b2238);}function Ae(_0x654346){const _0xb3618d=_0xf159;return!!_0x654346&&typeof _0x654346==_0xb3618d(0x1ae)&&(Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'v')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)][_0xb3618d(0x16c)](_0x654346,'t')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'p')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)][_0xb3618d(0x16c)](_0x654346,'f')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'si'));}function je(_0x74774c,_0x3dc331){return _0x74774c+'\x1f'+_0x3dc331;}function Me(_0x330699,_0x2c1368,_0x3b00e7,_0x3f55d0){const _0x6a7490=_0xf159;var _0x41cd61,_0x27a660,_0x45d8b4;let _0x1463dd=T(_0x3f55d0);_0x330699[_0x6a7490(0x326)]={...(_0x41cd61=_0x330699['resources'])==null?{}:_0x41cd61},_0x330699['resources'][_0x6a7490(0xb3)]={...(_0x27a660=_0x330699[_0x6a7490(0x326)][_0x6a7490(0xb3)])==null?{}:_0x27a660},_0x330699[_0x6a7490(0x326)]['attachments']={...(_0x45d8b4=_0x330699[_0x6a7490(0x326)][_0x6a7490(0x25a)])==null?{}:_0x45d8b4};let _0x4cbfd4=je(_0x3b00e7,_0x2c1368),_0x46460f=[];for(let _0x3296b3=0x0;_0x3296b3<_0x1463dd[_0x6a7490(0x1ee)];_0x3296b3++){var _0xf76a9e;if(!(_0x3296b3 in _0x1463dd))continue;let _0x1ff1fc=_0x1463dd[_0x3296b3],_0x90d5e7=String((_0xf76a9e=_0x1ff1fc['id'])==null?_0x4cbfd4+'\x1f'+_0x3296b3:_0xf76a9e),_0x707a7={..._0x1ff1fc,'id':_0x90d5e7};_0x330699[_0x6a7490(0x326)]['attachments'][_0x90d5e7]=_0x707a7,_0x46460f['push'](_0x90d5e7);}_0x330699['resources']['attachmentSets'][_0x4cbfd4]=_0x46460f;}function Ne(_0x317f15,_0x4ee4f3,_0x588a8b){const _0x5e100f=_0xf159;var _0x46de22;let _0x561348=je(_0x588a8b,_0x4ee4f3),_0x3eaa31=(_0x46de22=_0x317f15[_0x5e100f(0x326)])==null||(_0x46de22=_0x46de22[_0x5e100f(0xb3)])==null?void 0x0:_0x46de22[_0x561348];if(!_0x3eaa31)return null;let _0x526296=[];for(let _0x534a99=0x0;_0x534a99<_0x3eaa31['length'];_0x534a99++){var _0x1df04c;if(!(_0x534a99 in _0x3eaa31))continue;let _0x47024e=(_0x1df04c=_0x317f15[_0x5e100f(0x326)])==null||(_0x1df04c=_0x1df04c['attachments'])==null?void 0x0:_0x1df04c[_0x3eaa31[_0x534a99]];_0x47024e&&_0x526296['push']({..._0x47024e});}return _0x526296;}function T(_0x387b6a){const _0x58b7f0=_0xf159;if(_0x387b6a==null||_0x387b6a===''||Ae(_0x387b6a)&&!('id'in _0x387b6a)&&!('name'in _0x387b6a))return[];let _0x17d994=Array['isArray'](_0x387b6a)?_0x387b6a:[_0x387b6a],_0x577b12=[];for(let _0x39952d=0x0;_0x39952d<_0x17d994[_0x58b7f0(0x1ee)];_0x39952d++){if(!(_0x39952d in _0x17d994))continue;let _0x5cece4=_0x17d994[_0x39952d],_0x3d0c2c=_0x5cece4&&typeof _0x5cece4==_0x58b7f0(0x1ae)?{..._0x5cece4}:{'id':_0x58b7f0(0x230)+_0x39952d,'name':String(_0x5cece4)};Object[_0x58b7f0(0x33a)](_0x3d0c2c)[_0x58b7f0(0x1ee)]>0x0&&_0x577b12['push'](_0x3d0c2c);}return _0x577b12;}function Pe(_0x34557a,_0x515dd2){const _0x61f72=_0xf159;return(_0x515dd2==null?void 0x0:_0x515dd2[_0x61f72(0x14a)])===_0x3d85e5[_0x61f72(0x18d)]?T(_0x34557a):E(_0x515dd2)?Ie(_0x34557a):_0x34557a;}function Fe(_0x1257f1,_0x512b50,_0x36b8c3){const _0x308adc=_0xf159;return(_0x512b50==null?void 0x0:_0x512b50[_0x308adc(0x14a)])===_0x3d85e5['Attachment']?_0x1257f1['v']!=='':E(_0x512b50)?Array[_0x308adc(0x352)](_0x36b8c3)&&(_0x1257f1['v']==null||_0x1257f1['v']===''):!0x1;}function E(_0x3a270c){const _0x55a7f5=_0xf159;return(_0x3a270c==null?void 0x0:_0x3a270c['type'])===_0x3d85e5['MultiSelect']||(_0x3a270c==null?void 0x0:_0x3a270c[_0x55a7f5(0x14a)])===_0x3d85e5['Person']||(_0x3a270c==null?void 0x0:_0x3a270c['type'])===_0x3d85e5['Group'];}function Ie(_0x3b27e5){const _0x29ac33=_0xf159;if(_0x3b27e5==null||_0x3b27e5==='')return[];let _0x4652f0=[];if(Array[_0x29ac33(0x352)](_0x3b27e5)){for(let _0x384b99=0x0;_0x384b99<_0x3b27e5[_0x29ac33(0x1ee)];_0x384b99++){if(!(_0x384b99 in _0x3b27e5))continue;let _0x15c17f=Le(_0x3b27e5[_0x384b99]);_0x15c17f&&_0x4652f0[_0x29ac33(0xcd)](_0x15c17f);}return _0x4652f0;}for(let _0x1d0e81 of String(_0x3b27e5)['split'](',')){let _0x3d335a=_0x1d0e81['trim']();_0x3d335a&&_0x4652f0[_0x29ac33(0xcd)](_0x3d335a);}return _0x4652f0;}function Le(_0x20403d){const _0x27671c=_0xf159;if(_0x20403d==null)return'';if(typeof _0x20403d=='string'||typeof _0x20403d=='number'||typeof _0x20403d==_0x27671c(0x288))return String(_0x20403d);if(typeof _0x20403d==_0x27671c(0x1ae)){var _0x1a010a,_0x506a76,_0xc81413;let _0x4f26eb=_0x20403d;return String((_0x1a010a=(_0x506a76=(_0xc81413=_0x4f26eb['id'])==null?_0x4f26eb[_0x27671c(0x14c)]:_0xc81413)==null?_0x4f26eb[_0x27671c(0x349)]:_0x506a76)==null?'':_0x1a010a);}return String(_0x20403d);}function Re(_0x553ed0){const _0x3709ca=_0xf159;return _0x553ed0==null?null:typeof _0x553ed0=='number'?_0x2e3f0c[_0x3709ca(0x30e)]:typeof _0x553ed0==_0x3709ca(0x288)?_0x2e3f0c['BOOLEAN']:_0x2e3f0c['STRING'];}function ze(_0x3142d1){const _0x2c76d6=_0xf159;_0x3142d1[_0x2c76d6(0x194)]((_0x1b0b74,_0x1c5fdd)=>_0x1b0b74[_0x2c76d6(0x266)][_0x2c76d6(0x153)](_0x1c5fdd[_0x2c76d6(0x266)]));let _0x44fadd=[];for(let _0x244b14 of _0x3142d1)_0x44fadd[_0x2c76d6(0xcd)](_0x244b14['id']);return _0x44fadd;}function Be(_0x52eaf5,_0x3d0158){const _0x3318fd=_0xf159;return _0x52eaf5===_0x2e3f0c['STRING']||_0x52eaf5===_0x2e3f0c[_0x3318fd(0x30e)]||_0x52eaf5===_0x2e3f0c[_0x3318fd(0x1af)]||_0x52eaf5===_0x2e3f0c['FORCE_STRING']||_0x52eaf5==null?_0x52eaf5:Re(_0x3d0158==null?null:_0x3d0158);}var D=class{[_0x16d78d(0x1e4)](_0x4d228a,_0x2cb21a){const _0x2551ed=_0x16d78d;let _0x3e091a=this[_0x2551ed(0x1cb)](_0x2cb21a),_0x35af75=C('BaseJson1.cloneForOp',()=>Je(_0x4d228a,_0x2cb21a),{'invalidations':_0x3e091a['length']}),_0x5a47c9=C(_0x2551ed(0x220),()=>_0x579b08[_0x2551ed(0x14a)][_0x2551ed(0x1ff)](_0x35af75,_0x2cb21a),{'invalidations':_0x3e091a['length']});return Ve(_0x5a47c9,_0x3e091a)||this[_0x2551ed(0x181)](_0x5a47c9,_0x3e091a)[_0x2551ed(0x165)](_0x17abe2=>{be(_0x17abe2);}),_0x5a47c9;}['invertOp'](_0x54f25a,_0x18a92b){const _0x2851e3=_0x16d78d;return _0x579b08[_0x2851e3(0x14a)][_0x2851e3(0x179)](_0x18a92b,_0x54f25a);}[_0x16d78d(0x1cb)](_0x4f7c7c){const _0x31d7a2=_0x16d78d;let _0x3e697b=Ge(_0x4f7c7c);return _0x3e697b['length']?Ke(_0x3e697b[_0x31d7a2(0x1cc)](_0x23bce7=>this[_0x31d7a2(0x1cb)](_0x23bce7))):He(_0x4f7c7c);}[_0x16d78d(0x181)](_0x4f05db,_0x54d113){const _0x2fdc56=_0x16d78d;if(!_0x54d113[_0x2fdc56(0x1ee)])return[];if(_0x54d113[_0x2fdc56(0x322)](_0x169070=>!_0x169070[_0x2fdc56(0x21c)])){var _0x117102;return Object['values']((_0x117102=_0x4f05db[_0x2fdc56(0x1f7)])==null?{}:_0x117102);}return Array['from'](new Set(_0x54d113[_0x2fdc56(0x187)](_0x3df6d7=>_0x3df6d7[_0x2fdc56(0x21c)])))[_0x2fdc56(0x1cc)](_0x33be52=>{const _0x13c8ad=_0x2fdc56;var _0x3e0e37;let _0x120701=(_0x3e0e37=_0x4f05db[_0x13c8ad(0x1f7)])==null?void 0x0:_0x3e0e37[_0x33be52];return _0x120701?[_0x120701]:[];});}};function Ve(_0x41f896,_0x34d5ab){const _0x4394f3=_0x16d78d;if(!_0x34d5ab[_0x4394f3(0x1ee)]||_0x34d5ab[_0x4394f3(0x322)](_0x5b7d07=>_0x5b7d07['reason']!==_0x4394f3(0x1aa)))return!0x1;let _0xb502e3=new Map();for(let _0x24d500 of _0x34d5ab){var _0x4e0f79;if(!_0x24d500[_0x4394f3(0x21c)]||_0x24d500[_0x4394f3(0x2ed)]==null||_0x24d500['column']==null)continue;let _0x4a21bc=(_0x4e0f79=_0xb502e3[_0x4394f3(0x36e)](_0x24d500['tableId']))==null?[]:_0x4e0f79;_0x4a21bc[_0x4394f3(0xcd)]({'row':_0x24d500[_0x4394f3(0x2ed)],'col':_0x24d500['column']}),_0xb502e3[_0x4394f3(0x21d)](_0x24d500[_0x4394f3(0x21c)],_0x4a21bc);}return _0xb502e3['forEach']((_0x3ce5f8,_0x22a2da)=>{const _0x1ef51f=_0x4394f3;var _0x398778;let _0x2d2713=(_0x398778=_0x41f896[_0x1ef51f(0x1f7)])==null?void 0x0:_0x398778[_0x22a2da];_0x2d2713&&xe(_0x2d2713,_0x3ce5f8);}),!0x0;}function He(_0x2a386c){const _0x524a96=_0x16d78d;if(!Array[_0x524a96(0x352)](_0x2a386c)||_0x2a386c[_0x524a96(0x1ee)]<0x2)return[{'tableId':'','reason':_0x524a96(0x16e)}];let _0x44e9c0=_0x2a386c,_0x89cf29=_0x44e9c0[_0x524a96(0x2f2)](_0x524a96(0x1f7));return _0x89cf29===-0x1||typeof _0x44e9c0[_0x89cf29+0x1]!=_0x524a96(0xc9)?_0x44e9c0[0x0]===_0x524a96(0x1f3)?[]:[{'tableId':'','reason':_0x524a96(0x16e)}]:Ue(_0x44e9c0,_0x89cf29,String(_0x44e9c0[_0x89cf29+0x1]));}function Ue(_0x25365b,_0x4c31ee,_0x5dbf98){const _0x54b61e=_0x16d78d;let _0x2418b1=_0x25365b[_0x4c31ee+0x2];return _0x2418b1===_0x54b61e(0x26d)&&typeof _0x25365b[_0x4c31ee+0x3]==_0x54b61e(0xc9)?We(_0x25365b,_0x4c31ee,_0x5dbf98,String(_0x25365b[_0x4c31ee+0x3])):_0x2418b1===_0x54b61e(0x33e)&&_0x25365b[_0x4c31ee+0x3]!=null&&_0x25365b[_0x4c31ee+0x4]!=null?[{'tableId':_0x5dbf98,'reason':_0x54b61e(0x1aa),'row':Number(_0x25365b[_0x4c31ee+0x3]),'column':Number(_0x25365b[_0x4c31ee+0x4])}]:_0x2418b1==='fields'&&typeof _0x25365b[_0x4c31ee+0x3]=='string'?[{'tableId':_0x5dbf98,'reason':_0x54b61e(0x30d),'fieldId':String(_0x25365b[_0x4c31ee+0x3])}]:_0x2418b1===_0x54b61e(0x2b6)&&typeof _0x25365b[_0x4c31ee+0x3]==_0x54b61e(0xc9)?[{'tableId':_0x5dbf98,'reason':'view','viewId':String(_0x25365b[_0x4c31ee+0x3])}]:[{'tableId':_0x5dbf98,'reason':_0x2418b1===void 0x0?_0x54b61e(0xc2):_0x54b61e(0x16e)}];}function We(_0x4b52ba,_0x39e1e1,_0x53d562,_0x526e80){const _0x537b5b=_0x16d78d;return _0x4b52ba[_0x39e1e1+0x4]===_0x537b5b(0x10f)&&typeof _0x4b52ba[_0x39e1e1+0x5]==_0x537b5b(0xc9)?[{'tableId':_0x53d562,'reason':_0x537b5b(0x1aa),'recordId':_0x526e80,'fieldId':String(_0x4b52ba[_0x39e1e1+0x5])}]:_0x4b52ba[_0x39e1e1+0x4]==='updatedAt'||_0x4b52ba[_0x39e1e1+0x4]==='updatedBy'?[]:[{'tableId':_0x53d562,'reason':'record','recordId':_0x526e80}];}function Ge(_0x4e7524){const _0xa942a0=_0x16d78d;if(!Array[_0xa942a0(0x352)](_0x4e7524))return[];let _0xc8cbbb=_0x4e7524[_0xa942a0(0x33b)](Array[_0xa942a0(0x352)]);if(_0xc8cbbb['length']>0x1&&_0xc8cbbb[_0xa942a0(0x1ee)]===_0x4e7524['length'])return _0xc8cbbb;let _0x234f67=_0x4e7524[_0xa942a0(0x1c8)](Array[_0xa942a0(0x352)]);if(_0x234f67>0x0&&_0x4e7524[_0xa942a0(0x1b8)](_0x234f67)[_0xa942a0(0x324)](Array[_0xa942a0(0x352)])){let _0x1790bb=_0x4e7524[_0xa942a0(0x1b8)](0x0,_0x234f67);return _0x4e7524['slice'](_0x234f67)[_0xa942a0(0x187)](_0x2c267d=>[..._0x1790bb,..._0x2c267d]);}let _0x1b9877=_0x4e7524[_0xa942a0(0x2f2)](_0xa942a0(0x1f7));if(_0x1b9877===-0x1||typeof _0x4e7524[_0x1b9877+0x1]!=_0xa942a0(0xc9))return[];let _0x1d8c7f=String(_0x4e7524[_0x1b9877+0x1]),_0x3f3615=_0x4e7524[_0xa942a0(0x1b8)](_0x1b9877+0x2)[_0xa942a0(0x33b)](Array[_0xa942a0(0x352)]);return _0x3f3615[_0xa942a0(0x1ee)]<=0x1?[]:_0x3f3615[_0xa942a0(0x187)](_0x17d305=>[_0xa942a0(0x1f7),_0x1d8c7f,..._0x17d305]);}function Ke(_0x62e287){let _0x3cc31f=new Set();return _0x62e287['filter'](_0x99d494=>{const _0x3a1655=_0xf159;let _0x135615=JSON['stringify'](_0x99d494);return _0x3cc31f['has'](_0x135615)?!0x1:(_0x3cc31f[_0x3a1655(0xf0)](_0x135615),!0x0);});}function qe(_0x5ebf21){const _0x5ab893=_0x16d78d;return _0xa49e00[_0x5ab893(0x1bd)](_0x5ebf21);}function Je(_0x49debd,_0x18623c){let _0x13074b=Ye(_0x18623c);if(!_0x13074b['length'])return qe(_0x49debd);let _0xf3b725=et(_0x49debd);for(let _0x5b1613 of _0x13074b)Qe(_0xf3b725,_0x5b1613);return _0xf3b725;}function Ye(_0x4ce947){let _0xf29169=[];return Xe(_0x4ce947,[],_0xf29169),_0xf29169;}function Xe(_0x157a32,_0x26a4cc,_0x4b4a1d){const _0x40b8cc=_0x16d78d;if(!Array[_0x40b8cc(0x352)](_0x157a32))return;let _0x2a7939=[];for(let _0xf46f76 of _0x157a32){if(Array[_0x40b8cc(0x352)](_0xf46f76)){Xe(_0xf46f76,[..._0x26a4cc,..._0x2a7939],_0x4b4a1d);continue;}if(Ze(_0xf46f76)){_0x4b4a1d[_0x40b8cc(0xcd)]([..._0x26a4cc,..._0x2a7939]);continue;}(typeof _0xf46f76==_0x40b8cc(0xc9)||typeof _0xf46f76==_0x40b8cc(0x12e))&&_0x2a7939[_0x40b8cc(0xcd)](_0xf46f76);}}function Ze(_0x5b7ed2){const _0x43087b=_0x16d78d;if(!_0x5b7ed2||typeof _0x5b7ed2!=_0x43087b(0x1ae)||Array[_0x43087b(0x352)](_0x5b7ed2))return!0x1;let _0x5763a2=_0x5b7ed2;return'i'in _0x5763a2||'r'in _0x5763a2||'p'in _0x5763a2||'d'in _0x5763a2||'es'in _0x5763a2||_0x43087b(0x1d1)in _0x5763a2||'et'in _0x5763a2;}function Qe(_0x5f40ca,_0x32cf96){const _0x8b5d94=_0x16d78d;let _0x13cc89=_0x5f40ca;for(let _0x2cbb81=0x0;_0x2cbb81<_0x32cf96[_0x8b5d94(0x1ee)]-0x1;_0x2cbb81++){let _0x11200e=_0x32cf96[_0x2cbb81],_0x17052e=_0x13cc89==null?void 0x0:_0x13cc89[_0x11200e];if(!$e(_0x17052e))return;let _0x25014c=et(_0x17052e);_0x13cc89[_0x11200e]=_0x25014c,_0x13cc89=_0x25014c;}}function $e(_0x42a88a){const _0x359502=_0x16d78d;return!!_0x42a88a&&typeof _0x42a88a==_0x359502(0x1ae);}function et(_0x428870){const _0x438781=_0x16d78d;return Array[_0x438781(0x352)](_0x428870)?_0x428870[_0x438781(0x1b8)]():{..._0x428870};}const tt=0x5a0*0x3c*0x3e8,nt=0x63e1,rt=_0x16d78d(0xf2),it={'yyyy/mm/dd':'YYYY/MM/DD','yyyy/mm/dd\x20hh:mm':_0x16d78d(0x1f1),'yyyy-mm-dd':_0x16d78d(0x24f),'mm-dd':_0x16d78d(0x346),'mm/dd/yyyy':_0x16d78d(0x36d),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':_0x16d78d(0x313)};function O(_0x4da1d6){const _0x559b9d=_0x16d78d;return _0x328c7d(_0x4da1d6)[_0x559b9d(0x295)]()/tt+nt;}function at(_0x2943bc){return(_0x2943bc-nt)*tt;}function k(_0x23e23f){const _0x12ff54=_0x16d78d;if(_0x23e23f==null||_0x23e23f==='')return null;if(_0x23e23f instanceof Date)return O(_0x23e23f);if(typeof _0x23e23f==_0x12ff54(0x12e))return Number['isFinite'](_0x23e23f)?_0x23e23f>0xf4240?O(_0x23e23f):_0x23e23f:null;let _0x1e9d51=Date['parse'](String(_0x23e23f));return Number[_0x12ff54(0x302)](_0x1e9d51)?null:O(_0x1e9d51);}function A(_0xe56abe){let _0x49ce78=k(_0xe56abe);return _0x49ce78==null?null:at(_0x49ce78);}function ot(_0x4ebe28,_0x23eaf2={}){const _0x44b692=_0x16d78d;var _0x395f04,_0x596788,_0x22ad27;let _0x1fd55a=A(_0x4ebe28);if(_0x1fd55a==null||!Number[_0x44b692(0xb7)](_0x1fd55a))return'';let _0xc0504=String((_0x395f04=(_0x596788=_0x23eaf2[_0x44b692(0x249)])==null?_0x23eaf2[_0x44b692(0xfc)]:_0x596788)==null?rt:_0x395f04),_0xab6066=_0x23eaf2['includeTime']===!0x0||_0xc0504['includes']('hh:mm'),_0x1f3c3c=String((_0x22ad27=_0x23eaf2['hourCycle'])==null?'h24':_0x22ad27);return _0x328c7d(_0x1fd55a)[_0x44b692(0xfc)](st(_0xc0504,_0xab6066,_0x1f3c3c));}function st(_0x92bd30,_0x5e5f8f,_0x538c42){const _0x18e94e=_0x16d78d;var _0x4028a8;let _0x26b78e=(_0x4028a8=it[_0x92bd30])==null?it[rt]:_0x4028a8;return!_0x5e5f8f||_0x92bd30['includes']('hh:mm')?_0x26b78e:_0x26b78e+'\x20'+(_0x538c42===_0x18e94e(0x1c7)?_0x18e94e(0x111):_0x18e94e(0x250));}const ct={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},lt=new Set([_0x3d85e5[_0x16d78d(0xf3)],_0x3d85e5['Summary'],_0x3d85e5[_0x16d78d(0x361)],_0x3d85e5[_0x16d78d(0x351)],_0x3d85e5[_0x16d78d(0x11a)],_0x3d85e5[_0x16d78d(0x33f)],_0x3d85e5[_0x16d78d(0x35d)],_0x3d85e5['Barcode']]),j=0x5a0*0x3c*0x3e8;function ut(_0xf1980e,_0x366b36){const _0x54eb6a=_0x16d78d;return _0xf1980e==null&&_0x366b36==null?0x0:_0xf1980e==null?-0x1:_0x366b36==null?0x1:typeof _0xf1980e=='number'&&typeof _0x366b36==_0x54eb6a(0x12e)?_0xf1980e-_0x366b36:String(_0xf1980e)[_0x54eb6a(0x153)](String(_0x366b36));}function dt(_0xeff6e6,_0xce9a87,_0x5befb1,_0x4d03bf,_0x5b05f6={}){const _0x5ac507=_0x16d78d;if(_0xce9a87===_0x5ac507(0x189))return ft(_0xeff6e6);if(_0xce9a87===_0x5ac507(0x2b2))return!ft(_0xeff6e6);switch(_0x4d03bf['type']){case _0x3d85e5[_0x5ac507(0x355)]:case _0x3d85e5['Currency']:case _0x3d85e5[_0x5ac507(0x19a)]:case _0x3d85e5[_0x5ac507(0x336)]:return pt(_0xeff6e6,_0xce9a87,_0x5befb1);case _0x3d85e5[_0x5ac507(0x299)]:case _0x3d85e5[_0x5ac507(0xe5)]:case _0x3d85e5['UpdatedAt']:return ht(_0xeff6e6,_0xce9a87,_0x5befb1,_0x5b05f6);case _0x3d85e5[_0x5ac507(0x185)]:return xt(_0xeff6e6,_0xce9a87,_0x5befb1);case _0x3d85e5[_0x5ac507(0xe8)]:case _0x3d85e5[_0x5ac507(0x23f)]:case _0x3d85e5[_0x5ac507(0x224)]:case _0x3d85e5[_0x5ac507(0xe6)]:return Ct(_0xeff6e6,_0xce9a87,_0x5befb1,_0x4d03bf);default:return wt(_0xeff6e6,_0xce9a87,_0x5befb1);}}function ft(_0x211ce5){const _0x589e9d=_0x16d78d;return _0x211ce5==null?!0x0:Array[_0x589e9d(0x352)](_0x211ce5)?_0x211ce5[_0x589e9d(0x1ee)]===0x0:typeof _0x211ce5==_0x589e9d(0xc9)?_0x211ce5[_0x589e9d(0x304)]()==='':!0x1;}function pt(_0x21fad,_0x1a2bbd,_0x4c4aa6){const _0x21097d=_0x16d78d;let _0x8efe25=mt(_0x21fad),_0x312be1=mt(_0x4c4aa6);if(_0x8efe25==null||_0x312be1==null)return!0x1;switch(_0x1a2bbd){case'is':return _0x8efe25===_0x312be1;case _0x21097d(0x1cf):return _0x8efe25!==_0x312be1;case _0x21097d(0x16f):return _0x8efe25>_0x312be1;case'greaterThanOrEqual':return _0x8efe25>=_0x312be1;case _0x21097d(0x14f):return _0x8efe25<_0x312be1;case _0x21097d(0x222):return _0x8efe25<=_0x312be1;default:return!0x1;}}function mt(_0x3210c4){if(_0x3210c4==null||_0x3210c4==='')return null;let _0xae29a3=Number(_0x3210c4);return Number['isFinite'](_0xae29a3)?_0xae29a3:null;}function ht(_0x28edcc,_0x586c15,_0x37f339,_0x12f236){const _0xd6f981=_0x16d78d;var _0x1a4116;let _0x4c9fa2=_t(_0x28edcc);if(_0x4c9fa2==null)return!0x1;let _0x2a4d4a=gt((_0x1a4116=_0x12f236[_0xd6f981(0x327)])==null?_0xd6f981(0x207):_0x1a4116,_0x37f339,_0x12f236[_0xd6f981(0x176)]);if(!_0x2a4d4a)return!0x1;switch(_0x586c15){case'is':return _0x4c9fa2>=_0x2a4d4a[_0xd6f981(0xd9)]&&_0x4c9fa2<=_0x2a4d4a[_0xd6f981(0x2cb)];case _0xd6f981(0x1cf):return _0x4c9fa2<_0x2a4d4a[_0xd6f981(0xd9)]||_0x4c9fa2>_0x2a4d4a[_0xd6f981(0x2cb)];case _0xd6f981(0x2a1):return _0x4c9fa2<_0x2a4d4a[_0xd6f981(0xd9)];case _0xd6f981(0x142):return _0x4c9fa2>_0x2a4d4a[_0xd6f981(0x2cb)];default:return!0x1;}}function gt(_0x40ea4f,_0x55dd96,_0x38a35c=Date[_0x16d78d(0x176)]()){const _0x434b45=_0x16d78d;let _0x441565=vt(_0x38a35c);switch(_0x40ea4f){case _0x434b45(0x207):{let _0x5ec047=_t(_0x55dd96);return _0x5ec047==null?null:{'start':_0x5ec047,'end':_0x5ec047+j-0x1};}case'today':return{'start':_0x441565,'end':_0x441565+j-0x1};case _0x434b45(0x2dd):return{'start':_0x441565+j,'end':_0x441565+j*0x2-0x1};case _0x434b45(0x21b):return{'start':_0x441565-j,'end':_0x441565-0x1};case _0x434b45(0xb1):return yt(_0x441565,0x0);case _0x434b45(0x1c2):return yt(_0x441565,-0x1);case _0x434b45(0x2e6):return bt(_0x441565,0x0);case'lastMonth':return bt(_0x441565,-0x1);case _0x434b45(0x34d):return{'start':_0x441565-j*0x6,'end':_0x441565+j-0x1};case _0x434b45(0x36a):return{'start':_0x441565,'end':_0x441565+j*0x7-0x1};case'past30':return{'start':_0x441565-j*0x1d,'end':_0x441565+j-0x1};case _0x434b45(0x32f):return{'start':_0x441565,'end':_0x441565+j*0x1e-0x1};}}function _t(_0x56ee04){let _0x436074=k(_0x56ee04);return _0x436074==null?null:vt(at(_0x436074));}function vt(_0x3334cb){const _0x54e3d0=_0x16d78d;let _0x4a17ef=new Date(_0x3334cb);return _0x4a17ef[_0x54e3d0(0x122)](0x0,0x0,0x0,0x0),_0x4a17ef[_0x54e3d0(0xc0)]();}function yt(_0x2d0d0e,_0x3b0016){const _0x3b0c98=_0x16d78d;let _0x58e299=_0x2d0d0e-(new Date(_0x2d0d0e)[_0x3b0c98(0x246)]()+0x6)%0x7*j+_0x3b0016*j*0x7;return{'start':_0x58e299,'end':_0x58e299+j*0x7-0x1};}function bt(_0x4978fd,_0x1eeba3){const _0x5180bb=_0x16d78d;let _0x5d5f00=new Date(_0x4978fd),_0x20c515=new Date(_0x5d5f00[_0x5180bb(0x232)](),_0x5d5f00['getMonth']()+_0x1eeba3,0x1),_0x4c6521=new Date(_0x5d5f00[_0x5180bb(0x232)](),_0x5d5f00[_0x5180bb(0x244)]()+_0x1eeba3+0x1,0x1);return{'start':_0x20c515[_0x5180bb(0xc0)](),'end':_0x4c6521[_0x5180bb(0xc0)]()-0x1};}function xt(_0x4bdc0f,_0x1c7370,_0x43d6e3){let _0x4461fc=St(_0x4bdc0f),_0x90fe08=St(_0x43d6e3);switch(_0x1c7370){case'is':return _0x4461fc===_0x90fe08;case'isNot':return _0x4461fc!==_0x90fe08;default:return!0x1;}}function St(_0x2b9e08){const _0x2a4e64=_0x16d78d;return _0x2b9e08===!0x0||_0x2b9e08===_0x2a4e64(0x25f)||_0x2b9e08===0x1||_0x2b9e08==='1';}function Ct(_0x451ff1,_0x33ee9a,_0x9a37f7,_0x3a5573){const _0x12a9f4=_0x16d78d;let _0x11236d=Et(_0x451ff1,_0x3a5573),_0x18059b=Et(_0x9a37f7,_0x3a5573),_0x1bf0b5=_0x18059b[_0x12a9f4(0x1ee)]>0x0&&_0x18059b['some'](_0x5dd026=>_0x11236d['includes'](_0x5dd026));switch(_0x33ee9a){case'is':case _0x12a9f4(0x146):return _0x1bf0b5;case _0x12a9f4(0x1cf):case _0x12a9f4(0x19f):return!_0x1bf0b5;default:return!0x1;}}function wt(_0x47d119,_0x153085,_0x2970bc){const _0x31fa8e=_0x16d78d;let _0x1c4707=Tt(_0x47d119),_0x5aab18=Tt(_0x2970bc);switch(_0x153085){case'is':return _0x1c4707===_0x5aab18;case'isNot':return _0x1c4707!==_0x5aab18;case _0x31fa8e(0x146):return _0x5aab18?_0x1c4707[_0x31fa8e(0x1d9)](_0x5aab18):!0x1;case _0x31fa8e(0x19f):return _0x5aab18?!_0x1c4707[_0x31fa8e(0x1d9)](_0x5aab18):!0x0;default:return!0x1;}}function Tt(_0x8b586a){const _0x864238=_0x16d78d;if(Array[_0x864238(0x352)](_0x8b586a))return _0x8b586a[_0x864238(0x187)](_0x1c1044=>Tt(_0x1c1044))[_0x864238(0x115)]('\x0a');if(_0x8b586a&&typeof _0x8b586a=='object'){var _0x15ca1e,_0x19f976,_0x1d9b56,_0x332c55,_0x144e9a;let _0x3c77c7=_0x8b586a;return String((_0x15ca1e=(_0x19f976=(_0x1d9b56=(_0x332c55=(_0x144e9a=_0x3c77c7['name'])==null?_0x3c77c7[_0x864238(0x129)]:_0x144e9a)==null?_0x3c77c7[_0x864238(0x349)]:_0x332c55)==null?_0x3c77c7[_0x864238(0x2e7)]:_0x1d9b56)==null?_0x3c77c7['id']:_0x19f976)==null?'':_0x15ca1e)['trim']()[_0x864238(0x123)]();}return String(_0x8b586a==null?'':_0x8b586a)[_0x864238(0x304)]()['toLowerCase']();}function Et(_0x2b4f30,_0x358e1e){const _0x33a3de=_0x16d78d;var _0x402055;let _0x4a5075=Dt(_0x2b4f30),_0x187295=Ot((_0x402055=_0x358e1e['config'])==null?{}:_0x402055);return _0x4a5075[_0x33a3de(0x1cc)](_0x3762fb=>{const _0xbf3d24=_0x33a3de;var _0x168106;return(_0x168106=_0x187295[_0xbf3d24(0x36e)](_0x3762fb))==null?[_0x3762fb]:_0x168106;})[_0x33a3de(0x33b)]((_0x2acd64,_0x33df5b,_0x3a7187)=>_0x2acd64!==''&&_0x3a7187['indexOf'](_0x2acd64)===_0x33df5b);}function Dt(_0x2463ff){const _0x15c53e=_0x16d78d;if(_0x2463ff==null||_0x2463ff==='')return[];if(Array['isArray'](_0x2463ff))return _0x2463ff[_0x15c53e(0x1cc)](_0x2371e4=>Dt(_0x2371e4));if(_0x2463ff&&typeof _0x2463ff=='object'){let _0x27df7f=_0x2463ff;return['id',_0x15c53e(0x14c),'label',_0x15c53e(0x2e7),'text'][_0x15c53e(0x1cc)](_0x209dca=>Dt(_0x27df7f[_0x209dca]))['filter']((_0x5cd34a,_0x6f7aa6,_0x4fb196)=>_0x4fb196[_0x15c53e(0x2f2)](_0x5cd34a)===_0x6f7aa6);}return[Tt(_0x2463ff)];}function Ot(_0x37539c){const _0x33b91c=_0x16d78d;let _0x2f0315=new Map();return(Array[_0x33b91c(0x352)](_0x37539c[_0x33b91c(0x225)])?_0x37539c[_0x33b91c(0x225)]:[])[_0x33b91c(0x165)](_0x240f49=>{const _0x2ec6f8=_0x33b91c;if(!_0x240f49||typeof _0x240f49!='object')return;let _0x2bd8a4=Dt(_0x240f49),_0x3182a0=_0x2bd8a4[_0x2ec6f8(0x33b)]((_0x55e0df,_0x59bd8c)=>_0x55e0df!==''&&_0x2bd8a4[_0x2ec6f8(0x2f2)](_0x55e0df)===_0x59bd8c);_0x3182a0[_0x2ec6f8(0x165)](_0x441aa2=>_0x2f0315[_0x2ec6f8(0x21d)](_0x441aa2,_0x3182a0));}),_0x2f0315;}function M(_0x7aefa3,_0xe0dcff={},_0x1300c3=_0x5df240=>_0x5df240,_0x418e9f={}){const _0x112b37=_0x16d78d;var _0x165946,_0x314449,_0x1c894e,_0x4ecee6;let _0x221ce=!lt[_0x112b37(0x277)](_0x7aefa3),_0x49d049=_0x1300c3==null?_0x548e07=>_0x548e07:_0x1300c3;return{'type':_0x7aefa3,'i18nKey':_0x112b37(0x159)+_0x7aefa3,'enabled':_0x221ce,'visibleInCreateMenu':_0x221ce,'createDefaultConfig':(_0x165946=_0x418e9f[_0x112b37(0x34c)])==null?()=>({}):_0x165946,'createDefaultValue':(_0x314449=_0x418e9f[_0x112b37(0x141)])==null?_0x23915e=>{var _0x4cbc0c;return(_0x4cbc0c=_0x23915e['defaultValue'])==null?null:_0x4cbc0c;}:_0x314449,'normalize':(_0x5d109d,_0x7436c)=>_0x49d049(_0x5d109d,_0x7436c),'validate':(_0x5d74f4,_0x59f94f)=>{const _0x19c51f=_0x112b37;var _0x4c5b7f,_0x2122df;return _0x221ce?(_0x4c5b7f=(_0x2122df=_0x418e9f[_0x19c51f(0x217)])==null?void 0x0:_0x2122df[_0x19c51f(0x16c)](_0x418e9f,_0x5d74f4,_0x59f94f))==null?{'valid':!0x0}:_0x4c5b7f:{'valid':!0x1};},'compare':(_0xd68f8,_0x5e52d1)=>ut(_0xd68f8,_0x5e52d1),'filter':(_0x137afb,_0x173224,_0x384b16,_0x3e9aaa)=>dt(_0x137afb,_0x173224,_0x384b16,_0x3e9aaa),'toPlainText':(_0x1c894e=_0x418e9f[_0x112b37(0x211)])==null?_0x136fb2=>_0x136fb2==null?'':String(_0x136fb2):_0x1c894e,'fromPlainText':(_0x4ecee6=_0x418e9f[_0x112b37(0x1eb)])==null?_0x19fedb=>_0x49d049(_0x19fedb,{'id':'','name':'','type':_0x7aefa3,'config':{}}):_0x4ecee6,'getCapabilities':()=>{const _0x4dc064=_0x112b37;var _0x2c8b07;return{...ct,..._0xe0dcff,'editable':_0x221ce&&((_0x2c8b07=_0xe0dcff['editable'])==null?ct[_0x4dc064(0x331)]:_0x2c8b07)};}};}function kt(){const _0x28f6e9=_0x16d78d;return[M(_0x3d85e5['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x28f6e9(0x2d4)}),'createDefaultValue':_0x1b1f1c=>{const _0x20055a=_0x28f6e9;var _0x3d9c74;return(_0x3d9c74=_0x1b1f1c[_0x20055a(0x364)])==null?'':_0x3d9c74;}}),M(_0x3d85e5[_0x28f6e9(0xe8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x3e56df=>_0x3e56df==null||_0x3e56df===''?null:String(_0x3e56df),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),M(_0x3d85e5[_0x28f6e9(0x23f)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x23c9b8=>Array['isArray'](_0x23c9b8)?_0x23c9b8[_0x28f6e9(0x187)](String):_0x23c9b8==null?[]:[String(_0x23c9b8)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x28f6e9(0xce)}}),'createDefaultValue':_0x47157b=>{var _0x334c7f;return(_0x334c7f=_0x47157b['defaultValue'])==null?[]:_0x334c7f;}}),M(_0x3d85e5[_0x28f6e9(0x224)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x28f6e9(0x1b0)}),'validate':Pt}),M(_0x3d85e5[_0x28f6e9(0xe6)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Mt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x28f6e9(0xcb)}),'createDefaultValue':_0x2ca215=>{const _0xa45678=_0x28f6e9;var _0x578a07;return(_0x578a07=_0x2ca215[_0xa45678(0x364)])==null?[]:_0x578a07;},'validate':Ft}),M(_0x3d85e5[_0x28f6e9(0x299)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xfe19a5=>k(_0xfe19a5),{'createDefaultConfig':()=>jt(),'validate':It}),M(_0x3d85e5['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x519a09=>_0x519a09==null?[]:Array['isArray'](_0x519a09)?_0x519a09:[_0x519a09],{'createDefaultValue':_0x2d4479=>{const _0x325be4=_0x28f6e9;var _0x470193;return(_0x470193=_0x2d4479[_0x325be4(0x364)])==null?[]:_0x470193;}}),M(_0x3d85e5[_0x28f6e9(0x355)],{},_0x10a8d6=>_0x10a8d6==null||_0x10a8d6===''?null:Number(_0x10a8d6),{'createDefaultConfig':()=>At(),'validate':Lt}),M(_0x3d85e5['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3a4aef=>_0x3a4aef===!0x0||_0x3a4aef===_0x28f6e9(0x25f)||_0x3a4aef===0x1||_0x3a4aef==='1',{'createDefaultConfig':()=>({'icon':_0x28f6e9(0x150),'color':_0x28f6e9(0x188)}),'createDefaultValue':_0x422cf0=>{const _0x1e359b=_0x28f6e9;var _0x1a35ce;return(_0x1a35ce=_0x422cf0[_0x1e359b(0x364)])==null?!0x1:_0x1a35ce;},'validate':_0xf38a0f=>typeof _0xf38a0f==_0x28f6e9(0x288)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x28f6e9(0xf8)}}),M(_0x3d85e5['Link'],{'supportsRelation':!0x0},zt,{'createDefaultConfig':()=>({'placeholder':_0x28f6e9(0x1ea)}),'toPlainText':_0x14e1ea=>Bt(_0x14e1ea),'fromPlainText':_0x44d9d8=>zt(_0x44d9d8)}),M(_0x3d85e5[_0x28f6e9(0xd8)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0xf3)],{}),M(_0x3d85e5[_0x28f6e9(0x361)],{}),M(_0x3d85e5['Button'],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),M(_0x3d85e5['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x28f6e9(0x15c)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0x1b2)],{'usableAsTitle':!0x0},_0x39bcd6=>_0x39bcd6==null?null:String(_0x39bcd6)[_0x28f6e9(0x304)](),{'validate':_0x43aaa4=>_0x43aaa4==null||_0x43aaa4===''||/^\+?[0-9 ()-]{6,20}$/[_0x28f6e9(0xbd)](String(_0x43aaa4))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x28f6e9(0x2fd)}}),M(_0x3d85e5[_0x28f6e9(0x278)],{'usableAsTitle':!0x0},_0x401891=>_0x401891==null?null:String(_0x401891)['trim'](),{'validate':_0x373058=>_0x373058==null||_0x373058===''||Ht(String(_0x373058))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),M(_0x3d85e5[_0x28f6e9(0x11a)],{'usableAsTitle':!0x0}),M(_0x3d85e5[_0x28f6e9(0x22c)],{'usableAsTitle':!0x0}),M(_0x3d85e5[_0x28f6e9(0x19a)],{'usableAsGanttProgress':!0x0},_0x143ec=>_0x143ec==null||_0x143ec===''?null:Number(_0x143ec),{'createDefaultConfig':()=>({'format':_0x28f6e9(0x10a),'decimalPlaces':0x0,'color':_0x28f6e9(0x35f),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x35ec93,_0x35f3be)=>Rt(_0x35ec93,_0x35f3be,_0x28f6e9(0x350))}),M(_0x3d85e5[_0x28f6e9(0x237)],{},_0xb5135d=>_0xb5135d==null||_0xb5135d===''?null:Number(_0xb5135d),{'createDefaultConfig':()=>({...At(),'currencySymbol':'$'}),'validate':Lt}),M(_0x3d85e5[_0x28f6e9(0x336)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3cbcd0=>_0x3cbcd0==null||_0x3cbcd0===''?null:Number(_0x3cbcd0),{'createDefaultConfig':()=>({'icon':_0x28f6e9(0x1df),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x480b21,_0x1abcfe)=>Rt(_0x480b21,_0x1abcfe,_0x28f6e9(0xde))}),M(_0x3d85e5[_0x28f6e9(0x33f)],{'supportsRelation':!0x0}),M(_0x3d85e5[_0x28f6e9(0x35d)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),M(_0x3d85e5['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x4db965=>_0x4db965==null?null:String(_0x4db965),{'createDefaultConfig':()=>({'provider':_0x28f6e9(0x292)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0x229)],{'editable':!0x1,'groupable':!0x0},_0x24a6aa=>_0x24a6aa==null?null:String(_0x24a6aa),{'createDefaultConfig':()=>({'provider':_0x28f6e9(0x292)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0xe5)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5b29e4=>k(_0x5b29e4),{'createDefaultConfig':()=>jt(),'createDefaultValue':()=>null,'validate':It}),M(_0x3d85e5['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4f738e=>k(_0x4f738e),{'createDefaultConfig':()=>jt(),'createDefaultValue':()=>null,'validate':It}),M(_0x3d85e5['Summary'],{})];}function At(){const _0x4fdb2b=_0x16d78d;return{'pattern':_0x4fdb2b(0x14d),'decimalPlaces':0x2,'separatorStyle':_0x4fdb2b(0x2fb),'useThousands':!0x0,'abbreviation':_0x4fdb2b(0x353),'allowNegative':!0x0};}function jt(){const _0x3167fd=_0x16d78d;return{'locale':_0x3167fd(0x267),'pattern':_0x3167fd(0xf2),'includeTime':!0x1,'hourCycle':_0x3167fd(0x19d),'defaultMode':'none'};}function Mt(_0x1f7c7d){const _0x3f9d0f=_0x16d78d;return _0x1f7c7d==null||_0x1f7c7d===''?[]:Array[_0x3f9d0f(0x352)](_0x1f7c7d)?_0x1f7c7d[_0x3f9d0f(0x187)](String):[String(_0x1f7c7d)];}function Nt(_0x3025af,_0xaded11){const _0x3b1a18=_0x16d78d;var _0x2f0d47;return _0x3025af==null||_0x3025af===''?_0xaded11[_0x3b1a18(0x2ad)][_0x3b1a18(0x1ce)]===!0x0?[]:null:_0xaded11[_0x3b1a18(0x2ad)]['allowMultiple']===!0x0?Array[_0x3b1a18(0x352)](_0x3025af)?_0x3025af[_0x3b1a18(0x187)](String):[String(_0x3025af)]:Array['isArray'](_0x3025af)?String((_0x2f0d47=_0x3025af[0x0])==null?'':_0x2f0d47)||null:String(_0x3025af);}function Pt(_0x307537,_0x3fa503){const _0x4856d8=_0x16d78d;return _0x3fa503['config'][_0x4856d8(0x1ce)]===!0x0?Ft(_0x307537):_0x307537==null||_0x307537===''||typeof _0x307537=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4856d8(0x1c1)};}function Ft(_0x522eb3){const _0x5e1ef2=_0x16d78d;return _0x522eb3==null||Array['isArray'](_0x522eb3)&&_0x522eb3[_0x5e1ef2(0x324)](_0x2c2bc2=>typeof _0x2c2bc2=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5e1ef2(0x376)};}function It(_0x255a27){const _0x81c4b2=_0x16d78d;return _0x255a27==null||typeof _0x255a27==_0x81c4b2(0x12e)&&Number['isFinite'](_0x255a27)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function Lt(_0x70fd8a,_0x5657a0){const _0x4a4516=_0x16d78d;return _0x70fd8a==null||_0x70fd8a===''?{'valid':!0x0}:typeof _0x70fd8a!='number'||!Number['isFinite'](_0x70fd8a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x5657a0[_0x4a4516(0x2ad)][_0x4a4516(0x280)]===!0x1&&_0x70fd8a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function Rt(_0x4c8db2,_0x244109,_0x5d455b){const _0x2ec8a8=_0x16d78d;var _0x871474,_0x59460e,_0x36112e,_0x45373e;let _0x5e463d=Lt(_0x4c8db2,_0x244109);if(!_0x5e463d[_0x2ec8a8(0x20e)]||_0x4c8db2==null||_0x4c8db2==='')return _0x5e463d;let _0x5576f8=Number((_0x871474=(_0x59460e=_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0x252)])==null?_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0xd9)]:_0x59460e)==null?0x0:_0x871474),_0x4f1cdd=Number((_0x36112e=(_0x45373e=_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0x2f9)])==null?_0x244109[_0x2ec8a8(0x2ad)]['end']:_0x45373e)==null?0x64:_0x36112e),_0xc2a693=Number(_0x4c8db2);return _0xc2a693>=_0x5576f8&&_0xc2a693<=_0x4f1cdd?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5d455b};}function zt(_0x279049){const _0x24ff4f=_0x16d78d;if(_0x279049==null||_0x279049==='')return null;if(typeof _0x279049==_0x24ff4f(0x1ae)&&!Array['isArray'](_0x279049)){let _0x3d80aa=_0x279049,_0x48af9b=typeof _0x3d80aa['text']==_0x24ff4f(0xc9)?_0x3d80aa['text'][_0x24ff4f(0x304)]():'',_0x47ea71=typeof _0x3d80aa[_0x24ff4f(0x190)]==_0x24ff4f(0xc9)?_0x3d80aa[_0x24ff4f(0x190)][_0x24ff4f(0x304)]():'',_0x2a66b9=Vt(_0x47ea71||_0x48af9b);return _0x2a66b9?{'text':_0x48af9b||_0x47ea71||_0x2a66b9,'url':_0x2a66b9}:null;}let _0x35c95e=String(_0x279049)[_0x24ff4f(0x304)](),_0xc69af7=Vt(_0x35c95e);return _0xc69af7?{'text':_0x35c95e,'url':_0xc69af7}:null;}function Bt(_0x185e3c){const _0x4a90e3=_0x16d78d;if(_0x185e3c==null)return'';if(typeof _0x185e3c==_0x4a90e3(0x1ae)&&!Array[_0x4a90e3(0x352)](_0x185e3c)){let _0x405d67=_0x185e3c;return String(_0x405d67['text']||_0x405d67[_0x4a90e3(0x190)]||'');}return String(_0x185e3c);}function Vt(_0x48844f){const _0x24b5d3=_0x16d78d;let _0x1142c2=_0x48844f[_0x24b5d3(0x304)]();return _0x1142c2?/^[a-z][a-z\d+.-]*:\/\//i['test'](_0x1142c2)?_0x1142c2:_0x24b5d3(0x21a)+_0x1142c2:'';}function Ht(_0x558e85){const _0x194ff5=_0x16d78d;let _0x599042=_0x558e85[_0x194ff5(0x2f2)]('@');if(_0x599042<=0x0||_0x599042!==_0x558e85[_0x194ff5(0x1b7)]('@'))return!0x1;let _0x2a09b6=_0x558e85[_0x194ff5(0x1b8)](_0x599042+0x1);return _0x2a09b6[_0x194ff5(0x1d9)]('.')&&!_0x558e85[_0x194ff5(0x1d9)]('\x20')&&!_0x2a09b6[_0x194ff5(0x195)]('.')&&!_0x2a09b6[_0x194ff5(0x10b)]('.');}const N={'table':_0x419b9f=>[_0x16d78d(0x1f7),_0x419b9f],'field':(_0x2859b1,_0x47a727)=>[_0x16d78d(0x1f7),_0x2859b1,'fields',_0x47a727],'fieldOrder':(_0x4456ab,_0x27ee7f)=>[_0x16d78d(0x1f7),_0x4456ab,_0x16d78d(0x301),_0x27ee7f],'record':(_0x5686f1,_0x199605)=>[_0x16d78d(0x1f7),_0x5686f1,_0x16d78d(0x26d),_0x199605],'cell':(_0x5e4e83,_0x372ebf,_0x1cea9e)=>[_0x16d78d(0x1f7),_0x5e4e83,_0x16d78d(0x26d),_0x372ebf,_0x16d78d(0x10f),_0x1cea9e],'cellData':(_0xe3788d,_0x254925,_0x1e444e)=>[_0x16d78d(0x1f7),_0xe3788d,'cellData',String(_0x254925),String(_0x1e444e)],'attachmentSet':(_0x2fbfba,_0x5b33f5)=>[_0x16d78d(0x1f7),_0x2fbfba,_0x16d78d(0x326),_0x16d78d(0xb3),_0x5b33f5],'attachment':(_0x1a15c4,_0x282803)=>[_0x16d78d(0x1f7),_0x1a15c4,_0x16d78d(0x326),'attachments',_0x282803],'view':(_0x20eaa1,_0x4ad789)=>[_0x16d78d(0x1f7),_0x20eaa1,'views',_0x4ad789],'viewFieldHidden':(_0x1b316b,_0x43caf4,_0x51679f)=>[_0x16d78d(0x1f7),_0x1b316b,_0x16d78d(0x2b6),_0x43caf4,'fieldSettings',_0x51679f,_0x16d78d(0x2ef)]};function P(_0x27a64e){const _0x726bc6=_0x16d78d;return _0x27a64e[_0x726bc6(0xbf)]((_0x3e667f,_0x42bfac)=>_0x3e667f==null?_0x42bfac:_0x579b08['type'][_0x726bc6(0xf7)](_0x3e667f,_0x42bfac),void 0x0);}var F=class{[_0x16d78d(0xf5)](_0x149a0c,_0xbbe9,_0x13532e=_0x149a0c[_0x16d78d(0x1f3)]['length']){const _0x20a4f1=_0x16d78d;return P([_0x579b08[_0x20a4f1(0x2ac)](N[_0x20a4f1(0xc2)](_0xbbe9['id']),_0xbbe9),_0x579b08[_0x20a4f1(0x2ac)]([_0x20a4f1(0x1f3),_0x13532e],_0xbbe9['id'])]);}[_0x16d78d(0x117)](_0x3700c5,_0x17bcfb,_0x33a39d){const _0x16e034=_0x16d78d;let _0x2959e5=_0x3700c5[_0x16e034(0x1f7)][_0x17bcfb][_0x16e034(0x14c)],_0x388215=Object[_0x16e034(0x10f)](_0x3700c5[_0x16e034(0x1f7)])[_0x16e034(0x1cc)](_0x37e1c3=>Object['values'](_0x37e1c3[_0x16e034(0x30b)])[_0x16e034(0x1cc)](_0x53fd48=>{const _0x2b8934=_0x16e034;var _0x13f936,_0x46a1b1;if(_0x53fd48['type']!==_0x3d85e5['Formula'])return[];let _0x2d53db=String((_0x13f936=(_0x46a1b1=_0x53fd48[_0x2b8934(0x2ad)])==null?void 0x0:_0x46a1b1['formula'])==null?'':_0x13f936),_0x16a8fb=Yt(_0x2d53db,_0x2959e5,_0x33a39d);return _0x16a8fb===_0x2d53db?[]:[this['updateField'](_0x3700c5,_0x37e1c3['id'],_0x53fd48['id'],{'config':{..._0x53fd48['config'],'formula':_0x16a8fb}})];}));return P([_0x579b08[_0x16e034(0x362)]([...N[_0x16e034(0xc2)](_0x17bcfb),_0x16e034(0x14c)],_0x2959e5,_0x33a39d),..._0x388215]);}[_0x16d78d(0x21f)](_0x24c305,_0x4ba933){const _0x44ab35=_0x16d78d;let _0x5aaa85=_0x24c305[_0x44ab35(0x1f7)][_0x4ba933],_0x5d1ada=_0x24c305[_0x44ab35(0x1f3)][_0x44ab35(0x2f2)](_0x4ba933);return P([_0x579b08[_0x44ab35(0x161)](N[_0x44ab35(0xc2)](_0x4ba933),_0x5aaa85),_0x579b08[_0x44ab35(0x161)]([_0x44ab35(0x1f3),_0x5d1ada],_0x4ba933)]);}[_0x16d78d(0x1fe)](_0x691b69,_0x4d6273,_0x28e34e){const _0x5bdee4=_0x16d78d;return this[_0x5bdee4(0x2b3)](_0x691b69,_0x4d6273,[_0x28e34e]);}[_0x16d78d(0x2b3)](_0x2b0e6e,_0x33e3f6,_0x2d7c74){const _0x2f999e=_0x16d78d;let _0x1acb3e=_0x2b0e6e[_0x2f999e(0x1f7)][_0x33e3f6],_0x19aedd=_0x2d7c74[_0x2f999e(0x33b)](_0xa32e2d=>_0xa32e2d&&!_0x1acb3e[_0x2f999e(0x26d)][_0xa32e2d['id']]);return _0x19aedd['length']?P([..._0x19aedd[_0x2f999e(0x187)](_0x2abc1d=>_0x579b08[_0x2f999e(0x2ac)](N[_0x2f999e(0x306)](_0x33e3f6,_0x2abc1d['id']),_0x2abc1d)),this[_0x2f999e(0x2da)](_0x2b0e6e,_0x33e3f6,_0x19aedd)]):_0x579b08[_0x2f999e(0x362)]([...N['table'](_0x33e3f6),'records'],_0x1acb3e[_0x2f999e(0x26d)],_0x1acb3e['records']);}['deleteRecord'](_0x58f3e7,_0x24463f,_0x460adc){const _0x5b7304=_0x16d78d;return this[_0x5b7304(0xc8)](_0x58f3e7,_0x24463f,[_0x460adc]);}[_0x16d78d(0xc8)](_0x2f7ead,_0x1104dc,_0x58c281){const _0x23ae4a=_0x16d78d;let _0x2bde64=_0x2f7ead[_0x23ae4a(0x1f7)][_0x1104dc],_0x55faf5=Array['from'](new Set(_0x58c281))[_0x23ae4a(0x33b)](_0x2c7a31=>_0x2bde64['records'][_0x2c7a31]);if(!_0x55faf5[_0x23ae4a(0x1ee)])return _0x579b08[_0x23ae4a(0x362)]([...N['table'](_0x1104dc),_0x23ae4a(0x26d)],_0x2bde64[_0x23ae4a(0x26d)],_0x2bde64[_0x23ae4a(0x26d)]);let _0x5b9ac4=new Set(_0x55faf5),_0xc40fba=_0x55faf5[_0x23ae4a(0x187)](_0x1eb6d1=>{const _0x2244f0=_0x23ae4a;var _0x18acd5,_0x211fa4;return{'recordId':_0x1eb6d1,'index':(_0x18acd5=(_0x211fa4=_0x2bde64[_0x2244f0(0x158)])==null?void 0x0:_0x211fa4[_0x2244f0(0x2f2)](_0x1eb6d1))==null?-0x1:_0x18acd5};})[_0x23ae4a(0x33b)](_0x62828=>_0x62828[_0x23ae4a(0x1f6)]>=0x0)[_0x23ae4a(0x194)]((_0x1df68f,_0x4a8ae5)=>_0x4a8ae5[_0x23ae4a(0x1f6)]-_0x1df68f[_0x23ae4a(0x1f6)]);return P([..._0x55faf5[_0x23ae4a(0x187)](_0x72c934=>_0x579b08[_0x23ae4a(0x161)](N[_0x23ae4a(0x306)](_0x1104dc,_0x72c934),_0x2bde64['records'][_0x72c934])),..._0xc40fba['map'](({recordId:_0x40f6c4,index:_0x1b2556})=>_0x579b08[_0x23ae4a(0x161)](['tables',_0x1104dc,_0x23ae4a(0x158),_0x1b2556],_0x40f6c4)),...this['_deleteAttachmentResources'](_0x2bde64,_0x1104dc,_0x339985=>{const _0x5526a2=_0x23ae4a;let _0x18e6df=_0x339985[_0x5526a2(0x1b8)](_0x339985[_0x5526a2(0x1b7)]('\x1f')+0x1);return _0x5b9ac4[_0x5526a2(0x277)](_0x18e6df);})]);}[_0x16d78d(0x2c0)](_0x5a6169,_0x4da523,_0x39b7ea,_0x2f315d){const _0x5ed49f=_0x16d78d;return this[_0x5ed49f(0x1fe)](_0x5a6169,_0x4da523,{..._0x2f315d,'values':{..._0x5a6169[_0x5ed49f(0x1f7)][_0x4da523]['records'][_0x39b7ea][_0x5ed49f(0x10f)],..._0x2f315d[_0x5ed49f(0x10f)]}});}[_0x16d78d(0x177)](_0x35e743,_0x551e31,_0x38c70c,_0x4eb1cf){const _0x466463=_0x16d78d;let _0x2d9cbc=_0x35e743[_0x466463(0x1f7)][_0x551e31],_0x591512=[...N['record'](_0x551e31,_0x38c70c),_0x466463(0x266)],_0x42b4fc=Object[_0x466463(0x10f)](_0x2d9cbc[_0x466463(0x26d)])[_0x466463(0x187)](_0x1fccf4=>_0x1fccf4['id']===_0x38c70c?{..._0x1fccf4,'orderKey':_0x4eb1cf}:_0x1fccf4)[_0x466463(0x194)]((_0x56b87e,_0x2b7563)=>{const _0x42ddca=_0x466463;var _0x970ecc,_0x4b9d3a;return String((_0x970ecc=_0x56b87e['orderKey'])==null?_0x56b87e['id']:_0x970ecc)[_0x42ddca(0x153)](String((_0x4b9d3a=_0x2b7563['orderKey'])==null?_0x2b7563['id']:_0x4b9d3a));})[_0x466463(0x187)](_0x5d7305=>_0x5d7305['id']),_0x5ef2e0=[...N[_0x466463(0xc2)](_0x551e31),'recordOrder'];return P([_0x579b08['replaceOp'](_0x591512,_0x2d9cbc[_0x466463(0x26d)][_0x38c70c]['orderKey'],_0x4eb1cf),_0x2d9cbc[_0x466463(0x158)]?_0x579b08[_0x466463(0x362)](_0x5ef2e0,_0x2d9cbc[_0x466463(0x158)],_0x42b4fc):_0x579b08['insertOp'](_0x5ef2e0,_0x42b4fc)]);}[_0x16d78d(0x22f)](_0x19c4d6,_0x3b33ff,_0x18da6b,_0x17377b,_0x3134f9){const _0x13d61f=_0x16d78d;var _0x533c27,_0x217729;let _0x2e7017=_0x19c4d6[_0x13d61f(0x1f7)][_0x3b33ff],_0x4ffa16=Ut(_0x2e7017,_0x18da6b,_0x17377b)?_0x2e7017:w(_0x2e7017),_0x12ac6f=(_0x533c27=_0x4ffa16[_0x13d61f(0x34b)])==null?void 0x0:_0x533c27[_0x18da6b],_0x2cdf36=(_0x217729=_0x4ffa16[_0x13d61f(0x32b)])==null?void 0x0:_0x217729[_0x17377b];if(_0x12ac6f==null||_0x2cdf36==null){var _0x2027bc;return this[_0x13d61f(0x2c6)](N[_0x13d61f(0x1aa)](_0x3b33ff,_0x18da6b,_0x17377b),(_0x2027bc=_0x19c4d6['tables'][_0x3b33ff])==null||(_0x2027bc=_0x2027bc[_0x13d61f(0x26d)][_0x18da6b])==null?void 0x0:_0x2027bc[_0x13d61f(0x10f)][_0x17377b],_0x3134f9);}return this['setRangeValues'](_0x19c4d6,_0x3b33ff,[{'row':_0x12ac6f,'col':_0x2cdf36,'value':_0x3134f9}]);}[_0x16d78d(0xb8)](_0x2e80a4,_0x210086,_0x26a912){const _0x1bdfc2=_0x16d78d;let _0x1e4f3e=_0x2e80a4['tables'][_0x210086],_0x39fb24=_0x26a912[_0x1bdfc2(0x324)](_0x42fe04=>Object[_0x1bdfc2(0x33a)](_0x42fe04[_0x1bdfc2(0x10f)])[_0x1bdfc2(0x324)](_0x528eb7=>Ut(_0x1e4f3e,_0x42fe04['recordId'],_0x528eb7)))?_0x1e4f3e:w(_0x1e4f3e),_0x539ca7=_0x26a912[_0x1bdfc2(0x1cc)](_0x41e014=>Object[_0x1bdfc2(0x1d7)](_0x41e014[_0x1bdfc2(0x10f)])['flatMap'](([_0x228b2e,_0x1868b6])=>{const _0x582398=_0x1bdfc2;var _0x44c8a6,_0x49c6bf;let _0x1694fa=(_0x44c8a6=_0x39fb24[_0x582398(0x34b)])==null?void 0x0:_0x44c8a6[_0x41e014[_0x582398(0x36c)]],_0x2c5574=(_0x49c6bf=_0x39fb24['colIndex'])==null?void 0x0:_0x49c6bf[_0x228b2e];return _0x1694fa==null||_0x2c5574==null?[]:[{'row':_0x1694fa,'col':_0x2c5574,'value':_0x1868b6}];})),_0xa9f0ba=_0x26a912['flatMap'](_0xdecde6=>{const _0x410f0e=_0x1bdfc2;var _0x4578b9;return Object[_0x410f0e(0x1d7)]((_0x4578b9=_0xdecde6[_0x410f0e(0x323)])==null?{}:_0x4578b9)['map'](([_0x4ed3fd,_0x872f10])=>{const _0x23fca1=_0x410f0e;var _0x152ab3;let _0x1c8b3c=[...N[_0x23fca1(0x306)](_0x210086,_0xdecde6[_0x23fca1(0x36c)]),_0x4ed3fd],_0x5157ac=(_0x152ab3=_0x2e80a4['tables'][_0x210086])==null||(_0x152ab3=_0x152ab3[_0x23fca1(0x26d)][_0xdecde6[_0x23fca1(0x36c)]])==null?void 0x0:_0x152ab3[_0x4ed3fd];return this[_0x23fca1(0x2c6)](_0x1c8b3c,_0x5157ac,_0x872f10);});});return P([this['setRangeValues'](_0x2e80a4,_0x210086,_0x539ca7),..._0xa9f0ba]);}[_0x16d78d(0x1b4)](_0x1cd513,_0x2120c7,_0x1241c9){const _0x3b6ea7=_0x16d78d;let _0x35b701=_0x1cd513[_0x3b6ea7(0x1f7)][_0x2120c7],_0x4c2ed0=_0x1241c9[_0x3b6ea7(0x324)](_0x6456c4=>Wt(_0x35b701,_0x6456c4[_0x3b6ea7(0x2ed)],_0x6456c4[_0x3b6ea7(0x1da)]))?_0x35b701:w(_0x35b701),_0x4ae56f=_0x1241c9['flatMap'](_0x4ca668=>{const _0x4c403f=_0x3b6ea7;var _0xf2a85e,_0x528da4,_0x2fb89d,_0x3245ae;let _0x203472=(_0xf2a85e=_0x4c2ed0['colId'])==null?void 0x0:_0xf2a85e[_0x4ca668[_0x4c403f(0x1da)]],_0x542f2b=(_0x528da4=_0x4c2ed0['rowId'])==null?void 0x0:_0x528da4[_0x4ca668[_0x4c403f(0x2ed)]],_0x55f53c=_0x203472?_0x4c2ed0['fields'][_0x203472]:void 0x0,_0x51ad94=Ee(_0x4ca668[_0x4c403f(0x2e7)],_0x55f53c),_0x9601d1=(_0x2fb89d=_0x4c2ed0['cellData'])==null||(_0x2fb89d=_0x2fb89d[_0x4ca668[_0x4c403f(0x2ed)]])==null?void 0x0:_0x2fb89d[_0x4ca668['col']],_0x17ba6f=this[_0x4c403f(0x2c6)](N[_0x4c403f(0x33e)](_0x2120c7,_0x4ca668[_0x4c403f(0x2ed)],_0x4ca668[_0x4c403f(0x1da)]),_0x9601d1,_0x51ad94);if(!_0x203472||!_0x542f2b)return[_0x17ba6f];let _0x18d49e=(_0x3245ae=_0x4c2ed0[_0x4c403f(0x26d)][_0x542f2b])==null?void 0x0:_0x3245ae[_0x4c403f(0x10f)][_0x203472],_0x293d69=(_0x55f53c==null?void 0x0:_0x55f53c[_0x4c403f(0x14a)])===_0x3d85e5['Attachment']?T(_0x4ca668[_0x4c403f(0x2e7)]):ke(_0x4ca668[_0x4c403f(0x2e7)],_0x51ad94,_0x55f53c,_0x4c2ed0,_0x542f2b),_0x588a22=[_0x17ba6f,this[_0x4c403f(0x2c6)](N[_0x4c403f(0x1aa)](_0x2120c7,_0x542f2b,_0x203472),_0x18d49e,_0x293d69)];if((_0x55f53c==null?void 0x0:_0x55f53c['type'])!==_0x3d85e5['Attachment'])return _0x588a22;let _0x2c9b38=this[_0x4c403f(0x311)](_0x4c2ed0,_0x2120c7,_0x542f2b,_0x203472,_0x293d69);return[..._0x588a22,..._0x2c9b38];});return _0x4ae56f[_0x3b6ea7(0x1ee)]?P(_0x4ae56f):_0x579b08[_0x3b6ea7(0x362)]([_0x3b6ea7(0x1f7),_0x2120c7,_0x3b6ea7(0x33e)],_0x4c2ed0[_0x3b6ea7(0x33e)],_0x4c2ed0[_0x3b6ea7(0x33e)]);}[_0x16d78d(0x29c)](_0x55d456,_0x10a16f,_0x4a2de3){const _0x4dc9d5=_0x16d78d;var _0x7db480,_0x2dc347;let _0x33fcd6=_0x55d456[_0x4dc9d5(0x1f7)][_0x10a16f];if(_0x33fcd6['fields'][_0x4a2de3[_0x4dc9d5(0x30d)]['id']]||_0x33fcd6[_0x4dc9d5(0x301)]['includes'](_0x4a2de3[_0x4dc9d5(0x30d)]['id']))return _0x579b08[_0x4dc9d5(0x362)]([_0x4dc9d5(0x1f7),_0x10a16f,_0x4dc9d5(0x301)],_0x33fcd6['fieldOrder'],_0x33fcd6[_0x4dc9d5(0x301)]);let _0x534ef3=(_0x7db480=_0x4a2de3['index'])==null?_0x33fcd6[_0x4dc9d5(0x301)][_0x4dc9d5(0x1ee)]:_0x7db480,_0x37a314=Object[_0x4dc9d5(0x10f)]((_0x2dc347=_0x33fcd6[_0x4dc9d5(0x2b6)])==null?{}:_0x2dc347)['flatMap'](_0xdb4a75=>{const _0x1a0238=_0x4dc9d5;var _0x1f74a9,_0x2305fb;if(!_0xdb4a75[_0x1a0238(0x301)]||_0xdb4a75['fieldOrder'][_0x1a0238(0x1d9)](_0x4a2de3[_0x1a0238(0x30d)]['id']))return[];let _0x32fbdf=Jt((_0x1f74a9=(_0x2305fb=_0x4a2de3['viewIndexes'])==null?void 0x0:_0x2305fb[_0xdb4a75['id']])==null?_0x534ef3:_0x1f74a9,_0xdb4a75[_0x1a0238(0x301)]['length']);return[_0x579b08[_0x1a0238(0x2ac)]([...N[_0x1a0238(0x365)](_0x10a16f,_0xdb4a75['id']),'fieldOrder',_0x32fbdf],_0x4a2de3[_0x1a0238(0x30d)]['id'])];});return P([_0x579b08[_0x4dc9d5(0x2ac)](N[_0x4dc9d5(0x30d)](_0x10a16f,_0x4a2de3[_0x4dc9d5(0x30d)]['id']),_0x4a2de3[_0x4dc9d5(0x30d)]),_0x579b08[_0x4dc9d5(0x2ac)](N[_0x4dc9d5(0x301)](_0x10a16f,_0x534ef3),_0x4a2de3[_0x4dc9d5(0x30d)]['id']),..._0x37a314]);}[_0x16d78d(0x2ff)](_0x99aac3,_0x24b2a9,_0x2d01f,_0x259a23){const _0x2f81be=_0x16d78d;var _0x2ab91d,_0x292431;let _0x1932dd=_0x99aac3[_0x2f81be(0x1f7)][_0x24b2a9];if(!_0x1932dd[_0x2f81be(0x30b)][_0x2d01f]||_0x1932dd[_0x2f81be(0x30b)][_0x259a23[_0x2f81be(0x30d)]['id']]||_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x1d9)](_0x259a23[_0x2f81be(0x30d)]['id']))return _0x579b08[_0x2f81be(0x362)]([_0x2f81be(0x1f7),_0x24b2a9,_0x2f81be(0x301)],_0x1932dd[_0x2f81be(0x301)],_0x1932dd['fieldOrder']);let _0x5b5177=(_0x2ab91d=_0x259a23['index'])==null?_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x2f2)](_0x2d01f)+0x1:_0x2ab91d,_0x19b78f=_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x33b)](_0xa25d7e=>_0xa25d7e!==_0x259a23['field']['id']),_0x3a05ef=Kt(_0x19b78f,_0x259a23['field']['id'],_0x5b5177),_0x522eee=Object[_0x2f81be(0x10f)]((_0x292431=_0x1932dd['views'])==null?{}:_0x292431)['flatMap'](_0x327ade=>{const _0x82e797=_0x2f81be;var _0x231c7d,_0x979c20,_0x1165f3,_0x230883,_0x4225da;let _0x5e1913=(_0x231c7d=_0x327ade['fieldOrder'])!=null&&_0x231c7d[_0x82e797(0x1ee)]?_0x327ade['fieldOrder']:_0x19b78f;if(_0x5e1913['includes'](_0x259a23[_0x82e797(0x30d)]['id']))return[];let _0x51da3b=Kt(_0x5e1913,_0x259a23[_0x82e797(0x30d)]['id'],(_0x979c20=(_0x1165f3=_0x259a23[_0x82e797(0x2e3)])==null?void 0x0:_0x1165f3[_0x327ade['id']])==null?_0x5b5177:_0x979c20),_0x55f7da=(_0x230883=_0x327ade['fieldSettings'])==null?void 0x0:_0x230883[_0x2d01f];return[this[_0x82e797(0x2c6)]([...N[_0x82e797(0x365)](_0x24b2a9,_0x327ade['id']),_0x82e797(0x301)],_0x327ade[_0x82e797(0x301)],_0x51da3b),..._0x55f7da?[this[_0x82e797(0x2c6)]([...N['view'](_0x24b2a9,_0x327ade['id']),'fieldSettings',_0x259a23[_0x82e797(0x30d)]['id']],(_0x4225da=_0x327ade['fieldSettings'])==null?void 0x0:_0x4225da[_0x259a23[_0x82e797(0x30d)]['id']],_0x55f7da)]:[]];}),_0xcf88be=Object['values'](_0x1932dd[_0x2f81be(0x26d)])[_0x2f81be(0x33b)](_0x5ed2a3=>Object[_0x2f81be(0x1de)][_0x2f81be(0x138)][_0x2f81be(0x16c)](_0x5ed2a3[_0x2f81be(0x10f)],_0x2d01f))['map'](_0x48b3c9=>this[_0x2f81be(0x2c6)](N[_0x2f81be(0x1aa)](_0x24b2a9,_0x48b3c9['id'],_0x259a23['field']['id']),_0x48b3c9[_0x2f81be(0x10f)][_0x259a23[_0x2f81be(0x30d)]['id']],_0x48b3c9[_0x2f81be(0x10f)][_0x2d01f]));return P([_0x579b08[_0x2f81be(0x2ac)](N[_0x2f81be(0x30d)](_0x24b2a9,_0x259a23[_0x2f81be(0x30d)]['id']),_0x259a23[_0x2f81be(0x30d)]),_0x579b08[_0x2f81be(0x362)]([_0x2f81be(0x1f7),_0x24b2a9,'fieldOrder'],_0x1932dd['fieldOrder'],_0x3a05ef),..._0x522eee,..._0xcf88be]);}[_0x16d78d(0x107)](_0x21dbd2,_0x498ff3,_0x285a78,_0x5cf8a3){const _0x1956f7=_0x16d78d;let _0x4bab32=_0x21dbd2[_0x1956f7(0x1f7)][_0x498ff3][_0x1956f7(0x30b)][_0x285a78],_0x19dc32={..._0x4bab32,..._0x5cf8a3};Object[_0x1956f7(0x33a)](_0x5cf8a3)[_0x1956f7(0x165)](_0x567926=>{_0x5cf8a3[_0x567926]===void 0x0&&delete _0x19dc32[_0x567926];});let _0x18cbcb=_0x579b08[_0x1956f7(0x362)](N[_0x1956f7(0x30d)](_0x498ff3,_0x285a78),_0x4bab32,_0x19dc32);return _0x19dc32[_0x1956f7(0x14a)]===_0x3d85e5[_0x1956f7(0xd8)]?P([_0x18cbcb,...this['_setFormulaFieldCells'](_0x21dbd2,_0x498ff3,_0x285a78,_0x19dc32)]):_0x18cbcb;}[_0x16d78d(0xd0)](_0x5c1c23,_0x253ed6,_0x220b35,_0x500503){const _0x34f77b=_0x16d78d;return this[_0x34f77b(0x107)](_0x5c1c23,_0x253ed6,_0x220b35,_0x500503);}['deleteField'](_0x290171,_0x300584,_0x5dc179){const _0xa92c1a=_0x16d78d;let _0x1a63bf=_0x290171[_0xa92c1a(0x1f7)][_0x300584];if(!(_0x1a63bf!=null&&_0x1a63bf[_0xa92c1a(0x30b)][_0x5dc179])||_0x1a63bf[_0xa92c1a(0xaf)]===_0x5dc179)return _0x579b08[_0xa92c1a(0x362)]([_0xa92c1a(0x1f7),_0x300584,_0xa92c1a(0x301)],_0x1a63bf==null?void 0x0:_0x1a63bf['fieldOrder'],_0x1a63bf==null?void 0x0:_0x1a63bf[_0xa92c1a(0x301)]);let _0x45df68=_0x1a63bf['fieldOrder']['indexOf'](_0x5dc179),_0x3a00e9=Object[_0xa92c1a(0x10f)](_0x1a63bf[_0xa92c1a(0x2b6)])['flatMap'](_0x55e031=>{const _0x59fa7d=_0xa92c1a;var _0x5ced50,_0x72bfcc,_0x12fe36,_0x38b5ef,_0x3fb0bd,_0x1668a2,_0x2ec907,_0x55ce0a;let _0x64301e=[],_0x480585=(_0x5ced50=(_0x72bfcc=_0x55e031[_0x59fa7d(0x301)])==null?void 0x0:_0x72bfcc['indexOf'](_0x5dc179))==null?-0x1:_0x5ced50;_0x480585>=0x0&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x161)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x301),_0x480585],_0x5dc179));let _0x2b8167=(_0x12fe36=_0x55e031[_0x59fa7d(0x35b)])==null?void 0x0:_0x12fe36[_0x5dc179];_0x2b8167!==void 0x0&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x161)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x35b),_0x5dc179],_0x2b8167));let _0xcd2d90=_0x55e031['filter']?{..._0x55e031[_0x59fa7d(0x33b)],'conditions':_0x55e031[_0x59fa7d(0x33b)][_0x59fa7d(0xcc)][_0x59fa7d(0x33b)](_0x46e021=>_0x46e021['fieldId']!==_0x5dc179)}:_0x55e031['filter'];_0xcd2d90&&_0xcd2d90[_0x59fa7d(0xcc)][_0x59fa7d(0x1ee)]!==((_0x38b5ef=_0x55e031[_0x59fa7d(0x33b)])==null?void 0x0:_0x38b5ef['conditions'][_0x59fa7d(0x1ee)])&&_0x64301e[_0x59fa7d(0xcd)](this[_0x59fa7d(0x2c6)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x33b)],_0x55e031[_0x59fa7d(0x33b)],_0xcd2d90));let _0x4f9ef9=(_0x3fb0bd=_0x55e031['sort'])==null?void 0x0:_0x3fb0bd[_0x59fa7d(0x33b)](_0x500dae=>_0x500dae[_0x59fa7d(0x375)]!==_0x5dc179);_0x4f9ef9&&_0x4f9ef9[_0x59fa7d(0x1ee)]!==((_0x1668a2=_0x55e031[_0x59fa7d(0x194)])==null?void 0x0:_0x1668a2[_0x59fa7d(0x1ee)])&&_0x64301e['push'](this['_replaceOptional']([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x194)],_0x55e031['sort'],_0x4f9ef9));let _0x273c4a=(_0x2ec907=_0x55e031['group'])==null?void 0x0:_0x2ec907[_0x59fa7d(0x33b)](_0xb90d67=>_0xb90d67[_0x59fa7d(0x375)]!==_0x5dc179);_0x273c4a&&_0x273c4a['length']!==((_0x55ce0a=_0x55e031[_0x59fa7d(0xcb)])==null?void 0x0:_0x55ce0a['length'])&&_0x64301e['push'](this[_0x59fa7d(0x2c6)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0xcb)],_0x55e031['group'],_0x273c4a));let _0x41a99a=qt(_0x55e031[_0x59fa7d(0x2ad)],_0x5dc179);return JSON['stringify'](_0x41a99a)!==JSON[_0x59fa7d(0x1f5)](_0x55e031[_0x59fa7d(0x2ad)])&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x362)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x2ad)],_0x55e031[_0x59fa7d(0x2ad)],_0x41a99a)),_0x64301e;}),_0x2d747e=Object[_0xa92c1a(0x10f)](_0x1a63bf[_0xa92c1a(0x26d)])[_0xa92c1a(0x1cc)](_0x28bf04=>Object['prototype']['hasOwnProperty'][_0xa92c1a(0x16c)](_0x28bf04[_0xa92c1a(0x10f)],_0x5dc179)?[_0x579b08[_0xa92c1a(0x161)](N['cell'](_0x300584,_0x28bf04['id'],_0x5dc179),_0x28bf04[_0xa92c1a(0x10f)][_0x5dc179])]:[]);return P([_0x579b08[_0xa92c1a(0x161)](N['field'](_0x300584,_0x5dc179),_0x1a63bf[_0xa92c1a(0x30b)][_0x5dc179]),_0x579b08[_0xa92c1a(0x161)](N[_0xa92c1a(0x301)](_0x300584,_0x45df68),_0x5dc179),..._0x3a00e9,..._0x2d747e,...this[_0xa92c1a(0x1d0)](_0x1a63bf,_0x300584,_0x5c1a68=>_0x5c1a68[_0xa92c1a(0x195)](_0x5dc179+'\x1f'))]);}[_0x16d78d(0x186)](_0xec4084,_0x98ab8,_0x205cc5,_0x431f62){const _0x22d296=_0x16d78d;let _0x460093=_0xec4084[_0x22d296(0x1f7)][_0x98ab8][_0x22d296(0x301)],_0x40699f=Gt(_0x460093,_0x205cc5,_0x431f62);return _0x579b08[_0x22d296(0x362)]([_0x22d296(0x1f7),_0x98ab8,_0x22d296(0x301)],_0x460093,_0x40699f);}[_0x16d78d(0x1c4)](_0x187acc,_0x35e674,_0x5e768c,_0x5a16b0=_0x187acc[_0x16d78d(0x1f7)][_0x35e674][_0x16d78d(0x1b1)][_0x16d78d(0x1ee)]){const _0x3e0a0c=_0x16d78d;return P([_0x579b08[_0x3e0a0c(0x2ac)](N[_0x3e0a0c(0x365)](_0x35e674,_0x5e768c['id']),_0x5e768c),_0x579b08['insertOp']([_0x3e0a0c(0x1f7),_0x35e674,_0x3e0a0c(0x1b1),_0x5a16b0],_0x5e768c['id'])]);}['renameView'](_0x5ae1db,_0x137ef6,_0x5043bd,_0x476c5b){const _0x429f17=_0x16d78d;return _0x579b08[_0x429f17(0x362)]([...N[_0x429f17(0x365)](_0x137ef6,_0x5043bd),'name'],_0x5ae1db[_0x429f17(0x1f7)][_0x137ef6][_0x429f17(0x2b6)][_0x5043bd][_0x429f17(0x14c)],_0x476c5b);}['deleteView'](_0x3b2d47,_0x375f12,_0x1f1bb9){const _0x21273a=_0x16d78d;let _0x1f2828=_0x3b2d47[_0x21273a(0x1f7)][_0x375f12],_0x49ddb1=_0x1f2828[_0x21273a(0x2b6)][_0x1f1bb9],_0x43ce87=_0x1f2828[_0x21273a(0x1b1)]['indexOf'](_0x1f1bb9);return P([_0x579b08[_0x21273a(0x161)](N[_0x21273a(0x365)](_0x375f12,_0x1f1bb9),_0x49ddb1),_0x579b08[_0x21273a(0x161)](['tables',_0x375f12,_0x21273a(0x1b1),_0x43ce87],_0x1f1bb9)]);}[_0x16d78d(0x16b)](_0x378ddf,_0x5da152,_0x4d131b,_0x21039f){const _0x5c4cc4=_0x16d78d;let _0x44a74f=_0x378ddf[_0x5c4cc4(0x1f7)][_0x5da152][_0x5c4cc4(0x1b1)],_0x46c18b=Gt(_0x44a74f,_0x4d131b,{'beforeFieldId':_0x21039f[_0x5c4cc4(0x297)],'afterFieldId':_0x21039f[_0x5c4cc4(0x24a)]});return _0x579b08[_0x5c4cc4(0x362)]([_0x5c4cc4(0x1f7),_0x5da152,_0x5c4cc4(0x1b1)],_0x44a74f,_0x46c18b);}[_0x16d78d(0x20c)](_0x2abf7c,_0x45669f,_0x35b25c,_0x55a45f){const _0x122190=_0x16d78d;var _0xa4021c;let _0x34a71d=(_0xa4021c=_0x2abf7c[_0x122190(0x1f7)][_0x45669f][_0x122190(0x2b6)][_0x35b25c]['config'])==null?{}:_0xa4021c,_0x116954={..._0x34a71d,..._0x55a45f};return Object[_0x122190(0x33a)](_0x55a45f)[_0x122190(0x165)](_0x3bfd7c=>{_0x55a45f[_0x3bfd7c]===void 0x0&&delete _0x116954[_0x3bfd7c];}),_0x579b08[_0x122190(0x362)]([...N[_0x122190(0x365)](_0x45669f,_0x35b25c),_0x122190(0x2ad)],_0x34a71d,_0x116954);}['setViewFilter'](_0x4a82f1,_0x1f7df5,_0x33639b,_0x244679){const _0x39ed14=_0x16d78d;return this[_0x39ed14(0x2c6)]([...N[_0x39ed14(0x365)](_0x1f7df5,_0x33639b),_0x39ed14(0x33b)],_0x4a82f1[_0x39ed14(0x1f7)][_0x1f7df5]['views'][_0x33639b][_0x39ed14(0x33b)],_0x244679);}[_0x16d78d(0x274)](_0x24745d,_0x4097d8,_0x2ca717,_0x1fd06a){const _0x5a096b=_0x16d78d;return this[_0x5a096b(0x2c6)]([...N[_0x5a096b(0x365)](_0x4097d8,_0x2ca717),_0x5a096b(0x194)],_0x24745d[_0x5a096b(0x1f7)][_0x4097d8]['views'][_0x2ca717]['sort'],_0x1fd06a);}[_0x16d78d(0x16a)](_0x5a6861,_0x507df8,_0x2bd93c,_0x4a2756){const _0x4e53df=_0x16d78d;return this[_0x4e53df(0x2c6)]([...N[_0x4e53df(0x365)](_0x507df8,_0x2bd93c),'group'],_0x5a6861['tables'][_0x507df8][_0x4e53df(0x2b6)][_0x2bd93c][_0x4e53df(0xcb)],_0x4a2756);}['setViewFieldVisible'](_0x3cfe29,_0x5f2316,_0x3516e7,_0x36a636,_0x4f504b){const _0x357ffa=_0x16d78d;return this[_0x357ffa(0x1a7)](_0x3cfe29,_0x5f2316,_0x3516e7,_0x36a636,{'hidden':!_0x4f504b});}[_0x16d78d(0x1bf)](_0x450984,_0x249b6d,_0x463ec4,_0x2be320,_0x18d06f){return this['_setViewFieldSetting'](_0x450984,_0x249b6d,_0x463ec4,_0x2be320,{'width':_0x18d06f});}[_0x16d78d(0x100)](_0xdc03f,_0x218c5d,_0x4daa93,_0x12a283,_0x48aad9){const _0x20d1ec=_0x16d78d;var _0x1f1908;let _0x5e7423=_0xdc03f[_0x20d1ec(0x1f7)][_0x218c5d][_0x20d1ec(0x2b6)][_0x4daa93],_0x27cc26=Gt((_0x1f1908=_0x5e7423[_0x20d1ec(0x301)])==null?_0xdc03f[_0x20d1ec(0x1f7)][_0x218c5d]['fieldOrder']:_0x1f1908,_0x12a283,_0x48aad9);return this[_0x20d1ec(0x2c6)]([...N[_0x20d1ec(0x365)](_0x218c5d,_0x4daa93),_0x20d1ec(0x301)],_0x5e7423['fieldOrder'],_0x27cc26);}['_setViewFieldSetting'](_0x185613,_0x5cf6c3,_0x135a52,_0x4a228b,_0x58eedd){const _0x58a006=_0x16d78d;var _0x47081b;let _0x41bfdb=(_0x47081b=_0x185613[_0x58a006(0x1f7)][_0x5cf6c3]['views'][_0x135a52][_0x58a006(0x35b)])==null?{}:_0x47081b,_0x183a52={..._0x41bfdb,[_0x4a228b]:{..._0x41bfdb[_0x4a228b],..._0x58eedd}};return this[_0x58a006(0x2c6)]([...N[_0x58a006(0x365)](_0x5cf6c3,_0x135a52),_0x58a006(0x35b)],_0x185613[_0x58a006(0x1f7)][_0x5cf6c3]['views'][_0x135a52]['fieldSettings'],_0x183a52);}[_0x16d78d(0x2da)](_0x55810b,_0x173ca9,_0x52ac14){const _0x52a86c=_0x16d78d;let _0x56b860=_0x55810b[_0x52a86c(0x1f7)][_0x173ca9],_0x5f3d9b=new Set(_0x52ac14[_0x52a86c(0x187)](_0x2f834e=>_0x2f834e['id'])),_0x3bc003=[...Object[_0x52a86c(0x10f)](_0x56b860[_0x52a86c(0x26d)])[_0x52a86c(0x33b)](_0x75d2cb=>!_0x5f3d9b[_0x52a86c(0x277)](_0x75d2cb['id'])),..._0x52ac14][_0x52a86c(0x194)]((_0x3a83eb,_0x37debe)=>{const _0x22e363=_0x52a86c;var _0x92ae22,_0x464669;return String((_0x92ae22=_0x3a83eb['orderKey'])==null?_0x3a83eb['id']:_0x92ae22)[_0x22e363(0x153)](String((_0x464669=_0x37debe[_0x22e363(0x266)])==null?_0x37debe['id']:_0x464669));})['map'](_0x1ab858=>_0x1ab858['id']),_0x22f1eb=[...N[_0x52a86c(0xc2)](_0x173ca9),_0x52a86c(0x158)];return _0x56b860[_0x52a86c(0x158)]?_0x579b08[_0x52a86c(0x362)](_0x22f1eb,_0x56b860[_0x52a86c(0x158)],_0x3bc003):_0x579b08[_0x52a86c(0x2ac)](_0x22f1eb,_0x3bc003);}['_setFormulaFieldCells'](_0x3db6e7,_0x466f08,_0x14f1ff,_0x49171e){const _0x31c0c2=_0x16d78d;var _0x196765,_0x30db43,_0x2163c1,_0x9a246b;let _0x229f52=w(_0x3db6e7[_0x31c0c2(0x1f7)][_0x466f08]),_0x5ad51f=String((_0x196765=(_0x30db43=_0x49171e[_0x31c0c2(0x2ad)])==null?void 0x0:_0x30db43[_0x31c0c2(0x13d)])==null?'':_0x196765)['trim'](),_0xc0a963=(_0x2163c1=_0x229f52[_0x31c0c2(0x32b)])==null?void 0x0:_0x2163c1[_0x14f1ff];if(_0xc0a963==null)return[];let _0x47e769=(_0x9a246b=_0x229f52['recordOrder'])==null?Object[_0x31c0c2(0x33a)](_0x229f52[_0x31c0c2(0x26d)]):_0x9a246b,_0x246ad4=_0x47e769[_0x31c0c2(0x187)](_0x4bf7dd=>{var _0x976b7b;return(_0x976b7b=_0x229f52['rowIndex'])==null?void 0x0:_0x976b7b[_0x4bf7dd];})[_0x31c0c2(0x2db)](_0x1157a0=>_0x1157a0!=null);return _0x47e769[_0x31c0c2(0x1cc)](_0x8ffcde=>{const _0x41ed1b=_0x31c0c2;var _0x930860,_0x2e3927;let _0x579367=(_0x930860=_0x229f52[_0x41ed1b(0x34b)])==null?void 0x0:_0x930860[_0x8ffcde];if(_0x579367==null)return[];let _0x540575=(_0x2e3927=_0x229f52[_0x41ed1b(0x33e)])==null||(_0x2e3927=_0x2e3927[_0x579367])==null?void 0x0:_0x2e3927[_0xc0a963],_0x20e773=_0x5ad51f?_0x579367===_0x246ad4?{'f':_0x5ad51f,'si':_0x14f1ff}:{'si':_0x14f1ff}:{'v':null,'t':null};return[this['_replaceOptional'](N[_0x41ed1b(0x33e)](_0x466f08,_0x579367,_0xc0a963),_0x540575,_0x20e773)];});}[_0x16d78d(0x311)](_0x1414eb,_0x1ef03e,_0x3bfadf,_0x1b18d2,_0x3fced4){const _0x310caa=_0x16d78d;var _0x7c47c;let _0x4cbc68=je(_0x1b18d2,_0x3bfadf),_0x3e1427=_0x3fced4[_0x310caa(0x187)]((_0x5951f2,_0x55e0a6)=>{var _0x548719;return String((_0x548719=_0x5951f2['id'])==null?_0x4cbc68+'\x1f'+_0x55e0a6:_0x548719);});return[this['_replaceOptional'](N[_0x310caa(0x208)](_0x1ef03e,_0x4cbc68),(_0x7c47c=_0x1414eb['resources'])==null||(_0x7c47c=_0x7c47c[_0x310caa(0xb3)])==null?void 0x0:_0x7c47c[_0x4cbc68],_0x3e1427),..._0x3fced4['map']((_0x174420,_0x22aebb)=>{const _0x561660=_0x310caa;var _0x1c43ba;let _0x53b337=_0x3e1427[_0x22aebb];return this[_0x561660(0x2c6)](N[_0x561660(0xe1)](_0x1ef03e,_0x53b337),(_0x1c43ba=_0x1414eb['resources'])==null||(_0x1c43ba=_0x1c43ba[_0x561660(0x25a)])==null?void 0x0:_0x1c43ba[_0x53b337],{..._0x174420,'id':_0x53b337});})];}['_deleteAttachmentResources'](_0x3b329f,_0x55135f,_0xc0c1ed){const _0x1b1633=_0x16d78d;var _0x42094c,_0x41d41d;let _0x311719=(_0x42094c=(_0x41d41d=_0x3b329f[_0x1b1633(0x326)])==null?void 0x0:_0x41d41d[_0x1b1633(0xb3)])==null?{}:_0x42094c,_0x5e679c=Object[_0x1b1633(0x1d7)](_0x311719)[_0x1b1633(0x33b)](([_0x677283])=>_0xc0c1ed(_0x677283));if(!_0x5e679c[_0x1b1633(0x1ee)])return[];let _0xd0e0b4=new Set(Object['entries'](_0x311719)[_0x1b1633(0x33b)](([_0x2984ce])=>!_0xc0c1ed(_0x2984ce))[_0x1b1633(0x1cc)](([,_0x547bb7])=>_0x547bb7)),_0x5c1c89=new Set(_0x5e679c['flatMap'](([,_0x457814])=>_0x457814));return[..._0x5e679c[_0x1b1633(0x187)](([_0x3e95c9,_0x27ad01])=>_0x579b08['removeOp'](N[_0x1b1633(0x208)](_0x55135f,_0x3e95c9),_0x27ad01)),...Array[_0x1b1633(0x251)](_0x5c1c89)[_0x1b1633(0x1cc)](_0x12db21=>{const _0x84bc2e=_0x1b1633;var _0x556ebb;let _0x1df7a1=(_0x556ebb=_0x3b329f[_0x84bc2e(0x326)])==null||(_0x556ebb=_0x556ebb['attachments'])==null?void 0x0:_0x556ebb[_0x12db21];return _0x1df7a1!==void 0x0&&!_0xd0e0b4[_0x84bc2e(0x277)](_0x12db21)?[_0x579b08[_0x84bc2e(0x161)](N['attachment'](_0x55135f,_0x12db21),_0x1df7a1)]:[];})];}[_0x16d78d(0x2c6)](_0x2e8d8b,_0x1c343b,_0x36f056){const _0x1afb8a=_0x16d78d;return _0x1c343b===void 0x0?_0x579b08[_0x1afb8a(0x2ac)](_0x2e8d8b,_0x36f056):_0x579b08[_0x1afb8a(0x362)](_0x2e8d8b,_0x1c343b,_0x36f056);}};function Ut(_0x2468ab,_0x3c8b8c,_0x392b99){const _0x2c53e8=_0x16d78d;var _0x5573ca,_0x3400b3,_0x86c342,_0x1e361b;let _0x4dd47c=(_0x5573ca=_0x2468ab['rowIndex'])==null?void 0x0:_0x5573ca[_0x3c8b8c],_0x1cfe93=(_0x3400b3=_0x2468ab[_0x2c53e8(0x32b)])==null?void 0x0:_0x3400b3[_0x392b99];return _0x4dd47c!=null&&_0x1cfe93!=null&&((_0x86c342=_0x2468ab[_0x2c53e8(0xd7)])==null?void 0x0:_0x86c342[_0x4dd47c])===_0x3c8b8c&&((_0x1e361b=_0x2468ab[_0x2c53e8(0x15b)])==null?void 0x0:_0x1e361b[_0x1cfe93])===_0x392b99&&_0x2468ab['cellData']!=null;}function Wt(_0x5e2791,_0x2303ed,_0x35f94a){const _0x36ac9c=_0x16d78d;var _0x3ecda2,_0x3a405c;return((_0x3ecda2=_0x5e2791['rowId'])==null?void 0x0:_0x3ecda2[_0x2303ed])!=null&&((_0x3a405c=_0x5e2791['colId'])==null?void 0x0:_0x3a405c[_0x35f94a])!=null&&_0x5e2791[_0x36ac9c(0x33e)]!=null;}function Gt(_0x2350d0,_0x21a09e,_0x57cd24){const _0x557e99=_0x16d78d;let _0x5f2f09=_0x2350d0['filter'](_0x1578f5=>_0x1578f5!==_0x21a09e),_0xd98eb1=_0x57cd24[_0x557e99(0xf4)]?_0x5f2f09[_0x557e99(0x2f2)](_0x57cd24[_0x557e99(0xf4)]):_0x57cd24[_0x557e99(0x13a)]?_0x5f2f09[_0x557e99(0x2f2)](_0x57cd24[_0x557e99(0x13a)])+0x1:_0x5f2f09[_0x557e99(0x1ee)];return _0x5f2f09[_0x557e99(0x27b)](_0xd98eb1<0x0?_0x5f2f09['length']:_0xd98eb1,0x0,_0x21a09e),_0x5f2f09;}function Kt(_0xeeb116,_0x50ad6f,_0x423184){const _0x493d92=_0x16d78d;let _0x15df2b=_0xeeb116[_0x493d92(0x33b)](_0x4bb2fa=>_0x4bb2fa!==_0x50ad6f);return _0x15df2b['splice'](Jt(_0x423184,_0x15df2b[_0x493d92(0x1ee)]),0x0,_0x50ad6f),_0x15df2b;}function qt(_0x4bed66,_0x51e2d3,_0x45c560){const _0x5d8493=_0x16d78d;if(Array[_0x5d8493(0x352)](_0x4bed66))return _0x45c560===_0x5d8493(0x321)?_0x4bed66[_0x5d8493(0x33b)](_0x4c1b7f=>_0x4c1b7f!==_0x51e2d3):_0x4bed66[_0x5d8493(0x1cc)](_0x440292=>{const _0x270df5=_0x5d8493;if(_0x440292&&typeof _0x440292==_0x270df5(0x1ae)&&!Array[_0x270df5(0x352)](_0x440292)&&_0x440292[_0x270df5(0x375)]===_0x51e2d3)return[];let _0x3f88bf=qt(_0x440292,_0x51e2d3);return _0x3f88bf===void 0x0?[]:[_0x3f88bf];});if(!_0x4bed66||typeof _0x4bed66!='object')return _0x45c560!=null&&_0x45c560[_0x5d8493(0x10b)]('FieldId')&&_0x4bed66===_0x51e2d3?void 0x0:_0x4bed66;let _0xd86847=_0x4bed66;if(_0xd86847[_0x5d8493(0x375)]!==_0x51e2d3)return Object['fromEntries'](Object[_0x5d8493(0x1d7)](_0xd86847)[_0x5d8493(0x1cc)](([_0x2b111f,_0x513bbc])=>{const _0x1a8adb=_0x5d8493;if(_0x2b111f===_0x51e2d3&&_0x45c560===_0x1a8adb(0x35b))return[];let _0x39a584=qt(_0x513bbc,_0x51e2d3,_0x2b111f);return _0x39a584===void 0x0?[]:[[_0x2b111f,_0x39a584]];}));}function Jt(_0x188db7,_0x5cc34d){return Math['max'](0x0,Math['min'](_0x188db7,_0x5cc34d));}function Yt(_0x10d090,_0x34d061,_0x2c5d41){const _0x454f29=_0x16d78d;if(!_0x10d090||!_0x34d061||_0x34d061===_0x2c5d41)return _0x10d090;let _0x48e7b6='',_0x5bcfea=!0x1,_0x44e181=_0x34d061[_0x454f29(0x123)]();for(let _0x4edf8d=0x0;_0x4edf8d<_0x10d090['length'];){let _0x1e2a70=_0x10d090[_0x4edf8d];if(_0x1e2a70==='\x22'){if(_0x5bcfea&&_0x10d090[_0x4edf8d+0x1]==='\x22'){_0x48e7b6+='\x22\x22',_0x4edf8d+=0x2;continue;}_0x5bcfea=!_0x5bcfea,_0x48e7b6+=_0x1e2a70,_0x4edf8d++;continue;}if(!_0x5bcfea&&_0x10d090[_0x454f29(0x1b8)](_0x4edf8d,_0x4edf8d+_0x34d061[_0x454f29(0x1ee)])[_0x454f29(0x123)]()===_0x44e181&&Xt(_0x10d090,_0x4edf8d,_0x34d061[_0x454f29(0x1ee)])){_0x48e7b6+=_0x2c5d41,_0x4edf8d+=_0x34d061[_0x454f29(0x1ee)];continue;}_0x48e7b6+=_0x1e2a70,_0x4edf8d++;}return _0x48e7b6;}function Xt(_0x3c1cd9,_0x5a7349,_0x17b49b){const _0x3fd339=_0x16d78d;var _0x38ddfa;let _0x25ffae=_0x3c1cd9[_0x5a7349-0x1];if(_0x25ffae&&/[\w.]/[_0x3fd339(0xbd)](_0x25ffae))return!0x1;let _0x5c9f32=_0x5a7349+_0x17b49b;for(;/\s/[_0x3fd339(0xbd)]((_0x38ddfa=_0x3c1cd9[_0x5c9f32])==null?'':_0x38ddfa);)_0x5c9f32++;return _0x3c1cd9[_0x5c9f32]==='[';}function I(_0x5984f8){'@babel/helpers - typeof';const _0x59dfb3=_0x16d78d;return I=typeof Symbol==_0x59dfb3(0x15e)&&typeof Symbol['iterator']==_0x59dfb3(0x2c8)?function(_0x4eb100){return typeof _0x4eb100;}:function(_0x532ca8){const _0x214baa=_0x59dfb3;return _0x532ca8&&typeof Symbol=='function'&&_0x532ca8[_0x214baa(0x255)]===Symbol&&_0x532ca8!==Symbol[_0x214baa(0x1de)]?_0x214baa(0x2c8):typeof _0x532ca8;},I(_0x5984f8);}function Zt(_0x6ef7eb,_0x286d7d){const _0x195d74=_0x16d78d;if(I(_0x6ef7eb)!=_0x195d74(0x1ae)||!_0x6ef7eb)return _0x6ef7eb;var _0xbb8236=_0x6ef7eb[Symbol['toPrimitive']];if(_0xbb8236!==void 0x0){var _0x5e940b=_0xbb8236[_0x195d74(0x16c)](_0x6ef7eb,_0x286d7d||'default');if(I(_0x5e940b)!='object')return _0x5e940b;throw TypeError(_0x195d74(0x169));}return(_0x286d7d==='string'?String:Number)(_0x6ef7eb);}function Qt(_0x58cb77){const _0x37e915=_0x16d78d;var _0x59a1b0=Zt(_0x58cb77,_0x37e915(0xc9));return I(_0x59a1b0)==_0x37e915(0x2c8)?_0x59a1b0:_0x59a1b0+'';}function L(_0x32929b,_0x2f680e,_0x44984d){const _0x2f1f8c=_0x16d78d;return(_0x2f680e=Qt(_0x2f680e))in _0x32929b?Object[_0x2f1f8c(0x1fb)](_0x32929b,_0x2f680e,{'value':_0x44984d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x32929b[_0x2f680e]=_0x44984d,_0x32929b;}const $t=_0x2eeafa(_0x16d78d(0x11f));var en=class extends _0x10a465{constructor(..._0x42c048){const _0x1406cf=_0x16d78d;super(..._0x42c048),L(this,_0x1406cf(0x2cc),new Map());}['register'](_0x293490){const _0x2e705d=_0x16d78d;return this[_0x2e705d(0x2cc)]['set'](_0x293490['type'],_0x293490),_0x3f89c7(()=>this[_0x2e705d(0x2cc)][_0x2e705d(0x2a5)](_0x293490[_0x2e705d(0x14a)]));}[_0x16d78d(0x36e)](_0x1143fd){const _0x19e035=_0x16d78d;let _0x194d90=this[_0x19e035(0x2cc)][_0x19e035(0x36e)](_0x1143fd);if(!_0x194d90)throw Error(_0x19e035(0x140)+_0x1143fd+'\x22\x20is\x20not\x20registered.');return _0x194d90;}['getTypePlugin'](_0x530dc5){const _0x55385e=_0x16d78d;return this[_0x55385e(0x2cc)][_0x55385e(0x36e)](_0x530dc5);}[_0x16d78d(0x1d5)](){const _0x531e11=_0x16d78d;return Array[_0x531e11(0x251)](this[_0x531e11(0x2cc)][_0x531e11(0x10f)]());}};const tn=_0x2eeafa(_0x16d78d(0x2ee));var nn=class{constructor(){const _0x43ddd4=_0x16d78d;L(this,_0x43ddd4(0x11d),new Map()),L(this,_0x43ddd4(0x1ab),new Map()),L(this,_0x43ddd4(0x239),new Map()),L(this,_0x43ddd4(0x133),new Map());}[_0x16d78d(0xc6)](_0x16b6d9){const _0x4c3b9e=_0x16d78d;var _0x557aa8,_0x50257b;return(_0x557aa8=(_0x50257b=this[_0x4c3b9e(0x11d)][_0x4c3b9e(0x36e)](_0x16b6d9))==null?void 0x0:_0x50257b[_0x4c3b9e(0xf5)])==null?!0x0:_0x557aa8;}[_0x16d78d(0x1ad)](_0x35c374){const _0x394c8a=_0x16d78d;var _0x78b945,_0x45f8c9;return(_0x78b945=(_0x45f8c9=this[_0x394c8a(0x1ab)][_0x394c8a(0x36e)](_0x35c374))==null?void 0x0:_0x45f8c9[_0x394c8a(0x2a5)])==null?!0x0:_0x78b945;}[_0x16d78d(0x168)](_0x1e7dfb){const _0xdf58cd=_0x16d78d;var _0x3880a5,_0x5e0e32;return(_0x3880a5=(_0x5e0e32=this[_0xdf58cd(0x1ab)]['get'](_0x1e7dfb))==null?void 0x0:_0x5e0e32[_0xdf58cd(0x29c)])==null?!0x0:_0x3880a5;}[_0x16d78d(0xd3)](_0x337243,_0x3e986d){const _0x661d92=_0x16d78d;var _0x4d8923,_0x343652;return(_0x4d8923=(_0x343652=this[_0x661d92(0x239)]['get'](R(_0x337243,_0x3e986d)))==null?void 0x0:_0x343652['edit'])==null?!0x0:_0x4d8923;}[_0x16d78d(0x17e)](_0x501b0f,_0x46ee31){const _0x2ff25f=_0x16d78d;var _0x410872,_0x5c290e;return(_0x410872=(_0x5c290e=this[_0x2ff25f(0x239)][_0x2ff25f(0x36e)](R(_0x501b0f,_0x46ee31)))==null?void 0x0:_0x5c290e[_0x2ff25f(0x2a5)])==null?!0x0:_0x410872;}[_0x16d78d(0x10c)](_0x3a38d0){const _0x4d3ed3=_0x16d78d;var _0x6d3de9,_0x4e1b09;return(_0x6d3de9=(_0x4e1b09=this[_0x4d3ed3(0x1ab)][_0x4d3ed3(0x36e)](_0x3a38d0))==null?void 0x0:_0x4e1b09[_0x4d3ed3(0x1fe)])==null?!0x0:_0x6d3de9;}[_0x16d78d(0x29e)](_0x4f5104,_0x31d01c){const _0x18e507=_0x16d78d;var _0x41e4f0,_0x468bba;return(_0x41e4f0=(_0x468bba=this[_0x18e507(0x133)][_0x18e507(0x36e)](rn(_0x4f5104,_0x31d01c)))==null?void 0x0:_0x468bba['delete'])==null?!0x0:_0x41e4f0;}[_0x16d78d(0x269)](_0x522843,_0x516169,_0x378bf2){const _0x5c5b69=_0x16d78d;var _0x551db2,_0x56c160,_0x27f636,_0x329291;let _0x584676=this[_0x5c5b69(0x239)][_0x5c5b69(0x36e)](R(_0x522843,_0x378bf2));return((_0x551db2=(_0x56c160=this['_recordPermissions'][_0x5c5b69(0x36e)](rn(_0x522843,_0x516169)))==null?void 0x0:_0x56c160[_0x5c5b69(0x276)])==null?!0x0:_0x551db2)&&((_0x27f636=_0x584676==null?void 0x0:_0x584676[_0x5c5b69(0xea)])==null?!0x0:_0x27f636)&&((_0x329291=_0x584676==null?void 0x0:_0x584676[_0x5c5b69(0x276)])==null?!0x0:_0x329291);}[_0x16d78d(0x31d)](_0x1d5205){const _0x26d69a=_0x16d78d;var _0x21ab13,_0x4a06ab;return(_0x21ab13=(_0x4a06ab=this[_0x26d69a(0x1ab)][_0x26d69a(0x36e)](_0x1d5205))==null?void 0x0:_0x4a06ab[_0x26d69a(0x1a5)])==null?!0x0:_0x21ab13;}[_0x16d78d(0x20b)](_0x27707e,_0x235259){const _0x587279=_0x16d78d;this[_0x587279(0x11d)][_0x587279(0x21d)](_0x27707e,{...this[_0x587279(0x11d)][_0x587279(0x36e)](_0x27707e),..._0x235259});}['setTablePermission'](_0x5b739d,_0x305d40){const _0x60c313=_0x16d78d;this['_tablePermissions'][_0x60c313(0x21d)](_0x5b739d,{...this[_0x60c313(0x1ab)][_0x60c313(0x36e)](_0x5b739d),..._0x305d40});}[_0x16d78d(0x2bc)](_0x4ca00f,_0x418807,_0x2e97f9){const _0x3090c1=_0x16d78d;let _0x4c4a31=R(_0x4ca00f,_0x418807);this['_fieldPermissions'][_0x3090c1(0x21d)](_0x4c4a31,{...this[_0x3090c1(0x239)][_0x3090c1(0x36e)](_0x4c4a31),..._0x2e97f9});}[_0x16d78d(0x127)](_0x2aab25,_0x1b2857,_0x387da3){const _0xfef254=_0x16d78d;let _0x337aef=rn(_0x2aab25,_0x1b2857);this[_0xfef254(0x133)][_0xfef254(0x21d)](_0x337aef,{...this[_0xfef254(0x133)][_0xfef254(0x36e)](_0x337aef),..._0x387da3});}[_0x16d78d(0x124)](_0x16ddf3){this['_basePermissions']['delete'](_0x16ddf3);}[_0x16d78d(0x231)](_0x36863b){const _0x3c7ab8=_0x16d78d;this[_0x3c7ab8(0x1ab)][_0x3c7ab8(0x2a5)](_0x36863b);}[_0x16d78d(0x241)](_0x4e39b9,_0x578223){const _0x86c539=_0x16d78d;this['_fieldPermissions'][_0x86c539(0x2a5)](R(_0x4e39b9,_0x578223));}[_0x16d78d(0x24e)](_0x352d04,_0x570c80){this['_recordPermissions']['delete'](rn(_0x352d04,_0x570c80));}['getSnapshot'](){const _0x41c08e=_0x16d78d;return{'bases':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x11d)]),'tables':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x1ab)]),'fields':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x239)]),'records':Object['fromEntries'](this[_0x41c08e(0x133)])};}};function R(_0x475f3b,_0x3200f8){return _0x475f3b+'\x1f'+_0x3200f8;}function rn(_0x344a02,_0x3a8833){return _0x344a02+'\x1f'+_0x3a8833;}function z(_0x1d34d8,_0x45ec91){return function(_0x397927,_0x5ad5fc){_0x45ec91(_0x397927,_0x5ad5fc,_0x1d34d8);};}function B(_0xd211d5,_0xeea0eb,_0x46d52b,_0x3396a6){const _0x51685d=_0x16d78d;var _0x300d70=arguments[_0x51685d(0x1ee)],_0x583e15=_0x300d70<0x3?_0xeea0eb:_0x3396a6===null?_0x3396a6=Object[_0x51685d(0xeb)](_0xeea0eb,_0x46d52b):_0x3396a6,_0x190e27;if(typeof Reflect==_0x51685d(0x1ae)&&typeof Reflect[_0x51685d(0xff)]==_0x51685d(0x15e))_0x583e15=Reflect[_0x51685d(0xff)](_0xd211d5,_0xeea0eb,_0x46d52b,_0x3396a6);else{for(var _0x36ee45=_0xd211d5[_0x51685d(0x1ee)]-0x1;_0x36ee45>=0x0;_0x36ee45--)(_0x190e27=_0xd211d5[_0x36ee45])&&(_0x583e15=(_0x300d70<0x3?_0x190e27(_0x583e15):_0x300d70>0x3?_0x190e27(_0xeea0eb,_0x46d52b,_0x583e15):_0x190e27(_0xeea0eb,_0x46d52b))||_0x583e15);}return _0x300d70>0x3&&_0x583e15&&Object[_0x51685d(0x1fb)](_0xeea0eb,_0x46d52b,_0x583e15),_0x583e15;}const V=_0x2eeafa(_0x16d78d(0x270));let H=class{constructor(_0x23eedb,_0x197c43=an(),_0x363a5d={}){const _0x273c5e=_0x16d78d;this['_permissionService']=_0x23eedb,this[_0x273c5e(0x368)]=_0x197c43,this[_0x273c5e(0x1c6)]=_0x363a5d,L(this,_0x273c5e(0x1e3),new F()),L(this,_0x273c5e(0x1dd),new D());}[_0x16d78d(0xf5)](_0x17eea1,_0x71e871,_0x56a116){const _0x73d2d7=_0x16d78d;if(!this['_permissionService'][_0x73d2d7(0xc6)](_0x17eea1[_0x73d2d7(0x329)]()))throw Error(_0x73d2d7(0x130));this[_0x73d2d7(0x118)](_0x17eea1,this['_factory'][_0x73d2d7(0xf5)](_0x17eea1[_0x73d2d7(0x254)](),_0x71e871,_0x56a116));}[_0x16d78d(0x117)](_0x16a3d8,_0x3c37b9,_0x29c03a){const _0x59c29a=_0x16d78d;this[_0x59c29a(0x118)](_0x16a3d8,this[_0x59c29a(0x1e3)][_0x59c29a(0x117)](_0x16a3d8['getSnapshot'](),_0x3c37b9,_0x29c03a));}['deleteTable'](_0x2ec383,_0x3d9c33){const _0x1846d0=_0x16d78d;if(!this[_0x1846d0(0x18e)][_0x1846d0(0x1ad)](_0x3d9c33))throw Error(_0x1846d0(0xda));this[_0x1846d0(0x118)](_0x2ec383,this[_0x1846d0(0x1e3)][_0x1846d0(0x21f)](_0x2ec383[_0x1846d0(0x254)](),_0x3d9c33));}[_0x16d78d(0x22f)](_0x2bc5c7,_0x38a68b,_0x2df763,_0x58f8af,_0x47dd0b){const _0x5befd2=_0x16d78d;this[_0x5befd2(0x118)](_0x2bc5c7,this['createUpdateCellOp'](_0x2bc5c7,_0x38a68b,_0x2df763,_0x58f8af,_0x47dd0b));}[_0x16d78d(0xb8)](_0x17a3dc,_0x26d221,_0x5ea3fd){const _0x28bc6f=_0x16d78d;this[_0x28bc6f(0x118)](_0x17a3dc,this[_0x28bc6f(0x359)](_0x17a3dc,_0x26d221,_0x5ea3fd));}[_0x16d78d(0x1fe)](_0x3391a5,_0x277ff9,_0x2a5d41){const _0x32aae1=_0x16d78d;this[_0x32aae1(0x118)](_0x3391a5,this['createCreateRecordOp'](_0x3391a5,_0x277ff9,_0x2a5d41));}[_0x16d78d(0x344)](_0x26781b,_0x55a973,_0x4bf08f,_0x5eed83,_0x5b1972){const _0x192ecb=_0x16d78d;let _0x428b18=_0x26781b[_0x192ecb(0x254)](),_0x264740=this[_0x192ecb(0x300)](_0x428b18,_0x55a973,_0x4bf08f,_0x5eed83,_0x5b1972),_0x1c2909=this[_0x192ecb(0x289)](_0x428b18,_0x55a973,_0x4bf08f,{[_0x5eed83]:_0x264740});return this[_0x192ecb(0x1e3)][_0x192ecb(0xb8)](_0x428b18,_0x55a973,[_0x1c2909]);}[_0x16d78d(0x359)](_0x37f24f,_0x5582eb,_0x5e173f){const _0x2f2c8b=_0x16d78d;let _0x3fc758=_0x37f24f['getSnapshot'](),_0x15ab71=_0x5e173f['map'](_0xe22c43=>this[_0x2f2c8b(0x289)](_0x3fc758,_0x5582eb,_0xe22c43['recordId'],{...Object[_0x2f2c8b(0x22a)](Object[_0x2f2c8b(0x1d7)](_0xe22c43[_0x2f2c8b(0x10f)])[_0x2f2c8b(0x187)](([_0x4b03b1,_0x120d22])=>[_0x4b03b1,this[_0x2f2c8b(0x300)](_0x3fc758,_0x5582eb,_0xe22c43[_0x2f2c8b(0x36c)],_0x4b03b1,_0x120d22)]))}));return this[_0x2f2c8b(0x1e3)][_0x2f2c8b(0xb8)](_0x3fc758,_0x5582eb,_0x15ab71);}[_0x16d78d(0xbe)](_0xe8ea1f,_0x172770,_0x30256e){const _0x210fdb=_0x16d78d;if(!this[_0x210fdb(0x18e)]['canCreateRecord'](_0x172770))throw Error(_0x210fdb(0x258));let _0x352125=_0xe8ea1f['getSnapshot'](),_0x24e145=this[_0x210fdb(0xb2)](_0x352125[_0x210fdb(0x1f7)][_0x172770]);return this[_0x210fdb(0x1e3)][_0x210fdb(0x1fe)](_0x352125,_0x172770,this['_createRecordWithDefaults'](_0x352125,_0x172770,_0x30256e,_0x24e145));}[_0x16d78d(0x24c)](_0x77bb3e,_0x1011f4,_0x5f473b){const _0x5cf179=_0x16d78d;if(!this[_0x5cf179(0x18e)][_0x5cf179(0x10c)](_0x1011f4))throw Error(_0x5cf179(0x258));let _0x590407=_0x77bb3e[_0x5cf179(0x254)](),_0xb24f24=this[_0x5cf179(0xb2)](_0x590407['tables'][_0x1011f4]);return this[_0x5cf179(0x1e3)][_0x5cf179(0x2b3)](_0x590407,_0x1011f4,_0x5f473b[_0x5cf179(0x187)](_0x126ba6=>this[_0x5cf179(0x248)](_0x590407,_0x1011f4,_0x126ba6,_0xb24f24)));}[_0x16d78d(0x18f)](_0xd50c21,_0xa0a15b,_0x29b647,_0x2bdec1,_0x226712){const _0x30fe1c=_0x16d78d;if(!this[_0x30fe1c(0x18e)]['canCreateField'](_0xa0a15b))throw Error(_0x30fe1c(0x151));let _0x225585=_0xd50c21['getSnapshot'](),_0xc31d32=this[_0x30fe1c(0x1e3)][_0x30fe1c(0x29c)](_0x225585,_0xa0a15b,{'field':_0x29b647,'index':_0x2bdec1,'viewIndexes':_0x226712}),_0x320f20=this[_0x30fe1c(0x2c3)](_0x225585,_0xa0a15b,_0x29b647);if(!_0x320f20[_0x30fe1c(0x1ee)])return _0xc31d32;let _0x47ee6b=this[_0x30fe1c(0x1dd)][_0x30fe1c(0x1e4)](_0x225585,_0xc31d32);return P([_0xc31d32,this[_0x30fe1c(0x1e3)][_0x30fe1c(0xb8)](_0x47ee6b,_0xa0a15b,_0x320f20)]);}[_0x16d78d(0x36b)](_0x3755dd,_0x2eed9,_0x357c60){const _0x5f4561=_0x16d78d;if(!this[_0x5f4561(0x18e)]['canDeleteRecord'](_0x2eed9,_0x357c60))throw Error(_0x5f4561(0x1a6));this[_0x5f4561(0x118)](_0x3755dd,this[_0x5f4561(0x1e3)][_0x5f4561(0x36b)](_0x3755dd[_0x5f4561(0x254)](),_0x2eed9,_0x357c60));}['duplicateRecord'](_0x4a773f,_0x284238,_0x4fab43,_0x30bb57){const _0x5c4cdb=_0x16d78d;this[_0x5c4cdb(0x118)](_0x4a773f,this[_0x5c4cdb(0x1e3)]['duplicateRecord'](_0x4a773f[_0x5c4cdb(0x254)](),_0x284238,_0x4fab43,_0x30bb57));}[_0x16d78d(0x177)](_0x3146d9,_0x4b3e0d,_0x15bca0,_0x5144c0){const _0x20c5ec=_0x16d78d;this['_apply'](_0x3146d9,this['_factory'][_0x20c5ec(0x177)](_0x3146d9[_0x20c5ec(0x254)](),_0x4b3e0d,_0x15bca0,_0x5144c0));}[_0x16d78d(0x29c)](_0x126e50,_0x23f0c4,_0x1b1897,_0x8b39a5,_0x262935){const _0x2e3a90=_0x16d78d;this[_0x2e3a90(0x118)](_0x126e50,this[_0x2e3a90(0x18f)](_0x126e50,_0x23f0c4,_0x1b1897,_0x8b39a5,_0x262935));}[_0x16d78d(0x107)](_0x3b3751,_0x5b0d65,_0x242b22,_0x2890fa){const _0x3b8902=_0x16d78d;if(!this['_permissionService'][_0x3b8902(0xd3)](_0x5b0d65,_0x242b22))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x3b8902(0x118)](_0x3b3751,this['_factory'][_0x3b8902(0x107)](_0x3b3751[_0x3b8902(0x254)](),_0x5b0d65,_0x242b22,_0x2890fa));}[_0x16d78d(0xd0)](_0x1bddc7,_0x1be628,_0x5a8f66,_0x4814ba){const _0x59860f=_0x16d78d;if(!this[_0x59860f(0x18e)][_0x59860f(0xd3)](_0x1be628,_0x5a8f66))throw Error(_0x59860f(0x147));this[_0x59860f(0x118)](_0x1bddc7,this['_factory'][_0x59860f(0xd0)](_0x1bddc7[_0x59860f(0x254)](),_0x1be628,_0x5a8f66,_0x4814ba));}[_0x16d78d(0x1ec)](_0x553280,_0x49e512,_0x5aaff3){const _0x1276fd=_0x16d78d;var _0x5a11e7;if(((_0x5a11e7=_0x553280['getSnapshot']()['tables'][_0x49e512])==null?void 0x0:_0x5a11e7[_0x1276fd(0xaf)])===_0x5aaff3)throw Error(_0x1276fd(0x374));if(!this[_0x1276fd(0x18e)][_0x1276fd(0x17e)](_0x49e512,_0x5aaff3))throw Error(_0x1276fd(0x170));this[_0x1276fd(0x118)](_0x553280,this[_0x1276fd(0x1e3)]['deleteField'](_0x553280[_0x1276fd(0x254)](),_0x49e512,_0x5aaff3));}[_0x16d78d(0x186)](_0x43379c,_0x5d0a26,_0x2a330e,_0x296c7a){const _0x3adf83=_0x16d78d;if(!this[_0x3adf83(0x18e)][_0x3adf83(0xd3)](_0x5d0a26,_0x2a330e))throw Error(_0x3adf83(0x147));this[_0x3adf83(0x118)](_0x43379c,this[_0x3adf83(0x1e3)]['moveField'](_0x43379c['getSnapshot'](),_0x5d0a26,_0x2a330e,_0x296c7a));}[_0x16d78d(0x1c4)](_0x177972,_0x2059b4,_0x569e0f,_0x46a7cf){const _0x2643f3=_0x16d78d;this[_0x2643f3(0x118)](_0x177972,this[_0x2643f3(0x1e3)][_0x2643f3(0x1c4)](_0x177972['getSnapshot'](),_0x2059b4,_0x569e0f,_0x46a7cf));}[_0x16d78d(0x307)](_0x4a4549,_0x1b0e2e,_0x15257d,_0x85b615){const _0x175295=_0x16d78d;if(!this[_0x175295(0x18e)][_0x175295(0x31d)](_0x1b0e2e,_0x15257d))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x4a4549,this[_0x175295(0x1e3)][_0x175295(0x307)](_0x4a4549['getSnapshot'](),_0x1b0e2e,_0x15257d,_0x85b615));}[_0x16d78d(0x2d3)](_0x123b60,_0x1e43f5,_0x2d1f15){const _0x2f3636=_0x16d78d;if(!this[_0x2f3636(0x18e)][_0x2f3636(0x31d)](_0x1e43f5,_0x2d1f15))throw Error(_0x2f3636(0x223));this['_apply'](_0x123b60,this[_0x2f3636(0x1e3)][_0x2f3636(0x2d3)](_0x123b60[_0x2f3636(0x254)](),_0x1e43f5,_0x2d1f15));}['moveView'](_0x5d9c6b,_0x5c19dc,_0x4db7aa,_0x1eecdc){const _0x533f0c=_0x16d78d;if(!this[_0x533f0c(0x18e)][_0x533f0c(0x31d)](_0x5c19dc,_0x4db7aa))throw Error(_0x533f0c(0x223));this['_apply'](_0x5d9c6b,this[_0x533f0c(0x1e3)][_0x533f0c(0x16b)](_0x5d9c6b[_0x533f0c(0x254)](),_0x5c19dc,_0x4db7aa,_0x1eecdc));}[_0x16d78d(0x20c)](_0x27c935,_0x31156c,_0xc9bc6b,_0x148886){const _0x1f7669=_0x16d78d;if(!this[_0x1f7669(0x18e)][_0x1f7669(0x31d)](_0x31156c,_0xc9bc6b))throw Error(_0x1f7669(0x223));this[_0x1f7669(0x118)](_0x27c935,this[_0x1f7669(0x1e3)]['updateViewConfig'](_0x27c935[_0x1f7669(0x254)](),_0x31156c,_0xc9bc6b,_0x148886));}[_0x16d78d(0x2cd)](_0xc5ae5e,_0x55fb31,_0x51bfbe,_0x104505){const _0x26ac2e=_0x16d78d;this[_0x26ac2e(0x118)](_0xc5ae5e,this['_factory'][_0x26ac2e(0x2cd)](_0xc5ae5e[_0x26ac2e(0x254)](),_0x55fb31,_0x51bfbe,_0x104505));}[_0x16d78d(0x274)](_0x308612,_0x4e59bf,_0x547d3c,_0x2afaae){const _0x226e8e=_0x16d78d;this['_apply'](_0x308612,this[_0x226e8e(0x1e3)][_0x226e8e(0x274)](_0x308612[_0x226e8e(0x254)](),_0x4e59bf,_0x547d3c,_0x2afaae));}['setViewGroup'](_0x453a40,_0xc2d2a6,_0x1fbb18,_0x48e5cd){const _0x444212=_0x16d78d;this['_apply'](_0x453a40,this[_0x444212(0x1e3)][_0x444212(0x16a)](_0x453a40[_0x444212(0x254)](),_0xc2d2a6,_0x1fbb18,_0x48e5cd));}[_0x16d78d(0x279)](_0xeb6cb5,_0x257fc6,_0x22f28e,_0x4974ae,_0x3e62b4){const _0x152a0f=_0x16d78d;if(!this[_0x152a0f(0x18e)][_0x152a0f(0x31d)](_0x257fc6,_0x22f28e))throw Error(_0x152a0f(0x223));this[_0x152a0f(0x118)](_0xeb6cb5,this['_factory']['setViewFieldVisible'](_0xeb6cb5[_0x152a0f(0x254)](),_0x257fc6,_0x22f28e,_0x4974ae,_0x3e62b4));}[_0x16d78d(0x1bf)](_0x2aa300,_0x1f4ffd,_0x16e169,_0x5207c9,_0x15028b){const _0x1f3659=_0x16d78d;this[_0x1f3659(0x118)](_0x2aa300,this[_0x1f3659(0x1e3)][_0x1f3659(0x1bf)](_0x2aa300[_0x1f3659(0x254)](),_0x1f4ffd,_0x16e169,_0x5207c9,_0x15028b));}['setViewFieldOrder'](_0x13c5d5,_0x15dc94,_0x340dc0,_0x3bf7ee,_0x37fdb7){const _0x1a44a9=_0x16d78d;this['_apply'](_0x13c5d5,this[_0x1a44a9(0x1e3)][_0x1a44a9(0x100)](_0x13c5d5['getSnapshot'](),_0x15dc94,_0x340dc0,_0x3bf7ee,_0x37fdb7));}[_0x16d78d(0x118)](_0x4a780d,_0x18f722){const _0x1efbb4=_0x16d78d;let _0x119a10=_0x4a780d['getSnapshot']();_0x4a780d[_0x1efbb4(0xc3)](this[_0x1efbb4(0x1dd)][_0x1efbb4(0x1e4)](_0x119a10,_0x18f722));}[_0x16d78d(0x248)](_0x43b18f,_0x2acfe3,_0x534f9c,_0x1552b8=this[_0x16d78d(0xb2)](_0x43b18f[_0x16d78d(0x1f7)][_0x2acfe3])){const _0x5d74ce=_0x16d78d;var _0x686fdc,_0x3eedc2,_0x53c798,_0x2f4fe6;let _0xd367f7=_0x43b18f['tables'][_0x2acfe3],_0x166826=(_0x686fdc=(_0x3eedc2=_0x534f9c[_0x5d74ce(0x2f1)])==null?_0x534f9c['updatedBy']:_0x3eedc2)==null?this[_0x5d74ce(0x22b)]():_0x686fdc,_0x561646={..._0x534f9c,'createdBy':(_0x53c798=_0x534f9c[_0x5d74ce(0x2f1)])==null?_0x166826:_0x53c798,'updatedBy':(_0x2f4fe6=_0x534f9c[_0x5d74ce(0x1a4)])==null?_0x166826:_0x2f4fe6,'values':{..._0x534f9c['values']}};return _0xd367f7['fieldOrder'][_0x5d74ce(0x165)](_0x154a76=>{const _0xbb50a=_0x5d74ce;let _0x411b69=_0xd367f7[_0xbb50a(0x30b)][_0x154a76];if(!(!_0x411b69||_0x561646[_0xbb50a(0x10f)][_0x154a76]!==void 0x0))switch(_0x411b69[_0xbb50a(0x14a)]){case _0x3d85e5[_0xbb50a(0x294)]:var _0x5e015a,_0xd9e4d0;_0x561646[_0xbb50a(0x10f)][_0x154a76]=(_0x5e015a=(_0xd9e4d0=_0x1552b8[_0xbb50a(0x36e)](_0x154a76))==null?void 0x0:_0xd9e4d0())==null?this['_createNumberingAllocator'](_0xd367f7,_0x154a76)():_0x5e015a;break;case _0x3d85e5[_0xbb50a(0x15a)]:_0x561646[_0xbb50a(0x2f1)]&&(_0x561646[_0xbb50a(0x10f)][_0x154a76]=_0x561646['createdBy']);break;case _0x3d85e5[_0xbb50a(0x229)]:_0x561646[_0xbb50a(0x1a4)]&&(_0x561646['values'][_0x154a76]=_0x561646['updatedBy']);break;case _0x3d85e5[_0xbb50a(0xe5)]:_0x561646[_0xbb50a(0x10f)][_0x154a76]=O(_0x561646[_0xbb50a(0x156)]);break;case _0x3d85e5['UpdatedAt']:_0x561646[_0xbb50a(0x10f)][_0x154a76]=O(_0x561646['updatedAt']);break;default:{let _0x1ae4c0=_0x411b69[_0xbb50a(0x364)];_0x1ae4c0!=null&&_0x1ae4c0!==''&&!(Array[_0xbb50a(0x352)](_0x1ae4c0)&&_0x1ae4c0[_0xbb50a(0x1ee)]===0x0)&&(_0x561646[_0xbb50a(0x10f)][_0x154a76]=_0x1ae4c0);}}}),_0x561646;}[_0x16d78d(0x289)](_0x18c078,_0x19be63,_0x4b1aac,_0x56836c){const _0x57efe8=_0x16d78d;var _0x27c58b,_0x1e6c3a,_0x7a5efc;let _0x567c5b=_0x18c078[_0x57efe8(0x1f7)][_0x19be63],_0x4bf532=(_0x27c58b=(_0x1e6c3a=(_0x7a5efc=this[_0x57efe8(0x1c6)])[_0x57efe8(0x176)])==null?void 0x0:_0x1e6c3a[_0x57efe8(0x16c)](_0x7a5efc))==null?Date[_0x57efe8(0x176)]():_0x27c58b,_0x21e977=this[_0x57efe8(0x22b)](),_0xba8d8c={..._0x56836c};return _0x567c5b[_0x57efe8(0x301)]['forEach'](_0x203331=>{const _0x3a83c0=_0x57efe8;let _0x95856a=_0x567c5b[_0x3a83c0(0x30b)][_0x203331];_0x95856a&&(_0x95856a[_0x3a83c0(0x14a)]===_0x3d85e5[_0x3a83c0(0x134)]&&(_0xba8d8c[_0x203331]=O(_0x4bf532)),_0x95856a[_0x3a83c0(0x14a)]===_0x3d85e5[_0x3a83c0(0x229)]&&_0x21e977&&(_0xba8d8c[_0x203331]=_0x21e977));}),{'recordId':_0x4b1aac,'values':_0xba8d8c,'recordPatch':{'updatedAt':_0x4bf532,..._0x21e977?{'updatedBy':_0x21e977}:{}}};}[_0x16d78d(0x2c3)](_0x36bdc3,_0xdf0ac9,_0x107460){const _0x2d5cf5=_0x16d78d;let _0x5d2683=_0x36bdc3[_0x2d5cf5(0x1f7)][_0xdf0ac9];return!_0x5d2683||!on(_0x107460)?[]:_0x107460['type']===_0x3d85e5[_0x2d5cf5(0x294)]?this[_0x2d5cf5(0x282)](_0x5d2683,_0x107460['id']):Object[_0x2d5cf5(0x10f)](_0x5d2683['records'])[_0x2d5cf5(0x1cc)](_0x29fe9e=>{const _0x224880=_0x2d5cf5;let _0x51a62c=this[_0x224880(0x1a8)](_0x107460,_0x29fe9e);return _0x51a62c===void 0x0?[]:[{'recordId':_0x29fe9e['id'],'values':{[_0x107460['id']]:_0x51a62c}}];});}[_0x16d78d(0x1a8)](_0x47e864,_0x4d78be){const _0x3e97d3=_0x16d78d;switch(_0x47e864[_0x3e97d3(0x14a)]){case _0x3d85e5[_0x3e97d3(0x15a)]:var _0x5f00d4;return(_0x5f00d4=_0x4d78be[_0x3e97d3(0x2f1)])==null?this[_0x3e97d3(0x22b)]():_0x5f00d4;case _0x3d85e5[_0x3e97d3(0x229)]:var _0x146d1e;return(_0x146d1e=_0x4d78be[_0x3e97d3(0x1a4)])==null?this[_0x3e97d3(0x22b)]():_0x146d1e;case _0x3d85e5['CreatedAt']:var _0x1150df;return O((_0x1150df=_0x4d78be['createdAt'])==null?Date[_0x3e97d3(0x176)]():_0x1150df);case _0x3d85e5[_0x3e97d3(0x134)]:var _0x4802c0;return O((_0x4802c0=_0x4d78be[_0x3e97d3(0x2b8)])==null?Date[_0x3e97d3(0x176)]():_0x4802c0);default:return;}}[_0x16d78d(0xb2)](_0x42808a){const _0x8aa12e=_0x16d78d;let _0xc58224=new Map();return _0x42808a&&_0x42808a['fieldOrder'][_0x8aa12e(0x165)](_0x52abae=>{const _0x41bf84=_0x8aa12e;let _0x18e8cb=_0x42808a[_0x41bf84(0x30b)][_0x52abae];(_0x18e8cb==null?void 0x0:_0x18e8cb[_0x41bf84(0x14a)])===_0x3d85e5[_0x41bf84(0x294)]&&_0xc58224[_0x41bf84(0x21d)](_0x52abae,this['_createNumberingAllocator'](_0x42808a,_0x52abae));}),_0xc58224;}[_0x16d78d(0x139)](_0x2e70c0,_0x3164f9){const _0x3f909e=_0x16d78d;let _0x23346e=Object[_0x3f909e(0x10f)](_0x2e70c0[_0x3f909e(0x26d)])[_0x3f909e(0xbf)]((_0x3a01a4,_0x3ff0f5)=>{const _0x15d181=_0x3f909e;let _0xa39a3=Number(_0x3ff0f5[_0x15d181(0x10f)][_0x3164f9]);return Number['isFinite'](_0xa39a3)?Math[_0x15d181(0x2f9)](_0x3a01a4,_0xa39a3):_0x3a01a4;},0x0);return()=>String(++_0x23346e);}[_0x16d78d(0x282)](_0x205812,_0x3dc7bb){const _0x5c4f60=_0x16d78d;let _0x1b16bd=this[_0x5c4f60(0x1fc)](_0x205812),_0x79659b=this[_0x5c4f60(0x139)](_0x205812,_0x3dc7bb);return _0x1b16bd[_0x5c4f60(0x1cc)](_0x356f64=>this[_0x5c4f60(0x228)](_0x356f64[_0x5c4f60(0x10f)][_0x3dc7bb])?[]:[{'recordId':_0x356f64['id'],'values':{[_0x3dc7bb]:_0x79659b()}}]);}[_0x16d78d(0x1fc)](_0x38784b){const _0x5612e7=_0x16d78d;var _0x43f7c5;let _0x5c0fc4=Object['values'](_0x38784b[_0x5612e7(0x26d)]),_0x45fb18=new Map(_0x5c0fc4[_0x5612e7(0x187)](_0x1b41be=>[_0x1b41be['id'],_0x1b41be])),_0x102fa9=[],_0x45e00c=new Set();(_0x43f7c5=_0x38784b['recordOrder'])==null||_0x43f7c5[_0x5612e7(0x165)](_0x22cd92=>{const _0x5b73ba=_0x5612e7;let _0x154691=_0x45fb18[_0x5b73ba(0x36e)](_0x22cd92);_0x154691&&(_0x102fa9[_0x5b73ba(0xcd)](_0x154691),_0x45e00c[_0x5b73ba(0xf0)](_0x22cd92));});let _0x434527=_0x5c0fc4['filter'](_0x4c5938=>!_0x45e00c[_0x5612e7(0x277)](_0x4c5938['id']))[_0x5612e7(0x194)]((_0x4bd365,_0x4ed0cf)=>{const _0x3ddff3=_0x5612e7;var _0x41a6e9,_0x7ca09e;return String((_0x41a6e9=_0x4bd365['orderKey'])==null?_0x4bd365['id']:_0x41a6e9)['localeCompare'](String((_0x7ca09e=_0x4ed0cf[_0x3ddff3(0x266)])==null?_0x4ed0cf['id']:_0x7ca09e))||_0x4bd365['id']['localeCompare'](_0x4ed0cf['id']);});return[..._0x102fa9,..._0x434527];}[_0x16d78d(0x228)](_0xe4e06a){const _0x4af791=_0x16d78d;return _0xe4e06a!=null&&_0xe4e06a!==''&&!(Array[_0x4af791(0x352)](_0xe4e06a)&&_0xe4e06a[_0x4af791(0x1ee)]===0x0);}[_0x16d78d(0x22b)](){const _0x5f4524=_0x16d78d;var _0x16f805,_0x1cb487,_0x13eb27,_0x4eaf9c,_0x14eab7,_0x115b9e;return(_0x16f805=(_0x1cb487=(_0x13eb27=(_0x4eaf9c=this[_0x5f4524(0x1c6)])['getCurrentUserId'])==null?void 0x0:_0x13eb27['call'](_0x4eaf9c))==null?(_0x14eab7=(_0x115b9e=this[_0x5f4524(0x1c6)])['getCurrentUser'])==null||(_0x14eab7=_0x14eab7['call'](_0x115b9e))==null?void 0x0:_0x14eab7[_0x5f4524(0x25d)]:_0x1cb487)==null?void 0x0:_0x16f805;}[_0x16d78d(0x300)](_0x5a0ab4,_0x44c63d,_0x33a2fa,_0x186b92,_0x33fc29){const _0x774cbc=_0x16d78d;var _0x2141df;if(!this[_0x774cbc(0x18e)]['canEditCell'](_0x44c63d,_0x33a2fa,_0x186b92))throw Error(_0x774cbc(0x370));let _0x185fad=(_0x2141df=_0x5a0ab4[_0x774cbc(0x1f7)][_0x44c63d])==null?void 0x0:_0x2141df[_0x774cbc(0x30b)][_0x186b92];if(!_0x185fad)throw Error(_0x774cbc(0x2eb)+_0x186b92+_0x774cbc(0xc4));let _0x3a2e72=this[_0x774cbc(0x368)][_0x774cbc(0x36e)](_0x185fad[_0x774cbc(0x14a)]);if(_0x185fad[_0x774cbc(0xe4)]||_0x185fad[_0x774cbc(0x1a0)]||!_0x3a2e72['getCapabilities'](_0x185fad)[_0x774cbc(0x331)])throw Error(_0x774cbc(0x1fa));let _0x458f63=_0x3a2e72[_0x774cbc(0x262)](_0x33fc29,_0x185fad),_0x33a1a0=_0x3a2e72[_0x774cbc(0x217)](_0x458f63,_0x185fad);if(!_0x33a1a0[_0x774cbc(0x20e)]){var _0x5e7e87;throw Error((_0x5e7e87=_0x33a1a0['reason'])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x5e7e87);}return _0x458f63;}};H=B([z(0x0,tn),z(0x1,$t)],H);function an(){const _0x46d798=_0x16d78d;let _0x47e156=new en();return kt()[_0x46d798(0x165)](_0x1f0da4=>_0x47e156[_0x46d798(0xe9)](_0x1f0da4)),_0x47e156;}function on(_0x370132){const _0x74da9e=_0x16d78d;return _0x370132['type']===_0x3d85e5['Numbering']||_0x370132[_0x74da9e(0x14a)]===_0x3d85e5['CreatedBy']||_0x370132['type']===_0x3d85e5[_0x74da9e(0x229)]||_0x370132[_0x74da9e(0x14a)]===_0x3d85e5['CreatedAt']||_0x370132['type']===_0x3d85e5[_0x74da9e(0x134)];}const sn=new Set([_0x3d85e5['Progress'],_0x3d85e5['Rating'],_0x3d85e5[_0x16d78d(0x185)]]);function cn(_0x21006b){const _0x294a59=_0x16d78d;var _0x305145,_0x5b87db;let _0x50ee81=_0x21006b[_0x294a59(0x30b)][_0x21006b[_0x294a59(0xaf)]];return!(_0x50ee81&&(_0x50ee81[_0x294a59(0x1a0)]===!0x0||_0x50ee81['id'][_0x294a59(0x123)]()==='id'||_0x50ee81['name'][_0x294a59(0x304)]()[_0x294a59(0x123)]()==='id'))&&_0x50ee81?_0x50ee81['id']:(_0x305145=(_0x5b87db=_0x21006b[_0x294a59(0x301)][_0x294a59(0x187)](_0x31e598=>_0x21006b[_0x294a59(0x30b)][_0x31e598])[_0x294a59(0x2db)](_0x1eaa3b=>_0x1eaa3b&&_0x1eaa3b['id']!==_0x21006b[_0x294a59(0xaf)]))==null?void 0x0:_0x5b87db['id'])==null?_0x21006b[_0x294a59(0xaf)]:_0x305145;}function U(_0x36087d,_0x2fc644=[],_0x59755a=0x5){const _0x591d9c=_0x16d78d;let _0x3ef5eb=new Set(_0x2fc644[_0x591d9c(0x33b)](_0x3a5670=>!!_0x3a5670)),_0x2d0b78=_0x36087d['fieldOrder'][_0x591d9c(0x1cc)](_0x5e4507=>{const _0x108d3f=_0x591d9c;let _0x4a8150=_0x36087d['fields'][_0x5e4507];return _0x4a8150&&!_0x3ef5eb[_0x108d3f(0x277)](_0x4a8150['id'])?[_0x4a8150]:[];}),_0x562ca4=_0x2d0b78[_0x591d9c(0x33b)](_0x4e477d=>sn[_0x591d9c(0x277)](_0x4e477d['type'])),_0x143de9=_0x2d0b78[_0x591d9c(0x33b)](_0x18717e=>!sn[_0x591d9c(0x277)](_0x18717e['type']));return[..._0x562ca4,..._0x143de9][_0x591d9c(0x1b8)](0x0,_0x59755a)['map'](_0x1ce53c=>_0x1ce53c['id']);}function ln(){const _0x46397d=_0x16d78d;return[{'type':_0x4f7ceb[_0x46397d(0x23d)],'i18nKey':_0x46397d(0x2dc),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x4f7ceb['Kanban'],'i18nKey':_0x46397d(0x316),'createDefaultConfig':_0x2bc4ec=>{const _0x13aa5f=_0x46397d;let _0x79af58=un(_0x2bc4ec);return{'groupFieldId':_0x79af58,'coverFieldId':null,'cardLayout':_0x13aa5f(0x265),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x2bc4ec['primaryFieldId'],'fieldIds':U(_0x2bc4ec,[_0x2bc4ec['primaryFieldId'],_0x79af58])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x4f7ceb[_0x46397d(0xb0)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x2539ea=>{const _0x2fce19=_0x46397d;let _0xbf15d2=dn(_0x2539ea);return{'startDateFieldId':_0xbf15d2,'endDateFieldId':fn(_0x2539ea,_0xbf15d2),'titleFieldId':_0x2539ea['primaryFieldId'],'mode':_0x2fce19(0x178),'timeslotSize':'medium','timeZone':_0x2fce19(0x2fb),'displayColor':{'type':'custom','color':_0x2fce19(0x354)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x22385e=_0x46397d;throw Error(_0x22385e(0x145));}},{'type':_0x4f7ceb['Gantt'],'i18nKey':_0x46397d(0x152),'createDefaultConfig':_0xe44f80=>{const _0x529f85=_0x46397d;var _0x2c7cf3;let _0x292d5a=dn(_0xe44f80);return{'startDateFieldId':_0x292d5a,'endDateFieldId':(_0x2c7cf3=fn(_0xe44f80,_0x292d5a))==null?_0x292d5a:_0x2c7cf3,'titleFieldId':_0xe44f80[_0x529f85(0xaf)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x24c11a=_0x46397d;throw Error(_0x24c11a(0xee));}},{'type':_0x4f7ceb[_0x46397d(0x28c)],'i18nKey':_0x46397d(0x149),'createDefaultConfig':_0x2b52fc=>{const _0x202ce2=_0x46397d;let _0x388a18=cn(_0x2b52fc);return{'coverFieldId':null,'cardLayout':_0x202ce2(0x265),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x388a18,'coverFieldId':null,'fieldIds':U(_0x2b52fc,[_0x388a18,_0x2b52fc[_0x202ce2(0xaf)]])},'cardSize':_0x202ce2(0x1be)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function un(_0xbc0efd){const _0x12ab4b=_0x16d78d;var _0x3ed66b,_0x4f6a89,_0x336fcd,_0x51ed57,_0x516391,_0x3bad6e;let _0x54b852=_0xbc0efd[_0x12ab4b(0x301)][_0x12ab4b(0x187)](_0x390a82=>_0xbc0efd['fields'][_0x390a82])[_0x12ab4b(0x33b)](_0xd82c69=>!!_0xd82c69);return(_0x3ed66b=(_0x4f6a89=(_0x336fcd=(_0x51ed57=_0x54b852[_0x12ab4b(0x2db)](_0x400365=>_0x400365['type']===_0x3d85e5[_0x12ab4b(0xe8)]||_0x400365[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x23f)]||_0x400365[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0xe6)]))==null?void 0x0:_0x51ed57['id'])==null?(_0x516391=_0x54b852[_0x12ab4b(0x2db)](_0x26acb1=>_0x26acb1['type']===_0x3d85e5[_0x12ab4b(0x13c)]))==null?void 0x0:_0x516391['id']:_0x336fcd)==null?(_0x3bad6e=_0x54b852['find'](_0x465da0=>_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x299)]||_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5['CreatedAt']||_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x134)]))==null?void 0x0:_0x3bad6e['id']:_0x4f6a89)==null?_0xbc0efd[_0x12ab4b(0xaf)]:_0x3ed66b;}function dn(_0x5a3764){const _0x2dc40f=_0x16d78d;var _0x4612ca,_0x3ab044;return(_0x4612ca=(_0x3ab044=_0x5a3764['fieldOrder'][_0x2dc40f(0x187)](_0x5be11a=>_0x5a3764[_0x2dc40f(0x30b)][_0x5be11a])[_0x2dc40f(0x2db)](pn))==null?void 0x0:_0x3ab044['id'])==null?'':_0x4612ca;}function fn(_0x507bd2,_0x5703ad){const _0x4014e1=_0x16d78d;var _0x5cf990;return(_0x5cf990=_0x507bd2[_0x4014e1(0x301)][_0x4014e1(0x187)](_0x2eb9f9=>_0x507bd2[_0x4014e1(0x30b)][_0x2eb9f9])[_0x4014e1(0x2db)](_0x53df4d=>pn(_0x53df4d)&&_0x53df4d['id']!==_0x5703ad))==null?void 0x0:_0x5cf990['id'];}function pn(_0x3a72c4){const _0x519d32=_0x16d78d;return!!_0x3a72c4&&_0x3a72c4[_0x519d32(0x14a)]===_0x3d85e5[_0x519d32(0x299)]&&_0x3a72c4[_0x519d32(0xe4)]!==!0x0&&_0x3a72c4['system']!==!0x0;}const W=_0x2eeafa('base.projection.service'),mn=new Set([_0x3d85e5[_0x16d78d(0x355)],_0x3d85e5[_0x16d78d(0x237)],_0x3d85e5[_0x16d78d(0x19a)],_0x3d85e5[_0x16d78d(0x336)],_0x3d85e5[_0x16d78d(0x299)],_0x3d85e5['CreatedAt'],_0x3d85e5[_0x16d78d(0x134)],_0x3d85e5[_0x16d78d(0x185)]]);let hn=class extends _0x10a465{constructor(_0x123e86){const _0x2a45d8=_0x16d78d;super(),this[_0x2a45d8(0x368)]=_0x123e86,L(this,_0x2a45d8(0x298),new Map()),L(this,'_projectionCache',new WeakMap()),L(this,_0x2a45d8(0x1bc),new Map()),L(this,_0x2a45d8(0x200),new Map()),L(this,_0x2a45d8(0x218),new Map()),L(this,'_globalRevision',0x0),L(this,_0x2a45d8(0x28b),new Map()),L(this,_0x2a45d8(0x28e),new Map()),L(this,_0x2a45d8(0x191),new Map()),L(this,_0x2a45d8(0x318),new Map());}['registerView'](_0x5eff05){const _0x28b04c=_0x16d78d;return this[_0x28b04c(0x298)][_0x28b04c(0x21d)](_0x5eff05[_0x28b04c(0x14a)],_0x5eff05),_0x3f89c7(()=>this['_views']['delete'](_0x5eff05['type']));}['getProjection'](_0x4ef93d,_0x5a34c8,_0x525718){const _0x1fde27=_0x16d78d;var _0x5e6f35,_0x38aa7c,_0x5e890b,_0x109d28,_0x13e2dc;return C(_0x1fde27(0x287),()=>{const _0x1d297c=_0x1fde27;let _0x7fb45e=this[_0x1d297c(0x215)](_0x4ef93d,_0x5a34c8,_0x525718);if(_0x7fb45e)return _0x7fb45e;let _0x43e002=_0x4ef93d[_0x1d297c(0x1f7)][_0x5a34c8],_0x41127e=_0x43e002==null?void 0x0:_0x43e002['views'][_0x525718];if(!_0x43e002||!_0x41127e){var _0x4f2287;return this[_0x1d297c(0x285)](_0x4ef93d,_0x5a34c8,_0x525718,{'type':_0x1d297c(0x31b),'viewType':(_0x4f2287=_0x41127e==null?void 0x0:_0x41127e[_0x1d297c(0x14a)])==null?_0x4f7ceb[_0x1d297c(0x23d)]:_0x4f2287,'reason':_0x1d297c(0x2de)});}let _0x40f588;switch(_0x41127e[_0x1d297c(0x14a)]){case _0x4f7ceb[_0x1d297c(0x23d)]:_0x40f588=this[_0x1d297c(0xca)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0x18b)]:_0x40f588=this[_0x1d297c(0xdb)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0x183)]:_0x40f588=this[_0x1d297c(0x1b3)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0xb0)]:_0x40f588=this[_0x1d297c(0xf9)](_0x43e002,_0x41127e);break;case _0x4f7ceb['Gallery']:_0x40f588=this[_0x1d297c(0x26b)](_0x43e002,_0x41127e);break;default:_0x40f588={'type':_0x1d297c(0x31b),'viewType':_0x41127e[_0x1d297c(0x14a)],'reason':_0x1d297c(0x2de)};}return this[_0x1d297c(0x285)](_0x4ef93d,_0x5a34c8,_0x525718,_0x40f588);},{'tableId':_0x5a34c8,'viewId':_0x525718,'viewType':(_0x5e6f35=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null||(_0x5e6f35=_0x5e6f35[_0x1fde27(0x2b6)][_0x525718])==null?void 0x0:_0x5e6f35[_0x1fde27(0x14a)],'records':(_0x38aa7c=(_0x5e890b=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null||(_0x5e890b=_0x5e890b[_0x1fde27(0x158)])==null?void 0x0:_0x5e890b[_0x1fde27(0x1ee)])==null?Object[_0x1fde27(0x33a)]((_0x109d28=(_0x13e2dc=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null?void 0x0:_0x13e2dc[_0x1fde27(0x26d)])==null?{}:_0x109d28)['length']:_0x38aa7c});}[_0x16d78d(0xdc)](_0x5c5610,_0x105895,_0x2cfed7){const _0x1d5769=_0x16d78d;var _0x37a4f9,_0x55ab46,_0x4f0f59,_0x4f68b1;let _0x590d1b=_0x5c5610[_0x1d5769(0x1f7)][_0x105895],_0x4f6372=_0x590d1b==null?void 0x0:_0x590d1b['views'][_0x2cfed7];if(!_0x590d1b||!_0x4f6372)throw Error(_0x1d5769(0x310)+_0x2cfed7+'\x22.');let _0x137452=_0x402ab2=>!!_0x590d1b[_0x1d5769(0x30b)][_0x402ab2],_0x481bf8={..._0x4f6372,'filter':_0x4f6372[_0x1d5769(0x33b)]?{..._0x4f6372[_0x1d5769(0x33b)],'conditions':_0x4f6372[_0x1d5769(0x33b)][_0x1d5769(0xcc)][_0x1d5769(0x33b)](_0x1fb370=>_0x137452(_0x1fb370[_0x1d5769(0x375)]))}:_0x4f6372[_0x1d5769(0x33b)],'sort':(_0x37a4f9=_0x4f6372[_0x1d5769(0x194)])==null?void 0x0:_0x37a4f9[_0x1d5769(0x33b)](_0x3884ca=>_0x137452(_0x3884ca[_0x1d5769(0x375)])),'group':(_0x55ab46=_0x4f6372[_0x1d5769(0xcb)])==null?void 0x0:_0x55ab46[_0x1d5769(0x33b)](_0xcd3504=>_0x137452(_0xcd3504['fieldId'])),'fieldOrder':(_0x4f0f59=_0x4f6372[_0x1d5769(0x301)])==null?void 0x0:_0x4f0f59[_0x1d5769(0x33b)](_0x137452),'fieldSettings':Object[_0x1d5769(0x22a)](Object[_0x1d5769(0x1d7)]((_0x4f68b1=_0x4f6372['fieldSettings'])==null?{}:_0x4f68b1)[_0x1d5769(0x33b)](([_0x323ffe])=>_0x137452(_0x323ffe)))};if(_0x481bf8['type']===_0x1d5769(0x31e)){var _0x18ed08,_0x30dd8a,_0x2a6710,_0x3699f9;let _0x515d0d=(_0x18ed08=_0x481bf8[_0x1d5769(0x2ad)])==null?{}:_0x18ed08,_0x47782c=this[_0x1d5769(0x201)](_0x590d1b,_0x481bf8);_0x481bf8[_0x1d5769(0x2ad)]={..._0x515d0d,'groupFieldId':_0x47782c==null?_0x515d0d[_0x1d5769(0x2a3)]:_0x47782c,'coverFieldId':this[_0x1d5769(0x1e7)](_0x590d1b,_0x515d0d),'cardLayout':_0x515d0d[_0x1d5769(0x174)]===_0x1d5769(0xf7)?_0x1d5769(0xf7):_0x1d5769(0x265),'showFieldNames':_0x515d0d[_0x1d5769(0x233)]!==!0x1,'fieldSettings':Object['fromEntries'](Object['entries']((_0x30dd8a=_0x515d0d['fieldSettings'])==null?{}:_0x30dd8a)[_0x1d5769(0x33b)](([_0x6a2c94])=>_0x137452(_0x6a2c94))),'columnSettings':(_0x2a6710=_0x515d0d[_0x1d5769(0xc7)])==null?{}:_0x2a6710,'card':{...(_0x3699f9=_0x515d0d[_0x1d5769(0x1ca)])==null?{}:_0x3699f9,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x590d1b,_0x481bf8,_0x47782c==null?'':_0x47782c)}};}return{'repaired':JSON[_0x1d5769(0x1f5)](_0x481bf8)!==JSON['stringify'](_0x4f6372),'view':_0x481bf8};}[_0x16d78d(0x1b5)](){this['_globalRevision']++;}[_0x16d78d(0x264)](_0x30c616,_0x33241d,_0x1997d7){const _0x4ab782=_0x16d78d;var _0x53f1a7;let _0x11356f=this[_0x4ab782(0x30c)](_0x30c616)+0x1;this['_cellRevisions'][_0x4ab782(0x21d)](_0x30c616,_0x11356f);let _0x6e3a1b=(_0x53f1a7=this[_0x4ab782(0x191)][_0x4ab782(0x36e)](_0x30c616))==null?[]:_0x53f1a7;_0x6e3a1b[_0x4ab782(0xcd)]({'revision':_0x11356f,'recordId':_0x33241d,'fieldId':_0x1997d7}),this[_0x4ab782(0x191)]['set'](_0x30c616,_0x6e3a1b);}[_0x16d78d(0x334)](_0x439521,_0x4d1055){const _0x376826=_0x16d78d;this[_0x376826(0x2ec)](_0x439521);}[_0x16d78d(0x12c)](_0x43aa68,_0x5e1c0b){const _0x519b4d=_0x16d78d;this[_0x519b4d(0x318)][_0x519b4d(0x21d)](this[_0x519b4d(0x205)](_0x43aa68,_0x5e1c0b),this[_0x519b4d(0xe2)](_0x43aa68,_0x5e1c0b)+0x1);}[_0x16d78d(0x215)](_0x25849a,_0x3158ad,_0x49045f){const _0x3880b0=_0x16d78d;var _0x102d86;let _0x2feaaa=(_0x102d86=this['_projectionCache'][_0x3880b0(0x36e)](_0x25849a))==null?void 0x0:_0x102d86[_0x3880b0(0x36e)](this[_0x3880b0(0x209)](_0x3158ad,_0x49045f));return _0x2feaaa&&_0x2feaaa[_0x3880b0(0x17b)]===this[_0x3880b0(0x1b6)]&&_0x2feaaa[_0x3880b0(0x210)]===this[_0x3880b0(0x136)](_0x3158ad)&&_0x2feaaa['cellRevision']===this[_0x3880b0(0x30c)](_0x3158ad)&&_0x2feaaa[_0x3880b0(0x35e)]===this[_0x3880b0(0xe2)](_0x3158ad,_0x49045f)?_0x2feaaa[_0x3880b0(0x2cf)]:null;}[_0x16d78d(0x285)](_0x44ea07,_0x5a3edc,_0x2f3f2f,_0xa1e6eb){const _0x22dee2=_0x16d78d;let _0x1dfdb3=this[_0x22dee2(0x263)][_0x22dee2(0x36e)](_0x44ea07);return _0x1dfdb3||(_0x1dfdb3=new Map(),this[_0x22dee2(0x263)][_0x22dee2(0x21d)](_0x44ea07,_0x1dfdb3)),_0x1dfdb3[_0x22dee2(0x21d)](this[_0x22dee2(0x209)](_0x5a3edc,_0x2f3f2f),{'projection':_0xa1e6eb,'globalRevision':this[_0x22dee2(0x1b6)],'tableRevision':this[_0x22dee2(0x136)](_0x5a3edc),'cellRevision':this[_0x22dee2(0x30c)](_0x5a3edc),'viewRevision':this[_0x22dee2(0xe2)](_0x5a3edc,_0x2f3f2f)}),_0xa1e6eb;}[_0x16d78d(0x2ec)](_0x245367){const _0x1434c0=_0x16d78d;this['_tableRevisions'][_0x1434c0(0x21d)](_0x245367,this[_0x1434c0(0x136)](_0x245367)+0x1);}[_0x16d78d(0x136)](_0x1471fd){const _0x18cb57=_0x16d78d;var _0xa3fac4;return(_0xa3fac4=this[_0x18cb57(0x28b)]['get'](_0x1471fd))==null?0x0:_0xa3fac4;}[_0x16d78d(0x30c)](_0x172e5c){const _0x28313d=_0x16d78d;var _0x1b6631;return(_0x1b6631=this[_0x28313d(0x28e)][_0x28313d(0x36e)](_0x172e5c))==null?0x0:_0x1b6631;}['_getViewRevision'](_0x2e56ae,_0x2b807d){const _0xd816eb=_0x16d78d;var _0x5b9f96;return(_0x5b9f96=this[_0xd816eb(0x318)][_0xd816eb(0x36e)](this[_0xd816eb(0x205)](_0x2e56ae,_0x2b807d)))==null?0x0:_0x5b9f96;}[_0x16d78d(0x209)](_0x4d2ba2,_0x27285b){return _0x4d2ba2+'\x00'+_0x27285b;}['_viewRowsCacheKey'](_0x5a627d,_0x351910){return _0x5a627d+'\x00'+this['_rowTransformCacheSegment'](_0x351910);}[_0x16d78d(0x2ea)](_0x3c1737,_0x2d67b2,_0x37c527){const _0x1f4403=_0x16d78d;return _0x3c1737+'\x00'+this[_0x1f4403(0x193)](_0x2d67b2)+'\x00'+this[_0x1f4403(0x25b)](_0x37c527);}[_0x16d78d(0x193)](_0xcb7b16){const _0x1bf8b2=_0x16d78d;return _0xcb7b16?xn({'filter':yn(_0xcb7b16[_0x1bf8b2(0x33b)]),'sort':bn(_0xcb7b16[_0x1bf8b2(0x194)])}):_0x1bf8b2(0xfd);}[_0x16d78d(0x25b)](_0x98b6ad){const _0x5bfa5b=_0x16d78d;return xn(_0x98b6ad[_0x5bfa5b(0x187)](_0x122fba=>{const _0x161a61=_0x5bfa5b;var _0x484291;return{'fieldId':_0x122fba[_0x161a61(0x375)],'direction':(_0x484291=_0x122fba['direction'])==null?null:_0x484291};}));}[_0x16d78d(0x205)](_0x5e07b7,_0x12ac8a){return _0x5e07b7+'\x00'+_0x12ac8a;}[_0x16d78d(0xca)](_0x57b64d,_0x2160b6){const _0x2cf14b=_0x16d78d;let _0x44d1f5=this[_0x2cf14b(0x2ce)](_0x57b64d,_0x2160b6);return{'type':_0x4f7ceb[_0x2cf14b(0x23d)],'fields':this['_projectFields'](_0x57b64d,_0x2160b6),'rows':_0x44d1f5,'groups':this[_0x2cf14b(0x13f)](_0x57b64d,_0x2160b6,_0x44d1f5),'frozenFieldCount':typeof _0x2160b6[_0x2cf14b(0x2ad)][_0x2cf14b(0x330)]==_0x2cf14b(0x12e)?_0x2160b6[_0x2cf14b(0x2ad)]['frozenFieldCount']:0x0};}[_0x16d78d(0x1b3)](_0xe315b2,_0x2c0dd7){const _0x1e2f12=_0x16d78d;var _0x2b1d05;let _0x55b17a=this[_0x1e2f12(0x201)](_0xe315b2,_0x2c0dd7),_0x35100d=_0x55b17a?_0xe315b2[_0x1e2f12(0x30b)][_0x55b17a]:void 0x0;if(!_0x35100d)return{'type':'invalid','viewType':_0x4f7ceb[_0x1e2f12(0x183)],'reason':_0x1e2f12(0x154),'fieldId':_0x2c0dd7['config'][_0x1e2f12(0x2a3)]};let _0x41ccb4=this[_0x1e2f12(0x2ce)](_0xe315b2,_0x2c0dd7),_0x2b075c=this['_projectFields'](_0xe315b2,_0x2c0dd7),_0x3cc50f=(_0x2b1d05=_0x2c0dd7[_0x1e2f12(0x2ad)])==null?{}:_0x2b1d05,_0x5e86d2=this[_0x1e2f12(0x22d)](_0xe315b2,_0x2c0dd7,_0x35100d['id']),_0x4af071=new Map();return this[_0x1e2f12(0x144)](_0x35100d,_0x3cc50f)[_0x1e2f12(0x165)](_0x330153=>_0x4af071[_0x1e2f12(0x21d)](_0x330153[_0x1e2f12(0x29d)],{..._0x330153,'recordIds':[]})),_0x41ccb4[_0x1e2f12(0x165)](_0x28dec4=>{const _0x23ca6b=_0x1e2f12;this[_0x23ca6b(0x110)](_0x35100d,_0x28dec4[_0x23ca6b(0x10f)][_0x35100d['id']])[_0x23ca6b(0x165)](_0x14ba33=>{const _0x59bc93=_0x23ca6b;let _0x3f43a9=_0x4af071['get'](_0x14ba33),_0x4053e3=_0x3f43a9==null?{'key':_0x14ba33,'title':this[_0x59bc93(0x342)](_0x35100d,_0x14ba33,_0x3cc50f),'color':this[_0x59bc93(0xfb)](_0x35100d,_0x14ba33,_0x3cc50f),'recordIds':[]}:_0x3f43a9;_0x4053e3['recordIds']['push'](_0x28dec4[_0x59bc93(0x36c)]),_0x4af071[_0x59bc93(0x21d)](_0x14ba33,_0x4053e3);});}),{'type':_0x4f7ceb[_0x1e2f12(0x183)],'fields':_0x2b075c,'rows':_0x41ccb4,'groups':this['_projectGroups'](_0xe315b2,_0x2c0dd7,_0x41ccb4),'groupFieldId':_0x35100d['id'],'coverFieldId':this[_0x1e2f12(0x1e7)](_0xe315b2,_0x3cc50f),'cardLayout':_0x3cc50f[_0x1e2f12(0x174)]===_0x1e2f12(0xf7)?'compose':_0x1e2f12(0x265),'showFieldNames':_0x3cc50f[_0x1e2f12(0x233)]!==!0x1,'visibleCardFieldIds':_0x5e86d2,'lanes':Array['from'](_0x4af071[_0x1e2f12(0x10f)]())};}['_resolveKanbanGroupFieldId'](_0x551bb1,_0x2b1c4c){const _0x3bd052=_0x16d78d;var _0x3ba6f9;let _0x46a36d=(_0x3ba6f9=_0x2b1c4c[_0x3bd052(0x2ad)])==null?void 0x0:_0x3ba6f9[_0x3bd052(0x2a3)];return _0x46a36d&&this[_0x3bd052(0x1d4)](_0x551bb1,_0x46a36d)?_0x46a36d:this['_findKanbanGroupField'](_0x551bb1,_0x2d62d4=>this[_0x3bd052(0x166)](_0x2d62d4));}['_findKanbanGroupField'](_0x2a6572,_0x2c24c5){const _0x39502c=_0x16d78d;for(let _0x1ad183 of _0x2a6572[_0x39502c(0x301)]){let _0x5940e1=_0x2a6572[_0x39502c(0x30b)][_0x1ad183];if(_0x5940e1&&_0x2c24c5(_0x5940e1))return _0x5940e1['id'];}return null;}[_0x16d78d(0x1d4)](_0x4d5924,_0x590acd){const _0x7d849a=_0x16d78d;let _0x2abe4f=_0x4d5924[_0x7d849a(0x30b)][_0x590acd];return this['_isAllowedKanbanGroupField'](_0x2abe4f);}[_0x16d78d(0x166)](_0x117b6b){const _0x140d71=_0x16d78d;return!!_0x117b6b&&(_0x117b6b['type']===_0x3d85e5[_0x140d71(0xe8)]||_0x117b6b[_0x140d71(0x14a)]===_0x3d85e5['MultiSelect']||_0x117b6b['type']===_0x3d85e5[_0x140d71(0x336)]||_0x117b6b['type']===_0x3d85e5['Person']||_0x117b6b['type']===_0x3d85e5['Group']||_0x117b6b[_0x140d71(0x14a)]===_0x3d85e5['Checkbox']);}[_0x16d78d(0x14b)](_0x57e9b3){const _0x11b2b7=_0x16d78d;return _0x57e9b3[_0x11b2b7(0x14a)]===_0x3d85e5['SingleSelect']||_0x57e9b3['type']===_0x3d85e5[_0x11b2b7(0x23f)];}[_0x16d78d(0x1e7)](_0x1a209b,_0x55309f){const _0x57f533=_0x16d78d;var _0xf625b4,_0x511471,_0x2b41c8;let _0x535276=(_0xf625b4=(_0x511471=_0x55309f[_0x57f533(0x13e)])==null?(_0x2b41c8=_0x55309f['card'])==null?void 0x0:_0x2b41c8[_0x57f533(0x13e)]:_0x511471)==null?null:_0xf625b4;if(!_0x535276)return null;let _0x31f88e=_0x1a209b[_0x57f533(0x30b)][_0x535276];return _0x31f88e&&this['_capabilities'](_0x31f88e)[_0x57f533(0x260)]?_0x31f88e['id']:null;}[_0x16d78d(0x22d)](_0x5bded4,_0x137780,_0x11fdfc){const _0x4c4ae2=_0x16d78d;var _0x23410a,_0x18b9c6,_0x6231fe;let _0x2ac843=(_0x23410a=_0x137780[_0x4c4ae2(0x2ad)])==null?{}:_0x23410a,_0x312ecc=!((_0x18b9c6=_0x2ac843[_0x4c4ae2(0x1ca)])==null||(_0x18b9c6=_0x18b9c6[_0x4c4ae2(0x321)])==null)&&_0x18b9c6[_0x4c4ae2(0x1ee)]?_0x2ac843['card']['fieldIds']:U(_0x5bded4,[_0x5bded4[_0x4c4ae2(0xaf)],_0x11fdfc]),_0x8bbe99=(_0x6231fe=_0x2ac843[_0x4c4ae2(0x35b)])==null?{}:_0x6231fe;return _0x312ecc['filter'](_0x261451=>{const _0x3e1de1=_0x4c4ae2;var _0x368910,_0xef579e;let _0x4a6d97=_0x5bded4[_0x3e1de1(0x30b)][_0x261451];return!(!_0x4a6d97||_0x4a6d97['id']===_0x11fdfc||!((_0x368910=_0x137780[_0x3e1de1(0x35b)])==null||(_0x368910=_0x368910[_0x261451])==null)&&_0x368910['hidden']||(_0xef579e=_0x8bbe99[_0x261451])!=null&&_0xef579e[_0x3e1de1(0x2ef)]);})['sort']((_0x328842,_0x32ce79)=>{const _0x3f0c3a=_0x4c4ae2;var _0x895894,_0x4d777a,_0x43f57f,_0x36edf7;return((_0x895894=(_0x4d777a=_0x8bbe99[_0x328842])==null?void 0x0:_0x4d777a[_0x3f0c3a(0x31f)])==null?_0x312ecc['indexOf'](_0x328842):_0x895894)-((_0x43f57f=(_0x36edf7=_0x8bbe99[_0x32ce79])==null?void 0x0:_0x36edf7[_0x3f0c3a(0x31f)])==null?_0x312ecc[_0x3f0c3a(0x2f2)](_0x32ce79):_0x43f57f);});}['_getKanbanConfiguredLanes'](_0x47feed,_0x29ea94){const _0x40111f=_0x16d78d;var _0x1c199c,_0xc82a76;let _0x9b62e2=(Array[_0x40111f(0x352)]((_0x1c199c=_0x47feed[_0x40111f(0x2ad)])==null?void 0x0:_0x1c199c[_0x40111f(0x225)])?_0x47feed[_0x40111f(0x2ad)][_0x40111f(0x225)]:[])[_0x40111f(0x1cc)]((_0x21d126,_0x488417)=>{const _0x1de9f9=_0x40111f;var _0x7c578e,_0x32bcd9,_0x41325e,_0xd6afb4;if(_0x21d126==null)return[];let _0x44c2df=typeof _0x21d126==_0x1de9f9(0xc9)?{'id':_0x21d126,'name':_0x21d126,'color':void 0x0}:_0x21d126,_0x4f9e37=String((_0x7c578e=(_0x32bcd9=_0x44c2df['id'])==null?_0x44c2df['name']:_0x32bcd9)==null?_0x1de9f9(0x2d7)+(_0x488417+0x1):_0x7c578e);return[{'key':_0x4f9e37,'title':String((_0x41325e=(_0xd6afb4=_0x44c2df[_0x1de9f9(0x14c)])==null?_0x44c2df['id']:_0xd6afb4)==null?_0x4f9e37:_0x41325e),'color':this[_0x1de9f9(0xfb)](_0x47feed,_0x4f9e37,_0x29ea94)}];});return Object[_0x40111f(0x1d7)]((_0xc82a76=_0x29ea94[_0x40111f(0xc7)])==null?{}:_0xc82a76)[_0x40111f(0x165)](([_0x5c6bd7,_0x2cd92f])=>{const _0xe838c6=_0x40111f;var _0x230b86;_0x9b62e2[_0xe838c6(0x322)](_0x4d33df=>_0x4d33df[_0xe838c6(0x29d)]===_0x5c6bd7)||_0x9b62e2[_0xe838c6(0xcd)]({'key':_0x5c6bd7,'title':this[_0xe838c6(0x14b)](_0x47feed)?(_0x230b86=_0x2cd92f[_0xe838c6(0x275)])==null?this[_0xe838c6(0x342)](_0x47feed,_0x5c6bd7,_0x29ea94):_0x230b86:this['_kanbanLaneTitle'](_0x47feed,_0x5c6bd7,_0x29ea94),'color':this['_kanbanLaneColor'](_0x47feed,_0x5c6bd7,_0x29ea94)});}),_0x9b62e2;}[_0x16d78d(0x110)](_0x41922f,_0x4b09b9){const _0x2d5c02=_0x16d78d;let _0x43f62f=_0x5714b5=>{var _0x3e4900,_0x5aa825;let _0x468fb3=_0x5714b5==null?'':String(_0x5714b5);return!_0x468fb3||!this['_isColorfulKanbanGroupField'](_0x41922f)||(_0x3e4900=(_0x5aa825=J(_0x41922f,_0x468fb3))==null?void 0x0:_0x5aa825['id'])==null?_0x468fb3:_0x3e4900;};if(Array[_0x2d5c02(0x352)](_0x4b09b9)){let _0x75659=_0x4b09b9['map'](_0x43f62f)[_0x2d5c02(0x33b)](_0x3412fa=>_0x3412fa!=='');return _0x75659[_0x2d5c02(0x1ee)]?_0x75659:[''];}return[_0x43f62f(_0x4b09b9)];}[_0x16d78d(0x342)](_0x19332b,_0x51be1d,_0x1dbaf0){const _0x387fcd=_0x16d78d;var _0x1a8ef3;if(!_0x51be1d)return _0x387fcd(0x2c5);let _0x3ddaca=J(_0x19332b,_0x51be1d);return(_0x1a8ef3=_0x3ddaca==null?void 0x0:_0x3ddaca['name'])==null?_0x51be1d:_0x1a8ef3;}[_0x16d78d(0xfb)](_0x173ca3,_0x45835f,_0x3d6486){const _0x2852e5=_0x16d78d;var _0x123a65;if(this['_isColorfulKanbanGroupField'](_0x173ca3))return(_0x123a65=J(_0x173ca3,_0x45835f))==null?void 0x0:_0x123a65[_0x2852e5(0xf1)];}[_0x16d78d(0xf9)](_0x2d1721,_0x266a67){const _0x55a21e=_0x16d78d;var _0x4074b2;let _0x37b28e=this[_0x55a21e(0x309)](_0x2d1721,(_0x4074b2=_0x266a67['config'])==null?{}:_0x4074b2),_0x4c8552=_0x2d1721['fields'][_0x37b28e[_0x55a21e(0x2df)]];if(!_0x4c8552||_0x4c8552[_0x55a21e(0x14a)]!==_0x3d85e5[_0x55a21e(0x299)]||_0x4c8552[_0x55a21e(0xe4)]===!0x0||_0x4c8552[_0x55a21e(0x1a0)]===!0x0||!this['_capabilities'](_0x4c8552)[_0x55a21e(0xb6)])return{'type':_0x55a21e(0x31b),'viewType':_0x4f7ceb[_0x55a21e(0xb0)],'reason':_0x55a21e(0x2bf),'fieldId':_0x37b28e[_0x55a21e(0x2df)]};let _0x5a0cd2=_0x37b28e[_0x55a21e(0x2e0)]?_0x2d1721[_0x55a21e(0x30b)][_0x37b28e['endDateFieldId']]:void 0x0,_0x26a69d=this[_0x55a21e(0x2ce)](_0x2d1721,_0x266a67);return{'type':_0x4f7ceb[_0x55a21e(0xb0)],'config':_0x37b28e,'fields':this[_0x55a21e(0x160)](_0x2d1721,_0x266a67),'rows':_0x26a69d,'groups':this['_projectGroups'](_0x2d1721,_0x266a67,_0x26a69d),'events':_0x26a69d[_0x55a21e(0x1cc)](_0x1b2582=>{const _0x3a2a56=_0x55a21e;let _0x2f899a=A(_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e['startDateFieldId']]);if(!Number[_0x3a2a56(0xb7)](_0x2f899a))return[];let _0x11e317=_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e[_0x3a2a56(0x2df)]],_0xacc874=_0x37b28e[_0x3a2a56(0x2e0)]==null?void 0x0:_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e['endDateFieldId']],_0x41931c=_0x37b28e[_0x3a2a56(0x2e0)]==null?void 0x0:A(_0xacc874),_0x1b713c=Number['isFinite'](_0x41931c)?_0x41931c:void 0x0;return[{'recordId':_0x1b2582[_0x3a2a56(0x36c)],'title':this[_0x3a2a56(0x341)](_0x2d1721,_0x1b2582,_0x37b28e[_0x3a2a56(0x1bb)]),'start':_0x2f899a,'end':_0x1b713c,'color':this[_0x3a2a56(0x10e)](_0x2d1721,_0x1b2582,_0x37b28e),'startMs':_0x2f899a,'endMs':_0x1b713c,'allDay':this['_isAllDayCalendarEvent'](_0x4c8552,_0x5a0cd2,_0x11e317,_0xacc874),'fieldValues':_0x1b2582[_0x3a2a56(0x10f)]}];})};}[_0x16d78d(0x309)](_0x4edf91,_0xa73484){const _0x2af5e0=_0x16d78d;var _0xc5683f,_0x585b17;let _0x49b85c=this[_0x2af5e0(0x27d)](_0x4edf91,_0xa73484[_0x2af5e0(0x2df)]),_0x4df093=_0xa73484[_0x2af5e0(0x2e0)]&&this[_0x2af5e0(0x30f)](_0x4edf91,_0xa73484[_0x2af5e0(0x2e0)])?_0xa73484[_0x2af5e0(0x2e0)]:(_0xc5683f=this['_findCalendarDateFieldId'](_0x4edf91,_0x49b85c))==null?void 0x0:_0xc5683f,_0x41c956=_0xa73484[_0x2af5e0(0x1bb)]&&_0x4edf91[_0x2af5e0(0x30b)][_0xa73484[_0x2af5e0(0x1bb)]]?_0xa73484[_0x2af5e0(0x1bb)]:_0x4edf91['primaryFieldId'],_0x4a22bc=_0xa73484['mode']===_0x2af5e0(0x25e)||_0xa73484[_0x2af5e0(0x36f)]===_0x2af5e0(0xef)?_0xa73484[_0x2af5e0(0x36f)]:'month',_0x345e51=_0xa73484[_0x2af5e0(0xba)]===_0x2af5e0(0x11e)||_0xa73484[_0x2af5e0(0xba)]==='long'?_0xa73484[_0x2af5e0(0xba)]:_0x2af5e0(0x1be),_0x289465=typeof _0xa73484[_0x2af5e0(0x2f3)]==_0x2af5e0(0xc9)&&_0xa73484[_0x2af5e0(0x2f3)]['trim']()?_0xa73484['timeZone']:_0x2af5e0(0x2fb),_0x31770c=this[_0x2af5e0(0x238)](_0x4edf91,_0xa73484);return{..._0xa73484,'startDateFieldId':_0x49b85c,'endDateFieldId':_0x4df093,'titleFieldId':_0x41c956,'mode':_0x4a22bc,'timeslotSize':_0x345e51,'timeZone':_0x289465,'displayColor':_0x31770c,'fieldSettings':Object[_0x2af5e0(0x22a)](Object[_0x2af5e0(0x1d7)]((_0x585b17=_0xa73484[_0x2af5e0(0x35b)])==null?{}:_0x585b17)[_0x2af5e0(0x33b)](([_0x3d7e3c])=>!!_0x4edf91[_0x2af5e0(0x30b)][_0x3d7e3c]))};}['_resolveCalendarDateFieldId'](_0x26108f,_0x24c683){const _0x136033=_0x16d78d;var _0x15c782,_0x159075;return _0x24c683&&this[_0x136033(0x30f)](_0x26108f,_0x24c683)?_0x24c683:(_0x15c782=(_0x159075=this[_0x136033(0x132)](_0x26108f))==null?_0x24c683:_0x159075)==null?'':_0x15c782;}[_0x16d78d(0x132)](_0x3f489,_0x2cd977){const _0x12e9b7=_0x16d78d;for(let _0x15efd4 of _0x3f489[_0x12e9b7(0x301)])if(_0x15efd4!==_0x2cd977&&this[_0x12e9b7(0x30f)](_0x3f489,_0x15efd4))return _0x15efd4;return null;}[_0x16d78d(0x30f)](_0x44a847,_0x3983a8){const _0x1d0c98=_0x16d78d;let _0x15c152=_0x44a847['fields'][_0x3983a8];return!!_0x15c152&&_0x15c152[_0x1d0c98(0x14a)]===_0x3d85e5['Date']&&_0x15c152['readonly']!==!0x0&&_0x15c152[_0x1d0c98(0x1a0)]!==!0x0&&this[_0x1d0c98(0x12a)](_0x15c152)['usableAsCalendarDate'];}[_0x16d78d(0x238)](_0x29d5d4,_0x456ec8){const _0x1d0e84=_0x16d78d;let _0x5dfe7f=_0x456ec8[_0x1d0e84(0x308)];if((_0x5dfe7f==null?void 0x0:_0x5dfe7f[_0x1d0e84(0x14a)])==='selectField'){let _0x2ac35f=_0x29d5d4[_0x1d0e84(0x30b)][_0x5dfe7f[_0x1d0e84(0x375)]];if(_0x2ac35f&&_0x2ac35f[_0x1d0e84(0x14a)]===_0x3d85e5['SingleSelect'])return _0x5dfe7f;}if((_0x5dfe7f==null?void 0x0:_0x5dfe7f[_0x1d0e84(0x14a)])===_0x1d0e84(0x1e5)&&typeof _0x5dfe7f[_0x1d0e84(0xf1)]=='string'&&_0x5dfe7f[_0x1d0e84(0xf1)][_0x1d0e84(0x304)]())return{'type':'custom','color':_0x5dfe7f[_0x1d0e84(0xf1)]};if(_0x456ec8[_0x1d0e84(0x18c)]){let _0x508a7c=_0x29d5d4[_0x1d0e84(0x30b)][_0x456ec8[_0x1d0e84(0x18c)]];if(_0x508a7c&&_0x508a7c[_0x1d0e84(0x14a)]===_0x3d85e5[_0x1d0e84(0xe8)])return{'type':_0x1d0e84(0x2b5),'fieldId':_0x456ec8[_0x1d0e84(0x18c)]};}return{'type':_0x1d0e84(0x1e5),'color':_0x1d0e84(0x354)};}[_0x16d78d(0x10e)](_0x49b2de,_0x4eceac,_0x3827e4){const _0x3f3999=_0x16d78d;let _0x14d7f3=_0x3827e4['displayColor'];if((_0x14d7f3==null?void 0x0:_0x14d7f3[_0x3f3999(0x14a)])===_0x3f3999(0x2b5)){var _0x2e980e;let _0x52ef4a=_0x49b2de[_0x3f3999(0x30b)][_0x14d7f3[_0x3f3999(0x375)]];if(!_0x52ef4a)return;let _0x5d8edd=_0x4eceac[_0x3f3999(0x10f)][_0x14d7f3['fieldId']],_0x3cd09f=Array[_0x3f3999(0x352)](_0x5d8edd)?_0x5d8edd[0x0]:_0x5d8edd;return _0x3cd09f==null||(_0x2e980e=J(_0x52ef4a,String(_0x3cd09f)))==null?void 0x0:_0x2e980e[_0x3f3999(0xf1)];}if((_0x14d7f3==null?void 0x0:_0x14d7f3[_0x3f3999(0x14a)])===_0x3f3999(0x1e5))return _0x14d7f3[_0x3f3999(0xf1)];}[_0x16d78d(0xb4)](_0x1241a3,_0x16d77a,_0x405986,_0x1ccd59){const _0xd4b473=_0x16d78d;var _0x559677,_0x540630;let _0x228dfd=((_0x559677=_0x1241a3[_0xd4b473(0x2ad)])==null?void 0x0:_0x559677[_0xd4b473(0x108)])===!0x0,_0x35f1cd=(_0x16d77a==null||(_0x540630=_0x16d77a[_0xd4b473(0x2ad)])==null?void 0x0:_0x540630[_0xd4b473(0x108)])===!0x0;return!_0x228dfd&&!_0x35f1cd;}['_isAllDayGanttDateRange'](_0x583d71,_0x381c70){const _0x50de44=_0x16d78d;var _0xb48bff,_0x4f1ed6;let _0x306097=((_0xb48bff=_0x583d71[_0x50de44(0x2ad)])==null?void 0x0:_0xb48bff[_0x50de44(0x108)])===!0x0,_0x36bdc2=((_0x4f1ed6=_0x381c70[_0x50de44(0x2ad)])==null?void 0x0:_0x4f1ed6['includeTime'])===!0x0;return!_0x306097&&!_0x36bdc2;}['_buildGantt'](_0x7b6c41,_0x44f2fd){const _0x17997d=_0x16d78d;let _0xf3d3d1=this['_normalizeGanttConfig'](_0x7b6c41,_0x44f2fd[_0x17997d(0x2ad)]),_0x368764=_0x7b6c41[_0x17997d(0x30b)][_0xf3d3d1['startDateFieldId']];if(!_0x368764||_0x368764[_0x17997d(0x14a)]!==_0x3d85e5[_0x17997d(0x299)]||_0x368764[_0x17997d(0xe4)]===!0x0||_0x368764[_0x17997d(0x1a0)]===!0x0||!this['_capabilities'](_0x368764)['usableAsGanttStart'])return{'type':'invalid','viewType':_0x4f7ceb[_0x17997d(0x18b)],'reason':'invalidGanttStartField','fieldId':_0xf3d3d1['startDateFieldId']};let _0x3966ce=_0x7b6c41[_0x17997d(0x30b)][_0xf3d3d1[_0x17997d(0x2e0)]];if(!_0x3966ce||_0x3966ce[_0x17997d(0x14a)]!==_0x3d85e5[_0x17997d(0x299)]||_0x3966ce[_0x17997d(0xe4)]===!0x0||_0x3966ce[_0x17997d(0x1a0)]===!0x0||!this['_capabilities'](_0x3966ce)[_0x17997d(0x2fc)])return{'type':_0x17997d(0x31b),'viewType':_0x4f7ceb['Gantt'],'reason':_0x17997d(0x155),'fieldId':_0xf3d3d1[_0x17997d(0x2e0)]};let _0x1d610e=this[_0x17997d(0x32e)](_0x368764,_0x3966ce),_0x569d4b=this[_0x17997d(0x2ce)](_0x7b6c41,_0x44f2fd),_0x1ef280=_0x569d4b[_0x17997d(0x1cc)](_0x18aebc=>{const _0x5af62f=_0x17997d;var _0x2d1c4c;let _0x505469=A(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1['startDateFieldId']]),_0x483222=A(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1[_0x5af62f(0x2e0)]]);if(!Number[_0x5af62f(0xb7)](_0x505469)||!Number[_0x5af62f(0xb7)](_0x483222))return[];let _0x61f5a0=Math[_0x5af62f(0x252)](_0x505469,_0x483222),_0x50f077=Math[_0x5af62f(0x2f9)](_0x505469,_0x483222),_0x526346=_0xf3d3d1[_0x5af62f(0x2c7)]==null?void 0x0:Number(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1[_0x5af62f(0x2c7)]]);return[{'recordId':_0x18aebc['recordId'],'title':this['_title'](_0x7b6c41,_0x18aebc,_0xf3d3d1[_0x5af62f(0x1bb)]),'start':_0x61f5a0,'end':_0x50f077,'color':this[_0x5af62f(0x2d6)](_0x7b6c41,_0x18aebc,_0xf3d3d1),'progress':Number[_0x5af62f(0xb7)](_0x526346)?_0x526346:void 0x0,'workingDayCount':_0xf3d3d1[_0x5af62f(0xb5)]?Mn(_0x61f5a0,_0x50f077,_0xf3d3d1[_0x5af62f(0xdf)]):void 0x0,'dependencyRecordIds':this[_0x5af62f(0xe0)](_0x18aebc[_0x5af62f(0x10f)][(_0x2d1c4c=_0xf3d3d1[_0x5af62f(0x366)])==null?'':_0x2d1c4c])}];}),_0x2a0eaf=_0x1ef280[_0x17997d(0x1ee)]?K(Math[_0x17997d(0x252)](..._0x1ef280['map'](_0x328491=>_0x328491['start']))-0x5a*G):K(Date[_0x17997d(0x176)]()-0x5a*G),_0x3158b1=_0x1ef280[_0x17997d(0x1ee)]?K(Math[_0x17997d(0x2f9)](..._0x1ef280[_0x17997d(0x187)](_0x5114d2=>_0x5114d2[_0x17997d(0x2cb)]))+0x5b*G):K(Date[_0x17997d(0x176)]()+0x5b*G),_0x2853bf=wn(_0xf3d3d1[_0x17997d(0x358)],_0x2a0eaf,_0x3158b1,_0xf3d3d1[_0x17997d(0xb5)]?_0xf3d3d1[_0x17997d(0xdf)]:void 0x0);return{'type':_0x4f7ceb[_0x17997d(0x18b)],'fields':this['_projectFields'](_0x7b6c41,{..._0x44f2fd,'config':_0xf3d3d1}),'rows':_0x569d4b,'groups':this[_0x17997d(0x13f)](_0x7b6c41,_0x44f2fd,_0x569d4b),'config':_0xf3d3d1,'dateRangeAllDay':_0x1d610e,'timeline':{'scale':_0xf3d3d1[_0x17997d(0x358)],'start':_0x2a0eaf,'end':_0x3158b1,'unitWidth':_0x2853bf['unitWidth'],'majorHeaders':_0x2853bf['majorHeaders'],'columns':_0x2853bf['columns']},'bars':_0x1ef280};}[_0x16d78d(0x2a0)](_0x183df5,_0x25d2fb){const _0x48ce3f=_0x16d78d;var _0x16b542;let _0x15d32e=this[_0x48ce3f(0x2f7)](_0x183df5,_0x25d2fb['startDateFieldId'],_0x48ce3f(0xd9)),_0x4c597e=this[_0x48ce3f(0x2f7)](_0x183df5,_0x25d2fb['endDateFieldId'],_0x48ce3f(0x2cb))||_0x15d32e,_0x4ce3c2=_0x25d2fb[_0x48ce3f(0x1bb)]&&_0x183df5[_0x48ce3f(0x30b)][_0x25d2fb[_0x48ce3f(0x1bb)]]?_0x25d2fb[_0x48ce3f(0x1bb)]:_0x183df5['primaryFieldId'],_0x2ea4e4=_0x25d2fb['scale']===_0x48ce3f(0xef)||_0x25d2fb['scale']==='quarter'||_0x25d2fb[_0x48ce3f(0x358)]==='year'?_0x25d2fb[_0x48ce3f(0x358)]:'month',_0x30c8bb=Cn(_0x25d2fb['workingDays']);return{..._0x25d2fb,'startDateFieldId':_0x15d32e,'endDateFieldId':_0x4c597e,'titleFieldId':_0x4ce3c2,'scale':_0x2ea4e4,'leftPaneWidth':typeof _0x25d2fb['leftPaneWidth']==_0x48ce3f(0x12e)?_0x25d2fb[_0x48ce3f(0x261)]:void 0x0,'leftPaneCollapsed':_0x25d2fb[_0x48ce3f(0x14e)]===!0x0,'showTodayLine':_0x25d2fb[_0x48ce3f(0x2af)]!==!0x1,'displayColor':this[_0x48ce3f(0x27e)](_0x183df5,_0x25d2fb),'fieldSettings':Object['fromEntries'](Object[_0x48ce3f(0x1d7)]((_0x16b542=_0x25d2fb[_0x48ce3f(0x35b)])==null?{}:_0x16b542)[_0x48ce3f(0x33b)](([_0x13e44c])=>!!_0x183df5[_0x48ce3f(0x30b)][_0x13e44c])),'workingDaysOnly':_0x25d2fb[_0x48ce3f(0xb5)]===!0x0,'workingDays':_0x30c8bb};}[_0x16d78d(0x2f7)](_0x4e92d7,_0x2156fb,_0x5898da){const _0x1aa7a8=_0x16d78d;if(_0x2156fb&&this[_0x1aa7a8(0x17f)](_0x4e92d7,_0x2156fb,_0x5898da)||_0x2156fb)return _0x2156fb;for(let _0x24d51a of _0x4e92d7[_0x1aa7a8(0x301)])if(this[_0x1aa7a8(0x17f)](_0x4e92d7,_0x24d51a,_0x5898da))return _0x24d51a;return _0x2156fb==null?'':_0x2156fb;}[_0x16d78d(0x17f)](_0xca989b,_0x11efa4,_0x199dc1){const _0x538419=_0x16d78d;let _0x296b10=_0xca989b['fields'][_0x11efa4];if(!_0x296b10||_0x296b10['type']!==_0x3d85e5[_0x538419(0x299)]||_0x296b10[_0x538419(0xe4)]===!0x0||_0x296b10['system']===!0x0)return!0x1;let _0x550163=this['_capabilities'](_0x296b10);return _0x199dc1===_0x538419(0xd9)?_0x550163[_0x538419(0x167)]:_0x550163[_0x538419(0x2fc)];}[_0x16d78d(0x27e)](_0x2b697e,_0xb169d5){const _0x44bddc=_0x16d78d;let _0x3e9b61=_0xb169d5['displayColor'];if((_0x3e9b61==null?void 0x0:_0x3e9b61['type'])===_0x44bddc(0x2b5)){let _0x2cd0ca=_0x2b697e['fields'][_0x3e9b61[_0x44bddc(0x375)]];if(_0x2cd0ca&&_0x2cd0ca[_0x44bddc(0x14a)]===_0x3d85e5[_0x44bddc(0xe8)])return _0x3e9b61;}return(_0x3e9b61==null?void 0x0:_0x3e9b61['type'])==='conditional'&&Array[_0x44bddc(0x352)](_0x3e9b61[_0x44bddc(0x182)])?{'type':'conditional','rules':_0x3e9b61[_0x44bddc(0x182)][_0x44bddc(0x33b)](_0x295390=>!!_0x2b697e[_0x44bddc(0x30b)][_0x295390[_0x44bddc(0x375)]])}:(_0x3e9b61==null?void 0x0:_0x3e9b61[_0x44bddc(0x14a)])===_0x44bddc(0x1e5)&&typeof _0x3e9b61[_0x44bddc(0xf1)]==_0x44bddc(0xc9)&&_0x3e9b61['color'][_0x44bddc(0x304)]()?{'type':_0x44bddc(0x1e5),'color':_0x3e9b61['color']}:{'type':'custom','color':'#14b8a6'};}[_0x16d78d(0x2d6)](_0x8490cc,_0x52b71e,_0x4aca84){const _0x96a052=_0x16d78d;let _0x29a35d=_0x4aca84[_0x96a052(0x308)];if((_0x29a35d==null?void 0x0:_0x29a35d[_0x96a052(0x14a)])==='conditional'){let _0x58363a=_0x29a35d['rules'][_0x96a052(0x2db)](_0x17c366=>this[_0x96a052(0x35a)](_0x8490cc,_0x52b71e,_0x17c366));if(_0x58363a)return _0x58363a[_0x96a052(0xf1)];}if((_0x29a35d==null?void 0x0:_0x29a35d['type'])==='selectField'){let _0x221a3e=_0x8490cc[_0x96a052(0x30b)][_0x29a35d[_0x96a052(0x375)]];if(_0x221a3e){var _0x43bee5;let _0xe537a3=_0x52b71e[_0x96a052(0x10f)][_0x29a35d[_0x96a052(0x375)]],_0x3fb54a=Array['isArray'](_0xe537a3)?_0xe537a3[0x0]:_0xe537a3,_0x282e2c=_0x3fb54a==null||(_0x43bee5=J(_0x221a3e,String(_0x3fb54a)))==null?void 0x0:_0x43bee5['color'];if(_0x282e2c)return _0x282e2c;}}return(_0x29a35d==null?void 0x0:_0x29a35d[_0x96a052(0x14a)])==='custom'?_0x29a35d[_0x96a052(0xf1)]:_0x96a052(0x202);}[_0x16d78d(0x35a)](_0x260fff,_0x58b5f4,_0x1ac9ef){const _0x1e77aa=_0x16d78d;let _0x1b5504=_0x260fff[_0x1e77aa(0x30b)][_0x1ac9ef[_0x1e77aa(0x375)]];return _0x1b5504?dt(_0x58b5f4[_0x1e77aa(0x10f)][_0x1b5504['id']],_0x1ac9ef[_0x1e77aa(0x197)],_0x1ac9ef[_0x1e77aa(0x1f4)],_0x1b5504,{'dateMode':_0x1ac9ef[_0x1e77aa(0x327)]}):!0x1;}[_0x16d78d(0x26b)](_0x1cd9a1,_0x7a8f04){const _0x57ca27=_0x16d78d;var _0x32ed41,_0x2aa422,_0xd3080;let _0x465141=this['_projectRows'](_0x1cd9a1,_0x7a8f04),_0x56e074=this[_0x57ca27(0x281)](_0x1cd9a1,(_0x32ed41=_0x7a8f04[_0x57ca27(0x2ad)])==null?{}:_0x32ed41),_0x379040=this[_0x57ca27(0x160)](_0x1cd9a1,_0x7a8f04);return{'type':_0x4f7ceb[_0x57ca27(0x28c)],'fields':_0x379040,'rows':_0x465141,'groups':this[_0x57ca27(0x13f)](_0x1cd9a1,_0x7a8f04,_0x465141),'coverFieldId':_0x56e074[_0x57ca27(0x13e)],'cardLayout':(_0x2aa422=_0x56e074[_0x57ca27(0x174)])==null?_0x57ca27(0x265):_0x2aa422,'showFieldNames':_0x56e074[_0x57ca27(0x233)]!==!0x1,'visibleCardFieldIds':this[_0x57ca27(0x1a9)](_0x1cd9a1,_0x7a8f04,_0x56e074),'cardSize':(_0xd3080=_0x56e074['cardSize'])==null?'medium':_0xd3080,'cards':_0x465141[_0x57ca27(0x187)](_0x997fcb=>({'recordId':_0x997fcb['recordId'],'title':this[_0x57ca27(0x341)](_0x1cd9a1,_0x997fcb,_0x56e074[_0x57ca27(0x1ca)][_0x57ca27(0x1bb)]),'values':_0x997fcb[_0x57ca27(0x10f)]}))};}[_0x16d78d(0x281)](_0x5936c3,_0x523fb8){const _0xfa7955=_0x16d78d;var _0x154217,_0x55d9de;let _0xdd3a2=(_0x154217=_0x523fb8[_0xfa7955(0x1ca)])==null?{'fieldIds':[]}:_0x154217,_0x333c19=_0xdd3a2[_0xfa7955(0x1bb)]&&_0x5936c3['fields'][_0xdd3a2[_0xfa7955(0x1bb)]]?_0xdd3a2[_0xfa7955(0x1bb)]:cn(_0x5936c3),_0x3192c9=this[_0xfa7955(0x119)](_0x5936c3,_0x523fb8),_0x5a15f5=_0x523fb8['cardSize']===_0xfa7955(0x296)||_0x523fb8[_0xfa7955(0x286)]===_0xfa7955(0x29a)?_0x523fb8[_0xfa7955(0x286)]:'medium';return{..._0x523fb8,'coverFieldId':_0x3192c9,'cardLayout':_0x523fb8[_0xfa7955(0x174)]==='compose'?_0xfa7955(0xf7):_0xfa7955(0x265),'showFieldNames':_0x523fb8[_0xfa7955(0x233)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0xfa7955(0x1d7)]((_0x55d9de=_0x523fb8[_0xfa7955(0x35b)])==null?{}:_0x55d9de)[_0xfa7955(0x33b)](([_0x257ff0])=>!!_0x5936c3['fields'][_0x257ff0])),'card':{..._0xdd3a2,'titleFieldId':_0x333c19,'coverFieldId':_0x3192c9,'fieldIds':Array[_0xfa7955(0x352)](_0xdd3a2[_0xfa7955(0x321)])?_0xdd3a2[_0xfa7955(0x321)]:[]},'cardSize':_0x5a15f5};}[_0x16d78d(0x119)](_0x381373,_0x408764){const _0x40f470=_0x16d78d;var _0x3e8688,_0x4140b9,_0x2ffb9c;let _0x34af81=(_0x3e8688=(_0x4140b9=_0x408764[_0x40f470(0x13e)])==null?(_0x2ffb9c=_0x408764[_0x40f470(0x1ca)])==null?void 0x0:_0x2ffb9c[_0x40f470(0x13e)]:_0x4140b9)==null?null:_0x3e8688;if(!_0x34af81)return null;let _0x1c5153=_0x381373[_0x40f470(0x30b)][_0x34af81];return _0x1c5153&&this['_capabilities'](_0x1c5153)[_0x40f470(0x260)]?_0x1c5153['id']:null;}[_0x16d78d(0x1a9)](_0x3c2be7,_0x1d6025,_0x6677a1){const _0x404621=_0x16d78d;var _0x433009,_0x5df649,_0x31e993,_0x50fbc6,_0x444350,_0x15e174,_0x5f44b4;let _0x45264b=(_0x433009=_0x6677a1[_0x404621(0x35b)])==null?{}:_0x433009,_0x2edcc4=(_0x5df649=(_0x31e993=_0x6677a1[_0x404621(0x1ca)])==null?void 0x0:_0x31e993[_0x404621(0x1bb)])==null?cn(_0x3c2be7):_0x5df649,_0x4bfc2a=(_0x50fbc6=(_0x444350=_0x6677a1[_0x404621(0x13e)])==null?(_0x15e174=_0x6677a1[_0x404621(0x1ca)])==null?void 0x0:_0x15e174[_0x404621(0x13e)]:_0x444350)==null?null:_0x50fbc6,_0x32d229=!((_0x5f44b4=_0x6677a1[_0x404621(0x1ca)])==null||(_0x5f44b4=_0x5f44b4['fieldIds'])==null)&&_0x5f44b4[_0x404621(0x1ee)]?_0x6677a1[_0x404621(0x1ca)][_0x404621(0x321)]:U(_0x3c2be7,[_0x2edcc4,_0x4bfc2a,_0x3c2be7[_0x404621(0xaf)]]);return _0x32d229[_0x404621(0x33b)](_0x4e321f=>{const _0x19f124=_0x404621;var _0x377286,_0x31e9c0;let _0x8923df=_0x3c2be7[_0x19f124(0x30b)][_0x4e321f];return!(!_0x8923df||_0x8923df['id']===_0x2edcc4||_0x8923df['id']===_0x4bfc2a||!((_0x377286=_0x1d6025[_0x19f124(0x35b)])==null||(_0x377286=_0x377286[_0x4e321f])==null)&&_0x377286[_0x19f124(0x2ef)]||(_0x31e9c0=_0x45264b[_0x4e321f])!=null&&_0x31e9c0[_0x19f124(0x2ef)]);})[_0x404621(0x194)]((_0x140183,_0x63d1aa)=>{const _0xdb1578=_0x404621;var _0x28ac6c,_0x16045e,_0x252acc,_0x2e6182;return((_0x28ac6c=(_0x16045e=_0x45264b[_0x140183])==null?void 0x0:_0x16045e['order'])==null?_0x32d229[_0xdb1578(0x2f2)](_0x140183):_0x28ac6c)-((_0x252acc=(_0x2e6182=_0x45264b[_0x63d1aa])==null?void 0x0:_0x2e6182[_0xdb1578(0x31f)])==null?_0x32d229[_0xdb1578(0x2f2)](_0x63d1aa):_0x252acc);});}[_0x16d78d(0x160)](_0xd8347d,_0x4fe622){const _0xee8dbd=_0x16d78d;var _0x9ad9cd;return((_0x9ad9cd=_0x4fe622[_0xee8dbd(0x301)])!=null&&_0x9ad9cd[_0xee8dbd(0x1ee)]?_0x4fe622[_0xee8dbd(0x301)]:_0xd8347d[_0xee8dbd(0x301)])['flatMap'](_0x1fa9fd=>{const _0x2a3167=_0xee8dbd;var _0x2b8439,_0x1c21d4;let _0x4243e0=_0xd8347d[_0x2a3167(0x30b)][_0x1fa9fd],_0x38a07c=(_0x2b8439=(_0x1c21d4=_0x4fe622[_0x2a3167(0x35b)])==null?void 0x0:_0x1c21d4[_0x1fa9fd])==null?{}:_0x2b8439;return!_0x4243e0||_0x38a07c[_0x2a3167(0x2ef)]?[]:[{'id':_0x4243e0['id'],'name':_0x4243e0[_0x2a3167(0x14c)],'description':_0x4243e0[_0x2a3167(0xbc)],'type':_0x4243e0[_0x2a3167(0x14a)],'config':_0x4243e0[_0x2a3167(0x2ad)],'width':_0x38a07c[_0x2a3167(0x325)],'setting':_0x38a07c}];});}[_0x16d78d(0x2ce)](_0x10d4cf,_0x39ba26){const _0x13b174=_0x16d78d;var _0x4e1ebd,_0x2db34b,_0xe2b36a;return C(_0x13b174(0x19b),()=>{const _0x503111=_0x13b174;var _0x72b4bb,_0x516d01,_0x2c5764,_0x2821dd;let _0x240522=this[_0x503111(0x213)](_0x10d4cf),_0x9597=this[_0x503111(0x1d6)](_0x10d4cf['id'],_0x39ba26),_0x3f78e4=this['_getCellRevision'](_0x10d4cf['id']),_0x46deb4=this['_projectedViewRowsCache']['get'](_0x9597);if(_0x46deb4&&_0x46deb4[_0x503111(0x17b)]===this[_0x503111(0x1b6)]&&_0x46deb4['tableRevision']===this[_0x503111(0x136)](_0x10d4cf['id'])){if(_0x46deb4[_0x503111(0x112)]===_0x3f78e4&&_0x46deb4[_0x503111(0x1dc)]===_0x240522)return _0x46deb4['rows'];if(_0x46deb4[_0x503111(0x112)]!==_0x3f78e4&&!this[_0x503111(0x2ba)](_0x10d4cf['id'],_0x46deb4['cellRevision'],_0x3f78e4,this['_filterSortFieldIds'](_0x39ba26))){let _0x559127=_0x46deb4[_0x503111(0x221)]===_0x46deb4['baseRows']?_0x240522:this[_0x503111(0x102)](_0x46deb4[_0x503111(0x221)],_0x240522);if(_0x559127)return this['_projectedViewRowsCache'][_0x503111(0x21d)](_0x9597,{..._0x46deb4,'rows':_0x559127,'baseRows':_0x240522,'cellRevision':_0x3f78e4}),_0x559127;}}let _0x5f2eca=C(_0x503111(0xed),()=>this[_0x503111(0x121)](_0x10d4cf,_0x39ba26,this['_filterRows'](_0x10d4cf,_0x39ba26,_0x240522)),{'tableId':_0x10d4cf['id'],'viewId':_0x39ba26==null?void 0x0:_0x39ba26['id'],'viewType':_0x39ba26==null?void 0x0:_0x39ba26[_0x503111(0x14a)],'rows':_0x240522['length'],'filters':(_0x72b4bb=_0x39ba26==null||(_0x516d01=_0x39ba26[_0x503111(0x33b)])==null?void 0x0:_0x516d01[_0x503111(0xcc)]['length'])==null?0x0:_0x72b4bb,'sorts':(_0x2c5764=_0x39ba26==null||(_0x2821dd=_0x39ba26[_0x503111(0x194)])==null?void 0x0:_0x2821dd[_0x503111(0x1ee)])==null?0x0:_0x2c5764});return this[_0x503111(0x200)][_0x503111(0x21d)](_0x9597,{'table':_0x10d4cf,'rows':_0x5f2eca,'baseRows':_0x240522,'globalRevision':this[_0x503111(0x1b6)],'tableRevision':this[_0x503111(0x136)](_0x10d4cf['id']),'cellRevision':_0x3f78e4}),_0x5f2eca;},{'tableId':_0x10d4cf['id'],'viewId':_0x39ba26==null?void 0x0:_0x39ba26['id'],'viewType':_0x39ba26==null?void 0x0:_0x39ba26[_0x13b174(0x14a)],'records':(_0x4e1ebd=(_0x2db34b=_0x10d4cf[_0x13b174(0x158)])==null?void 0x0:_0x2db34b[_0x13b174(0x1ee)])==null?Object[_0x13b174(0x33a)]((_0xe2b36a=_0x10d4cf[_0x13b174(0x26d)])==null?{}:_0xe2b36a)[_0x13b174(0x1ee)]:_0x4e1ebd});}[_0x16d78d(0x213)](_0x26a139){const _0x192714=_0x16d78d;var _0x53fbc8,_0x402f01,_0x22d9fe;return C(_0x192714(0x106),()=>{const _0x55e909=_0x192714;var _0x8dca52;let _0x1961fe=this['_getCellRevision'](_0x26a139['id']),_0x4ee2db=this['_projectedRowsCache']['get'](_0x26a139['id']);if(_0x4ee2db&&_0x4ee2db['globalRevision']===this[_0x55e909(0x1b6)]&&_0x4ee2db[_0x55e909(0x210)]===this['_getTableRevision'](_0x26a139['id'])){if(_0x4ee2db[_0x55e909(0x112)]===_0x1961fe&&_0x4ee2db[_0x55e909(0xc2)]===_0x26a139)return _0x4ee2db[_0x55e909(0x221)];let _0x2a5c81=this[_0x55e909(0x148)](_0x26a139,_0x4ee2db,_0x1961fe);if(_0x2a5c81)return _0x2a5c81;}vn(_0x26a139)||w(_0x26a139);let _0x6ed106=(_0x8dca52=_0x26a139[_0x55e909(0x158)])!=null&&_0x8dca52[_0x55e909(0x1ee)]?_0x26a139[_0x55e909(0x158)]:Sn(_0x26a139[_0x55e909(0x26d)]),_0x83ea76=C(_0x55e909(0x317),()=>{const _0x3dc39b=_0x55e909;let _0x364707=[];for(let _0x4e11ac of _0x6ed106){let _0x267ae6=_0x26a139[_0x3dc39b(0x26d)][_0x4e11ac];if(!_0x267ae6)continue;let _0x2e0204={};for(let _0x2d30b2 of _0x26a139['fieldOrder'])_0x2e0204[_0x2d30b2]=we(_0x26a139,_0x267ae6['id'],_0x2d30b2);_0x364707['push']({'recordId':_0x267ae6['id'],'values':_0x2e0204});}return _0x364707;},{'tableId':_0x26a139['id'],'records':_0x6ed106['length'],'fields':_0x26a139[_0x55e909(0x301)][_0x55e909(0x1ee)]});return this[_0x55e909(0x1bc)]['set'](_0x26a139['id'],{'table':_0x26a139,'rows':_0x83ea76,'rowIndexById':_n(_0x83ea76),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55e909(0x136)](_0x26a139['id']),'cellRevision':_0x1961fe}),_0x83ea76;},{'tableId':_0x26a139['id'],'records':(_0x53fbc8=(_0x402f01=_0x26a139[_0x192714(0x158)])==null?void 0x0:_0x402f01[_0x192714(0x1ee)])==null?Object['keys']((_0x22d9fe=_0x26a139[_0x192714(0x26d)])==null?{}:_0x22d9fe)[_0x192714(0x1ee)]:_0x53fbc8,'fields':_0x26a139[_0x192714(0x301)][_0x192714(0x1ee)]});}[_0x16d78d(0x148)](_0x544e59,_0x842a06,_0x3cd8ce){const _0x46f9e9=_0x16d78d;var _0x24911b,_0x236eda;let _0x57cc1f=((_0x24911b=this[_0x46f9e9(0x191)]['get'](_0x544e59['id']))==null?[]:_0x24911b)[_0x46f9e9(0x33b)](_0x41afa8=>_0x41afa8[_0x46f9e9(0x32d)]>_0x842a06[_0x46f9e9(0x112)]&&_0x41afa8[_0x46f9e9(0x32d)]<=_0x3cd8ce);if(!_0x57cc1f[_0x46f9e9(0x1ee)])return _0x842a06['table']===_0x544e59?_0x842a06[_0x46f9e9(0x221)]:null;let _0xce6b95=_0x842a06['rows'],_0x34c347=new Map();for(let _0x222e15 of _0x57cc1f){let _0xc19494=_0x34c347[_0x46f9e9(0x36e)](_0x222e15[_0x46f9e9(0x36c)]);_0xc19494||(_0xc19494=new Set(),_0x34c347['set'](_0x222e15[_0x46f9e9(0x36c)],_0xc19494)),_0xc19494['add'](_0x222e15['fieldId']);}for(let [_0x590d64,_0x549389]of _0x34c347){if(!_0x544e59['records'][_0x590d64])return null;let _0x1364c3=_0x842a06['rowIndexById'][_0x46f9e9(0x36e)](_0x590d64);if(_0x1364c3==null)return null;_0xce6b95===_0x842a06[_0x46f9e9(0x221)]&&(_0xce6b95=[..._0x842a06[_0x46f9e9(0x221)]]);let _0x2a9f40=_0xce6b95[_0x1364c3],_0x242a77={..._0x2a9f40[_0x46f9e9(0x10f)]};_0x549389['forEach'](_0x5a4681=>{_0x242a77[_0x5a4681]=we(_0x544e59,_0x590d64,_0x5a4681);}),_0xce6b95[_0x1364c3]={..._0x2a9f40,'values':_0x242a77};}let _0x37dce4={'table':_0x544e59,'rows':_0xce6b95,'rowIndexById':_0x842a06[_0x46f9e9(0x113)],'globalRevision':this[_0x46f9e9(0x1b6)],'tableRevision':this[_0x46f9e9(0x136)](_0x544e59['id']),'cellRevision':_0x3cd8ce};return this[_0x46f9e9(0x1bc)][_0x46f9e9(0x21d)](_0x544e59['id'],_0x37dce4),this[_0x46f9e9(0x191)][_0x46f9e9(0x21d)](_0x544e59['id'],((_0x236eda=this[_0x46f9e9(0x191)]['get'](_0x544e59['id']))==null?[]:_0x236eda)['filter'](_0x33f058=>_0x33f058[_0x46f9e9(0x32d)]>Math[_0x46f9e9(0x2f9)](0x0,_0x3cd8ce-0x100))),_0xce6b95;}[_0x16d78d(0x102)](_0x3fd039,_0x4c2b6e){const _0x5bb0da=_0x16d78d;let _0x502ad0=new Map(_0x4c2b6e[_0x5bb0da(0x187)](_0x2f60ba=>[_0x2f60ba['recordId'],_0x2f60ba])),_0x2b2063=!0x1,_0x2a896c=_0x3fd039[_0x5bb0da(0x187)](_0xa53d8c=>{const _0x1679ce=_0x5bb0da;let _0x596408=_0x502ad0['get'](_0xa53d8c[_0x1679ce(0x36c)]);return _0x596408?_0x596408===_0xa53d8c?_0xa53d8c:(_0x2b2063=!0x0,_0x596408):_0xa53d8c;});return _0x2b2063?_0x2a896c:_0x3fd039;}[_0x16d78d(0x2ba)](_0x1640e4,_0x2c54c6,_0x1ad067,_0x1a3f01){const _0x58fd29=_0x16d78d;var _0x572204;return!_0x1a3f01['size']||_0x2c54c6===_0x1ad067?!0x1:_0x1ad067-_0x2c54c6>0x100?!0x0:((_0x572204=this['_cellInvalidations'][_0x58fd29(0x36e)](_0x1640e4))==null?[]:_0x572204)[_0x58fd29(0x322)](_0x5a97c4=>_0x5a97c4[_0x58fd29(0x32d)]>_0x2c54c6&&_0x5a97c4['revision']<=_0x1ad067&&_0x1a3f01[_0x58fd29(0x277)](_0x5a97c4[_0x58fd29(0x375)]));}[_0x16d78d(0xae)](_0x2befc6){const _0x2e6cc6=_0x16d78d;var _0x1596e0,_0x4389ab;let _0x11c022=new Set();return _0x2befc6==null||(_0x1596e0=_0x2befc6[_0x2e6cc6(0x33b)])==null||_0x1596e0[_0x2e6cc6(0xcc)]['forEach'](_0x303597=>_0x11c022[_0x2e6cc6(0xf0)](_0x303597[_0x2e6cc6(0x375)])),_0x2befc6==null||(_0x4389ab=_0x2befc6['sort'])==null||_0x4389ab[_0x2e6cc6(0x165)](_0x5a6c75=>_0x11c022[_0x2e6cc6(0xf0)](_0x5a6c75['fieldId'])),_0x11c022;}[_0x16d78d(0xfa)](_0x47b709){const _0x2adbc2=_0x16d78d;var _0x4f2af6;let _0x563945=this[_0x2adbc2(0xae)](_0x47b709);return(_0x4f2af6=_0x47b709['group'])==null||_0x4f2af6[_0x2adbc2(0x165)](_0x42423c=>_0x563945[_0x2adbc2(0xf0)](_0x42423c[_0x2adbc2(0x375)])),_0x563945;}['_filterRows'](_0x5cd404,_0x48cdcf,_0x255563){const _0x904fea=_0x16d78d;let _0x13a1df=_0x48cdcf==null?void 0x0:_0x48cdcf[_0x904fea(0x33b)];if(!(_0x13a1df!=null&&_0x13a1df['conditions'][_0x904fea(0x1ee)]))return _0x255563;let _0x4704be=_0x13a1df['conditions'][_0x904fea(0x33b)](_0x2ecc70=>!Hn(_0x2ecc70));return _0x4704be[_0x904fea(0x1ee)]?_0x255563[_0x904fea(0x33b)](_0x5005fa=>{const _0x11f0a9=_0x904fea;if(_0x13a1df[_0x11f0a9(0x17c)]===_0x5c5bdc['OR']){for(let _0x57a5c7 of _0x4704be){let _0x2354a6=_0x5cd404['fields'][_0x57a5c7['fieldId']];if(!_0x2354a6||this[_0x11f0a9(0x368)]['get'](_0x2354a6[_0x11f0a9(0x14a)])['filter'](_0x5005fa[_0x11f0a9(0x10f)][_0x2354a6['id']],_0x57a5c7['operator'],_0x57a5c7[_0x11f0a9(0x1f4)],_0x2354a6))return!0x0;}return!0x1;}for(let _0x8442a3 of _0x4704be){let _0x375c53=_0x5cd404['fields'][_0x8442a3['fieldId']];if(_0x375c53&&!this[_0x11f0a9(0x368)]['get'](_0x375c53['type'])[_0x11f0a9(0x33b)](_0x5005fa[_0x11f0a9(0x10f)][_0x375c53['id']],_0x8442a3[_0x11f0a9(0x197)],_0x8442a3[_0x11f0a9(0x1f4)],_0x375c53))return!0x1;}return!0x0;}):_0x255563;}[_0x16d78d(0x121)](_0x155735,_0x1a9348,_0x1638f4){const _0x2fc770=_0x16d78d;var _0x4d567e;let _0x5501ae=(_0x4d567e=_0x1a9348==null?void 0x0:_0x1a9348[_0x2fc770(0x194)])==null?[]:_0x4d567e;if(!_0x5501ae[_0x2fc770(0x1ee)])return _0x1638f4;let _0x40eb66=_0x5501ae['flatMap'](_0x21b954=>{const _0x36e9a2=_0x2fc770;let _0x373290=_0x155735['fields'][_0x21b954[_0x36e9a2(0x375)]];return _0x373290?[{..._0x21b954,'field':_0x373290}]:[];});return _0x40eb66['length']?this[_0x2fc770(0x1f8)](_0x40eb66)?this[_0x2fc770(0x2b7)](_0x40eb66,_0x1638f4):[..._0x1638f4][_0x2fc770(0x194)]((_0x3ab689,_0x35b0d5)=>{const _0x5c8779=_0x2fc770;for(let _0x1087b7 of _0x40eb66){let _0x5d875d=_0x1087b7[_0x5c8779(0x30d)],_0x2bfef5=this[_0x5c8779(0x368)]['get'](_0x5d875d[_0x5c8779(0x14a)])[_0x5c8779(0x2a4)](_0x3ab689['values'][_0x5d875d['id']],_0x35b0d5[_0x5c8779(0x10f)][_0x5d875d['id']],_0x5d875d);if(_0x2bfef5!==0x0)return _0x1087b7['direction']===_0x2bad6f[_0x5c8779(0x227)]?-_0x2bfef5:_0x2bfef5;}return 0x0;}):_0x1638f4;}[_0x16d78d(0x1f8)](_0x1fe03f){const _0x1cc5b0=_0x16d78d;return _0x1fe03f['every'](_0x18e43c=>mn[_0x1cc5b0(0x277)](_0x18e43c[_0x1cc5b0(0x30d)][_0x1cc5b0(0x14a)]));}['_fastSortRows'](_0x5d930f,_0x484e9c){const _0x41ff95=_0x16d78d;return _0x484e9c[_0x41ff95(0x187)]((_0x8ebc15,_0x2853a8)=>({'row':_0x8ebc15,'index':_0x2853a8,'keys':_0x5d930f[_0x41ff95(0x187)](_0x2f57a0=>_0x8ebc15[_0x41ff95(0x10f)][_0x2f57a0[_0x41ff95(0x375)]])}))[_0x41ff95(0x194)]((_0x2a2876,_0x32e66a)=>{const _0x46d08f=_0x41ff95;for(let _0x39bb1f=0x0;_0x39bb1f<_0x5d930f[_0x46d08f(0x1ee)];_0x39bb1f++){let _0x53043a=Vn(_0x2a2876[_0x46d08f(0x33a)][_0x39bb1f],_0x32e66a[_0x46d08f(0x33a)][_0x39bb1f]);if(_0x53043a!==0x0)return _0x5d930f[_0x39bb1f][_0x46d08f(0x2a6)]===_0x2bad6f[_0x46d08f(0x227)]?-_0x53043a:_0x53043a;}return _0x2a2876[_0x46d08f(0x1f6)]-_0x32e66a['index'];})[_0x41ff95(0x187)](_0x3ebbd9=>_0x3ebbd9[_0x41ff95(0x2ed)]);}[_0x16d78d(0x13f)](_0x185cbe,_0x2de690,_0x59e0ee){const _0x31a5c4=_0x16d78d;var _0x21e2a3,_0x39b8a7;return C(_0x31a5c4(0x320),()=>{const _0x49988a=_0x31a5c4;var _0x4549f5;if(!((_0x4549f5=_0x2de690[_0x49988a(0xcb)])!=null&&_0x4549f5['length']))return[];let _0x34a4c7=_0x2de690[_0x49988a(0xcb)][_0x49988a(0x33b)](_0x27d053=>_0x185cbe[_0x49988a(0x30b)][_0x27d053[_0x49988a(0x375)]]);if(!_0x34a4c7['length'])return[];let _0x2836c7=this[_0x49988a(0x2ea)](_0x185cbe['id'],_0x2de690,_0x34a4c7),_0x3cad22=this[_0x49988a(0x30c)](_0x185cbe['id']),_0x3fb8fd=this[_0x49988a(0x218)][_0x49988a(0x36e)](_0x2836c7);if(_0x3fb8fd&&_0x3fb8fd[_0x49988a(0x17b)]===this[_0x49988a(0x1b6)]&&_0x3fb8fd[_0x49988a(0x210)]===this[_0x49988a(0x136)](_0x185cbe['id'])){if(_0x3fb8fd[_0x49988a(0x112)]===_0x3cad22&&_0x3fb8fd['rows']===_0x59e0ee)return _0x3fb8fd[_0x49988a(0x143)];if(_0x3fb8fd['cellRevision']!==_0x3cad22&&!this[_0x49988a(0x2ba)](_0x185cbe['id'],_0x3fb8fd[_0x49988a(0x112)],_0x3cad22,this[_0x49988a(0xfa)](_0x2de690)))return this[_0x49988a(0x218)][_0x49988a(0x21d)](_0x2836c7,{..._0x3fb8fd,'rows':_0x59e0ee,'cellRevision':_0x3cad22}),_0x3fb8fd[_0x49988a(0x143)];}let _0x5cad72=new Map();for(let _0x4a6465 of _0x59e0ee){let _0x49312a=_0x5cad72,_0x2d7c40='';for(let _0x3e1d74=0x0;_0x3e1d74<_0x34a4c7['length'];_0x3e1d74++){let _0x358b51=_0x34a4c7[_0x3e1d74],_0x3d2c0b=_0x4a6465[_0x49988a(0x10f)][_0x358b51[_0x49988a(0x375)]],_0x534dab=gn(_0x3d2c0b),_0x31e90d=_0x358b51['fieldId']+'\x00'+_0x534dab,_0x5f3adf=_0x2d7c40+'/'+_0x358b51[_0x49988a(0x375)]+':'+_0x534dab,_0x59adff=_0x49312a['get'](_0x31e90d);_0x59adff||(_0x59adff={'key':_0x534dab,'value':_0x3d2c0b,'path':_0x5f3adf,'label':_0x534dab||_0x49988a(0x315),'fieldId':_0x358b51[_0x49988a(0x375)],'level':_0x3e1d74,'recordIds':[],'children':new Map()},_0x49312a[_0x49988a(0x21d)](_0x31e90d,_0x59adff)),_0x59adff[_0x49988a(0x104)][_0x49988a(0xcd)](_0x4a6465[_0x49988a(0x36c)]),_0x49312a=_0x59adff[_0x49988a(0x363)],_0x2d7c40=_0x5f3adf;}}let _0x236aba=this[_0x49988a(0x2ae)](_0x34a4c7,_0x5cad72,0x0);return this[_0x49988a(0x218)][_0x49988a(0x21d)](_0x2836c7,{'table':_0x185cbe,'rows':_0x59e0ee,'groups':_0x236aba,'globalRevision':this[_0x49988a(0x1b6)],'tableRevision':this[_0x49988a(0x136)](_0x185cbe['id']),'cellRevision':_0x3cad22}),_0x236aba;},{'tableId':_0x185cbe['id'],'viewId':_0x2de690['id'],'viewType':_0x2de690[_0x31a5c4(0x14a)],'rows':_0x59e0ee[_0x31a5c4(0x1ee)],'groupFields':(_0x21e2a3=(_0x39b8a7=_0x2de690['group'])==null?void 0x0:_0x39b8a7[_0x31a5c4(0x1ee)])==null?0x0:_0x21e2a3});}[_0x16d78d(0x2ae)](_0x1d118e,_0x36a03a,_0x30bf74){const _0x58251c=_0x16d78d;var _0xad3232;let _0x461a14=Array['from'](_0x36a03a[_0x58251c(0x10f)]()),_0x1effb1=(_0xad3232=_0x1d118e[_0x30bf74])==null?void 0x0:_0xad3232[_0x58251c(0x2a6)];return _0x1effb1&&_0x461a14[_0x58251c(0x194)]((_0x512612,_0x32ec66)=>{const _0x40461b=_0x58251c;let _0x4c0cf5=_0x512612[_0x40461b(0x29d)][_0x40461b(0x153)](_0x32ec66[_0x40461b(0x29d)]);return _0x1effb1===_0x2bad6f['DESC']?-_0x4c0cf5:_0x4c0cf5;}),_0x461a14[_0x58251c(0x187)](_0x321c18=>({'key':_0x321c18[_0x58251c(0x29d)],'value':_0x321c18['value'],'path':_0x321c18[_0x58251c(0x293)],'label':_0x321c18[_0x58251c(0x129)],'fieldId':_0x321c18[_0x58251c(0x375)],'level':_0x321c18[_0x58251c(0x259)],'recordIds':_0x321c18[_0x58251c(0x104)],'children':this[_0x58251c(0x2ae)](_0x1d118e,_0x321c18[_0x58251c(0x363)],_0x30bf74+0x1)}));}[_0x16d78d(0x341)](_0x11ef1c,_0x57d546,_0x45ca4c){const _0x4076af=_0x16d78d;let _0x569f98=_0x45ca4c==null?_0x11ef1c[_0x4076af(0xaf)]:_0x45ca4c,_0x5d4026=_0x57d546[_0x4076af(0x10f)][_0x569f98];return _0x5d4026==null?'':String(_0x5d4026);}[_0x16d78d(0xe0)](_0x41b0ca){const _0x2c3e28=_0x16d78d;if(Array[_0x2c3e28(0x352)](_0x41b0ca))return _0x41b0ca[_0x2c3e28(0x187)](String);if(typeof _0x41b0ca=='string'&&_0x41b0ca)return[_0x41b0ca];}[_0x16d78d(0x12a)](_0x22fbd2){const _0x2c6d08=_0x16d78d;return this['_fieldRegistry'][_0x2c6d08(0x36e)](_0x22fbd2[_0x2c6d08(0x14a)])[_0x2c6d08(0x33d)](_0x22fbd2);}};hn=B([z(0x0,_0x2aaad9($t))],hn);function gn(_0x5615cb){return _0x5615cb==null?'':String(_0x5615cb);}function _n(_0x293d24){const _0x2cecae=_0x16d78d;return new Map(_0x293d24[_0x2cecae(0x187)]((_0x2632ed,_0x274b50)=>[_0x2632ed[_0x2cecae(0x36c)],_0x274b50]));}function vn(_0x1b6235){const _0x224f35=_0x16d78d;return!!(Array[_0x224f35(0x352)](_0x1b6235[_0x224f35(0x158)])&&_0x1b6235['rowIndex']&&_0x1b6235[_0x224f35(0xd7)]&&_0x1b6235[_0x224f35(0x32b)]&&_0x1b6235[_0x224f35(0x15b)]&&_0x1b6235[_0x224f35(0x33e)]);}function yn(_0x98b577){const _0x42dec2=_0x16d78d;return _0x98b577!=null&&_0x98b577['conditions'][_0x42dec2(0x1ee)]?{'conjunction':_0x98b577['conjunction'],'conditions':_0x98b577[_0x42dec2(0xcc)][_0x42dec2(0x187)](_0x469224=>({'fieldId':_0x469224[_0x42dec2(0x375)],'operator':_0x469224[_0x42dec2(0x197)],'operand':_0x469224[_0x42dec2(0x1f4)]}))}:null;}function bn(_0x4a0dff){const _0x1de07f=_0x16d78d;return _0x4a0dff!=null&&_0x4a0dff[_0x1de07f(0x1ee)]?_0x4a0dff[_0x1de07f(0x187)](_0x4f0e92=>({'fieldId':_0x4f0e92[_0x1de07f(0x375)],'direction':_0x4f0e92[_0x1de07f(0x2a6)]})):null;}function xn(_0x59bf64){const _0x1e8fe8=_0x16d78d;if(typeof _0x59bf64!='object'||!_0x59bf64){var _0x12576b;return(_0x12576b=JSON[_0x1e8fe8(0x1f5)](_0x59bf64))==null?_0x1e8fe8(0x34f):_0x12576b;}if(Array[_0x1e8fe8(0x352)](_0x59bf64))return'['+_0x59bf64[_0x1e8fe8(0x187)](xn)[_0x1e8fe8(0x115)](',')+']';let _0x2fbc25=_0x59bf64;return'{'+Object[_0x1e8fe8(0x33a)](_0x2fbc25)['sort']()[_0x1e8fe8(0x187)](_0x4752fe=>JSON['stringify'](_0x4752fe)+':'+xn(_0x2fbc25[_0x4752fe]))[_0x1e8fe8(0x115)](',')+'}';}function Sn(_0x14af34){const _0x161b30=_0x16d78d;let _0x53096e=Object[_0x161b30(0x10f)](_0x14af34)['sort']((_0x5355fb,_0x199d1b)=>_0x5355fb[_0x161b30(0x266)][_0x161b30(0x153)](_0x199d1b[_0x161b30(0x266)])),_0x2c1a72=[];for(let _0x4e057d of _0x53096e)_0x2c1a72['push'](_0x4e057d['id']);return _0x2c1a72;}const G=0x5a0*0x3c*0x3e8;function Cn(_0x4cc1aa){const _0x46fb43=_0x16d78d;return{'weekdays':Array[_0x46fb43(0x352)](_0x4cc1aa==null?void 0x0:_0x4cc1aa['weekdays'])&&_0x4cc1aa['weekdays'][_0x46fb43(0x1ee)]?[...new Set(_0x4cc1aa[_0x46fb43(0x22e)][_0x46fb43(0x33b)](_0x5f1b61=>Number[_0x46fb43(0x2b9)](_0x5f1b61)&&_0x5f1b61>=0x1&&_0x5f1b61<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x46fb43(0x352)](_0x4cc1aa==null?void 0x0:_0x4cc1aa[_0x46fb43(0x268)])?_0x4cc1aa[_0x46fb43(0x268)][_0x46fb43(0x1cc)](_0x3c43d4=>!_0x3c43d4||!Number['isFinite'](_0x3c43d4[_0x46fb43(0x21e)])?[]:[{'id':String(_0x3c43d4['id']||_0x46fb43(0x2bb)+_0x3c43d4[_0x46fb43(0x21e)]),'date':K(Number(_0x3c43d4[_0x46fb43(0x21e)])),'name':String(_0x3c43d4[_0x46fb43(0x14c)]||_0x46fb43(0x11c)),'type':_0x3c43d4[_0x46fb43(0x14a)]==='working'?_0x46fb43(0x226):_0x46fb43(0x180)}]):[]};}function wn(_0x460d2a,_0x4d1923,_0x463dc1,_0x54f820){let _0x45875b=On(_0x460d2a,_0x4d1923),_0x3d79b5=kn(_0x460d2a,_0x463dc1),_0x107533=Tn(_0x460d2a,_0x45875b,_0x3d79b5,_0x54f820);return{'scale':_0x460d2a,'start':_0x45875b,'end':_0x3d79b5,'unitWidth':Dn(_0x460d2a),'majorHeaders':En(_0x460d2a,_0x45875b,_0x3d79b5),'columns':_0x107533};}function Tn(_0x208ab1,_0x5c9f1b,_0x1ec03a,_0x5ca05b){const _0xedfe46=_0x16d78d;let _0x42144c=[],_0x11978d=_0x5c9f1b;for(;_0x11978d<_0x1ec03a;){let _0x4df6ba=_0x208ab1===_0xedfe46(0x203)?q(_0x11978d,0x7):_0x208ab1===_0xedfe46(0x319)?Rn(_0x11978d,0x1):q(_0x11978d,0x1);_0x42144c[_0xedfe46(0xcd)]({'id':_0x208ab1+'-'+_0x11978d,'label':An(_0x208ab1,_0x11978d,_0x4df6ba),'majorLabel':jn(_0x208ab1,_0x11978d),'start':_0x11978d,'end':_0x4df6ba,'nonWorking':Nn(_0x11978d,_0x4df6ba,_0x5ca05b)}),_0x11978d=_0x4df6ba;}return _0x42144c;}function En(_0x3573bd,_0x3d910c,_0x5901ea){const _0x5f0708=_0x16d78d;let _0x22105b=[],_0x30bd87=_0x3573bd==='year'?Ln(_0x3d910c):In(_0x3d910c);for(;_0x30bd87<_0x5901ea;){let _0x433f56=_0x3573bd===_0x5f0708(0x319)?zn(_0x30bd87,0x1):Rn(_0x30bd87,0x1);_0x22105b[_0x5f0708(0xcd)]({'id':_0x5f0708(0x32c)+_0x30bd87,'label':_0x3573bd===_0x5f0708(0x319)?String(new Date(_0x30bd87)['getUTCFullYear']()):Bn(_0x30bd87),'start':_0x30bd87,'end':_0x433f56}),_0x30bd87=_0x433f56;}return _0x22105b;}function Dn(_0x106ff2){const _0x58f0a9=_0x16d78d;switch(_0x106ff2){case _0x58f0a9(0xef):return 0xac;case _0x58f0a9(0x203):return 0xac;case'year':return 0x88;default:return 0x56;}}function On(_0x3c47b2,_0x30db34){const _0x4975e9=_0x16d78d;return _0x3c47b2===_0x4975e9(0x319)?Ln(_0x30db34):_0x3c47b2===_0x4975e9(0x203)?Fn(_0x30db34):K(_0x30db34);}function kn(_0x4c7ec3,_0x4a534d){const _0x5ac915=_0x16d78d;return _0x4c7ec3===_0x5ac915(0x319)?zn(Ln(_0x4a534d),0x1):_0x4c7ec3==='quarter'?q(Fn(_0x4a534d),0x7):q(K(_0x4a534d),0x1);}function An(_0x139fee,_0x17de86,_0x35c265){const _0x5cb958=_0x16d78d;let _0x4f3256=new Date(_0x17de86);return _0x139fee==='quarter'?_0x4f3256[_0x5cb958(0x2c2)]()+'-'+new Date(_0x35c265-G)['getUTCDate']():_0x139fee===_0x5cb958(0x319)?_0x4f3256[_0x5cb958(0x32a)](_0x5cb958(0x267),{'month':_0x5cb958(0x11e),'timeZone':_0x5cb958(0x372)}):String(_0x4f3256[_0x5cb958(0x2c2)]());}function jn(_0x22b4f5,_0x40b4ac){const _0x341170=_0x16d78d;return _0x22b4f5===_0x341170(0x319)?String(new Date(_0x40b4ac)[_0x341170(0x1a1)]()):Bn(_0x40b4ac);}function Mn(_0x3bf985,_0x3e3301,_0x18c365){let _0x4b920b=Cn(_0x18c365),_0xabc28=0x0;for(let _0x5419ea=K(_0x3bf985);_0x5419ea<=K(_0x3e3301);_0x5419ea=q(_0x5419ea,0x1))Pn(_0x5419ea,_0x4b920b)||_0xabc28++;return _0xabc28;}function Nn(_0x47f6fb,_0x369a5b,_0x119145){if(!_0x119145)return!0x1;let _0x2986a0=Cn(_0x119145);for(let _0x3f423b=K(_0x47f6fb);_0x3f423b<_0x369a5b;_0x3f423b=q(_0x3f423b,0x1))if(!Pn(_0x3f423b,_0x2986a0))return!0x1;return!0x0;}function Pn(_0x53d23e,_0xb3d975){const _0x5004fa=_0x16d78d;let _0x29f0b8=K(_0x53d23e),_0xa88dc8=_0xb3d975[_0x5004fa(0x268)][_0x5004fa(0x2db)](_0x38008f=>K(_0x38008f[_0x5004fa(0x21e)])===_0x29f0b8);if(_0xa88dc8)return _0xa88dc8['type']==='off';let _0x1d5193=new Date(_0x29f0b8)[_0x5004fa(0x172)](),_0x52229b=_0x1d5193===0x0?0x7:_0x1d5193;return!_0xb3d975[_0x5004fa(0x22e)]['includes'](_0x52229b);}function K(_0x162779){const _0x40951e=_0x16d78d;let _0x196cfa=new Date(_0x162779);return Date[_0x40951e(0x372)](_0x196cfa['getUTCFullYear'](),_0x196cfa[_0x40951e(0x2f4)](),_0x196cfa['getUTCDate']());}function Fn(_0x2b081e){const _0x36ce30=_0x16d78d;let _0x3de302=K(_0x2b081e),_0x61a7ee=new Date(_0x3de302)[_0x36ce30(0x172)]();return q(_0x3de302,-(_0x61a7ee===0x0?0x6:_0x61a7ee-0x1));}function In(_0x4a723f){const _0x116367=_0x16d78d;let _0x3a0086=new Date(_0x4a723f);return Date[_0x116367(0x372)](_0x3a0086['getUTCFullYear'](),_0x3a0086[_0x116367(0x2f4)](),0x1);}function Ln(_0x4d60a4){const _0x5826b4=_0x16d78d;let _0x255d3d=new Date(_0x4d60a4);return Date[_0x5826b4(0x372)](_0x255d3d['getUTCFullYear'](),0x0,0x1);}function q(_0x361faa,_0x353f7b){return _0x361faa+_0x353f7b*G;}function Rn(_0xb43930,_0x3ac611){const _0x553b94=_0x16d78d;let _0x266b13=new Date(_0xb43930);return Date[_0x553b94(0x372)](_0x266b13[_0x553b94(0x1a1)](),_0x266b13[_0x553b94(0x2f4)]()+_0x3ac611,0x1);}function zn(_0x2eb8de,_0x2370f9){let _0x555e96=new Date(_0x2eb8de);return Date['UTC'](_0x555e96['getUTCFullYear']()+_0x2370f9,0x0,0x1);}function Bn(_0x2e1705){const _0x5d0b27=_0x16d78d;let _0x532498=new Date(_0x2e1705);return _0x532498[_0x5d0b27(0x32a)](_0x5d0b27(0x267),{'month':_0x5d0b27(0x11e),'timeZone':_0x5d0b27(0x372)})+'\x20'+_0x532498['getUTCFullYear']();}function Vn(_0x44d034,_0x1d7778){const _0xd25fec=_0x16d78d;if(_0x44d034==null&&_0x1d7778==null)return 0x0;if(_0x44d034==null)return-0x1;if(_0x1d7778==null)return 0x1;if(typeof _0x44d034==_0xd25fec(0x288)||typeof _0x1d7778==_0xd25fec(0x288))return Number(_0x44d034===!0x0)-Number(_0x1d7778===!0x0);let _0x18d81d=Number(_0x44d034),_0x2b6c91=Number(_0x1d7778),_0x4b5e9a=Number['isFinite'](_0x18d81d),_0x48ee75=Number[_0xd25fec(0xb7)](_0x2b6c91);return _0x4b5e9a&&_0x48ee75?_0x18d81d-_0x2b6c91:_0x4b5e9a?0x1:_0x48ee75?-0x1:String(_0x44d034)[_0xd25fec(0x153)](String(_0x1d7778));}function Hn(_0x2a2af4){const _0x1f4f39=_0x16d78d;if(_0x2a2af4[_0x1f4f39(0x197)]!=='is'&&_0x2a2af4[_0x1f4f39(0x197)]!==_0x1f4f39(0x1cf))return!0x1;let _0x451fa6=_0x2a2af4[_0x1f4f39(0x1f4)];return _0x451fa6==null?!0x0:typeof _0x451fa6==_0x1f4f39(0xc9)?_0x451fa6[_0x1f4f39(0x304)]()==='':Array[_0x1f4f39(0x352)](_0x451fa6)?_0x451fa6[_0x1f4f39(0x1ee)]===0x0:!0x1;}function J(_0x1112ab,_0x3a1ba2){const _0x51b24f=_0x16d78d;var _0x47f313;let _0x228ae0=Array[_0x51b24f(0x352)]((_0x47f313=_0x1112ab[_0x51b24f(0x2ad)])==null?void 0x0:_0x47f313[_0x51b24f(0x225)])?_0x1112ab['config']['options']:[];for(let _0x11da71 of _0x228ae0){var _0x4a6980,_0x17cb21,_0x9022b4,_0x2f24e4;if(_0x11da71==null)continue;if(typeof _0x11da71==_0x51b24f(0xc9)){if(_0x11da71===_0x3a1ba2)return{'id':_0x11da71,'name':_0x11da71};continue;}let _0x511962=_0x11da71,_0xe1c7b4=String((_0x4a6980=(_0x17cb21=_0x511962['id'])==null?_0x511962[_0x51b24f(0x14c)]:_0x17cb21)==null?'':_0x4a6980),_0x3ba283=String((_0x9022b4=(_0x2f24e4=_0x511962[_0x51b24f(0x14c)])==null?_0x511962['id']:_0x2f24e4)==null?_0xe1c7b4:_0x9022b4);if(_0xe1c7b4===_0x3a1ba2||_0x3ba283===_0x3a1ba2)return{'id':_0xe1c7b4,'name':_0x3ba283,'color':_0x511962[_0x51b24f(0xf1)]==null?void 0x0:String(_0x511962[_0x51b24f(0xf1)])};}return null;}const Y={'id':'base.mutation.apply-base-json1','type':_0x567a9a['MUTATION'],'handler'(_0x581dd5,_0x2e9ded){const _0x2c047c=_0x16d78d;let {unitId:_0x355a5c,op:_0x32a7bb}=_0x2e9ded,_0x35672b=_0x581dd5[_0x2c047c(0x36e)](_0x4c4561)[_0x2c047c(0xf6)](_0x355a5c,_0x45db82[_0x2c047c(0x1ed)]);if(!_0x35672b)return!0x1;let _0x6d91c7=_0x35672b[_0x2c047c(0x254)](),_0x550253=new D(),_0x4cd7db=_0x550253[_0x2c047c(0x1cb)](_0x32a7bb),_0x3e9b34=_0x550253[_0x2c047c(0x1e4)](_0x6d91c7,_0x32a7bb);return _0x35672b['setSnapshot'](_0x3e9b34),Un(_0x3e9b34,_0x4cd7db,_0x581dd5[_0x2c047c(0x36e)](W)),!0x0;}};function Un(_0x48fbba,_0x440666,_0x2953f6){const _0x307499=_0x16d78d;let _0x57cbba=new Set();for(let _0x4edb2a of _0x440666){if(_0x4edb2a[_0x307499(0x26e)]!==_0x307499(0x1aa)){_0x2953f6[_0x307499(0x1b5)]();return;}let _0x528911=Wn(_0x48fbba,_0x4edb2a);if(!_0x528911){_0x2953f6[_0x307499(0x1b5)]();return;}let _0x2c6aa8=_0x528911['tableId']+'\x00'+_0x528911[_0x307499(0x36c)]+'\x00'+_0x528911[_0x307499(0x375)];_0x57cbba['has'](_0x2c6aa8)||(_0x57cbba[_0x307499(0xf0)](_0x2c6aa8),_0x2953f6[_0x307499(0x264)](_0x528911[_0x307499(0x21c)],_0x528911[_0x307499(0x36c)],_0x528911['fieldId']));}}function Wn(_0x3f4d5b,_0x390818){const _0x19197e=_0x16d78d;var _0x27024c,_0x1ad879;if(!_0x390818[_0x19197e(0x21c)])return null;if(_0x390818[_0x19197e(0x36c)]&&_0x390818[_0x19197e(0x375)])return{'tableId':_0x390818[_0x19197e(0x21c)],'recordId':_0x390818['recordId'],'fieldId':_0x390818[_0x19197e(0x375)]};if(_0x390818['row']==null||_0x390818[_0x19197e(0x2b1)]==null)return null;let _0x33572c=_0x3f4d5b[_0x19197e(0x1f7)][_0x390818[_0x19197e(0x21c)]],_0x5711c7=_0x33572c==null||(_0x27024c=_0x33572c[_0x19197e(0xd7)])==null?void 0x0:_0x27024c[_0x390818['row']],_0x5a3316=_0x33572c==null||(_0x1ad879=_0x33572c[_0x19197e(0x15b)])==null?void 0x0:_0x1ad879[_0x390818[_0x19197e(0x2b1)]];return!_0x5711c7||!_0x5a3316?null:{'tableId':_0x390818[_0x19197e(0x21c)],'recordId':_0x5711c7,'fieldId':_0x5a3316};}function X(_0x214f39,_0x43f3c5,_0x164238){const _0x4fed05=_0x16d78d;let _0x27b404=_0x214f39[_0x4fed05(0x254)]()[_0x4fed05(0x1f7)][_0x43f3c5];if(!_0x27b404)return!0x1;let {viewIds:_0x9e284a,fieldIds:_0x401b84,recordIds:_0x237631}=_0x164238||{};if(_0x9e284a){for(let _0x3ae429 of _0x9e284a)if(!_0x27b404[_0x4fed05(0x2b6)][_0x3ae429])return!0x1;}if(_0x401b84){for(let _0x38f65b of _0x401b84)if(!_0x27b404['fields'][_0x38f65b])return!0x1;}if(_0x237631){for(let _0xe08ce9 of _0x237631)if(!_0x27b404[_0x4fed05(0x26d)][_0xe08ce9])return!0x1;}return!0x0;}const Gn={'id':'base.command.batch-create-base-records','type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x5538fd,_0x26080c){const _0xcf5be5=_0x16d78d;if(!_0x26080c)return!0x1;let _0x117edb=_0x5538fd[_0xcf5be5(0x36e)](_0x4c4561),{unitId:_0xc254bb,tableId:_0xfea279,records:_0x31e6cb}=_0x26080c,_0x4fde9d=_0x117edb[_0xcf5be5(0xf6)](_0xc254bb,_0x45db82[_0xcf5be5(0x1ed)]),_0x5bff74=_0x31e6cb['map'](_0x5e5216=>_0x5e5216['id']);if(!_0x4fde9d||!X(_0x4fde9d,_0xfea279)||new Set(_0x5bff74)[_0xcf5be5(0x356)]!==_0x5bff74[_0xcf5be5(0x1ee)]||_0x5bff74[_0xcf5be5(0x322)](_0xb18cf9=>_0x4fde9d[_0xcf5be5(0x254)]()[_0xcf5be5(0x1f7)][_0xfea279][_0xcf5be5(0x26d)][_0xb18cf9]))return!0x1;let _0x586bff=_0x5538fd['get'](_0x4bf63b),_0x55f4c5=_0x5538fd[_0xcf5be5(0x36e)](_0x157955),_0x490e95=_0x5538fd[_0xcf5be5(0x36e)](V)[_0xcf5be5(0x24c)](_0x4fde9d,_0xfea279,_0x31e6cb),_0x57974f=new D()[_0xcf5be5(0x2d1)](_0x4fde9d[_0xcf5be5(0x254)](),_0x490e95),_0x48beb6={'unitId':_0xc254bb,'op':_0x490e95},_0x53cb16={'unitId':_0xc254bb,'op':_0x57974f};return _0x586bff[_0xcf5be5(0x30a)](Y['id'],_0x48beb6)?(_0x117edb['focusUnit'](_0xc254bb),_0x55f4c5[_0xcf5be5(0x2f0)]({'unitID':_0xc254bb,'undoMutations':[{'id':Y['id'],'params':_0x53cb16}],'redoMutations':[{'id':Y['id'],'params':_0x48beb6}]}),!0x0):!0x1;}},Kn={'id':'base.command.batch-delete-base-records','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x122740,_0x3dbfce)=>{const _0x552725=_0x16d78d;if(!_0x3dbfce)return!0x1;let _0x2b8cfb=_0x122740[_0x552725(0x36e)](_0x4c4561),{unitId:_0x1159ab,tableId:_0x576928,recordIds:_0x49b85d}=_0x3dbfce,_0x20c46f=_0x2b8cfb['getUnit'](_0x1159ab,_0x45db82[_0x552725(0x1ed)]);if(!_0x20c46f||!X(_0x20c46f,_0x576928,{'recordIds':_0x49b85d}))return!0x1;let _0x5c2099=_0x122740[_0x552725(0x36e)](_0x4bf63b),_0x4828b3=_0x122740[_0x552725(0x36e)](_0x157955),_0x2254dd=_0x20c46f[_0x552725(0x254)](),_0x54ee40=new F()[_0x552725(0xc8)](_0x2254dd,_0x576928,_0x49b85d),_0x12baa1=new D()['invertOp'](_0x2254dd,_0x54ee40),_0x5a7a51={'unitId':_0x1159ab,'op':_0x54ee40},_0x151a75={'unitId':_0x1159ab,'op':_0x12baa1};return _0x5c2099[_0x552725(0x30a)](Y['id'],_0x5a7a51)?(_0x2b8cfb[_0x552725(0x13b)](_0x1159ab),_0x4828b3[_0x552725(0x2f0)]({'unitID':_0x1159ab,'undoMutations':[{'id':Y['id'],'params':_0x151a75}],'redoMutations':[{'id':Y['id'],'params':_0x5a7a51}]}),!0x0):!0x1;}},qn={'id':_0x16d78d(0x1f0),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x188359,_0x2ad752)=>{const _0x2630f0=_0x16d78d;if(!_0x2ad752)return!0x1;let _0x327091=_0x188359[_0x2630f0(0x36e)](_0x4c4561),{unitId:_0x1f7cc8,tableId:_0x47cb71,fieldId:_0x50f312,input:_0xd3bb1b}=_0x2ad752,_0x3176be=_0x327091[_0x2630f0(0xf6)](_0x1f7cc8,_0x45db82[_0x2630f0(0x1ed)]);if(!_0x3176be||!X(_0x3176be,_0x47cb71,{'fieldIds':[_0x50f312]}))return!0x1;let _0x15fa12=_0x188359['get'](_0x4bf63b),_0x51cb85=_0x188359['get'](_0x157955),_0x15cd04=_0x3176be['getSnapshot'](),_0x1d9cde=new F()[_0x2630f0(0xd0)](_0x15cd04,_0x47cb71,_0x50f312,_0xd3bb1b),_0x49839c=new D()[_0x2630f0(0x2d1)](_0x15cd04,_0x1d9cde),_0x30587e={'unitId':_0x1f7cc8,'op':_0x1d9cde},_0x46a42c={'unitId':_0x1f7cc8,'op':_0x49839c};return _0x15fa12['syncExecuteCommand'](Y['id'],_0x30587e)?(_0x327091[_0x2630f0(0x13b)](_0x1f7cc8),_0x51cb85[_0x2630f0(0x2f0)]({'unitID':_0x1f7cc8,'undoMutations':[{'id':Y['id'],'params':_0x46a42c}],'redoMutations':[{'id':Y['id'],'params':_0x30587e}]}),!0x0):!0x1;}},Jn={'id':_0x16d78d(0x257),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x47c205,_0x50c45b){const _0x4bc3f7=_0x16d78d;if(!_0x50c45b)return!0x1;let _0x11483a=_0x47c205['get'](_0x4c4561),{unitId:_0x459ef9,tableId:_0x21ca38,field:_0x26ef9f,index:_0x460fd1,viewIndexes:_0x195cae}=_0x50c45b,_0x20defe=_0x11483a[_0x4bc3f7(0xf6)](_0x459ef9,_0x45db82[_0x4bc3f7(0x1ed)]);if(!_0x20defe||!X(_0x20defe,_0x21ca38)||_0x20defe[_0x4bc3f7(0x254)]()[_0x4bc3f7(0x1f7)][_0x21ca38][_0x4bc3f7(0x30b)][_0x26ef9f['id']])return!0x1;let _0x291800=_0x47c205[_0x4bc3f7(0x36e)](_0x4bf63b),_0x3b659f=_0x47c205[_0x4bc3f7(0x36e)](_0x157955),_0x5373f9=_0x47c205[_0x4bc3f7(0x36e)](V)[_0x4bc3f7(0x18f)](_0x20defe,_0x21ca38,_0x26ef9f,_0x460fd1,_0x195cae),_0x2d7a29=new D()['invertOp'](_0x20defe[_0x4bc3f7(0x254)](),_0x5373f9),_0x198490={'unitId':_0x459ef9,'op':_0x5373f9},_0x32a183={'unitId':_0x459ef9,'op':_0x2d7a29};return _0x291800['syncExecuteCommand'](Y['id'],_0x198490)?(_0x11483a[_0x4bc3f7(0x13b)](_0x459ef9),_0x3b659f['pushUndoRedo']({'unitID':_0x459ef9,'undoMutations':[{'id':Y['id'],'params':_0x32a183}],'redoMutations':[{'id':Y['id'],'params':_0x198490}]}),!0x0):!0x1;}},Yn={'id':'base.command.create-base-record','type':_0x567a9a['COMMAND'],'handler'(_0x1da282,_0x10115b){const _0xb4c6e4=_0x16d78d;if(!_0x10115b)return!0x1;let _0x1750e8=_0x1da282['get'](_0x4c4561),{unitId:_0x1cd56b,tableId:_0x236727,record:_0x41e989}=_0x10115b,_0x4a7d9d=_0x1750e8[_0xb4c6e4(0xf6)](_0x1cd56b,_0x45db82[_0xb4c6e4(0x1ed)]);if(!_0x4a7d9d||!X(_0x4a7d9d,_0x236727)||_0x4a7d9d[_0xb4c6e4(0x254)]()[_0xb4c6e4(0x1f7)][_0x236727][_0xb4c6e4(0x26d)][_0x41e989['id']])return!0x1;let _0x410cf7=_0x1da282['get'](_0x4bf63b),_0x17e6f8=_0x1da282['get'](_0x157955),_0x148e43=_0x1da282['get'](V)[_0xb4c6e4(0xbe)](_0x4a7d9d,_0x236727,_0x41e989),_0xcf3dfb=new D()[_0xb4c6e4(0x2d1)](_0x4a7d9d[_0xb4c6e4(0x254)](),_0x148e43),_0x2c6c5b={'unitId':_0x1cd56b,'op':_0x148e43},_0x2f6328={'unitId':_0x1cd56b,'op':_0xcf3dfb};return _0x410cf7[_0xb4c6e4(0x30a)](Y['id'],_0x2c6c5b)?(_0x1750e8[_0xb4c6e4(0x13b)](_0x1cd56b),_0x17e6f8['pushUndoRedo']({'unitID':_0x1cd56b,'undoMutations':[{'id':Y['id'],'params':_0x2f6328}],'redoMutations':[{'id':Y['id'],'params':_0x2c6c5b}]}),!0x0):!0x1;}},Xn={'id':_0x16d78d(0x2e8),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x2503e6,_0x5b5a1e)=>{const _0xd04e28=_0x16d78d;if(!_0x5b5a1e)return!0x1;let _0x339ffe=_0x2503e6['get'](_0x4c4561),{unitId:_0x2193a6,table:_0x1ec0bd,index:_0x104c0f}=_0x5b5a1e,_0x245ed6=_0x339ffe[_0xd04e28(0xf6)](_0x2193a6,_0x45db82[_0xd04e28(0x1ed)]);if(!_0x245ed6||_0x245ed6[_0xd04e28(0x254)]()['tables'][_0x1ec0bd['id']])return!0x1;let _0x349247=_0x2503e6[_0xd04e28(0x36e)](_0x4bf63b),_0x53c68a=_0x2503e6[_0xd04e28(0x36e)](_0x157955),_0x59da9c=_0x245ed6[_0xd04e28(0x254)](),_0x14f6dd={..._0x1ec0bd,'name':_0x245ed6[_0xd04e28(0x214)](_0x1ec0bd[_0xd04e28(0x14c)])},_0x6dfb28=new F()[_0xd04e28(0xf5)](_0x59da9c,_0x14f6dd,_0x104c0f),_0x690fa=new D()[_0xd04e28(0x2d1)](_0x59da9c,_0x6dfb28),_0x922e11={'unitId':_0x2193a6,'op':_0x6dfb28},_0x403674={'unitId':_0x2193a6,'op':_0x690fa};return _0x349247[_0xd04e28(0x30a)](Y['id'],_0x922e11)?(_0x339ffe[_0xd04e28(0x13b)](_0x2193a6),_0x53c68a[_0xd04e28(0x2f0)]({'unitID':_0x2193a6,'undoMutations':[{'id':Y['id'],'params':_0x403674}],'redoMutations':[{'id':Y['id'],'params':_0x922e11}]}),!0x0):!0x1;}};function Zn(_0x533da6,_0x341cae,_0x298392=[]){const _0x1d9259=_0x16d78d;let _0xee8774=new Set([...Object['values'](_0x533da6[_0x1d9259(0x30b)])['filter'](_0x5e7f52=>_0x5e7f52)[_0x1d9259(0x187)](_0x2b6aa7=>_0x2b6aa7[_0x1d9259(0x14c)]),..._0x298392['map'](_0x5dd14f=>_0x5dd14f['name'])]);if(!_0xee8774['has'](_0x341cae))return _0x341cae;let _0x219064=0x2;for(;_0xee8774[_0x1d9259(0x277)](_0x341cae+'\x20'+_0x219064);)_0x219064++;return _0x341cae+'\x20'+_0x219064;}function Qn(_0x4355fa,_0xfdfac9){const _0x5ed344=_0x16d78d;if(!_0x4355fa||!_0xfdfac9[_0x5ed344(0x1ee)])return;let _0x1ff1c1=[..._0x4355fa];return _0xfdfac9[_0x5ed344(0x165)](_0x442dab=>{_0x1ff1c1['includes'](_0x442dab)||_0x1ff1c1['push'](_0x442dab);}),_0x1ff1c1;}const $n={'options':[{'id':_0x16d78d(0x333),'name':_0x16d78d(0x219),'color':_0x16d78d(0x1ef)},{'id':'doing','name':_0x16d78d(0x192),'color':'#FDE68A'},{'id':_0x16d78d(0x2be),'name':_0x16d78d(0x1e9),'color':'#BBF7D0'}]},er={'locale':_0x16d78d(0x267),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x16d78d(0x19d),'defaultMode':'none'};function tr(_0x4a9f8c,_0x12dddd,_0xf98db1,_0x3c89e7){const _0x2dc513=_0x16d78d;var _0x4613bc;let _0x287878=new F(),_0x5e8520=_0x4a9f8c[_0x2dc513(0x1f7)][_0x12dddd];if(_0x5e8520&&_0xf98db1[_0x2dc513(0x14a)]===_0x2dc513(0x31e)){var _0x49af5f;let _0xfaa6e3=rr(_0x5e8520,_0xf98db1),_0x3aa5f6=_0xfaa6e3[_0x2dc513(0x26f)]?{..._0xf98db1,'config':_0xfaa6e3[_0x2dc513(0x2ad)],'fieldOrder':(_0x49af5f=_0xfaa6e3[_0x2dc513(0x301)])==null?_0xf98db1[_0x2dc513(0x301)]:_0x49af5f}:_0xf98db1;return P([..._0xfaa6e3[_0x2dc513(0x30b)][_0x2dc513(0x187)](_0x8c7451=>_0x287878[_0x2dc513(0x29c)](_0x4a9f8c,_0x12dddd,{'field':_0x8c7451})),_0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0x3aa5f6,_0x3c89e7)]);}if(!_0x5e8520||_0xf98db1[_0x2dc513(0x14a)]!==_0x2dc513(0xd6)&&_0xf98db1[_0x2dc513(0x14a)]!=='gantt')return _0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0xf98db1,_0x3c89e7);let _0xb2d5b9=nr(_0x5e8520,_0xf98db1),_0x4945ac=_0xb2d5b9[_0x2dc513(0x26f)]?{..._0xf98db1,'config':_0xb2d5b9[_0x2dc513(0x2ad)],'fieldOrder':(_0x4613bc=_0xb2d5b9['fieldOrder'])==null?_0xf98db1[_0x2dc513(0x301)]:_0x4613bc}:_0xf98db1;return _0xf98db1[_0x2dc513(0x14a)]===_0x2dc513(0x184)&&or(_0xf98db1)&&(_0x4945ac=sr(_0x5e8520,_0x4945ac,_0xb2d5b9[_0x2dc513(0x30b)])),P([..._0xb2d5b9[_0x2dc513(0x30b)][_0x2dc513(0x187)](_0x7fea5=>_0x287878['createField'](_0x4a9f8c,_0x12dddd,{'field':_0x7fea5})),_0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0x4945ac,_0x3c89e7)]);}function nr(_0x4447f3,_0x27ec9e,_0x4ffd78=!0x1){const _0x50d0f9=_0x16d78d;var _0x40d8bc,_0x2c6ec7,_0x2fc922,_0x3613c5;let _0x150d1e=_0x4447f3[_0x50d0f9(0x301)]['filter'](_0x512d1f=>lr(_0x4447f3,_0x512d1f)),_0x5e99ae=[],_0x35fb15={...(_0x40d8bc=_0x27ec9e[_0x50d0f9(0x2ad)])==null?{}:_0x40d8bc},_0x284e92=typeof _0x35fb15[_0x50d0f9(0x2df)]==_0x50d0f9(0xc9)&&lr(_0x4447f3,_0x35fb15[_0x50d0f9(0x2df)])?_0x35fb15['startDateFieldId']:_0x150d1e[0x0],_0x12766b=typeof _0x35fb15[_0x50d0f9(0x2e0)]==_0x50d0f9(0xc9)&&lr(_0x4447f3,_0x35fb15[_0x50d0f9(0x2e0)])&&_0x35fb15[_0x50d0f9(0x2e0)]!==_0x284e92?_0x35fb15['endDateFieldId']:_0x150d1e[_0x50d0f9(0x2db)](_0x19fa73=>_0x19fa73!==_0x284e92);if(!_0x284e92){let _0x225b6c=ur(_0x4447f3,_0x5e99ae,_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0x184)?_0x50d0f9(0x243):_0x50d0f9(0x299));_0x5e99ae[_0x50d0f9(0xcd)](_0x225b6c),_0x284e92=_0x225b6c['id'];}if((_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0x184)||_0x4ffd78)&&!_0x12766b){let _0x1942a1=ur(_0x4447f3,_0x5e99ae,'End\x20date');_0x5e99ae[_0x50d0f9(0xcd)](_0x1942a1),_0x12766b=_0x1942a1['id'];}if(_0x27ec9e['type']===_0x50d0f9(0xd6)&&!_0x12766b&&delete _0x35fb15[_0x50d0f9(0x2e0)],_0x35fb15[_0x50d0f9(0x2df)]=_0x284e92,_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0xd6)&&_0x12766b&&(_0x35fb15[_0x50d0f9(0x2e0)]=_0x12766b),_0x27ec9e['type']===_0x50d0f9(0x184)){var _0x2b54cb;_0x35fb15[_0x50d0f9(0x2e0)]=(_0x2b54cb=_0x12766b)==null?_0x284e92:_0x2b54cb;}let _0x212463=Qn(_0x27ec9e[_0x50d0f9(0x301)],_0x5e99ae['map'](_0x52db18=>_0x52db18['id']));return{'changed':_0x5e99ae['length']>0x0||_0x35fb15[_0x50d0f9(0x2df)]!==((_0x2c6ec7=_0x27ec9e[_0x50d0f9(0x2ad)])==null?void 0x0:_0x2c6ec7[_0x50d0f9(0x2df)])||_0x35fb15[_0x50d0f9(0x2e0)]!==((_0x2fc922=_0x27ec9e[_0x50d0f9(0x2ad)])==null?void 0x0:_0x2fc922['endDateFieldId'])||!!(_0x212463&&!_0xa49e00[_0x50d0f9(0x131)](_0x212463,(_0x3613c5=_0x27ec9e['fieldOrder'])==null?[]:_0x3613c5)),'fields':_0x5e99ae,'config':_0x35fb15,'fieldOrder':_0x212463};}function rr(_0x12088e,_0x31d2c6){const _0xdd34dc=_0x16d78d;var _0x54b1fd,_0x480b20,_0x4491b9;let _0x1ed4e9=[],_0x3ff448={...(_0x54b1fd=_0x31d2c6[_0xdd34dc(0x2ad)])==null?{}:_0x54b1fd},_0x57d847=typeof _0x3ff448[_0xdd34dc(0x2a3)]==_0xdd34dc(0xc9)&&ir(_0x12088e,_0x3ff448['groupFieldId'])?_0x3ff448[_0xdd34dc(0x2a3)]:_0x12088e[_0xdd34dc(0x301)]['find'](_0x3a15d2=>ir(_0x12088e,_0x3a15d2));if(!_0x57d847){let _0x470305=ar(_0x12088e,_0x1ed4e9);_0x1ed4e9[_0xdd34dc(0xcd)](_0x470305),_0x57d847=_0x470305['id'];}_0x3ff448[_0xdd34dc(0x2a3)]=_0x57d847;let _0xdb748f=Qn(_0x31d2c6[_0xdd34dc(0x301)],_0x1ed4e9['map'](_0x470567=>_0x470567['id']));return{'changed':_0x1ed4e9[_0xdd34dc(0x1ee)]>0x0||_0x3ff448['groupFieldId']!==((_0x480b20=_0x31d2c6[_0xdd34dc(0x2ad)])==null?void 0x0:_0x480b20[_0xdd34dc(0x2a3)])||!!(_0xdb748f&&!_0xa49e00[_0xdd34dc(0x131)](_0xdb748f,(_0x4491b9=_0x31d2c6['fieldOrder'])==null?[]:_0x4491b9)),'fields':_0x1ed4e9,'config':_0x3ff448,'fieldOrder':_0xdb748f};}function ir(_0x59d8f9,_0x29e050){const _0x23cee6=_0x16d78d;let _0x2f75b1=_0x29e050?_0x59d8f9['fields'][_0x29e050]:null;return _0x2f75b1?[_0x3d85e5[_0x23cee6(0xe8)],_0x3d85e5['MultiSelect'],_0x3d85e5['Rating'],_0x3d85e5['Person'],_0x3d85e5[_0x23cee6(0xe6)],_0x3d85e5[_0x23cee6(0x185)]][_0x23cee6(0x1d9)](_0x2f75b1[_0x23cee6(0x14a)]):!0x1;}function ar(_0x3e9853,_0x2cfc4c){const _0x5db60f=_0x16d78d;return{'id':_0x5db60f(0x273)+_0x4fbb25(0x8),'name':Zn(_0x3e9853,_0x5db60f(0x339),_0x2cfc4c),'type':_0x3d85e5[_0x5db60f(0xe8)],'config':_0xa49e00['deepClone']($n)};}function or(_0xea2aed){const _0x22b12f=_0x16d78d;var _0x591cd8,_0x29330d;return Object[_0x22b12f(0x33a)]((_0x591cd8=_0xea2aed[_0x22b12f(0x2ad)])==null?{}:_0x591cd8)[_0x22b12f(0x1ee)]===0x0&&Object[_0x22b12f(0x33a)]((_0x29330d=_0xea2aed[_0x22b12f(0x35b)])==null?{}:_0x29330d)[_0x22b12f(0x1ee)]===0x0;}function sr(_0x2a9744,_0x48708e,_0x464ff7){const _0x1ce9d8=_0x16d78d;var _0x2896b9;let _0x4b65cb={...(_0x2896b9=_0x48708e['config'])==null?{}:_0x2896b9},_0x3bdebe=_0x464ff7['map'](_0x53f004=>_0x53f004['id']),_0x309f6b=[..._0x2a9744['fieldOrder'],..._0x3bdebe],_0x41241e=typeof _0x4b65cb['titleFieldId']=='string'&&cr(_0x2a9744,_0x464ff7,_0x4b65cb[_0x1ce9d8(0x1bb)])?_0x4b65cb[_0x1ce9d8(0x1bb)]:_0x2a9744[_0x1ce9d8(0xaf)],_0x1cf6a4=typeof _0x4b65cb[_0x1ce9d8(0x2df)]=='string'?_0x4b65cb['startDateFieldId']:'',_0x3b7438=typeof _0x4b65cb[_0x1ce9d8(0x2e0)]==_0x1ce9d8(0xc9)?_0x4b65cb['endDateFieldId']:_0x1cf6a4,_0x3fd497=new Set([_0x41241e,_0x1cf6a4,_0x3b7438]['filter'](_0x1c7f7f=>_0x1c7f7f&&cr(_0x2a9744,_0x464ff7,_0x1c7f7f))),_0x383339=Object[_0x1ce9d8(0x22a)](_0x309f6b[_0x1ce9d8(0x1cc)](_0x5a7552=>_0x3fd497[_0x1ce9d8(0x277)](_0x5a7552)||!cr(_0x2a9744,_0x464ff7,_0x5a7552)?[]:[[_0x5a7552,{'hidden':!0x0}]]));return{..._0x48708e,'config':{..._0x4b65cb,'titleFieldId':_0x41241e},'fieldSettings':_0x383339};}function cr(_0x3a9873,_0xb0971c,_0x54b164){const _0x3503ac=_0x16d78d;var _0xe2c3de;return!!((_0xe2c3de=_0x3a9873[_0x3503ac(0x30b)][_0x54b164])==null?_0xb0971c[_0x3503ac(0x2db)](_0x3c0123=>_0x3c0123['id']===_0x54b164):_0xe2c3de)&&!0x0;}function lr(_0x461ba2,_0x5cc9e5){const _0x170484=_0x16d78d;let _0xf2f5df=_0x5cc9e5?_0x461ba2[_0x170484(0x30b)][_0x5cc9e5]:null;return!!_0xf2f5df&&_0xf2f5df['type']===_0x3d85e5[_0x170484(0x299)]&&_0xf2f5df[_0x170484(0xe4)]!==!0x0&&_0xf2f5df['system']!==!0x0;}function ur(_0x3b7029,_0x364e65,_0x5b91ac){const _0x413757=_0x16d78d;let _0x494038=new Set([...Object[_0x413757(0x33a)](_0x3b7029[_0x413757(0x30b)]),..._0x364e65[_0x413757(0x187)](_0x3b35ae=>_0x3b35ae['id'])]),_0x3d75a5='fld-'+_0x4fbb25(0x8);for(;_0x494038[_0x413757(0x277)](_0x3d75a5);)_0x3d75a5=_0x413757(0x273)+_0x4fbb25(0x8);return{'id':_0x3d75a5,'name':Zn(_0x3b7029,_0x5b91ac,_0x364e65),'type':_0x3d85e5[_0x413757(0x299)],'config':{...er}};}const dr={'id':'base.command.create-base-view','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x559fb8,_0x2ec2a)=>{const _0x4a0913=_0x16d78d;if(!_0x2ec2a)return!0x1;let _0x467923=_0x559fb8['get'](_0x4c4561),{unitId:_0x3ef5b0,tableId:_0x51e7d4,view:_0x3ea90c,index:_0x10bb87}=_0x2ec2a,_0x49b0b2=_0x467923['getUnit'](_0x3ef5b0,_0x45db82['UNIVER_BASE']);if(!_0x49b0b2||!X(_0x49b0b2,_0x51e7d4)||_0x49b0b2[_0x4a0913(0x254)]()[_0x4a0913(0x1f7)][_0x51e7d4][_0x4a0913(0x2b6)][_0x3ea90c['id']])return!0x1;let _0x1ad7f6=_0x559fb8[_0x4a0913(0x36e)](_0x4bf63b),_0x27cf2c=_0x559fb8[_0x4a0913(0x36e)](_0x157955),_0x5649ba=_0x49b0b2[_0x4a0913(0x254)](),_0xf1c6a3=tr(_0x5649ba,_0x51e7d4,_0x3ea90c,_0x10bb87),_0x15434f=new D()[_0x4a0913(0x2d1)](_0x5649ba,_0xf1c6a3),_0x2caa38={'unitId':_0x3ef5b0,'op':_0xf1c6a3},_0x5cee37={'unitId':_0x3ef5b0,'op':_0x15434f};return _0x1ad7f6['syncExecuteCommand'](Y['id'],_0x2caa38)?(_0x467923[_0x4a0913(0x13b)](_0x3ef5b0),_0x27cf2c[_0x4a0913(0x2f0)]({'unitID':_0x3ef5b0,'undoMutations':[{'id':Y['id'],'params':_0x5cee37}],'redoMutations':[{'id':Y['id'],'params':_0x2caa38}]}),!0x0):!0x1;}},fr={'id':_0x16d78d(0x23b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x4bd634,_0x2a7d4d){const _0x390b51=_0x16d78d;if(!_0x2a7d4d)return!0x1;let _0x8602cf=_0x4bd634[_0x390b51(0x36e)](_0x4c4561),{unitId:_0x20d6dc,tableId:_0x2c213d,fieldId:_0x2f7472}=_0x2a7d4d,_0x13dd62=_0x8602cf['getUnit'](_0x20d6dc,_0x45db82['UNIVER_BASE']);if(!_0x13dd62)return!0x1;let _0x15430e=_0x13dd62[_0x390b51(0x254)](),_0x2f519a=_0x15430e[_0x390b51(0x1f7)][_0x2c213d];if(!X(_0x13dd62,_0x2c213d,{'fieldIds':[_0x2f7472]})||_0x2f519a[_0x390b51(0xaf)]===_0x2f7472)return!0x1;let _0xbd16b4=_0x4bd634[_0x390b51(0x36e)](_0x4bf63b),_0x6f0a40=_0x4bd634[_0x390b51(0x36e)](_0x157955),_0x4eea3d=new F()['deleteField'](_0x15430e,_0x2c213d,_0x2f7472),_0x4cfe05=new D()[_0x390b51(0x2d1)](_0x15430e,_0x4eea3d),_0x5843d2={'unitId':_0x20d6dc,'op':_0x4eea3d},_0x31bd14={'unitId':_0x20d6dc,'op':_0x4cfe05};return _0xbd16b4[_0x390b51(0x30a)](Y['id'],_0x5843d2)?(_0x8602cf[_0x390b51(0x13b)](_0x20d6dc),_0x6f0a40['pushUndoRedo']({'unitID':_0x20d6dc,'undoMutations':[{'id':Y['id'],'params':_0x31bd14}],'redoMutations':[{'id':Y['id'],'params':_0x5843d2}]}),!0x0):!0x1;}},pr={'id':_0x16d78d(0x2b0),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x5e9afd,_0x13a5d0)=>{const _0x3125e0=_0x16d78d;if(!_0x13a5d0)return!0x1;let _0x561bc1=_0x5e9afd[_0x3125e0(0x36e)](_0x4c4561),{unitId:_0x698734,tableId:_0x490eae,recordId:_0x1aafba}=_0x13a5d0,_0x4d46d=_0x561bc1[_0x3125e0(0xf6)](_0x698734,_0x45db82['UNIVER_BASE']);if(!_0x4d46d||!X(_0x4d46d,_0x490eae,{'recordIds':[_0x1aafba]}))return!0x1;let _0x1cfe3d=_0x5e9afd[_0x3125e0(0x36e)](_0x4bf63b),_0x3c49ec=_0x5e9afd[_0x3125e0(0x36e)](_0x157955),_0x3dc716=_0x4d46d[_0x3125e0(0x254)](),_0x1a993e=new F()['deleteRecord'](_0x3dc716,_0x490eae,_0x1aafba),_0x4139c9=new D()[_0x3125e0(0x2d1)](_0x3dc716,_0x1a993e),_0x4fc37d={'unitId':_0x698734,'op':_0x1a993e},_0x389f38={'unitId':_0x698734,'op':_0x4139c9};return _0x1cfe3d[_0x3125e0(0x30a)](Y['id'],_0x4fc37d)?(_0x561bc1['focusUnit'](_0x698734),_0x3c49ec[_0x3125e0(0x2f0)]({'unitID':_0x698734,'undoMutations':[{'id':Y['id'],'params':_0x389f38}],'redoMutations':[{'id':Y['id'],'params':_0x4fc37d}]}),!0x0):!0x1;}},mr={'id':_0x16d78d(0x196),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x2bdcf7,_0x4bdb05)=>{const _0x12375f=_0x16d78d;if(!_0x4bdb05)return!0x1;let _0x36b96d=_0x2bdcf7[_0x12375f(0x36e)](_0x4c4561),{unitId:_0x3a38e8,tableId:_0x2a481a}=_0x4bdb05,_0x410291=_0x36b96d[_0x12375f(0xf6)](_0x3a38e8,_0x45db82[_0x12375f(0x1ed)]);if(!_0x410291||!X(_0x410291,_0x2a481a))return!0x1;let _0x30874c=_0x2bdcf7[_0x12375f(0x36e)](_0x4bf63b),_0x49d543=_0x2bdcf7[_0x12375f(0x36e)](_0x157955),_0x3ff881=_0x410291[_0x12375f(0x254)](),_0x57476f=new F()[_0x12375f(0x21f)](_0x3ff881,_0x2a481a),_0x159596=new D()[_0x12375f(0x2d1)](_0x3ff881,_0x57476f),_0x25f88f={'unitId':_0x3a38e8,'op':_0x57476f},_0x12d163={'unitId':_0x3a38e8,'op':_0x159596};return _0x30874c[_0x12375f(0x30a)](Y['id'],_0x25f88f)?(_0x36b96d['focusUnit'](_0x3a38e8),_0x49d543[_0x12375f(0x2f0)]({'unitID':_0x3a38e8,'undoMutations':[{'id':Y['id'],'params':_0x12d163}],'redoMutations':[{'id':Y['id'],'params':_0x25f88f}]}),!0x0):!0x1;}},hr={'id':_0x16d78d(0x198),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0xb51bae,_0x353dd7)=>{const _0x76e897=_0x16d78d;if(!_0x353dd7)return!0x1;let _0x360352=_0xb51bae[_0x76e897(0x36e)](_0x4c4561),{unitId:_0x5d0235,tableId:_0x46bfcf,viewId:_0x4dc702}=_0x353dd7,_0x1cf040=_0x360352[_0x76e897(0xf6)](_0x5d0235,_0x45db82[_0x76e897(0x1ed)]);if(!_0x1cf040||!X(_0x1cf040,_0x46bfcf,{'viewIds':[_0x4dc702]}))return!0x1;let _0x2af0e2=_0xb51bae['get'](_0x4bf63b),_0x338d50=_0xb51bae[_0x76e897(0x36e)](_0x157955),_0x4850c4=_0x1cf040[_0x76e897(0x254)](),_0x4e37ca=new F()[_0x76e897(0x2d3)](_0x4850c4,_0x46bfcf,_0x4dc702),_0x586862=new D()[_0x76e897(0x2d1)](_0x4850c4,_0x4e37ca),_0x3d3a68={'unitId':_0x5d0235,'op':_0x4e37ca},_0x1544a0={'unitId':_0x5d0235,'op':_0x586862};return _0x2af0e2[_0x76e897(0x30a)](Y['id'],_0x3d3a68)?(_0x360352[_0x76e897(0x13b)](_0x5d0235),_0x338d50[_0x76e897(0x2f0)]({'unitID':_0x5d0235,'undoMutations':[{'id':Y['id'],'params':_0x1544a0}],'redoMutations':[{'id':Y['id'],'params':_0x3d3a68}]}),!0x0):!0x1;}},gr={'id':_0x16d78d(0x1d3),'type':_0x567a9a['COMMAND'],'handler':(_0x43462f,_0x21c0d1)=>{const _0x1f96fc=_0x16d78d;if(!_0x21c0d1)return!0x1;let _0xb207db=_0x43462f['get'](_0x4c4561),{unitId:_0x4041db,tableId:_0x46fd30,sourceFieldId:_0x460334,field:_0x246bf8,index:_0x20f186,viewIndexes:_0x37a454}=_0x21c0d1,_0x48bd9f=_0xb207db[_0x1f96fc(0xf6)](_0x4041db,_0x45db82[_0x1f96fc(0x1ed)]);if(!_0x48bd9f||!X(_0x48bd9f,_0x46fd30,{'fieldIds':[_0x460334]})||_0x48bd9f['getSnapshot']()[_0x1f96fc(0x1f7)][_0x46fd30][_0x1f96fc(0x30b)][_0x246bf8['id']])return!0x1;let _0x196ab2=_0x43462f[_0x1f96fc(0x36e)](_0x4bf63b),_0x1bccbd=_0x43462f[_0x1f96fc(0x36e)](_0x157955),_0x33048f=_0x48bd9f[_0x1f96fc(0x254)](),_0x209bc8=new F()['duplicateField'](_0x33048f,_0x46fd30,_0x460334,{'field':_0x246bf8,'index':_0x20f186,'viewIndexes':_0x37a454}),_0xb62894=new D()['invertOp'](_0x33048f,_0x209bc8),_0x3fd02c={'unitId':_0x4041db,'op':_0x209bc8},_0x27a832={'unitId':_0x4041db,'op':_0xb62894};return _0x196ab2[_0x1f96fc(0x30a)](Y['id'],_0x3fd02c)?(_0xb207db[_0x1f96fc(0x13b)](_0x4041db),_0x1bccbd[_0x1f96fc(0x2f0)]({'unitID':_0x4041db,'undoMutations':[{'id':Y['id'],'params':_0x27a832}],'redoMutations':[{'id':Y['id'],'params':_0x3fd02c}]}),!0x0):!0x1;}},_r={'id':'base.command.duplicate-base-record','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x5dad0e,_0x391365)=>{const _0x5c52bd=_0x16d78d;if(!_0x391365)return!0x1;let _0x3aeb04=_0x5dad0e[_0x5c52bd(0x36e)](_0x4c4561),{unitId:_0x42b33e,tableId:_0xb62823,sourceRecordId:_0x550289,record:_0x381f59}=_0x391365,_0x25c264=_0x3aeb04[_0x5c52bd(0xf6)](_0x42b33e,_0x45db82['UNIVER_BASE']);if(!_0x25c264||!X(_0x25c264,_0xb62823,{'recordIds':[_0x550289]})||_0x25c264[_0x5c52bd(0x254)]()[_0x5c52bd(0x1f7)][_0xb62823][_0x5c52bd(0x26d)][_0x381f59['id']])return!0x1;let _0xf9f9c3=_0x5dad0e[_0x5c52bd(0x36e)](_0x4bf63b),_0x1bba23=_0x5dad0e[_0x5c52bd(0x36e)](_0x157955),_0x4fae17=_0x25c264[_0x5c52bd(0x254)](),_0x1085d6=new F()[_0x5c52bd(0x2c0)](_0x4fae17,_0xb62823,_0x550289,_0x381f59),_0x539da5=new D()[_0x5c52bd(0x2d1)](_0x4fae17,_0x1085d6),_0xb56223={'unitId':_0x42b33e,'op':_0x1085d6},_0x14775b={'unitId':_0x42b33e,'op':_0x539da5};return _0xf9f9c3[_0x5c52bd(0x30a)](Y['id'],_0xb56223)?(_0x3aeb04[_0x5c52bd(0x13b)](_0x42b33e),_0x1bba23[_0x5c52bd(0x2f0)]({'unitID':_0x42b33e,'undoMutations':[{'id':Y['id'],'params':_0x14775b}],'redoMutations':[{'id':Y['id'],'params':_0xb56223}]}),!0x0):!0x1;}},vr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x670ae0,_0x4af04c){const _0x177742=_0x16d78d;if(!_0x4af04c)return!0x1;let _0x273e92=_0x670ae0[_0x177742(0x36e)](_0x4c4561),{unitId:_0x27f2e8,tableId:_0xed197e,viewId:_0xb3add5,ensureEndDateField:_0x341d6a}=_0x4af04c,_0x10ae72=_0x273e92[_0x177742(0xf6)](_0x27f2e8,_0x45db82[_0x177742(0x1ed)]);if(!_0x10ae72||!X(_0x10ae72,_0xed197e,{'viewIds':[_0xb3add5]}))return!0x1;let _0x1ed6b8=_0x10ae72['getSnapshot'](),_0x59bc1e=_0x1ed6b8['tables'][_0xed197e],_0x2b32f9=_0x59bc1e==null?void 0x0:_0x59bc1e[_0x177742(0x2b6)][_0xb3add5];if(!_0x59bc1e||!_0x2b32f9||_0x2b32f9[_0x177742(0x14a)]!==_0x177742(0xd6)&&_0x2b32f9[_0x177742(0x14a)]!=='gantt')return!0x1;let _0x583c87=nr(_0x59bc1e,_0x2b32f9,_0x341d6a===!0x0);if(!_0x583c87['changed'])return!0x1;let _0x5e0f9=_0x670ae0[_0x177742(0x36e)](_0x4bf63b),_0x10dcce=_0x670ae0[_0x177742(0x36e)](_0x157955),_0x53f791=new F(),_0x239c3f=[..._0x583c87[_0x177742(0x30b)][_0x177742(0x187)](_0x320f42=>_0x53f791[_0x177742(0x29c)](_0x1ed6b8,_0x4af04c[_0x177742(0x21c)],{'field':_0x320f42})),yr([...br(_0x4af04c[_0x177742(0x21c)],_0x4af04c[_0x177742(0x31c)]),_0x177742(0x2ad)],_0x2b32f9[_0x177742(0x2ad)],_0x583c87[_0x177742(0x2ad)])];_0x583c87[_0x177742(0x301)]&&_0x239c3f[_0x177742(0xcd)](yr([...br(_0x4af04c['tableId'],_0x4af04c[_0x177742(0x31c)]),_0x177742(0x301)],_0x2b32f9[_0x177742(0x301)],_0x583c87[_0x177742(0x301)]));let _0x1da095=P(_0x239c3f),_0xff7210=new D()[_0x177742(0x2d1)](_0x1ed6b8,_0x1da095),_0x289080={'unitId':_0x27f2e8,'op':_0x1da095},_0x43b01e={'unitId':_0x27f2e8,'op':_0xff7210};return _0x5e0f9['syncExecuteCommand'](Y['id'],_0x289080)?(_0x273e92[_0x177742(0x13b)](_0x27f2e8),_0x10dcce[_0x177742(0x2f0)]({'unitID':_0x27f2e8,'undoMutations':[{'id':Y['id'],'params':_0x43b01e}],'redoMutations':[{'id':Y['id'],'params':_0x289080}]}),!0x0):!0x1;}};function yr(_0x2c28d8,_0x3f6975,_0x429236){const _0x11a6b3=_0x16d78d;return _0x3f6975===void 0x0?_0x579b08[_0x11a6b3(0x2ac)](_0x2c28d8,_0x429236):_0x579b08[_0x11a6b3(0x362)](_0x2c28d8,_0x3f6975,_0x429236);}function br(_0x414e6a,_0x3a135a){const _0x15f5ac=_0x16d78d;return[_0x15f5ac(0x1f7),_0x414e6a,_0x15f5ac(0x2b6),_0x3a135a];}const xr={'id':_0x16d78d(0x105),'type':_0x567a9a['COMMAND'],'handler':(_0x3371fa,_0x4673f9)=>{const _0xe0b5a3=_0x16d78d;var _0x4d2bac;if(!_0x4673f9)return!0x1;let _0x40e45f=_0x3371fa[_0xe0b5a3(0x36e)](_0x4c4561),{unitId:_0x578c1d,tableId:_0x3ac0dc,fieldId:_0x33210d,target:_0x8f76a5}=_0x4673f9,_0x5a6bec=_0x40e45f[_0xe0b5a3(0xf6)](_0x578c1d,_0x45db82['UNIVER_BASE']),_0x2129e9=(_0x4d2bac=_0x8f76a5[_0xe0b5a3(0xf4)])==null?_0x8f76a5['afterFieldId']:_0x4d2bac;if(!_0x5a6bec||!!_0x8f76a5[_0xe0b5a3(0xf4)]==!!_0x8f76a5[_0xe0b5a3(0x13a)]||!_0x2129e9||_0x2129e9===_0x33210d||!X(_0x5a6bec,_0x3ac0dc,{'fieldIds':[_0x33210d,_0x2129e9]}))return!0x1;let _0x2d8262=_0x3371fa[_0xe0b5a3(0x36e)](_0x4bf63b),_0x554ad8=_0x3371fa[_0xe0b5a3(0x36e)](_0x157955),_0x270df9=_0x5a6bec['getSnapshot'](),_0x2d3a3f=new F()['moveField'](_0x270df9,_0x3ac0dc,_0x33210d,_0x8f76a5),_0x17a701=new D()[_0xe0b5a3(0x2d1)](_0x270df9,_0x2d3a3f),_0x9aecd7={'unitId':_0x578c1d,'op':_0x2d3a3f},_0xd58bff={'unitId':_0x578c1d,'op':_0x17a701};return _0x2d8262[_0xe0b5a3(0x30a)](Y['id'],_0x9aecd7)?(_0x40e45f[_0xe0b5a3(0x13b)](_0x578c1d),_0x554ad8[_0xe0b5a3(0x2f0)]({'unitID':_0x578c1d,'undoMutations':[{'id':Y['id'],'params':_0xd58bff}],'redoMutations':[{'id':Y['id'],'params':_0x9aecd7}]}),!0x0):!0x1;}},Sr={'id':_0x16d78d(0x1a3),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x3dacc5,_0x176e31)=>{const _0x42471a=_0x16d78d;var _0x4ee72f;if(!_0x176e31)return!0x1;let _0x195e7a=_0x3dacc5['get'](_0x4c4561),{unitId:_0x515ef3,tableId:_0x315aaa,viewId:_0xd53c8,target:_0x420ccc}=_0x176e31,_0x55a86f=_0x195e7a[_0x42471a(0xf6)](_0x515ef3,_0x45db82[_0x42471a(0x1ed)]),_0x81e90d=(_0x4ee72f=_0x420ccc[_0x42471a(0x297)])==null?_0x420ccc[_0x42471a(0x24a)]:_0x4ee72f;if(!_0x55a86f||!_0x81e90d||_0x81e90d===_0xd53c8||!X(_0x55a86f,_0x315aaa,{'viewIds':[_0xd53c8,_0x81e90d]}))return!0x1;let _0x3ed1ac=_0x3dacc5[_0x42471a(0x36e)](_0x4bf63b),_0x6db06b=_0x3dacc5[_0x42471a(0x36e)](_0x157955),_0x5c366a=_0x55a86f[_0x42471a(0x254)](),_0x27646a=new F()['moveView'](_0x5c366a,_0x315aaa,_0xd53c8,_0x420ccc),_0x26d579=new D()[_0x42471a(0x2d1)](_0x5c366a,_0x27646a),_0x21f1d3={'unitId':_0x515ef3,'op':_0x27646a},_0x1ac7af={'unitId':_0x515ef3,'op':_0x26d579};return _0x3ed1ac[_0x42471a(0x30a)](Y['id'],_0x21f1d3)?(_0x195e7a[_0x42471a(0x13b)](_0x515ef3),_0x6db06b[_0x42471a(0x2f0)]({'unitID':_0x515ef3,'undoMutations':[{'id':Y['id'],'params':_0x1ac7af}],'redoMutations':[{'id':Y['id'],'params':_0x21f1d3}]}),!0x0):!0x1;}},Cr={'id':_0x16d78d(0x1db),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x282692,_0x1ee64a)=>{const _0x2b101a=_0x16d78d;if(!_0x1ee64a)return!0x1;let _0x5abb05=_0x282692[_0x2b101a(0x36e)](_0x4c4561),{unitId:_0x2800c6,tableId:_0x51573d,name:_0x4bc2c7}=_0x1ee64a,_0x43cdb9=_0x5abb05['getUnit'](_0x2800c6,_0x45db82['UNIVER_BASE']);if(!_0x43cdb9||!X(_0x43cdb9,_0x51573d))return!0x1;let _0x5d1ce6=_0x282692[_0x2b101a(0x36e)](_0x4bf63b),_0x29f23d=_0x282692[_0x2b101a(0x36e)](_0x157955),_0x1de173=_0x43cdb9['getSnapshot'](),_0x436d80=new F()[_0x2b101a(0x117)](_0x1de173,_0x51573d,_0x4bc2c7),_0x403d79=new D()['invertOp'](_0x1de173,_0x436d80),_0x281dbc={'unitId':_0x2800c6,'op':_0x436d80},_0x5d2dab={'unitId':_0x2800c6,'op':_0x403d79};return _0x5d1ce6['syncExecuteCommand'](Y['id'],_0x281dbc)?(_0x5abb05[_0x2b101a(0x13b)](_0x2800c6),_0x29f23d[_0x2b101a(0x2f0)]({'unitID':_0x2800c6,'undoMutations':[{'id':Y['id'],'params':_0x5d2dab}],'redoMutations':[{'id':Y['id'],'params':_0x281dbc}]}),!0x0):!0x1;}},wr={'id':_0x16d78d(0x164),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x3d8f08,_0x146098)=>{const _0x42b323=_0x16d78d;if(!_0x146098)return!0x1;let _0x3e8e4a=_0x3d8f08[_0x42b323(0x36e)](_0x4c4561),{unitId:_0x84ae36,tableId:_0x335767,viewId:_0x32d865,name:_0x24a6d5}=_0x146098,_0x7750de=_0x3e8e4a[_0x42b323(0xf6)](_0x84ae36,_0x45db82[_0x42b323(0x1ed)]);if(!_0x7750de||!X(_0x7750de,_0x335767,{'viewIds':[_0x32d865]}))return!0x1;let _0x56685f=_0x3d8f08[_0x42b323(0x36e)](_0x4bf63b),_0x7ff995=_0x3d8f08[_0x42b323(0x36e)](_0x157955),_0xec77fe=_0x7750de[_0x42b323(0x254)](),_0x395c23=new F()[_0x42b323(0x307)](_0xec77fe,_0x335767,_0x32d865,_0x24a6d5),_0x52ae4c=new D()['invertOp'](_0xec77fe,_0x395c23),_0x2ddefd={'unitId':_0x84ae36,'op':_0x395c23},_0x269d85={'unitId':_0x84ae36,'op':_0x52ae4c};return _0x56685f[_0x42b323(0x30a)](Y['id'],_0x2ddefd)?(_0x3e8e4a[_0x42b323(0x13b)](_0x84ae36),_0x7ff995[_0x42b323(0x2f0)]({'unitID':_0x84ae36,'undoMutations':[{'id':Y['id'],'params':_0x269d85}],'redoMutations':[{'id':Y['id'],'params':_0x2ddefd}]}),!0x0):!0x1;}},Tr={'id':_0x16d78d(0x2d8),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x43d86c,_0x530602)=>{const _0x298ee0=_0x16d78d;if(!_0x530602)return!0x1;let _0x389301=_0x43d86c[_0x298ee0(0x36e)](_0x4c4561),{unitId:_0x5df386,tableId:_0x5d4aaf,viewId:_0x425ea5,fieldId:_0x2bc2a6}=_0x530602,_0x357102=_0x389301[_0x298ee0(0xf6)](_0x5df386,_0x45db82[_0x298ee0(0x1ed)]);if(!_0x357102||!X(_0x357102,_0x5d4aaf,{'viewIds':[_0x425ea5],'fieldIds':[_0x2bc2a6]}))return!0x1;let _0x1008e5=_0x43d86c['get'](_0x4bf63b),_0x55dff7=_0x43d86c[_0x298ee0(0x36e)](_0x157955),_0x3033da=_0x357102[_0x298ee0(0x254)](),_0x369ecf=new F()[_0x298ee0(0x20c)](_0x3033da,_0x5d4aaf,_0x425ea5,{'groupFieldId':_0x2bc2a6}),_0x344325=new D()['invertOp'](_0x3033da,_0x369ecf),_0x4246da={'unitId':_0x5df386,'op':_0x369ecf},_0x5426be={'unitId':_0x5df386,'op':_0x344325};return _0x1008e5[_0x298ee0(0x30a)](Y['id'],_0x4246da)?(_0x389301[_0x298ee0(0x13b)](_0x5df386),_0x55dff7[_0x298ee0(0x2f0)]({'unitID':_0x5df386,'undoMutations':[{'id':Y['id'],'params':_0x5426be}],'redoMutations':[{'id':Y['id'],'params':_0x4246da}]}),!0x0):!0x1;}},Er={'id':_0x16d78d(0x29b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0xd57f9,_0x73f26e){const _0x386e6f=_0x16d78d;if(!_0x73f26e)return!0x1;let _0x2c34a8=_0xd57f9[_0x386e6f(0x36e)](_0x4c4561),{unitId:_0x9db658,tableId:_0x3f5a89,patches:_0x231fea}=_0x73f26e,_0x1251e1=_0x2c34a8[_0x386e6f(0xf6)](_0x9db658,_0x45db82[_0x386e6f(0x1ed)]);if(!_0x1251e1||!X(_0x1251e1,_0x3f5a89))return!0x1;let _0x506ddf=_0xd57f9[_0x386e6f(0x36e)](_0x4bf63b),_0x4fd77f=_0xd57f9[_0x386e6f(0x36e)](_0x157955),_0x574004=_0x1251e1['getSnapshot'](),_0x5a0515=w(_0x574004['tables'][_0x3f5a89]),_0x2da0dd=_0x231fea['map'](_0x1e82fa=>{const _0x5db516=_0x386e6f;var _0x21e7c6;return _0x5db516(0x36c)in _0x1e82fa?_0x1e82fa[_0x5db516(0x36c)]:(_0x21e7c6=_0x5a0515[_0x5db516(0xd7)])==null?void 0x0:_0x21e7c6[_0x1e82fa[_0x5db516(0x2ed)]];})[_0x386e6f(0x33b)](_0x5e39b7=>_0x5e39b7!=null),_0x261c83=_0x231fea[_0x386e6f(0x187)](_0x4004e2=>{const _0x3e72ad=_0x386e6f;var _0x30e43d;return _0x3e72ad(0x375)in _0x4004e2?_0x4004e2['fieldId']:(_0x30e43d=_0x5a0515[_0x3e72ad(0x15b)])==null?void 0x0:_0x30e43d[_0x4004e2[_0x3e72ad(0x1da)]];})['filter'](_0x34251c=>_0x34251c!=null);if(_0x2da0dd['length']!==_0x231fea['length']||_0x261c83[_0x386e6f(0x1ee)]!==_0x231fea[_0x386e6f(0x1ee)]||!X(_0x1251e1,_0x3f5a89,{'recordIds':_0x2da0dd,'fieldIds':_0x261c83}))return!0x1;let _0x1ccb13=_0x231fea[_0x386e6f(0x1cc)](_0x19b3ff=>{const _0x256731=_0x386e6f;var _0x25b266,_0x2dc54f;if(_0x256731(0x2ed)in _0x19b3ff)return[_0x19b3ff];let _0x1189d7=(_0x25b266=_0x5a0515[_0x256731(0x34b)])==null?void 0x0:_0x25b266[_0x19b3ff[_0x256731(0x36c)]],_0x19652d=(_0x2dc54f=_0x5a0515['colIndex'])==null?void 0x0:_0x2dc54f[_0x19b3ff[_0x256731(0x375)]];return _0x1189d7==null||_0x19652d==null?[]:[{'row':_0x1189d7,'col':_0x19652d,'value':_0x19b3ff[_0x256731(0x2e7)]}];}),_0x59e566=new F()['setRangeValues'](_0x574004,_0x3f5a89,_0x1ccb13),_0x1a8a7d=new D()[_0x386e6f(0x2d1)](_0x574004,_0x59e566),_0x2b3029={'unitId':_0x9db658,'op':_0x59e566},_0x28a0f9={'unitId':_0x9db658,'op':_0x1a8a7d};return _0x506ddf[_0x386e6f(0x30a)](Y['id'],_0x2b3029)?(_0x2c34a8[_0x386e6f(0x13b)](_0x9db658),_0x4fd77f['pushUndoRedo']({'unitID':_0x9db658,'undoMutations':[{'id':Y['id'],'params':_0x28a0f9}],'redoMutations':[{'id':Y['id'],'params':_0x2b3029}]}),!0x0):!0x1;}},Dr={'id':_0x16d78d(0x12b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x406dfb,_0x188ae){const _0x16fd59=_0x16d78d;if(!_0x188ae)return!0x1;let _0x5d8a74=_0x406dfb[_0x16fd59(0x36e)](_0x4c4561),{unitId:_0x4df965,tableId:_0x5a3ba9,patches:_0x1b2f41}=_0x188ae,_0x55429f=_0x5d8a74['getUnit'](_0x4df965,_0x45db82['UNIVER_BASE']),_0x12f53a=_0x1b2f41[_0x16fd59(0x187)](_0x1e19ee=>_0x1e19ee[_0x16fd59(0x36c)]),_0x5b7d97=_0x1b2f41[_0x16fd59(0x1cc)](_0x5b4f9c=>Object[_0x16fd59(0x33a)](_0x5b4f9c['values']));if(!_0x55429f||!X(_0x55429f,_0x5a3ba9,{'recordIds':_0x12f53a,'fieldIds':_0x5b7d97}))return!0x1;let _0x21365a=_0x406dfb[_0x16fd59(0x36e)](_0x4bf63b),_0x51b35d=_0x406dfb[_0x16fd59(0x36e)](_0x157955),_0x83f732=_0x406dfb[_0x16fd59(0x36e)](V)[_0x16fd59(0x359)](_0x55429f,_0x5a3ba9,_0x1b2f41),_0x20f641=new D()[_0x16fd59(0x2d1)](_0x55429f[_0x16fd59(0x254)](),_0x83f732),_0x343c5b={'unitId':_0x4df965,'op':_0x83f732},_0x192b4a={'unitId':_0x4df965,'op':_0x20f641};return _0x21365a['syncExecuteCommand'](Y['id'],_0x343c5b)?(_0x5d8a74['focusUnit'](_0x4df965),_0x51b35d['pushUndoRedo']({'unitID':_0x4df965,'undoMutations':[{'id':Y['id'],'params':_0x192b4a}],'redoMutations':[{'id':Y['id'],'params':_0x343c5b}]}),!0x0):!0x1;}},Or={'id':_0x16d78d(0x24b),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0xdddbba,_0x13ec88)=>{const _0x144103=_0x16d78d;var _0x1ca744;if(!_0x13ec88)return!0x1;let _0x185a5e=_0xdddbba[_0x144103(0x36e)](_0x4c4561),{unitId:_0x29d643,tableId:_0x530f29,viewId:_0x155248,fieldId:_0x4402b3,target:_0x1ae865}=_0x13ec88,_0x3f2eb6=_0x185a5e['getUnit'](_0x29d643,_0x45db82[_0x144103(0x1ed)]),_0x1c44dc=(_0x1ca744=_0x1ae865['beforeFieldId'])==null?_0x1ae865[_0x144103(0x13a)]:_0x1ca744;if(!_0x3f2eb6||!_0x1c44dc||_0x1c44dc===_0x4402b3||!X(_0x3f2eb6,_0x530f29,{'viewIds':[_0x155248],'fieldIds':[_0x4402b3,_0x1c44dc]}))return!0x1;let _0x43ba85=_0xdddbba[_0x144103(0x36e)](_0x4bf63b),_0x5a8020=_0xdddbba['get'](_0x157955),_0x43fa29=_0x3f2eb6['getSnapshot'](),_0x828f8=new F()[_0x144103(0x100)](_0x43fa29,_0x530f29,_0x155248,_0x4402b3,_0x1ae865),_0x55f1e9=new D()[_0x144103(0x2d1)](_0x43fa29,_0x828f8),_0x4ff028={'unitId':_0x29d643,'op':_0x828f8},_0xf19a43={'unitId':_0x29d643,'op':_0x55f1e9};return _0x43ba85[_0x144103(0x30a)](Y['id'],_0x4ff028)?(_0x185a5e[_0x144103(0x13b)](_0x29d643),_0x5a8020['pushUndoRedo']({'unitID':_0x29d643,'undoMutations':[{'id':Y['id'],'params':_0xf19a43}],'redoMutations':[{'id':Y['id'],'params':_0x4ff028}]}),!0x0):!0x1;}},kr={'id':_0x16d78d(0x126),'type':_0x567a9a['COMMAND'],'handler'(_0xff24b1,_0x4ec2e5){const _0x580688=_0x16d78d;if(!_0x4ec2e5)return!0x1;let _0x53f872=_0xff24b1['get'](_0x4c4561),{unitId:_0x456b92,tableId:_0x1e1a5c,viewId:_0x29f252,fieldId:_0x266619,visible:_0x5d7251}=_0x4ec2e5,_0x1279db=_0x53f872[_0x580688(0xf6)](_0x456b92,_0x45db82['UNIVER_BASE']);if(!_0x1279db||!X(_0x1279db,_0x1e1a5c,{'viewIds':[_0x29f252],'fieldIds':[_0x266619]}))return!0x1;let _0x44e9bb=_0xff24b1['get'](_0x4bf63b),_0x3dddf0=_0xff24b1[_0x580688(0x36e)](_0x157955),_0x7eb2d9=_0x1279db[_0x580688(0x254)](),_0x18a44d=new F()[_0x580688(0x279)](_0x7eb2d9,_0x1e1a5c,_0x29f252,_0x266619,_0x5d7251),_0x3fdd8e=new D()[_0x580688(0x2d1)](_0x7eb2d9,_0x18a44d),_0x3379d9={'unitId':_0x456b92,'op':_0x18a44d},_0x700cc2={'unitId':_0x456b92,'op':_0x3fdd8e};return _0x44e9bb[_0x580688(0x30a)](Y['id'],_0x3379d9)?(_0x53f872[_0x580688(0x13b)](_0x456b92),_0x3dddf0[_0x580688(0x2f0)]({'unitID':_0x456b92,'undoMutations':[{'id':Y['id'],'params':_0x700cc2}],'redoMutations':[{'id':Y['id'],'params':_0x3379d9}]}),!0x0):!0x1;}},Ar={'id':_0x16d78d(0x312),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x1fe9e8,_0x56111f)=>{const _0x14ec51=_0x16d78d;if(!_0x56111f)return!0x1;let _0xa58d9=_0x1fe9e8['get'](_0x4c4561),{unitId:_0x56fd37,tableId:_0xa0e727,viewId:_0x1d9744,fieldId:_0x1ceac0,width:_0x55ea8a}=_0x56111f,_0x12e7b9=_0xa58d9[_0x14ec51(0xf6)](_0x56fd37,_0x45db82[_0x14ec51(0x1ed)]);if(!_0x12e7b9||!X(_0x12e7b9,_0xa0e727,{'viewIds':[_0x1d9744],'fieldIds':[_0x1ceac0]}))return!0x1;let _0x274859=_0x1fe9e8['get'](_0x4bf63b),_0x369ad1=_0x1fe9e8[_0x14ec51(0x36e)](_0x157955),_0x4765fd=_0x12e7b9['getSnapshot'](),_0x5d15b8=new F()[_0x14ec51(0x1bf)](_0x4765fd,_0xa0e727,_0x1d9744,_0x1ceac0,_0x55ea8a),_0x5c58bf=new D()[_0x14ec51(0x2d1)](_0x4765fd,_0x5d15b8),_0x596434={'unitId':_0x56fd37,'op':_0x5d15b8},_0xf1f4d1={'unitId':_0x56fd37,'op':_0x5c58bf};return _0x274859[_0x14ec51(0x30a)](Y['id'],_0x596434)?(_0xa58d9[_0x14ec51(0x13b)](_0x56fd37),_0x369ad1[_0x14ec51(0x2f0)]({'unitID':_0x56fd37,'undoMutations':[{'id':Y['id'],'params':_0xf1f4d1}],'redoMutations':[{'id':Y['id'],'params':_0x596434}]}),!0x0):!0x1;}},jr={'id':_0x16d78d(0x247),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x4238ce,_0x459d9f)=>{const _0x1bcaa0=_0x16d78d;var _0x509f7d;if(!_0x459d9f)return!0x1;let _0x2f6de9=_0x4238ce[_0x1bcaa0(0x36e)](_0x4c4561),{unitId:_0x2d7f0b,tableId:_0x9c7637,viewId:_0x3de06f,filter:_0x4d73ff}=_0x459d9f,_0x1fb056=_0x2f6de9[_0x1bcaa0(0xf6)](_0x2d7f0b,_0x45db82[_0x1bcaa0(0x1ed)]),_0x362268=(_0x509f7d=_0x4d73ff==null?void 0x0:_0x4d73ff[_0x1bcaa0(0xcc)][_0x1bcaa0(0x187)](_0x3837d3=>_0x3837d3[_0x1bcaa0(0x375)]))==null?[]:_0x509f7d;if(!_0x1fb056||!X(_0x1fb056,_0x9c7637,{'viewIds':[_0x3de06f],'fieldIds':_0x362268}))return!0x1;let _0x407c61=_0x4238ce[_0x1bcaa0(0x36e)](_0x4bf63b),_0x29cd92=_0x4238ce[_0x1bcaa0(0x36e)](_0x157955),_0x539bb8=_0x1fb056[_0x1bcaa0(0x254)](),_0x5068a9=new F()[_0x1bcaa0(0x2cd)](_0x539bb8,_0x9c7637,_0x3de06f,_0x4d73ff),_0x1a0a8a=new D()[_0x1bcaa0(0x2d1)](_0x539bb8,_0x5068a9),_0x1ee635={'unitId':_0x2d7f0b,'op':_0x5068a9},_0x2df630={'unitId':_0x2d7f0b,'op':_0x1a0a8a};return _0x407c61[_0x1bcaa0(0x30a)](Y['id'],_0x1ee635)?(_0x2f6de9[_0x1bcaa0(0x13b)](_0x2d7f0b),_0x29cd92['pushUndoRedo']({'unitID':_0x2d7f0b,'undoMutations':[{'id':Y['id'],'params':_0x2df630}],'redoMutations':[{'id':Y['id'],'params':_0x1ee635}]}),!0x0):!0x1;}},Mr={'id':'base.command.set-base-view-group','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x529e5a,_0x4cdb22)=>{const _0x161be3=_0x16d78d;if(!_0x4cdb22)return!0x1;let _0x64fae=_0x529e5a[_0x161be3(0x36e)](_0x4c4561),{unitId:_0x22621b,tableId:_0x17e548,viewId:_0x1b9459,group:_0x45b861}=_0x4cdb22,_0xf491a3=_0x64fae[_0x161be3(0xf6)](_0x22621b,_0x45db82[_0x161be3(0x1ed)]);if(!_0xf491a3||!X(_0xf491a3,_0x17e548,{'viewIds':[_0x1b9459],'fieldIds':_0x45b861['map'](_0x1c991c=>_0x1c991c[_0x161be3(0x375)])}))return!0x1;let _0x2d84dc=_0x529e5a[_0x161be3(0x36e)](_0x4bf63b),_0x3aa548=_0x529e5a[_0x161be3(0x36e)](_0x157955),_0x44f837=_0xf491a3[_0x161be3(0x254)](),_0x30d748=new F()[_0x161be3(0x16a)](_0x44f837,_0x17e548,_0x1b9459,_0x45b861),_0x3a1a28=new D()['invertOp'](_0x44f837,_0x30d748),_0x334216={'unitId':_0x22621b,'op':_0x30d748},_0x317068={'unitId':_0x22621b,'op':_0x3a1a28};return _0x2d84dc[_0x161be3(0x30a)](Y['id'],_0x334216)?(_0x64fae['focusUnit'](_0x22621b),_0x3aa548[_0x161be3(0x2f0)]({'unitID':_0x22621b,'undoMutations':[{'id':Y['id'],'params':_0x317068}],'redoMutations':[{'id':Y['id'],'params':_0x334216}]}),!0x0):!0x1;}},Nr={'id':'base.command.set-base-view-sort','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x1dde4e,_0x4e1e6f)=>{const _0x3b0b29=_0x16d78d;if(!_0x4e1e6f)return!0x1;let _0x34b708=_0x1dde4e['get'](_0x4c4561),{unitId:_0x9604af,tableId:_0xfe5cda,viewId:_0x38b8d2,sort:_0x1fc308}=_0x4e1e6f,_0x415295=_0x34b708[_0x3b0b29(0xf6)](_0x9604af,_0x45db82[_0x3b0b29(0x1ed)]);if(!_0x415295||!X(_0x415295,_0xfe5cda,{'viewIds':[_0x38b8d2],'fieldIds':_0x1fc308[_0x3b0b29(0x187)](_0x1bfd4e=>_0x1bfd4e[_0x3b0b29(0x375)])}))return!0x1;let _0x22d815=_0x1dde4e['get'](_0x4bf63b),_0x482c41=_0x1dde4e[_0x3b0b29(0x36e)](_0x157955),_0x14a39c=_0x415295[_0x3b0b29(0x254)](),_0x5e1df0=new F()[_0x3b0b29(0x274)](_0x14a39c,_0xfe5cda,_0x38b8d2,_0x1fc308),_0x58faee=new D()[_0x3b0b29(0x2d1)](_0x14a39c,_0x5e1df0),_0x57df03={'unitId':_0x9604af,'op':_0x5e1df0},_0x5d2d9e={'unitId':_0x9604af,'op':_0x58faee};return _0x22d815[_0x3b0b29(0x30a)](Y['id'],_0x57df03)?(_0x34b708[_0x3b0b29(0x13b)](_0x9604af),_0x482c41[_0x3b0b29(0x2f0)]({'unitID':_0x9604af,'undoMutations':[{'id':Y['id'],'params':_0x5d2d9e}],'redoMutations':[{'id':Y['id'],'params':_0x57df03}]}),!0x0):!0x1;}},Pr={'id':_0x16d78d(0x1b9),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x2cd159,_0x14faf9){const _0x34fcfe=_0x16d78d;if(!_0x14faf9)return!0x1;let _0x2a9297=_0x2cd159[_0x34fcfe(0x36e)](_0x4c4561),{unitId:_0x20e534,tableId:_0x1bbe43,recordId:_0x2fee8c,fieldId:_0x24dbf4,value:_0x490925}=_0x14faf9,_0x14b8b9=_0x2a9297['getUnit'](_0x20e534,_0x45db82[_0x34fcfe(0x1ed)]);if(!_0x14b8b9||!X(_0x14b8b9,_0x1bbe43,{'recordIds':[_0x2fee8c],'fieldIds':[_0x24dbf4]}))return!0x1;let _0x27a702=_0x2cd159['get'](_0x4bf63b),_0x3ded8d=_0x2cd159[_0x34fcfe(0x36e)](_0x157955),_0x3e51e6=_0x2cd159[_0x34fcfe(0x36e)](V),_0x58b2cc;try{_0x58b2cc=_0x3e51e6[_0x34fcfe(0x344)](_0x14b8b9,_0x1bbe43,_0x2fee8c,_0x24dbf4,_0x490925);}catch(_0xe89a4c){return console[_0x34fcfe(0xfe)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0xe89a4c),!0x1;}let _0x34cb5e=new D()[_0x34fcfe(0x2d1)](_0x14b8b9[_0x34fcfe(0x254)](),_0x58b2cc),_0x3473f5={'unitId':_0x20e534,'op':_0x58b2cc},_0x15d07e={'unitId':_0x20e534,'op':_0x34cb5e};return _0x27a702[_0x34fcfe(0x30a)](Y['id'],_0x3473f5)?(_0x2a9297[_0x34fcfe(0x13b)](_0x20e534),_0x3ded8d[_0x34fcfe(0x2f0)]({'unitID':_0x20e534,'undoMutations':[{'id':Y['id'],'params':_0x15d07e}],'redoMutations':[{'id':Y['id'],'params':_0x3473f5}]}),!0x0):!0x1;}},Fr={'id':_0x16d78d(0x2e9),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x46fc82,_0x3accf7){const _0x580fe9=_0x16d78d;if(!_0x3accf7)return!0x1;let _0x5cb8ea=_0x46fc82[_0x580fe9(0x36e)](_0x4c4561),{unitId:_0x214ce4,tableId:_0x35a2d2,fieldId:_0x274663}=_0x3accf7,_0x4155bf=_0x5cb8ea['getUnit'](_0x214ce4,_0x45db82['UNIVER_BASE']);if(!_0x4155bf||!X(_0x4155bf,_0x35a2d2,{'fieldIds':[_0x274663]}))return!0x1;let _0xdb57f8=_0x46fc82['get'](_0x4bf63b),_0x19dcc2=_0x46fc82['get'](_0x157955),_0x3c637d=_0x4155bf[_0x580fe9(0x254)](),_0x1dfdcf=_0x3accf7[_0x580fe9(0xbc)][_0x580fe9(0x304)](),_0x13d250=new F()[_0x580fe9(0x107)](_0x3c637d,_0x35a2d2,_0x274663,{'description':_0x1dfdcf}),_0x1b752a=new D()[_0x580fe9(0x2d1)](_0x4155bf[_0x580fe9(0x254)](),_0x13d250),_0x2afac8={'unitId':_0x214ce4,'op':_0x13d250},_0x3b51cf={'unitId':_0x214ce4,'op':_0x1b752a};return _0xdb57f8[_0x580fe9(0x30a)](Y['id'],_0x2afac8)?(_0x5cb8ea[_0x580fe9(0x13b)](_0x214ce4),_0x19dcc2[_0x580fe9(0x2f0)]({'unitID':_0x214ce4,'undoMutations':[{'id':Y['id'],'params':_0x3b51cf}],'redoMutations':[{'id':Y['id'],'params':_0x2afac8}]}),!0x0):!0x1;}},Ir={'id':_0x16d78d(0x2d9),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x37795e,_0x5132c4)=>{const _0x278d16=_0x16d78d;if(!_0x5132c4)return!0x1;let _0x1c4727=_0x37795e['get'](_0x4c4561),{unitId:_0x52d8c0,tableId:_0x3f5095,fieldId:_0x45f207,patch:_0x54b8f0}=_0x5132c4,_0xe28bd7=_0x1c4727['getUnit'](_0x52d8c0,_0x45db82[_0x278d16(0x1ed)]);if(!_0xe28bd7||!X(_0xe28bd7,_0x3f5095,{'fieldIds':[_0x45f207]}))return!0x1;let _0x1506cc=_0x37795e[_0x278d16(0x36e)](_0x4bf63b),_0xb45cc=_0x37795e[_0x278d16(0x36e)](_0x157955),_0x1afbe9=_0xe28bd7[_0x278d16(0x254)](),_0xbafc4b=new F()[_0x278d16(0x107)](_0x1afbe9,_0x3f5095,_0x45f207,_0x54b8f0),_0x281e23=new D()['invertOp'](_0x1afbe9,_0xbafc4b),_0x514ad9={'unitId':_0x52d8c0,'op':_0xbafc4b},_0x15d741={'unitId':_0x52d8c0,'op':_0x281e23};return _0x1506cc[_0x278d16(0x30a)](Y['id'],_0x514ad9)?(_0x1c4727[_0x278d16(0x13b)](_0x52d8c0),_0xb45cc['pushUndoRedo']({'unitID':_0x52d8c0,'undoMutations':[{'id':Y['id'],'params':_0x15d741}],'redoMutations':[{'id':Y['id'],'params':_0x514ad9}]}),!0x0):!0x1;}},Lr={'id':_0x16d78d(0x31a),'type':_0x567a9a['COMMAND'],'handler':(_0x28e1f6,_0x848fa5)=>{const _0xa60b09=_0x16d78d;if(!_0x848fa5)return!0x1;let _0x1b4720=_0x28e1f6['get'](_0x4c4561),{unitId:_0xe757d8,tableId:_0x4ba4eb,viewId:_0x14e90d,patch:_0x43c34f}=_0x848fa5,_0x17fc6e=_0x1b4720['getUnit'](_0xe757d8,_0x45db82[_0xa60b09(0x1ed)]);if(!_0x17fc6e||!X(_0x17fc6e,_0x4ba4eb,{'viewIds':[_0x14e90d]}))return!0x1;let _0x1bff26=_0x28e1f6[_0xa60b09(0x36e)](_0x4bf63b),_0x2b0885=_0x28e1f6[_0xa60b09(0x36e)](_0x157955),_0x1f3c9b=_0x17fc6e[_0xa60b09(0x254)](),_0x1d3280=new F()['updateViewConfig'](_0x1f3c9b,_0x4ba4eb,_0x14e90d,_0x43c34f),_0xbb2499=new D()[_0xa60b09(0x2d1)](_0x1f3c9b,_0x1d3280),_0x5a85c5={'unitId':_0xe757d8,'op':_0x1d3280},_0x5950f1={'unitId':_0xe757d8,'op':_0xbb2499};return _0x1bff26[_0xa60b09(0x30a)](Y['id'],_0x5a85c5)?(_0x1b4720[_0xa60b09(0x13b)](_0xe757d8),_0x2b0885['pushUndoRedo']({'unitID':_0xe757d8,'undoMutations':[{'id':Y['id'],'params':_0x5950f1}],'redoMutations':[{'id':Y['id'],'params':_0x5a85c5}]}),!0x0):!0x1;}},Rr={'id':_0x16d78d(0x23a),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x26770e,_0x35b98f)=>{const _0x44a19c=_0x16d78d;if(!_0x35b98f)return!0x1;let _0x11dcd5=_0x26770e[_0x44a19c(0x36e)](_0x4c4561),{unitId:_0x494a82,tableId:_0x49a47c,recordId:_0xe7ea8d,orderKey:_0x4b1a38}=_0x35b98f,_0x11c510=_0x11dcd5[_0x44a19c(0xf6)](_0x494a82,_0x45db82['UNIVER_BASE']);if(!_0x11c510||!X(_0x11c510,_0x49a47c,{'recordIds':[_0xe7ea8d]}))return!0x1;let _0x1d79e3=_0x26770e[_0x44a19c(0x36e)](_0x4bf63b),_0x546600=_0x26770e[_0x44a19c(0x36e)](_0x157955),_0x3e50d6=_0x11c510[_0x44a19c(0x254)](),_0x298f74=new F()[_0x44a19c(0x177)](_0x3e50d6,_0x49a47c,_0xe7ea8d,_0x4b1a38),_0x135387=new D()['invertOp'](_0x3e50d6,_0x298f74),_0x3b5aa7={'unitId':_0x494a82,'op':_0x298f74},_0xc5e250={'unitId':_0x494a82,'op':_0x135387};return _0x1d79e3[_0x44a19c(0x30a)](Y['id'],_0x3b5aa7)?(_0x11dcd5[_0x44a19c(0x13b)](_0x494a82),_0x546600['pushUndoRedo']({'unitID':_0x494a82,'undoMutations':[{'id':Y['id'],'params':_0xc5e250}],'redoMutations':[{'id':Y['id'],'params':_0x3b5aa7}]}),!0x0):!0x1;}},zr={'id':_0x16d78d(0x18a),'type':_0x567a9a['COMMAND'],'handler':(_0x255297,_0x471838)=>{const _0x35ef78=_0x16d78d;if(!_0x471838)return!0x1;let _0x4fec04=_0x255297['get'](_0x4c4561),{unitId:_0x378af7,tableId:_0x3c7d71,viewId:_0x555e2d,patch:_0x5d701c}=_0x471838,_0x27dd71=_0x4fec04[_0x35ef78(0xf6)](_0x378af7,_0x45db82[_0x35ef78(0x1ed)]);if(!_0x27dd71||!X(_0x27dd71,_0x3c7d71,{'viewIds':[_0x555e2d]}))return!0x1;let _0x21e9b7=_0x255297[_0x35ef78(0x36e)](_0x4bf63b),_0xf2ce16=_0x255297[_0x35ef78(0x36e)](_0x157955),_0x570c09=_0x27dd71[_0x35ef78(0x254)](),_0x30a7a6=new F()[_0x35ef78(0x20c)](_0x570c09,_0x3c7d71,_0x555e2d,_0x5d701c),_0x231f98=new D()[_0x35ef78(0x2d1)](_0x570c09,_0x30a7a6),_0x2e2eb8={'unitId':_0x378af7,'op':_0x30a7a6},_0x42eec7={'unitId':_0x378af7,'op':_0x231f98};return _0x21e9b7[_0x35ef78(0x30a)](Y['id'],_0x2e2eb8)?(_0x4fec04['focusUnit'](_0x378af7),_0xf2ce16[_0x35ef78(0x2f0)]({'unitID':_0x378af7,'undoMutations':[{'id':Y['id'],'params':_0x42eec7}],'redoMutations':[{'id':Y['id'],'params':_0x2e2eb8}]}),!0x0):!0x1;}};function Br(_0x2df5db){const _0x3178a6=_0x16d78d;var _0x5b968b,_0x43e5d0,_0x5c63e2,_0x30f633,_0x435fef;let _0x112f90=(_0x5b968b=_0x2df5db[_0x3178a6(0x176)])==null?Date['now']():_0x5b968b,_0x5e4706=(_0x43e5d0=_0x2df5db[_0x3178a6(0xaf)])==null?_0x2df5db['id']+'-field-name':_0x43e5d0,_0x2e1dae=(_0x5c63e2=_0x2df5db[_0x3178a6(0x2c1)])==null?_0x2df5db['id']+_0x3178a6(0x1f2):_0x5c63e2,_0x1b353c=(_0x30f633=_0x2df5db['recordCount'])==null?0x5:_0x30f633,_0x45efeb={'id':_0x5e4706,'name':(_0x435fef=_0x2df5db[_0x3178a6(0x19c)])==null?_0x3178a6(0x26a):_0x435fef,'type':_0x3d85e5['Text'],'config':{'placeholder':_0x3178a6(0x2d4)}},_0x102b23={},_0x18f994=[],_0x193d27={},_0x1ce7d8={},_0x1b7cba={};for(let _0x32b072=0x0;_0x32b072<_0x1b353c;_0x32b072++){let _0x307851=_0x2df5db['id']+_0x3178a6(0x373)+(_0x32b072+0x1);_0x102b23[_0x307851]={'id':_0x307851,'values':_0x2df5db[_0x3178a6(0x345)]?{[_0x5e4706]:_0x2df5db['recordNamePrefix']+'\x20'+(_0x32b072+0x1)}:{},'orderKey':String(_0x32b072+0x1)[_0x3178a6(0xb9)](0x4,'0'),'createdAt':_0x112f90,'updatedAt':_0x112f90},_0x18f994[_0x3178a6(0xcd)](_0x307851),_0x193d27[_0x307851]=_0x32b072,_0x1ce7d8[_0x32b072]=_0x307851,_0x1b7cba[_0x32b072]={},_0x2df5db[_0x3178a6(0x345)]&&(_0x1b7cba[_0x32b072][0x0]={'v':_0x2df5db[_0x3178a6(0x345)]+'\x20'+(_0x32b072+0x1)});}let _0x184598={'id':_0x2e1dae,'tableId':_0x2df5db['id'],'name':_0x3178a6(0x23d),'type':_0x4f7ceb[_0x3178a6(0x23d)],'fieldOrder':[_0x5e4706],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x2df5db['id'],'name':_0x2df5db['name'],'primaryFieldId':_0x5e4706,'fieldOrder':[_0x5e4706],'fields':{[_0x5e4706]:_0x45efeb},'records':_0x102b23,'recordOrder':_0x18f994,'rowIndex':_0x193d27,'rowId':_0x1ce7d8,'colIndex':{[_0x5e4706]:0x0},'colId':{0x0:_0x5e4706},'cellData':_0x1b7cba,'views':{[_0x2e1dae]:_0x184598},'viewOrder':[_0x2e1dae]};}const Vr=_0x16d78d(0x2a8);function Hr(_0x49b215){const _0x5543dd=_0x16d78d;var _0x5badb7,_0x52c957;let _0x19e5e2=Br({'id':_0x49b215[_0x5543dd(0x120)],'name':(_0x5badb7=_0x49b215[_0x5543dd(0x14c)])==null?_0x49b215[_0x5543dd(0x163)]:_0x5badb7,'recordCount':0x0});return{..._0x19e5e2,'resources':{...(_0x52c957=_0x19e5e2[_0x5543dd(0x326)])==null?{}:_0x52c957,[Vr]:Gr(_0x49b215)}};}function Ur(_0x3458b3){const _0x446e65=_0x16d78d;return{'id':Y['id'],'params':{'unitId':_0x3458b3['unitId'],'op':new F()[_0x446e65(0xf5)](_0x3458b3[_0x446e65(0x2ab)],_0x3458b3[_0x446e65(0xc2)],_0x3458b3[_0x446e65(0x1f6)]),'trigger':_0x446e65(0xcf)}};}function Wr(_0x1a0644){const _0x488bc0=_0x16d78d;let _0x163fcd=_0x1a0644['snapshot'][_0x488bc0(0x1f3)][_0x488bc0(0x2f2)](_0x1a0644[_0x488bc0(0x21c)]);if(!(!_0x1a0644[_0x488bc0(0x2ab)]['tables'][_0x1a0644[_0x488bc0(0x21c)]]||_0x163fcd<0x0))return{'id':Y['id'],'params':{'unitId':_0x1a0644[_0x488bc0(0x314)],'op':new F()[_0x488bc0(0x21f)](_0x1a0644[_0x488bc0(0x2ab)],_0x1a0644[_0x488bc0(0x21c)]),'trigger':_0x488bc0(0xcf)}};}function Gr(_0x3acb09){const _0x2e3eed=_0x16d78d;return{'version':0x1,'embedId':_0x3acb09[_0x2e3eed(0x163)],'hostAnchorId':_0x3acb09[_0x2e3eed(0x120)],'childUnitId':_0x3acb09[_0x2e3eed(0x2ca)],'childType':_0x3acb09['childType']};}function Kr(_0x2ac9f6){const _0x2587f3=_0x16d78d;var _0x3a0d41;let _0x32aa48=Math['max'](0x0,Number((_0x3a0d41=_0x2ac9f6['decimalPlaces'])==null?0x0:_0x3a0d41)),_0x4090f3=_0x2ac9f6[_0x2587f3(0x206)]===!0x1?'0':_0x2587f3(0x16d),_0x24f26e=_0x32aa48?'.'+'0'['repeat'](_0x32aa48):'',_0x338007=Jr(_0x2ac9f6[_0x2587f3(0x1c3)]);return''+(_0x2ac9f6['currencySymbol']?Yr(_0x2ac9f6['currencySymbol']):'')+_0x4090f3+_0x24f26e+_0x338007;}function qr(_0x18f820,_0x3a46c6){const _0x36a450=_0x16d78d;let _0x1fc48d=Kr(_0x3a46c6),_0x220b30=_0x57444b['format'](_0x1fc48d,_0x18f820,{'throws':!0x1});return Xr(String(_0x220b30),_0x3a46c6[_0x36a450(0x27f)],_0x3a46c6[_0x36a450(0x291)]);}function Jr(_0x171b21){const _0x148eab=_0x16d78d;return _0x171b21==='K'?_0x148eab(0x1ba):_0x171b21==='M'?_0x148eab(0x29f):_0x171b21==='B'?_0x148eab(0x35c):'';}function Yr(_0x1c7936){const _0x2815ff=_0x16d78d;return/^[A-Z]+$/i[_0x2815ff(0xbd)](_0x1c7936)?'\x22'+_0x1c7936+'\x22':_0x1c7936;}function Xr(_0x2be11c,_0x28b146,_0x225707){const _0x1475b6=_0x16d78d;let _0xa66f2a=_0x28b146===_0x1475b6(0x2fb)?Zr(_0x225707):_0x28b146;return _0xa66f2a==='periodComma'?_0x2be11c['replace'](/,/g,'\x00')[_0x1475b6(0x204)](/\./g,',')[_0x1475b6(0x204)](/\0/g,'.'):_0xa66f2a===_0x1475b6(0x15f)?_0x2be11c[_0x1475b6(0x204)](/,/g,'\x20')[_0x1475b6(0x204)](/\./g,','):_0xa66f2a===_0x1475b6(0x256)?_0x2be11c[_0x1475b6(0x204)](/,/g,'\x20'):_0x2be11c;}function Zr(_0x22e38f){const _0x1d9400=_0x16d78d;var _0x48528b,_0x113311;let _0x5ccd5d=_0x22e38f||Intl[_0x1d9400(0x338)]()[_0x1d9400(0x1c9)]()[_0x1d9400(0x291)],_0x1a0668;try{_0x1a0668=new Intl['NumberFormat'](_0x5ccd5d,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1d9400(0x162)](0xf4240);}catch{return _0x1d9400(0x135);}let _0x399cbf=(_0x48528b=_0x1a0668[_0x1d9400(0x2db)](_0x3dd76e=>_0x3dd76e[_0x1d9400(0x14a)]===_0x1d9400(0xcb)))==null?void 0x0:_0x48528b[_0x1d9400(0x2e7)],_0x159b0a=(_0x113311=_0x1a0668['find'](_0x18d726=>_0x18d726[_0x1d9400(0x14a)]===_0x1d9400(0x235)))==null?void 0x0:_0x113311[_0x1d9400(0x2e7)],_0x5c2783=_0x399cbf==='\u00a0'||_0x399cbf==='\u202f'?'\x20':_0x399cbf;return _0x5c2783==='.'&&_0x159b0a===','?_0x1d9400(0x216):_0x5c2783==='\x20'&&_0x159b0a===','?_0x1d9400(0x15f):_0x5c2783==='\x20'&&_0x159b0a==='.'?_0x1d9400(0x256):'commaPeriod';}function Qr(_0x218bc9,_0xf1dbe5){const _0x1af511=_0x16d78d;var _0x20c54a,_0x52fa78;let _0x15dc84=_0xa49e00[_0x1af511(0x1bd)](_0x218bc9),_0x6daf01=_0xf1dbe5[_0x1af511(0x15d)]===!0x0,_0x2a17a7=new Map(),_0x439667=(_0x20c54a=_0xf1dbe5['createViewId'])==null?()=>_0x1af511(0x157)+_0x4fbb25(0x8):_0x20c54a,_0x86d14f=_0x15dc84[_0x1af511(0x1b1)];return _0xf1dbe5[_0x1af511(0x1e0)]&&(_0x86d14f=_0x15dc84[_0x1af511(0x1b1)]['map'](_0x5288d7=>{let _0x2c698d=_0x439667();return _0x2a17a7['set'](_0x5288d7,_0x2c698d),_0x2c698d;})),{..._0x15dc84,'id':_0xf1dbe5['id'],'name':_0xf1dbe5['name'],'records':_0x6daf01?_0x15dc84[_0x1af511(0x26d)]:{},'recordOrder':_0x6daf01?_0x15dc84[_0x1af511(0x158)]:[],'rowIndex':_0x6daf01?_0x15dc84[_0x1af511(0x34b)]:{},'rowId':_0x6daf01?_0x15dc84[_0x1af511(0xd7)]:{},'cellData':_0x6daf01?_0x15dc84[_0x1af511(0x33e)]:{},'resources':_0x6daf01?_0x15dc84[_0x1af511(0x326)]:{},'viewOrder':_0x86d14f,'views':Object['fromEntries'](Object['entries']((_0x52fa78=_0x15dc84[_0x1af511(0x2b6)])==null?{}:_0x52fa78)['map'](([_0x34aedb,_0x4ecbf1])=>{const _0x39bf3b=_0x1af511;var _0x54f89a;let _0x5d15c4=(_0x54f89a=_0x2a17a7['get'](_0x34aedb))==null?_0xf1dbe5[_0x39bf3b(0x1e0)]?_0x439667():_0x34aedb:_0x54f89a;return[_0x5d15c4,{..._0x4ecbf1,'id':_0x5d15c4,'tableId':_0xf1dbe5['id']}];}))};}function _0x72cc(){const _0xec8d35=['[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','selectField','views','_fastSortRows','updatedAt','isInteger','_cellInvalidationsTouchFields','exception-','setFieldPermission','_initCommands','done','invalidDateField','duplicateRecord','gridViewId','getUTCDate','_createSystemFieldValuePatches','_initialize','Uncategorized','_replaceOptional','progressFieldId','symbol','getAllUnitsForType','childUnitId','end','_plugins','setViewFilter','_projectRows','projection','fieldIndex','invertOp','getTypeOfUnitAdded$','deleteView','bases.fieldConfig.textPlaceholder','_commandService','_ganttBarColor','option-','base.command.set-base-kanban-group-field','base.command.update-base-field','_createRecordOrderOp','find','base.viewType.grid','tomorrow','missingField','startDateFieldId','endDateFieldId','query','registerCtorForType','viewIndexes','measure','_baseSyncDisposables','thisMonth','value','base.command.create-base-table','base.command.update-base-field-description','_groupsCacheKey','[BaseCommandService]:\x20field\x20\x22','_bumpTableRevision','row','base.permission.service','hidden','pushUndoRedo','createdBy','indexOf','timeZone','getUTCMonth',':end','_formulaService','_resolveGanttDateFieldId','registerTable','max','_dataSyncPrimaryController','local','usableAsGanttEnd','[BaseField]:\x20invalid\x20phone\x20value.','2523189DsETpK','duplicateField','_normalizeCellValue','fieldOrder','isNaN','[BaseFormula]:\x20table\x20\x22','trim','registerSuperTables','record','renameView','displayColor','_normalizeCalendarConfig','syncExecuteCommand','fields','_getCellRevision','field','NUMBER','_isCalendarDateField','[BaseProjectionService]:\x20missing\x20view\x20\x22','_setAttachmentResources','base.command.set-base-view-field-width','MMM\x20D,\x20YYYY','unitId','Empty','base.viewType.kanban','BaseProjection.materializeTableRows','_viewRevisions','year','base.command.update-base-kanban-config','invalid','viewId','canManageView','kanban','order','BaseProjection.projectGroups','fieldIds','some','recordPatch','every','width','resources','dateMode','COMMAND','getUnitId','toLocaleString','colIndex','major-','revision','_isAllDayGanttDateRange','next30','frozenFieldCount','editable','2009905Trqpwa','todo','invalidateByField','decimalPlaces','Rating',':start','NumberFormat','Status','keys','filter','Link','getCapabilities','cellData','TwoWayLink','800962bipodE','_title','_kanbanLaneTitle','_toDirtyRangePatch','createUpdateCellOp','recordNamePrefix','MM-DD','createRegExpFromSafeFragment','fieldName','text','Yes','rowIndex','createDefaultConfig','past7','bases.config','undefined','[BaseField]:\x20invalid\x20progress\x20value.','Button','isArray','none','#3b82f6','Number','size','_config','scale','createSetRecordValuesOp','_matchesGanttColorRule','fieldSettings',',,,\x22B\x22','RecordId','viewRevision','blue','onReady','Flow','replaceOp','children','defaultValue','view','dependencyFieldId','base-perf','_fieldRegistry','_applyingFormulaResults','next7','deleteRecord','recordId','MM/DD/YYYY','get','mode','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_initRegistries','UTC','-record-','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','fieldId','[BaseField]:\x20invalid\x20multi-value\x20reference.','STRING','_syncBaseUnit','_filterSortFieldIds','primaryFieldId','Calendar','thisWeek','_createNumberingAllocators','attachmentSets','_isAllDayCalendarEvent','workingDaysOnly','usableAsCalendarDate','isFinite','setRecordValues','padStart','timeslotSize','matchAll','description','test','createCreateRecordOp','reduce','getTime','raw','table','setSnapshot','\x22\x20does\x20not\x20exist.','sheetId','canCreateTable','columnSettings','deleteRecords','string','_buildGrid','group','conditions','push','manual','embed-ui','changeFieldType','[BasePerf]\x20','finally','canEditField','733112ABEhGg','unitData','calendar','rowId','Formula','start','[BaseCommandService]:\x20cannot\x20delete\x20table.','_buildGantt','repairViewConfig','_activeDirtyManagerService','[BaseField]:\x20invalid\x20rating\x20value.','workingDays','_recordIds','attachment','_getViewRevision','1.0.0-alpha.3','readonly','CreatedAt','Group','onCommandExecuted','SingleSelect','register','edit','getOwnPropertyDescriptor','_formulaSyncQueue','BaseProjection.filterAndSortRows','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','week','add','color','yyyy/mm/dd','Lookup','beforeFieldId','createTable','getUnit','compose','[BaseField]:\x20invalid\x20checkbox\x20value.','_buildCalendar','_groupProjectionFieldIds','_kanbanLaneColor','format','__all__','error','decorate','setViewFieldOrder','_syncSuperTables','_patchCachedProjectedRows','_getTable','recordIds','base.command.move-base-field','BaseProjection.projectTableRows','updateField','includeTime','params','percent','endsWith','canCreateRecord','getStructuredDependencies','_calendarEventColor','values','_kanbanGroupKeys','h:mm\x20a','cellRevision','rowIndexById','executeCommand','join','24LKNXRF','renameTable','_apply','_resolveGalleryCoverFieldId','Location','[BaseFormula]:\x20field\x20\x22','Working\x20day','_basePermissions','short','base.field-registry.service','hostAnchorId','_sortRows','setHours','toLowerCase','clearBasePermission','\x22\x20is\x20not\x20registered.','base.command.set-base-view-field-visible','setRecordPermission','resolve','label','_capabilities','base.command.set-base-record-values','invalidateByView','getSuperTableRegistrations','number','false','[BaseCommandService]:\x20cannot\x20create\x20table.','diffValue','_findCalendarDateFieldId','_recordPermissions','UpdatedAt','commaPeriod','_getTableRevision','formula.mutation.set-formula-calculation-result','hasOwnProperty','_createNumberingAllocator','afterFieldId','focusUnit','Text','formula','coverFieldId','_projectGroups','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','createDefaultValue','after','groups','_getKanbanConfiguredLanes','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','contains','[BaseCommandService]:\x20cannot\x20edit\x20field.','_patchProjectedRowsForCellInvalidations','base.viewType.gallery','type','_isColorfulKanbanGroupField','name','#,##0.00','leftPaneCollapsed','lessThan','check','[BaseCommandService]:\x20cannot\x20create\x20field.','base.viewType.gantt','localeCompare','invalidGroupField','invalidGanttEndField','createdAt','view-','recordOrder','base.fieldType.','CreatedBy','colId','autoIncrement','includeRecords','function','spaceComma','_projectFields','removeOp','formatToParts','embedId','base.command.rename-base-view','forEach','_isAllowedKanbanGroupField','usableAsGanttStart','canCreateField','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setViewGroup','moveView','call','#,##0','unknown','greaterThan','[BaseCommandService]:\x20cannot\x20delete\x20field.','version','getUTCDay','subscribe','cardLayout','createUnit','now','updateRecordOrder','month','invertWithDoc','_applyFormulaResult','globalRevision','conjunction','565579fxwhig','canDeleteField','_isGanttDateField','off','_getTablesToNormalize','rules','Kanban','gantt','Checkbox','moveField','map','#16a34a','isEmpty','base.command.update-base-view-config','Gantt','colorFieldId','Attachment','_permissionService','createCreateFieldOp','url','_cellInvalidations','Doing','_rowTransformCacheSegment','sort','startsWith','base.command.delete-base-table','operator','base.command.delete-base-view','pluginName','Progress','BaseProjection.projectRows','primaryFieldName','h24','36xjXMOF','notContains','system','getUTCFullYear','9225010AxieRb','base.command.move-base-view','updatedBy','manageView','[BaseCommandService]:\x20cannot\x20delete\x20record.','_setViewFieldSetting','_getSystemFieldValue','_resolveGalleryCardFieldIds','cell','_tablePermissions','createSuperTableReference','canDeleteTable','object','BOOLEAN','person','viewOrder','Phone','_buildKanban','setRangeValues','invalidateByOp','_globalRevision','lastIndexOf','slice','base.command.update-base-cell',',\x22K\x22','titleFieldId','_projectedRowsCache','deepClone','medium','setViewFieldWidth','info','[BaseField]:\x20invalid\x20person\x20value.','lastWeek','abbreviation','createView','assign','_runtimeContext','h12','findIndex','resolvedOptions','card','getAffectedRanges','flatMap','getTypeOfUnitDisposed$','allowMultiple','isNot','_deleteAttachmentResources','ena','registerView','base.command.duplicate-base-field','_isKanbanGroupField','getAll','_viewRowsCacheKey','entries','packageName','includes','col','base.command.rename-base-table','baseRows','_applier','prototype','star','regenerateViewIds','4YSxypH','_registeredSuperTableNames','_factory','applyOp','custom','False','_resolveKanbanCoverFieldId','tableName','Done','bases.fieldConfig.linkPlaceholder','fromPlainText','deleteField','UNIVER_BASE','length','#BFDBFE','base.command.change-base-field-type','YYYY/MM/DD\x20HH:mm','-view-grid','tableOrder','operand','stringify','index','tables','_canUseFastSort','_groupCellInvalidations','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','defineProperty','_getOrderedRecords','setConfig','createRecord','apply','_projectedViewRowsCache','_resolveKanbanGroupFieldId','#14b8a6','quarter','replace','_viewRevisionKey','useThousands','exact','attachmentSet','_cacheKey','@univerjs-pro/bases','setBasePermission','updateViewConfig','IBaseCellData.ensureTableCellLayout','valid','_injector','tableRevision','toPlainText','disposeWithMe','_projectTableRows','uniqueTableName','_getCachedProjection','periodComma','validate','_projectedGroupsCache','Todo','https://','yesterday','tableId','set','date','deleteTable','BaseJson1.json1Apply','rows','lessThanOrEqual','[BaseCommandService]:\x20cannot\x20manage\x20view.','Person','options','working','DESC','_isNonEmptyCellValue','UpdatedBy','fromEntries','_getCurrentUserId','Barcode','_resolveKanbanCardFieldIds','weekdays','updateCell','attachment-','clearTablePermission','getFullYear','showFieldNames','getItem','decimal','syncUnit','Currency','_normalizeCalendarDisplayColor','_fieldPermissions','base.command.update-base-record-order','base.command.delete-base-field','_univerInstanceService','Grid','_initDataSync','MultiSelect','REMOTE_BASES_PLUGIN','clearFieldPermission','1ajwpNj','Start\x20date','getMonth','__UNIVER_BASE_PERF__','getDay','base.command.set-base-view-filter','_createRecordWithDefaults','pattern','afterViewId','base.command.set-base-view-field-order','createBatchCreateRecordsOp','_enqueueFormulaSync','clearRecordPermission','YYYY-MM-DD','HH:mm','from','min','_getAllBaseDependencyTreeCacheMap','getSnapshot','constructor','spacePeriod','base.command.create-base-field','[BaseCommandService]:\x20cannot\x20create\x20record.','level','attachments','_groupConfigCacheSegment','_getAllTableIds','userID','day','true','usableAsCardCover','leftPaneWidth','normalize','_projectionCache','invalidateByCell','normal','orderKey','en-US','exceptions','canEditCell','Name','_buildGallery','score','records','reason','changed','base.command.service','Checked','catch','fld-','setViewSort','title','editCell','has','Email','setViewFieldVisible','patches','splice','registerCommand','_resolveCalendarDateFieldId','_normalizeGanttDisplayColor','separatorStyle','allowNegative','_normalizeGalleryConfig','_createNumberingFieldValuePatches','6vSJMld','_removeSuperTables','_setCachedProjection','cardSize','BaseProjection.getProjection','boolean','_withModifiedSystemValues','base.resource.service','_tableRevisions','Gallery','dispose','_cellRevisions','basePerf','4276514CRCkBG','locale','user','path','Numbering','valueOf','small','beforeViewId','_views','Date','large','base.command.set-base-range-values','createField','key','canDeleteRecord',',,\x22M\x22','_normalizeGanttConfig','before','_getStructureDirtyTableIds','groupFieldId','compare','delete','direction','_getJson1DirtyData','UNIVER_EMBED_BASES_TABLE','then','_configService','snapshot','insertOp','config','_materializeGroups','showTodayLine','base.command.delete-base-record','column','isNotEmpty','createRecords'];_0x72cc=function(){return _0xec8d35;};return _0x72cc();}var $r=_0x16d78d(0x20a),ei=_0x16d78d(0xe3);const ti={},ni={};function ri(_0x433b80){const _0x2a001f=_0x16d78d;return new D()[_0x2a001f(0x1cb)](_0x433b80);}function ii(_0x12f1c6){const _0x198618=_0x16d78d;return _0x12f1c6[_0x198618(0x27a)][_0x198618(0x187)](_0x436fa6=>({'unitId':_0x12f1c6[_0x198618(0x314)],'sheetId':_0x12f1c6[_0x198618(0x21c)],'range':{'startRow':_0x436fa6[_0x198618(0x2ed)],'endRow':_0x436fa6['row'],'startColumn':_0x436fa6[_0x198618(0x1da)],'endColumn':_0x436fa6[_0x198618(0x1da)]}}));}function ai(_0x4aa6d1,_0x255dc0){const _0x256d68=_0x16d78d;return{[_0x4aa6d1]:Object[_0x256d68(0x22a)](_0x255dc0[_0x256d68(0x187)](_0x435643=>[_0x435643,'1']))};}let oi=class extends _0x10a465{constructor(_0x5dfcf1,_0x57f301){const _0x20943d=_0x16d78d;super(),this[_0x20943d(0xdd)]=_0x5dfcf1,this['_univerInstanceService']=_0x57f301,this[_0x20943d(0x2c4)]();}[_0x16d78d(0x2c4)](){const _0x352614=_0x16d78d;this[_0x352614(0xdd)][_0x352614(0xe9)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x491f88=>this['_getJson1DirtyData'](_0x491f88[_0x352614(0x109)])}),this['disposeWithMe'](_0x3f89c7(()=>{const _0x4139cb=_0x352614;this[_0x4139cb(0xdd)]['remove'](Y['id']);}));}['_getTable'](_0x198459,_0x484b59){const _0x714798=_0x16d78d;var _0x15d94a;let _0x12b40d=this['_univerInstanceService'][_0x714798(0xf6)](_0x198459,_0x45db82[_0x714798(0x1ed)]);return(_0x15d94a=_0x12b40d==null?void 0x0:_0x12b40d[_0x714798(0x254)]()['tables'][_0x484b59])==null?null:_0x15d94a;}[_0x16d78d(0x2a7)](_0x2f9621){const _0x49d87c=_0x16d78d;if(_0x2f9621['trigger']===_0x49d87c(0x137))return{};if(!_0x2f9621[_0x49d87c(0x314)]||!_0x2f9621['op'])return{'clearDependencyTreeCache':this[_0x49d87c(0x253)](),'forceCalculation':!0x0};let _0x2080ef=ri(_0x2f9621['op']),_0x274277=this[_0x49d87c(0x2a2)](_0x2f9621[_0x49d87c(0x314)],_0x2080ef);if(_0x274277[_0x49d87c(0x1ee)])return{'clearDependencyTreeCache':ai(_0x2f9621[_0x49d87c(0x314)],_0x274277),'forceCalculation':!0x0};let _0x9ee43=Object[_0x49d87c(0x1d7)](this['_groupCellInvalidations'](_0x2f9621[_0x49d87c(0x314)],_0x2080ef))[_0x49d87c(0x1cc)](([_0x8713f,_0x4acb36])=>ii({'unitId':_0x2f9621['unitId'],'tableId':_0x8713f,'patches':_0x4acb36}));return _0x9ee43[_0x49d87c(0x1ee)]?{'dirtyRanges':_0x9ee43}:{};}[_0x16d78d(0x2a2)](_0x571f18,_0x1a2b4a){const _0x1ce696=_0x16d78d;let _0x37ebec=_0x1a2b4a[_0x1ce696(0x33b)](_0x59434e=>_0x59434e[_0x1ce696(0x26e)]!==_0x1ce696(0x1aa))[_0x1ce696(0x1cc)](_0x1b6d9c=>_0x1b6d9c['tableId']?[_0x1b6d9c[_0x1ce696(0x21c)]]:this[_0x1ce696(0x25c)](_0x571f18));return Array['from'](new Set(_0x37ebec));}[_0x16d78d(0x1f9)](_0x2f80ca,_0x4f5ab7){const _0x242998=_0x16d78d;let _0x17e6db=new Set();return _0x4f5ab7[_0x242998(0xbf)]((_0xbb9d07,_0x433b5e)=>{const _0x3f7870=_0x242998;var _0x316885;let _0x5ab8b6=this[_0x3f7870(0x343)](_0x2f80ca,_0x433b5e);if(!_0x5ab8b6)return _0xbb9d07;let _0x26b3be=_0x433b5e[_0x3f7870(0x21c)]+':'+_0x5ab8b6[_0x3f7870(0x2ed)]+':'+_0x5ab8b6['col'];return _0x17e6db[_0x3f7870(0x277)](_0x26b3be)?_0xbb9d07:(_0x17e6db[_0x3f7870(0xf0)](_0x26b3be),_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]]=(_0x316885=_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]])==null?[]:_0x316885,_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]][_0x3f7870(0xcd)](_0x5ab8b6),_0xbb9d07);},{});}['_toDirtyRangePatch'](_0x59374d,_0x5283ea){const _0x2b9ff1=_0x16d78d;if(_0x5283ea[_0x2b9ff1(0x26e)]!==_0x2b9ff1(0x1aa))return null;if(_0x5283ea[_0x2b9ff1(0x2ed)]!=null&&_0x5283ea[_0x2b9ff1(0x2b1)]!=null)return{'row':_0x5283ea[_0x2b9ff1(0x2ed)],'col':_0x5283ea[_0x2b9ff1(0x2b1)],'value':null};if(!_0x5283ea[_0x2b9ff1(0x36c)]||!_0x5283ea[_0x2b9ff1(0x375)])return null;let _0x545031=this[_0x2b9ff1(0x103)](_0x59374d,_0x5283ea[_0x2b9ff1(0x21c)]);if(!_0x545031)return null;let _0x1b0b7c=Se(_0x545031,_0x5283ea['recordId'],_0x5283ea['fieldId']);return _0x1b0b7c?{'row':_0x1b0b7c[_0x2b9ff1(0x2ed)],'col':_0x1b0b7c[_0x2b9ff1(0x1da)],'value':null}:null;}[_0x16d78d(0x25c)](_0x22f8fc){const _0x1aeba5=_0x16d78d;var _0xb56b4e;let _0x4fae4d=this[_0x1aeba5(0x23c)][_0x1aeba5(0xf6)](_0x22f8fc,_0x45db82[_0x1aeba5(0x1ed)]);return Object[_0x1aeba5(0x10f)]((_0xb56b4e=_0x4fae4d==null?void 0x0:_0x4fae4d[_0x1aeba5(0x254)]()[_0x1aeba5(0x1f7)])==null?{}:_0xb56b4e)['map'](_0x2f36ea=>_0x2f36ea['id']);}[_0x16d78d(0x253)](){const _0x511f1f=_0x16d78d;let _0x381f98=this[_0x511f1f(0x23c)][_0x511f1f(0x2c9)](_0x45db82[_0x511f1f(0x1ed)])[_0x511f1f(0x187)](_0x2309ef=>ai(_0x2309ef[_0x511f1f(0x329)](),Object[_0x511f1f(0x33a)](_0x2309ef[_0x511f1f(0x254)]()[_0x511f1f(0x1f7)])));return Object[_0x511f1f(0x1c5)]({},..._0x381f98);}};oi=B([z(0x0,_0x10efb7),z(0x1,_0x4c4561)],oi);const si=_0x2c067b[_0x16d78d(0x347)](String[_0x16d78d(0xc1)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),ci=/\{([^}]+)\}/g,li=_0x2c067b[_0x16d78d(0x347)](String[_0x16d78d(0xc1)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),ui=_0x2c067b['createRegExpFromSafeFragment'](String[_0x16d78d(0xc1)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var di=class{[_0x16d78d(0x1ac)](_0x4b69c3,_0x450b09=_0x4b69c3['id']){const _0x5b9248=_0x16d78d;return{'sheetId':_0x450b09,'titleMap':new Map(_0x4b69c3['fieldOrder'][_0x5b9248(0x187)]((_0xe1e0ac,_0x407f8a)=>{const _0x2f4464=_0x5b9248;var _0x56eedf,_0x51b073;return[(_0x56eedf=(_0x51b073=_0x4b69c3['fields'][_0xe1e0ac])==null?void 0x0:_0x51b073[_0x2f4464(0x14c)])==null?_0xe1e0ac:_0x56eedf,_0x407f8a];})),'range':{'startRow':0x0,'endRow':Object[_0x5b9248(0x10f)](_0x4b69c3[_0x5b9248(0x26d)])['length'],'startColumn':0x0,'endColumn':Math['max'](0x0,_0x4b69c3[_0x5b9248(0x301)][_0x5b9248(0x1ee)]-0x1)}};}['registerSuperTable'](_0x9d4a56,_0x110e79,_0xa38e61,_0x483423={}){const _0x3a483e=_0x16d78d;var _0x34252c;let _0x1708de=this[_0x3a483e(0x1ac)](_0xa38e61,(_0x34252c=_0x483423[_0x3a483e(0xc5)])==null?_0xa38e61['id']:_0x34252c);return new Set([_0xa38e61['id'],_0xa38e61['name'],_0x483423['tableName']][_0x3a483e(0x33b)](_0x44bd90=>!!_0x44bd90))[_0x3a483e(0x165)](_0x3db2ed=>_0x9d4a56[_0x3a483e(0x2f8)](_0x110e79,_0x3db2ed,_0x1708de)),_0x1708de;}[_0x16d78d(0x305)](_0x250a0f,_0x12037a){const _0x1ec162=_0x16d78d;let _0x49dd8c=this['getSuperTableRegistrations'](_0x12037a);return _0x49dd8c['forEach'](({tableName:_0x58d8a7,reference:_0x42762d})=>{_0x250a0f['registerTable'](_0x12037a['id'],_0x58d8a7,_0x42762d);}),Array['from'](new Set(_0x49dd8c[_0x1ec162(0x187)](({reference:_0x42b013})=>_0x42b013)));}[_0x16d78d(0x12d)](_0x2df3b5,_0x411930){const _0x337ff0=_0x16d78d;let _0x1da386=[],_0x4f2968=_0x411930?new Set(_0x411930):null,_0x18afb0=new Map();return Object[_0x337ff0(0x10f)](_0x2df3b5[_0x337ff0(0x1f7)])[_0x337ff0(0x165)](_0x1d3891=>{const _0x36c897=_0x337ff0;var _0x6d1b59;let _0x5a2c5c=_0x1d3891[_0x36c897(0x14c)][_0x36c897(0x304)]()['toLowerCase']();_0x18afb0[_0x36c897(0x21d)](_0x5a2c5c,((_0x6d1b59=_0x18afb0[_0x36c897(0x36e)](_0x5a2c5c))==null?0x0:_0x6d1b59)+0x1);}),Object[_0x337ff0(0x10f)](_0x2df3b5[_0x337ff0(0x1f7)])['filter'](_0x416c7f=>!_0x4f2968||_0x4f2968['has'](_0x416c7f['id']))[_0x337ff0(0x165)](_0x2191e2=>{const _0x5afe79=_0x337ff0;var _0x25b8ea;let _0x562e6c=this[_0x5afe79(0x1ac)](_0x2191e2,_0x2191e2['id']);_0x1da386[_0x5afe79(0xcd)]({'tableId':_0x2191e2['id'],'tableName':_0x2191e2['id'],'reference':_0x562e6c}),((_0x25b8ea=_0x18afb0[_0x5afe79(0x36e)](_0x2191e2[_0x5afe79(0x14c)][_0x5afe79(0x304)]()['toLowerCase']()))==null?0x0:_0x25b8ea)===0x1&&_0x1da386[_0x5afe79(0xcd)]({'tableId':_0x2191e2['id'],'tableName':_0x2191e2[_0x5afe79(0x14c)],'reference':_0x562e6c});}),_0x1da386;}['validateFormula'](_0x1b7363,_0x575746,_0xfb49e0={}){const _0x2ad56d=_0x16d78d;let _0xfa3603=_0x1b7363[_0x2ad56d(0x304)]();if(!_0xfa3603)return{'valid':!0x0};if(si['test'](_0xfa3603))return{'valid':!0x1,'reason':_0x2ad56d(0x2b4)};for(let _0x115bf8 of mi(_0xfa3603)){let _0x43723a=hi(_0x115bf8,_0x575746,_0xfb49e0[_0x2ad56d(0x2ab)]);if(!_0x43723a[_0x2ad56d(0xc2)])return{'valid':!0x1,'reason':_0x2ad56d(0x303)+_0x115bf8[_0x2ad56d(0x1e8)]+_0x2ad56d(0xc4)};if(!_0x43723a[_0x2ad56d(0x30d)])return{'valid':!0x1,'reason':_0x2ad56d(0x11b)+_0x115bf8[_0x2ad56d(0x348)]+_0x2ad56d(0xc4)};}return{'valid':!0x0};}['getDependencies'](_0x4278ef,_0x21e7cf,_0x2891b6={}){const _0x21607b=_0x16d78d;let _0x4e01ba=new Set();for(let _0x4fa3ad of this['getStructuredDependencies'](_0x4278ef,_0x21e7cf,_0x2891b6))_0x4fa3ad[_0x21607b(0x21c)]===_0x21e7cf['id']&&_0x4e01ba['add'](_0x4fa3ad[_0x21607b(0x375)]);return Array[_0x21607b(0x251)](_0x4e01ba);}[_0x16d78d(0x10d)](_0x2ec9f6,_0x50f170,_0x5bdb95={}){const _0x5cd58c=_0x16d78d;let _0x16d8e8=new Map();for(let _0xb30f50 of mi(_0x2ec9f6)){let _0x2fa0b6=hi(_0xb30f50,_0x50f170,_0x5bdb95['snapshot']);if(!_0x2fa0b6[_0x5cd58c(0xc2)]||!_0x2fa0b6['field'])continue;let _0x360f43=_0x2fa0b6[_0x5cd58c(0xc2)]['id']+'\x1f'+_0x2fa0b6[_0x5cd58c(0x30d)]['id'];_0x16d8e8[_0x5cd58c(0x21d)](_0x360f43,{'tableId':_0x2fa0b6[_0x5cd58c(0xc2)]['id'],'fieldId':_0x2fa0b6[_0x5cd58c(0x30d)]['id']});}return Array[_0x5cd58c(0x251)](_0x16d8e8[_0x5cd58c(0x10f)]());}};function fi(_0x269d37,_0x23bd62){const _0x412712=_0x16d78d;var _0x4f1538;let _0x1fb5f3=[],_0x507941=(_0x4f1538=_0x23bd62[_0x412712(0xd5)])==null?void 0x0:_0x4f1538[_0x269d37['id']];return _0x507941&&Object['entries'](_0x507941)['forEach'](([_0x186e04,_0x1c7da9])=>{const _0x586866=_0x412712;let _0x106355=_0x269d37[_0x586866(0x1f7)][_0x186e04];if(!_0x106355||!_0x1c7da9)return;let _0x53b6c0=w(_0x106355),_0x506a14=[];Object[_0x586866(0x1d7)](_0x1c7da9)[_0x586866(0x165)](([_0x5dcfbf,_0x2ae5b2])=>{const _0x39006d=_0x586866;let _0x4ee963=Number(_0x5dcfbf);_0x2ae5b2&&Object[_0x39006d(0x1d7)](_0x2ae5b2)[_0x39006d(0x165)](([_0x80feef,_0x2b36cb])=>{const _0x540be7=_0x39006d;var _0x260773,_0x50b805,_0x324a23,_0x26d6b7,_0x460bdd,_0x2b73ec,_0xdf185b,_0x3dee29;let _0x35d61f=Number(_0x80feef),_0x4d62b0=(_0x260773=_0x53b6c0[_0x540be7(0xd7)])==null?void 0x0:_0x260773[_0x4ee963];if(!(_0x4d62b0&&_0x53b6c0['records'][_0x4d62b0]))return;let _0x32d066=(_0x50b805=_0x53b6c0['colId'])==null?void 0x0:_0x50b805[_0x35d61f],_0x4d9874=_0x32d066?_0x53b6c0[_0x540be7(0x30b)][_0x32d066]:null;if(!_0x4d9874||_0x4d9874['type']!=='formula')return;let _0x3b26a5=String((_0x324a23=(_0x26d6b7=_0x4d9874[_0x540be7(0x2ad)])==null?void 0x0:_0x26d6b7[_0x540be7(0x13d)])==null?'':_0x324a23)[_0x540be7(0x304)](),_0x282f2e=_0x4ee963===0x0&&_0x3b26a5?{..._0x2b36cb==null?{}:_0x2b36cb,'v':(_0x460bdd=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x460bdd,'t':pi((_0x2b73ec=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x2b73ec),'f':_0x3b26a5,'si':_0x4d9874['id']}:{..._0x2b36cb==null?{}:_0x2b36cb,'v':(_0xdf185b=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0xdf185b,'t':pi((_0x3dee29=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x3dee29),'si':_0x4d9874['id']};_0x506a14[_0x540be7(0xcd)]({'row':_0x4ee963,'col':_0x35d61f,'value':_0x282f2e});});}),_0x506a14[_0x586866(0x1ee)]&&_0x1fb5f3[_0x586866(0xcd)]({'unitId':_0x269d37['id'],'tableId':_0x186e04,'patches':_0x506a14});}),_0x1fb5f3;}function pi(_0x1f4acb){const _0xf5569a=_0x16d78d;return typeof _0x1f4acb==_0xf5569a(0x12e)?_0x2e3f0c[_0xf5569a(0x30e)]:typeof _0x1f4acb==_0xf5569a(0x288)?_0x2e3f0c[_0xf5569a(0x1af)]:typeof _0x1f4acb==_0xf5569a(0xc9)?_0x2e3f0c[_0xf5569a(0x377)]:null;}function mi(_0x1735a4){const _0x4a333b=_0x16d78d;let _0x3417a0=new Map();for(let _0x255c36 of _0x1735a4[_0x4a333b(0xbb)](ci)){let _0x1ddbb9={'fieldName':_0x255c36[0x1]};_0x3417a0['set']('\x1f'+_0x1ddbb9[_0x4a333b(0x348)],_0x1ddbb9);}for(let _0x20b0f2 of _0x1735a4[_0x4a333b(0xbb)](li)){let _0x3bda1b={'tableName':_0x20b0f2[0x1],'fieldName':_0x20b0f2[0x2]};_0x3417a0[_0x4a333b(0x21d)](_0x3bda1b[_0x4a333b(0x1e8)]+'\x1f'+_0x3bda1b[_0x4a333b(0x348)],_0x3bda1b);}for(let _0x1a0515 of _0x1735a4[_0x4a333b(0xbb)](ui)){let _0x4facc2={'fieldName':_0x1a0515[0x2]};_0x3417a0[_0x4a333b(0x21d)]('\x1f'+_0x4facc2[_0x4a333b(0x348)],_0x4facc2);}return Array[_0x4a333b(0x251)](_0x3417a0[_0x4a333b(0x10f)]());}function hi(_0x113f0a,_0xcd6bec,_0x1b3ead){const _0x2de66c=_0x16d78d;let _0x387197=gi(_0x113f0a['tableName'],_0xcd6bec,_0x1b3ead);return{'table':_0x387197,'field':_0x387197?Object[_0x2de66c(0x10f)](_0x387197['fields'])[_0x2de66c(0x2db)](_0xc7664d=>_0xc7664d[_0x2de66c(0x14c)]===_0x113f0a[_0x2de66c(0x348)]):void 0x0};}function gi(_0x3b4df0,_0x34d625,_0x29cab3){const _0x167be8=_0x16d78d;if(!_0x3b4df0||_0x3b4df0===_0x167be8(0xc2)||_0x3b4df0===_0x34d625['id']||_0x3b4df0===_0x34d625[_0x167be8(0x14c)])return _0x34d625;if(!_0x29cab3)return;let _0x35419a=_0x29cab3[_0x167be8(0x1f7)][_0x3b4df0];if(_0x35419a)return _0x35419a;let _0x6d88e8=Object[_0x167be8(0x10f)](_0x29cab3[_0x167be8(0x1f7)])['filter'](_0x3f3c8e=>_0x3f3c8e['name']===_0x3b4df0);return _0x6d88e8['length']===0x1?_0x6d88e8[0x0]:void 0x0;}let _i=class extends _0x10a465{constructor(_0x1192a1,_0x396c35,_0x44baab){const _0x48da92=_0x16d78d;super(),this[_0x48da92(0x2d5)]=_0x1192a1,this['_univerInstanceService']=_0x396c35,L(this,_0x48da92(0x2f6),new di()),L(this,'_registeredSuperTableNames',new Map()),L(this,_0x48da92(0xec),Promise[_0x48da92(0x128)]()),L(this,_0x48da92(0x369),!0x1),this[_0x48da92(0x2c4)]();}[_0x16d78d(0x2c4)](){const _0x1bb35f=_0x16d78d;this[_0x1bb35f(0x23c)]['getAllUnitsForType'](_0x45db82[_0x1bb35f(0x1ed)])['forEach'](_0x11e108=>{const _0x27924c=_0x1bb35f;this[_0x27924c(0x24d)](async()=>{await this['_syncSuperTables'](_0x11e108);});}),this[_0x1bb35f(0x212)](this['_univerInstanceService'][_0x1bb35f(0x2d2)](_0x45db82['UNIVER_BASE'])[_0x1bb35f(0x173)](({unit:_0x2ff119})=>{this['_enqueueFormulaSync'](async()=>{const _0x2fb94c=_0xf159;await this[_0x2fb94c(0x101)](_0x2ff119);});})),this[_0x1bb35f(0x212)](this[_0x1bb35f(0x23c)][_0x1bb35f(0x1cd)](_0x45db82['UNIVER_BASE'])[_0x1bb35f(0x173)](_0x1f5db0=>{const _0x2444dd=_0x1bb35f;this[_0x2444dd(0x24d)](()=>this[_0x2444dd(0x284)](_0x1f5db0[_0x2444dd(0x329)]()));})),this['disposeWithMe'](this[_0x1bb35f(0x2d5)][_0x1bb35f(0xe7)](_0xda6fbc=>this['_onCommandExecuted'](_0xda6fbc)));}['_onCommandExecuted'](_0x5512ff){const _0x2e3398=_0x16d78d;if(_0x5512ff['id']===_0x3f42e8['id']){this[_0x2e3398(0x17a)](_0x5512ff['params']);return;}if(this[_0x2e3398(0x369)]||_0x5512ff['id']!==Y['id'])return;let _0x2d4a0c=_0x5512ff[_0x2e3398(0x109)];(_0x2d4a0c!=null&&_0x2d4a0c[_0x2e3398(0x314)]?[this[_0x2e3398(0x23c)][_0x2e3398(0xf6)](_0x2d4a0c[_0x2e3398(0x314)],_0x45db82[_0x2e3398(0x1ed)])]['filter'](_0x57f0f8=>!!_0x57f0f8):this['_univerInstanceService'][_0x2e3398(0x2c9)](_0x45db82['UNIVER_BASE']))[_0x2e3398(0x165)](_0x812b28=>{const _0x2de65d=_0x2e3398;let _0x3b9048=_0x2d4a0c['op']?ri(_0x2d4a0c['op']):[];(!_0x2d4a0c['op']||_0x3b9048['some'](_0xb99b3f=>_0xb99b3f[_0x2de65d(0x26e)]!==_0x2de65d(0x1aa)))&&this[_0x2de65d(0x24d)](()=>this[_0x2de65d(0x101)](_0x812b28));});}async[_0x16d78d(0x101)](_0x24ccc3){const _0x279422=_0x16d78d;var _0x4f5681;let _0x16bfd3=_0x24ccc3[_0x279422(0x329)](),_0x1f0d5c=this[_0x279422(0x2f6)][_0x279422(0x12d)](_0x24ccc3['getSnapshot']()),_0x39dd66=new Set(_0x1f0d5c['map'](({tableName:_0x4b0d4b})=>_0x4b0d4b)),_0x56fc4f=(_0x4f5681=this[_0x279422(0x1e2)][_0x279422(0x36e)](_0x16bfd3))==null?new Set():_0x4f5681;for(let _0x37ecf8 of _0x56fc4f)_0x39dd66[_0x279422(0x277)](_0x37ecf8)||await this[_0x279422(0x2d5)][_0x279422(0x114)](_0x1ccd1b['id'],{'unitId':_0x16bfd3,'tableName':_0x37ecf8});for(let {tableName:_0x201935,reference:_0x52ffa9}of _0x1f0d5c)await this[_0x279422(0x2d5)][_0x279422(0x114)](_0x41451e['id'],{'unitId':_0x16bfd3,'tableName':_0x201935,'reference':_0x52ffa9});this['_registeredSuperTableNames'][_0x279422(0x21d)](_0x16bfd3,_0x39dd66);}async[_0x16d78d(0x284)](_0x43fe2e){const _0x3c26be=_0x16d78d;var _0x487720;let _0x1611e7=(_0x487720=this[_0x3c26be(0x1e2)]['get'](_0x43fe2e))==null?new Set():_0x487720;for(let _0x495810 of _0x1611e7)await this[_0x3c26be(0x2d5)]['executeCommand'](_0x1ccd1b['id'],{'unitId':_0x43fe2e,'tableName':_0x495810});this[_0x3c26be(0x1e2)][_0x3c26be(0x2a5)](_0x43fe2e);}[_0x16d78d(0x24d)](_0x4159ff){const _0x4b53dd=_0x16d78d;this[_0x4b53dd(0xec)]=this[_0x4b53dd(0xec)][_0x4b53dd(0x2a9)](_0x4159ff,_0x4159ff)[_0x4b53dd(0x272)](()=>void 0x0);}[_0x16d78d(0x17a)](_0x55ee75){const _0x392fc6=_0x16d78d;let _0xd672a4=this[_0x392fc6(0x23c)][_0x392fc6(0x2c9)](_0x45db82[_0x392fc6(0x1ed)])['flatMap'](_0x3a9942=>fi(_0x3a9942[_0x392fc6(0x254)](),_0x55ee75));if(!_0xd672a4['length'])return;let _0x3b5971=new F();this[_0x392fc6(0x369)]=!0x0,(async()=>{const _0x31b87e=_0x392fc6;for(let _0xca48d1 of _0xd672a4){let _0x3a81ec=this[_0x31b87e(0x23c)][_0x31b87e(0xf6)](_0xca48d1[_0x31b87e(0x314)],_0x45db82[_0x31b87e(0x1ed)]);_0x3a81ec&&await this[_0x31b87e(0x2d5)][_0x31b87e(0x114)](Y['id'],{'unitId':_0xca48d1[_0x31b87e(0x314)],'op':_0x3b5971['setRangeValues'](_0x3a81ec[_0x31b87e(0x254)](),_0xca48d1[_0x31b87e(0x21c)],_0xca48d1[_0x31b87e(0x27a)]),'trigger':_0x3f42e8['id']},{'onlyLocal':!0x0});}})()[_0x392fc6(0xd2)](()=>{const _0x2be262=_0x392fc6;this[_0x2be262(0x369)]=!0x1;});}};_i=B([z(0x0,_0x4bf63b),z(0x1,_0x4c4561),z(0x2,_0x2aaad9(_0x5c56ad))],_i);const vi=_0x2eeafa(_0x16d78d(0x28a));let yi=class{constructor(_0x26858b){const _0x2334b2=_0x16d78d;this[_0x2334b2(0x23c)]=_0x26858b;}['getBase'](_0x4df216){const _0x3e3b9e=_0x16d78d;var _0x348ce5;return(_0x348ce5=this[_0x3e3b9e(0x23c)][_0x3e3b9e(0xf6)](_0x4df216,_0x45db82[_0x3e3b9e(0x1ed)]))==null?null:_0x348ce5;}['getAllBases'](){const _0x5163a2=_0x16d78d;return this[_0x5163a2(0x23c)][_0x5163a2(0x2c9)](_0x45db82[_0x5163a2(0x1ed)]);}['createBase'](_0x855d31){const _0x2c2839=_0x16d78d;return this['_univerInstanceService'][_0x2c2839(0x175)](_0x45db82[_0x2c2839(0x1ed)],_0x855d31);}};yi=B([z(0x0,_0x4c4561)],yi);const bi=_0x2eeafa('base.view-registry.service');var xi=class extends _0x10a465{constructor(..._0x4b721e){super(..._0x4b721e),L(this,'_plugins',new Map());}[_0x16d78d(0xe9)](_0x4e6fc6){const _0xfa6ea0=_0x16d78d;return this[_0xfa6ea0(0x2cc)]['set'](_0x4e6fc6[_0xfa6ea0(0x14a)],_0x4e6fc6),_0x3f89c7(()=>this['_plugins']['delete'](_0x4e6fc6['type']));}['get'](_0x5e3bf0){const _0x5a2ef1=_0x16d78d;let _0x43f1b8=this[_0x5a2ef1(0x2cc)]['get'](_0x5e3bf0);if(!_0x43f1b8)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x5e3bf0+_0x5a2ef1(0x125));return _0x43f1b8;}['getAll'](){const _0x551218=_0x16d78d;return Array[_0x551218(0x251)](this['_plugins'][_0x551218(0x10f)]());}};const Si=[Y];function _0xf159(_0x4ac653,_0x1bdafc){_0x4ac653=_0x4ac653-0xad;const _0x72cc70=_0x72cc();let _0xf15995=_0x72cc70[_0x4ac653];return _0xf15995;}let Z=class extends _0x1f1f96{constructor(_0x44328d=ti,_0x588fa3,_0x13e6b3,_0x275c03,_0x13fb19,_0x17383a){const _0x576ee9=_0x16d78d;super(),this[_0x576ee9(0x357)]=_0x44328d,this[_0x576ee9(0x20f)]=_0x588fa3,this[_0x576ee9(0x2d5)]=_0x13e6b3,this[_0x576ee9(0x23c)]=_0x275c03,this['_configService']=_0x13fb19,this[_0x576ee9(0x2fa)]=_0x17383a,L(this,_0x576ee9(0x2e5),new Map());let {..._0x3fcca3}=_0x193490({},ti,this[_0x576ee9(0x357)]);this['_configService'][_0x576ee9(0x1fd)](_0x576ee9(0x34e),_0x3fcca3),this['_univerInstanceService']['registerCtorForType'](_0x45db82[_0x576ee9(0x1ed)],_0x2687e8),this['_initDependencies'](),this[_0x576ee9(0x2bd)](),this[_0x576ee9(0x371)](),this['_initDataSync']();}[_0x16d78d(0x360)](){const _0x3d0ccb=_0x16d78d;_0x4000d7(this['_injector'],[[yi],[H],[oi]]),this[_0x3d0ccb(0x23c)]['getAllUnitsForType'](_0x45db82[_0x3d0ccb(0x1ed)])[_0x3d0ccb(0x165)](_0x343f9d=>this[_0x3d0ccb(0xad)](_0x343f9d['getUnitId']())),_0x4000d7(this[_0x3d0ccb(0x20f)],[[_i]]);}['_initDependencies'](){const _0x54f991=_0x16d78d;[[$t,{'useClass':en}],[bi,{'useClass':xi}],[W,{'useClass':hn}],[vi,{'useClass':yi}],[tn,{'useClass':nn}],[V,{'useClass':H}],[oi],[_i]][_0x54f991(0x165)](_0x101f7d=>this['_injector']['add'](_0x101f7d));}[_0x16d78d(0x2bd)](){const _0x339fdf=_0x16d78d;[Xn,Cr,mr,Pr,Dr,Er,Yn,Gn,pr,Kn,_r,Rr,Jn,gr,Ir,Fr,qn,fr,xr,dr,vr,wr,hr,Sr,zr,Tr,Lr,jr,Nr,Mr,kr,Ar,Or,...Si]['forEach'](_0x992e0c=>this[_0x339fdf(0x212)](this[_0x339fdf(0x2d5)][_0x339fdf(0x27c)](_0x992e0c))),Si[_0x339fdf(0x165)](_0x1b4d85=>{const _0x1b4a89=_0x339fdf;var _0x201b81;return(_0x201b81=this[_0x1b4a89(0x2fa)])==null?void 0x0:_0x201b81['registerSyncingMutations'](_0x1b4d85);});}[_0x16d78d(0x23e)](){const _0x80cfe2=_0x16d78d;this[_0x80cfe2(0x2fa)]&&(this[_0x80cfe2(0x212)](this[_0x80cfe2(0x23c)]['getTypeOfUnitAdded$'](_0x45db82[_0x80cfe2(0x1ed)])[_0x80cfe2(0x173)](({unit:_0x42cbc7})=>{const _0x32c012=_0x80cfe2;this[_0x32c012(0xad)](_0x42cbc7[_0x32c012(0x329)]());})),this[_0x80cfe2(0x212)](this[_0x80cfe2(0x23c)]['getTypeOfUnitDisposed$'](_0x45db82[_0x80cfe2(0x1ed)])[_0x80cfe2(0x173)](_0x7b5f79=>{const _0x585fd6=_0x80cfe2;var _0x1ba675;(_0x1ba675=this['_baseSyncDisposables'][_0x585fd6(0x36e)](_0x7b5f79[_0x585fd6(0x329)]()))==null||_0x1ba675[_0x585fd6(0x28d)](),this[_0x585fd6(0x2e5)]['delete'](_0x7b5f79[_0x585fd6(0x329)]());})));}['_syncBaseUnit'](_0x4c26e3){const _0x2cd352=_0x16d78d;!this[_0x2cd352(0x2fa)]||this[_0x2cd352(0x2e5)][_0x2cd352(0x277)](_0x4c26e3)||this[_0x2cd352(0x2e5)][_0x2cd352(0x21d)](_0x4c26e3,this[_0x2cd352(0x2fa)][_0x2cd352(0x236)](_0x4c26e3));}['_initRegistries'](){const _0x209d3f=_0x16d78d;let _0x2c40c7=this[_0x209d3f(0x20f)]['get']($t);kt()[_0x209d3f(0x165)](_0x31d52f=>_0x2c40c7['register'](_0x31d52f));let _0x5a2b56=this['_injector'][_0x209d3f(0x36e)](bi),_0x49a0c1=this[_0x209d3f(0x20f)][_0x209d3f(0x36e)](W);ln()['forEach'](_0x4ed7b2=>{const _0x2ff344=_0x209d3f;_0x5a2b56['register'](_0x4ed7b2),_0x49a0c1[_0x2ff344(0x1d2)](_0x4ed7b2);});}};L(Z,_0x16d78d(0x199),'BASES_PLUGIN'),L(Z,_0x16d78d(0x1d8),$r),L(Z,_0x16d78d(0x171),ei),L(Z,'type',_0x45db82[_0x16d78d(0x1ed)]),Z=B([_0x3f308b(_0x244464,_0x4ef977),z(0x1,_0x2aaad9(_0x2d625e)),z(0x2,_0x4bf63b),z(0x3,_0x4c4561),z(0x4,_0x8e1870),z(0x5,_0x21d5d7(_0x2e756d))],Z);let Q=class extends _0x1f1f96{constructor(_0x13b39c=ni,_0x12f9e9,_0x4e2ea4,_0x51cd29,_0x5378c6){const _0x1f007f=_0x16d78d;super(),this['_config']=_0x13b39c,this[_0x1f007f(0x20f)]=_0x12f9e9,this['_commandService']=_0x4e2ea4,this[_0x1f007f(0x2aa)]=_0x51cd29,this['_univerInstanceService']=_0x5378c6;let {..._0x3f5abf}=_0x193490({},ni,this[_0x1f007f(0x357)]);this[_0x1f007f(0x2aa)][_0x1f007f(0x1fd)]('bases.remote.config',_0x3f5abf),this[_0x1f007f(0x23c)][_0x1f007f(0x2e2)](_0x45db82['UNIVER_BASE'],_0x2687e8),Si[_0x1f007f(0x165)](_0x16af80=>this['disposeWithMe'](this[_0x1f007f(0x2d5)]['registerCommand'](_0x16af80)));}};L(Q,_0x16d78d(0x199),_0x16d78d(0x240)),L(Q,'packageName',$r),L(Q,_0x16d78d(0x171),ei),L(Q,_0x16d78d(0x14a),_0x45db82[_0x16d78d(0x1ed)]),Q=B([_0x3f308b(_0x244464,_0x4ef977),z(0x1,_0x2aaad9(_0x2d625e)),z(0x2,_0x4bf63b),z(0x3,_0x8e1870),z(0x4,_0x4c4561)],Q);function Ci(_0x214a94){const _0x4e990f=_0x16d78d;let _0x29e5e3=Ii(_0x214a94[_0x4e990f(0x2e1)]);if(!_0x29e5e3)return{'query':'','total':0x0,'matches':[]};let _0x574f0d=[],_0x22bd93=[];for(let _0x4b6046=0x0;_0x4b6046<_0x214a94[_0x4e990f(0x321)][_0x4e990f(0x1ee)];_0x4b6046++){if(!(_0x4b6046 in _0x214a94[_0x4e990f(0x321)]))continue;let _0x818880=_0x214a94[_0x4e990f(0xc2)][_0x4e990f(0x30b)][_0x214a94[_0x4e990f(0x321)][_0x4b6046]];_0x818880&&_0x22bd93[_0x4e990f(0xcd)]({'field':_0x818880,'fieldIndex':_0x4b6046});}_0x214a94[_0x4e990f(0x221)][_0x4e990f(0x165)]((_0xf4310c,_0x995b58)=>{const _0x1059ae=_0x4e990f;_0x22bd93[_0x1059ae(0x165)](({field:_0x28e0df,fieldIndex:_0x492a40})=>{const _0x5524ba=_0x1059ae;let _0x1e80d4=wi(_0xf4310c[_0x5524ba(0x10f)][_0x28e0df['id']],_0x28e0df);if(!_0x1e80d4)return;let _0x3e14d5=Fi(_0x29e5e3,_0x1e80d4['searchTexts']);_0x3e14d5<=0x0||_0x574f0d[_0x5524ba(0xcd)]({'recordId':_0xf4310c['recordId'],'fieldId':_0x28e0df['id'],'fieldType':_0x28e0df[_0x5524ba(0x14a)],'text':_0x1e80d4['displayText'],'score':_0x3e14d5,'rowIndex':_0x995b58,'fieldIndex':_0x492a40});});}),_0x574f0d[_0x4e990f(0x194)]((_0x1bd293,_0x50295f)=>_0x50295f[_0x4e990f(0x26c)]-_0x1bd293[_0x4e990f(0x26c)]||_0x1bd293[_0x4e990f(0x34b)]-_0x50295f[_0x4e990f(0x34b)]||_0x1bd293[_0x4e990f(0x2d0)]-_0x50295f['fieldIndex']);let _0x5d073e=_0x214a94['limit']==null?_0x574f0d:_0x574f0d['slice'](0x0,Math['max'](0x0,_0x214a94['limit']));return{'query':_0x29e5e3,'total':_0x574f0d[_0x4e990f(0x1ee)],'matches':Ri(_0x5d073e)};}function wi(_0x32b2f5,_0x2845bb){const _0x33e138=_0x16d78d;let _0x3b550b=[];for(let _0x37efec of Ei(_0x32b2f5,_0x2845bb)){let _0x5b13ab=Ii(_0x37efec);_0x5b13ab&&_0x3b550b['push'](_0x5b13ab);}return _0x3b550b[_0x33e138(0x1ee)]?{'displayText':Ti(_0x32b2f5,_0x2845bb),'searchTexts':Li(_0x3b550b)}:null;}function Ti(_0x5d651a,_0x522c51){const _0x50f135=_0x16d78d;switch(_0x522c51[_0x50f135(0x14a)]){case _0x3d85e5[_0x50f135(0xe8)]:case _0x3d85e5[_0x50f135(0x23f)]:case _0x3d85e5['Group']:return Di(_0x5d651a,_0x522c51)['join'](',\x20');case _0x3d85e5[_0x50f135(0x33c)]:return Ai(_0x5d651a);case _0x3d85e5[_0x50f135(0x299)]:case _0x3d85e5['CreatedAt']:case _0x3d85e5[_0x50f135(0x134)]:return ji(_0x5d651a,_0x522c51);case _0x3d85e5[_0x50f135(0x355)]:case _0x3d85e5['Currency']:return Mi(_0x5d651a,_0x522c51);case _0x3d85e5['Progress']:return Ni(_0x5d651a,_0x522c51);case _0x3d85e5[_0x50f135(0x185)]:return _0x5d651a?_0x50f135(0x271):'Unchecked';case _0x3d85e5['Attachment']:return Pi(_0x5d651a)['join'](',\x20');default:return $(_0x5d651a);}}function Ei(_0x344c91,_0x559519){const _0x977be2=_0x16d78d;switch(_0x559519[_0x977be2(0x14a)]){case _0x3d85e5[_0x977be2(0xe8)]:case _0x3d85e5[_0x977be2(0x23f)]:case _0x3d85e5[_0x977be2(0xe6)]:{let _0x3b9abc=Di(_0x344c91,_0x559519);if(Array[_0x977be2(0x352)](_0x344c91)){let _0x59745f=[..._0x3b9abc];for(let _0x4440e7=0x0;_0x4440e7<_0x344c91[_0x977be2(0x1ee)];_0x4440e7++)_0x4440e7 in _0x344c91&&_0x59745f['push'](String(_0x344c91[_0x4440e7]));return _0x59745f;}return _0x344c91==null?_0x3b9abc:[..._0x3b9abc,String(_0x344c91)];}case _0x3d85e5[_0x977be2(0x33c)]:{let _0x426289=ki(_0x344c91);return[_0x426289['text'],_0x426289[_0x977be2(0x190)]];}case _0x3d85e5[_0x977be2(0x299)]:case _0x3d85e5['CreatedAt']:case _0x3d85e5['UpdatedAt']:return[ji(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x355)]:case _0x3d85e5[_0x977be2(0x237)]:return[Mi(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x19a)]:return[Ni(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x185)]:return _0x344c91?[_0x977be2(0x271),_0x977be2(0x34a),'True']:['Unchecked','No',_0x977be2(0x1e6)];case _0x3d85e5[_0x977be2(0x18d)]:return Pi(_0x344c91);default:return[$(_0x344c91)];}}function Di(_0x470a58,_0x1aa4b8){const _0x430893=_0x16d78d;var _0x3e7faa;let _0x8fa038=Array[_0x430893(0x352)]((_0x3e7faa=_0x1aa4b8['config'])==null?void 0x0:_0x3e7faa[_0x430893(0x225)])?_0x1aa4b8[_0x430893(0x2ad)][_0x430893(0x225)]:[],_0x435569=[];if(Array['isArray'](_0x470a58)){for(let _0x2506c6=0x0;_0x2506c6<_0x470a58[_0x430893(0x1ee)];_0x2506c6++){if(!(_0x2506c6 in _0x470a58))continue;let _0x564aaf=String(_0x470a58[_0x2506c6]);_0x564aaf&&_0x435569[_0x430893(0xcd)](Oi(_0x8fa038,_0x564aaf));}return _0x435569;}if(_0x470a58!=null){let _0x425c68=String(_0x470a58);_0x425c68&&_0x435569[_0x430893(0xcd)](Oi(_0x8fa038,_0x425c68));}return _0x435569;}function Oi(_0x15d010,_0x35836a){const _0x16ad31=_0x16d78d;for(let _0x89c475 of _0x15d010){if(typeof _0x89c475==_0x16ad31(0xc9)&&_0x89c475===_0x35836a)return _0x89c475;if(_0x89c475&&typeof _0x89c475=='object'){var _0x5217f1,_0x19b2cd,_0x2bbc44;let _0x3c56b8=_0x89c475;if(String((_0x5217f1=(_0x19b2cd=_0x3c56b8['id'])==null?_0x3c56b8['name']:_0x19b2cd)==null?'':_0x5217f1)===_0x35836a||String((_0x2bbc44=_0x3c56b8['name'])==null?'':_0x2bbc44)===_0x35836a){var _0x378f33,_0x3a161a;return String((_0x378f33=(_0x3a161a=_0x3c56b8[_0x16ad31(0x14c)])==null?_0x3c56b8['id']:_0x3a161a)==null?_0x35836a:_0x378f33);}}}return _0x35836a;}function ki(_0x1cb571){const _0x3eb518=_0x16d78d;if(_0x1cb571&&typeof _0x1cb571==_0x3eb518(0x1ae)&&!Array[_0x3eb518(0x352)](_0x1cb571)){var _0x1a2318,_0x30e997,_0x230588;let _0x4d5ac2=_0x1cb571;return{'text':String((_0x1a2318=(_0x30e997=_0x4d5ac2[_0x3eb518(0x349)])==null?_0x4d5ac2[_0x3eb518(0x190)]:_0x30e997)==null?'':_0x1a2318),'url':String((_0x230588=_0x4d5ac2[_0x3eb518(0x190)])==null?'':_0x230588)};}return{'text':$(_0x1cb571),'url':$(_0x1cb571)};}function Ai(_0x2ed93f){const _0x492244=_0x16d78d;let _0x14c1d1=ki(_0x2ed93f);return _0x14c1d1['text']||_0x14c1d1[_0x492244(0x190)];}function ji(_0x33f6fb,_0x5058f0){const _0x75887d=_0x16d78d;return typeof _0x33f6fb!='number'||!Number[_0x75887d(0xb7)](_0x33f6fb)?'':ot(_0x33f6fb,_0x5058f0[_0x75887d(0x2ad)]);}function Mi(_0x5bf2ec,_0x1f07a5){const _0x53f5b0=_0x16d78d;let _0x13b440=typeof _0x5bf2ec==_0x53f5b0(0x12e)?_0x5bf2ec:Number(_0x5bf2ec);return Number['isFinite'](_0x13b440)?qr(_0x13b440,_0x1f07a5[_0x53f5b0(0x2ad)]):'';}function Ni(_0x434b16,_0x25ba78){const _0x1d2479=_0x16d78d;var _0x24811a;let _0x5a142c=typeof _0x434b16==_0x1d2479(0x12e)?_0x434b16:Number(_0x434b16);if(!Number['isFinite'](_0x5a142c))return'';let _0x5a340a=(_0x24811a=_0x25ba78['config'])==null?{}:_0x24811a,_0x1f86c8=_0x5a340a['decimalPlaces']===0x1||_0x5a340a[_0x1d2479(0x335)]===0x2?_0x5a340a[_0x1d2479(0x335)]:0x0,_0x43c8c6=_0x5a142c['toFixed'](_0x1f86c8);return _0x5a340a['format']===_0x1d2479(0x12e)?_0x43c8c6:_0x43c8c6+'%';}function Pi(_0x284028){const _0x7ecc9d=_0x16d78d;return Array[_0x7ecc9d(0x352)](_0x284028)?_0x284028['flatMap'](_0x56a3e2=>{const _0x503d64=_0x7ecc9d;var _0x4f3233,_0x3f3698;if(!_0x56a3e2||typeof _0x56a3e2!=_0x503d64(0x1ae))return[];let _0x34e152=_0x56a3e2,_0xe91c12=String((_0x4f3233=(_0x3f3698=_0x34e152['name'])==null?_0x34e152[_0x503d64(0x190)]:_0x3f3698)==null?'':_0x4f3233)[_0x503d64(0x304)]();return _0xe91c12?[_0xe91c12]:[];}):[];}function $(_0x520c8d){const _0x117e59=_0x16d78d;if(_0x520c8d==null)return'';if(typeof _0x520c8d==_0x117e59(0x288))return _0x520c8d?_0x117e59(0x25f):_0x117e59(0x12f);if(typeof _0x520c8d==_0x117e59(0x12e))return String(_0x520c8d);if(Array[_0x117e59(0x352)](_0x520c8d)){let _0x245807=[];for(let _0x48bc1a=0x0;_0x48bc1a<_0x520c8d['length'];_0x48bc1a++){if(!(_0x48bc1a in _0x520c8d))continue;let _0x44ed6d=$(_0x520c8d[_0x48bc1a]);_0x44ed6d&&_0x245807[_0x117e59(0xcd)](_0x44ed6d);}return _0x245807['join'](',\x20');}if(typeof _0x520c8d=='object'){var _0x35aee5,_0x2d99f5,_0x4611ce,_0x158ba5;let _0x3d07c1=_0x520c8d;return String((_0x35aee5=(_0x2d99f5=(_0x4611ce=(_0x158ba5=_0x3d07c1['title'])==null?_0x3d07c1['name']:_0x158ba5)==null?_0x3d07c1[_0x117e59(0x349)]:_0x4611ce)==null?_0x3d07c1['url']:_0x2d99f5)==null?'':_0x35aee5)[_0x117e59(0x304)]();}return String(_0x520c8d);}function Fi(_0x2f4211,_0x4ee3ac){const _0x41a6f3=_0x16d78d;let _0x43c5d5=0x0;for(let _0x406516 of _0x4ee3ac)if(_0x406516){if(_0x406516===_0x2f4211){_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0x12c);continue;}if(_0x406516['startsWith'](_0x2f4211)){_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0xfa);continue;}_0x406516[_0x41a6f3(0x1d9)](_0x2f4211)&&(_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0xc8));}return _0x43c5d5;}function Ii(_0x188a42){const _0x43a0bd=_0x16d78d;return _0x188a42[_0x43a0bd(0x304)]()['replace'](/\s+/g,'\x20')['toLowerCase']();}function Li(_0x3dd054){const _0x1a0f59=_0x16d78d;return Array[_0x1a0f59(0x251)](new Set(_0x3dd054));}function Ri(_0x50e260){const _0x5f3f53=_0x16d78d;let _0x149ce0=[];for(let {rowIndex:_0x25612a,fieldIndex:_0xd7739,..._0x218bb4}of _0x50e260)_0x149ce0[_0x5f3f53(0xcd)](_0x218bb4);return _0x149ce0;}export{Y as ApplyBaseJson1Mutation,D as BaseJson1OpApplier,F as BaseJson1OpFactory,Gn as BatchCreateBaseRecordsCommand,Kn as BatchDeleteBaseRecordsCommand,qn as ChangeBaseFieldTypeCommand,Jn as CreateBaseFieldCommand,Yn as CreateBaseRecordCommand,Xn as CreateBaseTableCommand,dr as CreateBaseViewCommand,fr as DeleteBaseFieldCommand,pr as DeleteBaseRecordCommand,mr as DeleteBaseTableCommand,hr as DeleteBaseViewCommand,gr as DuplicateBaseFieldCommand,_r as DuplicateBaseRecordCommand,Vr as EMBED_BASES_TABLE_RESOURCE_KEY,vr as EnsureBaseTemporalViewDateFieldsCommand,V as IBaseCommandService,tn as IBasePermissionService,W as IBaseProjectionService,bi as IBaseViewRegistryService,xr as MoveBaseFieldCommand,Sr as MoveBaseViewCommand,Cr as RenameBaseTableCommand,wr as RenameBaseViewCommand,Tr as SetBaseKanbanGroupFieldCommand,Er as SetBaseRangeValuesCommand,Dr as SetBaseRecordValuesCommand,Or as SetBaseViewFieldOrderCommand,kr as SetBaseViewFieldVisibleCommand,Ar as SetBaseViewFieldWidthCommand,jr as SetBaseViewFilterCommand,Mr as SetBaseViewGroupCommand,Nr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Pr as UpdateBaseCellCommand,Ir as UpdateBaseFieldCommand,Fr as UpdateBaseFieldDescriptionCommand,Lr as UpdateBaseKanbanConfigCommand,Rr as UpdateBaseRecordOrderCommand,zr as UpdateBaseViewConfigCommand,A as baseDateSerialToDateMs,Qr as copyBaseTableSnapshot,Br as createDefaultBaseTableSnapshot,Hr as createEmbedBasesTable,Ur as createEmbedBasesTableAddMutation,Wr as createEmbedBasesTableRemoveMutation,O as dateToExcelSerial,w as ensureBaseTableCellLayout,ot as formatBaseDateValue,qr as formatBaseNumberValue,Te as getBaseCellFormulaValue,we as getBaseCellValue,Zr as inferBaseSeparatorStyle,dt as matchesBaseCondition,k as normalizeBaseDateSerial,Ci as searchBaseTable,C as traceBasePerformance,Zn as uniqueFieldName};
1
+ const _0x1141d6=_0x33c5;(function(_0x1cf5f8,_0x153d53){const _0x5cf6f5=_0x33c5,_0x135e8d=_0x1cf5f8();while(!![]){try{const _0x350648=parseInt(_0x5cf6f5(0x1ab))/0x1+parseInt(_0x5cf6f5(0x214))/0x2*(-parseInt(_0x5cf6f5(0x261))/0x3)+parseInt(_0x5cf6f5(0x154))/0x4*(parseInt(_0x5cf6f5(0x20e))/0x5)+-parseInt(_0x5cf6f5(0x329))/0x6*(-parseInt(_0x5cf6f5(0x404))/0x7)+-parseInt(_0x5cf6f5(0x2cc))/0x8*(parseInt(_0x5cf6f5(0x366))/0x9)+parseInt(_0x5cf6f5(0x171))/0xa+parseInt(_0x5cf6f5(0x2a3))/0xb*(-parseInt(_0x5cf6f5(0x226))/0xc);if(_0x350648===_0x153d53)break;else _0x135e8d['push'](_0x135e8d['shift']());}catch(_0x5bde82){_0x135e8d['push'](_0x135e8d['shift']());}}}(_0x4176,0x6b850));import{BaseDataModel as _0x23c2ec,BaseFieldType as _0x1b662f,BaseFilterConjunction as _0x2849da,BaseSortDirection as _0xec9d2c,BaseViewType as _0x479acb,CellValueType as _0x3b1a88,CommandType as _0x29e4da,DependentOn as _0x38049c,Disposable as _0x2d3cca,ICommandService as _0x4c4564,IConfigService as _0xddd949,IUndoRedoService as _0x1cfa3b,IUniverInstanceService as _0x583b46,Inject as _0x4d53a3,Injector as _0x5585a7,JSON1 as _0x35e04c,ObjectMatrix as _0x5e4217,Optional as _0x251b6,Plugin as _0x561c06,Tools as _0x243e4c,UniverInstanceType as _0x42dad9,createIdentifier as _0x5a5c3d,dateKit as _0x326e17,generateRandomId as _0x3f0aa2,merge as _0x1b55b2,numfmt as _0x5c2a83,regexp as _0x4ae02f,sequenceExecute as _0x455154,toDisposable as _0x43f94b,touchDependencies as _0x1694df}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x2dbe4f,IActiveDirtyManagerService as _0x5f189f,RemoveSuperTableMutation as _0x7c440c,SetFormulaCalculationResultMutation as _0xe9701c,SetSuperTableMutation as _0xbc079f,SetTriggerFormulaCalculationStartMutation as _0x30b721,UniverProFormulaEnginePlugin as _0xc981e4,refactorFormulaUnitQualifier as _0x1f4af2}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x1fb316}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x3bad53}from'@univerjs/rpc';let he=0x0;function ge(){const _0x125bd8=_0x33c5;if(globalThis[_0x125bd8(0x330)]===!0x0)return!0x0;try{let _0x193a87=typeof location>'u'?'':location[_0x125bd8(0x152)],_0x37f2e1=new URLSearchParams(_0x193a87);if(_0x37f2e1[_0x125bd8(0x13c)](_0x125bd8(0x266))==='1'||_0x37f2e1[_0x125bd8(0x13c)](_0x125bd8(0x266))===_0x125bd8(0x355)||_0x37f2e1[_0x125bd8(0x13c)]('base-perf')==='1')return!0x0;}catch{}try{let _0x333b66=typeof localStorage>'u'?null:localStorage[_0x125bd8(0x22f)](_0x125bd8(0x2da));return _0x333b66==='1'||_0x333b66===_0x125bd8(0x355);}catch{return!0x1;}}function T(_0x2aca0c,_0x40b19d,_0x52ae02){const _0x1744cc=_0x33c5;if(!ge())return _0x40b19d();let _0x5001c4=ve(),_0x425082=_0x1744cc(0x1f1)+he++;ye(_0x425082+_0x1744cc(0x180));try{return _0x40b19d();}finally{let _0x1acf71=ve()-_0x5001c4;ye(_0x425082+_0x1744cc(0x23d)),be(_0x2aca0c,_0x425082+':start',_0x425082+_0x1744cc(0x23d)),_e(_0x2aca0c,_0x1acf71,_0x52ae02);}}function _e(_0x321542,_0x2cc048,_0xd29bcc){const _0x66c583=_0x33c5;if(!ge())return;let _0x1123a3=Math[_0x66c583(0x28f)](_0x2cc048*0x64)/0x64,_0x218722=_0xd29bcc&&Object['keys'](_0xd29bcc)[_0x66c583(0x3e1)]?'\x20'+JSON[_0x66c583(0x39c)](_0xd29bcc):'';console['info'](_0x66c583(0x401)+_0x321542+':\x20'+_0x1123a3+'ms'+_0x218722);}function ve(){const _0xf21c46=_0x33c5;return typeof performance<'u'&&typeof performance[_0xf21c46(0x284)]=='function'?performance[_0xf21c46(0x284)]():Date['now']();}function ye(_0x569714){const _0xa8b393=_0x33c5;try{if(typeof performance<'u'){var _0x37de3d,_0x3c8591;(_0x37de3d=(_0x3c8591=performance)[_0xa8b393(0x395)])==null||_0x37de3d[_0xa8b393(0x231)](_0x3c8591,_0x569714);}}catch{}}function be(_0x4856da,_0x984f39,_0x1d9783){const _0x3d9f56=_0x33c5;try{if(typeof performance<'u'){var _0x43b7ec,_0x5921a0;(_0x43b7ec=(_0x5921a0=performance)[_0x3d9f56(0x3f2)])==null||_0x43b7ec['call'](_0x5921a0,_0x3d9f56(0x401)+_0x4856da,_0x984f39,_0x1d9783);}}catch{}}function E(_0x199d66){const _0x410e77=_0x33c5;var _0x4010dc,_0x59c281;return ge()?T(_0x410e77(0x3d9),()=>xe(_0x199d66),{'tableId':_0x199d66['id'],'records':Object[_0x410e77(0x1ef)]((_0x4010dc=_0x199d66[_0x410e77(0x162)])==null?{}:_0x4010dc)[_0x410e77(0x3e1)],'fields':_0x199d66[_0x410e77(0x2ad)][_0x410e77(0x3e1)],'hasRecordOrder':!!((_0x59c281=_0x199d66[_0x410e77(0x19d)])!=null&&_0x59c281[_0x410e77(0x3e1)])}):xe(_0x199d66);}function xe(_0x4dd6ff){const _0x26ff1b=_0x33c5;var _0x2ca32b,_0x1e7440,_0x2779df,_0x3c381b,_0x20b6b9,_0x2690cd,_0x52a78c,_0x5114c0,_0x2ce05f,_0x222e42;let _0x21b2fc=(_0x2ca32b=_0x4dd6ff[_0x26ff1b(0x162)])==null?{}:_0x2ca32b,_0x5014a0=(_0x1e7440=_0x4dd6ff[_0x26ff1b(0x2e2)])==null?{}:_0x1e7440,_0xa1cbb6=(_0x2779df=(_0x3c381b=_0x4dd6ff[_0x26ff1b(0x19d)])==null?void 0x0:_0x3c381b['filter'](_0x3049bc=>_0x21b2fc[_0x3049bc]))==null?[]:_0x2779df,_0x549524=new Set(_0xa1cbb6),_0x5901ec=[];for(let _0xda3b1 of Object['values'](_0x21b2fc))_0x549524[_0x26ff1b(0x325)](_0xda3b1['id'])||_0x5901ec[_0x26ff1b(0x1a6)](_0xda3b1);let _0x32fa29=_0x5901ec['length']?[..._0xa1cbb6,...Be(_0x5901ec)]:_0xa1cbb6,_0x5a0d28=_0x4dd6ff[_0x26ff1b(0x2ad)][_0x26ff1b(0x385)](_0x2e38f1=>_0x5014a0[_0x2e38f1]),_0x5d1c85={...(_0x20b6b9=_0x4dd6ff[_0x26ff1b(0x378)])==null?{}:_0x20b6b9},_0x42d04e={...(_0x2690cd=_0x4dd6ff[_0x26ff1b(0x18b)])==null?{}:_0x2690cd},_0x109673={...(_0x52a78c=_0x4dd6ff[_0x26ff1b(0x33c)])==null?{}:_0x52a78c};return _0x4dd6ff['recordOrder']=_0x32fa29,_0x4dd6ff[_0x26ff1b(0x241)]={},_0x4dd6ff[_0x26ff1b(0x378)]={},_0x4dd6ff[_0x26ff1b(0x22b)]={},_0x4dd6ff[_0x26ff1b(0x18b)]={},_0x4dd6ff[_0x26ff1b(0x33c)]={},_0x4dd6ff[_0x26ff1b(0x389)]={...(_0x5114c0=_0x4dd6ff[_0x26ff1b(0x389)])==null?{}:_0x5114c0},_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x36c)]={...(_0x2ce05f=_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x36c)])==null?{}:_0x2ce05f},_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x33b)]={...(_0x222e42=_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x33b)])==null?{}:_0x222e42},_0x32fa29[_0x26ff1b(0x2e8)]((_0x4f4343,_0x37a10e)=>{const _0x244a25=_0x26ff1b;_0x4dd6ff[_0x244a25(0x241)][_0x4f4343]=_0x37a10e,_0x4dd6ff['rowId'][_0x37a10e]=_0x4f4343;}),_0x5a0d28['forEach']((_0x5e402b,_0x4f23fc)=>{const _0x4ae60a=_0x26ff1b;_0x4dd6ff[_0x4ae60a(0x22b)][_0x5e402b]=_0x4f23fc,_0x4dd6ff[_0x4ae60a(0x18b)][_0x4f23fc]=_0x5e402b;}),Object[_0x26ff1b(0x34d)](_0x109673)['forEach'](([_0x4c5c0b,_0x3285d4])=>{const _0x3ef16a=_0x26ff1b;var _0x43e6d,_0x447bed;let _0xc40253=Number(_0x4c5c0b),_0x1ffe64=(_0x43e6d=_0x5d1c85[_0xc40253])==null?_0x32fa29[_0xc40253]:_0x43e6d,_0x4909c8=_0x1ffe64?_0x4dd6ff[_0x3ef16a(0x241)][_0x1ffe64]:void 0x0;_0x4909c8!=null&&(_0x4dd6ff[_0x3ef16a(0x33c)][_0x4909c8]={...(_0x447bed=_0x4dd6ff[_0x3ef16a(0x33c)][_0x4909c8])==null?{}:_0x447bed},Object[_0x3ef16a(0x34d)](_0x3285d4==null?{}:_0x3285d4)[_0x3ef16a(0x2e8)](([_0x233d1b,_0x4088ee])=>{const _0x558868=_0x3ef16a;var _0x37ede7;let _0x17d26a=Number(_0x233d1b),_0x7e448c=(_0x37ede7=_0x42d04e[_0x17d26a])==null?_0x5a0d28[_0x17d26a]:_0x37ede7,_0x53019f=_0x7e448c?_0x4dd6ff[_0x558868(0x22b)][_0x7e448c]:void 0x0;_0x53019f!=null&&(_0x4dd6ff[_0x558868(0x33c)][_0x4909c8][_0x53019f]=Oe(_0x4088ee));}));}),Object['values'](_0x21b2fc)['forEach'](_0x3d107c=>{const _0x36aadc=_0x26ff1b;var _0x271396,_0x392508;let _0x5c02ca=_0x4dd6ff[_0x36aadc(0x241)][_0x3d107c['id']];_0x5c02ca!=null&&(_0x4dd6ff['cellData'][_0x5c02ca]={...(_0x271396=_0x4dd6ff['cellData'][_0x5c02ca])==null?{}:_0x271396},Object[_0x36aadc(0x34d)]((_0x392508=_0x3d107c['values'])==null?{}:_0x392508)[_0x36aadc(0x2e8)](([_0xf6aeb5,_0x310e9b])=>{const _0x3bb8dd=_0x36aadc;let _0x4ca46f=_0x5014a0[_0xf6aeb5];(_0x4ca46f==null?void 0x0:_0x4ca46f[_0x3bb8dd(0x157)])===_0x1b662f[_0x3bb8dd(0x252)]&&Ne(_0x4dd6ff,_0x3d107c['id'],_0xf6aeb5,_0x310e9b);let _0x1fdeb6=_0x4dd6ff[_0x3bb8dd(0x22b)][_0xf6aeb5];if(_0x1fdeb6==null)return;let _0x2034ec=_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6];if(_0x2034ec!=null){Ie(_0x2034ec,_0x4ca46f,_0x310e9b)&&(_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6]=D(_0x310e9b,_0x4ca46f));return;}_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6]=D(_0x310e9b,_0x4ca46f);}));}),_0x4dd6ff;}function Se(_0x20ef8c){const _0x400a26=_0x33c5;var _0x5aa899;return E(_0x20ef8c),Object[_0x400a26(0x34d)]((_0x5aa899=_0x20ef8c[_0x400a26(0x378)])==null?{}:_0x5aa899)['forEach'](([_0x1a7f1a,_0x40ecbb])=>{const _0x1d7703=_0x400a26;var _0x30bac2,_0x3b64c2,_0x1ec4e8;let _0x48af42=Number(_0x1a7f1a),_0x3026ba=_0x20ef8c[_0x1d7703(0x162)][_0x40ecbb];_0x3026ba&&(_0x3026ba['values']={...(_0x30bac2=_0x3026ba['values'])==null?{}:_0x30bac2},Object[_0x1d7703(0x34d)]((_0x3b64c2=(_0x1ec4e8=_0x20ef8c[_0x1d7703(0x33c)])==null?void 0x0:_0x1ec4e8[_0x48af42])==null?{}:_0x3b64c2)[_0x1d7703(0x2e8)](([_0x34a00b,_0x122a82])=>{const _0x2efc69=_0x1d7703;var _0x5a968c;let _0xbcf827=(_0x5a968c=_0x20ef8c['colId'])==null?void 0x0:_0x5a968c[Number(_0x34a00b)];_0xbcf827&&(_0x3026ba[_0x2efc69(0x3aa)][_0xbcf827]=ke(_0x122a82,_0x20ef8c['fields'][_0xbcf827],_0x20ef8c,_0x40ecbb));}));}),_0x20ef8c;}function Ce(_0x2e0d3e,_0x4cc47f){const _0x28144b=_0x33c5;for(let {row:_0x25c4af,col:_0x666e65}of _0x4cc47f){var _0x57f19b,_0x488f1c,_0x3a71a8,_0x42422e;let _0x3e15e3=(_0x57f19b=_0x2e0d3e[_0x28144b(0x378)])==null?void 0x0:_0x57f19b[_0x25c4af],_0x3ba852=(_0x488f1c=_0x2e0d3e[_0x28144b(0x18b)])==null?void 0x0:_0x488f1c[_0x666e65],_0x108f4c=_0x3e15e3?_0x2e0d3e[_0x28144b(0x162)][_0x3e15e3]:void 0x0;!_0x108f4c||!_0x3ba852||(_0x108f4c[_0x28144b(0x3aa)]={...(_0x3a71a8=_0x108f4c[_0x28144b(0x3aa)])==null?{}:_0x3a71a8},_0x108f4c[_0x28144b(0x3aa)][_0x3ba852]=ke((_0x42422e=_0x2e0d3e[_0x28144b(0x33c)])==null||(_0x42422e=_0x42422e[_0x25c4af])==null?void 0x0:_0x42422e[_0x666e65],_0x2e0d3e[_0x28144b(0x2e2)][_0x3ba852],_0x2e0d3e,_0x3e15e3));}return _0x2e0d3e;}function we(_0x96da16,_0x5bdc8e,_0x9d875e){const _0x2d844e=_0x33c5;var _0x1e5990,_0x1c9534,_0x3f1b7f,_0x1b1b02,_0x556ff6,_0x5bc049;let _0x3976f1=(_0x1e5990=_0x96da16[_0x2d844e(0x241)])==null?void 0x0:_0x1e5990[_0x5bdc8e],_0x13fcd5=(_0x1c9534=_0x96da16[_0x2d844e(0x22b)])==null?void 0x0:_0x1c9534[_0x9d875e];if(_0x3976f1!=null&&_0x13fcd5!=null&&((_0x3f1b7f=_0x96da16['rowId'])==null?void 0x0:_0x3f1b7f[_0x3976f1])===_0x5bdc8e&&((_0x1b1b02=_0x96da16[_0x2d844e(0x18b)])==null?void 0x0:_0x1b1b02[_0x13fcd5])===_0x9d875e)return{'row':_0x3976f1,'col':_0x13fcd5};let _0x81bfde=E(_0x96da16),_0x64c334=(_0x556ff6=_0x81bfde['rowIndex'])==null?void 0x0:_0x556ff6[_0x5bdc8e],_0x3871b1=(_0x5bc049=_0x81bfde[_0x2d844e(0x22b)])==null?void 0x0:_0x5bc049[_0x9d875e];return _0x64c334==null||_0x3871b1==null?null:{'row':_0x64c334,'col':_0x3871b1};}function Te(_0x46dfe1,_0x5e6504,_0xb2db84){const _0x252ec3=_0x33c5;var _0x761d21;let _0x290736=we(_0x46dfe1,_0x5e6504,_0xb2db84);if(_0x290736)return(_0x761d21=_0x46dfe1[_0x252ec3(0x33c)])==null||(_0x761d21=_0x761d21[_0x290736[_0x252ec3(0x198)]])==null?void 0x0:_0x761d21[_0x290736[_0x252ec3(0x2e5)]];}function Ee(_0x11a53e,_0x3f544b,_0x5eb9e8){const _0x2a019c=_0x33c5;var _0x23a6e3,_0x4e2de2;let _0x525e53=Te(_0x11a53e,_0x3f544b,_0x5eb9e8),_0x18792e=_0x11a53e[_0x2a019c(0x2e2)][_0x5eb9e8];if((_0x18792e==null?void 0x0:_0x18792e['type'])===_0x1b662f[_0x2a019c(0x252)]){var _0x33a8cc,_0x5c5c00;return(_0x33a8cc=Pe(_0x11a53e,_0x3f544b,_0x5eb9e8))==null?O((_0x5c5c00=_0x11a53e[_0x2a019c(0x162)][_0x3f544b])==null||(_0x5c5c00=_0x5c5c00[_0x2a019c(0x3aa)])==null?void 0x0:_0x5c5c00[_0x5eb9e8]):_0x33a8cc;}if(k(_0x18792e)||(_0x18792e==null?void 0x0:_0x18792e[_0x2a019c(0x157)])===_0x1b662f[_0x2a019c(0x33a)]){var _0x3bf152;let _0x1c8152=(_0x3bf152=_0x11a53e['records'][_0x3f544b])==null||(_0x3bf152=_0x3bf152[_0x2a019c(0x3aa)])==null?void 0x0:_0x3bf152[_0x5eb9e8];return _0x1c8152!=null&&_0x1c8152!==''?Fe(_0x1c8152,_0x18792e):ke(_0x525e53,_0x18792e,_0x11a53e,_0x3f544b);}if(_0x525e53&&Object['prototype'][_0x2a019c(0x15d)][_0x2a019c(0x231)](_0x525e53,'v')){var _0x58bf4a;return(_0x58bf4a=_0x525e53['v'])==null?null:_0x58bf4a;}return(_0x23a6e3=(_0x4e2de2=_0x11a53e[_0x2a019c(0x162)][_0x3f544b])==null||(_0x4e2de2=_0x4e2de2[_0x2a019c(0x3aa)])==null?void 0x0:_0x4e2de2[_0x5eb9e8])==null?null:_0x23a6e3;}function De(_0x33ad10,_0x7948b1,_0x3aea55){const _0x1927ac=_0x33c5;var _0x4737e4,_0x23249d,_0x20567d;let _0x267a42=Te(_0x33ad10,_0x7948b1,_0x3aea55);if(_0x267a42&&Object['prototype'][_0x1927ac(0x15d)]['call'](_0x267a42,'v')){var _0x17c0b3;return(_0x17c0b3=_0x267a42['v'])==null?null:_0x17c0b3;}let _0x2da6d1=_0x33ad10[_0x1927ac(0x2e2)][_0x3aea55];return(_0x4737e4=D((_0x23249d=(_0x20567d=_0x33ad10[_0x1927ac(0x162)][_0x7948b1])==null||(_0x20567d=_0x20567d['values'])==null?void 0x0:_0x20567d[_0x3aea55])==null?null:_0x23249d,_0x2da6d1)['v'])==null?null:_0x4737e4;}function D(_0x383416,_0x552cfb){const _0x2a3a38=_0x33c5;if(je(_0x383416))return(_0x552cfb==null?void 0x0:_0x552cfb['type'])===_0x1b662f[_0x2a3a38(0x252)]?{..._0x383416,'v':'','t':_0x3b1a88[_0x2a3a38(0x219)]}:Oe(_0x383416);if((_0x552cfb==null?void 0x0:_0x552cfb[_0x2a3a38(0x157)])===_0x1b662f[_0x2a3a38(0x252)])return{'v':'','t':_0x3b1a88['STRING']};if(k(_0x552cfb))return{'v':Le(_0x383416)[_0x2a3a38(0x1af)](',\x20'),'t':_0x3b1a88[_0x2a3a38(0x219)]};if((_0x552cfb==null?void 0x0:_0x552cfb[_0x2a3a38(0x157)])===_0x1b662f['Link']&&_0x383416&&typeof _0x383416=='object'&&!Array['isArray'](_0x383416)){var _0x411b13,_0x32129c;let _0x500368=_0x383416;return{'v':String((_0x411b13=(_0x32129c=_0x500368['text'])==null?_0x500368[_0x2a3a38(0x3fe)]:_0x32129c)==null?'':_0x411b13),'t':_0x3b1a88[_0x2a3a38(0x219)]};}return _0x383416===null||typeof _0x383416=='string'||typeof _0x383416==_0x2a3a38(0x2fa)||typeof _0x383416==_0x2a3a38(0x3f1)?{'v':_0x383416,'t':ze(_0x383416)}:{'v':null,'t':null};}function Oe(_0x2205b3){let _0x1c7e03=Ve(_0x2205b3['t'],_0x2205b3['v']);if(_0x1c7e03===void 0x0){let {t:_0x5719c1,..._0x2abac8}=_0x2205b3;return _0x2abac8;}return{..._0x2205b3,'t':_0x1c7e03};}function ke(_0x23e331,_0x24e2e0,_0x4e07a5,_0x35919e){const _0x3090c6=_0x33c5;if(!_0x23e331)return null;if((_0x24e2e0==null?void 0x0:_0x24e2e0[_0x3090c6(0x157)])===_0x1b662f[_0x3090c6(0x252)]){var _0x5bbc28;return _0x4e07a5&&_0x35919e?(_0x5bbc28=Pe(_0x4e07a5,_0x35919e,_0x24e2e0['id']))==null?[]:_0x5bbc28:[];}if(k(_0x24e2e0))return Le(_0x23e331['v']);if((_0x24e2e0==null?void 0x0:_0x24e2e0[_0x3090c6(0x157)])===_0x1b662f[_0x3090c6(0x33a)]&&_0x4e07a5&&_0x35919e){var _0x33b188;let _0x3a2eff=(_0x33b188=_0x4e07a5['records'][_0x35919e])==null||(_0x33b188=_0x33b188['values'])==null?void 0x0:_0x33b188[_0x24e2e0['id']];if(_0x3a2eff&&typeof _0x3a2eff==_0x3090c6(0x371)&&!Array[_0x3090c6(0x28a)](_0x3a2eff))return _0x3a2eff;}if(Object[_0x3090c6(0x356)][_0x3090c6(0x15d)][_0x3090c6(0x231)](_0x23e331,'v')){var _0x478de3;return(_0x478de3=_0x23e331['v'])==null?null:_0x478de3;}return null;}function Ae(_0x2ed733,_0x4159ef,_0x47961a,_0x28a921,_0x96cd11){const _0x5ad1a9=_0x33c5;return(_0x47961a==null?void 0x0:_0x47961a['type'])===_0x1b662f['Attachment']?O(_0x2ed733):k(_0x47961a)?Le(_0x2ed733):(_0x47961a==null?void 0x0:_0x47961a[_0x5ad1a9(0x157)])===_0x1b662f[_0x5ad1a9(0x33a)]&&_0x2ed733&&typeof _0x2ed733==_0x5ad1a9(0x371)&&!Array[_0x5ad1a9(0x28a)](_0x2ed733)&&!je(_0x2ed733)?_0x2ed733:ke(_0x4159ef,_0x47961a,_0x28a921,_0x96cd11);}function je(_0x5e4dab){const _0x475ba1=_0x33c5;return!!_0x5e4dab&&typeof _0x5e4dab==_0x475ba1(0x371)&&(Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'v')||Object['prototype']['hasOwnProperty']['call'](_0x5e4dab,'t')||Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'p')||Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'f')||Object[_0x475ba1(0x356)][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'si'));}function Me(_0x4907cf,_0x25de6c){return _0x4907cf+'\x1f'+_0x25de6c;}function Ne(_0x91f6c0,_0x12b57b,_0x2edff9,_0x39a4dc){const _0x3f0290=_0x33c5;var _0x20cdf8,_0x5c24d,_0x262065;let _0x3f0013=O(_0x39a4dc);_0x91f6c0[_0x3f0290(0x389)]={...(_0x20cdf8=_0x91f6c0[_0x3f0290(0x389)])==null?{}:_0x20cdf8},_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)]={...(_0x5c24d=_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)])==null?{}:_0x5c24d},_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)]={...(_0x262065=_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)])==null?{}:_0x262065};let _0x2e8c2d=Me(_0x2edff9,_0x12b57b),_0xe53b23=[];for(let _0x1d4334=0x0;_0x1d4334<_0x3f0013[_0x3f0290(0x3e1)];_0x1d4334++){var _0xab9b01;if(!(_0x1d4334 in _0x3f0013))continue;let _0x56f9c4=_0x3f0013[_0x1d4334],_0x3e6b22=String((_0xab9b01=_0x56f9c4['id'])==null?_0x2e8c2d+'\x1f'+_0x1d4334:_0xab9b01),_0x4f8c20={..._0x56f9c4,'id':_0x3e6b22};_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)][_0x3e6b22]=_0x4f8c20,_0xe53b23[_0x3f0290(0x1a6)](_0x3e6b22);}_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)][_0x2e8c2d]=_0xe53b23;}function Pe(_0x56cb7f,_0x5e8d70,_0x21faf9){const _0x52a437=_0x33c5;var _0x18f585;let _0x2d0803=Me(_0x21faf9,_0x5e8d70),_0x173f82=(_0x18f585=_0x56cb7f[_0x52a437(0x389)])==null||(_0x18f585=_0x18f585[_0x52a437(0x36c)])==null?void 0x0:_0x18f585[_0x2d0803];if(!_0x173f82)return null;let _0x45a285=[];for(let _0x438334=0x0;_0x438334<_0x173f82['length'];_0x438334++){var _0x4e6f6d;if(!(_0x438334 in _0x173f82))continue;let _0x42d49f=(_0x4e6f6d=_0x56cb7f[_0x52a437(0x389)])==null||(_0x4e6f6d=_0x4e6f6d[_0x52a437(0x33b)])==null?void 0x0:_0x4e6f6d[_0x173f82[_0x438334]];_0x42d49f&&_0x45a285[_0x52a437(0x1a6)]({..._0x42d49f});}return _0x45a285;}function O(_0xce61b5){const _0x29191e=_0x33c5;if(_0xce61b5==null||_0xce61b5===''||je(_0xce61b5)&&!('id'in _0xce61b5)&&!(_0x29191e(0x3a2)in _0xce61b5))return[];let _0x42157d=Array[_0x29191e(0x28a)](_0xce61b5)?_0xce61b5:[_0xce61b5],_0x4f26e4=[];for(let _0x2ee75e=0x0;_0x2ee75e<_0x42157d[_0x29191e(0x3e1)];_0x2ee75e++){if(!(_0x2ee75e in _0x42157d))continue;let _0x3f4808=_0x42157d[_0x2ee75e],_0x1079f5=_0x3f4808&&typeof _0x3f4808=='object'?{..._0x3f4808}:{'id':'attachment-'+_0x2ee75e,'name':String(_0x3f4808)};Object[_0x29191e(0x1ef)](_0x1079f5)[_0x29191e(0x3e1)]>0x0&&_0x4f26e4[_0x29191e(0x1a6)](_0x1079f5);}return _0x4f26e4;}function Fe(_0x1e4bb3,_0x33cf44){const _0x43ac6b=_0x33c5;return(_0x33cf44==null?void 0x0:_0x33cf44[_0x43ac6b(0x157)])===_0x1b662f[_0x43ac6b(0x252)]?O(_0x1e4bb3):k(_0x33cf44)?Le(_0x1e4bb3):_0x1e4bb3;}function Ie(_0x425056,_0x439188,_0x3f72df){const _0x5d7a2d=_0x33c5;return(_0x439188==null?void 0x0:_0x439188[_0x5d7a2d(0x157)])===_0x1b662f[_0x5d7a2d(0x252)]?_0x425056['v']!=='':k(_0x439188)?Array[_0x5d7a2d(0x28a)](_0x3f72df)&&(_0x425056['v']==null||_0x425056['v']===''):!0x1;}function k(_0x48ad93){const _0x444fc2=_0x33c5;return(_0x48ad93==null?void 0x0:_0x48ad93['type'])===_0x1b662f[_0x444fc2(0x39e)]||(_0x48ad93==null?void 0x0:_0x48ad93[_0x444fc2(0x157)])===_0x1b662f[_0x444fc2(0x22d)]||(_0x48ad93==null?void 0x0:_0x48ad93[_0x444fc2(0x157)])===_0x1b662f[_0x444fc2(0x1d2)];}function Le(_0x5cf8ee){const _0x56c56c=_0x33c5;if(_0x5cf8ee==null||_0x5cf8ee==='')return[];let _0x530f28=[];if(Array[_0x56c56c(0x28a)](_0x5cf8ee)){for(let _0xb7efd0=0x0;_0xb7efd0<_0x5cf8ee[_0x56c56c(0x3e1)];_0xb7efd0++){if(!(_0xb7efd0 in _0x5cf8ee))continue;let _0x37534a=Re(_0x5cf8ee[_0xb7efd0]);_0x37534a&&_0x530f28[_0x56c56c(0x1a6)](_0x37534a);}return _0x530f28;}for(let _0x5435f4 of String(_0x5cf8ee)[_0x56c56c(0x324)](',')){let _0x1cdcc4=_0x5435f4[_0x56c56c(0x369)]();_0x1cdcc4&&_0x530f28[_0x56c56c(0x1a6)](_0x1cdcc4);}return _0x530f28;}function Re(_0x1dd2a6){const _0x218ca1=_0x33c5;if(_0x1dd2a6==null)return'';if(typeof _0x1dd2a6==_0x218ca1(0x222)||typeof _0x1dd2a6==_0x218ca1(0x2fa)||typeof _0x1dd2a6==_0x218ca1(0x3f1))return String(_0x1dd2a6);if(typeof _0x1dd2a6==_0x218ca1(0x371)){var _0x4753ce,_0x17179f,_0x50181a;let _0x3c67e0=_0x1dd2a6;return String((_0x4753ce=(_0x17179f=(_0x50181a=_0x3c67e0['id'])==null?_0x3c67e0[_0x218ca1(0x3a2)]:_0x50181a)==null?_0x3c67e0[_0x218ca1(0x387)]:_0x17179f)==null?'':_0x4753ce);}return String(_0x1dd2a6);}function ze(_0x11fdea){const _0xc39dab=_0x33c5;return _0x11fdea==null?null:typeof _0x11fdea=='number'?_0x3b1a88['NUMBER']:typeof _0x11fdea==_0xc39dab(0x3f1)?_0x3b1a88[_0xc39dab(0x341)]:_0x3b1a88['STRING'];}function Be(_0x1e54bd){const _0x14b357=_0x33c5;_0x1e54bd[_0x14b357(0x3b6)]((_0x392d0c,_0x36eaad)=>_0x392d0c[_0x14b357(0x2c0)]['localeCompare'](_0x36eaad[_0x14b357(0x2c0)]));let _0x1f82f8=[];for(let _0x2248e2 of _0x1e54bd)_0x1f82f8[_0x14b357(0x1a6)](_0x2248e2['id']);return _0x1f82f8;}function Ve(_0x37b250,_0x3cba38){const _0x24895a=_0x33c5;return _0x37b250===_0x3b1a88[_0x24895a(0x219)]||_0x37b250===_0x3b1a88[_0x24895a(0x2bb)]||_0x37b250===_0x3b1a88[_0x24895a(0x341)]||_0x37b250===_0x3b1a88[_0x24895a(0x358)]||_0x37b250==null?_0x37b250:ze(_0x3cba38==null?null:_0x3cba38);}var A=class{[_0x1141d6(0x35c)](_0x556de4,_0x236537){const _0x575caa=_0x1141d6;let _0x3d8a28=this[_0x575caa(0x1dd)](_0x236537),_0x528393=T(_0x575caa(0x2f9),()=>Ye(_0x556de4,_0x236537),{'invalidations':_0x3d8a28[_0x575caa(0x3e1)]}),_0x20bc20=T('BaseJson1.json1Apply',()=>_0x35e04c[_0x575caa(0x157)]['apply'](_0x528393,_0x236537),{'invalidations':_0x3d8a28[_0x575caa(0x3e1)]});return He(_0x20bc20,_0x3d8a28)||this[_0x575caa(0x239)](_0x20bc20,_0x3d8a28)[_0x575caa(0x2e8)](_0x120a25=>{Se(_0x120a25);}),_0x20bc20;}[_0x1141d6(0x3c6)](_0x500400,_0x478421){const _0x285e12=_0x1141d6;return _0x35e04c[_0x285e12(0x157)][_0x285e12(0x34b)](_0x478421,_0x500400);}[_0x1141d6(0x1dd)](_0x1e4d93){const _0x5657c0=_0x1141d6;let _0x3302ea=Ke(_0x1e4d93);return _0x3302ea[_0x5657c0(0x3e1)]?qe(_0x3302ea[_0x5657c0(0x1a8)](_0x3e13d5=>this[_0x5657c0(0x1dd)](_0x3e13d5))):Ue(_0x1e4d93);}[_0x1141d6(0x239)](_0x214eb6,_0x4e60e1){const _0xd24dcd=_0x1141d6;if(!_0x4e60e1[_0xd24dcd(0x3e1)])return[];if(_0x4e60e1[_0xd24dcd(0x2a0)](_0x3418de=>!_0x3418de['tableId'])){var _0x29d27b;return Object[_0xd24dcd(0x3aa)]((_0x29d27b=_0x214eb6['tables'])==null?{}:_0x29d27b);}return Array[_0xd24dcd(0x1b2)](new Set(_0x4e60e1[_0xd24dcd(0x220)](_0x1f34f4=>_0x1f34f4['tableId'])))[_0xd24dcd(0x1a8)](_0x10a85b=>{const _0x1affe7=_0xd24dcd;var _0x59c487;let _0x542302=(_0x59c487=_0x214eb6[_0x1affe7(0x407)])==null?void 0x0:_0x59c487[_0x10a85b];return _0x542302?[_0x542302]:[];});}};function He(_0x2e9ca2,_0x3a2420){const _0x4944db=_0x1141d6;if(!_0x3a2420['length']||_0x3a2420[_0x4944db(0x2a0)](_0x1dc28f=>_0x1dc28f['reason']!==_0x4944db(0x400)))return!0x1;let _0x25d64c=new Map();for(let _0x5ca7c1 of _0x3a2420){var _0x345be6;if(!_0x5ca7c1[_0x4944db(0x275)]||_0x5ca7c1['row']==null||_0x5ca7c1['column']==null)continue;let _0x55fb70=(_0x345be6=_0x25d64c[_0x4944db(0x13c)](_0x5ca7c1['tableId']))==null?[]:_0x345be6;_0x55fb70[_0x4944db(0x1a6)]({'row':_0x5ca7c1['row'],'col':_0x5ca7c1[_0x4944db(0x2ea)]}),_0x25d64c[_0x4944db(0x353)](_0x5ca7c1['tableId'],_0x55fb70);}return _0x25d64c[_0x4944db(0x2e8)]((_0x4cb05b,_0x351c9d)=>{const _0x5af1d0=_0x4944db;var _0xc16e8;let _0x3fd2e8=(_0xc16e8=_0x2e9ca2[_0x5af1d0(0x407)])==null?void 0x0:_0xc16e8[_0x351c9d];_0x3fd2e8&&Ce(_0x3fd2e8,_0x4cb05b);}),!0x0;}function Ue(_0x45bdf8){const _0x26ff44=_0x1141d6;if(!Array['isArray'](_0x45bdf8)||_0x45bdf8[_0x26ff44(0x3e1)]<0x2)return[{'tableId':'','reason':_0x26ff44(0x207)}];let _0x30eee2=_0x45bdf8,_0x5704f0=_0x30eee2['indexOf']('tables');return _0x5704f0===-0x1||typeof _0x30eee2[_0x5704f0+0x1]!=_0x26ff44(0x222)?_0x30eee2[0x0]===_0x26ff44(0x218)?[]:[{'tableId':'','reason':'unknown'}]:We(_0x30eee2,_0x5704f0,String(_0x30eee2[_0x5704f0+0x1]));}function We(_0x42a9df,_0x52c613,_0x209d16){const _0x4c44d9=_0x1141d6;let _0x45a676=_0x42a9df[_0x52c613+0x2];return _0x45a676===_0x4c44d9(0x162)&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?Ge(_0x42a9df,_0x52c613,_0x209d16,String(_0x42a9df[_0x52c613+0x3])):_0x45a676===_0x4c44d9(0x33c)&&_0x42a9df[_0x52c613+0x3]!=null&&_0x42a9df[_0x52c613+0x4]!=null?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x400),'row':Number(_0x42a9df[_0x52c613+0x3]),'column':Number(_0x42a9df[_0x52c613+0x4])}]:_0x45a676==='fields'&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x293),'fieldId':String(_0x42a9df[_0x52c613+0x3])}]:_0x45a676===_0x4c44d9(0x23e)&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x409),'viewId':String(_0x42a9df[_0x52c613+0x3])}]:[{'tableId':_0x209d16,'reason':_0x45a676===void 0x0?_0x4c44d9(0x305):_0x4c44d9(0x207)}];}function Ge(_0x4cf9fc,_0x1baec3,_0x189241,_0x12801d){const _0x52d552=_0x1141d6;return _0x4cf9fc[_0x1baec3+0x4]==='values'&&typeof _0x4cf9fc[_0x1baec3+0x5]==_0x52d552(0x222)?[{'tableId':_0x189241,'reason':_0x52d552(0x400),'recordId':_0x12801d,'fieldId':String(_0x4cf9fc[_0x1baec3+0x5])}]:_0x4cf9fc[_0x1baec3+0x4]==='updatedAt'||_0x4cf9fc[_0x1baec3+0x4]==='updatedBy'?[]:[{'tableId':_0x189241,'reason':_0x52d552(0x1a5),'recordId':_0x12801d}];}function Ke(_0x10ceb0){const _0x10d303=_0x1141d6;if(!Array[_0x10d303(0x28a)](_0x10ceb0))return[];let _0x122758=_0x10ceb0[_0x10d303(0x385)](Array['isArray']);if(_0x122758[_0x10d303(0x3e1)]>0x1&&_0x122758[_0x10d303(0x3e1)]===_0x10ceb0[_0x10d303(0x3e1)])return _0x122758;let _0x3b7ca2=_0x10ceb0[_0x10d303(0x2c7)](Array['isArray']);if(_0x3b7ca2>0x0&&_0x10ceb0[_0x10d303(0x29a)](_0x3b7ca2)[_0x10d303(0x256)](Array[_0x10d303(0x28a)])){let _0x49c496=_0x10ceb0[_0x10d303(0x29a)](0x0,_0x3b7ca2);return _0x10ceb0[_0x10d303(0x29a)](_0x3b7ca2)[_0x10d303(0x220)](_0x4448b2=>[..._0x49c496,..._0x4448b2]);}let _0x4bf4ab=_0x10ceb0[_0x10d303(0x24a)](_0x10d303(0x407));if(_0x4bf4ab===-0x1||typeof _0x10ceb0[_0x4bf4ab+0x1]!='string')return[];let _0x19de32=String(_0x10ceb0[_0x4bf4ab+0x1]),_0x348a9a=_0x10ceb0['slice'](_0x4bf4ab+0x2)[_0x10d303(0x385)](Array[_0x10d303(0x28a)]);return _0x348a9a[_0x10d303(0x3e1)]<=0x1?[]:_0x348a9a[_0x10d303(0x220)](_0x53eed6=>[_0x10d303(0x407),_0x19de32,..._0x53eed6]);}function qe(_0x3ed643){const _0xaf2f5c=_0x1141d6;let _0x5e4ee0=new Set();return _0x3ed643[_0xaf2f5c(0x385)](_0x4e8b2e=>{const _0x4cbd67=_0xaf2f5c;let _0x23adfa=JSON[_0x4cbd67(0x39c)](_0x4e8b2e);return _0x5e4ee0[_0x4cbd67(0x325)](_0x23adfa)?!0x1:(_0x5e4ee0['add'](_0x23adfa),!0x0);});}function Je(_0x1d5cb8){return _0x243e4c['deepClone'](_0x1d5cb8);}function Ye(_0x29ec49,_0x4f703e){const _0x1bf271=_0x1141d6;let _0x518a58=Xe(_0x4f703e);if(!_0x518a58[_0x1bf271(0x3e1)])return Je(_0x29ec49);let _0x4e7e36=tt(_0x29ec49);for(let _0x43451b of _0x518a58)$e(_0x4e7e36,_0x43451b);return _0x4e7e36;}function Xe(_0x2d7cd7){let _0x5b1856=[];return Ze(_0x2d7cd7,[],_0x5b1856),_0x5b1856;}function Ze(_0xcea796,_0x5a373f,_0x4ee332){const _0x4f3763=_0x1141d6;if(!Array[_0x4f3763(0x28a)](_0xcea796))return;let _0x56ae8f=[];for(let _0x72c2f of _0xcea796){if(Array['isArray'](_0x72c2f)){Ze(_0x72c2f,[..._0x5a373f,..._0x56ae8f],_0x4ee332);continue;}if(Qe(_0x72c2f)){_0x4ee332['push']([..._0x5a373f,..._0x56ae8f]);continue;}(typeof _0x72c2f==_0x4f3763(0x222)||typeof _0x72c2f==_0x4f3763(0x2fa))&&_0x56ae8f[_0x4f3763(0x1a6)](_0x72c2f);}}function Qe(_0x235197){const _0x575ee5=_0x1141d6;if(!_0x235197||typeof _0x235197!=_0x575ee5(0x371)||Array['isArray'](_0x235197))return!0x1;let _0x564d9a=_0x235197;return'i'in _0x564d9a||'r'in _0x564d9a||'p'in _0x564d9a||'d'in _0x564d9a||'es'in _0x564d9a||_0x575ee5(0x221)in _0x564d9a||'et'in _0x564d9a;}function $e(_0x5a0043,_0x28115f){const _0x154c2f=_0x1141d6;let _0x5e1d18=_0x5a0043;for(let _0x168859=0x0;_0x168859<_0x28115f[_0x154c2f(0x3e1)]-0x1;_0x168859++){let _0x395845=_0x28115f[_0x168859],_0x33a433=_0x5e1d18==null?void 0x0:_0x5e1d18[_0x395845];if(!et(_0x33a433))return;let _0x50f571=tt(_0x33a433);_0x5e1d18[_0x395845]=_0x50f571,_0x5e1d18=_0x50f571;}}function et(_0x12ed78){const _0x43a1c9=_0x1141d6;return!!_0x12ed78&&typeof _0x12ed78==_0x43a1c9(0x371);}function tt(_0x4255b5){return Array['isArray'](_0x4255b5)?_0x4255b5['slice']():{..._0x4255b5};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x1141d6(0x31d),at={'yyyy/mm/dd':_0x1141d6(0x1bd),'yyyy/mm/dd\x20hh:mm':_0x1141d6(0x254),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x1141d6(0x20f),'mm/dd/yyyy':_0x1141d6(0x262),'dd/mm/yyyy':_0x1141d6(0x1d8),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function j(_0x25fe01){return _0x326e17(_0x25fe01)['valueOf']()/nt+rt;}function ot(_0x5a8876){return(_0x5a8876-rt)*nt;}function M(_0x4b0dc0){const _0x52eb44=_0x1141d6;if(_0x4b0dc0==null||_0x4b0dc0==='')return null;if(_0x4b0dc0 instanceof Date)return j(_0x4b0dc0);if(typeof _0x4b0dc0==_0x52eb44(0x2fa))return Number[_0x52eb44(0x259)](_0x4b0dc0)?_0x4b0dc0>0xf4240?j(_0x4b0dc0):_0x4b0dc0:null;let _0x5dcfc1=Date['parse'](String(_0x4b0dc0));return Number[_0x52eb44(0x36b)](_0x5dcfc1)?null:j(_0x5dcfc1);}function N(_0x17d8cc){let _0x59f402=M(_0x17d8cc);return _0x59f402==null?null:ot(_0x59f402);}function st(_0x33fb28,_0x21aad1={}){const _0x10881e=_0x1141d6;var _0xea830b,_0x24c3c5,_0x170caa;let _0x1d07aa=N(_0x33fb28);if(_0x1d07aa==null||!Number[_0x10881e(0x259)](_0x1d07aa))return'';let _0x155878=String((_0xea830b=(_0x24c3c5=_0x21aad1['pattern'])==null?_0x21aad1[_0x10881e(0x269)]:_0x24c3c5)==null?it:_0xea830b),_0x470fcf=_0x21aad1['includeTime']===!0x0||_0x155878['includes']('hh:mm'),_0x567e8d=String((_0x170caa=_0x21aad1[_0x10881e(0x164)])==null?'h24':_0x170caa);return _0x326e17(_0x1d07aa)[_0x10881e(0x269)](ct(_0x155878,_0x470fcf,_0x567e8d));}function ct(_0x221688,_0x8e88cb,_0x21d750){const _0x3aaafe=_0x1141d6;var _0x50a891;let _0x3cb936=(_0x50a891=at[_0x221688])==null?at[it]:_0x50a891;return!_0x8e88cb||_0x221688[_0x3aaafe(0x370)](_0x3aaafe(0x3c4))?_0x3cb936:_0x3cb936+'\x20'+(_0x21d750===_0x3aaafe(0x334)?_0x3aaafe(0x1cd):_0x3aaafe(0x15b));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x1b662f[_0x1141d6(0x216)],_0x1b662f[_0x1141d6(0x1df)],_0x1b662f['Flow'],_0x1b662f['Button'],_0x1b662f[_0x1141d6(0x343)],_0x1b662f[_0x1141d6(0x193)],_0x1b662f[_0x1141d6(0x25b)],_0x1b662f['Barcode']]),P=0x5a0*0x3c*0x3e8;function dt(_0x222561,_0x47a5a7){const _0x3980c8=_0x1141d6;return _0x222561==null&&_0x47a5a7==null?0x0:_0x222561==null?-0x1:_0x47a5a7==null?0x1:typeof _0x222561==_0x3980c8(0x2fa)&&typeof _0x47a5a7=='number'?_0x222561-_0x47a5a7:String(_0x222561)['localeCompare'](String(_0x47a5a7));}function ft(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x31a856,_0x1ba956={}){const _0x329af3=_0x1141d6;if(_0x1b21b3==='isEmpty')return pt(_0x7dd65d);if(_0x1b21b3===_0x329af3(0x2c8))return!pt(_0x7dd65d);switch(_0x31a856[_0x329af3(0x157)]){case _0x1b662f[_0x329af3(0x3a9)]:case _0x1b662f[_0x329af3(0x1b3)]:case _0x1b662f['Progress']:case _0x1b662f[_0x329af3(0x384)]:return mt(_0x7dd65d,_0x1b21b3,_0x45ecaa);case _0x1b662f[_0x329af3(0x29d)]:case _0x1b662f[_0x329af3(0x2db)]:case _0x1b662f['UpdatedAt']:return gt(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x1ba956);case _0x1b662f[_0x329af3(0x3ed)]:return St(_0x7dd65d,_0x1b21b3,_0x45ecaa);case _0x1b662f[_0x329af3(0x1c8)]:case _0x1b662f['MultiSelect']:case _0x1b662f[_0x329af3(0x22d)]:case _0x1b662f[_0x329af3(0x1d2)]:return wt(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x31a856);default:return Tt(_0x7dd65d,_0x1b21b3,_0x45ecaa);}}function pt(_0x4df032){const _0x23ee5a=_0x1141d6;return _0x4df032==null?!0x0:Array['isArray'](_0x4df032)?_0x4df032[_0x23ee5a(0x3e1)]===0x0:typeof _0x4df032=='string'?_0x4df032[_0x23ee5a(0x369)]()==='':!0x1;}function mt(_0x1876a9,_0x535960,_0x2602d3){const _0x5091cc=_0x1141d6;let _0x326632=ht(_0x1876a9),_0x33e237=ht(_0x2602d3);if(_0x326632==null||_0x33e237==null)return!0x1;switch(_0x535960){case'is':return _0x326632===_0x33e237;case _0x5091cc(0x2fe):return _0x326632!==_0x33e237;case'greaterThan':return _0x326632>_0x33e237;case _0x5091cc(0x2d0):return _0x326632>=_0x33e237;case _0x5091cc(0x243):return _0x326632<_0x33e237;case _0x5091cc(0x25c):return _0x326632<=_0x33e237;default:return!0x1;}}function ht(_0x27a544){const _0x49f3b0=_0x1141d6;if(_0x27a544==null||_0x27a544==='')return null;let _0x40642f=Number(_0x27a544);return Number[_0x49f3b0(0x259)](_0x40642f)?_0x40642f:null;}function gt(_0x5ab823,_0x4a62ec,_0x1a0869,_0x35f196){const _0x25ff2f=_0x1141d6;var _0xaafc59;let _0xb2fbf1=vt(_0x5ab823);if(_0xb2fbf1==null)return!0x1;let _0x2e4cf4=_t((_0xaafc59=_0x35f196[_0x25ff2f(0x31e)])==null?_0x25ff2f(0x392):_0xaafc59,_0x1a0869,_0x35f196['now']);if(!_0x2e4cf4)return!0x1;switch(_0x4a62ec){case'is':return _0xb2fbf1>=_0x2e4cf4[_0x25ff2f(0x299)]&&_0xb2fbf1<=_0x2e4cf4['end'];case _0x25ff2f(0x2fe):return _0xb2fbf1<_0x2e4cf4[_0x25ff2f(0x299)]||_0xb2fbf1>_0x2e4cf4[_0x25ff2f(0x14a)];case _0x25ff2f(0x3d2):return _0xb2fbf1<_0x2e4cf4[_0x25ff2f(0x299)];case _0x25ff2f(0x3b5):return _0xb2fbf1>_0x2e4cf4['end'];default:return!0x1;}}function _t(_0x204bce,_0x3dcef2,_0x4b0569=Date[_0x1141d6(0x284)]()){const _0x1764a6=_0x1141d6;let _0x399a7e=yt(_0x4b0569);switch(_0x204bce){case _0x1764a6(0x392):{let _0x193719=vt(_0x3dcef2);return _0x193719==null?null:{'start':_0x193719,'end':_0x193719+P-0x1};}case _0x1764a6(0x1dc):return{'start':_0x399a7e,'end':_0x399a7e+P-0x1};case _0x1764a6(0x3c8):return{'start':_0x399a7e+P,'end':_0x399a7e+P*0x2-0x1};case _0x1764a6(0x1e7):return{'start':_0x399a7e-P,'end':_0x399a7e-0x1};case _0x1764a6(0x298):return bt(_0x399a7e,0x0);case _0x1764a6(0x17e):return bt(_0x399a7e,-0x1);case _0x1764a6(0x1e4):return xt(_0x399a7e,0x0);case _0x1764a6(0x2a7):return xt(_0x399a7e,-0x1);case _0x1764a6(0x234):return{'start':_0x399a7e-P*0x6,'end':_0x399a7e+P-0x1};case _0x1764a6(0x291):return{'start':_0x399a7e,'end':_0x399a7e+P*0x7-0x1};case'past30':return{'start':_0x399a7e-P*0x1d,'end':_0x399a7e+P-0x1};case _0x1764a6(0x2e1):return{'start':_0x399a7e,'end':_0x399a7e+P*0x1e-0x1};}}function vt(_0x422223){let _0x9cb31a=M(_0x422223);return _0x9cb31a==null?null:yt(ot(_0x9cb31a));}function yt(_0x55cb1d){const _0x14cc78=_0x1141d6;let _0x2efa59=new Date(_0x55cb1d);return _0x2efa59[_0x14cc78(0x2a1)](0x0,0x0,0x0,0x0),_0x2efa59[_0x14cc78(0x238)]();}function bt(_0x1059de,_0x23c9f3){const _0x3fe425=_0x1141d6;let _0x5b1d88=_0x1059de-(new Date(_0x1059de)[_0x3fe425(0x2be)]()+0x6)%0x7*P+_0x23c9f3*P*0x7;return{'start':_0x5b1d88,'end':_0x5b1d88+P*0x7-0x1};}function xt(_0x5a3f52,_0x1c85fd){const _0x3dcf8c=_0x1141d6;let _0x192e4d=new Date(_0x5a3f52),_0x4788e5=new Date(_0x192e4d[_0x3dcf8c(0x3a8)](),_0x192e4d['getMonth']()+_0x1c85fd,0x1),_0x55c28e=new Date(_0x192e4d[_0x3dcf8c(0x3a8)](),_0x192e4d[_0x3dcf8c(0x2f2)]()+_0x1c85fd+0x1,0x1);return{'start':_0x4788e5[_0x3dcf8c(0x238)](),'end':_0x55c28e[_0x3dcf8c(0x238)]()-0x1};}function St(_0x585430,_0x23b082,_0x38730d){let _0x292f8a=Ct(_0x585430),_0x5f9a77=Ct(_0x38730d);switch(_0x23b082){case'is':return _0x292f8a===_0x5f9a77;case'isNot':return _0x292f8a!==_0x5f9a77;default:return!0x1;}}function Ct(_0x6d58a7){return _0x6d58a7===!0x0||_0x6d58a7==='true'||_0x6d58a7===0x1||_0x6d58a7==='1';}function wt(_0x1ff498,_0x26d478,_0x1a8c41,_0x4e4ab9){const _0xdf57ee=_0x1141d6;let _0x42eae5=Dt(_0x1ff498,_0x4e4ab9),_0x49433b=Dt(_0x1a8c41,_0x4e4ab9),_0x2a38d1=_0x49433b[_0xdf57ee(0x3e1)]>0x0&&_0x49433b[_0xdf57ee(0x2a0)](_0x1abfee=>_0x42eae5[_0xdf57ee(0x370)](_0x1abfee));switch(_0x26d478){case'is':case _0xdf57ee(0x3f3):return _0x2a38d1;case'isNot':case'notContains':return!_0x2a38d1;default:return!0x1;}}function Tt(_0x8fe803,_0x382334,_0x2723ee){const _0x5d2ced=_0x1141d6;let _0x577d41=Et(_0x8fe803),_0x24d972=Et(_0x2723ee);switch(_0x382334){case'is':return _0x577d41===_0x24d972;case'isNot':return _0x577d41!==_0x24d972;case _0x5d2ced(0x3f3):return _0x24d972?_0x577d41[_0x5d2ced(0x370)](_0x24d972):!0x1;case'notContains':return _0x24d972?!_0x577d41['includes'](_0x24d972):!0x0;default:return!0x1;}}function Et(_0x531910){const _0x3865d0=_0x1141d6;if(Array['isArray'](_0x531910))return _0x531910['map'](_0x2f8e2e=>Et(_0x2f8e2e))['join']('\x0a');if(_0x531910&&typeof _0x531910==_0x3865d0(0x371)){var _0x2b11d5,_0x2afeaf,_0x39dd30,_0x39e2bf,_0x1de9a8;let _0x9ab7f9=_0x531910;return String((_0x2b11d5=(_0x2afeaf=(_0x39dd30=(_0x39e2bf=(_0x1de9a8=_0x9ab7f9[_0x3865d0(0x3a2)])==null?_0x9ab7f9[_0x3865d0(0x246)]:_0x1de9a8)==null?_0x9ab7f9[_0x3865d0(0x387)]:_0x39e2bf)==null?_0x9ab7f9[_0x3865d0(0x20d)]:_0x39dd30)==null?_0x9ab7f9['id']:_0x2afeaf)==null?'':_0x2b11d5)['trim']()[_0x3865d0(0x2ae)]();}return String(_0x531910==null?'':_0x531910)['trim']()[_0x3865d0(0x2ae)]();}function Dt(_0x190923,_0x443961){const _0x3c7ab9=_0x1141d6;var _0x5e4bb0;let _0x1209d0=Ot(_0x190923),_0x284f2b=kt((_0x5e4bb0=_0x443961[_0x3c7ab9(0x1f0)])==null?{}:_0x5e4bb0);return _0x1209d0[_0x3c7ab9(0x1a8)](_0x4289e2=>{const _0x160a64=_0x3c7ab9;var _0x55ee4e;return(_0x55ee4e=_0x284f2b[_0x160a64(0x13c)](_0x4289e2))==null?[_0x4289e2]:_0x55ee4e;})[_0x3c7ab9(0x385)]((_0x3c4217,_0x3622ec,_0x4d7d73)=>_0x3c4217!==''&&_0x4d7d73[_0x3c7ab9(0x24a)](_0x3c4217)===_0x3622ec);}function Ot(_0x2a13b8){const _0x49a73e=_0x1141d6;if(_0x2a13b8==null||_0x2a13b8==='')return[];if(Array[_0x49a73e(0x28a)](_0x2a13b8))return _0x2a13b8[_0x49a73e(0x1a8)](_0x30d6ab=>Ot(_0x30d6ab));if(_0x2a13b8&&typeof _0x2a13b8==_0x49a73e(0x371)){let _0x48da4c=_0x2a13b8;return['id','name',_0x49a73e(0x246),'value',_0x49a73e(0x387)][_0x49a73e(0x1a8)](_0x1d619b=>Ot(_0x48da4c[_0x1d619b]))[_0x49a73e(0x385)]((_0x1964e7,_0x23eae6,_0x5ad6ce)=>_0x5ad6ce[_0x49a73e(0x24a)](_0x1964e7)===_0x23eae6);}return[Et(_0x2a13b8)];}function kt(_0x405e2f){const _0x3202d1=_0x1141d6;let _0xb537d5=new Map();return(Array[_0x3202d1(0x28a)](_0x405e2f['options'])?_0x405e2f[_0x3202d1(0x294)]:[])['forEach'](_0x12e1df=>{const _0x3ddc69=_0x3202d1;if(!_0x12e1df||typeof _0x12e1df!='object')return;let _0x3c6ff5=Ot(_0x12e1df),_0x4a4fed=_0x3c6ff5[_0x3ddc69(0x385)]((_0x3378f7,_0x69698b)=>_0x3378f7!==''&&_0x3c6ff5[_0x3ddc69(0x24a)](_0x3378f7)===_0x69698b);_0x4a4fed[_0x3ddc69(0x2e8)](_0x2c9a18=>_0xb537d5[_0x3ddc69(0x353)](_0x2c9a18,_0x4a4fed));}),_0xb537d5;}function F(_0x10aad2,_0x5777ca={},_0x4e686c=_0x3639dc=>_0x3639dc,_0x133832={}){const _0x7a8615=_0x1141d6;var _0x42d56d,_0x1d85dd,_0x327a51,_0x5271f1;let _0x5a3c76=!ut[_0x7a8615(0x325)](_0x10aad2),_0xe432e7=_0x4e686c==null?_0x21ac74=>_0x21ac74:_0x4e686c;return{'type':_0x10aad2,'i18nKey':_0x7a8615(0x16c)+_0x10aad2,'enabled':_0x5a3c76,'visibleInCreateMenu':_0x5a3c76,'createDefaultConfig':(_0x42d56d=_0x133832[_0x7a8615(0x1e9)])==null?()=>({}):_0x42d56d,'createDefaultValue':(_0x1d85dd=_0x133832[_0x7a8615(0x399)])==null?_0x2452dd=>{const _0x9426d=_0x7a8615;var _0x23b052;return(_0x23b052=_0x2452dd[_0x9426d(0x364)])==null?null:_0x23b052;}:_0x1d85dd,'normalize':(_0x385981,_0x3da289)=>_0xe432e7(_0x385981,_0x3da289),'validate':(_0x4830d3,_0x51526f)=>{var _0x166ae3,_0xd3dfcc;return _0x5a3c76?(_0x166ae3=(_0xd3dfcc=_0x133832['validate'])==null?void 0x0:_0xd3dfcc['call'](_0x133832,_0x4830d3,_0x51526f))==null?{'valid':!0x0}:_0x166ae3:{'valid':!0x1};},'compare':(_0xfc2266,_0x2dd72f)=>dt(_0xfc2266,_0x2dd72f),'filter':(_0x49bab4,_0x9855dd,_0x2ea292,_0x68447f)=>ft(_0x49bab4,_0x9855dd,_0x2ea292,_0x68447f),'toPlainText':(_0x327a51=_0x133832[_0x7a8615(0x273)])==null?_0xfc9908=>_0xfc9908==null?'':String(_0xfc9908):_0x327a51,'fromPlainText':(_0x5271f1=_0x133832[_0x7a8615(0x39f)])==null?_0x44b565=>_0xe432e7(_0x44b565,{'id':'','name':'','type':_0x10aad2,'config':{}}):_0x5271f1,'getCapabilities':()=>{const _0x51a615=_0x7a8615;var _0x3f8345;return{...lt,..._0x5777ca,'editable':_0x5a3c76&&((_0x3f8345=_0x5777ca[_0x51a615(0x224)])==null?lt['editable']:_0x3f8345)};}};}function At(){const _0xf06282=_0x1141d6;return[F(_0x1b662f[_0xf06282(0x2b2)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xf06282(0x1b1)}),'createDefaultValue':_0x17d7e6=>{const _0x52d69a=_0xf06282;var _0x479c81;return(_0x479c81=_0x17d7e6[_0x52d69a(0x364)])==null?'':_0x479c81;}}),F(_0x1b662f[_0xf06282(0x1c8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4f3d87=>_0x4f3d87==null||_0x4f3d87===''?null:String(_0x4f3d87),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xf06282(0x1c1)}})}),F(_0x1b662f['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3e3eb4=>Array[_0xf06282(0x28a)](_0x3e3eb4)?_0x3e3eb4['map'](String):_0x3e3eb4==null?[]:[String(_0x3e3eb4)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xf06282(0x1c1)}}),'createDefaultValue':_0x719d3e=>{var _0x43e5b4;return(_0x43e5b4=_0x719d3e['defaultValue'])==null?[]:_0x43e5b4;}}),F(_0x1b662f[_0xf06282(0x22d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xf06282(0x192)}),'validate':Ft}),F(_0x1b662f[_0xf06282(0x1d2)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x342fb9=>{const _0x7f0f76=_0xf06282;var _0x40e5e6;return(_0x40e5e6=_0x342fb9[_0x7f0f76(0x364)])==null?[]:_0x40e5e6;},'validate':It}),F(_0x1b662f[_0xf06282(0x29d)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4a5047=>M(_0x4a5047),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x1b662f[_0xf06282(0x252)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x60ffba=>_0x60ffba==null?[]:Array[_0xf06282(0x28a)](_0x60ffba)?_0x60ffba:[_0x60ffba],{'createDefaultValue':_0x3679f3=>{const _0x3c7708=_0xf06282;var _0x3a3c8e;return(_0x3a3c8e=_0x3679f3[_0x3c7708(0x364)])==null?[]:_0x3a3c8e;}}),F(_0x1b662f[_0xf06282(0x3a9)],{},_0x46af28=>_0x46af28==null||_0x46af28===''?null:Number(_0x46af28),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x1b662f['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x8f80e7=>_0x8f80e7===!0x0||_0x8f80e7===_0xf06282(0x355)||_0x8f80e7===0x1||_0x8f80e7==='1',{'createDefaultConfig':()=>({'icon':_0xf06282(0x16d),'color':_0xf06282(0x3dd)}),'createDefaultValue':_0x20d788=>{var _0x2d58d6;return(_0x2d58d6=_0x20d788['defaultValue'])==null?!0x1:_0x2d58d6;},'validate':_0x4ab6fd=>typeof _0x4ab6fd==_0xf06282(0x3f1)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06282(0x203)}}),F(_0x1b662f[_0xf06282(0x33a)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x7dd805=>Vt(_0x7dd805),'fromPlainText':_0x6a9554=>Bt(_0x6a9554)}),F(_0x1b662f[_0xf06282(0x331)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xf06282(0x29e),'pattern':'General'}}),'createDefaultValue':()=>null}),F(_0x1b662f['Lookup'],{}),F(_0x1b662f[_0xf06282(0x17d)],{}),F(_0x1b662f[_0xf06282(0x3bc)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x1b662f[_0xf06282(0x2a4)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xf06282(0x365)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x1f2)],{'usableAsTitle':!0x0},_0x325f53=>_0x325f53==null?null:String(_0x325f53)[_0xf06282(0x369)](),{'validate':_0x353f74=>_0x353f74==null||_0x353f74===''||/^\+?[0-9 ()-]{6,20}$/[_0xf06282(0x396)](String(_0x353f74))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06282(0x1ae)}}),F(_0x1b662f[_0xf06282(0x166)],{'usableAsTitle':!0x0},_0x168171=>_0x168171==null?null:String(_0x168171)[_0xf06282(0x369)](),{'validate':_0x1e4f86=>_0x1e4f86==null||_0x1e4f86===''||Ut(String(_0x1e4f86))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),F(_0x1b662f[_0xf06282(0x343)],{'usableAsTitle':!0x0}),F(_0x1b662f[_0xf06282(0x3ce)],{'usableAsTitle':!0x0}),F(_0x1b662f['Progress'],{'usableAsGanttProgress':!0x0},_0x1b6855=>_0x1b6855==null||_0x1b6855===''?null:Number(_0x1b6855),{'createDefaultConfig':()=>({'format':_0xf06282(0x1bf),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x5c9b76,_0x461eca)=>zt(_0x5c9b76,_0x461eca,_0xf06282(0x1e5))}),F(_0x1b662f['Currency'],{},_0x4a3c3f=>_0x4a3c3f==null||_0x4a3c3f===''?null:Number(_0x4a3c3f),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x1b662f[_0xf06282(0x384)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x22aa3a=>_0x22aa3a==null||_0x22aa3a===''?null:Number(_0x22aa3a),{'createDefaultConfig':()=>({'icon':_0xf06282(0x2f3),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x519855,_0x59c595)=>zt(_0x519855,_0x59c595,'[BaseField]:\x20invalid\x20rating\x20value.')}),F(_0x1b662f['TwoWayLink'],{'supportsRelation':!0x0}),F(_0x1b662f[_0xf06282(0x25b)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x1b662f['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x3b3806=>_0x3b3806==null?null:String(_0x3b3806),{'createDefaultConfig':()=>({'provider':_0xf06282(0x19a)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x229)],{'editable':!0x1,'groupable':!0x0},_0xe25acd=>_0xe25acd==null?null:String(_0xe25acd),{'createDefaultConfig':()=>({'provider':_0xf06282(0x19a)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x2db)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3197b9=>M(_0x3197b9),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1b662f[_0xf06282(0x25a)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x2c72bd=>M(_0x2c72bd),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1b662f[_0xf06282(0x1df)],{})];}function jt(){const _0x344b1a=_0x1141d6;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x344b1a(0x304),'useThousands':!0x0,'abbreviation':_0x344b1a(0x3ec),'allowNegative':!0x0};}function Mt(){const _0x3ace2f=_0x1141d6;return{'locale':_0x3ace2f(0x1f6),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x3ace2f(0x381),'defaultMode':_0x3ace2f(0x3ec)};}function Nt(_0x3ec6f8){const _0x220f19=_0x1141d6;return _0x3ec6f8==null||_0x3ec6f8===''?[]:Array['isArray'](_0x3ec6f8)?_0x3ec6f8[_0x220f19(0x220)](String):[String(_0x3ec6f8)];}function Pt(_0x4043bc,_0x5ef33a){const _0x8e8386=_0x1141d6;var _0x3a1782;return _0x4043bc==null||_0x4043bc===''?_0x5ef33a['config'][_0x8e8386(0x237)]===!0x0?[]:null:_0x5ef33a[_0x8e8386(0x1f0)][_0x8e8386(0x237)]===!0x0?Array[_0x8e8386(0x28a)](_0x4043bc)?_0x4043bc[_0x8e8386(0x220)](String):[String(_0x4043bc)]:Array['isArray'](_0x4043bc)?String((_0x3a1782=_0x4043bc[0x0])==null?'':_0x3a1782)||null:String(_0x4043bc);}function Ft(_0x1c938b,_0x547322){const _0x4d36b5=_0x1141d6;return _0x547322[_0x4d36b5(0x1f0)][_0x4d36b5(0x237)]===!0x0?It(_0x1c938b):_0x1c938b==null||_0x1c938b===''||typeof _0x1c938b==_0x4d36b5(0x222)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4d36b5(0x232)};}function It(_0x40db1f){const _0x302c2d=_0x1141d6;return _0x40db1f==null||Array[_0x302c2d(0x28a)](_0x40db1f)&&_0x40db1f['every'](_0x4b76bf=>typeof _0x4b76bf=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x302c2d(0x40d)};}function Lt(_0x1697a7){const _0x33017f=_0x1141d6;return _0x1697a7==null||typeof _0x1697a7==_0x33017f(0x2fa)&&Number[_0x33017f(0x259)](_0x1697a7)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x33017f(0x1c3)};}function Rt(_0x1a9d70,_0x4160bf){const _0x1a1799=_0x1141d6;return _0x1a9d70==null||_0x1a9d70===''?{'valid':!0x0}:typeof _0x1a9d70!=_0x1a1799(0x2fa)||!Number[_0x1a1799(0x259)](_0x1a9d70)?{'valid':!0x1,'reason':_0x1a1799(0x1eb)}:_0x4160bf[_0x1a1799(0x1f0)]['allowNegative']===!0x1&&_0x1a9d70<0x0?{'valid':!0x1,'reason':_0x1a1799(0x185)}:{'valid':!0x0};}function zt(_0x207230,_0x4852db,_0xb658d4){const _0x472cc9=_0x1141d6;var _0x11cda5,_0x1b9d80,_0xb48804,_0x725130;let _0x4d0394=Rt(_0x207230,_0x4852db);if(!_0x4d0394['valid']||_0x207230==null||_0x207230==='')return _0x4d0394;let _0x1953d7=Number((_0x11cda5=(_0x1b9d80=_0x4852db[_0x472cc9(0x1f0)]['min'])==null?_0x4852db['config'][_0x472cc9(0x299)]:_0x1b9d80)==null?0x0:_0x11cda5),_0xa6b2a9=Number((_0xb48804=(_0x725130=_0x4852db[_0x472cc9(0x1f0)][_0x472cc9(0x248)])==null?_0x4852db['config']['end']:_0x725130)==null?0x64:_0xb48804),_0x16ce52=Number(_0x207230);return _0x16ce52>=_0x1953d7&&_0x16ce52<=_0xa6b2a9?{'valid':!0x0}:{'valid':!0x1,'reason':_0xb658d4};}function Bt(_0x7c9dbd){const _0x22f392=_0x1141d6;if(_0x7c9dbd==null||_0x7c9dbd==='')return null;if(typeof _0x7c9dbd==_0x22f392(0x371)&&!Array[_0x22f392(0x28a)](_0x7c9dbd)){let _0x112801=_0x7c9dbd,_0x596c90=typeof _0x112801[_0x22f392(0x387)]==_0x22f392(0x222)?_0x112801['text'][_0x22f392(0x369)]():'',_0x34f30b=typeof _0x112801[_0x22f392(0x3fe)]==_0x22f392(0x222)?_0x112801[_0x22f392(0x3fe)][_0x22f392(0x369)]():'',_0x5ceb13=Ht(_0x34f30b||_0x596c90);return _0x5ceb13?{'text':_0x596c90||_0x34f30b||_0x5ceb13,'url':_0x5ceb13}:null;}let _0x41de94=String(_0x7c9dbd)[_0x22f392(0x369)](),_0x12c179=Ht(_0x41de94);return _0x12c179?{'text':_0x41de94,'url':_0x12c179}:null;}function Vt(_0x4a11d8){const _0x51f466=_0x1141d6;if(_0x4a11d8==null)return'';if(typeof _0x4a11d8==_0x51f466(0x371)&&!Array[_0x51f466(0x28a)](_0x4a11d8)){let _0xa19fe8=_0x4a11d8;return String(_0xa19fe8[_0x51f466(0x387)]||_0xa19fe8[_0x51f466(0x3fe)]||'');}return String(_0x4a11d8);}function Ht(_0xb9b34a){const _0x2c3eca=_0x1141d6;let _0x13185c=_0xb9b34a[_0x2c3eca(0x369)]();return _0x13185c?/^[a-z][a-z\d+.-]*:\/\//i[_0x2c3eca(0x396)](_0x13185c)?_0x13185c:_0x2c3eca(0x158)+_0x13185c:'';}function Ut(_0x5b3924){const _0x2f43f2=_0x1141d6;let _0x19a6ec=_0x5b3924[_0x2f43f2(0x24a)]('@');if(_0x19a6ec<=0x0||_0x19a6ec!==_0x5b3924[_0x2f43f2(0x3e9)]('@'))return!0x1;let _0x229325=_0x5b3924[_0x2f43f2(0x29a)](_0x19a6ec+0x1);return _0x229325[_0x2f43f2(0x370)]('.')&&!_0x5b3924[_0x2f43f2(0x370)]('\x20')&&!_0x229325[_0x2f43f2(0x3bb)]('.')&&!_0x229325[_0x2f43f2(0x156)]('.');}const I={'table':_0x47b0ae=>[_0x1141d6(0x407),_0x47b0ae],'field':(_0x193933,_0x513922)=>[_0x1141d6(0x407),_0x193933,_0x1141d6(0x2e2),_0x513922],'fieldOrder':(_0x1ac440,_0x41bb18)=>[_0x1141d6(0x407),_0x1ac440,_0x1141d6(0x2ad),_0x41bb18],'record':(_0x5568a5,_0x1b96a5)=>[_0x1141d6(0x407),_0x5568a5,_0x1141d6(0x162),_0x1b96a5],'cell':(_0x3fa9a2,_0x1fc7b4,_0x2525ca)=>[_0x1141d6(0x407),_0x3fa9a2,_0x1141d6(0x162),_0x1fc7b4,_0x1141d6(0x3aa),_0x2525ca],'cellData':(_0x18ede9,_0x2d14eb,_0x4e0280)=>[_0x1141d6(0x407),_0x18ede9,_0x1141d6(0x33c),String(_0x2d14eb),String(_0x4e0280)],'attachmentSet':(_0x3bce96,_0x3edf65)=>[_0x1141d6(0x407),_0x3bce96,_0x1141d6(0x389),_0x1141d6(0x36c),_0x3edf65],'attachment':(_0x4b20d9,_0x1c3daf)=>[_0x1141d6(0x407),_0x4b20d9,_0x1141d6(0x389),_0x1141d6(0x33b),_0x1c3daf],'view':(_0xed16d0,_0x11dfad)=>[_0x1141d6(0x407),_0xed16d0,_0x1141d6(0x23e),_0x11dfad],'viewFieldHidden':(_0x3d33e0,_0x441602,_0xe6cab4)=>[_0x1141d6(0x407),_0x3d33e0,_0x1141d6(0x23e),_0x441602,_0x1141d6(0x3c9),_0xe6cab4,_0x1141d6(0x311)]};function L(_0x2d0885){const _0x3557a9=_0x1141d6;return _0x2d0885[_0x3557a9(0x376)]((_0x2ab9fa,_0x44a18f)=>_0x2ab9fa==null?_0x44a18f:_0x35e04c[_0x3557a9(0x157)][_0x3557a9(0x18f)](_0x2ab9fa,_0x44a18f),void 0x0);}var R=class{['setBaseName'](_0x4c1489,_0x1be57e){const _0x54566d=_0x1141d6;let _0x34ae12=this[_0x54566d(0x15c)](_0x4c1489,_0x4c1489[_0x54566d(0x3a2)],_0x1be57e);return L([this[_0x54566d(0x2ba)]([_0x54566d(0x3a2)],_0x4c1489['name'],_0x1be57e),..._0x34ae12?[_0x34ae12]:[]]);}[_0x1141d6(0x15c)](_0x142232,_0x7ab839,_0x351d23){const _0x203acc=_0x1141d6;let _0xe209cf=Object['values'](_0x142232[_0x203acc(0x407)])['flatMap'](_0x4b8dc5=>Object[_0x203acc(0x3aa)](_0x4b8dc5[_0x203acc(0x2e2)])[_0x203acc(0x1a8)](_0x5c412f=>{const _0x19db0f=_0x203acc;var _0x4565fd,_0x16152a,_0x427c7c;if(_0x5c412f['type']!==_0x1b662f[_0x19db0f(0x331)])return[];let _0x547f05=String((_0x4565fd=(_0x16152a=_0x5c412f[_0x19db0f(0x1f0)])==null?void 0x0:_0x16152a[_0x19db0f(0x2f8)])==null?'':_0x4565fd),_0x25d55a=_0x1f4af2(_0x547f05,_0x7ab839,_0x351d23);return _0x25d55a===_0x547f05?[]:[this[_0x19db0f(0x2ba)]([...I['field'](_0x4b8dc5['id'],_0x5c412f['id']),_0x19db0f(0x1f0),'formula'],(_0x427c7c=_0x5c412f[_0x19db0f(0x1f0)])==null?void 0x0:_0x427c7c[_0x19db0f(0x2f8)],_0x25d55a)];}));return _0xe209cf['length']>0x0?L(_0xe209cf):void 0x0;}[_0x1141d6(0x35b)](_0x4f80dc,_0x3daf84,_0x39706d=_0x4f80dc['tableOrder']['length']){const _0x8d5491=_0x1141d6;return L([_0x35e04c[_0x8d5491(0x21e)](I[_0x8d5491(0x305)](_0x3daf84['id']),_0x3daf84),_0x35e04c[_0x8d5491(0x21e)]([_0x8d5491(0x218),_0x39706d],_0x3daf84['id'])]);}[_0x1141d6(0x38a)](_0x460b15,_0x42a3d9,_0x29eefb){const _0x405341=_0x1141d6;let _0x32a56e=_0x460b15[_0x405341(0x407)][_0x42a3d9][_0x405341(0x3a2)],_0x51b096=Object[_0x405341(0x3aa)](_0x460b15['tables'])[_0x405341(0x1a8)](_0x545859=>Object['values'](_0x545859[_0x405341(0x2e2)])[_0x405341(0x1a8)](_0x5f02a2=>{const _0x19d163=_0x405341;var _0x120dd9,_0x6c28ee;if(_0x5f02a2[_0x19d163(0x157)]!==_0x1b662f[_0x19d163(0x331)])return[];let _0x41ebb4=String((_0x120dd9=(_0x6c28ee=_0x5f02a2[_0x19d163(0x1f0)])==null?void 0x0:_0x6c28ee[_0x19d163(0x2f8)])==null?'':_0x120dd9),_0x5781bb=Xt(_0x41ebb4,_0x32a56e,_0x29eefb);return _0x5781bb===_0x41ebb4?[]:[this[_0x19d163(0x33e)](_0x460b15,_0x545859['id'],_0x5f02a2['id'],{'config':{..._0x5f02a2[_0x19d163(0x1f0)],'formula':_0x5781bb}})];}));return L([_0x35e04c[_0x405341(0x32c)]([...I[_0x405341(0x305)](_0x42a3d9),'name'],_0x32a56e,_0x29eefb),..._0x51b096]);}['deleteTable'](_0x2b0550,_0x198701){const _0x17f833=_0x1141d6;let _0x6827fd=_0x2b0550[_0x17f833(0x407)][_0x198701],_0x291f4a=_0x2b0550[_0x17f833(0x218)]['indexOf'](_0x198701);return L([_0x35e04c[_0x17f833(0x301)](I[_0x17f833(0x305)](_0x198701),_0x6827fd),_0x35e04c['removeOp']([_0x17f833(0x218),_0x291f4a],_0x198701)]);}[_0x1141d6(0x337)](_0x5b49a9,_0x515f51,_0x1e39e2){const _0x4ea279=_0x1141d6;return this[_0x4ea279(0x169)](_0x5b49a9,_0x515f51,[_0x1e39e2]);}['createRecords'](_0x4d5167,_0x503bdf,_0x2d7c2b){const _0x19c006=_0x1141d6;let _0x4b1700=_0x4d5167[_0x19c006(0x407)][_0x503bdf],_0x1edf18=_0x2d7c2b[_0x19c006(0x385)](_0x1678c3=>_0x1678c3&&!_0x4b1700[_0x19c006(0x162)][_0x1678c3['id']]);return _0x1edf18[_0x19c006(0x3e1)]?L([..._0x1edf18[_0x19c006(0x220)](_0x407e88=>_0x35e04c['insertOp'](I[_0x19c006(0x1a5)](_0x503bdf,_0x407e88['id']),_0x407e88)),this[_0x19c006(0x2c3)](_0x4d5167,_0x503bdf,_0x1edf18)]):_0x35e04c[_0x19c006(0x32c)]([...I[_0x19c006(0x305)](_0x503bdf),_0x19c006(0x162)],_0x4b1700[_0x19c006(0x162)],_0x4b1700[_0x19c006(0x162)]);}[_0x1141d6(0x3af)](_0x176164,_0x5aeeb9,_0x5de44d){const _0x1cae58=_0x1141d6;return this[_0x1cae58(0x13b)](_0x176164,_0x5aeeb9,[_0x5de44d]);}[_0x1141d6(0x13b)](_0x529ae4,_0x1e29fe,_0x5309a3){const _0x277931=_0x1141d6;let _0x3c37b6=_0x529ae4[_0x277931(0x407)][_0x1e29fe],_0x433015=Array[_0x277931(0x1b2)](new Set(_0x5309a3))[_0x277931(0x385)](_0x3e028e=>_0x3c37b6[_0x277931(0x162)][_0x3e028e]);if(!_0x433015[_0x277931(0x3e1)])return _0x35e04c['replaceOp']([...I['table'](_0x1e29fe),'records'],_0x3c37b6[_0x277931(0x162)],_0x3c37b6['records']);let _0x79c63e=new Set(_0x433015),_0x51242c=_0x433015[_0x277931(0x220)](_0x505274=>{const _0x218b88=_0x277931;var _0x113e69,_0x153290;return{'recordId':_0x505274,'index':(_0x113e69=(_0x153290=_0x3c37b6[_0x218b88(0x19d)])==null?void 0x0:_0x153290[_0x218b88(0x24a)](_0x505274))==null?-0x1:_0x113e69};})[_0x277931(0x385)](_0x39ffd4=>_0x39ffd4['index']>=0x0)['sort']((_0x44cfd8,_0x35f9b7)=>_0x35f9b7['index']-_0x44cfd8[_0x277931(0x148)]);return L([..._0x433015['map'](_0x145930=>_0x35e04c[_0x277931(0x301)](I['record'](_0x1e29fe,_0x145930),_0x3c37b6['records'][_0x145930])),..._0x51242c[_0x277931(0x220)](({recordId:_0x18a03f,index:_0xa49f84})=>_0x35e04c['removeOp'](['tables',_0x1e29fe,_0x277931(0x19d),_0xa49f84],_0x18a03f)),...this[_0x277931(0x199)](_0x3c37b6,_0x1e29fe,_0x3c5a38=>{const _0x2db234=_0x277931;let _0x4e7c9d=_0x3c5a38[_0x2db234(0x29a)](_0x3c5a38[_0x2db234(0x3e9)]('\x1f')+0x1);return _0x79c63e['has'](_0x4e7c9d);})]);}['duplicateRecord'](_0x47e1d8,_0x4da9d7,_0x338866,_0x1b7722){const _0x430f6a=_0x1141d6;return this[_0x430f6a(0x337)](_0x47e1d8,_0x4da9d7,{..._0x1b7722,'values':{..._0x47e1d8['tables'][_0x4da9d7][_0x430f6a(0x162)][_0x338866]['values'],..._0x1b7722[_0x430f6a(0x3aa)]}});}[_0x1141d6(0x297)](_0x239d24,_0x3b460e,_0x113093,_0x5806b9){const _0x5e10a5=_0x1141d6;let _0x525540=_0x239d24[_0x5e10a5(0x407)][_0x3b460e],_0x2c777a=[...I[_0x5e10a5(0x1a5)](_0x3b460e,_0x113093),_0x5e10a5(0x2c0)],_0x1d5c68=Object['values'](_0x525540[_0x5e10a5(0x162)])[_0x5e10a5(0x220)](_0x1d435a=>_0x1d435a['id']===_0x113093?{..._0x1d435a,'orderKey':_0x5806b9}:_0x1d435a)['sort']((_0x2a4c9a,_0x304587)=>{const _0x1fdf9c=_0x5e10a5;var _0x52be71,_0x13018a;return String((_0x52be71=_0x2a4c9a[_0x1fdf9c(0x2c0)])==null?_0x2a4c9a['id']:_0x52be71)[_0x1fdf9c(0x1a0)](String((_0x13018a=_0x304587[_0x1fdf9c(0x2c0)])==null?_0x304587['id']:_0x13018a));})['map'](_0x25adc2=>_0x25adc2['id']),_0x4d0243=[...I[_0x5e10a5(0x305)](_0x3b460e),_0x5e10a5(0x19d)];return L([_0x35e04c[_0x5e10a5(0x32c)](_0x2c777a,_0x525540[_0x5e10a5(0x162)][_0x113093][_0x5e10a5(0x2c0)],_0x5806b9),_0x525540[_0x5e10a5(0x19d)]?_0x35e04c[_0x5e10a5(0x32c)](_0x4d0243,_0x525540['recordOrder'],_0x1d5c68):_0x35e04c['insertOp'](_0x4d0243,_0x1d5c68)]);}[_0x1141d6(0x2e6)](_0x3bf402,_0x212cb5,_0x5744d9,_0x529afd,_0x3a14a8){const _0x334d97=_0x1141d6;var _0x19ee3b,_0x41515d;let _0x3a87da=_0x3bf402['tables'][_0x212cb5],_0x54936c=Wt(_0x3a87da,_0x5744d9,_0x529afd)?_0x3a87da:E(_0x3a87da),_0x20cf18=(_0x19ee3b=_0x54936c[_0x334d97(0x241)])==null?void 0x0:_0x19ee3b[_0x5744d9],_0x14c73a=(_0x41515d=_0x54936c[_0x334d97(0x22b)])==null?void 0x0:_0x41515d[_0x529afd];if(_0x20cf18==null||_0x14c73a==null){var _0x22cd18;return this[_0x334d97(0x2ba)](I[_0x334d97(0x400)](_0x212cb5,_0x5744d9,_0x529afd),(_0x22cd18=_0x3bf402[_0x334d97(0x407)][_0x212cb5])==null||(_0x22cd18=_0x22cd18[_0x334d97(0x162)][_0x5744d9])==null?void 0x0:_0x22cd18[_0x334d97(0x3aa)][_0x529afd],_0x3a14a8);}return this['setRangeValues'](_0x3bf402,_0x212cb5,[{'row':_0x20cf18,'col':_0x14c73a,'value':_0x3a14a8}]);}[_0x1141d6(0x250)](_0x360505,_0x4ba550,_0x4187a8){const _0x4d47bc=_0x1141d6;let _0x3115a8=_0x360505['tables'][_0x4ba550],_0x377fba=_0x4187a8[_0x4d47bc(0x256)](_0xa98c01=>Object[_0x4d47bc(0x1ef)](_0xa98c01[_0x4d47bc(0x3aa)])[_0x4d47bc(0x256)](_0x1892f0=>Wt(_0x3115a8,_0xa98c01['recordId'],_0x1892f0)))?_0x3115a8:E(_0x3115a8),_0x4aeb3a=_0x4187a8['flatMap'](_0x51cfec=>Object['entries'](_0x51cfec['values'])[_0x4d47bc(0x1a8)](([_0x15c822,_0xde8a85])=>{const _0x1de87b=_0x4d47bc;var _0xe6f5a4,_0x4146b2;let _0x45d0b7=(_0xe6f5a4=_0x377fba['rowIndex'])==null?void 0x0:_0xe6f5a4[_0x51cfec[_0x1de87b(0x201)]],_0x4198bd=(_0x4146b2=_0x377fba[_0x1de87b(0x22b)])==null?void 0x0:_0x4146b2[_0x15c822];return _0x45d0b7==null||_0x4198bd==null?[]:[{'row':_0x45d0b7,'col':_0x4198bd,'value':_0xde8a85}];})),_0xc73fdc=_0x4187a8[_0x4d47bc(0x1a8)](_0x5894ea=>{const _0x48434a=_0x4d47bc;var _0x888ca7;return Object[_0x48434a(0x34d)]((_0x888ca7=_0x5894ea[_0x48434a(0x336)])==null?{}:_0x888ca7)[_0x48434a(0x220)](([_0x45acf3,_0x3cc08d])=>{const _0x19a2d6=_0x48434a;var _0x5869bd;let _0x2b41f5=[...I[_0x19a2d6(0x1a5)](_0x4ba550,_0x5894ea[_0x19a2d6(0x201)]),_0x45acf3],_0x448102=(_0x5869bd=_0x360505[_0x19a2d6(0x407)][_0x4ba550])==null||(_0x5869bd=_0x5869bd['records'][_0x5894ea[_0x19a2d6(0x201)]])==null?void 0x0:_0x5869bd[_0x45acf3];return this['_replaceOptional'](_0x2b41f5,_0x448102,_0x3cc08d);});});return L([this['setRangeValues'](_0x360505,_0x4ba550,_0x4aeb3a),..._0xc73fdc]);}[_0x1141d6(0x208)](_0x36728a,_0x209042,_0x1751cf){const _0x1e83c6=_0x1141d6;let _0x5ca76e=_0x36728a['tables'][_0x209042],_0x309af9=_0x1751cf['every'](_0x29f45e=>Gt(_0x5ca76e,_0x29f45e[_0x1e83c6(0x198)],_0x29f45e[_0x1e83c6(0x2e5)]))?_0x5ca76e:E(_0x5ca76e),_0x2af710=_0x1751cf[_0x1e83c6(0x1a8)](_0x4cfaa9=>{const _0x2080c2=_0x1e83c6;var _0x232f05,_0x596950,_0x214741,_0x35f387;let _0x65871d=(_0x232f05=_0x309af9[_0x2080c2(0x18b)])==null?void 0x0:_0x232f05[_0x4cfaa9[_0x2080c2(0x2e5)]],_0x29c47c=(_0x596950=_0x309af9[_0x2080c2(0x378)])==null?void 0x0:_0x596950[_0x4cfaa9[_0x2080c2(0x198)]],_0xb886bf=_0x65871d?_0x309af9[_0x2080c2(0x2e2)][_0x65871d]:void 0x0,_0x1775ac=D(_0x4cfaa9[_0x2080c2(0x20d)],_0xb886bf),_0x1ca6f2=(_0x214741=_0x309af9[_0x2080c2(0x33c)])==null||(_0x214741=_0x214741[_0x4cfaa9[_0x2080c2(0x198)]])==null?void 0x0:_0x214741[_0x4cfaa9[_0x2080c2(0x2e5)]],_0x565bcb=this[_0x2080c2(0x2ba)](I[_0x2080c2(0x33c)](_0x209042,_0x4cfaa9[_0x2080c2(0x198)],_0x4cfaa9[_0x2080c2(0x2e5)]),_0x1ca6f2,_0x1775ac);if(!_0x65871d||!_0x29c47c)return[_0x565bcb];let _0x43960e=(_0x35f387=_0x309af9[_0x2080c2(0x162)][_0x29c47c])==null?void 0x0:_0x35f387[_0x2080c2(0x3aa)][_0x65871d],_0x26b1ea=(_0xb886bf==null?void 0x0:_0xb886bf[_0x2080c2(0x157)])===_0x1b662f[_0x2080c2(0x252)]?O(_0x4cfaa9[_0x2080c2(0x20d)]):Ae(_0x4cfaa9['value'],_0x1775ac,_0xb886bf,_0x309af9,_0x29c47c),_0x11cd74=[_0x565bcb,this['_replaceOptional'](I[_0x2080c2(0x400)](_0x209042,_0x29c47c,_0x65871d),_0x43960e,_0x26b1ea)];if((_0xb886bf==null?void 0x0:_0xb886bf[_0x2080c2(0x157)])!==_0x1b662f[_0x2080c2(0x252)])return _0x11cd74;let _0x4d2678=this['_setAttachmentResources'](_0x309af9,_0x209042,_0x29c47c,_0x65871d,_0x26b1ea);return[..._0x11cd74,..._0x4d2678];});return _0x2af710[_0x1e83c6(0x3e1)]?L(_0x2af710):_0x35e04c['replaceOp']([_0x1e83c6(0x407),_0x209042,_0x1e83c6(0x33c)],_0x309af9[_0x1e83c6(0x33c)],_0x309af9[_0x1e83c6(0x33c)]);}[_0x1141d6(0x14e)](_0x3a8500,_0x3109e7,_0x13580d){const _0x341c1=_0x1141d6;var _0xce44ea,_0x45b4cd;let _0x3ec984=_0x3a8500[_0x341c1(0x407)][_0x3109e7];if(_0x3ec984['fields'][_0x13580d[_0x341c1(0x293)]['id']]||_0x3ec984['fieldOrder'][_0x341c1(0x370)](_0x13580d[_0x341c1(0x293)]['id']))return _0x35e04c[_0x341c1(0x32c)](['tables',_0x3109e7,_0x341c1(0x2ad)],_0x3ec984[_0x341c1(0x2ad)],_0x3ec984[_0x341c1(0x2ad)]);let _0x211d90=(_0xce44ea=_0x13580d[_0x341c1(0x148)])==null?_0x3ec984[_0x341c1(0x2ad)]['length']:_0xce44ea,_0x251ec2=Object['values']((_0x45b4cd=_0x3ec984[_0x341c1(0x23e)])==null?{}:_0x45b4cd)[_0x341c1(0x1a8)](_0x39ce5a=>{const _0x15b9ef=_0x341c1;var _0x419580,_0xbfb53d;if(!_0x39ce5a[_0x15b9ef(0x2ad)]||_0x39ce5a[_0x15b9ef(0x2ad)]['includes'](_0x13580d['field']['id']))return[];let _0x283590=Yt((_0x419580=(_0xbfb53d=_0x13580d[_0x15b9ef(0x402)])==null?void 0x0:_0xbfb53d[_0x39ce5a['id']])==null?_0x211d90:_0x419580,_0x39ce5a[_0x15b9ef(0x2ad)][_0x15b9ef(0x3e1)]);return[_0x35e04c['insertOp']([...I['view'](_0x3109e7,_0x39ce5a['id']),_0x15b9ef(0x2ad),_0x283590],_0x13580d[_0x15b9ef(0x293)]['id'])];});return L([_0x35e04c['insertOp'](I[_0x341c1(0x293)](_0x3109e7,_0x13580d[_0x341c1(0x293)]['id']),_0x13580d[_0x341c1(0x293)]),_0x35e04c[_0x341c1(0x21e)](I[_0x341c1(0x2ad)](_0x3109e7,_0x211d90),_0x13580d[_0x341c1(0x293)]['id']),..._0x251ec2]);}['duplicateField'](_0x2fea84,_0x4277be,_0xf126c9,_0x2d8404){const _0x3715ce=_0x1141d6;var _0xf9ca5a,_0x25e8bb;let _0x2879c1=_0x2fea84['tables'][_0x4277be];if(!_0x2879c1[_0x3715ce(0x2e2)][_0xf126c9]||_0x2879c1[_0x3715ce(0x2e2)][_0x2d8404['field']['id']]||_0x2879c1[_0x3715ce(0x2ad)][_0x3715ce(0x370)](_0x2d8404['field']['id']))return _0x35e04c[_0x3715ce(0x32c)](['tables',_0x4277be,_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)]);let _0x12f51e=(_0xf9ca5a=_0x2d8404[_0x3715ce(0x148)])==null?_0x2879c1['fieldOrder'][_0x3715ce(0x24a)](_0xf126c9)+0x1:_0xf9ca5a,_0x272190=_0x2879c1[_0x3715ce(0x2ad)][_0x3715ce(0x385)](_0xaab8ea=>_0xaab8ea!==_0x2d8404[_0x3715ce(0x293)]['id']),_0x3251ab=qt(_0x272190,_0x2d8404['field']['id'],_0x12f51e),_0x30baea=Object[_0x3715ce(0x3aa)]((_0x25e8bb=_0x2879c1['views'])==null?{}:_0x25e8bb)['flatMap'](_0x1c2736=>{const _0x4fab6a=_0x3715ce;var _0x33eeeb,_0x29001f,_0x4735f6,_0x564ace,_0xe234ff;let _0x47ed20=(_0x33eeeb=_0x1c2736['fieldOrder'])!=null&&_0x33eeeb[_0x4fab6a(0x3e1)]?_0x1c2736[_0x4fab6a(0x2ad)]:_0x272190;if(_0x47ed20[_0x4fab6a(0x370)](_0x2d8404[_0x4fab6a(0x293)]['id']))return[];let _0x481c79=qt(_0x47ed20,_0x2d8404['field']['id'],(_0x29001f=(_0x4735f6=_0x2d8404[_0x4fab6a(0x402)])==null?void 0x0:_0x4735f6[_0x1c2736['id']])==null?_0x12f51e:_0x29001f),_0x12ccad=(_0x564ace=_0x1c2736[_0x4fab6a(0x3c9)])==null?void 0x0:_0x564ace[_0xf126c9];return[this[_0x4fab6a(0x2ba)]([...I[_0x4fab6a(0x409)](_0x4277be,_0x1c2736['id']),'fieldOrder'],_0x1c2736['fieldOrder'],_0x481c79),..._0x12ccad?[this[_0x4fab6a(0x2ba)]([...I[_0x4fab6a(0x409)](_0x4277be,_0x1c2736['id']),_0x4fab6a(0x3c9),_0x2d8404[_0x4fab6a(0x293)]['id']],(_0xe234ff=_0x1c2736[_0x4fab6a(0x3c9)])==null?void 0x0:_0xe234ff[_0x2d8404['field']['id']],_0x12ccad)]:[]];}),_0x55132b=Object[_0x3715ce(0x3aa)](_0x2879c1[_0x3715ce(0x162)])[_0x3715ce(0x385)](_0x4d2b10=>Object[_0x3715ce(0x356)][_0x3715ce(0x15d)][_0x3715ce(0x231)](_0x4d2b10[_0x3715ce(0x3aa)],_0xf126c9))[_0x3715ce(0x220)](_0x3f5281=>this['_replaceOptional'](I[_0x3715ce(0x400)](_0x4277be,_0x3f5281['id'],_0x2d8404[_0x3715ce(0x293)]['id']),_0x3f5281[_0x3715ce(0x3aa)][_0x2d8404[_0x3715ce(0x293)]['id']],_0x3f5281[_0x3715ce(0x3aa)][_0xf126c9]));return L([_0x35e04c['insertOp'](I[_0x3715ce(0x293)](_0x4277be,_0x2d8404[_0x3715ce(0x293)]['id']),_0x2d8404['field']),_0x35e04c[_0x3715ce(0x32c)]([_0x3715ce(0x407),_0x4277be,_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)],_0x3251ab),..._0x30baea,..._0x55132b]);}['updateField'](_0x62e89a,_0x3467fe,_0x5c96d9,_0x289d60){const _0x205735=_0x1141d6;let _0x22ba90=_0x62e89a[_0x205735(0x407)][_0x3467fe][_0x205735(0x2e2)][_0x5c96d9],_0xb1f227={..._0x22ba90,..._0x289d60};Object['keys'](_0x289d60)[_0x205735(0x2e8)](_0x3b2e9c=>{_0x289d60[_0x3b2e9c]===void 0x0&&delete _0xb1f227[_0x3b2e9c];});let _0x487314=_0x35e04c[_0x205735(0x32c)](I['field'](_0x3467fe,_0x5c96d9),_0x22ba90,_0xb1f227);return _0xb1f227[_0x205735(0x157)]===_0x1b662f[_0x205735(0x331)]?L([_0x487314,...this[_0x205735(0x1bc)](_0x62e89a,_0x3467fe,_0x5c96d9,_0xb1f227)]):_0x487314;}[_0x1141d6(0x33f)](_0x1a5367,_0x1da445,_0x35d4c3,_0x25f827){const _0x5d5af8=_0x1141d6;return this[_0x5d5af8(0x33e)](_0x1a5367,_0x1da445,_0x35d4c3,_0x25f827);}['deleteField'](_0xb88a00,_0xc3260c,_0x4ef8f4){const _0x15c07b=_0x1141d6;let _0x5b0cf8=_0xb88a00[_0x15c07b(0x407)][_0xc3260c];if(!(_0x5b0cf8!=null&&_0x5b0cf8['fields'][_0x4ef8f4])||_0x5b0cf8['primaryFieldId']===_0x4ef8f4)return _0x35e04c['replaceOp']([_0x15c07b(0x407),_0xc3260c,_0x15c07b(0x2ad)],_0x5b0cf8==null?void 0x0:_0x5b0cf8[_0x15c07b(0x2ad)],_0x5b0cf8==null?void 0x0:_0x5b0cf8['fieldOrder']);let _0x1e907e=_0x5b0cf8[_0x15c07b(0x2ad)][_0x15c07b(0x24a)](_0x4ef8f4),_0x5d26bf=Object[_0x15c07b(0x3aa)](_0x5b0cf8[_0x15c07b(0x23e)])[_0x15c07b(0x1a8)](_0x8c1f73=>{const _0x31c02b=_0x15c07b;var _0x1e1579,_0x5aa460,_0x8ae5c8,_0x305afa,_0xf88370,_0x49b95f,_0x37c4e4,_0x35ab50;let _0x2c2e2e=[],_0x1ecd3a=(_0x1e1579=(_0x5aa460=_0x8c1f73[_0x31c02b(0x2ad)])==null?void 0x0:_0x5aa460['indexOf'](_0x4ef8f4))==null?-0x1:_0x1e1579;_0x1ecd3a>=0x0&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x301)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),'fieldOrder',_0x1ecd3a],_0x4ef8f4));let _0x2b29cb=(_0x8ae5c8=_0x8c1f73['fieldSettings'])==null?void 0x0:_0x8ae5c8[_0x4ef8f4];_0x2b29cb!==void 0x0&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x301)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x3c9),_0x4ef8f4],_0x2b29cb));let _0x347f26=_0x8c1f73[_0x31c02b(0x385)]?{..._0x8c1f73['filter'],'conditions':_0x8c1f73[_0x31c02b(0x385)][_0x31c02b(0x20a)][_0x31c02b(0x385)](_0xb5755a=>_0xb5755a[_0x31c02b(0x1be)]!==_0x4ef8f4)}:_0x8c1f73[_0x31c02b(0x385)];_0x347f26&&_0x347f26[_0x31c02b(0x20a)]['length']!==((_0x305afa=_0x8c1f73[_0x31c02b(0x385)])==null?void 0x0:_0x305afa[_0x31c02b(0x20a)][_0x31c02b(0x3e1)])&&_0x2c2e2e[_0x31c02b(0x1a6)](this[_0x31c02b(0x2ba)]([...I['view'](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x385)],_0x8c1f73[_0x31c02b(0x385)],_0x347f26));let _0x8adc57=(_0xf88370=_0x8c1f73[_0x31c02b(0x3b6)])==null?void 0x0:_0xf88370[_0x31c02b(0x385)](_0x1b5a39=>_0x1b5a39[_0x31c02b(0x1be)]!==_0x4ef8f4);_0x8adc57&&_0x8adc57[_0x31c02b(0x3e1)]!==((_0x49b95f=_0x8c1f73[_0x31c02b(0x3b6)])==null?void 0x0:_0x49b95f[_0x31c02b(0x3e1)])&&_0x2c2e2e['push'](this[_0x31c02b(0x2ba)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x3b6)],_0x8c1f73[_0x31c02b(0x3b6)],_0x8adc57));let _0x4f7b97=(_0x37c4e4=_0x8c1f73[_0x31c02b(0x18c)])==null?void 0x0:_0x37c4e4[_0x31c02b(0x385)](_0x4bf59e=>_0x4bf59e[_0x31c02b(0x1be)]!==_0x4ef8f4);_0x4f7b97&&_0x4f7b97[_0x31c02b(0x3e1)]!==((_0x35ab50=_0x8c1f73['group'])==null?void 0x0:_0x35ab50[_0x31c02b(0x3e1)])&&_0x2c2e2e['push'](this['_replaceOptional']([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x18c)],_0x8c1f73[_0x31c02b(0x18c)],_0x4f7b97));let _0x1920a8=Jt(_0x8c1f73[_0x31c02b(0x1f0)],_0x4ef8f4);return JSON[_0x31c02b(0x39c)](_0x1920a8)!==JSON[_0x31c02b(0x39c)](_0x8c1f73[_0x31c02b(0x1f0)])&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x32c)]([...I['view'](_0xc3260c,_0x8c1f73['id']),'config'],_0x8c1f73[_0x31c02b(0x1f0)],_0x1920a8)),_0x2c2e2e;}),_0x581980=Object[_0x15c07b(0x3aa)](_0x5b0cf8[_0x15c07b(0x162)])[_0x15c07b(0x1a8)](_0x118b9e=>Object['prototype'][_0x15c07b(0x15d)]['call'](_0x118b9e[_0x15c07b(0x3aa)],_0x4ef8f4)?[_0x35e04c['removeOp'](I['cell'](_0xc3260c,_0x118b9e['id'],_0x4ef8f4),_0x118b9e[_0x15c07b(0x3aa)][_0x4ef8f4])]:[]);return L([_0x35e04c[_0x15c07b(0x301)](I[_0x15c07b(0x293)](_0xc3260c,_0x4ef8f4),_0x5b0cf8[_0x15c07b(0x2e2)][_0x4ef8f4]),_0x35e04c[_0x15c07b(0x301)](I[_0x15c07b(0x2ad)](_0xc3260c,_0x1e907e),_0x4ef8f4),..._0x5d26bf,..._0x581980,...this['_deleteAttachmentResources'](_0x5b0cf8,_0xc3260c,_0x4acd5c=>_0x4acd5c[_0x15c07b(0x3bb)](_0x4ef8f4+'\x1f'))]);}[_0x1141d6(0x149)](_0x1c0ace,_0x422437,_0x42d3dc,_0x1375f6){const _0x452fea=_0x1141d6;let _0x137d41=_0x1c0ace['tables'][_0x422437][_0x452fea(0x2ad)],_0x1d2099=Kt(_0x137d41,_0x42d3dc,_0x1375f6);return _0x35e04c[_0x452fea(0x32c)]([_0x452fea(0x407),_0x422437,_0x452fea(0x2ad)],_0x137d41,_0x1d2099);}[_0x1141d6(0x367)](_0x4437b0,_0x375f29,_0x3f8f85,_0x5f5652=_0x4437b0[_0x1141d6(0x407)][_0x375f29][_0x1141d6(0x15f)]['length']){const _0x1df85b=_0x1141d6;return L([_0x35e04c[_0x1df85b(0x21e)](I['view'](_0x375f29,_0x3f8f85['id']),_0x3f8f85),_0x35e04c[_0x1df85b(0x21e)]([_0x1df85b(0x407),_0x375f29,_0x1df85b(0x15f),_0x5f5652],_0x3f8f85['id'])]);}[_0x1141d6(0x2d2)](_0x382a3c,_0x58e4d8,_0x14fa47,_0x2e7ccd){const _0x333416=_0x1141d6;return _0x35e04c[_0x333416(0x32c)]([...I[_0x333416(0x409)](_0x58e4d8,_0x14fa47),_0x333416(0x3a2)],_0x382a3c[_0x333416(0x407)][_0x58e4d8][_0x333416(0x23e)][_0x14fa47][_0x333416(0x3a2)],_0x2e7ccd);}[_0x1141d6(0x1fa)](_0xef8c96,_0xabece8,_0x1ec9d1){const _0x478819=_0x1141d6;let _0x57b638=_0xef8c96[_0x478819(0x407)][_0xabece8],_0x434341=_0x57b638['views'][_0x1ec9d1],_0x5abc7b=_0x57b638[_0x478819(0x15f)][_0x478819(0x24a)](_0x1ec9d1);return L([_0x35e04c[_0x478819(0x301)](I[_0x478819(0x409)](_0xabece8,_0x1ec9d1),_0x434341),_0x35e04c[_0x478819(0x301)](['tables',_0xabece8,_0x478819(0x15f),_0x5abc7b],_0x1ec9d1)]);}['moveView'](_0x17ca08,_0x1a380c,_0x4e5985,_0x28009f){const _0x420e15=_0x1141d6;let _0x561b80=_0x17ca08['tables'][_0x1a380c]['viewOrder'],_0x59171c=Kt(_0x561b80,_0x4e5985,{'beforeFieldId':_0x28009f[_0x420e15(0x1f5)],'afterFieldId':_0x28009f[_0x420e15(0x333)]});return _0x35e04c[_0x420e15(0x32c)](['tables',_0x1a380c,_0x420e15(0x15f)],_0x561b80,_0x59171c);}[_0x1141d6(0x23f)](_0x33d3b5,_0xbaba3d,_0x2d7ad8,_0x5ceb4a){const _0x3e762f=_0x1141d6;var _0x4eef5a;let _0x35e48b=(_0x4eef5a=_0x33d3b5['tables'][_0xbaba3d]['views'][_0x2d7ad8][_0x3e762f(0x1f0)])==null?{}:_0x4eef5a,_0x17d1a1={..._0x35e48b,..._0x5ceb4a};return Object[_0x3e762f(0x1ef)](_0x5ceb4a)[_0x3e762f(0x2e8)](_0xcf98dd=>{_0x5ceb4a[_0xcf98dd]===void 0x0&&delete _0x17d1a1[_0xcf98dd];}),_0x35e04c[_0x3e762f(0x32c)]([...I[_0x3e762f(0x409)](_0xbaba3d,_0x2d7ad8),'config'],_0x35e48b,_0x17d1a1);}[_0x1141d6(0x30f)](_0x3c7ce6,_0x717fff,_0x4097cb,_0x27fc51){const _0x4b2014=_0x1141d6;return this['_replaceOptional']([...I[_0x4b2014(0x409)](_0x717fff,_0x4097cb),_0x4b2014(0x385)],_0x3c7ce6[_0x4b2014(0x407)][_0x717fff][_0x4b2014(0x23e)][_0x4097cb][_0x4b2014(0x385)],_0x27fc51);}[_0x1141d6(0x27e)](_0x34f412,_0x1b0af7,_0x21a57e,_0x311753){const _0x500d94=_0x1141d6;return this[_0x500d94(0x2ba)]([...I[_0x500d94(0x409)](_0x1b0af7,_0x21a57e),'sort'],_0x34f412[_0x500d94(0x407)][_0x1b0af7]['views'][_0x21a57e][_0x500d94(0x3b6)],_0x311753);}['setViewGroup'](_0x2ad2bb,_0x2ef23a,_0xe1b22b,_0x2488f4){const _0x13ee7e=_0x1141d6;return this['_replaceOptional']([...I['view'](_0x2ef23a,_0xe1b22b),_0x13ee7e(0x18c)],_0x2ad2bb[_0x13ee7e(0x407)][_0x2ef23a][_0x13ee7e(0x23e)][_0xe1b22b][_0x13ee7e(0x18c)],_0x2488f4);}[_0x1141d6(0x3e4)](_0x308162,_0x3835b2,_0x12ad4f,_0xbf0cef,_0x500c14){return this['_setViewFieldSetting'](_0x308162,_0x3835b2,_0x12ad4f,_0xbf0cef,{'hidden':!_0x500c14});}[_0x1141d6(0x2d5)](_0x4fd45f,_0x3cad34,_0x2eada6,_0x9a9eb7,_0x393a78){return this['_setViewFieldSetting'](_0x4fd45f,_0x3cad34,_0x2eada6,_0x9a9eb7,{'width':_0x393a78});}['setViewFieldOrder'](_0x41f82a,_0x260c62,_0x479fce,_0x550247,_0x3d5c9e){const _0x5739c8=_0x1141d6;var _0x36b6e3;let _0x34073d=_0x41f82a['tables'][_0x260c62][_0x5739c8(0x23e)][_0x479fce],_0x50128d=Kt((_0x36b6e3=_0x34073d['fieldOrder'])==null?_0x41f82a[_0x5739c8(0x407)][_0x260c62]['fieldOrder']:_0x36b6e3,_0x550247,_0x3d5c9e);return this['_replaceOptional']([...I[_0x5739c8(0x409)](_0x260c62,_0x479fce),_0x5739c8(0x2ad)],_0x34073d[_0x5739c8(0x2ad)],_0x50128d);}['_setViewFieldSetting'](_0x46d7cb,_0x4c6467,_0x5e2b69,_0x539394,_0x214eb9){const _0x407963=_0x1141d6;var _0x4349ad;let _0x305456=(_0x4349ad=_0x46d7cb[_0x407963(0x407)][_0x4c6467][_0x407963(0x23e)][_0x5e2b69][_0x407963(0x3c9)])==null?{}:_0x4349ad,_0x1f1223={..._0x305456,[_0x539394]:{..._0x305456[_0x539394],..._0x214eb9}};return this[_0x407963(0x2ba)]([...I[_0x407963(0x409)](_0x4c6467,_0x5e2b69),'fieldSettings'],_0x46d7cb[_0x407963(0x407)][_0x4c6467][_0x407963(0x23e)][_0x5e2b69][_0x407963(0x3c9)],_0x1f1223);}[_0x1141d6(0x2c3)](_0x519a1c,_0x4552e7,_0xcb8fb7){const _0x308a00=_0x1141d6;let _0x10e77e=_0x519a1c[_0x308a00(0x407)][_0x4552e7],_0x389404=new Set(_0xcb8fb7[_0x308a00(0x220)](_0x1d1c8b=>_0x1d1c8b['id'])),_0x2b72a4=[...Object[_0x308a00(0x3aa)](_0x10e77e[_0x308a00(0x162)])[_0x308a00(0x385)](_0x540e86=>!_0x389404[_0x308a00(0x325)](_0x540e86['id'])),..._0xcb8fb7][_0x308a00(0x3b6)]((_0xe597fe,_0x101493)=>{const _0xce2965=_0x308a00;var _0x57b6a8,_0x439f1c;return String((_0x57b6a8=_0xe597fe[_0xce2965(0x2c0)])==null?_0xe597fe['id']:_0x57b6a8)['localeCompare'](String((_0x439f1c=_0x101493[_0xce2965(0x2c0)])==null?_0x101493['id']:_0x439f1c));})[_0x308a00(0x220)](_0x29d111=>_0x29d111['id']),_0x51a8b8=[...I[_0x308a00(0x305)](_0x4552e7),_0x308a00(0x19d)];return _0x10e77e[_0x308a00(0x19d)]?_0x35e04c['replaceOp'](_0x51a8b8,_0x10e77e[_0x308a00(0x19d)],_0x2b72a4):_0x35e04c['insertOp'](_0x51a8b8,_0x2b72a4);}[_0x1141d6(0x1bc)](_0x27021d,_0x4fb6b3,_0x34d439,_0x1ee330){const _0x574946=_0x1141d6;var _0xed3900,_0x168712,_0x1abe33,_0x3a433d;let _0x5a329a=E(_0x27021d['tables'][_0x4fb6b3]),_0x5dc022=String((_0xed3900=(_0x168712=_0x1ee330[_0x574946(0x1f0)])==null?void 0x0:_0x168712['formula'])==null?'':_0xed3900)[_0x574946(0x369)](),_0x54ec4b=(_0x1abe33=_0x5a329a[_0x574946(0x22b)])==null?void 0x0:_0x1abe33[_0x34d439];if(_0x54ec4b==null)return[];let _0x30fc91=(_0x3a433d=_0x5a329a[_0x574946(0x19d)])==null?Object[_0x574946(0x1ef)](_0x5a329a['records']):_0x3a433d,_0x2fb0fc=_0x30fc91['map'](_0x171264=>{var _0x559960;return(_0x559960=_0x5a329a['rowIndex'])==null?void 0x0:_0x559960[_0x171264];})[_0x574946(0x236)](_0x3c9db6=>_0x3c9db6!=null);return _0x30fc91['flatMap'](_0x370808=>{const _0x3a5fb5=_0x574946;var _0x207aba,_0x1d4454;let _0x379dc6=(_0x207aba=_0x5a329a[_0x3a5fb5(0x241)])==null?void 0x0:_0x207aba[_0x370808];if(_0x379dc6==null)return[];let _0x35bdfd=(_0x1d4454=_0x5a329a['cellData'])==null||(_0x1d4454=_0x1d4454[_0x379dc6])==null?void 0x0:_0x1d4454[_0x54ec4b],_0x2139d2=_0x5dc022?_0x379dc6===_0x2fb0fc?{'f':_0x5dc022,'si':_0x34d439}:{'si':_0x34d439}:{'v':null,'t':null};return[this[_0x3a5fb5(0x2ba)](I[_0x3a5fb5(0x33c)](_0x4fb6b3,_0x379dc6,_0x54ec4b),_0x35bdfd,_0x2139d2)];});}[_0x1141d6(0x338)](_0x3f0065,_0xc3607c,_0x66c594,_0x490268,_0x4bfcd4){const _0xab176d=_0x1141d6;var _0x5bf36c;let _0x2be26e=Me(_0x490268,_0x66c594),_0x41c879=_0x4bfcd4[_0xab176d(0x220)]((_0x3c7fd5,_0x33ae82)=>{var _0x3226f7;return String((_0x3226f7=_0x3c7fd5['id'])==null?_0x2be26e+'\x1f'+_0x33ae82:_0x3226f7);});return[this[_0xab176d(0x2ba)](I['attachmentSet'](_0xc3607c,_0x2be26e),(_0x5bf36c=_0x3f0065[_0xab176d(0x389)])==null||(_0x5bf36c=_0x5bf36c[_0xab176d(0x36c)])==null?void 0x0:_0x5bf36c[_0x2be26e],_0x41c879),..._0x4bfcd4[_0xab176d(0x220)]((_0x1e2d3,_0x258b3c)=>{const _0x254e80=_0xab176d;var _0x1cfe47;let _0x35d160=_0x41c879[_0x258b3c];return this[_0x254e80(0x2ba)](I[_0x254e80(0x3ee)](_0xc3607c,_0x35d160),(_0x1cfe47=_0x3f0065['resources'])==null||(_0x1cfe47=_0x1cfe47[_0x254e80(0x33b)])==null?void 0x0:_0x1cfe47[_0x35d160],{..._0x1e2d3,'id':_0x35d160});})];}[_0x1141d6(0x199)](_0xe33d33,_0x387902,_0x4ab3a2){const _0x250702=_0x1141d6;var _0x3f5b74,_0x500cef;let _0x19ab3a=(_0x3f5b74=(_0x500cef=_0xe33d33[_0x250702(0x389)])==null?void 0x0:_0x500cef[_0x250702(0x36c)])==null?{}:_0x3f5b74,_0x7e3ef0=Object['entries'](_0x19ab3a)[_0x250702(0x385)](([_0x113e80])=>_0x4ab3a2(_0x113e80));if(!_0x7e3ef0[_0x250702(0x3e1)])return[];let _0x1d3aa3=new Set(Object[_0x250702(0x34d)](_0x19ab3a)['filter'](([_0x10dcff])=>!_0x4ab3a2(_0x10dcff))['flatMap'](([,_0x3c4dfc])=>_0x3c4dfc)),_0x14b3fb=new Set(_0x7e3ef0[_0x250702(0x1a8)](([,_0x3831b4])=>_0x3831b4));return[..._0x7e3ef0[_0x250702(0x220)](([_0x5cc54e,_0x4dfee3])=>_0x35e04c[_0x250702(0x301)](I['attachmentSet'](_0x387902,_0x5cc54e),_0x4dfee3)),...Array['from'](_0x14b3fb)[_0x250702(0x1a8)](_0x4f9d5d=>{const _0x17dcef=_0x250702;var _0x5e05c3;let _0x55e459=(_0x5e05c3=_0xe33d33[_0x17dcef(0x389)])==null||(_0x5e05c3=_0x5e05c3[_0x17dcef(0x33b)])==null?void 0x0:_0x5e05c3[_0x4f9d5d];return _0x55e459!==void 0x0&&!_0x1d3aa3[_0x17dcef(0x325)](_0x4f9d5d)?[_0x35e04c[_0x17dcef(0x301)](I[_0x17dcef(0x3ee)](_0x387902,_0x4f9d5d),_0x55e459)]:[];})];}[_0x1141d6(0x2ba)](_0x425890,_0x505949,_0x13d911){const _0x8de4ef=_0x1141d6;return _0x505949===void 0x0?_0x35e04c[_0x8de4ef(0x21e)](_0x425890,_0x13d911):_0x35e04c[_0x8de4ef(0x32c)](_0x425890,_0x505949,_0x13d911);}};function Wt(_0x5650ef,_0xb05050,_0x4200ae){const _0x5dcebd=_0x1141d6;var _0x573085,_0x7ad3d2,_0x4c7541,_0x5ab9eb;let _0x141c9b=(_0x573085=_0x5650ef[_0x5dcebd(0x241)])==null?void 0x0:_0x573085[_0xb05050],_0x1b6e7c=(_0x7ad3d2=_0x5650ef['colIndex'])==null?void 0x0:_0x7ad3d2[_0x4200ae];return _0x141c9b!=null&&_0x1b6e7c!=null&&((_0x4c7541=_0x5650ef[_0x5dcebd(0x378)])==null?void 0x0:_0x4c7541[_0x141c9b])===_0xb05050&&((_0x5ab9eb=_0x5650ef[_0x5dcebd(0x18b)])==null?void 0x0:_0x5ab9eb[_0x1b6e7c])===_0x4200ae&&_0x5650ef['cellData']!=null;}function Gt(_0x2b6c3e,_0x1a2bb8,_0x481da7){const _0x235473=_0x1141d6;var _0x2c270d,_0x96b6b;return((_0x2c270d=_0x2b6c3e[_0x235473(0x378)])==null?void 0x0:_0x2c270d[_0x1a2bb8])!=null&&((_0x96b6b=_0x2b6c3e[_0x235473(0x18b)])==null?void 0x0:_0x96b6b[_0x481da7])!=null&&_0x2b6c3e[_0x235473(0x33c)]!=null;}function Kt(_0x59afdc,_0x1c2541,_0x4d279a){const _0xda88eb=_0x1141d6;let _0x3cc87b=_0x59afdc[_0xda88eb(0x385)](_0x419216=>_0x419216!==_0x1c2541),_0x346d85=_0x4d279a['beforeFieldId']?_0x3cc87b['indexOf'](_0x4d279a[_0xda88eb(0x3d0)]):_0x4d279a[_0xda88eb(0x313)]?_0x3cc87b[_0xda88eb(0x24a)](_0x4d279a['afterFieldId'])+0x1:_0x3cc87b[_0xda88eb(0x3e1)];return _0x3cc87b[_0xda88eb(0x255)](_0x346d85<0x0?_0x3cc87b[_0xda88eb(0x3e1)]:_0x346d85,0x0,_0x1c2541),_0x3cc87b;}function qt(_0x2fffff,_0x4057d0,_0x315a0f){const _0xa660b1=_0x1141d6;let _0x18b8db=_0x2fffff[_0xa660b1(0x385)](_0xaf4335=>_0xaf4335!==_0x4057d0);return _0x18b8db['splice'](Yt(_0x315a0f,_0x18b8db['length']),0x0,_0x4057d0),_0x18b8db;}function Jt(_0xef755d,_0x48a256,_0x1250c3){const _0x26f331=_0x1141d6;if(Array[_0x26f331(0x28a)](_0xef755d))return _0x1250c3===_0x26f331(0x146)?_0xef755d[_0x26f331(0x385)](_0x5b9d91=>_0x5b9d91!==_0x48a256):_0xef755d['flatMap'](_0x89895c=>{const _0x41bfbe=_0x26f331;if(_0x89895c&&typeof _0x89895c=='object'&&!Array[_0x41bfbe(0x28a)](_0x89895c)&&_0x89895c[_0x41bfbe(0x1be)]===_0x48a256)return[];let _0x4a09dc=Jt(_0x89895c,_0x48a256);return _0x4a09dc===void 0x0?[]:[_0x4a09dc];});if(!_0xef755d||typeof _0xef755d!=_0x26f331(0x371))return _0x1250c3!=null&&_0x1250c3[_0x26f331(0x156)](_0x26f331(0x1fc))&&_0xef755d===_0x48a256?void 0x0:_0xef755d;let _0x34813d=_0xef755d;if(_0x34813d[_0x26f331(0x1be)]!==_0x48a256)return Object[_0x26f331(0x176)](Object['entries'](_0x34813d)[_0x26f331(0x1a8)](([_0xd580ea,_0x9b82a4])=>{const _0x4e3558=_0x26f331;if(_0xd580ea===_0x48a256&&_0x1250c3===_0x4e3558(0x3c9))return[];let _0x2e917d=Jt(_0x9b82a4,_0x48a256,_0xd580ea);return _0x2e917d===void 0x0?[]:[[_0xd580ea,_0x2e917d]];}));}function Yt(_0x450f69,_0x594a13){const _0x1be563=_0x1141d6;return Math[_0x1be563(0x248)](0x0,Math[_0x1be563(0x2d8)](_0x450f69,_0x594a13));}function Xt(_0x2465f0,_0x54379c,_0x142a55){const _0x5e6d2d=_0x1141d6;if(!_0x2465f0||!_0x54379c||_0x54379c===_0x142a55)return _0x2465f0;let _0x4e9abf='',_0x262614=!0x1,_0x2382ee=_0x54379c[_0x5e6d2d(0x2ae)]();for(let _0x7f37bb=0x0;_0x7f37bb<_0x2465f0['length'];){let _0x69d1f3=_0x2465f0[_0x7f37bb];if(_0x69d1f3==='\x22'){if(_0x262614&&_0x2465f0[_0x7f37bb+0x1]==='\x22'){_0x4e9abf+='\x22\x22',_0x7f37bb+=0x2;continue;}_0x262614=!_0x262614,_0x4e9abf+=_0x69d1f3,_0x7f37bb++;continue;}if(!_0x262614&&_0x2465f0['slice'](_0x7f37bb,_0x7f37bb+_0x54379c['length'])[_0x5e6d2d(0x2ae)]()===_0x2382ee&&Zt(_0x2465f0,_0x7f37bb,_0x54379c['length'])){_0x4e9abf+=_0x142a55,_0x7f37bb+=_0x54379c[_0x5e6d2d(0x3e1)];continue;}_0x4e9abf+=_0x69d1f3,_0x7f37bb++;}return _0x4e9abf;}function Zt(_0xbf36ed,_0x21e142,_0x27f089){const _0x5116e4=_0x1141d6;var _0x1f096e;let _0x5b5c0b=_0xbf36ed[_0x21e142-0x1];if(_0x5b5c0b&&/[\w.]/[_0x5116e4(0x396)](_0x5b5c0b))return!0x1;let _0x48c4e8=_0x21e142+_0x27f089;for(;/\s/[_0x5116e4(0x396)]((_0x1f096e=_0xbf36ed[_0x48c4e8])==null?'':_0x1f096e);)_0x48c4e8++;return _0xbf36ed[_0x48c4e8]==='[';}function z(_0x135f3a){'@babel/helpers - typeof';const _0x10c6c5=_0x1141d6;return z=typeof Symbol==_0x10c6c5(0x360)&&typeof Symbol[_0x10c6c5(0x34f)]==_0x10c6c5(0x2b4)?function(_0x32d3a1){return typeof _0x32d3a1;}:function(_0x2c694b){const _0x1d2cc9=_0x10c6c5;return _0x2c694b&&typeof Symbol==_0x1d2cc9(0x360)&&_0x2c694b[_0x1d2cc9(0x217)]===Symbol&&_0x2c694b!==Symbol['prototype']?'symbol':typeof _0x2c694b;},z(_0x135f3a);}function Qt(_0x4e51d3,_0x54bb5b){const _0x51f95c=_0x1141d6;if(z(_0x4e51d3)!=_0x51f95c(0x371)||!_0x4e51d3)return _0x4e51d3;var _0x4e47f6=_0x4e51d3[Symbol[_0x51f95c(0x2ab)]];if(_0x4e47f6!==void 0x0){var _0x28249c=_0x4e47f6['call'](_0x4e51d3,_0x54bb5b||_0x51f95c(0x3cf));if(z(_0x28249c)!=_0x51f95c(0x371))return _0x28249c;throw TypeError(_0x51f95c(0x20b));}return(_0x54bb5b===_0x51f95c(0x222)?String:Number)(_0x4e51d3);}function $t(_0x18f0c7){const _0x1a94e0=_0x1141d6;var _0x143076=Qt(_0x18f0c7,_0x1a94e0(0x222));return z(_0x143076)==_0x1a94e0(0x2b4)?_0x143076:_0x143076+'';}function B(_0x2815a2,_0x3ebc0f,_0x163c04){return(_0x3ebc0f=$t(_0x3ebc0f))in _0x2815a2?Object['defineProperty'](_0x2815a2,_0x3ebc0f,{'value':_0x163c04,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2815a2[_0x3ebc0f]=_0x163c04,_0x2815a2;}const en=_0x5a5c3d(_0x1141d6(0x178));var tn=class extends _0x2d3cca{constructor(..._0xacce2e){const _0xa4f4f4=_0x1141d6;super(..._0xacce2e),B(this,_0xa4f4f4(0x1d0),new Map());}[_0x1141d6(0x1ea)](_0x502992){const _0x4c48f1=_0x1141d6;return this[_0x4c48f1(0x1d0)][_0x4c48f1(0x353)](_0x502992['type'],_0x502992),_0x43f94b(()=>this[_0x4c48f1(0x1d0)]['delete'](_0x502992[_0x4c48f1(0x157)]));}[_0x1141d6(0x13c)](_0x446f2a){const _0x2c8814=_0x1141d6;let _0x2d807c=this[_0x2c8814(0x1d0)][_0x2c8814(0x13c)](_0x446f2a);if(!_0x2d807c)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x446f2a+_0x2c8814(0x2e7));return _0x2d807c;}[_0x1141d6(0x296)](_0x1c42f6){const _0x157124=_0x1141d6;return this[_0x157124(0x1d0)][_0x157124(0x13c)](_0x1c42f6);}[_0x1141d6(0x2b7)](){const _0x4bcf1b=_0x1141d6;return Array['from'](this[_0x4bcf1b(0x1d0)][_0x4bcf1b(0x3aa)]());}};const nn=_0x5a5c3d('base.permission.service');var rn=class{constructor(){const _0x387565=_0x1141d6;B(this,_0x387565(0x348),new Map()),B(this,'_tablePermissions',new Map()),B(this,'_fieldPermissions',new Map()),B(this,'_recordPermissions',new Map());}[_0x1141d6(0x37d)](_0x1bf31e){const _0x56c05d=_0x1141d6;var _0x164a7a,_0x40ff5d;return(_0x164a7a=(_0x40ff5d=this[_0x56c05d(0x348)]['get'](_0x1bf31e))==null?void 0x0:_0x40ff5d[_0x56c05d(0x35b)])==null?!0x0:_0x164a7a;}['canDeleteTable'](_0x3fc70f){const _0x1eeef2=_0x1141d6;var _0x3e7f60,_0x29e2bd;return(_0x3e7f60=(_0x29e2bd=this[_0x1eeef2(0x327)][_0x1eeef2(0x13c)](_0x3fc70f))==null?void 0x0:_0x29e2bd['delete'])==null?!0x0:_0x3e7f60;}['canCreateField'](_0x37a529){const _0x5bbe55=_0x1141d6;var _0x25c93c,_0x1e3bbd;return(_0x25c93c=(_0x1e3bbd=this[_0x5bbe55(0x327)]['get'](_0x37a529))==null?void 0x0:_0x1e3bbd[_0x5bbe55(0x14e)])==null?!0x0:_0x25c93c;}[_0x1141d6(0x257)](_0x2d9839,_0x5695ad){const _0x28dada=_0x1141d6;var _0x1b2ca0,_0x43ea55;return(_0x1b2ca0=(_0x43ea55=this[_0x28dada(0x13d)][_0x28dada(0x13c)](V(_0x2d9839,_0x5695ad)))==null?void 0x0:_0x43ea55[_0x28dada(0x195)])==null?!0x0:_0x1b2ca0;}[_0x1141d6(0x339)](_0x12667b,_0x571fe7){const _0x39d346=_0x1141d6;var _0x18134f,_0x4b9214;return(_0x18134f=(_0x4b9214=this[_0x39d346(0x13d)][_0x39d346(0x13c)](V(_0x12667b,_0x571fe7)))==null?void 0x0:_0x4b9214['delete'])==null?!0x0:_0x18134f;}[_0x1141d6(0x27c)](_0x910d8e){const _0x494dea=_0x1141d6;var _0x26915e,_0x4ca6b1;return(_0x26915e=(_0x4ca6b1=this[_0x494dea(0x327)][_0x494dea(0x13c)](_0x910d8e))==null?void 0x0:_0x4ca6b1[_0x494dea(0x337)])==null?!0x0:_0x26915e;}[_0x1141d6(0x3a3)](_0x2bfff6,_0x3ebb9c){const _0x1a0d31=_0x1141d6;var _0x3b2679,_0x48bcbc;return(_0x3b2679=(_0x48bcbc=this[_0x1a0d31(0x368)][_0x1a0d31(0x13c)](an(_0x2bfff6,_0x3ebb9c)))==null?void 0x0:_0x48bcbc['delete'])==null?!0x0:_0x3b2679;}[_0x1141d6(0x2bf)](_0x2405c6,_0x23c0d0,_0x37c106){const _0x4a2612=_0x1141d6;var _0x4fba84,_0x2090ab,_0x51673b,_0x1a72eb;let _0x1eca3b=this[_0x4a2612(0x13d)][_0x4a2612(0x13c)](V(_0x2405c6,_0x37c106));return((_0x4fba84=(_0x2090ab=this[_0x4a2612(0x368)][_0x4a2612(0x13c)](an(_0x2405c6,_0x23c0d0)))==null?void 0x0:_0x2090ab[_0x4a2612(0x3db)])==null?!0x0:_0x4fba84)&&((_0x51673b=_0x1eca3b==null?void 0x0:_0x1eca3b[_0x4a2612(0x195)])==null?!0x0:_0x51673b)&&((_0x1a72eb=_0x1eca3b==null?void 0x0:_0x1eca3b[_0x4a2612(0x3db)])==null?!0x0:_0x1a72eb);}[_0x1141d6(0x184)](_0x451351){const _0x1e5c6e=_0x1141d6;var _0x29a80d,_0x13deae;return(_0x29a80d=(_0x13deae=this[_0x1e5c6e(0x327)][_0x1e5c6e(0x13c)](_0x451351))==null?void 0x0:_0x13deae[_0x1e5c6e(0x2ef)])==null?!0x0:_0x29a80d;}[_0x1141d6(0x30b)](_0x11f323,_0x52301f){const _0x2507d9=_0x1141d6;this[_0x2507d9(0x348)][_0x2507d9(0x353)](_0x11f323,{...this[_0x2507d9(0x348)][_0x2507d9(0x13c)](_0x11f323),..._0x52301f});}[_0x1141d6(0x2d1)](_0x58982a,_0x243258){const _0x368179=_0x1141d6;this[_0x368179(0x327)]['set'](_0x58982a,{...this[_0x368179(0x327)][_0x368179(0x13c)](_0x58982a),..._0x243258});}[_0x1141d6(0x1ac)](_0x11c61d,_0x22b92d,_0x4477e4){const _0x18a750=_0x1141d6;let _0x3c0b99=V(_0x11c61d,_0x22b92d);this[_0x18a750(0x13d)][_0x18a750(0x353)](_0x3c0b99,{...this[_0x18a750(0x13d)][_0x18a750(0x13c)](_0x3c0b99),..._0x4477e4});}[_0x1141d6(0x2b0)](_0x40f59d,_0x596300,_0x9efaa){const _0x5b7b11=_0x1141d6;let _0x5ae39d=an(_0x40f59d,_0x596300);this[_0x5b7b11(0x368)]['set'](_0x5ae39d,{...this['_recordPermissions']['get'](_0x5ae39d),..._0x9efaa});}['clearBasePermission'](_0x44b365){const _0x492cbe=_0x1141d6;this[_0x492cbe(0x348)][_0x492cbe(0x32f)](_0x44b365);}[_0x1141d6(0x245)](_0x783ea9){const _0x7cde3b=_0x1141d6;this[_0x7cde3b(0x327)]['delete'](_0x783ea9);}[_0x1141d6(0x14c)](_0x22cb3c,_0xbbfa47){const _0x1c0ea0=_0x1141d6;this[_0x1c0ea0(0x13d)][_0x1c0ea0(0x32f)](V(_0x22cb3c,_0xbbfa47));}['clearRecordPermission'](_0x51ec40,_0x451ee6){const _0x58d7da=_0x1141d6;this[_0x58d7da(0x368)][_0x58d7da(0x32f)](an(_0x51ec40,_0x451ee6));}['getSnapshot'](){const _0xe70c73=_0x1141d6;return{'bases':Object['fromEntries'](this[_0xe70c73(0x348)]),'tables':Object[_0xe70c73(0x176)](this[_0xe70c73(0x327)]),'fields':Object[_0xe70c73(0x176)](this[_0xe70c73(0x13d)]),'records':Object[_0xe70c73(0x176)](this[_0xe70c73(0x368)])};}};function V(_0x9c86ec,_0x470751){return _0x9c86ec+'\x1f'+_0x470751;}function an(_0x45fb2e,_0x73bd27){return _0x45fb2e+'\x1f'+_0x73bd27;}function H(_0x5dad34,_0x422698){return function(_0x480794,_0x495485){_0x422698(_0x480794,_0x495485,_0x5dad34);};}function U(_0x2ecef9,_0x5e199c,_0x204032,_0x127aa9){const _0x3d7cd5=_0x1141d6;var _0x12c17b=arguments[_0x3d7cd5(0x3e1)],_0x406ba8=_0x12c17b<0x3?_0x5e199c:_0x127aa9===null?_0x127aa9=Object[_0x3d7cd5(0x223)](_0x5e199c,_0x204032):_0x127aa9,_0x8a90e6;if(typeof Reflect==_0x3d7cd5(0x371)&&typeof Reflect['decorate']=='function')_0x406ba8=Reflect[_0x3d7cd5(0x3e2)](_0x2ecef9,_0x5e199c,_0x204032,_0x127aa9);else{for(var _0x50d996=_0x2ecef9['length']-0x1;_0x50d996>=0x0;_0x50d996--)(_0x8a90e6=_0x2ecef9[_0x50d996])&&(_0x406ba8=(_0x12c17b<0x3?_0x8a90e6(_0x406ba8):_0x12c17b>0x3?_0x8a90e6(_0x5e199c,_0x204032,_0x406ba8):_0x8a90e6(_0x5e199c,_0x204032))||_0x406ba8);}return _0x12c17b>0x3&&_0x406ba8&&Object[_0x3d7cd5(0x230)](_0x5e199c,_0x204032,_0x406ba8),_0x406ba8;}const W=_0x5a5c3d(_0x1141d6(0x379));let on=class{constructor(_0x5846d4,_0x47a89b=sn(),_0x28e658={}){const _0x1b43ea=_0x1141d6;this[_0x1b43ea(0x310)]=_0x5846d4,this[_0x1b43ea(0x2c4)]=_0x47a89b,this[_0x1b43ea(0x3cb)]=_0x28e658,B(this,_0x1b43ea(0x357),new R()),B(this,_0x1b43ea(0x3d7),new A());}[_0x1141d6(0x35b)](_0xb26bba,_0x5363bc,_0x14a617){const _0x33aa6f=_0x1141d6;if(!this[_0x33aa6f(0x310)][_0x33aa6f(0x37d)](_0xb26bba[_0x33aa6f(0x3d8)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this['_apply'](_0xb26bba,this[_0x33aa6f(0x357)]['createTable'](_0xb26bba['getSnapshot'](),_0x5363bc,_0x14a617));}['renameTable'](_0x358971,_0x3f0eee,_0x12382d){const _0x95f76a=_0x1141d6;this[_0x95f76a(0x28d)](_0x358971,this[_0x95f76a(0x357)][_0x95f76a(0x38a)](_0x358971[_0x95f76a(0x2a8)](),_0x3f0eee,_0x12382d));}[_0x1141d6(0x251)](_0x5414d7,_0x489c94){const _0x314c95=_0x1141d6;if(!this[_0x314c95(0x310)][_0x314c95(0x17b)](_0x489c94))throw Error(_0x314c95(0x349));this[_0x314c95(0x28d)](_0x5414d7,this[_0x314c95(0x357)]['deleteTable'](_0x5414d7[_0x314c95(0x2a8)](),_0x489c94));}[_0x1141d6(0x2e6)](_0x540f71,_0x4e9189,_0x249a13,_0x100f93,_0x20c863){const _0x1652e3=_0x1141d6;this[_0x1652e3(0x28d)](_0x540f71,this[_0x1652e3(0x2d9)](_0x540f71,_0x4e9189,_0x249a13,_0x100f93,_0x20c863));}[_0x1141d6(0x250)](_0xb82d92,_0x4b3216,_0x196925){const _0x4e74a6=_0x1141d6;this[_0x4e74a6(0x28d)](_0xb82d92,this[_0x4e74a6(0x2c2)](_0xb82d92,_0x4b3216,_0x196925));}[_0x1141d6(0x337)](_0x46b587,_0x548a4b,_0x4bf372){const _0x43090d=_0x1141d6;this[_0x43090d(0x28d)](_0x46b587,this[_0x43090d(0x2b9)](_0x46b587,_0x548a4b,_0x4bf372));}[_0x1141d6(0x2d9)](_0x101f2f,_0xe38bcb,_0x48fe48,_0x24e307,_0x8abc5e){const _0x5dd24e=_0x1141d6;let _0xd80739=_0x101f2f[_0x5dd24e(0x2a8)](),_0x293c29=this[_0x5dd24e(0x383)](_0xd80739,_0xe38bcb,_0x48fe48,_0x24e307,_0x8abc5e),_0x317429=this['_withModifiedSystemValues'](_0xd80739,_0xe38bcb,_0x48fe48,{[_0x24e307]:_0x293c29});return this[_0x5dd24e(0x357)][_0x5dd24e(0x250)](_0xd80739,_0xe38bcb,[_0x317429]);}[_0x1141d6(0x2c2)](_0x176e90,_0x2b3748,_0x1f7996){const _0x5b11c7=_0x1141d6;let _0x3fb213=_0x176e90[_0x5b11c7(0x2a8)](),_0x2e9faf=_0x1f7996[_0x5b11c7(0x220)](_0x497080=>this[_0x5b11c7(0x29c)](_0x3fb213,_0x2b3748,_0x497080['recordId'],{...Object[_0x5b11c7(0x176)](Object[_0x5b11c7(0x34d)](_0x497080['values'])['map'](([_0x3ea80f,_0x1b369f])=>[_0x3ea80f,this[_0x5b11c7(0x383)](_0x3fb213,_0x2b3748,_0x497080[_0x5b11c7(0x201)],_0x3ea80f,_0x1b369f)]))}));return this[_0x5b11c7(0x357)][_0x5b11c7(0x250)](_0x3fb213,_0x2b3748,_0x2e9faf);}[_0x1141d6(0x2b9)](_0x248ffe,_0xed306a,_0x39fd7e){const _0x3f275b=_0x1141d6;if(!this['_permissionService'][_0x3f275b(0x27c)](_0xed306a))throw Error(_0x3f275b(0x26d));let _0x5ed77f=_0x248ffe[_0x3f275b(0x2a8)](),_0x5a5569=this['_createNumberingAllocators'](_0x5ed77f[_0x3f275b(0x407)][_0xed306a]);return this[_0x3f275b(0x357)][_0x3f275b(0x337)](_0x5ed77f,_0xed306a,this[_0x3f275b(0x159)](_0x5ed77f,_0xed306a,_0x39fd7e,_0x5a5569));}[_0x1141d6(0x3fb)](_0x529189,_0x2c29f8,_0x26d8e8){const _0x33cad8=_0x1141d6;if(!this[_0x33cad8(0x310)][_0x33cad8(0x27c)](_0x2c29f8))throw Error(_0x33cad8(0x26d));let _0x5c3039=_0x529189[_0x33cad8(0x2a8)](),_0x3c1181=this[_0x33cad8(0x179)](_0x5c3039['tables'][_0x2c29f8]);return this[_0x33cad8(0x357)][_0x33cad8(0x169)](_0x5c3039,_0x2c29f8,_0x26d8e8[_0x33cad8(0x220)](_0x3f5536=>this[_0x33cad8(0x159)](_0x5c3039,_0x2c29f8,_0x3f5536,_0x3c1181)));}[_0x1141d6(0x143)](_0x7adb0e,_0x1d3533,_0x2a328c,_0x3d5270,_0x4ed790){const _0x4ec5a9=_0x1141d6;if(!this[_0x4ec5a9(0x310)][_0x4ec5a9(0x363)](_0x1d3533))throw Error(_0x4ec5a9(0x279));let _0x1bb88b=_0x7adb0e[_0x4ec5a9(0x2a8)](),_0x327c28=this[_0x4ec5a9(0x357)][_0x4ec5a9(0x14e)](_0x1bb88b,_0x1d3533,{'field':_0x2a328c,'index':_0x3d5270,'viewIndexes':_0x4ed790}),_0x340675=this[_0x4ec5a9(0x3bf)](_0x1bb88b,_0x1d3533,_0x2a328c);if(!_0x340675[_0x4ec5a9(0x3e1)])return _0x327c28;let _0x5a4f81=this[_0x4ec5a9(0x3d7)][_0x4ec5a9(0x35c)](_0x1bb88b,_0x327c28);return L([_0x327c28,this['_factory'][_0x4ec5a9(0x250)](_0x5a4f81,_0x1d3533,_0x340675)]);}[_0x1141d6(0x3af)](_0x59b5f0,_0x183732,_0x1bda5a){const _0x455e27=_0x1141d6;if(!this[_0x455e27(0x310)][_0x455e27(0x3a3)](_0x183732,_0x1bda5a))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x455e27(0x28d)](_0x59b5f0,this[_0x455e27(0x357)][_0x455e27(0x3af)](_0x59b5f0[_0x455e27(0x2a8)](),_0x183732,_0x1bda5a));}[_0x1141d6(0x3fa)](_0x3c4ca9,_0x58ebd7,_0x5214fa,_0x2bb112){const _0xdb9209=_0x1141d6;this[_0xdb9209(0x28d)](_0x3c4ca9,this['_factory']['duplicateRecord'](_0x3c4ca9[_0xdb9209(0x2a8)](),_0x58ebd7,_0x5214fa,_0x2bb112));}['updateRecordOrder'](_0x543656,_0x581df3,_0x4d8923,_0x236838){const _0x52d752=_0x1141d6;this['_apply'](_0x543656,this[_0x52d752(0x357)][_0x52d752(0x297)](_0x543656[_0x52d752(0x2a8)](),_0x581df3,_0x4d8923,_0x236838));}['createField'](_0x1f1968,_0x246105,_0x2453ce,_0x199fff,_0x35e73a){this['_apply'](_0x1f1968,this['createCreateFieldOp'](_0x1f1968,_0x246105,_0x2453ce,_0x199fff,_0x35e73a));}['updateField'](_0x5c8f55,_0x20d19a,_0x4a630c,_0x284058){const _0x3531ad=_0x1141d6;if(!this[_0x3531ad(0x310)]['canEditField'](_0x20d19a,_0x4a630c))throw Error(_0x3531ad(0x242));this[_0x3531ad(0x28d)](_0x5c8f55,this[_0x3531ad(0x357)][_0x3531ad(0x33e)](_0x5c8f55[_0x3531ad(0x2a8)](),_0x20d19a,_0x4a630c,_0x284058));}[_0x1141d6(0x33f)](_0x43ee69,_0x28782b,_0x1dc07e,_0x58dc1b){const _0x57f3ff=_0x1141d6;if(!this[_0x57f3ff(0x310)][_0x57f3ff(0x257)](_0x28782b,_0x1dc07e))throw Error(_0x57f3ff(0x242));this['_apply'](_0x43ee69,this[_0x57f3ff(0x357)][_0x57f3ff(0x33f)](_0x43ee69[_0x57f3ff(0x2a8)](),_0x28782b,_0x1dc07e,_0x58dc1b));}['deleteField'](_0x84eeb,_0x41209b,_0x1ba1c0){const _0x3e13e9=_0x1141d6;var _0x1613af;if(((_0x1613af=_0x84eeb[_0x3e13e9(0x2a8)]()[_0x3e13e9(0x407)][_0x41209b])==null?void 0x0:_0x1613af[_0x3e13e9(0x3a0)])===_0x1ba1c0)throw Error(_0x3e13e9(0x21a));if(!this[_0x3e13e9(0x310)][_0x3e13e9(0x339)](_0x41209b,_0x1ba1c0))throw Error(_0x3e13e9(0x34e));this[_0x3e13e9(0x28d)](_0x84eeb,this[_0x3e13e9(0x357)][_0x3e13e9(0x373)](_0x84eeb[_0x3e13e9(0x2a8)](),_0x41209b,_0x1ba1c0));}[_0x1141d6(0x149)](_0x130f27,_0x352bbe,_0x37b5b1,_0x5cc9a4){const _0x3cff18=_0x1141d6;if(!this[_0x3cff18(0x310)][_0x3cff18(0x257)](_0x352bbe,_0x37b5b1))throw Error(_0x3cff18(0x242));this[_0x3cff18(0x28d)](_0x130f27,this[_0x3cff18(0x357)][_0x3cff18(0x149)](_0x130f27['getSnapshot'](),_0x352bbe,_0x37b5b1,_0x5cc9a4));}[_0x1141d6(0x367)](_0x1fa012,_0xc20e6,_0x303b77,_0x141fa1){const _0x44e1ed=_0x1141d6;this[_0x44e1ed(0x28d)](_0x1fa012,this[_0x44e1ed(0x357)][_0x44e1ed(0x367)](_0x1fa012[_0x44e1ed(0x2a8)](),_0xc20e6,_0x303b77,_0x141fa1));}[_0x1141d6(0x2d2)](_0x2d288a,_0x241d7b,_0x31e1e3,_0x4e5806){const _0x685fc4=_0x1141d6;if(!this['_permissionService'][_0x685fc4(0x184)](_0x241d7b,_0x31e1e3))throw Error(_0x685fc4(0x16b));this[_0x685fc4(0x28d)](_0x2d288a,this[_0x685fc4(0x357)][_0x685fc4(0x2d2)](_0x2d288a[_0x685fc4(0x2a8)](),_0x241d7b,_0x31e1e3,_0x4e5806));}[_0x1141d6(0x1fa)](_0x4197db,_0x4b043d,_0x5bf434){const _0x16fabd=_0x1141d6;if(!this['_permissionService']['canManageView'](_0x4b043d,_0x5bf434))throw Error(_0x16fabd(0x16b));this[_0x16fabd(0x28d)](_0x4197db,this[_0x16fabd(0x357)][_0x16fabd(0x1fa)](_0x4197db[_0x16fabd(0x2a8)](),_0x4b043d,_0x5bf434));}[_0x1141d6(0x2f1)](_0x3d7edf,_0x48a85f,_0x3ae001,_0x1f6c02){const _0x13d270=_0x1141d6;if(!this[_0x13d270(0x310)][_0x13d270(0x184)](_0x48a85f,_0x3ae001))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x13d270(0x28d)](_0x3d7edf,this[_0x13d270(0x357)][_0x13d270(0x2f1)](_0x3d7edf[_0x13d270(0x2a8)](),_0x48a85f,_0x3ae001,_0x1f6c02));}['updateViewConfig'](_0x5df53e,_0x412951,_0xa9acdf,_0x15c713){const _0x19d4e6=_0x1141d6;if(!this['_permissionService'][_0x19d4e6(0x184)](_0x412951,_0xa9acdf))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x19d4e6(0x28d)](_0x5df53e,this[_0x19d4e6(0x357)]['updateViewConfig'](_0x5df53e[_0x19d4e6(0x2a8)](),_0x412951,_0xa9acdf,_0x15c713));}[_0x1141d6(0x30f)](_0x475896,_0x4c6741,_0x424849,_0x1e5160){const _0x106ac7=_0x1141d6;this[_0x106ac7(0x28d)](_0x475896,this[_0x106ac7(0x357)]['setViewFilter'](_0x475896['getSnapshot'](),_0x4c6741,_0x424849,_0x1e5160));}[_0x1141d6(0x27e)](_0xf73949,_0x4e2375,_0x4a6a7f,_0x577e87){const _0x2bd979=_0x1141d6;this['_apply'](_0xf73949,this['_factory'][_0x2bd979(0x27e)](_0xf73949['getSnapshot'](),_0x4e2375,_0x4a6a7f,_0x577e87));}[_0x1141d6(0x3f9)](_0x321f3f,_0x302581,_0x194ea8,_0x45c145){const _0x45c9b0=_0x1141d6;this[_0x45c9b0(0x28d)](_0x321f3f,this[_0x45c9b0(0x357)][_0x45c9b0(0x3f9)](_0x321f3f[_0x45c9b0(0x2a8)](),_0x302581,_0x194ea8,_0x45c145));}[_0x1141d6(0x3e4)](_0x467f66,_0xb20773,_0x2c54f2,_0x288d27,_0x4d7fd8){const _0x172d8f=_0x1141d6;if(!this['_permissionService'][_0x172d8f(0x184)](_0xb20773,_0x2c54f2))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x172d8f(0x28d)](_0x467f66,this[_0x172d8f(0x357)]['setViewFieldVisible'](_0x467f66[_0x172d8f(0x2a8)](),_0xb20773,_0x2c54f2,_0x288d27,_0x4d7fd8));}[_0x1141d6(0x2d5)](_0x14a717,_0x2ed7b3,_0x2a83d8,_0x136e34,_0x3f1317){const _0x346818=_0x1141d6;this[_0x346818(0x28d)](_0x14a717,this[_0x346818(0x357)][_0x346818(0x2d5)](_0x14a717[_0x346818(0x2a8)](),_0x2ed7b3,_0x2a83d8,_0x136e34,_0x3f1317));}[_0x1141d6(0x14d)](_0x12b7e2,_0x242677,_0x177ab4,_0x4cdbe8,_0x493391){const _0x5bdfb9=_0x1141d6;this[_0x5bdfb9(0x28d)](_0x12b7e2,this[_0x5bdfb9(0x357)]['setViewFieldOrder'](_0x12b7e2['getSnapshot'](),_0x242677,_0x177ab4,_0x4cdbe8,_0x493391));}[_0x1141d6(0x28d)](_0x547ae8,_0x2bdf90){const _0x31c87a=_0x1141d6;let _0x1e6a86=_0x547ae8[_0x31c87a(0x2a8)]();_0x547ae8[_0x31c87a(0x2e9)](this['_applier'][_0x31c87a(0x35c)](_0x1e6a86,_0x2bdf90));}[_0x1141d6(0x159)](_0x1c7506,_0x2764cc,_0x54d563,_0x5d4f96=this[_0x1141d6(0x179)](_0x1c7506[_0x1141d6(0x407)][_0x2764cc])){const _0x5abf8d=_0x1141d6;var _0x500fcb,_0x212d51,_0x57b2f3,_0x4ff590;let _0x3c1357=_0x1c7506['tables'][_0x2764cc],_0x3e9ca5=(_0x500fcb=(_0x212d51=_0x54d563['createdBy'])==null?_0x54d563[_0x5abf8d(0x213)]:_0x212d51)==null?this['_getCurrentUserId']():_0x500fcb,_0x4a3460={..._0x54d563,'createdBy':(_0x57b2f3=_0x54d563[_0x5abf8d(0x3df)])==null?_0x3e9ca5:_0x57b2f3,'updatedBy':(_0x4ff590=_0x54d563['updatedBy'])==null?_0x3e9ca5:_0x4ff590,'values':{..._0x54d563['values']}};return _0x3c1357[_0x5abf8d(0x2ad)]['forEach'](_0x588230=>{const _0x5b4b52=_0x5abf8d;let _0x5f5d82=_0x3c1357['fields'][_0x588230];if(!(!_0x5f5d82||_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]!==void 0x0))switch(_0x5f5d82[_0x5b4b52(0x157)]){case _0x1b662f[_0x5b4b52(0x2a4)]:var _0x48862e,_0x32e7a8;_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=(_0x48862e=(_0x32e7a8=_0x5d4f96[_0x5b4b52(0x13c)](_0x588230))==null?void 0x0:_0x32e7a8())==null?this[_0x5b4b52(0x22e)](_0x3c1357,_0x588230)():_0x48862e;break;case _0x1b662f['CreatedBy']:_0x4a3460[_0x5b4b52(0x3df)]&&(_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=_0x4a3460[_0x5b4b52(0x3df)]);break;case _0x1b662f[_0x5b4b52(0x229)]:_0x4a3460[_0x5b4b52(0x213)]&&(_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=_0x4a3460['updatedBy']);break;case _0x1b662f[_0x5b4b52(0x2db)]:_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=j(_0x4a3460[_0x5b4b52(0x406)]);break;case _0x1b662f[_0x5b4b52(0x25a)]:_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=j(_0x4a3460[_0x5b4b52(0x3b9)]);break;default:{let _0x4b9a2d=_0x5f5d82[_0x5b4b52(0x364)];_0x4b9a2d!=null&&_0x4b9a2d!==''&&!(Array['isArray'](_0x4b9a2d)&&_0x4b9a2d[_0x5b4b52(0x3e1)]===0x0)&&(_0x4a3460['values'][_0x588230]=_0x4b9a2d);}}}),_0x4a3460;}[_0x1141d6(0x29c)](_0x163f4b,_0x2a12e7,_0x312a55,_0x538480){const _0x1997d0=_0x1141d6;var _0x279d71,_0x431ba9,_0x1d384d;let _0x46ba07=_0x163f4b['tables'][_0x2a12e7],_0x698a9e=(_0x279d71=(_0x431ba9=(_0x1d384d=this['_runtimeContext'])[_0x1997d0(0x284)])==null?void 0x0:_0x431ba9[_0x1997d0(0x231)](_0x1d384d))==null?Date['now']():_0x279d71,_0x1448eb=this[_0x1997d0(0x1a2)](),_0xea5304={..._0x538480};return _0x46ba07['fieldOrder'][_0x1997d0(0x2e8)](_0x3b89c1=>{const _0x191634=_0x1997d0;let _0x17cc6c=_0x46ba07[_0x191634(0x2e2)][_0x3b89c1];_0x17cc6c&&(_0x17cc6c[_0x191634(0x157)]===_0x1b662f[_0x191634(0x25a)]&&(_0xea5304[_0x3b89c1]=j(_0x698a9e)),_0x17cc6c[_0x191634(0x157)]===_0x1b662f[_0x191634(0x229)]&&_0x1448eb&&(_0xea5304[_0x3b89c1]=_0x1448eb));}),{'recordId':_0x312a55,'values':_0xea5304,'recordPatch':{'updatedAt':_0x698a9e,..._0x1448eb?{'updatedBy':_0x1448eb}:{}}};}[_0x1141d6(0x3bf)](_0x459bfc,_0x290e96,_0x1c6b5b){const _0x47c8f7=_0x1141d6;let _0x56705f=_0x459bfc[_0x47c8f7(0x407)][_0x290e96];return!_0x56705f||!cn(_0x1c6b5b)?[]:_0x1c6b5b[_0x47c8f7(0x157)]===_0x1b662f['Numbering']?this['_createNumberingFieldValuePatches'](_0x56705f,_0x1c6b5b['id']):Object[_0x47c8f7(0x3aa)](_0x56705f[_0x47c8f7(0x162)])[_0x47c8f7(0x1a8)](_0x121092=>{const _0x46b975=_0x47c8f7;let _0x2b1dc1=this[_0x46b975(0x1f4)](_0x1c6b5b,_0x121092);return _0x2b1dc1===void 0x0?[]:[{'recordId':_0x121092['id'],'values':{[_0x1c6b5b['id']]:_0x2b1dc1}}];});}[_0x1141d6(0x1f4)](_0x549048,_0x33abad){const _0x1b9e30=_0x1141d6;switch(_0x549048[_0x1b9e30(0x157)]){case _0x1b662f[_0x1b9e30(0x352)]:var _0x4e4a74;return(_0x4e4a74=_0x33abad[_0x1b9e30(0x3df)])==null?this[_0x1b9e30(0x1a2)]():_0x4e4a74;case _0x1b662f[_0x1b9e30(0x229)]:var _0x2bb16a;return(_0x2bb16a=_0x33abad[_0x1b9e30(0x213)])==null?this[_0x1b9e30(0x1a2)]():_0x2bb16a;case _0x1b662f[_0x1b9e30(0x2db)]:var _0x2451f6;return j((_0x2451f6=_0x33abad['createdAt'])==null?Date[_0x1b9e30(0x284)]():_0x2451f6);case _0x1b662f[_0x1b9e30(0x25a)]:var _0x23585d;return j((_0x23585d=_0x33abad[_0x1b9e30(0x3b9)])==null?Date[_0x1b9e30(0x284)]():_0x23585d);default:return;}}[_0x1141d6(0x179)](_0xc6ed3f){const _0x2f0605=_0x1141d6;let _0x45f000=new Map();return _0xc6ed3f&&_0xc6ed3f[_0x2f0605(0x2ad)][_0x2f0605(0x2e8)](_0x5d6eec=>{const _0x9d5ce1=_0x2f0605;let _0x2ec328=_0xc6ed3f['fields'][_0x5d6eec];(_0x2ec328==null?void 0x0:_0x2ec328['type'])===_0x1b662f[_0x9d5ce1(0x2a4)]&&_0x45f000[_0x9d5ce1(0x353)](_0x5d6eec,this[_0x9d5ce1(0x22e)](_0xc6ed3f,_0x5d6eec));}),_0x45f000;}[_0x1141d6(0x22e)](_0x276bc0,_0x4e91b2){const _0x4beec4=_0x1141d6;let _0x408bc9=Object[_0x4beec4(0x3aa)](_0x276bc0[_0x4beec4(0x162)])[_0x4beec4(0x376)]((_0x4fc5a3,_0x5bc8eb)=>{const _0x44d994=_0x4beec4;let _0x403acb=Number(_0x5bc8eb[_0x44d994(0x3aa)][_0x4e91b2]);return Number[_0x44d994(0x259)](_0x403acb)?Math[_0x44d994(0x248)](_0x4fc5a3,_0x403acb):_0x4fc5a3;},0x0);return()=>String(++_0x408bc9);}[_0x1141d6(0x2f4)](_0x48fde3,_0x386ed7){const _0x4b2c98=_0x1141d6;let _0x4dee83=this[_0x4b2c98(0x1c6)](_0x48fde3),_0x99381=this[_0x4b2c98(0x22e)](_0x48fde3,_0x386ed7);return _0x4dee83['flatMap'](_0x4300c8=>this[_0x4b2c98(0x30e)](_0x4300c8[_0x4b2c98(0x3aa)][_0x386ed7])?[]:[{'recordId':_0x4300c8['id'],'values':{[_0x386ed7]:_0x99381()}}]);}[_0x1141d6(0x1c6)](_0x254e68){const _0x32c5bf=_0x1141d6;var _0x3f858a;let _0x5036a0=Object[_0x32c5bf(0x3aa)](_0x254e68[_0x32c5bf(0x162)]),_0x13b7d0=new Map(_0x5036a0[_0x32c5bf(0x220)](_0x13a0c3=>[_0x13a0c3['id'],_0x13a0c3])),_0xb46c47=[],_0xc8098d=new Set();(_0x3f858a=_0x254e68[_0x32c5bf(0x19d)])==null||_0x3f858a[_0x32c5bf(0x2e8)](_0x2edfc7=>{const _0x20906a=_0x32c5bf;let _0x3d07f2=_0x13b7d0['get'](_0x2edfc7);_0x3d07f2&&(_0xb46c47['push'](_0x3d07f2),_0xc8098d[_0x20906a(0x1e2)](_0x2edfc7));});let _0x5d703c=_0x5036a0[_0x32c5bf(0x385)](_0x10e374=>!_0xc8098d[_0x32c5bf(0x325)](_0x10e374['id']))[_0x32c5bf(0x3b6)]((_0x245c5f,_0x1d3f16)=>{const _0xf005d0=_0x32c5bf;var _0x42116e,_0x49a8b4;return String((_0x42116e=_0x245c5f[_0xf005d0(0x2c0)])==null?_0x245c5f['id']:_0x42116e)['localeCompare'](String((_0x49a8b4=_0x1d3f16[_0xf005d0(0x2c0)])==null?_0x1d3f16['id']:_0x49a8b4))||_0x245c5f['id'][_0xf005d0(0x1a0)](_0x1d3f16['id']);});return[..._0xb46c47,..._0x5d703c];}[_0x1141d6(0x30e)](_0x13a7d0){const _0x102db3=_0x1141d6;return _0x13a7d0!=null&&_0x13a7d0!==''&&!(Array[_0x102db3(0x28a)](_0x13a7d0)&&_0x13a7d0['length']===0x0);}['_getCurrentUserId'](){const _0x50c118=_0x1141d6;var _0x3c1a85,_0x33c693,_0x4b3f63,_0x2ef0db,_0x13312f,_0x262712;return(_0x3c1a85=(_0x33c693=(_0x4b3f63=(_0x2ef0db=this[_0x50c118(0x3cb)])[_0x50c118(0x13e)])==null?void 0x0:_0x4b3f63[_0x50c118(0x231)](_0x2ef0db))==null?(_0x13312f=(_0x262712=this[_0x50c118(0x3cb)])['getCurrentUser'])==null||(_0x13312f=_0x13312f[_0x50c118(0x231)](_0x262712))==null?void 0x0:_0x13312f[_0x50c118(0x263)]:_0x33c693)==null?void 0x0:_0x3c1a85;}['_normalizeCellValue'](_0xee533c,_0x5e897a,_0x217667,_0x6c82d,_0x1d9c50){const _0x246c9a=_0x1141d6;var _0x39d5fa;if(!this[_0x246c9a(0x310)][_0x246c9a(0x2bf)](_0x5e897a,_0x217667,_0x6c82d))throw Error(_0x246c9a(0x377));let _0x2c17bc=(_0x39d5fa=_0xee533c[_0x246c9a(0x407)][_0x5e897a])==null?void 0x0:_0x39d5fa['fields'][_0x6c82d];if(!_0x2c17bc)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x6c82d+_0x246c9a(0x186));let _0x1346d9=this[_0x246c9a(0x2c4)][_0x246c9a(0x13c)](_0x2c17bc[_0x246c9a(0x157)]);if(_0x2c17bc[_0x246c9a(0x3fc)]||_0x2c17bc[_0x246c9a(0x31c)]||!_0x1346d9[_0x246c9a(0x3a1)](_0x2c17bc)[_0x246c9a(0x224)])throw Error(_0x246c9a(0x191));let _0x16b544=_0x1346d9[_0x246c9a(0x172)](_0x1d9c50,_0x2c17bc),_0x149556=_0x1346d9[_0x246c9a(0x32b)](_0x16b544,_0x2c17bc);if(!_0x149556[_0x246c9a(0x2ac)]){var _0xd86da9;throw Error((_0xd86da9=_0x149556[_0x246c9a(0x300)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0xd86da9);}return _0x16b544;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0xb7ebbe=_0x1141d6;let _0x2ea1b2=new tn();return At()[_0xb7ebbe(0x2e8)](_0x40b77a=>_0x2ea1b2[_0xb7ebbe(0x1ea)](_0x40b77a)),_0x2ea1b2;}function cn(_0x34bba4){const _0x8e599b=_0x1141d6;return _0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x2a4)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x352)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x229)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f['CreatedAt']||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x25a)];}const ln=new Set([_0x1b662f[_0x1141d6(0x3fd)],_0x1b662f[_0x1141d6(0x384)],_0x1b662f[_0x1141d6(0x3ed)]]);function un(_0x19ef36){const _0x20989c=_0x1141d6;var _0x450915,_0x4cc5be;let _0x4bbd16=_0x19ef36[_0x20989c(0x2e2)][_0x19ef36['primaryFieldId']];return!(_0x4bbd16&&(_0x4bbd16['system']===!0x0||_0x4bbd16['id']['toLowerCase']()==='id'||_0x4bbd16[_0x20989c(0x3a2)][_0x20989c(0x369)]()[_0x20989c(0x2ae)]()==='id'))&&_0x4bbd16?_0x4bbd16['id']:(_0x450915=(_0x4cc5be=_0x19ef36['fieldOrder'][_0x20989c(0x220)](_0x11270d=>_0x19ef36['fields'][_0x11270d])['find'](_0x43cadd=>_0x43cadd&&_0x43cadd['id']!==_0x19ef36[_0x20989c(0x3a0)]))==null?void 0x0:_0x4cc5be['id'])==null?_0x19ef36['primaryFieldId']:_0x450915;}function dn(_0x598374,_0x321fa1=[],_0x4eb116=0x5){const _0x14577f=_0x1141d6;let _0x51c1bf=new Set(_0x321fa1[_0x14577f(0x385)](_0xb3aede=>!!_0xb3aede)),_0x353705=_0x598374[_0x14577f(0x2ad)][_0x14577f(0x1a8)](_0x34ef27=>{const _0xa10f56=_0x14577f;let _0x43554b=_0x598374[_0xa10f56(0x2e2)][_0x34ef27];return _0x43554b&&!_0x51c1bf[_0xa10f56(0x325)](_0x43554b['id'])?[_0x43554b]:[];}),_0x4b098d=_0x353705['filter'](_0x33e893=>ln[_0x14577f(0x325)](_0x33e893[_0x14577f(0x157)])),_0x1edbf7=_0x353705[_0x14577f(0x385)](_0xc92986=>!ln[_0x14577f(0x325)](_0xc92986[_0x14577f(0x157)]));return[..._0x4b098d,..._0x1edbf7]['slice'](0x0,_0x4eb116)[_0x14577f(0x220)](_0x58c6d5=>_0x58c6d5['id']);}function fn(){const _0x3ca442=_0x1141d6;return[{'type':_0x479acb[_0x3ca442(0x1bb)],'i18nKey':_0x3ca442(0x2d6),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x479acb[_0x3ca442(0x38d)],'i18nKey':_0x3ca442(0x321),'createDefaultConfig':_0x32a994=>{const _0x5e2aae=_0x3ca442;let _0x33e54b=pn(_0x32a994);return{'groupFieldId':_0x33e54b,'coverFieldId':null,'cardLayout':_0x5e2aae(0x3ae),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x32a994['primaryFieldId'],'fieldIds':dn(_0x32a994,[_0x32a994[_0x5e2aae(0x3a0)],_0x33e54b])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x479acb[_0x3ca442(0x287)],'i18nKey':_0x3ca442(0x260),'createDefaultConfig':_0x5df1b9=>{const _0x5ea8b5=_0x3ca442;let _0x21633d=mn(_0x5df1b9);return{'startDateFieldId':_0x21633d,'endDateFieldId':hn(_0x5df1b9,_0x21633d),'titleFieldId':_0x5df1b9['primaryFieldId'],'mode':_0x5ea8b5(0x28e),'timeslotSize':_0x5ea8b5(0x21b),'timeZone':_0x5ea8b5(0x304),'displayColor':{'type':_0x5ea8b5(0x1e6),'color':_0x5ea8b5(0x1f9)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5b6d73=_0x3ca442;throw Error(_0x5b6d73(0x38f));}},{'type':_0x479acb['Gantt'],'i18nKey':_0x3ca442(0x211),'createDefaultConfig':_0x1cc171=>{const _0x389d3a=_0x3ca442;var _0x205dcb;let _0x58f498=mn(_0x1cc171);return{'startDateFieldId':_0x58f498,'endDateFieldId':(_0x205dcb=hn(_0x1cc171,_0x58f498))==null?_0x58f498:_0x205dcb,'titleFieldId':_0x1cc171[_0x389d3a(0x3a0)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x389d3a(0x1e6),'color':_0x389d3a(0x253)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4a84aa=_0x3ca442;throw Error(_0x4a84aa(0x268));}},{'type':_0x479acb[_0x3ca442(0x160)],'i18nKey':_0x3ca442(0x3ab),'createDefaultConfig':_0xa97935=>{const _0x3c8f79=_0x3ca442;let _0x243b33=un(_0xa97935);return{'coverFieldId':null,'cardLayout':_0x3c8f79(0x3ae),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x243b33,'coverFieldId':null,'fieldIds':dn(_0xa97935,[_0x243b33,_0xa97935[_0x3c8f79(0x3a0)]])},'cardSize':_0x3c8f79(0x21b)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x45261a=_0x3ca442;throw Error(_0x45261a(0x2d4));}}];}function pn(_0x589dfb){const _0x25bf5c=_0x1141d6;var _0x3de2c3,_0x5aeffd,_0x57c8b4,_0x415108,_0x24fc37,_0x7478de;let _0x5cc349=_0x589dfb[_0x25bf5c(0x2ad)][_0x25bf5c(0x220)](_0x16420b=>_0x589dfb['fields'][_0x16420b])['filter'](_0x15fa7e=>!!_0x15fa7e);return(_0x3de2c3=(_0x5aeffd=(_0x57c8b4=(_0x415108=_0x5cc349['find'](_0x57a691=>_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x1c8)]||_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x39e)]||_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x1d2)]))==null?void 0x0:_0x415108['id'])==null?(_0x24fc37=_0x5cc349[_0x25bf5c(0x236)](_0xed8d53=>_0xed8d53[_0x25bf5c(0x157)]===_0x1b662f['Text']))==null?void 0x0:_0x24fc37['id']:_0x57c8b4)==null?(_0x7478de=_0x5cc349[_0x25bf5c(0x236)](_0x4a6e80=>_0x4a6e80[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x29d)]||_0x4a6e80[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x2db)]||_0x4a6e80['type']===_0x1b662f[_0x25bf5c(0x25a)]))==null?void 0x0:_0x7478de['id']:_0x5aeffd)==null?_0x589dfb[_0x25bf5c(0x3a0)]:_0x3de2c3;}function mn(_0x5114a4){const _0x230d44=_0x1141d6;var _0x295daa,_0x3b36b1;return(_0x295daa=(_0x3b36b1=_0x5114a4[_0x230d44(0x2ad)]['map'](_0x1b2aca=>_0x5114a4[_0x230d44(0x2e2)][_0x1b2aca])[_0x230d44(0x236)](gn))==null?void 0x0:_0x3b36b1['id'])==null?'':_0x295daa;}function hn(_0x334469,_0xe1f1c7){const _0x329a4c=_0x1141d6;var _0x1b744c;return(_0x1b744c=_0x334469['fieldOrder']['map'](_0x480010=>_0x334469['fields'][_0x480010])[_0x329a4c(0x236)](_0x4c7139=>gn(_0x4c7139)&&_0x4c7139['id']!==_0xe1f1c7))==null?void 0x0:_0x1b744c['id'];}function gn(_0x556bbf){const _0x3b17f4=_0x1141d6;return!!_0x556bbf&&_0x556bbf[_0x3b17f4(0x157)]===_0x1b662f['Date']&&_0x556bbf[_0x3b17f4(0x3fc)]!==!0x0&&_0x556bbf[_0x3b17f4(0x31c)]!==!0x0;}const _n=_0x5a5c3d('base.projection.service'),vn=new Set([_0x1b662f[_0x1141d6(0x3a9)],_0x1b662f[_0x1141d6(0x1b3)],_0x1b662f[_0x1141d6(0x3fd)],_0x1b662f['Rating'],_0x1b662f[_0x1141d6(0x29d)],_0x1b662f['CreatedAt'],_0x1b662f[_0x1141d6(0x25a)],_0x1b662f[_0x1141d6(0x3ed)]]);let yn=class extends _0x2d3cca{constructor(_0x294281){const _0x532469=_0x1141d6;super(),this[_0x532469(0x2c4)]=_0x294281,B(this,_0x532469(0x375),new Map()),B(this,_0x532469(0x2d7),new WeakMap()),B(this,_0x532469(0x2b1),new Map()),B(this,_0x532469(0x31b),new Map()),B(this,_0x532469(0x36f),new Map()),B(this,_0x532469(0x225),0x0),B(this,'_tableRevisions',new Map()),B(this,_0x532469(0x1aa),new Map()),B(this,'_cellInvalidations',new Map()),B(this,_0x532469(0x39a),new Map());}['registerView'](_0x4c38e3){const _0x12b37b=_0x1141d6;return this['_views']['set'](_0x4c38e3[_0x12b37b(0x157)],_0x4c38e3),_0x43f94b(()=>this[_0x12b37b(0x375)]['delete'](_0x4c38e3[_0x12b37b(0x157)]));}['getProjection'](_0x4ee74e,_0x296546,_0x22acc8){const _0x4d4fb3=_0x1141d6;var _0xf40d92,_0x363b6f,_0x392384,_0x1be2b5,_0x3d5332;return T('BaseProjection.getProjection',()=>{const _0x2fa548=_0x33c5;let _0x30891c=this[_0x2fa548(0x182)](_0x4ee74e,_0x296546,_0x22acc8);if(_0x30891c)return _0x30891c;let _0x5c171d=_0x4ee74e['tables'][_0x296546],_0xfd969f=_0x5c171d==null?void 0x0:_0x5c171d[_0x2fa548(0x23e)][_0x22acc8];if(!_0x5c171d||!_0xfd969f){var _0x30d3b8;return this[_0x2fa548(0x209)](_0x4ee74e,_0x296546,_0x22acc8,{'type':'invalid','viewType':(_0x30d3b8=_0xfd969f==null?void 0x0:_0xfd969f[_0x2fa548(0x157)])==null?_0x479acb[_0x2fa548(0x1bb)]:_0x30d3b8,'reason':_0x2fa548(0x314)});}let _0x3559d2;switch(_0xfd969f[_0x2fa548(0x157)]){case _0x479acb[_0x2fa548(0x1bb)]:_0x3559d2=this[_0x2fa548(0x228)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x24e)]:_0x3559d2=this[_0x2fa548(0x32a)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x38d)]:_0x3559d2=this[_0x2fa548(0x38b)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x287)]:_0x3559d2=this[_0x2fa548(0x277)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x160)]:_0x3559d2=this[_0x2fa548(0x170)](_0x5c171d,_0xfd969f);break;default:_0x3559d2={'type':_0x2fa548(0x2ca),'viewType':_0xfd969f[_0x2fa548(0x157)],'reason':'missingField'};}return this[_0x2fa548(0x209)](_0x4ee74e,_0x296546,_0x22acc8,_0x3559d2);},{'tableId':_0x296546,'viewId':_0x22acc8,'viewType':(_0xf40d92=_0x4ee74e[_0x4d4fb3(0x407)][_0x296546])==null||(_0xf40d92=_0xf40d92[_0x4d4fb3(0x23e)][_0x22acc8])==null?void 0x0:_0xf40d92[_0x4d4fb3(0x157)],'records':(_0x363b6f=(_0x392384=_0x4ee74e['tables'][_0x296546])==null||(_0x392384=_0x392384[_0x4d4fb3(0x19d)])==null?void 0x0:_0x392384[_0x4d4fb3(0x3e1)])==null?Object[_0x4d4fb3(0x1ef)]((_0x1be2b5=(_0x3d5332=_0x4ee74e[_0x4d4fb3(0x407)][_0x296546])==null?void 0x0:_0x3d5332[_0x4d4fb3(0x162)])==null?{}:_0x1be2b5)[_0x4d4fb3(0x3e1)]:_0x363b6f});}[_0x1141d6(0x391)](_0x1492cc,_0x375b1e,_0x18a97d){const _0x5a70ba=_0x1141d6;var _0x8756db,_0x355bd0,_0x2145bf,_0x51000c;let _0x3d6255=_0x1492cc['tables'][_0x375b1e],_0x41f5bc=_0x3d6255==null?void 0x0:_0x3d6255[_0x5a70ba(0x23e)][_0x18a97d];if(!_0x3d6255||!_0x41f5bc)throw Error(_0x5a70ba(0x288)+_0x18a97d+'\x22.');let _0x10ff9b=_0x2805ea=>!!_0x3d6255[_0x5a70ba(0x2e2)][_0x2805ea],_0xda9466={..._0x41f5bc,'filter':_0x41f5bc[_0x5a70ba(0x385)]?{..._0x41f5bc[_0x5a70ba(0x385)],'conditions':_0x41f5bc[_0x5a70ba(0x385)]['conditions'][_0x5a70ba(0x385)](_0x526e11=>_0x10ff9b(_0x526e11[_0x5a70ba(0x1be)]))}:_0x41f5bc[_0x5a70ba(0x385)],'sort':(_0x8756db=_0x41f5bc[_0x5a70ba(0x3b6)])==null?void 0x0:_0x8756db[_0x5a70ba(0x385)](_0x524420=>_0x10ff9b(_0x524420[_0x5a70ba(0x1be)])),'group':(_0x355bd0=_0x41f5bc['group'])==null?void 0x0:_0x355bd0[_0x5a70ba(0x385)](_0x2d007c=>_0x10ff9b(_0x2d007c['fieldId'])),'fieldOrder':(_0x2145bf=_0x41f5bc[_0x5a70ba(0x2ad)])==null?void 0x0:_0x2145bf[_0x5a70ba(0x385)](_0x10ff9b),'fieldSettings':Object[_0x5a70ba(0x176)](Object[_0x5a70ba(0x34d)]((_0x51000c=_0x41f5bc[_0x5a70ba(0x3c9)])==null?{}:_0x51000c)[_0x5a70ba(0x385)](([_0x15bfcc])=>_0x10ff9b(_0x15bfcc)))};if(_0xda9466['type']===_0x5a70ba(0x235)){var _0x407644,_0x11b673,_0x3cb30a,_0x3ea03f;let _0x264158=(_0x407644=_0xda9466['config'])==null?{}:_0x407644,_0xccfcf5=this[_0x5a70ba(0x1cb)](_0x3d6255,_0xda9466);_0xda9466[_0x5a70ba(0x1f0)]={..._0x264158,'groupFieldId':_0xccfcf5==null?_0x264158['groupFieldId']:_0xccfcf5,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3d6255,_0x264158),'cardLayout':_0x264158[_0x5a70ba(0x319)]===_0x5a70ba(0x18f)?_0x5a70ba(0x18f):_0x5a70ba(0x3ae),'showFieldNames':_0x264158['showFieldNames']!==!0x1,'fieldSettings':Object[_0x5a70ba(0x176)](Object['entries']((_0x11b673=_0x264158[_0x5a70ba(0x3c9)])==null?{}:_0x11b673)[_0x5a70ba(0x385)](([_0x5af61a])=>_0x10ff9b(_0x5af61a))),'columnSettings':(_0x3cb30a=_0x264158[_0x5a70ba(0x276)])==null?{}:_0x3cb30a,'card':{...(_0x3ea03f=_0x264158['card'])==null?{}:_0x3ea03f,'fieldIds':this[_0x5a70ba(0x344)](_0x3d6255,_0xda9466,_0xccfcf5==null?'':_0xccfcf5)}};}return{'repaired':JSON['stringify'](_0xda9466)!==JSON['stringify'](_0x41f5bc),'view':_0xda9466};}[_0x1141d6(0x1a7)](){const _0xafed90=_0x1141d6;this[_0xafed90(0x225)]++;}[_0x1141d6(0x196)](_0x2ec848,_0xd05579,_0x51069b){const _0x45145e=_0x1141d6;var _0x505e0c;let _0x5c9951=this[_0x45145e(0x335)](_0x2ec848)+0x1;this[_0x45145e(0x1aa)]['set'](_0x2ec848,_0x5c9951);let _0x3aa900=(_0x505e0c=this[_0x45145e(0x190)][_0x45145e(0x13c)](_0x2ec848))==null?[]:_0x505e0c;_0x3aa900[_0x45145e(0x1a6)]({'revision':_0x5c9951,'recordId':_0xd05579,'fieldId':_0x51069b}),this[_0x45145e(0x190)][_0x45145e(0x353)](_0x2ec848,_0x3aa900);}[_0x1141d6(0x33d)](_0x225eec,_0x45954c){const _0x164a32=_0x1141d6;this[_0x164a32(0x2dc)](_0x225eec);}[_0x1141d6(0x3ba)](_0x4fedc8,_0x45e2a7){const _0x3ef75=_0x1141d6;this[_0x3ef75(0x39a)][_0x3ef75(0x353)](this[_0x3ef75(0x37c)](_0x4fedc8,_0x45e2a7),this[_0x3ef75(0x2cd)](_0x4fedc8,_0x45e2a7)+0x1);}[_0x1141d6(0x182)](_0x1a72c3,_0x3a37b4,_0x197917){const _0x1c1dee=_0x1141d6;var _0x54c335;let _0x4ad9f3=(_0x54c335=this[_0x1c1dee(0x2d7)][_0x1c1dee(0x13c)](_0x1a72c3))==null?void 0x0:_0x54c335[_0x1c1dee(0x13c)](this['_cacheKey'](_0x3a37b4,_0x197917));return _0x4ad9f3&&_0x4ad9f3[_0x1c1dee(0x197)]===this[_0x1c1dee(0x225)]&&_0x4ad9f3['tableRevision']===this[_0x1c1dee(0x2af)](_0x3a37b4)&&_0x4ad9f3[_0x1c1dee(0x3d4)]===this[_0x1c1dee(0x335)](_0x3a37b4)&&_0x4ad9f3['viewRevision']===this[_0x1c1dee(0x2cd)](_0x3a37b4,_0x197917)?_0x4ad9f3['projection']:null;}['_setCachedProjection'](_0x43fa1b,_0x50ccdc,_0x5115e6,_0x558593){const _0x1e1b05=_0x1141d6;let _0x571941=this['_projectionCache']['get'](_0x43fa1b);return _0x571941||(_0x571941=new Map(),this['_projectionCache'][_0x1e1b05(0x353)](_0x43fa1b,_0x571941)),_0x571941[_0x1e1b05(0x353)](this[_0x1e1b05(0x397)](_0x50ccdc,_0x5115e6),{'projection':_0x558593,'globalRevision':this[_0x1e1b05(0x225)],'tableRevision':this[_0x1e1b05(0x2af)](_0x50ccdc),'cellRevision':this['_getCellRevision'](_0x50ccdc),'viewRevision':this[_0x1e1b05(0x2cd)](_0x50ccdc,_0x5115e6)}),_0x558593;}[_0x1141d6(0x2dc)](_0x436127){const _0x50eba4=_0x1141d6;this[_0x50eba4(0x147)][_0x50eba4(0x353)](_0x436127,this[_0x50eba4(0x2af)](_0x436127)+0x1);}[_0x1141d6(0x2af)](_0x21832b){const _0x373877=_0x1141d6;var _0x306c1c;return(_0x306c1c=this[_0x373877(0x147)][_0x373877(0x13c)](_0x21832b))==null?0x0:_0x306c1c;}[_0x1141d6(0x335)](_0x1b2dc7){const _0x11f98b=_0x1141d6;var _0x15275c;return(_0x15275c=this[_0x11f98b(0x1aa)][_0x11f98b(0x13c)](_0x1b2dc7))==null?0x0:_0x15275c;}['_getViewRevision'](_0x4f4904,_0x5815a5){const _0x1e1884=_0x1141d6;var _0xaabf3f;return(_0xaabf3f=this['_viewRevisions'][_0x1e1884(0x13c)](this[_0x1e1884(0x37c)](_0x4f4904,_0x5815a5)))==null?0x0:_0xaabf3f;}[_0x1141d6(0x397)](_0x33e1ef,_0x4f152d){return _0x33e1ef+'\x00'+_0x4f152d;}['_viewRowsCacheKey'](_0x217da2,_0x3c77c0){const _0x30fc61=_0x1141d6;return _0x217da2+'\x00'+this[_0x30fc61(0x317)](_0x3c77c0);}[_0x1141d6(0x3d5)](_0x3d824f,_0x3da069,_0x371074){return _0x3d824f+'\x00'+this['_rowTransformCacheSegment'](_0x3da069)+'\x00'+this['_groupConfigCacheSegment'](_0x371074);}[_0x1141d6(0x317)](_0x73d407){const _0x58c6c3=_0x1141d6;return _0x73d407?Tn({'filter':Cn(_0x73d407[_0x58c6c3(0x385)]),'sort':wn(_0x73d407[_0x58c6c3(0x3b6)])}):_0x58c6c3(0x27b);}[_0x1141d6(0x1ba)](_0x5b96a9){return Tn(_0x5b96a9['map'](_0x560370=>{const _0x12c749=_0x33c5;var _0x69088;return{'fieldId':_0x560370[_0x12c749(0x1be)],'direction':(_0x69088=_0x560370['direction'])==null?null:_0x69088};}));}[_0x1141d6(0x37c)](_0x47e4a2,_0x5307db){return _0x47e4a2+'\x00'+_0x5307db;}[_0x1141d6(0x228)](_0xbbf0cc,_0x4a250d){const _0xf4ce02=_0x1141d6;let _0x26e373=this['_projectRows'](_0xbbf0cc,_0x4a250d);return{'type':_0x479acb['Grid'],'fields':this[_0xf4ce02(0x2fd)](_0xbbf0cc,_0x4a250d),'rows':_0x26e373,'groups':this[_0xf4ce02(0x283)](_0xbbf0cc,_0x4a250d,_0x26e373),'frozenFieldCount':typeof _0x4a250d['config']['frozenFieldCount']==_0xf4ce02(0x2fa)?_0x4a250d['config']['frozenFieldCount']:0x0};}[_0x1141d6(0x38b)](_0x40dfcf,_0x5ad455){const _0x1b36c3=_0x1141d6;var _0x7d87c5;let _0x1d371f=this[_0x1b36c3(0x1cb)](_0x40dfcf,_0x5ad455),_0x229f19=_0x1d371f?_0x40dfcf[_0x1b36c3(0x2e2)][_0x1d371f]:void 0x0;if(!_0x229f19)return{'type':'invalid','viewType':_0x479acb[_0x1b36c3(0x38d)],'reason':_0x1b36c3(0x1d6),'fieldId':_0x5ad455[_0x1b36c3(0x1f0)]['groupFieldId']};let _0x4deb7e=this['_projectRows'](_0x40dfcf,_0x5ad455),_0x5cbbf2=this[_0x1b36c3(0x2fd)](_0x40dfcf,_0x5ad455),_0x36fe3f=(_0x7d87c5=_0x5ad455['config'])==null?{}:_0x7d87c5,_0x33246b=this[_0x1b36c3(0x344)](_0x40dfcf,_0x5ad455,_0x229f19['id']),_0x20d950=new Map();return this['_getKanbanConfiguredLanes'](_0x229f19,_0x36fe3f)[_0x1b36c3(0x2e8)](_0x4df34a=>_0x20d950[_0x1b36c3(0x353)](_0x4df34a[_0x1b36c3(0x2fc)],{..._0x4df34a,'recordIds':[]})),_0x4deb7e[_0x1b36c3(0x2e8)](_0x52ae6b=>{const _0x3a0891=_0x1b36c3;this[_0x3a0891(0x390)](_0x229f19,_0x52ae6b[_0x3a0891(0x3aa)][_0x229f19['id']])['forEach'](_0x1bdc71=>{const _0x269495=_0x3a0891;let _0x539739=_0x20d950[_0x269495(0x13c)](_0x1bdc71),_0x416bbd=_0x539739==null?{'key':_0x1bdc71,'title':this[_0x269495(0x2f5)](_0x229f19,_0x1bdc71,_0x36fe3f),'color':this[_0x269495(0x205)](_0x229f19,_0x1bdc71,_0x36fe3f),'recordIds':[]}:_0x539739;_0x416bbd[_0x269495(0x267)][_0x269495(0x1a6)](_0x52ae6b[_0x269495(0x201)]),_0x20d950['set'](_0x1bdc71,_0x416bbd);});}),{'type':_0x479acb[_0x1b36c3(0x38d)],'fields':_0x5cbbf2,'rows':_0x4deb7e,'groups':this[_0x1b36c3(0x283)](_0x40dfcf,_0x5ad455,_0x4deb7e),'groupFieldId':_0x229f19['id'],'coverFieldId':this[_0x1b36c3(0x24b)](_0x40dfcf,_0x36fe3f),'cardLayout':_0x36fe3f[_0x1b36c3(0x319)]==='compose'?'compose':_0x1b36c3(0x3ae),'showFieldNames':_0x36fe3f['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x33246b,'lanes':Array['from'](_0x20d950[_0x1b36c3(0x3aa)]())};}[_0x1141d6(0x1cb)](_0x2a1727,_0x2de1ee){const _0x52ab6b=_0x1141d6;var _0x5d8085;let _0x61d784=(_0x5d8085=_0x2de1ee['config'])==null?void 0x0:_0x5d8085[_0x52ab6b(0x315)];return _0x61d784&&this['_isKanbanGroupField'](_0x2a1727,_0x61d784)?_0x61d784:this[_0x52ab6b(0x3d1)](_0x2a1727,_0x3fe1c3=>this[_0x52ab6b(0x35e)](_0x3fe1c3));}[_0x1141d6(0x3d1)](_0x4cf92f,_0x160a31){const _0x296d4c=_0x1141d6;for(let _0x222c4a of _0x4cf92f[_0x296d4c(0x2ad)]){let _0x16fb7d=_0x4cf92f[_0x296d4c(0x2e2)][_0x222c4a];if(_0x16fb7d&&_0x160a31(_0x16fb7d))return _0x16fb7d['id'];}return null;}[_0x1141d6(0x1ec)](_0x295db8,_0xd212c9){const _0x44f3f3=_0x1141d6;let _0x2dcd26=_0x295db8[_0x44f3f3(0x2e2)][_0xd212c9];return this[_0x44f3f3(0x35e)](_0x2dcd26);}[_0x1141d6(0x35e)](_0x235986){const _0x53179f=_0x1141d6;return!!_0x235986&&(_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x1c8)]||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x39e)]||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x384)]||_0x235986[_0x53179f(0x157)]===_0x1b662f['Person']||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x1d2)]||_0x235986[_0x53179f(0x157)]===_0x1b662f['Checkbox']);}[_0x1141d6(0x3de)](_0x41e818){const _0x2b2bec=_0x1141d6;return _0x41e818['type']===_0x1b662f[_0x2b2bec(0x1c8)]||_0x41e818['type']===_0x1b662f[_0x2b2bec(0x39e)];}[_0x1141d6(0x24b)](_0x52b721,_0x2dabd9){const _0x6f567a=_0x1141d6;var _0xabb608,_0x5ea73d,_0x363f1a;let _0x134680=(_0xabb608=(_0x5ea73d=_0x2dabd9[_0x6f567a(0x3cc)])==null?(_0x363f1a=_0x2dabd9['card'])==null?void 0x0:_0x363f1a[_0x6f567a(0x3cc)]:_0x5ea73d)==null?null:_0xabb608;if(!_0x134680)return null;let _0x1a84a9=_0x52b721['fields'][_0x134680];return _0x1a84a9&&this['_capabilities'](_0x1a84a9)[_0x6f567a(0x139)]?_0x1a84a9['id']:null;}['_resolveKanbanCardFieldIds'](_0x2e4a47,_0x1d5b12,_0x1228fd){const _0x533acb=_0x1141d6;var _0x26ac79,_0x379513,_0x4d36ce;let _0x224721=(_0x26ac79=_0x1d5b12[_0x533acb(0x1f0)])==null?{}:_0x26ac79,_0x51cdc0=!((_0x379513=_0x224721[_0x533acb(0x3c2)])==null||(_0x379513=_0x379513[_0x533acb(0x146)])==null)&&_0x379513[_0x533acb(0x3e1)]?_0x224721[_0x533acb(0x3c2)][_0x533acb(0x146)]:dn(_0x2e4a47,[_0x2e4a47['primaryFieldId'],_0x1228fd]),_0x2e1cd4=(_0x4d36ce=_0x224721[_0x533acb(0x3c9)])==null?{}:_0x4d36ce;return _0x51cdc0[_0x533acb(0x385)](_0x34069a=>{const _0x2dbe4a=_0x533acb;var _0xa7ab2e,_0x5731a8;let _0x582d29=_0x2e4a47[_0x2dbe4a(0x2e2)][_0x34069a];return!(!_0x582d29||_0x582d29['id']===_0x1228fd||!((_0xa7ab2e=_0x1d5b12[_0x2dbe4a(0x3c9)])==null||(_0xa7ab2e=_0xa7ab2e[_0x34069a])==null)&&_0xa7ab2e[_0x2dbe4a(0x311)]||(_0x5731a8=_0x2e1cd4[_0x34069a])!=null&&_0x5731a8[_0x2dbe4a(0x311)]);})[_0x533acb(0x3b6)]((_0x29ae2b,_0x3ebbd3)=>{const _0x375c12=_0x533acb;var _0x4180f2,_0x17df45,_0x345017,_0x561341;return((_0x4180f2=(_0x17df45=_0x2e1cd4[_0x29ae2b])==null?void 0x0:_0x17df45[_0x375c12(0x398)])==null?_0x51cdc0['indexOf'](_0x29ae2b):_0x4180f2)-((_0x345017=(_0x561341=_0x2e1cd4[_0x3ebbd3])==null?void 0x0:_0x561341['order'])==null?_0x51cdc0[_0x375c12(0x24a)](_0x3ebbd3):_0x345017);});}[_0x1141d6(0x316)](_0x133a68,_0x5cfaa5){const _0x619e1a=_0x1141d6;var _0x4723b4,_0x50dcaf;let _0x1d7b6f=(Array['isArray']((_0x4723b4=_0x133a68['config'])==null?void 0x0:_0x4723b4[_0x619e1a(0x294)])?_0x133a68[_0x619e1a(0x1f0)][_0x619e1a(0x294)]:[])[_0x619e1a(0x1a8)]((_0x23ec89,_0x151f0b)=>{const _0x58de49=_0x619e1a;var _0x138e24,_0x4875c5,_0x23be60,_0x377daf;if(_0x23ec89==null)return[];let _0x20ea78=typeof _0x23ec89=='string'?{'id':_0x23ec89,'name':_0x23ec89,'color':void 0x0}:_0x23ec89,_0xe4c3e2=String((_0x138e24=(_0x4875c5=_0x20ea78['id'])==null?_0x20ea78[_0x58de49(0x3a2)]:_0x4875c5)==null?_0x58de49(0x351)+(_0x151f0b+0x1):_0x138e24);return[{'key':_0xe4c3e2,'title':String((_0x23be60=(_0x377daf=_0x20ea78['name'])==null?_0x20ea78['id']:_0x377daf)==null?_0xe4c3e2:_0x23be60),'color':this[_0x58de49(0x205)](_0x133a68,_0xe4c3e2,_0x5cfaa5)}];});return Object['entries']((_0x50dcaf=_0x5cfaa5[_0x619e1a(0x276)])==null?{}:_0x50dcaf)[_0x619e1a(0x2e8)](([_0x296b8c,_0x37c091])=>{const _0x3a8f92=_0x619e1a;var _0x15abeb;_0x1d7b6f['some'](_0x578ce5=>_0x578ce5[_0x3a8f92(0x2fc)]===_0x296b8c)||_0x1d7b6f[_0x3a8f92(0x1a6)]({'key':_0x296b8c,'title':this[_0x3a8f92(0x3de)](_0x133a68)?(_0x15abeb=_0x37c091[_0x3a8f92(0x1f8)])==null?this[_0x3a8f92(0x2f5)](_0x133a68,_0x296b8c,_0x5cfaa5):_0x15abeb:this[_0x3a8f92(0x2f5)](_0x133a68,_0x296b8c,_0x5cfaa5),'color':this['_kanbanLaneColor'](_0x133a68,_0x296b8c,_0x5cfaa5)});}),_0x1d7b6f;}[_0x1141d6(0x390)](_0x1bd9da,_0x2c35c3){const _0x426625=_0x1141d6;let _0x3acd2d=_0x4494b3=>{var _0x4a87fe,_0x515783;let _0x34a442=_0x4494b3==null?'':String(_0x4494b3);return!_0x34a442||!this['_isColorfulKanbanGroupField'](_0x1bd9da)||(_0x4a87fe=(_0x515783=J(_0x1bd9da,_0x34a442))==null?void 0x0:_0x515783['id'])==null?_0x34a442:_0x4a87fe;};if(Array[_0x426625(0x28a)](_0x2c35c3)){let _0x2f8fab=_0x2c35c3['map'](_0x3acd2d)['filter'](_0xc5e4e5=>_0xc5e4e5!=='');return _0x2f8fab[_0x426625(0x3e1)]?_0x2f8fab:[''];}return[_0x3acd2d(_0x2c35c3)];}[_0x1141d6(0x2f5)](_0x1b3763,_0x1765b8,_0x1c6f1c){const _0x32b1d0=_0x1141d6;var _0x467d83;if(!_0x1765b8)return _0x32b1d0(0x1c0);let _0x154da7=J(_0x1b3763,_0x1765b8);return(_0x467d83=_0x154da7==null?void 0x0:_0x154da7[_0x32b1d0(0x3a2)])==null?_0x1765b8:_0x467d83;}[_0x1141d6(0x205)](_0x1522ef,_0x56fe27,_0x2fa635){const _0xaef6f0=_0x1141d6;var _0x4583c0;if(this[_0xaef6f0(0x3de)](_0x1522ef))return(_0x4583c0=J(_0x1522ef,_0x56fe27))==null?void 0x0:_0x4583c0['color'];}[_0x1141d6(0x277)](_0x1981a6,_0xaa4c21){const _0xb91a38=_0x1141d6;var _0x2c9e53;let _0x395618=this[_0xb91a38(0x347)](_0x1981a6,(_0x2c9e53=_0xaa4c21[_0xb91a38(0x1f0)])==null?{}:_0x2c9e53),_0x7cf026=_0x1981a6[_0xb91a38(0x2e2)][_0x395618[_0xb91a38(0x394)]];if(!_0x7cf026||_0x7cf026['type']!==_0x1b662f[_0xb91a38(0x29d)]||_0x7cf026[_0xb91a38(0x3fc)]===!0x0||_0x7cf026[_0xb91a38(0x31c)]===!0x0||!this[_0xb91a38(0x1b0)](_0x7cf026)['usableAsCalendarDate'])return{'type':'invalid','viewType':_0x479acb[_0xb91a38(0x287)],'reason':_0xb91a38(0x2ce),'fieldId':_0x395618[_0xb91a38(0x394)]};let _0x4fa178=_0x395618[_0xb91a38(0x153)]?_0x1981a6['fields'][_0x395618[_0xb91a38(0x153)]]:void 0x0,_0x243613=this[_0xb91a38(0x36d)](_0x1981a6,_0xaa4c21);return{'type':_0x479acb[_0xb91a38(0x287)],'config':_0x395618,'fields':this[_0xb91a38(0x2fd)](_0x1981a6,_0xaa4c21),'rows':_0x243613,'groups':this[_0xb91a38(0x283)](_0x1981a6,_0xaa4c21,_0x243613),'events':_0x243613[_0xb91a38(0x1a8)](_0x8a54df=>{const _0x9bf609=_0xb91a38;let _0x289f0b=N(_0x8a54df['values'][_0x395618['startDateFieldId']]);if(!Number[_0x9bf609(0x259)](_0x289f0b))return[];let _0xafcc5b=_0x8a54df['values'][_0x395618[_0x9bf609(0x394)]],_0x4ee474=_0x395618['endDateFieldId']==null?void 0x0:_0x8a54df['values'][_0x395618[_0x9bf609(0x153)]],_0x2bc8fc=_0x395618[_0x9bf609(0x153)]==null?void 0x0:N(_0x4ee474),_0x13bd9d=Number[_0x9bf609(0x259)](_0x2bc8fc)?_0x2bc8fc:void 0x0;return[{'recordId':_0x8a54df[_0x9bf609(0x201)],'title':this[_0x9bf609(0x138)](_0x1981a6,_0x8a54df,_0x395618[_0x9bf609(0x35a)]),'start':_0x289f0b,'end':_0x13bd9d,'color':this[_0x9bf609(0x244)](_0x1981a6,_0x8a54df,_0x395618),'startMs':_0x289f0b,'endMs':_0x13bd9d,'allDay':this[_0x9bf609(0x302)](_0x7cf026,_0x4fa178,_0xafcc5b,_0x4ee474),'fieldValues':_0x8a54df[_0x9bf609(0x3aa)]}];})};}[_0x1141d6(0x347)](_0x528c3a,_0x2671b2){const _0x28e2d9=_0x1141d6;var _0x5da0ac,_0x4beaee;let _0x361143=this[_0x28e2d9(0x2dd)](_0x528c3a,_0x2671b2[_0x28e2d9(0x394)]),_0x43ed2e=_0x2671b2[_0x28e2d9(0x153)]&&this[_0x28e2d9(0x332)](_0x528c3a,_0x2671b2[_0x28e2d9(0x153)])?_0x2671b2['endDateFieldId']:(_0x5da0ac=this[_0x28e2d9(0x165)](_0x528c3a,_0x361143))==null?void 0x0:_0x5da0ac,_0x2e98d7=_0x2671b2['titleFieldId']&&_0x528c3a[_0x28e2d9(0x2e2)][_0x2671b2['titleFieldId']]?_0x2671b2['titleFieldId']:_0x528c3a['primaryFieldId'],_0x13ceb3=_0x2671b2[_0x28e2d9(0x40a)]===_0x28e2d9(0x3da)||_0x2671b2[_0x28e2d9(0x40a)]==='week'?_0x2671b2['mode']:_0x28e2d9(0x28e),_0x41ab19=_0x2671b2[_0x28e2d9(0x3b3)]===_0x28e2d9(0x320)||_0x2671b2[_0x28e2d9(0x3b3)]===_0x28e2d9(0x2df)?_0x2671b2[_0x28e2d9(0x3b3)]:_0x28e2d9(0x21b),_0x1a34f3=typeof _0x2671b2[_0x28e2d9(0x393)]==_0x28e2d9(0x222)&&_0x2671b2[_0x28e2d9(0x393)][_0x28e2d9(0x369)]()?_0x2671b2[_0x28e2d9(0x393)]:_0x28e2d9(0x304),_0xbe504d=this[_0x28e2d9(0x3a7)](_0x528c3a,_0x2671b2);return{..._0x2671b2,'startDateFieldId':_0x361143,'endDateFieldId':_0x43ed2e,'titleFieldId':_0x2e98d7,'mode':_0x13ceb3,'timeslotSize':_0x41ab19,'timeZone':_0x1a34f3,'displayColor':_0xbe504d,'fieldSettings':Object['fromEntries'](Object[_0x28e2d9(0x34d)]((_0x4beaee=_0x2671b2[_0x28e2d9(0x3c9)])==null?{}:_0x4beaee)[_0x28e2d9(0x385)](([_0x4cd703])=>!!_0x528c3a['fields'][_0x4cd703]))};}[_0x1141d6(0x2dd)](_0x130c59,_0x39b0a2){const _0x3538ca=_0x1141d6;var _0xccb7b6,_0x19006d;return _0x39b0a2&&this[_0x3538ca(0x332)](_0x130c59,_0x39b0a2)?_0x39b0a2:(_0xccb7b6=(_0x19006d=this['_findCalendarDateFieldId'](_0x130c59))==null?_0x39b0a2:_0x19006d)==null?'':_0xccb7b6;}[_0x1141d6(0x165)](_0x1b131b,_0x3a69e1){for(let _0x338d74 of _0x1b131b['fieldOrder'])if(_0x338d74!==_0x3a69e1&&this['_isCalendarDateField'](_0x1b131b,_0x338d74))return _0x338d74;return null;}[_0x1141d6(0x332)](_0x417d21,_0x5790d7){const _0x21f0a0=_0x1141d6;let _0x44216d=_0x417d21[_0x21f0a0(0x2e2)][_0x5790d7];return!!_0x44216d&&_0x44216d[_0x21f0a0(0x157)]===_0x1b662f[_0x21f0a0(0x29d)]&&_0x44216d[_0x21f0a0(0x3fc)]!==!0x0&&_0x44216d[_0x21f0a0(0x31c)]!==!0x0&&this[_0x21f0a0(0x1b0)](_0x44216d)[_0x21f0a0(0x372)];}['_normalizeCalendarDisplayColor'](_0x328b4d,_0x2c16f4){const _0x368bbe=_0x1141d6;let _0x478c3d=_0x2c16f4[_0x368bbe(0x3b8)];if((_0x478c3d==null?void 0x0:_0x478c3d['type'])===_0x368bbe(0x177)){let _0xcf145b=_0x328b4d[_0x368bbe(0x2e2)][_0x478c3d[_0x368bbe(0x1be)]];if(_0xcf145b&&_0xcf145b['type']===_0x1b662f[_0x368bbe(0x1c8)])return _0x478c3d;}if((_0x478c3d==null?void 0x0:_0x478c3d[_0x368bbe(0x157)])==='custom'&&typeof _0x478c3d[_0x368bbe(0x28c)]=='string'&&_0x478c3d[_0x368bbe(0x28c)][_0x368bbe(0x369)]())return{'type':_0x368bbe(0x1e6),'color':_0x478c3d[_0x368bbe(0x28c)]};if(_0x2c16f4['colorFieldId']){let _0xb35447=_0x328b4d[_0x368bbe(0x2e2)][_0x2c16f4['colorFieldId']];if(_0xb35447&&_0xb35447[_0x368bbe(0x157)]===_0x1b662f[_0x368bbe(0x1c8)])return{'type':_0x368bbe(0x177),'fieldId':_0x2c16f4[_0x368bbe(0x2a9)]};}return{'type':_0x368bbe(0x1e6),'color':_0x368bbe(0x1f9)};}[_0x1141d6(0x244)](_0x5894b5,_0x2a950d,_0x18b043){const _0x6b651=_0x1141d6;let _0x4dc8f9=_0x18b043[_0x6b651(0x3b8)];if((_0x4dc8f9==null?void 0x0:_0x4dc8f9[_0x6b651(0x157)])===_0x6b651(0x177)){var _0x1e5e2b;let _0x56fc21=_0x5894b5[_0x6b651(0x2e2)][_0x4dc8f9[_0x6b651(0x1be)]];if(!_0x56fc21)return;let _0x4c6fc3=_0x2a950d[_0x6b651(0x3aa)][_0x4dc8f9[_0x6b651(0x1be)]],_0x5343c7=Array[_0x6b651(0x28a)](_0x4c6fc3)?_0x4c6fc3[0x0]:_0x4c6fc3;return _0x5343c7==null||(_0x1e5e2b=J(_0x56fc21,String(_0x5343c7)))==null?void 0x0:_0x1e5e2b[_0x6b651(0x28c)];}if((_0x4dc8f9==null?void 0x0:_0x4dc8f9[_0x6b651(0x157)])==='custom')return _0x4dc8f9['color'];}[_0x1141d6(0x302)](_0x7adaeb,_0x1a8997,_0x2f3d87,_0x581078){const _0x2cb015=_0x1141d6;var _0x282dbd,_0x18eb4f;let _0x1f4e8a=((_0x282dbd=_0x7adaeb[_0x2cb015(0x1f0)])==null?void 0x0:_0x282dbd[_0x2cb015(0x1db)])===!0x0,_0x4bfdef=(_0x1a8997==null||(_0x18eb4f=_0x1a8997[_0x2cb015(0x1f0)])==null?void 0x0:_0x18eb4f[_0x2cb015(0x1db)])===!0x0;return!_0x1f4e8a&&!_0x4bfdef;}[_0x1141d6(0x3e5)](_0x35e743,_0x1f8099){const _0x439d7e=_0x1141d6;var _0x38c91c,_0x585e74;let _0x101bda=((_0x38c91c=_0x35e743[_0x439d7e(0x1f0)])==null?void 0x0:_0x38c91c[_0x439d7e(0x1db)])===!0x0,_0x32c049=((_0x585e74=_0x1f8099[_0x439d7e(0x1f0)])==null?void 0x0:_0x585e74[_0x439d7e(0x1db)])===!0x0;return!_0x101bda&&!_0x32c049;}[_0x1141d6(0x32a)](_0x21bc30,_0x1e198f){const _0x361b2b=_0x1141d6;let _0x3b49a1=this[_0x361b2b(0x16e)](_0x21bc30,_0x1e198f[_0x361b2b(0x1f0)]),_0x421acf=_0x21bc30['fields'][_0x3b49a1[_0x361b2b(0x394)]];if(!_0x421acf||_0x421acf[_0x361b2b(0x157)]!==_0x1b662f['Date']||_0x421acf['readonly']===!0x0||_0x421acf['system']===!0x0||!this[_0x361b2b(0x1b0)](_0x421acf)[_0x361b2b(0x1a1)])return{'type':_0x361b2b(0x2ca),'viewType':_0x479acb[_0x361b2b(0x24e)],'reason':_0x361b2b(0x240),'fieldId':_0x3b49a1[_0x361b2b(0x394)]};let _0xd489d4=_0x21bc30[_0x361b2b(0x2e2)][_0x3b49a1[_0x361b2b(0x153)]];if(!_0xd489d4||_0xd489d4['type']!==_0x1b662f[_0x361b2b(0x29d)]||_0xd489d4[_0x361b2b(0x3fc)]===!0x0||_0xd489d4[_0x361b2b(0x31c)]===!0x0||!this[_0x361b2b(0x1b0)](_0xd489d4)[_0x361b2b(0x175)])return{'type':_0x361b2b(0x2ca),'viewType':_0x479acb[_0x361b2b(0x24e)],'reason':_0x361b2b(0x137),'fieldId':_0x3b49a1['endDateFieldId']};let _0x50f989=this[_0x361b2b(0x3e5)](_0x421acf,_0xd489d4),_0x50211a=this[_0x361b2b(0x36d)](_0x21bc30,_0x1e198f),_0x3b9b30=_0x50211a['flatMap'](_0x1e40cf=>{const _0x456824=_0x361b2b;var _0x3c3691;let _0x53479e=N(_0x1e40cf[_0x456824(0x3aa)][_0x3b49a1[_0x456824(0x394)]]),_0x1f9941=N(_0x1e40cf['values'][_0x3b49a1['endDateFieldId']]);if(!Number[_0x456824(0x259)](_0x53479e)||!Number['isFinite'](_0x1f9941))return[];let _0x138458=Math[_0x456824(0x2d8)](_0x53479e,_0x1f9941),_0x499b7f=Math[_0x456824(0x248)](_0x53479e,_0x1f9941),_0x3b5f29=_0x3b49a1[_0x456824(0x21f)]==null?void 0x0:Number(_0x1e40cf[_0x456824(0x3aa)][_0x3b49a1['progressFieldId']]);return[{'recordId':_0x1e40cf['recordId'],'title':this[_0x456824(0x138)](_0x21bc30,_0x1e40cf,_0x3b49a1[_0x456824(0x35a)]),'start':_0x138458,'end':_0x499b7f,'color':this[_0x456824(0x39b)](_0x21bc30,_0x1e40cf,_0x3b49a1),'progress':Number[_0x456824(0x259)](_0x3b5f29)?_0x3b5f29:void 0x0,'workingDayCount':_0x3b49a1[_0x456824(0x27a)]?In(_0x138458,_0x499b7f,_0x3b49a1[_0x456824(0x3b1)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x1e40cf['values'][(_0x3c3691=_0x3b49a1[_0x456824(0x3c0)])==null?'':_0x3c3691])}];}),_0x1d5d21=_0x3b9b30[_0x361b2b(0x3e1)]?K(Math['min'](..._0x3b9b30[_0x361b2b(0x220)](_0x1e446e=>_0x1e446e[_0x361b2b(0x299)]))-0x5a*G):K(Date['now']()-0x5a*G),_0x2583b8=_0x3b9b30[_0x361b2b(0x3e1)]?K(Math[_0x361b2b(0x248)](..._0x3b9b30[_0x361b2b(0x220)](_0x4780f8=>_0x4780f8['end']))+0x5b*G):K(Date[_0x361b2b(0x284)]()+0x5b*G),_0x1b8586=On(_0x3b49a1[_0x361b2b(0x270)],_0x1d5d21,_0x2583b8,_0x3b49a1[_0x361b2b(0x27a)]?_0x3b49a1[_0x361b2b(0x3b1)]:void 0x0);return{'type':_0x479acb[_0x361b2b(0x24e)],'fields':this[_0x361b2b(0x2fd)](_0x21bc30,{..._0x1e198f,'config':_0x3b49a1}),'rows':_0x50211a,'groups':this[_0x361b2b(0x283)](_0x21bc30,_0x1e198f,_0x50211a),'config':_0x3b49a1,'dateRangeAllDay':_0x50f989,'timeline':{'scale':_0x3b49a1[_0x361b2b(0x270)],'start':_0x1d5d21,'end':_0x2583b8,'unitWidth':_0x1b8586[_0x361b2b(0x1d9)],'majorHeaders':_0x1b8586[_0x361b2b(0x3c5)],'columns':_0x1b8586[_0x361b2b(0x181)]},'bars':_0x3b9b30};}[_0x1141d6(0x16e)](_0x58c24e,_0x2ba55){const _0x2f8e20=_0x1141d6;var _0x521a02;let _0x5d3eb4=this[_0x2f8e20(0x3f6)](_0x58c24e,_0x2ba55[_0x2f8e20(0x394)],_0x2f8e20(0x299)),_0x1318b5=this[_0x2f8e20(0x3f6)](_0x58c24e,_0x2ba55['endDateFieldId'],_0x2f8e20(0x14a))||_0x5d3eb4,_0x461019=_0x2ba55[_0x2f8e20(0x35a)]&&_0x58c24e[_0x2f8e20(0x2e2)][_0x2ba55['titleFieldId']]?_0x2ba55['titleFieldId']:_0x58c24e[_0x2f8e20(0x3a0)],_0x51641d=_0x2ba55[_0x2f8e20(0x270)]==='week'||_0x2ba55['scale']===_0x2f8e20(0x318)||_0x2ba55['scale']===_0x2f8e20(0x28b)?_0x2ba55[_0x2f8e20(0x270)]:'month',_0x2c68c4=Dn(_0x2ba55[_0x2f8e20(0x3b1)]);return{..._0x2ba55,'startDateFieldId':_0x5d3eb4,'endDateFieldId':_0x1318b5,'titleFieldId':_0x461019,'scale':_0x51641d,'leftPaneWidth':typeof _0x2ba55[_0x2f8e20(0x3e3)]==_0x2f8e20(0x2fa)?_0x2ba55['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x2ba55[_0x2f8e20(0x24c)]===!0x0,'showTodayLine':_0x2ba55[_0x2f8e20(0x286)]!==!0x1,'displayColor':this[_0x2f8e20(0x161)](_0x58c24e,_0x2ba55),'fieldSettings':Object['fromEntries'](Object[_0x2f8e20(0x34d)]((_0x521a02=_0x2ba55[_0x2f8e20(0x3c9)])==null?{}:_0x521a02)[_0x2f8e20(0x385)](([_0x57de4f])=>!!_0x58c24e[_0x2f8e20(0x2e2)][_0x57de4f])),'workingDaysOnly':_0x2ba55['workingDaysOnly']===!0x0,'workingDays':_0x2c68c4};}['_resolveGanttDateFieldId'](_0x4fec73,_0x2c3a2d,_0x42ff3a){const _0x41b1ce=_0x1141d6;if(_0x2c3a2d&&this[_0x41b1ce(0x35f)](_0x4fec73,_0x2c3a2d,_0x42ff3a)||_0x2c3a2d)return _0x2c3a2d;for(let _0x260be5 of _0x4fec73[_0x41b1ce(0x2ad)])if(this[_0x41b1ce(0x35f)](_0x4fec73,_0x260be5,_0x42ff3a))return _0x260be5;return _0x2c3a2d==null?'':_0x2c3a2d;}[_0x1141d6(0x35f)](_0x1162d9,_0x343771,_0x526b3e){const _0x5b1c23=_0x1141d6;let _0x38df17=_0x1162d9['fields'][_0x343771];if(!_0x38df17||_0x38df17[_0x5b1c23(0x157)]!==_0x1b662f['Date']||_0x38df17['readonly']===!0x0||_0x38df17['system']===!0x0)return!0x1;let _0x1cd2be=this[_0x5b1c23(0x1b0)](_0x38df17);return _0x526b3e==='start'?_0x1cd2be[_0x5b1c23(0x1a1)]:_0x1cd2be[_0x5b1c23(0x175)];}['_normalizeGanttDisplayColor'](_0x47ef6e,_0x55b7db){const _0x51afdc=_0x1141d6;let _0x2352d4=_0x55b7db[_0x51afdc(0x3b8)];if((_0x2352d4==null?void 0x0:_0x2352d4[_0x51afdc(0x157)])===_0x51afdc(0x177)){let _0x34971a=_0x47ef6e['fields'][_0x2352d4[_0x51afdc(0x1be)]];if(_0x34971a&&_0x34971a[_0x51afdc(0x157)]===_0x1b662f[_0x51afdc(0x1c8)])return _0x2352d4;}return(_0x2352d4==null?void 0x0:_0x2352d4[_0x51afdc(0x157)])===_0x51afdc(0x1ca)&&Array[_0x51afdc(0x28a)](_0x2352d4['rules'])?{'type':_0x51afdc(0x1ca),'rules':_0x2352d4[_0x51afdc(0x281)][_0x51afdc(0x385)](_0x15ecd6=>!!_0x47ef6e['fields'][_0x15ecd6[_0x51afdc(0x1be)]])}:(_0x2352d4==null?void 0x0:_0x2352d4['type'])===_0x51afdc(0x1e6)&&typeof _0x2352d4[_0x51afdc(0x28c)]=='string'&&_0x2352d4[_0x51afdc(0x28c)]['trim']()?{'type':_0x51afdc(0x1e6),'color':_0x2352d4[_0x51afdc(0x28c)]}:{'type':'custom','color':_0x51afdc(0x253)};}[_0x1141d6(0x39b)](_0xfc55e7,_0x583803,_0x308c8a){const _0x4f3abd=_0x1141d6;let _0x23fce9=_0x308c8a['displayColor'];if((_0x23fce9==null?void 0x0:_0x23fce9['type'])===_0x4f3abd(0x1ca)){let _0x5b4c72=_0x23fce9[_0x4f3abd(0x281)][_0x4f3abd(0x236)](_0x3bf9c7=>this[_0x4f3abd(0x3c3)](_0xfc55e7,_0x583803,_0x3bf9c7));if(_0x5b4c72)return _0x5b4c72[_0x4f3abd(0x28c)];}if((_0x23fce9==null?void 0x0:_0x23fce9[_0x4f3abd(0x157)])===_0x4f3abd(0x177)){let _0x3074ad=_0xfc55e7[_0x4f3abd(0x2e2)][_0x23fce9[_0x4f3abd(0x1be)]];if(_0x3074ad){var _0x1c92aa;let _0x22ce71=_0x583803[_0x4f3abd(0x3aa)][_0x23fce9[_0x4f3abd(0x1be)]],_0x4b0229=Array[_0x4f3abd(0x28a)](_0x22ce71)?_0x22ce71[0x0]:_0x22ce71,_0x58fef4=_0x4b0229==null||(_0x1c92aa=J(_0x3074ad,String(_0x4b0229)))==null?void 0x0:_0x1c92aa[_0x4f3abd(0x28c)];if(_0x58fef4)return _0x58fef4;}}return(_0x23fce9==null?void 0x0:_0x23fce9[_0x4f3abd(0x157)])==='custom'?_0x23fce9[_0x4f3abd(0x28c)]:_0x4f3abd(0x253);}[_0x1141d6(0x3c3)](_0x1bef26,_0x369802,_0x4808f0){const _0x4038e8=_0x1141d6;let _0x54ccdb=_0x1bef26[_0x4038e8(0x2e2)][_0x4808f0[_0x4038e8(0x1be)]];return _0x54ccdb?ft(_0x369802[_0x4038e8(0x3aa)][_0x54ccdb['id']],_0x4808f0[_0x4038e8(0x23b)],_0x4808f0[_0x4038e8(0x295)],_0x54ccdb,{'dateMode':_0x4808f0[_0x4038e8(0x31e)]}):!0x1;}[_0x1141d6(0x170)](_0x1b3f8f,_0x3cb169){const _0xa9b703=_0x1141d6;var _0x2be1ec,_0x3664b4,_0x222c63;let _0x4efe7a=this[_0xa9b703(0x36d)](_0x1b3f8f,_0x3cb169),_0x95a7e8=this[_0xa9b703(0x1f7)](_0x1b3f8f,(_0x2be1ec=_0x3cb169[_0xa9b703(0x1f0)])==null?{}:_0x2be1ec),_0x522026=this[_0xa9b703(0x2fd)](_0x1b3f8f,_0x3cb169);return{'type':_0x479acb[_0xa9b703(0x160)],'fields':_0x522026,'rows':_0x4efe7a,'groups':this[_0xa9b703(0x283)](_0x1b3f8f,_0x3cb169,_0x4efe7a),'coverFieldId':_0x95a7e8[_0xa9b703(0x3cc)],'cardLayout':(_0x3664b4=_0x95a7e8['cardLayout'])==null?_0xa9b703(0x3ae):_0x3664b4,'showFieldNames':_0x95a7e8[_0xa9b703(0x3eb)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x1b3f8f,_0x3cb169,_0x95a7e8),'cardSize':(_0x222c63=_0x95a7e8[_0xa9b703(0x2cb)])==null?_0xa9b703(0x21b):_0x222c63,'cards':_0x4efe7a[_0xa9b703(0x220)](_0x318025=>({'recordId':_0x318025[_0xa9b703(0x201)],'title':this[_0xa9b703(0x138)](_0x1b3f8f,_0x318025,_0x95a7e8[_0xa9b703(0x3c2)][_0xa9b703(0x35a)]),'values':_0x318025[_0xa9b703(0x3aa)]}))};}[_0x1141d6(0x1f7)](_0x2facac,_0xd9d942){const _0x2b92f4=_0x1141d6;var _0x18f294,_0x5920d9;let _0x480525=(_0x18f294=_0xd9d942['card'])==null?{'fieldIds':[]}:_0x18f294,_0x8b20e5=_0x480525[_0x2b92f4(0x35a)]&&_0x2facac[_0x2b92f4(0x2e2)][_0x480525[_0x2b92f4(0x35a)]]?_0x480525[_0x2b92f4(0x35a)]:un(_0x2facac),_0xc543d8=this[_0x2b92f4(0x145)](_0x2facac,_0xd9d942),_0x74bf1d=_0xd9d942[_0x2b92f4(0x2cb)]===_0x2b92f4(0x3b4)||_0xd9d942[_0x2b92f4(0x2cb)]===_0x2b92f4(0x362)?_0xd9d942[_0x2b92f4(0x2cb)]:_0x2b92f4(0x21b);return{..._0xd9d942,'coverFieldId':_0xc543d8,'cardLayout':_0xd9d942['cardLayout']===_0x2b92f4(0x18f)?'compose':'normal','showFieldNames':_0xd9d942[_0x2b92f4(0x3eb)]!==!0x1,'fieldSettings':Object[_0x2b92f4(0x176)](Object['entries']((_0x5920d9=_0xd9d942[_0x2b92f4(0x3c9)])==null?{}:_0x5920d9)[_0x2b92f4(0x385)](([_0x4b7289])=>!!_0x2facac[_0x2b92f4(0x2e2)][_0x4b7289])),'card':{..._0x480525,'titleFieldId':_0x8b20e5,'coverFieldId':_0xc543d8,'fieldIds':Array[_0x2b92f4(0x28a)](_0x480525[_0x2b92f4(0x146)])?_0x480525[_0x2b92f4(0x146)]:[]},'cardSize':_0x74bf1d};}['_resolveGalleryCoverFieldId'](_0x389c60,_0x18df99){const _0x3a75b=_0x1141d6;var _0x2410c9,_0xea6307,_0x343ea6;let _0x25c9dd=(_0x2410c9=(_0xea6307=_0x18df99[_0x3a75b(0x3cc)])==null?(_0x343ea6=_0x18df99[_0x3a75b(0x3c2)])==null?void 0x0:_0x343ea6['coverFieldId']:_0xea6307)==null?null:_0x2410c9;if(!_0x25c9dd)return null;let _0x2637ce=_0x389c60[_0x3a75b(0x2e2)][_0x25c9dd];return _0x2637ce&&this[_0x3a75b(0x1b0)](_0x2637ce)[_0x3a75b(0x139)]?_0x2637ce['id']:null;}[_0x1141d6(0x36a)](_0x3cc819,_0x1dcf83,_0x473cac){const _0x4efc8e=_0x1141d6;var _0x3a9a6d,_0x4c7309,_0x56011a,_0x116321,_0x5e667f,_0x25229a,_0x4380e4;let _0x5095c1=(_0x3a9a6d=_0x473cac['fieldSettings'])==null?{}:_0x3a9a6d,_0x2ba514=(_0x4c7309=(_0x56011a=_0x473cac[_0x4efc8e(0x3c2)])==null?void 0x0:_0x56011a[_0x4efc8e(0x35a)])==null?un(_0x3cc819):_0x4c7309,_0x3b4360=(_0x116321=(_0x5e667f=_0x473cac[_0x4efc8e(0x3cc)])==null?(_0x25229a=_0x473cac[_0x4efc8e(0x3c2)])==null?void 0x0:_0x25229a[_0x4efc8e(0x3cc)]:_0x5e667f)==null?null:_0x116321,_0x1c5db9=!((_0x4380e4=_0x473cac[_0x4efc8e(0x3c2)])==null||(_0x4380e4=_0x4380e4[_0x4efc8e(0x146)])==null)&&_0x4380e4[_0x4efc8e(0x3e1)]?_0x473cac['card'][_0x4efc8e(0x146)]:dn(_0x3cc819,[_0x2ba514,_0x3b4360,_0x3cc819[_0x4efc8e(0x3a0)]]);return _0x1c5db9[_0x4efc8e(0x385)](_0x47f618=>{const _0x39add7=_0x4efc8e;var _0x33a423,_0x2af909;let _0x5d0f69=_0x3cc819[_0x39add7(0x2e2)][_0x47f618];return!(!_0x5d0f69||_0x5d0f69['id']===_0x2ba514||_0x5d0f69['id']===_0x3b4360||!((_0x33a423=_0x1dcf83[_0x39add7(0x3c9)])==null||(_0x33a423=_0x33a423[_0x47f618])==null)&&_0x33a423['hidden']||(_0x2af909=_0x5095c1[_0x47f618])!=null&&_0x2af909[_0x39add7(0x311)]);})[_0x4efc8e(0x3b6)]((_0x44412c,_0xd09205)=>{const _0x398655=_0x4efc8e;var _0x39f766,_0x55cb6c,_0x28000c,_0x165797;return((_0x39f766=(_0x55cb6c=_0x5095c1[_0x44412c])==null?void 0x0:_0x55cb6c[_0x398655(0x398)])==null?_0x1c5db9[_0x398655(0x24a)](_0x44412c):_0x39f766)-((_0x28000c=(_0x165797=_0x5095c1[_0xd09205])==null?void 0x0:_0x165797[_0x398655(0x398)])==null?_0x1c5db9['indexOf'](_0xd09205):_0x28000c);});}[_0x1141d6(0x2fd)](_0xc1e5b5,_0x44d89c){const _0x513f59=_0x1141d6;var _0x15a81d;return((_0x15a81d=_0x44d89c['fieldOrder'])!=null&&_0x15a81d[_0x513f59(0x3e1)]?_0x44d89c['fieldOrder']:_0xc1e5b5[_0x513f59(0x2ad)])[_0x513f59(0x1a8)](_0x23acf1=>{const _0x4e4613=_0x513f59;var _0x376074,_0xbd74e9;let _0x21550a=_0xc1e5b5[_0x4e4613(0x2e2)][_0x23acf1],_0x28dd98=(_0x376074=(_0xbd74e9=_0x44d89c['fieldSettings'])==null?void 0x0:_0xbd74e9[_0x23acf1])==null?{}:_0x376074;return!_0x21550a||_0x28dd98[_0x4e4613(0x311)]?[]:[{'id':_0x21550a['id'],'name':_0x21550a['name'],'description':_0x21550a[_0x4e4613(0x2bc)],'type':_0x21550a[_0x4e4613(0x157)],'config':_0x21550a[_0x4e4613(0x1f0)],'width':_0x28dd98[_0x4e4613(0x150)],'setting':_0x28dd98}];});}[_0x1141d6(0x36d)](_0x3bf33c,_0x583f5a){const _0x50d8de=_0x1141d6;var _0xc3988e,_0x489ea5,_0x51a43a;return T(_0x50d8de(0x34a),()=>{const _0x440be4=_0x50d8de;var _0x26c072,_0x3a7fda,_0x41fe3d,_0x8aef76;let _0xd99d4e=this[_0x440be4(0x29f)](_0x3bf33c),_0x2d3c2b=this['_viewRowsCacheKey'](_0x3bf33c['id'],_0x583f5a),_0x596b7b=this['_getCellRevision'](_0x3bf33c['id']),_0x1f60b8=this[_0x440be4(0x31b)][_0x440be4(0x13c)](_0x2d3c2b);if(_0x1f60b8&&_0x1f60b8[_0x440be4(0x197)]===this['_globalRevision']&&_0x1f60b8[_0x440be4(0x403)]===this['_getTableRevision'](_0x3bf33c['id'])){if(_0x1f60b8['cellRevision']===_0x596b7b&&_0x1f60b8[_0x440be4(0x26e)]===_0xd99d4e)return _0x1f60b8[_0x440be4(0x37a)];if(_0x1f60b8[_0x440be4(0x3d4)]!==_0x596b7b&&!this[_0x440be4(0x30c)](_0x3bf33c['id'],_0x1f60b8[_0x440be4(0x3d4)],_0x596b7b,this[_0x440be4(0x37f)](_0x583f5a))){let _0x2790fb=_0x1f60b8[_0x440be4(0x37a)]===_0x1f60b8[_0x440be4(0x26e)]?_0xd99d4e:this[_0x440be4(0x2bd)](_0x1f60b8[_0x440be4(0x37a)],_0xd99d4e);if(_0x2790fb)return this[_0x440be4(0x31b)]['set'](_0x2d3c2b,{..._0x1f60b8,'rows':_0x2790fb,'baseRows':_0xd99d4e,'cellRevision':_0x596b7b}),_0x2790fb;}}let _0x2709f6=T(_0x440be4(0x25f),()=>this[_0x440be4(0x34c)](_0x3bf33c,_0x583f5a,this[_0x440be4(0x18d)](_0x3bf33c,_0x583f5a,_0xd99d4e)),{'tableId':_0x3bf33c['id'],'viewId':_0x583f5a==null?void 0x0:_0x583f5a['id'],'viewType':_0x583f5a==null?void 0x0:_0x583f5a[_0x440be4(0x157)],'rows':_0xd99d4e[_0x440be4(0x3e1)],'filters':(_0x26c072=_0x583f5a==null||(_0x3a7fda=_0x583f5a['filter'])==null?void 0x0:_0x3a7fda['conditions']['length'])==null?0x0:_0x26c072,'sorts':(_0x41fe3d=_0x583f5a==null||(_0x8aef76=_0x583f5a[_0x440be4(0x3b6)])==null?void 0x0:_0x8aef76[_0x440be4(0x3e1)])==null?0x0:_0x41fe3d});return this[_0x440be4(0x31b)]['set'](_0x2d3c2b,{'table':_0x3bf33c,'rows':_0x2709f6,'baseRows':_0xd99d4e,'globalRevision':this[_0x440be4(0x225)],'tableRevision':this[_0x440be4(0x2af)](_0x3bf33c['id']),'cellRevision':_0x596b7b}),_0x2709f6;},{'tableId':_0x3bf33c['id'],'viewId':_0x583f5a==null?void 0x0:_0x583f5a['id'],'viewType':_0x583f5a==null?void 0x0:_0x583f5a[_0x50d8de(0x157)],'records':(_0xc3988e=(_0x489ea5=_0x3bf33c[_0x50d8de(0x19d)])==null?void 0x0:_0x489ea5[_0x50d8de(0x3e1)])==null?Object[_0x50d8de(0x1ef)]((_0x51a43a=_0x3bf33c[_0x50d8de(0x162)])==null?{}:_0x51a43a)[_0x50d8de(0x3e1)]:_0xc3988e});}[_0x1141d6(0x29f)](_0x2a1d8b){const _0x54f07d=_0x1141d6;var _0x4e10ad,_0x1cef77,_0x274db1;return T('BaseProjection.projectTableRows',()=>{const _0x466d4b=_0x33c5;var _0x3ffc12;let _0x35dd47=this[_0x466d4b(0x335)](_0x2a1d8b['id']),_0x7d468a=this[_0x466d4b(0x2b1)][_0x466d4b(0x13c)](_0x2a1d8b['id']);if(_0x7d468a&&_0x7d468a[_0x466d4b(0x197)]===this[_0x466d4b(0x225)]&&_0x7d468a['tableRevision']===this[_0x466d4b(0x2af)](_0x2a1d8b['id'])){if(_0x7d468a[_0x466d4b(0x3d4)]===_0x35dd47&&_0x7d468a[_0x466d4b(0x305)]===_0x2a1d8b)return _0x7d468a['rows'];let _0x270b13=this[_0x466d4b(0x2ff)](_0x2a1d8b,_0x7d468a,_0x35dd47);if(_0x270b13)return _0x270b13;}Sn(_0x2a1d8b)||E(_0x2a1d8b);let _0x371393=(_0x3ffc12=_0x2a1d8b[_0x466d4b(0x19d)])!=null&&_0x3ffc12['length']?_0x2a1d8b['recordOrder']:En(_0x2a1d8b[_0x466d4b(0x162)]),_0x32e82b=T(_0x466d4b(0x326),()=>{const _0x47b57a=_0x466d4b;let _0x2ec927=[];for(let _0x489d7c of _0x371393){let _0x261c1b=_0x2a1d8b['records'][_0x489d7c];if(!_0x261c1b)continue;let _0x9507ff={};for(let _0x26260c of _0x2a1d8b[_0x47b57a(0x2ad)])_0x9507ff[_0x26260c]=Ee(_0x2a1d8b,_0x261c1b['id'],_0x26260c);_0x2ec927[_0x47b57a(0x1a6)]({'recordId':_0x261c1b['id'],'values':_0x9507ff});}return _0x2ec927;},{'tableId':_0x2a1d8b['id'],'records':_0x371393[_0x466d4b(0x3e1)],'fields':_0x2a1d8b[_0x466d4b(0x2ad)]['length']});return this[_0x466d4b(0x2b1)]['set'](_0x2a1d8b['id'],{'table':_0x2a1d8b,'rows':_0x32e82b,'rowIndexById':xn(_0x32e82b),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x466d4b(0x2af)](_0x2a1d8b['id']),'cellRevision':_0x35dd47}),_0x32e82b;},{'tableId':_0x2a1d8b['id'],'records':(_0x4e10ad=(_0x1cef77=_0x2a1d8b[_0x54f07d(0x19d)])==null?void 0x0:_0x1cef77['length'])==null?Object[_0x54f07d(0x1ef)]((_0x274db1=_0x2a1d8b[_0x54f07d(0x162)])==null?{}:_0x274db1)[_0x54f07d(0x3e1)]:_0x4e10ad,'fields':_0x2a1d8b[_0x54f07d(0x2ad)]['length']});}[_0x1141d6(0x2ff)](_0x11f254,_0x2d3407,_0xb90ed6){const _0x2339f3=_0x1141d6;var _0x47e76c,_0xc4ad93;let _0x32f8e3=((_0x47e76c=this[_0x2339f3(0x190)]['get'](_0x11f254['id']))==null?[]:_0x47e76c)[_0x2339f3(0x385)](_0x440f24=>_0x440f24[_0x2339f3(0x206)]>_0x2d3407[_0x2339f3(0x3d4)]&&_0x440f24['revision']<=_0xb90ed6);if(!_0x32f8e3[_0x2339f3(0x3e1)])return _0x2d3407['table']===_0x11f254?_0x2d3407['rows']:null;let _0x5f1092=_0x2d3407[_0x2339f3(0x37a)],_0x264dd7=new Map();for(let _0x35e0be of _0x32f8e3){let _0x5064d0=_0x264dd7['get'](_0x35e0be['recordId']);_0x5064d0||(_0x5064d0=new Set(),_0x264dd7[_0x2339f3(0x353)](_0x35e0be[_0x2339f3(0x201)],_0x5064d0)),_0x5064d0['add'](_0x35e0be[_0x2339f3(0x1be)]);}for(let [_0x51f697,_0x5d7ac5]of _0x264dd7){if(!_0x11f254[_0x2339f3(0x162)][_0x51f697])return null;let _0xa53bb3=_0x2d3407['rowIndexById']['get'](_0x51f697);if(_0xa53bb3==null)return null;_0x5f1092===_0x2d3407[_0x2339f3(0x37a)]&&(_0x5f1092=[..._0x2d3407['rows']]);let _0x2b3ff1=_0x5f1092[_0xa53bb3],_0x31c3a5={..._0x2b3ff1[_0x2339f3(0x3aa)]};_0x5d7ac5['forEach'](_0x2cda78=>{_0x31c3a5[_0x2cda78]=Ee(_0x11f254,_0x51f697,_0x2cda78);}),_0x5f1092[_0xa53bb3]={..._0x2b3ff1,'values':_0x31c3a5};}let _0x124d99={'table':_0x11f254,'rows':_0x5f1092,'rowIndexById':_0x2d3407['rowIndexById'],'globalRevision':this[_0x2339f3(0x225)],'tableRevision':this['_getTableRevision'](_0x11f254['id']),'cellRevision':_0xb90ed6};return this[_0x2339f3(0x2b1)][_0x2339f3(0x353)](_0x11f254['id'],_0x124d99),this[_0x2339f3(0x190)]['set'](_0x11f254['id'],((_0xc4ad93=this['_cellInvalidations'][_0x2339f3(0x13c)](_0x11f254['id']))==null?[]:_0xc4ad93)[_0x2339f3(0x385)](_0x230e3b=>_0x230e3b[_0x2339f3(0x206)]>Math[_0x2339f3(0x248)](0x0,_0xb90ed6-0x100))),_0x5f1092;}[_0x1141d6(0x2bd)](_0x5c9b3e,_0x1e0d38){const _0x83a883=_0x1141d6;let _0x208bb1=new Map(_0x1e0d38['map'](_0x1624f6=>[_0x1624f6[_0x83a883(0x201)],_0x1624f6])),_0x42b42d=!0x1,_0x3dda6f=_0x5c9b3e['map'](_0x5c864d=>{const _0x2b8594=_0x83a883;let _0x495879=_0x208bb1['get'](_0x5c864d[_0x2b8594(0x201)]);return _0x495879?_0x495879===_0x5c864d?_0x5c864d:(_0x42b42d=!0x0,_0x495879):_0x5c864d;});return _0x42b42d?_0x3dda6f:_0x5c9b3e;}[_0x1141d6(0x30c)](_0x3e2ec3,_0x3963c0,_0x33140e,_0x48ba17){const _0x28e40c=_0x1141d6;var _0x5e2f07;return!_0x48ba17['size']||_0x3963c0===_0x33140e?!0x1:_0x33140e-_0x3963c0>0x100?!0x0:((_0x5e2f07=this[_0x28e40c(0x190)]['get'](_0x3e2ec3))==null?[]:_0x5e2f07)[_0x28e40c(0x2a0)](_0x5e44c0=>_0x5e44c0[_0x28e40c(0x206)]>_0x3963c0&&_0x5e44c0[_0x28e40c(0x206)]<=_0x33140e&&_0x48ba17[_0x28e40c(0x325)](_0x5e44c0[_0x28e40c(0x1be)]));}[_0x1141d6(0x37f)](_0x359242){const _0x30a9fb=_0x1141d6;var _0x121084,_0x53d0ce;let _0x8510d2=new Set();return _0x359242==null||(_0x121084=_0x359242['filter'])==null||_0x121084[_0x30a9fb(0x20a)][_0x30a9fb(0x2e8)](_0x8b3c9=>_0x8510d2[_0x30a9fb(0x1e2)](_0x8b3c9[_0x30a9fb(0x1be)])),_0x359242==null||(_0x53d0ce=_0x359242[_0x30a9fb(0x3b6)])==null||_0x53d0ce[_0x30a9fb(0x2e8)](_0x14c87c=>_0x8510d2['add'](_0x14c87c[_0x30a9fb(0x1be)])),_0x8510d2;}[_0x1141d6(0x3ac)](_0x6bef08){const _0x14d631=_0x1141d6;var _0x3214ad;let _0x33a7eb=this[_0x14d631(0x37f)](_0x6bef08);return(_0x3214ad=_0x6bef08[_0x14d631(0x18c)])==null||_0x3214ad[_0x14d631(0x2e8)](_0x6349e0=>_0x33a7eb[_0x14d631(0x1e2)](_0x6349e0['fieldId'])),_0x33a7eb;}[_0x1141d6(0x18d)](_0xf3ca9d,_0x351aad,_0x5da86b){const _0x40b497=_0x1141d6;let _0x2c5a9b=_0x351aad==null?void 0x0:_0x351aad[_0x40b497(0x385)];if(!(_0x2c5a9b!=null&&_0x2c5a9b[_0x40b497(0x20a)][_0x40b497(0x3e1)]))return _0x5da86b;let _0x26afcd=_0x2c5a9b[_0x40b497(0x20a)]['filter'](_0x429e25=>!Kn(_0x429e25));return _0x26afcd[_0x40b497(0x3e1)]?_0x5da86b['filter'](_0x418214=>{const _0x14a95d=_0x40b497;if(_0x2c5a9b[_0x14a95d(0x408)]===_0x2849da['OR']){for(let _0x1142a1 of _0x26afcd){let _0x42a66f=_0xf3ca9d[_0x14a95d(0x2e2)][_0x1142a1[_0x14a95d(0x1be)]];if(!_0x42a66f||this[_0x14a95d(0x2c4)][_0x14a95d(0x13c)](_0x42a66f[_0x14a95d(0x157)])[_0x14a95d(0x385)](_0x418214[_0x14a95d(0x3aa)][_0x42a66f['id']],_0x1142a1['operator'],_0x1142a1['operand'],_0x42a66f))return!0x0;}return!0x1;}for(let _0x72669 of _0x26afcd){let _0x3e3a07=_0xf3ca9d['fields'][_0x72669[_0x14a95d(0x1be)]];if(_0x3e3a07&&!this[_0x14a95d(0x2c4)][_0x14a95d(0x13c)](_0x3e3a07[_0x14a95d(0x157)])[_0x14a95d(0x385)](_0x418214[_0x14a95d(0x3aa)][_0x3e3a07['id']],_0x72669[_0x14a95d(0x23b)],_0x72669[_0x14a95d(0x295)],_0x3e3a07))return!0x1;}return!0x0;}):_0x5da86b;}[_0x1141d6(0x34c)](_0x311c9e,_0xc4c93a,_0x181142){const _0x1d8ad5=_0x1141d6;var _0x5e0b20;let _0xf4f962=(_0x5e0b20=_0xc4c93a==null?void 0x0:_0xc4c93a[_0x1d8ad5(0x3b6)])==null?[]:_0x5e0b20;if(!_0xf4f962[_0x1d8ad5(0x3e1)])return _0x181142;let _0x26ffae=_0xf4f962['flatMap'](_0x9875a4=>{const _0x3b2b17=_0x1d8ad5;let _0x567e81=_0x311c9e[_0x3b2b17(0x2e2)][_0x9875a4[_0x3b2b17(0x1be)]];return _0x567e81?[{..._0x9875a4,'field':_0x567e81}]:[];});return _0x26ffae[_0x1d8ad5(0x3e1)]?this[_0x1d8ad5(0x2ec)](_0x26ffae)?this[_0x1d8ad5(0x17a)](_0x26ffae,_0x181142):[..._0x181142][_0x1d8ad5(0x3b6)]((_0x221cce,_0x1c0bf7)=>{const _0xe34656=_0x1d8ad5;for(let _0x2a8a6e of _0x26ffae){let _0x403b0f=_0x2a8a6e[_0xe34656(0x293)],_0x2803c4=this[_0xe34656(0x2c4)][_0xe34656(0x13c)](_0x403b0f[_0xe34656(0x157)])['compare'](_0x221cce[_0xe34656(0x3aa)][_0x403b0f['id']],_0x1c0bf7['values'][_0x403b0f['id']],_0x403b0f);if(_0x2803c4!==0x0)return _0x2a8a6e[_0xe34656(0x323)]===_0xec9d2c[_0xe34656(0x3ef)]?-_0x2803c4:_0x2803c4;}return 0x0;}):_0x181142;}[_0x1141d6(0x2ec)](_0x115012){const _0x4371f8=_0x1141d6;return _0x115012[_0x4371f8(0x256)](_0xc8aea2=>vn[_0x4371f8(0x325)](_0xc8aea2[_0x4371f8(0x293)][_0x4371f8(0x157)]));}[_0x1141d6(0x17a)](_0x34df6d,_0x5d57a5){const _0x226c2d=_0x1141d6;return _0x5d57a5[_0x226c2d(0x220)]((_0x3f16fa,_0x8a1772)=>({'row':_0x3f16fa,'index':_0x8a1772,'keys':_0x34df6d[_0x226c2d(0x220)](_0x2c0a03=>_0x3f16fa[_0x226c2d(0x3aa)][_0x2c0a03['fieldId']])}))['sort']((_0x14c928,_0x332f9c)=>{const _0x1dd34c=_0x226c2d;for(let _0x5ddf71=0x0;_0x5ddf71<_0x34df6d[_0x1dd34c(0x3e1)];_0x5ddf71++){let _0x362ad4=Gn(_0x14c928['keys'][_0x5ddf71],_0x332f9c[_0x1dd34c(0x1ef)][_0x5ddf71]);if(_0x362ad4!==0x0)return _0x34df6d[_0x5ddf71][_0x1dd34c(0x323)]===_0xec9d2c[_0x1dd34c(0x3ef)]?-_0x362ad4:_0x362ad4;}return _0x14c928[_0x1dd34c(0x148)]-_0x332f9c['index'];})[_0x226c2d(0x220)](_0x4930e8=>_0x4930e8[_0x226c2d(0x198)]);}[_0x1141d6(0x283)](_0x217a05,_0x43515d,_0x4088f4){const _0x3b2f28=_0x1141d6;var _0x567c94,_0x3fa10f;return T('BaseProjection.projectGroups',()=>{const _0x14a82c=_0x33c5;var _0x15187b;if(!((_0x15187b=_0x43515d[_0x14a82c(0x18c)])!=null&&_0x15187b[_0x14a82c(0x3e1)]))return[];let _0x5dfa57=_0x43515d[_0x14a82c(0x18c)][_0x14a82c(0x385)](_0xc291e2=>_0x217a05[_0x14a82c(0x2e2)][_0xc291e2[_0x14a82c(0x1be)]]);if(!_0x5dfa57[_0x14a82c(0x3e1)])return[];let _0xf3ef67=this[_0x14a82c(0x3d5)](_0x217a05['id'],_0x43515d,_0x5dfa57),_0x2c43a9=this['_getCellRevision'](_0x217a05['id']),_0x561b6b=this[_0x14a82c(0x36f)][_0x14a82c(0x13c)](_0xf3ef67);if(_0x561b6b&&_0x561b6b[_0x14a82c(0x197)]===this[_0x14a82c(0x225)]&&_0x561b6b[_0x14a82c(0x403)]===this[_0x14a82c(0x2af)](_0x217a05['id'])){if(_0x561b6b[_0x14a82c(0x3d4)]===_0x2c43a9&&_0x561b6b[_0x14a82c(0x37a)]===_0x4088f4)return _0x561b6b[_0x14a82c(0x151)];if(_0x561b6b[_0x14a82c(0x3d4)]!==_0x2c43a9&&!this[_0x14a82c(0x30c)](_0x217a05['id'],_0x561b6b[_0x14a82c(0x3d4)],_0x2c43a9,this[_0x14a82c(0x3ac)](_0x43515d)))return this['_projectedGroupsCache'][_0x14a82c(0x353)](_0xf3ef67,{..._0x561b6b,'rows':_0x4088f4,'cellRevision':_0x2c43a9}),_0x561b6b['groups'];}let _0x796187=new Map();for(let _0x4dfd9e of _0x4088f4){let _0x467251=_0x796187,_0x5bcd1f='';for(let _0x284310=0x0;_0x284310<_0x5dfa57[_0x14a82c(0x3e1)];_0x284310++){let _0x47679b=_0x5dfa57[_0x284310],_0x3f3703=_0x4dfd9e[_0x14a82c(0x3aa)][_0x47679b[_0x14a82c(0x1be)]],_0xaaee8f=bn(_0x3f3703),_0x5d8630=_0x47679b['fieldId']+'\x00'+_0xaaee8f,_0x18a005=_0x5bcd1f+'/'+_0x47679b[_0x14a82c(0x1be)]+':'+_0xaaee8f,_0x40cd1a=_0x467251[_0x14a82c(0x13c)](_0x5d8630);_0x40cd1a||(_0x40cd1a={'key':_0xaaee8f,'value':_0x3f3703,'path':_0x18a005,'label':_0xaaee8f||_0x14a82c(0x2cf),'fieldId':_0x47679b[_0x14a82c(0x1be)],'level':_0x284310,'recordIds':[],'children':new Map()},_0x467251[_0x14a82c(0x353)](_0x5d8630,_0x40cd1a)),_0x40cd1a[_0x14a82c(0x267)][_0x14a82c(0x1a6)](_0x4dfd9e['recordId']),_0x467251=_0x40cd1a[_0x14a82c(0x3be)],_0x5bcd1f=_0x18a005;}}let _0xa11d56=this[_0x14a82c(0x1c9)](_0x5dfa57,_0x796187,0x0);return this[_0x14a82c(0x36f)][_0x14a82c(0x353)](_0xf3ef67,{'table':_0x217a05,'rows':_0x4088f4,'groups':_0xa11d56,'globalRevision':this[_0x14a82c(0x225)],'tableRevision':this[_0x14a82c(0x2af)](_0x217a05['id']),'cellRevision':_0x2c43a9}),_0xa11d56;},{'tableId':_0x217a05['id'],'viewId':_0x43515d['id'],'viewType':_0x43515d[_0x3b2f28(0x157)],'rows':_0x4088f4[_0x3b2f28(0x3e1)],'groupFields':(_0x567c94=(_0x3fa10f=_0x43515d['group'])==null?void 0x0:_0x3fa10f['length'])==null?0x0:_0x567c94});}[_0x1141d6(0x1c9)](_0x55999c,_0x1cb034,_0x716611){const _0x368462=_0x1141d6;var _0x4c10aa;let _0x4ff92c=Array[_0x368462(0x1b2)](_0x1cb034[_0x368462(0x3aa)]()),_0x5201f7=(_0x4c10aa=_0x55999c[_0x716611])==null?void 0x0:_0x4c10aa[_0x368462(0x323)];return _0x5201f7&&_0x4ff92c[_0x368462(0x3b6)]((_0x1f22a9,_0x16b8ad)=>{const _0xd8097b=_0x368462;let _0x105928=_0x1f22a9[_0xd8097b(0x2fc)][_0xd8097b(0x1a0)](_0x16b8ad['key']);return _0x5201f7===_0xec9d2c[_0xd8097b(0x3ef)]?-_0x105928:_0x105928;}),_0x4ff92c[_0x368462(0x220)](_0xd0fe24=>({'key':_0xd0fe24[_0x368462(0x2fc)],'value':_0xd0fe24[_0x368462(0x20d)],'path':_0xd0fe24['path'],'label':_0xd0fe24[_0x368462(0x246)],'fieldId':_0xd0fe24[_0x368462(0x1be)],'level':_0xd0fe24[_0x368462(0x282)],'recordIds':_0xd0fe24['recordIds'],'children':this[_0x368462(0x1c9)](_0x55999c,_0xd0fe24[_0x368462(0x3be)],_0x716611+0x1)}));}['_title'](_0x38ebcc,_0xadf005,_0x1e48ee){const _0x325ce1=_0x1141d6;let _0x4afcb0=_0x1e48ee==null?_0x38ebcc[_0x325ce1(0x3a0)]:_0x1e48ee,_0x5ea8fc=_0xadf005['values'][_0x4afcb0];return _0x5ea8fc==null?'':String(_0x5ea8fc);}[_0x1141d6(0x188)](_0x52a903){const _0x642e1a=_0x1141d6;if(Array[_0x642e1a(0x28a)](_0x52a903))return _0x52a903[_0x642e1a(0x220)](String);if(typeof _0x52a903==_0x642e1a(0x222)&&_0x52a903)return[_0x52a903];}[_0x1141d6(0x1b0)](_0xd576dd){const _0x535bae=_0x1141d6;return this[_0x535bae(0x2c4)][_0x535bae(0x13c)](_0xd576dd[_0x535bae(0x157)])[_0x535bae(0x3a1)](_0xd576dd);}};yn=U([H(0x0,_0x4d53a3(en))],yn);function bn(_0x3f0074){return _0x3f0074==null?'':String(_0x3f0074);}function xn(_0x45a54c){const _0x314fe5=_0x1141d6;return new Map(_0x45a54c[_0x314fe5(0x220)]((_0x3b32f5,_0x1a00d3)=>[_0x3b32f5[_0x314fe5(0x201)],_0x1a00d3]));}function Sn(_0x4443a7){const _0x32501a=_0x1141d6;return!!(Array[_0x32501a(0x28a)](_0x4443a7['recordOrder'])&&_0x4443a7[_0x32501a(0x241)]&&_0x4443a7[_0x32501a(0x378)]&&_0x4443a7['colIndex']&&_0x4443a7[_0x32501a(0x18b)]&&_0x4443a7['cellData']);}function Cn(_0x4f3cd9){const _0x5999fb=_0x1141d6;return _0x4f3cd9!=null&&_0x4f3cd9[_0x5999fb(0x20a)][_0x5999fb(0x3e1)]?{'conjunction':_0x4f3cd9['conjunction'],'conditions':_0x4f3cd9['conditions'][_0x5999fb(0x220)](_0x2151a1=>({'fieldId':_0x2151a1[_0x5999fb(0x1be)],'operator':_0x2151a1[_0x5999fb(0x23b)],'operand':_0x2151a1['operand']}))}:null;}function wn(_0x23cf09){const _0x5f4b37=_0x1141d6;return _0x23cf09!=null&&_0x23cf09[_0x5f4b37(0x3e1)]?_0x23cf09[_0x5f4b37(0x220)](_0x21742b=>({'fieldId':_0x21742b[_0x5f4b37(0x1be)],'direction':_0x21742b['direction']})):null;}function Tn(_0x4c27de){const _0x1f28fc=_0x1141d6;if(typeof _0x4c27de!=_0x1f28fc(0x371)||!_0x4c27de){var _0x4c72dd;return(_0x4c72dd=JSON[_0x1f28fc(0x39c)](_0x4c27de))==null?'undefined':_0x4c72dd;}if(Array['isArray'](_0x4c27de))return'['+_0x4c27de[_0x1f28fc(0x220)](Tn)['join'](',')+']';let _0x2eaeeb=_0x4c27de;return'{'+Object[_0x1f28fc(0x1ef)](_0x2eaeeb)[_0x1f28fc(0x3b6)]()[_0x1f28fc(0x220)](_0x1774f2=>JSON[_0x1f28fc(0x39c)](_0x1774f2)+':'+Tn(_0x2eaeeb[_0x1774f2]))['join'](',')+'}';}function En(_0x44767c){const _0x2340e4=_0x1141d6;let _0x2d0605=Object[_0x2340e4(0x3aa)](_0x44767c)[_0x2340e4(0x3b6)]((_0x1e4c96,_0x500449)=>_0x1e4c96[_0x2340e4(0x2c0)][_0x2340e4(0x1a0)](_0x500449['orderKey'])),_0x4d9069=[];for(let _0x540eab of _0x2d0605)_0x4d9069['push'](_0x540eab['id']);return _0x4d9069;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x571e3d){const _0x14f464=_0x1141d6;return{'weekdays':Array['isArray'](_0x571e3d==null?void 0x0:_0x571e3d[_0x14f464(0x3c7)])&&_0x571e3d[_0x14f464(0x3c7)][_0x14f464(0x3e1)]?[...new Set(_0x571e3d['weekdays']['filter'](_0x5c1e18=>Number[_0x14f464(0x3ea)](_0x5c1e18)&&_0x5c1e18>=0x1&&_0x5c1e18<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x571e3d==null?void 0x0:_0x571e3d[_0x14f464(0x187)])?_0x571e3d['exceptions'][_0x14f464(0x1a8)](_0x7ac84=>!_0x7ac84||!Number[_0x14f464(0x259)](_0x7ac84[_0x14f464(0x36e)])?[]:[{'id':String(_0x7ac84['id']||_0x14f464(0x264)+_0x7ac84[_0x14f464(0x36e)]),'date':K(Number(_0x7ac84[_0x14f464(0x36e)])),'name':String(_0x7ac84[_0x14f464(0x3a2)]||'Working\x20day'),'type':_0x7ac84[_0x14f464(0x157)]===_0x14f464(0x1fd)?_0x14f464(0x1fd):_0x14f464(0x3dc)}]):[]};}function On(_0x2ca1e2,_0xaa169,_0x4e44eb,_0x1c6e32){let _0x3baff1=Mn(_0x2ca1e2,_0xaa169),_0x3dc72b=Nn(_0x2ca1e2,_0x4e44eb),_0x114baa=kn(_0x2ca1e2,_0x3baff1,_0x3dc72b,_0x1c6e32);return{'scale':_0x2ca1e2,'start':_0x3baff1,'end':_0x3dc72b,'unitWidth':jn(_0x2ca1e2),'majorHeaders':An(_0x2ca1e2,_0x3baff1,_0x3dc72b),'columns':_0x114baa};}function kn(_0x3d5c49,_0x333c37,_0x31e3e7,_0x492ca2){const _0x1d2571=_0x1141d6;let _0x16a89b=[],_0x40a467=_0x333c37;for(;_0x40a467<_0x31e3e7;){let _0xcb49fd=_0x3d5c49===_0x1d2571(0x318)?q(_0x40a467,0x7):_0x3d5c49===_0x1d2571(0x28b)?Hn(_0x40a467,0x1):q(_0x40a467,0x1);_0x16a89b[_0x1d2571(0x1a6)]({'id':_0x3d5c49+'-'+_0x40a467,'label':Pn(_0x3d5c49,_0x40a467,_0xcb49fd),'majorLabel':Fn(_0x3d5c49,_0x40a467),'start':_0x40a467,'end':_0xcb49fd,'nonWorking':Ln(_0x40a467,_0xcb49fd,_0x492ca2)}),_0x40a467=_0xcb49fd;}return _0x16a89b;}function An(_0x15f790,_0x3ccf5d,_0x4de76c){const _0x1cdceb=_0x1141d6;let _0x2b5863=[],_0x2f9a53=_0x15f790===_0x1cdceb(0x28b)?Vn(_0x3ccf5d):Bn(_0x3ccf5d);for(;_0x2f9a53<_0x4de76c;){let _0x10ad96=_0x15f790==='year'?Un(_0x2f9a53,0x1):Hn(_0x2f9a53,0x1);_0x2b5863[_0x1cdceb(0x1a6)]({'id':_0x1cdceb(0x306)+_0x2f9a53,'label':_0x15f790==='year'?String(new Date(_0x2f9a53)[_0x1cdceb(0x278)]()):Wn(_0x2f9a53),'start':_0x2f9a53,'end':_0x10ad96}),_0x2f9a53=_0x10ad96;}return _0x2b5863;}function jn(_0x1d086e){const _0x2400e4=_0x1141d6;switch(_0x1d086e){case'week':return 0xac;case _0x2400e4(0x318):return 0xac;case _0x2400e4(0x28b):return 0x88;default:return 0x56;}}function Mn(_0x4350b7,_0x482c30){const _0xb8cf1a=_0x1141d6;return _0x4350b7==='year'?Vn(_0x482c30):_0x4350b7===_0xb8cf1a(0x318)?zn(_0x482c30):K(_0x482c30);}function Nn(_0x9b72fc,_0x47e28d){const _0x4a58cf=_0x1141d6;return _0x9b72fc==='year'?Un(Vn(_0x47e28d),0x1):_0x9b72fc===_0x4a58cf(0x318)?q(zn(_0x47e28d),0x7):q(K(_0x47e28d),0x1);}function Pn(_0x4a3454,_0x5ba005,_0x4757f6){const _0x313aa2=_0x1141d6;let _0x5c9b46=new Date(_0x5ba005);return _0x4a3454===_0x313aa2(0x318)?_0x5c9b46[_0x313aa2(0x2de)]()+'-'+new Date(_0x4757f6-G)[_0x313aa2(0x2de)]():_0x4a3454==='year'?_0x5c9b46['toLocaleString'](_0x313aa2(0x1f6),{'month':_0x313aa2(0x320),'timeZone':_0x313aa2(0x3cd)}):String(_0x5c9b46[_0x313aa2(0x2de)]());}function Fn(_0x3bae7f,_0x12d83f){const _0x2cf15c=_0x1141d6;return _0x3bae7f===_0x2cf15c(0x28b)?String(new Date(_0x12d83f)[_0x2cf15c(0x278)]()):Wn(_0x12d83f);}function In(_0x573b50,_0x3ac465,_0x33b0df){let _0x10a208=Dn(_0x33b0df),_0xc2220d=0x0;for(let _0x4b2a5f=K(_0x573b50);_0x4b2a5f<=K(_0x3ac465);_0x4b2a5f=q(_0x4b2a5f,0x1))Rn(_0x4b2a5f,_0x10a208)||_0xc2220d++;return _0xc2220d;}function Ln(_0x5453ee,_0x2dd821,_0x261409){if(!_0x261409)return!0x1;let _0x250875=Dn(_0x261409);for(let _0x5424d9=K(_0x5453ee);_0x5424d9<_0x2dd821;_0x5424d9=q(_0x5424d9,0x1))if(!Rn(_0x5424d9,_0x250875))return!0x1;return!0x0;}function Rn(_0xbcefa6,_0x355345){const _0x4265c3=_0x1141d6;let _0x52ad03=K(_0xbcefa6),_0x439176=_0x355345[_0x4265c3(0x187)][_0x4265c3(0x236)](_0x4790e7=>K(_0x4790e7['date'])===_0x52ad03);if(_0x439176)return _0x439176[_0x4265c3(0x157)]===_0x4265c3(0x3dc);let _0xb452f8=new Date(_0x52ad03)[_0x4265c3(0x26a)](),_0x55435d=_0xb452f8===0x0?0x7:_0xb452f8;return!_0x355345[_0x4265c3(0x3c7)]['includes'](_0x55435d);}function K(_0x4f9c92){const _0x2039b4=_0x1141d6;let _0x41ba02=new Date(_0x4f9c92);return Date[_0x2039b4(0x3cd)](_0x41ba02['getUTCFullYear'](),_0x41ba02[_0x2039b4(0x346)](),_0x41ba02[_0x2039b4(0x2de)]());}function zn(_0x30a300){const _0x277e54=_0x1141d6;let _0xc0bd73=K(_0x30a300),_0x10b38b=new Date(_0xc0bd73)[_0x277e54(0x26a)]();return q(_0xc0bd73,-(_0x10b38b===0x0?0x6:_0x10b38b-0x1));}function Bn(_0x3e8385){const _0x12f32e=_0x1141d6;let _0x5d81be=new Date(_0x3e8385);return Date[_0x12f32e(0x3cd)](_0x5d81be['getUTCFullYear'](),_0x5d81be[_0x12f32e(0x346)](),0x1);}function Vn(_0x492b9f){const _0x2d4e5b=_0x1141d6;let _0x23f797=new Date(_0x492b9f);return Date[_0x2d4e5b(0x3cd)](_0x23f797[_0x2d4e5b(0x278)](),0x0,0x1);}function q(_0x215d2d,_0x531ed2){return _0x215d2d+_0x531ed2*G;}function Hn(_0x2cd812,_0x437144){const _0x1fc049=_0x1141d6;let _0x215c3d=new Date(_0x2cd812);return Date[_0x1fc049(0x3cd)](_0x215c3d['getUTCFullYear'](),_0x215c3d[_0x1fc049(0x346)]()+_0x437144,0x1);}function Un(_0x100467,_0x4d2e48){let _0x3bab99=new Date(_0x100467);return Date['UTC'](_0x3bab99['getUTCFullYear']()+_0x4d2e48,0x0,0x1);}function Wn(_0x5af93d){const _0x1b6f69=_0x1141d6;let _0x2d9d13=new Date(_0x5af93d);return _0x2d9d13[_0x1b6f69(0x1ee)](_0x1b6f69(0x1f6),{'month':_0x1b6f69(0x320),'timeZone':_0x1b6f69(0x3cd)})+'\x20'+_0x2d9d13[_0x1b6f69(0x278)]();}function Gn(_0x490d11,_0x56146a){const _0x5dcd08=_0x1141d6;if(_0x490d11==null&&_0x56146a==null)return 0x0;if(_0x490d11==null)return-0x1;if(_0x56146a==null)return 0x1;if(typeof _0x490d11=='boolean'||typeof _0x56146a==_0x5dcd08(0x3f1))return Number(_0x490d11===!0x0)-Number(_0x56146a===!0x0);let _0x490ab4=Number(_0x490d11),_0x50df16=Number(_0x56146a),_0xadb0e3=Number[_0x5dcd08(0x259)](_0x490ab4),_0x585fd5=Number['isFinite'](_0x50df16);return _0xadb0e3&&_0x585fd5?_0x490ab4-_0x50df16:_0xadb0e3?0x1:_0x585fd5?-0x1:String(_0x490d11)[_0x5dcd08(0x1a0)](String(_0x56146a));}function Kn(_0x1f16bd){const _0x55ef1f=_0x1141d6;if(_0x1f16bd['operator']!=='is'&&_0x1f16bd[_0x55ef1f(0x23b)]!==_0x55ef1f(0x2fe))return!0x1;let _0x35c119=_0x1f16bd[_0x55ef1f(0x295)];return _0x35c119==null?!0x0:typeof _0x35c119==_0x55ef1f(0x222)?_0x35c119[_0x55ef1f(0x369)]()==='':Array[_0x55ef1f(0x28a)](_0x35c119)?_0x35c119[_0x55ef1f(0x3e1)]===0x0:!0x1;}function J(_0x27928d,_0xb3789){const _0x30a1ad=_0x1141d6;var _0x4b3f8b;let _0x4e872b=Array['isArray']((_0x4b3f8b=_0x27928d[_0x30a1ad(0x1f0)])==null?void 0x0:_0x4b3f8b[_0x30a1ad(0x294)])?_0x27928d[_0x30a1ad(0x1f0)][_0x30a1ad(0x294)]:[];for(let _0x2406f0 of _0x4e872b){var _0x3de5d1,_0x517ff8,_0x315bfc,_0x386916;if(_0x2406f0==null)continue;if(typeof _0x2406f0==_0x30a1ad(0x222)){if(_0x2406f0===_0xb3789)return{'id':_0x2406f0,'name':_0x2406f0};continue;}let _0x19e21f=_0x2406f0,_0x26a25f=String((_0x3de5d1=(_0x517ff8=_0x19e21f['id'])==null?_0x19e21f['name']:_0x517ff8)==null?'':_0x3de5d1),_0x48d172=String((_0x315bfc=(_0x386916=_0x19e21f[_0x30a1ad(0x3a2)])==null?_0x19e21f['id']:_0x386916)==null?_0x26a25f:_0x315bfc);if(_0x26a25f===_0xb3789||_0x48d172===_0xb3789)return{'id':_0x26a25f,'name':_0x48d172,'color':_0x19e21f[_0x30a1ad(0x28c)]==null?void 0x0:String(_0x19e21f['color'])};}return null;}const Y={'id':_0x1141d6(0x24d),'type':_0x29e4da[_0x1141d6(0x212)],'handler'(_0x57dad8,_0x51eac0){const _0x6f3e74=_0x1141d6;let {unitId:_0x1b1e14,op:_0x44e168}=_0x51eac0,_0xa14767=_0x57dad8[_0x6f3e74(0x13c)](_0x583b46)[_0x6f3e74(0x14b)](_0x1b1e14,_0x42dad9[_0x6f3e74(0x3f7)]);if(!_0xa14767)return!0x1;let _0x22d0c7=_0xa14767[_0x6f3e74(0x2a8)](),_0x125e08=new A(),_0x34afa4=_0x125e08[_0x6f3e74(0x1dd)](_0x44e168),_0x2bb8a3=_0x125e08[_0x6f3e74(0x35c)](_0x22d0c7,_0x44e168);return _0xa14767[_0x6f3e74(0x2e9)](_0x2bb8a3),qn(_0x2bb8a3,_0x34afa4,_0x57dad8[_0x6f3e74(0x13c)](_n)),!0x0;}};function qn(_0x9d2a02,_0x48d6cb,_0x342915){const _0x260c69=_0x1141d6;let _0x237dff=new Set();for(let _0x432962 of _0x48d6cb){if(_0x432962[_0x260c69(0x300)]!==_0x260c69(0x400)){_0x342915['invalidateByOp']();return;}let _0x5e7fb7=Jn(_0x9d2a02,_0x432962);if(!_0x5e7fb7){_0x342915['invalidateByOp']();return;}let _0x4269db=_0x5e7fb7[_0x260c69(0x275)]+'\x00'+_0x5e7fb7[_0x260c69(0x201)]+'\x00'+_0x5e7fb7[_0x260c69(0x1be)];_0x237dff[_0x260c69(0x325)](_0x4269db)||(_0x237dff[_0x260c69(0x1e2)](_0x4269db),_0x342915[_0x260c69(0x196)](_0x5e7fb7[_0x260c69(0x275)],_0x5e7fb7[_0x260c69(0x201)],_0x5e7fb7[_0x260c69(0x1be)]));}}function Jn(_0x41190c,_0x5f3aa1){const _0x2d25ba=_0x1141d6;var _0xb43e3f,_0x428c14;if(!_0x5f3aa1[_0x2d25ba(0x275)])return null;if(_0x5f3aa1[_0x2d25ba(0x201)]&&_0x5f3aa1[_0x2d25ba(0x1be)])return{'tableId':_0x5f3aa1[_0x2d25ba(0x275)],'recordId':_0x5f3aa1[_0x2d25ba(0x201)],'fieldId':_0x5f3aa1[_0x2d25ba(0x1be)]};if(_0x5f3aa1[_0x2d25ba(0x198)]==null||_0x5f3aa1[_0x2d25ba(0x2ea)]==null)return null;let _0x51b803=_0x41190c[_0x2d25ba(0x407)][_0x5f3aa1[_0x2d25ba(0x275)]],_0x12027b=_0x51b803==null||(_0xb43e3f=_0x51b803[_0x2d25ba(0x378)])==null?void 0x0:_0xb43e3f[_0x5f3aa1[_0x2d25ba(0x198)]],_0xeca106=_0x51b803==null||(_0x428c14=_0x51b803[_0x2d25ba(0x18b)])==null?void 0x0:_0x428c14[_0x5f3aa1['column']];return!_0x12027b||!_0xeca106?null:{'tableId':_0x5f3aa1['tableId'],'recordId':_0x12027b,'fieldId':_0xeca106};}function X(_0x467b08,_0x5187cf,_0x37c2ba){const _0x35fd10=_0x1141d6;let _0x1ceb97=_0x467b08[_0x35fd10(0x2a8)]()['tables'][_0x5187cf];if(!_0x1ceb97)return!0x1;let {viewIds:_0x3b6dbe,fieldIds:_0x2059a3,recordIds:_0x363e2d}=_0x37c2ba||{};if(_0x3b6dbe){for(let _0x12a17b of _0x3b6dbe)if(!_0x1ceb97[_0x35fd10(0x23e)][_0x12a17b])return!0x1;}if(_0x2059a3){for(let _0x7fb73d of _0x2059a3)if(!_0x1ceb97[_0x35fd10(0x2e2)][_0x7fb73d])return!0x1;}if(_0x363e2d){for(let _0x4c9051 of _0x363e2d)if(!_0x1ceb97[_0x35fd10(0x162)][_0x4c9051])return!0x1;}return!0x0;}const Yn={'id':_0x1141d6(0x32d),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x442226,_0x583e63){const _0x24c77e=_0x1141d6;if(!_0x583e63)return!0x1;let _0x302115=_0x442226[_0x24c77e(0x13c)](_0x583b46),{unitId:_0x175c2a,tableId:_0x3daeee,records:_0xdd2426}=_0x583e63,_0x398290=_0x302115[_0x24c77e(0x14b)](_0x175c2a,_0x42dad9[_0x24c77e(0x3f7)]),_0x2e66cb=_0xdd2426[_0x24c77e(0x220)](_0x375e22=>_0x375e22['id']);if(!_0x398290||!X(_0x398290,_0x3daeee)||new Set(_0x2e66cb)[_0x24c77e(0x3b7)]!==_0x2e66cb['length']||_0x2e66cb[_0x24c77e(0x2a0)](_0x52c804=>_0x398290[_0x24c77e(0x2a8)]()['tables'][_0x3daeee]['records'][_0x52c804]))return!0x1;let _0x286682=_0x442226['get'](_0x4c4564),_0x56313f=_0x442226[_0x24c77e(0x13c)](_0x1cfa3b),_0x245bc5=_0x442226[_0x24c77e(0x13c)](W)['createBatchCreateRecordsOp'](_0x398290,_0x3daeee,_0xdd2426),_0x163473=new A()[_0x24c77e(0x3c6)](_0x398290[_0x24c77e(0x2a8)](),_0x245bc5),_0x3a2afc={'unitId':_0x175c2a,'op':_0x245bc5},_0x3f505a={'unitId':_0x175c2a,'op':_0x163473};return _0x286682[_0x24c77e(0x32e)](Y['id'],_0x3a2afc)?(_0x302115[_0x24c77e(0x1cf)](_0x175c2a),_0x56313f[_0x24c77e(0x2e0)]({'unitID':_0x175c2a,'undoMutations':[{'id':Y['id'],'params':_0x3f505a}],'redoMutations':[{'id':Y['id'],'params':_0x3a2afc}]}),!0x0):!0x1;}},Xn={'id':'base.command.batch-delete-base-records','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x108712,_0x4eeaad)=>{const _0xa7586e=_0x1141d6;if(!_0x4eeaad)return!0x1;let _0x290b7d=_0x108712['get'](_0x583b46),{unitId:_0x5b42b2,tableId:_0x30828c,recordIds:_0x58f646}=_0x4eeaad,_0x34c167=_0x290b7d[_0xa7586e(0x14b)](_0x5b42b2,_0x42dad9['UNIVER_BASE']);if(!_0x34c167||!X(_0x34c167,_0x30828c,{'recordIds':_0x58f646}))return!0x1;let _0x4862d0=_0x108712['get'](_0x4c4564),_0x5e1bde=_0x108712['get'](_0x1cfa3b),_0x3a09fc=_0x34c167['getSnapshot'](),_0x416e2b=new R()[_0xa7586e(0x13b)](_0x3a09fc,_0x30828c,_0x58f646),_0x54b72b=new A()[_0xa7586e(0x3c6)](_0x3a09fc,_0x416e2b),_0x113ba7={'unitId':_0x5b42b2,'op':_0x416e2b},_0x8760d={'unitId':_0x5b42b2,'op':_0x54b72b};return _0x4862d0[_0xa7586e(0x32e)](Y['id'],_0x113ba7)?(_0x290b7d['focusUnit'](_0x5b42b2),_0x5e1bde[_0xa7586e(0x2e0)]({'unitID':_0x5b42b2,'undoMutations':[{'id':Y['id'],'params':_0x8760d}],'redoMutations':[{'id':Y['id'],'params':_0x113ba7}]}),!0x0):!0x1;}},Zn={'id':_0x1141d6(0x144),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x41b362,_0x1ed4a6)=>{const _0x185080=_0x1141d6;if(!_0x1ed4a6)return!0x1;let _0x410bc6=_0x41b362[_0x185080(0x13c)](_0x583b46),{unitId:_0x5b6fda,tableId:_0x42c35c,fieldId:_0xed8dae,input:_0x44128f}=_0x1ed4a6,_0x10659c=_0x410bc6[_0x185080(0x14b)](_0x5b6fda,_0x42dad9[_0x185080(0x3f7)]);if(!_0x10659c||!X(_0x10659c,_0x42c35c,{'fieldIds':[_0xed8dae]}))return!0x1;let _0x12043e=_0x41b362['get'](_0x4c4564),_0x27a0c8=_0x41b362[_0x185080(0x13c)](_0x1cfa3b),_0x16913f=_0x10659c['getSnapshot'](),_0x15c967=new R()[_0x185080(0x33f)](_0x16913f,_0x42c35c,_0xed8dae,_0x44128f),_0x4ba731=new A()['invertOp'](_0x16913f,_0x15c967),_0x3244ae={'unitId':_0x5b6fda,'op':_0x15c967},_0x48bcd5={'unitId':_0x5b6fda,'op':_0x4ba731};return _0x12043e[_0x185080(0x32e)](Y['id'],_0x3244ae)?(_0x410bc6[_0x185080(0x1cf)](_0x5b6fda),_0x27a0c8[_0x185080(0x2e0)]({'unitID':_0x5b6fda,'undoMutations':[{'id':Y['id'],'params':_0x48bcd5}],'redoMutations':[{'id':Y['id'],'params':_0x3244ae}]}),!0x0):!0x1;}},Qn={'id':_0x1141d6(0x173),'type':_0x29e4da['COMMAND'],'handler'(_0xb273c2,_0x3678df){const _0x476a68=_0x1141d6;if(!_0x3678df)return!0x1;let _0x5c9fab=_0xb273c2[_0x476a68(0x13c)](_0x583b46),{unitId:_0xffd9d3,tableId:_0x2fb708,field:_0x4a634c,index:_0x1f0e64,viewIndexes:_0x39d14c}=_0x3678df,_0x57f07e=_0x5c9fab['getUnit'](_0xffd9d3,_0x42dad9[_0x476a68(0x3f7)]);if(!_0x57f07e||!X(_0x57f07e,_0x2fb708)||_0x57f07e[_0x476a68(0x2a8)]()[_0x476a68(0x407)][_0x2fb708][_0x476a68(0x2e2)][_0x4a634c['id']])return!0x1;let _0x3d7efc=_0xb273c2[_0x476a68(0x13c)](_0x4c4564),_0x21e36f=_0xb273c2['get'](_0x1cfa3b),_0x3aca42=_0xb273c2[_0x476a68(0x13c)](W)[_0x476a68(0x143)](_0x57f07e,_0x2fb708,_0x4a634c,_0x1f0e64,_0x39d14c),_0x1c3928=new A()[_0x476a68(0x3c6)](_0x57f07e['getSnapshot'](),_0x3aca42),_0x3e7c19={'unitId':_0xffd9d3,'op':_0x3aca42},_0x167c2b={'unitId':_0xffd9d3,'op':_0x1c3928};return _0x3d7efc[_0x476a68(0x32e)](Y['id'],_0x3e7c19)?(_0x5c9fab[_0x476a68(0x1cf)](_0xffd9d3),_0x21e36f['pushUndoRedo']({'unitID':_0xffd9d3,'undoMutations':[{'id':Y['id'],'params':_0x167c2b}],'redoMutations':[{'id':Y['id'],'params':_0x3e7c19}]}),!0x0):!0x1;}},$n={'id':_0x1141d6(0x2c1),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x4b18f8,_0x129e57){const _0x50b04b=_0x1141d6;if(!_0x129e57)return!0x1;let _0x54a193=_0x4b18f8[_0x50b04b(0x13c)](_0x583b46),{unitId:_0xe8591b,tableId:_0xbea149,record:_0xf07144}=_0x129e57,_0x3427a7=_0x54a193[_0x50b04b(0x14b)](_0xe8591b,_0x42dad9['UNIVER_BASE']);if(!_0x3427a7||!X(_0x3427a7,_0xbea149)||_0x3427a7['getSnapshot']()[_0x50b04b(0x407)][_0xbea149]['records'][_0xf07144['id']])return!0x1;let _0x7927bb=_0x4b18f8['get'](_0x4c4564),_0x3b8de6=_0x4b18f8[_0x50b04b(0x13c)](_0x1cfa3b),_0x3f5946=_0x4b18f8['get'](W)[_0x50b04b(0x2b9)](_0x3427a7,_0xbea149,_0xf07144),_0x5c50f8=new A()[_0x50b04b(0x3c6)](_0x3427a7[_0x50b04b(0x2a8)](),_0x3f5946),_0x743081={'unitId':_0xe8591b,'op':_0x3f5946},_0x459ab0={'unitId':_0xe8591b,'op':_0x5c50f8};return _0x7927bb[_0x50b04b(0x32e)](Y['id'],_0x743081)?(_0x54a193['focusUnit'](_0xe8591b),_0x3b8de6[_0x50b04b(0x2e0)]({'unitID':_0xe8591b,'undoMutations':[{'id':Y['id'],'params':_0x459ab0}],'redoMutations':[{'id':Y['id'],'params':_0x743081}]}),!0x0):!0x1;}},er={'id':'base.command.create-base-table','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4a955c,_0x3ba2fa)=>{const _0x47479f=_0x1141d6;if(!_0x3ba2fa)return!0x1;let _0x366e94=_0x4a955c[_0x47479f(0x13c)](_0x583b46),{unitId:_0x2e8dff,table:_0xd3a885,index:_0x54a225}=_0x3ba2fa,_0x25e9d4=_0x366e94[_0x47479f(0x14b)](_0x2e8dff,_0x42dad9['UNIVER_BASE']);if(!_0x25e9d4||_0x25e9d4[_0x47479f(0x2a8)]()['tables'][_0xd3a885['id']])return!0x1;let _0x165fae=_0x4a955c['get'](_0x4c4564),_0x476ffa=_0x4a955c['get'](_0x1cfa3b),_0x31d666=_0x25e9d4['getSnapshot'](),_0x557c29={..._0xd3a885,'name':_0x25e9d4['uniqueTableName'](_0xd3a885[_0x47479f(0x3a2)])},_0x2e0862=new R()[_0x47479f(0x35b)](_0x31d666,_0x557c29,_0x54a225),_0x504980=new A()[_0x47479f(0x3c6)](_0x31d666,_0x2e0862),_0x271e6e={'unitId':_0x2e8dff,'op':_0x2e0862},_0x417bdd={'unitId':_0x2e8dff,'op':_0x504980};return _0x165fae[_0x47479f(0x32e)](Y['id'],_0x271e6e)?(_0x366e94[_0x47479f(0x1cf)](_0x2e8dff),_0x476ffa['pushUndoRedo']({'unitID':_0x2e8dff,'undoMutations':[{'id':Y['id'],'params':_0x417bdd}],'redoMutations':[{'id':Y['id'],'params':_0x271e6e}]}),!0x0):!0x1;}};function tr(_0x32d033,_0x349f5a,_0x1bf727=[]){const _0x267eea=_0x1141d6;let _0x5222cc=new Set([...Object['values'](_0x32d033[_0x267eea(0x2e2)])[_0x267eea(0x385)](_0x37d0a5=>_0x37d0a5)['map'](_0xb6f3a4=>_0xb6f3a4['name']),..._0x1bf727[_0x267eea(0x220)](_0x32750b=>_0x32750b[_0x267eea(0x3a2)])]);if(!_0x5222cc[_0x267eea(0x325)](_0x349f5a))return _0x349f5a;let _0x4db002=0x2;for(;_0x5222cc['has'](_0x349f5a+'\x20'+_0x4db002);)_0x4db002++;return _0x349f5a+'\x20'+_0x4db002;}function nr(_0x5caf13,_0x85bd9c){const _0x44fc6e=_0x1141d6;if(!_0x5caf13||!_0x85bd9c[_0x44fc6e(0x3e1)])return;let _0x850c8e=[..._0x5caf13];return _0x85bd9c['forEach'](_0x1a060b=>{const _0x241f6e=_0x44fc6e;_0x850c8e[_0x241f6e(0x370)](_0x1a060b)||_0x850c8e[_0x241f6e(0x1a6)](_0x1a060b);}),_0x850c8e;}const rr={'options':[{'id':_0x1141d6(0x2b6),'name':'Todo','color':'#BFDBFE'},{'id':_0x1141d6(0x20c),'name':_0x1141d6(0x3bd),'color':_0x1141d6(0x3f8)},{'id':_0x1141d6(0x40b),'name':_0x1141d6(0x30d),'color':_0x1141d6(0x2c9)}]},ir={'locale':_0x1141d6(0x1f6),'pattern':_0x1141d6(0x31d),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};function ar(_0x7dfee8,_0x180826,_0x4a04dd,_0xe33b17){const _0x58e7a3=_0x1141d6;var _0x57dd1d;let _0xe4120=new R(),_0x159f0e=_0x7dfee8[_0x58e7a3(0x407)][_0x180826];if(_0x159f0e&&_0x4a04dd[_0x58e7a3(0x157)]==='kanban'){var _0x1ece59;let _0x4a968f=sr(_0x159f0e,_0x4a04dd),_0x129177=_0x4a968f[_0x58e7a3(0x1a3)]?{..._0x4a04dd,'config':_0x4a968f[_0x58e7a3(0x1f0)],'fieldOrder':(_0x1ece59=_0x4a968f[_0x58e7a3(0x2ad)])==null?_0x4a04dd['fieldOrder']:_0x1ece59}:_0x4a04dd;return L([..._0x4a968f[_0x58e7a3(0x2e2)][_0x58e7a3(0x220)](_0x226371=>_0xe4120[_0x58e7a3(0x14e)](_0x7dfee8,_0x180826,{'field':_0x226371})),_0xe4120['createView'](_0x7dfee8,_0x180826,_0x129177,_0xe33b17)]);}if(!_0x159f0e||_0x4a04dd[_0x58e7a3(0x157)]!=='calendar'&&_0x4a04dd[_0x58e7a3(0x157)]!==_0x58e7a3(0x233))return _0xe4120['createView'](_0x7dfee8,_0x180826,_0x4a04dd,_0xe33b17);let _0x2ec596=or(_0x159f0e,_0x4a04dd),_0xfb3d7a=_0x2ec596['changed']?{..._0x4a04dd,'config':_0x2ec596[_0x58e7a3(0x1f0)],'fieldOrder':(_0x57dd1d=_0x2ec596[_0x58e7a3(0x2ad)])==null?_0x4a04dd[_0x58e7a3(0x2ad)]:_0x57dd1d}:_0x4a04dd;return _0x4a04dd[_0x58e7a3(0x157)]===_0x58e7a3(0x233)&&ur(_0x4a04dd)&&(_0xfb3d7a=dr(_0x159f0e,_0xfb3d7a,_0x2ec596[_0x58e7a3(0x2e2)])),L([..._0x2ec596['fields']['map'](_0x5e1dc2=>_0xe4120[_0x58e7a3(0x14e)](_0x7dfee8,_0x180826,{'field':_0x5e1dc2})),_0xe4120[_0x58e7a3(0x367)](_0x7dfee8,_0x180826,_0xfb3d7a,_0xe33b17)]);}function or(_0x3569af,_0x12268e,_0x51d87c=!0x1){const _0x310a7d=_0x1141d6;var _0x48dfb1,_0x3202e1,_0x3a86ae,_0x2767ea;let _0x45d1a8=_0x3569af[_0x310a7d(0x2ad)][_0x310a7d(0x385)](_0x3501f9=>pr(_0x3569af,_0x3501f9)),_0x333854=[],_0x2c1fa2={...(_0x48dfb1=_0x12268e[_0x310a7d(0x1f0)])==null?{}:_0x48dfb1},_0x466178=typeof _0x2c1fa2[_0x310a7d(0x394)]=='string'&&pr(_0x3569af,_0x2c1fa2[_0x310a7d(0x394)])?_0x2c1fa2[_0x310a7d(0x394)]:_0x45d1a8[0x0],_0x33e4bc=typeof _0x2c1fa2[_0x310a7d(0x153)]==_0x310a7d(0x222)&&pr(_0x3569af,_0x2c1fa2[_0x310a7d(0x153)])&&_0x2c1fa2[_0x310a7d(0x153)]!==_0x466178?_0x2c1fa2['endDateFieldId']:_0x45d1a8['find'](_0x581ae7=>_0x581ae7!==_0x466178);if(!_0x466178){let _0x488538=mr(_0x3569af,_0x333854,_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x233)?'Start\x20date':_0x310a7d(0x29d));_0x333854[_0x310a7d(0x1a6)](_0x488538),_0x466178=_0x488538['id'];}if((_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x233)||_0x51d87c)&&!_0x33e4bc){let _0x40e95d=mr(_0x3569af,_0x333854,'End\x20date');_0x333854[_0x310a7d(0x1a6)](_0x40e95d),_0x33e4bc=_0x40e95d['id'];}if(_0x12268e['type']===_0x310a7d(0x19f)&&!_0x33e4bc&&delete _0x2c1fa2['endDateFieldId'],_0x2c1fa2['startDateFieldId']=_0x466178,_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x19f)&&_0x33e4bc&&(_0x2c1fa2[_0x310a7d(0x153)]=_0x33e4bc),_0x12268e['type']===_0x310a7d(0x233)){var _0x87523a;_0x2c1fa2[_0x310a7d(0x153)]=(_0x87523a=_0x33e4bc)==null?_0x466178:_0x87523a;}let _0x13eb5a=nr(_0x12268e['fieldOrder'],_0x333854['map'](_0x11facc=>_0x11facc['id']));return{'changed':_0x333854[_0x310a7d(0x3e1)]>0x0||_0x2c1fa2[_0x310a7d(0x394)]!==((_0x3202e1=_0x12268e[_0x310a7d(0x1f0)])==null?void 0x0:_0x3202e1['startDateFieldId'])||_0x2c1fa2[_0x310a7d(0x153)]!==((_0x3a86ae=_0x12268e['config'])==null?void 0x0:_0x3a86ae[_0x310a7d(0x153)])||!!(_0x13eb5a&&!_0x243e4c[_0x310a7d(0x189)](_0x13eb5a,(_0x2767ea=_0x12268e['fieldOrder'])==null?[]:_0x2767ea)),'fields':_0x333854,'config':_0x2c1fa2,'fieldOrder':_0x13eb5a};}function sr(_0x180b7a,_0x424dda){const _0x58ae48=_0x1141d6;var _0x436cdc,_0x408ff5,_0x12841f;let _0x1ff164=[],_0x417e7d={...(_0x436cdc=_0x424dda['config'])==null?{}:_0x436cdc},_0x51323a=typeof _0x417e7d[_0x58ae48(0x315)]=='string'&&cr(_0x180b7a,_0x417e7d[_0x58ae48(0x315)])?_0x417e7d[_0x58ae48(0x315)]:_0x180b7a['fieldOrder'][_0x58ae48(0x236)](_0x18da75=>cr(_0x180b7a,_0x18da75));if(!_0x51323a){let _0x5f0829=lr(_0x180b7a,_0x1ff164);_0x1ff164[_0x58ae48(0x1a6)](_0x5f0829),_0x51323a=_0x5f0829['id'];}_0x417e7d[_0x58ae48(0x315)]=_0x51323a;let _0x3f6dc6=nr(_0x424dda['fieldOrder'],_0x1ff164['map'](_0x54c612=>_0x54c612['id']));return{'changed':_0x1ff164[_0x58ae48(0x3e1)]>0x0||_0x417e7d['groupFieldId']!==((_0x408ff5=_0x424dda[_0x58ae48(0x1f0)])==null?void 0x0:_0x408ff5['groupFieldId'])||!!(_0x3f6dc6&&!_0x243e4c[_0x58ae48(0x189)](_0x3f6dc6,(_0x12841f=_0x424dda['fieldOrder'])==null?[]:_0x12841f)),'fields':_0x1ff164,'config':_0x417e7d,'fieldOrder':_0x3f6dc6};}function cr(_0x1fb565,_0xba9261){const _0x4564ce=_0x1141d6;let _0x1ff98a=_0xba9261?_0x1fb565['fields'][_0xba9261]:null;return _0x1ff98a?[_0x1b662f[_0x4564ce(0x1c8)],_0x1b662f[_0x4564ce(0x39e)],_0x1b662f['Rating'],_0x1b662f['Person'],_0x1b662f[_0x4564ce(0x1d2)],_0x1b662f[_0x4564ce(0x3ed)]]['includes'](_0x1ff98a[_0x4564ce(0x157)]):!0x1;}function lr(_0x5d0e2e,_0x492fc4){const _0x1a2f20=_0x1141d6;return{'id':_0x1a2f20(0x3e8)+_0x3f0aa2(0x8),'name':tr(_0x5d0e2e,'Status',_0x492fc4),'type':_0x1b662f['SingleSelect'],'config':_0x243e4c[_0x1a2f20(0x1c2)](rr)};}function ur(_0x499da7){const _0x5c820a=_0x1141d6;var _0x3fb87a,_0x4173d2;return Object[_0x5c820a(0x1ef)]((_0x3fb87a=_0x499da7[_0x5c820a(0x1f0)])==null?{}:_0x3fb87a)[_0x5c820a(0x3e1)]===0x0&&Object[_0x5c820a(0x1ef)]((_0x4173d2=_0x499da7['fieldSettings'])==null?{}:_0x4173d2)[_0x5c820a(0x3e1)]===0x0;}function dr(_0x35164b,_0x557565,_0xc1fc8){const _0x33a6c6=_0x1141d6;var _0x2dd7ce;let _0x3bdfbf={...(_0x2dd7ce=_0x557565[_0x33a6c6(0x1f0)])==null?{}:_0x2dd7ce},_0x58feea=_0xc1fc8[_0x33a6c6(0x220)](_0x10e00a=>_0x10e00a['id']),_0x295f77=[..._0x35164b[_0x33a6c6(0x2ad)],..._0x58feea],_0x1e8709=typeof _0x3bdfbf['titleFieldId']==_0x33a6c6(0x222)&&fr(_0x35164b,_0xc1fc8,_0x3bdfbf[_0x33a6c6(0x35a)])?_0x3bdfbf['titleFieldId']:_0x35164b[_0x33a6c6(0x3a0)],_0x352758=typeof _0x3bdfbf['startDateFieldId']==_0x33a6c6(0x222)?_0x3bdfbf['startDateFieldId']:'',_0x4d1fb2=typeof _0x3bdfbf[_0x33a6c6(0x153)]==_0x33a6c6(0x222)?_0x3bdfbf[_0x33a6c6(0x153)]:_0x352758,_0x23da68=new Set([_0x1e8709,_0x352758,_0x4d1fb2][_0x33a6c6(0x385)](_0x224b18=>_0x224b18&&fr(_0x35164b,_0xc1fc8,_0x224b18))),_0x4825dc=Object['fromEntries'](_0x295f77[_0x33a6c6(0x1a8)](_0x46464f=>_0x23da68['has'](_0x46464f)||!fr(_0x35164b,_0xc1fc8,_0x46464f)?[]:[[_0x46464f,{'hidden':!0x0}]]));return{..._0x557565,'config':{..._0x3bdfbf,'titleFieldId':_0x1e8709},'fieldSettings':_0x4825dc};}function fr(_0x49a454,_0x1a996e,_0x16c268){const _0x256794=_0x1141d6;var _0x26bf7d;return!!((_0x26bf7d=_0x49a454[_0x256794(0x2e2)][_0x16c268])==null?_0x1a996e[_0x256794(0x236)](_0x4f0420=>_0x4f0420['id']===_0x16c268):_0x26bf7d)&&!0x0;}function pr(_0x217613,_0x2e0a44){const _0xe91416=_0x1141d6;let _0x160679=_0x2e0a44?_0x217613[_0xe91416(0x2e2)][_0x2e0a44]:null;return!!_0x160679&&_0x160679[_0xe91416(0x157)]===_0x1b662f[_0xe91416(0x29d)]&&_0x160679[_0xe91416(0x3fc)]!==!0x0&&_0x160679[_0xe91416(0x31c)]!==!0x0;}function mr(_0x1aa3c9,_0x17f4e2,_0x466add){const _0xf40fcf=_0x1141d6;let _0x8483a0=new Set([...Object[_0xf40fcf(0x1ef)](_0x1aa3c9[_0xf40fcf(0x2e2)]),..._0x17f4e2['map'](_0x33f4c7=>_0x33f4c7['id'])]),_0x6bbe12='fld-'+_0x3f0aa2(0x8);for(;_0x8483a0[_0xf40fcf(0x325)](_0x6bbe12);)_0x6bbe12=_0xf40fcf(0x3e8)+_0x3f0aa2(0x8);return{'id':_0x6bbe12,'name':tr(_0x1aa3c9,_0x466add,_0x17f4e2),'type':_0x1b662f[_0xf40fcf(0x29d)],'config':{...ir}};}const hr={'id':_0x1141d6(0x24f),'type':_0x29e4da['COMMAND'],'handler':(_0x7fcad2,_0x11e7f8)=>{const _0x5e7c9e=_0x1141d6;if(!_0x11e7f8)return!0x1;let _0x45c3ac=_0x7fcad2[_0x5e7c9e(0x13c)](_0x583b46),{unitId:_0x2ee530,tableId:_0xa7887c,view:_0x4c7384,index:_0x20a2fb}=_0x11e7f8,_0x5b5efa=_0x45c3ac[_0x5e7c9e(0x14b)](_0x2ee530,_0x42dad9[_0x5e7c9e(0x3f7)]);if(!_0x5b5efa||!X(_0x5b5efa,_0xa7887c)||_0x5b5efa[_0x5e7c9e(0x2a8)]()[_0x5e7c9e(0x407)][_0xa7887c][_0x5e7c9e(0x23e)][_0x4c7384['id']])return!0x1;let _0x3f690e=_0x7fcad2[_0x5e7c9e(0x13c)](_0x4c4564),_0x5e0f2b=_0x7fcad2[_0x5e7c9e(0x13c)](_0x1cfa3b),_0x3f71e6=_0x5b5efa['getSnapshot'](),_0x29e963=ar(_0x3f71e6,_0xa7887c,_0x4c7384,_0x20a2fb),_0x24eaaf=new A()[_0x5e7c9e(0x3c6)](_0x3f71e6,_0x29e963),_0x3081fb={'unitId':_0x2ee530,'op':_0x29e963},_0x1d0d9e={'unitId':_0x2ee530,'op':_0x24eaaf};return _0x3f690e[_0x5e7c9e(0x32e)](Y['id'],_0x3081fb)?(_0x45c3ac['focusUnit'](_0x2ee530),_0x5e0f2b[_0x5e7c9e(0x2e0)]({'unitID':_0x2ee530,'undoMutations':[{'id':Y['id'],'params':_0x1d0d9e}],'redoMutations':[{'id':Y['id'],'params':_0x3081fb}]}),!0x0):!0x1;}},gr={'id':_0x1141d6(0x19b),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x1f22ae,_0x2dc3df){const _0x25b3b7=_0x1141d6;if(!_0x2dc3df)return!0x1;let _0x385db7=_0x1f22ae[_0x25b3b7(0x13c)](_0x583b46),{unitId:_0x57b762,tableId:_0x31e6f5,fieldId:_0x50f180}=_0x2dc3df,_0x4a079c=_0x385db7[_0x25b3b7(0x14b)](_0x57b762,_0x42dad9[_0x25b3b7(0x3f7)]);if(!_0x4a079c)return!0x1;let _0x5344ee=_0x4a079c[_0x25b3b7(0x2a8)](),_0x3d1be8=_0x5344ee['tables'][_0x31e6f5];if(!X(_0x4a079c,_0x31e6f5,{'fieldIds':[_0x50f180]})||_0x3d1be8[_0x25b3b7(0x3a0)]===_0x50f180)return!0x1;let _0x50ec4b=_0x1f22ae['get'](_0x4c4564),_0x5bebee=_0x1f22ae[_0x25b3b7(0x13c)](_0x1cfa3b),_0x2e7d47=new R()[_0x25b3b7(0x373)](_0x5344ee,_0x31e6f5,_0x50f180),_0x350f7a=new A()[_0x25b3b7(0x3c6)](_0x5344ee,_0x2e7d47),_0x3a356a={'unitId':_0x57b762,'op':_0x2e7d47},_0x3aa292={'unitId':_0x57b762,'op':_0x350f7a};return _0x50ec4b[_0x25b3b7(0x32e)](Y['id'],_0x3a356a)?(_0x385db7[_0x25b3b7(0x1cf)](_0x57b762),_0x5bebee[_0x25b3b7(0x2e0)]({'unitID':_0x57b762,'undoMutations':[{'id':Y['id'],'params':_0x3aa292}],'redoMutations':[{'id':Y['id'],'params':_0x3a356a}]}),!0x0):!0x1;}},_r={'id':_0x1141d6(0x2eb),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3bb503,_0x5a58d0)=>{const _0x5a2af5=_0x1141d6;if(!_0x5a58d0)return!0x1;let _0x181a28=_0x3bb503[_0x5a2af5(0x13c)](_0x583b46),{unitId:_0x1ed449,tableId:_0x15d006,recordId:_0x3ceb89}=_0x5a58d0,_0x19c924=_0x181a28[_0x5a2af5(0x14b)](_0x1ed449,_0x42dad9[_0x5a2af5(0x3f7)]);if(!_0x19c924||!X(_0x19c924,_0x15d006,{'recordIds':[_0x3ceb89]}))return!0x1;let _0x480d90=_0x3bb503[_0x5a2af5(0x13c)](_0x4c4564),_0x5449d7=_0x3bb503[_0x5a2af5(0x13c)](_0x1cfa3b),_0x589fa7=_0x19c924[_0x5a2af5(0x2a8)](),_0xdd9674=new R()[_0x5a2af5(0x3af)](_0x589fa7,_0x15d006,_0x3ceb89),_0x11712a=new A()[_0x5a2af5(0x3c6)](_0x589fa7,_0xdd9674),_0x510f0e={'unitId':_0x1ed449,'op':_0xdd9674},_0x527fdd={'unitId':_0x1ed449,'op':_0x11712a};return _0x480d90[_0x5a2af5(0x32e)](Y['id'],_0x510f0e)?(_0x181a28[_0x5a2af5(0x1cf)](_0x1ed449),_0x5449d7[_0x5a2af5(0x2e0)]({'unitID':_0x1ed449,'undoMutations':[{'id':Y['id'],'params':_0x527fdd}],'redoMutations':[{'id':Y['id'],'params':_0x510f0e}]}),!0x0):!0x1;}},vr={'id':'base.command.delete-base-table','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x5a15ba,_0x7b2c43)=>{const _0x560024=_0x1141d6;if(!_0x7b2c43)return!0x1;let _0x30f5d0=_0x5a15ba[_0x560024(0x13c)](_0x583b46),{unitId:_0x33ec4,tableId:_0x47ddb8}=_0x7b2c43,_0x4a576b=_0x30f5d0[_0x560024(0x14b)](_0x33ec4,_0x42dad9['UNIVER_BASE']);if(!_0x4a576b||!X(_0x4a576b,_0x47ddb8))return!0x1;let _0x505733=_0x5a15ba[_0x560024(0x13c)](_0x4c4564),_0x1715cd=_0x5a15ba[_0x560024(0x13c)](_0x1cfa3b),_0x5a59ce=_0x4a576b[_0x560024(0x2a8)](),_0x4ff51f=new R()[_0x560024(0x251)](_0x5a59ce,_0x47ddb8),_0x2ca8ad=new A()[_0x560024(0x3c6)](_0x5a59ce,_0x4ff51f),_0x3176a2={'unitId':_0x33ec4,'op':_0x4ff51f},_0x4f510d={'unitId':_0x33ec4,'op':_0x2ca8ad};return _0x505733[_0x560024(0x32e)](Y['id'],_0x3176a2)?(_0x30f5d0[_0x560024(0x1cf)](_0x33ec4),_0x1715cd[_0x560024(0x2e0)]({'unitID':_0x33ec4,'undoMutations':[{'id':Y['id'],'params':_0x4f510d}],'redoMutations':[{'id':Y['id'],'params':_0x3176a2}]}),!0x0):!0x1;}},yr={'id':_0x1141d6(0x23a),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x30d1a5,_0x33cc44)=>{const _0x2e8d16=_0x1141d6;if(!_0x33cc44)return!0x1;let _0x4bf67b=_0x30d1a5[_0x2e8d16(0x13c)](_0x583b46),{unitId:_0x166a5c,tableId:_0x501fcc,viewId:_0x343b22}=_0x33cc44,_0x4cfb40=_0x4bf67b['getUnit'](_0x166a5c,_0x42dad9['UNIVER_BASE']);if(!_0x4cfb40||!X(_0x4cfb40,_0x501fcc,{'viewIds':[_0x343b22]}))return!0x1;let _0x5b16cc=_0x30d1a5[_0x2e8d16(0x13c)](_0x4c4564),_0x5712a4=_0x30d1a5[_0x2e8d16(0x13c)](_0x1cfa3b),_0x2e7172=_0x4cfb40[_0x2e8d16(0x2a8)](),_0xf2e50a=new R()[_0x2e8d16(0x1fa)](_0x2e7172,_0x501fcc,_0x343b22),_0x2d0f2b=new A()['invertOp'](_0x2e7172,_0xf2e50a),_0xf225ba={'unitId':_0x166a5c,'op':_0xf2e50a},_0x54db22={'unitId':_0x166a5c,'op':_0x2d0f2b};return _0x5b16cc[_0x2e8d16(0x32e)](Y['id'],_0xf225ba)?(_0x4bf67b[_0x2e8d16(0x1cf)](_0x166a5c),_0x5712a4[_0x2e8d16(0x2e0)]({'unitID':_0x166a5c,'undoMutations':[{'id':Y['id'],'params':_0x54db22}],'redoMutations':[{'id':Y['id'],'params':_0xf225ba}]}),!0x0):!0x1;}},br={'id':_0x1141d6(0x16f),'type':_0x29e4da['COMMAND'],'handler':(_0xd5e65,_0x45048b)=>{const _0x25669c=_0x1141d6;if(!_0x45048b)return!0x1;let _0x26283a=_0xd5e65[_0x25669c(0x13c)](_0x583b46),{unitId:_0x2d3add,tableId:_0x478b18,sourceFieldId:_0x3efcaf,field:_0x3af9a4,index:_0x3f533a,viewIndexes:_0x155830}=_0x45048b,_0x3b9bd1=_0x26283a[_0x25669c(0x14b)](_0x2d3add,_0x42dad9[_0x25669c(0x3f7)]);if(!_0x3b9bd1||!X(_0x3b9bd1,_0x478b18,{'fieldIds':[_0x3efcaf]})||_0x3b9bd1[_0x25669c(0x2a8)]()[_0x25669c(0x407)][_0x478b18][_0x25669c(0x2e2)][_0x3af9a4['id']])return!0x1;let _0x5f5733=_0xd5e65[_0x25669c(0x13c)](_0x4c4564),_0x10240b=_0xd5e65['get'](_0x1cfa3b),_0x5a49fd=_0x3b9bd1[_0x25669c(0x2a8)](),_0xa59fc9=new R()[_0x25669c(0x342)](_0x5a49fd,_0x478b18,_0x3efcaf,{'field':_0x3af9a4,'index':_0x3f533a,'viewIndexes':_0x155830}),_0x27f3e8=new A()[_0x25669c(0x3c6)](_0x5a49fd,_0xa59fc9),_0x44227b={'unitId':_0x2d3add,'op':_0xa59fc9},_0x5dc397={'unitId':_0x2d3add,'op':_0x27f3e8};return _0x5f5733[_0x25669c(0x32e)](Y['id'],_0x44227b)?(_0x26283a[_0x25669c(0x1cf)](_0x2d3add),_0x10240b[_0x25669c(0x2e0)]({'unitID':_0x2d3add,'undoMutations':[{'id':Y['id'],'params':_0x5dc397}],'redoMutations':[{'id':Y['id'],'params':_0x44227b}]}),!0x0):!0x1;}},xr={'id':_0x1141d6(0x200),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3aeec2,_0x5c593d)=>{const _0x322bc7=_0x1141d6;if(!_0x5c593d)return!0x1;let _0xb362b2=_0x3aeec2[_0x322bc7(0x13c)](_0x583b46),{unitId:_0xcb8af3,tableId:_0x5e9234,sourceRecordId:_0x572e20,record:_0x591c88}=_0x5c593d,_0x2d469e=_0xb362b2[_0x322bc7(0x14b)](_0xcb8af3,_0x42dad9[_0x322bc7(0x3f7)]);if(!_0x2d469e||!X(_0x2d469e,_0x5e9234,{'recordIds':[_0x572e20]})||_0x2d469e[_0x322bc7(0x2a8)]()['tables'][_0x5e9234]['records'][_0x591c88['id']])return!0x1;let _0x2c87a6=_0x3aeec2['get'](_0x4c4564),_0x2649d=_0x3aeec2[_0x322bc7(0x13c)](_0x1cfa3b),_0x11d3e5=_0x2d469e['getSnapshot'](),_0x44a6ec=new R()[_0x322bc7(0x3fa)](_0x11d3e5,_0x5e9234,_0x572e20,_0x591c88),_0x310fed=new A()[_0x322bc7(0x3c6)](_0x11d3e5,_0x44a6ec),_0x10c6ab={'unitId':_0xcb8af3,'op':_0x44a6ec},_0x1513b2={'unitId':_0xcb8af3,'op':_0x310fed};return _0x2c87a6[_0x322bc7(0x32e)](Y['id'],_0x10c6ab)?(_0xb362b2['focusUnit'](_0xcb8af3),_0x2649d['pushUndoRedo']({'unitID':_0xcb8af3,'undoMutations':[{'id':Y['id'],'params':_0x1513b2}],'redoMutations':[{'id':Y['id'],'params':_0x10c6ab}]}),!0x0):!0x1;}},Sr={'id':_0x1141d6(0x26c),'type':_0x29e4da['COMMAND'],'handler'(_0x45b52f,_0x59cee5){const _0x3cbf36=_0x1141d6;if(!_0x59cee5)return!0x1;let _0x57b57c=_0x45b52f['get'](_0x583b46),{unitId:_0x29bf9e,tableId:_0x5c10e9,viewId:_0x4cee52,ensureEndDateField:_0x51e794}=_0x59cee5,_0x588541=_0x57b57c[_0x3cbf36(0x14b)](_0x29bf9e,_0x42dad9[_0x3cbf36(0x3f7)]);if(!_0x588541||!X(_0x588541,_0x5c10e9,{'viewIds':[_0x4cee52]}))return!0x1;let _0x42a1ed=_0x588541[_0x3cbf36(0x2a8)](),_0x3bc3dc=_0x42a1ed['tables'][_0x5c10e9],_0x472e35=_0x3bc3dc==null?void 0x0:_0x3bc3dc['views'][_0x4cee52];if(!_0x3bc3dc||!_0x472e35||_0x472e35[_0x3cbf36(0x157)]!==_0x3cbf36(0x19f)&&_0x472e35[_0x3cbf36(0x157)]!==_0x3cbf36(0x233))return!0x1;let _0x539c19=or(_0x3bc3dc,_0x472e35,_0x51e794===!0x0);if(!_0x539c19[_0x3cbf36(0x1a3)])return!0x1;let _0x5bd536=_0x45b52f[_0x3cbf36(0x13c)](_0x4c4564),_0x4e830b=_0x45b52f[_0x3cbf36(0x13c)](_0x1cfa3b),_0x455947=new R(),_0x52d09e=[..._0x539c19[_0x3cbf36(0x2e2)][_0x3cbf36(0x220)](_0x75cac2=>_0x455947[_0x3cbf36(0x14e)](_0x42a1ed,_0x59cee5[_0x3cbf36(0x275)],{'field':_0x75cac2})),Cr([...wr(_0x59cee5[_0x3cbf36(0x275)],_0x59cee5[_0x3cbf36(0x2b5)]),_0x3cbf36(0x1f0)],_0x472e35[_0x3cbf36(0x1f0)],_0x539c19[_0x3cbf36(0x1f0)])];_0x539c19[_0x3cbf36(0x2ad)]&&_0x52d09e[_0x3cbf36(0x1a6)](Cr([...wr(_0x59cee5[_0x3cbf36(0x275)],_0x59cee5[_0x3cbf36(0x2b5)]),_0x3cbf36(0x2ad)],_0x472e35[_0x3cbf36(0x2ad)],_0x539c19[_0x3cbf36(0x2ad)]));let _0x7fd50a=L(_0x52d09e),_0x1ac07a=new A()['invertOp'](_0x42a1ed,_0x7fd50a),_0x2dcf76={'unitId':_0x29bf9e,'op':_0x7fd50a},_0x6496c4={'unitId':_0x29bf9e,'op':_0x1ac07a};return _0x5bd536[_0x3cbf36(0x32e)](Y['id'],_0x2dcf76)?(_0x57b57c[_0x3cbf36(0x1cf)](_0x29bf9e),_0x4e830b[_0x3cbf36(0x2e0)]({'unitID':_0x29bf9e,'undoMutations':[{'id':Y['id'],'params':_0x6496c4}],'redoMutations':[{'id':Y['id'],'params':_0x2dcf76}]}),!0x0):!0x1;}};function Cr(_0x3f4255,_0x23975c,_0x4b0822){const _0x451fb0=_0x1141d6;return _0x23975c===void 0x0?_0x35e04c[_0x451fb0(0x21e)](_0x3f4255,_0x4b0822):_0x35e04c['replaceOp'](_0x3f4255,_0x23975c,_0x4b0822);}function _0x4176(){const _0x1b3b2c=['filter','base.command.set-base-view-field-visible','text','base.command.update-base-record-order','resources','renameTable','_buildKanban','unshift','Kanban','_groupCellInvalidations','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_kanbanGroupKeys','repairViewConfig','exact','timeZone','startDateFieldId','mark','test','_cacheKey','order','createDefaultValue','_viewRevisions','_ganttBarColor','stringify','NumberFormat','MultiSelect','fromPlainText','primaryFieldId','getCapabilities','name','canDeleteRecord','score','_config','pluginName','_normalizeCalendarDisplayColor','getFullYear','Number','values','base.viewType.gallery','_groupProjectionFieldIds','_toDirtyRangePatch','normal','deleteRecord','base.resource.service','workingDays','packageName','timeslotSize','small','after','sort','size','displayColor','updatedAt','invalidateByView','startsWith','Button','Doing','children','_createSystemFieldValuePatches','dependencyFieldId','_applyFormulaResult','card','_matchesGanttColorRule','hh:mm','majorHeaders','invertOp','weekdays','tomorrow','fieldSettings','recordCount','_runtimeContext','coverFieldId','UTC','Barcode','default','beforeFieldId','_findKanbanGroupField','before','_initCommands','cellRevision','_groupsCacheKey','base.command.set-base-view-filter','_applier','getUnitId','IBaseCellData.ensureTableCellLayout','day','editCell','off','#16a34a','_isColorfulKanbanGroupField','createdBy','registerSyncingMutations','length','decorate','leftPaneWidth','setViewFieldVisible','_isAllDayGanttDateRange','embedId','1.0.0-alpha.4','fld-','lastIndexOf','isInteger','showFieldNames','none','Checkbox','attachment','DESC','registerCtorForType','boolean','measure','contains','registerView','base.command.set-base-name','_resolveGanttDateFieldId','UNIVER_BASE','#FDE68A','setViewGroup','duplicateRecord','createBatchCreateRecordsOp','readonly','Progress','url','base.view-registry.service','cell','[BasePerf]\x20','viewIndexes','tableRevision','175BsHiOY',',,,\x22B\x22','createdAt','tables','conjunction','view','mode','done','base.command.set-base-range-values','[BaseField]:\x20invalid\x20multi-value\x20reference.','formula.mutation.set-formula-calculation-result','invalidGanttEndField','_title','usableAsCardCover','Checked','deleteRecords','get','_fieldPermissions','getCurrentUserId','Yes','raw','createUnit','Failed\x20to\x20create\x20update\x20cell\x20operation:','createCreateFieldOp','base.command.change-base-field-type','_resolveGalleryCoverFieldId','fieldIds','_tableRevisions','index','moveField','end','getUnit','clearFieldPermission','setViewFieldOrder','createField','version','width','groups','search','endDateFieldId','15636CRoQip','-record-','endsWith','type','https://','_createRecordWithDefaults','fieldName','HH:mm','renameFormulaUnitReferences','hasOwnProperty','assign','viewOrder','Gallery','_normalizeGanttDisplayColor','records','resolve','hourCycle','_findCalendarDateFieldId','Email','replace','_getTable','createRecords','-field-name','[BaseCommandService]:\x20cannot\x20manage\x20view.','base.fieldType.','check','_normalizeGanttConfig','base.command.duplicate-base-field','_buildGallery','1740870MeeaRt','normalize','base.command.create-base-field','matchAll','usableAsGanttEnd','fromEntries','selectField','base.field-registry.service','_createNumberingAllocators','_fastSortRows','canDeleteTable','_dataSyncPrimaryController','Flow','lastWeek','snapshot',':start','columns','_getCachedProjection','base.command.move-base-view','canManageView','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','\x22\x20does\x20not\x20exist.','exceptions','_recordIds','diffValue','False','colId','group','_filterRows','$1\x20','compose','_cellInvalidations','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','person','TwoWayLink','base.command.update-base-kanban-config','edit','invalidateByCell','globalRevision','row','_deleteAttachmentResources','user','base.command.delete-base-field','_applyingFormulaResults','recordOrder','_univerInstanceService','calendar','localeCompare','usableAsGanttStart','_getCurrentUserId','changed','_configService','record','push','invalidateByOp','flatMap','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_cellRevisions','845241Hgystz','setFieldPermission','executeCommand','[BaseField]:\x20invalid\x20phone\x20value.','join','_capabilities','bases.fieldConfig.textPlaceholder','from','Currency','toFixed','base.command.set-base-record-values','base.command.rename-base-view','periodComma','_commandService','_initDependencies','_groupConfigCacheSegment','Grid','_setFormulaFieldCells','YYYY/MM/DD','fieldId','percent','Uncategorized','manual','deepClone','[BaseField]:\x20invalid\x20date\x20value.','setBaseName','regenerateViewIds','_getOrderedRecords','validateFormula','SingleSelect','_materializeGroups','conditional','_resolveKanbanGroupFieldId',',,\x22M\x22','h:mm\x20a','Name','focusUnit','_plugins','_onCommandExecuted','Group','_getJson1DirtyData','padStart','BASES_PLUGIN','invalidGroupField','COMMAND','DD/MM/YYYY','unitWidth','error','includeTime','today','getAffectedRanges','_syncSuperTables','Summary','UNIVER_EMBED_BASES_TABLE','embed-ui','add','commaPeriod','thisMonth','[BaseField]:\x20invalid\x20progress\x20value.','custom','yesterday','_initDataSync','createDefaultConfig','register','[BaseField]:\x20invalid\x20number\x20value.','_isKanbanGroupField','registerCommand','toLocaleString','keys','config','base-perf-','Phone','locale','_getSystemFieldValue','beforeViewId','en-US','_normalizeGalleryConfig','title','#3b82f6','deleteView','createViewId','FieldId','working','_syncBaseUnit','formatToParts','base.command.duplicate-base-record','recordId','base.command.set-base-view-sort','[BaseField]:\x20invalid\x20checkbox\x20value.','displayText','_kanbanLaneColor','revision','unknown','setRangeValues','_setCachedProjection','conditions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','doing','value','565yUxEjP','MM-DD','base.command.update-base-cell','base.viewType.gantt','MUTATION','updatedBy','7158ycnbkO','#,##0','Lookup','constructor','tableOrder','STRING','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','medium','getStructuredDependencies','forValue','insertOp','progressFieldId','map','ena','string','getOwnPropertyDescriptor','editable','_globalRevision','216lUGBRS','_removeSuperTables','_buildGrid','UpdatedBy','gridViewId','colIndex','[BaseViewRegistryService]:\x20view\x20type\x20\x22','Person','_createNumberingAllocator','getItem','defineProperty','call','[BaseField]:\x20invalid\x20person\x20value.','gantt','past7','kanban','find','allowMultiple','getTime','_getTablesToNormalize','base.command.delete-base-view','operator','catch',':end','views','updateViewConfig','invalidGanttStartField','rowIndex','[BaseCommandService]:\x20cannot\x20edit\x20field.','lessThan','_calendarEventColor','clearTablePermission','label','remove','max','base.command.update-base-field-description','indexOf','_resolveKanbanCoverFieldId','leftPaneCollapsed','base.mutation.apply-base-json1','Gantt','base.command.create-base-view','setRecordValues','deleteTable','Attachment','#14b8a6','YYYY/MM/DD\x20HH:mm','splice','every','canEditField','params','isFinite','UpdatedAt','RecordId','lessThanOrEqual','registerTable','separatorStyle','BaseProjection.filterAndSortRows','base.viewType.calendar','114zcrXqb','MM/DD/YYYY','userID','exception-','query','basePerf','recordIds','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','format','getUTCDay','view-','base.command.ensure-base-temporal-view-date-fields','[BaseCommandService]:\x20cannot\x20create\x20record.','baseRows','getAllUnitsForType','scale','_registeredSuperTableNames','result','toPlainText','base.command.rename-base-table','tableId','columnSettings','_buildCalendar','getUTCFullYear','[BaseCommandService]:\x20cannot\x20create\x20field.','workingDaysOnly','__all__','canCreateRecord','base.command.set-base-view-field-width','setViewSort','trigger','decimalPlaces','rules','level','_projectGroups','now','base.command.set-base-kanban-group-field','showTodayLine','Calendar','[BaseProjectionService]:\x20missing\x20view\x20\x22','[BaseFormula]:\x20field\x20\x22','isArray','year','color','_apply','month','round','then','next7','_formulaService','field','options','operand','getTypePlugin','updateRecordOrder','thisWeek','start','slice','setConfig','_withModifiedSystemValues','Date','general','_projectTableRows','some','setHours','_getAllTableIds','664939SAXhYE','Numbering','patches','limit','lastMonth','getSnapshot','colorFieldId','unitData','toPrimitive','valid','fieldOrder','toLowerCase','_getTableRevision','setRecordPermission','_projectedRowsCache','Text','disposeWithMe','symbol','viewId','todo','getAll','createSuperTableReference','createCreateRecordOp','_replaceOptional','NUMBER','description','_patchCachedProjectedRows','getDay','canEditCell','orderKey','base.command.create-base-record','createSetRecordValuesOp','_createRecordOrderOp','_fieldRegistry','repeat','spacePeriod','findIndex','isNotEmpty','#BBF7D0','invalid','cardSize','2008VWOMbZ','_getViewRevision','invalidDateField','Empty','greaterThanOrEqual','setTablePermission','renameView','lastIndex','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','setViewFieldWidth','base.viewType.grid','_projectionCache','min','createUpdateCellOp','univer.basePerf','CreatedAt','_bumpTableRevision','_resolveCalendarDateFieldId','getUTCDate','long','pushUndoRedo','next30','fields','getSuperTableRegistrations','syncUnit','col','updateCell','\x22\x20is\x20not\x20registered.','forEach','setSnapshot','column','base.command.delete-base-record','_canUseFastSort','_getStructureDirtyTableIds','createRegExpFromSafeFragment','manageView','_activeDirtyManagerService','moveView','getMonth','star','_createNumberingFieldValuePatches','_kanbanLaneTitle','childUnitId','__tempBatchingUndoRedo','formula','BaseJson1.cloneForOp','number','recordNamePrefix','key','_projectFields','isNot','_patchProjectedRowsForCellInvalidations','reason','removeOp','_isAllDayCalendarEvent','[BaseFormula]:\x20table\x20\x22','local','table','major-','tableName','decimal','spaceComma','onReady','setBasePermission','_cellInvalidationsTouchFields','Done','_isNonEmptyCellValue','setViewFilter','_permissionService','hidden','_enqueueFormulaSync','afterFieldId','missingField','groupFieldId','_getKanbanConfiguredLanes','_rowTransformCacheSegment','quarter','cardLayout','_baseSyncDisposables','_projectedViewRowsCache','system','yyyy/mm/dd','dateMode','base.command.update-base-field','short','base.viewType.kanban','unitOtherData','direction','split','has','BaseProjection.materializeTableRows','_tablePermissions','_initialize','124788ExuQrF','_buildGantt','validate','replaceOp','base.command.batch-create-base-records','syncExecuteCommand','delete','__UNIVER_BASE_PERF__','Formula','_isCalendarDateField','afterViewId','h12','_getCellRevision','recordPatch','createRecord','_setAttachmentResources','canDeleteField','Link','attachments','cellData','invalidateByField','updateField','changeFieldType','@univerjs-pro/bases','BOOLEAN','duplicateField','Location','_resolveKanbanCardFieldIds','unitId','getUTCMonth','_normalizeCalendarConfig','_basePermissions','[BaseCommandService]:\x20cannot\x20delete\x20table.','BaseProjection.projectRows','invertWithDoc','_sortRows','entries','[BaseCommandService]:\x20cannot\x20delete\x20field.','iterator','_formulaSyncQueue','option-','CreatedBy','set','_injector','true','prototype','_factory','FORCE_STRING','currencySymbol','titleFieldId','createTable','applyOp','registerSuperTable','_isAllowedKanbanGroupField','_isGanttDateField','function','bases.config','large','canCreateField','defaultValue','autoIncrement','11349GiRsdr','createView','_recordPermissions','trim','_resolveGalleryCardFieldIds','isNaN','attachmentSets','_projectRows','date','_projectedGroupsCache','includes','object','usableAsCalendarDate','deleteField','_initRegistries','_views','reduce','[BaseCommandService]:\x20cannot\x20edit\x20cell.','rowId','base.command.service','rows','false','_viewRevisionKey','canCreateTable','childType','_filterSortFieldIds','fieldIndex','h24','subscribe','_normalizeCellValue','Rating'];_0x4176=function(){return _0x1b3b2c;};return _0x4176();}function wr(_0x5d2ddb,_0x432803){const _0x58c89f=_0x1141d6;return[_0x58c89f(0x407),_0x5d2ddb,_0x58c89f(0x23e),_0x432803];}function _0x33c5(_0x57bd26,_0x3e0730){_0x57bd26=_0x57bd26-0x136;const _0x41766f=_0x4176();let _0x33c509=_0x41766f[_0x57bd26];return _0x33c509;}const Tr={'id':'base.command.move-base-field','type':_0x29e4da['COMMAND'],'handler':(_0x5caf56,_0x5dbe54)=>{const _0x3e8049=_0x1141d6;var _0x311f28;if(!_0x5dbe54)return!0x1;let _0x486ceb=_0x5caf56[_0x3e8049(0x13c)](_0x583b46),{unitId:_0x2c2b67,tableId:_0x14badb,fieldId:_0x36d65b,target:_0x1d882a}=_0x5dbe54,_0x54620f=_0x486ceb[_0x3e8049(0x14b)](_0x2c2b67,_0x42dad9['UNIVER_BASE']),_0x444930=(_0x311f28=_0x1d882a[_0x3e8049(0x3d0)])==null?_0x1d882a[_0x3e8049(0x313)]:_0x311f28;if(!_0x54620f||!!_0x1d882a['beforeFieldId']==!!_0x1d882a[_0x3e8049(0x313)]||!_0x444930||_0x444930===_0x36d65b||!X(_0x54620f,_0x14badb,{'fieldIds':[_0x36d65b,_0x444930]}))return!0x1;let _0x1c2a98=_0x5caf56[_0x3e8049(0x13c)](_0x4c4564),_0x15ea29=_0x5caf56[_0x3e8049(0x13c)](_0x1cfa3b),_0x2d83f9=_0x54620f[_0x3e8049(0x2a8)](),_0x511a77=new R()['moveField'](_0x2d83f9,_0x14badb,_0x36d65b,_0x1d882a),_0x19a93f=new A()[_0x3e8049(0x3c6)](_0x2d83f9,_0x511a77),_0x54a3ab={'unitId':_0x2c2b67,'op':_0x511a77},_0x41bddb={'unitId':_0x2c2b67,'op':_0x19a93f};return _0x1c2a98[_0x3e8049(0x32e)](Y['id'],_0x54a3ab)?(_0x486ceb['focusUnit'](_0x2c2b67),_0x15ea29[_0x3e8049(0x2e0)]({'unitID':_0x2c2b67,'undoMutations':[{'id':Y['id'],'params':_0x41bddb}],'redoMutations':[{'id':Y['id'],'params':_0x54a3ab}]}),!0x0):!0x1;}},Er={'id':_0x1141d6(0x183),'type':_0x29e4da['COMMAND'],'handler':(_0x2855ca,_0x4f8b61)=>{const _0x59297f=_0x1141d6;var _0x355440;if(!_0x4f8b61)return!0x1;let _0x45baa2=_0x2855ca[_0x59297f(0x13c)](_0x583b46),{unitId:_0x37e296,tableId:_0x3e6027,viewId:_0x1f4d78,target:_0xd1cf26}=_0x4f8b61,_0x5bbf4c=_0x45baa2[_0x59297f(0x14b)](_0x37e296,_0x42dad9[_0x59297f(0x3f7)]),_0x447985=(_0x355440=_0xd1cf26[_0x59297f(0x1f5)])==null?_0xd1cf26[_0x59297f(0x333)]:_0x355440;if(!_0x5bbf4c||!_0x447985||_0x447985===_0x1f4d78||!X(_0x5bbf4c,_0x3e6027,{'viewIds':[_0x1f4d78,_0x447985]}))return!0x1;let _0x5263bb=_0x2855ca[_0x59297f(0x13c)](_0x4c4564),_0x3d9fa0=_0x2855ca['get'](_0x1cfa3b),_0x4845ad=_0x5bbf4c[_0x59297f(0x2a8)](),_0x141310=new R()[_0x59297f(0x2f1)](_0x4845ad,_0x3e6027,_0x1f4d78,_0xd1cf26),_0x31bc65=new A()['invertOp'](_0x4845ad,_0x141310),_0x564ff3={'unitId':_0x37e296,'op':_0x141310},_0x486640={'unitId':_0x37e296,'op':_0x31bc65};return _0x5263bb['syncExecuteCommand'](Y['id'],_0x564ff3)?(_0x45baa2[_0x59297f(0x1cf)](_0x37e296),_0x3d9fa0['pushUndoRedo']({'unitID':_0x37e296,'undoMutations':[{'id':Y['id'],'params':_0x486640}],'redoMutations':[{'id':Y['id'],'params':_0x564ff3}]}),!0x0):!0x1;}},Dr={'id':_0x1141d6(0x274),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3bf412,_0x3fde71)=>{const _0x2fa6e5=_0x1141d6;if(!_0x3fde71)return!0x1;let _0x4d8c36=_0x3bf412[_0x2fa6e5(0x13c)](_0x583b46),{unitId:_0x57b658,tableId:_0x15aa47,name:_0x40fdf3}=_0x3fde71,_0x29556f=_0x4d8c36[_0x2fa6e5(0x14b)](_0x57b658,_0x42dad9[_0x2fa6e5(0x3f7)]);if(!_0x29556f||!X(_0x29556f,_0x15aa47))return!0x1;let _0x1f97fb=_0x3bf412[_0x2fa6e5(0x13c)](_0x4c4564),_0x2df43b=_0x3bf412[_0x2fa6e5(0x13c)](_0x1cfa3b),_0xd190d4=_0x29556f[_0x2fa6e5(0x2a8)](),_0x3a493=new R()[_0x2fa6e5(0x38a)](_0xd190d4,_0x15aa47,_0x40fdf3),_0x5f5901=new A()['invertOp'](_0xd190d4,_0x3a493),_0x1a48ad={'unitId':_0x57b658,'op':_0x3a493},_0x57b40b={'unitId':_0x57b658,'op':_0x5f5901};return _0x1f97fb[_0x2fa6e5(0x32e)](Y['id'],_0x1a48ad)?(_0x4d8c36[_0x2fa6e5(0x1cf)](_0x57b658),_0x2df43b[_0x2fa6e5(0x2e0)]({'unitID':_0x57b658,'undoMutations':[{'id':Y['id'],'params':_0x57b40b}],'redoMutations':[{'id':Y['id'],'params':_0x1a48ad}]}),!0x0):!0x1;}},Or={'id':_0x1141d6(0x1b6),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4b069e,_0x1f72f4)=>{const _0x1c5790=_0x1141d6;if(!_0x1f72f4)return!0x1;let _0x4f3389=_0x4b069e[_0x1c5790(0x13c)](_0x583b46),{unitId:_0x4bfb8e,tableId:_0x586fcd,viewId:_0x388c67,name:_0x4f9c23}=_0x1f72f4,_0x2f4d57=_0x4f3389['getUnit'](_0x4bfb8e,_0x42dad9[_0x1c5790(0x3f7)]);if(!_0x2f4d57||!X(_0x2f4d57,_0x586fcd,{'viewIds':[_0x388c67]}))return!0x1;let _0x53dcba=_0x4b069e[_0x1c5790(0x13c)](_0x4c4564),_0x5e8007=_0x4b069e[_0x1c5790(0x13c)](_0x1cfa3b),_0x4ff7e0=_0x2f4d57[_0x1c5790(0x2a8)](),_0x2d4c33=new R()['renameView'](_0x4ff7e0,_0x586fcd,_0x388c67,_0x4f9c23),_0x286afc=new A()[_0x1c5790(0x3c6)](_0x4ff7e0,_0x2d4c33),_0x28890b={'unitId':_0x4bfb8e,'op':_0x2d4c33},_0x12c9db={'unitId':_0x4bfb8e,'op':_0x286afc};return _0x53dcba[_0x1c5790(0x32e)](Y['id'],_0x28890b)?(_0x4f3389[_0x1c5790(0x1cf)](_0x4bfb8e),_0x5e8007[_0x1c5790(0x2e0)]({'unitID':_0x4bfb8e,'undoMutations':[{'id':Y['id'],'params':_0x12c9db}],'redoMutations':[{'id':Y['id'],'params':_0x28890b}]}),!0x0):!0x1;}},kr={'id':_0x1141d6(0x285),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x5f21ff,_0x5e17e5)=>{const _0x4b0a56=_0x1141d6;if(!_0x5e17e5)return!0x1;let _0x1b63f9=_0x5f21ff[_0x4b0a56(0x13c)](_0x583b46),{unitId:_0x199ac7,tableId:_0x46735c,viewId:_0xfdf89,fieldId:_0x295af4}=_0x5e17e5,_0x4db83d=_0x1b63f9[_0x4b0a56(0x14b)](_0x199ac7,_0x42dad9['UNIVER_BASE']);if(!_0x4db83d||!X(_0x4db83d,_0x46735c,{'viewIds':[_0xfdf89],'fieldIds':[_0x295af4]}))return!0x1;let _0x47282a=_0x5f21ff[_0x4b0a56(0x13c)](_0x4c4564),_0x22b669=_0x5f21ff[_0x4b0a56(0x13c)](_0x1cfa3b),_0x4bf8cc=_0x4db83d[_0x4b0a56(0x2a8)](),_0x3afbce=new R()[_0x4b0a56(0x23f)](_0x4bf8cc,_0x46735c,_0xfdf89,{'groupFieldId':_0x295af4}),_0xb3ac08=new A()[_0x4b0a56(0x3c6)](_0x4bf8cc,_0x3afbce),_0x5e5abd={'unitId':_0x199ac7,'op':_0x3afbce},_0x4ea85f={'unitId':_0x199ac7,'op':_0xb3ac08};return _0x47282a[_0x4b0a56(0x32e)](Y['id'],_0x5e5abd)?(_0x1b63f9[_0x4b0a56(0x1cf)](_0x199ac7),_0x22b669['pushUndoRedo']({'unitID':_0x199ac7,'undoMutations':[{'id':Y['id'],'params':_0x4ea85f}],'redoMutations':[{'id':Y['id'],'params':_0x5e5abd}]}),!0x0):!0x1;}},Ar={'id':_0x1141d6(0x3f5),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x66a7c7,_0x7cac9f)=>{const _0x147243=_0x1141d6;if(!_0x7cac9f)return!0x1;let _0x31092d=_0x66a7c7[_0x147243(0x13c)](_0x583b46),_0x39a5aa=_0x31092d[_0x147243(0x14b)](_0x7cac9f[_0x147243(0x345)],_0x42dad9['UNIVER_BASE']);if(!_0x39a5aa)return!0x1;let _0x3cccc4=_0x39a5aa[_0x147243(0x2a8)]()['name'];if(_0x3cccc4===_0x7cac9f[_0x147243(0x3a2)])return!0x0;let _0x1ac637=new R(),_0x118826=new A(),_0x482431=[],_0x5b5d9a=[],_0x30eb50=[_0x39a5aa,..._0x31092d[_0x147243(0x26f)](_0x42dad9[_0x147243(0x3f7)])[_0x147243(0x385)](_0x70612=>_0x70612[_0x147243(0x3d8)]()!==_0x7cac9f['unitId'])];for(let _0x45c343 of _0x30eb50){let _0x3b264a=_0x45c343[_0x147243(0x2a8)](),_0x4356b2=_0x45c343===_0x39a5aa?_0x1ac637[_0x147243(0x1c4)](_0x3b264a,_0x7cac9f[_0x147243(0x3a2)]):_0x1ac637[_0x147243(0x15c)](_0x3b264a,_0x3cccc4,_0x7cac9f[_0x147243(0x3a2)]);_0x4356b2&&(_0x482431['push']({'id':Y['id'],'params':{'unitId':_0x45c343[_0x147243(0x3d8)](),'op':_0x4356b2,'trigger':Ar['id']}}),_0x5b5d9a[_0x147243(0x38c)]({'id':Y['id'],'params':{'unitId':_0x45c343[_0x147243(0x3d8)](),'op':_0x118826[_0x147243(0x3c6)](_0x3b264a,_0x4356b2),'trigger':Ar['id']}}));}let _0x50cefc=_0x66a7c7[_0x147243(0x13c)](_0x4c4564),_0x3ce333=_0x66a7c7[_0x147243(0x13c)](_0x1cfa3b),_0x2d86fb=_0x3ce333[_0x147243(0x2f7)](_0x7cac9f[_0x147243(0x345)]);try{return _0x455154(_0x482431,_0x50cefc)[_0x147243(0x272)]?(_0x31092d[_0x147243(0x1cf)](_0x7cac9f[_0x147243(0x345)]),_0x3ce333[_0x147243(0x2e0)]({'unitID':_0x7cac9f[_0x147243(0x345)],'undoMutations':_0x5b5d9a,'redoMutations':_0x482431}),!0x0):!0x1;}finally{_0x2d86fb['dispose']();}}},jr={'id':_0x1141d6(0x40c),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0xd66054,_0x1516d4){const _0x31b55d=_0x1141d6;if(!_0x1516d4)return!0x1;let _0x706f65=_0xd66054['get'](_0x583b46),{unitId:_0x4fef9e,tableId:_0x51ba25,patches:_0x1e241d}=_0x1516d4,_0x4e819d=_0x706f65[_0x31b55d(0x14b)](_0x4fef9e,_0x42dad9[_0x31b55d(0x3f7)]);if(!_0x4e819d||!X(_0x4e819d,_0x51ba25))return!0x1;let _0x1a8142=_0xd66054[_0x31b55d(0x13c)](_0x4c4564),_0x27b1ad=_0xd66054[_0x31b55d(0x13c)](_0x1cfa3b),_0x4c58a5=_0x4e819d['getSnapshot'](),_0x46cbc1=E(_0x4c58a5['tables'][_0x51ba25]),_0x1743f6=_0x1e241d[_0x31b55d(0x220)](_0x38438a=>{const _0x127d69=_0x31b55d;var _0xd2dffd;return _0x127d69(0x201)in _0x38438a?_0x38438a[_0x127d69(0x201)]:(_0xd2dffd=_0x46cbc1['rowId'])==null?void 0x0:_0xd2dffd[_0x38438a[_0x127d69(0x198)]];})[_0x31b55d(0x385)](_0x52e00d=>_0x52e00d!=null),_0x80a89f=_0x1e241d['map'](_0x2f9572=>{const _0x2e25f9=_0x31b55d;var _0x38db64;return _0x2e25f9(0x1be)in _0x2f9572?_0x2f9572[_0x2e25f9(0x1be)]:(_0x38db64=_0x46cbc1['colId'])==null?void 0x0:_0x38db64[_0x2f9572[_0x2e25f9(0x2e5)]];})[_0x31b55d(0x385)](_0x100fb1=>_0x100fb1!=null);if(_0x1743f6[_0x31b55d(0x3e1)]!==_0x1e241d[_0x31b55d(0x3e1)]||_0x80a89f[_0x31b55d(0x3e1)]!==_0x1e241d[_0x31b55d(0x3e1)]||!X(_0x4e819d,_0x51ba25,{'recordIds':_0x1743f6,'fieldIds':_0x80a89f}))return!0x1;let _0x277508=_0x1e241d[_0x31b55d(0x1a8)](_0x2a85e1=>{const _0x79b2b3=_0x31b55d;var _0x410400,_0x115c4f;if(_0x79b2b3(0x198)in _0x2a85e1)return[_0x2a85e1];let _0x581d14=(_0x410400=_0x46cbc1[_0x79b2b3(0x241)])==null?void 0x0:_0x410400[_0x2a85e1['recordId']],_0xf7695=(_0x115c4f=_0x46cbc1[_0x79b2b3(0x22b)])==null?void 0x0:_0x115c4f[_0x2a85e1[_0x79b2b3(0x1be)]];return _0x581d14==null||_0xf7695==null?[]:[{'row':_0x581d14,'col':_0xf7695,'value':_0x2a85e1[_0x79b2b3(0x20d)]}];}),_0x35bdb3=new R()[_0x31b55d(0x208)](_0x4c58a5,_0x51ba25,_0x277508),_0x4e1668=new A()[_0x31b55d(0x3c6)](_0x4c58a5,_0x35bdb3),_0xbb517b={'unitId':_0x4fef9e,'op':_0x35bdb3},_0x2bfb58={'unitId':_0x4fef9e,'op':_0x4e1668};return _0x1a8142['syncExecuteCommand'](Y['id'],_0xbb517b)?(_0x706f65['focusUnit'](_0x4fef9e),_0x27b1ad[_0x31b55d(0x2e0)]({'unitID':_0x4fef9e,'undoMutations':[{'id':Y['id'],'params':_0x2bfb58}],'redoMutations':[{'id':Y['id'],'params':_0xbb517b}]}),!0x0):!0x1;}},Mr={'id':_0x1141d6(0x1b5),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x2c2dff,_0x20fe48){const _0x20fd32=_0x1141d6;if(!_0x20fe48)return!0x1;let _0x2761d7=_0x2c2dff[_0x20fd32(0x13c)](_0x583b46),{unitId:_0x25c300,tableId:_0x44ef28,patches:_0x384ff5}=_0x20fe48,_0x2936ca=_0x2761d7[_0x20fd32(0x14b)](_0x25c300,_0x42dad9['UNIVER_BASE']),_0x365f90=_0x384ff5[_0x20fd32(0x220)](_0x387421=>_0x387421[_0x20fd32(0x201)]),_0x3690e2=_0x384ff5[_0x20fd32(0x1a8)](_0x59c906=>Object[_0x20fd32(0x1ef)](_0x59c906[_0x20fd32(0x3aa)]));if(!_0x2936ca||!X(_0x2936ca,_0x44ef28,{'recordIds':_0x365f90,'fieldIds':_0x3690e2}))return!0x1;let _0x919ebe=_0x2c2dff[_0x20fd32(0x13c)](_0x4c4564),_0x35d8eb=_0x2c2dff[_0x20fd32(0x13c)](_0x1cfa3b),_0x3a6843=_0x2c2dff['get'](W)['createSetRecordValuesOp'](_0x2936ca,_0x44ef28,_0x384ff5),_0x4a73e7=new A()[_0x20fd32(0x3c6)](_0x2936ca[_0x20fd32(0x2a8)](),_0x3a6843),_0xf58895={'unitId':_0x25c300,'op':_0x3a6843},_0x16c67c={'unitId':_0x25c300,'op':_0x4a73e7};return _0x919ebe[_0x20fd32(0x32e)](Y['id'],_0xf58895)?(_0x2761d7[_0x20fd32(0x1cf)](_0x25c300),_0x35d8eb[_0x20fd32(0x2e0)]({'unitID':_0x25c300,'undoMutations':[{'id':Y['id'],'params':_0x16c67c}],'redoMutations':[{'id':Y['id'],'params':_0xf58895}]}),!0x0):!0x1;}},Nr={'id':'base.command.set-base-view-field-order','type':_0x29e4da['COMMAND'],'handler':(_0x516754,_0x3f016f)=>{const _0x129f82=_0x1141d6;var _0x190b49;if(!_0x3f016f)return!0x1;let _0xe2aa16=_0x516754[_0x129f82(0x13c)](_0x583b46),{unitId:_0x566a0a,tableId:_0x1b4f3e,viewId:_0x3647ff,fieldId:_0x5056ce,target:_0x39c2dc}=_0x3f016f,_0x4bc7c1=_0xe2aa16[_0x129f82(0x14b)](_0x566a0a,_0x42dad9[_0x129f82(0x3f7)]),_0x5587a0=(_0x190b49=_0x39c2dc[_0x129f82(0x3d0)])==null?_0x39c2dc['afterFieldId']:_0x190b49;if(!_0x4bc7c1||!_0x5587a0||_0x5587a0===_0x5056ce||!X(_0x4bc7c1,_0x1b4f3e,{'viewIds':[_0x3647ff],'fieldIds':[_0x5056ce,_0x5587a0]}))return!0x1;let _0x1d1d03=_0x516754[_0x129f82(0x13c)](_0x4c4564),_0xc1ebb2=_0x516754[_0x129f82(0x13c)](_0x1cfa3b),_0x1c6321=_0x4bc7c1[_0x129f82(0x2a8)](),_0x1eaba9=new R()[_0x129f82(0x14d)](_0x1c6321,_0x1b4f3e,_0x3647ff,_0x5056ce,_0x39c2dc),_0x94117c=new A()[_0x129f82(0x3c6)](_0x1c6321,_0x1eaba9),_0x4a3ecd={'unitId':_0x566a0a,'op':_0x1eaba9},_0x177750={'unitId':_0x566a0a,'op':_0x94117c};return _0x1d1d03[_0x129f82(0x32e)](Y['id'],_0x4a3ecd)?(_0xe2aa16[_0x129f82(0x1cf)](_0x566a0a),_0xc1ebb2['pushUndoRedo']({'unitID':_0x566a0a,'undoMutations':[{'id':Y['id'],'params':_0x177750}],'redoMutations':[{'id':Y['id'],'params':_0x4a3ecd}]}),!0x0):!0x1;}},Pr={'id':_0x1141d6(0x386),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x437d01,_0x1780ed){const _0x354f42=_0x1141d6;if(!_0x1780ed)return!0x1;let _0x435e25=_0x437d01[_0x354f42(0x13c)](_0x583b46),{unitId:_0x1f8127,tableId:_0x3419fb,viewId:_0x430d5d,fieldId:_0x518609,visible:_0x4d7808}=_0x1780ed,_0x1fcc74=_0x435e25[_0x354f42(0x14b)](_0x1f8127,_0x42dad9[_0x354f42(0x3f7)]);if(!_0x1fcc74||!X(_0x1fcc74,_0x3419fb,{'viewIds':[_0x430d5d],'fieldIds':[_0x518609]}))return!0x1;let _0x4998c9=_0x437d01[_0x354f42(0x13c)](_0x4c4564),_0x2c489e=_0x437d01[_0x354f42(0x13c)](_0x1cfa3b),_0x5d332d=_0x1fcc74[_0x354f42(0x2a8)](),_0x5f2e78=new R()['setViewFieldVisible'](_0x5d332d,_0x3419fb,_0x430d5d,_0x518609,_0x4d7808),_0x4a8029=new A()[_0x354f42(0x3c6)](_0x5d332d,_0x5f2e78),_0x530cff={'unitId':_0x1f8127,'op':_0x5f2e78},_0x4522ce={'unitId':_0x1f8127,'op':_0x4a8029};return _0x4998c9[_0x354f42(0x32e)](Y['id'],_0x530cff)?(_0x435e25[_0x354f42(0x1cf)](_0x1f8127),_0x2c489e['pushUndoRedo']({'unitID':_0x1f8127,'undoMutations':[{'id':Y['id'],'params':_0x4522ce}],'redoMutations':[{'id':Y['id'],'params':_0x530cff}]}),!0x0):!0x1;}},Fr={'id':_0x1141d6(0x27d),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3be85e,_0x4c1140)=>{const _0xb84d4=_0x1141d6;if(!_0x4c1140)return!0x1;let _0x346c07=_0x3be85e[_0xb84d4(0x13c)](_0x583b46),{unitId:_0x4766b2,tableId:_0x3468e9,viewId:_0x1f19a8,fieldId:_0x10c3fe,width:_0x34b274}=_0x4c1140,_0x4ff56f=_0x346c07[_0xb84d4(0x14b)](_0x4766b2,_0x42dad9[_0xb84d4(0x3f7)]);if(!_0x4ff56f||!X(_0x4ff56f,_0x3468e9,{'viewIds':[_0x1f19a8],'fieldIds':[_0x10c3fe]}))return!0x1;let _0x300f94=_0x3be85e[_0xb84d4(0x13c)](_0x4c4564),_0x127db0=_0x3be85e['get'](_0x1cfa3b),_0x523183=_0x4ff56f['getSnapshot'](),_0x4e0aab=new R()[_0xb84d4(0x2d5)](_0x523183,_0x3468e9,_0x1f19a8,_0x10c3fe,_0x34b274),_0x58f2b3=new A()[_0xb84d4(0x3c6)](_0x523183,_0x4e0aab),_0x1a4753={'unitId':_0x4766b2,'op':_0x4e0aab},_0x5491ad={'unitId':_0x4766b2,'op':_0x58f2b3};return _0x300f94[_0xb84d4(0x32e)](Y['id'],_0x1a4753)?(_0x346c07[_0xb84d4(0x1cf)](_0x4766b2),_0x127db0['pushUndoRedo']({'unitID':_0x4766b2,'undoMutations':[{'id':Y['id'],'params':_0x5491ad}],'redoMutations':[{'id':Y['id'],'params':_0x1a4753}]}),!0x0):!0x1;}},Ir={'id':_0x1141d6(0x3d6),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3faaa0,_0x185d29)=>{const _0x30d1bc=_0x1141d6;var _0x51f6e7;if(!_0x185d29)return!0x1;let _0x487a24=_0x3faaa0[_0x30d1bc(0x13c)](_0x583b46),{unitId:_0x11c7d4,tableId:_0x5d73ad,viewId:_0x572452,filter:_0x475000}=_0x185d29,_0x55f4b4=_0x487a24[_0x30d1bc(0x14b)](_0x11c7d4,_0x42dad9[_0x30d1bc(0x3f7)]),_0x526f01=(_0x51f6e7=_0x475000==null?void 0x0:_0x475000[_0x30d1bc(0x20a)]['map'](_0xcc3eb9=>_0xcc3eb9[_0x30d1bc(0x1be)]))==null?[]:_0x51f6e7;if(!_0x55f4b4||!X(_0x55f4b4,_0x5d73ad,{'viewIds':[_0x572452],'fieldIds':_0x526f01}))return!0x1;let _0x46acc2=_0x3faaa0['get'](_0x4c4564),_0x544a24=_0x3faaa0[_0x30d1bc(0x13c)](_0x1cfa3b),_0x1545d3=_0x55f4b4[_0x30d1bc(0x2a8)](),_0x12ad42=new R()[_0x30d1bc(0x30f)](_0x1545d3,_0x5d73ad,_0x572452,_0x475000),_0xe13134=new A()['invertOp'](_0x1545d3,_0x12ad42),_0x415cdc={'unitId':_0x11c7d4,'op':_0x12ad42},_0x23cbdf={'unitId':_0x11c7d4,'op':_0xe13134};return _0x46acc2[_0x30d1bc(0x32e)](Y['id'],_0x415cdc)?(_0x487a24[_0x30d1bc(0x1cf)](_0x11c7d4),_0x544a24[_0x30d1bc(0x2e0)]({'unitID':_0x11c7d4,'undoMutations':[{'id':Y['id'],'params':_0x23cbdf}],'redoMutations':[{'id':Y['id'],'params':_0x415cdc}]}),!0x0):!0x1;}},Lr={'id':'base.command.set-base-view-group','type':_0x29e4da['COMMAND'],'handler':(_0xf66d12,_0x32a83b)=>{const _0x5dabfe=_0x1141d6;if(!_0x32a83b)return!0x1;let _0x484728=_0xf66d12['get'](_0x583b46),{unitId:_0x1f044b,tableId:_0x172c0b,viewId:_0x3bcbdb,group:_0x332fad}=_0x32a83b,_0x2c7ffc=_0x484728[_0x5dabfe(0x14b)](_0x1f044b,_0x42dad9[_0x5dabfe(0x3f7)]);if(!_0x2c7ffc||!X(_0x2c7ffc,_0x172c0b,{'viewIds':[_0x3bcbdb],'fieldIds':_0x332fad[_0x5dabfe(0x220)](_0x40bcd2=>_0x40bcd2['fieldId'])}))return!0x1;let _0x4c218e=_0xf66d12[_0x5dabfe(0x13c)](_0x4c4564),_0x4ee7d7=_0xf66d12[_0x5dabfe(0x13c)](_0x1cfa3b),_0x1c5a3c=_0x2c7ffc['getSnapshot'](),_0x426cef=new R()['setViewGroup'](_0x1c5a3c,_0x172c0b,_0x3bcbdb,_0x332fad),_0x34fd30=new A()[_0x5dabfe(0x3c6)](_0x1c5a3c,_0x426cef),_0x18cf4a={'unitId':_0x1f044b,'op':_0x426cef},_0x56fa88={'unitId':_0x1f044b,'op':_0x34fd30};return _0x4c218e[_0x5dabfe(0x32e)](Y['id'],_0x18cf4a)?(_0x484728[_0x5dabfe(0x1cf)](_0x1f044b),_0x4ee7d7[_0x5dabfe(0x2e0)]({'unitID':_0x1f044b,'undoMutations':[{'id':Y['id'],'params':_0x56fa88}],'redoMutations':[{'id':Y['id'],'params':_0x18cf4a}]}),!0x0):!0x1;}},Rr={'id':_0x1141d6(0x202),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x41aba9,_0x19f416)=>{const _0x21994d=_0x1141d6;if(!_0x19f416)return!0x1;let _0x25829b=_0x41aba9[_0x21994d(0x13c)](_0x583b46),{unitId:_0x36faff,tableId:_0x27d7c3,viewId:_0x330728,sort:_0x586546}=_0x19f416,_0x3215f8=_0x25829b[_0x21994d(0x14b)](_0x36faff,_0x42dad9[_0x21994d(0x3f7)]);if(!_0x3215f8||!X(_0x3215f8,_0x27d7c3,{'viewIds':[_0x330728],'fieldIds':_0x586546[_0x21994d(0x220)](_0x506b9e=>_0x506b9e[_0x21994d(0x1be)])}))return!0x1;let _0x489b0b=_0x41aba9[_0x21994d(0x13c)](_0x4c4564),_0x4fb287=_0x41aba9[_0x21994d(0x13c)](_0x1cfa3b),_0x4ccd24=_0x3215f8[_0x21994d(0x2a8)](),_0x508165=new R()['setViewSort'](_0x4ccd24,_0x27d7c3,_0x330728,_0x586546),_0x365048=new A()['invertOp'](_0x4ccd24,_0x508165),_0x15596e={'unitId':_0x36faff,'op':_0x508165},_0x288de9={'unitId':_0x36faff,'op':_0x365048};return _0x489b0b['syncExecuteCommand'](Y['id'],_0x15596e)?(_0x25829b[_0x21994d(0x1cf)](_0x36faff),_0x4fb287[_0x21994d(0x2e0)]({'unitID':_0x36faff,'undoMutations':[{'id':Y['id'],'params':_0x288de9}],'redoMutations':[{'id':Y['id'],'params':_0x15596e}]}),!0x0):!0x1;}},zr={'id':_0x1141d6(0x210),'type':_0x29e4da['COMMAND'],'handler'(_0x7539bd,_0x55c2bb){const _0x24d203=_0x1141d6;if(!_0x55c2bb)return!0x1;let _0x2e0792=_0x7539bd['get'](_0x583b46),{unitId:_0x5b0369,tableId:_0x470913,recordId:_0x4b417a,fieldId:_0x3a8a35,value:_0x210f87}=_0x55c2bb,_0x301500=_0x2e0792['getUnit'](_0x5b0369,_0x42dad9[_0x24d203(0x3f7)]);if(!_0x301500||!X(_0x301500,_0x470913,{'recordIds':[_0x4b417a],'fieldIds':[_0x3a8a35]}))return!0x1;let _0x321431=_0x7539bd['get'](_0x4c4564),_0x4a099a=_0x7539bd['get'](_0x1cfa3b),_0x50d108=_0x7539bd['get'](W),_0x2cd7da;try{_0x2cd7da=_0x50d108['createUpdateCellOp'](_0x301500,_0x470913,_0x4b417a,_0x3a8a35,_0x210f87);}catch(_0x1fba7b){return console[_0x24d203(0x1da)](_0x24d203(0x142),_0x1fba7b),!0x1;}let _0x1d980d=new A()[_0x24d203(0x3c6)](_0x301500[_0x24d203(0x2a8)](),_0x2cd7da),_0x3dbbee={'unitId':_0x5b0369,'op':_0x2cd7da},_0x2e86fa={'unitId':_0x5b0369,'op':_0x1d980d};return _0x321431[_0x24d203(0x32e)](Y['id'],_0x3dbbee)?(_0x2e0792[_0x24d203(0x1cf)](_0x5b0369),_0x4a099a[_0x24d203(0x2e0)]({'unitID':_0x5b0369,'undoMutations':[{'id':Y['id'],'params':_0x2e86fa}],'redoMutations':[{'id':Y['id'],'params':_0x3dbbee}]}),!0x0):!0x1;}},Br={'id':_0x1141d6(0x249),'type':_0x29e4da['COMMAND'],'handler'(_0x194f01,_0x6acf04){const _0x4116f8=_0x1141d6;if(!_0x6acf04)return!0x1;let _0x2ce790=_0x194f01[_0x4116f8(0x13c)](_0x583b46),{unitId:_0x2fd43b,tableId:_0x3a7ae5,fieldId:_0x7e7460}=_0x6acf04,_0x406257=_0x2ce790[_0x4116f8(0x14b)](_0x2fd43b,_0x42dad9['UNIVER_BASE']);if(!_0x406257||!X(_0x406257,_0x3a7ae5,{'fieldIds':[_0x7e7460]}))return!0x1;let _0x34fbb8=_0x194f01[_0x4116f8(0x13c)](_0x4c4564),_0xf737bc=_0x194f01[_0x4116f8(0x13c)](_0x1cfa3b),_0x174443=_0x406257[_0x4116f8(0x2a8)](),_0x260d25=_0x6acf04[_0x4116f8(0x2bc)][_0x4116f8(0x369)](),_0x2d03ef=new R()['updateField'](_0x174443,_0x3a7ae5,_0x7e7460,{'description':_0x260d25}),_0xc46fe8=new A()[_0x4116f8(0x3c6)](_0x406257[_0x4116f8(0x2a8)](),_0x2d03ef),_0x5d4164={'unitId':_0x2fd43b,'op':_0x2d03ef},_0x407a6f={'unitId':_0x2fd43b,'op':_0xc46fe8};return _0x34fbb8['syncExecuteCommand'](Y['id'],_0x5d4164)?(_0x2ce790[_0x4116f8(0x1cf)](_0x2fd43b),_0xf737bc[_0x4116f8(0x2e0)]({'unitID':_0x2fd43b,'undoMutations':[{'id':Y['id'],'params':_0x407a6f}],'redoMutations':[{'id':Y['id'],'params':_0x5d4164}]}),!0x0):!0x1;}},Vr={'id':_0x1141d6(0x31f),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4f8b5b,_0x2287ae)=>{const _0x84cd87=_0x1141d6;if(!_0x2287ae)return!0x1;let _0x240d26=_0x4f8b5b[_0x84cd87(0x13c)](_0x583b46),{unitId:_0x584daa,tableId:_0x552705,fieldId:_0x57def2,patch:_0x1c8bf3}=_0x2287ae,_0x39c31c=_0x240d26[_0x84cd87(0x14b)](_0x584daa,_0x42dad9[_0x84cd87(0x3f7)]);if(!_0x39c31c||!X(_0x39c31c,_0x552705,{'fieldIds':[_0x57def2]}))return!0x1;let _0x5b8467=_0x4f8b5b[_0x84cd87(0x13c)](_0x4c4564),_0x3cc76e=_0x4f8b5b['get'](_0x1cfa3b),_0x32c2cf=_0x39c31c[_0x84cd87(0x2a8)](),_0x1eaa01=new R()[_0x84cd87(0x33e)](_0x32c2cf,_0x552705,_0x57def2,_0x1c8bf3),_0x5b2daa=new A()[_0x84cd87(0x3c6)](_0x32c2cf,_0x1eaa01),_0x5ba47d={'unitId':_0x584daa,'op':_0x1eaa01},_0x6691a2={'unitId':_0x584daa,'op':_0x5b2daa};return _0x5b8467['syncExecuteCommand'](Y['id'],_0x5ba47d)?(_0x240d26['focusUnit'](_0x584daa),_0x3cc76e[_0x84cd87(0x2e0)]({'unitID':_0x584daa,'undoMutations':[{'id':Y['id'],'params':_0x6691a2}],'redoMutations':[{'id':Y['id'],'params':_0x5ba47d}]}),!0x0):!0x1;}},Hr={'id':_0x1141d6(0x194),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x190f43,_0x3642b0)=>{const _0x37820e=_0x1141d6;if(!_0x3642b0)return!0x1;let _0x170501=_0x190f43[_0x37820e(0x13c)](_0x583b46),{unitId:_0x34b005,tableId:_0x1c8731,viewId:_0x1604f7,patch:_0x4a030d}=_0x3642b0,_0x392015=_0x170501[_0x37820e(0x14b)](_0x34b005,_0x42dad9[_0x37820e(0x3f7)]);if(!_0x392015||!X(_0x392015,_0x1c8731,{'viewIds':[_0x1604f7]}))return!0x1;let _0x552fb3=_0x190f43[_0x37820e(0x13c)](_0x4c4564),_0x312c9a=_0x190f43[_0x37820e(0x13c)](_0x1cfa3b),_0x5dd39f=_0x392015[_0x37820e(0x2a8)](),_0x57ab1f=new R()['updateViewConfig'](_0x5dd39f,_0x1c8731,_0x1604f7,_0x4a030d),_0x2d3ac5=new A()[_0x37820e(0x3c6)](_0x5dd39f,_0x57ab1f),_0x16e485={'unitId':_0x34b005,'op':_0x57ab1f},_0x2e9c3={'unitId':_0x34b005,'op':_0x2d3ac5};return _0x552fb3['syncExecuteCommand'](Y['id'],_0x16e485)?(_0x170501['focusUnit'](_0x34b005),_0x312c9a['pushUndoRedo']({'unitID':_0x34b005,'undoMutations':[{'id':Y['id'],'params':_0x2e9c3}],'redoMutations':[{'id':Y['id'],'params':_0x16e485}]}),!0x0):!0x1;}},Ur={'id':_0x1141d6(0x388),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x579904,_0x431683)=>{const _0x3e0936=_0x1141d6;if(!_0x431683)return!0x1;let _0x4f81df=_0x579904[_0x3e0936(0x13c)](_0x583b46),{unitId:_0x2f6f41,tableId:_0x3e004a,recordId:_0x1bb91a,orderKey:_0x12137b}=_0x431683,_0x4d8ee6=_0x4f81df[_0x3e0936(0x14b)](_0x2f6f41,_0x42dad9[_0x3e0936(0x3f7)]);if(!_0x4d8ee6||!X(_0x4d8ee6,_0x3e004a,{'recordIds':[_0x1bb91a]}))return!0x1;let _0x70e8a=_0x579904[_0x3e0936(0x13c)](_0x4c4564),_0x54f508=_0x579904[_0x3e0936(0x13c)](_0x1cfa3b),_0x14f16c=_0x4d8ee6[_0x3e0936(0x2a8)](),_0x13b263=new R()[_0x3e0936(0x297)](_0x14f16c,_0x3e004a,_0x1bb91a,_0x12137b),_0x5c0dcc=new A()[_0x3e0936(0x3c6)](_0x14f16c,_0x13b263),_0x510dd6={'unitId':_0x2f6f41,'op':_0x13b263},_0x47da2a={'unitId':_0x2f6f41,'op':_0x5c0dcc};return _0x70e8a[_0x3e0936(0x32e)](Y['id'],_0x510dd6)?(_0x4f81df[_0x3e0936(0x1cf)](_0x2f6f41),_0x54f508[_0x3e0936(0x2e0)]({'unitID':_0x2f6f41,'undoMutations':[{'id':Y['id'],'params':_0x47da2a}],'redoMutations':[{'id':Y['id'],'params':_0x510dd6}]}),!0x0):!0x1;}},Wr={'id':'base.command.update-base-view-config','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0xec0fb5,_0x4e4c9c)=>{const _0x4ca8c6=_0x1141d6;if(!_0x4e4c9c)return!0x1;let _0x3c9d13=_0xec0fb5[_0x4ca8c6(0x13c)](_0x583b46),{unitId:_0x5d093b,tableId:_0x139e54,viewId:_0x2c9937,patch:_0x2825a1}=_0x4e4c9c,_0x4c4da8=_0x3c9d13[_0x4ca8c6(0x14b)](_0x5d093b,_0x42dad9[_0x4ca8c6(0x3f7)]);if(!_0x4c4da8||!X(_0x4c4da8,_0x139e54,{'viewIds':[_0x2c9937]}))return!0x1;let _0x1abcab=_0xec0fb5[_0x4ca8c6(0x13c)](_0x4c4564),_0x5ed842=_0xec0fb5['get'](_0x1cfa3b),_0x7de0ad=_0x4c4da8[_0x4ca8c6(0x2a8)](),_0x493c5c=new R()[_0x4ca8c6(0x23f)](_0x7de0ad,_0x139e54,_0x2c9937,_0x2825a1),_0x3c29ee=new A()[_0x4ca8c6(0x3c6)](_0x7de0ad,_0x493c5c),_0x1c4d01={'unitId':_0x5d093b,'op':_0x493c5c},_0x248d63={'unitId':_0x5d093b,'op':_0x3c29ee};return _0x1abcab[_0x4ca8c6(0x32e)](Y['id'],_0x1c4d01)?(_0x3c9d13['focusUnit'](_0x5d093b),_0x5ed842[_0x4ca8c6(0x2e0)]({'unitID':_0x5d093b,'undoMutations':[{'id':Y['id'],'params':_0x248d63}],'redoMutations':[{'id':Y['id'],'params':_0x1c4d01}]}),!0x0):!0x1;}};function Gr(_0x3f1e47){const _0x25e8c8=_0x1141d6;var _0x501c96,_0x1eaff3,_0x480391,_0x8ccd3a,_0x4c98fd;let _0x3c82c8=(_0x501c96=_0x3f1e47[_0x25e8c8(0x284)])==null?Date[_0x25e8c8(0x284)]():_0x501c96,_0xd28bf4=(_0x1eaff3=_0x3f1e47['primaryFieldId'])==null?_0x3f1e47['id']+_0x25e8c8(0x16a):_0x1eaff3,_0x48997c=(_0x480391=_0x3f1e47[_0x25e8c8(0x22a)])==null?_0x3f1e47['id']+'-view-grid':_0x480391,_0x2d4aee=(_0x8ccd3a=_0x3f1e47[_0x25e8c8(0x3ca)])==null?0x5:_0x8ccd3a,_0x537cba={'id':_0xd28bf4,'name':(_0x4c98fd=_0x3f1e47['primaryFieldName'])==null?_0x25e8c8(0x1ce):_0x4c98fd,'type':_0x1b662f['Text'],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x5421a8={},_0x6de306=[],_0x33b289={},_0xedd4f5={},_0x24ad03={};for(let _0xfca2ad=0x0;_0xfca2ad<_0x2d4aee;_0xfca2ad++){let _0x5e5559=_0x3f1e47['id']+_0x25e8c8(0x155)+(_0xfca2ad+0x1);_0x5421a8[_0x5e5559]={'id':_0x5e5559,'values':_0x3f1e47[_0x25e8c8(0x2fb)]?{[_0xd28bf4]:_0x3f1e47['recordNamePrefix']+'\x20'+(_0xfca2ad+0x1)}:{},'orderKey':String(_0xfca2ad+0x1)[_0x25e8c8(0x1d4)](0x4,'0'),'createdAt':_0x3c82c8,'updatedAt':_0x3c82c8},_0x6de306[_0x25e8c8(0x1a6)](_0x5e5559),_0x33b289[_0x5e5559]=_0xfca2ad,_0xedd4f5[_0xfca2ad]=_0x5e5559,_0x24ad03[_0xfca2ad]={},_0x3f1e47[_0x25e8c8(0x2fb)]&&(_0x24ad03[_0xfca2ad][0x0]={'v':_0x3f1e47['recordNamePrefix']+'\x20'+(_0xfca2ad+0x1)});}let _0xe38088={'id':_0x48997c,'tableId':_0x3f1e47['id'],'name':'Grid','type':_0x479acb[_0x25e8c8(0x1bb)],'fieldOrder':[_0xd28bf4],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x3f1e47['id'],'name':_0x3f1e47['name'],'primaryFieldId':_0xd28bf4,'fieldOrder':[_0xd28bf4],'fields':{[_0xd28bf4]:_0x537cba},'records':_0x5421a8,'recordOrder':_0x6de306,'rowIndex':_0x33b289,'rowId':_0xedd4f5,'colIndex':{[_0xd28bf4]:0x0},'colId':{0x0:_0xd28bf4},'cellData':_0x24ad03,'views':{[_0x48997c]:_0xe38088},'viewOrder':[_0x48997c]};}const Kr=_0x1141d6(0x1e0);function qr(_0x3c53a7){const _0x1f6f9a=_0x1141d6;var _0x3ee4fa,_0x10e19c;let _0x2fe004=Gr({'id':_0x3c53a7['hostAnchorId'],'name':(_0x3ee4fa=_0x3c53a7['name'])==null?_0x3c53a7[_0x1f6f9a(0x3e6)]:_0x3ee4fa,'recordCount':0x0});return{..._0x2fe004,'resources':{...(_0x10e19c=_0x2fe004[_0x1f6f9a(0x389)])==null?{}:_0x10e19c,[Kr]:Xr(_0x3c53a7)}};}function Jr(_0x311f0c){const _0x1c884f=_0x1141d6;return{'id':Y['id'],'params':{'unitId':_0x311f0c[_0x1c884f(0x345)],'op':new R()['createTable'](_0x311f0c[_0x1c884f(0x17f)],_0x311f0c[_0x1c884f(0x305)],_0x311f0c['index']),'trigger':_0x1c884f(0x1e1)}};}function Yr(_0x5a96a4){const _0x40cbf2=_0x1141d6;let _0x44b9dd=_0x5a96a4[_0x40cbf2(0x17f)][_0x40cbf2(0x218)]['indexOf'](_0x5a96a4[_0x40cbf2(0x275)]);if(!(!_0x5a96a4[_0x40cbf2(0x17f)][_0x40cbf2(0x407)][_0x5a96a4['tableId']]||_0x44b9dd<0x0))return{'id':Y['id'],'params':{'unitId':_0x5a96a4[_0x40cbf2(0x345)],'op':new R()[_0x40cbf2(0x251)](_0x5a96a4[_0x40cbf2(0x17f)],_0x5a96a4[_0x40cbf2(0x275)]),'trigger':'embed-ui'}};}function Xr(_0x32da49){const _0x5477bc=_0x1141d6;return{'version':0x1,'embedId':_0x32da49[_0x5477bc(0x3e6)],'hostAnchorId':_0x32da49['hostAnchorId'],'childUnitId':_0x32da49[_0x5477bc(0x2f6)],'childType':_0x32da49[_0x5477bc(0x37e)]};}function Zr(_0x2025d2){const _0x29485b=_0x1141d6;var _0x223e28;let _0x3b7764=Math[_0x29485b(0x248)](0x0,Number((_0x223e28=_0x2025d2[_0x29485b(0x280)])==null?0x0:_0x223e28)),_0x59c641=_0x2025d2['useThousands']===!0x1?'0':_0x29485b(0x215),_0x3fa59e=_0x3b7764?'.'+'0'[_0x29485b(0x2c5)](_0x3b7764):'',_0x3af54a=$r(_0x2025d2['abbreviation']);return''+(_0x2025d2[_0x29485b(0x359)]?ei(_0x2025d2[_0x29485b(0x359)]):'')+_0x59c641+_0x3fa59e+_0x3af54a;}function Qr(_0x53883a,_0x2a932f){const _0x3ff27d=_0x1141d6;let _0x43621e=Zr(_0x2a932f),_0x2e1924=_0x5c2a83[_0x3ff27d(0x269)](_0x43621e,_0x53883a,{'throws':!0x1});return ti(String(_0x2e1924),_0x2a932f[_0x3ff27d(0x25e)],_0x2a932f[_0x3ff27d(0x1f3)]);}function $r(_0x2b51a5){const _0x5b711d=_0x1141d6;return _0x2b51a5==='K'?',\x22K\x22':_0x2b51a5==='M'?_0x5b711d(0x1cc):_0x2b51a5==='B'?_0x5b711d(0x405):'';}function ei(_0x7b4c1c){const _0x2d41e2=_0x1141d6;return/^[A-Z]+$/i[_0x2d41e2(0x396)](_0x7b4c1c)?'\x22'+_0x7b4c1c+'\x22':_0x7b4c1c;}function ti(_0x42692e,_0x37e42a,_0x1b1b35){const _0x17fe83=_0x1141d6;let _0x1f4774=_0x37e42a===_0x17fe83(0x304)?ni(_0x1b1b35):_0x37e42a;return _0x1f4774===_0x17fe83(0x1b7)?_0x42692e[_0x17fe83(0x167)](/,/g,'\x00')[_0x17fe83(0x167)](/\./g,',')[_0x17fe83(0x167)](/\0/g,'.'):_0x1f4774===_0x17fe83(0x309)?_0x42692e['replace'](/,/g,'\x20')[_0x17fe83(0x167)](/\./g,','):_0x1f4774==='spacePeriod'?_0x42692e[_0x17fe83(0x167)](/,/g,'\x20'):_0x42692e;}function ni(_0x29ea09){const _0x1aa625=_0x1141d6;var _0x42d260,_0x2b18f1;let _0x592447=_0x29ea09||Intl[_0x1aa625(0x39d)]()['resolvedOptions']()[_0x1aa625(0x1f3)],_0x14bbf2;try{_0x14bbf2=new Intl[(_0x1aa625(0x39d))](_0x592447,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1aa625(0x1ff)](0xf4240);}catch{return'commaPeriod';}let _0x110be0=(_0x42d260=_0x14bbf2[_0x1aa625(0x236)](_0x32d0dd=>_0x32d0dd[_0x1aa625(0x157)]==='group'))==null?void 0x0:_0x42d260['value'],_0x3d76b8=(_0x2b18f1=_0x14bbf2[_0x1aa625(0x236)](_0x5df0ce=>_0x5df0ce['type']===_0x1aa625(0x308)))==null?void 0x0:_0x2b18f1[_0x1aa625(0x20d)],_0x1711d7=_0x110be0==='\u00a0'||_0x110be0==='\u202f'?'\x20':_0x110be0;return _0x1711d7==='.'&&_0x3d76b8===','?'periodComma':_0x1711d7==='\x20'&&_0x3d76b8===','?_0x1aa625(0x309):_0x1711d7==='\x20'&&_0x3d76b8==='.'?_0x1aa625(0x2c6):_0x1aa625(0x1e3);}function ri(_0x1ceb60,_0x428f6c){const _0x3dd89a=_0x1141d6;var _0x5586e6,_0x1e6f6e;let _0x226f07=_0x243e4c[_0x3dd89a(0x1c2)](_0x1ceb60),_0x34961=_0x428f6c['includeRecords']===!0x0,_0x4f1147=new Map(),_0x1ccd5b=(_0x5586e6=_0x428f6c[_0x3dd89a(0x1fb)])==null?()=>_0x3dd89a(0x26b)+_0x3f0aa2(0x8):_0x5586e6,_0x1635b9=_0x226f07[_0x3dd89a(0x15f)];return _0x428f6c[_0x3dd89a(0x1c5)]&&(_0x1635b9=_0x226f07[_0x3dd89a(0x15f)][_0x3dd89a(0x220)](_0x169d48=>{const _0x3e3a76=_0x3dd89a;let _0x1c5e1d=_0x1ccd5b();return _0x4f1147[_0x3e3a76(0x353)](_0x169d48,_0x1c5e1d),_0x1c5e1d;})),{..._0x226f07,'id':_0x428f6c['id'],'name':_0x428f6c['name'],'records':_0x34961?_0x226f07[_0x3dd89a(0x162)]:{},'recordOrder':_0x34961?_0x226f07['recordOrder']:[],'rowIndex':_0x34961?_0x226f07['rowIndex']:{},'rowId':_0x34961?_0x226f07[_0x3dd89a(0x378)]:{},'cellData':_0x34961?_0x226f07['cellData']:{},'resources':_0x34961?_0x226f07[_0x3dd89a(0x389)]:{},'viewOrder':_0x1635b9,'views':Object[_0x3dd89a(0x176)](Object[_0x3dd89a(0x34d)]((_0x1e6f6e=_0x226f07[_0x3dd89a(0x23e)])==null?{}:_0x1e6f6e)[_0x3dd89a(0x220)](([_0x1acde8,_0x210f1f])=>{const _0x2aa47f=_0x3dd89a;var _0x3d4c86;let _0x55b59e=(_0x3d4c86=_0x4f1147[_0x2aa47f(0x13c)](_0x1acde8))==null?_0x428f6c[_0x2aa47f(0x1c5)]?_0x1ccd5b():_0x1acde8:_0x3d4c86;return[_0x55b59e,{..._0x210f1f,'id':_0x55b59e,'tableId':_0x428f6c['id']}];}))};}var ii=_0x1141d6(0x340),ai=_0x1141d6(0x3e7);const oi={},si={};function ci(_0x185b9a){return new A()['getAffectedRanges'](_0x185b9a);}function li(_0x2da34b){const _0x10e587=_0x1141d6;return _0x2da34b[_0x10e587(0x2a5)][_0x10e587(0x220)](_0xcdff6b=>({'unitId':_0x2da34b[_0x10e587(0x345)],'sheetId':_0x2da34b['tableId'],'range':{'startRow':_0xcdff6b['row'],'endRow':_0xcdff6b[_0x10e587(0x198)],'startColumn':_0xcdff6b[_0x10e587(0x2e5)],'endColumn':_0xcdff6b[_0x10e587(0x2e5)]}}));}function ui(_0x50b3a2,_0x97d9cc){const _0x16a267=_0x1141d6;return{[_0x50b3a2]:Object[_0x16a267(0x176)](_0x97d9cc[_0x16a267(0x220)](_0x2b5049=>[_0x2b5049,'1']))};}let di=class extends _0x2d3cca{constructor(_0x237346,_0x570860){const _0x3d01e7=_0x1141d6;super(),this[_0x3d01e7(0x2f0)]=_0x237346,this['_univerInstanceService']=_0x570860,this[_0x3d01e7(0x328)]();}[_0x1141d6(0x328)](){const _0x2b1957=_0x1141d6;this[_0x2b1957(0x2f0)][_0x2b1957(0x1ea)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x1894c5=>this[_0x2b1957(0x1d3)](_0x1894c5['params'])}),this[_0x2b1957(0x2b3)](_0x43f94b(()=>{const _0x385851=_0x2b1957;this[_0x385851(0x2f0)][_0x385851(0x247)](Y['id']);}));}[_0x1141d6(0x168)](_0x54ee50,_0x2b3c16){const _0x2f37f4=_0x1141d6;var _0x2f3b1d;let _0x3b15e9=this[_0x2f37f4(0x19e)][_0x2f37f4(0x14b)](_0x54ee50,_0x42dad9[_0x2f37f4(0x3f7)]);return(_0x2f3b1d=_0x3b15e9==null?void 0x0:_0x3b15e9['getSnapshot']()['tables'][_0x2b3c16])==null?null:_0x2f3b1d;}[_0x1141d6(0x1d3)](_0x330145){const _0xed7bda=_0x1141d6;if(_0x330145[_0xed7bda(0x27f)]===_0xed7bda(0x136))return{};if(!_0x330145['unitId']||!_0x330145['op'])return{'clearDependencyTreeCache':this['_getAllBaseDependencyTreeCacheMap'](),'forceCalculation':!0x0};let _0x2484f2=ci(_0x330145['op']),_0xd1b0d1=this[_0xed7bda(0x2ed)](_0x330145['unitId'],_0x2484f2);if(_0xd1b0d1[_0xed7bda(0x3e1)])return{'clearDependencyTreeCache':ui(_0x330145[_0xed7bda(0x345)],_0xd1b0d1),'forceCalculation':!0x0};let _0x192bd2=Object['entries'](this[_0xed7bda(0x38e)](_0x330145[_0xed7bda(0x345)],_0x2484f2))['flatMap'](([_0x1e14bc,_0x4fca2d])=>li({'unitId':_0x330145[_0xed7bda(0x345)],'tableId':_0x1e14bc,'patches':_0x4fca2d}));return _0x192bd2[_0xed7bda(0x3e1)]?{'dirtyRanges':_0x192bd2}:{};}[_0x1141d6(0x2ed)](_0x1049e5,_0x7a9a97){const _0x9dafa2=_0x1141d6;let _0x3d295d=_0x7a9a97['filter'](_0x2022ae=>_0x2022ae[_0x9dafa2(0x300)]!==_0x9dafa2(0x400))[_0x9dafa2(0x1a8)](_0x237959=>_0x237959[_0x9dafa2(0x275)]?[_0x237959[_0x9dafa2(0x275)]]:this[_0x9dafa2(0x2a2)](_0x1049e5));return Array[_0x9dafa2(0x1b2)](new Set(_0x3d295d));}[_0x1141d6(0x38e)](_0x305cfb,_0x4ee5b3){const _0x420dcf=_0x1141d6;let _0x8b8bbb=new Set();return _0x4ee5b3[_0x420dcf(0x376)]((_0x5cfe0b,_0x1bd373)=>{const _0x20d29d=_0x420dcf;var _0x50c0a4;let _0x29c5ae=this['_toDirtyRangePatch'](_0x305cfb,_0x1bd373);if(!_0x29c5ae)return _0x5cfe0b;let _0x22284c=_0x1bd373[_0x20d29d(0x275)]+':'+_0x29c5ae[_0x20d29d(0x198)]+':'+_0x29c5ae['col'];return _0x8b8bbb[_0x20d29d(0x325)](_0x22284c)?_0x5cfe0b:(_0x8b8bbb[_0x20d29d(0x1e2)](_0x22284c),_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]]=(_0x50c0a4=_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]])==null?[]:_0x50c0a4,_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]][_0x20d29d(0x1a6)](_0x29c5ae),_0x5cfe0b);},{});}[_0x1141d6(0x3ad)](_0x5c38d4,_0x4ec1bc){const _0x36e18e=_0x1141d6;if(_0x4ec1bc[_0x36e18e(0x300)]!==_0x36e18e(0x400))return null;if(_0x4ec1bc[_0x36e18e(0x198)]!=null&&_0x4ec1bc[_0x36e18e(0x2ea)]!=null)return{'row':_0x4ec1bc['row'],'col':_0x4ec1bc['column'],'value':null};if(!_0x4ec1bc[_0x36e18e(0x201)]||!_0x4ec1bc['fieldId'])return null;let _0x477a04=this[_0x36e18e(0x168)](_0x5c38d4,_0x4ec1bc[_0x36e18e(0x275)]);if(!_0x477a04)return null;let _0x5398af=we(_0x477a04,_0x4ec1bc[_0x36e18e(0x201)],_0x4ec1bc[_0x36e18e(0x1be)]);return _0x5398af?{'row':_0x5398af['row'],'col':_0x5398af[_0x36e18e(0x2e5)],'value':null}:null;}[_0x1141d6(0x2a2)](_0x5a4a01){const _0x39c2eb=_0x1141d6;var _0x4f3d86;let _0x4e59ce=this[_0x39c2eb(0x19e)][_0x39c2eb(0x14b)](_0x5a4a01,_0x42dad9['UNIVER_BASE']);return Object[_0x39c2eb(0x3aa)]((_0x4f3d86=_0x4e59ce==null?void 0x0:_0x4e59ce[_0x39c2eb(0x2a8)]()['tables'])==null?{}:_0x4f3d86)[_0x39c2eb(0x220)](_0x2e210b=>_0x2e210b['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x22c463=_0x1141d6;let _0x13775e=this[_0x22c463(0x19e)][_0x22c463(0x26f)](_0x42dad9[_0x22c463(0x3f7)])[_0x22c463(0x220)](_0x4d718f=>ui(_0x4d718f[_0x22c463(0x3d8)](),Object[_0x22c463(0x1ef)](_0x4d718f['getSnapshot']()['tables'])));return Object[_0x22c463(0x15e)]({},..._0x13775e);}};di=U([H(0x0,_0x5f189f),H(0x1,_0x583b46)],di);const fi=_0x4ae02f[_0x1141d6(0x2ee)](String[_0x1141d6(0x140)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x4ae02f[_0x1141d6(0x2ee)](String[_0x1141d6(0x140)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x4ae02f['createRegExpFromSafeFragment'](String[_0x1141d6(0x140)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x4ae02f[_0x1141d6(0x2ee)](String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x1141d6(0x2b8)](_0x2fd6b5,_0x58862a=_0x2fd6b5['id']){const _0x3eecbb=_0x1141d6;var _0x5065ca,_0x59ff0d;let _0x511c95=(_0x5065ca=(_0x59ff0d=_0x2fd6b5[_0x3eecbb(0x19d)])==null?void 0x0:_0x59ff0d['length'])==null?Object[_0x3eecbb(0x3aa)](_0x2fd6b5[_0x3eecbb(0x162)])[_0x3eecbb(0x3e1)]:_0x5065ca;return{'sheetId':_0x58862a,'titleMap':new Map(_0x2fd6b5[_0x3eecbb(0x2ad)]['map']((_0x190eee,_0x3d6cbb)=>{const _0x4f479e=_0x3eecbb;var _0x48b057,_0x1fadac;return[(_0x48b057=(_0x1fadac=_0x2fd6b5[_0x4f479e(0x2e2)][_0x190eee])==null?void 0x0:_0x1fadac[_0x4f479e(0x3a2)])==null?_0x190eee:_0x48b057,_0x3d6cbb];})),'range':{'startRow':0x0,'endRow':Math[_0x3eecbb(0x248)](0x0,_0x511c95-0x1),'startColumn':0x0,'endColumn':Math[_0x3eecbb(0x248)](0x0,_0x2fd6b5['fieldOrder'][_0x3eecbb(0x3e1)]-0x1)},'showHeader':!0x1};}[_0x1141d6(0x35d)](_0x111030,_0x508b8b,_0x93bc90,_0x4a9585={}){const _0x1c9f7d=_0x1141d6;var _0x14471c;let _0x2d5c3b=this[_0x1c9f7d(0x2b8)](_0x93bc90,(_0x14471c=_0x4a9585['sheetId'])==null?_0x93bc90['id']:_0x14471c);return new Set([_0x93bc90['id'],_0x93bc90['name'],_0x4a9585[_0x1c9f7d(0x307)]][_0x1c9f7d(0x385)](_0x3ebf8b=>!!_0x3ebf8b))[_0x1c9f7d(0x2e8)](_0x1363c1=>_0x111030[_0x1c9f7d(0x25d)](_0x508b8b,_0x1363c1,_0x2d5c3b)),_0x2d5c3b;}['registerSuperTables'](_0x7c376,_0x11c26d){const _0x3e453e=_0x1141d6;let _0x179786=this[_0x3e453e(0x2e3)](_0x11c26d);return _0x179786[_0x3e453e(0x2e8)](({tableName:_0x2cb71e,reference:_0x46caad})=>{const _0x1ec55d=_0x3e453e;_0x7c376[_0x1ec55d(0x25d)](_0x11c26d['id'],_0x2cb71e,_0x46caad);}),Array[_0x3e453e(0x1b2)](new Set(_0x179786['map'](({reference:_0x4bda59})=>_0x4bda59)));}[_0x1141d6(0x2e3)](_0x57305c,_0x5c2032){const _0x259ab7=_0x1141d6;let _0x3717de=[],_0x58eb1a=_0x5c2032?new Set(_0x5c2032):null,_0x24177d=new Map();return Object[_0x259ab7(0x3aa)](_0x57305c[_0x259ab7(0x407)])['forEach'](_0x35105f=>{const _0x2527a9=_0x259ab7;var _0x280a3e;let _0x3a2d78=_0x35105f[_0x2527a9(0x3a2)][_0x2527a9(0x369)]()[_0x2527a9(0x2ae)]();_0x24177d['set'](_0x3a2d78,((_0x280a3e=_0x24177d['get'](_0x3a2d78))==null?0x0:_0x280a3e)+0x1);}),Object[_0x259ab7(0x3aa)](_0x57305c[_0x259ab7(0x407)])[_0x259ab7(0x385)](_0x236da0=>!_0x58eb1a||_0x58eb1a[_0x259ab7(0x325)](_0x236da0['id']))[_0x259ab7(0x2e8)](_0x20eafa=>{const _0x1783e9=_0x259ab7;var _0x128e8a;let _0x3cae1d=this[_0x1783e9(0x2b8)](_0x20eafa,_0x20eafa['id']);_0x3717de['push']({'tableId':_0x20eafa['id'],'tableName':_0x20eafa['id'],'reference':_0x3cae1d}),((_0x128e8a=_0x24177d[_0x1783e9(0x13c)](_0x20eafa[_0x1783e9(0x3a2)][_0x1783e9(0x369)]()[_0x1783e9(0x2ae)]()))==null?0x0:_0x128e8a)===0x1&&_0x3717de[_0x1783e9(0x1a6)]({'tableId':_0x20eafa['id'],'tableName':_0x20eafa[_0x1783e9(0x3a2)],'reference':_0x3cae1d});}),_0x3717de;}[_0x1141d6(0x1c7)](_0x360518,_0x2076dc,_0x2b4a3d={}){const _0x1e6a58=_0x1141d6;let _0x43714f=_0x360518[_0x1e6a58(0x369)]();if(!_0x43714f)return{'valid':!0x0};if(Ci(_0x43714f))return{'valid':!0x1,'reason':_0x1e6a58(0x1a9)};for(let _0x5d0457 of Si(_0x43714f)){let _0x39b72a=ki(_0x5d0457,_0x2076dc,_0x2b4a3d[_0x1e6a58(0x17f)]);if(!_0x39b72a[_0x1e6a58(0x305)])return{'valid':!0x1,'reason':_0x1e6a58(0x303)+_0x5d0457['tableName']+'\x22\x20does\x20not\x20exist.'};if(!_0x39b72a['field'])return{'valid':!0x1,'reason':_0x1e6a58(0x289)+_0x5d0457[_0x1e6a58(0x15a)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}['getDependencies'](_0x483d61,_0x285edb,_0x3fbdb8={}){const _0x921f01=_0x1141d6;let _0x36b022=new Set();for(let _0x29d649 of this[_0x921f01(0x21c)](_0x483d61,_0x285edb,_0x3fbdb8))_0x29d649[_0x921f01(0x275)]===_0x285edb['id']&&_0x36b022[_0x921f01(0x1e2)](_0x29d649[_0x921f01(0x1be)]);return Array['from'](_0x36b022);}['getStructuredDependencies'](_0x2bf9f1,_0x1e3c2e,_0x266ba3={}){const _0x3b9754=_0x1141d6;let _0x31d35b=new Map();for(let _0x5414f8 of Si(_0x2bf9f1)){let _0x1ecdf9=ki(_0x5414f8,_0x1e3c2e,_0x266ba3[_0x3b9754(0x17f)]);if(!_0x1ecdf9['table']||!_0x1ecdf9['field'])continue;let _0x55a7c0=_0x1ecdf9['table']['id']+'\x1f'+_0x1ecdf9[_0x3b9754(0x293)]['id'];_0x31d35b['set'](_0x55a7c0,{'tableId':_0x1ecdf9[_0x3b9754(0x305)]['id'],'fieldId':_0x1ecdf9['field']['id']});}return Array[_0x3b9754(0x1b2)](_0x31d35b['values']());}};function vi(_0x1b0e0b,_0x555e33){const _0x1ff8f6=_0x1141d6;var _0x5c95cc;let _0x2c008c=[],_0x3a9b1a=(_0x5c95cc=_0x555e33['unitData'])==null?void 0x0:_0x5c95cc[_0x1b0e0b['id']];return _0x3a9b1a&&Object['entries'](_0x3a9b1a)[_0x1ff8f6(0x2e8)](([_0x473b98,_0x33244e])=>{const _0x2b9ab9=_0x1ff8f6;let _0x975848=_0x1b0e0b[_0x2b9ab9(0x407)][_0x473b98];if(!_0x975848||!_0x33244e)return;let _0x380760=E(_0x975848),_0xd6f67f=[];new _0x5e4217(_0x33244e)[_0x2b9ab9(0x21d)]((_0x315ee9,_0x1f8e37,_0x3167ed)=>{const _0x1fd680=_0x2b9ab9;let _0x3871d7=yi(_0x380760,_0x315ee9,_0x1f8e37,_0x3167ed);_0x3871d7&&_0xd6f67f[_0x1fd680(0x1a6)](_0x3871d7);}),_0xd6f67f[_0x2b9ab9(0x3e1)]&&_0x2c008c['push']({'unitId':_0x1b0e0b['id'],'tableId':_0x473b98,'patches':_0xd6f67f});}),_0x2c008c;}function yi(_0x17cc9,_0x312e26,_0x3642eb,_0x230fe3){const _0x39a24a=_0x1141d6;var _0x14f197,_0x1d2bad,_0x5691aa,_0x5ead79,_0x4b424c;let _0x3ea45b=(_0x14f197=_0x17cc9[_0x39a24a(0x378)])==null?void 0x0:_0x14f197[_0x312e26],_0x4c0c1a=(_0x1d2bad=_0x17cc9[_0x39a24a(0x18b)])==null?void 0x0:_0x1d2bad[_0x3642eb];if(!_0x3ea45b||!_0x17cc9['records'][_0x3ea45b]||!_0x4c0c1a)return null;let _0x499a0f=_0x17cc9[_0x39a24a(0x2e2)][_0x4c0c1a];if(!_0x499a0f||_0x499a0f[_0x39a24a(0x157)]!==_0x39a24a(0x2f8))return null;let _0xd10ed3=String((_0x5691aa=(_0x5ead79=_0x499a0f[_0x39a24a(0x1f0)])==null?void 0x0:_0x5ead79[_0x39a24a(0x2f8)])==null?'':_0x5691aa)['trim'](),_0x2881bd=(_0x4b424c=_0x230fe3==null?void 0x0:_0x230fe3['v'])==null?null:_0x4b424c,_0x4b7cd4={'v':_0x2881bd,'t':xi(_0x2881bd),..._0x312e26===0x0&&_0xd10ed3?{'f':_0xd10ed3}:{},'si':_0x499a0f['id']};return bi(Te(_0x17cc9,_0x3ea45b,_0x4c0c1a),_0x4b7cd4)?null:{'row':_0x312e26,'col':_0x3642eb,'value':_0x4b7cd4};}function bi(_0xa2853,_0x32a08c){var _0x3b3e6c,_0x434436;return _0xa2853!=null&&Object['is']((_0x3b3e6c=_0xa2853['v'])==null?null:_0x3b3e6c,(_0x434436=_0x32a08c['v'])==null?null:_0x434436)&&_0xa2853['t']===_0x32a08c['t']&&_0xa2853['f']===_0x32a08c['f']&&_0xa2853['si']===_0x32a08c['si'];}function xi(_0x25f5d1){const _0x32ad55=_0x1141d6;return typeof _0x25f5d1==_0x32ad55(0x2fa)?_0x3b1a88['NUMBER']:typeof _0x25f5d1==_0x32ad55(0x3f1)?_0x3b1a88['BOOLEAN']:typeof _0x25f5d1==_0x32ad55(0x222)?_0x3b1a88[_0x32ad55(0x219)]:null;}function Si(_0x493368){const _0x44a18b=_0x1141d6;_0x493368=wi(_0x493368,()=>'');let _0x45b8f9=new Map();for(let _0x123ab2 of _0x493368[_0x44a18b(0x174)](mi)){let _0x46c6b3={'fieldName':_0x123ab2[0x1]};_0x45b8f9[_0x44a18b(0x353)]('\x1f'+_0x46c6b3['fieldName'],_0x46c6b3);}for(let _0x36a19a of _0x493368[_0x44a18b(0x174)](hi)){let _0x9b01f6={'tableName':_0x36a19a[0x1],'fieldName':_0x36a19a[0x2]};_0x45b8f9['set'](_0x9b01f6[_0x44a18b(0x307)]+'\x1f'+_0x9b01f6[_0x44a18b(0x15a)],_0x9b01f6);}for(let _0x5d0a3f of _0x493368[_0x44a18b(0x174)](gi)){let _0x5a9783={'fieldName':_0x5d0a3f[0x2]};_0x45b8f9[_0x44a18b(0x353)]('\x1f'+_0x5a9783['fieldName'],_0x5a9783);}return Array[_0x44a18b(0x1b2)](_0x45b8f9[_0x44a18b(0x3aa)]());}function Ci(_0x45b79f){const _0x24e849=_0x1141d6;let _0x46400c=Ti(_0x45b79f,()=>'\x20')['replace'](mi,'\x20')[_0x24e849(0x167)](hi,'\x20')[_0x24e849(0x167)](gi,_0x24e849(0x18e));return fi[_0x24e849(0x396)](_0x46400c);}function wi(_0x143614,_0x19b908){return Di(Ti(_0x143614,_0x19b908),_0x19b908);}function Ti(_0x10c9f4,_0x630658){const _0x5d71c5=_0x1141d6;return pi[_0x5d71c5(0x2d3)]=0x0,_0x10c9f4[_0x5d71c5(0x167)](pi,(_0x31b473,_0x50a5aa)=>Oi(_0x10c9f4,_0x50a5aa)?_0x31b473:_0x630658(_0x31b473));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x229204,_0x2f969d){const _0x5790c3=_0x1141d6;let _0x45085b=[];Ei[_0x5790c3(0x2d3)]=0x0;let _0x25c4c7;for(;(_0x25c4c7=Ei['exec'](_0x229204))!=null;){if(Oi(_0x229204,_0x25c4c7[_0x5790c3(0x148)]))continue;let _0x34d34a=Ei[_0x5790c3(0x2d3)]-0x1,_0x2ef5d9=0x0;for(let _0x14a681=_0x34d34a;_0x14a681<_0x229204['length'];_0x14a681++)if(_0x229204[_0x14a681]==='['&&_0x2ef5d9++,_0x229204[_0x14a681]===']'&&(_0x2ef5d9--,_0x2ef5d9===0x0)){_0x45085b[_0x5790c3(0x1a6)]({'start':_0x25c4c7['index'],'end':_0x14a681+0x1}),Ei[_0x5790c3(0x2d3)]=_0x14a681+0x1;break;}}if(_0x45085b[_0x5790c3(0x3e1)]===0x0)return _0x229204;let _0x1bc9c3='',_0x2be22e=0x0;for(let _0x575fa2 of _0x45085b)_0x1bc9c3+=_0x229204[_0x5790c3(0x29a)](_0x2be22e,_0x575fa2[_0x5790c3(0x299)]),_0x1bc9c3+=_0x2f969d(_0x229204[_0x5790c3(0x29a)](_0x575fa2[_0x5790c3(0x299)],_0x575fa2['end'])),_0x2be22e=_0x575fa2[_0x5790c3(0x14a)];return _0x1bc9c3+_0x229204[_0x5790c3(0x29a)](_0x2be22e);}function Oi(_0x48bb31,_0x276004){let _0x49afcf=!0x1;for(let _0xa49ece=0x0;_0xa49ece<_0x276004;_0xa49ece++)if(_0x48bb31[_0xa49ece]==='\x22'){if(_0x49afcf&&_0x48bb31[_0xa49ece+0x1]==='\x22'){_0xa49ece++;continue;}_0x49afcf=!_0x49afcf;}return _0x49afcf;}function ki(_0x193358,_0x3dde2e,_0x359b22){const _0x2d7d26=_0x1141d6;let _0x310547=Ai(_0x193358[_0x2d7d26(0x307)],_0x3dde2e,_0x359b22);return{'table':_0x310547,'field':_0x310547?Object[_0x2d7d26(0x3aa)](_0x310547[_0x2d7d26(0x2e2)])[_0x2d7d26(0x236)](_0x253ed5=>_0x253ed5[_0x2d7d26(0x3a2)]===_0x193358[_0x2d7d26(0x15a)]):void 0x0};}function Ai(_0x249a7a,_0xbc6656,_0xa7d7a0){const _0x242ee3=_0x1141d6;if(!_0x249a7a||_0x249a7a===_0x242ee3(0x305)||_0x249a7a===_0xbc6656['id']||_0x249a7a===_0xbc6656[_0x242ee3(0x3a2)])return _0xbc6656;if(!_0xa7d7a0)return;let _0x57b4db=_0xa7d7a0['tables'][_0x249a7a];if(_0x57b4db)return _0x57b4db;let _0x39af86=Object['values'](_0xa7d7a0[_0x242ee3(0x407)])[_0x242ee3(0x385)](_0x1b0428=>_0x1b0428['name']===_0x249a7a);return _0x39af86[_0x242ee3(0x3e1)]===0x1?_0x39af86[0x0]:void 0x0;}let ji=class extends _0x2d3cca{constructor(_0x1c1868,_0x2a2f6b,_0x28bcc7){const _0x275469=_0x1141d6;super(),this[_0x275469(0x1b8)]=_0x1c1868,this[_0x275469(0x19e)]=_0x2a2f6b,B(this,_0x275469(0x292),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,_0x275469(0x350),Promise[_0x275469(0x163)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x275469(0x328)]();}['_initialize'](){const _0x3b8046=_0x1141d6;this[_0x3b8046(0x19e)][_0x3b8046(0x26f)](_0x42dad9['UNIVER_BASE'])[_0x3b8046(0x2e8)](_0x4b0088=>{const _0x342581=_0x3b8046;this[_0x342581(0x312)](async()=>{const _0x32cdec=_0x342581;await this[_0x32cdec(0x1de)](_0x4b0088);});}),this[_0x3b8046(0x2b3)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42dad9[_0x3b8046(0x3f7)])[_0x3b8046(0x382)](({unit:_0x156b07})=>{const _0xc5a35b=_0x3b8046;this[_0xc5a35b(0x312)](async()=>{await this['_syncSuperTables'](_0x156b07);});})),this[_0x3b8046(0x2b3)](this[_0x3b8046(0x19e)]['getTypeOfUnitDisposed$'](_0x42dad9[_0x3b8046(0x3f7)])[_0x3b8046(0x382)](_0x19e952=>{const _0x4c6e46=_0x3b8046;this[_0x4c6e46(0x312)](()=>this[_0x4c6e46(0x227)](_0x19e952[_0x4c6e46(0x3d8)]()));})),this['disposeWithMe'](this[_0x3b8046(0x1b8)]['onCommandExecuted'](_0x476aed=>this[_0x3b8046(0x1d1)](_0x476aed)));}[_0x1141d6(0x1d1)](_0xcfa1c7){const _0x8ecbdd=_0x1141d6;if(_0xcfa1c7['id']===_0xe9701c['id']){Ni(_0xcfa1c7['params'])&&this[_0x8ecbdd(0x3c1)](_0xcfa1c7[_0x8ecbdd(0x258)]);return;}if(this[_0x8ecbdd(0x19c)]||_0xcfa1c7['id']!==Y['id'])return;let _0x238979=Mi(_0xcfa1c7[_0x8ecbdd(0x258)])?_0xcfa1c7['params']:void 0x0,_0x27591a=_0x238979!=null&&_0x238979[_0x8ecbdd(0x345)]?[this['_univerInstanceService'][_0x8ecbdd(0x14b)](_0x238979[_0x8ecbdd(0x345)],_0x42dad9[_0x8ecbdd(0x3f7)])][_0x8ecbdd(0x385)](_0x2bdbf0=>!!_0x2bdbf0):this[_0x8ecbdd(0x19e)][_0x8ecbdd(0x26f)](_0x42dad9['UNIVER_BASE']),_0x4c3569=_0x238979==null?void 0x0:_0x238979['op'];_0x27591a[_0x8ecbdd(0x2e8)](_0x17513b=>{const _0x876801=_0x8ecbdd;let _0x536f27=_0x4c3569?ci(_0x4c3569):[];(!_0x4c3569||_0x536f27[_0x876801(0x2a0)](_0x4b8758=>_0x4b8758[_0x876801(0x300)]!==_0x876801(0x400)))&&this['_enqueueFormulaSync'](()=>this[_0x876801(0x1de)](_0x17513b));});}async[_0x1141d6(0x1de)](_0x3877a4){const _0x22ce24=_0x1141d6;var _0x17a995;let _0x3b62d8=_0x3877a4[_0x22ce24(0x3d8)](),_0x53d134=this[_0x22ce24(0x292)][_0x22ce24(0x2e3)](_0x3877a4[_0x22ce24(0x2a8)]()),_0x1bc35a=new Set(_0x53d134[_0x22ce24(0x220)](({tableName:_0x19dbed})=>_0x19dbed)),_0x453f57=(_0x17a995=this['_registeredSuperTableNames'][_0x22ce24(0x13c)](_0x3b62d8))==null?new Set():_0x17a995;for(let _0x4bc046 of _0x453f57)_0x1bc35a[_0x22ce24(0x325)](_0x4bc046)||await this['_commandService']['executeCommand'](_0x7c440c['id'],{'unitId':_0x3b62d8,'tableName':_0x4bc046});for(let {tableName:_0x562a6e,reference:_0xacf613}of _0x53d134)await this['_commandService'][_0x22ce24(0x1ad)](_0xbc079f['id'],{'unitId':_0x3b62d8,'tableName':_0x562a6e,'reference':_0xacf613});this['_registeredSuperTableNames'][_0x22ce24(0x353)](_0x3b62d8,_0x1bc35a);}async['_removeSuperTables'](_0x3add68){const _0x1b35fc=_0x1141d6;var _0x2260e9;let _0x50b444=(_0x2260e9=this[_0x1b35fc(0x271)][_0x1b35fc(0x13c)](_0x3add68))==null?new Set():_0x2260e9;for(let _0x8621ed of _0x50b444)await this[_0x1b35fc(0x1b8)][_0x1b35fc(0x1ad)](_0x7c440c['id'],{'unitId':_0x3add68,'tableName':_0x8621ed});this[_0x1b35fc(0x271)][_0x1b35fc(0x32f)](_0x3add68);}[_0x1141d6(0x312)](_0x15da5d){const _0x1a0cb0=_0x1141d6;this['_formulaSyncQueue']=this[_0x1a0cb0(0x350)][_0x1a0cb0(0x290)](_0x15da5d,_0x15da5d)[_0x1a0cb0(0x23c)](()=>void 0x0);}[_0x1141d6(0x3c1)](_0x2e8e24){const _0x16037d=_0x1141d6;let _0x6dc303=this['_univerInstanceService']['getAllUnitsForType'](_0x42dad9[_0x16037d(0x3f7)])[_0x16037d(0x1a8)](_0x6c92da=>vi(_0x6c92da[_0x16037d(0x2a8)](),_0x2e8e24));if(!_0x6dc303[_0x16037d(0x3e1)])return;let _0x523224=new R(),_0x4a7150=_0x6dc303['flatMap'](_0x166ef0=>li({'unitId':_0x166ef0[_0x16037d(0x345)],'tableId':_0x166ef0[_0x16037d(0x275)],'patches':_0x166ef0[_0x16037d(0x2a5)]}));this['_applyingFormulaResults']=!0x0,(async()=>{const _0x596e6c=_0x16037d;for(let _0x488127 of _0x6dc303){let _0x26fbe7=this[_0x596e6c(0x19e)][_0x596e6c(0x14b)](_0x488127[_0x596e6c(0x345)],_0x42dad9[_0x596e6c(0x3f7)]);_0x26fbe7&&await this[_0x596e6c(0x1b8)][_0x596e6c(0x1ad)](Y['id'],{'unitId':_0x488127[_0x596e6c(0x345)],'op':_0x523224['setRangeValues'](_0x26fbe7[_0x596e6c(0x2a8)](),_0x488127[_0x596e6c(0x275)],_0x488127[_0x596e6c(0x2a5)]),'trigger':_0xe9701c['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x596e6c(0x1ad)](_0x30b721['id'],{'dirtyRanges':_0x4a7150},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x17681c=_0x16037d;this[_0x17681c(0x19c)]=!0x1;});}};ji=U([H(0x0,_0x4c4564),H(0x1,_0x583b46),H(0x2,_0x4d53a3(_0x2dbe4f))],ji);function Mi(_0x1dcbb1){const _0x57d8a0=_0x1141d6;return typeof _0x1dcbb1==_0x57d8a0(0x371)&&!!_0x1dcbb1&&_0x57d8a0(0x345)in _0x1dcbb1&&typeof _0x1dcbb1[_0x57d8a0(0x345)]=='string'&&'op'in _0x1dcbb1&&Array[_0x57d8a0(0x28a)](_0x1dcbb1['op']);}function Ni(_0x285bcf){const _0x4aa5bd=_0x1141d6;return typeof _0x285bcf==_0x4aa5bd(0x371)&&!!_0x285bcf&&_0x4aa5bd(0x2aa)in _0x285bcf&&_0x4aa5bd(0x322)in _0x285bcf;}const Pi=_0x5a5c3d(_0x1141d6(0x3b0));let Fi=class{constructor(_0x4af987){const _0x240fd7=_0x1141d6;this[_0x240fd7(0x19e)]=_0x4af987;}['getBase'](_0x5aab2b){const _0x13ad18=_0x1141d6;var _0x575765;return(_0x575765=this['_univerInstanceService']['getUnit'](_0x5aab2b,_0x42dad9[_0x13ad18(0x3f7)]))==null?null:_0x575765;}['getAllBases'](){const _0xf45096=_0x1141d6;return this[_0xf45096(0x19e)][_0xf45096(0x26f)](_0x42dad9[_0xf45096(0x3f7)]);}['createBase'](_0x3946b7){const _0x2c9a81=_0x1141d6;return this[_0x2c9a81(0x19e)][_0x2c9a81(0x141)](_0x42dad9[_0x2c9a81(0x3f7)],_0x3946b7);}};Fi=U([H(0x0,_0x583b46)],Fi);const Ii=_0x5a5c3d(_0x1141d6(0x3ff));var Li=class extends _0x2d3cca{constructor(..._0x18cdd9){const _0x133b1b=_0x1141d6;super(..._0x18cdd9),B(this,_0x133b1b(0x1d0),new Map());}[_0x1141d6(0x1ea)](_0x22c445){const _0x429abb=_0x1141d6;return this['_plugins'][_0x429abb(0x353)](_0x22c445['type'],_0x22c445),_0x43f94b(()=>this[_0x429abb(0x1d0)][_0x429abb(0x32f)](_0x22c445[_0x429abb(0x157)]));}[_0x1141d6(0x13c)](_0xd82d0d){const _0x5b88f6=_0x1141d6;let _0x190596=this[_0x5b88f6(0x1d0)][_0x5b88f6(0x13c)](_0xd82d0d);if(!_0x190596)throw Error(_0x5b88f6(0x22c)+_0xd82d0d+_0x5b88f6(0x2e7));return _0x190596;}[_0x1141d6(0x2b7)](){const _0x515e0e=_0x1141d6;return Array[_0x515e0e(0x1b2)](this[_0x515e0e(0x1d0)][_0x515e0e(0x3aa)]());}};const Ri=[Y];let Z=class extends _0x561c06{constructor(_0x248d6a=oi,_0x3682d2,_0x232375,_0x2700e1,_0x5b4b41,_0x163b1a){const _0x4c8712=_0x1141d6;super(),this[_0x4c8712(0x3a5)]=_0x248d6a,this['_injector']=_0x3682d2,this[_0x4c8712(0x1b8)]=_0x232375,this[_0x4c8712(0x19e)]=_0x2700e1,this['_configService']=_0x5b4b41,this[_0x4c8712(0x17c)]=_0x163b1a,B(this,_0x4c8712(0x31a),new Map());let {..._0x45af23}=_0x1b55b2({},oi,this[_0x4c8712(0x3a5)]);this['_configService']['setConfig'](_0x4c8712(0x361),_0x45af23),this[_0x4c8712(0x19e)][_0x4c8712(0x3f0)](_0x42dad9[_0x4c8712(0x3f7)],_0x23c2ec),this[_0x4c8712(0x1b9)](),this[_0x4c8712(0x3d3)](),this['_initRegistries'](),this[_0x4c8712(0x1e8)]();}[_0x1141d6(0x30a)](){const _0x29f14a=_0x1141d6;_0x1694df(this[_0x29f14a(0x354)],[[Fi],[on],[di]]),this[_0x29f14a(0x19e)][_0x29f14a(0x26f)](_0x42dad9['UNIVER_BASE'])['forEach'](_0x542148=>this[_0x29f14a(0x1fe)](_0x542148[_0x29f14a(0x3d8)]())),_0x1694df(this[_0x29f14a(0x354)],[[ji]]);}[_0x1141d6(0x1b9)](){const _0x2f8b1e=_0x1141d6;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x2f8b1e(0x2e8)](_0x1213c9=>this['_injector'][_0x2f8b1e(0x1e2)](_0x1213c9));}[_0x1141d6(0x3d3)](){const _0x74ad31=_0x1141d6;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri]['forEach'](_0x1aa2bc=>this['disposeWithMe'](this[_0x74ad31(0x1b8)][_0x74ad31(0x1ed)](_0x1aa2bc))),Ri['forEach'](_0x263c09=>{const _0x3c6df5=_0x74ad31;var _0x20e817;return(_0x20e817=this[_0x3c6df5(0x17c)])==null?void 0x0:_0x20e817[_0x3c6df5(0x3e0)](_0x263c09);});}[_0x1141d6(0x1e8)](){const _0x13f18a=_0x1141d6;this[_0x13f18a(0x17c)]&&(this[_0x13f18a(0x2b3)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42dad9['UNIVER_BASE'])[_0x13f18a(0x382)](({unit:_0x431446})=>{const _0x476a50=_0x13f18a;this[_0x476a50(0x1fe)](_0x431446[_0x476a50(0x3d8)]());})),this[_0x13f18a(0x2b3)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x42dad9[_0x13f18a(0x3f7)])[_0x13f18a(0x382)](_0x119ad2=>{const _0x3d879f=_0x13f18a;var _0x2cd54c;(_0x2cd54c=this[_0x3d879f(0x31a)]['get'](_0x119ad2[_0x3d879f(0x3d8)]()))==null||_0x2cd54c['dispose'](),this[_0x3d879f(0x31a)][_0x3d879f(0x32f)](_0x119ad2[_0x3d879f(0x3d8)]());})));}[_0x1141d6(0x1fe)](_0x1b45ce){const _0x30dd0a=_0x1141d6;!this['_dataSyncPrimaryController']||this[_0x30dd0a(0x31a)]['has'](_0x1b45ce)||this[_0x30dd0a(0x31a)][_0x30dd0a(0x353)](_0x1b45ce,this[_0x30dd0a(0x17c)][_0x30dd0a(0x2e4)](_0x1b45ce));}[_0x1141d6(0x374)](){const _0x72cf9f=_0x1141d6;let _0x522846=this[_0x72cf9f(0x354)]['get'](en);At()[_0x72cf9f(0x2e8)](_0x19fc29=>_0x522846[_0x72cf9f(0x1ea)](_0x19fc29));let _0x25f08e=this[_0x72cf9f(0x354)]['get'](Ii),_0x679861=this[_0x72cf9f(0x354)][_0x72cf9f(0x13c)](_n);fn()[_0x72cf9f(0x2e8)](_0x40e19e=>{const _0x546db4=_0x72cf9f;_0x25f08e[_0x546db4(0x1ea)](_0x40e19e),_0x679861[_0x546db4(0x3f4)](_0x40e19e);});}};B(Z,'pluginName',_0x1141d6(0x1d5)),B(Z,_0x1141d6(0x3b2),ii),B(Z,_0x1141d6(0x14f),ai),B(Z,_0x1141d6(0x157),_0x42dad9[_0x1141d6(0x3f7)]),Z=U([_0x38049c(_0x1fb316,_0xc981e4),H(0x1,_0x4d53a3(_0x5585a7)),H(0x2,_0x4c4564),H(0x3,_0x583b46),H(0x4,_0xddd949),H(0x5,_0x251b6(_0x3bad53))],Z);let Q=class extends _0x561c06{constructor(_0x32dfe3=si,_0x203587,_0x5b6bb1,_0x5bada7,_0x1e3983){const _0x1d7e85=_0x1141d6;super(),this[_0x1d7e85(0x3a5)]=_0x32dfe3,this[_0x1d7e85(0x354)]=_0x203587,this[_0x1d7e85(0x1b8)]=_0x5b6bb1,this[_0x1d7e85(0x1a4)]=_0x5bada7,this[_0x1d7e85(0x19e)]=_0x1e3983;let {..._0x1e6de8}=_0x1b55b2({},si,this[_0x1d7e85(0x3a5)]);this['_configService'][_0x1d7e85(0x29b)]('bases.remote.config',_0x1e6de8),this[_0x1d7e85(0x19e)]['registerCtorForType'](_0x42dad9[_0x1d7e85(0x3f7)],_0x23c2ec),Ri['forEach'](_0x5dc0bc=>this[_0x1d7e85(0x2b3)](this[_0x1d7e85(0x1b8)]['registerCommand'](_0x5dc0bc)));}};B(Q,_0x1141d6(0x3a6),'REMOTE_BASES_PLUGIN'),B(Q,_0x1141d6(0x3b2),ii),B(Q,'version',ai),B(Q,'type',_0x42dad9[_0x1141d6(0x3f7)]),Q=U([_0x38049c(_0x1fb316,_0xc981e4),H(0x1,_0x4d53a3(_0x5585a7)),H(0x2,_0x4c4564),H(0x3,_0xddd949),H(0x4,_0x583b46)],Q);function zi(_0x497adf){const _0x5ae995=_0x1141d6;let _0x1c307d=Qi(_0x497adf[_0x5ae995(0x265)]);if(!_0x1c307d)return{'query':'','total':0x0,'matches':[]};let _0x1caf85=[],_0x57394e=[];for(let _0x3c3acc=0x0;_0x3c3acc<_0x497adf[_0x5ae995(0x146)][_0x5ae995(0x3e1)];_0x3c3acc++){if(!(_0x3c3acc in _0x497adf[_0x5ae995(0x146)]))continue;let _0x5f3556=_0x497adf[_0x5ae995(0x305)][_0x5ae995(0x2e2)][_0x497adf['fieldIds'][_0x3c3acc]];_0x5f3556&&_0x57394e['push']({'field':_0x5f3556,'fieldIndex':_0x3c3acc});}_0x497adf[_0x5ae995(0x37a)]['forEach']((_0x1e78b4,_0x480bbb)=>{_0x57394e['forEach'](({field:_0x24397c,fieldIndex:_0xf6d492})=>{const _0x3cd005=_0x33c5;let _0x2809d8=Bi(_0x1e78b4[_0x3cd005(0x3aa)][_0x24397c['id']],_0x24397c);if(!_0x2809d8)return;let _0x3f6cfb=Zi(_0x1c307d,_0x2809d8['searchTexts']);_0x3f6cfb<=0x0||_0x1caf85[_0x3cd005(0x1a6)]({'recordId':_0x1e78b4[_0x3cd005(0x201)],'fieldId':_0x24397c['id'],'fieldType':_0x24397c[_0x3cd005(0x157)],'text':_0x2809d8[_0x3cd005(0x204)],'score':_0x3f6cfb,'rowIndex':_0x480bbb,'fieldIndex':_0xf6d492});});}),_0x1caf85[_0x5ae995(0x3b6)]((_0x3d60d4,_0x1b91b4)=>_0x1b91b4['score']-_0x3d60d4[_0x5ae995(0x3a4)]||_0x3d60d4[_0x5ae995(0x241)]-_0x1b91b4[_0x5ae995(0x241)]||_0x3d60d4[_0x5ae995(0x380)]-_0x1b91b4[_0x5ae995(0x380)]);let _0x49aaad=_0x497adf[_0x5ae995(0x2a6)]==null?_0x1caf85:_0x1caf85[_0x5ae995(0x29a)](0x0,Math['max'](0x0,_0x497adf[_0x5ae995(0x2a6)]));return{'query':_0x1c307d,'total':_0x1caf85[_0x5ae995(0x3e1)],'matches':ea(_0x49aaad)};}function Bi(_0x3cc9d0,_0xc5a5b5){const _0x875ba=_0x1141d6;let _0x1b63d4=[];for(let _0x4bdb9b of Hi(_0x3cc9d0,_0xc5a5b5)){let _0x3b4f3a=Qi(_0x4bdb9b);_0x3b4f3a&&_0x1b63d4[_0x875ba(0x1a6)](_0x3b4f3a);}return _0x1b63d4[_0x875ba(0x3e1)]?{'displayText':Vi(_0x3cc9d0,_0xc5a5b5),'searchTexts':$i(_0x1b63d4)}:null;}function Vi(_0xa25c54,_0x52da60){const _0x5f4d6d=_0x1141d6;switch(_0x52da60['type']){case _0x1b662f[_0x5f4d6d(0x1c8)]:case _0x1b662f[_0x5f4d6d(0x39e)]:case _0x1b662f['Group']:return Ui(_0xa25c54,_0x52da60)[_0x5f4d6d(0x1af)](',\x20');case _0x1b662f[_0x5f4d6d(0x33a)]:return Ki(_0xa25c54);case _0x1b662f[_0x5f4d6d(0x29d)]:case _0x1b662f[_0x5f4d6d(0x2db)]:case _0x1b662f[_0x5f4d6d(0x25a)]:return qi(_0xa25c54,_0x52da60);case _0x1b662f['Number']:case _0x1b662f[_0x5f4d6d(0x1b3)]:return Ji(_0xa25c54,_0x52da60);case _0x1b662f[_0x5f4d6d(0x3fd)]:return Yi(_0xa25c54,_0x52da60);case _0x1b662f[_0x5f4d6d(0x3ed)]:return _0xa25c54?_0x5f4d6d(0x13a):'Unchecked';case _0x1b662f[_0x5f4d6d(0x252)]:return Xi(_0xa25c54)[_0x5f4d6d(0x1af)](',\x20');default:return $(_0xa25c54);}}function Hi(_0x46cd26,_0x58b3c3){const _0x3b3029=_0x1141d6;switch(_0x58b3c3['type']){case _0x1b662f[_0x3b3029(0x1c8)]:case _0x1b662f[_0x3b3029(0x39e)]:case _0x1b662f['Group']:{let _0x22962c=Ui(_0x46cd26,_0x58b3c3);if(Array[_0x3b3029(0x28a)](_0x46cd26)){let _0x4f028d=[..._0x22962c];for(let _0x1c858a=0x0;_0x1c858a<_0x46cd26['length'];_0x1c858a++)_0x1c858a in _0x46cd26&&_0x4f028d[_0x3b3029(0x1a6)](String(_0x46cd26[_0x1c858a]));return _0x4f028d;}return _0x46cd26==null?_0x22962c:[..._0x22962c,String(_0x46cd26)];}case _0x1b662f['Link']:{let _0x26e3e9=Gi(_0x46cd26);return[_0x26e3e9[_0x3b3029(0x387)],_0x26e3e9[_0x3b3029(0x3fe)]];}case _0x1b662f[_0x3b3029(0x29d)]:case _0x1b662f['CreatedAt']:case _0x1b662f[_0x3b3029(0x25a)]:return[qi(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3a9)]:case _0x1b662f[_0x3b3029(0x1b3)]:return[Ji(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3fd)]:return[Yi(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3ed)]:return _0x46cd26?[_0x3b3029(0x13a),_0x3b3029(0x13f),'True']:['Unchecked','No',_0x3b3029(0x18a)];case _0x1b662f['Attachment']:return Xi(_0x46cd26);default:return[$(_0x46cd26)];}}function Ui(_0x2e323c,_0x507416){const _0x127484=_0x1141d6;var _0x114e35;let _0x5708bc=Array['isArray']((_0x114e35=_0x507416['config'])==null?void 0x0:_0x114e35[_0x127484(0x294)])?_0x507416['config']['options']:[],_0x113571=[];if(Array[_0x127484(0x28a)](_0x2e323c)){for(let _0x14074d=0x0;_0x14074d<_0x2e323c[_0x127484(0x3e1)];_0x14074d++){if(!(_0x14074d in _0x2e323c))continue;let _0x48d295=String(_0x2e323c[_0x14074d]);_0x48d295&&_0x113571[_0x127484(0x1a6)](Wi(_0x5708bc,_0x48d295));}return _0x113571;}if(_0x2e323c!=null){let _0x54b628=String(_0x2e323c);_0x54b628&&_0x113571[_0x127484(0x1a6)](Wi(_0x5708bc,_0x54b628));}return _0x113571;}function Wi(_0x24ddc0,_0x145f6d){const _0x5b924d=_0x1141d6;for(let _0x1833bf of _0x24ddc0){if(typeof _0x1833bf==_0x5b924d(0x222)&&_0x1833bf===_0x145f6d)return _0x1833bf;if(_0x1833bf&&typeof _0x1833bf=='object'){var _0x476733,_0x4dcf11,_0x184058;let _0xe3a82f=_0x1833bf;if(String((_0x476733=(_0x4dcf11=_0xe3a82f['id'])==null?_0xe3a82f[_0x5b924d(0x3a2)]:_0x4dcf11)==null?'':_0x476733)===_0x145f6d||String((_0x184058=_0xe3a82f[_0x5b924d(0x3a2)])==null?'':_0x184058)===_0x145f6d){var _0x4bd7d2,_0x347133;return String((_0x4bd7d2=(_0x347133=_0xe3a82f['name'])==null?_0xe3a82f['id']:_0x347133)==null?_0x145f6d:_0x4bd7d2);}}}return _0x145f6d;}function Gi(_0x4f6996){const _0x3201e6=_0x1141d6;if(_0x4f6996&&typeof _0x4f6996==_0x3201e6(0x371)&&!Array[_0x3201e6(0x28a)](_0x4f6996)){var _0x49ffeb,_0x7208e1,_0x11584f;let _0x36f70d=_0x4f6996;return{'text':String((_0x49ffeb=(_0x7208e1=_0x36f70d[_0x3201e6(0x387)])==null?_0x36f70d[_0x3201e6(0x3fe)]:_0x7208e1)==null?'':_0x49ffeb),'url':String((_0x11584f=_0x36f70d[_0x3201e6(0x3fe)])==null?'':_0x11584f)};}return{'text':$(_0x4f6996),'url':$(_0x4f6996)};}function Ki(_0x40a101){const _0x3dd4d2=_0x1141d6;let _0x324e29=Gi(_0x40a101);return _0x324e29[_0x3dd4d2(0x387)]||_0x324e29[_0x3dd4d2(0x3fe)];}function qi(_0x2893a9,_0x51fb92){const _0x3eacbd=_0x1141d6;return typeof _0x2893a9!=_0x3eacbd(0x2fa)||!Number[_0x3eacbd(0x259)](_0x2893a9)?'':st(_0x2893a9,_0x51fb92['config']);}function Ji(_0xd5db30,_0x27d837){const _0x777981=_0x1141d6;let _0x3c09a9=typeof _0xd5db30==_0x777981(0x2fa)?_0xd5db30:Number(_0xd5db30);return Number[_0x777981(0x259)](_0x3c09a9)?Qr(_0x3c09a9,_0x27d837[_0x777981(0x1f0)]):'';}function Yi(_0x5cf271,_0x522397){const _0x31ad19=_0x1141d6;var _0x42590c;let _0x44b017=typeof _0x5cf271==_0x31ad19(0x2fa)?_0x5cf271:Number(_0x5cf271);if(!Number[_0x31ad19(0x259)](_0x44b017))return'';let _0x511cf3=(_0x42590c=_0x522397[_0x31ad19(0x1f0)])==null?{}:_0x42590c,_0x47f054=_0x511cf3[_0x31ad19(0x280)]===0x1||_0x511cf3[_0x31ad19(0x280)]===0x2?_0x511cf3[_0x31ad19(0x280)]:0x0,_0x11c40b=_0x44b017[_0x31ad19(0x1b4)](_0x47f054);return _0x511cf3[_0x31ad19(0x269)]==='number'?_0x11c40b:_0x11c40b+'%';}function Xi(_0x90f7fc){return Array['isArray'](_0x90f7fc)?_0x90f7fc['flatMap'](_0x36461c=>{const _0x28c56f=_0x33c5;var _0x4ed87e,_0x3c1a53;if(!_0x36461c||typeof _0x36461c!='object')return[];let _0x2153a1=_0x36461c,_0x42f6b6=String((_0x4ed87e=(_0x3c1a53=_0x2153a1[_0x28c56f(0x3a2)])==null?_0x2153a1['url']:_0x3c1a53)==null?'':_0x4ed87e)[_0x28c56f(0x369)]();return _0x42f6b6?[_0x42f6b6]:[];}):[];}function $(_0x38a586){const _0x59b631=_0x1141d6;if(_0x38a586==null)return'';if(typeof _0x38a586==_0x59b631(0x3f1))return _0x38a586?_0x59b631(0x355):_0x59b631(0x37b);if(typeof _0x38a586==_0x59b631(0x2fa))return String(_0x38a586);if(Array[_0x59b631(0x28a)](_0x38a586)){let _0x47503c=[];for(let _0x36fbf5=0x0;_0x36fbf5<_0x38a586[_0x59b631(0x3e1)];_0x36fbf5++){if(!(_0x36fbf5 in _0x38a586))continue;let _0x584c06=$(_0x38a586[_0x36fbf5]);_0x584c06&&_0x47503c['push'](_0x584c06);}return _0x47503c['join'](',\x20');}if(typeof _0x38a586==_0x59b631(0x371)){var _0x37f958,_0x71335b,_0x232080,_0x38ff0b;let _0xb65d97=_0x38a586;return String((_0x37f958=(_0x71335b=(_0x232080=(_0x38ff0b=_0xb65d97['title'])==null?_0xb65d97[_0x59b631(0x3a2)]:_0x38ff0b)==null?_0xb65d97[_0x59b631(0x387)]:_0x232080)==null?_0xb65d97[_0x59b631(0x3fe)]:_0x71335b)==null?'':_0x37f958)[_0x59b631(0x369)]();}return String(_0x38a586);}function Zi(_0x4f7cd7,_0x1034af){const _0x4118fa=_0x1141d6;let _0x288cc2=0x0;for(let _0x1a1b53 of _0x1034af)if(_0x1a1b53){if(_0x1a1b53===_0x4f7cd7){_0x288cc2=Math['max'](_0x288cc2,0x12c);continue;}if(_0x1a1b53[_0x4118fa(0x3bb)](_0x4f7cd7)){_0x288cc2=Math[_0x4118fa(0x248)](_0x288cc2,0xfa);continue;}_0x1a1b53[_0x4118fa(0x370)](_0x4f7cd7)&&(_0x288cc2=Math[_0x4118fa(0x248)](_0x288cc2,0xc8));}return _0x288cc2;}function Qi(_0x5c868f){const _0x56d042=_0x1141d6;return _0x5c868f[_0x56d042(0x369)]()[_0x56d042(0x167)](/\s+/g,'\x20')[_0x56d042(0x2ae)]();}function $i(_0x15bdc9){const _0x3d9768=_0x1141d6;return Array[_0x3d9768(0x1b2)](new Set(_0x15bdc9));}function ea(_0x146daf){let _0x3a0dd9=[];for(let {rowIndex:_0x45869a,fieldIndex:_0x4ded39,..._0x54aae3}of _0x146daf)_0x3a0dd9['push'](_0x54aae3);return _0x3a0dd9;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};