@univerjs-pro/bases 1.0.1 → 1.0.2

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 (85) 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/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +8 -8
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5623e9,_0x2d7c1d){const _0x102dc6=_0x5b6a,_0x3306a7=_0x5623e9();while(!![]){try{const _0x2edf8b=-parseInt(_0x102dc6(0x38c))/0x1*(-parseInt(_0x102dc6(0x164))/0x2)+parseInt(_0x102dc6(0xcc))/0x3+parseInt(_0x102dc6(0x298))/0x4+-parseInt(_0x102dc6(0x144))/0x5+parseInt(_0x102dc6(0x1ff))/0x6*(-parseInt(_0x102dc6(0x267))/0x7)+parseInt(_0x102dc6(0x3d7))/0x8+parseInt(_0x102dc6(0x46a))/0x9*(-parseInt(_0x102dc6(0x274))/0xa);if(_0x2edf8b===_0x2d7c1d)break;else _0x3306a7['push'](_0x3306a7['shift']());}catch(_0x4a4615){_0x3306a7['push'](_0x3306a7['shift']());}}}(_0x4790,0xb5a79),function(_0x3b17ce,_0x11079f){const _0x5bb08d=_0x5b6a;typeof exports==_0x5bb08d(0x35c)&&typeof module<'u'?_0x11079f(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x5bb08d(0x42f)&&define[_0x5bb08d(0x492)]?define([_0x5bb08d(0x306),'@univerjs/core',_0x5bb08d(0x423),_0x5bb08d(0x2c4),'@univerjs-pro/license',_0x5bb08d(0x4e4),_0x5bb08d(0x3cf)],_0x11079f):(_0x3b17ce=typeof globalThis<'u'?globalThis:_0x3b17ce||self,_0x11079f(_0x3b17ce['UniverProBases']={},_0x3b17ce['UniverCore'],_0x3b17ce[_0x5bb08d(0x15c)],_0x3b17ce[_0x5bb08d(0x4df)],_0x3b17ce[_0x5bb08d(0x179)],_0x3b17ce[_0x5bb08d(0x3bf)],_0x3b17ce['UniverEngineFormula']));}(this,function(_0x58b41f,_0x4dff15,_0x5a0085,_0x7620fc,_0x5996ff,_0x57335b,_0x10a0c7){const _0x565318=_0x5b6a;Object[_0x565318(0x255)](_0x58b41f,Symbol[_0x565318(0x319)],{'value':_0x565318(0x2c0)});function _0x3503a1(_0x170de1){const _0x4fe09e=_0x565318;let _0x251bb6=_0x170de1[_0x4fe09e(0x2c6)][_0x4fe09e(0x501)],_0xe0b2a0=_0x170de1[_0x4fe09e(0x2c6)][_0x4fe09e(0x18c)],_0x4fbb63=_0x170de1[_0x4fe09e(0x2c6)]['displayFieldId'],_0x9208bd=_0x170de1[_0x4fe09e(0x2c6)][_0x4fe09e(0x12d)],_0x5a0af6=_0x170de1[_0x4fe09e(0x2c6)][_0x4fe09e(0xc5)];return typeof _0x251bb6!=_0x4fe09e(0x17d)||!_0x251bb6||typeof _0xe0b2a0!=_0x4fe09e(0x41b)||_0x4fbb63!==void 0x0&&(typeof _0x4fbb63!=_0x4fe09e(0x17d)||!_0x4fbb63)||_0x5a0af6!==void 0x0&&_0x5a0af6!==_0x4dff15[_0x4fe09e(0x1ad)][_0x4fe09e(0x48c)]||_0x9208bd!==void 0x0&&(!Array[_0x4fe09e(0x1eb)](_0x9208bd)||_0x9208bd[_0x4fe09e(0x1a5)](_0x2586b9=>typeof _0x2586b9!='string'||!_0x2586b9)||new Set(_0x9208bd)[_0x4fe09e(0x4b4)]!==_0x9208bd[_0x4fe09e(0xac)])?null:{'targetTableId':_0x251bb6,'multiple':_0xe0b2a0,..._0x4fbb63?{'displayFieldId':_0x4fbb63}:{},..._0x9208bd?{'pickerFieldIds':[..._0x9208bd]}:{},..._0x5a0af6?{'relationRole':_0x5a0af6}:{}};}function _0x26e3e2(_0x42b219){const _0x265136=_0x565318;return typeof _0x42b219!='string'||_0x42b219===''?[]:_0x42b219[_0x265136(0x1da)](',');}function _0x1cb0b2(_0x56cfeb){const _0x37574a=_0x565318;return Array[_0x37574a(0x397)](new Set(_0x56cfeb))[_0x37574a(0x1b5)](',');}function _0x2571e9(_0x407831,_0x525a42){const _0x89b593=_0x565318;if(typeof _0x407831!=_0x89b593(0x17d))return{'valid':!0x1,'reason':_0x89b593(0x4c1)};if(_0x407831==='')return{'valid':!0x0};let _0x5a3009=_0x407831['split'](',');return!_0x525a42&&_0x5a3009[_0x89b593(0xac)]>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x5a3009[_0x89b593(0x1a5)](_0x2d1370=>!(0x0,_0x4dff15[_0x89b593(0x48e)])(_0x2d1370))||new Set(_0x5a3009)[_0x89b593(0x4b4)]!==_0x5a3009[_0x89b593(0xac)]||_0x1cb0b2(_0x5a3009)!==_0x407831?{'valid':!0x1,'reason':_0x89b593(0x406)}:{'valid':!0x0};}function _0x595100(_0x3b1602,_0x1968e5){const _0x43161d=_0x565318;if(_0x1968e5['type']!==_0x4dff15[_0x43161d(0x352)][_0x43161d(0x4fe)])return{'valid':!0x0};let _0x1cf0f2=_0x3503a1(_0x1968e5),_0x5a8ec9=_0x1cf0f2?_0x3b1602['tables'][_0x1cf0f2[_0x43161d(0x501)]]:void 0x0;if(!_0x1cf0f2||!_0x5a8ec9)return{'valid':!0x1,'reason':_0x43161d(0x2cb)};let _0xd529e2=[..._0x1cf0f2[_0x43161d(0x1e7)]?[_0x1cf0f2[_0x43161d(0x1e7)]]:[],..._0x1cf0f2['pickerFieldIds']??[]][_0x43161d(0x3f5)](_0x2bd9a3=>{const _0x4a6590=_0x43161d;let _0x1d614f=_0x5a8ec9[_0x4a6590(0x375)][_0x2bd9a3];return!_0x1d614f||_0x1d614f['system']===!0x0||_0x1d614f[_0x4a6590(0x1dd)]===_0x4dff15[_0x4a6590(0x352)][_0x4a6590(0x37b)];});return _0xd529e2?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0xd529e2+_0x43161d(0x45d)}:{'valid':!0x0};}function _0x376044(_0x2f1c41,_0x3863f3,_0x20d29d,_0x3f976a={}){const _0x2a3b56=_0x565318;let _0x31ab27=_0x3503a1(_0x3863f3);if(_0x3863f3['type']!==_0x4dff15['BaseFieldType'][_0x2a3b56(0x4fe)]||!_0x31ab27)return{'valid':!0x1,'reason':_0x2a3b56(0x3ff)};let _0x5d6c86=_0x2571e9(_0x20d29d,_0x31ab27[_0x2a3b56(0x18c)]);if(!_0x5d6c86[_0x2a3b56(0x31a)]||_0x3f976a[_0x2a3b56(0x508)])return _0x5d6c86;let _0x419637=_0x2f1c41[_0x2a3b56(0x257)][_0x31ab27['targetTableId']];if(!_0x419637)return{'valid':!0x1,'reason':_0x2a3b56(0x2cb)};let _0x14ac6b=_0x26e3e2(_0x20d29d)['find'](_0x4ba548=>!_0x419637['records'][_0x4ba548]);return _0x14ac6b?{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20record\x20\x22'+_0x14ac6b+_0x2a3b56(0x459)}:{'valid':!0x0};}function _0x5efd64(_0x33696e,_0x19d5ca){const _0x355261=_0x565318;return Object['values'](_0x33696e[_0x355261(0x257)])[_0x355261(0x3d1)](_0x3ef1e1=>Object['values'](_0x3ef1e1[_0x355261(0x375)])[_0x355261(0x3d1)](_0x4ac302=>{const _0x16fd97=_0x355261;let _0x3ea28f=_0x4ac302['type']===_0x4dff15['BaseFieldType'][_0x16fd97(0x4fe)]?_0x3503a1(_0x4ac302):null;return(_0x3ea28f==null?void 0x0:_0x3ea28f[_0x16fd97(0x501)])===_0x19d5ca?[{'tableId':_0x3ef1e1['id'],'fieldId':_0x4ac302['id']}]:[];}));}let _0x3eec2e=_0x565318(0x256),_0x37a12f=function(_0x164851){const _0x1dfee8=_0x565318;return _0x164851[_0x1dfee8(0x101)]='invalidField',_0x164851['MissingRecord']=_0x1dfee8(0x1ed),_0x164851[_0x1dfee8(0x14a)]=_0x1dfee8(0x2d4),_0x164851['Cycle']=_0x1dfee8(0x1e1),_0x164851[_0x1dfee8(0x341)]=_0x1dfee8(0x36b),_0x164851[_0x1dfee8(0x4db)]=_0x1dfee8(0x3a1),_0x164851;}({});var _0x345a4a=class extends Error{constructor(_0x46bd6f,_0x499b0c=_0x565318(0x2f5)+_0x46bd6f){const _0x4f712a=_0x565318;super(_0x499b0c),this[_0x4f712a(0x427)]=_0x46bd6f,this['name']=_0x4f712a(0x442);}};let _0x2ced61=function(_0x2a7a86){const _0x41bc82=_0x565318;return _0x2a7a86['UI']='ui',_0x2a7a86[_0x41bc82(0x458)]='facade',_0x2a7a86['Remote']=_0x41bc82(0xfa),_0x2a7a86['Undo']=_0x41bc82(0x2b3),_0x2a7a86[_0x41bc82(0x200)]=_0x41bc82(0x1e2),_0x2a7a86[_0x41bc82(0x335)]='import',_0x2a7a86;}({});function _0x48ed14(_0x3c25e9,_0x3c44f1){const _0x32ccc3=_0x565318;if(!_0x3c44f1)return!0x1;let _0x5aa69e=_0x3c25e9[_0x32ccc3(0x375)][_0x3c44f1];if(!_0x5aa69e||_0x5aa69e[_0x32ccc3(0x1dd)]!==_0x4dff15['BaseFieldType'][_0x32ccc3(0x4fe)])return!0x1;let _0x5072a6=_0x3503a1(_0x5aa69e);return _0x5072a6?_0x5072a6[_0x32ccc3(0x501)]===_0x3c25e9['id']&&_0x5072a6[_0x32ccc3(0x18c)]===!0x1:!0x1;}function _0x5d6b7d(_0x273ba9){const _0x5653c1=_0x565318;return[..._0x273ba9[_0x5653c1(0x2c3)],...Object[_0x5653c1(0x446)](_0x273ba9['fields'])[_0x5653c1(0x2ee)](_0xec11f4=>!_0x273ba9['fieldOrder'][_0x5653c1(0x3d2)](_0xec11f4))[_0x5653c1(0x27f)]()][_0x5653c1(0x3f5)](_0x129097=>{const _0x4f5635=_0x5653c1;var _0x39c734;return _0x48ed14(_0x273ba9,_0x129097)?((_0x39c734=_0x3503a1(_0x273ba9[_0x4f5635(0x375)][_0x129097]))==null?void 0x0:_0x39c734[_0x4f5635(0xc5)])===_0x4dff15[_0x4f5635(0x1ad)][_0x4f5635(0x48c)]:!0x1;})??null;}function _0xe59662(_0x5d663f){const _0x4ddea6=_0x565318;let _0x1b9480=_0x5d6b7d(_0x5d663f);if(_0x1b9480)return _0x1b9480;let _0x26e2c6=_0x3eec2e,_0x118a07=0x2;for(;_0x5d663f[_0x4ddea6(0x375)][_0x26e2c6];)_0x26e2c6=_0x3eec2e+'_'+_0x118a07++;return _0x26e2c6;}function _0xd92ee0(_0xb238e8,_0x4e8661=_0xe59662(_0xb238e8),_0x223f38='Parent\x20Items'){const _0x1230d3=_0x565318;return{'id':_0x4e8661,'name':_0x223f38,'type':_0x4dff15[_0x1230d3(0x352)]['RecordLink'],'config':{'targetTableId':_0xb238e8['id'],'multiple':!0x1,'displayFieldId':_0xb238e8['primaryFieldId'],'pickerFieldIds':[_0xb238e8[_0x1230d3(0x269)]],'relationRole':_0x4dff15[_0x1230d3(0x1ad)]['Parent']}};}function _0x266192(_0x46d5b7){let _0x1efd0b=_0x5d6b7d(_0x46d5b7);return _0x1efd0b?[_0x1efd0b]:[];}function _0x36b42a(_0xfe2145,_0x15aa35){const _0x576343=_0x565318;let _0x3fa2c4=[..._0x266192(_0xfe2145)][_0x576343(0x2ee)](_0xc6c0bd=>_0x15aa35[_0x576343(0x1a5)](_0x398781=>Object[_0x576343(0x3f7)]['hasOwnProperty'][_0x576343(0x3b3)](_0x398781['values'],_0xc6c0bd)));if(!_0x3fa2c4[_0x576343(0xac)])return[];let _0x3d6eb3={..._0xfe2145[_0x576343(0x17e)]};_0x15aa35[_0x576343(0x207)](_0x10d118=>{const _0x707f32=_0x576343;let _0x272c62=_0x3d6eb3[_0x10d118[_0x707f32(0x3e1)]];_0x272c62&&(_0x3d6eb3[_0x10d118[_0x707f32(0x3e1)]]={..._0x272c62,'values':{..._0x272c62[_0x707f32(0x3dd)],..._0x10d118[_0x707f32(0x3dd)]}});});let _0x5df93f={..._0xfe2145,'records':_0x3d6eb3},_0x39bc81=[];return _0x3fa2c4[_0x576343(0x207)](_0x540dc2=>{const _0xdef94e=_0x576343;let _0x129918=_0x3b7781(_0xfe2145,_0x540dc2),_0x2bb0c5=_0x3b7781(_0x5df93f,_0x540dc2);for(let [_0x7f84fd,_0x3d673e]of _0x2bb0c5[_0xdef94e(0x2c5)]){let _0x1842db=_0x15aa35[_0xdef94e(0x1a5)](_0x11e882=>_0x11e882[_0xdef94e(0x3e1)]===_0x7f84fd&&Object[_0xdef94e(0x3f7)][_0xdef94e(0x345)][_0xdef94e(0x3b3)](_0x11e882[_0xdef94e(0x3dd)],_0x540dc2));if(_0x129918[_0xdef94e(0x2c5)][_0xdef94e(0x2fe)](_0x7f84fd)!==_0x3d673e||_0x1842db)throw new _0x345a4a(_0x25f079(_0x3d673e));}_0x15aa35[_0xdef94e(0x207)](_0x6f4420=>{const _0x218cec=_0xdef94e;if(!Object[_0x218cec(0x3f7)][_0x218cec(0x345)][_0x218cec(0x3b3)](_0x6f4420[_0x218cec(0x3dd)],_0x540dc2))return;let _0x422dc9=_0x129918[_0x218cec(0x3a3)]['get'](_0x6f4420[_0x218cec(0x3e1)])??null,_0x4049cc=_0x2bb0c5['parentByRecordId'][_0x218cec(0x2fe)](_0x6f4420['recordId'])??null;_0x422dc9!==_0x4049cc&&_0x39bc81[_0x218cec(0xfb)]({'tableId':_0xfe2145['id'],'fieldId':_0x540dc2,'recordId':_0x6f4420[_0x218cec(0x3e1)],'oldParentRecordId':_0x422dc9,'parentRecordId':_0x4049cc});});}),_0x39bc81;}function _0x2d68df(_0x1b7139,_0x514b89){const _0x13c368=_0x565318;let _0x5e3bd4=_0x514b89[_0x13c368(0x2e7)](_0x432f98=>_0x432f98['id']);if(new Set(_0x5e3bd4)[_0x13c368(0x4b4)]!==_0x5e3bd4[_0x13c368(0xac)]||_0x5e3bd4[_0x13c368(0x1a5)](_0x534722=>_0x1b7139[_0x13c368(0x17e)][_0x534722]))return[];let _0x6d4778=_0x266192(_0x1b7139),_0x8fef1a=_0x6d4778[_0x13c368(0xac)]?null:_0xe59662(_0x1b7139),_0x14f172=[..._0x6d4778,..._0x8fef1a&&_0x514b89[_0x13c368(0x1a5)](_0x152804=>Object['prototype'][_0x13c368(0x345)][_0x13c368(0x3b3)](_0x152804['values'],_0x8fef1a))?[_0x8fef1a]:[]]['filter'](_0x5634a8=>_0x514b89[_0x13c368(0x1a5)](_0x12dc7d=>Object[_0x13c368(0x3f7)][_0x13c368(0x345)][_0x13c368(0x3b3)](_0x12dc7d['values'],_0x5634a8)));if(!_0x14f172[_0x13c368(0xac)])return[];let _0x55e3a9={..._0x1b7139,'records':{..._0x1b7139[_0x13c368(0x17e)],...Object[_0x13c368(0x2cc)](_0x514b89[_0x13c368(0x2e7)](_0x39cc9a=>[_0x39cc9a['id'],_0x39cc9a]))},'recordOrder':[..._0x1b7139[_0x13c368(0x135)]??[],..._0x514b89[_0x13c368(0x2e7)](_0x23821f=>_0x23821f['id'])]},_0x8c30b3=[];return _0x14f172[_0x13c368(0x207)](_0xd9ff1e=>{let _0x11cf9a=_0x3b7781(_0x55e3a9,_0xd9ff1e);_0x514b89['forEach'](_0xeeb26f=>{const _0x297845=_0x5b6a;let _0x2c3e3e=_0x11cf9a[_0x297845(0x2c5)][_0x297845(0x2fe)](_0xeeb26f['id']);if(_0x2c3e3e)throw new _0x345a4a(_0x25f079(_0x2c3e3e));let _0x29c9a5=_0x11cf9a[_0x297845(0x3a3)][_0x297845(0x2fe)](_0xeeb26f['id'])??null;_0x29c9a5&&_0x8c30b3['push']({'tableId':_0x1b7139['id'],'fieldId':_0xd9ff1e,'recordId':_0xeeb26f['id'],'oldParentRecordId':null,'parentRecordId':_0x29c9a5});});}),_0x8c30b3;}function _0x25f079(_0x10bb3c){const _0x8d75df=_0x565318;switch(_0x10bb3c){case _0x4dff15[_0x8d75df(0x2fc)][_0x8d75df(0xdc)]:return _0x8d75df(0x1ed);case _0x4dff15[_0x8d75df(0x2fc)][_0x8d75df(0x14a)]:return'selfParent';case _0x4dff15['BaseHierarchyInvalidReason'][_0x8d75df(0x252)]:return'cycle';case _0x4dff15[_0x8d75df(0x2fc)][_0x8d75df(0x341)]:return'maxDepth';}}function _0x54ab3d(_0x497d1d,_0x19b8a4){const _0x5a64cc=_0x565318;let _0x440b8c=new Set(_0x19b8a4),_0x34a44d=_0x266192(_0x497d1d);return Object['values'](_0x497d1d[_0x5a64cc(0x17e)])[_0x5a64cc(0x3d1)](_0x26de1f=>_0x440b8c[_0x5a64cc(0x336)](_0x26de1f['id'])?[]:Array['from'](_0x34a44d)[_0x5a64cc(0x3d1)](_0x53d638=>{const _0xdd304=_0x5a64cc;let _0xaa60=_0x26e3e2(_0x26de1f[_0xdd304(0x3dd)][_0x53d638])[0x0]??null;return _0xaa60&&_0x440b8c['has'](_0xaa60)?[{'tableId':_0x497d1d['id'],'fieldId':_0x53d638,'recordId':_0x26de1f['id'],'oldParentRecordId':_0xaa60,'parentRecordId':null}]:[];}));}function _0x3b7781(_0x271e5f,_0x811d89,_0x464596=_0x271e5f[_0x565318(0x135)]??Object[_0x565318(0x446)](_0x271e5f['records'])){const _0x25f81f=_0x565318;if((_0x271e5f[_0x25f81f(0x375)][_0x811d89]||_0x811d89!==_0xe59662(_0x271e5f))&&!_0x48ed14(_0x271e5f,_0x811d89))throw Error(_0x25f81f(0x3d4)+_0x811d89+_0x25f81f(0x420));let _0x5add69=_0xc3c086(_0x271e5f,_0x464596),_0x213294=new Map(),_0x54962b=new Map();for(let _0x44bb45 of _0x5add69){var _0x83fc9c;let _0x2789f7=_0x26e3e2((_0x83fc9c=_0x271e5f[_0x25f81f(0x17e)][_0x44bb45])==null?void 0x0:_0x83fc9c[_0x25f81f(0x3dd)][_0x811d89])[0x0]??null;_0x2789f7?_0x2789f7===_0x44bb45?(_0x213294[_0x25f81f(0xe4)](_0x44bb45,null),_0x54962b[_0x25f81f(0xe4)](_0x44bb45,_0x4dff15[_0x25f81f(0x2fc)][_0x25f81f(0x14a)])):_0x271e5f[_0x25f81f(0x17e)][_0x2789f7]?_0x213294[_0x25f81f(0xe4)](_0x44bb45,_0x2789f7):(_0x213294[_0x25f81f(0xe4)](_0x44bb45,null),_0x54962b['set'](_0x44bb45,_0x4dff15[_0x25f81f(0x2fc)][_0x25f81f(0xdc)])):_0x213294[_0x25f81f(0xe4)](_0x44bb45,null);}_0x27b562(_0x213294,_0x54962b,_0x5add69),_0x105421(_0x213294,_0x54962b,_0x5add69);let _0x18dbf4=new Map(_0x5add69[_0x25f81f(0x2e7)]((_0x125e1e,_0x98fe1b)=>[_0x125e1e,_0x98fe1b])),_0x36cc29=new Map();for(let _0xd3fdcd of _0x5add69){let _0x48f289=_0x213294[_0x25f81f(0x2fe)](_0xd3fdcd)??null,_0x1c4129=_0x36cc29['get'](_0x48f289)??[];_0x1c4129[_0x25f81f(0xfb)](_0xd3fdcd),_0x36cc29[_0x25f81f(0xe4)](_0x48f289,_0x1c4129);}_0x36cc29[_0x25f81f(0x207)](_0x25c61c=>_0x25c61c[_0x25f81f(0x27f)]((_0x289f85,_0x74789)=>(_0x18dbf4[_0x25f81f(0x2fe)](_0x289f85)??0x0)-(_0x18dbf4[_0x25f81f(0x2fe)](_0x74789)??0x0)));let _0x68c4a9=_0x36cc29['get'](null)??[],_0x511742=new Map(),_0x37f203=new Map(),_0x3ea65e=[],_0x810ea3=(_0x4063dc,_0x13fab5)=>{const _0x515831=_0x25f81f;_0x511742[_0x515831(0xe4)](_0x4063dc,_0x13fab5),_0x3ea65e['push'](_0x4063dc);let _0x2c713c=0x0;for(let _0x37fecd of _0x36cc29[_0x515831(0x2fe)](_0x4063dc)??[])_0x2c713c=Math['max'](_0x2c713c,0x1+_0x810ea3(_0x37fecd,_0x13fab5+0x1));return _0x37f203[_0x515831(0xe4)](_0x4063dc,_0x2c713c),_0x2c713c;};return _0x68c4a9[_0x25f81f(0x207)](_0x3962db=>_0x810ea3(_0x3962db,0x0)),{'fieldId':_0x811d89,'parentByRecordId':_0x213294,'childrenByParentId':_0x36cc29,'depthByRecordId':_0x511742,'subtreeHeightByRecordId':_0x37f203,'invalidReasonByRecordId':_0x54962b,'rootRecordIds':_0x68c4a9,'orderedRecordIds':_0x3ea65e};}function _0x1a01dd(_0x49a5ae,_0x55046c,_0x16fb37=new Set(_0x55046c[_0x565318(0x2e7)](_0x42ae65=>_0x42ae65['recordId']))){const _0x535745=_0x565318;let _0x5d6c39=new Set(_0x16fb37);for(let _0x265eb1 of _0x16fb37){let _0x3fff71=_0x49a5ae[_0x535745(0x3a3)][_0x535745(0x2fe)](_0x265eb1)??null;for(;_0x3fff71;)_0x5d6c39[_0x535745(0x488)](_0x3fff71),_0x3fff71=_0x49a5ae[_0x535745(0x3a3)][_0x535745(0x2fe)](_0x3fff71)??null;}let _0x17d46a=new Map(_0x55046c[_0x535745(0x2e7)](_0x8f7c5e=>[_0x8f7c5e[_0x535745(0x3e1)],_0x8f7c5e])),_0x740c3e=_0x49a5ae[_0x535745(0x2b7)][_0x535745(0x2ee)](_0x64d2b6=>_0x5d6c39[_0x535745(0x336)](_0x64d2b6)),_0x5886b0=_0x740c3e[_0x535745(0x3d1)](_0x158388=>{const _0x1c416a=_0x535745;let _0x391e75=_0x17d46a[_0x1c416a(0x2fe)](_0x158388);return _0x391e75?[_0x391e75]:[];}),_0x65dc97={};for(let _0x41a3bb=0x0;_0x41a3bb<_0x740c3e['length'];_0x41a3bb++){let _0x11820c=_0x740c3e[_0x41a3bb];_0x65dc97[_0x11820c]={'recordId':_0x11820c,'parentRecordId':_0x49a5ae[_0x535745(0x3a3)][_0x535745(0x2fe)](_0x11820c)??null,'depth':_0x49a5ae[_0x535745(0x1f3)]['get'](_0x11820c)??0x0,'directChildCount':(_0x49a5ae[_0x535745(0x1d8)]['get'](_0x11820c)??[])['length'],'subtreeHeight':_0x49a5ae['subtreeHeightByRecordId']['get'](_0x11820c)??0x0,'subtreeEndIndex':_0x41a3bb,'invalidReason':_0x49a5ae[_0x535745(0x2c5)][_0x535745(0x2fe)](_0x11820c)};}let _0x548311=[];for(let _0x5c94f0=0x0;_0x5c94f0<_0x740c3e[_0x535745(0xac)];_0x5c94f0++){let _0x50392a=_0x740c3e[_0x5c94f0],_0x59d0eb=_0x65dc97[_0x50392a][_0x535745(0xea)];for(;_0x548311[_0x535745(0xac)]&&_0x548311[_0x548311[_0x535745(0xac)]-0x1][_0x535745(0xea)]>=_0x59d0eb;){let _0x58a537=_0x548311[_0x535745(0x291)]();_0x65dc97[_0x58a537[_0x535745(0x3e1)]][_0x535745(0x379)]=_0x5c94f0-0x1;}_0x548311[_0x535745(0xfb)]({'recordId':_0x50392a,'depth':_0x59d0eb});}return _0x548311[_0x535745(0x207)](({recordId:_0x5d2822})=>{_0x65dc97[_0x5d2822]['subtreeEndIndex']=_0x740c3e['length']-0x1;}),{'rows':_0x5886b0,'hierarchy':{'fieldId':_0x49a5ae['fieldId'],'rootRecordIds':_0x49a5ae[_0x535745(0x317)][_0x535745(0x2ee)](_0x2e596a=>_0x5d6c39[_0x535745(0x336)](_0x2e596a)),'orderedRecordIds':_0x740c3e,'nodes':_0x65dc97}};}function _0x17ab77(_0x469741,_0x1242b4){const _0x3a3ba2=_0x565318;if(!_0x469741[_0x3a3ba2(0x102)]||!(_0x1242b4!=null&&_0x1242b4[_0x3a3ba2(0x4b4)]))return _0x469741[_0x3a3ba2(0x343)];let _0x482244=[],_0xbcdf03=0x0;for(;_0xbcdf03<_0x469741['rows'][_0x3a3ba2(0xac)];){let _0x239ceb=_0x469741[_0x3a3ba2(0x343)][_0xbcdf03];_0x482244['push'](_0x239ceb);let _0xf283dc=_0x469741[_0x3a3ba2(0x102)][_0x3a3ba2(0x4ff)][_0x239ceb['recordId']];_0xbcdf03=_0x1242b4[_0x3a3ba2(0x336)](_0x239ceb[_0x3a3ba2(0x3e1)])&&_0xf283dc?_0xf283dc[_0x3a3ba2(0x379)]+0x1:_0xbcdf03+0x1;}return _0x482244;}function _0x4360b8(_0x2978cd,_0x4a51b8,_0x232775){const _0x12ce11=_0x565318;if(!_0x232775)return{'valid':!0x0};if(_0x4a51b8===_0x232775)return{'valid':!0x1,'reason':_0x4dff15[_0x12ce11(0x2fc)]['SelfParent']};let _0xef83fe=_0x232775;for(;_0xef83fe;){if(_0xef83fe===_0x4a51b8)return{'valid':!0x1,'reason':_0x4dff15[_0x12ce11(0x2fc)][_0x12ce11(0x252)]};_0xef83fe=_0x2978cd['parentByRecordId'][_0x12ce11(0x2fe)](_0xef83fe)??null;}return(_0x2978cd[_0x12ce11(0x1f3)][_0x12ce11(0x2fe)](_0x232775)??0x0)+0x1+(_0x2978cd['subtreeHeightByRecordId'][_0x12ce11(0x2fe)](_0x4a51b8)??0x0)>=0x5?{'valid':!0x1,'reason':_0x4dff15[_0x12ce11(0x2fc)]['MaxDepth']}:{'valid':!0x0};}function _0xc3c086(_0x19c2ce,_0x59f5e9){const _0x5111e2=_0x565318;let _0x2e4d37=new Set(),_0x2a7331=[];for(let _0x3ff186 of _0x59f5e9)_0x19c2ce[_0x5111e2(0x17e)][_0x3ff186]&&!_0x2e4d37['has'](_0x3ff186)&&(_0x2e4d37['add'](_0x3ff186),_0x2a7331[_0x5111e2(0xfb)](_0x3ff186));return Object[_0x5111e2(0x446)](_0x19c2ce['records'])[_0x5111e2(0x27f)]()['forEach'](_0x2d06e5=>{const _0x264558=_0x5111e2;_0x2e4d37[_0x264558(0x336)](_0x2d06e5)||_0x2a7331[_0x264558(0xfb)](_0x2d06e5);}),_0x2a7331;}function _0x27b562(_0x2b28b0,_0x53c1c2,_0x3bb6c7){const _0x2b74bd=_0x565318;let _0x8c2289=new Set();for(let _0x5cb14e of _0x3bb6c7){if(_0x8c2289[_0x2b74bd(0x336)](_0x5cb14e))continue;let _0x580d33=[],_0xf7d42a=new Map(),_0x3bb5e7=_0x5cb14e;for(;_0x3bb5e7&&!_0x8c2289['has'](_0x3bb5e7);){let _0x1fcd59=_0xf7d42a[_0x2b74bd(0x2fe)](_0x3bb5e7);if(_0x1fcd59!=null){let _0x395bff=[..._0x580d33[_0x2b74bd(0x19e)](_0x1fcd59)]['sort']()['pop']();_0x2b28b0['set'](_0x395bff,null),_0x53c1c2[_0x2b74bd(0xe4)](_0x395bff,_0x4dff15[_0x2b74bd(0x2fc)][_0x2b74bd(0x252)]);break;}_0xf7d42a[_0x2b74bd(0xe4)](_0x3bb5e7,_0x580d33[_0x2b74bd(0xac)]),_0x580d33[_0x2b74bd(0xfb)](_0x3bb5e7),_0x3bb5e7=_0x2b28b0['get'](_0x3bb5e7)??null;}_0x580d33[_0x2b74bd(0x207)](_0x30a306=>_0x8c2289['add'](_0x30a306));}}function _0x105421(_0xac17ce,_0x46dd05,_0x23cb4c){let _0x488938=new Map(),_0x179bab=_0x5e0b88=>{const _0x539da7=_0x5b6a;let _0x58e551=_0x488938[_0x539da7(0x2fe)](_0x5e0b88);if(_0x58e551!=null)return _0x58e551;let _0x370374=_0xac17ce[_0x539da7(0x2fe)](_0x5e0b88)??null;if(!_0x370374)return _0x488938['set'](_0x5e0b88,0x0),0x0;let _0x5f3a67=_0x179bab(_0x370374)+0x1;return _0x5f3a67>=0x5?(_0xac17ce[_0x539da7(0xe4)](_0x5e0b88,null),_0x46dd05[_0x539da7(0xe4)](_0x5e0b88,_0x4dff15[_0x539da7(0x2fc)]['MaxDepth']),_0x488938['set'](_0x5e0b88,0x0),0x0):(_0x488938[_0x539da7(0xe4)](_0x5e0b88,_0x5f3a67),_0x5f3a67);};_0x23cb4c['forEach'](_0x179bab);}let _0x50cfd8=0x0;function _0x2d446a(){const _0x4ab509=_0x565318;if(globalThis[_0x4ab509(0x2f8)]===!0x0)return!0x0;try{let _0x15cc68=typeof location>'u'?'':location['search'],_0xe2ef16=new URLSearchParams(_0x15cc68);if(_0xe2ef16[_0x4ab509(0x2fe)](_0x4ab509(0xfc))==='1'||_0xe2ef16['get'](_0x4ab509(0xfc))===_0x4ab509(0x1e0)||_0xe2ef16['get'](_0x4ab509(0xd8))==='1')return!0x0;}catch{}try{let _0x51100a=typeof localStorage>'u'?null:localStorage[_0x4ab509(0x115)](_0x4ab509(0x4f6));return _0x51100a==='1'||_0x51100a===_0x4ab509(0x1e0);}catch{return!0x1;}}function _0x24faa7(_0x1e71b0,_0x3537c8,_0x3f9c2b){const _0x19c168=_0x565318;if(!_0x2d446a())return _0x3537c8();let _0x174da3=_0x81fa71(),_0x28f318=_0x19c168(0x270)+_0x50cfd8++;_0x2f2fb7(_0x28f318+_0x19c168(0x43e));try{return _0x3537c8();}finally{let _0x1e369b=_0x81fa71()-_0x174da3;_0x2f2fb7(_0x28f318+':end'),_0x469aea(_0x1e71b0,_0x28f318+_0x19c168(0x43e),_0x28f318+_0x19c168(0x443)),_0x2a1116(_0x1e71b0,_0x1e369b,_0x3f9c2b);}}function _0x2a1116(_0x547d50,_0x213fe6,_0x3d89dc){const _0x5aba25=_0x565318;if(!_0x2d446a())return;let _0x219f91=Math[_0x5aba25(0x3e9)](_0x213fe6*0x64)/0x64,_0x4938e4=_0x3d89dc&&Object[_0x5aba25(0x446)](_0x3d89dc)[_0x5aba25(0xac)]?'\x20'+JSON[_0x5aba25(0x2ea)](_0x3d89dc):'';console[_0x5aba25(0x3e4)]('[BasePerf]\x20'+_0x547d50+':\x20'+_0x219f91+'ms'+_0x4938e4);}function _0x81fa71(){const _0x382ec0=_0x565318;return typeof performance<'u'&&typeof performance['now']==_0x382ec0(0x42f)?performance[_0x382ec0(0x27a)]():Date['now']();}function _0x2f2fb7(_0x5e0251){const _0x318d22=_0x565318;try{if(typeof performance<'u'){var _0x18e14c,_0x42b5a5;(_0x18e14c=(_0x42b5a5=performance)[_0x318d22(0x117)])==null||_0x18e14c['call'](_0x42b5a5,_0x5e0251);}}catch{}}function _0x469aea(_0x489679,_0x3accc8,_0x137077){const _0x1cf565=_0x565318;try{if(typeof performance<'u'){var _0x2e1aad,_0x2dbbea;(_0x2e1aad=(_0x2dbbea=performance)[_0x1cf565(0x348)])==null||_0x2e1aad[_0x1cf565(0x3b3)](_0x2dbbea,_0x1cf565(0x2dd)+_0x489679,_0x3accc8,_0x137077);}}catch{}}function _0x21979c(_0x4e3fed){const _0x3fbd1e=_0x565318;var _0xa7c6e;return _0x2d446a()?_0x24faa7(_0x3fbd1e(0x120),()=>_0x1c1ac9(_0x4e3fed),{'tableId':_0x4e3fed['id'],'records':Object[_0x3fbd1e(0x446)](_0x4e3fed[_0x3fbd1e(0x17e)]??{})[_0x3fbd1e(0xac)],'fields':_0x4e3fed['fieldOrder'][_0x3fbd1e(0xac)],'hasRecordOrder':!!((_0xa7c6e=_0x4e3fed[_0x3fbd1e(0x135)])!=null&&_0xa7c6e[_0x3fbd1e(0xac)])}):_0x1c1ac9(_0x4e3fed);}function _0x1c1ac9(_0x4cd2d5){const _0x15af2e=_0x565318;var _0x2e49e5;let _0x3dfe8f=_0x4cd2d5['records']??{},_0x3ae1c9=_0x4cd2d5[_0x15af2e(0x375)]??{},_0x254bfa=((_0x2e49e5=_0x4cd2d5[_0x15af2e(0x135)])==null?void 0x0:_0x2e49e5[_0x15af2e(0x2ee)](_0x1bd7b3=>_0x3dfe8f[_0x1bd7b3]))??[],_0x22abe4=new Set(_0x254bfa),_0x690ef3=[];for(let _0x275782 of Object['values'](_0x3dfe8f))_0x22abe4[_0x15af2e(0x336)](_0x275782['id'])||_0x690ef3[_0x15af2e(0xfb)](_0x275782);let _0x6b097e=_0x690ef3[_0x15af2e(0xac)]?[..._0x254bfa,..._0x2eef83(_0x690ef3)]:_0x254bfa,_0x295060=_0x4cd2d5['fieldOrder'][_0x15af2e(0x2ee)](_0x1fb98b=>_0x3ae1c9[_0x1fb98b]),_0x542177={..._0x4cd2d5['rowId']??{}},_0x4420cc={..._0x4cd2d5['colId']??{}},_0x2b953c={..._0x4cd2d5['cellData']??{}};_0x4cd2d5[_0x15af2e(0x135)]=_0x6b097e,_0x4cd2d5[_0x15af2e(0x1d4)]={},_0x4cd2d5[_0x15af2e(0x460)]={},_0x4cd2d5[_0x15af2e(0x2e0)]={},_0x4cd2d5[_0x15af2e(0x454)]={},_0x4cd2d5[_0x15af2e(0x1a0)]={},_0x4cd2d5[_0x15af2e(0x299)]={..._0x4cd2d5['resources']??{}},_0x4cd2d5['resources'][_0x15af2e(0x235)]={..._0x4cd2d5[_0x15af2e(0x299)][_0x15af2e(0x235)]??{}},_0x4cd2d5[_0x15af2e(0x299)][_0x15af2e(0x193)]={..._0x4cd2d5[_0x15af2e(0x299)][_0x15af2e(0x193)]??{}};let _0x19d37c=_0x4cd2d5[_0x15af2e(0x1d4)],_0x53f204=_0x4cd2d5[_0x15af2e(0x460)],_0x401647=_0x4cd2d5['colIndex'],_0x2a2df1=_0x4cd2d5[_0x15af2e(0x454)],_0x2757d1=_0x4cd2d5[_0x15af2e(0x1a0)];return _0x6b097e['forEach']((_0x205046,_0x18d825)=>{_0x19d37c[_0x205046]=_0x18d825,_0x53f204[_0x18d825]=_0x205046;}),_0x295060[_0x15af2e(0x207)]((_0x3c9eb4,_0x1cbd9c)=>{_0x401647[_0x3c9eb4]=_0x1cbd9c,_0x2a2df1[_0x1cbd9c]=_0x3c9eb4;}),Object[_0x15af2e(0x2b1)](_0x2b953c)[_0x15af2e(0x207)](([_0x4d1c97,_0x455ff8])=>{const _0x5baea6=_0x15af2e;let _0x526c44=Number(_0x4d1c97),_0x423617=_0x542177[_0x526c44]??_0x6b097e[_0x526c44],_0x586584=_0x423617?_0x19d37c[_0x423617]:void 0x0;_0x586584!=null&&(_0x2757d1[_0x586584]={..._0x2757d1[_0x586584]??{}},Object[_0x5baea6(0x2b1)](_0x455ff8??{})['forEach'](([_0x4730d9,_0x12d948])=>{let _0x358990=Number(_0x4730d9),_0x5c2be6=_0x4420cc[_0x358990]??_0x295060[_0x358990],_0x13efd2=_0x5c2be6?_0x401647[_0x5c2be6]:void 0x0;_0x13efd2!=null&&(_0x2757d1[_0x586584][_0x13efd2]=_0x4a1eb7(_0x12d948));}));}),Object[_0x15af2e(0x3dd)](_0x3dfe8f)[_0x15af2e(0x207)](_0x72880b=>{const _0x5ab0cf=_0x15af2e;let _0x4b8664=_0x19d37c[_0x72880b['id']];_0x4b8664!=null&&(_0x72880b[_0x5ab0cf(0x3dd)]={..._0x72880b['values']??{},[_0x4dff15[_0x5ab0cf(0x432)]]:_0x72880b['id']},_0x2757d1[_0x4b8664]={..._0x2757d1[_0x4b8664]??{},0x0:{'v':_0x72880b['id'],'t':_0x4dff15[_0x5ab0cf(0x1e3)][_0x5ab0cf(0x496)]}},Object[_0x5ab0cf(0x2b1)](_0x72880b['values']??{})[_0x5ab0cf(0x207)](([_0x117287,_0x528a62])=>{const _0x106ea0=_0x5ab0cf;let _0x303787=_0x3ae1c9[_0x117287];(_0x303787==null?void 0x0:_0x303787[_0x106ea0(0x1dd)])===_0x4dff15[_0x106ea0(0x352)]['Attachment']&&_0x2c7b5b(_0x4cd2d5,_0x72880b['id'],_0x117287,_0x528a62);let _0xfc1786=_0x401647[_0x117287];if(_0xfc1786==null)return;let _0x83647=_0x2757d1[_0x4b8664][_0xfc1786];if(_0x83647!=null){_0x46d854(_0x83647,_0x303787,_0x528a62)&&(_0x2757d1[_0x4b8664][_0xfc1786]=_0x108721(_0x528a62,_0x303787));return;}_0x2757d1[_0x4b8664][_0xfc1786]=_0x108721(_0x528a62,_0x303787);}));}),_0x4cd2d5;}function _0x56c2ee(_0x1c68f9,_0x22c3f1){const _0x41cdef=_0x565318;return _0x1c68f9[_0x41cdef(0x17e)]=Object[_0x41cdef(0x2cc)](Object[_0x41cdef(0x2b1)](_0x1c68f9['records'])[_0x41cdef(0x2e7)](([_0x353a74,_0x2a94a2])=>[_0x353a74,{..._0x2a94a2}])),_0x21979c(_0x1c68f9),Object[_0x41cdef(0x2b1)](_0x1c68f9[_0x41cdef(0x460)]??{})[_0x41cdef(0x207)](([_0x79b7d9,_0x5738a8])=>{const _0x47a24b=_0x41cdef;var _0x527381;let _0x443c13=Number(_0x79b7d9),_0x1d51af=_0x1c68f9[_0x47a24b(0x17e)][_0x5738a8];_0x1d51af&&(_0x1d51af[_0x47a24b(0x3dd)]={..._0x1d51af[_0x47a24b(0x3dd)]??{}},Object['entries'](((_0x527381=_0x1c68f9['cellData'])==null?void 0x0:_0x527381[_0x443c13])??{})[_0x47a24b(0x207)](([_0x3884fa,_0x1b3e3c])=>{const _0x27e173=_0x47a24b;var _0x1eeff8;let _0x18f1ca=(_0x1eeff8=_0x1c68f9[_0x27e173(0x454)])==null?void 0x0:_0x1eeff8[Number(_0x3884fa)];_0x18f1ca&&_0x22c3f1&&!_0x22c3f1(_0x5738a8,_0x18f1ca)||(_0x18f1ca===_0x4dff15['BASE_RECORD_ID_FIELD_ID']?_0x1d51af[_0x27e173(0x3dd)][_0x4dff15[_0x27e173(0x432)]]=_0x1d51af['id']:_0x18f1ca&&(_0x1d51af[_0x27e173(0x3dd)][_0x18f1ca]=_0x22ae4d(_0x1b3e3c,_0x1c68f9[_0x27e173(0x375)][_0x18f1ca],_0x1c68f9,_0x5738a8)));}));}),_0x1c68f9;}function _0x1497cd(_0x19896b,_0x15115b){const _0x3ba3e1=_0x565318;for(let {row:_0x2557a3,col:_0x261382}of _0x15115b){var _0x500ea5,_0x81d71a,_0x212d99;let _0x228a9e=(_0x500ea5=_0x19896b['rowId'])==null?void 0x0:_0x500ea5[_0x2557a3],_0x56ff05=(_0x81d71a=_0x19896b[_0x3ba3e1(0x454)])==null?void 0x0:_0x81d71a[_0x261382],_0x19cf97=_0x228a9e?_0x19896b['records'][_0x228a9e]:void 0x0;if(!_0x19cf97||!_0x56ff05)continue;if(_0x56ff05===_0x4dff15[_0x3ba3e1(0x432)]){_0x19cf97[_0x3ba3e1(0x3dd)][_0x4dff15[_0x3ba3e1(0x432)]]=_0x19cf97['id'];continue;}let _0x1b4586=(_0x212d99=_0x19896b[_0x3ba3e1(0x1a0)])==null||(_0x212d99=_0x212d99[_0x2557a3])==null?void 0x0:_0x212d99[_0x261382];(_0x1b4586!=null||Object['prototype'][_0x3ba3e1(0x345)][_0x3ba3e1(0x3b3)](_0x19cf97[_0x3ba3e1(0x3dd)]??{},_0x56ff05))&&(_0x19cf97[_0x3ba3e1(0x3dd)]={..._0x19cf97[_0x3ba3e1(0x3dd)]??{}},_0x19cf97[_0x3ba3e1(0x3dd)][_0x56ff05]=_0x22ae4d(_0x1b4586,_0x19896b[_0x3ba3e1(0x375)][_0x56ff05],_0x19896b,_0x228a9e));}return _0x19896b;}function _0x130a46(_0x473206,_0x21cb91,_0xf94a5d){const _0x31cedd=_0x565318;var _0x2720ed,_0x5b8d25,_0x34ff87,_0x599914,_0x207320,_0x3058af;let _0x2d622b=(_0x2720ed=_0x473206[_0x31cedd(0x1d4)])==null?void 0x0:_0x2720ed[_0x21cb91],_0x29767b=(_0x5b8d25=_0x473206['colIndex'])==null?void 0x0:_0x5b8d25[_0xf94a5d];if(_0x2d622b!=null&&_0x29767b!=null&&((_0x34ff87=_0x473206['rowId'])==null?void 0x0:_0x34ff87[_0x2d622b])===_0x21cb91&&((_0x599914=_0x473206[_0x31cedd(0x454)])==null?void 0x0:_0x599914[_0x29767b])===_0xf94a5d)return{'row':_0x2d622b,'col':_0x29767b};let _0x57261a=_0x21979c(_0x473206),_0x4b3c17=(_0x207320=_0x57261a['rowIndex'])==null?void 0x0:_0x207320[_0x21cb91],_0x205ee3=(_0x3058af=_0x57261a[_0x31cedd(0x2e0)])==null?void 0x0:_0x3058af[_0xf94a5d];return _0x4b3c17==null||_0x205ee3==null?null:{'row':_0x4b3c17,'col':_0x205ee3};}function _0x3abe7c(_0x32a596,_0x3f609c,_0x20e0a9){const _0x5d1cdb=_0x565318;var _0x16fe63;let _0x58b967=_0x130a46(_0x32a596,_0x3f609c,_0x20e0a9);if(_0x58b967)return(_0x16fe63=_0x32a596[_0x5d1cdb(0x1a0)])==null||(_0x16fe63=_0x16fe63[_0x58b967['row']])==null?void 0x0:_0x16fe63[_0x58b967[_0x5d1cdb(0x395)]];}function _0x99141b(_0x4bb879,_0x4bd231,_0x197490){const _0x4b3d24=_0x565318;var _0x263044;let _0x59c7c7=_0x3abe7c(_0x4bb879,_0x4bd231,_0x197490),_0x5a1d3c=_0x4bb879['fields'][_0x197490];if((_0x5a1d3c==null?void 0x0:_0x5a1d3c[_0x4b3d24(0x1dd)])===_0x4dff15[_0x4b3d24(0x352)]['Attachment']){var _0xd53658;return _0x1b9f73(_0x4bb879,_0x4bd231,_0x197490)??_0x25078f((_0xd53658=_0x4bb879[_0x4b3d24(0x17e)][_0x4bd231])==null||(_0xd53658=_0xd53658[_0x4b3d24(0x3dd)])==null?void 0x0:_0xd53658[_0x197490]);}if(_0x2cac0e(_0x5a1d3c)||_0x495678(_0x5a1d3c)||(_0x5a1d3c==null?void 0x0:_0x5a1d3c[_0x4b3d24(0x1dd)])===_0x4dff15[_0x4b3d24(0x352)][_0x4b3d24(0x33f)]){var _0x36a99e;let _0x5b3d67=(_0x36a99e=_0x4bb879[_0x4b3d24(0x17e)][_0x4bd231])==null||(_0x36a99e=_0x36a99e[_0x4b3d24(0x3dd)])==null?void 0x0:_0x36a99e[_0x197490];return _0x5b3d67!=null&&_0x5b3d67!==''?_0x392e16(_0x5b3d67,_0x5a1d3c):_0x22ae4d(_0x59c7c7,_0x5a1d3c,_0x4bb879,_0x4bd231);}return _0x59c7c7&&Object['prototype'][_0x4b3d24(0x345)][_0x4b3d24(0x3b3)](_0x59c7c7,'v')?_0x59c7c7['v']??null:((_0x263044=_0x4bb879[_0x4b3d24(0x17e)][_0x4bd231])==null||(_0x263044=_0x263044[_0x4b3d24(0x3dd)])==null?void 0x0:_0x263044[_0x197490])??null;}function _0x55810c(_0x12fddd,_0x246673,_0x1c8429){const _0x1df4f4=_0x565318;var _0x443ee9;let _0x116428=_0x3abe7c(_0x12fddd,_0x246673,_0x1c8429);if(_0x116428&&Object[_0x1df4f4(0x3f7)][_0x1df4f4(0x345)]['call'](_0x116428,'v'))return _0x116428['v']??null;let _0x45ca93=_0x12fddd['fields'][_0x1c8429];return _0x108721(((_0x443ee9=_0x12fddd[_0x1df4f4(0x17e)][_0x246673])==null||(_0x443ee9=_0x443ee9[_0x1df4f4(0x3dd)])==null?void 0x0:_0x443ee9[_0x1c8429])??null,_0x45ca93)['v']??null;}function _0x108721(_0x2474ad,_0x2ae0c5){const _0x21d3d7=_0x565318;if(_0x2c6e12(_0x2474ad))return(_0x2ae0c5==null?void 0x0:_0x2ae0c5[_0x21d3d7(0x1dd)])===_0x4dff15[_0x21d3d7(0x352)][_0x21d3d7(0x136)]?{..._0x2474ad,'v':'','t':_0x4dff15['CellValueType']['STRING']}:_0x4a1eb7(_0x2474ad);if((_0x2ae0c5==null?void 0x0:_0x2ae0c5['type'])===_0x4dff15['BaseFieldType'][_0x21d3d7(0x136)])return{'v':'','t':_0x4dff15[_0x21d3d7(0x1e3)]['STRING']};if(_0x495678(_0x2ae0c5)){let _0x35a09f=_0x3ce91e(_0x2474ad);return{'v':_0x35a09f,'t':_0x4aa123(_0x35a09f)};}if(_0x2cac0e(_0x2ae0c5))return{'v':_0x21a41a(_0x2474ad)[_0x21d3d7(0x1b5)](',\x20'),'t':_0x4dff15[_0x21d3d7(0x1e3)][_0x21d3d7(0x496)]};if((_0x2ae0c5==null?void 0x0:_0x2ae0c5[_0x21d3d7(0x1dd)])===_0x4dff15['BaseFieldType']['Link']&&_0x2474ad&&typeof _0x2474ad==_0x21d3d7(0x35c)&&!Array[_0x21d3d7(0x1eb)](_0x2474ad)){let _0x9081bb=_0x2474ad;return{'v':String(_0x9081bb[_0x21d3d7(0x467)]??_0x9081bb[_0x21d3d7(0x28b)]??''),'t':_0x4dff15[_0x21d3d7(0x1e3)][_0x21d3d7(0x496)]};}return _0x2474ad===null||typeof _0x2474ad==_0x21d3d7(0x17d)||typeof _0x2474ad=='number'||typeof _0x2474ad==_0x21d3d7(0x41b)?{'v':_0x2474ad,'t':_0x4aa123(_0x2474ad)}:{'v':null,'t':null};}function _0x4a1eb7(_0x33ed65){let _0x385e1e=_0x5bd926(_0x33ed65['t'],_0x33ed65['v']);if(_0x385e1e===void 0x0){let {t:_0x212598,..._0x417dc6}=_0x33ed65;return _0x417dc6;}return{..._0x33ed65,'t':_0x385e1e};}function _0x22ae4d(_0x186321,_0x9b760,_0x1224db,_0x50296d){const _0x4adb29=_0x565318;if(!_0x186321)return null;if((_0x9b760==null?void 0x0:_0x9b760[_0x4adb29(0x1dd)])===_0x4dff15[_0x4adb29(0x352)]['Attachment'])return _0x1224db&&_0x50296d?_0x1b9f73(_0x1224db,_0x50296d,_0x9b760['id'])??[]:[];if(_0x2cac0e(_0x9b760))return _0x21a41a(_0x186321['v']);if((_0x9b760==null?void 0x0:_0x9b760[_0x4adb29(0x1dd)])===_0x4dff15['BaseFieldType'][_0x4adb29(0x33f)]&&_0x1224db&&_0x50296d){var _0x2df145;let _0x29c9d8=(_0x2df145=_0x1224db['records'][_0x50296d])==null||(_0x2df145=_0x2df145['values'])==null?void 0x0:_0x2df145[_0x9b760['id']];if(_0x29c9d8&&typeof _0x29c9d8==_0x4adb29(0x35c)&&!Array[_0x4adb29(0x1eb)](_0x29c9d8))return _0x29c9d8;}return Object[_0x4adb29(0x3f7)][_0x4adb29(0x345)][_0x4adb29(0x3b3)](_0x186321,'v')?_0x186321['v']??null:null;}function _0xad219(_0x39a43e,_0x3c97b7,_0x3d5c0c,_0x33fcb2,_0x420eec){const _0x275e62=_0x565318;return(_0x3d5c0c==null?void 0x0:_0x3d5c0c[_0x275e62(0x1dd)])===_0x4dff15[_0x275e62(0x352)][_0x275e62(0x136)]?_0x25078f(_0x39a43e):_0x495678(_0x3d5c0c)?_0x3ce91e(_0x39a43e):_0x2cac0e(_0x3d5c0c)?_0x21a41a(_0x39a43e):(_0x3d5c0c==null?void 0x0:_0x3d5c0c[_0x275e62(0x1dd)])===_0x4dff15['BaseFieldType'][_0x275e62(0x33f)]&&(_0x39a43e==null||_0x39a43e==='')?null:(_0x3d5c0c==null?void 0x0:_0x3d5c0c[_0x275e62(0x1dd)])===_0x4dff15[_0x275e62(0x352)][_0x275e62(0x33f)]&&_0x39a43e&&typeof _0x39a43e==_0x275e62(0x35c)&&!Array['isArray'](_0x39a43e)&&!_0x2c6e12(_0x39a43e)?_0x39a43e:_0x22ae4d(_0x3c97b7,_0x3d5c0c,_0x33fcb2,_0x420eec);}function _0x2c6e12(_0x4a02bc){const _0x769f8b=_0x565318;return!!_0x4a02bc&&typeof _0x4a02bc=='object'&&(Object[_0x769f8b(0x3f7)][_0x769f8b(0x345)]['call'](_0x4a02bc,'v')||Object[_0x769f8b(0x3f7)][_0x769f8b(0x345)]['call'](_0x4a02bc,'t')||Object[_0x769f8b(0x3f7)][_0x769f8b(0x345)]['call'](_0x4a02bc,'p')||Object[_0x769f8b(0x3f7)][_0x769f8b(0x345)]['call'](_0x4a02bc,'f')||Object[_0x769f8b(0x3f7)][_0x769f8b(0x345)]['call'](_0x4a02bc,'si'));}function _0x247dbe(_0x206e32,_0x5eb8ff){return _0x206e32+'\x1f'+_0x5eb8ff;}function _0x2c7b5b(_0xbea335,_0x25d26e,_0x2bb9a8,_0x437bc2){const _0x31a237=_0x565318;let _0x227273=_0x25078f(_0x437bc2);_0xbea335[_0x31a237(0x299)]={..._0xbea335['resources']??{}},_0xbea335[_0x31a237(0x299)][_0x31a237(0x235)]={..._0xbea335[_0x31a237(0x299)][_0x31a237(0x235)]??{}},_0xbea335['resources'][_0x31a237(0x193)]={..._0xbea335[_0x31a237(0x299)]['attachments']??{}};let _0x39b60b=_0x247dbe(_0x2bb9a8,_0x25d26e),_0x47f167=[];for(let _0x1d8520=0x0;_0x1d8520<_0x227273['length'];_0x1d8520++){if(!(_0x1d8520 in _0x227273))continue;let _0x4d46bc=_0x227273[_0x1d8520],_0x1f10b9=String(_0x4d46bc['id']??_0x39b60b+'\x1f'+_0x1d8520),_0x161036={..._0x4d46bc,'id':_0x1f10b9};_0xbea335[_0x31a237(0x299)]['attachments'][_0x1f10b9]=_0x161036,_0x47f167[_0x31a237(0xfb)](_0x1f10b9);}_0xbea335[_0x31a237(0x299)][_0x31a237(0x235)][_0x39b60b]=_0x47f167;}function _0x1b9f73(_0x486d0f,_0x182b76,_0x28d7d8){const _0x9d5bd8=_0x565318;var _0x551ce2;let _0x756bf5=_0x247dbe(_0x28d7d8,_0x182b76),_0x1818ad=(_0x551ce2=_0x486d0f[_0x9d5bd8(0x299)])==null||(_0x551ce2=_0x551ce2[_0x9d5bd8(0x235)])==null?void 0x0:_0x551ce2[_0x756bf5];if(!_0x1818ad)return null;let _0x345142=[];for(let _0x4592ff=0x0;_0x4592ff<_0x1818ad['length'];_0x4592ff++){var _0x59ba73;if(!(_0x4592ff in _0x1818ad))continue;let _0x513ca5=(_0x59ba73=_0x486d0f[_0x9d5bd8(0x299)])==null||(_0x59ba73=_0x59ba73[_0x9d5bd8(0x193)])==null?void 0x0:_0x59ba73[_0x1818ad[_0x4592ff]];_0x513ca5&&_0x345142['push']({..._0x513ca5});}return _0x345142;}function _0x25078f(_0x49ff3a){const _0x28fb52=_0x565318;if(_0x49ff3a==null||_0x49ff3a===''||_0x2c6e12(_0x49ff3a)&&!('id'in _0x49ff3a)&&!(_0x28fb52(0x177)in _0x49ff3a))return[];let _0x1bc71e=Array[_0x28fb52(0x1eb)](_0x49ff3a)?_0x49ff3a:[_0x49ff3a],_0x406979=[];for(let _0x4a2d33=0x0;_0x4a2d33<_0x1bc71e[_0x28fb52(0xac)];_0x4a2d33++){if(!(_0x4a2d33 in _0x1bc71e))continue;let _0x3c0d6c=_0x1bc71e[_0x4a2d33],_0x12d4c4=_0x3c0d6c&&typeof _0x3c0d6c==_0x28fb52(0x35c)?{..._0x3c0d6c}:{'id':_0x28fb52(0x44f)+_0x4a2d33,'name':String(_0x3c0d6c)};Object[_0x28fb52(0x446)](_0x12d4c4)['length']>0x0&&_0x406979[_0x28fb52(0xfb)](_0x12d4c4);}return _0x406979;}function _0x392e16(_0xcdc5bc,_0x2b9a35){const _0x9ae7e0=_0x565318;return(_0x2b9a35==null?void 0x0:_0x2b9a35[_0x9ae7e0(0x1dd)])===_0x4dff15[_0x9ae7e0(0x352)][_0x9ae7e0(0x136)]?_0x25078f(_0xcdc5bc):_0x495678(_0x2b9a35)?_0x3ce91e(_0xcdc5bc):_0x2cac0e(_0x2b9a35)?_0x21a41a(_0xcdc5bc):_0xcdc5bc;}function _0x46d854(_0x466870,_0xd37c28,_0x13ae52){const _0x38238f=_0x565318;return(_0xd37c28==null?void 0x0:_0xd37c28[_0x38238f(0x1dd)])===_0x4dff15['BaseFieldType'][_0x38238f(0x136)]?_0x466870['v']!=='':_0x495678(_0xd37c28)?_0x466870['v']!==_0x3ce91e(_0x13ae52):_0x2cac0e(_0xd37c28)?Array['isArray'](_0x13ae52)&&(_0x466870['v']==null||_0x466870['v']===''):!0x1;}function _0x2cac0e(_0x1ebba7){const _0x54b20a=_0x565318;return(_0x1ebba7==null?void 0x0:_0x1ebba7[_0x54b20a(0x1dd)])===_0x4dff15[_0x54b20a(0x352)][_0x54b20a(0x23e)]||(_0x1ebba7==null?void 0x0:_0x1ebba7[_0x54b20a(0x1dd)])===_0x4dff15[_0x54b20a(0x352)]['Group']||(_0x1ebba7==null?void 0x0:_0x1ebba7['type'])===_0x4dff15[_0x54b20a(0x352)]['Person']&&_0x1ebba7[_0x54b20a(0x2c6)]['allowMultiple']===!0x0;}function _0x495678(_0x2bfc4a){const _0x144446=_0x565318;return(_0x2bfc4a==null?void 0x0:_0x2bfc4a['type'])===_0x4dff15[_0x144446(0x352)][_0x144446(0x1a1)]&&_0x2bfc4a[_0x144446(0x2c6)][_0x144446(0x19a)]!==!0x0;}function _0x3ce91e(_0x3f2089){let _0x501101=_0x2c6e12(_0x3f2089)?_0x3f2089['v']:_0x3f2089,_0x4dd6d3=Array['isArray'](_0x501101)?_0x501101[0x0]:_0x501101;return _0x4dd6d3==null||_0x4dd6d3===''?null:String(_0x4dd6d3);}function _0x21a41a(_0x53a885){const _0x5cc691=_0x565318;if(_0x53a885==null||_0x53a885==='')return[];let _0x195fce=[];if(Array[_0x5cc691(0x1eb)](_0x53a885)){for(let _0x430547=0x0;_0x430547<_0x53a885[_0x5cc691(0xac)];_0x430547++){if(!(_0x430547 in _0x53a885))continue;let _0x4c07f2=_0x14b23(_0x53a885[_0x430547]);_0x4c07f2&&_0x195fce[_0x5cc691(0xfb)](_0x4c07f2);}return _0x195fce;}for(let _0x53be44 of String(_0x53a885)[_0x5cc691(0x1da)](',')){let _0x5d5368=_0x53be44[_0x5cc691(0x3b1)]();_0x5d5368&&_0x195fce['push'](_0x5d5368);}return _0x195fce;}function _0x14b23(_0x2ecb29){const _0x15bb55=_0x565318;if(_0x2ecb29==null)return'';if(typeof _0x2ecb29==_0x15bb55(0x17d)||typeof _0x2ecb29==_0x15bb55(0x4cd)||typeof _0x2ecb29==_0x15bb55(0x41b))return String(_0x2ecb29);if(typeof _0x2ecb29==_0x15bb55(0x35c)){let _0xd7370f=_0x2ecb29;return String(_0xd7370f['id']??_0xd7370f[_0x15bb55(0x177)]??_0xd7370f[_0x15bb55(0x467)]??'');}return String(_0x2ecb29);}function _0x4aa123(_0x29a3d8){const _0x22c10f=_0x565318;return _0x29a3d8==null?null:typeof _0x29a3d8==_0x22c10f(0x4cd)?_0x4dff15['CellValueType']['NUMBER']:typeof _0x29a3d8==_0x22c10f(0x41b)?_0x4dff15[_0x22c10f(0x1e3)]['BOOLEAN']:_0x4dff15[_0x22c10f(0x1e3)][_0x22c10f(0x496)];}function _0x2eef83(_0x2b90c3){const _0x3ee797=_0x565318;_0x2b90c3[_0x3ee797(0x27f)]((_0x382b96,_0x44bfc0)=>_0x382b96['orderKey'][_0x3ee797(0xcb)](_0x44bfc0['orderKey']));let _0x1a0c18=[];for(let _0x13f3db of _0x2b90c3)_0x1a0c18[_0x3ee797(0xfb)](_0x13f3db['id']);return _0x1a0c18;}function _0x5bd926(_0x5c4411,_0x2aa1e3){const _0x4e4626=_0x565318;return _0x5c4411===_0x4dff15[_0x4e4626(0x1e3)]['STRING']||_0x5c4411===_0x4dff15[_0x4e4626(0x1e3)]['NUMBER']||_0x5c4411===_0x4dff15[_0x4e4626(0x1e3)][_0x4e4626(0x41f)]||_0x5c4411===_0x4dff15[_0x4e4626(0x1e3)][_0x4e4626(0x42a)]||_0x5c4411==null?_0x5c4411:_0x4aa123(_0x2aa1e3??null);}function _0xbcd9ca(_0xa31e84){const _0x4b0abc=_0x565318;let _0x1325e8=null;for(let _0x2af71f of _0xa31e84)_0x1325e8=_0x1325e8===null?_0x2af71f:_0x4dff15['JSON1'][_0x4b0abc(0x1dd)]['compose'](_0x1325e8,_0x2af71f);return _0x1325e8;}var _0x4ddc63=class _0x26ff4b{static[_0x565318(0x29e)](_0x570260,_0x4dd5ac){const _0x23cfd7=_0x565318;let _0x5a05ab=[];for(let _0x28cc8 of _0x4dd5ac){let _0x16575c=_0x370345(_0x28cc8);if(!_0x16575c||_0x16575c[_0x23cfd7(0x1ca)]!==_0x570260['id'])return null;_0x5a05ab[_0x23cfd7(0xfb)](_0x16575c['op']);}try{let _0x465c04=_0xbcd9ca(_0x5a05ab);return _0x465c04===null?_0x570260:new _0x26ff4b()[_0x23cfd7(0x22f)](_0x570260,_0x465c04);}catch{return null;}}[_0x565318(0x22f)](_0x584cf7,_0x5eec73){const _0x53d0ef=_0x565318;let _0x34d498=this['getAffectedRanges'](_0x5eec73),_0x22f68a=_0x24faa7(_0x53d0ef(0x176),()=>_0x2d3821(_0x584cf7,_0x5eec73),{'invalidations':_0x34d498[_0x53d0ef(0xac)]}),_0x1c684e=_0x24faa7(_0x53d0ef(0x422),()=>_0x4dff15[_0x53d0ef(0x444)][_0x53d0ef(0x1dd)]['apply'](_0x22f68a,_0x5eec73),{'invalidations':_0x34d498[_0x53d0ef(0xac)]}),_0x1f9bfc=_0xdf6187(_0x1c684e,_0x34d498);return _0x24faa7(_0x53d0ef(0x3f3),()=>_0x4514f9(_0x1c684e,_0x34d498),{'invalidations':_0x34d498[_0x53d0ef(0xac)]})?(_0x99eb44(_0x1c684e,_0x1f9bfc),_0x1c684e):(_0x24faa7(_0x53d0ef(0x434),()=>{const _0x1765b4=_0x53d0ef;this['_getTablesToNormalize'](_0x1c684e,_0x34d498)[_0x1765b4(0x207)](_0x2e39e8=>{const _0x5823ce=_0x1765b4;let _0x828bbd=_0x34d498['filter'](_0x35c4a0=>_0x35c4a0[_0x5823ce(0x222)]===_0x2e39e8['id']),_0x1b0062=_0x828bbd[_0x5823ce(0xac)]>0x0&&_0x828bbd[_0x5823ce(0x1fd)](_0x609a0e=>_0x609a0e[_0x5823ce(0x22d)]===_0x5823ce(0x17a)||_0x609a0e[_0x5823ce(0x22d)]===_0x5823ce(0x22c)||_0x609a0e[_0x5823ce(0x22d)]===_0x5823ce(0x381)||_0x609a0e[_0x5823ce(0x22d)]===_0x5823ce(0x491))?new Set(_0x828bbd[_0x5823ce(0x3d1)](_0xeaf822=>{const _0x495295=_0x5823ce;var _0x46e935;if(_0xeaf822[_0x495295(0x22d)]!==_0x495295(0x17a)||!_0xeaf822[_0x495295(0x351)])return[];let _0xabba81=(_0x46e935=_0x584cf7['tables'][_0x2e39e8['id']])==null?void 0x0:_0x46e935[_0x495295(0x375)][_0xeaf822['fieldId']],_0xfc5428=_0x2e39e8['fields'][_0xeaf822[_0x495295(0x351)]];return(_0xabba81==null?void 0x0:_0xabba81[_0x495295(0x1dd)])!==(_0xfc5428==null?void 0x0:_0xfc5428[_0x495295(0x1dd)])||(_0xabba81==null?void 0x0:_0xabba81[_0x495295(0x2c6)][_0x495295(0x19a)])!==(_0xfc5428==null?void 0x0:_0xfc5428[_0x495295(0x2c6)][_0x495295(0x19a)])?[_0xeaf822[_0x495295(0x351)]]:[];})):void 0x0,_0x5752d8=new Set(_0x828bbd[_0x5823ce(0x3d1)](_0xb554b=>{const _0x4acf0e=_0x5823ce;var _0x3b1239,_0x12253a;return _0xb554b['reason']!==_0x4acf0e(0x381)||_0xb554b['row']==null||_0xb554b['column']==null?[]:[JSON[_0x4acf0e(0x2ea)]([(_0x3b1239=_0x2e39e8[_0x4acf0e(0x460)])==null?void 0x0:_0x3b1239[_0xb554b[_0x4acf0e(0xa9)]],(_0x12253a=_0x2e39e8[_0x4acf0e(0x454)])==null?void 0x0:_0x12253a[_0xb554b['column']]])];}));_0x56c2ee(_0x2e39e8,_0x1b0062?(_0x34b6fd,_0x81814)=>_0x1b0062[_0x5823ce(0x336)](_0x81814)||_0x5752d8[_0x5823ce(0x336)](JSON[_0x5823ce(0x2ea)]([_0x34b6fd,_0x81814])):void 0x0);});},{'invalidations':_0x34d498[_0x53d0ef(0xac)]}),_0x99eb44(_0x1c684e,_0x1f9bfc),_0x1c684e);}['invertOp'](_0x8a2773,_0x2025f6){const _0x2db49d=_0x565318;return _0x4dff15[_0x2db49d(0x444)][_0x2db49d(0x1dd)]['invertWithDoc'](_0x2025f6,_0x8a2773);}[_0x565318(0xe8)](_0x28567d){const _0x3c89e7=_0x565318;let _0x454301=_0x695cda(_0x28567d);return _0x454301['length']?_0x567bb3(_0x454301['flatMap'](_0x1bf9b1=>this[_0x3c89e7(0xe8)](_0x1bf9b1))):_0x33f873(_0x28567d);}['_getTablesToNormalize'](_0x5f477a,_0x1de774){const _0x347b18=_0x565318;let _0x5ead85=_0x1de774['filter'](_0x1d7b16=>_0x1d7b16['reason']!=='view');return _0x5ead85[_0x347b18(0xac)]?_0x5ead85[_0x347b18(0x1a5)](_0x1f2527=>!_0x1f2527[_0x347b18(0x222)])?Object[_0x347b18(0x3dd)](_0x5f477a[_0x347b18(0x257)]??{}):Array[_0x347b18(0x397)](new Set(_0x5ead85[_0x347b18(0x2e7)](_0x3fdddd=>_0x3fdddd[_0x347b18(0x222)])))[_0x347b18(0x3d1)](_0x1e43c6=>{var _0x34c62b;let _0x2a0946=(_0x34c62b=_0x5f477a['tables'])==null?void 0x0:_0x34c62b[_0x1e43c6];return _0x2a0946?[_0x2a0946]:[];}):[];}};function _0x370345(_0xdde105){const _0x21673f=_0x565318;let _0x3910b2=_0xdde105[_0x21673f(0x3c5)];return _0xdde105['id']!==_0x21673f(0x350)||typeof _0x3910b2!=_0x21673f(0x35c)||!_0x3910b2||!(_0x21673f(0x1ca)in _0x3910b2)||typeof _0x3910b2['unitId']!='string'||!('op'in _0x3910b2)||!Array[_0x21673f(0x1eb)](_0x3910b2['op'])?null:{'unitId':_0x3910b2['unitId'],'op':_0x3910b2['op']};}function _0x4514f9(_0xd78778,_0x205318){const _0x2caf07=_0x565318;if(!_0x205318[_0x2caf07(0xac)]||_0x205318[_0x2caf07(0x1a5)](_0x214c91=>_0x214c91[_0x2caf07(0x22d)]!==_0x2caf07(0x381)))return!0x1;let _0x352089=new Map();for(let _0x4ad5e9 of _0x205318){if(!_0x4ad5e9[_0x2caf07(0x222)]||_0x4ad5e9['row']==null||_0x4ad5e9['column']==null)continue;let _0x36d4df=_0x352089['get'](_0x4ad5e9['tableId'])??[];_0x36d4df[_0x2caf07(0xfb)]({'row':_0x4ad5e9['row'],'col':_0x4ad5e9[_0x2caf07(0x34d)]}),_0x352089['set'](_0x4ad5e9[_0x2caf07(0x222)],_0x36d4df);}return _0x352089['forEach']((_0x5e3d9a,_0x4dfb2)=>{const _0x189d12=_0x2caf07;var _0x13e5f9;let _0x16f3e3=(_0x13e5f9=_0xd78778[_0x189d12(0x257)])==null?void 0x0:_0x13e5f9[_0x4dfb2];_0x16f3e3&&_0x1497cd(_0x16f3e3,_0x5e3d9a);}),!0x0;}function _0xdf6187(_0x33762,_0x4b5187){const _0x1ae89d=_0x565318;let _0x5007e3=new Set();return _0x4b5187[_0x1ae89d(0x3d1)](_0x576a5a=>{const _0xbab4f=_0x1ae89d;var _0x60a81c;if(!_0x576a5a['tableId']||!_0x576a5a[_0xbab4f(0x3e1)]||!_0x576a5a[_0xbab4f(0x351)])return[];let _0x58b6b6=_0x576a5a['tableId']+'\x1f'+_0x576a5a[_0xbab4f(0x3e1)]+'\x1f'+_0x576a5a[_0xbab4f(0x351)];if(_0x5007e3['has'](_0x58b6b6))return[];_0x5007e3[_0xbab4f(0x488)](_0x58b6b6);let _0x44afb2=(_0x60a81c=_0x33762['tables'][_0x576a5a[_0xbab4f(0x222)]])==null||(_0x60a81c=_0x60a81c[_0xbab4f(0x17e)][_0x576a5a[_0xbab4f(0x3e1)]])==null?void 0x0:_0x60a81c[_0xbab4f(0x3dd)];return _0x44afb2?[{'tableId':_0x576a5a[_0xbab4f(0x222)],'recordId':_0x576a5a[_0xbab4f(0x3e1)],'fieldId':_0x576a5a['fieldId'],'exists':Object[_0xbab4f(0x3f7)][_0xbab4f(0x345)][_0xbab4f(0x3b3)](_0x44afb2,_0x576a5a['fieldId']),'value':_0x44afb2[_0x576a5a['fieldId']]}]:[];});}function _0x99eb44(_0x190e1b,_0xbbaae3){const _0x535994=_0x565318;_0xbbaae3[_0x535994(0x207)](_0x84f3bb=>{const _0x559fdb=_0x535994;var _0x257fe5;let _0x26286f=(_0x257fe5=_0x190e1b['tables'][_0x84f3bb[_0x559fdb(0x222)]])==null||(_0x257fe5=_0x257fe5['records'][_0x84f3bb[_0x559fdb(0x3e1)]])==null?void 0x0:_0x257fe5['values'];_0x26286f&&(_0x84f3bb[_0x559fdb(0xc9)]?_0x26286f[_0x84f3bb[_0x559fdb(0x351)]]=_0x84f3bb[_0x559fdb(0x3a9)]:delete _0x26286f[_0x84f3bb[_0x559fdb(0x351)]]);});}function _0x33f873(_0x3e1272){const _0x336861=_0x565318;if(!Array[_0x336861(0x1eb)](_0x3e1272)||_0x3e1272[_0x336861(0xac)]<0x2)return[{'tableId':'','reason':_0x336861(0x3c2)}];let _0x437e1a=_0x3e1272,_0x5878e4=_0x437e1a[_0x336861(0x321)](_0x336861(0x257));return _0x5878e4===-0x1||typeof _0x437e1a[_0x5878e4+0x1]!=_0x336861(0x17d)?_0x437e1a[0x0]===_0x336861(0x1a4)?[]:[{'tableId':'','reason':_0x336861(0x3c2)}]:_0x212fc9(_0x437e1a,_0x5878e4,String(_0x437e1a[_0x5878e4+0x1]));}function _0x212fc9(_0x3d7ec0,_0x5658d4,_0x1c0ddf){const _0x113654=_0x565318;let _0x5a2766=_0x3d7ec0[_0x5658d4+0x2];return _0x5a2766===_0x113654(0x17e)&&typeof _0x3d7ec0[_0x5658d4+0x3]==_0x113654(0x17d)?_0x3737da(_0x3d7ec0,_0x5658d4,_0x1c0ddf,String(_0x3d7ec0[_0x5658d4+0x3])):_0x5a2766===_0x113654(0x1a0)&&_0x3d7ec0[_0x5658d4+0x3]!=null&&_0x3d7ec0[_0x5658d4+0x4]!=null?[{'tableId':_0x1c0ddf,'reason':_0x113654(0x381),'row':Number(_0x3d7ec0[_0x5658d4+0x3]),'column':Number(_0x3d7ec0[_0x5658d4+0x4])}]:_0x5a2766===_0x113654(0x375)&&typeof _0x3d7ec0[_0x5658d4+0x3]=='string'?[{'tableId':_0x1c0ddf,'reason':_0x113654(0x17a),'fieldId':String(_0x3d7ec0[_0x5658d4+0x3])}]:_0x5a2766===_0x113654(0x2c3)?[{'tableId':_0x1c0ddf,'reason':'field'}]:_0x5a2766===_0x113654(0x135)?[{'tableId':_0x1c0ddf,'reason':'record'}]:_0x5a2766===_0x113654(0x353)&&typeof _0x3d7ec0[_0x5658d4+0x3]==_0x113654(0x17d)?[{'tableId':_0x1c0ddf,'reason':'view','viewId':String(_0x3d7ec0[_0x5658d4+0x3])}]:_0x5a2766===_0x113654(0x45e)?[{'tableId':_0x1c0ddf,'reason':_0x113654(0x22c)}]:_0x5a2766==='resources'?[{'tableId':_0x1c0ddf,'reason':'cell'}]:[{'tableId':_0x1c0ddf,'reason':_0x5a2766===void 0x0?'table':'unknown'}];}function _0x3737da(_0x539f70,_0x139409,_0xeef8bb,_0x1e4582){const _0x22f779=_0x565318;return _0x539f70[_0x139409+0x4]===_0x22f779(0x3dd)&&typeof _0x539f70[_0x139409+0x5]==_0x22f779(0x17d)?[{'tableId':_0xeef8bb,'reason':_0x22f779(0x381),'recordId':_0x1e4582,'fieldId':String(_0x539f70[_0x139409+0x5])}]:_0x539f70[_0x139409+0x4]===_0x22f779(0x1c7)||_0x539f70[_0x139409+0x4]==='updatedBy'?[]:[{'tableId':_0xeef8bb,'reason':'record','recordId':_0x1e4582}];}function _0x695cda(_0x4f2f4e){const _0x3c21a8=_0x565318;if(!Array[_0x3c21a8(0x1eb)](_0x4f2f4e))return[];let _0x41f740=_0x4f2f4e[_0x3c21a8(0x2ee)](Array[_0x3c21a8(0x1eb)]);if(_0x41f740[_0x3c21a8(0xac)]>0x1&&_0x41f740[_0x3c21a8(0xac)]===_0x4f2f4e['length'])return _0x41f740;let _0x1fcd8c=_0x4f2f4e[_0x3c21a8(0x479)](Array['isArray']);if(_0x1fcd8c>0x0&&_0x4f2f4e[_0x3c21a8(0x19e)](_0x1fcd8c)[_0x3c21a8(0x1fd)](Array[_0x3c21a8(0x1eb)])){let _0x1cc01c=_0x4f2f4e[_0x3c21a8(0x19e)](0x0,_0x1fcd8c);return _0x4f2f4e[_0x3c21a8(0x19e)](_0x1fcd8c)[_0x3c21a8(0x2e7)](_0xa99c87=>[..._0x1cc01c,..._0xa99c87]);}let _0x4e9334=_0x4f2f4e[_0x3c21a8(0x321)](_0x3c21a8(0x257));if(_0x4e9334===-0x1||typeof _0x4f2f4e[_0x4e9334+0x1]!=_0x3c21a8(0x17d))return[];let _0x33606a=String(_0x4f2f4e[_0x4e9334+0x1]),_0x47f1af=_0x4f2f4e[_0x3c21a8(0x19e)](_0x4e9334+0x2)[_0x3c21a8(0x2ee)](Array[_0x3c21a8(0x1eb)]);return _0x47f1af[_0x3c21a8(0xac)]<=0x1?[]:_0x47f1af['map'](_0x506ad1=>[_0x3c21a8(0x257),_0x33606a,..._0x506ad1]);}function _0x567bb3(_0x429136){const _0x1f1df0=_0x565318;let _0x38ccd2=new Set();return _0x429136[_0x1f1df0(0x2ee)](_0x4bf02a=>{const _0x14ca31=_0x1f1df0;let _0xad2546=JSON[_0x14ca31(0x2ea)](_0x4bf02a);return!_0x38ccd2['has'](_0xad2546)&&(_0x38ccd2['add'](_0xad2546),!0x0);});}function _0x36dda0(_0x227222){const _0x9c24e2=_0x565318;return _0x4dff15[_0x9c24e2(0x20e)][_0x9c24e2(0x295)](_0x227222);}function _0x2d3821(_0x472576,_0x4812dd){const _0x28eb1f=_0x565318;let _0xdd9f7f=_0x204ad8(_0x4812dd);if(!_0xdd9f7f[_0x28eb1f(0xac)])return _0x36dda0(_0x472576);let _0x99f637=_0x1ac822(_0x472576),_0x2ed052=new Set();for(let _0xcd0e of _0xdd9f7f)_0xc79085(_0x99f637,_0xcd0e,_0x2ed052);return _0x99f637;}function _0x204ad8(_0x562e96){let _0xa81eed=[];return _0x122bba(_0x562e96,[],_0xa81eed),_0xa81eed;}function _0x122bba(_0x7891d3,_0x146669,_0x4f8775){const _0x240796=_0x565318;if(!Array[_0x240796(0x1eb)](_0x7891d3))return;let _0x372047=[];for(let _0x56bc65 of _0x7891d3){if(Array[_0x240796(0x1eb)](_0x56bc65)){_0x122bba(_0x56bc65,[..._0x146669,..._0x372047],_0x4f8775);continue;}if(_0x234ac8(_0x56bc65)){_0x4f8775['push']([..._0x146669,..._0x372047]);continue;}(typeof _0x56bc65==_0x240796(0x17d)||typeof _0x56bc65=='number')&&_0x372047['push'](_0x56bc65);}}function _0x234ac8(_0x43f732){if(!_0x43f732||typeof _0x43f732!='object'||Array['isArray'](_0x43f732))return!0x1;let _0xb7b187=_0x43f732;return'i'in _0xb7b187||'r'in _0xb7b187||'p'in _0xb7b187||'d'in _0xb7b187||'es'in _0xb7b187||'ena'in _0xb7b187||'et'in _0xb7b187;}function _0xc79085(_0xa2b4cd,_0x336462,_0x30789a){const _0x2d662a=_0x565318;let _0x2a3c8e=_0xa2b4cd,_0x4e0b89=[];for(let _0x5d0fb8=0x0;_0x5d0fb8<_0x336462[_0x2d662a(0xac)]-0x1;_0x5d0fb8++){let _0x58ec31=_0x336462[_0x5d0fb8];_0x4e0b89[_0x2d662a(0xfb)](_0x58ec31);let _0x3eb33a=_0x15ff11(_0x2a3c8e,_0x58ec31);if(!_0x2bf4c0(_0x3eb33a))return;let _0x1f54b1=JSON['stringify'](_0x4e0b89);_0x30789a['has'](_0x1f54b1)||(_0x23b1e7(_0x2a3c8e,_0x58ec31,_0x1ac822(_0x3eb33a)),_0x30789a[_0x2d662a(0x488)](_0x1f54b1));let _0x24890b=_0x15ff11(_0x2a3c8e,_0x58ec31);if(!_0x2bf4c0(_0x24890b))return;_0x2a3c8e=_0x24890b;}}function _0x15ff11(_0x3ac280,_0x419a38){const _0x8f6f75=_0x565318;return Array[_0x8f6f75(0x1eb)](_0x3ac280)?typeof _0x419a38==_0x8f6f75(0x4cd)?_0x3ac280[_0x419a38]:void 0x0:Reflect[_0x8f6f75(0x2fe)](_0x3ac280,_0x419a38);}function _0x23b1e7(_0x15ae24,_0x5ad622,_0x4468c3){const _0x22a985=_0x565318;if(Array['isArray'](_0x15ae24)){typeof _0x5ad622==_0x22a985(0x4cd)&&(_0x15ae24[_0x5ad622]=_0x4468c3);return;}Reflect['set'](_0x15ae24,_0x5ad622,_0x4468c3);}function _0x2bf4c0(_0x469654){return!!_0x469654&&typeof _0x469654=='object';}function _0x1ac822(_0x541b62){return Array['isArray'](_0x541b62)?_0x541b62['slice']():{..._0x541b62};}let _0x5aab5c=_0x565318(0x337),_0x148909=/\s+hh:mm\s*$/i,_0x21e1c2={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':_0x565318(0x204),'mm-dd':_0x565318(0xad),'mm/dd/yyyy':_0x565318(0xc0),'dd/mm/yyyy':_0x565318(0x2ed),'mmm\x20d,\x20yyyy':_0x565318(0x2b5)};function _0xdbd9dd(_0x22fa01,_0x355ce9=_0x4dff15['DateSystem']['Date1900']){const _0x4aaf00=_0x565318;let _0x47f389=(0x0,_0x4dff15[_0x4aaf00(0x39d)])(_0x22fa01)['valueOf']();return(0x0,_0x4dff15['excelDateTimeSerial'])(new Date(_0x47f389),_0x355ce9);}function _0x2158ce(_0xd7a9c6,_0x5e0e0e=_0x4dff15[_0x565318(0x31d)][_0x565318(0x2e1)]){const _0x2ebeda=_0x565318;return(0x0,_0x4dff15['excelSerialToDateTime'])(_0xd7a9c6,_0x5e0e0e)[_0x2ebeda(0x4ea)]();}function _0x5a0e5d(_0x576e1c,_0x135e9e=_0x4dff15[_0x565318(0x31d)][_0x565318(0x2e1)]){const _0x3a5177=_0x565318;if(_0x576e1c==null||_0x576e1c==='')return null;if(_0x576e1c instanceof Date)return _0xdbd9dd(_0x576e1c,_0x135e9e);if(typeof _0x576e1c==_0x3a5177(0x4cd))return Number['isFinite'](_0x576e1c)?_0x576e1c>0xf4240?_0xdbd9dd(_0x576e1c,_0x135e9e):_0x576e1c:null;let _0x26d0b6=Date[_0x3a5177(0x1bb)](String(_0x576e1c));return Number[_0x3a5177(0x10e)](_0x26d0b6)?null:_0xdbd9dd(_0x26d0b6,_0x135e9e);}function _0x159f2d(_0x4d0f48,_0x4c1094=_0x4dff15[_0x565318(0x31d)][_0x565318(0x2e1)]){let _0x533312=_0x5a0e5d(_0x4d0f48,_0x4c1094);return _0x533312==null?null:_0x2158ce(_0x533312,_0x4c1094);}function _0x1c2ef6(_0x10fb7a={}){const _0x270e0a=_0x565318;let _0x1c7a43=String(_0x10fb7a[_0x270e0a(0x3a5)]??_0x10fb7a[_0x270e0a(0x15d)]??_0x10fb7a[_0x270e0a(0xd4)]??_0x5aab5c)[_0x270e0a(0x3b1)]()||_0x5aab5c,_0x1cba67=_0x148909[_0x270e0a(0x2b8)](_0x1c7a43);return{'pattern':_0x1c7a43[_0x270e0a(0x362)](_0x148909,'')||_0x5aab5c,'includeTime':typeof _0x10fb7a[_0x270e0a(0x2db)]==_0x270e0a(0x41b)?_0x10fb7a[_0x270e0a(0x2db)]:_0x1cba67,'hourCycle':_0x10fb7a[_0x270e0a(0x355)]==='h12'?_0x270e0a(0xa7):_0x270e0a(0x129)};}function _0x370d34(_0x42dd49={}){let {format:_0x5d1d7d,dateFormat:_0x2dac17,..._0x22c6e3}=_0x42dd49;return{..._0x22c6e3,..._0x1c2ef6(_0x42dd49)};}function _0x534230(_0x453836,_0x5b9bde={}){const _0x53dd52=_0x565318;let _0xb88d8f=_0x159f2d(_0x453836);if(_0xb88d8f==null||!Number[_0x53dd52(0x217)](_0xb88d8f))return'';let _0x4a706c=_0x1c2ef6(_0x5b9bde);return(0x0,_0x4dff15[_0x53dd52(0x39d)])(_0xb88d8f)[_0x53dd52(0x15d)](_0x5e0c57(_0x4a706c));}function _0x5e0c57(_0x293d17){const _0xdea549=_0x565318;let {pattern:_0x397267,includeTime:_0x580e0b,hourCycle:_0x79872a}=_0x293d17,_0x452c2e=_0x21e1c2[_0x397267]??_0x21e1c2[_0x5aab5c];return _0x580e0b?_0x452c2e+'\x20'+(_0x79872a===_0xdea549(0xa7)?'h:mm\x20a':'HH:mm'):_0x452c2e;}let _0x3ee8e8={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x1bcfe1=new Set([_0x4dff15[_0x565318(0x352)][_0x565318(0x37b)]]),_0x1b5a32=0x5265c00;function _0x19643c(_0x2620df){const _0x368ae8=_0x565318;switch(_0x2620df){case _0x4dff15[_0x368ae8(0x352)][_0x368ae8(0x170)]:case _0x4dff15[_0x368ae8(0x352)]['Currency']:case _0x4dff15[_0x368ae8(0x352)][_0x368ae8(0x162)]:case _0x4dff15[_0x368ae8(0x352)][_0x368ae8(0x130)]:return[_0x4dff15[_0x368ae8(0x33a)]['IS'],_0x4dff15[_0x368ae8(0x33a)]['IS_NOT'],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x35b)],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x11a)],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x27e)],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x245)]];case _0x4dff15['BaseFieldType'][_0x368ae8(0x18d)]:case _0x4dff15[_0x368ae8(0x352)][_0x368ae8(0xef)]:case _0x4dff15['BaseFieldType']['UpdatedAt']:return[_0x4dff15[_0x368ae8(0x33a)]['IS'],_0x4dff15['BaseConditionalColorOperator']['IS_NOT'],_0x4dff15[_0x368ae8(0x33a)]['BEFORE'],_0x4dff15['BaseConditionalColorOperator'][_0x368ae8(0x16d)],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x27e)],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x245)]];case _0x4dff15[_0x368ae8(0x352)][_0x368ae8(0x334)]:return[_0x4dff15['BaseConditionalColorOperator']['IS'],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x28f)]];default:return[_0x4dff15['BaseConditionalColorOperator']['IS'],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x28f)],_0x4dff15['BaseConditionalColorOperator'][_0x368ae8(0x38b)],_0x4dff15['BaseConditionalColorOperator']['NOT_CONTAINS'],_0x4dff15[_0x368ae8(0x33a)]['IS_EMPTY'],_0x4dff15[_0x368ae8(0x33a)][_0x368ae8(0x245)]];}}function _0x234a07(_0x2a924d){const _0x17fab6=_0x565318;return _0x2a924d===_0x4dff15['BaseFieldType'][_0x17fab6(0x18d)]||_0x2a924d===_0x4dff15['BaseFieldType'][_0x17fab6(0xef)]||_0x2a924d===_0x4dff15[_0x17fab6(0x352)]['UpdatedAt'];}function _0x3a53f4(_0x10f3b5,_0x3793e0){const _0x8c2a98=_0x565318;return _0x10f3b5==null&&_0x3793e0==null?0x0:_0x10f3b5==null?-0x1:_0x3793e0==null?0x1:typeof _0x10f3b5==_0x8c2a98(0x4cd)&&typeof _0x3793e0=='number'?_0x10f3b5-_0x3793e0:String(_0x10f3b5)[_0x8c2a98(0xcb)](String(_0x3793e0));}function _0x501164(_0x24551d,_0x56a02c,_0x1399c4,_0x33b410,_0x1e074c={}){const _0x24524b=_0x565318;if(_0x56a02c===_0x24524b(0x219))return _0xacc900(_0x24551d);if(_0x56a02c===_0x24524b(0x32f))return!_0xacc900(_0x24551d);switch(_0x33b410[_0x24524b(0x1dd)]){case _0x4dff15['BaseFieldType'][_0x24524b(0x170)]:case _0x4dff15['BaseFieldType']['Currency']:case _0x4dff15[_0x24524b(0x352)][_0x24524b(0x162)]:case _0x4dff15[_0x24524b(0x352)][_0x24524b(0x130)]:return _0x200d28(_0x24551d,_0x56a02c,_0x1399c4);case _0x4dff15['BaseFieldType']['Date']:case _0x4dff15[_0x24524b(0x352)][_0x24524b(0xef)]:case _0x4dff15[_0x24524b(0x352)][_0x24524b(0x4d7)]:return _0x49cc30(_0x24551d,_0x56a02c,_0x1399c4,_0x1e074c);case _0x4dff15[_0x24524b(0x352)][_0x24524b(0x334)]:return _0x37173f(_0x24551d,_0x56a02c,_0x1399c4);case _0x4dff15['BaseFieldType'][_0x24524b(0x3e8)]:case _0x4dff15[_0x24524b(0x352)][_0x24524b(0x23e)]:case _0x4dff15[_0x24524b(0x352)]['Person']:case _0x4dff15[_0x24524b(0x352)]['Group']:return _0x5b144e(_0x24551d,_0x56a02c,_0x1399c4,_0x33b410);default:return _0x5a9252(_0x24551d,_0x56a02c,_0x1399c4);}}function _0xacc900(_0x152dea){const _0x1e5458=_0x565318;return _0x152dea==null?!0x0:Array[_0x1e5458(0x1eb)](_0x152dea)?_0x152dea[_0x1e5458(0xac)]===0x0:typeof _0x152dea==_0x1e5458(0x17d)&&_0x152dea[_0x1e5458(0x3b1)]()==='';}function _0x200d28(_0x3b9d8f,_0x4029df,_0xe8d051){const _0x89d95b=_0x565318;let _0x1692b2=_0x411a0c(_0x3b9d8f),_0x3ded90=_0x411a0c(_0xe8d051);if(_0x1692b2==null||_0x3ded90==null)return!0x1;switch(_0x4029df){case'is':return _0x1692b2===_0x3ded90;case _0x89d95b(0x182):return _0x1692b2!==_0x3ded90;case _0x89d95b(0x18f):return _0x1692b2>_0x3ded90;case'greaterThanOrEqual':return _0x1692b2>=_0x3ded90;case _0x89d95b(0x437):return _0x1692b2<_0x3ded90;case'lessThanOrEqual':return _0x1692b2<=_0x3ded90;default:return!0x1;}}function _0x411a0c(_0x33a98f){const _0x460144=_0x565318;if(_0x33a98f==null||_0x33a98f==='')return null;let _0x4a34d2=Number(_0x33a98f);return Number[_0x460144(0x217)](_0x4a34d2)?_0x4a34d2:null;}function _0x49cc30(_0x53b549,_0x532950,_0x3cf18c,_0x533b54){const _0x451132=_0x565318;let _0x175a03=_0x3aab69(_0x53b549);if(_0x175a03==null)return!0x1;let _0x4147d2=_0x23f6a8(_0x533b54[_0x451132(0x2aa)]??_0x451132(0x3b7),_0x3cf18c,_0x533b54[_0x451132(0x27a)]);if(!_0x4147d2)return!0x1;switch(_0x532950){case'is':return _0x175a03>=_0x4147d2['start']&&_0x175a03<=_0x4147d2['end'];case _0x451132(0x182):return _0x175a03<_0x4147d2['start']||_0x175a03>_0x4147d2[_0x451132(0x474)];case _0x451132(0x108):return _0x175a03<_0x4147d2['start'];case _0x451132(0x294):return _0x175a03>_0x4147d2['end'];default:return!0x1;}}function _0x23f6a8(_0x293b06,_0x302e67,_0x3eae0a=Date['now']()){const _0xe64351=_0x565318;let _0x6fef19=_0x538e16(_0x3eae0a);switch(_0x293b06){case _0xe64351(0x3b7):{let _0x4c22fa=_0x3aab69(_0x302e67);return _0x4c22fa==null?null:{'start':_0x4c22fa,'end':_0x4c22fa+_0x1b5a32-0x1};}case'today':return{'start':_0x6fef19,'end':_0x6fef19+_0x1b5a32-0x1};case _0xe64351(0x45b):return{'start':_0x6fef19+_0x1b5a32,'end':_0x6fef19+_0x1b5a32*0x2-0x1};case _0xe64351(0x2c8):return{'start':_0x6fef19-_0x1b5a32,'end':_0x6fef19-0x1};case _0xe64351(0x424):return _0x26e455(_0x6fef19,0x0);case _0xe64351(0x2be):return _0x26e455(_0x6fef19,-0x1);case _0xe64351(0x41e):return _0x18c9ba(_0x6fef19,0x0);case'lastMonth':return _0x18c9ba(_0x6fef19,-0x1);case _0xe64351(0x4d2):return{'start':_0x6fef19-_0x1b5a32*0x6,'end':_0x6fef19+_0x1b5a32-0x1};case _0xe64351(0x276):return{'start':_0x6fef19,'end':_0x6fef19+_0x1b5a32*0x7-0x1};case _0xe64351(0x1fb):return{'start':_0x6fef19-_0x1b5a32*0x1d,'end':_0x6fef19+_0x1b5a32-0x1};case _0xe64351(0x28a):return{'start':_0x6fef19,'end':_0x6fef19+_0x1b5a32*0x1e-0x1};}}function _0x3aab69(_0x17cccd){let _0x350fcd=_0x5a0e5d(_0x17cccd);return _0x350fcd==null?null:_0x538e16(_0x2158ce(_0x350fcd));}function _0x538e16(_0x4ec67d){const _0x594ddc=_0x565318;let _0x2aa648=new Date(_0x4ec67d);return _0x2aa648[_0x594ddc(0x198)](0x0,0x0,0x0,0x0),_0x2aa648[_0x594ddc(0x4ea)]();}function _0x26e455(_0x26d781,_0x5215d5){const _0x4c9dbf=_0x565318;let _0x551162=_0x26d781-(new Date(_0x26d781)[_0x4c9dbf(0x31b)]()+0x6)%0x7*_0x1b5a32+_0x5215d5*_0x1b5a32*0x7;return{'start':_0x551162,'end':_0x551162+_0x1b5a32*0x7-0x1};}function _0x18c9ba(_0x42202e,_0x5544c2){const _0x4955c6=_0x565318;let _0x48f5e9=new Date(_0x42202e),_0x1cbc46=new Date(_0x48f5e9[_0x4955c6(0x3ca)](),_0x48f5e9[_0x4955c6(0x1ab)]()+_0x5544c2,0x1),_0x809167=new Date(_0x48f5e9['getFullYear'](),_0x48f5e9['getMonth']()+_0x5544c2+0x1,0x1);return{'start':_0x1cbc46[_0x4955c6(0x4ea)](),'end':_0x809167[_0x4955c6(0x4ea)]()-0x1};}function _0x37173f(_0x3dd921,_0x34eb4b,_0x3d21a9){const _0x26d981=_0x565318;let _0x5b2efa=_0x2fbb8e(_0x3dd921),_0x416ddd=_0x2fbb8e(_0x3d21a9);switch(_0x34eb4b){case'is':return _0x5b2efa===_0x416ddd;case _0x26d981(0x182):return _0x5b2efa!==_0x416ddd;default:return!0x1;}}function _0x2fbb8e(_0x2ce745){const _0x2a57d8=_0x565318;return _0x2ce745===!0x0||_0x2ce745===_0x2a57d8(0x1e0)||_0x2ce745===0x1||_0x2ce745==='1';}function _0x5b144e(_0x15bd52,_0x5a6f4f,_0x8364a3,_0x5405cd){const _0xee4682=_0x565318;let _0x5ce8e8=_0xf5f8e3(_0x15bd52,_0x5405cd),_0x362bf7=_0xf5f8e3(_0x8364a3,_0x5405cd),_0x2f269c=_0x362bf7[_0xee4682(0xac)]>0x0&&_0x362bf7[_0xee4682(0x1a5)](_0x19fde7=>_0x5ce8e8['includes'](_0x19fde7));switch(_0x5a6f4f){case'is':case'contains':return _0x2f269c;case _0xee4682(0x182):case _0xee4682(0x1df):return!_0x2f269c;default:return!0x1;}}function _0x5a9252(_0x3d0dad,_0x39db67,_0xc99a0){const _0x2648c7=_0x565318;let _0x577a7b=_0x1e2bda(_0x3d0dad),_0x54fdfd=_0x1e2bda(_0xc99a0);switch(_0x39db67){case'is':return _0x577a7b===_0x54fdfd;case'isNot':return _0x577a7b!==_0x54fdfd;case _0x2648c7(0x218):return _0x54fdfd?_0x577a7b[_0x2648c7(0x3d2)](_0x54fdfd):!0x1;case _0x2648c7(0x1df):return!_0x54fdfd||!_0x577a7b['includes'](_0x54fdfd);default:return!0x1;}}function _0x1e2bda(_0x1f2eb9){const _0x1cfeaa=_0x565318;if(Array['isArray'](_0x1f2eb9))return _0x1f2eb9['map'](_0x3a4093=>_0x1e2bda(_0x3a4093))['join']('\x0a');if(_0x1f2eb9&&typeof _0x1f2eb9==_0x1cfeaa(0x35c)){let _0x19d2ff=_0x1f2eb9;return String(_0x19d2ff[_0x1cfeaa(0x177)]??_0x19d2ff[_0x1cfeaa(0x3f1)]??_0x19d2ff[_0x1cfeaa(0x467)]??_0x19d2ff[_0x1cfeaa(0x3a9)]??_0x19d2ff['id']??'')[_0x1cfeaa(0x3b1)]()[_0x1cfeaa(0x4ab)]();}return String(_0x1f2eb9??'')[_0x1cfeaa(0x3b1)]()[_0x1cfeaa(0x4ab)]();}function _0xf5f8e3(_0x33728c,_0xb3f075){const _0x2ab8e9=_0x565318;let _0xd67246=_0xb8a313(_0x33728c),_0x1acd9f=_0x26fa0d(_0xb3f075[_0x2ab8e9(0x2c6)]??{});return _0xd67246[_0x2ab8e9(0x3d1)](_0x1625d7=>_0x1acd9f[_0x2ab8e9(0x2fe)](_0x1625d7)??[_0x1625d7])[_0x2ab8e9(0x2ee)]((_0xc1cea6,_0x51d076,_0x5a95b0)=>_0xc1cea6!==''&&_0x5a95b0['indexOf'](_0xc1cea6)===_0x51d076);}function _0xb8a313(_0x5b779a){const _0x16b450=_0x565318;if(_0x5b779a==null||_0x5b779a==='')return[];if(Array['isArray'](_0x5b779a))return _0x5b779a[_0x16b450(0x3d1)](_0x34babd=>_0xb8a313(_0x34babd));if(_0x5b779a&&typeof _0x5b779a==_0x16b450(0x35c)){let _0x13c4ea=_0x5b779a;return['id',_0x16b450(0x177),_0x16b450(0x3f1),_0x16b450(0x3a9),'text'][_0x16b450(0x3d1)](_0x52a504=>_0xb8a313(_0x13c4ea[_0x52a504]))[_0x16b450(0x2ee)]((_0x1da071,_0x38cb29,_0x206f28)=>_0x206f28[_0x16b450(0x321)](_0x1da071)===_0x38cb29);}return[_0x1e2bda(_0x5b779a)];}function _0x26fa0d(_0x458186){const _0x51b96e=_0x565318;let _0x263090=new Map();return(Array[_0x51b96e(0x1eb)](_0x458186[_0x51b96e(0x482)])?_0x458186[_0x51b96e(0x482)]:[])[_0x51b96e(0x207)](_0x3453ca=>{const _0x44f4fc=_0x51b96e;if(!_0x3453ca||typeof _0x3453ca!=_0x44f4fc(0x35c))return;let _0x175e13=_0xb8a313(_0x3453ca),_0x1cb7e0=_0x175e13[_0x44f4fc(0x2ee)]((_0x119223,_0x55cae9)=>_0x119223!==''&&_0x175e13[_0x44f4fc(0x321)](_0x119223)===_0x55cae9);_0x1cb7e0[_0x44f4fc(0x207)](_0x9547ff=>_0x263090[_0x44f4fc(0xe4)](_0x9547ff,_0x1cb7e0));}),_0x263090;}function _0xca7cf6(_0x42af3e,_0x177504={},_0x35782c=_0x43b60c=>_0x43b60c,_0x21955b={}){const _0x117537=_0x565318;let _0x1fdd9e=!_0x1bcfe1[_0x117537(0x336)](_0x42af3e),_0x475f09=_0x35782c??(_0x5ea46e=>_0x5ea46e);return{'type':_0x42af3e,'i18nKey':_0x117537(0xd6)+_0x42af3e,'enabled':_0x1fdd9e,'visibleInCreateMenu':_0x1fdd9e,'createDefaultConfig':_0x21955b[_0x117537(0x2d3)]??(()=>({})),'createDefaultValue':_0x21955b['createDefaultValue']??(_0x27ea92=>_0x27ea92['defaultValue']??null),'normalize':(_0x175d4a,_0x518f65)=>_0x475f09(_0x175d4a,_0x518f65),'validate':(_0x7f6481,_0x205639)=>{const _0x4e93b7=_0x117537;var _0xf731b9;return _0x1fdd9e?((_0xf731b9=_0x21955b[_0x4e93b7(0x268)])==null?void 0x0:_0xf731b9[_0x4e93b7(0x3b3)](_0x21955b,_0x7f6481,_0x205639))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x26f105,_0x3c4aa1)=>_0x3a53f4(_0x26f105,_0x3c4aa1),'filter':(_0x1f7af7,_0x5bff28,_0x55183e,_0x4fd83b)=>_0x501164(_0x1f7af7,_0x5bff28,_0x55183e,_0x4fd83b),'toPlainText':_0x21955b[_0x117537(0xda)]??(_0x1388ca=>_0x1388ca==null?'':String(_0x1388ca)),'fromPlainText':_0x21955b[_0x117537(0x436)]??(_0x106295=>_0x475f09(_0x106295,{'id':'','name':'','type':_0x42af3e,'config':{}})),'getCapabilities':()=>({..._0x3ee8e8,..._0x177504,'editable':_0x1fdd9e&&(_0x177504[_0x117537(0x114)]??_0x3ee8e8['editable'])})};}function _0x4fff64(){const _0x3a9661=_0x565318;return[_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x1f5)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x3a9661(0x3cd)}),'createDefaultValue':_0xe36e16=>_0xe36e16[_0x3a9661(0x260)]??''}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x3e8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0xf8db9f=>_0xf8db9f==null||_0xf8db9f===''?null:String(_0xf8db9f),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x3a9661(0x3f6)}})}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x23e)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x79f1c1=>Array[_0x3a9661(0x1eb)](_0x79f1c1)?_0x79f1c1[_0x3a9661(0x2e7)](String):_0x79f1c1==null?[]:[String(_0x79f1c1)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x3a9661(0x3f6)}}),'createDefaultValue':_0x34bcb0=>_0x34bcb0[_0x3a9661(0x260)]??[]}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x1a1)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3d085f,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x3a9661(0x451)}),'validate':_0x343c24}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x4eb)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1f097c,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x3a9661(0x195)}),'createDefaultValue':_0x494b89=>_0x494b89[_0x3a9661(0x260)]??[],'validate':_0x3ad799}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x18d)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3a34e5=>_0x5a0e5d(_0x3a34e5),{'createDefaultConfig':()=>_0x44a2cc(),'validate':_0x2b6e28}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x136)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x44855e=>_0x44855e==null?[]:Array[_0x3a9661(0x1eb)](_0x44855e)?_0x44855e:[_0x44855e],{'createDefaultValue':_0x14ee81=>_0x14ee81[_0x3a9661(0x260)]??[]}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x170)],{},_0x2a1a85=>_0x2a1a85==null||_0x2a1a85===''?null:Number(_0x2a1a85),{'createDefaultConfig':()=>_0x804aa9(),'validate':_0x163460}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x334)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x74a807=>_0x74a807===!0x0||_0x74a807===_0x3a9661(0x1e0)||_0x74a807===0x1||_0x74a807==='1',{'createDefaultConfig':()=>({'icon':_0x3a9661(0x110),'color':_0x3a9661(0x201)}),'createDefaultValue':_0x5b32a7=>_0x5b32a7['defaultValue']??!0x1,'validate':_0x22eb1e=>typeof _0x22eb1e==_0x3a9661(0x41b)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x33f)],{'supportsRelation':!0x0},_0x1a996c,{'createDefaultConfig':()=>({'placeholder':_0x3a9661(0x480)}),'toPlainText':_0x48b444=>_0x18463b(_0x48b444),'fromPlainText':_0xf139d8=>_0x1a996c(_0xf139d8)}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x2a8)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x344)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x4c6)],{'usableAsTitle':!0x0},_0x46a363=>_0x46a363==null?null:String(_0x46a363)[_0x3a9661(0x3b1)](),{'validate':_0x4986f1=>_0x4986f1==null||_0x4986f1===''||/^\+?[0-9 ()-]{6,20}$/[_0x3a9661(0x2b8)](String(_0x4986f1))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3a9661(0x271)}}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)]['Email'],{'usableAsTitle':!0x0},_0x5735fe=>_0x5735fe==null?null:String(_0x5735fe)['trim'](),{'validate':_0x41ccf3=>_0x41ccf3==null||_0x41ccf3===''||_0x150b66(String(_0x41ccf3))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3a9661(0xe6)}}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x162)],{'usableAsGanttProgress':!0x0},_0x2590a3=>_0x2590a3==null||_0x2590a3===''?null:Number(_0x2590a3),{'createDefaultConfig':()=>({'format':_0x3a9661(0x473),'decimalPlaces':0x0,'color':_0x3a9661(0x3c3),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2fb34c,_0x2b75b7)=>_0x62b16b(_0x2fb34c,_0x2b75b7,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x229)],{},_0x120eca=>_0x120eca==null||_0x120eca===''?null:Number(_0x120eca),{'createDefaultConfig':()=>({..._0x804aa9(),'currencySymbol':'$'}),'validate':_0x163460}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x130)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3ab381=>_0x3ab381==null||_0x3ab381===''?null:Number(_0x3ab381),{'createDefaultConfig':()=>({'icon':_0x3a9661(0xe5),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x5f1cc4,_0x1c3c9b)=>_0x62b16b(_0x5f1cc4,_0x1c3c9b,_0x3a9661(0x13b))}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x4fe)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x27513c,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x557517,_0x5a256f)=>_0x2571e9(_0x557517,_0x5a256f[_0x3a9661(0x2c6)][_0x3a9661(0x18c)]===!0x0)}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0x119)],{'editable':!0x1,'groupable':!0x0},_0x17ff57=>_0x17ff57==null?null:String(_0x17ff57),{'createDefaultConfig':()=>({'provider':_0x3a9661(0x123)}),'createDefaultValue':()=>null}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x4bb)],{'editable':!0x1,'groupable':!0x0},_0x44daa9=>_0x44daa9==null?null:String(_0x44daa9),{'createDefaultConfig':()=>({'provider':_0x3a9661(0x123)}),'createDefaultValue':()=>null}),_0xca7cf6(_0x4dff15['BaseFieldType'][_0x3a9661(0xef)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x28c0e8=>_0x5a0e5d(_0x28c0e8),{'createDefaultConfig':()=>_0x44a2cc(),'createDefaultValue':()=>null,'validate':_0x2b6e28}),_0xca7cf6(_0x4dff15[_0x3a9661(0x352)][_0x3a9661(0x4d7)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5bf2f4=>_0x5a0e5d(_0x5bf2f4),{'createDefaultConfig':()=>_0x44a2cc(),'createDefaultValue':()=>null,'validate':_0x2b6e28})];}function _0x804aa9(){const _0x4d123d=_0x565318;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x4d123d(0x2f4),'useThousands':!0x0,'abbreviation':_0x4d123d(0x3ea),'allowNegative':!0x0};}function _0x44a2cc(){const _0x2c11d4=_0x565318;return{'locale':_0x2c11d4(0x1d9),'pattern':_0x2c11d4(0x337),'includeTime':!0x1,'hourCycle':_0x2c11d4(0x129),'defaultMode':_0x2c11d4(0x3ea)};}function _0x1f097c(_0x8eced2){const _0x5276a1=_0x565318;return _0x8eced2==null||_0x8eced2===''?[]:Array[_0x5276a1(0x1eb)](_0x8eced2)?_0x8eced2[_0x5276a1(0x2e7)](String):[String(_0x8eced2)];}function _0x27513c(_0x2959de){const _0x355464=_0x565318;return typeof _0x2959de==_0x355464(0x17d)?_0x2959de:'';}function _0x3d085f(_0x41b580,_0x50c9e9){const _0xeb1fa3=_0x565318;return _0x41b580==null||_0x41b580===''?_0x50c9e9['config'][_0xeb1fa3(0x19a)]===!0x0?[]:null:_0x50c9e9[_0xeb1fa3(0x2c6)][_0xeb1fa3(0x19a)]===!0x0?Array['isArray'](_0x41b580)?_0x41b580[_0xeb1fa3(0x2e7)](String):[String(_0x41b580)]:Array['isArray'](_0x41b580)?String(_0x41b580[0x0]??'')||null:String(_0x41b580);}function _0x343c24(_0x80dc3,_0x342b2f){const _0x1cb6ce=_0x565318;return _0x342b2f['config'][_0x1cb6ce(0x19a)]===!0x0?_0x3ad799(_0x80dc3):_0x80dc3==null||_0x80dc3===''||typeof _0x80dc3==_0x1cb6ce(0x17d)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1cb6ce(0xc1)};}function _0x3ad799(_0x4d8480){const _0xf4edc0=_0x565318;return _0x4d8480==null||Array[_0xf4edc0(0x1eb)](_0x4d8480)&&_0x4d8480[_0xf4edc0(0x1fd)](_0x909ac9=>typeof _0x909ac9=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf4edc0(0x118)};}function _0x2b6e28(_0x30df1c){const _0x115943=_0x565318;return _0x30df1c==null||typeof _0x30df1c==_0x115943(0x4cd)&&Number['isFinite'](_0x30df1c)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function _0x163460(_0x5aeda0,_0x24e07a){const _0x4717fb=_0x565318;return _0x5aeda0==null||_0x5aeda0===''?{'valid':!0x0}:typeof _0x5aeda0!='number'||!Number[_0x4717fb(0x217)](_0x5aeda0)?{'valid':!0x1,'reason':_0x4717fb(0x1fa)}:_0x24e07a[_0x4717fb(0x2c6)][_0x4717fb(0x2fb)]===!0x1&&_0x5aeda0<0x0?{'valid':!0x1,'reason':_0x4717fb(0xcf)}:{'valid':!0x0};}function _0x62b16b(_0x1d21fa,_0x48c1e3,_0x25d7b4){const _0x4d9688=_0x565318;let _0x500a70=_0x163460(_0x1d21fa,_0x48c1e3);if(!_0x500a70[_0x4d9688(0x31a)]||_0x1d21fa==null||_0x1d21fa==='')return _0x500a70;let _0x57f811=Number(_0x48c1e3[_0x4d9688(0x2c6)]['min']??_0x48c1e3[_0x4d9688(0x2c6)]['start']??0x0),_0x10a84d=Number(_0x48c1e3[_0x4d9688(0x2c6)][_0x4d9688(0x10a)]??_0x48c1e3['config']['end']??0x64),_0x45c259=Number(_0x1d21fa);return _0x45c259>=_0x57f811&&_0x45c259<=_0x10a84d?{'valid':!0x0}:{'valid':!0x1,'reason':_0x25d7b4};}function _0x1a996c(_0x15d00d){const _0x1124d1=_0x565318;if(_0x15d00d==null||_0x15d00d==='')return null;if(typeof _0x15d00d==_0x1124d1(0x35c)&&!Array[_0x1124d1(0x1eb)](_0x15d00d)){let _0x5e23d7=_0x15d00d,_0x397b4d=typeof _0x5e23d7[_0x1124d1(0x467)]==_0x1124d1(0x17d)?_0x5e23d7['text'][_0x1124d1(0x3b1)]():'',_0x1d78bb=typeof _0x5e23d7['url']==_0x1124d1(0x17d)?_0x5e23d7[_0x1124d1(0x28b)][_0x1124d1(0x3b1)]():'',_0x2e631f=_0x11235f(_0x1d78bb||_0x397b4d);return _0x2e631f?{'text':_0x397b4d||_0x1d78bb||_0x2e631f,'url':_0x2e631f}:null;}let _0x112834=String(_0x15d00d)['trim'](),_0x36f9f5=_0x11235f(_0x112834);return _0x36f9f5?{'text':_0x112834,'url':_0x36f9f5}:null;}function _0x18463b(_0x5414bc){const _0x502bf3=_0x565318;if(_0x5414bc==null)return'';if(typeof _0x5414bc==_0x502bf3(0x35c)&&!Array[_0x502bf3(0x1eb)](_0x5414bc)){let _0x4c2df6=_0x5414bc;return String(_0x4c2df6['text']||_0x4c2df6[_0x502bf3(0x28b)]||'');}return String(_0x5414bc);}function _0x11235f(_0x5a922f){const _0x485ffa=_0x565318;let _0x460643=_0x5a922f['trim']();if(!_0x460643)return'';let _0x45a829=/^[a-z][a-z\d+.-]*:/i['test'](_0x460643)?_0x460643:_0x460643['startsWith']('//')?_0x485ffa(0x156)+_0x460643:_0x485ffa(0x418)+_0x460643;try{let _0x2a5ca9=new URL(_0x45a829);return _0x2a5ca9[_0x485ffa(0x462)]===_0x485ffa(0x307)||_0x2a5ca9[_0x485ffa(0x462)]===_0x485ffa(0x156)?_0x2a5ca9['href']:'';}catch{return'';}}function _0x150b66(_0x1c9085){const _0x1c319c=_0x565318;let _0x27a72c=_0x1c9085[_0x1c319c(0x321)]('@');if(_0x27a72c<=0x0||_0x27a72c!==_0x1c9085['lastIndexOf']('@'))return!0x1;let _0x129537=_0x1c9085['slice'](_0x27a72c+0x1);return _0x129537[_0x1c319c(0x3d2)]('.')&&!_0x1c9085[_0x1c319c(0x3d2)]('\x20')&&!_0x129537[_0x1c319c(0xff)]('.')&&!_0x129537[_0x1c319c(0x490)]('.');}let _0x142758={'table':_0x145826=>['tables',_0x145826],'field':(_0x2d7bf5,_0x51bef1)=>[_0x565318(0x257),_0x2d7bf5,_0x565318(0x375),_0x51bef1],'fieldOrder':(_0x18fb6f,_0x40220b)=>[_0x565318(0x257),_0x18fb6f,_0x565318(0x2c3),_0x40220b],'record':(_0x36af89,_0x4b56de)=>['tables',_0x36af89,'records',_0x4b56de],'cell':(_0x2b4b37,_0x386639,_0x2d77f8)=>['tables',_0x2b4b37,_0x565318(0x17e),_0x386639,_0x565318(0x3dd),_0x2d77f8],'cellData':(_0x207675,_0x5aade0,_0xa196dc)=>[_0x565318(0x257),_0x207675,_0x565318(0x1a0),String(_0x5aade0),String(_0xa196dc)],'attachmentSet':(_0x29e848,_0x1c4729)=>[_0x565318(0x257),_0x29e848,_0x565318(0x299),_0x565318(0x235),_0x1c4729],'attachment':(_0x26d43a,_0x5782a8)=>[_0x565318(0x257),_0x26d43a,_0x565318(0x299),'attachments',_0x5782a8],'view':(_0x21aa61,_0x484ae2)=>[_0x565318(0x257),_0x21aa61,_0x565318(0x353),_0x484ae2],'viewFieldHidden':(_0x16847a,_0x36ae42,_0x1c95d3)=>[_0x565318(0x257),_0x16847a,'views',_0x36ae42,_0x565318(0x416),_0x1c95d3,_0x565318(0x1b1)]};var _0x11b56b=class{['setBaseName'](_0x1a4b04,_0x3c4733){const _0x2cb707=_0x565318;let _0x4f1d66=this[_0x2cb707(0xb0)](_0x1a4b04,_0x1a4b04[_0x2cb707(0x177)],_0x3c4733);return _0xbcd9ca([this[_0x2cb707(0xb4)](['name'],_0x1a4b04[_0x2cb707(0x177)],_0x3c4733),..._0x4f1d66?[_0x4f1d66]:[]]);}['renameFormulaUnitReferences'](_0x3de4c5,_0xc54c16,_0x4cdfa7){const _0x368701=_0x565318;let _0xac6c47=Object[_0x368701(0x3dd)](_0x3de4c5[_0x368701(0x257)])[_0x368701(0x3d1)](_0x2e9b8e=>Object[_0x368701(0x3dd)](_0x2e9b8e['fields'])[_0x368701(0x3d1)](_0x29ece6=>{const _0x386df4=_0x368701;var _0x4a0c12,_0x39c6a6;if(_0x29ece6[_0x386df4(0x1dd)]!==_0x4dff15[_0x386df4(0x352)]['Formula'])return[];let _0xbc68e3=String(((_0x4a0c12=_0x29ece6[_0x386df4(0x2c6)])==null?void 0x0:_0x4a0c12[_0x386df4(0xc6)])??''),_0x2e71f0=(0x0,_0x5a0085[_0x386df4(0x172)])(_0xbc68e3,_0xc54c16,_0x4cdfa7);return _0x2e71f0===_0xbc68e3?[]:[this['_replaceOptional']([..._0x142758[_0x386df4(0x17a)](_0x2e9b8e['id'],_0x29ece6['id']),'config','formula'],(_0x39c6a6=_0x29ece6[_0x386df4(0x2c6)])==null?void 0x0:_0x39c6a6[_0x386df4(0xc6)],_0x2e71f0)];}));return _0xac6c47[_0x368701(0xac)]>0x0?_0xbcd9ca(_0xac6c47):void 0x0;}[_0x565318(0x2b0)](_0x543b91,_0xdab333,_0xc00cdd=_0x543b91[_0x565318(0x1a4)]['length']){const _0x4b91b2=_0x565318;let _0x3c8e8d=(0x0,_0x4dff15[_0x4b91b2(0xaf)])(_0xdab333[_0x4b91b2(0x177)],(0x0,_0x4dff15[_0x4b91b2(0x484)])(_0x543b91)[_0x4b91b2(0x3dd)](),_0xdab333[_0x4b91b2(0x2ef)]),_0xc7884a=_0xdab333[_0x4b91b2(0x2ef)]===_0x3c8e8d?_0xdab333:{..._0xdab333,'formulaName':_0x3c8e8d};return _0xbcd9ca([...this[_0x4b91b2(0x314)](_0x543b91),_0x4dff15[_0x4b91b2(0x444)]['insertOp'](_0x142758['table'](_0xdab333['id']),_0xc7884a),_0x4dff15[_0x4b91b2(0x444)][_0x4b91b2(0x369)]([_0x4b91b2(0x1a4),_0xc00cdd],_0xdab333['id'])]);}['renameTable'](_0x26b06a,_0x2b67e9,_0x56897d){const _0x36a458=_0x565318;let _0x4baa59=_0x26b06a[_0x36a458(0x257)][_0x2b67e9];return _0xbcd9ca([...this['_materializeFormulaTableNames'](_0x26b06a),_0x4dff15[_0x36a458(0x444)][_0x36a458(0x302)]([..._0x142758[_0x36a458(0x37e)](_0x2b67e9),_0x36a458(0x177)],_0x4baa59['name'],_0x56897d)]);}[_0x565318(0x392)](_0x456ba6,_0x141fc4){const _0x284cf7=_0x565318;let _0x34a04d=_0x456ba6[_0x284cf7(0x257)][_0x141fc4],_0x5e8903=_0x456ba6[_0x284cf7(0x1a4)][_0x284cf7(0x321)](_0x141fc4);return _0xbcd9ca([...this['_materializeFormulaTableNames'](_0x456ba6,new Set([_0x141fc4])),_0x4dff15[_0x284cf7(0x444)][_0x284cf7(0x327)](_0x142758['table'](_0x141fc4),_0x34a04d),_0x4dff15[_0x284cf7(0x444)][_0x284cf7(0x327)]([_0x284cf7(0x1a4),_0x5e8903],_0x141fc4)]);}[_0x565318(0xb8)](_0xd24ee7,_0x237560,_0x4d95af){return this['createRecords'](_0xd24ee7,_0x237560,[_0x4d95af]);}[_0x565318(0x3af)](_0x471513,_0x4c86cf,_0x41848c){const _0xa1e8bd=_0x565318;let _0x1f2263=_0x471513['tables'][_0x4c86cf],_0x5b42e4=_0x41848c['filter'](_0x6bce65=>_0x6bce65&&!_0x1f2263['records'][_0x6bce65['id']])[_0xa1e8bd(0x2e7)](_0x17b926=>({..._0x17b926,'values':{..._0x17b926[_0xa1e8bd(0x3dd)],[_0x4dff15[_0xa1e8bd(0x432)]]:_0x17b926['id']}}));if(!_0x5b42e4[_0xa1e8bd(0xac)])return _0x4dff15['JSON1'][_0xa1e8bd(0x302)]([..._0x142758[_0xa1e8bd(0x37e)](_0x4c86cf),_0xa1e8bd(0x17e)],_0x1f2263[_0xa1e8bd(0x17e)],_0x1f2263['records']);let _0x341dd5=new _0x4dff15[(_0xa1e8bd(0x444))][(_0xa1e8bd(0x4f3))](),_0x6f9c77=[..._0x5b42e4][_0xa1e8bd(0x27f)]((_0x1d540f,_0x491c5e)=>_0x1d540f['id']<_0x491c5e['id']?-0x1:+(_0x1d540f['id']>_0x491c5e['id'])),_0x255e2f=[..._0x142758[_0xa1e8bd(0x37e)](_0x4c86cf),_0xa1e8bd(0x17e)];_0x341dd5[_0xa1e8bd(0x1ef)](_0x255e2f);for(let _0x4e800b of _0x6f9c77)_0x341dd5['descend'](_0x4e800b['id']),_0x341dd5[_0xa1e8bd(0x4c2)]('i',_0x4e800b),_0x341dd5[_0xa1e8bd(0x250)]();for(let _0x5c6032=0x0;_0x5c6032<_0x255e2f['length'];_0x5c6032+=0x1)_0x341dd5[_0xa1e8bd(0x250)]();return _0xbcd9ca([_0x341dd5[_0xa1e8bd(0x2fe)](),this[_0xa1e8bd(0x305)](_0x471513,_0x4c86cf,_0x5b42e4)]);}['deleteRecord'](_0x555cca,_0x12f66e,_0x533f1f){const _0x1e8927=_0x565318;return this[_0x1e8927(0x226)](_0x555cca,_0x12f66e,[_0x533f1f]);}[_0x565318(0x226)](_0x3ee79a,_0x33a003,_0x2940a0){const _0x77cca1=_0x565318;let _0x46fcbf=_0x3ee79a[_0x77cca1(0x257)][_0x33a003],_0xf74716=Array['from'](new Set(_0x2940a0))[_0x77cca1(0x2ee)](_0x463504=>_0x46fcbf[_0x77cca1(0x17e)][_0x463504]);if(!_0xf74716[_0x77cca1(0xac)])return _0x4dff15[_0x77cca1(0x444)][_0x77cca1(0x302)]([..._0x142758[_0x77cca1(0x37e)](_0x33a003),'records'],_0x46fcbf[_0x77cca1(0x17e)],_0x46fcbf['records']);let _0x555590=new Set(_0xf74716),_0x3117f9=_0x54ab3d(_0x46fcbf,_0xf74716)[_0x77cca1(0x2e7)](_0x5399c3=>this[_0x77cca1(0x2af)](_0x3ee79a,_0x33a003,_0x5399c3[_0x77cca1(0x3e1)],_0x5399c3[_0x77cca1(0x351)],''));return _0xbcd9ca([this[_0x77cca1(0x48a)](_0x3ee79a,_0x33a003,_0xf74716,_0x555590),..._0x3117f9]);}[_0x565318(0x50b)](_0x14ae67,_0x5e92b5,_0x2e7c31,_0x291ab0){const _0x22cb42=_0x565318;let _0x24fb60=_0x14ae67[_0x22cb42(0x257)][_0x2e7c31],_0x3ef9ce=Array[_0x22cb42(0x397)](new Set(_0x291ab0))['filter'](_0x70aa3a=>_0x24fb60[_0x22cb42(0x17e)][_0x70aa3a]),_0x2c01ea=new Set(_0x3ef9ce);return _0xbcd9ca([new _0x4ddc63()['invertOp'](_0x14ae67,this['_deleteRecordsBaseOp'](_0x14ae67,_0x2e7c31,_0x3ef9ce,_0x2c01ea)),..._0x54ab3d(_0x24fb60,_0x3ef9ce)[_0x22cb42(0x2e7)](_0x3e6f3d=>this[_0x22cb42(0x2af)](_0x5e92b5,_0x2e7c31,_0x3e6f3d[_0x22cb42(0x3e1)],_0x3e6f3d[_0x22cb42(0x351)],_0x3e6f3d[_0x22cb42(0x1fe)]??''))]);}[_0x565318(0x48a)](_0x5bcf26,_0x48dc7d,_0x20a574,_0x4a703){const _0x180ead=_0x565318;let _0x3d9dec=_0x5bcf26['tables'][_0x48dc7d],_0x50df1c=_0x20a574[_0x180ead(0x2e7)](_0x21ebd0=>{const _0x2d7553=_0x180ead;var _0x511257;return{'recordId':_0x21ebd0,'index':((_0x511257=_0x3d9dec[_0x2d7553(0x135)])==null?void 0x0:_0x511257['indexOf'](_0x21ebd0))??-0x1};})[_0x180ead(0x2ee)](_0x56eab7=>_0x56eab7[_0x180ead(0x359)]>=0x0)[_0x180ead(0x27f)]((_0x375827,_0x13d00c)=>_0x13d00c['index']-_0x375827['index']);return _0xbcd9ca([..._0x20a574[_0x180ead(0x2e7)](_0x59ebb7=>_0x4dff15[_0x180ead(0x444)][_0x180ead(0x327)](_0x142758[_0x180ead(0x491)](_0x48dc7d,_0x59ebb7),_0x3d9dec['records'][_0x59ebb7])),..._0x50df1c[_0x180ead(0x2e7)](({recordId:_0x57f2f3,index:_0x523ba0})=>_0x4dff15[_0x180ead(0x444)][_0x180ead(0x327)]([_0x180ead(0x257),_0x48dc7d,'recordOrder',_0x523ba0],_0x57f2f3)),...this[_0x180ead(0x403)](_0x3d9dec,_0x48dc7d,_0x21e90f=>{const _0x5b508a=_0x180ead;let _0x47eccb=_0x21e90f['slice'](_0x21e90f[_0x5b508a(0x2bc)]('\x1f')+0x1);return _0x4a703[_0x5b508a(0x336)](_0x47eccb);})]);}[_0x565318(0x4f0)](_0x173856,_0x35e8d5,_0x56f30e,_0x4bacd8){const _0x2aedd9=_0x565318;return this[_0x2aedd9(0xb8)](_0x173856,_0x35e8d5,{..._0x4bacd8,'values':{..._0x173856['tables'][_0x35e8d5][_0x2aedd9(0x17e)][_0x56f30e][_0x2aedd9(0x3dd)],..._0x4bacd8['values'],[_0x4dff15[_0x2aedd9(0x432)]]:_0x4bacd8['id']}});}['updateRecordOrder'](_0x4913b0,_0x4192b6,_0x3f179e,_0x22f0a7){const _0x129e25=_0x565318;let _0x2bf2f8=_0x4913b0[_0x129e25(0x257)][_0x4192b6],_0xdcfc47=[..._0x142758['record'](_0x4192b6,_0x3f179e),_0x129e25(0x2f6)],_0x30046d=Object[_0x129e25(0x3dd)](_0x2bf2f8[_0x129e25(0x17e)])[_0x129e25(0x2e7)](_0x4f93b9=>_0x4f93b9['id']===_0x3f179e?{..._0x4f93b9,'orderKey':_0x22f0a7}:_0x4f93b9)[_0x129e25(0x27f)]((_0x3580af,_0x3cce7d)=>String(_0x3580af[_0x129e25(0x2f6)]??_0x3580af['id'])[_0x129e25(0xcb)](String(_0x3cce7d[_0x129e25(0x2f6)]??_0x3cce7d['id'])))[_0x129e25(0x2e7)](_0x1ec3c5=>_0x1ec3c5['id']),_0x4e848a=[..._0x142758[_0x129e25(0x37e)](_0x4192b6),'recordOrder'];return _0xbcd9ca([this['_replaceOptional'](_0xdcfc47,_0x2bf2f8[_0x129e25(0x17e)][_0x3f179e][_0x129e25(0x2f6)],_0x22f0a7),_0x2bf2f8[_0x129e25(0x135)]?_0x4dff15[_0x129e25(0x444)][_0x129e25(0x302)](_0x4e848a,_0x2bf2f8[_0x129e25(0x135)],_0x30046d):_0x4dff15['JSON1'][_0x129e25(0x369)](_0x4e848a,_0x30046d)]);}['updateCell'](_0x1c34d4,_0x23c6ff,_0x2b5b7b,_0x65b793,_0x8b1407){const _0x1a4b26=_0x565318;var _0x2404ce,_0x1b569b;let _0x38611c=_0x1c34d4[_0x1a4b26(0x257)][_0x23c6ff],_0x576a65=_0x14c7e1(_0x38611c,_0x2b5b7b,_0x65b793)?_0x38611c:_0x21979c(_0x38611c),_0x5eea8a=(_0x2404ce=_0x576a65[_0x1a4b26(0x1d4)])==null?void 0x0:_0x2404ce[_0x2b5b7b],_0x222316=(_0x1b569b=_0x576a65[_0x1a4b26(0x2e0)])==null?void 0x0:_0x1b569b[_0x65b793];if(_0x5eea8a==null||_0x222316==null){var _0x316e6d;return this[_0x1a4b26(0xb4)](_0x142758[_0x1a4b26(0x381)](_0x23c6ff,_0x2b5b7b,_0x65b793),(_0x316e6d=_0x1c34d4[_0x1a4b26(0x257)][_0x23c6ff])==null||(_0x316e6d=_0x316e6d['records'][_0x2b5b7b])==null?void 0x0:_0x316e6d[_0x1a4b26(0x3dd)][_0x65b793],_0x8b1407);}return this['setRangeValues'](_0x1c34d4,_0x23c6ff,[{'row':_0x5eea8a,'col':_0x222316,'value':_0x8b1407}]);}[_0x565318(0x349)](_0x5d521a,_0xc28d0c,_0x131135){const _0x40b721=_0x565318;let _0x157383=_0x5d521a[_0x40b721(0x257)][_0xc28d0c],_0xb5ac6c=_0x131135[_0x40b721(0x1fd)](_0x221e53=>Object[_0x40b721(0x446)](_0x221e53['values'])[_0x40b721(0x1fd)](_0x32099a=>_0x14c7e1(_0x157383,_0x221e53[_0x40b721(0x3e1)],_0x32099a)))?_0x157383:_0x21979c(_0x157383),_0x272281=_0x131135[_0x40b721(0x3d1)](_0x4582a7=>Object[_0x40b721(0x2b1)](_0x4582a7[_0x40b721(0x3dd)])[_0x40b721(0x3d1)](([_0x7fc8ab,_0x21acea])=>{const _0x2d34b7=_0x40b721;var _0x52b2a9,_0x185125;let _0x64bc62=(_0x52b2a9=_0xb5ac6c[_0x2d34b7(0x1d4)])==null?void 0x0:_0x52b2a9[_0x4582a7[_0x2d34b7(0x3e1)]],_0x24e9cf=(_0x185125=_0xb5ac6c[_0x2d34b7(0x2e0)])==null?void 0x0:_0x185125[_0x7fc8ab];return _0x64bc62==null||_0x24e9cf==null?[]:[{'row':_0x64bc62,'col':_0x24e9cf,'value':_0x21acea}];})),_0x196fd9=_0x131135[_0x40b721(0x3d1)](_0x335acb=>Object[_0x40b721(0x2b1)](_0x335acb['recordPatch']??{})[_0x40b721(0x2e7)](([_0x1d317a,_0x570bd0])=>{const _0x4685af=_0x40b721;var _0x27a4e1;let _0x3425aa=[..._0x142758[_0x4685af(0x491)](_0xc28d0c,_0x335acb['recordId']),_0x1d317a],_0x1764fc=(_0x27a4e1=_0x5d521a[_0x4685af(0x257)][_0xc28d0c])==null||(_0x27a4e1=_0x27a4e1[_0x4685af(0x17e)][_0x335acb['recordId']])==null?void 0x0:_0x27a4e1[_0x1d317a];return this['_replaceOptional'](_0x3425aa,_0x1764fc,_0x570bd0);}));return _0xbcd9ca([this['setRangeValues'](_0x5d521a,_0xc28d0c,_0x272281),..._0x196fd9]);}['setRangeValues'](_0x2f2b62,_0x566fa1,_0x548fea){const _0x52afa9=_0x565318;let _0x301a45=_0x2f2b62[_0x52afa9(0x257)][_0x566fa1],_0x36f134=_0x548fea[_0x52afa9(0x1fd)](_0xa39ea5=>_0xafb11(_0x301a45,_0xa39ea5[_0x52afa9(0xa9)],_0xa39ea5['col']))?_0x301a45:_0x21979c(_0x301a45),_0x3ea3d0=new Map(),_0x3194b1=_0x548fea[_0x52afa9(0x3d1)](_0x36343a=>{const _0x476a56=_0x52afa9;var _0x27921c,_0x2b356a,_0x50615c,_0xc9cbc2;let _0x206922=(_0x27921c=_0x36f134[_0x476a56(0x454)])==null?void 0x0:_0x27921c[_0x36343a['col']],_0x45e268=(_0x2b356a=_0x36f134[_0x476a56(0x460)])==null?void 0x0:_0x2b356a[_0x36343a[_0x476a56(0xa9)]],_0x586e91=_0x206922?_0x36f134[_0x476a56(0x375)][_0x206922]:void 0x0;if(_0x206922===_0x4dff15[_0x476a56(0x432)]||(_0x586e91==null?void 0x0:_0x586e91[_0x476a56(0x1dd)])===_0x4dff15[_0x476a56(0x352)][_0x476a56(0x37b)])throw Error(_0x476a56(0x3ee));let _0x4f5898=_0x108721(_0x36343a[_0x476a56(0x3a9)],_0x586e91),_0x161489=(_0x50615c=_0x36f134['cellData'])==null||(_0x50615c=_0x50615c[_0x36343a[_0x476a56(0xa9)]])==null?void 0x0:_0x50615c[_0x36343a[_0x476a56(0x395)]],_0x1c4bf5=this['_replaceOptional'](_0x142758[_0x476a56(0x1a0)](_0x566fa1,_0x36343a[_0x476a56(0xa9)],_0x36343a[_0x476a56(0x395)]),_0x161489,_0x4f5898);if(!_0x206922||!_0x45e268)return[_0x1c4bf5];let _0x270ca8=(_0xc9cbc2=_0x36f134[_0x476a56(0x17e)][_0x45e268])==null?void 0x0:_0xc9cbc2[_0x476a56(0x3dd)][_0x206922],_0x581686=(_0x586e91==null?void 0x0:_0x586e91[_0x476a56(0x1dd)])===_0x4dff15[_0x476a56(0x352)][_0x476a56(0x136)]?_0x25078f(_0x36343a['value']):_0xad219(_0x36343a[_0x476a56(0x3a9)],_0x4f5898,_0x586e91,_0x36f134,_0x45e268),_0x3e930e=[_0x1c4bf5,this[_0x476a56(0xb4)](_0x142758[_0x476a56(0x381)](_0x566fa1,_0x45e268,_0x206922),_0x270ca8,_0x581686)];return(_0x586e91==null?void 0x0:_0x586e91[_0x476a56(0x1dd)])===_0x4dff15[_0x476a56(0x352)][_0x476a56(0x136)]&&_0x3ea3d0[_0x476a56(0xe4)](_0x247dbe(_0x206922,_0x45e268),{'recordId':_0x45e268,'fieldId':_0x206922,'attachments':_0x581686}),_0x3e930e;});return _0x3194b1[_0x52afa9(0xac)]?_0xbcd9ca([..._0x3194b1,...this[_0x52afa9(0xbe)](_0x36f134,_0x566fa1,Array[_0x52afa9(0x397)](_0x3ea3d0[_0x52afa9(0x3dd)]()))]):_0x4dff15[_0x52afa9(0x444)][_0x52afa9(0x302)](['tables',_0x566fa1,_0x52afa9(0x1a0)],_0x36f134['cellData'],_0x36f134[_0x52afa9(0x1a0)]);}[_0x565318(0x3c0)](_0x48d473,_0x20ec81,_0x2596db){const _0x500f57=_0x565318;let _0x4de05b=_0x48d473['tables'][_0x20ec81];if(_0x4de05b[_0x500f57(0x375)][_0x2596db[_0x500f57(0x17a)]['id']]||_0x4de05b[_0x500f57(0x2c3)][_0x500f57(0x3d2)](_0x2596db[_0x500f57(0x17a)]['id']))return _0x4dff15[_0x500f57(0x444)][_0x500f57(0x302)](['tables',_0x20ec81,'fieldOrder'],_0x4de05b[_0x500f57(0x2c3)],_0x4de05b[_0x500f57(0x2c3)]);let _0x42d46c=Math[_0x500f57(0x10a)](0x1,_0x2596db[_0x500f57(0x359)]??_0x4de05b[_0x500f57(0x2c3)][_0x500f57(0xac)]),_0x81bf0d=Object['values'](_0x4de05b[_0x500f57(0x353)]??{})[_0x500f57(0x3d1)](_0x31b692=>{const _0x23b782=_0x500f57;var _0x39e388;if(!_0x31b692['fieldOrder']||_0x31b692['fieldOrder']['includes'](_0x2596db[_0x23b782(0x17a)]['id']))return[];let _0x1a18a7=_0x278e24(((_0x39e388=_0x2596db['viewIndexes'])==null?void 0x0:_0x39e388[_0x31b692['id']])??_0x42d46c,_0x31b692[_0x23b782(0x2c3)][_0x23b782(0xac)]);return[_0x4dff15[_0x23b782(0x444)]['insertOp']([..._0x142758['view'](_0x20ec81,_0x31b692['id']),_0x23b782(0x2c3),_0x1a18a7],_0x2596db[_0x23b782(0x17a)]['id'])];});return _0xbcd9ca([..._0x2596db[_0x500f57(0x17a)][_0x500f57(0x1dd)]===_0x4dff15[_0x500f57(0x352)][_0x500f57(0x2a8)]?this['_materializeFormulaTableNames'](_0x48d473):[],_0x4dff15['JSON1'][_0x500f57(0x369)](_0x142758[_0x500f57(0x17a)](_0x20ec81,_0x2596db['field']['id']),_0x2596db['field']),_0x4dff15[_0x500f57(0x444)]['insertOp'](_0x142758['fieldOrder'](_0x20ec81,_0x42d46c),_0x2596db[_0x500f57(0x17a)]['id']),..._0x81bf0d]);}[_0x565318(0x199)](_0x20e6e0,_0x2357c0,_0x13c7d3,_0x36c5c0){const _0x5163b1=_0x565318;let _0x566e96=_0x20e6e0['tables'][_0x2357c0];if(!_0x566e96[_0x5163b1(0x375)][_0x13c7d3]||_0x566e96[_0x5163b1(0x375)][_0x36c5c0['field']['id']]||_0x566e96[_0x5163b1(0x2c3)]['includes'](_0x36c5c0['field']['id']))return _0x4dff15['JSON1']['replaceOp']([_0x5163b1(0x257),_0x2357c0,_0x5163b1(0x2c3)],_0x566e96[_0x5163b1(0x2c3)],_0x566e96[_0x5163b1(0x2c3)]);let _0x5f008a=_0x36c5c0['index']??_0x566e96[_0x5163b1(0x2c3)]['indexOf'](_0x13c7d3)+0x1,_0x174bf8=_0x566e96[_0x5163b1(0x2c3)][_0x5163b1(0x2ee)](_0x21d34d=>_0x21d34d!==_0x36c5c0[_0x5163b1(0x17a)]['id']),_0x164bae=_0x43cd26(_0x174bf8,_0x36c5c0[_0x5163b1(0x17a)]['id'],_0x5f008a),_0x459459=Object['values'](_0x566e96[_0x5163b1(0x353)]??{})[_0x5163b1(0x3d1)](_0x221e36=>{const _0x1ba178=_0x5163b1;var _0x3f56e8,_0xdf49b7,_0x2ee9d5,_0x1a31d4;let _0x49aab0=(_0x3f56e8=_0x221e36[_0x1ba178(0x2c3)])!=null&&_0x3f56e8[_0x1ba178(0xac)]?_0x221e36[_0x1ba178(0x2c3)]:_0x174bf8;if(_0x49aab0[_0x1ba178(0x3d2)](_0x36c5c0['field']['id']))return[];let _0x2f99b1=_0x43cd26(_0x49aab0,_0x36c5c0[_0x1ba178(0x17a)]['id'],((_0xdf49b7=_0x36c5c0[_0x1ba178(0x139)])==null?void 0x0:_0xdf49b7[_0x221e36['id']])??_0x5f008a),_0x38d0d9=(_0x2ee9d5=_0x221e36[_0x1ba178(0x416)])==null?void 0x0:_0x2ee9d5[_0x13c7d3];return[this[_0x1ba178(0xb4)]([..._0x142758['view'](_0x2357c0,_0x221e36['id']),_0x1ba178(0x2c3)],_0x221e36['fieldOrder'],_0x2f99b1),..._0x38d0d9?[this[_0x1ba178(0xb4)]([..._0x142758['view'](_0x2357c0,_0x221e36['id']),'fieldSettings',_0x36c5c0['field']['id']],(_0x1a31d4=_0x221e36[_0x1ba178(0x416)])==null?void 0x0:_0x1a31d4[_0x36c5c0[_0x1ba178(0x17a)]['id']],_0x38d0d9)]:[]];}),_0x451ee7=Object[_0x5163b1(0x3dd)](_0x566e96[_0x5163b1(0x17e)])[_0x5163b1(0x2ee)](_0x2b8ba7=>Object[_0x5163b1(0x3f7)]['hasOwnProperty']['call'](_0x2b8ba7[_0x5163b1(0x3dd)],_0x13c7d3))[_0x5163b1(0x2e7)](_0x5d7144=>this['_replaceOptional'](_0x142758[_0x5163b1(0x381)](_0x2357c0,_0x5d7144['id'],_0x36c5c0[_0x5163b1(0x17a)]['id']),_0x5d7144[_0x5163b1(0x3dd)][_0x36c5c0[_0x5163b1(0x17a)]['id']],_0x5d7144[_0x5163b1(0x3dd)][_0x13c7d3]));return _0xbcd9ca([..._0x36c5c0[_0x5163b1(0x17a)]['type']===_0x4dff15['BaseFieldType'][_0x5163b1(0x2a8)]?this[_0x5163b1(0x314)](_0x20e6e0):[],_0x4dff15[_0x5163b1(0x444)][_0x5163b1(0x369)](_0x142758[_0x5163b1(0x17a)](_0x2357c0,_0x36c5c0[_0x5163b1(0x17a)]['id']),_0x36c5c0[_0x5163b1(0x17a)]),_0x4dff15['JSON1'][_0x5163b1(0x302)]([_0x5163b1(0x257),_0x2357c0,'fieldOrder'],_0x566e96[_0x5163b1(0x2c3)],_0x164bae),..._0x459459,..._0x451ee7]);}[_0x565318(0x4d3)](_0x1376cb,_0x41583e,_0x411f4f,_0x1b9f58){const _0x45d1fe=_0x565318;let _0x15829f=_0x1376cb[_0x45d1fe(0x257)][_0x41583e][_0x45d1fe(0x375)][_0x411f4f],_0x156639={..._0x15829f,..._0x1b9f58};Object[_0x45d1fe(0x446)](_0x1b9f58)[_0x45d1fe(0x207)](_0x4329d7=>{_0x1b9f58[_0x4329d7]===void 0x0&&delete _0x156639[_0x4329d7];});let _0x3003f7=_0x426685(_0x1376cb[_0x45d1fe(0x257)][_0x41583e],_0x411f4f,_0x15829f,_0x156639);_0x156639=_0x3003f7[_0x45d1fe(0x17a)];let _0x2f167f=_0x4dff15[_0x45d1fe(0x444)][_0x45d1fe(0x302)](_0x142758[_0x45d1fe(0x17a)](_0x41583e,_0x411f4f),_0x15829f,_0x156639);return _0x156639[_0x45d1fe(0x1dd)]===_0x4dff15[_0x45d1fe(0x352)]['Formula']?_0xbcd9ca([...this[_0x45d1fe(0x314)](_0x1376cb),_0x2f167f,...this[_0x45d1fe(0x4f7)](_0x1376cb,_0x41583e,_0x411f4f,_0x156639)]):_0xbcd9ca([_0x2f167f,..._0x3003f7[_0x45d1fe(0x49a)][_0x45d1fe(0xac)]?[this['setRangeValues'](_0x1376cb,_0x41583e,_0x3003f7[_0x45d1fe(0x49a)])]:[]]);}[_0x565318(0x46e)](_0x4f20ca,_0x4892c0,_0x3b45c9,_0x168fce){const _0x5e2c11=_0x565318;return this[_0x5e2c11(0x4d3)](_0x4f20ca,_0x4892c0,_0x3b45c9,_0x168fce);}[_0x565318(0x3f0)](_0x2c68ea,_0x331cb1,_0x4bbdb3){const _0x3c6341=_0x565318;let _0x574869=_0x2c68ea[_0x3c6341(0x257)][_0x331cb1];if(!(_0x574869!=null&&_0x574869[_0x3c6341(0x375)][_0x4bbdb3])||_0x574869['primaryFieldId']===_0x4bbdb3||_0x4bbdb3===_0x4dff15[_0x3c6341(0x432)])return _0x4dff15[_0x3c6341(0x444)][_0x3c6341(0x302)]([_0x3c6341(0x257),_0x331cb1,'fieldOrder'],_0x574869==null?void 0x0:_0x574869[_0x3c6341(0x2c3)],_0x574869==null?void 0x0:_0x574869[_0x3c6341(0x2c3)]);let _0xf1b82=_0x574869[_0x3c6341(0x2c3)][_0x3c6341(0x321)](_0x4bbdb3),_0x1bff7d=Object[_0x3c6341(0x3dd)](_0x574869[_0x3c6341(0x353)])['flatMap'](_0x30fd22=>{const _0x144f1c=_0x3c6341;var _0x171fe8,_0x4167db,_0x2c2993,_0x8717b3,_0x3883c4,_0x588be2,_0x364fb5;let _0x22c686=[],_0x3b185c=((_0x171fe8=_0x30fd22['fieldOrder'])==null?void 0x0:_0x171fe8['indexOf'](_0x4bbdb3))??-0x1;_0x3b185c>=0x0&&_0x22c686[_0x144f1c(0xfb)](_0x4dff15['JSON1'][_0x144f1c(0x327)]([..._0x142758['view'](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x2c3),_0x3b185c],_0x4bbdb3));let _0x21d4f5=(_0x4167db=_0x30fd22['fieldSettings'])==null?void 0x0:_0x4167db[_0x4bbdb3];_0x21d4f5!==void 0x0&&_0x22c686['push'](_0x4dff15[_0x144f1c(0x444)][_0x144f1c(0x327)]([..._0x142758[_0x144f1c(0x22c)](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x416),_0x4bbdb3],_0x21d4f5));let _0x1671a1=_0x30fd22[_0x144f1c(0x2ee)]?{..._0x30fd22[_0x144f1c(0x2ee)],'conditions':_0x30fd22[_0x144f1c(0x2ee)][_0x144f1c(0x364)][_0x144f1c(0x2ee)](_0xf1621a=>_0xf1621a[_0x144f1c(0x351)]!==_0x4bbdb3)}:_0x30fd22['filter'];_0x1671a1&&_0x1671a1['conditions'][_0x144f1c(0xac)]!==((_0x2c2993=_0x30fd22['filter'])==null?void 0x0:_0x2c2993[_0x144f1c(0x364)][_0x144f1c(0xac)])&&_0x22c686[_0x144f1c(0xfb)](this[_0x144f1c(0xb4)]([..._0x142758[_0x144f1c(0x22c)](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x2ee)],_0x30fd22[_0x144f1c(0x2ee)],_0x1671a1));let _0x41c8ef=(_0x8717b3=_0x30fd22['sort'])==null?void 0x0:_0x8717b3['filter'](_0x23e3cf=>_0x23e3cf[_0x144f1c(0x351)]!==_0x4bbdb3);_0x41c8ef&&_0x41c8ef[_0x144f1c(0xac)]!==((_0x3883c4=_0x30fd22[_0x144f1c(0x27f)])==null?void 0x0:_0x3883c4[_0x144f1c(0xac)])&&_0x22c686[_0x144f1c(0xfb)](this[_0x144f1c(0xb4)]([..._0x142758[_0x144f1c(0x22c)](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x27f)],_0x30fd22[_0x144f1c(0x27f)],_0x41c8ef));let _0x4a8c67=(_0x588be2=_0x30fd22[_0x144f1c(0x195)])==null?void 0x0:_0x588be2['filter'](_0x19407e=>_0x19407e[_0x144f1c(0x351)]!==_0x4bbdb3);_0x4a8c67&&_0x4a8c67[_0x144f1c(0xac)]!==((_0x364fb5=_0x30fd22['group'])==null?void 0x0:_0x364fb5[_0x144f1c(0xac)])&&_0x22c686['push'](this[_0x144f1c(0xb4)]([..._0x142758['view'](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x195)],_0x30fd22[_0x144f1c(0x195)],_0x4a8c67));let _0x18e071=_0x2f8f63(_0x30fd22[_0x144f1c(0x2c6)],_0x4bbdb3);return JSON['stringify'](_0x18e071)!==JSON[_0x144f1c(0x2ea)](_0x30fd22[_0x144f1c(0x2c6)])&&_0x22c686[_0x144f1c(0xfb)](_0x4dff15['JSON1']['replaceOp']([..._0x142758['view'](_0x331cb1,_0x30fd22['id']),_0x144f1c(0x2c6)],_0x30fd22[_0x144f1c(0x2c6)],_0x18e071)),_0x22c686;}),_0x1b1262=Object[_0x3c6341(0x3dd)](_0x574869[_0x3c6341(0x17e)])[_0x3c6341(0x3d1)](_0x328369=>Object[_0x3c6341(0x3f7)]['hasOwnProperty'][_0x3c6341(0x3b3)](_0x328369['values'],_0x4bbdb3)?[_0x4dff15[_0x3c6341(0x444)][_0x3c6341(0x327)](_0x142758[_0x3c6341(0x381)](_0x331cb1,_0x328369['id'],_0x4bbdb3),_0x328369[_0x3c6341(0x3dd)][_0x4bbdb3])]:[]);return _0xbcd9ca([_0x4dff15['JSON1'][_0x3c6341(0x327)](_0x142758[_0x3c6341(0x17a)](_0x331cb1,_0x4bbdb3),_0x574869[_0x3c6341(0x375)][_0x4bbdb3]),_0x4dff15[_0x3c6341(0x444)][_0x3c6341(0x327)](_0x142758[_0x3c6341(0x2c3)](_0x331cb1,_0xf1b82),_0x4bbdb3),..._0x1bff7d,..._0x1b1262,...this[_0x3c6341(0x403)](_0x574869,_0x331cb1,_0x1a5cb5=>_0x1a5cb5[_0x3c6341(0xff)](_0x4bbdb3+'\x1f'))]);}[_0x565318(0x39e)](_0x20911b,_0x15afde,_0x5aaed1,_0x57a265){const _0x1793b3=_0x565318;let _0x5acc6a=_0x20911b[_0x1793b3(0x257)][_0x15afde][_0x1793b3(0x2c3)];if(_0x5aaed1===_0x4dff15['BASE_RECORD_ID_FIELD_ID']||_0x57a265[_0x1793b3(0x1e9)]===_0x4dff15[_0x1793b3(0x432)])throw Error(_0x1793b3(0x4de));let _0x1cda92=_0x1fc6be(_0x5acc6a,_0x5aaed1,_0x57a265);return _0x4dff15[_0x1793b3(0x444)][_0x1793b3(0x302)](['tables',_0x15afde,_0x1793b3(0x2c3)],_0x5acc6a,_0x1cda92);}[_0x565318(0x430)](_0x20ef47,_0xb3981c,_0x46c72e,_0xfb491f=_0x20ef47[_0x565318(0x257)][_0xb3981c][_0x565318(0x45e)][_0x565318(0xac)]){const _0x5031a0=_0x565318;return _0xbcd9ca([_0x4dff15['JSON1'][_0x5031a0(0x369)](_0x142758['view'](_0xb3981c,_0x46c72e['id']),_0x46c72e),_0x4dff15[_0x5031a0(0x444)][_0x5031a0(0x369)]([_0x5031a0(0x257),_0xb3981c,_0x5031a0(0x45e),_0xfb491f],_0x46c72e['id'])]);}[_0x565318(0xb6)](_0x26c7a3,_0x18c37c,_0x5954df,_0x1b649c){const _0x120237=_0x565318;return _0x4dff15[_0x120237(0x444)][_0x120237(0x302)]([..._0x142758[_0x120237(0x22c)](_0x18c37c,_0x5954df),_0x120237(0x177)],_0x26c7a3[_0x120237(0x257)][_0x18c37c][_0x120237(0x353)][_0x5954df][_0x120237(0x177)],_0x1b649c);}[_0x565318(0x1ec)](_0x3285e8,_0x61bdae,_0x306658){const _0x1cad19=_0x565318;let _0x5334fa=_0x3285e8['tables'][_0x61bdae],_0xe294d8=_0x5334fa['views'][_0x306658],_0x149726=_0x5334fa[_0x1cad19(0x45e)][_0x1cad19(0x321)](_0x306658);return _0xbcd9ca([_0x4dff15['JSON1'][_0x1cad19(0x327)](_0x142758['view'](_0x61bdae,_0x306658),_0xe294d8),_0x4dff15[_0x1cad19(0x444)][_0x1cad19(0x327)]([_0x1cad19(0x257),_0x61bdae,_0x1cad19(0x45e),_0x149726],_0x306658)]);}[_0x565318(0x44e)](_0x1af2c1,_0x1ae281,_0x37281f,_0x25861d){const _0x1fd915=_0x565318;let _0x3933a7=_0x1af2c1[_0x1fd915(0x257)][_0x1ae281]['viewOrder'],_0x5ae415=_0x1fc6be(_0x3933a7,_0x37281f,{'beforeFieldId':_0x25861d[_0x1fd915(0x360)],'afterFieldId':_0x25861d['afterViewId']});return _0x4dff15['JSON1'][_0x1fd915(0x302)]([_0x1fd915(0x257),_0x1ae281,_0x1fd915(0x45e)],_0x3933a7,_0x5ae415);}[_0x565318(0x292)](_0x4a459e,_0x17aaab,_0x4d4500,_0x38461e){const _0x439d=_0x565318;let _0x2650fb=_0x4a459e[_0x439d(0x257)][_0x17aaab][_0x439d(0x353)][_0x4d4500][_0x439d(0x2c6)]??{},_0x31bb99={..._0x2650fb,..._0x38461e};return Object[_0x439d(0x446)](_0x38461e)[_0x439d(0x207)](_0x10bf37=>{_0x38461e[_0x10bf37]===void 0x0&&delete _0x31bb99[_0x10bf37];}),_0x4dff15['JSON1'][_0x439d(0x302)]([..._0x142758[_0x439d(0x22c)](_0x17aaab,_0x4d4500),_0x439d(0x2c6)],_0x2650fb,_0x31bb99);}[_0x565318(0x111)](_0x4c4380,_0x3fe554,_0x180192,_0x575760){const _0x4b4ad4=_0x565318;return this[_0x4b4ad4(0xb4)]([..._0x142758[_0x4b4ad4(0x22c)](_0x3fe554,_0x180192),_0x4b4ad4(0x2ee)],_0x4c4380[_0x4b4ad4(0x257)][_0x3fe554][_0x4b4ad4(0x353)][_0x180192][_0x4b4ad4(0x2ee)],_0x575760);}[_0x565318(0x323)](_0x461346,_0x5e17c7,_0x17830e,_0x286417){const _0x1f6766=_0x565318;return this['_replaceOptional']([..._0x142758['view'](_0x5e17c7,_0x17830e),_0x1f6766(0x27f)],_0x461346['tables'][_0x5e17c7][_0x1f6766(0x353)][_0x17830e]['sort'],_0x286417);}[_0x565318(0x12b)](_0x146067,_0x5786eb,_0x786578,_0x60597f){const _0x206624=_0x565318;return this[_0x206624(0xb4)]([..._0x142758[_0x206624(0x22c)](_0x5786eb,_0x786578),_0x206624(0x195)],_0x146067['tables'][_0x5786eb]['views'][_0x786578][_0x206624(0x195)],_0x60597f);}[_0x565318(0x133)](_0x388b0c,_0x194c23,_0x1ba9d5,_0x177189,_0x3191a5){const _0x559634=_0x565318;return this[_0x559634(0x4a2)](_0x388b0c,_0x194c23,_0x1ba9d5,_0x177189,{'hidden':!_0x3191a5});}[_0x565318(0x175)](_0xe489ae,_0x48a101,_0x75918d,_0x2d95dd,_0x4491e8){const _0x2537b2=_0x565318;return this[_0x2537b2(0x4a2)](_0xe489ae,_0x48a101,_0x75918d,_0x2d95dd,{'width':_0x4491e8});}[_0x565318(0x47c)](_0x527b8f,_0x5c8572,_0x3f2c55,_0x21e905,_0x3faa45){const _0x5e6d85=_0x565318;let _0x460707=_0x527b8f['tables'][_0x5c8572][_0x5e6d85(0x353)][_0x3f2c55],_0x1193cf=_0x1fc6be(_0x460707[_0x5e6d85(0x2c3)]??_0x527b8f[_0x5e6d85(0x257)][_0x5c8572][_0x5e6d85(0x2c3)],_0x21e905,_0x3faa45);return this[_0x5e6d85(0xb4)]([..._0x142758['view'](_0x5c8572,_0x3f2c55),_0x5e6d85(0x2c3)],_0x460707[_0x5e6d85(0x2c3)],_0x1193cf);}[_0x565318(0x4a2)](_0x384b1b,_0x3ff2ad,_0x5553cd,_0x5911b7,_0xbee0b4){const _0xd5af4e=_0x565318;let _0x399d7a=_0x384b1b[_0xd5af4e(0x257)][_0x3ff2ad][_0xd5af4e(0x353)][_0x5553cd][_0xd5af4e(0x416)]??{},_0x477e86={..._0x399d7a,[_0x5911b7]:{..._0x399d7a[_0x5911b7],..._0xbee0b4}};return this['_replaceOptional']([..._0x142758[_0xd5af4e(0x22c)](_0x3ff2ad,_0x5553cd),_0xd5af4e(0x416)],_0x384b1b[_0xd5af4e(0x257)][_0x3ff2ad][_0xd5af4e(0x353)][_0x5553cd][_0xd5af4e(0x416)],_0x477e86);}[_0x565318(0x305)](_0x2a3324,_0x27aa07,_0xad2389){const _0x865a70=_0x565318;let _0x2568b5=_0x2a3324['tables'][_0x27aa07],_0x10d38b=new Set(_0xad2389['map'](_0x31898e=>_0x31898e['id'])),_0x4b9452=[...Object[_0x865a70(0x3dd)](_0x2568b5[_0x865a70(0x17e)])[_0x865a70(0x2ee)](_0x19d8c3=>!_0x10d38b[_0x865a70(0x336)](_0x19d8c3['id'])),..._0xad2389]['sort']((_0x57abcf,_0x43a598)=>String(_0x57abcf[_0x865a70(0x2f6)]??_0x57abcf['id'])[_0x865a70(0xcb)](String(_0x43a598[_0x865a70(0x2f6)]??_0x43a598['id'])))[_0x865a70(0x2e7)](_0x1bbd68=>_0x1bbd68['id']),_0x114246=[..._0x142758[_0x865a70(0x37e)](_0x27aa07),_0x865a70(0x135)];return _0x2568b5[_0x865a70(0x135)]?_0x4dff15[_0x865a70(0x444)][_0x865a70(0x302)](_0x114246,_0x2568b5['recordOrder'],_0x4b9452):_0x4dff15[_0x865a70(0x444)][_0x865a70(0x369)](_0x114246,_0x4b9452);}[_0x565318(0x314)](_0xa78b0,_0x510a4d=new Set()){const _0x443499=_0x565318;let _0x51d959=(0x0,_0x4dff15['createBaseFormulaTableNameMap'])(_0xa78b0);return Object['values'](_0xa78b0[_0x443499(0x257)])[_0x443499(0x2ee)](_0x4ec9af=>!_0x510a4d[_0x443499(0x336)](_0x4ec9af['id']))[_0x443499(0x27f)]((_0x2c88b8,_0x3a5804)=>_0x2c88b8['id'][_0x443499(0xcb)](_0x3a5804['id']))[_0x443499(0x3d1)](_0x2ab595=>{const _0x173a81=_0x443499;let _0x4b2248=_0x51d959['get'](_0x2ab595['id']);return!_0x4b2248||_0x2ab595[_0x173a81(0x2ef)]===_0x4b2248?[]:[this[_0x173a81(0xb4)]([..._0x142758[_0x173a81(0x37e)](_0x2ab595['id']),_0x173a81(0x2ef)],_0x2ab595['formulaName'],_0x4b2248)];});}['_setFormulaFieldCells'](_0x4972da,_0x245bb8,_0x239de1,_0xde25b){const _0x488d3d=_0x565318;var _0x34f837,_0x1681a7;let _0x3cb114=_0x21979c(_0x4972da[_0x488d3d(0x257)][_0x245bb8]),_0x5186b0=String(((_0x34f837=_0xde25b[_0x488d3d(0x2c6)])==null?void 0x0:_0x34f837['formula'])??'')[_0x488d3d(0x3b1)](),_0x5988cd=(_0x1681a7=_0x3cb114['colIndex'])==null?void 0x0:_0x1681a7[_0x239de1];if(_0x5988cd==null)return[];let _0x1ae820=_0x3cb114[_0x488d3d(0x135)]??Object['keys'](_0x3cb114[_0x488d3d(0x17e)]),_0x10e283=_0x1ae820[_0x488d3d(0x2e7)](_0xbab4ae=>{const _0x4ded9c=_0x488d3d;var _0x84374d;return(_0x84374d=_0x3cb114[_0x4ded9c(0x1d4)])==null?void 0x0:_0x84374d[_0xbab4ae];})[_0x488d3d(0x3f5)](_0x3abb32=>_0x3abb32!=null);return _0x1ae820[_0x488d3d(0x3d1)](_0x17498a=>{const _0x41593a=_0x488d3d;var _0x5c084f,_0x8fa7b1;let _0x3fce7e=(_0x5c084f=_0x3cb114[_0x41593a(0x1d4)])==null?void 0x0:_0x5c084f[_0x17498a];if(_0x3fce7e==null)return[];let _0x564c42=(_0x8fa7b1=_0x3cb114[_0x41593a(0x1a0)])==null||(_0x8fa7b1=_0x8fa7b1[_0x3fce7e])==null?void 0x0:_0x8fa7b1[_0x5988cd],_0x2bd2d4=_0x5186b0?_0x3fce7e===_0x10e283?{'f':_0x5186b0,'si':_0x239de1}:{'si':_0x239de1}:{'v':null,'t':null};return[this[_0x41593a(0xb4)](_0x142758[_0x41593a(0x1a0)](_0x245bb8,_0x3fce7e,_0x5988cd),_0x564c42,_0x2bd2d4)];});}[_0x565318(0xbe)](_0x30bf33,_0x1d6818,_0x1b8f43){const _0x495f2b=_0x565318;var _0x524664;let _0x5465bc=new Map(Object[_0x495f2b(0x2b1)](((_0x524664=_0x30bf33[_0x495f2b(0x299)])==null?void 0x0:_0x524664[_0x495f2b(0x235)])??{})),_0x1d89e9=new Map(),_0x516f84=new Set(),_0x2f3e9a=_0x1b8f43[_0x495f2b(0x2e7)](({recordId:_0x2a26f0,fieldId:_0x97f736,attachments:_0x467760})=>{const _0x4d97ba=_0x495f2b;var _0xe00363;let _0x3d3aba=_0x247dbe(_0x97f736,_0x2a26f0),_0x2312ea=_0x467760[_0x4d97ba(0x2e7)]((_0x8dd215,_0x496c8c)=>String(_0x8dd215['id']??_0x3d3aba+'\x1f'+_0x496c8c));return _0x516f84['add'](_0x3d3aba),_0x5465bc[_0x4d97ba(0xe4)](_0x3d3aba,_0x2312ea),_0x467760[_0x4d97ba(0x207)]((_0xca6003,_0x1c3afc)=>{let _0x15b5be=_0x2312ea[_0x1c3afc];_0x1d89e9['set'](_0x15b5be,{..._0xca6003,'id':_0x15b5be});}),this['_replaceOptional'](_0x142758[_0x4d97ba(0x181)](_0x1d6818,_0x3d3aba),(_0xe00363=_0x30bf33[_0x4d97ba(0x299)])==null||(_0xe00363=_0xe00363[_0x4d97ba(0x235)])==null?void 0x0:_0xe00363[_0x3d3aba],_0x2312ea);}),_0x3fe824=Array['from'](_0x1d89e9)[_0x495f2b(0x2e7)](([_0x130040,_0x1de7bf])=>{const _0x930612=_0x495f2b;var _0xbe4f6c;return this['_replaceOptional'](_0x142758['attachment'](_0x1d6818,_0x130040),(_0xbe4f6c=_0x30bf33[_0x930612(0x299)])==null||(_0xbe4f6c=_0xbe4f6c[_0x930612(0x193)])==null?void 0x0:_0xbe4f6c[_0x130040],_0x1de7bf);}),_0x15b88e=new Set(Array['from'](_0x5465bc[_0x495f2b(0x3dd)]())[_0x495f2b(0x171)]()),_0x53fdf3=new Set(Array[_0x495f2b(0x397)](_0x516f84)[_0x495f2b(0x3d1)](_0x22e80a=>{const _0x472a18=_0x495f2b;var _0x51147c;return((_0x51147c=_0x30bf33['resources'])==null||(_0x51147c=_0x51147c[_0x472a18(0x235)])==null?void 0x0:_0x51147c[_0x22e80a])??[];})),_0x50c96a=Array['from'](_0x53fdf3)['flatMap'](_0x1ae0db=>{const _0x157874=_0x495f2b;var _0x419cbc;let _0x3fdcd2=(_0x419cbc=_0x30bf33[_0x157874(0x299)])==null||(_0x419cbc=_0x419cbc[_0x157874(0x193)])==null?void 0x0:_0x419cbc[_0x1ae0db];return _0x3fdcd2!==void 0x0&&!_0x15b88e[_0x157874(0x336)](_0x1ae0db)?[_0x4dff15[_0x157874(0x444)][_0x157874(0x327)](_0x142758[_0x157874(0x40e)](_0x1d6818,_0x1ae0db),_0x3fdcd2)]:[];});return[..._0x2f3e9a,..._0x3fe824,..._0x50c96a];}['_deleteAttachmentResources'](_0x38ac1d,_0x358b4b,_0x495013){const _0x1753bd=_0x565318;var _0x4f9d22;let _0x21ceb7=((_0x4f9d22=_0x38ac1d[_0x1753bd(0x299)])==null?void 0x0:_0x4f9d22[_0x1753bd(0x235)])??{},_0x3559ec=Object[_0x1753bd(0x2b1)](_0x21ceb7)['filter'](([_0x54dce8])=>_0x495013(_0x54dce8));if(!_0x3559ec[_0x1753bd(0xac)])return[];let _0x3d5045=new Set(Object[_0x1753bd(0x2b1)](_0x21ceb7)[_0x1753bd(0x2ee)](([_0x39d050])=>!_0x495013(_0x39d050))[_0x1753bd(0x3d1)](([,_0xfa33c5])=>_0xfa33c5)),_0x4ea4be=new Set(_0x3559ec[_0x1753bd(0x3d1)](([,_0x33bf29])=>_0x33bf29));return[..._0x3559ec[_0x1753bd(0x2e7)](([_0x4e4982,_0x32dd75])=>_0x4dff15[_0x1753bd(0x444)][_0x1753bd(0x327)](_0x142758[_0x1753bd(0x181)](_0x358b4b,_0x4e4982),_0x32dd75)),...Array[_0x1753bd(0x397)](_0x4ea4be)['flatMap'](_0x36ad67=>{const _0x3077f4=_0x1753bd;var _0x9e999a;let _0xc75f5=(_0x9e999a=_0x38ac1d['resources'])==null||(_0x9e999a=_0x9e999a['attachments'])==null?void 0x0:_0x9e999a[_0x36ad67];return _0xc75f5!==void 0x0&&!_0x3d5045[_0x3077f4(0x336)](_0x36ad67)?[_0x4dff15[_0x3077f4(0x444)][_0x3077f4(0x327)](_0x142758[_0x3077f4(0x40e)](_0x358b4b,_0x36ad67),_0xc75f5)]:[];})];}[_0x565318(0xb4)](_0x1b620b,_0x40ea15,_0x5e1704){const _0xb0dc12=_0x565318;return _0x40ea15===void 0x0?_0x4dff15[_0xb0dc12(0x444)][_0xb0dc12(0x369)](_0x1b620b,_0x5e1704):_0x4dff15[_0xb0dc12(0x444)]['replaceOp'](_0x1b620b,_0x40ea15,_0x5e1704);}};function _0x426685(_0x54513b,_0x37ed4d,_0x66a37d,_0x2b7eeb){const _0x31fabb=_0x565318;var _0x5346be;let _0x44d8ef=_0x2b7eeb['type'];if(_0x66a37d[_0x31fabb(0x1dd)]!==_0x44d8ef||_0x44d8ef!==_0x4dff15[_0x31fabb(0x352)][_0x31fabb(0x3e8)]&&_0x44d8ef!==_0x4dff15['BaseFieldType'][_0x31fabb(0x23e)]||_0x2715c6(_0x2b7eeb[_0x31fabb(0x2c6)][_0x31fabb(0xa8)]))return{'field':_0x2b7eeb,'patches':[]};let _0x3e46d2=_0xb0de30(_0x66a37d),_0x539c6e=_0xb0de30(_0x2b7eeb);if(![..._0x3e46d2][_0x31fabb(0x1a5)](_0x16f7df=>!_0x539c6e[_0x31fabb(0x336)](_0x16f7df)))return{'field':_0x2b7eeb,'patches':[]};let _0x101ece=_0x3e22b8(_0x2b7eeb[_0x31fabb(0x260)],_0x539c6e,_0x44d8ef),_0x547820=_0x356db2(_0x101ece,_0x2b7eeb['defaultValue'])?_0x2b7eeb:{..._0x2b7eeb,'defaultValue':_0x101ece},_0x3586eb=_0x21979c(_0x54513b),_0xa74a1a=(_0x5346be=_0x3586eb[_0x31fabb(0x2e0)])==null?void 0x0:_0x5346be[_0x37ed4d];return _0xa74a1a==null?{'field':_0x547820,'patches':[]}:{'field':_0x547820,'patches':(_0x3586eb[_0x31fabb(0x135)]??[])[_0x31fabb(0x3d1)](_0x593522=>{const _0x34cf20=_0x31fabb;var _0x49b88b,_0x77ba1c;let _0x2f70b9=(_0x49b88b=_0x3586eb['rowIndex'])==null?void 0x0:_0x49b88b[_0x593522],_0xe4f6bd=(_0x77ba1c=_0x3586eb[_0x34cf20(0x17e)][_0x593522])==null?void 0x0:_0x77ba1c[_0x34cf20(0x3dd)][_0x37ed4d],_0x1546c7=_0x3e22b8(_0xe4f6bd,_0x539c6e,_0x44d8ef);return _0x2f70b9==null||_0x356db2(_0x1546c7,_0xe4f6bd)?[]:[{'row':_0x2f70b9,'col':_0xa74a1a,'value':_0x1546c7??null}];})};}function _0x2715c6(_0x240278){const _0x100fb6=_0x565318;return typeof _0x240278==_0x100fb6(0x35c)&&!!_0x240278&&_0x100fb6(0x1dd)in _0x240278&&_0x240278[_0x100fb6(0x1dd)]==='field';}function _0xb0de30(_0x13a2d5){const _0x32fe86=_0x565318;var _0x156226;let _0x501cc6=Array[_0x32fe86(0x1eb)]((_0x156226=_0x13a2d5[_0x32fe86(0x2c6)])==null?void 0x0:_0x156226[_0x32fe86(0x482)])?_0x13a2d5[_0x32fe86(0x2c6)][_0x32fe86(0x482)]:[];return new Set(_0x501cc6[_0x32fe86(0x3d1)](_0x3f40c8=>{if(!_0x3f40c8||typeof _0x3f40c8!='object'||!('id'in _0x3f40c8))return[];let _0x1c0389=String(_0x3f40c8['id']);return _0x1c0389?[_0x1c0389]:[];}));}function _0x3e22b8(_0x38702d,_0xcd5f60,_0x45823d){const _0x48bf3c=_0x565318;if(_0x38702d==null||_0x38702d==='')return _0x38702d;if(_0x45823d===_0x4dff15[_0x48bf3c(0x352)][_0x48bf3c(0x3e8)])return _0xcd5f60[_0x48bf3c(0x336)](String(_0x38702d))?_0x38702d:null;let _0xc1a243=Array[_0x48bf3c(0x1eb)](_0x38702d)?_0x38702d[_0x48bf3c(0x2e7)](String):String(_0x38702d)['split'](',')[_0x48bf3c(0x2e7)](_0x251a86=>_0x251a86[_0x48bf3c(0x3b1)]())[_0x48bf3c(0x2ee)](Boolean),_0x56bf04=_0xc1a243['filter'](_0x5d8587=>_0xcd5f60['has'](_0x5d8587));return _0x56bf04['length']===_0xc1a243[_0x48bf3c(0xac)]?_0x38702d:Array[_0x48bf3c(0x1eb)](_0x38702d)?_0x56bf04:String(_0x38702d)[_0x48bf3c(0x3d2)](',')?_0x56bf04['join'](','):_0x56bf04[0x0]??[];}function _0x356db2(_0x2a0de0,_0x2c4e1b){return JSON['stringify'](_0x2a0de0)===JSON['stringify'](_0x2c4e1b);}function _0x14c7e1(_0x74ac83,_0x5df4a2,_0xf8e77){const _0xbcd7e6=_0x565318;var _0x3d6d1f,_0x30a585,_0x3f08c4,_0x402a6e;let _0x41dafa=(_0x3d6d1f=_0x74ac83[_0xbcd7e6(0x1d4)])==null?void 0x0:_0x3d6d1f[_0x5df4a2],_0x29c780=(_0x30a585=_0x74ac83['colIndex'])==null?void 0x0:_0x30a585[_0xf8e77];return _0x41dafa!=null&&_0x29c780!=null&&((_0x3f08c4=_0x74ac83[_0xbcd7e6(0x460)])==null?void 0x0:_0x3f08c4[_0x41dafa])===_0x5df4a2&&((_0x402a6e=_0x74ac83[_0xbcd7e6(0x454)])==null?void 0x0:_0x402a6e[_0x29c780])===_0xf8e77&&_0x74ac83[_0xbcd7e6(0x1a0)]!=null;}function _0xafb11(_0x2cb2a2,_0x2823,_0x2cfa8a){const _0x2d5e92=_0x565318;var _0x116fdc,_0x3cd65a;return((_0x116fdc=_0x2cb2a2[_0x2d5e92(0x460)])==null?void 0x0:_0x116fdc[_0x2823])!=null&&((_0x3cd65a=_0x2cb2a2[_0x2d5e92(0x454)])==null?void 0x0:_0x3cd65a[_0x2cfa8a])!=null&&_0x2cb2a2[_0x2d5e92(0x1a0)]!=null;}function _0x1fc6be(_0x1e5983,_0x51dfaf,_0x36f1b6){const _0x1468eb=_0x565318;let _0x515cce=_0x1e5983[_0x1468eb(0x2ee)](_0x2e56d3=>_0x2e56d3!==_0x51dfaf),_0x245f97=_0x36f1b6[_0x1468eb(0x1e9)]?_0x515cce[_0x1468eb(0x321)](_0x36f1b6[_0x1468eb(0x1e9)]):_0x36f1b6['afterFieldId']?_0x515cce[_0x1468eb(0x321)](_0x36f1b6[_0x1468eb(0xc3)])+0x1:_0x515cce['length'];return _0x515cce['splice'](_0x245f97<0x0?_0x515cce[_0x1468eb(0xac)]:_0x245f97,0x0,_0x51dfaf),_0x515cce;}function _0x43cd26(_0x35af22,_0x346451,_0x217fc8){const _0x1636a9=_0x565318;let _0x8eb6f=_0x35af22[_0x1636a9(0x2ee)](_0x82f20d=>_0x82f20d!==_0x346451);return _0x8eb6f[_0x1636a9(0x236)](_0x278e24(_0x217fc8,_0x8eb6f[_0x1636a9(0xac)]),0x0,_0x346451),_0x8eb6f;}function _0x2f8f63(_0x521e81,_0x52aba9,_0x5416e9){const _0x2c137b=_0x565318;if(Array['isArray'](_0x521e81))return _0x5416e9==='fieldIds'?_0x521e81[_0x2c137b(0x2ee)](_0x277c88=>_0x277c88!==_0x52aba9):_0x521e81['flatMap'](_0x39c0e5=>{const _0x4bb568=_0x2c137b;if(_0x39c0e5&&typeof _0x39c0e5=='object'&&!Array[_0x4bb568(0x1eb)](_0x39c0e5)&&_0x39c0e5[_0x4bb568(0x351)]===_0x52aba9)return[];let _0x334c12=_0x2f8f63(_0x39c0e5,_0x52aba9);return _0x334c12===void 0x0?[]:[_0x334c12];});if(!_0x521e81||typeof _0x521e81!='object')return _0x5416e9!=null&&_0x5416e9[_0x2c137b(0x490)](_0x2c137b(0x2a3))&&_0x521e81===_0x52aba9?void 0x0:_0x521e81;let _0x496c9b=_0x521e81;if(_0x496c9b['fieldId']!==_0x52aba9)return Object[_0x2c137b(0x2cc)](Object[_0x2c137b(0x2b1)](_0x496c9b)['flatMap'](([_0xf5a2d7,_0x5b1437])=>{const _0x21f45f=_0x2c137b;if(_0xf5a2d7===_0x52aba9&&_0x5416e9===_0x21f45f(0x416))return[];let _0x222691=_0x2f8f63(_0x5b1437,_0x52aba9,_0xf5a2d7);return _0x222691===void 0x0?[]:[[_0xf5a2d7,_0x222691]];}));}function _0x278e24(_0x4cc394,_0x452368){const _0x347f5c=_0x565318;return Math[_0x347f5c(0x10a)](0x0,Math[_0x347f5c(0x3b0)](_0x4cc394,_0x452368));}function _0x9691f3(_0x3afe86){'@babel/helpers - typeof';const _0x17602b=_0x565318;return _0x9691f3=typeof Symbol==_0x17602b(0x42f)&&typeof Symbol[_0x17602b(0x3fc)]==_0x17602b(0x142)?function(_0x61e2e0){return typeof _0x61e2e0;}:function(_0x1a7bf7){const _0x37ee56=_0x17602b;return _0x1a7bf7&&typeof Symbol=='function'&&_0x1a7bf7[_0x37ee56(0x1b4)]===Symbol&&_0x1a7bf7!==Symbol[_0x37ee56(0x3f7)]?'symbol':typeof _0x1a7bf7;},_0x9691f3(_0x3afe86);}function _0x4241c1(_0x16616e,_0x23a563){const _0x5b6249=_0x565318;if(_0x9691f3(_0x16616e)!=_0x5b6249(0x35c)||!_0x16616e)return _0x16616e;var _0x28b782=_0x16616e[Symbol[_0x5b6249(0x1cb)]];if(_0x28b782!==void 0x0){var _0x5bfadc=_0x28b782['call'](_0x16616e,_0x23a563||_0x5b6249(0x4af));if(_0x9691f3(_0x5bfadc)!=_0x5b6249(0x35c))return _0x5bfadc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x23a563===_0x5b6249(0x17d)?String:Number)(_0x16616e);}function _0x290983(_0x35068a){const _0x4e4d48=_0x565318;var _0x1afaa6=_0x4241c1(_0x35068a,_0x4e4d48(0x17d));return _0x9691f3(_0x1afaa6)==_0x4e4d48(0x142)?_0x1afaa6:_0x1afaa6+'';}function _0x446da5(_0x26312a,_0x5d9818,_0xd74315){const _0x5154be=_0x565318;return(_0x5d9818=_0x290983(_0x5d9818))in _0x26312a?Object[_0x5154be(0x255)](_0x26312a,_0x5d9818,{'value':_0xd74315,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26312a[_0x5d9818]=_0xd74315,_0x26312a;}let _0x237d9a=(0x0,_0x4dff15[_0x565318(0x238)])(_0x565318(0x3d8));var _0x150cfc=class extends _0x4dff15[_0x565318(0x4b6)]{constructor(..._0x288453){const _0x555803=_0x565318;super(..._0x288453),_0x446da5(this,_0x555803(0x1ae),new Map());}['register'](_0x2ca2d6){const _0x3eac2b=_0x565318;return this[_0x3eac2b(0x1ae)][_0x3eac2b(0xe4)](_0x2ca2d6[_0x3eac2b(0x1dd)],_0x2ca2d6),(0x0,_0x4dff15[_0x3eac2b(0xd3)])(()=>this[_0x3eac2b(0x1ae)][_0x3eac2b(0x3f8)](_0x2ca2d6['type']));}[_0x565318(0x2fe)](_0x2b6a97){const _0x23a7f5=_0x565318;let _0x5db7a4=this[_0x23a7f5(0x1ae)]['get'](_0x2b6a97);if(!_0x5db7a4)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x2b6a97+'\x22\x20is\x20not\x20registered.');return _0x5db7a4;}[_0x565318(0x20d)](_0x1febbd){const _0x249ea8=_0x565318;return this[_0x249ea8(0x1ae)]['get'](_0x1febbd);}['getAll'](){const _0x21ead7=_0x565318;return Array[_0x21ead7(0x397)](this[_0x21ead7(0x1ae)][_0x21ead7(0x3dd)]());}},_0xe9fbc2=class{constructor(_0x200499){const _0x41f886=_0x565318;this[_0x41f886(0x1ca)]=_0x200499,_0x446da5(this,_0x41f886(0x1dd),_0x7620fc['UnitObject']['Base']),_0x446da5(this,_0x41f886(0x131),_0x7620fc['UnitAction'][_0x41f886(0x44a)]),_0x446da5(this,_0x41f886(0x2e4),_0x4dff15[_0x41f886(0x363)][_0x41f886(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x41f886(0x3a9),!0x0),this['id']=this[_0x41f886(0x1dd)]+'.'+this[_0x41f886(0x131)]+'_'+_0x200499;}},_0x2ddbc1=class{constructor(_0x1da861){const _0x5ae324=_0x565318;this[_0x5ae324(0x1ca)]=_0x1da861,_0x446da5(this,_0x5ae324(0x1dd),_0x7620fc[_0x5ae324(0x1ac)][_0x5ae324(0x17c)]),_0x446da5(this,'subType',_0x7620fc['UnitAction'][_0x5ae324(0x471)]),_0x446da5(this,_0x5ae324(0x2e4),_0x4dff15[_0x5ae324(0x363)][_0x5ae324(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x5ae324(0x3a9),!0x0),this['id']=this['type']+'.'+this[_0x5ae324(0x131)]+'_'+_0x1da861;}},_0x59fe44=class{constructor(_0x20ad27){const _0x14a3fa=_0x565318;this[_0x14a3fa(0x1ca)]=_0x20ad27,_0x446da5(this,_0x14a3fa(0x1dd),_0x7620fc[_0x14a3fa(0x1ac)][_0x14a3fa(0x17c)]),_0x446da5(this,'subType',_0x7620fc[_0x14a3fa(0xf9)][_0x14a3fa(0xee)]),_0x446da5(this,'status',_0x4dff15[_0x14a3fa(0x363)]['INIT']),_0x446da5(this,'id',void 0x0),_0x446da5(this,'value',!0x0),this['id']=this[_0x14a3fa(0x1dd)]+'.'+this['subType']+'_'+_0x20ad27;}},_0x25e1d7=class{constructor(_0x4896ef){const _0x217b2f=_0x565318;this[_0x217b2f(0x1ca)]=_0x4896ef,_0x446da5(this,'type',_0x7620fc['UnitObject'][_0x217b2f(0x17c)]),_0x446da5(this,_0x217b2f(0x131),_0x7620fc['UnitAction']['Export']),_0x446da5(this,_0x217b2f(0x2e4),_0x4dff15[_0x217b2f(0x363)][_0x217b2f(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x217b2f(0x3a9),!0x0),this['id']=this[_0x217b2f(0x1dd)]+'.'+this[_0x217b2f(0x131)]+'_'+_0x4896ef;}},_0x50d574=class{constructor(_0xa8b576,_0x24974d){const _0x926603=_0x565318;this[_0x926603(0x1ca)]=_0xa8b576,this[_0x926603(0x445)]=_0x24974d,_0x446da5(this,'type',_0x7620fc[_0x926603(0x1ac)]['BaseDashboard']),_0x446da5(this,_0x926603(0x131),_0x7620fc[_0x926603(0xf9)][_0x926603(0xee)]),_0x446da5(this,_0x926603(0x2e4),_0x4dff15[_0x926603(0x363)][_0x926603(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x926603(0x3a9),!0x0),this['id']=this[_0x926603(0x1dd)]+'.'+this['subType']+'_'+_0xa8b576+'_'+_0x24974d;}},_0x3b42a7=class{constructor(_0x350b59,_0x3d7a85){const _0x1faf0c=_0x565318;this[_0x1faf0c(0x1ca)]=_0x350b59,this[_0x1faf0c(0x445)]=_0x3d7a85,_0x446da5(this,_0x1faf0c(0x1dd),_0x7620fc[_0x1faf0c(0x1ac)][_0x1faf0c(0x191)]),_0x446da5(this,_0x1faf0c(0x131),_0x7620fc[_0x1faf0c(0xf9)][_0x1faf0c(0xee)]),_0x446da5(this,_0x1faf0c(0x2e4),_0x4dff15['PermissionStatus'][_0x1faf0c(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x1faf0c(0x3a9),!0x0),this['id']=this['type']+'.'+this[_0x1faf0c(0x131)]+'_'+_0x350b59+'_'+_0x3d7a85;}},_0x252188=class{constructor(_0x289ce4,_0xaa93b2){const _0x182311=_0x565318;this['unitId']=_0x289ce4,this['objectId']=_0xaa93b2,_0x446da5(this,_0x182311(0x1dd),_0x7620fc[_0x182311(0x1ac)][_0x182311(0xdf)]),_0x446da5(this,_0x182311(0x131),_0x7620fc[_0x182311(0xf9)][_0x182311(0xee)]),_0x446da5(this,_0x182311(0x2e4),_0x4dff15[_0x182311(0x363)][_0x182311(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x182311(0x3a9),!0x0),this['id']=this[_0x182311(0x1dd)]+'.'+this['subType']+'_'+_0x289ce4+'_'+_0xaa93b2;}},_0x1dfb0f=class{constructor(_0x318d1b,_0x4713e3){const _0x872dbb=_0x565318;this[_0x872dbb(0x1ca)]=_0x318d1b,this['objectId']=_0x4713e3,_0x446da5(this,_0x872dbb(0x1dd),_0x7620fc['UnitObject']['BaseTable']),_0x446da5(this,_0x872dbb(0x131),_0x7620fc[_0x872dbb(0xf9)][_0x872dbb(0xee)]),_0x446da5(this,_0x872dbb(0x2e4),_0x4dff15[_0x872dbb(0x363)][_0x872dbb(0x441)]),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0x872dbb(0x3a9),!0x0),this['id']=this[_0x872dbb(0x1dd)]+'.'+this[_0x872dbb(0x131)]+'_'+_0x318d1b+'_'+_0x4713e3;}},_0x2ec6a8=class{constructor(_0x3ea0b9,_0x4e470f){const _0xdac2ef=_0x565318;this['unitId']=_0x3ea0b9,this[_0xdac2ef(0x445)]=_0x4e470f,_0x446da5(this,_0xdac2ef(0x1dd),_0x7620fc[_0xdac2ef(0x1ac)][_0xdac2ef(0x280)]),_0x446da5(this,_0xdac2ef(0x131),_0x7620fc['UnitAction'][_0xdac2ef(0xee)]),_0x446da5(this,_0xdac2ef(0x2e4),_0x4dff15[_0xdac2ef(0x363)]['INIT']),_0x446da5(this,'id',void 0x0),_0x446da5(this,_0xdac2ef(0x3a9),!0x0),this['id']=this['type']+'.'+this[_0xdac2ef(0x131)]+'_'+_0x3ea0b9+'_'+_0x4e470f;}};let _0x1cf243=[_0x7620fc[_0x565318(0xf9)]['Edit'],_0x7620fc['UnitAction']['Copy'],_0x7620fc['UnitAction']['Export'],_0x7620fc['UnitAction'][_0x565318(0x44a)]],_0x2c1351=new Set([_0x7620fc['UnitObject'][_0x565318(0x17c)],_0x7620fc[_0x565318(0x1ac)][_0x565318(0x20a)],_0x7620fc[_0x565318(0x1ac)]['BaseField'],_0x7620fc[_0x565318(0x1ac)][_0x565318(0xdf)],_0x7620fc['UnitObject'][_0x565318(0x280)],_0x7620fc[_0x565318(0x1ac)][_0x565318(0x143)]]),_0x3a096f=_0x565318(0x1f8),_0x168ece=_0x565318(0x1ee),_0x11f3e6=_0x565318(0x476),_0x7c6220=_0x565318(0x389),_0x197d36=_0x565318(0x190);function _0x1d4b0d(_0x71dc06){return''+_0x3a096f+encodeURIComponent(_0x71dc06);}function _0x18fb74(_0x1d373a,_0x50b4af){return''+_0x168ece+encodeURIComponent(_0x1d373a)+'/'+encodeURIComponent(_0x50b4af);}function _0x533141(_0x43c84e,_0x226f65){return''+_0x11f3e6+encodeURIComponent(_0x43c84e)+'/'+encodeURIComponent(_0x226f65);}function _0x716ead(_0x41eb63,_0x359112){return''+_0x7c6220+encodeURIComponent(_0x41eb63)+'/'+encodeURIComponent(_0x359112);}function _0x3abe24(_0x23b496){return''+_0x197d36+encodeURIComponent(_0x23b496);}function _0x67e1f2(_0x3228a2,_0x5ff5ad,_0x4e3e1c){const _0x2e9fc2=_0x565318;if(_0x5ff5ad===_0x3228a2)switch(_0x4e3e1c){case _0x7620fc['UnitAction'][_0x2e9fc2(0xee)]:return new _0x59fe44(_0x3228a2);case _0x7620fc['UnitAction'][_0x2e9fc2(0x471)]:return new _0x2ddbc1(_0x3228a2);case _0x7620fc[_0x2e9fc2(0xf9)][_0x2e9fc2(0x26d)]:return new _0x25e1d7(_0x3228a2);case _0x7620fc[_0x2e9fc2(0xf9)][_0x2e9fc2(0x44a)]:return new _0xe9fbc2(_0x3228a2);default:throw Error(_0x2e9fc2(0x49d)+_0x4e3e1c);}if(_0x4e3e1c!==_0x7620fc[_0x2e9fc2(0xf9)][_0x2e9fc2(0xee)])throw Error(_0x2e9fc2(0x4c5)+_0x5ff5ad);if(_0x5ff5ad[_0x2e9fc2(0xff)](_0x3a096f))return new _0x1dfb0f(_0x3228a2,_0x5ff5ad);if(_0x5ff5ad['startsWith'](_0x168ece))return new _0x3b42a7(_0x3228a2,_0x5ff5ad);if(_0x5ff5ad[_0x2e9fc2(0xff)](_0x11f3e6))return new _0x252188(_0x3228a2,_0x5ff5ad);if(_0x5ff5ad['startsWith'](_0x7c6220))return new _0x2ec6a8(_0x3228a2,_0x5ff5ad);if(_0x5ff5ad['startsWith'](_0x197d36))return new _0x50d574(_0x3228a2,_0x5ff5ad);throw Error(_0x2e9fc2(0x3bd)+_0x5ff5ad);}function _0xd5ccf7(_0x1971bc,_0x425bec,_0x21e916,_0x11c9a1){const _0x122a85=_0x565318;var _0x283725;return((_0x283725=_0x1971bc[_0x122a85(0x2ac)](_0x67e1f2(_0x425bec,_0x21e916,_0x11c9a1)['id']))==null?void 0x0:_0x283725[_0x122a85(0x3a9)])??!0x0;}function _0x19bcd4(_0x1e7ef9,_0x413c9f,_0x20aba8,_0x50c964,_0xba57e){const _0xe65448=_0x565318;let _0x53376e=_0x67e1f2(_0x413c9f,_0x20aba8,_0x50c964);_0x1e7ef9[_0xe65448(0x2ac)](_0x53376e['id'])||_0x1e7ef9['addPermissionPoint'](_0x53376e),_0x1e7ef9[_0xe65448(0x1c5)](_0x53376e['id'],_0xba57e);}function _0x5e5f98(_0xe79729,_0x4b7b4e,_0x3e5d42,_0x22d834){_0xe79729['deletePermissionPoint'](_0x67e1f2(_0x4b7b4e,_0x3e5d42,_0x22d834)['id']);}function _0x15b12f(_0x5f3638,_0x352b87){const _0x4b7940=_0x565318;_0x5f3638[_0x4b7940(0x159)]()['forEach']((_0x4637b9,_0x4b1b83)=>{const _0x4632ee=_0x4b7940;_0x4637b9['subscribe'](_0x10d9c7=>{const _0x32c223=_0x5b6a;_0x2c1351[_0x32c223(0x336)](_0x10d9c7[_0x32c223(0x1dd)])&&_0x32c223(0x1ca)in _0x10d9c7&&_0x10d9c7[_0x32c223(0x1ca)]===_0x352b87&&_0x5f3638[_0x32c223(0x247)](_0x4b1b83);})[_0x4632ee(0x485)]();});}function _0x441430(_0xcda923,_0x1ac951,_0x122282){const _0x916fca=_0x565318;return _0xd5ccf7(_0xcda923,_0x1ac951,_0x1ac951,_0x7620fc[_0x916fca(0xf9)][_0x916fca(0xee)])&&Array[_0x916fca(0x397)](_0x122282)[_0x916fca(0x1fd)](_0x4f3329=>_0xd5ccf7(_0xcda923,_0x1ac951,_0x4f3329,_0x7620fc[_0x916fca(0xf9)][_0x916fca(0xee)]));}function _0x10e58b(_0xc204f5,_0x243a56){return function(_0xfbb374,_0x1d8625){_0x243a56(_0xfbb374,_0x1d8625,_0xc204f5);};}function _0x5e2ef6(_0xc7c99d,_0x277ebd,_0x2f8fec,_0x2eb77d){const _0x585087=_0x565318;var _0x128c70=arguments[_0x585087(0xac)],_0x4c6b7d=_0x128c70<0x3?_0x277ebd:_0x2eb77d===null?_0x2eb77d=Object[_0x585087(0x2eb)](_0x277ebd,_0x2f8fec):_0x2eb77d,_0x492098;if(typeof Reflect==_0x585087(0x35c)&&typeof Reflect[_0x585087(0x148)]==_0x585087(0x42f))_0x4c6b7d=Reflect['decorate'](_0xc7c99d,_0x277ebd,_0x2f8fec,_0x2eb77d);else{for(var _0x5bfb58=_0xc7c99d[_0x585087(0xac)]-0x1;_0x5bfb58>=0x0;_0x5bfb58--)(_0x492098=_0xc7c99d[_0x5bfb58])&&(_0x4c6b7d=(_0x128c70<0x3?_0x492098(_0x4c6b7d):_0x128c70>0x3?_0x492098(_0x277ebd,_0x2f8fec,_0x4c6b7d):_0x492098(_0x277ebd,_0x2f8fec))||_0x4c6b7d);}return _0x128c70>0x3&&_0x4c6b7d&&Object[_0x585087(0x255)](_0x277ebd,_0x2f8fec,_0x4c6b7d),_0x4c6b7d;}let _0x42298a=(0x0,_0x4dff15[_0x565318(0x238)])(_0x565318(0x447)),_0x3eb873=class extends _0x4dff15[_0x565318(0x4b6)]{constructor(_0x5787da,_0x129317){const _0x173ff6=_0x565318;super(),this[_0x173ff6(0xcd)]=_0x5787da,this[_0x173ff6(0x37c)]=_0x129317,_0x446da5(this,_0x173ff6(0x435),new Map()),_0x446da5(this,_0x173ff6(0x212),new Map()),_0x446da5(this,_0x173ff6(0x149),new Map()),_0x446da5(this,_0x173ff6(0x11e),new Map()),_0x446da5(this,_0x173ff6(0x23a),new Map()),_0x446da5(this,'_tableBaseIds',new Map()),this[_0x173ff6(0x272)](this[_0x173ff6(0x37c)][_0x173ff6(0x189)](_0x4dff15[_0x173ff6(0x125)]['UNIVER_BASE'])[_0x173ff6(0xf2)](_0x290ec1=>this[_0x173ff6(0x4dc)](_0x290ec1[_0x173ff6(0x197)]())));}[_0x565318(0x4e6)](_0x447475){const _0x3396ec=_0x565318;var _0xcded44;return this[_0x3396ec(0x230)](_0x447475,[])&&(((_0xcded44=this[_0x3396ec(0x435)][_0x3396ec(0x2fe)](_0x447475))==null?void 0x0:_0xcded44[_0x3396ec(0x2b0)])??!0x0);}['canEditTable'](_0x545501){const _0x546e6a=_0x565318;return this[_0x546e6a(0x282)](_0x545501);}[_0x565318(0xf1)](_0x44a067){const _0x57dd54=_0x565318;var _0x1342c4;return this[_0x57dd54(0x282)](_0x44a067)&&(((_0x1342c4=this['_tablePermissions'][_0x57dd54(0x2fe)](_0x44a067))==null?void 0x0:_0x1342c4[_0x57dd54(0x3f8)])??!0x0);}[_0x565318(0x456)](_0x4aeb3a){const _0x58c780=_0x565318;var _0x4f54bf;return this[_0x58c780(0x282)](_0x4aeb3a)&&(((_0x4f54bf=this[_0x58c780(0x212)][_0x58c780(0x2fe)](_0x4aeb3a))==null?void 0x0:_0x4f54bf[_0x58c780(0x3c0)])??!0x0);}[_0x565318(0x2f7)](_0x6dce7c,_0x36db19){const _0x26666c=_0x565318;var _0x6d68ee;return this['_canEditTable'](_0x6dce7c)&&this[_0x26666c(0x230)](_0x6dce7c,[_0x18fb74(_0x6dce7c,_0x36db19)])&&(((_0x6d68ee=this['_fieldPermissions'][_0x26666c(0x2fe)](_0x3e8ad9(_0x6dce7c,_0x36db19)))==null?void 0x0:_0x6d68ee['edit'])??!0x0);}[_0x565318(0x3ef)](_0x5c2834,_0x43b0d4){const _0x59b2e2=_0x565318;var _0x482b98;return this[_0x59b2e2(0x2f7)](_0x5c2834,_0x43b0d4)&&(((_0x482b98=this[_0x59b2e2(0x149)][_0x59b2e2(0x2fe)](_0x3e8ad9(_0x5c2834,_0x43b0d4)))==null?void 0x0:_0x482b98[_0x59b2e2(0x3f8)])??!0x0);}[_0x565318(0x106)](_0x59bc9f){const _0xeba309=_0x565318;var _0x439e67;return this[_0xeba309(0x282)](_0x59bc9f)&&(((_0x439e67=this[_0xeba309(0x212)]['get'](_0x59bc9f))==null?void 0x0:_0x439e67[_0xeba309(0xb8)])??!0x0);}[_0x565318(0x3b4)](_0x45bd33,_0x1075c9){const _0x2c8c0f=_0x565318;var _0x3e8f77;let _0x5348b4=this[_0x2c8c0f(0x11e)][_0x2c8c0f(0x2fe)](_0x1d5aee(_0x45bd33,_0x1075c9));return this[_0x2c8c0f(0x230)](_0x45bd33,[_0x1d4b0d(_0x45bd33),_0x533141(_0x45bd33,_0x1075c9)])&&(((_0x3e8f77=this[_0x2c8c0f(0x212)][_0x2c8c0f(0x2fe)](_0x45bd33))==null?void 0x0:_0x3e8f77[_0x2c8c0f(0x21c)])??!0x0)&&((_0x5348b4==null?void 0x0:_0x5348b4[_0x2c8c0f(0x21c)])??!0x0)&&((_0x5348b4==null?void 0x0:_0x5348b4[_0x2c8c0f(0x10c)])??!0x0);}[_0x565318(0xc4)](_0x67ec8e,_0x2b75b6){const _0x238976=_0x565318;var _0x2b8bad,_0x55b04b,_0x4cb8b1;return this[_0x238976(0x230)](_0x67ec8e,[_0x1d4b0d(_0x67ec8e),_0x533141(_0x67ec8e,_0x2b75b6)])&&(((_0x2b8bad=this['_tablePermissions'][_0x238976(0x2fe)](_0x67ec8e))==null?void 0x0:_0x2b8bad[_0x238976(0x21c)])??!0x0)&&(((_0x55b04b=this['_recordPermissions'][_0x238976(0x2fe)](_0x1d5aee(_0x67ec8e,_0x2b75b6)))==null?void 0x0:_0x55b04b[_0x238976(0x21c)])??!0x0)&&(((_0x4cb8b1=this[_0x238976(0x11e)]['get'](_0x1d5aee(_0x67ec8e,_0x2b75b6)))==null?void 0x0:_0x4cb8b1[_0x238976(0x3f8)])??!0x0);}[_0x565318(0x1d1)](_0x1f7b2a,_0x3495e9,_0x3264fe){const _0x2beb4a=_0x565318;var _0x45e46e,_0x52a094,_0x28e149;let _0x2f8353=this[_0x2beb4a(0x149)][_0x2beb4a(0x2fe)](_0x3e8ad9(_0x1f7b2a,_0x3264fe));return this[_0x2beb4a(0x230)](_0x1f7b2a,[_0x1d4b0d(_0x1f7b2a),_0x18fb74(_0x1f7b2a,_0x3264fe),_0x533141(_0x1f7b2a,_0x3495e9)])&&(((_0x45e46e=this['_tablePermissions'][_0x2beb4a(0x2fe)](_0x1f7b2a))==null?void 0x0:_0x45e46e[_0x2beb4a(0x21c)])??!0x0)&&(((_0x52a094=this[_0x2beb4a(0x11e)][_0x2beb4a(0x2fe)](_0x1d5aee(_0x1f7b2a,_0x3495e9)))==null?void 0x0:_0x52a094[_0x2beb4a(0x21c)])??!0x0)&&(((_0x28e149=this['_recordPermissions']['get'](_0x1d5aee(_0x1f7b2a,_0x3495e9)))==null?void 0x0:_0x28e149[_0x2beb4a(0x10c)])??!0x0)&&((_0x2f8353==null?void 0x0:_0x2f8353['edit'])??!0x0)&&((_0x2f8353==null?void 0x0:_0x2f8353['editCell'])??!0x0);}[_0x565318(0x2a4)](_0x384bcf,_0x2298ea){const _0x35e004=_0x565318;var _0x55a2d4,_0x4b8640,_0x56952e;return this[_0x35e004(0x230)](_0x384bcf,[_0x1d4b0d(_0x384bcf),_0x716ead(_0x384bcf,_0x2298ea)])&&(((_0x55a2d4=this['_tablePermissions'][_0x35e004(0x2fe)](_0x384bcf))==null?void 0x0:_0x55a2d4[_0x35e004(0x21c)])??!0x0)&&(((_0x4b8640=this[_0x35e004(0x23a)][_0x35e004(0x2fe)](_0x279ba1(_0x384bcf,_0x2298ea)))==null?void 0x0:_0x4b8640[_0x35e004(0x21c)])??!0x0)&&(((_0x56952e=this[_0x35e004(0x212)]['get'](_0x384bcf))==null?void 0x0:_0x56952e[_0x35e004(0x186)])??!0x0);}[_0x565318(0x261)](_0x4f7592,_0x3e4954){const _0x15a3cb=_0x565318;this[_0x15a3cb(0x435)][_0x15a3cb(0xe4)](_0x4f7592,{...this[_0x15a3cb(0x435)][_0x15a3cb(0x2fe)](_0x4f7592),..._0x3e4954}),_0x3e4954[_0x15a3cb(0x21c)]!==void 0x0&&_0x19bcd4(this['_permissionService'],_0x4f7592,_0x4f7592,_0x7620fc[_0x15a3cb(0xf9)][_0x15a3cb(0xee)],_0x3e4954[_0x15a3cb(0x21c)]);}[_0x565318(0x3ae)](_0x299233,_0x4a72f8){const _0x17d8f4=_0x565318;this[_0x17d8f4(0x4b7)](_0x299233),this[_0x17d8f4(0x212)][_0x17d8f4(0xe4)](_0x299233,{...this[_0x17d8f4(0x212)][_0x17d8f4(0x2fe)](_0x299233),..._0x4a72f8}),this[_0x17d8f4(0x153)](_0x299233,_0x1d4b0d(_0x299233),_0x4a72f8[_0x17d8f4(0x21c)]);}[_0x565318(0x25c)](_0x15f25a,_0x19da89,_0x2badc3){const _0x241b30=_0x565318;this[_0x241b30(0x4b7)](_0x15f25a);let _0x1b7338=_0x3e8ad9(_0x15f25a,_0x19da89);this[_0x241b30(0x149)]['set'](_0x1b7338,{...this[_0x241b30(0x149)][_0x241b30(0x2fe)](_0x1b7338),..._0x2badc3}),this[_0x241b30(0x153)](_0x15f25a,_0x18fb74(_0x15f25a,_0x19da89),_0x2badc3['edit']);}[_0x565318(0x155)](_0x2b797e,_0xc0a746,_0x153600){const _0x3b7fd7=_0x565318;this[_0x3b7fd7(0x4b7)](_0x2b797e);let _0x2f24a9=_0x1d5aee(_0x2b797e,_0xc0a746);this[_0x3b7fd7(0x11e)][_0x3b7fd7(0xe4)](_0x2f24a9,{...this[_0x3b7fd7(0x11e)][_0x3b7fd7(0x2fe)](_0x2f24a9),..._0x153600}),this[_0x3b7fd7(0x153)](_0x2b797e,_0x533141(_0x2b797e,_0xc0a746),_0x153600['edit']);}[_0x565318(0x15a)](_0x3607d1,_0x46e008,_0x7dbdbb){const _0x15e1fd=_0x565318;this[_0x15e1fd(0x4b7)](_0x3607d1);let _0x4d2738=_0x279ba1(_0x3607d1,_0x46e008);this['_viewPermissions'][_0x15e1fd(0xe4)](_0x4d2738,{...this[_0x15e1fd(0x23a)][_0x15e1fd(0x2fe)](_0x4d2738),..._0x7dbdbb}),this[_0x15e1fd(0x153)](_0x3607d1,_0x716ead(_0x3607d1,_0x46e008),_0x7dbdbb['edit']);}['clearBasePermission'](_0xd1e5c9){const _0x59da1d=_0x565318;this[_0x59da1d(0x435)]['delete'](_0xd1e5c9),_0x5e5f98(this[_0x59da1d(0xcd)],_0xd1e5c9,_0xd1e5c9,_0x7620fc[_0x59da1d(0xf9)][_0x59da1d(0xee)]);}['clearTablePermission'](_0x567c00){const _0x545e5b=_0x565318;this[_0x545e5b(0x212)]['delete'](_0x567c00),this[_0x545e5b(0x42d)](_0x567c00,_0x1d4b0d(_0x567c00));}['clearFieldPermission'](_0x3c8505,_0x3998f1){const _0x1824cc=_0x565318;this[_0x1824cc(0x149)][_0x1824cc(0x3f8)](_0x3e8ad9(_0x3c8505,_0x3998f1)),this[_0x1824cc(0x42d)](_0x3c8505,_0x18fb74(_0x3c8505,_0x3998f1));}[_0x565318(0x4fd)](_0x367a77,_0x4e2c78){const _0x367b4e=_0x565318;this[_0x367b4e(0x11e)]['delete'](_0x1d5aee(_0x367a77,_0x4e2c78)),this[_0x367b4e(0x42d)](_0x367a77,_0x533141(_0x367a77,_0x4e2c78));}['clearViewPermission'](_0x2987d2,_0x41afb7){const _0xd4d611=_0x565318;this[_0xd4d611(0x23a)][_0xd4d611(0x3f8)](_0x279ba1(_0x2987d2,_0x41afb7)),this[_0xd4d611(0x42d)](_0x2987d2,_0x716ead(_0x2987d2,_0x41afb7));}[_0x565318(0x166)](){const _0x4270b0=_0x565318;return{'bases':Object[_0x4270b0(0x2cc)](this[_0x4270b0(0x435)]),'tables':Object[_0x4270b0(0x2cc)](this[_0x4270b0(0x212)]),'fields':Object[_0x4270b0(0x2cc)](this[_0x4270b0(0x149)]),'records':Object['fromEntries'](this[_0x4270b0(0x11e)]),'views':Object[_0x4270b0(0x2cc)](this[_0x4270b0(0x23a)])};}[_0x565318(0x282)](_0x26cb19){const _0xc24db3=_0x565318;var _0x347541;return this[_0xc24db3(0x230)](_0x26cb19,[_0x1d4b0d(_0x26cb19)])&&(((_0x347541=this['_tablePermissions'][_0xc24db3(0x2fe)](_0x26cb19))==null?void 0x0:_0x347541[_0xc24db3(0x21c)])??!0x0);}['_canEdit'](_0x4bd092,_0x263984){const _0x134270=_0x565318;var _0xcb3ca1;let _0x269e3d=this[_0x134270(0x173)](_0x4bd092);return!_0x269e3d||_0x441430(this['_permissionService'],_0x269e3d,_0x263984)&&(((_0xcb3ca1=this['_basePermissions']['get'](_0x269e3d))==null?void 0x0:_0xcb3ca1[_0x134270(0x21c)])??!0x0);}[_0x565318(0x153)](_0x5e26c2,_0xf0a80b,_0x54748c){const _0x15db5d=_0x565318;if(_0x54748c===void 0x0)return;let _0x576af3=this['_resolveBaseId'](_0x5e26c2);_0x576af3&&_0x19bcd4(this[_0x15db5d(0xcd)],_0x576af3,_0xf0a80b,_0x7620fc[_0x15db5d(0xf9)][_0x15db5d(0xee)],_0x54748c);}[_0x565318(0x42d)](_0x23b46d,_0x16e059){const _0x114bfd=_0x565318;let _0x1f4e40=this[_0x114bfd(0x173)](_0x23b46d);_0x1f4e40&&_0x5e5f98(this[_0x114bfd(0xcd)],_0x1f4e40,_0x16e059,_0x7620fc[_0x114bfd(0xf9)][_0x114bfd(0xee)]);}[_0x565318(0x173)](_0x172d75){const _0x5f68c9=_0x565318;var _0x3e12e2;let _0x317bf0=this['_instanceService']['getUnit'](_0x172d75,_0x4dff15[_0x5f68c9(0x125)][_0x5f68c9(0x4fb)]);return _0x317bf0?_0x317bf0['getUnitId']():(_0x3e12e2=this[_0x5f68c9(0x37c)][_0x5f68c9(0x4e8)](_0x4dff15[_0x5f68c9(0x125)][_0x5f68c9(0x4fb)])[_0x5f68c9(0x3f5)](_0x2b90c4=>!!_0x2b90c4[_0x5f68c9(0x166)]()[_0x5f68c9(0x257)][_0x172d75]))==null?void 0x0:_0x3e12e2['getUnitId']();}[_0x565318(0x4b7)](_0x3a0e20){let _0xfa6f05=this['_resolveBaseId'](_0x3a0e20);_0xfa6f05&&this['_tableBaseIds']['set'](_0x3a0e20,_0xfa6f05);}['_clearUnit'](_0x3bd9df){const _0x23902c=_0x565318;this['_basePermissions'][_0x23902c(0x3f8)](_0x3bd9df),this[_0x23902c(0x37d)]['forEach']((_0x52fe19,_0x5f1a83)=>{const _0x35cdac=_0x23902c;_0x52fe19===_0x3bd9df&&(this['_tablePermissions']['delete'](_0x5f1a83),_0x3c774a(this[_0x35cdac(0x149)],_0x5f1a83+'\x1f'),_0x3c774a(this[_0x35cdac(0x11e)],_0x5f1a83+'\x1f'),_0x3c774a(this[_0x35cdac(0x23a)],_0x5f1a83+'\x1f'),this[_0x35cdac(0x37d)][_0x35cdac(0x3f8)](_0x5f1a83));});}};_0x3eb873=_0x5e2ef6([_0x10e58b(0x0,_0x4dff15['IPermissionService']),_0x10e58b(0x1,_0x4dff15['IUniverInstanceService'])],_0x3eb873);function _0x3c774a(_0xa969a2,_0x28daca){const _0x1712a7=_0x565318;_0xa969a2[_0x1712a7(0x207)]((_0x1861c2,_0x52b93b)=>{const _0x3b2915=_0x1712a7;_0x52b93b[_0x3b2915(0xff)](_0x28daca)&&_0xa969a2[_0x3b2915(0x3f8)](_0x52b93b);});}function _0x3e8ad9(_0x18dca9,_0x50ac1c){return _0x18dca9+'\x1f'+_0x50ac1c;}function _0x1d5aee(_0x10f1bb,_0x2d1ee5){return _0x10f1bb+'\x1f'+_0x2d1ee5;}function _0x279ba1(_0x2f3baa,_0x1f36ac){return _0x2f3baa+'\x1f'+_0x1f36ac;}let _0x2a6ad5=(0x0,_0x4dff15[_0x565318(0x238)])(_0x565318(0x361)),_0x2916a5=class{constructor(_0x4f79f4,_0xfe0c50=_0x3466c7(),_0x29970c={}){const _0x8a3e22=_0x565318;this['_permissionService']=_0x4f79f4,this[_0x8a3e22(0x371)]=_0xfe0c50,this['_runtimeContext']=_0x29970c,_0x446da5(this,_0x8a3e22(0x205),new _0x11b56b()),_0x446da5(this,'_applier',new _0x4ddc63());}['createTable'](_0x14e491,_0x190904,_0x19e432){const _0x1fabe8=_0x565318;if(!this['_permissionService']['canCreateTable'](_0x14e491[_0x1fabe8(0x197)]()))throw Error(_0x1fabe8(0x145));(0x0,_0x4dff15[_0x1fabe8(0x3ab)])(_0x190904),this[_0x1fabe8(0x3da)](_0x14e491,this[_0x1fabe8(0x205)][_0x1fabe8(0x2b0)](_0x14e491[_0x1fabe8(0x166)](),_0x190904,_0x19e432));}[_0x565318(0x499)](_0x4bc072,_0x3b8aec,_0x142ea2){const _0x59070b=_0x565318;if(!this[_0x59070b(0xcd)][_0x59070b(0x384)](_0x3b8aec))throw Error(_0x59070b(0x289));this['_apply'](_0x4bc072,this[_0x59070b(0x205)][_0x59070b(0x499)](_0x4bc072['getSnapshot'](),_0x3b8aec,_0x142ea2));}[_0x565318(0x392)](_0xdc7acb,_0x2f4c38){const _0x46359d=_0x565318;if(!this[_0x46359d(0xcd)][_0x46359d(0xf1)](_0x2f4c38))throw Error(_0x46359d(0x33b));let _0x3e2415=_0x5efd64(_0xdc7acb[_0x46359d(0x166)](),_0x2f4c38);if(_0x3e2415[_0x46359d(0xac)]>0x0)throw Error(_0x46359d(0x105)+_0x3e2415[_0x46359d(0x2e7)](_0x5c5fb2=>_0x5c5fb2[_0x46359d(0x222)]+'.'+_0x5c5fb2[_0x46359d(0x351)])[_0x46359d(0x1b5)](',\x20')+').');this['_apply'](_0xdc7acb,this[_0x46359d(0x205)][_0x46359d(0x392)](_0xdc7acb[_0x46359d(0x166)](),_0x2f4c38));}['updateCell'](_0x3437d1,_0x4c52fd,_0x27c2d4,_0x114938,_0x266d85){const _0x828215=_0x565318;this[_0x828215(0x3da)](_0x3437d1,this['createUpdateCellOp'](_0x3437d1,_0x4c52fd,_0x27c2d4,_0x114938,_0x266d85));}['setRecordValues'](_0x1864ed,_0x12274f,_0x500811){const _0x4d7c20=_0x565318;this[_0x4d7c20(0x3da)](_0x1864ed,this[_0x4d7c20(0x31e)](_0x1864ed,_0x12274f,_0x500811));}['createRecord'](_0x30b954,_0xa60036,_0x337f2b){this['_apply'](_0x30b954,this['createCreateRecordOp'](_0x30b954,_0xa60036,_0x337f2b));}[_0x565318(0x396)](_0x369047,_0x280075,_0x32ea83,_0x425346,_0x57626c){const _0x33b8fc=_0x565318;let _0x319488=_0x369047[_0x33b8fc(0x166)](),_0x5dabd2=this[_0x33b8fc(0x3fd)](_0x319488,_0x280075,_0x32ea83,_0x425346,_0x57626c),_0x1ec15b=this[_0x33b8fc(0x23b)](_0x319488,_0x280075,_0x32ea83,{[_0x425346]:_0x5dabd2});return this[_0x33b8fc(0x205)][_0x33b8fc(0x349)](_0x319488,_0x280075,[_0x1ec15b]);}[_0x565318(0x31e)](_0x4344fc,_0x3f3b02,_0x3905ac){const _0x5be6f3=_0x565318;let _0x5e474d=_0x4344fc[_0x5be6f3(0x166)](),_0x2dd889=_0x3905ac[_0x5be6f3(0x2e7)](_0x195d5e=>this[_0x5be6f3(0x23b)](_0x5e474d,_0x3f3b02,_0x195d5e['recordId'],{...Object[_0x5be6f3(0x2cc)](Object['entries'](_0x195d5e[_0x5be6f3(0x3dd)])[_0x5be6f3(0x2e7)](([_0x1f14ad,_0x3df74f])=>[_0x1f14ad,this[_0x5be6f3(0x3fd)](_0x5e474d,_0x3f3b02,_0x195d5e['recordId'],_0x1f14ad,_0x3df74f)]))}));return this[_0x5be6f3(0x205)][_0x5be6f3(0x349)](_0x5e474d,_0x3f3b02,_0x2dd889);}[_0x565318(0x1e6)](_0x35f8a3,_0x3300cf,_0x50679a){const _0x29d73e=_0x565318;if(!this[_0x29d73e(0xcd)][_0x29d73e(0x106)](_0x3300cf))throw Error(_0x29d73e(0x483));let _0x42665d=_0x35f8a3['getSnapshot'](),_0x5ef509=this[_0x29d73e(0x13a)](_0x42665d[_0x29d73e(0x257)][_0x3300cf]);return this['_factory'][_0x29d73e(0xb8)](_0x42665d,_0x3300cf,this[_0x29d73e(0x134)](_0x42665d,_0x3300cf,_0x50679a,_0x5ef509));}[_0x565318(0x4ec)](_0x3e7565,_0x44ca62,_0x57ebe3){const _0x4f4e3d=_0x565318;if(!this['_permissionService'][_0x4f4e3d(0x106)](_0x44ca62))throw Error(_0x4f4e3d(0x483));let _0x383558=_0x3e7565[_0x4f4e3d(0x166)]();return _0x24faa7('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x8dc037=_0x4f4e3d;let _0x10a874=this[_0x8dc037(0x13a)](_0x383558[_0x8dc037(0x257)][_0x44ca62]);return this[_0x8dc037(0x205)][_0x8dc037(0x3af)](_0x383558,_0x44ca62,_0x57ebe3[_0x8dc037(0x2e7)](_0x552b9f=>this['_createRecordWithDefaults'](_0x383558,_0x44ca62,_0x552b9f,_0x10a874)));},{'existingRecords':Object[_0x4f4e3d(0x446)](_0x383558['tables'][_0x44ca62][_0x4f4e3d(0x17e)])[_0x4f4e3d(0xac)],'records':_0x57ebe3[_0x4f4e3d(0xac)]});}['createCreateFieldOp'](_0x2d3fad,_0x5ef4bc,_0x9d524,_0x3d4bfa,_0x20b7e6){const _0x5aa4a5=_0x565318;if(!this[_0x5aa4a5(0xcd)][_0x5aa4a5(0x456)](_0x5ef4bc))throw Error(_0x5aa4a5(0x1e4));let _0xc66c9=_0x2d3fad[_0x5aa4a5(0x166)]();if(this[_0x5aa4a5(0x14b)](_0xc66c9,_0x9d524),_0x3d4bfa===0x0)throw Error(_0x5aa4a5(0x486));let _0x4c1eb=this['_factory'][_0x5aa4a5(0x3c0)](_0xc66c9,_0x5ef4bc,{'field':_0x9d524,'index':_0x3d4bfa,'viewIndexes':_0x20b7e6}),_0x349f59=this['_createSystemFieldValuePatches'](_0xc66c9,_0x5ef4bc,_0x9d524);if(!_0x349f59[_0x5aa4a5(0xac)])return _0x4c1eb;let _0x4b86dc=this['_applier']['applyOp'](_0xc66c9,_0x4c1eb);return _0xbcd9ca([_0x4c1eb,this[_0x5aa4a5(0x205)]['setRecordValues'](_0x4b86dc,_0x5ef4bc,_0x349f59)]);}[_0x565318(0x25b)](_0x400b99,_0x2f9fc5,_0x13e1f2){const _0x250408=_0x565318;if(!this['_permissionService'][_0x250408(0xc4)](_0x2f9fc5,_0x13e1f2))throw Error(_0x250408(0x2f2));this['_apply'](_0x400b99,this[_0x250408(0x205)][_0x250408(0x25b)](_0x400b99[_0x250408(0x166)](),_0x2f9fc5,_0x13e1f2));}['duplicateRecord'](_0x143353,_0xb473d5,_0x2a45b8,_0x5417bf){const _0x5c5f70=_0x565318;if(!this[_0x5c5f70(0xcd)]['canCreateRecord'](_0xb473d5))throw Error(_0x5c5f70(0x483));this['_apply'](_0x143353,this[_0x5c5f70(0x205)]['duplicateRecord'](_0x143353[_0x5c5f70(0x166)](),_0xb473d5,_0x2a45b8,{..._0x5417bf,'values':{..._0x5417bf['values'],[_0x4dff15['BASE_RECORD_ID_FIELD_ID']]:_0x5417bf['id']}}));}[_0x565318(0x28d)](_0x2f8566,_0x1e6793,_0x517524,_0x56db57){const _0x5d1cd9=_0x565318;if(!this['_permissionService']['canEditRecord'](_0x1e6793,_0x517524))throw Error(_0x5d1cd9(0xb2));this['_apply'](_0x2f8566,this[_0x5d1cd9(0x205)][_0x5d1cd9(0x28d)](_0x2f8566[_0x5d1cd9(0x166)](),_0x1e6793,_0x517524,_0x56db57));}[_0x565318(0x3c0)](_0x9c3b00,_0x351fc1,_0x47bb67,_0x48cd1a,_0x41b886){const _0x512207=_0x565318;this[_0x512207(0x3da)](_0x9c3b00,this[_0x512207(0x4fc)](_0x9c3b00,_0x351fc1,_0x47bb67,_0x48cd1a,_0x41b886));}['updateField'](_0x298ffb,_0x4a168b,_0x50aaa9,_0x1d74f0){const _0x24ed3c=_0x565318;var _0x2cb1aa;if(!this[_0x24ed3c(0xcd)][_0x24ed3c(0x2f7)](_0x4a168b,_0x50aaa9))throw Error(_0x24ed3c(0x25d));let _0x1a3acf=_0x298ffb[_0x24ed3c(0x166)](),_0xe342f2=(_0x2cb1aa=_0x1a3acf['tables'][_0x4a168b])==null?void 0x0:_0x2cb1aa[_0x24ed3c(0x375)][_0x50aaa9];if(!_0xe342f2||_0x50aaa9===_0x4dff15[_0x24ed3c(0x432)])throw Error(_0x24ed3c(0x489));this[_0x24ed3c(0x14b)](_0x1a3acf,{..._0xe342f2,..._0x1d74f0}),this[_0x24ed3c(0x3da)](_0x298ffb,this[_0x24ed3c(0x205)][_0x24ed3c(0x4d3)](_0x1a3acf,_0x4a168b,_0x50aaa9,_0x1d74f0));}[_0x565318(0x46e)](_0x1ab3cd,_0x6484fc,_0x21d250,_0x59cd91){const _0x513efb=_0x565318;var _0x21e003;if(!this[_0x513efb(0xcd)][_0x513efb(0x2f7)](_0x6484fc,_0x21d250))throw Error(_0x513efb(0x25d));let _0x36c1d5=_0x1ab3cd[_0x513efb(0x166)](),_0x409d82=(_0x21e003=_0x36c1d5[_0x513efb(0x257)][_0x6484fc])==null?void 0x0:_0x21e003['fields'][_0x21d250];if(!_0x409d82||_0x21d250===_0x4dff15['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x513efb(0x310));this[_0x513efb(0x14b)](_0x36c1d5,{..._0x409d82,..._0x59cd91}),this[_0x513efb(0x3da)](_0x1ab3cd,this[_0x513efb(0x205)]['changeFieldType'](_0x36c1d5,_0x6484fc,_0x21d250,_0x59cd91));}[_0x565318(0x3f0)](_0x1dcf98,_0x432c61,_0x92a94){const _0xa63549=_0x565318;var _0x9caf1b;if(((_0x9caf1b=_0x1dcf98[_0xa63549(0x166)]()[_0xa63549(0x257)][_0x432c61])==null?void 0x0:_0x9caf1b[_0xa63549(0x269)])===_0x92a94||_0x92a94===_0x4dff15[_0xa63549(0x432)])throw Error(_0xa63549(0x4c0));if(!this[_0xa63549(0xcd)][_0xa63549(0x3ef)](_0x432c61,_0x92a94))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this['_apply'](_0x1dcf98,this[_0xa63549(0x205)][_0xa63549(0x3f0)](_0x1dcf98['getSnapshot'](),_0x432c61,_0x92a94));}[_0x565318(0x39e)](_0x2ddf80,_0x427eec,_0x4c3661,_0x18e490){const _0x1c2957=_0x565318;if(!this['_permissionService'][_0x1c2957(0x2f7)](_0x427eec,_0x4c3661))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x4c3661===_0x4dff15[_0x1c2957(0x432)]||_0x18e490['beforeFieldId']===_0x4dff15[_0x1c2957(0x432)])throw Error(_0x1c2957(0xd2));this[_0x1c2957(0x3da)](_0x2ddf80,this[_0x1c2957(0x205)][_0x1c2957(0x39e)](_0x2ddf80[_0x1c2957(0x166)](),_0x427eec,_0x4c3661,_0x18e490));}['createView'](_0x4fc120,_0x2982c6,_0x26a49b,_0x2412fc){const _0x10a79d=_0x565318;if(!this[_0x10a79d(0xcd)][_0x10a79d(0x2a4)](_0x2982c6,_0x26a49b['id']))throw Error(_0x10a79d(0x103));this[_0x10a79d(0x3da)](_0x4fc120,this[_0x10a79d(0x205)][_0x10a79d(0x430)](_0x4fc120[_0x10a79d(0x166)](),_0x2982c6,_0x26a49b,_0x2412fc));}[_0x565318(0xb6)](_0x5f5049,_0x1b8478,_0x17042d,_0x47eb69){const _0x88dc22=_0x565318;if(!this[_0x88dc22(0xcd)][_0x88dc22(0x2a4)](_0x1b8478,_0x17042d))throw Error(_0x88dc22(0x103));this['_apply'](_0x5f5049,this[_0x88dc22(0x205)][_0x88dc22(0xb6)](_0x5f5049[_0x88dc22(0x166)](),_0x1b8478,_0x17042d,_0x47eb69));}[_0x565318(0x1ec)](_0x296bf4,_0x2db055,_0x13d925){const _0x29362b=_0x565318;if(!this[_0x29362b(0xcd)][_0x29362b(0x2a4)](_0x2db055,_0x13d925))throw Error(_0x29362b(0x103));this[_0x29362b(0x3da)](_0x296bf4,this[_0x29362b(0x205)][_0x29362b(0x1ec)](_0x296bf4[_0x29362b(0x166)](),_0x2db055,_0x13d925));}[_0x565318(0x44e)](_0x5e6a39,_0x3acfd3,_0x5bfd86,_0x194b8f){const _0x468730=_0x565318;if(!this[_0x468730(0xcd)][_0x468730(0x2a4)](_0x3acfd3,_0x5bfd86))throw Error(_0x468730(0x103));this[_0x468730(0x3da)](_0x5e6a39,this['_factory'][_0x468730(0x44e)](_0x5e6a39[_0x468730(0x166)](),_0x3acfd3,_0x5bfd86,_0x194b8f));}[_0x565318(0x292)](_0x31eb51,_0x334913,_0xd047f7,_0x5be98c){const _0x3b5dfa=_0x565318;if(!this['_permissionService'][_0x3b5dfa(0x2a4)](_0x334913,_0xd047f7))throw Error(_0x3b5dfa(0x103));this['_apply'](_0x31eb51,this[_0x3b5dfa(0x205)]['updateViewConfig'](_0x31eb51[_0x3b5dfa(0x166)](),_0x334913,_0xd047f7,_0x5be98c));}[_0x565318(0x111)](_0x51cb09,_0x3ba6fe,_0x5a13a9,_0x2a51a2){const _0x4867c0=_0x565318;if(!this['_permissionService'][_0x4867c0(0x2a4)](_0x3ba6fe,_0x5a13a9))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4867c0(0x3da)](_0x51cb09,this[_0x4867c0(0x205)][_0x4867c0(0x111)](_0x51cb09[_0x4867c0(0x166)](),_0x3ba6fe,_0x5a13a9,_0x2a51a2));}[_0x565318(0x323)](_0x22e334,_0x17222e,_0x3629a5,_0x5857e4){const _0x5b5e9e=_0x565318;if(!this[_0x5b5e9e(0xcd)][_0x5b5e9e(0x2a4)](_0x17222e,_0x3629a5))throw Error(_0x5b5e9e(0x103));this[_0x5b5e9e(0x3da)](_0x22e334,this[_0x5b5e9e(0x205)][_0x5b5e9e(0x323)](_0x22e334[_0x5b5e9e(0x166)](),_0x17222e,_0x3629a5,_0x5857e4));}[_0x565318(0x12b)](_0x1bcb45,_0x4b4bc9,_0x293182,_0x4de6d2){const _0x33569d=_0x565318;if(!this[_0x33569d(0xcd)][_0x33569d(0x2a4)](_0x4b4bc9,_0x293182))throw Error(_0x33569d(0x103));this[_0x33569d(0x3da)](_0x1bcb45,this[_0x33569d(0x205)][_0x33569d(0x12b)](_0x1bcb45['getSnapshot'](),_0x4b4bc9,_0x293182,_0x4de6d2));}[_0x565318(0x133)](_0x55c2b8,_0x5367a1,_0x41ce2b,_0x480573,_0x133186){const _0x5f4f1f=_0x565318;if(!this['_permissionService'][_0x5f4f1f(0x2a4)](_0x5367a1,_0x41ce2b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x5f4f1f(0x3da)](_0x55c2b8,this[_0x5f4f1f(0x205)][_0x5f4f1f(0x133)](_0x55c2b8[_0x5f4f1f(0x166)](),_0x5367a1,_0x41ce2b,_0x480573,_0x133186));}[_0x565318(0x175)](_0xe06495,_0x5c2c74,_0x324308,_0xc0dcb6,_0x5c30af){const _0x20eecb=_0x565318;if(!this[_0x20eecb(0xcd)]['canManageView'](_0x5c2c74,_0x324308))throw Error(_0x20eecb(0x103));this['_apply'](_0xe06495,this[_0x20eecb(0x205)][_0x20eecb(0x175)](_0xe06495[_0x20eecb(0x166)](),_0x5c2c74,_0x324308,_0xc0dcb6,_0x5c30af));}['setViewFieldOrder'](_0x3a953e,_0x4ffef9,_0x4af663,_0x9932a6,_0x14624b){const _0x21cd4e=_0x565318;if(!this[_0x21cd4e(0xcd)][_0x21cd4e(0x2a4)](_0x4ffef9,_0x4af663))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x21cd4e(0x3da)](_0x3a953e,this[_0x21cd4e(0x205)][_0x21cd4e(0x47c)](_0x3a953e[_0x21cd4e(0x166)](),_0x4ffef9,_0x4af663,_0x9932a6,_0x14624b));}[_0x565318(0x3da)](_0x582e82,_0x57f072){const _0x291049=_0x565318;let _0x293b96=_0x582e82[_0x291049(0x166)]();_0x582e82[_0x291049(0x4d1)](this[_0x291049(0x1cd)]['applyOp'](_0x293b96,_0x57f072));}[_0x565318(0x134)](_0x12c219,_0x1d6337,_0x5a1ada,_0x154b18=this['_createNumberingAllocators'](_0x12c219[_0x565318(0x257)][_0x1d6337])){const _0x2dd97d=_0x565318;let _0x3402b7=_0x12c219[_0x2dd97d(0x257)][_0x1d6337],_0x7a4726=_0x5a1ada[_0x2dd97d(0x2b6)]??_0x5a1ada[_0x2dd97d(0x3e0)]??this[_0x2dd97d(0x3a8)](),_0x4562ef={..._0x5a1ada,'createdBy':_0x5a1ada[_0x2dd97d(0x2b6)]??_0x7a4726,'updatedBy':_0x5a1ada[_0x2dd97d(0x3e0)]??_0x7a4726,'values':{..._0x5a1ada[_0x2dd97d(0x3dd)]}};return _0x4562ef['values'][_0x4dff15[_0x2dd97d(0x432)]]=_0x4562ef['id'],_0x3402b7[_0x2dd97d(0x2c3)][_0x2dd97d(0x207)](_0x2e9c07=>{const _0x397bcf=_0x2dd97d;let _0xce9e21=_0x3402b7[_0x397bcf(0x375)][_0x2e9c07];if(_0xce9e21&&_0x4562ef[_0x397bcf(0x3dd)][_0x2e9c07]===void 0x0)switch(_0xce9e21[_0x397bcf(0x1dd)]){case _0x4dff15['BaseFieldType']['Numbering']:var _0x16caab;_0x4562ef['values'][_0x2e9c07]=((_0x16caab=_0x154b18[_0x397bcf(0x2fe)](_0x2e9c07))==null?void 0x0:_0x16caab())??this['_createNumberingAllocator'](_0x3402b7,_0x2e9c07)();break;case _0x4dff15[_0x397bcf(0x352)][_0x397bcf(0x119)]:_0x4562ef[_0x397bcf(0x2b6)]&&(_0x4562ef[_0x397bcf(0x3dd)][_0x2e9c07]=_0x4562ef[_0x397bcf(0x2b6)]);break;case _0x4dff15[_0x397bcf(0x352)]['UpdatedBy']:_0x4562ef[_0x397bcf(0x3e0)]&&(_0x4562ef['values'][_0x2e9c07]=_0x4562ef[_0x397bcf(0x3e0)]);break;case _0x4dff15[_0x397bcf(0x352)][_0x397bcf(0xef)]:_0x4562ef[_0x397bcf(0x3dd)][_0x2e9c07]=_0xdbd9dd(_0x4562ef[_0x397bcf(0x301)]);break;case _0x4dff15[_0x397bcf(0x352)][_0x397bcf(0x4d7)]:_0x4562ef['values'][_0x2e9c07]=_0xdbd9dd(_0x4562ef[_0x397bcf(0x1c7)]);break;default:{let _0x3ffe51=_0xce9e21[_0x397bcf(0x260)];_0x3ffe51!=null&&_0x3ffe51!==''&&!(Array[_0x397bcf(0x1eb)](_0x3ffe51)&&_0x3ffe51[_0x397bcf(0xac)]===0x0)&&(_0x4562ef[_0x397bcf(0x3dd)][_0x2e9c07]=_0x3ffe51);}}}),_0x4562ef;}['_withModifiedSystemValues'](_0x4444d1,_0x5b595c,_0x2b620d,_0x52dda3){const _0x3d1900=_0x565318;var _0x1f761a,_0x2c476a;let _0x2c531d=_0x4444d1[_0x3d1900(0x257)][_0x5b595c],_0x4ab490=((_0x1f761a=(_0x2c476a=this[_0x3d1900(0xb1)])['now'])==null?void 0x0:_0x1f761a[_0x3d1900(0x3b3)](_0x2c476a))??Date['now'](),_0x53d7c6=this[_0x3d1900(0x3a8)](),_0x2385ef={..._0x52dda3};return _0x2c531d['fieldOrder'][_0x3d1900(0x207)](_0x459495=>{const _0x2eb69a=_0x3d1900;let _0x393678=_0x2c531d['fields'][_0x459495];_0x393678&&(_0x393678[_0x2eb69a(0x1dd)]===_0x4dff15[_0x2eb69a(0x352)][_0x2eb69a(0x4d7)]&&(_0x2385ef[_0x459495]=_0xdbd9dd(_0x4ab490)),_0x393678['type']===_0x4dff15['BaseFieldType'][_0x2eb69a(0x4bb)]&&_0x53d7c6&&(_0x2385ef[_0x459495]=_0x53d7c6));}),{'recordId':_0x2b620d,'values':_0x2385ef,'recordPatch':{'updatedAt':_0x4ab490,..._0x53d7c6?{'updatedBy':_0x53d7c6}:{}}};}[_0x565318(0x183)](_0x3a86e7,_0x36d4e6,_0x2b1a73){const _0x2a7eb0=_0x565318;let _0x250a7f=_0x3a86e7[_0x2a7eb0(0x257)][_0x36d4e6];return!_0x250a7f||!_0x2aa6a7(_0x2b1a73)?[]:_0x2b1a73[_0x2a7eb0(0x1dd)]===_0x4dff15[_0x2a7eb0(0x352)][_0x2a7eb0(0x344)]?this['_createNumberingFieldValuePatches'](_0x250a7f,_0x2b1a73['id']):Object['values'](_0x250a7f[_0x2a7eb0(0x17e)])[_0x2a7eb0(0x3d1)](_0x287d76=>{let _0x558abb=this['_getSystemFieldValue'](_0x2b1a73,_0x287d76);return _0x558abb===void 0x0?[]:[{'recordId':_0x287d76['id'],'values':{[_0x2b1a73['id']]:_0x558abb}}];});}['_getSystemFieldValue'](_0x20294f,_0x640507){const _0x59cc1f=_0x565318;switch(_0x20294f[_0x59cc1f(0x1dd)]){case _0x4dff15[_0x59cc1f(0x352)]['CreatedBy']:return _0x640507[_0x59cc1f(0x2b6)]??this[_0x59cc1f(0x3a8)]();case _0x4dff15[_0x59cc1f(0x352)]['UpdatedBy']:return _0x640507[_0x59cc1f(0x3e0)]??this[_0x59cc1f(0x3a8)]();case _0x4dff15[_0x59cc1f(0x352)][_0x59cc1f(0xef)]:return _0xdbd9dd(_0x640507[_0x59cc1f(0x301)]??Date[_0x59cc1f(0x27a)]());case _0x4dff15[_0x59cc1f(0x352)][_0x59cc1f(0x4d7)]:return _0xdbd9dd(_0x640507[_0x59cc1f(0x1c7)]??Date[_0x59cc1f(0x27a)]());default:return;}}[_0x565318(0x13a)](_0x35e553){let _0x54ab15=new Map();return _0x35e553&&_0x35e553['fieldOrder']['forEach'](_0x162c22=>{const _0xca6602=_0x5b6a;let _0x16bd58=_0x35e553[_0xca6602(0x375)][_0x162c22];(_0x16bd58==null?void 0x0:_0x16bd58[_0xca6602(0x1dd)])===_0x4dff15['BaseFieldType'][_0xca6602(0x344)]&&_0x54ab15[_0xca6602(0xe4)](_0x162c22,this[_0xca6602(0x2e3)](_0x35e553,_0x162c22));}),_0x54ab15;}[_0x565318(0x2e3)](_0x1d4535,_0x476c77){const _0x49e72f=_0x565318;let _0x15f426=Object['values'](_0x1d4535['records'])[_0x49e72f(0x3b8)]((_0x496748,_0x27286c)=>{const _0x33270e=_0x49e72f;let _0x44e846=Number(_0x27286c[_0x33270e(0x3dd)][_0x476c77]);return Number[_0x33270e(0x217)](_0x44e846)?Math[_0x33270e(0x10a)](_0x496748,_0x44e846):_0x496748;},0x0);return()=>String(++_0x15f426);}[_0x565318(0x1b3)](_0x4ed909,_0x430bec){const _0x4cb7e9=_0x565318;let _0x138ff4=this['_getOrderedRecords'](_0x4ed909),_0x272e4e=this[_0x4cb7e9(0x2e3)](_0x4ed909,_0x430bec);return _0x138ff4[_0x4cb7e9(0x3d1)](_0xd078ed=>this[_0x4cb7e9(0x20c)](_0xd078ed[_0x4cb7e9(0x3dd)][_0x430bec])?[]:[{'recordId':_0xd078ed['id'],'values':{[_0x430bec]:_0x272e4e()}}]);}[_0x565318(0xec)](_0x27e059){const _0x4c5c8b=_0x565318;var _0x27fa9f;let _0x149087=Object[_0x4c5c8b(0x3dd)](_0x27e059['records']),_0x4f52b5=new Map(_0x149087[_0x4c5c8b(0x2e7)](_0x1d8c69=>[_0x1d8c69['id'],_0x1d8c69])),_0x11a857=[],_0x537d3a=new Set();(_0x27fa9f=_0x27e059[_0x4c5c8b(0x135)])==null||_0x27fa9f[_0x4c5c8b(0x207)](_0x53dd46=>{const _0x4d7713=_0x4c5c8b;let _0x290732=_0x4f52b5[_0x4d7713(0x2fe)](_0x53dd46);_0x290732&&(_0x11a857[_0x4d7713(0xfb)](_0x290732),_0x537d3a['add'](_0x53dd46));});let _0x166c61=_0x149087[_0x4c5c8b(0x2ee)](_0x5c95a6=>!_0x537d3a[_0x4c5c8b(0x336)](_0x5c95a6['id']))[_0x4c5c8b(0x27f)]((_0x411b0f,_0xc4ebec)=>String(_0x411b0f[_0x4c5c8b(0x2f6)]??_0x411b0f['id'])[_0x4c5c8b(0xcb)](String(_0xc4ebec[_0x4c5c8b(0x2f6)]??_0xc4ebec['id']))||_0x411b0f['id']['localeCompare'](_0xc4ebec['id']));return[..._0x11a857,..._0x166c61];}[_0x565318(0x20c)](_0x4a909d){const _0x1b7c88=_0x565318;return _0x4a909d!=null&&_0x4a909d!==''&&!(Array['isArray'](_0x4a909d)&&_0x4a909d[_0x1b7c88(0xac)]===0x0);}[_0x565318(0x3a8)](){const _0x43d39b=_0x565318;var _0x389cea,_0x423b4e,_0x512ccc,_0xf5b43;return((_0x389cea=(_0x423b4e=this[_0x43d39b(0xb1)])[_0x43d39b(0x14d)])==null?void 0x0:_0x389cea[_0x43d39b(0x3b3)](_0x423b4e))??((_0x512ccc=(_0xf5b43=this[_0x43d39b(0xb1)])['getCurrentUser'])==null||(_0x512ccc=_0x512ccc[_0x43d39b(0x3b3)](_0xf5b43))==null?void 0x0:_0x512ccc[_0x43d39b(0x390)])??void 0x0;}[_0x565318(0x3fd)](_0xd13f08,_0x14bc28,_0x266c2b,_0x1c5ef5,_0x476180){const _0x56ce1c=_0x565318;var _0x5a134b;if(!this[_0x56ce1c(0xcd)][_0x56ce1c(0x1d1)](_0x14bc28,_0x266c2b,_0x1c5ef5))throw Error(_0x56ce1c(0x161));let _0x170723=(_0x5a134b=_0xd13f08[_0x56ce1c(0x257)][_0x14bc28])==null?void 0x0:_0x5a134b['fields'][_0x1c5ef5];if(!_0x170723)throw Error(_0x56ce1c(0x415)+_0x1c5ef5+'\x22\x20does\x20not\x20exist.');let _0x53ded7=this['_fieldRegistry'][_0x56ce1c(0x2fe)](_0x170723['type']);if(_0x170723[_0x56ce1c(0x24a)]||_0x170723[_0x56ce1c(0x263)]||!_0x53ded7[_0x56ce1c(0x2bd)](_0x170723)[_0x56ce1c(0x114)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x45f4de=_0x53ded7[_0x56ce1c(0x23c)](_0x476180,_0x170723),_0x19afdf=_0x53ded7[_0x56ce1c(0x268)](_0x45f4de,_0x170723);if(!_0x19afdf[_0x56ce1c(0x31a)])throw Error(_0x19afdf['reason']??'[BaseCommandService]:\x20invalid\x20cell\x20value.');let _0x2b3aa4=_0x170723['type']===_0x4dff15[_0x56ce1c(0x352)][_0x56ce1c(0x4fe)]?_0x376044(_0xd13f08,_0x170723,_0x45f4de):{'valid':!0x0};if(!_0x2b3aa4[_0x56ce1c(0x31a)])throw Error(_0x2b3aa4[_0x56ce1c(0x22d)]??'[BaseCommandService]:\x20invalid\x20RecordLink\x20value.');return _0x45f4de;}[_0x565318(0x14b)](_0x5158de,_0x536410){const _0x4b42f8=_0x565318;if(_0x536410['id']===_0x4dff15[_0x4b42f8(0x432)]||_0x536410[_0x4b42f8(0x1dd)]===_0x4dff15['BaseFieldType'][_0x4b42f8(0x37b)]||(0x0,_0x4dff15[_0x4b42f8(0x429)])(_0x536410[_0x4b42f8(0x177)]))throw Error(_0x4b42f8(0x453));let _0x2febdc=_0x595100(_0x5158de,_0x536410);if(!_0x2febdc['valid'])throw Error(_0x2febdc[_0x4b42f8(0x22d)]??_0x4b42f8(0x146));}};_0x2916a5=_0x5e2ef6([_0x10e58b(0x0,_0x42298a),_0x10e58b(0x1,_0x237d9a)],_0x2916a5);function _0x3466c7(){const _0x492206=_0x565318;let _0x13e24a=new _0x150cfc();return _0x4fff64()[_0x492206(0x207)](_0x3363ea=>_0x13e24a[_0x492206(0x15e)](_0x3363ea)),_0x13e24a;}function _0x2aa6a7(_0xb670c1){const _0x4c73b5=_0x565318;return _0xb670c1['type']===_0x4dff15[_0x4c73b5(0x352)][_0x4c73b5(0x344)]||_0xb670c1[_0x4c73b5(0x1dd)]===_0x4dff15['BaseFieldType'][_0x4c73b5(0x119)]||_0xb670c1[_0x4c73b5(0x1dd)]===_0x4dff15[_0x4c73b5(0x352)][_0x4c73b5(0x4bb)]||_0xb670c1['type']===_0x4dff15[_0x4c73b5(0x352)][_0x4c73b5(0xef)]||_0xb670c1[_0x4c73b5(0x1dd)]===_0x4dff15['BaseFieldType'][_0x4c73b5(0x4d7)];}let _0x2b3bab=new Set([_0x4dff15[_0x565318(0x352)][_0x565318(0x162)],_0x4dff15[_0x565318(0x352)][_0x565318(0x130)],_0x4dff15[_0x565318(0x352)][_0x565318(0x334)]]);function _0x3e54f3(_0x3154d8){const _0x144313=_0x565318;let _0x28beea=_0x3154d8[_0x144313(0x375)][_0x3154d8['primaryFieldId']];if((!_0x28beea||_0x28beea['system']!==!0x0&&_0x28beea['id']['toLowerCase']()!=='id'&&_0x28beea[_0x144313(0x177)][_0x144313(0x3b1)]()[_0x144313(0x4ab)]()!=='id')&&_0x28beea)return _0x28beea['id'];for(let _0x707e81 of _0x3154d8[_0x144313(0x2c3)]){let _0x41c84c=_0x3154d8[_0x144313(0x375)][_0x707e81];if(_0x41c84c&&_0x41c84c['id']!==_0x3154d8[_0x144313(0x269)]&&_0x41c84c[_0x144313(0x263)]!==!0x0&&_0x41c84c[_0x144313(0x1dd)]!==_0x4dff15[_0x144313(0x352)]['RecordId'])return _0x41c84c['id'];}return _0x3154d8['primaryFieldId'];}function _0xbf838d(_0x359b00,_0x76c995=[],_0x5edfc6=0x5){const _0x1056ba=_0x565318;let _0x2ef23e=new Set(_0x76c995['filter'](_0x12c650=>!!_0x12c650)),_0x3d083a=[],_0x9fb901=[];for(let _0x41c433 of _0x359b00[_0x1056ba(0x2c3)]){let _0x4587c7=_0x359b00[_0x1056ba(0x375)][_0x41c433];_0x4587c7&&_0x4587c7[_0x1056ba(0x263)]!==!0x0&&_0x4587c7[_0x1056ba(0x1dd)]!==_0x4dff15[_0x1056ba(0x352)][_0x1056ba(0x37b)]&&!_0x2ef23e[_0x1056ba(0x336)](_0x4587c7['id'])&&(_0x2b3bab[_0x1056ba(0x336)](_0x4587c7[_0x1056ba(0x1dd)])?_0x3d083a:_0x9fb901)[_0x1056ba(0xfb)](_0x4587c7['id']);}return[..._0x3d083a,..._0x9fb901][_0x1056ba(0x19e)](0x0,_0x5edfc6);}function _0x506235(){const _0x5bdd09=_0x565318;return[{'type':_0x4dff15[_0x5bdd09(0x2e9)]['Grid'],'i18nKey':_0x5bdd09(0x503),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x512a25=_0x5bdd09;throw Error(_0x512a25(0x17b));}},{'type':_0x4dff15[_0x5bdd09(0x2e9)][_0x5bdd09(0x22b)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x32d219=>{const _0x2df000=_0x5bdd09;let _0x3207ee=_0x464d02(_0x32d219);return{'groupFieldId':_0x3207ee,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x32d219['primaryFieldId'],'fieldIds':_0xbf838d(_0x32d219,[_0x32d219[_0x2df000(0x269)],_0x3207ee])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x33d132=_0x5bdd09;throw Error(_0x33d132(0x414));}},{'type':_0x4dff15[_0x5bdd09(0x2e9)]['Calendar'],'i18nKey':_0x5bdd09(0x1cf),'createDefaultConfig':_0xc14ccd=>{const _0x571178=_0x5bdd09;let _0x22eb05=_0x83eaf4(_0xc14ccd);return{'startDateFieldId':_0x22eb05,'endDateFieldId':_0x4bc61e(_0xc14ccd,_0x22eb05),'titleFieldId':_0xc14ccd['primaryFieldId'],'mode':_0x571178(0x43c),'timeslotSize':_0x571178(0x2d7),'timeZone':_0x571178(0x2f4),'displayColor':{'type':_0x571178(0xbc),'color':_0x571178(0x3fa)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x51d367=_0x5bdd09;throw Error(_0x51d367(0x511));}},{'type':_0x4dff15['BaseViewType']['Gantt'],'i18nKey':_0x5bdd09(0x4aa),'createDefaultConfig':_0x15cf9c=>{const _0x3e626a=_0x5bdd09;let _0x577268=_0x83eaf4(_0x15cf9c);return{'startDateFieldId':_0x577268,'endDateFieldId':_0x4bc61e(_0x15cf9c,_0x577268)??_0x577268,'titleFieldId':_0x15cf9c[_0x3e626a(0x269)],'scale':_0x3e626a(0x43c),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x32afc5=_0x5bdd09;throw Error(_0x32afc5(0x39a));}},{'type':_0x4dff15[_0x5bdd09(0x2e9)][_0x5bdd09(0x3b5)],'i18nKey':_0x5bdd09(0x457),'createDefaultConfig':_0xd236d6=>{const _0x2abde8=_0x5bdd09;let _0xfe26df=_0x3e54f3(_0xd236d6);return{'coverFieldId':null,'cardLayout':_0x2abde8(0x463),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xfe26df,'coverFieldId':null,'fieldIds':_0xbf838d(_0xd236d6,[_0xfe26df,_0xd236d6[_0x2abde8(0x269)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x22fd54=_0x5bdd09;throw Error(_0x22fd54(0x185));}}];}function _0x464d02(_0x18afa0){const _0x198f89=_0x565318;var _0xe1137e,_0x4d8b7c,_0x1bab72;let _0x22f934=_0x18afa0[_0x198f89(0x2c3)][_0x198f89(0x2e7)](_0x2dc04d=>_0x18afa0['fields'][_0x2dc04d])[_0x198f89(0x2ee)](_0x519cb0=>!!_0x519cb0);return((_0xe1137e=_0x22f934[_0x198f89(0x3f5)](_0x50869a=>_0x50869a[_0x198f89(0x1dd)]===_0x4dff15[_0x198f89(0x352)]['SingleSelect']||_0x50869a[_0x198f89(0x1dd)]===_0x4dff15[_0x198f89(0x352)]['MultiSelect']||_0x50869a['type']===_0x4dff15[_0x198f89(0x352)]['Group']))==null?void 0x0:_0xe1137e['id'])??((_0x4d8b7c=_0x22f934['find'](_0x14e4f2=>_0x14e4f2[_0x198f89(0x1dd)]===_0x4dff15[_0x198f89(0x352)][_0x198f89(0x1f5)]))==null?void 0x0:_0x4d8b7c['id'])??((_0x1bab72=_0x22f934[_0x198f89(0x3f5)](_0x537052=>_0x537052[_0x198f89(0x1dd)]===_0x4dff15[_0x198f89(0x352)][_0x198f89(0x18d)]||_0x537052['type']===_0x4dff15['BaseFieldType']['CreatedAt']||_0x537052['type']===_0x4dff15[_0x198f89(0x352)][_0x198f89(0x4d7)]))==null?void 0x0:_0x1bab72['id'])??_0x18afa0[_0x198f89(0x269)];}function _0x83eaf4(_0x514778){const _0x2f1ad3=_0x565318;var _0x28e021;return((_0x28e021=_0x514778[_0x2f1ad3(0x2c3)][_0x2f1ad3(0x2e7)](_0x5c8df1=>_0x514778[_0x2f1ad3(0x375)][_0x5c8df1])[_0x2f1ad3(0x3f5)](_0x31c937))==null?void 0x0:_0x28e021['id'])??'';}function _0x4bc61e(_0x531de4,_0x4dde6f){const _0x3563f5=_0x565318;var _0x39cda5;return(_0x39cda5=_0x531de4[_0x3563f5(0x2c3)][_0x3563f5(0x2e7)](_0x1e60b9=>_0x531de4[_0x3563f5(0x375)][_0x1e60b9])[_0x3563f5(0x3f5)](_0x21ebf2=>_0x31c937(_0x21ebf2)&&_0x21ebf2['id']!==_0x4dde6f))==null?void 0x0:_0x39cda5['id'];}function _0x31c937(_0x5782b2){const _0x3fe8c0=_0x565318;return!!_0x5782b2&&_0x5782b2['type']===_0x4dff15[_0x3fe8c0(0x352)]['Date']&&_0x5782b2[_0x3fe8c0(0x24a)]!==!0x0&&_0x5782b2['system']!==!0x0;}let _0x2c7d1d=(0x0,_0x4dff15[_0x565318(0x238)])(_0x565318(0x356)),_0x26d339=new Set([_0x4dff15['BaseFieldType'][_0x565318(0x170)],_0x4dff15[_0x565318(0x352)][_0x565318(0x229)],_0x4dff15[_0x565318(0x352)][_0x565318(0x162)],_0x4dff15['BaseFieldType'][_0x565318(0x130)],_0x4dff15[_0x565318(0x352)][_0x565318(0x18d)],_0x4dff15['BaseFieldType'][_0x565318(0xef)],_0x4dff15[_0x565318(0x352)][_0x565318(0x4d7)],_0x4dff15[_0x565318(0x352)]['Checkbox']]),_0x3e1979=0x5265c00,_0x403644=class extends _0x4dff15[_0x565318(0x4b6)]{constructor(_0x2aa999){const _0x342119=_0x565318;super(),this[_0x342119(0x371)]=_0x2aa999,_0x446da5(this,_0x342119(0x3b9),new Map()),_0x446da5(this,_0x342119(0x431),new WeakMap()),_0x446da5(this,_0x342119(0x1aa),new Map()),_0x446da5(this,_0x342119(0x18a),new Map()),_0x446da5(this,_0x342119(0x32a),new Map()),_0x446da5(this,_0x342119(0xe2),new Map()),_0x446da5(this,_0x342119(0x2b9),0x0),_0x446da5(this,_0x342119(0x3ac),new Map()),_0x446da5(this,_0x342119(0x332),new Map()),_0x446da5(this,_0x342119(0x227),new Map()),_0x446da5(this,_0x342119(0x100),new Map());}[_0x565318(0x13c)](_0x2b822d){const _0x211110=_0x565318;return this[_0x211110(0x3b9)][_0x211110(0xe4)](_0x2b822d[_0x211110(0x1dd)],_0x2b822d),(0x0,_0x4dff15[_0x211110(0xd3)])(()=>this[_0x211110(0x3b9)]['delete'](_0x2b822d[_0x211110(0x1dd)]));}[_0x565318(0x354)](_0x525451,_0x211c9f,_0x2f2f09){const _0x5095ae=_0x565318;var _0x54cb6a,_0x46093b,_0x2397dc;return _0x24faa7(_0x5095ae(0x387),()=>{const _0x4b5dfa=_0x5095ae;let _0x1b7dea=this[_0x4b5dfa(0x293)](_0x525451,_0x211c9f,_0x2f2f09);if(_0x1b7dea)return _0x1b7dea;let _0x27245c=_0x525451[_0x4b5dfa(0x257)][_0x211c9f],_0x28c651=_0x27245c==null?void 0x0:_0x27245c[_0x4b5dfa(0x353)][_0x2f2f09];if(!_0x27245c||!_0x28c651)return this[_0x4b5dfa(0x500)](_0x525451,_0x211c9f,_0x2f2f09,{'type':_0x4b5dfa(0x386),'viewType':(_0x28c651==null?void 0x0:_0x28c651[_0x4b5dfa(0x1dd)])??_0x4dff15['BaseViewType']['Grid'],'reason':_0x4b5dfa(0xa6)});let _0x3579ed;switch(_0x28c651[_0x4b5dfa(0x1dd)]){case _0x4dff15['BaseViewType'][_0x4b5dfa(0x1d3)]:_0x3579ed=this['_buildGrid'](_0x27245c,_0x28c651);break;case _0x4dff15[_0x4b5dfa(0x2e9)][_0x4b5dfa(0x37f)]:_0x3579ed=this[_0x4b5dfa(0x4bd)](_0x27245c,_0x28c651);break;case _0x4dff15[_0x4b5dfa(0x2e9)][_0x4b5dfa(0x22b)]:_0x3579ed=this[_0x4b5dfa(0x2cf)](_0x27245c,_0x28c651);break;case _0x4dff15[_0x4b5dfa(0x2e9)]['Calendar']:_0x3579ed=this[_0x4b5dfa(0x481)](_0x27245c,_0x28c651);break;case _0x4dff15[_0x4b5dfa(0x2e9)][_0x4b5dfa(0x3b5)]:_0x3579ed=this[_0x4b5dfa(0x303)](_0x27245c,_0x28c651);break;default:_0x3579ed={'type':_0x4b5dfa(0x386),'viewType':_0x28c651[_0x4b5dfa(0x1dd)],'reason':'missingField'};}return this[_0x4b5dfa(0x500)](_0x525451,_0x211c9f,_0x2f2f09,_0x3579ed);},{'tableId':_0x211c9f,'viewId':_0x2f2f09,'viewType':(_0x54cb6a=_0x525451[_0x5095ae(0x257)][_0x211c9f])==null||(_0x54cb6a=_0x54cb6a[_0x5095ae(0x353)][_0x2f2f09])==null?void 0x0:_0x54cb6a[_0x5095ae(0x1dd)],'records':((_0x46093b=_0x525451[_0x5095ae(0x257)][_0x211c9f])==null||(_0x46093b=_0x46093b['recordOrder'])==null?void 0x0:_0x46093b[_0x5095ae(0xac)])??Object[_0x5095ae(0x446)](((_0x2397dc=_0x525451[_0x5095ae(0x257)][_0x211c9f])==null?void 0x0:_0x2397dc[_0x5095ae(0x17e)])??{})[_0x5095ae(0xac)]});}[_0x565318(0x283)](_0x2337df,_0x1e0711,_0x4a1d71){const _0x345fc2=_0x565318;var _0x4f7693,_0x2e3443,_0x509015;let _0x2c76d1=_0x2337df[_0x345fc2(0x257)][_0x1e0711],_0x2a6376=_0x2c76d1==null?void 0x0:_0x2c76d1[_0x345fc2(0x353)][_0x4a1d71];if(!_0x2c76d1||!_0x2a6376)throw Error(_0x345fc2(0x266)+_0x4a1d71+'\x22.');let _0x87a024=_0x253ee7=>!!_0x2c76d1[_0x345fc2(0x375)][_0x253ee7],_0x4a803f={..._0x2a6376,'filter':_0x2a6376[_0x345fc2(0x2ee)]?{..._0x2a6376[_0x345fc2(0x2ee)],'conditions':_0x2a6376[_0x345fc2(0x2ee)]['conditions'][_0x345fc2(0x2ee)](_0x376866=>_0x87a024(_0x376866[_0x345fc2(0x351)]))}:_0x2a6376[_0x345fc2(0x2ee)],'sort':(_0x4f7693=_0x2a6376[_0x345fc2(0x27f)])==null?void 0x0:_0x4f7693[_0x345fc2(0x2ee)](_0x561f22=>_0x87a024(_0x561f22['fieldId'])),'group':(_0x2e3443=_0x2a6376['group'])==null?void 0x0:_0x2e3443[_0x345fc2(0x2ee)](_0x17413e=>_0x87a024(_0x17413e['fieldId'])),'fieldOrder':(_0x509015=_0x2a6376['fieldOrder'])==null?void 0x0:_0x509015[_0x345fc2(0x2ee)](_0x87a024),'fieldSettings':Object[_0x345fc2(0x2cc)](Object[_0x345fc2(0x2b1)](_0x2a6376[_0x345fc2(0x416)]??{})[_0x345fc2(0x2ee)](([_0x248ecb])=>_0x87a024(_0x248ecb)))};if(_0x4a803f[_0x345fc2(0x1dd)]===_0x345fc2(0x2de)){var _0x480e70;let _0x3d9178=_0x4a803f[_0x345fc2(0x2c6)]??{},_0x305f69=this[_0x345fc2(0x214)](_0x2c76d1,_0x4a803f),_0x3ecff6=this[_0x345fc2(0x104)](_0x2c76d1,(_0x480e70=_0x3d9178[_0x345fc2(0x505)])==null?void 0x0:_0x480e70['titleFieldId']);_0x4a803f[_0x345fc2(0x2c6)]={..._0x3d9178,'groupFieldId':_0x305f69??_0x3d9178[_0x345fc2(0x4c7)],'coverFieldId':this[_0x345fc2(0x466)](_0x2c76d1,_0x3d9178),'cardLayout':_0x3d9178['cardLayout']===_0x345fc2(0x39f)?_0x345fc2(0x39f):_0x345fc2(0x463),'showFieldNames':_0x3d9178[_0x345fc2(0x4e1)]!==!0x1,'fieldSettings':Object[_0x345fc2(0x2cc)](Object['entries'](_0x3d9178[_0x345fc2(0x416)]??{})[_0x345fc2(0x2ee)](([_0x5bf01e])=>_0x87a024(_0x5bf01e))),'columnSettings':_0x3d9178[_0x345fc2(0x48b)]??{},'card':{..._0x3d9178[_0x345fc2(0x505)]??{},'titleFieldId':_0x3ecff6,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x2c76d1,_0x4a803f,_0x305f69??'',_0x3ecff6)}};}return{'repaired':JSON[_0x345fc2(0x2ea)](_0x4a803f)!==JSON[_0x345fc2(0x2ea)](_0x2a6376),'view':_0x4a803f};}[_0x565318(0xca)](){this['_globalRevision']++;}['invalidateByCell'](_0x2bf6bd,_0x426f73,_0x36f04e){const _0x499c7c=_0x565318;let _0x1926d4=this['_getCellRevision'](_0x2bf6bd)+0x1;this[_0x499c7c(0x332)][_0x499c7c(0xe4)](_0x2bf6bd,_0x1926d4);let _0x21e877=this[_0x499c7c(0x227)]['get'](_0x2bf6bd)??[];_0x21e877[_0x499c7c(0xfb)]({'revision':_0x1926d4,'recordId':_0x426f73,'fieldId':_0x36f04e}),this[_0x499c7c(0x227)][_0x499c7c(0xe4)](_0x2bf6bd,_0x21e877);}[_0x565318(0x17f)](_0x50f1fd,_0x1d2db7){const _0xbf9a25=_0x565318;this[_0xbf9a25(0x192)](_0x50f1fd);}['invalidateByView'](_0x10fdf3,_0x4c0afd){const _0x4dc9a8=_0x565318;this['_viewRevisions'][_0x4dc9a8(0xe4)](this[_0x4dc9a8(0x262)](_0x10fdf3,_0x4c0afd),this[_0x4dc9a8(0x3f4)](_0x10fdf3,_0x4c0afd)+0x1);}[_0x565318(0x293)](_0x691e42,_0x8c3595,_0x49cc0e){const _0x1788c7=_0x565318;var _0x327a85;let _0x2e3a6e=(_0x327a85=this['_projectionCache'][_0x1788c7(0x2fe)](_0x691e42))==null?void 0x0:_0x327a85[_0x1788c7(0x2fe)](this['_cacheKey'](_0x8c3595,_0x49cc0e));return _0x2e3a6e&&_0x2e3a6e[_0x1788c7(0x4ca)]===this[_0x1788c7(0x2b9)]&&_0x2e3a6e[_0x1788c7(0x449)]===this['_getTableRevision'](_0x8c3595)&&_0x2e3a6e['cellRevision']===this['_getCellRevision'](_0x8c3595)&&_0x2e3a6e[_0x1788c7(0x2bb)]===this[_0x1788c7(0x3f4)](_0x8c3595,_0x49cc0e)?_0x2e3a6e[_0x1788c7(0xed)]:null;}[_0x565318(0x500)](_0x29cf79,_0x54a2c1,_0x20e468,_0x19bb8e){const _0x333750=_0x565318;let _0x679d6b=this[_0x333750(0x431)][_0x333750(0x2fe)](_0x29cf79);return _0x679d6b||(_0x679d6b=new Map(),this[_0x333750(0x431)][_0x333750(0xe4)](_0x29cf79,_0x679d6b)),_0x679d6b[_0x333750(0xe4)](this[_0x333750(0x167)](_0x54a2c1,_0x20e468),{'projection':_0x19bb8e,'globalRevision':this[_0x333750(0x2b9)],'tableRevision':this[_0x333750(0x4ad)](_0x54a2c1),'cellRevision':this['_getCellRevision'](_0x54a2c1),'viewRevision':this[_0x333750(0x3f4)](_0x54a2c1,_0x20e468)}),_0x19bb8e;}[_0x565318(0x192)](_0x45e553){const _0x2852db=_0x565318;this[_0x2852db(0x3ac)][_0x2852db(0xe4)](_0x45e553,this[_0x2852db(0x4ad)](_0x45e553)+0x1);}[_0x565318(0x4ad)](_0x3eb72f){const _0xd0c9ee=_0x565318;return this[_0xd0c9ee(0x3ac)][_0xd0c9ee(0x2fe)](_0x3eb72f)??0x0;}[_0x565318(0x383)](_0x576aad){const _0x2bcde7=_0x565318;return this[_0x2bcde7(0x332)][_0x2bcde7(0x2fe)](_0x576aad)??0x0;}[_0x565318(0x3f4)](_0xf227cd,_0x562785){const _0x3192df=_0x565318;return this[_0x3192df(0x100)]['get'](this[_0x3192df(0x262)](_0xf227cd,_0x562785))??0x0;}[_0x565318(0x167)](_0x1d4269,_0x54d05e){return _0x1d4269+'\x00'+_0x54d05e;}[_0x565318(0x3c4)](_0x219b4f,_0x55c3b9){return _0x219b4f+'\x00'+this['_rowTransformCacheSegment'](_0x55c3b9);}['_groupsCacheKey'](_0x222ba4,_0x446066,_0x5b3d0f){const _0x275ac1=_0x565318;return _0x222ba4+'\x00'+this[_0x275ac1(0x2ae)](_0x446066)+'\x00'+this['_groupConfigCacheSegment'](_0x5b3d0f);}['_rowTransformCacheSegment'](_0x570591){const _0xef582d=_0x565318;return _0x570591?_0x16a9b1({'filter':_0x1a5465(_0x570591[_0xef582d(0x2ee)]),'sort':_0x1728ae(_0x570591[_0xef582d(0x27f)])}):_0xef582d(0x401);}['_groupConfigCacheSegment'](_0x209a17){const _0x300e5f=_0x565318;return _0x16a9b1(_0x209a17[_0x300e5f(0x2e7)](_0xb3bdb7=>({'fieldId':_0xb3bdb7[_0x300e5f(0x351)],'direction':_0xb3bdb7['direction']??null})));}['_viewRevisionKey'](_0x4c755b,_0x305f65){return _0x4c755b+'\x00'+_0x305f65;}[_0x565318(0x215)](_0x211c7f,_0x412b81){const _0x4a3de2=_0x565318;var _0x4c5b1f;let _0x9fbbae=_0xe59662(_0x211c7f),_0x50f32f=this['_projectRows'](_0x211c7f,_0x412b81),_0x39128b=(_0x4c5b1f=_0x412b81[_0x4a3de2(0x2ee)])!=null&&_0x4c5b1f[_0x4a3de2(0x364)][_0x4a3de2(0xac)]?this['_projectRows'](_0x211c7f,{..._0x412b81,'filter':null}):_0x50f32f,_0x978d3f=_0x1a01dd(this['_getHierarchyIndex'](_0x211c7f,_0x9fbbae,_0x412b81['id'],_0x39128b[_0x4a3de2(0x2e7)](_0x488f2a=>_0x488f2a[_0x4a3de2(0x3e1)])),_0x39128b,new Set(_0x50f32f[_0x4a3de2(0x2e7)](_0x2b887b=>_0x2b887b['recordId'])));return{'type':_0x4dff15[_0x4a3de2(0x2e9)][_0x4a3de2(0x1d3)],'fields':this[_0x4a3de2(0x44c)](_0x211c7f,_0x412b81),'rows':_0x978d3f[_0x4a3de2(0x343)],'groups':this[_0x4a3de2(0x421)](_0x211c7f,_0x412b81,_0x978d3f[_0x4a3de2(0x343)],_0x978d3f[_0x4a3de2(0x102)]),'hierarchy':_0x978d3f[_0x4a3de2(0x102)],'frozenFieldCount':typeof _0x412b81['config'][_0x4a3de2(0x32b)]==_0x4a3de2(0x4cd)?_0x412b81['config'][_0x4a3de2(0x32b)]:0x0};}[_0x565318(0x41d)](_0x1df97f,_0x37ec96,_0x47ce51,_0x30ddf3){const _0x42155e=_0x565318;let _0x5be96a=_0x1df97f['id']+'\x00'+_0x37ec96+'\x00'+_0x47ce51,_0x31437c=this[_0x42155e(0x383)](_0x1df97f['id']),_0x3c05b1=this[_0x42155e(0xe2)]['get'](_0x5be96a);if(_0x3c05b1&&_0x3c05b1['globalRevision']===this[_0x42155e(0x2b9)]&&_0x3c05b1[_0x42155e(0x449)]===this['_getTableRevision'](_0x1df97f['id'])&&_0x3c05b1['orderedRecordIds'][_0x42155e(0xac)]===_0x30ddf3['length']&&_0x3c05b1[_0x42155e(0x2b7)][_0x42155e(0x1fd)]((_0x2d5885,_0x28dbc4)=>_0x2d5885===_0x30ddf3[_0x28dbc4])){if(_0x3c05b1['cellRevision']===_0x31437c&&_0x3c05b1[_0x42155e(0x37e)]===_0x1df97f)return _0x3c05b1['index'];if(!this[_0x42155e(0x40f)](_0x1df97f['id'],_0x3c05b1[_0x42155e(0x29d)],_0x31437c,new Set([_0x37ec96])))return this['_hierarchyIndexCache'][_0x42155e(0xe4)](_0x5be96a,{..._0x3c05b1,'table':_0x1df97f,'cellRevision':_0x31437c}),_0x3c05b1['index'];}let _0x1de44f=_0x3b7781(_0x1df97f,_0x37ec96,_0x30ddf3);return this[_0x42155e(0xe2)][_0x42155e(0xe4)](_0x5be96a,{'table':_0x1df97f,'index':_0x1de44f,'orderedRecordIds':_0x30ddf3,'globalRevision':this[_0x42155e(0x2b9)],'tableRevision':this['_getTableRevision'](_0x1df97f['id']),'cellRevision':_0x31437c}),_0x1de44f;}[_0x565318(0x421)](_0x385c,_0x4314e0,_0x1b32e5,_0x4b3f11){const _0x4d529f=_0x565318;var _0x2d9f3a;if(!((_0x2d9f3a=_0x4314e0[_0x4d529f(0x195)])!=null&&_0x2d9f3a[_0x4d529f(0xac)]))return[];let _0xe86b65=new Map(_0x1b32e5[_0x4d529f(0x2e7)](_0x2889c1=>[_0x2889c1[_0x4d529f(0x3e1)],_0x2889c1])),_0x524055=_0x4b3f11[_0x4d529f(0x317)][_0x4d529f(0x3d1)](_0x3e7bd5=>{const _0x442ff7=_0x4d529f;let _0x3e518=_0xe86b65[_0x442ff7(0x2fe)](_0x3e7bd5);return _0x3e518?[_0x3e518]:[];}),_0x5fd725=this[_0x4d529f(0x273)](_0x385c,_0x4314e0,_0x524055),_0x1d6dcf=new Map(_0x4b3f11[_0x4d529f(0x2b7)][_0x4d529f(0x2e7)]((_0x87be84,_0x432f36)=>[_0x87be84,_0x432f36])),_0x3466c0=_0x171b75=>{const _0x3cf04a=_0x4d529f;let _0x11fa8f=_0x4b3f11[_0x3cf04a(0x4ff)][_0x171b75],_0x2fdf87=_0x1d6dcf[_0x3cf04a(0x2fe)](_0x171b75)??-0x1;return _0x2fdf87<0x0||!_0x11fa8f?[]:_0x4b3f11[_0x3cf04a(0x2b7)][_0x3cf04a(0x19e)](_0x2fdf87,_0x11fa8f['subtreeEndIndex']+0x1);},_0x55173f=_0x351a12=>{const _0x2316af=_0x4d529f;var _0x476fd7,_0x3659c7;return{..._0x351a12,'recordIds':(_0x476fd7=_0x351a12[_0x2316af(0x357)])!=null&&_0x476fd7[_0x2316af(0xac)]?_0x351a12[_0x2316af(0x4d6)]:_0x351a12['recordIds'][_0x2316af(0x3d1)](_0x3466c0),'children':(_0x3659c7=_0x351a12[_0x2316af(0x357)])==null?void 0x0:_0x3659c7[_0x2316af(0x2e7)](_0x55173f)};};return _0x5fd725[_0x4d529f(0x2e7)](_0x55173f);}['_buildKanban'](_0x4c2e66,_0x61196d){const _0x34b84b=_0x565318;var _0x2cf0dc;let _0x52193f=this[_0x34b84b(0x214)](_0x4c2e66,_0x61196d),_0xab30a7=_0x52193f?_0x4c2e66[_0x34b84b(0x375)][_0x52193f]:void 0x0;if(!_0xab30a7)return{'type':_0x34b84b(0x386),'viewType':_0x4dff15[_0x34b84b(0x2e9)][_0x34b84b(0x22b)],'reason':_0x34b84b(0x3c9),'fieldId':_0x61196d[_0x34b84b(0x2c6)][_0x34b84b(0x4c7)]};let _0x4d7e72=this[_0x34b84b(0x47d)](_0x4c2e66,_0x61196d),_0x34a86c=this[_0x34b84b(0x44c)](_0x4c2e66,_0x61196d),_0x1062e8=_0x61196d[_0x34b84b(0x2c6)]??{},_0x43af04=this[_0x34b84b(0x104)](_0x4c2e66,(_0x2cf0dc=_0x1062e8['card'])==null?void 0x0:_0x2cf0dc['titleFieldId']),_0x5e6e9b=this['_resolveKanbanCardFieldIds'](_0x4c2e66,_0x61196d,_0xab30a7['id'],_0x43af04),_0x1539c4=new Map();if(_0x48ed14(_0x4c2e66,_0xab30a7['id'])){let _0xe87eed=this['_getHierarchyIndex'](_0x4c2e66,_0xab30a7['id'],_0x61196d['id'],_0x4d7e72[_0x34b84b(0x2e7)](_0x1b6a92=>_0x1b6a92[_0x34b84b(0x3e1)])),_0x42bcf2=new Map();return _0x4d7e72[_0x34b84b(0x207)](_0x36b09d=>{const _0x30c57d=_0x34b84b;let _0xc5d687=_0xe87eed[_0x30c57d(0x3a3)]['get'](_0x36b09d[_0x30c57d(0x3e1)])??null,_0x3a0d65=_0xc5d687??'',_0x321a3b=_0xc5d687?_0x4c2e66[_0x30c57d(0x17e)][_0xc5d687]:void 0x0,_0x35980c=_0x42bcf2[_0x30c57d(0x2fe)](_0x3a0d65)??{'key':_0x3a0d65,'title':_0x321a3b?String(_0x99141b(_0x4c2e66,_0x321a3b['id'],_0x4c2e66[_0x30c57d(0x269)])??_0xc5d687):this[_0x30c57d(0x1c9)](_0xab30a7,_0x3a0d65,_0x1062e8),'recordIds':[]};_0x35980c[_0x30c57d(0x4d6)][_0x30c57d(0xfb)](_0x36b09d[_0x30c57d(0x3e1)]),_0x42bcf2['set'](_0x3a0d65,_0x35980c);}),{'type':_0x4dff15[_0x34b84b(0x2e9)]['Kanban'],'fields':_0x34a86c,'rows':_0x4d7e72,'groups':[],'groupFieldId':_0xab30a7['id'],'titleFieldId':_0x43af04,'coverFieldId':this[_0x34b84b(0x466)](_0x4c2e66,_0x1062e8),'cardLayout':_0x1062e8[_0x34b84b(0x211)]==='compose'?'compose':_0x34b84b(0x463),'showFieldNames':_0x1062e8[_0x34b84b(0x4e1)]!==!0x1,'visibleCardFieldIds':_0x5e6e9b,'lanes':['',..._0xe87eed[_0x34b84b(0x2b7)]][_0x34b84b(0x3d1)](_0x1787f1=>{const _0x11ca11=_0x34b84b;let _0xadfea2=_0x42bcf2[_0x11ca11(0x2fe)](_0x1787f1);return _0xadfea2!=null&&_0xadfea2['recordIds']['length']?[_0xadfea2]:[];})};}return this[_0x34b84b(0x47f)](_0xab30a7,_0x1062e8)['forEach'](_0x58446c=>_0x1539c4['set'](_0x58446c[_0x34b84b(0x14f)],{..._0x58446c,'recordIds':[]})),_0x4d7e72[_0x34b84b(0x207)](_0x472a14=>{const _0x56885b=_0x34b84b;this[_0x56885b(0x2ce)](_0xab30a7,_0x472a14['values'][_0xab30a7['id']])[_0x56885b(0x207)](_0x40dd53=>{const _0x265391=_0x56885b;let _0xf4723e=_0x1539c4['get'](_0x40dd53)??{'key':_0x40dd53,'title':this[_0x265391(0x1c9)](_0xab30a7,_0x40dd53,_0x1062e8),'color':this[_0x265391(0x4a4)](_0xab30a7,_0x40dd53,_0x1062e8),'recordIds':[]};_0xf4723e[_0x265391(0x4d6)]['push'](_0x472a14[_0x265391(0x3e1)]),_0x1539c4[_0x265391(0xe4)](_0x40dd53,_0xf4723e);});}),{'type':_0x4dff15['BaseViewType'][_0x34b84b(0x22b)],'fields':_0x34a86c,'rows':_0x4d7e72,'groups':this[_0x34b84b(0x273)](_0x4c2e66,_0x61196d,_0x4d7e72),'groupFieldId':_0xab30a7['id'],'titleFieldId':_0x43af04,'coverFieldId':this[_0x34b84b(0x466)](_0x4c2e66,_0x1062e8),'cardLayout':_0x1062e8[_0x34b84b(0x211)]===_0x34b84b(0x39f)?_0x34b84b(0x39f):_0x34b84b(0x463),'showFieldNames':_0x1062e8[_0x34b84b(0x4e1)]!==!0x1,'visibleCardFieldIds':_0x5e6e9b,'lanes':Array['from'](_0x1539c4[_0x34b84b(0x3dd)]())};}['_resolveKanbanGroupFieldId'](_0x2b766a,_0x11df1f){const _0x23cd1c=_0x565318;var _0x1e29bc;let _0xab3889=(_0x1e29bc=_0x11df1f[_0x23cd1c(0x2c6)])==null?void 0x0:_0x1e29bc[_0x23cd1c(0x4c7)];return _0xab3889&&this[_0x23cd1c(0x372)](_0x2b766a,_0xab3889)?_0xab3889:this[_0x23cd1c(0xc8)](_0x2b766a,_0x3d79f0=>this[_0x23cd1c(0x2a5)](_0x3d79f0));}[_0x565318(0xc8)](_0x3bb76b,_0x4c2709){const _0x4f9632=_0x565318;for(let _0x5244ba of _0x3bb76b[_0x4f9632(0x2c3)]){let _0x4290dc=_0x3bb76b[_0x4f9632(0x375)][_0x5244ba];if(_0x4290dc&&_0x4c2709(_0x4290dc))return _0x4290dc['id'];}return null;}['_isKanbanGroupField'](_0x50d3c1,_0x12f967){const _0x34c3e0=_0x565318;let _0x58ce81=_0x50d3c1[_0x34c3e0(0x375)][_0x12f967];return this['_isAllowedKanbanGroupField'](_0x58ce81)||_0x48ed14(_0x50d3c1,_0x12f967);}[_0x565318(0x2a5)](_0x1538ce){const _0x1c6f7f=_0x565318;return!!_0x1538ce&&(_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15['BaseFieldType'][_0x1c6f7f(0x3e8)]||_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15['BaseFieldType']['MultiSelect']||_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15[_0x1c6f7f(0x352)][_0x1c6f7f(0x130)]||_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15[_0x1c6f7f(0x352)][_0x1c6f7f(0x1a1)]||_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15[_0x1c6f7f(0x352)][_0x1c6f7f(0x4eb)]||_0x1538ce[_0x1c6f7f(0x1dd)]===_0x4dff15['BaseFieldType'][_0x1c6f7f(0x334)]);}[_0x565318(0x405)](_0x6aa634){const _0x2e5a21=_0x565318;return _0x6aa634[_0x2e5a21(0x1dd)]===_0x4dff15[_0x2e5a21(0x352)][_0x2e5a21(0x3e8)]||_0x6aa634[_0x2e5a21(0x1dd)]===_0x4dff15[_0x2e5a21(0x352)][_0x2e5a21(0x23e)];}[_0x565318(0x466)](_0x587350,_0x2f235c){const _0x1b6ef2=_0x565318;var _0xae87a7;let _0x103a51=_0x2f235c['coverFieldId']??((_0xae87a7=_0x2f235c[_0x1b6ef2(0x505)])==null?void 0x0:_0xae87a7[_0x1b6ef2(0x2e8)])??null;if(!_0x103a51)return null;let _0x143425=_0x587350[_0x1b6ef2(0x375)][_0x103a51];return _0x143425&&this[_0x1b6ef2(0xf6)](_0x143425)[_0x1b6ef2(0xc2)]?_0x143425['id']:null;}[_0x565318(0x30c)](_0x482c22,_0x4ff164,_0x55da2b,_0xc433b8=this['_resolveCardTitleFieldId'](_0x482c22,((()=>{const _0x357861=_0x565318;var _0x3e0e04;return(_0x3e0e04=_0x4ff164[_0x357861(0x2c6)])==null||(_0x3e0e04=_0x3e0e04[_0x357861(0x505)])==null?void 0x0:_0x3e0e04['titleFieldId'];})()))){const _0xc34a3=_0x565318;var _0x362fed;let _0x49e9ed=_0x4ff164[_0xc34a3(0x2c6)]??{},_0x41d31f=(_0x362fed=_0x49e9ed[_0xc34a3(0x505)])!=null&&(_0x362fed=_0x362fed[_0xc34a3(0x2e6)])!=null&&_0x362fed[_0xc34a3(0xac)]?_0x49e9ed['card']['fieldIds']:_0xbf838d(_0x482c22,[_0xc433b8,_0x482c22['primaryFieldId'],_0x55da2b]),_0x53f865=_0x49e9ed['fieldSettings']??{};return _0x41d31f[_0xc34a3(0x2ee)](_0x3f0cd1=>{const _0x4cc826=_0xc34a3;var _0x3f07e5,_0x8dc9ce;let _0x32e8de=_0x482c22[_0x4cc826(0x375)][_0x3f0cd1];return!(!_0x32e8de||_0x32e8de['system']===!0x0||_0x32e8de[_0x4cc826(0x1dd)]===_0x4dff15[_0x4cc826(0x352)][_0x4cc826(0x37b)]||_0x32e8de['id']===_0x55da2b||_0x32e8de['id']===_0xc433b8||(_0x3f07e5=_0x4ff164[_0x4cc826(0x416)])!=null&&(_0x3f07e5=_0x3f07e5[_0x3f0cd1])!=null&&_0x3f07e5['hidden']||(_0x8dc9ce=_0x53f865[_0x3f0cd1])!=null&&_0x8dc9ce[_0x4cc826(0x1b1)]);})[_0xc34a3(0x27f)]((_0x37d1dc,_0x2ee9b3)=>{const _0x315fb4=_0xc34a3;var _0x24541b,_0x244a78;return(((_0x24541b=_0x53f865[_0x37d1dc])==null?void 0x0:_0x24541b[_0x315fb4(0x140)])??_0x41d31f['indexOf'](_0x37d1dc))-(((_0x244a78=_0x53f865[_0x2ee9b3])==null?void 0x0:_0x244a78[_0x315fb4(0x140)])??_0x41d31f[_0x315fb4(0x321)](_0x2ee9b3));});}[_0x565318(0x47f)](_0x103944,_0x5c8f4b){const _0x36ac38=_0x565318;var _0x1c5d1c;let _0x1090d3=(Array[_0x36ac38(0x1eb)]((_0x1c5d1c=_0x103944[_0x36ac38(0x2c6)])==null?void 0x0:_0x1c5d1c[_0x36ac38(0x482)])?_0x103944[_0x36ac38(0x2c6)][_0x36ac38(0x482)]:[])['flatMap']((_0x5d9fb9,_0x6a954f)=>{const _0xc242d=_0x36ac38;if(_0x5d9fb9==null)return[];let _0xd32ec9=typeof _0x5d9fb9==_0xc242d(0x17d)?{'id':_0x5d9fb9,'name':_0x5d9fb9,'color':void 0x0}:_0x5d9fb9,_0x401464=String(_0xd32ec9['id']??_0xd32ec9[_0xc242d(0x177)]??_0xc242d(0x465)+(_0x6a954f+0x1));return[{'key':_0x401464,'title':String(_0xd32ec9[_0xc242d(0x177)]??_0xd32ec9['id']??_0x401464),'color':this[_0xc242d(0x4a4)](_0x103944,_0x401464,_0x5c8f4b)}];});return Object['entries'](_0x5c8f4b[_0x36ac38(0x48b)]??{})['forEach'](([_0xa7f82,_0x313168])=>{const _0xd94fe2=_0x36ac38;_0x1090d3[_0xd94fe2(0x1a5)](_0x2e76a2=>_0x2e76a2['key']===_0xa7f82)||_0x1090d3[_0xd94fe2(0xfb)]({'key':_0xa7f82,'title':this[_0xd94fe2(0x405)](_0x103944)?_0x313168['title']??this[_0xd94fe2(0x1c9)](_0x103944,_0xa7f82,_0x5c8f4b):this['_kanbanLaneTitle'](_0x103944,_0xa7f82,_0x5c8f4b),'color':this['_kanbanLaneColor'](_0x103944,_0xa7f82,_0x5c8f4b)});}),_0x1090d3;}[_0x565318(0x2ce)](_0x314e87,_0x464801){const _0x49be29=_0x565318;let _0xf99fb5=_0x525635=>{const _0x5ca7d=_0x5b6a;var _0x5d6e1f;let _0x255758=_0x525635==null?'':String(_0x525635);return!_0x255758||!this[_0x5ca7d(0x405)](_0x314e87)?_0x255758:((_0x5d6e1f=_0x3b915d(_0x314e87,_0x255758))==null?void 0x0:_0x5d6e1f['id'])??_0x255758;};if(Array[_0x49be29(0x1eb)](_0x464801)){let _0x142de0=_0x464801[_0x49be29(0x2e7)](_0xf99fb5)['filter'](_0x52eb87=>_0x52eb87!=='');return _0x142de0[_0x49be29(0xac)]?_0x142de0:[''];}return[_0xf99fb5(_0x464801)];}[_0x565318(0x1c9)](_0x17d09e,_0x44f6b6,_0x25001e){const _0x30a7b5=_0x565318;if(!_0x44f6b6)return _0x30a7b5(0x4f5);let _0x2acb8f=_0x3b915d(_0x17d09e,_0x44f6b6);return(_0x2acb8f==null?void 0x0:_0x2acb8f[_0x30a7b5(0x177)])??_0x44f6b6;}[_0x565318(0x4a4)](_0x547f6b,_0x51419c,_0x31cee4){const _0x177040=_0x565318;var _0x2da296;if(this[_0x177040(0x405)](_0x547f6b))return(_0x2da296=_0x3b915d(_0x547f6b,_0x51419c))==null?void 0x0:_0x2da296[_0x177040(0x409)];}['_buildCalendar'](_0x299adf,_0xc5f28a){const _0x2f9e1c=_0x565318;let _0x3b81b6=this[_0x2f9e1c(0x1ce)](_0x299adf,_0xc5f28a[_0x2f9e1c(0x2c6)]??{}),_0x521f12=_0x299adf[_0x2f9e1c(0x375)][_0x3b81b6[_0x2f9e1c(0x469)]];if(!_0x521f12||_0x521f12[_0x2f9e1c(0x1dd)]!==_0x4dff15[_0x2f9e1c(0x352)]['Date']||_0x521f12[_0x2f9e1c(0x24a)]===!0x0||_0x521f12['system']===!0x0||!this[_0x2f9e1c(0xf6)](_0x521f12)[_0x2f9e1c(0x4da)])return{'type':_0x2f9e1c(0x386),'viewType':_0x4dff15[_0x2f9e1c(0x2e9)][_0x2f9e1c(0x21b)],'reason':_0x2f9e1c(0x46b),'fieldId':_0x3b81b6['startDateFieldId']};let _0x32227a=_0x3b81b6[_0x2f9e1c(0x1f2)]?_0x299adf[_0x2f9e1c(0x375)][_0x3b81b6[_0x2f9e1c(0x1f2)]]:void 0x0,_0x5bd925=this['_projectRows'](_0x299adf,_0xc5f28a);return{'type':_0x4dff15[_0x2f9e1c(0x2e9)][_0x2f9e1c(0x21b)],'config':_0x3b81b6,'fields':this[_0x2f9e1c(0x44c)](_0x299adf,_0xc5f28a),'rows':_0x5bd925,'groups':this[_0x2f9e1c(0x273)](_0x299adf,_0xc5f28a,_0x5bd925),'events':_0x5bd925[_0x2f9e1c(0x3d1)](_0x385ff3=>{const _0x9f8bd1=_0x2f9e1c;let _0x3cdf75=_0x159f2d(_0x385ff3[_0x9f8bd1(0x3dd)][_0x3b81b6['startDateFieldId']]);if(!Number['isFinite'](_0x3cdf75))return[];let _0x599a30=_0x385ff3['values'][_0x3b81b6[_0x9f8bd1(0x469)]],_0x57f491=_0x3b81b6[_0x9f8bd1(0x1f2)]==null?void 0x0:_0x385ff3['values'][_0x3b81b6[_0x9f8bd1(0x1f2)]],_0x1a071c=_0x3b81b6['endDateFieldId']==null?void 0x0:_0x159f2d(_0x57f491),_0x838057=Number[_0x9f8bd1(0x217)](_0x1a071c)?_0x1a071c:void 0x0;return[{'recordId':_0x385ff3[_0x9f8bd1(0x3e1)],'title':this[_0x9f8bd1(0x4d5)](_0x299adf,_0x385ff3,_0x3b81b6['titleFieldId']),'start':_0x3cdf75,'end':_0x838057,'color':this[_0x9f8bd1(0x43f)](_0x299adf,_0x385ff3,_0x3b81b6),'startMs':_0x3cdf75,'endMs':_0x838057,'allDay':this[_0x9f8bd1(0x46f)](_0x521f12,_0x32227a,_0x599a30,_0x57f491),'fieldValues':_0x385ff3['values']}];})};}[_0x565318(0x1ce)](_0x3f0787,_0x309d82){const _0x10403c=_0x565318;let _0x1d3774=this[_0x10403c(0x1b7)](_0x3f0787,_0x309d82[_0x10403c(0x469)]),_0x1737b2=_0x309d82[_0x10403c(0x1f2)]&&this[_0x10403c(0x4cb)](_0x3f0787,_0x309d82[_0x10403c(0x1f2)])?_0x309d82['endDateFieldId']:this['_findCalendarDateFieldId'](_0x3f0787,_0x1d3774)??void 0x0,_0x46be70=_0x309d82['titleFieldId']?_0x3f0787[_0x10403c(0x375)][_0x309d82[_0x10403c(0x4a1)]]:void 0x0,_0x5bd1a7=_0x46be70&&_0x46be70[_0x10403c(0x263)]!==!0x0&&_0x46be70[_0x10403c(0x1dd)]!==_0x4dff15[_0x10403c(0x352)][_0x10403c(0x37b)]?_0x309d82[_0x10403c(0x4a1)]:_0x3f0787[_0x10403c(0x269)],_0x172cc2=_0x309d82['mode']==='day'||_0x309d82[_0x10403c(0x24e)]===_0x10403c(0x21f)?_0x309d82[_0x10403c(0x24e)]:_0x10403c(0x43c),_0x3512a1=_0x309d82[_0x10403c(0x188)]===_0x10403c(0x3a7)||_0x309d82['timeslotSize']===_0x10403c(0x461)?_0x309d82[_0x10403c(0x188)]:_0x10403c(0x2d7),_0x381ee0=typeof _0x309d82[_0x10403c(0xab)]==_0x10403c(0x17d)&&_0x309d82[_0x10403c(0xab)][_0x10403c(0x3b1)]()?_0x309d82[_0x10403c(0xab)]:_0x10403c(0x2f4),_0x375d5f=this[_0x10403c(0x1bd)](_0x3f0787,_0x309d82);return{..._0x309d82,'startDateFieldId':_0x1d3774,'endDateFieldId':_0x1737b2,'titleFieldId':_0x5bd1a7,'mode':_0x172cc2,'timeslotSize':_0x3512a1,'timeZone':_0x381ee0,'displayColor':_0x375d5f,'fieldSettings':Object[_0x10403c(0x2cc)](Object[_0x10403c(0x2b1)](_0x309d82['fieldSettings']??{})['filter'](([_0x3c3b50])=>{const _0x266b5e=_0x10403c;let _0x24c988=_0x3f0787['fields'][_0x3c3b50];return!!(_0x24c988&&_0x24c988['system']!==!0x0&&_0x24c988[_0x266b5e(0x1dd)]!==_0x4dff15[_0x266b5e(0x352)][_0x266b5e(0x37b)]);}))};}[_0x565318(0x1b7)](_0x514400,_0x224815){const _0x325856=_0x565318;return _0x224815&&this[_0x325856(0x4cb)](_0x514400,_0x224815)?_0x224815:this[_0x325856(0x3a4)](_0x514400)??_0x224815??'';}[_0x565318(0x3a4)](_0x2ecc33,_0x2d0ede){const _0x43eda8=_0x565318;for(let _0x39eec4 of _0x2ecc33[_0x43eda8(0x2c3)])if(_0x39eec4!==_0x2d0ede&&this[_0x43eda8(0x4cb)](_0x2ecc33,_0x39eec4))return _0x39eec4;return null;}[_0x565318(0x4cb)](_0x2e011a,_0x2f3364){const _0x217afa=_0x565318;let _0x5c18c0=_0x2e011a[_0x217afa(0x375)][_0x2f3364];return!!_0x5c18c0&&_0x5c18c0['type']===_0x4dff15[_0x217afa(0x352)][_0x217afa(0x18d)]&&_0x5c18c0[_0x217afa(0x24a)]!==!0x0&&_0x5c18c0[_0x217afa(0x263)]!==!0x0&&this[_0x217afa(0xf6)](_0x5c18c0)[_0x217afa(0x4da)];}[_0x565318(0x1bd)](_0x5103e1,_0x1f0fc0){const _0x538d59=_0x565318;let _0x257e46=_0x1f0fc0['displayColor'];if((_0x257e46==null?void 0x0:_0x257e46[_0x538d59(0x1dd)])==='selectField'){let _0x5f0db2=_0x5103e1['fields'][_0x257e46['fieldId']];if(_0x5f0db2&&_0x5f0db2[_0x538d59(0x1dd)]===_0x4dff15[_0x538d59(0x352)][_0x538d59(0x3e8)])return _0x257e46;}if((_0x257e46==null?void 0x0:_0x257e46[_0x538d59(0x1dd)])===_0x538d59(0xbc)&&typeof _0x257e46[_0x538d59(0x409)]==_0x538d59(0x17d)&&_0x257e46[_0x538d59(0x409)][_0x538d59(0x3b1)]())return{'type':_0x538d59(0xbc),'color':_0x257e46[_0x538d59(0x409)]};if(_0x1f0fc0[_0x538d59(0x1bc)]){let _0x13474a=_0x5103e1[_0x538d59(0x375)][_0x1f0fc0[_0x538d59(0x1bc)]];if(_0x13474a&&_0x13474a['type']===_0x4dff15[_0x538d59(0x352)][_0x538d59(0x3e8)])return{'type':_0x538d59(0x2d5),'fieldId':_0x1f0fc0[_0x538d59(0x1bc)]};}return{'type':_0x538d59(0xbc),'color':_0x538d59(0x3fa)};}['_calendarEventColor'](_0x3e227e,_0x1fd6e5,_0x5b3823){const _0x282b14=_0x565318;let _0x590003=_0x5b3823[_0x282b14(0x128)];if((_0x590003==null?void 0x0:_0x590003[_0x282b14(0x1dd)])===_0x282b14(0x2d5)){var _0x3232e3;let _0x312220=_0x3e227e[_0x282b14(0x375)][_0x590003[_0x282b14(0x351)]];if(!_0x312220)return;let _0x4a2c4a=_0x1fd6e5[_0x282b14(0x3dd)][_0x590003[_0x282b14(0x351)]],_0x4e94ea=Array[_0x282b14(0x1eb)](_0x4a2c4a)?_0x4a2c4a[0x0]:_0x4a2c4a;return _0x4e94ea==null||(_0x3232e3=_0x3b915d(_0x312220,String(_0x4e94ea)))==null?void 0x0:_0x3232e3['color'];}if((_0x590003==null?void 0x0:_0x590003[_0x282b14(0x1dd)])==='custom')return _0x590003['color'];}[_0x565318(0x46f)](_0x4ad6de,_0x297623,_0x45389e,_0x4a57db){const _0x1b5089=_0x565318;var _0x1e9433,_0x40316a;let _0x5440e9=((_0x1e9433=_0x4ad6de[_0x1b5089(0x2c6)])==null?void 0x0:_0x1e9433[_0x1b5089(0x2db)])===!0x0,_0x1c68f4=(_0x297623==null||(_0x40316a=_0x297623[_0x1b5089(0x2c6)])==null?void 0x0:_0x40316a[_0x1b5089(0x2db)])===!0x0;return!_0x5440e9&&!_0x1c68f4;}[_0x565318(0x1de)](_0x1d2550,_0x4d03ce){const _0x1154f0=_0x565318;var _0x2f9bf8,_0x713722;let _0x2a08a2=((_0x2f9bf8=_0x1d2550[_0x1154f0(0x2c6)])==null?void 0x0:_0x2f9bf8[_0x1154f0(0x2db)])===!0x0,_0x61d516=((_0x713722=_0x4d03ce[_0x1154f0(0x2c6)])==null?void 0x0:_0x713722[_0x1154f0(0x2db)])===!0x0;return!_0x2a08a2&&!_0x61d516;}['_buildGantt'](_0x165800,_0x48370c){const _0x240f01=_0x565318;let _0x309769=this[_0x240f01(0x286)](_0x165800,_0x48370c['config']),_0x6a3f0=_0x165800['fields'][_0x309769['startDateFieldId']];if(!_0x6a3f0||_0x6a3f0['type']!==_0x4dff15[_0x240f01(0x352)]['Date']||_0x6a3f0[_0x240f01(0x24a)]===!0x0||_0x6a3f0[_0x240f01(0x263)]===!0x0||!this[_0x240f01(0xf6)](_0x6a3f0)[_0x240f01(0x3cc)])return{'type':_0x240f01(0x386),'viewType':_0x4dff15[_0x240f01(0x2e9)][_0x240f01(0x37f)],'reason':_0x240f01(0x33d),'fieldId':_0x309769[_0x240f01(0x469)]};let _0x2ef76c=_0x165800[_0x240f01(0x375)][_0x309769[_0x240f01(0x1f2)]];if(!_0x2ef76c||_0x2ef76c[_0x240f01(0x1dd)]!==_0x4dff15[_0x240f01(0x352)][_0x240f01(0x18d)]||_0x2ef76c[_0x240f01(0x24a)]===!0x0||_0x2ef76c[_0x240f01(0x263)]===!0x0||!this['_capabilities'](_0x2ef76c)[_0x240f01(0x4e0)])return{'type':'invalid','viewType':_0x4dff15['BaseViewType']['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x309769[_0x240f01(0x1f2)]};let _0x391f3b=this[_0x240f01(0x1de)](_0x6a3f0,_0x2ef76c),_0x21e651=this[_0x240f01(0x47d)](_0x165800,_0x48370c),_0x2551cf=_0x21e651[_0x240f01(0x3d1)](_0x528bba=>{const _0x1aee72=_0x240f01;let _0x4381fe=_0x159f2d(_0x528bba['values'][_0x309769['startDateFieldId']]),_0x37c687=_0x159f2d(_0x528bba[_0x1aee72(0x3dd)][_0x309769[_0x1aee72(0x1f2)]]);if(!Number[_0x1aee72(0x217)](_0x4381fe)||!Number['isFinite'](_0x37c687))return[];let _0x4f7d63=Math[_0x1aee72(0x3b0)](_0x4381fe,_0x37c687),_0x23c071=Math[_0x1aee72(0x10a)](_0x4381fe,_0x37c687),_0x4ef706=_0x309769[_0x1aee72(0x275)]==null?void 0x0:Number(_0x528bba[_0x1aee72(0x3dd)][_0x309769['progressFieldId']]);return[{'recordId':_0x528bba[_0x1aee72(0x3e1)],'title':this[_0x1aee72(0x4d5)](_0x165800,_0x528bba,_0x309769[_0x1aee72(0x4a1)]),'start':_0x4f7d63,'end':_0x23c071,'color':this['_ganttBarColor'](_0x165800,_0x528bba,_0x309769),'progress':Number[_0x1aee72(0x217)](_0x4ef706)?_0x4ef706:void 0x0,'workingDayCount':_0x309769[_0x1aee72(0x4b8)]?_0x110abd(_0x4f7d63,_0x23c071,_0x309769[_0x1aee72(0x158)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x528bba[_0x1aee72(0x3dd)][_0x309769[_0x1aee72(0x380)]??''])}];}),_0x13b600=_0x2551cf[_0x240f01(0xac)]?_0x52c108(Math['min'](..._0x2551cf[_0x240f01(0x2e7)](_0x777375=>_0x777375[_0x240f01(0x367)]))-0x5a*_0x3e1979):_0x52c108(Date[_0x240f01(0x27a)]()-0x5a*_0x3e1979),_0x2c67c9=_0x2551cf['length']?_0x52c108(Math[_0x240f01(0x10a)](..._0x2551cf[_0x240f01(0x2e7)](_0x1a78d7=>_0x1a78d7[_0x240f01(0x474)]))+0x5b*_0x3e1979):_0x52c108(Date[_0x240f01(0x27a)]()+0x5b*_0x3e1979),_0x1939a8=_0x22df67(_0x309769[_0x240f01(0x1af)],_0x13b600,_0x2c67c9,_0x309769[_0x240f01(0x4b8)]?_0x309769[_0x240f01(0x158)]:void 0x0);return{'type':_0x4dff15[_0x240f01(0x2e9)][_0x240f01(0x37f)],'fields':this['_projectFields'](_0x165800,{..._0x48370c,'config':_0x309769}),'rows':_0x21e651,'groups':this[_0x240f01(0x273)](_0x165800,_0x48370c,_0x21e651),'config':_0x309769,'dateRangeAllDay':_0x391f3b,'timeline':{'scale':_0x309769[_0x240f01(0x1af)],'start':_0x13b600,'end':_0x2c67c9,'unitWidth':_0x1939a8[_0x240f01(0x376)],'majorHeaders':_0x1939a8[_0x240f01(0x202)],'columns':_0x1939a8['columns']},'bars':_0x2551cf};}[_0x565318(0x286)](_0x430f4d,_0x23f639){const _0x5bcd8a=_0x565318;let _0xaf6388=this[_0x5bcd8a(0x203)](_0x430f4d,_0x23f639[_0x5bcd8a(0x469)],_0x5bcd8a(0x367)),_0x26c158=this['_resolveGanttDateFieldId'](_0x430f4d,_0x23f639[_0x5bcd8a(0x1f2)],'end')||_0xaf6388,_0x3d46b8=_0x23f639[_0x5bcd8a(0x4a1)]?_0x430f4d[_0x5bcd8a(0x375)][_0x23f639['titleFieldId']]:void 0x0,_0x4e6372=_0x3d46b8&&_0x3d46b8[_0x5bcd8a(0x263)]!==!0x0&&_0x3d46b8['type']!==_0x4dff15[_0x5bcd8a(0x352)]['RecordId']?_0x23f639[_0x5bcd8a(0x4a1)]:_0x430f4d[_0x5bcd8a(0x269)],_0x5869d1=_0x23f639[_0x5bcd8a(0x1af)]==='week'||_0x23f639[_0x5bcd8a(0x1af)]===_0x5bcd8a(0x11f)||_0x23f639['scale']===_0x5bcd8a(0x4e2)?_0x23f639[_0x5bcd8a(0x1af)]:'month',_0x222f4d=_0xa5395e(_0x23f639[_0x5bcd8a(0x158)]);return{..._0x23f639,'startDateFieldId':_0xaf6388,'endDateFieldId':_0x26c158,'titleFieldId':_0x4e6372,'scale':_0x5869d1,'leftPaneWidth':typeof _0x23f639['leftPaneWidth']==_0x5bcd8a(0x4cd)?_0x23f639['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x23f639[_0x5bcd8a(0xf0)]===!0x0,'showTodayLine':_0x23f639[_0x5bcd8a(0x42b)]!==!0x1,'displayColor':this[_0x5bcd8a(0xe1)](_0x430f4d,_0x23f639),'fieldSettings':Object[_0x5bcd8a(0x2cc)](Object[_0x5bcd8a(0x2b1)](_0x23f639['fieldSettings']??{})[_0x5bcd8a(0x2ee)](([_0x664bd6])=>{const _0x391129=_0x5bcd8a;let _0x3e0837=_0x430f4d[_0x391129(0x375)][_0x664bd6];return!!(_0x3e0837&&_0x3e0837['system']!==!0x0&&_0x3e0837['type']!==_0x4dff15[_0x391129(0x352)][_0x391129(0x37b)]);})),'workingDaysOnly':_0x23f639[_0x5bcd8a(0x4b8)]===!0x0,'workingDays':_0x222f4d};}[_0x565318(0x203)](_0x1fc4f6,_0x250ca6,_0x1ab4ac){const _0x3b01b9=_0x565318;if(_0x250ca6&&this[_0x3b01b9(0x402)](_0x1fc4f6,_0x250ca6,_0x1ab4ac)||_0x250ca6)return _0x250ca6;for(let _0x49433d of _0x1fc4f6[_0x3b01b9(0x2c3)])if(this[_0x3b01b9(0x402)](_0x1fc4f6,_0x49433d,_0x1ab4ac))return _0x49433d;return _0x250ca6??'';}[_0x565318(0x402)](_0x2fe159,_0x574d08,_0x4043e6){const _0xc984bb=_0x565318;let _0x20841c=_0x2fe159[_0xc984bb(0x375)][_0x574d08];if(!_0x20841c||_0x20841c[_0xc984bb(0x1dd)]!==_0x4dff15[_0xc984bb(0x352)]['Date']||_0x20841c[_0xc984bb(0x24a)]===!0x0||_0x20841c[_0xc984bb(0x263)]===!0x0)return!0x1;let _0x56c0cf=this[_0xc984bb(0xf6)](_0x20841c);return _0x4043e6===_0xc984bb(0x367)?_0x56c0cf[_0xc984bb(0x3cc)]:_0x56c0cf[_0xc984bb(0x4e0)];}[_0x565318(0xe1)](_0x2d24c7,_0x2458d2){const _0x265e5d=_0x565318;let _0x10afee=_0x2458d2['displayColor'];if((_0x10afee==null?void 0x0:_0x10afee['type'])===_0x265e5d(0x2d5)){let _0x1432f3=_0x2d24c7[_0x265e5d(0x375)][_0x10afee['fieldId']];if(_0x1432f3&&_0x1432f3[_0x265e5d(0x1dd)]===_0x4dff15[_0x265e5d(0x352)]['SingleSelect'])return _0x10afee;}return(_0x10afee==null?void 0x0:_0x10afee[_0x265e5d(0x1dd)])==='conditional'&&Array['isArray'](_0x10afee[_0x265e5d(0x29b)])?{'type':_0x265e5d(0x4c3),'rules':_0x10afee[_0x265e5d(0x29b)][_0x265e5d(0x2ee)](_0x2633bb=>!!_0x2d24c7[_0x265e5d(0x375)][_0x2633bb[_0x265e5d(0x351)]])}:(_0x10afee==null?void 0x0:_0x10afee[_0x265e5d(0x1dd)])===_0x265e5d(0xbc)&&typeof _0x10afee[_0x265e5d(0x409)]==_0x265e5d(0x17d)&&_0x10afee[_0x265e5d(0x409)]['trim']()?{'type':_0x265e5d(0xbc),'color':_0x10afee[_0x265e5d(0x409)]}:{'type':_0x265e5d(0xbc),'color':_0x265e5d(0xe3)};}['_ganttBarColor'](_0x477bd1,_0x352638,_0x1a77b9){const _0x1911a2=_0x565318;let _0x47f13a=_0x1a77b9[_0x1911a2(0x128)];if((_0x47f13a==null?void 0x0:_0x47f13a[_0x1911a2(0x1dd)])==='conditional'){let _0x4bc3cd=_0x47f13a[_0x1911a2(0x29b)][_0x1911a2(0x3f5)](_0x15cd56=>this['_matchesGanttColorRule'](_0x477bd1,_0x352638,_0x15cd56));if(_0x4bc3cd)return _0x4bc3cd[_0x1911a2(0x409)];}if((_0x47f13a==null?void 0x0:_0x47f13a['type'])==='selectField'){let _0x2fcea3=_0x477bd1[_0x1911a2(0x375)][_0x47f13a[_0x1911a2(0x351)]];if(_0x2fcea3){var _0x50442e;let _0x77d025=_0x352638[_0x1911a2(0x3dd)][_0x47f13a['fieldId']],_0x58deae=Array[_0x1911a2(0x1eb)](_0x77d025)?_0x77d025[0x0]:_0x77d025,_0x4eebb3=_0x58deae==null||(_0x50442e=_0x3b915d(_0x2fcea3,String(_0x58deae)))==null?void 0x0:_0x50442e[_0x1911a2(0x409)];if(_0x4eebb3)return _0x4eebb3;}}return(_0x47f13a==null?void 0x0:_0x47f13a[_0x1911a2(0x1dd)])===_0x1911a2(0xbc)?_0x47f13a['color']:'#14b8a6';}['_matchesGanttColorRule'](_0xa40775,_0x581d6e,_0x281ed6){const _0x38a58d=_0x565318;let _0x29222f=_0xa40775['fields'][_0x281ed6[_0x38a58d(0x351)]];return _0x29222f?_0x501164(_0x581d6e[_0x38a58d(0x3dd)][_0x29222f['id']],_0x281ed6[_0x38a58d(0x2fa)],_0x281ed6[_0x38a58d(0x328)],_0x29222f,{'dateMode':_0x281ed6[_0x38a58d(0x2aa)]}):!0x1;}[_0x565318(0x303)](_0x4789fb,_0x4d3b27){const _0x5010ae=_0x565318;let _0x293d73=this[_0x5010ae(0x47d)](_0x4789fb,_0x4d3b27),_0x1a99a2=this[_0x5010ae(0x109)](_0x4789fb,_0x4d3b27['config']??{}),_0x28c116=this[_0x5010ae(0x44c)](_0x4789fb,_0x4d3b27);return{'type':_0x4dff15[_0x5010ae(0x2e9)][_0x5010ae(0x3b5)],'fields':_0x28c116,'rows':_0x293d73,'groups':this[_0x5010ae(0x273)](_0x4789fb,_0x4d3b27,_0x293d73),'titleFieldId':_0x1a99a2[_0x5010ae(0x505)]['titleFieldId'],'coverFieldId':_0x1a99a2[_0x5010ae(0x2e8)],'cardLayout':_0x1a99a2[_0x5010ae(0x211)]??_0x5010ae(0x463),'showFieldNames':_0x1a99a2['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x5010ae(0x4fa)](_0x4789fb,_0x4d3b27,_0x1a99a2),'cardSize':_0x1a99a2[_0x5010ae(0x23f)]??_0x5010ae(0x2d7),'cards':_0x293d73[_0x5010ae(0x2e7)](_0x44ca0=>({'recordId':_0x44ca0['recordId'],'title':this[_0x5010ae(0x4d5)](_0x4789fb,_0x44ca0,_0x1a99a2[_0x5010ae(0x505)][_0x5010ae(0x4a1)]),'values':_0x44ca0['values']}))};}[_0x565318(0x109)](_0x9b2540,_0x13e592){const _0x1676d3=_0x565318;let _0x55cd2c=_0x13e592['card']??{'fieldIds':[]},_0x3ee480=this[_0x1676d3(0x104)](_0x9b2540,_0x55cd2c[_0x1676d3(0x4a1)]),_0x4b55f4=this['_resolveGalleryCoverFieldId'](_0x9b2540,_0x13e592),_0xf93330=_0x13e592[_0x1676d3(0x23f)]==='small'||_0x13e592[_0x1676d3(0x23f)]==='large'?_0x13e592['cardSize']:'medium';return{..._0x13e592,'coverFieldId':_0x4b55f4,'cardLayout':_0x13e592[_0x1676d3(0x211)]===_0x1676d3(0x39f)?_0x1676d3(0x39f):'normal','showFieldNames':_0x13e592[_0x1676d3(0x4e1)]!==!0x1,'fieldSettings':Object[_0x1676d3(0x2cc)](Object[_0x1676d3(0x2b1)](_0x13e592['fieldSettings']??{})['filter'](([_0x5a1a12])=>{const _0x392dc0=_0x1676d3;let _0x391c28=_0x9b2540[_0x392dc0(0x375)][_0x5a1a12];return!!(_0x391c28&&_0x391c28[_0x392dc0(0x263)]!==!0x0&&_0x391c28[_0x392dc0(0x1dd)]!==_0x4dff15[_0x392dc0(0x352)][_0x392dc0(0x37b)]);})),'card':{..._0x55cd2c,'titleFieldId':_0x3ee480,'coverFieldId':_0x4b55f4,'fieldIds':Array[_0x1676d3(0x1eb)](_0x55cd2c[_0x1676d3(0x2e6)])?_0x55cd2c[_0x1676d3(0x2e6)]:[]},'cardSize':_0xf93330};}[_0x565318(0x104)](_0x55b459,_0x6baff7){const _0x42193f=_0x565318;let _0x45258e=_0x6baff7?_0x55b459['fields'][_0x6baff7]:void 0x0;return _0x45258e&&_0x45258e['system']!==!0x0&&_0x45258e[_0x42193f(0x1dd)]!==_0x4dff15[_0x42193f(0x352)][_0x42193f(0x37b)]?_0x45258e['id']:_0x3e54f3(_0x55b459);}['_resolveGalleryCoverFieldId'](_0x12098c,_0x2a6067){const _0x215f51=_0x565318;var _0x1879ca;let _0x19bbd9=_0x2a6067[_0x215f51(0x2e8)]??((_0x1879ca=_0x2a6067[_0x215f51(0x505)])==null?void 0x0:_0x1879ca[_0x215f51(0x2e8)])??null;if(!_0x19bbd9)return null;let _0x26d9e4=_0x12098c[_0x215f51(0x375)][_0x19bbd9];return _0x26d9e4&&this[_0x215f51(0xf6)](_0x26d9e4)[_0x215f51(0xc2)]?_0x26d9e4['id']:null;}['_resolveGalleryCardFieldIds'](_0x9eb28,_0x4095ec,_0x5f5581){const _0x278ffd=_0x565318;var _0x6fcc70,_0x3dc966,_0x2d11a4;let _0x15ecaf=_0x5f5581[_0x278ffd(0x416)]??{},_0x3fe4da=((_0x6fcc70=_0x5f5581[_0x278ffd(0x505)])==null?void 0x0:_0x6fcc70[_0x278ffd(0x4a1)])??_0x3e54f3(_0x9eb28),_0x48de6f=_0x5f5581['coverFieldId']??((_0x3dc966=_0x5f5581[_0x278ffd(0x505)])==null?void 0x0:_0x3dc966[_0x278ffd(0x2e8)])??null,_0x25a1d3=(_0x2d11a4=_0x5f5581[_0x278ffd(0x505)])!=null&&(_0x2d11a4=_0x2d11a4['fieldIds'])!=null&&_0x2d11a4['length']?_0x5f5581['card'][_0x278ffd(0x2e6)]:_0xbf838d(_0x9eb28,[_0x3fe4da,_0x48de6f,_0x9eb28['primaryFieldId']]);return _0x25a1d3[_0x278ffd(0x2ee)](_0x3bd3e2=>{const _0x34150f=_0x278ffd;var _0x2fa125,_0x49634a;let _0x3bd375=_0x9eb28['fields'][_0x3bd3e2];return!(!_0x3bd375||_0x3bd375[_0x34150f(0x263)]===!0x0||_0x3bd375[_0x34150f(0x1dd)]===_0x4dff15[_0x34150f(0x352)]['RecordId']||_0x3bd375['id']===_0x3fe4da||_0x3bd375['id']===_0x48de6f||(_0x2fa125=_0x4095ec[_0x34150f(0x416)])!=null&&(_0x2fa125=_0x2fa125[_0x3bd3e2])!=null&&_0x2fa125[_0x34150f(0x1b1)]||(_0x49634a=_0x15ecaf[_0x3bd3e2])!=null&&_0x49634a[_0x34150f(0x1b1)]);})['sort']((_0x4133e8,_0x290acc)=>{const _0x12a7a3=_0x278ffd;var _0x314cec,_0x3ecd83;return(((_0x314cec=_0x15ecaf[_0x4133e8])==null?void 0x0:_0x314cec['order'])??_0x25a1d3['indexOf'](_0x4133e8))-(((_0x3ecd83=_0x15ecaf[_0x290acc])==null?void 0x0:_0x3ecd83['order'])??_0x25a1d3[_0x12a7a3(0x321)](_0x290acc));});}['_projectFields'](_0x1659e0,_0x477e2e){const _0x5da776=_0x565318;var _0x596a69;return((_0x596a69=_0x477e2e['fieldOrder'])!=null&&_0x596a69[_0x5da776(0xac)]?_0x477e2e[_0x5da776(0x2c3)]:_0x1659e0[_0x5da776(0x2c3)])['flatMap'](_0x2b0039=>{const _0x2d3ae0=_0x5da776;var _0x389904;let _0x407e01=_0x1659e0[_0x2d3ae0(0x375)][_0x2b0039],_0x187301=((_0x389904=_0x477e2e['fieldSettings'])==null?void 0x0:_0x389904[_0x2b0039])??{};return!_0x407e01||_0x407e01['system']===!0x0||_0x407e01[_0x2d3ae0(0x1dd)]===_0x4dff15[_0x2d3ae0(0x352)][_0x2d3ae0(0x37b)]||_0x187301[_0x2d3ae0(0x1b1)]?[]:[{'id':_0x407e01['id'],'name':_0x407e01[_0x2d3ae0(0x177)],'description':_0x407e01['description'],'type':_0x407e01[_0x2d3ae0(0x1dd)],'config':_0x407e01[_0x2d3ae0(0x2c6)],'width':_0x187301[_0x2d3ae0(0xb9)],'setting':_0x187301}];});}[_0x565318(0x47d)](_0x5c00b9,_0x447af){const _0x1df609=_0x565318;var _0x52fc71;return _0x24faa7(_0x1df609(0x4dd),()=>{const _0x4c72d4=_0x1df609;var _0xa50320,_0x507d55;let _0x45d1f0=this[_0x4c72d4(0x2a1)](_0x5c00b9),_0x31bf42=this[_0x4c72d4(0x3c4)](_0x5c00b9['id'],_0x447af),_0x54e916=this[_0x4c72d4(0x383)](_0x5c00b9['id']),_0x367a53=this[_0x4c72d4(0x18a)][_0x4c72d4(0x2fe)](_0x31bf42);if(_0x367a53&&_0x367a53['globalRevision']===this['_globalRevision']&&_0x367a53[_0x4c72d4(0x449)]===this['_getTableRevision'](_0x5c00b9['id'])){if(_0x367a53[_0x4c72d4(0x29d)]===_0x54e916&&_0x367a53[_0x4c72d4(0x244)]===_0x45d1f0)return _0x367a53['rows'];if(_0x367a53[_0x4c72d4(0x29d)]!==_0x54e916&&!this[_0x4c72d4(0x40f)](_0x5c00b9['id'],_0x367a53['cellRevision'],_0x54e916,this[_0x4c72d4(0x1c2)](_0x447af))){let _0x1df141=_0x367a53[_0x4c72d4(0x343)]===_0x367a53[_0x4c72d4(0x244)]?_0x45d1f0:this[_0x4c72d4(0x1b2)](_0x367a53[_0x4c72d4(0x343)],_0x45d1f0);if(_0x1df141)return this['_projectedViewRowsCache']['set'](_0x31bf42,{..._0x367a53,'rows':_0x1df141,'baseRows':_0x45d1f0,'cellRevision':_0x54e916}),_0x1df141;}}let _0x5c594f=_0x24faa7(_0x4c72d4(0x1db),()=>this[_0x4c72d4(0x41c)](_0x5c00b9,_0x447af,this['_filterRows'](_0x5c00b9,_0x447af,_0x45d1f0)),{'tableId':_0x5c00b9['id'],'viewId':_0x447af==null?void 0x0:_0x447af['id'],'viewType':_0x447af==null?void 0x0:_0x447af[_0x4c72d4(0x1dd)],'rows':_0x45d1f0[_0x4c72d4(0xac)],'filters':(_0x447af==null||(_0xa50320=_0x447af[_0x4c72d4(0x2ee)])==null?void 0x0:_0xa50320[_0x4c72d4(0x364)][_0x4c72d4(0xac)])??0x0,'sorts':(_0x447af==null||(_0x507d55=_0x447af[_0x4c72d4(0x27f)])==null?void 0x0:_0x507d55[_0x4c72d4(0xac)])??0x0});return this[_0x4c72d4(0x18a)]['set'](_0x31bf42,{'table':_0x5c00b9,'rows':_0x5c594f,'baseRows':_0x45d1f0,'globalRevision':this[_0x4c72d4(0x2b9)],'tableRevision':this[_0x4c72d4(0x4ad)](_0x5c00b9['id']),'cellRevision':_0x54e916}),_0x5c594f;},{'tableId':_0x5c00b9['id'],'viewId':_0x447af==null?void 0x0:_0x447af['id'],'viewType':_0x447af==null?void 0x0:_0x447af[_0x1df609(0x1dd)],'records':((_0x52fc71=_0x5c00b9[_0x1df609(0x135)])==null?void 0x0:_0x52fc71[_0x1df609(0xac)])??Object[_0x1df609(0x446)](_0x5c00b9[_0x1df609(0x17e)]??{})[_0x1df609(0xac)]});}[_0x565318(0x2a1)](_0x30f60d){const _0x386a1a=_0x565318;var _0x32ec56;return _0x24faa7(_0x386a1a(0x209),()=>{const _0x278ab7=_0x386a1a;var _0x2b7ec0;let _0x46bd33=this[_0x278ab7(0x383)](_0x30f60d['id']),_0x9dc626=this[_0x278ab7(0x1aa)][_0x278ab7(0x2fe)](_0x30f60d['id']);if(_0x9dc626&&_0x9dc626[_0x278ab7(0x4ca)]===this[_0x278ab7(0x2b9)]&&_0x9dc626[_0x278ab7(0x449)]===this[_0x278ab7(0x4ad)](_0x30f60d['id'])){if(_0x9dc626['cellRevision']===_0x46bd33&&_0xdcbd31(_0x9dc626[_0x278ab7(0x37e)],_0x30f60d))return _0x9dc626['table']=_0x30f60d,_0x9dc626[_0x278ab7(0x343)];let _0x13f889=this[_0x278ab7(0xc7)](_0x30f60d,_0x9dc626,_0x46bd33);if(_0x13f889)return _0x13f889;}_0x256e7b(_0x30f60d)||_0x21979c(_0x30f60d);let _0x36ffd3=(_0x2b7ec0=_0x30f60d['recordOrder'])!=null&&_0x2b7ec0['length']?_0x30f60d[_0x278ab7(0x135)]:_0x152ab2(_0x30f60d[_0x278ab7(0x17e)]),_0x504305=_0x24faa7('BaseProjection.materializeTableRows',()=>{const _0x9efe50=_0x278ab7;let _0x3d1c9f=[];for(let _0x19c2f4 of _0x36ffd3){let _0x2bff23=_0x30f60d[_0x9efe50(0x17e)][_0x19c2f4];if(!_0x2bff23)continue;let _0x1ab0bc={};for(let _0x5a279f of _0x30f60d[_0x9efe50(0x2c3)])_0x1ab0bc[_0x5a279f]=_0x99141b(_0x30f60d,_0x2bff23['id'],_0x5a279f);_0x3d1c9f[_0x9efe50(0xfb)]({'recordId':_0x2bff23['id'],'values':_0x1ab0bc});}return _0x3d1c9f;},{'tableId':_0x30f60d['id'],'records':_0x36ffd3[_0x278ab7(0xac)],'fields':_0x30f60d[_0x278ab7(0x2c3)][_0x278ab7(0xac)]});return this[_0x278ab7(0x1aa)][_0x278ab7(0xe4)](_0x30f60d['id'],{'table':_0x30f60d,'rows':_0x504305,'rowIndexById':_0x6672a0(_0x504305),'globalRevision':this[_0x278ab7(0x2b9)],'tableRevision':this['_getTableRevision'](_0x30f60d['id']),'cellRevision':_0x46bd33}),_0x504305;},{'tableId':_0x30f60d['id'],'records':((_0x32ec56=_0x30f60d[_0x386a1a(0x135)])==null?void 0x0:_0x32ec56[_0x386a1a(0xac)])??Object[_0x386a1a(0x446)](_0x30f60d[_0x386a1a(0x17e)]??{})[_0x386a1a(0xac)],'fields':_0x30f60d[_0x386a1a(0x2c3)][_0x386a1a(0xac)]});}[_0x565318(0xc7)](_0x214fa7,_0x543d53,_0x32c9a6){const _0x38ee09=_0x565318;let _0x85ae19=(this[_0x38ee09(0x227)][_0x38ee09(0x2fe)](_0x214fa7['id'])??[])[_0x38ee09(0x2ee)](_0x344fbd=>_0x344fbd[_0x38ee09(0x417)]>_0x543d53['cellRevision']&&_0x344fbd[_0x38ee09(0x417)]<=_0x32c9a6);if(!_0x85ae19[_0x38ee09(0xac)])return _0x543d53[_0x38ee09(0x37e)]===_0x214fa7?_0x543d53[_0x38ee09(0x343)]:null;let _0x229591=_0x543d53[_0x38ee09(0x343)],_0x344f32=new Map();for(let _0x19592b of _0x85ae19){let _0x370b77=_0x344f32[_0x38ee09(0x2fe)](_0x19592b['recordId']);_0x370b77||(_0x370b77=new Set(),_0x344f32[_0x38ee09(0xe4)](_0x19592b[_0x38ee09(0x3e1)],_0x370b77)),_0x370b77[_0x38ee09(0x488)](_0x19592b[_0x38ee09(0x351)]);}for(let [_0x470ba5,_0x41de17]of _0x344f32){if(!_0x214fa7[_0x38ee09(0x17e)][_0x470ba5])return null;let _0x316096=_0x543d53[_0x38ee09(0x366)][_0x38ee09(0x2fe)](_0x470ba5);if(_0x316096==null)return null;_0x229591===_0x543d53[_0x38ee09(0x343)]&&(_0x229591=[..._0x543d53['rows']]);let _0x3a8954=_0x229591[_0x316096],_0x3a706b={..._0x3a8954[_0x38ee09(0x3dd)]};_0x41de17[_0x38ee09(0x207)](_0x4959e2=>{_0x3a706b[_0x4959e2]=_0x99141b(_0x214fa7,_0x470ba5,_0x4959e2);}),_0x229591[_0x316096]={..._0x3a8954,'values':_0x3a706b};}let _0x2e51c9={'table':_0x214fa7,'rows':_0x229591,'rowIndexById':_0x543d53[_0x38ee09(0x366)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x38ee09(0x4ad)](_0x214fa7['id']),'cellRevision':_0x32c9a6};return this[_0x38ee09(0x1aa)]['set'](_0x214fa7['id'],_0x2e51c9),this[_0x38ee09(0x227)][_0x38ee09(0xe4)](_0x214fa7['id'],(this[_0x38ee09(0x227)][_0x38ee09(0x2fe)](_0x214fa7['id'])??[])['filter'](_0x12b86c=>_0x12b86c[_0x38ee09(0x417)]>Math[_0x38ee09(0x10a)](0x0,_0x32c9a6-0x100))),_0x229591;}[_0x565318(0x1b2)](_0x214640,_0x5bc528){const _0x256aa5=_0x565318;let _0x26b319=new Map(_0x5bc528['map'](_0x53b8eb=>[_0x53b8eb[_0x256aa5(0x3e1)],_0x53b8eb])),_0x3f5ed0=!0x1,_0x28a121=_0x214640[_0x256aa5(0x2e7)](_0x2b02e9=>{const _0x476103=_0x256aa5;let _0x317f00=_0x26b319[_0x476103(0x2fe)](_0x2b02e9['recordId']);return _0x317f00?_0x317f00===_0x2b02e9?_0x2b02e9:(_0x3f5ed0=!0x0,_0x317f00):_0x2b02e9;});return _0x3f5ed0?_0x28a121:_0x214640;}[_0x565318(0x40f)](_0x20d848,_0x7e7a5,_0x4eafa3,_0x25b213){const _0x4b58b7=_0x565318;return!_0x25b213['size']||_0x7e7a5===_0x4eafa3?!0x1:_0x4eafa3-_0x7e7a5>0x100||(this[_0x4b58b7(0x227)]['get'](_0x20d848)??[])[_0x4b58b7(0x1a5)](_0x567dbb=>_0x567dbb['revision']>_0x7e7a5&&_0x567dbb['revision']<=_0x4eafa3&&_0x25b213[_0x4b58b7(0x336)](_0x567dbb[_0x4b58b7(0x351)]));}[_0x565318(0x1c2)](_0x5ba182){const _0x13d09e=_0x565318;var _0x4d8f7b,_0x2f5d74;let _0x1828d6=new Set();return _0x5ba182==null||(_0x4d8f7b=_0x5ba182[_0x13d09e(0x2ee)])==null||_0x4d8f7b[_0x13d09e(0x364)]['forEach'](_0x444cab=>_0x1828d6[_0x13d09e(0x488)](_0x444cab[_0x13d09e(0x351)])),_0x5ba182==null||(_0x2f5d74=_0x5ba182[_0x13d09e(0x27f)])==null||_0x2f5d74[_0x13d09e(0x207)](_0x299c28=>_0x1828d6[_0x13d09e(0x488)](_0x299c28[_0x13d09e(0x351)])),_0x1828d6;}['_groupProjectionFieldIds'](_0x94b944){const _0x1bc1fb=_0x565318;var _0x45f905;let _0x28a30d=this[_0x1bc1fb(0x1c2)](_0x94b944);return(_0x45f905=_0x94b944[_0x1bc1fb(0x195)])==null||_0x45f905['forEach'](_0x3221b2=>_0x28a30d[_0x1bc1fb(0x488)](_0x3221b2[_0x1bc1fb(0x351)])),_0x28a30d;}[_0x565318(0x40c)](_0x118620,_0x359894,_0xceb8ea){const _0x1196a0=_0x565318;let _0x45d5e8=_0x359894==null?void 0x0:_0x359894[_0x1196a0(0x2ee)];if(!(_0x45d5e8!=null&&_0x45d5e8[_0x1196a0(0x364)]['length']))return _0xceb8ea;let _0x210517=_0x45d5e8['conditions'][_0x1196a0(0x2ee)](_0x20a4be=>!_0x4ae4a8(_0x20a4be));return _0x210517['length']?_0xceb8ea['filter'](_0x3b2296=>{const _0x34d331=_0x1196a0;if(_0x45d5e8[_0x34d331(0x20b)]===_0x4dff15[_0x34d331(0x315)]['OR']){for(let _0x1c4ea1 of _0x210517){let _0xfba0c6=_0x118620['fields'][_0x1c4ea1[_0x34d331(0x351)]];if(!_0xfba0c6||this[_0x34d331(0x371)][_0x34d331(0x2fe)](_0xfba0c6[_0x34d331(0x1dd)])['filter'](_0x3b2296[_0x34d331(0x3dd)][_0xfba0c6['id']],_0x1c4ea1['operator'],_0x1c4ea1['operand'],_0xfba0c6))return!0x0;}return!0x1;}for(let _0x16c4de of _0x210517){let _0x3c0150=_0x118620[_0x34d331(0x375)][_0x16c4de['fieldId']];if(_0x3c0150&&!this['_fieldRegistry'][_0x34d331(0x2fe)](_0x3c0150['type'])[_0x34d331(0x2ee)](_0x3b2296[_0x34d331(0x3dd)][_0x3c0150['id']],_0x16c4de[_0x34d331(0x2fa)],_0x16c4de['operand'],_0x3c0150))return!0x1;}return!0x0;}):_0xceb8ea;}[_0x565318(0x41c)](_0x1d4aca,_0x42f5fb,_0x15c422){const _0x1c546c=_0x565318;let _0x7062eb=(_0x42f5fb==null?void 0x0:_0x42f5fb[_0x1c546c(0x27f)])??[];if(!_0x7062eb[_0x1c546c(0xac)])return _0x15c422;let _0x384ada=_0x7062eb['flatMap'](_0x3f8429=>{const _0x99619e=_0x1c546c;let _0x5ee90c=_0x1d4aca['fields'][_0x3f8429[_0x99619e(0x351)]];return _0x5ee90c?[{..._0x3f8429,'field':_0x5ee90c}]:[];});return _0x384ada[_0x1c546c(0xac)]?this[_0x1c546c(0x4c4)](_0x384ada)?this[_0x1c546c(0x3de)](_0x384ada,_0x15c422):[..._0x15c422][_0x1c546c(0x27f)]((_0xe2ec09,_0x1598bf)=>{const _0x4b8f52=_0x1c546c;for(let _0x3bc300 of _0x384ada){let _0x2eccc3=_0x3bc300[_0x4b8f52(0x17a)],_0x1ab1f8=this[_0x4b8f52(0x371)]['get'](_0x2eccc3['type'])[_0x4b8f52(0x346)](_0xe2ec09[_0x4b8f52(0x3dd)][_0x2eccc3['id']],_0x1598bf['values'][_0x2eccc3['id']],_0x2eccc3);if(_0x1ab1f8!==0x0)return _0x3bc300[_0x4b8f52(0x3fb)]===_0x4dff15[_0x4b8f52(0x1a7)][_0x4b8f52(0x50c)]?-_0x1ab1f8:_0x1ab1f8;}return 0x0;}):_0x15c422;}[_0x565318(0x4c4)](_0x5abfc5){const _0x38fa6f=_0x565318;return _0x5abfc5[_0x38fa6f(0x1fd)](_0x2c8335=>_0x26d339[_0x38fa6f(0x336)](_0x2c8335[_0x38fa6f(0x17a)]['type']));}[_0x565318(0x3de)](_0x458052,_0x6fcaa){const _0x174797=_0x565318;return _0x6fcaa[_0x174797(0x2e7)]((_0x4d81c1,_0x408ab2)=>({'row':_0x4d81c1,'index':_0x408ab2,'keys':_0x458052[_0x174797(0x2e7)](_0x1d010f=>_0x4d81c1[_0x174797(0x3dd)][_0x1d010f[_0x174797(0x351)]])}))['sort']((_0x559415,_0x3765bf)=>{const _0x46451a=_0x174797;for(let _0x524344=0x0;_0x524344<_0x458052[_0x46451a(0xac)];_0x524344++){let _0x232a2f=_0x42893b(_0x559415['keys'][_0x524344],_0x3765bf[_0x46451a(0x446)][_0x524344]);if(_0x232a2f!==0x0)return _0x458052[_0x524344]['direction']===_0x4dff15[_0x46451a(0x1a7)][_0x46451a(0x50c)]?-_0x232a2f:_0x232a2f;}return _0x559415[_0x46451a(0x359)]-_0x3765bf[_0x46451a(0x359)];})['map'](_0x4aeb0f=>_0x4aeb0f[_0x174797(0xa9)]);}['_projectGroups'](_0x1ce4e8,_0x672b1a,_0x32f229){const _0x5d9f51=_0x565318;var _0x389216;return _0x24faa7('BaseProjection.projectGroups',()=>{const _0x55838c=_0x5b6a;var _0x409b99;if(!((_0x409b99=_0x672b1a[_0x55838c(0x195)])!=null&&_0x409b99[_0x55838c(0xac)]))return[];let _0xd71ad4=_0x672b1a[_0x55838c(0x195)][_0x55838c(0x2ee)](_0x336d13=>_0x1ce4e8[_0x55838c(0x375)][_0x336d13[_0x55838c(0x351)]]);if(!_0xd71ad4[_0x55838c(0xac)])return[];let _0x412981=this[_0x55838c(0x2d9)](_0x1ce4e8['id'],_0x672b1a,_0xd71ad4),_0x5d853d=this['_getCellRevision'](_0x1ce4e8['id']),_0xbe0c44=this[_0x55838c(0x32a)][_0x55838c(0x2fe)](_0x412981);if(_0xbe0c44&&_0xbe0c44[_0x55838c(0x4ca)]===this[_0x55838c(0x2b9)]&&_0xbe0c44[_0x55838c(0x449)]===this[_0x55838c(0x4ad)](_0x1ce4e8['id'])){if(_0xbe0c44['cellRevision']===_0x5d853d&&_0xbe0c44[_0x55838c(0x343)]===_0x32f229)return _0xbe0c44[_0x55838c(0x512)];if(_0xbe0c44[_0x55838c(0x29d)]!==_0x5d853d&&!this['_cellInvalidationsTouchFields'](_0x1ce4e8['id'],_0xbe0c44['cellRevision'],_0x5d853d,this[_0x55838c(0x150)](_0x672b1a)))return this['_projectedGroupsCache']['set'](_0x412981,{..._0xbe0c44,'rows':_0x32f229,'cellRevision':_0x5d853d}),_0xbe0c44[_0x55838c(0x512)];}let _0x3a2a21=new Map();for(let _0x3328dc of _0x32f229){let _0x548611=_0x3a2a21,_0x279071='';for(let _0x1daf20=0x0;_0x1daf20<_0xd71ad4[_0x55838c(0xac)];_0x1daf20++){let _0x1936ec=_0xd71ad4[_0x1daf20],_0x1738ce=_0x3328dc[_0x55838c(0x3dd)][_0x1936ec['fieldId']],_0x342889=_0x3071d6(_0x1738ce),_0x4497b9=_0x1936ec['fieldId']+'\x00'+_0x342889,_0x5a2cfa=_0x279071+'/'+_0x1936ec[_0x55838c(0x351)]+':'+_0x342889,_0x269301=_0x548611[_0x55838c(0x2fe)](_0x4497b9);_0x269301||(_0x269301={'key':_0x342889,'value':_0x1738ce,'path':_0x5a2cfa,'label':_0x342889||_0x55838c(0xa4),'fieldId':_0x1936ec[_0x55838c(0x351)],'level':_0x1daf20,'recordIds':[],'children':new Map()},_0x548611[_0x55838c(0xe4)](_0x4497b9,_0x269301)),_0x269301[_0x55838c(0x4d6)][_0x55838c(0xfb)](_0x3328dc['recordId']),_0x548611=_0x269301['children'],_0x279071=_0x5a2cfa;}}let _0xadf462=this[_0x55838c(0x15f)](_0xd71ad4,_0x3a2a21,0x0);return this['_projectedGroupsCache'][_0x55838c(0xe4)](_0x412981,{'table':_0x1ce4e8,'rows':_0x32f229,'groups':_0xadf462,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55838c(0x4ad)](_0x1ce4e8['id']),'cellRevision':_0x5d853d}),_0xadf462;},{'tableId':_0x1ce4e8['id'],'viewId':_0x672b1a['id'],'viewType':_0x672b1a['type'],'rows':_0x32f229['length'],'groupFields':((_0x389216=_0x672b1a[_0x5d9f51(0x195)])==null?void 0x0:_0x389216[_0x5d9f51(0xac)])??0x0});}['_materializeGroups'](_0x3f9eb9,_0x507e32,_0x1c64a8){const _0x3e49d7=_0x565318;var _0x177b9d;let _0x5c3937=Array['from'](_0x507e32[_0x3e49d7(0x3dd)]()),_0x4f83a9=(_0x177b9d=_0x3f9eb9[_0x1c64a8])==null?void 0x0:_0x177b9d[_0x3e49d7(0x3fb)];return _0x4f83a9&&_0x5c3937['sort']((_0x142b29,_0x1a510d)=>{const _0x240fc3=_0x3e49d7;let _0x19ebdf=_0x142b29[_0x240fc3(0x14f)]['localeCompare'](_0x1a510d['key']);return _0x4f83a9===_0x4dff15[_0x240fc3(0x1a7)]['DESC']?-_0x19ebdf:_0x19ebdf;}),_0x5c3937['map'](_0x5b2dcb=>({'key':_0x5b2dcb[_0x3e49d7(0x14f)],'value':_0x5b2dcb[_0x3e49d7(0x3a9)],'path':_0x5b2dcb[_0x3e49d7(0x41a)],'label':_0x5b2dcb[_0x3e49d7(0x3f1)],'fieldId':_0x5b2dcb[_0x3e49d7(0x351)],'level':_0x5b2dcb[_0x3e49d7(0x2c9)],'recordIds':_0x5b2dcb[_0x3e49d7(0x4d6)],'children':this[_0x3e49d7(0x15f)](_0x3f9eb9,_0x5b2dcb[_0x3e49d7(0x357)],_0x1c64a8+0x1)}));}[_0x565318(0x4d5)](_0x19f1ed,_0x51dbec,_0x3c6f75){const _0x365ef2=_0x565318;let _0x129cf0=_0x3c6f75??_0x19f1ed[_0x365ef2(0x269)],_0x303fa9=_0x51dbec[_0x365ef2(0x3dd)][_0x129cf0];return _0x303fa9==null?'':String(_0x303fa9);}[_0x565318(0x107)](_0x272604){const _0x21beb3=_0x565318;if(Array['isArray'](_0x272604))return _0x272604[_0x21beb3(0x2e7)](String);if(typeof _0x272604=='string'&&_0x272604)return[_0x272604];}[_0x565318(0xf6)](_0xfe4272){const _0x395636=_0x565318;return this[_0x395636(0x371)][_0x395636(0x2fe)](_0xfe4272[_0x395636(0x1dd)])[_0x395636(0x2bd)](_0xfe4272);}};_0x403644=_0x5e2ef6([_0x10e58b(0x0,(0x0,_0x4dff15[_0x565318(0x464)])(_0x237d9a))],_0x403644);function _0x3071d6(_0x59c4eb){return _0x59c4eb==null?'':String(_0x59c4eb);}function _0x6672a0(_0x1ec48f){const _0x3b0fe9=_0x565318;return new Map(_0x1ec48f[_0x3b0fe9(0x2e7)]((_0x45947b,_0x94f25f)=>[_0x45947b[_0x3b0fe9(0x3e1)],_0x94f25f]));}function _0x256e7b(_0xbaabd0){const _0x8d2dc=_0x565318;return!!(Array[_0x8d2dc(0x1eb)](_0xbaabd0['recordOrder'])&&_0xbaabd0['rowIndex']&&_0xbaabd0['rowId']&&_0xbaabd0[_0x8d2dc(0x2e0)]&&_0xbaabd0[_0x8d2dc(0x454)]&&_0xbaabd0[_0x8d2dc(0x1a0)]);}function _0x1a5465(_0x2a2e40){const _0x17d9ff=_0x565318;let _0x1a6d98=(_0x2a2e40==null?void 0x0:_0x2a2e40[_0x17d9ff(0x364)]['filter'](_0x28a1d2=>!_0x4ae4a8(_0x28a1d2)))??[];return!_0x2a2e40||!_0x1a6d98[_0x17d9ff(0xac)]?null:{'conjunction':_0x2a2e40['conjunction'],'conditions':_0x1a6d98[_0x17d9ff(0x2e7)](_0x4f9043=>({'fieldId':_0x4f9043['fieldId'],'operator':_0x4f9043[_0x17d9ff(0x2fa)],'operand':_0x4f9043[_0x17d9ff(0x328)]}))};}function _0xdcbd31(_0x5d8474,_0x3fd2ef){const _0x167a6e=_0x565318;return _0x5d8474['records']===_0x3fd2ef[_0x167a6e(0x17e)]&&_0x5d8474[_0x167a6e(0x135)]===_0x3fd2ef[_0x167a6e(0x135)]&&_0x5d8474[_0x167a6e(0x375)]===_0x3fd2ef[_0x167a6e(0x375)]&&_0x5d8474['fieldOrder']===_0x3fd2ef[_0x167a6e(0x2c3)]&&_0x5d8474[_0x167a6e(0x1a0)]===_0x3fd2ef['cellData']&&_0x5d8474['rowIndex']===_0x3fd2ef['rowIndex']&&_0x5d8474[_0x167a6e(0x460)]===_0x3fd2ef['rowId']&&_0x5d8474[_0x167a6e(0x2e0)]===_0x3fd2ef['colIndex']&&_0x5d8474[_0x167a6e(0x454)]===_0x3fd2ef[_0x167a6e(0x454)];}function _0x1728ae(_0x41123e){const _0x1b9eb8=_0x565318;return _0x41123e!=null&&_0x41123e[_0x1b9eb8(0xac)]?_0x41123e[_0x1b9eb8(0x2e7)](_0x299d06=>({'fieldId':_0x299d06['fieldId'],'direction':_0x299d06[_0x1b9eb8(0x3fb)]})):null;}function _0x16a9b1(_0x791300){const _0x114130=_0x565318;if(typeof _0x791300!=_0x114130(0x35c)||!_0x791300)return JSON['stringify'](_0x791300)??_0x114130(0x1d0);if(Array[_0x114130(0x1eb)](_0x791300))return'['+_0x791300[_0x114130(0x2e7)](_0x16a9b1)[_0x114130(0x1b5)](',')+']';let _0x4179ad=_0x791300;return'{'+Object[_0x114130(0x446)](_0x4179ad)['sort']()[_0x114130(0x2e7)](_0x283afa=>JSON[_0x114130(0x2ea)](_0x283afa)+':'+_0x16a9b1(_0x4179ad[_0x283afa]))[_0x114130(0x1b5)](',')+'}';}function _0x152ab2(_0x59e5de){const _0x893156=_0x565318;let _0x377b33=Object[_0x893156(0x3dd)](_0x59e5de)[_0x893156(0x27f)]((_0x178f4a,_0x2659a5)=>_0x178f4a[_0x893156(0x2f6)]['localeCompare'](_0x2659a5[_0x893156(0x2f6)])),_0x50a947=[];for(let _0x5ba2d1 of _0x377b33)_0x50a947['push'](_0x5ba2d1['id']);return _0x50a947;}function _0xa5395e(_0x49c9eb){const _0x778756=_0x565318;return{'weekdays':Array[_0x778756(0x1eb)](_0x49c9eb==null?void 0x0:_0x49c9eb[_0x778756(0x18b)])&&_0x49c9eb[_0x778756(0x18b)][_0x778756(0xac)]?[...new Set(_0x49c9eb[_0x778756(0x18b)][_0x778756(0x2ee)](_0x9ceeea=>Number[_0x778756(0x2ba)](_0x9ceeea)&&_0x9ceeea>=0x1&&_0x9ceeea<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x49c9eb==null?void 0x0:_0x49c9eb[_0x778756(0x4c9)])?_0x49c9eb[_0x778756(0x4c9)][_0x778756(0x3d1)](_0x1711be=>!_0x1711be||!Number['isFinite'](_0x1711be[_0x778756(0xf3)])?[]:[{'id':String(_0x1711be['id']||'exception-'+_0x1711be['date']),'date':_0x52c108(Number(_0x1711be['date'])),'name':String(_0x1711be['name']||_0x778756(0x157)),'type':_0x1711be[_0x778756(0x1dd)]===_0x778756(0x1d7)?_0x778756(0x1d7):_0x778756(0x141)}]):[]};}function _0x22df67(_0x44da6b,_0x1b31a5,_0x760564,_0x48fcfb){let _0x221b93=_0x545e4e(_0x44da6b,_0x1b31a5),_0x456a2a=_0x2fc00a(_0x44da6b,_0x760564),_0x25380e=_0x278e77(_0x44da6b,_0x221b93,_0x456a2a,_0x48fcfb);return{'scale':_0x44da6b,'start':_0x221b93,'end':_0x456a2a,'unitWidth':_0x444bf2(_0x44da6b),'majorHeaders':_0x21b405(_0x44da6b,_0x221b93,_0x456a2a),'columns':_0x25380e};}function _0x278e77(_0x4a82ba,_0xc13a69,_0x487740,_0x39e5a3){const _0x5e0613=_0x565318;let _0x812bf7=[],_0xca4b70=_0xc13a69;for(;_0xca4b70<_0x487740;){let _0x33e2bb=_0x4a82ba===_0x5e0613(0x11f)?_0x2450df(_0xca4b70,0x7):_0x4a82ba===_0x5e0613(0x4e2)?_0xe3664a(_0xca4b70,0x1):_0x2450df(_0xca4b70,0x1);_0x812bf7[_0x5e0613(0xfb)]({'id':_0x4a82ba+'-'+_0xca4b70,'label':_0x19a984(_0x4a82ba,_0xca4b70,_0x33e2bb),'majorLabel':_0x351d66(_0x4a82ba,_0xca4b70),'start':_0xca4b70,'end':_0x33e2bb,'nonWorking':_0x414a6c(_0xca4b70,_0x33e2bb,_0x39e5a3)}),_0xca4b70=_0x33e2bb;}return _0x812bf7;}function _0x21b405(_0xc6e9d8,_0x2b0602,_0x555601){const _0x59003c=_0x565318;let _0x4bf75b=[],_0x4fc8d8=_0xc6e9d8===_0x59003c(0x4e2)?_0x199847(_0x2b0602):_0x2db0ed(_0x2b0602);for(;_0x4fc8d8<_0x555601;){let _0x5e4a3b=_0xc6e9d8===_0x59003c(0x4e2)?_0x50fc03(_0x4fc8d8,0x1):_0xe3664a(_0x4fc8d8,0x1);_0x4bf75b[_0x59003c(0xfb)]({'id':'major-'+_0x4fc8d8,'label':_0xc6e9d8===_0x59003c(0x4e2)?String(new Date(_0x4fc8d8)[_0x59003c(0x2f1)]()):_0x9f9cb4(_0x4fc8d8),'start':_0x4fc8d8,'end':_0x5e4a3b}),_0x4fc8d8=_0x5e4a3b;}return _0x4bf75b;}function _0x444bf2(_0x3214a9){const _0x189153=_0x565318;switch(_0x3214a9){case _0x189153(0x21f):return 0xac;case _0x189153(0x11f):return 0xac;case _0x189153(0x4e2):return 0x88;default:return 0x56;}}function _0x545e4e(_0x22d298,_0x3dddb4){const _0x456881=_0x565318;return _0x22d298===_0x456881(0x4e2)?_0x199847(_0x3dddb4):_0x22d298==='quarter'?_0xc0386d(_0x3dddb4):_0x52c108(_0x3dddb4);}function _0x2fc00a(_0x4ee5e4,_0x4d0bf9){const _0x54d2a5=_0x565318;return _0x4ee5e4===_0x54d2a5(0x4e2)?_0x50fc03(_0x199847(_0x4d0bf9),0x1):_0x4ee5e4===_0x54d2a5(0x11f)?_0x2450df(_0xc0386d(_0x4d0bf9),0x7):_0x2450df(_0x52c108(_0x4d0bf9),0x1);}function _0x19a984(_0x5be136,_0x3cc7dd,_0x31d0ad){const _0x1c309f=_0x565318;let _0x99ddcc=new Date(_0x3cc7dd);return _0x5be136===_0x1c309f(0x11f)?_0x99ddcc[_0x1c309f(0x398)]()+'-'+new Date(_0x31d0ad-_0x3e1979)[_0x1c309f(0x398)]():_0x5be136==='year'?_0x99ddcc[_0x1c309f(0x243)](_0x1c309f(0x1d9),{'month':'short','timeZone':_0x1c309f(0x33e)}):String(_0x99ddcc[_0x1c309f(0x398)]());}function _0x351d66(_0x1763b4,_0x240d51){const _0x15802a=_0x565318;return _0x1763b4==='year'?String(new Date(_0x240d51)[_0x15802a(0x2f1)]()):_0x9f9cb4(_0x240d51);}function _0x110abd(_0x5c8bef,_0x52742,_0x54037e){let _0x1b7b30=_0xa5395e(_0x54037e),_0x38833b=0x0;for(let _0x3aabb5=_0x52c108(_0x5c8bef);_0x3aabb5<=_0x52c108(_0x52742);_0x3aabb5=_0x2450df(_0x3aabb5,0x1))_0x24c65b(_0x3aabb5,_0x1b7b30)||_0x38833b++;return _0x38833b;}function _0x414a6c(_0x5e1da1,_0x22723b,_0x118369){if(!_0x118369)return!0x1;let _0x3e8cef=_0xa5395e(_0x118369);for(let _0x47b7e4=_0x52c108(_0x5e1da1);_0x47b7e4<_0x22723b;_0x47b7e4=_0x2450df(_0x47b7e4,0x1))if(!_0x24c65b(_0x47b7e4,_0x3e8cef))return!0x1;return!0x0;}function _0x24c65b(_0x514c14,_0x3eb8a5){const _0x829af3=_0x565318;let _0x702f8f=_0x52c108(_0x514c14),_0x5e4593=_0x3eb8a5['exceptions'][_0x829af3(0x3f5)](_0x1b55dc=>_0x52c108(_0x1b55dc[_0x829af3(0xf3)])===_0x702f8f);if(_0x5e4593)return _0x5e4593['type']==='off';let _0x1eab44=new Date(_0x702f8f)[_0x829af3(0x25e)](),_0xca63b1=_0x1eab44===0x0?0x7:_0x1eab44;return!_0x3eb8a5[_0x829af3(0x18b)][_0x829af3(0x3d2)](_0xca63b1);}function _0x52c108(_0x41f5cd){const _0x1ada03=_0x565318;let _0x29f197=new Date(_0x41f5cd);return Date['UTC'](_0x29f197[_0x1ada03(0x2f1)](),_0x29f197['getUTCMonth'](),_0x29f197[_0x1ada03(0x398)]());}function _0xc0386d(_0x35abe5){let _0x16bfe4=_0x52c108(_0x35abe5),_0x5d8096=new Date(_0x16bfe4)['getUTCDay']();return _0x2450df(_0x16bfe4,-(_0x5d8096===0x0?0x6:_0x5d8096-0x1));}function _0x2db0ed(_0x359a8f){const _0x29dcc4=_0x565318;let _0x1f13db=new Date(_0x359a8f);return Date[_0x29dcc4(0x33e)](_0x1f13db['getUTCFullYear'](),_0x1f13db[_0x29dcc4(0x154)](),0x1);}function _0x199847(_0x1bf78d){const _0x24c34d=_0x565318;let _0x1f5a96=new Date(_0x1bf78d);return Date[_0x24c34d(0x33e)](_0x1f5a96['getUTCFullYear'](),0x0,0x1);}function _0x2450df(_0x19e88b,_0x5b820e){return _0x19e88b+_0x5b820e*_0x3e1979;}function _0xe3664a(_0x217dee,_0xc6cd25){const _0x347018=_0x565318;let _0x45c4a4=new Date(_0x217dee);return Date[_0x347018(0x33e)](_0x45c4a4[_0x347018(0x2f1)](),_0x45c4a4['getUTCMonth']()+_0xc6cd25,0x1);}function _0x50fc03(_0x4298aa,_0x5fc847){const _0x1db5f4=_0x565318;let _0x1bbc41=new Date(_0x4298aa);return Date[_0x1db5f4(0x33e)](_0x1bbc41[_0x1db5f4(0x2f1)]()+_0x5fc847,0x0,0x1);}function _0x9f9cb4(_0x1302a6){const _0x35019b=_0x565318;let _0x21b559=new Date(_0x1302a6);return _0x21b559['toLocaleString']('en-US',{'month':'short','timeZone':_0x35019b(0x33e)})+'\x20'+_0x21b559[_0x35019b(0x2f1)]();}function _0x42893b(_0x5e12c7,_0x2fb9a7){const _0x5dcac2=_0x565318;if(_0x5e12c7==null&&_0x2fb9a7==null)return 0x0;if(_0x5e12c7==null)return-0x1;if(_0x2fb9a7==null)return 0x1;if(typeof _0x5e12c7==_0x5dcac2(0x41b)||typeof _0x2fb9a7==_0x5dcac2(0x41b))return Number(_0x5e12c7===!0x0)-Number(_0x2fb9a7===!0x0);let _0x5b65ef=Number(_0x5e12c7),_0x4dc5e6=Number(_0x2fb9a7),_0x17e8c8=Number[_0x5dcac2(0x217)](_0x5b65ef),_0x553ff7=Number[_0x5dcac2(0x217)](_0x4dc5e6);return _0x17e8c8&&_0x553ff7?_0x5b65ef-_0x4dc5e6:_0x17e8c8?0x1:_0x553ff7?-0x1:String(_0x5e12c7)[_0x5dcac2(0xcb)](String(_0x2fb9a7));}function _0x4ae4a8(_0x39e178){const _0xc8e100=_0x565318;if(_0x39e178[_0xc8e100(0x2fa)]!=='is'&&_0x39e178[_0xc8e100(0x2fa)]!==_0xc8e100(0x182))return!0x1;let _0x31fdb9=_0x39e178[_0xc8e100(0x328)];return _0x31fdb9==null?!0x0:typeof _0x31fdb9==_0xc8e100(0x17d)?_0x31fdb9[_0xc8e100(0x3b1)]()==='':Array[_0xc8e100(0x1eb)](_0x31fdb9)?_0x31fdb9[_0xc8e100(0xac)]===0x0:!0x1;}function _0x3b915d(_0x19a328,_0x21aa1b){const _0x1e1d22=_0x565318;var _0x33cdcb;let _0x2555d5=Array[_0x1e1d22(0x1eb)]((_0x33cdcb=_0x19a328[_0x1e1d22(0x2c6)])==null?void 0x0:_0x33cdcb[_0x1e1d22(0x482)])?_0x19a328[_0x1e1d22(0x2c6)][_0x1e1d22(0x482)]:[];for(let _0x31d9a9 of _0x2555d5){if(_0x31d9a9==null)continue;if(typeof _0x31d9a9==_0x1e1d22(0x17d)){if(_0x31d9a9===_0x21aa1b)return{'id':_0x31d9a9,'name':_0x31d9a9};continue;}let _0x2fdb3c=_0x31d9a9,_0x544056=String(_0x2fdb3c['id']??_0x2fdb3c[_0x1e1d22(0x177)]??''),_0x4ded19=String(_0x2fdb3c[_0x1e1d22(0x177)]??_0x2fdb3c['id']??_0x544056);if(_0x544056===_0x21aa1b||_0x4ded19===_0x21aa1b)return{'id':_0x544056,'name':_0x4ded19,'color':_0x2fdb3c[_0x1e1d22(0x409)]==null?void 0x0:String(_0x2fdb3c['color'])};}return null;}let _0x5b5491=function(_0x5d0a07){const _0x56b1d0=_0x565318;return _0x5d0a07[_0x56b1d0(0x13f)]=_0x56b1d0(0x237),_0x5d0a07['DeleteView']='delete-view',_0x5d0a07;}({}),_0x4f6ebe={'id':_0x565318(0x350),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x4e3)],'handler'(_0x16a747,_0x47c1d9){const _0x18dfb3=_0x565318;let {unitId:_0x42dffd,op:_0x443f9c}=_0x47c1d9,_0x552cf4=_0x16a747[_0x18dfb3(0x2fe)](_0x4dff15[_0x18dfb3(0x497)])[_0x18dfb3(0x21d)](_0x42dffd,_0x4dff15[_0x18dfb3(0x125)]['UNIVER_BASE']);if(!_0x552cf4)return!0x1;let _0x495ea6=_0x552cf4[_0x18dfb3(0x166)](),_0x4a549a=new _0x4ddc63(),_0x1c314b=_0x4a549a[_0x18dfb3(0xe8)](_0x443f9c),_0xdb4913=_0x4a549a[_0x18dfb3(0x22f)](_0x495ea6,_0x443f9c);return _0x552cf4['setSnapshot'](_0xdb4913),_0x4e219b(_0xdb4913,_0x1c314b,_0x16a747['get'](_0x2c7d1d)),!0x0;}};function _0x4e219b(_0xd62fd0,_0x2d9924,_0x16800b){const _0x59ceca=_0x565318;let _0x1295f8=new Set(),_0xe885dc=new Set(),_0x2a9161=new Set();for(let _0x5163a9 of _0x2d9924){if(_0x5163a9['reason']===_0x59ceca(0x22c)&&_0x5163a9[_0x59ceca(0x222)]&&_0x5163a9[_0x59ceca(0x49b)]){let _0x153919=_0x5163a9['tableId']+'\x00'+_0x5163a9['viewId'];_0x2a9161['has'](_0x153919)||(_0x2a9161[_0x59ceca(0x488)](_0x153919),_0x16800b[_0x59ceca(0x439)](_0x5163a9['tableId'],_0x5163a9[_0x59ceca(0x49b)]));continue;}if(_0x5163a9[_0x59ceca(0x22d)]===_0x59ceca(0x17a)&&_0x5163a9[_0x59ceca(0x222)]&&_0x5163a9[_0x59ceca(0x351)]){let _0x4ffada=_0x5163a9[_0x59ceca(0x222)]+'\x00'+_0x5163a9[_0x59ceca(0x351)];_0xe885dc[_0x59ceca(0x336)](_0x4ffada)||(_0xe885dc['add'](_0x4ffada),_0x16800b[_0x59ceca(0x17f)](_0x5163a9['tableId'],_0x5163a9[_0x59ceca(0x351)]));continue;}if(_0x5163a9[_0x59ceca(0x22d)]!=='cell'){_0x16800b['invalidateByOp']();return;}let _0x1b83e5=_0x567443(_0xd62fd0,_0x5163a9);if(!_0x1b83e5){_0x16800b[_0x59ceca(0xca)]();return;}let _0x547076=_0x1b83e5['tableId']+'\x00'+_0x1b83e5['recordId']+'\x00'+_0x1b83e5[_0x59ceca(0x351)];_0x1295f8[_0x59ceca(0x336)](_0x547076)||(_0x1295f8['add'](_0x547076),_0x16800b[_0x59ceca(0x34c)](_0x1b83e5[_0x59ceca(0x222)],_0x1b83e5[_0x59ceca(0x3e1)],_0x1b83e5['fieldId']));}}function _0x567443(_0x44cb49,_0xe88475){const _0x1b12ce=_0x565318;var _0x42fcea,_0x37bc2e;if(!_0xe88475[_0x1b12ce(0x222)])return null;if(_0xe88475['recordId']&&_0xe88475[_0x1b12ce(0x351)])return{'tableId':_0xe88475['tableId'],'recordId':_0xe88475[_0x1b12ce(0x3e1)],'fieldId':_0xe88475[_0x1b12ce(0x351)]};if(_0xe88475[_0x1b12ce(0xa9)]==null||_0xe88475[_0x1b12ce(0x34d)]==null)return null;let _0x15f515=_0x44cb49['tables'][_0xe88475['tableId']],_0x3fabe9=_0x15f515==null||(_0x42fcea=_0x15f515[_0x1b12ce(0x460)])==null?void 0x0:_0x42fcea[_0xe88475[_0x1b12ce(0xa9)]],_0x261044=_0x15f515==null||(_0x37bc2e=_0x15f515[_0x1b12ce(0x454)])==null?void 0x0:_0x37bc2e[_0xe88475['column']];return!_0x3fabe9||!_0x261044?null:{'tableId':_0xe88475[_0x1b12ce(0x222)],'recordId':_0x3fabe9,'fieldId':_0x261044};}let _0x2c3fbb=_0x4dff15[_0x565318(0x3d9)][_0x565318(0x10d)](String[_0x565318(0x478)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x19d0ec=_0x4dff15[_0x565318(0x3d9)][_0x565318(0x10d)](String[_0x565318(0x478)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x40d5c4=/\{([^}]+)\}/g,_0x168222=_0x4dff15[_0x565318(0x3d9)][_0x565318(0x10d)](String[_0x565318(0x478)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x15f3f7=_0x4dff15['regexp'][_0x565318(0x10d)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x25bf1e=_0x4dff15['regexp'][_0x565318(0x10d)](String[_0x565318(0x478)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x47d469=_0x4dff15[_0x565318(0x3d9)]['createRegExpFromSafeFragment'](String[_0x565318(0x478)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x23347b=_0x4dff15['regexp'][_0x565318(0x10d)](String[_0x565318(0x478)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x4c0b1a=_0x4dff15['regexp'][_0x565318(0x10d)](String[_0x565318(0x478)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x218cb8=class{[_0x565318(0x3e2)](_0x1712c4,_0x166c78=_0x1712c4['id']){const _0xbb229a=_0x565318;var _0x33129a;let _0x4bfbaa=((_0x33129a=_0x1712c4[_0xbb229a(0x135)])==null?void 0x0:_0x33129a[_0xbb229a(0xac)])??Object[_0xbb229a(0x3dd)](_0x1712c4[_0xbb229a(0x17e)])[_0xbb229a(0xac)];return{'sheetId':_0x166c78,'titleMap':new Map(_0x1712c4[_0xbb229a(0x2c3)][_0xbb229a(0x2e7)]((_0x19356c,_0x30db08)=>{const _0x1a3500=_0xbb229a;var _0x1625c0;return[((_0x1625c0=_0x1712c4['fields'][_0x19356c])==null?void 0x0:_0x1625c0[_0x1a3500(0x177)])??_0x19356c,_0x30db08];})),'range':{'startRow':0x0,'endRow':Math[_0xbb229a(0x10a)](0x0,_0x4bfbaa-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x1712c4[_0xbb229a(0x2c3)][_0xbb229a(0xac)]-0x1)},'showHeader':!0x1};}[_0x565318(0x2a9)](_0xf8011a,_0x3127ff){const _0x2cc10b=_0x565318;let _0x5a86f0=[],_0xfdf39=_0x3127ff?new Set(_0x3127ff):null,_0x23c8c2=(0x0,_0x4dff15[_0x2cc10b(0x484)])(_0xf8011a);return Object[_0x2cc10b(0x3dd)](_0xf8011a[_0x2cc10b(0x257)])[_0x2cc10b(0x2ee)](_0x29f704=>!_0xfdf39||_0xfdf39['has'](_0x29f704['id']))[_0x2cc10b(0x207)](_0xa6fc0f=>{const _0x2594b1=_0x2cc10b;let _0x2fbc93=this[_0x2594b1(0x3e2)](_0xa6fc0f,_0xa6fc0f['id']);_0x5a86f0[_0x2594b1(0xfb)]({'tableId':_0xa6fc0f['id'],'tableName':_0x23c8c2[_0x2594b1(0x2fe)](_0xa6fc0f['id']),'reference':_0x2fbc93});}),_0x5a86f0;}['validateFormula'](_0x207fdd,_0x54e6ec,_0x459f1d={}){const _0x3e67fb=_0x565318;let _0x5e6e3a=_0x207fdd['trim']();if(!_0x5e6e3a)return{'valid':!0x0};if(_0x2b9002(_0x5e6e3a))return{'valid':!0x1,'reason':_0x3e67fb(0x2da)};let _0x1b7e7f=_0x459f1d['snapshot']?(0x0,_0x4dff15[_0x3e67fb(0x484)])(_0x459f1d[_0x3e67fb(0x42c)]):void 0x0;for(let _0x12a319 of _0x10db88(_0x5e6e3a)){let _0x54383e=_0x41c77e(_0x12a319,_0x54e6ec,_0x459f1d[_0x3e67fb(0x42c)],_0x1b7e7f);if(!_0x54383e[_0x3e67fb(0x37e)])return{'valid':!0x1,'reason':_0x3e67fb(0x2b2)+_0x12a319[_0x3e67fb(0x46d)]+_0x3e67fb(0x24f)};if(!_0x54383e['field'])return{'valid':!0x1,'reason':_0x3e67fb(0x259)+_0x12a319[_0x3e67fb(0x4ac)]+_0x3e67fb(0x459)};}return{'valid':!0x0};}[_0x565318(0x4d9)](_0xe2b705,_0x28e570,_0x5e1bc3={}){const _0x56d967=_0x565318;let _0x273e7b=new Set();for(let _0x209d81 of this[_0x56d967(0xd7)](_0xe2b705,_0x28e570,_0x5e1bc3))_0x209d81['tableId']===_0x28e570['id']&&_0x273e7b[_0x56d967(0x488)](_0x209d81['fieldId']);return Array[_0x56d967(0x397)](_0x273e7b);}[_0x565318(0xd7)](_0x141032,_0xf73143,_0x2edf94={}){const _0x6cda10=_0x565318;let _0x14ad75=new Map(),_0x3899bc=_0x2edf94[_0x6cda10(0x42c)]?(0x0,_0x4dff15[_0x6cda10(0x484)])(_0x2edf94[_0x6cda10(0x42c)]):void 0x0;for(let _0x3cee54 of _0x10db88(_0x141032)){let _0x243b48=_0x41c77e(_0x3cee54,_0xf73143,_0x2edf94['snapshot'],_0x3899bc);if(!_0x243b48['table']||!_0x243b48['field'])continue;let _0x123b57=_0x243b48[_0x6cda10(0x37e)]['id']+'\x1f'+_0x243b48[_0x6cda10(0x17a)]['id'];_0x14ad75[_0x6cda10(0xe4)](_0x123b57,{'tableId':_0x243b48['table']['id'],'fieldId':_0x243b48[_0x6cda10(0x17a)]['id']});}return Array[_0x6cda10(0x397)](_0x14ad75[_0x6cda10(0x3dd)]());}};function _0x4ec3ba(_0x2f822e,_0x5a15f6){const _0x3a9133=_0x565318;var _0x4ee070;let _0x49a821=[],_0x443354=(_0x4ee070=_0x5a15f6[_0x3a9133(0x1e8)])==null?void 0x0:_0x4ee070[_0x2f822e['id']];return _0x443354&&Object[_0x3a9133(0x2b1)](_0x443354)[_0x3a9133(0x207)](([_0x1128c8,_0x138c0d])=>{const _0x2a11a6=_0x3a9133;let _0x1b803f=_0x2f822e[_0x2a11a6(0x257)][_0x1128c8];if(!_0x1b803f||!_0x138c0d)return;let _0x25f334=_0x21979c(_0x1b803f),_0x7e33fd=[];new _0x4dff15[(_0x2a11a6(0x2ff))](_0x138c0d)['forValue']((_0x4bbbe2,_0x52ee7f,_0xe72c5d)=>{const _0x5900a8=_0x2a11a6;let _0x370938=_0x29ae62(_0x25f334,_0x4bbbe2,_0x52ee7f,_0xe72c5d);_0x370938&&_0x7e33fd[_0x5900a8(0xfb)](_0x370938);}),_0x7e33fd[_0x2a11a6(0xac)]&&_0x49a821[_0x2a11a6(0xfb)]({'unitId':_0x2f822e['id'],'tableId':_0x1128c8,'patches':_0x7e33fd});}),_0x49a821;}function _0x29ae62(_0x1ce8c3,_0x245100,_0xbb870c,_0x1f9989){const _0x4e9936=_0x565318;var _0x3c3cc4,_0x3d0df9,_0x508c30;let _0x2a5820=(_0x3c3cc4=_0x1ce8c3[_0x4e9936(0x460)])==null?void 0x0:_0x3c3cc4[_0x245100],_0xd3abba=(_0x3d0df9=_0x1ce8c3['colId'])==null?void 0x0:_0x3d0df9[_0xbb870c];if(!_0x2a5820||!_0x1ce8c3[_0x4e9936(0x17e)][_0x2a5820]||!_0xd3abba)return null;let _0x356dc1=_0x1ce8c3[_0x4e9936(0x375)][_0xd3abba];if(!_0x356dc1||_0x356dc1[_0x4e9936(0x1dd)]!==_0x4e9936(0xc6))return null;let _0x30e59c=String(((_0x508c30=_0x356dc1[_0x4e9936(0x2c6)])==null?void 0x0:_0x508c30[_0x4e9936(0xc6)])??'')['trim'](),_0x1ea192=(_0x1f9989==null?void 0x0:_0x1f9989['v'])??null,_0xa2097={'v':_0x1ea192,'t':_0x380971(_0x1ea192),..._0x245100===0x0&&_0x30e59c?{'f':_0x30e59c}:{},'si':_0x356dc1['id']};return _0x50dcb5(_0x3abe7c(_0x1ce8c3,_0x2a5820,_0xd3abba),_0xa2097)?null:{'row':_0x245100,'col':_0xbb870c,'value':_0xa2097};}function _0x50dcb5(_0xc42f99,_0x367b72){return _0xc42f99!=null&&Object['is'](_0xc42f99['v']??null,_0x367b72['v']??null)&&_0xc42f99['t']===_0x367b72['t']&&_0xc42f99['f']===_0x367b72['f']&&_0xc42f99['si']===_0x367b72['si'];}function _0x380971(_0xdf090){const _0x3bfd14=_0x565318;return typeof _0xdf090==_0x3bfd14(0x4cd)?_0x4dff15[_0x3bfd14(0x1e3)][_0x3bfd14(0xe0)]:typeof _0xdf090=='boolean'?_0x4dff15['CellValueType'][_0x3bfd14(0x41f)]:typeof _0xdf090==_0x3bfd14(0x17d)?_0x4dff15[_0x3bfd14(0x1e3)][_0x3bfd14(0x496)]:null;}function _0x10db88(_0x206538){const _0x14d770=_0x565318;let _0x311ace=_0xee4139(_0x206538,()=>''),_0x5196d2=new Map(),_0x19b7d8=_0x3df650=>{const _0x24f407=_0x5b6a;_0x5196d2[_0x24f407(0xe4)]((_0x3df650[_0x24f407(0x46d)]??'')+'\x1f'+_0x3df650[_0x24f407(0x4ac)],_0x3df650);};for(let _0x4c5a96 of _0x311ace[_0x14d770(0x163)](_0x40d5c4))_0x19b7d8({'fieldName':_0x4c5a96[0x1],'scope':_0x14d770(0x1c6)});_0x311ace=_0x311ace[_0x14d770(0x362)](_0x168222,(_0x1a0753,_0x2fe9bf,_0x35c17e,_0xc2cfb5)=>(_0x19b7d8({'tableName':_0x2fe9bf,'fieldName':_0xc2cfb5,'scope':_0x35c17e[_0x14d770(0x4ab)]()===_0x14d770(0x278)?'data':_0x14d770(0x1c6)}),'\x20')),_0x311ace=_0x311ace[_0x14d770(0x362)](_0x15f3f7,(_0x47fa58,_0x15376a,_0x547b6b)=>(_0x19b7d8({'tableName':_0x15376a,'fieldName':_0x547b6b,'scope':_0x14d770(0x1c6)}),'\x20')),_0x311ace=_0x311ace[_0x14d770(0x362)](_0x47d469,(_0x202045,_0x2a5723,_0x2ef98b,_0x31ce33)=>(_0x19b7d8({'fieldName':_0x31ce33,'scope':_0x2ef98b[_0x14d770(0x4ab)]()===_0x14d770(0x278)?_0x14d770(0x278):_0x14d770(0x1c6)}),_0x2a5723+'\x20')),_0x311ace=_0x311ace[_0x14d770(0x362)](_0x23347b,(_0x4604e0,_0x406239,_0x5c840f)=>(_0x19b7d8({'fieldName':_0x5c840f,'scope':_0x14d770(0x1c6)}),_0x406239+'\x20'));for(let _0x31d8a6 of _0x311ace[_0x14d770(0x163)](_0x25bf1e))_0x19b7d8({'tableName':_0x31d8a6[0x1],'fieldName':_0x31d8a6[0x2]});for(let _0x11e6cc of _0x311ace[_0x14d770(0x163)](_0x4c0b1a))_0x19b7d8({'fieldName':_0x11e6cc[0x2],'scope':_0x14d770(0x1c6)});return Array['from'](_0x5196d2['values']());}function _0x2b9002(_0x52d96d){const _0x2bbc0f=_0x565318;let _0x85c127=_0xee4139(_0x52d96d,()=>'\x20')[_0x2bbc0f(0x362)](_0x40d5c4,'\x20')[_0x2bbc0f(0x362)](_0x168222,'\x20')[_0x2bbc0f(0x362)](_0x15f3f7,'\x20')[_0x2bbc0f(0x362)](_0x47d469,_0x2bbc0f(0x1c4))['replace'](_0x23347b,'$1\x20')[_0x2bbc0f(0x362)](_0x25bf1e,'\x20')[_0x2bbc0f(0x362)](_0x4c0b1a,_0x2bbc0f(0x1c4));return _0x2c3fbb['test'](_0x85c127);}function _0x5a5ef4(_0x4c7273,_0x41d3ca){return _0x5ac453(_0x41a7e5(_0x4c7273,_0x41d3ca),_0x41d3ca);}function _0xee4139(_0x1cd240,_0x309792){return _0x1d2fd0(_0x5a5ef4(_0x1cd240,_0x309792),_0x309792);}function _0x1d2fd0(_0x3d0dff,_0x1c502d){const _0x2796fd=_0x565318;return _0x3d0dff[_0x2796fd(0x362)](/"(?:""|[^"])*"/g,_0x1c502d);}function _0x41a7e5(_0x7748c7,_0x5e9c09){const _0x439cd9=_0x565318;return _0x19d0ec[_0x439cd9(0x4a0)]=0x0,_0x7748c7[_0x439cd9(0x362)](_0x19d0ec,(_0xe7dcb8,_0x43eed6)=>_0x38af15(_0x7748c7,_0x43eed6)?_0xe7dcb8:_0x5e9c09(_0xe7dcb8));}let _0x35b20d=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x5ac453(_0x230457,_0x824ca5){const _0x462ded=_0x565318;let _0x4ba2c3=[];for(_0x35b20d[_0x462ded(0x4a0)]=0x0;;){let _0x9d318b=_0x35b20d['exec'](_0x230457);if(_0x9d318b==null)break;if(_0x38af15(_0x230457,_0x9d318b[_0x462ded(0x359)]))continue;let _0x3323cb=_0x35b20d[_0x462ded(0x4a0)]-0x1,_0x686c01=0x0;for(let _0x1de5d9=_0x3323cb;_0x1de5d9<_0x230457['length'];_0x1de5d9++)if(_0x230457[_0x1de5d9]==='['&&_0x686c01++,_0x230457[_0x1de5d9]===']'&&(_0x686c01--,_0x686c01===0x0)){_0x4ba2c3[_0x462ded(0xfb)]({'start':_0x9d318b['index'],'end':_0x1de5d9+0x1}),_0x35b20d['lastIndex']=_0x1de5d9+0x1;break;}}if(_0x4ba2c3['length']===0x0)return _0x230457;let _0x20be79='',_0x363132=0x0;for(let _0x3d318d of _0x4ba2c3)_0x20be79+=_0x230457['slice'](_0x363132,_0x3d318d[_0x462ded(0x367)]),_0x20be79+=_0x824ca5(_0x230457[_0x462ded(0x19e)](_0x3d318d['start'],_0x3d318d[_0x462ded(0x474)])),_0x363132=_0x3d318d[_0x462ded(0x474)];return _0x20be79+_0x230457['slice'](_0x363132);}function _0x38af15(_0x33b46e,_0x5939df){let _0x419c17=!0x1;for(let _0x1b436d=0x0;_0x1b436d<_0x5939df;_0x1b436d++)if(_0x33b46e[_0x1b436d]==='\x22'){if(_0x419c17&&_0x33b46e[_0x1b436d+0x1]==='\x22'){_0x1b436d++;continue;}_0x419c17=!_0x419c17;}return _0x419c17;}function _0x41c77e(_0x5a12c8,_0x554455,_0x1a9d90,_0x2d81c0){const _0x22bdab=_0x565318;let _0xc2e3f6=_0x5b9412(_0x5a12c8[_0x22bdab(0x46d)],_0x554455,_0x1a9d90,_0x2d81c0);return{'table':_0xc2e3f6,'field':_0xc2e3f6?Object[_0x22bdab(0x3dd)](_0xc2e3f6[_0x22bdab(0x375)])[_0x22bdab(0x3f5)](_0x5aeb20=>_0x5aeb20['name']===_0x5a12c8[_0x22bdab(0x4ac)]):void 0x0};}function _0x5b9412(_0x35d297,_0xd41d25,_0x5822aa,_0x33c801){const _0x2c1186=_0x565318;if(!_0x35d297)return _0xd41d25;if(!_0x5822aa){var _0x226dd3;let _0x83fd3=_0x35d297[_0x2c1186(0x4ab)]();return _0x83fd3===_0xd41d25['id'][_0x2c1186(0x4ab)]()||_0x83fd3===_0xd41d25['name']['toLowerCase']()||_0x83fd3===((_0x226dd3=_0xd41d25[_0x2c1186(0x2ef)])==null?void 0x0:_0x226dd3[_0x2c1186(0x4ab)]())?_0xd41d25:void 0x0;}let _0x55d7d4=_0x35d297[_0x2c1186(0x4ab)](),_0x5071a2=_0x33c801??(0x0,_0x4dff15['createBaseFormulaTableNameMap'])(_0x5822aa),_0x3d9206=Object[_0x2c1186(0x3dd)](_0x5822aa[_0x2c1186(0x257)])[_0x2c1186(0x2ee)](_0x11b68a=>{const _0x399d2e=_0x2c1186;var _0x49c8f9;return _0x11b68a['id']['toLowerCase']()===_0x55d7d4||_0x11b68a[_0x399d2e(0x177)]['toLowerCase']()===_0x55d7d4||((_0x49c8f9=_0x5071a2[_0x399d2e(0x2fe)](_0x11b68a['id']))==null?void 0x0:_0x49c8f9[_0x399d2e(0x4ab)]())===_0x55d7d4||_0x23c24e(_0x11b68a['id'])[_0x399d2e(0x4ab)]()===_0x55d7d4;});return _0x3d9206[_0x2c1186(0xac)]===0x1?_0x3d9206[0x0]:void 0x0;}function _0x23c24e(_0x4c75cf){const _0x30571c=_0x565318;return _0x30571c(0x160)+Array[_0x30571c(0x397)](_0x4c75cf,_0x342e82=>{const _0x42babe=_0x30571c;var _0x4c7e4e;return/[A-Za-z0-9]/['test'](_0x342e82)?_0x342e82:'_x'+(((_0x4c7e4e=_0x342e82[_0x42babe(0x33c)](0x0))==null?void 0x0:_0x4c7e4e[_0x42babe(0x25a)](0x10))??'0')+'_';})[_0x30571c(0x1b5)]('');}let _0x2b6f40=new _0x218cb8();function _0x343e77(_0x3c8263,_0x4ac4df,_0x685e13){const _0x13dc54=_0x565318;var _0x13245f;if(_0x685e13[_0x13dc54(0x1dd)]!==_0x4dff15[_0x13dc54(0x352)][_0x13dc54(0x2a8)])return!0x0;let _0x4c096b=String(((_0x13245f=_0x685e13[_0x13dc54(0x2c6)])==null?void 0x0:_0x13245f[_0x13dc54(0xc6)])??''),_0x19eaac=_0x3c8263['getSnapshot']();return _0x2b6f40['validateFormula'](_0x4c096b,_0x19eaac['tables'][_0x4ac4df],{'snapshot':_0x19eaac})[_0x13dc54(0x31a)];}function _0xc4bf78(_0x187c82,_0x5b49cb,_0x2c12d3){const _0x1f7bf6=_0x565318;let _0x55b636=_0x187c82[_0x1f7bf6(0x166)]()[_0x1f7bf6(0x257)][_0x5b49cb];if(!_0x55b636)return!0x1;let {viewIds:_0xcf742a,fieldIds:_0x426f4c,recordIds:_0x4e602e}=_0x2c12d3||{};if(_0xcf742a){for(let _0x246556 of _0xcf742a)if(!_0x55b636[_0x1f7bf6(0x353)][_0x246556])return!0x1;}if(_0x426f4c){for(let _0x26c9a4 of _0x426f4c)if(!_0x55b636['fields'][_0x26c9a4])return!0x1;}if(_0x4e602e){for(let _0x50fd08 of _0x4e602e)if(!_0x55b636['records'][_0x50fd08])return!0x1;}return!0x0;}function _0x2edb07(_0x465977,_0x137db4,_0x5c3334){const _0x51d029=_0x565318;if(_0x5c3334['id']===_0x4dff15[_0x51d029(0x432)]||_0x5c3334['type']===_0x4dff15['BaseFieldType'][_0x51d029(0x37b)]||(0x0,_0x4dff15['isBaseRecordIdFieldName'])(_0x5c3334[_0x51d029(0x177)])||!_0x343e77(_0x465977,_0x137db4,_0x5c3334))return!0x1;let _0xfddf12=_0x465977[_0x51d029(0x166)]();if(!_0x595100(_0xfddf12,_0x5c3334)[_0x51d029(0x31a)])return!0x1;if(_0x5c3334[_0x51d029(0x1dd)]!==_0x4dff15[_0x51d029(0x352)][_0x51d029(0x4fe)])return!0x0;let _0x502b39=_0x3503a1(_0x5c3334);if(!_0x502b39)return!0x1;if(_0x502b39[_0x51d029(0xc5)]===void 0x0)return!0x0;if(_0x502b39[_0x51d029(0xc5)]!==_0x4dff15[_0x51d029(0x1ad)][_0x51d029(0x48c)]||_0x502b39[_0x51d029(0x501)]!==_0x137db4||_0x502b39[_0x51d029(0x18c)]!==!0x1)return!0x1;let _0x5b3e3e=_0xfddf12['tables'][_0x137db4];return!Object[_0x51d029(0x3dd)](_0x5b3e3e[_0x51d029(0x375)])[_0x51d029(0x1a5)](_0x319cd8=>{const _0xd1ab09=_0x51d029;var _0x259f41;return _0x319cd8['id']!==_0x5c3334['id']&&_0x319cd8[_0xd1ab09(0x1dd)]===_0x4dff15[_0xd1ab09(0x352)][_0xd1ab09(0x4fe)]&&((_0x259f41=_0x3503a1(_0x319cd8))==null?void 0x0:_0x259f41['relationRole'])===_0x4dff15['BaseRecordLinkRole'][_0xd1ab09(0x48c)];});}function _0x29bb77(_0x4a871a,_0x7d1c7d,_0x218248,_0x3756a9){const _0x5525ef=_0x565318;var _0x544075;let _0xa1234e=_0x4a871a[_0x5525ef(0x166)](),_0x30dc65=(_0x544075=_0xa1234e[_0x5525ef(0x257)][_0x7d1c7d])==null?void 0x0:_0x544075[_0x5525ef(0x375)][_0x218248];return!_0x30dc65||_0x30dc65['id']===_0x4dff15[_0x5525ef(0x432)]||_0x30dc65[_0x5525ef(0x1dd)]===_0x4dff15[_0x5525ef(0x352)]['RecordId']?!0x1:_0x30dc65[_0x5525ef(0x1dd)]!==_0x4dff15[_0x5525ef(0x352)][_0x5525ef(0x4fe)]||_0x376044(_0xa1234e,_0x30dc65,_0xcd30ad(_0x3756a9))[_0x5525ef(0x31a)];}function _0x5aa24a(_0x4f2dbb,_0x13afbd,_0x4afb2f){const _0x45547a=_0x565318;let _0x715a7e=_0x4f2dbb[_0x45547a(0x166)]()[_0x45547a(0x257)][_0x13afbd];return!_0x715a7e||!(0x0,_0x4dff15[_0x45547a(0x48e)])(_0x4afb2f['id'])||_0x715a7e[_0x45547a(0x17e)][_0x4afb2f['id']]||Object[_0x45547a(0x3f7)]['hasOwnProperty'][_0x45547a(0x3b3)](_0x4afb2f[_0x45547a(0x3dd)],_0x4dff15[_0x45547a(0x432)])&&_0x4afb2f[_0x45547a(0x3dd)][_0x4dff15[_0x45547a(0x432)]]!==_0x4afb2f['id']?!0x1:Object['entries'](_0x4afb2f['values'])[_0x45547a(0x1fd)](([_0x476ccd,_0x46b2db])=>_0x476ccd===_0x4dff15[_0x45547a(0x432)]||_0x29bb77(_0x4f2dbb,_0x13afbd,_0x476ccd,_0x46b2db));}function _0x227b88(_0x489520){const _0x30bbb7=_0x565318;return{..._0x489520,'values':{..._0x489520['values'],[_0x4dff15[_0x30bbb7(0x432)]]:_0x489520['id']}};}function _0xcd30ad(_0x3007ec){const _0x2887fb=_0x565318;if(_0x3007ec&&typeof _0x3007ec==_0x2887fb(0x35c)&&!Array[_0x2887fb(0x1eb)](_0x3007ec)&&'v'in _0x3007ec){let _0x3d3adc=_0x3007ec['v'];return _0x3d3adc===void 0x0?null:_0x3d3adc;}return _0x3007ec;}function _0x1ff4e0(_0x1a410f,_0x14184a,_0x461a8f,_0x55be0d){const _0x345435=_0x565318;let _0x4cc92a=_0x1a410f[_0x345435(0x166)]()['tables'][_0x14184a];if(!_0x4cc92a)return null;let _0x1fdf8c=_0x5d6b7d(_0x4cc92a),_0x1f36eb=_0x1fdf8c??_0xe59662(_0x4cc92a),_0x4d982b=_0x461a8f[_0x345435(0x1a5)](_0x21f0bf=>Object[_0x345435(0x3f7)][_0x345435(0x345)][_0x345435(0x3b3)](_0x21f0bf['values'],_0x1f36eb)),_0x2e7a88=_0x1fdf8c?_0x4cc92a['fields'][_0x1fdf8c]:_0x4d982b?_0xd92ee0(_0x4cc92a,_0x1f36eb,_0x55be0d):null,_0x440afb=[];for(let _0x2f742f of _0x461a8f){let _0x34b666=_0x2f742f['values'][_0x1f36eb],_0x39510f=_0x2e7a88!==null&&Object[_0x345435(0x3f7)][_0x345435(0x345)]['call'](_0x2f742f['values'],_0x1f36eb),_0x427cf1=_0xcd30ad(_0x34b666),_0x412edb=null;if(_0x39510f){if(typeof _0x427cf1!=_0x345435(0x17d)||!_0x2571e9(_0x427cf1,!0x1)[_0x345435(0x31a)])return null;_0x412edb=_0x427cf1;}let _0xe3f6e3={};if(Object[_0x345435(0x2b1)](_0x2f742f['values'])['forEach'](([_0x517bc9,_0x2540a3])=>{(!_0x39510f||_0x517bc9!==_0x1f36eb)&&(_0xe3f6e3[_0x517bc9]=_0x2540a3);}),!_0x5aa24a(_0x1a410f,_0x14184a,{..._0x2f742f,'values':_0xe3f6e3}))return null;let _0x33c35f={..._0x2f742f[_0x345435(0x3dd)]};_0x412edb!==null&&(_0x33c35f[_0x1f36eb]=_0x412edb),_0x440afb[_0x345435(0xfb)](_0x227b88({..._0x2f742f,'values':_0x33c35f}));}return{'records':_0x440afb,'hierarchyFieldToMaterialize':_0x1fdf8c?null:_0x2e7a88,'hierarchyChanges':_0x2d68df(_0x4cc92a,_0x440afb)};}let _0x500705={'id':_0x565318(0x373),'type':_0x4dff15['CommandType'][_0x565318(0x285)],'handler'(_0x36de68,_0x619ee0){const _0x253da1=_0x565318;if(!_0x619ee0)return!0x1;let _0x4496a1=_0x36de68[_0x253da1(0x2fe)](_0x4dff15[_0x253da1(0x497)]),{unitId:_0x3ea3e1,tableId:_0x395bca,records:_0x8006ee}=_0x619ee0,_0x436812=_0x4496a1[_0x253da1(0x21d)](_0x3ea3e1,_0x4dff15[_0x253da1(0x125)][_0x253da1(0x4fb)]),_0x28e68d=_0x8006ee[_0x253da1(0x2e7)](_0x5912f1=>_0x5912f1['id']);if(!_0x436812||!_0xc4bf78(_0x436812,_0x395bca)||new Set(_0x28e68d)[_0x253da1(0x4b4)]!==_0x28e68d['length'])return!0x1;let _0x2d6eed=_0x36de68[_0x253da1(0x2fe)](_0x4dff15[_0x253da1(0x44b)]),_0x9a397c=_0x36de68[_0x253da1(0x2fe)](_0x4dff15[_0x253da1(0x1a3)]),_0x3f43a9=_0x36de68['get'](_0x2a6ad5),_0x474adb=_0x436812[_0x253da1(0x166)](),_0x4bf713=_0x1ff4e0(_0x436812,_0x395bca,_0x8006ee);if(!_0x4bf713)return!0x1;let {records:_0x48fe79,hierarchyChanges:_0x498030,hierarchyFieldToMaterialize:_0x14ab36}=_0x4bf713,_0x37a6d1=_0x14ab36?_0x3f43a9[_0x253da1(0x4fc)](_0x436812,_0x395bca,_0x14ab36,_0x474adb[_0x253da1(0x257)][_0x395bca][_0x253da1(0x2c3)]['length']):null,_0x276c40=_0x3f43a9[_0x253da1(0x4ec)](_0x436812,_0x395bca,_0x48fe79),_0x54d8f3=_0xbcd9ca([..._0x37a6d1?[_0x37a6d1]:[],_0x276c40]),_0x3ba13c=new _0x4ddc63()[_0x253da1(0x4f9)](_0x474adb,_0x54d8f3),_0x574c6e={'unitId':_0x3ea3e1,'op':_0x54d8f3,'hierarchyChanges':_0x498030['length']?_0x498030:void 0x0,'source':_0x498030['length']?_0x619ee0['source']??'ui':void 0x0},_0x232d73={..._0x574c6e,'source':_0x498030[_0x253da1(0xac)]?'redo':void 0x0},_0x2bcdd1={'unitId':_0x3ea3e1,'op':_0x3ba13c,'hierarchyChanges':_0x498030[_0x253da1(0xac)]?_0x498030[_0x253da1(0x2e7)](_0x1defe9=>({..._0x1defe9,'oldParentRecordId':_0x1defe9['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x498030['length']?_0x253da1(0x2b3):void 0x0};return _0x2d6eed[_0x253da1(0x3cb)](_0x4f6ebe['id'],_0x574c6e)?(_0x4496a1['focusUnit'](_0x3ea3e1),_0x9a397c['pushUndoRedo']({'unitID':_0x3ea3e1,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2bcdd1}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x232d73}]}),!0x0):!0x1;}},_0x427525={'id':_0x565318(0x4f4),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x28e1a3,_0x1d2e18)=>{const _0x151343=_0x565318;if(!_0x1d2e18)return!0x1;let _0x496ba6=_0x28e1a3['get'](_0x4dff15[_0x151343(0x497)]),{unitId:_0xffc52a,tableId:_0x492d6b,recordIds:_0x11ae0c}=_0x1d2e18,_0x416d45=_0x496ba6[_0x151343(0x21d)](_0xffc52a,_0x4dff15['UniverInstanceType'][_0x151343(0x4fb)]);if(!_0x416d45||!_0xc4bf78(_0x416d45,_0x492d6b,{'recordIds':_0x11ae0c}))return!0x1;let _0x583ece=_0x28e1a3[_0x151343(0x2fe)](_0x4dff15[_0x151343(0x44b)]),_0x2ca2e1=_0x28e1a3[_0x151343(0x2fe)](_0x4dff15[_0x151343(0x1a3)]),_0x1b97d7=_0x416d45[_0x151343(0x166)](),_0x4998b9=_0x54ab3d(_0x1b97d7[_0x151343(0x257)][_0x492d6b],_0x11ae0c),_0x5cca94=new _0x11b56b(),_0x3c8604=new _0x4ddc63(),_0x45cff7=_0x5cca94[_0x151343(0x226)](_0x1b97d7,_0x492d6b,_0x11ae0c),_0x3af593=_0x3c8604[_0x151343(0x22f)](_0x1b97d7,_0x45cff7),_0x439760=_0x5cca94[_0x151343(0x50b)](_0x1b97d7,_0x3af593,_0x492d6b,_0x11ae0c),_0x2c7878={'unitId':_0xffc52a,'op':_0x45cff7,'hierarchyChanges':_0x4998b9,'source':_0x1d2e18[_0x151343(0x126)]??'ui'},_0x36c8bd={..._0x2c7878,'source':'redo'},_0x1ca33f={'unitId':_0xffc52a,'op':_0x439760,'hierarchyChanges':_0x4998b9[_0x151343(0x2e7)](_0x2fe431=>({..._0x2fe431,'oldParentRecordId':_0x2fe431['parentRecordId'],'parentRecordId':_0x2fe431[_0x151343(0x1fe)]})),'source':'undo'};return _0x583ece['syncExecuteCommand'](_0x4f6ebe['id'],_0x2c7878)?(_0x496ba6[_0x151343(0x2d0)](_0xffc52a),_0x2ca2e1['pushUndoRedo']({'unitID':_0xffc52a,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1ca33f}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x36c8bd}]}),!0x0):!0x1;}},_0x3da4bf={'id':_0x565318(0x2f3),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x1b1d27,_0x58e40a)=>{const _0x31fe59=_0x565318;if(!_0x58e40a)return!0x1;let _0x4ff327=_0x1b1d27[_0x31fe59(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0x107513,tableId:_0x2e1bf9,fieldId:_0x45f166,input:_0x523086}=_0x58e40a,_0x5da466=_0x4ff327[_0x31fe59(0x21d)](_0x107513,_0x4dff15[_0x31fe59(0x125)][_0x31fe59(0x4fb)]);if(!_0x5da466||_0x45f166===_0x4dff15[_0x31fe59(0x432)]||!_0xc4bf78(_0x5da466,_0x2e1bf9,{'fieldIds':[_0x45f166]}))return!0x1;let _0x2718c8=_0x1b1d27[_0x31fe59(0x2fe)](_0x4dff15[_0x31fe59(0x44b)]),_0x432d7d=_0x1b1d27[_0x31fe59(0x2fe)](_0x4dff15[_0x31fe59(0x1a3)]),_0x5520ac=_0x5da466['getSnapshot']();if(!_0x2edb07(_0x5da466,_0x2e1bf9,{..._0x5520ac[_0x31fe59(0x257)][_0x2e1bf9][_0x31fe59(0x375)][_0x45f166],..._0x523086}))return!0x1;let _0x59a0a3=new _0x11b56b()['changeFieldType'](_0x5520ac,_0x2e1bf9,_0x45f166,_0x523086),_0xdaeeb2=new _0x4ddc63()[_0x31fe59(0x4f9)](_0x5520ac,_0x59a0a3),_0x2c9cb5={'unitId':_0x107513,'op':_0x59a0a3},_0x3a465a={'unitId':_0x107513,'op':_0xdaeeb2};return _0x2718c8['syncExecuteCommand'](_0x4f6ebe['id'],_0x2c9cb5)?(_0x4ff327['focusUnit'](_0x107513),_0x432d7d['pushUndoRedo']({'unitID':_0x107513,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x3a465a}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2c9cb5}]}),!0x0):!0x1;}},_0xc5c0a8={'id':'base.command.create-base-child-record','type':_0x4dff15['CommandType'][_0x565318(0x285)],'handler'(_0x834b2a,_0x5368c2){const _0x28e2fa=_0x565318;var _0xe1b1fe;if(!_0x5368c2)return!0x1;let {unitId:_0x6b146a,tableId:_0x260c1a,parentRecordId:_0x402390}=_0x5368c2,_0x4591b8=_0x834b2a[_0x28e2fa(0x2fe)](_0x4dff15[_0x28e2fa(0x497)]),_0x322afa=_0x4591b8[_0x28e2fa(0x21d)](_0x6b146a,_0x4dff15[_0x28e2fa(0x125)]['UNIVER_BASE']);if(!_0x322afa||!_0xc4bf78(_0x322afa,_0x260c1a,{'recordIds':[_0x402390]}))throw new _0x345a4a(_0x28e2fa(0x1ed));let _0x5d0e0d=_0x322afa[_0x28e2fa(0x166)](),_0x33de7b=_0x5d0e0d['tables'][_0x260c1a],_0x5805ed=_0x5d6b7d(_0x33de7b),_0x18d294=_0x5805ed??_0x5368c2[_0x28e2fa(0x351)]??_0xe59662(_0x33de7b);if(_0x5805ed&&_0x5368c2[_0x28e2fa(0x351)]&&_0x5368c2[_0x28e2fa(0x351)]!==_0x5805ed||_0x33de7b[_0x28e2fa(0x375)][_0x18d294]&&!_0x48ed14(_0x33de7b,_0x18d294))throw new _0x345a4a(_0x28e2fa(0x324));if((_0x3b7781(_0x33de7b,_0x18d294)['depthByRecordId'][_0x28e2fa(0x2fe)](_0x402390)??0x0)+0x1>=0x5)throw new _0x345a4a(_0x28e2fa(0x36b));if(!_0x5aa24a(_0x322afa,_0x260c1a,_0x5368c2[_0x28e2fa(0x491)]))return!0x1;let _0x5e6412=_0x227b88({..._0x5368c2[_0x28e2fa(0x491)],'values':{..._0x5368c2[_0x28e2fa(0x491)]['values'],[_0x18d294]:_0x1cb0b2([_0x402390])}}),_0x4c5d0d=_0x834b2a[_0x28e2fa(0x2fe)](_0x2a6ad5),_0x26354a=new _0x11b56b(),_0x46bfa8=_0x33de7b[_0x28e2fa(0x375)][_0x18d294],_0x546ec0=_0x46bfa8?((_0xe1b1fe=_0x3503a1(_0x46bfa8))==null?void 0x0:_0xe1b1fe[_0x28e2fa(0xc5)])===_0x4dff15[_0x28e2fa(0x1ad)][_0x28e2fa(0x48c)]?null:_0x26354a[_0x28e2fa(0x4d3)](_0x5d0e0d,_0x260c1a,_0x18d294,{'config':{..._0x46bfa8[_0x28e2fa(0x2c6)],'relationRole':_0x4dff15['BaseRecordLinkRole']['Parent']}}):_0x4c5d0d[_0x28e2fa(0x4fc)](_0x322afa,_0x260c1a,_0xd92ee0(_0x33de7b,_0x18d294,_0x5368c2[_0x28e2fa(0x26e)]),_0x33de7b['fieldOrder'][_0x28e2fa(0xac)]),_0x347e31=_0x4c5d0d[_0x28e2fa(0x1e6)](_0x322afa,_0x260c1a,_0x5e6412),_0xd3f8bd=_0xbcd9ca([..._0x546ec0?[_0x546ec0]:[],_0x347e31]),_0x1072ed=new _0x4ddc63()['invertOp'](_0x5d0e0d,_0xd3f8bd),_0x4710a8={'tableId':_0x260c1a,'fieldId':_0x18d294,'recordId':_0x5e6412['id'],'oldParentRecordId':null,'parentRecordId':_0x402390},_0xf86972={'unitId':_0x6b146a,'op':_0xd3f8bd,'trigger':_0xc5c0a8['id'],'hierarchyChanges':[_0x4710a8],'source':_0x5368c2[_0x28e2fa(0x126)]??'ui'},_0x7d8da9={..._0xf86972,'source':_0x28e2fa(0x1e2)},_0xbff8a={'unitId':_0x6b146a,'op':_0x1072ed,'trigger':_0xc5c0a8['id'],'hierarchyChanges':[{..._0x4710a8,'oldParentRecordId':_0x402390,'parentRecordId':null}],'source':_0x28e2fa(0x2b3)};return _0x834b2a[_0x28e2fa(0x2fe)](_0x4dff15[_0x28e2fa(0x44b)])[_0x28e2fa(0x3cb)](_0x4f6ebe['id'],_0xf86972)?(_0x4591b8['focusUnit'](_0x6b146a),_0x834b2a[_0x28e2fa(0x2fe)](_0x4dff15[_0x28e2fa(0x1a3)])['pushUndoRedo']({'unitID':_0x6b146a,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0xbff8a}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x7d8da9}]}),!0x0):!0x1;}},_0x3a021b={'id':'base.command.create-base-field','type':_0x4dff15[_0x565318(0x38d)]['COMMAND'],'handler'(_0x524238,_0x26450c){const _0x478335=_0x565318;if(!_0x26450c)return!0x1;let _0x2a6653=_0x524238['get'](_0x4dff15[_0x478335(0x497)]),{unitId:_0x5dc1da,tableId:_0xdb9e8b,field:_0x48364f,index:_0x5af58d,viewIndexes:_0x1c2ec9}=_0x26450c,_0x28d378=_0x2a6653[_0x478335(0x21d)](_0x5dc1da,_0x4dff15['UniverInstanceType']['UNIVER_BASE']);if(!_0x28d378||!_0xc4bf78(_0x28d378,_0xdb9e8b)||_0x28d378['getSnapshot']()[_0x478335(0x257)][_0xdb9e8b]['fields'][_0x48364f['id']]||_0x5af58d===0x0||!_0x2edb07(_0x28d378,_0xdb9e8b,_0x48364f))return!0x1;let _0x4d25a9=_0x524238[_0x478335(0x2fe)](_0x4dff15[_0x478335(0x44b)]),_0x1c56b0=_0x524238['get'](_0x4dff15[_0x478335(0x1a3)]),_0x1f6472=_0x524238[_0x478335(0x2fe)](_0x2a6ad5)[_0x478335(0x4fc)](_0x28d378,_0xdb9e8b,_0x48364f,_0x5af58d,_0x1c2ec9),_0x37e132=new _0x4ddc63()['invertOp'](_0x28d378[_0x478335(0x166)](),_0x1f6472),_0x22f821={'unitId':_0x5dc1da,'op':_0x1f6472},_0x30abb7={'unitId':_0x5dc1da,'op':_0x37e132};return _0x4d25a9[_0x478335(0x3cb)](_0x4f6ebe['id'],_0x22f821)?(_0x2a6653['focusUnit'](_0x5dc1da),_0x1c56b0['pushUndoRedo']({'unitID':_0x5dc1da,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x30abb7}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x22f821}]}),!0x0):!0x1;}},_0x3ad88c={'id':_0x565318(0x4ba),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x4def10,_0xee31c8){const _0x3c4a6c=_0x565318;if(!_0xee31c8)return!0x1;let _0x18424f=_0x4def10[_0x3c4a6c(0x2fe)](_0x4dff15[_0x3c4a6c(0x497)]),{unitId:_0x5c66f2,tableId:_0x328315,record:_0x197646}=_0xee31c8,_0x26b938=_0x18424f[_0x3c4a6c(0x21d)](_0x5c66f2,_0x4dff15[_0x3c4a6c(0x125)][_0x3c4a6c(0x4fb)]);if(!_0x26b938||!_0xc4bf78(_0x26b938,_0x328315))return!0x1;let _0x51bceb=_0x4def10['get'](_0x4dff15['ICommandService']),_0x53ad2f=_0x4def10[_0x3c4a6c(0x2fe)](_0x4dff15[_0x3c4a6c(0x1a3)]),_0x328ac1=_0x4def10[_0x3c4a6c(0x2fe)](_0x2a6ad5),_0xdf9780=_0x26b938[_0x3c4a6c(0x166)](),_0x5a7716=_0x1ff4e0(_0x26b938,_0x328315,[_0x197646]);if(!_0x5a7716)return!0x1;let [_0xd2f866]=_0x5a7716[_0x3c4a6c(0x17e)],{hierarchyChanges:_0x277e97,hierarchyFieldToMaterialize:_0x46f016}=_0x5a7716,_0x515cdf=_0x46f016?_0x328ac1[_0x3c4a6c(0x4fc)](_0x26b938,_0x328315,_0x46f016,_0xdf9780[_0x3c4a6c(0x257)][_0x328315]['fieldOrder'][_0x3c4a6c(0xac)]):null,_0x37018e=_0x328ac1[_0x3c4a6c(0x1e6)](_0x26b938,_0x328315,_0xd2f866),_0x4ab2d3=_0xbcd9ca([..._0x515cdf?[_0x515cdf]:[],_0x37018e]),_0x2ebadd=new _0x4ddc63()[_0x3c4a6c(0x4f9)](_0xdf9780,_0x4ab2d3),_0x25ead9={'unitId':_0x5c66f2,'op':_0x4ab2d3,'hierarchyChanges':_0x277e97[_0x3c4a6c(0xac)]?_0x277e97:void 0x0,'source':_0x277e97['length']?_0xee31c8[_0x3c4a6c(0x126)]??'ui':void 0x0},_0x6b4054={..._0x25ead9,'source':_0x277e97['length']?_0x3c4a6c(0x1e2):void 0x0},_0x4b147d={'unitId':_0x5c66f2,'op':_0x2ebadd,'hierarchyChanges':_0x277e97['length']?_0x277e97[_0x3c4a6c(0x2e7)](_0x50feb4=>({..._0x50feb4,'oldParentRecordId':_0x50feb4[_0x3c4a6c(0x11d)],'parentRecordId':null})):void 0x0,'source':_0x277e97[_0x3c4a6c(0xac)]?_0x3c4a6c(0x2b3):void 0x0};return _0x51bceb[_0x3c4a6c(0x3cb)](_0x4f6ebe['id'],_0x25ead9)?(_0x18424f[_0x3c4a6c(0x2d0)](_0x5c66f2),_0x53ad2f['pushUndoRedo']({'unitID':_0x5c66f2,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x4b147d}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x6b4054}]}),!0x0):!0x1;}};function _0x148c6f(_0x47d96f,_0x3c3785,_0x5f4384){const _0x55901a=_0x565318;if(!_0x3c3785[_0x55901a(0x3b1)]())return{'valid':!0x1,'reason':_0x55901a(0x24b),'error':_0x55901a(0x180)};if(_0x3c3785['length']>0x1f)return{'valid':!0x1,'reason':_0x55901a(0x412),'error':'too-long'};if(_0x3c3785[_0x55901a(0xff)]('\x27')||_0x3c3785[_0x55901a(0x490)]('\x27'))return{'valid':!0x1,'reason':_0x55901a(0x513),'error':'apostrophe'};if(/[:\\/?*\[\]]/[_0x55901a(0x2b8)](_0x3c3785))return{'valid':!0x1,'reason':_0x55901a(0x347),'error':'invalid-characters'};if(!(0x0,_0x4dff15[_0x55901a(0x498)])(_0x3c3785))return{'valid':!0x1,'reason':_0x55901a(0x30d),'error':_0x55901a(0x386)};let _0x26faa4=_0x3c3785[_0x55901a(0x4ab)]();return Object[_0x55901a(0x3dd)](_0x47d96f['tables'])[_0x55901a(0x1a5)](_0x178ff8=>_0x178ff8['id']!==_0x5f4384&&_0x178ff8[_0x55901a(0x177)]['toLowerCase']()===_0x26faa4)?{'valid':!0x1,'reason':_0x55901a(0x48f),'error':_0x55901a(0x4ed)}:{'valid':!0x0};}function _0x5e63cd(_0x1e0ffb,_0x71b378){const _0x290bbd=_0x565318;let _0x31d365=_0x71b378['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x290bbd(0x362)](/^'+|'+$/g,'')['trim']()||_0x290bbd(0x297),_0x33e148=0x1;for(;;){let _0x2c891c=_0x33e148===0x1?'':'\x20'+_0x33e148,_0x3b7bf6=''+_0x31d365[_0x290bbd(0x19e)](0x0,0x1f-_0x2c891c['length'])+_0x2c891c;if(_0x148c6f(_0x1e0ffb,_0x3b7bf6)['valid'])return _0x3b7bf6;_0x33e148++;}}let _0x2f2090={'id':_0x565318(0x138),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x4a6d33,_0x59288b)=>{const _0x4d0d68=_0x565318;if(!_0x59288b)return!0x1;let _0x132101=_0x4a6d33[_0x4d0d68(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0xd442ff,table:_0x1fc91f,index:_0x15a8b6}=_0x59288b,_0x591ba8=_0x132101[_0x4d0d68(0x21d)](_0xd442ff,_0x4dff15['UniverInstanceType']['UNIVER_BASE']);if(!_0x591ba8||_0x591ba8[_0x4d0d68(0x166)]()[_0x4d0d68(0x257)][_0x1fc91f['id']]||!_0x148c6f(_0x591ba8['getSnapshot'](),_0x1fc91f[_0x4d0d68(0x177)])[_0x4d0d68(0x31a)])return!0x1;try{(0x0,_0x4dff15[_0x4d0d68(0x3ab)])(_0x1fc91f);}catch{return!0x1;}let _0x91cd6a=_0x4a6d33[_0x4d0d68(0x2fe)](_0x4dff15[_0x4d0d68(0x44b)]),_0xea1cd1=_0x4a6d33[_0x4d0d68(0x2fe)](_0x4dff15[_0x4d0d68(0x1a3)]),_0x1369bb=_0x591ba8[_0x4d0d68(0x166)](),_0x1aa703=new _0x11b56b()[_0x4d0d68(0x2b0)](_0x1369bb,_0x1fc91f,_0x15a8b6),_0x5221e1=new _0x4ddc63()['invertOp'](_0x1369bb,_0x1aa703),_0x47dfe1={'unitId':_0xd442ff,'op':_0x1aa703},_0x5a1828={'unitId':_0xd442ff,'op':_0x5221e1};return _0x91cd6a['syncExecuteCommand'](_0x4f6ebe['id'],_0x47dfe1)?(_0x132101['focusUnit'](_0xd442ff),_0xea1cd1[_0x4d0d68(0x1a2)]({'unitID':_0xd442ff,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5a1828}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x47dfe1}]}),!0x0):!0x1;}};function _0xfd1783(_0xed134e,_0xe10c4f,_0x520955=[]){const _0x368c99=_0x565318;let _0x37736f=new Set([...Object[_0x368c99(0x3dd)](_0xed134e[_0x368c99(0x375)])[_0x368c99(0x2ee)](_0x44a783=>_0x44a783)[_0x368c99(0x2e7)](_0x456775=>_0x456775[_0x368c99(0x177)]),..._0x520955[_0x368c99(0x2e7)](_0x5e3d0b=>_0x5e3d0b[_0x368c99(0x177)])]);if(!_0x37736f[_0x368c99(0x336)](_0xe10c4f))return _0xe10c4f;let _0x58ad0d=0x2;for(;_0x37736f[_0x368c99(0x336)](_0xe10c4f+'\x20'+_0x58ad0d);)_0x58ad0d++;return _0xe10c4f+'\x20'+_0x58ad0d;}function _0x242d7e(_0xc4ec36,_0xa67515){const _0x1f420e=_0x565318;if(!_0xc4ec36||!_0xa67515[_0x1f420e(0xac)])return;let _0x11b952=[..._0xc4ec36];return _0xa67515['forEach'](_0x27ca4b=>{const _0xed7c01=_0x1f420e;_0x11b952[_0xed7c01(0x3d2)](_0x27ca4b)||_0x11b952['push'](_0x27ca4b);}),_0x11b952;}let _0x1f33e5={'options':[{'id':_0x565318(0xf8),'name':_0x565318(0x4d0),'color':_0x565318(0xa5)},{'id':_0x565318(0x300),'name':_0x565318(0xe7),'color':_0x565318(0x378)},{'id':_0x565318(0x502),'name':_0x565318(0x1ea),'color':_0x565318(0x4a7)}]},_0x393dc2={'locale':_0x565318(0x1d9),'pattern':_0x565318(0x337),'includeTime':!0x1,'hourCycle':_0x565318(0x129),'defaultMode':_0x565318(0x3ea)};function _0xe1448f(_0x2d991a,_0x5cc7aa,_0x160ab4,_0x4bb2bc){const _0x11a5d4=_0x565318;var _0x2c99ec;let _0x1b91d9=new _0x11b56b(),_0x5c6a0f=_0x2d991a[_0x11a5d4(0x257)][_0x5cc7aa],_0x10b953=_0x5c6a0f?{..._0x160ab4,'fieldOrder':[_0x4dff15[_0x11a5d4(0x432)],...(_0x160ab4['fieldOrder']??_0x5c6a0f['fieldOrder'])[_0x11a5d4(0x2ee)](_0x219af6=>_0x219af6!==_0x4dff15[_0x11a5d4(0x432)])],'fieldSettings':{..._0x160ab4[_0x11a5d4(0x416)],[_0x4dff15['BASE_RECORD_ID_FIELD_ID']]:{...(_0x2c99ec=_0x160ab4[_0x11a5d4(0x416)])==null?void 0x0:_0x2c99ec[_0x4dff15[_0x11a5d4(0x432)]],'hidden':!0x0}}}:_0x160ab4;if(_0x5c6a0f&&_0x10b953[_0x11a5d4(0x1dd)]===_0x11a5d4(0x2de)){let _0x43d35d=_0x54d203(_0x5c6a0f,_0x10b953),_0x7039ab=_0x43d35d[_0x11a5d4(0x1dc)]?{..._0x10b953,'config':_0x43d35d[_0x11a5d4(0x2c6)],'fieldOrder':_0x43d35d[_0x11a5d4(0x2c3)]??_0x10b953['fieldOrder']}:_0x10b953;return _0xbcd9ca([..._0x43d35d[_0x11a5d4(0x375)][_0x11a5d4(0x2e7)](_0x39b210=>_0x1b91d9['createField'](_0x2d991a,_0x5cc7aa,{'field':_0x39b210})),_0x1b91d9[_0x11a5d4(0x430)](_0x2d991a,_0x5cc7aa,_0x7039ab,_0x4bb2bc)]);}if(!_0x5c6a0f||_0x10b953[_0x11a5d4(0x1dd)]!==_0x11a5d4(0x452)&&_0x10b953[_0x11a5d4(0x1dd)]!==_0x11a5d4(0x3df))return _0x1b91d9[_0x11a5d4(0x430)](_0x2d991a,_0x5cc7aa,_0x10b953,_0x4bb2bc);let _0x249d02=_0x1651e4(_0x5c6a0f,_0x10b953),_0x2a66fa=_0x249d02[_0x11a5d4(0x1dc)]?{..._0x10b953,'config':_0x249d02[_0x11a5d4(0x2c6)],'fieldOrder':_0x249d02[_0x11a5d4(0x2c3)]??_0x10b953['fieldOrder']}:_0x10b953;return _0x10b953[_0x11a5d4(0x1dd)]===_0x11a5d4(0x3df)&&_0x5b71b7(_0x10b953)&&(_0x2a66fa=_0x7e3a6(_0x5c6a0f,_0x2a66fa,_0x249d02['fields'])),_0xbcd9ca([..._0x249d02['fields'][_0x11a5d4(0x2e7)](_0x1d69db=>_0x1b91d9[_0x11a5d4(0x3c0)](_0x2d991a,_0x5cc7aa,{'field':_0x1d69db})),_0x1b91d9[_0x11a5d4(0x430)](_0x2d991a,_0x5cc7aa,_0x2a66fa,_0x4bb2bc)]);}function _0x1651e4(_0x1aaeef,_0x5d13db,_0x1f0c4e=!0x1){const _0x20b162=_0x565318;var _0x369a26,_0x2a7387;let _0x35231a=_0x1aaeef['fieldOrder'][_0x20b162(0x2ee)](_0x537de8=>_0x5de12f(_0x1aaeef,_0x537de8)),_0x27468e=[],_0x4bb3fc={..._0x5d13db['config']??{}},_0x477f62=typeof _0x4bb3fc[_0x20b162(0x469)]==_0x20b162(0x17d)&&_0x5de12f(_0x1aaeef,_0x4bb3fc[_0x20b162(0x469)])?_0x4bb3fc['startDateFieldId']:_0x35231a[0x0],_0x3c3df4=typeof _0x4bb3fc[_0x20b162(0x1f2)]==_0x20b162(0x17d)&&_0x5de12f(_0x1aaeef,_0x4bb3fc[_0x20b162(0x1f2)])&&_0x4bb3fc[_0x20b162(0x1f2)]!==_0x477f62?_0x4bb3fc[_0x20b162(0x1f2)]:_0x35231a['find'](_0xffb53a=>_0xffb53a!==_0x477f62);if(!_0x477f62){let _0x2de854=_0x20e523(_0x1aaeef,_0x27468e,_0x5d13db[_0x20b162(0x1dd)]===_0x20b162(0x3df)?_0x20b162(0x3d3):'Date');_0x27468e['push'](_0x2de854),_0x477f62=_0x2de854['id'];}if((_0x5d13db['type']===_0x20b162(0x3df)||_0x1f0c4e)&&!_0x3c3df4){let _0x336e28=_0x20e523(_0x1aaeef,_0x27468e,_0x20b162(0x3bc));_0x27468e[_0x20b162(0xfb)](_0x336e28),_0x3c3df4=_0x336e28['id'];}_0x5d13db[_0x20b162(0x1dd)]===_0x20b162(0x452)&&!_0x3c3df4&&delete _0x4bb3fc[_0x20b162(0x1f2)],_0x4bb3fc['startDateFieldId']=_0x477f62,_0x5d13db['type']===_0x20b162(0x452)&&_0x3c3df4&&(_0x4bb3fc['endDateFieldId']=_0x3c3df4),_0x5d13db['type']==='gantt'&&(_0x4bb3fc[_0x20b162(0x1f2)]=_0x3c3df4??_0x477f62);let _0x56d606=_0x242d7e(_0x5d13db['fieldOrder'],_0x27468e[_0x20b162(0x2e7)](_0xc72f1e=>_0xc72f1e['id']));return{'changed':_0x27468e[_0x20b162(0xac)]>0x0||_0x4bb3fc['startDateFieldId']!==((_0x369a26=_0x5d13db['config'])==null?void 0x0:_0x369a26[_0x20b162(0x469)])||_0x4bb3fc[_0x20b162(0x1f2)]!==((_0x2a7387=_0x5d13db['config'])==null?void 0x0:_0x2a7387[_0x20b162(0x1f2)])||!(!_0x56d606||_0x4dff15[_0x20b162(0x20e)][_0x20b162(0x216)](_0x56d606,_0x5d13db['fieldOrder']??[])),'fields':_0x27468e,'config':_0x4bb3fc,'fieldOrder':_0x56d606};}function _0x54d203(_0xb8cbdf,_0x27b700){const _0x58396f=_0x565318;var _0x133cc8;let _0x766ed8=[],_0xd2693e={..._0x27b700[_0x58396f(0x2c6)]??{}},_0xa0e6a=typeof _0xd2693e['groupFieldId']==_0x58396f(0x17d)&&_0x11e540(_0xb8cbdf,_0xd2693e[_0x58396f(0x4c7)])?_0xd2693e[_0x58396f(0x4c7)]:_0xb8cbdf[_0x58396f(0x2c3)][_0x58396f(0x3f5)](_0x242ffe=>_0x11e540(_0xb8cbdf,_0x242ffe));if(!_0xa0e6a){let _0x3858e2=_0x466618(_0xb8cbdf,_0x766ed8);_0x766ed8[_0x58396f(0xfb)](_0x3858e2),_0xa0e6a=_0x3858e2['id'];}_0xd2693e[_0x58396f(0x4c7)]=_0xa0e6a;let _0x3354b3=_0x242d7e(_0x27b700[_0x58396f(0x2c3)],_0x766ed8[_0x58396f(0x2e7)](_0x2bdf77=>_0x2bdf77['id']));return{'changed':_0x766ed8[_0x58396f(0xac)]>0x0||_0xd2693e['groupFieldId']!==((_0x133cc8=_0x27b700[_0x58396f(0x2c6)])==null?void 0x0:_0x133cc8[_0x58396f(0x4c7)])||!(!_0x3354b3||_0x4dff15['Tools'][_0x58396f(0x216)](_0x3354b3,_0x27b700[_0x58396f(0x2c3)]??[])),'fields':_0x766ed8,'config':_0xd2693e,'fieldOrder':_0x3354b3};}function _0x11e540(_0x4ef4e5,_0x3c98a1){const _0x3f3219=_0x565318;let _0x3f18c5=_0x3c98a1?_0x4ef4e5[_0x3f3219(0x375)][_0x3c98a1]:null;return _0x3f18c5?[_0x4dff15[_0x3f3219(0x352)][_0x3f3219(0x3e8)],_0x4dff15[_0x3f3219(0x352)]['MultiSelect'],_0x4dff15['BaseFieldType']['Rating'],_0x4dff15[_0x3f3219(0x352)][_0x3f3219(0x1a1)],_0x4dff15[_0x3f3219(0x352)]['Group'],_0x4dff15[_0x3f3219(0x352)][_0x3f3219(0x334)]]['includes'](_0x3f18c5['type']):!0x1;}function _0x466618(_0x4d012a,_0x1b00bb){const _0x4d5e89=_0x565318;return{'id':_0x4d5e89(0x4e5)+(0x0,_0x4dff15[_0x4d5e89(0x340)])(0x8),'name':_0xfd1783(_0x4d012a,_0x4d5e89(0x3ba),_0x1b00bb),'type':_0x4dff15[_0x4d5e89(0x352)][_0x4d5e89(0x3e8)],'config':_0x4dff15[_0x4d5e89(0x20e)][_0x4d5e89(0x295)](_0x1f33e5)};}function _0x5b71b7(_0x198e83){const _0x4f7fb8=_0x565318;return Object[_0x4f7fb8(0x446)](_0x198e83[_0x4f7fb8(0x2c6)]??{})[_0x4f7fb8(0xac)]===0x0&&Object['keys'](_0x198e83[_0x4f7fb8(0x416)]??{})[_0x4f7fb8(0xac)]===0x0;}function _0x7e3a6(_0x59838b,_0x5b79f6,_0xbd5bac){const _0x32d8f9=_0x565318;let _0x3fd5b6={..._0x5b79f6['config']??{}},_0x2327f0=_0xbd5bac[_0x32d8f9(0x2e7)](_0x5a3d74=>_0x5a3d74['id']),_0x321f74=[..._0x59838b[_0x32d8f9(0x2c3)],..._0x2327f0],_0x559713=typeof _0x3fd5b6[_0x32d8f9(0x4a1)]==_0x32d8f9(0x17d)&&_0x440000(_0x59838b,_0xbd5bac,_0x3fd5b6[_0x32d8f9(0x4a1)])?_0x3fd5b6[_0x32d8f9(0x4a1)]:_0x59838b[_0x32d8f9(0x269)],_0x302bc8=typeof _0x3fd5b6[_0x32d8f9(0x469)]==_0x32d8f9(0x17d)?_0x3fd5b6[_0x32d8f9(0x469)]:'',_0x3419e4=typeof _0x3fd5b6[_0x32d8f9(0x1f2)]==_0x32d8f9(0x17d)?_0x3fd5b6[_0x32d8f9(0x1f2)]:_0x302bc8,_0x412709=new Set([_0x559713,_0x302bc8,_0x3419e4][_0x32d8f9(0x2ee)](_0x11faf0=>_0x11faf0&&_0x440000(_0x59838b,_0xbd5bac,_0x11faf0))),_0xfc29ac=Object[_0x32d8f9(0x2cc)](_0x321f74[_0x32d8f9(0x3d1)](_0x59bdb5=>_0x412709[_0x32d8f9(0x336)](_0x59bdb5)||!_0x440000(_0x59838b,_0xbd5bac,_0x59bdb5)?[]:[[_0x59bdb5,{'hidden':!0x0}]]));return{..._0x5b79f6,'config':{..._0x3fd5b6,'titleFieldId':_0x559713},'fieldSettings':_0xfc29ac};}function _0x440000(_0x214a83,_0x50e1b0,_0x53cc96){const _0xd9dc9d=_0x565318;return!!(_0x214a83[_0xd9dc9d(0x375)][_0x53cc96]??_0x50e1b0[_0xd9dc9d(0x3f5)](_0x1207bb=>_0x1207bb['id']===_0x53cc96))&&!0x0;}function _0x5de12f(_0x4870cc,_0x408b3a){const _0x313c53=_0x565318;let _0x3b303c=_0x408b3a?_0x4870cc[_0x313c53(0x375)][_0x408b3a]:null;return!!_0x3b303c&&_0x3b303c[_0x313c53(0x1dd)]===_0x4dff15[_0x313c53(0x352)][_0x313c53(0x18d)]&&_0x3b303c[_0x313c53(0x24a)]!==!0x0&&_0x3b303c[_0x313c53(0x263)]!==!0x0;}function _0x20e523(_0x4a8452,_0x55daf1,_0x350ff1){const _0x39f84f=_0x565318;let _0x28adc9=new Set([...Object['keys'](_0x4a8452[_0x39f84f(0x375)]),..._0x55daf1[_0x39f84f(0x2e7)](_0x396c86=>_0x396c86['id'])]),_0x3e0371=_0x39f84f(0x4e5)+(0x0,_0x4dff15[_0x39f84f(0x340)])(0x8);for(;_0x28adc9['has'](_0x3e0371);)_0x3e0371=_0x39f84f(0x4e5)+(0x0,_0x4dff15[_0x39f84f(0x340)])(0x8);return{'id':_0x3e0371,'name':_0xfd1783(_0x4a8452,_0x350ff1,_0x55daf1),'type':_0x4dff15['BaseFieldType'][_0x39f84f(0x18d)],'config':{..._0x393dc2}};}let _0x2df3a2={'id':_0x565318(0x408),'type':_0x4dff15[_0x565318(0x38d)]['COMMAND'],'handler':(_0x2137a3,_0x24caa2)=>{const _0x3736c2=_0x565318;if(!_0x24caa2)return!0x1;let _0x7bf33e=_0x2137a3[_0x3736c2(0x2fe)](_0x4dff15[_0x3736c2(0x497)]),{unitId:_0x107dd5,tableId:_0x3439c6,view:_0x2eeef7,index:_0x36b362}=_0x24caa2,_0xf6fa56=_0x7bf33e['getUnit'](_0x107dd5,_0x4dff15[_0x3736c2(0x125)]['UNIVER_BASE']);if(!_0xf6fa56||!_0xc4bf78(_0xf6fa56,_0x3439c6)||_0xf6fa56[_0x3736c2(0x166)]()[_0x3736c2(0x257)][_0x3439c6][_0x3736c2(0x353)][_0x2eeef7['id']])return!0x1;let _0x31c7b7=_0x2137a3['get'](_0x4dff15[_0x3736c2(0x44b)]),_0x4a2439=_0x2137a3[_0x3736c2(0x2fe)](_0x4dff15[_0x3736c2(0x1a3)]),_0x3d8b79=_0xf6fa56[_0x3736c2(0x166)](),_0x4ca1e1=_0xe1448f(_0x3d8b79,_0x3439c6,_0x2eeef7,_0x36b362),_0x3c6e1d=new _0x4ddc63()[_0x3736c2(0x4f9)](_0x3d8b79,_0x4ca1e1),_0x3408dc={'historyAction':_0x3736c2(0x237),'unitId':_0x107dd5,'op':_0x4ca1e1,'viewType':_0x2eeef7['type']},_0x434712={'historyAction':_0x3736c2(0x13e),'unitId':_0x107dd5,'op':_0x3c6e1d,'viewType':_0x2eeef7['type']};return _0x31c7b7[_0x3736c2(0x3cb)](_0x4f6ebe['id'],_0x3408dc)?(_0x7bf33e[_0x3736c2(0x2d0)](_0x107dd5),_0x4a2439[_0x3736c2(0x1a2)]({'unitID':_0x107dd5,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x434712}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x3408dc}]}),!0x0):!0x1;}},_0x1dd7bf={'id':_0x565318(0x3c6),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0xdd26d9,_0x3578d6){const _0x158acb=_0x565318;if(!_0x3578d6)return!0x1;let _0x1655d0=_0xdd26d9['get'](_0x4dff15[_0x158acb(0x497)]),{unitId:_0x295cf3,tableId:_0xa4b27a,fieldId:_0x4e9c5f}=_0x3578d6,_0x61bad0=_0x1655d0[_0x158acb(0x21d)](_0x295cf3,_0x4dff15[_0x158acb(0x125)][_0x158acb(0x4fb)]);if(!_0x61bad0)return!0x1;let _0x508275=_0x61bad0[_0x158acb(0x166)](),_0x3b1955=_0x508275[_0x158acb(0x257)][_0xa4b27a];if(!_0xc4bf78(_0x61bad0,_0xa4b27a,{'fieldIds':[_0x4e9c5f]})||_0x3b1955[_0x158acb(0x269)]===_0x4e9c5f||_0x4e9c5f===_0x4dff15[_0x158acb(0x432)])return!0x1;let _0xf5cd20=_0xdd26d9[_0x158acb(0x2fe)](_0x4dff15[_0x158acb(0x44b)]),_0x3887a7=_0xdd26d9[_0x158acb(0x2fe)](_0x4dff15[_0x158acb(0x1a3)]),_0x47669f=new _0x11b56b()[_0x158acb(0x3f0)](_0x508275,_0xa4b27a,_0x4e9c5f),_0x2fc2d1=new _0x4ddc63()[_0x158acb(0x4f9)](_0x508275,_0x47669f),_0x13ef71={'unitId':_0x295cf3,'op':_0x47669f},_0x4ac116={'unitId':_0x295cf3,'op':_0x2fc2d1};return _0xf5cd20[_0x158acb(0x3cb)](_0x4f6ebe['id'],_0x13ef71)?(_0x1655d0[_0x158acb(0x2d0)](_0x295cf3),_0x3887a7[_0x158acb(0x1a2)]({'unitID':_0x295cf3,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x4ac116}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x13ef71}]}),!0x0):!0x1;}},_0x284316={'id':_0x565318(0x1a8),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x4ebf49,_0x179353)=>{const _0x1c49a5=_0x565318;if(!_0x179353)return!0x1;let _0x93163b=_0x4ebf49[_0x1c49a5(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0x1cafa2,tableId:_0x4066f0,recordId:_0xdf4697}=_0x179353,_0x2a6f3f=_0x93163b[_0x1c49a5(0x21d)](_0x1cafa2,_0x4dff15[_0x1c49a5(0x125)]['UNIVER_BASE']);if(!_0x2a6f3f||!_0xc4bf78(_0x2a6f3f,_0x4066f0,{'recordIds':[_0xdf4697]}))return!0x1;let _0x2be3ae=_0x4ebf49[_0x1c49a5(0x2fe)](_0x4dff15['ICommandService']),_0x5867b3=_0x4ebf49[_0x1c49a5(0x2fe)](_0x4dff15[_0x1c49a5(0x1a3)]),_0x13fcef=_0x2a6f3f[_0x1c49a5(0x166)](),_0x1c3046=_0x54ab3d(_0x13fcef[_0x1c49a5(0x257)][_0x4066f0],[_0xdf4697]),_0x1e9f86=new _0x11b56b(),_0x326faa=new _0x4ddc63(),_0x46747c=_0x1e9f86[_0x1c49a5(0x25b)](_0x13fcef,_0x4066f0,_0xdf4697),_0x564f66=_0x326faa[_0x1c49a5(0x22f)](_0x13fcef,_0x46747c),_0x4324a0=_0x1e9f86[_0x1c49a5(0x50b)](_0x13fcef,_0x564f66,_0x4066f0,[_0xdf4697]),_0x22ed00={'unitId':_0x1cafa2,'op':_0x46747c,'hierarchyChanges':_0x1c3046,'source':_0x179353[_0x1c49a5(0x126)]??'ui'},_0x33064a={..._0x22ed00,'source':'redo'},_0x32954c={'unitId':_0x1cafa2,'op':_0x4324a0,'hierarchyChanges':_0x1c3046[_0x1c49a5(0x2e7)](_0x2a13b0=>({..._0x2a13b0,'oldParentRecordId':_0x2a13b0[_0x1c49a5(0x11d)],'parentRecordId':_0x2a13b0[_0x1c49a5(0x1fe)]})),'source':_0x1c49a5(0x2b3)};return _0x2be3ae[_0x1c49a5(0x3cb)](_0x4f6ebe['id'],_0x22ed00)?(_0x93163b[_0x1c49a5(0x2d0)](_0x1cafa2),_0x5867b3[_0x1c49a5(0x1a2)]({'unitID':_0x1cafa2,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x32954c}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x33064a}]}),!0x0):!0x1;}},_0x5cc258={'id':_0x565318(0x34f),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x16b1f9,_0x32a03f)=>{const _0xf2ffca=_0x565318;if(!_0x32a03f)return!0x1;let _0x1597c1=_0x16b1f9[_0xf2ffca(0x2fe)](_0x4dff15[_0xf2ffca(0x497)]),{unitId:_0x537a39,tableId:_0x12b951}=_0x32a03f,_0x51f76b=_0x1597c1[_0xf2ffca(0x21d)](_0x537a39,_0x4dff15[_0xf2ffca(0x125)][_0xf2ffca(0x4fb)]);if(!_0x51f76b||!_0xc4bf78(_0x51f76b,_0x12b951))return!0x1;let _0x55c81f=_0x16b1f9[_0xf2ffca(0x2fe)](_0x4dff15[_0xf2ffca(0x44b)]),_0x19fa39=_0x16b1f9['get'](_0x4dff15[_0xf2ffca(0x1a3)]),_0x26b19b=_0x51f76b[_0xf2ffca(0x166)](),_0x4fb774=_0x5efd64(_0x26b19b,_0x12b951);if(_0x4fb774['length']>0x0)return console['error'](_0xf2ffca(0x3eb)+_0x12b951+_0xf2ffca(0x4f8)+_0x4fb774[_0xf2ffca(0x2e7)](_0x2a0025=>_0x2a0025[_0xf2ffca(0x222)]+'.'+_0x2a0025[_0xf2ffca(0x351)])['join'](',\x20')+'.'),!0x1;let _0x59e9af=new _0x11b56b()[_0xf2ffca(0x392)](_0x26b19b,_0x12b951),_0x202a98=new _0x4ddc63()['invertOp'](_0x26b19b,_0x59e9af),_0xc601a3={'unitId':_0x537a39,'op':_0x59e9af},_0x530ddd={'unitId':_0x537a39,'op':_0x202a98};return _0x55c81f[_0xf2ffca(0x3cb)](_0x4f6ebe['id'],_0xc601a3)?(_0x1597c1[_0xf2ffca(0x2d0)](_0x537a39),_0x19fa39['pushUndoRedo']({'unitID':_0x537a39,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x530ddd}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0xc601a3}]}),!0x0):!0x1;}},_0x13f593={'id':_0x565318(0x4bf),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x1a2501,_0x31b6a5)=>{const _0x3f6445=_0x565318;if(!_0x31b6a5)return!0x1;let _0x57e27e=_0x1a2501[_0x3f6445(0x2fe)](_0x4dff15[_0x3f6445(0x497)]),{unitId:_0x4fcb88,tableId:_0xbb146,viewId:_0x4abaea}=_0x31b6a5,_0x2e9cee=_0x57e27e[_0x3f6445(0x21d)](_0x4fcb88,_0x4dff15[_0x3f6445(0x125)]['UNIVER_BASE']);if(!_0x2e9cee||!_0xc4bf78(_0x2e9cee,_0xbb146,{'viewIds':[_0x4abaea]}))return!0x1;let _0x50d84c=_0x1a2501[_0x3f6445(0x2fe)](_0x4dff15[_0x3f6445(0x44b)]),_0x217984=_0x1a2501[_0x3f6445(0x2fe)](_0x4dff15['IUndoRedoService']),_0x498252=_0x2e9cee['getSnapshot'](),_0x52a123=_0x498252[_0x3f6445(0x257)][_0xbb146][_0x3f6445(0x353)][_0x4abaea][_0x3f6445(0x1dd)],_0x1f66ff=new _0x11b56b()[_0x3f6445(0x1ec)](_0x498252,_0xbb146,_0x4abaea),_0x2f03ef=new _0x4ddc63()[_0x3f6445(0x4f9)](_0x498252,_0x1f66ff),_0x1aeda2={'historyAction':_0x3f6445(0x13e),'unitId':_0x4fcb88,'op':_0x1f66ff,'viewType':_0x52a123},_0x47361d={'historyAction':'create-view','unitId':_0x4fcb88,'op':_0x2f03ef,'viewType':_0x52a123};return _0x50d84c['syncExecuteCommand'](_0x4f6ebe['id'],_0x1aeda2)?(_0x57e27e['focusUnit'](_0x4fcb88),_0x217984['pushUndoRedo']({'unitID':_0x4fcb88,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x47361d}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1aeda2}]}),!0x0):!0x1;}},_0x6bc752={'id':_0x565318(0x1c1),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x521e37,_0x2c0142)=>{const _0x508704=_0x565318;if(!_0x2c0142)return!0x1;let _0x4f4c6a=_0x521e37[_0x508704(0x2fe)](_0x4dff15[_0x508704(0x497)]),{unitId:_0x563e22,tableId:_0x3bf834,sourceFieldId:_0x17e2b7,field:_0x162f3a,index:_0x45c487,viewIndexes:_0x2fd404}=_0x2c0142,_0x393313=_0x4f4c6a[_0x508704(0x21d)](_0x563e22,_0x4dff15['UniverInstanceType'][_0x508704(0x4fb)]);if(!_0x393313||!_0xc4bf78(_0x393313,_0x3bf834,{'fieldIds':[_0x17e2b7]})||_0x17e2b7===_0x4dff15[_0x508704(0x432)]||_0x393313[_0x508704(0x166)]()[_0x508704(0x257)][_0x3bf834][_0x508704(0x375)][_0x162f3a['id']]||_0x45c487===0x0||!_0x2edb07(_0x393313,_0x3bf834,_0x162f3a))return!0x1;let _0x8c9fd2=_0x521e37[_0x508704(0x2fe)](_0x4dff15[_0x508704(0x44b)]),_0x6f5e33=_0x521e37[_0x508704(0x2fe)](_0x4dff15[_0x508704(0x1a3)]),_0xe87dc2=_0x393313['getSnapshot'](),_0x3925d6=new _0x11b56b()['duplicateField'](_0xe87dc2,_0x3bf834,_0x17e2b7,{'field':_0x162f3a,'index':_0x45c487,'viewIndexes':_0x2fd404}),_0x4af7c3=new _0x4ddc63()[_0x508704(0x4f9)](_0xe87dc2,_0x3925d6),_0x24d8cd={'unitId':_0x563e22,'op':_0x3925d6},_0x106a0e={'unitId':_0x563e22,'op':_0x4af7c3};return _0x8c9fd2[_0x508704(0x3cb)](_0x4f6ebe['id'],_0x24d8cd)?(_0x4f4c6a['focusUnit'](_0x563e22),_0x6f5e33[_0x508704(0x1a2)]({'unitID':_0x563e22,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x106a0e}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x24d8cd}]}),!0x0):!0x1;}},_0x410f5d={'id':_0x565318(0x393),'type':_0x4dff15['CommandType']['COMMAND'],'handler':(_0x538ba4,_0x12a2df)=>{const _0x568685=_0x565318;if(!_0x12a2df)return!0x1;let _0x1a25f9=_0x538ba4[_0x568685(0x2fe)](_0x4dff15[_0x568685(0x497)]),{unitId:_0x574c68,tableId:_0x3ff71a,sourceRecordId:_0xc0239b,record:_0x3ba949}=_0x12a2df,_0x583ee2=_0x1a25f9['getUnit'](_0x574c68,_0x4dff15[_0x568685(0x125)][_0x568685(0x4fb)]);if(!_0x583ee2||!_0xc4bf78(_0x583ee2,_0x3ff71a,{'recordIds':[_0xc0239b]})||!_0x5aa24a(_0x583ee2,_0x3ff71a,_0x3ba949))return!0x1;let _0x5a3a95=_0x538ba4[_0x568685(0x2fe)](_0x4dff15[_0x568685(0x44b)]),_0x4160da=_0x538ba4[_0x568685(0x2fe)](_0x4dff15['IUndoRedoService']),_0x3cf4d2=_0x583ee2['getSnapshot'](),_0x11366f=_0x227b88(_0x3ba949),_0x5e4118=_0x2d68df(_0x3cf4d2[_0x568685(0x257)][_0x3ff71a],[_0x11366f]),_0x491c57=new _0x11b56b()[_0x568685(0x4f0)](_0x3cf4d2,_0x3ff71a,_0xc0239b,_0x11366f),_0x319730=new _0x4ddc63()[_0x568685(0x4f9)](_0x3cf4d2,_0x491c57),_0x16423b={'unitId':_0x574c68,'op':_0x491c57,'hierarchyChanges':_0x5e4118[_0x568685(0xac)]?_0x5e4118:void 0x0,'source':_0x5e4118[_0x568685(0xac)]?_0x12a2df['source']??'ui':void 0x0},_0x45bfe8={..._0x16423b,'source':_0x5e4118[_0x568685(0xac)]?'redo':void 0x0},_0xd681da={'unitId':_0x574c68,'op':_0x319730,'hierarchyChanges':_0x5e4118[_0x568685(0xac)]?_0x5e4118[_0x568685(0x2e7)](_0x814159=>({..._0x814159,'oldParentRecordId':_0x814159[_0x568685(0x11d)],'parentRecordId':null})):void 0x0,'source':_0x5e4118['length']?_0x568685(0x2b3):void 0x0};return _0x5a3a95[_0x568685(0x3cb)](_0x4f6ebe['id'],_0x16423b)?(_0x1a25f9[_0x568685(0x2d0)](_0x574c68),_0x4160da['pushUndoRedo']({'unitID':_0x574c68,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0xd681da}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x45bfe8}]}),!0x0):!0x1;}},_0x89a708={'id':_0x565318(0xd9),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x4ed93e,_0x5022a0){const _0x16e904=_0x565318;if(!_0x5022a0)return!0x1;let _0x57dd2a=_0x4ed93e[_0x16e904(0x2fe)](_0x4dff15[_0x16e904(0x497)]),{unitId:_0x11eabd,tableId:_0x2cc4fc,viewId:_0x354021,ensureEndDateField:_0x58978d}=_0x5022a0,_0x7359c2=_0x57dd2a[_0x16e904(0x21d)](_0x11eabd,_0x4dff15[_0x16e904(0x125)][_0x16e904(0x4fb)]);if(!_0x7359c2||!_0xc4bf78(_0x7359c2,_0x2cc4fc,{'viewIds':[_0x354021]}))return!0x1;let _0xc92574=_0x7359c2['getSnapshot'](),_0x4a96dd=_0xc92574[_0x16e904(0x257)][_0x2cc4fc],_0x25e336=_0x4a96dd==null?void 0x0:_0x4a96dd[_0x16e904(0x353)][_0x354021];if(!_0x4a96dd||!_0x25e336||_0x25e336[_0x16e904(0x1dd)]!==_0x16e904(0x452)&&_0x25e336['type']!==_0x16e904(0x3df))return!0x1;let _0x13531c=_0x1651e4(_0x4a96dd,_0x25e336,_0x58978d===!0x0);if(!_0x13531c['changed'])return!0x1;let _0x2efb7a=_0x4ed93e['get'](_0x4dff15[_0x16e904(0x44b)]),_0x19f5bb=_0x4ed93e[_0x16e904(0x2fe)](_0x4dff15[_0x16e904(0x1a3)]),_0x3756b5=new _0x11b56b(),_0x2b8d53=[..._0x13531c[_0x16e904(0x375)][_0x16e904(0x2e7)](_0x18d57e=>_0x3756b5[_0x16e904(0x3c0)](_0xc92574,_0x5022a0[_0x16e904(0x222)],{'field':_0x18d57e})),_0x5131dd([..._0x78e208(_0x5022a0[_0x16e904(0x222)],_0x5022a0[_0x16e904(0x49b)]),_0x16e904(0x2c6)],_0x25e336[_0x16e904(0x2c6)],_0x13531c[_0x16e904(0x2c6)])];_0x13531c['fieldOrder']&&_0x2b8d53[_0x16e904(0xfb)](_0x5131dd([..._0x78e208(_0x5022a0[_0x16e904(0x222)],_0x5022a0[_0x16e904(0x49b)]),_0x16e904(0x2c3)],_0x25e336[_0x16e904(0x2c3)],_0x13531c[_0x16e904(0x2c3)]));let _0x521ac0=_0xbcd9ca(_0x2b8d53),_0x397384=new _0x4ddc63()['invertOp'](_0xc92574,_0x521ac0),_0x341739={'unitId':_0x11eabd,'op':_0x521ac0},_0x17f1e5={'unitId':_0x11eabd,'op':_0x397384};return _0x2efb7a[_0x16e904(0x3cb)](_0x4f6ebe['id'],_0x341739)?(_0x57dd2a[_0x16e904(0x2d0)](_0x11eabd),_0x19f5bb[_0x16e904(0x1a2)]({'unitID':_0x11eabd,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x17f1e5}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x341739}]}),!0x0):!0x1;}};function _0x5131dd(_0x549518,_0xc53dab,_0x287e09){const _0x5b0aa4=_0x565318;return _0xc53dab===void 0x0?_0x4dff15[_0x5b0aa4(0x444)][_0x5b0aa4(0x369)](_0x549518,_0x287e09):_0x4dff15[_0x5b0aa4(0x444)][_0x5b0aa4(0x302)](_0x549518,_0xc53dab,_0x287e09);}function _0x78e208(_0x4f30b0,_0x2e6f5f){const _0x21a7b7=_0x565318;return['tables',_0x4f30b0,_0x21a7b7(0x353),_0x2e6f5f];}let _0x5a218e={'id':_0x565318(0x264),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x49b80f,_0x4fd3fa)=>{const _0x1259a6=_0x565318;if(!_0x4fd3fa)return!0x1;let _0x1902f3=_0x49b80f[_0x1259a6(0x2fe)](_0x4dff15[_0x1259a6(0x497)]),{unitId:_0x3170c1,tableId:_0x34403b,fieldId:_0x5efd71,target:_0xea9f77}=_0x4fd3fa,_0x4b4094=_0x1902f3[_0x1259a6(0x21d)](_0x3170c1,_0x4dff15['UniverInstanceType'][_0x1259a6(0x4fb)]),_0x26a62d=_0xea9f77['beforeFieldId']??_0xea9f77[_0x1259a6(0xc3)];if(!_0x4b4094||!!_0xea9f77[_0x1259a6(0x1e9)]==!!_0xea9f77[_0x1259a6(0xc3)]||!_0x26a62d||_0x26a62d===_0x5efd71||_0x5efd71===_0x4dff15[_0x1259a6(0x432)]||_0xea9f77['beforeFieldId']===_0x4dff15[_0x1259a6(0x432)]||!_0xc4bf78(_0x4b4094,_0x34403b,{'fieldIds':[_0x5efd71,_0x26a62d]}))return!0x1;let _0x1058c9=_0x49b80f[_0x1259a6(0x2fe)](_0x4dff15[_0x1259a6(0x44b)]),_0x13da98=_0x49b80f[_0x1259a6(0x2fe)](_0x4dff15['IUndoRedoService']),_0x44a02b=_0x4b4094[_0x1259a6(0x166)](),_0x8d8e4c=new _0x11b56b()['moveField'](_0x44a02b,_0x34403b,_0x5efd71,_0xea9f77),_0x1a91a5=new _0x4ddc63()['invertOp'](_0x44a02b,_0x8d8e4c),_0x3aa93b={'unitId':_0x3170c1,'op':_0x8d8e4c},_0x3268f2={'unitId':_0x3170c1,'op':_0x1a91a5};return _0x1058c9[_0x1259a6(0x3cb)](_0x4f6ebe['id'],_0x3aa93b)?(_0x1902f3['focusUnit'](_0x3170c1),_0x13da98[_0x1259a6(0x1a2)]({'unitID':_0x3170c1,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x3268f2}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x3aa93b}]}),!0x0):!0x1;}},_0x36bd99={'id':_0x565318(0x34a),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x16de06,_0x23e86d)=>{const _0x1e4bf7=_0x565318;var _0x41f2c2;if(!_0x23e86d)return!0x1;let {unitId:_0x46ec69,tableId:_0xb7782e,recordId:_0x3fd805,parentRecordId:_0x29ab42,orderKey:_0x51c05c}=_0x23e86d,_0x5997df=_0x16de06[_0x1e4bf7(0x2fe)](_0x4dff15[_0x1e4bf7(0x497)]),_0x201f8f=_0x5997df[_0x1e4bf7(0x21d)](_0x46ec69,_0x4dff15[_0x1e4bf7(0x125)][_0x1e4bf7(0x4fb)]);if(!_0x201f8f||!_0xc4bf78(_0x201f8f,_0xb7782e,{'recordIds':[_0x3fd805,..._0x29ab42?[_0x29ab42]:[]]}))throw new _0x345a4a(_0x1e4bf7(0x1ed));let _0x47b0bd=_0x201f8f[_0x1e4bf7(0x166)](),_0x44484e=_0x47b0bd[_0x1e4bf7(0x257)][_0xb7782e],_0x6c3fd7=_0x5d6b7d(_0x44484e),_0x5b9911=_0x6c3fd7??_0x23e86d[_0x1e4bf7(0x351)]??_0xe59662(_0x44484e);if(_0x6c3fd7&&_0x23e86d[_0x1e4bf7(0x351)]&&_0x23e86d[_0x1e4bf7(0x351)]!==_0x6c3fd7||_0x44484e[_0x1e4bf7(0x375)][_0x5b9911]&&!_0x48ed14(_0x44484e,_0x5b9911))throw new _0x345a4a(_0x1e4bf7(0x324));let _0x369dfa=_0x3b7781(_0x44484e,_0x5b9911),_0x592e62=_0x4360b8(_0x369dfa,_0x3fd805,_0x29ab42);if(!_0x592e62[_0x1e4bf7(0x31a)])throw new _0x345a4a(_0x592e62['reason']===_0x4dff15[_0x1e4bf7(0x2fc)][_0x1e4bf7(0x14a)]?_0x1e4bf7(0x2d4):_0x592e62[_0x1e4bf7(0x22d)]===_0x4dff15[_0x1e4bf7(0x2fc)]['Cycle']?'cycle':_0x1e4bf7(0x36b));let _0x50486f=_0x369dfa['parentByRecordId'][_0x1e4bf7(0x2fe)](_0x3fd805)??null,_0x3e219d=_0x44484e[_0x1e4bf7(0x17e)][_0x3fd805][_0x1e4bf7(0x2f6)];if(_0x50486f===_0x29ab42&&(_0x51c05c===void 0x0||_0x51c05c===_0x3e219d))return!0x0;let _0x517222=_0x50486f!==_0x29ab42,_0x33d83d=_0x51c05c!==void 0x0&&_0x51c05c!==_0x3e219d,_0x4cddb5=new _0x11b56b(),_0x48ba3a=[],_0x2cc023=_0x44484e[_0x1e4bf7(0x375)][_0x5b9911],_0xb8694e=_0x517222&&(!_0x2cc023||((_0x41f2c2=_0x3503a1(_0x2cc023))==null?void 0x0:_0x41f2c2[_0x1e4bf7(0xc5)])!==_0x4dff15[_0x1e4bf7(0x1ad)]['Parent'])?_0x2cc023?_0x4cddb5[_0x1e4bf7(0x4d3)](_0x47b0bd,_0xb7782e,_0x5b9911,{'config':{..._0x2cc023['config'],'relationRole':_0x4dff15[_0x1e4bf7(0x1ad)][_0x1e4bf7(0x48c)]}}):_0x16de06[_0x1e4bf7(0x2fe)](_0x2a6ad5)[_0x1e4bf7(0x4fc)](_0x201f8f,_0xb7782e,_0xd92ee0(_0x44484e,_0x5b9911,_0x23e86d['parentFieldName']),_0x44484e['fieldOrder'][_0x1e4bf7(0xac)]):null;_0xb8694e&&_0x48ba3a['push'](_0xb8694e),_0x517222&&_0x48ba3a['push'](_0x4cddb5[_0x1e4bf7(0x2af)](_0x47b0bd,_0xb7782e,_0x3fd805,_0x5b9911,_0x29ab42?_0x1cb0b2([_0x29ab42]):'')),_0x33d83d&&_0x48ba3a['push'](_0x4cddb5[_0x1e4bf7(0x28d)](_0x47b0bd,_0xb7782e,_0x3fd805,_0x51c05c));let _0x1358e3=_0xbcd9ca(_0x48ba3a),_0x52daa0={'tableId':_0xb7782e,'fieldId':_0x5b9911,'recordId':_0x3fd805,'oldParentRecordId':_0x50486f,'parentRecordId':_0x29ab42},_0x296464={'unitId':_0x46ec69,'op':_0x1358e3,'trigger':_0x36bd99['id'],'hierarchyChanges':[_0x52daa0],'source':_0x23e86d['source']??'ui'},_0x5cecd4={..._0x296464,'source':_0x1e4bf7(0x1e2)};if(!_0x16de06[_0x1e4bf7(0x2fe)](_0x4dff15[_0x1e4bf7(0x44b)])[_0x1e4bf7(0x3cb)](_0x4f6ebe['id'],_0x296464))return!0x1;let _0x5ebc97=_0x201f8f[_0x1e4bf7(0x166)](),_0x5c1a0e=[];_0x517222&&_0x5c1a0e[_0x1e4bf7(0xfb)](_0x5c47d9(_0x5ebc97,_0x47b0bd,_0xb7782e,_0x3fd805,_0x5b9911)),_0x33d83d&&_0x5c1a0e[_0x1e4bf7(0xfb)](_0x7dd6f3(_0x5ebc97,_0x47b0bd,_0xb7782e,_0x3fd805)),_0xb8694e&&_0x5c1a0e[_0x1e4bf7(0xfb)](new _0x4ddc63()[_0x1e4bf7(0x4f9)](_0x47b0bd,_0xb8694e));let _0x514f0e={'unitId':_0x46ec69,'op':_0xbcd9ca(_0x5c1a0e),'trigger':_0x36bd99['id'],'hierarchyChanges':[{..._0x52daa0,'oldParentRecordId':_0x29ab42,'parentRecordId':_0x50486f}],'source':'undo'};return _0x5997df['focusUnit'](_0x46ec69),_0x16de06['get'](_0x4dff15[_0x1e4bf7(0x1a3)])[_0x1e4bf7(0x1a2)]({'unitID':_0x46ec69,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x514f0e}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5cecd4}]}),!0x0;}};function _0x5c47d9(_0x4235ba,_0x273fce,_0xf2421c,_0x426a5f,_0x19d1cb){const _0x58f06e=_0x565318;var _0x8e84f0,_0x39d817,_0x351d19,_0x3ce5d3,_0x34952d,_0x144925,_0x4e5662,_0x397786;let _0xf96147=_0x4235ba[_0x58f06e(0x257)][_0xf2421c],_0xd25898=_0x273fce['tables'][_0xf2421c],_0x506006=(_0x8e84f0=_0xf96147[_0x58f06e(0x1d4)])==null?void 0x0:_0x8e84f0[_0x426a5f],_0x3a2574=(_0x39d817=_0xf96147[_0x58f06e(0x2e0)])==null?void 0x0:_0x39d817[_0x19d1cb],_0x4d7b2e=(_0x351d19=_0xd25898[_0x58f06e(0x1d4)])==null?void 0x0:_0x351d19[_0x426a5f],_0x3d500b=(_0x3ce5d3=_0xd25898[_0x58f06e(0x2e0)])==null?void 0x0:_0x3ce5d3[_0x19d1cb],_0x1fd3f7=_0x506006==null||_0x3a2574==null||(_0x34952d=_0xf96147[_0x58f06e(0x1a0)])==null||(_0x34952d=_0x34952d[_0x506006])==null?void 0x0:_0x34952d[_0x3a2574],_0x45c2bc=_0x4d7b2e==null||_0x3d500b==null||(_0x144925=_0xd25898[_0x58f06e(0x1a0)])==null||(_0x144925=_0x144925[_0x4d7b2e])==null?void 0x0:_0x144925[_0x3d500b],_0x427f14=(_0x4e5662=_0xf96147[_0x58f06e(0x17e)][_0x426a5f])==null?void 0x0:_0x4e5662['values'][_0x19d1cb],_0xaa404d=(_0x397786=_0xd25898[_0x58f06e(0x17e)][_0x426a5f])==null?void 0x0:_0x397786['values'][_0x19d1cb],_0x413fcc=[],_0x16c38b=_0x598f6c(_0x506006==null||_0x3a2574==null?null:_0x142758[_0x58f06e(0x1a0)](_0xf2421c,_0x506006,_0x3a2574),_0x1fd3f7,_0x45c2bc);_0x16c38b&&_0x413fcc['push'](_0x16c38b);let _0xf4a3ac=_0x598f6c(_0x142758[_0x58f06e(0x381)](_0xf2421c,_0x426a5f,_0x19d1cb),_0x427f14,_0xaa404d);return _0xf4a3ac&&_0x413fcc['push'](_0xf4a3ac),_0xbcd9ca(_0x413fcc);}function _0x7dd6f3(_0x420b8e,_0x2a45b6,_0x387159,_0x1fdbfd){const _0x319834=_0x565318;var _0x1fdf88,_0x404445;let _0x1a9cf3=_0x420b8e['tables'][_0x387159],_0x21f86f=_0x2a45b6[_0x319834(0x257)][_0x387159];return _0xbcd9ca([_0x598f6c([..._0x142758[_0x319834(0x491)](_0x387159,_0x1fdbfd),'orderKey'],(_0x1fdf88=_0x1a9cf3['records'][_0x1fdbfd])==null?void 0x0:_0x1fdf88[_0x319834(0x2f6)],(_0x404445=_0x21f86f[_0x319834(0x17e)][_0x1fdbfd])==null?void 0x0:_0x404445[_0x319834(0x2f6)]),_0x598f6c([..._0x142758['table'](_0x387159),_0x319834(0x135)],_0x1a9cf3[_0x319834(0x135)],_0x21f86f['recordOrder'])][_0x319834(0x2ee)](_0x17cde8=>!!_0x17cde8));}function _0x598f6c(_0x33a883,_0x3f2e94,_0xf34340){const _0x2ad449=_0x565318;if(!_0x33a883||_0x3f2e94===void 0x0&&_0xf34340===void 0x0)return null;let _0x37cb62=_0x4dff15[_0x2ad449(0x3ce)][_0x2ad449(0x425)]();return _0xf34340===void 0x0?_0x37cb62[_0x2ad449(0x327)](_0x33a883,_0x3f2e94):_0x3f2e94===void 0x0?_0x37cb62[_0x2ad449(0x369)](_0x33a883,_0xf34340):_0x37cb62[_0x2ad449(0x302)](_0x33a883,_0x3f2e94,_0xf34340);}let _0x2ef155={'id':_0x565318(0x2a7),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x493266,_0x383277)=>{const _0xf367c5=_0x565318;if(!_0x383277)return!0x1;let _0x4d9485=_0x493266[_0xf367c5(0x2fe)](_0x4dff15[_0xf367c5(0x497)]),{unitId:_0x427c82,tableId:_0x38fdb2,viewId:_0x595344,target:_0x447740}=_0x383277,_0x321788=_0x4d9485[_0xf367c5(0x21d)](_0x427c82,_0x4dff15[_0xf367c5(0x125)][_0xf367c5(0x4fb)]),_0x30e86f=_0x447740[_0xf367c5(0x360)]??_0x447740[_0xf367c5(0x213)];if(!_0x321788||!_0x30e86f||_0x30e86f===_0x595344||!_0xc4bf78(_0x321788,_0x38fdb2,{'viewIds':[_0x595344,_0x30e86f]}))return!0x1;let _0x579092=_0x493266[_0xf367c5(0x2fe)](_0x4dff15[_0xf367c5(0x44b)]),_0x23902a=_0x493266[_0xf367c5(0x2fe)](_0x4dff15['IUndoRedoService']),_0x166a66=_0x321788[_0xf367c5(0x166)](),_0x50bee9=new _0x11b56b()[_0xf367c5(0x44e)](_0x166a66,_0x38fdb2,_0x595344,_0x447740),_0x4caa52=new _0x4ddc63()['invertOp'](_0x166a66,_0x50bee9),_0x1889a0={'unitId':_0x427c82,'op':_0x50bee9},_0x2e8545={'unitId':_0x427c82,'op':_0x4caa52};return _0x579092[_0xf367c5(0x3cb)](_0x4f6ebe['id'],_0x1889a0)?(_0x4d9485['focusUnit'](_0x427c82),_0x23902a[_0xf367c5(0x1a2)]({'unitID':_0x427c82,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2e8545}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1889a0}]}),!0x0):!0x1;}},_0x3326b6={'id':_0x565318(0x22a),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x100e5c,_0x5eb28f)=>{const _0x308b75=_0x565318;if(!_0x5eb28f)return!0x1;let _0x548c0d=_0x100e5c[_0x308b75(0x2fe)](_0x4dff15[_0x308b75(0x497)]),{unitId:_0x25f8ac,tableId:_0x1aac25,name:_0x1b2853}=_0x5eb28f,_0x2d296d=_0x548c0d[_0x308b75(0x21d)](_0x25f8ac,_0x4dff15[_0x308b75(0x125)][_0x308b75(0x4fb)]);if(!_0x2d296d||!_0xc4bf78(_0x2d296d,_0x1aac25)||!_0x148c6f(_0x2d296d[_0x308b75(0x166)](),_0x1b2853,_0x1aac25)[_0x308b75(0x31a)])return!0x1;let _0x473f7d=_0x100e5c[_0x308b75(0x2fe)](_0x4dff15[_0x308b75(0x44b)]),_0x26c8c0=_0x100e5c[_0x308b75(0x2fe)](_0x4dff15['IUndoRedoService']),_0x51e8f4=_0x2d296d[_0x308b75(0x166)](),_0x22dd25=new _0x11b56b()['renameTable'](_0x51e8f4,_0x1aac25,_0x1b2853),_0x405f3a=new _0x4ddc63()['invertOp'](_0x51e8f4,_0x22dd25),_0x46e69c={'unitId':_0x25f8ac,'op':_0x22dd25},_0x2b5f1c={'unitId':_0x25f8ac,'op':_0x405f3a};return _0x473f7d[_0x308b75(0x3cb)](_0x4f6ebe['id'],_0x46e69c)?(_0x548c0d[_0x308b75(0x2d0)](_0x25f8ac),_0x26c8c0[_0x308b75(0x1a2)]({'unitID':_0x25f8ac,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2b5f1c}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x46e69c}]}),!0x0):!0x1;}},_0x5519ef={'id':'base.command.rename-base-view','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x282675,_0xdbc3e0)=>{const _0xa0fa52=_0x565318;if(!_0xdbc3e0)return!0x1;let _0x55b1c7=_0x282675['get'](_0x4dff15[_0xa0fa52(0x497)]),{unitId:_0xd4004d,tableId:_0x11c048,viewId:_0x268809,name:_0x158337}=_0xdbc3e0,_0x27f6e3=_0x55b1c7[_0xa0fa52(0x21d)](_0xd4004d,_0x4dff15[_0xa0fa52(0x125)][_0xa0fa52(0x4fb)]);if(!_0x27f6e3||!_0xc4bf78(_0x27f6e3,_0x11c048,{'viewIds':[_0x268809]}))return!0x1;let _0x363349=_0x282675[_0xa0fa52(0x2fe)](_0x4dff15[_0xa0fa52(0x44b)]),_0x1865b7=_0x282675[_0xa0fa52(0x2fe)](_0x4dff15[_0xa0fa52(0x1a3)]),_0x34f543=_0x27f6e3['getSnapshot'](),_0x44234e=new _0x11b56b()['renameView'](_0x34f543,_0x11c048,_0x268809,_0x158337),_0x2bf8a3=new _0x4ddc63()[_0xa0fa52(0x4f9)](_0x34f543,_0x44234e),_0x242928={'unitId':_0xd4004d,'op':_0x44234e},_0x5d2566={'unitId':_0xd4004d,'op':_0x2bf8a3};return _0x363349[_0xa0fa52(0x3cb)](_0x4f6ebe['id'],_0x242928)?(_0x55b1c7[_0xa0fa52(0x2d0)](_0xd4004d),_0x1865b7[_0xa0fa52(0x1a2)]({'unitID':_0xd4004d,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5d2566}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x242928}]}),!0x0):!0x1;}},_0xff1497={'id':'base.command.set-base-kanban-group-field','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x1dcac4,_0x24476c)=>{const _0x58ab74=_0x565318;if(!_0x24476c)return!0x1;let _0x58cb5c=_0x1dcac4['get'](_0x4dff15['IUniverInstanceService']),{unitId:_0x37d274,tableId:_0x240049,viewId:_0x3e1dcf,fieldId:_0x15676a}=_0x24476c,_0x3dd743=_0x58cb5c['getUnit'](_0x37d274,_0x4dff15['UniverInstanceType'][_0x58ab74(0x4fb)]);if(!_0x3dd743||!_0xc4bf78(_0x3dd743,_0x240049,{'viewIds':[_0x3e1dcf],'fieldIds':[_0x15676a]}))return!0x1;let _0x20ac89=_0x1dcac4['get'](_0x4dff15[_0x58ab74(0x44b)]),_0xc1532a=_0x1dcac4[_0x58ab74(0x2fe)](_0x4dff15[_0x58ab74(0x1a3)]),_0x5c2b0e=_0x3dd743[_0x58ab74(0x166)](),_0x9e514e=new _0x11b56b()[_0x58ab74(0x292)](_0x5c2b0e,_0x240049,_0x3e1dcf,{'groupFieldId':_0x15676a}),_0x4be904=new _0x4ddc63()['invertOp'](_0x5c2b0e,_0x9e514e),_0x5a8251={'unitId':_0x37d274,'op':_0x9e514e},_0x49772a={'unitId':_0x37d274,'op':_0x4be904};return _0x20ac89[_0x58ab74(0x3cb)](_0x4f6ebe['id'],_0x5a8251)?(_0x58cb5c['focusUnit'](_0x37d274),_0xc1532a[_0x58ab74(0x1a2)]({'unitID':_0x37d274,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x49772a}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5a8251}]}),!0x0):!0x1;}},_0x365c18={'id':_0x565318(0x4e9),'type':_0x4dff15['CommandType'][_0x565318(0x285)],'handler':(_0x19ec80,_0x180691)=>{const _0x9a19ba=_0x565318;if(!_0x180691)return!0x1;let _0x271e2f=_0x19ec80[_0x9a19ba(0x2fe)](_0x4dff15['IUniverInstanceService']),_0x15eed5=_0x271e2f[_0x9a19ba(0x21d)](_0x180691['unitId'],_0x4dff15['UniverInstanceType']['UNIVER_BASE']);if(!_0x15eed5)return!0x1;let _0x599ff8=_0x15eed5[_0x9a19ba(0x166)]()['name'];if(_0x599ff8===_0x180691[_0x9a19ba(0x177)])return!0x0;let _0x22b2c9=new _0x11b56b(),_0x593524=new _0x4ddc63(),_0x36dad5=[],_0x63c21e=[],_0x233158=[_0x15eed5,..._0x271e2f[_0x9a19ba(0x4e8)](_0x4dff15[_0x9a19ba(0x125)]['UNIVER_BASE'])[_0x9a19ba(0x2ee)](_0x1bc203=>_0x1bc203['getUnitId']()!==_0x180691[_0x9a19ba(0x1ca)])];for(let _0x5e7b3a of _0x233158){let _0x4dd751=_0x5e7b3a[_0x9a19ba(0x166)](),_0x1f9600=_0x5e7b3a===_0x15eed5?_0x22b2c9[_0x9a19ba(0x47a)](_0x4dd751,_0x180691[_0x9a19ba(0x177)]):_0x22b2c9[_0x9a19ba(0xb0)](_0x4dd751,_0x599ff8,_0x180691[_0x9a19ba(0x177)]);_0x1f9600&&(_0x36dad5[_0x9a19ba(0xfb)]({'id':_0x4f6ebe['id'],'params':{'unitId':_0x5e7b3a[_0x9a19ba(0x197)](),'op':_0x1f9600,'trigger':_0x365c18['id']}}),_0x63c21e[_0x9a19ba(0x2d1)]({'id':_0x4f6ebe['id'],'params':{'unitId':_0x5e7b3a['getUnitId'](),'op':_0x593524[_0x9a19ba(0x4f9)](_0x4dd751,_0x1f9600),'trigger':_0x365c18['id']}}));}let _0x476465=_0x19ec80['get'](_0x4dff15[_0x9a19ba(0x44b)]),_0x284439=_0x19ec80[_0x9a19ba(0x2fe)](_0x4dff15[_0x9a19ba(0x1a3)]),_0x355ad5=_0x284439[_0x9a19ba(0x220)](_0x180691['unitId']);try{return(0x0,_0x4dff15[_0x9a19ba(0x32e)])(_0x36dad5,_0x476465)['result']?(_0x271e2f[_0x9a19ba(0x2d0)](_0x180691[_0x9a19ba(0x1ca)]),_0x284439['pushUndoRedo']({'unitID':_0x180691[_0x9a19ba(0x1ca)],'undoMutations':_0x63c21e,'redoMutations':_0x36dad5}),!0x0):!0x1;}finally{_0x355ad5[_0x9a19ba(0x487)]();}}},_0x4b2bb5={'type':_0x4dff15[_0x565318(0x38d)]['COMMAND'],'id':_0x565318(0x365),async 'handler'(_0x3b6945,_0x228519){const _0x55485b=_0x565318;if(!_0x228519||!_0x1cf243['includes'](_0x228519['action'])||_0x228519['objectId']!==_0x228519['unitId']&&_0x228519[_0x55485b(0x382)]!==_0x7620fc[_0x55485b(0xf9)][_0x55485b(0xee)]||_0x228519[_0x55485b(0x49e)]&&(![_0x55485b(0x30e),_0x55485b(0x2a2),'members'][_0x55485b(0x3d2)](_0x228519[_0x55485b(0x49e)]['edit'])||_0x228519[_0x55485b(0x49e)][_0x55485b(0x124)][_0x55485b(0x1a5)](_0x2c84b3=>!_0x1cf243[_0x55485b(0x3d2)](_0x2c84b3['action'])||_0x228519[_0x55485b(0x445)]!==_0x228519[_0x55485b(0x1ca)]&&_0x2c84b3[_0x55485b(0x382)]!==_0x7620fc[_0x55485b(0xf9)][_0x55485b(0xee)])))return!0x1;let _0x49de79=_0x67e1f2(_0x228519[_0x55485b(0x1ca)],_0x228519[_0x55485b(0x445)],_0x228519[_0x55485b(0x382)]),_0x3fec69={'unitId':_0x228519[_0x55485b(0x1ca)],'objectId':_0x228519[_0x55485b(0x445)],'objectType':_0x49de79[_0x55485b(0x1dd)]},_0x399ea9=_0x3b6945[_0x55485b(0x2fe)](_0x4dff15[_0x55485b(0x322)]);return _0x228519['remove']?await _0x399ea9[_0x55485b(0x284)](_0x3fec69):_0x228519[_0x55485b(0x49e)]?await _0x399ea9['save'](_0x3fec69,_0x228519[_0x55485b(0x49e)]):await _0x399ea9[_0x55485b(0x21e)](_0x3fec69,_0x49de79,_0x228519[_0x55485b(0x3a9)]),!0x0;}},_0x1ba849={'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'id':_0x565318(0xd0),async 'handler'(_0x18e0fe,_0x5cf189){const _0x2ea574=_0x565318;if(!(_0x5cf189!=null&&_0x5cf189['unitId'])||!Array[_0x2ea574(0x1eb)](_0x5cf189[_0x2ea574(0x147)])||!_0x5cf189[_0x2ea574(0x147)][_0x2ea574(0xac)]||_0x5cf189[_0x2ea574(0x147)][_0x2ea574(0x1a5)](_0x35f0f6=>!(_0x35f0f6!=null&&_0x35f0f6['objectId'])||_0x35f0f6[_0x2ea574(0x445)]===_0x5cf189[_0x2ea574(0x1ca)]||_0x35f0f6['policy']!==null&&(!_0x35f0f6[_0x2ea574(0x49e)]||![_0x2ea574(0x30e),_0x2ea574(0x2a2),_0x2ea574(0x12c)][_0x2ea574(0x3d2)](_0x35f0f6['policy'][_0x2ea574(0x21c)])||!Array[_0x2ea574(0x1eb)](_0x35f0f6[_0x2ea574(0x49e)][_0x2ea574(0x44d)])||!Array[_0x2ea574(0x1eb)](_0x35f0f6['policy'][_0x2ea574(0x124)])||_0x35f0f6[_0x2ea574(0x49e)][_0x2ea574(0x124)][_0x2ea574(0x1a5)](_0x59ac89=>_0x59ac89[_0x2ea574(0x382)]!==_0x7620fc[_0x2ea574(0xf9)][_0x2ea574(0xee)]))))throw Error(_0x2ea574(0x36a));return _0x18e0fe['get'](_0x4dff15['ObjectPermissionService'])[_0x2ea574(0x1e5)](_0x5cf189[_0x2ea574(0x147)][_0x2ea574(0x2e7)](_0x29cabb=>{const _0x25986c=_0x2ea574;let _0x245ed5=_0x67e1f2(_0x5cf189['unitId'],_0x29cabb[_0x25986c(0x445)],_0x7620fc[_0x25986c(0xf9)]['Edit']);return{'unitId':_0x5cf189[_0x25986c(0x1ca)],'objectId':_0x29cabb[_0x25986c(0x445)],'objectType':_0x245ed5[_0x25986c(0x1dd)],'policy':_0x29cabb[_0x25986c(0x49e)]};}));}};function _0x5a6b53(_0x24937f,_0x479e49){const _0x38a707=_0x565318;let _0x2a9f49=_0x21979c(_0x4dff15[_0x38a707(0x20e)][_0x38a707(0x295)](_0x24937f)),_0x43cb28=new Map();return _0x479e49[_0x38a707(0x207)](_0x300b4e=>{const _0x4e2536=_0x38a707;var _0x5d7d4e,_0x28c72f;let _0x326d19=_0x4e2536(0x3e1)in _0x300b4e?_0x300b4e[_0x4e2536(0x3e1)]:(_0x5d7d4e=_0x2a9f49[_0x4e2536(0x460)])==null?void 0x0:_0x5d7d4e[_0x300b4e['row']],_0x4fa94c=_0x4e2536(0x351)in _0x300b4e?_0x300b4e[_0x4e2536(0x351)]:(_0x28c72f=_0x2a9f49['colId'])==null?void 0x0:_0x28c72f[_0x300b4e[_0x4e2536(0x395)]],_0x4ee8cd=_0x4fa94c?_0x2a9f49[_0x4e2536(0x375)][_0x4fa94c]:void 0x0;if(!_0x326d19||!_0x4fa94c||!_0x4ee8cd||!_0x2a9f49[_0x4e2536(0x17e)][_0x326d19])return;let _0x436853=_0x108721(_0x300b4e[_0x4e2536(0x3a9)],_0x4ee8cd),_0x401368=_0xad219(_0x300b4e[_0x4e2536(0x3a9)],_0x436853,_0x4ee8cd,_0x2a9f49,_0x326d19),_0x302319=_0x43cb28[_0x4e2536(0x2fe)](_0x326d19)??{};_0x302319[_0x4fa94c]=_0x401368,_0x43cb28[_0x4e2536(0xe4)](_0x326d19,_0x302319);}),[..._0x43cb28][_0x38a707(0x2e7)](([_0x3f98ab,_0x5abf6b])=>({'recordId':_0x3f98ab,'values':_0x5abf6b}));}let _0x3adfb6={'id':'base.command.set-base-range-values','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x42bf0f,_0x4f5a57){const _0x59e72a=_0x565318;if(!_0x4f5a57)return!0x1;let _0x4c1b59=_0x42bf0f['get'](_0x4dff15[_0x59e72a(0x497)]),{unitId:_0x9ea41d,tableId:_0x452bc4,patches:_0x2fb89b}=_0x4f5a57,_0x36e418=_0x4c1b59['getUnit'](_0x9ea41d,_0x4dff15['UniverInstanceType'][_0x59e72a(0x4fb)]);if(!_0x36e418||!_0xc4bf78(_0x36e418,_0x452bc4))return!0x1;let _0x44574b=_0x42bf0f[_0x59e72a(0x2fe)](_0x4dff15[_0x59e72a(0x44b)]),_0x9a1043=_0x42bf0f['get'](_0x4dff15['IUndoRedoService']),_0x198f20=_0x36e418['getSnapshot'](),_0xaf6997=_0x21979c(_0x198f20[_0x59e72a(0x257)][_0x452bc4]),_0x609df5=_0x2fb89b[_0x59e72a(0x2e7)](_0x4630b8=>{const _0x47e6b2=_0x59e72a;var _0x39ee2d;return _0x47e6b2(0x3e1)in _0x4630b8?_0x4630b8[_0x47e6b2(0x3e1)]:(_0x39ee2d=_0xaf6997[_0x47e6b2(0x460)])==null?void 0x0:_0x39ee2d[_0x4630b8[_0x47e6b2(0xa9)]];})[_0x59e72a(0x2ee)](_0x1205ca=>_0x1205ca!=null),_0x583509=_0x2fb89b[_0x59e72a(0x2e7)](_0x1d309e=>{const _0x6b8dde=_0x59e72a;var _0x2ecca7;return'fieldId'in _0x1d309e?_0x1d309e[_0x6b8dde(0x351)]:(_0x2ecca7=_0xaf6997[_0x6b8dde(0x454)])==null?void 0x0:_0x2ecca7[_0x1d309e[_0x6b8dde(0x395)]];})[_0x59e72a(0x2ee)](_0x25c7d8=>_0x25c7d8!=null);if(_0x609df5['length']!==_0x2fb89b[_0x59e72a(0xac)]||_0x583509[_0x59e72a(0xac)]!==_0x2fb89b[_0x59e72a(0xac)]||!_0xc4bf78(_0x36e418,_0x452bc4,{'recordIds':_0x609df5,'fieldIds':_0x583509})||_0x2fb89b[_0x59e72a(0x1a5)]((_0x567e75,_0x5c8f1e)=>!_0x29bb77(_0x36e418,_0x452bc4,_0x583509[_0x5c8f1e],_0x567e75[_0x59e72a(0x3a9)])))return!0x1;let _0x1d7154=_0x36b42a(_0xaf6997,_0x5a6b53(_0xaf6997,_0x2fb89b)),_0x47d709=_0x2fb89b[_0x59e72a(0x3d1)](_0x249728=>{const _0x506928=_0x59e72a;var _0x287d97,_0x458f40;if(_0x506928(0xa9)in _0x249728)return[_0x249728];let _0x54faff=(_0x287d97=_0xaf6997[_0x506928(0x1d4)])==null?void 0x0:_0x287d97[_0x249728[_0x506928(0x3e1)]],_0x5c70bb=(_0x458f40=_0xaf6997[_0x506928(0x2e0)])==null?void 0x0:_0x458f40[_0x249728['fieldId']];return _0x54faff==null||_0x5c70bb==null?[]:[{'row':_0x54faff,'col':_0x5c70bb,'value':_0x249728[_0x506928(0x3a9)]}];}),_0x5776c2=new _0x11b56b()[_0x59e72a(0x27d)](_0x198f20,_0x452bc4,_0x47d709),_0x4c52a3=new _0x4ddc63()['invertOp'](_0x198f20,_0x5776c2),_0x4003a5={'unitId':_0x9ea41d,'op':_0x5776c2,'trigger':_0x1d7154[_0x59e72a(0xac)]?_0x3adfb6['id']:void 0x0,'hierarchyChanges':_0x1d7154[_0x59e72a(0xac)]?_0x1d7154:void 0x0,'source':_0x1d7154[_0x59e72a(0xac)]?_0x59e72a(0x1e2):void 0x0},_0x44c1ee={'unitId':_0x9ea41d,'op':_0x4c52a3,'trigger':_0x1d7154['length']?_0x3adfb6['id']:void 0x0,'hierarchyChanges':_0x1d7154[_0x59e72a(0xac)]?_0x1d7154['map'](_0x24644e=>({..._0x24644e,'oldParentRecordId':_0x24644e[_0x59e72a(0x11d)],'parentRecordId':_0x24644e[_0x59e72a(0x1fe)]})):void 0x0,'source':_0x1d7154['length']?_0x59e72a(0x2b3):void 0x0},_0x35cd87={..._0x4003a5,'source':_0x1d7154[_0x59e72a(0xac)]?_0x4f5a57[_0x59e72a(0x126)]??'ui':void 0x0};return _0x44574b[_0x59e72a(0x3cb)](_0x4f6ebe['id'],_0x35cd87)?(_0x4c1b59[_0x59e72a(0x2d0)](_0x9ea41d),_0x9a1043[_0x59e72a(0x1a2)]({'unitID':_0x9ea41d,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x44c1ee}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x4003a5}]}),!0x0):!0x1;}},_0x1a98e2={'id':_0x565318(0x23d),'type':_0x4dff15['CommandType'][_0x565318(0x285)],'handler'(_0x37eaef,_0x77852b){const _0x2d2f13=_0x565318;if(!_0x77852b)return!0x1;let _0x389603=_0x37eaef[_0x2d2f13(0x2fe)](_0x4dff15[_0x2d2f13(0x497)]),{unitId:_0x533626,tableId:_0x194596,patches:_0x331140}=_0x77852b,_0x493ad8=_0x389603[_0x2d2f13(0x21d)](_0x533626,_0x4dff15['UniverInstanceType']['UNIVER_BASE']),_0xd64142=_0x331140[_0x2d2f13(0x2e7)](_0x16c0a8=>_0x16c0a8[_0x2d2f13(0x3e1)]),_0x3fd42c=_0x331140[_0x2d2f13(0x3d1)](_0x226e97=>Object[_0x2d2f13(0x446)](_0x226e97[_0x2d2f13(0x3dd)]));if(!_0x493ad8||!_0xc4bf78(_0x493ad8,_0x194596,{'recordIds':_0xd64142,'fieldIds':_0x3fd42c})||_0x331140['some'](_0x2a27cf=>Object[_0x2d2f13(0x2b1)](_0x2a27cf[_0x2d2f13(0x3dd)])['some'](([_0x3e5932,_0x27071b])=>!_0x29bb77(_0x493ad8,_0x194596,_0x3e5932,_0x27071b))))return!0x1;let _0x9608e1=_0x36b42a(_0x493ad8['getSnapshot']()[_0x2d2f13(0x257)][_0x194596],_0x331140),_0x1f3c18=_0x37eaef[_0x2d2f13(0x2fe)](_0x4dff15[_0x2d2f13(0x44b)]),_0x576799=_0x37eaef[_0x2d2f13(0x2fe)](_0x4dff15[_0x2d2f13(0x1a3)]),_0x5ab5af=_0x37eaef[_0x2d2f13(0x2fe)](_0x2a6ad5)[_0x2d2f13(0x31e)](_0x493ad8,_0x194596,_0x331140),_0x5e46b1=new _0x4ddc63()[_0x2d2f13(0x4f9)](_0x493ad8[_0x2d2f13(0x166)](),_0x5ab5af),_0x4d2cc3={'unitId':_0x533626,'op':_0x5ab5af,'trigger':_0x9608e1['length']?_0x1a98e2['id']:void 0x0,'hierarchyChanges':_0x9608e1[_0x2d2f13(0xac)]?_0x9608e1:void 0x0,'source':_0x9608e1[_0x2d2f13(0xac)]?_0x77852b[_0x2d2f13(0x126)]??'ui':void 0x0},_0x5ba96a={..._0x4d2cc3,'source':_0x9608e1[_0x2d2f13(0xac)]?_0x2d2f13(0x1e2):void 0x0},_0x44aeda={'unitId':_0x533626,'op':_0x5e46b1,'trigger':_0x9608e1[_0x2d2f13(0xac)]?_0x1a98e2['id']:void 0x0,'hierarchyChanges':_0x9608e1[_0x2d2f13(0xac)]?_0x9608e1[_0x2d2f13(0x2e7)](_0x1cd831=>({..._0x1cd831,'oldParentRecordId':_0x1cd831[_0x2d2f13(0x11d)],'parentRecordId':_0x1cd831[_0x2d2f13(0x1fe)]})):void 0x0,'source':_0x9608e1['length']?_0x2d2f13(0x2b3):void 0x0};return _0x1f3c18[_0x2d2f13(0x3cb)](_0x4f6ebe['id'],_0x4d2cc3)?(_0x389603[_0x2d2f13(0x2d0)](_0x533626),_0x576799['pushUndoRedo']({'unitID':_0x533626,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x44aeda}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5ba96a}]}),!0x0):!0x1;}},_0x2e5889={'id':_0x565318(0x42e),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x46b32c,_0x4d9394)=>{const _0x78a8ca=_0x565318;if(!_0x4d9394)return!0x1;let {unitId:_0x503454,tableId:_0x595774,fieldId:_0x482111}=_0x4d9394,_0x136569=_0x46b32c[_0x78a8ca(0x2fe)](_0x4dff15[_0x78a8ca(0x497)]),_0x579d1d=_0x136569['getUnit'](_0x503454,_0x4dff15[_0x78a8ca(0x125)][_0x78a8ca(0x4fb)]);if(!_0x579d1d||!_0xc4bf78(_0x579d1d,_0x595774))return!0x1;let _0x4a4556=_0x579d1d[_0x78a8ca(0x166)](),_0x585b24=_0x4a4556[_0x78a8ca(0x257)][_0x595774];if(_0x482111!==null&&!_0x48ed14(_0x585b24,_0x482111))throw new _0x345a4a(_0x78a8ca(0x324));if(_0x5d6b7d(_0x585b24)===_0x482111)return!0x0;let _0x5da8f8=new _0x11b56b(),_0x1e1bb9=_0xbcd9ca(Object[_0x78a8ca(0x3dd)](_0x585b24['fields'])[_0x78a8ca(0x3d1)](_0x255f07=>{const _0x55ceec=_0x78a8ca;if(!_0x48ed14(_0x585b24,_0x255f07['id']))return[];let _0x4f7356=_0x3503a1(_0x255f07);if(!_0x4f7356)return[];let _0x2ae76b=_0x255f07['id']===_0x482111;if(_0x4f7356['relationRole']===_0x4dff15[_0x55ceec(0x1ad)]['Parent']===_0x2ae76b)return[];let _0x2f7791={..._0x255f07[_0x55ceec(0x2c6)],'targetTableId':_0x4f7356['targetTableId'],'multiple':_0x4f7356[_0x55ceec(0x18c)]};return _0x2ae76b?_0x2f7791[_0x55ceec(0xc5)]=_0x4dff15['BaseRecordLinkRole']['Parent']:delete _0x2f7791['relationRole'],[_0x5da8f8[_0x55ceec(0x4d3)](_0x4a4556,_0x595774,_0x255f07['id'],{'config':_0x2f7791})];})),_0x276035=new _0x4ddc63()[_0x78a8ca(0x4f9)](_0x4a4556,_0x1e1bb9),_0x2bde56={'unitId':_0x503454,'op':_0x1e1bb9},_0x2a576e={'unitId':_0x503454,'op':_0x276035};return _0x46b32c[_0x78a8ca(0x2fe)](_0x4dff15[_0x78a8ca(0x44b)])[_0x78a8ca(0x3cb)](_0x4f6ebe['id'],_0x2bde56)?(_0x136569[_0x78a8ca(0x2d0)](_0x503454),_0x46b32c[_0x78a8ca(0x2fe)](_0x4dff15[_0x78a8ca(0x1a3)])[_0x78a8ca(0x1a2)]({'unitID':_0x503454,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2a576e}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2bde56}]}),!0x0):!0x1;}},_0x211ede={'id':'base.command.set-base-view-field-order','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x2add7f,_0x4738fd)=>{const _0x849b1c=_0x565318;if(!_0x4738fd)return!0x1;let _0xe53ee3=_0x2add7f[_0x849b1c(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0x6d888c,tableId:_0x2d18f8,viewId:_0x18a0c2,fieldId:_0x9555d4,target:_0x2a0c46}=_0x4738fd,_0x47e4df=_0xe53ee3['getUnit'](_0x6d888c,_0x4dff15['UniverInstanceType'][_0x849b1c(0x4fb)]),_0x189f1a=_0x2a0c46[_0x849b1c(0x1e9)]??_0x2a0c46[_0x849b1c(0xc3)];if(!_0x47e4df||!_0x189f1a||_0x189f1a===_0x9555d4||!_0xc4bf78(_0x47e4df,_0x2d18f8,{'viewIds':[_0x18a0c2],'fieldIds':[_0x9555d4,_0x189f1a]}))return!0x1;let _0x4a3e96=_0x47e4df['getSnapshot']()['tables'][_0x2d18f8],_0xa66213=_0x4a3e96[_0x849b1c(0x375)][_0x9555d4],_0xc0cb8c=_0x4a3e96[_0x849b1c(0x375)][_0x189f1a];if(_0xa66213[_0x849b1c(0x263)]===!0x0||_0xa66213[_0x849b1c(0x1dd)]===_0x4dff15[_0x849b1c(0x352)][_0x849b1c(0x37b)]||_0xc0cb8c[_0x849b1c(0x263)]===!0x0||_0xc0cb8c[_0x849b1c(0x1dd)]===_0x4dff15[_0x849b1c(0x352)][_0x849b1c(0x37b)])return!0x1;let _0x5d0fb3=_0x2add7f['get'](_0x4dff15[_0x849b1c(0x44b)]),_0x4c6752=_0x2add7f[_0x849b1c(0x2fe)](_0x4dff15[_0x849b1c(0x1a3)]),_0x377960=_0x47e4df[_0x849b1c(0x166)](),_0x56991d=new _0x11b56b()['setViewFieldOrder'](_0x377960,_0x2d18f8,_0x18a0c2,_0x9555d4,_0x2a0c46),_0x3342e4=new _0x4ddc63()[_0x849b1c(0x4f9)](_0x377960,_0x56991d),_0x1583a5={'unitId':_0x6d888c,'op':_0x56991d},_0x27b13e={'unitId':_0x6d888c,'op':_0x3342e4};return _0x5d0fb3[_0x849b1c(0x3cb)](_0x4f6ebe['id'],_0x1583a5)?(_0xe53ee3['focusUnit'](_0x6d888c),_0x4c6752[_0x849b1c(0x1a2)]({'unitID':_0x6d888c,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x27b13e}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1583a5}]}),!0x0):!0x1;}},_0x30bd74={'id':_0x565318(0x49f),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x33cacb,_0x1eb041){const _0x3fa609=_0x565318;if(!_0x1eb041)return!0x1;let _0x3c4f95=_0x33cacb[_0x3fa609(0x2fe)](_0x4dff15[_0x3fa609(0x497)]),{unitId:_0x3f1981,tableId:_0x36876a,viewId:_0x4f02c5,fieldId:_0x5c1cbf,visible:_0x5c5953}=_0x1eb041,_0x4ed7ad=_0x3c4f95[_0x3fa609(0x21d)](_0x3f1981,_0x4dff15['UniverInstanceType'][_0x3fa609(0x4fb)]);if(!_0x4ed7ad||!_0xc4bf78(_0x4ed7ad,_0x36876a,{'viewIds':[_0x4f02c5],'fieldIds':[_0x5c1cbf]}))return!0x1;let _0x4a0038=_0x4ed7ad[_0x3fa609(0x166)]()[_0x3fa609(0x257)][_0x36876a][_0x3fa609(0x375)][_0x5c1cbf];if(_0x4a0038[_0x3fa609(0x263)]===!0x0||_0x4a0038[_0x3fa609(0x1dd)]===_0x4dff15['BaseFieldType'][_0x3fa609(0x37b)])return!0x1;let _0x4d723b=_0x33cacb[_0x3fa609(0x2fe)](_0x4dff15[_0x3fa609(0x44b)]),_0xba63d4=_0x33cacb[_0x3fa609(0x2fe)](_0x4dff15[_0x3fa609(0x1a3)]),_0x4dd889=_0x4ed7ad[_0x3fa609(0x166)](),_0x1a42f5=new _0x11b56b()[_0x3fa609(0x133)](_0x4dd889,_0x36876a,_0x4f02c5,_0x5c1cbf,_0x5c5953),_0x5cd51a=new _0x4ddc63()[_0x3fa609(0x4f9)](_0x4dd889,_0x1a42f5),_0x5ba7b0={'unitId':_0x3f1981,'op':_0x1a42f5},_0x28df99={'unitId':_0x3f1981,'op':_0x5cd51a};return _0x4d723b[_0x3fa609(0x3cb)](_0x4f6ebe['id'],_0x5ba7b0)?(_0x3c4f95[_0x3fa609(0x2d0)](_0x3f1981),_0xba63d4[_0x3fa609(0x1a2)]({'unitID':_0x3f1981,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x28df99}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5ba7b0}]}),!0x0):!0x1;}},_0x44afeb={'id':'base.command.set-base-view-field-width','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x85fbe1,_0x4ab60b)=>{const _0x2895c9=_0x565318;if(!_0x4ab60b)return!0x1;let _0xee48f2=_0x85fbe1['get'](_0x4dff15['IUniverInstanceService']),{unitId:_0x329ad4,tableId:_0x3aad34,viewId:_0x415462,fieldId:_0x9cbe6a,width:_0x35dfdf}=_0x4ab60b,_0x5373dc=_0xee48f2[_0x2895c9(0x21d)](_0x329ad4,_0x4dff15[_0x2895c9(0x125)][_0x2895c9(0x4fb)]);if(!_0x5373dc||!_0xc4bf78(_0x5373dc,_0x3aad34,{'viewIds':[_0x415462],'fieldIds':[_0x9cbe6a]}))return!0x1;let _0x3c646f=_0x5373dc[_0x2895c9(0x166)]()['tables'][_0x3aad34][_0x2895c9(0x375)][_0x9cbe6a];if(_0x3c646f[_0x2895c9(0x263)]===!0x0||_0x3c646f['type']===_0x4dff15[_0x2895c9(0x352)][_0x2895c9(0x37b)])return!0x1;let _0x322955=_0x85fbe1[_0x2895c9(0x2fe)](_0x4dff15[_0x2895c9(0x44b)]),_0x3de028=_0x85fbe1['get'](_0x4dff15[_0x2895c9(0x1a3)]),_0x2b78cc=_0x5373dc[_0x2895c9(0x166)](),_0x149a18=new _0x11b56b()[_0x2895c9(0x175)](_0x2b78cc,_0x3aad34,_0x415462,_0x9cbe6a,_0x35dfdf),_0x168bdc=new _0x4ddc63()['invertOp'](_0x2b78cc,_0x149a18),_0x3ba5a7={'unitId':_0x329ad4,'op':_0x149a18},_0x462ada={'unitId':_0x329ad4,'op':_0x168bdc};return _0x322955['syncExecuteCommand'](_0x4f6ebe['id'],_0x3ba5a7)?(_0xee48f2[_0x2895c9(0x2d0)](_0x329ad4),_0x3de028[_0x2895c9(0x1a2)]({'unitID':_0x329ad4,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x462ada}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x3ba5a7}]}),!0x0):!0x1;}},_0x5434e0={'id':_0x565318(0x4a9),'type':_0x4dff15['CommandType'][_0x565318(0x285)],'handler':(_0xd2ef15,_0x2027a4)=>{const _0x44d280=_0x565318;if(!_0x2027a4)return!0x1;let _0x3617c3=_0xd2ef15[_0x44d280(0x2fe)](_0x4dff15[_0x44d280(0x497)]),{unitId:_0x293ad8,tableId:_0x395913,viewId:_0x1872d4,filter:_0x206a86}=_0x2027a4,_0x935945=_0x3617c3[_0x44d280(0x21d)](_0x293ad8,_0x4dff15[_0x44d280(0x125)][_0x44d280(0x4fb)]),_0x3219e8=(_0x206a86==null?void 0x0:_0x206a86[_0x44d280(0x364)]['map'](_0x2b537c=>_0x2b537c[_0x44d280(0x351)]))??[];if(!_0x935945||!_0xc4bf78(_0x935945,_0x395913,{'viewIds':[_0x1872d4],'fieldIds':_0x3219e8}))return!0x1;let _0x2ffbc9=_0xd2ef15[_0x44d280(0x2fe)](_0x4dff15[_0x44d280(0x44b)]),_0x927352=_0xd2ef15[_0x44d280(0x2fe)](_0x4dff15[_0x44d280(0x1a3)]),_0x2d307f=_0x935945[_0x44d280(0x166)](),_0x5b5da8=new _0x11b56b()[_0x44d280(0x111)](_0x2d307f,_0x395913,_0x1872d4,_0x206a86),_0x570176=new _0x4ddc63()['invertOp'](_0x2d307f,_0x5b5da8),_0x4e53ef={'unitId':_0x293ad8,'op':_0x5b5da8},_0xbc465b={'unitId':_0x293ad8,'op':_0x570176};return _0x2ffbc9[_0x44d280(0x3cb)](_0x4f6ebe['id'],_0x4e53ef)?(_0x3617c3['focusUnit'](_0x293ad8),_0x927352['pushUndoRedo']({'unitID':_0x293ad8,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0xbc465b}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x4e53ef}]}),!0x0):!0x1;}},_0x803ac1={'id':_0x565318(0x1d5),'type':_0x4dff15['CommandType']['COMMAND'],'handler':(_0x578171,_0x3a4e44)=>{const _0x33f62b=_0x565318;if(!_0x3a4e44)return!0x1;let _0x274c8c=_0x578171[_0x33f62b(0x2fe)](_0x4dff15[_0x33f62b(0x497)]),{unitId:_0x4a925b,tableId:_0x5da441,viewId:_0xf8e437,group:_0xf73996}=_0x3a4e44,_0x162d86=_0x274c8c[_0x33f62b(0x21d)](_0x4a925b,_0x4dff15[_0x33f62b(0x125)][_0x33f62b(0x4fb)]);if(!_0x162d86||!_0xc4bf78(_0x162d86,_0x5da441,{'viewIds':[_0xf8e437],'fieldIds':_0xf73996[_0x33f62b(0x2e7)](_0x437a74=>_0x437a74[_0x33f62b(0x351)])}))return!0x1;let _0x3cd192=_0x578171[_0x33f62b(0x2fe)](_0x4dff15[_0x33f62b(0x44b)]),_0x3d4282=_0x578171['get'](_0x4dff15[_0x33f62b(0x1a3)]),_0x4b0482=_0x162d86[_0x33f62b(0x166)](),_0x431ab9=new _0x11b56b()['setViewGroup'](_0x4b0482,_0x5da441,_0xf8e437,_0xf73996),_0x5a6654=new _0x4ddc63()[_0x33f62b(0x4f9)](_0x4b0482,_0x431ab9),_0x172fc1={'unitId':_0x4a925b,'op':_0x431ab9},_0x36887e={'unitId':_0x4a925b,'op':_0x5a6654};return _0x3cd192[_0x33f62b(0x3cb)](_0x4f6ebe['id'],_0x172fc1)?(_0x274c8c[_0x33f62b(0x2d0)](_0x4a925b),_0x3d4282[_0x33f62b(0x1a2)]({'unitID':_0x4a925b,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x36887e}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x172fc1}]}),!0x0):!0x1;}},_0x48967c={'id':_0x565318(0xf7),'type':_0x4dff15[_0x565318(0x38d)]['COMMAND'],'handler':(_0x3831f1,_0x3c84ce)=>{const _0x4526ed=_0x565318;if(!_0x3c84ce)return!0x1;let _0xe6d5b1=_0x3831f1[_0x4526ed(0x2fe)](_0x4dff15[_0x4526ed(0x497)]),{unitId:_0x46a9ea,tableId:_0x3dadbc,viewId:_0x725527,sort:_0x4e52d1}=_0x3c84ce,_0x498186=_0xe6d5b1[_0x4526ed(0x21d)](_0x46a9ea,_0x4dff15['UniverInstanceType'][_0x4526ed(0x4fb)]);if(!_0x498186||!_0xc4bf78(_0x498186,_0x3dadbc,{'viewIds':[_0x725527],'fieldIds':_0x4e52d1[_0x4526ed(0x2e7)](_0x288f45=>_0x288f45['fieldId'])}))return!0x1;let _0x539bed=_0x3831f1['get'](_0x4dff15[_0x4526ed(0x44b)]),_0x468831=_0x3831f1[_0x4526ed(0x2fe)](_0x4dff15[_0x4526ed(0x1a3)]),_0x15c358=_0x498186[_0x4526ed(0x166)](),_0x5a4a3f=new _0x11b56b()[_0x4526ed(0x323)](_0x15c358,_0x3dadbc,_0x725527,_0x4e52d1),_0x4ab342=new _0x4ddc63()[_0x4526ed(0x4f9)](_0x15c358,_0x5a4a3f),_0x5f4ee0={'unitId':_0x46a9ea,'op':_0x5a4a3f},_0x233a6c={'unitId':_0x46a9ea,'op':_0x4ab342};return _0x539bed[_0x4526ed(0x3cb)](_0x4f6ebe['id'],_0x5f4ee0)?(_0xe6d5b1[_0x4526ed(0x2d0)](_0x46a9ea),_0x468831['pushUndoRedo']({'unitID':_0x46a9ea,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x233a6c}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5f4ee0}]}),!0x0):!0x1;}},_0x5628fa={'id':_0x565318(0x329),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x3a4e3b,_0x565c4e){const _0x47a6cc=_0x565318;if(!_0x565c4e)return!0x1;let _0x34829f=_0x3a4e3b[_0x47a6cc(0x2fe)](_0x4dff15[_0x47a6cc(0x497)]),{unitId:_0x54011b,tableId:_0x12d676,recordId:_0x5e79e3,fieldId:_0x5dad78,value:_0x5c994c}=_0x565c4e,_0x4fcef0=_0x34829f['getUnit'](_0x54011b,_0x4dff15['UniverInstanceType'][_0x47a6cc(0x4fb)]);if(!_0x4fcef0||!_0xc4bf78(_0x4fcef0,_0x12d676,{'recordIds':[_0x5e79e3],'fieldIds':[_0x5dad78]})||!_0x29bb77(_0x4fcef0,_0x12d676,_0x5dad78,_0x5c994c))return!0x1;let _0x3ca9f7=_0x4fcef0[_0x47a6cc(0x166)]()[_0x47a6cc(0x257)][_0x12d676],_0x496970=_0x48ed14(_0x3ca9f7,_0x5dad78)&&_0x266192(_0x3ca9f7)[_0x47a6cc(0x3d2)](_0x5dad78),_0x2c610a=_0x496970?_0x3b7781(_0x3ca9f7,_0x5dad78):null,_0x597571=(_0x2c610a==null?void 0x0:_0x2c610a[_0x47a6cc(0x3a3)][_0x47a6cc(0x2fe)](_0x5e79e3))??null,_0x346c96=_0x496970?_0x26e3e2(_0x5c994c)[0x0]??null:null;if(_0x2c610a){if(_0x346c96&&!_0x3ca9f7['records'][_0x346c96])throw new _0x345a4a(_0x47a6cc(0x1ed));let _0x508f3e=_0x4360b8(_0x2c610a,_0x5e79e3,_0x346c96);if(!_0x508f3e[_0x47a6cc(0x31a)])throw new _0x345a4a(_0x508f3e['reason']===_0x4dff15[_0x47a6cc(0x2fc)][_0x47a6cc(0x14a)]?'selfParent':_0x508f3e['reason']===_0x4dff15['BaseHierarchyInvalidReason'][_0x47a6cc(0x252)]?_0x47a6cc(0x1e1):_0x47a6cc(0x36b));}let _0x50cc5d=_0x3a4e3b['get'](_0x4dff15['ICommandService']),_0xa4d990=_0x3a4e3b['get'](_0x4dff15['IUndoRedoService']),_0x54745e=_0x3a4e3b[_0x47a6cc(0x2fe)](_0x2a6ad5),_0x1615d0;try{_0x1615d0=_0x54745e[_0x47a6cc(0x396)](_0x4fcef0,_0x12d676,_0x5e79e3,_0x5dad78,_0x5c994c);}catch(_0x4c9b9a){return console[_0x47a6cc(0x309)](_0x47a6cc(0x2ec),_0x4c9b9a),!0x1;}let _0x4d69fa=new _0x4ddc63()[_0x47a6cc(0x4f9)](_0x4fcef0[_0x47a6cc(0x166)](),_0x1615d0),_0x456bbd=_0x496970&&_0x597571!==_0x346c96?[{'tableId':_0x12d676,'fieldId':_0x5dad78,'recordId':_0x5e79e3,'oldParentRecordId':_0x597571,'parentRecordId':_0x346c96}]:void 0x0,_0x512f4f={'unitId':_0x54011b,'op':_0x1615d0,'trigger':_0x456bbd?_0x5628fa['id']:void 0x0,'hierarchyChanges':_0x456bbd,'source':_0x456bbd?_0x565c4e[_0x47a6cc(0x126)]??'ui':void 0x0},_0x39b65b={..._0x512f4f,'source':_0x456bbd?_0x47a6cc(0x1e2):void 0x0},_0x282af6={'unitId':_0x54011b,'op':_0x4d69fa,'trigger':_0x456bbd?_0x5628fa['id']:void 0x0,'hierarchyChanges':_0x456bbd==null?void 0x0:_0x456bbd[_0x47a6cc(0x2e7)](_0x4dad55=>({..._0x4dad55,'oldParentRecordId':_0x4dad55['parentRecordId'],'parentRecordId':_0x4dad55[_0x47a6cc(0x1fe)]})),'source':_0x456bbd?_0x47a6cc(0x2b3):void 0x0};return _0x50cc5d[_0x47a6cc(0x3cb)](_0x4f6ebe['id'],_0x512f4f)?(_0x34829f[_0x47a6cc(0x2d0)](_0x54011b),_0xa4d990[_0x47a6cc(0x1a2)]({'unitID':_0x54011b,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x282af6}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x39b65b}]}),!0x0):!0x1;}},_0x242ec3={'id':'base.command.update-base-field-description','type':_0x4dff15['CommandType']['COMMAND'],'handler'(_0x571505,_0x4b79d6){const _0x3c8b82=_0x565318;if(!_0x4b79d6)return!0x1;let _0xd9b07b=_0x571505[_0x3c8b82(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0x3acab5,tableId:_0x561cc1,fieldId:_0x47ec25}=_0x4b79d6,_0x20828a=_0xd9b07b[_0x3c8b82(0x21d)](_0x3acab5,_0x4dff15[_0x3c8b82(0x125)]['UNIVER_BASE']);if(!_0x20828a||!_0xc4bf78(_0x20828a,_0x561cc1,{'fieldIds':[_0x47ec25]}))return!0x1;let _0xa58300=_0x571505[_0x3c8b82(0x2fe)](_0x4dff15['ICommandService']),_0x3b279e=_0x571505[_0x3c8b82(0x2fe)](_0x4dff15[_0x3c8b82(0x1a3)]),_0x421307=_0x20828a['getSnapshot'](),_0x2b7bc9=_0x4b79d6[_0x3c8b82(0x312)][_0x3c8b82(0x3b1)](),_0x4315a0=new _0x11b56b()[_0x3c8b82(0x4d3)](_0x421307,_0x561cc1,_0x47ec25,{'description':_0x2b7bc9}),_0x588e18=new _0x4ddc63()[_0x3c8b82(0x4f9)](_0x20828a[_0x3c8b82(0x166)](),_0x4315a0),_0x5a57d2={'unitId':_0x3acab5,'op':_0x4315a0},_0x511153={'unitId':_0x3acab5,'op':_0x588e18};return _0xa58300[_0x3c8b82(0x3cb)](_0x4f6ebe['id'],_0x5a57d2)?(_0xd9b07b['focusUnit'](_0x3acab5),_0x3b279e['pushUndoRedo']({'unitID':_0x3acab5,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x511153}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x5a57d2}]}),!0x0):!0x1;}},_0x1a3942={'id':_0x565318(0x440),'type':_0x4dff15[_0x565318(0x38d)]['COMMAND'],'handler':(_0xfadaea,_0x5123b2)=>{const _0x1e3a99=_0x565318;if(!_0x5123b2)return!0x1;let _0x2b9f6c=_0xfadaea[_0x1e3a99(0x2fe)](_0x4dff15[_0x1e3a99(0x497)]),{unitId:_0x39d912,tableId:_0x431179,fieldId:_0x48dca5,patch:_0x1f729b}=_0x5123b2,_0xc7e718=_0x2b9f6c['getUnit'](_0x39d912,_0x4dff15[_0x1e3a99(0x125)][_0x1e3a99(0x4fb)]);if(!_0xc7e718||_0x48dca5===_0x4dff15[_0x1e3a99(0x432)]||!_0xc4bf78(_0xc7e718,_0x431179,{'fieldIds':[_0x48dca5]}))return!0x1;let _0x257e15=_0xfadaea[_0x1e3a99(0x2fe)](_0x4dff15['ICommandService']),_0x3dd19e=_0xfadaea['get'](_0x4dff15[_0x1e3a99(0x1a3)]),_0x1c92b9=_0xc7e718[_0x1e3a99(0x166)]();if(!_0x2edb07(_0xc7e718,_0x431179,{..._0x1c92b9[_0x1e3a99(0x257)][_0x431179][_0x1e3a99(0x375)][_0x48dca5],..._0x1f729b}))return!0x1;let _0x3f4031=new _0x11b56b()['updateField'](_0x1c92b9,_0x431179,_0x48dca5,_0x1f729b),_0x2f7d92=new _0x4ddc63()['invertOp'](_0x1c92b9,_0x3f4031),_0x336935={'unitId':_0x39d912,'op':_0x3f4031},_0x1ba1f6={'unitId':_0x39d912,'op':_0x2f7d92};return _0x257e15[_0x1e3a99(0x3cb)](_0x4f6ebe['id'],_0x336935)?(_0x2b9f6c[_0x1e3a99(0x2d0)](_0x39d912),_0x3dd19e[_0x1e3a99(0x1a2)]({'unitID':_0x39d912,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1ba1f6}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x336935}]}),!0x0):!0x1;}},_0x1b60b6={'id':_0x565318(0x30a),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x5de0a6,_0x56d60b)=>{const _0x3bf6c2=_0x565318;if(!_0x56d60b)return!0x1;let _0x11ca82=_0x5de0a6[_0x3bf6c2(0x2fe)](_0x4dff15['IUniverInstanceService']),{unitId:_0x2df43e,tableId:_0x1dd6d4,viewId:_0x1596aa,patch:_0x5d2db2}=_0x56d60b,_0x13bdc3=_0x11ca82[_0x3bf6c2(0x21d)](_0x2df43e,_0x4dff15['UniverInstanceType'][_0x3bf6c2(0x4fb)]);if(!_0x13bdc3||!_0xc4bf78(_0x13bdc3,_0x1dd6d4,{'viewIds':[_0x1596aa]}))return!0x1;let _0xeea403=_0x5de0a6[_0x3bf6c2(0x2fe)](_0x4dff15[_0x3bf6c2(0x44b)]),_0x45bd19=_0x5de0a6[_0x3bf6c2(0x2fe)](_0x4dff15[_0x3bf6c2(0x1a3)]),_0x1bd822=_0x13bdc3[_0x3bf6c2(0x166)](),_0x4a9ba7=new _0x11b56b()[_0x3bf6c2(0x292)](_0x1bd822,_0x1dd6d4,_0x1596aa,_0x5d2db2),_0x250649=new _0x4ddc63()[_0x3bf6c2(0x4f9)](_0x1bd822,_0x4a9ba7),_0x53cc12={'unitId':_0x2df43e,'op':_0x4a9ba7},_0x2b3a38={'unitId':_0x2df43e,'op':_0x250649};return _0xeea403[_0x3bf6c2(0x3cb)](_0x4f6ebe['id'],_0x53cc12)?(_0x11ca82['focusUnit'](_0x2df43e),_0x45bd19[_0x3bf6c2(0x1a2)]({'unitID':_0x2df43e,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x2b3a38}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x53cc12}]}),!0x0):!0x1;}},_0x3ff4b2={'id':_0x565318(0x2e5),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x516bc1,_0x1a47d8)=>{const _0x19ac9b=_0x565318;if(!_0x1a47d8)return!0x1;let _0x9eadaf=_0x516bc1[_0x19ac9b(0x2fe)](_0x4dff15[_0x19ac9b(0x497)]),{unitId:_0xab2bf3,tableId:_0x29687a,recordId:_0x321867,orderKey:_0x5769cc}=_0x1a47d8,_0x32a184=_0x9eadaf[_0x19ac9b(0x21d)](_0xab2bf3,_0x4dff15['UniverInstanceType']['UNIVER_BASE']);if(!_0x32a184||!_0xc4bf78(_0x32a184,_0x29687a,{'recordIds':[_0x321867]}))return!0x1;let _0x2bc318=_0x516bc1[_0x19ac9b(0x2fe)](_0x4dff15[_0x19ac9b(0x44b)]),_0x2d5c73=_0x516bc1[_0x19ac9b(0x2fe)](_0x4dff15[_0x19ac9b(0x1a3)]),_0x1be811=_0x32a184[_0x19ac9b(0x166)](),_0x46ea55=new _0x11b56b()[_0x19ac9b(0x28d)](_0x1be811,_0x29687a,_0x321867,_0x5769cc),_0x4cb726=new _0x4ddc63()[_0x19ac9b(0x4f9)](_0x1be811,_0x46ea55),_0x1757ff={'unitId':_0xab2bf3,'op':_0x46ea55},_0xa9a293={'unitId':_0xab2bf3,'op':_0x4cb726};return _0x2bc318[_0x19ac9b(0x3cb)](_0x4f6ebe['id'],_0x1757ff)?(_0x9eadaf['focusUnit'](_0xab2bf3),_0x2d5c73[_0x19ac9b(0x1a2)]({'unitID':_0xab2bf3,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0xa9a293}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1757ff}]}),!0x0):!0x1;}},_0xa6d2=function(_0x31e1ee){const _0x51ebe6=_0x565318;return _0x31e1ee[_0x51ebe6(0x16c)]=_0x51ebe6(0xe4),_0x31e1ee['Add']=_0x51ebe6(0x488),_0x31e1ee[_0x51ebe6(0x1f6)]='delete',_0x31e1ee[_0x51ebe6(0x194)]=_0x51ebe6(0x246),_0x31e1ee;}({}),_0xee320d={'id':_0x565318(0xf5),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x2ccf8d,_0x2678d1)=>{const _0x307e38=_0x565318;var _0x15838c;if(!_0x2678d1)return!0x1;let _0x5984e5=_0x2ccf8d['get'](_0x4dff15[_0x307e38(0x497)]),_0x6c8e4c=_0x5984e5[_0x307e38(0x21d)](_0x2678d1[_0x307e38(0x1ca)],_0x4dff15['UniverInstanceType'][_0x307e38(0x4fb)]);if(!_0x6c8e4c||!_0xc4bf78(_0x6c8e4c,_0x2678d1[_0x307e38(0x222)],{'viewIds':[_0x2678d1[_0x307e38(0x49b)]]}))return!0x1;let _0x5f16c1=_0x6c8e4c[_0x307e38(0x166)](),_0x2d31c4=_0x5f16c1[_0x307e38(0x257)][_0x2678d1[_0x307e38(0x222)]],_0xa89305=_0x908dc8(((_0x15838c=_0x2d31c4[_0x307e38(0x353)][_0x2678d1[_0x307e38(0x49b)]][_0x307e38(0x2c6)][_0x307e38(0x330)])==null?void 0x0:_0x15838c[_0x307e38(0x29b)])??[],_0x2678d1);if(!_0xa89305)return!0x1;_0x580534(_0x2d31c4,_0xa89305);let _0x3ac439=new _0x11b56b()['updateViewConfig'](_0x5f16c1,_0x2678d1[_0x307e38(0x222)],_0x2678d1[_0x307e38(0x49b)],{'conditionalColoring':_0xa89305[_0x307e38(0xac)]?{'rules':_0xa89305}:null}),_0xe35605=new _0x4ddc63()['invertOp'](_0x5f16c1,_0x3ac439),_0x583294={'unitId':_0x2678d1[_0x307e38(0x1ca)],'op':_0x3ac439},_0xa4806={'unitId':_0x2678d1[_0x307e38(0x1ca)],'op':_0xe35605};return _0x2ccf8d['get'](_0x4dff15['ICommandService'])[_0x307e38(0x3cb)](_0x4f6ebe['id'],_0x583294)?(_0x5984e5[_0x307e38(0x2d0)](_0x2678d1[_0x307e38(0x1ca)]),_0x2ccf8d[_0x307e38(0x2fe)](_0x4dff15[_0x307e38(0x1a3)])[_0x307e38(0x1a2)]({'unitID':_0x2678d1[_0x307e38(0x1ca)],'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0xa4806}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0x583294}]}),!0x0):!0x1;}};function _0x908dc8(_0x50c236,_0x5c3594){const _0x18607a=_0x565318;switch(_0x5c3594[_0x18607a(0x1dd)]){case'set':return _0x4dff15[_0x18607a(0x20e)]['deepClone'](_0x5c3594['rules']);case _0x18607a(0x488):return[..._0x4dff15[_0x18607a(0x20e)][_0x18607a(0x295)](_0x50c236),_0x4dff15[_0x18607a(0x20e)][_0x18607a(0x295)](_0x5c3594[_0x18607a(0x1b6)])];case _0x18607a(0x3f8):{let _0x164430=_0x50c236['filter'](_0x38d325=>_0x38d325['id']!==_0x5c3594['ruleId']);return _0x164430[_0x18607a(0xac)]===_0x50c236[_0x18607a(0xac)]?null:_0x4dff15[_0x18607a(0x20e)][_0x18607a(0x295)](_0x164430);}case _0x18607a(0x246):return _0x50c236[_0x18607a(0xac)]?[]:null;}}function _0x580534(_0xec0726,_0x3280f1){const _0x5571d7=_0x565318;if(!Array[_0x5571d7(0x1eb)](_0x3280f1))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x560613=new Set();for(let [_0x5b7ff9,_0xa6644e]of _0x3280f1[_0x5571d7(0x2b1)]())_0x171f5d(_0xec0726,_0xa6644e,_0x1474f7(_0xa6644e,_0x5b7ff9,_0x560613));}function _0x1474f7(_0x4e7379,_0x3b932,_0x2e4dfc){const _0x2ec2f1=_0x565318;if(!_0x4e7379||typeof _0x4e7379!=_0x2ec2f1(0x35c))throw TypeError(_0x2ec2f1(0x13d)+_0x3b932+_0x2ec2f1(0x40a));let _0x5d14c5=typeof _0x4e7379['id']==_0x2ec2f1(0x17d)&&_0x4e7379['id'][_0x2ec2f1(0x3b1)]()?'\x22'+_0x4e7379['id']+'\x22':_0x2ec2f1(0x509)+_0x3b932;if(typeof _0x4e7379['id']!=_0x2ec2f1(0x17d)||!_0x4e7379['id'][_0x2ec2f1(0x3b1)]())throw Error(_0x2ec2f1(0x468)+_0x5d14c5+_0x2ec2f1(0x4b0));if(_0x2e4dfc[_0x2ec2f1(0x336)](_0x4e7379['id']))throw Error(_0x2ec2f1(0x438)+_0x4e7379['id']+'\x22.');_0x2e4dfc[_0x2ec2f1(0x488)](_0x4e7379['id']);let _0xf3d1a0=typeof _0x4e7379[_0x2ec2f1(0x409)]=='string'&&_0x4e7379[_0x2ec2f1(0x409)][_0x2ec2f1(0x3b1)]()?new _0x4dff15[(_0x2ec2f1(0xaa))](_0x4e7379[_0x2ec2f1(0x409)]):null;if(!(_0xf3d1a0!=null&&_0xf3d1a0[_0x2ec2f1(0x34e)]))throw Error(_0x2ec2f1(0x468)+_0x5d14c5+_0x2ec2f1(0x254));return _0x5d14c5;}function _0x171f5d(_0x555310,_0x5a3f94,_0x5290c2){const _0x2845a9=_0x565318;let _0xe769d5=new Set(Object[_0x2845a9(0x3dd)](_0x4dff15[_0x2845a9(0x410)])),_0x43e987=new Set(Object['values'](_0x4dff15[_0x2845a9(0x33a)])),_0x49d604=new Set(Object['values'](_0x4dff15['BaseConditionalDateMode']));if(!_0xe769d5[_0x2845a9(0x336)](_0x5a3f94[_0x2845a9(0x2b4)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5290c2+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x5a3f94['target'])+'\x22.');let _0xa68bc0=typeof _0x5a3f94[_0x2845a9(0x351)]==_0x2845a9(0x17d)?_0x555310[_0x2845a9(0x375)][_0x5a3f94['fieldId']]:void 0x0;if(!_0xa68bc0||_0xa68bc0[_0x2845a9(0x263)]===!0x0||_0xa68bc0[_0x2845a9(0x1dd)]===_0x4dff15[_0x2845a9(0x352)]['RecordId'])throw Error(_0x2845a9(0x468)+_0x5290c2+_0x2845a9(0x37a)+String(_0x5a3f94[_0x2845a9(0x351)])+'\x22.');if(!_0x43e987[_0x2845a9(0x336)](_0x5a3f94[_0x2845a9(0x2fa)]))throw Error(_0x2845a9(0x468)+_0x5290c2+_0x2845a9(0x45f)+String(_0x5a3f94[_0x2845a9(0x2fa)])+'\x22.');if(_0x5a3f94['dateMode']!==void 0x0&&!_0x49d604[_0x2845a9(0x336)](_0x5a3f94[_0x2845a9(0x2aa)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5290c2+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x5a3f94['dateMode'])+'\x22.');if(_0x5a3f94[_0x2845a9(0x2b4)]===_0x4dff15[_0x2845a9(0x410)][_0x2845a9(0x3b2)])return;let _0x2733a4=_0x19643c(_0xa68bc0[_0x2845a9(0x1dd)]);if(!_0x2733a4[_0x2845a9(0x3d2)](_0x5a3f94['operator']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5290c2+'\x20cannot\x20use\x20operator\x20\x22'+_0x5a3f94['operator']+'\x22\x20with\x20field\x20type\x20\x22'+_0xa68bc0['type']+_0x2845a9(0x1ba)+_0x2733a4[_0x2845a9(0x1b5)](',\x20')+'.');if(_0x5a3f94[_0x2845a9(0x2aa)]!==void 0x0&&!_0x234a07(_0xa68bc0[_0x2845a9(0x1dd)]))throw Error(_0x2845a9(0x468)+_0x5290c2+_0x2845a9(0x26a));}let _0xc160e5={'id':'base.command.update-base-view-config','type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler':(_0x45ff12,_0x3b3d90)=>{const _0x2f3a59=_0x565318;if(!_0x3b3d90)return!0x1;let _0x3ae02d=_0x45ff12[_0x2f3a59(0x2fe)](_0x4dff15[_0x2f3a59(0x497)]),{unitId:_0x2ed009,tableId:_0x2811d6,viewId:_0x45cb34,patch:_0x303ce0}=_0x3b3d90,_0x23a907=_0x3ae02d[_0x2f3a59(0x21d)](_0x2ed009,_0x4dff15[_0x2f3a59(0x125)][_0x2f3a59(0x4fb)]);if(!_0x23a907||!_0xc4bf78(_0x23a907,_0x2811d6,{'viewIds':[_0x45cb34]}))return!0x1;let _0x463f5a=_0x45ff12[_0x2f3a59(0x2fe)](_0x4dff15['ICommandService']),_0x3b1e5d=_0x45ff12[_0x2f3a59(0x2fe)](_0x4dff15['IUndoRedoService']),_0x1c3358=_0x23a907[_0x2f3a59(0x166)](),_0x2d61e0=new _0x11b56b()['updateViewConfig'](_0x1c3358,_0x2811d6,_0x45cb34,_0x303ce0),_0x4a81a0=new _0x4ddc63()['invertOp'](_0x1c3358,_0x2d61e0),_0xca234e={'unitId':_0x2ed009,'op':_0x2d61e0},_0x1ae9ba={'unitId':_0x2ed009,'op':_0x4a81a0};return _0x463f5a['syncExecuteCommand'](_0x4f6ebe['id'],_0xca234e)?(_0x3ae02d['focusUnit'](_0x2ed009),_0x3b1e5d['pushUndoRedo']({'unitID':_0x2ed009,'undoMutations':[{'id':_0x4f6ebe['id'],'params':_0x1ae9ba}],'redoMutations':[{'id':_0x4f6ebe['id'],'params':_0xca234e}]}),!0x0):!0x1;}},_0x120454={'id':_0x565318(0x3be),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x285)],'handler'(_0x19aea6,_0x3cb36c){const _0x2a05f3=_0x565318;if(!_0x3cb36c)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x1ffe7f=_0x19aea6[_0x2a05f3(0x2fe)](_0x4dff15[_0x2a05f3(0x497)])[_0x2a05f3(0x21d)](_0x3cb36c[_0x2a05f3(0x1ca)],_0x4dff15[_0x2a05f3(0x125)][_0x2a05f3(0x4fb)]),_0x465bd4=_0x1ffe7f==null?void 0x0:_0x1ffe7f[_0x2a05f3(0x166)](),_0x161871=_0x465bd4==null?void 0x0:_0x465bd4[_0x2a05f3(0x257)][_0x3cb36c['tableId']];return!_0x465bd4||!_0x161871?{'valid':!0x1,'reason':_0x2a05f3(0x368)}:new _0x218cb8()[_0x2a05f3(0x132)](_0x3cb36c[_0x2a05f3(0xc6)],_0x161871,{'snapshot':_0x465bd4});}},_0x30d3ba=class extends _0x4dff15[_0x565318(0x241)]{constructor(_0x32bcb2){const _0x3f88ba=_0x565318;super(_0x32bcb2,_0x3f88ba(0x3e5),_0x4dff15[_0x3f88ba(0x125)][_0x3f88ba(0x4fb)],[_0x7620fc[_0x3f88ba(0x1ac)][_0x3f88ba(0x20a)],_0x7620fc['UnitObject'][_0x3f88ba(0x191)],_0x7620fc[_0x3f88ba(0x1ac)][_0x3f88ba(0xdf)],_0x7620fc[_0x3f88ba(0x1ac)][_0x3f88ba(0x280)],_0x7620fc['UnitObject'][_0x3f88ba(0x143)]]);}};_0x30d3ba=_0x5e2ef6([_0x10e58b(0x0,_0x4dff15[_0x565318(0x326)])],_0x30d3ba);let _0x187cd2={'id':_0x565318(0x3d0),'type':_0x4dff15['CommandType']['MUTATION'],'handler':(_0x93ae4c,_0x3ad7b4)=>!_0x3ad7b4||!_0x93ae4c['get'](_0x4dff15[_0x565318(0x497)])['getUnit'](_0x3ad7b4['unitId'],_0x4dff15['UniverInstanceType'][_0x565318(0x4fb)])?!0x1:_0x93ae4c[_0x565318(0x2fe)](_0x30d3ba)[_0x565318(0x2df)](_0x3ad7b4[_0x565318(0x1ca)],_0x3ad7b4[_0x565318(0x377)],_0x3ad7b4[_0x565318(0x445)],_0x3ad7b4[_0x565318(0x1b6)])},_0x4f72c7={'id':_0x565318(0x1f1),'type':_0x4dff15[_0x565318(0x38d)][_0x565318(0x4e3)],'handler':(_0x12c707,_0x51d5f4)=>!_0x51d5f4||!_0x12c707[_0x565318(0x2fe)](_0x4dff15[_0x565318(0x497)])['getUnit'](_0x51d5f4[_0x565318(0x1ca)],_0x4dff15[_0x565318(0x125)]['UNIVER_BASE'])?!0x1:_0x12c707[_0x565318(0x2fe)](_0x30d3ba)[_0x565318(0x228)](_0x51d5f4[_0x565318(0x1ca)],_0x51d5f4[_0x565318(0x29b)])};function _0x5ebe18(_0x4bce04){const _0x5860a2=_0x565318;let _0x4c86b4=_0x4bce04[_0x5860a2(0x27a)]??Date[_0x5860a2(0x27a)](),_0x344f7c=_0x4bce04[_0x5860a2(0x269)]??_0x4bce04['id']+_0x5860a2(0x311),_0x464e45=_0x4bce04[_0x5860a2(0x2f9)]??_0x4bce04['id']+_0x5860a2(0x507),_0x4ddf8e=_0x4bce04['recordCount']??0x0,_0x30365c=(0x0,_0x4dff15[_0x5860a2(0x4b3)])(),_0x18267c={'id':_0x344f7c,'name':_0x4bce04[_0x5860a2(0x2ca)]??_0x5860a2(0x40d),'type':_0x4dff15[_0x5860a2(0x352)][_0x5860a2(0x1f5)],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x2125f0={},_0x1fbab8=[],_0x25e31f={},_0xb75c25={},_0x565902={};for(let _0x2a7e85=0x0;_0x2a7e85<_0x4ddf8e;_0x2a7e85++){let _0x3ce298=_0x4bce04['id']+_0x5860a2(0x388)+(_0x2a7e85+0x1);_0x2125f0[_0x3ce298]={'id':_0x3ce298,'values':{[_0x4dff15[_0x5860a2(0x432)]]:_0x3ce298,..._0x4bce04[_0x5860a2(0x26f)]?{[_0x344f7c]:_0x4bce04['recordNamePrefix']+'\x20'+(_0x2a7e85+0x1)}:{}},'orderKey':String(_0x2a7e85+0x1)['padStart'](0x4,'0'),'createdAt':_0x4c86b4,'updatedAt':_0x4c86b4},_0x1fbab8[_0x5860a2(0xfb)](_0x3ce298),_0x25e31f[_0x3ce298]=_0x2a7e85,_0xb75c25[_0x2a7e85]=_0x3ce298,_0x565902[_0x2a7e85]={0x0:{'v':_0x3ce298,'t':_0x4dff15[_0x5860a2(0x1e3)]['STRING']}},_0x4bce04['recordNamePrefix']&&(_0x565902[_0x2a7e85][0x1]={'v':_0x4bce04[_0x5860a2(0x26f)]+'\x20'+(_0x2a7e85+0x1),'t':_0x4dff15['CellValueType'][_0x5860a2(0x496)]});}let _0x233b7e={'id':_0x464e45,'tableId':_0x4bce04['id'],'name':_0x5860a2(0x1d3),'type':_0x4dff15[_0x5860a2(0x2e9)][_0x5860a2(0x1d3)],'fieldOrder':[_0x4dff15[_0x5860a2(0x432)],_0x344f7c],'fieldSettings':{[_0x4dff15[_0x5860a2(0x432)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x4bce04['id'],'name':_0x4bce04['name'],'primaryFieldId':_0x344f7c,'fieldOrder':[_0x4dff15[_0x5860a2(0x432)],_0x344f7c],'fields':{[_0x4dff15[_0x5860a2(0x432)]]:_0x30365c,[_0x344f7c]:_0x18267c},'records':_0x2125f0,'recordOrder':_0x1fbab8,'rowIndex':_0x25e31f,'rowId':_0xb75c25,'colIndex':{[_0x4dff15[_0x5860a2(0x432)]]:0x0,[_0x344f7c]:0x1},'colId':{0x0:_0x4dff15[_0x5860a2(0x432)],0x1:_0x344f7c},'cellData':_0x565902,'views':{[_0x464e45]:_0x233b7e},'viewOrder':[_0x464e45]};}let _0x87800f=_0x565318(0xde);function _0x6ccd09(_0x2a1e24){const _0xe2b06d=_0x565318;let _0x3287b4=_0x5ebe18({'id':_0x2a1e24[_0xe2b06d(0x316)],'name':_0x2a1e24[_0xe2b06d(0x177)]??_0x2a1e24[_0xe2b06d(0x308)],'recordCount':0x0});return{..._0x3287b4,'resources':{..._0x3287b4[_0xe2b06d(0x299)]??{},[_0x87800f]:_0x52efbb(_0x2a1e24)}};}function _0x1d3748(_0xae769c){const _0x408372=_0x565318;return{'id':_0x4f6ebe['id'],'params':{'unitId':_0xae769c[_0x408372(0x1ca)],'op':_0x4dff15[_0x408372(0x444)][_0x408372(0x1dd)][_0x408372(0x39f)](_0x4dff15['JSON1'][_0x408372(0x369)]([_0x408372(0x257),_0xae769c[_0x408372(0x37e)]['id']],_0xae769c[_0x408372(0x37e)]),_0x4dff15[_0x408372(0x444)]['insertOp'](['tableOrder',_0xae769c[_0x408372(0x359)]??_0xae769c[_0x408372(0x42c)]['tableOrder'][_0x408372(0xac)]],_0xae769c[_0x408372(0x37e)]['id'])),'trigger':_0x408372(0x12f)}};}function _0x5c4439(_0x458a14){const _0x79b1c7=_0x565318;let _0x49b2ed=_0x458a14['snapshot'][_0x79b1c7(0x1a4)][_0x79b1c7(0x321)](_0x458a14[_0x79b1c7(0x222)]);if(!(!_0x458a14[_0x79b1c7(0x42c)][_0x79b1c7(0x257)][_0x458a14[_0x79b1c7(0x222)]]||_0x49b2ed<0x0))return{'id':_0x4f6ebe['id'],'params':{'unitId':_0x458a14[_0x79b1c7(0x1ca)],'op':_0x4dff15[_0x79b1c7(0x444)][_0x79b1c7(0x1dd)]['compose'](_0x4dff15['JSON1']['removeOp']([_0x79b1c7(0x257),_0x458a14[_0x79b1c7(0x222)]],_0x458a14['snapshot'][_0x79b1c7(0x257)][_0x458a14[_0x79b1c7(0x222)]]),_0x4dff15[_0x79b1c7(0x444)]['removeOp'](['tableOrder',_0x49b2ed],_0x458a14['tableId'])),'trigger':_0x79b1c7(0x12f)}};}function _0x52efbb(_0x55557e){const _0x4e3dcf=_0x565318;return{'version':0x1,'embedId':_0x55557e[_0x4e3dcf(0x308)],'hostAnchorId':_0x55557e['hostAnchorId'],'childUnitId':_0x55557e[_0x4e3dcf(0x27c)],'childType':_0x55557e[_0x4e3dcf(0x35f)]};}function _0x52264a(_0x3902c8){const _0x4d9b59=_0x565318;let _0xb2d8db=Math[_0x4d9b59(0x10a)](0x0,Number(_0x3902c8[_0x4d9b59(0xbf)]??0x0)),_0x4f62cc=_0x3902c8[_0x4d9b59(0x242)]===!0x1?'0':'#,##0',_0x4dfe45=_0xb2d8db?'.'+'0'[_0x4d9b59(0xeb)](_0xb2d8db):'',_0xc7056a=_0x457b3c(_0x3902c8[_0x4d9b59(0x4cf)]);return''+(_0x3902c8[_0x4d9b59(0x4a8)]?_0x3177f1(_0x3902c8[_0x4d9b59(0x4a8)]):'')+_0x4f62cc+_0x4dfe45+_0xc7056a;}function _0x42a9f7(_0x85c101,_0x10b75c){const _0x19cfab=_0x565318;let _0x4b895b=_0x52264a(_0x10b75c),_0x1bec93=_0x4dff15[_0x19cfab(0x426)][_0x19cfab(0x15d)](_0x4b895b,_0x85c101,{'throws':!0x1});return _0x43a30d(String(_0x1bec93),_0x10b75c['separatorStyle'],_0x10b75c[_0x19cfab(0x29c)]);}function _0x457b3c(_0x88c320){const _0x3da8ae=_0x565318;return _0x88c320==='K'?_0x3da8ae(0x1c8):_0x88c320==='M'?_0x3da8ae(0x113):_0x88c320==='B'?_0x3da8ae(0x370):'';}function _0x3177f1(_0x1cbed9){const _0x4e3510=_0x565318;return/^[A-Z]+$/i[_0x4e3510(0x2b8)](_0x1cbed9)?'\x22'+_0x1cbed9+'\x22':_0x1cbed9;}function _0x43a30d(_0x5ca15e,_0x162c56,_0x16bc8b){const _0x5dfb2a=_0x565318;let _0x5ea254=_0x162c56===_0x5dfb2a(0x2f4)?_0x499606(_0x16bc8b):_0x162c56;return _0x5ea254===_0x5dfb2a(0x174)?_0x5ca15e[_0x5dfb2a(0x362)](/,/g,'\x00')[_0x5dfb2a(0x362)](/\./g,',')[_0x5dfb2a(0x362)](/\0/g,'.'):_0x5ea254===_0x5dfb2a(0x29a)?_0x5ca15e[_0x5dfb2a(0x362)](/,/g,'\x20')['replace'](/\./g,','):_0x5ea254==='spacePeriod'?_0x5ca15e[_0x5dfb2a(0x362)](/,/g,'\x20'):_0x5ca15e;}function _0x499606(_0x4ec6e3){const _0x4c46e1=_0x565318;var _0xd63ac3,_0x4660f2;let _0x466444=_0x4ec6e3||new Intl[(_0x4c46e1(0x16e))]()[_0x4c46e1(0x428)]()[_0x4c46e1(0x29c)],_0x461b0d;try{_0x461b0d=new Intl['NumberFormat'](_0x466444,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x4c46e1(0x455);}let _0x391de9=(_0xd63ac3=_0x461b0d['find'](_0xe00e89=>_0xe00e89['type']===_0x4c46e1(0x195)))==null?void 0x0:_0xd63ac3[_0x4c46e1(0x3a9)],_0x1f7bb0=(_0x4660f2=_0x461b0d[_0x4c46e1(0x3f5)](_0x31e4b0=>_0x31e4b0[_0x4c46e1(0x1dd)]===_0x4c46e1(0xb7)))==null?void 0x0:_0x4660f2[_0x4c46e1(0x3a9)],_0x2ddfbd=_0x391de9==='\u00a0'||_0x391de9==='\u202f'?'\x20':_0x391de9;return _0x2ddfbd==='.'&&_0x1f7bb0===','?'periodComma':_0x2ddfbd==='\x20'&&_0x1f7bb0===','?_0x4c46e1(0x29a):_0x2ddfbd==='\x20'&&_0x1f7bb0==='.'?_0x4c46e1(0x19c):'commaPeriod';}function _0x170a8b(_0x200180,_0x200e7b){const _0x2a3c0f=_0x565318;let _0x15b286=_0x200e7b&&typeof _0x200e7b=='object'&&!Array[_0x2a3c0f(0x1eb)](_0x200e7b)?_0x200e7b:{},_0x38a810=_0x3393b0(_0x15b286['decimalPlaces'],0x0,0x2,0x0),_0x3fffa2=_0x200180[_0x2a3c0f(0x4d4)](_0x38a810);return _0x15b286[_0x2a3c0f(0x15d)]===_0x2a3c0f(0x4cd)?_0x3fffa2:_0x3fffa2+'%';}function _0x3393b0(_0x31a270,_0x237e78,_0x661485,_0x100584){const _0x4d1ef7=_0x565318;if(_0x31a270==null||_0x31a270==='')return _0x100584;let _0xffa9e1=typeof _0x31a270==_0x4d1ef7(0x4cd)?_0x31a270:Number(_0x31a270);return Number['isFinite'](_0xffa9e1)?Math[_0x4d1ef7(0x10a)](_0x237e78,Math[_0x4d1ef7(0x3b0)](_0x661485,Math[_0x4d1ef7(0x3e9)](_0xffa9e1))):_0x100584;}let _0x15f60e=['count',_0x565318(0x2c2),_0x565318(0x2a6),_0x565318(0xb3),_0x565318(0x2e2),_0x565318(0x2cd),_0x565318(0x3b0),_0x565318(0x10a)],_0x4412a1=['count',_0x565318(0x2c2),_0x565318(0x2a6),_0x565318(0xb3)],_0x5dded2=['sum','average',_0x565318(0x3b0),_0x565318(0x10a)],_0x475b1b=[_0x565318(0x3b0),_0x565318(0x10a)],_0x3f3c06=new Set([_0x4dff15[_0x565318(0x352)][_0x565318(0x170)],_0x4dff15[_0x565318(0x352)][_0x565318(0x229)],_0x4dff15['BaseFieldType'][_0x565318(0x162)],_0x4dff15['BaseFieldType'][_0x565318(0x130)]]),_0x57d657=new Set([_0x4dff15[_0x565318(0x352)][_0x565318(0x23e)],_0x4dff15[_0x565318(0x352)][_0x565318(0x1a1)],_0x4dff15[_0x565318(0x352)][_0x565318(0x4eb)]]),_0x2ddfca='General';function _0x2b9e10(_0x566e43){const _0x1b95d7=_0x565318;return typeof _0x566e43==_0x1b95d7(0x17d)&&_0x15f60e[_0x1b95d7(0x3d2)](_0x566e43);}function _0x1803a0(_0x73a51e){const _0x3777cd=_0x565318;return!_0x73a51e||typeof _0x73a51e!=_0x3777cd(0x35c)?{}:Object['fromEntries'](Object[_0x3777cd(0x2b1)](_0x73a51e)[_0x3777cd(0x2ee)](_0x2fe904=>_0x2b9e10(_0x2fe904[0x1])));}function _0x24e26b(_0x36d188){const _0x511295=_0x565318;return _0x3f3c06[_0x511295(0x336)](_0x36d188[_0x511295(0x1dd)])?[..._0x4412a1,..._0x5dded2]:_0x36d188[_0x511295(0x1dd)]===_0x4dff15['BaseFieldType'][_0x511295(0x2a8)]?[..._0x4412a1,..._0x3ebb18(_0x36d188)===_0x511295(0xf3)?_0x475b1b:_0x5dded2]:_0x4412a1;}function _0x5aa1e2(_0x55ca24,_0x435a90){const _0x4cf334=_0x565318;return _0x24e26b(_0x55ca24)[_0x4cf334(0x3d2)](_0x435a90);}function _0x32157c(_0x3f6ac7,_0x1b0517,_0x7fc610){const _0x4dd5d8=_0x565318;if(!_0x5aa1e2(_0x3f6ac7,_0x7fc610))return null;let _0x1f0338=_0x1b0517[_0x4dd5d8(0x2ee)](_0x1b608b=>!_0xd617a3(_0x3f6ac7,_0x1b608b));switch(_0x7fc610){case _0x4dd5d8(0x16f):return _0x1b0517[_0x4dd5d8(0xac)];case _0x4dd5d8(0x2c2):return _0x1f0338[_0x4dd5d8(0xac)];case _0x4dd5d8(0x2a6):return _0x1b0517['length']-_0x1f0338['length'];case'unique':return new Set(_0x1f0338[_0x4dd5d8(0x2e7)](_0x4e4654=>_0x1cab11(_0x3f6ac7,_0x4e4654)))[_0x4dd5d8(0x4b4)];case _0x4dd5d8(0x2e2):{let _0x2cba81=_0x5dc09e(_0x3f6ac7,_0x1f0338);return _0x2cba81[_0x4dd5d8(0xac)]?_0x31b41f(_0x2cba81):null;}case'average':{let _0x1efe9c=_0x5dc09e(_0x3f6ac7,_0x1f0338);return _0x1efe9c[_0x4dd5d8(0xac)]?_0x31b41f(_0x1efe9c)/_0x1efe9c[_0x4dd5d8(0xac)]:null;}case _0x4dd5d8(0x3b0):{let _0x204245=_0x5dc09e(_0x3f6ac7,_0x1f0338);return _0x204245['length']?Math['min'](..._0x204245):null;}case _0x4dd5d8(0x10a):{let _0x2aa7bc=_0x5dc09e(_0x3f6ac7,_0x1f0338);return _0x2aa7bc[_0x4dd5d8(0xac)]?Math[_0x4dd5d8(0x10a)](..._0x2aa7bc):null;}}}function _0x5e9177(_0x3487f1,_0x409807,_0x44259c){const _0x130182=_0x565318;if(_0x44259c==null||!Number['isFinite'](_0x44259c))return'-';if(_0x4412a1[_0x130182(0x3d2)](_0x409807))return String(_0x44259c);switch(_0x3487f1[_0x130182(0x1dd)]){case _0x4dff15['BaseFieldType']['Number']:return _0x42a9f7(_0x44259c,_0x272415(_0x3487f1));case _0x4dff15[_0x130182(0x352)][_0x130182(0x229)]:return _0x42a9f7(_0x44259c,_0x109a12(_0x3487f1));case _0x4dff15[_0x130182(0x352)]['Progress']:return _0x170a8b(_0x44259c,_0x3487f1['config']);case _0x4dff15[_0x130182(0x352)][_0x130182(0x2a8)]:return _0x94509e(_0x44259c,_0x3487f1);default:return _0x1e036a(_0x44259c);}}function _0xd617a3(_0x3fcf91,_0x229097){const _0xeee0d3=_0x565318;if(_0x229097==null)return!0x0;if(typeof _0x229097=='string')return _0x229097[_0xeee0d3(0x3b1)]()==='';if(Array[_0xeee0d3(0x1eb)](_0x229097))return _0x3fcf91['type']===_0x4dff15[_0xeee0d3(0x352)][_0xeee0d3(0x136)]?!_0x229097[_0xeee0d3(0x1a5)](_0x19c42f):_0x229097[_0xeee0d3(0xac)]===0x0;if(_0x3fcf91[_0xeee0d3(0x1dd)]===_0x4dff15[_0xeee0d3(0x352)][_0xeee0d3(0x33f)]&&typeof _0x229097==_0xeee0d3(0x35c)){let _0x370fbb=_0x229097;return[_0x370fbb['text'],_0x370fbb['url']][_0xeee0d3(0x1fd)](_0x263d2b=>_0x263d2b==null||String(_0x263d2b)['trim']()==='');}return!0x1;}function _0x5dc09e(_0x30024b,_0x365dcd){const _0x34d960=_0x565318;let _0x4d4434=[];for(let _0x5d9e7b of _0x365dcd){let _0x4fbed3=_0x212b85(_0x30024b,_0x5d9e7b);_0x4fbed3!=null&&_0x4d4434[_0x34d960(0xfb)](_0x4fbed3);}return _0x4d4434;}function _0x212b85(_0x2ff4ab,_0x3ac014){const _0xbaa929=_0x565318;if(typeof _0x3ac014=='number')return Number[_0xbaa929(0x217)](_0x3ac014)?_0x3ac014:null;if(_0x2ff4ab['type']!==_0x4dff15['BaseFieldType'][_0xbaa929(0x2a8)]&&typeof _0x3ac014=='string'&&_0x3ac014[_0xbaa929(0x3b1)]()!==''){let _0x4e7614=Number(_0x3ac014);return Number['isFinite'](_0x4e7614)?_0x4e7614:null;}return null;}function _0x31b41f(_0x21e820){const _0x54abac=_0x565318;let _0x4cc961=0x0,_0x325ed2=0x0;for(let _0x22d9ed of _0x21e820){let _0x142367=_0x4cc961+_0x22d9ed;_0x325ed2+=Math[_0x54abac(0x290)](_0x4cc961)>=Math[_0x54abac(0x290)](_0x22d9ed)?_0x4cc961-_0x142367+_0x22d9ed:_0x22d9ed-_0x142367+_0x4cc961,_0x4cc961=_0x142367;}return _0x4cc961+_0x325ed2;}function _0x1cab11(_0x5f1085,_0xdd15db){const _0xfeb6a3=_0x565318;return _0x57d657[_0xfeb6a3(0x336)](_0x5f1085['type'])&&Array['isArray'](_0xdd15db)?_0x56d344([...new Set(_0xdd15db[_0xfeb6a3(0x2e7)](_0x4f6c6b=>_0x56d344(_0x49e5a6(_0x4f6c6b))))]['sort']()):_0x56d344(_0x49e5a6(_0xdd15db));}function _0x49e5a6(_0xe206f){const _0x1ad3e1=_0x565318;return Array[_0x1ad3e1(0x1eb)](_0xe206f)?_0xe206f[_0x1ad3e1(0x2e7)](_0x49e5a6):_0xe206f&&typeof _0xe206f==_0x1ad3e1(0x35c)?Object['fromEntries'](Object[_0x1ad3e1(0x2b1)](_0xe206f)['sort'](([_0x17c47f],[_0x364000])=>_0x17c47f[_0x1ad3e1(0xcb)](_0x364000))[_0x1ad3e1(0x2e7)](([_0x21d60a,_0x4af322])=>[_0x21d60a,_0x49e5a6(_0x4af322)])):_0xe206f;}function _0x56d344(_0x48a852){const _0x5e2733=_0x565318;return JSON[_0x5e2733(0x2ea)](_0x48a852)??_0x5e2733(0x1d0);}function _0x19c42f(_0x11d751){const _0x317c6c=_0x565318;if(typeof _0x11d751==_0x317c6c(0x17d))return _0x11d751[_0x317c6c(0x3b1)]()!=='';if(!_0x11d751||typeof _0x11d751!=_0x317c6c(0x35c))return!0x1;let _0x405d4e=_0x11d751;return[_0x405d4e['id'],_0x405d4e['name'],_0x405d4e[_0x317c6c(0x126)],_0x405d4e[_0x317c6c(0x28b)],_0x405d4e['thumbnail']][_0x317c6c(0x1a5)](_0x3b20d7=>_0x3b20d7!=null&&String(_0x3b20d7)[_0x317c6c(0x3b1)]()!=='');}function _0x272415(_0x213102){const _0x2b518f=_0x565318;let _0x28aad1=_0x3dc3e7(_0x213102[_0x2b518f(0x2c6)]);return{'decimalPlaces':_0x5e1211(_0x28aad1[_0x2b518f(0xbf)],0x0,0x14,0x2),'separatorStyle':typeof _0x28aad1[_0x2b518f(0x4ef)]=='string'?_0x28aad1[_0x2b518f(0x4ef)]:_0x2b518f(0x2f4),'locale':typeof _0x28aad1[_0x2b518f(0x29c)]==_0x2b518f(0x17d)?_0x28aad1[_0x2b518f(0x29c)]:void 0x0,'useThousands':_0x28aad1[_0x2b518f(0x242)]!==!0x1,'abbreviation':typeof _0x28aad1[_0x2b518f(0x4cf)]==_0x2b518f(0x17d)?_0x28aad1[_0x2b518f(0x4cf)]:_0x2b518f(0x3ea)};}function _0x109a12(_0x3dfbab){const _0x285f31=_0x565318;let _0x56a281=_0x3dc3e7(_0x3dfbab[_0x285f31(0x2c6)]);return{..._0x272415(_0x3dfbab),'currencySymbol':String(_0x56a281[_0x285f31(0x4a8)]??'$')};}function _0x94509e(_0x3e10b6,_0x4d8e51){const _0x54578b=_0x565318;let _0x1d926b=_0x302a1e(_0x4d8e51);if(_0x1d926b===_0x2ddfca)return _0x1e036a(_0x3e10b6);try{return String(_0x4dff15[_0x54578b(0x426)]['format'](_0x1d926b,_0x3e10b6,{'throws':!0x1}));}catch{return _0x1e036a(_0x3e10b6);}}function _0x3ebb18(_0x556644){const _0x569a4b=_0x565318;let _0x5944e1=_0x3dc3e7(_0x3dc3e7(_0x556644[_0x569a4b(0x2c6)])[_0x569a4b(0x426)]);return typeof _0x5944e1[_0x569a4b(0x1dd)]==_0x569a4b(0x17d)?_0x5944e1[_0x569a4b(0x1dd)]:_0x569a4b(0x4a3);}function _0x302a1e(_0x1e4cad){const _0x1b2ce2=_0x565318;let _0x11d3d8=_0x3dc3e7(_0x3dc3e7(_0x1e4cad[_0x1b2ce2(0x2c6)])[_0x1b2ce2(0x426)]);return String(_0x11d3d8[_0x1b2ce2(0x3a5)]??_0x2ddfca)[_0x1b2ce2(0x3b1)]()||_0x2ddfca;}function _0x1e036a(_0x4bb815){const _0xa3d49f=_0x565318;return String(Number['isInteger'](_0x4bb815)?_0x4bb815:Math[_0xa3d49f(0x3e9)]((_0x4bb815+0x2**-0x34)*0x64)/0x64);}function _0x3dc3e7(_0x3c5885){const _0x48a046=_0x565318;return _0x3c5885&&typeof _0x3c5885=='object'&&!Array[_0x48a046(0x1eb)](_0x3c5885)?_0x3c5885:{};}function _0x583480(_0x1c80af){const _0x4b35fc=_0x565318;if(_0x1c80af==null||_0x1c80af==='')return null;let _0xa53e90=typeof _0x1c80af=='number'?_0x1c80af:Number(_0x1c80af);return Number[_0x4b35fc(0x217)](_0xa53e90)?_0xa53e90:null;}function _0x5e1211(_0x8cf134,_0x3a5cb8,_0x9ac997,_0x24253e){const _0x365974=_0x565318;let _0x59d2a0=_0x583480(_0x8cf134);return _0x59d2a0==null?_0x24253e:Math[_0x365974(0x10a)](_0x3a5cb8,Math[_0x365974(0x3b0)](_0x9ac997,Math[_0x365974(0x3e9)](_0x59d2a0)));}function _0x5cf311(_0x551c23,_0x3620bf){const _0x497e88=_0x565318;let _0x48fe30=_0x4dff15['Tools'][_0x497e88(0x295)](_0x551c23),_0x213790=_0x3620bf[_0x497e88(0x506)]===!0x0,_0x4c66af=new Map(),_0x2f6271=_0x3620bf['createViewId']??(()=>_0x497e88(0xdb)+(0x0,_0x4dff15['generateRandomId'])(0x8)),_0x154902=_0x48fe30[_0x497e88(0x45e)];return _0x3620bf[_0x497e88(0x1f9)]&&(_0x154902=_0x48fe30[_0x497e88(0x45e)]['map'](_0x284a84=>{let _0x27374c=_0x2f6271();return _0x4c66af['set'](_0x284a84,_0x27374c),_0x27374c;})),{..._0x48fe30,'id':_0x3620bf['id'],'name':_0x3620bf[_0x497e88(0x177)],'records':_0x213790?_0x48fe30[_0x497e88(0x17e)]:{},'recordOrder':_0x213790?_0x48fe30[_0x497e88(0x135)]:[],'rowIndex':_0x213790?_0x48fe30[_0x497e88(0x1d4)]:{},'rowId':_0x213790?_0x48fe30[_0x497e88(0x460)]:{},'cellData':_0x213790?_0x48fe30[_0x497e88(0x1a0)]:{},'resources':_0x213790?_0x48fe30[_0x497e88(0x299)]:{},'viewOrder':_0x154902,'views':Object[_0x497e88(0x2cc)](Object[_0x497e88(0x2b1)](_0x48fe30[_0x497e88(0x353)]??{})[_0x497e88(0x2e7)](([_0x969d21,_0x221ef7])=>{const _0x5b2039=_0x497e88;let _0x1f3ee3=_0x4c66af[_0x5b2039(0x2fe)](_0x969d21)??(_0x3620bf[_0x5b2039(0x1f9)]?_0x2f6271():_0x969d21);return[_0x1f3ee3,{..._0x221ef7,'id':_0x1f3ee3,'tableId':_0x3620bf['id']}];}))};}var _0x57eaaf=_0x565318(0x1a6),_0x24b61f=_0x565318(0x34b);let _0x196d0b={},_0x2ba523={};function _0x493522(_0x4a1bf4){const _0x3fa8d0=_0x565318;return new _0x4ddc63()[_0x3fa8d0(0xe8)](_0x4a1bf4);}function _0x59789f(_0x4fa59e){const _0x580e1c=_0x565318;return _0x4fa59e['patches'][_0x580e1c(0x2e7)](_0x438a70=>({'unitId':_0x4fa59e[_0x580e1c(0x1ca)],'sheetId':_0x4fa59e['tableId'],'range':{'startRow':_0x438a70[_0x580e1c(0xa9)],'endRow':_0x438a70[_0x580e1c(0xa9)],'startColumn':_0x438a70[_0x580e1c(0x395)],'endColumn':_0x438a70['col']}}));}function _0x39a8f1(_0x2f280e,_0x36f4e5){const _0x55f55f=_0x565318;return{[_0x2f280e]:Object[_0x55f55f(0x2cc)](_0x36f4e5[_0x55f55f(0x2e7)](_0x4441d3=>[_0x4441d3,'1']))};}let _0x4f9213=class extends _0x4dff15[_0x565318(0x4b6)]{constructor(_0x33fdfc,_0x290d41){const _0x4b09f6=_0x565318;super(),this[_0x4b09f6(0x1bf)]=_0x33fdfc,this[_0x4b09f6(0x325)]=_0x290d41,this[_0x4b09f6(0x3a6)]();}[_0x565318(0x3a6)](){const _0x4788d3=_0x565318;this[_0x4788d3(0x1bf)][_0x4788d3(0x15e)](_0x4f6ebe['id'],{'commandId':_0x4f6ebe['id'],'getDirtyData':_0x4b1595=>this[_0x4788d3(0x3e6)](_0x4b1595[_0x4788d3(0x3c5)])}),this[_0x4788d3(0x272)]((0x0,_0x4dff15[_0x4788d3(0xd3)])(()=>{const _0x5d6d50=_0x4788d3;this[_0x5d6d50(0x1bf)]['remove'](_0x4f6ebe['id']);}));}[_0x565318(0x240)](_0x19a0dd,_0x9c092f){const _0x335229=_0x565318;let _0x4ad5dd=this['_univerInstanceService']['getUnit'](_0x19a0dd,_0x4dff15[_0x335229(0x125)][_0x335229(0x4fb)]);return(_0x4ad5dd==null?void 0x0:_0x4ad5dd['getSnapshot']()[_0x335229(0x257)][_0x9c092f])??null;}[_0x565318(0x3e6)](_0x2ba429){const _0x21fc23=_0x565318;if(_0x2ba429[_0x21fc23(0x4bc)]===_0x21fc23(0x49c))return{};if(!_0x2ba429[_0x21fc23(0x1ca)]||!_0x2ba429['op'])return{'clearDependencyTreeCache':this[_0x21fc23(0x1f7)](),'forceCalculation':!0x0};let _0x1650fe=_0x493522(_0x2ba429['op']),_0x34f024=this[_0x21fc23(0x31c)](_0x2ba429[_0x21fc23(0x1ca)],_0x1650fe);if(_0x34f024[_0x21fc23(0xac)])return{'clearDependencyTreeCache':_0x39a8f1(_0x2ba429[_0x21fc23(0x1ca)],_0x34f024),'forceCalculation':!0x0};let _0x102bf9=Object[_0x21fc23(0x2b1)](this['_groupCellInvalidations'](_0x2ba429[_0x21fc23(0x1ca)],_0x1650fe))[_0x21fc23(0x3d1)](([_0x4ea6cf,_0x225476])=>_0x59789f({'unitId':_0x2ba429[_0x21fc23(0x1ca)],'tableId':_0x4ea6cf,'patches':_0x225476}));return _0x102bf9[_0x21fc23(0xac)]?{'dirtyRanges':_0x102bf9}:{};}['_getStructureDirtyTableIds'](_0x14719a,_0x2e636c){const _0x33a157=_0x565318;let _0x4c937a=_0x2e636c[_0x33a157(0x2ee)](_0xf9e39=>_0xf9e39[_0x33a157(0x22d)]!==_0x33a157(0x381))['flatMap'](_0x3c08d1=>_0x3c08d1[_0x33a157(0x222)]?[_0x3c08d1['tableId']]:this[_0x33a157(0x1a9)](_0x14719a));return Array[_0x33a157(0x397)](new Set(_0x4c937a));}[_0x565318(0x3bb)](_0x6713bd,_0x4c1315){const _0x4f61ce=_0x565318;let _0x13364e=new Set();return _0x4c1315[_0x4f61ce(0x3b8)]((_0x4bfbfc,_0x402c70)=>{const _0x4b5aa1=_0x4f61ce;let _0x1274ae=this[_0x4b5aa1(0x1cc)](_0x6713bd,_0x402c70);if(!_0x1274ae)return _0x4bfbfc;let _0x3195d7=_0x402c70[_0x4b5aa1(0x222)]+':'+_0x1274ae['row']+':'+_0x1274ae[_0x4b5aa1(0x395)];return _0x13364e[_0x4b5aa1(0x336)](_0x3195d7)?_0x4bfbfc:(_0x13364e['add'](_0x3195d7),_0x4bfbfc[_0x402c70[_0x4b5aa1(0x222)]]=_0x4bfbfc[_0x402c70[_0x4b5aa1(0x222)]]??[],_0x4bfbfc[_0x402c70[_0x4b5aa1(0x222)]][_0x4b5aa1(0xfb)](_0x1274ae),_0x4bfbfc);},{});}['_toDirtyRangePatch'](_0x4ca19a,_0x5d7bf3){const _0x4e4588=_0x565318;if(_0x5d7bf3['reason']!=='cell')return null;if(_0x5d7bf3[_0x4e4588(0xa9)]!=null&&_0x5d7bf3['column']!=null)return{'row':_0x5d7bf3[_0x4e4588(0xa9)],'col':_0x5d7bf3[_0x4e4588(0x34d)],'value':null};if(!_0x5d7bf3[_0x4e4588(0x3e1)]||!_0x5d7bf3[_0x4e4588(0x351)])return null;let _0x2716a5=this[_0x4e4588(0x240)](_0x4ca19a,_0x5d7bf3['tableId']);if(!_0x2716a5)return null;let _0x59bc49=_0x130a46(_0x2716a5,_0x5d7bf3[_0x4e4588(0x3e1)],_0x5d7bf3[_0x4e4588(0x351)]);return _0x59bc49?{'row':_0x59bc49[_0x4e4588(0xa9)],'col':_0x59bc49['col'],'value':null}:null;}[_0x565318(0x1a9)](_0x49cb19){const _0x521501=_0x565318;let _0x357b09=this[_0x521501(0x325)][_0x521501(0x21d)](_0x49cb19,_0x4dff15[_0x521501(0x125)][_0x521501(0x4fb)]);return Object[_0x521501(0x3dd)]((_0x357b09==null?void 0x0:_0x357b09[_0x521501(0x166)]()[_0x521501(0x257)])??{})[_0x521501(0x2e7)](_0x39d26a=>_0x39d26a['id']);}[_0x565318(0x1f7)](){const _0x659d86=_0x565318;let _0x12328f=this[_0x659d86(0x325)][_0x659d86(0x4e8)](_0x4dff15[_0x659d86(0x125)][_0x659d86(0x4fb)])[_0x659d86(0x2e7)](_0x132cdd=>_0x39a8f1(_0x132cdd['getUnitId'](),Object[_0x659d86(0x446)](_0x132cdd['getSnapshot']()['tables'])));return Object['assign']({},..._0x12328f);}};_0x4f9213=_0x5e2ef6([_0x10e58b(0x0,_0x5a0085['IActiveDirtyManagerService']),_0x10e58b(0x1,_0x4dff15[_0x565318(0x497)])],_0x4f9213);let _0x1f02de=class extends _0x4dff15['Disposable']{constructor(_0x14aded,_0x25a189,_0x34ad72,_0x2fa62e){const _0x257ecd=_0x565318;super(),this['_commandService']=_0x14aded,this['_univerInstanceService']=_0x25a189,this[_0x257ecd(0x225)]=_0x34ad72,this[_0x257ecd(0x14e)]=_0x2fa62e,_0x446da5(this,_0x257ecd(0x35d),new _0x218cb8()),_0x446da5(this,_0x257ecd(0x2d8),new Map()),_0x446da5(this,_0x257ecd(0x265),new Set()),_0x446da5(this,'_formulaSyncQueue',Promise[_0x257ecd(0x320)]()),_0x446da5(this,_0x257ecd(0x331),!0x1),this[_0x257ecd(0x3a6)]();}[_0x565318(0x3a6)](){const _0x65cb49=_0x565318;this[_0x65cb49(0x325)][_0x65cb49(0x4e8)](_0x4dff15[_0x65cb49(0x125)][_0x65cb49(0x4fb)])['forEach'](_0x5305d3=>{const _0x3c3b66=_0x65cb49;this[_0x3c3b66(0x31f)](_0x5305d3);}),this[_0x65cb49(0x272)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4dff15[_0x65cb49(0x125)][_0x65cb49(0x4fb)])[_0x65cb49(0xf2)](({unit:_0x3bc8db})=>{const _0x556c96=_0x65cb49;this[_0x556c96(0x31f)](_0x3bc8db);})),this[_0x65cb49(0x272)](this['_univerInstanceService'][_0x65cb49(0x189)](_0x4dff15[_0x65cb49(0x125)][_0x65cb49(0x4fb)])[_0x65cb49(0xf2)](_0x434dcf=>{const _0x26761e=_0x65cb49;this[_0x26761e(0x339)](()=>this[_0x26761e(0x1b9)](_0x434dcf[_0x26761e(0x197)]()));})),this[_0x65cb49(0x272)](this[_0x65cb49(0x38e)][_0x65cb49(0x137)](_0x35fbfb=>this[_0x65cb49(0x4ee)](_0x35fbfb)));}[_0x565318(0x4ee)](_0x310338){const _0x2184df=_0x565318;if(_0x310338['id']===_0x5a0085[_0x2184df(0x40b)]['id']){_0x2c9342(_0x310338['params'])&&this[_0x2184df(0x495)](_0x310338['params']);return;}if(this[_0x2184df(0x331)]||_0x310338['id']!==_0x4f6ebe['id'])return;let _0x5877fa=_0x511672(_0x310338[_0x2184df(0x3c5)])?_0x310338[_0x2184df(0x3c5)]:void 0x0,_0x32b058=_0x5877fa!=null&&_0x5877fa[_0x2184df(0x1ca)]?[this[_0x2184df(0x325)][_0x2184df(0x21d)](_0x5877fa[_0x2184df(0x1ca)],_0x4dff15[_0x2184df(0x125)][_0x2184df(0x4fb)])][_0x2184df(0x2ee)](_0x100f4c=>!!_0x100f4c):this[_0x2184df(0x325)][_0x2184df(0x4e8)](_0x4dff15['UniverInstanceType']['UNIVER_BASE']),_0x427918=_0x5877fa==null?void 0x0:_0x5877fa['op'];_0x32b058['forEach'](_0x5aae90=>{const _0x26086f=_0x2184df;let _0x5407d5=_0x427918?_0x493522(_0x427918):[];(!_0x427918||_0x5407d5[_0x26086f(0x1a5)](_0x367566=>_0x367566[_0x26086f(0x22d)]!==_0x26086f(0x381)))&&this[_0x26086f(0x31f)](_0x5aae90);});}[_0x565318(0x31f)](_0x223a55){const _0x1d5b52=_0x565318;let _0x2376ef=_0x223a55['getUnitId']();this[_0x1d5b52(0x265)][_0x1d5b52(0x336)](_0x2376ef)||(this['_scheduledSuperTableSyncs'][_0x1d5b52(0x488)](_0x2376ef),this[_0x1d5b52(0x339)](async()=>{const _0x560687=_0x1d5b52;this[_0x560687(0x265)]['delete'](_0x2376ef),await this[_0x560687(0x1d6)](_0x223a55);}));}async[_0x565318(0x1d6)](_0x5f58b2){const _0x1a8170=_0x565318;let _0x55b36c=_0x5f58b2['getUnitId'](),_0x4b99fe=this[_0x1a8170(0x35d)][_0x1a8170(0x2a9)](_0x5f58b2['getSnapshot']()),_0x3eae0b=new Set(_0x4b99fe['map'](({tableName:_0x4e54a7})=>_0x4e54a7)),_0x11b918=this[_0x1a8170(0x2d8)][_0x1a8170(0x2fe)](_0x55b36c)??new Set();for(let _0x144cd2 of _0x11b918)if(!_0x3eae0b[_0x1a8170(0x336)](_0x144cd2)&&!await this[_0x1a8170(0x296)](_0x5a0085[_0x1a8170(0x493)]['id'],{'unitId':_0x55b36c,'tableName':_0x144cd2}))return;for(let {tableName:_0x3d6989,reference:_0x4acf9a}of _0x4b99fe)if(!await this[_0x1a8170(0x296)](_0x5a0085[_0x1a8170(0x504)]['id'],{'unitId':_0x55b36c,'tableName':_0x3d6989,'reference':_0x4acf9a}))return;this[_0x1a8170(0x2d8)][_0x1a8170(0xe4)](_0x55b36c,_0x3eae0b);}async[_0x565318(0x1b9)](_0x54103c){const _0x31c83d=_0x565318;let _0x34879f=this[_0x31c83d(0x2d8)][_0x31c83d(0x2fe)](_0x54103c)??new Set();for(let _0x12b18b of _0x34879f)if(!await this[_0x31c83d(0x296)](_0x5a0085[_0x31c83d(0x493)]['id'],{'unitId':_0x54103c,'tableName':_0x12b18b}))return;this[_0x31c83d(0x2d8)]['delete'](_0x54103c);}async['_executeSuperTableMutationWhileActive'](_0x400c37,_0x317e9c){const _0x4f487a=_0x565318;return!this[_0x4f487a(0x1b8)]&&await this['_commandService'][_0x4f487a(0x287)](_0x400c37,_0x317e9c,{'onlyLocal':!0x0})&&!this[_0x4f487a(0x1b8)];}[_0x565318(0x339)](_0x9a4fb7){const _0x5bf23d=_0x565318;this[_0x5bf23d(0x152)]=this[_0x5bf23d(0x152)]['then'](_0x9a4fb7,_0x9a4fb7)[_0x5bf23d(0x411)](()=>void 0x0);}[_0x565318(0x495)](_0x3e19f2){const _0x11af53=_0x565318;let _0x32560a=this[_0x11af53(0x325)][_0x11af53(0x4e8)](_0x4dff15[_0x11af53(0x125)][_0x11af53(0x4fb)]);if(!_0x32560a[_0x11af53(0x1a5)](_0x302238=>{const _0x528c15=_0x11af53;var _0x364e9f;return((_0x364e9f=_0x3e19f2[_0x528c15(0x1e8)])==null?void 0x0:_0x364e9f[_0x302238['getUnitId']()])!=null;}))return;let _0x44d857=_0x32560a[_0x11af53(0x3d1)](_0x2d050c=>_0x4ec3ba(_0x2d050c[_0x11af53(0x166)](),_0x3e19f2));if(!_0x44d857['length']){this['_formulaCalculationSessionService'][_0x11af53(0x210)](_0x10a0c7[_0x11af53(0x47e)][_0x11af53(0x1b0)],_0x3e19f2);return;}let _0x1b2343=new _0x11b56b(),_0x2ccf36=_0x44d857[_0x11af53(0x3d1)](_0x52f203=>_0x59789f({'unitId':_0x52f203['unitId'],'tableId':_0x52f203[_0x11af53(0x222)],'patches':_0x52f203['patches']}));this[_0x11af53(0x331)]=!0x0,(async()=>{const _0x3a5993=_0x11af53;for(let _0x5b7a18 of _0x44d857){let _0x160fd1=this[_0x3a5993(0x325)][_0x3a5993(0x21d)](_0x5b7a18['unitId'],_0x4dff15[_0x3a5993(0x125)][_0x3a5993(0x4fb)]);_0x160fd1&&await this[_0x3a5993(0x38e)][_0x3a5993(0x287)](_0x4f6ebe['id'],{'unitId':_0x5b7a18[_0x3a5993(0x1ca)],'op':_0x1b2343[_0x3a5993(0x27d)](_0x160fd1[_0x3a5993(0x166)](),_0x5b7a18[_0x3a5993(0x222)],_0x5b7a18[_0x3a5993(0x49a)]),'trigger':_0x5a0085['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x3a5993(0x38e)][_0x3a5993(0x287)](_0x5a0085['SetTriggerFormulaCalculationStartMutation']['id'],{'dirtyRanges':_0x2ccf36},{'onlyLocal':!0x0});})()[_0x11af53(0x1fc)](()=>{const _0x1631e5=_0x11af53;this['_applyingFormulaResults']=!0x1,this[_0x1631e5(0x14e)][_0x1631e5(0x210)](_0x10a0c7[_0x1631e5(0x47e)][_0x1631e5(0x1b0)],_0x3e19f2);});}};_0x1f02de=_0x5e2ef6([_0x10e58b(0x0,_0x4dff15['ICommandService']),_0x10e58b(0x1,_0x4dff15[_0x565318(0x497)]),_0x10e58b(0x2,(0x0,_0x4dff15[_0x565318(0x464)])(_0x5a0085[_0x565318(0x2ab)])),_0x10e58b(0x3,(0x0,_0x4dff15['Inject'])(_0x10a0c7[_0x565318(0xdd)]))],_0x1f02de);function _0x511672(_0x94453f){const _0x3c59d4=_0x565318;return typeof _0x94453f==_0x3c59d4(0x35c)&&!!_0x94453f&&_0x3c59d4(0x1ca)in _0x94453f&&typeof _0x94453f[_0x3c59d4(0x1ca)]==_0x3c59d4(0x17d)&&'op'in _0x94453f&&Array['isArray'](_0x94453f['op']);}function _0x2c9342(_0x7ff93b){const _0x2e8bd8=_0x565318;return typeof _0x7ff93b==_0x2e8bd8(0x35c)&&!!_0x7ff93b&&_0x2e8bd8(0x1e8)in _0x7ff93b&&_0x2e8bd8(0x224)in _0x7ff93b;}let _0x4b52b4=new Set([_0x4b2bb5['id'],_0x1ba849['id'],_0x120454['id']]),_0x475e14=class extends _0x4dff15['Disposable']{constructor(_0x13249c,_0x2641ad,_0x35a846,_0x4a09c6){const _0x49b47c=_0x565318;super(),this['_injector']=_0x13249c,this[_0x49b47c(0x38e)]=_0x2641ad,this[_0x49b47c(0xcd)]=_0x35a846,this['_instanceService']=_0x4a09c6,this[_0x49b47c(0x37c)][_0x49b47c(0x4e8)](_0x4dff15[_0x49b47c(0x125)]['UNIVER_BASE'])['forEach'](_0xc63630=>this['_registerUnitPermissionPoints'](_0xc63630[_0x49b47c(0x197)]())),this['disposeWithMe'](this['_instanceService'][_0x49b47c(0x3dc)](_0x4dff15[_0x49b47c(0x125)][_0x49b47c(0x4fb)])[_0x49b47c(0xf2)](({unit:_0xf67299})=>this[_0x49b47c(0x2f0)](_0xf67299[_0x49b47c(0x197)]()))),this[_0x49b47c(0x272)](this[_0x49b47c(0x38e)][_0x49b47c(0x43b)]((_0x479781,_0x1f4f13)=>this[_0x49b47c(0x36c)](_0x479781,_0x1f4f13))),this[_0x49b47c(0x272)](this[_0x49b47c(0x37c)][_0x49b47c(0x189)](_0x4dff15[_0x49b47c(0x125)][_0x49b47c(0x4fb)])[_0x49b47c(0xf2)](_0x585859=>{const _0xe57f5f=_0x49b47c;this[_0xe57f5f(0x258)]['get'](_0x4dff15[_0xe57f5f(0x322)])[_0xe57f5f(0xae)](_0x585859[_0xe57f5f(0x197)]()),_0x15b12f(this[_0xe57f5f(0xcd)],_0x585859['getUnitId']());}));}[_0x565318(0x2f0)](_0x493f39){const _0xa6652=_0x565318;_0x1cf243[_0xa6652(0x207)](_0x5ecacf=>{const _0xa1c063=_0xa6652;let _0x2f8813=_0x67e1f2(_0x493f39,_0x493f39,_0x5ecacf);this[_0xa1c063(0xcd)][_0xa1c063(0x2ac)](_0x2f8813['id'])||this[_0xa1c063(0xcd)][_0xa1c063(0x4b5)](_0x2f8813);}),this[_0xa6652(0x258)][_0xa6652(0x2fe)](_0x4dff15[_0xa6652(0x322)])[_0xa6652(0x475)]({'unitId':_0x493f39,'objectId':_0x493f39,'objectType':_0x7620fc['UnitObject'][_0xa6652(0x17c)]});}['_check'](_0x46f193,_0x1992d7){const _0x60cf39=_0x565318;var _0x378bbc;if(_0x1992d7!=null&&_0x1992d7[_0x60cf39(0x165)]||_0x1992d7!=null&&_0x1992d7[_0x60cf39(0x4a6)])return;let _0x22bb17=_0x23c88d(_0x46f193[_0x60cf39(0x3c5)])?_0x46f193[_0x60cf39(0x3c5)]:void 0x0;if(_0x1992d7!=null&&_0x1992d7['onlyLocal']&&_0x46f193['id']==='base.mutation.apply-base-json1'&&(_0x22bb17==null?void 0x0:_0x22bb17[_0x60cf39(0x4bc)])===_0x5a0085[_0x60cf39(0x40b)]['id'])return;let _0x2072c8=_0x339208(_0x46f193['id']),_0x156a16=_0x5e9a0e(_0x22bb17==null?void 0x0:_0x22bb17[_0x60cf39(0x1ca)],_0x1992d7)??(_0x2072c8?(_0x378bbc=this[_0x60cf39(0x37c)][_0x60cf39(0xd5)](_0x4dff15[_0x60cf39(0x125)][_0x60cf39(0x4fb)]))==null?void 0x0:_0x378bbc[_0x60cf39(0x197)]():void 0x0);if(!_0x156a16||this[_0x60cf39(0x37c)][_0x60cf39(0x251)](_0x156a16)!==_0x4dff15[_0x60cf39(0x125)][_0x60cf39(0x4fb)])return;if(_0x2072c8){if(!_0xd5ccf7(this[_0x60cf39(0xcd)],_0x156a16,_0x156a16,_0x2072c8))throw this[_0x60cf39(0x258)]['get'](_0x4dff15[_0x60cf39(0x25f)])[_0x60cf39(0x2d2)](_0x156a16),new _0x4dff15[(_0x60cf39(0x1be))](_0x60cf39(0x112)+_0x7620fc[_0x60cf39(0xf9)][_0x2072c8]+_0x60cf39(0x277));return;}if(_0x4b52b4[_0x60cf39(0x336)](_0x46f193['id'])||!_0x46f193['id'][_0x60cf39(0xff)](_0x60cf39(0x18e))&&!_0x46f193['id'][_0x60cf39(0xff)](_0x60cf39(0x358)))return;let _0x2e49b6=this[_0x60cf39(0x37c)][_0x60cf39(0x21d)](_0x156a16,_0x4dff15[_0x60cf39(0x125)][_0x60cf39(0x4fb)]),_0x19cacf=_0x2e49b6?_0xd90886(_0x2e49b6,_0x22bb17??{},_0x46f193['id']):[];if(!_0x2e49b6||!_0x441430(this['_permissionService'],_0x156a16,_0x19cacf))throw this['_injector'][_0x60cf39(0x2fe)](_0x4dff15[_0x60cf39(0x25f)])[_0x60cf39(0x2d2)](_0x156a16,_0x19cacf),new _0x4dff15[(_0x60cf39(0x1be))](_0x60cf39(0x20f));}};_0x475e14=_0x5e2ef6([_0x10e58b(0x0,(0x0,_0x4dff15[_0x565318(0x464)])(_0x4dff15[_0x565318(0x45c)])),_0x10e58b(0x1,_0x4dff15[_0x565318(0x44b)]),_0x10e58b(0x2,_0x4dff15[_0x565318(0x304)]),_0x10e58b(0x3,_0x4dff15[_0x565318(0x497)])],_0x475e14);function _0x5e9a0e(_0x2dd26c,_0x4af2ed){const _0x528492=_0x565318;return typeof _0x2dd26c==_0x528492(0x17d)?_0x2dd26c:typeof(_0x4af2ed==null?void 0x0:_0x4af2ed['unitId'])==_0x528492(0x17d)?_0x4af2ed[_0x528492(0x1ca)]:void 0x0;}function _0x339208(_0x16bb36){const _0x417dca=_0x565318;if(_0x16bb36===_0x417dca(0x206)||_0x16bb36===_0x417dca(0x239))return _0x7620fc[_0x417dca(0xf9)][_0x417dca(0x26d)];if(_0x16bb36[_0x417dca(0xff)]('thread-comment.command.')||_0x16bb36['startsWith'](_0x417dca(0x234)))return _0x7620fc[_0x417dca(0xf9)][_0x417dca(0x44a)];}function _0xd90886(_0x2fd89f,_0x3c4b92,_0x4fc099){const _0x3cf47b=_0x565318;if(_0x4fc099===_0x3cf47b(0x350)&&_0x373e2d(_0x3c4b92['op']))return _0x1a76bd(_0x2fd89f,_0x3c4b92['op']);let _0x52da45=new Set(),_0x1af2a2=_0x2f230b(_0x3c4b92,_0x3cf47b(0x37e)),_0x51eb3e=typeof _0x3c4b92[_0x3cf47b(0x222)]==_0x3cf47b(0x17d)?_0x3c4b92[_0x3cf47b(0x222)]:_0x1af2a2[0x0];if(_0x1af2a2[_0x3cf47b(0x207)](_0xe6fd4f=>_0x52da45[_0x3cf47b(0x488)](_0x1d4b0d(_0xe6fd4f))),!_0x51eb3e)return[..._0x52da45];let _0x3dfaad=_0x2fd89f[_0x3cf47b(0x166)]()[_0x3cf47b(0x257)][_0x51eb3e],_0x4da8ee=new Set(_0x2f230b(_0x3c4b92,'field')),_0x5ef1c1=new Set(_0x2f230b(_0x3c4b92,_0x3cf47b(0x491))),_0x317be1=new Set(_0x2f230b(_0x3c4b92,_0x3cf47b(0x22c)));return _0x51339c(_0x3dfaad,_0x3c4b92[_0x3cf47b(0x49a)],_0x5ef1c1,_0x4da8ee),_0x147b70(_0x3c4b92,_0x4da8ee),_0x4da8ee['forEach'](_0x4c1f9d=>_0x52da45['add'](_0x18fb74(_0x51eb3e,_0x4c1f9d))),_0x5ef1c1['forEach'](_0x4b2d7a=>_0x52da45[_0x3cf47b(0x488)](_0x533141(_0x51eb3e,_0x4b2d7a))),_0x317be1['forEach'](_0x5ad03e=>_0x52da45[_0x3cf47b(0x488)](_0x716ead(_0x51eb3e,_0x5ad03e))),[..._0x52da45];}function _0x1a76bd(_0x4696f4,_0x75cd0b){const _0x4cb2a5=_0x565318;let _0x353bcb=_0x4696f4[_0x4cb2a5(0x166)](),_0x24701a=new _0x4ddc63()[_0x4cb2a5(0xe8)](_0x75cd0b),_0xc4fee6=_0x1937e0(_0x75cd0b),_0x13502d=new Set();return _0x24701a[_0x4cb2a5(0x207)](_0x4d7476=>{const _0xa65386=_0x4cb2a5;var _0x2c9877,_0x4303c9;let {tableId:_0x19609b}=_0x4d7476;if(!_0x19609b)return;_0x13502d[_0xa65386(0x488)](_0x1d4b0d(_0x19609b));let _0x35e31d=_0x353bcb[_0xa65386(0x257)][_0x19609b],_0x4270f2=_0x4d7476['recordId']??(_0x4d7476['row']==null||_0x35e31d==null||(_0x2c9877=_0x35e31d['rowId'])==null?void 0x0:_0x2c9877[_0x4d7476[_0xa65386(0xa9)]]),_0x2471ff=_0x4d7476[_0xa65386(0x351)]??(_0x4d7476['column']==null||_0x35e31d==null||(_0x4303c9=_0x35e31d[_0xa65386(0x454)])==null?void 0x0:_0x4303c9[_0x4d7476[_0xa65386(0x34d)]]);_0x4270f2&&_0x13502d[_0xa65386(0x488)](_0x533141(_0x19609b,_0x4270f2)),_0x2471ff&&_0x13502d[_0xa65386(0x488)](_0x18fb74(_0x19609b,_0x2471ff)),_0x4d7476['viewId']&&_0x13502d[_0xa65386(0x488)](_0x716ead(_0x19609b,_0x4d7476[_0xa65386(0x49b)])),(_0x4d7476[_0xa65386(0x22d)]===_0xa65386(0x37e)||_0xc4fee6[_0xa65386(0x336)](_0x19609b))&&_0x35e31d&&(Object[_0xa65386(0x446)](_0x35e31d['fields'])[_0xa65386(0x207)](_0x1a0a07=>_0x13502d[_0xa65386(0x488)](_0x18fb74(_0x19609b,_0x1a0a07))),Object[_0xa65386(0x446)](_0x35e31d['records'])[_0xa65386(0x207)](_0x594c02=>_0x13502d['add'](_0x533141(_0x19609b,_0x594c02))),Object[_0xa65386(0x446)](_0x35e31d[_0xa65386(0x353)])[_0xa65386(0x207)](_0x1e1cba=>_0x13502d['add'](_0x716ead(_0x19609b,_0x1e1cba)))),_0x4d7476[_0xa65386(0x22d)]==='record'&&_0x35e31d&&Object[_0xa65386(0x446)](_0x35e31d['fields'])[_0xa65386(0x207)](_0x1cd86a=>_0x13502d[_0xa65386(0x488)](_0x18fb74(_0x19609b,_0x1cd86a)));}),_0x24701a['length']===0x0&&_0x15d344(_0x75cd0b,_0x4cb2a5(0x1a4))&&Object[_0x4cb2a5(0x446)](_0x353bcb[_0x4cb2a5(0x257)])[_0x4cb2a5(0x207)](_0x446616=>_0x13502d[_0x4cb2a5(0x488)](_0x1d4b0d(_0x446616))),[..._0x13502d];}function _0x1937e0(_0x2e7ca0){let _0x3adf0e=new Set(),_0x2ce96f=_0xa453d1=>{const _0x23dc86=_0x5b6a;Array[_0x23dc86(0x1eb)](_0xa453d1)&&_0xa453d1[_0x23dc86(0x207)]((_0x5289d3,_0x20f0ac)=>{const _0x21baa5=_0x23dc86;_0x5289d3===_0x21baa5(0x257)&&typeof _0xa453d1[_0x20f0ac+0x1]=='string'&&_0x27a866(_0xa453d1[_0x20f0ac+0x2])&&_0x3adf0e[_0x21baa5(0x488)](_0xa453d1[_0x20f0ac+0x1]),_0x2ce96f(_0x5289d3);});};return _0x2ce96f(_0x2e7ca0),_0x3adf0e;}function _0x27a866(_0x49a6bb){const _0x24709d=_0x565318;return!!_0x49a6bb&&typeof _0x49a6bb==_0x24709d(0x35c)&&!Array[_0x24709d(0x1eb)](_0x49a6bb)&&('i'in _0x49a6bb||'r'in _0x49a6bb||'p'in _0x49a6bb||'d'in _0x49a6bb||'es'in _0x49a6bb||_0x24709d(0x178)in _0x49a6bb||'et'in _0x49a6bb);}function _0x15d344(_0xdbb40a,_0x54cc78){return Array['isArray'](_0xdbb40a)&&_0xdbb40a['some'](_0x5b1f80=>_0x5b1f80===_0x54cc78||_0x15d344(_0x5b1f80,_0x54cc78));}function _0x2f230b(_0x11cab2,_0x2e9d47){const _0x22ae53=_0x565318;let _0x3834c=new Set(),_0x5ba73f=_0x2e9d47+'Id',_0x3b78c1=_0x2e9d47+_0x22ae53(0x4b9),_0x5d5018=(_0x4cf426,_0x1dc917='')=>{const _0x3404c1=_0x22ae53;if(typeof _0x4cf426==_0x3404c1(0x17d)){_0x1dc917===_0x5ba73f&&_0x3834c[_0x3404c1(0x488)](_0x4cf426);return;}if(Array[_0x3404c1(0x1eb)](_0x4cf426)){_0x1dc917===_0x3b78c1?_0x4cf426['forEach'](_0x42ddf2=>{const _0xda0691=_0x3404c1;typeof _0x42ddf2=='string'&&_0x3834c[_0xda0691(0x488)](_0x42ddf2);}):_0x4cf426[_0x3404c1(0x207)](_0x4a3a6d=>_0x5d5018(_0x4a3a6d,_0x1dc917));return;}_0x23c88d(_0x4cf426)&&Object[_0x3404c1(0x2b1)](_0x4cf426)[_0x3404c1(0x207)](([_0x49df59,_0x1b8c20])=>{const _0x2bad43=_0x3404c1;_0x49df59==='id'&&_0x1dc917===_0x2e9d47&&typeof _0x1b8c20==_0x2bad43(0x17d)?_0x3834c[_0x2bad43(0x488)](_0x1b8c20):_0x5d5018(_0x1b8c20,_0x49df59);});};return _0x5d5018(_0x11cab2),[..._0x3834c];}function _0x51339c(_0xd72aa8,_0x10e7d5,_0x580cc6,_0x5b315b){const _0x44303d=_0x565318;_0xd72aa8&&Array[_0x44303d(0x1eb)](_0x10e7d5)&&_0x10e7d5['forEach'](_0x4c3df2=>{const _0x1cbb9c=_0x44303d;if(!_0x23c88d(_0x4c3df2))return;let _0x2d45a4=_0x4c3df2;if(typeof _0x2d45a4[_0x1cbb9c(0xa9)]=='number'){var _0x4321e;let _0x455851=(_0x4321e=_0xd72aa8[_0x1cbb9c(0x460)])==null?void 0x0:_0x4321e[_0x2d45a4[_0x1cbb9c(0xa9)]];_0x455851&&_0x580cc6[_0x1cbb9c(0x488)](_0x455851);}if(typeof _0x2d45a4['col']==_0x1cbb9c(0x4cd)){var _0xb8a1;let _0x329ca8=(_0xb8a1=_0xd72aa8[_0x1cbb9c(0x454)])==null?void 0x0:_0xb8a1[_0x2d45a4[_0x1cbb9c(0x395)]];_0x329ca8&&_0x5b315b[_0x1cbb9c(0x488)](_0x329ca8);}});}function _0x147b70(_0x52af01,_0x26a1f7,_0xad6d95=''){const _0x2aaf3e=_0x565318;if(_0x52af01&&typeof _0x52af01==_0x2aaf3e(0x35c)){if(Array[_0x2aaf3e(0x1eb)](_0x52af01)){_0x52af01[_0x2aaf3e(0x207)](_0x2dfdf1=>_0x147b70(_0x2dfdf1,_0x26a1f7,_0xad6d95));return;}_0x23c88d(_0x52af01)&&Object['entries'](_0x52af01)['forEach'](([_0x2bfa2f,_0x43c0cc])=>{const _0x2ea065=_0x2aaf3e;_0xad6d95===_0x2ea065(0x3dd)&&_0x26a1f7[_0x2ea065(0x488)](_0x2bfa2f),_0x147b70(_0x43c0cc,_0x26a1f7,_0x2bfa2f);});}}function _0x373e2d(_0x58862b){const _0x43591c=_0x565318;return Array[_0x43591c(0x1eb)](_0x58862b);}function _0x23c88d(_0x187123){const _0x5cb3e8=_0x565318;return typeof _0x187123==_0x5cb3e8(0x35c)&&!!_0x187123&&!Array[_0x5cb3e8(0x1eb)](_0x187123);}let _0x57e61f=(0x0,_0x4dff15['createIdentifier'])(_0x565318(0x24d)),_0x5c1ebd=class{constructor(_0x3761fd){const _0x13a1aa=_0x565318;this[_0x13a1aa(0x325)]=_0x3761fd;}[_0x565318(0x2bf)](_0x191809){const _0x1bb124=_0x565318;return this[_0x1bb124(0x325)][_0x1bb124(0x21d)](_0x191809,_0x4dff15['UniverInstanceType'][_0x1bb124(0x4fb)])??null;}[_0x565318(0x419)](){const _0x54eadd=_0x565318;return this[_0x54eadd(0x325)][_0x54eadd(0x4e8)](_0x4dff15['UniverInstanceType'][_0x54eadd(0x4fb)]);}[_0x565318(0x3a0)](_0x4808cc){const _0x2b37a4=_0x565318;return this[_0x2b37a4(0x325)]['createUnit'](_0x4dff15['UniverInstanceType'][_0x2b37a4(0x4fb)],_0x4808cc);}};_0x5c1ebd=_0x5e2ef6([_0x10e58b(0x0,_0x4dff15['IUniverInstanceService'])],_0x5c1ebd);let _0x39e4c9=(0x0,_0x4dff15[_0x565318(0x238)])('base.view-registry.service');var _0x2413f2=class extends _0x4dff15[_0x565318(0x4b6)]{constructor(..._0x36b127){const _0x182665=_0x565318;super(..._0x36b127),_0x446da5(this,_0x182665(0x1ae),new Map());}[_0x565318(0x15e)](_0x50cf0a){const _0x457f9c=_0x565318;return this['_plugins']['set'](_0x50cf0a[_0x457f9c(0x1dd)],_0x50cf0a),(0x0,_0x4dff15[_0x457f9c(0xd3)])(()=>this['_plugins']['delete'](_0x50cf0a['type']));}[_0x565318(0x2fe)](_0x56337a){const _0x361e38=_0x565318;let _0x2fb7c7=this[_0x361e38(0x1ae)]['get'](_0x56337a);if(!_0x2fb7c7)throw Error(_0x361e38(0x50f)+_0x56337a+_0x361e38(0x4b1));return _0x2fb7c7;}[_0x565318(0x231)](){const _0x172d3c=_0x565318;return Array[_0x172d3c(0x397)](this[_0x172d3c(0x1ae)][_0x172d3c(0x3dd)]());}};let _0x242ef1=[_0x4f6ebe],_0x3bacdf=class extends _0x4dff15[_0x565318(0x4f2)]{constructor(_0x506b14=_0x196d0b,_0x2975e1,_0x2f1c9c,_0x3b62b7,_0x152f24,_0x314bc7){const _0x40a874=_0x565318;super(),this[_0x40a874(0x233)]=_0x506b14,this[_0x40a874(0x258)]=_0x2975e1,this['_commandService']=_0x2f1c9c,this[_0x40a874(0x325)]=_0x3b62b7,this[_0x40a874(0x4ae)]=_0x152f24,this[_0x40a874(0x45a)]=_0x314bc7,_0x446da5(this,_0x40a874(0x413),new Map());let {..._0x3e206a}=(0x0,_0x4dff15['merge'])({},_0x196d0b,this[_0x40a874(0x233)]);this[_0x40a874(0x4ae)][_0x40a874(0xd1)](_0x40a874(0x16a),_0x3e206a),this['_univerInstanceService'][_0x40a874(0x169)](_0x4dff15[_0x40a874(0x125)][_0x40a874(0x4fb)],_0x4dff15[_0x40a874(0x28c)]),this[_0x40a874(0x407)](),this[_0x40a874(0x333)](),this[_0x40a874(0x3d6)](),this[_0x40a874(0x394)]();}[_0x565318(0x11b)](){const _0x3fa4ac=_0x565318;this['_injector'][_0x3fa4ac(0x488)]([_0x30d3ba]),this['disposeWithMe'](this[_0x3fa4ac(0x258)]['get'](_0x4dff15['ICommandService'])['registerCommand'](_0x187cd2)),this[_0x3fa4ac(0x272)](this['_injector']['get'](_0x4dff15[_0x3fa4ac(0x44b)])[_0x3fa4ac(0x30b)](_0x4f72c7)),this['disposeWithMe'](this[_0x3fa4ac(0x258)][_0x3fa4ac(0x2fe)](_0x4dff15[_0x3fa4ac(0x322)])[_0x3fa4ac(0x2c1)](_0x7620fc[_0x3fa4ac(0x1ac)]['Base'],this[_0x3fa4ac(0x258)]['get'](_0x30d3ba),_0x187cd2['id'],_0x4f72c7['id']));}['onReady'](){const _0x56874d=_0x565318;(0x0,_0x4dff15[_0x56874d(0x127)])(this['_injector'],[[_0x5c1ebd],[_0x2916a5],[_0x4f9213]]),this[_0x56874d(0x325)][_0x56874d(0x4e8)](_0x4dff15[_0x56874d(0x125)][_0x56874d(0x4fb)])[_0x56874d(0x207)](_0x4bc93b=>this[_0x56874d(0x4e7)](_0x4bc93b[_0x56874d(0x197)]())),(0x0,_0x4dff15['touchDependencies'])(this[_0x56874d(0x258)],[[_0x1f02de],[_0x475e14]]);}['_initDependencies'](){const _0xaad499=_0x565318;[[_0x237d9a,{'useClass':_0x150cfc}],[_0x39e4c9,{'useClass':_0x2413f2}],[_0x2c7d1d,{'useClass':_0x403644}],[_0x57e61f,{'useClass':_0x5c1ebd}],[_0x42298a,{'useClass':_0x3eb873}],[_0x2a6ad5,{'useClass':_0x2916a5}],[_0x4f9213],[_0x1f02de],[_0x475e14]][_0xaad499(0x207)](_0x6cf0e4=>this[_0xaad499(0x258)][_0xaad499(0x488)](_0x6cf0e4));}[_0x565318(0x333)](){const _0x48718f=_0x565318;[_0x2f2090,_0x3326b6,_0x5cc258,_0x5628fa,_0x1a98e2,_0x3adfb6,_0x3ad88c,_0xc5c0a8,_0x500705,_0x284316,_0x427525,_0x410f5d,_0x3ff4b2,_0x36bd99,_0x3a021b,_0x6bc752,_0x1a3942,_0x242ec3,_0x3da4bf,_0x1dd7bf,_0x5a218e,_0x120454,_0x2df3a2,_0x89a708,_0x5519ef,_0x365c18,_0x13f593,_0x2ef155,_0xc160e5,_0xee320d,_0xff1497,_0x4b2bb5,_0x1ba849,_0x1b60b6,_0x5434e0,_0x48967c,_0x803ac1,_0x2e5889,_0x30bd74,_0x44afeb,_0x211ede,..._0x242ef1][_0x48718f(0x207)](_0x228924=>this[_0x48718f(0x272)](this[_0x48718f(0x38e)]['registerCommand'](_0x228924))),_0x242ef1[_0x48718f(0x207)](_0x22a6cd=>{const _0x88db53=_0x48718f;var _0x102c10;return(_0x102c10=this['_dataSyncPrimaryController'])==null?void 0x0:_0x102c10[_0x88db53(0x2dc)](_0x22a6cd);});}[_0x565318(0x394)](){const _0x48d14f=_0x565318;this[_0x48d14f(0x45a)]&&(this[_0x48d14f(0x272)](this['_univerInstanceService'][_0x48d14f(0x3dc)](_0x4dff15[_0x48d14f(0x125)]['UNIVER_BASE'])['subscribe'](({unit:_0x1aaff5})=>{const _0x54d99a=_0x48d14f;this[_0x54d99a(0x4e7)](_0x1aaff5[_0x54d99a(0x197)]());})),this[_0x48d14f(0x272)](this[_0x48d14f(0x325)][_0x48d14f(0x189)](_0x4dff15['UniverInstanceType'][_0x48d14f(0x4fb)])[_0x48d14f(0xf2)](_0xc590d3=>{const _0x39c868=_0x48d14f;var _0x55bfa3;(_0x55bfa3=this[_0x39c868(0x413)][_0x39c868(0x2fe)](_0xc590d3[_0x39c868(0x197)]()))==null||_0x55bfa3[_0x39c868(0x487)](),this[_0x39c868(0x413)][_0x39c868(0x3f8)](_0xc590d3[_0x39c868(0x197)]());})));}[_0x565318(0x4e7)](_0x333918){const _0x264063=_0x565318;this['_dataSyncPrimaryController']&&!this[_0x264063(0x413)][_0x264063(0x336)](_0x333918)&&this[_0x264063(0x413)][_0x264063(0xe4)](_0x333918,this[_0x264063(0x45a)][_0x264063(0x3f2)](_0x333918));}[_0x565318(0x3d6)](){const _0x394a98=_0x565318;let _0x24b0f0=this[_0x394a98(0x258)]['get'](_0x237d9a);_0x4fff64()[_0x394a98(0x207)](_0x29e55c=>_0x24b0f0[_0x394a98(0x15e)](_0x29e55c));let _0x25e6ea=this[_0x394a98(0x258)][_0x394a98(0x2fe)](_0x39e4c9),_0x21fa85=this['_injector']['get'](_0x2c7d1d);_0x506235()[_0x394a98(0x207)](_0x2ab493=>{const _0x3d2e27=_0x394a98;_0x25e6ea['register'](_0x2ab493),_0x21fa85[_0x3d2e27(0x13c)](_0x2ab493);});}};_0x446da5(_0x3bacdf,'pluginName',_0x565318(0xe9)),_0x446da5(_0x3bacdf,_0x565318(0x2ad),_0x57eaaf),_0x446da5(_0x3bacdf,_0x565318(0x249),_0x24b61f),_0x446da5(_0x3bacdf,_0x565318(0x1dd),_0x4dff15[_0x565318(0x125)]['UNIVER_BASE']),_0x3bacdf=_0x5e2ef6([(0x0,_0x4dff15['DependentOn'])(_0x5996ff['UniverLicensePlugin'],_0x5a0085[_0x565318(0x477)]),_0x10e58b(0x1,(0x0,_0x4dff15['Inject'])(_0x4dff15[_0x565318(0x45c)])),_0x10e58b(0x2,_0x4dff15[_0x565318(0x44b)]),_0x10e58b(0x3,_0x4dff15[_0x565318(0x497)]),_0x10e58b(0x4,_0x4dff15['IConfigService']),_0x10e58b(0x5,(0x0,_0x4dff15[_0x565318(0x35e)])(_0x57335b['DataSyncPrimaryController']))],_0x3bacdf);let _0x53d563=class extends _0x4dff15[_0x565318(0x4f2)]{constructor(_0x5def4e=_0x2ba523,_0x4d366e,_0x2ec4f9,_0x55b3c1,_0x1a062c){const _0x2e54ac=_0x565318;super(),this[_0x2e54ac(0x233)]=_0x5def4e,this['_injector']=_0x4d366e,this['_commandService']=_0x2ec4f9,this['_configService']=_0x55b3c1,this['_univerInstanceService']=_0x1a062c;let {..._0x4c12c6}=(0x0,_0x4dff15['merge'])({},_0x2ba523,this[_0x2e54ac(0x233)]);this[_0x2e54ac(0x4ae)]['setConfig'](_0x2e54ac(0x448),_0x4c12c6),this['_univerInstanceService'][_0x2e54ac(0x169)](_0x4dff15[_0x2e54ac(0x125)]['UNIVER_BASE'],_0x4dff15['BaseDataModel']),[[_0x237d9a,{'useClass':_0x150cfc}],[_0x2c7d1d,{'useClass':_0x403644}]][_0x2e54ac(0x207)](_0x551b5a=>this[_0x2e54ac(0x258)]['add'](_0x551b5a)),_0x242ef1[_0x2e54ac(0x207)](_0xc56cda=>this[_0x2e54ac(0x272)](this[_0x2e54ac(0x38e)][_0x2e54ac(0x30b)](_0xc56cda)));}};_0x446da5(_0x53d563,_0x565318(0x3aa),_0x565318(0x1f4)),_0x446da5(_0x53d563,_0x565318(0x2ad),_0x57eaaf),_0x446da5(_0x53d563,_0x565318(0x249),_0x24b61f),_0x446da5(_0x53d563,'type',_0x4dff15[_0x565318(0x125)][_0x565318(0x4fb)]),_0x53d563=_0x5e2ef6([(0x0,_0x4dff15[_0x565318(0x21a)])(_0x5996ff[_0x565318(0x50d)],_0x5a0085['UniverProFormulaEnginePlugin']),_0x10e58b(0x1,(0x0,_0x4dff15[_0x565318(0x464)])(_0x4dff15[_0x565318(0x45c)])),_0x10e58b(0x2,_0x4dff15[_0x565318(0x44b)]),_0x10e58b(0x3,_0x4dff15[_0x565318(0x27b)]),_0x10e58b(0x4,_0x4dff15[_0x565318(0x497)])],_0x53d563);function _0x33585f(_0x10a7d2){const _0x241df7=_0x565318;let _0x302344=_0x3730e9(_0x10a7d2[_0x241df7(0x318)]);if(!_0x302344)return{'query':'','total':0x0,'matches':[]};let _0x281cec=[],_0x3b433b=[];for(let _0x9cff60=0x0;_0x9cff60<_0x10a7d2[_0x241df7(0x2e6)][_0x241df7(0xac)];_0x9cff60++){if(!(_0x9cff60 in _0x10a7d2[_0x241df7(0x2e6)]))continue;let _0x41854d=_0x10a7d2['table'][_0x241df7(0x375)][_0x10a7d2[_0x241df7(0x2e6)][_0x9cff60]];_0x41854d&&_0x3b433b['push']({'field':_0x41854d,'fieldIndex':_0x9cff60});}_0x10a7d2[_0x241df7(0x343)][_0x241df7(0x207)]((_0xba5651,_0x39bdd0)=>{const _0xf95353=_0x241df7;_0x3b433b[_0xf95353(0x207)](({field:_0x19a42b,fieldIndex:_0x2bfa89})=>{const _0x862d83=_0xf95353;let _0x28d55e=_0x472d07(_0xba5651[_0x862d83(0x3dd)][_0x19a42b['id']],_0x19a42b);if(!_0x28d55e)return;let _0x4dd44c=_0x1b8574(_0x302344,_0x28d55e['searchTexts']);_0x4dd44c<=0x0||_0x281cec[_0x862d83(0xfb)]({'recordId':_0xba5651['recordId'],'fieldId':_0x19a42b['id'],'fieldType':_0x19a42b['type'],'text':_0x28d55e['displayText'],'score':_0x4dd44c,'rowIndex':_0x39bdd0,'fieldIndex':_0x2bfa89});});}),_0x281cec['sort']((_0x3daf6c,_0xc658ec)=>_0xc658ec[_0x241df7(0xfe)]-_0x3daf6c[_0x241df7(0xfe)]||_0x3daf6c[_0x241df7(0x1d4)]-_0xc658ec[_0x241df7(0x1d4)]||_0x3daf6c['fieldIndex']-_0xc658ec['fieldIndex']);let _0x5aa690=_0x10a7d2['limit']==null?_0x281cec:_0x281cec[_0x241df7(0x19e)](0x0,Math[_0x241df7(0x10a)](0x0,_0x10a7d2['limit']));return{'query':_0x302344,'total':_0x281cec[_0x241df7(0xac)],'matches':_0x27b436(_0x5aa690)};}function _0x472d07(_0x16557a,_0x188cd6){const _0x22d161=_0x565318;let _0x120232=[];for(let _0x3d4e3e of _0xd0e464(_0x16557a,_0x188cd6)){let _0x160b31=_0x3730e9(_0x3d4e3e);_0x160b31&&_0x120232[_0x22d161(0xfb)](_0x160b31);}return _0x120232[_0x22d161(0xac)]?{'displayText':_0x3fda59(_0x16557a,_0x188cd6),'searchTexts':_0x5f5cec(_0x120232)}:null;}function _0x3fda59(_0x3c3a10,_0x54c57a){const _0x34b0e3=_0x565318;switch(_0x54c57a['type']){case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0x3e8)]:case _0x4dff15[_0x34b0e3(0x352)]['MultiSelect']:case _0x4dff15['BaseFieldType'][_0x34b0e3(0x4eb)]:return _0x2ae8f0(_0x3c3a10,_0x54c57a)['join'](',\x20');case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0x33f)]:return _0x26a46d(_0x3c3a10);case _0x4dff15[_0x34b0e3(0x352)]['Date']:case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0xef)]:case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0x4d7)]:return _0x1b0cd9(_0x3c3a10,_0x54c57a);case _0x4dff15['BaseFieldType'][_0x34b0e3(0x170)]:case _0x4dff15[_0x34b0e3(0x352)]['Currency']:return _0x523ad1(_0x3c3a10,_0x54c57a);case _0x4dff15['BaseFieldType'][_0x34b0e3(0x162)]:return _0x3d0cf2(_0x3c3a10,_0x54c57a);case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0x334)]:return _0x3c3a10?_0x34b0e3(0x26b):_0x34b0e3(0x29f);case _0x4dff15[_0x34b0e3(0x352)][_0x34b0e3(0x136)]:return _0x10380e(_0x3c3a10)[_0x34b0e3(0x1b5)](',\x20');default:return _0x38579e(_0x3c3a10);}}function _0xd0e464(_0x1fb418,_0x1fe98e){const _0x5e8354=_0x565318;switch(_0x1fe98e[_0x5e8354(0x1dd)]){case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x3e8)]:case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x23e)]:case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x4eb)]:{let _0x12bc80=_0x2ae8f0(_0x1fb418,_0x1fe98e);if(Array[_0x5e8354(0x1eb)](_0x1fb418)){let _0x5118ca=[..._0x12bc80];for(let _0x432853=0x0;_0x432853<_0x1fb418['length'];_0x432853++)_0x432853 in _0x1fb418&&_0x5118ca[_0x5e8354(0xfb)](String(_0x1fb418[_0x432853]));return _0x5118ca;}return _0x1fb418==null?_0x12bc80:[..._0x12bc80,String(_0x1fb418)];}case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x33f)]:{let _0x5e3ddc=_0x5d1d09(_0x1fb418);return[_0x5e3ddc[_0x5e8354(0x467)],_0x5e3ddc[_0x5e8354(0x28b)]];}case _0x4dff15['BaseFieldType']['Date']:case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0xef)]:case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x4d7)]:return[_0x1b0cd9(_0x1fb418,_0x1fe98e),_0x38579e(_0x1fb418)];case _0x4dff15['BaseFieldType']['Number']:case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x229)]:return[_0x523ad1(_0x1fb418,_0x1fe98e),_0x38579e(_0x1fb418)];case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x162)]:return[_0x3d0cf2(_0x1fb418,_0x1fe98e),_0x38579e(_0x1fb418)];case _0x4dff15['BaseFieldType']['Checkbox']:return _0x1fb418?[_0x5e8354(0x26b),_0x5e8354(0x47b),_0x5e8354(0x35a)]:['Unchecked','No',_0x5e8354(0x313)];case _0x4dff15[_0x5e8354(0x352)][_0x5e8354(0x136)]:return _0x10380e(_0x1fb418);default:return[_0x38579e(_0x1fb418)];}}function _0x2ae8f0(_0x50a91a,_0x2f9737){const _0x5338ef=_0x565318;var _0x572d49;let _0x10e007=Array[_0x5338ef(0x1eb)]((_0x572d49=_0x2f9737[_0x5338ef(0x2c6)])==null?void 0x0:_0x572d49['options'])?_0x2f9737[_0x5338ef(0x2c6)][_0x5338ef(0x482)]:[],_0x16f80f=[];if(Array[_0x5338ef(0x1eb)](_0x50a91a)){for(let _0x9cffa0=0x0;_0x9cffa0<_0x50a91a[_0x5338ef(0xac)];_0x9cffa0++){if(!(_0x9cffa0 in _0x50a91a))continue;let _0x530e23=String(_0x50a91a[_0x9cffa0]);_0x530e23&&_0x16f80f[_0x5338ef(0xfb)](_0x391331(_0x10e007,_0x530e23));}return _0x16f80f;}if(_0x50a91a!=null){let _0x5c4efa=String(_0x50a91a);_0x5c4efa&&_0x16f80f[_0x5338ef(0xfb)](_0x391331(_0x10e007,_0x5c4efa));}return _0x16f80f;}function _0x391331(_0x3bf0ad,_0x282b3a){const _0x4bc856=_0x565318;for(let _0x280552 of _0x3bf0ad){if(typeof _0x280552==_0x4bc856(0x17d)&&_0x280552===_0x282b3a)return _0x280552;if(_0x280552&&typeof _0x280552==_0x4bc856(0x35c)){let _0x55e5e2=_0x280552;if(String(_0x55e5e2['id']??_0x55e5e2[_0x4bc856(0x177)]??'')===_0x282b3a||String(_0x55e5e2['name']??'')===_0x282b3a)return String(_0x55e5e2[_0x4bc856(0x177)]??_0x55e5e2['id']??_0x282b3a);}}return _0x282b3a;}function _0x5d1d09(_0x46327d){const _0x897e5f=_0x565318;if(_0x46327d&&typeof _0x46327d==_0x897e5f(0x35c)&&!Array[_0x897e5f(0x1eb)](_0x46327d)){let _0x162972=_0x46327d;return{'text':String(_0x162972[_0x897e5f(0x467)]??_0x162972[_0x897e5f(0x28b)]??''),'url':String(_0x162972['url']??'')};}return{'text':_0x38579e(_0x46327d),'url':_0x38579e(_0x46327d)};}function _0x26a46d(_0x7dfb5e){const _0xa0c6ea=_0x565318;let _0xc80804=_0x5d1d09(_0x7dfb5e);return _0xc80804[_0xa0c6ea(0x467)]||_0xc80804['url'];}function _0x1b0cd9(_0x3ddb1a,_0x125938){const _0x4c5820=_0x565318;return typeof _0x3ddb1a!=_0x4c5820(0x4cd)||!Number[_0x4c5820(0x217)](_0x3ddb1a)?'':_0x534230(_0x3ddb1a,_0x125938[_0x4c5820(0x2c6)]);}function _0x523ad1(_0x4992c1,_0x3171fc){const _0x49b020=_0x565318;let _0x40a82f=typeof _0x4992c1==_0x49b020(0x4cd)?_0x4992c1:Number(_0x4992c1);return Number['isFinite'](_0x40a82f)?_0x42a9f7(_0x40a82f,_0x3171fc[_0x49b020(0x2c6)]):'';}function _0x3d0cf2(_0x5e4f4e,_0x10bf81){let _0x127ca4=typeof _0x5e4f4e=='number'?_0x5e4f4e:Number(_0x5e4f4e);return Number['isFinite'](_0x127ca4)?_0x170a8b(_0x127ca4,_0x10bf81['config']):'';}function _0x10380e(_0x2a2dc8){const _0x4e8e48=_0x565318;return Array[_0x4e8e48(0x1eb)](_0x2a2dc8)?_0x2a2dc8[_0x4e8e48(0x3d1)](_0x34147d=>{const _0x598e91=_0x4e8e48;if(!_0x34147d||typeof _0x34147d!='object')return[];let _0xd53a61=_0x34147d,_0x3b9ddf=String(_0xd53a61[_0x598e91(0x177)]??_0xd53a61['url']??'')[_0x598e91(0x3b1)]();return _0x3b9ddf?[_0x3b9ddf]:[];}):[];}function _0x38579e(_0x2fbc8b){const _0xba5f52=_0x565318;if(_0x2fbc8b==null)return'';if(typeof _0x2fbc8b==_0xba5f52(0x41b))return _0x2fbc8b?_0xba5f52(0x1e0):'false';if(typeof _0x2fbc8b==_0xba5f52(0x4cd))return String(_0x2fbc8b);if(Array[_0xba5f52(0x1eb)](_0x2fbc8b)){let _0x44845b=[];for(let _0x19ea2f=0x0;_0x19ea2f<_0x2fbc8b[_0xba5f52(0xac)];_0x19ea2f++){if(!(_0x19ea2f in _0x2fbc8b))continue;let _0x5f359e=_0x38579e(_0x2fbc8b[_0x19ea2f]);_0x5f359e&&_0x44845b[_0xba5f52(0xfb)](_0x5f359e);}return _0x44845b[_0xba5f52(0x1b5)](',\x20');}if(typeof _0x2fbc8b==_0xba5f52(0x35c)){let _0x369d94=_0x2fbc8b;return String(_0x369d94[_0xba5f52(0x10b)]??_0x369d94[_0xba5f52(0x177)]??_0x369d94['text']??_0x369d94[_0xba5f52(0x28b)]??'')[_0xba5f52(0x3b1)]();}return String(_0x2fbc8b);}function _0x1b8574(_0x3cdf14,_0xb9a08){const _0x36d86c=_0x565318;let _0x3ecf76=0x0;for(let _0x513789 of _0xb9a08)if(_0x513789){if(_0x513789===_0x3cdf14){_0x3ecf76=Math[_0x36d86c(0x10a)](_0x3ecf76,0x12c);continue;}if(_0x513789[_0x36d86c(0xff)](_0x3cdf14)){_0x3ecf76=Math[_0x36d86c(0x10a)](_0x3ecf76,0xfa);continue;}_0x513789['includes'](_0x3cdf14)&&(_0x3ecf76=Math['max'](_0x3ecf76,0xc8));}return _0x3ecf76;}function _0x3730e9(_0x5bc42c){const _0x2ca92a=_0x565318;return _0x5bc42c[_0x2ca92a(0x3b1)]()[_0x2ca92a(0x362)](/\s+/g,'\x20')[_0x2ca92a(0x4ab)]();}function _0x5f5cec(_0x439c68){return Array['from'](new Set(_0x439c68));}function _0x27b436(_0x432ed5){const _0x31b0c6=_0x565318;let _0x49f900=[];for(let {rowIndex:_0x2ec04c,fieldIndex:_0x565dfe,..._0x2d9599}of _0x432ed5)_0x49f900[_0x31b0c6(0xfb)](_0x2d9599);return _0x49f900;}function _0x24ce83(_0x38b408){const _0x490278=_0x565318;return{'compress':!0x0,'kind':_0x490278(0xce),'u':_0x38b408[_0x490278(0x1ca)],'t':_0x38b408['tableId'],'p':_0x38b408[_0x490278(0x49a)]['map'](_0x3471d3=>[_0x3471d3[_0x490278(0xa9)],_0x3471d3[_0x490278(0x395)],_0x52c73f(_0x3471d3[_0x490278(0x3a9)])]),..._0x38b408[_0x490278(0x4bc)]===void 0x0?{}:{'g':_0x38b408[_0x490278(0x4bc)]}};}function _0x2d1e02(_0x2e1065){const _0x5c0d04=_0x565318;if(_0x254c3d(_0x2e1065,_0x5c0d04(0xce)),!_0x40a1da(_0x2e1065)){if(!_0x4564d0(_0x2e1065))throw Error(_0x5c0d04(0x510));return _0x2e1065;}return{'unitId':_0x2e1065['u'],'tableId':_0x2e1065['t'],'patches':_0x2e1065['p'][_0x5c0d04(0x2e7)](([_0x5e1c10,_0x4d81a1,_0x1c40f1])=>({'row':_0x5e1c10,'col':_0x4d81a1,'value':_0x118614(_0x1c40f1)})),..._0x2e1065['g']===void 0x0?{}:{'trigger':_0x2e1065['g']}};}function _0x40a1da(_0x26e558){const _0x19ebd0=_0x565318;return!_0x30d5bd(_0x26e558)||_0x26e558[_0x19ebd0(0x39c)]!==!0x0||_0x26e558[_0x19ebd0(0x472)]!==_0x19ebd0(0xce)?!0x1:typeof _0x26e558['u']=='string'&&typeof _0x26e558['t']==_0x19ebd0(0x17d)&&(_0x26e558['g']===void 0x0||typeof _0x26e558['g']=='string')&&Array[_0x19ebd0(0x1eb)](_0x26e558['p'])&&_0x26e558['p'][_0x19ebd0(0x1fd)](_0x50f811=>Array[_0x19ebd0(0x1eb)](_0x50f811)&&_0x50f811[_0x19ebd0(0xac)]===0x3&&Number[_0x19ebd0(0x2ba)](_0x50f811[0x0])&&Number[_0x19ebd0(0x2ba)](_0x50f811[0x1]));}function _0x346c08(_0x167d5a){const _0xbd125=_0x565318;return!_0x30d5bd(_0x167d5a)||_0x167d5a[_0xbd125(0x39c)]!==!0x0||_0x167d5a[_0xbd125(0x472)]!==_0xbd125(0x187)||!_0x30d5bd(_0x167d5a['tables'])?!0x1:Object[_0xbd125(0x3dd)](_0x167d5a[_0xbd125(0x257)])['every'](_0x251f92=>_0x30d5bd(_0x251f92)&&(_0x251f92['cd']===void 0x0||Array[_0xbd125(0x1eb)](_0x251f92['cd'])&&_0x251f92['cd']['every'](_0xffadf7=>Array['isArray'](_0xffadf7)&&_0xffadf7['length']===0x3&&Number['isInteger'](_0xffadf7[0x0])&&Number['isInteger'](_0xffadf7[0x1])&&_0x5dfa79(_0xffadf7[0x2]))));}function _0x52c73f(_0x573765){return _0x1f7e83(_0x573765)?_0x3266d1(_0x573765):_0x573765;}function _0x118614(_0x38f776){return _0x5dfa79(_0x38f776)?_0x44d70b(_0x38f776):_0x38f776;}function _0x3266d1(_0x4366b4){return{'c':0x1,..._0x4366b4['v']===void 0x0?{}:{'v':_0x4366b4['v']},..._0x4366b4['t']!==void 0x0&&_0x4366b4['t']!==null?{'t':_0x4366b4['t']}:_0x4366b4['t']===null?{'t':null}:{},..._0x4366b4['f']!==void 0x0&&_0x4366b4['f']!==null?{'f':_0x4366b4['f']}:_0x4366b4['f']===null?{'f':null}:{},..._0x4366b4['si']!==void 0x0&&_0x4366b4['si']!==null?{'si':_0x4366b4['si']}:_0x4366b4['si']===null?{'si':null}:{},..._0x4366b4['p']!==void 0x0&&_0x4366b4['p']!==null?{'p':_0x4366b4['p']}:_0x4366b4['p']===null?{'p':null}:{}};}function _0x44d70b(_0x9116b2){return{..._0x9116b2['v']===void 0x0?{}:{'v':_0x9116b2['v']},..._0x9116b2['t']===void 0x0?{}:{'t':_0x9116b2['t']},..._0x9116b2['f']===void 0x0?{}:{'f':_0x9116b2['f']},..._0x9116b2['si']===void 0x0?{}:{'si':_0x9116b2['si']},..._0x9116b2['p']===void 0x0?{}:{'p':_0x9116b2['p']}};}function _0x1f7e83(_0x1579ce){const _0x2dc7b2=_0x565318;return!!_0x1579ce&&typeof _0x1579ce=='object'&&!Array[_0x2dc7b2(0x1eb)](_0x1579ce)&&(Object['prototype'][_0x2dc7b2(0x345)][_0x2dc7b2(0x3b3)](_0x1579ce,'v')||Object[_0x2dc7b2(0x3f7)][_0x2dc7b2(0x345)]['call'](_0x1579ce,'t')||Object[_0x2dc7b2(0x3f7)][_0x2dc7b2(0x345)][_0x2dc7b2(0x3b3)](_0x1579ce,'p')||Object['prototype'][_0x2dc7b2(0x345)]['call'](_0x1579ce,'f')||Object[_0x2dc7b2(0x3f7)][_0x2dc7b2(0x345)][_0x2dc7b2(0x3b3)](_0x1579ce,'si'));}function _0x5dfa79(_0x19336a){return _0x30d5bd(_0x19336a)&&_0x19336a['c']===0x1;}function _0x4564d0(_0x2b9690){const _0x3a5a75=_0x565318;return _0x30d5bd(_0x2b9690)&&typeof _0x2b9690[_0x3a5a75(0x1ca)]=='string'&&typeof _0x2b9690['tableId']=='string'&&(_0x2b9690[_0x3a5a75(0x4bc)]===void 0x0||typeof _0x2b9690[_0x3a5a75(0x4bc)]=='string')&&Array[_0x3a5a75(0x1eb)](_0x2b9690[_0x3a5a75(0x49a)])&&_0x2b9690[_0x3a5a75(0x49a)][_0x3a5a75(0x1fd)](_0xe9dc01=>_0x30d5bd(_0xe9dc01)&&Number['isInteger'](_0xe9dc01[_0x3a5a75(0xa9)])&&Number[_0x3a5a75(0x2ba)](_0xe9dc01[_0x3a5a75(0x395)])&&_0x3a5a75(0x3a9)in _0xe9dc01);}function _0x254c3d(_0x5c0d20,_0x507b3b){const _0x9d6d03=_0x565318;if(_0x30d5bd(_0x5c0d20)&&_0x5c0d20[_0x9d6d03(0x39c)]===!0x0){if(_0x5c0d20[_0x9d6d03(0x472)]!==_0x507b3b)throw Error(_0x9d6d03(0x4d8)+String(_0x5c0d20[_0x9d6d03(0x472)])+'\x22.');if(!(_0x507b3b===_0x9d6d03(0xce)?_0x40a1da(_0x5c0d20):_0x346c08(_0x5c0d20)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x507b3b+'\x22.');}}function _0x30d5bd(_0x3c3118){const _0x290450=_0x565318;return!!_0x3c3118&&typeof _0x3c3118==_0x290450(0x35c)&&!Array['isArray'](_0x3c3118);}_0x58b41f['ApplyBaseJson1Mutation']=_0x4f6ebe,_0x58b41f[_0x565318(0x3db)]=_0x15f60e,_0x58b41f[_0x565318(0x16b)]=0x5,_0x58b41f['BASE_HIERARCHY_PARENT_FIELD_ID']=_0x3eec2e,_0x58b41f[_0x565318(0x19b)]=_0x565318(0x253),_0x58b41f[_0x565318(0x3c7)]=_0x1cf243,_0x58b41f[_0x565318(0x470)]=_0xa6d2,_0x58b41f[_0x565318(0x338)]=_0x2ced61,_0x58b41f[_0x565318(0x14c)]=_0x218cb8,_0x58b41f[_0x565318(0x442)]=_0x345a4a,_0x58b41f['BaseHierarchyErrorCode']=_0x37a12f,_0x58b41f['BaseHistoryAction']=_0x5b5491,_0x58b41f['BaseJson1OpApplier']=_0x4ddc63,_0x58b41f[_0x565318(0x184)]=_0x11b56b,_0x58b41f['BatchCreateBaseRecordsCommand']=_0x500705,_0x58b41f[_0x565318(0x4a5)]=_0x427525,_0x58b41f[_0x565318(0xfd)]=_0x3da4bf,_0x58b41f['CreateBaseChildRecordCommand']=_0xc5c0a8,_0x58b41f[_0x565318(0x374)]=_0x3a021b,_0x58b41f[_0x565318(0x221)]=_0x3ad88c,_0x58b41f[_0x565318(0x3e3)]=_0x2f2090,_0x58b41f['CreateBaseViewCommand']=_0x2df3a2,_0x58b41f[_0x565318(0xbb)]=_0x1dd7bf,_0x58b41f[_0x565318(0x232)]=_0x284316,_0x58b41f[_0x565318(0x3f9)]=_0x5cc258,_0x58b41f[_0x565318(0x48d)]=_0x13f593,_0x58b41f['DuplicateBaseFieldCommand']=_0x6bc752,_0x58b41f[_0x565318(0x399)]=_0x410f5d,_0x58b41f['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x87800f,_0x58b41f['EnsureBaseTemporalViewDateFieldsCommand']=_0x89a708,_0x58b41f[_0x565318(0x196)]=_0x2a6ad5,_0x58b41f[_0x565318(0x3ad)]=_0x42298a,_0x58b41f[_0x565318(0x4ce)]=_0x2c7d1d,_0x58b41f[_0x565318(0x50a)]=_0x39e4c9,_0x58b41f[_0x565318(0x2c7)]=_0x5a218e,_0x58b41f[_0x565318(0x11c)]=_0x36bd99,_0x58b41f[_0x565318(0x12e)]=_0x2ef155,_0x58b41f['RenameBaseTableCommand']=_0x3326b6,_0x58b41f[_0x565318(0x43d)]=_0x5519ef,_0x58b41f[_0x565318(0x32d)]=_0xff1497,_0x58b41f[_0x565318(0x385)]=_0x365c18,_0x58b41f[_0x565318(0x32c)]=_0x4b2bb5,_0x58b41f['SetBasePermissionRuleMutation']=_0x187cd2,_0x58b41f[_0x565318(0x288)]=_0x4f72c7,_0x58b41f[_0x565318(0x3a2)]=_0x1ba849,_0x58b41f[_0x565318(0x3ec)]=_0x3adfb6,_0x58b41f[_0x565318(0x36e)]=_0x1a98e2,_0x58b41f['SetBaseTableHierarchyFieldCommand']=_0x2e5889,_0x58b41f[_0x565318(0x342)]=_0x211ede,_0x58b41f['SetBaseViewFieldVisibleCommand']=_0x30bd74,_0x58b41f[_0x565318(0x168)]=_0x44afeb,_0x58b41f['SetBaseViewFilterCommand']=_0x5434e0,_0x58b41f[_0x565318(0x26c)]=_0x803ac1,_0x58b41f[_0x565318(0x36d)]=_0x48967c,Object['defineProperty'](_0x58b41f,_0x565318(0x223),{'enumerable':!0x0,'get':function(){return _0x3bacdf;}}),Object[_0x565318(0x255)](_0x58b41f,_0x565318(0x248),{'enumerable':!0x0,'get':function(){return _0x53d563;}}),_0x58b41f[_0x565318(0xbd)]=_0x5628fa,_0x58b41f[_0x565318(0x1c3)]=_0x1a3942,_0x58b41f[_0x565318(0x30f)]=_0x242ec3,_0x58b41f['UpdateBaseKanbanConfigCommand']=_0x1b60b6,_0x58b41f[_0x565318(0x19d)]=_0x3ff4b2,_0x58b41f[_0x565318(0x151)]=_0xee320d,_0x58b41f[_0x565318(0x38a)]=_0xc160e5,_0x58b41f['ValidateBaseFormulaCommand']=_0x120454,_0x58b41f['baseDateSerialToDateMs']=_0x159f2d,_0x58b41f[_0x565318(0x3e7)]=_0x3b7781,_0x58b41f['calculateBaseFieldStat']=_0x32157c,_0x58b41f[_0x565318(0x121)]=_0x441430,_0x58b41f['compressBaseRangeValuesPayload']=_0x24ce83,_0x58b41f['copyBaseTableSnapshot']=_0x5cf311,_0x58b41f[_0x565318(0x38f)]=_0xd92ee0,_0x58b41f[_0x565318(0x15b)]=_0x5ebe18,_0x58b41f[_0x565318(0x19f)]=_0x6ccd09,_0x58b41f[_0x565318(0x22e)]=_0x1d3748,_0x58b41f[_0x565318(0xba)]=_0x5c4439,_0x58b41f[_0x565318(0x4be)]=_0x5e63cd,_0x58b41f['dateToExcelSerial']=_0xdbd9dd,_0x58b41f['decompressBaseRangeValuesPayload']=_0x2d1e02,_0x58b41f['ensureBaseTableCellLayout']=_0x21979c,_0x58b41f['findRecordLinkReferences']=_0x5efd64,_0x58b41f[_0x565318(0x50e)]=_0x534230,_0x58b41f['formatBaseFieldStatValue']=_0x5e9177,_0x58b41f['formatBaseNumberValue']=_0x42a9f7,_0x58b41f[_0x565318(0x3d5)]=_0x170a8b,_0x58b41f[_0x565318(0x2a0)]=_0x266192,_0x58b41f[_0x565318(0x24c)]=_0x55810c,_0x58b41f[_0x565318(0x116)]=_0x99141b,_0x58b41f[_0x565318(0x3c8)]=_0x19643c,_0x58b41f['getBaseDashboardPermissionObjectId']=_0x3abe24,_0x58b41f[_0x565318(0x4c8)]=_0x18fb74,Object[_0x565318(0x255)](_0x58b41f,_0x565318(0x433),{'enumerable':!0x0,'get':function(){return _0x4dff15['getBaseFormulaTableName'];}}),_0x58b41f[_0x565318(0x39b)]=_0x54ab3d,_0x58b41f[_0x565318(0x12a)]=_0x5d6b7d,_0x58b41f[_0x565318(0x3ed)]=_0xd5ccf7,_0x58b41f[_0x565318(0x122)]=_0x533141,_0x58b41f[_0x565318(0x404)]=_0x1d4b0d,_0x58b41f[_0x565318(0x279)]=_0x716ead,_0x58b41f[_0x565318(0x450)]=_0x3503a1,_0x58b41f[_0x565318(0x3fe)]=_0x24e26b,_0x58b41f[_0x565318(0x46c)]=_0x17ab77,_0x58b41f[_0x565318(0x400)]=_0x499606,_0x58b41f[_0x565318(0x4cc)]=_0x234a07,_0x58b41f[_0x565318(0xb5)]=_0xd617a3,_0x58b41f[_0x565318(0x28e)]=_0x5aa1e2,_0x58b41f['isBaseFieldStatType']=_0x2b9e10,_0x58b41f['isBaseHierarchyField']=_0x48ed14,_0x58b41f[_0x565318(0xf4)]=_0x40a1da,_0x58b41f[_0x565318(0x3c1)]=_0x501164,_0x58b41f[_0x565318(0x43a)]=_0x370d34,_0x58b41f[_0x565318(0x494)]=_0x5a0e5d,_0x58b41f[_0x565318(0x281)]=_0x1803a0,_0x58b41f['parseRecordLinkIds']=_0x26e3e2,_0x58b41f[_0x565318(0x4b2)]=_0x1a01dd,_0x58b41f[_0x565318(0x1f0)]=_0x1c2ef6,_0x58b41f[_0x565318(0x208)]=_0xe59662,_0x58b41f[_0x565318(0x391)]=_0x5a6b53,_0x58b41f[_0x565318(0x36f)]=_0x33585f,_0x58b41f[_0x565318(0x1c0)]=_0x1cb0b2,_0x58b41f['setBasePermissionValue']=_0x19bcd4,_0x58b41f[_0x565318(0x3b6)]=_0x24faa7,_0x58b41f['uniqueFieldName']=_0xfd1783,_0x58b41f[_0x565318(0x2d6)]=_0x4360b8,_0x58b41f[_0x565318(0x1d2)]=_0x2d68df,_0x58b41f['validateBaseHierarchyRecordPatches']=_0x36b42a,_0x58b41f[_0x565318(0x4f1)]=_0x148c6f,_0x58b41f[_0x565318(0x10f)]=_0x2571e9,_0x58b41f[_0x565318(0x2fd)]=_0x595100,_0x58b41f['validateRecordLinkValue']=_0x376044;}));function _0x5b6a(_0x255360,_0x206a59){_0x255360=_0x255360-0xa4;const _0x479069=_0x4790();let _0x5b6af6=_0x479069[_0x255360];return _0x5b6af6;}function _0x4790(){const _0x487ea8=['base.command.set-permission','rowIndexById','start','[BaseFormula]:\x20table\x20does\x20not\x20exist.','insertOp','Invalid\x20object\x20permission\x20batch.','maxDepth','_check','SetBaseViewSortCommand','SetBaseRecordValuesCommand','searchBaseTable',',,,\x22B\x22','_fieldRegistry','_isKanbanGroupField','base.command.batch-create-base-records','CreateBaseFieldCommand','fields','unitWidth','objectType','#FDE68A','subtreeEndIndex','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','RecordId','_instanceService','_tableBaseIds','table','Gantt','dependencyFieldId','cell','action','_getCellRevision','canEditTable','SetBaseNameCommand','invalid','BaseProjection.getProjection','-record-','view/','UpdateBaseViewConfigCommand','CONTAINS','197VGIAeA','CommandType','_commandService','createBaseHierarchyParentField','userID','resolveBaseRangeHierarchyPatches','deleteTable','base.command.duplicate-base-record','_initDataSync','col','createUpdateCellOp','from','getUTCDate','DuplicateBaseRecordCommand','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getBaseHierarchyDeletePromotions','compress','dateKit','moveField','compose','createBase','sortedView','SetBasePermissionsCommand','parentByRecordId','_findCalendarDateFieldId','pattern','_initialize','short','_getCurrentUserId','value','pluginName','assertBaseTableRecordIdentity','_tableRevisions','IBasePermissionService','setTablePermission','createRecords','min','trim','COLUMN','call','canEditRecord','Gallery','traceBasePerformance','exact','reduce','_views','Status','_groupCellInvalidations','End\x20date','Unsupported\x20Base\x20permission\x20object:\x20','base.command.validate-formula','UniverRpc','createField','matchesBaseCondition','unknown','blue','_viewRowsCacheKey','params','base.command.delete-base-field','BASE_UNIT_PERMISSION_ACTIONS','getBaseConditionalColorOperators','invalidGroupField','getFullYear','syncExecuteCommand','usableAsGanttStart','bases.fieldConfig.textPlaceholder','JSONX','@univerjs/engine-formula','base.mutation.set-permission-rule','flatMap','includes','Start\x20date','[BaseHierarchy]:\x20field\x20\x22','formatBaseProgressValue','_initRegistries','6867728ZesrUm','base.field-registry.service','regexp','_apply','BASE_FIELD_STAT_TYPES','getTypeOfUnitAdded$','values','_fastSortRows','gantt','updatedBy','recordId','createSuperTableReference','CreateBaseTableCommand','info','BASE_OBJECT_PERMISSION_PLUGIN','_getJson1DirtyData','buildBaseHierarchyIndex','SingleSelect','round','none','[DeleteBaseTableCommand]:\x20table\x20\x22','SetBaseRangeValuesCommand','getBasePermissionValue','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','canDeleteField','deleteField','label','syncUnit','BaseJson1.syncCellInvalidations','_getViewRevision','find','manual','prototype','delete','DeleteBaseTableCommand','#3b82f6','direction','iterator','_normalizeCellValue','getSupportedBaseFieldStatTypes','[RecordLink]:\x20field\x20config\x20is\x20invalid.','inferBaseSeparatorStyle','__all__','_isGanttDateField','_deleteAttachmentResources','getBaseTablePermissionObjectId','_isColorfulKanbanGroupField','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_initDependencies','base.command.create-base-view','color','\x20must\x20be\x20an\x20object.','SetFormulaCalculationResultMutation','_filterRows','Name','attachment','_cellInvalidationsTouchFields','BaseConditionalColorTarget','catch','Use\x2031\x20characters\x20or\x20fewer.','_baseSyncDisposables','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseCommandService]:\x20field\x20\x22','fieldSettings','revision','https://','getAllBases','path','boolean','_sortRows','_getHierarchyIndex','thisMonth','BOOLEAN','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','_projectHierarchyGroups','BaseJson1.json1Apply','@univerjs-pro/engine-formula','thisWeek','getInstance','numfmt','code','resolvedOptions','isBaseRecordIdFieldName','FORCE_STRING','showTodayLine','snapshot','_clearObjectEdit','base.command.set-base-table-hierarchy-field','function','createView','_projectionCache','BASE_RECORD_ID_FIELD_ID','getBaseFormulaTableName','BaseJson1.normalizeTables','_basePermissions','fromPlainText','lessThan','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','invalidateByView','normalizeBaseDateFieldConfig','beforeCommandExecuted','month','RenameBaseViewCommand',':start','_calendarEventColor','base.command.update-base-field','INIT','BaseHierarchyError',':end','JSON1','objectId','keys','base.permission.service','bases.remote.config','tableRevision','Comment','ICommandService','_projectFields','collaborators','moveView','attachment-','getRecordLinkFieldConfig','person','calendar','[BaseCommandService]:\x20record-id\x20is\x20reserved.','colId','commaPeriod','canCreateField','base.viewType.gallery','Facade','\x22\x20does\x20not\x20exist.','_dataSyncPrimaryController','tomorrow','Injector','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','viewOrder','\x20has\x20unsupported\x20operator\x20\x22','rowId','long','protocol','normal','Inject','option-','_resolveKanbanCoverFieldId','text','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','startDateFieldId','51210hSxujY','invalidDateField','getVisibleBaseHierarchyRows','tableName','changeFieldType','_isAllDayCalendarEvent','BaseConditionalColorRuleUpdateType','Copy','kind','percent','end','initializeUnit','record/','UniverProFormulaEnginePlugin','raw','findIndex','setBaseName','Yes','setViewFieldOrder','_projectRows','FormulaResultApplicationType','_getKanbanConfiguredLanes','bases.fieldConfig.linkPlaceholder','_buildCalendar','options','[BaseCommandService]:\x20cannot\x20create\x20record.','createBaseFormulaTableNameMap','unsubscribe','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','dispose','add','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','_deleteRecordsBaseOp','columnSettings','Parent','DeleteBaseViewCommand','isValidBaseRecordId','A\x20table\x20with\x20this\x20name\x20already\x20exists.','endsWith','record','amd','RemoveSuperTableMutation','normalizeBaseDateSerial','_applyFormulaResult','STRING','IUniverInstanceService','nameCharacterCheck','renameTable','patches','viewId','formula.mutation.set-formula-calculation-result','Unsupported\x20Base\x20permission\x20action:\x20','policy','base.command.set-base-view-field-visible','lastIndex','titleFieldId','_setViewFieldSetting','general','_kanbanLaneColor','BatchDeleteBaseRecordsCommand','fromChangeset','#BBF7D0','currencySymbol','base.command.set-base-view-filter','base.viewType.gantt','toLowerCase','fieldName','_getTableRevision','_configService','default','\x20must\x20have\x20a\x20non-empty\x20id.','\x22\x20is\x20not\x20registered.','projectBaseHierarchy','createBaseRecordIdField','size','addPermissionPoint','Disposable','_rememberTable','workingDaysOnly','Ids','base.command.create-base-record','UpdatedBy','trigger','_buildGantt','createUniqueBaseTableName','base.command.delete-base-view','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','write','conditional','_canUseFastSort','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','Phone','groupFieldId','getBaseFieldPermissionObjectId','exceptions','globalRevision','_isCalendarDateField','isBaseConditionalColorDateField','number','IBaseProjectionService','abbreviation','Todo','setSnapshot','past7','updateField','toFixed','_title','recordIds','UpdatedAt','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','getDependencies','usableAsCalendarDate','SortedView','_clearUnit','BaseProjection.projectRows','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','UniverProtocol','usableAsGanttEnd','showFieldNames','year','MUTATION','@univerjs/rpc','fld-','canCreateTable','_syncBaseUnit','getAllUnitsForType','base.command.set-base-name','getTime','Group','createBatchCreateRecordsOp','duplicate','_onCommandExecuted','separatorStyle','duplicateRecord','validateBaseTableName','Plugin','WriteCursor','base.command.batch-delete-base-records','Uncategorized','univer.basePerf','_setFormulaFieldCells','\x22\x20is\x20referenced\x20by\x20','invertOp','_resolveGalleryCardFieldIds','UNIVER_BASE','createCreateFieldOp','clearRecordPermission','RecordLink','nodes','_setCachedProjection','targetTableId','done','base.viewType.grid','SetSuperTableMutation','card','includeRecords','-view-grid','allowDangling','at\x20index\x20','IBaseViewRegistryService','createDeleteRecordsUndoOp','DESC','UniverLicensePlugin','formatBaseDateValue','[BaseViewRegistryService]:\x20view\x20type\x20\x22','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','groups','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','Empty','#BFDBFE','missingField','h12','optionSource','row','ColorKit','timeZone','length','MM-DD','clearUnit','allocateBaseFormulaTableName','renameFormulaUnitReferences','_runtimeContext','[BaseCommandService]:\x20cannot\x20edit\x20record.','unique','_replaceOptional','isBaseFieldStatEmptyValue','renameView','decimal','createRecord','width','createEmbedBasesTableRemoveMutation','DeleteBaseFieldCommand','custom','UpdateBaseCellCommand','_setAttachmentResources','decimalPlaces','MM/DD/YYYY','[BaseField]:\x20invalid\x20person\x20value.','usableAsCardCover','afterFieldId','canDeleteRecord','relationRole','formula','_patchProjectedRowsForCellInvalidations','_findKanbanGroupField','exists','invalidateByOp','localeCompare','393039TYaNPa','_permissionService','base-range-values-v1','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','base.command.set-permissions','setConfig','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','toDisposable','dateFormat','getCurrentUnitOfType','base.fieldType.','getStructuredDependencies','base-perf','base.command.ensure-base-temporal-view-date-fields','toPlainText','view-','MissingParent','FormulaCalculationSessionService','UNIVER_EMBED_BASES_TABLE','BaseRecord','NUMBER','_normalizeGanttDisplayColor','_hierarchyIndexCache','#14b8a6','set','star','[BaseField]:\x20invalid\x20email\x20value.','Doing','getAffectedRanges','BASES_PLUGIN','depth','repeat','_getOrderedRecords','projection','Edit','CreatedAt','leftPaneCollapsed','canDeleteTable','subscribe','date','isCompressedBaseRangeValuesPayload','base.command.update-base-view-conditional-color-rules','_capabilities','base.command.set-base-view-sort','todo','UnitAction','remote','push','basePerf','ChangeBaseFieldTypeCommand','score','startsWith','_viewRevisions','InvalidField','hierarchy','[BaseCommandService]:\x20cannot\x20manage\x20view.','_resolveCardTitleFieldId','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','canCreateRecord','_recordIds','before','_normalizeGalleryConfig','max','title','editCell','createRegExpFromSafeFragment','isNaN','validateCanonicalRecordLinkValue','check','setViewFilter','Base\x20',',,\x22M\x22','editable','getItem','getBaseCellValue','mark','[BaseField]:\x20invalid\x20multi-value\x20reference.','CreatedBy','LESS_THAN','onStarting','MoveBaseHierarchyRecordCommand','parentRecordId','_recordPermissions','quarter','IBaseCellData.ensureTableCellLayout','canEditBaseTargets','getBaseRecordPermissionObjectId','user','strategies','UniverInstanceType','source','touchDependencies','displayColor','h24','getBaseHierarchyFieldId','setViewGroup','members','pickerFieldIds','MoveBaseViewCommand','embed-ui','Rating','subType','validateFormula','setViewFieldVisible','_createRecordWithDefaults','recordOrder','Attachment','onCommandExecuted','base.command.create-base-table','viewIndexes','_createNumberingAllocators','[BaseField]:\x20invalid\x20rating\x20value.','registerView','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','delete-view','CreateView','order','off','symbol','BaseDashboard','6125620BNAYEQ','[BaseCommandService]:\x20cannot\x20create\x20table.','[BaseCommandService]:\x20invalid\x20field\x20definition.','changes','decorate','_fieldPermissions','SelfParent','_assertFieldDefinition','BaseFormulaService','getCurrentUserId','_formulaCalculationSessionService','key','_groupProjectionFieldIds','UpdateBaseViewConditionalColorRulesCommand','_formulaSyncQueue','_setObjectEdit','getUTCMonth','setRecordPermission','https:','Working\x20day','workingDays','getAllPermissionPoint','setViewPermission','createDefaultBaseTableSnapshot','UniverProEngineFormula','format','register','_materializeGroups','_T_','[BaseCommandService]:\x20cannot\x20edit\x20cell.','Progress','matchAll','14060SuinCV','fromCollab','getSnapshot','_cacheKey','SetBaseViewFieldWidthCommand','registerCtorForType','bases.config','BASE_HIERARCHY_MAX_LEVELS','Set','AFTER','NumberFormat','count','Number','flat','refactorFormulaUnitQualifier','_resolveBaseId','periodComma','setViewFieldWidth','BaseJson1.cloneForOp','name','ena','UniverProLicense','field','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Base','string','records','invalidateByField','required','attachmentSet','isNot','_createSystemFieldValuePatches','BaseJson1OpFactory','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','manageView','base-snapshot-v1','timeslotSize','getTypeOfUnitDisposed$','_projectedViewRowsCache','weekdays','multiple','Date','base.command.','greaterThan','dashboard/','BaseField','_bumpTableRevision','attachments','Clear','group','IBaseCommandService','getUnitId','setHours','duplicateField','allowMultiple','BASE_TABLE_NAME_REQUIREMENTS','spacePeriod','UpdateBaseRecordOrderCommand','slice','createEmbedBasesTable','cellData','Person','pushUndoRedo','IUndoRedoService','tableOrder','some','@univerjs-pro/bases','BaseSortDirection','base.command.delete-base-record','_getAllTableIds','_projectedRowsCache','getMonth','UnitObject','BaseRecordLinkRole','_plugins','scale','BASE','hidden','_patchCachedProjectedRows','_createNumberingFieldValuePatches','constructor','join','rule','_resolveCalendarDateFieldId','_disposed','_removeSuperTables','\x22.\x20Allowed\x20operators:\x20','parse','colorFieldId','_normalizeCalendarDisplayColor','CustomCommandExecutionError','_activeDirtyManagerService','serializeRecordLinkIds','base.command.duplicate-base-field','_filterSortFieldIds','UpdateBaseFieldCommand','$1\x20','updatePermissionPoint','this-row','updatedAt',',\x22K\x22','_kanbanLaneTitle','unitId','toPrimitive','_toDirtyRangePatch','_applier','_normalizeCalendarConfig','base.viewType.calendar','undefined','canEditCell','validateBaseHierarchyRecordCreations','Grid','rowIndex','base.command.set-base-view-group','_syncSuperTables','working','childrenByParentId','en-US','split','BaseProjection.filterAndSortRows','changed','type','_isAllDayGanttDateRange','notContains','true','cycle','redo','CellValueType','[BaseCommandService]:\x20cannot\x20create\x20field.','saveMany','createCreateRecordOp','displayFieldId','unitData','beforeFieldId','Done','isArray','deleteView','missingRecord','field/','descendPath','resolveBaseDateFieldConfig','base.mutation.set-permission-rules','endDateFieldId','depthByRecordId','REMOTE_BASES_PLUGIN','Text','Delete','_getAllBaseDependencyTreeCacheMap','table/','regenerateViewIds','[BaseField]:\x20invalid\x20number\x20value.','past30','finally','every','oldParentRecordId','3602502TyKWtq','Redo','#16a34a','majorHeaders','_resolveGanttDateFieldId','YYYY-MM-DD','_factory','bases-exchange-client.operation.export-base','forEach','resolveBaseHierarchyFieldId','BaseProjection.projectTableRows','BaseTable','conjunction','_isNonEmptyCellValue','getTypePlugin','Tools','Base\x20edit\x20permission\x20denied.','markResultApplied','cardLayout','_tablePermissions','afterViewId','_resolveKanbanGroupFieldId','_buildGrid','diffValue','isFinite','contains','isEmpty','DependentOn','Calendar','edit','getUnit','setPoint','week','__tempBatchingUndoRedo','CreateBaseRecordCommand','tableId','UniverBasesPlugin','unitOtherData','_formulaCalculationTriggerService','deleteRecords','_cellInvalidations','setRules','Currency','base.command.rename-base-table','Kanban','view','reason','createEmbedBasesTableAddMutation','applyOp','_canEdit','getAll','DeleteBaseRecordCommand','_config','thread-comment.mutation.','attachmentSets','splice','create-view','createIdentifier','bases-exchange-client.operation.export-base-by-format','_viewPermissions','_withModifiedSystemValues','normalize','base.command.set-base-record-values','MultiSelect','cardSize','_getTable','ObjectPermissionRuleModel','useThousands','toLocaleString','baseRows','IS_NOT_EMPTY','clear','deletePermissionPoint','UniverRemoteBasesPlugin','version','readonly','Table\x20name\x20is\x20required.','getBaseCellFormulaValue','base.resource.service','mode','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','ascend','getUnitType','Cycle','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','defineProperty','__base_hierarchy_parent__','tables','_injector','[BaseFormula]:\x20field\x20\x22','toString','deleteRecord','setFieldPermission','[BaseCommandService]:\x20cannot\x20edit\x20field.','getUTCDay','ErrorService','defaultValue','setBasePermission','_viewRevisionKey','system','base.command.move-base-field','_scheduledSuperTableSyncs','[BaseProjectionService]:\x20missing\x20view\x20\x22','14VOpewg','validate','primaryFieldId','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','Checked','SetBaseViewGroupCommand','Export','parentFieldName','recordNamePrefix','base-perf-','[BaseField]:\x20invalid\x20phone\x20value.','disposeWithMe','_projectGroups','410gVVBhB','progressFieldId','next7','\x20permission\x20denied.','data','getBaseViewPermissionObjectId','now','IConfigService','childUnitId','setRangeValues','IS_EMPTY','sort','BaseView','normalizeBaseFieldStatsConfig','_canEditTable','repairViewConfig','remove','COMMAND','_normalizeGanttConfig','executeCommand','SetBasePermissionRulesMutation','[BaseCommandService]:\x20cannot\x20edit\x20table.','next30','url','BaseDataModel','updateRecordOrder','isBaseFieldStatSupported','IS_NOT','abs','pop','updateViewConfig','_getCachedProjection','after','deepClone','_executeSuperTableMutationWhileActive','Table','4115664xxruXM','resources','spaceComma','rules','locale','cellRevision','tryMaterializeSnapshot','Unchecked','getActiveBaseHierarchyFieldIds','_projectTableRows','owner','FieldId','canManageView','_isAllowedKanbanGroupField','empty','base.command.move-base-view','Formula','getSuperTableRegistrations','dateMode','FormulaCalculationTriggerService','getPermissionPoint','packageName','_rowTransformCacheSegment','updateCell','createTable','entries','[BaseFormula]:\x20table\x20\x22','undo','target','MMM\x20D,\x20YYYY','createdBy','orderedRecordIds','test','_globalRevision','isInteger','viewRevision','lastIndexOf','getCapabilities','lastWeek','getBase','Module','registerRuleModel','filled','fieldOrder','@univerjs/protocol','invalidReasonByRecordId','config','MoveBaseFieldCommand','yesterday','level','primaryFieldName','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','fromEntries','average','_kanbanGroupKeys','_buildKanban','focusUnit','unshift','emitPermissionDenied','createDefaultConfig','selfParent','selectField','validateBaseHierarchyMove','medium','_registeredSuperTableNames','_groupsCacheKey','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','includeTime','registerSyncingMutations','[BasePerf]\x20','kanban','setRule','colIndex','Date1900','sum','_createNumberingAllocator','status','base.command.update-base-record-order','fieldIds','map','coverFieldId','BaseViewType','stringify','getOwnPropertyDescriptor','Failed\x20to\x20create\x20update\x20cell\x20operation:','DD/MM/YYYY','filter','formulaName','_registerUnitPermissionPoints','getUTCFullYear','[BaseCommandService]:\x20cannot\x20delete\x20record.','base.command.change-base-field-type','local','[BaseHierarchy]:\x20','orderKey','canEditField','__UNIVER_BASE_PERF__','gridViewId','operator','allowNegative','BaseHierarchyInvalidReason','validateRecordLinkField','get','ObjectMatrix','doing','createdAt','replaceOp','_buildGallery','IPermissionService','_createRecordOrderOp','exports','http:','embedId','error','base.command.update-base-kanban-config','registerCommand','_resolveKanbanCardFieldIds','Choose\x20another\x20name.','all','UpdateBaseFieldDescriptionCommand','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','-field-name','description','False','_materializeFormulaTableNames','BaseFilterConjunction','hostAnchorId','rootRecordIds','query','toStringTag','valid','getDay','_getStructureDirtyTableIds','DateSystem','createSetRecordValuesOp','_scheduleSuperTableSync','resolve','indexOf','ObjectPermissionService','setViewSort','invalidField','_univerInstanceService','IResourceManagerService','removeOp','operand','base.command.update-base-cell','_projectedGroupsCache','frozenFieldCount','SetBasePermissionCommand','SetBaseKanbanGroupFieldCommand','sequenceExecute','isNotEmpty','conditionalColoring','_applyingFormulaResults','_cellRevisions','_initCommands','Checkbox','Import','has','yyyy/mm/dd','BaseEventSource','_enqueueFormulaSync','BaseConditionalColorOperator','[BaseCommandService]:\x20cannot\x20delete\x20table.','codePointAt','invalidGanttStartField','UTC','Link','generateRandomId','MaxDepth','SetBaseViewFieldOrderCommand','rows','Numbering','hasOwnProperty','compare','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','measure','setRecordValues','base.command.move-base-hierarchy-record','1.0.1','invalidateByCell','column','isValid','base.command.delete-base-table','base.mutation.apply-base-json1','fieldId','BaseFieldType','views','getProjection','hourCycle','base.projection.service','children','base.mutation.','index','True','GREATER_THAN','object','_formulaService','Optional','childType','beforeViewId','base.command.service','replace','PermissionStatus','conditions'];_0x4790=function(){return _0x487ea8;};return _0x4790();}
1
+ function _0x4fc4(_0x42c841,_0x4edf05){_0x42c841=_0x42c841-0x1c4;const _0x508aae=_0x508a();let _0x4fc4e3=_0x508aae[_0x42c841];return _0x4fc4e3;}(function(_0x12f78a,_0x4d9468){const _0x1f5d30=_0x4fc4,_0x37d7b1=_0x12f78a();while(!![]){try{const _0x39e9c1=-parseInt(_0x1f5d30(0x443))/0x1*(parseInt(_0x1f5d30(0x3f4))/0x2)+parseInt(_0x1f5d30(0x3be))/0x3*(-parseInt(_0x1f5d30(0x3fc))/0x4)+-parseInt(_0x1f5d30(0x24a))/0x5+-parseInt(_0x1f5d30(0x1d8))/0x6+-parseInt(_0x1f5d30(0x34c))/0x7*(parseInt(_0x1f5d30(0x335))/0x8)+-parseInt(_0x1f5d30(0x1c9))/0x9+parseInt(_0x1f5d30(0x49e))/0xa*(parseInt(_0x1f5d30(0x403))/0xb);if(_0x39e9c1===_0x4d9468)break;else _0x37d7b1['push'](_0x37d7b1['shift']());}catch(_0x550228){_0x37d7b1['push'](_0x37d7b1['shift']());}}}(_0x508a,0xc40f5),function(_0x4d9363,_0x32e6f8){const _0x45613f=_0x4fc4;typeof exports=='object'&&typeof module<'u'?_0x32e6f8(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x45613f(0x2fe)&&define[_0x45613f(0x323)]?define([_0x45613f(0x47c),_0x45613f(0x272),_0x45613f(0x5ff),'@univerjs/protocol',_0x45613f(0x3b0),_0x45613f(0x4b9),'@univerjs/engine-formula'],_0x32e6f8):(_0x4d9363=typeof globalThis<'u'?globalThis:_0x4d9363||self,_0x32e6f8(_0x4d9363['UniverProBases']={},_0x4d9363[_0x45613f(0x3f5)],_0x4d9363['UniverProEngineFormula'],_0x4d9363[_0x45613f(0x411)],_0x4d9363['UniverProLicense'],_0x4d9363[_0x45613f(0x457)],_0x4d9363['UniverEngineFormula']));}(this,function(_0x22620f,_0xcf3cf2,_0x64dd1a,_0x2f5c57,_0x54c3b5,_0x4f9625,_0x2f0f8e){const _0x2b8d6a=_0x4fc4;Object[_0x2b8d6a(0x2c1)](_0x22620f,Symbol[_0x2b8d6a(0x5d9)],{'value':_0x2b8d6a(0x569)});function _0x391f91(_0x1c0533){const _0x53943d=_0x2b8d6a;let _0x40c9a0=_0x1c0533[_0x53943d(0x5a3)]['targetTableId'],_0x1275be=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x22e)],_0x1c4f8a=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x311)],_0x5b8f37=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x558)],_0x2c4d46=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x2de)];return typeof _0x40c9a0!=_0x53943d(0x3ea)||!_0x40c9a0||typeof _0x1275be!=_0x53943d(0x511)||_0x1c4f8a!==void 0x0&&(typeof _0x1c4f8a!=_0x53943d(0x3ea)||!_0x1c4f8a)||_0x2c4d46!==void 0x0&&_0x2c4d46!==_0xcf3cf2['BaseRecordLinkRole'][_0x53943d(0x60d)]||_0x5b8f37!==void 0x0&&(!Array[_0x53943d(0x2a1)](_0x5b8f37)||_0x5b8f37[_0x53943d(0x20f)](_0x4dd5f3=>typeof _0x4dd5f3!='string'||!_0x4dd5f3)||new Set(_0x5b8f37)['size']!==_0x5b8f37['length'])?null:{'targetTableId':_0x40c9a0,'multiple':_0x1275be,..._0x1c4f8a?{'displayFieldId':_0x1c4f8a}:{},..._0x5b8f37?{'pickerFieldIds':[..._0x5b8f37]}:{},..._0x2c4d46?{'relationRole':_0x2c4d46}:{}};}function _0xcf5891(_0x1727e6){const _0x5ed5ce=_0x2b8d6a;return typeof _0x1727e6!=_0x5ed5ce(0x3ea)||_0x1727e6===''?[]:_0x1727e6[_0x5ed5ce(0x339)](',');}function _0x47d3ab(_0xb7a05c){const _0x28cdbd=_0x2b8d6a;return Array[_0x28cdbd(0x1ea)](new Set(_0xb7a05c))[_0x28cdbd(0x600)](',');}function _0x456626(_0x5743b7,_0x5eae78){const _0x56b339=_0x2b8d6a;if(typeof _0x5743b7!=_0x56b339(0x3ea))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x5743b7==='')return{'valid':!0x0};let _0x3ee249=_0x5743b7[_0x56b339(0x339)](',');return!_0x5eae78&&_0x3ee249[_0x56b339(0x3d4)]>0x1?{'valid':!0x1,'reason':_0x56b339(0x46f)}:_0x3ee249[_0x56b339(0x20f)](_0x171aed=>!(0x0,_0xcf3cf2[_0x56b339(0x5de)])(_0x171aed))||new Set(_0x3ee249)['size']!==_0x3ee249['length']||_0x47d3ab(_0x3ee249)!==_0x5743b7?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x3f95e1(_0x470646,_0x24d149){const _0x261642=_0x2b8d6a;if(_0x24d149[_0x261642(0x1cc)]!==_0xcf3cf2[_0x261642(0x435)][_0x261642(0x34e)])return{'valid':!0x0};let _0x569edd=_0x391f91(_0x24d149),_0x4391f9=_0x569edd?_0x470646['tables'][_0x569edd[_0x261642(0x249)]]:void 0x0;if(!_0x569edd||!_0x4391f9)return{'valid':!0x1,'reason':_0x261642(0x459)};let _0x3827fc=[..._0x569edd[_0x261642(0x311)]?[_0x569edd['displayFieldId']]:[],..._0x569edd[_0x261642(0x558)]??[]][_0x261642(0x22c)](_0x35ce68=>{const _0x227081=_0x261642;let _0x133238=_0x4391f9[_0x227081(0x3b5)][_0x35ce68];return!_0x133238||_0x133238[_0x227081(0x27a)]===!0x0||_0x133238[_0x227081(0x1cc)]===_0xcf3cf2[_0x227081(0x435)][_0x227081(0x46d)];});return _0x3827fc?{'valid':!0x1,'reason':_0x261642(0x434)+_0x3827fc+_0x261642(0x3e6)}:{'valid':!0x0};}function _0x3bd7ca(_0x3f8b03,_0x2731e9,_0x28be89,_0x512969={}){const _0x54d321=_0x2b8d6a;let _0x4ffeb1=_0x391f91(_0x2731e9);if(_0x2731e9[_0x54d321(0x1cc)]!==_0xcf3cf2[_0x54d321(0x435)][_0x54d321(0x34e)]||!_0x4ffeb1)return{'valid':!0x1,'reason':_0x54d321(0x1eb)};let _0x28d4fd=_0x456626(_0x28be89,_0x4ffeb1['multiple']);if(!_0x28d4fd[_0x54d321(0x47d)]||_0x512969['allowDangling'])return _0x28d4fd;let _0x41179d=_0x3f8b03[_0x54d321(0x3d7)][_0x4ffeb1[_0x54d321(0x249)]];if(!_0x41179d)return{'valid':!0x1,'reason':_0x54d321(0x459)};let _0x327319=_0xcf5891(_0x28be89)[_0x54d321(0x22c)](_0x1db9fe=>!_0x41179d['records'][_0x1db9fe]);return _0x327319?{'valid':!0x1,'reason':_0x54d321(0x20c)+_0x327319+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x39ea47(_0x3c287e,_0x52f3b9){const _0x100376=_0x2b8d6a;return Object[_0x100376(0x404)](_0x3c287e['tables'])[_0x100376(0x5d0)](_0x5ab228=>Object[_0x100376(0x404)](_0x5ab228[_0x100376(0x3b5)])[_0x100376(0x5d0)](_0x135d44=>{const _0x79a659=_0x100376;let _0x4afc03=_0x135d44[_0x79a659(0x1cc)]===_0xcf3cf2[_0x79a659(0x435)][_0x79a659(0x34e)]?_0x391f91(_0x135d44):null;return(_0x4afc03==null?void 0x0:_0x4afc03[_0x79a659(0x249)])===_0x52f3b9?[{'tableId':_0x5ab228['id'],'fieldId':_0x135d44['id']}]:[];}));}let _0x1fa07b=_0x2b8d6a(0x1e1),_0x38d4ab=function(_0x40af73){const _0x44b0bc=_0x2b8d6a;return _0x40af73['InvalidField']='invalidField',_0x40af73[_0x44b0bc(0x330)]=_0x44b0bc(0x3a2),_0x40af73[_0x44b0bc(0x428)]=_0x44b0bc(0x480),_0x40af73[_0x44b0bc(0x245)]='cycle',_0x40af73['MaxDepth']=_0x44b0bc(0x522),_0x40af73['SortedView']=_0x44b0bc(0x46a),_0x40af73;}({});var _0x1d7b46=class extends Error{constructor(_0x27e71f,_0x3ee273=_0x2b8d6a(0x510)+_0x27e71f){const _0x2fee61=_0x2b8d6a;super(_0x3ee273),this[_0x2fee61(0x58e)]=_0x27e71f,this['name']='BaseHierarchyError';}};let _0x48d33b=function(_0x2c316e){const _0x377d4c=_0x2b8d6a;return _0x2c316e['UI']='ui',_0x2c316e[_0x377d4c(0x5fd)]=_0x377d4c(0x3c0),_0x2c316e[_0x377d4c(0x394)]=_0x377d4c(0x284),_0x2c316e[_0x377d4c(0x47a)]=_0x377d4c(0x2b1),_0x2c316e['Redo']=_0x377d4c(0x389),_0x2c316e[_0x377d4c(0x2c8)]=_0x377d4c(0x39f),_0x2c316e;}({});function _0x4d880f(_0x16b543,_0x51238b){const _0x158060=_0x2b8d6a;if(!_0x51238b)return!0x1;let _0x235bd0=_0x16b543[_0x158060(0x3b5)][_0x51238b];if(!_0x235bd0||_0x235bd0[_0x158060(0x1cc)]!==_0xcf3cf2['BaseFieldType']['RecordLink'])return!0x1;let _0x2a8782=_0x391f91(_0x235bd0);return _0x2a8782?_0x2a8782[_0x158060(0x249)]===_0x16b543['id']&&_0x2a8782[_0x158060(0x22e)]===!0x1:!0x1;}function _0xb51e67(_0x3e0b32){const _0x138f98=_0x2b8d6a;return[..._0x3e0b32[_0x138f98(0x4ab)],...Object[_0x138f98(0x582)](_0x3e0b32[_0x138f98(0x3b5)])[_0x138f98(0x355)](_0x4675d2=>!_0x3e0b32[_0x138f98(0x4ab)]['includes'](_0x4675d2))[_0x138f98(0x24e)]()][_0x138f98(0x22c)](_0x3cf4f0=>{const _0x227c5d=_0x138f98;var _0x8094db;return _0x4d880f(_0x3e0b32,_0x3cf4f0)?((_0x8094db=_0x391f91(_0x3e0b32[_0x227c5d(0x3b5)][_0x3cf4f0]))==null?void 0x0:_0x8094db[_0x227c5d(0x2de)])===_0xcf3cf2[_0x227c5d(0x223)]['Parent']:!0x1;})??null;}function _0x4f5050(_0x2cc059){let _0x1e68f7=_0xb51e67(_0x2cc059);if(_0x1e68f7)return _0x1e68f7;let _0x4eec79=_0x1fa07b,_0x365965=0x2;for(;_0x2cc059['fields'][_0x4eec79];)_0x4eec79=_0x1fa07b+'_'+_0x365965++;return _0x4eec79;}function _0x3df43c(_0x2d9892,_0x4717c1=_0x4f5050(_0x2d9892),_0x2377da=_0x2b8d6a(0x476)){const _0x107c38=_0x2b8d6a;return{'id':_0x4717c1,'name':_0x2377da,'type':_0xcf3cf2[_0x107c38(0x435)]['RecordLink'],'config':{'targetTableId':_0x2d9892['id'],'multiple':!0x1,'displayFieldId':_0x2d9892[_0x107c38(0x4b4)],'pickerFieldIds':[_0x2d9892[_0x107c38(0x4b4)]],'relationRole':_0xcf3cf2[_0x107c38(0x223)]['Parent']}};}function _0x4c7235(_0x3f9ec9){let _0x24e825=_0xb51e67(_0x3f9ec9);return _0x24e825?[_0x24e825]:[];}function _0x4908a1(_0x43beb9,_0x4d5136){const _0x5f2d50=_0x2b8d6a;let _0x200321=[..._0x4c7235(_0x43beb9)][_0x5f2d50(0x355)](_0x47d810=>_0x4d5136['some'](_0x28a952=>Object[_0x5f2d50(0x3b1)][_0x5f2d50(0x1ec)][_0x5f2d50(0x29f)](_0x28a952['values'],_0x47d810)));if(!_0x200321[_0x5f2d50(0x3d4)])return[];let _0x1b5aed={..._0x43beb9[_0x5f2d50(0x38a)]};_0x4d5136['forEach'](_0x263ef3=>{const _0x40e3e3=_0x5f2d50;let _0x2d5353=_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]];_0x2d5353&&(_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]]={..._0x2d5353,'values':{..._0x2d5353['values'],..._0x263ef3[_0x40e3e3(0x404)]}});});let _0x26425c={..._0x43beb9,'records':_0x1b5aed},_0x2c7bda=[];return _0x200321[_0x5f2d50(0x458)](_0x14e81c=>{const _0x4d271c=_0x5f2d50;let _0x5589a0=_0x3760a3(_0x43beb9,_0x14e81c),_0x2e2fb8=_0x3760a3(_0x26425c,_0x14e81c);for(let [_0x8a26da,_0x23f800]of _0x2e2fb8[_0x4d271c(0x5ed)]){let _0x402b82=_0x4d5136[_0x4d271c(0x20f)](_0x38a908=>_0x38a908[_0x4d271c(0x57e)]===_0x8a26da&&Object[_0x4d271c(0x3b1)][_0x4d271c(0x1ec)][_0x4d271c(0x29f)](_0x38a908['values'],_0x14e81c));if(_0x5589a0[_0x4d271c(0x5ed)]['get'](_0x8a26da)!==_0x23f800||_0x402b82)throw new _0x1d7b46(_0x2d0e23(_0x23f800));}_0x4d5136['forEach'](_0x32464c=>{const _0x4c1391=_0x4d271c;if(!Object[_0x4c1391(0x3b1)][_0x4c1391(0x1ec)]['call'](_0x32464c[_0x4c1391(0x404)],_0x14e81c))return;let _0xdf90da=_0x5589a0['parentByRecordId'][_0x4c1391(0x4f0)](_0x32464c[_0x4c1391(0x57e)])??null,_0x5c57fe=_0x2e2fb8[_0x4c1391(0x337)][_0x4c1391(0x4f0)](_0x32464c['recordId'])??null;_0xdf90da!==_0x5c57fe&&_0x2c7bda[_0x4c1391(0x309)]({'tableId':_0x43beb9['id'],'fieldId':_0x14e81c,'recordId':_0x32464c[_0x4c1391(0x57e)],'oldParentRecordId':_0xdf90da,'parentRecordId':_0x5c57fe});});}),_0x2c7bda;}function _0x441a71(_0x536331,_0x143cec){const _0x52035d=_0x2b8d6a;let _0x1a1f2d=_0x143cec[_0x52035d(0x2c4)](_0x21869c=>_0x21869c['id']);if(new Set(_0x1a1f2d)[_0x52035d(0x219)]!==_0x1a1f2d[_0x52035d(0x3d4)]||_0x1a1f2d[_0x52035d(0x20f)](_0x7a6664=>_0x536331[_0x52035d(0x38a)][_0x7a6664]))return[];let _0xae5a31=_0x4c7235(_0x536331),_0xeb3bd5=_0xae5a31['length']?null:_0x4f5050(_0x536331),_0x5e02bd=[..._0xae5a31,..._0xeb3bd5&&_0x143cec[_0x52035d(0x20f)](_0x3c4e3d=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x3c4e3d['values'],_0xeb3bd5))?[_0xeb3bd5]:[]]['filter'](_0x2a45bd=>_0x143cec['some'](_0x2b51a1=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x2b51a1[_0x52035d(0x404)],_0x2a45bd)));if(!_0x5e02bd[_0x52035d(0x3d4)])return[];let _0xbf255c={..._0x536331,'records':{..._0x536331[_0x52035d(0x38a)],...Object[_0x52035d(0x3a6)](_0x143cec[_0x52035d(0x2c4)](_0x19b44f=>[_0x19b44f['id'],_0x19b44f]))},'recordOrder':[..._0x536331[_0x52035d(0x5ab)]??[],..._0x143cec[_0x52035d(0x2c4)](_0x4a3175=>_0x4a3175['id'])]},_0x2c9680=[];return _0x5e02bd[_0x52035d(0x458)](_0x3ec010=>{const _0x54cfb0=_0x52035d;let _0x15b8fc=_0x3760a3(_0xbf255c,_0x3ec010);_0x143cec[_0x54cfb0(0x458)](_0x5af191=>{const _0x30c222=_0x54cfb0;let _0x27e442=_0x15b8fc['invalidReasonByRecordId'][_0x30c222(0x4f0)](_0x5af191['id']);if(_0x27e442)throw new _0x1d7b46(_0x2d0e23(_0x27e442));let _0xd5de79=_0x15b8fc[_0x30c222(0x337)][_0x30c222(0x4f0)](_0x5af191['id'])??null;_0xd5de79&&_0x2c9680['push']({'tableId':_0x536331['id'],'fieldId':_0x3ec010,'recordId':_0x5af191['id'],'oldParentRecordId':null,'parentRecordId':_0xd5de79});});}),_0x2c9680;}function _0x2d0e23(_0x1864ad){const _0x302f63=_0x2b8d6a;switch(_0x1864ad){case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x27c)]:return _0x302f63(0x3a2);case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x428)]:return _0x302f63(0x480);case _0xcf3cf2['BaseHierarchyInvalidReason']['Cycle']:return _0x302f63(0x236);case _0xcf3cf2['BaseHierarchyInvalidReason']['MaxDepth']:return _0x302f63(0x522);}}function _0x3b968d(_0x5609fd,_0x30c6e7){const _0x49774a=_0x2b8d6a;let _0x18aa98=new Set(_0x30c6e7),_0x137db6=_0x4c7235(_0x5609fd);return Object[_0x49774a(0x404)](_0x5609fd[_0x49774a(0x38a)])[_0x49774a(0x5d0)](_0x16fd29=>_0x18aa98['has'](_0x16fd29['id'])?[]:Array['from'](_0x137db6)[_0x49774a(0x5d0)](_0xca897e=>{let _0x3b7818=_0xcf5891(_0x16fd29['values'][_0xca897e])[0x0]??null;return _0x3b7818&&_0x18aa98['has'](_0x3b7818)?[{'tableId':_0x5609fd['id'],'fieldId':_0xca897e,'recordId':_0x16fd29['id'],'oldParentRecordId':_0x3b7818,'parentRecordId':null}]:[];}));}function _0x3760a3(_0x4a2477,_0x46b11e,_0x3f175a=_0x4a2477[_0x2b8d6a(0x5ab)]??Object[_0x2b8d6a(0x582)](_0x4a2477[_0x2b8d6a(0x38a)])){const _0x4123b6=_0x2b8d6a;if((_0x4a2477[_0x4123b6(0x3b5)][_0x46b11e]||_0x46b11e!==_0x4f5050(_0x4a2477))&&!_0x4d880f(_0x4a2477,_0x46b11e))throw Error(_0x4123b6(0x3d1)+_0x46b11e+_0x4123b6(0x478));let _0x3ac2af=_0x4d8147(_0x4a2477,_0x3f175a),_0x13aacf=new Map(),_0x37a901=new Map();for(let _0x2294be of _0x3ac2af){var _0x1393c5;let _0x3bb682=_0xcf5891((_0x1393c5=_0x4a2477['records'][_0x2294be])==null?void 0x0:_0x1393c5[_0x4123b6(0x404)][_0x46b11e])[0x0]??null;_0x3bb682?_0x3bb682===_0x2294be?(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2[_0x4123b6(0x296)][_0x4123b6(0x428)])):_0x4a2477[_0x4123b6(0x38a)][_0x3bb682]?_0x13aacf[_0x4123b6(0x22b)](_0x2294be,_0x3bb682):(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2['BaseHierarchyInvalidReason']['MissingParent'])):_0x13aacf['set'](_0x2294be,null);}_0x1b8f6a(_0x13aacf,_0x37a901,_0x3ac2af),_0x341fc4(_0x13aacf,_0x37a901,_0x3ac2af);let _0x20d70c=new Map(_0x3ac2af['map']((_0x2220e8,_0x19e22e)=>[_0x2220e8,_0x19e22e])),_0x5df320=new Map();for(let _0x4fd9bc of _0x3ac2af){let _0x3b72c0=_0x13aacf[_0x4123b6(0x4f0)](_0x4fd9bc)??null,_0x442294=_0x5df320['get'](_0x3b72c0)??[];_0x442294[_0x4123b6(0x309)](_0x4fd9bc),_0x5df320['set'](_0x3b72c0,_0x442294);}_0x5df320[_0x4123b6(0x458)](_0x24c26f=>_0x24c26f[_0x4123b6(0x24e)]((_0x2a7ffc,_0x4e1980)=>(_0x20d70c[_0x4123b6(0x4f0)](_0x2a7ffc)??0x0)-(_0x20d70c[_0x4123b6(0x4f0)](_0x4e1980)??0x0)));let _0x30ca0f=_0x5df320[_0x4123b6(0x4f0)](null)??[],_0x66362b=new Map(),_0x2cc100=new Map(),_0x178cf7=[],_0x559adb=(_0x54ed7e,_0x13e2b0)=>{const _0x4523b9=_0x4123b6;_0x66362b[_0x4523b9(0x22b)](_0x54ed7e,_0x13e2b0),_0x178cf7[_0x4523b9(0x309)](_0x54ed7e);let _0x1fb7bd=0x0;for(let _0x20c700 of _0x5df320[_0x4523b9(0x4f0)](_0x54ed7e)??[])_0x1fb7bd=Math[_0x4523b9(0x591)](_0x1fb7bd,0x1+_0x559adb(_0x20c700,_0x13e2b0+0x1));return _0x2cc100['set'](_0x54ed7e,_0x1fb7bd),_0x1fb7bd;};return _0x30ca0f[_0x4123b6(0x458)](_0xa9f2ef=>_0x559adb(_0xa9f2ef,0x0)),{'fieldId':_0x46b11e,'parentByRecordId':_0x13aacf,'childrenByParentId':_0x5df320,'depthByRecordId':_0x66362b,'subtreeHeightByRecordId':_0x2cc100,'invalidReasonByRecordId':_0x37a901,'rootRecordIds':_0x30ca0f,'orderedRecordIds':_0x178cf7};}function _0xf3e46d(_0x353bf6,_0x55c3d1,_0x31031f=new Set(_0x55c3d1[_0x2b8d6a(0x2c4)](_0x4f1fdf=>_0x4f1fdf['recordId']))){const _0x22468e=_0x2b8d6a;let _0x3b94c0=new Set(_0x31031f);for(let _0x32012d of _0x31031f){let _0x178012=_0x353bf6[_0x22468e(0x337)]['get'](_0x32012d)??null;for(;_0x178012;)_0x3b94c0[_0x22468e(0x1d6)](_0x178012),_0x178012=_0x353bf6['parentByRecordId'][_0x22468e(0x4f0)](_0x178012)??null;}let _0x4e373b=new Map(_0x55c3d1[_0x22468e(0x2c4)](_0x107030=>[_0x107030['recordId'],_0x107030])),_0x44543c=_0x353bf6[_0x22468e(0x5c5)]['filter'](_0x39acf7=>_0x3b94c0['has'](_0x39acf7)),_0x56d448=_0x44543c[_0x22468e(0x5d0)](_0xe818a6=>{const _0x561656=_0x22468e;let _0x575960=_0x4e373b[_0x561656(0x4f0)](_0xe818a6);return _0x575960?[_0x575960]:[];}),_0x1c2380={};for(let _0x369fa3=0x0;_0x369fa3<_0x44543c[_0x22468e(0x3d4)];_0x369fa3++){let _0x5bddac=_0x44543c[_0x369fa3];_0x1c2380[_0x5bddac]={'recordId':_0x5bddac,'parentRecordId':_0x353bf6[_0x22468e(0x337)][_0x22468e(0x4f0)](_0x5bddac)??null,'depth':_0x353bf6[_0x22468e(0x34d)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'directChildCount':(_0x353bf6['childrenByParentId'][_0x22468e(0x4f0)](_0x5bddac)??[])[_0x22468e(0x3d4)],'subtreeHeight':_0x353bf6[_0x22468e(0x481)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'subtreeEndIndex':_0x369fa3,'invalidReason':_0x353bf6[_0x22468e(0x5ed)][_0x22468e(0x4f0)](_0x5bddac)};}let _0x48795a=[];for(let _0x5a2d7a=0x0;_0x5a2d7a<_0x44543c['length'];_0x5a2d7a++){let _0x736809=_0x44543c[_0x5a2d7a],_0x553b22=_0x1c2380[_0x736809][_0x22468e(0x4fb)];for(;_0x48795a[_0x22468e(0x3d4)]&&_0x48795a[_0x48795a[_0x22468e(0x3d4)]-0x1][_0x22468e(0x4fb)]>=_0x553b22;){let _0x3182ea=_0x48795a['pop']();_0x1c2380[_0x3182ea['recordId']]['subtreeEndIndex']=_0x5a2d7a-0x1;}_0x48795a[_0x22468e(0x309)]({'recordId':_0x736809,'depth':_0x553b22});}return _0x48795a[_0x22468e(0x458)](({recordId:_0x312871})=>{_0x1c2380[_0x312871]['subtreeEndIndex']=_0x44543c['length']-0x1;}),{'rows':_0x56d448,'hierarchy':{'fieldId':_0x353bf6[_0x22468e(0x580)],'rootRecordIds':_0x353bf6[_0x22468e(0x325)][_0x22468e(0x355)](_0x37b13b=>_0x3b94c0['has'](_0x37b13b)),'orderedRecordIds':_0x44543c,'nodes':_0x1c2380}};}function _0x54261d(_0x47feb0,_0x9b15c5){const _0x8fe60e=_0x2b8d6a;if(!_0x47feb0['hierarchy']||!(_0x9b15c5!=null&&_0x9b15c5[_0x8fe60e(0x219)]))return _0x47feb0[_0x8fe60e(0x5e6)];let _0x25403e=[],_0x5ce06b=0x0;for(;_0x5ce06b<_0x47feb0['rows'][_0x8fe60e(0x3d4)];){let _0xa6c376=_0x47feb0['rows'][_0x5ce06b];_0x25403e[_0x8fe60e(0x309)](_0xa6c376);let _0x5010c0=_0x47feb0[_0x8fe60e(0x326)][_0x8fe60e(0x4e9)][_0xa6c376[_0x8fe60e(0x57e)]];_0x5ce06b=_0x9b15c5['has'](_0xa6c376[_0x8fe60e(0x57e)])&&_0x5010c0?_0x5010c0['subtreeEndIndex']+0x1:_0x5ce06b+0x1;}return _0x25403e;}function _0x5a84fb(_0x2c66c3,_0x489427,_0x59f42d){const _0x5eee71=_0x2b8d6a;if(!_0x59f42d)return{'valid':!0x0};if(_0x489427===_0x59f42d)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x428)]};let _0x5d8eb0=_0x59f42d;for(;_0x5d8eb0;){if(_0x5d8eb0===_0x489427)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)]['Cycle']};_0x5d8eb0=_0x2c66c3[_0x5eee71(0x337)][_0x5eee71(0x4f0)](_0x5d8eb0)??null;}return(_0x2c66c3[_0x5eee71(0x34d)][_0x5eee71(0x4f0)](_0x59f42d)??0x0)+0x1+(_0x2c66c3[_0x5eee71(0x481)][_0x5eee71(0x4f0)](_0x489427)??0x0)>=0x5?{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x42e)]}:{'valid':!0x0};}function _0x4d8147(_0x26dc74,_0x470ea4){const _0x2ffbda=_0x2b8d6a;let _0xcc3d32=new Set(),_0x4fe25c=[];for(let _0x41cc5e of _0x470ea4)_0x26dc74[_0x2ffbda(0x38a)][_0x41cc5e]&&!_0xcc3d32[_0x2ffbda(0x244)](_0x41cc5e)&&(_0xcc3d32[_0x2ffbda(0x1d6)](_0x41cc5e),_0x4fe25c[_0x2ffbda(0x309)](_0x41cc5e));return Object['keys'](_0x26dc74['records'])[_0x2ffbda(0x24e)]()['forEach'](_0x9a4bca=>{const _0x50deee=_0x2ffbda;_0xcc3d32[_0x50deee(0x244)](_0x9a4bca)||_0x4fe25c[_0x50deee(0x309)](_0x9a4bca);}),_0x4fe25c;}function _0x1b8f6a(_0x3be207,_0x1a67d3,_0x3ed7e5){const _0x5d6c6e=_0x2b8d6a;let _0x15ead5=new Set();for(let _0x32fe7a of _0x3ed7e5){if(_0x15ead5['has'](_0x32fe7a))continue;let _0x3187aa=[],_0x7937c0=new Map(),_0x755d7e=_0x32fe7a;for(;_0x755d7e&&!_0x15ead5['has'](_0x755d7e);){let _0x4ae528=_0x7937c0['get'](_0x755d7e);if(_0x4ae528!=null){let _0x2a96ef=[..._0x3187aa[_0x5d6c6e(0x3de)](_0x4ae528)]['sort']()[_0x5d6c6e(0x2ef)]();_0x3be207[_0x5d6c6e(0x22b)](_0x2a96ef,null),_0x1a67d3[_0x5d6c6e(0x22b)](_0x2a96ef,_0xcf3cf2['BaseHierarchyInvalidReason'][_0x5d6c6e(0x245)]);break;}_0x7937c0[_0x5d6c6e(0x22b)](_0x755d7e,_0x3187aa['length']),_0x3187aa['push'](_0x755d7e),_0x755d7e=_0x3be207['get'](_0x755d7e)??null;}_0x3187aa[_0x5d6c6e(0x458)](_0x532c77=>_0x15ead5[_0x5d6c6e(0x1d6)](_0x532c77));}}function _0x341fc4(_0x2be716,_0x3de816,_0x414cd2){let _0x30701e=new Map(),_0x3188c3=_0x52173b=>{const _0xa48b47=_0x4fc4;let _0x1bc99d=_0x30701e[_0xa48b47(0x4f0)](_0x52173b);if(_0x1bc99d!=null)return _0x1bc99d;let _0x7d1ee4=_0x2be716[_0xa48b47(0x4f0)](_0x52173b)??null;if(!_0x7d1ee4)return _0x30701e[_0xa48b47(0x22b)](_0x52173b,0x0),0x0;let _0x213203=_0x3188c3(_0x7d1ee4)+0x1;return _0x213203>=0x5?(_0x2be716['set'](_0x52173b,null),_0x3de816[_0xa48b47(0x22b)](_0x52173b,_0xcf3cf2['BaseHierarchyInvalidReason'][_0xa48b47(0x42e)]),_0x30701e['set'](_0x52173b,0x0),0x0):(_0x30701e[_0xa48b47(0x22b)](_0x52173b,_0x213203),_0x213203);};_0x414cd2['forEach'](_0x3188c3);}let _0x5c3c33=0x0;function _0xf0b544(){const _0x9919fa=_0x2b8d6a;if(globalThis[_0x9919fa(0x4ad)]===!0x0)return!0x0;try{let _0x1c6f6d=typeof location>'u'?'':location['search'],_0x1be2e1=new URLSearchParams(_0x1c6f6d);if(_0x1be2e1['get'](_0x9919fa(0x41a))==='1'||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x41a))===_0x9919fa(0x45a)||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x4db))==='1')return!0x0;}catch{}try{let _0x5df45a=typeof localStorage>'u'?null:localStorage['getItem'](_0x9919fa(0x488));return _0x5df45a==='1'||_0x5df45a===_0x9919fa(0x45a);}catch{return!0x1;}}function _0x4baece(_0x98d28c,_0x193a10,_0x449f02){const _0x2f7893=_0x2b8d6a;if(!_0xf0b544())return _0x193a10();let _0x4f3478=_0x223249(),_0xbe8833=_0x2f7893(0x4ac)+_0x5c3c33++;_0x1dddf3(_0xbe8833+_0x2f7893(0x1d7));try{return _0x193a10();}finally{let _0x2ab877=_0x223249()-_0x4f3478;_0x1dddf3(_0xbe8833+_0x2f7893(0x2fd)),_0x33e965(_0x98d28c,_0xbe8833+':start',_0xbe8833+_0x2f7893(0x2fd)),_0x8f256b(_0x98d28c,_0x2ab877,_0x449f02);}}function _0x8f256b(_0x2c4370,_0x12c37a,_0x231abb){const _0xb51d2f=_0x2b8d6a;if(!_0xf0b544())return;let _0x38aa26=Math[_0xb51d2f(0x310)](_0x12c37a*0x64)/0x64,_0x17735b=_0x231abb&&Object[_0xb51d2f(0x582)](_0x231abb)['length']?'\x20'+JSON[_0xb51d2f(0x322)](_0x231abb):'';console[_0xb51d2f(0x4da)](_0xb51d2f(0x55f)+_0x2c4370+':\x20'+_0x38aa26+'ms'+_0x17735b);}function _0x223249(){const _0x5c400a=_0x2b8d6a;return typeof performance<'u'&&typeof performance['now']==_0x5c400a(0x2fe)?performance[_0x5c400a(0x208)]():Date[_0x5c400a(0x208)]();}function _0x1dddf3(_0x1f3d87){const _0x29a89d=_0x2b8d6a;try{if(typeof performance<'u'){var _0xbd5deb,_0x1843b1;(_0xbd5deb=(_0x1843b1=performance)[_0x29a89d(0x278)])==null||_0xbd5deb[_0x29a89d(0x29f)](_0x1843b1,_0x1f3d87);}}catch{}}function _0x33e965(_0x4e7b7c,_0x416590,_0x319803){const _0x276116=_0x2b8d6a;try{if(typeof performance<'u'){var _0x1d2bbe,_0x4eec14;(_0x1d2bbe=(_0x4eec14=performance)['measure'])==null||_0x1d2bbe['call'](_0x4eec14,_0x276116(0x55f)+_0x4e7b7c,_0x416590,_0x319803);}}catch{}}function _0x5d33ae(_0x2579b2){const _0x5332da=_0x2b8d6a;var _0xc36c6a;return _0xf0b544()?_0x4baece('IBaseCellData.ensureTableCellLayout',()=>_0x5b7b7f(_0x2579b2),{'tableId':_0x2579b2['id'],'records':Object['keys'](_0x2579b2[_0x5332da(0x38a)]??{})[_0x5332da(0x3d4)],'fields':_0x2579b2[_0x5332da(0x4ab)][_0x5332da(0x3d4)],'hasRecordOrder':!!((_0xc36c6a=_0x2579b2[_0x5332da(0x5ab)])!=null&&_0xc36c6a['length'])}):_0x5b7b7f(_0x2579b2);}function _0x5b7b7f(_0x2bb2ff){const _0x597434=_0x2b8d6a;var _0x12d1eb;let _0x13d7e4=_0x2bb2ff[_0x597434(0x38a)]??{},_0x1b1e99=_0x2bb2ff['fields']??{},_0x5b84a1=((_0x12d1eb=_0x2bb2ff[_0x597434(0x5ab)])==null?void 0x0:_0x12d1eb[_0x597434(0x355)](_0x37bb48=>_0x13d7e4[_0x37bb48]))??[],_0x3c812c=new Set(_0x5b84a1),_0x16179c=[];for(let _0x246724 of Object[_0x597434(0x404)](_0x13d7e4))_0x3c812c[_0x597434(0x244)](_0x246724['id'])||_0x16179c[_0x597434(0x309)](_0x246724);let _0x3542c6=_0x16179c['length']?[..._0x5b84a1,..._0xc11fd4(_0x16179c)]:_0x5b84a1,_0x1d4235=_0x2bb2ff[_0x597434(0x4ab)][_0x597434(0x355)](_0x2ce0fa=>_0x1b1e99[_0x2ce0fa]),_0x305beb={..._0x2bb2ff[_0x597434(0x369)]??{}},_0x519016={..._0x2bb2ff[_0x597434(0x4df)]??{}},_0x44db79={..._0x2bb2ff[_0x597434(0x2a3)]??{}};_0x2bb2ff[_0x597434(0x5ab)]=_0x3542c6,_0x2bb2ff[_0x597434(0x29a)]={},_0x2bb2ff[_0x597434(0x369)]={},_0x2bb2ff[_0x597434(0x1f5)]={},_0x2bb2ff['colId']={},_0x2bb2ff['cellData']={},_0x2bb2ff['resources']={..._0x2bb2ff['resources']??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]={..._0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x1e9)]={..._0x2bb2ff['resources'][_0x597434(0x1e9)]??{}};let _0x57e357=_0x2bb2ff[_0x597434(0x29a)],_0x1653e3=_0x2bb2ff[_0x597434(0x369)],_0x1cff1b=_0x2bb2ff[_0x597434(0x1f5)],_0x1ba135=_0x2bb2ff[_0x597434(0x4df)],_0x417ebc=_0x2bb2ff[_0x597434(0x2a3)];return _0x3542c6['forEach']((_0x44cf98,_0x1c7406)=>{_0x57e357[_0x44cf98]=_0x1c7406,_0x1653e3[_0x1c7406]=_0x44cf98;}),_0x1d4235[_0x597434(0x458)]((_0x3f6be3,_0x360d9a)=>{_0x1cff1b[_0x3f6be3]=_0x360d9a,_0x1ba135[_0x360d9a]=_0x3f6be3;}),Object[_0x597434(0x271)](_0x44db79)[_0x597434(0x458)](([_0x3621ec,_0x321afc])=>{const _0x4e4b94=_0x597434;let _0xa27a9e=Number(_0x3621ec),_0x16b79f=_0x305beb[_0xa27a9e]??_0x3542c6[_0xa27a9e],_0x4f4183=_0x16b79f?_0x57e357[_0x16b79f]:void 0x0;_0x4f4183!=null&&(_0x417ebc[_0x4f4183]={..._0x417ebc[_0x4f4183]??{}},Object[_0x4e4b94(0x271)](_0x321afc??{})[_0x4e4b94(0x458)](([_0x1226c7,_0x4ddd94])=>{let _0x1b4815=Number(_0x1226c7),_0x3d6a72=_0x519016[_0x1b4815]??_0x1d4235[_0x1b4815],_0x1aedad=_0x3d6a72?_0x1cff1b[_0x3d6a72]:void 0x0;_0x1aedad!=null&&(_0x417ebc[_0x4f4183][_0x1aedad]=_0x53425a(_0x4ddd94));}));}),Object[_0x597434(0x404)](_0x13d7e4)[_0x597434(0x458)](_0x394434=>{const _0x43da96=_0x597434;let _0x28b990=_0x57e357[_0x394434['id']];_0x28b990!=null&&(_0x394434[_0x43da96(0x404)]={..._0x394434[_0x43da96(0x404)]??{},[_0xcf3cf2[_0x43da96(0x509)]]:_0x394434['id']},_0x417ebc[_0x28b990]={..._0x417ebc[_0x28b990]??{},0x0:{'v':_0x394434['id'],'t':_0xcf3cf2['CellValueType']['STRING']}},Object[_0x43da96(0x271)](_0x394434['values']??{})[_0x43da96(0x458)](([_0x1c3482,_0x2eb1a7])=>{const _0x1151d9=_0x43da96;let _0x342467=_0x1b1e99[_0x1c3482];(_0x342467==null?void 0x0:_0x342467[_0x1151d9(0x1cc)])===_0xcf3cf2[_0x1151d9(0x435)]['Attachment']&&_0x369dce(_0x2bb2ff,_0x394434['id'],_0x1c3482,_0x2eb1a7);let _0x17ca61=_0x1cff1b[_0x1c3482];if(_0x17ca61==null)return;let _0xc41a1e=_0x417ebc[_0x28b990][_0x17ca61];if(_0xc41a1e!=null){_0x1a3619(_0xc41a1e,_0x342467,_0x2eb1a7)&&(_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467));return;}_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467);}));}),_0x2bb2ff;}function _0x41664f(_0x511e42,_0x22ad24){const _0x146161=_0x2b8d6a;return _0x511e42['records']=Object[_0x146161(0x3a6)](Object['entries'](_0x511e42[_0x146161(0x38a)])[_0x146161(0x2c4)](([_0x2b4245,_0x1121db])=>[_0x2b4245,{..._0x1121db}])),_0x5d33ae(_0x511e42),Object[_0x146161(0x271)](_0x511e42[_0x146161(0x369)]??{})[_0x146161(0x458)](([_0x401ed9,_0x40cb7c])=>{const _0x56684e=_0x146161;var _0x41c068;let _0x64f0e9=Number(_0x401ed9),_0x25e899=_0x511e42[_0x56684e(0x38a)][_0x40cb7c];_0x25e899&&(_0x25e899['values']={..._0x25e899[_0x56684e(0x404)]??{}},Object[_0x56684e(0x271)](((_0x41c068=_0x511e42[_0x56684e(0x2a3)])==null?void 0x0:_0x41c068[_0x64f0e9])??{})[_0x56684e(0x458)](([_0x2afddc,_0x1916b3])=>{const _0xf1dd67=_0x56684e;var _0x3ac638;let _0x37ef5a=(_0x3ac638=_0x511e42[_0xf1dd67(0x4df)])==null?void 0x0:_0x3ac638[Number(_0x2afddc)];_0x37ef5a&&_0x22ad24&&!_0x22ad24(_0x40cb7c,_0x37ef5a)||(_0x37ef5a===_0xcf3cf2[_0xf1dd67(0x509)]?_0x25e899[_0xf1dd67(0x404)][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]=_0x25e899['id']:_0x37ef5a&&(_0x25e899[_0xf1dd67(0x404)][_0x37ef5a]=_0x128311(_0x1916b3,_0x511e42[_0xf1dd67(0x3b5)][_0x37ef5a],_0x511e42,_0x40cb7c)));}));}),_0x511e42;}function _0x334b3c(_0x3aed72,_0x16fcc9){const _0x19ecf8=_0x2b8d6a;for(let {row:_0x2bf6b1,col:_0x5af1a5}of _0x16fcc9){var _0x56926b,_0x290b5b,_0x431bb8;let _0x3bbdbf=(_0x56926b=_0x3aed72[_0x19ecf8(0x369)])==null?void 0x0:_0x56926b[_0x2bf6b1],_0x3816dd=(_0x290b5b=_0x3aed72[_0x19ecf8(0x4df)])==null?void 0x0:_0x290b5b[_0x5af1a5],_0x1963b5=_0x3bbdbf?_0x3aed72[_0x19ecf8(0x38a)][_0x3bbdbf]:void 0x0;if(!_0x1963b5||!_0x3816dd)continue;if(_0x3816dd===_0xcf3cf2[_0x19ecf8(0x509)]){_0x1963b5[_0x19ecf8(0x404)][_0xcf3cf2[_0x19ecf8(0x509)]]=_0x1963b5['id'];continue;}let _0x42d587=(_0x431bb8=_0x3aed72[_0x19ecf8(0x2a3)])==null||(_0x431bb8=_0x431bb8[_0x2bf6b1])==null?void 0x0:_0x431bb8[_0x5af1a5];(_0x42d587!=null||Object[_0x19ecf8(0x3b1)]['hasOwnProperty'][_0x19ecf8(0x29f)](_0x1963b5['values']??{},_0x3816dd))&&(_0x1963b5['values']={..._0x1963b5['values']??{}},_0x1963b5[_0x19ecf8(0x404)][_0x3816dd]=_0x128311(_0x42d587,_0x3aed72[_0x19ecf8(0x3b5)][_0x3816dd],_0x3aed72,_0x3bbdbf));}return _0x3aed72;}function _0x168231(_0x337e2d,_0xd7c1c4,_0x2e7972){const _0x2e2130=_0x2b8d6a;var _0xf8a596,_0x22f757,_0x555b33,_0x57c614,_0x46feb8,_0x44f8ca;let _0x44eebb=(_0xf8a596=_0x337e2d[_0x2e2130(0x29a)])==null?void 0x0:_0xf8a596[_0xd7c1c4],_0xdfca8b=(_0x22f757=_0x337e2d[_0x2e2130(0x1f5)])==null?void 0x0:_0x22f757[_0x2e7972];if(_0x44eebb!=null&&_0xdfca8b!=null&&((_0x555b33=_0x337e2d[_0x2e2130(0x369)])==null?void 0x0:_0x555b33[_0x44eebb])===_0xd7c1c4&&((_0x57c614=_0x337e2d[_0x2e2130(0x4df)])==null?void 0x0:_0x57c614[_0xdfca8b])===_0x2e7972)return{'row':_0x44eebb,'col':_0xdfca8b};let _0xc59419=_0x5d33ae(_0x337e2d),_0x10cc92=(_0x46feb8=_0xc59419[_0x2e2130(0x29a)])==null?void 0x0:_0x46feb8[_0xd7c1c4],_0x3dc891=(_0x44f8ca=_0xc59419[_0x2e2130(0x1f5)])==null?void 0x0:_0x44f8ca[_0x2e7972];return _0x10cc92==null||_0x3dc891==null?null:{'row':_0x10cc92,'col':_0x3dc891};}function _0x4c2c6c(_0x3361ae,_0x17f667,_0x57b996){var _0x46e984;let _0x314e79=_0x168231(_0x3361ae,_0x17f667,_0x57b996);if(_0x314e79)return(_0x46e984=_0x3361ae['cellData'])==null||(_0x46e984=_0x46e984[_0x314e79['row']])==null?void 0x0:_0x46e984[_0x314e79['col']];}function _0x4bd91a(_0x1f3390,_0x265a80,_0x34158c){const _0x56b69a=_0x2b8d6a;var _0x580de0;let _0x5e93df=_0x4c2c6c(_0x1f3390,_0x265a80,_0x34158c),_0x1138c8=_0x1f3390[_0x56b69a(0x3b5)][_0x34158c];if((_0x1138c8==null?void 0x0:_0x1138c8[_0x56b69a(0x1cc)])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x448)]){var _0x3b7851;return _0xb305b4(_0x1f3390,_0x265a80,_0x34158c)??_0x22fa67((_0x3b7851=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x3b7851=_0x3b7851[_0x56b69a(0x404)])==null?void 0x0:_0x3b7851[_0x34158c]);}if(_0x46ad53(_0x1138c8)||_0x58b029(_0x1138c8)||(_0x1138c8==null?void 0x0:_0x1138c8['type'])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x24b)]){var _0x424aeb;let _0x497995=(_0x424aeb=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x424aeb=_0x424aeb['values'])==null?void 0x0:_0x424aeb[_0x34158c];return _0x497995!=null&&_0x497995!==''?_0x47b201(_0x497995,_0x1138c8):_0x128311(_0x5e93df,_0x1138c8,_0x1f3390,_0x265a80);}return _0x5e93df&&Object[_0x56b69a(0x3b1)][_0x56b69a(0x1ec)]['call'](_0x5e93df,'v')?_0x5e93df['v']??null:((_0x580de0=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x580de0=_0x580de0[_0x56b69a(0x404)])==null?void 0x0:_0x580de0[_0x34158c])??null;}function _0x1926ea(_0x3a9b7e,_0x596b41,_0x5f3b2c){const _0x33142b=_0x2b8d6a;var _0x31f0e7;let _0x1e2229=_0x4c2c6c(_0x3a9b7e,_0x596b41,_0x5f3b2c);if(_0x1e2229&&Object[_0x33142b(0x3b1)][_0x33142b(0x1ec)][_0x33142b(0x29f)](_0x1e2229,'v'))return _0x1e2229['v']??null;let _0x214a4f=_0x3a9b7e[_0x33142b(0x3b5)][_0x5f3b2c];return _0x1e0593(((_0x31f0e7=_0x3a9b7e[_0x33142b(0x38a)][_0x596b41])==null||(_0x31f0e7=_0x31f0e7[_0x33142b(0x404)])==null?void 0x0:_0x31f0e7[_0x5f3b2c])??null,_0x214a4f)['v']??null;}function _0x1e0593(_0x174a5e,_0x4dce91){const _0x27df23=_0x2b8d6a;if(_0x34f1bc(_0x174a5e))return(_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2['BaseFieldType']['Attachment']?{..._0x174a5e,'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']}:_0x53425a(_0x174a5e);if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)][_0x27df23(0x448)])return{'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if(_0x58b029(_0x4dce91)){let _0x3128d3=_0x33ceed(_0x174a5e);return{'v':_0x3128d3,'t':_0x166a09(_0x3128d3)};}if(_0x46ad53(_0x4dce91))return{'v':_0xade113(_0x174a5e)[_0x27df23(0x600)](',\x20'),'t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)]['Link']&&_0x174a5e&&typeof _0x174a5e==_0x27df23(0x240)&&!Array[_0x27df23(0x2a1)](_0x174a5e)){let _0x4ca1fe=_0x174a5e;return{'v':String(_0x4ca1fe[_0x27df23(0x395)]??_0x4ca1fe[_0x27df23(0x2ff)]??''),'t':_0xcf3cf2[_0x27df23(0x501)][_0x27df23(0x516)]};}return _0x174a5e===null||typeof _0x174a5e==_0x27df23(0x3ea)||typeof _0x174a5e==_0x27df23(0x202)||typeof _0x174a5e==_0x27df23(0x511)?{'v':_0x174a5e,'t':_0x166a09(_0x174a5e)}:{'v':null,'t':null};}function _0x53425a(_0x337ee7){let _0x442327=_0x1b16c2(_0x337ee7['t'],_0x337ee7['v']);if(_0x442327===void 0x0){let {t:_0x3b7b73,..._0xca7f2e}=_0x337ee7;return _0xca7f2e;}return{..._0x337ee7,'t':_0x442327};}function _0x128311(_0x3dfae5,_0x19e64f,_0x352b84,_0x507b61){const _0x114c8b=_0x2b8d6a;if(!_0x3dfae5)return null;if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2[_0x114c8b(0x435)][_0x114c8b(0x448)])return _0x352b84&&_0x507b61?_0xb305b4(_0x352b84,_0x507b61,_0x19e64f['id'])??[]:[];if(_0x46ad53(_0x19e64f))return _0xade113(_0x3dfae5['v']);if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2['BaseFieldType'][_0x114c8b(0x24b)]&&_0x352b84&&_0x507b61){var _0x51aefd;let _0x4b4b3e=(_0x51aefd=_0x352b84[_0x114c8b(0x38a)][_0x507b61])==null||(_0x51aefd=_0x51aefd[_0x114c8b(0x404)])==null?void 0x0:_0x51aefd[_0x19e64f['id']];if(_0x4b4b3e&&typeof _0x4b4b3e==_0x114c8b(0x240)&&!Array[_0x114c8b(0x2a1)](_0x4b4b3e))return _0x4b4b3e;}return Object['prototype'][_0x114c8b(0x1ec)][_0x114c8b(0x29f)](_0x3dfae5,'v')?_0x3dfae5['v']??null:null;}function _0x566985(_0x47e1d,_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1){const _0x498027=_0x2b8d6a;return(_0x4eb14d==null?void 0x0:_0x4eb14d[_0x498027(0x1cc)])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x448)]?_0x22fa67(_0x47e1d):_0x58b029(_0x4eb14d)?_0x33ceed(_0x47e1d):_0x46ad53(_0x4eb14d)?_0xade113(_0x47e1d):(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&(_0x47e1d==null||_0x47e1d==='')?null:(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&_0x47e1d&&typeof _0x47e1d=='object'&&!Array[_0x498027(0x2a1)](_0x47e1d)&&!_0x34f1bc(_0x47e1d)?_0x47e1d:_0x128311(_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1);}function _0x34f1bc(_0x44853f){const _0x1080a3=_0x2b8d6a;return!!_0x44853f&&typeof _0x44853f==_0x1080a3(0x240)&&(Object['prototype'][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'v')||Object[_0x1080a3(0x3b1)][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'t')||Object['prototype'][_0x1080a3(0x1ec)]['call'](_0x44853f,'p')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'f')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'si'));}function _0x1d1617(_0xf3406e,_0x5d29ec){return _0xf3406e+'\x1f'+_0x5d29ec;}function _0x369dce(_0x4fc72e,_0x3131d8,_0x32228e,_0x5418c5){const _0x3685cc=_0x2b8d6a;let _0x274a5e=_0x22fa67(_0x5418c5);_0x4fc72e[_0x3685cc(0x482)]={..._0x4fc72e[_0x3685cc(0x482)]??{}},_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]??{}},_0x4fc72e[_0x3685cc(0x482)]['attachments']={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x1e9)]??{}};let _0x2111b5=_0x1d1617(_0x32228e,_0x3131d8),_0x35f797=[];for(let _0x46e033=0x0;_0x46e033<_0x274a5e['length'];_0x46e033++){if(!(_0x46e033 in _0x274a5e))continue;let _0x2b785d=_0x274a5e[_0x46e033],_0x5e1dc0=String(_0x2b785d['id']??_0x2111b5+'\x1f'+_0x46e033),_0x5151dc={..._0x2b785d,'id':_0x5e1dc0};_0x4fc72e[_0x3685cc(0x482)]['attachments'][_0x5e1dc0]=_0x5151dc,_0x35f797[_0x3685cc(0x309)](_0x5e1dc0);}_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)][_0x2111b5]=_0x35f797;}function _0xb305b4(_0x219a3a,_0xb236ee,_0x4de306){const _0x3ac82e=_0x2b8d6a;var _0xd02fd1;let _0x5514ec=_0x1d1617(_0x4de306,_0xb236ee),_0x345884=(_0xd02fd1=_0x219a3a['resources'])==null||(_0xd02fd1=_0xd02fd1[_0x3ac82e(0x52b)])==null?void 0x0:_0xd02fd1[_0x5514ec];if(!_0x345884)return null;let _0x404c52=[];for(let _0x16457e=0x0;_0x16457e<_0x345884['length'];_0x16457e++){var _0x506568;if(!(_0x16457e in _0x345884))continue;let _0x283c34=(_0x506568=_0x219a3a['resources'])==null||(_0x506568=_0x506568[_0x3ac82e(0x1e9)])==null?void 0x0:_0x506568[_0x345884[_0x16457e]];_0x283c34&&_0x404c52[_0x3ac82e(0x309)]({..._0x283c34});}return _0x404c52;}function _0x22fa67(_0x200d18){const _0x555247=_0x2b8d6a;if(_0x200d18==null||_0x200d18===''||_0x34f1bc(_0x200d18)&&!('id'in _0x200d18)&&!(_0x555247(0x456)in _0x200d18))return[];let _0x3465d4=Array['isArray'](_0x200d18)?_0x200d18:[_0x200d18],_0x39c6d4=[];for(let _0x5af48f=0x0;_0x5af48f<_0x3465d4[_0x555247(0x3d4)];_0x5af48f++){if(!(_0x5af48f in _0x3465d4))continue;let _0x22aaa9=_0x3465d4[_0x5af48f],_0x352cda=_0x22aaa9&&typeof _0x22aaa9==_0x555247(0x240)?{..._0x22aaa9}:{'id':'attachment-'+_0x5af48f,'name':String(_0x22aaa9)};Object[_0x555247(0x582)](_0x352cda)[_0x555247(0x3d4)]>0x0&&_0x39c6d4[_0x555247(0x309)](_0x352cda);}return _0x39c6d4;}function _0x47b201(_0x418132,_0x39ae71){const _0x117602=_0x2b8d6a;return(_0x39ae71==null?void 0x0:_0x39ae71[_0x117602(0x1cc)])===_0xcf3cf2[_0x117602(0x435)][_0x117602(0x448)]?_0x22fa67(_0x418132):_0x58b029(_0x39ae71)?_0x33ceed(_0x418132):_0x46ad53(_0x39ae71)?_0xade113(_0x418132):_0x418132;}function _0x1a3619(_0x10f56b,_0x41d6be,_0xd4fc51){const _0x112a11=_0x2b8d6a;return(_0x41d6be==null?void 0x0:_0x41d6be[_0x112a11(0x1cc)])===_0xcf3cf2[_0x112a11(0x435)][_0x112a11(0x448)]?_0x10f56b['v']!=='':_0x58b029(_0x41d6be)?_0x10f56b['v']!==_0x33ceed(_0xd4fc51):_0x46ad53(_0x41d6be)?Array[_0x112a11(0x2a1)](_0xd4fc51)&&(_0x10f56b['v']==null||_0x10f56b['v']===''):!0x1;}function _0x46ad53(_0x5af1e2){const _0x374283=_0x2b8d6a;return(_0x5af1e2==null?void 0x0:_0x5af1e2[_0x374283(0x1cc)])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x336)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x3fa)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)]['Person']&&_0x5af1e2[_0x374283(0x5a3)]['allowMultiple']===!0x0;}function _0x58b029(_0x106bf2){const _0x5389d2=_0x2b8d6a;return(_0x106bf2==null?void 0x0:_0x106bf2['type'])===_0xcf3cf2['BaseFieldType'][_0x5389d2(0x3d5)]&&_0x106bf2['config'][_0x5389d2(0x4ee)]!==!0x0;}function _0x33ceed(_0x5181d2){let _0x1efb0b=_0x34f1bc(_0x5181d2)?_0x5181d2['v']:_0x5181d2,_0x384698=Array['isArray'](_0x1efb0b)?_0x1efb0b[0x0]:_0x1efb0b;return _0x384698==null||_0x384698===''?null:String(_0x384698);}function _0xade113(_0x265ac1){const _0xeeb6e1=_0x2b8d6a;if(_0x265ac1==null||_0x265ac1==='')return[];let _0x3f69d1=[];if(Array['isArray'](_0x265ac1)){for(let _0x4c180a=0x0;_0x4c180a<_0x265ac1[_0xeeb6e1(0x3d4)];_0x4c180a++){if(!(_0x4c180a in _0x265ac1))continue;let _0x25ad72=_0x58cf7b(_0x265ac1[_0x4c180a]);_0x25ad72&&_0x3f69d1[_0xeeb6e1(0x309)](_0x25ad72);}return _0x3f69d1;}for(let _0x4b493a of String(_0x265ac1)[_0xeeb6e1(0x339)](',')){let _0x5a241d=_0x4b493a['trim']();_0x5a241d&&_0x3f69d1[_0xeeb6e1(0x309)](_0x5a241d);}return _0x3f69d1;}function _0x58cf7b(_0xa1f55e){const _0xbea3bd=_0x2b8d6a;if(_0xa1f55e==null)return'';if(typeof _0xa1f55e=='string'||typeof _0xa1f55e=='number'||typeof _0xa1f55e==_0xbea3bd(0x511))return String(_0xa1f55e);if(typeof _0xa1f55e=='object'){let _0x42d1cd=_0xa1f55e;return String(_0x42d1cd['id']??_0x42d1cd[_0xbea3bd(0x456)]??_0x42d1cd[_0xbea3bd(0x395)]??'');}return String(_0xa1f55e);}function _0x166a09(_0x4793f3){const _0x312a4d=_0x2b8d6a;return _0x4793f3==null?null:typeof _0x4793f3==_0x312a4d(0x202)?_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x3b7)]:typeof _0x4793f3=='boolean'?_0xcf3cf2['CellValueType'][_0x312a4d(0x508)]:_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x516)];}function _0xc11fd4(_0x557b6d){const _0x16f4ca=_0x2b8d6a;_0x557b6d['sort']((_0x5e0195,_0x5ccbdc)=>_0x5e0195['orderKey'][_0x16f4ca(0x1f9)](_0x5ccbdc['orderKey']));let _0x594dce=[];for(let _0xab0d70 of _0x557b6d)_0x594dce[_0x16f4ca(0x309)](_0xab0d70['id']);return _0x594dce;}function _0x1b16c2(_0x333ff1,_0x11bdd9){const _0x3e3617=_0x2b8d6a;return _0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x516)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3b7)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)]['BOOLEAN']||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3da)]||_0x333ff1==null?_0x333ff1:_0x166a09(_0x11bdd9??null);}function _0x5dc19d(_0xc53870){const _0x4760c4=_0x2b8d6a;let _0x593a42=null;for(let _0x2070f2 of _0xc53870)_0x593a42=_0x593a42===null?_0x2070f2:_0xcf3cf2[_0x4760c4(0x597)][_0x4760c4(0x1cc)][_0x4760c4(0x4b7)](_0x593a42,_0x2070f2);return _0x593a42;}var _0x3c7454=class _0x1f0509{static[_0x2b8d6a(0x39a)](_0x557095,_0xe346d8){const _0x40fa63=_0x2b8d6a;let _0x192ab5=[];for(let _0x1b0ed3 of _0xe346d8){let _0x513a0c=_0x51360c(_0x1b0ed3);if(!_0x513a0c||_0x513a0c[_0x40fa63(0x20d)]!==_0x557095['id'])return null;_0x192ab5[_0x40fa63(0x309)](_0x513a0c['op']);}try{let _0x610ec2=_0x5dc19d(_0x192ab5);return _0x610ec2===null?_0x557095:new _0x1f0509()[_0x40fa63(0x54e)](_0x557095,_0x610ec2);}catch{return null;}}[_0x2b8d6a(0x54e)](_0x3afadb,_0x418220){const _0x438de0=_0x2b8d6a;let _0x287e00=this[_0x438de0(0x235)](_0x418220),_0x14fb66=_0x4baece(_0x438de0(0x3c4),()=>_0x1a8ede(_0x3afadb,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x238bcd=_0x4baece('BaseJson1.json1Apply',()=>_0xcf3cf2['JSON1'][_0x438de0(0x1cc)][_0x438de0(0x366)](_0x14fb66,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0xdf98e2=_0x23998e(_0x238bcd,_0x287e00);return _0x4baece('BaseJson1.syncCellInvalidations',()=>_0x46a59a(_0x238bcd,_0x287e00),{'invalidations':_0x287e00[_0x438de0(0x3d4)]})?(_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd):(_0x4baece('BaseJson1.normalizeTables',()=>{const _0x342fe9=_0x438de0;this['_getTablesToNormalize'](_0x238bcd,_0x287e00)[_0x342fe9(0x458)](_0x2e9e50=>{const _0x39e29b=_0x342fe9;let _0x78ca79=_0x287e00['filter'](_0x17b2a3=>_0x17b2a3['tableId']===_0x2e9e50['id']),_0x4c3cd0=_0x78ca79[_0x39e29b(0x3d4)]>0x0&&_0x78ca79[_0x39e29b(0x320)](_0x548fe9=>_0x548fe9[_0x39e29b(0x2e7)]==='field'||_0x548fe9[_0x39e29b(0x2e7)]==='view'||_0x548fe9[_0x39e29b(0x2e7)]===_0x39e29b(0x4c1)||_0x548fe9[_0x39e29b(0x2e7)]==='record')?new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x5bb2fd=>{const _0x11176b=_0x39e29b;var _0x27d833;if(_0x5bb2fd[_0x11176b(0x2e7)]!==_0x11176b(0x48c)||!_0x5bb2fd[_0x11176b(0x580)])return[];let _0x5d3d53=(_0x27d833=_0x3afadb[_0x11176b(0x3d7)][_0x2e9e50['id']])==null?void 0x0:_0x27d833['fields'][_0x5bb2fd[_0x11176b(0x580)]],_0xfe8d12=_0x2e9e50[_0x11176b(0x3b5)][_0x5bb2fd[_0x11176b(0x580)]];return(_0x5d3d53==null?void 0x0:_0x5d3d53['type'])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x1cc)])||(_0x5d3d53==null?void 0x0:_0x5d3d53['config'][_0x11176b(0x4ee)])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x5a3)][_0x11176b(0x4ee)])?[_0x5bb2fd['fieldId']]:[];})):void 0x0,_0x4071df=new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x38a6f8=>{const _0x299952=_0x39e29b;var _0x1bf97e,_0x2266e2;return _0x38a6f8[_0x299952(0x2e7)]!==_0x299952(0x4c1)||_0x38a6f8[_0x299952(0x53e)]==null||_0x38a6f8[_0x299952(0x45e)]==null?[]:[JSON[_0x299952(0x322)]([(_0x1bf97e=_0x2e9e50[_0x299952(0x369)])==null?void 0x0:_0x1bf97e[_0x38a6f8[_0x299952(0x53e)]],(_0x2266e2=_0x2e9e50['colId'])==null?void 0x0:_0x2266e2[_0x38a6f8[_0x299952(0x45e)]]])];}));_0x41664f(_0x2e9e50,_0x4c3cd0?(_0x15b6be,_0x525394)=>_0x4c3cd0[_0x39e29b(0x244)](_0x525394)||_0x4071df[_0x39e29b(0x244)](JSON[_0x39e29b(0x322)]([_0x15b6be,_0x525394])):void 0x0);});},{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd);}[_0x2b8d6a(0x5a5)](_0x1fc2f1,_0x238587){const _0x43db90=_0x2b8d6a;return _0xcf3cf2['JSON1'][_0x43db90(0x1cc)][_0x43db90(0x449)](_0x238587,_0x1fc2f1);}[_0x2b8d6a(0x235)](_0x5474c8){const _0x1c2d96=_0x2b8d6a;let _0x12a062=_0x2c1adc(_0x5474c8);return _0x12a062[_0x1c2d96(0x3d4)]?_0x46dbc1(_0x12a062['flatMap'](_0x2161e1=>this[_0x1c2d96(0x235)](_0x2161e1))):_0x53868f(_0x5474c8);}[_0x2b8d6a(0x3e8)](_0x9e8287,_0x136ee2){const _0xed62c6=_0x2b8d6a;let _0x10136e=_0x136ee2['filter'](_0x89e231=>_0x89e231[_0xed62c6(0x2e7)]!==_0xed62c6(0x2e6));return _0x10136e[_0xed62c6(0x3d4)]?_0x10136e['some'](_0x344bf1=>!_0x344bf1['tableId'])?Object[_0xed62c6(0x404)](_0x9e8287[_0xed62c6(0x3d7)]??{}):Array[_0xed62c6(0x1ea)](new Set(_0x10136e[_0xed62c6(0x2c4)](_0x38d7c9=>_0x38d7c9[_0xed62c6(0x3e2)])))[_0xed62c6(0x5d0)](_0x3c1888=>{const _0x52714=_0xed62c6;var _0x256301;let _0x340e22=(_0x256301=_0x9e8287[_0x52714(0x3d7)])==null?void 0x0:_0x256301[_0x3c1888];return _0x340e22?[_0x340e22]:[];}):[];}};function _0x51360c(_0x1437e8){const _0x178e99=_0x2b8d6a;let _0x2d9b75=_0x1437e8[_0x178e99(0x282)];return _0x1437e8['id']!==_0x178e99(0x304)||typeof _0x2d9b75!=_0x178e99(0x240)||!_0x2d9b75||!('unitId'in _0x2d9b75)||typeof _0x2d9b75['unitId']!=_0x178e99(0x3ea)||!('op'in _0x2d9b75)||!Array[_0x178e99(0x2a1)](_0x2d9b75['op'])?null:{'unitId':_0x2d9b75['unitId'],'op':_0x2d9b75['op']};}function _0x46a59a(_0xcf9089,_0x5c69b9){const _0x4b7a74=_0x2b8d6a;if(!_0x5c69b9[_0x4b7a74(0x3d4)]||_0x5c69b9[_0x4b7a74(0x20f)](_0x2da1af=>_0x2da1af['reason']!==_0x4b7a74(0x4c1)))return!0x1;let _0x129db4=new Map();for(let _0x48808c of _0x5c69b9){if(!_0x48808c[_0x4b7a74(0x3e2)]||_0x48808c[_0x4b7a74(0x53e)]==null||_0x48808c[_0x4b7a74(0x45e)]==null)continue;let _0x485706=_0x129db4['get'](_0x48808c[_0x4b7a74(0x3e2)])??[];_0x485706[_0x4b7a74(0x309)]({'row':_0x48808c['row'],'col':_0x48808c[_0x4b7a74(0x45e)]}),_0x129db4['set'](_0x48808c[_0x4b7a74(0x3e2)],_0x485706);}return _0x129db4['forEach']((_0x9da68e,_0x9a4e28)=>{var _0x3a9a19;let _0x8a9937=(_0x3a9a19=_0xcf9089['tables'])==null?void 0x0:_0x3a9a19[_0x9a4e28];_0x8a9937&&_0x334b3c(_0x8a9937,_0x9da68e);}),!0x0;}function _0x23998e(_0x52b2c3,_0x536a4d){const _0x126ba4=_0x2b8d6a;let _0x51baf0=new Set();return _0x536a4d[_0x126ba4(0x5d0)](_0x39f49b=>{const _0x54e272=_0x126ba4;var _0x1110ce;if(!_0x39f49b[_0x54e272(0x3e2)]||!_0x39f49b[_0x54e272(0x57e)]||!_0x39f49b[_0x54e272(0x580)])return[];let _0x3dc091=_0x39f49b[_0x54e272(0x3e2)]+'\x1f'+_0x39f49b[_0x54e272(0x57e)]+'\x1f'+_0x39f49b[_0x54e272(0x580)];if(_0x51baf0['has'](_0x3dc091))return[];_0x51baf0['add'](_0x3dc091);let _0xc2b79=(_0x1110ce=_0x52b2c3['tables'][_0x39f49b['tableId']])==null||(_0x1110ce=_0x1110ce['records'][_0x39f49b[_0x54e272(0x57e)]])==null?void 0x0:_0x1110ce[_0x54e272(0x404)];return _0xc2b79?[{'tableId':_0x39f49b['tableId'],'recordId':_0x39f49b['recordId'],'fieldId':_0x39f49b['fieldId'],'exists':Object['prototype'][_0x54e272(0x1ec)]['call'](_0xc2b79,_0x39f49b[_0x54e272(0x580)]),'value':_0xc2b79[_0x39f49b['fieldId']]}]:[];});}function _0x55bcfe(_0x34a936,_0x66dc02){const _0x54203b=_0x2b8d6a;_0x66dc02[_0x54203b(0x458)](_0x193594=>{const _0x26788a=_0x54203b;var _0x3e4756;let _0x250e93=(_0x3e4756=_0x34a936[_0x26788a(0x3d7)][_0x193594[_0x26788a(0x3e2)]])==null||(_0x3e4756=_0x3e4756['records'][_0x193594['recordId']])==null?void 0x0:_0x3e4756[_0x26788a(0x404)];_0x250e93&&(_0x193594[_0x26788a(0x224)]?_0x250e93[_0x193594[_0x26788a(0x580)]]=_0x193594[_0x26788a(0x348)]:delete _0x250e93[_0x193594['fieldId']]);});}function _0x53868f(_0x19c5a1){const _0x42313b=_0x2b8d6a;if(!Array['isArray'](_0x19c5a1)||_0x19c5a1[_0x42313b(0x3d4)]<0x2)return[{'tableId':'','reason':_0x42313b(0x300)}];let _0x59246a=_0x19c5a1,_0x9902b4=_0x59246a[_0x42313b(0x267)](_0x42313b(0x3d7));return _0x9902b4===-0x1||typeof _0x59246a[_0x9902b4+0x1]!=_0x42313b(0x3ea)?_0x59246a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x42313b(0x300)}]:_0x31bf52(_0x59246a,_0x9902b4,String(_0x59246a[_0x9902b4+0x1]));}function _0x31bf52(_0x2fa8cd,_0x146418,_0x50c0d7){const _0x5e7485=_0x2b8d6a;let _0x30edaa=_0x2fa8cd[_0x146418+0x2];return _0x30edaa===_0x5e7485(0x38a)&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?_0x224485(_0x2fa8cd,_0x146418,_0x50c0d7,String(_0x2fa8cd[_0x146418+0x3])):_0x30edaa===_0x5e7485(0x2a3)&&_0x2fa8cd[_0x146418+0x3]!=null&&_0x2fa8cd[_0x146418+0x4]!=null?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1),'row':Number(_0x2fa8cd[_0x146418+0x3]),'column':Number(_0x2fa8cd[_0x146418+0x4])}]:_0x30edaa===_0x5e7485(0x3b5)&&typeof _0x2fa8cd[_0x146418+0x3]=='string'?[{'tableId':_0x50c0d7,'reason':'field','fieldId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa==='fieldOrder'?[{'tableId':_0x50c0d7,'reason':'field'}]:_0x30edaa==='recordOrder'?[{'tableId':_0x50c0d7,'reason':'record'}]:_0x30edaa==='views'&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6),'viewId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa===_0x5e7485(0x49a)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6)}]:_0x30edaa===_0x5e7485(0x482)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1)}]:[{'tableId':_0x50c0d7,'reason':_0x30edaa===void 0x0?'table':_0x5e7485(0x300)}];}function _0x224485(_0x33beb1,_0x196c59,_0x44ddb7,_0x4d7eac){const _0x291b77=_0x2b8d6a;return _0x33beb1[_0x196c59+0x4]===_0x291b77(0x404)&&typeof _0x33beb1[_0x196c59+0x5]==_0x291b77(0x3ea)?[{'tableId':_0x44ddb7,'reason':_0x291b77(0x4c1),'recordId':_0x4d7eac,'fieldId':String(_0x33beb1[_0x196c59+0x5])}]:_0x33beb1[_0x196c59+0x4]===_0x291b77(0x5b8)||_0x33beb1[_0x196c59+0x4]===_0x291b77(0x349)?[]:[{'tableId':_0x44ddb7,'reason':'record','recordId':_0x4d7eac}];}function _0x2c1adc(_0x18005e){const _0x47925b=_0x2b8d6a;if(!Array[_0x47925b(0x2a1)](_0x18005e))return[];let _0x2fd4bc=_0x18005e[_0x47925b(0x355)](Array[_0x47925b(0x2a1)]);if(_0x2fd4bc[_0x47925b(0x3d4)]>0x1&&_0x2fd4bc['length']===_0x18005e[_0x47925b(0x3d4)])return _0x2fd4bc;let _0x2ddb6a=_0x18005e[_0x47925b(0x45c)](Array['isArray']);if(_0x2ddb6a>0x0&&_0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x320)](Array[_0x47925b(0x2a1)])){let _0x38ff2a=_0x18005e['slice'](0x0,_0x2ddb6a);return _0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x2c4)](_0x1b79b2=>[..._0x38ff2a,..._0x1b79b2]);}let _0x2e90e1=_0x18005e['indexOf'](_0x47925b(0x3d7));if(_0x2e90e1===-0x1||typeof _0x18005e[_0x2e90e1+0x1]!='string')return[];let _0x2aaa5d=String(_0x18005e[_0x2e90e1+0x1]),_0x463a31=_0x18005e['slice'](_0x2e90e1+0x2)['filter'](Array[_0x47925b(0x2a1)]);return _0x463a31[_0x47925b(0x3d4)]<=0x1?[]:_0x463a31[_0x47925b(0x2c4)](_0x501ad7=>[_0x47925b(0x3d7),_0x2aaa5d,..._0x501ad7]);}function _0x46dbc1(_0x230282){const _0x38894a=_0x2b8d6a;let _0x4522ea=new Set();return _0x230282[_0x38894a(0x355)](_0x270237=>{const _0x543bd7=_0x38894a;let _0x2e0559=JSON['stringify'](_0x270237);return!_0x4522ea[_0x543bd7(0x244)](_0x2e0559)&&(_0x4522ea[_0x543bd7(0x1d6)](_0x2e0559),!0x0);});}function _0xb79131(_0x2e422e){const _0x127b56=_0x2b8d6a;return _0xcf3cf2['Tools'][_0x127b56(0x578)](_0x2e422e);}function _0x1a8ede(_0x5392d6,_0x49fb00){const _0x41dbf0=_0x2b8d6a;let _0x3fb84e=_0x1199ad(_0x49fb00);if(!_0x3fb84e[_0x41dbf0(0x3d4)])return _0xb79131(_0x5392d6);let _0x431dfa=_0x1a7260(_0x5392d6),_0x4dca11=new Set();for(let _0x52c65b of _0x3fb84e)_0x4415dc(_0x431dfa,_0x52c65b,_0x4dca11);return _0x431dfa;}function _0x1199ad(_0x277c7){let _0x538961=[];return _0x3da892(_0x277c7,[],_0x538961),_0x538961;}function _0x3da892(_0xcbabc8,_0x46ddc6,_0x5216c6){const _0xde7e6f=_0x2b8d6a;if(!Array[_0xde7e6f(0x2a1)](_0xcbabc8))return;let _0x1e987b=[];for(let _0x4c2628 of _0xcbabc8){if(Array[_0xde7e6f(0x2a1)](_0x4c2628)){_0x3da892(_0x4c2628,[..._0x46ddc6,..._0x1e987b],_0x5216c6);continue;}if(_0x22991c(_0x4c2628)){_0x5216c6[_0xde7e6f(0x309)]([..._0x46ddc6,..._0x1e987b]);continue;}(typeof _0x4c2628==_0xde7e6f(0x3ea)||typeof _0x4c2628==_0xde7e6f(0x202))&&_0x1e987b[_0xde7e6f(0x309)](_0x4c2628);}}function _0x22991c(_0x27855e){if(!_0x27855e||typeof _0x27855e!='object'||Array['isArray'](_0x27855e))return!0x1;let _0x34ed8f=_0x27855e;return'i'in _0x34ed8f||'r'in _0x34ed8f||'p'in _0x34ed8f||'d'in _0x34ed8f||'es'in _0x34ed8f||'ena'in _0x34ed8f||'et'in _0x34ed8f;}function _0x4415dc(_0x24823c,_0x1f2200,_0x3cc816){const _0x42b31f=_0x2b8d6a;let _0x48ce01=_0x24823c,_0x4b75d0=[];for(let _0x52b17b=0x0;_0x52b17b<_0x1f2200['length']-0x1;_0x52b17b++){let _0x9e9747=_0x1f2200[_0x52b17b];_0x4b75d0[_0x42b31f(0x309)](_0x9e9747);let _0x54552b=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x54552b))return;let _0x50f6fc=JSON['stringify'](_0x4b75d0);_0x3cc816[_0x42b31f(0x244)](_0x50f6fc)||(_0x367330(_0x48ce01,_0x9e9747,_0x1a7260(_0x54552b)),_0x3cc816[_0x42b31f(0x1d6)](_0x50f6fc));let _0x5cdf91=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x5cdf91))return;_0x48ce01=_0x5cdf91;}}function _0x513162(_0x4c045e,_0xecd2b1){const _0x268125=_0x2b8d6a;return Array[_0x268125(0x2a1)](_0x4c045e)?typeof _0xecd2b1==_0x268125(0x202)?_0x4c045e[_0xecd2b1]:void 0x0:Reflect['get'](_0x4c045e,_0xecd2b1);}function _0x367330(_0x5b84d6,_0x5e73a7,_0x4822fe){const _0x1a9447=_0x2b8d6a;if(Array[_0x1a9447(0x2a1)](_0x5b84d6)){typeof _0x5e73a7==_0x1a9447(0x202)&&(_0x5b84d6[_0x5e73a7]=_0x4822fe);return;}Reflect[_0x1a9447(0x22b)](_0x5b84d6,_0x5e73a7,_0x4822fe);}function _0xbd19eb(_0x548386){return!!_0x548386&&typeof _0x548386=='object';}function _0x1a7260(_0x3d124d){const _0x3c2307=_0x2b8d6a;return Array['isArray'](_0x3d124d)?_0x3d124d[_0x3c2307(0x3de)]():{..._0x3d124d};}let _0x55f68e=_0x2b8d6a(0x51b),_0x26cc72=/\s+hh:mm\s*$/i,_0x21ab81={'yyyy/mm/dd':_0x2b8d6a(0x568),'yyyy-mm-dd':_0x2b8d6a(0x5b5),'mm-dd':'MM-DD','mm/dd/yyyy':_0x2b8d6a(0x5ae),'dd/mm/yyyy':_0x2b8d6a(0x5fa),'mmm\x20d,\x20yyyy':_0x2b8d6a(0x535)};function _0x7aca16(_0x340713,_0x443d89=_0xcf3cf2[_0x2b8d6a(0x251)][_0x2b8d6a(0x1ed)]){const _0x3edf91=_0x2b8d6a;let _0x454fa6=(0x0,_0xcf3cf2['dateKit'])(_0x340713)[_0x3edf91(0x4be)]();return(0x0,_0xcf3cf2[_0x3edf91(0x5e3)])(new Date(_0x454fa6),_0x443d89);}function _0x5c88bb(_0x11f672,_0xdbd2ef=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){const _0x5a6034=_0x2b8d6a;return(0x0,_0xcf3cf2[_0x5a6034(0x3a9)])(_0x11f672,_0xdbd2ef)['getTime']();}function _0x5182d6(_0x5ac3cf,_0x23d84c=_0xcf3cf2[_0x2b8d6a(0x251)]['Date1900']){const _0x570538=_0x2b8d6a;if(_0x5ac3cf==null||_0x5ac3cf==='')return null;if(_0x5ac3cf instanceof Date)return _0x7aca16(_0x5ac3cf,_0x23d84c);if(typeof _0x5ac3cf==_0x570538(0x202))return Number[_0x570538(0x2b0)](_0x5ac3cf)?_0x5ac3cf>0xf4240?_0x7aca16(_0x5ac3cf,_0x23d84c):_0x5ac3cf:null;let _0x4fe331=Date['parse'](String(_0x5ac3cf));return Number[_0x570538(0x40b)](_0x4fe331)?null:_0x7aca16(_0x4fe331,_0x23d84c);}function _0x3ded3a(_0x2cb39d,_0x2a18d3=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){let _0x334913=_0x5182d6(_0x2cb39d,_0x2a18d3);return _0x334913==null?null:_0x5c88bb(_0x334913,_0x2a18d3);}function _0x14d9da(_0x4e03ee={}){const _0x545893=_0x2b8d6a;let _0xf8e804=String(_0x4e03ee[_0x545893(0x41e)]??_0x4e03ee[_0x545893(0x1fa)]??_0x4e03ee[_0x545893(0x242)]??_0x55f68e)[_0x545893(0x479)]()||_0x55f68e,_0x1d013f=_0x26cc72[_0x545893(0x250)](_0xf8e804);return{'pattern':_0xf8e804[_0x545893(0x5a4)](_0x26cc72,'')||_0x55f68e,'includeTime':typeof _0x4e03ee[_0x545893(0x5b1)]==_0x545893(0x511)?_0x4e03ee[_0x545893(0x5b1)]:_0x1d013f,'hourCycle':_0x4e03ee[_0x545893(0x26a)]===_0x545893(0x2cf)?_0x545893(0x2cf):_0x545893(0x433)};}function _0x21d088(_0x1850ad={}){let {format:_0xfa1a33,dateFormat:_0x260622,..._0x418736}=_0x1850ad;return{..._0x418736,..._0x14d9da(_0x1850ad)};}function _0x1e8f43(_0x401fbe,_0x2b3942={}){const _0x26145c=_0x2b8d6a;let _0x4cf725=_0x3ded3a(_0x401fbe);if(_0x4cf725==null||!Number['isFinite'](_0x4cf725))return'';let _0x55eb68=_0x14d9da(_0x2b3942);return(0x0,_0xcf3cf2[_0x26145c(0x28a)])(_0x4cf725)[_0x26145c(0x1fa)](_0x1b7282(_0x55eb68));}function _0x1b7282(_0x36358b){const _0x11079c=_0x2b8d6a;let {pattern:_0x1ad95c,includeTime:_0x3e8c29,hourCycle:_0x2a1324}=_0x36358b,_0x5e6c89=_0x21ab81[_0x1ad95c]??_0x21ab81[_0x55f68e];return _0x3e8c29?_0x5e6c89+'\x20'+(_0x2a1324==='h12'?_0x11079c(0x412):_0x11079c(0x432)):_0x5e6c89;}let _0x309b62={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4c4adc=new Set([_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x46d)]]),_0x2eddf7=0x5265c00;function _0x78a559(_0x592029){const _0x78c99d=_0x2b8d6a;switch(_0x592029){case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5b6)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x3d8)]:case _0xcf3cf2['BaseFieldType']['Progress']:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x22a)]:return[_0xcf3cf2['BaseConditionalColorOperator']['IS'],_0xcf3cf2['BaseConditionalColorOperator']['IS_NOT'],_0xcf3cf2[_0x78c99d(0x2f1)]['GREATER_THAN'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x46b)],_0xcf3cf2['BaseConditionalColorOperator']['IS_EMPTY'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x2d9)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x413)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x305)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x315)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x483)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x215)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x5e1)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5f8)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x315)]];default:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)]['IS_NOT'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x262)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x497)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x5e1)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];}}function _0x16d4c2(_0x19869c){const _0x351bf7=_0x2b8d6a;return _0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x2d9)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x413)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x305)];}function _0x727464(_0x1becc2,_0x1b6fbd){const _0x407aaa=_0x2b8d6a;return _0x1becc2==null&&_0x1b6fbd==null?0x0:_0x1becc2==null?-0x1:_0x1b6fbd==null?0x1:typeof _0x1becc2==_0x407aaa(0x202)&&typeof _0x1b6fbd=='number'?_0x1becc2-_0x1b6fbd:String(_0x1becc2)['localeCompare'](String(_0x1b6fbd));}function _0x357854(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3,_0x22aee0={}){const _0x5bab68=_0x2b8d6a;if(_0x577846==='isEmpty')return _0x5cb666(_0x2d8859);if(_0x577846==='isNotEmpty')return!_0x5cb666(_0x2d8859);switch(_0x47d7b3['type']){case _0xcf3cf2['BaseFieldType']['Number']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3d8)]:case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x455)]:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x22a)]:return _0xba0613(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x2d9)]:case _0xcf3cf2['BaseFieldType']['CreatedAt']:case _0xcf3cf2['BaseFieldType']['UpdatedAt']:return _0xa442e9(_0x2d8859,_0x577846,_0x277b54,_0x22aee0);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x5f8)]:return _0x14c399(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x2e3)]:case _0xcf3cf2[_0x5bab68(0x435)]['MultiSelect']:case _0xcf3cf2[_0x5bab68(0x435)]['Person']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3fa)]:return _0x5ce2cb(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3);default:return _0x508431(_0x2d8859,_0x577846,_0x277b54);}}function _0x5cb666(_0x277b88){const _0xa8ff33=_0x2b8d6a;return _0x277b88==null?!0x0:Array[_0xa8ff33(0x2a1)](_0x277b88)?_0x277b88['length']===0x0:typeof _0x277b88==_0xa8ff33(0x3ea)&&_0x277b88[_0xa8ff33(0x479)]()==='';}function _0xba0613(_0x134f46,_0x231996,_0x3a9c84){const _0x3b5459=_0x2b8d6a;let _0x1ea493=_0x4eccf5(_0x134f46),_0x2f29f8=_0x4eccf5(_0x3a9c84);if(_0x1ea493==null||_0x2f29f8==null)return!0x1;switch(_0x231996){case'is':return _0x1ea493===_0x2f29f8;case _0x3b5459(0x4d2):return _0x1ea493!==_0x2f29f8;case _0x3b5459(0x26e):return _0x1ea493>_0x2f29f8;case'greaterThanOrEqual':return _0x1ea493>=_0x2f29f8;case _0x3b5459(0x227):return _0x1ea493<_0x2f29f8;case _0x3b5459(0x276):return _0x1ea493<=_0x2f29f8;default:return!0x1;}}function _0x4eccf5(_0x18eab4){if(_0x18eab4==null||_0x18eab4==='')return null;let _0x397683=Number(_0x18eab4);return Number['isFinite'](_0x397683)?_0x397683:null;}function _0xa442e9(_0x37cf98,_0x203a7a,_0x176a37,_0x593aa1){const _0x35d8b2=_0x2b8d6a;let _0x285393=_0xe69732(_0x37cf98);if(_0x285393==null)return!0x1;let _0x43a3a5=_0x283da0(_0x593aa1[_0x35d8b2(0x32f)]??_0x35d8b2(0x231),_0x176a37,_0x593aa1[_0x35d8b2(0x208)]);if(!_0x43a3a5)return!0x1;switch(_0x203a7a){case'is':return _0x285393>=_0x43a3a5['start']&&_0x285393<=_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x4d2):return _0x285393<_0x43a3a5[_0x35d8b2(0x571)]||_0x285393>_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x363):return _0x285393<_0x43a3a5['start'];case _0x35d8b2(0x5f2):return _0x285393>_0x43a3a5['end'];default:return!0x1;}}function _0x283da0(_0x2fef45,_0x1c24f4,_0x9b74a2=Date['now']()){const _0x451008=_0x2b8d6a;let _0x962dd0=_0x2508d0(_0x9b74a2);switch(_0x2fef45){case _0x451008(0x231):{let _0x3cc4f4=_0xe69732(_0x1c24f4);return _0x3cc4f4==null?null:{'start':_0x3cc4f4,'end':_0x3cc4f4+_0x2eddf7-0x1};}case _0x451008(0x499):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x39e):return{'start':_0x962dd0+_0x2eddf7,'end':_0x962dd0+_0x2eddf7*0x2-0x1};case'yesterday':return{'start':_0x962dd0-_0x2eddf7,'end':_0x962dd0-0x1};case'thisWeek':return _0x1c0d2c(_0x962dd0,0x0);case _0x451008(0x2a8):return _0x1c0d2c(_0x962dd0,-0x1);case'thisMonth':return _0x946130(_0x962dd0,0x0);case _0x451008(0x2f7):return _0x946130(_0x962dd0,-0x1);case _0x451008(0x36c):return{'start':_0x962dd0-_0x2eddf7*0x6,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x533):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x7-0x1};case'past30':return{'start':_0x962dd0-_0x2eddf7*0x1d,'end':_0x962dd0+_0x2eddf7-0x1};case'next30':return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x1e-0x1};}}function _0xe69732(_0x45ba7f){let _0x2fe154=_0x5182d6(_0x45ba7f);return _0x2fe154==null?null:_0x2508d0(_0x5c88bb(_0x2fe154));}function _0x2508d0(_0x132d04){const _0x1a848e=_0x2b8d6a;let _0x338eca=new Date(_0x132d04);return _0x338eca['setHours'](0x0,0x0,0x0,0x0),_0x338eca[_0x1a848e(0x25d)]();}function _0x1c0d2c(_0x38ce2d,_0x3078ee){const _0x373d68=_0x2b8d6a;let _0x4726cb=_0x38ce2d-(new Date(_0x38ce2d)[_0x373d68(0x32e)]()+0x6)%0x7*_0x2eddf7+_0x3078ee*_0x2eddf7*0x7;return{'start':_0x4726cb,'end':_0x4726cb+_0x2eddf7*0x7-0x1};}function _0x946130(_0x5384d0,_0x2da625){const _0xf17fcd=_0x2b8d6a;let _0xea7c93=new Date(_0x5384d0),_0x2475cf=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625,0x1),_0x3b11d6=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625+0x1,0x1);return{'start':_0x2475cf[_0xf17fcd(0x25d)](),'end':_0x3b11d6['getTime']()-0x1};}function _0x14c399(_0x3eb405,_0x1705b8,_0x5145c6){let _0x3a6af7=_0x3732dd(_0x3eb405),_0x231fff=_0x3732dd(_0x5145c6);switch(_0x1705b8){case'is':return _0x3a6af7===_0x231fff;case'isNot':return _0x3a6af7!==_0x231fff;default:return!0x1;}}function _0x3732dd(_0x22741f){return _0x22741f===!0x0||_0x22741f==='true'||_0x22741f===0x1||_0x22741f==='1';}function _0x5ce2cb(_0x14c62f,_0x15f1ea,_0x352def,_0x55c64c){const _0x138a43=_0x2b8d6a;let _0x581e20=_0x57e241(_0x14c62f,_0x55c64c),_0x2613be=_0x57e241(_0x352def,_0x55c64c),_0x27bc4f=_0x2613be['length']>0x0&&_0x2613be[_0x138a43(0x20f)](_0x3444aa=>_0x581e20[_0x138a43(0x299)](_0x3444aa));switch(_0x15f1ea){case'is':case'contains':return _0x27bc4f;case _0x138a43(0x4d2):case _0x138a43(0x423):return!_0x27bc4f;default:return!0x1;}}function _0x508431(_0x2981f1,_0x2e4fc3,_0xc6dbb2){const _0x4df21d=_0x2b8d6a;let _0x2c8069=_0x3ca23e(_0x2981f1),_0x1f56f9=_0x3ca23e(_0xc6dbb2);switch(_0x2e4fc3){case'is':return _0x2c8069===_0x1f56f9;case'isNot':return _0x2c8069!==_0x1f56f9;case'contains':return _0x1f56f9?_0x2c8069[_0x4df21d(0x299)](_0x1f56f9):!0x1;case _0x4df21d(0x423):return!_0x1f56f9||!_0x2c8069['includes'](_0x1f56f9);default:return!0x1;}}function _0x3ca23e(_0x5c2518){const _0x4d316c=_0x2b8d6a;if(Array[_0x4d316c(0x2a1)](_0x5c2518))return _0x5c2518[_0x4d316c(0x2c4)](_0x238d1c=>_0x3ca23e(_0x238d1c))[_0x4d316c(0x600)]('\x0a');if(_0x5c2518&&typeof _0x5c2518==_0x4d316c(0x240)){let _0x578125=_0x5c2518;return String(_0x578125[_0x4d316c(0x456)]??_0x578125[_0x4d316c(0x2db)]??_0x578125[_0x4d316c(0x395)]??_0x578125[_0x4d316c(0x348)]??_0x578125['id']??'')['trim']()['toLowerCase']();}return String(_0x5c2518??'')['trim']()[_0x4d316c(0x402)]();}function _0x57e241(_0x45ef32,_0x502667){const _0x32bda0=_0x2b8d6a;let _0xcdb9b2=_0x20c4ae(_0x45ef32),_0x47abbe=_0x499657(_0x502667[_0x32bda0(0x5a3)]??{});return _0xcdb9b2[_0x32bda0(0x5d0)](_0x248620=>_0x47abbe[_0x32bda0(0x4f0)](_0x248620)??[_0x248620])[_0x32bda0(0x355)]((_0x3b5358,_0x46b52a,_0x24c977)=>_0x3b5358!==''&&_0x24c977[_0x32bda0(0x267)](_0x3b5358)===_0x46b52a);}function _0x20c4ae(_0x119314){const _0x636dc9=_0x2b8d6a;if(_0x119314==null||_0x119314==='')return[];if(Array[_0x636dc9(0x2a1)](_0x119314))return _0x119314[_0x636dc9(0x5d0)](_0x3b24b7=>_0x20c4ae(_0x3b24b7));if(_0x119314&&typeof _0x119314==_0x636dc9(0x240)){let _0x241512=_0x119314;return['id',_0x636dc9(0x456),'label',_0x636dc9(0x348),_0x636dc9(0x395)][_0x636dc9(0x5d0)](_0x1b7f3f=>_0x20c4ae(_0x241512[_0x1b7f3f]))[_0x636dc9(0x355)]((_0x570f6c,_0x43903a,_0x4d24fb)=>_0x4d24fb[_0x636dc9(0x267)](_0x570f6c)===_0x43903a);}return[_0x3ca23e(_0x119314)];}function _0x499657(_0x3cbf73){const _0x20531b=_0x2b8d6a;let _0x54e539=new Map();return(Array[_0x20531b(0x2a1)](_0x3cbf73[_0x20531b(0x5cc)])?_0x3cbf73['options']:[])[_0x20531b(0x458)](_0x291bdf=>{const _0x5d445a=_0x20531b;if(!_0x291bdf||typeof _0x291bdf!=_0x5d445a(0x240))return;let _0x327a61=_0x20c4ae(_0x291bdf),_0x52988a=_0x327a61['filter']((_0x2379f8,_0x535f18)=>_0x2379f8!==''&&_0x327a61[_0x5d445a(0x267)](_0x2379f8)===_0x535f18);_0x52988a[_0x5d445a(0x458)](_0x7e91d4=>_0x54e539['set'](_0x7e91d4,_0x52988a));}),_0x54e539;}function _0x2399a4(_0x1f6781,_0x1d48fa={},_0xecc98c=_0x6e04b1=>_0x6e04b1,_0x3f3b58={}){const _0x510bcc=_0x2b8d6a;let _0xb31015=!_0x4c4adc[_0x510bcc(0x244)](_0x1f6781),_0x2ebd95=_0xecc98c??(_0x87635a=>_0x87635a);return{'type':_0x1f6781,'i18nKey':_0x510bcc(0x492)+_0x1f6781,'enabled':_0xb31015,'visibleInCreateMenu':_0xb31015,'createDefaultConfig':_0x3f3b58[_0x510bcc(0x5ba)]??(()=>({})),'createDefaultValue':_0x3f3b58['createDefaultValue']??(_0x55d11b=>_0x55d11b[_0x510bcc(0x334)]??null),'normalize':(_0x2fe78a,_0x4e19c4)=>_0x2ebd95(_0x2fe78a,_0x4e19c4),'validate':(_0x3ea28d,_0x39f48f)=>{const _0x11c5ca=_0x510bcc;var _0x16c957;return _0xb31015?((_0x16c957=_0x3f3b58[_0x11c5ca(0x3af)])==null?void 0x0:_0x16c957[_0x11c5ca(0x29f)](_0x3f3b58,_0x3ea28d,_0x39f48f))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x253af5,_0x5a3d7e)=>_0x727464(_0x253af5,_0x5a3d7e),'filter':(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f)=>_0x357854(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f),'toPlainText':_0x3f3b58[_0x510bcc(0x587)]??(_0x1ffcdb=>_0x1ffcdb==null?'':String(_0x1ffcdb)),'fromPlainText':_0x3f3b58[_0x510bcc(0x381)]??(_0x164da8=>_0x2ebd95(_0x164da8,{'id':'','name':'','type':_0x1f6781,'config':{}})),'getCapabilities':()=>({..._0x309b62,..._0x1d48fa,'editable':_0xb31015&&(_0x1d48fa[_0x510bcc(0x57b)]??_0x309b62[_0x510bcc(0x57b)])})};}function _0x20ee48(){const _0x2f3b71=_0x2b8d6a;return[_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x220)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x5425f3=>_0x5425f3[_0x2f3b71(0x334)]??''}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x2d213e=>_0x2d213e==null||_0x2d213e===''?null:String(_0x2d213e),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}})}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x1c574a=>Array[_0x2f3b71(0x2a1)](_0x1c574a)?_0x1c574a['map'](String):_0x1c574a==null?[]:[String(_0x1c574a)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}}),'createDefaultValue':_0x4958df=>_0x4958df[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x65fcd1,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x9614df}),_0x2399a4(_0xcf3cf2['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xf43720,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x54d888=>_0x54d888[_0x2f3b71(0x334)]??[],'validate':_0x5ae318}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x115623=>_0x5182d6(_0x115623),{'createDefaultConfig':()=>_0x5aa101(),'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x448)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2a9e13=>_0x2a9e13==null?[]:Array['isArray'](_0x2a9e13)?_0x2a9e13:[_0x2a9e13],{'createDefaultValue':_0x524dab=>_0x524dab[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x5b6)],{},_0x182ddd=>_0x182ddd==null||_0x182ddd===''?null:Number(_0x182ddd),{'createDefaultConfig':()=>_0x21165b(),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x5f8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2d18f8=>_0x2d18f8===!0x0||_0x2d18f8==='true'||_0x2d18f8===0x1||_0x2d18f8==='1',{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x5a0),'color':_0x2f3b71(0x1da)}),'createDefaultValue':_0x1dfa59=>_0x1dfa59[_0x2f3b71(0x334)]??!0x1,'validate':_0x1afc2e=>typeof _0x1afc2e==_0x2f3b71(0x511)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x24b)],{'supportsRelation':!0x0},_0x485bc6,{'createDefaultConfig':()=>({'placeholder':_0x2f3b71(0x494)}),'toPlainText':_0x56eb44=>_0x51936f(_0x56eb44),'fromPlainText':_0x935352=>_0x485bc6(_0x935352)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x25e)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x2f3b71(0x1fd),'pattern':_0x2f3b71(0x474)}}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x2f3b71(0x36b)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x328)],{'usableAsTitle':!0x0},_0xfffb7f=>_0xfffb7f==null?null:String(_0xfffb7f)[_0x2f3b71(0x479)](),{'validate':_0x5454d8=>_0x5454d8==null||_0x5454d8===''||/^\+?[0-9 ()-]{6,20}$/[_0x2f3b71(0x250)](String(_0x5454d8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x218)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x4c2)],{'usableAsTitle':!0x0},_0x5d581e=>_0x5d581e==null?null:String(_0x5d581e)['trim'](),{'validate':_0x4edeac=>_0x4edeac==null||_0x4edeac===''||_0x2f06b5(String(_0x4edeac))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x5a6)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x455)],{'usableAsGanttProgress':!0x0},_0x3dc666=>_0x3dc666==null||_0x3dc666===''?null:Number(_0x3dc666),{'createDefaultConfig':()=>({'format':_0x2f3b71(0x256),'decimalPlaces':0x0,'color':_0x2f3b71(0x371),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x3caba4,_0x169a66)=>_0x1b37fc(_0x3caba4,_0x169a66,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d8)],{},_0x47918c=>_0x47918c==null||_0x47918c===''?null:Number(_0x47918c),{'createDefaultConfig':()=>({..._0x21165b(),'currencySymbol':'$'}),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x22a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1c8d12=>_0x1c8d12==null||_0x1c8d12===''?null:Number(_0x1c8d12),{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x2b7),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x29c0eb,_0x3aac3c)=>_0x1b37fc(_0x29c0eb,_0x3aac3c,'[BaseField]:\x20invalid\x20rating\x20value.')}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x34e)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x23d19e,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x243ba7,_0x4867cd)=>_0x456626(_0x243ba7,_0x4867cd[_0x2f3b71(0x5a3)]['multiple']===!0x0)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x34f)],{'editable':!0x1,'groupable':!0x0},_0x5cbf4a=>_0x5cbf4a==null?null:String(_0x5cbf4a),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x8b25b6=>_0x8b25b6==null?null:String(_0x8b25b6),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType']['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x259039=>_0x5182d6(_0x259039),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x305)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x37e780=>_0x5182d6(_0x37e780),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129})];}function _0x21165b(){const _0x4ba6da=_0x2b8d6a;return{'pattern':_0x4ba6da(0x292),'decimalPlaces':0x2,'separatorStyle':_0x4ba6da(0x3f3),'useThousands':!0x0,'abbreviation':_0x4ba6da(0x44a),'allowNegative':!0x0};}function _0x5aa101(){const _0x22e719=_0x2b8d6a;return{'locale':_0x22e719(0x421),'pattern':_0x22e719(0x51b),'includeTime':!0x1,'hourCycle':_0x22e719(0x433),'defaultMode':'none'};}function _0xf43720(_0x3e17d1){const _0x2fb380=_0x2b8d6a;return _0x3e17d1==null||_0x3e17d1===''?[]:Array[_0x2fb380(0x2a1)](_0x3e17d1)?_0x3e17d1[_0x2fb380(0x2c4)](String):[String(_0x3e17d1)];}function _0x23d19e(_0x8f7595){const _0x84fde7=_0x2b8d6a;return typeof _0x8f7595==_0x84fde7(0x3ea)?_0x8f7595:'';}function _0x65fcd1(_0x1483ad,_0x4553d7){const _0x2fe49f=_0x2b8d6a;return _0x1483ad==null||_0x1483ad===''?_0x4553d7[_0x2fe49f(0x5a3)][_0x2fe49f(0x4ee)]===!0x0?[]:null:_0x4553d7['config']['allowMultiple']===!0x0?Array[_0x2fe49f(0x2a1)](_0x1483ad)?_0x1483ad[_0x2fe49f(0x2c4)](String):[String(_0x1483ad)]:Array['isArray'](_0x1483ad)?String(_0x1483ad[0x0]??'')||null:String(_0x1483ad);}function _0x9614df(_0x5b83a3,_0x1adced){const _0x1c9e1a=_0x2b8d6a;return _0x1adced[_0x1c9e1a(0x5a3)][_0x1c9e1a(0x4ee)]===!0x0?_0x5ae318(_0x5b83a3):_0x5b83a3==null||_0x5b83a3===''||typeof _0x5b83a3==_0x1c9e1a(0x3ea)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1c9e1a(0x2d3)};}function _0x5ae318(_0x70d9ca){const _0x221109=_0x2b8d6a;return _0x70d9ca==null||Array[_0x221109(0x2a1)](_0x70d9ca)&&_0x70d9ca[_0x221109(0x320)](_0x144d84=>typeof _0x144d84=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x221109(0x48b)};}function _0xa96129(_0xaa5179){const _0x5711f2=_0x2b8d6a;return _0xaa5179==null||typeof _0xaa5179==_0x5711f2(0x202)&&Number[_0x5711f2(0x2b0)](_0xaa5179)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5711f2(0x51c)};}function _0x15005f(_0xa5318a,_0x5463bd){const _0x561e10=_0x2b8d6a;return _0xa5318a==null||_0xa5318a===''?{'valid':!0x0}:typeof _0xa5318a!='number'||!Number[_0x561e10(0x2b0)](_0xa5318a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x5463bd['config']['allowNegative']===!0x1&&_0xa5318a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x1b37fc(_0x5cfd0c,_0x566a05,_0x47f9e8){const _0x4765fd=_0x2b8d6a;let _0x169d83=_0x15005f(_0x5cfd0c,_0x566a05);if(!_0x169d83[_0x4765fd(0x47d)]||_0x5cfd0c==null||_0x5cfd0c==='')return _0x169d83;let _0x559243=Number(_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x4f1)]??_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x571)]??0x0),_0xe1ca6e=Number(_0x566a05['config']['max']??_0x566a05[_0x4765fd(0x5a3)]['end']??0x64),_0x5f2c3d=Number(_0x5cfd0c);return _0x5f2c3d>=_0x559243&&_0x5f2c3d<=_0xe1ca6e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x47f9e8};}function _0x485bc6(_0x4ad8d3){const _0x33460f=_0x2b8d6a;if(_0x4ad8d3==null||_0x4ad8d3==='')return null;if(typeof _0x4ad8d3==_0x33460f(0x240)&&!Array[_0x33460f(0x2a1)](_0x4ad8d3)){let _0x4d961e=_0x4ad8d3,_0x37d04a=typeof _0x4d961e[_0x33460f(0x395)]==_0x33460f(0x3ea)?_0x4d961e['text'][_0x33460f(0x479)]():'',_0x1646cf=typeof _0x4d961e[_0x33460f(0x2ff)]=='string'?_0x4d961e[_0x33460f(0x2ff)][_0x33460f(0x479)]():'',_0x4a6b73=_0x49f40a(_0x1646cf||_0x37d04a);return _0x4a6b73?{'text':_0x37d04a||_0x1646cf||_0x4a6b73,'url':_0x4a6b73}:null;}let _0x131fbd=String(_0x4ad8d3)[_0x33460f(0x479)](),_0x6620d4=_0x49f40a(_0x131fbd);return _0x6620d4?{'text':_0x131fbd,'url':_0x6620d4}:null;}function _0x51936f(_0x43c15e){const _0xfbfb54=_0x2b8d6a;if(_0x43c15e==null)return'';if(typeof _0x43c15e==_0xfbfb54(0x240)&&!Array[_0xfbfb54(0x2a1)](_0x43c15e)){let _0x5e874d=_0x43c15e;return String(_0x5e874d['text']||_0x5e874d[_0xfbfb54(0x2ff)]||'');}return String(_0x43c15e);}function _0x49f40a(_0x358d24){const _0xfa8a5f=_0x2b8d6a;let _0x17cfa2=_0x358d24[_0xfa8a5f(0x479)]();if(!_0x17cfa2)return'';let _0x5c0d4d=/^[a-z][a-z\d+.-]*:/i[_0xfa8a5f(0x250)](_0x17cfa2)?_0x17cfa2:_0x17cfa2['startsWith']('//')?_0xfa8a5f(0x274)+_0x17cfa2:'https://'+_0x17cfa2;try{let _0x2dee37=new URL(_0x5c0d4d);return _0x2dee37[_0xfa8a5f(0x5f3)]==='http:'||_0x2dee37[_0xfa8a5f(0x5f3)]===_0xfa8a5f(0x274)?_0x2dee37[_0xfa8a5f(0x2bc)]:'';}catch{return'';}}function _0x2f06b5(_0x5770e8){const _0x501094=_0x2b8d6a;let _0x333950=_0x5770e8[_0x501094(0x267)]('@');if(_0x333950<=0x0||_0x333950!==_0x5770e8[_0x501094(0x4b5)]('@'))return!0x1;let _0x57a2bc=_0x5770e8[_0x501094(0x3de)](_0x333950+0x1);return _0x57a2bc['includes']('.')&&!_0x5770e8[_0x501094(0x299)]('\x20')&&!_0x57a2bc[_0x501094(0x26d)]('.')&&!_0x57a2bc[_0x501094(0x4ec)]('.');}let _0x4b16d6={'table':_0xf55cfd=>[_0x2b8d6a(0x3d7),_0xf55cfd],'field':(_0x37bf33,_0x5ee767)=>['tables',_0x37bf33,_0x2b8d6a(0x3b5),_0x5ee767],'fieldOrder':(_0x24aebd,_0x2609df)=>[_0x2b8d6a(0x3d7),_0x24aebd,_0x2b8d6a(0x4ab),_0x2609df],'record':(_0x2e6c2c,_0x550651)=>[_0x2b8d6a(0x3d7),_0x2e6c2c,_0x2b8d6a(0x38a),_0x550651],'cell':(_0x1912e6,_0x47269c,_0xbd737c)=>[_0x2b8d6a(0x3d7),_0x1912e6,_0x2b8d6a(0x38a),_0x47269c,_0x2b8d6a(0x404),_0xbd737c],'cellData':(_0x242dde,_0x5c4162,_0x5b08dd)=>[_0x2b8d6a(0x3d7),_0x242dde,'cellData',String(_0x5c4162),String(_0x5b08dd)],'attachmentSet':(_0x508e9e,_0x14e296)=>[_0x2b8d6a(0x3d7),_0x508e9e,_0x2b8d6a(0x482),_0x2b8d6a(0x52b),_0x14e296],'attachment':(_0x2249b7,_0x513448)=>[_0x2b8d6a(0x3d7),_0x2249b7,'resources',_0x2b8d6a(0x1e9),_0x513448],'view':(_0x2a8498,_0x4585d2)=>[_0x2b8d6a(0x3d7),_0x2a8498,_0x2b8d6a(0x2e4),_0x4585d2],'viewFieldHidden':(_0x36c888,_0x2503de,_0x325022)=>[_0x2b8d6a(0x3d7),_0x36c888,'views',_0x2503de,_0x2b8d6a(0x239),_0x325022,_0x2b8d6a(0x4e3)]};var _0x15dbb7=class{['setBaseName'](_0x51296c,_0x742677){const _0x39773c=_0x2b8d6a;let _0x1898f7=this[_0x39773c(0x4d6)](_0x51296c,_0x51296c[_0x39773c(0x456)],_0x742677);return _0x5dc19d([this[_0x39773c(0x201)](['name'],_0x51296c['name'],_0x742677),..._0x1898f7?[_0x1898f7]:[]]);}[_0x2b8d6a(0x4d6)](_0x11634d,_0x5954f4,_0x3bc603){const _0x107fdd=_0x2b8d6a;let _0x104927=Object[_0x107fdd(0x404)](_0x11634d['tables'])[_0x107fdd(0x5d0)](_0x212849=>Object['values'](_0x212849[_0x107fdd(0x3b5)])[_0x107fdd(0x5d0)](_0x5ae6a4=>{const _0x154aab=_0x107fdd;var _0x38f63d,_0x2466d1;if(_0x5ae6a4[_0x154aab(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x154aab(0x25e)])return[];let _0x4d069a=String(((_0x38f63d=_0x5ae6a4['config'])==null?void 0x0:_0x38f63d['formula'])??''),_0xcd8076=(0x0,_0x64dd1a[_0x154aab(0x4d1)])(_0x4d069a,_0x5954f4,_0x3bc603);return _0xcd8076===_0x4d069a?[]:[this['_replaceOptional']([..._0x4b16d6[_0x154aab(0x48c)](_0x212849['id'],_0x5ae6a4['id']),_0x154aab(0x5a3),_0x154aab(0x4fe)],(_0x2466d1=_0x5ae6a4[_0x154aab(0x5a3)])==null?void 0x0:_0x2466d1[_0x154aab(0x4fe)],_0xcd8076)];}));return _0x104927[_0x107fdd(0x3d4)]>0x0?_0x5dc19d(_0x104927):void 0x0;}[_0x2b8d6a(0x5f0)](_0x34ae18,_0x3fca5b,_0x4305cd=_0x34ae18[_0x2b8d6a(0x5af)][_0x2b8d6a(0x3d4)]){const _0x19deb7=_0x2b8d6a;let _0x454a28=(0x0,_0xcf3cf2[_0x19deb7(0x4fa)])(_0x3fca5b['name'],(0x0,_0xcf3cf2[_0x19deb7(0x314)])(_0x34ae18)[_0x19deb7(0x404)](),_0x3fca5b[_0x19deb7(0x298)]),_0x2ac7b5=_0x3fca5b[_0x19deb7(0x298)]===_0x454a28?_0x3fca5b:{..._0x3fca5b,'formulaName':_0x454a28};return _0x5dc19d([...this[_0x19deb7(0x33d)](_0x34ae18),_0xcf3cf2[_0x19deb7(0x597)][_0x19deb7(0x3f0)](_0x4b16d6['table'](_0x3fca5b['id']),_0x2ac7b5),_0xcf3cf2['JSON1']['insertOp'](['tableOrder',_0x4305cd],_0x3fca5b['id'])]);}[_0x2b8d6a(0x331)](_0x3546a5,_0x2fa523,_0x359f47){const _0x47fa91=_0x2b8d6a;let _0x137164=_0x3546a5[_0x47fa91(0x3d7)][_0x2fa523];return _0x5dc19d([...this[_0x47fa91(0x33d)](_0x3546a5),_0xcf3cf2[_0x47fa91(0x597)][_0x47fa91(0x5f9)]([..._0x4b16d6['table'](_0x2fa523),_0x47fa91(0x456)],_0x137164[_0x47fa91(0x456)],_0x359f47)]);}[_0x2b8d6a(0x1f1)](_0x38a8da,_0x21b2b3){const _0x4083c2=_0x2b8d6a;let _0x41ba2a=_0x38a8da[_0x4083c2(0x3d7)][_0x21b2b3],_0x1217d1=_0x38a8da[_0x4083c2(0x5af)][_0x4083c2(0x267)](_0x21b2b3);return _0x5dc19d([...this['_materializeFormulaTableNames'](_0x38a8da,new Set([_0x21b2b3])),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](_0x4b16d6[_0x4083c2(0x4b0)](_0x21b2b3),_0x41ba2a),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](['tableOrder',_0x1217d1],_0x21b2b3)]);}[_0x2b8d6a(0x3fb)](_0x2ab2c3,_0x2e4a0b,_0x1ce94f){const _0x737091=_0x2b8d6a;return this[_0x737091(0x1cd)](_0x2ab2c3,_0x2e4a0b,[_0x1ce94f]);}[_0x2b8d6a(0x1cd)](_0x452d18,_0x2c9198,_0x1c8f67){const _0x1c5cb6=_0x2b8d6a;let _0x1cf5c0=_0x452d18['tables'][_0x2c9198],_0xe96bec=_0x1c8f67[_0x1c5cb6(0x355)](_0x4b555d=>_0x4b555d&&!_0x1cf5c0[_0x1c5cb6(0x38a)][_0x4b555d['id']])[_0x1c5cb6(0x2c4)](_0x1ee7c9=>({..._0x1ee7c9,'values':{..._0x1ee7c9[_0x1c5cb6(0x404)],[_0xcf3cf2[_0x1c5cb6(0x509)]]:_0x1ee7c9['id']}}));if(!_0xe96bec['length'])return _0xcf3cf2[_0x1c5cb6(0x597)][_0x1c5cb6(0x5f9)]([..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'],_0x1cf5c0['records'],_0x1cf5c0['records']);let _0xfb24e1=new _0xcf3cf2[(_0x1c5cb6(0x597))][(_0x1c5cb6(0x3ce))](),_0x5c4e4d=[..._0xe96bec][_0x1c5cb6(0x24e)]((_0x4a3e54,_0x38909c)=>_0x4a3e54['id']<_0x38909c['id']?-0x1:+(_0x4a3e54['id']>_0x38909c['id'])),_0x2e7ff7=[..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'];_0xfb24e1[_0x1c5cb6(0x1c8)](_0x2e7ff7);for(let _0xe1766d of _0x5c4e4d)_0xfb24e1[_0x1c5cb6(0x333)](_0xe1766d['id']),_0xfb24e1['write']('i',_0xe1766d),_0xfb24e1['ascend']();for(let _0x230180=0x0;_0x230180<_0x2e7ff7[_0x1c5cb6(0x3d4)];_0x230180+=0x1)_0xfb24e1[_0x1c5cb6(0x2f4)]();return _0x5dc19d([_0xfb24e1[_0x1c5cb6(0x4f0)](),this[_0x1c5cb6(0x52a)](_0x452d18,_0x2c9198,_0xe96bec)]);}[_0x2b8d6a(0x44b)](_0xee098c,_0x398c5b,_0xc9a541){const _0x4ebdcf=_0x2b8d6a;return this[_0x4ebdcf(0x595)](_0xee098c,_0x398c5b,[_0xc9a541]);}['deleteRecords'](_0x7e6c06,_0x1b3e16,_0x147c2c){const _0x1e40e1=_0x2b8d6a;let _0x6d2956=_0x7e6c06[_0x1e40e1(0x3d7)][_0x1b3e16],_0x2d6414=Array[_0x1e40e1(0x1ea)](new Set(_0x147c2c))[_0x1e40e1(0x355)](_0x5d2bf7=>_0x6d2956[_0x1e40e1(0x38a)][_0x5d2bf7]);if(!_0x2d6414[_0x1e40e1(0x3d4)])return _0xcf3cf2['JSON1'][_0x1e40e1(0x5f9)]([..._0x4b16d6[_0x1e40e1(0x4b0)](_0x1b3e16),'records'],_0x6d2956[_0x1e40e1(0x38a)],_0x6d2956[_0x1e40e1(0x38a)]);let _0x161187=new Set(_0x2d6414),_0x568ba4=_0x3b968d(_0x6d2956,_0x2d6414)[_0x1e40e1(0x2c4)](_0x21369a=>this[_0x1e40e1(0x5df)](_0x7e6c06,_0x1b3e16,_0x21369a[_0x1e40e1(0x57e)],_0x21369a[_0x1e40e1(0x580)],''));return _0x5dc19d([this['_deleteRecordsBaseOp'](_0x7e6c06,_0x1b3e16,_0x2d6414,_0x161187),..._0x568ba4]);}[_0x2b8d6a(0x5c8)](_0x12877f,_0x11a04e,_0x471614,_0xee23b4){const _0x494e6f=_0x2b8d6a;let _0x558ecb=_0x12877f[_0x494e6f(0x3d7)][_0x471614],_0x210b75=Array[_0x494e6f(0x1ea)](new Set(_0xee23b4))['filter'](_0x4ff11d=>_0x558ecb[_0x494e6f(0x38a)][_0x4ff11d]),_0x510769=new Set(_0x210b75);return _0x5dc19d([new _0x3c7454()[_0x494e6f(0x5a5)](_0x12877f,this[_0x494e6f(0x42a)](_0x12877f,_0x471614,_0x210b75,_0x510769)),..._0x3b968d(_0x558ecb,_0x210b75)[_0x494e6f(0x2c4)](_0x392326=>this[_0x494e6f(0x5df)](_0x11a04e,_0x471614,_0x392326[_0x494e6f(0x57e)],_0x392326[_0x494e6f(0x580)],_0x392326[_0x494e6f(0x38f)]??''))]);}[_0x2b8d6a(0x42a)](_0x50fc8d,_0xcd7b51,_0x240965,_0x23cbbe){const _0x4ba4fd=_0x2b8d6a;let _0xa1c54=_0x50fc8d[_0x4ba4fd(0x3d7)][_0xcd7b51],_0x236000=_0x240965[_0x4ba4fd(0x2c4)](_0x5a6977=>{const _0x4c688f=_0x4ba4fd;var _0x132894;return{'recordId':_0x5a6977,'index':((_0x132894=_0xa1c54[_0x4c688f(0x5ab)])==null?void 0x0:_0x132894[_0x4c688f(0x267)](_0x5a6977))??-0x1};})[_0x4ba4fd(0x355)](_0x3ffd77=>_0x3ffd77[_0x4ba4fd(0x295)]>=0x0)[_0x4ba4fd(0x24e)]((_0xad03a9,_0x17316a)=>_0x17316a['index']-_0xad03a9['index']);return _0x5dc19d([..._0x240965['map'](_0x3c9334=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)](_0x4b16d6[_0x4ba4fd(0x3c2)](_0xcd7b51,_0x3c9334),_0xa1c54['records'][_0x3c9334])),..._0x236000[_0x4ba4fd(0x2c4)](({recordId:_0x28a45c,index:_0x18325d})=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)]([_0x4ba4fd(0x3d7),_0xcd7b51,'recordOrder',_0x18325d],_0x28a45c)),...this[_0x4ba4fd(0x2dc)](_0xa1c54,_0xcd7b51,_0x43f2b9=>{const _0x3b4fb5=_0x4ba4fd;let _0x1a6de0=_0x43f2b9[_0x3b4fb5(0x3de)](_0x43f2b9[_0x3b4fb5(0x4b5)]('\x1f')+0x1);return _0x23cbbe[_0x3b4fb5(0x244)](_0x1a6de0);})]);}[_0x2b8d6a(0x5dd)](_0x555a8e,_0x4a47a2,_0x2b5033,_0xdf925b){const _0x58f5aa=_0x2b8d6a;return this[_0x58f5aa(0x3fb)](_0x555a8e,_0x4a47a2,{..._0xdf925b,'values':{..._0x555a8e['tables'][_0x4a47a2][_0x58f5aa(0x38a)][_0x2b5033]['values'],..._0xdf925b[_0x58f5aa(0x404)],[_0xcf3cf2[_0x58f5aa(0x509)]]:_0xdf925b['id']}});}[_0x2b8d6a(0x577)](_0x17ba4c,_0x2f1d57,_0x54f6fc,_0x3fc619){const _0x107552=_0x2b8d6a;let _0x22ce12=_0x17ba4c[_0x107552(0x3d7)][_0x2f1d57],_0x7fd2fc=[..._0x4b16d6[_0x107552(0x3c2)](_0x2f1d57,_0x54f6fc),_0x107552(0x340)],_0x215f73=Object[_0x107552(0x404)](_0x22ce12[_0x107552(0x38a)])[_0x107552(0x2c4)](_0x1a70d1=>_0x1a70d1['id']===_0x54f6fc?{..._0x1a70d1,'orderKey':_0x3fc619}:_0x1a70d1)[_0x107552(0x24e)]((_0x5a6e5f,_0x867bfa)=>String(_0x5a6e5f[_0x107552(0x340)]??_0x5a6e5f['id'])[_0x107552(0x1f9)](String(_0x867bfa['orderKey']??_0x867bfa['id'])))[_0x107552(0x2c4)](_0x446b79=>_0x446b79['id']),_0x5350cc=[..._0x4b16d6[_0x107552(0x4b0)](_0x2f1d57),_0x107552(0x5ab)];return _0x5dc19d([this[_0x107552(0x201)](_0x7fd2fc,_0x22ce12[_0x107552(0x38a)][_0x54f6fc][_0x107552(0x340)],_0x3fc619),_0x22ce12[_0x107552(0x5ab)]?_0xcf3cf2[_0x107552(0x597)]['replaceOp'](_0x5350cc,_0x22ce12[_0x107552(0x5ab)],_0x215f73):_0xcf3cf2['JSON1']['insertOp'](_0x5350cc,_0x215f73)]);}[_0x2b8d6a(0x5df)](_0x55177d,_0x411a81,_0x597e42,_0x5d4380,_0x44cb6c){const _0xd35fc=_0x2b8d6a;var _0x571e12,_0x3a2e76;let _0x3df40a=_0x55177d[_0xd35fc(0x3d7)][_0x411a81],_0x12a9cb=_0x3b56e8(_0x3df40a,_0x597e42,_0x5d4380)?_0x3df40a:_0x5d33ae(_0x3df40a),_0x232114=(_0x571e12=_0x12a9cb[_0xd35fc(0x29a)])==null?void 0x0:_0x571e12[_0x597e42],_0x32723b=(_0x3a2e76=_0x12a9cb['colIndex'])==null?void 0x0:_0x3a2e76[_0x5d4380];if(_0x232114==null||_0x32723b==null){var _0x3cf0df;return this[_0xd35fc(0x201)](_0x4b16d6[_0xd35fc(0x4c1)](_0x411a81,_0x597e42,_0x5d4380),(_0x3cf0df=_0x55177d[_0xd35fc(0x3d7)][_0x411a81])==null||(_0x3cf0df=_0x3cf0df[_0xd35fc(0x38a)][_0x597e42])==null?void 0x0:_0x3cf0df['values'][_0x5d4380],_0x44cb6c);}return this[_0xd35fc(0x57c)](_0x55177d,_0x411a81,[{'row':_0x232114,'col':_0x32723b,'value':_0x44cb6c}]);}[_0x2b8d6a(0x536)](_0x47ef6b,_0x21691a,_0x15d694){const _0x4940aa=_0x2b8d6a;let _0x753803=_0x47ef6b[_0x4940aa(0x3d7)][_0x21691a],_0xc592cc=_0x15d694['every'](_0x2a278b=>Object['keys'](_0x2a278b[_0x4940aa(0x404)])[_0x4940aa(0x320)](_0x4be12e=>_0x3b56e8(_0x753803,_0x2a278b[_0x4940aa(0x57e)],_0x4be12e)))?_0x753803:_0x5d33ae(_0x753803),_0x40c1c5=_0x15d694[_0x4940aa(0x5d0)](_0x226ed6=>Object[_0x4940aa(0x271)](_0x226ed6['values'])[_0x4940aa(0x5d0)](([_0x3ae535,_0x8bba9d])=>{const _0x3a5d13=_0x4940aa;var _0x321215,_0x2f6aa1;let _0x1176fc=(_0x321215=_0xc592cc[_0x3a5d13(0x29a)])==null?void 0x0:_0x321215[_0x226ed6[_0x3a5d13(0x57e)]],_0x3e3658=(_0x2f6aa1=_0xc592cc['colIndex'])==null?void 0x0:_0x2f6aa1[_0x3ae535];return _0x1176fc==null||_0x3e3658==null?[]:[{'row':_0x1176fc,'col':_0x3e3658,'value':_0x8bba9d}];})),_0x29d7e0=_0x15d694[_0x4940aa(0x5d0)](_0x21fa68=>Object[_0x4940aa(0x271)](_0x21fa68[_0x4940aa(0x5a7)]??{})['map'](([_0x2817be,_0x40b98b])=>{const _0x12a672=_0x4940aa;var _0x4b561d;let _0x24fc6d=[..._0x4b16d6[_0x12a672(0x3c2)](_0x21691a,_0x21fa68['recordId']),_0x2817be],_0x13e110=(_0x4b561d=_0x47ef6b[_0x12a672(0x3d7)][_0x21691a])==null||(_0x4b561d=_0x4b561d[_0x12a672(0x38a)][_0x21fa68[_0x12a672(0x57e)]])==null?void 0x0:_0x4b561d[_0x2817be];return this[_0x12a672(0x201)](_0x24fc6d,_0x13e110,_0x40b98b);}));return _0x5dc19d([this[_0x4940aa(0x57c)](_0x47ef6b,_0x21691a,_0x40c1c5),..._0x29d7e0]);}[_0x2b8d6a(0x57c)](_0x37fb01,_0x18ed64,_0xefca66){const _0x189feb=_0x2b8d6a;let _0x4918ae=_0x37fb01[_0x189feb(0x3d7)][_0x18ed64],_0x56e492=_0xefca66[_0x189feb(0x320)](_0x95b4d9=>_0x46c8b0(_0x4918ae,_0x95b4d9[_0x189feb(0x53e)],_0x95b4d9[_0x189feb(0x1cb)]))?_0x4918ae:_0x5d33ae(_0x4918ae),_0x5d5359=new Map(),_0x55e4c4=_0xefca66[_0x189feb(0x5d0)](_0x20e45a=>{const _0x355a45=_0x189feb;var _0x2925c9,_0x1310b3,_0x23c326,_0x41254e;let _0x9ec7d0=(_0x2925c9=_0x56e492[_0x355a45(0x4df)])==null?void 0x0:_0x2925c9[_0x20e45a[_0x355a45(0x1cb)]],_0x22291c=(_0x1310b3=_0x56e492[_0x355a45(0x369)])==null?void 0x0:_0x1310b3[_0x20e45a[_0x355a45(0x53e)]],_0x3016a7=_0x9ec7d0?_0x56e492[_0x355a45(0x3b5)][_0x9ec7d0]:void 0x0;if(_0x9ec7d0===_0xcf3cf2[_0x355a45(0x509)]||(_0x3016a7==null?void 0x0:_0x3016a7[_0x355a45(0x1cc)])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x46d)])throw Error(_0x355a45(0x3ff));let _0x1e3245=_0x1e0593(_0x20e45a[_0x355a45(0x348)],_0x3016a7),_0x204555=(_0x23c326=_0x56e492[_0x355a45(0x2a3)])==null||(_0x23c326=_0x23c326[_0x20e45a[_0x355a45(0x53e)]])==null?void 0x0:_0x23c326[_0x20e45a[_0x355a45(0x1cb)]],_0x11d535=this[_0x355a45(0x201)](_0x4b16d6['cellData'](_0x18ed64,_0x20e45a[_0x355a45(0x53e)],_0x20e45a['col']),_0x204555,_0x1e3245);if(!_0x9ec7d0||!_0x22291c)return[_0x11d535];let _0x430fef=(_0x41254e=_0x56e492[_0x355a45(0x38a)][_0x22291c])==null?void 0x0:_0x41254e[_0x355a45(0x404)][_0x9ec7d0],_0xab0304=(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x448)]?_0x22fa67(_0x20e45a['value']):_0x566985(_0x20e45a['value'],_0x1e3245,_0x3016a7,_0x56e492,_0x22291c),_0x2553cf=[_0x11d535,this[_0x355a45(0x201)](_0x4b16d6['cell'](_0x18ed64,_0x22291c,_0x9ec7d0),_0x430fef,_0xab0304)];return(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2['BaseFieldType']['Attachment']&&_0x5d5359[_0x355a45(0x22b)](_0x1d1617(_0x9ec7d0,_0x22291c),{'recordId':_0x22291c,'fieldId':_0x9ec7d0,'attachments':_0xab0304}),_0x2553cf;});return _0x55e4c4[_0x189feb(0x3d4)]?_0x5dc19d([..._0x55e4c4,...this['_setAttachmentResources'](_0x56e492,_0x18ed64,Array[_0x189feb(0x1ea)](_0x5d5359[_0x189feb(0x404)]()))]):_0xcf3cf2[_0x189feb(0x597)][_0x189feb(0x5f9)]([_0x189feb(0x3d7),_0x18ed64,_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)]);}[_0x2b8d6a(0x3ed)](_0x90969b,_0x34a0bd,_0x459e55){const _0x3a994c=_0x2b8d6a;let _0x4bf4f6=_0x90969b[_0x3a994c(0x3d7)][_0x34a0bd];if(_0x4bf4f6[_0x3a994c(0x3b5)][_0x459e55[_0x3a994c(0x48c)]['id']]||_0x4bf4f6[_0x3a994c(0x4ab)][_0x3a994c(0x299)](_0x459e55['field']['id']))return _0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x5f9)](['tables',_0x34a0bd,'fieldOrder'],_0x4bf4f6[_0x3a994c(0x4ab)],_0x4bf4f6[_0x3a994c(0x4ab)]);let _0x2c6d8c=Math[_0x3a994c(0x591)](0x1,_0x459e55[_0x3a994c(0x295)]??_0x4bf4f6['fieldOrder'][_0x3a994c(0x3d4)]),_0x5b6b78=Object['values'](_0x4bf4f6[_0x3a994c(0x2e4)]??{})['flatMap'](_0x264a20=>{const _0x170288=_0x3a994c;var _0x44a0aa;if(!_0x264a20[_0x170288(0x4ab)]||_0x264a20[_0x170288(0x4ab)][_0x170288(0x299)](_0x459e55[_0x170288(0x48c)]['id']))return[];let _0x2edb00=_0x54640f(((_0x44a0aa=_0x459e55['viewIndexes'])==null?void 0x0:_0x44a0aa[_0x264a20['id']])??_0x2c6d8c,_0x264a20[_0x170288(0x4ab)][_0x170288(0x3d4)]);return[_0xcf3cf2[_0x170288(0x597)][_0x170288(0x3f0)]([..._0x4b16d6['view'](_0x34a0bd,_0x264a20['id']),_0x170288(0x4ab),_0x2edb00],_0x459e55['field']['id'])];});return _0x5dc19d([..._0x459e55[_0x3a994c(0x48c)]['type']===_0xcf3cf2[_0x3a994c(0x435)]['Formula']?this[_0x3a994c(0x33d)](_0x90969b):[],_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6['field'](_0x34a0bd,_0x459e55['field']['id']),_0x459e55[_0x3a994c(0x48c)]),_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6[_0x3a994c(0x4ab)](_0x34a0bd,_0x2c6d8c),_0x459e55[_0x3a994c(0x48c)]['id']),..._0x5b6b78]);}[_0x2b8d6a(0x2b8)](_0x21cc23,_0x30bb7d,_0x2c899f,_0x14a2c4){const _0x268083=_0x2b8d6a;let _0x1c9b7e=_0x21cc23[_0x268083(0x3d7)][_0x30bb7d];if(!_0x1c9b7e[_0x268083(0x3b5)][_0x2c899f]||_0x1c9b7e[_0x268083(0x3b5)][_0x14a2c4[_0x268083(0x48c)]['id']]||_0x1c9b7e['fieldOrder'][_0x268083(0x299)](_0x14a2c4['field']['id']))return _0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)]);let _0x5ea4ad=_0x14a2c4[_0x268083(0x295)]??_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x267)](_0x2c899f)+0x1,_0x1aee2a=_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x355)](_0x1e456c=>_0x1e456c!==_0x14a2c4['field']['id']),_0x1161a5=_0x395bbb(_0x1aee2a,_0x14a2c4['field']['id'],_0x5ea4ad),_0x34a4fa=Object['values'](_0x1c9b7e[_0x268083(0x2e4)]??{})[_0x268083(0x5d0)](_0x2dd127=>{const _0x4626ce=_0x268083;var _0x173dcc,_0x2e910c,_0x3c27be,_0x50bc67;let _0x116170=(_0x173dcc=_0x2dd127[_0x4626ce(0x4ab)])!=null&&_0x173dcc[_0x4626ce(0x3d4)]?_0x2dd127['fieldOrder']:_0x1aee2a;if(_0x116170[_0x4626ce(0x299)](_0x14a2c4[_0x4626ce(0x48c)]['id']))return[];let _0xd489fc=_0x395bbb(_0x116170,_0x14a2c4[_0x4626ce(0x48c)]['id'],((_0x2e910c=_0x14a2c4['viewIndexes'])==null?void 0x0:_0x2e910c[_0x2dd127['id']])??_0x5ea4ad),_0x3a77b1=(_0x3c27be=_0x2dd127['fieldSettings'])==null?void 0x0:_0x3c27be[_0x2c899f];return[this['_replaceOptional']([..._0x4b16d6[_0x4626ce(0x2e6)](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x4ab)],_0x2dd127[_0x4626ce(0x4ab)],_0xd489fc),..._0x3a77b1?[this['_replaceOptional']([..._0x4b16d6['view'](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x239),_0x14a2c4[_0x4626ce(0x48c)]['id']],(_0x50bc67=_0x2dd127[_0x4626ce(0x239)])==null?void 0x0:_0x50bc67[_0x14a2c4[_0x4626ce(0x48c)]['id']],_0x3a77b1)]:[]];}),_0xfd5775=Object[_0x268083(0x404)](_0x1c9b7e['records'])['filter'](_0x112318=>Object[_0x268083(0x3b1)][_0x268083(0x1ec)][_0x268083(0x29f)](_0x112318['values'],_0x2c899f))['map'](_0x362645=>this[_0x268083(0x201)](_0x4b16d6[_0x268083(0x4c1)](_0x30bb7d,_0x362645['id'],_0x14a2c4[_0x268083(0x48c)]['id']),_0x362645[_0x268083(0x404)][_0x14a2c4[_0x268083(0x48c)]['id']],_0x362645['values'][_0x2c899f]));return _0x5dc19d([..._0x14a2c4[_0x268083(0x48c)][_0x268083(0x1cc)]===_0xcf3cf2[_0x268083(0x435)][_0x268083(0x25e)]?this['_materializeFormulaTableNames'](_0x21cc23):[],_0xcf3cf2[_0x268083(0x597)][_0x268083(0x3f0)](_0x4b16d6[_0x268083(0x48c)](_0x30bb7d,_0x14a2c4[_0x268083(0x48c)]['id']),_0x14a2c4[_0x268083(0x48c)]),_0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1161a5),..._0x34a4fa,..._0xfd5775]);}[_0x2b8d6a(0x56b)](_0x4d43f3,_0x908336,_0x13b27c,_0xb92f1d){const _0xacaa0e=_0x2b8d6a;let _0x33dc42=_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336]['fields'][_0x13b27c],_0x13c47b={..._0x33dc42,..._0xb92f1d};Object[_0xacaa0e(0x582)](_0xb92f1d)[_0xacaa0e(0x458)](_0x518f24=>{_0xb92f1d[_0x518f24]===void 0x0&&delete _0x13c47b[_0x518f24];});let _0x31bd81=_0x5744dd(_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336],_0x13b27c,_0x33dc42,_0x13c47b);_0x13c47b=_0x31bd81[_0xacaa0e(0x48c)];let _0x2cd418=_0xcf3cf2[_0xacaa0e(0x597)][_0xacaa0e(0x5f9)](_0x4b16d6[_0xacaa0e(0x48c)](_0x908336,_0x13b27c),_0x33dc42,_0x13c47b);return _0x13c47b[_0xacaa0e(0x1cc)]===_0xcf3cf2[_0xacaa0e(0x435)]['Formula']?_0x5dc19d([...this[_0xacaa0e(0x33d)](_0x4d43f3),_0x2cd418,...this[_0xacaa0e(0x47e)](_0x4d43f3,_0x908336,_0x13b27c,_0x13c47b)]):_0x5dc19d([_0x2cd418,..._0x31bd81[_0xacaa0e(0x39b)]['length']?[this['setRangeValues'](_0x4d43f3,_0x908336,_0x31bd81[_0xacaa0e(0x39b)])]:[]]);}[_0x2b8d6a(0x319)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713){const _0x1f494f=_0x2b8d6a;return this[_0x1f494f(0x56b)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713);}[_0x2b8d6a(0x32b)](_0x4c5ef4,_0x55adad,_0x2346a1){const _0x407b7e=_0x2b8d6a;let _0x594ea8=_0x4c5ef4[_0x407b7e(0x3d7)][_0x55adad];if(!(_0x594ea8!=null&&_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1])||_0x594ea8[_0x407b7e(0x4b4)]===_0x2346a1||_0x2346a1===_0xcf3cf2[_0x407b7e(0x509)])return _0xcf3cf2[_0x407b7e(0x597)]['replaceOp']([_0x407b7e(0x3d7),_0x55adad,_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)]);let _0x3bdcc1=_0x594ea8[_0x407b7e(0x4ab)]['indexOf'](_0x2346a1),_0x1a8710=Object['values'](_0x594ea8[_0x407b7e(0x2e4)])[_0x407b7e(0x5d0)](_0x3cbf8d=>{const _0x2f3650=_0x407b7e;var _0x2b3156,_0x4f7538,_0x1a1f1b,_0x5d75eb,_0x5ad8db,_0x2fdd94,_0x2ee593;let _0x1103a1=[],_0x2d4051=((_0x2b3156=_0x3cbf8d[_0x2f3650(0x4ab)])==null?void 0x0:_0x2b3156['indexOf'](_0x2346a1))??-0x1;_0x2d4051>=0x0&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x4ab),_0x2d4051],_0x2346a1));let _0x19b2b8=(_0x4f7538=_0x3cbf8d['fieldSettings'])==null?void 0x0:_0x4f7538[_0x2346a1];_0x19b2b8!==void 0x0&&_0x1103a1['push'](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'fieldSettings',_0x2346a1],_0x19b2b8));let _0x39266c=_0x3cbf8d['filter']?{..._0x3cbf8d[_0x2f3650(0x355)],'conditions':_0x3cbf8d[_0x2f3650(0x355)][_0x2f3650(0x4ef)]['filter'](_0x5adf70=>_0x5adf70[_0x2f3650(0x580)]!==_0x2346a1)}:_0x3cbf8d[_0x2f3650(0x355)];_0x39266c&&_0x39266c[_0x2f3650(0x4ef)]['length']!==((_0x1a1f1b=_0x3cbf8d[_0x2f3650(0x355)])==null?void 0x0:_0x1a1f1b[_0x2f3650(0x4ef)][_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x355)],_0x3cbf8d[_0x2f3650(0x355)],_0x39266c));let _0x76138f=(_0x5d75eb=_0x3cbf8d[_0x2f3650(0x24e)])==null?void 0x0:_0x5d75eb[_0x2f3650(0x355)](_0x508403=>_0x508403[_0x2f3650(0x580)]!==_0x2346a1);_0x76138f&&_0x76138f[_0x2f3650(0x3d4)]!==((_0x5ad8db=_0x3cbf8d['sort'])==null?void 0x0:_0x5ad8db[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x24e)],_0x3cbf8d[_0x2f3650(0x24e)],_0x76138f));let _0x2e0388=(_0x2fdd94=_0x3cbf8d['group'])==null?void 0x0:_0x2fdd94[_0x2f3650(0x355)](_0x2f6142=>_0x2f6142[_0x2f3650(0x580)]!==_0x2346a1);_0x2e0388&&_0x2e0388[_0x2f3650(0x3d4)]!==((_0x2ee593=_0x3cbf8d['group'])==null?void 0x0:_0x2ee593[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this[_0x2f3650(0x201)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x484)],_0x3cbf8d[_0x2f3650(0x484)],_0x2e0388));let _0x1a9c87=_0x2a7a83(_0x3cbf8d[_0x2f3650(0x5a3)],_0x2346a1);return JSON[_0x2f3650(0x322)](_0x1a9c87)!==JSON[_0x2f3650(0x322)](_0x3cbf8d[_0x2f3650(0x5a3)])&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x5f9)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'config'],_0x3cbf8d[_0x2f3650(0x5a3)],_0x1a9c87)),_0x1103a1;}),_0x3b033d=Object[_0x407b7e(0x404)](_0x594ea8['records'])['flatMap'](_0x3d2c8a=>Object[_0x407b7e(0x3b1)][_0x407b7e(0x1ec)][_0x407b7e(0x29f)](_0x3d2c8a[_0x407b7e(0x404)],_0x2346a1)?[_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4c1)](_0x55adad,_0x3d2c8a['id'],_0x2346a1),_0x3d2c8a[_0x407b7e(0x404)][_0x2346a1])]:[]);return _0x5dc19d([_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x48c)](_0x55adad,_0x2346a1),_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1]),_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4ab)](_0x55adad,_0x3bdcc1),_0x2346a1),..._0x1a8710,..._0x3b033d,...this[_0x407b7e(0x2dc)](_0x594ea8,_0x55adad,_0x51a04c=>_0x51a04c[_0x407b7e(0x26d)](_0x2346a1+'\x1f'))]);}[_0x2b8d6a(0x21b)](_0x4195e4,_0x61ec97,_0x4e07dc,_0x1ce68c){const _0x53a1f8=_0x2b8d6a;let _0x4915fd=_0x4195e4[_0x53a1f8(0x3d7)][_0x61ec97]['fieldOrder'];if(_0x4e07dc===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x1ce68c[_0x53a1f8(0x24d)]===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x1b83b2=_0xa9284c(_0x4915fd,_0x4e07dc,_0x1ce68c);return _0xcf3cf2[_0x53a1f8(0x597)][_0x53a1f8(0x5f9)]([_0x53a1f8(0x3d7),_0x61ec97,_0x53a1f8(0x4ab)],_0x4915fd,_0x1b83b2);}[_0x2b8d6a(0x490)](_0x14ff8c,_0x43acff,_0x11f09e,_0x4ba55f=_0x14ff8c['tables'][_0x43acff]['viewOrder'][_0x2b8d6a(0x3d4)]){const _0x5b0e28=_0x2b8d6a;return _0x5dc19d([_0xcf3cf2[_0x5b0e28(0x597)][_0x5b0e28(0x3f0)](_0x4b16d6[_0x5b0e28(0x2e6)](_0x43acff,_0x11f09e['id']),_0x11f09e),_0xcf3cf2['JSON1'][_0x5b0e28(0x3f0)]([_0x5b0e28(0x3d7),_0x43acff,_0x5b0e28(0x49a),_0x4ba55f],_0x11f09e['id'])]);}[_0x2b8d6a(0x2d2)](_0x3e9ebf,_0x1d9dae,_0x465b74,_0xd91b12){const _0x2fde13=_0x2b8d6a;return _0xcf3cf2[_0x2fde13(0x597)]['replaceOp']([..._0x4b16d6[_0x2fde13(0x2e6)](_0x1d9dae,_0x465b74),'name'],_0x3e9ebf['tables'][_0x1d9dae]['views'][_0x465b74]['name'],_0xd91b12);}['deleteView'](_0x1f4228,_0x343443,_0xb5029c){const _0x400266=_0x2b8d6a;let _0x2e2e87=_0x1f4228[_0x400266(0x3d7)][_0x343443],_0x3fa585=_0x2e2e87[_0x400266(0x2e4)][_0xb5029c],_0x2c9d7e=_0x2e2e87[_0x400266(0x49a)][_0x400266(0x267)](_0xb5029c);return _0x5dc19d([_0xcf3cf2['JSON1'][_0x400266(0x594)](_0x4b16d6['view'](_0x343443,_0xb5029c),_0x3fa585),_0xcf3cf2[_0x400266(0x597)][_0x400266(0x594)]([_0x400266(0x3d7),_0x343443,_0x400266(0x49a),_0x2c9d7e],_0xb5029c)]);}[_0x2b8d6a(0x495)](_0x1a757a,_0x2ac6f0,_0x3f8468,_0x49bd92){const _0xe1ae73=_0x2b8d6a;let _0x2e3d7a=_0x1a757a[_0xe1ae73(0x3d7)][_0x2ac6f0][_0xe1ae73(0x49a)],_0x224edc=_0xa9284c(_0x2e3d7a,_0x3f8468,{'beforeFieldId':_0x49bd92['beforeViewId'],'afterFieldId':_0x49bd92[_0xe1ae73(0x3d9)]});return _0xcf3cf2[_0xe1ae73(0x597)]['replaceOp']([_0xe1ae73(0x3d7),_0x2ac6f0,_0xe1ae73(0x49a)],_0x2e3d7a,_0x224edc);}[_0x2b8d6a(0x4aa)](_0x44e334,_0x199a7e,_0x539f66,_0xfd7cb2){const _0xad7a6e=_0x2b8d6a;let _0x256114=_0x44e334['tables'][_0x199a7e][_0xad7a6e(0x2e4)][_0x539f66][_0xad7a6e(0x5a3)]??{},_0x42ffde={..._0x256114,..._0xfd7cb2};return Object[_0xad7a6e(0x582)](_0xfd7cb2)[_0xad7a6e(0x458)](_0x33f703=>{_0xfd7cb2[_0x33f703]===void 0x0&&delete _0x42ffde[_0x33f703];}),_0xcf3cf2['JSON1'][_0xad7a6e(0x5f9)]([..._0x4b16d6['view'](_0x199a7e,_0x539f66),_0xad7a6e(0x5a3)],_0x256114,_0x42ffde);}['setViewFilter'](_0x4d0856,_0x534632,_0x1e41c8,_0x2acac5){const _0x6b991d=_0x2b8d6a;return this[_0x6b991d(0x201)]([..._0x4b16d6[_0x6b991d(0x2e6)](_0x534632,_0x1e41c8),_0x6b991d(0x355)],_0x4d0856[_0x6b991d(0x3d7)][_0x534632][_0x6b991d(0x2e4)][_0x1e41c8][_0x6b991d(0x355)],_0x2acac5);}['setViewSort'](_0x37548d,_0x3ed446,_0x4fd0ae,_0x417947){const _0x279517=_0x2b8d6a;return this[_0x279517(0x201)]([..._0x4b16d6['view'](_0x3ed446,_0x4fd0ae),_0x279517(0x24e)],_0x37548d[_0x279517(0x3d7)][_0x3ed446]['views'][_0x4fd0ae]['sort'],_0x417947);}[_0x2b8d6a(0x273)](_0x3784c4,_0x298d73,_0xd3acca,_0x1f600c){const _0x1cf90b=_0x2b8d6a;return this[_0x1cf90b(0x201)]([..._0x4b16d6['view'](_0x298d73,_0xd3acca),'group'],_0x3784c4['tables'][_0x298d73][_0x1cf90b(0x2e4)][_0xd3acca][_0x1cf90b(0x484)],_0x1f600c);}['setViewFieldVisible'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,_0x33261b){return this['_setViewFieldSetting'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,{'hidden':!_0x33261b});}[_0x2b8d6a(0x50b)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,_0xb4950){const _0x13ecac=_0x2b8d6a;return this[_0x13ecac(0x5ea)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,{'width':_0xb4950});}['setViewFieldOrder'](_0xc74f56,_0x115a11,_0x4097f4,_0x1424ec,_0x3f3364){const _0x3947d5=_0x2b8d6a;let _0x1642e2=_0xc74f56[_0x3947d5(0x3d7)][_0x115a11][_0x3947d5(0x2e4)][_0x4097f4],_0x26e75b=_0xa9284c(_0x1642e2[_0x3947d5(0x4ab)]??_0xc74f56[_0x3947d5(0x3d7)][_0x115a11]['fieldOrder'],_0x1424ec,_0x3f3364);return this['_replaceOptional']([..._0x4b16d6['view'](_0x115a11,_0x4097f4),_0x3947d5(0x4ab)],_0x1642e2[_0x3947d5(0x4ab)],_0x26e75b);}[_0x2b8d6a(0x5ea)](_0x291070,_0x469df6,_0x12b4ce,_0x552151,_0x4485a){const _0x46d830=_0x2b8d6a;let _0x2ca5ce=_0x291070[_0x46d830(0x3d7)][_0x469df6][_0x46d830(0x2e4)][_0x12b4ce]['fieldSettings']??{},_0x41b27c={..._0x2ca5ce,[_0x552151]:{..._0x2ca5ce[_0x552151],..._0x4485a}};return this[_0x46d830(0x201)]([..._0x4b16d6[_0x46d830(0x2e6)](_0x469df6,_0x12b4ce),_0x46d830(0x239)],_0x291070[_0x46d830(0x3d7)][_0x469df6]['views'][_0x12b4ce][_0x46d830(0x239)],_0x41b27c);}[_0x2b8d6a(0x52a)](_0x42bcbe,_0x278880,_0x344b37){const _0x37b6e8=_0x2b8d6a;let _0x65f2a2=_0x42bcbe[_0x37b6e8(0x3d7)][_0x278880],_0x5ea579=new Set(_0x344b37['map'](_0x538027=>_0x538027['id'])),_0x65cdf0=[...Object[_0x37b6e8(0x404)](_0x65f2a2[_0x37b6e8(0x38a)])['filter'](_0x906374=>!_0x5ea579[_0x37b6e8(0x244)](_0x906374['id'])),..._0x344b37][_0x37b6e8(0x24e)]((_0x126df9,_0x33f305)=>String(_0x126df9[_0x37b6e8(0x340)]??_0x126df9['id'])[_0x37b6e8(0x1f9)](String(_0x33f305[_0x37b6e8(0x340)]??_0x33f305['id'])))['map'](_0x5b6d59=>_0x5b6d59['id']),_0x462fe0=[..._0x4b16d6[_0x37b6e8(0x4b0)](_0x278880),_0x37b6e8(0x5ab)];return _0x65f2a2[_0x37b6e8(0x5ab)]?_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x5f9)](_0x462fe0,_0x65f2a2[_0x37b6e8(0x5ab)],_0x65cdf0):_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x3f0)](_0x462fe0,_0x65cdf0);}[_0x2b8d6a(0x33d)](_0x4de386,_0x276ae4=new Set()){const _0x2b9cf2=_0x2b8d6a;let _0x5d3243=(0x0,_0xcf3cf2[_0x2b9cf2(0x314)])(_0x4de386);return Object[_0x2b9cf2(0x404)](_0x4de386[_0x2b9cf2(0x3d7)])[_0x2b9cf2(0x355)](_0xe8178d=>!_0x276ae4['has'](_0xe8178d['id']))[_0x2b9cf2(0x24e)]((_0x4c5137,_0x4db764)=>_0x4c5137['id']['localeCompare'](_0x4db764['id']))[_0x2b9cf2(0x5d0)](_0x45989f=>{const _0x214a59=_0x2b9cf2;let _0x11107c=_0x5d3243[_0x214a59(0x4f0)](_0x45989f['id']);return!_0x11107c||_0x45989f['formulaName']===_0x11107c?[]:[this[_0x214a59(0x201)]([..._0x4b16d6[_0x214a59(0x4b0)](_0x45989f['id']),_0x214a59(0x298)],_0x45989f[_0x214a59(0x298)],_0x11107c)];});}['_setFormulaFieldCells'](_0x17024e,_0x4610d7,_0x58d454,_0xead4a3){const _0x227a21=_0x2b8d6a;var _0x36c6a9,_0x418cbb;let _0x16713d=_0x5d33ae(_0x17024e[_0x227a21(0x3d7)][_0x4610d7]),_0x18b9d6=String(((_0x36c6a9=_0xead4a3[_0x227a21(0x5a3)])==null?void 0x0:_0x36c6a9[_0x227a21(0x4fe)])??'')['trim'](),_0x324e9d=(_0x418cbb=_0x16713d[_0x227a21(0x1f5)])==null?void 0x0:_0x418cbb[_0x58d454];if(_0x324e9d==null)return[];let _0x5011d9=_0x16713d['recordOrder']??Object[_0x227a21(0x582)](_0x16713d[_0x227a21(0x38a)]),_0x2a80aa=_0x5011d9[_0x227a21(0x2c4)](_0x398e81=>{const _0x22dddd=_0x227a21;var _0x1affb8;return(_0x1affb8=_0x16713d[_0x22dddd(0x29a)])==null?void 0x0:_0x1affb8[_0x398e81];})[_0x227a21(0x22c)](_0x4f6610=>_0x4f6610!=null);return _0x5011d9[_0x227a21(0x5d0)](_0x42e1f4=>{const _0x22e3f6=_0x227a21;var _0x33a9cc,_0x2a503d;let _0x5772a1=(_0x33a9cc=_0x16713d[_0x22e3f6(0x29a)])==null?void 0x0:_0x33a9cc[_0x42e1f4];if(_0x5772a1==null)return[];let _0x26a485=(_0x2a503d=_0x16713d['cellData'])==null||(_0x2a503d=_0x2a503d[_0x5772a1])==null?void 0x0:_0x2a503d[_0x324e9d],_0x1d9f93=_0x18b9d6?_0x5772a1===_0x2a80aa?{'f':_0x18b9d6,'si':_0x58d454}:{'si':_0x58d454}:{'v':null,'t':null};return[this[_0x22e3f6(0x201)](_0x4b16d6[_0x22e3f6(0x2a3)](_0x4610d7,_0x5772a1,_0x324e9d),_0x26a485,_0x1d9f93)];});}[_0x2b8d6a(0x285)](_0x39dd7c,_0xc479f,_0x1fa799){const _0x1743c3=_0x2b8d6a;var _0x383bdc;let _0x125de4=new Map(Object[_0x1743c3(0x271)](((_0x383bdc=_0x39dd7c['resources'])==null?void 0x0:_0x383bdc[_0x1743c3(0x52b)])??{})),_0x11cc93=new Map(),_0x1edb02=new Set(),_0x47b8a3=_0x1fa799[_0x1743c3(0x2c4)](({recordId:_0xf79c06,fieldId:_0x4f3d9e,attachments:_0x42ba61})=>{const _0x2c0cff=_0x1743c3;var _0x12abc6;let _0x52de50=_0x1d1617(_0x4f3d9e,_0xf79c06),_0x3bf1e3=_0x42ba61[_0x2c0cff(0x2c4)]((_0x2dd41c,_0x836260)=>String(_0x2dd41c['id']??_0x52de50+'\x1f'+_0x836260));return _0x1edb02[_0x2c0cff(0x1d6)](_0x52de50),_0x125de4[_0x2c0cff(0x22b)](_0x52de50,_0x3bf1e3),_0x42ba61['forEach']((_0x49698a,_0x3efa7f)=>{const _0x445430=_0x2c0cff;let _0x4a6565=_0x3bf1e3[_0x3efa7f];_0x11cc93[_0x445430(0x22b)](_0x4a6565,{..._0x49698a,'id':_0x4a6565});}),this[_0x2c0cff(0x201)](_0x4b16d6['attachmentSet'](_0xc479f,_0x52de50),(_0x12abc6=_0x39dd7c['resources'])==null||(_0x12abc6=_0x12abc6[_0x2c0cff(0x52b)])==null?void 0x0:_0x12abc6[_0x52de50],_0x3bf1e3);}),_0x4a54de=Array[_0x1743c3(0x1ea)](_0x11cc93)['map'](([_0x463117,_0x5d86ae])=>{const _0x5c9826=_0x1743c3;var _0x255569;return this['_replaceOptional'](_0x4b16d6['attachment'](_0xc479f,_0x463117),(_0x255569=_0x39dd7c[_0x5c9826(0x482)])==null||(_0x255569=_0x255569[_0x5c9826(0x1e9)])==null?void 0x0:_0x255569[_0x463117],_0x5d86ae);}),_0x4ac1af=new Set(Array[_0x1743c3(0x1ea)](_0x125de4['values']())[_0x1743c3(0x5f1)]()),_0x4659de=new Set(Array['from'](_0x1edb02)[_0x1743c3(0x5d0)](_0x467177=>{const _0x28ebf9=_0x1743c3;var _0x5d993a;return((_0x5d993a=_0x39dd7c[_0x28ebf9(0x482)])==null||(_0x5d993a=_0x5d993a[_0x28ebf9(0x52b)])==null?void 0x0:_0x5d993a[_0x467177])??[];})),_0x51a3dc=Array[_0x1743c3(0x1ea)](_0x4659de)[_0x1743c3(0x5d0)](_0x311e98=>{const _0x2081a9=_0x1743c3;var _0xed7d06;let _0x5ef03d=(_0xed7d06=_0x39dd7c[_0x2081a9(0x482)])==null||(_0xed7d06=_0xed7d06[_0x2081a9(0x1e9)])==null?void 0x0:_0xed7d06[_0x311e98];return _0x5ef03d!==void 0x0&&!_0x4ac1af[_0x2081a9(0x244)](_0x311e98)?[_0xcf3cf2[_0x2081a9(0x597)][_0x2081a9(0x594)](_0x4b16d6[_0x2081a9(0x2f6)](_0xc479f,_0x311e98),_0x5ef03d)]:[];});return[..._0x47b8a3,..._0x4a54de,..._0x51a3dc];}['_deleteAttachmentResources'](_0x37ec77,_0x1bb10f,_0x46a476){const _0x3e1ce1=_0x2b8d6a;var _0x10465d;let _0x3a793e=((_0x10465d=_0x37ec77[_0x3e1ce1(0x482)])==null?void 0x0:_0x10465d[_0x3e1ce1(0x52b)])??{},_0x5f1706=Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x17bc53])=>_0x46a476(_0x17bc53));if(!_0x5f1706[_0x3e1ce1(0x3d4)])return[];let _0x58c2e4=new Set(Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x1901bc])=>!_0x46a476(_0x1901bc))['flatMap'](([,_0x397aca])=>_0x397aca)),_0x5741b5=new Set(_0x5f1706[_0x3e1ce1(0x5d0)](([,_0x188354])=>_0x188354));return[..._0x5f1706[_0x3e1ce1(0x2c4)](([_0x3563b3,_0x124e1f])=>_0xcf3cf2['JSON1']['removeOp'](_0x4b16d6[_0x3e1ce1(0x23f)](_0x1bb10f,_0x3563b3),_0x124e1f)),...Array[_0x3e1ce1(0x1ea)](_0x5741b5)[_0x3e1ce1(0x5d0)](_0x43920c=>{const _0x26d442=_0x3e1ce1;var _0x4e885d;let _0x4ad6fc=(_0x4e885d=_0x37ec77[_0x26d442(0x482)])==null||(_0x4e885d=_0x4e885d['attachments'])==null?void 0x0:_0x4e885d[_0x43920c];return _0x4ad6fc!==void 0x0&&!_0x58c2e4[_0x26d442(0x244)](_0x43920c)?[_0xcf3cf2['JSON1'][_0x26d442(0x594)](_0x4b16d6['attachment'](_0x1bb10f,_0x43920c),_0x4ad6fc)]:[];})];}[_0x2b8d6a(0x201)](_0x193ca7,_0x582547,_0x5460a6){const _0x1a107d=_0x2b8d6a;return _0x582547===void 0x0?_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x3f0)](_0x193ca7,_0x5460a6):_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x5f9)](_0x193ca7,_0x582547,_0x5460a6);}};function _0x5744dd(_0x1e0837,_0x120913,_0x4c6822,_0x339208){const _0x284e9e=_0x2b8d6a;var _0x4881e7;let _0x2c35aa=_0x339208[_0x284e9e(0x1cc)];if(_0x4c6822['type']!==_0x2c35aa||_0x2c35aa!==_0xcf3cf2['BaseFieldType']['SingleSelect']&&_0x2c35aa!==_0xcf3cf2[_0x284e9e(0x435)]['MultiSelect']||_0x4ae32c(_0x339208[_0x284e9e(0x5a3)]['optionSource']))return{'field':_0x339208,'patches':[]};let _0x417e02=_0x157e33(_0x4c6822),_0x3f7ec5=_0x157e33(_0x339208);if(![..._0x417e02][_0x284e9e(0x20f)](_0x4a278c=>!_0x3f7ec5['has'](_0x4a278c)))return{'field':_0x339208,'patches':[]};let _0x54359b=_0x3c2a7f(_0x339208['defaultValue'],_0x3f7ec5,_0x2c35aa),_0x8dc5d8=_0x2d1fc7(_0x54359b,_0x339208[_0x284e9e(0x334)])?_0x339208:{..._0x339208,'defaultValue':_0x54359b},_0x45c43e=_0x5d33ae(_0x1e0837),_0x18e0e9=(_0x4881e7=_0x45c43e[_0x284e9e(0x1f5)])==null?void 0x0:_0x4881e7[_0x120913];return _0x18e0e9==null?{'field':_0x8dc5d8,'patches':[]}:{'field':_0x8dc5d8,'patches':(_0x45c43e[_0x284e9e(0x5ab)]??[])[_0x284e9e(0x5d0)](_0x3c2c0e=>{const _0x2b0d40=_0x284e9e;var _0x130efd,_0xb585b1;let _0x297786=(_0x130efd=_0x45c43e[_0x2b0d40(0x29a)])==null?void 0x0:_0x130efd[_0x3c2c0e],_0x2b3198=(_0xb585b1=_0x45c43e[_0x2b0d40(0x38a)][_0x3c2c0e])==null?void 0x0:_0xb585b1[_0x2b0d40(0x404)][_0x120913],_0x533a7e=_0x3c2a7f(_0x2b3198,_0x3f7ec5,_0x2c35aa);return _0x297786==null||_0x2d1fc7(_0x533a7e,_0x2b3198)?[]:[{'row':_0x297786,'col':_0x18e0e9,'value':_0x533a7e??null}];})};}function _0x4ae32c(_0x2e7c5b){const _0x2e53c7=_0x2b8d6a;return typeof _0x2e7c5b==_0x2e53c7(0x240)&&!!_0x2e7c5b&&_0x2e53c7(0x1cc)in _0x2e7c5b&&_0x2e7c5b['type']===_0x2e53c7(0x48c);}function _0x157e33(_0x25a193){const _0x3bab66=_0x2b8d6a;var _0x4d297d;let _0x56a61c=Array[_0x3bab66(0x2a1)]((_0x4d297d=_0x25a193[_0x3bab66(0x5a3)])==null?void 0x0:_0x4d297d[_0x3bab66(0x5cc)])?_0x25a193[_0x3bab66(0x5a3)][_0x3bab66(0x5cc)]:[];return new Set(_0x56a61c[_0x3bab66(0x5d0)](_0x4fd36f=>{if(!_0x4fd36f||typeof _0x4fd36f!='object'||!('id'in _0x4fd36f))return[];let _0xb19225=String(_0x4fd36f['id']);return _0xb19225?[_0xb19225]:[];}));}function _0x3c2a7f(_0x1b5e77,_0xfe6832,_0x1efc4e){const _0x3ec684=_0x2b8d6a;if(_0x1b5e77==null||_0x1b5e77==='')return _0x1b5e77;if(_0x1efc4e===_0xcf3cf2[_0x3ec684(0x435)]['SingleSelect'])return _0xfe6832[_0x3ec684(0x244)](String(_0x1b5e77))?_0x1b5e77:null;let _0x43d919=Array['isArray'](_0x1b5e77)?_0x1b5e77[_0x3ec684(0x2c4)](String):String(_0x1b5e77)[_0x3ec684(0x339)](',')[_0x3ec684(0x2c4)](_0x15a93b=>_0x15a93b['trim']())['filter'](Boolean),_0x40502f=_0x43d919[_0x3ec684(0x355)](_0x4b78e6=>_0xfe6832[_0x3ec684(0x244)](_0x4b78e6));return _0x40502f['length']===_0x43d919[_0x3ec684(0x3d4)]?_0x1b5e77:Array[_0x3ec684(0x2a1)](_0x1b5e77)?_0x40502f:String(_0x1b5e77)['includes'](',')?_0x40502f['join'](','):_0x40502f[0x0]??[];}function _0x2d1fc7(_0x4f93bc,_0xc220b0){const _0x56614b=_0x2b8d6a;return JSON[_0x56614b(0x322)](_0x4f93bc)===JSON['stringify'](_0xc220b0);}function _0x3b56e8(_0x33cdee,_0x17876d,_0x303f9c){const _0x4e22aa=_0x2b8d6a;var _0x3851e4,_0x45abc8,_0x5bb667,_0x7fe752;let _0x44f17e=(_0x3851e4=_0x33cdee[_0x4e22aa(0x29a)])==null?void 0x0:_0x3851e4[_0x17876d],_0x105d79=(_0x45abc8=_0x33cdee[_0x4e22aa(0x1f5)])==null?void 0x0:_0x45abc8[_0x303f9c];return _0x44f17e!=null&&_0x105d79!=null&&((_0x5bb667=_0x33cdee[_0x4e22aa(0x369)])==null?void 0x0:_0x5bb667[_0x44f17e])===_0x17876d&&((_0x7fe752=_0x33cdee[_0x4e22aa(0x4df)])==null?void 0x0:_0x7fe752[_0x105d79])===_0x303f9c&&_0x33cdee['cellData']!=null;}function _0x46c8b0(_0xbbace2,_0x60e9dd,_0x297789){const _0x1bee44=_0x2b8d6a;var _0xc3db5a,_0x47e961;return((_0xc3db5a=_0xbbace2['rowId'])==null?void 0x0:_0xc3db5a[_0x60e9dd])!=null&&((_0x47e961=_0xbbace2[_0x1bee44(0x4df)])==null?void 0x0:_0x47e961[_0x297789])!=null&&_0xbbace2[_0x1bee44(0x2a3)]!=null;}function _0xa9284c(_0x3bd4ff,_0x1894de,_0x3a09cd){const _0x4dd0a5=_0x2b8d6a;let _0x16810d=_0x3bd4ff[_0x4dd0a5(0x355)](_0xc6f297=>_0xc6f297!==_0x1894de),_0x23e43a=_0x3a09cd[_0x4dd0a5(0x24d)]?_0x16810d[_0x4dd0a5(0x267)](_0x3a09cd[_0x4dd0a5(0x24d)]):_0x3a09cd['afterFieldId']?_0x16810d['indexOf'](_0x3a09cd[_0x4dd0a5(0x58f)])+0x1:_0x16810d[_0x4dd0a5(0x3d4)];return _0x16810d['splice'](_0x23e43a<0x0?_0x16810d[_0x4dd0a5(0x3d4)]:_0x23e43a,0x0,_0x1894de),_0x16810d;}function _0x395bbb(_0x3e049b,_0x270950,_0x20bf3a){const _0x4616bd=_0x2b8d6a;let _0xed7b7=_0x3e049b[_0x4616bd(0x355)](_0x5653e0=>_0x5653e0!==_0x270950);return _0xed7b7['splice'](_0x54640f(_0x20bf3a,_0xed7b7['length']),0x0,_0x270950),_0xed7b7;}function _0x2a7a83(_0x18b582,_0x1cabd5,_0x45c88e){const _0x3eb999=_0x2b8d6a;if(Array[_0x3eb999(0x2a1)](_0x18b582))return _0x45c88e===_0x3eb999(0x4a6)?_0x18b582[_0x3eb999(0x355)](_0x5e9631=>_0x5e9631!==_0x1cabd5):_0x18b582[_0x3eb999(0x5d0)](_0x10cc87=>{const _0x414c70=_0x3eb999;if(_0x10cc87&&typeof _0x10cc87==_0x414c70(0x240)&&!Array[_0x414c70(0x2a1)](_0x10cc87)&&_0x10cc87['fieldId']===_0x1cabd5)return[];let _0x396511=_0x2a7a83(_0x10cc87,_0x1cabd5);return _0x396511===void 0x0?[]:[_0x396511];});if(!_0x18b582||typeof _0x18b582!=_0x3eb999(0x240))return _0x45c88e!=null&&_0x45c88e[_0x3eb999(0x4ec)](_0x3eb999(0x38b))&&_0x18b582===_0x1cabd5?void 0x0:_0x18b582;let _0x15e3ee=_0x18b582;if(_0x15e3ee[_0x3eb999(0x580)]!==_0x1cabd5)return Object[_0x3eb999(0x3a6)](Object[_0x3eb999(0x271)](_0x15e3ee)['flatMap'](([_0x3aabc9,_0x1c1346])=>{if(_0x3aabc9===_0x1cabd5&&_0x45c88e==='fieldSettings')return[];let _0x26d88e=_0x2a7a83(_0x1c1346,_0x1cabd5,_0x3aabc9);return _0x26d88e===void 0x0?[]:[[_0x3aabc9,_0x26d88e]];}));}function _0x54640f(_0x499896,_0x30b01e){const _0x5cdba8=_0x2b8d6a;return Math[_0x5cdba8(0x591)](0x0,Math['min'](_0x499896,_0x30b01e));}function _0x20aa1f(_0x21d311){'@babel/helpers - typeof';const _0x294c70=_0x2b8d6a;return _0x20aa1f=typeof Symbol==_0x294c70(0x2fe)&&typeof Symbol[_0x294c70(0x517)]==_0x294c70(0x5e8)?function(_0x4702db){return typeof _0x4702db;}:function(_0xdd5e7a){const _0x42e3b9=_0x294c70;return _0xdd5e7a&&typeof Symbol==_0x42e3b9(0x2fe)&&_0xdd5e7a['constructor']===Symbol&&_0xdd5e7a!==Symbol['prototype']?_0x42e3b9(0x5e8):typeof _0xdd5e7a;},_0x20aa1f(_0x21d311);}function _0x29d107(_0x318f58,_0x2d35e7){const _0x6510fe=_0x2b8d6a;if(_0x20aa1f(_0x318f58)!='object'||!_0x318f58)return _0x318f58;var _0xe98d5f=_0x318f58[Symbol[_0x6510fe(0x4e6)]];if(_0xe98d5f!==void 0x0){var _0x18e51=_0xe98d5f[_0x6510fe(0x29f)](_0x318f58,_0x2d35e7||'default');if(_0x20aa1f(_0x18e51)!='object')return _0x18e51;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d35e7===_0x6510fe(0x3ea)?String:Number)(_0x318f58);}function _0x423dfb(_0x8f1251){const _0x2d55b3=_0x2b8d6a;var _0x2f11a5=_0x29d107(_0x8f1251,_0x2d55b3(0x3ea));return _0x20aa1f(_0x2f11a5)==_0x2d55b3(0x5e8)?_0x2f11a5:_0x2f11a5+'';}function _0x550e57(_0x1f318d,_0x5a4a17,_0x162059){const _0x248b25=_0x2b8d6a;return(_0x5a4a17=_0x423dfb(_0x5a4a17))in _0x1f318d?Object[_0x248b25(0x2c1)](_0x1f318d,_0x5a4a17,{'value':_0x162059,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f318d[_0x5a4a17]=_0x162059,_0x1f318d;}let _0x3dec17=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4af));var _0x4d1e59=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x4ac837){const _0xb7b9e5=_0x2b8d6a;super(..._0x4ac837),_0x550e57(this,_0xb7b9e5(0x254),new Map());}['register'](_0x421cc5){const _0x56493c=_0x2b8d6a;return this[_0x56493c(0x254)]['set'](_0x421cc5[_0x56493c(0x1cc)],_0x421cc5),(0x0,_0xcf3cf2[_0x56493c(0x368)])(()=>this[_0x56493c(0x254)][_0x56493c(0x472)](_0x421cc5[_0x56493c(0x1cc)]));}[_0x2b8d6a(0x4f0)](_0x59cba8){const _0x4a5f08=_0x2b8d6a;let _0xf87397=this[_0x4a5f08(0x254)][_0x4a5f08(0x4f0)](_0x59cba8);if(!_0xf87397)throw Error(_0x4a5f08(0x429)+_0x59cba8+_0x4a5f08(0x4e1));return _0xf87397;}[_0x2b8d6a(0x248)](_0x491b22){const _0x5eb842=_0x2b8d6a;return this['_plugins'][_0x5eb842(0x4f0)](_0x491b22);}[_0x2b8d6a(0x2ed)](){const _0x5c7583=_0x2b8d6a;return Array[_0x5c7583(0x1ea)](this[_0x5c7583(0x254)]['values']());}},_0x2ded4b=class{constructor(_0x421215){const _0x5db9e3=_0x2b8d6a;this[_0x5db9e3(0x20d)]=_0x421215,_0x550e57(this,_0x5db9e3(0x1cc),_0x2f5c57['UnitObject'][_0x5db9e3(0x58c)]),_0x550e57(this,_0x5db9e3(0x552),_0x2f5c57['UnitAction'][_0x5db9e3(0x20b)]),_0x550e57(this,_0x5db9e3(0x5ad),_0xcf3cf2[_0x5db9e3(0x3cc)][_0x5db9e3(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x5db9e3(0x348),!0x0),this['id']=this[_0x5db9e3(0x1cc)]+'.'+this[_0x5db9e3(0x552)]+'_'+_0x421215;}},_0x6d7997=class{constructor(_0x138177){const _0x816bb5=_0x2b8d6a;this[_0x816bb5(0x20d)]=_0x138177,_0x550e57(this,_0x816bb5(0x1cc),_0x2f5c57[_0x816bb5(0x40a)][_0x816bb5(0x58c)]),_0x550e57(this,_0x816bb5(0x552),_0x2f5c57[_0x816bb5(0x1ce)]['Copy']),_0x550e57(this,_0x816bb5(0x5ad),_0xcf3cf2[_0x816bb5(0x3cc)][_0x816bb5(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x816bb5(0x1cc)]+'.'+this[_0x816bb5(0x552)]+'_'+_0x138177;}},_0x952420=class{constructor(_0x58ea4f){const _0x407165=_0x2b8d6a;this[_0x407165(0x20d)]=_0x58ea4f,_0x550e57(this,_0x407165(0x1cc),_0x2f5c57[_0x407165(0x40a)]['Base']),_0x550e57(this,'subType',_0x2f5c57[_0x407165(0x1ce)][_0x407165(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x407165(0x3cc)][_0x407165(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x407165(0x348),!0x0),this['id']=this[_0x407165(0x1cc)]+'.'+this[_0x407165(0x552)]+'_'+_0x58ea4f;}},_0x483d33=class{constructor(_0x3a7422){const _0x56f817=_0x2b8d6a;this[_0x56f817(0x20d)]=_0x3a7422,_0x550e57(this,'type',_0x2f5c57[_0x56f817(0x40a)][_0x56f817(0x58c)]),_0x550e57(this,'subType',_0x2f5c57[_0x56f817(0x1ce)][_0x56f817(0x444)]),_0x550e57(this,_0x56f817(0x5ad),_0xcf3cf2[_0x56f817(0x3cc)]['INIT']),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x56f817(0x348),!0x0),this['id']=this[_0x56f817(0x1cc)]+'.'+this[_0x56f817(0x552)]+'_'+_0x3a7422;}},_0x47b04e=class{constructor(_0x363c99,_0x3add8a){const _0x3eaefa=_0x2b8d6a;this[_0x3eaefa(0x20d)]=_0x363c99,this[_0x3eaefa(0x3fd)]=_0x3add8a,_0x550e57(this,_0x3eaefa(0x1cc),_0x2f5c57[_0x3eaefa(0x40a)][_0x3eaefa(0x2b5)]),_0x550e57(this,_0x3eaefa(0x552),_0x2f5c57['UnitAction'][_0x3eaefa(0x241)]),_0x550e57(this,_0x3eaefa(0x5ad),_0xcf3cf2[_0x3eaefa(0x3cc)][_0x3eaefa(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x3eaefa(0x348),!0x0),this['id']=this['type']+'.'+this[_0x3eaefa(0x552)]+'_'+_0x363c99+'_'+_0x3add8a;}},_0x427275=class{constructor(_0x1d78e5,_0xcf6b61){const _0x52c66d=_0x2b8d6a;this['unitId']=_0x1d78e5,this[_0x52c66d(0x3fd)]=_0xcf6b61,_0x550e57(this,'type',_0x2f5c57[_0x52c66d(0x40a)][_0x52c66d(0x469)]),_0x550e57(this,_0x52c66d(0x552),_0x2f5c57['UnitAction'][_0x52c66d(0x241)]),_0x550e57(this,_0x52c66d(0x5ad),_0xcf3cf2[_0x52c66d(0x3cc)][_0x52c66d(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x52c66d(0x1cc)]+'.'+this[_0x52c66d(0x552)]+'_'+_0x1d78e5+'_'+_0xcf6b61;}},_0xc51d66=class{constructor(_0x558475,_0x35bffb){const _0x1d8663=_0x2b8d6a;this[_0x1d8663(0x20d)]=_0x558475,this[_0x1d8663(0x3fd)]=_0x35bffb,_0x550e57(this,_0x1d8663(0x1cc),_0x2f5c57[_0x1d8663(0x40a)]['BaseRecord']),_0x550e57(this,_0x1d8663(0x552),_0x2f5c57['UnitAction'][_0x1d8663(0x241)]),_0x550e57(this,_0x1d8663(0x5ad),_0xcf3cf2['PermissionStatus'][_0x1d8663(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x1d8663(0x348),!0x0),this['id']=this[_0x1d8663(0x1cc)]+'.'+this['subType']+'_'+_0x558475+'_'+_0x35bffb;}},_0x207ffd=class{constructor(_0x277ef8,_0x351f24){const _0x371b66=_0x2b8d6a;this['unitId']=_0x277ef8,this[_0x371b66(0x3fd)]=_0x351f24,_0x550e57(this,_0x371b66(0x1cc),_0x2f5c57[_0x371b66(0x40a)]['BaseTable']),_0x550e57(this,_0x371b66(0x552),_0x2f5c57['UnitAction'][_0x371b66(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x371b66(0x3cc)][_0x371b66(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x371b66(0x348),!0x0),this['id']=this['type']+'.'+this[_0x371b66(0x552)]+'_'+_0x277ef8+'_'+_0x351f24;}},_0x2dc4a8=class{constructor(_0x3a8eaa,_0x231a62){const _0x39c0b9=_0x2b8d6a;this['unitId']=_0x3a8eaa,this[_0x39c0b9(0x3fd)]=_0x231a62,_0x550e57(this,_0x39c0b9(0x1cc),_0x2f5c57[_0x39c0b9(0x40a)]['BaseView']),_0x550e57(this,'subType',_0x2f5c57[_0x39c0b9(0x1ce)]['Edit']),_0x550e57(this,_0x39c0b9(0x5ad),_0xcf3cf2['PermissionStatus'][_0x39c0b9(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x39c0b9(0x348),!0x0),this['id']=this['type']+'.'+this[_0x39c0b9(0x552)]+'_'+_0x3a8eaa+'_'+_0x231a62;}};let _0x2403b2=[_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x241)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x3e3)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x444)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x20b)]],_0x53646f=new Set([_0x2f5c57[_0x2b8d6a(0x40a)]['Base'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x560)],_0x2f5c57['UnitObject']['BaseField'],_0x2f5c57[_0x2b8d6a(0x40a)]['BaseRecord'],_0x2f5c57['UnitObject']['BaseView'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x2b5)]]),_0x23c39d='table/',_0x5f4239='field/',_0xb36195=_0x2b8d6a(0x37b),_0x290b2f=_0x2b8d6a(0x3b8),_0x182a97='dashboard/';function _0x20afd2(_0x3f6ee2){return''+_0x23c39d+encodeURIComponent(_0x3f6ee2);}function _0xe7abbf(_0xe23ec4,_0x6a71f5){return''+_0x5f4239+encodeURIComponent(_0xe23ec4)+'/'+encodeURIComponent(_0x6a71f5);}function _0x19d6d6(_0x1ee355,_0x2a391b){return''+_0xb36195+encodeURIComponent(_0x1ee355)+'/'+encodeURIComponent(_0x2a391b);}function _0x1592c3(_0x3f00d4,_0x6850a5){return''+_0x290b2f+encodeURIComponent(_0x3f00d4)+'/'+encodeURIComponent(_0x6850a5);}function _0xbd25(_0x13a24e){return''+_0x182a97+encodeURIComponent(_0x13a24e);}function _0x1a5ea7(_0x59121d,_0x58693d,_0x3a138a){const _0x2edc99=_0x2b8d6a;if(_0x58693d===_0x59121d)switch(_0x3a138a){case _0x2f5c57[_0x2edc99(0x1ce)]['Edit']:return new _0x952420(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)][_0x2edc99(0x3e3)]:return new _0x6d7997(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)]['Export']:return new _0x483d33(_0x59121d);case _0x2f5c57['UnitAction'][_0x2edc99(0x20b)]:return new _0x2ded4b(_0x59121d);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x3a138a);}if(_0x3a138a!==_0x2f5c57['UnitAction'][_0x2edc99(0x241)])throw Error('Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20'+_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x23c39d))return new _0x207ffd(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x5f4239))return new _0x427275(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0xb36195))return new _0xc51d66(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x290b2f))return new _0x2dc4a8(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x182a97))return new _0x47b04e(_0x59121d,_0x58693d);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x58693d);}function _0x3aa462(_0x105d9a,_0x5e4276,_0x3fce84,_0x301500){const _0xcbaabe=_0x2b8d6a;var _0x55ffff;return((_0x55ffff=_0x105d9a[_0xcbaabe(0x463)](_0x1a5ea7(_0x5e4276,_0x3fce84,_0x301500)['id']))==null?void 0x0:_0x55ffff['value'])??!0x0;}function _0x270cb9(_0x370d9a,_0x45c295,_0x3c5fff,_0x3ea34e,_0x2ff6cc){const _0xf584f8=_0x2b8d6a;let _0x3c5c88=_0x1a5ea7(_0x45c295,_0x3c5fff,_0x3ea34e);_0x370d9a[_0xf584f8(0x463)](_0x3c5c88['id'])||_0x370d9a[_0xf584f8(0x4d7)](_0x3c5c88),_0x370d9a[_0xf584f8(0x396)](_0x3c5c88['id'],_0x2ff6cc);}function _0x968a00(_0x4aaa1a,_0x2537b8,_0x3f6d48,_0x2dc5bc){const _0x99ba9e=_0x2b8d6a;_0x4aaa1a[_0x99ba9e(0x385)](_0x1a5ea7(_0x2537b8,_0x3f6d48,_0x2dc5bc)['id']);}function _0x1fbe97(_0x196b91,_0xcd5904){_0x196b91['getAllPermissionPoint']()['forEach']((_0x5ab1d6,_0x472e25)=>{const _0x8015f9=_0x4fc4;_0x5ab1d6[_0x8015f9(0x210)](_0xdd1abe=>{const _0x4e61c3=_0x8015f9;_0x53646f['has'](_0xdd1abe[_0x4e61c3(0x1cc)])&&_0x4e61c3(0x20d)in _0xdd1abe&&_0xdd1abe['unitId']===_0xcd5904&&_0x196b91['deletePermissionPoint'](_0x472e25);})[_0x8015f9(0x55c)]();});}function _0x1484ec(_0x430395,_0x288e57,_0x227e34){const _0x1b8a8a=_0x2b8d6a;return _0x3aa462(_0x430395,_0x288e57,_0x288e57,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)])&&Array[_0x1b8a8a(0x1ea)](_0x227e34)['every'](_0x5b5d38=>_0x3aa462(_0x430395,_0x288e57,_0x5b5d38,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)]));}function _0x429169(_0x218de8,_0xf7273b){return function(_0x4286c1,_0x1cca14){_0xf7273b(_0x4286c1,_0x1cca14,_0x218de8);};}function _0x21a541(_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd){const _0x1eeb75=_0x2b8d6a;var _0x20fa6f=arguments[_0x1eeb75(0x3d4)],_0x5e4aaf=_0x20fa6f<0x3?_0xb31fe1:_0xf3d2dd===null?_0xf3d2dd=Object['getOwnPropertyDescriptor'](_0xb31fe1,_0x388763):_0xf3d2dd,_0x4459fa;if(typeof Reflect=='object'&&typeof Reflect[_0x1eeb75(0x3bb)]==_0x1eeb75(0x2fe))_0x5e4aaf=Reflect[_0x1eeb75(0x3bb)](_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd);else{for(var _0x4346a2=_0xa8e758[_0x1eeb75(0x3d4)]-0x1;_0x4346a2>=0x0;_0x4346a2--)(_0x4459fa=_0xa8e758[_0x4346a2])&&(_0x5e4aaf=(_0x20fa6f<0x3?_0x4459fa(_0x5e4aaf):_0x20fa6f>0x3?_0x4459fa(_0xb31fe1,_0x388763,_0x5e4aaf):_0x4459fa(_0xb31fe1,_0x388763))||_0x5e4aaf);}return _0x20fa6f>0x3&&_0x5e4aaf&&Object[_0x1eeb75(0x2c1)](_0xb31fe1,_0x388763,_0x5e4aaf),_0x5e4aaf;}let _0x2d44c2=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x5d3)),_0x2b795c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x234b44,_0x1afe64){const _0x45bab6=_0x2b8d6a;super(),this['_permissionService']=_0x234b44,this['_instanceService']=_0x1afe64,_0x550e57(this,_0x45bab6(0x2d8),new Map()),_0x550e57(this,_0x45bab6(0x422),new Map()),_0x550e57(this,'_fieldPermissions',new Map()),_0x550e57(this,_0x45bab6(0x225),new Map()),_0x550e57(this,_0x45bab6(0x40f),new Map()),_0x550e57(this,_0x45bab6(0x246),new Map()),this[_0x45bab6(0x54b)](this[_0x45bab6(0x5d7)][_0x45bab6(0x528)](_0xcf3cf2['UniverInstanceType'][_0x45bab6(0x2bf)])[_0x45bab6(0x210)](_0x19edc4=>this[_0x45bab6(0x291)](_0x19edc4[_0x45bab6(0x4c0)]())));}[_0x2b8d6a(0x380)](_0x20db35){const _0x36a392=_0x2b8d6a;var _0x3abf52;return this[_0x36a392(0x41f)](_0x20db35,[])&&(((_0x3abf52=this[_0x36a392(0x2d8)][_0x36a392(0x4f0)](_0x20db35))==null?void 0x0:_0x3abf52[_0x36a392(0x5f0)])??!0x0);}['canEditTable'](_0x20e3e5){const _0x34fd58=_0x2b8d6a;return this[_0x34fd58(0x393)](_0x20e3e5);}[_0x2b8d6a(0x3a3)](_0x26e297){const _0x4593a1=_0x2b8d6a;var _0x4f1741;return this[_0x4593a1(0x393)](_0x26e297)&&(((_0x4f1741=this[_0x4593a1(0x422)][_0x4593a1(0x4f0)](_0x26e297))==null?void 0x0:_0x4f1741[_0x4593a1(0x472)])??!0x0);}[_0x2b8d6a(0x35b)](_0x1aa4a9){const _0x209dd6=_0x2b8d6a;var _0x9c44d5;return this[_0x209dd6(0x393)](_0x1aa4a9)&&(((_0x9c44d5=this[_0x209dd6(0x422)][_0x209dd6(0x4f0)](_0x1aa4a9))==null?void 0x0:_0x9c44d5['createField'])??!0x0);}[_0x2b8d6a(0x2f2)](_0x2d78dd,_0x2253e1){const _0x55c065=_0x2b8d6a;var _0x109694;return this[_0x55c065(0x393)](_0x2d78dd)&&this['_canEdit'](_0x2d78dd,[_0xe7abbf(_0x2d78dd,_0x2253e1)])&&(((_0x109694=this[_0x55c065(0x553)]['get'](_0x54c07a(_0x2d78dd,_0x2253e1)))==null?void 0x0:_0x109694[_0x55c065(0x417)])??!0x0);}['canDeleteField'](_0x33509e,_0x3e185b){const _0x210151=_0x2b8d6a;var _0x223485;return this[_0x210151(0x2f2)](_0x33509e,_0x3e185b)&&(((_0x223485=this[_0x210151(0x553)][_0x210151(0x4f0)](_0x54c07a(_0x33509e,_0x3e185b)))==null?void 0x0:_0x223485[_0x210151(0x472)])??!0x0);}[_0x2b8d6a(0x557)](_0x1e3f25){const _0x36cb84=_0x2b8d6a;var _0x40d923;return this[_0x36cb84(0x393)](_0x1e3f25)&&(((_0x40d923=this['_tablePermissions'][_0x36cb84(0x4f0)](_0x1e3f25))==null?void 0x0:_0x40d923[_0x36cb84(0x3fb)])??!0x0);}[_0x2b8d6a(0x1dc)](_0x292c76,_0x1d92a1){const _0x4b617a=_0x2b8d6a;var _0x3f4f5e;let _0x18e899=this['_recordPermissions'][_0x4b617a(0x4f0)](_0x6cb5b2(_0x292c76,_0x1d92a1));return this[_0x4b617a(0x41f)](_0x292c76,[_0x20afd2(_0x292c76),_0x19d6d6(_0x292c76,_0x1d92a1)])&&(((_0x3f4f5e=this['_tablePermissions'][_0x4b617a(0x4f0)](_0x292c76))==null?void 0x0:_0x3f4f5e[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x581)])??!0x0);}['canDeleteRecord'](_0x359c84,_0x111a42){const _0xdb521d=_0x2b8d6a;var _0x51eb2e,_0x54645f,_0x493b15;return this[_0xdb521d(0x41f)](_0x359c84,[_0x20afd2(_0x359c84),_0x19d6d6(_0x359c84,_0x111a42)])&&(((_0x51eb2e=this[_0xdb521d(0x422)][_0xdb521d(0x4f0)](_0x359c84))==null?void 0x0:_0x51eb2e[_0xdb521d(0x417)])??!0x0)&&(((_0x54645f=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x54645f[_0xdb521d(0x417)])??!0x0)&&(((_0x493b15=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x493b15[_0xdb521d(0x472)])??!0x0);}['canEditCell'](_0x576e35,_0x3cefd3,_0x504331){const _0x3300d9=_0x2b8d6a;var _0x2c88a2,_0x1efcd3,_0x58c68a;let _0x3aa9a4=this[_0x3300d9(0x553)][_0x3300d9(0x4f0)](_0x54c07a(_0x576e35,_0x504331));return this[_0x3300d9(0x41f)](_0x576e35,[_0x20afd2(_0x576e35),_0xe7abbf(_0x576e35,_0x504331),_0x19d6d6(_0x576e35,_0x3cefd3)])&&(((_0x2c88a2=this['_tablePermissions'][_0x3300d9(0x4f0)](_0x576e35))==null?void 0x0:_0x2c88a2[_0x3300d9(0x417)])??!0x0)&&(((_0x1efcd3=this[_0x3300d9(0x225)][_0x3300d9(0x4f0)](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x1efcd3[_0x3300d9(0x417)])??!0x0)&&(((_0x58c68a=this['_recordPermissions']['get'](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x58c68a['editCell'])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4[_0x3300d9(0x417)])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4['editCell'])??!0x0);}[_0x2b8d6a(0x50c)](_0x82dbe2,_0x3f9a89){const _0x45f4b0=_0x2b8d6a;var _0x1b284c,_0x1a34e7,_0x2a25a5;return this[_0x45f4b0(0x41f)](_0x82dbe2,[_0x20afd2(_0x82dbe2),_0x1592c3(_0x82dbe2,_0x3f9a89)])&&(((_0x1b284c=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x1b284c['edit'])??!0x0)&&(((_0x1a34e7=this[_0x45f4b0(0x40f)][_0x45f4b0(0x4f0)](_0x49ee2f(_0x82dbe2,_0x3f9a89)))==null?void 0x0:_0x1a34e7['edit'])??!0x0)&&(((_0x2a25a5=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x2a25a5[_0x45f4b0(0x35f)])??!0x0);}[_0x2b8d6a(0x5a9)](_0x239cc5,_0x2fe868){const _0x440b75=_0x2b8d6a;this[_0x440b75(0x2d8)]['set'](_0x239cc5,{...this['_basePermissions']['get'](_0x239cc5),..._0x2fe868}),_0x2fe868['edit']!==void 0x0&&_0x270cb9(this[_0x440b75(0x20a)],_0x239cc5,_0x239cc5,_0x2f5c57[_0x440b75(0x1ce)][_0x440b75(0x241)],_0x2fe868[_0x440b75(0x417)]);}[_0x2b8d6a(0x3a4)](_0x1595ba,_0x84c053){const _0x18fa44=_0x2b8d6a;this[_0x18fa44(0x473)](_0x1595ba),this[_0x18fa44(0x422)]['set'](_0x1595ba,{...this[_0x18fa44(0x422)]['get'](_0x1595ba),..._0x84c053}),this['_setObjectEdit'](_0x1595ba,_0x20afd2(_0x1595ba),_0x84c053[_0x18fa44(0x417)]);}['setFieldPermission'](_0x107b71,_0x2ae88d,_0x4b7421){const _0x5e06f7=_0x2b8d6a;this[_0x5e06f7(0x473)](_0x107b71);let _0x18c5bf=_0x54c07a(_0x107b71,_0x2ae88d);this['_fieldPermissions']['set'](_0x18c5bf,{...this[_0x5e06f7(0x553)][_0x5e06f7(0x4f0)](_0x18c5bf),..._0x4b7421}),this[_0x5e06f7(0x378)](_0x107b71,_0xe7abbf(_0x107b71,_0x2ae88d),_0x4b7421[_0x5e06f7(0x417)]);}['setRecordPermission'](_0x3a69b6,_0x577bf2,_0x4f9798){const _0x203f16=_0x2b8d6a;this[_0x203f16(0x473)](_0x3a69b6);let _0x27d680=_0x6cb5b2(_0x3a69b6,_0x577bf2);this[_0x203f16(0x225)][_0x203f16(0x22b)](_0x27d680,{...this[_0x203f16(0x225)][_0x203f16(0x4f0)](_0x27d680),..._0x4f9798}),this[_0x203f16(0x378)](_0x3a69b6,_0x19d6d6(_0x3a69b6,_0x577bf2),_0x4f9798[_0x203f16(0x417)]);}[_0x2b8d6a(0x5f5)](_0x3f2f30,_0xfa4ba4,_0x3f3e87){const _0x1fc182=_0x2b8d6a;this['_rememberTable'](_0x3f2f30);let _0x3589d3=_0x49ee2f(_0x3f2f30,_0xfa4ba4);this[_0x1fc182(0x40f)][_0x1fc182(0x22b)](_0x3589d3,{...this[_0x1fc182(0x40f)][_0x1fc182(0x4f0)](_0x3589d3),..._0x3f3e87}),this[_0x1fc182(0x378)](_0x3f2f30,_0x1592c3(_0x3f2f30,_0xfa4ba4),_0x3f3e87[_0x1fc182(0x417)]);}[_0x2b8d6a(0x52c)](_0x22a741){const _0x20e2e2=_0x2b8d6a;this['_basePermissions'][_0x20e2e2(0x472)](_0x22a741),_0x968a00(this['_permissionService'],_0x22a741,_0x22a741,_0x2f5c57[_0x20e2e2(0x1ce)]['Edit']);}[_0x2b8d6a(0x5c7)](_0x43563a){const _0x4d955a=_0x2b8d6a;this['_tablePermissions'][_0x4d955a(0x472)](_0x43563a),this[_0x4d955a(0x27f)](_0x43563a,_0x20afd2(_0x43563a));}[_0x2b8d6a(0x2bd)](_0x5899d2,_0x3c4746){const _0x4e27a2=_0x2b8d6a;this['_fieldPermissions'][_0x4e27a2(0x472)](_0x54c07a(_0x5899d2,_0x3c4746)),this[_0x4e27a2(0x27f)](_0x5899d2,_0xe7abbf(_0x5899d2,_0x3c4746));}['clearRecordPermission'](_0xc0168a,_0x34b0f5){const _0xd7ec7=_0x2b8d6a;this[_0xd7ec7(0x225)]['delete'](_0x6cb5b2(_0xc0168a,_0x34b0f5)),this['_clearObjectEdit'](_0xc0168a,_0x19d6d6(_0xc0168a,_0x34b0f5));}[_0x2b8d6a(0x4cb)](_0x22ba5a,_0x4a5862){const _0x114ea6=_0x2b8d6a;this[_0x114ea6(0x40f)]['delete'](_0x49ee2f(_0x22ba5a,_0x4a5862)),this[_0x114ea6(0x27f)](_0x22ba5a,_0x1592c3(_0x22ba5a,_0x4a5862));}[_0x2b8d6a(0x43e)](){const _0x30b51d=_0x2b8d6a;return{'bases':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x2d8)]),'tables':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x422)]),'fields':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x553)]),'records':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x225)]),'views':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x40f)])};}[_0x2b8d6a(0x393)](_0x5b87a0){const _0xeb8b4a=_0x2b8d6a;var _0x13e0fd;return this[_0xeb8b4a(0x41f)](_0x5b87a0,[_0x20afd2(_0x5b87a0)])&&(((_0x13e0fd=this[_0xeb8b4a(0x422)]['get'](_0x5b87a0))==null?void 0x0:_0x13e0fd['edit'])??!0x0);}[_0x2b8d6a(0x41f)](_0xe7e930,_0x304660){const _0x54d5ae=_0x2b8d6a;var _0x30d201;let _0x130994=this[_0x54d5ae(0x53f)](_0xe7e930);return!_0x130994||_0x1484ec(this[_0x54d5ae(0x20a)],_0x130994,_0x304660)&&(((_0x30d201=this[_0x54d5ae(0x2d8)]['get'](_0x130994))==null?void 0x0:_0x30d201[_0x54d5ae(0x417)])??!0x0);}[_0x2b8d6a(0x378)](_0x22a220,_0x2f9ce1,_0x45fdff){const _0x32a28d=_0x2b8d6a;if(_0x45fdff===void 0x0)return;let _0x4bf707=this[_0x32a28d(0x53f)](_0x22a220);_0x4bf707&&_0x270cb9(this['_permissionService'],_0x4bf707,_0x2f9ce1,_0x2f5c57['UnitAction'][_0x32a28d(0x241)],_0x45fdff);}[_0x2b8d6a(0x27f)](_0x594637,_0x57c1e5){const _0x2118fd=_0x2b8d6a;let _0x1de597=this[_0x2118fd(0x53f)](_0x594637);_0x1de597&&_0x968a00(this[_0x2118fd(0x20a)],_0x1de597,_0x57c1e5,_0x2f5c57[_0x2118fd(0x1ce)][_0x2118fd(0x241)]);}[_0x2b8d6a(0x53f)](_0x13fbe7){const _0x109cd1=_0x2b8d6a;var _0x48e4d1;let _0x22e06c=this[_0x109cd1(0x5d7)][_0x109cd1(0x425)](_0x13fbe7,_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)]);return _0x22e06c?_0x22e06c['getUnitId']():(_0x48e4d1=this['_instanceService']['getAllUnitsForType'](_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)])[_0x109cd1(0x22c)](_0x16a214=>!!_0x16a214[_0x109cd1(0x43e)]()['tables'][_0x13fbe7]))==null?void 0x0:_0x48e4d1[_0x109cd1(0x4c0)]();}[_0x2b8d6a(0x473)](_0x59659e){const _0x4294af=_0x2b8d6a;let _0x130d55=this[_0x4294af(0x53f)](_0x59659e);_0x130d55&&this[_0x4294af(0x246)]['set'](_0x59659e,_0x130d55);}['_clearUnit'](_0x10b5bf){const _0x33601e=_0x2b8d6a;this[_0x33601e(0x2d8)]['delete'](_0x10b5bf),this['_tableBaseIds'][_0x33601e(0x458)]((_0x22c71c,_0x51e9cf)=>{const _0x37cedf=_0x33601e;_0x22c71c===_0x10b5bf&&(this[_0x37cedf(0x422)][_0x37cedf(0x472)](_0x51e9cf),_0xa55028(this['_fieldPermissions'],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x225)],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x40f)],_0x51e9cf+'\x1f'),this[_0x37cedf(0x246)]['delete'](_0x51e9cf));});}};_0x2b795c=_0x21a541([_0x429169(0x0,_0xcf3cf2['IPermissionService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2b795c);function _0xa55028(_0x3e3b7d,_0x103e03){const _0x2e2a8e=_0x2b8d6a;_0x3e3b7d[_0x2e2a8e(0x458)]((_0xad04ea,_0x43b9c4)=>{const _0x24d7a8=_0x2e2a8e;_0x43b9c4[_0x24d7a8(0x26d)](_0x103e03)&&_0x3e3b7d[_0x24d7a8(0x472)](_0x43b9c4);});}function _0x54c07a(_0x27dfe3,_0x4464d4){return _0x27dfe3+'\x1f'+_0x4464d4;}function _0x6cb5b2(_0x34c9f2,_0x241563){return _0x34c9f2+'\x1f'+_0x241563;}function _0x49ee2f(_0x4238f0,_0x51b475){return _0x4238f0+'\x1f'+_0x51b475;}let _0x5394a2=(0x0,_0xcf3cf2['createIdentifier'])(_0x2b8d6a(0x312)),_0x1c8c77=class{constructor(_0x49a5f2,_0x27c06e=_0x208275(),_0x444407={}){const _0x25bbad=_0x2b8d6a;this[_0x25bbad(0x20a)]=_0x49a5f2,this[_0x25bbad(0x32a)]=_0x27c06e,this[_0x25bbad(0x1d9)]=_0x444407,_0x550e57(this,_0x25bbad(0x5cf),new _0x15dbb7()),_0x550e57(this,_0x25bbad(0x596),new _0x3c7454());}['createTable'](_0x28ee0f,_0x18923d,_0xa3673e){const _0x4dbe43=_0x2b8d6a;if(!this[_0x4dbe43(0x20a)][_0x4dbe43(0x380)](_0x28ee0f[_0x4dbe43(0x4c0)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x18923d),this[_0x4dbe43(0x420)](_0x28ee0f,this[_0x4dbe43(0x5cf)][_0x4dbe43(0x5f0)](_0x28ee0f[_0x4dbe43(0x43e)](),_0x18923d,_0xa3673e));}[_0x2b8d6a(0x331)](_0x7e724c,_0x10004f,_0x11b727){const _0xe38bc1=_0x2b8d6a;if(!this[_0xe38bc1(0x20a)][_0xe38bc1(0x431)](_0x10004f))throw Error(_0xe38bc1(0x5fe));this['_apply'](_0x7e724c,this[_0xe38bc1(0x5cf)][_0xe38bc1(0x331)](_0x7e724c[_0xe38bc1(0x43e)](),_0x10004f,_0x11b727));}[_0x2b8d6a(0x1f1)](_0x3c2d7d,_0x283d61){const _0x1c4c67=_0x2b8d6a;if(!this[_0x1c4c67(0x20a)]['canDeleteTable'](_0x283d61))throw Error(_0x1c4c67(0x523));let _0x136894=_0x39ea47(_0x3c2d7d['getSnapshot'](),_0x283d61);if(_0x136894[_0x1c4c67(0x3d4)]>0x0)throw Error(_0x1c4c67(0x549)+_0x136894[_0x1c4c67(0x2c4)](_0x1463dd=>_0x1463dd[_0x1c4c67(0x3e2)]+'.'+_0x1463dd[_0x1c4c67(0x580)])[_0x1c4c67(0x600)](',\x20')+').');this[_0x1c4c67(0x420)](_0x3c2d7d,this[_0x1c4c67(0x5cf)][_0x1c4c67(0x1f1)](_0x3c2d7d['getSnapshot'](),_0x283d61));}[_0x2b8d6a(0x5df)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8){const _0x251ecf=_0x2b8d6a;this[_0x251ecf(0x420)](_0x40f1f6,this[_0x251ecf(0x4dc)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8));}[_0x2b8d6a(0x536)](_0x37ff74,_0x2df6db,_0x49fc20){const _0x39b2b2=_0x2b8d6a;this['_apply'](_0x37ff74,this[_0x39b2b2(0x3cd)](_0x37ff74,_0x2df6db,_0x49fc20));}[_0x2b8d6a(0x3fb)](_0x1b192e,_0x228302,_0x3a8a6c){const _0x1762f5=_0x2b8d6a;this[_0x1762f5(0x420)](_0x1b192e,this[_0x1762f5(0x347)](_0x1b192e,_0x228302,_0x3a8a6c));}[_0x2b8d6a(0x4dc)](_0x7813b9,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b){const _0x4d458d=_0x2b8d6a;let _0x2973d1=_0x7813b9[_0x4d458d(0x43e)](),_0x1c07f1=this[_0x4d458d(0x58d)](_0x2973d1,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b),_0x291997=this[_0x4d458d(0x3eb)](_0x2973d1,_0x1762ad,_0x4aa942,{[_0x32ae71]:_0x1c07f1});return this[_0x4d458d(0x5cf)][_0x4d458d(0x536)](_0x2973d1,_0x1762ad,[_0x291997]);}['createSetRecordValuesOp'](_0x1fbcd8,_0x27978c,_0x352154){const _0x1641b7=_0x2b8d6a;let _0x2555ab=_0x1fbcd8['getSnapshot'](),_0xcafd14=_0x352154[_0x1641b7(0x2c4)](_0x391ab9=>this[_0x1641b7(0x3eb)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],{...Object[_0x1641b7(0x3a6)](Object[_0x1641b7(0x271)](_0x391ab9[_0x1641b7(0x404)])[_0x1641b7(0x2c4)](([_0x306510,_0x3c0378])=>[_0x306510,this[_0x1641b7(0x58d)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],_0x306510,_0x3c0378)]))}));return this[_0x1641b7(0x5cf)][_0x1641b7(0x536)](_0x2555ab,_0x27978c,_0xcafd14);}[_0x2b8d6a(0x347)](_0x4826c0,_0x29c466,_0x97b5bb){const _0xf1ee87=_0x2b8d6a;if(!this[_0xf1ee87(0x20a)][_0xf1ee87(0x557)](_0x29c466))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x561f56=_0x4826c0[_0xf1ee87(0x43e)](),_0x3fa95a=this[_0xf1ee87(0x23d)](_0x561f56['tables'][_0x29c466]);return this[_0xf1ee87(0x5cf)][_0xf1ee87(0x3fb)](_0x561f56,_0x29c466,this[_0xf1ee87(0x4c5)](_0x561f56,_0x29c466,_0x97b5bb,_0x3fa95a));}[_0x2b8d6a(0x493)](_0x333413,_0x22b1e5,_0x5c7859){const _0xd6c1a1=_0x2b8d6a;if(!this[_0xd6c1a1(0x20a)][_0xd6c1a1(0x557)](_0x22b1e5))throw Error(_0xd6c1a1(0x2e8));let _0x164590=_0x333413[_0xd6c1a1(0x43e)]();return _0x4baece(_0xd6c1a1(0x3c7),()=>{const _0x3adc69=_0xd6c1a1;let _0x39271e=this[_0x3adc69(0x23d)](_0x164590[_0x3adc69(0x3d7)][_0x22b1e5]);return this['_factory'][_0x3adc69(0x1cd)](_0x164590,_0x22b1e5,_0x5c7859[_0x3adc69(0x2c4)](_0x171b6f=>this[_0x3adc69(0x4c5)](_0x164590,_0x22b1e5,_0x171b6f,_0x39271e)));},{'existingRecords':Object[_0xd6c1a1(0x582)](_0x164590[_0xd6c1a1(0x3d7)][_0x22b1e5][_0xd6c1a1(0x38a)])['length'],'records':_0x5c7859['length']});}['createCreateFieldOp'](_0x126365,_0x1dd050,_0x2a66cf,_0x3c7ad5,_0x4d6d93){const _0x1796ae=_0x2b8d6a;if(!this[_0x1796ae(0x20a)][_0x1796ae(0x35b)](_0x1dd050))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x427392=_0x126365['getSnapshot']();if(this[_0x1796ae(0x2ea)](_0x427392,_0x2a66cf),_0x3c7ad5===0x0)throw Error(_0x1796ae(0x52f));let _0x2ff202=this[_0x1796ae(0x5cf)][_0x1796ae(0x3ed)](_0x427392,_0x1dd050,{'field':_0x2a66cf,'index':_0x3c7ad5,'viewIndexes':_0x4d6d93}),_0x2b5661=this['_createSystemFieldValuePatches'](_0x427392,_0x1dd050,_0x2a66cf);if(!_0x2b5661['length'])return _0x2ff202;let _0x49b870=this[_0x1796ae(0x596)][_0x1796ae(0x54e)](_0x427392,_0x2ff202);return _0x5dc19d([_0x2ff202,this[_0x1796ae(0x5cf)][_0x1796ae(0x536)](_0x49b870,_0x1dd050,_0x2b5661)]);}[_0x2b8d6a(0x44b)](_0x3ce17d,_0x53d68e,_0x2a26b0){const _0x6a1fa9=_0x2b8d6a;if(!this[_0x6a1fa9(0x20a)][_0x6a1fa9(0x598)](_0x53d68e,_0x2a26b0))throw Error(_0x6a1fa9(0x1d4));this['_apply'](_0x3ce17d,this[_0x6a1fa9(0x5cf)][_0x6a1fa9(0x44b)](_0x3ce17d[_0x6a1fa9(0x43e)](),_0x53d68e,_0x2a26b0));}['duplicateRecord'](_0x329ee9,_0x570f9a,_0x262b54,_0x2d8ffb){const _0x4fd50d=_0x2b8d6a;if(!this[_0x4fd50d(0x20a)][_0x4fd50d(0x557)](_0x570f9a))throw Error(_0x4fd50d(0x2e8));this[_0x4fd50d(0x420)](_0x329ee9,this[_0x4fd50d(0x5cf)][_0x4fd50d(0x5dd)](_0x329ee9[_0x4fd50d(0x43e)](),_0x570f9a,_0x262b54,{..._0x2d8ffb,'values':{..._0x2d8ffb[_0x4fd50d(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x2d8ffb['id']}}));}['updateRecordOrder'](_0x557a77,_0x4a8fe0,_0xad83aa,_0x2f39b5){const _0x2c1c85=_0x2b8d6a;if(!this[_0x2c1c85(0x20a)][_0x2c1c85(0x1dc)](_0x4a8fe0,_0xad83aa))throw Error(_0x2c1c85(0x44c));this[_0x2c1c85(0x420)](_0x557a77,this[_0x2c1c85(0x5cf)][_0x2c1c85(0x577)](_0x557a77[_0x2c1c85(0x43e)](),_0x4a8fe0,_0xad83aa,_0x2f39b5));}[_0x2b8d6a(0x3ed)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98){const _0x9058fe=_0x2b8d6a;this['_apply'](_0x2d7fc0,this[_0x9058fe(0x29b)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98));}[_0x2b8d6a(0x56b)](_0x8382e5,_0x309c4b,_0x4f5f51,_0x2538c3){const _0x185d30=_0x2b8d6a;var _0x4cd847;if(!this[_0x185d30(0x20a)][_0x185d30(0x2f2)](_0x309c4b,_0x4f5f51))throw Error(_0x185d30(0x440));let _0x30c735=_0x8382e5[_0x185d30(0x43e)](),_0x24291b=(_0x4cd847=_0x30c735[_0x185d30(0x3d7)][_0x309c4b])==null?void 0x0:_0x4cd847[_0x185d30(0x3b5)][_0x4f5f51];if(!_0x24291b||_0x4f5f51===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x185d30(0x4d8));this['_assertFieldDefinition'](_0x30c735,{..._0x24291b,..._0x2538c3}),this[_0x185d30(0x420)](_0x8382e5,this['_factory'][_0x185d30(0x56b)](_0x30c735,_0x309c4b,_0x4f5f51,_0x2538c3));}[_0x2b8d6a(0x319)](_0x2a7d3a,_0xbc8985,_0x19f916,_0x161434){const _0x46813f=_0x2b8d6a;var _0xb4ef2b;if(!this['_permissionService'][_0x46813f(0x2f2)](_0xbc8985,_0x19f916))throw Error(_0x46813f(0x440));let _0x3c8527=_0x2a7d3a[_0x46813f(0x43e)](),_0x2436cd=(_0xb4ef2b=_0x3c8527[_0x46813f(0x3d7)][_0xbc8985])==null?void 0x0:_0xb4ef2b['fields'][_0x19f916];if(!_0x2436cd||_0x19f916===_0xcf3cf2[_0x46813f(0x509)])throw Error(_0x46813f(0x3a5));this[_0x46813f(0x2ea)](_0x3c8527,{..._0x2436cd,..._0x161434}),this[_0x46813f(0x420)](_0x2a7d3a,this['_factory'][_0x46813f(0x319)](_0x3c8527,_0xbc8985,_0x19f916,_0x161434));}[_0x2b8d6a(0x32b)](_0x537123,_0x9b457b,_0x6c52f8){const _0x309442=_0x2b8d6a;var _0x23af3d;if(((_0x23af3d=_0x537123[_0x309442(0x43e)]()['tables'][_0x9b457b])==null?void 0x0:_0x23af3d[_0x309442(0x4b4)])===_0x6c52f8||_0x6c52f8===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x309442(0x27e));if(!this[_0x309442(0x20a)][_0x309442(0x2c6)](_0x9b457b,_0x6c52f8))throw Error(_0x309442(0x33b));this[_0x309442(0x420)](_0x537123,this[_0x309442(0x5cf)][_0x309442(0x32b)](_0x537123[_0x309442(0x43e)](),_0x9b457b,_0x6c52f8));}[_0x2b8d6a(0x21b)](_0x35ab92,_0x50bcfc,_0x5b4ffc,_0xc00f7){const _0x1d9f58=_0x2b8d6a;if(!this['_permissionService'][_0x1d9f58(0x2f2)](_0x50bcfc,_0x5b4ffc))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x5b4ffc===_0xcf3cf2[_0x1d9f58(0x509)]||_0xc00f7[_0x1d9f58(0x24d)]===_0xcf3cf2[_0x1d9f58(0x509)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x1d9f58(0x420)](_0x35ab92,this[_0x1d9f58(0x5cf)][_0x1d9f58(0x21b)](_0x35ab92[_0x1d9f58(0x43e)](),_0x50bcfc,_0x5b4ffc,_0xc00f7));}['createView'](_0x47e7b2,_0x2fe857,_0x2fb3ed,_0x1201b4){const _0x3e8333=_0x2b8d6a;if(!this[_0x3e8333(0x20a)][_0x3e8333(0x50c)](_0x2fe857,_0x2fb3ed['id']))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3e8333(0x420)](_0x47e7b2,this[_0x3e8333(0x5cf)][_0x3e8333(0x490)](_0x47e7b2[_0x3e8333(0x43e)](),_0x2fe857,_0x2fb3ed,_0x1201b4));}['renameView'](_0x5c5008,_0x2efccc,_0x28d10a,_0x259341){const _0x180d5a=_0x2b8d6a;if(!this['_permissionService'][_0x180d5a(0x50c)](_0x2efccc,_0x28d10a))throw Error(_0x180d5a(0x5c0));this[_0x180d5a(0x420)](_0x5c5008,this[_0x180d5a(0x5cf)][_0x180d5a(0x2d2)](_0x5c5008[_0x180d5a(0x43e)](),_0x2efccc,_0x28d10a,_0x259341));}['deleteView'](_0x1cb663,_0x658b59,_0x33e7ee){const _0x139a42=_0x2b8d6a;if(!this[_0x139a42(0x20a)][_0x139a42(0x50c)](_0x658b59,_0x33e7ee))throw Error(_0x139a42(0x5c0));this['_apply'](_0x1cb663,this[_0x139a42(0x5cf)]['deleteView'](_0x1cb663[_0x139a42(0x43e)](),_0x658b59,_0x33e7ee));}['moveView'](_0x347f3e,_0x213e51,_0x24605a,_0x51680d){const _0x418151=_0x2b8d6a;if(!this[_0x418151(0x20a)][_0x418151(0x50c)](_0x213e51,_0x24605a))throw Error(_0x418151(0x5c0));this['_apply'](_0x347f3e,this['_factory']['moveView'](_0x347f3e[_0x418151(0x43e)](),_0x213e51,_0x24605a,_0x51680d));}[_0x2b8d6a(0x4aa)](_0x223270,_0x22e1bc,_0x3709fb,_0x11d21e){const _0x1ff708=_0x2b8d6a;if(!this[_0x1ff708(0x20a)]['canManageView'](_0x22e1bc,_0x3709fb))throw Error(_0x1ff708(0x5c0));this[_0x1ff708(0x420)](_0x223270,this[_0x1ff708(0x5cf)][_0x1ff708(0x4aa)](_0x223270[_0x1ff708(0x43e)](),_0x22e1bc,_0x3709fb,_0x11d21e));}[_0x2b8d6a(0x5b9)](_0x3c2efc,_0x1f0177,_0x7a16a,_0x462384){const _0x32c7d2=_0x2b8d6a;if(!this[_0x32c7d2(0x20a)][_0x32c7d2(0x50c)](_0x1f0177,_0x7a16a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x32c7d2(0x420)](_0x3c2efc,this[_0x32c7d2(0x5cf)][_0x32c7d2(0x5b9)](_0x3c2efc[_0x32c7d2(0x43e)](),_0x1f0177,_0x7a16a,_0x462384));}[_0x2b8d6a(0x43a)](_0x69a228,_0x57da2b,_0x123909,_0xa4227e){const _0x3eae1f=_0x2b8d6a;if(!this[_0x3eae1f(0x20a)][_0x3eae1f(0x50c)](_0x57da2b,_0x123909))throw Error(_0x3eae1f(0x5c0));this[_0x3eae1f(0x420)](_0x69a228,this[_0x3eae1f(0x5cf)][_0x3eae1f(0x43a)](_0x69a228['getSnapshot'](),_0x57da2b,_0x123909,_0xa4227e));}[_0x2b8d6a(0x273)](_0x502351,_0x3755dc,_0x2a41b1,_0x2157e6){const _0x24bed7=_0x2b8d6a;if(!this[_0x24bed7(0x20a)][_0x24bed7(0x50c)](_0x3755dc,_0x2a41b1))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x502351,this[_0x24bed7(0x5cf)][_0x24bed7(0x273)](_0x502351['getSnapshot'](),_0x3755dc,_0x2a41b1,_0x2157e6));}[_0x2b8d6a(0x1c5)](_0x4167f7,_0x203b29,_0x283641,_0x402e30,_0x2fc567){const _0x2fde02=_0x2b8d6a;if(!this['_permissionService']['canManageView'](_0x203b29,_0x283641))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2fde02(0x420)](_0x4167f7,this['_factory'][_0x2fde02(0x1c5)](_0x4167f7[_0x2fde02(0x43e)](),_0x203b29,_0x283641,_0x402e30,_0x2fc567));}['setViewFieldWidth'](_0x7fd5d2,_0x421f0f,_0x43be28,_0x5d9051,_0x388caf){const _0x2ee290=_0x2b8d6a;if(!this[_0x2ee290(0x20a)]['canManageView'](_0x421f0f,_0x43be28))throw Error(_0x2ee290(0x5c0));this[_0x2ee290(0x420)](_0x7fd5d2,this[_0x2ee290(0x5cf)][_0x2ee290(0x50b)](_0x7fd5d2[_0x2ee290(0x43e)](),_0x421f0f,_0x43be28,_0x5d9051,_0x388caf));}['setViewFieldOrder'](_0x3b62df,_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5){const _0x2ac7eb=_0x2b8d6a;if(!this[_0x2ac7eb(0x20a)][_0x2ac7eb(0x50c)](_0x374967,_0x5c5470))throw Error(_0x2ac7eb(0x5c0));this[_0x2ac7eb(0x420)](_0x3b62df,this['_factory'][_0x2ac7eb(0x56f)](_0x3b62df['getSnapshot'](),_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5));}[_0x2b8d6a(0x420)](_0x3b6498,_0x312b58){const _0x29f078=_0x2b8d6a;let _0x546b13=_0x3b6498[_0x29f078(0x43e)]();_0x3b6498[_0x29f078(0x268)](this['_applier']['applyOp'](_0x546b13,_0x312b58));}[_0x2b8d6a(0x4c5)](_0x3fab17,_0x36ef42,_0x177f0a,_0x3e534e=this[_0x2b8d6a(0x23d)](_0x3fab17[_0x2b8d6a(0x3d7)][_0x36ef42])){const _0x188897=_0x2b8d6a;let _0x144888=_0x3fab17[_0x188897(0x3d7)][_0x36ef42],_0x4b57de=_0x177f0a[_0x188897(0x579)]??_0x177f0a[_0x188897(0x349)]??this[_0x188897(0x243)](),_0x37971a={..._0x177f0a,'createdBy':_0x177f0a[_0x188897(0x579)]??_0x4b57de,'updatedBy':_0x177f0a[_0x188897(0x349)]??_0x4b57de,'values':{..._0x177f0a['values']}};return _0x37971a[_0x188897(0x404)][_0xcf3cf2[_0x188897(0x509)]]=_0x37971a['id'],_0x144888[_0x188897(0x4ab)][_0x188897(0x458)](_0x57ea69=>{const _0x59b6a6=_0x188897;let _0x39a04d=_0x144888[_0x59b6a6(0x3b5)][_0x57ea69];if(_0x39a04d&&_0x37971a[_0x59b6a6(0x404)][_0x57ea69]===void 0x0)switch(_0x39a04d[_0x59b6a6(0x1cc)]){case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x5c1)]:var _0x2cf432;_0x37971a['values'][_0x57ea69]=((_0x2cf432=_0x3e534e[_0x59b6a6(0x4f0)](_0x57ea69))==null?void 0x0:_0x2cf432())??this[_0x59b6a6(0x589)](_0x144888,_0x57ea69)();break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x34f)]:_0x37971a['createdBy']&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a[_0x59b6a6(0x579)]);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x3b4)]:_0x37971a[_0x59b6a6(0x349)]&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a['updatedBy']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x413)]:_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x7aca16(_0x37971a['createdAt']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x305)]:_0x37971a['values'][_0x57ea69]=_0x7aca16(_0x37971a['updatedAt']);break;default:{let _0x897d1c=_0x39a04d[_0x59b6a6(0x334)];_0x897d1c!=null&&_0x897d1c!==''&&!(Array[_0x59b6a6(0x2a1)](_0x897d1c)&&_0x897d1c['length']===0x0)&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x897d1c);}}}),_0x37971a;}['_withModifiedSystemValues'](_0x4cb35c,_0x1162d3,_0x2852ce,_0x420865){const _0x3e9896=_0x2b8d6a;var _0x420e1c,_0x3658c6;let _0x68b725=_0x4cb35c[_0x3e9896(0x3d7)][_0x1162d3],_0x190113=((_0x420e1c=(_0x3658c6=this[_0x3e9896(0x1d9)])['now'])==null?void 0x0:_0x420e1c[_0x3e9896(0x29f)](_0x3658c6))??Date[_0x3e9896(0x208)](),_0x5c19af=this[_0x3e9896(0x243)](),_0x5221e4={..._0x420865};return _0x68b725[_0x3e9896(0x4ab)][_0x3e9896(0x458)](_0x10b852=>{const _0x5194f5=_0x3e9896;let _0x1e73d4=_0x68b725[_0x5194f5(0x3b5)][_0x10b852];_0x1e73d4&&(_0x1e73d4['type']===_0xcf3cf2['BaseFieldType'][_0x5194f5(0x305)]&&(_0x5221e4[_0x10b852]=_0x7aca16(_0x190113)),_0x1e73d4['type']===_0xcf3cf2[_0x5194f5(0x435)][_0x5194f5(0x3b4)]&&_0x5c19af&&(_0x5221e4[_0x10b852]=_0x5c19af));}),{'recordId':_0x2852ce,'values':_0x5221e4,'recordPatch':{'updatedAt':_0x190113,..._0x5c19af?{'updatedBy':_0x5c19af}:{}}};}[_0x2b8d6a(0x29d)](_0x3a4c02,_0x3335ae,_0x4059fb){const _0x4b3fb2=_0x2b8d6a;let _0x17f479=_0x3a4c02[_0x4b3fb2(0x3d7)][_0x3335ae];return!_0x17f479||!_0x423494(_0x4059fb)?[]:_0x4059fb[_0x4b3fb2(0x1cc)]===_0xcf3cf2[_0x4b3fb2(0x435)][_0x4b3fb2(0x5c1)]?this['_createNumberingFieldValuePatches'](_0x17f479,_0x4059fb['id']):Object['values'](_0x17f479[_0x4b3fb2(0x38a)])[_0x4b3fb2(0x5d0)](_0x1e487f=>{const _0x5f2e5a=_0x4b3fb2;let _0x5cb854=this[_0x5f2e5a(0x373)](_0x4059fb,_0x1e487f);return _0x5cb854===void 0x0?[]:[{'recordId':_0x1e487f['id'],'values':{[_0x4059fb['id']]:_0x5cb854}}];});}[_0x2b8d6a(0x373)](_0x72abd0,_0x198615){const _0x2d25d1=_0x2b8d6a;switch(_0x72abd0[_0x2d25d1(0x1cc)]){case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x34f)]:return _0x198615['createdBy']??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x3b4)]:return _0x198615[_0x2d25d1(0x349)]??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x413)]:return _0x7aca16(_0x198615[_0x2d25d1(0x562)]??Date['now']());case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x305)]:return _0x7aca16(_0x198615[_0x2d25d1(0x5b8)]??Date[_0x2d25d1(0x208)]());default:return;}}[_0x2b8d6a(0x23d)](_0x5cf8a2){const _0x28ddd0=_0x2b8d6a;let _0x11da88=new Map();return _0x5cf8a2&&_0x5cf8a2[_0x28ddd0(0x4ab)][_0x28ddd0(0x458)](_0x2b451d=>{const _0x3e3e86=_0x28ddd0;let _0x132284=_0x5cf8a2[_0x3e3e86(0x3b5)][_0x2b451d];(_0x132284==null?void 0x0:_0x132284[_0x3e3e86(0x1cc)])===_0xcf3cf2[_0x3e3e86(0x435)][_0x3e3e86(0x5c1)]&&_0x11da88[_0x3e3e86(0x22b)](_0x2b451d,this[_0x3e3e86(0x589)](_0x5cf8a2,_0x2b451d));}),_0x11da88;}[_0x2b8d6a(0x589)](_0xa8512,_0x2bc752){const _0x17096f=_0x2b8d6a;let _0x58a213=Object[_0x17096f(0x404)](_0xa8512[_0x17096f(0x38a)])[_0x17096f(0x23b)]((_0x45d0a1,_0x95b08f)=>{const _0x5b5149=_0x17096f;let _0x45d740=Number(_0x95b08f[_0x5b5149(0x404)][_0x2bc752]);return Number['isFinite'](_0x45d740)?Math[_0x5b5149(0x591)](_0x45d0a1,_0x45d740):_0x45d0a1;},0x0);return()=>String(++_0x58a213);}[_0x2b8d6a(0x2ba)](_0x5cf3a1,_0x1261c6){const _0x15b898=_0x2b8d6a;let _0x847a47=this[_0x15b898(0x3f9)](_0x5cf3a1),_0x37a07c=this['_createNumberingAllocator'](_0x5cf3a1,_0x1261c6);return _0x847a47[_0x15b898(0x5d0)](_0x281103=>this['_isNonEmptyCellValue'](_0x281103[_0x15b898(0x404)][_0x1261c6])?[]:[{'recordId':_0x281103['id'],'values':{[_0x1261c6]:_0x37a07c()}}]);}['_getOrderedRecords'](_0x258db2){const _0x38ae97=_0x2b8d6a;var _0x5c4d1d;let _0x55f06a=Object[_0x38ae97(0x404)](_0x258db2[_0x38ae97(0x38a)]),_0x54edf6=new Map(_0x55f06a[_0x38ae97(0x2c4)](_0x30cd27=>[_0x30cd27['id'],_0x30cd27])),_0x4cb4f4=[],_0x25ea74=new Set();(_0x5c4d1d=_0x258db2[_0x38ae97(0x5ab)])==null||_0x5c4d1d['forEach'](_0x17c08e=>{const _0x352699=_0x38ae97;let _0x2d8705=_0x54edf6[_0x352699(0x4f0)](_0x17c08e);_0x2d8705&&(_0x4cb4f4['push'](_0x2d8705),_0x25ea74[_0x352699(0x1d6)](_0x17c08e));});let _0x333a97=_0x55f06a[_0x38ae97(0x355)](_0x882cb4=>!_0x25ea74['has'](_0x882cb4['id']))[_0x38ae97(0x24e)]((_0x1d7de3,_0x30c006)=>String(_0x1d7de3[_0x38ae97(0x340)]??_0x1d7de3['id'])[_0x38ae97(0x1f9)](String(_0x30c006[_0x38ae97(0x340)]??_0x30c006['id']))||_0x1d7de3['id'][_0x38ae97(0x1f9)](_0x30c006['id']));return[..._0x4cb4f4,..._0x333a97];}[_0x2b8d6a(0x4d0)](_0x5eb90f){const _0x49b636=_0x2b8d6a;return _0x5eb90f!=null&&_0x5eb90f!==''&&!(Array[_0x49b636(0x2a1)](_0x5eb90f)&&_0x5eb90f[_0x49b636(0x3d4)]===0x0);}[_0x2b8d6a(0x243)](){const _0x3e7581=_0x2b8d6a;var _0x1566a5,_0x43274e,_0x24ba78,_0x4bdd20;return((_0x1566a5=(_0x43274e=this[_0x3e7581(0x1d9)])[_0x3e7581(0x351)])==null?void 0x0:_0x1566a5[_0x3e7581(0x29f)](_0x43274e))??((_0x24ba78=(_0x4bdd20=this[_0x3e7581(0x1d9)])[_0x3e7581(0x44e)])==null||(_0x24ba78=_0x24ba78[_0x3e7581(0x29f)](_0x4bdd20))==null?void 0x0:_0x24ba78['userID'])??void 0x0;}[_0x2b8d6a(0x58d)](_0x95bff0,_0x46af50,_0x4cb3dc,_0x235af4,_0x2079a9){const _0x595eca=_0x2b8d6a;var _0x51ab5c;if(!this['_permissionService']['canEditCell'](_0x46af50,_0x4cb3dc,_0x235af4))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x30a224=(_0x51ab5c=_0x95bff0[_0x595eca(0x3d7)][_0x46af50])==null?void 0x0:_0x51ab5c[_0x595eca(0x3b5)][_0x235af4];if(!_0x30a224)throw Error(_0x595eca(0x585)+_0x235af4+_0x595eca(0x294));let _0x28e837=this[_0x595eca(0x32a)][_0x595eca(0x4f0)](_0x30a224[_0x595eca(0x1cc)]);if(_0x30a224[_0x595eca(0x30e)]||_0x30a224[_0x595eca(0x27a)]||!_0x28e837['getCapabilities'](_0x30a224)[_0x595eca(0x57b)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x5e3d56=_0x28e837['normalize'](_0x2079a9,_0x30a224),_0x2d55f2=_0x28e837[_0x595eca(0x3af)](_0x5e3d56,_0x30a224);if(!_0x2d55f2[_0x595eca(0x47d)])throw Error(_0x2d55f2[_0x595eca(0x2e7)]??_0x595eca(0x338));let _0x3f9a2e=_0x30a224['type']===_0xcf3cf2[_0x595eca(0x435)]['RecordLink']?_0x3bd7ca(_0x95bff0,_0x30a224,_0x5e3d56):{'valid':!0x0};if(!_0x3f9a2e[_0x595eca(0x47d)])throw Error(_0x3f9a2e[_0x595eca(0x2e7)]??_0x595eca(0x4b2));return _0x5e3d56;}[_0x2b8d6a(0x2ea)](_0x33cca9,_0x167309){const _0xcd5d4e=_0x2b8d6a;if(_0x167309['id']===_0xcf3cf2[_0xcd5d4e(0x509)]||_0x167309['type']===_0xcf3cf2[_0xcd5d4e(0x435)][_0xcd5d4e(0x46d)]||(0x0,_0xcf3cf2[_0xcd5d4e(0x318)])(_0x167309[_0xcd5d4e(0x456)]))throw Error(_0xcd5d4e(0x36a));let _0x254569=_0x3f95e1(_0x33cca9,_0x167309);if(!_0x254569[_0xcd5d4e(0x47d)])throw Error(_0x254569[_0xcd5d4e(0x2e7)]??_0xcd5d4e(0x3ba));}};_0x1c8c77=_0x21a541([_0x429169(0x0,_0x2d44c2),_0x429169(0x1,_0x3dec17)],_0x1c8c77);function _0x208275(){const _0x3e7393=_0x2b8d6a;let _0x13e1dc=new _0x4d1e59();return _0x20ee48()['forEach'](_0x35c04f=>_0x13e1dc[_0x3e7393(0x3c3)](_0x35c04f)),_0x13e1dc;}function _0x423494(_0x283f8e){const _0x5239d0=_0x2b8d6a;return _0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['Numbering']||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['CreatedBy']||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x3b4)]||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x413)]||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x305)];}let _0xc71b6a=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x455)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]);function _0xb8c8b0(_0x333863){const _0x53d73d=_0x2b8d6a;let _0x307b6c=_0x333863[_0x53d73d(0x3b5)][_0x333863['primaryFieldId']];if((!_0x307b6c||_0x307b6c[_0x53d73d(0x27a)]!==!0x0&&_0x307b6c['id']['toLowerCase']()!=='id'&&_0x307b6c[_0x53d73d(0x456)][_0x53d73d(0x479)]()[_0x53d73d(0x402)]()!=='id')&&_0x307b6c)return _0x307b6c['id'];for(let _0x1f9d22 of _0x333863[_0x53d73d(0x4ab)]){let _0x5f4681=_0x333863[_0x53d73d(0x3b5)][_0x1f9d22];if(_0x5f4681&&_0x5f4681['id']!==_0x333863['primaryFieldId']&&_0x5f4681[_0x53d73d(0x27a)]!==!0x0&&_0x5f4681[_0x53d73d(0x1cc)]!==_0xcf3cf2[_0x53d73d(0x435)][_0x53d73d(0x46d)])return _0x5f4681['id'];}return _0x333863['primaryFieldId'];}function _0x47838f(_0x5740fa,_0x3ff577=[],_0x35c1e9=0x5){const _0x16a491=_0x2b8d6a;let _0xf07967=new Set(_0x3ff577[_0x16a491(0x355)](_0x30f414=>!!_0x30f414)),_0x2a62b2=[],_0x5b2510=[];for(let _0x29321f of _0x5740fa['fieldOrder']){let _0x341641=_0x5740fa['fields'][_0x29321f];_0x341641&&_0x341641[_0x16a491(0x27a)]!==!0x0&&_0x341641[_0x16a491(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x16a491(0x46d)]&&!_0xf07967[_0x16a491(0x244)](_0x341641['id'])&&(_0xc71b6a[_0x16a491(0x244)](_0x341641[_0x16a491(0x1cc)])?_0x2a62b2:_0x5b2510)[_0x16a491(0x309)](_0x341641['id']);}return[..._0x2a62b2,..._0x5b2510][_0x16a491(0x3de)](0x0,_0x35c1e9);}function _0x43edf4(){const _0x39d260=_0x2b8d6a;return[{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x372)],'i18nKey':_0x39d260(0x4bb),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1e3eff=_0x39d260;throw Error(_0x1e3eff(0x2d0));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)][_0x39d260(0x453)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x552c3d=>{const _0x2af832=_0x39d260;let _0x1a3ff9=_0x1336d3(_0x552c3d);return{'groupFieldId':_0x1a3ff9,'coverFieldId':null,'cardLayout':_0x2af832(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x552c3d[_0x2af832(0x4b4)],'fieldIds':_0x47838f(_0x552c3d,[_0x552c3d[_0x2af832(0x4b4)],_0x1a3ff9])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x48a3b6=_0x39d260;throw Error(_0x48a3b6(0x5e7));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x1e0)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0xaa10c9=>{const _0x240819=_0x39d260;let _0x5cae84=_0x306e49(_0xaa10c9);return{'startDateFieldId':_0x5cae84,'endDateFieldId':_0x2f06ae(_0xaa10c9,_0x5cae84),'titleFieldId':_0xaa10c9[_0x240819(0x4b4)],'mode':'month','timeslotSize':_0x240819(0x590),'timeZone':'local','displayColor':{'type':'custom','color':_0x240819(0x28c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x538cb5=_0x39d260;throw Error(_0x538cb5(0x454));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x228)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x304575=>{const _0x25184=_0x39d260;let _0x55cdcd=_0x306e49(_0x304575);return{'startDateFieldId':_0x55cdcd,'endDateFieldId':_0x2f06ae(_0x304575,_0x55cdcd)??_0x55cdcd,'titleFieldId':_0x304575['primaryFieldId'],'scale':_0x25184(0x599),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2d2b97=_0x39d260;throw Error(_0x2d2b97(0x280));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x711f07=>{const _0x3584f7=_0x39d260;let _0x172266=_0xb8c8b0(_0x711f07);return{'coverFieldId':null,'cardLayout':_0x3584f7(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x172266,'coverFieldId':null,'fieldIds':_0x47838f(_0x711f07,[_0x172266,_0x711f07[_0x3584f7(0x4b4)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x1336d3(_0xac2c51){const _0x584adb=_0x2b8d6a;var _0x45a393,_0x3ed911,_0x58004b;let _0x1e49ee=_0xac2c51['fieldOrder'][_0x584adb(0x2c4)](_0xd12532=>_0xac2c51[_0x584adb(0x3b5)][_0xd12532])[_0x584adb(0x355)](_0x20ea4c=>!!_0x20ea4c);return((_0x45a393=_0x1e49ee['find'](_0x4d18bd=>_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2e3)]||_0x4d18bd['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x336)]||_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['Group']))==null?void 0x0:_0x45a393['id'])??((_0x3ed911=_0x1e49ee[_0x584adb(0x22c)](_0x5195ff=>_0x5195ff[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x220)]))==null?void 0x0:_0x3ed911['id'])??((_0x58004b=_0x1e49ee[_0x584adb(0x22c)](_0x47c2a2=>_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2d9)]||_0x47c2a2['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x413)]||_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['UpdatedAt']))==null?void 0x0:_0x58004b['id'])??_0xac2c51[_0x584adb(0x4b4)];}function _0x306e49(_0x1f1eb0){const _0x2635ab=_0x2b8d6a;var _0x5def3f;return((_0x5def3f=_0x1f1eb0[_0x2635ab(0x4ab)][_0x2635ab(0x2c4)](_0x26caa5=>_0x1f1eb0['fields'][_0x26caa5])[_0x2635ab(0x22c)](_0x4bf00a))==null?void 0x0:_0x5def3f['id'])??'';}function _0x2f06ae(_0x37bbf4,_0x28b17f){const _0xf6cb44=_0x2b8d6a;var _0x1f0114;return(_0x1f0114=_0x37bbf4[_0xf6cb44(0x4ab)][_0xf6cb44(0x2c4)](_0x524890=>_0x37bbf4[_0xf6cb44(0x3b5)][_0x524890])[_0xf6cb44(0x22c)](_0x38f6e3=>_0x4bf00a(_0x38f6e3)&&_0x38f6e3['id']!==_0x28b17f))==null?void 0x0:_0x1f0114['id'];}function _0x4bf00a(_0x465a36){const _0x4a4c75=_0x2b8d6a;return!!_0x465a36&&_0x465a36[_0x4a4c75(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x4a4c75(0x2d9)]&&_0x465a36['readonly']!==!0x0&&_0x465a36['system']!==!0x0;}let _0x5e90db=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4c4)),_0x17654f=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2['BaseFieldType']['Progress'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)]['Date'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x413)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x305)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]),_0x4f4166=0x5265c00,_0x270515=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x1feba6){const _0x253f50=_0x2b8d6a;super(),this[_0x253f50(0x32a)]=_0x1feba6,_0x550e57(this,'_views',new Map()),_0x550e57(this,_0x253f50(0x572),new WeakMap()),_0x550e57(this,_0x253f50(0x38e),new Map()),_0x550e57(this,'_projectedViewRowsCache',new Map()),_0x550e57(this,_0x253f50(0x529),new Map()),_0x550e57(this,_0x253f50(0x25a),new Map()),_0x550e57(this,_0x253f50(0x3aa),0x0),_0x550e57(this,_0x253f50(0x31d),new Map()),_0x550e57(this,'_cellRevisions',new Map()),_0x550e57(this,'_cellInvalidations',new Map()),_0x550e57(this,_0x253f50(0x1ef),new Map());}[_0x2b8d6a(0x467)](_0x5b99b3){const _0x12546e=_0x2b8d6a;return this[_0x12546e(0x1c7)][_0x12546e(0x22b)](_0x5b99b3[_0x12546e(0x1cc)],_0x5b99b3),(0x0,_0xcf3cf2['toDisposable'])(()=>this[_0x12546e(0x1c7)][_0x12546e(0x472)](_0x5b99b3[_0x12546e(0x1cc)]));}['getProjection'](_0x4b2864,_0x441f69,_0x586f1a){const _0x2e9be0=_0x2b8d6a;var _0x811fe2,_0x52a4a7,_0x5e3890;return _0x4baece(_0x2e9be0(0x2e0),()=>{const _0x5b48a8=_0x2e9be0;let _0x56f7c6=this[_0x5b48a8(0x28b)](_0x4b2864,_0x441f69,_0x586f1a);if(_0x56f7c6)return _0x56f7c6;let _0x393d42=_0x4b2864[_0x5b48a8(0x3d7)][_0x441f69],_0x82e705=_0x393d42==null?void 0x0:_0x393d42[_0x5b48a8(0x2e4)][_0x586f1a];if(!_0x393d42||!_0x82e705)return this['_setCachedProjection'](_0x4b2864,_0x441f69,_0x586f1a,{'type':'invalid','viewType':(_0x82e705==null?void 0x0:_0x82e705[_0x5b48a8(0x1cc)])??_0xcf3cf2[_0x5b48a8(0x3c8)]['Grid'],'reason':'missingField'});let _0x5c8dde;switch(_0x82e705['type']){case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x372)]:_0x5c8dde=this[_0x5b48a8(0x41c)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x228)]:_0x5c8dde=this[_0x5b48a8(0x345)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)]['Kanban']:_0x5c8dde=this[_0x5b48a8(0x3e1)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x1e0)]:_0x5c8dde=this[_0x5b48a8(0x398)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x31f)]:_0x5c8dde=this[_0x5b48a8(0x59f)](_0x393d42,_0x82e705);break;default:_0x5c8dde={'type':'invalid','viewType':_0x82e705[_0x5b48a8(0x1cc)],'reason':_0x5b48a8(0x2ce)};}return this[_0x5b48a8(0x5b7)](_0x4b2864,_0x441f69,_0x586f1a,_0x5c8dde);},{'tableId':_0x441f69,'viewId':_0x586f1a,'viewType':(_0x811fe2=_0x4b2864['tables'][_0x441f69])==null||(_0x811fe2=_0x811fe2['views'][_0x586f1a])==null?void 0x0:_0x811fe2[_0x2e9be0(0x1cc)],'records':((_0x52a4a7=_0x4b2864[_0x2e9be0(0x3d7)][_0x441f69])==null||(_0x52a4a7=_0x52a4a7[_0x2e9be0(0x5ab)])==null?void 0x0:_0x52a4a7[_0x2e9be0(0x3d4)])??Object[_0x2e9be0(0x582)](((_0x5e3890=_0x4b2864['tables'][_0x441f69])==null?void 0x0:_0x5e3890[_0x2e9be0(0x38a)])??{})[_0x2e9be0(0x3d4)]});}['repairViewConfig'](_0xa0ebda,_0x1a1fee,_0x3595f7){const _0x9867c8=_0x2b8d6a;var _0x966ca7,_0x1aaa84,_0x3b248a;let _0x1cf3e3=_0xa0ebda[_0x9867c8(0x3d7)][_0x1a1fee],_0x10d857=_0x1cf3e3==null?void 0x0:_0x1cf3e3['views'][_0x3595f7];if(!_0x1cf3e3||!_0x10d857)throw Error(_0x9867c8(0x424)+_0x3595f7+'\x22.');let _0x3c5fb3=_0x3a58de=>!!_0x1cf3e3[_0x9867c8(0x3b5)][_0x3a58de],_0x56d503={..._0x10d857,'filter':_0x10d857[_0x9867c8(0x355)]?{..._0x10d857[_0x9867c8(0x355)],'conditions':_0x10d857[_0x9867c8(0x355)][_0x9867c8(0x4ef)]['filter'](_0x3de84e=>_0x3c5fb3(_0x3de84e[_0x9867c8(0x580)]))}:_0x10d857[_0x9867c8(0x355)],'sort':(_0x966ca7=_0x10d857[_0x9867c8(0x24e)])==null?void 0x0:_0x966ca7[_0x9867c8(0x355)](_0x21b929=>_0x3c5fb3(_0x21b929[_0x9867c8(0x580)])),'group':(_0x1aaa84=_0x10d857[_0x9867c8(0x484)])==null?void 0x0:_0x1aaa84[_0x9867c8(0x355)](_0x5f405c=>_0x3c5fb3(_0x5f405c[_0x9867c8(0x580)])),'fieldOrder':(_0x3b248a=_0x10d857[_0x9867c8(0x4ab)])==null?void 0x0:_0x3b248a['filter'](_0x3c5fb3),'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x10d857[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x25d7cf])=>_0x3c5fb3(_0x25d7cf)))};if(_0x56d503[_0x9867c8(0x1cc)]===_0x9867c8(0x57a)){var _0x498dd7;let _0x3b91d9=_0x56d503[_0x9867c8(0x5a3)]??{},_0x491d62=this[_0x9867c8(0x5d8)](_0x1cf3e3,_0x56d503),_0xf49868=this['_resolveCardTitleFieldId'](_0x1cf3e3,(_0x498dd7=_0x3b91d9[_0x9867c8(0x367)])==null?void 0x0:_0x498dd7[_0x9867c8(0x4cf)]);_0x56d503['config']={..._0x3b91d9,'groupFieldId':_0x491d62??_0x3b91d9[_0x9867c8(0x259)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x1cf3e3,_0x3b91d9),'cardLayout':_0x3b91d9[_0x9867c8(0x307)]===_0x9867c8(0x4b7)?_0x9867c8(0x4b7):'normal','showFieldNames':_0x3b91d9[_0x9867c8(0x524)]!==!0x1,'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x3b91d9[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x317362])=>_0x3c5fb3(_0x317362))),'columnSettings':_0x3b91d9[_0x9867c8(0x2d4)]??{},'card':{..._0x3b91d9[_0x9867c8(0x367)]??{},'titleFieldId':_0xf49868,'fieldIds':this[_0x9867c8(0x30a)](_0x1cf3e3,_0x56d503,_0x491d62??'',_0xf49868)}};}return{'repaired':JSON['stringify'](_0x56d503)!==JSON[_0x9867c8(0x322)](_0x10d857),'view':_0x56d503};}[_0x2b8d6a(0x498)](){const _0x1aa2b4=_0x2b8d6a;this[_0x1aa2b4(0x3aa)]++;}['invalidateByCell'](_0x3e529a,_0x1f705b,_0x319679){const _0x1751a2=_0x2b8d6a;let _0x4227d9=this[_0x1751a2(0x559)](_0x3e529a)+0x1;this[_0x1751a2(0x505)][_0x1751a2(0x22b)](_0x3e529a,_0x4227d9);let _0x4c2b81=this[_0x1751a2(0x49d)][_0x1751a2(0x4f0)](_0x3e529a)??[];_0x4c2b81['push']({'revision':_0x4227d9,'recordId':_0x1f705b,'fieldId':_0x319679}),this[_0x1751a2(0x49d)][_0x1751a2(0x22b)](_0x3e529a,_0x4c2b81);}['invalidateByField'](_0x5d0c9b,_0x474e8e){const _0xda0777=_0x2b8d6a;this[_0xda0777(0x25f)](_0x5d0c9b);}['invalidateByView'](_0x7fcd7c,_0x38a1a9){const _0xbb5953=_0x2b8d6a;this[_0xbb5953(0x1ef)][_0xbb5953(0x22b)](this['_viewRevisionKey'](_0x7fcd7c,_0x38a1a9),this[_0xbb5953(0x59e)](_0x7fcd7c,_0x38a1a9)+0x1);}[_0x2b8d6a(0x28b)](_0x392997,_0xb7d01a,_0x30a218){const _0x2afbb1=_0x2b8d6a;var _0x4c5a5d;let _0x3b8c78=(_0x4c5a5d=this[_0x2afbb1(0x572)][_0x2afbb1(0x4f0)](_0x392997))==null?void 0x0:_0x4c5a5d[_0x2afbb1(0x4f0)](this[_0x2afbb1(0x1db)](_0xb7d01a,_0x30a218));return _0x3b8c78&&_0x3b8c78[_0x2afbb1(0x261)]===this[_0x2afbb1(0x3aa)]&&_0x3b8c78[_0x2afbb1(0x211)]===this[_0x2afbb1(0x5e2)](_0xb7d01a)&&_0x3b8c78[_0x2afbb1(0x5e5)]===this[_0x2afbb1(0x559)](_0xb7d01a)&&_0x3b8c78['viewRevision']===this[_0x2afbb1(0x59e)](_0xb7d01a,_0x30a218)?_0x3b8c78[_0x2afbb1(0x538)]:null;}[_0x2b8d6a(0x5b7)](_0x2d0c29,_0x146601,_0xcc3183,_0x1c25a2){const _0x472a10=_0x2b8d6a;let _0x165717=this[_0x472a10(0x572)]['get'](_0x2d0c29);return _0x165717||(_0x165717=new Map(),this[_0x472a10(0x572)]['set'](_0x2d0c29,_0x165717)),_0x165717[_0x472a10(0x22b)](this[_0x472a10(0x1db)](_0x146601,_0xcc3183),{'projection':_0x1c25a2,'globalRevision':this[_0x472a10(0x3aa)],'tableRevision':this['_getTableRevision'](_0x146601),'cellRevision':this['_getCellRevision'](_0x146601),'viewRevision':this[_0x472a10(0x59e)](_0x146601,_0xcc3183)}),_0x1c25a2;}['_bumpTableRevision'](_0x547fee){const _0x2486bc=_0x2b8d6a;this[_0x2486bc(0x31d)]['set'](_0x547fee,this[_0x2486bc(0x5e2)](_0x547fee)+0x1);}[_0x2b8d6a(0x5e2)](_0x4fd0c1){const _0x37e35a=_0x2b8d6a;return this[_0x37e35a(0x31d)][_0x37e35a(0x4f0)](_0x4fd0c1)??0x0;}[_0x2b8d6a(0x559)](_0x545871){const _0x597938=_0x2b8d6a;return this[_0x597938(0x505)][_0x597938(0x4f0)](_0x545871)??0x0;}[_0x2b8d6a(0x59e)](_0x396e27,_0x27d652){const _0x3ca311=_0x2b8d6a;return this[_0x3ca311(0x1ef)][_0x3ca311(0x4f0)](this[_0x3ca311(0x500)](_0x396e27,_0x27d652))??0x0;}[_0x2b8d6a(0x1db)](_0x3eef5e,_0x131fb7){return _0x3eef5e+'\x00'+_0x131fb7;}[_0x2b8d6a(0x5b0)](_0x52a34c,_0x5d9dda){const _0x41bb2a=_0x2b8d6a;return _0x52a34c+'\x00'+this[_0x41bb2a(0x5fb)](_0x5d9dda);}[_0x2b8d6a(0x341)](_0x2adbeb,_0x1188d8,_0x3bff2a){const _0x288e52=_0x2b8d6a;return _0x2adbeb+'\x00'+this[_0x288e52(0x5fb)](_0x1188d8)+'\x00'+this[_0x288e52(0x1ee)](_0x3bff2a);}[_0x2b8d6a(0x5fb)](_0x429659){const _0x5ccdc5=_0x2b8d6a;return _0x429659?_0x1776c9({'filter':_0x5ddb6f(_0x429659['filter']),'sort':_0x16dfff(_0x429659['sort'])}):_0x5ccdc5(0x452);}[_0x2b8d6a(0x1ee)](_0x4207ec){const _0x5ecfbc=_0x2b8d6a;return _0x1776c9(_0x4207ec[_0x5ecfbc(0x2c4)](_0x38f6d7=>({'fieldId':_0x38f6d7[_0x5ecfbc(0x580)],'direction':_0x38f6d7[_0x5ecfbc(0x41d)]??null})));}['_viewRevisionKey'](_0x3f2482,_0x3ddbd0){return _0x3f2482+'\x00'+_0x3ddbd0;}[_0x2b8d6a(0x41c)](_0x422a6a,_0x4e3f4b){const _0x340558=_0x2b8d6a;var _0x1de354;let _0x25635e=_0x4f5050(_0x422a6a),_0x315f2b=this[_0x340558(0x40e)](_0x422a6a,_0x4e3f4b),_0x59e500=(_0x1de354=_0x4e3f4b['filter'])!=null&&_0x1de354['conditions']['length']?this['_projectRows'](_0x422a6a,{..._0x4e3f4b,'filter':null}):_0x315f2b,_0x47ac0f=_0xf3e46d(this['_getHierarchyIndex'](_0x422a6a,_0x25635e,_0x4e3f4b['id'],_0x59e500[_0x340558(0x2c4)](_0x53b042=>_0x53b042[_0x340558(0x57e)])),_0x59e500,new Set(_0x315f2b[_0x340558(0x2c4)](_0x71f439=>_0x71f439[_0x340558(0x57e)])));return{'type':_0xcf3cf2[_0x340558(0x3c8)][_0x340558(0x372)],'fields':this['_projectFields'](_0x422a6a,_0x4e3f4b),'rows':_0x47ac0f[_0x340558(0x5e6)],'groups':this[_0x340558(0x221)](_0x422a6a,_0x4e3f4b,_0x47ac0f[_0x340558(0x5e6)],_0x47ac0f[_0x340558(0x326)]),'hierarchy':_0x47ac0f['hierarchy'],'frozenFieldCount':typeof _0x4e3f4b['config'][_0x340558(0x56d)]==_0x340558(0x202)?_0x4e3f4b['config'][_0x340558(0x56d)]:0x0};}[_0x2b8d6a(0x58a)](_0xbaab54,_0x186038,_0x5317cb,_0x10b423){const _0x3e2c5e=_0x2b8d6a;let _0x139a46=_0xbaab54['id']+'\x00'+_0x186038+'\x00'+_0x5317cb,_0x3ec403=this[_0x3e2c5e(0x559)](_0xbaab54['id']),_0x36d1c2=this['_hierarchyIndexCache'][_0x3e2c5e(0x4f0)](_0x139a46);if(_0x36d1c2&&_0x36d1c2[_0x3e2c5e(0x261)]===this['_globalRevision']&&_0x36d1c2[_0x3e2c5e(0x211)]===this[_0x3e2c5e(0x5e2)](_0xbaab54['id'])&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x3d4)]===_0x10b423[_0x3e2c5e(0x3d4)]&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x320)]((_0x3330ac,_0x5e2f99)=>_0x3330ac===_0x10b423[_0x5e2f99])){if(_0x36d1c2[_0x3e2c5e(0x5e5)]===_0x3ec403&&_0x36d1c2['table']===_0xbaab54)return _0x36d1c2[_0x3e2c5e(0x295)];if(!this['_cellInvalidationsTouchFields'](_0xbaab54['id'],_0x36d1c2[_0x3e2c5e(0x5e5)],_0x3ec403,new Set([_0x186038])))return this['_hierarchyIndexCache'][_0x3e2c5e(0x22b)](_0x139a46,{..._0x36d1c2,'table':_0xbaab54,'cellRevision':_0x3ec403}),_0x36d1c2[_0x3e2c5e(0x295)];}let _0x395926=_0x3760a3(_0xbaab54,_0x186038,_0x10b423);return this[_0x3e2c5e(0x25a)][_0x3e2c5e(0x22b)](_0x139a46,{'table':_0xbaab54,'index':_0x395926,'orderedRecordIds':_0x10b423,'globalRevision':this[_0x3e2c5e(0x3aa)],'tableRevision':this[_0x3e2c5e(0x5e2)](_0xbaab54['id']),'cellRevision':_0x3ec403}),_0x395926;}['_projectHierarchyGroups'](_0x1c4453,_0x45a785,_0x5553f0,_0x182a2e){const _0x4423ef=_0x2b8d6a;var _0x472e28;if(!((_0x472e28=_0x45a785[_0x4423ef(0x484)])!=null&&_0x472e28[_0x4423ef(0x3d4)]))return[];let _0x58f7e7=new Map(_0x5553f0[_0x4423ef(0x2c4)](_0x24726f=>[_0x24726f['recordId'],_0x24726f])),_0x137737=_0x182a2e['rootRecordIds']['flatMap'](_0x2d01de=>{const _0x35e51f=_0x4423ef;let _0xd41f44=_0x58f7e7[_0x35e51f(0x4f0)](_0x2d01de);return _0xd41f44?[_0xd41f44]:[];}),_0x21d659=this[_0x4423ef(0x57d)](_0x1c4453,_0x45a785,_0x137737),_0x5bdedd=new Map(_0x182a2e[_0x4423ef(0x5c5)][_0x4423ef(0x2c4)]((_0x35f2ff,_0x50a8c7)=>[_0x35f2ff,_0x50a8c7])),_0x5462bb=_0x35d0e4=>{const _0x2bf7d3=_0x4423ef;let _0x49e0d9=_0x182a2e[_0x2bf7d3(0x4e9)][_0x35d0e4],_0x2c7796=_0x5bdedd[_0x2bf7d3(0x4f0)](_0x35d0e4)??-0x1;return _0x2c7796<0x0||!_0x49e0d9?[]:_0x182a2e[_0x2bf7d3(0x5c5)][_0x2bf7d3(0x3de)](_0x2c7796,_0x49e0d9['subtreeEndIndex']+0x1);},_0x4f3ece=_0xada5d0=>{const _0x3a5c63=_0x4423ef;var _0x4df81e,_0x572a00;return{..._0xada5d0,'recordIds':(_0x4df81e=_0xada5d0[_0x3a5c63(0x1fb)])!=null&&_0x4df81e[_0x3a5c63(0x3d4)]?_0xada5d0[_0x3a5c63(0x5b2)]:_0xada5d0[_0x3a5c63(0x5b2)]['flatMap'](_0x5462bb),'children':(_0x572a00=_0xada5d0[_0x3a5c63(0x1fb)])==null?void 0x0:_0x572a00[_0x3a5c63(0x2c4)](_0x4f3ece)};};return _0x21d659[_0x4423ef(0x2c4)](_0x4f3ece);}[_0x2b8d6a(0x3e1)](_0x5f03e8,_0x30e945){const _0x31e782=_0x2b8d6a;var _0x25a0e1;let _0xdec091=this['_resolveKanbanGroupFieldId'](_0x5f03e8,_0x30e945),_0x311b50=_0xdec091?_0x5f03e8[_0x31e782(0x3b5)][_0xdec091]:void 0x0;if(!_0x311b50)return{'type':'invalid','viewType':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'reason':_0x31e782(0x4e5),'fieldId':_0x30e945[_0x31e782(0x5a3)][_0x31e782(0x259)]};let _0x1622ae=this[_0x31e782(0x40e)](_0x5f03e8,_0x30e945),_0x4dddfc=this[_0x31e782(0x352)](_0x5f03e8,_0x30e945),_0x16881a=_0x30e945[_0x31e782(0x5a3)]??{},_0x284c5a=this[_0x31e782(0x41b)](_0x5f03e8,(_0x25a0e1=_0x16881a[_0x31e782(0x367)])==null?void 0x0:_0x25a0e1[_0x31e782(0x4cf)]),_0x598c69=this[_0x31e782(0x30a)](_0x5f03e8,_0x30e945,_0x311b50['id'],_0x284c5a),_0x4b45b8=new Map();if(_0x4d880f(_0x5f03e8,_0x311b50['id'])){let _0x17df29=this[_0x31e782(0x58a)](_0x5f03e8,_0x311b50['id'],_0x30e945['id'],_0x1622ae[_0x31e782(0x2c4)](_0x3885a7=>_0x3885a7[_0x31e782(0x57e)])),_0x3b7339=new Map();return _0x1622ae[_0x31e782(0x458)](_0x22e9e7=>{const _0x473187=_0x31e782;let _0x51e0ea=_0x17df29['parentByRecordId'][_0x473187(0x4f0)](_0x22e9e7[_0x473187(0x57e)])??null,_0x387c92=_0x51e0ea??'',_0x4c3e27=_0x51e0ea?_0x5f03e8['records'][_0x51e0ea]:void 0x0,_0x20df35=_0x3b7339['get'](_0x387c92)??{'key':_0x387c92,'title':_0x4c3e27?String(_0x4bd91a(_0x5f03e8,_0x4c3e27['id'],_0x5f03e8[_0x473187(0x4b4)])??_0x51e0ea):this[_0x473187(0x55d)](_0x311b50,_0x387c92,_0x16881a),'recordIds':[]};_0x20df35[_0x473187(0x5b2)][_0x473187(0x309)](_0x22e9e7[_0x473187(0x57e)]),_0x3b7339[_0x473187(0x22b)](_0x387c92,_0x20df35);}),{'type':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':[],'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this[_0x31e782(0x5c4)](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a[_0x31e782(0x307)]===_0x31e782(0x4b7)?_0x31e782(0x4b7):'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':['',..._0x17df29[_0x31e782(0x5c5)]][_0x31e782(0x5d0)](_0x562b62=>{const _0x259dcd=_0x31e782;let _0x39d4bd=_0x3b7339['get'](_0x562b62);return _0x39d4bd!=null&&_0x39d4bd[_0x259dcd(0x5b2)]['length']?[_0x39d4bd]:[];})};}return this[_0x31e782(0x316)](_0x311b50,_0x16881a)[_0x31e782(0x458)](_0x3dabf6=>_0x4b45b8[_0x31e782(0x22b)](_0x3dabf6[_0x31e782(0x2fc)],{..._0x3dabf6,'recordIds':[]})),_0x1622ae[_0x31e782(0x458)](_0x13cc75=>{const _0x5c3d84=_0x31e782;this['_kanbanGroupKeys'](_0x311b50,_0x13cc75[_0x5c3d84(0x404)][_0x311b50['id']])[_0x5c3d84(0x458)](_0x34f521=>{const _0x3c68c0=_0x5c3d84;let _0x1007f7=_0x4b45b8[_0x3c68c0(0x4f0)](_0x34f521)??{'key':_0x34f521,'title':this['_kanbanLaneTitle'](_0x311b50,_0x34f521,_0x16881a),'color':this['_kanbanLaneColor'](_0x311b50,_0x34f521,_0x16881a),'recordIds':[]};_0x1007f7['recordIds'][_0x3c68c0(0x309)](_0x13cc75[_0x3c68c0(0x57e)]),_0x4b45b8[_0x3c68c0(0x22b)](_0x34f521,_0x1007f7);});}),{'type':_0xcf3cf2[_0x31e782(0x3c8)][_0x31e782(0x453)],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':this[_0x31e782(0x57d)](_0x5f03e8,_0x30e945,_0x1622ae),'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a['cardLayout']===_0x31e782(0x4b7)?'compose':'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':Array['from'](_0x4b45b8[_0x31e782(0x404)]())};}[_0x2b8d6a(0x5d8)](_0x3a8a94,_0x4198b8){const _0x342225=_0x2b8d6a;var _0x12f9c8;let _0x57ed08=(_0x12f9c8=_0x4198b8[_0x342225(0x5a3)])==null?void 0x0:_0x12f9c8[_0x342225(0x259)];return _0x57ed08&&this['_isKanbanGroupField'](_0x3a8a94,_0x57ed08)?_0x57ed08:this[_0x342225(0x4e2)](_0x3a8a94,_0x37f57d=>this['_isAllowedKanbanGroupField'](_0x37f57d));}[_0x2b8d6a(0x4e2)](_0x3d72f2,_0x3b384e){const _0x477872=_0x2b8d6a;for(let _0x3d1391 of _0x3d72f2[_0x477872(0x4ab)]){let _0x48f496=_0x3d72f2['fields'][_0x3d1391];if(_0x48f496&&_0x3b384e(_0x48f496))return _0x48f496['id'];}return null;}['_isKanbanGroupField'](_0x5247f8,_0x204ec2){const _0x1b3492=_0x2b8d6a;let _0x2cd1e5=_0x5247f8[_0x1b3492(0x3b5)][_0x204ec2];return this[_0x1b3492(0x237)](_0x2cd1e5)||_0x4d880f(_0x5247f8,_0x204ec2);}[_0x2b8d6a(0x237)](_0x5d383f){const _0x5ca60b=_0x2b8d6a;return!!_0x5d383f&&(_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['SingleSelect']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x336)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['Rating']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x5ca60b(0x3d5)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x3fa)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x5f8)]);}['_isColorfulKanbanGroupField'](_0x1dd41f){const _0x1a888c=_0x2b8d6a;return _0x1dd41f[_0x1a888c(0x1cc)]===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x2e3)]||_0x1dd41f['type']===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x336)];}[_0x2b8d6a(0x5c4)](_0x585b2b,_0x1c2239){const _0x56144c=_0x2b8d6a;var _0x2b722a;let _0x1a2fe6=_0x1c2239[_0x56144c(0x4d3)]??((_0x2b722a=_0x1c2239[_0x56144c(0x367)])==null?void 0x0:_0x2b722a['coverFieldId'])??null;if(!_0x1a2fe6)return null;let _0x4df563=_0x585b2b['fields'][_0x1a2fe6];return _0x4df563&&this[_0x56144c(0x539)](_0x4df563)[_0x56144c(0x33a)]?_0x4df563['id']:null;}['_resolveKanbanCardFieldIds'](_0xa88947,_0x5c90d6,_0x1c204a,_0x3e7c72=this[_0x2b8d6a(0x41b)](_0xa88947,((()=>{const _0x1a8f4d=_0x2b8d6a;var _0x51b615;return(_0x51b615=_0x5c90d6[_0x1a8f4d(0x5a3)])==null||(_0x51b615=_0x51b615[_0x1a8f4d(0x367)])==null?void 0x0:_0x51b615[_0x1a8f4d(0x4cf)];})()))){const _0x537563=_0x2b8d6a;var _0x16cfa5;let _0x55466d=_0x5c90d6[_0x537563(0x5a3)]??{},_0x3a806d=(_0x16cfa5=_0x55466d[_0x537563(0x367)])!=null&&(_0x16cfa5=_0x16cfa5[_0x537563(0x4a6)])!=null&&_0x16cfa5['length']?_0x55466d[_0x537563(0x367)][_0x537563(0x4a6)]:_0x47838f(_0xa88947,[_0x3e7c72,_0xa88947['primaryFieldId'],_0x1c204a]),_0xa470ce=_0x55466d[_0x537563(0x239)]??{};return _0x3a806d['filter'](_0x3e5f76=>{const _0x37c9bb=_0x537563;var _0xf17c65,_0x58866a;let _0x4b0362=_0xa88947[_0x37c9bb(0x3b5)][_0x3e5f76];return!(!_0x4b0362||_0x4b0362[_0x37c9bb(0x27a)]===!0x0||_0x4b0362[_0x37c9bb(0x1cc)]===_0xcf3cf2[_0x37c9bb(0x435)][_0x37c9bb(0x46d)]||_0x4b0362['id']===_0x1c204a||_0x4b0362['id']===_0x3e7c72||(_0xf17c65=_0x5c90d6[_0x37c9bb(0x239)])!=null&&(_0xf17c65=_0xf17c65[_0x3e5f76])!=null&&_0xf17c65[_0x37c9bb(0x4e3)]||(_0x58866a=_0xa470ce[_0x3e5f76])!=null&&_0x58866a[_0x37c9bb(0x4e3)]);})[_0x537563(0x24e)]((_0x5f1160,_0x2d8a99)=>{const _0x40c3=_0x537563;var _0x2281e1,_0xe81b72;return(((_0x2281e1=_0xa470ce[_0x5f1160])==null?void 0x0:_0x2281e1[_0x40c3(0x281)])??_0x3a806d[_0x40c3(0x267)](_0x5f1160))-(((_0xe81b72=_0xa470ce[_0x2d8a99])==null?void 0x0:_0xe81b72['order'])??_0x3a806d[_0x40c3(0x267)](_0x2d8a99));});}[_0x2b8d6a(0x316)](_0xb65312,_0x2a0ac0){const _0x29ef0f=_0x2b8d6a;var _0x3c423a;let _0x27862a=(Array['isArray']((_0x3c423a=_0xb65312[_0x29ef0f(0x5a3)])==null?void 0x0:_0x3c423a[_0x29ef0f(0x5cc)])?_0xb65312[_0x29ef0f(0x5a3)][_0x29ef0f(0x5cc)]:[])['flatMap']((_0x14f649,_0x2620f3)=>{const _0x3d2adc=_0x29ef0f;if(_0x14f649==null)return[];let _0xaa1230=typeof _0x14f649==_0x3d2adc(0x3ea)?{'id':_0x14f649,'name':_0x14f649,'color':void 0x0}:_0x14f649,_0x3a38d5=String(_0xaa1230['id']??_0xaa1230[_0x3d2adc(0x456)]??_0x3d2adc(0x290)+(_0x2620f3+0x1));return[{'key':_0x3a38d5,'title':String(_0xaa1230[_0x3d2adc(0x456)]??_0xaa1230['id']??_0x3a38d5),'color':this[_0x3d2adc(0x520)](_0xb65312,_0x3a38d5,_0x2a0ac0)}];});return Object[_0x29ef0f(0x271)](_0x2a0ac0[_0x29ef0f(0x2d4)]??{})[_0x29ef0f(0x458)](([_0x476b95,_0x1fa9f1])=>{const _0x3dca83=_0x29ef0f;_0x27862a[_0x3dca83(0x20f)](_0x21bd77=>_0x21bd77[_0x3dca83(0x2fc)]===_0x476b95)||_0x27862a['push']({'key':_0x476b95,'title':this[_0x3dca83(0x5be)](_0xb65312)?_0x1fa9f1[_0x3dca83(0x5fc)]??this['_kanbanLaneTitle'](_0xb65312,_0x476b95,_0x2a0ac0):this[_0x3dca83(0x55d)](_0xb65312,_0x476b95,_0x2a0ac0),'color':this['_kanbanLaneColor'](_0xb65312,_0x476b95,_0x2a0ac0)});}),_0x27862a;}[_0x2b8d6a(0x4d4)](_0x1cf456,_0x5ca577){const _0x144bef=_0x2b8d6a;let _0x507b5a=_0x5cf321=>{var _0x34b9d6;let _0xf01b3b=_0x5cf321==null?'':String(_0x5cf321);return!_0xf01b3b||!this['_isColorfulKanbanGroupField'](_0x1cf456)?_0xf01b3b:((_0x34b9d6=_0x58a201(_0x1cf456,_0xf01b3b))==null?void 0x0:_0x34b9d6['id'])??_0xf01b3b;};if(Array[_0x144bef(0x2a1)](_0x5ca577)){let _0x392657=_0x5ca577[_0x144bef(0x2c4)](_0x507b5a)[_0x144bef(0x355)](_0x235142=>_0x235142!=='');return _0x392657[_0x144bef(0x3d4)]?_0x392657:[''];}return[_0x507b5a(_0x5ca577)];}[_0x2b8d6a(0x55d)](_0x3e9ccf,_0xa96693,_0xec66b7){const _0x5f14a5=_0x2b8d6a;if(!_0xa96693)return _0x5f14a5(0x5b3);let _0x5aaf81=_0x58a201(_0x3e9ccf,_0xa96693);return(_0x5aaf81==null?void 0x0:_0x5aaf81[_0x5f14a5(0x456)])??_0xa96693;}[_0x2b8d6a(0x520)](_0x462ba6,_0x50963d,_0xcc2251){const _0x5898da=_0x2b8d6a;var _0xc9f2b5;if(this['_isColorfulKanbanGroupField'](_0x462ba6))return(_0xc9f2b5=_0x58a201(_0x462ba6,_0x50963d))==null?void 0x0:_0xc9f2b5[_0x5898da(0x21d)];}[_0x2b8d6a(0x398)](_0x5611dc,_0x261a76){const _0x3578d1=_0x2b8d6a;let _0x233e3c=this[_0x3578d1(0x2f0)](_0x5611dc,_0x261a76[_0x3578d1(0x5a3)]??{}),_0x17236e=_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c['startDateFieldId']];if(!_0x17236e||_0x17236e['type']!==_0xcf3cf2[_0x3578d1(0x435)][_0x3578d1(0x2d9)]||_0x17236e[_0x3578d1(0x30e)]===!0x0||_0x17236e[_0x3578d1(0x27a)]===!0x0||!this[_0x3578d1(0x539)](_0x17236e)[_0x3578d1(0x543)])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Calendar'],'reason':_0x3578d1(0x2a4),'fieldId':_0x233e3c[_0x3578d1(0x31c)]};let _0x274ffc=_0x233e3c['endDateFieldId']?_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c[_0x3578d1(0x2b3)]]:void 0x0,_0x3d341c=this[_0x3578d1(0x40e)](_0x5611dc,_0x261a76);return{'type':_0xcf3cf2[_0x3578d1(0x3c8)][_0x3578d1(0x1e0)],'config':_0x233e3c,'fields':this[_0x3578d1(0x352)](_0x5611dc,_0x261a76),'rows':_0x3d341c,'groups':this[_0x3578d1(0x57d)](_0x5611dc,_0x261a76,_0x3d341c),'events':_0x3d341c[_0x3578d1(0x5d0)](_0x50418c=>{const _0x3ba959=_0x3578d1;let _0x1ff157=_0x3ded3a(_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]]);if(!Number[_0x3ba959(0x2b0)](_0x1ff157))return[];let _0x57e629=_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]],_0x16d9fa=_0x233e3c[_0x3ba959(0x2b3)]==null?void 0x0:_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x2b3)]],_0x4871d2=_0x233e3c['endDateFieldId']==null?void 0x0:_0x3ded3a(_0x16d9fa),_0xec520a=Number[_0x3ba959(0x2b0)](_0x4871d2)?_0x4871d2:void 0x0;return[{'recordId':_0x50418c[_0x3ba959(0x57e)],'title':this[_0x3ba959(0x2a2)](_0x5611dc,_0x50418c,_0x233e3c[_0x3ba959(0x4cf)]),'start':_0x1ff157,'end':_0xec520a,'color':this['_calendarEventColor'](_0x5611dc,_0x50418c,_0x233e3c),'startMs':_0x1ff157,'endMs':_0xec520a,'allDay':this[_0x3ba959(0x4e4)](_0x17236e,_0x274ffc,_0x57e629,_0x16d9fa),'fieldValues':_0x50418c['values']}];})};}['_normalizeCalendarConfig'](_0x55743a,_0x309a7b){const _0x353d8a=_0x2b8d6a;let _0x9ad9bc=this[_0x353d8a(0x55a)](_0x55743a,_0x309a7b[_0x353d8a(0x31c)]),_0x1642de=_0x309a7b[_0x353d8a(0x2b3)]&&this['_isCalendarDateField'](_0x55743a,_0x309a7b[_0x353d8a(0x2b3)])?_0x309a7b[_0x353d8a(0x2b3)]:this[_0x353d8a(0x4a0)](_0x55743a,_0x9ad9bc)??void 0x0,_0x27721c=_0x309a7b['titleFieldId']?_0x55743a[_0x353d8a(0x3b5)][_0x309a7b[_0x353d8a(0x4cf)]]:void 0x0,_0x5955af=_0x27721c&&_0x27721c['system']!==!0x0&&_0x27721c['type']!==_0xcf3cf2[_0x353d8a(0x435)][_0x353d8a(0x46d)]?_0x309a7b[_0x353d8a(0x4cf)]:_0x55743a[_0x353d8a(0x4b4)],_0x37d534=_0x309a7b[_0x353d8a(0x42c)]===_0x353d8a(0x2af)||_0x309a7b[_0x353d8a(0x42c)]==='week'?_0x309a7b[_0x353d8a(0x42c)]:'month',_0xbb6627=_0x309a7b[_0x353d8a(0x33f)]===_0x353d8a(0x48e)||_0x309a7b['timeslotSize']===_0x353d8a(0x4a8)?_0x309a7b[_0x353d8a(0x33f)]:_0x353d8a(0x590),_0x3404d3=typeof _0x309a7b[_0x353d8a(0x5f7)]==_0x353d8a(0x3ea)&&_0x309a7b[_0x353d8a(0x5f7)]['trim']()?_0x309a7b['timeZone']:_0x353d8a(0x3f3),_0x177d42=this['_normalizeCalendarDisplayColor'](_0x55743a,_0x309a7b);return{..._0x309a7b,'startDateFieldId':_0x9ad9bc,'endDateFieldId':_0x1642de,'titleFieldId':_0x5955af,'mode':_0x37d534,'timeslotSize':_0xbb6627,'timeZone':_0x3404d3,'displayColor':_0x177d42,'fieldSettings':Object['fromEntries'](Object[_0x353d8a(0x271)](_0x309a7b[_0x353d8a(0x239)]??{})[_0x353d8a(0x355)](([_0x437f5e])=>{const _0x9d394c=_0x353d8a;let _0x7609a3=_0x55743a[_0x9d394c(0x3b5)][_0x437f5e];return!!(_0x7609a3&&_0x7609a3['system']!==!0x0&&_0x7609a3['type']!==_0xcf3cf2[_0x9d394c(0x435)][_0x9d394c(0x46d)]);}))};}[_0x2b8d6a(0x55a)](_0x3a28eb,_0x17cbf9){const _0x4a45b8=_0x2b8d6a;return _0x17cbf9&&this['_isCalendarDateField'](_0x3a28eb,_0x17cbf9)?_0x17cbf9:this[_0x4a45b8(0x4a0)](_0x3a28eb)??_0x17cbf9??'';}[_0x2b8d6a(0x4a0)](_0xe8bbe1,_0x3a5924){const _0x592d5d=_0x2b8d6a;for(let _0x10d7cb of _0xe8bbe1['fieldOrder'])if(_0x10d7cb!==_0x3a5924&&this[_0x592d5d(0x3bc)](_0xe8bbe1,_0x10d7cb))return _0x10d7cb;return null;}['_isCalendarDateField'](_0xd382a1,_0x11f4a5){const _0x2399d5=_0x2b8d6a;let _0x544717=_0xd382a1[_0x2399d5(0x3b5)][_0x11f4a5];return!!_0x544717&&_0x544717[_0x2399d5(0x1cc)]===_0xcf3cf2[_0x2399d5(0x435)][_0x2399d5(0x2d9)]&&_0x544717[_0x2399d5(0x30e)]!==!0x0&&_0x544717[_0x2399d5(0x27a)]!==!0x0&&this['_capabilities'](_0x544717)[_0x2399d5(0x543)];}[_0x2b8d6a(0x3f8)](_0x43c01c,_0x554dc2){const _0x55a5bc=_0x2b8d6a;let _0x570785=_0x554dc2[_0x55a5bc(0x4c6)];if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x3df)){let _0x1bfe8e=_0x43c01c[_0x55a5bc(0x3b5)][_0x570785['fieldId']];if(_0x1bfe8e&&_0x1bfe8e[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return _0x570785;}if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x541)&&typeof _0x570785['color']==_0x55a5bc(0x3ea)&&_0x570785[_0x55a5bc(0x21d)]['trim']())return{'type':'custom','color':_0x570785[_0x55a5bc(0x21d)]};if(_0x554dc2['colorFieldId']){let _0x2dd23c=_0x43c01c['fields'][_0x554dc2['colorFieldId']];if(_0x2dd23c&&_0x2dd23c[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return{'type':'selectField','fieldId':_0x554dc2[_0x55a5bc(0x4cc)]};}return{'type':_0x55a5bc(0x541),'color':_0x55a5bc(0x28c)};}[_0x2b8d6a(0x32d)](_0xdf06ea,_0x52ccc0,_0x20dc8e){const _0xa3c704=_0x2b8d6a;let _0x16c54=_0x20dc8e[_0xa3c704(0x4c6)];if((_0x16c54==null?void 0x0:_0x16c54[_0xa3c704(0x1cc)])===_0xa3c704(0x3df)){var _0x534dc1;let _0x2ff1b5=_0xdf06ea[_0xa3c704(0x3b5)][_0x16c54['fieldId']];if(!_0x2ff1b5)return;let _0x41d54b=_0x52ccc0[_0xa3c704(0x404)][_0x16c54[_0xa3c704(0x580)]],_0x370e09=Array['isArray'](_0x41d54b)?_0x41d54b[0x0]:_0x41d54b;return _0x370e09==null||(_0x534dc1=_0x58a201(_0x2ff1b5,String(_0x370e09)))==null?void 0x0:_0x534dc1['color'];}if((_0x16c54==null?void 0x0:_0x16c54['type'])===_0xa3c704(0x541))return _0x16c54[_0xa3c704(0x21d)];}[_0x2b8d6a(0x4e4)](_0x18a15f,_0x25e356,_0x205fec,_0x4016ce){const _0x4ce30a=_0x2b8d6a;var _0xfc6c72,_0x479dd7;let _0x553944=((_0xfc6c72=_0x18a15f[_0x4ce30a(0x5a3)])==null?void 0x0:_0xfc6c72[_0x4ce30a(0x5b1)])===!0x0,_0x363fa1=(_0x25e356==null||(_0x479dd7=_0x25e356[_0x4ce30a(0x5a3)])==null?void 0x0:_0x479dd7[_0x4ce30a(0x5b1)])===!0x0;return!_0x553944&&!_0x363fa1;}[_0x2b8d6a(0x3c6)](_0x5a8e5f,_0x1e37dd){const _0x1bec53=_0x2b8d6a;var _0x20091d,_0x2ae508;let _0x4866e6=((_0x20091d=_0x5a8e5f[_0x1bec53(0x5a3)])==null?void 0x0:_0x20091d[_0x1bec53(0x5b1)])===!0x0,_0x373ad0=((_0x2ae508=_0x1e37dd['config'])==null?void 0x0:_0x2ae508[_0x1bec53(0x5b1)])===!0x0;return!_0x4866e6&&!_0x373ad0;}[_0x2b8d6a(0x345)](_0x3785ea,_0x18c3b0){const _0x5ef0cf=_0x2b8d6a;let _0x326ee0=this[_0x5ef0cf(0x409)](_0x3785ea,_0x18c3b0['config']),_0xa1337e=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x31c)]];if(!_0xa1337e||_0xa1337e[_0x5ef0cf(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xa1337e[_0x5ef0cf(0x30e)]===!0x0||_0xa1337e['system']===!0x0||!this['_capabilities'](_0xa1337e)['usableAsGanttStart'])return{'type':'invalid','viewType':_0xcf3cf2[_0x5ef0cf(0x3c8)][_0x5ef0cf(0x228)],'reason':'invalidGanttStartField','fieldId':_0x326ee0['startDateFieldId']};let _0xf1d514=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x2b3)]];if(!_0xf1d514||_0xf1d514['type']!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xf1d514[_0x5ef0cf(0x30e)]===!0x0||_0xf1d514[_0x5ef0cf(0x27a)]===!0x0||!this[_0x5ef0cf(0x539)](_0xf1d514)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x326ee0['endDateFieldId']};let _0x3811e5=this[_0x5ef0cf(0x3c6)](_0xa1337e,_0xf1d514),_0x101090=this[_0x5ef0cf(0x40e)](_0x3785ea,_0x18c3b0),_0x537edc=_0x101090[_0x5ef0cf(0x5d0)](_0x27794a=>{const _0x3710aa=_0x5ef0cf;let _0x4d5c33=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x31c)]]),_0x2504bd=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x2b3)]]);if(!Number['isFinite'](_0x4d5c33)||!Number[_0x3710aa(0x2b0)](_0x2504bd))return[];let _0x1b105b=Math[_0x3710aa(0x4f1)](_0x4d5c33,_0x2504bd),_0xf93a1=Math[_0x3710aa(0x591)](_0x4d5c33,_0x2504bd),_0x1e6b16=_0x326ee0['progressFieldId']==null?void 0x0:Number(_0x27794a['values'][_0x326ee0[_0x3710aa(0x5d5)]]);return[{'recordId':_0x27794a[_0x3710aa(0x57e)],'title':this[_0x3710aa(0x2a2)](_0x3785ea,_0x27794a,_0x326ee0['titleFieldId']),'start':_0x1b105b,'end':_0xf93a1,'color':this[_0x3710aa(0x1d3)](_0x3785ea,_0x27794a,_0x326ee0),'progress':Number['isFinite'](_0x1e6b16)?_0x1e6b16:void 0x0,'workingDayCount':_0x326ee0[_0x3710aa(0x4ea)]?_0x3465a0(_0x1b105b,_0xf93a1,_0x326ee0[_0x3710aa(0x60a)]):void 0x0,'dependencyRecordIds':this[_0x3710aa(0x51e)](_0x27794a[_0x3710aa(0x404)][_0x326ee0['dependencyFieldId']??''])}];}),_0x28975f=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math[_0x5ef0cf(0x4f1)](..._0x537edc[_0x5ef0cf(0x2c4)](_0x27a75d=>_0x27a75d['start']))-0x5a*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()-0x5a*_0x4f4166),_0x1826ff=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math['max'](..._0x537edc['map'](_0x110248=>_0x110248['end']))+0x5b*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()+0x5b*_0x4f4166),_0x149f87=_0xe7172b(_0x326ee0[_0x5ef0cf(0x410)],_0x28975f,_0x1826ff,_0x326ee0[_0x5ef0cf(0x4ea)]?_0x326ee0[_0x5ef0cf(0x60a)]:void 0x0);return{'type':_0xcf3cf2['BaseViewType'][_0x5ef0cf(0x228)],'fields':this[_0x5ef0cf(0x352)](_0x3785ea,{..._0x18c3b0,'config':_0x326ee0}),'rows':_0x101090,'groups':this[_0x5ef0cf(0x57d)](_0x3785ea,_0x18c3b0,_0x101090),'config':_0x326ee0,'dateRangeAllDay':_0x3811e5,'timeline':{'scale':_0x326ee0[_0x5ef0cf(0x410)],'start':_0x28975f,'end':_0x1826ff,'unitWidth':_0x149f87['unitWidth'],'majorHeaders':_0x149f87[_0x5ef0cf(0x1e2)],'columns':_0x149f87['columns']},'bars':_0x537edc};}['_normalizeGanttConfig'](_0x186d39,_0x361c06){const _0x283f9b=_0x2b8d6a;let _0x369fe5=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x31c)],_0x283f9b(0x571)),_0x54767c=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x2b3)],_0x283f9b(0x526))||_0x369fe5,_0x57f602=_0x361c06['titleFieldId']?_0x186d39['fields'][_0x361c06['titleFieldId']]:void 0x0,_0x4b89e8=_0x57f602&&_0x57f602['system']!==!0x0&&_0x57f602[_0x283f9b(0x1cc)]!==_0xcf3cf2[_0x283f9b(0x435)][_0x283f9b(0x46d)]?_0x361c06[_0x283f9b(0x4cf)]:_0x186d39[_0x283f9b(0x4b4)],_0x2c9642=_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x2c7)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x583)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x437)?_0x361c06[_0x283f9b(0x410)]:'month',_0x5f1d92=_0x399482(_0x361c06[_0x283f9b(0x60a)]);return{..._0x361c06,'startDateFieldId':_0x369fe5,'endDateFieldId':_0x54767c,'titleFieldId':_0x4b89e8,'scale':_0x2c9642,'leftPaneWidth':typeof _0x361c06['leftPaneWidth']==_0x283f9b(0x202)?_0x361c06[_0x283f9b(0x22f)]:void 0x0,'leftPaneCollapsed':_0x361c06[_0x283f9b(0x3dd)]===!0x0,'showTodayLine':_0x361c06[_0x283f9b(0x2fb)]!==!0x1,'displayColor':this[_0x283f9b(0x5e4)](_0x186d39,_0x361c06),'fieldSettings':Object[_0x283f9b(0x3a6)](Object['entries'](_0x361c06[_0x283f9b(0x239)]??{})['filter'](([_0x16aa6d])=>{const _0x53e923=_0x283f9b;let _0x20d6d9=_0x186d39[_0x53e923(0x3b5)][_0x16aa6d];return!!(_0x20d6d9&&_0x20d6d9['system']!==!0x0&&_0x20d6d9[_0x53e923(0x1cc)]!==_0xcf3cf2[_0x53e923(0x435)][_0x53e923(0x46d)]);})),'workingDaysOnly':_0x361c06[_0x283f9b(0x4ea)]===!0x0,'workingDays':_0x5f1d92};}[_0x2b8d6a(0x5e0)](_0x49fcea,_0x3c96da,_0x4ac80b){const _0x186a6b=_0x2b8d6a;if(_0x3c96da&&this[_0x186a6b(0x460)](_0x49fcea,_0x3c96da,_0x4ac80b)||_0x3c96da)return _0x3c96da;for(let _0x19136b of _0x49fcea[_0x186a6b(0x4ab)])if(this['_isGanttDateField'](_0x49fcea,_0x19136b,_0x4ac80b))return _0x19136b;return _0x3c96da??'';}[_0x2b8d6a(0x460)](_0x4593d5,_0x5667d6,_0x237555){const _0x7098da=_0x2b8d6a;let _0x2dd419=_0x4593d5[_0x7098da(0x3b5)][_0x5667d6];if(!_0x2dd419||_0x2dd419[_0x7098da(0x1cc)]!==_0xcf3cf2[_0x7098da(0x435)][_0x7098da(0x2d9)]||_0x2dd419[_0x7098da(0x30e)]===!0x0||_0x2dd419[_0x7098da(0x27a)]===!0x0)return!0x1;let _0x4c27c9=this[_0x7098da(0x539)](_0x2dd419);return _0x237555===_0x7098da(0x571)?_0x4c27c9[_0x7098da(0x205)]:_0x4c27c9[_0x7098da(0x252)];}['_normalizeGanttDisplayColor'](_0x59ab8e,_0x531df4){const _0x54b6ea=_0x2b8d6a;let _0x403417=_0x531df4[_0x54b6ea(0x4c6)];if((_0x403417==null?void 0x0:_0x403417['type'])==='selectField'){let _0x15a792=_0x59ab8e[_0x54b6ea(0x3b5)][_0x403417[_0x54b6ea(0x580)]];if(_0x15a792&&_0x15a792[_0x54b6ea(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x54b6ea(0x2e3)])return _0x403417;}return(_0x403417==null?void 0x0:_0x403417[_0x54b6ea(0x1cc)])===_0x54b6ea(0x512)&&Array[_0x54b6ea(0x2a1)](_0x403417[_0x54b6ea(0x40d)])?{'type':_0x54b6ea(0x512),'rules':_0x403417['rules'][_0x54b6ea(0x355)](_0x664f76=>!!_0x59ab8e[_0x54b6ea(0x3b5)][_0x664f76[_0x54b6ea(0x580)]])}:(_0x403417==null?void 0x0:_0x403417['type'])===_0x54b6ea(0x541)&&typeof _0x403417[_0x54b6ea(0x21d)]==_0x54b6ea(0x3ea)&&_0x403417[_0x54b6ea(0x21d)][_0x54b6ea(0x479)]()?{'type':'custom','color':_0x403417[_0x54b6ea(0x21d)]}:{'type':_0x54b6ea(0x541),'color':_0x54b6ea(0x441)};}[_0x2b8d6a(0x1d3)](_0x1d609b,_0x3b76aa,_0x469c82){const _0x42e4ac=_0x2b8d6a;let _0x256273=_0x469c82['displayColor'];if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x512)){let _0x587e50=_0x256273[_0x42e4ac(0x40d)][_0x42e4ac(0x22c)](_0x70ff69=>this[_0x42e4ac(0x257)](_0x1d609b,_0x3b76aa,_0x70ff69));if(_0x587e50)return _0x587e50['color'];}if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])==='selectField'){let _0x249256=_0x1d609b['fields'][_0x256273[_0x42e4ac(0x580)]];if(_0x249256){var _0x1935a6;let _0x2aa65b=_0x3b76aa[_0x42e4ac(0x404)][_0x256273[_0x42e4ac(0x580)]],_0x2c64e5=Array[_0x42e4ac(0x2a1)](_0x2aa65b)?_0x2aa65b[0x0]:_0x2aa65b,_0x4259f9=_0x2c64e5==null||(_0x1935a6=_0x58a201(_0x249256,String(_0x2c64e5)))==null?void 0x0:_0x1935a6[_0x42e4ac(0x21d)];if(_0x4259f9)return _0x4259f9;}}return(_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x541)?_0x256273[_0x42e4ac(0x21d)]:_0x42e4ac(0x441);}['_matchesGanttColorRule'](_0x28e1be,_0x43dbdd,_0x84a6dc){const _0x2a8529=_0x2b8d6a;let _0x4cb0c6=_0x28e1be[_0x2a8529(0x3b5)][_0x84a6dc[_0x2a8529(0x580)]];return _0x4cb0c6?_0x357854(_0x43dbdd[_0x2a8529(0x404)][_0x4cb0c6['id']],_0x84a6dc[_0x2a8529(0x1e5)],_0x84a6dc[_0x2a8529(0x37e)],_0x4cb0c6,{'dateMode':_0x84a6dc[_0x2a8529(0x32f)]}):!0x1;}[_0x2b8d6a(0x59f)](_0x4ab497,_0x5061d8){const _0x1609af=_0x2b8d6a;let _0x42c9c0=this[_0x1609af(0x40e)](_0x4ab497,_0x5061d8),_0x2b109e=this[_0x1609af(0x60f)](_0x4ab497,_0x5061d8['config']??{}),_0x445455=this['_projectFields'](_0x4ab497,_0x5061d8);return{'type':_0xcf3cf2[_0x1609af(0x3c8)][_0x1609af(0x31f)],'fields':_0x445455,'rows':_0x42c9c0,'groups':this[_0x1609af(0x57d)](_0x4ab497,_0x5061d8,_0x42c9c0),'titleFieldId':_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)],'coverFieldId':_0x2b109e[_0x1609af(0x4d3)],'cardLayout':_0x2b109e['cardLayout']??_0x1609af(0x48d),'showFieldNames':_0x2b109e['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x1609af(0x36e)](_0x4ab497,_0x5061d8,_0x2b109e),'cardSize':_0x2b109e[_0x1609af(0x3e5)]??_0x1609af(0x590),'cards':_0x42c9c0['map'](_0x286177=>({'recordId':_0x286177[_0x1609af(0x57e)],'title':this['_title'](_0x4ab497,_0x286177,_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)]),'values':_0x286177[_0x1609af(0x404)]}))};}[_0x2b8d6a(0x60f)](_0x46b39f,_0x43dd8e){const _0x45a835=_0x2b8d6a;let _0x5de389=_0x43dd8e[_0x45a835(0x367)]??{'fieldIds':[]},_0x3d3481=this[_0x45a835(0x41b)](_0x46b39f,_0x5de389[_0x45a835(0x4cf)]),_0x4d0224=this[_0x45a835(0x370)](_0x46b39f,_0x43dd8e),_0x2d6fa2=_0x43dd8e[_0x45a835(0x3e5)]===_0x45a835(0x5ca)||_0x43dd8e['cardSize']==='large'?_0x43dd8e[_0x45a835(0x3e5)]:'medium';return{..._0x43dd8e,'coverFieldId':_0x4d0224,'cardLayout':_0x43dd8e[_0x45a835(0x307)]===_0x45a835(0x4b7)?'compose':_0x45a835(0x48d),'showFieldNames':_0x43dd8e[_0x45a835(0x524)]!==!0x1,'fieldSettings':Object[_0x45a835(0x3a6)](Object[_0x45a835(0x271)](_0x43dd8e[_0x45a835(0x239)]??{})[_0x45a835(0x355)](([_0x593b05])=>{const _0x3f1d51=_0x45a835;let _0x2313f8=_0x46b39f['fields'][_0x593b05];return!!(_0x2313f8&&_0x2313f8[_0x3f1d51(0x27a)]!==!0x0&&_0x2313f8[_0x3f1d51(0x1cc)]!==_0xcf3cf2[_0x3f1d51(0x435)][_0x3f1d51(0x46d)]);})),'card':{..._0x5de389,'titleFieldId':_0x3d3481,'coverFieldId':_0x4d0224,'fieldIds':Array[_0x45a835(0x2a1)](_0x5de389[_0x45a835(0x4a6)])?_0x5de389[_0x45a835(0x4a6)]:[]},'cardSize':_0x2d6fa2};}['_resolveCardTitleFieldId'](_0x261dae,_0x26b87e){const _0x4eef0f=_0x2b8d6a;let _0x4e3a23=_0x26b87e?_0x261dae['fields'][_0x26b87e]:void 0x0;return _0x4e3a23&&_0x4e3a23[_0x4eef0f(0x27a)]!==!0x0&&_0x4e3a23[_0x4eef0f(0x1cc)]!==_0xcf3cf2[_0x4eef0f(0x435)]['RecordId']?_0x4e3a23['id']:_0xb8c8b0(_0x261dae);}[_0x2b8d6a(0x370)](_0x5f0743,_0x155a52){const _0x4b7f33=_0x2b8d6a;var _0x5a1435;let _0x352e09=_0x155a52[_0x4b7f33(0x4d3)]??((_0x5a1435=_0x155a52[_0x4b7f33(0x367)])==null?void 0x0:_0x5a1435[_0x4b7f33(0x4d3)])??null;if(!_0x352e09)return null;let _0x270ece=_0x5f0743['fields'][_0x352e09];return _0x270ece&&this['_capabilities'](_0x270ece)[_0x4b7f33(0x33a)]?_0x270ece['id']:null;}[_0x2b8d6a(0x36e)](_0x122e90,_0x370b30,_0x3e73f3){const _0x46ec91=_0x2b8d6a;var _0x558b49,_0x375059,_0x19360e;let _0x52b76b=_0x3e73f3[_0x46ec91(0x239)]??{},_0x480919=((_0x558b49=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x558b49[_0x46ec91(0x4cf)])??_0xb8c8b0(_0x122e90),_0x16b023=_0x3e73f3[_0x46ec91(0x4d3)]??((_0x375059=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x375059[_0x46ec91(0x4d3)])??null,_0x38798e=(_0x19360e=_0x3e73f3[_0x46ec91(0x367)])!=null&&(_0x19360e=_0x19360e[_0x46ec91(0x4a6)])!=null&&_0x19360e[_0x46ec91(0x3d4)]?_0x3e73f3[_0x46ec91(0x367)][_0x46ec91(0x4a6)]:_0x47838f(_0x122e90,[_0x480919,_0x16b023,_0x122e90[_0x46ec91(0x4b4)]]);return _0x38798e['filter'](_0x24a245=>{const _0x3e11b2=_0x46ec91;var _0xdaa656,_0x27a8c4;let _0x20b0a2=_0x122e90['fields'][_0x24a245];return!(!_0x20b0a2||_0x20b0a2[_0x3e11b2(0x27a)]===!0x0||_0x20b0a2[_0x3e11b2(0x1cc)]===_0xcf3cf2[_0x3e11b2(0x435)]['RecordId']||_0x20b0a2['id']===_0x480919||_0x20b0a2['id']===_0x16b023||(_0xdaa656=_0x370b30[_0x3e11b2(0x239)])!=null&&(_0xdaa656=_0xdaa656[_0x24a245])!=null&&_0xdaa656[_0x3e11b2(0x4e3)]||(_0x27a8c4=_0x52b76b[_0x24a245])!=null&&_0x27a8c4[_0x3e11b2(0x4e3)]);})['sort']((_0x5853f2,_0x3cb42f)=>{const _0x234764=_0x46ec91;var _0x2baca1,_0x25ae9d;return(((_0x2baca1=_0x52b76b[_0x5853f2])==null?void 0x0:_0x2baca1['order'])??_0x38798e['indexOf'](_0x5853f2))-(((_0x25ae9d=_0x52b76b[_0x3cb42f])==null?void 0x0:_0x25ae9d[_0x234764(0x281)])??_0x38798e[_0x234764(0x267)](_0x3cb42f));});}[_0x2b8d6a(0x352)](_0x4f8501,_0x307f2f){const _0x1a42f3=_0x2b8d6a;var _0x41084a;return((_0x41084a=_0x307f2f['fieldOrder'])!=null&&_0x41084a[_0x1a42f3(0x3d4)]?_0x307f2f[_0x1a42f3(0x4ab)]:_0x4f8501[_0x1a42f3(0x4ab)])['flatMap'](_0x3ad3ba=>{const _0x463571=_0x1a42f3;var _0x4efe61;let _0x56f3ce=_0x4f8501[_0x463571(0x3b5)][_0x3ad3ba],_0x27dc39=((_0x4efe61=_0x307f2f[_0x463571(0x239)])==null?void 0x0:_0x4efe61[_0x3ad3ba])??{};return!_0x56f3ce||_0x56f3ce['system']===!0x0||_0x56f3ce[_0x463571(0x1cc)]===_0xcf3cf2[_0x463571(0x435)][_0x463571(0x46d)]||_0x27dc39[_0x463571(0x4e3)]?[]:[{'id':_0x56f3ce['id'],'name':_0x56f3ce[_0x463571(0x456)],'description':_0x56f3ce['description'],'type':_0x56f3ce['type'],'config':_0x56f3ce[_0x463571(0x5a3)],'width':_0x27dc39[_0x463571(0x397)],'setting':_0x27dc39}];});}[_0x2b8d6a(0x40e)](_0x42ee0a,_0xee9812){const _0xcfae84=_0x2b8d6a;var _0x3d1ef9;return _0x4baece(_0xcfae84(0x1f7),()=>{const _0x26ace7=_0xcfae84;var _0x139f63,_0x15a831;let _0x3510ec=this[_0x26ace7(0x361)](_0x42ee0a),_0x4a6d1c=this[_0x26ace7(0x5b0)](_0x42ee0a['id'],_0xee9812),_0x342c87=this['_getCellRevision'](_0x42ee0a['id']),_0x39c73b=this[_0x26ace7(0x39c)]['get'](_0x4a6d1c);if(_0x39c73b&&_0x39c73b[_0x26ace7(0x261)]===this[_0x26ace7(0x3aa)]&&_0x39c73b[_0x26ace7(0x211)]===this[_0x26ace7(0x5e2)](_0x42ee0a['id'])){if(_0x39c73b[_0x26ace7(0x5e5)]===_0x342c87&&_0x39c73b[_0x26ace7(0x260)]===_0x3510ec)return _0x39c73b[_0x26ace7(0x5e6)];if(_0x39c73b[_0x26ace7(0x5e5)]!==_0x342c87&&!this[_0x26ace7(0x47b)](_0x42ee0a['id'],_0x39c73b['cellRevision'],_0x342c87,this[_0x26ace7(0x204)](_0xee9812))){let _0x48d044=_0x39c73b[_0x26ace7(0x5e6)]===_0x39c73b[_0x26ace7(0x260)]?_0x3510ec:this[_0x26ace7(0x58b)](_0x39c73b[_0x26ace7(0x5e6)],_0x3510ec);if(_0x48d044)return this[_0x26ace7(0x39c)][_0x26ace7(0x22b)](_0x4a6d1c,{..._0x39c73b,'rows':_0x48d044,'baseRows':_0x3510ec,'cellRevision':_0x342c87}),_0x48d044;}}let _0x32a0d9=_0x4baece(_0x26ace7(0x427),()=>this[_0x26ace7(0x2ca)](_0x42ee0a,_0xee9812,this[_0x26ace7(0x247)](_0x42ee0a,_0xee9812,_0x3510ec)),{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0x26ace7(0x1cc)],'rows':_0x3510ec[_0x26ace7(0x3d4)],'filters':(_0xee9812==null||(_0x139f63=_0xee9812[_0x26ace7(0x355)])==null?void 0x0:_0x139f63[_0x26ace7(0x4ef)][_0x26ace7(0x3d4)])??0x0,'sorts':(_0xee9812==null||(_0x15a831=_0xee9812['sort'])==null?void 0x0:_0x15a831[_0x26ace7(0x3d4)])??0x0});return this['_projectedViewRowsCache'][_0x26ace7(0x22b)](_0x4a6d1c,{'table':_0x42ee0a,'rows':_0x32a0d9,'baseRows':_0x3510ec,'globalRevision':this[_0x26ace7(0x3aa)],'tableRevision':this[_0x26ace7(0x5e2)](_0x42ee0a['id']),'cellRevision':_0x342c87}),_0x32a0d9;},{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0xcfae84(0x1cc)],'records':((_0x3d1ef9=_0x42ee0a[_0xcfae84(0x5ab)])==null?void 0x0:_0x3d1ef9[_0xcfae84(0x3d4)])??Object[_0xcfae84(0x582)](_0x42ee0a['records']??{})[_0xcfae84(0x3d4)]});}[_0x2b8d6a(0x361)](_0xb0e6f9){const _0x165492=_0x2b8d6a;var _0x2f7c88;return _0x4baece(_0x165492(0x573),()=>{const _0x5d9f3c=_0x165492;var _0x2f3e85;let _0xa3c047=this[_0x5d9f3c(0x559)](_0xb0e6f9['id']),_0x48b4cb=this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x4f0)](_0xb0e6f9['id']);if(_0x48b4cb&&_0x48b4cb[_0x5d9f3c(0x261)]===this['_globalRevision']&&_0x48b4cb[_0x5d9f3c(0x211)]===this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id'])){if(_0x48b4cb[_0x5d9f3c(0x5e5)]===_0xa3c047&&_0x3118fb(_0x48b4cb[_0x5d9f3c(0x4b0)],_0xb0e6f9))return _0x48b4cb[_0x5d9f3c(0x4b0)]=_0xb0e6f9,_0x48b4cb['rows'];let _0x3b774a=this['_patchProjectedRowsForCellInvalidations'](_0xb0e6f9,_0x48b4cb,_0xa3c047);if(_0x3b774a)return _0x3b774a;}_0x2d7815(_0xb0e6f9)||_0x5d33ae(_0xb0e6f9);let _0x31884e=(_0x2f3e85=_0xb0e6f9['recordOrder'])!=null&&_0x2f3e85[_0x5d9f3c(0x3d4)]?_0xb0e6f9[_0x5d9f3c(0x5ab)]:_0x234b71(_0xb0e6f9[_0x5d9f3c(0x38a)]),_0x415e6a=_0x4baece(_0x5d9f3c(0x2da),()=>{const _0x4991a6=_0x5d9f3c;let _0x14fb4e=[];for(let _0x210962 of _0x31884e){let _0xba7d8d=_0xb0e6f9[_0x4991a6(0x38a)][_0x210962];if(!_0xba7d8d)continue;let _0x21a5b9={};for(let _0x5350b9 of _0xb0e6f9[_0x4991a6(0x4ab)])_0x21a5b9[_0x5350b9]=_0x4bd91a(_0xb0e6f9,_0xba7d8d['id'],_0x5350b9);_0x14fb4e['push']({'recordId':_0xba7d8d['id'],'values':_0x21a5b9});}return _0x14fb4e;},{'tableId':_0xb0e6f9['id'],'records':_0x31884e['length'],'fields':_0xb0e6f9[_0x5d9f3c(0x4ab)]['length']});return this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x22b)](_0xb0e6f9['id'],{'table':_0xb0e6f9,'rows':_0x415e6a,'rowIndexById':_0x50df97(_0x415e6a),'globalRevision':this[_0x5d9f3c(0x3aa)],'tableRevision':this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id']),'cellRevision':_0xa3c047}),_0x415e6a;},{'tableId':_0xb0e6f9['id'],'records':((_0x2f7c88=_0xb0e6f9[_0x165492(0x5ab)])==null?void 0x0:_0x2f7c88[_0x165492(0x3d4)])??Object[_0x165492(0x582)](_0xb0e6f9[_0x165492(0x38a)]??{})['length'],'fields':_0xb0e6f9[_0x165492(0x4ab)][_0x165492(0x3d4)]});}[_0x2b8d6a(0x4bd)](_0x53782f,_0x4abbd3,_0xa41214){const _0x3be102=_0x2b8d6a;let _0x278860=(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])['filter'](_0x503fd5=>_0x503fd5[_0x3be102(0x53b)]>_0x4abbd3['cellRevision']&&_0x503fd5[_0x3be102(0x53b)]<=_0xa41214);if(!_0x278860[_0x3be102(0x3d4)])return _0x4abbd3['table']===_0x53782f?_0x4abbd3[_0x3be102(0x5e6)]:null;let _0x648d79=_0x4abbd3[_0x3be102(0x5e6)],_0x5d0e24=new Map();for(let _0x6cdc93 of _0x278860){let _0xa5e353=_0x5d0e24[_0x3be102(0x4f0)](_0x6cdc93[_0x3be102(0x57e)]);_0xa5e353||(_0xa5e353=new Set(),_0x5d0e24[_0x3be102(0x22b)](_0x6cdc93['recordId'],_0xa5e353)),_0xa5e353['add'](_0x6cdc93['fieldId']);}for(let [_0x4462da,_0x4b4551]of _0x5d0e24){if(!_0x53782f[_0x3be102(0x38a)][_0x4462da])return null;let _0x4b0e60=_0x4abbd3[_0x3be102(0x601)]['get'](_0x4462da);if(_0x4b0e60==null)return null;_0x648d79===_0x4abbd3['rows']&&(_0x648d79=[..._0x4abbd3['rows']]);let _0x507069=_0x648d79[_0x4b0e60],_0x37cd77={..._0x507069['values']};_0x4b4551['forEach'](_0x1e5193=>{_0x37cd77[_0x1e5193]=_0x4bd91a(_0x53782f,_0x4462da,_0x1e5193);}),_0x648d79[_0x4b0e60]={..._0x507069,'values':_0x37cd77};}let _0x39e88b={'table':_0x53782f,'rows':_0x648d79,'rowIndexById':_0x4abbd3[_0x3be102(0x601)],'globalRevision':this[_0x3be102(0x3aa)],'tableRevision':this[_0x3be102(0x5e2)](_0x53782f['id']),'cellRevision':_0xa41214};return this['_projectedRowsCache'][_0x3be102(0x22b)](_0x53782f['id'],_0x39e88b),this[_0x3be102(0x49d)][_0x3be102(0x22b)](_0x53782f['id'],(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])[_0x3be102(0x355)](_0x3beeaa=>_0x3beeaa[_0x3be102(0x53b)]>Math['max'](0x0,_0xa41214-0x100))),_0x648d79;}[_0x2b8d6a(0x58b)](_0x2e08e5,_0x2fe53a){const _0x44b247=_0x2b8d6a;let _0x12df72=new Map(_0x2fe53a[_0x44b247(0x2c4)](_0x6aacd3=>[_0x6aacd3[_0x44b247(0x57e)],_0x6aacd3])),_0x57debd=!0x1,_0x41934=_0x2e08e5['map'](_0x1bc902=>{const _0x471336=_0x44b247;let _0x47841d=_0x12df72['get'](_0x1bc902[_0x471336(0x57e)]);return _0x47841d?_0x47841d===_0x1bc902?_0x1bc902:(_0x57debd=!0x0,_0x47841d):_0x1bc902;});return _0x57debd?_0x41934:_0x2e08e5;}['_cellInvalidationsTouchFields'](_0x3ebec9,_0x35b990,_0x1efefd,_0x505015){const _0x364813=_0x2b8d6a;return!_0x505015[_0x364813(0x219)]||_0x35b990===_0x1efefd?!0x1:_0x1efefd-_0x35b990>0x100||(this[_0x364813(0x49d)]['get'](_0x3ebec9)??[])[_0x364813(0x20f)](_0x21b33f=>_0x21b33f[_0x364813(0x53b)]>_0x35b990&&_0x21b33f[_0x364813(0x53b)]<=_0x1efefd&&_0x505015[_0x364813(0x244)](_0x21b33f[_0x364813(0x580)]));}[_0x2b8d6a(0x204)](_0x4a7944){const _0xc540d4=_0x2b8d6a;var _0x179d60,_0x56f083;let _0x29e377=new Set();return _0x4a7944==null||(_0x179d60=_0x4a7944[_0xc540d4(0x355)])==null||_0x179d60[_0xc540d4(0x4ef)][_0xc540d4(0x458)](_0xa4975=>_0x29e377['add'](_0xa4975[_0xc540d4(0x580)])),_0x4a7944==null||(_0x56f083=_0x4a7944[_0xc540d4(0x24e)])==null||_0x56f083[_0xc540d4(0x458)](_0x31cbc4=>_0x29e377[_0xc540d4(0x1d6)](_0x31cbc4[_0xc540d4(0x580)])),_0x29e377;}['_groupProjectionFieldIds'](_0xfc2f1e){const _0x10b223=_0x2b8d6a;var _0x7341ec;let _0x4d4daf=this[_0x10b223(0x204)](_0xfc2f1e);return(_0x7341ec=_0xfc2f1e[_0x10b223(0x484)])==null||_0x7341ec[_0x10b223(0x458)](_0xd2fdfc=>_0x4d4daf['add'](_0xd2fdfc[_0x10b223(0x580)])),_0x4d4daf;}[_0x2b8d6a(0x247)](_0x2a3d32,_0x103344,_0x18349a){const _0x319f47=_0x2b8d6a;let _0x4896b7=_0x103344==null?void 0x0:_0x103344['filter'];if(!(_0x4896b7!=null&&_0x4896b7['conditions'][_0x319f47(0x3d4)]))return _0x18349a;let _0x1f4219=_0x4896b7[_0x319f47(0x4ef)]['filter'](_0x39e475=>!_0x1a07c9(_0x39e475));return _0x1f4219[_0x319f47(0x3d4)]?_0x18349a['filter'](_0x2a2149=>{const _0x1521ae=_0x319f47;if(_0x4896b7[_0x1521ae(0x1df)]===_0xcf3cf2[_0x1521ae(0x4bc)]['OR']){for(let _0x42102d of _0x1f4219){let _0x182252=_0x2a3d32[_0x1521ae(0x3b5)][_0x42102d[_0x1521ae(0x580)]];if(!_0x182252||this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x182252[_0x1521ae(0x1cc)])[_0x1521ae(0x355)](_0x2a2149['values'][_0x182252['id']],_0x42102d[_0x1521ae(0x1e5)],_0x42102d[_0x1521ae(0x37e)],_0x182252))return!0x0;}return!0x1;}for(let _0x404746 of _0x1f4219){let _0x339234=_0x2a3d32[_0x1521ae(0x3b5)][_0x404746[_0x1521ae(0x580)]];if(_0x339234&&!this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x339234['type'])[_0x1521ae(0x355)](_0x2a2149[_0x1521ae(0x404)][_0x339234['id']],_0x404746[_0x1521ae(0x1e5)],_0x404746['operand'],_0x339234))return!0x1;}return!0x0;}):_0x18349a;}[_0x2b8d6a(0x2ca)](_0x51fff6,_0x11dbe4,_0x5224f6){const _0x4c9a50=_0x2b8d6a;let _0x22675e=(_0x11dbe4==null?void 0x0:_0x11dbe4[_0x4c9a50(0x24e)])??[];if(!_0x22675e['length'])return _0x5224f6;let _0xdbd5=_0x22675e[_0x4c9a50(0x5d0)](_0x1ecd8b=>{const _0x3fe53d=_0x4c9a50;let _0xebdc06=_0x51fff6[_0x3fe53d(0x3b5)][_0x1ecd8b[_0x3fe53d(0x580)]];return _0xebdc06?[{..._0x1ecd8b,'field':_0xebdc06}]:[];});return _0xdbd5[_0x4c9a50(0x3d4)]?this[_0x4c9a50(0x566)](_0xdbd5)?this['_fastSortRows'](_0xdbd5,_0x5224f6):[..._0x5224f6]['sort']((_0x34d4e9,_0x3d36d0)=>{const _0x2c7089=_0x4c9a50;for(let _0x5dd1fc of _0xdbd5){let _0x2a13b6=_0x5dd1fc[_0x2c7089(0x48c)],_0x150404=this[_0x2c7089(0x32a)][_0x2c7089(0x4f0)](_0x2a13b6['type'])['compare'](_0x34d4e9[_0x2c7089(0x404)][_0x2a13b6['id']],_0x3d36d0[_0x2c7089(0x404)][_0x2a13b6['id']],_0x2a13b6);if(_0x150404!==0x0)return _0x5dd1fc[_0x2c7089(0x41d)]===_0xcf3cf2['BaseSortDirection'][_0x2c7089(0x57f)]?-_0x150404:_0x150404;}return 0x0;}):_0x5224f6;}[_0x2b8d6a(0x566)](_0x1eee8e){const _0x5a872c=_0x2b8d6a;return _0x1eee8e['every'](_0x493dad=>_0x17654f[_0x5a872c(0x244)](_0x493dad['field'][_0x5a872c(0x1cc)]));}[_0x2b8d6a(0x51a)](_0x121547,_0x69e47b){const _0x3a8208=_0x2b8d6a;return _0x69e47b['map']((_0x2ca292,_0xaec4e)=>({'row':_0x2ca292,'index':_0xaec4e,'keys':_0x121547[_0x3a8208(0x2c4)](_0x23979e=>_0x2ca292['values'][_0x23979e[_0x3a8208(0x580)]])}))[_0x3a8208(0x24e)]((_0x25d806,_0x35fb3d)=>{const _0x4707ae=_0x3a8208;for(let _0x5259bc=0x0;_0x5259bc<_0x121547[_0x4707ae(0x3d4)];_0x5259bc++){let _0x101d24=_0x4746d2(_0x25d806['keys'][_0x5259bc],_0x35fb3d[_0x4707ae(0x582)][_0x5259bc]);if(_0x101d24!==0x0)return _0x121547[_0x5259bc]['direction']===_0xcf3cf2['BaseSortDirection'][_0x4707ae(0x57f)]?-_0x101d24:_0x101d24;}return _0x25d806[_0x4707ae(0x295)]-_0x35fb3d['index'];})[_0x3a8208(0x2c4)](_0x2c350a=>_0x2c350a[_0x3a8208(0x53e)]);}[_0x2b8d6a(0x57d)](_0x416876,_0x19f4ad,_0xaccb1e){const _0x44d312=_0x2b8d6a;var _0x1f667f;return _0x4baece(_0x44d312(0x308),()=>{const _0x55b1d4=_0x44d312;var _0xcbc77b;if(!((_0xcbc77b=_0x19f4ad[_0x55b1d4(0x484)])!=null&&_0xcbc77b['length']))return[];let _0x1e43c7=_0x19f4ad[_0x55b1d4(0x484)][_0x55b1d4(0x355)](_0x4fe30c=>_0x416876['fields'][_0x4fe30c[_0x55b1d4(0x580)]]);if(!_0x1e43c7[_0x55b1d4(0x3d4)])return[];let _0x556408=this[_0x55b1d4(0x341)](_0x416876['id'],_0x19f4ad,_0x1e43c7),_0x2abc58=this['_getCellRevision'](_0x416876['id']),_0x1ab252=this[_0x55b1d4(0x529)][_0x55b1d4(0x4f0)](_0x556408);if(_0x1ab252&&_0x1ab252[_0x55b1d4(0x261)]===this[_0x55b1d4(0x3aa)]&&_0x1ab252[_0x55b1d4(0x211)]===this[_0x55b1d4(0x5e2)](_0x416876['id'])){if(_0x1ab252[_0x55b1d4(0x5e5)]===_0x2abc58&&_0x1ab252[_0x55b1d4(0x5e6)]===_0xaccb1e)return _0x1ab252[_0x55b1d4(0x207)];if(_0x1ab252['cellRevision']!==_0x2abc58&&!this[_0x55b1d4(0x47b)](_0x416876['id'],_0x1ab252['cellRevision'],_0x2abc58,this['_groupProjectionFieldIds'](_0x19f4ad)))return this[_0x55b1d4(0x529)][_0x55b1d4(0x22b)](_0x556408,{..._0x1ab252,'rows':_0xaccb1e,'cellRevision':_0x2abc58}),_0x1ab252[_0x55b1d4(0x207)];}let _0x40c515=new Map();for(let _0x1c8eae of _0xaccb1e){let _0x5bc6c9=_0x40c515,_0x2ca211='';for(let _0xf8dc68=0x0;_0xf8dc68<_0x1e43c7[_0x55b1d4(0x3d4)];_0xf8dc68++){let _0x457a51=_0x1e43c7[_0xf8dc68],_0x11f9d9=_0x1c8eae['values'][_0x457a51[_0x55b1d4(0x580)]],_0x153b9e=_0x104b5b(_0x11f9d9),_0x6083a4=_0x457a51[_0x55b1d4(0x580)]+'\x00'+_0x153b9e,_0x189e2f=_0x2ca211+'/'+_0x457a51['fieldId']+':'+_0x153b9e,_0x39f13d=_0x5bc6c9[_0x55b1d4(0x4f0)](_0x6083a4);_0x39f13d||(_0x39f13d={'key':_0x153b9e,'value':_0x11f9d9,'path':_0x189e2f,'label':_0x153b9e||_0x55b1d4(0x45b),'fieldId':_0x457a51[_0x55b1d4(0x580)],'level':_0xf8dc68,'recordIds':[],'children':new Map()},_0x5bc6c9['set'](_0x6083a4,_0x39f13d)),_0x39f13d[_0x55b1d4(0x5b2)]['push'](_0x1c8eae[_0x55b1d4(0x57e)]),_0x5bc6c9=_0x39f13d[_0x55b1d4(0x1fb)],_0x2ca211=_0x189e2f;}}let _0x1fb76e=this[_0x55b1d4(0x332)](_0x1e43c7,_0x40c515,0x0);return this['_projectedGroupsCache']['set'](_0x556408,{'table':_0x416876,'rows':_0xaccb1e,'groups':_0x1fb76e,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55b1d4(0x5e2)](_0x416876['id']),'cellRevision':_0x2abc58}),_0x1fb76e;},{'tableId':_0x416876['id'],'viewId':_0x19f4ad['id'],'viewType':_0x19f4ad[_0x44d312(0x1cc)],'rows':_0xaccb1e[_0x44d312(0x3d4)],'groupFields':((_0x1f667f=_0x19f4ad['group'])==null?void 0x0:_0x1f667f['length'])??0x0});}[_0x2b8d6a(0x332)](_0x31dd38,_0x5b57e2,_0x4a29ae){const _0x40ed8b=_0x2b8d6a;var _0x42fa2d;let _0x46f39d=Array['from'](_0x5b57e2[_0x40ed8b(0x404)]()),_0x174a91=(_0x42fa2d=_0x31dd38[_0x4a29ae])==null?void 0x0:_0x42fa2d['direction'];return _0x174a91&&_0x46f39d['sort']((_0x4a651f,_0x19520e)=>{const _0x1f9493=_0x40ed8b;let _0x1b5a54=_0x4a651f['key'][_0x1f9493(0x1f9)](_0x19520e[_0x1f9493(0x2fc)]);return _0x174a91===_0xcf3cf2['BaseSortDirection']['DESC']?-_0x1b5a54:_0x1b5a54;}),_0x46f39d['map'](_0xd4c74e=>({'key':_0xd4c74e[_0x40ed8b(0x2fc)],'value':_0xd4c74e['value'],'path':_0xd4c74e[_0x40ed8b(0x342)],'label':_0xd4c74e['label'],'fieldId':_0xd4c74e[_0x40ed8b(0x580)],'level':_0xd4c74e[_0x40ed8b(0x4a7)],'recordIds':_0xd4c74e[_0x40ed8b(0x5b2)],'children':this[_0x40ed8b(0x332)](_0x31dd38,_0xd4c74e[_0x40ed8b(0x1fb)],_0x4a29ae+0x1)}));}[_0x2b8d6a(0x2a2)](_0x117b9d,_0x7c6f6b,_0x15a7f5){const _0x56b10b=_0x2b8d6a;let _0xa11f5f=_0x15a7f5??_0x117b9d[_0x56b10b(0x4b4)],_0x58162b=_0x7c6f6b['values'][_0xa11f5f];return _0x58162b==null?'':String(_0x58162b);}[_0x2b8d6a(0x51e)](_0x36a095){const _0x58508e=_0x2b8d6a;if(Array[_0x58508e(0x2a1)](_0x36a095))return _0x36a095[_0x58508e(0x2c4)](String);if(typeof _0x36a095==_0x58508e(0x3ea)&&_0x36a095)return[_0x36a095];}[_0x2b8d6a(0x539)](_0x5eab2c){const _0x3695a0=_0x2b8d6a;return this['_fieldRegistry'][_0x3695a0(0x4f0)](_0x5eab2c['type'])['getCapabilities'](_0x5eab2c);}};_0x270515=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x3dec17))],_0x270515);function _0x104b5b(_0x496113){return _0x496113==null?'':String(_0x496113);}function _0x50df97(_0x1949f4){const _0x26998b=_0x2b8d6a;return new Map(_0x1949f4[_0x26998b(0x2c4)]((_0x5264d2,_0x5e3187)=>[_0x5264d2[_0x26998b(0x57e)],_0x5e3187]));}function _0x2d7815(_0x1412aa){const _0x320fec=_0x2b8d6a;return!!(Array[_0x320fec(0x2a1)](_0x1412aa[_0x320fec(0x5ab)])&&_0x1412aa[_0x320fec(0x29a)]&&_0x1412aa[_0x320fec(0x369)]&&_0x1412aa[_0x320fec(0x1f5)]&&_0x1412aa[_0x320fec(0x4df)]&&_0x1412aa[_0x320fec(0x2a3)]);}function _0x5ddb6f(_0x4a6bf2){const _0x5e9351=_0x2b8d6a;let _0xb0a092=(_0x4a6bf2==null?void 0x0:_0x4a6bf2[_0x5e9351(0x4ef)][_0x5e9351(0x355)](_0x47e35e=>!_0x1a07c9(_0x47e35e)))??[];return!_0x4a6bf2||!_0xb0a092[_0x5e9351(0x3d4)]?null:{'conjunction':_0x4a6bf2[_0x5e9351(0x1df)],'conditions':_0xb0a092['map'](_0x1b3524=>({'fieldId':_0x1b3524[_0x5e9351(0x580)],'operator':_0x1b3524[_0x5e9351(0x1e5)],'operand':_0x1b3524[_0x5e9351(0x37e)]}))};}function _0x3118fb(_0x17a21f,_0x52729b){const _0x1b8f35=_0x2b8d6a;return _0x17a21f['records']===_0x52729b[_0x1b8f35(0x38a)]&&_0x17a21f[_0x1b8f35(0x5ab)]===_0x52729b[_0x1b8f35(0x5ab)]&&_0x17a21f[_0x1b8f35(0x3b5)]===_0x52729b[_0x1b8f35(0x3b5)]&&_0x17a21f['fieldOrder']===_0x52729b[_0x1b8f35(0x4ab)]&&_0x17a21f['cellData']===_0x52729b[_0x1b8f35(0x2a3)]&&_0x17a21f[_0x1b8f35(0x29a)]===_0x52729b[_0x1b8f35(0x29a)]&&_0x17a21f[_0x1b8f35(0x369)]===_0x52729b[_0x1b8f35(0x369)]&&_0x17a21f['colIndex']===_0x52729b['colIndex']&&_0x17a21f[_0x1b8f35(0x4df)]===_0x52729b['colId'];}function _0x16dfff(_0x170a54){const _0x58e538=_0x2b8d6a;return _0x170a54!=null&&_0x170a54[_0x58e538(0x3d4)]?_0x170a54[_0x58e538(0x2c4)](_0x46ba0e=>({'fieldId':_0x46ba0e[_0x58e538(0x580)],'direction':_0x46ba0e[_0x58e538(0x41d)]})):null;}function _0x1776c9(_0x4cb18d){const _0x39c5c9=_0x2b8d6a;if(typeof _0x4cb18d!='object'||!_0x4cb18d)return JSON[_0x39c5c9(0x322)](_0x4cb18d)??_0x39c5c9(0x607);if(Array[_0x39c5c9(0x2a1)](_0x4cb18d))return'['+_0x4cb18d[_0x39c5c9(0x2c4)](_0x1776c9)['join'](',')+']';let _0x34649d=_0x4cb18d;return'{'+Object[_0x39c5c9(0x582)](_0x34649d)[_0x39c5c9(0x24e)]()[_0x39c5c9(0x2c4)](_0x4a855b=>JSON['stringify'](_0x4a855b)+':'+_0x1776c9(_0x34649d[_0x4a855b]))[_0x39c5c9(0x600)](',')+'}';}function _0x234b71(_0x19c73a){const _0x3885b9=_0x2b8d6a;let _0x14a55d=Object[_0x3885b9(0x404)](_0x19c73a)['sort']((_0x1b4021,_0x4c20c0)=>_0x1b4021['orderKey'][_0x3885b9(0x1f9)](_0x4c20c0['orderKey'])),_0x1fa39f=[];for(let _0x3bfe7b of _0x14a55d)_0x1fa39f[_0x3885b9(0x309)](_0x3bfe7b['id']);return _0x1fa39f;}function _0x399482(_0x2a9c2c){const _0x321b50=_0x2b8d6a;return{'weekdays':Array[_0x321b50(0x2a1)](_0x2a9c2c==null?void 0x0:_0x2a9c2c['weekdays'])&&_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x3d4)]?[...new Set(_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x355)](_0x21c5e3=>Number[_0x321b50(0x1f0)](_0x21c5e3)&&_0x21c5e3>=0x1&&_0x21c5e3<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x2a9c2c==null?void 0x0:_0x2a9c2c['exceptions'])?_0x2a9c2c[_0x321b50(0x3a1)][_0x321b50(0x5d0)](_0x59b71f=>!_0x59b71f||!Number['isFinite'](_0x59b71f[_0x321b50(0x570)])?[]:[{'id':String(_0x59b71f['id']||_0x321b50(0x42d)+_0x59b71f[_0x321b50(0x570)]),'date':_0x5c3e33(Number(_0x59b71f[_0x321b50(0x570)])),'name':String(_0x59b71f[_0x321b50(0x456)]||_0x321b50(0x53c)),'type':_0x59b71f[_0x321b50(0x1cc)]==='working'?_0x321b50(0x532):_0x321b50(0x534)}]):[]};}function _0xe7172b(_0x4dea86,_0x48b2fe,_0x12894e,_0x15fc9e){let _0x160d86=_0x4588ae(_0x4dea86,_0x48b2fe),_0x4acde9=_0x3897ba(_0x4dea86,_0x12894e),_0x111927=_0x273c1a(_0x4dea86,_0x160d86,_0x4acde9,_0x15fc9e);return{'scale':_0x4dea86,'start':_0x160d86,'end':_0x4acde9,'unitWidth':_0x3c1394(_0x4dea86),'majorHeaders':_0x215025(_0x4dea86,_0x160d86,_0x4acde9),'columns':_0x111927};}function _0x273c1a(_0x50fa6b,_0x4e05ab,_0x456493,_0x4e791a){const _0x3f96c3=_0x2b8d6a;let _0x5dde09=[],_0x53e195=_0x4e05ab;for(;_0x53e195<_0x456493;){let _0x5cd501=_0x50fa6b===_0x3f96c3(0x583)?_0x377421(_0x53e195,0x7):_0x50fa6b===_0x3f96c3(0x437)?_0x1f22fa(_0x53e195,0x1):_0x377421(_0x53e195,0x1);_0x5dde09['push']({'id':_0x50fa6b+'-'+_0x53e195,'label':_0x55a568(_0x50fa6b,_0x53e195,_0x5cd501),'majorLabel':_0x537271(_0x50fa6b,_0x53e195),'start':_0x53e195,'end':_0x5cd501,'nonWorking':_0x2a5c80(_0x53e195,_0x5cd501,_0x4e791a)}),_0x53e195=_0x5cd501;}return _0x5dde09;}function _0x215025(_0x445521,_0x3c7990,_0xd37d35){const _0x2cd3b5=_0x2b8d6a;let _0x4192d0=[],_0x18eb5e=_0x445521===_0x2cd3b5(0x437)?_0x53c8da(_0x3c7990):_0x117564(_0x3c7990);for(;_0x18eb5e<_0xd37d35;){let _0x36c507=_0x445521===_0x2cd3b5(0x437)?_0x180823(_0x18eb5e,0x1):_0x1f22fa(_0x18eb5e,0x1);_0x4192d0[_0x2cd3b5(0x309)]({'id':'major-'+_0x18eb5e,'label':_0x445521===_0x2cd3b5(0x437)?String(new Date(_0x18eb5e)['getUTCFullYear']()):_0x1b27a9(_0x18eb5e),'start':_0x18eb5e,'end':_0x36c507}),_0x18eb5e=_0x36c507;}return _0x4192d0;}function _0x3c1394(_0x4c0493){const _0x4b9deb=_0x2b8d6a;switch(_0x4c0493){case _0x4b9deb(0x2c7):return 0xac;case _0x4b9deb(0x583):return 0xac;case _0x4b9deb(0x437):return 0x88;default:return 0x56;}}function _0x4588ae(_0x1c82ef,_0x31d653){const _0xe02a37=_0x2b8d6a;return _0x1c82ef===_0xe02a37(0x437)?_0x53c8da(_0x31d653):_0x1c82ef===_0xe02a37(0x583)?_0x19c80e(_0x31d653):_0x5c3e33(_0x31d653);}function _0x3897ba(_0x446e2e,_0x39e145){const _0x19179b=_0x2b8d6a;return _0x446e2e===_0x19179b(0x437)?_0x180823(_0x53c8da(_0x39e145),0x1):_0x446e2e==='quarter'?_0x377421(_0x19c80e(_0x39e145),0x7):_0x377421(_0x5c3e33(_0x39e145),0x1);}function _0x55a568(_0x53ee6d,_0x3498b2,_0x3b604b){const _0x4c0f41=_0x2b8d6a;let _0x473811=new Date(_0x3498b2);return _0x53ee6d===_0x4c0f41(0x583)?_0x473811[_0x4c0f41(0x4b8)]()+'-'+new Date(_0x3b604b-_0x4f4166)['getUTCDate']():_0x53ee6d===_0x4c0f41(0x437)?_0x473811[_0x4c0f41(0x29e)](_0x4c0f41(0x421),{'month':_0x4c0f41(0x48e),'timeZone':_0x4c0f41(0x418)}):String(_0x473811[_0x4c0f41(0x4b8)]());}function _0x537271(_0x4a169d,_0xff8f48){const _0x67b61e=_0x2b8d6a;return _0x4a169d===_0x67b61e(0x437)?String(new Date(_0xff8f48)[_0x67b61e(0x446)]()):_0x1b27a9(_0xff8f48);}function _0x3465a0(_0x41b73c,_0x4edf57,_0x5765e0){let _0x65fde1=_0x399482(_0x5765e0),_0x511892=0x0;for(let _0x52b405=_0x5c3e33(_0x41b73c);_0x52b405<=_0x5c3e33(_0x4edf57);_0x52b405=_0x377421(_0x52b405,0x1))_0x42d7a6(_0x52b405,_0x65fde1)||_0x511892++;return _0x511892;}function _0x2a5c80(_0x19db32,_0xd6a430,_0x2482b4){if(!_0x2482b4)return!0x1;let _0xbba99a=_0x399482(_0x2482b4);for(let _0x20987f=_0x5c3e33(_0x19db32);_0x20987f<_0xd6a430;_0x20987f=_0x377421(_0x20987f,0x1))if(!_0x42d7a6(_0x20987f,_0xbba99a))return!0x1;return!0x0;}function _0x42d7a6(_0x2cd5b8,_0x254e35){const _0x39f575=_0x2b8d6a;let _0x4b9d77=_0x5c3e33(_0x2cd5b8),_0x12d2ff=_0x254e35['exceptions'][_0x39f575(0x22c)](_0x726d4=>_0x5c3e33(_0x726d4['date'])===_0x4b9d77);if(_0x12d2ff)return _0x12d2ff['type']===_0x39f575(0x534);let _0x213839=new Date(_0x4b9d77)[_0x39f575(0x3ad)](),_0x5a9523=_0x213839===0x0?0x7:_0x213839;return!_0x254e35[_0x39f575(0x2f9)][_0x39f575(0x299)](_0x5a9523);}function _0x5c3e33(_0x1df645){const _0x35ce7c=_0x2b8d6a;let _0x258da6=new Date(_0x1df645);return Date[_0x35ce7c(0x418)](_0x258da6[_0x35ce7c(0x446)](),_0x258da6[_0x35ce7c(0x3f1)](),_0x258da6[_0x35ce7c(0x4b8)]());}function _0x19c80e(_0x558e8c){const _0x46e6ae=_0x2b8d6a;let _0x9e24ef=_0x5c3e33(_0x558e8c),_0xeea2ba=new Date(_0x9e24ef)[_0x46e6ae(0x3ad)]();return _0x377421(_0x9e24ef,-(_0xeea2ba===0x0?0x6:_0xeea2ba-0x1));}function _0x117564(_0x4323c0){const _0x195870=_0x2b8d6a;let _0x4c0880=new Date(_0x4323c0);return Date[_0x195870(0x418)](_0x4c0880[_0x195870(0x446)](),_0x4c0880[_0x195870(0x3f1)](),0x1);}function _0x53c8da(_0x5bc167){const _0x3e2d67=_0x2b8d6a;let _0x3183e3=new Date(_0x5bc167);return Date[_0x3e2d67(0x418)](_0x3183e3['getUTCFullYear'](),0x0,0x1);}function _0x377421(_0x14c6fd,_0x69a4be){return _0x14c6fd+_0x69a4be*_0x4f4166;}function _0x1f22fa(_0x4f211e,_0x4afbb5){const _0x1db1e0=_0x2b8d6a;let _0xf80990=new Date(_0x4f211e);return Date[_0x1db1e0(0x418)](_0xf80990[_0x1db1e0(0x446)](),_0xf80990[_0x1db1e0(0x3f1)]()+_0x4afbb5,0x1);}function _0x180823(_0x567813,_0x1b1543){const _0xfda87d=_0x2b8d6a;let _0x31a1c5=new Date(_0x567813);return Date[_0xfda87d(0x418)](_0x31a1c5[_0xfda87d(0x446)]()+_0x1b1543,0x0,0x1);}function _0x1b27a9(_0x60fa56){const _0xf39b59=_0x2b8d6a;let _0x19b6ba=new Date(_0x60fa56);return _0x19b6ba['toLocaleString'](_0xf39b59(0x421),{'month':_0xf39b59(0x48e),'timeZone':_0xf39b59(0x418)})+'\x20'+_0x19b6ba[_0xf39b59(0x446)]();}function _0x4746d2(_0x4813ba,_0x4bebda){const _0x3a584c=_0x2b8d6a;if(_0x4813ba==null&&_0x4bebda==null)return 0x0;if(_0x4813ba==null)return-0x1;if(_0x4bebda==null)return 0x1;if(typeof _0x4813ba==_0x3a584c(0x511)||typeof _0x4bebda=='boolean')return Number(_0x4813ba===!0x0)-Number(_0x4bebda===!0x0);let _0x13d585=Number(_0x4813ba),_0x1a7887=Number(_0x4bebda),_0x22878a=Number[_0x3a584c(0x2b0)](_0x13d585),_0x1867a5=Number[_0x3a584c(0x2b0)](_0x1a7887);return _0x22878a&&_0x1867a5?_0x13d585-_0x1a7887:_0x22878a?0x1:_0x1867a5?-0x1:String(_0x4813ba)['localeCompare'](String(_0x4bebda));}function _0x1a07c9(_0x2adf6e){const _0x2dbd8a=_0x2b8d6a;if(_0x2adf6e[_0x2dbd8a(0x1e5)]!=='is'&&_0x2adf6e[_0x2dbd8a(0x1e5)]!=='isNot')return!0x1;let _0x3d9d73=_0x2adf6e[_0x2dbd8a(0x37e)];return _0x3d9d73==null?!0x0:typeof _0x3d9d73==_0x2dbd8a(0x3ea)?_0x3d9d73[_0x2dbd8a(0x479)]()==='':Array[_0x2dbd8a(0x2a1)](_0x3d9d73)?_0x3d9d73[_0x2dbd8a(0x3d4)]===0x0:!0x1;}function _0x58a201(_0x3b12a7,_0x4708de){const _0x51cb8f=_0x2b8d6a;var _0x544054;let _0x41e25e=Array['isArray']((_0x544054=_0x3b12a7[_0x51cb8f(0x5a3)])==null?void 0x0:_0x544054[_0x51cb8f(0x5cc)])?_0x3b12a7[_0x51cb8f(0x5a3)][_0x51cb8f(0x5cc)]:[];for(let _0x5f5129 of _0x41e25e){if(_0x5f5129==null)continue;if(typeof _0x5f5129==_0x51cb8f(0x3ea)){if(_0x5f5129===_0x4708de)return{'id':_0x5f5129,'name':_0x5f5129};continue;}let _0x164d2e=_0x5f5129,_0xb9629f=String(_0x164d2e['id']??_0x164d2e[_0x51cb8f(0x456)]??''),_0x3addb0=String(_0x164d2e[_0x51cb8f(0x456)]??_0x164d2e['id']??_0xb9629f);if(_0xb9629f===_0x4708de||_0x3addb0===_0x4708de)return{'id':_0xb9629f,'name':_0x3addb0,'color':_0x164d2e[_0x51cb8f(0x21d)]==null?void 0x0:String(_0x164d2e[_0x51cb8f(0x21d)])};}return null;}let _0x34db2c=function(_0x3730e5){const _0x3c7330=_0x2b8d6a;return _0x3730e5['CreateView']=_0x3c7330(0x556),_0x3730e5[_0x3c7330(0x537)]=_0x3c7330(0x5dc),_0x3730e5;}({}),_0x40f796={'id':_0x2b8d6a(0x304),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler'(_0x5baec5,_0x1b4ccd){const _0x4eb10f=_0x2b8d6a;let {unitId:_0x3f1163,op:_0x46f461}=_0x1b4ccd,_0x480d16=_0x5baec5[_0x4eb10f(0x4f0)](_0xcf3cf2[_0x4eb10f(0x56e)])[_0x4eb10f(0x425)](_0x3f1163,_0xcf3cf2[_0x4eb10f(0x2f8)][_0x4eb10f(0x2bf)]);if(!_0x480d16)return!0x1;let _0x2061de=_0x480d16['getSnapshot'](),_0x1e5645=new _0x3c7454(),_0x160d27=_0x1e5645[_0x4eb10f(0x235)](_0x46f461),_0x4881c0=_0x1e5645[_0x4eb10f(0x54e)](_0x2061de,_0x46f461);return _0x480d16[_0x4eb10f(0x268)](_0x4881c0),_0x463b94(_0x4881c0,_0x160d27,_0x5baec5[_0x4eb10f(0x4f0)](_0x5e90db)),!0x0;}};function _0x463b94(_0x1ec9ac,_0x1b90cb,_0x356ba1){const _0x27def7=_0x2b8d6a;let _0xaec99f=new Set(),_0x950d63=new Set(),_0x3936af=new Set();for(let _0x39d256 of _0x1b90cb){if(_0x39d256[_0x27def7(0x2e7)]===_0x27def7(0x2e6)&&_0x39d256['tableId']&&_0x39d256[_0x27def7(0x608)]){let _0x4a8b13=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256['viewId'];_0x3936af['has'](_0x4a8b13)||(_0x3936af['add'](_0x4a8b13),_0x356ba1[_0x27def7(0x4fd)](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x608)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]==='field'&&_0x39d256[_0x27def7(0x3e2)]&&_0x39d256[_0x27def7(0x580)]){let _0x2fa470=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256[_0x27def7(0x580)];_0x950d63[_0x27def7(0x244)](_0x2fa470)||(_0x950d63[_0x27def7(0x1d6)](_0x2fa470),_0x356ba1['invalidateByField'](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x580)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]!==_0x27def7(0x4c1)){_0x356ba1[_0x27def7(0x498)]();return;}let _0x4a66f1=_0x409835(_0x1ec9ac,_0x39d256);if(!_0x4a66f1){_0x356ba1['invalidateByOp']();return;}let _0x393c21=_0x4a66f1[_0x27def7(0x3e2)]+'\x00'+_0x4a66f1[_0x27def7(0x57e)]+'\x00'+_0x4a66f1[_0x27def7(0x580)];_0xaec99f[_0x27def7(0x244)](_0x393c21)||(_0xaec99f[_0x27def7(0x1d6)](_0x393c21),_0x356ba1['invalidateByCell'](_0x4a66f1[_0x27def7(0x3e2)],_0x4a66f1['recordId'],_0x4a66f1[_0x27def7(0x580)]));}}function _0x409835(_0x4add41,_0xbb0c58){const _0x2b958a=_0x2b8d6a;var _0x34f9ae,_0xad0b2c;if(!_0xbb0c58[_0x2b958a(0x3e2)])return null;if(_0xbb0c58[_0x2b958a(0x57e)]&&_0xbb0c58['fieldId'])return{'tableId':_0xbb0c58['tableId'],'recordId':_0xbb0c58['recordId'],'fieldId':_0xbb0c58[_0x2b958a(0x580)]};if(_0xbb0c58['row']==null||_0xbb0c58['column']==null)return null;let _0x32d793=_0x4add41[_0x2b958a(0x3d7)][_0xbb0c58[_0x2b958a(0x3e2)]],_0x23849a=_0x32d793==null||(_0x34f9ae=_0x32d793['rowId'])==null?void 0x0:_0x34f9ae[_0xbb0c58['row']],_0x51498d=_0x32d793==null||(_0xad0b2c=_0x32d793[_0x2b958a(0x4df)])==null?void 0x0:_0xad0b2c[_0xbb0c58['column']];return!_0x23849a||!_0x51498d?null:{'tableId':_0xbb0c58[_0x2b958a(0x3e2)],'recordId':_0x23849a,'fieldId':_0x51498d};}let _0x1472d6=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x48837e=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0xd67bea=/\{([^}]+)\}/g,_0x5e2187=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4c29fe=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x472412=_0xcf3cf2['regexp'][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x2bd556=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xb29993=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x9b039a=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x41a657=class{[_0x2b8d6a(0x343)](_0x3d5253,_0x578a28=_0x3d5253['id']){const _0x37c9df=_0x2b8d6a;var _0x12cd60;let _0xf7a5de=((_0x12cd60=_0x3d5253[_0x37c9df(0x5ab)])==null?void 0x0:_0x12cd60[_0x37c9df(0x3d4)])??Object['values'](_0x3d5253[_0x37c9df(0x38a)])['length'];return{'sheetId':_0x578a28,'titleMap':new Map(_0x3d5253[_0x37c9df(0x4ab)][_0x37c9df(0x2c4)]((_0x5aac86,_0x5b263a)=>{const _0x25e037=_0x37c9df;var _0x293e78;return[((_0x293e78=_0x3d5253[_0x25e037(0x3b5)][_0x5aac86])==null?void 0x0:_0x293e78[_0x25e037(0x456)])??_0x5aac86,_0x5b263a];})),'range':{'startRow':0x0,'endRow':Math[_0x37c9df(0x591)](0x0,_0xf7a5de-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x3d5253[_0x37c9df(0x4ab)]['length']-0x1)},'showHeader':!0x1};}[_0x2b8d6a(0x503)](_0x7dc65e,_0x13fa4c){const _0x3b2854=_0x2b8d6a;let _0x1ddd04=[],_0x4a4f7a=_0x13fa4c?new Set(_0x13fa4c):null,_0x1802f6=(0x0,_0xcf3cf2[_0x3b2854(0x314)])(_0x7dc65e);return Object['values'](_0x7dc65e[_0x3b2854(0x3d7)])['filter'](_0x265448=>!_0x4a4f7a||_0x4a4f7a[_0x3b2854(0x244)](_0x265448['id']))[_0x3b2854(0x458)](_0x3114e4=>{const _0x3392dc=_0x3b2854;let _0xd8b8f4=this[_0x3392dc(0x343)](_0x3114e4,_0x3114e4['id']);_0x1ddd04[_0x3392dc(0x309)]({'tableId':_0x3114e4['id'],'tableName':_0x1802f6[_0x3392dc(0x4f0)](_0x3114e4['id']),'reference':_0xd8b8f4});}),_0x1ddd04;}[_0x2b8d6a(0x226)](_0x43b1de,_0x5bf951,_0x1c1011={}){const _0x4f8bfc=_0x2b8d6a;let _0x1c41ac=_0x43b1de[_0x4f8bfc(0x479)]();if(!_0x1c41ac)return{'valid':!0x0};if(_0x4b7b4c(_0x1c41ac))return{'valid':!0x1,'reason':_0x4f8bfc(0x31e)};let _0x4ed9c8=_0x1c1011[_0x4f8bfc(0x5c6)]?(0x0,_0xcf3cf2[_0x4f8bfc(0x314)])(_0x1c1011[_0x4f8bfc(0x5c6)]):void 0x0;for(let _0x31f661 of _0x58a8f1(_0x1c41ac)){let _0x208086=_0x4e99fe(_0x31f661,_0x5bf951,_0x1c1011['snapshot'],_0x4ed9c8);if(!_0x208086['table'])return{'valid':!0x1,'reason':_0x4f8bfc(0x28e)+_0x31f661[_0x4f8bfc(0x4b1)]+_0x4f8bfc(0x354)};if(!_0x208086['field'])return{'valid':!0x1,'reason':_0x4f8bfc(0x3ac)+_0x31f661[_0x4f8bfc(0x5c2)]+_0x4f8bfc(0x294)};}return{'valid':!0x0};}['getDependencies'](_0x3764b6,_0x2a7dee,_0x821460={}){const _0xbf582e=_0x2b8d6a;let _0x59e4cc=new Set();for(let _0x5d61ad of this[_0xbf582e(0x2e1)](_0x3764b6,_0x2a7dee,_0x821460))_0x5d61ad['tableId']===_0x2a7dee['id']&&_0x59e4cc[_0xbf582e(0x1d6)](_0x5d61ad['fieldId']);return Array[_0xbf582e(0x1ea)](_0x59e4cc);}[_0x2b8d6a(0x2e1)](_0x5df63c,_0x5e69d2,_0x226c75={}){const _0x30e3f6=_0x2b8d6a;let _0x2e5697=new Map(),_0x5845c8=_0x226c75['snapshot']?(0x0,_0xcf3cf2[_0x30e3f6(0x314)])(_0x226c75[_0x30e3f6(0x5c6)]):void 0x0;for(let _0x3ba7c4 of _0x58a8f1(_0x5df63c)){let _0x5a6727=_0x4e99fe(_0x3ba7c4,_0x5e69d2,_0x226c75[_0x30e3f6(0x5c6)],_0x5845c8);if(!_0x5a6727[_0x30e3f6(0x4b0)]||!_0x5a6727[_0x30e3f6(0x48c)])continue;let _0x45c244=_0x5a6727[_0x30e3f6(0x4b0)]['id']+'\x1f'+_0x5a6727['field']['id'];_0x2e5697['set'](_0x45c244,{'tableId':_0x5a6727[_0x30e3f6(0x4b0)]['id'],'fieldId':_0x5a6727[_0x30e3f6(0x48c)]['id']});}return Array[_0x30e3f6(0x1ea)](_0x2e5697[_0x30e3f6(0x404)]());}};function _0x3bbd86(_0x3fab66,_0x2a97d4){const _0xdffac3=_0x2b8d6a;var _0x9fbbab;let _0x437f34=[],_0x524ebc=(_0x9fbbab=_0x2a97d4[_0xdffac3(0x364)])==null?void 0x0:_0x9fbbab[_0x3fab66['id']];return _0x524ebc&&Object[_0xdffac3(0x271)](_0x524ebc)[_0xdffac3(0x458)](([_0x4eabc6,_0x567100])=>{const _0x32baab=_0xdffac3;let _0x1d6c36=_0x3fab66[_0x32baab(0x3d7)][_0x4eabc6];if(!_0x1d6c36||!_0x567100)return;let _0x1d7d20=_0x5d33ae(_0x1d6c36),_0x33abdd=[];new _0xcf3cf2[(_0x32baab(0x3b9))](_0x567100)[_0x32baab(0x4ba)]((_0x292cac,_0x166d54,_0x13cb7b)=>{const _0x748012=_0x32baab;let _0x14ad59=_0x447f99(_0x1d7d20,_0x292cac,_0x166d54,_0x13cb7b);_0x14ad59&&_0x33abdd[_0x748012(0x309)](_0x14ad59);}),_0x33abdd[_0x32baab(0x3d4)]&&_0x437f34[_0x32baab(0x309)]({'unitId':_0x3fab66['id'],'tableId':_0x4eabc6,'patches':_0x33abdd});}),_0x437f34;}function _0x447f99(_0x48c196,_0x36aa87,_0x265656,_0x263bec){const _0x48e92a=_0x2b8d6a;var _0x29178c,_0x4b0ee8,_0x1e50f9;let _0x49b6f4=(_0x29178c=_0x48c196['rowId'])==null?void 0x0:_0x29178c[_0x36aa87],_0x202a73=(_0x4b0ee8=_0x48c196[_0x48e92a(0x4df)])==null?void 0x0:_0x4b0ee8[_0x265656];if(!_0x49b6f4||!_0x48c196[_0x48e92a(0x38a)][_0x49b6f4]||!_0x202a73)return null;let _0x26dc9b=_0x48c196[_0x48e92a(0x3b5)][_0x202a73];if(!_0x26dc9b||_0x26dc9b['type']!=='formula')return null;let _0x5d0a25=String(((_0x1e50f9=_0x26dc9b['config'])==null?void 0x0:_0x1e50f9[_0x48e92a(0x4fe)])??'')[_0x48e92a(0x479)](),_0x331c3f=(_0x263bec==null?void 0x0:_0x263bec['v'])??null,_0x4ca467={'v':_0x331c3f,'t':_0x214d0a(_0x331c3f),..._0x36aa87===0x0&&_0x5d0a25?{'f':_0x5d0a25}:{},'si':_0x26dc9b['id']};return _0x3af4c4(_0x4c2c6c(_0x48c196,_0x49b6f4,_0x202a73),_0x4ca467)?null:{'row':_0x36aa87,'col':_0x265656,'value':_0x4ca467};}function _0x3af4c4(_0xe5ab95,_0x2a7767){return _0xe5ab95!=null&&Object['is'](_0xe5ab95['v']??null,_0x2a7767['v']??null)&&_0xe5ab95['t']===_0x2a7767['t']&&_0xe5ab95['f']===_0x2a7767['f']&&_0xe5ab95['si']===_0x2a7767['si'];}function _0x214d0a(_0x100780){const _0x59aa33=_0x2b8d6a;return typeof _0x100780=='number'?_0xcf3cf2['CellValueType'][_0x59aa33(0x3b7)]:typeof _0x100780=='boolean'?_0xcf3cf2[_0x59aa33(0x501)][_0x59aa33(0x508)]:typeof _0x100780=='string'?_0xcf3cf2[_0x59aa33(0x501)]['STRING']:null;}function _0x58a8f1(_0x606f59){const _0x58489f=_0x2b8d6a;let _0x56e1d9=_0x594d23(_0x606f59,()=>''),_0x4ca01f=new Map(),_0x285dad=_0x36d28a=>{const _0x59562e=_0x4fc4;_0x4ca01f['set']((_0x36d28a[_0x59562e(0x4b1)]??'')+'\x1f'+_0x36d28a[_0x59562e(0x5c2)],_0x36d28a);};for(let _0x5ea8dc of _0x56e1d9[_0x58489f(0x3b3)](_0xd67bea))_0x285dad({'fieldName':_0x5ea8dc[0x1],'scope':_0x58489f(0x1c6)});_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x5e2187,(_0xcba0d,_0x3b45a3,_0x3a4b35,_0x42c2bc)=>(_0x285dad({'tableName':_0x3b45a3,'fieldName':_0x42c2bc,'scope':_0x3a4b35['toLowerCase']()===_0x58489f(0x30c)?'data':_0x58489f(0x1c6)}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x4c29fe,(_0x5007cd,_0x31c260,_0xd6f201)=>(_0x285dad({'tableName':_0x31c260,'fieldName':_0xd6f201,'scope':'this-row'}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x2bd556,(_0x253f7f,_0x26064f,_0x3c6cfa,_0x433d2f)=>(_0x285dad({'fieldName':_0x433d2f,'scope':_0x3c6cfa[_0x58489f(0x402)]()===_0x58489f(0x30c)?_0x58489f(0x30c):_0x58489f(0x1c6)}),_0x26064f+'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0xb29993,(_0x54aa44,_0x1693c2,_0x3c15bf)=>(_0x285dad({'fieldName':_0x3c15bf,'scope':_0x58489f(0x1c6)}),_0x1693c2+'\x20'));for(let _0x80f69b of _0x56e1d9[_0x58489f(0x3b3)](_0x472412))_0x285dad({'tableName':_0x80f69b[0x1],'fieldName':_0x80f69b[0x2]});for(let _0x4dc856 of _0x56e1d9[_0x58489f(0x3b3)](_0x9b039a))_0x285dad({'fieldName':_0x4dc856[0x2],'scope':_0x58489f(0x1c6)});return Array[_0x58489f(0x1ea)](_0x4ca01f[_0x58489f(0x404)]());}function _0x4b7b4c(_0x8f5dc7){const _0x255f8a=_0x2b8d6a;let _0x3985be=_0x594d23(_0x8f5dc7,()=>'\x20')['replace'](_0xd67bea,'\x20')[_0x255f8a(0x5a4)](_0x5e2187,'\x20')[_0x255f8a(0x5a4)](_0x4c29fe,'\x20')[_0x255f8a(0x5a4)](_0x2bd556,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0xb29993,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0x472412,'\x20')[_0x255f8a(0x5a4)](_0x9b039a,_0x255f8a(0x2ae));return _0x1472d6[_0x255f8a(0x250)](_0x3985be);}function _0x776260(_0x1f1b45,_0x49048a){return _0x2c5a37(_0x58c08f(_0x1f1b45,_0x49048a),_0x49048a);}function _0x594d23(_0x115f46,_0x538346){return _0x29649f(_0x776260(_0x115f46,_0x538346),_0x538346);}function _0x29649f(_0x1b1b57,_0x29205b){const _0x300e08=_0x2b8d6a;return _0x1b1b57[_0x300e08(0x5a4)](/"(?:""|[^"])*"/g,_0x29205b);}function _0x58c08f(_0x1de2fb,_0x1f67f3){const _0x4efc77=_0x2b8d6a;return _0x48837e[_0x4efc77(0x21e)]=0x0,_0x1de2fb[_0x4efc77(0x5a4)](_0x48837e,(_0x35d401,_0x3acae0)=>_0x126f64(_0x1de2fb,_0x3acae0)?_0x35d401:_0x1f67f3(_0x35d401));}let _0x2bd250=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x2c5a37(_0xc3f953,_0x34cbcb){const _0x53ed5d=_0x2b8d6a;let _0x748568=[];for(_0x2bd250[_0x53ed5d(0x21e)]=0x0;;){let _0x2d8cf6=_0x2bd250['exec'](_0xc3f953);if(_0x2d8cf6==null)break;if(_0x126f64(_0xc3f953,_0x2d8cf6['index']))continue;let _0x275873=_0x2bd250[_0x53ed5d(0x21e)]-0x1,_0x4a64c8=0x0;for(let _0x502f6a=_0x275873;_0x502f6a<_0xc3f953[_0x53ed5d(0x3d4)];_0x502f6a++)if(_0xc3f953[_0x502f6a]==='['&&_0x4a64c8++,_0xc3f953[_0x502f6a]===']'&&(_0x4a64c8--,_0x4a64c8===0x0)){_0x748568['push']({'start':_0x2d8cf6[_0x53ed5d(0x295)],'end':_0x502f6a+0x1}),_0x2bd250[_0x53ed5d(0x21e)]=_0x502f6a+0x1;break;}}if(_0x748568[_0x53ed5d(0x3d4)]===0x0)return _0xc3f953;let _0x178912='',_0x267bde=0x0;for(let _0x38fb7a of _0x748568)_0x178912+=_0xc3f953['slice'](_0x267bde,_0x38fb7a['start']),_0x178912+=_0x34cbcb(_0xc3f953['slice'](_0x38fb7a[_0x53ed5d(0x571)],_0x38fb7a[_0x53ed5d(0x526)])),_0x267bde=_0x38fb7a[_0x53ed5d(0x526)];return _0x178912+_0xc3f953['slice'](_0x267bde);}function _0x126f64(_0x2e3e22,_0x3fa299){let _0x24c00d=!0x1;for(let _0x34e2ee=0x0;_0x34e2ee<_0x3fa299;_0x34e2ee++)if(_0x2e3e22[_0x34e2ee]==='\x22'){if(_0x24c00d&&_0x2e3e22[_0x34e2ee+0x1]==='\x22'){_0x34e2ee++;continue;}_0x24c00d=!_0x24c00d;}return _0x24c00d;}function _0x4e99fe(_0xdcf1cb,_0x19ee9c,_0x1fd08c,_0x26b5b5){const _0x212cd3=_0x2b8d6a;let _0x3f1911=_0x2bf222(_0xdcf1cb['tableName'],_0x19ee9c,_0x1fd08c,_0x26b5b5);return{'table':_0x3f1911,'field':_0x3f1911?Object['values'](_0x3f1911[_0x212cd3(0x3b5)])['find'](_0x3ad6d3=>_0x3ad6d3[_0x212cd3(0x456)]===_0xdcf1cb[_0x212cd3(0x5c2)]):void 0x0};}function _0x2bf222(_0x3a8b83,_0x54f4ce,_0x2ba8af,_0x4bbc41){const _0x1fba43=_0x2b8d6a;if(!_0x3a8b83)return _0x54f4ce;if(!_0x2ba8af){var _0x1f1ff2;let _0xcd3205=_0x3a8b83[_0x1fba43(0x402)]();return _0xcd3205===_0x54f4ce['id'][_0x1fba43(0x402)]()||_0xcd3205===_0x54f4ce[_0x1fba43(0x456)][_0x1fba43(0x402)]()||_0xcd3205===((_0x1f1ff2=_0x54f4ce[_0x1fba43(0x298)])==null?void 0x0:_0x1f1ff2['toLowerCase']())?_0x54f4ce:void 0x0;}let _0x3e2835=_0x3a8b83['toLowerCase'](),_0x1c4dab=_0x4bbc41??(0x0,_0xcf3cf2[_0x1fba43(0x314)])(_0x2ba8af),_0x187a93=Object[_0x1fba43(0x404)](_0x2ba8af[_0x1fba43(0x3d7)])[_0x1fba43(0x355)](_0x381cc2=>{const _0x2b65a1=_0x1fba43;var _0x229751;return _0x381cc2['id'][_0x2b65a1(0x402)]()===_0x3e2835||_0x381cc2[_0x2b65a1(0x456)][_0x2b65a1(0x402)]()===_0x3e2835||((_0x229751=_0x1c4dab[_0x2b65a1(0x4f0)](_0x381cc2['id']))==null?void 0x0:_0x229751[_0x2b65a1(0x402)]())===_0x3e2835||_0x3e7a87(_0x381cc2['id'])[_0x2b65a1(0x402)]()===_0x3e2835;});return _0x187a93[_0x1fba43(0x3d4)]===0x1?_0x187a93[0x0]:void 0x0;}function _0x3e7a87(_0x31d04c){const _0xb8b5ba=_0x2b8d6a;return _0xb8b5ba(0x530)+Array[_0xb8b5ba(0x1ea)](_0x31d04c,_0x375db5=>{const _0x470a12=_0xb8b5ba;var _0x253182;return/[A-Za-z0-9]/[_0x470a12(0x250)](_0x375db5)?_0x375db5:'_x'+(((_0x253182=_0x375db5[_0x470a12(0x5ec)](0x0))==null?void 0x0:_0x253182['toString'](0x10))??'0')+'_';})[_0xb8b5ba(0x600)]('');}let _0x5bee66=new _0x41a657();function _0x1cae61(_0x5834fd,_0x27889e,_0x124d54){const _0x40ffbc=_0x2b8d6a;var _0x1555b0;if(_0x124d54[_0x40ffbc(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x40ffbc(0x25e)])return!0x0;let _0x48b386=String(((_0x1555b0=_0x124d54['config'])==null?void 0x0:_0x1555b0[_0x40ffbc(0x4fe)])??''),_0x152b7c=_0x5834fd[_0x40ffbc(0x43e)]();return _0x5bee66[_0x40ffbc(0x226)](_0x48b386,_0x152b7c['tables'][_0x27889e],{'snapshot':_0x152b7c})[_0x40ffbc(0x47d)];}function _0x59a7a2(_0x51a253,_0x5affee,_0x5ced01){const _0x2f7a5e=_0x2b8d6a;let _0x72e1c7=_0x51a253[_0x2f7a5e(0x43e)]()['tables'][_0x5affee];if(!_0x72e1c7)return!0x1;let {viewIds:_0x4b9a37,fieldIds:_0x5cc086,recordIds:_0x2f68c8}=_0x5ced01||{};if(_0x4b9a37){for(let _0x1543a5 of _0x4b9a37)if(!_0x72e1c7[_0x2f7a5e(0x2e4)][_0x1543a5])return!0x1;}if(_0x5cc086){for(let _0x4279c5 of _0x5cc086)if(!_0x72e1c7[_0x2f7a5e(0x3b5)][_0x4279c5])return!0x1;}if(_0x2f68c8){for(let _0x8100c0 of _0x2f68c8)if(!_0x72e1c7[_0x2f7a5e(0x38a)][_0x8100c0])return!0x1;}return!0x0;}function _0xa1cda8(_0x593969,_0x32977a,_0x3a518b){const _0x49fd8f=_0x2b8d6a;if(_0x3a518b['id']===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x3a518b[_0x49fd8f(0x1cc)]===_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x46d)]||(0x0,_0xcf3cf2[_0x49fd8f(0x318)])(_0x3a518b['name'])||!_0x1cae61(_0x593969,_0x32977a,_0x3a518b))return!0x1;let _0x43a635=_0x593969[_0x49fd8f(0x43e)]();if(!_0x3f95e1(_0x43a635,_0x3a518b)['valid'])return!0x1;if(_0x3a518b[_0x49fd8f(0x1cc)]!==_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x34e)])return!0x0;let _0x119136=_0x391f91(_0x3a518b);if(!_0x119136)return!0x1;if(_0x119136[_0x49fd8f(0x2de)]===void 0x0)return!0x0;if(_0x119136[_0x49fd8f(0x2de)]!==_0xcf3cf2[_0x49fd8f(0x223)][_0x49fd8f(0x60d)]||_0x119136[_0x49fd8f(0x249)]!==_0x32977a||_0x119136[_0x49fd8f(0x22e)]!==!0x1)return!0x1;let _0x12c748=_0x43a635[_0x49fd8f(0x3d7)][_0x32977a];return!Object['values'](_0x12c748[_0x49fd8f(0x3b5)])['some'](_0x5a5dec=>{const _0x3f2982=_0x49fd8f;var _0x28c229;return _0x5a5dec['id']!==_0x3a518b['id']&&_0x5a5dec[_0x3f2982(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3f2982(0x34e)]&&((_0x28c229=_0x391f91(_0x5a5dec))==null?void 0x0:_0x28c229[_0x3f2982(0x2de)])===_0xcf3cf2['BaseRecordLinkRole'][_0x3f2982(0x60d)];});}function _0x49bde4(_0x359626,_0xecb9f8,_0x2968d6,_0x40417c){const _0x5f5c09=_0x2b8d6a;var _0x37ce4a;let _0x5f8b9f=_0x359626[_0x5f5c09(0x43e)](),_0x3ca946=(_0x37ce4a=_0x5f8b9f[_0x5f5c09(0x3d7)][_0xecb9f8])==null?void 0x0:_0x37ce4a[_0x5f5c09(0x3b5)][_0x2968d6];return!_0x3ca946||_0x3ca946['id']===_0xcf3cf2[_0x5f5c09(0x509)]||_0x3ca946['type']===_0xcf3cf2['BaseFieldType'][_0x5f5c09(0x46d)]?!0x1:_0x3ca946[_0x5f5c09(0x1cc)]!==_0xcf3cf2[_0x5f5c09(0x435)]['RecordLink']||_0x3bd7ca(_0x5f8b9f,_0x3ca946,_0x2aea08(_0x40417c))['valid'];}function _0x3e6f41(_0x25a8d3,_0x31b485,_0x22e754){const _0x130730=_0x2b8d6a;let _0x58e819=_0x25a8d3['getSnapshot']()[_0x130730(0x3d7)][_0x31b485];return!_0x58e819||!(0x0,_0xcf3cf2[_0x130730(0x5de)])(_0x22e754['id'])||_0x58e819[_0x130730(0x38a)][_0x22e754['id']]||Object[_0x130730(0x3b1)]['hasOwnProperty']['call'](_0x22e754['values'],_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])&&_0x22e754['values'][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]!==_0x22e754['id']?!0x1:Object['entries'](_0x22e754[_0x130730(0x404)])[_0x130730(0x320)](([_0x2f65ef,_0x10eab0])=>_0x2f65ef===_0xcf3cf2[_0x130730(0x509)]||_0x49bde4(_0x25a8d3,_0x31b485,_0x2f65ef,_0x10eab0));}function _0x4f1f9d(_0x480b5b){const _0x358d73=_0x2b8d6a;return{..._0x480b5b,'values':{..._0x480b5b[_0x358d73(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x480b5b['id']}};}function _0x2aea08(_0x39faeb){const _0x5827df=_0x2b8d6a;if(_0x39faeb&&typeof _0x39faeb==_0x5827df(0x240)&&!Array[_0x5827df(0x2a1)](_0x39faeb)&&'v'in _0x39faeb){let _0x2cef2c=_0x39faeb['v'];return _0x2cef2c===void 0x0?null:_0x2cef2c;}return _0x39faeb;}function _0x2112cd(_0xdc6a5d,_0x42f718,_0x1681d8,_0x19a40f){const _0x2cb05f=_0x2b8d6a;let _0x3cc729=_0xdc6a5d[_0x2cb05f(0x43e)]()[_0x2cb05f(0x3d7)][_0x42f718];if(!_0x3cc729)return null;let _0x2a1ad0=_0xb51e67(_0x3cc729),_0x2e67f0=_0x2a1ad0??_0x4f5050(_0x3cc729),_0x152382=_0x1681d8[_0x2cb05f(0x20f)](_0x48cf2e=>Object[_0x2cb05f(0x3b1)]['hasOwnProperty']['call'](_0x48cf2e[_0x2cb05f(0x404)],_0x2e67f0)),_0xca66a5=_0x2a1ad0?_0x3cc729[_0x2cb05f(0x3b5)][_0x2a1ad0]:_0x152382?_0x3df43c(_0x3cc729,_0x2e67f0,_0x19a40f):null,_0x6614f0=[];for(let _0x3204d1 of _0x1681d8){let _0x287ebf=_0x3204d1[_0x2cb05f(0x404)][_0x2e67f0],_0xf72379=_0xca66a5!==null&&Object[_0x2cb05f(0x3b1)][_0x2cb05f(0x1ec)]['call'](_0x3204d1[_0x2cb05f(0x404)],_0x2e67f0),_0x55a46b=_0x2aea08(_0x287ebf),_0x505c4b=null;if(_0xf72379){if(typeof _0x55a46b!=_0x2cb05f(0x3ea)||!_0x456626(_0x55a46b,!0x1)[_0x2cb05f(0x47d)])return null;_0x505c4b=_0x55a46b;}let _0x24af9b={};if(Object[_0x2cb05f(0x271)](_0x3204d1['values'])['forEach'](([_0x5c350d,_0x34f50b])=>{(!_0xf72379||_0x5c350d!==_0x2e67f0)&&(_0x24af9b[_0x5c350d]=_0x34f50b);}),!_0x3e6f41(_0xdc6a5d,_0x42f718,{..._0x3204d1,'values':_0x24af9b}))return null;let _0x56c43c={..._0x3204d1[_0x2cb05f(0x404)]};_0x505c4b!==null&&(_0x56c43c[_0x2e67f0]=_0x505c4b),_0x6614f0[_0x2cb05f(0x309)](_0x4f1f9d({..._0x3204d1,'values':_0x56c43c}));}return{'records':_0x6614f0,'hierarchyFieldToMaterialize':_0x2a1ad0?null:_0xca66a5,'hierarchyChanges':_0x441a71(_0x3cc729,_0x6614f0)};}let _0xabe762={'id':_0x2b8d6a(0x35e),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x5cb934,_0x3cc571){const _0x45d8cf=_0x2b8d6a;if(!_0x3cc571)return!0x1;let _0x3da3e0=_0x5cb934['get'](_0xcf3cf2[_0x45d8cf(0x56e)]),{unitId:_0x429475,tableId:_0x3c2c93,records:_0x20ba85}=_0x3cc571,_0x2ee305=_0x3da3e0[_0x45d8cf(0x425)](_0x429475,_0xcf3cf2[_0x45d8cf(0x2f8)][_0x45d8cf(0x2bf)]),_0x5b7016=_0x20ba85[_0x45d8cf(0x2c4)](_0x5b01d7=>_0x5b01d7['id']);if(!_0x2ee305||!_0x59a7a2(_0x2ee305,_0x3c2c93)||new Set(_0x5b7016)[_0x45d8cf(0x219)]!==_0x5b7016['length'])return!0x1;let _0x19aaa3=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x1e8)]),_0x354f3a=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x5cb)]),_0x4b0396=_0x5cb934[_0x45d8cf(0x4f0)](_0x5394a2),_0x27234c=_0x2ee305[_0x45d8cf(0x43e)](),_0x563dcf=_0x2112cd(_0x2ee305,_0x3c2c93,_0x20ba85);if(!_0x563dcf)return!0x1;let {records:_0x393885,hierarchyChanges:_0x44e7e9,hierarchyFieldToMaterialize:_0x1ee598}=_0x563dcf,_0xc1b97c=_0x1ee598?_0x4b0396[_0x45d8cf(0x29b)](_0x2ee305,_0x3c2c93,_0x1ee598,_0x27234c['tables'][_0x3c2c93][_0x45d8cf(0x4ab)][_0x45d8cf(0x3d4)]):null,_0x1a8f9c=_0x4b0396[_0x45d8cf(0x493)](_0x2ee305,_0x3c2c93,_0x393885),_0x45e24c=_0x5dc19d([..._0xc1b97c?[_0xc1b97c]:[],_0x1a8f9c]),_0x503313=new _0x3c7454()['invertOp'](_0x27234c,_0x45e24c),_0x4dd44d={'unitId':_0x429475,'op':_0x45e24c,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9:void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x3cc571[_0x45d8cf(0x357)]??'ui':void 0x0},_0x40717b={..._0x4dd44d,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x389):void 0x0},_0x5ac978={'unitId':_0x429475,'op':_0x503313,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9[_0x45d8cf(0x2c4)](_0xadc45d=>({..._0xadc45d,'oldParentRecordId':_0xadc45d['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x2b1):void 0x0};return _0x19aaa3['syncExecuteCommand'](_0x40f796['id'],_0x4dd44d)?(_0x3da3e0[_0x45d8cf(0x544)](_0x429475),_0x354f3a[_0x45d8cf(0x2b2)]({'unitID':_0x429475,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ac978}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x40717b}]}),!0x0):!0x1;}},_0x16c000={'id':'base.command.batch-delete-base-records','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x588135,_0x7a6986)=>{const _0x561334=_0x2b8d6a;if(!_0x7a6986)return!0x1;let _0x1705fa=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x56e)]),{unitId:_0x4ade32,tableId:_0x388361,recordIds:_0x31a124}=_0x7a6986,_0x2f8e22=_0x1705fa[_0x561334(0x425)](_0x4ade32,_0xcf3cf2['UniverInstanceType'][_0x561334(0x2bf)]);if(!_0x2f8e22||!_0x59a7a2(_0x2f8e22,_0x388361,{'recordIds':_0x31a124}))return!0x1;let _0x579283=_0x588135[_0x561334(0x4f0)](_0xcf3cf2['ICommandService']),_0x470405=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x5cb)]),_0x262b3b=_0x2f8e22[_0x561334(0x43e)](),_0x4d9979=_0x3b968d(_0x262b3b[_0x561334(0x3d7)][_0x388361],_0x31a124),_0x39b0e1=new _0x15dbb7(),_0x4bc4c7=new _0x3c7454(),_0x4d240b=_0x39b0e1[_0x561334(0x595)](_0x262b3b,_0x388361,_0x31a124),_0x3b8747=_0x4bc4c7[_0x561334(0x54e)](_0x262b3b,_0x4d240b),_0x673893=_0x39b0e1[_0x561334(0x5c8)](_0x262b3b,_0x3b8747,_0x388361,_0x31a124),_0x263764={'unitId':_0x4ade32,'op':_0x4d240b,'hierarchyChanges':_0x4d9979,'source':_0x7a6986[_0x561334(0x357)]??'ui'},_0x4b84e7={..._0x263764,'source':_0x561334(0x389)},_0x584c76={'unitId':_0x4ade32,'op':_0x673893,'hierarchyChanges':_0x4d9979['map'](_0x42bd66=>({..._0x42bd66,'oldParentRecordId':_0x42bd66['parentRecordId'],'parentRecordId':_0x42bd66[_0x561334(0x38f)]})),'source':_0x561334(0x2b1)};return _0x579283[_0x561334(0x4b6)](_0x40f796['id'],_0x263764)?(_0x1705fa['focusUnit'](_0x4ade32),_0x470405[_0x561334(0x2b2)]({'unitID':_0x4ade32,'undoMutations':[{'id':_0x40f796['id'],'params':_0x584c76}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x4b84e7}]}),!0x0):!0x1;}},_0x433937={'id':_0x2b8d6a(0x360),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x453100,_0x48086e)=>{const _0x2931b7=_0x2b8d6a;if(!_0x48086e)return!0x1;let _0x5e4173=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x56e)]),{unitId:_0x3c11a8,tableId:_0x3016ed,fieldId:_0x1f0ee3,input:_0x1ea3d3}=_0x48086e,_0x4899c3=_0x5e4173[_0x2931b7(0x425)](_0x3c11a8,_0xcf3cf2['UniverInstanceType'][_0x2931b7(0x2bf)]);if(!_0x4899c3||_0x1f0ee3===_0xcf3cf2[_0x2931b7(0x509)]||!_0x59a7a2(_0x4899c3,_0x3016ed,{'fieldIds':[_0x1f0ee3]}))return!0x1;let _0x275716=_0x453100['get'](_0xcf3cf2[_0x2931b7(0x1e8)]),_0x1c6886=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x5cb)]),_0x3ff281=_0x4899c3[_0x2931b7(0x43e)]();if(!_0xa1cda8(_0x4899c3,_0x3016ed,{..._0x3ff281['tables'][_0x3016ed][_0x2931b7(0x3b5)][_0x1f0ee3],..._0x1ea3d3}))return!0x1;let _0x4cffe2=new _0x15dbb7()[_0x2931b7(0x319)](_0x3ff281,_0x3016ed,_0x1f0ee3,_0x1ea3d3),_0x38926a=new _0x3c7454()[_0x2931b7(0x5a5)](_0x3ff281,_0x4cffe2),_0x48ec07={'unitId':_0x3c11a8,'op':_0x4cffe2},_0xd0be9f={'unitId':_0x3c11a8,'op':_0x38926a};return _0x275716['syncExecuteCommand'](_0x40f796['id'],_0x48ec07)?(_0x5e4173[_0x2931b7(0x544)](_0x3c11a8),_0x1c6886[_0x2931b7(0x2b2)]({'unitID':_0x3c11a8,'undoMutations':[{'id':_0x40f796['id'],'params':_0xd0be9f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x48ec07}]}),!0x0):!0x1;}},_0x457f5d={'id':_0x2b8d6a(0x4f8),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x31eeda,_0x270546){const _0x2dffa9=_0x2b8d6a;var _0x55a93f;if(!_0x270546)return!0x1;let {unitId:_0x46cdfe,tableId:_0xeb7206,parentRecordId:_0x8cbb71}=_0x270546,_0x16b53b=_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x56e)]),_0x1fc47d=_0x16b53b[_0x2dffa9(0x425)](_0x46cdfe,_0xcf3cf2[_0x2dffa9(0x2f8)]['UNIVER_BASE']);if(!_0x1fc47d||!_0x59a7a2(_0x1fc47d,_0xeb7206,{'recordIds':[_0x8cbb71]}))throw new _0x1d7b46('missingRecord');let _0x3f5bdb=_0x1fc47d[_0x2dffa9(0x43e)](),_0x4de024=_0x3f5bdb[_0x2dffa9(0x3d7)][_0xeb7206],_0x2a3fd8=_0xb51e67(_0x4de024),_0x2fc748=_0x2a3fd8??_0x270546['fieldId']??_0x4f5050(_0x4de024);if(_0x2a3fd8&&_0x270546[_0x2dffa9(0x580)]&&_0x270546[_0x2dffa9(0x580)]!==_0x2a3fd8||_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748]&&!_0x4d880f(_0x4de024,_0x2fc748))throw new _0x1d7b46(_0x2dffa9(0x43c));if((_0x3760a3(_0x4de024,_0x2fc748)[_0x2dffa9(0x34d)][_0x2dffa9(0x4f0)](_0x8cbb71)??0x0)+0x1>=0x5)throw new _0x1d7b46('maxDepth');if(!_0x3e6f41(_0x1fc47d,_0xeb7206,_0x270546[_0x2dffa9(0x3c2)]))return!0x1;let _0x527ec1=_0x4f1f9d({..._0x270546[_0x2dffa9(0x3c2)],'values':{..._0x270546['record'][_0x2dffa9(0x404)],[_0x2fc748]:_0x47d3ab([_0x8cbb71])}}),_0x3d1181=_0x31eeda[_0x2dffa9(0x4f0)](_0x5394a2),_0x25d659=new _0x15dbb7(),_0x1846cb=_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748],_0x3e8744=_0x1846cb?((_0x55a93f=_0x391f91(_0x1846cb))==null?void 0x0:_0x55a93f['relationRole'])===_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]?null:_0x25d659[_0x2dffa9(0x56b)](_0x3f5bdb,_0xeb7206,_0x2fc748,{'config':{..._0x1846cb[_0x2dffa9(0x5a3)],'relationRole':_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]}}):_0x3d1181[_0x2dffa9(0x29b)](_0x1fc47d,_0xeb7206,_0x3df43c(_0x4de024,_0x2fc748,_0x270546[_0x2dffa9(0x2eb)]),_0x4de024['fieldOrder'][_0x2dffa9(0x3d4)]),_0x3db242=_0x3d1181[_0x2dffa9(0x347)](_0x1fc47d,_0xeb7206,_0x527ec1),_0x3b742a=_0x5dc19d([..._0x3e8744?[_0x3e8744]:[],_0x3db242]),_0x390026=new _0x3c7454()[_0x2dffa9(0x5a5)](_0x3f5bdb,_0x3b742a),_0x1eff17={'tableId':_0xeb7206,'fieldId':_0x2fc748,'recordId':_0x527ec1['id'],'oldParentRecordId':null,'parentRecordId':_0x8cbb71},_0x2d81ba={'unitId':_0x46cdfe,'op':_0x3b742a,'trigger':_0x457f5d['id'],'hierarchyChanges':[_0x1eff17],'source':_0x270546[_0x2dffa9(0x357)]??'ui'},_0x449f44={..._0x2d81ba,'source':_0x2dffa9(0x389)},_0x47d2c0={'unitId':_0x46cdfe,'op':_0x390026,'trigger':_0x457f5d['id'],'hierarchyChanges':[{..._0x1eff17,'oldParentRecordId':_0x8cbb71,'parentRecordId':null}],'source':'undo'};return _0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x1e8)])[_0x2dffa9(0x4b6)](_0x40f796['id'],_0x2d81ba)?(_0x16b53b[_0x2dffa9(0x544)](_0x46cdfe),_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x2dffa9(0x2b2)]({'unitID':_0x46cdfe,'undoMutations':[{'id':_0x40f796['id'],'params':_0x47d2c0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x449f44}]}),!0x0):!0x1;}},_0x80cc29={'id':_0x2b8d6a(0x3d3),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x30d10b,_0x35ef8d){const _0x7c1c64=_0x2b8d6a;if(!_0x35ef8d)return!0x1;let _0x5d6ed2=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x56e)]),{unitId:_0x4f8077,tableId:_0x8995f6,field:_0x8f8aae,index:_0x138dd3,viewIndexes:_0x17c410}=_0x35ef8d,_0x150128=_0x5d6ed2[_0x7c1c64(0x425)](_0x4f8077,_0xcf3cf2[_0x7c1c64(0x2f8)][_0x7c1c64(0x2bf)]);if(!_0x150128||!_0x59a7a2(_0x150128,_0x8995f6)||_0x150128['getSnapshot']()[_0x7c1c64(0x3d7)][_0x8995f6][_0x7c1c64(0x3b5)][_0x8f8aae['id']]||_0x138dd3===0x0||!_0xa1cda8(_0x150128,_0x8995f6,_0x8f8aae))return!0x1;let _0x9c4410=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x1e8)]),_0x3358fa=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xb73b49=_0x30d10b['get'](_0x5394a2)[_0x7c1c64(0x29b)](_0x150128,_0x8995f6,_0x8f8aae,_0x138dd3,_0x17c410),_0x162ef0=new _0x3c7454()[_0x7c1c64(0x5a5)](_0x150128[_0x7c1c64(0x43e)](),_0xb73b49),_0x3a9ff9={'unitId':_0x4f8077,'op':_0xb73b49},_0x39705e={'unitId':_0x4f8077,'op':_0x162ef0};return _0x9c4410['syncExecuteCommand'](_0x40f796['id'],_0x3a9ff9)?(_0x5d6ed2['focusUnit'](_0x4f8077),_0x3358fa[_0x7c1c64(0x2b2)]({'unitID':_0x4f8077,'undoMutations':[{'id':_0x40f796['id'],'params':_0x39705e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3a9ff9}]}),!0x0):!0x1;}},_0x1b3986={'id':_0x2b8d6a(0x324),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b1750,_0x15faac){const _0x2a7a47=_0x2b8d6a;if(!_0x15faac)return!0x1;let _0x1cad66=_0x2b1750['get'](_0xcf3cf2[_0x2a7a47(0x56e)]),{unitId:_0x5dc6a7,tableId:_0x21bac7,record:_0x12d9ff}=_0x15faac,_0x274c02=_0x1cad66[_0x2a7a47(0x425)](_0x5dc6a7,_0xcf3cf2[_0x2a7a47(0x2f8)][_0x2a7a47(0x2bf)]);if(!_0x274c02||!_0x59a7a2(_0x274c02,_0x21bac7))return!0x1;let _0x1283d3=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x1e8)]),_0x40ae17=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x5cb)]),_0x4b7382=_0x2b1750[_0x2a7a47(0x4f0)](_0x5394a2),_0x15595c=_0x274c02['getSnapshot'](),_0x30e070=_0x2112cd(_0x274c02,_0x21bac7,[_0x12d9ff]);if(!_0x30e070)return!0x1;let [_0xb571b6]=_0x30e070[_0x2a7a47(0x38a)],{hierarchyChanges:_0x392f37,hierarchyFieldToMaterialize:_0x400eef}=_0x30e070,_0x2ee644=_0x400eef?_0x4b7382['createCreateFieldOp'](_0x274c02,_0x21bac7,_0x400eef,_0x15595c[_0x2a7a47(0x3d7)][_0x21bac7][_0x2a7a47(0x4ab)][_0x2a7a47(0x3d4)]):null,_0x4ba3b7=_0x4b7382['createCreateRecordOp'](_0x274c02,_0x21bac7,_0xb571b6),_0x580c74=_0x5dc19d([..._0x2ee644?[_0x2ee644]:[],_0x4ba3b7]),_0x221db9=new _0x3c7454()[_0x2a7a47(0x5a5)](_0x15595c,_0x580c74),_0x5e6a2e={'unitId':_0x5dc6a7,'op':_0x580c74,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37:void 0x0,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x15faac[_0x2a7a47(0x357)]??'ui':void 0x0},_0x256b65={..._0x5e6a2e,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x2a7a47(0x389):void 0x0},_0x32aa5b={'unitId':_0x5dc6a7,'op':_0x221db9,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37[_0x2a7a47(0x2c4)](_0x406d97=>({..._0x406d97,'oldParentRecordId':_0x406d97['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x392f37['length']?_0x2a7a47(0x2b1):void 0x0};return _0x1283d3[_0x2a7a47(0x4b6)](_0x40f796['id'],_0x5e6a2e)?(_0x1cad66[_0x2a7a47(0x544)](_0x5dc6a7),_0x40ae17[_0x2a7a47(0x2b2)]({'unitID':_0x5dc6a7,'undoMutations':[{'id':_0x40f796['id'],'params':_0x32aa5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x256b65}]}),!0x0):!0x1;}};function _0x5696c8(_0x567c0b,_0x46e782,_0x40914d){const _0x47264d=_0x2b8d6a;if(!_0x46e782[_0x47264d(0x479)]())return{'valid':!0x1,'reason':_0x47264d(0x450),'error':_0x47264d(0x1f2)};if(_0x46e782[_0x47264d(0x3d4)]>0x1f)return{'valid':!0x1,'reason':_0x47264d(0x3f6),'error':_0x47264d(0x554)};if(_0x46e782['startsWith']('\x27')||_0x46e782[_0x47264d(0x4ec)]('\x27'))return{'valid':!0x1,'reason':_0x47264d(0x359),'error':_0x47264d(0x527)};if(/[:\\/?*\[\]]/['test'](_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x470),'error':_0x47264d(0x301)};if(!(0x0,_0xcf3cf2['nameCharacterCheck'])(_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x203),'error':_0x47264d(0x4ae)};let _0x19d118=_0x46e782[_0x47264d(0x402)]();return Object[_0x47264d(0x404)](_0x567c0b[_0x47264d(0x3d7)])[_0x47264d(0x20f)](_0x5570f8=>_0x5570f8['id']!==_0x40914d&&_0x5570f8[_0x47264d(0x456)][_0x47264d(0x402)]()===_0x19d118)?{'valid':!0x1,'reason':_0x47264d(0x5ac),'error':_0x47264d(0x548)}:{'valid':!0x0};}function _0x30ddf4(_0x5ae3e6,_0x3a9504){const _0x350e93=_0x2b8d6a;let _0x28fafd=_0x3a9504['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x350e93(0x5a4)](/^'+|'+$/g,'')[_0x350e93(0x479)]()||_0x350e93(0x5eb),_0x154f27=0x1;for(;;){let _0x579a30=_0x154f27===0x1?'':'\x20'+_0x154f27,_0x3964eb=''+_0x28fafd['slice'](0x0,0x1f-_0x579a30[_0x350e93(0x3d4)])+_0x579a30;if(_0x5696c8(_0x5ae3e6,_0x3964eb)[_0x350e93(0x47d)])return _0x3964eb;_0x154f27++;}}let _0x19088c={'id':_0x2b8d6a(0x1d2),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x1d0c66,_0x5af081)=>{const _0x32bdc2=_0x2b8d6a;if(!_0x5af081)return!0x1;let _0x1ce213=_0x1d0c66['get'](_0xcf3cf2[_0x32bdc2(0x56e)]),{unitId:_0x1aabc5,table:_0x3668bc,index:_0x45675c}=_0x5af081,_0x8e0723=_0x1ce213[_0x32bdc2(0x425)](_0x1aabc5,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x8e0723||_0x8e0723[_0x32bdc2(0x43e)]()[_0x32bdc2(0x3d7)][_0x3668bc['id']]||!_0x5696c8(_0x8e0723[_0x32bdc2(0x43e)](),_0x3668bc[_0x32bdc2(0x456)])[_0x32bdc2(0x47d)])return!0x1;try{(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x3668bc);}catch{return!0x1;}let _0x3c6d5e=_0x1d0c66['get'](_0xcf3cf2['ICommandService']),_0x42bf8a=_0x1d0c66[_0x32bdc2(0x4f0)](_0xcf3cf2[_0x32bdc2(0x5cb)]),_0x13cfb4=_0x8e0723[_0x32bdc2(0x43e)](),_0x125457=new _0x15dbb7()['createTable'](_0x13cfb4,_0x3668bc,_0x45675c),_0x6bf8b5=new _0x3c7454()[_0x32bdc2(0x5a5)](_0x13cfb4,_0x125457),_0x938e0f={'unitId':_0x1aabc5,'op':_0x125457},_0x19949d={'unitId':_0x1aabc5,'op':_0x6bf8b5};return _0x3c6d5e[_0x32bdc2(0x4b6)](_0x40f796['id'],_0x938e0f)?(_0x1ce213[_0x32bdc2(0x544)](_0x1aabc5),_0x42bf8a['pushUndoRedo']({'unitID':_0x1aabc5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x19949d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x938e0f}]}),!0x0):!0x1;}};function _0x5af319(_0x4f1625,_0x5d009f,_0x1fbd70=[]){const _0x583fd8=_0x2b8d6a;let _0x357703=new Set([...Object[_0x583fd8(0x404)](_0x4f1625[_0x583fd8(0x3b5)])[_0x583fd8(0x355)](_0x156379=>_0x156379)[_0x583fd8(0x2c4)](_0x14276d=>_0x14276d[_0x583fd8(0x456)]),..._0x1fbd70['map'](_0x5783e8=>_0x5783e8[_0x583fd8(0x456)])]);if(!_0x357703[_0x583fd8(0x244)](_0x5d009f))return _0x5d009f;let _0xfee649=0x2;for(;_0x357703['has'](_0x5d009f+'\x20'+_0xfee649);)_0xfee649++;return _0x5d009f+'\x20'+_0xfee649;}function _0x14441e(_0xed72ab,_0x847060){const _0x11e0f5=_0x2b8d6a;if(!_0xed72ab||!_0x847060[_0x11e0f5(0x3d4)])return;let _0x5eb9bc=[..._0xed72ab];return _0x847060[_0x11e0f5(0x458)](_0x403f71=>{const _0x160f92=_0x11e0f5;_0x5eb9bc['includes'](_0x403f71)||_0x5eb9bc[_0x160f92(0x309)](_0x403f71);}),_0x5eb9bc;}let _0x184ce4={'options':[{'id':_0x2b8d6a(0x2c5),'name':_0x2b8d6a(0x28f),'color':_0x2b8d6a(0x491)},{'id':_0x2b8d6a(0x1d1),'name':_0x2b8d6a(0x3f7),'color':_0x2b8d6a(0x574)},{'id':_0x2b8d6a(0x21a),'name':_0x2b8d6a(0x384),'color':'#BBF7D0'}]},_0x480ada={'locale':_0x2b8d6a(0x421),'pattern':_0x2b8d6a(0x51b),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x2b8d6a(0x44a)};function _0x214326(_0x5c71de,_0x4dfe8b,_0x199157,_0x5b1480){const _0x57a323=_0x2b8d6a;var _0x5301df;let _0x26dd0f=new _0x15dbb7(),_0x2cf1df=_0x5c71de['tables'][_0x4dfe8b],_0x10cd0b=_0x2cf1df?{..._0x199157,'fieldOrder':[_0xcf3cf2[_0x57a323(0x509)],...(_0x199157[_0x57a323(0x4ab)]??_0x2cf1df['fieldOrder'])[_0x57a323(0x355)](_0x8d574e=>_0x8d574e!==_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x199157[_0x57a323(0x239)],[_0xcf3cf2[_0x57a323(0x509)]]:{...(_0x5301df=_0x199157[_0x57a323(0x239)])==null?void 0x0:_0x5301df[_0xcf3cf2[_0x57a323(0x509)]],'hidden':!0x0}}}:_0x199157;if(_0x2cf1df&&_0x10cd0b[_0x57a323(0x1cc)]===_0x57a323(0x57a)){let _0x238d0b=_0x2c1e35(_0x2cf1df,_0x10cd0b),_0x1e6c37=_0x238d0b['changed']?{..._0x10cd0b,'config':_0x238d0b[_0x57a323(0x5a3)],'fieldOrder':_0x238d0b[_0x57a323(0x4ab)]??_0x10cd0b[_0x57a323(0x4ab)]}:_0x10cd0b;return _0x5dc19d([..._0x238d0b[_0x57a323(0x3b5)]['map'](_0x428ec8=>_0x26dd0f['createField'](_0x5c71de,_0x4dfe8b,{'field':_0x428ec8})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x1e6c37,_0x5b1480)]);}if(!_0x2cf1df||_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x266)&&_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x1f3))return _0x26dd0f['createView'](_0x5c71de,_0x4dfe8b,_0x10cd0b,_0x5b1480);let _0x4f78be=_0x56d2b1(_0x2cf1df,_0x10cd0b),_0x15dbe7=_0x4f78be[_0x57a323(0x2aa)]?{..._0x10cd0b,'config':_0x4f78be[_0x57a323(0x5a3)],'fieldOrder':_0x4f78be[_0x57a323(0x4ab)]??_0x10cd0b['fieldOrder']}:_0x10cd0b;return _0x10cd0b['type']===_0x57a323(0x1f3)&&_0x24dd63(_0x10cd0b)&&(_0x15dbe7=_0x44ed01(_0x2cf1df,_0x15dbe7,_0x4f78be['fields'])),_0x5dc19d([..._0x4f78be[_0x57a323(0x3b5)][_0x57a323(0x2c4)](_0x3a3069=>_0x26dd0f[_0x57a323(0x3ed)](_0x5c71de,_0x4dfe8b,{'field':_0x3a3069})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x15dbe7,_0x5b1480)]);}function _0x56d2b1(_0x1ff1fd,_0x3cc1a5,_0x1afb3b=!0x1){const _0x1de823=_0x2b8d6a;var _0x5d87a8,_0xf6a1d4;let _0x553b38=_0x1ff1fd[_0x1de823(0x4ab)][_0x1de823(0x355)](_0xfecca7=>_0x2aecc7(_0x1ff1fd,_0xfecca7)),_0x5ce817=[],_0x5f5574={..._0x3cc1a5['config']??{}},_0x16c89d=typeof _0x5f5574['startDateFieldId']==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x31c)])?_0x5f5574[_0x1de823(0x31c)]:_0x553b38[0x0],_0x553579=typeof _0x5f5574[_0x1de823(0x2b3)]==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x2b3)])&&_0x5f5574[_0x1de823(0x2b3)]!==_0x16c89d?_0x5f5574[_0x1de823(0x2b3)]:_0x553b38[_0x1de823(0x22c)](_0x1e33e4=>_0x1e33e4!==_0x16c89d);if(!_0x16c89d){let _0x1edd63=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x1f3)?_0x1de823(0x25c):'Date');_0x5ce817[_0x1de823(0x309)](_0x1edd63),_0x16c89d=_0x1edd63['id'];}if((_0x3cc1a5['type']===_0x1de823(0x1f3)||_0x1afb3b)&&!_0x553579){let _0x39f527=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x1de823(0x525));_0x5ce817['push'](_0x39f527),_0x553579=_0x39f527['id'];}_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&!_0x553579&&delete _0x5f5574[_0x1de823(0x2b3)],_0x5f5574[_0x1de823(0x31c)]=_0x16c89d,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&_0x553579&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579),_0x3cc1a5[_0x1de823(0x1cc)]==='gantt'&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579??_0x16c89d);let _0x4222bc=_0x14441e(_0x3cc1a5[_0x1de823(0x4ab)],_0x5ce817[_0x1de823(0x2c4)](_0x40025f=>_0x40025f['id']));return{'changed':_0x5ce817[_0x1de823(0x3d4)]>0x0||_0x5f5574[_0x1de823(0x31c)]!==((_0x5d87a8=_0x3cc1a5[_0x1de823(0x5a3)])==null?void 0x0:_0x5d87a8[_0x1de823(0x31c)])||_0x5f5574[_0x1de823(0x2b3)]!==((_0xf6a1d4=_0x3cc1a5['config'])==null?void 0x0:_0xf6a1d4['endDateFieldId'])||!(!_0x4222bc||_0xcf3cf2['Tools'][_0x1de823(0x33c)](_0x4222bc,_0x3cc1a5[_0x1de823(0x4ab)]??[])),'fields':_0x5ce817,'config':_0x5f5574,'fieldOrder':_0x4222bc};}function _0x2c1e35(_0x1c63c7,_0x1dc993){const _0x57b6b1=_0x2b8d6a;var _0x1377a9;let _0x4d4fa0=[],_0x1a906f={..._0x1dc993[_0x57b6b1(0x5a3)]??{}},_0x4083b2=typeof _0x1a906f[_0x57b6b1(0x259)]==_0x57b6b1(0x3ea)&&_0x4d1928(_0x1c63c7,_0x1a906f[_0x57b6b1(0x259)])?_0x1a906f['groupFieldId']:_0x1c63c7['fieldOrder'][_0x57b6b1(0x22c)](_0x179704=>_0x4d1928(_0x1c63c7,_0x179704));if(!_0x4083b2){let _0x2a3361=_0x7e4de1(_0x1c63c7,_0x4d4fa0);_0x4d4fa0[_0x57b6b1(0x309)](_0x2a3361),_0x4083b2=_0x2a3361['id'];}_0x1a906f[_0x57b6b1(0x259)]=_0x4083b2;let _0x131bb8=_0x14441e(_0x1dc993['fieldOrder'],_0x4d4fa0[_0x57b6b1(0x2c4)](_0x208b69=>_0x208b69['id']));return{'changed':_0x4d4fa0[_0x57b6b1(0x3d4)]>0x0||_0x1a906f['groupFieldId']!==((_0x1377a9=_0x1dc993[_0x57b6b1(0x5a3)])==null?void 0x0:_0x1377a9[_0x57b6b1(0x259)])||!(!_0x131bb8||_0xcf3cf2[_0x57b6b1(0x255)][_0x57b6b1(0x33c)](_0x131bb8,_0x1dc993['fieldOrder']??[])),'fields':_0x4d4fa0,'config':_0x1a906f,'fieldOrder':_0x131bb8};}function _0x4d1928(_0x127b18,_0x1dd65c){const _0x1fbe80=_0x2b8d6a;let _0x26e294=_0x1dd65c?_0x127b18[_0x1fbe80(0x3b5)][_0x1dd65c]:null;return _0x26e294?[_0xcf3cf2['BaseFieldType']['SingleSelect'],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x336)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x22a)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3d5)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3fa)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x5f8)]][_0x1fbe80(0x299)](_0x26e294[_0x1fbe80(0x1cc)]):!0x1;}function _0x7e4de1(_0x1fe041,_0x9acebb){const _0xa71eaa=_0x2b8d6a;return{'id':_0xa71eaa(0x4b3)+(0x0,_0xcf3cf2[_0xa71eaa(0x2dd)])(0x8),'name':_0x5af319(_0x1fe041,_0xa71eaa(0x519),_0x9acebb),'type':_0xcf3cf2['BaseFieldType'][_0xa71eaa(0x2e3)],'config':_0xcf3cf2[_0xa71eaa(0x255)][_0xa71eaa(0x578)](_0x184ce4)};}function _0x24dd63(_0x5512ef){const _0x33c02e=_0x2b8d6a;return Object[_0x33c02e(0x582)](_0x5512ef[_0x33c02e(0x5a3)]??{})[_0x33c02e(0x3d4)]===0x0&&Object['keys'](_0x5512ef[_0x33c02e(0x239)]??{})[_0x33c02e(0x3d4)]===0x0;}function _0x44ed01(_0x401e0e,_0xc91d5d,_0x50fd1c){const _0x5cffbc=_0x2b8d6a;let _0x3b1dae={..._0xc91d5d[_0x5cffbc(0x5a3)]??{}},_0x37a6b4=_0x50fd1c[_0x5cffbc(0x2c4)](_0x3b22c4=>_0x3b22c4['id']),_0x2edc45=[..._0x401e0e[_0x5cffbc(0x4ab)],..._0x37a6b4],_0x1c1387=typeof _0x3b1dae['titleFieldId']==_0x5cffbc(0x3ea)&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x3b1dae[_0x5cffbc(0x4cf)])?_0x3b1dae[_0x5cffbc(0x4cf)]:_0x401e0e[_0x5cffbc(0x4b4)],_0x4147e1=typeof _0x3b1dae[_0x5cffbc(0x31c)]==_0x5cffbc(0x3ea)?_0x3b1dae[_0x5cffbc(0x31c)]:'',_0x15bca2=typeof _0x3b1dae[_0x5cffbc(0x2b3)]=='string'?_0x3b1dae['endDateFieldId']:_0x4147e1,_0x41eceb=new Set([_0x1c1387,_0x4147e1,_0x15bca2][_0x5cffbc(0x355)](_0x52b8bd=>_0x52b8bd&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x52b8bd))),_0x33a943=Object[_0x5cffbc(0x3a6)](_0x2edc45['flatMap'](_0x58264e=>_0x41eceb['has'](_0x58264e)||!_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x58264e)?[]:[[_0x58264e,{'hidden':!0x0}]]));return{..._0xc91d5d,'config':{..._0x3b1dae,'titleFieldId':_0x1c1387},'fieldSettings':_0x33a943};}function _0x4ea3b3(_0x5812a6,_0x474ff0,_0x13df12){const _0x209cee=_0x2b8d6a;return!!(_0x5812a6[_0x209cee(0x3b5)][_0x13df12]??_0x474ff0[_0x209cee(0x22c)](_0x174cf0=>_0x174cf0['id']===_0x13df12))&&!0x0;}function _0x2aecc7(_0x38a41c,_0x27e6be){const _0x824088=_0x2b8d6a;let _0x20142f=_0x27e6be?_0x38a41c[_0x824088(0x3b5)][_0x27e6be]:null;return!!_0x20142f&&_0x20142f[_0x824088(0x1cc)]===_0xcf3cf2[_0x824088(0x435)][_0x824088(0x2d9)]&&_0x20142f[_0x824088(0x30e)]!==!0x0&&_0x20142f[_0x824088(0x27a)]!==!0x0;}function _0x580dd0(_0x5e18d7,_0x40965b,_0x1f3666){const _0x45a1b7=_0x2b8d6a;let _0x4f7460=new Set([...Object[_0x45a1b7(0x582)](_0x5e18d7[_0x45a1b7(0x3b5)]),..._0x40965b['map'](_0x26d2be=>_0x26d2be['id'])]),_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);for(;_0x4f7460[_0x45a1b7(0x244)](_0x157bd7);)_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);return{'id':_0x157bd7,'name':_0x5af319(_0x5e18d7,_0x1f3666,_0x40965b),'type':_0xcf3cf2['BaseFieldType']['Date'],'config':{..._0x480ada}};}let _0x5057dc={'id':_0x2b8d6a(0x4e7),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x375841,_0x2ec6cf)=>{const _0x3301a9=_0x2b8d6a;if(!_0x2ec6cf)return!0x1;let _0x54c1e4=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x56e)]),{unitId:_0x224a61,tableId:_0x20cf2d,view:_0x5763f5,index:_0x2e4930}=_0x2ec6cf,_0x2ba6e6=_0x54c1e4[_0x3301a9(0x425)](_0x224a61,_0xcf3cf2[_0x3301a9(0x2f8)][_0x3301a9(0x2bf)]);if(!_0x2ba6e6||!_0x59a7a2(_0x2ba6e6,_0x20cf2d)||_0x2ba6e6[_0x3301a9(0x43e)]()[_0x3301a9(0x3d7)][_0x20cf2d][_0x3301a9(0x2e4)][_0x5763f5['id']])return!0x1;let _0x54af46=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x1e8)]),_0x35e31b=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x5cb)]),_0x4274cf=_0x2ba6e6[_0x3301a9(0x43e)](),_0x1e020f=_0x214326(_0x4274cf,_0x20cf2d,_0x5763f5,_0x2e4930),_0x1948a6=new _0x3c7454()['invertOp'](_0x4274cf,_0x1e020f),_0x394960={'historyAction':_0x3301a9(0x556),'unitId':_0x224a61,'op':_0x1e020f,'viewType':_0x5763f5[_0x3301a9(0x1cc)]},_0x2905de={'historyAction':_0x3301a9(0x5dc),'unitId':_0x224a61,'op':_0x1948a6,'viewType':_0x5763f5['type']};return _0x54af46[_0x3301a9(0x4b6)](_0x40f796['id'],_0x394960)?(_0x54c1e4[_0x3301a9(0x544)](_0x224a61),_0x35e31b['pushUndoRedo']({'unitID':_0x224a61,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2905de}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x394960}]}),!0x0):!0x1;}},_0x42e92a={'id':_0x2b8d6a(0x287),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x40074b,_0x478935){const _0x139051=_0x2b8d6a;if(!_0x478935)return!0x1;let _0x1ca4a8=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x232469,tableId:_0x570d63,fieldId:_0x41e7bd}=_0x478935,_0x48f59c=_0x1ca4a8[_0x139051(0x425)](_0x232469,_0xcf3cf2[_0x139051(0x2f8)][_0x139051(0x2bf)]);if(!_0x48f59c)return!0x1;let _0x4525f2=_0x48f59c['getSnapshot'](),_0x42b392=_0x4525f2['tables'][_0x570d63];if(!_0x59a7a2(_0x48f59c,_0x570d63,{'fieldIds':[_0x41e7bd]})||_0x42b392[_0x139051(0x4b4)]===_0x41e7bd||_0x41e7bd===_0xcf3cf2[_0x139051(0x509)])return!0x1;let _0x5a8f0f=_0x40074b['get'](_0xcf3cf2['ICommandService']),_0x2aff01=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a3870=new _0x15dbb7()[_0x139051(0x32b)](_0x4525f2,_0x570d63,_0x41e7bd),_0x1bebad=new _0x3c7454()[_0x139051(0x5a5)](_0x4525f2,_0x3a3870),_0x36ee59={'unitId':_0x232469,'op':_0x3a3870},_0x10891e={'unitId':_0x232469,'op':_0x1bebad};return _0x5a8f0f[_0x139051(0x4b6)](_0x40f796['id'],_0x36ee59)?(_0x1ca4a8['focusUnit'](_0x232469),_0x2aff01[_0x139051(0x2b2)]({'unitID':_0x232469,'undoMutations':[{'id':_0x40f796['id'],'params':_0x10891e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36ee59}]}),!0x0):!0x1;}},_0x50bb2a={'id':_0x2b8d6a(0x5f4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xab848b,_0x30a4aa)=>{const _0x4dd8c2=_0x2b8d6a;if(!_0x30a4aa)return!0x1;let _0x3f7b8e=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x56e)]),{unitId:_0x495510,tableId:_0x4b6030,recordId:_0x5c2460}=_0x30a4aa,_0x34b73f=_0x3f7b8e[_0x4dd8c2(0x425)](_0x495510,_0xcf3cf2['UniverInstanceType'][_0x4dd8c2(0x2bf)]);if(!_0x34b73f||!_0x59a7a2(_0x34b73f,_0x4b6030,{'recordIds':[_0x5c2460]}))return!0x1;let _0x1b18c6=_0xab848b['get'](_0xcf3cf2['ICommandService']),_0x56a3b4=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x5cb)]),_0x372a95=_0x34b73f[_0x4dd8c2(0x43e)](),_0x3e260c=_0x3b968d(_0x372a95[_0x4dd8c2(0x3d7)][_0x4b6030],[_0x5c2460]),_0x2b1024=new _0x15dbb7(),_0x575fdc=new _0x3c7454(),_0x5deb97=_0x2b1024['deleteRecord'](_0x372a95,_0x4b6030,_0x5c2460),_0xb970f7=_0x575fdc[_0x4dd8c2(0x54e)](_0x372a95,_0x5deb97),_0x33653c=_0x2b1024['createDeleteRecordsUndoOp'](_0x372a95,_0xb970f7,_0x4b6030,[_0x5c2460]),_0x29d605={'unitId':_0x495510,'op':_0x5deb97,'hierarchyChanges':_0x3e260c,'source':_0x30a4aa[_0x4dd8c2(0x357)]??'ui'},_0x52a893={..._0x29d605,'source':_0x4dd8c2(0x389)},_0x547a9e={'unitId':_0x495510,'op':_0x33653c,'hierarchyChanges':_0x3e260c[_0x4dd8c2(0x2c4)](_0x3d2f75=>({..._0x3d2f75,'oldParentRecordId':_0x3d2f75[_0x4dd8c2(0x346)],'parentRecordId':_0x3d2f75[_0x4dd8c2(0x38f)]})),'source':_0x4dd8c2(0x2b1)};return _0x1b18c6['syncExecuteCommand'](_0x40f796['id'],_0x29d605)?(_0x3f7b8e[_0x4dd8c2(0x544)](_0x495510),_0x56a3b4[_0x4dd8c2(0x2b2)]({'unitID':_0x495510,'undoMutations':[{'id':_0x40f796['id'],'params':_0x547a9e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x52a893}]}),!0x0):!0x1;}},_0x58eadf={'id':_0x2b8d6a(0x229),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x6b92c9,_0x5e9542)=>{const _0x33545a=_0x2b8d6a;if(!_0x5e9542)return!0x1;let _0x371de4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x56e)]),{unitId:_0x3ec91b,tableId:_0x13f7b7}=_0x5e9542,_0xd1abbc=_0x371de4[_0x33545a(0x425)](_0x3ec91b,_0xcf3cf2[_0x33545a(0x2f8)][_0x33545a(0x2bf)]);if(!_0xd1abbc||!_0x59a7a2(_0xd1abbc,_0x13f7b7))return!0x1;let _0x3eaed4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2['ICommandService']),_0x2f63be=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x5cb)]),_0x5440d6=_0xd1abbc['getSnapshot'](),_0x3d1812=_0x39ea47(_0x5440d6,_0x13f7b7);if(_0x3d1812[_0x33545a(0x3d4)]>0x0)return console[_0x33545a(0x4d9)](_0x33545a(0x2bb)+_0x13f7b7+_0x33545a(0x3d2)+_0x3d1812[_0x33545a(0x2c4)](_0x3ba3e9=>_0x3ba3e9['tableId']+'.'+_0x3ba3e9[_0x33545a(0x580)])[_0x33545a(0x600)](',\x20')+'.'),!0x1;let _0x12ca39=new _0x15dbb7()[_0x33545a(0x1f1)](_0x5440d6,_0x13f7b7),_0x16083a=new _0x3c7454()[_0x33545a(0x5a5)](_0x5440d6,_0x12ca39),_0x373bc7={'unitId':_0x3ec91b,'op':_0x12ca39},_0x104bd7={'unitId':_0x3ec91b,'op':_0x16083a};return _0x3eaed4[_0x33545a(0x4b6)](_0x40f796['id'],_0x373bc7)?(_0x371de4[_0x33545a(0x544)](_0x3ec91b),_0x2f63be['pushUndoRedo']({'unitID':_0x3ec91b,'undoMutations':[{'id':_0x40f796['id'],'params':_0x104bd7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x373bc7}]}),!0x0):!0x1;}},_0x5c24f7={'id':_0x2b8d6a(0x4a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x50bcf5,_0x44877)=>{const _0xb116ff=_0x2b8d6a;if(!_0x44877)return!0x1;let _0xd098d5=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x56e)]),{unitId:_0x57f5b1,tableId:_0x5de123,viewId:_0x25d81d}=_0x44877,_0x45ea48=_0xd098d5[_0xb116ff(0x425)](_0x57f5b1,_0xcf3cf2[_0xb116ff(0x2f8)][_0xb116ff(0x2bf)]);if(!_0x45ea48||!_0x59a7a2(_0x45ea48,_0x5de123,{'viewIds':[_0x25d81d]}))return!0x1;let _0x39daa3=_0x50bcf5['get'](_0xcf3cf2[_0xb116ff(0x1e8)]),_0x33f294=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x5cb)]),_0x1aacca=_0x45ea48[_0xb116ff(0x43e)](),_0xa9ae4e=_0x1aacca[_0xb116ff(0x3d7)][_0x5de123][_0xb116ff(0x2e4)][_0x25d81d][_0xb116ff(0x1cc)],_0x509690=new _0x15dbb7()[_0xb116ff(0x213)](_0x1aacca,_0x5de123,_0x25d81d),_0x4433d1=new _0x3c7454()[_0xb116ff(0x5a5)](_0x1aacca,_0x509690),_0x1c416b={'historyAction':_0xb116ff(0x5dc),'unitId':_0x57f5b1,'op':_0x509690,'viewType':_0xa9ae4e},_0x5ad018={'historyAction':'create-view','unitId':_0x57f5b1,'op':_0x4433d1,'viewType':_0xa9ae4e};return _0x39daa3['syncExecuteCommand'](_0x40f796['id'],_0x1c416b)?(_0xd098d5[_0xb116ff(0x544)](_0x57f5b1),_0x33f294[_0xb116ff(0x2b2)]({'unitID':_0x57f5b1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ad018}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1c416b}]}),!0x0):!0x1;}},_0x592df7={'id':_0x2b8d6a(0x4ca),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x9a9d67,_0x29e9e9)=>{const _0xfe1e81=_0x2b8d6a;if(!_0x29e9e9)return!0x1;let _0x2504a5=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x56e)]),{unitId:_0x5319ed,tableId:_0x31a20f,sourceFieldId:_0xcfced5,field:_0xd8dc7f,index:_0x3cd795,viewIndexes:_0x598dae}=_0x29e9e9,_0x14c931=_0x2504a5[_0xfe1e81(0x425)](_0x5319ed,_0xcf3cf2[_0xfe1e81(0x2f8)][_0xfe1e81(0x2bf)]);if(!_0x14c931||!_0x59a7a2(_0x14c931,_0x31a20f,{'fieldIds':[_0xcfced5]})||_0xcfced5===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x14c931['getSnapshot']()['tables'][_0x31a20f][_0xfe1e81(0x3b5)][_0xd8dc7f['id']]||_0x3cd795===0x0||!_0xa1cda8(_0x14c931,_0x31a20f,_0xd8dc7f))return!0x1;let _0x5b5639=_0x9a9d67[_0xfe1e81(0x4f0)](_0xcf3cf2[_0xfe1e81(0x1e8)]),_0x522b90=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x5cb)]),_0x12dbfc=_0x14c931[_0xfe1e81(0x43e)](),_0x3723f5=new _0x15dbb7()[_0xfe1e81(0x2b8)](_0x12dbfc,_0x31a20f,_0xcfced5,{'field':_0xd8dc7f,'index':_0x3cd795,'viewIndexes':_0x598dae}),_0x404f6b=new _0x3c7454()[_0xfe1e81(0x5a5)](_0x12dbfc,_0x3723f5),_0x533d05={'unitId':_0x5319ed,'op':_0x3723f5},_0xdb942f={'unitId':_0x5319ed,'op':_0x404f6b};return _0x5b5639[_0xfe1e81(0x4b6)](_0x40f796['id'],_0x533d05)?(_0x2504a5[_0xfe1e81(0x544)](_0x5319ed),_0x522b90['pushUndoRedo']({'unitID':_0x5319ed,'undoMutations':[{'id':_0x40f796['id'],'params':_0xdb942f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x533d05}]}),!0x0):!0x1;}},_0x217849={'id':'base.command.duplicate-base-record','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0xc2c7c5,_0x1b6ca1)=>{const _0x5ca6f7=_0x2b8d6a;if(!_0x1b6ca1)return!0x1;let _0x2aae60=_0xc2c7c5['get'](_0xcf3cf2[_0x5ca6f7(0x56e)]),{unitId:_0x185a78,tableId:_0x18b82a,sourceRecordId:_0x5bd243,record:_0x357d0d}=_0x1b6ca1,_0x2c4556=_0x2aae60['getUnit'](_0x185a78,_0xcf3cf2[_0x5ca6f7(0x2f8)]['UNIVER_BASE']);if(!_0x2c4556||!_0x59a7a2(_0x2c4556,_0x18b82a,{'recordIds':[_0x5bd243]})||!_0x3e6f41(_0x2c4556,_0x18b82a,_0x357d0d))return!0x1;let _0x4fce2a=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2['ICommandService']),_0x3a0076=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2[_0x5ca6f7(0x5cb)]),_0x4aeb9c=_0x2c4556[_0x5ca6f7(0x43e)](),_0x1519ce=_0x4f1f9d(_0x357d0d),_0xed181c=_0x441a71(_0x4aeb9c[_0x5ca6f7(0x3d7)][_0x18b82a],[_0x1519ce]),_0x10b10a=new _0x15dbb7()[_0x5ca6f7(0x5dd)](_0x4aeb9c,_0x18b82a,_0x5bd243,_0x1519ce),_0x5cdcf1=new _0x3c7454()[_0x5ca6f7(0x5a5)](_0x4aeb9c,_0x10b10a),_0x4f92d0={'unitId':_0x185a78,'op':_0x10b10a,'hierarchyChanges':_0xed181c['length']?_0xed181c:void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x1b6ca1[_0x5ca6f7(0x357)]??'ui':void 0x0},_0x2c5544={..._0x4f92d0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x389):void 0x0},_0x25bfc3={'unitId':_0x185a78,'op':_0x5cdcf1,'hierarchyChanges':_0xed181c[_0x5ca6f7(0x3d4)]?_0xed181c[_0x5ca6f7(0x2c4)](_0x349412=>({..._0x349412,'oldParentRecordId':_0x349412[_0x5ca6f7(0x346)],'parentRecordId':null})):void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x2b1):void 0x0};return _0x4fce2a[_0x5ca6f7(0x4b6)](_0x40f796['id'],_0x4f92d0)?(_0x2aae60[_0x5ca6f7(0x544)](_0x185a78),_0x3a0076[_0x5ca6f7(0x2b2)]({'unitID':_0x185a78,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25bfc3}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2c5544}]}),!0x0):!0x1;}},_0x4a862d={'id':_0x2b8d6a(0x49b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x253599,_0x3cbd15){const _0x49cb23=_0x2b8d6a;if(!_0x3cbd15)return!0x1;let _0x1045ef=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x56e)]),{unitId:_0x472ef5,tableId:_0x29a1f1,viewId:_0x485fb7,ensureEndDateField:_0x1139e0}=_0x3cbd15,_0x3d78a2=_0x1045ef[_0x49cb23(0x425)](_0x472ef5,_0xcf3cf2[_0x49cb23(0x2f8)]['UNIVER_BASE']);if(!_0x3d78a2||!_0x59a7a2(_0x3d78a2,_0x29a1f1,{'viewIds':[_0x485fb7]}))return!0x1;let _0x353329=_0x3d78a2['getSnapshot'](),_0x12be20=_0x353329[_0x49cb23(0x3d7)][_0x29a1f1],_0x4c607d=_0x12be20==null?void 0x0:_0x12be20[_0x49cb23(0x2e4)][_0x485fb7];if(!_0x12be20||!_0x4c607d||_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x266)&&_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x1f3))return!0x1;let _0x1a360e=_0x56d2b1(_0x12be20,_0x4c607d,_0x1139e0===!0x0);if(!_0x1a360e[_0x49cb23(0x2aa)])return!0x1;let _0x8be6ae=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x1e8)]),_0x35378e=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x5cb)]),_0x515ebe=new _0x15dbb7(),_0x5eb15f=[..._0x1a360e['fields'][_0x49cb23(0x2c4)](_0x1b6750=>_0x515ebe[_0x49cb23(0x3ed)](_0x353329,_0x3cbd15[_0x49cb23(0x3e2)],{'field':_0x1b6750})),_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x5a3)],_0x4c607d[_0x49cb23(0x5a3)],_0x1a360e['config'])];_0x1a360e[_0x49cb23(0x4ab)]&&_0x5eb15f['push'](_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x4ab)],_0x4c607d['fieldOrder'],_0x1a360e[_0x49cb23(0x4ab)]));let _0x55fc4a=_0x5dc19d(_0x5eb15f),_0x3b1883=new _0x3c7454()[_0x49cb23(0x5a5)](_0x353329,_0x55fc4a),_0x19c597={'unitId':_0x472ef5,'op':_0x55fc4a},_0x25c5ab={'unitId':_0x472ef5,'op':_0x3b1883};return _0x8be6ae[_0x49cb23(0x4b6)](_0x40f796['id'],_0x19c597)?(_0x1045ef[_0x49cb23(0x544)](_0x472ef5),_0x35378e[_0x49cb23(0x2b2)]({'unitID':_0x472ef5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25c5ab}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19c597}]}),!0x0):!0x1;}};function _0x35f583(_0x293c72,_0x46aa34,_0xfa3bdf){const _0xd2457f=_0x2b8d6a;return _0x46aa34===void 0x0?_0xcf3cf2[_0xd2457f(0x597)]['insertOp'](_0x293c72,_0xfa3bdf):_0xcf3cf2[_0xd2457f(0x597)][_0xd2457f(0x5f9)](_0x293c72,_0x46aa34,_0xfa3bdf);}function _0x32c40e(_0x163828,_0x4b50d3){const _0xd70c70=_0x2b8d6a;return['tables',_0x163828,_0xd70c70(0x2e4),_0x4b50d3];}let _0x4a02a4={'id':_0x2b8d6a(0x24f),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x400135,_0x3ae9a0)=>{const _0x258f24=_0x2b8d6a;if(!_0x3ae9a0)return!0x1;let _0x308adf=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x56e)]),{unitId:_0x27bd40,tableId:_0x27a229,fieldId:_0x20a89d,target:_0x15867b}=_0x3ae9a0,_0x399cac=_0x308adf[_0x258f24(0x425)](_0x27bd40,_0xcf3cf2['UniverInstanceType'][_0x258f24(0x2bf)]),_0xbce536=_0x15867b[_0x258f24(0x24d)]??_0x15867b[_0x258f24(0x58f)];if(!_0x399cac||!!_0x15867b[_0x258f24(0x24d)]==!!_0x15867b[_0x258f24(0x58f)]||!_0xbce536||_0xbce536===_0x20a89d||_0x20a89d===_0xcf3cf2[_0x258f24(0x509)]||_0x15867b[_0x258f24(0x24d)]===_0xcf3cf2[_0x258f24(0x509)]||!_0x59a7a2(_0x399cac,_0x27a229,{'fieldIds':[_0x20a89d,_0xbce536]}))return!0x1;let _0x59dc2b=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x1e8)]),_0x3a1d50=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xc1d2c0=_0x399cac['getSnapshot'](),_0x36b7ea=new _0x15dbb7()[_0x258f24(0x21b)](_0xc1d2c0,_0x27a229,_0x20a89d,_0x15867b),_0x27bb52=new _0x3c7454()[_0x258f24(0x5a5)](_0xc1d2c0,_0x36b7ea),_0x1a884e={'unitId':_0x27bd40,'op':_0x36b7ea},_0x1a43f0={'unitId':_0x27bd40,'op':_0x27bb52};return _0x59dc2b[_0x258f24(0x4b6)](_0x40f796['id'],_0x1a884e)?(_0x308adf[_0x258f24(0x544)](_0x27bd40),_0x3a1d50[_0x258f24(0x2b2)]({'unitID':_0x27bd40,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1a43f0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1a884e}]}),!0x0):!0x1;}},_0x55d92d={'id':'base.command.move-base-hierarchy-record','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x3a4ed4,_0x126585)=>{const _0x3ab9d1=_0x2b8d6a;var _0x440c3f;if(!_0x126585)return!0x1;let {unitId:_0x1a03f8,tableId:_0x30d850,recordId:_0x8b5b56,parentRecordId:_0x1d551e,orderKey:_0x43ddc7}=_0x126585,_0x169222=_0x3a4ed4['get'](_0xcf3cf2[_0x3ab9d1(0x56e)]),_0x163456=_0x169222[_0x3ab9d1(0x425)](_0x1a03f8,_0xcf3cf2[_0x3ab9d1(0x2f8)][_0x3ab9d1(0x2bf)]);if(!_0x163456||!_0x59a7a2(_0x163456,_0x30d850,{'recordIds':[_0x8b5b56,..._0x1d551e?[_0x1d551e]:[]]}))throw new _0x1d7b46(_0x3ab9d1(0x3a2));let _0x1cd87d=_0x163456['getSnapshot'](),_0x12b0e9=_0x1cd87d['tables'][_0x30d850],_0x156de5=_0xb51e67(_0x12b0e9),_0x157866=_0x156de5??_0x126585['fieldId']??_0x4f5050(_0x12b0e9);if(_0x156de5&&_0x126585[_0x3ab9d1(0x580)]&&_0x126585[_0x3ab9d1(0x580)]!==_0x156de5||_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866]&&!_0x4d880f(_0x12b0e9,_0x157866))throw new _0x1d7b46('invalidField');let _0x13ba58=_0x3760a3(_0x12b0e9,_0x157866),_0x32c57d=_0x5a84fb(_0x13ba58,_0x8b5b56,_0x1d551e);if(!_0x32c57d[_0x3ab9d1(0x47d)])throw new _0x1d7b46(_0x32c57d['reason']===_0xcf3cf2[_0x3ab9d1(0x296)][_0x3ab9d1(0x428)]?_0x3ab9d1(0x480):_0x32c57d[_0x3ab9d1(0x2e7)]===_0xcf3cf2[_0x3ab9d1(0x296)]['Cycle']?_0x3ab9d1(0x236):_0x3ab9d1(0x522));let _0x497ab5=_0x13ba58[_0x3ab9d1(0x337)][_0x3ab9d1(0x4f0)](_0x8b5b56)??null,_0x1755c3=_0x12b0e9[_0x3ab9d1(0x38a)][_0x8b5b56][_0x3ab9d1(0x340)];if(_0x497ab5===_0x1d551e&&(_0x43ddc7===void 0x0||_0x43ddc7===_0x1755c3))return!0x0;let _0xf2dced=_0x497ab5!==_0x1d551e,_0x4e1dbf=_0x43ddc7!==void 0x0&&_0x43ddc7!==_0x1755c3,_0x54103d=new _0x15dbb7(),_0x3f3b3b=[],_0x5790ab=_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866],_0x37e9c8=_0xf2dced&&(!_0x5790ab||((_0x440c3f=_0x391f91(_0x5790ab))==null?void 0x0:_0x440c3f['relationRole'])!==_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)])?_0x5790ab?_0x54103d[_0x3ab9d1(0x56b)](_0x1cd87d,_0x30d850,_0x157866,{'config':{..._0x5790ab[_0x3ab9d1(0x5a3)],'relationRole':_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)]}}):_0x3a4ed4[_0x3ab9d1(0x4f0)](_0x5394a2)[_0x3ab9d1(0x29b)](_0x163456,_0x30d850,_0x3df43c(_0x12b0e9,_0x157866,_0x126585['parentFieldName']),_0x12b0e9['fieldOrder'][_0x3ab9d1(0x3d4)]):null;_0x37e9c8&&_0x3f3b3b['push'](_0x37e9c8),_0xf2dced&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateCell'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866,_0x1d551e?_0x47d3ab([_0x1d551e]):'')),_0x4e1dbf&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateRecordOrder'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x43ddc7));let _0x2d86e9=_0x5dc19d(_0x3f3b3b),_0x4298b5={'tableId':_0x30d850,'fieldId':_0x157866,'recordId':_0x8b5b56,'oldParentRecordId':_0x497ab5,'parentRecordId':_0x1d551e},_0x215cc1={'unitId':_0x1a03f8,'op':_0x2d86e9,'trigger':_0x55d92d['id'],'hierarchyChanges':[_0x4298b5],'source':_0x126585[_0x3ab9d1(0x357)]??'ui'},_0x1b44c3={..._0x215cc1,'source':_0x3ab9d1(0x389)};if(!_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x1e8)])[_0x3ab9d1(0x4b6)](_0x40f796['id'],_0x215cc1))return!0x1;let _0x4ccd78=_0x163456[_0x3ab9d1(0x43e)](),_0x2a26bf=[];_0xf2dced&&_0x2a26bf['push'](_0xe17bcb(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866)),_0x4e1dbf&&_0x2a26bf['push'](_0x238ad3(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56)),_0x37e9c8&&_0x2a26bf[_0x3ab9d1(0x309)](new _0x3c7454()['invertOp'](_0x1cd87d,_0x37e9c8));let _0x218d9d={'unitId':_0x1a03f8,'op':_0x5dc19d(_0x2a26bf),'trigger':_0x55d92d['id'],'hierarchyChanges':[{..._0x4298b5,'oldParentRecordId':_0x1d551e,'parentRecordId':_0x497ab5}],'source':_0x3ab9d1(0x2b1)};return _0x169222[_0x3ab9d1(0x544)](_0x1a03f8),_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x5cb)])[_0x3ab9d1(0x2b2)]({'unitID':_0x1a03f8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x218d9d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1b44c3}]}),!0x0;}};function _0xe17bcb(_0x1d75cc,_0x3e681f,_0x508311,_0x57e150,_0x350a4c){const _0x41971d=_0x2b8d6a;var _0x5b95cf,_0xc51255,_0x58eb55,_0xabb1dc,_0x57b58a,_0x5baee9,_0x75753b,_0x30512c;let _0x179868=_0x1d75cc['tables'][_0x508311],_0x45e20d=_0x3e681f[_0x41971d(0x3d7)][_0x508311],_0x5841cd=(_0x5b95cf=_0x179868[_0x41971d(0x29a)])==null?void 0x0:_0x5b95cf[_0x57e150],_0xf3f544=(_0xc51255=_0x179868[_0x41971d(0x1f5)])==null?void 0x0:_0xc51255[_0x350a4c],_0x2a94ba=(_0x58eb55=_0x45e20d[_0x41971d(0x29a)])==null?void 0x0:_0x58eb55[_0x57e150],_0x323ba0=(_0xabb1dc=_0x45e20d['colIndex'])==null?void 0x0:_0xabb1dc[_0x350a4c],_0x7c94ef=_0x5841cd==null||_0xf3f544==null||(_0x57b58a=_0x179868[_0x41971d(0x2a3)])==null||(_0x57b58a=_0x57b58a[_0x5841cd])==null?void 0x0:_0x57b58a[_0xf3f544],_0x5bc909=_0x2a94ba==null||_0x323ba0==null||(_0x5baee9=_0x45e20d[_0x41971d(0x2a3)])==null||(_0x5baee9=_0x5baee9[_0x2a94ba])==null?void 0x0:_0x5baee9[_0x323ba0],_0x5d6ca8=(_0x75753b=_0x179868['records'][_0x57e150])==null?void 0x0:_0x75753b[_0x41971d(0x404)][_0x350a4c],_0x362b05=(_0x30512c=_0x45e20d[_0x41971d(0x38a)][_0x57e150])==null?void 0x0:_0x30512c['values'][_0x350a4c],_0x580d43=[],_0x44aaca=_0x49a31c(_0x5841cd==null||_0xf3f544==null?null:_0x4b16d6[_0x41971d(0x2a3)](_0x508311,_0x5841cd,_0xf3f544),_0x7c94ef,_0x5bc909);_0x44aaca&&_0x580d43[_0x41971d(0x309)](_0x44aaca);let _0x5e7c8d=_0x49a31c(_0x4b16d6[_0x41971d(0x4c1)](_0x508311,_0x57e150,_0x350a4c),_0x5d6ca8,_0x362b05);return _0x5e7c8d&&_0x580d43[_0x41971d(0x309)](_0x5e7c8d),_0x5dc19d(_0x580d43);}function _0x238ad3(_0x4b18b0,_0x2c54b6,_0x3978f3,_0x55869e){const _0xb0c6e=_0x2b8d6a;var _0x318f92,_0x2f8242;let _0x5370df=_0x4b18b0[_0xb0c6e(0x3d7)][_0x3978f3],_0x153a89=_0x2c54b6[_0xb0c6e(0x3d7)][_0x3978f3];return _0x5dc19d([_0x49a31c([..._0x4b16d6[_0xb0c6e(0x3c2)](_0x3978f3,_0x55869e),_0xb0c6e(0x340)],(_0x318f92=_0x5370df['records'][_0x55869e])==null?void 0x0:_0x318f92[_0xb0c6e(0x340)],(_0x2f8242=_0x153a89[_0xb0c6e(0x38a)][_0x55869e])==null?void 0x0:_0x2f8242['orderKey']),_0x49a31c([..._0x4b16d6[_0xb0c6e(0x4b0)](_0x3978f3),_0xb0c6e(0x5ab)],_0x5370df[_0xb0c6e(0x5ab)],_0x153a89[_0xb0c6e(0x5ab)])][_0xb0c6e(0x355)](_0x242282=>!!_0x242282));}function _0x49a31c(_0x5cc7d7,_0x2702f1,_0x18ae98){const _0x1433d3=_0x2b8d6a;if(!_0x5cc7d7||_0x2702f1===void 0x0&&_0x18ae98===void 0x0)return null;let _0x5b8294=_0xcf3cf2[_0x1433d3(0x56a)][_0x1433d3(0x59d)]();return _0x18ae98===void 0x0?_0x5b8294[_0x1433d3(0x594)](_0x5cc7d7,_0x2702f1):_0x2702f1===void 0x0?_0x5b8294[_0x1433d3(0x3f0)](_0x5cc7d7,_0x18ae98):_0x5b8294[_0x1433d3(0x5f9)](_0x5cc7d7,_0x2702f1,_0x18ae98);}let _0x21d036={'id':_0x2b8d6a(0x2a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x20a466,_0x4184ce)=>{const _0x4f0a8c=_0x2b8d6a;if(!_0x4184ce)return!0x1;let _0x174ba4=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x56e)]),{unitId:_0x33b734,tableId:_0x47badb,viewId:_0x203344,target:_0x1cefe6}=_0x4184ce,_0x4fc090=_0x174ba4['getUnit'](_0x33b734,_0xcf3cf2[_0x4f0a8c(0x2f8)][_0x4f0a8c(0x2bf)]),_0x240487=_0x1cefe6[_0x4f0a8c(0x54d)]??_0x1cefe6['afterViewId'];if(!_0x4fc090||!_0x240487||_0x240487===_0x203344||!_0x59a7a2(_0x4fc090,_0x47badb,{'viewIds':[_0x203344,_0x240487]}))return!0x1;let _0x1bbd8f=_0x20a466['get'](_0xcf3cf2[_0x4f0a8c(0x1e8)]),_0x1cf590=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x5cb)]),_0x1736af=_0x4fc090[_0x4f0a8c(0x43e)](),_0x431913=new _0x15dbb7()[_0x4f0a8c(0x495)](_0x1736af,_0x47badb,_0x203344,_0x1cefe6),_0x4815c5=new _0x3c7454()[_0x4f0a8c(0x5a5)](_0x1736af,_0x431913),_0x403e27={'unitId':_0x33b734,'op':_0x431913},_0x25642b={'unitId':_0x33b734,'op':_0x4815c5};return _0x1bbd8f[_0x4f0a8c(0x4b6)](_0x40f796['id'],_0x403e27)?(_0x174ba4['focusUnit'](_0x33b734),_0x1cf590[_0x4f0a8c(0x2b2)]({'unitID':_0x33b734,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25642b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x403e27}]}),!0x0):!0x1;}},_0x227b37={'id':'base.command.rename-base-table','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x3e56a4,_0x2f5780)=>{const _0x50ca38=_0x2b8d6a;if(!_0x2f5780)return!0x1;let _0x31073b=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x40066e,tableId:_0x3a0fce,name:_0x113bf6}=_0x2f5780,_0x1a6357=_0x31073b[_0x50ca38(0x425)](_0x40066e,_0xcf3cf2['UniverInstanceType'][_0x50ca38(0x2bf)]);if(!_0x1a6357||!_0x59a7a2(_0x1a6357,_0x3a0fce)||!_0x5696c8(_0x1a6357['getSnapshot'](),_0x113bf6,_0x3a0fce)[_0x50ca38(0x47d)])return!0x1;let _0x536afe=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x1e8)]),_0x3dd01d=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x5cb)]),_0x303fc6=_0x1a6357['getSnapshot'](),_0x2815a3=new _0x15dbb7()[_0x50ca38(0x331)](_0x303fc6,_0x3a0fce,_0x113bf6),_0x1c5c22=new _0x3c7454()[_0x50ca38(0x5a5)](_0x303fc6,_0x2815a3),_0x46ff75={'unitId':_0x40066e,'op':_0x2815a3},_0xe63df4={'unitId':_0x40066e,'op':_0x1c5c22};return _0x536afe['syncExecuteCommand'](_0x40f796['id'],_0x46ff75)?(_0x31073b[_0x50ca38(0x544)](_0x40066e),_0x3dd01d[_0x50ca38(0x2b2)]({'unitID':_0x40066e,'undoMutations':[{'id':_0x40f796['id'],'params':_0xe63df4}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x46ff75}]}),!0x0):!0x1;}},_0x4dc11a={'id':'base.command.rename-base-view','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2497f3,_0x48af65)=>{const _0x1f1825=_0x2b8d6a;if(!_0x48af65)return!0x1;let _0x20d5f8=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2[_0x1f1825(0x56e)]),{unitId:_0x598d03,tableId:_0x5cbcf4,viewId:_0x4a8b3d,name:_0x4f381b}=_0x48af65,_0x283572=_0x20d5f8['getUnit'](_0x598d03,_0xcf3cf2[_0x1f1825(0x2f8)][_0x1f1825(0x2bf)]);if(!_0x283572||!_0x59a7a2(_0x283572,_0x5cbcf4,{'viewIds':[_0x4a8b3d]}))return!0x1;let _0x21e84d=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2['ICommandService']),_0x5a0b41=_0x2497f3['get'](_0xcf3cf2[_0x1f1825(0x5cb)]),_0x589f33=_0x283572['getSnapshot'](),_0x41a459=new _0x15dbb7()[_0x1f1825(0x2d2)](_0x589f33,_0x5cbcf4,_0x4a8b3d,_0x4f381b),_0x2e2661=new _0x3c7454()[_0x1f1825(0x5a5)](_0x589f33,_0x41a459),_0x20290f={'unitId':_0x598d03,'op':_0x41a459},_0x178a77={'unitId':_0x598d03,'op':_0x2e2661};return _0x21e84d[_0x1f1825(0x4b6)](_0x40f796['id'],_0x20290f)?(_0x20d5f8[_0x1f1825(0x544)](_0x598d03),_0x5a0b41[_0x1f1825(0x2b2)]({'unitID':_0x598d03,'undoMutations':[{'id':_0x40f796['id'],'params':_0x178a77}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x20290f}]}),!0x0):!0x1;}},_0x4a1e5b={'id':_0x2b8d6a(0x5d4),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x520dd1,_0x4c2c0d)=>{const _0x25354a=_0x2b8d6a;if(!_0x4c2c0d)return!0x1;let _0x2edd97=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x56e)]),{unitId:_0x2965a6,tableId:_0x43e2a2,viewId:_0x4f57ac,fieldId:_0x4ce631}=_0x4c2c0d,_0x11c77e=_0x2edd97[_0x25354a(0x425)](_0x2965a6,_0xcf3cf2[_0x25354a(0x2f8)]['UNIVER_BASE']);if(!_0x11c77e||!_0x59a7a2(_0x11c77e,_0x43e2a2,{'viewIds':[_0x4f57ac],'fieldIds':[_0x4ce631]}))return!0x1;let _0x3f5c37=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x1e8)]),_0x1b7386=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x5cb)]),_0x2772ea=_0x11c77e[_0x25354a(0x43e)](),_0x375553=new _0x15dbb7()['updateViewConfig'](_0x2772ea,_0x43e2a2,_0x4f57ac,{'groupFieldId':_0x4ce631}),_0x1c3c45=new _0x3c7454()['invertOp'](_0x2772ea,_0x375553),_0x121ad9={'unitId':_0x2965a6,'op':_0x375553},_0x537d62={'unitId':_0x2965a6,'op':_0x1c3c45};return _0x3f5c37[_0x25354a(0x4b6)](_0x40f796['id'],_0x121ad9)?(_0x2edd97[_0x25354a(0x544)](_0x2965a6),_0x1b7386[_0x25354a(0x2b2)]({'unitID':_0x2965a6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x537d62}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x121ad9}]}),!0x0):!0x1;}},_0x2f9533={'id':'base.command.set-base-name','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x1280a1,_0x661b17)=>{const _0xb0cd8b=_0x2b8d6a;if(!_0x661b17)return!0x1;let _0x3a636b=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2[_0xb0cd8b(0x56e)]),_0x56b2e6=_0x3a636b[_0xb0cd8b(0x425)](_0x661b17[_0xb0cd8b(0x20d)],_0xcf3cf2['UniverInstanceType'][_0xb0cd8b(0x2bf)]);if(!_0x56b2e6)return!0x1;let _0x5d966a=_0x56b2e6[_0xb0cd8b(0x43e)]()[_0xb0cd8b(0x456)];if(_0x5d966a===_0x661b17[_0xb0cd8b(0x456)])return!0x0;let _0x9114d4=new _0x15dbb7(),_0x3a8fe3=new _0x3c7454(),_0x2471fd=[],_0x51df0c=[],_0x8a692d=[_0x56b2e6,..._0x3a636b[_0xb0cd8b(0x365)](_0xcf3cf2[_0xb0cd8b(0x2f8)][_0xb0cd8b(0x2bf)])[_0xb0cd8b(0x355)](_0x1f1629=>_0x1f1629[_0xb0cd8b(0x4c0)]()!==_0x661b17[_0xb0cd8b(0x20d)])];for(let _0x11389c of _0x8a692d){let _0x35e740=_0x11389c[_0xb0cd8b(0x43e)](),_0x3cf5aa=_0x11389c===_0x56b2e6?_0x9114d4[_0xb0cd8b(0x238)](_0x35e740,_0x661b17['name']):_0x9114d4[_0xb0cd8b(0x4d6)](_0x35e740,_0x5d966a,_0x661b17[_0xb0cd8b(0x456)]);_0x3cf5aa&&(_0x2471fd[_0xb0cd8b(0x309)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3cf5aa,'trigger':_0x2f9533['id']}}),_0x51df0c[_0xb0cd8b(0x358)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3a8fe3[_0xb0cd8b(0x5a5)](_0x35e740,_0x3cf5aa),'trigger':_0x2f9533['id']}}));}let _0xbb308=_0x1280a1['get'](_0xcf3cf2[_0xb0cd8b(0x1e8)]),_0x13cc85=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x152759=_0x13cc85['__tempBatchingUndoRedo'](_0x661b17['unitId']);try{return(0x0,_0xcf3cf2[_0xb0cd8b(0x2c9)])(_0x2471fd,_0xbb308)['result']?(_0x3a636b[_0xb0cd8b(0x544)](_0x661b17['unitId']),_0x13cc85[_0xb0cd8b(0x2b2)]({'unitID':_0x661b17[_0xb0cd8b(0x20d)],'undoMutations':_0x51df0c,'redoMutations':_0x2471fd}),!0x0):!0x1;}finally{_0x152759[_0xb0cd8b(0x51d)]();}}},_0x16823a={'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'id':'base.command.set-permission',async 'handler'(_0x2e0fcf,_0x53980e){const _0x4c281f=_0x2b8d6a;if(!_0x53980e||!_0x2403b2[_0x4c281f(0x299)](_0x53980e['action'])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x53980e[_0x4c281f(0x216)]!==_0x2f5c57[_0x4c281f(0x1ce)][_0x4c281f(0x241)]||_0x53980e[_0x4c281f(0x466)]&&(![_0x4c281f(0x26f),_0x4c281f(0x3cb),_0x4c281f(0x2f5)][_0x4c281f(0x299)](_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x417)])||_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x33e)]['some'](_0x22fd32=>!_0x2403b2[_0x4c281f(0x299)](_0x22fd32[_0x4c281f(0x216)])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x22fd32['action']!==_0x2f5c57[_0x4c281f(0x1ce)]['Edit'])))return!0x1;let _0x5204e6=_0x1a5ea7(_0x53980e[_0x4c281f(0x20d)],_0x53980e[_0x4c281f(0x3fd)],_0x53980e[_0x4c281f(0x216)]),_0x4ce8eb={'unitId':_0x53980e['unitId'],'objectId':_0x53980e[_0x4c281f(0x3fd)],'objectType':_0x5204e6[_0x4c281f(0x1cc)]},_0x5a3c23=_0x2e0fcf[_0x4c281f(0x4f0)](_0xcf3cf2[_0x4c281f(0x392)]);return _0x53980e[_0x4c281f(0x485)]?await _0x5a3c23['remove'](_0x4ce8eb):_0x53980e[_0x4c281f(0x466)]?await _0x5a3c23['save'](_0x4ce8eb,_0x53980e['policy']):await _0x5a3c23['setPoint'](_0x4ce8eb,_0x5204e6,_0x53980e[_0x4c281f(0x348)]),!0x0;}},_0x2f8f7e={'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'id':_0x2b8d6a(0x3d6),async 'handler'(_0x1a2cc0,_0xfeb3e4){const _0x3d5741=_0x2b8d6a;if(!(_0xfeb3e4!=null&&_0xfeb3e4[_0x3d5741(0x20d)])||!Array['isArray'](_0xfeb3e4[_0x3d5741(0x37a)])||!_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x3d4)]||_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x20f)](_0x185d1c=>!(_0x185d1c!=null&&_0x185d1c[_0x3d5741(0x3fd)])||_0x185d1c[_0x3d5741(0x3fd)]===_0xfeb3e4['unitId']||_0x185d1c['policy']!==null&&(!_0x185d1c['policy']||![_0x3d5741(0x26f),_0x3d5741(0x3cb),_0x3d5741(0x2f5)][_0x3d5741(0x299)](_0x185d1c[_0x3d5741(0x466)]['edit'])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x31b)])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)])||_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)][_0x3d5741(0x20f)](_0x2a2150=>_0x2a2150['action']!==_0x2f5c57['UnitAction']['Edit']))))throw Error(_0x3d5741(0x209));return _0x1a2cc0[_0x3d5741(0x4f0)](_0xcf3cf2[_0x3d5741(0x392)])['saveMany'](_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x2c4)](_0x148b8e=>{const _0x25707a=_0x3d5741;let _0x3dcafa=_0x1a5ea7(_0xfeb3e4[_0x25707a(0x20d)],_0x148b8e['objectId'],_0x2f5c57[_0x25707a(0x1ce)]['Edit']);return{'unitId':_0xfeb3e4[_0x25707a(0x20d)],'objectId':_0x148b8e[_0x25707a(0x3fd)],'objectType':_0x3dcafa[_0x25707a(0x1cc)],'policy':_0x148b8e[_0x25707a(0x466)]};}));}};function _0x1abd11(_0x1b3b46,_0x3a9c65){const _0x5026ce=_0x2b8d6a;let _0xe1ccac=_0x5d33ae(_0xcf3cf2[_0x5026ce(0x255)][_0x5026ce(0x578)](_0x1b3b46)),_0x213a15=new Map();return _0x3a9c65[_0x5026ce(0x458)](_0xea326a=>{const _0xd5991f=_0x5026ce;var _0x2a0bfb,_0x128251;let _0x57e9b3=_0xd5991f(0x57e)in _0xea326a?_0xea326a[_0xd5991f(0x57e)]:(_0x2a0bfb=_0xe1ccac[_0xd5991f(0x369)])==null?void 0x0:_0x2a0bfb[_0xea326a['row']],_0x1a25cf=_0xd5991f(0x580)in _0xea326a?_0xea326a['fieldId']:(_0x128251=_0xe1ccac[_0xd5991f(0x4df)])==null?void 0x0:_0x128251[_0xea326a[_0xd5991f(0x1cb)]],_0x2d08ad=_0x1a25cf?_0xe1ccac['fields'][_0x1a25cf]:void 0x0;if(!_0x57e9b3||!_0x1a25cf||!_0x2d08ad||!_0xe1ccac['records'][_0x57e9b3])return;let _0x4cb241=_0x1e0593(_0xea326a[_0xd5991f(0x348)],_0x2d08ad),_0x2c93b0=_0x566985(_0xea326a['value'],_0x4cb241,_0x2d08ad,_0xe1ccac,_0x57e9b3),_0x204b7b=_0x213a15[_0xd5991f(0x4f0)](_0x57e9b3)??{};_0x204b7b[_0x1a25cf]=_0x2c93b0,_0x213a15['set'](_0x57e9b3,_0x204b7b);}),[..._0x213a15]['map'](([_0xff2814,_0x18c8a3])=>({'recordId':_0xff2814,'values':_0x18c8a3}));}let _0x2ce036={'id':_0x2b8d6a(0x3ae),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x34ae52,_0x2e3758){const _0x5a7a19=_0x2b8d6a;if(!_0x2e3758)return!0x1;let _0x1a873d=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x56e)]),{unitId:_0x57a34a,tableId:_0x28125f,patches:_0x2c339b}=_0x2e3758,_0x4acaf4=_0x1a873d[_0x5a7a19(0x425)](_0x57a34a,_0xcf3cf2[_0x5a7a19(0x2f8)]['UNIVER_BASE']);if(!_0x4acaf4||!_0x59a7a2(_0x4acaf4,_0x28125f))return!0x1;let _0x1dbf35=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x1e8)]),_0x52784b=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x5cb)]),_0x220160=_0x4acaf4['getSnapshot'](),_0x309fe6=_0x5d33ae(_0x220160[_0x5a7a19(0x3d7)][_0x28125f]),_0x1b0722=_0x2c339b[_0x5a7a19(0x2c4)](_0x30731c=>{const _0x102188=_0x5a7a19;var _0x1beefb;return'recordId'in _0x30731c?_0x30731c[_0x102188(0x57e)]:(_0x1beefb=_0x309fe6['rowId'])==null?void 0x0:_0x1beefb[_0x30731c[_0x102188(0x53e)]];})[_0x5a7a19(0x355)](_0x40d152=>_0x40d152!=null),_0x5c6f96=_0x2c339b[_0x5a7a19(0x2c4)](_0x1e3e4c=>{const _0x5947cb=_0x5a7a19;var _0x361c3a;return _0x5947cb(0x580)in _0x1e3e4c?_0x1e3e4c[_0x5947cb(0x580)]:(_0x361c3a=_0x309fe6['colId'])==null?void 0x0:_0x361c3a[_0x1e3e4c[_0x5947cb(0x1cb)]];})['filter'](_0x1bf0b7=>_0x1bf0b7!=null);if(_0x1b0722[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||_0x5c6f96[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||!_0x59a7a2(_0x4acaf4,_0x28125f,{'recordIds':_0x1b0722,'fieldIds':_0x5c6f96})||_0x2c339b[_0x5a7a19(0x20f)]((_0x39c7dd,_0x505c96)=>!_0x49bde4(_0x4acaf4,_0x28125f,_0x5c6f96[_0x505c96],_0x39c7dd[_0x5a7a19(0x348)])))return!0x1;let _0x11d2b2=_0x4908a1(_0x309fe6,_0x1abd11(_0x309fe6,_0x2c339b)),_0x426baf=_0x2c339b[_0x5a7a19(0x5d0)](_0x336d8b=>{const _0x296265=_0x5a7a19;var _0x15a40d,_0x52ae38;if('row'in _0x336d8b)return[_0x336d8b];let _0x28b541=(_0x15a40d=_0x309fe6['rowIndex'])==null?void 0x0:_0x15a40d[_0x336d8b['recordId']],_0x2e7b26=(_0x52ae38=_0x309fe6[_0x296265(0x1f5)])==null?void 0x0:_0x52ae38[_0x336d8b[_0x296265(0x580)]];return _0x28b541==null||_0x2e7b26==null?[]:[{'row':_0x28b541,'col':_0x2e7b26,'value':_0x336d8b[_0x296265(0x348)]}];}),_0x59cd68=new _0x15dbb7()[_0x5a7a19(0x57c)](_0x220160,_0x28125f,_0x426baf),_0x59e9ac=new _0x3c7454()[_0x5a7a19(0x5a5)](_0x220160,_0x59cd68),_0x163642={'unitId':_0x57a34a,'op':_0x59cd68,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2['length']?_0x11d2b2:void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x389):void 0x0},_0x4b3540={'unitId':_0x57a34a,'op':_0x59e9ac,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x11d2b2[_0x5a7a19(0x2c4)](_0x4ed942=>({..._0x4ed942,'oldParentRecordId':_0x4ed942[_0x5a7a19(0x346)],'parentRecordId':_0x4ed942['oldParentRecordId']})):void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x2b1):void 0x0},_0x1ab450={..._0x163642,'source':_0x11d2b2['length']?_0x2e3758[_0x5a7a19(0x357)]??'ui':void 0x0};return _0x1dbf35[_0x5a7a19(0x4b6)](_0x40f796['id'],_0x1ab450)?(_0x1a873d[_0x5a7a19(0x544)](_0x57a34a),_0x52784b[_0x5a7a19(0x2b2)]({'unitID':_0x57a34a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4b3540}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x163642}]}),!0x0):!0x1;}},_0x450c63={'id':_0x2b8d6a(0x419),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x48ec47,_0x3720a2){const _0x27b51e=_0x2b8d6a;if(!_0x3720a2)return!0x1;let _0x39b6ae=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x56e)]),{unitId:_0x4bdc10,tableId:_0x4fb0b6,patches:_0x5e823a}=_0x3720a2,_0x1162c9=_0x39b6ae[_0x27b51e(0x425)](_0x4bdc10,_0xcf3cf2[_0x27b51e(0x2f8)][_0x27b51e(0x2bf)]),_0x352c4a=_0x5e823a['map'](_0x2289c0=>_0x2289c0[_0x27b51e(0x57e)]),_0x4400f9=_0x5e823a['flatMap'](_0x252404=>Object[_0x27b51e(0x582)](_0x252404['values']));if(!_0x1162c9||!_0x59a7a2(_0x1162c9,_0x4fb0b6,{'recordIds':_0x352c4a,'fieldIds':_0x4400f9})||_0x5e823a[_0x27b51e(0x20f)](_0x5cda40=>Object['entries'](_0x5cda40['values'])[_0x27b51e(0x20f)](([_0x5b5099,_0x5487e4])=>!_0x49bde4(_0x1162c9,_0x4fb0b6,_0x5b5099,_0x5487e4))))return!0x1;let _0x4e1a61=_0x4908a1(_0x1162c9[_0x27b51e(0x43e)]()[_0x27b51e(0x3d7)][_0x4fb0b6],_0x5e823a),_0x44b09c=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x1e8)]),_0x162e2b=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x5cb)]),_0x14bb10=_0x48ec47[_0x27b51e(0x4f0)](_0x5394a2)['createSetRecordValuesOp'](_0x1162c9,_0x4fb0b6,_0x5e823a),_0x58605a=new _0x3c7454()[_0x27b51e(0x5a5)](_0x1162c9[_0x27b51e(0x43e)](),_0x14bb10),_0x3a91c4={'unitId':_0x4bdc10,'op':_0x14bb10,'trigger':_0x4e1a61[_0x27b51e(0x3d4)]?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61[_0x27b51e(0x3d4)]?_0x4e1a61:void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x3720a2[_0x27b51e(0x357)]??'ui':void 0x0},_0x57d41a={..._0x3a91c4,'source':_0x4e1a61['length']?_0x27b51e(0x389):void 0x0},_0x4e2d70={'unitId':_0x4bdc10,'op':_0x58605a,'trigger':_0x4e1a61['length']?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61['length']?_0x4e1a61['map'](_0x57b8dc=>({..._0x57b8dc,'oldParentRecordId':_0x57b8dc[_0x27b51e(0x346)],'parentRecordId':_0x57b8dc[_0x27b51e(0x38f)]})):void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x27b51e(0x2b1):void 0x0};return _0x44b09c[_0x27b51e(0x4b6)](_0x40f796['id'],_0x3a91c4)?(_0x39b6ae[_0x27b51e(0x544)](_0x4bdc10),_0x162e2b[_0x27b51e(0x2b2)]({'unitID':_0x4bdc10,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4e2d70}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x57d41a}]}),!0x0):!0x1;}},_0xd31f61={'id':'base.command.set-base-table-hierarchy-field','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x625652,_0x198ded)=>{const _0x195297=_0x2b8d6a;if(!_0x198ded)return!0x1;let {unitId:_0x27af6a,tableId:_0xcb09a9,fieldId:_0x2ce8c6}=_0x198ded,_0x3bfef6=_0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x56e)]),_0x3e3bd7=_0x3bfef6[_0x195297(0x425)](_0x27af6a,_0xcf3cf2[_0x195297(0x2f8)][_0x195297(0x2bf)]);if(!_0x3e3bd7||!_0x59a7a2(_0x3e3bd7,_0xcb09a9))return!0x1;let _0x2a44e2=_0x3e3bd7[_0x195297(0x43e)](),_0xd1ae84=_0x2a44e2[_0x195297(0x3d7)][_0xcb09a9];if(_0x2ce8c6!==null&&!_0x4d880f(_0xd1ae84,_0x2ce8c6))throw new _0x1d7b46('invalidField');if(_0xb51e67(_0xd1ae84)===_0x2ce8c6)return!0x0;let _0x564bd3=new _0x15dbb7(),_0x934651=_0x5dc19d(Object[_0x195297(0x404)](_0xd1ae84['fields'])[_0x195297(0x5d0)](_0x10e689=>{const _0xfc5308=_0x195297;if(!_0x4d880f(_0xd1ae84,_0x10e689['id']))return[];let _0x321a4d=_0x391f91(_0x10e689);if(!_0x321a4d)return[];let _0x534697=_0x10e689['id']===_0x2ce8c6;if(_0x321a4d['relationRole']===_0xcf3cf2[_0xfc5308(0x223)][_0xfc5308(0x60d)]===_0x534697)return[];let _0x53488e={..._0x10e689[_0xfc5308(0x5a3)],'targetTableId':_0x321a4d['targetTableId'],'multiple':_0x321a4d[_0xfc5308(0x22e)]};return _0x534697?_0x53488e[_0xfc5308(0x2de)]=_0xcf3cf2[_0xfc5308(0x223)]['Parent']:delete _0x53488e[_0xfc5308(0x2de)],[_0x564bd3[_0xfc5308(0x56b)](_0x2a44e2,_0xcb09a9,_0x10e689['id'],{'config':_0x53488e})];})),_0x51cd11=new _0x3c7454()['invertOp'](_0x2a44e2,_0x934651),_0x36e903={'unitId':_0x27af6a,'op':_0x934651},_0x5c6fd1={'unitId':_0x27af6a,'op':_0x51cd11};return _0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x1e8)])[_0x195297(0x4b6)](_0x40f796['id'],_0x36e903)?(_0x3bfef6[_0x195297(0x544)](_0x27af6a),_0x625652[_0x195297(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x195297(0x2b2)]({'unitID':_0x27af6a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5c6fd1}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36e903}]}),!0x0):!0x1;}},_0x13066e={'id':'base.command.set-base-view-field-order','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3af816,_0x4533a3)=>{const _0x3674ca=_0x2b8d6a;if(!_0x4533a3)return!0x1;let _0x49a939=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x56e)]),{unitId:_0x2b95e1,tableId:_0x480420,viewId:_0x1d0a81,fieldId:_0x12c482,target:_0x5d8ed5}=_0x4533a3,_0x126d7d=_0x49a939['getUnit'](_0x2b95e1,_0xcf3cf2[_0x3674ca(0x2f8)][_0x3674ca(0x2bf)]),_0x47f511=_0x5d8ed5['beforeFieldId']??_0x5d8ed5['afterFieldId'];if(!_0x126d7d||!_0x47f511||_0x47f511===_0x12c482||!_0x59a7a2(_0x126d7d,_0x480420,{'viewIds':[_0x1d0a81],'fieldIds':[_0x12c482,_0x47f511]}))return!0x1;let _0x47f4d7=_0x126d7d[_0x3674ca(0x43e)]()[_0x3674ca(0x3d7)][_0x480420],_0x18d27c=_0x47f4d7[_0x3674ca(0x3b5)][_0x12c482],_0x31bac2=_0x47f4d7['fields'][_0x47f511];if(_0x18d27c[_0x3674ca(0x27a)]===!0x0||_0x18d27c['type']===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)]||_0x31bac2[_0x3674ca(0x27a)]===!0x0||_0x31bac2[_0x3674ca(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)])return!0x1;let _0x2fb827=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x1e8)]),_0x3a4bae=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x5cb)]),_0x46ac8b=_0x126d7d[_0x3674ca(0x43e)](),_0x501eb9=new _0x15dbb7()[_0x3674ca(0x56f)](_0x46ac8b,_0x480420,_0x1d0a81,_0x12c482,_0x5d8ed5),_0x3e5c7=new _0x3c7454()['invertOp'](_0x46ac8b,_0x501eb9),_0x19544b={'unitId':_0x2b95e1,'op':_0x501eb9},_0x22d596={'unitId':_0x2b95e1,'op':_0x3e5c7};return _0x2fb827[_0x3674ca(0x4b6)](_0x40f796['id'],_0x19544b)?(_0x49a939[_0x3674ca(0x544)](_0x2b95e1),_0x3a4bae[_0x3674ca(0x2b2)]({'unitID':_0x2b95e1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x22d596}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19544b}]}),!0x0):!0x1;}},_0x3e90d8={'id':_0x2b8d6a(0x5b4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x5ab95c,_0x2b45d2){const _0x121ba9=_0x2b8d6a;if(!_0x2b45d2)return!0x1;let _0x5dddba=_0x5ab95c['get'](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x142558,tableId:_0x9334,viewId:_0x3ef39e,fieldId:_0x2d49d0,visible:_0x5f1fdf}=_0x2b45d2,_0x40ad2e=_0x5dddba[_0x121ba9(0x425)](_0x142558,_0xcf3cf2[_0x121ba9(0x2f8)][_0x121ba9(0x2bf)]);if(!_0x40ad2e||!_0x59a7a2(_0x40ad2e,_0x9334,{'viewIds':[_0x3ef39e],'fieldIds':[_0x2d49d0]}))return!0x1;let _0xd1fa58=_0x40ad2e['getSnapshot']()['tables'][_0x9334][_0x121ba9(0x3b5)][_0x2d49d0];if(_0xd1fa58['system']===!0x0||_0xd1fa58[_0x121ba9(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x121ba9(0x46d)])return!0x1;let _0x35b522=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x1e8)]),_0x156218=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x5cb)]),_0x63d57e=_0x40ad2e[_0x121ba9(0x43e)](),_0x2cb6d6=new _0x15dbb7()['setViewFieldVisible'](_0x63d57e,_0x9334,_0x3ef39e,_0x2d49d0,_0x5f1fdf),_0x3eb7f9=new _0x3c7454()['invertOp'](_0x63d57e,_0x2cb6d6),_0x2ab3cc={'unitId':_0x142558,'op':_0x2cb6d6},_0x48ddaf={'unitId':_0x142558,'op':_0x3eb7f9};return _0x35b522[_0x121ba9(0x4b6)](_0x40f796['id'],_0x2ab3cc)?(_0x5dddba['focusUnit'](_0x142558),_0x156218[_0x121ba9(0x2b2)]({'unitID':_0x142558,'undoMutations':[{'id':_0x40f796['id'],'params':_0x48ddaf}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2ab3cc}]}),!0x0):!0x1;}},_0x1b35fa={'id':_0x2b8d6a(0x584),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x2b6901,_0x447b82)=>{const _0x7e3307=_0x2b8d6a;if(!_0x447b82)return!0x1;let _0x54c49c=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x56e)]),{unitId:_0x743838,tableId:_0x1aaafc,viewId:_0x459132,fieldId:_0x5ca193,width:_0xff51c}=_0x447b82,_0x46e5c9=_0x54c49c['getUnit'](_0x743838,_0xcf3cf2[_0x7e3307(0x2f8)][_0x7e3307(0x2bf)]);if(!_0x46e5c9||!_0x59a7a2(_0x46e5c9,_0x1aaafc,{'viewIds':[_0x459132],'fieldIds':[_0x5ca193]}))return!0x1;let _0xd9bdea=_0x46e5c9[_0x7e3307(0x43e)]()['tables'][_0x1aaafc][_0x7e3307(0x3b5)][_0x5ca193];if(_0xd9bdea['system']===!0x0||_0xd9bdea[_0x7e3307(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x7e3307(0x46d)])return!0x1;let _0x2b6cc7=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2['ICommandService']),_0x530f43=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x5cb)]),_0x53b063=_0x46e5c9[_0x7e3307(0x43e)](),_0x9c623c=new _0x15dbb7()[_0x7e3307(0x50b)](_0x53b063,_0x1aaafc,_0x459132,_0x5ca193,_0xff51c),_0x5bee55=new _0x3c7454()[_0x7e3307(0x5a5)](_0x53b063,_0x9c623c),_0x1e4c02={'unitId':_0x743838,'op':_0x9c623c},_0x1f9c10={'unitId':_0x743838,'op':_0x5bee55};return _0x2b6cc7[_0x7e3307(0x4b6)](_0x40f796['id'],_0x1e4c02)?(_0x54c49c[_0x7e3307(0x544)](_0x743838),_0x530f43[_0x7e3307(0x2b2)]({'unitID':_0x743838,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f9c10}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e4c02}]}),!0x0):!0x1;}},_0x435723={'id':'base.command.set-base-view-filter','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x5bed5a,_0x3da6a0)=>{const _0x26dff6=_0x2b8d6a;if(!_0x3da6a0)return!0x1;let _0x4dadff=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x56e)]),{unitId:_0x25a372,tableId:_0x28df4c,viewId:_0x5844f8,filter:_0x48db41}=_0x3da6a0,_0x50ed7b=_0x4dadff[_0x26dff6(0x425)](_0x25a372,_0xcf3cf2['UniverInstanceType'][_0x26dff6(0x2bf)]),_0xb394fe=(_0x48db41==null?void 0x0:_0x48db41[_0x26dff6(0x4ef)][_0x26dff6(0x2c4)](_0x2b2860=>_0x2b2860['fieldId']))??[];if(!_0x50ed7b||!_0x59a7a2(_0x50ed7b,_0x28df4c,{'viewIds':[_0x5844f8],'fieldIds':_0xb394fe}))return!0x1;let _0x1bda2f=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x1e8)]),_0x384224=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x5cb)]),_0x3a8126=_0x50ed7b[_0x26dff6(0x43e)](),_0x2f9a17=new _0x15dbb7()['setViewFilter'](_0x3a8126,_0x28df4c,_0x5844f8,_0x48db41),_0x4798a6=new _0x3c7454()[_0x26dff6(0x5a5)](_0x3a8126,_0x2f9a17),_0x23decc={'unitId':_0x25a372,'op':_0x2f9a17},_0x246e5b={'unitId':_0x25a372,'op':_0x4798a6};return _0x1bda2f[_0x26dff6(0x4b6)](_0x40f796['id'],_0x23decc)?(_0x4dadff[_0x26dff6(0x544)](_0x25a372),_0x384224[_0x26dff6(0x2b2)]({'unitID':_0x25a372,'undoMutations':[{'id':_0x40f796['id'],'params':_0x246e5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x23decc}]}),!0x0):!0x1;}},_0x3bc02d={'id':_0x2b8d6a(0x563),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2562fc,_0x24f697)=>{const _0x44ef89=_0x2b8d6a;if(!_0x24f697)return!0x1;let _0x5d89d5=_0x2562fc['get'](_0xcf3cf2[_0x44ef89(0x56e)]),{unitId:_0x30f856,tableId:_0x2dbe99,viewId:_0x3f5c94,group:_0xedc8cc}=_0x24f697,_0x80ec6a=_0x5d89d5[_0x44ef89(0x425)](_0x30f856,_0xcf3cf2[_0x44ef89(0x2f8)][_0x44ef89(0x2bf)]);if(!_0x80ec6a||!_0x59a7a2(_0x80ec6a,_0x2dbe99,{'viewIds':[_0x3f5c94],'fieldIds':_0xedc8cc[_0x44ef89(0x2c4)](_0x124d59=>_0x124d59[_0x44ef89(0x580)])}))return!0x1;let _0x570dbe=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x1e8)]),_0x48ff9e=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x5cb)]),_0x16c2a6=_0x80ec6a['getSnapshot'](),_0x3990b6=new _0x15dbb7()[_0x44ef89(0x273)](_0x16c2a6,_0x2dbe99,_0x3f5c94,_0xedc8cc),_0xbf2fc1=new _0x3c7454()[_0x44ef89(0x5a5)](_0x16c2a6,_0x3990b6),_0x1e334f={'unitId':_0x30f856,'op':_0x3990b6},_0x2761e7={'unitId':_0x30f856,'op':_0xbf2fc1};return _0x570dbe[_0x44ef89(0x4b6)](_0x40f796['id'],_0x1e334f)?(_0x5d89d5['focusUnit'](_0x30f856),_0x48ff9e['pushUndoRedo']({'unitID':_0x30f856,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2761e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e334f}]}),!0x0):!0x1;}},_0x5bf3c2={'id':_0x2b8d6a(0x406),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1d867a,_0x4b01f0)=>{const _0x3f1cb7=_0x2b8d6a;if(!_0x4b01f0)return!0x1;let _0x10aaa3=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x56e)]),{unitId:_0x3dca20,tableId:_0x223943,viewId:_0x1900f1,sort:_0x3f976f}=_0x4b01f0,_0x6e570e=_0x10aaa3[_0x3f1cb7(0x425)](_0x3dca20,_0xcf3cf2[_0x3f1cb7(0x2f8)][_0x3f1cb7(0x2bf)]);if(!_0x6e570e||!_0x59a7a2(_0x6e570e,_0x223943,{'viewIds':[_0x1900f1],'fieldIds':_0x3f976f['map'](_0xdba20a=>_0xdba20a['fieldId'])}))return!0x1;let _0x5c86e6=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x1e8)]),_0x21020b=_0x1d867a[_0x3f1cb7(0x4f0)](_0xcf3cf2[_0x3f1cb7(0x5cb)]),_0x13018c=_0x6e570e[_0x3f1cb7(0x43e)](),_0x362598=new _0x15dbb7()[_0x3f1cb7(0x43a)](_0x13018c,_0x223943,_0x1900f1,_0x3f976f),_0x365ed2=new _0x3c7454()['invertOp'](_0x13018c,_0x362598),_0x9173c6={'unitId':_0x3dca20,'op':_0x362598},_0x4d3fc5={'unitId':_0x3dca20,'op':_0x365ed2};return _0x5c86e6[_0x3f1cb7(0x4b6)](_0x40f796['id'],_0x9173c6)?(_0x10aaa3[_0x3f1cb7(0x544)](_0x3dca20),_0x21020b[_0x3f1cb7(0x2b2)]({'unitID':_0x3dca20,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4d3fc5}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x9173c6}]}),!0x0):!0x1;}},_0x188f06={'id':_0x2b8d6a(0x2b6),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b9a43,_0x2af383){const _0xf68ab8=_0x2b8d6a;if(!_0x2af383)return!0x1;let _0x57d3eb=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x18a16b,tableId:_0x52dbea,recordId:_0x11847e,fieldId:_0x23368f,value:_0x5159f4}=_0x2af383,_0x30bca7=_0x57d3eb[_0xf68ab8(0x425)](_0x18a16b,_0xcf3cf2[_0xf68ab8(0x2f8)][_0xf68ab8(0x2bf)]);if(!_0x30bca7||!_0x59a7a2(_0x30bca7,_0x52dbea,{'recordIds':[_0x11847e],'fieldIds':[_0x23368f]})||!_0x49bde4(_0x30bca7,_0x52dbea,_0x23368f,_0x5159f4))return!0x1;let _0x39c460=_0x30bca7[_0xf68ab8(0x43e)]()[_0xf68ab8(0x3d7)][_0x52dbea],_0x1ec70f=_0x4d880f(_0x39c460,_0x23368f)&&_0x4c7235(_0x39c460)['includes'](_0x23368f),_0x388319=_0x1ec70f?_0x3760a3(_0x39c460,_0x23368f):null,_0x19cc14=(_0x388319==null?void 0x0:_0x388319[_0xf68ab8(0x337)][_0xf68ab8(0x4f0)](_0x11847e))??null,_0x5917aa=_0x1ec70f?_0xcf5891(_0x5159f4)[0x0]??null:null;if(_0x388319){if(_0x5917aa&&!_0x39c460['records'][_0x5917aa])throw new _0x1d7b46('missingRecord');let _0xeba5f9=_0x5a84fb(_0x388319,_0x11847e,_0x5917aa);if(!_0xeba5f9[_0xf68ab8(0x47d)])throw new _0x1d7b46(_0xeba5f9[_0xf68ab8(0x2e7)]===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x428)]?_0xf68ab8(0x480):_0xeba5f9['reason']===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x245)]?'cycle':_0xf68ab8(0x522));}let _0x40def6=_0x2b9a43['get'](_0xcf3cf2[_0xf68ab8(0x1e8)]),_0x4ede24=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a6401=_0x2b9a43['get'](_0x5394a2),_0x9b2a4d;try{_0x9b2a4d=_0x3a6401[_0xf68ab8(0x4dc)](_0x30bca7,_0x52dbea,_0x11847e,_0x23368f,_0x5159f4);}catch(_0x4042b6){return console[_0xf68ab8(0x4d9)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x4042b6),!0x1;}let _0x2e51af=new _0x3c7454()[_0xf68ab8(0x5a5)](_0x30bca7[_0xf68ab8(0x43e)](),_0x9b2a4d),_0xdf856e=_0x1ec70f&&_0x19cc14!==_0x5917aa?[{'tableId':_0x52dbea,'fieldId':_0x23368f,'recordId':_0x11847e,'oldParentRecordId':_0x19cc14,'parentRecordId':_0x5917aa}]:void 0x0,_0x44f2ac={'unitId':_0x18a16b,'op':_0x9b2a4d,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e,'source':_0xdf856e?_0x2af383[_0xf68ab8(0x357)]??'ui':void 0x0},_0x528a5e={..._0x44f2ac,'source':_0xdf856e?_0xf68ab8(0x389):void 0x0},_0xcd49d={'unitId':_0x18a16b,'op':_0x2e51af,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e==null?void 0x0:_0xdf856e[_0xf68ab8(0x2c4)](_0x5d0286=>({..._0x5d0286,'oldParentRecordId':_0x5d0286[_0xf68ab8(0x346)],'parentRecordId':_0x5d0286[_0xf68ab8(0x38f)]})),'source':_0xdf856e?_0xf68ab8(0x2b1):void 0x0};return _0x40def6[_0xf68ab8(0x4b6)](_0x40f796['id'],_0x44f2ac)?(_0x57d3eb[_0xf68ab8(0x544)](_0x18a16b),_0x4ede24[_0xf68ab8(0x2b2)]({'unitID':_0x18a16b,'undoMutations':[{'id':_0x40f796['id'],'params':_0xcd49d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x528a5e}]}),!0x0):!0x1;}},_0x1143aa={'id':_0x2b8d6a(0x4a3),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler'(_0x58ead9,_0x46b4be){const _0x58e2a3=_0x2b8d6a;if(!_0x46b4be)return!0x1;let _0x43d659=_0x58ead9['get'](_0xcf3cf2[_0x58e2a3(0x56e)]),{unitId:_0x2629d6,tableId:_0x708d1d,fieldId:_0x22f3a2}=_0x46b4be,_0x4773a8=_0x43d659[_0x58e2a3(0x425)](_0x2629d6,_0xcf3cf2[_0x58e2a3(0x2f8)]['UNIVER_BASE']);if(!_0x4773a8||!_0x59a7a2(_0x4773a8,_0x708d1d,{'fieldIds':[_0x22f3a2]}))return!0x1;let _0x21d6b6=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2[_0x58e2a3(0x1e8)]),_0x2a2533=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x15d72c=_0x4773a8['getSnapshot'](),_0x7cf459=_0x46b4be[_0x58e2a3(0x54f)]['trim'](),_0x33305d=new _0x15dbb7()['updateField'](_0x15d72c,_0x708d1d,_0x22f3a2,{'description':_0x7cf459}),_0x5ddf0f=new _0x3c7454()[_0x58e2a3(0x5a5)](_0x4773a8[_0x58e2a3(0x43e)](),_0x33305d),_0x5dc55c={'unitId':_0x2629d6,'op':_0x33305d},_0x1f37e7={'unitId':_0x2629d6,'op':_0x5ddf0f};return _0x21d6b6[_0x58e2a3(0x4b6)](_0x40f796['id'],_0x5dc55c)?(_0x43d659[_0x58e2a3(0x544)](_0x2629d6),_0x2a2533[_0x58e2a3(0x2b2)]({'unitID':_0x2629d6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f37e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5dc55c}]}),!0x0):!0x1;}},_0x1710aa={'id':_0x2b8d6a(0x1ff),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3818ff,_0x160d3d)=>{const _0x59a0e1=_0x2b8d6a;if(!_0x160d3d)return!0x1;let _0x305e04=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x56e)]),{unitId:_0x5c1a73,tableId:_0x16622e,fieldId:_0x175895,patch:_0x13b3e2}=_0x160d3d,_0x518847=_0x305e04['getUnit'](_0x5c1a73,_0xcf3cf2[_0x59a0e1(0x2f8)][_0x59a0e1(0x2bf)]);if(!_0x518847||_0x175895===_0xcf3cf2[_0x59a0e1(0x509)]||!_0x59a7a2(_0x518847,_0x16622e,{'fieldIds':[_0x175895]}))return!0x1;let _0x3a42eb=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x1e8)]),_0x5aac2d=_0x3818ff['get'](_0xcf3cf2[_0x59a0e1(0x5cb)]),_0x11d690=_0x518847['getSnapshot']();if(!_0xa1cda8(_0x518847,_0x16622e,{..._0x11d690['tables'][_0x16622e][_0x59a0e1(0x3b5)][_0x175895],..._0x13b3e2}))return!0x1;let _0x4ea52d=new _0x15dbb7()[_0x59a0e1(0x56b)](_0x11d690,_0x16622e,_0x175895,_0x13b3e2),_0xeb68c=new _0x3c7454()['invertOp'](_0x11d690,_0x4ea52d),_0x5c4ae6={'unitId':_0x5c1a73,'op':_0x4ea52d},_0x3b34e0={'unitId':_0x5c1a73,'op':_0xeb68c};return _0x3a42eb[_0x59a0e1(0x4b6)](_0x40f796['id'],_0x5c4ae6)?(_0x305e04[_0x59a0e1(0x544)](_0x5c1a73),_0x5aac2d['pushUndoRedo']({'unitID':_0x5c1a73,'undoMutations':[{'id':_0x40f796['id'],'params':_0x3b34e0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5c4ae6}]}),!0x0):!0x1;}},_0x5df868={'id':_0x2b8d6a(0x253),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1fe625,_0x290925)=>{const _0x2d009f=_0x2b8d6a;if(!_0x290925)return!0x1;let _0x1ecada=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x56e)]),{unitId:_0x16eab0,tableId:_0x49d0a9,viewId:_0x1a7f10,patch:_0xad4a3}=_0x290925,_0x5e2e6d=_0x1ecada[_0x2d009f(0x425)](_0x16eab0,_0xcf3cf2[_0x2d009f(0x2f8)]['UNIVER_BASE']);if(!_0x5e2e6d||!_0x59a7a2(_0x5e2e6d,_0x49d0a9,{'viewIds':[_0x1a7f10]}))return!0x1;let _0x6a4656=_0x1fe625['get'](_0xcf3cf2[_0x2d009f(0x1e8)]),_0x5948e0=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x5cb)]),_0x3039cf=_0x5e2e6d[_0x2d009f(0x43e)](),_0x182ab0=new _0x15dbb7()[_0x2d009f(0x4aa)](_0x3039cf,_0x49d0a9,_0x1a7f10,_0xad4a3),_0x252d70=new _0x3c7454()[_0x2d009f(0x5a5)](_0x3039cf,_0x182ab0),_0x11cec5={'unitId':_0x16eab0,'op':_0x182ab0},_0x46cf1d={'unitId':_0x16eab0,'op':_0x252d70};return _0x6a4656['syncExecuteCommand'](_0x40f796['id'],_0x11cec5)?(_0x1ecada[_0x2d009f(0x544)](_0x16eab0),_0x5948e0[_0x2d009f(0x2b2)]({'unitID':_0x16eab0,'undoMutations':[{'id':_0x40f796['id'],'params':_0x46cf1d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x11cec5}]}),!0x0):!0x1;}},_0x1c8a84={'id':'base.command.update-base-record-order','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xa21ceb,_0x31b87b)=>{const _0x50dbdd=_0x2b8d6a;if(!_0x31b87b)return!0x1;let _0x12d433=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x56e)]),{unitId:_0x531e33,tableId:_0x93c61c,recordId:_0x6189c9,orderKey:_0x5d776c}=_0x31b87b,_0x43f041=_0x12d433['getUnit'](_0x531e33,_0xcf3cf2[_0x50dbdd(0x2f8)][_0x50dbdd(0x2bf)]);if(!_0x43f041||!_0x59a7a2(_0x43f041,_0x93c61c,{'recordIds':[_0x6189c9]}))return!0x1;let _0x3d3878=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2['ICommandService']),_0x24478f=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x5cb)]),_0x40632e=_0x43f041[_0x50dbdd(0x43e)](),_0x510729=new _0x15dbb7()['updateRecordOrder'](_0x40632e,_0x93c61c,_0x6189c9,_0x5d776c),_0x4491af=new _0x3c7454()[_0x50dbdd(0x5a5)](_0x40632e,_0x510729),_0x3bd519={'unitId':_0x531e33,'op':_0x510729},_0x51e6e6={'unitId':_0x531e33,'op':_0x4491af};return _0x3d3878[_0x50dbdd(0x4b6)](_0x40f796['id'],_0x3bd519)?(_0x12d433[_0x50dbdd(0x544)](_0x531e33),_0x24478f[_0x50dbdd(0x2b2)]({'unitID':_0x531e33,'undoMutations':[{'id':_0x40f796['id'],'params':_0x51e6e6}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3bd519}]}),!0x0):!0x1;}},_0x4d5b38=function(_0x1b309e){const _0xa051a=_0x2b8d6a;return _0x1b309e['Set']='set',_0x1b309e[_0xa051a(0x2c2)]=_0xa051a(0x1d6),_0x1b309e[_0xa051a(0x302)]='delete',_0x1b309e[_0xa051a(0x547)]=_0xa051a(0x442),_0x1b309e;}({}),_0x3e585a={'id':_0x2b8d6a(0x230),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x179ab8,_0x2f8fe5)=>{const _0x40fa87=_0x2b8d6a;var _0x167006;if(!_0x2f8fe5)return!0x1;let _0x1271fb=_0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x56e)]),_0x3c946e=_0x1271fb[_0x40fa87(0x425)](_0x2f8fe5[_0x40fa87(0x20d)],_0xcf3cf2['UniverInstanceType'][_0x40fa87(0x2bf)]);if(!_0x3c946e||!_0x59a7a2(_0x3c946e,_0x2f8fe5[_0x40fa87(0x3e2)],{'viewIds':[_0x2f8fe5[_0x40fa87(0x608)]]}))return!0x1;let _0x4846e9=_0x3c946e['getSnapshot'](),_0x4d6264=_0x4846e9[_0x40fa87(0x3d7)][_0x2f8fe5[_0x40fa87(0x3e2)]],_0x3aa04c=_0x22e7fa(((_0x167006=_0x4d6264[_0x40fa87(0x2e4)][_0x2f8fe5[_0x40fa87(0x608)]][_0x40fa87(0x5a3)][_0x40fa87(0x2ab)])==null?void 0x0:_0x167006['rules'])??[],_0x2f8fe5);if(!_0x3aa04c)return!0x1;_0x51ab1e(_0x4d6264,_0x3aa04c);let _0x416a5f=new _0x15dbb7()[_0x40fa87(0x4aa)](_0x4846e9,_0x2f8fe5[_0x40fa87(0x3e2)],_0x2f8fe5[_0x40fa87(0x608)],{'conditionalColoring':_0x3aa04c['length']?{'rules':_0x3aa04c}:null}),_0x29c02c=new _0x3c7454()[_0x40fa87(0x5a5)](_0x4846e9,_0x416a5f),_0x5a205e={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x416a5f},_0x4a3645={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x29c02c};return _0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x1e8)])['syncExecuteCommand'](_0x40f796['id'],_0x5a205e)?(_0x1271fb['focusUnit'](_0x2f8fe5[_0x40fa87(0x20d)]),_0x179ab8['get'](_0xcf3cf2[_0x40fa87(0x5cb)])['pushUndoRedo']({'unitID':_0x2f8fe5['unitId'],'undoMutations':[{'id':_0x40f796['id'],'params':_0x4a3645}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5a205e}]}),!0x0):!0x1;}};function _0x22e7fa(_0x8f7661,_0x377ee5){const _0x1f32b4=_0x2b8d6a;switch(_0x377ee5[_0x1f32b4(0x1cc)]){case _0x1f32b4(0x22b):return _0xcf3cf2['Tools'][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x40d)]);case _0x1f32b4(0x1d6):return[..._0xcf3cf2[_0x1f32b4(0x255)]['deepClone'](_0x8f7661),_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x3ec)])];case _0x1f32b4(0x472):{let _0x376b52=_0x8f7661[_0x1f32b4(0x355)](_0x5b2844=>_0x5b2844['id']!==_0x377ee5[_0x1f32b4(0x4f2)]);return _0x376b52[_0x1f32b4(0x3d4)]===_0x8f7661[_0x1f32b4(0x3d4)]?null:_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x376b52);}case'clear':return _0x8f7661['length']?[]:null;}}function _0x51ab1e(_0x4b77b6,_0x1aa0f6){const _0xf7629c=_0x2b8d6a;if(!Array['isArray'](_0x1aa0f6))throw TypeError(_0xf7629c(0x21c));let _0x49e0c1=new Set();for(let [_0x50e1f9,_0x3699b8]of _0x1aa0f6[_0xf7629c(0x271)]())_0x5c23a2(_0x4b77b6,_0x3699b8,_0x29f5e8(_0x3699b8,_0x50e1f9,_0x49e0c1));}function _0x29f5e8(_0x765b27,_0x387b34,_0x850c){const _0x10de29=_0x2b8d6a;if(!_0x765b27||typeof _0x765b27!=_0x10de29(0x240))throw TypeError(_0x10de29(0x44d)+_0x387b34+'\x20must\x20be\x20an\x20object.');let _0x71e33c=typeof _0x765b27['id']==_0x10de29(0x3ea)&&_0x765b27['id'][_0x10de29(0x479)]()?'\x22'+_0x765b27['id']+'\x22':_0x10de29(0x42b)+_0x387b34;if(typeof _0x765b27['id']!='string'||!_0x765b27['id']['trim']())throw Error(_0x10de29(0x5da)+_0x71e33c+_0x10de29(0x379));if(_0x850c[_0x10de29(0x244)](_0x765b27['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x765b27['id']+'\x22.');_0x850c[_0x10de29(0x1d6)](_0x765b27['id']);let _0xbde0f0=typeof _0x765b27[_0x10de29(0x21d)]==_0x10de29(0x3ea)&&_0x765b27[_0x10de29(0x21d)][_0x10de29(0x479)]()?new _0xcf3cf2[(_0x10de29(0x329))](_0x765b27['color']):null;if(!(_0xbde0f0!=null&&_0xbde0f0[_0x10de29(0x2b9)]))throw Error(_0x10de29(0x5da)+_0x71e33c+'\x20must\x20have\x20a\x20valid\x20CSS\x20color.');return _0x71e33c;}function _0x5c23a2(_0x90ae51,_0x7d0568,_0x3f613d){const _0x500157=_0x2b8d6a;let _0x1c9d52=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x264)])),_0x3316cc=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x2f1)])),_0xb84951=new Set(Object['values'](_0xcf3cf2[_0x500157(0x362)]));if(!_0x1c9d52[_0x500157(0x244)](_0x7d0568[_0x500157(0x3c5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x21f)+String(_0x7d0568[_0x500157(0x3c5)])+'\x22.');let _0x508e68=typeof _0x7d0568['fieldId']==_0x500157(0x3ea)?_0x90ae51[_0x500157(0x3b5)][_0x7d0568[_0x500157(0x580)]]:void 0x0;if(!_0x508e68||_0x508e68[_0x500157(0x27a)]===!0x0||_0x508e68[_0x500157(0x1cc)]===_0xcf3cf2[_0x500157(0x435)]['RecordId'])throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x2a9)+String(_0x7d0568[_0x500157(0x580)])+'\x22.');if(!_0x3316cc['has'](_0x7d0568['operator']))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x4ed)+String(_0x7d0568['operator'])+'\x22.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0xb84951[_0x500157(0x244)](_0x7d0568[_0x500157(0x32f)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x38c)+String(_0x7d0568['dateMode'])+'\x22.');if(_0x7d0568['target']===_0xcf3cf2[_0x500157(0x264)][_0x500157(0x2df)])return;let _0x183dd3=_0x78a559(_0x508e68[_0x500157(0x1cc)]);if(!_0x183dd3['includes'](_0x7d0568[_0x500157(0x1e5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x545)+_0x7d0568[_0x500157(0x1e5)]+_0x500157(0x43f)+_0x508e68[_0x500157(0x1cc)]+_0x500157(0x4c8)+_0x183dd3[_0x500157(0x600)](',\x20')+'.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0x16d4c2(_0x508e68[_0x500157(0x1cc)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x52d));}let _0x3a3835={'id':_0x2b8d6a(0x2cc),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x5cb3e5,_0x3e338f)=>{const _0x4f7929=_0x2b8d6a;if(!_0x3e338f)return!0x1;let _0x8f78f5=_0x5cb3e5['get'](_0xcf3cf2[_0x4f7929(0x56e)]),{unitId:_0x3f14b8,tableId:_0x2f8318,viewId:_0xb68e22,patch:_0x563c90}=_0x3e338f,_0x135935=_0x8f78f5['getUnit'](_0x3f14b8,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x135935||!_0x59a7a2(_0x135935,_0x2f8318,{'viewIds':[_0xb68e22]}))return!0x1;let _0x522338=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x1e8)]),_0xc86795=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x5cb)]),_0x4135fd=_0x135935['getSnapshot'](),_0x4e0c54=new _0x15dbb7()[_0x4f7929(0x4aa)](_0x4135fd,_0x2f8318,_0xb68e22,_0x563c90),_0x12953f=new _0x3c7454()[_0x4f7929(0x5a5)](_0x4135fd,_0x4e0c54),_0x1dc9e3={'unitId':_0x3f14b8,'op':_0x4e0c54},_0x5d588d={'unitId':_0x3f14b8,'op':_0x12953f};return _0x522338[_0x4f7929(0x4b6)](_0x40f796['id'],_0x1dc9e3)?(_0x8f78f5[_0x4f7929(0x544)](_0x3f14b8),_0xc86795[_0x4f7929(0x2b2)]({'unitID':_0x3f14b8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5d588d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1dc9e3}]}),!0x0):!0x1;}},_0x45b313={'id':_0x2b8d6a(0x26b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x3b6792,_0x16eef8){const _0x2b0861=_0x2b8d6a;if(!_0x16eef8)return{'valid':!0x1,'reason':_0x2b0861(0x321)};let _0x380762=_0x3b6792['get'](_0xcf3cf2[_0x2b0861(0x56e)])['getUnit'](_0x16eef8[_0x2b0861(0x20d)],_0xcf3cf2[_0x2b0861(0x2f8)][_0x2b0861(0x2bf)]),_0x259ad2=_0x380762==null?void 0x0:_0x380762[_0x2b0861(0x43e)](),_0x40c691=_0x259ad2==null?void 0x0:_0x259ad2[_0x2b0861(0x3d7)][_0x16eef8[_0x2b0861(0x3e2)]];return!_0x259ad2||!_0x40c691?{'valid':!0x1,'reason':_0x2b0861(0x2ec)}:new _0x41a657()[_0x2b0861(0x226)](_0x16eef8['formula'],_0x40c691,{'snapshot':_0x259ad2});}},_0x1d45e4=class extends _0xcf3cf2['ObjectPermissionRuleModel']{constructor(_0x4ec2e9){const _0x264a51=_0x2b8d6a;super(_0x4ec2e9,_0x264a51(0x54c),_0xcf3cf2[_0x264a51(0x2f8)][_0x264a51(0x2bf)],[_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x560)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x469)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x297)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x1e4)],_0x2f5c57['UnitObject']['BaseDashboard']]);}};_0x1d45e4=_0x21a541([_0x429169(0x0,_0xcf3cf2['IResourceManagerService'])],_0x1d45e4);let _0x3affb8={'id':'base.mutation.set-permission-rule','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x303)],'handler':(_0x74cd1c,_0x5eb3cc)=>!_0x5eb3cc||!_0x74cd1c[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x5eb3cc[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x74cd1c[_0x2b8d6a(0x4f0)](_0x1d45e4)['setRule'](_0x5eb3cc[_0x2b8d6a(0x20d)],_0x5eb3cc[_0x2b8d6a(0x465)],_0x5eb3cc[_0x2b8d6a(0x3fd)],_0x5eb3cc['rule'])},_0x245053={'id':_0x2b8d6a(0x603),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler':(_0x13bf82,_0x13ea1b)=>!_0x13ea1b||!_0x13bf82[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x13ea1b[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x13bf82[_0x2b8d6a(0x4f0)](_0x1d45e4)[_0x2b8d6a(0x4f9)](_0x13ea1b[_0x2b8d6a(0x20d)],_0x13ea1b['rules'])};function _0x1b767c(_0x3c07c1){const _0x17b36e=_0x2b8d6a;let _0x49fc74=_0x3c07c1[_0x17b36e(0x208)]??Date[_0x17b36e(0x208)](),_0x463957=_0x3c07c1['primaryFieldId']??_0x3c07c1['id']+_0x17b36e(0x1de),_0x358625=_0x3c07c1[_0x17b36e(0x502)]??_0x3c07c1['id']+'-view-grid',_0x54b956=_0x3c07c1[_0x17b36e(0x49c)]??0x0,_0x55e5ce=(0x0,_0xcf3cf2['createBaseRecordIdField'])(),_0x52c9a8={'id':_0x463957,'name':_0x3c07c1[_0x17b36e(0x2d1)]??_0x17b36e(0x54a),'type':_0xcf3cf2[_0x17b36e(0x435)][_0x17b36e(0x220)],'config':{'placeholder':_0x17b36e(0x5ce)}},_0x1e0c7c={},_0x12ba0b=[],_0x2a99de={},_0xca306f={},_0x4cd584={};for(let _0x48abd5=0x0;_0x48abd5<_0x54b956;_0x48abd5++){let _0x56550f=_0x3c07c1['id']+'-record-'+(_0x48abd5+0x1);_0x1e0c7c[_0x56550f]={'id':_0x56550f,'values':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x56550f,..._0x3c07c1[_0x17b36e(0x387)]?{[_0x463957]:_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1)}:{}},'orderKey':String(_0x48abd5+0x1)['padStart'](0x4,'0'),'createdAt':_0x49fc74,'updatedAt':_0x49fc74},_0x12ba0b[_0x17b36e(0x309)](_0x56550f),_0x2a99de[_0x56550f]=_0x48abd5,_0xca306f[_0x48abd5]=_0x56550f,_0x4cd584[_0x48abd5]={0x0:{'v':_0x56550f,'t':_0xcf3cf2['CellValueType'][_0x17b36e(0x516)]}},_0x3c07c1[_0x17b36e(0x387)]&&(_0x4cd584[_0x48abd5][0x1]={'v':_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1),'t':_0xcf3cf2[_0x17b36e(0x501)][_0x17b36e(0x516)]});}let _0x37878d={'id':_0x358625,'tableId':_0x3c07c1['id'],'name':_0x17b36e(0x372),'type':_0xcf3cf2[_0x17b36e(0x3c8)][_0x17b36e(0x372)],'fieldOrder':[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],_0x463957],'fieldSettings':{[_0xcf3cf2[_0x17b36e(0x509)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x3c07c1['id'],'name':_0x3c07c1[_0x17b36e(0x456)],'primaryFieldId':_0x463957,'fieldOrder':[_0xcf3cf2[_0x17b36e(0x509)],_0x463957],'fields':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x55e5ce,[_0x463957]:_0x52c9a8},'records':_0x1e0c7c,'recordOrder':_0x12ba0b,'rowIndex':_0x2a99de,'rowId':_0xca306f,'colIndex':{[_0xcf3cf2[_0x17b36e(0x509)]]:0x0,[_0x463957]:0x1},'colId':{0x0:_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],0x1:_0x463957},'cellData':_0x4cd584,'views':{[_0x358625]:_0x37878d},'viewOrder':[_0x358625]};}let _0x2535ff=_0x2b8d6a(0x46e);function _0x45d0ec(_0x5a0007){const _0x19edeb=_0x2b8d6a;let _0x2d55e4=_0x1b767c({'id':_0x5a0007['hostAnchorId'],'name':_0x5a0007[_0x19edeb(0x456)]??_0x5a0007['embedId'],'recordCount':0x0});return{..._0x2d55e4,'resources':{..._0x2d55e4['resources']??{},[_0x2535ff]:_0x2b2cb3(_0x5a0007)}};}function _0x2a62da(_0x2859fd){const _0x59bf6c=_0x2b8d6a;return{'id':_0x40f796['id'],'params':{'unitId':_0x2859fd['unitId'],'op':_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x1cc)]['compose'](_0xcf3cf2[_0x59bf6c(0x597)]['insertOp']([_0x59bf6c(0x3d7),_0x2859fd[_0x59bf6c(0x4b0)]['id']],_0x2859fd[_0x59bf6c(0x4b0)]),_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x3f0)]([_0x59bf6c(0x5af),_0x2859fd[_0x59bf6c(0x295)]??_0x2859fd[_0x59bf6c(0x5c6)]['tableOrder'][_0x59bf6c(0x3d4)]],_0x2859fd['table']['id'])),'trigger':_0x59bf6c(0x1cf)}};}function _0x4111b6(_0x2ec75b){const _0x411e03=_0x2b8d6a;let _0x192db0=_0x2ec75b[_0x411e03(0x5c6)][_0x411e03(0x5af)][_0x411e03(0x267)](_0x2ec75b['tableId']);if(!(!_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]||_0x192db0<0x0))return{'id':_0x40f796['id'],'params':{'unitId':_0x2ec75b[_0x411e03(0x20d)],'op':_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x1cc)][_0x411e03(0x4b7)](_0xcf3cf2['JSON1'][_0x411e03(0x594)]([_0x411e03(0x3d7),_0x2ec75b[_0x411e03(0x3e2)]],_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]),_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x594)]([_0x411e03(0x5af),_0x192db0],_0x2ec75b['tableId'])),'trigger':'embed-ui'}};}function _0x2b2cb3(_0x5b912a){const _0x4638f8=_0x2b8d6a;return{'version':0x1,'embedId':_0x5b912a['embedId'],'hostAnchorId':_0x5b912a[_0x4638f8(0x5ef)],'childUnitId':_0x5b912a['childUnitId'],'childType':_0x5b912a['childType']};}function _0x57e078(_0x20d31f){const _0xa38469=_0x2b8d6a;let _0x48c17d=Math['max'](0x0,Number(_0x20d31f['decimalPlaces']??0x0)),_0x11b31b=_0x20d31f[_0xa38469(0x486)]===!0x1?'0':_0xa38469(0x4ff),_0x1ca4c2=_0x48c17d?'.'+'0'['repeat'](_0x48c17d):'',_0x28ffe0=_0x171a15(_0x20d31f[_0xa38469(0x1fc)]);return''+(_0x20d31f[_0xa38469(0x48f)]?_0x311268(_0x20d31f[_0xa38469(0x48f)]):'')+_0x11b31b+_0x1ca4c2+_0x28ffe0;}function _0x548c9b(_0xb3e3c1,_0x7990b0){const _0x437b42=_0x2b8d6a;let _0x1c69ea=_0x57e078(_0x7990b0),_0x2f764b=_0xcf3cf2[_0x437b42(0x405)][_0x437b42(0x1fa)](_0x1c69ea,_0xb3e3c1,{'throws':!0x1});return _0x5ee077(String(_0x2f764b),_0x7990b0[_0x437b42(0x5e9)],_0x7990b0[_0x437b42(0x1fe)]);}function _0x171a15(_0x18f2b0){const _0x5eb722=_0x2b8d6a;return _0x18f2b0==='K'?_0x5eb722(0x51f):_0x18f2b0==='M'?_0x5eb722(0x602):_0x18f2b0==='B'?_0x5eb722(0x53a):'';}function _0x311268(_0x2c8f){const _0x1f01ba=_0x2b8d6a;return/^[A-Z]+$/i[_0x1f01ba(0x250)](_0x2c8f)?'\x22'+_0x2c8f+'\x22':_0x2c8f;}function _0x5ee077(_0x43e9eb,_0x38f4f9,_0x582a26){const _0x14fb1c=_0x2b8d6a;let _0x4e0260=_0x38f4f9===_0x14fb1c(0x3f3)?_0x1bf480(_0x582a26):_0x38f4f9;return _0x4e0260===_0x14fb1c(0x2cb)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x00')[_0x14fb1c(0x5a4)](/\./g,',')[_0x14fb1c(0x5a4)](/\0/g,'.'):_0x4e0260===_0x14fb1c(0x377)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20')[_0x14fb1c(0x5a4)](/\./g,','):_0x4e0260==='spacePeriod'?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20'):_0x43e9eb;}function _0x1bf480(_0x3dfe7f){const _0x44a36e=_0x2b8d6a;var _0x1e9aae,_0x116f6c;let _0x5c3cdc=_0x3dfe7f||new Intl['NumberFormat']()[_0x44a36e(0x206)]()[_0x44a36e(0x1fe)],_0x280b81;try{_0x280b81=new Intl['NumberFormat'](_0x5c3cdc,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x44a36e(0x59b)](0xf4240);}catch{return _0x44a36e(0x5aa);}let _0x40dc1e=(_0x1e9aae=_0x280b81['find'](_0x348f01=>_0x348f01[_0x44a36e(0x1cc)]===_0x44a36e(0x484)))==null?void 0x0:_0x1e9aae[_0x44a36e(0x348)],_0x18ca3b=(_0x116f6c=_0x280b81[_0x44a36e(0x22c)](_0xe71bdf=>_0xe71bdf[_0x44a36e(0x1cc)]==='decimal'))==null?void 0x0:_0x116f6c[_0x44a36e(0x348)],_0x2e1548=_0x40dc1e==='\u00a0'||_0x40dc1e==='\u202f'?'\x20':_0x40dc1e;return _0x2e1548==='.'&&_0x18ca3b===','?_0x44a36e(0x2cb):_0x2e1548==='\x20'&&_0x18ca3b===','?'spaceComma':_0x2e1548==='\x20'&&_0x18ca3b==='.'?_0x44a36e(0x344):_0x44a36e(0x5aa);}function _0x5c4434(_0x5e7689,_0x122132){const _0x3321a3=_0x2b8d6a;let _0x451f4a=_0x122132&&typeof _0x122132=='object'&&!Array[_0x3321a3(0x2a1)](_0x122132)?_0x122132:{},_0x364114=_0x3d77c5(_0x451f4a[_0x3321a3(0x5f6)],0x0,0x2,0x0),_0x5d64ad=_0x5e7689['toFixed'](_0x364114);return _0x451f4a[_0x3321a3(0x1fa)]==='number'?_0x5d64ad:_0x5d64ad+'%';}function _0x3d77c5(_0x13c7aa,_0x4e991c,_0xb170ce,_0xdad487){const _0x895353=_0x2b8d6a;if(_0x13c7aa==null||_0x13c7aa==='')return _0xdad487;let _0x945332=typeof _0x13c7aa==_0x895353(0x202)?_0x13c7aa:Number(_0x13c7aa);return Number[_0x895353(0x2b0)](_0x945332)?Math[_0x895353(0x591)](_0x4e991c,Math['min'](_0xb170ce,Math['round'](_0x945332))):_0xdad487;}let _0xe85857=[_0x2b8d6a(0x4c7),'filled','empty',_0x2b8d6a(0x47f),_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),_0x2b8d6a(0x4f1),_0x2b8d6a(0x591)],_0x514cf8=[_0x2b8d6a(0x4c7),_0x2b8d6a(0x462),_0x2b8d6a(0x37c),_0x2b8d6a(0x47f)],_0x399d76=[_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),'min','max'],_0x399dad=['min',_0x2b8d6a(0x591)],_0x34e7da=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x455)],_0xcf3cf2[_0x2b8d6a(0x435)]['Rating']]),_0x18a5d7=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x336)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d5)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3fa)]]),_0xf53337=_0x2b8d6a(0x474);function _0x27e0f6(_0x2f1ccd){const _0x85cbf7=_0x2b8d6a;return typeof _0x2f1ccd==_0x85cbf7(0x3ea)&&_0xe85857[_0x85cbf7(0x299)](_0x2f1ccd);}function _0x2f722e(_0x5ca3f4){const _0x40e98d=_0x2b8d6a;return!_0x5ca3f4||typeof _0x5ca3f4!=_0x40e98d(0x240)?{}:Object[_0x40e98d(0x3a6)](Object['entries'](_0x5ca3f4)[_0x40e98d(0x355)](_0x52363c=>_0x27e0f6(_0x52363c[0x1])));}function _0x1181e2(_0x10102e){const _0xf1e05d=_0x2b8d6a;return _0x34e7da[_0xf1e05d(0x244)](_0x10102e[_0xf1e05d(0x1cc)])?[..._0x514cf8,..._0x399d76]:_0x10102e[_0xf1e05d(0x1cc)]===_0xcf3cf2[_0xf1e05d(0x435)][_0xf1e05d(0x25e)]?[..._0x514cf8,..._0x252906(_0x10102e)===_0xf1e05d(0x570)?_0x399dad:_0x399d76]:_0x514cf8;}function _0x3e70c5(_0x22aff4,_0x40fca7){const _0x57094e=_0x2b8d6a;return _0x1181e2(_0x22aff4)[_0x57094e(0x299)](_0x40fca7);}function _0x50af88(_0x19a78a,_0x315de7,_0x21f586){const _0x488fe2=_0x2b8d6a;if(!_0x3e70c5(_0x19a78a,_0x21f586))return null;let _0x19182c=_0x315de7[_0x488fe2(0x355)](_0x518591=>!_0x3e1fd0(_0x19a78a,_0x518591));switch(_0x21f586){case _0x488fe2(0x4c7):return _0x315de7['length'];case _0x488fe2(0x462):return _0x19182c[_0x488fe2(0x3d4)];case _0x488fe2(0x37c):return _0x315de7[_0x488fe2(0x3d4)]-_0x19182c['length'];case _0x488fe2(0x47f):return new Set(_0x19182c[_0x488fe2(0x2c4)](_0x53d070=>_0x3ec1a9(_0x19a78a,_0x53d070)))[_0x488fe2(0x219)];case _0x488fe2(0x4a1):{let _0xf0df70=_0x43a793(_0x19a78a,_0x19182c);return _0xf0df70[_0x488fe2(0x3d4)]?_0x47b7ee(_0xf0df70):null;}case'average':{let _0x3eac79=_0x43a793(_0x19a78a,_0x19182c);return _0x3eac79[_0x488fe2(0x3d4)]?_0x47b7ee(_0x3eac79)/_0x3eac79[_0x488fe2(0x3d4)]:null;}case _0x488fe2(0x4f1):{let _0x174ea8=_0x43a793(_0x19a78a,_0x19182c);return _0x174ea8['length']?Math[_0x488fe2(0x4f1)](..._0x174ea8):null;}case _0x488fe2(0x591):{let _0x21904d=_0x43a793(_0x19a78a,_0x19182c);return _0x21904d[_0x488fe2(0x3d4)]?Math[_0x488fe2(0x591)](..._0x21904d):null;}}}function _0xc9d220(_0x2300a5,_0x268205,_0x2c4d4f){const _0x173aaf=_0x2b8d6a;if(_0x2c4d4f==null||!Number[_0x173aaf(0x2b0)](_0x2c4d4f))return'-';if(_0x514cf8[_0x173aaf(0x299)](_0x268205))return String(_0x2c4d4f);switch(_0x2300a5['type']){case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x5b6)]:return _0x548c9b(_0x2c4d4f,_0x28ec1e(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x3d8)]:return _0x548c9b(_0x2c4d4f,_0x383e3c(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x455)]:return _0x5c4434(_0x2c4d4f,_0x2300a5[_0x173aaf(0x5a3)]);case _0xcf3cf2[_0x173aaf(0x435)]['Formula']:return _0x18f953(_0x2c4d4f,_0x2300a5);default:return _0x59b0ac(_0x2c4d4f);}}function _0x3e1fd0(_0xd0168b,_0x50713a){const _0x15bd9c=_0x2b8d6a;if(_0x50713a==null)return!0x0;if(typeof _0x50713a=='string')return _0x50713a[_0x15bd9c(0x479)]()==='';if(Array[_0x15bd9c(0x2a1)](_0x50713a))return _0xd0168b['type']===_0xcf3cf2[_0x15bd9c(0x435)][_0x15bd9c(0x448)]?!_0x50713a[_0x15bd9c(0x20f)](_0xa547be):_0x50713a[_0x15bd9c(0x3d4)]===0x0;if(_0xd0168b[_0x15bd9c(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x15bd9c(0x24b)]&&typeof _0x50713a==_0x15bd9c(0x240)){let _0x118b75=_0x50713a;return[_0x118b75[_0x15bd9c(0x395)],_0x118b75[_0x15bd9c(0x2ff)]][_0x15bd9c(0x320)](_0x118923=>_0x118923==null||String(_0x118923)[_0x15bd9c(0x479)]()==='');}return!0x1;}function _0x43a793(_0xc540d1,_0x3b513e){const _0xce5bde=_0x2b8d6a;let _0x17567b=[];for(let _0x5ad132 of _0x3b513e){let _0x16f135=_0x5cc4e5(_0xc540d1,_0x5ad132);_0x16f135!=null&&_0x17567b[_0xce5bde(0x309)](_0x16f135);}return _0x17567b;}function _0x5cc4e5(_0x14be14,_0x42a5e1){const _0x3f51bc=_0x2b8d6a;if(typeof _0x42a5e1==_0x3f51bc(0x202))return Number[_0x3f51bc(0x2b0)](_0x42a5e1)?_0x42a5e1:null;if(_0x14be14[_0x3f51bc(0x1cc)]!==_0xcf3cf2[_0x3f51bc(0x435)][_0x3f51bc(0x25e)]&&typeof _0x42a5e1==_0x3f51bc(0x3ea)&&_0x42a5e1[_0x3f51bc(0x479)]()!==''){let _0x261bf8=Number(_0x42a5e1);return Number['isFinite'](_0x261bf8)?_0x261bf8:null;}return null;}function _0x47b7ee(_0x407fc9){const _0x46eee5=_0x2b8d6a;let _0x1fb62e=0x0,_0x423c67=0x0;for(let _0x22a96b of _0x407fc9){let _0x4a78f2=_0x1fb62e+_0x22a96b;_0x423c67+=Math[_0x46eee5(0x269)](_0x1fb62e)>=Math[_0x46eee5(0x269)](_0x22a96b)?_0x1fb62e-_0x4a78f2+_0x22a96b:_0x22a96b-_0x4a78f2+_0x1fb62e,_0x1fb62e=_0x4a78f2;}return _0x1fb62e+_0x423c67;}function _0x3ec1a9(_0x132611,_0x33364c){const _0x7c24c3=_0x2b8d6a;return _0x18a5d7['has'](_0x132611[_0x7c24c3(0x1cc)])&&Array[_0x7c24c3(0x2a1)](_0x33364c)?_0x252a3d([...new Set(_0x33364c[_0x7c24c3(0x2c4)](_0x225f5f=>_0x252a3d(_0xb01995(_0x225f5f))))][_0x7c24c3(0x24e)]()):_0x252a3d(_0xb01995(_0x33364c));}function _0xb01995(_0x148a7f){const _0x130097=_0x2b8d6a;return Array[_0x130097(0x2a1)](_0x148a7f)?_0x148a7f[_0x130097(0x2c4)](_0xb01995):_0x148a7f&&typeof _0x148a7f==_0x130097(0x240)?Object[_0x130097(0x3a6)](Object[_0x130097(0x271)](_0x148a7f)['sort'](([_0x43e336],[_0x213c9d])=>_0x43e336['localeCompare'](_0x213c9d))[_0x130097(0x2c4)](([_0x2df57d,_0x1d956d])=>[_0x2df57d,_0xb01995(_0x1d956d)])):_0x148a7f;}function _0x252a3d(_0x46ad44){const _0xa71cb7=_0x2b8d6a;return JSON[_0xa71cb7(0x322)](_0x46ad44)??'undefined';}function _0xa547be(_0x26f602){const _0x126f68=_0x2b8d6a;if(typeof _0x26f602==_0x126f68(0x3ea))return _0x26f602[_0x126f68(0x479)]()!=='';if(!_0x26f602||typeof _0x26f602!=_0x126f68(0x240))return!0x1;let _0x38393a=_0x26f602;return[_0x38393a['id'],_0x38393a[_0x126f68(0x456)],_0x38393a[_0x126f68(0x357)],_0x38393a[_0x126f68(0x2ff)],_0x38393a[_0x126f68(0x4a4)]]['some'](_0x4f7b1f=>_0x4f7b1f!=null&&String(_0x4f7b1f)[_0x126f68(0x479)]()!=='');}function _0x28ec1e(_0x198ad4){const _0x2074a1=_0x2b8d6a;let _0xc8decd=_0x1d73a7(_0x198ad4[_0x2074a1(0x5a3)]);return{'decimalPlaces':_0x17de2b(_0xc8decd[_0x2074a1(0x5f6)],0x0,0x14,0x2),'separatorStyle':typeof _0xc8decd[_0x2074a1(0x5e9)]==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x5e9)]:_0x2074a1(0x3f3),'locale':typeof _0xc8decd['locale']==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x1fe)]:void 0x0,'useThousands':_0xc8decd[_0x2074a1(0x486)]!==!0x1,'abbreviation':typeof _0xc8decd[_0x2074a1(0x1fc)]==_0x2074a1(0x3ea)?_0xc8decd['abbreviation']:_0x2074a1(0x44a)};}function _0x383e3c(_0x1e59b3){const _0x57a522=_0x2b8d6a;let _0xc0fe44=_0x1d73a7(_0x1e59b3['config']);return{..._0x28ec1e(_0x1e59b3),'currencySymbol':String(_0xc0fe44[_0x57a522(0x48f)]??'$')};}function _0x18f953(_0x46c38c,_0x4dd013){const _0x23a986=_0x2b8d6a;let _0x5af900=_0x5b7fab(_0x4dd013);if(_0x5af900===_0xf53337)return _0x59b0ac(_0x46c38c);try{return String(_0xcf3cf2[_0x23a986(0x405)][_0x23a986(0x1fa)](_0x5af900,_0x46c38c,{'throws':!0x1}));}catch{return _0x59b0ac(_0x46c38c);}}function _0x252906(_0x1a062a){const _0x58b703=_0x2b8d6a;let _0x47ad53=_0x1d73a7(_0x1d73a7(_0x1a062a[_0x58b703(0x5a3)])[_0x58b703(0x405)]);return typeof _0x47ad53['type']==_0x58b703(0x3ea)?_0x47ad53[_0x58b703(0x1cc)]:_0x58b703(0x1fd);}function _0x5b7fab(_0x1db607){const _0x2447e5=_0x2b8d6a;let _0x1c7e2d=_0x1d73a7(_0x1d73a7(_0x1db607['config'])[_0x2447e5(0x405)]);return String(_0x1c7e2d[_0x2447e5(0x41e)]??_0xf53337)[_0x2447e5(0x479)]()||_0xf53337;}function _0x59b0ac(_0x2f1929){const _0x3e8a79=_0x2b8d6a;return String(Number['isInteger'](_0x2f1929)?_0x2f1929:Math[_0x3e8a79(0x310)]((_0x2f1929+0x2**-0x34)*0x64)/0x64);}function _0x1d73a7(_0x1f827e){const _0x16ab9f=_0x2b8d6a;return _0x1f827e&&typeof _0x1f827e==_0x16ab9f(0x240)&&!Array[_0x16ab9f(0x2a1)](_0x1f827e)?_0x1f827e:{};}function _0x2593a1(_0x18a56f){const _0x3f0247=_0x2b8d6a;if(_0x18a56f==null||_0x18a56f==='')return null;let _0x3720d7=typeof _0x18a56f==_0x3f0247(0x202)?_0x18a56f:Number(_0x18a56f);return Number[_0x3f0247(0x2b0)](_0x3720d7)?_0x3720d7:null;}function _0x17de2b(_0x2917e7,_0x3ac915,_0x76f755,_0x470211){const _0x1527d7=_0x2b8d6a;let _0x3c105c=_0x2593a1(_0x2917e7);return _0x3c105c==null?_0x470211:Math[_0x1527d7(0x591)](_0x3ac915,Math[_0x1527d7(0x4f1)](_0x76f755,Math[_0x1527d7(0x310)](_0x3c105c)));}function _0xb95036(_0x22f096,_0x34d61b){const _0x396881=_0x2b8d6a;let _0x47d293=_0xcf3cf2[_0x396881(0x255)][_0x396881(0x578)](_0x22f096),_0xdc6f1f=_0x34d61b[_0x396881(0x4bf)]===!0x0,_0x4c4ba2=new Map(),_0x3b21c6=_0x34d61b[_0x396881(0x3e0)]??(()=>'view-'+(0x0,_0xcf3cf2['generateRandomId'])(0x8)),_0x1937f2=_0x47d293[_0x396881(0x49a)];return _0x34d61b['regenerateViewIds']&&(_0x1937f2=_0x47d293['viewOrder'][_0x396881(0x2c4)](_0x5db48e=>{const _0x25f602=_0x396881;let _0x45b415=_0x3b21c6();return _0x4c4ba2[_0x25f602(0x22b)](_0x5db48e,_0x45b415),_0x45b415;})),{..._0x47d293,'id':_0x34d61b['id'],'name':_0x34d61b[_0x396881(0x456)],'records':_0xdc6f1f?_0x47d293[_0x396881(0x38a)]:{},'recordOrder':_0xdc6f1f?_0x47d293[_0x396881(0x5ab)]:[],'rowIndex':_0xdc6f1f?_0x47d293[_0x396881(0x29a)]:{},'rowId':_0xdc6f1f?_0x47d293[_0x396881(0x369)]:{},'cellData':_0xdc6f1f?_0x47d293[_0x396881(0x2a3)]:{},'resources':_0xdc6f1f?_0x47d293['resources']:{},'viewOrder':_0x1937f2,'views':Object['fromEntries'](Object[_0x396881(0x271)](_0x47d293[_0x396881(0x2e4)]??{})[_0x396881(0x2c4)](([_0x2e367d,_0x3a3696])=>{const _0x3f1324=_0x396881;let _0x153f15=_0x4c4ba2[_0x3f1324(0x4f0)](_0x2e367d)??(_0x34d61b['regenerateViewIds']?_0x3b21c6():_0x2e367d);return[_0x153f15,{..._0x3a3696,'id':_0x153f15,'tableId':_0x34d61b['id']}];}))};}var _0x5ab9a1=_0x2b8d6a(0x30f),_0x2e7e04='1.0.2';let _0xe14a94={},_0x69a720={};function _0x2839fe(_0x299b2a){return new _0x3c7454()['getAffectedRanges'](_0x299b2a);}function _0xc5bbc5(_0x327c5e){const _0x18b103=_0x2b8d6a;return _0x327c5e[_0x18b103(0x39b)]['map'](_0x52ed23=>({'unitId':_0x327c5e[_0x18b103(0x20d)],'sheetId':_0x327c5e[_0x18b103(0x3e2)],'range':{'startRow':_0x52ed23[_0x18b103(0x53e)],'endRow':_0x52ed23[_0x18b103(0x53e)],'startColumn':_0x52ed23[_0x18b103(0x1cb)],'endColumn':_0x52ed23[_0x18b103(0x1cb)]}}));}function _0x55bf50(_0x2d1061,_0x2b0002){const _0x57e811=_0x2b8d6a;return{[_0x2d1061]:Object['fromEntries'](_0x2b0002[_0x57e811(0x2c4)](_0x1bca5d=>[_0x1bca5d,'1']))};}let _0x2d0dd9=class extends _0xcf3cf2['Disposable']{constructor(_0x1e2eab,_0x176996){const _0x25c11d=_0x2b8d6a;super(),this[_0x25c11d(0x5ee)]=_0x1e2eab,this[_0x25c11d(0x4f6)]=_0x176996,this['_initialize']();}['_initialize'](){const _0x5045e7=_0x2b8d6a;this['_activeDirtyManagerService'][_0x5045e7(0x3c3)](_0x40f796['id'],{'commandId':_0x40f796['id'],'getDirtyData':_0x58bc5d=>this[_0x5045e7(0x327)](_0x58bc5d[_0x5045e7(0x282)])}),this['disposeWithMe']((0x0,_0xcf3cf2[_0x5045e7(0x368)])(()=>{const _0x2c140b=_0x5045e7;this[_0x2c140b(0x5ee)][_0x2c140b(0x485)](_0x40f796['id']);}));}['_getTable'](_0xe546df,_0x936a9){const _0x377e84=_0x2b8d6a;let _0x1faacc=this[_0x377e84(0x4f6)][_0x377e84(0x425)](_0xe546df,_0xcf3cf2[_0x377e84(0x2f8)][_0x377e84(0x2bf)]);return(_0x1faacc==null?void 0x0:_0x1faacc[_0x377e84(0x43e)]()[_0x377e84(0x3d7)][_0x936a9])??null;}[_0x2b8d6a(0x327)](_0x46b1c1){const _0x40af19=_0x2b8d6a;if(_0x46b1c1[_0x40af19(0x3db)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x46b1c1['unitId']||!_0x46b1c1['op'])return{'clearDependencyTreeCache':this[_0x40af19(0x3cf)](),'forceCalculation':!0x0};let _0x5e4a2c=_0x2839fe(_0x46b1c1['op']),_0x4e62ba=this[_0x40af19(0x445)](_0x46b1c1['unitId'],_0x5e4a2c);if(_0x4e62ba['length'])return{'clearDependencyTreeCache':_0x55bf50(_0x46b1c1['unitId'],_0x4e62ba),'forceCalculation':!0x0};let _0x19634d=Object[_0x40af19(0x271)](this[_0x40af19(0x2a0)](_0x46b1c1['unitId'],_0x5e4a2c))[_0x40af19(0x5d0)](([_0x4bf24e,_0x1a4755])=>_0xc5bbc5({'unitId':_0x46b1c1[_0x40af19(0x20d)],'tableId':_0x4bf24e,'patches':_0x1a4755}));return _0x19634d[_0x40af19(0x3d4)]?{'dirtyRanges':_0x19634d}:{};}[_0x2b8d6a(0x445)](_0x277d70,_0x893e73){const _0x45f178=_0x2b8d6a;let _0x1d148b=_0x893e73[_0x45f178(0x355)](_0x1aee7f=>_0x1aee7f[_0x45f178(0x2e7)]!=='cell')['flatMap'](_0x358de1=>_0x358de1[_0x45f178(0x3e2)]?[_0x358de1['tableId']]:this[_0x45f178(0x477)](_0x277d70));return Array[_0x45f178(0x1ea)](new Set(_0x1d148b));}[_0x2b8d6a(0x2a0)](_0x58a937,_0x313711){const _0x1f7430=_0x2b8d6a;let _0xe14a1f=new Set();return _0x313711[_0x1f7430(0x23b)]((_0x4dce35,_0x2f2b74)=>{const _0x26a934=_0x1f7430;let _0x1a6b18=this[_0x26a934(0x407)](_0x58a937,_0x2f2b74);if(!_0x1a6b18)return _0x4dce35;let _0x55ef0f=_0x2f2b74[_0x26a934(0x3e2)]+':'+_0x1a6b18[_0x26a934(0x53e)]+':'+_0x1a6b18[_0x26a934(0x1cb)];return _0xe14a1f[_0x26a934(0x244)](_0x55ef0f)?_0x4dce35:(_0xe14a1f['add'](_0x55ef0f),_0x4dce35[_0x2f2b74['tableId']]=_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]??[],_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]['push'](_0x1a6b18),_0x4dce35);},{});}['_toDirtyRangePatch'](_0x5b3f09,_0x1a1e0d){const _0x240c41=_0x2b8d6a;if(_0x1a1e0d[_0x240c41(0x2e7)]!==_0x240c41(0x4c1))return null;if(_0x1a1e0d['row']!=null&&_0x1a1e0d[_0x240c41(0x45e)]!=null)return{'row':_0x1a1e0d[_0x240c41(0x53e)],'col':_0x1a1e0d[_0x240c41(0x45e)],'value':null};if(!_0x1a1e0d[_0x240c41(0x57e)]||!_0x1a1e0d[_0x240c41(0x580)])return null;let _0x18a9b4=this[_0x240c41(0x4a9)](_0x5b3f09,_0x1a1e0d[_0x240c41(0x3e2)]);if(!_0x18a9b4)return null;let _0x218632=_0x168231(_0x18a9b4,_0x1a1e0d['recordId'],_0x1a1e0d[_0x240c41(0x580)]);return _0x218632?{'row':_0x218632['row'],'col':_0x218632[_0x240c41(0x1cb)],'value':null}:null;}[_0x2b8d6a(0x477)](_0x46cffc){const _0x19a631=_0x2b8d6a;let _0x5c1d50=this[_0x19a631(0x4f6)][_0x19a631(0x425)](_0x46cffc,_0xcf3cf2[_0x19a631(0x2f8)][_0x19a631(0x2bf)]);return Object[_0x19a631(0x404)]((_0x5c1d50==null?void 0x0:_0x5c1d50[_0x19a631(0x43e)]()['tables'])??{})[_0x19a631(0x2c4)](_0x4f8e17=>_0x4f8e17['id']);}[_0x2b8d6a(0x3cf)](){const _0x413480=_0x2b8d6a;let _0x534a97=this[_0x413480(0x4f6)][_0x413480(0x365)](_0xcf3cf2[_0x413480(0x2f8)][_0x413480(0x2bf)])[_0x413480(0x2c4)](_0x1ac847=>_0x55bf50(_0x1ac847[_0x413480(0x4c0)](),Object[_0x413480(0x582)](_0x1ac847[_0x413480(0x43e)]()[_0x413480(0x3d7)])));return Object[_0x413480(0x4e8)]({},..._0x534a97);}};_0x2d0dd9=_0x21a541([_0x429169(0x0,_0x64dd1a['IActiveDirtyManagerService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2d0dd9);let _0x555f3c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x482bb0,_0x40d54a,_0x215ad6,_0x54f8f2){const _0x56e2c6=_0x2b8d6a;super(),this[_0x56e2c6(0x234)]=_0x482bb0,this[_0x56e2c6(0x4f6)]=_0x40d54a,this[_0x56e2c6(0x3ee)]=_0x215ad6,this[_0x56e2c6(0x3ca)]=_0x54f8f2,_0x550e57(this,_0x56e2c6(0x222),new _0x41a657()),_0x550e57(this,_0x56e2c6(0x515),new Map()),_0x550e57(this,_0x56e2c6(0x263),new Set()),_0x550e57(this,_0x56e2c6(0x217),Promise['resolve']()),_0x550e57(this,_0x56e2c6(0x2b4),!0x1),this[_0x56e2c6(0x3c9)]();}['_initialize'](){const _0x5aa4f6=_0x2b8d6a;this[_0x5aa4f6(0x4f6)][_0x5aa4f6(0x365)](_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])[_0x5aa4f6(0x458)](_0x3e2776=>{const _0x5347ac=_0x5aa4f6;this[_0x5347ac(0x561)](_0x3e2776);}),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x542)](_0xcf3cf2[_0x5aa4f6(0x2f8)][_0x5aa4f6(0x2bf)])[_0x5aa4f6(0x210)](({unit:_0x321619})=>{this['_scheduleSuperTableSync'](_0x321619);})),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x528)](_0xcf3cf2[_0x5aa4f6(0x2f8)]['UNIVER_BASE'])[_0x5aa4f6(0x210)](_0x1f3a11=>{const _0x3d8628=_0x5aa4f6;this['_enqueueFormulaSync'](()=>this[_0x3d8628(0x4d5)](_0x1f3a11[_0x3d8628(0x4c0)]()));})),this[_0x5aa4f6(0x54b)](this[_0x5aa4f6(0x234)][_0x5aa4f6(0x49f)](_0x489b28=>this[_0x5aa4f6(0x4c9)](_0x489b28)));}[_0x2b8d6a(0x4c9)](_0x793ec){const _0x12b35f=_0x2b8d6a;if(_0x793ec['id']===_0x64dd1a['SetFormulaCalculationResultMutation']['id']){_0x31dd9b(_0x793ec[_0x12b35f(0x282)])&&this[_0x12b35f(0x546)](_0x793ec[_0x12b35f(0x282)]);return;}if(this[_0x12b35f(0x2b4)]||_0x793ec['id']!==_0x40f796['id'])return;let _0x10a256=_0x2d1abd(_0x793ec[_0x12b35f(0x282)])?_0x793ec[_0x12b35f(0x282)]:void 0x0,_0x41b7b6=_0x10a256!=null&&_0x10a256[_0x12b35f(0x20d)]?[this['_univerInstanceService']['getUnit'](_0x10a256[_0x12b35f(0x20d)],_0xcf3cf2[_0x12b35f(0x2f8)][_0x12b35f(0x2bf)])][_0x12b35f(0x355)](_0x2c411f=>!!_0x2c411f):this[_0x12b35f(0x4f6)][_0x12b35f(0x365)](_0xcf3cf2[_0x12b35f(0x2f8)]['UNIVER_BASE']),_0x475ff7=_0x10a256==null?void 0x0:_0x10a256['op'];_0x41b7b6[_0x12b35f(0x458)](_0x4a0c59=>{const _0x5bc951=_0x12b35f;let _0x2f77e1=_0x475ff7?_0x2839fe(_0x475ff7):[];(!_0x475ff7||_0x2f77e1['some'](_0xac9ad9=>_0xac9ad9[_0x5bc951(0x2e7)]!=='cell'))&&this[_0x5bc951(0x561)](_0x4a0c59);});}[_0x2b8d6a(0x561)](_0x58068e){const _0x3a4031=_0x2b8d6a;let _0x5cc514=_0x58068e[_0x3a4031(0x4c0)]();this[_0x3a4031(0x263)][_0x3a4031(0x244)](_0x5cc514)||(this[_0x3a4031(0x263)]['add'](_0x5cc514),this[_0x3a4031(0x3f2)](async()=>{const _0x5d119f=_0x3a4031;this['_scheduledSuperTableSyncs'][_0x5d119f(0x472)](_0x5cc514),await this[_0x5d119f(0x416)](_0x58068e);}));}async[_0x2b8d6a(0x416)](_0x191b8b){const _0x1efec6=_0x2b8d6a;let _0xd8b080=_0x191b8b[_0x1efec6(0x4c0)](),_0x550791=this['_formulaService']['getSuperTableRegistrations'](_0x191b8b[_0x1efec6(0x43e)]()),_0xb1e360=new Set(_0x550791[_0x1efec6(0x2c4)](({tableName:_0x4cbbf3})=>_0x4cbbf3)),_0x116feb=this[_0x1efec6(0x515)][_0x1efec6(0x4f0)](_0xd8b080)??new Set();for(let _0x1b6311 of _0x116feb)if(!_0xb1e360[_0x1efec6(0x244)](_0x1b6311)&&!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x575)]['id'],{'unitId':_0xd8b080,'tableName':_0x1b6311}))return;for(let {tableName:_0x51f659,reference:_0x1292eb}of _0x550791)if(!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x4dd)]['id'],{'unitId':_0xd8b080,'tableName':_0x51f659,'reference':_0x1292eb}))return;this[_0x1efec6(0x515)][_0x1efec6(0x22b)](_0xd8b080,_0xb1e360);}async[_0x2b8d6a(0x4d5)](_0x1a47db){const _0x3582ad=_0x2b8d6a;let _0x5cb8ee=this[_0x3582ad(0x515)]['get'](_0x1a47db)??new Set();for(let _0x429fd2 of _0x5cb8ee)if(!await this[_0x3582ad(0x59a)](_0x64dd1a['RemoveSuperTableMutation']['id'],{'unitId':_0x1a47db,'tableName':_0x429fd2}))return;this['_registeredSuperTableNames']['delete'](_0x1a47db);}async['_executeSuperTableMutationWhileActive'](_0x4f1092,_0x5a8b9f){const _0x2068fb=_0x2b8d6a;return!this['_disposed']&&await this[_0x2068fb(0x234)][_0x2068fb(0x471)](_0x4f1092,_0x5a8b9f,{'onlyLocal':!0x0})&&!this[_0x2068fb(0x2a7)];}['_enqueueFormulaSync'](_0x24fbf0){const _0x58771a=_0x2b8d6a;this['_formulaSyncQueue']=this[_0x58771a(0x217)][_0x58771a(0x275)](_0x24fbf0,_0x24fbf0)['catch'](()=>void 0x0);}[_0x2b8d6a(0x546)](_0x5cf2cf){const _0x340d31=_0x2b8d6a;let _0x469d99=this['_univerInstanceService'][_0x340d31(0x365)](_0xcf3cf2[_0x340d31(0x2f8)][_0x340d31(0x2bf)]);if(!_0x469d99[_0x340d31(0x20f)](_0x586e29=>{const _0x42edc2=_0x340d31;var _0x31c9f8;return((_0x31c9f8=_0x5cf2cf[_0x42edc2(0x364)])==null?void 0x0:_0x31c9f8[_0x586e29['getUnitId']()])!=null;}))return;let _0x46e225=_0x469d99['flatMap'](_0x27c80c=>_0x3bbd86(_0x27c80c['getSnapshot'](),_0x5cf2cf));if(!_0x46e225[_0x340d31(0x3d4)]){this[_0x340d31(0x3ca)]['markResultApplied'](_0x2f0f8e[_0x340d31(0x606)]['BASE'],_0x5cf2cf);return;}let _0x128744=new _0x15dbb7(),_0x385a68=_0x46e225[_0x340d31(0x5d0)](_0xe01815=>_0xc5bbc5({'unitId':_0xe01815[_0x340d31(0x20d)],'tableId':_0xe01815['tableId'],'patches':_0xe01815[_0x340d31(0x39b)]}));this[_0x340d31(0x2b4)]=!0x0,(async()=>{const _0x4b5e98=_0x340d31;for(let _0x241f47 of _0x46e225){let _0x595769=this[_0x4b5e98(0x4f6)][_0x4b5e98(0x425)](_0x241f47[_0x4b5e98(0x20d)],_0xcf3cf2[_0x4b5e98(0x2f8)][_0x4b5e98(0x2bf)]);_0x595769&&await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x40f796['id'],{'unitId':_0x241f47[_0x4b5e98(0x20d)],'op':_0x128744['setRangeValues'](_0x595769['getSnapshot'](),_0x241f47[_0x4b5e98(0x3e2)],_0x241f47[_0x4b5e98(0x39b)]),'trigger':_0x64dd1a[_0x4b5e98(0x36f)]['id']},{'onlyLocal':!0x0});}await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x64dd1a[_0x4b5e98(0x50f)]['id'],{'dirtyRanges':_0x385a68},{'onlyLocal':!0x0});})()[_0x340d31(0x283)](()=>{const _0x43debc=_0x340d31;this[_0x43debc(0x2b4)]=!0x1,this[_0x43debc(0x3ca)][_0x43debc(0x232)](_0x2f0f8e[_0x43debc(0x606)][_0x43debc(0x233)],_0x5cf2cf);});}};_0x555f3c=_0x21a541([_0x429169(0x0,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x1,_0xcf3cf2['IUniverInstanceService']),_0x429169(0x2,(0x0,_0xcf3cf2['Inject'])(_0x64dd1a['FormulaCalculationTriggerService'])),_0x429169(0x3,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x2f0f8e[_0x2b8d6a(0x214)]))],_0x555f3c);function _0x2d1abd(_0x5105d1){const _0x2e52de=_0x2b8d6a;return typeof _0x5105d1==_0x2e52de(0x240)&&!!_0x5105d1&&_0x2e52de(0x20d)in _0x5105d1&&typeof _0x5105d1['unitId']==_0x2e52de(0x3ea)&&'op'in _0x5105d1&&Array[_0x2e52de(0x2a1)](_0x5105d1['op']);}function _0x31dd9b(_0xec29d){const _0x39b7c4=_0x2b8d6a;return typeof _0xec29d==_0x39b7c4(0x240)&&!!_0xec29d&&_0x39b7c4(0x364)in _0xec29d&&_0x39b7c4(0x1e6)in _0xec29d;}let _0x5f5287=new Set([_0x16823a['id'],_0x2f8f7e['id'],_0x45b313['id']]),_0x5d14ac=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x248c80,_0x3d94a5,_0x579e5f,_0x3ae04e){const _0x30ec0b=_0x2b8d6a;super(),this[_0x30ec0b(0x487)]=_0x248c80,this[_0x30ec0b(0x234)]=_0x3d94a5,this[_0x30ec0b(0x20a)]=_0x579e5f,this[_0x30ec0b(0x5d7)]=_0x3ae04e,this[_0x30ec0b(0x5d7)]['getAllUnitsForType'](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])[_0x30ec0b(0x458)](_0x2ac8b6=>this[_0x30ec0b(0x29c)](_0x2ac8b6[_0x30ec0b(0x4c0)]())),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x542)](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])['subscribe'](({unit:_0xeaf6d6})=>this['_registerUnitPermissionPoints'](_0xeaf6d6['getUnitId']()))),this['disposeWithMe'](this[_0x30ec0b(0x234)][_0x30ec0b(0x59c)]((_0x2bb7be,_0x2e1ad9)=>this[_0x30ec0b(0x414)](_0x2bb7be,_0x2e1ad9))),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x528)](_0xcf3cf2[_0x30ec0b(0x2f8)][_0x30ec0b(0x2bf)])[_0x30ec0b(0x210)](_0x19dcdc=>{const _0x4f2c88=_0x30ec0b;this[_0x4f2c88(0x487)][_0x4f2c88(0x4f0)](_0xcf3cf2[_0x4f2c88(0x392)])[_0x4f2c88(0x551)](_0x19dcdc[_0x4f2c88(0x4c0)]()),_0x1fbe97(this['_permissionService'],_0x19dcdc[_0x4f2c88(0x4c0)]());}));}[_0x2b8d6a(0x29c)](_0x53f907){const _0x2e3884=_0x2b8d6a;_0x2403b2['forEach'](_0x2daa6b=>{const _0x4d901f=_0x4fc4;let _0x372771=_0x1a5ea7(_0x53f907,_0x53f907,_0x2daa6b);this['_permissionService']['getPermissionPoint'](_0x372771['id'])||this[_0x4d901f(0x20a)][_0x4d901f(0x4d7)](_0x372771);}),this[_0x2e3884(0x487)]['get'](_0xcf3cf2[_0x2e3884(0x392)])['initializeUnit']({'unitId':_0x53f907,'objectId':_0x53f907,'objectType':_0x2f5c57[_0x2e3884(0x40a)][_0x2e3884(0x58c)]});}[_0x2b8d6a(0x414)](_0x158f35,_0x366324){const _0x1453fe=_0x2b8d6a;var _0x48c7b1;if(_0x366324!=null&&_0x366324[_0x1453fe(0x3a7)]||_0x366324!=null&&_0x366324[_0x1453fe(0x5bd)])return;let _0x2f8cb5=_0xe24e48(_0x158f35[_0x1453fe(0x282)])?_0x158f35[_0x1453fe(0x282)]:void 0x0;if(_0x366324!=null&&_0x366324[_0x1453fe(0x4c3)]&&_0x158f35['id']===_0x1453fe(0x304)&&(_0x2f8cb5==null?void 0x0:_0x2f8cb5['trigger'])===_0x64dd1a[_0x1453fe(0x36f)]['id'])return;let _0x4d8887=_0x285ff1(_0x158f35['id']),_0x2b9924=_0x47833a(_0x2f8cb5==null?void 0x0:_0x2f8cb5['unitId'],_0x366324)??(_0x4d8887?(_0x48c7b1=this[_0x1453fe(0x5d7)][_0x1453fe(0x350)](_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]))==null?void 0x0:_0x48c7b1['getUnitId']():void 0x0);if(!_0x2b9924||this[_0x1453fe(0x5d7)][_0x1453fe(0x286)](_0x2b9924)!==_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])return;if(_0x4d8887){if(!_0x3aa462(this['_permissionService'],_0x2b9924,_0x2b9924,_0x4d8887))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924),new _0xcf3cf2[(_0x1453fe(0x4fc))]('Base\x20'+_0x2f5c57['UnitAction'][_0x4d8887]+_0x1453fe(0x1e3));return;}if(_0x5f5287[_0x1453fe(0x244)](_0x158f35['id'])||!_0x158f35['id'][_0x1453fe(0x26d)](_0x1453fe(0x5cd))&&!_0x158f35['id'][_0x1453fe(0x26d)]('base.mutation.'))return;let _0x1810ec=this[_0x1453fe(0x5d7)]['getUnit'](_0x2b9924,_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]),_0x54e5d4=_0x1810ec?_0x5316a5(_0x1810ec,_0x2f8cb5??{},_0x158f35['id']):[];if(!_0x1810ec||!_0x1484ec(this[_0x1453fe(0x20a)],_0x2b9924,_0x54e5d4))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924,_0x54e5d4),new _0xcf3cf2['CustomCommandExecutionError'](_0x1453fe(0x5c9));}};_0x5d14ac=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x1,_0xcf3cf2['ICommandService']),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x2c0)]),_0x429169(0x3,_0xcf3cf2['IUniverInstanceService'])],_0x5d14ac);function _0x47833a(_0x3044a8,_0x66f2c5){const _0x53c24c=_0x2b8d6a;return typeof _0x3044a8==_0x53c24c(0x3ea)?_0x3044a8:typeof(_0x66f2c5==null?void 0x0:_0x66f2c5[_0x53c24c(0x20d)])==_0x53c24c(0x3ea)?_0x66f2c5[_0x53c24c(0x20d)]:void 0x0;}function _0x285ff1(_0x5c2804){const _0x2b2cf4=_0x2b8d6a;if(_0x5c2804==='bases-exchange-client.operation.export-base'||_0x5c2804==='bases-exchange-client.operation.export-base-by-format')return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x444)];if(_0x5c2804['startsWith']('thread-comment.command.')||_0x5c2804[_0x2b2cf4(0x26d)](_0x2b2cf4(0x2e9)))return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x20b)];}function _0x5316a5(_0x58f21c,_0x2b2f17,_0x228f51){const _0x2d8210=_0x2b8d6a;if(_0x228f51===_0x2d8210(0x304)&&_0x178e5f(_0x2b2f17['op']))return _0x90cd14(_0x58f21c,_0x2b2f17['op']);let _0x3ca01b=new Set(),_0xc91c50=_0x488362(_0x2b2f17,_0x2d8210(0x4b0)),_0x179b5a=typeof _0x2b2f17[_0x2d8210(0x3e2)]==_0x2d8210(0x3ea)?_0x2b2f17[_0x2d8210(0x3e2)]:_0xc91c50[0x0];if(_0xc91c50[_0x2d8210(0x458)](_0x1335e1=>_0x3ca01b['add'](_0x20afd2(_0x1335e1))),!_0x179b5a)return[..._0x3ca01b];let _0xd365a9=_0x58f21c['getSnapshot']()[_0x2d8210(0x3d7)][_0x179b5a],_0x67c466=new Set(_0x488362(_0x2b2f17,'field')),_0x4a9317=new Set(_0x488362(_0x2b2f17,'record')),_0x3410e3=new Set(_0x488362(_0x2b2f17,'view'));return _0x4b11b2(_0xd365a9,_0x2b2f17[_0x2d8210(0x39b)],_0x4a9317,_0x67c466),_0x4445b6(_0x2b2f17,_0x67c466),_0x67c466[_0x2d8210(0x458)](_0x3c924d=>_0x3ca01b['add'](_0xe7abbf(_0x179b5a,_0x3c924d))),_0x4a9317[_0x2d8210(0x458)](_0x4b87eb=>_0x3ca01b[_0x2d8210(0x1d6)](_0x19d6d6(_0x179b5a,_0x4b87eb))),_0x3410e3['forEach'](_0x1c412e=>_0x3ca01b[_0x2d8210(0x1d6)](_0x1592c3(_0x179b5a,_0x1c412e))),[..._0x3ca01b];}function _0x90cd14(_0x1a05a1,_0x5cf4ad){const _0x409bfc=_0x2b8d6a;let _0x3fea4b=_0x1a05a1[_0x409bfc(0x43e)](),_0x7331bd=new _0x3c7454()[_0x409bfc(0x235)](_0x5cf4ad),_0x1ea5f=_0x34eab7(_0x5cf4ad),_0x1d8bd4=new Set();return _0x7331bd[_0x409bfc(0x458)](_0x5c4981=>{const _0x1f7c6e=_0x409bfc;var _0x170170,_0x57c02b;let {tableId:_0x2cc78d}=_0x5c4981;if(!_0x2cc78d)return;_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x20afd2(_0x2cc78d));let _0xbefbb4=_0x3fea4b['tables'][_0x2cc78d],_0x58c41c=_0x5c4981[_0x1f7c6e(0x57e)]??(_0x5c4981[_0x1f7c6e(0x53e)]==null||_0xbefbb4==null||(_0x170170=_0xbefbb4[_0x1f7c6e(0x369)])==null?void 0x0:_0x170170[_0x5c4981['row']]),_0x1a99d6=_0x5c4981[_0x1f7c6e(0x580)]??(_0x5c4981[_0x1f7c6e(0x45e)]==null||_0xbefbb4==null||(_0x57c02b=_0xbefbb4[_0x1f7c6e(0x4df)])==null?void 0x0:_0x57c02b[_0x5c4981['column']]);_0x58c41c&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x58c41c)),_0x1a99d6&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x1a99d6)),_0x5c4981[_0x1f7c6e(0x608)]&&_0x1d8bd4['add'](_0x1592c3(_0x2cc78d,_0x5c4981[_0x1f7c6e(0x608)])),(_0x5c4981['reason']===_0x1f7c6e(0x4b0)||_0x1ea5f[_0x1f7c6e(0x244)](_0x2cc78d))&&_0xbefbb4&&(Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x3b5)])[_0x1f7c6e(0x458)](_0x3e21ff=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x3e21ff))),Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x38a)])['forEach'](_0x812c8=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x812c8))),Object['keys'](_0xbefbb4[_0x1f7c6e(0x2e4)])[_0x1f7c6e(0x458)](_0x59b0c1=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x1592c3(_0x2cc78d,_0x59b0c1)))),_0x5c4981[_0x1f7c6e(0x2e7)]===_0x1f7c6e(0x3c2)&&_0xbefbb4&&Object[_0x1f7c6e(0x582)](_0xbefbb4['fields'])[_0x1f7c6e(0x458)](_0x594a11=>_0x1d8bd4['add'](_0xe7abbf(_0x2cc78d,_0x594a11)));}),_0x7331bd['length']===0x0&&_0xd98664(_0x5cf4ad,_0x409bfc(0x5af))&&Object['keys'](_0x3fea4b[_0x409bfc(0x3d7)])['forEach'](_0x3b60ae=>_0x1d8bd4['add'](_0x20afd2(_0x3b60ae))),[..._0x1d8bd4];}function _0x34eab7(_0x2c6a52){let _0x1342f5=new Set(),_0x52a0f1=_0x4a1cec=>{const _0xda6bac=_0x4fc4;Array['isArray'](_0x4a1cec)&&_0x4a1cec[_0xda6bac(0x458)]((_0x74a0ab,_0x210845)=>{const _0x103e5b=_0xda6bac;_0x74a0ab===_0x103e5b(0x3d7)&&typeof _0x4a1cec[_0x210845+0x1]==_0x103e5b(0x3ea)&&_0x4a4f65(_0x4a1cec[_0x210845+0x2])&&_0x1342f5[_0x103e5b(0x1d6)](_0x4a1cec[_0x210845+0x1]),_0x52a0f1(_0x74a0ab);});};return _0x52a0f1(_0x2c6a52),_0x1342f5;}function _0x4a4f65(_0x167355){const _0x2ce866=_0x2b8d6a;return!!_0x167355&&typeof _0x167355==_0x2ce866(0x240)&&!Array[_0x2ce866(0x2a1)](_0x167355)&&('i'in _0x167355||'r'in _0x167355||'p'in _0x167355||'d'in _0x167355||'es'in _0x167355||'ena'in _0x167355||'et'in _0x167355);}function _0xd98664(_0x291fb2,_0x4c5fc6){const _0x5c4be5=_0x2b8d6a;return Array[_0x5c4be5(0x2a1)](_0x291fb2)&&_0x291fb2[_0x5c4be5(0x20f)](_0x5cb0f6=>_0x5cb0f6===_0x4c5fc6||_0xd98664(_0x5cb0f6,_0x4c5fc6));}function _0x488362(_0x9eaae9,_0x5166d5){const _0x1af8c9=_0x2b8d6a;let _0x2cc60e=new Set(),_0xdc1600=_0x5166d5+'Id',_0x4d2674=_0x5166d5+_0x1af8c9(0x496),_0x1fb7af=(_0x438ad7,_0x15354f='')=>{const _0x280b67=_0x1af8c9;if(typeof _0x438ad7=='string'){_0x15354f===_0xdc1600&&_0x2cc60e[_0x280b67(0x1d6)](_0x438ad7);return;}if(Array[_0x280b67(0x2a1)](_0x438ad7)){_0x15354f===_0x4d2674?_0x438ad7['forEach'](_0x4023c7=>{const _0xaac4e6=_0x280b67;typeof _0x4023c7==_0xaac4e6(0x3ea)&&_0x2cc60e['add'](_0x4023c7);}):_0x438ad7[_0x280b67(0x458)](_0x30b6c0=>_0x1fb7af(_0x30b6c0,_0x15354f));return;}_0xe24e48(_0x438ad7)&&Object[_0x280b67(0x271)](_0x438ad7)['forEach'](([_0x186480,_0x5737b9])=>{const _0x167b7f=_0x280b67;_0x186480==='id'&&_0x15354f===_0x5166d5&&typeof _0x5737b9==_0x167b7f(0x3ea)?_0x2cc60e['add'](_0x5737b9):_0x1fb7af(_0x5737b9,_0x186480);});};return _0x1fb7af(_0x9eaae9),[..._0x2cc60e];}function _0x4b11b2(_0x46899b,_0x4e0ef3,_0x3d5546,_0x24aefe){const _0x46d833=_0x2b8d6a;_0x46899b&&Array[_0x46d833(0x2a1)](_0x4e0ef3)&&_0x4e0ef3[_0x46d833(0x458)](_0x38fb34=>{const _0x4ecb38=_0x46d833;if(!_0xe24e48(_0x38fb34))return;let _0x3a8a35=_0x38fb34;if(typeof _0x3a8a35['row']=='number'){var _0x5dfb3a;let _0x111c00=(_0x5dfb3a=_0x46899b[_0x4ecb38(0x369)])==null?void 0x0:_0x5dfb3a[_0x3a8a35[_0x4ecb38(0x53e)]];_0x111c00&&_0x3d5546[_0x4ecb38(0x1d6)](_0x111c00);}if(typeof _0x3a8a35[_0x4ecb38(0x1cb)]==_0x4ecb38(0x202)){var _0x32ce96;let _0x28d408=(_0x32ce96=_0x46899b[_0x4ecb38(0x4df)])==null?void 0x0:_0x32ce96[_0x3a8a35[_0x4ecb38(0x1cb)]];_0x28d408&&_0x24aefe[_0x4ecb38(0x1d6)](_0x28d408);}});}function _0x4445b6(_0xfef31f,_0x2fa247,_0xc1dee=''){const _0x38cb59=_0x2b8d6a;if(_0xfef31f&&typeof _0xfef31f==_0x38cb59(0x240)){if(Array[_0x38cb59(0x2a1)](_0xfef31f)){_0xfef31f[_0x38cb59(0x458)](_0xb2d24=>_0x4445b6(_0xb2d24,_0x2fa247,_0xc1dee));return;}_0xe24e48(_0xfef31f)&&Object[_0x38cb59(0x271)](_0xfef31f)[_0x38cb59(0x458)](([_0x580341,_0xd48a7b])=>{const _0x1df47a=_0x38cb59;_0xc1dee===_0x1df47a(0x404)&&_0x2fa247[_0x1df47a(0x1d6)](_0x580341),_0x4445b6(_0xd48a7b,_0x2fa247,_0x580341);});}}function _0x178e5f(_0x10cf0f){const _0x2fec6b=_0x2b8d6a;return Array[_0x2fec6b(0x2a1)](_0x10cf0f);}function _0xe24e48(_0x5dca52){const _0x4edc56=_0x2b8d6a;return typeof _0x5dca52==_0x4edc56(0x240)&&!!_0x5dca52&&!Array['isArray'](_0x5dca52);}let _0x231d66=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x313)),_0x3416a2=class{constructor(_0x2193b3){const _0x4f638b=_0x2b8d6a;this[_0x4f638b(0x4f6)]=_0x2193b3;}[_0x2b8d6a(0x200)](_0x46b90b){const _0xe413d4=_0x2b8d6a;return this['_univerInstanceService'][_0xe413d4(0x425)](_0x46b90b,_0xcf3cf2['UniverInstanceType'][_0xe413d4(0x2bf)])??null;}[_0x2b8d6a(0x2be)](){const _0x3da7eb=_0x2b8d6a;return this[_0x3da7eb(0x4f6)][_0x3da7eb(0x365)](_0xcf3cf2['UniverInstanceType'][_0x3da7eb(0x2bf)]);}['createBase'](_0x61906b){const _0x5c0e1c=_0x2b8d6a;return this[_0x5c0e1c(0x4f6)][_0x5c0e1c(0x2a6)](_0xcf3cf2[_0x5c0e1c(0x2f8)][_0x5c0e1c(0x2bf)],_0x61906b);}};_0x3416a2=_0x21a541([_0x429169(0x0,_0xcf3cf2['IUniverInstanceService'])],_0x3416a2);let _0x466334=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x2cd));var _0x2ef513=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x664743){const _0x2ff424=_0x2b8d6a;super(..._0x664743),_0x550e57(this,_0x2ff424(0x254),new Map());}[_0x2b8d6a(0x3c3)](_0x455fa4){const _0x3e1896=_0x2b8d6a;return this[_0x3e1896(0x254)][_0x3e1896(0x22b)](_0x455fa4[_0x3e1896(0x1cc)],_0x455fa4),(0x0,_0xcf3cf2[_0x3e1896(0x368)])(()=>this['_plugins'][_0x3e1896(0x472)](_0x455fa4[_0x3e1896(0x1cc)]));}['get'](_0x142e50){const _0x3d18e7=_0x2b8d6a;let _0x370916=this[_0x3d18e7(0x254)][_0x3d18e7(0x4f0)](_0x142e50);if(!_0x370916)throw Error(_0x3d18e7(0x60e)+_0x142e50+_0x3d18e7(0x4e1));return _0x370916;}[_0x2b8d6a(0x2ed)](){const _0x3ee576=_0x2b8d6a;return Array[_0x3ee576(0x1ea)](this[_0x3ee576(0x254)][_0x3ee576(0x404)]());}};let _0x156310=[_0x40f796],_0x380e1d=class extends _0xcf3cf2['Plugin']{constructor(_0x103158=_0xe14a94,_0x90221,_0x3d6343,_0x4ad060,_0x193d62,_0x2233a9){const _0x1ff04f=_0x2b8d6a;super(),this[_0x1ff04f(0x5a1)]=_0x103158,this['_injector']=_0x90221,this[_0x1ff04f(0x234)]=_0x3d6343,this[_0x1ff04f(0x4f6)]=_0x4ad060,this['_configService']=_0x193d62,this['_dataSyncPrimaryController']=_0x2233a9,_0x550e57(this,_0x1ff04f(0x1c4),new Map());let {..._0x9496c9}=(0x0,_0xcf3cf2[_0x1ff04f(0x4e0)])({},_0xe14a94,this[_0x1ff04f(0x5a1)]);this[_0x1ff04f(0x212)]['setConfig']('bases.config',_0x9496c9),this[_0x1ff04f(0x4f6)][_0x1ff04f(0x1d5)](_0xcf3cf2[_0x1ff04f(0x2f8)][_0x1ff04f(0x2bf)],_0xcf3cf2['BaseDataModel']),this[_0x1ff04f(0x2d5)](),this['_initCommands'](),this[_0x1ff04f(0x258)](),this['_initDataSync']();}[_0x2b8d6a(0x3dc)](){const _0x55274f=_0x2b8d6a;this[_0x55274f(0x487)][_0x55274f(0x1d6)]([_0x1d45e4]),this[_0x55274f(0x54b)](this[_0x55274f(0x487)]['get'](_0xcf3cf2[_0x55274f(0x1e8)])[_0x55274f(0x391)](_0x3affb8)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2['ICommandService'])[_0x55274f(0x391)](_0x245053)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2[_0x55274f(0x392)])['registerRuleModel'](_0x2f5c57[_0x55274f(0x40a)][_0x55274f(0x58c)],this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0x1d45e4),_0x3affb8['id'],_0x245053['id']));}[_0x2b8d6a(0x514)](){const _0x582c97=_0x2b8d6a;(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x3416a2],[_0x1c8c77],[_0x2d0dd9]]),this[_0x582c97(0x4f6)]['getAllUnitsForType'](_0xcf3cf2[_0x582c97(0x2f8)][_0x582c97(0x2bf)])[_0x582c97(0x458)](_0x5de651=>this[_0x582c97(0x44f)](_0x5de651[_0x582c97(0x4c0)]())),(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x555f3c],[_0x5d14ac]]);}['_initDependencies'](){const _0x83a8b0=_0x2b8d6a;[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x466334,{'useClass':_0x2ef513}],[_0x5e90db,{'useClass':_0x270515}],[_0x231d66,{'useClass':_0x3416a2}],[_0x2d44c2,{'useClass':_0x2b795c}],[_0x5394a2,{'useClass':_0x1c8c77}],[_0x2d0dd9],[_0x555f3c],[_0x5d14ac]][_0x83a8b0(0x458)](_0x41c5ac=>this['_injector'][_0x83a8b0(0x1d6)](_0x41c5ac));}['_initCommands'](){const _0x50dd05=_0x2b8d6a;[_0x19088c,_0x227b37,_0x58eadf,_0x188f06,_0x450c63,_0x2ce036,_0x1b3986,_0x457f5d,_0xabe762,_0x50bb2a,_0x16c000,_0x217849,_0x1c8a84,_0x55d92d,_0x80cc29,_0x592df7,_0x1710aa,_0x1143aa,_0x433937,_0x42e92a,_0x4a02a4,_0x45b313,_0x5057dc,_0x4a862d,_0x4dc11a,_0x2f9533,_0x5c24f7,_0x21d036,_0x3a3835,_0x3e585a,_0x4a1e5b,_0x16823a,_0x2f8f7e,_0x5df868,_0x435723,_0x5bf3c2,_0x3bc02d,_0xd31f61,_0x3e90d8,_0x1b35fa,_0x13066e,..._0x156310][_0x50dd05(0x458)](_0x3c1fa3=>this[_0x50dd05(0x54b)](this[_0x50dd05(0x234)][_0x50dd05(0x391)](_0x3c1fa3))),_0x156310[_0x50dd05(0x458)](_0x2c7edb=>{const _0x2e1357=_0x50dd05;var _0x21f786;return(_0x21f786=this[_0x2e1357(0x4de)])==null?void 0x0:_0x21f786[_0x2e1357(0x37f)](_0x2c7edb);});}[_0x2b8d6a(0x3e9)](){const _0x321f24=_0x2b8d6a;this[_0x321f24(0x4de)]&&(this['disposeWithMe'](this[_0x321f24(0x4f6)][_0x321f24(0x542)](_0xcf3cf2[_0x321f24(0x2f8)][_0x321f24(0x2bf)])[_0x321f24(0x210)](({unit:_0x42bd37})=>{const _0x368bc4=_0x321f24;this[_0x368bc4(0x44f)](_0x42bd37[_0x368bc4(0x4c0)]());})),this[_0x321f24(0x54b)](this[_0x321f24(0x4f6)][_0x321f24(0x528)](_0xcf3cf2[_0x321f24(0x2f8)]['UNIVER_BASE'])[_0x321f24(0x210)](_0x47de77=>{const _0x262a2b=_0x321f24;var _0x12d680;(_0x12d680=this[_0x262a2b(0x1c4)][_0x262a2b(0x4f0)](_0x47de77['getUnitId']()))==null||_0x12d680['dispose'](),this[_0x262a2b(0x1c4)][_0x262a2b(0x472)](_0x47de77['getUnitId']());})));}[_0x2b8d6a(0x44f)](_0x4c36ba){const _0x2c2a2c=_0x2b8d6a;this[_0x2c2a2c(0x4de)]&&!this[_0x2c2a2c(0x1c4)][_0x2c2a2c(0x244)](_0x4c36ba)&&this[_0x2c2a2c(0x1c4)]['set'](_0x4c36ba,this[_0x2c2a2c(0x4de)][_0x2c2a2c(0x464)](_0x4c36ba));}['_initRegistries'](){const _0x50eb92=_0x2b8d6a;let _0x59facd=this[_0x50eb92(0x487)]['get'](_0x3dec17);_0x20ee48()[_0x50eb92(0x458)](_0x3efec6=>_0x59facd[_0x50eb92(0x3c3)](_0x3efec6));let _0x29fac0=this['_injector'][_0x50eb92(0x4f0)](_0x466334),_0x487e2c=this[_0x50eb92(0x487)]['get'](_0x5e90db);_0x43edf4()[_0x50eb92(0x458)](_0x3dd1bd=>{const _0x20ecda=_0x50eb92;_0x29fac0[_0x20ecda(0x3c3)](_0x3dd1bd),_0x487e2c[_0x20ecda(0x467)](_0x3dd1bd);});}};_0x550e57(_0x380e1d,_0x2b8d6a(0x2fa),_0x2b8d6a(0x461)),_0x550e57(_0x380e1d,_0x2b8d6a(0x3fe),_0x5ab9a1),_0x550e57(_0x380e1d,_0x2b8d6a(0x390),_0x2e7e04),_0x550e57(_0x380e1d,_0x2b8d6a(0x1cc),_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)]),_0x380e1d=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5['UniverLicensePlugin'],_0x64dd1a[_0x2b8d6a(0x4f5)]),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x56e)]),_0x429169(0x4,_0xcf3cf2['IConfigService']),_0x429169(0x5,(0x0,_0xcf3cf2['Optional'])(_0x4f9625[_0x2b8d6a(0x426)]))],_0x380e1d);let _0x9d42eb=class extends _0xcf3cf2[_0x2b8d6a(0x60c)]{constructor(_0x3fe9e6=_0x69a720,_0x250f40,_0x452014,_0x3d7521,_0xea7bcc){const _0x33c8b3=_0x2b8d6a;super(),this[_0x33c8b3(0x5a1)]=_0x3fe9e6,this['_injector']=_0x250f40,this[_0x33c8b3(0x234)]=_0x452014,this['_configService']=_0x3d7521,this[_0x33c8b3(0x4f6)]=_0xea7bcc;let {..._0x40bdf3}=(0x0,_0xcf3cf2['merge'])({},_0x69a720,this[_0x33c8b3(0x5a1)]);this[_0x33c8b3(0x212)][_0x33c8b3(0x23a)](_0x33c8b3(0x531),_0x40bdf3),this[_0x33c8b3(0x4f6)][_0x33c8b3(0x1d5)](_0xcf3cf2[_0x33c8b3(0x2f8)][_0x33c8b3(0x2bf)],_0xcf3cf2[_0x33c8b3(0x3b2)]),[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x5e90db,{'useClass':_0x270515}]][_0x33c8b3(0x458)](_0x4a2451=>this[_0x33c8b3(0x487)][_0x33c8b3(0x1d6)](_0x4a2451)),_0x156310[_0x33c8b3(0x458)](_0x349210=>this[_0x33c8b3(0x54b)](this[_0x33c8b3(0x234)]['registerCommand'](_0x349210)));}};_0x550e57(_0x9d42eb,_0x2b8d6a(0x2fa),_0x2b8d6a(0x43d)),_0x550e57(_0x9d42eb,'packageName',_0x5ab9a1),_0x550e57(_0x9d42eb,'version',_0x2e7e04),_0x550e57(_0x9d42eb,_0x2b8d6a(0x1cc),_0xcf3cf2['UniverInstanceType'][_0x2b8d6a(0x2bf)]),_0x9d42eb=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5[_0x2b8d6a(0x42f)],_0x64dd1a['UniverProFormulaEnginePlugin']),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x383)]),_0x429169(0x4,_0xcf3cf2['IUniverInstanceService'])],_0x9d42eb);function _0x4e21e1(_0x19cf8f){const _0x328850=_0x2b8d6a;let _0x5a07e5=_0x4b060b(_0x19cf8f['query']);if(!_0x5a07e5)return{'query':'','total':0x0,'matches':[]};let _0x2b393b=[],_0x35b280=[];for(let _0x1c7fa8=0x0;_0x1c7fa8<_0x19cf8f[_0x328850(0x4a6)][_0x328850(0x3d4)];_0x1c7fa8++){if(!(_0x1c7fa8 in _0x19cf8f[_0x328850(0x4a6)]))continue;let _0xf348b6=_0x19cf8f[_0x328850(0x4b0)][_0x328850(0x3b5)][_0x19cf8f[_0x328850(0x4a6)][_0x1c7fa8]];_0xf348b6&&_0x35b280[_0x328850(0x309)]({'field':_0xf348b6,'fieldIndex':_0x1c7fa8});}_0x19cf8f[_0x328850(0x5e6)][_0x328850(0x458)]((_0x1b31d2,_0x109e89)=>{const _0x5cb508=_0x328850;_0x35b280[_0x5cb508(0x458)](({field:_0xa9a84e,fieldIndex:_0x472cd6})=>{const _0x40d17d=_0x5cb508;let _0x4fd0bd=_0x2f687a(_0x1b31d2['values'][_0xa9a84e['id']],_0xa9a84e);if(!_0x4fd0bd)return;let _0xc33782=_0x15dc10(_0x5a07e5,_0x4fd0bd[_0x40d17d(0x2f3)]);_0xc33782<=0x0||_0x2b393b[_0x40d17d(0x309)]({'recordId':_0x1b31d2[_0x40d17d(0x57e)],'fieldId':_0xa9a84e['id'],'fieldType':_0xa9a84e[_0x40d17d(0x1cc)],'text':_0x4fd0bd[_0x40d17d(0x5bb)],'score':_0xc33782,'rowIndex':_0x109e89,'fieldIndex':_0x472cd6});});}),_0x2b393b[_0x328850(0x24e)]((_0x283ba4,_0x2bb94b)=>_0x2bb94b['score']-_0x283ba4[_0x328850(0x20e)]||_0x283ba4[_0x328850(0x29a)]-_0x2bb94b[_0x328850(0x29a)]||_0x283ba4[_0x328850(0x576)]-_0x2bb94b[_0x328850(0x576)]);let _0x4c28f7=_0x19cf8f['limit']==null?_0x2b393b:_0x2b393b[_0x328850(0x3de)](0x0,Math['max'](0x0,_0x19cf8f[_0x328850(0x26c)]));return{'query':_0x5a07e5,'total':_0x2b393b[_0x328850(0x3d4)],'matches':_0x2ae3a6(_0x4c28f7)};}function _0x2f687a(_0x2083ee,_0x3e4007){const _0x3e3cf5=_0x2b8d6a;let _0x3aa660=[];for(let _0x92f959 of _0xafc384(_0x2083ee,_0x3e4007)){let _0x257ee2=_0x4b060b(_0x92f959);_0x257ee2&&_0x3aa660[_0x3e3cf5(0x309)](_0x257ee2);}return _0x3aa660[_0x3e3cf5(0x3d4)]?{'displayText':_0x53a36e(_0x2083ee,_0x3e4007),'searchTexts':_0x21e350(_0x3aa660)}:null;}function _0x53a36e(_0x15929a,_0x113e76){const _0x3735af=_0x2b8d6a;switch(_0x113e76[_0x3735af(0x1cc)]){case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x2e3)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x336)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3fa)]:return _0x501ec0(_0x15929a,_0x113e76)[_0x3735af(0x600)](',\x20');case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x24b)]:return _0x5f317e(_0x15929a);case _0xcf3cf2[_0x3735af(0x435)]['Date']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x413)]:case _0xcf3cf2[_0x3735af(0x435)]['UpdatedAt']:return _0xe2afc3(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)]['Number']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3d8)]:return _0x31e77a(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x455)]:return _0x130594(_0x15929a,_0x113e76);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x5f8)]:return _0x15929a?_0x3735af(0x565):_0x3735af(0x3bf);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x448)]:return _0x43dfb4(_0x15929a)[_0x3735af(0x600)](',\x20');default:return _0x423e88(_0x15929a);}}function _0xafc384(_0x5206eb,_0x30afcf){const _0x4d1e25=_0x2b8d6a;switch(_0x30afcf['type']){case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2e3)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x336)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3fa)]:{let _0x441734=_0x501ec0(_0x5206eb,_0x30afcf);if(Array[_0x4d1e25(0x2a1)](_0x5206eb)){let _0x1cdce6=[..._0x441734];for(let _0x38597b=0x0;_0x38597b<_0x5206eb[_0x4d1e25(0x3d4)];_0x38597b++)_0x38597b in _0x5206eb&&_0x1cdce6['push'](String(_0x5206eb[_0x38597b]));return _0x1cdce6;}return _0x5206eb==null?_0x441734:[..._0x441734,String(_0x5206eb)];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x24b)]:{let _0x4e04fa=_0x2612be(_0x5206eb);return[_0x4e04fa[_0x4d1e25(0x395)],_0x4e04fa['url']];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2d9)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x413)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x305)]:return[_0xe2afc3(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5b6)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3d8)]:return[_0x31e77a(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x455)]:return[_0x130594(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5f8)]:return _0x5206eb?[_0x4d1e25(0x565),_0x4d1e25(0x3bd),_0x4d1e25(0x382)]:['Unchecked','No',_0x4d1e25(0x35a)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x448)]:return _0x43dfb4(_0x5206eb);default:return[_0x423e88(_0x5206eb)];}}function _0x501ec0(_0x535ad2,_0x55c4ae){const _0x439b7f=_0x2b8d6a;var _0x274b00;let _0x34f52f=Array['isArray']((_0x274b00=_0x55c4ae[_0x439b7f(0x5a3)])==null?void 0x0:_0x274b00[_0x439b7f(0x5cc)])?_0x55c4ae['config'][_0x439b7f(0x5cc)]:[],_0x10476a=[];if(Array[_0x439b7f(0x2a1)](_0x535ad2)){for(let _0x327ed3=0x0;_0x327ed3<_0x535ad2[_0x439b7f(0x3d4)];_0x327ed3++){if(!(_0x327ed3 in _0x535ad2))continue;let _0xf99558=String(_0x535ad2[_0x327ed3]);_0xf99558&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0xf99558));}return _0x10476a;}if(_0x535ad2!=null){let _0x597665=String(_0x535ad2);_0x597665&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0x597665));}return _0x10476a;}function _0x11d6c4(_0x2d9493,_0x552ccf){const _0x57fbcc=_0x2b8d6a;for(let _0x1e99b0 of _0x2d9493){if(typeof _0x1e99b0=='string'&&_0x1e99b0===_0x552ccf)return _0x1e99b0;if(_0x1e99b0&&typeof _0x1e99b0==_0x57fbcc(0x240)){let _0x306eda=_0x1e99b0;if(String(_0x306eda['id']??_0x306eda['name']??'')===_0x552ccf||String(_0x306eda[_0x57fbcc(0x456)]??'')===_0x552ccf)return String(_0x306eda['name']??_0x306eda['id']??_0x552ccf);}}return _0x552ccf;}function _0x2612be(_0x5a02d7){const _0x3500ac=_0x2b8d6a;if(_0x5a02d7&&typeof _0x5a02d7=='object'&&!Array[_0x3500ac(0x2a1)](_0x5a02d7)){let _0x3bd7eb=_0x5a02d7;return{'text':String(_0x3bd7eb['text']??_0x3bd7eb['url']??''),'url':String(_0x3bd7eb['url']??'')};}return{'text':_0x423e88(_0x5a02d7),'url':_0x423e88(_0x5a02d7)};}function _0x5f317e(_0x5eb20e){const _0x425ccc=_0x2b8d6a;let _0xc6cdaa=_0x2612be(_0x5eb20e);return _0xc6cdaa['text']||_0xc6cdaa[_0x425ccc(0x2ff)];}function _0xe2afc3(_0x2dd461,_0x458a67){const _0xc13694=_0x2b8d6a;return typeof _0x2dd461!='number'||!Number[_0xc13694(0x2b0)](_0x2dd461)?'':_0x1e8f43(_0x2dd461,_0x458a67[_0xc13694(0x5a3)]);}function _0x31e77a(_0xcb0b38,_0x41f10a){const _0x3040cd=_0x2b8d6a;let _0x5242f9=typeof _0xcb0b38=='number'?_0xcb0b38:Number(_0xcb0b38);return Number['isFinite'](_0x5242f9)?_0x548c9b(_0x5242f9,_0x41f10a[_0x3040cd(0x5a3)]):'';}function _0x130594(_0x103853,_0x45305c){const _0x315ea7=_0x2b8d6a;let _0x3aa8f2=typeof _0x103853==_0x315ea7(0x202)?_0x103853:Number(_0x103853);return Number[_0x315ea7(0x2b0)](_0x3aa8f2)?_0x5c4434(_0x3aa8f2,_0x45305c['config']):'';}function _0x43dfb4(_0x4b1c05){const _0x11ae43=_0x2b8d6a;return Array[_0x11ae43(0x2a1)](_0x4b1c05)?_0x4b1c05[_0x11ae43(0x5d0)](_0x583a5c=>{const _0x34926b=_0x11ae43;if(!_0x583a5c||typeof _0x583a5c!=_0x34926b(0x240))return[];let _0xb7b310=_0x583a5c,_0x186b7b=String(_0xb7b310['name']??_0xb7b310['url']??'')['trim']();return _0x186b7b?[_0x186b7b]:[];}):[];}function _0x423e88(_0x4a08b3){const _0x196b1f=_0x2b8d6a;if(_0x4a08b3==null)return'';if(typeof _0x4a08b3=='boolean')return _0x4a08b3?'true':_0x196b1f(0x4cd);if(typeof _0x4a08b3==_0x196b1f(0x202))return String(_0x4a08b3);if(Array['isArray'](_0x4a08b3)){let _0x7d20e2=[];for(let _0x27d510=0x0;_0x27d510<_0x4a08b3[_0x196b1f(0x3d4)];_0x27d510++){if(!(_0x27d510 in _0x4a08b3))continue;let _0x13056a=_0x423e88(_0x4a08b3[_0x27d510]);_0x13056a&&_0x7d20e2[_0x196b1f(0x309)](_0x13056a);}return _0x7d20e2[_0x196b1f(0x600)](',\x20');}if(typeof _0x4a08b3=='object'){let _0x55c0e2=_0x4a08b3;return String(_0x55c0e2[_0x196b1f(0x5fc)]??_0x55c0e2['name']??_0x55c0e2['text']??_0x55c0e2[_0x196b1f(0x2ff)]??'')[_0x196b1f(0x479)]();}return String(_0x4a08b3);}function _0x15dc10(_0xe063f,_0x4d0244){const _0x437611=_0x2b8d6a;let _0x49eedc=0x0;for(let _0x26e299 of _0x4d0244)if(_0x26e299){if(_0x26e299===_0xe063f){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0x12c);continue;}if(_0x26e299[_0x437611(0x26d)](_0xe063f)){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xfa);continue;}_0x26e299[_0x437611(0x299)](_0xe063f)&&(_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xc8));}return _0x49eedc;}function _0x4b060b(_0x4bf9c8){const _0x25548f=_0x2b8d6a;return _0x4bf9c8['trim']()[_0x25548f(0x5a4)](/\s+/g,'\x20')[_0x25548f(0x402)]();}function _0x21e350(_0x229ae2){const _0xea568f=_0x2b8d6a;return Array[_0xea568f(0x1ea)](new Set(_0x229ae2));}function _0x2ae3a6(_0x186f63){const _0x26a5b2=_0x2b8d6a;let _0x4c194b=[];for(let {rowIndex:_0x5ca1d6,fieldIndex:_0x108694,..._0xf23149}of _0x186f63)_0x4c194b[_0x26a5b2(0x309)](_0xf23149);return _0x4c194b;}function _0x25ed49(_0x4eb358){const _0x294708=_0x2b8d6a;return{'compress':!0x0,'kind':_0x294708(0x48a),'u':_0x4eb358[_0x294708(0x20d)],'t':_0x4eb358[_0x294708(0x3e2)],'p':_0x4eb358[_0x294708(0x39b)]['map'](_0x4bacef=>[_0x4bacef[_0x294708(0x53e)],_0x4bacef[_0x294708(0x1cb)],_0x100eed(_0x4bacef['value'])]),..._0x4eb358[_0x294708(0x3db)]===void 0x0?{}:{'g':_0x4eb358[_0x294708(0x3db)]}};}function _0x162a7a(_0x59600a){const _0x4c9c96=_0x2b8d6a;if(_0x109daf(_0x59600a,_0x4c9c96(0x48a)),!_0x251223(_0x59600a)){if(!_0x196449(_0x59600a))throw Error(_0x4c9c96(0x4f3));return _0x59600a;}return{'unitId':_0x59600a['u'],'tableId':_0x59600a['t'],'patches':_0x59600a['p'][_0x4c9c96(0x2c4)](([_0x2321a9,_0x54c98e,_0x29580d])=>({'row':_0x2321a9,'col':_0x54c98e,'value':_0x30464e(_0x29580d)})),..._0x59600a['g']===void 0x0?{}:{'trigger':_0x59600a['g']}};}function _0x251223(_0x21bbdb){const _0x5e5aa7=_0x2b8d6a;return!_0x4610c1(_0x21bbdb)||_0x21bbdb[_0x5e5aa7(0x37d)]!==!0x0||_0x21bbdb[_0x5e5aa7(0x415)]!==_0x5e5aa7(0x48a)?!0x1:typeof _0x21bbdb['u']==_0x5e5aa7(0x3ea)&&typeof _0x21bbdb['t']==_0x5e5aa7(0x3ea)&&(_0x21bbdb['g']===void 0x0||typeof _0x21bbdb['g']==_0x5e5aa7(0x3ea))&&Array['isArray'](_0x21bbdb['p'])&&_0x21bbdb['p'][_0x5e5aa7(0x320)](_0x1235b4=>Array[_0x5e5aa7(0x2a1)](_0x1235b4)&&_0x1235b4['length']===0x3&&Number[_0x5e5aa7(0x1f0)](_0x1235b4[0x0])&&Number['isInteger'](_0x1235b4[0x1]));}function _0x1c938f(_0x1e52a1){const _0x3d9075=_0x2b8d6a;return!_0x4610c1(_0x1e52a1)||_0x1e52a1['compress']!==!0x0||_0x1e52a1[_0x3d9075(0x415)]!==_0x3d9075(0x5d6)||!_0x4610c1(_0x1e52a1[_0x3d9075(0x3d7)])?!0x1:Object['values'](_0x1e52a1[_0x3d9075(0x3d7)])[_0x3d9075(0x320)](_0x2c3066=>_0x4610c1(_0x2c3066)&&(_0x2c3066['cd']===void 0x0||Array['isArray'](_0x2c3066['cd'])&&_0x2c3066['cd'][_0x3d9075(0x320)](_0x4ca082=>Array[_0x3d9075(0x2a1)](_0x4ca082)&&_0x4ca082[_0x3d9075(0x3d4)]===0x3&&Number[_0x3d9075(0x1f0)](_0x4ca082[0x0])&&Number['isInteger'](_0x4ca082[0x1])&&_0x56fe98(_0x4ca082[0x2]))));}function _0x100eed(_0x1b602b){return _0x54631f(_0x1b602b)?_0x57f5c2(_0x1b602b):_0x1b602b;}function _0x30464e(_0x50ef64){return _0x56fe98(_0x50ef64)?_0x3857f5(_0x50ef64):_0x50ef64;}function _0x57f5c2(_0x4a9696){return{'c':0x1,..._0x4a9696['v']===void 0x0?{}:{'v':_0x4a9696['v']},..._0x4a9696['t']!==void 0x0&&_0x4a9696['t']!==null?{'t':_0x4a9696['t']}:_0x4a9696['t']===null?{'t':null}:{},..._0x4a9696['f']!==void 0x0&&_0x4a9696['f']!==null?{'f':_0x4a9696['f']}:_0x4a9696['f']===null?{'f':null}:{},..._0x4a9696['si']!==void 0x0&&_0x4a9696['si']!==null?{'si':_0x4a9696['si']}:_0x4a9696['si']===null?{'si':null}:{},..._0x4a9696['p']!==void 0x0&&_0x4a9696['p']!==null?{'p':_0x4a9696['p']}:_0x4a9696['p']===null?{'p':null}:{}};}function _0x3857f5(_0x52c5c0){return{..._0x52c5c0['v']===void 0x0?{}:{'v':_0x52c5c0['v']},..._0x52c5c0['t']===void 0x0?{}:{'t':_0x52c5c0['t']},..._0x52c5c0['f']===void 0x0?{}:{'f':_0x52c5c0['f']},..._0x52c5c0['si']===void 0x0?{}:{'si':_0x52c5c0['si']},..._0x52c5c0['p']===void 0x0?{}:{'p':_0x52c5c0['p']}};}function _0x54631f(_0x4437ff){const _0x34f1be=_0x2b8d6a;return!!_0x4437ff&&typeof _0x4437ff==_0x34f1be(0x240)&&!Array[_0x34f1be(0x2a1)](_0x4437ff)&&(Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)]['call'](_0x4437ff,'v')||Object[_0x34f1be(0x3b1)]['hasOwnProperty']['call'](_0x4437ff,'t')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'p')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'f')||Object['prototype']['hasOwnProperty'][_0x34f1be(0x29f)](_0x4437ff,'si'));}function _0x56fe98(_0x176727){return _0x4610c1(_0x176727)&&_0x176727['c']===0x1;}function _0x196449(_0x39036a){const _0x2be77c=_0x2b8d6a;return _0x4610c1(_0x39036a)&&typeof _0x39036a[_0x2be77c(0x20d)]==_0x2be77c(0x3ea)&&typeof _0x39036a['tableId']==_0x2be77c(0x3ea)&&(_0x39036a[_0x2be77c(0x3db)]===void 0x0||typeof _0x39036a[_0x2be77c(0x3db)]=='string')&&Array[_0x2be77c(0x2a1)](_0x39036a[_0x2be77c(0x39b)])&&_0x39036a['patches']['every'](_0x546e35=>_0x4610c1(_0x546e35)&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x53e)])&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x1cb)])&&_0x2be77c(0x348)in _0x546e35);}function _0x109daf(_0x5d386b,_0x2ef2b6){const _0x24b3bd=_0x2b8d6a;if(_0x4610c1(_0x5d386b)&&_0x5d386b[_0x24b3bd(0x37d)]===!0x0){if(_0x5d386b[_0x24b3bd(0x415)]!==_0x2ef2b6)throw Error(_0x24b3bd(0x46c)+String(_0x5d386b[_0x24b3bd(0x415)])+'\x22.');if(!(_0x2ef2b6===_0x24b3bd(0x48a)?_0x251223(_0x5d386b):_0x1c938f(_0x5d386b)))throw Error(_0x24b3bd(0x265)+_0x2ef2b6+'\x22.');}}function _0x4610c1(_0x37624e){const _0x578cf6=_0x2b8d6a;return!!_0x37624e&&typeof _0x37624e==_0x578cf6(0x240)&&!Array[_0x578cf6(0x2a1)](_0x37624e);}_0x22620f[_0x2b8d6a(0x35d)]=_0x40f796,_0x22620f[_0x2b8d6a(0x3b6)]=_0xe85857,_0x22620f[_0x2b8d6a(0x2d7)]=0x5,_0x22620f[_0x2b8d6a(0x2e2)]=_0x1fa07b,_0x22620f[_0x2b8d6a(0x277)]=_0x2b8d6a(0x1dd),_0x22620f['BASE_UNIT_PERMISSION_ACTIONS']=_0x2403b2,_0x22620f[_0x2b8d6a(0x4eb)]=_0x4d5b38,_0x22620f['BaseEventSource']=_0x48d33b,_0x22620f['BaseFormulaService']=_0x41a657,_0x22620f['BaseHierarchyError']=_0x1d7b46,_0x22620f[_0x2b8d6a(0x489)]=_0x38d4ab,_0x22620f[_0x2b8d6a(0x550)]=_0x34db2c,_0x22620f[_0x2b8d6a(0x24c)]=_0x3c7454,_0x22620f[_0x2b8d6a(0x475)]=_0x15dbb7,_0x22620f[_0x2b8d6a(0x401)]=_0xabe762,_0x22620f['BatchDeleteBaseRecordsCommand']=_0x16c000,_0x22620f[_0x2b8d6a(0x521)]=_0x433937,_0x22620f[_0x2b8d6a(0x4a2)]=_0x457f5d,_0x22620f[_0x2b8d6a(0x5a8)]=_0x80cc29,_0x22620f['CreateBaseRecordCommand']=_0x1b3986,_0x22620f[_0x2b8d6a(0x3ab)]=_0x19088c,_0x22620f[_0x2b8d6a(0x518)]=_0x5057dc,_0x22620f[_0x2b8d6a(0x399)]=_0x42e92a,_0x22620f[_0x2b8d6a(0x39d)]=_0x50bb2a,_0x22620f['DeleteBaseTableCommand']=_0x58eadf,_0x22620f['DeleteBaseViewCommand']=_0x5c24f7,_0x22620f[_0x2b8d6a(0x504)]=_0x592df7,_0x22620f['DuplicateBaseRecordCommand']=_0x217849,_0x22620f['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x2535ff,_0x22620f['EnsureBaseTemporalViewDateFieldsCommand']=_0x4a862d,_0x22620f[_0x2b8d6a(0x50a)]=_0x5394a2,_0x22620f['IBasePermissionService']=_0x2d44c2,_0x22620f[_0x2b8d6a(0x439)]=_0x5e90db,_0x22620f[_0x2b8d6a(0x1f4)]=_0x466334,_0x22620f[_0x2b8d6a(0x2c3)]=_0x4a02a4,_0x22620f['MoveBaseHierarchyRecordCommand']=_0x55d92d,_0x22620f[_0x2b8d6a(0x468)]=_0x21d036,_0x22620f[_0x2b8d6a(0x375)]=_0x227b37,_0x22620f['RenameBaseViewCommand']=_0x4dc11a,_0x22620f[_0x2b8d6a(0x388)]=_0x4a1e5b,_0x22620f[_0x2b8d6a(0x279)]=_0x2f9533,_0x22620f['SetBasePermissionCommand']=_0x16823a,_0x22620f[_0x2b8d6a(0x25b)]=_0x3affb8,_0x22620f[_0x2b8d6a(0x605)]=_0x245053,_0x22620f[_0x2b8d6a(0x3a0)]=_0x2f8f7e,_0x22620f[_0x2b8d6a(0x55e)]=_0x2ce036,_0x22620f[_0x2b8d6a(0x386)]=_0x450c63,_0x22620f[_0x2b8d6a(0x38d)]=_0xd31f61,_0x22620f['SetBaseViewFieldOrderCommand']=_0x13066e,_0x22620f[_0x2b8d6a(0x50d)]=_0x3e90d8,_0x22620f[_0x2b8d6a(0x400)]=_0x1b35fa,_0x22620f['SetBaseViewFilterCommand']=_0x435723,_0x22620f[_0x2b8d6a(0x2ac)]=_0x3bc02d,_0x22620f['SetBaseViewSortCommand']=_0x5bf3c2,Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x27b),{'enumerable':!0x0,'get':function(){return _0x380e1d;}}),Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x32c),{'enumerable':!0x0,'get':function(){return _0x9d42eb;}}),_0x22620f[_0x2b8d6a(0x5d2)]=_0x188f06,_0x22620f['UpdateBaseFieldCommand']=_0x1710aa,_0x22620f['UpdateBaseFieldDescriptionCommand']=_0x1143aa,_0x22620f[_0x2b8d6a(0x30b)]=_0x5df868,_0x22620f[_0x2b8d6a(0x374)]=_0x1c8a84,_0x22620f[_0x2b8d6a(0x4f7)]=_0x3e585a,_0x22620f['UpdateBaseViewConfigCommand']=_0x3a3835,_0x22620f[_0x2b8d6a(0x34a)]=_0x45b313,_0x22620f[_0x2b8d6a(0x5c3)]=_0x3ded3a,_0x22620f[_0x2b8d6a(0x3d0)]=_0x3760a3,_0x22620f[_0x2b8d6a(0x376)]=_0x50af88,_0x22620f[_0x2b8d6a(0x540)]=_0x1484ec,_0x22620f[_0x2b8d6a(0x588)]=_0x25ed49,_0x22620f[_0x2b8d6a(0x27d)]=_0xb95036,_0x22620f[_0x2b8d6a(0x317)]=_0x3df43c,_0x22620f[_0x2b8d6a(0x3e7)]=_0x1b767c,_0x22620f[_0x2b8d6a(0x592)]=_0x45d0ec,_0x22620f[_0x2b8d6a(0x306)]=_0x2a62da,_0x22620f['createEmbedBasesTableRemoveMutation']=_0x4111b6,_0x22620f[_0x2b8d6a(0x5d1)]=_0x30ddf4,_0x22620f['dateToExcelSerial']=_0x7aca16,_0x22620f[_0x2b8d6a(0x438)]=_0x162a7a,_0x22620f['ensureBaseTableCellLayout']=_0x5d33ae,_0x22620f[_0x2b8d6a(0x2ad)]=_0x39ea47,_0x22620f[_0x2b8d6a(0x45d)]=_0x1e8f43,_0x22620f['formatBaseFieldStatValue']=_0xc9d220,_0x22620f[_0x2b8d6a(0x436)]=_0x548c9b,_0x22620f[_0x2b8d6a(0x52e)]=_0x5c4434,_0x22620f['getActiveBaseHierarchyFieldIds']=_0x4c7235,_0x22620f[_0x2b8d6a(0x1ca)]=_0x1926ea,_0x22620f[_0x2b8d6a(0x293)]=_0x4bd91a,_0x22620f['getBaseConditionalColorOperators']=_0x78a559,_0x22620f[_0x2b8d6a(0x3ef)]=_0xbd25,_0x22620f['getBaseFieldPermissionObjectId']=_0xe7abbf,Object['defineProperty'](_0x22620f,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x3d8b25=_0x2b8d6a;return _0xcf3cf2[_0x3d8b25(0x40c)];}}),_0x22620f[_0x2b8d6a(0x288)]=_0x3b968d,_0x22620f[_0x2b8d6a(0x564)]=_0xb51e67,_0x22620f[_0x2b8d6a(0x43b)]=_0x3aa462,_0x22620f['getBaseRecordPermissionObjectId']=_0x19d6d6,_0x22620f[_0x2b8d6a(0x1e7)]=_0x20afd2,_0x22620f[_0x2b8d6a(0x56c)]=_0x1592c3,_0x22620f[_0x2b8d6a(0x567)]=_0x391f91,_0x22620f[_0x2b8d6a(0x22d)]=_0x1181e2,_0x22620f[_0x2b8d6a(0x593)]=_0x54261d,_0x22620f[_0x2b8d6a(0x447)]=_0x1bf480,_0x22620f[_0x2b8d6a(0x30d)]=_0x16d4c2,_0x22620f[_0x2b8d6a(0x36d)]=_0x3e1fd0,_0x22620f['isBaseFieldStatSupported']=_0x3e70c5,_0x22620f[_0x2b8d6a(0x5bc)]=_0x27e0f6,_0x22620f['isBaseHierarchyField']=_0x4d880f,_0x22620f[_0x2b8d6a(0x55b)]=_0x251223,_0x22620f[_0x2b8d6a(0x23c)]=_0x357854,_0x22620f[_0x2b8d6a(0x53d)]=_0x21d088,_0x22620f[_0x2b8d6a(0x430)]=_0x5182d6,_0x22620f['normalizeBaseFieldStatsConfig']=_0x2f722e,_0x22620f[_0x2b8d6a(0x507)]=_0xcf5891,_0x22620f[_0x2b8d6a(0x513)]=_0xf3e46d,_0x22620f['resolveBaseDateFieldConfig']=_0x14d9da,_0x22620f[_0x2b8d6a(0x289)]=_0x4f5050,_0x22620f[_0x2b8d6a(0x609)]=_0x1abd11,_0x22620f[_0x2b8d6a(0x5a2)]=_0x4e21e1,_0x22620f[_0x2b8d6a(0x506)]=_0x47d3ab,_0x22620f[_0x2b8d6a(0x3e4)]=_0x270cb9,_0x22620f[_0x2b8d6a(0x5bf)]=_0x4baece,_0x22620f[_0x2b8d6a(0x451)]=_0x5af319,_0x22620f[_0x2b8d6a(0x555)]=_0x5a84fb,_0x22620f[_0x2b8d6a(0x2d6)]=_0x441a71,_0x22620f[_0x2b8d6a(0x3c1)]=_0x4908a1,_0x22620f[_0x2b8d6a(0x2ee)]=_0x5696c8,_0x22620f[_0x2b8d6a(0x1f8)]=_0x456626,_0x22620f[_0x2b8d6a(0x408)]=_0x3f95e1,_0x22620f['validateRecordLinkValue']=_0x3bd7ca;}));function _0x508a(){const _0x1705b2=['base.command.set-base-view-group','getBaseHierarchyFieldId','Checked','_canUseFastSort','getRecordLinkFieldConfig','YYYY/MM/DD','Module','JSONX','updateField','getBaseViewPermissionObjectId','frozenFieldCount','IUniverInstanceService','setViewFieldOrder','date','start','_projectionCache','BaseProjection.projectTableRows','#FDE68A','RemoveSuperTableMutation','fieldIndex','updateRecordOrder','deepClone','createdBy','kanban','editable','setRangeValues','_projectGroups','recordId','DESC','fieldId','editCell','keys','quarter','base.command.set-base-view-field-width','[BaseCommandService]:\x20field\x20\x22','createIdentifier','toPlainText','compressBaseRangeValuesPayload','_createNumberingAllocator','_getHierarchyIndex','_patchCachedProjectedRows','Base','_normalizeCellValue','code','afterFieldId','medium','max','createEmbedBasesTable','getVisibleBaseHierarchyRows','removeOp','deleteRecords','_applier','JSON1','canDeleteRecord','month','_executeSuperTableMutationWhileActive','formatToParts','beforeCommandExecuted','getInstance','_getViewRevision','_buildGallery','check','_config','searchBaseTable','config','replace','invertOp','[BaseField]:\x20invalid\x20email\x20value.','recordPatch','CreateBaseFieldCommand','setBasePermission','commaPeriod','recordOrder','A\x20table\x20with\x20this\x20name\x20already\x20exists.','status','MM/DD/YYYY','tableOrder','_viewRowsCacheKey','includeTime','recordIds','Uncategorized','base.command.set-base-view-field-visible','YYYY-MM-DD','Number','_setCachedProjection','updatedAt','setViewFilter','createDefaultConfig','displayText','isBaseFieldStatType','fromChangeset','_isColorfulKanbanGroupField','traceBasePerformance','[BaseCommandService]:\x20cannot\x20manage\x20view.','Numbering','fieldName','baseDateSerialToDateMs','_resolveKanbanCoverFieldId','orderedRecordIds','snapshot','clearTablePermission','createDeleteRecordsUndoOp','Base\x20edit\x20permission\x20denied.','small','IUndoRedoService','options','base.command.','bases.fieldConfig.textPlaceholder','_factory','flatMap','createUniqueBaseTableName','UpdateBaseCellCommand','base.permission.service','base.command.set-base-kanban-group-field','progressFieldId','base-snapshot-v1','_instanceService','_resolveKanbanGroupFieldId','toStringTag','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','ErrorService','delete-view','duplicateRecord','isValidBaseRecordId','updateCell','_resolveGanttDateFieldId','IS_EMPTY','_getTableRevision','excelDateTimeSerial','_normalizeGanttDisplayColor','cellRevision','rows','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','symbol','separatorStyle','_setViewFieldSetting','Table','codePointAt','invalidReasonByRecordId','_activeDirtyManagerService','hostAnchorId','createTable','flat','after','protocol','base.command.delete-base-record','setViewPermission','decimalPlaces','timeZone','Checkbox','replaceOp','DD/MM/YYYY','_rowTransformCacheSegment','title','Facade','[BaseCommandService]:\x20cannot\x20edit\x20table.','@univerjs-pro/engine-formula','join','rowIndexById',',,\x22M\x22','base.mutation.set-permission-rules','INIT','SetBasePermissionRulesMutation','FormulaResultApplicationType','undefined','viewId','resolveBaseRangeHierarchyPatches','workingDays','getFullYear','Plugin','Parent','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_normalizeGalleryConfig','_baseSyncDisposables','setViewFieldVisible','this-row','_views','descendPath','550377ElsyyD','getBaseCellFormulaValue','col','type','createRecords','UnitAction','embed-ui','Disposable','doing','base.command.create-base-table','_ganttBarColor','[BaseCommandService]:\x20cannot\x20delete\x20record.','registerCtorForType','add',':start','4526310QmXVHO','_runtimeContext','#16a34a','_cacheKey','canEditRecord','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','-field-name','conjunction','Calendar','__base_hierarchy_parent__','majorHeaders','\x20permission\x20denied.','BaseView','operator','unitOtherData','getBaseTablePermissionObjectId','ICommandService','attachments','from','[RecordLink]:\x20field\x20config\x20is\x20invalid.','hasOwnProperty','Date1900','_groupConfigCacheSegment','_viewRevisions','isInteger','deleteTable','required','gantt','IBaseViewRegistryService','colIndex','Injector','BaseProjection.projectRows','validateCanonicalRecordLinkValue','localeCompare','format','children','abbreviation','general','locale','base.command.update-base-field','getBase','_replaceOptional','number','Choose\x20another\x20name.','_filterSortFieldIds','usableAsGanttStart','resolvedOptions','groups','now','Invalid\x20object\x20permission\x20batch.','_permissionService','Comment','[RecordLink]:\x20target\x20record\x20\x22','unitId','score','some','subscribe','tableRevision','_configService','deleteView','FormulaCalculationSessionService','AFTER','action','_formulaSyncQueue','[BaseField]:\x20invalid\x20phone\x20value.','size','done','moveField','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','color','lastIndex','\x20has\x20unsupported\x20target\x20\x22','Text','_projectHierarchyGroups','_formulaService','BaseRecordLinkRole','exists','_recordPermissions','validateFormula','lessThan','Gantt','base.command.delete-base-table','Rating','set','find','getSupportedBaseFieldStatTypes','multiple','leftPaneWidth','base.command.update-base-view-conditional-color-rules','exact','markResultApplied','BASE','_commandService','getAffectedRanges','cycle','_isAllowedKanbanGroupField','setBaseName','fieldSettings','setConfig','reduce','matchesBaseCondition','_createNumberingAllocators','CommandType','attachmentSet','object','Edit','dateFormat','_getCurrentUserId','has','Cycle','_tableBaseIds','_filterRows','getTypePlugin','targetTableId','5091430cvKhOA','Link','BaseJson1OpApplier','beforeFieldId','sort','base.command.move-base-field','test','DateSystem','usableAsGanttEnd','base.command.update-base-kanban-config','_plugins','Tools','percent','_matchesGanttColorRule','_initRegistries','groupFieldId','_hierarchyIndexCache','SetBasePermissionRuleMutation','Start\x20date','getTime','Formula','_bumpTableRevision','baseRows','globalRevision','CONTAINS','_scheduledSuperTableSyncs','BaseConditionalColorTarget','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','calendar','indexOf','setSnapshot','abs','hourCycle','base.command.validate-formula','limit','startsWith','greaterThan','all','createRegExpFromSafeFragment','entries','@univerjs/core','setViewGroup','https:','then','lessThanOrEqual','BASE_TABLE_NAME_REQUIREMENTS','mark','SetBaseNameCommand','system','UniverBasesPlugin','MissingParent','copyBaseTableSnapshot','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_clearObjectEdit','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','order','params','finally','remote','_setAttachmentResources','getUnitType','base.command.delete-base-field','getBaseHierarchyDeletePromotions','resolveBaseHierarchyFieldId','dateKit','_getCachedProjection','#3b82f6','IS_NOT_EMPTY','[BaseFormula]:\x20table\x20\x22','Todo','option-','_clearUnit','#,##0.00','getBaseCellValue','\x22\x20does\x20not\x20exist.','index','BaseHierarchyInvalidReason','BaseRecord','formulaName','includes','rowIndex','createCreateFieldOp','_registerUnitPermissionPoints','_createSystemFieldValuePatches','toLocaleString','call','_groupCellInvalidations','isArray','_title','cellData','invalidDateField','base.command.move-base-view','createUnit','_disposed','lastWeek','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','changed','conditionalColoring','SetBaseViewGroupCommand','findRecordLinkReferences','$1\x20','day','isFinite','undo','pushUndoRedo','endDateFieldId','_applyingFormulaResults','BaseDashboard','base.command.update-base-cell','star','duplicateField','isValid','_createNumberingFieldValuePatches','[DeleteBaseTableCommand]:\x20table\x20\x22','href','clearFieldPermission','getAllBases','UNIVER_BASE','IPermissionService','defineProperty','Add','MoveBaseFieldCommand','map','todo','canDeleteField','week','Import','sequenceExecute','_sortRows','periodComma','base.command.update-base-view-config','base.view-registry.service','missingField','h12','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','primaryFieldName','renameView','[BaseField]:\x20invalid\x20person\x20value.','columnSettings','_initDependencies','validateBaseHierarchyRecordCreations','BASE_HIERARCHY_MAX_LEVELS','_basePermissions','Date','BaseProjection.materializeTableRows','label','_deleteAttachmentResources','generateRandomId','relationRole','COLUMN','BaseProjection.getProjection','getStructuredDependencies','BASE_HIERARCHY_PARENT_FIELD_ID','SingleSelect','views','user','view','reason','[BaseCommandService]:\x20cannot\x20create\x20record.','thread-comment.mutation.','_assertFieldDefinition','parentFieldName','[BaseFormula]:\x20table\x20does\x20not\x20exist.','getAll','validateBaseTableName','pop','_normalizeCalendarConfig','BaseConditionalColorOperator','canEditField','searchTexts','ascend','members','attachment','lastMonth','UniverInstanceType','weekdays','pluginName','showTodayLine','key',':end','function','url','unknown','invalid-characters','Delete','MUTATION','base.mutation.apply-base-json1','UpdatedAt','createEmbedBasesTableAddMutation','cardLayout','BaseProjection.projectGroups','push','_resolveKanbanCardFieldIds','UpdateBaseKanbanConfigCommand','data','isBaseConditionalColorDateField','readonly','@univerjs-pro/bases','round','displayFieldId','base.command.service','base.resource.service','createBaseFormulaTableNameMap','IS_NOT','_getKanbanConfiguredLanes','createBaseHierarchyParentField','isBaseRecordIdFieldName','changeFieldType','raw','collaborators','startDateFieldId','_tableRevisions','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','Gallery','every','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','stringify','amd','base.command.create-base-record','rootRecordIds','hierarchy','_getJson1DirtyData','Phone','ColorKit','_fieldRegistry','deleteField','UniverRemoteBasesPlugin','_calendarEventColor','getDay','dateMode','MissingRecord','renameTable','_materializeGroups','descend','defaultValue','1151672LLMQfK','MultiSelect','parentByRecordId','[BaseCommandService]:\x20invalid\x20cell\x20value.','split','usableAsCardCover','[BaseCommandService]:\x20cannot\x20delete\x20field.','diffValue','_materializeFormulaTableNames','strategies','timeslotSize','orderKey','_groupsCacheKey','path','createSuperTableReference','spacePeriod','_buildGantt','parentRecordId','createCreateRecordOp','value','updatedBy','ValidateBaseFormulaCommand','COMMAND','21lZYrOe','depthByRecordId','RecordLink','CreatedBy','getCurrentUnitOfType','getCurrentUserId','_projectFields','manual','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','filter','getMonth','source','unshift','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','False','canCreateField','DependentOn','ApplyBaseJson1Mutation','base.command.batch-create-base-records','manageView','base.command.change-base-field-type','_projectTableRows','BaseConditionalDateMode','before','unitData','getAllUnitsForType','apply','card','toDisposable','rowId','[BaseCommandService]:\x20record-id\x20is\x20reserved.','autoIncrement','past7','isBaseFieldStatEmptyValue','_resolveGalleryCardFieldIds','SetFormulaCalculationResultMutation','_resolveGalleryCoverFieldId','blue','Grid','_getSystemFieldValue','UpdateBaseRecordOrderCommand','RenameBaseTableCommand','calculateBaseFieldStat','spaceComma','_setObjectEdit','\x20must\x20have\x20a\x20non-empty\x20id.','changes','record/','empty','compress','operand','registerSyncingMutations','canCreateTable','fromPlainText','True','IConfigService','Done','deletePermissionPoint','SetBaseRecordValuesCommand','recordNamePrefix','SetBaseKanbanGroupFieldCommand','redo','records','FieldId','\x20has\x20unsupported\x20date\x20mode\x20\x22','SetBaseTableHierarchyFieldCommand','_projectedRowsCache','oldParentRecordId','version','registerCommand','ObjectPermissionService','_canEditTable','Remote','text','updatePermissionPoint','width','_buildCalendar','DeleteBaseFieldCommand','tryMaterializeSnapshot','patches','_projectedViewRowsCache','DeleteBaseRecordCommand','tomorrow','import','SetBasePermissionsCommand','exceptions','missingRecord','canDeleteTable','setTablePermission','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','fromEntries','fromCollab','emitPermissionDenied','excelSerialToDateTime','_globalRevision','CreateBaseTableCommand','[BaseFormula]:\x20field\x20\x22','getUTCDay','base.command.set-base-range-values','validate','@univerjs-pro/license','prototype','BaseDataModel','matchAll','UpdatedBy','fields','BASE_FIELD_STAT_TYPES','NUMBER','view/','ObjectMatrix','[BaseCommandService]:\x20invalid\x20field\x20definition.','decorate','_isCalendarDateField','Yes','9VyXBJX','Unchecked','facade','validateBaseHierarchyRecordPatches','record','register','BaseJson1.cloneForOp','target','_isAllDayGanttDateRange','BaseCommand.createBatchCreateRecordsOp','BaseViewType','_initialize','_formulaCalculationSessionService','owner','PermissionStatus','createSetRecordValuesOp','WriteCursor','_getAllBaseDependencyTreeCacheMap','buildBaseHierarchyIndex','[BaseHierarchy]:\x20field\x20\x22','\x22\x20is\x20referenced\x20by\x20','base.command.create-base-field','length','Person','base.command.set-permissions','tables','Currency','afterViewId','FORCE_STRING','trigger','onStarting','leftPaneCollapsed','slice','selectField','createViewId','_buildKanban','tableId','Copy','setBasePermissionValue','cardSize','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','createDefaultBaseTableSnapshot','_getTablesToNormalize','_initDataSync','string','_withModifiedSystemValues','rule','createField','_formulaCalculationTriggerService','getBaseDashboardPermissionObjectId','insertOp','getUTCMonth','_enqueueFormulaSync','local','1115974iVKlDC','UniverCore','Use\x2031\x20characters\x20or\x20fewer.','Doing','_normalizeCalendarDisplayColor','_getOrderedRecords','Group','createRecord','1959868PZOkNs','objectId','packageName','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','SetBaseViewFieldWidthCommand','BatchCreateBaseRecordsCommand','toLowerCase','11bGIVrp','values','numfmt','base.command.set-base-view-sort','_toDirtyRangePatch','validateRecordLinkField','_normalizeGanttConfig','UnitObject','isNaN','getBaseFormulaTableName','rules','_projectRows','_viewPermissions','scale','UniverProtocol','h:mm\x20a','CreatedAt','_check','kind','_syncSuperTables','edit','UTC','base.command.set-base-record-values','basePerf','_resolveCardTitleFieldId','_buildGrid','direction','pattern','_canEdit','_apply','en-US','_tablePermissions','notContains','[BaseProjectionService]:\x20missing\x20view\x20\x22','getUnit','DataSyncPrimaryController','BaseProjection.filterAndSortRows','SelfParent','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_deleteRecordsBaseOp','at\x20index\x20','mode','exception-','MaxDepth','UniverLicensePlugin','normalizeBaseDateSerial','canEditTable','HH:mm','h24','[RecordLink]:\x20display\x20field\x20\x22','BaseFieldType','formatBaseNumberValue','year','decompressBaseRangeValuesPayload','IBaseProjectionService','setViewSort','getBasePermissionValue','invalidField','REMOTE_BASES_PLUGIN','getSnapshot','\x22\x20with\x20field\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20field.','#14b8a6','clear','1ESjEZa','Export','_getStructureDirtyTableIds','getUTCFullYear','inferBaseSeparatorStyle','Attachment','invertWithDoc','none','deleteRecord','[BaseCommandService]:\x20cannot\x20edit\x20record.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','getCurrentUser','_syncBaseUnit','Table\x20name\x20is\x20required.','uniqueFieldName','__all__','Kanban','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Progress','name','UniverRpc','forEach','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','true','Empty','findIndex','formatBaseDateValue','column','touchDependencies','_isGanttDateField','BASES_PLUGIN','filled','getPermissionPoint','syncUnit','objectType','policy','registerView','MoveBaseViewCommand','BaseField','sortedView','LESS_THAN','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','RecordId','UNIVER_EMBED_BASES_TABLE','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','executeCommand','delete','_rememberTable','General','BaseJson1OpFactory','Parent\x20Items','_getAllTableIds','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','trim','Undo','_cellInvalidationsTouchFields','exports','valid','_setFormulaFieldCells','unique','selfParent','subtreeHeightByRecordId','resources','BEFORE','group','remove','useThousands','_injector','univer.basePerf','BaseHierarchyErrorCode','base-range-values-v1','[BaseField]:\x20invalid\x20multi-value\x20reference.','field','normal','short','currencySymbol','createView','#BFDBFE','base.fieldType.','createBatchCreateRecordsOp','bases.fieldConfig.linkPlaceholder','moveView','Ids','NOT_CONTAINS','invalidateByOp','today','viewOrder','base.command.ensure-base-temporal-view-date-fields','recordCount','_cellInvalidations','50966500BUnSAo','onCommandExecuted','_findCalendarDateFieldId','sum','CreateBaseChildRecordCommand','base.command.update-base-field-description','thumbnail','base.command.delete-base-view','fieldIds','level','long','_getTable','updateViewConfig','fieldOrder','base-perf-','__UNIVER_BASE_PERF__','invalid','base.field-registry.service','table','tableName','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','fld-','primaryFieldId','lastIndexOf','syncExecuteCommand','compose','getUTCDate','@univerjs/rpc','forValue','base.viewType.grid','BaseFilterConjunction','_patchProjectedRowsForCellInvalidations','valueOf','includeRecords','getUnitId','cell','Email','onlyLocal','base.projection.service','_createRecordWithDefaults','displayColor','count','\x22.\x20Allowed\x20operators:\x20','_onCommandExecuted','base.command.duplicate-base-field','clearViewPermission','colorFieldId','false','regexp','titleFieldId','_isNonEmptyCellValue','refactorFormulaUnitQualifier','isNot','coverFieldId','_kanbanGroupKeys','_removeSuperTables','renameFormulaUnitReferences','addPermissionPoint','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','error','info','base-perf','createUpdateCellOp','SetSuperTableMutation','_dataSyncPrimaryController','colId','merge','\x22\x20is\x20not\x20registered.','_findKanbanGroupField','hidden','_isAllDayCalendarEvent','invalidGroupField','toPrimitive','base.command.create-base-view','assign','nodes','workingDaysOnly','BaseConditionalColorRuleUpdateType','endsWith','\x20has\x20unsupported\x20operator\x20\x22','allowMultiple','conditions','get','min','ruleId','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Inject','UniverProFormulaEnginePlugin','_univerInstanceService','UpdateBaseViewConditionalColorRulesCommand','base.command.create-base-child-record','setRules','allocateBaseFormulaTableName','depth','CustomCommandExecutionError','invalidateByView','formula','#,##0','_viewRevisionKey','CellValueType','gridViewId','getSuperTableRegistrations','DuplicateBaseFieldCommand','_cellRevisions','serializeRecordLinkIds','parseRecordLinkIds','BOOLEAN','BASE_RECORD_ID_FIELD_ID','IBaseCommandService','setViewFieldWidth','canManageView','SetBaseViewFieldVisibleCommand','average','SetTriggerFormulaCalculationStartMutation','[BaseHierarchy]:\x20','boolean','conditional','projectBaseHierarchy','onReady','_registeredSuperTableNames','STRING','iterator','CreateBaseViewCommand','Status','_fastSortRows','yyyy/mm/dd','[BaseField]:\x20invalid\x20date\x20value.','dispose','_recordIds',',\x22K\x22','_kanbanLaneColor','ChangeBaseFieldTypeCommand','maxDepth','[BaseCommandService]:\x20cannot\x20delete\x20table.','showFieldNames','End\x20date','end','apostrophe','getTypeOfUnitDisposed$','_projectedGroupsCache','_createRecordOrderOp','attachmentSets','clearBasePermission','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','formatBaseProgressValue','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_T_','bases.remote.config','working','next7','off','MMM\x20D,\x20YYYY','setRecordValues','DeleteView','projection','_capabilities',',,,\x22B\x22','revision','Working\x20day','normalizeBaseDateFieldConfig','row','_resolveBaseId','canEditBaseTargets','custom','getTypeOfUnitAdded$','usableAsCalendarDate','focusUnit','\x20cannot\x20use\x20operator\x20\x22','_applyFormulaResult','Clear','duplicate','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','Name','disposeWithMe','BASE_OBJECT_PERMISSION_PLUGIN','beforeViewId','applyOp','description','BaseHistoryAction','clearUnit','subType','_fieldPermissions','too-long','validateBaseHierarchyMove','create-view','canCreateRecord','pickerFieldIds','_getCellRevision','_resolveCalendarDateFieldId','isCompressedBaseRangeValuesPayload','unsubscribe','_kanbanLaneTitle','SetBaseRangeValuesCommand','[BasePerf]\x20','BaseTable','_scheduleSuperTableSync','createdAt'];_0x508a=function(){return _0x1705b2;};return _0x508a();}