@univerjs-pro/bases 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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(_0x2ee582,_0x44a226){const _0x33f1ae=_0x4fc5,_0x3f8614=_0x2ee582();while(!![]){try{const _0x4e282d=parseInt(_0x33f1ae(0x2e7))/0x1*(parseInt(_0x33f1ae(0x589))/0x2)+-parseInt(_0x33f1ae(0x188))/0x3+parseInt(_0x33f1ae(0x255))/0x4+-parseInt(_0x33f1ae(0x49f))/0x5+parseInt(_0x33f1ae(0x244))/0x6*(-parseInt(_0x33f1ae(0x2d7))/0x7)+parseInt(_0x33f1ae(0x42e))/0x8*(parseInt(_0x33f1ae(0x4a6))/0x9)+-parseInt(_0x33f1ae(0x5b6))/0xa;if(_0x4e282d===_0x44a226)break;else _0x3f8614['push'](_0x3f8614['shift']());}catch(_0x48dcdc){_0x3f8614['push'](_0x3f8614['shift']());}}}(_0xd0ee,0x66ac1),function(_0x3f700b,_0x38e92f){const _0x36ad3c=_0x4fc5;typeof exports=='object'&&typeof module<'u'?_0x38e92f(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==_0x36ad3c(0x3ac)&&define[_0x36ad3c(0x493)]?define([_0x36ad3c(0x437),_0x36ad3c(0x55d),_0x36ad3c(0x191),'@univerjs/protocol',_0x36ad3c(0x4b3),_0x36ad3c(0x3ef),'@univerjs/engine-formula'],_0x38e92f):(_0x3f700b=typeof globalThis<'u'?globalThis:_0x3f700b||self,_0x38e92f(_0x3f700b[_0x36ad3c(0x17d)]={},_0x3f700b[_0x36ad3c(0x519)],_0x3f700b[_0x36ad3c(0x55a)],_0x3f700b[_0x36ad3c(0x457)],_0x3f700b[_0x36ad3c(0x1f0)],_0x3f700b[_0x36ad3c(0x357)],_0x3f700b[_0x36ad3c(0x2ad)]));}(this,function(_0xed53b0,_0x13cf76,_0x43fb1e,_0x93a0d4,_0x2f1c4f,_0x44eadb,_0x310830){const _0x571676=_0x4fc5;Object[_0x571676(0x1a1)](_0xed53b0,Symbol[_0x571676(0x4ad)],{'value':_0x571676(0x1e9)});function _0x51db2d(_0x33976e){const _0x17388a=_0x571676;let _0x200744=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x267)],_0x5d7c94=_0x33976e['config'][_0x17388a(0x383)],_0x5606ae=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1dd)],_0x3e8d04=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x1c0)],_0x48c1e8=_0x33976e[_0x17388a(0x5b9)][_0x17388a(0x2fe)];return typeof _0x200744!=_0x17388a(0x2b6)||!_0x200744||typeof _0x5d7c94!=_0x17388a(0x42a)||_0x5606ae!==void 0x0&&(typeof _0x5606ae!=_0x17388a(0x2b6)||!_0x5606ae)||_0x48c1e8!==void 0x0&&_0x48c1e8!==_0x13cf76[_0x17388a(0x521)]['Parent']||_0x3e8d04!==void 0x0&&(!Array[_0x17388a(0x21f)](_0x3e8d04)||_0x3e8d04[_0x17388a(0x1ab)](_0x55a17b=>typeof _0x55a17b!=_0x17388a(0x2b6)||!_0x55a17b)||new Set(_0x3e8d04)['size']!==_0x3e8d04[_0x17388a(0x4e9)])?null:{'targetTableId':_0x200744,'multiple':_0x5d7c94,..._0x5606ae?{'displayFieldId':_0x5606ae}:{},..._0x3e8d04?{'pickerFieldIds':[..._0x3e8d04]}:{},..._0x48c1e8?{'relationRole':_0x48c1e8}:{}};}function _0x5a5d43(_0xcc6c3a){const _0x3230c5=_0x571676;return typeof _0xcc6c3a!=_0x3230c5(0x2b6)||_0xcc6c3a===''?[]:_0xcc6c3a[_0x3230c5(0x21e)](',');}function _0xddc2f4(_0x2c5d64){const _0x1051de=_0x571676;return Array[_0x1051de(0x2ed)](new Set(_0x2c5d64))[_0x1051de(0x4b9)](',');}function _0x35e826(_0x414972,_0x1a939f){const _0xbf4a06=_0x571676;if(typeof _0x414972!='string')return{'valid':!0x1,'reason':_0xbf4a06(0x24b)};if(_0x414972==='')return{'valid':!0x0};let _0x43ec3d=_0x414972[_0xbf4a06(0x21e)](',');return!_0x1a939f&&_0x43ec3d[_0xbf4a06(0x4e9)]>0x1?{'valid':!0x1,'reason':_0xbf4a06(0x499)}:_0x43ec3d['some'](_0x331f13=>!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x331f13))||new Set(_0x43ec3d)[_0xbf4a06(0x366)]!==_0x43ec3d['length']||_0xddc2f4(_0x43ec3d)!==_0x414972?{'valid':!0x1,'reason':_0xbf4a06(0x40d)}:{'valid':!0x0};}function _0x5a4a77(_0x5d7208,_0x41d03c){const _0x19ba63=_0x571676;if(_0x41d03c[_0x19ba63(0x292)]!==_0x13cf76['BaseFieldType'][_0x19ba63(0x5b0)])return{'valid':!0x0};let _0x430b60=_0x51db2d(_0x41d03c),_0x346f6d=_0x430b60?_0x5d7208[_0x19ba63(0x291)][_0x430b60['targetTableId']]:void 0x0;if(!_0x430b60||!_0x346f6d)return{'valid':!0x1,'reason':_0x19ba63(0x21c)};let _0x88690f=[..._0x430b60[_0x19ba63(0x1dd)]?[_0x430b60[_0x19ba63(0x1dd)]]:[],..._0x430b60[_0x19ba63(0x1c0)]??[]][_0x19ba63(0x56a)](_0x42b218=>{const _0x485189=_0x19ba63;let _0xfa355a=_0x346f6d[_0x485189(0x3c2)][_0x42b218];return!_0xfa355a||_0xfa355a[_0x485189(0x4f8)]===!0x0||_0xfa355a[_0x485189(0x292)]===_0x13cf76[_0x485189(0x517)][_0x485189(0x2ea)];});return _0x88690f?{'valid':!0x1,'reason':_0x19ba63(0x27f)+_0x88690f+_0x19ba63(0x4a0)}:{'valid':!0x0};}function _0x5d7c0c(_0x6f3a93,_0x255236,_0x17974a,_0x44479a={}){const _0x522a3f=_0x571676;let _0x6e95ef=_0x51db2d(_0x255236);if(_0x255236[_0x522a3f(0x292)]!==_0x13cf76[_0x522a3f(0x517)][_0x522a3f(0x5b0)]||!_0x6e95ef)return{'valid':!0x1,'reason':_0x522a3f(0x566)};let _0x4959e5=_0x35e826(_0x17974a,_0x6e95ef[_0x522a3f(0x383)]);if(!_0x4959e5[_0x522a3f(0x49e)]||_0x44479a['allowDangling'])return _0x4959e5;let _0x718638=_0x6f3a93[_0x522a3f(0x291)][_0x6e95ef[_0x522a3f(0x267)]];if(!_0x718638)return{'valid':!0x1,'reason':_0x522a3f(0x21c)};let _0x1a667d=_0x5a5d43(_0x17974a)[_0x522a3f(0x56a)](_0x4024fb=>!_0x718638[_0x522a3f(0x38f)][_0x4024fb]);return _0x1a667d?{'valid':!0x1,'reason':_0x522a3f(0x322)+_0x1a667d+_0x522a3f(0x2ec)}:{'valid':!0x0};}function _0x520eb7(_0x3e6cd6,_0x3c021f){const _0x59c0da=_0x571676;return Object[_0x59c0da(0x334)](_0x3e6cd6[_0x59c0da(0x291)])[_0x59c0da(0x387)](_0x198f61=>Object['values'](_0x198f61[_0x59c0da(0x3c2)])['flatMap'](_0x18ea04=>{const _0x21f826=_0x59c0da;let _0x5b88aa=_0x18ea04[_0x21f826(0x292)]===_0x13cf76[_0x21f826(0x517)][_0x21f826(0x5b0)]?_0x51db2d(_0x18ea04):null;return(_0x5b88aa==null?void 0x0:_0x5b88aa[_0x21f826(0x267)])===_0x3c021f?[{'tableId':_0x198f61['id'],'fieldId':_0x18ea04['id']}]:[];}));}let _0x571f6c='__base_hierarchy_parent__',_0x244067=function(_0x441e26){const _0x2c948b=_0x571676;return _0x441e26['InvalidField']=_0x2c948b(0x481),_0x441e26[_0x2c948b(0x36c)]=_0x2c948b(0x2ba),_0x441e26[_0x2c948b(0x2d4)]='selfParent',_0x441e26[_0x2c948b(0x375)]=_0x2c948b(0x3f4),_0x441e26[_0x2c948b(0x2c9)]=_0x2c948b(0x2ab),_0x441e26['SortedView']='sortedView',_0x441e26;}({});var _0x2dec10=class extends Error{constructor(_0x27ebe1,_0x4b56f9='[BaseHierarchy]:\x20'+_0x27ebe1){const _0xd6cd63=_0x571676;super(_0x4b56f9),this[_0xd6cd63(0x568)]=_0x27ebe1,this[_0xd6cd63(0x46d)]=_0xd6cd63(0x486);}};let _0x75538d=function(_0x4a47c4){const _0x58f0af=_0x571676;return _0x4a47c4['UI']='ui',_0x4a47c4[_0x58f0af(0x410)]=_0x58f0af(0x1f9),_0x4a47c4[_0x58f0af(0x35e)]='remote',_0x4a47c4[_0x58f0af(0x2e4)]=_0x58f0af(0x505),_0x4a47c4[_0x58f0af(0x585)]=_0x58f0af(0x3ee),_0x4a47c4[_0x58f0af(0x2d5)]=_0x58f0af(0x330),_0x4a47c4;}({});function _0x53a126(_0x1be716,_0x2c56a3){const _0x5c3b3d=_0x571676;if(!_0x2c56a3)return!0x1;let _0x5614ac=_0x1be716[_0x5c3b3d(0x3c2)][_0x2c56a3];if(!_0x5614ac||_0x5614ac[_0x5c3b3d(0x292)]!==_0x13cf76['BaseFieldType']['RecordLink'])return!0x1;let _0x448a76=_0x51db2d(_0x5614ac);return _0x448a76?_0x448a76[_0x5c3b3d(0x267)]===_0x1be716['id']&&_0x448a76[_0x5c3b3d(0x383)]===!0x1:!0x1;}function _0x19ec27(_0x2d9cf8){const _0x79eea3=_0x571676;return[..._0x2d9cf8[_0x79eea3(0x582)],...Object[_0x79eea3(0x2db)](_0x2d9cf8[_0x79eea3(0x3c2)])[_0x79eea3(0x3c4)](_0x587adb=>!_0x2d9cf8[_0x79eea3(0x582)][_0x79eea3(0x358)](_0x587adb))[_0x79eea3(0x4af)]()]['find'](_0x211339=>{const _0x4c837e=_0x79eea3;var _0x1abe0a;return _0x53a126(_0x2d9cf8,_0x211339)?((_0x1abe0a=_0x51db2d(_0x2d9cf8[_0x4c837e(0x3c2)][_0x211339]))==null?void 0x0:_0x1abe0a[_0x4c837e(0x2fe)])===_0x13cf76[_0x4c837e(0x521)]['Parent']:!0x1;})??null;}function _0x2d5926(_0x22566f){const _0x135839=_0x571676;let _0x531f07=_0x19ec27(_0x22566f);if(_0x531f07)return _0x531f07;let _0x58e015=_0x571f6c,_0x4d541d=0x2;for(;_0x22566f[_0x135839(0x3c2)][_0x58e015];)_0x58e015=_0x571f6c+'_'+_0x4d541d++;return _0x58e015;}function _0xb8ceba(_0x586344,_0x1168fe=_0x2d5926(_0x586344),_0x184084=_0x571676(0x5b4)){const _0x708398=_0x571676;return{'id':_0x1168fe,'name':_0x184084,'type':_0x13cf76[_0x708398(0x517)][_0x708398(0x5b0)],'config':{'targetTableId':_0x586344['id'],'multiple':!0x1,'displayFieldId':_0x586344[_0x708398(0x422)],'pickerFieldIds':[_0x586344[_0x708398(0x422)]],'relationRole':_0x13cf76[_0x708398(0x521)][_0x708398(0x4ce)]}};}function _0x25a1a4(_0x16efcf){let _0x3c1e7b=_0x19ec27(_0x16efcf);return _0x3c1e7b?[_0x3c1e7b]:[];}function _0x226acd(_0x230493,_0x348e7e){const _0x223dcd=_0x571676;let _0x5ae4e0=[..._0x25a1a4(_0x230493)][_0x223dcd(0x3c4)](_0x46bc33=>_0x348e7e['some'](_0x373f25=>Object[_0x223dcd(0x41e)][_0x223dcd(0x189)]['call'](_0x373f25['values'],_0x46bc33)));if(!_0x5ae4e0[_0x223dcd(0x4e9)])return[];let _0x4bd62b={..._0x230493[_0x223dcd(0x38f)]};_0x348e7e[_0x223dcd(0x3c9)](_0x31f5b7=>{const _0x2939f4=_0x223dcd;let _0x55f001=_0x4bd62b[_0x31f5b7[_0x2939f4(0x5c4)]];_0x55f001&&(_0x4bd62b[_0x31f5b7['recordId']]={..._0x55f001,'values':{..._0x55f001['values'],..._0x31f5b7[_0x2939f4(0x334)]}});});let _0x2bfddb={..._0x230493,'records':_0x4bd62b},_0x4556d5=[];return _0x5ae4e0['forEach'](_0x1b7cf3=>{const _0x5179b0=_0x223dcd;let _0x3a4862=_0x4067d3(_0x230493,_0x1b7cf3),_0x30ee4c=_0x4067d3(_0x2bfddb,_0x1b7cf3);for(let [_0x17e4d7,_0x52b416]of _0x30ee4c[_0x5179b0(0x47f)]){let _0x3f290f=_0x348e7e[_0x5179b0(0x1ab)](_0x49e3e3=>_0x49e3e3[_0x5179b0(0x5c4)]===_0x17e4d7&&Object[_0x5179b0(0x41e)]['hasOwnProperty']['call'](_0x49e3e3[_0x5179b0(0x334)],_0x1b7cf3));if(_0x3a4862['invalidReasonByRecordId'][_0x5179b0(0x59c)](_0x17e4d7)!==_0x52b416||_0x3f290f)throw new _0x2dec10(_0x13126b(_0x52b416));}_0x348e7e[_0x5179b0(0x3c9)](_0x3076ff=>{const _0x52365=_0x5179b0;if(!Object['prototype'][_0x52365(0x189)][_0x52365(0x279)](_0x3076ff[_0x52365(0x334)],_0x1b7cf3))return;let _0x5f4693=_0x3a4862[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff['recordId'])??null,_0x3bf75b=_0x30ee4c[_0x52365(0x31b)][_0x52365(0x59c)](_0x3076ff[_0x52365(0x5c4)])??null;_0x5f4693!==_0x3bf75b&&_0x4556d5[_0x52365(0x401)]({'tableId':_0x230493['id'],'fieldId':_0x1b7cf3,'recordId':_0x3076ff[_0x52365(0x5c4)],'oldParentRecordId':_0x5f4693,'parentRecordId':_0x3bf75b});});}),_0x4556d5;}function _0x16b24a(_0x49b8c4,_0x4e718e){const _0xbc33a8=_0x571676;let _0x359d21=_0x4e718e['map'](_0xde6e9d=>_0xde6e9d['id']);if(new Set(_0x359d21)[_0xbc33a8(0x366)]!==_0x359d21['length']||_0x359d21['some'](_0x45bdae=>_0x49b8c4['records'][_0x45bdae]))return[];let _0x3508ff=_0x25a1a4(_0x49b8c4),_0x4bbbd9=_0x3508ff['length']?null:_0x2d5926(_0x49b8c4),_0x22ce5b=[..._0x3508ff,..._0x4bbbd9&&_0x4e718e['some'](_0x1087e8=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)]['call'](_0x1087e8[_0xbc33a8(0x334)],_0x4bbbd9))?[_0x4bbbd9]:[]][_0xbc33a8(0x3c4)](_0x43157a=>_0x4e718e['some'](_0x146409=>Object[_0xbc33a8(0x41e)][_0xbc33a8(0x189)][_0xbc33a8(0x279)](_0x146409['values'],_0x43157a)));if(!_0x22ce5b['length'])return[];let _0x2eaaa3={..._0x49b8c4,'records':{..._0x49b8c4[_0xbc33a8(0x38f)],...Object[_0xbc33a8(0x1fc)](_0x4e718e['map'](_0x3a0ed4=>[_0x3a0ed4['id'],_0x3a0ed4]))},'recordOrder':[..._0x49b8c4[_0xbc33a8(0x1cd)]??[],..._0x4e718e[_0xbc33a8(0x329)](_0x5990a1=>_0x5990a1['id'])]},_0x578024=[];return _0x22ce5b[_0xbc33a8(0x3c9)](_0x330240=>{const _0x2e3cc0=_0xbc33a8;let _0x173070=_0x4067d3(_0x2eaaa3,_0x330240);_0x4e718e[_0x2e3cc0(0x3c9)](_0x28f811=>{const _0x131b6b=_0x2e3cc0;let _0x334869=_0x173070['invalidReasonByRecordId']['get'](_0x28f811['id']);if(_0x334869)throw new _0x2dec10(_0x13126b(_0x334869));let _0x2cf318=_0x173070[_0x131b6b(0x31b)][_0x131b6b(0x59c)](_0x28f811['id'])??null;_0x2cf318&&_0x578024['push']({'tableId':_0x49b8c4['id'],'fieldId':_0x330240,'recordId':_0x28f811['id'],'oldParentRecordId':null,'parentRecordId':_0x2cf318});});}),_0x578024;}function _0x13126b(_0x380ae6){const _0x10c4d7=_0x571676;switch(_0x380ae6){case _0x13cf76[_0x10c4d7(0x462)]['MissingParent']:return _0x10c4d7(0x2ba);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x2d4)]:return _0x10c4d7(0x41c);case _0x13cf76['BaseHierarchyInvalidReason'][_0x10c4d7(0x375)]:return _0x10c4d7(0x3f4);case _0x13cf76[_0x10c4d7(0x462)][_0x10c4d7(0x2c9)]:return'maxDepth';}}function _0xaf3938(_0x3ed24a,_0x44f7b2){const _0x2e2528=_0x571676;let _0x597c5e=new Set(_0x44f7b2),_0x191604=_0x25a1a4(_0x3ed24a);return Object[_0x2e2528(0x334)](_0x3ed24a[_0x2e2528(0x38f)])[_0x2e2528(0x387)](_0xc91bae=>_0x597c5e['has'](_0xc91bae['id'])?[]:Array['from'](_0x191604)[_0x2e2528(0x387)](_0x483ee3=>{const _0x1151c1=_0x2e2528;let _0x3e5ebb=_0x5a5d43(_0xc91bae[_0x1151c1(0x334)][_0x483ee3])[0x0]??null;return _0x3e5ebb&&_0x597c5e[_0x1151c1(0x370)](_0x3e5ebb)?[{'tableId':_0x3ed24a['id'],'fieldId':_0x483ee3,'recordId':_0xc91bae['id'],'oldParentRecordId':_0x3e5ebb,'parentRecordId':null}]:[];}));}function _0x4067d3(_0x1fca16,_0x2ef266,_0x2a9b15=_0x1fca16[_0x571676(0x1cd)]??Object[_0x571676(0x2db)](_0x1fca16[_0x571676(0x38f)])){const _0x6b3a0b=_0x571676;if((_0x1fca16[_0x6b3a0b(0x3c2)][_0x2ef266]||_0x2ef266!==_0x2d5926(_0x1fca16))&&!_0x53a126(_0x1fca16,_0x2ef266))throw Error(_0x6b3a0b(0x22b)+_0x2ef266+_0x6b3a0b(0x448));let _0x2bf127=_0x4ee215(_0x1fca16,_0x2a9b15),_0x5003ba=new Map(),_0x230140=new Map();for(let _0x75c89 of _0x2bf127){var _0x2af7d4;let _0x5b83cc=_0x5a5d43((_0x2af7d4=_0x1fca16[_0x6b3a0b(0x38f)][_0x75c89])==null?void 0x0:_0x2af7d4[_0x6b3a0b(0x334)][_0x2ef266])[0x0]??null;_0x5b83cc?_0x5b83cc===_0x75c89?(_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76['BaseHierarchyInvalidReason'][_0x6b3a0b(0x2d4)])):_0x1fca16[_0x6b3a0b(0x38f)][_0x5b83cc]?_0x5003ba['set'](_0x75c89,_0x5b83cc):(_0x5003ba['set'](_0x75c89,null),_0x230140[_0x6b3a0b(0x569)](_0x75c89,_0x13cf76[_0x6b3a0b(0x462)]['MissingParent'])):_0x5003ba[_0x6b3a0b(0x569)](_0x75c89,null);}_0x1557fa(_0x5003ba,_0x230140,_0x2bf127),_0x3cbf33(_0x5003ba,_0x230140,_0x2bf127);let _0x378f4b=new Map(_0x2bf127['map']((_0x16b858,_0x3d02b0)=>[_0x16b858,_0x3d02b0])),_0x263fe2=new Map();for(let _0x5a6cf1 of _0x2bf127){let _0x2e19bb=_0x5003ba['get'](_0x5a6cf1)??null,_0x44143b=_0x263fe2['get'](_0x2e19bb)??[];_0x44143b[_0x6b3a0b(0x401)](_0x5a6cf1),_0x263fe2[_0x6b3a0b(0x569)](_0x2e19bb,_0x44143b);}_0x263fe2[_0x6b3a0b(0x3c9)](_0x277e22=>_0x277e22[_0x6b3a0b(0x4af)]((_0x2940f9,_0x3d66e6)=>(_0x378f4b[_0x6b3a0b(0x59c)](_0x2940f9)??0x0)-(_0x378f4b['get'](_0x3d66e6)??0x0)));let _0x800be0=_0x263fe2[_0x6b3a0b(0x59c)](null)??[],_0x52bc43=new Map(),_0x156b86=new Map(),_0x4a8212=[],_0x152362=(_0x407479,_0x495adf)=>{const _0xf38bb4=_0x6b3a0b;_0x52bc43[_0xf38bb4(0x569)](_0x407479,_0x495adf),_0x4a8212[_0xf38bb4(0x401)](_0x407479);let _0x26d656=0x0;for(let _0x4b645b of _0x263fe2['get'](_0x407479)??[])_0x26d656=Math['max'](_0x26d656,0x1+_0x152362(_0x4b645b,_0x495adf+0x1));return _0x156b86[_0xf38bb4(0x569)](_0x407479,_0x26d656),_0x26d656;};return _0x800be0[_0x6b3a0b(0x3c9)](_0x217cc5=>_0x152362(_0x217cc5,0x0)),{'fieldId':_0x2ef266,'parentByRecordId':_0x5003ba,'childrenByParentId':_0x263fe2,'depthByRecordId':_0x52bc43,'subtreeHeightByRecordId':_0x156b86,'invalidReasonByRecordId':_0x230140,'rootRecordIds':_0x800be0,'orderedRecordIds':_0x4a8212};}function _0x4ceb91(_0x3158bc,_0x25d0ee,_0x359045=new Set(_0x25d0ee[_0x571676(0x329)](_0x29895b=>_0x29895b[_0x571676(0x5c4)]))){const _0x41eff1=_0x571676;let _0x4111f3=new Set(_0x359045);for(let _0x54398b of _0x359045){let _0x385dae=_0x3158bc['parentByRecordId']['get'](_0x54398b)??null;for(;_0x385dae;)_0x4111f3[_0x41eff1(0x54c)](_0x385dae),_0x385dae=_0x3158bc['parentByRecordId'][_0x41eff1(0x59c)](_0x385dae)??null;}let _0x5a31fc=new Map(_0x25d0ee[_0x41eff1(0x329)](_0x527881=>[_0x527881[_0x41eff1(0x5c4)],_0x527881])),_0x245902=_0x3158bc[_0x41eff1(0x5d5)][_0x41eff1(0x3c4)](_0x218d95=>_0x4111f3['has'](_0x218d95)),_0x1a395d=_0x245902[_0x41eff1(0x387)](_0x146cf2=>{const _0x1873d1=_0x41eff1;let _0x3e093d=_0x5a31fc[_0x1873d1(0x59c)](_0x146cf2);return _0x3e093d?[_0x3e093d]:[];}),_0x3580c6={};for(let _0x15601d=0x0;_0x15601d<_0x245902['length'];_0x15601d++){let _0x1d9fcf=_0x245902[_0x15601d];_0x3580c6[_0x1d9fcf]={'recordId':_0x1d9fcf,'parentRecordId':_0x3158bc[_0x41eff1(0x31b)]['get'](_0x1d9fcf)??null,'depth':_0x3158bc[_0x41eff1(0x45b)]['get'](_0x1d9fcf)??0x0,'directChildCount':(_0x3158bc[_0x41eff1(0x296)]['get'](_0x1d9fcf)??[])[_0x41eff1(0x4e9)],'subtreeHeight':_0x3158bc[_0x41eff1(0x538)][_0x41eff1(0x59c)](_0x1d9fcf)??0x0,'subtreeEndIndex':_0x15601d,'invalidReason':_0x3158bc[_0x41eff1(0x47f)]['get'](_0x1d9fcf)};}let _0x4c28ac=[];for(let _0x1d708d=0x0;_0x1d708d<_0x245902['length'];_0x1d708d++){let _0x12e88a=_0x245902[_0x1d708d],_0x20abba=_0x3580c6[_0x12e88a][_0x41eff1(0x41a)];for(;_0x4c28ac[_0x41eff1(0x4e9)]&&_0x4c28ac[_0x4c28ac[_0x41eff1(0x4e9)]-0x1][_0x41eff1(0x41a)]>=_0x20abba;){let _0x18a975=_0x4c28ac['pop']();_0x3580c6[_0x18a975[_0x41eff1(0x5c4)]]['subtreeEndIndex']=_0x1d708d-0x1;}_0x4c28ac[_0x41eff1(0x401)]({'recordId':_0x12e88a,'depth':_0x20abba});}return _0x4c28ac[_0x41eff1(0x3c9)](({recordId:_0x5a54fd})=>{const _0x33844d=_0x41eff1;_0x3580c6[_0x5a54fd][_0x33844d(0x28d)]=_0x245902[_0x33844d(0x4e9)]-0x1;}),{'rows':_0x1a395d,'hierarchy':{'fieldId':_0x3158bc['fieldId'],'rootRecordIds':_0x3158bc[_0x41eff1(0x549)][_0x41eff1(0x3c4)](_0x39a010=>_0x4111f3['has'](_0x39a010)),'orderedRecordIds':_0x245902,'nodes':_0x3580c6}};}function _0x4e1dc3(_0x52d34c,_0x120d30){const _0xeb51ce=_0x571676;if(!_0x52d34c[_0xeb51ce(0x206)]||!(_0x120d30!=null&&_0x120d30[_0xeb51ce(0x366)]))return _0x52d34c['rows'];let _0x3c3a9e=[],_0x4f8431=0x0;for(;_0x4f8431<_0x52d34c['rows'][_0xeb51ce(0x4e9)];){let _0xbc255b=_0x52d34c[_0xeb51ce(0x3f0)][_0x4f8431];_0x3c3a9e[_0xeb51ce(0x401)](_0xbc255b);let _0x1000a6=_0x52d34c[_0xeb51ce(0x206)]['nodes'][_0xbc255b[_0xeb51ce(0x5c4)]];_0x4f8431=_0x120d30[_0xeb51ce(0x370)](_0xbc255b[_0xeb51ce(0x5c4)])&&_0x1000a6?_0x1000a6[_0xeb51ce(0x28d)]+0x1:_0x4f8431+0x1;}return _0x3c3a9e;}function _0x158fff(_0x2b30db,_0x3fd08d,_0x40061b){const _0x59d023=_0x571676;if(!_0x40061b)return{'valid':!0x0};if(_0x3fd08d===_0x40061b)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x2d4)]};let _0xa26a47=_0x40061b;for(;_0xa26a47;){if(_0xa26a47===_0x3fd08d)return{'valid':!0x1,'reason':_0x13cf76[_0x59d023(0x462)][_0x59d023(0x375)]};_0xa26a47=_0x2b30db['parentByRecordId'][_0x59d023(0x59c)](_0xa26a47)??null;}return(_0x2b30db[_0x59d023(0x45b)][_0x59d023(0x59c)](_0x40061b)??0x0)+0x1+(_0x2b30db[_0x59d023(0x538)][_0x59d023(0x59c)](_0x3fd08d)??0x0)>=0x5?{'valid':!0x1,'reason':_0x13cf76['BaseHierarchyInvalidReason'][_0x59d023(0x2c9)]}:{'valid':!0x0};}function _0x4ee215(_0x1bfc4e,_0x6fcfe9){const _0x1abade=_0x571676;let _0x37a3f6=new Set(),_0x3a7b6a=[];for(let _0xf9d1d5 of _0x6fcfe9)_0x1bfc4e[_0x1abade(0x38f)][_0xf9d1d5]&&!_0x37a3f6['has'](_0xf9d1d5)&&(_0x37a3f6[_0x1abade(0x54c)](_0xf9d1d5),_0x3a7b6a['push'](_0xf9d1d5));return Object[_0x1abade(0x2db)](_0x1bfc4e[_0x1abade(0x38f)])['sort']()[_0x1abade(0x3c9)](_0x498cc2=>{const _0x36fbad=_0x1abade;_0x37a3f6[_0x36fbad(0x370)](_0x498cc2)||_0x3a7b6a[_0x36fbad(0x401)](_0x498cc2);}),_0x3a7b6a;}function _0x1557fa(_0x2a0d0f,_0x1fa4b6,_0xfbeca6){const _0xa302ef=_0x571676;let _0xfc0c1e=new Set();for(let _0x13ffab of _0xfbeca6){if(_0xfc0c1e['has'](_0x13ffab))continue;let _0x590a7f=[],_0x22c4f0=new Map(),_0x57d354=_0x13ffab;for(;_0x57d354&&!_0xfc0c1e[_0xa302ef(0x370)](_0x57d354);){let _0x4f66fe=_0x22c4f0[_0xa302ef(0x59c)](_0x57d354);if(_0x4f66fe!=null){let _0x3c449a=[..._0x590a7f[_0xa302ef(0x377)](_0x4f66fe)][_0xa302ef(0x4af)]()[_0xa302ef(0x4e4)]();_0x2a0d0f['set'](_0x3c449a,null),_0x1fa4b6['set'](_0x3c449a,_0x13cf76['BaseHierarchyInvalidReason'][_0xa302ef(0x375)]);break;}_0x22c4f0['set'](_0x57d354,_0x590a7f[_0xa302ef(0x4e9)]),_0x590a7f[_0xa302ef(0x401)](_0x57d354),_0x57d354=_0x2a0d0f[_0xa302ef(0x59c)](_0x57d354)??null;}_0x590a7f[_0xa302ef(0x3c9)](_0x3f0fea=>_0xfc0c1e['add'](_0x3f0fea));}}function _0x3cbf33(_0xbd46f4,_0x2acab0,_0x459583){const _0x20c412=_0x571676;let _0x5894ab=new Map(),_0x6759c3=_0x2eb869=>{const _0x3cb11b=_0x4fc5;let _0x4ce513=_0x5894ab[_0x3cb11b(0x59c)](_0x2eb869);if(_0x4ce513!=null)return _0x4ce513;let _0x18f0bc=_0xbd46f4[_0x3cb11b(0x59c)](_0x2eb869)??null;if(!_0x18f0bc)return _0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0;let _0x76c73e=_0x6759c3(_0x18f0bc)+0x1;return _0x76c73e>=0x5?(_0xbd46f4[_0x3cb11b(0x569)](_0x2eb869,null),_0x2acab0[_0x3cb11b(0x569)](_0x2eb869,_0x13cf76[_0x3cb11b(0x462)][_0x3cb11b(0x2c9)]),_0x5894ab[_0x3cb11b(0x569)](_0x2eb869,0x0),0x0):(_0x5894ab['set'](_0x2eb869,_0x76c73e),_0x76c73e);};_0x459583[_0x20c412(0x3c9)](_0x6759c3);}let _0x18bf57=0x0;function _0x60e31d(){const _0x979aa6=_0x571676;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x508164=typeof location>'u'?'':location[_0x979aa6(0x2b2)],_0x47bf1f=new URLSearchParams(_0x508164);if(_0x47bf1f[_0x979aa6(0x59c)]('basePerf')==='1'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x42b))==='true'||_0x47bf1f[_0x979aa6(0x59c)](_0x979aa6(0x475))==='1')return!0x0;}catch{}try{let _0x5a7431=typeof localStorage>'u'?null:localStorage[_0x979aa6(0x2e6)]('univer.basePerf');return _0x5a7431==='1'||_0x5a7431===_0x979aa6(0x477);}catch{return!0x1;}}function _0x32800a(_0x57236f,_0x992e0c,_0x40c6cd){const _0x34cac1=_0x571676;if(!_0x60e31d())return _0x992e0c();let _0x28bf42=_0x4de031(),_0x5506ab=_0x34cac1(0x1a8)+_0x18bf57++;_0x5d9b82(_0x5506ab+_0x34cac1(0x1f5));try{return _0x992e0c();}finally{let _0x432dce=_0x4de031()-_0x28bf42;_0x5d9b82(_0x5506ab+':end'),_0x46f238(_0x57236f,_0x5506ab+_0x34cac1(0x1f5),_0x5506ab+_0x34cac1(0x276)),_0x159ee3(_0x57236f,_0x432dce,_0x40c6cd);}}function _0x159ee3(_0x303a0f,_0x339577,_0x412f5d){const _0x4d0d78=_0x571676;if(!_0x60e31d())return;let _0x41b54a=Math['round'](_0x339577*0x64)/0x64,_0x2d2b81=_0x412f5d&&Object[_0x4d0d78(0x2db)](_0x412f5d)['length']?'\x20'+JSON[_0x4d0d78(0x30d)](_0x412f5d):'';console[_0x4d0d78(0x2c1)](_0x4d0d78(0x308)+_0x303a0f+':\x20'+_0x41b54a+'ms'+_0x2d2b81);}function _0x4de031(){const _0x17d879=_0x571676;return typeof performance<'u'&&typeof performance[_0x17d879(0x5e4)]==_0x17d879(0x3ac)?performance['now']():Date[_0x17d879(0x5e4)]();}function _0x5d9b82(_0x410fb2){const _0x4af60c=_0x571676;try{if(typeof performance<'u'){var _0x400d89,_0x32cd22;(_0x400d89=(_0x32cd22=performance)[_0x4af60c(0x19c)])==null||_0x400d89[_0x4af60c(0x279)](_0x32cd22,_0x410fb2);}}catch{}}function _0x46f238(_0xb6fe07,_0x3b6bd4,_0x3de883){const _0x1c4ac0=_0x571676;try{if(typeof performance<'u'){var _0x216f82,_0x6e1ab9;(_0x216f82=(_0x6e1ab9=performance)['measure'])==null||_0x216f82[_0x1c4ac0(0x279)](_0x6e1ab9,_0x1c4ac0(0x308)+_0xb6fe07,_0x3b6bd4,_0x3de883);}}catch{}}function _0x48b6e1(_0x342547){const _0x3af999=_0x571676;var _0x2f54ad;return _0x60e31d()?_0x32800a(_0x3af999(0x202),()=>_0x2bae1e(_0x342547),{'tableId':_0x342547['id'],'records':Object[_0x3af999(0x2db)](_0x342547[_0x3af999(0x38f)]??{})['length'],'fields':_0x342547['fieldOrder'][_0x3af999(0x4e9)],'hasRecordOrder':!!((_0x2f54ad=_0x342547[_0x3af999(0x1cd)])!=null&&_0x2f54ad[_0x3af999(0x4e9)])}):_0x2bae1e(_0x342547);}function _0x2bae1e(_0x5a6ad6){const _0x3dd784=_0x571676;var _0x2669f5;let _0x487cd9=_0x5a6ad6[_0x3dd784(0x38f)]??{},_0x3c3877=_0x5a6ad6['fields']??{},_0x3ae235=((_0x2669f5=_0x5a6ad6['recordOrder'])==null?void 0x0:_0x2669f5['filter'](_0x373a13=>_0x487cd9[_0x373a13]))??[],_0x2341e6=new Set(_0x3ae235),_0x3ea379=[];for(let _0x3a954e of Object['values'](_0x487cd9))_0x2341e6[_0x3dd784(0x370)](_0x3a954e['id'])||_0x3ea379[_0x3dd784(0x401)](_0x3a954e);let _0x15cb3b=_0x3ea379[_0x3dd784(0x4e9)]?[..._0x3ae235,..._0x50f6b3(_0x3ea379)]:_0x3ae235,_0x5056b7=_0x5a6ad6[_0x3dd784(0x582)][_0x3dd784(0x3c4)](_0x3e310f=>_0x3c3877[_0x3e310f]),_0x166e14={..._0x5a6ad6[_0x3dd784(0x556)]??{}},_0x708379={..._0x5a6ad6['colId']??{}},_0x4e0658={..._0x5a6ad6[_0x3dd784(0x38e)]??{}};_0x5a6ad6['recordOrder']=_0x15cb3b,_0x5a6ad6['rowIndex']={},_0x5a6ad6[_0x3dd784(0x556)]={},_0x5a6ad6[_0x3dd784(0x28e)]={},_0x5a6ad6['colId']={},_0x5a6ad6[_0x3dd784(0x38e)]={},_0x5a6ad6[_0x3dd784(0x23c)]={..._0x5a6ad6['resources']??{}},_0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]={..._0x5a6ad6[_0x3dd784(0x23c)][_0x3dd784(0x1df)]??{}},_0x5a6ad6['resources']['attachments']={..._0x5a6ad6['resources']['attachments']??{}};let _0x197219=_0x5a6ad6[_0x3dd784(0x563)],_0x390dc4=_0x5a6ad6[_0x3dd784(0x556)],_0x17fc9e=_0x5a6ad6[_0x3dd784(0x28e)],_0x1bdb63=_0x5a6ad6[_0x3dd784(0x351)],_0x31478c=_0x5a6ad6[_0x3dd784(0x38e)];return _0x15cb3b['forEach']((_0x223855,_0x238a1f)=>{_0x197219[_0x223855]=_0x238a1f,_0x390dc4[_0x238a1f]=_0x223855;}),_0x5056b7[_0x3dd784(0x3c9)]((_0x28e6aa,_0x4afbae)=>{_0x17fc9e[_0x28e6aa]=_0x4afbae,_0x1bdb63[_0x4afbae]=_0x28e6aa;}),Object[_0x3dd784(0x460)](_0x4e0658)[_0x3dd784(0x3c9)](([_0x417552,_0x4b8466])=>{let _0x3bceaa=Number(_0x417552),_0x1aab66=_0x166e14[_0x3bceaa]??_0x15cb3b[_0x3bceaa],_0x40a035=_0x1aab66?_0x197219[_0x1aab66]:void 0x0;_0x40a035!=null&&(_0x31478c[_0x40a035]={..._0x31478c[_0x40a035]??{}},Object['entries'](_0x4b8466??{})['forEach'](([_0x5799d3,_0x19c0f1])=>{let _0x4e4343=Number(_0x5799d3),_0x35ea75=_0x708379[_0x4e4343]??_0x5056b7[_0x4e4343],_0x4dff7c=_0x35ea75?_0x17fc9e[_0x35ea75]:void 0x0;_0x4dff7c!=null&&(_0x31478c[_0x40a035][_0x4dff7c]=_0xfd4c49(_0x19c0f1));}));}),Object['values'](_0x487cd9)[_0x3dd784(0x3c9)](_0x2c9654=>{const _0x4a1719=_0x3dd784;let _0x593287=_0x197219[_0x2c9654['id']];_0x593287!=null&&(_0x2c9654[_0x4a1719(0x334)]={..._0x2c9654['values']??{},[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x2c9654['id']},_0x31478c[_0x593287]={..._0x31478c[_0x593287]??{},0x0:{'v':_0x2c9654['id'],'t':_0x13cf76[_0x4a1719(0x32d)][_0x4a1719(0x562)]}},Object[_0x4a1719(0x460)](_0x2c9654['values']??{})[_0x4a1719(0x3c9)](([_0x20c5b8,_0x11f46e])=>{const _0x554a03=_0x4a1719;let _0x295371=_0x3c3877[_0x20c5b8];(_0x295371==null?void 0x0:_0x295371[_0x554a03(0x292)])===_0x13cf76[_0x554a03(0x517)][_0x554a03(0x312)]&&_0x9b3645(_0x5a6ad6,_0x2c9654['id'],_0x20c5b8,_0x11f46e);let _0xd6e262=_0x17fc9e[_0x20c5b8];if(_0xd6e262==null)return;let _0xc5338e=_0x31478c[_0x593287][_0xd6e262];(_0xc5338e==null||_0x58e19b(_0xc5338e,_0x295371,_0x11f46e))&&(_0x31478c[_0x593287][_0xd6e262]=_0x4c5834(_0x11f46e,_0x295371));}));}),_0x5a6ad6;}function _0x2a0625(_0x1ac0cf,_0x284975){const _0x378b22=_0x571676;return _0x1ac0cf[_0x378b22(0x38f)]=Object[_0x378b22(0x1fc)](Object[_0x378b22(0x460)](_0x1ac0cf[_0x378b22(0x38f)])[_0x378b22(0x329)](([_0x4d9a02,_0x2c44c3])=>[_0x4d9a02,{..._0x2c44c3}])),_0x48b6e1(_0x1ac0cf),Object[_0x378b22(0x460)](_0x1ac0cf['rowId']??{})['forEach'](([_0x203ab1,_0x5ee146])=>{const _0x2d3884=_0x378b22;var _0x27a87f;let _0x4cea3c=Number(_0x203ab1),_0x23950a=_0x1ac0cf[_0x2d3884(0x38f)][_0x5ee146];_0x23950a&&(_0x23950a[_0x2d3884(0x334)]={..._0x23950a['values']??{}},Object[_0x2d3884(0x460)](((_0x27a87f=_0x1ac0cf[_0x2d3884(0x38e)])==null?void 0x0:_0x27a87f[_0x4cea3c])??{})[_0x2d3884(0x3c9)](([_0x145c08,_0x30cc9a])=>{const _0x41b60f=_0x2d3884;var _0x576b96;let _0x14d97d=(_0x576b96=_0x1ac0cf[_0x41b60f(0x351)])==null?void 0x0:_0x576b96[Number(_0x145c08)];_0x14d97d&&_0x284975&&!_0x284975(_0x5ee146,_0x14d97d)||(_0x14d97d===_0x13cf76[_0x41b60f(0x544)]?_0x23950a[_0x41b60f(0x334)][_0x13cf76[_0x41b60f(0x544)]]=_0x23950a['id']:_0x14d97d&&(_0x23950a['values'][_0x14d97d]=_0x17b274(_0x30cc9a,_0x1ac0cf['fields'][_0x14d97d],_0x1ac0cf,_0x5ee146)));}));}),_0x1ac0cf;}function _0x4ff55d(_0x5be9f1,_0xd1444c){const _0x3ebd63=_0x571676;for(let {row:_0x3729d5,col:_0x43048f}of _0xd1444c){var _0x3f1cdc,_0x250820,_0x2d007d;let _0x267644=(_0x3f1cdc=_0x5be9f1['rowId'])==null?void 0x0:_0x3f1cdc[_0x3729d5],_0x315f54=(_0x250820=_0x5be9f1[_0x3ebd63(0x351)])==null?void 0x0:_0x250820[_0x43048f],_0x55d8c1=_0x267644?_0x5be9f1[_0x3ebd63(0x38f)][_0x267644]:void 0x0;if(!_0x55d8c1||!_0x315f54)continue;if(_0x315f54===_0x13cf76['BASE_RECORD_ID_FIELD_ID']){_0x55d8c1[_0x3ebd63(0x334)][_0x13cf76[_0x3ebd63(0x544)]]=_0x55d8c1['id'];continue;}let _0x576520=(_0x2d007d=_0x5be9f1['cellData'])==null||(_0x2d007d=_0x2d007d[_0x3729d5])==null?void 0x0:_0x2d007d[_0x43048f];(_0x576520!=null||Object[_0x3ebd63(0x41e)]['hasOwnProperty'][_0x3ebd63(0x279)](_0x55d8c1[_0x3ebd63(0x334)]??{},_0x315f54))&&(_0x55d8c1[_0x3ebd63(0x334)]={..._0x55d8c1[_0x3ebd63(0x334)]??{}},_0x55d8c1[_0x3ebd63(0x334)][_0x315f54]=_0x17b274(_0x576520,_0x5be9f1[_0x3ebd63(0x3c2)][_0x315f54],_0x5be9f1,_0x267644));}return _0x5be9f1;}function _0x46d754(_0x42bba8,_0x17ac34,_0x52c591){const _0x4b5b97=_0x571676;var _0x36e4f4,_0x46f3b8,_0x4f045c,_0x3165bb,_0x35181b,_0x592b6e;let _0x55675b=(_0x36e4f4=_0x42bba8['rowIndex'])==null?void 0x0:_0x36e4f4[_0x17ac34],_0x53e812=(_0x46f3b8=_0x42bba8['colIndex'])==null?void 0x0:_0x46f3b8[_0x52c591];if(_0x55675b!=null&&_0x53e812!=null&&((_0x4f045c=_0x42bba8['rowId'])==null?void 0x0:_0x4f045c[_0x55675b])===_0x17ac34&&((_0x3165bb=_0x42bba8[_0x4b5b97(0x351)])==null?void 0x0:_0x3165bb[_0x53e812])===_0x52c591)return{'row':_0x55675b,'col':_0x53e812};let _0x362f94=_0x48b6e1(_0x42bba8),_0x196aad=(_0x35181b=_0x362f94[_0x4b5b97(0x563)])==null?void 0x0:_0x35181b[_0x17ac34],_0x4edbc1=(_0x592b6e=_0x362f94['colIndex'])==null?void 0x0:_0x592b6e[_0x52c591];return _0x196aad==null||_0x4edbc1==null?null:{'row':_0x196aad,'col':_0x4edbc1};}function _0x5acb7f(_0x3a0ea2,_0x2d6928,_0x3c1ada){const _0xb7e7ae=_0x571676;var _0x19768e;let _0x58926c=_0x46d754(_0x3a0ea2,_0x2d6928,_0x3c1ada);if(_0x58926c)return(_0x19768e=_0x3a0ea2[_0xb7e7ae(0x38e)])==null||(_0x19768e=_0x19768e[_0x58926c[_0xb7e7ae(0x22f)]])==null?void 0x0:_0x19768e[_0x58926c[_0xb7e7ae(0x5ac)]];}function _0x5d2adc(_0x5cd73d,_0x5f5e02,_0x229bef){const _0x2fb237=_0x571676;var _0x44e122;let _0x27dd7e=_0x5acb7f(_0x5cd73d,_0x5f5e02,_0x229bef),_0xf9c3e0=_0x5cd73d[_0x2fb237(0x3c2)][_0x229bef];if((_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x312)]){var _0x5595a3;return _0xef3bd(_0x5cd73d,_0x5f5e02,_0x229bef)??_0x293a71((_0x5595a3=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x5595a3=_0x5595a3[_0x2fb237(0x334)])==null?void 0x0:_0x5595a3[_0x229bef]);}if(_0x7652b5(_0xf9c3e0)||_0x30cfed(_0xf9c3e0)||(_0xf9c3e0==null?void 0x0:_0xf9c3e0[_0x2fb237(0x292)])===_0x13cf76[_0x2fb237(0x517)][_0x2fb237(0x3b6)]){var _0x4e331d;let _0x258e35=(_0x4e331d=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x4e331d=_0x4e331d[_0x2fb237(0x334)])==null?void 0x0:_0x4e331d[_0x229bef];return _0x258e35!=null&&_0x258e35!==''?_0x7e7bc3(_0x258e35,_0xf9c3e0):_0x17b274(_0x27dd7e,_0xf9c3e0,_0x5cd73d,_0x5f5e02);}return _0x27dd7e&&Object[_0x2fb237(0x41e)][_0x2fb237(0x189)][_0x2fb237(0x279)](_0x27dd7e,'v')?_0x27dd7e['v']??null:((_0x44e122=_0x5cd73d[_0x2fb237(0x38f)][_0x5f5e02])==null||(_0x44e122=_0x44e122['values'])==null?void 0x0:_0x44e122[_0x229bef])??null;}function _0x41bd7c(_0x440021,_0x23c86f,_0x172468){const _0x33e55a=_0x571676;var _0x2fac99;let _0x2a055d=_0x5acb7f(_0x440021,_0x23c86f,_0x172468);if(_0x2a055d&&Object['prototype'][_0x33e55a(0x189)][_0x33e55a(0x279)](_0x2a055d,'v'))return _0x2a055d['v']??null;let _0x2b7545=_0x440021[_0x33e55a(0x3c2)][_0x172468];return _0x4c5834(((_0x2fac99=_0x440021[_0x33e55a(0x38f)][_0x23c86f])==null||(_0x2fac99=_0x2fac99['values'])==null?void 0x0:_0x2fac99[_0x172468])??null,_0x2b7545)['v']??null;}function _0x4c5834(_0x140e01,_0x292cd7){const _0x5cdf09=_0x571676;if(_0x3f35e5(_0x140e01))return(_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)]['Attachment']?{..._0x140e01,'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]}:_0xfd4c49(_0x140e01);if((_0x292cd7==null?void 0x0:_0x292cd7['type'])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x312)])return{'v':'','t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};if(_0x30cfed(_0x292cd7)){let _0x539786=_0x473be(_0x140e01);return{'v':_0x539786,'t':_0x5e8cd6(_0x539786)};}if(_0x7652b5(_0x292cd7))return{'v':_0x2d166e(_0x140e01)[_0x5cdf09(0x4b9)](',\x20'),'t':_0x13cf76['CellValueType'][_0x5cdf09(0x562)]};if((_0x292cd7==null?void 0x0:_0x292cd7[_0x5cdf09(0x292)])===_0x13cf76[_0x5cdf09(0x517)][_0x5cdf09(0x3b6)]&&_0x140e01&&typeof _0x140e01==_0x5cdf09(0x1a7)&&!Array[_0x5cdf09(0x21f)](_0x140e01)){let _0x14a42c=_0x140e01;return{'v':String(_0x14a42c['text']??_0x14a42c['url']??''),'t':_0x13cf76[_0x5cdf09(0x32d)][_0x5cdf09(0x562)]};}return _0x140e01===null||typeof _0x140e01=='string'||typeof _0x140e01==_0x5cdf09(0x3dc)||typeof _0x140e01=='boolean'?{'v':_0x140e01,'t':_0x5e8cd6(_0x140e01)}:{'v':null,'t':null};}function _0xfd4c49(_0x3fdae8){let _0x2673bd=_0x11c8d3(_0x3fdae8['t'],_0x3fdae8['v']);if(_0x2673bd===void 0x0){let {t:_0x1ef04d,..._0x346d99}=_0x3fdae8;return _0x346d99;}return{..._0x3fdae8,'t':_0x2673bd};}function _0x17b274(_0x3a3454,_0x573821,_0x5dc18d,_0x70655){const _0x58e103=_0x571676;if(!_0x3a3454)return null;if((_0x573821==null?void 0x0:_0x573821[_0x58e103(0x292)])===_0x13cf76[_0x58e103(0x517)][_0x58e103(0x312)])return _0x5dc18d&&_0x70655?_0xef3bd(_0x5dc18d,_0x70655,_0x573821['id'])??[]:[];if(_0x7652b5(_0x573821))return _0x2d166e(_0x3a3454['v']);if((_0x573821==null?void 0x0:_0x573821['type'])===_0x13cf76[_0x58e103(0x517)]['Link']&&_0x5dc18d&&_0x70655){var _0x5adc80;let _0x114a4e=(_0x5adc80=_0x5dc18d[_0x58e103(0x38f)][_0x70655])==null||(_0x5adc80=_0x5adc80['values'])==null?void 0x0:_0x5adc80[_0x573821['id']];if(_0x114a4e&&typeof _0x114a4e==_0x58e103(0x1a7)&&!Array['isArray'](_0x114a4e))return _0x114a4e;}return Object[_0x58e103(0x41e)][_0x58e103(0x189)][_0x58e103(0x279)](_0x3a3454,'v')?_0x3a3454['v']??null:null;}function _0x19f247(_0x10e6ca,_0x5aba94,_0x510815,_0x35b8e8,_0x57b722){const _0x40fda1=_0x571676;return(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType']['Attachment']?_0x293a71(_0x10e6ca):_0x30cfed(_0x510815)?_0x473be(_0x10e6ca):_0x7652b5(_0x510815)?_0x2d166e(_0x10e6ca):(_0x510815==null?void 0x0:_0x510815[_0x40fda1(0x292)])===_0x13cf76['BaseFieldType'][_0x40fda1(0x3b6)]&&(_0x10e6ca==null||_0x10e6ca==='')?null:(_0x510815==null?void 0x0:_0x510815['type'])===_0x13cf76[_0x40fda1(0x517)][_0x40fda1(0x3b6)]&&_0x10e6ca&&typeof _0x10e6ca==_0x40fda1(0x1a7)&&!Array[_0x40fda1(0x21f)](_0x10e6ca)&&!_0x3f35e5(_0x10e6ca)?_0x10e6ca:_0x17b274(_0x5aba94,_0x510815,_0x35b8e8,_0x57b722);}function _0x3f35e5(_0x262c8c){const _0x31e346=_0x571676;return!!_0x262c8c&&typeof _0x262c8c==_0x31e346(0x1a7)&&(Object[_0x31e346(0x41e)][_0x31e346(0x189)]['call'](_0x262c8c,'v')||Object['prototype']['hasOwnProperty'][_0x31e346(0x279)](_0x262c8c,'t')||Object['prototype'][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'p')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'f')||Object[_0x31e346(0x41e)][_0x31e346(0x189)][_0x31e346(0x279)](_0x262c8c,'si'));}function _0x43571f(_0x2e3c23,_0x339ac1){return _0x2e3c23+'\x1f'+_0x339ac1;}function _0x9b3645(_0x4bacb3,_0x9f4a9b,_0x3177ad,_0x22ec31){const _0x5043da=_0x571676;let _0x2c1464=_0x293a71(_0x22ec31);_0x4bacb3[_0x5043da(0x23c)]={..._0x4bacb3['resources']??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1df)]??{}},_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]={..._0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)]??{}};let _0x43a793=_0x43571f(_0x3177ad,_0x9f4a9b),_0x39f59e=[];for(let _0x264a10=0x0;_0x264a10<_0x2c1464[_0x5043da(0x4e9)];_0x264a10++){if(!(_0x264a10 in _0x2c1464))continue;let _0x4da265=_0x2c1464[_0x264a10],_0x4321af=String(_0x4da265['id']??_0x43a793+'\x1f'+_0x264a10),_0x17e7b4={..._0x4da265,'id':_0x4321af};_0x4bacb3[_0x5043da(0x23c)][_0x5043da(0x1d4)][_0x4321af]=_0x17e7b4,_0x39f59e[_0x5043da(0x401)](_0x4321af);}_0x4bacb3[_0x5043da(0x23c)]['attachmentSets'][_0x43a793]=_0x39f59e;}function _0xef3bd(_0x5d7090,_0x4b41b4,_0x1093bd){const _0x43e2b0=_0x571676;var _0x1f2314;let _0xace3a1=_0x43571f(_0x1093bd,_0x4b41b4),_0x3bc5f0=(_0x1f2314=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x1f2314=_0x1f2314[_0x43e2b0(0x1df)])==null?void 0x0:_0x1f2314[_0xace3a1];if(!_0x3bc5f0)return null;let _0x129ff3=[];for(let _0xceeae5=0x0;_0xceeae5<_0x3bc5f0[_0x43e2b0(0x4e9)];_0xceeae5++){var _0x59750b;if(!(_0xceeae5 in _0x3bc5f0))continue;let _0x52f5c0=(_0x59750b=_0x5d7090[_0x43e2b0(0x23c)])==null||(_0x59750b=_0x59750b[_0x43e2b0(0x1d4)])==null?void 0x0:_0x59750b[_0x3bc5f0[_0xceeae5]];_0x52f5c0&&_0x129ff3[_0x43e2b0(0x401)]({..._0x52f5c0});}return _0x129ff3;}function _0x293a71(_0xdf419d){const _0x2cceb6=_0x571676;if(_0xdf419d==null||_0xdf419d===''||_0x3f35e5(_0xdf419d)&&!('id'in _0xdf419d)&&!(_0x2cceb6(0x46d)in _0xdf419d))return[];let _0x1acabc=Array['isArray'](_0xdf419d)?_0xdf419d:[_0xdf419d],_0x491907=[];for(let _0x462016=0x0;_0x462016<_0x1acabc['length'];_0x462016++){if(!(_0x462016 in _0x1acabc))continue;let _0x8a8a9c=_0x1acabc[_0x462016],_0x224f39=_0x8a8a9c&&typeof _0x8a8a9c==_0x2cceb6(0x1a7)?{..._0x8a8a9c}:{'id':_0x2cceb6(0x2a2)+_0x462016,'name':String(_0x8a8a9c)};Object[_0x2cceb6(0x2db)](_0x224f39)['length']>0x0&&_0x491907[_0x2cceb6(0x401)](_0x224f39);}return _0x491907;}function _0x7e7bc3(_0x3edbea,_0x438b7e){const _0x104e18=_0x571676;return(_0x438b7e==null?void 0x0:_0x438b7e['type'])===_0x13cf76[_0x104e18(0x517)][_0x104e18(0x312)]?_0x293a71(_0x3edbea):_0x30cfed(_0x438b7e)?_0x473be(_0x3edbea):_0x7652b5(_0x438b7e)?_0x2d166e(_0x3edbea):_0x3edbea;}function _0x58e19b(_0x1cfc11,_0xe4496a,_0x275889){const _0x473ac4=_0x571676;return(_0xe4496a==null?void 0x0:_0xe4496a[_0x473ac4(0x292)])===_0x13cf76[_0x473ac4(0x517)][_0x473ac4(0x312)]?_0x1cfc11['v']!=='':_0x30cfed(_0xe4496a)?_0x1cfc11['v']!==_0x473be(_0x275889):_0x7652b5(_0xe4496a)?Array[_0x473ac4(0x21f)](_0x275889)&&(_0x1cfc11['v']==null||_0x1cfc11['v']===''):!0x1;}function _0x7652b5(_0x589560){const _0x15b9d4=_0x571676;return(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)][_0x15b9d4(0x247)]||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76['BaseFieldType']['Group']||(_0x589560==null?void 0x0:_0x589560[_0x15b9d4(0x292)])===_0x13cf76[_0x15b9d4(0x517)]['Person']&&_0x589560[_0x15b9d4(0x5b9)]['allowMultiple']===!0x0;}function _0x30cfed(_0x1412ab){const _0x466ccd=_0x571676;return(_0x1412ab==null?void 0x0:_0x1412ab['type'])===_0x13cf76[_0x466ccd(0x517)][_0x466ccd(0x43f)]&&_0x1412ab[_0x466ccd(0x5b9)][_0x466ccd(0x440)]!==!0x0;}function _0x473be(_0x532e5a){const _0x3b2e85=_0x571676;let _0xf8dd87=_0x3f35e5(_0x532e5a)?_0x532e5a['v']:_0x532e5a,_0x472434=Array[_0x3b2e85(0x21f)](_0xf8dd87)?_0xf8dd87[0x0]:_0xf8dd87;return _0x472434==null||_0x472434===''?null:String(_0x472434);}function _0x2d166e(_0x38719d){const _0x3eedfb=_0x571676;if(_0x38719d==null||_0x38719d==='')return[];let _0x5035fb=[];if(Array[_0x3eedfb(0x21f)](_0x38719d)){for(let _0x3d0cbc=0x0;_0x3d0cbc<_0x38719d[_0x3eedfb(0x4e9)];_0x3d0cbc++){if(!(_0x3d0cbc in _0x38719d))continue;let _0x157880=_0x39c7b0(_0x38719d[_0x3d0cbc]);_0x157880&&_0x5035fb[_0x3eedfb(0x401)](_0x157880);}return _0x5035fb;}for(let _0x491465 of String(_0x38719d)['split'](',')){let _0x43fb98=_0x491465[_0x3eedfb(0x2cd)]();_0x43fb98&&_0x5035fb[_0x3eedfb(0x401)](_0x43fb98);}return _0x5035fb;}function _0x39c7b0(_0x230b30){const _0x124878=_0x571676;if(_0x230b30==null)return'';if(typeof _0x230b30==_0x124878(0x2b6)||typeof _0x230b30==_0x124878(0x3dc)||typeof _0x230b30==_0x124878(0x42a))return String(_0x230b30);if(typeof _0x230b30=='object'){let _0x1bd7af=_0x230b30;return String(_0x1bd7af['id']??_0x1bd7af[_0x124878(0x46d)]??_0x1bd7af[_0x124878(0x5df)]??'');}return String(_0x230b30);}function _0x5e8cd6(_0x5a12d5){const _0x5cf7e2=_0x571676;return _0x5a12d5==null?null:typeof _0x5a12d5==_0x5cf7e2(0x3dc)?_0x13cf76[_0x5cf7e2(0x32d)]['NUMBER']:typeof _0x5a12d5==_0x5cf7e2(0x42a)?_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x228)]:_0x13cf76[_0x5cf7e2(0x32d)][_0x5cf7e2(0x562)];}function _0x50f6b3(_0x2ffb0d){const _0x2f4e18=_0x571676;_0x2ffb0d[_0x2f4e18(0x4af)]((_0x31d8e9,_0x82cc90)=>_0x31d8e9[_0x2f4e18(0x34c)]['localeCompare'](_0x82cc90[_0x2f4e18(0x34c)]));let _0x4d06f8=[];for(let _0x3c629b of _0x2ffb0d)_0x4d06f8[_0x2f4e18(0x401)](_0x3c629b['id']);return _0x4d06f8;}function _0x11c8d3(_0x271ace,_0x3a1ca0){const _0x27beb9=_0x571676;return _0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x562)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)]['NUMBER']||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x228)]||_0x271ace===_0x13cf76[_0x27beb9(0x32d)][_0x27beb9(0x217)]||_0x271ace==null?_0x271ace:_0x5e8cd6(_0x3a1ca0??null);}function _0x16f182(_0x3a27dc){const _0xee7e4=_0x571676;let _0x1eb339=null;for(let _0x32075c of _0x3a27dc)_0x1eb339=_0x1eb339===null?_0x32075c:_0x13cf76[_0xee7e4(0x575)]['type'][_0xee7e4(0x199)](_0x1eb339,_0x32075c);return _0x1eb339;}var _0x1aaf1b=class _0x1170c5{static[_0x571676(0x4c4)](_0x28be55,_0x54cec1){const _0x1b47a8=_0x571676;let _0x2b4af1=[];for(let _0x149404 of _0x54cec1){let _0x44e3ff=_0x309b4f(_0x149404);if(!_0x44e3ff||_0x44e3ff['unitId']!==_0x28be55['id'])return null;_0x2b4af1[_0x1b47a8(0x401)](_0x44e3ff['op']);}try{let _0x5eb69c=_0x16f182(_0x2b4af1);return _0x5eb69c===null?_0x28be55:new _0x1170c5()[_0x1b47a8(0x4d8)](_0x28be55,_0x5eb69c);}catch{return null;}}['applyOp'](_0x3d96c3,_0x12a9b8){const _0x12d3ad=_0x571676;let _0x2b69c0=this[_0x12d3ad(0x491)](_0x12a9b8),_0x5036a1=_0x32800a('BaseJson1.cloneForOp',()=>_0x4b5f82(_0x3d96c3,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x546c3d=_0x32800a('BaseJson1.json1Apply',()=>_0x13cf76[_0x12d3ad(0x575)]['type'][_0x12d3ad(0x213)](_0x5036a1,_0x12a9b8),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]}),_0x1417ce=_0x799441(_0x546c3d,_0x2b69c0);return _0x32800a('BaseJson1.syncCellInvalidations',()=>_0x209429(_0x546c3d,_0x2b69c0),{'invalidations':_0x2b69c0[_0x12d3ad(0x4e9)]})?(_0x112584(_0x546c3d,_0x1417ce),_0x546c3d):(_0x32800a(_0x12d3ad(0x50a),()=>{const _0x802553=_0x12d3ad;this['_getTablesToNormalize'](_0x546c3d,_0x2b69c0)[_0x802553(0x3c9)](_0x2b05e7=>{const _0x3aa10e=_0x802553;let _0x17c90d=_0x2b69c0[_0x3aa10e(0x3c4)](_0x35d5f3=>_0x35d5f3['tableId']===_0x2b05e7['id']),_0x3f79b4=_0x17c90d[_0x3aa10e(0x4e9)]>0x0&&_0x17c90d[_0x3aa10e(0x5a5)](_0x1cfaea=>_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x407)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x197)||_0x1cfaea[_0x3aa10e(0x2a3)]===_0x3aa10e(0x4d1)||_0x1cfaea['reason']===_0x3aa10e(0x4a9))?new Set(_0x17c90d[_0x3aa10e(0x387)](_0x3b128b=>{const _0x2561c8=_0x3aa10e;var _0x48ce70;if(_0x3b128b['reason']!==_0x2561c8(0x407)||!_0x3b128b[_0x2561c8(0x384)])return[];let _0x1b4041=(_0x48ce70=_0x3d96c3[_0x2561c8(0x291)][_0x2b05e7['id']])==null?void 0x0:_0x48ce70[_0x2561c8(0x3c2)][_0x3b128b['fieldId']],_0x550a55=_0x2b05e7[_0x2561c8(0x3c2)][_0x3b128b[_0x2561c8(0x384)]];return(_0x1b4041==null?void 0x0:_0x1b4041['type'])!==(_0x550a55==null?void 0x0:_0x550a55['type'])||(_0x1b4041==null?void 0x0:_0x1b4041[_0x2561c8(0x5b9)][_0x2561c8(0x440)])!==(_0x550a55==null?void 0x0:_0x550a55[_0x2561c8(0x5b9)][_0x2561c8(0x440)])?[_0x3b128b[_0x2561c8(0x384)]]:[];})):void 0x0,_0x4f68e8=new Set(_0x17c90d[_0x3aa10e(0x387)](_0x543a36=>{const _0x496b24=_0x3aa10e;var _0x168e56,_0x567614;return _0x543a36[_0x496b24(0x2a3)]!==_0x496b24(0x4d1)||_0x543a36[_0x496b24(0x22f)]==null||_0x543a36[_0x496b24(0x235)]==null?[]:[JSON[_0x496b24(0x30d)]([(_0x168e56=_0x2b05e7[_0x496b24(0x556)])==null?void 0x0:_0x168e56[_0x543a36[_0x496b24(0x22f)]],(_0x567614=_0x2b05e7[_0x496b24(0x351)])==null?void 0x0:_0x567614[_0x543a36[_0x496b24(0x235)]]])];}));_0x2a0625(_0x2b05e7,_0x3f79b4?(_0x2f1226,_0x4ff502)=>_0x3f79b4[_0x3aa10e(0x370)](_0x4ff502)||_0x4f68e8[_0x3aa10e(0x370)](JSON[_0x3aa10e(0x30d)]([_0x2f1226,_0x4ff502])):void 0x0);});},{'invalidations':_0x2b69c0['length']}),_0x112584(_0x546c3d,_0x1417ce),_0x546c3d);}[_0x571676(0x4b4)](_0xead09b,_0x367217){const _0x46fafd=_0x571676;return _0x13cf76['JSON1'][_0x46fafd(0x292)][_0x46fafd(0x4bc)](_0x367217,_0xead09b);}['getAffectedRanges'](_0x285676){const _0x4bd488=_0x571676;let _0x79b962=_0x32373e(_0x285676);return _0x79b962[_0x4bd488(0x4e9)]?_0x504bfd(_0x79b962[_0x4bd488(0x387)](_0x2b1eac=>this[_0x4bd488(0x491)](_0x2b1eac))):_0x184a59(_0x285676);}[_0x571676(0x196)](_0x3dc269,_0x476ab6){const _0x34f102=_0x571676;let _0x39cc46=_0x476ab6[_0x34f102(0x3c4)](_0x38803b=>_0x38803b[_0x34f102(0x2a3)]!==_0x34f102(0x197));return _0x39cc46[_0x34f102(0x4e9)]?_0x39cc46[_0x34f102(0x1ab)](_0x48f248=>!_0x48f248['tableId'])?Object[_0x34f102(0x334)](_0x3dc269[_0x34f102(0x291)]??{}):Array[_0x34f102(0x2ed)](new Set(_0x39cc46[_0x34f102(0x329)](_0x924a96=>_0x924a96[_0x34f102(0x33f)])))[_0x34f102(0x387)](_0x1a4c5f=>{const _0x2c9090=_0x34f102;var _0x10e0fe;let _0x5b6790=(_0x10e0fe=_0x3dc269[_0x2c9090(0x291)])==null?void 0x0:_0x10e0fe[_0x1a4c5f];return _0x5b6790?[_0x5b6790]:[];}):[];}};function _0x309b4f(_0x3d1f9e){const _0x36a74c=_0x571676;let _0x4554f8=_0x3d1f9e[_0x36a74c(0x1b8)];return _0x3d1f9e['id']!=='base.mutation.apply-base-json1'||typeof _0x4554f8!='object'||!_0x4554f8||!('unitId'in _0x4554f8)||typeof _0x4554f8[_0x36a74c(0x2aa)]!=_0x36a74c(0x2b6)||!('op'in _0x4554f8)||!Array[_0x36a74c(0x21f)](_0x4554f8['op'])?null:{'unitId':_0x4554f8[_0x36a74c(0x2aa)],'op':_0x4554f8['op']};}function _0x209429(_0x404ba4,_0x474ee8){const _0x139976=_0x571676;if(!_0x474ee8[_0x139976(0x4e9)]||_0x474ee8[_0x139976(0x1ab)](_0x356841=>_0x356841[_0x139976(0x2a3)]!==_0x139976(0x4d1)))return!0x1;let _0x125a4e=new Map();for(let _0x20809e of _0x474ee8){if(!_0x20809e['tableId']||_0x20809e[_0x139976(0x22f)]==null||_0x20809e[_0x139976(0x235)]==null)continue;let _0x169fc2=_0x125a4e[_0x139976(0x59c)](_0x20809e[_0x139976(0x33f)])??[];_0x169fc2[_0x139976(0x401)]({'row':_0x20809e['row'],'col':_0x20809e['column']}),_0x125a4e[_0x139976(0x569)](_0x20809e[_0x139976(0x33f)],_0x169fc2);}return _0x125a4e[_0x139976(0x3c9)]((_0x37884f,_0x3e7d2a)=>{const _0x1ceb9e=_0x139976;var _0x151e88;let _0x443e43=(_0x151e88=_0x404ba4[_0x1ceb9e(0x291)])==null?void 0x0:_0x151e88[_0x3e7d2a];_0x443e43&&_0x4ff55d(_0x443e43,_0x37884f);}),!0x0;}function _0x799441(_0x31a08d,_0x4a0df1){const _0x48f06b=_0x571676;let _0x1b6d42=new Set();return _0x4a0df1[_0x48f06b(0x387)](_0x1e5ae0=>{const _0x394f89=_0x48f06b;var _0xf5fe00;if(!_0x1e5ae0['tableId']||!_0x1e5ae0['recordId']||!_0x1e5ae0[_0x394f89(0x384)])return[];let _0x27a472=_0x1e5ae0[_0x394f89(0x33f)]+'\x1f'+_0x1e5ae0[_0x394f89(0x5c4)]+'\x1f'+_0x1e5ae0['fieldId'];if(_0x1b6d42[_0x394f89(0x370)](_0x27a472))return[];_0x1b6d42[_0x394f89(0x54c)](_0x27a472);let _0x1b0ff9=(_0xf5fe00=_0x31a08d[_0x394f89(0x291)][_0x1e5ae0[_0x394f89(0x33f)]])==null||(_0xf5fe00=_0xf5fe00[_0x394f89(0x38f)][_0x1e5ae0[_0x394f89(0x5c4)]])==null?void 0x0:_0xf5fe00[_0x394f89(0x334)];return _0x1b0ff9?[{'tableId':_0x1e5ae0[_0x394f89(0x33f)],'recordId':_0x1e5ae0[_0x394f89(0x5c4)],'fieldId':_0x1e5ae0[_0x394f89(0x384)],'exists':Object[_0x394f89(0x41e)][_0x394f89(0x189)][_0x394f89(0x279)](_0x1b0ff9,_0x1e5ae0[_0x394f89(0x384)]),'value':_0x1b0ff9[_0x1e5ae0[_0x394f89(0x384)]]}]:[];});}function _0x112584(_0x17563f,_0x5e3925){const _0x35093f=_0x571676;_0x5e3925[_0x35093f(0x3c9)](_0x211030=>{const _0x192013=_0x35093f;var _0x5aff8c;let _0xac70b3=(_0x5aff8c=_0x17563f[_0x192013(0x291)][_0x211030[_0x192013(0x33f)]])==null||(_0x5aff8c=_0x5aff8c[_0x192013(0x38f)][_0x211030[_0x192013(0x5c4)]])==null?void 0x0:_0x5aff8c[_0x192013(0x334)];_0xac70b3&&(_0x211030[_0x192013(0x558)]?_0xac70b3[_0x211030['fieldId']]=_0x211030[_0x192013(0x315)]:delete _0xac70b3[_0x211030[_0x192013(0x384)]]);});}function _0x184a59(_0x56dea6){const _0x2964cc=_0x571676;if(!Array[_0x2964cc(0x21f)](_0x56dea6)||_0x56dea6[_0x2964cc(0x4e9)]<0x2)return[{'tableId':'','reason':_0x2964cc(0x56e)}];let _0x5098f0=_0x56dea6,_0x123c72=_0x5098f0[_0x2964cc(0x406)]('tables');return _0x123c72===-0x1||typeof _0x5098f0[_0x123c72+0x1]!=_0x2964cc(0x2b6)?_0x5098f0[0x0]===_0x2964cc(0x4d9)?[]:[{'tableId':'','reason':_0x2964cc(0x56e)}]:_0x353828(_0x5098f0,_0x123c72,String(_0x5098f0[_0x123c72+0x1]));}function _0x353828(_0x3ab366,_0x306fc1,_0x581a38){const _0x4becd9=_0x571676;let _0x47b64d=_0x3ab366[_0x306fc1+0x2];return _0x47b64d===_0x4becd9(0x38f)&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?_0x4ea8d1(_0x3ab366,_0x306fc1,_0x581a38,String(_0x3ab366[_0x306fc1+0x3])):_0x47b64d==='cellData'&&_0x3ab366[_0x306fc1+0x3]!=null&&_0x3ab366[_0x306fc1+0x4]!=null?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1),'row':Number(_0x3ab366[_0x306fc1+0x3]),'column':Number(_0x3ab366[_0x306fc1+0x4])}]:_0x47b64d==='fields'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x407),'fieldId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='fieldOrder'?[{'tableId':_0x581a38,'reason':'field'}]:_0x47b64d==='recordOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4a9)}]:_0x47b64d==='views'&&typeof _0x3ab366[_0x306fc1+0x3]==_0x4becd9(0x2b6)?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197),'viewId':String(_0x3ab366[_0x306fc1+0x3])}]:_0x47b64d==='viewOrder'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x197)}]:_0x47b64d==='resources'?[{'tableId':_0x581a38,'reason':_0x4becd9(0x4d1)}]:[{'tableId':_0x581a38,'reason':_0x47b64d===void 0x0?_0x4becd9(0x4b7):_0x4becd9(0x56e)}];}function _0x4ea8d1(_0x1e32a5,_0x2269e2,_0x1d44ce,_0x1ca33e){const _0x526200=_0x571676;return _0x1e32a5[_0x2269e2+0x4]===_0x526200(0x334)&&typeof _0x1e32a5[_0x2269e2+0x5]=='string'?[{'tableId':_0x1d44ce,'reason':'cell','recordId':_0x1ca33e,'fieldId':String(_0x1e32a5[_0x2269e2+0x5])}]:_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x548)||_0x1e32a5[_0x2269e2+0x4]===_0x526200(0x32a)?[]:[{'tableId':_0x1d44ce,'reason':_0x526200(0x4a9),'recordId':_0x1ca33e}];}function _0x32373e(_0x2f590e){const _0x259bf0=_0x571676;if(!Array['isArray'](_0x2f590e))return[];let _0x34500f=_0x2f590e[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);if(_0x34500f[_0x259bf0(0x4e9)]>0x1&&_0x34500f[_0x259bf0(0x4e9)]===_0x2f590e['length'])return _0x34500f;let _0x1b94a3=_0x2f590e[_0x259bf0(0x453)](Array['isArray']);if(_0x1b94a3>0x0&&_0x2f590e['slice'](_0x1b94a3)[_0x259bf0(0x5a5)](Array[_0x259bf0(0x21f)])){let _0x1e8a14=_0x2f590e[_0x259bf0(0x377)](0x0,_0x1b94a3);return _0x2f590e['slice'](_0x1b94a3)['map'](_0x29100b=>[..._0x1e8a14,..._0x29100b]);}let _0xd69c17=_0x2f590e[_0x259bf0(0x406)](_0x259bf0(0x291));if(_0xd69c17===-0x1||typeof _0x2f590e[_0xd69c17+0x1]!=_0x259bf0(0x2b6))return[];let _0x2d83b0=String(_0x2f590e[_0xd69c17+0x1]),_0x5bd6ab=_0x2f590e[_0x259bf0(0x377)](_0xd69c17+0x2)[_0x259bf0(0x3c4)](Array[_0x259bf0(0x21f)]);return _0x5bd6ab[_0x259bf0(0x4e9)]<=0x1?[]:_0x5bd6ab[_0x259bf0(0x329)](_0x59b5b9=>[_0x259bf0(0x291),_0x2d83b0,..._0x59b5b9]);}function _0x504bfd(_0x2bccf2){const _0x47b07e=_0x571676;let _0x255ac=new Set();return _0x2bccf2[_0x47b07e(0x3c4)](_0x327702=>{const _0x4a9361=_0x47b07e;let _0x48b741=JSON[_0x4a9361(0x30d)](_0x327702);return!_0x255ac[_0x4a9361(0x370)](_0x48b741)&&(_0x255ac[_0x4a9361(0x54c)](_0x48b741),!0x0);});}function _0x568691(_0x59451e){const _0x44aa44=_0x571676;return _0x13cf76[_0x44aa44(0x39a)][_0x44aa44(0x495)](_0x59451e);}function _0x4b5f82(_0x150ac0,_0x5baf8b){const _0x41deee=_0x571676;let _0x279ba6=_0x553abc(_0x5baf8b);if(!_0x279ba6[_0x41deee(0x4e9)])return _0x568691(_0x150ac0);let _0x50c510=_0x189c16(_0x150ac0),_0x146199=new Set();for(let _0xa06a53 of _0x279ba6)_0x537c68(_0x50c510,_0xa06a53,_0x146199);return _0x50c510;}function _0x553abc(_0xd83b67){let _0xea2a8e=[];return _0x17e2a2(_0xd83b67,[],_0xea2a8e),_0xea2a8e;}function _0x17e2a2(_0x5d3be3,_0x2eb92a,_0x5501e5){const _0x587b11=_0x571676;if(!Array[_0x587b11(0x21f)](_0x5d3be3))return;let _0x3a8b78=[];for(let _0x202125 of _0x5d3be3)Array[_0x587b11(0x21f)](_0x202125)?_0x17e2a2(_0x202125,[..._0x2eb92a,..._0x3a8b78],_0x5501e5):_0x5bdf6f(_0x202125)?_0x5501e5[_0x587b11(0x401)]([..._0x2eb92a,..._0x3a8b78]):(typeof _0x202125=='string'||typeof _0x202125==_0x587b11(0x3dc))&&_0x3a8b78[_0x587b11(0x401)](_0x202125);}function _0x5bdf6f(_0x2a94f3){const _0x145807=_0x571676;if(!_0x2a94f3||typeof _0x2a94f3!=_0x145807(0x1a7)||Array[_0x145807(0x21f)](_0x2a94f3))return!0x1;let _0x146c95=_0x2a94f3;return'i'in _0x146c95||'r'in _0x146c95||'p'in _0x146c95||'d'in _0x146c95||'es'in _0x146c95||_0x145807(0x40f)in _0x146c95||'et'in _0x146c95;}function _0x537c68(_0x5cfecd,_0x478fec,_0x188a7d){const _0x3d4e25=_0x571676;let _0x129c56=_0x5cfecd,_0x50121f=[];for(let _0x44dc6e=0x0;_0x44dc6e<_0x478fec[_0x3d4e25(0x4e9)]-0x1;_0x44dc6e++){let _0x51a1a6=_0x478fec[_0x44dc6e];_0x50121f['push'](_0x51a1a6);let _0x5b0e04=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x5b0e04))return;let _0x4b419d=JSON['stringify'](_0x50121f);_0x188a7d['has'](_0x4b419d)||(_0x327447(_0x129c56,_0x51a1a6,_0x189c16(_0x5b0e04)),_0x188a7d[_0x3d4e25(0x54c)](_0x4b419d));let _0x2b5c92=_0x4e9477(_0x129c56,_0x51a1a6);if(!_0xd07f31(_0x2b5c92))return;_0x129c56=_0x2b5c92;}}function _0x4e9477(_0xff6068,_0x50ec31){const _0xe7a78e=_0x571676;return Array[_0xe7a78e(0x21f)](_0xff6068)?typeof _0x50ec31==_0xe7a78e(0x3dc)?_0xff6068[_0x50ec31]:void 0x0:Reflect[_0xe7a78e(0x59c)](_0xff6068,_0x50ec31);}function _0x327447(_0x5dad7b,_0x3de510,_0x340996){const _0x2a5cae=_0x571676;Array[_0x2a5cae(0x21f)](_0x5dad7b)?typeof _0x3de510=='number'&&(_0x5dad7b[_0x3de510]=_0x340996):Reflect[_0x2a5cae(0x569)](_0x5dad7b,_0x3de510,_0x340996);}function _0xd07f31(_0x4f39f7){const _0x2a7f7f=_0x571676;return!!_0x4f39f7&&typeof _0x4f39f7==_0x2a7f7f(0x1a7);}function _0x189c16(_0x546544){const _0x45688f=_0x571676;return Array[_0x45688f(0x21f)](_0x546544)?_0x546544[_0x45688f(0x377)]():{..._0x546544};}let _0x4050fc=_0x571676(0x3ad),_0x5df746=/\s+hh:mm\s*$/i,_0x38eb8f={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x571676(0x21d),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x571676(0x29e),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x35414f(_0x2f1f90,_0x172036=_0x13cf76['DateSystem'][_0x571676(0x542)]){const _0x317e71=_0x571676;let _0x3c6288=(0x0,_0x13cf76[_0x317e71(0x3e0)])(_0x2f1f90)[_0x317e71(0x412)]();return(0x0,_0x13cf76[_0x317e71(0x310)])(new Date(_0x3c6288),_0x172036);}function _0x29d29e(_0x4c2d00,_0x1074f5=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x47c658=_0x571676;return(0x0,_0x13cf76[_0x47c658(0x299)])(_0x4c2d00,_0x1074f5)[_0x47c658(0x3e9)]();}function _0x14a5f1(_0x6e077,_0x5d3d83=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){const _0x2c5ec2=_0x571676;if(_0x6e077==null||_0x6e077==='')return null;if(_0x6e077 instanceof Date)return _0x35414f(_0x6e077,_0x5d3d83);if(typeof _0x6e077==_0x2c5ec2(0x3dc))return Number['isFinite'](_0x6e077)?_0x6e077>0xf4240?_0x35414f(_0x6e077,_0x5d3d83):_0x6e077:null;let _0x95ff98=Date['parse'](String(_0x6e077));return Number[_0x2c5ec2(0x597)](_0x95ff98)?null:_0x35414f(_0x95ff98,_0x5d3d83);}function _0x397f72(_0x50133d,_0x67b15f=_0x13cf76[_0x571676(0x4e7)][_0x571676(0x542)]){let _0x52020f=_0x14a5f1(_0x50133d,_0x67b15f);return _0x52020f==null?null:_0x29d29e(_0x52020f,_0x67b15f);}function _0x35238c(_0x26d745={}){const _0x387dc7=_0x571676;let _0x1fda61=String(_0x26d745[_0x387dc7(0x37f)]??_0x26d745[_0x387dc7(0x278)]??_0x26d745[_0x387dc7(0x3d1)]??_0x4050fc)[_0x387dc7(0x2cd)]()||_0x4050fc,_0xb4f7cc=_0x5df746[_0x387dc7(0x50e)](_0x1fda61);return{'pattern':_0x1fda61['replace'](_0x5df746,'')||_0x4050fc,'includeTime':typeof _0x26d745[_0x387dc7(0x1f3)]==_0x387dc7(0x42a)?_0x26d745['includeTime']:_0xb4f7cc,'hourCycle':_0x26d745['hourCycle']===_0x387dc7(0x2f7)?_0x387dc7(0x2f7):'h24'};}function _0x3d3ab9(_0x526304={}){let {format:_0x2bb04a,dateFormat:_0x4d57d3,..._0x41c5de}=_0x526304;return{..._0x41c5de,..._0x35238c(_0x526304)};}function _0x259f65(_0x18236b,_0x3f1fda={}){const _0x16c1ec=_0x571676;let _0x58ace4=_0x397f72(_0x18236b);if(_0x58ace4==null||!Number[_0x16c1ec(0x195)](_0x58ace4))return'';let _0x2ba4c1=_0x35238c(_0x3f1fda);return(0x0,_0x13cf76['dateKit'])(_0x58ace4)[_0x16c1ec(0x278)](_0x4177fa(_0x2ba4c1));}function _0x4177fa(_0x47635d){const _0x3727e3=_0x571676;let {pattern:_0x5e6154,includeTime:_0x352aa1,hourCycle:_0x5d7cd5}=_0x47635d,_0x60021c=_0x38eb8f[_0x5e6154]??_0x38eb8f[_0x4050fc];return _0x352aa1?_0x60021c+'\x20'+(_0x5d7cd5===_0x3727e3(0x2f7)?_0x3727e3(0x40b):_0x3727e3(0x2dd)):_0x60021c;}let _0x50c7ad={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x1727a9=new Set([_0x13cf76['BaseFieldType'][_0x571676(0x2ea)]]);function _0xd379e5(_0x293181){const _0x50f11e=_0x571676;switch(_0x293181){case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x400)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x39e)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x51c)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x238)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)]['GREATER_THAN'],_0x13cf76[_0x50f11e(0x1b1)]['LESS_THAN'],_0x13cf76['BaseConditionalColorOperator']['IS_EMPTY'],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x52d)]];case _0x13cf76['BaseFieldType'][_0x50f11e(0x494)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x337)]:case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x472)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x184)],_0x13cf76['BaseConditionalColorOperator'][_0x50f11e(0x27a)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x1b7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];case _0x13cf76[_0x50f11e(0x517)][_0x50f11e(0x55f)]:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)]];default:return[_0x13cf76[_0x50f11e(0x1b1)]['IS'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5a7)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x5e2)],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x3b3)],_0x13cf76[_0x50f11e(0x1b1)]['IS_EMPTY'],_0x13cf76[_0x50f11e(0x1b1)][_0x50f11e(0x52d)]];}}function _0x33b8b5(_0x1f7679){const _0x8d79c8=_0x571676;return _0x1f7679===_0x13cf76['BaseFieldType'][_0x8d79c8(0x494)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x337)]||_0x1f7679===_0x13cf76[_0x8d79c8(0x517)][_0x8d79c8(0x472)];}function _0x344b98(_0x202a98,_0x58e863){const _0x580b38=_0x571676;return _0x202a98==null&&_0x58e863==null?0x0:_0x202a98==null?-0x1:_0x58e863==null?0x1:typeof _0x202a98==_0x580b38(0x3dc)&&typeof _0x58e863=='number'?_0x202a98-_0x58e863:String(_0x202a98)['localeCompare'](String(_0x58e863));}function _0x4231b9(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028,_0x5cad72={}){const _0x2ed4e9=_0x571676;if(_0x3ca31f===_0x2ed4e9(0x4d0))return _0x55fdd3(_0xd4ded4);if(_0x3ca31f==='isNotEmpty')return!_0x55fdd3(_0xd4ded4);switch(_0x464028[_0x2ed4e9(0x292)]){case _0x13cf76[_0x2ed4e9(0x517)]['Number']:case _0x13cf76[_0x2ed4e9(0x517)]['Currency']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x51c)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x238)]:return _0x4dd9a0(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['Date']:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x337)]:case _0x13cf76[_0x2ed4e9(0x517)][_0x2ed4e9(0x472)]:return _0x45d779(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x5cad72);case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x55f)]:return _0x4d9569(_0xd4ded4,_0x3ca31f,_0xcbb636);case _0x13cf76[_0x2ed4e9(0x517)]['SingleSelect']:case _0x13cf76[_0x2ed4e9(0x517)]['MultiSelect']:case _0x13cf76['BaseFieldType']['Person']:case _0x13cf76['BaseFieldType'][_0x2ed4e9(0x53b)]:return _0x514a41(_0xd4ded4,_0x3ca31f,_0xcbb636,_0x464028);default:return _0x4f14f6(_0xd4ded4,_0x3ca31f,_0xcbb636);}}function _0x55fdd3(_0x1260ae){const _0x171e22=_0x571676;return _0x1260ae==null?!0x0:Array[_0x171e22(0x21f)](_0x1260ae)?_0x1260ae['length']===0x0:typeof _0x1260ae==_0x171e22(0x2b6)&&_0x1260ae['trim']()==='';}function _0x4dd9a0(_0x567a51,_0x400746,_0x21e1f8){const _0x19c36e=_0x571676;let _0x2f2e8c=_0xdc1c86(_0x567a51),_0x20af1f=_0xdc1c86(_0x21e1f8);if(_0x2f2e8c==null||_0x20af1f==null)return!0x1;switch(_0x400746){case'is':return _0x2f2e8c===_0x20af1f;case _0x19c36e(0x3f5):return _0x2f2e8c!==_0x20af1f;case'greaterThan':return _0x2f2e8c>_0x20af1f;case'greaterThanOrEqual':return _0x2f2e8c>=_0x20af1f;case'lessThan':return _0x2f2e8c<_0x20af1f;case _0x19c36e(0x355):return _0x2f2e8c<=_0x20af1f;default:return!0x1;}}function _0xdc1c86(_0x1f50f3){const _0x267c95=_0x571676;if(_0x1f50f3==null||_0x1f50f3==='')return null;let _0x954323=Number(_0x1f50f3);return Number[_0x267c95(0x195)](_0x954323)?_0x954323:null;}function _0x45d779(_0x5a3da9,_0x36f204,_0x3d6c7a,_0x102bd6){const _0x2ff495=_0x571676;let _0x20b0e6=_0x50802c(_0x5a3da9);if(_0x20b0e6==null)return!0x1;let _0x3bcb0b=_0x2560c9(_0x102bd6[_0x2ff495(0x39c)]??_0x13cf76[_0x2ff495(0x218)][_0x2ff495(0x43d)],_0x3d6c7a,_0x102bd6[_0x2ff495(0x5e4)]);if(!_0x3bcb0b)return!0x1;switch(_0x36f204){case _0x13cf76[_0x2ff495(0x1b1)]['IS']:return _0x20b0e6>=_0x3bcb0b['start']&&_0x20b0e6<=_0x3bcb0b['end'];case _0x13cf76[_0x2ff495(0x1b1)][_0x2ff495(0x5a7)]:return _0x20b0e6<_0x3bcb0b[_0x2ff495(0x3aa)]||_0x20b0e6>_0x3bcb0b[_0x2ff495(0x5a8)];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x184)]:return _0x20b0e6<_0x3bcb0b['start'];case _0x13cf76['BaseConditionalColorOperator'][_0x2ff495(0x27a)]:return _0x20b0e6>_0x3bcb0b['end'];default:return!0x1;}}function _0x2560c9(_0x1339ed,_0x306d44,_0x1bcf7b=Date['now']()){const _0x3ef818=_0x571676;let _0x3f4113=_0x1fc74c(_0x1bcf7b);switch(_0x1339ed){case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x43d)]:{let _0x5e14de=_0x50802c(_0x306d44);return _0x5e14de==null?null:_0x34e6a7(_0x5e14de,0x0,0x1);}case _0x13cf76[_0x3ef818(0x218)]['TODAY']:return _0x34e6a7(_0x3f4113,0x0,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x304)]:return _0x34e6a7(_0x3f4113,0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x5dd)]:return _0x34e6a7(_0x3f4113,-0x1,0x1);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x360)]:return _0x172a8c(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)]['LAST_WEEK']:return _0x172a8c(_0x3f4113,-0x1);case _0x13cf76['BaseConditionalDateMode'][_0x3ef818(0x2b3)]:return _0x30e093(_0x3f4113,0x0);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x392)]:return _0x30e093(_0x3f4113,-0x1);case _0x13cf76[_0x3ef818(0x218)]['PAST_7_DAYS']:return _0x34e6a7(_0x3f4113,-0x6,0x7);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x52f)]:return _0x34e6a7(_0x3f4113,0x0,0x7);case _0x13cf76[_0x3ef818(0x218)]['PAST_30_DAYS']:return _0x34e6a7(_0x3f4113,-0x1d,0x1e);case _0x13cf76[_0x3ef818(0x218)][_0x3ef818(0x347)]:return _0x34e6a7(_0x3f4113,0x0,0x1e);}}function _0x50802c(_0x23eb61){let _0x26a95b=_0x14a5f1(_0x23eb61);return _0x26a95b==null?null:_0x1fc74c(_0x29d29e(_0x26a95b));}function _0x1fc74c(_0x3cc5f4){const _0x1e8ac5=_0x571676;let _0x50997f=new Date(_0x3cc5f4);return _0x50997f[_0x1e8ac5(0x1f7)](0x0,0x0,0x0,0x0),_0x50997f[_0x1e8ac5(0x3e9)]();}function _0x172a8c(_0x23e2b5,_0x1dbc28){const _0x18a09d=_0x571676;return _0x34e6a7(_0x23e2b5,-((new Date(_0x23e2b5)[_0x18a09d(0x4e1)]()+0x6)%0x7)+_0x1dbc28*0x7,0x7);}function _0x34e6a7(_0xa7d396,_0x12a0ea,_0x1efd39){const _0x19adbd=_0x571676;let _0x3a7192=(0x0,_0x13cf76[_0x19adbd(0x3e0)])(_0xa7d396)['add'](_0x12a0ea,_0x19adbd(0x2b4));return{'start':_0x3a7192['valueOf'](),'end':_0x3a7192[_0x19adbd(0x54c)](_0x1efd39,_0x19adbd(0x2b4))[_0x19adbd(0x412)]()-0x1};}function _0x30e093(_0x101db9,_0x5abd03){const _0x371c0e=_0x571676;let _0x5424e5=new Date(_0x101db9),_0x57ff6f=new Date(_0x5424e5['getFullYear'](),_0x5424e5[_0x371c0e(0x3a5)]()+_0x5abd03,0x1),_0xa6cb7a=new Date(_0x5424e5[_0x371c0e(0x326)](),_0x5424e5['getMonth']()+_0x5abd03+0x1,0x1);return{'start':_0x57ff6f[_0x371c0e(0x3e9)](),'end':_0xa6cb7a[_0x371c0e(0x3e9)]()-0x1};}function _0x4d9569(_0xb0839,_0x8c1b3f,_0x409ab5){const _0x41e6d2=_0x571676;let _0x287f32=_0x5df3bf(_0xb0839),_0x57a9fe=_0x5df3bf(_0x409ab5);switch(_0x8c1b3f){case'is':return _0x287f32===_0x57a9fe;case _0x41e6d2(0x3f5):return _0x287f32!==_0x57a9fe;default:return!0x1;}}function _0x5df3bf(_0x2b5e26){const _0x271925=_0x571676;return _0x2b5e26===!0x0||_0x2b5e26===_0x271925(0x477)||_0x2b5e26===0x1||_0x2b5e26==='1';}function _0x514a41(_0x494534,_0xbee542,_0x2669c5,_0x49f7a5){const _0x5973cb=_0x571676;let _0x2a8486=_0x3819f7(_0x494534,_0x49f7a5),_0x417fe8=_0x3819f7(_0x2669c5,_0x49f7a5),_0xfba98=_0x417fe8['length']>0x0&&_0x417fe8[_0x5973cb(0x1ab)](_0x237e77=>_0x2a8486[_0x5973cb(0x358)](_0x237e77));switch(_0xbee542){case'is':case _0x5973cb(0x390):return _0xfba98;case _0x5973cb(0x3f5):case'notContains':return!_0xfba98;default:return!0x1;}}function _0x4f14f6(_0x494917,_0x33faee,_0x3af203){const _0x4e1378=_0x571676;let _0xf75f68=_0x59ee1e(_0x494917),_0x33bbc6=_0x59ee1e(_0x3af203);switch(_0x33faee){case'is':return _0xf75f68===_0x33bbc6;case _0x4e1378(0x3f5):return _0xf75f68!==_0x33bbc6;case _0x4e1378(0x390):return _0x33bbc6?_0xf75f68[_0x4e1378(0x358)](_0x33bbc6):!0x1;case _0x4e1378(0x257):return!_0x33bbc6||!_0xf75f68[_0x4e1378(0x358)](_0x33bbc6);default:return!0x1;}}function _0x59ee1e(_0x1d2d58){const _0x1135c0=_0x571676;if(Array[_0x1135c0(0x21f)](_0x1d2d58))return _0x1d2d58[_0x1135c0(0x329)](_0x1f1a3c=>_0x59ee1e(_0x1f1a3c))[_0x1135c0(0x4b9)]('\x0a');if(_0x1d2d58&&typeof _0x1d2d58==_0x1135c0(0x1a7)){let _0x2008c9=_0x1d2d58;return String(_0x2008c9[_0x1135c0(0x46d)]??_0x2008c9[_0x1135c0(0x3e5)]??_0x2008c9[_0x1135c0(0x5df)]??_0x2008c9[_0x1135c0(0x315)]??_0x2008c9['id']??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}return String(_0x1d2d58??'')[_0x1135c0(0x2cd)]()[_0x1135c0(0x2b0)]();}function _0x3819f7(_0x37a7e3,_0x3746e8){const _0x4af118=_0x571676;let _0x3fafd1=_0x52fe45(_0x37a7e3),_0x4e9fd1=_0x561e8a(_0x3746e8[_0x4af118(0x5b9)]??{});return _0x3fafd1[_0x4af118(0x387)](_0x415c0b=>_0x4e9fd1['get'](_0x415c0b)??[_0x415c0b])[_0x4af118(0x3c4)]((_0x574ce4,_0x51a24e,_0x4f3b68)=>_0x574ce4!==''&&_0x4f3b68[_0x4af118(0x406)](_0x574ce4)===_0x51a24e);}function _0x52fe45(_0x2e2b8f){const _0x3b0926=_0x571676;if(_0x2e2b8f==null||_0x2e2b8f==='')return[];if(Array[_0x3b0926(0x21f)](_0x2e2b8f))return _0x2e2b8f[_0x3b0926(0x387)](_0x2c149e=>_0x52fe45(_0x2c149e));if(_0x2e2b8f&&typeof _0x2e2b8f=='object'){let _0x56e8ce=_0x2e2b8f;return['id',_0x3b0926(0x46d),'label','value','text'][_0x3b0926(0x387)](_0x3cfd1e=>_0x52fe45(_0x56e8ce[_0x3cfd1e]))[_0x3b0926(0x3c4)]((_0x2ce177,_0x5e0fd6,_0xb4c89f)=>_0xb4c89f[_0x3b0926(0x406)](_0x2ce177)===_0x5e0fd6);}return[_0x59ee1e(_0x2e2b8f)];}function _0x561e8a(_0x28be82){const _0x3d0ea9=_0x571676;let _0x3ed69d=new Map();return(Array[_0x3d0ea9(0x21f)](_0x28be82[_0x3d0ea9(0x386)])?_0x28be82[_0x3d0ea9(0x386)]:[])['forEach'](_0x390c6b=>{const _0x5abb4e=_0x3d0ea9;if(!_0x390c6b||typeof _0x390c6b!='object')return;let _0x251af2=_0x52fe45(_0x390c6b),_0x248767=_0x251af2[_0x5abb4e(0x3c4)]((_0x4c5854,_0x35e680)=>_0x4c5854!==''&&_0x251af2[_0x5abb4e(0x406)](_0x4c5854)===_0x35e680);_0x248767[_0x5abb4e(0x3c9)](_0x1c2314=>_0x3ed69d[_0x5abb4e(0x569)](_0x1c2314,_0x248767));}),_0x3ed69d;}function _0x4add01(_0x2d6745,_0xac23e3={},_0x249720=_0x377297=>_0x377297,_0x1c5e5c={}){const _0x42d50b=_0x571676;let _0x4034e2=!_0x1727a9['has'](_0x2d6745),_0x34c86e=_0x249720??(_0x3ee660=>_0x3ee660);return{'type':_0x2d6745,'i18nKey':_0x42d50b(0x4ef)+_0x2d6745,'enabled':_0x4034e2,'visibleInCreateMenu':_0x4034e2,'createDefaultConfig':_0x1c5e5c[_0x42d50b(0x461)]??(()=>({})),'createDefaultValue':_0x1c5e5c[_0x42d50b(0x227)]??(_0x5f37c7=>_0x5f37c7['defaultValue']??null),'normalize':(_0x310355,_0x275fb2)=>_0x34c86e(_0x310355,_0x275fb2),'validate':(_0x1ca664,_0x1d9eea)=>{const _0x17e897=_0x42d50b;var _0x5dbb4a;return _0x4034e2?((_0x5dbb4a=_0x1c5e5c[_0x17e897(0x3a4)])==null?void 0x0:_0x5dbb4a[_0x17e897(0x279)](_0x1c5e5c,_0x1ca664,_0x1d9eea))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1956d8,_0x3609d5)=>_0x344b98(_0x1956d8,_0x3609d5),'filter':(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab)=>_0x4231b9(_0x3fc850,_0x9e9e3f,_0x2b7608,_0x35feab),'toPlainText':_0x1c5e5c[_0x42d50b(0x25d)]??(_0x5ab3f6=>_0x5ab3f6==null?'':String(_0x5ab3f6)),'fromPlainText':_0x1c5e5c[_0x42d50b(0x1c3)]??(_0x1293b7=>_0x34c86e(_0x1293b7,{'id':'','name':'','type':_0x2d6745,'config':{}})),'getCapabilities':()=>({..._0x50c7ad,..._0xac23e3,'editable':_0x4034e2&&(_0xac23e3[_0x42d50b(0x3fe)]??_0x50c7ad[_0x42d50b(0x3fe)])})};}function _0x44e8e4(){const _0xd8259a=_0x571676;return[_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x4c5)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x343)}),'createDefaultValue':_0x133463=>_0x133463[_0xd8259a(0x5ce)]??''}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1be62b=>_0x1be62b==null||_0x1be62b===''?null:String(_0x1be62b),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x247)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x66b1a6=>Array[_0xd8259a(0x21f)](_0x66b1a6)?_0x66b1a6[_0xd8259a(0x329)](String):_0x66b1a6==null?[]:[String(_0x66b1a6)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xd8259a(0x203)}}),'createDefaultValue':_0x5b1ca8=>_0x5b1ca8[_0xd8259a(0x5ce)]??[]}),_0x4add01(_0x13cf76['BaseFieldType']['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3d0bb9,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xd8259a(0x22d)}),'validate':_0x844302}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x53b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x49704e,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0xd8259a(0x42c)}),'createDefaultValue':_0x1b1cd2=>_0x1b1cd2[_0xd8259a(0x5ce)]??[],'validate':_0x326574}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x494)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x35f1ef=>_0x14a5f1(_0x35f1ef),{'createDefaultConfig':()=>_0x4cdc79(),'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x312)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x246eba=>_0x246eba==null?[]:Array[_0xd8259a(0x21f)](_0x246eba)?_0x246eba:[_0x246eba],{'createDefaultValue':_0x589175=>_0x589175['defaultValue']??[]}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Number'],{},_0x15b558=>_0x15b558==null||_0x15b558===''?null:Number(_0x15b558),{'createDefaultConfig':()=>_0x53311f(),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x11ab1d=>_0x11ab1d===!0x0||_0x11ab1d===_0xd8259a(0x477)||_0x11ab1d===0x1||_0x11ab1d==='1',{'createDefaultConfig':()=>({'icon':_0xd8259a(0x5e3),'color':_0xd8259a(0x1d2)}),'createDefaultValue':_0x332d70=>_0x332d70[_0xd8259a(0x5ce)]??!0x1,'validate':_0x50060a=>typeof _0x50060a==_0xd8259a(0x42a)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x3b6)],{'supportsRelation':!0x0},_0x2f43e3,{'createDefaultConfig':()=>({'placeholder':_0xd8259a(0x251)}),'toPlainText':_0x2fb9a5=>_0x562340(_0x2fb9a5),'fromPlainText':_0x5831d4=>_0x2f43e3(_0x5831d4)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x26c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xd8259a(0x3a3),'pattern':'General'}}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2a4)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xd8259a(0x509)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x419)],{'usableAsTitle':!0x0},_0x4cbb27=>_0x4cbb27==null?null:String(_0x4cbb27)['trim'](),{'validate':_0x53732c=>_0x53732c==null||_0x53732c===''||/^\+?[0-9 ()-]{6,20}$/[_0xd8259a(0x50e)](String(_0x53732c))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x261)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x1fa)],{'usableAsTitle':!0x0},_0x5c3c42=>_0x5c3c42==null?null:String(_0x5c3c42)[_0xd8259a(0x2cd)](),{'validate':_0x3abfc5=>_0x3abfc5==null||_0x3abfc5===''||_0x18b9d0(String(_0x3abfc5))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xd8259a(0x3b1)}}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x51c)],{'usableAsGanttProgress':!0x0},_0x27818c=>_0x27818c==null||_0x27818c===''?null:Number(_0x27818c),{'createDefaultConfig':()=>({'format':_0xd8259a(0x5db),'decimalPlaces':0x0,'color':_0xd8259a(0x4d5),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x104c0c,_0x1d3612)=>_0xb6fb06(_0x104c0c,_0x1d3612,_0xd8259a(0x4e5))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x39e)],{},_0x52f990=>_0x52f990==null||_0x52f990===''?null:Number(_0x52f990),{'createDefaultConfig':()=>({..._0x53311f(),'currencySymbol':'$'}),'validate':_0x5e1137}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x38507f=>_0x38507f==null||_0x38507f===''?null:Number(_0x38507f),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x525aa0,_0x489855)=>_0xb6fb06(_0x525aa0,_0x489855,_0xd8259a(0x29a))}),_0x4add01(_0x13cf76['BaseFieldType'][_0xd8259a(0x5b0)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x5a5934,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x18c802,_0x4ccd88)=>_0x35e826(_0x18c802,_0x4ccd88[_0xd8259a(0x5b9)]['multiple']===!0x0)}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x2ea)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x537)],{'editable':!0x1,'groupable':!0x0},_0x5f0e0c=>_0x5f0e0c==null?null:String(_0x5f0e0c),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x320)],{'editable':!0x1,'groupable':!0x0},_0x391661=>_0x391661==null?null:String(_0x391661),{'createDefaultConfig':()=>({'provider':_0xd8259a(0x273)}),'createDefaultValue':()=>null}),_0x4add01(_0x13cf76[_0xd8259a(0x517)][_0xd8259a(0x337)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x51c99c=>_0x14a5f1(_0x51c99c),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff}),_0x4add01(_0x13cf76[_0xd8259a(0x517)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3425e3=>_0x14a5f1(_0x3425e3),{'createDefaultConfig':()=>_0x4cdc79(),'createDefaultValue':()=>null,'validate':_0x18d0ff})];}function _0x53311f(){const _0x39f083=_0x571676;return{'pattern':_0x39f083(0x452),'decimalPlaces':0x2,'separatorStyle':_0x39f083(0x576),'useThousands':!0x0,'abbreviation':_0x39f083(0x2a6),'allowNegative':!0x0};}function _0x4cdc79(){const _0x5cfdbd=_0x571676;return{'locale':'en-US','pattern':_0x5cfdbd(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x5cfdbd(0x2a6)};}function _0x49704e(_0x4cb49a){const _0x3757fa=_0x571676;return _0x4cb49a==null||_0x4cb49a===''?[]:Array[_0x3757fa(0x21f)](_0x4cb49a)?_0x4cb49a[_0x3757fa(0x329)](String):[String(_0x4cb49a)];}function _0x5a5934(_0xdb84a0){const _0x4d7b08=_0x571676;return typeof _0xdb84a0==_0x4d7b08(0x2b6)?_0xdb84a0:'';}function _0x3d0bb9(_0x1a039d,_0xf349f0){const _0x28f801=_0x571676;return _0x1a039d==null||_0x1a039d===''?_0xf349f0[_0x28f801(0x5b9)]['allowMultiple']===!0x0?[]:null:_0xf349f0[_0x28f801(0x5b9)][_0x28f801(0x440)]===!0x0?Array['isArray'](_0x1a039d)?_0x1a039d['map'](String):[String(_0x1a039d)]:Array[_0x28f801(0x21f)](_0x1a039d)?String(_0x1a039d[0x0]??'')||null:String(_0x1a039d);}function _0x844302(_0x5c1acc,_0x6dca09){const _0x1f75d4=_0x571676;return _0x6dca09[_0x1f75d4(0x5b9)]['allowMultiple']===!0x0?_0x326574(_0x5c1acc):_0x5c1acc==null||_0x5c1acc===''||typeof _0x5c1acc==_0x1f75d4(0x2b6)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x326574(_0x2c375d){const _0xc35316=_0x571676;return _0x2c375d==null||Array[_0xc35316(0x21f)](_0x2c375d)&&_0x2c375d[_0xc35316(0x5a5)](_0x1236bc=>typeof _0x1236bc==_0xc35316(0x2b6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc35316(0x301)};}function _0x18d0ff(_0x4ec8f9){const _0x23aeda=_0x571676;return _0x4ec8f9==null||typeof _0x4ec8f9=='number'&&Number[_0x23aeda(0x195)](_0x4ec8f9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x23aeda(0x249)};}function _0x5e1137(_0x3fb8c5,_0x4764f7){const _0x362e31=_0x571676;return _0x3fb8c5==null||_0x3fb8c5===''?{'valid':!0x0}:typeof _0x3fb8c5!='number'||!Number[_0x362e31(0x195)](_0x3fb8c5)?{'valid':!0x1,'reason':_0x362e31(0x21a)}:_0x4764f7['config']['allowNegative']===!0x1&&_0x3fb8c5<0x0?{'valid':!0x1,'reason':_0x362e31(0x4dc)}:{'valid':!0x0};}function _0xb6fb06(_0x23e6a2,_0x174558,_0x184aa7){const _0x51bc52=_0x571676;let _0x3403e4=_0x5e1137(_0x23e6a2,_0x174558);if(!_0x3403e4[_0x51bc52(0x49e)]||_0x23e6a2==null||_0x23e6a2==='')return _0x3403e4;let _0x1b955e=Number(_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a2)]??_0x174558[_0x51bc52(0x5b9)]['start']??0x0),_0xb9ce90=Number(_0x174558['config'][_0x51bc52(0x402)]??_0x174558[_0x51bc52(0x5b9)][_0x51bc52(0x5a8)]??0x64),_0x25e363=Number(_0x23e6a2);return _0x25e363>=_0x1b955e&&_0x25e363<=_0xb9ce90?{'valid':!0x0}:{'valid':!0x1,'reason':_0x184aa7};}function _0x2f43e3(_0xb71d83){const _0x46e443=_0x571676;if(_0xb71d83==null||_0xb71d83==='')return null;if(typeof _0xb71d83==_0x46e443(0x1a7)&&!Array[_0x46e443(0x21f)](_0xb71d83)){let _0x39d056=_0xb71d83,_0x3af6ac=typeof _0x39d056[_0x46e443(0x5df)]=='string'?_0x39d056[_0x46e443(0x5df)][_0x46e443(0x2cd)]():'',_0x2efc5c=typeof _0x39d056[_0x46e443(0x395)]==_0x46e443(0x2b6)?_0x39d056['url']['trim']():'',_0x139a81=_0x2f680d(_0x2efc5c||_0x3af6ac);return _0x139a81?{'text':_0x3af6ac||_0x2efc5c||_0x139a81,'url':_0x139a81}:null;}let _0x39291b=String(_0xb71d83)['trim'](),_0x382c13=_0x2f680d(_0x39291b);return _0x382c13?{'text':_0x39291b,'url':_0x382c13}:null;}function _0x562340(_0x261ca7){const _0x5a5aa3=_0x571676;if(_0x261ca7==null)return'';if(typeof _0x261ca7=='object'&&!Array['isArray'](_0x261ca7)){let _0x56e385=_0x261ca7;return String(_0x56e385[_0x5a5aa3(0x5df)]||_0x56e385[_0x5a5aa3(0x395)]||'');}return String(_0x261ca7);}function _0x2f680d(_0x4f1b0d){const _0x908816=_0x571676;let _0xa9fa31=_0x4f1b0d[_0x908816(0x2cd)]();if(!_0xa9fa31)return'';let _0x49dfa2=/^[a-z][a-z\d+.-]*:/i[_0x908816(0x50e)](_0xa9fa31)?_0xa9fa31:_0xa9fa31[_0x908816(0x33b)]('//')?_0x908816(0x3ce)+_0xa9fa31:_0x908816(0x1ed)+_0xa9fa31;try{let _0xa188b7=new URL(_0x49dfa2);return _0xa188b7[_0x908816(0x4ab)]===_0x908816(0x295)||_0xa188b7[_0x908816(0x4ab)]===_0x908816(0x3ce)?_0xa188b7[_0x908816(0x38c)]:'';}catch{return'';}}function _0x18b9d0(_0x42cee2){const _0x53fe78=_0x571676;let _0x564bd3=_0x42cee2[_0x53fe78(0x406)]('@');if(_0x564bd3<=0x0||_0x564bd3!==_0x42cee2['lastIndexOf']('@'))return!0x1;let _0x4c690e=_0x42cee2[_0x53fe78(0x377)](_0x564bd3+0x1);return _0x4c690e[_0x53fe78(0x358)]('.')&&!_0x42cee2[_0x53fe78(0x358)]('\x20')&&!_0x4c690e[_0x53fe78(0x33b)]('.')&&!_0x4c690e[_0x53fe78(0x398)]('.');}let _0x4c83f7={'table':_0x2ef63c=>[_0x571676(0x291),_0x2ef63c],'field':(_0x794d23,_0x27b505)=>[_0x571676(0x291),_0x794d23,_0x571676(0x3c2),_0x27b505],'fieldOrder':(_0x210800,_0x1dbcfc)=>['tables',_0x210800,'fieldOrder',_0x1dbcfc],'record':(_0x4fd32e,_0x2301fc)=>['tables',_0x4fd32e,_0x571676(0x38f),_0x2301fc],'cell':(_0x3e47cf,_0x7ea40d,_0x40c16b)=>[_0x571676(0x291),_0x3e47cf,_0x571676(0x38f),_0x7ea40d,_0x571676(0x334),_0x40c16b],'cellData':(_0x3ec5df,_0x23d1d8,_0x15291c)=>[_0x571676(0x291),_0x3ec5df,_0x571676(0x38e),String(_0x23d1d8),String(_0x15291c)],'attachmentSet':(_0xa3dd60,_0x53e637)=>[_0x571676(0x291),_0xa3dd60,_0x571676(0x23c),_0x571676(0x1df),_0x53e637],'attachment':(_0x407a9e,_0x30034d)=>['tables',_0x407a9e,_0x571676(0x23c),_0x571676(0x1d4),_0x30034d],'view':(_0x18570d,_0x159574)=>[_0x571676(0x291),_0x18570d,_0x571676(0x18d),_0x159574],'viewFieldHidden':(_0x495cab,_0x627503,_0x13281e)=>[_0x571676(0x291),_0x495cab,'views',_0x627503,'fieldSettings',_0x13281e,'hidden']};var _0x3db0f3=class{[_0x571676(0x3b9)](_0x189eca,_0x4f4bed){const _0x19742a=_0x571676;let _0x1953cc=this[_0x19742a(0x3f7)](_0x189eca,_0x189eca['name'],_0x4f4bed);return _0x16f182([this[_0x19742a(0x40e)]([_0x19742a(0x46d)],_0x189eca[_0x19742a(0x46d)],_0x4f4bed),..._0x1953cc?[_0x1953cc]:[]]);}[_0x571676(0x3f7)](_0x8b8a21,_0x51ff94,_0x3d8fb9){const _0x5ddb16=_0x571676;let _0x147882=Object[_0x5ddb16(0x334)](_0x8b8a21['tables'])['flatMap'](_0x337d34=>Object[_0x5ddb16(0x334)](_0x337d34['fields'])[_0x5ddb16(0x387)](_0x1c7ff4=>{const _0x44dc8c=_0x5ddb16;var _0x2d9dc4,_0x55e870;if(_0x1c7ff4['type']!==_0x13cf76['BaseFieldType'][_0x44dc8c(0x26c)])return[];let _0x30c1bf=String(((_0x2d9dc4=_0x1c7ff4['config'])==null?void 0x0:_0x2d9dc4[_0x44dc8c(0x2b7)])??''),_0x3ba0f5=(0x0,_0x43fb1e[_0x44dc8c(0x27e)])(_0x30c1bf,_0x51ff94,_0x3d8fb9);return _0x3ba0f5===_0x30c1bf?[]:[this[_0x44dc8c(0x40e)]([..._0x4c83f7[_0x44dc8c(0x407)](_0x337d34['id'],_0x1c7ff4['id']),'config',_0x44dc8c(0x2b7)],(_0x55e870=_0x1c7ff4[_0x44dc8c(0x5b9)])==null?void 0x0:_0x55e870[_0x44dc8c(0x2b7)],_0x3ba0f5)];}));return _0x147882['length']>0x0?_0x16f182(_0x147882):void 0x0;}['createTable'](_0x387c0b,_0x4f89d3,_0x17a528=_0x387c0b['tableOrder']['length']){const _0x3f7d61=_0x571676;let _0x27fb39=(0x0,_0x13cf76[_0x3f7d61(0x280)])(_0x4f89d3[_0x3f7d61(0x46d)],(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x387c0b)[_0x3f7d61(0x334)](),_0x4f89d3[_0x3f7d61(0x4b8)]),_0x3f343f=_0x4f89d3['formulaName']===_0x27fb39?_0x4f89d3:{..._0x4f89d3,'formulaName':_0x27fb39};return _0x16f182([...this[_0x3f7d61(0x559)](_0x387c0b),_0x13cf76['JSON1'][_0x3f7d61(0x48c)](_0x4c83f7[_0x3f7d61(0x4b7)](_0x4f89d3['id']),_0x3f343f),_0x13cf76['JSON1'][_0x3f7d61(0x48c)]([_0x3f7d61(0x4d9),_0x17a528],_0x4f89d3['id'])]);}['renameTable'](_0x55a9a4,_0x12bf4b,_0x45b7ea){const _0x54b689=_0x571676;let _0x4bb120=_0x55a9a4['tables'][_0x12bf4b];return _0x16f182([...this[_0x54b689(0x559)](_0x55a9a4),_0x13cf76['JSON1'][_0x54b689(0x1b4)]([..._0x4c83f7['table'](_0x12bf4b),'name'],_0x4bb120[_0x54b689(0x46d)],_0x45b7ea)]);}['deleteTable'](_0x214e58,_0x4db2be){const _0x35494f=_0x571676;let _0x597e3e=_0x214e58[_0x35494f(0x291)][_0x4db2be],_0x28003b=_0x214e58[_0x35494f(0x4d9)][_0x35494f(0x406)](_0x4db2be);return _0x16f182([...this[_0x35494f(0x559)](_0x214e58,new Set([_0x4db2be])),_0x13cf76['JSON1']['removeOp'](_0x4c83f7[_0x35494f(0x4b7)](_0x4db2be),_0x597e3e),_0x13cf76[_0x35494f(0x575)][_0x35494f(0x4ed)](['tableOrder',_0x28003b],_0x4db2be)]);}['createRecord'](_0x176518,_0xc8eab,_0x228625){return this['createRecords'](_0x176518,_0xc8eab,[_0x228625]);}[_0x571676(0x248)](_0xf904d,_0x56b702,_0x52808c){const _0x2a3fef=_0x571676;let _0x477233=_0xf904d[_0x2a3fef(0x291)][_0x56b702],_0x3c029f=_0x52808c[_0x2a3fef(0x3c4)](_0x311e18=>_0x311e18&&!_0x477233[_0x2a3fef(0x38f)][_0x311e18['id']])['map'](_0x31e2f7=>({..._0x31e2f7,'values':{..._0x31e2f7['values'],[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x31e2f7['id']}}));if(!_0x3c029f[_0x2a3fef(0x4e9)])return _0x13cf76[_0x2a3fef(0x575)][_0x2a3fef(0x1b4)]([..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)],_0x477233[_0x2a3fef(0x38f)]);let _0x4cdf4b=new _0x13cf76[(_0x2a3fef(0x575))]['WriteCursor'](),_0x4038bf=[..._0x3c029f]['sort']((_0x48a2a9,_0x1f9753)=>_0x48a2a9['id']<_0x1f9753['id']?-0x1:+(_0x48a2a9['id']>_0x1f9753['id'])),_0x16a235=[..._0x4c83f7[_0x2a3fef(0x4b7)](_0x56b702),'records'];_0x4cdf4b[_0x2a3fef(0x3c1)](_0x16a235);for(let _0x45044e of _0x4038bf)_0x4cdf4b[_0x2a3fef(0x3d7)](_0x45044e['id']),_0x4cdf4b[_0x2a3fef(0x4e0)]('i',_0x45044e),_0x4cdf4b[_0x2a3fef(0x314)]();for(let _0x351c59=0x0;_0x351c59<_0x16a235[_0x2a3fef(0x4e9)];_0x351c59+=0x1)_0x4cdf4b[_0x2a3fef(0x314)]();return _0x16f182([_0x4cdf4b[_0x2a3fef(0x59c)](),this[_0x2a3fef(0x5c9)](_0xf904d,_0x56b702,_0x3c029f)]);}[_0x571676(0x5dc)](_0x531d94,_0x2cc91f,_0x378074){const _0x53344d=_0x571676;return this[_0x53344d(0x23e)](_0x531d94,_0x2cc91f,[_0x378074]);}[_0x571676(0x23e)](_0x126708,_0xfa4a82,_0xbea6c4){const _0x1fdb13=_0x571676;let _0x59ad1d=_0x126708[_0x1fdb13(0x291)][_0xfa4a82],_0x54fe4e=Array[_0x1fdb13(0x2ed)](new Set(_0xbea6c4))[_0x1fdb13(0x3c4)](_0x4d8d1c=>_0x59ad1d[_0x1fdb13(0x38f)][_0x4d8d1c]);if(!_0x54fe4e[_0x1fdb13(0x4e9)])return _0x13cf76[_0x1fdb13(0x575)][_0x1fdb13(0x1b4)]([..._0x4c83f7[_0x1fdb13(0x4b7)](_0xfa4a82),_0x1fdb13(0x38f)],_0x59ad1d[_0x1fdb13(0x38f)],_0x59ad1d['records']);let _0x597b6c=new Set(_0x54fe4e),_0x2d80f9=_0xaf3938(_0x59ad1d,_0x54fe4e)['map'](_0x4fcb16=>this[_0x1fdb13(0x4a1)](_0x126708,_0xfa4a82,_0x4fcb16['recordId'],_0x4fcb16[_0x1fdb13(0x384)],''));return _0x16f182([this[_0x1fdb13(0x3f9)](_0x126708,_0xfa4a82,_0x54fe4e,_0x597b6c),..._0x2d80f9]);}[_0x571676(0x41b)](_0x11739b,_0x378563,_0x1e5172,_0x1b24b7){const _0x37c9a5=_0x571676;let _0x4eba1d=_0x11739b[_0x37c9a5(0x291)][_0x1e5172],_0xa25b0f=Array['from'](new Set(_0x1b24b7))['filter'](_0x3195ea=>_0x4eba1d['records'][_0x3195ea]),_0x476cd8=new Set(_0xa25b0f);return _0x16f182([new _0x1aaf1b()['invertOp'](_0x11739b,this[_0x37c9a5(0x3f9)](_0x11739b,_0x1e5172,_0xa25b0f,_0x476cd8)),..._0xaf3938(_0x4eba1d,_0xa25b0f)['map'](_0x14d5d7=>this[_0x37c9a5(0x4a1)](_0x378563,_0x1e5172,_0x14d5d7[_0x37c9a5(0x5c4)],_0x14d5d7[_0x37c9a5(0x384)],_0x14d5d7[_0x37c9a5(0x182)]??''))]);}[_0x571676(0x3f9)](_0x393da2,_0x3f7ade,_0x3108f8,_0x15d8ed){const _0x3a73e2=_0x571676;let _0x1613cb=_0x393da2['tables'][_0x3f7ade],_0x264c9b=_0x3108f8[_0x3a73e2(0x329)](_0x51e64a=>{const _0xf9b304=_0x3a73e2;var _0x4eb6a7;return{'recordId':_0x51e64a,'index':((_0x4eb6a7=_0x1613cb[_0xf9b304(0x1cd)])==null?void 0x0:_0x4eb6a7[_0xf9b304(0x406)](_0x51e64a))??-0x1};})[_0x3a73e2(0x3c4)](_0x279be6=>_0x279be6[_0x3a73e2(0x36f)]>=0x0)[_0x3a73e2(0x4af)]((_0x111b2e,_0x1bc575)=>_0x1bc575[_0x3a73e2(0x36f)]-_0x111b2e[_0x3a73e2(0x36f)]);return _0x16f182([..._0x3108f8[_0x3a73e2(0x329)](_0x13288d=>_0x13cf76[_0x3a73e2(0x575)]['removeOp'](_0x4c83f7[_0x3a73e2(0x4a9)](_0x3f7ade,_0x13288d),_0x1613cb[_0x3a73e2(0x38f)][_0x13288d])),..._0x264c9b[_0x3a73e2(0x329)](({recordId:_0x5ee893,index:_0x350901})=>_0x13cf76['JSON1'][_0x3a73e2(0x4ed)]([_0x3a73e2(0x291),_0x3f7ade,_0x3a73e2(0x1cd),_0x350901],_0x5ee893)),...this[_0x3a73e2(0x515)](_0x1613cb,_0x3f7ade,_0x2613a2=>{const _0x4c0acf=_0x3a73e2;let _0x3fc780=_0x2613a2['slice'](_0x2613a2[_0x4c0acf(0x4d6)]('\x1f')+0x1);return _0x15d8ed['has'](_0x3fc780);})]);}[_0x571676(0x529)](_0x56efb8,_0x4aab21,_0x4b34a9,_0x2a5da0){const _0x2f16c8=_0x571676;return this[_0x2f16c8(0x5ad)](_0x56efb8,_0x4aab21,{..._0x2a5da0,'values':{..._0x56efb8[_0x2f16c8(0x291)][_0x4aab21]['records'][_0x4b34a9][_0x2f16c8(0x334)],..._0x2a5da0[_0x2f16c8(0x334)],[_0x13cf76[_0x2f16c8(0x544)]]:_0x2a5da0['id']}});}[_0x571676(0x1ad)](_0x2375ee,_0x46eade,_0x41176d,_0x369f79){const _0x24277a=_0x571676;let _0x444b80=_0x2375ee[_0x24277a(0x291)][_0x46eade],_0xa9324c=[..._0x4c83f7[_0x24277a(0x4a9)](_0x46eade,_0x41176d),_0x24277a(0x34c)],_0x7918cf=Object['values'](_0x444b80[_0x24277a(0x38f)])[_0x24277a(0x329)](_0xbd239e=>_0xbd239e['id']===_0x41176d?{..._0xbd239e,'orderKey':_0x369f79}:_0xbd239e)[_0x24277a(0x4af)]((_0x45a9c9,_0x4335e3)=>String(_0x45a9c9['orderKey']??_0x45a9c9['id'])['localeCompare'](String(_0x4335e3[_0x24277a(0x34c)]??_0x4335e3['id'])))[_0x24277a(0x329)](_0x6a6101=>_0x6a6101['id']),_0x3e6e8b=[..._0x4c83f7[_0x24277a(0x4b7)](_0x46eade),_0x24277a(0x1cd)];return _0x16f182([this[_0x24277a(0x40e)](_0xa9324c,_0x444b80[_0x24277a(0x38f)][_0x41176d][_0x24277a(0x34c)],_0x369f79),_0x444b80[_0x24277a(0x1cd)]?_0x13cf76[_0x24277a(0x575)][_0x24277a(0x1b4)](_0x3e6e8b,_0x444b80['recordOrder'],_0x7918cf):_0x13cf76[_0x24277a(0x575)][_0x24277a(0x48c)](_0x3e6e8b,_0x7918cf)]);}[_0x571676(0x4a1)](_0x13af0a,_0x1f3918,_0x362efc,_0x12b564,_0xcec694){const _0x32b041=_0x571676;var _0x2ca0b6,_0x4045fc;let _0x114c7e=_0x13af0a[_0x32b041(0x291)][_0x1f3918],_0x54aa23=_0x102c8d(_0x114c7e,_0x362efc,_0x12b564)?_0x114c7e:_0x48b6e1(_0x114c7e),_0x2fa4d2=(_0x2ca0b6=_0x54aa23[_0x32b041(0x563)])==null?void 0x0:_0x2ca0b6[_0x362efc],_0x19a014=(_0x4045fc=_0x54aa23[_0x32b041(0x28e)])==null?void 0x0:_0x4045fc[_0x12b564];if(_0x2fa4d2==null||_0x19a014==null){var _0xfd5ebe;return this[_0x32b041(0x40e)](_0x4c83f7[_0x32b041(0x4d1)](_0x1f3918,_0x362efc,_0x12b564),(_0xfd5ebe=_0x13af0a[_0x32b041(0x291)][_0x1f3918])==null||(_0xfd5ebe=_0xfd5ebe[_0x32b041(0x38f)][_0x362efc])==null?void 0x0:_0xfd5ebe['values'][_0x12b564],_0xcec694);}return this[_0x32b041(0x23a)](_0x13af0a,_0x1f3918,[{'row':_0x2fa4d2,'col':_0x19a014,'value':_0xcec694}]);}[_0x571676(0x565)](_0x115450,_0x1c0980,_0x55a253){const _0x54a02b=_0x571676;let _0x3ee8eb=_0x115450['tables'][_0x1c0980],_0x484336=_0x55a253[_0x54a02b(0x5a5)](_0xb717d8=>Object[_0x54a02b(0x2db)](_0xb717d8[_0x54a02b(0x334)])[_0x54a02b(0x5a5)](_0x1f4a06=>_0x102c8d(_0x3ee8eb,_0xb717d8['recordId'],_0x1f4a06)))?_0x3ee8eb:_0x48b6e1(_0x3ee8eb),_0x3ee0c0=_0x55a253[_0x54a02b(0x387)](_0x10e0b9=>Object[_0x54a02b(0x460)](_0x10e0b9['values'])[_0x54a02b(0x387)](([_0x331bc8,_0x55988a])=>{const _0x32af5a=_0x54a02b;var _0xe32874,_0x54d77b;let _0x3e616c=(_0xe32874=_0x484336[_0x32af5a(0x563)])==null?void 0x0:_0xe32874[_0x10e0b9['recordId']],_0x34b701=(_0x54d77b=_0x484336[_0x32af5a(0x28e)])==null?void 0x0:_0x54d77b[_0x331bc8];return _0x3e616c==null||_0x34b701==null?[]:[{'row':_0x3e616c,'col':_0x34b701,'value':_0x55988a}];})),_0x34eb43=_0x55a253['flatMap'](_0x5b860b=>Object[_0x54a02b(0x460)](_0x5b860b[_0x54a02b(0x34a)]??{})[_0x54a02b(0x329)](([_0x356121,_0x179635])=>{const _0x4405df=_0x54a02b;var _0x2b8a7f;let _0x133988=[..._0x4c83f7[_0x4405df(0x4a9)](_0x1c0980,_0x5b860b[_0x4405df(0x5c4)]),_0x356121],_0x1c6104=(_0x2b8a7f=_0x115450[_0x4405df(0x291)][_0x1c0980])==null||(_0x2b8a7f=_0x2b8a7f[_0x4405df(0x38f)][_0x5b860b['recordId']])==null?void 0x0:_0x2b8a7f[_0x356121];return this['_replaceOptional'](_0x133988,_0x1c6104,_0x179635);}));return _0x16f182([this[_0x54a02b(0x23a)](_0x115450,_0x1c0980,_0x3ee0c0),..._0x34eb43]);}['setRangeValues'](_0x24220e,_0x479765,_0x3fc586){const _0x4ba9d9=_0x571676;let _0x17b386=_0x24220e[_0x4ba9d9(0x291)][_0x479765],_0x5c0f30=_0x3fc586['every'](_0x3d0fda=>_0x13c483(_0x17b386,_0x3d0fda[_0x4ba9d9(0x22f)],_0x3d0fda[_0x4ba9d9(0x5ac)]))?_0x17b386:_0x48b6e1(_0x17b386),_0x324cbc=new Map(),_0x55b373=_0x3fc586[_0x4ba9d9(0x387)](_0x4acb02=>{const _0x2b21b5=_0x4ba9d9;var _0x37a5aa,_0x32ef32,_0x169c7f,_0x506e57;let _0x50b0f8=(_0x37a5aa=_0x5c0f30['colId'])==null?void 0x0:_0x37a5aa[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5dc5c6=(_0x32ef32=_0x5c0f30[_0x2b21b5(0x556)])==null?void 0x0:_0x32ef32[_0x4acb02['row']],_0x444a4d=_0x50b0f8?_0x5c0f30[_0x2b21b5(0x3c2)][_0x50b0f8]:void 0x0;if(_0x50b0f8===_0x13cf76[_0x2b21b5(0x544)]||(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)][_0x2b21b5(0x2ea)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x2e47c6=_0x4c5834(_0x4acb02[_0x2b21b5(0x315)],_0x444a4d),_0xf3a72b=(_0x169c7f=_0x5c0f30['cellData'])==null||(_0x169c7f=_0x169c7f[_0x4acb02['row']])==null?void 0x0:_0x169c7f[_0x4acb02[_0x2b21b5(0x5ac)]],_0x5211e3=this['_replaceOptional'](_0x4c83f7['cellData'](_0x479765,_0x4acb02[_0x2b21b5(0x22f)],_0x4acb02[_0x2b21b5(0x5ac)]),_0xf3a72b,_0x2e47c6);if(!_0x50b0f8||!_0x5dc5c6)return[_0x5211e3];let _0x183d89=(_0x506e57=_0x5c0f30[_0x2b21b5(0x38f)][_0x5dc5c6])==null?void 0x0:_0x506e57[_0x2b21b5(0x334)][_0x50b0f8],_0x402e54=(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76[_0x2b21b5(0x517)]['Attachment']?_0x293a71(_0x4acb02[_0x2b21b5(0x315)]):_0x19f247(_0x4acb02[_0x2b21b5(0x315)],_0x2e47c6,_0x444a4d,_0x5c0f30,_0x5dc5c6),_0x12305f=[_0x5211e3,this[_0x2b21b5(0x40e)](_0x4c83f7['cell'](_0x479765,_0x5dc5c6,_0x50b0f8),_0x183d89,_0x402e54)];return(_0x444a4d==null?void 0x0:_0x444a4d[_0x2b21b5(0x292)])===_0x13cf76['BaseFieldType']['Attachment']&&_0x324cbc['set'](_0x43571f(_0x50b0f8,_0x5dc5c6),{'recordId':_0x5dc5c6,'fieldId':_0x50b0f8,'attachments':_0x402e54}),_0x12305f;});return _0x55b373[_0x4ba9d9(0x4e9)]?_0x16f182([..._0x55b373,...this[_0x4ba9d9(0x587)](_0x5c0f30,_0x479765,Array[_0x4ba9d9(0x2ed)](_0x324cbc['values']()))]):_0x13cf76[_0x4ba9d9(0x575)][_0x4ba9d9(0x1b4)]([_0x4ba9d9(0x291),_0x479765,_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)],_0x5c0f30[_0x4ba9d9(0x38e)]);}[_0x571676(0x444)](_0xb3c594,_0x5ebf6b,_0x4d14e3){const _0x10850b=_0x571676;let _0x4378d3=_0xb3c594[_0x10850b(0x291)][_0x5ebf6b];if(_0x4378d3[_0x10850b(0x3c2)][_0x4d14e3[_0x10850b(0x407)]['id']]||_0x4378d3[_0x10850b(0x582)]['includes'](_0x4d14e3[_0x10850b(0x407)]['id']))return _0x13cf76[_0x10850b(0x575)][_0x10850b(0x1b4)]([_0x10850b(0x291),_0x5ebf6b,_0x10850b(0x582)],_0x4378d3['fieldOrder'],_0x4378d3[_0x10850b(0x582)]);let _0x416f61=Math[_0x10850b(0x402)](0x1,_0x4d14e3['index']??_0x4378d3[_0x10850b(0x582)][_0x10850b(0x4e9)]),_0x27c785=Object[_0x10850b(0x334)](_0x4378d3['views']??{})['flatMap'](_0x44b8a4=>{const _0x33d730=_0x10850b;var _0x3f0764;if(!_0x44b8a4[_0x33d730(0x582)]||_0x44b8a4[_0x33d730(0x582)][_0x33d730(0x358)](_0x4d14e3[_0x33d730(0x407)]['id']))return[];let _0x3448bf=_0x206e7e(((_0x3f0764=_0x4d14e3['viewIndexes'])==null?void 0x0:_0x3f0764[_0x44b8a4['id']])??_0x416f61,_0x44b8a4['fieldOrder'][_0x33d730(0x4e9)]);return[_0x13cf76['JSON1']['insertOp']([..._0x4c83f7[_0x33d730(0x197)](_0x5ebf6b,_0x44b8a4['id']),_0x33d730(0x582),_0x3448bf],_0x4d14e3[_0x33d730(0x407)]['id'])];});return _0x16f182([..._0x4d14e3['field'][_0x10850b(0x292)]===_0x13cf76[_0x10850b(0x517)][_0x10850b(0x26c)]?this[_0x10850b(0x559)](_0xb3c594):[],_0x13cf76[_0x10850b(0x575)][_0x10850b(0x48c)](_0x4c83f7[_0x10850b(0x407)](_0x5ebf6b,_0x4d14e3[_0x10850b(0x407)]['id']),_0x4d14e3[_0x10850b(0x407)]),_0x13cf76[_0x10850b(0x575)]['insertOp'](_0x4c83f7['fieldOrder'](_0x5ebf6b,_0x416f61),_0x4d14e3['field']['id']),..._0x27c785]);}['duplicateField'](_0xc6ad59,_0x4e1170,_0xcae806,_0x55353d){const _0x6a7cbc=_0x571676;let _0x1b4dc2=_0xc6ad59[_0x6a7cbc(0x291)][_0x4e1170];if(!_0x1b4dc2[_0x6a7cbc(0x3c2)][_0xcae806]||_0x1b4dc2['fields'][_0x55353d[_0x6a7cbc(0x407)]['id']]||_0x1b4dc2['fieldOrder'][_0x6a7cbc(0x358)](_0x55353d[_0x6a7cbc(0x407)]['id']))return _0x13cf76[_0x6a7cbc(0x575)][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x1b4dc2['fieldOrder']);let _0x5e94bd=_0x55353d[_0x6a7cbc(0x36f)]??_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x406)](_0xcae806)+0x1,_0x259790=_0x1b4dc2[_0x6a7cbc(0x582)][_0x6a7cbc(0x3c4)](_0xc767c8=>_0xc767c8!==_0x55353d['field']['id']),_0x519f02=_0x57eac1(_0x259790,_0x55353d[_0x6a7cbc(0x407)]['id'],_0x5e94bd),_0x44ee92=Object['values'](_0x1b4dc2['views']??{})[_0x6a7cbc(0x387)](_0x4535e1=>{const _0x325ddb=_0x6a7cbc;var _0x4a1772,_0x5e2726,_0x5a4f23,_0x1b83b9;let _0x573056=(_0x4a1772=_0x4535e1[_0x325ddb(0x582)])!=null&&_0x4a1772['length']?_0x4535e1[_0x325ddb(0x582)]:_0x259790;if(_0x573056[_0x325ddb(0x358)](_0x55353d[_0x325ddb(0x407)]['id']))return[];let _0xaa908a=_0x57eac1(_0x573056,_0x55353d[_0x325ddb(0x407)]['id'],((_0x5e2726=_0x55353d[_0x325ddb(0x3ff)])==null?void 0x0:_0x5e2726[_0x4535e1['id']])??_0x5e94bd),_0x256119=(_0x5a4f23=_0x4535e1['fieldSettings'])==null?void 0x0:_0x5a4f23[_0xcae806];return[this[_0x325ddb(0x40e)]([..._0x4c83f7['view'](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x582)],_0x4535e1[_0x325ddb(0x582)],_0xaa908a),..._0x256119?[this[_0x325ddb(0x40e)]([..._0x4c83f7[_0x325ddb(0x197)](_0x4e1170,_0x4535e1['id']),_0x325ddb(0x3ea),_0x55353d['field']['id']],(_0x1b83b9=_0x4535e1[_0x325ddb(0x3ea)])==null?void 0x0:_0x1b83b9[_0x55353d[_0x325ddb(0x407)]['id']],_0x256119)]:[]];}),_0x3e8f7e=Object['values'](_0x1b4dc2[_0x6a7cbc(0x38f)])[_0x6a7cbc(0x3c4)](_0x5c0508=>Object[_0x6a7cbc(0x41e)][_0x6a7cbc(0x189)]['call'](_0x5c0508[_0x6a7cbc(0x334)],_0xcae806))[_0x6a7cbc(0x329)](_0x2ca1f3=>this['_replaceOptional'](_0x4c83f7[_0x6a7cbc(0x4d1)](_0x4e1170,_0x2ca1f3['id'],_0x55353d[_0x6a7cbc(0x407)]['id']),_0x2ca1f3[_0x6a7cbc(0x334)][_0x55353d[_0x6a7cbc(0x407)]['id']],_0x2ca1f3[_0x6a7cbc(0x334)][_0xcae806]));return _0x16f182([..._0x55353d[_0x6a7cbc(0x407)][_0x6a7cbc(0x292)]===_0x13cf76['BaseFieldType'][_0x6a7cbc(0x26c)]?this[_0x6a7cbc(0x559)](_0xc6ad59):[],_0x13cf76[_0x6a7cbc(0x575)]['insertOp'](_0x4c83f7[_0x6a7cbc(0x407)](_0x4e1170,_0x55353d[_0x6a7cbc(0x407)]['id']),_0x55353d[_0x6a7cbc(0x407)]),_0x13cf76['JSON1'][_0x6a7cbc(0x1b4)]([_0x6a7cbc(0x291),_0x4e1170,_0x6a7cbc(0x582)],_0x1b4dc2[_0x6a7cbc(0x582)],_0x519f02),..._0x44ee92,..._0x3e8f7e]);}[_0x571676(0x241)](_0x479831,_0x5eca40,_0x97b9a9,_0x1751e4){const _0x23e42d=_0x571676;let _0x2547a5=_0x479831['tables'][_0x5eca40][_0x23e42d(0x3c2)][_0x97b9a9],_0x567133={..._0x2547a5,..._0x1751e4};Object[_0x23e42d(0x2db)](_0x1751e4)[_0x23e42d(0x3c9)](_0x4b0e58=>{_0x1751e4[_0x4b0e58]===void 0x0&&delete _0x567133[_0x4b0e58];});let _0x4ae4c6=_0x296551(_0x479831['tables'][_0x5eca40],_0x97b9a9,_0x2547a5,_0x567133);_0x567133=_0x4ae4c6[_0x23e42d(0x407)];let _0x24dffb=_0x13cf76[_0x23e42d(0x575)][_0x23e42d(0x1b4)](_0x4c83f7[_0x23e42d(0x407)](_0x5eca40,_0x97b9a9),_0x2547a5,_0x567133);return _0x567133[_0x23e42d(0x292)]===_0x13cf76[_0x23e42d(0x517)][_0x23e42d(0x26c)]?_0x16f182([...this['_materializeFormulaTableNames'](_0x479831),_0x24dffb,...this[_0x23e42d(0x46b)](_0x479831,_0x5eca40,_0x97b9a9,_0x567133)]):_0x16f182([_0x24dffb,..._0x4ae4c6['patches'][_0x23e42d(0x4e9)]?[this['setRangeValues'](_0x479831,_0x5eca40,_0x4ae4c6[_0x23e42d(0x2d8)])]:[]]);}[_0x571676(0x1d1)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad){const _0x370f41=_0x571676;return this[_0x370f41(0x241)](_0x5708c2,_0x540bde,_0x3b51ef,_0x10ffad);}['deleteField'](_0x1809dc,_0x17815a,_0x31d675){const _0x1d5959=_0x571676;let _0x4bb8b5=_0x1809dc[_0x1d5959(0x291)][_0x17815a];if(!(_0x4bb8b5!=null&&_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675])||_0x4bb8b5[_0x1d5959(0x422)]===_0x31d675||_0x31d675===_0x13cf76[_0x1d5959(0x544)])return _0x13cf76[_0x1d5959(0x575)][_0x1d5959(0x1b4)]([_0x1d5959(0x291),_0x17815a,_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5[_0x1d5959(0x582)],_0x4bb8b5==null?void 0x0:_0x4bb8b5['fieldOrder']);let _0xacb25=_0x4bb8b5[_0x1d5959(0x582)][_0x1d5959(0x406)](_0x31d675),_0x283fca=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x18d)])[_0x1d5959(0x387)](_0x3f6afd=>{const _0x48ee2a=_0x1d5959;var _0x3a495b,_0x231d4c,_0x49d483,_0x516f11,_0x5f3449,_0x2df84b,_0x46bbca;let _0x45db36=[],_0x356a87=((_0x3a495b=_0x3f6afd[_0x48ee2a(0x582)])==null?void 0x0:_0x3a495b[_0x48ee2a(0x406)](_0x31d675))??-0x1;_0x356a87>=0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'fieldOrder',_0x356a87],_0x31d675));let _0x4235ca=(_0x231d4c=_0x3f6afd['fieldSettings'])==null?void 0x0:_0x231d4c[_0x31d675];_0x4235ca!==void 0x0&&_0x45db36[_0x48ee2a(0x401)](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x4ed)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x3ea),_0x31d675],_0x4235ca));let _0x349309=_0x3f6afd[_0x48ee2a(0x3c4)]?{..._0x3f6afd[_0x48ee2a(0x3c4)],'conditions':_0x3f6afd['filter'][_0x48ee2a(0x3af)][_0x48ee2a(0x3c4)](_0x452895=>_0x452895[_0x48ee2a(0x384)]!==_0x31d675)}:_0x3f6afd[_0x48ee2a(0x3c4)];_0x349309&&_0x349309[_0x48ee2a(0x3af)][_0x48ee2a(0x4e9)]!==((_0x49d483=_0x3f6afd[_0x48ee2a(0x3c4)])==null?void 0x0:_0x49d483['conditions'][_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),'filter'],_0x3f6afd[_0x48ee2a(0x3c4)],_0x349309));let _0x5c3ab5=(_0x516f11=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x516f11[_0x48ee2a(0x3c4)](_0x506f56=>_0x506f56[_0x48ee2a(0x384)]!==_0x31d675);_0x5c3ab5&&_0x5c3ab5[_0x48ee2a(0x4e9)]!==((_0x5f3449=_0x3f6afd[_0x48ee2a(0x4af)])==null?void 0x0:_0x5f3449[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x4af)],_0x3f6afd[_0x48ee2a(0x4af)],_0x5c3ab5));let _0x399b13=(_0x2df84b=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x2df84b['filter'](_0x33292b=>_0x33292b['fieldId']!==_0x31d675);_0x399b13&&_0x399b13[_0x48ee2a(0x4e9)]!==((_0x46bbca=_0x3f6afd[_0x48ee2a(0x42c)])==null?void 0x0:_0x46bbca[_0x48ee2a(0x4e9)])&&_0x45db36[_0x48ee2a(0x401)](this[_0x48ee2a(0x40e)]([..._0x4c83f7['view'](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x42c)],_0x3f6afd[_0x48ee2a(0x42c)],_0x399b13));let _0x1a8a22=_0x171da6(_0x3f6afd['config'],_0x31d675);return JSON['stringify'](_0x1a8a22)!==JSON[_0x48ee2a(0x30d)](_0x3f6afd[_0x48ee2a(0x5b9)])&&_0x45db36['push'](_0x13cf76[_0x48ee2a(0x575)][_0x48ee2a(0x1b4)]([..._0x4c83f7[_0x48ee2a(0x197)](_0x17815a,_0x3f6afd['id']),_0x48ee2a(0x5b9)],_0x3f6afd[_0x48ee2a(0x5b9)],_0x1a8a22)),_0x45db36;}),_0x58180c=Object[_0x1d5959(0x334)](_0x4bb8b5[_0x1d5959(0x38f)])[_0x1d5959(0x387)](_0x5aabb4=>Object[_0x1d5959(0x41e)][_0x1d5959(0x189)][_0x1d5959(0x279)](_0x5aabb4['values'],_0x31d675)?[_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x4d1)](_0x17815a,_0x5aabb4['id'],_0x31d675),_0x5aabb4[_0x1d5959(0x334)][_0x31d675])]:[]);return _0x16f182([_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7[_0x1d5959(0x407)](_0x17815a,_0x31d675),_0x4bb8b5[_0x1d5959(0x3c2)][_0x31d675]),_0x13cf76['JSON1'][_0x1d5959(0x4ed)](_0x4c83f7['fieldOrder'](_0x17815a,_0xacb25),_0x31d675),..._0x283fca,..._0x58180c,...this[_0x1d5959(0x515)](_0x4bb8b5,_0x17815a,_0x4d659a=>_0x4d659a[_0x1d5959(0x33b)](_0x31d675+'\x1f'))]);}[_0x571676(0x1c4)](_0x56caf8,_0x1a724d,_0x4224f8,_0x5cceb9){const _0x57e890=_0x571676;let _0x4f07bf=_0x56caf8['tables'][_0x1a724d][_0x57e890(0x582)];if(_0x4224f8===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x5cceb9[_0x57e890(0x2a9)]===_0x13cf76[_0x57e890(0x544)])throw Error(_0x57e890(0x29d));let _0x409135=_0x3f7fa2(_0x4f07bf,_0x4224f8,_0x5cceb9);return _0x13cf76[_0x57e890(0x575)][_0x57e890(0x1b4)]([_0x57e890(0x291),_0x1a724d,_0x57e890(0x582)],_0x4f07bf,_0x409135);}[_0x571676(0x18a)](_0xda2967,_0x3e8426,_0x26c006,_0x395b82=_0xda2967['tables'][_0x3e8426]['viewOrder'][_0x571676(0x4e9)]){const _0x583c0e=_0x571676;return _0x16f182([_0x13cf76[_0x583c0e(0x575)][_0x583c0e(0x48c)](_0x4c83f7[_0x583c0e(0x197)](_0x3e8426,_0x26c006['id']),_0x26c006),_0x13cf76['JSON1'][_0x583c0e(0x48c)]([_0x583c0e(0x291),_0x3e8426,_0x583c0e(0x43a),_0x395b82],_0x26c006['id'])]);}[_0x571676(0x455)](_0x30a392,_0x407d8e,_0x2843b7,_0xa11917){const _0x392475=_0x571676;return _0x13cf76[_0x392475(0x575)]['replaceOp']([..._0x4c83f7[_0x392475(0x197)](_0x407d8e,_0x2843b7),'name'],_0x30a392[_0x392475(0x291)][_0x407d8e][_0x392475(0x18d)][_0x2843b7][_0x392475(0x46d)],_0xa11917);}['deleteView'](_0x29ed19,_0x541c0f,_0x39d92b){const _0x5cf766=_0x571676;let _0x35a2c8=_0x29ed19['tables'][_0x541c0f],_0x48fdf9=_0x35a2c8['views'][_0x39d92b],_0x553f96=_0x35a2c8[_0x5cf766(0x43a)]['indexOf'](_0x39d92b);return _0x16f182([_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)](_0x4c83f7[_0x5cf766(0x197)](_0x541c0f,_0x39d92b),_0x48fdf9),_0x13cf76[_0x5cf766(0x575)][_0x5cf766(0x4ed)]([_0x5cf766(0x291),_0x541c0f,_0x5cf766(0x43a),_0x553f96],_0x39d92b)]);}[_0x571676(0x5b5)](_0xf739f3,_0x2e71c6,_0x24102c,_0x5c8710){const _0x31671f=_0x571676;let _0x109188=_0xf739f3[_0x31671f(0x291)][_0x2e71c6]['viewOrder'],_0x1c94c1=_0x3f7fa2(_0x109188,_0x24102c,{'beforeFieldId':_0x5c8710[_0x31671f(0x262)],'afterFieldId':_0x5c8710[_0x31671f(0x338)]});return _0x13cf76[_0x31671f(0x575)][_0x31671f(0x1b4)]([_0x31671f(0x291),_0x2e71c6,_0x31671f(0x43a)],_0x109188,_0x1c94c1);}[_0x571676(0x20d)](_0x3c4f18,_0x490dff,_0x592e63,_0x4e7580){const _0x22c0d6=_0x571676;let _0x566da5=_0x3c4f18[_0x22c0d6(0x291)][_0x490dff]['views'][_0x592e63][_0x22c0d6(0x5b9)]??{},_0x369a6e={..._0x566da5,..._0x4e7580};return Object['keys'](_0x4e7580)[_0x22c0d6(0x3c9)](_0x49935f=>{_0x4e7580[_0x49935f]===void 0x0&&delete _0x369a6e[_0x49935f];}),_0x13cf76[_0x22c0d6(0x575)][_0x22c0d6(0x1b4)]([..._0x4c83f7[_0x22c0d6(0x197)](_0x490dff,_0x592e63),_0x22c0d6(0x5b9)],_0x566da5,_0x369a6e);}[_0x571676(0x1e1)](_0x4f6ab3,_0x51233c,_0x261ea1,_0x3c2689){const _0x3e810c=_0x571676;return this[_0x3e810c(0x40e)]([..._0x4c83f7[_0x3e810c(0x197)](_0x51233c,_0x261ea1),_0x3e810c(0x3c4)],_0x4f6ab3[_0x3e810c(0x291)][_0x51233c]['views'][_0x261ea1][_0x3e810c(0x3c4)],_0x3c2689);}[_0x571676(0x27b)](_0x1f71d8,_0x5dfbf2,_0x495fb1,_0x133420){const _0x497750=_0x571676;return this[_0x497750(0x40e)]([..._0x4c83f7[_0x497750(0x197)](_0x5dfbf2,_0x495fb1),'sort'],_0x1f71d8[_0x497750(0x291)][_0x5dfbf2][_0x497750(0x18d)][_0x495fb1][_0x497750(0x4af)],_0x133420);}[_0x571676(0x43b)](_0x8ca994,_0x53b4aa,_0x46c7a8,_0x3bd997){const _0x5afa58=_0x571676;return this['_replaceOptional']([..._0x4c83f7[_0x5afa58(0x197)](_0x53b4aa,_0x46c7a8),_0x5afa58(0x42c)],_0x8ca994[_0x5afa58(0x291)][_0x53b4aa][_0x5afa58(0x18d)][_0x46c7a8][_0x5afa58(0x42c)],_0x3bd997);}['setViewFieldVisible'](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,_0x13d3b7){const _0x1ea01a=_0x571676;return this[_0x1ea01a(0x2d3)](_0x4ba026,_0x396c1f,_0x4483ca,_0x5d45b3,{'hidden':!_0x13d3b7});}[_0x571676(0x272)](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,_0x68037b){return this['_setViewFieldSetting'](_0x3fb1d0,_0x5ee308,_0x23078c,_0x477a02,{'width':_0x68037b});}[_0x571676(0x55c)](_0x505255,_0x3b65ee,_0x2be32e,_0x17f3e2,_0x5de9c2){const _0x1379ba=_0x571676;let _0x24b2d7=_0x505255[_0x1379ba(0x291)][_0x3b65ee]['views'][_0x2be32e],_0x291ef6=_0x3f7fa2(_0x24b2d7['fieldOrder']??_0x505255[_0x1379ba(0x291)][_0x3b65ee][_0x1379ba(0x582)],_0x17f3e2,_0x5de9c2);return this['_replaceOptional']([..._0x4c83f7[_0x1379ba(0x197)](_0x3b65ee,_0x2be32e),_0x1379ba(0x582)],_0x24b2d7[_0x1379ba(0x582)],_0x291ef6);}[_0x571676(0x2d3)](_0x135cc6,_0x37e07e,_0x2c9af3,_0x2fa2f8,_0x4a04e9){const _0x118bb2=_0x571676;let _0x56da1c=_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)]??{},_0x4e5107={..._0x56da1c,[_0x2fa2f8]:{..._0x56da1c[_0x2fa2f8],..._0x4a04e9}};return this[_0x118bb2(0x40e)]([..._0x4c83f7[_0x118bb2(0x197)](_0x37e07e,_0x2c9af3),_0x118bb2(0x3ea)],_0x135cc6[_0x118bb2(0x291)][_0x37e07e][_0x118bb2(0x18d)][_0x2c9af3][_0x118bb2(0x3ea)],_0x4e5107);}['_createRecordOrderOp'](_0x4f8e94,_0x21e6de,_0x5aca59){const _0x342ff2=_0x571676;let _0x24dd5b=_0x4f8e94['tables'][_0x21e6de],_0x8f74ad=new Set(_0x5aca59[_0x342ff2(0x329)](_0x427487=>_0x427487['id'])),_0x550dbf=[...Object['values'](_0x24dd5b[_0x342ff2(0x38f)])[_0x342ff2(0x3c4)](_0x20dc92=>!_0x8f74ad[_0x342ff2(0x370)](_0x20dc92['id'])),..._0x5aca59][_0x342ff2(0x4af)]((_0x2303b9,_0x1bde74)=>String(_0x2303b9[_0x342ff2(0x34c)]??_0x2303b9['id'])['localeCompare'](String(_0x1bde74[_0x342ff2(0x34c)]??_0x1bde74['id'])))[_0x342ff2(0x329)](_0x3e2dcd=>_0x3e2dcd['id']),_0x25a468=[..._0x4c83f7['table'](_0x21e6de),_0x342ff2(0x1cd)];return _0x24dd5b[_0x342ff2(0x1cd)]?_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x1b4)](_0x25a468,_0x24dd5b['recordOrder'],_0x550dbf):_0x13cf76[_0x342ff2(0x575)][_0x342ff2(0x48c)](_0x25a468,_0x550dbf);}[_0x571676(0x559)](_0x14c7e2,_0x3aa30e=new Set()){const _0x5eb946=_0x571676;let _0x3aa388=(0x0,_0x13cf76[_0x5eb946(0x3a1)])(_0x14c7e2);return Object[_0x5eb946(0x334)](_0x14c7e2[_0x5eb946(0x291)])[_0x5eb946(0x3c4)](_0x1bf9bc=>!_0x3aa30e[_0x5eb946(0x370)](_0x1bf9bc['id']))['sort']((_0x217c94,_0x568544)=>_0x217c94['id'][_0x5eb946(0x391)](_0x568544['id']))[_0x5eb946(0x387)](_0x48d942=>{const _0x50c330=_0x5eb946;let _0x472711=_0x3aa388['get'](_0x48d942['id']);return!_0x472711||_0x48d942[_0x50c330(0x4b8)]===_0x472711?[]:[this[_0x50c330(0x40e)]([..._0x4c83f7[_0x50c330(0x4b7)](_0x48d942['id']),_0x50c330(0x4b8)],_0x48d942['formulaName'],_0x472711)];});}[_0x571676(0x46b)](_0x439d81,_0x619e63,_0x489cb4,_0x2da6ce){const _0x23cc34=_0x571676;var _0x526c62,_0x41c3f7;let _0x5a9886=_0x48b6e1(_0x439d81['tables'][_0x619e63]),_0x4e7bd8=String(((_0x526c62=_0x2da6ce[_0x23cc34(0x5b9)])==null?void 0x0:_0x526c62[_0x23cc34(0x2b7)])??'')['trim'](),_0x4d79b5=(_0x41c3f7=_0x5a9886[_0x23cc34(0x28e)])==null?void 0x0:_0x41c3f7[_0x489cb4];if(_0x4d79b5==null)return[];let _0xb1436b=_0x5a9886[_0x23cc34(0x1cd)]??Object['keys'](_0x5a9886[_0x23cc34(0x38f)]),_0x138e88=_0xb1436b[_0x23cc34(0x329)](_0x4ac483=>{const _0x16766b=_0x23cc34;var _0x12a602;return(_0x12a602=_0x5a9886[_0x16766b(0x563)])==null?void 0x0:_0x12a602[_0x4ac483];})['find'](_0x4c183a=>_0x4c183a!=null);return _0xb1436b[_0x23cc34(0x387)](_0x50c4d5=>{const _0x236e5f=_0x23cc34;var _0x1b9471,_0x5d2378;let _0x5a1835=(_0x1b9471=_0x5a9886[_0x236e5f(0x563)])==null?void 0x0:_0x1b9471[_0x50c4d5];if(_0x5a1835==null)return[];let _0x4bebbd=(_0x5d2378=_0x5a9886[_0x236e5f(0x38e)])==null||(_0x5d2378=_0x5d2378[_0x5a1835])==null?void 0x0:_0x5d2378[_0x4d79b5],_0x597867=_0x4e7bd8?_0x5a1835===_0x138e88?{'f':_0x4e7bd8,'si':_0x489cb4}:{'si':_0x489cb4}:{'v':null,'t':null};return[this[_0x236e5f(0x40e)](_0x4c83f7['cellData'](_0x619e63,_0x5a1835,_0x4d79b5),_0x4bebbd,_0x597867)];});}[_0x571676(0x587)](_0x14e705,_0x8304dd,_0xbf492e){const _0x2c2aa7=_0x571676;var _0x42e8cb;let _0x2e70b2=new Map(Object[_0x2c2aa7(0x460)](((_0x42e8cb=_0x14e705[_0x2c2aa7(0x23c)])==null?void 0x0:_0x42e8cb[_0x2c2aa7(0x1df)])??{})),_0x338512=new Map(),_0x182f52=new Set(),_0x55d7c9=_0xbf492e[_0x2c2aa7(0x329)](({recordId:_0x450e67,fieldId:_0x55890c,attachments:_0x8895f6})=>{const _0x20e75d=_0x2c2aa7;var _0x1496b2;let _0x3228e4=_0x43571f(_0x55890c,_0x450e67),_0x4095b7=_0x8895f6[_0x20e75d(0x329)]((_0x14a7ed,_0x40d9d8)=>String(_0x14a7ed['id']??_0x3228e4+'\x1f'+_0x40d9d8));return _0x182f52[_0x20e75d(0x54c)](_0x3228e4),_0x2e70b2['set'](_0x3228e4,_0x4095b7),_0x8895f6['forEach']((_0x45a0ca,_0x498efd)=>{const _0xe1d0cd=_0x20e75d;let _0x1500b0=_0x4095b7[_0x498efd];_0x338512[_0xe1d0cd(0x569)](_0x1500b0,{..._0x45a0ca,'id':_0x1500b0});}),this['_replaceOptional'](_0x4c83f7[_0x20e75d(0x3cd)](_0x8304dd,_0x3228e4),(_0x1496b2=_0x14e705[_0x20e75d(0x23c)])==null||(_0x1496b2=_0x1496b2[_0x20e75d(0x1df)])==null?void 0x0:_0x1496b2[_0x3228e4],_0x4095b7);}),_0x5933db=Array[_0x2c2aa7(0x2ed)](_0x338512)[_0x2c2aa7(0x329)](([_0x5c2358,_0x1861c3])=>{const _0x9b2bfa=_0x2c2aa7;var _0x256057;return this[_0x9b2bfa(0x40e)](_0x4c83f7[_0x9b2bfa(0x4fe)](_0x8304dd,_0x5c2358),(_0x256057=_0x14e705[_0x9b2bfa(0x23c)])==null||(_0x256057=_0x256057[_0x9b2bfa(0x1d4)])==null?void 0x0:_0x256057[_0x5c2358],_0x1861c3);}),_0x1d5bbf=new Set(Array[_0x2c2aa7(0x2ed)](_0x2e70b2['values']())[_0x2c2aa7(0x541)]()),_0x63e458=new Set(Array[_0x2c2aa7(0x2ed)](_0x182f52)[_0x2c2aa7(0x387)](_0x535393=>{const _0x52a76b=_0x2c2aa7;var _0x4932a6;return((_0x4932a6=_0x14e705['resources'])==null||(_0x4932a6=_0x4932a6[_0x52a76b(0x1df)])==null?void 0x0:_0x4932a6[_0x535393])??[];})),_0x13e4b6=Array[_0x2c2aa7(0x2ed)](_0x63e458)[_0x2c2aa7(0x387)](_0x53330c=>{const _0x4a9e37=_0x2c2aa7;var _0xab1372;let _0x53dfe6=(_0xab1372=_0x14e705[_0x4a9e37(0x23c)])==null||(_0xab1372=_0xab1372[_0x4a9e37(0x1d4)])==null?void 0x0:_0xab1372[_0x53330c];return _0x53dfe6!==void 0x0&&!_0x1d5bbf[_0x4a9e37(0x370)](_0x53330c)?[_0x13cf76[_0x4a9e37(0x575)]['removeOp'](_0x4c83f7[_0x4a9e37(0x4fe)](_0x8304dd,_0x53330c),_0x53dfe6)]:[];});return[..._0x55d7c9,..._0x5933db,..._0x13e4b6];}[_0x571676(0x515)](_0x57a0ef,_0x1da52b,_0x523bf2){const _0x52d7f2=_0x571676;var _0x576085;let _0x4d85d2=((_0x576085=_0x57a0ef[_0x52d7f2(0x23c)])==null?void 0x0:_0x576085[_0x52d7f2(0x1df)])??{},_0x4ad81f=Object['entries'](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0x14b3fb])=>_0x523bf2(_0x14b3fb));if(!_0x4ad81f[_0x52d7f2(0x4e9)])return[];let _0x57ff22=new Set(Object[_0x52d7f2(0x460)](_0x4d85d2)[_0x52d7f2(0x3c4)](([_0xfb84c4])=>!_0x523bf2(_0xfb84c4))[_0x52d7f2(0x387)](([,_0x93f832])=>_0x93f832)),_0xf6151a=new Set(_0x4ad81f[_0x52d7f2(0x387)](([,_0x5a030c])=>_0x5a030c));return[..._0x4ad81f[_0x52d7f2(0x329)](([_0x7aa18f,_0x1bbf14])=>_0x13cf76[_0x52d7f2(0x575)][_0x52d7f2(0x4ed)](_0x4c83f7[_0x52d7f2(0x3cd)](_0x1da52b,_0x7aa18f),_0x1bbf14)),...Array[_0x52d7f2(0x2ed)](_0xf6151a)[_0x52d7f2(0x387)](_0x2f8d18=>{const _0x2e07af=_0x52d7f2;var _0x443d34;let _0x2e8d0c=(_0x443d34=_0x57a0ef[_0x2e07af(0x23c)])==null||(_0x443d34=_0x443d34[_0x2e07af(0x1d4)])==null?void 0x0:_0x443d34[_0x2f8d18];return _0x2e8d0c!==void 0x0&&!_0x57ff22[_0x2e07af(0x370)](_0x2f8d18)?[_0x13cf76[_0x2e07af(0x575)]['removeOp'](_0x4c83f7[_0x2e07af(0x4fe)](_0x1da52b,_0x2f8d18),_0x2e8d0c)]:[];})];}[_0x571676(0x40e)](_0x54c02d,_0x1ca991,_0x5162c7){const _0x366e89=_0x571676;return _0x1ca991===void 0x0?_0x13cf76['JSON1'][_0x366e89(0x48c)](_0x54c02d,_0x5162c7):_0x13cf76[_0x366e89(0x575)][_0x366e89(0x1b4)](_0x54c02d,_0x1ca991,_0x5162c7);}};function _0x296551(_0x11f3c8,_0x428b31,_0x2773e4,_0x359600){const _0x3badb1=_0x571676;var _0x2bc5c6;let _0x254cba=_0x359600['type'];if(_0x2773e4['type']!==_0x254cba||_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x221)]&&_0x254cba!==_0x13cf76[_0x3badb1(0x517)][_0x3badb1(0x247)]||_0x5440b6(_0x359600[_0x3badb1(0x5b9)][_0x3badb1(0x17b)]))return{'field':_0x359600,'patches':[]};let _0x3f00b4=_0x467848(_0x2773e4),_0xb6cd59=_0x467848(_0x359600);if(![..._0x3f00b4][_0x3badb1(0x1ab)](_0xac1641=>!_0xb6cd59[_0x3badb1(0x370)](_0xac1641)))return{'field':_0x359600,'patches':[]};let _0x31461f=_0x9655a9(_0x359600['defaultValue'],_0xb6cd59,_0x254cba),_0x236626=_0x3c83ac(_0x31461f,_0x359600[_0x3badb1(0x5ce)])?_0x359600:{..._0x359600,'defaultValue':_0x31461f},_0x2f1fac=_0x48b6e1(_0x11f3c8),_0x44cbff=(_0x2bc5c6=_0x2f1fac['colIndex'])==null?void 0x0:_0x2bc5c6[_0x428b31];return _0x44cbff==null?{'field':_0x236626,'patches':[]}:{'field':_0x236626,'patches':(_0x2f1fac['recordOrder']??[])['flatMap'](_0x4e1135=>{const _0x4cc526=_0x3badb1;var _0x27bd85,_0xa13100;let _0x4fe0c3=(_0x27bd85=_0x2f1fac['rowIndex'])==null?void 0x0:_0x27bd85[_0x4e1135],_0xf5ed36=(_0xa13100=_0x2f1fac['records'][_0x4e1135])==null?void 0x0:_0xa13100[_0x4cc526(0x334)][_0x428b31],_0x299eb4=_0x9655a9(_0xf5ed36,_0xb6cd59,_0x254cba);return _0x4fe0c3==null||_0x3c83ac(_0x299eb4,_0xf5ed36)?[]:[{'row':_0x4fe0c3,'col':_0x44cbff,'value':_0x299eb4??null}];})};}function _0x5440b6(_0x37d0ec){const _0x559be4=_0x571676;return typeof _0x37d0ec==_0x559be4(0x1a7)&&!!_0x37d0ec&&_0x559be4(0x292)in _0x37d0ec&&_0x37d0ec[_0x559be4(0x292)]===_0x559be4(0x407);}function _0x467848(_0x4da644){const _0x1bd316=_0x571676;var _0x33c3b6;let _0x4098f6=Array['isArray']((_0x33c3b6=_0x4da644[_0x1bd316(0x5b9)])==null?void 0x0:_0x33c3b6[_0x1bd316(0x386)])?_0x4da644[_0x1bd316(0x5b9)][_0x1bd316(0x386)]:[];return new Set(_0x4098f6[_0x1bd316(0x387)](_0x4ec846=>{const _0x4f25be=_0x1bd316;if(!_0x4ec846||typeof _0x4ec846!=_0x4f25be(0x1a7)||!('id'in _0x4ec846))return[];let _0x3948b4=String(_0x4ec846['id']);return _0x3948b4?[_0x3948b4]:[];}));}function _0x9655a9(_0x542e7d,_0xac5c7b,_0x2a2538){const _0x31d4ab=_0x571676;if(_0x542e7d==null||_0x542e7d==='')return _0x542e7d;if(_0x2a2538===_0x13cf76[_0x31d4ab(0x517)][_0x31d4ab(0x221)])return _0xac5c7b[_0x31d4ab(0x370)](String(_0x542e7d))?_0x542e7d:null;let _0x1460dc=Array[_0x31d4ab(0x21f)](_0x542e7d)?_0x542e7d[_0x31d4ab(0x329)](String):String(_0x542e7d)[_0x31d4ab(0x21e)](',')[_0x31d4ab(0x329)](_0x1692e9=>_0x1692e9['trim']())[_0x31d4ab(0x3c4)](Boolean),_0xa7c0c9=_0x1460dc[_0x31d4ab(0x3c4)](_0x6ccc97=>_0xac5c7b[_0x31d4ab(0x370)](_0x6ccc97));return _0xa7c0c9[_0x31d4ab(0x4e9)]===_0x1460dc['length']?_0x542e7d:Array[_0x31d4ab(0x21f)](_0x542e7d)?_0xa7c0c9:String(_0x542e7d)['includes'](',')?_0xa7c0c9['join'](','):_0xa7c0c9[0x0]??[];}function _0x3c83ac(_0x2711c8,_0x443c91){const _0x6d58f4=_0x571676;return JSON[_0x6d58f4(0x30d)](_0x2711c8)===JSON['stringify'](_0x443c91);}function _0x102c8d(_0x362486,_0xbef237,_0x2e2923){const _0x13114f=_0x571676;var _0x28324f,_0x1fd654,_0x53d3ff,_0x628fdb;let _0x3f41ed=(_0x28324f=_0x362486[_0x13114f(0x563)])==null?void 0x0:_0x28324f[_0xbef237],_0x1bb51d=(_0x1fd654=_0x362486[_0x13114f(0x28e)])==null?void 0x0:_0x1fd654[_0x2e2923];return _0x3f41ed!=null&&_0x1bb51d!=null&&((_0x53d3ff=_0x362486[_0x13114f(0x556)])==null?void 0x0:_0x53d3ff[_0x3f41ed])===_0xbef237&&((_0x628fdb=_0x362486[_0x13114f(0x351)])==null?void 0x0:_0x628fdb[_0x1bb51d])===_0x2e2923&&_0x362486[_0x13114f(0x38e)]!=null;}function _0x13c483(_0xf97d67,_0x4850a4,_0x485b3d){const _0x31bf5f=_0x571676;var _0x1f4a89,_0x382684;return((_0x1f4a89=_0xf97d67['rowId'])==null?void 0x0:_0x1f4a89[_0x4850a4])!=null&&((_0x382684=_0xf97d67['colId'])==null?void 0x0:_0x382684[_0x485b3d])!=null&&_0xf97d67[_0x31bf5f(0x38e)]!=null;}function _0x3f7fa2(_0x49cebb,_0x51200c,_0x4e1915){const _0x45f5e1=_0x571676;let _0x5a75e2=_0x49cebb[_0x45f5e1(0x3c4)](_0x568d36=>_0x568d36!==_0x51200c),_0xd42380=_0x4e1915['beforeFieldId']?_0x5a75e2[_0x45f5e1(0x406)](_0x4e1915[_0x45f5e1(0x2a9)]):_0x4e1915[_0x45f5e1(0x319)]?_0x5a75e2['indexOf'](_0x4e1915[_0x45f5e1(0x319)])+0x1:_0x5a75e2[_0x45f5e1(0x4e9)];return _0x5a75e2[_0x45f5e1(0x5bf)](_0xd42380<0x0?_0x5a75e2[_0x45f5e1(0x4e9)]:_0xd42380,0x0,_0x51200c),_0x5a75e2;}function _0x57eac1(_0x51d405,_0x40b6eb,_0x12af63){const _0x1eb53b=_0x571676;let _0x1a8b91=_0x51d405[_0x1eb53b(0x3c4)](_0x19048a=>_0x19048a!==_0x40b6eb);return _0x1a8b91[_0x1eb53b(0x5bf)](_0x206e7e(_0x12af63,_0x1a8b91[_0x1eb53b(0x4e9)]),0x0,_0x40b6eb),_0x1a8b91;}function _0x171da6(_0x5469c0,_0x1d9dc6,_0x571e51){const _0x1386f3=_0x571676;if(Array[_0x1386f3(0x21f)](_0x5469c0))return _0x571e51===_0x1386f3(0x1bb)?_0x5469c0[_0x1386f3(0x3c4)](_0x422993=>_0x422993!==_0x1d9dc6):_0x5469c0[_0x1386f3(0x387)](_0x122cb4=>{const _0x4b8c18=_0x1386f3;if(_0x122cb4&&typeof _0x122cb4=='object'&&!Array[_0x4b8c18(0x21f)](_0x122cb4)&&_0x122cb4[_0x4b8c18(0x384)]===_0x1d9dc6)return[];let _0x1ad9af=_0x171da6(_0x122cb4,_0x1d9dc6);return _0x1ad9af===void 0x0?[]:[_0x1ad9af];});if(!_0x5469c0||typeof _0x5469c0!=_0x1386f3(0x1a7))return _0x571e51!=null&&_0x571e51[_0x1386f3(0x398)](_0x1386f3(0x20b))&&_0x5469c0===_0x1d9dc6?void 0x0:_0x5469c0;let _0x554a2f=_0x5469c0;if(_0x554a2f['fieldId']!==_0x1d9dc6)return Object[_0x1386f3(0x1fc)](Object['entries'](_0x554a2f)['flatMap'](([_0x4d111d,_0x257116])=>{const _0x1c1a4f=_0x1386f3;if(_0x4d111d===_0x1d9dc6&&_0x571e51===_0x1c1a4f(0x3ea))return[];let _0x48f168=_0x171da6(_0x257116,_0x1d9dc6,_0x4d111d);return _0x48f168===void 0x0?[]:[[_0x4d111d,_0x48f168]];}));}function _0x206e7e(_0x233cc8,_0x33ebb7){const _0x5a3695=_0x571676;return Math[_0x5a3695(0x402)](0x0,Math[_0x5a3695(0x5a2)](_0x233cc8,_0x33ebb7));}function _0x110a65(_0x234552){'@babel/helpers - typeof';const _0x53c070=_0x571676;return _0x110a65=typeof Symbol=='function'&&typeof Symbol[_0x53c070(0x2de)]==_0x53c070(0x45e)?function(_0x26ab60){return typeof _0x26ab60;}:function(_0x1772bf){const _0x4ebc8b=_0x53c070;return _0x1772bf&&typeof Symbol==_0x4ebc8b(0x3ac)&&_0x1772bf[_0x4ebc8b(0x298)]===Symbol&&_0x1772bf!==Symbol[_0x4ebc8b(0x41e)]?_0x4ebc8b(0x45e):typeof _0x1772bf;},_0x110a65(_0x234552);}function _0x5cf9cd(_0x388aaf,_0x1b897d){const _0x23b6f7=_0x571676;if(_0x110a65(_0x388aaf)!=_0x23b6f7(0x1a7)||!_0x388aaf)return _0x388aaf;var _0x1e4db1=_0x388aaf[Symbol[_0x23b6f7(0x489)]];if(_0x1e4db1!==void 0x0){var _0x51269f=_0x1e4db1['call'](_0x388aaf,_0x1b897d||_0x23b6f7(0x353));if(_0x110a65(_0x51269f)!=_0x23b6f7(0x1a7))return _0x51269f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1b897d===_0x23b6f7(0x2b6)?String:Number)(_0x388aaf);}function _0x26539e(_0x156b3c){const _0x20d780=_0x571676;var _0x42390c=_0x5cf9cd(_0x156b3c,_0x20d780(0x2b6));return _0x110a65(_0x42390c)=='symbol'?_0x42390c:_0x42390c+'';}function _0x1a302a(_0x4dbd0f,_0x551138,_0x1758a8){const _0x5b6105=_0x571676;return(_0x551138=_0x26539e(_0x551138))in _0x4dbd0f?Object[_0x5b6105(0x1a1)](_0x4dbd0f,_0x551138,{'value':_0x1758a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4dbd0f[_0x551138]=_0x1758a8,_0x4dbd0f;}let _0x1be8ce=(0x0,_0x13cf76[_0x571676(0x220)])('base.field-registry.service');var _0x314c5d=class extends _0x13cf76[_0x571676(0x323)]{constructor(..._0x2b3f78){const _0x3b4c59=_0x571676;super(..._0x2b3f78),_0x1a302a(this,_0x3b4c59(0x28b),new Map());}['register'](_0x38b364){const _0x38882a=_0x571676;return this[_0x38882a(0x28b)][_0x38882a(0x569)](_0x38b364['type'],_0x38b364),(0x0,_0x13cf76['toDisposable'])(()=>this[_0x38882a(0x28b)][_0x38882a(0x37c)](_0x38b364[_0x38882a(0x292)]));}[_0x571676(0x59c)](_0x1a6fd0){const _0x8aa367=_0x571676;let _0x2d9a3d=this[_0x8aa367(0x28b)][_0x8aa367(0x59c)](_0x1a6fd0);if(!_0x2d9a3d)throw Error(_0x8aa367(0x1d5)+_0x1a6fd0+_0x8aa367(0x352));return _0x2d9a3d;}['getTypePlugin'](_0x5727a6){const _0x348b2c=_0x571676;return this[_0x348b2c(0x28b)]['get'](_0x5727a6);}[_0x571676(0x245)](){const _0xa6fe02=_0x571676;return Array[_0xa6fe02(0x2ed)](this[_0xa6fe02(0x28b)][_0xa6fe02(0x334)]());}},_0x47eee2=class{constructor(_0x5f27db){const _0x1e3418=_0x571676;this[_0x1e3418(0x2aa)]=_0x5f27db,_0x1a302a(this,_0x1e3418(0x292),_0x93a0d4[_0x1e3418(0x1a5)][_0x1e3418(0x52e)]),_0x1a302a(this,'subType',_0x93a0d4[_0x1e3418(0x2a0)][_0x1e3418(0x423)]),_0x1a302a(this,_0x1e3418(0x19f),_0x13cf76[_0x1e3418(0x46c)][_0x1e3418(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x1e3418(0x315),!0x0),this['id']=this[_0x1e3418(0x292)]+'.'+this['subType']+'_'+_0x5f27db;}},_0x144443=class{constructor(_0x423f05){const _0x2f40ee=_0x571676;this[_0x2f40ee(0x2aa)]=_0x423f05,_0x1a302a(this,_0x2f40ee(0x292),_0x93a0d4[_0x2f40ee(0x1a5)][_0x2f40ee(0x52e)]),_0x1a302a(this,_0x2f40ee(0x3ba),_0x93a0d4[_0x2f40ee(0x2a0)][_0x2f40ee(0x4a8)]),_0x1a302a(this,_0x2f40ee(0x19f),_0x13cf76[_0x2f40ee(0x46c)][_0x2f40ee(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this[_0x2f40ee(0x292)]+'.'+this[_0x2f40ee(0x3ba)]+'_'+_0x423f05;}},_0x5af97c=class{constructor(_0x2edfaa){const _0x50725d=_0x571676;this[_0x50725d(0x2aa)]=_0x2edfaa,_0x1a302a(this,_0x50725d(0x292),_0x93a0d4[_0x50725d(0x1a5)]['Base']),_0x1a302a(this,_0x50725d(0x3ba),_0x93a0d4[_0x50725d(0x2a0)]['Edit']),_0x1a302a(this,_0x50725d(0x19f),_0x13cf76['PermissionStatus'][_0x50725d(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x50725d(0x315),!0x0),this['id']=this[_0x50725d(0x292)]+'.'+this['subType']+'_'+_0x2edfaa;}},_0x2199dd=class{constructor(_0x54ce74){const _0x2af923=_0x571676;this[_0x2af923(0x2aa)]=_0x54ce74,_0x1a302a(this,'type',_0x93a0d4[_0x2af923(0x1a5)][_0x2af923(0x52e)]),_0x1a302a(this,_0x2af923(0x3ba),_0x93a0d4[_0x2af923(0x2a0)][_0x2af923(0x466)]),_0x1a302a(this,_0x2af923(0x19f),_0x13cf76[_0x2af923(0x46c)][_0x2af923(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x2af923(0x315),!0x0),this['id']=this[_0x2af923(0x292)]+'.'+this[_0x2af923(0x3ba)]+'_'+_0x54ce74;}},_0xdd0e39=class{constructor(_0x13684c,_0x57d987){const _0x4f916a=_0x571676;this[_0x4f916a(0x2aa)]=_0x13684c,this[_0x4f916a(0x3f3)]=_0x57d987,_0x1a302a(this,_0x4f916a(0x292),_0x93a0d4['UnitObject'][_0x4f916a(0x4d7)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4f916a(0x2a0)][_0x4f916a(0x5a0)]),_0x1a302a(this,_0x4f916a(0x19f),_0x13cf76['PermissionStatus'][_0x4f916a(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x4f916a(0x3ba)]+'_'+_0x13684c+'_'+_0x57d987;}},_0x2f2a0a=class{constructor(_0x5e2660,_0x3df6d6){const _0x5d45c6=_0x571676;this[_0x5d45c6(0x2aa)]=_0x5e2660,this['objectId']=_0x3df6d6,_0x1a302a(this,_0x5d45c6(0x292),_0x93a0d4[_0x5d45c6(0x1a5)][_0x5d45c6(0x24c)]),_0x1a302a(this,_0x5d45c6(0x3ba),_0x93a0d4['UnitAction'][_0x5d45c6(0x5a0)]),_0x1a302a(this,_0x5d45c6(0x19f),_0x13cf76[_0x5d45c6(0x46c)][_0x5d45c6(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x5d45c6(0x315),!0x0),this['id']=this[_0x5d45c6(0x292)]+'.'+this[_0x5d45c6(0x3ba)]+'_'+_0x5e2660+'_'+_0x3df6d6;}},_0x27232b=class{constructor(_0x1d830d,_0x1566a0){const _0xca47f5=_0x571676;this[_0xca47f5(0x2aa)]=_0x1d830d,this[_0xca47f5(0x3f3)]=_0x1566a0,_0x1a302a(this,_0xca47f5(0x292),_0x93a0d4['UnitObject'][_0xca47f5(0x52c)]),_0x1a302a(this,'subType',_0x93a0d4[_0xca47f5(0x2a0)]['Edit']),_0x1a302a(this,'status',_0x13cf76[_0xca47f5(0x46c)][_0xca47f5(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0xca47f5(0x315),!0x0),this['id']=this['type']+'.'+this[_0xca47f5(0x3ba)]+'_'+_0x1d830d+'_'+_0x1566a0;}},_0x1a10c2=class{constructor(_0x15aa5a,_0xcfe33c){const _0x410f2f=_0x571676;this[_0x410f2f(0x2aa)]=_0x15aa5a,this[_0x410f2f(0x3f3)]=_0xcfe33c,_0x1a302a(this,_0x410f2f(0x292),_0x93a0d4['UnitObject'][_0x410f2f(0x346)]),_0x1a302a(this,_0x410f2f(0x3ba),_0x93a0d4[_0x410f2f(0x2a0)]['Edit']),_0x1a302a(this,_0x410f2f(0x19f),_0x13cf76[_0x410f2f(0x46c)][_0x410f2f(0x584)]),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x410f2f(0x315),!0x0),this['id']=this[_0x410f2f(0x292)]+'.'+this['subType']+'_'+_0x15aa5a+'_'+_0xcfe33c;}},_0x46a5c4=class{constructor(_0x1e76a8,_0x1820fc){const _0x4d2d14=_0x571676;this[_0x4d2d14(0x2aa)]=_0x1e76a8,this[_0x4d2d14(0x3f3)]=_0x1820fc,_0x1a302a(this,_0x4d2d14(0x292),_0x93a0d4[_0x4d2d14(0x1a5)][_0x4d2d14(0x32f)]),_0x1a302a(this,'subType',_0x93a0d4[_0x4d2d14(0x2a0)][_0x4d2d14(0x5a0)]),_0x1a302a(this,_0x4d2d14(0x19f),_0x13cf76[_0x4d2d14(0x46c)]['INIT']),_0x1a302a(this,'id',void 0x0),_0x1a302a(this,_0x4d2d14(0x315),!0x0),this['id']=this['type']+'.'+this[_0x4d2d14(0x3ba)]+'_'+_0x1e76a8+'_'+_0x1820fc;}};let _0x147f37=[_0x93a0d4['UnitAction'][_0x571676(0x5a0)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x4a8)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x466)],_0x93a0d4[_0x571676(0x2a0)][_0x571676(0x423)]],_0xcee863=new Set([_0x93a0d4[_0x571676(0x1a5)]['Base'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x346)],_0x93a0d4['UnitObject']['BaseField'],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x52c)],_0x93a0d4[_0x571676(0x1a5)][_0x571676(0x32f)],_0x93a0d4[_0x571676(0x1a5)]['BaseDashboard']]),_0x1a654f=_0x571676(0x211),_0x2383e6=_0x571676(0x26e),_0xbd8392=_0x571676(0x507),_0x870127=_0x571676(0x30c),_0xbce93f=_0x571676(0x546);function _0x1162c3(_0x23ce17){return''+_0x1a654f+encodeURIComponent(_0x23ce17);}function _0x1d768a(_0x53f17a,_0x415e58){return''+_0x2383e6+encodeURIComponent(_0x53f17a)+'/'+encodeURIComponent(_0x415e58);}function _0x458252(_0x577399,_0x12dbd7){return''+_0xbd8392+encodeURIComponent(_0x577399)+'/'+encodeURIComponent(_0x12dbd7);}function _0x3c9691(_0x4c9a33,_0x475539){return''+_0x870127+encodeURIComponent(_0x4c9a33)+'/'+encodeURIComponent(_0x475539);}function _0x47141a(_0xc3e94c){return''+_0xbce93f+encodeURIComponent(_0xc3e94c);}function _0x41f091(_0x246e3a,_0x5cd3e0,_0xb30799){const _0x27b621=_0x571676;if(_0x5cd3e0===_0x246e3a)switch(_0xb30799){case _0x93a0d4[_0x27b621(0x2a0)][_0x27b621(0x5a0)]:return new _0x5af97c(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x4a8)]:return new _0x144443(_0x246e3a);case _0x93a0d4[_0x27b621(0x2a0)]['Export']:return new _0x2199dd(_0x246e3a);case _0x93a0d4['UnitAction'][_0x27b621(0x423)]:return new _0x47eee2(_0x246e3a);default:throw Error(_0x27b621(0x1b2)+_0xb30799);}if(_0xb30799!==_0x93a0d4['UnitAction'][_0x27b621(0x5a0)])throw Error(_0x27b621(0x3e7)+_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x1a654f))return new _0x1a10c2(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0x2383e6))return new _0x2f2a0a(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0['startsWith'](_0xbd8392))return new _0x27232b(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0x870127))return new _0x46a5c4(_0x246e3a,_0x5cd3e0);if(_0x5cd3e0[_0x27b621(0x33b)](_0xbce93f))return new _0xdd0e39(_0x246e3a,_0x5cd3e0);throw Error(_0x27b621(0x4aa)+_0x5cd3e0);}function _0x22a775(_0x349a50,_0x357ae8,_0x2ea948,_0x508b2e){const _0x38af54=_0x571676;var _0x2d0bc7;return((_0x2d0bc7=_0x349a50[_0x38af54(0x488)](_0x41f091(_0x357ae8,_0x2ea948,_0x508b2e)['id']))==null?void 0x0:_0x2d0bc7['value'])??!0x0;}function _0x10a84e(_0x44e3c7,_0x33e606,_0x23e2cc,_0x2b7572,_0x6be8a9){const _0x3b401b=_0x571676;let _0x551b34=_0x41f091(_0x33e606,_0x23e2cc,_0x2b7572);_0x44e3c7[_0x3b401b(0x488)](_0x551b34['id'])||_0x44e3c7['addPermissionPoint'](_0x551b34),_0x44e3c7[_0x3b401b(0x1f2)](_0x551b34['id'],_0x6be8a9);}function _0xf687c4(_0x976592,_0x98bbc8,_0x17ab21,_0xe56c43){const _0x3978a4=_0x571676;_0x976592[_0x3978a4(0x42f)](_0x41f091(_0x98bbc8,_0x17ab21,_0xe56c43)['id']);}function _0x43ed86(_0x4e7d47,_0x1dbc97){const _0x1f0965=_0x571676;_0x4e7d47[_0x1f0965(0x451)]()[_0x1f0965(0x3c9)]((_0x2fc6cb,_0x1ca4d7)=>{const _0xe1c280=_0x1f0965;_0x2fc6cb[_0xe1c280(0x362)](_0x284a7a=>{const _0x2d4c54=_0xe1c280;_0xcee863['has'](_0x284a7a[_0x2d4c54(0x292)])&&_0x2d4c54(0x2aa)in _0x284a7a&&_0x284a7a[_0x2d4c54(0x2aa)]===_0x1dbc97&&_0x4e7d47[_0x2d4c54(0x42f)](_0x1ca4d7);})[_0xe1c280(0x294)]();});}function _0x712233(_0x26826a,_0xfd0b62,_0xba9186){const _0x265ef3=_0x571676;return _0x22a775(_0x26826a,_0xfd0b62,_0xfd0b62,_0x93a0d4[_0x265ef3(0x2a0)][_0x265ef3(0x5a0)])&&Array[_0x265ef3(0x2ed)](_0xba9186)[_0x265ef3(0x5a5)](_0x100a7c=>_0x22a775(_0x26826a,_0xfd0b62,_0x100a7c,_0x93a0d4['UnitAction'][_0x265ef3(0x5a0)]));}function _0xddcdca(_0x2ad919,_0x310be2){return function(_0x1ee72c,_0x1e0c0a){_0x310be2(_0x1ee72c,_0x1e0c0a,_0x2ad919);};}function _0xd015f8(_0x377755,_0x4b6650,_0x57497e,_0x6f964c){const _0x3f5a64=_0x571676;var _0x1c7009=arguments[_0x3f5a64(0x4e9)],_0x4fbfd2=_0x1c7009<0x3?_0x4b6650:_0x6f964c===null?_0x6f964c=Object[_0x3f5a64(0x2cf)](_0x4b6650,_0x57497e):_0x6f964c,_0x543d81;if(typeof Reflect==_0x3f5a64(0x1a7)&&typeof Reflect[_0x3f5a64(0x3e2)]==_0x3f5a64(0x3ac))_0x4fbfd2=Reflect[_0x3f5a64(0x3e2)](_0x377755,_0x4b6650,_0x57497e,_0x6f964c);else{for(var _0x72a7a6=_0x377755['length']-0x1;_0x72a7a6>=0x0;_0x72a7a6--)(_0x543d81=_0x377755[_0x72a7a6])&&(_0x4fbfd2=(_0x1c7009<0x3?_0x543d81(_0x4fbfd2):_0x1c7009>0x3?_0x543d81(_0x4b6650,_0x57497e,_0x4fbfd2):_0x543d81(_0x4b6650,_0x57497e))||_0x4fbfd2);}return _0x1c7009>0x3&&_0x4fbfd2&&Object['defineProperty'](_0x4b6650,_0x57497e,_0x4fbfd2),_0x4fbfd2;}let _0x43d5bd=(0x0,_0x13cf76['createIdentifier'])('base.permission.service'),_0x156190=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x476204,_0x50cedd){const _0x2c5667=_0x571676;super(),this['_permissionService']=_0x476204,this[_0x2c5667(0x1c6)]=_0x50cedd,_0x1a302a(this,_0x2c5667(0x1bd),new Map()),_0x1a302a(this,'_tablePermissions',new Map()),_0x1a302a(this,_0x2c5667(0x2d9),new Map()),_0x1a302a(this,_0x2c5667(0x372),new Map()),_0x1a302a(this,_0x2c5667(0x2ce),new Map()),_0x1a302a(this,_0x2c5667(0x240),new Map()),this[_0x2c5667(0x48a)](this['_instanceService'][_0x2c5667(0x33a)](_0x13cf76[_0x2c5667(0x331)][_0x2c5667(0x321)])[_0x2c5667(0x362)](_0x57a02f=>this['_clearUnit'](_0x57a02f[_0x2c5667(0x5ca)]())));}[_0x571676(0x4f6)](_0x4b43d4){const _0x396833=_0x571676;var _0x2435aa;return this[_0x396833(0x2fd)](_0x4b43d4,[])&&(((_0x2435aa=this[_0x396833(0x1bd)][_0x396833(0x59c)](_0x4b43d4))==null?void 0x0:_0x2435aa[_0x396833(0x2af)])??!0x0);}['canEditTable'](_0x316719){const _0x5cf0b3=_0x571676;return this[_0x5cf0b3(0x526)](_0x316719);}['canDeleteTable'](_0x3c3efe){const _0x11c625=_0x571676;var _0x386cd7;return this['_canEditTable'](_0x3c3efe)&&(((_0x386cd7=this[_0x11c625(0x531)][_0x11c625(0x59c)](_0x3c3efe))==null?void 0x0:_0x386cd7[_0x11c625(0x37c)])??!0x0);}[_0x571676(0x309)](_0x4c7700){const _0x16c71d=_0x571676;var _0x35792b;return this['_canEditTable'](_0x4c7700)&&(((_0x35792b=this['_tablePermissions']['get'](_0x4c7700))==null?void 0x0:_0x35792b[_0x16c71d(0x444)])??!0x0);}[_0x571676(0x265)](_0x15a432,_0x290b45){const _0x41fb0a=_0x571676;var _0x3975c4;return this[_0x41fb0a(0x526)](_0x15a432)&&this[_0x41fb0a(0x2fd)](_0x15a432,[_0x1d768a(_0x15a432,_0x290b45)])&&(((_0x3975c4=this[_0x41fb0a(0x2d9)]['get'](_0x56e44b(_0x15a432,_0x290b45)))==null?void 0x0:_0x3975c4['edit'])??!0x0);}['canDeleteField'](_0x3c22d7,_0x1d1846){const _0x1f2fc1=_0x571676;var _0x34baa1;return this['canEditField'](_0x3c22d7,_0x1d1846)&&(((_0x34baa1=this[_0x1f2fc1(0x2d9)][_0x1f2fc1(0x59c)](_0x56e44b(_0x3c22d7,_0x1d1846)))==null?void 0x0:_0x34baa1[_0x1f2fc1(0x37c)])??!0x0);}['canCreateRecord'](_0x43329e){const _0x4f1b92=_0x571676;var _0x23977a;return this[_0x4f1b92(0x526)](_0x43329e)&&(((_0x23977a=this[_0x4f1b92(0x531)][_0x4f1b92(0x59c)](_0x43329e))==null?void 0x0:_0x23977a[_0x4f1b92(0x5ad)])??!0x0);}[_0x571676(0x4ff)](_0x4552b9,_0x2d19c2){const _0x4a40ac=_0x571676;var _0x3f9964;let _0x47ea15=this[_0x4a40ac(0x372)][_0x4a40ac(0x59c)](_0x3f872d(_0x4552b9,_0x2d19c2));return this[_0x4a40ac(0x2fd)](_0x4552b9,[_0x1162c3(_0x4552b9),_0x458252(_0x4552b9,_0x2d19c2)])&&(((_0x3f9964=this['_tablePermissions'][_0x4a40ac(0x59c)](_0x4552b9))==null?void 0x0:_0x3f9964[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x5e1)])??!0x0)&&((_0x47ea15==null?void 0x0:_0x47ea15[_0x4a40ac(0x501)])??!0x0);}['canDeleteRecord'](_0x482b6a,_0x389d14){const _0x596be4=_0x571676;var _0x3d1d95,_0x2fcef7,_0x507a6c;return this[_0x596be4(0x2fd)](_0x482b6a,[_0x1162c3(_0x482b6a),_0x458252(_0x482b6a,_0x389d14)])&&(((_0x3d1d95=this['_tablePermissions'][_0x596be4(0x59c)](_0x482b6a))==null?void 0x0:_0x3d1d95[_0x596be4(0x5e1)])??!0x0)&&(((_0x2fcef7=this[_0x596be4(0x372)][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x2fcef7[_0x596be4(0x5e1)])??!0x0)&&(((_0x507a6c=this['_recordPermissions'][_0x596be4(0x59c)](_0x3f872d(_0x482b6a,_0x389d14)))==null?void 0x0:_0x507a6c['delete'])??!0x0);}[_0x571676(0x502)](_0x4f9746,_0xbd1e8d,_0x10d35b){const _0x3595bf=_0x571676;var _0x2a71b9,_0x12f7a2,_0x4b9890;let _0x2205aa=this[_0x3595bf(0x2d9)][_0x3595bf(0x59c)](_0x56e44b(_0x4f9746,_0x10d35b));return this[_0x3595bf(0x2fd)](_0x4f9746,[_0x1162c3(_0x4f9746),_0x1d768a(_0x4f9746,_0x10d35b),_0x458252(_0x4f9746,_0xbd1e8d)])&&(((_0x2a71b9=this['_tablePermissions'][_0x3595bf(0x59c)](_0x4f9746))==null?void 0x0:_0x2a71b9[_0x3595bf(0x5e1)])??!0x0)&&(((_0x12f7a2=this[_0x3595bf(0x372)]['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x12f7a2[_0x3595bf(0x5e1)])??!0x0)&&(((_0x4b9890=this['_recordPermissions']['get'](_0x3f872d(_0x4f9746,_0xbd1e8d)))==null?void 0x0:_0x4b9890['editCell'])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x5e1)])??!0x0)&&((_0x2205aa==null?void 0x0:_0x2205aa[_0x3595bf(0x501)])??!0x0);}[_0x571676(0x447)](_0x14ede8,_0x23b2f2){const _0x5c23eb=_0x571676;var _0x44e951,_0x44f861,_0x2d13a7;return this['_canEdit'](_0x14ede8,[_0x1162c3(_0x14ede8),_0x3c9691(_0x14ede8,_0x23b2f2)])&&(((_0x44e951=this['_tablePermissions'][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x44e951[_0x5c23eb(0x5e1)])??!0x0)&&(((_0x44f861=this[_0x5c23eb(0x2ce)][_0x5c23eb(0x59c)](_0x291a16(_0x14ede8,_0x23b2f2)))==null?void 0x0:_0x44f861['edit'])??!0x0)&&(((_0x2d13a7=this[_0x5c23eb(0x531)][_0x5c23eb(0x59c)](_0x14ede8))==null?void 0x0:_0x2d13a7['manageView'])??!0x0);}[_0x571676(0x581)](_0x3dce10,_0x3c5937){const _0x449816=_0x571676;this[_0x449816(0x1bd)][_0x449816(0x569)](_0x3dce10,{...this[_0x449816(0x1bd)][_0x449816(0x59c)](_0x3dce10),..._0x3c5937}),_0x3c5937[_0x449816(0x5e1)]!==void 0x0&&_0x10a84e(this[_0x449816(0x3e4)],_0x3dce10,_0x3dce10,_0x93a0d4[_0x449816(0x2a0)][_0x449816(0x5a0)],_0x3c5937[_0x449816(0x5e1)]);}['setTablePermission'](_0x2a6853,_0x49debe){const _0x314bc1=_0x571676;this[_0x314bc1(0x311)](_0x2a6853),this[_0x314bc1(0x531)]['set'](_0x2a6853,{...this[_0x314bc1(0x531)][_0x314bc1(0x59c)](_0x2a6853),..._0x49debe}),this[_0x314bc1(0x577)](_0x2a6853,_0x1162c3(_0x2a6853),_0x49debe[_0x314bc1(0x5e1)]);}[_0x571676(0x356)](_0x4bdc31,_0x4508f3,_0x38a92b){const _0x4e7488=_0x571676;this[_0x4e7488(0x311)](_0x4bdc31);let _0x108614=_0x56e44b(_0x4bdc31,_0x4508f3);this[_0x4e7488(0x2d9)][_0x4e7488(0x569)](_0x108614,{...this[_0x4e7488(0x2d9)][_0x4e7488(0x59c)](_0x108614),..._0x38a92b}),this[_0x4e7488(0x577)](_0x4bdc31,_0x1d768a(_0x4bdc31,_0x4508f3),_0x38a92b[_0x4e7488(0x5e1)]);}[_0x571676(0x583)](_0x1ba94f,_0x2682a7,_0x866e63){const _0x3682b7=_0x571676;this[_0x3682b7(0x311)](_0x1ba94f);let _0x4b12f9=_0x3f872d(_0x1ba94f,_0x2682a7);this[_0x3682b7(0x372)][_0x3682b7(0x569)](_0x4b12f9,{...this[_0x3682b7(0x372)]['get'](_0x4b12f9),..._0x866e63}),this[_0x3682b7(0x577)](_0x1ba94f,_0x458252(_0x1ba94f,_0x2682a7),_0x866e63[_0x3682b7(0x5e1)]);}[_0x571676(0x35b)](_0x3cf3a8,_0x33d7ab,_0xa805ae){const _0x10f9d7=_0x571676;this[_0x10f9d7(0x311)](_0x3cf3a8);let _0x2ae851=_0x291a16(_0x3cf3a8,_0x33d7ab);this['_viewPermissions'][_0x10f9d7(0x569)](_0x2ae851,{...this[_0x10f9d7(0x2ce)][_0x10f9d7(0x59c)](_0x2ae851),..._0xa805ae}),this[_0x10f9d7(0x577)](_0x3cf3a8,_0x3c9691(_0x3cf3a8,_0x33d7ab),_0xa805ae[_0x10f9d7(0x5e1)]);}[_0x571676(0x439)](_0x5cf343){const _0x5cb914=_0x571676;this[_0x5cb914(0x1bd)]['delete'](_0x5cf343),_0xf687c4(this['_permissionService'],_0x5cf343,_0x5cf343,_0x93a0d4['UnitAction'][_0x5cb914(0x5a0)]);}[_0x571676(0x5a3)](_0x2a1407){const _0x328f1f=_0x571676;this[_0x328f1f(0x531)][_0x328f1f(0x37c)](_0x2a1407),this[_0x328f1f(0x328)](_0x2a1407,_0x1162c3(_0x2a1407));}[_0x571676(0x54e)](_0x228e88,_0x42bac3){const _0x33fe68=_0x571676;this[_0x33fe68(0x2d9)][_0x33fe68(0x37c)](_0x56e44b(_0x228e88,_0x42bac3)),this[_0x33fe68(0x328)](_0x228e88,_0x1d768a(_0x228e88,_0x42bac3));}['clearRecordPermission'](_0x2e7d5a,_0x5b0434){const _0x3ea68d=_0x571676;this[_0x3ea68d(0x372)][_0x3ea68d(0x37c)](_0x3f872d(_0x2e7d5a,_0x5b0434)),this[_0x3ea68d(0x328)](_0x2e7d5a,_0x458252(_0x2e7d5a,_0x5b0434));}['clearViewPermission'](_0x403ed8,_0x3340c9){const _0x501369=_0x571676;this['_viewPermissions']['delete'](_0x291a16(_0x403ed8,_0x3340c9)),this[_0x501369(0x328)](_0x403ed8,_0x3c9691(_0x403ed8,_0x3340c9));}[_0x571676(0x463)](){const _0x5bda16=_0x571676;return{'bases':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x1bd)]),'tables':Object['fromEntries'](this[_0x5bda16(0x531)]),'fields':Object['fromEntries'](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x5bda16(0x372)]),'views':Object[_0x5bda16(0x1fc)](this[_0x5bda16(0x2ce)])};}[_0x571676(0x526)](_0x24abb3){const _0x5d524d=_0x571676;var _0x1b6042;return this['_canEdit'](_0x24abb3,[_0x1162c3(_0x24abb3)])&&(((_0x1b6042=this[_0x5d524d(0x531)][_0x5d524d(0x59c)](_0x24abb3))==null?void 0x0:_0x1b6042['edit'])??!0x0);}[_0x571676(0x2fd)](_0x701c8e,_0x289d09){const _0x5d9634=_0x571676;var _0x208d34;let _0x1d47a2=this[_0x5d9634(0x2c3)](_0x701c8e);return!_0x1d47a2||_0x712233(this[_0x5d9634(0x3e4)],_0x1d47a2,_0x289d09)&&(((_0x208d34=this[_0x5d9634(0x1bd)][_0x5d9634(0x59c)](_0x1d47a2))==null?void 0x0:_0x208d34[_0x5d9634(0x5e1)])??!0x0);}[_0x571676(0x577)](_0x63c328,_0x5822c1,_0x56ef4f){const _0x452d4a=_0x571676;if(_0x56ef4f===void 0x0)return;let _0x48c46f=this[_0x452d4a(0x2c3)](_0x63c328);_0x48c46f&&_0x10a84e(this['_permissionService'],_0x48c46f,_0x5822c1,_0x93a0d4[_0x452d4a(0x2a0)][_0x452d4a(0x5a0)],_0x56ef4f);}[_0x571676(0x328)](_0x20d8f7,_0x3caf57){const _0x21ebbc=_0x571676;let _0x1e54e3=this['_resolveBaseId'](_0x20d8f7);_0x1e54e3&&_0xf687c4(this[_0x21ebbc(0x3e4)],_0x1e54e3,_0x3caf57,_0x93a0d4[_0x21ebbc(0x2a0)][_0x21ebbc(0x5a0)]);}[_0x571676(0x2c3)](_0x5a2bfe){const _0x1b6db3=_0x571676;var _0x51795e;let _0xac5f74=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x363)](_0x5a2bfe,_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)]);return _0xac5f74?_0xac5f74[_0x1b6db3(0x5ca)]():(_0x51795e=this[_0x1b6db3(0x1c6)][_0x1b6db3(0x4bd)](_0x13cf76['UniverInstanceType'][_0x1b6db3(0x321)])[_0x1b6db3(0x56a)](_0x296d90=>!!_0x296d90[_0x1b6db3(0x463)]()[_0x1b6db3(0x291)][_0x5a2bfe]))==null?void 0x0:_0x51795e[_0x1b6db3(0x5ca)]();}['_rememberTable'](_0x516ed5){const _0x452d9d=_0x571676;let _0x3c9489=this[_0x452d9d(0x2c3)](_0x516ed5);_0x3c9489&&this[_0x452d9d(0x240)][_0x452d9d(0x569)](_0x516ed5,_0x3c9489);}[_0x571676(0x194)](_0x320d7c){const _0x18759d=_0x571676;this[_0x18759d(0x1bd)]['delete'](_0x320d7c),this[_0x18759d(0x240)][_0x18759d(0x3c9)]((_0x11773f,_0x10f587)=>{const _0x2ff9ed=_0x18759d;_0x11773f===_0x320d7c&&(this[_0x2ff9ed(0x531)][_0x2ff9ed(0x37c)](_0x10f587),_0x502dca(this[_0x2ff9ed(0x2d9)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x372)],_0x10f587+'\x1f'),_0x502dca(this[_0x2ff9ed(0x2ce)],_0x10f587+'\x1f'),this['_tableBaseIds'][_0x2ff9ed(0x37c)](_0x10f587));});}};_0x156190=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x156190);function _0x502dca(_0x4bb4d9,_0x34b89f){const _0x57c335=_0x571676;_0x4bb4d9[_0x57c335(0x3c9)]((_0x2c9d4e,_0x40e346)=>{const _0x135bf0=_0x57c335;_0x40e346[_0x135bf0(0x33b)](_0x34b89f)&&_0x4bb4d9[_0x135bf0(0x37c)](_0x40e346);});}function _0x56e44b(_0x15529e,_0x4c5df1){return _0x15529e+'\x1f'+_0x4c5df1;}function _0x3f872d(_0x22243f,_0x1e2bd9){return _0x22243f+'\x1f'+_0x1e2bd9;}function _0x291a16(_0x450fe9,_0x22292c){return _0x450fe9+'\x1f'+_0x22292c;}let _0x5cf6f3=(0x0,_0x13cf76['createIdentifier'])(_0x571676(0x3db)),_0x2f32b0=class{constructor(_0x20a661,_0x466693=_0x1468a8(),_0x54177d={}){const _0x1f90ec=_0x571676;this[_0x1f90ec(0x3e4)]=_0x20a661,this[_0x1f90ec(0x26f)]=_0x466693,this[_0x1f90ec(0x511)]=_0x54177d,_0x1a302a(this,_0x1f90ec(0x300),new _0x3db0f3()),_0x1a302a(this,_0x1f90ec(0x396),new _0x1aaf1b());}[_0x571676(0x2af)](_0x41bf80,_0x5300bf,_0x4d5f8f){const _0x20a8a0=_0x571676;if(!this[_0x20a8a0(0x3e4)][_0x20a8a0(0x4f6)](_0x41bf80['getUnitId']()))throw Error(_0x20a8a0(0x510));(0x0,_0x13cf76[_0x20a8a0(0x518)])(_0x5300bf),this['_apply'](_0x41bf80,this[_0x20a8a0(0x300)][_0x20a8a0(0x2af)](_0x41bf80[_0x20a8a0(0x463)](),_0x5300bf,_0x4d5f8f));}['renameTable'](_0xde459b,_0x15b4a0,_0x2ed6b5){const _0x49fc34=_0x571676;if(!this[_0x49fc34(0x3e4)]['canEditTable'](_0x15b4a0))throw Error(_0x49fc34(0x588));this['_apply'](_0xde459b,this[_0x49fc34(0x300)]['renameTable'](_0xde459b[_0x49fc34(0x463)](),_0x15b4a0,_0x2ed6b5));}[_0x571676(0x214)](_0x330941,_0x590647){const _0x1c7482=_0x571676;if(!this['_permissionService']['canDeleteTable'](_0x590647))throw Error(_0x1c7482(0x5c8));let _0x358170=_0x520eb7(_0x330941[_0x1c7482(0x463)](),_0x590647);if(_0x358170[_0x1c7482(0x4e9)]>0x0)throw Error(_0x1c7482(0x394)+_0x358170[_0x1c7482(0x329)](_0x5650db=>_0x5650db['tableId']+'.'+_0x5650db[_0x1c7482(0x384)])[_0x1c7482(0x4b9)](',\x20')+').');this[_0x1c7482(0x28f)](_0x330941,this[_0x1c7482(0x300)][_0x1c7482(0x214)](_0x330941[_0x1c7482(0x463)](),_0x590647));}[_0x571676(0x4a1)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6){const _0x108451=_0x571676;this[_0x108451(0x28f)](_0x2341b5,this[_0x108451(0x420)](_0x2341b5,_0x1790ca,_0x1b22f1,_0x91f8a0,_0x423fb6));}[_0x571676(0x565)](_0xb4d17c,_0x4675e3,_0x5cca78){const _0x218d0a=_0x571676;this[_0x218d0a(0x28f)](_0xb4d17c,this[_0x218d0a(0x59f)](_0xb4d17c,_0x4675e3,_0x5cca78));}[_0x571676(0x5ad)](_0x211355,_0x3e61a0,_0x42d382){const _0x32df3e=_0x571676;this['_apply'](_0x211355,this[_0x32df3e(0x557)](_0x211355,_0x3e61a0,_0x42d382));}[_0x571676(0x420)](_0x1b000c,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9){const _0x79daf1=_0x571676;let _0x43c1ba=_0x1b000c['getSnapshot'](),_0x435a98=this[_0x79daf1(0x50c)](_0x43c1ba,_0x56f8a4,_0x7b4719,_0x19faee,_0x588ab9),_0x3ff120=this[_0x79daf1(0x5a1)](_0x43c1ba,_0x56f8a4,_0x7b4719,{[_0x19faee]:_0x435a98});return this[_0x79daf1(0x300)][_0x79daf1(0x565)](_0x43c1ba,_0x56f8a4,[_0x3ff120]);}[_0x571676(0x59f)](_0x3763e0,_0x43af95,_0x2d502e){const _0x1e60b3=_0x571676;let _0xffe40c=_0x3763e0[_0x1e60b3(0x463)](),_0x40c862=_0x2d502e[_0x1e60b3(0x329)](_0x339386=>this['_withModifiedSystemValues'](_0xffe40c,_0x43af95,_0x339386[_0x1e60b3(0x5c4)],{...Object[_0x1e60b3(0x1fc)](Object[_0x1e60b3(0x460)](_0x339386['values'])[_0x1e60b3(0x329)](([_0x33db4b,_0x2dbd98])=>[_0x33db4b,this[_0x1e60b3(0x50c)](_0xffe40c,_0x43af95,_0x339386['recordId'],_0x33db4b,_0x2dbd98)]))}));return this[_0x1e60b3(0x300)][_0x1e60b3(0x565)](_0xffe40c,_0x43af95,_0x40c862);}[_0x571676(0x557)](_0x5b47b3,_0x962ca7,_0x5ec270){const _0x8ef849=_0x571676;if(!this[_0x8ef849(0x3e4)]['canCreateRecord'](_0x962ca7))throw Error(_0x8ef849(0x44a));let _0x4ce6f1=_0x5b47b3[_0x8ef849(0x463)](),_0xf69929=this['_createNumberingAllocators'](_0x4ce6f1[_0x8ef849(0x291)][_0x962ca7]);return this['_factory']['createRecord'](_0x4ce6f1,_0x962ca7,this[_0x8ef849(0x567)](_0x4ce6f1,_0x962ca7,_0x5ec270,_0xf69929));}['createBatchCreateRecordsOp'](_0x5eff68,_0x2ee566,_0xddad3c){const _0x42f123=_0x571676;if(!this[_0x42f123(0x3e4)][_0x42f123(0x434)](_0x2ee566))throw Error(_0x42f123(0x44a));let _0x5df4a0=_0x5eff68['getSnapshot']();return _0x32800a(_0x42f123(0x4de),()=>{const _0x98161b=_0x42f123;let _0x1163a3=this['_createNumberingAllocators'](_0x5df4a0[_0x98161b(0x291)][_0x2ee566]);return this['_factory'][_0x98161b(0x248)](_0x5df4a0,_0x2ee566,_0xddad3c[_0x98161b(0x329)](_0x141f8e=>this['_createRecordWithDefaults'](_0x5df4a0,_0x2ee566,_0x141f8e,_0x1163a3)));},{'existingRecords':Object[_0x42f123(0x2db)](_0x5df4a0['tables'][_0x2ee566][_0x42f123(0x38f)])['length'],'records':_0xddad3c[_0x42f123(0x4e9)]});}[_0x571676(0x586)](_0x4cb3e8,_0x3f1f53,_0xfac17e,_0x65d859,_0x18ce50){const _0x4239cc=_0x571676;if(!this['_permissionService'][_0x4239cc(0x309)](_0x3f1f53))throw Error(_0x4239cc(0x514));let _0x11cabf=_0x4cb3e8['getSnapshot']();if(this['_assertFieldDefinition'](_0x11cabf,_0xfac17e),_0x65d859===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x3d3f10=this[_0x4239cc(0x300)]['createField'](_0x11cabf,_0x3f1f53,{'field':_0xfac17e,'index':_0x65d859,'viewIndexes':_0x18ce50}),_0x17e2bb=this[_0x4239cc(0x24f)](_0x11cabf,_0x3f1f53,_0xfac17e);if(!_0x17e2bb[_0x4239cc(0x4e9)])return _0x3d3f10;let _0x19eba7=this[_0x4239cc(0x396)][_0x4239cc(0x4d8)](_0x11cabf,_0x3d3f10);return _0x16f182([_0x3d3f10,this[_0x4239cc(0x300)][_0x4239cc(0x565)](_0x19eba7,_0x3f1f53,_0x17e2bb)]);}[_0x571676(0x5dc)](_0x18d50a,_0x1bde1e,_0x1aba34){const _0x31d34f=_0x571676;if(!this['_permissionService'][_0x31d34f(0x1c5)](_0x1bde1e,_0x1aba34))throw Error(_0x31d34f(0x1ee));this['_apply'](_0x18d50a,this[_0x31d34f(0x300)][_0x31d34f(0x5dc)](_0x18d50a['getSnapshot'](),_0x1bde1e,_0x1aba34));}['duplicateRecord'](_0x407bef,_0x5fee1,_0x3664a8,_0xe73b5){const _0x2d6988=_0x571676;if(!this[_0x2d6988(0x3e4)][_0x2d6988(0x434)](_0x5fee1))throw Error(_0x2d6988(0x44a));this[_0x2d6988(0x28f)](_0x407bef,this[_0x2d6988(0x300)][_0x2d6988(0x529)](_0x407bef[_0x2d6988(0x463)](),_0x5fee1,_0x3664a8,{..._0xe73b5,'values':{..._0xe73b5[_0x2d6988(0x334)],[_0x13cf76[_0x2d6988(0x544)]]:_0xe73b5['id']}}));}[_0x571676(0x1ad)](_0x58e0ac,_0x4c86e0,_0x6197b1,_0x1025c2){const _0x4ebe57=_0x571676;if(!this[_0x4ebe57(0x3e4)][_0x4ebe57(0x4ff)](_0x4c86e0,_0x6197b1))throw Error(_0x4ebe57(0x382));this[_0x4ebe57(0x28f)](_0x58e0ac,this[_0x4ebe57(0x300)][_0x4ebe57(0x1ad)](_0x58e0ac[_0x4ebe57(0x463)](),_0x4c86e0,_0x6197b1,_0x1025c2));}['createField'](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d){const _0x4ab224=_0x571676;this['_apply'](_0x12714b,this[_0x4ab224(0x586)](_0x12714b,_0x1b76f2,_0x1493e3,_0x420645,_0x471d0d));}[_0x571676(0x241)](_0x2d332d,_0x138514,_0x4cdf30,_0x19ae4c){const _0xac9398=_0x571676;var _0x584d5d;if(!this[_0xac9398(0x3e4)]['canEditField'](_0x138514,_0x4cdf30))throw Error(_0xac9398(0x3e1));let _0x59252f=_0x2d332d['getSnapshot'](),_0x31a1d9=(_0x584d5d=_0x59252f[_0xac9398(0x291)][_0x138514])==null?void 0x0:_0x584d5d[_0xac9398(0x3c2)][_0x4cdf30];if(!_0x31a1d9||_0x4cdf30===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])throw Error(_0xac9398(0x3d5));this[_0xac9398(0x364)](_0x59252f,{..._0x31a1d9,..._0x19ae4c}),this[_0xac9398(0x28f)](_0x2d332d,this[_0xac9398(0x300)][_0xac9398(0x241)](_0x59252f,_0x138514,_0x4cdf30,_0x19ae4c));}[_0x571676(0x1d1)](_0x4cdf1d,_0x19427e,_0x15f1e7,_0x2de9e6){const _0x1b0745=_0x571676;var _0x4f6ceb;if(!this[_0x1b0745(0x3e4)][_0x1b0745(0x265)](_0x19427e,_0x15f1e7))throw Error(_0x1b0745(0x3e1));let _0x263a73=_0x4cdf1d[_0x1b0745(0x463)](),_0x368fe3=(_0x4f6ceb=_0x263a73['tables'][_0x19427e])==null?void 0x0:_0x4f6ceb[_0x1b0745(0x3c2)][_0x15f1e7];if(!_0x368fe3||_0x15f1e7===_0x13cf76[_0x1b0745(0x544)])throw Error(_0x1b0745(0x3ec));this[_0x1b0745(0x364)](_0x263a73,{..._0x368fe3,..._0x2de9e6}),this[_0x1b0745(0x28f)](_0x4cdf1d,this['_factory'][_0x1b0745(0x1d1)](_0x263a73,_0x19427e,_0x15f1e7,_0x2de9e6));}[_0x571676(0x36a)](_0x4c081c,_0x59c6a3,_0xd203c5){const _0x349c9a=_0x571676;var _0x6cefed;if(((_0x6cefed=_0x4c081c[_0x349c9a(0x463)]()[_0x349c9a(0x291)][_0x59c6a3])==null?void 0x0:_0x6cefed[_0x349c9a(0x422)])===_0xd203c5||_0xd203c5===_0x13cf76[_0x349c9a(0x544)])throw Error(_0x349c9a(0x4ba));if(!this['_permissionService'][_0x349c9a(0x478)](_0x59c6a3,_0xd203c5))throw Error(_0x349c9a(0x250));this[_0x349c9a(0x28f)](_0x4c081c,this[_0x349c9a(0x300)][_0x349c9a(0x36a)](_0x4c081c[_0x349c9a(0x463)](),_0x59c6a3,_0xd203c5));}['moveField'](_0x5bef97,_0xbfcb95,_0x521676,_0xf28295){const _0x344020=_0x571676;if(!this[_0x344020(0x3e4)]['canEditField'](_0xbfcb95,_0x521676))throw Error(_0x344020(0x3e1));if(_0x521676===_0x13cf76[_0x344020(0x544)]||_0xf28295[_0x344020(0x2a9)]===_0x13cf76[_0x344020(0x544)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x344020(0x28f)](_0x5bef97,this[_0x344020(0x300)][_0x344020(0x1c4)](_0x5bef97[_0x344020(0x463)](),_0xbfcb95,_0x521676,_0xf28295));}[_0x571676(0x18a)](_0x5a6983,_0x1acd37,_0x370bce,_0x4b8269){const _0x55b80d=_0x571676;if(!this[_0x55b80d(0x3e4)]['canManageView'](_0x1acd37,_0x370bce['id']))throw Error(_0x55b80d(0x1b6));this['_apply'](_0x5a6983,this[_0x55b80d(0x300)][_0x55b80d(0x18a)](_0x5a6983[_0x55b80d(0x463)](),_0x1acd37,_0x370bce,_0x4b8269));}['renameView'](_0x4830df,_0x56c516,_0x396b50,_0x201e11){const _0x48aa69=_0x571676;if(!this[_0x48aa69(0x3e4)][_0x48aa69(0x447)](_0x56c516,_0x396b50))throw Error(_0x48aa69(0x1b6));this[_0x48aa69(0x28f)](_0x4830df,this[_0x48aa69(0x300)][_0x48aa69(0x455)](_0x4830df[_0x48aa69(0x463)](),_0x56c516,_0x396b50,_0x201e11));}['deleteView'](_0x16ad1e,_0x5a72c4,_0x4b30d5){const _0x48bcd8=_0x571676;if(!this['_permissionService'][_0x48bcd8(0x447)](_0x5a72c4,_0x4b30d5))throw Error(_0x48bcd8(0x1b6));this[_0x48bcd8(0x28f)](_0x16ad1e,this[_0x48bcd8(0x300)][_0x48bcd8(0x458)](_0x16ad1e['getSnapshot'](),_0x5a72c4,_0x4b30d5));}[_0x571676(0x5b5)](_0x3d61e3,_0x5a919b,_0x2fd4cf,_0x5c5607){const _0x4d250a=_0x571676;if(!this[_0x4d250a(0x3e4)]['canManageView'](_0x5a919b,_0x2fd4cf))throw Error(_0x4d250a(0x1b6));this['_apply'](_0x3d61e3,this[_0x4d250a(0x300)]['moveView'](_0x3d61e3[_0x4d250a(0x463)](),_0x5a919b,_0x2fd4cf,_0x5c5607));}[_0x571676(0x20d)](_0x11499e,_0x298094,_0x31d1a2,_0x47f98c){const _0x429e4c=_0x571676;if(!this['_permissionService']['canManageView'](_0x298094,_0x31d1a2))throw Error(_0x429e4c(0x1b6));this['_apply'](_0x11499e,this[_0x429e4c(0x300)][_0x429e4c(0x20d)](_0x11499e['getSnapshot'](),_0x298094,_0x31d1a2,_0x47f98c));}[_0x571676(0x1e1)](_0x489816,_0x12cb7b,_0x266e63,_0x478f6d){const _0x48880a=_0x571676;if(!this[_0x48880a(0x3e4)][_0x48880a(0x447)](_0x12cb7b,_0x266e63))throw Error(_0x48880a(0x1b6));this[_0x48880a(0x28f)](_0x489816,this[_0x48880a(0x300)]['setViewFilter'](_0x489816[_0x48880a(0x463)](),_0x12cb7b,_0x266e63,_0x478f6d));}[_0x571676(0x27b)](_0x16cae1,_0xc71f61,_0x53f3b7,_0x4aab8d){const _0x1e217f=_0x571676;if(!this[_0x1e217f(0x3e4)][_0x1e217f(0x447)](_0xc71f61,_0x53f3b7))throw Error(_0x1e217f(0x1b6));this[_0x1e217f(0x28f)](_0x16cae1,this['_factory'][_0x1e217f(0x27b)](_0x16cae1['getSnapshot'](),_0xc71f61,_0x53f3b7,_0x4aab8d));}['setViewGroup'](_0x327738,_0x58bba6,_0x54ccaf,_0x4d711c){const _0x4b1d27=_0x571676;if(!this[_0x4b1d27(0x3e4)]['canManageView'](_0x58bba6,_0x54ccaf))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4b1d27(0x28f)](_0x327738,this[_0x4b1d27(0x300)][_0x4b1d27(0x43b)](_0x327738[_0x4b1d27(0x463)](),_0x58bba6,_0x54ccaf,_0x4d711c));}[_0x571676(0x37e)](_0x4c192d,_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486){const _0x58d03c=_0x571676;if(!this['_permissionService']['canManageView'](_0x28d0af,_0x36135a))throw Error(_0x58d03c(0x1b6));this[_0x58d03c(0x28f)](_0x4c192d,this[_0x58d03c(0x300)][_0x58d03c(0x37e)](_0x4c192d[_0x58d03c(0x463)](),_0x28d0af,_0x36135a,_0x1b44b0,_0x2a9486));}[_0x571676(0x272)](_0x9d9712,_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18){const _0x31f2d4=_0x571676;if(!this[_0x31f2d4(0x3e4)][_0x31f2d4(0x447)](_0xfd7cab,_0x42e96a))throw Error(_0x31f2d4(0x1b6));this[_0x31f2d4(0x28f)](_0x9d9712,this[_0x31f2d4(0x300)][_0x31f2d4(0x272)](_0x9d9712[_0x31f2d4(0x463)](),_0xfd7cab,_0x42e96a,_0xf09a04,_0x535c18));}[_0x571676(0x55c)](_0x1d2dea,_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36){const _0x55d76c=_0x571676;if(!this[_0x55d76c(0x3e4)][_0x55d76c(0x447)](_0x527629,_0x3efdaa))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x55d76c(0x28f)](_0x1d2dea,this['_factory']['setViewFieldOrder'](_0x1d2dea[_0x55d76c(0x463)](),_0x527629,_0x3efdaa,_0x5b54ff,_0x589b36));}[_0x571676(0x28f)](_0x7db7b4,_0x316464){const _0x51ba11=_0x571676;let _0x4199d1=_0x7db7b4[_0x51ba11(0x463)]();_0x7db7b4[_0x51ba11(0x3dd)](this[_0x51ba11(0x396)][_0x51ba11(0x4d8)](_0x4199d1,_0x316464));}[_0x571676(0x567)](_0x248860,_0x165e47,_0x5f3876,_0x234788=this[_0x571676(0x459)](_0x248860['tables'][_0x165e47])){const _0x1b9747=_0x571676;let _0x2d1a79=_0x248860['tables'][_0x165e47],_0x5b02ca=_0x5f3876[_0x1b9747(0x193)]??_0x5f3876['updatedBy']??this[_0x1b9747(0x508)](),_0x36bd51={..._0x5f3876,'createdBy':_0x5f3876[_0x1b9747(0x193)]??_0x5b02ca,'updatedBy':_0x5f3876[_0x1b9747(0x32a)]??_0x5b02ca,'values':{..._0x5f3876['values']}};return _0x36bd51[_0x1b9747(0x334)][_0x13cf76['BASE_RECORD_ID_FIELD_ID']]=_0x36bd51['id'],_0x2d1a79[_0x1b9747(0x582)][_0x1b9747(0x3c9)](_0x40f39f=>{const _0x373c24=_0x1b9747;let _0x7cf4e1=_0x2d1a79['fields'][_0x40f39f];if(_0x7cf4e1&&_0x36bd51[_0x373c24(0x334)][_0x40f39f]===void 0x0)switch(_0x7cf4e1['type']){case _0x13cf76[_0x373c24(0x517)]['Numbering']:var _0x329ead;_0x36bd51[_0x373c24(0x334)][_0x40f39f]=((_0x329ead=_0x234788[_0x373c24(0x59c)](_0x40f39f))==null?void 0x0:_0x329ead())??this[_0x373c24(0x443)](_0x2d1a79,_0x40f39f)();break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x537)]:_0x36bd51['createdBy']&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x36bd51['createdBy']);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x320)]:_0x36bd51[_0x373c24(0x32a)]&&(_0x36bd51['values'][_0x40f39f]=_0x36bd51[_0x373c24(0x32a)]);break;case _0x13cf76[_0x373c24(0x517)][_0x373c24(0x337)]:_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x484)]);break;case _0x13cf76[_0x373c24(0x517)]['UpdatedAt']:_0x36bd51['values'][_0x40f39f]=_0x35414f(_0x36bd51[_0x373c24(0x548)]);break;default:{let _0x283905=_0x7cf4e1[_0x373c24(0x5ce)];_0x283905!=null&&_0x283905!==''&&!(Array[_0x373c24(0x21f)](_0x283905)&&_0x283905['length']===0x0)&&(_0x36bd51[_0x373c24(0x334)][_0x40f39f]=_0x283905);}}}),_0x36bd51;}['_withModifiedSystemValues'](_0x6ba117,_0x1d0434,_0x3d7e55,_0x469728){const _0x7122f1=_0x571676;var _0x5425ab,_0x597085;let _0x4fc3bd=_0x6ba117['tables'][_0x1d0434],_0x1f6b35=((_0x5425ab=(_0x597085=this[_0x7122f1(0x511)])[_0x7122f1(0x5e4)])==null?void 0x0:_0x5425ab['call'](_0x597085))??Date['now'](),_0x30204c=this[_0x7122f1(0x508)](),_0x251fbc={..._0x469728};return _0x4fc3bd[_0x7122f1(0x582)]['forEach'](_0x54dd68=>{const _0x2bd902=_0x7122f1;let _0x1ae01b=_0x4fc3bd['fields'][_0x54dd68];_0x1ae01b&&(_0x1ae01b[_0x2bd902(0x292)]===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x472)]&&(_0x251fbc[_0x54dd68]=_0x35414f(_0x1f6b35)),_0x1ae01b['type']===_0x13cf76[_0x2bd902(0x517)][_0x2bd902(0x320)]&&_0x30204c&&(_0x251fbc[_0x54dd68]=_0x30204c));}),{'recordId':_0x3d7e55,'values':_0x251fbc,'recordPatch':{'updatedAt':_0x1f6b35,..._0x30204c?{'updatedBy':_0x30204c}:{}}};}[_0x571676(0x24f)](_0x5d3efe,_0x3d83f4,_0x1ee9a9){const _0x3d8272=_0x571676;let _0x42d633=_0x5d3efe[_0x3d8272(0x291)][_0x3d83f4];return!_0x42d633||!_0x3d0c74(_0x1ee9a9)?[]:_0x1ee9a9[_0x3d8272(0x292)]===_0x13cf76['BaseFieldType']['Numbering']?this[_0x3d8272(0x4a4)](_0x42d633,_0x1ee9a9['id']):Object[_0x3d8272(0x334)](_0x42d633[_0x3d8272(0x38f)])['flatMap'](_0x5c550e=>{const _0x1c9d9a=_0x3d8272;let _0xcf7f2d=this[_0x1c9d9a(0x258)](_0x1ee9a9,_0x5c550e);return _0xcf7f2d===void 0x0?[]:[{'recordId':_0x5c550e['id'],'values':{[_0x1ee9a9['id']]:_0xcf7f2d}}];});}['_getSystemFieldValue'](_0x10e95e,_0x330f2d){const _0x1fa8e7=_0x571676;switch(_0x10e95e['type']){case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x537)]:return _0x330f2d[_0x1fa8e7(0x193)]??this[_0x1fa8e7(0x508)]();case _0x13cf76[_0x1fa8e7(0x517)][_0x1fa8e7(0x320)]:return _0x330f2d[_0x1fa8e7(0x32a)]??this['_getCurrentUserId']();case _0x13cf76[_0x1fa8e7(0x517)]['CreatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x484)]??Date[_0x1fa8e7(0x5e4)]());case _0x13cf76[_0x1fa8e7(0x517)]['UpdatedAt']:return _0x35414f(_0x330f2d[_0x1fa8e7(0x548)]??Date[_0x1fa8e7(0x5e4)]());default:return;}}[_0x571676(0x459)](_0xc3a78d){const _0x43e0a8=_0x571676;let _0x5939c7=new Map();return _0xc3a78d&&_0xc3a78d['fieldOrder'][_0x43e0a8(0x3c9)](_0x35a042=>{const _0x1e9df8=_0x43e0a8;let _0x452909=_0xc3a78d[_0x1e9df8(0x3c2)][_0x35a042];(_0x452909==null?void 0x0:_0x452909[_0x1e9df8(0x292)])===_0x13cf76[_0x1e9df8(0x517)][_0x1e9df8(0x2a4)]&&_0x5939c7[_0x1e9df8(0x569)](_0x35a042,this[_0x1e9df8(0x443)](_0xc3a78d,_0x35a042));}),_0x5939c7;}['_createNumberingAllocator'](_0x3e870f,_0x326e76){const _0x43d9c0=_0x571676;let _0x366074=Object[_0x43d9c0(0x334)](_0x3e870f[_0x43d9c0(0x38f)])['reduce']((_0x2ddace,_0x24b38b)=>{const _0x47dfd5=_0x43d9c0;let _0x533d28=Number(_0x24b38b[_0x47dfd5(0x334)][_0x326e76]);return Number['isFinite'](_0x533d28)?Math[_0x47dfd5(0x402)](_0x2ddace,_0x533d28):_0x2ddace;},0x0);return()=>String(++_0x366074);}[_0x571676(0x4a4)](_0x4f95d6,_0x5cdf27){const _0x5415e1=_0x571676;let _0x573427=this[_0x5415e1(0x318)](_0x4f95d6),_0xea55e8=this['_createNumberingAllocator'](_0x4f95d6,_0x5cdf27);return _0x573427[_0x5415e1(0x387)](_0x4339f7=>this[_0x5415e1(0x30f)](_0x4339f7[_0x5415e1(0x334)][_0x5cdf27])?[]:[{'recordId':_0x4339f7['id'],'values':{[_0x5cdf27]:_0xea55e8()}}]);}[_0x571676(0x318)](_0x15caa0){const _0x4c2d17=_0x571676;var _0x16e98c;let _0x1605e3=Object['values'](_0x15caa0[_0x4c2d17(0x38f)]),_0x2291a0=new Map(_0x1605e3[_0x4c2d17(0x329)](_0xe5bb44=>[_0xe5bb44['id'],_0xe5bb44])),_0x25e03a=[],_0x24d62d=new Set();(_0x16e98c=_0x15caa0[_0x4c2d17(0x1cd)])==null||_0x16e98c['forEach'](_0x505e26=>{const _0x52f18c=_0x4c2d17;let _0x118fdb=_0x2291a0[_0x52f18c(0x59c)](_0x505e26);_0x118fdb&&(_0x25e03a[_0x52f18c(0x401)](_0x118fdb),_0x24d62d[_0x52f18c(0x54c)](_0x505e26));});let _0x4214fb=_0x1605e3[_0x4c2d17(0x3c4)](_0xcf6358=>!_0x24d62d['has'](_0xcf6358['id']))[_0x4c2d17(0x4af)]((_0x35c2d0,_0x2ded95)=>String(_0x35c2d0[_0x4c2d17(0x34c)]??_0x35c2d0['id'])[_0x4c2d17(0x391)](String(_0x2ded95['orderKey']??_0x2ded95['id']))||_0x35c2d0['id'][_0x4c2d17(0x391)](_0x2ded95['id']));return[..._0x25e03a,..._0x4214fb];}['_isNonEmptyCellValue'](_0x3b21c1){const _0x5cb081=_0x571676;return _0x3b21c1!=null&&_0x3b21c1!==''&&!(Array[_0x5cb081(0x21f)](_0x3b21c1)&&_0x3b21c1[_0x5cb081(0x4e9)]===0x0);}['_getCurrentUserId'](){const _0x319443=_0x571676;var _0x45a541,_0x4ab198,_0x34d30a,_0x62628d;return((_0x45a541=(_0x4ab198=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x45a541[_0x319443(0x279)](_0x4ab198))??((_0x34d30a=(_0x62628d=this[_0x319443(0x511)])[_0x319443(0x36e)])==null||(_0x34d30a=_0x34d30a[_0x319443(0x279)](_0x62628d))==null?void 0x0:_0x34d30a[_0x319443(0x4f9)])??void 0x0;}[_0x571676(0x50c)](_0x1770b9,_0x1fb750,_0x526581,_0x346f2a,_0x38c46e){const _0x52ceac=_0x571676;var _0x4f4211;if(!this['_permissionService'][_0x52ceac(0x502)](_0x1fb750,_0x526581,_0x346f2a))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x1ec526=(_0x4f4211=_0x1770b9[_0x52ceac(0x291)][_0x1fb750])==null?void 0x0:_0x4f4211['fields'][_0x346f2a];if(!_0x1ec526)throw Error(_0x52ceac(0x32b)+_0x346f2a+'\x22\x20does\x20not\x20exist.');let _0x95ab0c=this['_fieldRegistry'][_0x52ceac(0x59c)](_0x1ec526[_0x52ceac(0x292)]);if(_0x1ec526[_0x52ceac(0x59b)]||_0x1ec526[_0x52ceac(0x4f8)]||!_0x95ab0c['getCapabilities'](_0x1ec526)[_0x52ceac(0x3fe)])throw Error(_0x52ceac(0x2b8));let _0x2f90a4=_0x95ab0c['normalize'](_0x38c46e,_0x1ec526),_0x2ef86f=_0x95ab0c[_0x52ceac(0x3a4)](_0x2f90a4,_0x1ec526);if(!_0x2ef86f[_0x52ceac(0x49e)])throw Error(_0x2ef86f[_0x52ceac(0x2a3)]??_0x52ceac(0x3fc));let _0x3130b7=_0x1ec526[_0x52ceac(0x292)]===_0x13cf76[_0x52ceac(0x517)][_0x52ceac(0x5b0)]?_0x5d7c0c(_0x1770b9,_0x1ec526,_0x2f90a4):{'valid':!0x0};if(!_0x3130b7[_0x52ceac(0x49e)])throw Error(_0x3130b7[_0x52ceac(0x2a3)]??_0x52ceac(0x543));return _0x2f90a4;}[_0x571676(0x364)](_0x23a240,_0x717834){const _0x535381=_0x571676;if(_0x717834['id']===_0x13cf76[_0x535381(0x544)]||_0x717834[_0x535381(0x292)]===_0x13cf76[_0x535381(0x517)][_0x535381(0x2ea)]||(0x0,_0x13cf76[_0x535381(0x4ec)])(_0x717834[_0x535381(0x46d)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0xad98cd=_0x5a4a77(_0x23a240,_0x717834);if(!_0xad98cd[_0x535381(0x49e)])throw Error(_0xad98cd[_0x535381(0x2a3)]??_0x535381(0x54b));}};_0x2f32b0=_0xd015f8([_0xddcdca(0x0,_0x43d5bd),_0xddcdca(0x1,_0x1be8ce)],_0x2f32b0);function _0x1468a8(){const _0x5e285d=_0x571676;let _0x500b90=new _0x314c5d();return _0x44e8e4()[_0x5e285d(0x3c9)](_0x12c28a=>_0x500b90[_0x5e285d(0x339)](_0x12c28a)),_0x500b90;}function _0x3d0c74(_0xafec59){const _0x354b08=_0x571676;return _0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x2a4)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x537)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76[_0x354b08(0x517)][_0x354b08(0x320)]||_0xafec59[_0x354b08(0x292)]===_0x13cf76['BaseFieldType'][_0x354b08(0x337)]||_0xafec59['type']===_0x13cf76['BaseFieldType'][_0x354b08(0x472)];}let _0x2246eb=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)],_0x13cf76[_0x571676(0x517)][_0x571676(0x55f)]]);function _0x1b61d0(_0x479298){const _0x5df6fb=_0x571676;let _0x4da629=_0x479298['fields'][_0x479298[_0x5df6fb(0x422)]];if((!_0x4da629||_0x4da629[_0x5df6fb(0x4f8)]!==!0x0&&_0x4da629['id'][_0x5df6fb(0x2b0)]()!=='id'&&_0x4da629[_0x5df6fb(0x46d)]['trim']()[_0x5df6fb(0x2b0)]()!=='id')&&_0x4da629)return _0x4da629['id'];for(let _0x6305f3 of _0x479298[_0x5df6fb(0x582)]){let _0x3b0042=_0x479298[_0x5df6fb(0x3c2)][_0x6305f3];if(_0x3b0042&&_0x3b0042['id']!==_0x479298[_0x5df6fb(0x422)]&&_0x3b0042[_0x5df6fb(0x4f8)]!==!0x0&&_0x3b0042[_0x5df6fb(0x292)]!==_0x13cf76[_0x5df6fb(0x517)]['RecordId'])return _0x3b0042['id'];}return _0x479298[_0x5df6fb(0x422)];}function _0x47953f(_0x44c7e6,_0xde6929=[],_0x57cfa9=0x5){const _0xb4736a=_0x571676;let _0x3889fb=new Set(_0xde6929[_0xb4736a(0x3c4)](_0x43fca6=>!!_0x43fca6)),_0x7a8ad0=[],_0x3f70eb=[];for(let _0x4f2af1 of _0x44c7e6[_0xb4736a(0x582)]){let _0x29cb51=_0x44c7e6['fields'][_0x4f2af1];_0x29cb51&&_0x29cb51[_0xb4736a(0x4f8)]!==!0x0&&_0x29cb51[_0xb4736a(0x292)]!==_0x13cf76['BaseFieldType'][_0xb4736a(0x2ea)]&&!_0x3889fb[_0xb4736a(0x370)](_0x29cb51['id'])&&(_0x2246eb['has'](_0x29cb51[_0xb4736a(0x292)])?_0x7a8ad0:_0x3f70eb)[_0xb4736a(0x401)](_0x29cb51['id']);}return[..._0x7a8ad0,..._0x3f70eb][_0xb4736a(0x377)](0x0,_0x57cfa9);}function _0x10ad0c(){const _0x370bcc=_0x571676;return[{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x4fc)],'i18nKey':_0x370bcc(0x345),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2bac55=_0x370bcc;throw Error(_0x2bac55(0x4f5));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x58a)],'i18nKey':_0x370bcc(0x23b),'createDefaultConfig':_0x409e30=>{const _0x3d1679=_0x370bcc;let _0x35a68d=_0x1970c0(_0x409e30);return{'groupFieldId':_0x35a68d,'coverFieldId':null,'cardLayout':_0x3d1679(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x409e30[_0x3d1679(0x422)],'fieldIds':_0x47953f(_0x409e30,[_0x409e30[_0x3d1679(0x422)],_0x35a68d])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c32eb=_0x370bcc;throw Error(_0x5c32eb(0x55e));}},{'type':_0x13cf76[_0x370bcc(0x5ba)]['Calendar'],'i18nKey':_0x370bcc(0x2e9),'createDefaultConfig':_0x1d7559=>{const _0x41bc3f=_0x370bcc;let _0x1530a4=_0x575234(_0x1d7559);return{'startDateFieldId':_0x1530a4,'endDateFieldId':_0x227cf0(_0x1d7559,_0x1530a4),'titleFieldId':_0x1d7559[_0x41bc3f(0x422)],'mode':'month','timeslotSize':'medium','timeZone':'local','displayColor':{'type':_0x41bc3f(0x5cd),'color':_0x41bc3f(0x19d)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c0b8f=_0x370bcc;throw Error(_0x5c0b8f(0x2c8));}},{'type':_0x13cf76['BaseViewType']['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x187a7f=>{const _0x128fad=_0x370bcc;let _0x89c985=_0x575234(_0x187a7f);return{'startDateFieldId':_0x89c985,'endDateFieldId':_0x227cf0(_0x187a7f,_0x89c985)??_0x89c985,'titleFieldId':_0x187a7f['primaryFieldId'],'scale':_0x128fad(0x5d8),'showTodayLine':!0x0,'displayColor':{'type':_0x128fad(0x5cd),'color':_0x128fad(0x1fe)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2e2c2b=_0x370bcc;throw Error(_0x2e2c2b(0x4da));}},{'type':_0x13cf76[_0x370bcc(0x5ba)][_0x370bcc(0x51a)],'i18nKey':_0x370bcc(0x3a6),'createDefaultConfig':_0x4bdb5f=>{const _0x1ae106=_0x370bcc;let _0x5eef25=_0x1b61d0(_0x4bdb5f);return{'coverFieldId':null,'cardLayout':_0x1ae106(0x2f6),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5eef25,'coverFieldId':null,'fieldIds':_0x47953f(_0x4bdb5f,[_0x5eef25,_0x4bdb5f['primaryFieldId']])},'cardSize':_0x1ae106(0x532)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xb78cae=_0x370bcc;throw Error(_0xb78cae(0x260));}}];}function _0x1970c0(_0x292fd7){const _0x4b2e47=_0x571676;var _0x72109f,_0x11d9c4,_0x167871;let _0x5d5d90=_0x292fd7['fieldOrder'][_0x4b2e47(0x329)](_0x256f76=>_0x292fd7[_0x4b2e47(0x3c2)][_0x256f76])['filter'](_0x318d59=>!!_0x318d59);return((_0x72109f=_0x5d5d90['find'](_0x94fd0b=>_0x94fd0b[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x221)]||_0x94fd0b['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x247)]||_0x94fd0b['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x53b)]))==null?void 0x0:_0x72109f['id'])??((_0x11d9c4=_0x5d5d90[_0x4b2e47(0x56a)](_0x3975aa=>_0x3975aa[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x4c5)]))==null?void 0x0:_0x11d9c4['id'])??((_0x167871=_0x5d5d90[_0x4b2e47(0x56a)](_0x101841=>_0x101841[_0x4b2e47(0x292)]===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x494)]||_0x101841['type']===_0x13cf76[_0x4b2e47(0x517)][_0x4b2e47(0x337)]||_0x101841['type']===_0x13cf76['BaseFieldType'][_0x4b2e47(0x472)]))==null?void 0x0:_0x167871['id'])??_0x292fd7[_0x4b2e47(0x422)];}function _0x575234(_0xd2ae1){const _0x501619=_0x571676;var _0x580a57;return((_0x580a57=_0xd2ae1['fieldOrder']['map'](_0x2e4450=>_0xd2ae1['fields'][_0x2e4450])[_0x501619(0x56a)](_0xe88d69))==null?void 0x0:_0x580a57['id'])??'';}function _0x227cf0(_0x1a1715,_0x4db0d9){const _0x44221d=_0x571676;var _0x59fa52;return(_0x59fa52=_0x1a1715[_0x44221d(0x582)][_0x44221d(0x329)](_0x393a9b=>_0x1a1715[_0x44221d(0x3c2)][_0x393a9b])[_0x44221d(0x56a)](_0x2663a1=>_0xe88d69(_0x2663a1)&&_0x2663a1['id']!==_0x4db0d9))==null?void 0x0:_0x59fa52['id'];}function _0xe88d69(_0x10f3db){const _0x3043e9=_0x571676;return!!_0x10f3db&&_0x10f3db[_0x3043e9(0x292)]===_0x13cf76[_0x3043e9(0x517)][_0x3043e9(0x494)]&&_0x10f3db[_0x3043e9(0x59b)]!==!0x0&&_0x10f3db[_0x3043e9(0x4f8)]!==!0x0;}let _0x5c11cd=(0x0,_0x13cf76[_0x571676(0x220)])(_0x571676(0x1dc)),_0x39090b=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76[_0x571676(0x517)][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)]['Rating'],_0x13cf76['BaseFieldType'][_0x571676(0x494)],_0x13cf76[_0x571676(0x517)]['CreatedAt'],_0x13cf76[_0x571676(0x517)][_0x571676(0x472)],_0x13cf76[_0x571676(0x517)]['Checkbox']]),_0xb61d09=0x5265c00,_0x308bae=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x26c525){const _0x244deb=_0x571676;super(),this[_0x244deb(0x26f)]=_0x26c525,_0x1a302a(this,_0x244deb(0x45f),new Map()),_0x1a302a(this,_0x244deb(0x53d),new WeakMap()),_0x1a302a(this,_0x244deb(0x45c),new Map()),_0x1a302a(this,_0x244deb(0x4f4),new Map()),_0x1a302a(this,_0x244deb(0x198),new Map()),_0x1a302a(this,_0x244deb(0x1d8),new Map()),_0x1a302a(this,'_globalRevision',0x0),_0x1a302a(this,'_tableRevisions',new Map()),_0x1a302a(this,_0x244deb(0x5b7),new Map()),_0x1a302a(this,_0x244deb(0x43c),new Map()),_0x1a302a(this,_0x244deb(0x2fb),new Map());}[_0x571676(0x2a1)](_0xa5183e){const _0x3cfd07=_0x571676;return this[_0x3cfd07(0x45f)]['set'](_0xa5183e[_0x3cfd07(0x292)],_0xa5183e),(0x0,_0x13cf76[_0x3cfd07(0x539)])(()=>this['_views']['delete'](_0xa5183e[_0x3cfd07(0x292)]));}[_0x571676(0x56c)](_0xf50a9,_0xf6bd0d,_0x2d80d0){const _0x3c494f=_0x571676;var _0x55d68a,_0x42fe3e,_0x36a504;return _0x32800a('BaseProjection.getProjection',()=>{const _0x6d63a3=_0x4fc5;let _0x4df23e=this[_0x6d63a3(0x5d4)](_0xf50a9,_0xf6bd0d,_0x2d80d0);if(_0x4df23e)return _0x4df23e;let _0x110721=_0xf50a9[_0x6d63a3(0x291)][_0xf6bd0d],_0x566ba3=_0x110721==null?void 0x0:_0x110721['views'][_0x2d80d0];if(!_0x110721||!_0x566ba3)return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,{'type':_0x6d63a3(0x3a9),'viewType':(_0x566ba3==null?void 0x0:_0x566ba3[_0x6d63a3(0x292)])??_0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)],'reason':_0x6d63a3(0x34e)});let _0x2cb7bf;switch(_0x566ba3['type']){case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x4fc)]:_0x2cb7bf=this[_0x6d63a3(0x4b6)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x520)]:_0x2cb7bf=this[_0x6d63a3(0x2f5)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x58a)]:_0x2cb7bf=this[_0x6d63a3(0x22e)](_0x110721,_0x566ba3);break;case _0x13cf76[_0x6d63a3(0x5ba)][_0x6d63a3(0x17a)]:_0x2cb7bf=this[_0x6d63a3(0x540)](_0x110721,_0x566ba3);break;case _0x13cf76['BaseViewType'][_0x6d63a3(0x51a)]:_0x2cb7bf=this[_0x6d63a3(0x3bd)](_0x110721,_0x566ba3);break;default:_0x2cb7bf={'type':_0x6d63a3(0x3a9),'viewType':_0x566ba3[_0x6d63a3(0x292)],'reason':'missingField'};}return this[_0x6d63a3(0x1ba)](_0xf50a9,_0xf6bd0d,_0x2d80d0,_0x2cb7bf);},{'tableId':_0xf6bd0d,'viewId':_0x2d80d0,'viewType':(_0x55d68a=_0xf50a9['tables'][_0xf6bd0d])==null||(_0x55d68a=_0x55d68a[_0x3c494f(0x18d)][_0x2d80d0])==null?void 0x0:_0x55d68a['type'],'records':((_0x42fe3e=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null||(_0x42fe3e=_0x42fe3e[_0x3c494f(0x1cd)])==null?void 0x0:_0x42fe3e[_0x3c494f(0x4e9)])??Object[_0x3c494f(0x2db)](((_0x36a504=_0xf50a9[_0x3c494f(0x291)][_0xf6bd0d])==null?void 0x0:_0x36a504[_0x3c494f(0x38f)])??{})[_0x3c494f(0x4e9)]});}[_0x571676(0x2a7)](_0x55408f,_0x431d37,_0x3526b8){const _0x3e9262=_0x571676;var _0x2040e8,_0x293b61,_0x2ac62f;let _0x815121=_0x55408f[_0x3e9262(0x291)][_0x431d37],_0x411ed8=_0x815121==null?void 0x0:_0x815121['views'][_0x3526b8];if(!_0x815121||!_0x411ed8)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x3526b8+'\x22.');let _0x2ed2a0=_0x589661=>!!_0x815121[_0x3e9262(0x3c2)][_0x589661],_0x521779={..._0x411ed8,'filter':_0x411ed8[_0x3e9262(0x3c4)]?{..._0x411ed8[_0x3e9262(0x3c4)],'conditions':_0x411ed8['filter'][_0x3e9262(0x3af)]['filter'](_0x22bfde=>_0x2ed2a0(_0x22bfde[_0x3e9262(0x384)]))}:_0x411ed8[_0x3e9262(0x3c4)],'sort':(_0x2040e8=_0x411ed8[_0x3e9262(0x4af)])==null?void 0x0:_0x2040e8[_0x3e9262(0x3c4)](_0x265c7d=>_0x2ed2a0(_0x265c7d[_0x3e9262(0x384)])),'group':(_0x293b61=_0x411ed8[_0x3e9262(0x42c)])==null?void 0x0:_0x293b61[_0x3e9262(0x3c4)](_0x47f306=>_0x2ed2a0(_0x47f306['fieldId'])),'fieldOrder':(_0x2ac62f=_0x411ed8[_0x3e9262(0x582)])==null?void 0x0:_0x2ac62f[_0x3e9262(0x3c4)](_0x2ed2a0),'fieldSettings':Object[_0x3e9262(0x1fc)](Object[_0x3e9262(0x460)](_0x411ed8[_0x3e9262(0x3ea)]??{})[_0x3e9262(0x3c4)](([_0xc5ec4a])=>_0x2ed2a0(_0xc5ec4a)))};if(_0x521779[_0x3e9262(0x292)]===_0x3e9262(0x592)){var _0x5312ef;let _0x47632d=_0x521779[_0x3e9262(0x5b9)]??{},_0x1cce92=this[_0x3e9262(0x468)](_0x815121,_0x521779),_0x152028=this[_0x3e9262(0x5ab)](_0x815121,(_0x5312ef=_0x47632d[_0x3e9262(0x2ac)])==null?void 0x0:_0x5312ef[_0x3e9262(0x41d)]);_0x521779['config']={..._0x47632d,'groupFieldId':_0x1cce92??_0x47632d['groupFieldId'],'coverFieldId':this[_0x3e9262(0x431)](_0x815121,_0x47632d),'cardLayout':_0x47632d[_0x3e9262(0x528)]===_0x3e9262(0x199)?_0x3e9262(0x199):_0x3e9262(0x2f6),'showFieldNames':_0x47632d[_0x3e9262(0x3e8)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3e9262(0x460)](_0x47632d[_0x3e9262(0x3ea)]??{})['filter'](([_0x3574b5])=>_0x2ed2a0(_0x3574b5))),'columnSettings':_0x47632d[_0x3e9262(0x4b2)]??{},'card':{..._0x47632d[_0x3e9262(0x2ac)]??{},'titleFieldId':_0x152028,'fieldIds':this[_0x3e9262(0x49b)](_0x815121,_0x521779,_0x1cce92??'',_0x152028)}};}return{'repaired':JSON['stringify'](_0x521779)!==JSON[_0x3e9262(0x30d)](_0x411ed8),'view':_0x521779};}[_0x571676(0x5cb)](){this['_globalRevision']++;}[_0x571676(0x4bb)](_0x312624,_0x3c790b,_0x190273){const _0x1b4227=_0x571676;let _0x1961eb=this[_0x1b4227(0x1e5)](_0x312624)+0x1;this[_0x1b4227(0x5b7)][_0x1b4227(0x569)](_0x312624,_0x1961eb);let _0x301e9c=this['_cellInvalidations'][_0x1b4227(0x59c)](_0x312624)??[];_0x301e9c[_0x1b4227(0x401)]({'revision':_0x1961eb,'recordId':_0x3c790b,'fieldId':_0x190273}),this[_0x1b4227(0x43c)][_0x1b4227(0x569)](_0x312624,_0x301e9c);}['invalidateByField'](_0x48fa3e,_0x42d197){this['_bumpTableRevision'](_0x48fa3e);}[_0x571676(0x47a)](_0x3cb040,_0x1d39f2){const _0x5077f1=_0x571676;this['_viewRevisions']['set'](this[_0x5077f1(0x33d)](_0x3cb040,_0x1d39f2),this[_0x5077f1(0x4ae)](_0x3cb040,_0x1d39f2)+0x1);}[_0x571676(0x5d4)](_0x443428,_0x14496c,_0xd47c36){const _0x953cf9=_0x571676;var _0x5abf42;let _0x18c062=(_0x5abf42=this[_0x953cf9(0x53d)]['get'](_0x443428))==null?void 0x0:_0x5abf42['get'](this[_0x953cf9(0x479)](_0x14496c,_0xd47c36));return _0x18c062&&_0x18c062[_0x953cf9(0x22a)]===this[_0x953cf9(0x3f8)]&&_0x18c062[_0x953cf9(0x49d)]===this[_0x953cf9(0x5e5)](_0x14496c)&&_0x18c062[_0x953cf9(0x51d)]===this[_0x953cf9(0x1e5)](_0x14496c)&&_0x18c062['viewRevision']===this[_0x953cf9(0x4ae)](_0x14496c,_0xd47c36)?_0x18c062[_0x953cf9(0x210)]:null;}[_0x571676(0x1ba)](_0x4ef96b,_0xadd8b6,_0x275855,_0x23ef8e){const _0x259f93=_0x571676;let _0x4a3626=this[_0x259f93(0x53d)]['get'](_0x4ef96b);return _0x4a3626||(_0x4a3626=new Map(),this[_0x259f93(0x53d)][_0x259f93(0x569)](_0x4ef96b,_0x4a3626)),_0x4a3626['set'](this[_0x259f93(0x479)](_0xadd8b6,_0x275855),{'projection':_0x23ef8e,'globalRevision':this[_0x259f93(0x3f8)],'tableRevision':this[_0x259f93(0x5e5)](_0xadd8b6),'cellRevision':this[_0x259f93(0x1e5)](_0xadd8b6),'viewRevision':this['_getViewRevision'](_0xadd8b6,_0x275855)}),_0x23ef8e;}[_0x571676(0x3b8)](_0x96c08){const _0x2b27d6=_0x571676;this[_0x2b27d6(0x4c9)][_0x2b27d6(0x569)](_0x96c08,this['_getTableRevision'](_0x96c08)+0x1);}[_0x571676(0x5e5)](_0x423533){return this['_tableRevisions']['get'](_0x423533)??0x0;}[_0x571676(0x1e5)](_0x125819){const _0x4da4ab=_0x571676;return this[_0x4da4ab(0x5b7)][_0x4da4ab(0x59c)](_0x125819)??0x0;}[_0x571676(0x4ae)](_0x4f7e95,_0x37210f){const _0x164141=_0x571676;return this['_viewRevisions'][_0x164141(0x59c)](this[_0x164141(0x33d)](_0x4f7e95,_0x37210f))??0x0;}['_cacheKey'](_0x4d7ddf,_0x4f3feb){return _0x4d7ddf+'\x00'+_0x4f3feb;}[_0x571676(0x28a)](_0x127bc3,_0x3fd099){const _0x2c8654=_0x571676;return _0x127bc3+'\x00'+this[_0x2c8654(0x44c)](_0x3fd099);}[_0x571676(0x201)](_0x4f649c,_0x8a9b8a,_0x2cc8c0){const _0x10fb72=_0x571676;return _0x4f649c+'\x00'+this[_0x10fb72(0x44c)](_0x8a9b8a)+'\x00'+this[_0x10fb72(0x29b)](_0x2cc8c0);}[_0x571676(0x44c)](_0x20caa8){const _0x4634c0=_0x571676;return _0x20caa8?_0x59f21e({'filter':_0x394f5b(_0x20caa8[_0x4634c0(0x3c4)]),'sort':_0x42c04c(_0x20caa8[_0x4634c0(0x4af)])}):_0x4634c0(0x34b);}[_0x571676(0x29b)](_0x1a6937){const _0x550d39=_0x571676;return _0x59f21e(_0x1a6937[_0x550d39(0x329)](_0x4cfc52=>({'fieldId':_0x4cfc52[_0x550d39(0x384)],'direction':_0x4cfc52[_0x550d39(0x1c7)]??null})));}[_0x571676(0x33d)](_0x2dce8d,_0x395507){return _0x2dce8d+'\x00'+_0x395507;}[_0x571676(0x4b6)](_0x4ad86f,_0x275527){const _0x3d5003=_0x571676;var _0x2d9115;let _0x5251e4=_0x2d5926(_0x4ad86f),_0x283ff3=this[_0x3d5003(0x38a)](_0x4ad86f,_0x275527),_0x29b363=(_0x2d9115=_0x275527['filter'])!=null&&_0x2d9115[_0x3d5003(0x3af)][_0x3d5003(0x4e9)]?this[_0x3d5003(0x38a)](_0x4ad86f,{..._0x275527,'filter':null}):_0x283ff3,_0xd5b7b0=_0x4ceb91(this[_0x3d5003(0x239)](_0x4ad86f,_0x5251e4,_0x275527['id'],_0x29b363[_0x3d5003(0x329)](_0x3fe8f3=>_0x3fe8f3[_0x3d5003(0x5c4)])),_0x29b363,new Set(_0x283ff3[_0x3d5003(0x329)](_0x4745ec=>_0x4745ec[_0x3d5003(0x5c4)])));return{'type':_0x13cf76[_0x3d5003(0x5ba)]['Grid'],'fields':this[_0x3d5003(0x5cf)](_0x4ad86f,_0x275527),'rows':_0xd5b7b0['rows'],'groups':this[_0x3d5003(0x51e)](_0x4ad86f,_0x275527,_0xd5b7b0['rows'],_0xd5b7b0['hierarchy']),'hierarchy':_0xd5b7b0[_0x3d5003(0x206)],'frozenFieldCount':typeof _0x275527['config']['frozenFieldCount']==_0x3d5003(0x3dc)?_0x275527[_0x3d5003(0x5b9)][_0x3d5003(0x379)]:0x0};}[_0x571676(0x239)](_0x5bd3b5,_0x5b450b,_0x36ade4,_0xf5bfdf){const _0x14e0f1=_0x571676;let _0x22e247=_0x5bd3b5['id']+'\x00'+_0x5b450b+'\x00'+_0x36ade4,_0x359a7e=this[_0x14e0f1(0x1e5)](_0x5bd3b5['id']),_0x840906=this['_hierarchyIndexCache'][_0x14e0f1(0x59c)](_0x22e247);if(_0x840906&&_0x840906['globalRevision']===this[_0x14e0f1(0x3f8)]&&_0x840906[_0x14e0f1(0x49d)]===this[_0x14e0f1(0x5e5)](_0x5bd3b5['id'])&&_0x840906['orderedRecordIds'][_0x14e0f1(0x4e9)]===_0xf5bfdf[_0x14e0f1(0x4e9)]&&_0x840906[_0x14e0f1(0x5d5)][_0x14e0f1(0x5a5)]((_0x5b6d1c,_0x5737c4)=>_0x5b6d1c===_0xf5bfdf[_0x5737c4])){if(_0x840906[_0x14e0f1(0x51d)]===_0x359a7e&&_0x840906[_0x14e0f1(0x4b7)]===_0x5bd3b5)return _0x840906[_0x14e0f1(0x36f)];if(!this[_0x14e0f1(0x229)](_0x5bd3b5['id'],_0x840906[_0x14e0f1(0x51d)],_0x359a7e,new Set([_0x5b450b])))return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{..._0x840906,'table':_0x5bd3b5,'cellRevision':_0x359a7e}),_0x840906[_0x14e0f1(0x36f)];}let _0x44ca23=_0x4067d3(_0x5bd3b5,_0x5b450b,_0xf5bfdf);return this[_0x14e0f1(0x1d8)][_0x14e0f1(0x569)](_0x22e247,{'table':_0x5bd3b5,'index':_0x44ca23,'orderedRecordIds':_0xf5bfdf,'globalRevision':this[_0x14e0f1(0x3f8)],'tableRevision':this[_0x14e0f1(0x5e5)](_0x5bd3b5['id']),'cellRevision':_0x359a7e}),_0x44ca23;}[_0x571676(0x51e)](_0x2ff520,_0x3e365a,_0x229eb9,_0x58aa43){const _0x5f1d00=_0x571676;var _0x5284ac;if(!((_0x5284ac=_0x3e365a[_0x5f1d00(0x42c)])!=null&&_0x5284ac[_0x5f1d00(0x4e9)]))return[];let _0x2d24a3=new Map(_0x229eb9[_0x5f1d00(0x329)](_0x1555a7=>[_0x1555a7['recordId'],_0x1555a7])),_0x31d5a0=_0x58aa43[_0x5f1d00(0x549)][_0x5f1d00(0x387)](_0x26aedd=>{let _0x31faf3=_0x2d24a3['get'](_0x26aedd);return _0x31faf3?[_0x31faf3]:[];}),_0x130ca7=this[_0x5f1d00(0x4eb)](_0x2ff520,_0x3e365a,_0x31d5a0),_0x598a99=new Map(_0x58aa43[_0x5f1d00(0x5d5)][_0x5f1d00(0x329)]((_0xd90a70,_0x39831e)=>[_0xd90a70,_0x39831e])),_0x5d42ca=_0xb6c5fe=>{const _0x2901a2=_0x5f1d00;let _0x5f3dbe=_0x58aa43['nodes'][_0xb6c5fe],_0x221d16=_0x598a99[_0x2901a2(0x59c)](_0xb6c5fe)??-0x1;return _0x221d16<0x0||!_0x5f3dbe?[]:_0x58aa43[_0x2901a2(0x5d5)]['slice'](_0x221d16,_0x5f3dbe[_0x2901a2(0x28d)]+0x1);},_0x30f6e6=_0x39ae2e=>{const _0x20c6e7=_0x5f1d00;var _0x4ccd6e,_0x5168ac;return{..._0x39ae2e,'recordIds':(_0x4ccd6e=_0x39ae2e[_0x20c6e7(0x2e1)])!=null&&_0x4ccd6e['length']?_0x39ae2e[_0x20c6e7(0x2bc)]:_0x39ae2e[_0x20c6e7(0x2bc)][_0x20c6e7(0x387)](_0x5d42ca),'children':(_0x5168ac=_0x39ae2e[_0x20c6e7(0x2e1)])==null?void 0x0:_0x5168ac[_0x20c6e7(0x329)](_0x30f6e6)};};return _0x130ca7[_0x5f1d00(0x329)](_0x30f6e6);}[_0x571676(0x22e)](_0x124d73,_0x47c800){const _0x16f079=_0x571676;var _0x2bd0ce;let _0x528c7b=this[_0x16f079(0x468)](_0x124d73,_0x47c800),_0x39006d=_0x528c7b?_0x124d73[_0x16f079(0x3c2)][_0x528c7b]:void 0x0;if(!_0x39006d)return{'type':_0x16f079(0x3a9),'viewType':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'reason':_0x16f079(0x42d),'fieldId':_0x47c800[_0x16f079(0x5b9)][_0x16f079(0x34f)]};let _0x17549e=this[_0x16f079(0x38a)](_0x124d73,_0x47c800),_0x9c8f7a=this[_0x16f079(0x5cf)](_0x124d73,_0x47c800),_0x50d6d1=_0x47c800['config']??{},_0x5588fe=this[_0x16f079(0x5ab)](_0x124d73,(_0x2bd0ce=_0x50d6d1['card'])==null?void 0x0:_0x2bd0ce['titleFieldId']),_0x4bbc1e=this[_0x16f079(0x49b)](_0x124d73,_0x47c800,_0x39006d['id'],_0x5588fe),_0x1a21d3=new Map();if(_0x53a126(_0x124d73,_0x39006d['id'])){let _0x2e75e5=this['_getHierarchyIndex'](_0x124d73,_0x39006d['id'],_0x47c800['id'],_0x17549e[_0x16f079(0x329)](_0x236b9d=>_0x236b9d[_0x16f079(0x5c4)])),_0x488bd2=new Map();return _0x17549e[_0x16f079(0x3c9)](_0x526b57=>{const _0x22ca90=_0x16f079;let _0x409d7f=_0x2e75e5[_0x22ca90(0x31b)][_0x22ca90(0x59c)](_0x526b57[_0x22ca90(0x5c4)])??null,_0x397a2c=_0x409d7f??'',_0x57ea44=_0x409d7f?_0x124d73[_0x22ca90(0x38f)][_0x409d7f]:void 0x0,_0xc1ba64=_0x488bd2[_0x22ca90(0x59c)](_0x397a2c)??{'key':_0x397a2c,'title':_0x57ea44?String(_0x5d2adc(_0x124d73,_0x57ea44['id'],_0x124d73[_0x22ca90(0x422)])??_0x409d7f):this[_0x22ca90(0x281)](_0x39006d,_0x397a2c,_0x50d6d1),'recordIds':[]};_0xc1ba64['recordIds'][_0x22ca90(0x401)](_0x526b57[_0x22ca90(0x5c4)]),_0x488bd2[_0x22ca90(0x569)](_0x397a2c,_0xc1ba64);}),{'type':_0x13cf76[_0x16f079(0x5ba)]['Kanban'],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':[],'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':['',..._0x2e75e5[_0x16f079(0x5d5)]][_0x16f079(0x387)](_0x5f2ac5=>{const _0x54e0a2=_0x16f079;let _0x57a73b=_0x488bd2[_0x54e0a2(0x59c)](_0x5f2ac5);return _0x57a73b!=null&&_0x57a73b[_0x54e0a2(0x2bc)][_0x54e0a2(0x4e9)]?[_0x57a73b]:[];})};}return this['_getKanbanConfiguredLanes'](_0x39006d,_0x50d6d1)[_0x16f079(0x3c9)](_0x655771=>_0x1a21d3[_0x16f079(0x569)](_0x655771['key'],{..._0x655771,'recordIds':[]})),_0x17549e['forEach'](_0x515b12=>{const _0xf4e7d6=_0x16f079;this[_0xf4e7d6(0x534)](_0x39006d,_0x515b12[_0xf4e7d6(0x334)][_0x39006d['id']])[_0xf4e7d6(0x3c9)](_0x19da5b=>{const _0x5231f2=_0xf4e7d6;let _0x170d91=_0x1a21d3['get'](_0x19da5b)??{'key':_0x19da5b,'title':this[_0x5231f2(0x281)](_0x39006d,_0x19da5b,_0x50d6d1),'color':this['_kanbanLaneColor'](_0x39006d,_0x19da5b,_0x50d6d1),'recordIds':[]};_0x170d91[_0x5231f2(0x2bc)][_0x5231f2(0x401)](_0x515b12[_0x5231f2(0x5c4)]),_0x1a21d3[_0x5231f2(0x569)](_0x19da5b,_0x170d91);});}),{'type':_0x13cf76[_0x16f079(0x5ba)][_0x16f079(0x58a)],'fields':_0x9c8f7a,'rows':_0x17549e,'groups':this['_projectGroups'](_0x124d73,_0x47c800,_0x17549e),'groupFieldId':_0x39006d['id'],'titleFieldId':_0x5588fe,'coverFieldId':this[_0x16f079(0x431)](_0x124d73,_0x50d6d1),'cardLayout':_0x50d6d1[_0x16f079(0x528)]===_0x16f079(0x199)?_0x16f079(0x199):_0x16f079(0x2f6),'showFieldNames':_0x50d6d1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x4bbc1e,'lanes':Array[_0x16f079(0x2ed)](_0x1a21d3[_0x16f079(0x334)]())};}[_0x571676(0x468)](_0x34c326,_0x1fbf44){const _0x14b695=_0x571676;var _0x1ac24c;let _0x56a389=(_0x1ac24c=_0x1fbf44[_0x14b695(0x5b9)])==null?void 0x0:_0x1ac24c[_0x14b695(0x34f)];return _0x56a389&&this['_isKanbanGroupField'](_0x34c326,_0x56a389)?_0x56a389:this[_0x14b695(0x4b5)](_0x34c326,_0x4a7814=>this['_isAllowedKanbanGroupField'](_0x4a7814));}[_0x571676(0x4b5)](_0x68cf3d,_0x40192b){const _0x400edd=_0x571676;for(let _0x3a0a46 of _0x68cf3d['fieldOrder']){let _0x39da03=_0x68cf3d[_0x400edd(0x3c2)][_0x3a0a46];if(_0x39da03&&_0x40192b(_0x39da03))return _0x39da03['id'];}return null;}[_0x571676(0x31f)](_0x3895a8,_0x2261a5){const _0x48a393=_0x571676;let _0x52d803=_0x3895a8[_0x48a393(0x3c2)][_0x2261a5];return this[_0x48a393(0x4b1)](_0x52d803)||_0x53a126(_0x3895a8,_0x2261a5);}[_0x571676(0x4b1)](_0x30fba1){const _0x3fbaa1=_0x571676;return!!_0x30fba1&&(_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)]['SingleSelect']||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x247)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x238)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76[_0x3fbaa1(0x517)][_0x3fbaa1(0x43f)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x53b)]||_0x30fba1[_0x3fbaa1(0x292)]===_0x13cf76['BaseFieldType'][_0x3fbaa1(0x55f)]);}[_0x571676(0x1a2)](_0x1db317){const _0x211e38=_0x571676;return _0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x221)]||_0x1db317[_0x211e38(0x292)]===_0x13cf76[_0x211e38(0x517)][_0x211e38(0x247)];}[_0x571676(0x431)](_0x3579ae,_0x293eb3){const _0xe816e7=_0x571676;var _0x12bc37;let _0x29d63b=_0x293eb3[_0xe816e7(0x36d)]??((_0x12bc37=_0x293eb3['card'])==null?void 0x0:_0x12bc37['coverFieldId'])??null;if(!_0x29d63b)return null;let _0x1393a0=_0x3579ae[_0xe816e7(0x3c2)][_0x29d63b];return _0x1393a0&&this[_0xe816e7(0x1d7)](_0x1393a0)[_0xe816e7(0x20f)]?_0x1393a0['id']:null;}['_resolveKanbanCardFieldIds'](_0x159da7,_0x44baec,_0x5d8dc9,_0x40d790=this[_0x571676(0x5ab)](_0x159da7,((()=>{const _0x80d1cf=_0x571676;var _0x6b5d1f;return(_0x6b5d1f=_0x44baec[_0x80d1cf(0x5b9)])==null||(_0x6b5d1f=_0x6b5d1f[_0x80d1cf(0x2ac)])==null?void 0x0:_0x6b5d1f['titleFieldId'];})()))){const _0x2b5246=_0x571676;var _0x40eab8;let _0x5af70e=_0x44baec['config']??{},_0x89a165=(_0x40eab8=_0x5af70e[_0x2b5246(0x2ac)])!=null&&(_0x40eab8=_0x40eab8['fieldIds'])!=null&&_0x40eab8[_0x2b5246(0x4e9)]?_0x5af70e[_0x2b5246(0x2ac)][_0x2b5246(0x1bb)]:_0x47953f(_0x159da7,[_0x40d790,_0x159da7[_0x2b5246(0x422)],_0x5d8dc9]),_0x51f518=_0x5af70e[_0x2b5246(0x3ea)]??{};return _0x89a165[_0x2b5246(0x3c4)](_0x524174=>{const _0x898332=_0x2b5246;var _0x4d81f6,_0x254533;let _0x19a3e9=_0x159da7['fields'][_0x524174];return!(!_0x19a3e9||_0x19a3e9[_0x898332(0x4f8)]===!0x0||_0x19a3e9[_0x898332(0x292)]===_0x13cf76[_0x898332(0x517)][_0x898332(0x2ea)]||_0x19a3e9['id']===_0x5d8dc9||_0x19a3e9['id']===_0x40d790||(_0x4d81f6=_0x44baec[_0x898332(0x3ea)])!=null&&(_0x4d81f6=_0x4d81f6[_0x524174])!=null&&_0x4d81f6[_0x898332(0x3fd)]||(_0x254533=_0x51f518[_0x524174])!=null&&_0x254533['hidden']);})[_0x2b5246(0x4af)]((_0x1ced03,_0x3e8478)=>{const _0x385bf1=_0x2b5246;var _0x380df5,_0x42c51a;return(((_0x380df5=_0x51f518[_0x1ced03])==null?void 0x0:_0x380df5[_0x385bf1(0x1e3)])??_0x89a165['indexOf'](_0x1ced03))-(((_0x42c51a=_0x51f518[_0x3e8478])==null?void 0x0:_0x42c51a[_0x385bf1(0x1e3)])??_0x89a165[_0x385bf1(0x406)](_0x3e8478));});}[_0x571676(0x287)](_0x225c74,_0xf6b440){const _0x40ff5e=_0x571676;var _0x2eb103;let _0x5daad2=(Array['isArray']((_0x2eb103=_0x225c74[_0x40ff5e(0x5b9)])==null?void 0x0:_0x2eb103[_0x40ff5e(0x386)])?_0x225c74['config'][_0x40ff5e(0x386)]:[])['flatMap']((_0x494957,_0x24cbb6)=>{const _0x31dd22=_0x40ff5e;if(_0x494957==null)return[];let _0x15094a=typeof _0x494957==_0x31dd22(0x2b6)?{'id':_0x494957,'name':_0x494957,'color':void 0x0}:_0x494957,_0x4b0bca=String(_0x15094a['id']??_0x15094a[_0x31dd22(0x46d)]??_0x31dd22(0x190)+(_0x24cbb6+0x1));return[{'key':_0x4b0bca,'title':String(_0x15094a[_0x31dd22(0x46d)]??_0x15094a['id']??_0x4b0bca),'color':this['_kanbanLaneColor'](_0x225c74,_0x4b0bca,_0xf6b440)}];});return Object[_0x40ff5e(0x460)](_0xf6b440[_0x40ff5e(0x4b2)]??{})[_0x40ff5e(0x3c9)](([_0x5301a7,_0x4ccdf8])=>{const _0x1a7565=_0x40ff5e;_0x5daad2[_0x1a7565(0x1ab)](_0x425373=>_0x425373[_0x1a7565(0x40c)]===_0x5301a7)||_0x5daad2['push']({'key':_0x5301a7,'title':this[_0x1a7565(0x1a2)](_0x225c74)?_0x4ccdf8[_0x1a7565(0x297)]??this[_0x1a7565(0x281)](_0x225c74,_0x5301a7,_0xf6b440):this['_kanbanLaneTitle'](_0x225c74,_0x5301a7,_0xf6b440),'color':this[_0x1a7565(0x5c5)](_0x225c74,_0x5301a7,_0xf6b440)});}),_0x5daad2;}[_0x571676(0x534)](_0x275574,_0x1e25a6){const _0x25b74e=_0x571676;let _0x1996bc=_0x14f24a=>{const _0x54a169=_0x4fc5;var _0x2346a0;let _0x756f30=_0x14f24a==null?'':String(_0x14f24a);return!_0x756f30||!this[_0x54a169(0x1a2)](_0x275574)?_0x756f30:((_0x2346a0=_0x40d76c(_0x275574,_0x756f30))==null?void 0x0:_0x2346a0['id'])??_0x756f30;};if(Array[_0x25b74e(0x21f)](_0x1e25a6)){let _0x356173=_0x1e25a6['map'](_0x1996bc)['filter'](_0x1411ee=>_0x1411ee!=='');return _0x356173[_0x25b74e(0x4e9)]?_0x356173:[''];}return[_0x1996bc(_0x1e25a6)];}[_0x571676(0x281)](_0x1c4a6a,_0x53597b,_0x571357){const _0x497bf0=_0x571676;if(!_0x53597b)return _0x497bf0(0x2fc);let _0x36818f=_0x40d76c(_0x1c4a6a,_0x53597b);return(_0x36818f==null?void 0x0:_0x36818f['name'])??_0x53597b;}[_0x571676(0x5c5)](_0x2a74dd,_0x1db7ed,_0xa05227){const _0x4d08e8=_0x571676;var _0x56c45d;if(this['_isColorfulKanbanGroupField'](_0x2a74dd))return(_0x56c45d=_0x40d76c(_0x2a74dd,_0x1db7ed))==null?void 0x0:_0x56c45d[_0x4d08e8(0x393)];}[_0x571676(0x540)](_0x1fdf29,_0x2db1af){const _0x2e6b14=_0x571676;let _0x2bcda9=this[_0x2e6b14(0x5af)](_0x1fdf29,_0x2db1af[_0x2e6b14(0x5b9)]??{}),_0x3e5857=_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x348)]];if(!_0x3e5857||_0x3e5857[_0x2e6b14(0x292)]!==_0x13cf76['BaseFieldType'][_0x2e6b14(0x494)]||_0x3e5857[_0x2e6b14(0x59b)]===!0x0||_0x3e5857['system']===!0x0||!this['_capabilities'](_0x3e5857)[_0x2e6b14(0x35d)])return{'type':_0x2e6b14(0x3a9),'viewType':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'reason':_0x2e6b14(0x1e4),'fieldId':_0x2bcda9[_0x2e6b14(0x348)]};let _0x333040=_0x2bcda9[_0x2e6b14(0x282)]?_0x1fdf29['fields'][_0x2bcda9[_0x2e6b14(0x282)]]:void 0x0,_0x1ebcda=this['_projectRows'](_0x1fdf29,_0x2db1af);return{'type':_0x13cf76[_0x2e6b14(0x5ba)][_0x2e6b14(0x17a)],'config':_0x2bcda9,'fields':this[_0x2e6b14(0x5cf)](_0x1fdf29,_0x2db1af),'rows':_0x1ebcda,'groups':this[_0x2e6b14(0x4eb)](_0x1fdf29,_0x2db1af,_0x1ebcda),'events':_0x1ebcda[_0x2e6b14(0x387)](_0x533b08=>{const _0xa5d447=_0x2e6b14;let _0x21293d=_0x397f72(_0x533b08[_0xa5d447(0x334)][_0x2bcda9['startDateFieldId']]);if(!Number['isFinite'](_0x21293d))return[];let _0x561be1=_0x533b08[_0xa5d447(0x334)][_0x2bcda9[_0xa5d447(0x348)]],_0x189956=_0x2bcda9['endDateFieldId']==null?void 0x0:_0x533b08[_0xa5d447(0x334)][_0x2bcda9['endDateFieldId']],_0xf04611=_0x2bcda9[_0xa5d447(0x282)]==null?void 0x0:_0x397f72(_0x189956),_0x58a927=Number[_0xa5d447(0x195)](_0xf04611)?_0xf04611:void 0x0;return[{'recordId':_0x533b08[_0xa5d447(0x5c4)],'title':this[_0xa5d447(0x1aa)](_0x1fdf29,_0x533b08,_0x2bcda9['titleFieldId']),'start':_0x21293d,'end':_0x58a927,'color':this[_0xa5d447(0x1ea)](_0x1fdf29,_0x533b08,_0x2bcda9),'startMs':_0x21293d,'endMs':_0x58a927,'allDay':this[_0xa5d447(0x27d)](_0x3e5857,_0x333040,_0x561be1,_0x189956),'fieldValues':_0x533b08['values']}];})};}[_0x571676(0x5af)](_0x353eea,_0x344850){const _0x2eb7c1=_0x571676;let _0x443eab=this[_0x2eb7c1(0x327)](_0x353eea,_0x344850[_0x2eb7c1(0x348)]),_0x1395ac=_0x344850[_0x2eb7c1(0x282)]&&this['_isCalendarDateField'](_0x353eea,_0x344850[_0x2eb7c1(0x282)])?_0x344850[_0x2eb7c1(0x282)]:this[_0x2eb7c1(0x5a9)](_0x353eea,_0x443eab)??void 0x0,_0x46164=_0x344850[_0x2eb7c1(0x41d)]?_0x353eea[_0x2eb7c1(0x3c2)][_0x344850[_0x2eb7c1(0x41d)]]:void 0x0,_0x44aa19=_0x46164&&_0x46164[_0x2eb7c1(0x4f8)]!==!0x0&&_0x46164['type']!==_0x13cf76[_0x2eb7c1(0x517)][_0x2eb7c1(0x2ea)]?_0x344850['titleFieldId']:_0x353eea[_0x2eb7c1(0x422)],_0x34686c=_0x344850[_0x2eb7c1(0x54d)]===_0x2eb7c1(0x2b4)||_0x344850[_0x2eb7c1(0x54d)]==='week'?_0x344850[_0x2eb7c1(0x54d)]:_0x2eb7c1(0x5d8),_0x577e01=_0x344850['timeslotSize']===_0x2eb7c1(0x378)||_0x344850[_0x2eb7c1(0x3b2)]==='long'?_0x344850['timeslotSize']:'medium',_0x32ac44=typeof _0x344850['timeZone']==_0x2eb7c1(0x2b6)&&_0x344850[_0x2eb7c1(0x4ea)][_0x2eb7c1(0x2cd)]()?_0x344850['timeZone']:_0x2eb7c1(0x576),_0x4c7e66=this[_0x2eb7c1(0x1c8)](_0x353eea,_0x344850);return{..._0x344850,'startDateFieldId':_0x443eab,'endDateFieldId':_0x1395ac,'titleFieldId':_0x44aa19,'mode':_0x34686c,'timeslotSize':_0x577e01,'timeZone':_0x32ac44,'displayColor':_0x4c7e66,'fieldSettings':Object[_0x2eb7c1(0x1fc)](Object[_0x2eb7c1(0x460)](_0x344850[_0x2eb7c1(0x3ea)]??{})['filter'](([_0x5dafe7])=>{const _0x51f28f=_0x2eb7c1;let _0x10a9aa=_0x353eea[_0x51f28f(0x3c2)][_0x5dafe7];return!!(_0x10a9aa&&_0x10a9aa['system']!==!0x0&&_0x10a9aa[_0x51f28f(0x292)]!==_0x13cf76[_0x51f28f(0x517)][_0x51f28f(0x2ea)]);}))};}[_0x571676(0x327)](_0x11594d,_0x4f7d75){const _0xed5ab8=_0x571676;return _0x4f7d75&&this[_0xed5ab8(0x263)](_0x11594d,_0x4f7d75)?_0x4f7d75:this[_0xed5ab8(0x5a9)](_0x11594d)??_0x4f7d75??'';}[_0x571676(0x5a9)](_0x33c016,_0x1f0266){const _0x241711=_0x571676;for(let _0x3e74fd of _0x33c016[_0x241711(0x582)])if(_0x3e74fd!==_0x1f0266&&this[_0x241711(0x263)](_0x33c016,_0x3e74fd))return _0x3e74fd;return null;}['_isCalendarDateField'](_0x479094,_0x35c934){const _0xf6ae16=_0x571676;let _0x6d8ee5=_0x479094[_0xf6ae16(0x3c2)][_0x35c934];return!!_0x6d8ee5&&_0x6d8ee5[_0xf6ae16(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x6d8ee5[_0xf6ae16(0x59b)]!==!0x0&&_0x6d8ee5['system']!==!0x0&&this['_capabilities'](_0x6d8ee5)[_0xf6ae16(0x35d)];}['_normalizeCalendarDisplayColor'](_0xb37c10,_0x33276f){const _0x5238de=_0x571676;let _0x9e93b4=_0x33276f[_0x5238de(0x2ef)];if((_0x9e93b4==null?void 0x0:_0x9e93b4[_0x5238de(0x292)])===_0x5238de(0x18c)){let _0x477167=_0xb37c10[_0x5238de(0x3c2)][_0x9e93b4['fieldId']];if(_0x477167&&_0x477167[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return _0x9e93b4;}if((_0x9e93b4==null?void 0x0:_0x9e93b4['type'])===_0x5238de(0x5cd)&&typeof _0x9e93b4['color']==_0x5238de(0x2b6)&&_0x9e93b4[_0x5238de(0x393)][_0x5238de(0x2cd)]())return{'type':_0x5238de(0x5cd),'color':_0x9e93b4['color']};if(_0x33276f[_0x5238de(0x2e0)]){let _0x5823dd=_0xb37c10[_0x5238de(0x3c2)][_0x33276f[_0x5238de(0x2e0)]];if(_0x5823dd&&_0x5823dd[_0x5238de(0x292)]===_0x13cf76[_0x5238de(0x517)][_0x5238de(0x221)])return{'type':_0x5238de(0x18c),'fieldId':_0x33276f['colorFieldId']};}return{'type':_0x5238de(0x5cd),'color':_0x5238de(0x19d)};}[_0x571676(0x1ea)](_0x6d1616,_0x434191,_0x1f444f){const _0x50233d=_0x571676;let _0x56f3af=_0x1f444f[_0x50233d(0x2ef)];if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])===_0x50233d(0x18c)){var _0x4b9f92;let _0xb69bad=_0x6d1616[_0x50233d(0x3c2)][_0x56f3af[_0x50233d(0x384)]];if(!_0xb69bad)return;let _0x272fbd=_0x434191[_0x50233d(0x334)][_0x56f3af[_0x50233d(0x384)]],_0x547f4b=Array[_0x50233d(0x21f)](_0x272fbd)?_0x272fbd[0x0]:_0x272fbd;return _0x547f4b==null||(_0x4b9f92=_0x40d76c(_0xb69bad,String(_0x547f4b)))==null?void 0x0:_0x4b9f92[_0x50233d(0x393)];}if((_0x56f3af==null?void 0x0:_0x56f3af[_0x50233d(0x292)])==='custom')return _0x56f3af[_0x50233d(0x393)];}[_0x571676(0x27d)](_0xcc4aaa,_0x4a9c41,_0x1beb4e,_0x427bd0){const _0x264941=_0x571676;var _0x5e19eb,_0x24f04f;let _0x7ac527=((_0x5e19eb=_0xcc4aaa[_0x264941(0x5b9)])==null?void 0x0:_0x5e19eb['includeTime'])===!0x0,_0x2a238f=(_0x4a9c41==null||(_0x24f04f=_0x4a9c41['config'])==null?void 0x0:_0x24f04f['includeTime'])===!0x0;return!_0x7ac527&&!_0x2a238f;}['_isAllDayGanttDateRange'](_0x469735,_0x481808){const _0xece81b=_0x571676;var _0x470c5d,_0x25d7bc;let _0xdd66b3=((_0x470c5d=_0x469735['config'])==null?void 0x0:_0x470c5d['includeTime'])===!0x0,_0x3e1edd=((_0x25d7bc=_0x481808['config'])==null?void 0x0:_0x25d7bc[_0xece81b(0x1f3)])===!0x0;return!_0xdd66b3&&!_0x3e1edd;}[_0x571676(0x2f5)](_0x30e6fb,_0x3b265e){const _0x17b630=_0x571676;let _0x10f415=this[_0x17b630(0x57a)](_0x30e6fb,_0x3b265e[_0x17b630(0x5b9)]),_0x1b3384=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x348)]];if(!_0x1b3384||_0x1b3384[_0x17b630(0x292)]!==_0x13cf76[_0x17b630(0x517)][_0x17b630(0x494)]||_0x1b3384[_0x17b630(0x59b)]===!0x0||_0x1b3384[_0x17b630(0x4f8)]===!0x0||!this['_capabilities'](_0x1b3384)[_0x17b630(0x1ce)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)][_0x17b630(0x520)],'reason':'invalidGanttStartField','fieldId':_0x10f415[_0x17b630(0x348)]};let _0x535250=_0x30e6fb['fields'][_0x10f415[_0x17b630(0x282)]];if(!_0x535250||_0x535250['type']!==_0x13cf76['BaseFieldType'][_0x17b630(0x494)]||_0x535250[_0x17b630(0x59b)]===!0x0||_0x535250['system']===!0x0||!this['_capabilities'](_0x535250)[_0x17b630(0x19e)])return{'type':_0x17b630(0x3a9),'viewType':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'reason':_0x17b630(0x5c0),'fieldId':_0x10f415['endDateFieldId']};let _0x53cbee=this[_0x17b630(0x37b)](_0x1b3384,_0x535250),_0x2bab55=this[_0x17b630(0x38a)](_0x30e6fb,_0x3b265e),_0x1d2dd5=_0x2bab55[_0x17b630(0x387)](_0x819c4f=>{const _0x338582=_0x17b630;let _0x573745=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415['startDateFieldId']]),_0x48efa5=_0x397f72(_0x819c4f[_0x338582(0x334)][_0x10f415[_0x338582(0x282)]]);if(!Number[_0x338582(0x195)](_0x573745)||!Number[_0x338582(0x195)](_0x48efa5))return[];let _0x10cbda=Math['min'](_0x573745,_0x48efa5),_0x33eaa8=Math['max'](_0x573745,_0x48efa5),_0x2694b=_0x10f415[_0x338582(0x433)]==null?void 0x0:Number(_0x819c4f['values'][_0x10f415['progressFieldId']]);return[{'recordId':_0x819c4f['recordId'],'title':this[_0x338582(0x1aa)](_0x30e6fb,_0x819c4f,_0x10f415[_0x338582(0x41d)]),'start':_0x10cbda,'end':_0x33eaa8,'color':this[_0x338582(0x3fb)](_0x30e6fb,_0x819c4f,_0x10f415),'progress':Number[_0x338582(0x195)](_0x2694b)?_0x2694b:void 0x0,'workingDayCount':_0x10f415['workingDaysOnly']?_0x571a96(_0x10cbda,_0x33eaa8,_0x10f415['workingDays']):void 0x0,'dependencyRecordIds':this[_0x338582(0x46e)](_0x819c4f['values'][_0x10f415[_0x338582(0x58d)]??''])}];}),_0x3ab98c=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math[_0x17b630(0x5a2)](..._0x1d2dd5[_0x17b630(0x329)](_0x252038=>_0x252038[_0x17b630(0x3aa)]))-0x5a*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()-0x5a*_0xb61d09),_0x37140e=_0x1d2dd5[_0x17b630(0x4e9)]?_0x24cf45(Math['max'](..._0x1d2dd5[_0x17b630(0x329)](_0x513eab=>_0x513eab['end']))+0x5b*_0xb61d09):_0x24cf45(Date[_0x17b630(0x5e4)]()+0x5b*_0xb61d09),_0x4cc3fe=_0x40c45e(_0x10f415['scale'],_0x3ab98c,_0x37140e,_0x10f415[_0x17b630(0x29c)]?_0x10f415[_0x17b630(0x4fb)]:void 0x0);return{'type':_0x13cf76[_0x17b630(0x5ba)]['Gantt'],'fields':this[_0x17b630(0x5cf)](_0x30e6fb,{..._0x3b265e,'config':_0x10f415}),'rows':_0x2bab55,'groups':this[_0x17b630(0x4eb)](_0x30e6fb,_0x3b265e,_0x2bab55),'config':_0x10f415,'dateRangeAllDay':_0x53cbee,'timeline':{'scale':_0x10f415[_0x17b630(0x465)],'start':_0x3ab98c,'end':_0x37140e,'unitWidth':_0x4cc3fe[_0x17b630(0x37d)],'majorHeaders':_0x4cc3fe[_0x17b630(0x5c7)],'columns':_0x4cc3fe[_0x17b630(0x523)]},'bars':_0x1d2dd5};}['_normalizeGanttConfig'](_0x32c5c0,_0x465036){const _0x4cf5e7=_0x571676;let _0x515fe6=this['_resolveGanttDateFieldId'](_0x32c5c0,_0x465036[_0x4cf5e7(0x348)],'start'),_0x14e512=this[_0x4cf5e7(0x426)](_0x32c5c0,_0x465036[_0x4cf5e7(0x282)],_0x4cf5e7(0x5a8))||_0x515fe6,_0x9f6dc9=_0x465036[_0x4cf5e7(0x41d)]?_0x32c5c0[_0x4cf5e7(0x3c2)][_0x465036[_0x4cf5e7(0x41d)]]:void 0x0,_0x8021cf=_0x9f6dc9&&_0x9f6dc9[_0x4cf5e7(0x4f8)]!==!0x0&&_0x9f6dc9['type']!==_0x13cf76[_0x4cf5e7(0x517)]['RecordId']?_0x465036['titleFieldId']:_0x32c5c0['primaryFieldId'],_0x3f59ee=_0x465036['scale']==='week'||_0x465036['scale']===_0x4cf5e7(0x35c)||_0x465036[_0x4cf5e7(0x465)]==='year'?_0x465036[_0x4cf5e7(0x465)]:'month',_0x49c7a5=_0x48adc8(_0x465036['workingDays']);return{..._0x465036,'startDateFieldId':_0x515fe6,'endDateFieldId':_0x14e512,'titleFieldId':_0x8021cf,'scale':_0x3f59ee,'leftPaneWidth':typeof _0x465036[_0x4cf5e7(0x432)]==_0x4cf5e7(0x3dc)?_0x465036[_0x4cf5e7(0x432)]:void 0x0,'leftPaneCollapsed':_0x465036[_0x4cf5e7(0x2d1)]===!0x0,'showTodayLine':_0x465036[_0x4cf5e7(0x50d)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x32c5c0,_0x465036),'fieldSettings':Object[_0x4cf5e7(0x1fc)](Object[_0x4cf5e7(0x460)](_0x465036[_0x4cf5e7(0x3ea)]??{})[_0x4cf5e7(0x3c4)](([_0x536992])=>{const _0x39ae85=_0x4cf5e7;let _0x36efd7=_0x32c5c0[_0x39ae85(0x3c2)][_0x536992];return!!(_0x36efd7&&_0x36efd7['system']!==!0x0&&_0x36efd7[_0x39ae85(0x292)]!==_0x13cf76[_0x39ae85(0x517)][_0x39ae85(0x2ea)]);})),'workingDaysOnly':_0x465036['workingDaysOnly']===!0x0,'workingDays':_0x49c7a5};}[_0x571676(0x426)](_0x4b8382,_0x294a54,_0x5c2f43){const _0x45b936=_0x571676;if(_0x294a54&&this[_0x45b936(0x536)](_0x4b8382,_0x294a54,_0x5c2f43)||_0x294a54)return _0x294a54;for(let _0x64dfe9 of _0x4b8382['fieldOrder'])if(this[_0x45b936(0x536)](_0x4b8382,_0x64dfe9,_0x5c2f43))return _0x64dfe9;return _0x294a54??'';}[_0x571676(0x536)](_0x6d7516,_0x478cec,_0x2b7dea){const _0x54d2af=_0x571676;let _0x454ceb=_0x6d7516[_0x54d2af(0x3c2)][_0x478cec];if(!_0x454ceb||_0x454ceb[_0x54d2af(0x292)]!==_0x13cf76[_0x54d2af(0x517)]['Date']||_0x454ceb[_0x54d2af(0x59b)]===!0x0||_0x454ceb[_0x54d2af(0x4f8)]===!0x0)return!0x1;let _0x4cba80=this[_0x54d2af(0x1d7)](_0x454ceb);return _0x2b7dea===_0x54d2af(0x3aa)?_0x4cba80[_0x54d2af(0x1ce)]:_0x4cba80['usableAsGanttEnd'];}[_0x571676(0x51b)](_0x25c602,_0x359786){const _0x5920af=_0x571676;let _0x816dc5=_0x359786[_0x5920af(0x2ef)];if((_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])===_0x5920af(0x18c)){let _0x595ef3=_0x25c602[_0x5920af(0x3c2)][_0x816dc5[_0x5920af(0x384)]];if(_0x595ef3&&_0x595ef3[_0x5920af(0x292)]===_0x13cf76[_0x5920af(0x517)][_0x5920af(0x221)])return _0x816dc5;}return(_0x816dc5==null?void 0x0:_0x816dc5[_0x5920af(0x292)])==='conditional'&&Array[_0x5920af(0x21f)](_0x816dc5[_0x5920af(0x4a5)])?{'type':_0x5920af(0x4d3),'rules':_0x816dc5[_0x5920af(0x4a5)][_0x5920af(0x3c4)](_0x162f51=>!!_0x25c602[_0x5920af(0x3c2)][_0x162f51[_0x5920af(0x384)]])}:(_0x816dc5==null?void 0x0:_0x816dc5['type'])===_0x5920af(0x5cd)&&typeof _0x816dc5[_0x5920af(0x393)]==_0x5920af(0x2b6)&&_0x816dc5[_0x5920af(0x393)][_0x5920af(0x2cd)]()?{'type':'custom','color':_0x816dc5[_0x5920af(0x393)]}:{'type':'custom','color':_0x5920af(0x1fe)};}[_0x571676(0x3fb)](_0x3035cf,_0x47c6a1,_0xcc2245){const _0x1e8d51=_0x571676;let _0x27e1fe=_0xcc2245[_0x1e8d51(0x2ef)];if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='conditional'){let _0x13124a=_0x27e1fe[_0x1e8d51(0x4a5)][_0x1e8d51(0x56a)](_0x29391d=>this[_0x1e8d51(0x580)](_0x3035cf,_0x47c6a1,_0x29391d));if(_0x13124a)return _0x13124a[_0x1e8d51(0x393)];}if((_0x27e1fe==null?void 0x0:_0x27e1fe['type'])==='selectField'){let _0x1d6f15=_0x3035cf['fields'][_0x27e1fe[_0x1e8d51(0x384)]];if(_0x1d6f15){var _0x3f301f;let _0x3d25da=_0x47c6a1[_0x1e8d51(0x334)][_0x27e1fe[_0x1e8d51(0x384)]],_0x2d484d=Array[_0x1e8d51(0x21f)](_0x3d25da)?_0x3d25da[0x0]:_0x3d25da,_0x1c8593=_0x2d484d==null||(_0x3f301f=_0x40d76c(_0x1d6f15,String(_0x2d484d)))==null?void 0x0:_0x3f301f[_0x1e8d51(0x393)];if(_0x1c8593)return _0x1c8593;}}return(_0x27e1fe==null?void 0x0:_0x27e1fe['type'])===_0x1e8d51(0x5cd)?_0x27e1fe[_0x1e8d51(0x393)]:_0x1e8d51(0x1fe);}['_matchesGanttColorRule'](_0x282983,_0x9ef2b9,_0x881c0b){const _0x2e65e8=_0x571676;let _0x49c065=_0x282983['fields'][_0x881c0b[_0x2e65e8(0x384)]];return _0x49c065?_0x4231b9(_0x9ef2b9[_0x2e65e8(0x334)][_0x49c065['id']],_0x881c0b[_0x2e65e8(0x4a2)],_0x881c0b['operand'],_0x49c065,{'dateMode':_0x881c0b['dateMode']}):!0x1;}[_0x571676(0x3bd)](_0x555f39,_0x24d255){const _0x5b1b6b=_0x571676;let _0x3dc9f8=this[_0x5b1b6b(0x38a)](_0x555f39,_0x24d255),_0x52dc2c=this['_normalizeGalleryConfig'](_0x555f39,_0x24d255[_0x5b1b6b(0x5b9)]??{}),_0x2e27c1=this[_0x5b1b6b(0x5cf)](_0x555f39,_0x24d255);return{'type':_0x13cf76[_0x5b1b6b(0x5ba)]['Gallery'],'fields':_0x2e27c1,'rows':_0x3dc9f8,'groups':this[_0x5b1b6b(0x4eb)](_0x555f39,_0x24d255,_0x3dc9f8),'titleFieldId':_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)],'coverFieldId':_0x52dc2c['coverFieldId'],'cardLayout':_0x52dc2c[_0x5b1b6b(0x528)]??_0x5b1b6b(0x2f6),'showFieldNames':_0x52dc2c[_0x5b1b6b(0x3e8)]!==!0x1,'visibleCardFieldIds':this[_0x5b1b6b(0x1d6)](_0x555f39,_0x24d255,_0x52dc2c),'cardSize':_0x52dc2c[_0x5b1b6b(0x35f)]??_0x5b1b6b(0x532),'cards':_0x3dc9f8['map'](_0x355616=>({'recordId':_0x355616['recordId'],'title':this['_title'](_0x555f39,_0x355616,_0x52dc2c[_0x5b1b6b(0x2ac)][_0x5b1b6b(0x41d)]),'values':_0x355616[_0x5b1b6b(0x334)]}))};}[_0x571676(0x4f0)](_0x97f510,_0x214126){const _0x4bdf56=_0x571676;let _0x174dc2=_0x214126[_0x4bdf56(0x2ac)]??{'fieldIds':[]},_0x3ea235=this[_0x4bdf56(0x5ab)](_0x97f510,_0x174dc2[_0x4bdf56(0x41d)]),_0x5116c4=this['_resolveGalleryCoverFieldId'](_0x97f510,_0x214126),_0x113f1a=_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x4ac)||_0x214126[_0x4bdf56(0x35f)]===_0x4bdf56(0x3d9)?_0x214126[_0x4bdf56(0x35f)]:'medium';return{..._0x214126,'coverFieldId':_0x5116c4,'cardLayout':_0x214126[_0x4bdf56(0x528)]==='compose'?_0x4bdf56(0x199):_0x4bdf56(0x2f6),'showFieldNames':_0x214126[_0x4bdf56(0x3e8)]!==!0x1,'fieldSettings':Object[_0x4bdf56(0x1fc)](Object[_0x4bdf56(0x460)](_0x214126[_0x4bdf56(0x3ea)]??{})[_0x4bdf56(0x3c4)](([_0x11efab])=>{const _0x3749b0=_0x4bdf56;let _0x45a678=_0x97f510[_0x3749b0(0x3c2)][_0x11efab];return!!(_0x45a678&&_0x45a678['system']!==!0x0&&_0x45a678[_0x3749b0(0x292)]!==_0x13cf76['BaseFieldType'][_0x3749b0(0x2ea)]);})),'card':{..._0x174dc2,'titleFieldId':_0x3ea235,'coverFieldId':_0x5116c4,'fieldIds':Array[_0x4bdf56(0x21f)](_0x174dc2['fieldIds'])?_0x174dc2[_0x4bdf56(0x1bb)]:[]},'cardSize':_0x113f1a};}[_0x571676(0x5ab)](_0x17e30b,_0x76a14f){const _0x7d0245=_0x571676;let _0x27de8f=_0x76a14f?_0x17e30b[_0x7d0245(0x3c2)][_0x76a14f]:void 0x0;return _0x27de8f&&_0x27de8f[_0x7d0245(0x4f8)]!==!0x0&&_0x27de8f[_0x7d0245(0x292)]!==_0x13cf76[_0x7d0245(0x517)][_0x7d0245(0x2ea)]?_0x27de8f['id']:_0x1b61d0(_0x17e30b);}[_0x571676(0x500)](_0x4c60d7,_0x142eb4){const _0x1c11b7=_0x571676;var _0x5a7bfd;let _0xd37287=_0x142eb4[_0x1c11b7(0x36d)]??((_0x5a7bfd=_0x142eb4[_0x1c11b7(0x2ac)])==null?void 0x0:_0x5a7bfd['coverFieldId'])??null;if(!_0xd37287)return null;let _0xb677df=_0x4c60d7[_0x1c11b7(0x3c2)][_0xd37287];return _0xb677df&&this[_0x1c11b7(0x1d7)](_0xb677df)['usableAsCardCover']?_0xb677df['id']:null;}[_0x571676(0x1d6)](_0x378bf3,_0x5a5971,_0x26914b){const _0x12ddf3=_0x571676;var _0x2f4a46,_0x890146,_0x26336d;let _0x433e52=_0x26914b[_0x12ddf3(0x3ea)]??{},_0x4131a9=((_0x2f4a46=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x2f4a46[_0x12ddf3(0x41d)])??_0x1b61d0(_0x378bf3),_0xc5eada=_0x26914b['coverFieldId']??((_0x890146=_0x26914b[_0x12ddf3(0x2ac)])==null?void 0x0:_0x890146[_0x12ddf3(0x36d)])??null,_0x58b696=(_0x26336d=_0x26914b[_0x12ddf3(0x2ac)])!=null&&(_0x26336d=_0x26336d[_0x12ddf3(0x1bb)])!=null&&_0x26336d[_0x12ddf3(0x4e9)]?_0x26914b['card'][_0x12ddf3(0x1bb)]:_0x47953f(_0x378bf3,[_0x4131a9,_0xc5eada,_0x378bf3[_0x12ddf3(0x422)]]);return _0x58b696[_0x12ddf3(0x3c4)](_0x2b8d86=>{const _0x4bffbd=_0x12ddf3;var _0x2251cd,_0xa37f1c;let _0x59d68d=_0x378bf3['fields'][_0x2b8d86];return!(!_0x59d68d||_0x59d68d[_0x4bffbd(0x4f8)]===!0x0||_0x59d68d['type']===_0x13cf76[_0x4bffbd(0x517)][_0x4bffbd(0x2ea)]||_0x59d68d['id']===_0x4131a9||_0x59d68d['id']===_0xc5eada||(_0x2251cd=_0x5a5971[_0x4bffbd(0x3ea)])!=null&&(_0x2251cd=_0x2251cd[_0x2b8d86])!=null&&_0x2251cd[_0x4bffbd(0x3fd)]||(_0xa37f1c=_0x433e52[_0x2b8d86])!=null&&_0xa37f1c[_0x4bffbd(0x3fd)]);})['sort']((_0x575fb9,_0x2fe340)=>{const _0xd2b356=_0x12ddf3;var _0x30dfac,_0x465097;return(((_0x30dfac=_0x433e52[_0x575fb9])==null?void 0x0:_0x30dfac[_0xd2b356(0x1e3)])??_0x58b696[_0xd2b356(0x406)](_0x575fb9))-(((_0x465097=_0x433e52[_0x2fe340])==null?void 0x0:_0x465097[_0xd2b356(0x1e3)])??_0x58b696['indexOf'](_0x2fe340));});}[_0x571676(0x5cf)](_0x1c2ba6,_0x4aa129){const _0x30c07b=_0x571676;var _0x1ccae5;return((_0x1ccae5=_0x4aa129[_0x30c07b(0x582)])!=null&&_0x1ccae5['length']?_0x4aa129[_0x30c07b(0x582)]:_0x1c2ba6[_0x30c07b(0x582)])[_0x30c07b(0x387)](_0x4af927=>{const _0x828181=_0x30c07b;var _0x4cf353;let _0x19635a=_0x1c2ba6['fields'][_0x4af927],_0x381aaf=((_0x4cf353=_0x4aa129[_0x828181(0x3ea)])==null?void 0x0:_0x4cf353[_0x4af927])??{};return!_0x19635a||_0x19635a['system']===!0x0||_0x19635a[_0x828181(0x292)]===_0x13cf76['BaseFieldType'][_0x828181(0x2ea)]||_0x381aaf[_0x828181(0x3fd)]?[]:[{'id':_0x19635a['id'],'name':_0x19635a[_0x828181(0x46d)],'description':_0x19635a[_0x828181(0x234)],'type':_0x19635a[_0x828181(0x292)],'config':_0x19635a[_0x828181(0x5b9)],'width':_0x381aaf[_0x828181(0x1e2)],'setting':_0x381aaf}];});}[_0x571676(0x38a)](_0x44cc91,_0x5003af){const _0x295490=_0x571676;var _0x1c48d1;return _0x32800a(_0x295490(0x1e6),()=>{const _0x46e0ff=_0x295490;var _0x59b62b,_0x5b8485;let _0x3291ac=this[_0x46e0ff(0x181)](_0x44cc91),_0x4989ec=this[_0x46e0ff(0x28a)](_0x44cc91['id'],_0x5003af),_0x578970=this[_0x46e0ff(0x1e5)](_0x44cc91['id']),_0x4aac12=this['_projectedViewRowsCache']['get'](_0x4989ec);if(_0x4aac12&&_0x4aac12[_0x46e0ff(0x22a)]===this[_0x46e0ff(0x3f8)]&&_0x4aac12[_0x46e0ff(0x49d)]===this[_0x46e0ff(0x5e5)](_0x44cc91['id'])){if(_0x4aac12['cellRevision']===_0x578970&&_0x4aac12[_0x46e0ff(0x590)]===_0x3291ac)return _0x4aac12['rows'];if(_0x4aac12[_0x46e0ff(0x51d)]!==_0x578970&&!this['_cellInvalidationsTouchFields'](_0x44cc91['id'],_0x4aac12[_0x46e0ff(0x51d)],_0x578970,this['_filterSortFieldIds'](_0x5003af))){let _0x5d8200=_0x4aac12[_0x46e0ff(0x3f0)]===_0x4aac12[_0x46e0ff(0x590)]?_0x3291ac:this[_0x46e0ff(0x18b)](_0x4aac12[_0x46e0ff(0x3f0)],_0x3291ac);if(_0x5d8200)return this[_0x46e0ff(0x4f4)][_0x46e0ff(0x569)](_0x4989ec,{..._0x4aac12,'rows':_0x5d8200,'baseRows':_0x3291ac,'cellRevision':_0x578970}),_0x5d8200;}}let _0x53364a=_0x32800a(_0x46e0ff(0x2ff),()=>this[_0x46e0ff(0x58c)](_0x44cc91,_0x5003af,this[_0x46e0ff(0x47b)](_0x44cc91,_0x5003af,_0x3291ac)),{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af[_0x46e0ff(0x292)],'rows':_0x3291ac[_0x46e0ff(0x4e9)],'filters':(_0x5003af==null||(_0x59b62b=_0x5003af['filter'])==null?void 0x0:_0x59b62b[_0x46e0ff(0x3af)]['length'])??0x0,'sorts':(_0x5003af==null||(_0x5b8485=_0x5003af[_0x46e0ff(0x4af)])==null?void 0x0:_0x5b8485[_0x46e0ff(0x4e9)])??0x0});return this['_projectedViewRowsCache'][_0x46e0ff(0x569)](_0x4989ec,{'table':_0x44cc91,'rows':_0x53364a,'baseRows':_0x3291ac,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x46e0ff(0x5e5)](_0x44cc91['id']),'cellRevision':_0x578970}),_0x53364a;},{'tableId':_0x44cc91['id'],'viewId':_0x5003af==null?void 0x0:_0x5003af['id'],'viewType':_0x5003af==null?void 0x0:_0x5003af['type'],'records':((_0x1c48d1=_0x44cc91['recordOrder'])==null?void 0x0:_0x1c48d1[_0x295490(0x4e9)])??Object['keys'](_0x44cc91[_0x295490(0x38f)]??{})['length']});}[_0x571676(0x181)](_0x3e5863){const _0x4cee81=_0x571676;var _0x558ca1;return _0x32800a('BaseProjection.projectTableRows',()=>{const _0x4869fa=_0x4fc5;var _0x56061e;let _0xc83eee=this['_getCellRevision'](_0x3e5863['id']),_0x41be6e=this[_0x4869fa(0x45c)]['get'](_0x3e5863['id']);if(_0x41be6e&&_0x41be6e[_0x4869fa(0x22a)]===this['_globalRevision']&&_0x41be6e[_0x4869fa(0x49d)]===this[_0x4869fa(0x5e5)](_0x3e5863['id'])){if(_0x41be6e[_0x4869fa(0x51d)]===_0xc83eee&&_0x20446f(_0x41be6e[_0x4869fa(0x4b7)],_0x3e5863))return _0x41be6e['table']=_0x3e5863,_0x41be6e[_0x4869fa(0x3f0)];let _0x83a186=this['_patchProjectedRowsForCellInvalidations'](_0x3e5863,_0x41be6e,_0xc83eee);if(_0x83a186)return _0x83a186;}_0x37f4e9(_0x3e5863)||_0x48b6e1(_0x3e5863);let _0x41415d=(_0x56061e=_0x3e5863['recordOrder'])!=null&&_0x56061e['length']?_0x3e5863[_0x4869fa(0x1cd)]:_0x14359c(_0x3e5863[_0x4869fa(0x38f)]),_0x3732f9=_0x32800a(_0x4869fa(0x5de),()=>{const _0x47f648=_0x4869fa;let _0x12308f=[];for(let _0x2ab8ec of _0x41415d){let _0x3065a4=_0x3e5863[_0x47f648(0x38f)][_0x2ab8ec];if(!_0x3065a4)continue;let _0x22e0d4={};for(let _0x4d6047 of _0x3e5863[_0x47f648(0x582)])_0x22e0d4[_0x4d6047]=_0x5d2adc(_0x3e5863,_0x3065a4['id'],_0x4d6047);_0x12308f[_0x47f648(0x401)]({'recordId':_0x3065a4['id'],'values':_0x22e0d4});}return _0x12308f;},{'tableId':_0x3e5863['id'],'records':_0x41415d[_0x4869fa(0x4e9)],'fields':_0x3e5863['fieldOrder']['length']});return this[_0x4869fa(0x45c)][_0x4869fa(0x569)](_0x3e5863['id'],{'table':_0x3e5863,'rows':_0x3732f9,'rowIndexById':_0x58816a(_0x3732f9),'globalRevision':this[_0x4869fa(0x3f8)],'tableRevision':this[_0x4869fa(0x5e5)](_0x3e5863['id']),'cellRevision':_0xc83eee}),_0x3732f9;},{'tableId':_0x3e5863['id'],'records':((_0x558ca1=_0x3e5863[_0x4cee81(0x1cd)])==null?void 0x0:_0x558ca1[_0x4cee81(0x4e9)])??Object[_0x4cee81(0x2db)](_0x3e5863['records']??{})[_0x4cee81(0x4e9)],'fields':_0x3e5863[_0x4cee81(0x582)]['length']});}[_0x571676(0x47c)](_0x83c833,_0x1ef268,_0x4a32a3){const _0x5674d9=_0x571676;let _0xda5025=(this['_cellInvalidations']['get'](_0x83c833['id'])??[])['filter'](_0x2a272d=>_0x2a272d[_0x5674d9(0x53a)]>_0x1ef268[_0x5674d9(0x51d)]&&_0x2a272d['revision']<=_0x4a32a3);if(!_0xda5025[_0x5674d9(0x4e9)])return _0x1ef268['table']===_0x83c833?_0x1ef268[_0x5674d9(0x3f0)]:null;let _0x299e3d=_0x1ef268[_0x5674d9(0x3f0)],_0x4e323b=new Map();for(let _0x2976d0 of _0xda5025){let _0x4f72ba=_0x4e323b[_0x5674d9(0x59c)](_0x2976d0[_0x5674d9(0x5c4)]);_0x4f72ba||(_0x4f72ba=new Set(),_0x4e323b['set'](_0x2976d0[_0x5674d9(0x5c4)],_0x4f72ba)),_0x4f72ba[_0x5674d9(0x54c)](_0x2976d0['fieldId']);}for(let [_0x38a4c7,_0x3b4320]of _0x4e323b){if(!_0x83c833[_0x5674d9(0x38f)][_0x38a4c7])return null;let _0x553655=_0x1ef268[_0x5674d9(0x361)][_0x5674d9(0x59c)](_0x38a4c7);if(_0x553655==null)return null;_0x299e3d===_0x1ef268[_0x5674d9(0x3f0)]&&(_0x299e3d=[..._0x1ef268[_0x5674d9(0x3f0)]]);let _0x1be559=_0x299e3d[_0x553655],_0x55231e={..._0x1be559[_0x5674d9(0x334)]};_0x3b4320[_0x5674d9(0x3c9)](_0x3cbb2a=>{_0x55231e[_0x3cbb2a]=_0x5d2adc(_0x83c833,_0x38a4c7,_0x3cbb2a);}),_0x299e3d[_0x553655]={..._0x1be559,'values':_0x55231e};}let _0x278d6b={'table':_0x83c833,'rows':_0x299e3d,'rowIndexById':_0x1ef268[_0x5674d9(0x361)],'globalRevision':this[_0x5674d9(0x3f8)],'tableRevision':this[_0x5674d9(0x5e5)](_0x83c833['id']),'cellRevision':_0x4a32a3};return this[_0x5674d9(0x45c)]['set'](_0x83c833['id'],_0x278d6b),this[_0x5674d9(0x43c)][_0x5674d9(0x569)](_0x83c833['id'],(this['_cellInvalidations']['get'](_0x83c833['id'])??[])[_0x5674d9(0x3c4)](_0x54f936=>_0x54f936[_0x5674d9(0x53a)]>Math[_0x5674d9(0x402)](0x0,_0x4a32a3-0x100))),_0x299e3d;}['_patchCachedProjectedRows'](_0x35ebb2,_0x374a89){const _0x16c1eb=_0x571676;let _0x546936=new Map(_0x374a89[_0x16c1eb(0x329)](_0x3bb78f=>[_0x3bb78f[_0x16c1eb(0x5c4)],_0x3bb78f])),_0x2e4252=!0x1,_0x5d429c=_0x35ebb2[_0x16c1eb(0x329)](_0x41ec2c=>{const _0x2fab5c=_0x16c1eb;let _0x1c9563=_0x546936[_0x2fab5c(0x59c)](_0x41ec2c['recordId']);return _0x1c9563?_0x1c9563===_0x41ec2c?_0x41ec2c:(_0x2e4252=!0x0,_0x1c9563):_0x41ec2c;});return _0x2e4252?_0x5d429c:_0x35ebb2;}[_0x571676(0x229)](_0x307c9d,_0x32c673,_0x235132,_0x315585){const _0x3d11af=_0x571676;return!_0x315585[_0x3d11af(0x366)]||_0x32c673===_0x235132?!0x1:_0x235132-_0x32c673>0x100||(this[_0x3d11af(0x43c)][_0x3d11af(0x59c)](_0x307c9d)??[])['some'](_0x1240ec=>_0x1240ec[_0x3d11af(0x53a)]>_0x32c673&&_0x1240ec['revision']<=_0x235132&&_0x315585['has'](_0x1240ec[_0x3d11af(0x384)]));}[_0x571676(0x367)](_0x2b5df2){const _0x552441=_0x571676;var _0x486448,_0x12cd21;let _0x270043=new Set();return _0x2b5df2==null||(_0x486448=_0x2b5df2[_0x552441(0x3c4)])==null||_0x486448['conditions'][_0x552441(0x3c9)](_0x4ae501=>_0x270043[_0x552441(0x54c)](_0x4ae501['fieldId'])),_0x2b5df2==null||(_0x12cd21=_0x2b5df2['sort'])==null||_0x12cd21['forEach'](_0x3ec7a5=>_0x270043[_0x552441(0x54c)](_0x3ec7a5['fieldId'])),_0x270043;}[_0x571676(0x5bd)](_0x2172cf){const _0x139c90=_0x571676;var _0x3e8cc2;let _0x51ecdd=this['_filterSortFieldIds'](_0x2172cf);return(_0x3e8cc2=_0x2172cf['group'])==null||_0x3e8cc2['forEach'](_0x513d9d=>_0x51ecdd[_0x139c90(0x54c)](_0x513d9d[_0x139c90(0x384)])),_0x51ecdd;}['_filterRows'](_0x3b84d8,_0x29372f,_0x4492c9){const _0x564bbe=_0x571676;let _0x598a37=_0x29372f==null?void 0x0:_0x29372f[_0x564bbe(0x3c4)];if(!(_0x598a37!=null&&_0x598a37[_0x564bbe(0x3af)]['length']))return _0x4492c9;let _0x30f21d=_0x598a37[_0x564bbe(0x3af)][_0x564bbe(0x3c4)](_0xea82ab=>!_0x164636(_0xea82ab));return _0x30f21d[_0x564bbe(0x4e9)]?_0x4492c9[_0x564bbe(0x3c4)](_0x4754f0=>{const _0x3406a0=_0x564bbe;if(_0x598a37[_0x3406a0(0x5bc)]===_0x13cf76[_0x3406a0(0x20a)]['OR']){for(let _0x30a466 of _0x30f21d){let _0x4bcf35=_0x3b84d8[_0x3406a0(0x3c2)][_0x30a466['fieldId']];if(!_0x4bcf35||this[_0x3406a0(0x26f)][_0x3406a0(0x59c)](_0x4bcf35[_0x3406a0(0x292)])[_0x3406a0(0x3c4)](_0x4754f0[_0x3406a0(0x334)][_0x4bcf35['id']],_0x30a466[_0x3406a0(0x4a2)],_0x30a466[_0x3406a0(0x417)],_0x4bcf35))return!0x0;}return!0x1;}for(let _0x9b007f of _0x30f21d){let _0x33deaa=_0x3b84d8[_0x3406a0(0x3c2)][_0x9b007f[_0x3406a0(0x384)]];if(_0x33deaa&&!this['_fieldRegistry'][_0x3406a0(0x59c)](_0x33deaa[_0x3406a0(0x292)])['filter'](_0x4754f0[_0x3406a0(0x334)][_0x33deaa['id']],_0x9b007f[_0x3406a0(0x4a2)],_0x9b007f[_0x3406a0(0x417)],_0x33deaa))return!0x1;}return!0x0;}):_0x4492c9;}[_0x571676(0x58c)](_0x445b25,_0x41dd38,_0x638a26){const _0x4779ee=_0x571676;let _0x34217f=(_0x41dd38==null?void 0x0:_0x41dd38[_0x4779ee(0x4af)])??[];if(!_0x34217f[_0x4779ee(0x4e9)])return _0x638a26;let _0x1b610e=_0x34217f['flatMap'](_0x177079=>{const _0x51d2a0=_0x4779ee;let _0x130ab5=_0x445b25['fields'][_0x177079[_0x51d2a0(0x384)]];return _0x130ab5?[{..._0x177079,'field':_0x130ab5}]:[];});return _0x1b610e[_0x4779ee(0x4e9)]?this[_0x4779ee(0x57b)](_0x1b610e)?this[_0x4779ee(0x435)](_0x1b610e,_0x638a26):[..._0x638a26]['sort']((_0x8fb8,_0x47c24d)=>{const _0x96048=_0x4779ee;for(let _0xbc0db9 of _0x1b610e){let _0x739e13=_0xbc0db9[_0x96048(0x407)],_0x4e2afc=this[_0x96048(0x26f)][_0x96048(0x59c)](_0x739e13[_0x96048(0x292)])[_0x96048(0x1e0)](_0x8fb8[_0x96048(0x334)][_0x739e13['id']],_0x47c24d['values'][_0x739e13['id']],_0x739e13);if(_0x4e2afc!==0x0)return _0xbc0db9[_0x96048(0x1c7)]===_0x13cf76[_0x96048(0x3a7)][_0x96048(0x38b)]?-_0x4e2afc:_0x4e2afc;}return 0x0;}):_0x638a26;}[_0x571676(0x57b)](_0x166c6e){const _0x2a37bb=_0x571676;return _0x166c6e[_0x2a37bb(0x5a5)](_0x552d48=>_0x39090b[_0x2a37bb(0x370)](_0x552d48[_0x2a37bb(0x407)][_0x2a37bb(0x292)]));}[_0x571676(0x435)](_0x1c10fb,_0x4a1173){const _0x1f77e3=_0x571676;return _0x4a1173[_0x1f77e3(0x329)]((_0x3f331c,_0x4dc002)=>({'row':_0x3f331c,'index':_0x4dc002,'keys':_0x1c10fb['map'](_0x1254b9=>_0x3f331c[_0x1f77e3(0x334)][_0x1254b9['fieldId']])}))[_0x1f77e3(0x4af)]((_0x3232b2,_0x554c0d)=>{const _0x504d16=_0x1f77e3;for(let _0x48b88a=0x0;_0x48b88a<_0x1c10fb['length'];_0x48b88a++){let _0x470e47=_0x58409e(_0x3232b2[_0x504d16(0x2db)][_0x48b88a],_0x554c0d['keys'][_0x48b88a]);if(_0x470e47!==0x0)return _0x1c10fb[_0x48b88a]['direction']===_0x13cf76[_0x504d16(0x3a7)][_0x504d16(0x38b)]?-_0x470e47:_0x470e47;}return _0x3232b2['index']-_0x554c0d['index'];})['map'](_0xbdab7e=>_0xbdab7e[_0x1f77e3(0x22f)]);}[_0x571676(0x4eb)](_0x26251e,_0x59cd9e,_0x2f5842){const _0x1bc253=_0x571676;var _0x5b8b37;return _0x32800a(_0x1bc253(0x3f1),()=>{const _0x355223=_0x1bc253;var _0x322efa;if(!((_0x322efa=_0x59cd9e[_0x355223(0x42c)])!=null&&_0x322efa[_0x355223(0x4e9)]))return[];let _0x1783b7=_0x59cd9e[_0x355223(0x42c)]['filter'](_0x526202=>_0x26251e[_0x355223(0x3c2)][_0x526202['fieldId']]);if(!_0x1783b7[_0x355223(0x4e9)])return[];let _0x19a542=this[_0x355223(0x201)](_0x26251e['id'],_0x59cd9e,_0x1783b7),_0x3c39f3=this[_0x355223(0x1e5)](_0x26251e['id']),_0x30ccbf=this[_0x355223(0x198)]['get'](_0x19a542);if(_0x30ccbf&&_0x30ccbf['globalRevision']===this[_0x355223(0x3f8)]&&_0x30ccbf[_0x355223(0x49d)]===this[_0x355223(0x5e5)](_0x26251e['id'])){if(_0x30ccbf[_0x355223(0x51d)]===_0x3c39f3&&_0x30ccbf[_0x355223(0x3f0)]===_0x2f5842)return _0x30ccbf['groups'];if(_0x30ccbf[_0x355223(0x51d)]!==_0x3c39f3&&!this['_cellInvalidationsTouchFields'](_0x26251e['id'],_0x30ccbf['cellRevision'],_0x3c39f3,this[_0x355223(0x5bd)](_0x59cd9e)))return this['_projectedGroupsCache'][_0x355223(0x569)](_0x19a542,{..._0x30ccbf,'rows':_0x2f5842,'cellRevision':_0x3c39f3}),_0x30ccbf['groups'];}let _0x308030=new Map();for(let _0x5137b7 of _0x2f5842){let _0x56f6e9=_0x308030,_0x128407='';for(let _0x4b1021=0x0;_0x4b1021<_0x1783b7[_0x355223(0x4e9)];_0x4b1021++){let _0x9548a8=_0x1783b7[_0x4b1021],_0x37bcf8=_0x5137b7['values'][_0x9548a8[_0x355223(0x384)]],_0x22c73a=_0x4eb0e7(_0x37bcf8),_0x4bf283=_0x9548a8['fieldId']+'\x00'+_0x22c73a,_0x14dbb3=_0x128407+'/'+_0x9548a8['fieldId']+':'+_0x22c73a,_0x4d04a1=_0x56f6e9[_0x355223(0x59c)](_0x4bf283);_0x4d04a1||(_0x4d04a1={'key':_0x22c73a,'value':_0x37bcf8,'path':_0x14dbb3,'label':_0x22c73a||_0x355223(0x5d7),'fieldId':_0x9548a8['fieldId'],'level':_0x4b1021,'recordIds':[],'children':new Map()},_0x56f6e9[_0x355223(0x569)](_0x4bf283,_0x4d04a1)),_0x4d04a1[_0x355223(0x2bc)]['push'](_0x5137b7[_0x355223(0x5c4)]),_0x56f6e9=_0x4d04a1[_0x355223(0x2e1)],_0x128407=_0x14dbb3;}}let _0x4ea31a=this[_0x355223(0x20c)](_0x1783b7,_0x308030,0x0);return this[_0x355223(0x198)]['set'](_0x19a542,{'table':_0x26251e,'rows':_0x2f5842,'groups':_0x4ea31a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x355223(0x5e5)](_0x26251e['id']),'cellRevision':_0x3c39f3}),_0x4ea31a;},{'tableId':_0x26251e['id'],'viewId':_0x59cd9e['id'],'viewType':_0x59cd9e[_0x1bc253(0x292)],'rows':_0x2f5842[_0x1bc253(0x4e9)],'groupFields':((_0x5b8b37=_0x59cd9e[_0x1bc253(0x42c)])==null?void 0x0:_0x5b8b37[_0x1bc253(0x4e9)])??0x0});}[_0x571676(0x20c)](_0x259e8d,_0x2c6b95,_0x44bf82){const _0x547290=_0x571676;var _0x3729e7;let _0x3b6c7e=Array[_0x547290(0x2ed)](_0x2c6b95[_0x547290(0x334)]()),_0x3b0a32=(_0x3729e7=_0x259e8d[_0x44bf82])==null?void 0x0:_0x3729e7[_0x547290(0x1c7)];return _0x3b0a32&&_0x3b6c7e[_0x547290(0x4af)]((_0xa194a2,_0x36d578)=>{const _0x4a03fa=_0x547290;let _0x5dafb4=_0xa194a2[_0x4a03fa(0x40c)][_0x4a03fa(0x391)](_0x36d578['key']);return _0x3b0a32===_0x13cf76['BaseSortDirection'][_0x4a03fa(0x38b)]?-_0x5dafb4:_0x5dafb4;}),_0x3b6c7e[_0x547290(0x329)](_0x558033=>({'key':_0x558033[_0x547290(0x40c)],'value':_0x558033[_0x547290(0x315)],'path':_0x558033[_0x547290(0x4cf)],'label':_0x558033['label'],'fieldId':_0x558033[_0x547290(0x384)],'level':_0x558033[_0x547290(0x2ee)],'recordIds':_0x558033['recordIds'],'children':this['_materializeGroups'](_0x259e8d,_0x558033[_0x547290(0x2e1)],_0x44bf82+0x1)}));}['_title'](_0x57d769,_0x177eee,_0x11a865){const _0x645b25=_0x571676;let _0x17eb8e=_0x11a865??_0x57d769[_0x645b25(0x422)],_0x344d3f=_0x177eee[_0x645b25(0x334)][_0x17eb8e];return _0x344d3f==null?'':String(_0x344d3f);}['_recordIds'](_0x533a2f){const _0x2034c1=_0x571676;if(Array[_0x2034c1(0x21f)](_0x533a2f))return _0x533a2f[_0x2034c1(0x329)](String);if(typeof _0x533a2f==_0x2034c1(0x2b6)&&_0x533a2f)return[_0x533a2f];}[_0x571676(0x1d7)](_0x1a8289){const _0x87e221=_0x571676;return this['_fieldRegistry']['get'](_0x1a8289['type'])[_0x87e221(0x552)](_0x1a8289);}};_0x308bae=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x1be8ce))],_0x308bae);function _0x4eb0e7(_0x512b46){return _0x512b46==null?'':String(_0x512b46);}function _0x58816a(_0x16d612){const _0x75cba3=_0x571676;return new Map(_0x16d612[_0x75cba3(0x329)]((_0x5d3285,_0x297f02)=>[_0x5d3285[_0x75cba3(0x5c4)],_0x297f02]));}function _0x37f4e9(_0x4ecaf9){const _0x13faea=_0x571676;return!!(Array[_0x13faea(0x21f)](_0x4ecaf9[_0x13faea(0x1cd)])&&_0x4ecaf9[_0x13faea(0x563)]&&_0x4ecaf9[_0x13faea(0x556)]&&_0x4ecaf9[_0x13faea(0x28e)]&&_0x4ecaf9[_0x13faea(0x351)]&&_0x4ecaf9[_0x13faea(0x38e)]);}function _0x394f5b(_0x165072){const _0x1dc567=_0x571676;let _0x1bdb56=(_0x165072==null?void 0x0:_0x165072['conditions'][_0x1dc567(0x3c4)](_0x31c20b=>!_0x164636(_0x31c20b)))??[];return!_0x165072||!_0x1bdb56['length']?null:{'conjunction':_0x165072[_0x1dc567(0x5bc)],'conditions':_0x1bdb56[_0x1dc567(0x329)](_0x33222b=>({'fieldId':_0x33222b[_0x1dc567(0x384)],'operator':_0x33222b[_0x1dc567(0x4a2)],'operand':_0x33222b[_0x1dc567(0x417)]}))};}function _0x20446f(_0x2e0743,_0x302cf1){const _0x3dd9ca=_0x571676;return _0x2e0743[_0x3dd9ca(0x38f)]===_0x302cf1['records']&&_0x2e0743['recordOrder']===_0x302cf1[_0x3dd9ca(0x1cd)]&&_0x2e0743['fields']===_0x302cf1['fields']&&_0x2e0743[_0x3dd9ca(0x582)]===_0x302cf1[_0x3dd9ca(0x582)]&&_0x2e0743[_0x3dd9ca(0x38e)]===_0x302cf1[_0x3dd9ca(0x38e)]&&_0x2e0743[_0x3dd9ca(0x563)]===_0x302cf1[_0x3dd9ca(0x563)]&&_0x2e0743[_0x3dd9ca(0x556)]===_0x302cf1['rowId']&&_0x2e0743[_0x3dd9ca(0x28e)]===_0x302cf1['colIndex']&&_0x2e0743[_0x3dd9ca(0x351)]===_0x302cf1[_0x3dd9ca(0x351)];}function _0x42c04c(_0x4cb256){const _0x380882=_0x571676;return _0x4cb256!=null&&_0x4cb256[_0x380882(0x4e9)]?_0x4cb256['map'](_0x550ccd=>({'fieldId':_0x550ccd['fieldId'],'direction':_0x550ccd[_0x380882(0x1c7)]})):null;}function _0x59f21e(_0x5da612){const _0x51800f=_0x571676;if(typeof _0x5da612!=_0x51800f(0x1a7)||!_0x5da612)return JSON['stringify'](_0x5da612)??_0x51800f(0x306);if(Array[_0x51800f(0x21f)](_0x5da612))return'['+_0x5da612['map'](_0x59f21e)['join'](',')+']';let _0x26b8d3=_0x5da612;return'{'+Object[_0x51800f(0x2db)](_0x26b8d3)[_0x51800f(0x4af)]()[_0x51800f(0x329)](_0x2b88cf=>JSON[_0x51800f(0x30d)](_0x2b88cf)+':'+_0x59f21e(_0x26b8d3[_0x2b88cf]))['join'](',')+'}';}function _0x14359c(_0x2caeac){const _0x326baa=_0x571676;let _0x4951d1=Object[_0x326baa(0x334)](_0x2caeac)['sort']((_0x3aca00,_0x1bb2bb)=>_0x3aca00[_0x326baa(0x34c)][_0x326baa(0x391)](_0x1bb2bb[_0x326baa(0x34c)])),_0x491785=[];for(let _0x25a75c of _0x4951d1)_0x491785['push'](_0x25a75c['id']);return _0x491785;}function _0x48adc8(_0xb5cc33){const _0x4b0236=_0x571676;return{'weekdays':Array[_0x4b0236(0x21f)](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x578)])&&_0xb5cc33[_0x4b0236(0x578)][_0x4b0236(0x4e9)]?[...new Set(_0xb5cc33['weekdays'][_0x4b0236(0x3c4)](_0x18e51d=>Number['isInteger'](_0x18e51d)&&_0x18e51d>=0x1&&_0x18e51d<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0xb5cc33==null?void 0x0:_0xb5cc33[_0x4b0236(0x324)])?_0xb5cc33['exceptions'][_0x4b0236(0x387)](_0x362578=>!_0x362578||!Number['isFinite'](_0x362578['date'])?[]:[{'id':String(_0x362578['id']||'exception-'+_0x362578['date']),'date':_0x24cf45(Number(_0x362578['date'])),'name':String(_0x362578[_0x4b0236(0x46d)]||_0x4b0236(0x290)),'type':_0x362578[_0x4b0236(0x292)]===_0x4b0236(0x231)?_0x4b0236(0x231):_0x4b0236(0x2fa)}]):[]};}function _0x40c45e(_0x5501ac,_0x4ecc13,_0x85986d,_0x1971c4){let _0x1f79bc=_0x1f01b6(_0x5501ac,_0x4ecc13),_0x43628d=_0x4f0328(_0x5501ac,_0x85986d),_0x3d5558=_0x1726df(_0x5501ac,_0x1f79bc,_0x43628d,_0x1971c4);return{'scale':_0x5501ac,'start':_0x1f79bc,'end':_0x43628d,'unitWidth':_0x48ebd2(_0x5501ac),'majorHeaders':_0x2c8675(_0x5501ac,_0x1f79bc,_0x43628d),'columns':_0x3d5558};}function _0x1726df(_0x261b0c,_0x49c4aa,_0x3e1bfa,_0x39d23c){const _0x4833b6=_0x571676;let _0x51a847=[],_0x288a30=_0x49c4aa;for(;_0x288a30<_0x3e1bfa;){let _0x2e28ec=_0x261b0c===_0x4833b6(0x35c)?_0x52be1a(_0x288a30,0x7):_0x261b0c===_0x4833b6(0x271)?_0x5b7e4c(_0x288a30,0x1):_0x52be1a(_0x288a30,0x1);_0x51a847[_0x4833b6(0x401)]({'id':_0x261b0c+'-'+_0x288a30,'label':_0x45c188(_0x261b0c,_0x288a30,_0x2e28ec),'majorLabel':_0x1eee6f(_0x261b0c,_0x288a30),'start':_0x288a30,'end':_0x2e28ec,'nonWorking':_0x5c58f7(_0x288a30,_0x2e28ec,_0x39d23c)}),_0x288a30=_0x2e28ec;}return _0x51a847;}function _0x2c8675(_0x269eb2,_0x3d3c75,_0x51ab77){const _0x503890=_0x571676;let _0x37b540=[],_0x190dbd=_0x269eb2==='year'?_0x54089f(_0x3d3c75):_0x44f328(_0x3d3c75);for(;_0x190dbd<_0x51ab77;){let _0x240cf3=_0x269eb2==='year'?_0x21c6fb(_0x190dbd,0x1):_0x5b7e4c(_0x190dbd,0x1);_0x37b540[_0x503890(0x401)]({'id':_0x503890(0x3cc)+_0x190dbd,'label':_0x269eb2===_0x503890(0x271)?String(new Date(_0x190dbd)[_0x503890(0x2eb)]()):_0x40375a(_0x190dbd),'start':_0x190dbd,'end':_0x240cf3}),_0x190dbd=_0x240cf3;}return _0x37b540;}function _0x48ebd2(_0x423fdf){const _0x287cb5=_0x571676;switch(_0x423fdf){case _0x287cb5(0x3a2):return 0xac;case _0x287cb5(0x35c):return 0xac;case _0x287cb5(0x271):return 0x88;default:return 0x56;}}function _0x1f01b6(_0x101336,_0x5550a1){const _0x2ce160=_0x571676;return _0x101336==='year'?_0x54089f(_0x5550a1):_0x101336===_0x2ce160(0x35c)?_0x174d10(_0x5550a1):_0x24cf45(_0x5550a1);}function _0x4f0328(_0x54580c,_0x5484d4){const _0x11a722=_0x571676;return _0x54580c===_0x11a722(0x271)?_0x21c6fb(_0x54089f(_0x5484d4),0x1):_0x54580c==='quarter'?_0x52be1a(_0x174d10(_0x5484d4),0x7):_0x52be1a(_0x24cf45(_0x5484d4),0x1);}function _0x45c188(_0x4630e3,_0x10aa8e,_0x459041){const _0xbb9286=_0x571676;let _0x238dc=new Date(_0x10aa8e);return _0x4630e3===_0xbb9286(0x35c)?_0x238dc[_0xbb9286(0x284)]()+'-'+new Date(_0x459041-_0xb61d09)[_0xbb9286(0x284)]():_0x4630e3==='year'?_0x238dc[_0xbb9286(0x506)]('en-US',{'month':_0xbb9286(0x378),'timeZone':'UTC'}):String(_0x238dc[_0xbb9286(0x284)]());}function _0x1eee6f(_0x553986,_0x2113c2){const _0x5dacc6=_0x571676;return _0x553986===_0x5dacc6(0x271)?String(new Date(_0x2113c2)['getUTCFullYear']()):_0x40375a(_0x2113c2);}function _0x571a96(_0xae301a,_0x3ffbb0,_0x5bea84){let _0x50874a=_0x48adc8(_0x5bea84),_0x466572=0x0;for(let _0x590e87=_0x24cf45(_0xae301a);_0x590e87<=_0x24cf45(_0x3ffbb0);_0x590e87=_0x52be1a(_0x590e87,0x1))_0x1c49a4(_0x590e87,_0x50874a)||_0x466572++;return _0x466572;}function _0x5c58f7(_0x5c7a2a,_0x222a8e,_0x5ef767){if(!_0x5ef767)return!0x1;let _0x312ad5=_0x48adc8(_0x5ef767);for(let _0xf0e13d=_0x24cf45(_0x5c7a2a);_0xf0e13d<_0x222a8e;_0xf0e13d=_0x52be1a(_0xf0e13d,0x1))if(!_0x1c49a4(_0xf0e13d,_0x312ad5))return!0x1;return!0x0;}function _0x1c49a4(_0x5c5db3,_0x4b5dc0){const _0x2f2f5e=_0x571676;let _0x17e80e=_0x24cf45(_0x5c5db3),_0x4765ad=_0x4b5dc0[_0x2f2f5e(0x324)][_0x2f2f5e(0x56a)](_0x5e2a87=>_0x24cf45(_0x5e2a87[_0x2f2f5e(0x44b)])===_0x17e80e);if(_0x4765ad)return _0x4765ad[_0x2f2f5e(0x292)]===_0x2f2f5e(0x2fa);let _0x38b6a1=new Date(_0x17e80e)[_0x2f2f5e(0x1de)](),_0x2bc579=_0x38b6a1===0x0?0x7:_0x38b6a1;return!_0x4b5dc0[_0x2f2f5e(0x578)][_0x2f2f5e(0x358)](_0x2bc579);}function _0x24cf45(_0x382a52){const _0x5c4da4=_0x571676;let _0x29f503=new Date(_0x382a52);return Date[_0x5c4da4(0x205)](_0x29f503[_0x5c4da4(0x2eb)](),_0x29f503[_0x5c4da4(0x3de)](),_0x29f503[_0x5c4da4(0x284)]());}function _0x174d10(_0x1ab03e){const _0x57ca9d=_0x571676;let _0x354848=_0x24cf45(_0x1ab03e),_0x46e5e9=new Date(_0x354848)[_0x57ca9d(0x1de)]();return _0x52be1a(_0x354848,-(_0x46e5e9===0x0?0x6:_0x46e5e9-0x1));}function _0x44f328(_0x59b0a5){const _0xd278ac=_0x571676;let _0x4748f0=new Date(_0x59b0a5);return Date[_0xd278ac(0x205)](_0x4748f0['getUTCFullYear'](),_0x4748f0[_0xd278ac(0x3de)](),0x1);}function _0x54089f(_0x5cea23){const _0x1bd7c8=_0x571676;let _0x43dbdb=new Date(_0x5cea23);return Date[_0x1bd7c8(0x205)](_0x43dbdb[_0x1bd7c8(0x2eb)](),0x0,0x1);}function _0x52be1a(_0x16a6eb,_0x4630f4){return _0x16a6eb+_0x4630f4*_0xb61d09;}function _0x5b7e4c(_0x5c5674,_0x5f2d77){const _0x3b318c=_0x571676;let _0x34f758=new Date(_0x5c5674);return Date['UTC'](_0x34f758['getUTCFullYear'](),_0x34f758[_0x3b318c(0x3de)]()+_0x5f2d77,0x1);}function _0x21c6fb(_0x5f221a,_0x225410){const _0x3cc93d=_0x571676;let _0x1d1ff2=new Date(_0x5f221a);return Date['UTC'](_0x1d1ff2[_0x3cc93d(0x2eb)]()+_0x225410,0x0,0x1);}function _0x40375a(_0x153b00){const _0x6005bc=_0x571676;let _0x2b95ca=new Date(_0x153b00);return _0x2b95ca['toLocaleString'](_0x6005bc(0x1b9),{'month':_0x6005bc(0x378),'timeZone':'UTC'})+'\x20'+_0x2b95ca[_0x6005bc(0x2eb)]();}function _0x58409e(_0x637d43,_0x1c2f7c){const _0x5b1d=_0x571676;if(_0x637d43==null&&_0x1c2f7c==null)return 0x0;if(_0x637d43==null)return-0x1;if(_0x1c2f7c==null)return 0x1;if(typeof _0x637d43=='boolean'||typeof _0x1c2f7c==_0x5b1d(0x42a))return Number(_0x637d43===!0x0)-Number(_0x1c2f7c===!0x0);let _0x37ecba=Number(_0x637d43),_0x52bcf1=Number(_0x1c2f7c),_0x3873c9=Number[_0x5b1d(0x195)](_0x37ecba),_0x1b4d30=Number[_0x5b1d(0x195)](_0x52bcf1);return _0x3873c9&&_0x1b4d30?_0x37ecba-_0x52bcf1:_0x3873c9?0x1:_0x1b4d30?-0x1:String(_0x637d43)['localeCompare'](String(_0x1c2f7c));}function _0x164636(_0x17db4e){const _0xcb14e6=_0x571676;if(_0x17db4e['operator']!=='is'&&_0x17db4e[_0xcb14e6(0x4a2)]!==_0xcb14e6(0x3f5))return!0x1;let _0x68ff84=_0x17db4e[_0xcb14e6(0x417)];return _0x68ff84==null?!0x0:typeof _0x68ff84==_0xcb14e6(0x2b6)?_0x68ff84[_0xcb14e6(0x2cd)]()==='':Array[_0xcb14e6(0x21f)](_0x68ff84)?_0x68ff84[_0xcb14e6(0x4e9)]===0x0:!0x1;}function _0x40d76c(_0x57d124,_0x1d2f84){const _0x14c763=_0x571676;var _0x18ee7a;let _0x3d1135=Array['isArray']((_0x18ee7a=_0x57d124['config'])==null?void 0x0:_0x18ee7a[_0x14c763(0x386)])?_0x57d124[_0x14c763(0x5b9)][_0x14c763(0x386)]:[];for(let _0x1eb3e0 of _0x3d1135){if(_0x1eb3e0==null)continue;if(typeof _0x1eb3e0==_0x14c763(0x2b6)){if(_0x1eb3e0===_0x1d2f84)return{'id':_0x1eb3e0,'name':_0x1eb3e0};continue;}let _0x482fb6=_0x1eb3e0,_0x6e087c=String(_0x482fb6['id']??_0x482fb6['name']??''),_0x39909a=String(_0x482fb6['name']??_0x482fb6['id']??_0x6e087c);if(_0x6e087c===_0x1d2f84||_0x39909a===_0x1d2f84)return{'id':_0x6e087c,'name':_0x39909a,'color':_0x482fb6[_0x14c763(0x393)]==null?void 0x0:String(_0x482fb6[_0x14c763(0x393)])};}return null;}let _0x3996a0=function(_0x43a007){const _0x157582=_0x571676;return _0x43a007['CreateView']='create-view',_0x43a007[_0x157582(0x436)]=_0x157582(0x3c3),_0x43a007;}({}),_0x4d02c8={'id':_0x571676(0x441),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler'(_0x5dd486,_0x511eb5){const _0x13338b=_0x571676;let {unitId:_0x6c3c5,op:_0x33026b}=_0x511eb5,_0x42e5c8=_0x5dd486['get'](_0x13cf76['IUniverInstanceService'])['getUnit'](_0x6c3c5,_0x13cf76['UniverInstanceType'][_0x13338b(0x321)]);if(!_0x42e5c8)return!0x1;let _0x1b7191=_0x42e5c8[_0x13338b(0x463)](),_0x471cd3=new _0x1aaf1b(),_0x2ff03c=_0x471cd3[_0x13338b(0x491)](_0x33026b),_0x4f940a=_0x471cd3[_0x13338b(0x4d8)](_0x1b7191,_0x33026b);return _0x42e5c8['setSnapshot'](_0x4f940a),_0x2b3ca7(_0x4f940a,_0x2ff03c,_0x5dd486['get'](_0x5c11cd)),!0x0;}};function _0x2b3ca7(_0x57d65b,_0x455166,_0x4b7483){const _0x42949d=_0x571676;let _0x241782=new Set(),_0x31e5ed=new Set(),_0x31a52a=new Set();for(let _0x1cbd81 of _0x455166){if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x197)&&_0x1cbd81['tableId']&&_0x1cbd81[_0x42949d(0x1ca)]){let _0x474e56=_0x1cbd81[_0x42949d(0x33f)]+'\x00'+_0x1cbd81['viewId'];_0x31a52a[_0x42949d(0x370)](_0x474e56)||(_0x31a52a[_0x42949d(0x54c)](_0x474e56),_0x4b7483['invalidateByView'](_0x1cbd81[_0x42949d(0x33f)],_0x1cbd81[_0x42949d(0x1ca)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]===_0x42949d(0x407)&&_0x1cbd81[_0x42949d(0x33f)]&&_0x1cbd81[_0x42949d(0x384)]){let _0x47d7f6=_0x1cbd81['tableId']+'\x00'+_0x1cbd81['fieldId'];_0x31e5ed['has'](_0x47d7f6)||(_0x31e5ed['add'](_0x47d7f6),_0x4b7483[_0x42949d(0x404)](_0x1cbd81['tableId'],_0x1cbd81[_0x42949d(0x384)]));continue;}if(_0x1cbd81[_0x42949d(0x2a3)]!=='cell'){_0x4b7483['invalidateByOp']();return;}let _0x2a77d3=_0x24abd7(_0x57d65b,_0x1cbd81);if(!_0x2a77d3){_0x4b7483['invalidateByOp']();return;}let _0x33b01e=_0x2a77d3[_0x42949d(0x33f)]+'\x00'+_0x2a77d3[_0x42949d(0x5c4)]+'\x00'+_0x2a77d3[_0x42949d(0x384)];_0x241782[_0x42949d(0x370)](_0x33b01e)||(_0x241782[_0x42949d(0x54c)](_0x33b01e),_0x4b7483[_0x42949d(0x4bb)](_0x2a77d3[_0x42949d(0x33f)],_0x2a77d3[_0x42949d(0x5c4)],_0x2a77d3[_0x42949d(0x384)]));}}function _0x24abd7(_0x59a496,_0x315318){const _0x2aba3d=_0x571676;var _0x3f1bb7,_0x363a8b;if(!_0x315318[_0x2aba3d(0x33f)])return null;if(_0x315318[_0x2aba3d(0x5c4)]&&_0x315318[_0x2aba3d(0x384)])return{'tableId':_0x315318['tableId'],'recordId':_0x315318[_0x2aba3d(0x5c4)],'fieldId':_0x315318[_0x2aba3d(0x384)]};if(_0x315318[_0x2aba3d(0x22f)]==null||_0x315318['column']==null)return null;let _0x13e49a=_0x59a496['tables'][_0x315318['tableId']],_0x483480=_0x13e49a==null||(_0x3f1bb7=_0x13e49a[_0x2aba3d(0x556)])==null?void 0x0:_0x3f1bb7[_0x315318[_0x2aba3d(0x22f)]],_0x667fd0=_0x13e49a==null||(_0x363a8b=_0x13e49a[_0x2aba3d(0x351)])==null?void 0x0:_0x363a8b[_0x315318['column']];return!_0x483480||!_0x667fd0?null:{'tableId':_0x315318[_0x2aba3d(0x33f)],'recordId':_0x483480,'fieldId':_0x667fd0};}let _0x45b75c=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2b4618=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x3ceab1=/\{([^}]+)\}/g,_0x29e3da=_0x13cf76['regexp'][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x2aff18=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x1b821a=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0xb32c83=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x5dabb9=_0x13cf76[_0x571676(0x1da)]['createRegExpFromSafeFragment'](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x48d5ed=_0x13cf76[_0x571676(0x1da)][_0x571676(0x268)](String[_0x571676(0x2e8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x3bb03f=class{[_0x571676(0x374)](_0x5350ca,_0x464f5c=_0x5350ca['id']){const _0x2b1056=_0x571676;var _0x1db0c7;let _0x3942f2=((_0x1db0c7=_0x5350ca[_0x2b1056(0x1cd)])==null?void 0x0:_0x1db0c7[_0x2b1056(0x4e9)])??Object[_0x2b1056(0x334)](_0x5350ca[_0x2b1056(0x38f)])[_0x2b1056(0x4e9)];return{'sheetId':_0x464f5c,'titleMap':new Map(_0x5350ca[_0x2b1056(0x582)]['map']((_0x185296,_0x4d3f79)=>{const _0xb8ebb3=_0x2b1056;var _0x187e11;return[((_0x187e11=_0x5350ca[_0xb8ebb3(0x3c2)][_0x185296])==null?void 0x0:_0x187e11[_0xb8ebb3(0x46d)])??_0x185296,_0x4d3f79];})),'range':{'startRow':0x0,'endRow':Math[_0x2b1056(0x402)](0x0,_0x3942f2-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x5350ca[_0x2b1056(0x582)][_0x2b1056(0x4e9)]-0x1)},'showHeader':!0x1};}[_0x571676(0x48d)](_0x49614b,_0x4f65ef){const _0x3e18d5=_0x571676;let _0x15f52c=[],_0x2827b7=_0x4f65ef?new Set(_0x4f65ef):null,_0x3d9917=(0x0,_0x13cf76[_0x3e18d5(0x3a1)])(_0x49614b);return Object[_0x3e18d5(0x334)](_0x49614b[_0x3e18d5(0x291)])[_0x3e18d5(0x3c4)](_0x2a55b9=>!_0x2827b7||_0x2827b7[_0x3e18d5(0x370)](_0x2a55b9['id']))['forEach'](_0x167fca=>{const _0x294365=_0x3e18d5;let _0x2c7e33=this[_0x294365(0x374)](_0x167fca,_0x167fca['id']);_0x15f52c['push']({'tableId':_0x167fca['id'],'tableName':_0x3d9917[_0x294365(0x59c)](_0x167fca['id']),'reference':_0x2c7e33});}),_0x15f52c;}['validateFormula'](_0x46cee5,_0x503c9d,_0x499d5f={}){const _0x18aae4=_0x571676;let _0x1ab279=_0x46cee5[_0x18aae4(0x2cd)]();if(!_0x1ab279)return{'valid':!0x0};if(_0x423701(_0x1ab279))return{'valid':!0x1,'reason':_0x18aae4(0x454)};let _0x4370e5=_0x499d5f[_0x18aae4(0x4cb)]?(0x0,_0x13cf76[_0x18aae4(0x3a1)])(_0x499d5f[_0x18aae4(0x4cb)]):void 0x0;for(let _0x389e4d of _0x1c6846(_0x1ab279)){let _0x39114a=_0x459058(_0x389e4d,_0x503c9d,_0x499d5f[_0x18aae4(0x4cb)],_0x4370e5);if(!_0x39114a[_0x18aae4(0x4b7)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x389e4d[_0x18aae4(0x51f)]+_0x18aae4(0x20e)};if(!_0x39114a['field'])return{'valid':!0x1,'reason':_0x18aae4(0x4e3)+_0x389e4d[_0x18aae4(0x524)]+_0x18aae4(0x2ec)};}return{'valid':!0x0};}[_0x571676(0x57d)](_0x4b015e,_0x47b03f,_0x21bd96={}){const _0x1d829e=_0x571676;let _0x44501a=new Set();for(let _0x93ff76 of this[_0x1d829e(0x3eb)](_0x4b015e,_0x47b03f,_0x21bd96))_0x93ff76[_0x1d829e(0x33f)]===_0x47b03f['id']&&_0x44501a['add'](_0x93ff76[_0x1d829e(0x384)]);return Array[_0x1d829e(0x2ed)](_0x44501a);}[_0x571676(0x3eb)](_0x2f87dc,_0x554438,_0x1861ad={}){const _0x3ff824=_0x571676;let _0x409cc7=new Map(),_0x3d804c=_0x1861ad[_0x3ff824(0x4cb)]?(0x0,_0x13cf76['createBaseFormulaTableNameMap'])(_0x1861ad[_0x3ff824(0x4cb)]):void 0x0;for(let _0x58efa8 of _0x1c6846(_0x2f87dc)){let _0x39dcd8=_0x459058(_0x58efa8,_0x554438,_0x1861ad[_0x3ff824(0x4cb)],_0x3d804c);if(!_0x39dcd8[_0x3ff824(0x4b7)]||!_0x39dcd8['field'])continue;let _0x2c4bcc=_0x39dcd8['table']['id']+'\x1f'+_0x39dcd8[_0x3ff824(0x407)]['id'];_0x409cc7[_0x3ff824(0x569)](_0x2c4bcc,{'tableId':_0x39dcd8['table']['id'],'fieldId':_0x39dcd8[_0x3ff824(0x407)]['id']});}return Array[_0x3ff824(0x2ed)](_0x409cc7[_0x3ff824(0x334)]());}};function _0x182f9d(_0x34115e,_0x5e6a99){const _0x452f41=_0x571676;var _0x216a6b;let _0x26059f=[],_0x2da268=(_0x216a6b=_0x5e6a99[_0x452f41(0x225)])==null?void 0x0:_0x216a6b[_0x34115e['id']];return _0x2da268&&Object[_0x452f41(0x460)](_0x2da268)['forEach'](([_0x3c8c32,_0x314cde])=>{const _0xc21ae2=_0x452f41;let _0x50c025=_0x34115e[_0xc21ae2(0x291)][_0x3c8c32];if(!_0x50c025||!_0x314cde)return;let _0x55961c=_0x48b6e1(_0x50c025),_0x25f5be=[];new _0x13cf76[(_0xc21ae2(0x53f))](_0x314cde)['forValue']((_0x1924a6,_0x104cd5,_0x49436f)=>{const _0x1beef4=_0xc21ae2;let _0x207415=_0xd9f9c9(_0x55961c,_0x1924a6,_0x104cd5,_0x49436f);_0x207415&&_0x25f5be[_0x1beef4(0x401)](_0x207415);}),_0x25f5be[_0xc21ae2(0x4e9)]&&_0x26059f[_0xc21ae2(0x401)]({'unitId':_0x34115e['id'],'tableId':_0x3c8c32,'patches':_0x25f5be});}),_0x26059f;}function _0xd9f9c9(_0x5a8ceb,_0x1b3dd2,_0x3417bb,_0x31b286){const _0x20fdec=_0x571676;var _0x397e28,_0x2d0149,_0x390a44;let _0x2e691d=(_0x397e28=_0x5a8ceb['rowId'])==null?void 0x0:_0x397e28[_0x1b3dd2],_0x1bd4d1=(_0x2d0149=_0x5a8ceb['colId'])==null?void 0x0:_0x2d0149[_0x3417bb];if(!_0x2e691d||!_0x5a8ceb[_0x20fdec(0x38f)][_0x2e691d]||!_0x1bd4d1)return null;let _0x40d189=_0x5a8ceb[_0x20fdec(0x3c2)][_0x1bd4d1];if(!_0x40d189||_0x40d189[_0x20fdec(0x292)]!==_0x20fdec(0x2b7))return null;let _0x32c0d5=String(((_0x390a44=_0x40d189[_0x20fdec(0x5b9)])==null?void 0x0:_0x390a44[_0x20fdec(0x2b7)])??'')['trim'](),_0x59742b=(_0x31b286==null?void 0x0:_0x31b286['v'])??null,_0xb607ad={'v':_0x59742b,'t':_0x184c18(_0x59742b),..._0x1b3dd2===0x0&&_0x32c0d5?{'f':_0x32c0d5}:{},'si':_0x40d189['id']};return _0xdaba56(_0x5acb7f(_0x5a8ceb,_0x2e691d,_0x1bd4d1),_0xb607ad)?null:{'row':_0x1b3dd2,'col':_0x3417bb,'value':_0xb607ad};}function _0xdaba56(_0x505e86,_0x3ebc2f){return _0x505e86!=null&&Object['is'](_0x505e86['v']??null,_0x3ebc2f['v']??null)&&_0x505e86['t']===_0x3ebc2f['t']&&_0x505e86['f']===_0x3ebc2f['f']&&_0x505e86['si']===_0x3ebc2f['si'];}function _0x184c18(_0x15ba0d){const _0x41bbdc=_0x571676;return typeof _0x15ba0d==_0x41bbdc(0x3dc)?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x1f1)]:typeof _0x15ba0d==_0x41bbdc(0x42a)?_0x13cf76['CellValueType'][_0x41bbdc(0x228)]:typeof _0x15ba0d=='string'?_0x13cf76[_0x41bbdc(0x32d)][_0x41bbdc(0x562)]:null;}function _0x1c6846(_0x15c1e1){const _0x220d08=_0x571676;let _0x2de31a=_0x29b9b8(_0x15c1e1,()=>''),_0x1bddf8=new Map(),_0x4e29b1=_0x26db4b=>{const _0x28067e=_0x4fc5;_0x1bddf8[_0x28067e(0x569)]((_0x26db4b[_0x28067e(0x51f)]??'')+'\x1f'+_0x26db4b['fieldName'],_0x26db4b);};for(let _0x3c909b of _0x2de31a[_0x220d08(0x44e)](_0x3ceab1))_0x4e29b1({'fieldName':_0x3c909b[0x1],'scope':_0x220d08(0x49a)});_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x29e3da,(_0x317df0,_0x4274af,_0x2f7750,_0x49168e)=>(_0x4e29b1({'tableName':_0x4274af,'fieldName':_0x49168e,'scope':_0x2f7750[_0x220d08(0x2b0)]()==='data'?_0x220d08(0x54f):_0x220d08(0x49a)}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0x2aff18,(_0xecb889,_0x456a29,_0x1cb347)=>(_0x4e29b1({'tableName':_0x456a29,'fieldName':_0x1cb347,'scope':'this-row'}),'\x20')),_0x2de31a=_0x2de31a[_0x220d08(0x5ae)](_0xb32c83,(_0x23c06b,_0x3ca620,_0xcd2404,_0x49516d)=>(_0x4e29b1({'fieldName':_0x49516d,'scope':_0xcd2404['toLowerCase']()===_0x220d08(0x54f)?_0x220d08(0x54f):_0x220d08(0x49a)}),_0x3ca620+'\x20')),_0x2de31a=_0x2de31a['replace'](_0x5dabb9,(_0x393ef5,_0x3663ca,_0x35cdd2)=>(_0x4e29b1({'fieldName':_0x35cdd2,'scope':_0x220d08(0x49a)}),_0x3663ca+'\x20'));for(let _0x49ba71 of _0x2de31a['matchAll'](_0x1b821a))_0x4e29b1({'tableName':_0x49ba71[0x1],'fieldName':_0x49ba71[0x2]});for(let _0xdca5b3 of _0x2de31a['matchAll'](_0x48d5ed))_0x4e29b1({'fieldName':_0xdca5b3[0x2],'scope':_0x220d08(0x49a)});return Array[_0x220d08(0x2ed)](_0x1bddf8[_0x220d08(0x334)]());}function _0x423701(_0x4347f8){const _0x395ec6=_0x571676;let _0x39c6f4=_0x29b9b8(_0x4347f8,()=>'\x20')[_0x395ec6(0x5ae)](_0x3ceab1,'\x20')[_0x395ec6(0x5ae)](_0x29e3da,'\x20')[_0x395ec6(0x5ae)](_0x2aff18,'\x20')['replace'](_0xb32c83,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x5dabb9,_0x395ec6(0x2f3))[_0x395ec6(0x5ae)](_0x1b821a,'\x20')[_0x395ec6(0x5ae)](_0x48d5ed,'$1\x20');return _0x45b75c[_0x395ec6(0x50e)](_0x39c6f4);}function _0x37fbd1(_0x41fb28,_0x1bfd9b){return _0x59a6fd(_0x4c53c2(_0x41fb28,_0x1bfd9b),_0x1bfd9b);}function _0x29b9b8(_0xf7385c,_0x3a4f7e){return _0x4264bb(_0x37fbd1(_0xf7385c,_0x3a4f7e),_0x3a4f7e);}function _0x4264bb(_0x3ab6fe,_0x381c36){const _0x37f39d=_0x571676;return _0x3ab6fe[_0x37f39d(0x5ae)](/"(?:""|[^"])*"/g,_0x381c36);}function _0x4c53c2(_0x3df433,_0x5459ef){const _0x37f221=_0x571676;return _0x2b4618[_0x37f221(0x3d6)]=0x0,_0x3df433['replace'](_0x2b4618,(_0x457835,_0x22ae87)=>_0x74a76e(_0x3df433,_0x22ae87)?_0x457835:_0x5459ef(_0x457835));}let _0x134368=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x59a6fd(_0x4e05cd,_0x41e217){const _0x1ac06b=_0x571676;let _0x29d593=[];for(_0x134368['lastIndex']=0x0;;){let _0x4d5b4a=_0x134368[_0x1ac06b(0x266)](_0x4e05cd);if(_0x4d5b4a==null)break;if(_0x74a76e(_0x4e05cd,_0x4d5b4a[_0x1ac06b(0x36f)]))continue;let _0x596674=_0x134368[_0x1ac06b(0x3d6)]-0x1,_0x2a121a=0x0;for(let _0x26d9b7=_0x596674;_0x26d9b7<_0x4e05cd[_0x1ac06b(0x4e9)];_0x26d9b7++)if(_0x4e05cd[_0x26d9b7]==='['&&_0x2a121a++,_0x4e05cd[_0x26d9b7]===']'&&(_0x2a121a--,_0x2a121a===0x0)){_0x29d593[_0x1ac06b(0x401)]({'start':_0x4d5b4a[_0x1ac06b(0x36f)],'end':_0x26d9b7+0x1}),_0x134368[_0x1ac06b(0x3d6)]=_0x26d9b7+0x1;break;}}if(_0x29d593['length']===0x0)return _0x4e05cd;let _0x35486f='',_0x1228fa=0x0;for(let _0x4b9622 of _0x29d593)_0x35486f+=_0x4e05cd[_0x1ac06b(0x377)](_0x1228fa,_0x4b9622[_0x1ac06b(0x3aa)]),_0x35486f+=_0x41e217(_0x4e05cd[_0x1ac06b(0x377)](_0x4b9622[_0x1ac06b(0x3aa)],_0x4b9622[_0x1ac06b(0x5a8)])),_0x1228fa=_0x4b9622[_0x1ac06b(0x5a8)];return _0x35486f+_0x4e05cd['slice'](_0x1228fa);}function _0x74a76e(_0x435bee,_0x11355c){let _0x4ae9a2=!0x1;for(let _0x29f366=0x0;_0x29f366<_0x11355c;_0x29f366++)_0x435bee[_0x29f366]==='\x22'&&(_0x4ae9a2&&_0x435bee[_0x29f366+0x1]==='\x22'?_0x29f366++:_0x4ae9a2=!_0x4ae9a2);return _0x4ae9a2;}function _0x459058(_0x2126e3,_0x1cd5fb,_0x1ca504,_0x33671c){const _0x1586af=_0x571676;let _0x504bc0=_0x2bc007(_0x2126e3[_0x1586af(0x51f)],_0x1cd5fb,_0x1ca504,_0x33671c);return{'table':_0x504bc0,'field':_0x504bc0?Object[_0x1586af(0x334)](_0x504bc0[_0x1586af(0x3c2)])[_0x1586af(0x56a)](_0x2402bc=>_0x2402bc['name']===_0x2126e3[_0x1586af(0x524)]):void 0x0};}function _0x2bc007(_0x5cc497,_0x5d76f8,_0x58904d,_0x1475fc){const _0x55beed=_0x571676;if(!_0x5cc497)return _0x5d76f8;if(!_0x58904d){var _0x2822f4;let _0x10f7e4=_0x5cc497[_0x55beed(0x2b0)]();return _0x10f7e4===_0x5d76f8['id']['toLowerCase']()||_0x10f7e4===_0x5d76f8[_0x55beed(0x46d)]['toLowerCase']()||_0x10f7e4===((_0x2822f4=_0x5d76f8[_0x55beed(0x4b8)])==null?void 0x0:_0x2822f4[_0x55beed(0x2b0)]())?_0x5d76f8:void 0x0;}let _0x32131b=_0x5cc497[_0x55beed(0x2b0)](),_0x28fd38=_0x1475fc??(0x0,_0x13cf76[_0x55beed(0x3a1)])(_0x58904d),_0xd900c4=Object[_0x55beed(0x334)](_0x58904d[_0x55beed(0x291)])[_0x55beed(0x3c4)](_0x1e5380=>{const _0x4585c2=_0x55beed;var _0x292276;return _0x1e5380['id'][_0x4585c2(0x2b0)]()===_0x32131b||_0x1e5380['name'][_0x4585c2(0x2b0)]()===_0x32131b||((_0x292276=_0x28fd38[_0x4585c2(0x59c)](_0x1e5380['id']))==null?void 0x0:_0x292276['toLowerCase']())===_0x32131b||_0x1bf44e(_0x1e5380['id'])[_0x4585c2(0x2b0)]()===_0x32131b;});return _0xd900c4[_0x55beed(0x4e9)]===0x1?_0xd900c4[0x0]:void 0x0;}function _0x1bf44e(_0x596f41){const _0x319bab=_0x571676;return _0x319bab(0x32c)+Array[_0x319bab(0x2ed)](_0x596f41,_0x590559=>{const _0x1bbb59=_0x319bab;var _0x44536e;return/[A-Za-z0-9]/[_0x1bbb59(0x50e)](_0x590559)?_0x590559:'_x'+(((_0x44536e=_0x590559[_0x1bbb59(0x253)](0x0))==null?void 0x0:_0x44536e[_0x1bbb59(0x3ca)](0x10))??'0')+'_';})[_0x319bab(0x4b9)]('');}let _0x5882e8=new _0x3bb03f();function _0x5c5b63(_0x2f36f0,_0x17f537,_0x1f3155){const _0x29e05d=_0x571676;var _0x5f2f5f;if(_0x1f3155[_0x29e05d(0x292)]!==_0x13cf76[_0x29e05d(0x517)][_0x29e05d(0x26c)])return!0x0;let _0x5a4b7d=String(((_0x5f2f5f=_0x1f3155['config'])==null?void 0x0:_0x5f2f5f['formula'])??''),_0x3312d0=_0x2f36f0[_0x29e05d(0x463)]();return _0x5882e8[_0x29e05d(0x2e2)](_0x5a4b7d,_0x3312d0[_0x29e05d(0x291)][_0x17f537],{'snapshot':_0x3312d0})[_0x29e05d(0x49e)];}function _0x2062fb(_0x2ba6e8,_0x549d3e,_0xd3700a){const _0x356856=_0x571676;let _0x4383ee=_0x2ba6e8[_0x356856(0x463)]()[_0x356856(0x291)][_0x549d3e];if(!_0x4383ee)return!0x1;let {viewIds:_0x4f8376,fieldIds:_0x4b55cf,recordIds:_0x1c1afb}=_0xd3700a||{};if(_0x4f8376){for(let _0x41635e of _0x4f8376)if(!_0x4383ee['views'][_0x41635e])return!0x1;}if(_0x4b55cf){for(let _0x2601ef of _0x4b55cf)if(!_0x4383ee['fields'][_0x2601ef])return!0x1;}if(_0x1c1afb){for(let _0x2b2afd of _0x1c1afb)if(!_0x4383ee['records'][_0x2b2afd])return!0x1;}return!0x0;}function _0x4e03f1(_0x128f1b,_0x24f5aa,_0x4947ad){const _0x1a129b=_0x571676;if(_0x4947ad['id']===_0x13cf76[_0x1a129b(0x544)]||_0x4947ad[_0x1a129b(0x292)]===_0x13cf76[_0x1a129b(0x517)][_0x1a129b(0x2ea)]||(0x0,_0x13cf76[_0x1a129b(0x4ec)])(_0x4947ad[_0x1a129b(0x46d)])||!_0x5c5b63(_0x128f1b,_0x24f5aa,_0x4947ad))return!0x1;let _0x282a9f=_0x128f1b[_0x1a129b(0x463)]();if(!_0x5a4a77(_0x282a9f,_0x4947ad)[_0x1a129b(0x49e)])return!0x1;if(_0x4947ad[_0x1a129b(0x292)]!==_0x13cf76['BaseFieldType'][_0x1a129b(0x5b0)])return!0x0;let _0xd5061a=_0x51db2d(_0x4947ad);if(!_0xd5061a)return!0x1;if(_0xd5061a[_0x1a129b(0x2fe)]===void 0x0)return!0x0;if(_0xd5061a[_0x1a129b(0x2fe)]!==_0x13cf76[_0x1a129b(0x521)][_0x1a129b(0x4ce)]||_0xd5061a['targetTableId']!==_0x24f5aa||_0xd5061a['multiple']!==!0x1)return!0x1;let _0x25d6cb=_0x282a9f['tables'][_0x24f5aa];return!Object['values'](_0x25d6cb[_0x1a129b(0x3c2)])[_0x1a129b(0x1ab)](_0x5578ec=>{const _0x5636ef=_0x1a129b;var _0x1f459e;return _0x5578ec['id']!==_0x4947ad['id']&&_0x5578ec[_0x5636ef(0x292)]===_0x13cf76[_0x5636ef(0x517)][_0x5636ef(0x5b0)]&&((_0x1f459e=_0x51db2d(_0x5578ec))==null?void 0x0:_0x1f459e[_0x5636ef(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent'];});}function _0x2432ed(_0x1c393a,_0x9e6713,_0x455810,_0x49adac){const _0x328f0c=_0x571676;var _0x20e71a;let _0x1b5bd6=_0x1c393a[_0x328f0c(0x463)](),_0x37f6c7=(_0x20e71a=_0x1b5bd6[_0x328f0c(0x291)][_0x9e6713])==null?void 0x0:_0x20e71a[_0x328f0c(0x3c2)][_0x455810];return!_0x37f6c7||_0x37f6c7['id']===_0x13cf76[_0x328f0c(0x544)]||_0x37f6c7[_0x328f0c(0x292)]===_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x2ea)]?!0x1:_0x37f6c7[_0x328f0c(0x292)]!==_0x13cf76[_0x328f0c(0x517)][_0x328f0c(0x5b0)]||_0x5d7c0c(_0x1b5bd6,_0x37f6c7,_0x54f08d(_0x49adac))[_0x328f0c(0x49e)];}function _0x1439a1(_0x319a41,_0x1ebbf4,_0x3adffe){const _0x588e0c=_0x571676;let _0x1a28e9=_0x319a41[_0x588e0c(0x463)]()[_0x588e0c(0x291)][_0x1ebbf4];return!_0x1a28e9||!(0x0,_0x13cf76['isValidBaseRecordId'])(_0x3adffe['id'])||_0x1a28e9['records'][_0x3adffe['id']]||Object[_0x588e0c(0x41e)][_0x588e0c(0x189)][_0x588e0c(0x279)](_0x3adffe[_0x588e0c(0x334)],_0x13cf76[_0x588e0c(0x544)])&&_0x3adffe[_0x588e0c(0x334)][_0x13cf76[_0x588e0c(0x544)]]!==_0x3adffe['id']?!0x1:Object[_0x588e0c(0x460)](_0x3adffe['values'])[_0x588e0c(0x5a5)](([_0x4d2063,_0x12f947])=>_0x4d2063===_0x13cf76['BASE_RECORD_ID_FIELD_ID']||_0x2432ed(_0x319a41,_0x1ebbf4,_0x4d2063,_0x12f947));}function _0x50277a(_0x11b591){const _0x1fe243=_0x571676;return{..._0x11b591,'values':{..._0x11b591[_0x1fe243(0x334)],[_0x13cf76[_0x1fe243(0x544)]]:_0x11b591['id']}};}function _0x54f08d(_0x36a711){const _0x4d6a9f=_0x571676;if(_0x36a711&&typeof _0x36a711==_0x4d6a9f(0x1a7)&&!Array[_0x4d6a9f(0x21f)](_0x36a711)&&'v'in _0x36a711){let _0xc1fdcd=_0x36a711['v'];return _0xc1fdcd===void 0x0?null:_0xc1fdcd;}return _0x36a711;}function _0x5a9b17(_0x4aa5c4,_0x6c0d24,_0x404e1c,_0x3e8dd0){const _0x4cb262=_0x571676;let _0x2286c1=_0x4aa5c4[_0x4cb262(0x463)]()['tables'][_0x6c0d24];if(!_0x2286c1)return null;let _0x3c7910=_0x19ec27(_0x2286c1),_0x450ef8=_0x3c7910??_0x2d5926(_0x2286c1),_0xbe4d68=_0x404e1c[_0x4cb262(0x1ab)](_0x5b3ae1=>Object['prototype'][_0x4cb262(0x189)]['call'](_0x5b3ae1[_0x4cb262(0x334)],_0x450ef8)),_0x1957b6=_0x3c7910?_0x2286c1['fields'][_0x3c7910]:_0xbe4d68?_0xb8ceba(_0x2286c1,_0x450ef8,_0x3e8dd0):null,_0x448b30=[];for(let _0x1f9eef of _0x404e1c){let _0x1537ac=_0x1f9eef[_0x4cb262(0x334)][_0x450ef8],_0x310503=_0x1957b6!==null&&Object[_0x4cb262(0x41e)][_0x4cb262(0x189)][_0x4cb262(0x279)](_0x1f9eef[_0x4cb262(0x334)],_0x450ef8),_0x23cfa2=_0x54f08d(_0x1537ac),_0x51c897=null;if(_0x310503){if(typeof _0x23cfa2!=_0x4cb262(0x2b6)||!_0x35e826(_0x23cfa2,!0x1)['valid'])return null;_0x51c897=_0x23cfa2;}let _0x2597b7={};if(Object[_0x4cb262(0x460)](_0x1f9eef[_0x4cb262(0x334)])[_0x4cb262(0x3c9)](([_0x12ac1e,_0xf28701])=>{(!_0x310503||_0x12ac1e!==_0x450ef8)&&(_0x2597b7[_0x12ac1e]=_0xf28701);}),!_0x1439a1(_0x4aa5c4,_0x6c0d24,{..._0x1f9eef,'values':_0x2597b7}))return null;let _0x2b0ef5={..._0x1f9eef['values']};_0x51c897!==null&&(_0x2b0ef5[_0x450ef8]=_0x51c897),_0x448b30[_0x4cb262(0x401)](_0x50277a({..._0x1f9eef,'values':_0x2b0ef5}));}return{'records':_0x448b30,'hierarchyFieldToMaterialize':_0x3c7910?null:_0x1957b6,'hierarchyChanges':_0x16b24a(_0x2286c1,_0x448b30)};}let _0x191150={'id':_0x571676(0x31d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler'(_0x1a5568,_0xa7e26f){const _0x2ea5ba=_0x571676;if(!_0xa7e26f)return!0x1;let _0x4a25be=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x444e36,tableId:_0x81a283,records:_0xb5d5a8}=_0xa7e26f,_0x4215db=_0x4a25be['getUnit'](_0x444e36,_0x13cf76['UniverInstanceType'][_0x2ea5ba(0x321)]),_0x44892a=_0xb5d5a8[_0x2ea5ba(0x329)](_0x43f9bf=>_0x43f9bf['id']);if(!_0x4215db||!_0x2062fb(_0x4215db,_0x81a283)||new Set(_0x44892a)[_0x2ea5ba(0x366)]!==_0x44892a[_0x2ea5ba(0x4e9)])return!0x1;let _0x593b0a=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76[_0x2ea5ba(0x1d3)]),_0x173e8f=_0x1a5568[_0x2ea5ba(0x59c)](_0x13cf76['IUndoRedoService']),_0x1e6154=_0x1a5568[_0x2ea5ba(0x59c)](_0x5cf6f3),_0x2f6e09=_0x4215db[_0x2ea5ba(0x463)](),_0x2ddc13=_0x5a9b17(_0x4215db,_0x81a283,_0xb5d5a8);if(!_0x2ddc13)return!0x1;let {records:_0x26d2ce,hierarchyChanges:_0x2cd251,hierarchyFieldToMaterialize:_0x13fa59}=_0x2ddc13,_0x19b970=_0x13fa59?_0x1e6154[_0x2ea5ba(0x586)](_0x4215db,_0x81a283,_0x13fa59,_0x2f6e09[_0x2ea5ba(0x291)][_0x81a283]['fieldOrder'][_0x2ea5ba(0x4e9)]):null,_0x470f80=_0x1e6154[_0x2ea5ba(0x3df)](_0x4215db,_0x81a283,_0x26d2ce),_0x22b4cf=_0x16f182([..._0x19b970?[_0x19b970]:[],_0x470f80]),_0x4ceb17=new _0x1aaf1b()[_0x2ea5ba(0x4b4)](_0x2f6e09,_0x22b4cf),_0x717512={'unitId':_0x444e36,'op':_0x22b4cf,'hierarchyChanges':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2cd251:void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0xa7e26f[_0x2ea5ba(0x47d)]??'ui':void 0x0},_0x5830ec={..._0x717512,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x3ee):void 0x0},_0x1e4746={'unitId':_0x444e36,'op':_0x4ceb17,'hierarchyChanges':_0x2cd251['length']?_0x2cd251[_0x2ea5ba(0x329)](_0x9a5735=>({..._0x9a5735,'oldParentRecordId':_0x9a5735[_0x2ea5ba(0x561)],'parentRecordId':null})):void 0x0,'source':_0x2cd251[_0x2ea5ba(0x4e9)]?_0x2ea5ba(0x505):void 0x0};return _0x593b0a['syncExecuteCommand'](_0x4d02c8['id'],_0x717512)?(_0x4a25be[_0x2ea5ba(0x2bd)](_0x444e36),_0x173e8f[_0x2ea5ba(0x4f2)]({'unitID':_0x444e36,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1e4746}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5830ec}]}),!0x0):!0x1;}},_0x45c212={'id':'base.command.batch-delete-base-records','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xcb77c9,_0x15fa44)=>{const _0x49d776=_0x571676;if(!_0x15fa44)return!0x1;let _0x31650b=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4202b8,tableId:_0x2d8322,recordIds:_0x436a52}=_0x15fa44,_0x1cfe1e=_0x31650b['getUnit'](_0x4202b8,_0x13cf76[_0x49d776(0x331)][_0x49d776(0x321)]);if(!_0x1cfe1e||!_0x2062fb(_0x1cfe1e,_0x2d8322,{'recordIds':_0x436a52}))return!0x1;let _0x4d6a99=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x1d3)]),_0x56cfb8=_0xcb77c9[_0x49d776(0x59c)](_0x13cf76[_0x49d776(0x425)]),_0x519134=_0x1cfe1e[_0x49d776(0x463)](),_0x1a00cf=_0xaf3938(_0x519134['tables'][_0x2d8322],_0x436a52),_0x32c8b5=new _0x3db0f3(),_0x2a100a=new _0x1aaf1b(),_0x35c7b1=_0x32c8b5[_0x49d776(0x23e)](_0x519134,_0x2d8322,_0x436a52),_0xf7ef91=_0x2a100a[_0x49d776(0x4d8)](_0x519134,_0x35c7b1),_0x12ba5c=_0x32c8b5[_0x49d776(0x41b)](_0x519134,_0xf7ef91,_0x2d8322,_0x436a52),_0x56d31c={'unitId':_0x4202b8,'op':_0x35c7b1,'hierarchyChanges':_0x1a00cf,'source':_0x15fa44[_0x49d776(0x47d)]??'ui'},_0x184633={..._0x56d31c,'source':_0x49d776(0x3ee)},_0x1a0667={'unitId':_0x4202b8,'op':_0x12ba5c,'hierarchyChanges':_0x1a00cf[_0x49d776(0x329)](_0x3b1ab1=>({..._0x3b1ab1,'oldParentRecordId':_0x3b1ab1[_0x49d776(0x561)],'parentRecordId':_0x3b1ab1[_0x49d776(0x182)]})),'source':_0x49d776(0x505)};return _0x4d6a99[_0x49d776(0x56d)](_0x4d02c8['id'],_0x56d31c)?(_0x31650b[_0x49d776(0x2bd)](_0x4202b8),_0x56cfb8['pushUndoRedo']({'unitID':_0x4202b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x1a0667}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x184633}]}),!0x0):!0x1;}},_0x5e6b94={'id':_0x571676(0x3fa),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0xbe6c11,_0x32af90)=>{const _0x1342d1=_0x571676;if(!_0x32af90)return!0x1;let _0x37d9c2=_0xbe6c11['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x574abe,tableId:_0xbbc54c,fieldId:_0x797347,input:_0x47bb0f}=_0x32af90,_0x3ac617=_0x37d9c2[_0x1342d1(0x363)](_0x574abe,_0x13cf76[_0x1342d1(0x331)][_0x1342d1(0x321)]);if(!_0x3ac617||_0x797347===_0x13cf76[_0x1342d1(0x544)]||!_0x2062fb(_0x3ac617,_0xbbc54c,{'fieldIds':[_0x797347]}))return!0x1;let _0x230648=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76[_0x1342d1(0x1d3)]),_0x3ad310=_0xbe6c11[_0x1342d1(0x59c)](_0x13cf76['IUndoRedoService']),_0x23974=_0x3ac617[_0x1342d1(0x463)]();if(!_0x4e03f1(_0x3ac617,_0xbbc54c,{..._0x23974[_0x1342d1(0x291)][_0xbbc54c]['fields'][_0x797347],..._0x47bb0f}))return!0x1;let _0x4eaced=new _0x3db0f3()['changeFieldType'](_0x23974,_0xbbc54c,_0x797347,_0x47bb0f),_0x4c5c79=new _0x1aaf1b()[_0x1342d1(0x4b4)](_0x23974,_0x4eaced),_0x48b749={'unitId':_0x574abe,'op':_0x4eaced},_0x3d28d3={'unitId':_0x574abe,'op':_0x4c5c79};return _0x230648[_0x1342d1(0x56d)](_0x4d02c8['id'],_0x48b749)?(_0x37d9c2[_0x1342d1(0x2bd)](_0x574abe),_0x3ad310['pushUndoRedo']({'unitID':_0x574abe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d28d3}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x48b749}]}),!0x0):!0x1;}},_0x7be1ba={'id':_0x571676(0x30a),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x22b2ae,_0x37afae){const _0x316b94=_0x571676;var _0x550001;if(!_0x37afae)return!0x1;let {unitId:_0x50311c,tableId:_0x10f173,parentRecordId:_0xa11655}=_0x37afae,_0x6ee4da=_0x22b2ae[_0x316b94(0x59c)](_0x13cf76[_0x316b94(0x59e)]),_0x3c662c=_0x6ee4da[_0x316b94(0x363)](_0x50311c,_0x13cf76[_0x316b94(0x331)]['UNIVER_BASE']);if(!_0x3c662c||!_0x2062fb(_0x3c662c,_0x10f173,{'recordIds':[_0xa11655]}))throw new _0x2dec10(_0x316b94(0x2ba));let _0x20a100=_0x3c662c['getSnapshot'](),_0x54e1cf=_0x20a100['tables'][_0x10f173],_0x4421e1=_0x19ec27(_0x54e1cf),_0x39ab00=_0x4421e1??_0x37afae[_0x316b94(0x384)]??_0x2d5926(_0x54e1cf);if(_0x4421e1&&_0x37afae[_0x316b94(0x384)]&&_0x37afae[_0x316b94(0x384)]!==_0x4421e1||_0x54e1cf['fields'][_0x39ab00]&&!_0x53a126(_0x54e1cf,_0x39ab00))throw new _0x2dec10('invalidField');if((_0x4067d3(_0x54e1cf,_0x39ab00)[_0x316b94(0x45b)][_0x316b94(0x59c)](_0xa11655)??0x0)+0x1>=0x5)throw new _0x2dec10('maxDepth');if(!_0x1439a1(_0x3c662c,_0x10f173,_0x37afae[_0x316b94(0x4a9)]))return!0x1;let _0xda97e7=_0x50277a({..._0x37afae['record'],'values':{..._0x37afae[_0x316b94(0x4a9)][_0x316b94(0x334)],[_0x39ab00]:_0xddc2f4([_0xa11655])}}),_0x21e409=_0x22b2ae['get'](_0x5cf6f3),_0x3bf84f=new _0x3db0f3(),_0xe22577=_0x54e1cf[_0x316b94(0x3c2)][_0x39ab00],_0x579a71=_0xe22577?((_0x550001=_0x51db2d(_0xe22577))==null?void 0x0:_0x550001[_0x316b94(0x2fe)])===_0x13cf76['BaseRecordLinkRole']['Parent']?null:_0x3bf84f[_0x316b94(0x241)](_0x20a100,_0x10f173,_0x39ab00,{'config':{..._0xe22577[_0x316b94(0x5b9)],'relationRole':_0x13cf76['BaseRecordLinkRole'][_0x316b94(0x4ce)]}}):_0x21e409[_0x316b94(0x586)](_0x3c662c,_0x10f173,_0xb8ceba(_0x54e1cf,_0x39ab00,_0x37afae[_0x316b94(0x57e)]),_0x54e1cf[_0x316b94(0x582)][_0x316b94(0x4e9)]),_0x412b89=_0x21e409[_0x316b94(0x557)](_0x3c662c,_0x10f173,_0xda97e7),_0x52d337=_0x16f182([..._0x579a71?[_0x579a71]:[],_0x412b89]),_0x3f2f42=new _0x1aaf1b()[_0x316b94(0x4b4)](_0x20a100,_0x52d337),_0x35b930={'tableId':_0x10f173,'fieldId':_0x39ab00,'recordId':_0xda97e7['id'],'oldParentRecordId':null,'parentRecordId':_0xa11655},_0x228446={'unitId':_0x50311c,'op':_0x52d337,'trigger':_0x7be1ba['id'],'hierarchyChanges':[_0x35b930],'source':_0x37afae[_0x316b94(0x47d)]??'ui'},_0x3d526a={..._0x228446,'source':_0x316b94(0x3ee)},_0x260583={'unitId':_0x50311c,'op':_0x3f2f42,'trigger':_0x7be1ba['id'],'hierarchyChanges':[{..._0x35b930,'oldParentRecordId':_0xa11655,'parentRecordId':null}],'source':_0x316b94(0x505)};return _0x22b2ae[_0x316b94(0x59c)](_0x13cf76['ICommandService'])[_0x316b94(0x56d)](_0x4d02c8['id'],_0x228446)?(_0x6ee4da[_0x316b94(0x2bd)](_0x50311c),_0x22b2ae['get'](_0x13cf76[_0x316b94(0x425)])['pushUndoRedo']({'unitID':_0x50311c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x260583}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3d526a}]}),!0x0):!0x1;}},_0x3ae6cb={'id':'base.command.create-base-field','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler'(_0x5f1543,_0x4a916e){const _0x18ec03=_0x571676;if(!_0x4a916e)return!0x1;let _0x286e98=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x2a6df0,tableId:_0xc2a87a,field:_0x2953ab,index:_0x2120e6,viewIndexes:_0x1ecef5}=_0x4a916e,_0x314266=_0x286e98[_0x18ec03(0x363)](_0x2a6df0,_0x13cf76['UniverInstanceType'][_0x18ec03(0x321)]);if(!_0x314266||!_0x2062fb(_0x314266,_0xc2a87a)||_0x314266[_0x18ec03(0x463)]()[_0x18ec03(0x291)][_0xc2a87a][_0x18ec03(0x3c2)][_0x2953ab['id']]||_0x2120e6===0x0||!_0x4e03f1(_0x314266,_0xc2a87a,_0x2953ab))return!0x1;let _0x140a74=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x1d3)]),_0x47b575=_0x5f1543[_0x18ec03(0x59c)](_0x13cf76[_0x18ec03(0x425)]),_0x2c125e=_0x5f1543['get'](_0x5cf6f3)[_0x18ec03(0x586)](_0x314266,_0xc2a87a,_0x2953ab,_0x2120e6,_0x1ecef5),_0x14e248=new _0x1aaf1b()[_0x18ec03(0x4b4)](_0x314266[_0x18ec03(0x463)](),_0x2c125e),_0x1cd947={'unitId':_0x2a6df0,'op':_0x2c125e},_0xc31c66={'unitId':_0x2a6df0,'op':_0x14e248};return _0x140a74['syncExecuteCommand'](_0x4d02c8['id'],_0x1cd947)?(_0x286e98[_0x18ec03(0x2bd)](_0x2a6df0),_0x47b575[_0x18ec03(0x4f2)]({'unitID':_0x2a6df0,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xc31c66}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1cd947}]}),!0x0):!0x1;}},_0x1d23ba={'id':_0x571676(0x3cf),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x146c19,_0x114152){const _0x536a91=_0x571676;if(!_0x114152)return!0x1;let _0x2d3be7=_0x146c19[_0x536a91(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x5d5d10,tableId:_0x2ac5f6,record:_0x39dded}=_0x114152,_0x1667c7=_0x2d3be7[_0x536a91(0x363)](_0x5d5d10,_0x13cf76['UniverInstanceType']['UNIVER_BASE']);if(!_0x1667c7||!_0x2062fb(_0x1667c7,_0x2ac5f6))return!0x1;let _0x311669=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x1d3)]),_0xad1f42=_0x146c19[_0x536a91(0x59c)](_0x13cf76[_0x536a91(0x425)]),_0x216d61=_0x146c19[_0x536a91(0x59c)](_0x5cf6f3),_0x36e0d8=_0x1667c7[_0x536a91(0x463)](),_0x12e286=_0x5a9b17(_0x1667c7,_0x2ac5f6,[_0x39dded]);if(!_0x12e286)return!0x1;let [_0x5f2fbf]=_0x12e286[_0x536a91(0x38f)],{hierarchyChanges:_0xc37558,hierarchyFieldToMaterialize:_0x4fb4f3}=_0x12e286,_0x4ee1c7=_0x4fb4f3?_0x216d61['createCreateFieldOp'](_0x1667c7,_0x2ac5f6,_0x4fb4f3,_0x36e0d8[_0x536a91(0x291)][_0x2ac5f6][_0x536a91(0x582)][_0x536a91(0x4e9)]):null,_0x275ba8=_0x216d61[_0x536a91(0x557)](_0x1667c7,_0x2ac5f6,_0x5f2fbf),_0x4f6a6b=_0x16f182([..._0x4ee1c7?[_0x4ee1c7]:[],_0x275ba8]),_0x42b658=new _0x1aaf1b()[_0x536a91(0x4b4)](_0x36e0d8,_0x4f6a6b),_0x12f21b={'unitId':_0x5d5d10,'op':_0x4f6a6b,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558:void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x114152[_0x536a91(0x47d)]??'ui':void 0x0},_0x87ba98={..._0x12f21b,'source':_0xc37558['length']?_0x536a91(0x3ee):void 0x0},_0x5dab9e={'unitId':_0x5d5d10,'op':_0x42b658,'hierarchyChanges':_0xc37558[_0x536a91(0x4e9)]?_0xc37558['map'](_0x274fef=>({..._0x274fef,'oldParentRecordId':_0x274fef[_0x536a91(0x561)],'parentRecordId':null})):void 0x0,'source':_0xc37558[_0x536a91(0x4e9)]?_0x536a91(0x505):void 0x0};return _0x311669[_0x536a91(0x56d)](_0x4d02c8['id'],_0x12f21b)?(_0x2d3be7[_0x536a91(0x2bd)](_0x5d5d10),_0xad1f42[_0x536a91(0x4f2)]({'unitID':_0x5d5d10,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5dab9e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x87ba98}]}),!0x0):!0x1;}};function _0x475287(_0x4f694c,_0x45848d,_0x4e3102){const _0x45f153=_0x571676;if(!_0x45848d[_0x45f153(0x2cd)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x45f153(0x449)};if(_0x45848d['length']>0x1f)return{'valid':!0x1,'reason':_0x45f153(0x335),'error':_0x45f153(0x1ec)};if(_0x45848d[_0x45f153(0x33b)]('\x27')||_0x45848d[_0x45f153(0x398)]('\x27'))return{'valid':!0x1,'reason':_0x45f153(0x428),'error':_0x45f153(0x52b)};if(/[:\\/?*\[\]]/[_0x45f153(0x50e)](_0x45848d))return{'valid':!0x1,'reason':_0x45f153(0x187),'error':'invalid-characters'};if(!(0x0,_0x13cf76[_0x45f153(0x1ac)])(_0x45848d))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':_0x45f153(0x3a9)};let _0x1faf67=_0x45848d[_0x45f153(0x2b0)]();return Object[_0x45f153(0x334)](_0x4f694c[_0x45f153(0x291)])[_0x45f153(0x1ab)](_0x135305=>_0x135305['id']!==_0x4e3102&&_0x135305[_0x45f153(0x46d)][_0x45f153(0x2b0)]()===_0x1faf67)?{'valid':!0x1,'reason':_0x45f153(0x288),'error':_0x45f153(0x551)}:{'valid':!0x0};}function _0x14d06a(_0x42878d,_0x135ea0){const _0x1081cb=_0x571676;let _0x245033=_0x135ea0[_0x1081cb(0x5ae)](/[:\\/?*\[\]]/g,'\x20')[_0x1081cb(0x5ae)](/^'+|'+$/g,'')[_0x1081cb(0x2cd)]()||_0x1081cb(0x4cc),_0x403f84=0x1;for(;;){let _0xa3021a=_0x403f84===0x1?'':'\x20'+_0x403f84,_0x3c825b=''+_0x245033[_0x1081cb(0x377)](0x0,0x1f-_0xa3021a['length'])+_0xa3021a;if(_0x475287(_0x42878d,_0x3c825b)[_0x1081cb(0x49e)])return _0x3c825b;_0x403f84++;}}let _0x362922={'id':_0x571676(0x46f),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x580ff,_0x5220bd)=>{const _0x1ca766=_0x571676;if(!_0x5220bd)return!0x1;let _0x10e5ce=_0x580ff[_0x1ca766(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x3d13bf,table:_0x28d276,index:_0x4c945a}=_0x5220bd,_0x27d2be=_0x10e5ce['getUnit'](_0x3d13bf,_0x13cf76[_0x1ca766(0x331)][_0x1ca766(0x321)]);if(!_0x27d2be||_0x27d2be[_0x1ca766(0x463)]()[_0x1ca766(0x291)][_0x28d276['id']]||!_0x475287(_0x27d2be[_0x1ca766(0x463)](),_0x28d276[_0x1ca766(0x46d)])[_0x1ca766(0x49e)])return!0x1;try{(0x0,_0x13cf76['assertBaseTableRecordIdentity'])(_0x28d276);}catch{return!0x1;}let _0x325d73=_0x580ff['get'](_0x13cf76[_0x1ca766(0x1d3)]),_0x567162=_0x580ff['get'](_0x13cf76[_0x1ca766(0x425)]),_0x2d9e44=_0x27d2be[_0x1ca766(0x463)](),_0x12b246=new _0x3db0f3()['createTable'](_0x2d9e44,_0x28d276,_0x4c945a),_0x5b7893=new _0x1aaf1b()[_0x1ca766(0x4b4)](_0x2d9e44,_0x12b246),_0x407ddb={'unitId':_0x3d13bf,'op':_0x12b246},_0x186b41={'unitId':_0x3d13bf,'op':_0x5b7893};return _0x325d73['syncExecuteCommand'](_0x4d02c8['id'],_0x407ddb)?(_0x10e5ce[_0x1ca766(0x2bd)](_0x3d13bf),_0x567162[_0x1ca766(0x4f2)]({'unitID':_0x3d13bf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x186b41}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x407ddb}]}),!0x0):!0x1;}};function _0x1df899(_0x2cc31b,_0x2c38a6,_0x15a686=[]){const _0x331e00=_0x571676;let _0x52d8c7=new Set([...Object[_0x331e00(0x334)](_0x2cc31b[_0x331e00(0x3c2)])[_0x331e00(0x3c4)](_0xb55ec0=>_0xb55ec0)[_0x331e00(0x329)](_0x32d26e=>_0x32d26e[_0x331e00(0x46d)]),..._0x15a686[_0x331e00(0x329)](_0x2dff9f=>_0x2dff9f[_0x331e00(0x46d)])]);if(!_0x52d8c7[_0x331e00(0x370)](_0x2c38a6))return _0x2c38a6;let _0x15c59f=0x2;for(;_0x52d8c7['has'](_0x2c38a6+'\x20'+_0x15c59f);)_0x15c59f++;return _0x2c38a6+'\x20'+_0x15c59f;}function _0x4091af(_0x16f0b0,_0x49254e){if(!_0x16f0b0||!_0x49254e['length'])return;let _0x597fa0=[..._0x16f0b0];return _0x49254e['forEach'](_0x445742=>{const _0x24e08b=_0x4fc5;_0x597fa0[_0x24e08b(0x358)](_0x445742)||_0x597fa0[_0x24e08b(0x401)](_0x445742);}),_0x597fa0;}let _0x540277={'options':[{'id':'todo','name':'Todo','color':_0x571676(0x4ca)},{'id':_0x571676(0x200),'name':_0x571676(0x302),'color':_0x571676(0x28c)},{'id':_0x571676(0x4c6),'name':_0x571676(0x3ab),'color':_0x571676(0x5a4)}]},_0x289764={'locale':'en-US','pattern':_0x571676(0x3ad),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x571676(0x2a6)};function _0x56c161(_0x1d5d36,_0x34e0cb,_0x2ce0dd,_0x4d077c){const _0x549f89=_0x571676;var _0x5c2735;let _0x393e0c=new _0x3db0f3(),_0x15c8bc=_0x1d5d36['tables'][_0x34e0cb],_0x5c36c8=_0x15c8bc?{..._0x2ce0dd,'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],...(_0x2ce0dd['fieldOrder']??_0x15c8bc['fieldOrder'])[_0x549f89(0x3c4)](_0x3b27ab=>_0x3b27ab!==_0x13cf76['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x2ce0dd['fieldSettings'],[_0x13cf76[_0x549f89(0x544)]]:{...(_0x5c2735=_0x2ce0dd['fieldSettings'])==null?void 0x0:_0x5c2735[_0x13cf76['BASE_RECORD_ID_FIELD_ID']],'hidden':!0x0}}}:_0x2ce0dd;if(_0x15c8bc&&_0x5c36c8[_0x549f89(0x292)]==='kanban'){let _0x132007=_0x34ead4(_0x15c8bc,_0x5c36c8),_0x4f84c8=_0x132007[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x132007[_0x549f89(0x5b9)],'fieldOrder':_0x132007['fieldOrder']??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x16f182([..._0x132007[_0x549f89(0x3c2)]['map'](_0x5d6c26=>_0x393e0c['createField'](_0x1d5d36,_0x34e0cb,{'field':_0x5d6c26})),_0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x4f84c8,_0x4d077c)]);}if(!_0x15c8bc||_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x2ca)&&_0x5c36c8[_0x549f89(0x292)]!==_0x549f89(0x23d))return _0x393e0c[_0x549f89(0x18a)](_0x1d5d36,_0x34e0cb,_0x5c36c8,_0x4d077c);let _0x2d6100=_0x2abe27(_0x15c8bc,_0x5c36c8),_0x45890f=_0x2d6100[_0x549f89(0x411)]?{..._0x5c36c8,'config':_0x2d6100['config'],'fieldOrder':_0x2d6100[_0x549f89(0x582)]??_0x5c36c8['fieldOrder']}:_0x5c36c8;return _0x5c36c8['type']===_0x549f89(0x23d)&&_0x15c391(_0x5c36c8)&&(_0x45890f=_0x5a1454(_0x15c8bc,_0x45890f,_0x2d6100['fields'])),_0x16f182([..._0x2d6100[_0x549f89(0x3c2)][_0x549f89(0x329)](_0x255bce=>_0x393e0c[_0x549f89(0x444)](_0x1d5d36,_0x34e0cb,{'field':_0x255bce})),_0x393e0c['createView'](_0x1d5d36,_0x34e0cb,_0x45890f,_0x4d077c)]);}function _0x2abe27(_0x34e714,_0x1fc90f,_0x301311=!0x1){const _0x4a19f2=_0x571676;var _0x42c754,_0x2380d0;let _0x43f190=_0x34e714[_0x4a19f2(0x582)][_0x4a19f2(0x3c4)](_0x2076d1=>_0x72af33(_0x34e714,_0x2076d1)),_0x2e34e9=[],_0x3749c1={..._0x1fc90f[_0x4a19f2(0x5b9)]??{}},_0x209e9f=typeof _0x3749c1[_0x4a19f2(0x348)]==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['startDateFieldId'])?_0x3749c1[_0x4a19f2(0x348)]:_0x43f190[0x0],_0x49bb6e=typeof _0x3749c1['endDateFieldId']==_0x4a19f2(0x2b6)&&_0x72af33(_0x34e714,_0x3749c1['endDateFieldId'])&&_0x3749c1['endDateFieldId']!==_0x209e9f?_0x3749c1[_0x4a19f2(0x282)]:_0x43f190['find'](_0x53825c=>_0x53825c!==_0x209e9f);if(!_0x209e9f){let _0x186c55=_0x29e925(_0x34e714,_0x2e34e9,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)?_0x4a19f2(0x469):_0x4a19f2(0x494));_0x2e34e9[_0x4a19f2(0x401)](_0x186c55),_0x209e9f=_0x186c55['id'];}if((_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x23d)||_0x301311)&&!_0x49bb6e){let _0x483f51=_0x29e925(_0x34e714,_0x2e34e9,'End\x20date');_0x2e34e9[_0x4a19f2(0x401)](_0x483f51),_0x49bb6e=_0x483f51['id'];}_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&!_0x49bb6e&&delete _0x3749c1['endDateFieldId'],_0x3749c1[_0x4a19f2(0x348)]=_0x209e9f,_0x1fc90f[_0x4a19f2(0x292)]===_0x4a19f2(0x2ca)&&_0x49bb6e&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e),_0x1fc90f['type']==='gantt'&&(_0x3749c1[_0x4a19f2(0x282)]=_0x49bb6e??_0x209e9f);let _0x19a958=_0x4091af(_0x1fc90f['fieldOrder'],_0x2e34e9[_0x4a19f2(0x329)](_0x108a8d=>_0x108a8d['id']));return{'changed':_0x2e34e9[_0x4a19f2(0x4e9)]>0x0||_0x3749c1[_0x4a19f2(0x348)]!==((_0x42c754=_0x1fc90f['config'])==null?void 0x0:_0x42c754[_0x4a19f2(0x348)])||_0x3749c1['endDateFieldId']!==((_0x2380d0=_0x1fc90f[_0x4a19f2(0x5b9)])==null?void 0x0:_0x2380d0[_0x4a19f2(0x282)])||!(!_0x19a958||_0x13cf76[_0x4a19f2(0x39a)]['diffValue'](_0x19a958,_0x1fc90f[_0x4a19f2(0x582)]??[])),'fields':_0x2e34e9,'config':_0x3749c1,'fieldOrder':_0x19a958};}function _0x34ead4(_0x96f838,_0x354486){const _0x4aaaca=_0x571676;var _0x3ea425;let _0x44e6e3=[],_0x365a58={..._0x354486[_0x4aaaca(0x5b9)]??{}},_0x12fe2a=typeof _0x365a58[_0x4aaaca(0x34f)]==_0x4aaaca(0x2b6)&&_0x4ef538(_0x96f838,_0x365a58['groupFieldId'])?_0x365a58['groupFieldId']:_0x96f838[_0x4aaaca(0x582)]['find'](_0x26a191=>_0x4ef538(_0x96f838,_0x26a191));if(!_0x12fe2a){let _0xb92dff=_0x2097c5(_0x96f838,_0x44e6e3);_0x44e6e3['push'](_0xb92dff),_0x12fe2a=_0xb92dff['id'];}_0x365a58[_0x4aaaca(0x34f)]=_0x12fe2a;let _0x304f7e=_0x4091af(_0x354486['fieldOrder'],_0x44e6e3[_0x4aaaca(0x329)](_0x4a0238=>_0x4a0238['id']));return{'changed':_0x44e6e3[_0x4aaaca(0x4e9)]>0x0||_0x365a58[_0x4aaaca(0x34f)]!==((_0x3ea425=_0x354486['config'])==null?void 0x0:_0x3ea425[_0x4aaaca(0x34f)])||!(!_0x304f7e||_0x13cf76[_0x4aaaca(0x39a)]['diffValue'](_0x304f7e,_0x354486[_0x4aaaca(0x582)]??[])),'fields':_0x44e6e3,'config':_0x365a58,'fieldOrder':_0x304f7e};}function _0x4ef538(_0x326344,_0x56ecf0){const _0x38a898=_0x571676;let _0x2b16db=_0x56ecf0?_0x326344['fields'][_0x56ecf0]:null;return _0x2b16db?[_0x13cf76[_0x38a898(0x517)][_0x38a898(0x221)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x247)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x238)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x43f)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x53b)],_0x13cf76[_0x38a898(0x517)][_0x38a898(0x55f)]][_0x38a898(0x358)](_0x2b16db['type']):!0x1;}function _0x2097c5(_0x2e842d,_0x2d8818){const _0x2453b4=_0x571676;return{'id':_0x2453b4(0x344)+(0x0,_0x13cf76['generateRandomId'])(0x8),'name':_0x1df899(_0x2e842d,_0x2453b4(0x47e),_0x2d8818),'type':_0x13cf76['BaseFieldType'][_0x2453b4(0x221)],'config':_0x13cf76[_0x2453b4(0x39a)][_0x2453b4(0x495)](_0x540277)};}function _0x15c391(_0x3e9f9b){const _0x541ae9=_0x571676;return Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x5b9)]??{})[_0x541ae9(0x4e9)]===0x0&&Object[_0x541ae9(0x2db)](_0x3e9f9b[_0x541ae9(0x3ea)]??{})['length']===0x0;}function _0x5a1454(_0x630b90,_0x576053,_0x225531){const _0x119712=_0x571676;let _0x1b5058={..._0x576053[_0x119712(0x5b9)]??{}},_0x4b18aa=_0x225531['map'](_0x51589d=>_0x51589d['id']),_0x57fa3f=[..._0x630b90['fieldOrder'],..._0x4b18aa],_0x942ebb=typeof _0x1b5058[_0x119712(0x41d)]=='string'&&_0x15b9c6(_0x630b90,_0x225531,_0x1b5058[_0x119712(0x41d)])?_0x1b5058[_0x119712(0x41d)]:_0x630b90[_0x119712(0x422)],_0x50790f=typeof _0x1b5058[_0x119712(0x348)]==_0x119712(0x2b6)?_0x1b5058[_0x119712(0x348)]:'',_0x4c0ff2=typeof _0x1b5058['endDateFieldId']==_0x119712(0x2b6)?_0x1b5058['endDateFieldId']:_0x50790f,_0x112141=new Set([_0x942ebb,_0x50790f,_0x4c0ff2]['filter'](_0x1ad5d3=>_0x1ad5d3&&_0x15b9c6(_0x630b90,_0x225531,_0x1ad5d3))),_0x646159=Object[_0x119712(0x1fc)](_0x57fa3f[_0x119712(0x387)](_0x98db5e=>_0x112141[_0x119712(0x370)](_0x98db5e)||!_0x15b9c6(_0x630b90,_0x225531,_0x98db5e)?[]:[[_0x98db5e,{'hidden':!0x0}]]));return{..._0x576053,'config':{..._0x1b5058,'titleFieldId':_0x942ebb},'fieldSettings':_0x646159};}function _0x15b9c6(_0x539143,_0x59f9a8,_0x9a0925){const _0x320ff7=_0x571676;return!!(_0x539143[_0x320ff7(0x3c2)][_0x9a0925]??_0x59f9a8[_0x320ff7(0x56a)](_0x44e3c5=>_0x44e3c5['id']===_0x9a0925))&&!0x0;}function _0x72af33(_0x546f0a,_0x352f65){const _0x524aff=_0x571676;let _0x8aa691=_0x352f65?_0x546f0a[_0x524aff(0x3c2)][_0x352f65]:null;return!!_0x8aa691&&_0x8aa691[_0x524aff(0x292)]===_0x13cf76['BaseFieldType']['Date']&&_0x8aa691[_0x524aff(0x59b)]!==!0x0&&_0x8aa691[_0x524aff(0x4f8)]!==!0x0;}function _0x29e925(_0x2c5ae8,_0x3936a4,_0x111a04){const _0x4fff88=_0x571676;let _0x12fe71=new Set([...Object[_0x4fff88(0x2db)](_0x2c5ae8[_0x4fff88(0x3c2)]),..._0x3936a4[_0x4fff88(0x329)](_0x2339ca=>_0x2339ca['id'])]),_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);for(;_0x12fe71[_0x4fff88(0x370)](_0x142fdd);)_0x142fdd=_0x4fff88(0x344)+(0x0,_0x13cf76[_0x4fff88(0x3c0)])(0x8);return{'id':_0x142fdd,'name':_0x1df899(_0x2c5ae8,_0x111a04,_0x3936a4),'type':_0x13cf76[_0x4fff88(0x517)]['Date'],'config':{..._0x289764}};}let _0x497b38={'id':_0x571676(0x498),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x4d9a3e,_0x49400f)=>{const _0x321ff5=_0x571676;if(!_0x49400f)return!0x1;let _0x2de39b=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x59e)]),{unitId:_0x59890c,tableId:_0x464d92,view:_0x6e5112,index:_0x344d5d}=_0x49400f,_0x156d07=_0x2de39b[_0x321ff5(0x363)](_0x59890c,_0x13cf76[_0x321ff5(0x331)]['UNIVER_BASE']);if(!_0x156d07||!_0x2062fb(_0x156d07,_0x464d92)||_0x156d07[_0x321ff5(0x463)]()[_0x321ff5(0x291)][_0x464d92][_0x321ff5(0x18d)][_0x6e5112['id']])return!0x1;let _0x56e4ca=_0x4d9a3e[_0x321ff5(0x59c)](_0x13cf76[_0x321ff5(0x1d3)]),_0x41ee06=_0x4d9a3e['get'](_0x13cf76[_0x321ff5(0x425)]),_0x2b7f9b=_0x156d07[_0x321ff5(0x463)](),_0x5ce8f5=_0x56c161(_0x2b7f9b,_0x464d92,_0x6e5112,_0x344d5d),_0x5b67dc=new _0x1aaf1b()['invertOp'](_0x2b7f9b,_0x5ce8f5),_0x4de8f4={'historyAction':_0x321ff5(0x424),'unitId':_0x59890c,'op':_0x5ce8f5,'viewType':_0x6e5112[_0x321ff5(0x292)]},_0x3827db={'historyAction':_0x321ff5(0x3c3),'unitId':_0x59890c,'op':_0x5b67dc,'viewType':_0x6e5112[_0x321ff5(0x292)]};return _0x56e4ca[_0x321ff5(0x56d)](_0x4d02c8['id'],_0x4de8f4)?(_0x2de39b[_0x321ff5(0x2bd)](_0x59890c),_0x41ee06[_0x321ff5(0x4f2)]({'unitID':_0x59890c,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3827db}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4de8f4}]}),!0x0):!0x1;}},_0x1637ea={'id':_0x571676(0x599),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x301f31,_0x16a949){const _0xee02ee=_0x571676;if(!_0x16a949)return!0x1;let _0x235f16=_0x301f31[_0xee02ee(0x59c)](_0x13cf76[_0xee02ee(0x59e)]),{unitId:_0x350a38,tableId:_0x5e1c39,fieldId:_0x1dba58}=_0x16a949,_0x1cf310=_0x235f16[_0xee02ee(0x363)](_0x350a38,_0x13cf76[_0xee02ee(0x331)]['UNIVER_BASE']);if(!_0x1cf310)return!0x1;let _0x1531ee=_0x1cf310[_0xee02ee(0x463)](),_0x136573=_0x1531ee[_0xee02ee(0x291)][_0x5e1c39];if(!_0x2062fb(_0x1cf310,_0x5e1c39,{'fieldIds':[_0x1dba58]})||_0x136573['primaryFieldId']===_0x1dba58||_0x1dba58===_0x13cf76['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x2dc6e3=_0x301f31[_0xee02ee(0x59c)](_0x13cf76['ICommandService']),_0x5dfb75=_0x301f31['get'](_0x13cf76['IUndoRedoService']),_0x24e2eb=new _0x3db0f3()[_0xee02ee(0x36a)](_0x1531ee,_0x5e1c39,_0x1dba58),_0x21b6e8=new _0x1aaf1b()[_0xee02ee(0x4b4)](_0x1531ee,_0x24e2eb),_0x18c0fe={'unitId':_0x350a38,'op':_0x24e2eb},_0x3e3d77={'unitId':_0x350a38,'op':_0x21b6e8};return _0x2dc6e3[_0xee02ee(0x56d)](_0x4d02c8['id'],_0x18c0fe)?(_0x235f16['focusUnit'](_0x350a38),_0x5dfb75['pushUndoRedo']({'unitID':_0x350a38,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e3d77}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c0fe}]}),!0x0):!0x1;}},_0x1c859a={'id':_0x571676(0x438),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4ef41f,_0x183a4d)=>{const _0xb1f013=_0x571676;if(!_0x183a4d)return!0x1;let _0x409128=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x59e)]),{unitId:_0x9ae2f8,tableId:_0x530f30,recordId:_0x104ab5}=_0x183a4d,_0x240edd=_0x409128[_0xb1f013(0x363)](_0x9ae2f8,_0x13cf76[_0xb1f013(0x331)][_0xb1f013(0x321)]);if(!_0x240edd||!_0x2062fb(_0x240edd,_0x530f30,{'recordIds':[_0x104ab5]}))return!0x1;let _0x5c1196=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x1d3)]),_0x330634=_0x4ef41f[_0xb1f013(0x59c)](_0x13cf76[_0xb1f013(0x425)]),_0x324522=_0x240edd[_0xb1f013(0x463)](),_0x3bb4f5=_0xaf3938(_0x324522['tables'][_0x530f30],[_0x104ab5]),_0x2d8339=new _0x3db0f3(),_0x12d190=new _0x1aaf1b(),_0x1b1173=_0x2d8339[_0xb1f013(0x5dc)](_0x324522,_0x530f30,_0x104ab5),_0x25f37a=_0x12d190[_0xb1f013(0x4d8)](_0x324522,_0x1b1173),_0x2cb1dd=_0x2d8339[_0xb1f013(0x41b)](_0x324522,_0x25f37a,_0x530f30,[_0x104ab5]),_0x4cef5a={'unitId':_0x9ae2f8,'op':_0x1b1173,'hierarchyChanges':_0x3bb4f5,'source':_0x183a4d[_0xb1f013(0x47d)]??'ui'},_0x1501cc={..._0x4cef5a,'source':'redo'},_0x3085f9={'unitId':_0x9ae2f8,'op':_0x2cb1dd,'hierarchyChanges':_0x3bb4f5['map'](_0x224fc0=>({..._0x224fc0,'oldParentRecordId':_0x224fc0['parentRecordId'],'parentRecordId':_0x224fc0['oldParentRecordId']})),'source':_0xb1f013(0x505)};return _0x5c1196[_0xb1f013(0x56d)](_0x4d02c8['id'],_0x4cef5a)?(_0x409128['focusUnit'](_0x9ae2f8),_0x330634[_0xb1f013(0x4f2)]({'unitID':_0x9ae2f8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x3085f9}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1501cc}]}),!0x0):!0x1;}},_0x1608ef={'id':'base.command.delete-base-table','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3725df,_0x31653d)=>{const _0x45a322=_0x571676;if(!_0x31653d)return!0x1;let _0x25230f=_0x3725df['get'](_0x13cf76[_0x45a322(0x59e)]),{unitId:_0x4bb610,tableId:_0x2e966d}=_0x31653d,_0x4ebf52=_0x25230f[_0x45a322(0x363)](_0x4bb610,_0x13cf76['UniverInstanceType'][_0x45a322(0x321)]);if(!_0x4ebf52||!_0x2062fb(_0x4ebf52,_0x2e966d))return!0x1;let _0x48ca02=_0x3725df[_0x45a322(0x59c)](_0x13cf76[_0x45a322(0x1d3)]),_0xac9239=_0x3725df['get'](_0x13cf76[_0x45a322(0x425)]),_0x2e16e1=_0x4ebf52[_0x45a322(0x463)](),_0x479459=_0x520eb7(_0x2e16e1,_0x2e966d);if(_0x479459[_0x45a322(0x4e9)]>0x0)return console['error']('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x2e966d+'\x22\x20is\x20referenced\x20by\x20'+_0x479459['map'](_0x45dca5=>_0x45dca5['tableId']+'.'+_0x45dca5['fieldId'])[_0x45a322(0x4b9)](',\x20')+'.'),!0x1;let _0x4bef6c=new _0x3db0f3()[_0x45a322(0x214)](_0x2e16e1,_0x2e966d),_0xcb9c8d=new _0x1aaf1b()[_0x45a322(0x4b4)](_0x2e16e1,_0x4bef6c),_0x429fff={'unitId':_0x4bb610,'op':_0x4bef6c},_0xbd5d4d={'unitId':_0x4bb610,'op':_0xcb9c8d};return _0x48ca02[_0x45a322(0x56d)](_0x4d02c8['id'],_0x429fff)?(_0x25230f[_0x45a322(0x2bd)](_0x4bb610),_0xac9239[_0x45a322(0x4f2)]({'unitID':_0x4bb610,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xbd5d4d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x429fff}]}),!0x0):!0x1;}},_0x3cccd9={'id':_0x571676(0x237),'type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x50cb0f,_0x25a7e4)=>{const _0x22e93a=_0x571676;if(!_0x25a7e4)return!0x1;let _0x48a266=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76[_0x22e93a(0x59e)]),{unitId:_0x3848c9,tableId:_0x277ea6,viewId:_0x3d3674}=_0x25a7e4,_0x77d288=_0x48a266[_0x22e93a(0x363)](_0x3848c9,_0x13cf76[_0x22e93a(0x331)][_0x22e93a(0x321)]);if(!_0x77d288||!_0x2062fb(_0x77d288,_0x277ea6,{'viewIds':[_0x3d3674]}))return!0x1;let _0x100616=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['ICommandService']),_0x2c0501=_0x50cb0f[_0x22e93a(0x59c)](_0x13cf76['IUndoRedoService']),_0xc75cc3=_0x77d288['getSnapshot'](),_0x5c9028=_0xc75cc3[_0x22e93a(0x291)][_0x277ea6][_0x22e93a(0x18d)][_0x3d3674][_0x22e93a(0x292)],_0x10fca6=new _0x3db0f3()[_0x22e93a(0x458)](_0xc75cc3,_0x277ea6,_0x3d3674),_0x503f3d=new _0x1aaf1b()[_0x22e93a(0x4b4)](_0xc75cc3,_0x10fca6),_0x5aef7a={'historyAction':_0x22e93a(0x3c3),'unitId':_0x3848c9,'op':_0x10fca6,'viewType':_0x5c9028},_0x47e682={'historyAction':_0x22e93a(0x424),'unitId':_0x3848c9,'op':_0x503f3d,'viewType':_0x5c9028};return _0x100616['syncExecuteCommand'](_0x4d02c8['id'],_0x5aef7a)?(_0x48a266[_0x22e93a(0x2bd)](_0x3848c9),_0x2c0501['pushUndoRedo']({'unitID':_0x3848c9,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x47e682}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5aef7a}]}),!0x0):!0x1;}},_0xa04f45={'id':_0x571676(0x30b),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x3206ff,_0x1177b5)=>{const _0x5021f0=_0x571676;if(!_0x1177b5)return!0x1;let _0x542ed2=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x59e)]),{unitId:_0x3bb1fd,tableId:_0x410c18,sourceFieldId:_0x57268f,field:_0x55c3bd,index:_0x19e28f,viewIndexes:_0x1ec45c}=_0x1177b5,_0x19736d=_0x542ed2['getUnit'](_0x3bb1fd,_0x13cf76[_0x5021f0(0x331)][_0x5021f0(0x321)]);if(!_0x19736d||!_0x2062fb(_0x19736d,_0x410c18,{'fieldIds':[_0x57268f]})||_0x57268f===_0x13cf76[_0x5021f0(0x544)]||_0x19736d[_0x5021f0(0x463)]()['tables'][_0x410c18]['fields'][_0x55c3bd['id']]||_0x19e28f===0x0||!_0x4e03f1(_0x19736d,_0x410c18,_0x55c3bd))return!0x1;let _0x5cc3da=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76[_0x5021f0(0x1d3)]),_0x8355bd=_0x3206ff[_0x5021f0(0x59c)](_0x13cf76['IUndoRedoService']),_0x1b3f33=_0x19736d[_0x5021f0(0x463)](),_0x16a8f7=new _0x3db0f3()[_0x5021f0(0x2cc)](_0x1b3f33,_0x410c18,_0x57268f,{'field':_0x55c3bd,'index':_0x19e28f,'viewIndexes':_0x1ec45c}),_0x1459e7=new _0x1aaf1b()['invertOp'](_0x1b3f33,_0x16a8f7),_0x106361={'unitId':_0x3bb1fd,'op':_0x16a8f7},_0x4bd98f={'unitId':_0x3bb1fd,'op':_0x1459e7};return _0x5cc3da[_0x5021f0(0x56d)](_0x4d02c8['id'],_0x106361)?(_0x542ed2[_0x5021f0(0x2bd)](_0x3bb1fd),_0x8355bd[_0x5021f0(0x4f2)]({'unitID':_0x3bb1fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd98f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x106361}]}),!0x0):!0x1;}},_0x5a49a5={'id':'base.command.duplicate-base-record','type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x423b73,_0x598ffc)=>{const _0x22a57e=_0x571676;if(!_0x598ffc)return!0x1;let _0x264ebb=_0x423b73[_0x22a57e(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x403dfe,tableId:_0x70466,sourceRecordId:_0x134ef8,record:_0x18c4c2}=_0x598ffc,_0x54b961=_0x264ebb[_0x22a57e(0x363)](_0x403dfe,_0x13cf76[_0x22a57e(0x331)]['UNIVER_BASE']);if(!_0x54b961||!_0x2062fb(_0x54b961,_0x70466,{'recordIds':[_0x134ef8]})||!_0x1439a1(_0x54b961,_0x70466,_0x18c4c2))return!0x1;let _0x5e03de=_0x423b73[_0x22a57e(0x59c)](_0x13cf76[_0x22a57e(0x1d3)]),_0x325ded=_0x423b73['get'](_0x13cf76[_0x22a57e(0x425)]),_0xf1a81c=_0x54b961[_0x22a57e(0x463)](),_0xbe851b=_0x50277a(_0x18c4c2),_0x391d0f=_0x16b24a(_0xf1a81c[_0x22a57e(0x291)][_0x70466],[_0xbe851b]),_0x5d8c8a=new _0x3db0f3()['duplicateRecord'](_0xf1a81c,_0x70466,_0x134ef8,_0xbe851b),_0x4341c0=new _0x1aaf1b()[_0x22a57e(0x4b4)](_0xf1a81c,_0x5d8c8a),_0x561deb={'unitId':_0x403dfe,'op':_0x5d8c8a,'hierarchyChanges':_0x391d0f[_0x22a57e(0x4e9)]?_0x391d0f:void 0x0,'source':_0x391d0f[_0x22a57e(0x4e9)]?_0x598ffc[_0x22a57e(0x47d)]??'ui':void 0x0},_0x18d1bc={..._0x561deb,'source':_0x391d0f['length']?'redo':void 0x0},_0x478730={'unitId':_0x403dfe,'op':_0x4341c0,'hierarchyChanges':_0x391d0f['length']?_0x391d0f[_0x22a57e(0x329)](_0x2de863=>({..._0x2de863,'oldParentRecordId':_0x2de863['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x391d0f['length']?_0x22a57e(0x505):void 0x0};return _0x5e03de[_0x22a57e(0x56d)](_0x4d02c8['id'],_0x561deb)?(_0x264ebb[_0x22a57e(0x2bd)](_0x403dfe),_0x325ded[_0x22a57e(0x4f2)]({'unitID':_0x403dfe,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x478730}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x18d1bc}]}),!0x0):!0x1;}},_0x26e35d={'id':_0x571676(0x3a0),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x4d9f59,_0x47db22){const _0x58de18=_0x571676;if(!_0x47db22)return!0x1;let _0x2f18ba=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x59e)]),{unitId:_0x45747d,tableId:_0x253d55,viewId:_0x4bf3ce,ensureEndDateField:_0x51d736}=_0x47db22,_0x390e73=_0x2f18ba[_0x58de18(0x363)](_0x45747d,_0x13cf76[_0x58de18(0x331)][_0x58de18(0x321)]);if(!_0x390e73||!_0x2062fb(_0x390e73,_0x253d55,{'viewIds':[_0x4bf3ce]}))return!0x1;let _0x5c849d=_0x390e73[_0x58de18(0x463)](),_0x50f95a=_0x5c849d['tables'][_0x253d55],_0x535537=_0x50f95a==null?void 0x0:_0x50f95a['views'][_0x4bf3ce];if(!_0x50f95a||!_0x535537||_0x535537[_0x58de18(0x292)]!==_0x58de18(0x2ca)&&_0x535537[_0x58de18(0x292)]!==_0x58de18(0x23d))return!0x1;let _0x1608a9=_0x2abe27(_0x50f95a,_0x535537,_0x51d736===!0x0);if(!_0x1608a9[_0x58de18(0x411)])return!0x1;let _0x85f458=_0x4d9f59['get'](_0x13cf76[_0x58de18(0x1d3)]),_0x37f2b7=_0x4d9f59[_0x58de18(0x59c)](_0x13cf76[_0x58de18(0x425)]),_0x10e1bb=new _0x3db0f3(),_0x2e6e87=[..._0x1608a9[_0x58de18(0x3c2)]['map'](_0x1e91b5=>_0x10e1bb[_0x58de18(0x444)](_0x5c849d,_0x47db22[_0x58de18(0x33f)],{'field':_0x1e91b5})),_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22[_0x58de18(0x1ca)]),'config'],_0x535537['config'],_0x1608a9[_0x58de18(0x5b9)])];_0x1608a9[_0x58de18(0x582)]&&_0x2e6e87['push'](_0x96e035([..._0x46ef2c(_0x47db22[_0x58de18(0x33f)],_0x47db22['viewId']),_0x58de18(0x582)],_0x535537[_0x58de18(0x582)],_0x1608a9[_0x58de18(0x582)]));let _0xd66981=_0x16f182(_0x2e6e87),_0x5e3eaf=new _0x1aaf1b()[_0x58de18(0x4b4)](_0x5c849d,_0xd66981),_0x2c5895={'unitId':_0x45747d,'op':_0xd66981},_0x583baa={'unitId':_0x45747d,'op':_0x5e3eaf};return _0x85f458[_0x58de18(0x56d)](_0x4d02c8['id'],_0x2c5895)?(_0x2f18ba[_0x58de18(0x2bd)](_0x45747d),_0x37f2b7[_0x58de18(0x4f2)]({'unitID':_0x45747d,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x583baa}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2c5895}]}),!0x0):!0x1;}};function _0x96e035(_0x4b62b3,_0x242076,_0x3acf43){const _0x313f71=_0x571676;return _0x242076===void 0x0?_0x13cf76[_0x313f71(0x575)][_0x313f71(0x48c)](_0x4b62b3,_0x3acf43):_0x13cf76[_0x313f71(0x575)][_0x313f71(0x1b4)](_0x4b62b3,_0x242076,_0x3acf43);}function _0x46ef2c(_0x4c8819,_0x54ac75){const _0x1fbc41=_0x571676;return[_0x1fbc41(0x291),_0x4c8819,_0x1fbc41(0x18d),_0x54ac75];}let _0x6cfbf6={'id':'base.command.move-base-field','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x1f157a,_0x4a95bc)=>{const _0x551bcf=_0x571676;if(!_0x4a95bc)return!0x1;let _0xca3776=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x59e)]),{unitId:_0x41b5c5,tableId:_0x36baee,fieldId:_0x5518be,target:_0x180025}=_0x4a95bc,_0x55fc82=_0xca3776[_0x551bcf(0x363)](_0x41b5c5,_0x13cf76[_0x551bcf(0x331)][_0x551bcf(0x321)]),_0x58fcfa=_0x180025[_0x551bcf(0x2a9)]??_0x180025[_0x551bcf(0x319)];if(!_0x55fc82||!!_0x180025[_0x551bcf(0x2a9)]==!!_0x180025[_0x551bcf(0x319)]||!_0x58fcfa||_0x58fcfa===_0x5518be||_0x5518be===_0x13cf76[_0x551bcf(0x544)]||_0x180025['beforeFieldId']===_0x13cf76[_0x551bcf(0x544)]||!_0x2062fb(_0x55fc82,_0x36baee,{'fieldIds':[_0x5518be,_0x58fcfa]}))return!0x1;let _0x2898c6=_0x1f157a['get'](_0x13cf76[_0x551bcf(0x1d3)]),_0x342ebd=_0x1f157a[_0x551bcf(0x59c)](_0x13cf76[_0x551bcf(0x425)]),_0x237ab1=_0x55fc82[_0x551bcf(0x463)](),_0x39aea2=new _0x3db0f3()[_0x551bcf(0x1c4)](_0x237ab1,_0x36baee,_0x5518be,_0x180025),_0x2e4d78=new _0x1aaf1b()[_0x551bcf(0x4b4)](_0x237ab1,_0x39aea2),_0x29159d={'unitId':_0x41b5c5,'op':_0x39aea2},_0x24aa09={'unitId':_0x41b5c5,'op':_0x2e4d78};return _0x2898c6[_0x551bcf(0x56d)](_0x4d02c8['id'],_0x29159d)?(_0xca3776[_0x551bcf(0x2bd)](_0x41b5c5),_0x342ebd['pushUndoRedo']({'unitID':_0x41b5c5,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x24aa09}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x29159d}]}),!0x0):!0x1;}},_0x222f05={'id':_0x571676(0x533),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2a90d1,_0x4a4a49)=>{const _0x29391e=_0x571676;var _0x2cb3ef;if(!_0x4a4a49)return!0x1;let {unitId:_0x2246fd,tableId:_0x2c6f71,recordId:_0xf91305,parentRecordId:_0x5c6e13,orderKey:_0x57c945}=_0x4a4a49,_0xbc82d7=_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x59e)]),_0x1d36f9=_0xbc82d7[_0x29391e(0x363)](_0x2246fd,_0x13cf76[_0x29391e(0x331)][_0x29391e(0x321)]);if(!_0x1d36f9||!_0x2062fb(_0x1d36f9,_0x2c6f71,{'recordIds':[_0xf91305,..._0x5c6e13?[_0x5c6e13]:[]]}))throw new _0x2dec10(_0x29391e(0x2ba));let _0x176625=_0x1d36f9[_0x29391e(0x463)](),_0x403022=_0x176625[_0x29391e(0x291)][_0x2c6f71],_0x48be04=_0x19ec27(_0x403022),_0x2b3f1c=_0x48be04??_0x4a4a49[_0x29391e(0x384)]??_0x2d5926(_0x403022);if(_0x48be04&&_0x4a4a49['fieldId']&&_0x4a4a49[_0x29391e(0x384)]!==_0x48be04||_0x403022['fields'][_0x2b3f1c]&&!_0x53a126(_0x403022,_0x2b3f1c))throw new _0x2dec10('invalidField');let _0x324116=_0x4067d3(_0x403022,_0x2b3f1c),_0x417ef3=_0x158fff(_0x324116,_0xf91305,_0x5c6e13);if(!_0x417ef3[_0x29391e(0x49e)])throw new _0x2dec10(_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x2d4)]?_0x29391e(0x41c):_0x417ef3['reason']===_0x13cf76[_0x29391e(0x462)][_0x29391e(0x375)]?_0x29391e(0x3f4):_0x29391e(0x2ab));let _0x22bd43=_0x324116['parentByRecordId']['get'](_0xf91305)??null,_0x3c6882=_0x403022[_0x29391e(0x38f)][_0xf91305]['orderKey'];if(_0x22bd43===_0x5c6e13&&(_0x57c945===void 0x0||_0x57c945===_0x3c6882))return!0x0;let _0x1ee63b=_0x22bd43!==_0x5c6e13,_0x460b03=_0x57c945!==void 0x0&&_0x57c945!==_0x3c6882,_0x29c492=new _0x3db0f3(),_0x5555d1=[],_0x1ab553=_0x403022[_0x29391e(0x3c2)][_0x2b3f1c],_0x5d301f=_0x1ee63b&&(!_0x1ab553||((_0x2cb3ef=_0x51db2d(_0x1ab553))==null?void 0x0:_0x2cb3ef['relationRole'])!==_0x13cf76['BaseRecordLinkRole'][_0x29391e(0x4ce)])?_0x1ab553?_0x29c492['updateField'](_0x176625,_0x2c6f71,_0x2b3f1c,{'config':{..._0x1ab553[_0x29391e(0x5b9)],'relationRole':_0x13cf76[_0x29391e(0x521)][_0x29391e(0x4ce)]}}):_0x2a90d1[_0x29391e(0x59c)](_0x5cf6f3)[_0x29391e(0x586)](_0x1d36f9,_0x2c6f71,_0xb8ceba(_0x403022,_0x2b3f1c,_0x4a4a49[_0x29391e(0x57e)]),_0x403022[_0x29391e(0x582)]['length']):null;_0x5d301f&&_0x5555d1['push'](_0x5d301f),_0x1ee63b&&_0x5555d1[_0x29391e(0x401)](_0x29c492['updateCell'](_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c,_0x5c6e13?_0xddc2f4([_0x5c6e13]):'')),_0x460b03&&_0x5555d1[_0x29391e(0x401)](_0x29c492[_0x29391e(0x1ad)](_0x176625,_0x2c6f71,_0xf91305,_0x57c945));let _0xcf15=_0x16f182(_0x5555d1),_0x9c0775={'tableId':_0x2c6f71,'fieldId':_0x2b3f1c,'recordId':_0xf91305,'oldParentRecordId':_0x22bd43,'parentRecordId':_0x5c6e13},_0x3e8b65={'unitId':_0x2246fd,'op':_0xcf15,'trigger':_0x222f05['id'],'hierarchyChanges':[_0x9c0775],'source':_0x4a4a49[_0x29391e(0x47d)]??'ui'},_0x5b567f={..._0x3e8b65,'source':_0x29391e(0x3ee)};if(!_0x2a90d1[_0x29391e(0x59c)](_0x13cf76[_0x29391e(0x1d3)])[_0x29391e(0x56d)](_0x4d02c8['id'],_0x3e8b65))return!0x1;let _0x25108c=_0x1d36f9['getSnapshot'](),_0x2704fc=[];_0x1ee63b&&_0x2704fc['push'](_0x429542(_0x25108c,_0x176625,_0x2c6f71,_0xf91305,_0x2b3f1c)),_0x460b03&&_0x2704fc['push'](_0x1f4f07(_0x25108c,_0x176625,_0x2c6f71,_0xf91305)),_0x5d301f&&_0x2704fc[_0x29391e(0x401)](new _0x1aaf1b()[_0x29391e(0x4b4)](_0x176625,_0x5d301f));let _0xf105df={'unitId':_0x2246fd,'op':_0x16f182(_0x2704fc),'trigger':_0x222f05['id'],'hierarchyChanges':[{..._0x9c0775,'oldParentRecordId':_0x5c6e13,'parentRecordId':_0x22bd43}],'source':_0x29391e(0x505)};return _0xbc82d7[_0x29391e(0x2bd)](_0x2246fd),_0x2a90d1[_0x29391e(0x59c)](_0x13cf76['IUndoRedoService'])[_0x29391e(0x4f2)]({'unitID':_0x2246fd,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0xf105df}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b567f}]}),!0x0;}};function _0x429542(_0x1b6e05,_0x525d02,_0xdbc375,_0x41ce4,_0xf469f9){const _0x532a8c=_0x571676;var _0x3f2142,_0x364ef2,_0x596e36,_0x50459a,_0x57eb71,_0x3e033e,_0x5168e8,_0x4d852d;let _0x490dd2=_0x1b6e05['tables'][_0xdbc375],_0x5c55bd=_0x525d02[_0x532a8c(0x291)][_0xdbc375],_0xdb4b94=(_0x3f2142=_0x490dd2[_0x532a8c(0x563)])==null?void 0x0:_0x3f2142[_0x41ce4],_0x6cd918=(_0x364ef2=_0x490dd2[_0x532a8c(0x28e)])==null?void 0x0:_0x364ef2[_0xf469f9],_0x49daae=(_0x596e36=_0x5c55bd[_0x532a8c(0x563)])==null?void 0x0:_0x596e36[_0x41ce4],_0x12fe1f=(_0x50459a=_0x5c55bd[_0x532a8c(0x28e)])==null?void 0x0:_0x50459a[_0xf469f9],_0x10d3b2=_0xdb4b94==null||_0x6cd918==null||(_0x57eb71=_0x490dd2[_0x532a8c(0x38e)])==null||(_0x57eb71=_0x57eb71[_0xdb4b94])==null?void 0x0:_0x57eb71[_0x6cd918],_0x1ce72b=_0x49daae==null||_0x12fe1f==null||(_0x3e033e=_0x5c55bd['cellData'])==null||(_0x3e033e=_0x3e033e[_0x49daae])==null?void 0x0:_0x3e033e[_0x12fe1f],_0x4f9246=(_0x5168e8=_0x490dd2[_0x532a8c(0x38f)][_0x41ce4])==null?void 0x0:_0x5168e8[_0x532a8c(0x334)][_0xf469f9],_0x4a653e=(_0x4d852d=_0x5c55bd['records'][_0x41ce4])==null?void 0x0:_0x4d852d[_0x532a8c(0x334)][_0xf469f9],_0x4e4a7c=[],_0xd66763=_0x4d0b33(_0xdb4b94==null||_0x6cd918==null?null:_0x4c83f7[_0x532a8c(0x38e)](_0xdbc375,_0xdb4b94,_0x6cd918),_0x10d3b2,_0x1ce72b);_0xd66763&&_0x4e4a7c['push'](_0xd66763);let _0x4f445a=_0x4d0b33(_0x4c83f7[_0x532a8c(0x4d1)](_0xdbc375,_0x41ce4,_0xf469f9),_0x4f9246,_0x4a653e);return _0x4f445a&&_0x4e4a7c[_0x532a8c(0x401)](_0x4f445a),_0x16f182(_0x4e4a7c);}function _0x1f4f07(_0x5a16c6,_0x5a8fa0,_0x411018,_0x5f3aa2){const _0x5dbd94=_0x571676;var _0x416e58,_0x19f95b;let _0x52defd=_0x5a16c6[_0x5dbd94(0x291)][_0x411018],_0x38e30f=_0x5a8fa0[_0x5dbd94(0x291)][_0x411018];return _0x16f182([_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4a9)](_0x411018,_0x5f3aa2),_0x5dbd94(0x34c)],(_0x416e58=_0x52defd[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x416e58[_0x5dbd94(0x34c)],(_0x19f95b=_0x38e30f[_0x5dbd94(0x38f)][_0x5f3aa2])==null?void 0x0:_0x19f95b[_0x5dbd94(0x34c)]),_0x4d0b33([..._0x4c83f7[_0x5dbd94(0x4b7)](_0x411018),_0x5dbd94(0x1cd)],_0x52defd['recordOrder'],_0x38e30f[_0x5dbd94(0x1cd)])][_0x5dbd94(0x3c4)](_0x10be8e=>!!_0x10be8e));}function _0x4d0b33(_0x180fec,_0x4c51f1,_0xfef920){const _0x3155bd=_0x571676;if(!_0x180fec||_0x4c51f1===void 0x0&&_0xfef920===void 0x0)return null;let _0xa8206=_0x13cf76['JSONX'][_0x3155bd(0x381)]();return _0xfef920===void 0x0?_0xa8206['removeOp'](_0x180fec,_0x4c51f1):_0x4c51f1===void 0x0?_0xa8206[_0x3155bd(0x48c)](_0x180fec,_0xfef920):_0xa8206['replaceOp'](_0x180fec,_0x4c51f1,_0xfef920);}let _0x2011a2={'id':'base.command.move-base-view','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x3a8687,_0x337883)=>{const _0x429a8c=_0x571676;if(!_0x337883)return!0x1;let _0x1cfd36=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x59e)]),{unitId:_0x4f1ddf,tableId:_0x357390,viewId:_0x33b395,target:_0x5d3e70}=_0x337883,_0x108248=_0x1cfd36[_0x429a8c(0x363)](_0x4f1ddf,_0x13cf76[_0x429a8c(0x331)]['UNIVER_BASE']),_0x542c17=_0x5d3e70[_0x429a8c(0x262)]??_0x5d3e70[_0x429a8c(0x338)];if(!_0x108248||!_0x542c17||_0x542c17===_0x33b395||!_0x2062fb(_0x108248,_0x357390,{'viewIds':[_0x33b395,_0x542c17]}))return!0x1;let _0x375dd0=_0x3a8687[_0x429a8c(0x59c)](_0x13cf76[_0x429a8c(0x1d3)]),_0x19f4f5=_0x3a8687['get'](_0x13cf76[_0x429a8c(0x425)]),_0x1aee23=_0x108248['getSnapshot'](),_0x228270=new _0x3db0f3()[_0x429a8c(0x5b5)](_0x1aee23,_0x357390,_0x33b395,_0x5d3e70),_0x24aa2c=new _0x1aaf1b()[_0x429a8c(0x4b4)](_0x1aee23,_0x228270),_0x4a24ad={'unitId':_0x4f1ddf,'op':_0x228270},_0x2f5319={'unitId':_0x4f1ddf,'op':_0x24aa2c};return _0x375dd0[_0x429a8c(0x56d)](_0x4d02c8['id'],_0x4a24ad)?(_0x1cfd36[_0x429a8c(0x2bd)](_0x4f1ddf),_0x19f4f5['pushUndoRedo']({'unitID':_0x4f1ddf,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2f5319}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4a24ad}]}),!0x0):!0x1;}},_0x5bf158={'id':_0x571676(0x259),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x150784,_0x287f1b)=>{const _0x5a437a=_0x571676;if(!_0x287f1b)return!0x1;let _0x15567f=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x59e)]),{unitId:_0x4debfb,tableId:_0x5f22d3,name:_0x49b189}=_0x287f1b,_0x314ac5=_0x15567f[_0x5a437a(0x363)](_0x4debfb,_0x13cf76['UniverInstanceType'][_0x5a437a(0x321)]);if(!_0x314ac5||!_0x2062fb(_0x314ac5,_0x5f22d3)||!_0x475287(_0x314ac5[_0x5a437a(0x463)](),_0x49b189,_0x5f22d3)[_0x5a437a(0x49e)])return!0x1;let _0x3eb1aa=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x1d3)]),_0x413fab=_0x150784[_0x5a437a(0x59c)](_0x13cf76[_0x5a437a(0x425)]),_0x14d76a=_0x314ac5[_0x5a437a(0x463)](),_0x3630f9=new _0x3db0f3()[_0x5a437a(0x429)](_0x14d76a,_0x5f22d3,_0x49b189),_0x5070eb=new _0x1aaf1b()['invertOp'](_0x14d76a,_0x3630f9),_0x1f0df4={'unitId':_0x4debfb,'op':_0x3630f9},_0x5457e1={'unitId':_0x4debfb,'op':_0x5070eb};return _0x3eb1aa['syncExecuteCommand'](_0x4d02c8['id'],_0x1f0df4)?(_0x15567f[_0x5a437a(0x2bd)](_0x4debfb),_0x413fab[_0x5a437a(0x4f2)]({'unitID':_0x4debfb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5457e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1f0df4}]}),!0x0):!0x1;}},_0x1df208={'id':_0x571676(0x18f),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4b67fd,_0x3dd114)=>{const _0x516a79=_0x571676;if(!_0x3dd114)return!0x1;let _0x4be02f=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0xb0d7e3,tableId:_0x1477e7,viewId:_0x391f04,name:_0x483ae5}=_0x3dd114,_0x17c200=_0x4be02f[_0x516a79(0x363)](_0xb0d7e3,_0x13cf76[_0x516a79(0x331)]['UNIVER_BASE']);if(!_0x17c200||!_0x2062fb(_0x17c200,_0x1477e7,{'viewIds':[_0x391f04]}))return!0x1;let _0x765872=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x1d3)]),_0x199d73=_0x4b67fd[_0x516a79(0x59c)](_0x13cf76[_0x516a79(0x425)]),_0x449868=_0x17c200[_0x516a79(0x463)](),_0x451042=new _0x3db0f3()[_0x516a79(0x455)](_0x449868,_0x1477e7,_0x391f04,_0x483ae5),_0x50141e=new _0x1aaf1b()[_0x516a79(0x4b4)](_0x449868,_0x451042),_0x487f2e={'unitId':_0xb0d7e3,'op':_0x451042},_0x277f9f={'unitId':_0xb0d7e3,'op':_0x50141e};return _0x765872[_0x516a79(0x56d)](_0x4d02c8['id'],_0x487f2e)?(_0x4be02f[_0x516a79(0x2bd)](_0xb0d7e3),_0x199d73[_0x516a79(0x4f2)]({'unitID':_0xb0d7e3,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x277f9f}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x487f2e}]}),!0x0):!0x1;}},_0x747472={'id':'base.command.set-base-kanban-group-field','type':_0x13cf76['CommandType']['COMMAND'],'handler':(_0x4cb567,_0x155b80)=>{const _0x3f2319=_0x571676;if(!_0x155b80)return!0x1;let _0x3b8709=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x200feb,tableId:_0x3f0dec,viewId:_0x45e8d8,fieldId:_0x3a6dce}=_0x155b80,_0x1e1294=_0x3b8709[_0x3f2319(0x363)](_0x200feb,_0x13cf76['UniverInstanceType'][_0x3f2319(0x321)]);if(!_0x1e1294||!_0x2062fb(_0x1e1294,_0x3f0dec,{'viewIds':[_0x45e8d8],'fieldIds':[_0x3a6dce]}))return!0x1;let _0x348c4a=_0x4cb567['get'](_0x13cf76[_0x3f2319(0x1d3)]),_0xc15ca0=_0x4cb567[_0x3f2319(0x59c)](_0x13cf76[_0x3f2319(0x425)]),_0x448f43=_0x1e1294[_0x3f2319(0x463)](),_0x41924f=new _0x3db0f3()['updateViewConfig'](_0x448f43,_0x3f0dec,_0x45e8d8,{'groupFieldId':_0x3a6dce}),_0x38865c=new _0x1aaf1b()[_0x3f2319(0x4b4)](_0x448f43,_0x41924f),_0x3f0fff={'unitId':_0x200feb,'op':_0x41924f},_0x44b1b2={'unitId':_0x200feb,'op':_0x38865c};return _0x348c4a[_0x3f2319(0x56d)](_0x4d02c8['id'],_0x3f0fff)?(_0x3b8709[_0x3f2319(0x2bd)](_0x200feb),_0xc15ca0[_0x3f2319(0x4f2)]({'unitID':_0x200feb,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x44b1b2}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3f0fff}]}),!0x0):!0x1;}},_0x55d71e={'id':'base.command.set-base-name','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0xc2ced0,_0x2c83c3)=>{const _0x23f490=_0x571676;if(!_0x2c83c3)return!0x1;let _0x12558e=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x59e)]),_0x5823c9=_0x12558e['getUnit'](_0x2c83c3['unitId'],_0x13cf76['UniverInstanceType'][_0x23f490(0x321)]);if(!_0x5823c9)return!0x1;let _0x50dc60=_0x5823c9['getSnapshot']()['name'];if(_0x50dc60===_0x2c83c3[_0x23f490(0x46d)])return!0x0;let _0x1e9495=new _0x3db0f3(),_0x4a8b7d=new _0x1aaf1b(),_0x5bcc19=[],_0x452690=[],_0x1a3223=[_0x5823c9,..._0x12558e[_0x23f490(0x4bd)](_0x13cf76[_0x23f490(0x331)][_0x23f490(0x321)])[_0x23f490(0x3c4)](_0x257073=>_0x257073[_0x23f490(0x5ca)]()!==_0x2c83c3['unitId'])];for(let _0x447072 of _0x1a3223){let _0xda3118=_0x447072['getSnapshot'](),_0x319f47=_0x447072===_0x5823c9?_0x1e9495[_0x23f490(0x3b9)](_0xda3118,_0x2c83c3[_0x23f490(0x46d)]):_0x1e9495[_0x23f490(0x3f7)](_0xda3118,_0x50dc60,_0x2c83c3[_0x23f490(0x46d)]);_0x319f47&&(_0x5bcc19[_0x23f490(0x401)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x319f47,'trigger':_0x55d71e['id']}}),_0x452690[_0x23f490(0x1c1)]({'id':_0x4d02c8['id'],'params':{'unitId':_0x447072[_0x23f490(0x5ca)](),'op':_0x4a8b7d['invertOp'](_0xda3118,_0x319f47),'trigger':_0x55d71e['id']}}));}let _0x143c2b=_0xc2ced0[_0x23f490(0x59c)](_0x13cf76[_0x23f490(0x1d3)]),_0x497459=_0xc2ced0['get'](_0x13cf76[_0x23f490(0x425)]),_0x27f0fc=_0x497459[_0x23f490(0x1d0)](_0x2c83c3[_0x23f490(0x2aa)]);try{return(0x0,_0x13cf76[_0x23f490(0x31a)])(_0x5bcc19,_0x143c2b)['result']?(_0x12558e[_0x23f490(0x2bd)](_0x2c83c3[_0x23f490(0x2aa)]),_0x497459[_0x23f490(0x4f2)]({'unitID':_0x2c83c3[_0x23f490(0x2aa)],'undoMutations':_0x452690,'redoMutations':_0x5bcc19}),!0x0):!0x1;}finally{_0x27f0fc[_0x23f490(0x230)]();}}},_0x7879f9={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':_0x571676(0x430),async 'handler'(_0x2be30d,_0x57caad){const _0x52859a=_0x571676;if(!_0x57caad||!_0x147f37['includes'](_0x57caad[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x57caad[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)][_0x52859a(0x5a0)]||_0x57caad[_0x52859a(0x554)]&&(![_0x52859a(0x4c3),_0x52859a(0x2d0),_0x52859a(0x2b1)]['includes'](_0x57caad[_0x52859a(0x554)][_0x52859a(0x5e1)])||_0x57caad[_0x52859a(0x554)][_0x52859a(0x3da)]['some'](_0x5544f4=>!_0x147f37[_0x52859a(0x358)](_0x5544f4[_0x52859a(0x2b9)])||_0x57caad[_0x52859a(0x3f3)]!==_0x57caad[_0x52859a(0x2aa)]&&_0x5544f4[_0x52859a(0x2b9)]!==_0x93a0d4[_0x52859a(0x2a0)]['Edit'])))return!0x1;let _0x2865a1=_0x41f091(_0x57caad[_0x52859a(0x2aa)],_0x57caad[_0x52859a(0x3f3)],_0x57caad[_0x52859a(0x2b9)]),_0x1535b6={'unitId':_0x57caad['unitId'],'objectId':_0x57caad['objectId'],'objectType':_0x2865a1['type']},_0x316e8b=_0x2be30d[_0x52859a(0x59c)](_0x13cf76[_0x52859a(0x4fa)]);return _0x57caad[_0x52859a(0x349)]?await _0x316e8b[_0x52859a(0x349)](_0x1535b6):_0x57caad[_0x52859a(0x554)]?await _0x316e8b[_0x52859a(0x58e)](_0x1535b6,_0x57caad['policy']):await _0x316e8b['setPoint'](_0x1535b6,_0x2865a1,_0x57caad[_0x52859a(0x315)]),!0x0;}},_0x1d1662={'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'id':'base.command.set-permissions',async 'handler'(_0x43357c,_0x2b33d9){const _0x2e8a47=_0x571676;if(!(_0x2b33d9!=null&&_0x2b33d9[_0x2e8a47(0x2aa)])||!Array[_0x2e8a47(0x21f)](_0x2b33d9[_0x2e8a47(0x342)])||!_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x4e9)]||_0x2b33d9[_0x2e8a47(0x342)][_0x2e8a47(0x1ab)](_0x2133b0=>!(_0x2133b0!=null&&_0x2133b0[_0x2e8a47(0x3f3)])||_0x2133b0[_0x2e8a47(0x3f3)]===_0x2b33d9[_0x2e8a47(0x2aa)]||_0x2133b0[_0x2e8a47(0x554)]!==null&&(!_0x2133b0[_0x2e8a47(0x554)]||![_0x2e8a47(0x4c3),_0x2e8a47(0x2d0),_0x2e8a47(0x2b1)][_0x2e8a47(0x358)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x5e1)])||!Array[_0x2e8a47(0x21f)](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x572)])||!Array['isArray'](_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)])||_0x2133b0[_0x2e8a47(0x554)][_0x2e8a47(0x3da)][_0x2e8a47(0x1ab)](_0x1df5f0=>_0x1df5f0[_0x2e8a47(0x2b9)]!==_0x93a0d4[_0x2e8a47(0x2a0)][_0x2e8a47(0x5a0)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x43357c[_0x2e8a47(0x59c)](_0x13cf76[_0x2e8a47(0x4fa)])[_0x2e8a47(0x2df)](_0x2b33d9['changes'][_0x2e8a47(0x329)](_0x223bfd=>{const _0x140f0f=_0x2e8a47;let _0x3d2683=_0x41f091(_0x2b33d9[_0x140f0f(0x2aa)],_0x223bfd[_0x140f0f(0x3f3)],_0x93a0d4[_0x140f0f(0x2a0)][_0x140f0f(0x5a0)]);return{'unitId':_0x2b33d9['unitId'],'objectId':_0x223bfd['objectId'],'objectType':_0x3d2683[_0x140f0f(0x292)],'policy':_0x223bfd['policy']};}));}};function _0x57c380(_0x43032e,_0x229c2c){const _0x401031=_0x571676;let _0x593bef=_0x48b6e1(_0x13cf76[_0x401031(0x39a)]['deepClone'](_0x43032e)),_0x1c5c13=new Map();return _0x229c2c[_0x401031(0x3c9)](_0x4c3768=>{const _0x5ec599=_0x401031;var _0x2f011a,_0x4da10c;let _0x814dca=_0x5ec599(0x5c4)in _0x4c3768?_0x4c3768[_0x5ec599(0x5c4)]:(_0x2f011a=_0x593bef[_0x5ec599(0x556)])==null?void 0x0:_0x2f011a[_0x4c3768[_0x5ec599(0x22f)]],_0x42b38c=_0x5ec599(0x384)in _0x4c3768?_0x4c3768[_0x5ec599(0x384)]:(_0x4da10c=_0x593bef['colId'])==null?void 0x0:_0x4da10c[_0x4c3768[_0x5ec599(0x5ac)]],_0x16d93d=_0x42b38c?_0x593bef['fields'][_0x42b38c]:void 0x0;if(!_0x814dca||!_0x42b38c||!_0x16d93d||!_0x593bef[_0x5ec599(0x38f)][_0x814dca])return;let _0x183d4a=_0x4c5834(_0x4c3768['value'],_0x16d93d),_0xf4b925=_0x19f247(_0x4c3768[_0x5ec599(0x315)],_0x183d4a,_0x16d93d,_0x593bef,_0x814dca),_0x35b542=_0x1c5c13[_0x5ec599(0x59c)](_0x814dca)??{};_0x35b542[_0x42b38c]=_0xf4b925,_0x1c5c13[_0x5ec599(0x569)](_0x814dca,_0x35b542);}),[..._0x1c5c13][_0x401031(0x329)](([_0x48617f,_0x688c51])=>({'recordId':_0x48617f,'values':_0x688c51}));}let _0x7cb956={'id':_0x571676(0x3b5),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x302425,_0x10d268){const _0x30e83b=_0x571676;if(!_0x10d268)return!0x1;let _0x2be188=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x59e)]),{unitId:_0x6df541,tableId:_0x88b154,patches:_0x239929}=_0x10d268,_0x4dedf3=_0x2be188[_0x30e83b(0x363)](_0x6df541,_0x13cf76[_0x30e83b(0x331)][_0x30e83b(0x321)]);if(!_0x4dedf3||!_0x2062fb(_0x4dedf3,_0x88b154))return!0x1;let _0x1c793f=_0x302425['get'](_0x13cf76[_0x30e83b(0x1d3)]),_0x30d83d=_0x302425[_0x30e83b(0x59c)](_0x13cf76[_0x30e83b(0x425)]),_0x3107ef=_0x4dedf3[_0x30e83b(0x463)](),_0x14a4da=_0x48b6e1(_0x3107ef['tables'][_0x88b154]),_0x2ca8b1=_0x239929[_0x30e83b(0x329)](_0x499968=>{const _0x43fe61=_0x30e83b;var _0x3c597d;return _0x43fe61(0x5c4)in _0x499968?_0x499968['recordId']:(_0x3c597d=_0x14a4da[_0x43fe61(0x556)])==null?void 0x0:_0x3c597d[_0x499968[_0x43fe61(0x22f)]];})[_0x30e83b(0x3c4)](_0x134201=>_0x134201!=null),_0xfd3e3c=_0x239929[_0x30e83b(0x329)](_0xa4f112=>{const _0x5688f7=_0x30e83b;var _0x42e8a2;return'fieldId'in _0xa4f112?_0xa4f112['fieldId']:(_0x42e8a2=_0x14a4da[_0x5688f7(0x351)])==null?void 0x0:_0x42e8a2[_0xa4f112['col']];})[_0x30e83b(0x3c4)](_0x481d6f=>_0x481d6f!=null);if(_0x2ca8b1[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||_0xfd3e3c[_0x30e83b(0x4e9)]!==_0x239929[_0x30e83b(0x4e9)]||!_0x2062fb(_0x4dedf3,_0x88b154,{'recordIds':_0x2ca8b1,'fieldIds':_0xfd3e3c})||_0x239929['some']((_0x1bcc9d,_0x547de6)=>!_0x2432ed(_0x4dedf3,_0x88b154,_0xfd3e3c[_0x547de6],_0x1bcc9d['value'])))return!0x1;let _0x30055e=_0x226acd(_0x14a4da,_0x57c380(_0x14a4da,_0x239929)),_0x403e04=_0x239929[_0x30e83b(0x387)](_0x2e3ce9=>{const _0x57c806=_0x30e83b;var _0x58a68f,_0x4ac199;if(_0x57c806(0x22f)in _0x2e3ce9)return[_0x2e3ce9];let _0x150421=(_0x58a68f=_0x14a4da[_0x57c806(0x563)])==null?void 0x0:_0x58a68f[_0x2e3ce9['recordId']],_0x3ff5ab=(_0x4ac199=_0x14a4da[_0x57c806(0x28e)])==null?void 0x0:_0x4ac199[_0x2e3ce9[_0x57c806(0x384)]];return _0x150421==null||_0x3ff5ab==null?[]:[{'row':_0x150421,'col':_0x3ff5ab,'value':_0x2e3ce9[_0x57c806(0x315)]}];}),_0x21b0a7=new _0x3db0f3()[_0x30e83b(0x23a)](_0x3107ef,_0x88b154,_0x403e04),_0xe2c4ed=new _0x1aaf1b()[_0x30e83b(0x4b4)](_0x3107ef,_0x21b0a7),_0x4bd308={'unitId':_0x6df541,'op':_0x21b0a7,'trigger':_0x30055e['length']?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e:void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'redo':void 0x0},_0x36f2d6={'unitId':_0x6df541,'op':_0xe2c4ed,'trigger':_0x30055e[_0x30e83b(0x4e9)]?_0x7cb956['id']:void 0x0,'hierarchyChanges':_0x30055e[_0x30e83b(0x4e9)]?_0x30055e[_0x30e83b(0x329)](_0x1b3a00=>({..._0x1b3a00,'oldParentRecordId':_0x1b3a00[_0x30e83b(0x561)],'parentRecordId':_0x1b3a00[_0x30e83b(0x182)]})):void 0x0,'source':_0x30055e[_0x30e83b(0x4e9)]?'undo':void 0x0},_0xe6fc51={..._0x4bd308,'source':_0x30055e[_0x30e83b(0x4e9)]?_0x10d268[_0x30e83b(0x47d)]??'ui':void 0x0};return _0x1c793f[_0x30e83b(0x56d)](_0x4d02c8['id'],_0xe6fc51)?(_0x2be188[_0x30e83b(0x2bd)](_0x6df541),_0x30d83d[_0x30e83b(0x4f2)]({'unitID':_0x6df541,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x36f2d6}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4bd308}]}),!0x0):!0x1;}},_0x14468a={'id':_0x571676(0x2ae),'type':_0x13cf76['CommandType']['COMMAND'],'handler'(_0x122f28,_0x288239){const _0x32bf29=_0x571676;if(!_0x288239)return!0x1;let _0x113a24=_0x122f28[_0x32bf29(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x484cea,tableId:_0x560533,patches:_0x41e03b}=_0x288239,_0x1ce40b=_0x113a24[_0x32bf29(0x363)](_0x484cea,_0x13cf76[_0x32bf29(0x331)][_0x32bf29(0x321)]),_0x2b63cf=_0x41e03b[_0x32bf29(0x329)](_0x33507e=>_0x33507e[_0x32bf29(0x5c4)]),_0x176f68=_0x41e03b['flatMap'](_0x340e36=>Object[_0x32bf29(0x2db)](_0x340e36[_0x32bf29(0x334)]));if(!_0x1ce40b||!_0x2062fb(_0x1ce40b,_0x560533,{'recordIds':_0x2b63cf,'fieldIds':_0x176f68})||_0x41e03b[_0x32bf29(0x1ab)](_0x49284a=>Object['entries'](_0x49284a[_0x32bf29(0x334)])[_0x32bf29(0x1ab)](([_0x224538,_0x30b8e3])=>!_0x2432ed(_0x1ce40b,_0x560533,_0x224538,_0x30b8e3))))return!0x1;let _0x8e4e64=_0x226acd(_0x1ce40b[_0x32bf29(0x463)]()[_0x32bf29(0x291)][_0x560533],_0x41e03b),_0xa42868=_0x122f28['get'](_0x13cf76[_0x32bf29(0x1d3)]),_0xc80731=_0x122f28['get'](_0x13cf76[_0x32bf29(0x425)]),_0x54ef2f=_0x122f28[_0x32bf29(0x59c)](_0x5cf6f3)[_0x32bf29(0x59f)](_0x1ce40b,_0x560533,_0x41e03b),_0x3cd7ec=new _0x1aaf1b()[_0x32bf29(0x4b4)](_0x1ce40b[_0x32bf29(0x463)](),_0x54ef2f),_0x538b3e={'unitId':_0x484cea,'op':_0x54ef2f,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64['length']?_0x8e4e64:void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x288239[_0x32bf29(0x47d)]??'ui':void 0x0},_0x2eade6={..._0x538b3e,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x3ee):void 0x0},_0x27bacd={'unitId':_0x484cea,'op':_0x3cd7ec,'trigger':_0x8e4e64[_0x32bf29(0x4e9)]?_0x14468a['id']:void 0x0,'hierarchyChanges':_0x8e4e64[_0x32bf29(0x4e9)]?_0x8e4e64[_0x32bf29(0x329)](_0x11b65e=>({..._0x11b65e,'oldParentRecordId':_0x11b65e[_0x32bf29(0x561)],'parentRecordId':_0x11b65e[_0x32bf29(0x182)]})):void 0x0,'source':_0x8e4e64[_0x32bf29(0x4e9)]?_0x32bf29(0x505):void 0x0};return _0xa42868[_0x32bf29(0x56d)](_0x4d02c8['id'],_0x538b3e)?(_0x113a24['focusUnit'](_0x484cea),_0xc80731[_0x32bf29(0x4f2)]({'unitID':_0x484cea,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x27bacd}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2eade6}]}),!0x0):!0x1;}},_0x19979c={'id':_0x571676(0x373),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x408a10,_0x4871bc)=>{const _0xf76d26=_0x571676;if(!_0x4871bc)return!0x1;let {unitId:_0x4b1052,tableId:_0x2e4987,fieldId:_0x46a8b2}=_0x4871bc,_0x4da0ed=_0x408a10[_0xf76d26(0x59c)](_0x13cf76['IUniverInstanceService']),_0x245d73=_0x4da0ed['getUnit'](_0x4b1052,_0x13cf76[_0xf76d26(0x331)]['UNIVER_BASE']);if(!_0x245d73||!_0x2062fb(_0x245d73,_0x2e4987))return!0x1;let _0x5744fc=_0x245d73[_0xf76d26(0x463)](),_0x1a7852=_0x5744fc[_0xf76d26(0x291)][_0x2e4987];if(_0x46a8b2!==null&&!_0x53a126(_0x1a7852,_0x46a8b2))throw new _0x2dec10(_0xf76d26(0x481));if(_0x19ec27(_0x1a7852)===_0x46a8b2)return!0x0;let _0x3f6b65=new _0x3db0f3(),_0x39845d=_0x16f182(Object[_0xf76d26(0x334)](_0x1a7852[_0xf76d26(0x3c2)])[_0xf76d26(0x387)](_0x490bdd=>{const _0x5cae09=_0xf76d26;if(!_0x53a126(_0x1a7852,_0x490bdd['id']))return[];let _0x1e4cd9=_0x51db2d(_0x490bdd);if(!_0x1e4cd9)return[];let _0x392f64=_0x490bdd['id']===_0x46a8b2;if(_0x1e4cd9[_0x5cae09(0x2fe)]===_0x13cf76[_0x5cae09(0x521)][_0x5cae09(0x4ce)]===_0x392f64)return[];let _0x95222d={..._0x490bdd['config'],'targetTableId':_0x1e4cd9[_0x5cae09(0x267)],'multiple':_0x1e4cd9[_0x5cae09(0x383)]};return _0x392f64?_0x95222d['relationRole']=_0x13cf76['BaseRecordLinkRole'][_0x5cae09(0x4ce)]:delete _0x95222d[_0x5cae09(0x2fe)],[_0x3f6b65[_0x5cae09(0x241)](_0x5744fc,_0x2e4987,_0x490bdd['id'],{'config':_0x95222d})];})),_0x4684cf=new _0x1aaf1b()[_0xf76d26(0x4b4)](_0x5744fc,_0x39845d),_0x2fa7b5={'unitId':_0x4b1052,'op':_0x39845d},_0x4e00e1={'unitId':_0x4b1052,'op':_0x4684cf};return _0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x1d3)])[_0xf76d26(0x56d)](_0x4d02c8['id'],_0x2fa7b5)?(_0x4da0ed[_0xf76d26(0x2bd)](_0x4b1052),_0x408a10[_0xf76d26(0x59c)](_0x13cf76[_0xf76d26(0x425)])[_0xf76d26(0x4f2)]({'unitID':_0x4b1052,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x4e00e1}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x2fa7b5}]}),!0x0):!0x1;}},_0x72026a={'id':'base.command.set-base-view-field-order','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x215326,_0x361ff7)=>{const _0x28bc96=_0x571676;if(!_0x361ff7)return!0x1;let _0x2e94f5=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x59e)]),{unitId:_0x427acc,tableId:_0x172960,viewId:_0x3403d7,fieldId:_0x1b3690,target:_0x3302ad}=_0x361ff7,_0x43d8a4=_0x2e94f5[_0x28bc96(0x363)](_0x427acc,_0x13cf76[_0x28bc96(0x331)]['UNIVER_BASE']),_0x203c71=_0x3302ad[_0x28bc96(0x2a9)]??_0x3302ad['afterFieldId'];if(!_0x43d8a4||!_0x203c71||_0x203c71===_0x1b3690||!_0x2062fb(_0x43d8a4,_0x172960,{'viewIds':[_0x3403d7],'fieldIds':[_0x1b3690,_0x203c71]}))return!0x1;let _0xc6a95b=_0x43d8a4['getSnapshot']()[_0x28bc96(0x291)][_0x172960],_0x5238eb=_0xc6a95b[_0x28bc96(0x3c2)][_0x1b3690],_0xd02570=_0xc6a95b[_0x28bc96(0x3c2)][_0x203c71];if(_0x5238eb[_0x28bc96(0x4f8)]===!0x0||_0x5238eb[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)]||_0xd02570[_0x28bc96(0x4f8)]===!0x0||_0xd02570[_0x28bc96(0x292)]===_0x13cf76[_0x28bc96(0x517)][_0x28bc96(0x2ea)])return!0x1;let _0xcf51c=_0x215326[_0x28bc96(0x59c)](_0x13cf76['ICommandService']),_0x3fe190=_0x215326[_0x28bc96(0x59c)](_0x13cf76[_0x28bc96(0x425)]),_0x27e973=_0x43d8a4[_0x28bc96(0x463)](),_0x23868e=new _0x3db0f3()[_0x28bc96(0x55c)](_0x27e973,_0x172960,_0x3403d7,_0x1b3690,_0x3302ad),_0x2f5fdb=new _0x1aaf1b()[_0x28bc96(0x4b4)](_0x27e973,_0x23868e),_0x264647={'unitId':_0x427acc,'op':_0x23868e},_0x2416ad={'unitId':_0x427acc,'op':_0x2f5fdb};return _0xcf51c[_0x28bc96(0x56d)](_0x4d02c8['id'],_0x264647)?(_0x2e94f5['focusUnit'](_0x427acc),_0x3fe190[_0x28bc96(0x4f2)]({'unitID':_0x427acc,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x2416ad}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x264647}]}),!0x0):!0x1;}},_0x5b0eaf={'id':_0x571676(0x413),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x20a618,_0x524e40){const _0x51b75b=_0x571676;if(!_0x524e40)return!0x1;let _0x4c10b8=_0x20a618['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x5dcfd1,tableId:_0x54e106,viewId:_0x2014fe,fieldId:_0x5cea96,visible:_0x4b5e99}=_0x524e40,_0x484f58=_0x4c10b8[_0x51b75b(0x363)](_0x5dcfd1,_0x13cf76[_0x51b75b(0x331)][_0x51b75b(0x321)]);if(!_0x484f58||!_0x2062fb(_0x484f58,_0x54e106,{'viewIds':[_0x2014fe],'fieldIds':[_0x5cea96]}))return!0x1;let _0x1c907c=_0x484f58['getSnapshot']()[_0x51b75b(0x291)][_0x54e106]['fields'][_0x5cea96];if(_0x1c907c[_0x51b75b(0x4f8)]===!0x0||_0x1c907c['type']===_0x13cf76[_0x51b75b(0x517)][_0x51b75b(0x2ea)])return!0x1;let _0x257f4b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x1d3)]),_0x45719b=_0x20a618[_0x51b75b(0x59c)](_0x13cf76[_0x51b75b(0x425)]),_0x2e8373=_0x484f58[_0x51b75b(0x463)](),_0x4fb080=new _0x3db0f3()[_0x51b75b(0x37e)](_0x2e8373,_0x54e106,_0x2014fe,_0x5cea96,_0x4b5e99),_0x59dc57=new _0x1aaf1b()[_0x51b75b(0x4b4)](_0x2e8373,_0x4fb080),_0xa766bf={'unitId':_0x5dcfd1,'op':_0x4fb080},_0x316c6e={'unitId':_0x5dcfd1,'op':_0x59dc57};return _0x257f4b[_0x51b75b(0x56d)](_0x4d02c8['id'],_0xa766bf)?(_0x4c10b8['focusUnit'](_0x5dcfd1),_0x45719b[_0x51b75b(0x4f2)]({'unitID':_0x5dcfd1,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x316c6e}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0xa766bf}]}),!0x0):!0x1;}},_0x1e62e1={'id':'base.command.set-base-view-field-width','type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x45dc95,_0xdb9cd6)=>{const _0x276f67=_0x571676;if(!_0xdb9cd6)return!0x1;let _0x147ecc=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x27a404,tableId:_0x5b6b22,viewId:_0x1fa2a7,fieldId:_0xb82de6,width:_0x53a224}=_0xdb9cd6,_0x2b3648=_0x147ecc[_0x276f67(0x363)](_0x27a404,_0x13cf76['UniverInstanceType'][_0x276f67(0x321)]);if(!_0x2b3648||!_0x2062fb(_0x2b3648,_0x5b6b22,{'viewIds':[_0x1fa2a7],'fieldIds':[_0xb82de6]}))return!0x1;let _0xa5d7f=_0x2b3648[_0x276f67(0x463)]()[_0x276f67(0x291)][_0x5b6b22][_0x276f67(0x3c2)][_0xb82de6];if(_0xa5d7f['system']===!0x0||_0xa5d7f[_0x276f67(0x292)]===_0x13cf76['BaseFieldType'][_0x276f67(0x2ea)])return!0x1;let _0x3fb88a=_0x45dc95[_0x276f67(0x59c)](_0x13cf76['ICommandService']),_0x24a3b7=_0x45dc95[_0x276f67(0x59c)](_0x13cf76[_0x276f67(0x425)]),_0x319e9a=_0x2b3648['getSnapshot'](),_0x7fe105=new _0x3db0f3()[_0x276f67(0x272)](_0x319e9a,_0x5b6b22,_0x1fa2a7,_0xb82de6,_0x53a224),_0x2a5b2a=new _0x1aaf1b()[_0x276f67(0x4b4)](_0x319e9a,_0x7fe105),_0x1479a8={'unitId':_0x27a404,'op':_0x7fe105},_0x495a7a={'unitId':_0x27a404,'op':_0x2a5b2a};return _0x3fb88a[_0x276f67(0x56d)](_0x4d02c8['id'],_0x1479a8)?(_0x147ecc[_0x276f67(0x2bd)](_0x27a404),_0x24a3b7[_0x276f67(0x4f2)]({'unitID':_0x27a404,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x495a7a}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1479a8}]}),!0x0):!0x1;}},_0x16dc22={'id':'base.command.set-base-view-filter','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x4bcd76,_0x2e01dd)=>{const _0xa35e7b=_0x571676;if(!_0x2e01dd)return!0x1;let _0x5e37de=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x57e725,tableId:_0x17f4ca,viewId:_0x2a2c0d,filter:_0x299448}=_0x2e01dd,_0x4e2212=_0x5e37de[_0xa35e7b(0x363)](_0x57e725,_0x13cf76[_0xa35e7b(0x331)][_0xa35e7b(0x321)]),_0x40b592=(_0x299448==null?void 0x0:_0x299448[_0xa35e7b(0x3af)][_0xa35e7b(0x329)](_0xf5fb5b=>_0xf5fb5b[_0xa35e7b(0x384)]))??[];if(!_0x4e2212||!_0x2062fb(_0x4e2212,_0x17f4ca,{'viewIds':[_0x2a2c0d],'fieldIds':_0x40b592}))return!0x1;let _0x34b78e=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x1d3)]),_0x5b93f3=_0x4bcd76[_0xa35e7b(0x59c)](_0x13cf76[_0xa35e7b(0x425)]),_0x1be463=_0x4e2212[_0xa35e7b(0x463)](),_0x2befe7=new _0x3db0f3()[_0xa35e7b(0x1e1)](_0x1be463,_0x17f4ca,_0x2a2c0d,_0x299448),_0x48b894=new _0x1aaf1b()[_0xa35e7b(0x4b4)](_0x1be463,_0x2befe7),_0x26af81={'unitId':_0x57e725,'op':_0x2befe7},_0x5cb151={'unitId':_0x57e725,'op':_0x48b894};return _0x34b78e[_0xa35e7b(0x56d)](_0x4d02c8['id'],_0x26af81)?(_0x5e37de[_0xa35e7b(0x2bd)](_0x57e725),_0x5b93f3[_0xa35e7b(0x4f2)]({'unitID':_0x57e725,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5cb151}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x26af81}]}),!0x0):!0x1;}},_0x20fd70={'id':_0x571676(0x49c),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x33279c,_0x35e927)=>{const _0x55a745=_0x571676;if(!_0x35e927)return!0x1;let _0x3b2f2e=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x59e)]),{unitId:_0x49d866,tableId:_0x50158f,viewId:_0x40b34c,group:_0x121853}=_0x35e927,_0x56ce44=_0x3b2f2e[_0x55a745(0x363)](_0x49d866,_0x13cf76['UniverInstanceType'][_0x55a745(0x321)]);if(!_0x56ce44||!_0x2062fb(_0x56ce44,_0x50158f,{'viewIds':[_0x40b34c],'fieldIds':_0x121853[_0x55a745(0x329)](_0x4de1cf=>_0x4de1cf[_0x55a745(0x384)])}))return!0x1;let _0xef0284=_0x33279c[_0x55a745(0x59c)](_0x13cf76[_0x55a745(0x1d3)]),_0x15dc68=_0x33279c['get'](_0x13cf76[_0x55a745(0x425)]),_0x1aa109=_0x56ce44['getSnapshot'](),_0x594a7f=new _0x3db0f3()[_0x55a745(0x43b)](_0x1aa109,_0x50158f,_0x40b34c,_0x121853),_0x1091b3=new _0x1aaf1b()[_0x55a745(0x4b4)](_0x1aa109,_0x594a7f),_0x5b4df9={'unitId':_0x49d866,'op':_0x594a7f},_0x250371={'unitId':_0x49d866,'op':_0x1091b3};return _0xef0284[_0x55a745(0x56d)](_0x4d02c8['id'],_0x5b4df9)?(_0x3b2f2e[_0x55a745(0x2bd)](_0x49d866),_0x15dc68[_0x55a745(0x4f2)]({'unitID':_0x49d866,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x250371}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x5b4df9}]}),!0x0):!0x1;}},_0x34cc97={'id':_0x571676(0x4f1),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler':(_0x245a54,_0x1377bc)=>{const _0x5b9085=_0x571676;if(!_0x1377bc)return!0x1;let _0x3dddd7=_0x245a54[_0x5b9085(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x4c6569,tableId:_0x55bff4,viewId:_0x35c8e9,sort:_0x4be1cb}=_0x1377bc,_0x25d4d4=_0x3dddd7['getUnit'](_0x4c6569,_0x13cf76[_0x5b9085(0x331)][_0x5b9085(0x321)]);if(!_0x25d4d4||!_0x2062fb(_0x25d4d4,_0x55bff4,{'viewIds':[_0x35c8e9],'fieldIds':_0x4be1cb[_0x5b9085(0x329)](_0x58594e=>_0x58594e['fieldId'])}))return!0x1;let _0x5ea89b=_0x245a54['get'](_0x13cf76[_0x5b9085(0x1d3)]),_0x1c1607=_0x245a54[_0x5b9085(0x59c)](_0x13cf76[_0x5b9085(0x425)]),_0x16cfc9=_0x25d4d4['getSnapshot'](),_0x33e194=new _0x3db0f3()[_0x5b9085(0x27b)](_0x16cfc9,_0x55bff4,_0x35c8e9,_0x4be1cb),_0x5e0458=new _0x1aaf1b()[_0x5b9085(0x4b4)](_0x16cfc9,_0x33e194),_0x23b8ea={'unitId':_0x4c6569,'op':_0x33e194},_0x5da516={'unitId':_0x4c6569,'op':_0x5e0458};return _0x5ea89b['syncExecuteCommand'](_0x4d02c8['id'],_0x23b8ea)?(_0x3dddd7[_0x5b9085(0x2bd)](_0x4c6569),_0x1c1607[_0x5b9085(0x4f2)]({'unitID':_0x4c6569,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x5da516}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x23b8ea}]}),!0x0):!0x1;}},_0x2f1b8b={'id':'base.command.update-base-cell','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x456f1d,_0x2f921f){const _0x4ad488=_0x571676;if(!_0x2f921f)return!0x1;let _0x426ca6=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76['IUniverInstanceService']),{unitId:_0x34fb70,tableId:_0xac4b03,recordId:_0x5a5ae8,fieldId:_0x4332eb,value:_0x178675}=_0x2f921f,_0x2a6269=_0x426ca6['getUnit'](_0x34fb70,_0x13cf76[_0x4ad488(0x331)]['UNIVER_BASE']);if(!_0x2a6269||!_0x2062fb(_0x2a6269,_0xac4b03,{'recordIds':[_0x5a5ae8],'fieldIds':[_0x4332eb]})||!_0x2432ed(_0x2a6269,_0xac4b03,_0x4332eb,_0x178675))return!0x1;let _0x1e79fe=_0x2a6269[_0x4ad488(0x463)]()[_0x4ad488(0x291)][_0xac4b03],_0x49b43d=_0x53a126(_0x1e79fe,_0x4332eb)&&_0x25a1a4(_0x1e79fe)[_0x4ad488(0x358)](_0x4332eb),_0x38361b=_0x49b43d?_0x4067d3(_0x1e79fe,_0x4332eb):null,_0x10127f=(_0x38361b==null?void 0x0:_0x38361b['parentByRecordId'][_0x4ad488(0x59c)](_0x5a5ae8))??null,_0x4640c4=_0x49b43d?_0x5a5d43(_0x178675)[0x0]??null:null;if(_0x38361b){if(_0x4640c4&&!_0x1e79fe[_0x4ad488(0x38f)][_0x4640c4])throw new _0x2dec10(_0x4ad488(0x2ba));let _0x281ebc=_0x158fff(_0x38361b,_0x5a5ae8,_0x4640c4);if(!_0x281ebc[_0x4ad488(0x49e)])throw new _0x2dec10(_0x281ebc['reason']===_0x13cf76['BaseHierarchyInvalidReason']['SelfParent']?'selfParent':_0x281ebc[_0x4ad488(0x2a3)]===_0x13cf76['BaseHierarchyInvalidReason'][_0x4ad488(0x375)]?_0x4ad488(0x3f4):_0x4ad488(0x2ab));}let _0x5b2e2d=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x1d3)]),_0x2db606=_0x456f1d[_0x4ad488(0x59c)](_0x13cf76[_0x4ad488(0x425)]),_0x2d2f9b=_0x456f1d['get'](_0x5cf6f3),_0x1f8318;try{_0x1f8318=_0x2d2f9b[_0x4ad488(0x420)](_0x2a6269,_0xac4b03,_0x5a5ae8,_0x4332eb,_0x178675);}catch(_0x1a704a){return console[_0x4ad488(0x26a)](_0x4ad488(0x19a),_0x1a704a),!0x1;}let _0x3c6fca=new _0x1aaf1b()[_0x4ad488(0x4b4)](_0x2a6269[_0x4ad488(0x463)](),_0x1f8318),_0x5f47a5=_0x49b43d&&_0x10127f!==_0x4640c4?[{'tableId':_0xac4b03,'fieldId':_0x4332eb,'recordId':_0x5a5ae8,'oldParentRecordId':_0x10127f,'parentRecordId':_0x4640c4}]:void 0x0,_0x1b3677={'unitId':_0x34fb70,'op':_0x1f8318,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5,'source':_0x5f47a5?_0x2f921f[_0x4ad488(0x47d)]??'ui':void 0x0},_0x4fe9bf={..._0x1b3677,'source':_0x5f47a5?_0x4ad488(0x3ee):void 0x0},_0x18c48c={'unitId':_0x34fb70,'op':_0x3c6fca,'trigger':_0x5f47a5?_0x2f1b8b['id']:void 0x0,'hierarchyChanges':_0x5f47a5==null?void 0x0:_0x5f47a5[_0x4ad488(0x329)](_0x34d789=>({..._0x34d789,'oldParentRecordId':_0x34d789[_0x4ad488(0x561)],'parentRecordId':_0x34d789[_0x4ad488(0x182)]})),'source':_0x5f47a5?_0x4ad488(0x505):void 0x0};return _0x5b2e2d[_0x4ad488(0x56d)](_0x4d02c8['id'],_0x1b3677)?(_0x426ca6['focusUnit'](_0x34fb70),_0x2db606['pushUndoRedo']({'unitID':_0x34fb70,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x18c48c}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x4fe9bf}]}),!0x0):!0x1;}},_0x11e333={'id':'base.command.update-base-field-description','type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x34d18b,_0x1b5f3a){const _0x432dd0=_0x571676;if(!_0x1b5f3a)return!0x1;let _0x54de73=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x59e)]),{unitId:_0x39aee7,tableId:_0x193e36,fieldId:_0x1294ed}=_0x1b5f3a,_0x10d5d7=_0x54de73['getUnit'](_0x39aee7,_0x13cf76[_0x432dd0(0x331)][_0x432dd0(0x321)]);if(!_0x10d5d7||!_0x2062fb(_0x10d5d7,_0x193e36,{'fieldIds':[_0x1294ed]}))return!0x1;let _0x398976=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x1d3)]),_0x4acff6=_0x34d18b[_0x432dd0(0x59c)](_0x13cf76[_0x432dd0(0x425)]),_0x52abba=_0x10d5d7[_0x432dd0(0x463)](),_0x5b5545=_0x1b5f3a['description'][_0x432dd0(0x2cd)](),_0x5b097e=new _0x3db0f3()[_0x432dd0(0x241)](_0x52abba,_0x193e36,_0x1294ed,{'description':_0x5b5545}),_0x237ce1=new _0x1aaf1b()[_0x432dd0(0x4b4)](_0x10d5d7[_0x432dd0(0x463)](),_0x5b097e),_0x32c312={'unitId':_0x39aee7,'op':_0x5b097e},_0x839a52={'unitId':_0x39aee7,'op':_0x237ce1};return _0x398976[_0x432dd0(0x56d)](_0x4d02c8['id'],_0x32c312)?(_0x54de73[_0x432dd0(0x2bd)](_0x39aee7),_0x4acff6[_0x432dd0(0x4f2)]({'unitID':_0x39aee7,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x839a52}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x32c312}]}),!0x0):!0x1;}},_0x2ea211={'id':_0x571676(0x17c),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x515744,_0x21c6e4)=>{const _0x85dd5=_0x571676;if(!_0x21c6e4)return!0x1;let _0x2700d6=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x59e)]),{unitId:_0x21c3b8,tableId:_0x409a1e,fieldId:_0x3facec,patch:_0x16a0a0}=_0x21c6e4,_0x4565e9=_0x2700d6[_0x85dd5(0x363)](_0x21c3b8,_0x13cf76[_0x85dd5(0x331)][_0x85dd5(0x321)]);if(!_0x4565e9||_0x3facec===_0x13cf76[_0x85dd5(0x544)]||!_0x2062fb(_0x4565e9,_0x409a1e,{'fieldIds':[_0x3facec]}))return!0x1;let _0xb55f21=_0x515744[_0x85dd5(0x59c)](_0x13cf76[_0x85dd5(0x1d3)]),_0x9e0fe7=_0x515744['get'](_0x13cf76['IUndoRedoService']),_0x167ad9=_0x4565e9['getSnapshot']();if(!_0x4e03f1(_0x4565e9,_0x409a1e,{..._0x167ad9[_0x85dd5(0x291)][_0x409a1e][_0x85dd5(0x3c2)][_0x3facec],..._0x16a0a0}))return!0x1;let _0x30daeb=new _0x3db0f3()[_0x85dd5(0x241)](_0x167ad9,_0x409a1e,_0x3facec,_0x16a0a0),_0x55c283=new _0x1aaf1b()['invertOp'](_0x167ad9,_0x30daeb),_0x1036aa={'unitId':_0x21c3b8,'op':_0x30daeb},_0x524b00={'unitId':_0x21c3b8,'op':_0x55c283};return _0xb55f21[_0x85dd5(0x56d)](_0x4d02c8['id'],_0x1036aa)?(_0x2700d6[_0x85dd5(0x2bd)](_0x21c3b8),_0x9e0fe7[_0x85dd5(0x4f2)]({'unitID':_0x21c3b8,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x524b00}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1036aa}]}),!0x0):!0x1;}},_0x292a44={'id':_0x571676(0x1b0),'type':_0x13cf76[_0x571676(0x564)]['COMMAND'],'handler':(_0x10daf5,_0x16005a)=>{const _0x3541cd=_0x571676;if(!_0x16005a)return!0x1;let _0x266fa3=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x59e)]),{unitId:_0x54ab82,tableId:_0x25fdc6,viewId:_0x27396b,patch:_0x5e9ec5}=_0x16005a,_0x58e437=_0x266fa3[_0x3541cd(0x363)](_0x54ab82,_0x13cf76[_0x3541cd(0x331)]['UNIVER_BASE']);if(!_0x58e437||!_0x2062fb(_0x58e437,_0x25fdc6,{'viewIds':[_0x27396b]}))return!0x1;let _0x14f7b6=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76[_0x3541cd(0x1d3)]),_0x4d6b2a=_0x10daf5[_0x3541cd(0x59c)](_0x13cf76['IUndoRedoService']),_0x1448a8=_0x58e437[_0x3541cd(0x463)](),_0x2b76af=new _0x3db0f3()['updateViewConfig'](_0x1448a8,_0x25fdc6,_0x27396b,_0x5e9ec5),_0x53e255=new _0x1aaf1b()[_0x3541cd(0x4b4)](_0x1448a8,_0x2b76af),_0x111613={'unitId':_0x54ab82,'op':_0x2b76af},_0x374a46={'unitId':_0x54ab82,'op':_0x53e255};return _0x14f7b6[_0x3541cd(0x56d)](_0x4d02c8['id'],_0x111613)?(_0x266fa3[_0x3541cd(0x2bd)](_0x54ab82),_0x4d6b2a[_0x3541cd(0x4f2)]({'unitID':_0x54ab82,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x374a46}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x111613}]}),!0x0):!0x1;}},_0x3975dc={'id':_0x571676(0x470),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x2e7583,_0x423324)=>{const _0x474aa0=_0x571676;if(!_0x423324)return!0x1;let _0x38dcd5=_0x2e7583['get'](_0x13cf76['IUniverInstanceService']),{unitId:_0x362b78,tableId:_0x1a518c,recordId:_0x361a0f,orderKey:_0x52215a}=_0x423324,_0x378c10=_0x38dcd5[_0x474aa0(0x363)](_0x362b78,_0x13cf76[_0x474aa0(0x331)]['UNIVER_BASE']);if(!_0x378c10||!_0x2062fb(_0x378c10,_0x1a518c,{'recordIds':[_0x361a0f]}))return!0x1;let _0x630f97=_0x2e7583[_0x474aa0(0x59c)](_0x13cf76[_0x474aa0(0x1d3)]),_0x532c35=_0x2e7583['get'](_0x13cf76[_0x474aa0(0x425)]),_0x481a84=_0x378c10[_0x474aa0(0x463)](),_0x314a94=new _0x3db0f3()[_0x474aa0(0x1ad)](_0x481a84,_0x1a518c,_0x361a0f,_0x52215a),_0x3f436e=new _0x1aaf1b()[_0x474aa0(0x4b4)](_0x481a84,_0x314a94),_0x1103ca={'unitId':_0x362b78,'op':_0x314a94},_0x10b449={'unitId':_0x362b78,'op':_0x3f436e};return _0x630f97[_0x474aa0(0x56d)](_0x4d02c8['id'],_0x1103ca)?(_0x38dcd5[_0x474aa0(0x2bd)](_0x362b78),_0x532c35[_0x474aa0(0x4f2)]({'unitID':_0x362b78,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x10b449}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x1103ca}]}),!0x0):!0x1;}},_0x4904eb=function(_0x36ffab){const _0x29ff72=_0x571676;return _0x36ffab[_0x29ff72(0x36b)]=_0x29ff72(0x569),_0x36ffab[_0x29ff72(0x1d9)]=_0x29ff72(0x54c),_0x36ffab[_0x29ff72(0x553)]=_0x29ff72(0x37c),_0x36ffab[_0x29ff72(0x4d2)]=_0x29ff72(0x35a),_0x36ffab;}({}),_0x5c63df={'id':_0x571676(0x305),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x47618f,_0x24eda1)=>{const _0x4fbd2f=_0x571676;var _0x31c556;if(!_0x24eda1)return!0x1;let _0x33eb2a=_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x59e)]),_0x367612=_0x33eb2a[_0x4fbd2f(0x363)](_0x24eda1[_0x4fbd2f(0x2aa)],_0x13cf76['UniverInstanceType'][_0x4fbd2f(0x321)]);if(!_0x367612||!_0x2062fb(_0x367612,_0x24eda1[_0x4fbd2f(0x33f)],{'viewIds':[_0x24eda1[_0x4fbd2f(0x1ca)]]}))return!0x1;let _0x2f180b=_0x367612[_0x4fbd2f(0x463)](),_0x20f0bc=_0x2f180b[_0x4fbd2f(0x291)][_0x24eda1[_0x4fbd2f(0x33f)]],_0x346eb0=_0x1a950b(((_0x31c556=_0x20f0bc[_0x4fbd2f(0x18d)][_0x24eda1['viewId']][_0x4fbd2f(0x5b9)][_0x4fbd2f(0x403)])==null?void 0x0:_0x31c556['rules'])??[],_0x24eda1);if(!_0x346eb0)return!0x1;_0x50f31a(_0x20f0bc,_0x346eb0);let _0x48b266=new _0x3db0f3()[_0x4fbd2f(0x20d)](_0x2f180b,_0x24eda1[_0x4fbd2f(0x33f)],_0x24eda1['viewId'],{'conditionalColoring':_0x346eb0[_0x4fbd2f(0x4e9)]?{'rules':_0x346eb0}:null}),_0xdc86d6=new _0x1aaf1b()[_0x4fbd2f(0x4b4)](_0x2f180b,_0x48b266),_0x588fbd={'unitId':_0x24eda1[_0x4fbd2f(0x2aa)],'op':_0x48b266},_0x21d911={'unitId':_0x24eda1['unitId'],'op':_0xdc86d6};return _0x47618f['get'](_0x13cf76[_0x4fbd2f(0x1d3)])['syncExecuteCommand'](_0x4d02c8['id'],_0x588fbd)?(_0x33eb2a[_0x4fbd2f(0x2bd)](_0x24eda1['unitId']),_0x47618f[_0x4fbd2f(0x59c)](_0x13cf76[_0x4fbd2f(0x425)])[_0x4fbd2f(0x4f2)]({'unitID':_0x24eda1[_0x4fbd2f(0x2aa)],'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x21d911}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x588fbd}]}),!0x0):!0x1;}};function _0x1a950b(_0x59d2e9,_0x167c44){const _0x54fbb5=_0x571676;switch(_0x167c44[_0x54fbb5(0x292)]){case _0x54fbb5(0x569):return _0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x167c44[_0x54fbb5(0x4a5)]);case _0x54fbb5(0x54c):return[..._0x13cf76[_0x54fbb5(0x39a)]['deepClone'](_0x59d2e9),_0x13cf76[_0x54fbb5(0x39a)][_0x54fbb5(0x495)](_0x167c44[_0x54fbb5(0x336)])];case _0x54fbb5(0x37c):{let _0xb3092f=_0x59d2e9[_0x54fbb5(0x3c4)](_0x35953c=>_0x35953c['id']!==_0x167c44[_0x54fbb5(0x487)]);return _0xb3092f[_0x54fbb5(0x4e9)]===_0x59d2e9[_0x54fbb5(0x4e9)]?null:_0x13cf76['Tools'][_0x54fbb5(0x495)](_0xb3092f);}case'clear':return _0x59d2e9[_0x54fbb5(0x4e9)]?[]:null;}}function _0x50f31a(_0x3ec3b8,_0x331d31){const _0x40ef1f=_0x571676;if(!Array[_0x40ef1f(0x21f)](_0x331d31))throw TypeError(_0x40ef1f(0x5a6));let _0x2d6ac0=new Set();for(let [_0x1b7711,_0x5318ac]of _0x331d31[_0x40ef1f(0x460)]())_0x2aa1a4(_0x3ec3b8,_0x5318ac,_0x536edd(_0x5318ac,_0x1b7711,_0x2d6ac0));}function _0x536edd(_0x1be5ea,_0x1e2900,_0x16a54b){const _0x59ced0=_0x571676;if(!_0x1be5ea||typeof _0x1be5ea!=_0x59ced0(0x1a7))throw TypeError(_0x59ced0(0x219)+_0x1e2900+_0x59ced0(0x1a9));let _0x19111d=typeof _0x1be5ea['id']==_0x59ced0(0x2b6)&&_0x1be5ea['id'][_0x59ced0(0x2cd)]()?'\x22'+_0x1be5ea['id']+'\x22':_0x59ced0(0x2b5)+_0x1e2900;if(typeof _0x1be5ea['id']!=_0x59ced0(0x2b6)||!_0x1be5ea['id'][_0x59ced0(0x2cd)]())throw Error(_0x59ced0(0x3c6)+_0x19111d+_0x59ced0(0x5b1));if(_0x16a54b['has'](_0x1be5ea['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x1be5ea['id']+'\x22.');_0x16a54b[_0x59ced0(0x54c)](_0x1be5ea['id']);let _0x348821=typeof _0x1be5ea['color']==_0x59ced0(0x2b6)&&_0x1be5ea['color'][_0x59ced0(0x2cd)]()?new _0x13cf76[(_0x59ced0(0x236))](_0x1be5ea[_0x59ced0(0x393)]):null;if(!(_0x348821!=null&&_0x348821[_0x59ced0(0x385)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x19111d+_0x59ced0(0x25b));return _0x19111d;}function _0x2aa1a4(_0x35aa37,_0x15d4f8,_0x4a5752){const _0x29ab57=_0x571676;let _0x3dba85=new Set(Object['values'](_0x13cf76[_0x29ab57(0x446)])),_0x10b371=new Set(Object['values'](_0x13cf76[_0x29ab57(0x1b1)])),_0x556ba8=new Set(Object[_0x29ab57(0x334)](_0x13cf76[_0x29ab57(0x218)]));if(!_0x3dba85[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4dd)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x5c2)+String(_0x15d4f8[_0x29ab57(0x4dd)])+'\x22.');let _0x4fbcfa=typeof _0x15d4f8['fieldId']==_0x29ab57(0x2b6)?_0x35aa37[_0x29ab57(0x3c2)][_0x15d4f8[_0x29ab57(0x384)]]:void 0x0;if(!_0x4fbcfa||_0x4fbcfa[_0x29ab57(0x4f8)]===!0x0||_0x4fbcfa['type']===_0x13cf76[_0x29ab57(0x517)][_0x29ab57(0x2ea)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x15d4f8[_0x29ab57(0x384)])+'\x22.');if(!_0x10b371[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x4a2)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4a5752+_0x29ab57(0x23f)+String(_0x15d4f8[_0x29ab57(0x4a2)])+'\x22.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x556ba8[_0x29ab57(0x370)](_0x15d4f8[_0x29ab57(0x39c)]))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x24e)+String(_0x15d4f8[_0x29ab57(0x39c)])+'\x22.');if(_0x15d4f8['target']===_0x13cf76[_0x29ab57(0x446)]['COLUMN'])return;let _0x3eb97b=_0xd379e5(_0x4fbcfa['type']);if(!_0x3eb97b[_0x29ab57(0x358)](_0x15d4f8['operator']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+'\x20cannot\x20use\x20operator\x20\x22'+_0x15d4f8[_0x29ab57(0x4a2)]+_0x29ab57(0x333)+_0x4fbcfa[_0x29ab57(0x292)]+_0x29ab57(0x4a7)+_0x3eb97b[_0x29ab57(0x4b9)](',\x20')+'.');if(_0x15d4f8[_0x29ab57(0x39c)]!==void 0x0&&!_0x33b8b5(_0x4fbcfa['type']))throw Error(_0x29ab57(0x3c6)+_0x4a5752+_0x29ab57(0x25a));}let _0x3f4bfc={'id':_0x571676(0x24d),'type':_0x13cf76['CommandType'][_0x571676(0x594)],'handler':(_0x4bde4c,_0x2fbc4a)=>{const _0xb0d2f6=_0x571676;if(!_0x2fbc4a)return!0x1;let _0x44d099=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x59e)]),{unitId:_0x394324,tableId:_0x5c3c07,viewId:_0x1bc1ff,patch:_0x4ce3c8}=_0x2fbc4a,_0x43128c=_0x44d099[_0xb0d2f6(0x363)](_0x394324,_0x13cf76[_0xb0d2f6(0x331)][_0xb0d2f6(0x321)]);if(!_0x43128c||!_0x2062fb(_0x43128c,_0x5c3c07,{'viewIds':[_0x1bc1ff]}))return!0x1;let _0x100341=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76['ICommandService']),_0x209357=_0x4bde4c[_0xb0d2f6(0x59c)](_0x13cf76[_0xb0d2f6(0x425)]),_0x5ef246=_0x43128c[_0xb0d2f6(0x463)](),_0x449db6=new _0x3db0f3()[_0xb0d2f6(0x20d)](_0x5ef246,_0x5c3c07,_0x1bc1ff,_0x4ce3c8),_0x118e57=new _0x1aaf1b()[_0xb0d2f6(0x4b4)](_0x5ef246,_0x449db6),_0x3e567c={'unitId':_0x394324,'op':_0x449db6},_0x30149d={'unitId':_0x394324,'op':_0x118e57};return _0x100341[_0xb0d2f6(0x56d)](_0x4d02c8['id'],_0x3e567c)?(_0x44d099['focusUnit'](_0x394324),_0x209357['pushUndoRedo']({'unitID':_0x394324,'undoMutations':[{'id':_0x4d02c8['id'],'params':_0x30149d}],'redoMutations':[{'id':_0x4d02c8['id'],'params':_0x3e567c}]}),!0x0):!0x1;}},_0x37f9a6={'id':_0x571676(0x476),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x594)],'handler'(_0x1ab67a,_0x4a71b9){const _0x219c43=_0x571676;if(!_0x4a71b9)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x110c0c=_0x1ab67a['get'](_0x13cf76['IUniverInstanceService'])[_0x219c43(0x363)](_0x4a71b9[_0x219c43(0x2aa)],_0x13cf76[_0x219c43(0x331)][_0x219c43(0x321)]),_0x3a2d15=_0x110c0c==null?void 0x0:_0x110c0c['getSnapshot'](),_0x2ad951=_0x3a2d15==null?void 0x0:_0x3a2d15[_0x219c43(0x291)][_0x4a71b9[_0x219c43(0x33f)]];return!_0x3a2d15||!_0x2ad951?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0x3bb03f()['validateFormula'](_0x4a71b9[_0x219c43(0x2b7)],_0x2ad951,{'snapshot':_0x3a2d15});}},_0x15ceca=class extends _0x13cf76[_0x571676(0x579)]{constructor(_0x56d6b5){const _0x5baf52=_0x571676;super(_0x56d6b5,'BASE_OBJECT_PERMISSION_PLUGIN',_0x13cf76['UniverInstanceType'][_0x5baf52(0x321)],[_0x93a0d4['UnitObject']['BaseTable'],_0x93a0d4['UnitObject'][_0x5baf52(0x24c)],_0x93a0d4['UnitObject'][_0x5baf52(0x52c)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x32f)],_0x93a0d4[_0x5baf52(0x1a5)][_0x5baf52(0x4d7)]]);}};_0x15ceca=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x4f7)])],_0x15ceca);let _0x592127={'id':_0x571676(0x59a),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x40b419,_0x4e09aa)=>!_0x4e09aa||!_0x40b419[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x4e09aa[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x40b419[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x5da)](_0x4e09aa['unitId'],_0x4e09aa[_0x571676(0x1ff)],_0x4e09aa[_0x571676(0x3f3)],_0x4e09aa['rule'])},_0x5ba4b4={'id':_0x571676(0x371),'type':_0x13cf76[_0x571676(0x564)][_0x571676(0x3c5)],'handler':(_0x55f06d,_0x3357cd)=>!_0x3357cd||!_0x55f06d[_0x571676(0x59c)](_0x13cf76[_0x571676(0x59e)])[_0x571676(0x363)](_0x3357cd[_0x571676(0x2aa)],_0x13cf76[_0x571676(0x331)][_0x571676(0x321)])?!0x1:_0x55f06d[_0x571676(0x59c)](_0x15ceca)[_0x571676(0x283)](_0x3357cd[_0x571676(0x2aa)],_0x3357cd[_0x571676(0x4a5)])};function _0x910a(_0x57b0cc){const _0x56d147=_0x571676;let _0x3d3434=_0x57b0cc[_0x56d147(0x5e4)]??Date[_0x56d147(0x5e4)](),_0x3a2f88=_0x57b0cc[_0x56d147(0x422)]??_0x57b0cc['id']+_0x56d147(0x4e8),_0x40c041=_0x57b0cc['gridViewId']??_0x57b0cc['id']+_0x56d147(0x25f),_0x52c5a2=_0x57b0cc[_0x56d147(0x473)]??0x0,_0x1d42f9=(0x0,_0x13cf76[_0x56d147(0x365)])(),_0x4c28bb={'id':_0x3a2f88,'name':_0x57b0cc['primaryFieldName']??_0x56d147(0x48b),'type':_0x13cf76[_0x56d147(0x517)][_0x56d147(0x4c5)],'config':{'placeholder':_0x56d147(0x343)}},_0x1d71be={},_0x4a254c=[],_0xda83={},_0x351a65={},_0xa62e6e={};for(let _0x5c5dbf=0x0;_0x5c5dbf<_0x52c5a2;_0x5c5dbf++){let _0xbb7e92=_0x57b0cc['id']+_0x56d147(0x286)+(_0x5c5dbf+0x1);_0x1d71be[_0xbb7e92]={'id':_0xbb7e92,'values':{[_0x13cf76[_0x56d147(0x544)]]:_0xbb7e92,..._0x57b0cc[_0x56d147(0x2a5)]?{[_0x3a2f88]:_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1)}:{}},'orderKey':String(_0x5c5dbf+0x1)[_0x56d147(0x59d)](0x4,'0'),'createdAt':_0x3d3434,'updatedAt':_0x3d3434},_0x4a254c[_0x56d147(0x401)](_0xbb7e92),_0xda83[_0xbb7e92]=_0x5c5dbf,_0x351a65[_0x5c5dbf]=_0xbb7e92,_0xa62e6e[_0x5c5dbf]={0x0:{'v':_0xbb7e92,'t':_0x13cf76[_0x56d147(0x32d)][_0x56d147(0x562)]}},_0x57b0cc[_0x56d147(0x2a5)]&&(_0xa62e6e[_0x5c5dbf][0x1]={'v':_0x57b0cc[_0x56d147(0x2a5)]+'\x20'+(_0x5c5dbf+0x1),'t':_0x13cf76['CellValueType'][_0x56d147(0x562)]});}let _0x367872={'id':_0x40c041,'tableId':_0x57b0cc['id'],'name':_0x56d147(0x4fc),'type':_0x13cf76['BaseViewType'][_0x56d147(0x4fc)],'fieldOrder':[_0x13cf76['BASE_RECORD_ID_FIELD_ID'],_0x3a2f88],'fieldSettings':{[_0x13cf76[_0x56d147(0x544)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x57b0cc['id'],'name':_0x57b0cc[_0x56d147(0x46d)],'primaryFieldId':_0x3a2f88,'fieldOrder':[_0x13cf76[_0x56d147(0x544)],_0x3a2f88],'fields':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:_0x1d42f9,[_0x3a2f88]:_0x4c28bb},'records':_0x1d71be,'recordOrder':_0x4a254c,'rowIndex':_0xda83,'rowId':_0x351a65,'colIndex':{[_0x13cf76['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x3a2f88]:0x1},'colId':{0x0:_0x13cf76[_0x56d147(0x544)],0x1:_0x3a2f88},'cellData':_0xa62e6e,'views':{[_0x40c041]:_0x367872},'viewOrder':[_0x40c041]};}let _0x3d977d='UNIVER_EMBED_BASES_TABLE';function _0x32bf44(_0x521a59){const _0xc0d0da=_0x571676;let _0x5bc3f7=_0x910a({'id':_0x521a59[_0xc0d0da(0x183)],'name':_0x521a59[_0xc0d0da(0x46d)]??_0x521a59[_0xc0d0da(0x37a)],'recordCount':0x0});return{..._0x5bc3f7,'resources':{..._0x5bc3f7[_0xc0d0da(0x23c)]??{},[_0x3d977d]:_0x2a0328(_0x521a59)}};}function _0x293936(_0x21de27){const _0x3c9741=_0x571676;return{'id':_0x4d02c8['id'],'params':{'unitId':_0x21de27[_0x3c9741(0x2aa)],'op':_0x13cf76['JSON1'][_0x3c9741(0x292)][_0x3c9741(0x199)](_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x291),_0x21de27[_0x3c9741(0x4b7)]['id']],_0x21de27[_0x3c9741(0x4b7)]),_0x13cf76[_0x3c9741(0x575)][_0x3c9741(0x48c)]([_0x3c9741(0x4d9),_0x21de27[_0x3c9741(0x36f)]??_0x21de27[_0x3c9741(0x4cb)][_0x3c9741(0x4d9)][_0x3c9741(0x4e9)]],_0x21de27[_0x3c9741(0x4b7)]['id'])),'trigger':_0x3c9741(0x530)}};}function _0x1b9b54(_0x444a98){const _0x46e325=_0x571676;let _0xe3f384=_0x444a98['snapshot'][_0x46e325(0x4d9)][_0x46e325(0x406)](_0x444a98[_0x46e325(0x33f)]);if(!(!_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]||_0xe3f384<0x0))return{'id':_0x4d02c8['id'],'params':{'unitId':_0x444a98[_0x46e325(0x2aa)],'op':_0x13cf76[_0x46e325(0x575)][_0x46e325(0x292)][_0x46e325(0x199)](_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)](['tables',_0x444a98[_0x46e325(0x33f)]],_0x444a98[_0x46e325(0x4cb)][_0x46e325(0x291)][_0x444a98[_0x46e325(0x33f)]]),_0x13cf76[_0x46e325(0x575)][_0x46e325(0x4ed)]([_0x46e325(0x4d9),_0xe3f384],_0x444a98['tableId'])),'trigger':_0x46e325(0x530)}};}function _0x2a0328(_0x6b5857){const _0x1e2862=_0x571676;return{'version':0x1,'embedId':_0x6b5857[_0x1e2862(0x37a)],'hostAnchorId':_0x6b5857[_0x1e2862(0x183)],'childUnitId':_0x6b5857[_0x1e2862(0x50f)],'childType':_0x6b5857[_0x1e2862(0x354)]};}function _0x68e884(_0x27adec){const _0x54ea2b=_0x571676;let _0x23a95d=Math['max'](0x0,Number(_0x27adec[_0x54ea2b(0x598)]??0x0)),_0x3df370=_0x27adec['useThousands']===!0x1?'0':_0x54ea2b(0x204),_0x18eb30=_0x23a95d?'.'+'0'[_0x54ea2b(0x289)](_0x23a95d):'',_0x5db175=_0x1a69fe(_0x27adec[_0x54ea2b(0x5d9)]);return''+(_0x27adec[_0x54ea2b(0x595)]?_0x371668(_0x27adec[_0x54ea2b(0x595)]):'')+_0x3df370+_0x18eb30+_0x5db175;}function _0x4dcf16(_0x3e1701,_0x1e1f3c){const _0x1930b0=_0x571676;let _0x7546ca=_0x68e884(_0x1e1f3c),_0x35838e=_0x13cf76['numfmt'][_0x1930b0(0x278)](_0x7546ca,_0x3e1701,{'throws':!0x1});return _0x118aed(String(_0x35838e),_0x1e1f3c['separatorStyle'],_0x1e1f3c[_0x1930b0(0x40a)]);}function _0x1a69fe(_0x5c17bf){const _0x32128a=_0x571676;return _0x5c17bf==='K'?_0x32128a(0x2e5):_0x5c17bf==='M'?_0x32128a(0x25e):_0x5c17bf==='B'?_0x32128a(0x535):'';}function _0x371668(_0x3db15f){const _0x2a0644=_0x571676;return/^[A-Z]+$/i[_0x2a0644(0x50e)](_0x3db15f)?'\x22'+_0x3db15f+'\x22':_0x3db15f;}function _0x118aed(_0x2fe8fd,_0x159437,_0x7c5b6f){const _0x26ecb3=_0x571676;let _0x4729e5=_0x159437==='local'?_0x6f7f1(_0x7c5b6f):_0x159437;return _0x4729e5===_0x26ecb3(0x3e3)?_0x2fe8fd['replace'](/,/g,'\x00')[_0x26ecb3(0x5ae)](/\./g,',')[_0x26ecb3(0x5ae)](/\0/g,'.'):_0x4729e5===_0x26ecb3(0x471)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20')[_0x26ecb3(0x5ae)](/\./g,','):_0x4729e5===_0x26ecb3(0x464)?_0x2fe8fd[_0x26ecb3(0x5ae)](/,/g,'\x20'):_0x2fe8fd;}function _0x6f7f1(_0x324858){const _0x52e600=_0x571676;var _0x2008e6,_0x3365cf;let _0xa898d5=_0x324858||new Intl[(_0x52e600(0x58f))]()['resolvedOptions']()[_0x52e600(0x40a)],_0x38242b;try{_0x38242b=new Intl['NumberFormat'](_0xa898d5,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x52e600(0x504);}let _0x3bcc20=(_0x2008e6=_0x38242b[_0x52e600(0x56a)](_0x46e610=>_0x46e610['type']==='group'))==null?void 0x0:_0x2008e6[_0x52e600(0x315)],_0xce8d66=(_0x3365cf=_0x38242b[_0x52e600(0x56a)](_0x36c956=>_0x36c956['type']===_0x52e600(0x207)))==null?void 0x0:_0x3365cf[_0x52e600(0x315)],_0x38e940=_0x3bcc20==='\u00a0'||_0x3bcc20==='\u202f'?'\x20':_0x3bcc20;return _0x38e940==='.'&&_0xce8d66===','?_0x52e600(0x3e3):_0x38e940==='\x20'&&_0xce8d66===','?_0x52e600(0x471):_0x38e940==='\x20'&&_0xce8d66==='.'?_0x52e600(0x464):'commaPeriod';}function _0x40750c(_0x2c0d67,_0x62e2b8){const _0x53e83e=_0x571676;let _0x31ada3=_0x62e2b8&&typeof _0x62e2b8==_0x53e83e(0x1a7)&&!Array['isArray'](_0x62e2b8)?_0x62e2b8:{},_0x5c6460=_0x32d060(_0x31ada3[_0x53e83e(0x598)],0x0,0x2,0x0),_0x169c13=_0x2c0d67[_0x53e83e(0x2da)](_0x5c6460);return _0x31ada3[_0x53e83e(0x278)]===_0x53e83e(0x3dc)?_0x169c13:_0x169c13+'%';}function _0x32d060(_0x1c3709,_0x3a40f9,_0x5756c9,_0x366d7c){const _0x59a5e0=_0x571676;if(_0x1c3709==null||_0x1c3709==='')return _0x366d7c;let _0x7a145=typeof _0x1c3709==_0x59a5e0(0x3dc)?_0x1c3709:Number(_0x1c3709);return Number[_0x59a5e0(0x195)](_0x7a145)?Math['max'](_0x3a40f9,Math[_0x59a5e0(0x5a2)](_0x5756c9,Math[_0x59a5e0(0x43e)](_0x7a145))):_0x366d7c;}let _0x49b302=['count',_0x571676(0x18e),'empty',_0x571676(0x3bf),_0x571676(0x1db),'average',_0x571676(0x5a2),_0x571676(0x402)],_0x566424=[_0x571676(0x1fb),_0x571676(0x18e),_0x571676(0x252),_0x571676(0x3bf)],_0x56f032=['sum',_0x571676(0x442),_0x571676(0x5a2),_0x571676(0x402)],_0x3cdb38=[_0x571676(0x5a2),_0x571676(0x402)],_0x3df33c=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x400)],_0x13cf76['BaseFieldType'][_0x571676(0x39e)],_0x13cf76['BaseFieldType'][_0x571676(0x51c)],_0x13cf76[_0x571676(0x517)][_0x571676(0x238)]]),_0x450dd3=new Set([_0x13cf76[_0x571676(0x517)][_0x571676(0x247)],_0x13cf76['BaseFieldType'][_0x571676(0x43f)],_0x13cf76[_0x571676(0x517)][_0x571676(0x53b)]]),_0x3791de=_0x571676(0x3b0);function _0x9ba099(_0x25062b){const _0x2035dc=_0x571676;return typeof _0x25062b==_0x2035dc(0x2b6)&&_0x49b302['includes'](_0x25062b);}function _0x22bd83(_0x3b0d62){const _0x4536a0=_0x571676;return!_0x3b0d62||typeof _0x3b0d62!=_0x4536a0(0x1a7)?{}:Object[_0x4536a0(0x1fc)](Object[_0x4536a0(0x460)](_0x3b0d62)['filter'](_0x48e2c2=>_0x9ba099(_0x48e2c2[0x1])));}function _0x2e2ae5(_0x12f5fa){const _0x2197ee=_0x571676;return _0x3df33c['has'](_0x12f5fa[_0x2197ee(0x292)])?[..._0x566424,..._0x56f032]:_0x12f5fa[_0x2197ee(0x292)]===_0x13cf76[_0x2197ee(0x517)]['Formula']?[..._0x566424,..._0x4d721f(_0x12f5fa)===_0x2197ee(0x44b)?_0x3cdb38:_0x56f032]:_0x566424;}function _0xb8bdd7(_0x1891e2,_0x5ec547){return _0x2e2ae5(_0x1891e2)['includes'](_0x5ec547);}function _0xa2d18d(_0x208854,_0x3399cf,_0x2fb35e){const _0x296bf8=_0x571676;if(!_0xb8bdd7(_0x208854,_0x2fb35e))return null;let _0x346f44=_0x3399cf[_0x296bf8(0x3c4)](_0x5a288a=>!_0x578626(_0x208854,_0x5a288a));switch(_0x2fb35e){case _0x296bf8(0x1fb):return _0x3399cf['length'];case _0x296bf8(0x18e):return _0x346f44['length'];case _0x296bf8(0x252):return _0x3399cf[_0x296bf8(0x4e9)]-_0x346f44['length'];case _0x296bf8(0x3bf):return new Set(_0x346f44[_0x296bf8(0x329)](_0x1cb9fa=>_0x3c3cbb(_0x208854,_0x1cb9fa)))[_0x296bf8(0x366)];case _0x296bf8(0x1db):{let _0x4837ee=_0x2c3031(_0x208854,_0x346f44);return _0x4837ee[_0x296bf8(0x4e9)]?_0x4badca(_0x4837ee):null;}case _0x296bf8(0x442):{let _0x42f5f9=_0x2c3031(_0x208854,_0x346f44);return _0x42f5f9[_0x296bf8(0x4e9)]?_0x4badca(_0x42f5f9)/_0x42f5f9[_0x296bf8(0x4e9)]:null;}case _0x296bf8(0x5a2):{let _0x3d0c02=_0x2c3031(_0x208854,_0x346f44);return _0x3d0c02['length']?Math[_0x296bf8(0x5a2)](..._0x3d0c02):null;}case'max':{let _0x154724=_0x2c3031(_0x208854,_0x346f44);return _0x154724['length']?Math[_0x296bf8(0x402)](..._0x154724):null;}}}function _0x2e2210(_0x5c8e42,_0x4aa231,_0x490475){const _0x16918e=_0x571676;if(_0x490475==null||!Number[_0x16918e(0x195)](_0x490475))return'-';if(_0x566424['includes'](_0x4aa231))return String(_0x490475);switch(_0x5c8e42['type']){case _0x13cf76[_0x16918e(0x517)]['Number']:return _0x4dcf16(_0x490475,_0x2f78d7(_0x5c8e42));case _0x13cf76[_0x16918e(0x517)][_0x16918e(0x39e)]:return _0x4dcf16(_0x490475,_0xc13aef(_0x5c8e42));case _0x13cf76['BaseFieldType'][_0x16918e(0x51c)]:return _0x40750c(_0x490475,_0x5c8e42['config']);case _0x13cf76['BaseFieldType'][_0x16918e(0x26c)]:return _0x44d203(_0x490475,_0x5c8e42);default:return _0x5547f3(_0x490475);}}function _0x578626(_0x14256f,_0x1143d2){const _0x2eac29=_0x571676;if(_0x1143d2==null)return!0x0;if(typeof _0x1143d2==_0x2eac29(0x2b6))return _0x1143d2[_0x2eac29(0x2cd)]()==='';if(Array[_0x2eac29(0x21f)](_0x1143d2))return _0x14256f[_0x2eac29(0x292)]===_0x13cf76[_0x2eac29(0x517)][_0x2eac29(0x312)]?!_0x1143d2[_0x2eac29(0x1ab)](_0x2305b6):_0x1143d2['length']===0x0;if(_0x14256f[_0x2eac29(0x292)]===_0x13cf76['BaseFieldType'][_0x2eac29(0x3b6)]&&typeof _0x1143d2==_0x2eac29(0x1a7)){let _0x35f452=_0x1143d2;return[_0x35f452[_0x2eac29(0x5df)],_0x35f452['url']][_0x2eac29(0x5a5)](_0x2a587d=>_0x2a587d==null||String(_0x2a587d)['trim']()==='');}return!0x1;}function _0x2c3031(_0x42218b,_0x4c4107){const _0x38db53=_0x571676;let _0x30e865=[];for(let _0x1be0a7 of _0x4c4107){let _0x4f47e7=_0x1397fc(_0x42218b,_0x1be0a7);_0x4f47e7!=null&&_0x30e865[_0x38db53(0x401)](_0x4f47e7);}return _0x30e865;}function _0x1397fc(_0x4477a4,_0x55c884){const _0x4f60bb=_0x571676;if(typeof _0x55c884==_0x4f60bb(0x3dc))return Number[_0x4f60bb(0x195)](_0x55c884)?_0x55c884:null;if(_0x4477a4[_0x4f60bb(0x292)]!==_0x13cf76['BaseFieldType']['Formula']&&typeof _0x55c884==_0x4f60bb(0x2b6)&&_0x55c884['trim']()!==''){let _0x1666e9=Number(_0x55c884);return Number['isFinite'](_0x1666e9)?_0x1666e9:null;}return null;}function _0x4badca(_0x4c8fcc){const _0x4f66cb=_0x571676;let _0x56d79b=0x0,_0x402316=0x0;for(let _0x477cec of _0x4c8fcc){let _0x5dd3ff=_0x56d79b+_0x477cec;_0x402316+=Math[_0x4f66cb(0x1cf)](_0x56d79b)>=Math['abs'](_0x477cec)?_0x56d79b-_0x5dd3ff+_0x477cec:_0x477cec-_0x5dd3ff+_0x56d79b,_0x56d79b=_0x5dd3ff;}return _0x56d79b+_0x402316;}function _0x3c3cbb(_0x36591d,_0x3109a6){const _0x4f8f51=_0x571676;return _0x450dd3[_0x4f8f51(0x370)](_0x36591d['type'])&&Array[_0x4f8f51(0x21f)](_0x3109a6)?_0x162b8b([...new Set(_0x3109a6['map'](_0x36cdf8=>_0x162b8b(_0xdb0a1f(_0x36cdf8))))]['sort']()):_0x162b8b(_0xdb0a1f(_0x3109a6));}function _0xdb0a1f(_0x2fbbac){const _0x4dec10=_0x571676;return Array[_0x4dec10(0x21f)](_0x2fbbac)?_0x2fbbac['map'](_0xdb0a1f):_0x2fbbac&&typeof _0x2fbbac=='object'?Object[_0x4dec10(0x1fc)](Object[_0x4dec10(0x460)](_0x2fbbac)[_0x4dec10(0x4af)](([_0x9dddf6],[_0x18ad2a])=>_0x9dddf6[_0x4dec10(0x391)](_0x18ad2a))['map'](([_0x160ed7,_0x56daee])=>[_0x160ed7,_0xdb0a1f(_0x56daee)])):_0x2fbbac;}function _0x162b8b(_0x391229){const _0x5350a7=_0x571676;return JSON[_0x5350a7(0x30d)](_0x391229)??_0x5350a7(0x306);}function _0x2305b6(_0x3662a2){const _0x1def23=_0x571676;if(typeof _0x3662a2==_0x1def23(0x2b6))return _0x3662a2[_0x1def23(0x2cd)]()!=='';if(!_0x3662a2||typeof _0x3662a2!=_0x1def23(0x1a7))return!0x1;let _0xfdf2a0=_0x3662a2;return[_0xfdf2a0['id'],_0xfdf2a0[_0x1def23(0x46d)],_0xfdf2a0[_0x1def23(0x47d)],_0xfdf2a0[_0x1def23(0x395)],_0xfdf2a0['thumbnail']][_0x1def23(0x1ab)](_0x238386=>_0x238386!=null&&String(_0x238386)[_0x1def23(0x2cd)]()!=='');}function _0x2f78d7(_0x230a93){const _0x53cf42=_0x571676;let _0x11dc50=_0x54f791(_0x230a93[_0x53cf42(0x5b9)]);return{'decimalPlaces':_0x514550(_0x11dc50[_0x53cf42(0x598)],0x0,0x14,0x2),'separatorStyle':typeof _0x11dc50[_0x53cf42(0x570)]=='string'?_0x11dc50['separatorStyle']:_0x53cf42(0x576),'locale':typeof _0x11dc50[_0x53cf42(0x40a)]==_0x53cf42(0x2b6)?_0x11dc50['locale']:void 0x0,'useThousands':_0x11dc50[_0x53cf42(0x26b)]!==!0x1,'abbreviation':typeof _0x11dc50[_0x53cf42(0x5d9)]==_0x53cf42(0x2b6)?_0x11dc50[_0x53cf42(0x5d9)]:_0x53cf42(0x2a6)};}function _0xc13aef(_0x1243f7){const _0xd6dd97=_0x571676;let _0x50b6e2=_0x54f791(_0x1243f7[_0xd6dd97(0x5b9)]);return{..._0x2f78d7(_0x1243f7),'currencySymbol':String(_0x50b6e2[_0xd6dd97(0x595)]??'$')};}function _0x44d203(_0x1a4e4d,_0x581f7b){const _0x91e663=_0x571676;let _0x37531e=_0x375ae7(_0x581f7b);if(_0x37531e===_0x3791de)return _0x5547f3(_0x1a4e4d);try{return String(_0x13cf76['numfmt'][_0x91e663(0x278)](_0x37531e,_0x1a4e4d,{'throws':!0x1}));}catch{return _0x5547f3(_0x1a4e4d);}}function _0x4d721f(_0x1ec4c8){const _0x4c4af0=_0x571676;let _0x562da2=_0x54f791(_0x54f791(_0x1ec4c8[_0x4c4af0(0x5b9)])['numfmt']);return typeof _0x562da2[_0x4c4af0(0x292)]==_0x4c4af0(0x2b6)?_0x562da2[_0x4c4af0(0x292)]:'general';}function _0x375ae7(_0x64d83a){const _0x5c705e=_0x571676;let _0x23297d=_0x54f791(_0x54f791(_0x64d83a['config'])[_0x5c705e(0x57f)]);return String(_0x23297d['pattern']??_0x3791de)[_0x5c705e(0x2cd)]()||_0x3791de;}function _0x5547f3(_0x35b01d){const _0x1f30cd=_0x571676;return String(Number[_0x1f30cd(0x5be)](_0x35b01d)?_0x35b01d:Math[_0x1f30cd(0x43e)]((_0x35b01d+0x2**-0x34)*0x64)/0x64);}function _0x54f791(_0x5af07d){const _0x33e4aa=_0x571676;return _0x5af07d&&typeof _0x5af07d==_0x33e4aa(0x1a7)&&!Array[_0x33e4aa(0x21f)](_0x5af07d)?_0x5af07d:{};}function _0x25168e(_0x50241f){const _0x1ddfb3=_0x571676;if(_0x50241f==null||_0x50241f==='')return null;let _0x23a690=typeof _0x50241f=='number'?_0x50241f:Number(_0x50241f);return Number[_0x1ddfb3(0x195)](_0x23a690)?_0x23a690:null;}function _0x514550(_0x5c6d8c,_0x2d9093,_0x219fec,_0x54285d){const _0x188f68=_0x571676;let _0x1118dd=_0x25168e(_0x5c6d8c);return _0x1118dd==null?_0x54285d:Math['max'](_0x2d9093,Math[_0x188f68(0x5a2)](_0x219fec,Math[_0x188f68(0x43e)](_0x1118dd)));}function _0x4849e3(_0x2f1443,_0x2b9bec){const _0x2ac538=_0x571676;let _0x55f4c5=_0x13cf76[_0x2ac538(0x39a)]['deepClone'](_0x2f1443),_0x44559a=_0x2b9bec[_0x2ac538(0x416)]===!0x0,_0x74af9=new Map(),_0x218f35=_0x2b9bec[_0x2ac538(0x303)]??(()=>'view-'+(0x0,_0x13cf76[_0x2ac538(0x3c0)])(0x8)),_0x2266dc=_0x55f4c5[_0x2ac538(0x43a)];return _0x2b9bec[_0x2ac538(0x571)]&&(_0x2266dc=_0x55f4c5['viewOrder'][_0x2ac538(0x329)](_0x8ae338=>{let _0x176df3=_0x218f35();return _0x74af9['set'](_0x8ae338,_0x176df3),_0x176df3;})),{..._0x55f4c5,'id':_0x2b9bec['id'],'name':_0x2b9bec[_0x2ac538(0x46d)],'records':_0x44559a?_0x55f4c5[_0x2ac538(0x38f)]:{},'recordOrder':_0x44559a?_0x55f4c5[_0x2ac538(0x1cd)]:[],'rowIndex':_0x44559a?_0x55f4c5[_0x2ac538(0x563)]:{},'rowId':_0x44559a?_0x55f4c5[_0x2ac538(0x556)]:{},'cellData':_0x44559a?_0x55f4c5[_0x2ac538(0x38e)]:{},'resources':_0x44559a?_0x55f4c5[_0x2ac538(0x23c)]:{},'viewOrder':_0x2266dc,'views':Object[_0x2ac538(0x1fc)](Object[_0x2ac538(0x460)](_0x55f4c5[_0x2ac538(0x18d)]??{})[_0x2ac538(0x329)](([_0x5363bc,_0x3e486c])=>{const _0x46e80e=_0x2ac538;let _0x3cb640=_0x74af9[_0x46e80e(0x59c)](_0x5363bc)??(_0x2b9bec[_0x46e80e(0x571)]?_0x218f35():_0x5363bc);return[_0x3cb640,{..._0x3e486c,'id':_0x3cb640,'tableId':_0x2b9bec['id']}];}))};}var _0x52eb37=_0x571676(0x212),_0x126433=_0x571676(0x4f3);let _0xca87a2={},_0x274a16={};function _0x261471(_0x55da82){const _0x259f38=_0x571676;return new _0x1aaf1b()[_0x259f38(0x491)](_0x55da82);}function _0x30020a(_0x2f9084){const _0x26f115=_0x571676;return _0x2f9084[_0x26f115(0x2d8)]['map'](_0x4e5d81=>({'unitId':_0x2f9084[_0x26f115(0x2aa)],'sheetId':_0x2f9084['tableId'],'range':{'startRow':_0x4e5d81[_0x26f115(0x22f)],'endRow':_0x4e5d81[_0x26f115(0x22f)],'startColumn':_0x4e5d81[_0x26f115(0x5ac)],'endColumn':_0x4e5d81[_0x26f115(0x5ac)]}}));}function _0x3d81f3(_0x583549,_0x5dcfb7){const _0x49d8ea=_0x571676;return{[_0x583549]:Object[_0x49d8ea(0x1fc)](_0x5dcfb7[_0x49d8ea(0x329)](_0x312328=>[_0x312328,'1']))};}let _0x34294d=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x32f943,_0x1977af){const _0x46a2be=_0x571676;super(),this[_0x46a2be(0x19b)]=_0x32f943,this[_0x46a2be(0x380)]=_0x1977af,this[_0x46a2be(0x50b)]();}[_0x571676(0x50b)](){const _0x4fb0b7=_0x571676;this[_0x4fb0b7(0x19b)][_0x4fb0b7(0x339)](_0x4d02c8['id'],{'commandId':_0x4d02c8['id'],'getDirtyData':_0x46a0bf=>this[_0x4fb0b7(0x522)](_0x46a0bf['params'])}),this[_0x4fb0b7(0x48a)]((0x0,_0x13cf76[_0x4fb0b7(0x539)])(()=>{const _0x24754b=_0x4fb0b7;this[_0x24754b(0x19b)][_0x24754b(0x349)](_0x4d02c8['id']);}));}['_getTable'](_0x51b30c,_0x14c370){const _0x1eb966=_0x571676;let _0x46293a=this['_univerInstanceService'][_0x1eb966(0x363)](_0x51b30c,_0x13cf76[_0x1eb966(0x331)][_0x1eb966(0x321)]);return(_0x46293a==null?void 0x0:_0x46293a[_0x1eb966(0x463)]()['tables'][_0x14c370])??null;}[_0x571676(0x522)](_0x217fab){const _0x1b13dc=_0x571676;if(_0x217fab[_0x1b13dc(0x512)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x217fab[_0x1b13dc(0x2aa)]||!_0x217fab['op'])return{'clearDependencyTreeCache':this[_0x1b13dc(0x224)](),'forceCalculation':!0x0};let _0x140163=_0x261471(_0x217fab['op']),_0x30b805=this[_0x1b13dc(0x1bf)](_0x217fab['unitId'],_0x140163);if(_0x30b805[_0x1b13dc(0x4e9)])return{'clearDependencyTreeCache':_0x3d81f3(_0x217fab[_0x1b13dc(0x2aa)],_0x30b805),'forceCalculation':!0x0};let _0x3db33f=Object[_0x1b13dc(0x460)](this[_0x1b13dc(0x341)](_0x217fab[_0x1b13dc(0x2aa)],_0x140163))['flatMap'](([_0x391eb8,_0x6ae0c8])=>_0x30020a({'unitId':_0x217fab[_0x1b13dc(0x2aa)],'tableId':_0x391eb8,'patches':_0x6ae0c8}));return _0x3db33f[_0x1b13dc(0x4e9)]?{'dirtyRanges':_0x3db33f}:{};}[_0x571676(0x1bf)](_0x3e29b4,_0x420e76){const _0x59ce2e=_0x571676;let _0xc7f745=_0x420e76[_0x59ce2e(0x3c4)](_0x23a40e=>_0x23a40e[_0x59ce2e(0x2a3)]!==_0x59ce2e(0x4d1))[_0x59ce2e(0x387)](_0x35a9c9=>_0x35a9c9[_0x59ce2e(0x33f)]?[_0x35a9c9['tableId']]:this[_0x59ce2e(0x45d)](_0x3e29b4));return Array['from'](new Set(_0xc7f745));}['_groupCellInvalidations'](_0x4e2e1b,_0x299c9a){const _0x1ac5cd=_0x571676;let _0x27838e=new Set();return _0x299c9a[_0x1ac5cd(0x53e)]((_0xf56547,_0x39a1c7)=>{const _0x4f19f6=_0x1ac5cd;let _0x434e5e=this['_toDirtyRangePatch'](_0x4e2e1b,_0x39a1c7);if(!_0x434e5e)return _0xf56547;let _0x11870d=_0x39a1c7['tableId']+':'+_0x434e5e[_0x4f19f6(0x22f)]+':'+_0x434e5e[_0x4f19f6(0x5ac)];return _0x27838e['has'](_0x11870d)||(_0x27838e['add'](_0x11870d),_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]=_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]]??[],_0xf56547[_0x39a1c7[_0x4f19f6(0x33f)]][_0x4f19f6(0x401)](_0x434e5e)),_0xf56547;},{});}[_0x571676(0x17e)](_0x76e230,_0x3ee3b9){const _0x3f17b6=_0x571676;if(_0x3ee3b9[_0x3f17b6(0x2a3)]!==_0x3f17b6(0x4d1))return null;if(_0x3ee3b9[_0x3f17b6(0x22f)]!=null&&_0x3ee3b9[_0x3f17b6(0x235)]!=null)return{'row':_0x3ee3b9[_0x3f17b6(0x22f)],'col':_0x3ee3b9[_0x3f17b6(0x235)],'value':null};if(!_0x3ee3b9[_0x3f17b6(0x5c4)]||!_0x3ee3b9[_0x3f17b6(0x384)])return null;let _0x7633d8=this[_0x3f17b6(0x456)](_0x76e230,_0x3ee3b9[_0x3f17b6(0x33f)]);if(!_0x7633d8)return null;let _0x3e57ee=_0x46d754(_0x7633d8,_0x3ee3b9[_0x3f17b6(0x5c4)],_0x3ee3b9['fieldId']);return _0x3e57ee?{'row':_0x3e57ee[_0x3f17b6(0x22f)],'col':_0x3e57ee[_0x3f17b6(0x5ac)],'value':null}:null;}['_getAllTableIds'](_0x6cc350){const _0x166631=_0x571676;let _0x27b066=this[_0x166631(0x380)][_0x166631(0x363)](_0x6cc350,_0x13cf76[_0x166631(0x331)][_0x166631(0x321)]);return Object[_0x166631(0x334)]((_0x27b066==null?void 0x0:_0x27b066[_0x166631(0x463)]()[_0x166631(0x291)])??{})[_0x166631(0x329)](_0x3a472b=>_0x3a472b['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x5a8fc9=_0x571676;let _0x1e2585=this[_0x5a8fc9(0x380)][_0x5a8fc9(0x4bd)](_0x13cf76[_0x5a8fc9(0x331)][_0x5a8fc9(0x321)])[_0x5a8fc9(0x329)](_0x5741ca=>_0x3d81f3(_0x5741ca[_0x5a8fc9(0x5ca)](),Object[_0x5a8fc9(0x2db)](_0x5741ca[_0x5a8fc9(0x463)]()['tables'])));return Object['assign']({},..._0x1e2585);}};_0x34294d=_0xd015f8([_0xddcdca(0x0,_0x43fb1e[_0x571676(0x3bc)]),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)])],_0x34294d);let _0x109762=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0xcb3a18,_0x7a6176,_0x56ce9b,_0x5a4a1a){const _0x39d209=_0x571676;super(),this[_0x39d209(0x485)]=_0xcb3a18,this['_univerInstanceService']=_0x7a6176,this[_0x39d209(0x4b0)]=_0x56ce9b,this['_formulaCalculationSessionService']=_0x5a4a1a,_0x1a302a(this,'_formulaService',new _0x3bb03f()),_0x1a302a(this,_0x39d209(0x216),new Map()),_0x1a302a(this,'_scheduledSuperTableSyncs',new Set()),_0x1a302a(this,_0x39d209(0x3c7),Promise['resolve']()),_0x1a302a(this,'_applyingFormulaResults',!0x1),this[_0x39d209(0x50b)]();}['_initialize'](){const _0x25c042=_0x571676;this[_0x25c042(0x380)][_0x25c042(0x4bd)](_0x13cf76['UniverInstanceType'][_0x25c042(0x321)])[_0x25c042(0x3c9)](_0x50bc3a=>{this['_scheduleSuperTableSync'](_0x50bc3a);}),this[_0x25c042(0x48a)](this[_0x25c042(0x380)][_0x25c042(0x325)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](({unit:_0x4eb1c2})=>{const _0x4b6474=_0x25c042;this[_0x4b6474(0x2c6)](_0x4eb1c2);})),this[_0x25c042(0x48a)](this['_univerInstanceService'][_0x25c042(0x33a)](_0x13cf76[_0x25c042(0x331)][_0x25c042(0x321)])[_0x25c042(0x362)](_0x39b1bd=>{const _0x9a6f43=_0x25c042;this[_0x9a6f43(0x54a)](()=>this[_0x9a6f43(0x2f0)](_0x39b1bd[_0x9a6f43(0x5ca)]()));})),this[_0x25c042(0x48a)](this[_0x25c042(0x485)][_0x25c042(0x38d)](_0x435b0f=>this['_onCommandExecuted'](_0x435b0f)));}[_0x571676(0x233)](_0x4c7d5b){const _0xdf4c87=_0x571676;if(_0x4c7d5b['id']===_0x43fb1e[_0xdf4c87(0x4c7)]['id']){_0x2d960e(_0x4c7d5b[_0xdf4c87(0x1b8)])&&this[_0xdf4c87(0x22c)](_0x4c7d5b['params']);return;}if(this[_0xdf4c87(0x3b7)]||_0x4c7d5b['id']!==_0x4d02c8['id'])return;let _0x38b7f6=_0x2c6cbb(_0x4c7d5b[_0xdf4c87(0x1b8)])?_0x4c7d5b[_0xdf4c87(0x1b8)]:void 0x0,_0x2c4c0d=_0x38b7f6!=null&&_0x38b7f6[_0xdf4c87(0x2aa)]?[this[_0xdf4c87(0x380)][_0xdf4c87(0x363)](_0x38b7f6['unitId'],_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)])][_0xdf4c87(0x3c4)](_0x1087ba=>!!_0x1087ba):this['_univerInstanceService'][_0xdf4c87(0x4bd)](_0x13cf76[_0xdf4c87(0x331)][_0xdf4c87(0x321)]),_0x32de76=_0x38b7f6==null?void 0x0:_0x38b7f6['op'];_0x2c4c0d[_0xdf4c87(0x3c9)](_0x520ebc=>{const _0x1e24d4=_0xdf4c87;let _0x43ca5c=_0x32de76?_0x261471(_0x32de76):[];(!_0x32de76||_0x43ca5c[_0x1e24d4(0x1ab)](_0x22993f=>_0x22993f[_0x1e24d4(0x2a3)]!=='cell'))&&this[_0x1e24d4(0x2c6)](_0x520ebc);});}[_0x571676(0x2c6)](_0x21bf81){const _0x5d5c7d=_0x571676;let _0x2d0df4=_0x21bf81[_0x5d5c7d(0x5ca)]();this['_scheduledSuperTableSyncs']['has'](_0x2d0df4)||(this[_0x5d5c7d(0x573)][_0x5d5c7d(0x54c)](_0x2d0df4),this[_0x5d5c7d(0x54a)](async()=>{const _0x5643a6=_0x5d5c7d;this[_0x5643a6(0x573)][_0x5643a6(0x37c)](_0x2d0df4),await this[_0x5643a6(0x222)](_0x21bf81);}));}async[_0x571676(0x222)](_0xe6ff1d){const _0x5f09f9=_0x571676;let _0x3a305c=_0xe6ff1d[_0x5f09f9(0x5ca)](),_0x58c225=this[_0x5f09f9(0x408)][_0x5f09f9(0x48d)](_0xe6ff1d[_0x5f09f9(0x463)]()),_0x4a11b3=new Set(_0x58c225['map'](({tableName:_0x3de490})=>_0x3de490)),_0x4dcf7f=this[_0x5f09f9(0x216)][_0x5f09f9(0x59c)](_0x3a305c)??new Set();for(let _0x49bdaa of _0x4dcf7f)if(!_0x4a11b3[_0x5f09f9(0x370)](_0x49bdaa)&&!await this['_executeSuperTableMutationWhileActive'](_0x43fb1e[_0x5f09f9(0x482)]['id'],{'unitId':_0x3a305c,'tableName':_0x49bdaa}))return;for(let {tableName:_0x3016b1,reference:_0x36e634}of _0x58c225)if(!await this[_0x5f09f9(0x1e8)](_0x43fb1e[_0x5f09f9(0x3f2)]['id'],{'unitId':_0x3a305c,'tableName':_0x3016b1,'reference':_0x36e634}))return;this['_registeredSuperTableNames'][_0x5f09f9(0x569)](_0x3a305c,_0x4a11b3);}async[_0x571676(0x2f0)](_0x3c09aa){const _0x138523=_0x571676;let _0x4b04ba=this[_0x138523(0x216)][_0x138523(0x59c)](_0x3c09aa)??new Set();for(let _0x13201d of _0x4b04ba)if(!await this[_0x138523(0x1e8)](_0x43fb1e['RemoveSuperTableMutation']['id'],{'unitId':_0x3c09aa,'tableName':_0x13201d}))return;this[_0x138523(0x216)]['delete'](_0x3c09aa);}async[_0x571676(0x1e8)](_0x752d53,_0x21a6a8){const _0x550f67=_0x571676;return!this[_0x550f67(0x17f)]&&await this[_0x550f67(0x485)]['executeCommand'](_0x752d53,_0x21a6a8,{'onlyLocal':!0x0})&&!this[_0x550f67(0x17f)];}['_enqueueFormulaSync'](_0x40438e){const _0x5370b9=_0x571676;this['_formulaSyncQueue']=this[_0x5370b9(0x3c7)][_0x5370b9(0x1bc)](_0x40438e,_0x40438e)[_0x5370b9(0x3d4)](()=>void 0x0);}[_0x571676(0x22c)](_0x5caa6d){const _0x5a3e7c=_0x571676;let _0x58ddd4=this[_0x5a3e7c(0x380)][_0x5a3e7c(0x4bd)](_0x13cf76[_0x5a3e7c(0x331)]['UNIVER_BASE']);if(!_0x58ddd4[_0x5a3e7c(0x1ab)](_0x15b9e0=>{const _0xb5ea3f=_0x5a3e7c;var _0x3aa5d0;return((_0x3aa5d0=_0x5caa6d[_0xb5ea3f(0x225)])==null?void 0x0:_0x3aa5d0[_0x15b9e0[_0xb5ea3f(0x5ca)]()])!=null;}))return;let _0x17648f=_0x58ddd4['flatMap'](_0x5c4cd6=>_0x182f9d(_0x5c4cd6[_0x5a3e7c(0x463)](),_0x5caa6d));if(!_0x17648f['length']){this['_formulaCalculationSessionService'][_0x5a3e7c(0x2a8)](_0x310830[_0x5a3e7c(0x31c)][_0x5a3e7c(0x555)],_0x5caa6d);return;}let _0xde0136=new _0x3db0f3(),_0x57bd9f=_0x17648f['flatMap'](_0x5d5bc1=>_0x30020a({'unitId':_0x5d5bc1[_0x5a3e7c(0x2aa)],'tableId':_0x5d5bc1['tableId'],'patches':_0x5d5bc1[_0x5a3e7c(0x2d8)]}));this[_0x5a3e7c(0x3b7)]=!0x0,(async()=>{const _0x3da524=_0x5a3e7c;for(let _0x44f396 of _0x17648f){let _0x3ae2c3=this[_0x3da524(0x380)][_0x3da524(0x363)](_0x44f396[_0x3da524(0x2aa)],_0x13cf76[_0x3da524(0x331)][_0x3da524(0x321)]);_0x3ae2c3&&await this[_0x3da524(0x485)][_0x3da524(0x242)](_0x4d02c8['id'],{'unitId':_0x44f396[_0x3da524(0x2aa)],'op':_0xde0136[_0x3da524(0x23a)](_0x3ae2c3['getSnapshot'](),_0x44f396[_0x3da524(0x33f)],_0x44f396[_0x3da524(0x2d8)]),'trigger':_0x43fb1e['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x3da524(0x485)]['executeCommand'](_0x43fb1e[_0x3da524(0x1a0)]['id'],{'dirtyRanges':_0x57bd9f},{'onlyLocal':!0x0});})()[_0x5a3e7c(0x215)](()=>{const _0x39139c=_0x5a3e7c;this[_0x39139c(0x3b7)]=!0x1,this[_0x39139c(0x550)][_0x39139c(0x2a8)](_0x310830[_0x39139c(0x31c)][_0x39139c(0x555)],_0x5caa6d);});}};_0x109762=_0xd015f8([_0xddcdca(0x0,_0x13cf76['ICommandService']),_0xddcdca(0x1,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x2,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x43fb1e[_0x571676(0x480)])),_0xddcdca(0x3,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x310830[_0x571676(0x316)]))],_0x109762);function _0x2c6cbb(_0x22afd7){const _0x1c7ad2=_0x571676;return typeof _0x22afd7==_0x1c7ad2(0x1a7)&&!!_0x22afd7&&'unitId'in _0x22afd7&&typeof _0x22afd7[_0x1c7ad2(0x2aa)]==_0x1c7ad2(0x2b6)&&'op'in _0x22afd7&&Array[_0x1c7ad2(0x21f)](_0x22afd7['op']);}function _0x2d960e(_0x445b5f){const _0x2a70a0=_0x571676;return typeof _0x445b5f==_0x2a70a0(0x1a7)&&!!_0x445b5f&&'unitData'in _0x445b5f&&_0x2a70a0(0x5cc)in _0x445b5f;}let _0x28a88b=new Set([_0x7879f9['id'],_0x1d1662['id'],_0x37f9a6['id']]),_0x2ed944=class extends _0x13cf76[_0x571676(0x323)]{constructor(_0x5c38e6,_0x1f8e0f,_0x1f2f9d,_0x48cd08){const _0xcb83a6=_0x571676;super(),this[_0xcb83a6(0x340)]=_0x5c38e6,this[_0xcb83a6(0x485)]=_0x1f8e0f,this[_0xcb83a6(0x3e4)]=_0x1f2f9d,this[_0xcb83a6(0x1c6)]=_0x48cd08,this[_0xcb83a6(0x1c6)][_0xcb83a6(0x4bd)](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x3c9)](_0x3f1dd5=>this[_0xcb83a6(0x275)](_0x3f1dd5['getUnitId']())),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)]['getTypeOfUnitAdded$'](_0x13cf76['UniverInstanceType'][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](({unit:_0x405d9a})=>this['_registerUnitPermissionPoints'](_0x405d9a['getUnitId']()))),this['disposeWithMe'](this['_commandService'][_0xcb83a6(0x3d3)]((_0x3ae9dd,_0x1df90a)=>this[_0xcb83a6(0x376)](_0x3ae9dd,_0x1df90a))),this[_0xcb83a6(0x48a)](this[_0xcb83a6(0x1c6)][_0xcb83a6(0x33a)](_0x13cf76[_0xcb83a6(0x331)][_0xcb83a6(0x321)])[_0xcb83a6(0x362)](_0x3e5290=>{const _0x1e32f7=_0xcb83a6;this[_0x1e32f7(0x340)][_0x1e32f7(0x59c)](_0x13cf76[_0x1e32f7(0x4fa)])[_0x1e32f7(0x5c6)](_0x3e5290[_0x1e32f7(0x5ca)]()),_0x43ed86(this['_permissionService'],_0x3e5290[_0x1e32f7(0x5ca)]());}));}[_0x571676(0x275)](_0x273b3a){const _0x588415=_0x571676;_0x147f37[_0x588415(0x3c9)](_0x14bea2=>{const _0xef434b=_0x588415;let _0x176af3=_0x41f091(_0x273b3a,_0x273b3a,_0x14bea2);this['_permissionService']['getPermissionPoint'](_0x176af3['id'])||this['_permissionService'][_0xef434b(0x2d2)](_0x176af3);}),this[_0x588415(0x340)][_0x588415(0x59c)](_0x13cf76[_0x588415(0x4fa)])['initializeUnit']({'unitId':_0x273b3a,'objectId':_0x273b3a,'objectType':_0x93a0d4[_0x588415(0x1a5)][_0x588415(0x52e)]});}[_0x571676(0x376)](_0x34103d,_0x19e718){const _0x136465=_0x571676;var _0xd4b8d8;if(_0x19e718!=null&&_0x19e718['fromCollab']||_0x19e718!=null&&_0x19e718['fromChangeset'])return;let _0x56635e=_0x1541b3(_0x34103d[_0x136465(0x1b8)])?_0x34103d[_0x136465(0x1b8)]:void 0x0;if(_0x19e718!=null&&_0x19e718['onlyLocal']&&_0x34103d['id']===_0x136465(0x441)&&(_0x56635e==null?void 0x0:_0x56635e['trigger'])===_0x43fb1e[_0x136465(0x4c7)]['id'])return;let _0x36fea1=_0x151f2b(_0x34103d['id']),_0x44b8ee=_0x401a24(_0x56635e==null?void 0x0:_0x56635e[_0x136465(0x2aa)],_0x19e718)??(_0x36fea1?(_0xd4b8d8=this[_0x136465(0x1c6)][_0x136465(0x591)](_0x13cf76[_0x136465(0x331)][_0x136465(0x321)]))==null?void 0x0:_0xd4b8d8[_0x136465(0x5ca)]():void 0x0);if(!_0x44b8ee||this[_0x136465(0x1c6)][_0x136465(0x4db)](_0x44b8ee)!==_0x13cf76[_0x136465(0x331)][_0x136465(0x321)])return;if(_0x36fea1){if(!_0x22a775(this[_0x136465(0x3e4)],_0x44b8ee,_0x44b8ee,_0x36fea1))throw this[_0x136465(0x340)][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])['emitPermissionDenied'](_0x44b8ee),new _0x13cf76['CustomCommandExecutionError']('Base\x20'+_0x93a0d4[_0x136465(0x2a0)][_0x36fea1]+_0x136465(0x2f2));return;}if(_0x28a88b[_0x136465(0x370)](_0x34103d['id'])||!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x5b3))&&!_0x34103d['id'][_0x136465(0x33b)](_0x136465(0x274)))return;let _0x4973b8=this[_0x136465(0x1c6)][_0x136465(0x363)](_0x44b8ee,_0x13cf76['UniverInstanceType'][_0x136465(0x321)]),_0x592083=_0x4973b8?_0x24d555(_0x4973b8,_0x56635e??{},_0x34103d['id']):[];if(!_0x4973b8||!_0x712233(this[_0x136465(0x3e4)],_0x44b8ee,_0x592083))throw this['_injector'][_0x136465(0x59c)](_0x13cf76[_0x136465(0x405)])[_0x136465(0x46a)](_0x44b8ee,_0x592083),new _0x13cf76[(_0x136465(0x56b))](_0x136465(0x1c9));}};_0x2ed944=_0xd015f8([_0xddcdca(0x0,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x1,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1e7)]),_0xddcdca(0x3,_0x13cf76['IUniverInstanceService'])],_0x2ed944);function _0x401a24(_0x30d14a,_0x48afab){const _0x4c6c5e=_0x571676;return typeof _0x30d14a==_0x4c6c5e(0x2b6)?_0x30d14a:typeof(_0x48afab==null?void 0x0:_0x48afab[_0x4c6c5e(0x2aa)])==_0x4c6c5e(0x2b6)?_0x48afab[_0x4c6c5e(0x2aa)]:void 0x0;}function _0x151f2b(_0x5acf11){const _0x5f1f1e=_0x571676;if(_0x5acf11===_0x5f1f1e(0x503)||_0x5acf11===_0x5f1f1e(0x3d2))return _0x93a0d4[_0x5f1f1e(0x2a0)][_0x5f1f1e(0x466)];if(_0x5acf11[_0x5f1f1e(0x33b)](_0x5f1f1e(0x2f4))||_0x5acf11['startsWith'](_0x5f1f1e(0x57c)))return _0x93a0d4['UnitAction'][_0x5f1f1e(0x423)];}function _0x24d555(_0x7fd5f7,_0x4fd742,_0x41b7cd){const _0x2d0201=_0x571676;if(_0x41b7cd===_0x2d0201(0x441)&&_0x1f6ea6(_0x4fd742['op']))return _0x21ac5(_0x7fd5f7,_0x4fd742['op']);let _0x2dcf52=new Set(),_0x2eadda=_0x864491(_0x4fd742,_0x2d0201(0x4b7)),_0x372dc9=typeof _0x4fd742['tableId']==_0x2d0201(0x2b6)?_0x4fd742[_0x2d0201(0x33f)]:_0x2eadda[0x0];if(_0x2eadda[_0x2d0201(0x3c9)](_0x5bccae=>_0x2dcf52[_0x2d0201(0x54c)](_0x1162c3(_0x5bccae))),!_0x372dc9)return[..._0x2dcf52];let _0x9ec10b=_0x7fd5f7[_0x2d0201(0x463)]()[_0x2d0201(0x291)][_0x372dc9],_0x204005=new Set(_0x864491(_0x4fd742,'field')),_0x202b6b=new Set(_0x864491(_0x4fd742,_0x2d0201(0x4a9))),_0x5a5a13=new Set(_0x864491(_0x4fd742,_0x2d0201(0x197)));return _0x1870db(_0x9ec10b,_0x4fd742[_0x2d0201(0x2d8)],_0x202b6b,_0x204005),_0x4e9e02(_0x4fd742,_0x204005),_0x204005[_0x2d0201(0x3c9)](_0xb9ee61=>_0x2dcf52[_0x2d0201(0x54c)](_0x1d768a(_0x372dc9,_0xb9ee61))),_0x202b6b[_0x2d0201(0x3c9)](_0x3d657e=>_0x2dcf52[_0x2d0201(0x54c)](_0x458252(_0x372dc9,_0x3d657e))),_0x5a5a13['forEach'](_0x296014=>_0x2dcf52['add'](_0x3c9691(_0x372dc9,_0x296014))),[..._0x2dcf52];}function _0x21ac5(_0xdeff64,_0x4edd4c){const _0x1962ae=_0x571676;let _0x369396=_0xdeff64[_0x1962ae(0x463)](),_0x51007b=new _0x1aaf1b()['getAffectedRanges'](_0x4edd4c),_0x5ecec4=_0x1b4841(_0x4edd4c),_0x1c7f30=new Set();return _0x51007b['forEach'](_0x16a03c=>{const _0x255ab0=_0x1962ae;var _0x1bc6cb,_0x21d454;let {tableId:_0x94c0b0}=_0x16a03c;if(!_0x94c0b0)return;_0x1c7f30['add'](_0x1162c3(_0x94c0b0));let _0x439291=_0x369396[_0x255ab0(0x291)][_0x94c0b0],_0x47180a=_0x16a03c[_0x255ab0(0x5c4)]??(_0x16a03c[_0x255ab0(0x22f)]==null||_0x439291==null||(_0x1bc6cb=_0x439291[_0x255ab0(0x556)])==null?void 0x0:_0x1bc6cb[_0x16a03c[_0x255ab0(0x22f)]]),_0xd0b92b=_0x16a03c[_0x255ab0(0x384)]??(_0x16a03c[_0x255ab0(0x235)]==null||_0x439291==null||(_0x21d454=_0x439291[_0x255ab0(0x351)])==null?void 0x0:_0x21d454[_0x16a03c['column']]);_0x47180a&&_0x1c7f30['add'](_0x458252(_0x94c0b0,_0x47180a)),_0xd0b92b&&_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0xd0b92b)),_0x16a03c[_0x255ab0(0x1ca)]&&_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x16a03c['viewId'])),(_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4b7)||_0x5ecec4['has'](_0x94c0b0))&&_0x439291&&(Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])['forEach'](_0x50fae3=>_0x1c7f30['add'](_0x1d768a(_0x94c0b0,_0x50fae3))),Object['keys'](_0x439291[_0x255ab0(0x38f)])['forEach'](_0x232072=>_0x1c7f30[_0x255ab0(0x54c)](_0x458252(_0x94c0b0,_0x232072))),Object[_0x255ab0(0x2db)](_0x439291['views'])['forEach'](_0x509b34=>_0x1c7f30[_0x255ab0(0x54c)](_0x3c9691(_0x94c0b0,_0x509b34)))),_0x16a03c[_0x255ab0(0x2a3)]===_0x255ab0(0x4a9)&&_0x439291&&Object[_0x255ab0(0x2db)](_0x439291[_0x255ab0(0x3c2)])[_0x255ab0(0x3c9)](_0x44d35a=>_0x1c7f30[_0x255ab0(0x54c)](_0x1d768a(_0x94c0b0,_0x44d35a)));}),_0x51007b['length']===0x0&&_0x50be0c(_0x4edd4c,'tableOrder')&&Object[_0x1962ae(0x2db)](_0x369396[_0x1962ae(0x291)])['forEach'](_0xa01a95=>_0x1c7f30[_0x1962ae(0x54c)](_0x1162c3(_0xa01a95))),[..._0x1c7f30];}function _0x1b4841(_0x51ac15){let _0x50e9e8=new Set(),_0x56bb93=_0x39c101=>{Array['isArray'](_0x39c101)&&_0x39c101['forEach']((_0xf10ed8,_0x572efc)=>{const _0x2671e8=_0x4fc5;_0xf10ed8===_0x2671e8(0x291)&&typeof _0x39c101[_0x572efc+0x1]=='string'&&_0x528e2d(_0x39c101[_0x572efc+0x2])&&_0x50e9e8[_0x2671e8(0x54c)](_0x39c101[_0x572efc+0x1]),_0x56bb93(_0xf10ed8);});};return _0x56bb93(_0x51ac15),_0x50e9e8;}function _0x528e2d(_0x37748f){const _0x3d37a8=_0x571676;return!!_0x37748f&&typeof _0x37748f==_0x3d37a8(0x1a7)&&!Array['isArray'](_0x37748f)&&('i'in _0x37748f||'r'in _0x37748f||'p'in _0x37748f||'d'in _0x37748f||'es'in _0x37748f||_0x3d37a8(0x40f)in _0x37748f||'et'in _0x37748f);}function _0x50be0c(_0x1bd863,_0x4d9bb1){const _0x5c46de=_0x571676;return Array[_0x5c46de(0x21f)](_0x1bd863)&&_0x1bd863[_0x5c46de(0x1ab)](_0x3f9bd1=>_0x3f9bd1===_0x4d9bb1||_0x50be0c(_0x3f9bd1,_0x4d9bb1));}function _0x864491(_0x358202,_0x300419){const _0x19e1e7=_0x571676;let _0x57bae5=new Set(),_0x49c5a3=_0x300419+'Id',_0x1989d7=_0x300419+_0x19e1e7(0x2dc),_0x1ae5ea=(_0x3415ca,_0x5cd736='')=>{const _0x3ce2ea=_0x19e1e7;typeof _0x3415ca=='string'?_0x5cd736===_0x49c5a3&&_0x57bae5['add'](_0x3415ca):Array[_0x3ce2ea(0x21f)](_0x3415ca)?_0x5cd736===_0x1989d7?_0x3415ca[_0x3ce2ea(0x3c9)](_0x3ab36d=>{const _0x5c7fcf=_0x3ce2ea;typeof _0x3ab36d==_0x5c7fcf(0x2b6)&&_0x57bae5[_0x5c7fcf(0x54c)](_0x3ab36d);}):_0x3415ca[_0x3ce2ea(0x3c9)](_0x1670f5=>_0x1ae5ea(_0x1670f5,_0x5cd736)):_0x1541b3(_0x3415ca)&&Object[_0x3ce2ea(0x460)](_0x3415ca)[_0x3ce2ea(0x3c9)](([_0x229e18,_0x20820b])=>{const _0xdaa505=_0x3ce2ea;_0x229e18==='id'&&_0x5cd736===_0x300419&&typeof _0x20820b==_0xdaa505(0x2b6)?_0x57bae5[_0xdaa505(0x54c)](_0x20820b):_0x1ae5ea(_0x20820b,_0x229e18);});};return _0x1ae5ea(_0x358202),[..._0x57bae5];}function _0x1870db(_0x4d1b80,_0x1fde13,_0x1b8c11,_0x51b09b){const _0x8d5d45=_0x571676;_0x4d1b80&&Array[_0x8d5d45(0x21f)](_0x1fde13)&&_0x1fde13[_0x8d5d45(0x3c9)](_0x12ae5e=>{const _0x49084=_0x8d5d45;if(!_0x1541b3(_0x12ae5e))return;let _0x429970=_0x12ae5e;if(typeof _0x429970[_0x49084(0x22f)]==_0x49084(0x3dc)){var _0x16416a;let _0x46709c=(_0x16416a=_0x4d1b80[_0x49084(0x556)])==null?void 0x0:_0x16416a[_0x429970[_0x49084(0x22f)]];_0x46709c&&_0x1b8c11['add'](_0x46709c);}if(typeof _0x429970[_0x49084(0x5ac)]==_0x49084(0x3dc)){var _0xdc3e1f;let _0x586b06=(_0xdc3e1f=_0x4d1b80[_0x49084(0x351)])==null?void 0x0:_0xdc3e1f[_0x429970[_0x49084(0x5ac)]];_0x586b06&&_0x51b09b[_0x49084(0x54c)](_0x586b06);}});}function _0x4e9e02(_0x14a163,_0x3857ec,_0x2680fb=''){const _0x2d85fb=_0x571676;_0x14a163&&typeof _0x14a163=='object'&&(Array['isArray'](_0x14a163)?_0x14a163[_0x2d85fb(0x3c9)](_0x28da2c=>_0x4e9e02(_0x28da2c,_0x3857ec,_0x2680fb)):_0x1541b3(_0x14a163)&&Object['entries'](_0x14a163)['forEach'](([_0x36bd3c,_0x9c2572])=>{const _0x3efdbe=_0x2d85fb;_0x2680fb===_0x3efdbe(0x334)&&_0x3857ec[_0x3efdbe(0x54c)](_0x36bd3c),_0x4e9e02(_0x9c2572,_0x3857ec,_0x36bd3c);}));}function _0x1f6ea6(_0x3b3264){const _0x19d665=_0x571676;return Array[_0x19d665(0x21f)](_0x3b3264);}function _0x1541b3(_0x45dbdb){const _0x539ec3=_0x571676;return typeof _0x45dbdb==_0x539ec3(0x1a7)&&!!_0x45dbdb&&!Array[_0x539ec3(0x21f)](_0x45dbdb);}let _0x2215ee=(0x0,_0x13cf76[_0x571676(0x220)])('base.resource.service'),_0x312145=class{constructor(_0x48c73a){const _0x43ae4f=_0x571676;this[_0x43ae4f(0x380)]=_0x48c73a;}[_0x571676(0x58b)](_0x149d73){const _0x519564=_0x571676;return this['_univerInstanceService'][_0x519564(0x363)](_0x149d73,_0x13cf76[_0x519564(0x331)][_0x519564(0x321)])??null;}[_0x571676(0x39d)](){const _0x5dff6d=_0x571676;return this[_0x5dff6d(0x380)][_0x5dff6d(0x4bd)](_0x13cf76[_0x5dff6d(0x331)][_0x5dff6d(0x321)]);}[_0x571676(0x513)](_0x7ada75){const _0x2957de=_0x571676;return this['_univerInstanceService']['createUnit'](_0x13cf76[_0x2957de(0x331)]['UNIVER_BASE'],_0x7ada75);}};_0x312145=_0xd015f8([_0xddcdca(0x0,_0x13cf76[_0x571676(0x59e)])],_0x312145);let _0x31f2d3=(0x0,_0x13cf76[_0x571676(0x220)])('base.view-registry.service');var _0x417de1=class extends _0x13cf76['Disposable']{constructor(..._0x281a15){const _0x51d8d9=_0x571676;super(..._0x281a15),_0x1a302a(this,_0x51d8d9(0x28b),new Map());}['register'](_0x3c604e){const _0x2a5c71=_0x571676;return this[_0x2a5c71(0x28b)]['set'](_0x3c604e[_0x2a5c71(0x292)],_0x3c604e),(0x0,_0x13cf76[_0x2a5c71(0x539)])(()=>this[_0x2a5c71(0x28b)][_0x2a5c71(0x37c)](_0x3c604e[_0x2a5c71(0x292)]));}[_0x571676(0x59c)](_0x524417){const _0x17c94c=_0x571676;let _0x1e9218=this[_0x17c94c(0x28b)][_0x17c94c(0x59c)](_0x524417);if(!_0x1e9218)throw Error(_0x17c94c(0x3c8)+_0x524417+_0x17c94c(0x352));return _0x1e9218;}['getAll'](){const _0x9f00ff=_0x571676;return Array[_0x9f00ff(0x2ed)](this['_plugins'][_0x9f00ff(0x334)]());}};let _0x4a3eb2=[_0x4d02c8],_0x1d3ce7=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x4c8432=_0xca87a2,_0x47926e,_0x3daef1,_0x2e4e2d,_0x1043c9,_0x1d511e){const _0x10c535=_0x571676;super(),this[_0x10c535(0x5d0)]=_0x4c8432,this[_0x10c535(0x340)]=_0x47926e,this[_0x10c535(0x485)]=_0x3daef1,this[_0x10c535(0x380)]=_0x2e4e2d,this['_configService']=_0x1043c9,this[_0x10c535(0x21b)]=_0x1d511e,_0x1a302a(this,'_baseSyncDisposables',new Map());let {..._0x5356da}=(0x0,_0x13cf76[_0x10c535(0x2c4)])({},_0xca87a2,this[_0x10c535(0x5d0)]);this[_0x10c535(0x270)][_0x10c535(0x226)](_0x10c535(0x1eb),_0x5356da),this[_0x10c535(0x380)]['registerCtorForType'](_0x13cf76['UniverInstanceType']['UNIVER_BASE'],_0x13cf76['BaseDataModel']),this[_0x10c535(0x264)](),this[_0x10c535(0x55b)](),this[_0x10c535(0x3d8)](),this[_0x10c535(0x369)]();}[_0x571676(0x389)](){const _0x51eb34=_0x571676;this['_injector']['add']([_0x15ceca]),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76[_0x51eb34(0x1d3)])['registerCommand'](_0x592127)),this[_0x51eb34(0x48a)](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ICommandService'])[_0x51eb34(0x45a)](_0x5ba4b4)),this['disposeWithMe'](this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x13cf76['ObjectPermissionService'])[_0x51eb34(0x1b5)](_0x93a0d4[_0x51eb34(0x1a5)][_0x51eb34(0x52e)],this[_0x51eb34(0x340)][_0x51eb34(0x59c)](_0x15ceca),_0x592127['id'],_0x5ba4b4['id']));}[_0x571676(0x2d6)](){const _0xeca840=_0x571676;(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x312145],[_0x2f32b0],[_0x34294d]]),this[_0xeca840(0x380)][_0xeca840(0x4bd)](_0x13cf76['UniverInstanceType']['UNIVER_BASE'])['forEach'](_0x4b9a0f=>this[_0xeca840(0x4df)](_0x4b9a0f['getUnitId']())),(0x0,_0x13cf76[_0xeca840(0x254)])(this[_0xeca840(0x340)],[[_0x109762],[_0x2ed944]]);}[_0x571676(0x264)](){const _0x61e623=_0x571676;[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x31f2d3,{'useClass':_0x417de1}],[_0x5c11cd,{'useClass':_0x308bae}],[_0x2215ee,{'useClass':_0x312145}],[_0x43d5bd,{'useClass':_0x156190}],[_0x5cf6f3,{'useClass':_0x2f32b0}],[_0x34294d],[_0x109762],[_0x2ed944]][_0x61e623(0x3c9)](_0x3b955e=>this[_0x61e623(0x340)][_0x61e623(0x54c)](_0x3b955e));}[_0x571676(0x55b)](){const _0x2ab6ec=_0x571676;[_0x362922,_0x5bf158,_0x1608ef,_0x2f1b8b,_0x14468a,_0x7cb956,_0x1d23ba,_0x7be1ba,_0x191150,_0x1c859a,_0x45c212,_0x5a49a5,_0x3975dc,_0x222f05,_0x3ae6cb,_0xa04f45,_0x2ea211,_0x11e333,_0x5e6b94,_0x1637ea,_0x6cfbf6,_0x37f9a6,_0x497b38,_0x26e35d,_0x1df208,_0x55d71e,_0x3cccd9,_0x2011a2,_0x3f4bfc,_0x5c63df,_0x747472,_0x7879f9,_0x1d1662,_0x292a44,_0x16dc22,_0x34cc97,_0x20fd70,_0x19979c,_0x5b0eaf,_0x1e62e1,_0x72026a,..._0x4a3eb2]['forEach'](_0x2ef736=>this[_0x2ab6ec(0x48a)](this[_0x2ab6ec(0x485)][_0x2ab6ec(0x45a)](_0x2ef736))),_0x4a3eb2[_0x2ab6ec(0x3c9)](_0x399f15=>{const _0x25e128=_0x2ab6ec;var _0x26a913;return(_0x26a913=this[_0x25e128(0x21b)])==null?void 0x0:_0x26a913[_0x25e128(0x33e)](_0x399f15);});}[_0x571676(0x369)](){const _0x5308ab=_0x571676;this[_0x5308ab(0x21b)]&&(this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)]['getTypeOfUnitAdded$'](_0x13cf76[_0x5308ab(0x331)][_0x5308ab(0x321)])[_0x5308ab(0x362)](({unit:_0x21649a})=>{const _0xb70f25=_0x5308ab;this['_syncBaseUnit'](_0x21649a[_0xb70f25(0x5ca)]());})),this[_0x5308ab(0x48a)](this[_0x5308ab(0x380)][_0x5308ab(0x33a)](_0x13cf76[_0x5308ab(0x331)]['UNIVER_BASE'])[_0x5308ab(0x362)](_0x30c5af=>{const _0xe1eace=_0x5308ab;var _0xf17278;(_0xf17278=this[_0xe1eace(0x445)][_0xe1eace(0x59c)](_0x30c5af[_0xe1eace(0x5ca)]()))==null||_0xf17278['dispose'](),this[_0xe1eace(0x445)][_0xe1eace(0x37c)](_0x30c5af['getUnitId']());})));}[_0x571676(0x4df)](_0x3b7cbc){const _0x436106=_0x571676;this['_dataSyncPrimaryController']&&!this[_0x436106(0x445)][_0x436106(0x370)](_0x3b7cbc)&&this['_baseSyncDisposables'][_0x436106(0x569)](_0x3b7cbc,this[_0x436106(0x21b)][_0x436106(0x5b2)](_0x3b7cbc));}['_initRegistries'](){const _0x41bff1=_0x571676;let _0x301132=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x1be8ce);_0x44e8e4()[_0x41bff1(0x3c9)](_0x5ae883=>_0x301132[_0x41bff1(0x339)](_0x5ae883));let _0x3ce285=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x31f2d3),_0x112fb9=this[_0x41bff1(0x340)][_0x41bff1(0x59c)](_0x5c11cd);_0x10ad0c()[_0x41bff1(0x3c9)](_0x154f4b=>{const _0x515dfd=_0x41bff1;_0x3ce285[_0x515dfd(0x339)](_0x154f4b),_0x112fb9[_0x515dfd(0x2a1)](_0x154f4b);});}};_0x1a302a(_0x1d3ce7,_0x571676(0x5d6),_0x571676(0x41f)),_0x1a302a(_0x1d3ce7,_0x571676(0x243),_0x52eb37),_0x1a302a(_0x1d3ce7,'version',_0x126433),_0x1a302a(_0x1d3ce7,_0x571676(0x292),_0x13cf76[_0x571676(0x331)]['UNIVER_BASE']),_0x1d3ce7=_0xd015f8([(0x0,_0x13cf76[_0x571676(0x30e)])(_0x2f1c4f[_0x571676(0x5c3)],_0x43fb1e[_0x571676(0x3e6)]),_0xddcdca(0x1,(0x0,_0x13cf76['Inject'])(_0x13cf76[_0x571676(0x1a6)])),_0xddcdca(0x2,_0x13cf76[_0x571676(0x1d3)]),_0xddcdca(0x3,_0x13cf76[_0x571676(0x59e)]),_0xddcdca(0x4,_0x13cf76['IConfigService']),_0xddcdca(0x5,(0x0,_0x13cf76[_0x571676(0x1cb)])(_0x44eadb[_0x571676(0x427)]))],_0x1d3ce7);let _0x153623=class extends _0x13cf76[_0x571676(0x3f6)]{constructor(_0x9a02e9=_0x274a16,_0x48ea12,_0x3062f8,_0x2c926f,_0x5f3988){const _0x12b900=_0x571676;super(),this['_config']=_0x9a02e9,this[_0x12b900(0x340)]=_0x48ea12,this[_0x12b900(0x485)]=_0x3062f8,this['_configService']=_0x2c926f,this[_0x12b900(0x380)]=_0x5f3988;let {..._0x12db60}=(0x0,_0x13cf76[_0x12b900(0x2c4)])({},_0x274a16,this[_0x12b900(0x5d0)]);this[_0x12b900(0x270)][_0x12b900(0x226)](_0x12b900(0x232),_0x12db60),this[_0x12b900(0x380)][_0x12b900(0x2c7)](_0x13cf76['UniverInstanceType'][_0x12b900(0x321)],_0x13cf76['BaseDataModel']),[[_0x1be8ce,{'useClass':_0x314c5d}],[_0x5c11cd,{'useClass':_0x308bae}]]['forEach'](_0x52a97d=>this[_0x12b900(0x340)][_0x12b900(0x54c)](_0x52a97d)),_0x4a3eb2[_0x12b900(0x3c9)](_0x3e09fe=>this[_0x12b900(0x48a)](this[_0x12b900(0x485)][_0x12b900(0x45a)](_0x3e09fe)));}};_0x1a302a(_0x153623,'pluginName',_0x571676(0x3bb)),_0x1a302a(_0x153623,'packageName',_0x52eb37),_0x1a302a(_0x153623,'version',_0x126433),_0x1a302a(_0x153623,'type',_0x13cf76[_0x571676(0x331)][_0x571676(0x321)]),_0x153623=_0xd015f8([(0x0,_0x13cf76['DependentOn'])(_0x2f1c4f['UniverLicensePlugin'],_0x43fb1e['UniverProFormulaEnginePlugin']),_0xddcdca(0x1,(0x0,_0x13cf76[_0x571676(0x5c1)])(_0x13cf76['Injector'])),_0xddcdca(0x2,_0x13cf76['ICommandService']),_0xddcdca(0x3,_0x13cf76[_0x571676(0x32e)]),_0xddcdca(0x4,_0x13cf76[_0x571676(0x59e)])],_0x153623);function _0x3fe1f2(_0x5d731e){const _0x46b629=_0x571676;let _0x19745c=_0x8b589d(_0x5d731e[_0x46b629(0x1cc)]);if(!_0x19745c)return{'query':'','total':0x0,'matches':[]};let _0x257e9e=[],_0x44ca6a=[];for(let _0xfe66b9=0x0;_0xfe66b9<_0x5d731e[_0x46b629(0x1bb)][_0x46b629(0x4e9)];_0xfe66b9++){if(!(_0xfe66b9 in _0x5d731e[_0x46b629(0x1bb)]))continue;let _0xd3e285=_0x5d731e[_0x46b629(0x4b7)][_0x46b629(0x3c2)][_0x5d731e[_0x46b629(0x1bb)][_0xfe66b9]];_0xd3e285&&_0x44ca6a[_0x46b629(0x401)]({'field':_0xd3e285,'fieldIndex':_0xfe66b9});}_0x5d731e['rows'][_0x46b629(0x3c9)]((_0x3211cc,_0x5f52e3)=>{const _0x2d0ab9=_0x46b629;_0x44ca6a[_0x2d0ab9(0x3c9)](({field:_0x1351d9,fieldIndex:_0x2d3945})=>{const _0x29a06e=_0x2d0ab9;let _0x532552=_0x1f38bb(_0x3211cc[_0x29a06e(0x334)][_0x1351d9['id']],_0x1351d9);if(!_0x532552)return;let _0x3f965a=_0x5c2ed3(_0x19745c,_0x532552[_0x29a06e(0x4c8)]);_0x3f965a<=0x0||_0x257e9e[_0x29a06e(0x401)]({'recordId':_0x3211cc[_0x29a06e(0x5c4)],'fieldId':_0x1351d9['id'],'fieldType':_0x1351d9['type'],'text':_0x532552['displayText'],'score':_0x3f965a,'rowIndex':_0x5f52e3,'fieldIndex':_0x2d3945});});}),_0x257e9e[_0x46b629(0x4af)]((_0x2392dc,_0xe880fd)=>_0xe880fd[_0x46b629(0x1af)]-_0x2392dc['score']||_0x2392dc[_0x46b629(0x563)]-_0xe880fd[_0x46b629(0x563)]||_0x2392dc[_0x46b629(0x1f6)]-_0xe880fd['fieldIndex']);let _0x480ff5=_0x5d731e[_0x46b629(0x5bb)]==null?_0x257e9e:_0x257e9e['slice'](0x0,Math[_0x46b629(0x402)](0x0,_0x5d731e[_0x46b629(0x5bb)]));return{'query':_0x19745c,'total':_0x257e9e['length'],'matches':_0x313c91(_0x480ff5)};}function _0x1f38bb(_0x4e0ca4,_0x354216){const _0xd3bb9e=_0x571676;let _0x413092=[];for(let _0x2cdaa6 of _0x4759ed(_0x4e0ca4,_0x354216)){let _0x13197b=_0x8b589d(_0x2cdaa6);_0x13197b&&_0x413092[_0xd3bb9e(0x401)](_0x13197b);}return _0x413092[_0xd3bb9e(0x4e9)]?{'displayText':_0x461929(_0x4e0ca4,_0x354216),'searchTexts':_0x987b35(_0x413092)}:null;}function _0x461929(_0x5ec99a,_0x2b3b45){const _0x56f344=_0x571676;switch(_0x2b3b45['type']){case _0x13cf76['BaseFieldType'][_0x56f344(0x221)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x247)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x53b)]:return _0x1e8b79(_0x5ec99a,_0x2b3b45)['join'](',\x20');case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x3b6)]:return _0x436047(_0x5ec99a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x494)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x337)]:case _0x13cf76[_0x56f344(0x517)]['UpdatedAt']:return _0x172622(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x400)]:case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x39e)]:return _0x561b21(_0x5ec99a,_0x2b3b45);case _0x13cf76[_0x56f344(0x517)]['Progress']:return _0x2d5feb(_0x5ec99a,_0x2b3b45);case _0x13cf76['BaseFieldType'][_0x56f344(0x55f)]:return _0x5ec99a?_0x56f344(0x3ed):_0x56f344(0x24a);case _0x13cf76[_0x56f344(0x517)][_0x56f344(0x312)]:return _0x411968(_0x5ec99a)[_0x56f344(0x4b9)](',\x20');default:return _0x2cd85b(_0x5ec99a);}}function _0x4759ed(_0x501fd8,_0x2eca75){const _0x504fb7=_0x571676;switch(_0x2eca75[_0x504fb7(0x292)]){case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x221)]:case _0x13cf76['BaseFieldType'][_0x504fb7(0x247)]:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x53b)]:{let _0x8ecac9=_0x1e8b79(_0x501fd8,_0x2eca75);if(Array['isArray'](_0x501fd8)){let _0x457882=[..._0x8ecac9];for(let _0x2bce65=0x0;_0x2bce65<_0x501fd8[_0x504fb7(0x4e9)];_0x2bce65++)_0x2bce65 in _0x501fd8&&_0x457882[_0x504fb7(0x401)](String(_0x501fd8[_0x2bce65]));return _0x457882;}return _0x501fd8==null?_0x8ecac9:[..._0x8ecac9,String(_0x501fd8)];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x3b6)]:{let _0x5a63c9=_0x11966a(_0x501fd8);return[_0x5a63c9[_0x504fb7(0x5df)],_0x5a63c9[_0x504fb7(0x395)]];}case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x494)]:case _0x13cf76[_0x504fb7(0x517)]['CreatedAt']:case _0x13cf76['BaseFieldType'][_0x504fb7(0x472)]:return[_0x172622(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)]['Number']:case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x39e)]:return[_0x561b21(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x51c)]:return[_0x2d5feb(_0x501fd8,_0x2eca75),_0x2cd85b(_0x501fd8)];case _0x13cf76[_0x504fb7(0x517)][_0x504fb7(0x55f)]:return _0x501fd8?[_0x504fb7(0x3ed),'Yes',_0x504fb7(0x48e)]:[_0x504fb7(0x24a),'No','False'];case _0x13cf76['BaseFieldType'][_0x504fb7(0x312)]:return _0x411968(_0x501fd8);default:return[_0x2cd85b(_0x501fd8)];}}function _0x1e8b79(_0x58b1e8,_0x31d3cc){const _0x1ba504=_0x571676;var _0x1a58c4;let _0x46a7e7=Array[_0x1ba504(0x21f)]((_0x1a58c4=_0x31d3cc['config'])==null?void 0x0:_0x1a58c4[_0x1ba504(0x386)])?_0x31d3cc[_0x1ba504(0x5b9)]['options']:[],_0x59ac21=[];if(Array[_0x1ba504(0x21f)](_0x58b1e8)){for(let _0x3db138=0x0;_0x3db138<_0x58b1e8['length'];_0x3db138++){if(!(_0x3db138 in _0x58b1e8))continue;let _0x68a4d7=String(_0x58b1e8[_0x3db138]);_0x68a4d7&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x68a4d7));}return _0x59ac21;}if(_0x58b1e8!=null){let _0x263ab5=String(_0x58b1e8);_0x263ab5&&_0x59ac21[_0x1ba504(0x401)](_0x51fc67(_0x46a7e7,_0x263ab5));}return _0x59ac21;}function _0x51fc67(_0x57f972,_0x43c650){const _0x10e3cd=_0x571676;for(let _0x41c95e of _0x57f972){if(typeof _0x41c95e=='string'&&_0x41c95e===_0x43c650)return _0x41c95e;if(_0x41c95e&&typeof _0x41c95e=='object'){let _0x519e8c=_0x41c95e;if(String(_0x519e8c['id']??_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650||String(_0x519e8c[_0x10e3cd(0x46d)]??'')===_0x43c650)return String(_0x519e8c[_0x10e3cd(0x46d)]??_0x519e8c['id']??_0x43c650);}}return _0x43c650;}function _0x11966a(_0x281dcf){const _0x35decd=_0x571676;if(_0x281dcf&&typeof _0x281dcf==_0x35decd(0x1a7)&&!Array[_0x35decd(0x21f)](_0x281dcf)){let _0x49d071=_0x281dcf;return{'text':String(_0x49d071[_0x35decd(0x5df)]??_0x49d071[_0x35decd(0x395)]??''),'url':String(_0x49d071[_0x35decd(0x395)]??'')};}return{'text':_0x2cd85b(_0x281dcf),'url':_0x2cd85b(_0x281dcf)};}function _0x436047(_0x1b6745){const _0x2373fd=_0x571676;let _0x426b07=_0x11966a(_0x1b6745);return _0x426b07[_0x2373fd(0x5df)]||_0x426b07[_0x2373fd(0x395)];}function _0x172622(_0x16aeab,_0x3af956){const _0x467d9f=_0x571676;return typeof _0x16aeab!='number'||!Number[_0x467d9f(0x195)](_0x16aeab)?'':_0x259f65(_0x16aeab,_0x3af956[_0x467d9f(0x5b9)]);}function _0x561b21(_0x5a9a71,_0x1c440b){const _0x406e6a=_0x571676;let _0x2e8a41=typeof _0x5a9a71==_0x406e6a(0x3dc)?_0x5a9a71:Number(_0x5a9a71);return Number[_0x406e6a(0x195)](_0x2e8a41)?_0x4dcf16(_0x2e8a41,_0x1c440b[_0x406e6a(0x5b9)]):'';}function _0x2d5feb(_0x505a0c,_0x33f36c){const _0x45b7fa=_0x571676;let _0x2193a6=typeof _0x505a0c==_0x45b7fa(0x3dc)?_0x505a0c:Number(_0x505a0c);return Number[_0x45b7fa(0x195)](_0x2193a6)?_0x40750c(_0x2193a6,_0x33f36c[_0x45b7fa(0x5b9)]):'';}function _0x411968(_0x17ae41){const _0x4ac2c7=_0x571676;return Array[_0x4ac2c7(0x21f)](_0x17ae41)?_0x17ae41[_0x4ac2c7(0x387)](_0x2b6294=>{const _0x3d0c1a=_0x4ac2c7;if(!_0x2b6294||typeof _0x2b6294!=_0x3d0c1a(0x1a7))return[];let _0x2003fb=_0x2b6294,_0x332e53=String(_0x2003fb[_0x3d0c1a(0x46d)]??_0x2003fb['url']??'')['trim']();return _0x332e53?[_0x332e53]:[];}):[];}function _0x2cd85b(_0x5794b8){const _0x333581=_0x571676;if(_0x5794b8==null)return'';if(typeof _0x5794b8==_0x333581(0x42a))return _0x5794b8?'true':_0x333581(0x574);if(typeof _0x5794b8==_0x333581(0x3dc))return String(_0x5794b8);if(Array['isArray'](_0x5794b8)){let _0x33fb61=[];for(let _0x226a64=0x0;_0x226a64<_0x5794b8[_0x333581(0x4e9)];_0x226a64++){if(!(_0x226a64 in _0x5794b8))continue;let _0x4531ef=_0x2cd85b(_0x5794b8[_0x226a64]);_0x4531ef&&_0x33fb61['push'](_0x4531ef);}return _0x33fb61[_0x333581(0x4b9)](',\x20');}if(typeof _0x5794b8==_0x333581(0x1a7)){let _0x514bc0=_0x5794b8;return String(_0x514bc0[_0x333581(0x297)]??_0x514bc0[_0x333581(0x46d)]??_0x514bc0[_0x333581(0x5df)]??_0x514bc0['url']??'')[_0x333581(0x2cd)]();}return String(_0x5794b8);}function _0x5c2ed3(_0x48adab,_0x1656cd){const _0x36bd37=_0x571676;let _0x5c97be=0x0;for(let _0x1cfdd7 of _0x1656cd)_0x1cfdd7&&(_0x1cfdd7===_0x48adab?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0x12c):_0x1cfdd7[_0x36bd37(0x33b)](_0x48adab)?_0x5c97be=Math[_0x36bd37(0x402)](_0x5c97be,0xfa):_0x1cfdd7[_0x36bd37(0x358)](_0x48adab)&&(_0x5c97be=Math['max'](_0x5c97be,0xc8)));return _0x5c97be;}function _0x8b589d(_0x403a80){const _0x1ab91f=_0x571676;return _0x403a80[_0x1ab91f(0x2cd)]()[_0x1ab91f(0x5ae)](/\s+/g,'\x20')['toLowerCase']();}function _0x987b35(_0xa66d0d){return Array['from'](new Set(_0xa66d0d));}function _0x313c91(_0x558b2){const _0xb79af=_0x571676;let _0x662026=[];for(let {rowIndex:_0x38e981,fieldIndex:_0x15e0d0,..._0x2b146a}of _0x558b2)_0x662026[_0xb79af(0x401)](_0x2b146a);return _0x662026;}function _0x9c1284(_0x83080a){const _0x1f48a3=_0x571676;return{'compress':!0x0,'kind':_0x1f48a3(0x317),'u':_0x83080a[_0x1f48a3(0x2aa)],'t':_0x83080a['tableId'],'p':_0x83080a['patches'][_0x1f48a3(0x329)](_0x25b90b=>[_0x25b90b[_0x1f48a3(0x22f)],_0x25b90b['col'],_0x7b2799(_0x25b90b['value'])]),..._0x83080a[_0x1f48a3(0x512)]===void 0x0?{}:{'g':_0x83080a['trigger']}};}function _0x53a563(_0x2059ed){const _0x173ab6=_0x571676;if(_0xfb1d00(_0x2059ed,_0x173ab6(0x317)),!_0x733fdd(_0x2059ed)){if(!_0x590f77(_0x2059ed))throw Error(_0x173ab6(0x2f8));return _0x2059ed;}return{'unitId':_0x2059ed['u'],'tableId':_0x2059ed['t'],'patches':_0x2059ed['p'][_0x173ab6(0x329)](([_0x5c1844,_0x3528db,_0x56efaa])=>({'row':_0x5c1844,'col':_0x3528db,'value':_0x4a2e71(_0x56efaa)})),..._0x2059ed['g']===void 0x0?{}:{'trigger':_0x2059ed['g']}};}function _0x733fdd(_0x294a90){const _0x5df420=_0x571676;return!_0x386f7c(_0x294a90)||_0x294a90['compress']!==!0x0||_0x294a90['kind']!==_0x5df420(0x317)?!0x1:typeof _0x294a90['u']==_0x5df420(0x2b6)&&typeof _0x294a90['t']=='string'&&(_0x294a90['g']===void 0x0||typeof _0x294a90['g']==_0x5df420(0x2b6))&&Array['isArray'](_0x294a90['p'])&&_0x294a90['p'][_0x5df420(0x5a5)](_0x395958=>Array['isArray'](_0x395958)&&_0x395958[_0x5df420(0x4e9)]===0x3&&Number[_0x5df420(0x5be)](_0x395958[0x0])&&Number[_0x5df420(0x5be)](_0x395958[0x1]));}function _0x4a085d(_0x1b395b){const _0x24903f=_0x571676;return!_0x386f7c(_0x1b395b)||_0x1b395b[_0x24903f(0x593)]!==!0x0||_0x1b395b['kind']!==_0x24903f(0x307)||!_0x386f7c(_0x1b395b['tables'])?!0x1:Object[_0x24903f(0x334)](_0x1b395b[_0x24903f(0x291)])[_0x24903f(0x5a5)](_0x12399a=>_0x386f7c(_0x12399a)&&(_0x12399a['cd']===void 0x0||Array['isArray'](_0x12399a['cd'])&&_0x12399a['cd'][_0x24903f(0x5a5)](_0x361a0b=>Array['isArray'](_0x361a0b)&&_0x361a0b[_0x24903f(0x4e9)]===0x3&&Number['isInteger'](_0x361a0b[0x0])&&Number[_0x24903f(0x5be)](_0x361a0b[0x1])&&_0x1076c7(_0x361a0b[0x2]))));}function _0x7b2799(_0x41487f){return _0x3bffd6(_0x41487f)?_0x4ba3d6(_0x41487f):_0x41487f;}function _0x4a2e71(_0x442890){return _0x1076c7(_0x442890)?_0x2fa5ad(_0x442890):_0x442890;}function _0x4ba3d6(_0x5607ac){return{'c':0x1,..._0x5607ac['v']===void 0x0?{}:{'v':_0x5607ac['v']},..._0x5607ac['t']!==void 0x0&&_0x5607ac['t']!==null?{'t':_0x5607ac['t']}:_0x5607ac['t']===null?{'t':null}:{},..._0x5607ac['f']!==void 0x0&&_0x5607ac['f']!==null?{'f':_0x5607ac['f']}:_0x5607ac['f']===null?{'f':null}:{},..._0x5607ac['si']!==void 0x0&&_0x5607ac['si']!==null?{'si':_0x5607ac['si']}:_0x5607ac['si']===null?{'si':null}:{},..._0x5607ac['p']!==void 0x0&&_0x5607ac['p']!==null?{'p':_0x5607ac['p']}:_0x5607ac['p']===null?{'p':null}:{}};}function _0x2fa5ad(_0x5cc46a){return{..._0x5cc46a['v']===void 0x0?{}:{'v':_0x5cc46a['v']},..._0x5cc46a['t']===void 0x0?{}:{'t':_0x5cc46a['t']},..._0x5cc46a['f']===void 0x0?{}:{'f':_0x5cc46a['f']},..._0x5cc46a['si']===void 0x0?{}:{'si':_0x5cc46a['si']},..._0x5cc46a['p']===void 0x0?{}:{'p':_0x5cc46a['p']}};}function _0x3bffd6(_0xc03a80){const _0x2b1d6e=_0x571676;return!!_0xc03a80&&typeof _0xc03a80==_0x2b1d6e(0x1a7)&&!Array['isArray'](_0xc03a80)&&(Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'v')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'t')||Object[_0x2b1d6e(0x41e)][_0x2b1d6e(0x189)][_0x2b1d6e(0x279)](_0xc03a80,'p')||Object['prototype']['hasOwnProperty']['call'](_0xc03a80,'f')||Object[_0x2b1d6e(0x41e)]['hasOwnProperty'][_0x2b1d6e(0x279)](_0xc03a80,'si'));}function _0x1076c7(_0x444931){return _0x386f7c(_0x444931)&&_0x444931['c']===0x1;}function _0x590f77(_0x5b8b49){const _0x1e64d2=_0x571676;return _0x386f7c(_0x5b8b49)&&typeof _0x5b8b49[_0x1e64d2(0x2aa)]==_0x1e64d2(0x2b6)&&typeof _0x5b8b49[_0x1e64d2(0x33f)]==_0x1e64d2(0x2b6)&&(_0x5b8b49['trigger']===void 0x0||typeof _0x5b8b49[_0x1e64d2(0x512)]==_0x1e64d2(0x2b6))&&Array[_0x1e64d2(0x21f)](_0x5b8b49['patches'])&&_0x5b8b49[_0x1e64d2(0x2d8)][_0x1e64d2(0x5a5)](_0x5e5a64=>_0x386f7c(_0x5e5a64)&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x22f)])&&Number[_0x1e64d2(0x5be)](_0x5e5a64[_0x1e64d2(0x5ac)])&&_0x1e64d2(0x315)in _0x5e5a64);}function _0xfb1d00(_0x35ee82,_0x13fd3e){const _0x46a531=_0x571676;if(_0x386f7c(_0x35ee82)&&_0x35ee82[_0x46a531(0x593)]===!0x0){if(_0x35ee82[_0x46a531(0x4e6)]!==_0x13fd3e)throw Error('[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22'+String(_0x35ee82['kind'])+'\x22.');if(!(_0x13fd3e===_0x46a531(0x317)?_0x733fdd(_0x35ee82):_0x4a085d(_0x35ee82)))throw Error(_0x46a531(0x397)+_0x13fd3e+'\x22.');}}function _0x386f7c(_0xcf43f6){const _0x48e4d5=_0x571676;return!!_0xcf43f6&&typeof _0xcf43f6==_0x48e4d5(0x1a7)&&!Array[_0x48e4d5(0x21f)](_0xcf43f6);}_0xed53b0['ApplyBaseJson1Mutation']=_0x4d02c8,_0xed53b0[_0x571676(0x2e3)]=_0x49b302,_0xed53b0[_0x571676(0x5d2)]=0x5,_0xed53b0[_0x571676(0x4ee)]=_0x571f6c,_0xed53b0[_0x571676(0x1a4)]=_0x571676(0x1fd),_0xed53b0[_0x571676(0x350)]=_0x147f37,_0xed53b0[_0x571676(0x39f)]=_0x4904eb,_0xed53b0[_0x571676(0x3a8)]=_0x75538d,_0xed53b0['BaseFormulaService']=_0x3bb03f,_0xed53b0['BaseHierarchyError']=_0x2dec10,_0xed53b0[_0x571676(0x53c)]=_0x244067,_0xed53b0[_0x571676(0x52a)]=_0x3996a0,_0xed53b0[_0x571676(0x421)]=_0x1aaf1b,_0xed53b0['BaseJson1OpFactory']=_0x3db0f3,_0xed53b0[_0x571676(0x1be)]=_0x191150,_0xed53b0[_0x571676(0x596)]=_0x45c212,_0xed53b0[_0x571676(0x5b8)]=_0x5e6b94,_0xed53b0[_0x571676(0x26d)]=_0x7be1ba,_0xed53b0['CreateBaseFieldCommand']=_0x3ae6cb,_0xed53b0[_0x571676(0x3b4)]=_0x1d23ba,_0xed53b0[_0x571676(0x5aa)]=_0x362922,_0xed53b0[_0x571676(0x1a3)]=_0x497b38,_0xed53b0[_0x571676(0x25c)]=_0x1637ea,_0xed53b0[_0x571676(0x409)]=_0x1c859a,_0xed53b0[_0x571676(0x269)]=_0x1608ef,_0xed53b0[_0x571676(0x483)]=_0x3cccd9,_0xed53b0[_0x571676(0x368)]=_0xa04f45,_0xed53b0['DuplicateBaseRecordCommand']=_0x5a49a5,_0xed53b0[_0x571676(0x474)]=_0x3d977d,_0xed53b0[_0x571676(0x31e)]=_0x26e35d,_0xed53b0['IBaseCommandService']=_0x5cf6f3,_0xed53b0['IBasePermissionService']=_0x43d5bd,_0xed53b0['IBaseProjectionService']=_0x5c11cd,_0xed53b0['IBaseViewRegistryService']=_0x31f2d3,_0xed53b0[_0x571676(0x1b3)]=_0x6cfbf6,_0xed53b0[_0x571676(0x185)]=_0x222f05,_0xed53b0['MoveBaseViewCommand']=_0x2011a2,_0xed53b0[_0x571676(0x4d4)]=_0x5bf158,_0xed53b0['RenameBaseViewCommand']=_0x1df208,_0xed53b0[_0x571676(0x332)]=_0x747472,_0xed53b0['SetBaseNameCommand']=_0x55d71e,_0xed53b0[_0x571676(0x547)]=_0x7879f9,_0xed53b0[_0x571676(0x4fd)]=_0x592127,_0xed53b0['SetBasePermissionRulesMutation']=_0x5ba4b4,_0xed53b0[_0x571676(0x246)]=_0x1d1662,_0xed53b0[_0x571676(0x277)]=_0x7cb956,_0xed53b0[_0x571676(0x4a3)]=_0x14468a,_0xed53b0['SetBaseTableHierarchyFieldCommand']=_0x19979c,_0xed53b0[_0x571676(0x516)]=_0x72026a,_0xed53b0[_0x571676(0x285)]=_0x5b0eaf,_0xed53b0['SetBaseViewFieldWidthCommand']=_0x1e62e1,_0xed53b0[_0x571676(0x1f4)]=_0x16dc22,_0xed53b0[_0x571676(0x545)]=_0x20fd70,_0xed53b0[_0x571676(0x414)]=_0x34cc97,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x2be),{'enumerable':!0x0,'get':function(){return _0x1d3ce7;}}),Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x33c),{'enumerable':!0x0,'get':function(){return _0x153623;}}),_0xed53b0['UpdateBaseCellCommand']=_0x2f1b8b,_0xed53b0[_0x571676(0x208)]=_0x2ea211,_0xed53b0['UpdateBaseFieldDescriptionCommand']=_0x11e333,_0xed53b0['UpdateBaseKanbanConfigCommand']=_0x292a44,_0xed53b0[_0x571676(0x3be)]=_0x3975dc,_0xed53b0[_0x571676(0x4c2)]=_0x5c63df,_0xed53b0[_0x571676(0x1ef)]=_0x3f4bfc,_0xed53b0[_0x571676(0x467)]=_0x37f9a6,_0xed53b0[_0x571676(0x2f1)]=_0x397f72,_0xed53b0[_0x571676(0x5e0)]=_0x4067d3,_0xed53b0['calculateBaseFieldStat']=_0xa2d18d,_0xed53b0[_0x571676(0x48f)]=_0x712233,_0xed53b0[_0x571676(0x186)]=_0x9c1284,_0xed53b0[_0x571676(0x2bf)]=_0x4849e3,_0xed53b0[_0x571676(0x293)]=_0xb8ceba,_0xed53b0['createDefaultBaseTableSnapshot']=_0x910a,_0xed53b0[_0x571676(0x5d3)]=_0x32bf44,_0xed53b0[_0x571676(0x4be)]=_0x293936,_0xed53b0[_0x571676(0x1c2)]=_0x1b9b54,_0xed53b0[_0x571676(0x2c0)]=_0x14d06a,_0xed53b0[_0x571676(0x1ae)]=_0x35414f,_0xed53b0[_0x571676(0x496)]=_0x53a563,_0xed53b0[_0x571676(0x2f9)]=_0x48b6e1,_0xed53b0[_0x571676(0x34d)]=_0x520eb7,_0xed53b0[_0x571676(0x4e2)]=_0x259f65,_0xed53b0['formatBaseFieldStatValue']=_0x2e2210,_0xed53b0[_0x571676(0x44d)]=_0x4dcf16,_0xed53b0[_0x571676(0x2bb)]=_0x40750c,_0xed53b0[_0x571676(0x3ae)]=_0x25a1a4,_0xed53b0[_0x571676(0x399)]=_0x41bd7c,_0xed53b0[_0x571676(0x2c2)]=_0x5d2adc,_0xed53b0[_0x571676(0x418)]=_0xd379e5,_0xed53b0[_0x571676(0x4bf)]=_0x47141a,_0xed53b0['getBaseFieldPermissionObjectId']=_0x1d768a,Object[_0x571676(0x1a1)](_0xed53b0,_0x571676(0x256),{'enumerable':!0x0,'get':function(){const _0xecfaf6=_0x571676;return _0x13cf76[_0xecfaf6(0x256)];}}),_0xed53b0['getBaseHierarchyDeletePromotions']=_0xaf3938,_0xed53b0['getBaseHierarchyFieldId']=_0x19ec27,_0xed53b0[_0x571676(0x29f)]=_0x22a775,_0xed53b0[_0x571676(0x490)]=_0x458252,_0xed53b0['getBaseTablePermissionObjectId']=_0x1162c3,_0xed53b0[_0x571676(0x497)]=_0x3c9691,_0xed53b0['getRecordLinkFieldConfig']=_0x51db2d,_0xed53b0[_0x571676(0x415)]=_0x2e2ae5,_0xed53b0[_0x571676(0x56f)]=_0x4e1dc3,_0xed53b0[_0x571676(0x527)]=_0x6f7f1,_0xed53b0[_0x571676(0x525)]=_0x33b8b5,_0xed53b0[_0x571676(0x359)]=_0x578626,_0xed53b0[_0x571676(0x27c)]=_0xb8bdd7,_0xed53b0[_0x571676(0x192)]=_0x9ba099,_0xed53b0[_0x571676(0x44f)]=_0x53a126,_0xed53b0[_0x571676(0x313)]=_0x733fdd,_0xed53b0[_0x571676(0x5d1)]=_0x4231b9,_0xed53b0[_0x571676(0x39b)]=_0x3d3ab9,_0xed53b0[_0x571676(0x5e6)]=_0x14a5f1,_0xed53b0['normalizeBaseFieldStatsConfig']=_0x22bd83,_0xed53b0[_0x571676(0x2c5)]=_0x5a5d43,_0xed53b0[_0x571676(0x3d0)]=_0x4ceb91,_0xed53b0[_0x571676(0x388)]=_0x35238c,_0xed53b0[_0x571676(0x223)]=_0x2d5926,_0xed53b0[_0x571676(0x450)]=_0x57c380,_0xed53b0[_0x571676(0x180)]=_0x3fe1f2,_0xed53b0[_0x571676(0x209)]=_0xddc2f4,_0xed53b0[_0x571676(0x492)]=_0x10a84e,_0xed53b0['traceBasePerformance']=_0x32800a,_0xed53b0[_0x571676(0x2cb)]=_0x1df899,_0xed53b0[_0x571676(0x4cd)]=_0x158fff,_0xed53b0['validateBaseHierarchyRecordCreations']=_0x16b24a,_0xed53b0[_0x571676(0x560)]=_0x226acd,_0xed53b0[_0x571676(0x3cb)]=_0x475287,_0xed53b0[_0x571676(0x1f8)]=_0x35e826,_0xed53b0[_0x571676(0x4c0)]=_0x5a4a77,_0xed53b0[_0x571676(0x4c1)]=_0x5d7c0c;}));function _0x4fc5(_0x86325f,_0x10d49b){_0x86325f=_0x86325f-0x17a;const _0xd0ee0b=_0xd0ee();let _0x4fc500=_0xd0ee0b[_0x86325f];return _0x4fc500;}function _0xd0ee(){const _0x3dbc18=[',,,\x22B\x22','_isGanttDateField','CreatedBy','subtreeHeightByRecordId','toDisposable','revision','Group','BaseHierarchyErrorCode','_projectionCache','reduce','ObjectMatrix','_buildCalendar','flat','Date1900','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','BASE_RECORD_ID_FIELD_ID','SetBaseViewGroupCommand','dashboard/','SetBasePermissionCommand','updatedAt','rootRecordIds','_enqueueFormulaSync','[BaseCommandService]:\x20invalid\x20field\x20definition.','add','mode','clearFieldPermission','data','_formulaCalculationSessionService','duplicate','getCapabilities','Delete','policy','BASE','rowId','createCreateRecordOp','exists','_materializeFormulaTableNames','UniverProEngineFormula','_initCommands','setViewFieldOrder','@univerjs/core','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Checkbox','validateBaseHierarchyRecordPatches','parentRecordId','STRING','rowIndex','CommandType','setRecordValues','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_createRecordWithDefaults','code','set','find','CustomCommandExecutionError','getProjection','syncExecuteCommand','unknown','getVisibleBaseHierarchyRows','separatorStyle','regenerateViewIds','collaborators','_scheduledSuperTableSyncs','false','JSON1','local','_setObjectEdit','weekdays','ObjectPermissionRuleModel','_normalizeGanttConfig','_canUseFastSort','thread-comment.mutation.','getDependencies','parentFieldName','numfmt','_matchesGanttColorRule','setBasePermission','fieldOrder','setRecordPermission','INIT','Redo','createCreateFieldOp','_setAttachmentResources','[BaseCommandService]:\x20cannot\x20edit\x20table.','525652HDmMjB','Kanban','getBase','_sortRows','dependencyFieldId','save','NumberFormat','baseRows','getCurrentUnitOfType','kanban','compress','COMMAND','currencySymbol','BatchDeleteBaseRecordsCommand','isNaN','decimalPlaces','base.command.delete-base-field','base.mutation.set-permission-rule','readonly','get','padStart','IUniverInstanceService','createSetRecordValuesOp','Edit','_withModifiedSystemValues','min','clearTablePermission','#BBF7D0','every','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','IS_NOT','end','_findCalendarDateFieldId','CreateBaseTableCommand','_resolveCardTitleFieldId','col','createRecord','replace','_normalizeCalendarConfig','RecordLink','\x20must\x20have\x20a\x20non-empty\x20id.','syncUnit','base.command.','Parent\x20Items','moveView','4097140clJFfh','_cellRevisions','ChangeBaseFieldTypeCommand','config','BaseViewType','limit','conjunction','_groupProjectionFieldIds','isInteger','splice','invalidGanttEndField','Inject','\x20has\x20unsupported\x20target\x20\x22','UniverLicensePlugin','recordId','_kanbanLaneColor','clearUnit','majorHeaders','[BaseCommandService]:\x20cannot\x20delete\x20table.','_createRecordOrderOp','getUnitId','invalidateByOp','unitOtherData','custom','defaultValue','_projectFields','_config','matchesBaseCondition','BASE_HIERARCHY_MAX_LEVELS','createEmbedBasesTable','_getCachedProjection','orderedRecordIds','pluginName','Empty','month','abbreviation','setRule','percent','deleteRecord','YESTERDAY','BaseProjection.materializeTableRows','text','buildBaseHierarchyIndex','edit','CONTAINS','check','now','_getTableRevision','normalizeBaseDateSerial','Calendar','optionSource','base.command.update-base-field','UniverProBases','_toDirtyRangePatch','_disposed','searchBaseTable','_projectTableRows','oldParentRecordId','hostAnchorId','BEFORE','MoveBaseHierarchyRecordCommand','compressBaseRangeValuesPayload','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','2289327OODfGJ','hasOwnProperty','createView','_patchCachedProjectedRows','selectField','views','filled','base.command.rename-base-view','option-','@univerjs-pro/engine-formula','isBaseFieldStatType','createdBy','_clearUnit','isFinite','_getTablesToNormalize','view','_projectedGroupsCache','compose','Failed\x20to\x20create\x20update\x20cell\x20operation:','_activeDirtyManagerService','mark','#3b82f6','usableAsGanttEnd','status','SetTriggerFormulaCalculationStartMutation','defineProperty','_isColorfulKanbanGroupField','CreateBaseViewCommand','BASE_TABLE_NAME_REQUIREMENTS','UnitObject','Injector','object','base-perf-','\x20must\x20be\x20an\x20object.','_title','some','nameCharacterCheck','updateRecordOrder','dateToExcelSerial','score','base.command.update-base-kanban-config','BaseConditionalColorOperator','Unsupported\x20Base\x20permission\x20action:\x20','MoveBaseFieldCommand','replaceOp','registerRuleModel','[BaseCommandService]:\x20cannot\x20manage\x20view.','IS_EMPTY','params','en-US','_setCachedProjection','fieldIds','then','_basePermissions','BatchCreateBaseRecordsCommand','_getStructureDirtyTableIds','pickerFieldIds','unshift','createEmbedBasesTableRemoveMutation','fromPlainText','moveField','canDeleteRecord','_instanceService','direction','_normalizeCalendarDisplayColor','Base\x20edit\x20permission\x20denied.','viewId','Optional','query','recordOrder','usableAsGanttStart','abs','__tempBatchingUndoRedo','changeFieldType','#16a34a','ICommandService','attachments','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_resolveGalleryCardFieldIds','_capabilities','_hierarchyIndexCache','Add','regexp','sum','base.projection.service','displayFieldId','getUTCDay','attachmentSets','compare','setViewFilter','width','order','invalidDateField','_getCellRevision','BaseProjection.projectRows','IPermissionService','_executeSuperTableMutationWhileActive','Module','_calendarEventColor','bases.config','too-long','https://','[BaseCommandService]:\x20cannot\x20delete\x20record.','UpdateBaseViewConfigCommand','UniverProLicense','NUMBER','updatePermissionPoint','includeTime','SetBaseViewFilterCommand',':start','fieldIndex','setHours','validateCanonicalRecordLinkValue','facade','Email','count','fromEntries','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).','#14b8a6','objectType','doing','_groupsCacheKey','IBaseCellData.ensureTableCellLayout','manual','#,##0','UTC','hierarchy','decimal','UpdateBaseFieldCommand','serializeRecordLinkIds','BaseFilterConjunction','FieldId','_materializeGroups','updateViewConfig','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','usableAsCardCover','projection','table/','@univerjs-pro/bases','apply','deleteTable','finally','_registeredSuperTableNames','FORCE_STRING','BaseConditionalDateMode','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','[BaseField]:\x20invalid\x20number\x20value.','_dataSyncPrimaryController','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','MM-DD','split','isArray','createIdentifier','SingleSelect','_syncSuperTables','resolveBaseHierarchyFieldId','_getAllBaseDependencyTreeCacheMap','unitData','setConfig','createDefaultValue','BOOLEAN','_cellInvalidationsTouchFields','globalRevision','[BaseHierarchy]:\x20field\x20\x22','_applyFormulaResult','person','_buildKanban','row','dispose','working','bases.remote.config','_onCommandExecuted','description','column','ColorKit','base.command.delete-base-view','Rating','_getHierarchyIndex','setRangeValues','base.viewType.kanban','resources','gantt','deleteRecords','\x20has\x20unsupported\x20operator\x20\x22','_tableBaseIds','updateField','executeCommand','packageName','19974hpYszO','getAll','SetBasePermissionsCommand','MultiSelect','createRecords','[BaseField]:\x20invalid\x20date\x20value.','Unchecked','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','BaseField','base.command.update-base-view-config','\x20has\x20unsupported\x20date\x20mode\x20\x22','_createSystemFieldValuePatches','[BaseCommandService]:\x20cannot\x20delete\x20field.','bases.fieldConfig.linkPlaceholder','empty','codePointAt','touchDependencies','2043324UcIjqh','getBaseFormulaTableName','notContains','_getSystemFieldValue','base.command.rename-base-table','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','DeleteBaseFieldCommand','toPlainText',',,\x22M\x22','-view-grid','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseField]:\x20invalid\x20phone\x20value.','beforeViewId','_isCalendarDateField','_initDependencies','canEditField','exec','targetTableId','createRegExpFromSafeFragment','DeleteBaseTableCommand','error','useThousands','Formula','CreateBaseChildRecordCommand','field/','_fieldRegistry','_configService','year','setViewFieldWidth','user','base.mutation.','_registerUnitPermissionPoints',':end','SetBaseRangeValuesCommand','format','call','AFTER','setViewSort','isBaseFieldStatSupported','_isAllDayCalendarEvent','refactorFormulaUnitQualifier','[RecordLink]:\x20display\x20field\x20\x22','allocateBaseFormulaTableName','_kanbanLaneTitle','endDateFieldId','setRules','getUTCDate','SetBaseViewFieldVisibleCommand','-record-','_getKanbanConfiguredLanes','A\x20table\x20with\x20this\x20name\x20already\x20exists.','repeat','_viewRowsCacheKey','_plugins','#FDE68A','subtreeEndIndex','colIndex','_apply','Working\x20day','tables','type','createBaseHierarchyParentField','unsubscribe','http:','childrenByParentId','title','constructor','excelSerialToDateTime','[BaseField]:\x20invalid\x20rating\x20value.','_groupConfigCacheSegment','workingDaysOnly','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','DD/MM/YYYY','getBasePermissionValue','UnitAction','registerView','attachment-','reason','Numbering','recordNamePrefix','none','repairViewConfig','markResultApplied','beforeFieldId','unitId','maxDepth','card','UniverEngineFormula','base.command.set-base-record-values','createTable','toLowerCase','members','search','THIS_MONTH','day','at\x20index\x20','string','formula','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','action','missingRecord','formatBaseProgressValue','recordIds','focusUnit','UniverBasesPlugin','copyBaseTableSnapshot','createUniqueBaseTableName','info','getBaseCellValue','_resolveBaseId','merge','parseRecordLinkIds','_scheduleSuperTableSync','registerCtorForType','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','MaxDepth','calendar','uniqueFieldName','duplicateField','trim','_viewPermissions','getOwnPropertyDescriptor','owner','leftPaneCollapsed','addPermissionPoint','_setViewFieldSetting','SelfParent','Import','onReady','161KIgLyR','patches','_fieldPermissions','toFixed','keys','Ids','HH:mm','iterator','saveMany','colorFieldId','children','validateFormula','BASE_FIELD_STAT_TYPES','Undo',',\x22K\x22','getItem','3weopPI','raw','base.viewType.calendar','RecordId','getUTCFullYear','\x22\x20does\x20not\x20exist.','from','level','displayColor','_removeSuperTables','baseDateSerialToDateMs','\x20permission\x20denied.','$1\x20','thread-comment.command.','_buildGantt','normal','h12','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','ensureBaseTableCellLayout','off','_viewRevisions','Uncategorized','_canEdit','relationRole','BaseProjection.filterAndSortRows','_factory','[BaseField]:\x20invalid\x20multi-value\x20reference.','Doing','createViewId','TOMORROW','base.command.update-base-view-conditional-color-rules','undefined','base-snapshot-v1','[BasePerf]\x20','canCreateField','base.command.create-base-child-record','base.command.duplicate-base-field','view/','stringify','DependentOn','_isNonEmptyCellValue','excelDateTimeSerial','_rememberTable','Attachment','isCompressedBaseRangeValuesPayload','ascend','value','FormulaCalculationSessionService','base-range-values-v1','_getOrderedRecords','afterFieldId','sequenceExecute','parentByRecordId','FormulaResultApplicationType','base.command.batch-create-base-records','EnsureBaseTemporalViewDateFieldsCommand','_isKanbanGroupField','UpdatedBy','UNIVER_BASE','[RecordLink]:\x20target\x20record\x20\x22','Disposable','exceptions','getTypeOfUnitAdded$','getFullYear','_resolveCalendarDateFieldId','_clearObjectEdit','map','updatedBy','[BaseCommandService]:\x20field\x20\x22','_T_','CellValueType','IConfigService','BaseView','import','UniverInstanceType','SetBaseKanbanGroupFieldCommand','\x22\x20with\x20field\x20type\x20\x22','values','Use\x2031\x20characters\x20or\x20fewer.','rule','CreatedAt','afterViewId','register','getTypeOfUnitDisposed$','startsWith','UniverRemoteBasesPlugin','_viewRevisionKey','registerSyncingMutations','tableId','_injector','_groupCellInvalidations','changes','bases.fieldConfig.textPlaceholder','fld-','base.viewType.grid','BaseTable','NEXT_30_DAYS','startDateFieldId','remove','recordPatch','__all__','orderKey','findRecordLinkReferences','missingField','groupFieldId','BASE_UNIT_PERMISSION_ACTIONS','colId','\x22\x20is\x20not\x20registered.','default','childType','lessThanOrEqual','setFieldPermission','UniverRpc','includes','isBaseFieldStatEmptyValue','clear','setViewPermission','quarter','usableAsCalendarDate','Remote','cardSize','THIS_WEEK','rowIndexById','subscribe','getUnit','_assertFieldDefinition','createBaseRecordIdField','size','_filterSortFieldIds','DuplicateBaseFieldCommand','_initDataSync','deleteField','Set','MissingRecord','coverFieldId','getCurrentUser','index','has','base.mutation.set-permission-rules','_recordPermissions','base.command.set-base-table-hierarchy-field','createSuperTableReference','Cycle','_check','slice','short','frozenFieldCount','embedId','_isAllDayGanttDateRange','delete','unitWidth','setViewFieldVisible','pattern','_univerInstanceService','getInstance','[BaseCommandService]:\x20cannot\x20edit\x20record.','multiple','fieldId','isValid','options','flatMap','resolveBaseDateFieldConfig','onStarting','_projectRows','DESC','href','onCommandExecuted','cellData','records','contains','localeCompare','LAST_MONTH','color','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','url','_applier','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','endsWith','getBaseCellFormulaValue','Tools','normalizeBaseDateFieldConfig','dateMode','getAllBases','Currency','BaseConditionalColorRuleUpdateType','base.command.ensure-base-temporal-view-date-fields','createBaseFormulaTableNameMap','week','general','validate','getMonth','base.viewType.gallery','BaseSortDirection','BaseEventSource','invalid','start','Done','function','yyyy/mm/dd','getActiveBaseHierarchyFieldIds','conditions','General','[BaseField]:\x20invalid\x20email\x20value.','timeslotSize','NOT_CONTAINS','CreateBaseRecordCommand','base.command.set-base-range-values','Link','_applyingFormulaResults','_bumpTableRevision','setBaseName','subType','REMOTE_BASES_PLUGIN','IActiveDirtyManagerService','_buildGallery','UpdateBaseRecordOrderCommand','unique','generateRandomId','descendPath','fields','delete-view','filter','MUTATION','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_formulaSyncQueue','[BaseViewRegistryService]:\x20view\x20type\x20\x22','forEach','toString','validateBaseTableName','major-','attachmentSet','https:','base.command.create-base-record','projectBaseHierarchy','dateFormat','bases-exchange-client.operation.export-base-by-format','beforeCommandExecuted','catch','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','lastIndex','descend','_initRegistries','large','strategies','base.command.service','number','setSnapshot','getUTCMonth','createBatchCreateRecordsOp','dateKit','[BaseCommandService]:\x20cannot\x20edit\x20field.','decorate','periodComma','_permissionService','label','UniverProFormulaEnginePlugin','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','showFieldNames','getTime','fieldSettings','getStructuredDependencies','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','Checked','redo','@univerjs/rpc','rows','BaseProjection.projectGroups','SetSuperTableMutation','objectId','cycle','isNot','Plugin','renameFormulaUnitReferences','_globalRevision','_deleteRecordsBaseOp','base.command.change-base-field-type','_ganttBarColor','[BaseCommandService]:\x20invalid\x20cell\x20value.','hidden','editable','viewIndexes','Number','push','max','conditionalColoring','invalidateByField','ErrorService','indexOf','field','_formulaService','DeleteBaseRecordCommand','locale','h:mm\x20a','key','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_replaceOptional','ena','Facade','changed','valueOf','base.command.set-base-view-field-visible','SetBaseViewSortCommand','getSupportedBaseFieldStatTypes','includeRecords','operand','getBaseConditionalColorOperators','Phone','depth','createDeleteRecordsUndoOp','selfParent','titleFieldId','prototype','BASES_PLUGIN','createUpdateCellOp','BaseJson1OpApplier','primaryFieldId','Comment','create-view','IUndoRedoService','_resolveGanttDateFieldId','DataSyncPrimaryController','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','renameTable','boolean','basePerf','group','invalidGroupField','104VQaKue','deletePermissionPoint','base.command.set-permission','_resolveKanbanCoverFieldId','leftPaneWidth','progressFieldId','canCreateRecord','_fastSortRows','DeleteView','exports','base.command.delete-base-record','clearBasePermission','viewOrder','setViewGroup','_cellInvalidations','EXACT','round','Person','allowMultiple','base.mutation.apply-base-json1','average','_createNumberingAllocator','createField','_baseSyncDisposables','BaseConditionalColorTarget','canManageView','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','required','[BaseCommandService]:\x20cannot\x20create\x20record.','date','_rowTransformCacheSegment','formatBaseNumberValue','matchAll','isBaseHierarchyField','resolveBaseRangeHierarchyPatches','getAllPermissionPoint','#,##0.00','findIndex','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','renameView','_getTable','UniverProtocol','deleteView','_createNumberingAllocators','registerCommand','depthByRecordId','_projectedRowsCache','_getAllTableIds','symbol','_views','entries','createDefaultConfig','BaseHierarchyInvalidReason','getSnapshot','spacePeriod','scale','Export','ValidateBaseFormulaCommand','_resolveKanbanGroupFieldId','Start\x20date','emitPermissionDenied','_setFormulaFieldCells','PermissionStatus','name','_recordIds','base.command.create-base-table','base.command.update-base-record-order','spaceComma','UpdatedAt','recordCount','EMBED_BASES_TABLE_RESOURCE_KEY','base-perf','base.command.validate-formula','true','canDeleteField','_cacheKey','invalidateByView','_filterRows','_patchProjectedRowsForCellInvalidations','source','Status','invalidReasonByRecordId','FormulaCalculationTriggerService','invalidField','RemoveSuperTableMutation','DeleteBaseViewCommand','createdAt','_commandService','BaseHierarchyError','ruleId','getPermissionPoint','toPrimitive','disposeWithMe','Name','insertOp','getSuperTableRegistrations','True','canEditBaseTargets','getBaseRecordPermissionObjectId','getAffectedRanges','setBasePermissionValue','amd','Date','deepClone','decompressBaseRangeValuesPayload','getBaseViewPermissionObjectId','base.command.create-base-view','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','this-row','_resolveKanbanCardFieldIds','base.command.set-base-view-group','tableRevision','valid','1045675BbIRvm','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','updateCell','operator','SetBaseRecordValuesCommand','_createNumberingFieldValuePatches','rules','401373pVfwaX','\x22.\x20Allowed\x20operators:\x20','Copy','record','Unsupported\x20Base\x20permission\x20object:\x20','protocol','small','toStringTag','_getViewRevision','sort','_formulaCalculationTriggerService','_isAllowedKanbanGroupField','columnSettings','@univerjs-pro/license','invertOp','_findKanbanGroupField','_buildGrid','table','formulaName','join','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','invalidateByCell','invertWithDoc','getAllUnitsForType','createEmbedBasesTableAddMutation','getBaseDashboardPermissionObjectId','validateRecordLinkField','validateRecordLinkValue','UpdateBaseViewConditionalColorRulesCommand','all','tryMaterializeSnapshot','Text','done','SetFormulaCalculationResultMutation','searchTexts','_tableRevisions','#BFDBFE','snapshot','Table','validateBaseHierarchyMove','Parent','path','isEmpty','cell','Clear','conditional','RenameBaseTableCommand','blue','lastIndexOf','BaseDashboard','applyOp','tableOrder','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getUnitType','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','target','BaseCommand.createBatchCreateRecordsOp','_syncBaseUnit','write','getDay','formatBaseDateValue','[BaseFormula]:\x20field\x20\x22','pop','[BaseField]:\x20invalid\x20progress\x20value.','kind','DateSystem','-field-name','length','timeZone','_projectGroups','isBaseRecordIdFieldName','removeOp','BASE_HIERARCHY_PARENT_FIELD_ID','base.fieldType.','_normalizeGalleryConfig','base.command.set-base-view-sort','pushUndoRedo','1.1.0','_projectedViewRowsCache','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','canCreateTable','IResourceManagerService','system','userID','ObjectPermissionService','workingDays','Grid','SetBasePermissionRuleMutation','attachment','canEditRecord','_resolveGalleryCoverFieldId','editCell','canEditCell','bases-exchange-client.operation.export-base','commaPeriod','undo','toLocaleString','record/','_getCurrentUserId','autoIncrement','BaseJson1.normalizeTables','_initialize','_normalizeCellValue','showTodayLine','test','childUnitId','[BaseCommandService]:\x20cannot\x20create\x20table.','_runtimeContext','trigger','createBase','[BaseCommandService]:\x20cannot\x20create\x20field.','_deleteAttachmentResources','SetBaseViewFieldOrderCommand','BaseFieldType','assertBaseTableRecordIdentity','UniverCore','Gallery','_normalizeGanttDisplayColor','Progress','cellRevision','_projectHierarchyGroups','tableName','Gantt','BaseRecordLinkRole','_getJson1DirtyData','columns','fieldName','isBaseConditionalColorDateField','_canEditTable','inferBaseSeparatorStyle','cardLayout','duplicateRecord','BaseHistoryAction','apostrophe','BaseRecord','IS_NOT_EMPTY','Base','NEXT_7_DAYS','embed-ui','_tablePermissions','medium','base.command.move-base-hierarchy-record','_kanbanGroupKeys'];_0xd0ee=function(){return _0x3dbc18;};return _0xd0ee();}
1
+ function _0x2b56(){const _0x3b70bd=['path','updatedBy','_getTableRevision','base-snapshot-v1','_initCommands','base.command.duplicate-base-record','objectId','SetTriggerFormulaCalculationStartMutation','tableRevision','-field-name','Unchecked','updatedAt','toPrimitive','_registerUnitPermissionPoints','Base','BaseConditionalColorTarget','_resolveGalleryCoverFieldId','_canUseFastSort','getUTCMonth','valid','validateBaseHierarchyMove','at\x20index\x20','[BaseHierarchy]:\x20','iterator','usableAsCardCover','_tablePermissions','Email','year','name','@univerjs/engine-formula','BaseConditionalDateMode','_executeSuperTableMutationWhileActive','abs','UniverProLicense','Facade','allowMultiple','currencySymbol','NUMBER','BASE_RECORD_ID_FIELD_ID','score','setRules','setTablePermission','string','_groupConfigCacheSegment','_createRecordWithDefaults','BaseViewType','rules','toFixed','Attachment','sortedView','resolveBaseDateFieldConfig','_replaceOptional','canDeleteRecord','unshift','NEXT_7_DAYS','toLowerCase','resolveBaseRangeHierarchyPatches','date','Start\x20date','_scheduledSuperTableSyncs','_projectionCache',':start','large','edit','_getTable','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','thread-comment.mutation.','_tableRevisions','this-row','BaseProjection.projectRows','compress','row','clearViewPermission','_viewPermissions','call','replaceOp','recordPatch','result','useThousands','oldParentRecordId','base.command.delete-base-field','_formulaCalculationTriggerService','_patchCachedProjectedRows','MM-DD','register','validateCanonicalRecordLinkValue','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','BaseHierarchyErrorCode','length','error','subtreeEndIndex','fieldSettings','Calendar','\x22\x20with\x20field\x20type\x20\x22','base.viewType.gallery','ErrorService','fieldIndex','ena','Person','count','createRecords','_setAttachmentResources','repairViewConfig','majorHeaders','ChangeBaseFieldTypeCommand','#3b82f6','_projectFields','saveMany','[BaseField]:\x20invalid\x20email\x20value.','AFTER','cellRevision','base.mutation.set-permission-rule','DeleteBaseFieldCommand','Undo','createBatchCreateRecordsOp','_findCalendarDateFieldId','usableAsCalendarDate','getActiveBaseHierarchyFieldIds','timeslotSize','Grid','invalidGroupField','createField','MM/DD/YYYY','disposeWithMe','_capabilities','uniqueFieldName','cell','18gDujRf','Text','EXACT','strategies','FORCE_STRING','create-view','redo','timeZone','basePerf','depth','\x22\x20does\x20not\x20exist.','#,##0','[RecordLink]:\x20display\x20field\x20\x22','CONTAINS','IPermissionService','THIS_MONTH',',,,\x22B\x22','IBasePermissionService','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','deleteView','getUnitType','getCurrentUserId','_projectTableRows','getVisibleBaseHierarchyRows','_viewRowsCacheKey','Unsupported\x20Base\x20permission\x20action:\x20','displayFieldId','formatToParts','SetFormulaCalculationResultMutation','function','mode','none','[BaseCommandService]:\x20record-id\x20is\x20reserved.','filter','apply','symbol','4255940duGawN','_filterRows','syncUnit','attachmentSets','ValidateBaseFormulaCommand','depthByRecordId','_removeSuperTables','canEditCell','createDefaultBaseTableSnapshot','base.viewType.calendar','[BaseFormula]:\x20table\x20does\x20not\x20exist.','validateRecordLinkValue','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.',':end','IActiveDirtyManagerService','short','_getViewRevision','SetBasePermissionCommand','base.command.validate-formula','BaseJson1.json1Apply','TODAY','Cycle','_bumpTableRevision','_getTablesToNormalize','_isAllowedKanbanGroupField','showFieldNames','true','href','baseRows','STRING','BaseJson1OpApplier','getUTCDate','BaseDataModel','_apply','isBaseFieldStatSupported','NOT_CONTAINS','_normalizeGanttConfig','createBase','forEach','UpdateBaseFieldCommand','_configService','descend','__all__','general','getTypeOfUnitDisposed$','Working\x20day','moveField','[BaseCommandService]:\x20field\x20\x22','base.command.create-base-record','tableId','_isCalendarDateField','selectField','canDeleteField','LESS_THAN','getOwnPropertyDescriptor','flatMap','_buildCalendar','_getCachedProjection','group','isValidBaseRecordId','PAST_7_DAYS','_title','bases.fieldConfig.textPlaceholder','commaPeriod','subType','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','fieldIds','maxDepth','_resolveCalendarDateFieldId','displayColor','JSON1','getUTCFullYear','createUpdateCellOp','Import','WriteCursor','SingleSelect','_syncBaseUnit','yyyy/mm/dd','UpdatedBy','buildBaseHierarchyIndex','type','_isAllDayGanttDateRange','invalidField','from','optionSource','start','editable','Copy','_recordIds','_deleteAttachmentResources','base.command.change-base-field-type','color','45216zZOGtn','index','primaryFieldName','normalizeBaseDateSerial','hierarchy','_getCellRevision','exports','pushUndoRedo','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','stringify','Name','_dataSyncPrimaryController','base.projection.service','DESC','delete-view','operator','SetBaseKanbanGroupFieldCommand','_materializeFormulaTableNames','[BaseField]:\x20invalid\x20checkbox\x20value.','measure','_plugins','indexOf','record','searchBaseTable','reduce','getFullYear','BEFORE','Phone','rootRecordIds','Remote','BaseRecord','gantt','deletePermissionPoint','lessThanOrEqual','includeRecords','thumbnail','dashboard/','attachment','_activeDirtyManagerService','getBaseFormulaTableName','ruleId','_resolveKanbanCardFieldIds','finally','keys','dispose','unitData','allowNegative','invalidDateField','view-','[BaseFormula]:\x20field\x20\x22','GREATER_THAN','h12','normal','620277MwYJvA','_formulaService','RecordId','Rating','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','[BaseCommandService]:\x20cannot\x20edit\x20table.','registerCommand','_globalRevision','_canEditTable','splice','readonly','attachmentSet','resolveBaseHierarchyFieldId','renameFormulaUnitReferences','UpdateBaseRecordOrderCommand','decimal','_viewRevisions','userID','has','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','bases-exchange-client.operation.export-base-by-format','base.command.move-base-view','doing','duplicate','Use\x2031\x20characters\x20or\x20fewer.','view','pop','startDateFieldId','embedId','Edit','_isAllDayCalendarEvent','createEmbedBasesTableAddMutation','Currency','rowIndex','createViewId','hidden','setViewFieldVisible','invalidateByOp','custom','registerCtorForType','DeleteView','MaxDepth','projectBaseHierarchy','_fastSortRows','_permissionService','limit','unknown','add','includes','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','SetBaseViewFilterCommand','primaryFieldId','field/','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','createRecord','rows','UTC','setRangeValues','check','toString','_materializeGroups','setViewGroup','bases.fieldConfig.linkPlaceholder','fieldName','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','prototype','createCreateRecordOp','_kanbanLaneColor','updateRecordOrder','_resolveBaseId','scale','_projectedGroupsCache','_buildKanban','getBaseTablePermissionObjectId','write','then','import','locale','_normalizeCellValue','generateRandomId','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_initDependencies','inferBaseSeparatorStyle','_T_','CreateBaseChildRecordCommand','parseRecordLinkIds','isInteger','formatBaseDateValue','BaseJson1OpFactory','_projectGroups','_findKanbanGroupField','options','_groupCellInvalidations','_applyingFormulaResults','childType','BaseTable','isBaseFieldStatType','BASE_UNIT_PERMISSION_ACTIONS','deleteRecord','progressFieldId','startsWith','_recordPermissions','packageName','createDefaultConfig','getUTCDay','_disposed','updatePermissionPoint','empty','sum','blue','moveView','remote','BaseFormulaService','trigger','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseViewRegistryService]:\x20view\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','A\x20table\x20with\x20this\x20name\x20already\x20exists.','setConfig','CreatedBy','clearTablePermission','rowIndexById','createDeleteRecordsUndoOp','afterFieldId','setViewFilter','LAST_MONTH','createCreateFieldOp','UnitObject','$1\x20','UniverRemoteBasesPlugin','onStarting','Empty','[BaseCommandService]:\x20cannot\x20create\x20record.','2766358UUoiPi','_onCommandExecuted','Formula','working','_groupsCacheKey','pluginName','bases.remote.config','values','[BaseCommandService]:\x20cannot\x20delete\x20field.','local','getDay','BASES_PLUGIN','getBaseHierarchyDeletePromotions','[BaseProjectionService]:\x20missing\x20view\x20\x22','Kanban','base-perf-','Base\x20','ICommandService','invalidateByCell','filled','orderedRecordIds','getBaseHierarchyFieldId','getAll','get','viewId','NEXT_30_DAYS','collaborators','UniverInstanceType','h24','Table\x20name\x20is\x20required.','afterViewId','getTypeOfUnitAdded$','UpdatedAt','undo','clearFieldPermission','BaseProjection.materializeTableRows','base.field-registry.service','subtreeHeightByRecordId','Base\x20edit\x20permission\x20denied.','fromPlainText','_resolveKanbanGroupFieldId','isBaseRecordIdFieldName','[BaseField]:\x20invalid\x20rating\x20value.','deleteTable','every','[BaseCommandService]:\x20cannot\x20manage\x20view.','localeCompare','Yes','Date1900','CreateBaseFieldCommand','#,##0.00','_buildGallery','getBasePermissionValue','DD/MM/YYYY','base.fieldType.','canManageView','_applier','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','IUniverInstanceService','InvalidField','_config','title','MoveBaseFieldCommand','setHours','_matchesGanttColorRule','removeOp','todo','_tableBaseIds','getSuperTableRegistrations','SetBasePermissionRulesMutation','BaseFieldType','base.command.set-base-view-field-visible','version','_injector','average','missingField','_projectedViewRowsCache','contains','addPermissionPoint','SetBaseViewSortCommand','YYYY-MM-DD','setFieldPermission','parse','boolean','__UNIVER_BASE_PERF__','base.permission.service','setViewFieldOrder','dependencyFieldId','deepClone','_cellInvalidations','parentRecordId','toDisposable','test','UniverProFormulaEnginePlugin','lastIndexOf','base-range-values-v1','Ids','leftPaneCollapsed','_createSystemFieldValuePatches','setBaseName','CreateBaseViewCommand','validateBaseHierarchyRecordPatches','h:mm\x20a','viewRevision','CreateBaseRecordCommand','getCurrentUser','base.command.update-base-record-order','#14b8a6','_clearUnit','field','set','colId','subscribe','createUnit','viewIndexes','_createNumberingAllocator','base.command.create-base-child-record','UpdateBaseViewConfigCommand','setBasePermission','separatorStyle','conditions','setPoint','BaseHierarchyError','isCompressedBaseRangeValuesPayload','matchAll','createIdentifier','base.command.rename-base-view','BaseProjection.filterAndSortRows','createdAt','CellValueType','info','mark','Comment','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','registerRuleModel','_toDirtyRangePatch','_getHierarchyIndex','padStart','attachments','numfmt','_fieldPermissions','[BaseField]:\x20invalid\x20date\x20value.','MoveBaseHierarchyRecordCommand','text','unitId','CommandType','Gallery','2DGcxCX','findIndex','SetBaseViewFieldOrderCommand','isValid','emitPermissionDenied','projection','Disposable','UniverProBases','groups','regexp','base.command.delete-base-view','_isColorfulKanbanGroupField','changes','relationRole','[BaseCommandService]:\x20cannot\x20edit\x20field.','Date','duplicateField','_setCachedProjection','tables','608FrEFUf','HH:mm','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','getBaseConditionalColorOperators','Number','canEditField','BaseConditionalColorRuleUpdateType','cardLayout','fromChangeset','owner','small','canEditRecord','createBaseFormulaTableNameMap','periodComma','multiple','_setFormulaFieldCells','BaseView','Checked','base.command.set-permission','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','coverFieldId','_formulaSyncQueue','https://','dateMode','createUniqueBaseTableName','apostrophe','changed','hasOwnProperty','description','searchTexts','onCommandExecuted','_registeredSuperTableNames','join','SetBaseTableHierarchyFieldCommand','_isNonEmptyCellValue','max','quarter','level','fromEntries','_normalizeGalleryConfig','getAllPermissionPoint','[BaseFormula]:\x20table\x20\x22','Inject','calculateBaseFieldStat','clearBasePermission','compose','trim','_getAllTableIds','views','resources','_cellInvalidationsTouchFields','decimalPlaces','base.command.delete-base-record','@univerjs/core','dateKit','_withModifiedSystemValues','ensureBaseTableCellLayout','BaseProjection.getProjection','major-','lessThan','medium','-view-grid','updateCell','normalizeBaseDateFieldConfig','DataSyncPrimaryController','hostAnchorId','PAST_30_DAYS','gridViewId','exceptions','ObjectPermissionService','_isKanbanGroupField','UpdateBaseViewConditionalColorRulesCommand','query','members','[BaseField]:\x20invalid\x20phone\x20value.','_resolveGalleryCardFieldIds','\x20must\x20have\x20a\x20non-empty\x20id.','FieldId','validateFormula','workingDays','_cacheKey','Choose\x20another\x20name.','SetBaseViewGroupCommand','user','number','\x22.\x20Allowed\x20operators:\x20','Failed\x20to\x20create\x20update\x20cell\x20operation:','target','base.mutation.apply-base-json1','COMMAND','entries','NumberFormat','duplicateRecord','month','order','raw','sort','setRecordValues','base.command.set-base-view-field-width','BaseHierarchyInvalidReason','slice','@univerjs-pro/engine-formula','_setViewFieldSetting','parentFieldName','UniverBasesPlugin','operand','\x20cannot\x20use\x20operator\x20\x22','endsWith','_deleteRecordsBaseOp','initializeUnit','object','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_initialize','Add','IUndoRedoService','_rowTransformCacheSegment','MultiSelect','BaseSortDirection','en-US','_getKanbanConfiguredLanes','attachment-','getBaseViewPermissionObjectId','createBaseHierarchyParentField','find','_getStructureDirtyTableIds','assign','JSONX','manual','snapshot','required','colIndex','toStringTag','_getCurrentUserId','direction','getSupportedBaseFieldStatTypes','validateBaseTableName','exists','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','isFinite','touchDependencies','SetBasePermissionRuleMutation','[BasePerf]\x20','_univerInstanceService','recordOrder','copyBaseTableSnapshot','executeCommand','Optional','_createNumberingAllocators','_initRegistries','revision','getUnitId','recordNamePrefix','editCell','beforeCommandExecuted','_basePermissions','unitOtherData','_getSystemFieldValue','all','BaseRecordLinkRole','IBaseViewRegistryService','clear','clearUnit','formula','Injector','value','validate','includeTime','kind','_createRecordOrderOp','_projectRows','decompressBaseRangeValuesPayload','percent','width','resolve','getStructuredDependencies','columnSettings','base.command.update-base-cell','selfParent','_enqueueFormulaSync','recordId','Parent','base.command.move-base-field','THIS_WEEK','star','getBaseDashboardPermissionObjectId','normalize','createSetRecordValuesOp','replace','End\x20date','FormulaCalculationTriggerService','_normalizeCalendarConfig','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','[BaseField]:\x20invalid\x20progress\x20value.','Doing','record/','True','_buildGrid','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','[BaseCommandService]:\x20cannot\x20delete\x20record.','createTable','IS_NOT','parentByRecordId','updateField','renameView','UNIVER_BASE','split','childrenByParentId','viewOrder','ascend','targetTableId','DependentOn','resolvedOptions','_resolveKanbanCoverFieldId','groupFieldId','DeleteBaseViewCommand','_filterSortFieldIds','_buildGantt','base.command.update-base-view-conditional-color-rules','getSnapshot','_formulaCalculationSessionService','SetBaseViewFieldWidthCommand','workingDaysOnly','_normalizeGanttDisplayColor','invertWithDoc','SetBaseRecordValuesCommand','SetBaseViewFieldVisibleCommand','_kanbanGroupKeys','dateFormat','_getAllBaseDependencyTreeCacheMap','_applyFormulaResult','markResultApplied','compressBaseRangeValuesPayload','setSnapshot','deleteField','getProjection','status','recordIds','day','base.viewType.grid','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','fieldOrder','base.command.set-base-name','361656QtmXiR','now','focusUnit','UnitAction','getTime','getBase','base.command.set-base-kanban-group-field','weekdays','abbreviation','autoIncrement','198805BXFAQz','BASE_HIERARCHY_PARENT_FIELD_ID','rowId','base.command.service','getCapabilities','UpdateBaseCellCommand','isBaseConditionalColorDateField','beforeFieldId','MissingRecord','IBaseProjectionService','assertBaseTableRecordIdentity','Progress','SetBaseRangeValuesCommand','base.command.duplicate-base-field','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','frozenFieldCount','Parent\x20Items','_viewRevisionKey','BOOLEAN','catch','CustomCommandExecutionError','invertOp','canEditBaseTargets','defineProperty','url','Export','_resolveGanttDateFieldId','baseDateSerialToDateMs','[BaseCommandService]:\x20cannot\x20delete\x20table.','IS_NOT_EMPTY','https:','source','getDependencies','isNot','base.command.update-base-view-config','getTypePlugin','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','missingRecord','code','key','_getOrderedRecords','canCreateRecord','canCreateField','INIT','ObjectMatrix','_normalizeCalendarDisplayColor','_projectHierarchyGroups','getAllUnitsForType','decorate','merge','canEditTable','canCreateTable','size','MUTATION','base.command.','leftPaneWidth','renameTable','bases.config','[BaseCommandService]:\x20invalid\x20field\x20definition.','invalidateByView','forValue','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','objectType','notContains','conjunction','titleFieldId','exec','policy','tableOrder','beforeViewId','BaseProjection.projectGroups','_isGanttDateField','label','delete','base.command.update-base-field-description','Invalid\x20object\x20permission\x20batch.','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','canDeleteTable','insertOp','base.command.batch-delete-base-records','_instanceService','ColorKit','invalidateByField','_sortRows','greaterThan','IResourceManagerService','regenerateViewIds','BaseDashboard','BASE_TABLE_NAME_REQUIREMENTS','_createNumberingFieldValuePatches','getInstance','_baseSyncDisposables','bases-exchange-client.operation.export-base','setBasePermissionValue','BaseHistoryAction','fromCollab','\x20must\x20be\x20an\x20object.','allowDangling','_setObjectEdit','traceBasePerformance','updateViewConfig','_views','formulaName','min','getPermissionPoint','format','calendar','setViewFieldWidth','COLUMN','formatBaseProgressValue','Status','RemoveSuperTableMutation','round','children','CreateView','[BaseHierarchy]:\x20field\x20\x22','_assertFieldDefinition','findRecordLinkReferences','_projectedRowsCache','BaseEventSource','deleteRecords','isArray','createRegExpFromSafeFragment','view/','EnsureBaseTemporalViewDateFieldsCommand','Tools','params','IS_EMPTY','YESTERDAY','getAffectedRanges','lastIndex','Group','usableAsGanttStart',',\x22K\x22','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','nodes','SetBasePermissionsCommand','_canEdit','BaseField','recordCount','createView','BaseConditionalColorOperator','Plugin','_patchProjectedRowsForCellInvalidations','Link','Numbering','col','kanban','data','base.command.create-base-view','changeFieldType','some','#FDE68A','[BaseCommandService]:\x20cannot\x20create\x20table.','getUnit','map','invalid','RecordLink','UniverEngineFormula','fld-','MoveBaseViewCommand','[BaseCommandService]:\x20invalid\x20cell\x20value.','UniverLicensePlugin','push','938744wUZdeB','tableName','undefined','Checkbox','REMOTE_BASES_PLUGIN','BASE_OBJECT_PERMISSION_PLUGIN','_ganttBarColor','UNIVER_EMBED_BASES_TABLE','IBaseCellData.ensureTableCellLayout','PermissionStatus','_commandService','base.command.update-base-field','UniverCore','defaultValue','_fieldRegistry','univer.basePerf','toLocaleString','patches','[BaseField]:\x20invalid\x20number\x20value.','_hierarchyIndexCache','endDateFieldId','getBaseCellValue','IBaseCommandService','config','table','base.command.set-permissions','CreateBaseTableCommand','fields','spaceComma','thread-comment.command.','conditional','orderKey','getItem','_kanbanLaneTitle','_check','SelfParent','createSuperTableReference','createBaseRecordIdField','fieldId','base.view-registry.service','base.command.update-base-kanban-config','getMonth','isBaseFieldStatEmptyValue','remove','RenameBaseViewCommand','invalidReasonByRecordId','person','syncExecuteCommand','[RecordLink]:\x20target\x20record\x20\x22','action','option-','http:','[BaseCommandService]:\x20cannot\x20create\x20field.','DateSystem','system','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','base.command.rename-base-table','BASE_FIELD_STAT_TYPES','BASE','valueOf','_cellRevisions','Gantt','_resolveCardTitleFieldId','pattern','compare','embed-ui','setViewSort','card','_rememberTable','records','getAllBases','false','sequenceExecute','_factory','colorFieldId','end','BaseJson1.normalizeTables','diffValue','EMBED_BASES_TABLE_RESOURCE_KEY','showTodayLine','LAST_WEEK','False','_clearObjectEdit','createdBy','BaseJson1.cloneForOp','cycle','_calendarEventColor','codePointAt','column','_initDataSync','_runtimeContext','BatchDeleteBaseRecordsCommand','globalRevision','\x20has\x20unsupported\x20operator\x20\x22','off','normalizeBaseFieldStatsConfig','protocol','__tempBatchingUndoRedo','IConfigService','[RecordLink]:\x20field\x20config\x20is\x20invalid.','cellData','BaseJson1.syncCellInvalidations','excelSerialToDateTime','spacePeriod','rule','unsubscribe','setRule','DuplicateBaseRecordCommand','FormulaResultApplicationType','Clear','cardSize','_groupProjectionFieldIds','[DeleteBaseTableCommand]:\x20table\x20\x22','isNotEmpty','invalidGanttEndField','reason','_scheduleSuperTableSync','base-perf','base.command.set-base-table-hierarchy-field','CreatedAt','applyOp','week'];_0x2b56=function(){return _0x3b70bd;};return _0x2b56();}function _0x5c61(_0x407b37,_0x509bd2){_0x407b37=_0x407b37-0x10e;const _0x2b568e=_0x2b56();let _0x5c610b=_0x2b568e[_0x407b37];return _0x5c610b;}(function(_0x209303,_0xa99414){const _0x48f5a4=_0x5c61,_0xb4d803=_0x209303();while(!![]){try{const _0xd916fe=parseInt(_0x48f5a4(0x37b))/0x1+-parseInt(_0x48f5a4(0x276))/0x2*(parseInt(_0x48f5a4(0x15d))/0x3)+-parseInt(_0x48f5a4(0x42a))/0x4+-parseInt(_0x48f5a4(0x385))/0x5*(parseInt(_0x48f5a4(0x523))/0x6)+parseInt(_0x48f5a4(0x1e3))/0x7+parseInt(_0x48f5a4(0x289))/0x8*(-parseInt(_0x48f5a4(0x128))/0x9)+parseInt(_0x48f5a4(0x547))/0xa;if(_0xd916fe===_0xa99414)break;else _0xb4d803['push'](_0xb4d803['shift']());}catch(_0x42a34b){_0xb4d803['push'](_0xb4d803['shift']());}}}(_0x2b56,0x3a914),function(_0x2bb5f1,_0x3dcf83){const _0x46d210=_0x5c61;typeof exports==_0x46d210(0x2f7)&&typeof module<'u'?_0x3dcf83(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==_0x46d210(0x540)&&define['amd']?define([_0x46d210(0x12e),_0x46d210(0x2be),_0x46d210(0x2ee),'@univerjs/protocol','@univerjs-pro/license','@univerjs/rpc',_0x46d210(0x4c1)],_0x3dcf83):(_0x2bb5f1=typeof globalThis<'u'?globalThis:_0x2bb5f1||self,_0x3dcf83(_0x2bb5f1[_0x46d210(0x27d)]={},_0x2bb5f1[_0x46d210(0x436)],_0x2bb5f1['UniverProEngineFormula'],_0x2bb5f1['UniverProtocol'],_0x2bb5f1[_0x46d210(0x4c5)],_0x2bb5f1['UniverRpc'],_0x2bb5f1[_0x46d210(0x424)]));}(this,function(_0x258158,_0x36cce1,_0x7de12b,_0x282c79,_0x231ea5,_0x468347,_0x5590de){const _0x292328=_0x5c61;Object[_0x292328(0x39c)](_0x258158,Symbol[_0x292328(0x30c)],{'value':'Module'});function _0x4ab7c2(_0x59edab){const _0x3865e3=_0x292328;let _0x571f4c=_0x59edab[_0x3865e3(0x441)][_0x3865e3(0x35a)],_0x56491b=_0x59edab[_0x3865e3(0x441)]['multiple'],_0xeeb7cc=_0x59edab['config'][_0x3865e3(0x53d)],_0x5a50e0=_0x59edab[_0x3865e3(0x441)]['pickerFieldIds'],_0x527cdc=_0x59edab[_0x3865e3(0x441)]['relationRole'];return typeof _0x571f4c!=_0x3865e3(0x4ce)||!_0x571f4c||typeof _0x56491b!='boolean'||_0xeeb7cc!==void 0x0&&(typeof _0xeeb7cc!='string'||!_0xeeb7cc)||_0x527cdc!==void 0x0&&_0x527cdc!==_0x36cce1[_0x3865e3(0x327)]['Parent']||_0x5a50e0!==void 0x0&&(!Array['isArray'](_0x5a50e0)||_0x5a50e0[_0x3865e3(0x41d)](_0x5dd624=>typeof _0x5dd624!=_0x3865e3(0x4ce)||!_0x5dd624)||new Set(_0x5a50e0)['size']!==_0x5a50e0[_0x3865e3(0x4fc)])?null:{'targetTableId':_0x571f4c,'multiple':_0x56491b,..._0xeeb7cc?{'displayFieldId':_0xeeb7cc}:{},..._0x5a50e0?{'pickerFieldIds':[..._0x5a50e0]}:{},..._0x527cdc?{'relationRole':_0x527cdc}:{}};}function _0x1f8a90(_0x1bcd73){const _0x2f8368=_0x292328;return typeof _0x1bcd73!=_0x2f8368(0x4ce)||_0x1bcd73===''?[]:_0x1bcd73[_0x2f8368(0x356)](',');}function _0x168a1a(_0x3ac484){const _0x2b7c3a=_0x292328;return Array[_0x2b7c3a(0x11f)](new Set(_0x3ac484))['join'](',');}function _0x18c815(_0x4e28aa,_0xa9203a){const _0x1f0f42=_0x292328;if(typeof _0x4e28aa!=_0x1f0f42(0x4ce))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x4e28aa==='')return{'valid':!0x0};let _0x287e41=_0x4e28aa[_0x1f0f42(0x356)](',');return!_0xa9203a&&_0x287e41[_0x1f0f42(0x4fc)]>0x1?{'valid':!0x1,'reason':_0x1f0f42(0x19e)}:_0x287e41[_0x1f0f42(0x41d)](_0x100997=>!(0x0,_0x36cce1[_0x1f0f42(0x582)])(_0x100997))||new Set(_0x287e41)['size']!==_0x287e41['length']||_0x168a1a(_0x287e41)!==_0x4e28aa?{'valid':!0x1,'reason':_0x1f0f42(0x4e5)}:{'valid':!0x0};}function _0x383bb3(_0x2f58f4,_0x45a768){const _0x4ea7ae=_0x292328;if(_0x45a768[_0x4ea7ae(0x11c)]!==_0x36cce1[_0x4ea7ae(0x229)]['RecordLink'])return{'valid':!0x0};let _0x4e24c3=_0x4ab7c2(_0x45a768),_0x48f958=_0x4e24c3?_0x2f58f4['tables'][_0x4e24c3['targetTableId']]:void 0x0;if(!_0x4e24c3||!_0x48f958)return{'valid':!0x1,'reason':_0x4ea7ae(0x161)};let _0x9a1488=[..._0x4e24c3[_0x4ea7ae(0x53d)]?[_0x4e24c3[_0x4ea7ae(0x53d)]]:[],..._0x4e24c3['pickerFieldIds']??[]][_0x4ea7ae(0x304)](_0x4c1f81=>{const _0x3c59af=_0x4ea7ae;let _0x3f70e6=_0x48f958[_0x3c59af(0x445)][_0x4c1f81];return!_0x3f70e6||_0x3f70e6['system']===!0x0||_0x3f70e6['type']===_0x36cce1['BaseFieldType'][_0x3c59af(0x15f)];});return _0x9a1488?{'valid':!0x1,'reason':_0x4ea7ae(0x52f)+_0x9a1488+_0x4ea7ae(0x3a9)}:{'valid':!0x0};}function _0x4a4fc8(_0x281e71,_0x2cb078,_0x47d170,_0x5a89c5={}){const _0x220b97=_0x292328;let _0x51b0aa=_0x4ab7c2(_0x2cb078);if(_0x2cb078[_0x220b97(0x11c)]!==_0x36cce1[_0x220b97(0x229)][_0x220b97(0x423)]||!_0x51b0aa)return{'valid':!0x1,'reason':_0x220b97(0x48d)};let _0x4c4521=_0x18c815(_0x47d170,_0x51b0aa['multiple']);if(!_0x4c4521[_0x220b97(0x4b7)]||_0x5a89c5[_0x220b97(0x3e6)])return _0x4c4521;let _0x4580a4=_0x281e71[_0x220b97(0x288)][_0x51b0aa[_0x220b97(0x35a)]];if(!_0x4580a4)return{'valid':!0x1,'reason':_0x220b97(0x161)};let _0x46d19d=_0x1f8a90(_0x47d170)[_0x220b97(0x304)](_0x22434b=>!_0x4580a4[_0x220b97(0x46f)][_0x22434b]);return _0x46d19d?{'valid':!0x1,'reason':_0x220b97(0x45a)+_0x46d19d+_0x220b97(0x52d)}:{'valid':!0x0};}function _0x28bc25(_0x30c7e6,_0x4101f1){const _0x45e20a=_0x292328;return Object[_0x45e20a(0x1ea)](_0x30c7e6[_0x45e20a(0x288)])['flatMap'](_0x3658cf=>Object['values'](_0x3658cf['fields'])[_0x45e20a(0x57e)](_0x2db945=>{const _0x23e1e4=_0x45e20a;let _0x21f40a=_0x2db945[_0x23e1e4(0x11c)]===_0x36cce1[_0x23e1e4(0x229)][_0x23e1e4(0x423)]?_0x4ab7c2(_0x2db945):null;return(_0x21f40a==null?void 0x0:_0x21f40a[_0x23e1e4(0x35a)])===_0x4101f1?[{'tableId':_0x3658cf['id'],'fieldId':_0x2db945['id']}]:[];}));}let _0xd7dff3='__base_hierarchy_parent__',_0x5387ac=function(_0x2001eb){const _0x23effd=_0x292328;return _0x2001eb[_0x23effd(0x21e)]='invalidField',_0x2001eb[_0x23effd(0x38d)]='missingRecord',_0x2001eb['SelfParent']=_0x23effd(0x33a),_0x2001eb[_0x23effd(0x55c)]=_0x23effd(0x47f),_0x2001eb['MaxDepth']=_0x23effd(0x10f),_0x2001eb['SortedView']=_0x23effd(0x4d5),_0x2001eb;}({});var _0x33b26b=class extends Error{constructor(_0x15ed8b,_0x12eb45=_0x292328(0x4ba)+_0x15ed8b){const _0xaf0076=_0x292328;super(_0x12eb45),this[_0xaf0076(0x3ab)]=_0x15ed8b,this['name']=_0xaf0076(0x25d);}};let _0xe8ae77=function(_0x349141){const _0x2fc336=_0x292328;return _0x349141['UI']='ui',_0x349141[_0x2fc336(0x4c6)]='facade',_0x349141[_0x2fc336(0x145)]=_0x2fc336(0x1cd),_0x349141[_0x2fc336(0x515)]=_0x2fc336(0x204),_0x349141['Redo']='redo',_0x349141[_0x2fc336(0x115)]=_0x2fc336(0x1aa),_0x349141;}({});function _0x3e34db(_0x46f5ec,_0x32d972){const _0x18484e=_0x292328;if(!_0x32d972)return!0x1;let _0x24f318=_0x46f5ec[_0x18484e(0x445)][_0x32d972];if(!_0x24f318||_0x24f318[_0x18484e(0x11c)]!==_0x36cce1[_0x18484e(0x229)][_0x18484e(0x423)])return!0x1;let _0x5a5cd3=_0x4ab7c2(_0x24f318);return _0x5a5cd3?_0x5a5cd3[_0x18484e(0x35a)]===_0x46f5ec['id']&&_0x5a5cd3[_0x18484e(0x297)]===!0x1:!0x1;}function _0x3a027d(_0x183722){const _0x2982c5=_0x292328;return[..._0x183722['fieldOrder'],...Object[_0x2982c5(0x153)](_0x183722[_0x2982c5(0x445)])[_0x2982c5(0x544)](_0xe769aa=>!_0x183722[_0x2982c5(0x379)][_0x2982c5(0x18d)](_0xe769aa))[_0x2982c5(0x2e9)]()][_0x2982c5(0x304)](_0x40095c=>{const _0x357068=_0x2982c5;var _0x248238;return _0x3e34db(_0x183722,_0x40095c)?((_0x248238=_0x4ab7c2(_0x183722[_0x357068(0x445)][_0x40095c]))==null?void 0x0:_0x248238[_0x357068(0x283)])===_0x36cce1['BaseRecordLinkRole']['Parent']:!0x1;})??null;}function _0x3dcefb(_0x276035){const _0xe2c1e6=_0x292328;let _0x24361c=_0x3a027d(_0x276035);if(_0x24361c)return _0x24361c;let _0x469b83=_0xd7dff3,_0x523c0c=0x2;for(;_0x276035[_0xe2c1e6(0x445)][_0x469b83];)_0x469b83=_0xd7dff3+'_'+_0x523c0c++;return _0x469b83;}function _0x44c347(_0x4cf951,_0x1414ea=_0x3dcefb(_0x4cf951),_0x3a616e=_0x292328(0x395)){const _0x5abc03=_0x292328;return{'id':_0x1414ea,'name':_0x3a616e,'type':_0x36cce1['BaseFieldType']['RecordLink'],'config':{'targetTableId':_0x4cf951['id'],'multiple':!0x1,'displayFieldId':_0x4cf951[_0x5abc03(0x190)],'pickerFieldIds':[_0x4cf951[_0x5abc03(0x190)]],'relationRole':_0x36cce1[_0x5abc03(0x327)][_0x5abc03(0x33d)]}};}function _0x145f37(_0x26f8af){let _0x46effb=_0x3a027d(_0x26f8af);return _0x46effb?[_0x46effb]:[];}function _0x13a199(_0x484c07,_0x1cd5fe){const _0x2a3bce=_0x292328;let _0x12d26e=[..._0x145f37(_0x484c07)][_0x2a3bce(0x544)](_0x3cc124=>_0x1cd5fe[_0x2a3bce(0x41d)](_0x2cf9fb=>Object[_0x2a3bce(0x19f)][_0x2a3bce(0x2a4)]['call'](_0x2cf9fb['values'],_0x3cc124)));if(!_0x12d26e[_0x2a3bce(0x4fc)])return[];let _0x3bf9ff={..._0x484c07[_0x2a3bce(0x46f)]};_0x1cd5fe[_0x2a3bce(0x56d)](_0xb2a17d=>{const _0x3395ff=_0x2a3bce;let _0x592846=_0x3bf9ff[_0xb2a17d[_0x3395ff(0x33c)]];_0x592846&&(_0x3bf9ff[_0xb2a17d[_0x3395ff(0x33c)]]={..._0x592846,'values':{..._0x592846[_0x3395ff(0x1ea)],..._0xb2a17d['values']}});});let _0x4d3383={..._0x484c07,'records':_0x3bf9ff},_0x21a11a=[];return _0x12d26e[_0x2a3bce(0x56d)](_0x5cd710=>{const _0x56ed3a=_0x2a3bce;let _0x43a885=_0x575e29(_0x484c07,_0x5cd710),_0x31a261=_0x575e29(_0x4d3383,_0x5cd710);for(let [_0x5baadd,_0x196a67]of _0x31a261[_0x56ed3a(0x457)]){let _0x252470=_0x1cd5fe['some'](_0x55fe5d=>_0x55fe5d[_0x56ed3a(0x33c)]===_0x5baadd&&Object[_0x56ed3a(0x19f)][_0x56ed3a(0x2a4)][_0x56ed3a(0x4ee)](_0x55fe5d[_0x56ed3a(0x1ea)],_0x5cd710));if(_0x43a885['invalidReasonByRecordId'][_0x56ed3a(0x1fa)](_0x5baadd)!==_0x196a67||_0x252470)throw new _0x33b26b(_0x171bed(_0x196a67));}_0x1cd5fe['forEach'](_0x429813=>{const _0x4c209b=_0x56ed3a;if(!Object[_0x4c209b(0x19f)]['hasOwnProperty'][_0x4c209b(0x4ee)](_0x429813['values'],_0x5cd710))return;let _0x5e9aa9=_0x43a885[_0x4c209b(0x352)][_0x4c209b(0x1fa)](_0x429813[_0x4c209b(0x33c)])??null,_0x3c1135=_0x31a261[_0x4c209b(0x352)][_0x4c209b(0x1fa)](_0x429813[_0x4c209b(0x33c)])??null;_0x5e9aa9!==_0x3c1135&&_0x21a11a['push']({'tableId':_0x484c07['id'],'fieldId':_0x5cd710,'recordId':_0x429813['recordId'],'oldParentRecordId':_0x5e9aa9,'parentRecordId':_0x3c1135});});}),_0x21a11a;}function _0x35c4bc(_0x2a22e0,_0xfae009){const _0x6368fd=_0x292328;let _0x53c192=_0xfae009[_0x6368fd(0x421)](_0x2c2826=>_0x2c2826['id']);if(new Set(_0x53c192)[_0x6368fd(0x3b9)]!==_0x53c192[_0x6368fd(0x4fc)]||_0x53c192[_0x6368fd(0x41d)](_0x4caffe=>_0x2a22e0[_0x6368fd(0x46f)][_0x4caffe]))return[];let _0x293818=_0x145f37(_0x2a22e0),_0x30080e=_0x293818[_0x6368fd(0x4fc)]?null:_0x3dcefb(_0x2a22e0),_0x4051b7=[..._0x293818,..._0x30080e&&_0xfae009[_0x6368fd(0x41d)](_0x5a48b2=>Object[_0x6368fd(0x19f)][_0x6368fd(0x2a4)][_0x6368fd(0x4ee)](_0x5a48b2[_0x6368fd(0x1ea)],_0x30080e))?[_0x30080e]:[]][_0x6368fd(0x544)](_0x1daebb=>_0xfae009['some'](_0x286335=>Object[_0x6368fd(0x19f)]['hasOwnProperty'][_0x6368fd(0x4ee)](_0x286335['values'],_0x1daebb)));if(!_0x4051b7['length'])return[];let _0x110109={..._0x2a22e0,'records':{..._0x2a22e0[_0x6368fd(0x46f)],...Object['fromEntries'](_0xfae009[_0x6368fd(0x421)](_0x1ea578=>[_0x1ea578['id'],_0x1ea578]))},'recordOrder':[..._0x2a22e0[_0x6368fd(0x318)]??[],..._0xfae009[_0x6368fd(0x421)](_0x4807c8=>_0x4807c8['id'])]},_0x41d77a=[];return _0x4051b7[_0x6368fd(0x56d)](_0x225786=>{const _0x38cf03=_0x6368fd;let _0x47e1b6=_0x575e29(_0x110109,_0x225786);_0xfae009[_0x38cf03(0x56d)](_0x285aee=>{const _0x54e50c=_0x38cf03;let _0x304087=_0x47e1b6[_0x54e50c(0x457)]['get'](_0x285aee['id']);if(_0x304087)throw new _0x33b26b(_0x171bed(_0x304087));let _0x5da6c2=_0x47e1b6[_0x54e50c(0x352)][_0x54e50c(0x1fa)](_0x285aee['id'])??null;_0x5da6c2&&_0x41d77a[_0x54e50c(0x429)]({'tableId':_0x2a22e0['id'],'fieldId':_0x225786,'recordId':_0x285aee['id'],'oldParentRecordId':null,'parentRecordId':_0x5da6c2});});}),_0x41d77a;}function _0x171bed(_0x42852e){const _0x54a3e3=_0x292328;switch(_0x42852e){case _0x36cce1[_0x54a3e3(0x2ec)]['MissingParent']:return _0x54a3e3(0x3aa);case _0x36cce1[_0x54a3e3(0x2ec)][_0x54a3e3(0x44d)]:return _0x54a3e3(0x33a);case _0x36cce1[_0x54a3e3(0x2ec)]['Cycle']:return _0x54a3e3(0x47f);case _0x36cce1[_0x54a3e3(0x2ec)][_0x54a3e3(0x186)]:return'maxDepth';}}function _0x5b2e57(_0x472d0a,_0x2c96b3){const _0x324910=_0x292328;let _0x491a1f=new Set(_0x2c96b3),_0x25752d=_0x145f37(_0x472d0a);return Object[_0x324910(0x1ea)](_0x472d0a['records'])[_0x324910(0x57e)](_0xcea2fa=>_0x491a1f[_0x324910(0x16f)](_0xcea2fa['id'])?[]:Array[_0x324910(0x11f)](_0x25752d)['flatMap'](_0x124947=>{const _0x473c52=_0x324910;let _0x5ebfaa=_0x1f8a90(_0xcea2fa[_0x473c52(0x1ea)][_0x124947])[0x0]??null;return _0x5ebfaa&&_0x491a1f[_0x473c52(0x16f)](_0x5ebfaa)?[{'tableId':_0x472d0a['id'],'fieldId':_0x124947,'recordId':_0xcea2fa['id'],'oldParentRecordId':_0x5ebfaa,'parentRecordId':null}]:[];}));}function _0x575e29(_0x24926d,_0x51ef6d,_0x4c7799=_0x24926d['recordOrder']??Object[_0x292328(0x153)](_0x24926d[_0x292328(0x46f)])){const _0x4b76d4=_0x292328;if((_0x24926d['fields'][_0x51ef6d]||_0x51ef6d!==_0x3dcefb(_0x24926d))&&!_0x3e34db(_0x24926d,_0x51ef6d))throw Error(_0x4b76d4(0x3f8)+_0x51ef6d+'\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.');let _0x515c5a=_0x5b1e7f(_0x24926d,_0x4c7799),_0x17d448=new Map(),_0x2b43e2=new Map();for(let _0x21498b of _0x515c5a){var _0x593eee;let _0x5a5226=_0x1f8a90((_0x593eee=_0x24926d[_0x4b76d4(0x46f)][_0x21498b])==null?void 0x0:_0x593eee[_0x4b76d4(0x1ea)][_0x51ef6d])[0x0]??null;_0x5a5226?_0x5a5226===_0x21498b?(_0x17d448[_0x4b76d4(0x251)](_0x21498b,null),_0x2b43e2[_0x4b76d4(0x251)](_0x21498b,_0x36cce1[_0x4b76d4(0x2ec)][_0x4b76d4(0x44d)])):_0x24926d[_0x4b76d4(0x46f)][_0x5a5226]?_0x17d448[_0x4b76d4(0x251)](_0x21498b,_0x5a5226):(_0x17d448[_0x4b76d4(0x251)](_0x21498b,null),_0x2b43e2[_0x4b76d4(0x251)](_0x21498b,_0x36cce1[_0x4b76d4(0x2ec)]['MissingParent'])):_0x17d448[_0x4b76d4(0x251)](_0x21498b,null);}_0x5b52a1(_0x17d448,_0x2b43e2,_0x515c5a),_0x5ab826(_0x17d448,_0x2b43e2,_0x515c5a);let _0x2057ff=new Map(_0x515c5a['map']((_0x3f1ec4,_0x12c43e)=>[_0x3f1ec4,_0x12c43e])),_0x27b0f1=new Map();for(let _0x25bb15 of _0x515c5a){let _0x1e6ceb=_0x17d448[_0x4b76d4(0x1fa)](_0x25bb15)??null,_0x5a8051=_0x27b0f1[_0x4b76d4(0x1fa)](_0x1e6ceb)??[];_0x5a8051[_0x4b76d4(0x429)](_0x25bb15),_0x27b0f1[_0x4b76d4(0x251)](_0x1e6ceb,_0x5a8051);}_0x27b0f1[_0x4b76d4(0x56d)](_0x7bc42a=>_0x7bc42a['sort']((_0x365c45,_0x17c594)=>(_0x2057ff[_0x4b76d4(0x1fa)](_0x365c45)??0x0)-(_0x2057ff[_0x4b76d4(0x1fa)](_0x17c594)??0x0)));let _0x434e20=_0x27b0f1['get'](null)??[],_0x175a43=new Map(),_0x72b303=new Map(),_0x3464a5=[],_0x1ded90=(_0x5e94a6,_0x371d88)=>{const _0x3fca05=_0x4b76d4;_0x175a43[_0x3fca05(0x251)](_0x5e94a6,_0x371d88),_0x3464a5[_0x3fca05(0x429)](_0x5e94a6);let _0x1e8d98=0x0;for(let _0x23a257 of _0x27b0f1['get'](_0x5e94a6)??[])_0x1e8d98=Math[_0x3fca05(0x2ac)](_0x1e8d98,0x1+_0x1ded90(_0x23a257,_0x371d88+0x1));return _0x72b303['set'](_0x5e94a6,_0x1e8d98),_0x1e8d98;};return _0x434e20[_0x4b76d4(0x56d)](_0x74da32=>_0x1ded90(_0x74da32,0x0)),{'fieldId':_0x51ef6d,'parentByRecordId':_0x17d448,'childrenByParentId':_0x27b0f1,'depthByRecordId':_0x175a43,'subtreeHeightByRecordId':_0x72b303,'invalidReasonByRecordId':_0x2b43e2,'rootRecordIds':_0x434e20,'orderedRecordIds':_0x3464a5};}function _0x38e061(_0x2b40ab,_0x33dd36,_0x57dfd5=new Set(_0x33dd36[_0x292328(0x421)](_0x34f2b1=>_0x34f2b1['recordId']))){const _0x5bef5d=_0x292328;let _0x587130=new Set(_0x57dfd5);for(let _0x57e7ad of _0x57dfd5){let _0x2f7e2c=_0x2b40ab['parentByRecordId'][_0x5bef5d(0x1fa)](_0x57e7ad)??null;for(;_0x2f7e2c;)_0x587130['add'](_0x2f7e2c),_0x2f7e2c=_0x2b40ab[_0x5bef5d(0x352)][_0x5bef5d(0x1fa)](_0x2f7e2c)??null;}let _0x15bbb4=new Map(_0x33dd36[_0x5bef5d(0x421)](_0x1b9722=>[_0x1b9722['recordId'],_0x1b9722])),_0x57a4ac=_0x2b40ab[_0x5bef5d(0x1f7)][_0x5bef5d(0x544)](_0x226245=>_0x587130[_0x5bef5d(0x16f)](_0x226245)),_0x211940=_0x57a4ac['flatMap'](_0x254a32=>{let _0x2828c2=_0x15bbb4['get'](_0x254a32);return _0x2828c2?[_0x2828c2]:[];}),_0x1fea68={};for(let _0xef0f29=0x0;_0xef0f29<_0x57a4ac['length'];_0xef0f29++){let _0x3b189f=_0x57a4ac[_0xef0f29];_0x1fea68[_0x3b189f]={'recordId':_0x3b189f,'parentRecordId':_0x2b40ab[_0x5bef5d(0x352)][_0x5bef5d(0x1fa)](_0x3b189f)??null,'depth':_0x2b40ab[_0x5bef5d(0x54c)]['get'](_0x3b189f)??0x0,'directChildCount':(_0x2b40ab[_0x5bef5d(0x357)][_0x5bef5d(0x1fa)](_0x3b189f)??[])['length'],'subtreeHeight':_0x2b40ab['subtreeHeightByRecordId'][_0x5bef5d(0x1fa)](_0x3b189f)??0x0,'subtreeEndIndex':_0xef0f29,'invalidReason':_0x2b40ab[_0x5bef5d(0x457)][_0x5bef5d(0x1fa)](_0x3b189f)};}let _0x2e5cb3=[];for(let _0x19ced8=0x0;_0x19ced8<_0x57a4ac['length'];_0x19ced8++){let _0x2a7621=_0x57a4ac[_0x19ced8],_0x4ac1f5=_0x1fea68[_0x2a7621][_0x5bef5d(0x52c)];for(;_0x2e5cb3['length']&&_0x2e5cb3[_0x2e5cb3[_0x5bef5d(0x4fc)]-0x1][_0x5bef5d(0x52c)]>=_0x4ac1f5;){let _0x1b81f7=_0x2e5cb3[_0x5bef5d(0x177)]();_0x1fea68[_0x1b81f7[_0x5bef5d(0x33c)]][_0x5bef5d(0x4fe)]=_0x19ced8-0x1;}_0x2e5cb3[_0x5bef5d(0x429)]({'recordId':_0x2a7621,'depth':_0x4ac1f5});}return _0x2e5cb3['forEach'](({recordId:_0x186c07})=>{const _0x59c0d1=_0x5bef5d;_0x1fea68[_0x186c07][_0x59c0d1(0x4fe)]=_0x57a4ac['length']-0x1;}),{'rows':_0x211940,'hierarchy':{'fieldId':_0x2b40ab[_0x5bef5d(0x450)],'rootRecordIds':_0x2b40ab[_0x5bef5d(0x144)][_0x5bef5d(0x544)](_0x10edae=>_0x587130[_0x5bef5d(0x16f)](_0x10edae)),'orderedRecordIds':_0x57a4ac,'nodes':_0x1fea68}};}function _0x469ae5(_0x2a9df2,_0x359058){const _0x9d6f9=_0x292328;if(!_0x2a9df2[_0x9d6f9(0x12c)]||!(_0x359058!=null&&_0x359058[_0x9d6f9(0x3b9)]))return _0x2a9df2[_0x9d6f9(0x195)];let _0x12a066=[],_0x45213d=0x0;for(;_0x45213d<_0x2a9df2['rows'][_0x9d6f9(0x4fc)];){let _0x215b82=_0x2a9df2[_0x9d6f9(0x195)][_0x45213d];_0x12a066[_0x9d6f9(0x429)](_0x215b82);let _0x408505=_0x2a9df2[_0x9d6f9(0x12c)][_0x9d6f9(0x40d)][_0x215b82[_0x9d6f9(0x33c)]];_0x45213d=_0x359058[_0x9d6f9(0x16f)](_0x215b82[_0x9d6f9(0x33c)])&&_0x408505?_0x408505[_0x9d6f9(0x4fe)]+0x1:_0x45213d+0x1;}return _0x12a066;}function _0x379177(_0x35c6d8,_0x2bb329,_0x50d109){const _0xd4620e=_0x292328;if(!_0x50d109)return{'valid':!0x0};if(_0x2bb329===_0x50d109)return{'valid':!0x1,'reason':_0x36cce1[_0xd4620e(0x2ec)][_0xd4620e(0x44d)]};let _0x4bcadd=_0x50d109;for(;_0x4bcadd;){if(_0x4bcadd===_0x2bb329)return{'valid':!0x1,'reason':_0x36cce1['BaseHierarchyInvalidReason'][_0xd4620e(0x55c)]};_0x4bcadd=_0x35c6d8[_0xd4620e(0x352)]['get'](_0x4bcadd)??null;}return(_0x35c6d8[_0xd4620e(0x54c)]['get'](_0x50d109)??0x0)+0x1+(_0x35c6d8[_0xd4620e(0x208)]['get'](_0x2bb329)??0x0)>=0x5?{'valid':!0x1,'reason':_0x36cce1[_0xd4620e(0x2ec)][_0xd4620e(0x186)]}:{'valid':!0x0};}function _0x5b1e7f(_0x5c471f,_0x2cd257){const _0x43b630=_0x292328;let _0x5a6a9e=new Set(),_0x32f990=[];for(let _0x47f331 of _0x2cd257)_0x5c471f[_0x43b630(0x46f)][_0x47f331]&&!_0x5a6a9e[_0x43b630(0x16f)](_0x47f331)&&(_0x5a6a9e['add'](_0x47f331),_0x32f990[_0x43b630(0x429)](_0x47f331));return Object[_0x43b630(0x153)](_0x5c471f[_0x43b630(0x46f)])[_0x43b630(0x2e9)]()[_0x43b630(0x56d)](_0x3da228=>{const _0x468f6b=_0x43b630;_0x5a6a9e[_0x468f6b(0x16f)](_0x3da228)||_0x32f990[_0x468f6b(0x429)](_0x3da228);}),_0x32f990;}function _0x5b52a1(_0x40d13a,_0xd6f4c,_0x58ae6c){const _0x2aafd1=_0x292328;let _0x5615ba=new Set();for(let _0x17d724 of _0x58ae6c){if(_0x5615ba[_0x2aafd1(0x16f)](_0x17d724))continue;let _0x577bb3=[],_0x57724a=new Map(),_0x3f6afc=_0x17d724;for(;_0x3f6afc&&!_0x5615ba[_0x2aafd1(0x16f)](_0x3f6afc);){let _0x110fe7=_0x57724a[_0x2aafd1(0x1fa)](_0x3f6afc);if(_0x110fe7!=null){let _0xf5c89d=[..._0x577bb3[_0x2aafd1(0x2ed)](_0x110fe7)]['sort']()[_0x2aafd1(0x177)]();_0x40d13a[_0x2aafd1(0x251)](_0xf5c89d,null),_0xd6f4c[_0x2aafd1(0x251)](_0xf5c89d,_0x36cce1['BaseHierarchyInvalidReason'][_0x2aafd1(0x55c)]);break;}_0x57724a[_0x2aafd1(0x251)](_0x3f6afc,_0x577bb3[_0x2aafd1(0x4fc)]),_0x577bb3[_0x2aafd1(0x429)](_0x3f6afc),_0x3f6afc=_0x40d13a[_0x2aafd1(0x1fa)](_0x3f6afc)??null;}_0x577bb3[_0x2aafd1(0x56d)](_0x29c07b=>_0x5615ba['add'](_0x29c07b));}}function _0x5ab826(_0x8c90e1,_0x2f38c5,_0x372074){let _0x3d3394=new Map(),_0x5ab338=_0x19660f=>{const _0x2b2d5a=_0x5c61;let _0x2c0b6f=_0x3d3394['get'](_0x19660f);if(_0x2c0b6f!=null)return _0x2c0b6f;let _0x2688d2=_0x8c90e1['get'](_0x19660f)??null;if(!_0x2688d2)return _0x3d3394[_0x2b2d5a(0x251)](_0x19660f,0x0),0x0;let _0x181034=_0x5ab338(_0x2688d2)+0x1;return _0x181034>=0x5?(_0x8c90e1['set'](_0x19660f,null),_0x2f38c5[_0x2b2d5a(0x251)](_0x19660f,_0x36cce1[_0x2b2d5a(0x2ec)][_0x2b2d5a(0x186)]),_0x3d3394[_0x2b2d5a(0x251)](_0x19660f,0x0),0x0):(_0x3d3394[_0x2b2d5a(0x251)](_0x19660f,_0x181034),_0x181034);};_0x372074['forEach'](_0x5ab338);}let _0x53b544=0x0;function _0x82497(){const _0x169678=_0x292328;if(globalThis[_0x169678(0x237)]===!0x0)return!0x0;try{let _0x21ab29=typeof location>'u'?'':location['search'],_0x2f138e=new URLSearchParams(_0x21ab29);if(_0x2f138e['get'](_0x169678(0x52b))==='1'||_0x2f138e[_0x169678(0x1fa)](_0x169678(0x52b))===_0x169678(0x561)||_0x2f138e[_0x169678(0x1fa)](_0x169678(0x49f))==='1')return!0x0;}catch{}try{let _0x474097=typeof localStorage>'u'?null:localStorage[_0x169678(0x44a)](_0x169678(0x439));return _0x474097==='1'||_0x474097===_0x169678(0x561);}catch{return!0x1;}}function _0x296aa6(_0x1ec1d6,_0x45821f,_0x192ebc){const _0x155d79=_0x292328;if(!_0x82497())return _0x45821f();let _0x52fcda=_0x4d74f4(),_0x3a7f0b=_0x155d79(0x1f2)+_0x53b544++;_0x15aa1d(_0x3a7f0b+':start');try{return _0x45821f();}finally{let _0x306738=_0x4d74f4()-_0x52fcda;_0x15aa1d(_0x3a7f0b+_0x155d79(0x554)),_0x4ae548(_0x1ec1d6,_0x3a7f0b+_0x155d79(0x4e1),_0x3a7f0b+_0x155d79(0x554)),_0x4ebe56(_0x1ec1d6,_0x306738,_0x192ebc);}}function _0x4ebe56(_0x1209ee,_0x8c4cb0,_0x2e97af){const _0x2b3872=_0x292328;if(!_0x82497())return;let _0x18a72c=Math[_0x2b3872(0x3f5)](_0x8c4cb0*0x64)/0x64,_0x3e1469=_0x2e97af&&Object[_0x2b3872(0x153)](_0x2e97af)[_0x2b3872(0x4fc)]?'\x20'+JSON[_0x2b3872(0x131)](_0x2e97af):'';console[_0x2b3872(0x265)](_0x2b3872(0x316)+_0x1209ee+':\x20'+_0x18a72c+'ms'+_0x3e1469);}function _0x4d74f4(){const _0x372426=_0x292328;return typeof performance<'u'&&typeof performance[_0x372426(0x37c)]==_0x372426(0x540)?performance['now']():Date['now']();}function _0x15aa1d(_0x2fed43){const _0x5d5a36=_0x292328;try{if(typeof performance<'u'){var _0x419f42,_0x3e9d7f;(_0x419f42=(_0x3e9d7f=performance)[_0x5d5a36(0x266)])==null||_0x419f42[_0x5d5a36(0x4ee)](_0x3e9d7f,_0x2fed43);}}catch{}}function _0x4ae548(_0x2e0ece,_0x5040f4,_0x501572){const _0x5c679a=_0x292328;try{if(typeof performance<'u'){var _0x27ebd5,_0x3ab497;(_0x27ebd5=(_0x3ab497=performance)[_0x5c679a(0x13b)])==null||_0x27ebd5['call'](_0x3ab497,_0x5c679a(0x316)+_0x2e0ece,_0x5040f4,_0x501572);}}catch{}}function _0x526a9d(_0x23ad70){const _0x46ec52=_0x292328;var _0x3575f0;return _0x82497()?_0x296aa6(_0x46ec52(0x432),()=>_0x2dd882(_0x23ad70),{'tableId':_0x23ad70['id'],'records':Object[_0x46ec52(0x153)](_0x23ad70[_0x46ec52(0x46f)]??{})[_0x46ec52(0x4fc)],'fields':_0x23ad70[_0x46ec52(0x379)][_0x46ec52(0x4fc)],'hasRecordOrder':!!((_0x3575f0=_0x23ad70[_0x46ec52(0x318)])!=null&&_0x3575f0[_0x46ec52(0x4fc)])}):_0x2dd882(_0x23ad70);}function _0x2dd882(_0x320d42){const _0x23d89b=_0x292328;var _0x5ceefc;let _0x5d4b98=_0x320d42[_0x23d89b(0x46f)]??{},_0x28d3b9=_0x320d42['fields']??{},_0x8cf475=((_0x5ceefc=_0x320d42[_0x23d89b(0x318)])==null?void 0x0:_0x5ceefc['filter'](_0x56cf61=>_0x5d4b98[_0x56cf61]))??[],_0x4285b5=new Set(_0x8cf475),_0x11132c=[];for(let _0x32982d of Object[_0x23d89b(0x1ea)](_0x5d4b98))_0x4285b5['has'](_0x32982d['id'])||_0x11132c['push'](_0x32982d);let _0x2d0872=_0x11132c[_0x23d89b(0x4fc)]?[..._0x8cf475,..._0x294bc2(_0x11132c)]:_0x8cf475,_0x3317f3=_0x320d42[_0x23d89b(0x379)][_0x23d89b(0x544)](_0x36799d=>_0x28d3b9[_0x36799d]),_0x3df439={..._0x320d42[_0x23d89b(0x387)]??{}},_0x3bce47={..._0x320d42[_0x23d89b(0x252)]??{}},_0x5cbefa={..._0x320d42[_0x23d89b(0x48e)]??{}};_0x320d42[_0x23d89b(0x318)]=_0x2d0872,_0x320d42[_0x23d89b(0x17e)]={},_0x320d42[_0x23d89b(0x387)]={},_0x320d42[_0x23d89b(0x30b)]={},_0x320d42[_0x23d89b(0x252)]={},_0x320d42[_0x23d89b(0x48e)]={},_0x320d42['resources']={..._0x320d42[_0x23d89b(0x2ba)]??{}},_0x320d42['resources'][_0x23d89b(0x54a)]={..._0x320d42[_0x23d89b(0x2ba)]['attachmentSets']??{}},_0x320d42['resources'][_0x23d89b(0x26d)]={..._0x320d42[_0x23d89b(0x2ba)]['attachments']??{}};let _0x11790d=_0x320d42[_0x23d89b(0x17e)],_0x4c07bd=_0x320d42[_0x23d89b(0x387)],_0xa5cb92=_0x320d42['colIndex'],_0x357330=_0x320d42['colId'],_0x557fde=_0x320d42[_0x23d89b(0x48e)];return _0x2d0872[_0x23d89b(0x56d)]((_0x4c4692,_0x177e38)=>{_0x11790d[_0x4c4692]=_0x177e38,_0x4c07bd[_0x177e38]=_0x4c4692;}),_0x3317f3['forEach']((_0x58bc25,_0x1e0aa8)=>{_0xa5cb92[_0x58bc25]=_0x1e0aa8,_0x357330[_0x1e0aa8]=_0x58bc25;}),Object[_0x23d89b(0x2e3)](_0x5cbefa)[_0x23d89b(0x56d)](([_0x3bd494,_0x360457])=>{const _0x5912d5=_0x23d89b;let _0x66dc0c=Number(_0x3bd494),_0x1154fc=_0x3df439[_0x66dc0c]??_0x2d0872[_0x66dc0c],_0x28da77=_0x1154fc?_0x11790d[_0x1154fc]:void 0x0;_0x28da77!=null&&(_0x557fde[_0x28da77]={..._0x557fde[_0x28da77]??{}},Object['entries'](_0x360457??{})[_0x5912d5(0x56d)](([_0x2f4d62,_0x3d47cb])=>{let _0x1de348=Number(_0x2f4d62),_0x2d68cd=_0x3bce47[_0x1de348]??_0x3317f3[_0x1de348],_0x3e868b=_0x2d68cd?_0xa5cb92[_0x2d68cd]:void 0x0;_0x3e868b!=null&&(_0x557fde[_0x28da77][_0x3e868b]=_0x5ceb5e(_0x3d47cb));}));}),Object[_0x23d89b(0x1ea)](_0x5d4b98)[_0x23d89b(0x56d)](_0x11054e=>{const _0x57bcdf=_0x23d89b;let _0x3015f9=_0x11790d[_0x11054e['id']];_0x3015f9!=null&&(_0x11054e[_0x57bcdf(0x1ea)]={..._0x11054e['values']??{},[_0x36cce1['BASE_RECORD_ID_FIELD_ID']]:_0x11054e['id']},_0x557fde[_0x3015f9]={..._0x557fde[_0x3015f9]??{},0x0:{'v':_0x11054e['id'],'t':_0x36cce1[_0x57bcdf(0x264)][_0x57bcdf(0x564)]}},Object[_0x57bcdf(0x2e3)](_0x11054e['values']??{})[_0x57bcdf(0x56d)](([_0x3d0f8d,_0x2a71d1])=>{const _0x5968cc=_0x57bcdf;let _0x560ba4=_0x28d3b9[_0x3d0f8d];(_0x560ba4==null?void 0x0:_0x560ba4['type'])===_0x36cce1['BaseFieldType'][_0x5968cc(0x4d4)]&&_0x4274f5(_0x320d42,_0x11054e['id'],_0x3d0f8d,_0x2a71d1);let _0x544be3=_0xa5cb92[_0x3d0f8d];if(_0x544be3==null)return;let _0x5ed881=_0x557fde[_0x3015f9][_0x544be3];(_0x5ed881==null||_0x22853d(_0x5ed881,_0x560ba4,_0x2a71d1))&&(_0x557fde[_0x3015f9][_0x544be3]=_0x3b6c3e(_0x2a71d1,_0x560ba4));}));}),_0x320d42;}function _0x5521b4(_0x1f2b1f,_0x3e2379){const _0x508c90=_0x292328;return _0x1f2b1f['records']=Object[_0x508c90(0x2af)](Object[_0x508c90(0x2e3)](_0x1f2b1f[_0x508c90(0x46f)])[_0x508c90(0x421)](([_0x12c163,_0x161466])=>[_0x12c163,{..._0x161466}])),_0x526a9d(_0x1f2b1f),Object[_0x508c90(0x2e3)](_0x1f2b1f['rowId']??{})['forEach'](([_0x3262c0,_0x2d25db])=>{const _0x2da887=_0x508c90;var _0x6c9529;let _0x4c6695=Number(_0x3262c0),_0xb299f4=_0x1f2b1f[_0x2da887(0x46f)][_0x2d25db];_0xb299f4&&(_0xb299f4[_0x2da887(0x1ea)]={..._0xb299f4['values']??{}},Object['entries'](((_0x6c9529=_0x1f2b1f[_0x2da887(0x48e)])==null?void 0x0:_0x6c9529[_0x4c6695])??{})['forEach'](([_0x3c4100,_0x2e3ec2])=>{const _0x294894=_0x2da887;var _0x3df2ce;let _0x42547f=(_0x3df2ce=_0x1f2b1f[_0x294894(0x252)])==null?void 0x0:_0x3df2ce[Number(_0x3c4100)];_0x42547f&&_0x3e2379&&!_0x3e2379(_0x2d25db,_0x42547f)||(_0x42547f===_0x36cce1[_0x294894(0x4ca)]?_0xb299f4[_0x294894(0x1ea)][_0x36cce1['BASE_RECORD_ID_FIELD_ID']]=_0xb299f4['id']:_0x42547f&&(_0xb299f4[_0x294894(0x1ea)][_0x42547f]=_0x2eb876(_0x2e3ec2,_0x1f2b1f[_0x294894(0x445)][_0x42547f],_0x1f2b1f,_0x2d25db)));}));}),_0x1f2b1f;}function _0x4f755f(_0x33bd07,_0x3ad09a){const _0x29306c=_0x292328;for(let {row:_0x31229b,col:_0x5d2fd5}of _0x3ad09a){var _0x8130b8,_0x2ed452,_0x610ce4;let _0x41e620=(_0x8130b8=_0x33bd07[_0x29306c(0x387)])==null?void 0x0:_0x8130b8[_0x31229b],_0x3c7762=(_0x2ed452=_0x33bd07[_0x29306c(0x252)])==null?void 0x0:_0x2ed452[_0x5d2fd5],_0x229ec0=_0x41e620?_0x33bd07[_0x29306c(0x46f)][_0x41e620]:void 0x0;if(!_0x229ec0||!_0x3c7762)continue;if(_0x3c7762===_0x36cce1['BASE_RECORD_ID_FIELD_ID']){_0x229ec0[_0x29306c(0x1ea)][_0x36cce1[_0x29306c(0x4ca)]]=_0x229ec0['id'];continue;}let _0x1551c1=(_0x610ce4=_0x33bd07[_0x29306c(0x48e)])==null||(_0x610ce4=_0x610ce4[_0x31229b])==null?void 0x0:_0x610ce4[_0x5d2fd5];(_0x1551c1!=null||Object[_0x29306c(0x19f)][_0x29306c(0x2a4)]['call'](_0x229ec0[_0x29306c(0x1ea)]??{},_0x3c7762))&&(_0x229ec0['values']={..._0x229ec0[_0x29306c(0x1ea)]??{}},_0x229ec0[_0x29306c(0x1ea)][_0x3c7762]=_0x2eb876(_0x1551c1,_0x33bd07[_0x29306c(0x445)][_0x3c7762],_0x33bd07,_0x41e620));}return _0x33bd07;}function _0x5f1f77(_0x17d07b,_0x4bf393,_0x407075){const _0x2c9196=_0x292328;var _0x1e66f0,_0x488022,_0x581d79,_0x1fc46a,_0x410cea,_0x75d653;let _0x2b8e2b=(_0x1e66f0=_0x17d07b[_0x2c9196(0x17e)])==null?void 0x0:_0x1e66f0[_0x4bf393],_0x32a7cd=(_0x488022=_0x17d07b['colIndex'])==null?void 0x0:_0x488022[_0x407075];if(_0x2b8e2b!=null&&_0x32a7cd!=null&&((_0x581d79=_0x17d07b[_0x2c9196(0x387)])==null?void 0x0:_0x581d79[_0x2b8e2b])===_0x4bf393&&((_0x1fc46a=_0x17d07b[_0x2c9196(0x252)])==null?void 0x0:_0x1fc46a[_0x32a7cd])===_0x407075)return{'row':_0x2b8e2b,'col':_0x32a7cd};let _0x4625bb=_0x526a9d(_0x17d07b),_0x25af28=(_0x410cea=_0x4625bb['rowIndex'])==null?void 0x0:_0x410cea[_0x4bf393],_0x17627b=(_0x75d653=_0x4625bb[_0x2c9196(0x30b)])==null?void 0x0:_0x75d653[_0x407075];return _0x25af28==null||_0x17627b==null?null:{'row':_0x25af28,'col':_0x17627b};}function _0x28717c(_0x15c88a,_0x4f8bbe,_0xa46f60){const _0x334ded=_0x292328;var _0x226bc1;let _0x2ec5a9=_0x5f1f77(_0x15c88a,_0x4f8bbe,_0xa46f60);if(_0x2ec5a9)return(_0x226bc1=_0x15c88a[_0x334ded(0x48e)])==null||(_0x226bc1=_0x226bc1[_0x2ec5a9[_0x334ded(0x4eb)]])==null?void 0x0:_0x226bc1[_0x2ec5a9[_0x334ded(0x418)]];}function _0x31c7d9(_0x2a5039,_0x505b1f,_0x5b3a94){const _0x581d45=_0x292328;var _0x20a6e1;let _0x58bb75=_0x28717c(_0x2a5039,_0x505b1f,_0x5b3a94),_0x2d2772=_0x2a5039[_0x581d45(0x445)][_0x5b3a94];if((_0x2d2772==null?void 0x0:_0x2d2772[_0x581d45(0x11c)])===_0x36cce1['BaseFieldType'][_0x581d45(0x4d4)]){var _0x3c4a9b;return _0x315f2c(_0x2a5039,_0x505b1f,_0x5b3a94)??_0x3480e7((_0x3c4a9b=_0x2a5039[_0x581d45(0x46f)][_0x505b1f])==null||(_0x3c4a9b=_0x3c4a9b['values'])==null?void 0x0:_0x3c4a9b[_0x5b3a94]);}if(_0x5b31f2(_0x2d2772)||_0x14cf89(_0x2d2772)||(_0x2d2772==null?void 0x0:_0x2d2772[_0x581d45(0x11c)])===_0x36cce1['BaseFieldType'][_0x581d45(0x416)]){var _0x8e159c;let _0x3fe327=(_0x8e159c=_0x2a5039[_0x581d45(0x46f)][_0x505b1f])==null||(_0x8e159c=_0x8e159c[_0x581d45(0x1ea)])==null?void 0x0:_0x8e159c[_0x5b3a94];return _0x3fe327!=null&&_0x3fe327!==''?_0x5d817c(_0x3fe327,_0x2d2772):_0x2eb876(_0x58bb75,_0x2d2772,_0x2a5039,_0x505b1f);}return _0x58bb75&&Object[_0x581d45(0x19f)][_0x581d45(0x2a4)]['call'](_0x58bb75,'v')?_0x58bb75['v']??null:((_0x20a6e1=_0x2a5039[_0x581d45(0x46f)][_0x505b1f])==null||(_0x20a6e1=_0x20a6e1[_0x581d45(0x1ea)])==null?void 0x0:_0x20a6e1[_0x5b3a94])??null;}function _0x171195(_0x277836,_0x30c290,_0x17fa0b){const _0x344bc9=_0x292328;var _0x3d1888;let _0x2cc3dd=_0x28717c(_0x277836,_0x30c290,_0x17fa0b);if(_0x2cc3dd&&Object[_0x344bc9(0x19f)][_0x344bc9(0x2a4)][_0x344bc9(0x4ee)](_0x2cc3dd,'v'))return _0x2cc3dd['v']??null;let _0xc64d23=_0x277836['fields'][_0x17fa0b];return _0x3b6c3e(((_0x3d1888=_0x277836[_0x344bc9(0x46f)][_0x30c290])==null||(_0x3d1888=_0x3d1888[_0x344bc9(0x1ea)])==null?void 0x0:_0x3d1888[_0x17fa0b])??null,_0xc64d23)['v']??null;}function _0x3b6c3e(_0x5a0ca6,_0xdf8274){const _0x398cbc=_0x292328;if(_0x172c2a(_0x5a0ca6))return(_0xdf8274==null?void 0x0:_0xdf8274[_0x398cbc(0x11c)])===_0x36cce1['BaseFieldType'][_0x398cbc(0x4d4)]?{..._0x5a0ca6,'v':'','t':_0x36cce1[_0x398cbc(0x264)]['STRING']}:_0x5ceb5e(_0x5a0ca6);if((_0xdf8274==null?void 0x0:_0xdf8274[_0x398cbc(0x11c)])===_0x36cce1[_0x398cbc(0x229)][_0x398cbc(0x4d4)])return{'v':'','t':_0x36cce1[_0x398cbc(0x264)]['STRING']};if(_0x14cf89(_0xdf8274)){let _0x5c2cdf=_0x475814(_0x5a0ca6);return{'v':_0x5c2cdf,'t':_0x37c582(_0x5c2cdf)};}if(_0x5b31f2(_0xdf8274))return{'v':_0x441307(_0x5a0ca6)[_0x398cbc(0x2a9)](',\x20'),'t':_0x36cce1[_0x398cbc(0x264)]['STRING']};if((_0xdf8274==null?void 0x0:_0xdf8274[_0x398cbc(0x11c)])===_0x36cce1['BaseFieldType'][_0x398cbc(0x416)]&&_0x5a0ca6&&typeof _0x5a0ca6=='object'&&!Array[_0x398cbc(0x3fe)](_0x5a0ca6)){let _0x1a3113=_0x5a0ca6;return{'v':String(_0x1a3113[_0x398cbc(0x272)]??_0x1a3113[_0x398cbc(0x39d)]??''),'t':_0x36cce1[_0x398cbc(0x264)][_0x398cbc(0x564)]};}return _0x5a0ca6===null||typeof _0x5a0ca6==_0x398cbc(0x4ce)||typeof _0x5a0ca6=='number'||typeof _0x5a0ca6==_0x398cbc(0x236)?{'v':_0x5a0ca6,'t':_0x37c582(_0x5a0ca6)}:{'v':null,'t':null};}function _0x5ceb5e(_0x40b155){let _0x5c73fd=_0x403116(_0x40b155['t'],_0x40b155['v']);if(_0x5c73fd===void 0x0){let {t:_0x55f93c,..._0x387bd1}=_0x40b155;return _0x387bd1;}return{..._0x40b155,'t':_0x5c73fd};}function _0x2eb876(_0x1fc4a6,_0x2dafdd,_0x36e1a9,_0x4388e0){const _0x3db77d=_0x292328;if(!_0x1fc4a6)return null;if((_0x2dafdd==null?void 0x0:_0x2dafdd['type'])===_0x36cce1['BaseFieldType'][_0x3db77d(0x4d4)])return _0x36e1a9&&_0x4388e0?_0x315f2c(_0x36e1a9,_0x4388e0,_0x2dafdd['id'])??[]:[];if(_0x5b31f2(_0x2dafdd))return _0x441307(_0x1fc4a6['v']);if((_0x2dafdd==null?void 0x0:_0x2dafdd[_0x3db77d(0x11c)])===_0x36cce1[_0x3db77d(0x229)][_0x3db77d(0x416)]&&_0x36e1a9&&_0x4388e0){var _0x5213f7;let _0x1c6903=(_0x5213f7=_0x36e1a9[_0x3db77d(0x46f)][_0x4388e0])==null||(_0x5213f7=_0x5213f7['values'])==null?void 0x0:_0x5213f7[_0x2dafdd['id']];if(_0x1c6903&&typeof _0x1c6903==_0x3db77d(0x2f7)&&!Array[_0x3db77d(0x3fe)](_0x1c6903))return _0x1c6903;}return Object[_0x3db77d(0x19f)][_0x3db77d(0x2a4)][_0x3db77d(0x4ee)](_0x1fc4a6,'v')?_0x1fc4a6['v']??null:null;}function _0x4af2e5(_0x20f896,_0x1b6f07,_0x10ac08,_0x3e0a56,_0x4cadd4){const _0x16a0f2=_0x292328;return(_0x10ac08==null?void 0x0:_0x10ac08[_0x16a0f2(0x11c)])===_0x36cce1[_0x16a0f2(0x229)]['Attachment']?_0x3480e7(_0x20f896):_0x14cf89(_0x10ac08)?_0x475814(_0x20f896):_0x5b31f2(_0x10ac08)?_0x441307(_0x20f896):(_0x10ac08==null?void 0x0:_0x10ac08[_0x16a0f2(0x11c)])===_0x36cce1[_0x16a0f2(0x229)][_0x16a0f2(0x416)]&&(_0x20f896==null||_0x20f896==='')?null:(_0x10ac08==null?void 0x0:_0x10ac08[_0x16a0f2(0x11c)])===_0x36cce1[_0x16a0f2(0x229)]['Link']&&_0x20f896&&typeof _0x20f896==_0x16a0f2(0x2f7)&&!Array[_0x16a0f2(0x3fe)](_0x20f896)&&!_0x172c2a(_0x20f896)?_0x20f896:_0x2eb876(_0x1b6f07,_0x10ac08,_0x3e0a56,_0x4cadd4);}function _0x172c2a(_0x3dfeee){const _0xf1d061=_0x292328;return!!_0x3dfeee&&typeof _0x3dfeee==_0xf1d061(0x2f7)&&(Object[_0xf1d061(0x19f)][_0xf1d061(0x2a4)][_0xf1d061(0x4ee)](_0x3dfeee,'v')||Object[_0xf1d061(0x19f)][_0xf1d061(0x2a4)][_0xf1d061(0x4ee)](_0x3dfeee,'t')||Object['prototype']['hasOwnProperty'][_0xf1d061(0x4ee)](_0x3dfeee,'p')||Object[_0xf1d061(0x19f)][_0xf1d061(0x2a4)][_0xf1d061(0x4ee)](_0x3dfeee,'f')||Object[_0xf1d061(0x19f)][_0xf1d061(0x2a4)]['call'](_0x3dfeee,'si'));}function _0xd2db54(_0x44c736,_0xf9c7e6){return _0x44c736+'\x1f'+_0xf9c7e6;}function _0x4274f5(_0xa448b5,_0x5a84c0,_0x27d45f,_0x4f87a8){const _0xd2013=_0x292328;let _0x6f58ea=_0x3480e7(_0x4f87a8);_0xa448b5[_0xd2013(0x2ba)]={..._0xa448b5[_0xd2013(0x2ba)]??{}},_0xa448b5[_0xd2013(0x2ba)][_0xd2013(0x54a)]={..._0xa448b5['resources'][_0xd2013(0x54a)]??{}},_0xa448b5[_0xd2013(0x2ba)][_0xd2013(0x26d)]={..._0xa448b5['resources'][_0xd2013(0x26d)]??{}};let _0x3bf944=_0xd2db54(_0x27d45f,_0x5a84c0),_0x5e7aea=[];for(let _0x394ed8=0x0;_0x394ed8<_0x6f58ea[_0xd2013(0x4fc)];_0x394ed8++){if(!(_0x394ed8 in _0x6f58ea))continue;let _0x1d2948=_0x6f58ea[_0x394ed8],_0x331288=String(_0x1d2948['id']??_0x3bf944+'\x1f'+_0x394ed8),_0x16fac9={..._0x1d2948,'id':_0x331288};_0xa448b5[_0xd2013(0x2ba)][_0xd2013(0x26d)][_0x331288]=_0x16fac9,_0x5e7aea[_0xd2013(0x429)](_0x331288);}_0xa448b5[_0xd2013(0x2ba)][_0xd2013(0x54a)][_0x3bf944]=_0x5e7aea;}function _0x315f2c(_0x437a56,_0xfd5d29,_0x22cf3d){const _0x1ee0b4=_0x292328;var _0xf5f269;let _0x511e26=_0xd2db54(_0x22cf3d,_0xfd5d29),_0x2e9c6d=(_0xf5f269=_0x437a56[_0x1ee0b4(0x2ba)])==null||(_0xf5f269=_0xf5f269['attachmentSets'])==null?void 0x0:_0xf5f269[_0x511e26];if(!_0x2e9c6d)return null;let _0x27df33=[];for(let _0x535414=0x0;_0x535414<_0x2e9c6d[_0x1ee0b4(0x4fc)];_0x535414++){var _0x59c9bc;if(!(_0x535414 in _0x2e9c6d))continue;let _0x548624=(_0x59c9bc=_0x437a56[_0x1ee0b4(0x2ba)])==null||(_0x59c9bc=_0x59c9bc[_0x1ee0b4(0x26d)])==null?void 0x0:_0x59c9bc[_0x2e9c6d[_0x535414]];_0x548624&&_0x27df33[_0x1ee0b4(0x429)]({..._0x548624});}return _0x27df33;}function _0x3480e7(_0x3ddfcf){const _0x4d0a3e=_0x292328;if(_0x3ddfcf==null||_0x3ddfcf===''||_0x172c2a(_0x3ddfcf)&&!('id'in _0x3ddfcf)&&!('name'in _0x3ddfcf))return[];let _0x438caa=Array[_0x4d0a3e(0x3fe)](_0x3ddfcf)?_0x3ddfcf:[_0x3ddfcf],_0x1aa12f=[];for(let _0x57659e=0x0;_0x57659e<_0x438caa['length'];_0x57659e++){if(!(_0x57659e in _0x438caa))continue;let _0x32aa47=_0x438caa[_0x57659e],_0x100a6f=_0x32aa47&&typeof _0x32aa47==_0x4d0a3e(0x2f7)?{..._0x32aa47}:{'id':_0x4d0a3e(0x301)+_0x57659e,'name':String(_0x32aa47)};Object[_0x4d0a3e(0x153)](_0x100a6f)[_0x4d0a3e(0x4fc)]>0x0&&_0x1aa12f[_0x4d0a3e(0x429)](_0x100a6f);}return _0x1aa12f;}function _0x5d817c(_0x27167d,_0x4cf31c){const _0x2c05be=_0x292328;return(_0x4cf31c==null?void 0x0:_0x4cf31c[_0x2c05be(0x11c)])===_0x36cce1[_0x2c05be(0x229)][_0x2c05be(0x4d4)]?_0x3480e7(_0x27167d):_0x14cf89(_0x4cf31c)?_0x475814(_0x27167d):_0x5b31f2(_0x4cf31c)?_0x441307(_0x27167d):_0x27167d;}function _0x22853d(_0x108a7c,_0x4cd4f9,_0x18359d){const _0x481a94=_0x292328;return(_0x4cd4f9==null?void 0x0:_0x4cd4f9[_0x481a94(0x11c)])===_0x36cce1[_0x481a94(0x229)][_0x481a94(0x4d4)]?_0x108a7c['v']!=='':_0x14cf89(_0x4cd4f9)?_0x108a7c['v']!==_0x475814(_0x18359d):_0x5b31f2(_0x4cd4f9)?Array[_0x481a94(0x3fe)](_0x18359d)&&(_0x108a7c['v']==null||_0x108a7c['v']===''):!0x1;}function _0x5b31f2(_0x3e9344){const _0x2a76e8=_0x292328;return(_0x3e9344==null?void 0x0:_0x3e9344[_0x2a76e8(0x11c)])===_0x36cce1[_0x2a76e8(0x229)][_0x2a76e8(0x2fd)]||(_0x3e9344==null?void 0x0:_0x3e9344[_0x2a76e8(0x11c)])===_0x36cce1[_0x2a76e8(0x229)][_0x2a76e8(0x408)]||(_0x3e9344==null?void 0x0:_0x3e9344[_0x2a76e8(0x11c)])===_0x36cce1[_0x2a76e8(0x229)][_0x2a76e8(0x506)]&&_0x3e9344['config'][_0x2a76e8(0x4c7)]===!0x0;}function _0x14cf89(_0x437bcb){const _0x2e7a10=_0x292328;return(_0x437bcb==null?void 0x0:_0x437bcb[_0x2e7a10(0x11c)])===_0x36cce1[_0x2e7a10(0x229)][_0x2e7a10(0x506)]&&_0x437bcb[_0x2e7a10(0x441)][_0x2e7a10(0x4c7)]!==!0x0;}function _0x475814(_0x386fdb){const _0x522ea2=_0x292328;let _0x144325=_0x172c2a(_0x386fdb)?_0x386fdb['v']:_0x386fdb,_0x410b8f=Array[_0x522ea2(0x3fe)](_0x144325)?_0x144325[0x0]:_0x144325;return _0x410b8f==null||_0x410b8f===''?null:String(_0x410b8f);}function _0x441307(_0x4e581c){const _0x54df7f=_0x292328;if(_0x4e581c==null||_0x4e581c==='')return[];let _0xbab818=[];if(Array[_0x54df7f(0x3fe)](_0x4e581c)){for(let _0x30417f=0x0;_0x30417f<_0x4e581c[_0x54df7f(0x4fc)];_0x30417f++){if(!(_0x30417f in _0x4e581c))continue;let _0x3f9627=_0x4c4f39(_0x4e581c[_0x30417f]);_0x3f9627&&_0xbab818['push'](_0x3f9627);}return _0xbab818;}for(let _0xe48972 of String(_0x4e581c)[_0x54df7f(0x356)](',')){let _0x42e193=_0xe48972[_0x54df7f(0x2b7)]();_0x42e193&&_0xbab818[_0x54df7f(0x429)](_0x42e193);}return _0xbab818;}function _0x4c4f39(_0x5d55fa){const _0x3a784b=_0x292328;if(_0x5d55fa==null)return'';if(typeof _0x5d55fa=='string'||typeof _0x5d55fa=='number'||typeof _0x5d55fa=='boolean')return String(_0x5d55fa);if(typeof _0x5d55fa==_0x3a784b(0x2f7)){let _0x4fb091=_0x5d55fa;return String(_0x4fb091['id']??_0x4fb091[_0x3a784b(0x4c0)]??_0x4fb091[_0x3a784b(0x272)]??'');}return String(_0x5d55fa);}function _0x37c582(_0x5c744b){const _0x36b22b=_0x292328;return _0x5c744b==null?null:typeof _0x5c744b==_0x36b22b(0x2dd)?_0x36cce1[_0x36b22b(0x264)][_0x36b22b(0x4c9)]:typeof _0x5c744b=='boolean'?_0x36cce1['CellValueType'][_0x36b22b(0x397)]:_0x36cce1[_0x36b22b(0x264)]['STRING'];}function _0x294bc2(_0x577d32){const _0xa3485d=_0x292328;_0x577d32[_0xa3485d(0x2e9)]((_0x2feda4,_0x3e2e53)=>_0x2feda4['orderKey'][_0xa3485d(0x211)](_0x3e2e53[_0xa3485d(0x449)]));let _0x1443e7=[];for(let _0x1472ef of _0x577d32)_0x1443e7[_0xa3485d(0x429)](_0x1472ef['id']);return _0x1443e7;}function _0x403116(_0x4bdb1f,_0x8b4fea){const _0x391c80=_0x292328;return _0x4bdb1f===_0x36cce1[_0x391c80(0x264)][_0x391c80(0x564)]||_0x4bdb1f===_0x36cce1[_0x391c80(0x264)][_0x391c80(0x4c9)]||_0x4bdb1f===_0x36cce1['CellValueType'][_0x391c80(0x397)]||_0x4bdb1f===_0x36cce1[_0x391c80(0x264)][_0x391c80(0x527)]||_0x4bdb1f==null?_0x4bdb1f:_0x37c582(_0x8b4fea??null);}function _0x30ac86(_0x388688){const _0x5c4fa5=_0x292328;let _0x3fef4d=null;for(let _0x366262 of _0x388688)_0x3fef4d=_0x3fef4d===null?_0x366262:_0x36cce1['JSON1'][_0x5c4fa5(0x11c)][_0x5c4fa5(0x2b6)](_0x3fef4d,_0x366262);return _0x3fef4d;}var _0x4263aa=class _0xeabeb6{static['tryMaterializeSnapshot'](_0x41e52f,_0x3a1009){const _0x5406a4=_0x292328;let _0x590613=[];for(let _0x1c3858 of _0x3a1009){let _0x1c4e90=_0x5d05c3(_0x1c3858);if(!_0x1c4e90||_0x1c4e90['unitId']!==_0x41e52f['id'])return null;_0x590613[_0x5406a4(0x429)](_0x1c4e90['op']);}try{let _0x58cc4a=_0x30ac86(_0x590613);return _0x58cc4a===null?_0x41e52f:new _0xeabeb6()[_0x5406a4(0x4a2)](_0x41e52f,_0x58cc4a);}catch{return null;}}[_0x292328(0x4a2)](_0x2d53eb,_0x52cd3d){const _0x5737dd=_0x292328;let _0x21fa84=this[_0x5737dd(0x406)](_0x52cd3d),_0xad4838=_0x296aa6(_0x5737dd(0x47e),()=>_0x2040ff(_0x2d53eb,_0x52cd3d),{'invalidations':_0x21fa84['length']}),_0x54d8da=_0x296aa6(_0x5737dd(0x55a),()=>_0x36cce1[_0x5737dd(0x112)][_0x5737dd(0x11c)][_0x5737dd(0x545)](_0xad4838,_0x52cd3d),{'invalidations':_0x21fa84['length']}),_0x14b702=_0x259129(_0x54d8da,_0x21fa84);return _0x296aa6(_0x5737dd(0x48f),()=>_0x50ce8d(_0x54d8da,_0x21fa84),{'invalidations':_0x21fa84['length']})?(_0x694818(_0x54d8da,_0x14b702),_0x54d8da):(_0x296aa6(_0x5737dd(0x476),()=>{const _0x2ed1b8=_0x5737dd;this[_0x2ed1b8(0x55e)](_0x54d8da,_0x21fa84)['forEach'](_0x56af6e=>{const _0x252714=_0x2ed1b8;let _0x4f6d16=_0x21fa84[_0x252714(0x544)](_0x81b7a9=>_0x81b7a9[_0x252714(0x578)]===_0x56af6e['id']),_0x44d213=_0x4f6d16[_0x252714(0x4fc)]>0x0&&_0x4f6d16[_0x252714(0x20f)](_0x466160=>_0x466160[_0x252714(0x49d)]===_0x252714(0x250)||_0x466160[_0x252714(0x49d)]===_0x252714(0x176)||_0x466160[_0x252714(0x49d)]===_0x252714(0x522)||_0x466160[_0x252714(0x49d)]==='record')?new Set(_0x4f6d16[_0x252714(0x57e)](_0x3027e4=>{const _0x15970d=_0x252714;var _0x524da4;if(_0x3027e4[_0x15970d(0x49d)]!==_0x15970d(0x250)||!_0x3027e4[_0x15970d(0x450)])return[];let _0x4a0f67=(_0x524da4=_0x2d53eb['tables'][_0x56af6e['id']])==null?void 0x0:_0x524da4[_0x15970d(0x445)][_0x3027e4[_0x15970d(0x450)]],_0x473fd4=_0x56af6e[_0x15970d(0x445)][_0x3027e4['fieldId']];return(_0x4a0f67==null?void 0x0:_0x4a0f67[_0x15970d(0x11c)])!==(_0x473fd4==null?void 0x0:_0x473fd4['type'])||(_0x4a0f67==null?void 0x0:_0x4a0f67['config'][_0x15970d(0x4c7)])!==(_0x473fd4==null?void 0x0:_0x473fd4[_0x15970d(0x441)]['allowMultiple'])?[_0x3027e4['fieldId']]:[];})):void 0x0,_0x3e0921=new Set(_0x4f6d16['flatMap'](_0xcc386a=>{const _0x578fbc=_0x252714;var _0x3ff8ec,_0x51c733;return _0xcc386a[_0x578fbc(0x49d)]!==_0x578fbc(0x522)||_0xcc386a['row']==null||_0xcc386a[_0x578fbc(0x482)]==null?[]:[JSON[_0x578fbc(0x131)]([(_0x3ff8ec=_0x56af6e[_0x578fbc(0x387)])==null?void 0x0:_0x3ff8ec[_0xcc386a[_0x578fbc(0x4eb)]],(_0x51c733=_0x56af6e[_0x578fbc(0x252)])==null?void 0x0:_0x51c733[_0xcc386a[_0x578fbc(0x482)]]])];}));_0x5521b4(_0x56af6e,_0x44d213?(_0x2c70a9,_0x3f8d83)=>_0x44d213['has'](_0x3f8d83)||_0x3e0921[_0x252714(0x16f)](JSON[_0x252714(0x131)]([_0x2c70a9,_0x3f8d83])):void 0x0);});},{'invalidations':_0x21fa84[_0x5737dd(0x4fc)]}),_0x694818(_0x54d8da,_0x14b702),_0x54d8da);}[_0x292328(0x39a)](_0x14ebbc,_0x2ecf62){const _0x3159bf=_0x292328;return _0x36cce1[_0x3159bf(0x112)]['type'][_0x3159bf(0x368)](_0x2ecf62,_0x14ebbc);}[_0x292328(0x406)](_0x5e620c){const _0x35925e=_0x292328;let _0x5be0b7=_0x457d03(_0x5e620c);return _0x5be0b7['length']?_0x19741f(_0x5be0b7[_0x35925e(0x57e)](_0x552e8d=>this['getAffectedRanges'](_0x552e8d))):_0x46428f(_0x5e620c);}[_0x292328(0x55e)](_0x217b3b,_0xfc3083){const _0x4e8507=_0x292328;let _0x30eacc=_0xfc3083['filter'](_0x19eb75=>_0x19eb75['reason']!==_0x4e8507(0x176));return _0x30eacc['length']?_0x30eacc['some'](_0x3b452b=>!_0x3b452b[_0x4e8507(0x578)])?Object[_0x4e8507(0x1ea)](_0x217b3b['tables']??{}):Array[_0x4e8507(0x11f)](new Set(_0x30eacc['map'](_0x4ab6d2=>_0x4ab6d2['tableId'])))[_0x4e8507(0x57e)](_0x500a20=>{var _0x2f50d6;let _0x8d5b05=(_0x2f50d6=_0x217b3b['tables'])==null?void 0x0:_0x2f50d6[_0x500a20];return _0x8d5b05?[_0x8d5b05]:[];}):[];}};function _0x5d05c3(_0x5086d0){const _0x30a37d=_0x292328;let _0x42d917=_0x5086d0[_0x30a37d(0x403)];return _0x5086d0['id']!==_0x30a37d(0x2e1)||typeof _0x42d917!=_0x30a37d(0x2f7)||!_0x42d917||!('unitId'in _0x42d917)||typeof _0x42d917[_0x30a37d(0x273)]!='string'||!('op'in _0x42d917)||!Array['isArray'](_0x42d917['op'])?null:{'unitId':_0x42d917[_0x30a37d(0x273)],'op':_0x42d917['op']};}function _0x50ce8d(_0x2d5e1e,_0x5057e1){const _0x4ac13a=_0x292328;if(!_0x5057e1[_0x4ac13a(0x4fc)]||_0x5057e1[_0x4ac13a(0x41d)](_0x5403cd=>_0x5403cd[_0x4ac13a(0x49d)]!==_0x4ac13a(0x522)))return!0x1;let _0x56aa42=new Map();for(let _0x2ebabd of _0x5057e1){if(!_0x2ebabd[_0x4ac13a(0x578)]||_0x2ebabd[_0x4ac13a(0x4eb)]==null||_0x2ebabd['column']==null)continue;let _0x5d08b9=_0x56aa42[_0x4ac13a(0x1fa)](_0x2ebabd[_0x4ac13a(0x578)])??[];_0x5d08b9[_0x4ac13a(0x429)]({'row':_0x2ebabd['row'],'col':_0x2ebabd['column']}),_0x56aa42['set'](_0x2ebabd[_0x4ac13a(0x578)],_0x5d08b9);}return _0x56aa42[_0x4ac13a(0x56d)]((_0x5667c5,_0x282c40)=>{const _0x1fd8ae=_0x4ac13a;var _0x188735;let _0xbcbea8=(_0x188735=_0x2d5e1e[_0x1fd8ae(0x288)])==null?void 0x0:_0x188735[_0x282c40];_0xbcbea8&&_0x4f755f(_0xbcbea8,_0x5667c5);}),!0x0;}function _0x259129(_0x5e0fa2,_0x40848e){let _0xfba964=new Set();return _0x40848e['flatMap'](_0x2de36a=>{const _0x4f8a8c=_0x5c61;var _0x5a386f;if(!_0x2de36a['tableId']||!_0x2de36a[_0x4f8a8c(0x33c)]||!_0x2de36a[_0x4f8a8c(0x450)])return[];let _0x4c5c91=_0x2de36a[_0x4f8a8c(0x578)]+'\x1f'+_0x2de36a[_0x4f8a8c(0x33c)]+'\x1f'+_0x2de36a[_0x4f8a8c(0x450)];if(_0xfba964['has'](_0x4c5c91))return[];_0xfba964['add'](_0x4c5c91);let _0xae5581=(_0x5a386f=_0x5e0fa2[_0x4f8a8c(0x288)][_0x2de36a[_0x4f8a8c(0x578)]])==null||(_0x5a386f=_0x5a386f[_0x4f8a8c(0x46f)][_0x2de36a[_0x4f8a8c(0x33c)]])==null?void 0x0:_0x5a386f[_0x4f8a8c(0x1ea)];return _0xae5581?[{'tableId':_0x2de36a[_0x4f8a8c(0x578)],'recordId':_0x2de36a[_0x4f8a8c(0x33c)],'fieldId':_0x2de36a[_0x4f8a8c(0x450)],'exists':Object['prototype']['hasOwnProperty']['call'](_0xae5581,_0x2de36a[_0x4f8a8c(0x450)]),'value':_0xae5581[_0x2de36a[_0x4f8a8c(0x450)]]}]:[];});}function _0x694818(_0x733d91,_0xb3400a){const _0xf28581=_0x292328;_0xb3400a[_0xf28581(0x56d)](_0x3fc388=>{const _0x590ce5=_0xf28581;var _0x4f0f96;let _0x149e6c=(_0x4f0f96=_0x733d91[_0x590ce5(0x288)][_0x3fc388[_0x590ce5(0x578)]])==null||(_0x4f0f96=_0x4f0f96[_0x590ce5(0x46f)][_0x3fc388[_0x590ce5(0x33c)]])==null?void 0x0:_0x4f0f96['values'];_0x149e6c&&(_0x3fc388[_0x590ce5(0x311)]?_0x149e6c[_0x3fc388['fieldId']]=_0x3fc388['value']:delete _0x149e6c[_0x3fc388[_0x590ce5(0x450)]]);});}function _0x46428f(_0x5d564e){const _0x2024cb=_0x292328;if(!Array['isArray'](_0x5d564e)||_0x5d564e['length']<0x2)return[{'tableId':'','reason':'unknown'}];let _0x5459d6=_0x5d564e,_0x18c0f8=_0x5459d6[_0x2024cb(0x13d)]('tables');return _0x18c0f8===-0x1||typeof _0x5459d6[_0x18c0f8+0x1]!=_0x2024cb(0x4ce)?_0x5459d6[0x0]===_0x2024cb(0x3c9)?[]:[{'tableId':'','reason':_0x2024cb(0x18b)}]:_0x44bf79(_0x5459d6,_0x18c0f8,String(_0x5459d6[_0x18c0f8+0x1]));}function _0x44bf79(_0x7254eb,_0xea01b8,_0x43bbb5){const _0xc75901=_0x292328;let _0x41b9f8=_0x7254eb[_0xea01b8+0x2];return _0x41b9f8==='records'&&typeof _0x7254eb[_0xea01b8+0x3]=='string'?_0x103ecc(_0x7254eb,_0xea01b8,_0x43bbb5,String(_0x7254eb[_0xea01b8+0x3])):_0x41b9f8===_0xc75901(0x48e)&&_0x7254eb[_0xea01b8+0x3]!=null&&_0x7254eb[_0xea01b8+0x4]!=null?[{'tableId':_0x43bbb5,'reason':'cell','row':Number(_0x7254eb[_0xea01b8+0x3]),'column':Number(_0x7254eb[_0xea01b8+0x4])}]:_0x41b9f8===_0xc75901(0x445)&&typeof _0x7254eb[_0xea01b8+0x3]==_0xc75901(0x4ce)?[{'tableId':_0x43bbb5,'reason':_0xc75901(0x250),'fieldId':String(_0x7254eb[_0xea01b8+0x3])}]:_0x41b9f8==='fieldOrder'?[{'tableId':_0x43bbb5,'reason':'field'}]:_0x41b9f8===_0xc75901(0x318)?[{'tableId':_0x43bbb5,'reason':'record'}]:_0x41b9f8==='views'&&typeof _0x7254eb[_0xea01b8+0x3]==_0xc75901(0x4ce)?[{'tableId':_0x43bbb5,'reason':'view','viewId':String(_0x7254eb[_0xea01b8+0x3])}]:_0x41b9f8===_0xc75901(0x358)?[{'tableId':_0x43bbb5,'reason':_0xc75901(0x176)}]:_0x41b9f8==='resources'?[{'tableId':_0x43bbb5,'reason':_0xc75901(0x522)}]:[{'tableId':_0x43bbb5,'reason':_0x41b9f8===void 0x0?_0xc75901(0x442):_0xc75901(0x18b)}];}function _0x103ecc(_0x39849f,_0x5c0ad9,_0x4f4c57,_0x4a158e){const _0x9b8782=_0x292328;return _0x39849f[_0x5c0ad9+0x4]===_0x9b8782(0x1ea)&&typeof _0x39849f[_0x5c0ad9+0x5]=='string'?[{'tableId':_0x4f4c57,'reason':'cell','recordId':_0x4a158e,'fieldId':String(_0x39849f[_0x5c0ad9+0x5])}]:_0x39849f[_0x5c0ad9+0x4]===_0x9b8782(0x4af)||_0x39849f[_0x5c0ad9+0x4]==='updatedBy'?[]:[{'tableId':_0x4f4c57,'reason':_0x9b8782(0x13e),'recordId':_0x4a158e}];}function _0x457d03(_0x516d23){const _0x536552=_0x292328;if(!Array[_0x536552(0x3fe)](_0x516d23))return[];let _0x1bb80b=_0x516d23[_0x536552(0x544)](Array[_0x536552(0x3fe)]);if(_0x1bb80b['length']>0x1&&_0x1bb80b['length']===_0x516d23[_0x536552(0x4fc)])return _0x1bb80b;let _0x12fb79=_0x516d23[_0x536552(0x277)](Array[_0x536552(0x3fe)]);if(_0x12fb79>0x0&&_0x516d23[_0x536552(0x2ed)](_0x12fb79)['every'](Array[_0x536552(0x3fe)])){let _0x147460=_0x516d23[_0x536552(0x2ed)](0x0,_0x12fb79);return _0x516d23[_0x536552(0x2ed)](_0x12fb79)[_0x536552(0x421)](_0x451e73=>[..._0x147460,..._0x451e73]);}let _0x1143c5=_0x516d23[_0x536552(0x13d)](_0x536552(0x288));if(_0x1143c5===-0x1||typeof _0x516d23[_0x1143c5+0x1]!=_0x536552(0x4ce))return[];let _0x2501e9=String(_0x516d23[_0x1143c5+0x1]),_0xc182e=_0x516d23[_0x536552(0x2ed)](_0x1143c5+0x2)[_0x536552(0x544)](Array[_0x536552(0x3fe)]);return _0xc182e[_0x536552(0x4fc)]<=0x1?[]:_0xc182e['map'](_0xb93466=>[_0x536552(0x288),_0x2501e9,..._0xb93466]);}function _0x19741f(_0x5e1e8f){const _0x1e0c24=_0x292328;let _0x525bfe=new Set();return _0x5e1e8f[_0x1e0c24(0x544)](_0x16244a=>{const _0x203db7=_0x1e0c24;let _0x483f6b=JSON[_0x203db7(0x131)](_0x16244a);return!_0x525bfe[_0x203db7(0x16f)](_0x483f6b)&&(_0x525bfe[_0x203db7(0x18c)](_0x483f6b),!0x0);});}function _0xc7bbd1(_0x285b54){const _0x3f97b4=_0x292328;return _0x36cce1['Tools'][_0x3f97b4(0x23b)](_0x285b54);}function _0x2040ff(_0x2b8cbe,_0x361947){const _0xd1655c=_0x292328;let _0x4b537d=_0x2a66b3(_0x361947);if(!_0x4b537d[_0xd1655c(0x4fc)])return _0xc7bbd1(_0x2b8cbe);let _0x396a0a=_0x1bf684(_0x2b8cbe),_0x5d7e88=new Set();for(let _0x3fd8e2 of _0x4b537d)_0x1cae7b(_0x396a0a,_0x3fd8e2,_0x5d7e88);return _0x396a0a;}function _0x2a66b3(_0x282bb9){let _0x4f3501=[];return _0x300e2a(_0x282bb9,[],_0x4f3501),_0x4f3501;}function _0x300e2a(_0x32379e,_0x300d5f,_0x2deff3){const _0x437b9c=_0x292328;if(!Array['isArray'](_0x32379e))return;let _0x4ebc07=[];for(let _0x54b99c of _0x32379e)Array[_0x437b9c(0x3fe)](_0x54b99c)?_0x300e2a(_0x54b99c,[..._0x300d5f,..._0x4ebc07],_0x2deff3):_0x5e14e2(_0x54b99c)?_0x2deff3['push']([..._0x300d5f,..._0x4ebc07]):(typeof _0x54b99c==_0x437b9c(0x4ce)||typeof _0x54b99c==_0x437b9c(0x2dd))&&_0x4ebc07['push'](_0x54b99c);}function _0x5e14e2(_0xdec84e){const _0x262532=_0x292328;if(!_0xdec84e||typeof _0xdec84e!='object'||Array[_0x262532(0x3fe)](_0xdec84e))return!0x1;let _0x3fc65f=_0xdec84e;return'i'in _0x3fc65f||'r'in _0x3fc65f||'p'in _0x3fc65f||'d'in _0x3fc65f||'es'in _0x3fc65f||_0x262532(0x505)in _0x3fc65f||'et'in _0x3fc65f;}function _0x1cae7b(_0x514ae0,_0x2b10e9,_0x4606f7){const _0x33e08e=_0x292328;let _0x5bfc08=_0x514ae0,_0x18740b=[];for(let _0x184703=0x0;_0x184703<_0x2b10e9[_0x33e08e(0x4fc)]-0x1;_0x184703++){let _0x4979db=_0x2b10e9[_0x184703];_0x18740b[_0x33e08e(0x429)](_0x4979db);let _0xb59ed0=_0xf67969(_0x5bfc08,_0x4979db);if(!_0x2b7eae(_0xb59ed0))return;let _0x173123=JSON['stringify'](_0x18740b);_0x4606f7[_0x33e08e(0x16f)](_0x173123)||(_0x31e755(_0x5bfc08,_0x4979db,_0x1bf684(_0xb59ed0)),_0x4606f7[_0x33e08e(0x18c)](_0x173123));let _0x4cbff2=_0xf67969(_0x5bfc08,_0x4979db);if(!_0x2b7eae(_0x4cbff2))return;_0x5bfc08=_0x4cbff2;}}function _0xf67969(_0x22dea8,_0x29529d){const _0x46739b=_0x292328;return Array[_0x46739b(0x3fe)](_0x22dea8)?typeof _0x29529d==_0x46739b(0x2dd)?_0x22dea8[_0x29529d]:void 0x0:Reflect[_0x46739b(0x1fa)](_0x22dea8,_0x29529d);}function _0x31e755(_0x41de28,_0x291331,_0x417081){const _0x242bcb=_0x292328;Array[_0x242bcb(0x3fe)](_0x41de28)?typeof _0x291331==_0x242bcb(0x2dd)&&(_0x41de28[_0x291331]=_0x417081):Reflect[_0x242bcb(0x251)](_0x41de28,_0x291331,_0x417081);}function _0x2b7eae(_0x5ae13e){const _0x2662a3=_0x292328;return!!_0x5ae13e&&typeof _0x5ae13e==_0x2662a3(0x2f7);}function _0x1bf684(_0x491afc){return Array['isArray'](_0x491afc)?_0x491afc['slice']():{..._0x491afc};}let _0x4363b0=_0x292328(0x119),_0x487e0d=/\s+hh:mm\s*$/i,_0x10be95={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':_0x292328(0x233),'mm-dd':_0x292328(0x4f7),'mm/dd/yyyy':_0x292328(0x51e),'dd/mm/yyyy':_0x292328(0x218),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x3c98ee(_0x4b357c,_0x85597b=_0x36cce1['DateSystem'][_0x292328(0x213)]){const _0x1a7a66=_0x292328;let _0x184e8c=(0x0,_0x36cce1[_0x1a7a66(0x2bf)])(_0x4b357c)['valueOf']();return(0x0,_0x36cce1['excelDateTimeSerial'])(new Date(_0x184e8c),_0x85597b);}function _0x2c9ff1(_0xe5939c,_0x14d6e3=_0x36cce1[_0x292328(0x45f)][_0x292328(0x213)]){const _0x368a4f=_0x292328;return(0x0,_0x36cce1[_0x368a4f(0x490)])(_0xe5939c,_0x14d6e3)['getTime']();}function _0x370ca4(_0x3c439f,_0x4e410d=_0x36cce1[_0x292328(0x45f)]['Date1900']){const _0x14f94d=_0x292328;if(_0x3c439f==null||_0x3c439f==='')return null;if(_0x3c439f instanceof Date)return _0x3c98ee(_0x3c439f,_0x4e410d);if(typeof _0x3c439f==_0x14f94d(0x2dd))return Number['isFinite'](_0x3c439f)?_0x3c439f>0xf4240?_0x3c98ee(_0x3c439f,_0x4e410d):_0x3c439f:null;let _0x2f143c=Date[_0x14f94d(0x235)](String(_0x3c439f));return Number['isNaN'](_0x2f143c)?null:_0x3c98ee(_0x2f143c,_0x4e410d);}function _0x4da510(_0x37e25f,_0xf4461c=_0x36cce1[_0x292328(0x45f)][_0x292328(0x213)]){let _0x286345=_0x370ca4(_0x37e25f,_0xf4461c);return _0x286345==null?null:_0x2c9ff1(_0x286345,_0xf4461c);}function _0x3fbd93(_0x2dfcd1={}){const _0x3e6564=_0x292328;let _0x101672=String(_0x2dfcd1[_0x3e6564(0x469)]??_0x2dfcd1[_0x3e6564(0x3ee)]??_0x2dfcd1[_0x3e6564(0x36c)]??_0x4363b0)['trim']()||_0x4363b0,_0x499aff=_0x487e0d[_0x3e6564(0x23f)](_0x101672);return{'pattern':_0x101672['replace'](_0x487e0d,'')||_0x4363b0,'includeTime':typeof _0x2dfcd1['includeTime']=='boolean'?_0x2dfcd1['includeTime']:_0x499aff,'hourCycle':_0x2dfcd1['hourCycle']===_0x3e6564(0x15b)?_0x3e6564(0x15b):_0x3e6564(0x1ff)};}function _0x2fe3a3(_0x29b240={}){let {format:_0x724a70,dateFormat:_0x3c5a1e,..._0x5d57c5}=_0x29b240;return{..._0x5d57c5,..._0x3fbd93(_0x29b240)};}function _0xc050ca(_0x3e4abc,_0x5c4b2c={}){const _0xfdc678=_0x292328;let _0x23abfb=_0x4da510(_0x3e4abc);if(_0x23abfb==null||!Number[_0xfdc678(0x313)](_0x23abfb))return'';let _0x41f436=_0x3fbd93(_0x5c4b2c);return(0x0,_0x36cce1[_0xfdc678(0x2bf)])(_0x23abfb)['format'](_0x505b95(_0x41f436));}function _0x505b95(_0x2ab3ef){const _0x211c73=_0x292328;let {pattern:_0x22d8d2,includeTime:_0x50e182,hourCycle:_0x54887e}=_0x2ab3ef,_0x1c3525=_0x10be95[_0x22d8d2]??_0x10be95[_0x4363b0];return _0x50e182?_0x1c3525+'\x20'+(_0x54887e===_0x211c73(0x15b)?_0x211c73(0x249):_0x211c73(0x28a)):_0x1c3525;}let _0x269a21={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x2d991a=new Set([_0x36cce1[_0x292328(0x229)][_0x292328(0x15f)]]);function _0x4f2f06(_0x31dc4a){const _0x211e22=_0x292328;switch(_0x31dc4a){case _0x36cce1['BaseFieldType']['Number']:case _0x36cce1[_0x211e22(0x229)]['Currency']:case _0x36cce1[_0x211e22(0x229)]['Progress']:case _0x36cce1[_0x211e22(0x229)][_0x211e22(0x160)]:return[_0x36cce1[_0x211e22(0x413)]['IS'],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x351)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x15a)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x57c)],_0x36cce1[_0x211e22(0x413)]['IS_EMPTY'],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x3a2)]];case _0x36cce1[_0x211e22(0x229)]['Date']:case _0x36cce1[_0x211e22(0x229)][_0x211e22(0x4a1)]:case _0x36cce1[_0x211e22(0x229)][_0x211e22(0x203)]:return[_0x36cce1[_0x211e22(0x413)]['IS'],_0x36cce1['BaseConditionalColorOperator'][_0x211e22(0x351)],_0x36cce1['BaseConditionalColorOperator'][_0x211e22(0x142)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x511)],_0x36cce1[_0x211e22(0x413)]['IS_EMPTY'],_0x36cce1[_0x211e22(0x413)]['IS_NOT_EMPTY']];case _0x36cce1[_0x211e22(0x229)][_0x211e22(0x42d)]:return[_0x36cce1['BaseConditionalColorOperator']['IS'],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x351)]];default:return[_0x36cce1[_0x211e22(0x413)]['IS'],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x351)],_0x36cce1['BaseConditionalColorOperator'][_0x211e22(0x530)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x56a)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x404)],_0x36cce1[_0x211e22(0x413)][_0x211e22(0x3a2)]];}}function _0x5d194c(_0x106bb9){const _0x4e3971=_0x292328;return _0x106bb9===_0x36cce1[_0x4e3971(0x229)][_0x4e3971(0x285)]||_0x106bb9===_0x36cce1['BaseFieldType'][_0x4e3971(0x4a1)]||_0x106bb9===_0x36cce1['BaseFieldType'][_0x4e3971(0x203)];}function _0x451545(_0x57bde0,_0x31304d){const _0x5e13b7=_0x292328;return _0x57bde0==null&&_0x31304d==null?0x0:_0x57bde0==null?-0x1:_0x31304d==null?0x1:typeof _0x57bde0=='number'&&typeof _0x31304d==_0x5e13b7(0x2dd)?_0x57bde0-_0x31304d:String(_0x57bde0)[_0x5e13b7(0x211)](String(_0x31304d));}function _0x4c2e9d(_0x2cd420,_0x44ccdc,_0x3b4276,_0x6595c6,_0x4a517d={}){const _0x3d48a1=_0x292328;if(_0x44ccdc==='isEmpty')return _0x149e75(_0x2cd420);if(_0x44ccdc===_0x3d48a1(0x49b))return!_0x149e75(_0x2cd420);switch(_0x6595c6[_0x3d48a1(0x11c)]){case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x28d)]:case _0x36cce1[_0x3d48a1(0x229)]['Currency']:case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x390)]:case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x160)]:return _0x2ab79d(_0x2cd420,_0x44ccdc,_0x3b4276);case _0x36cce1[_0x3d48a1(0x229)]['Date']:case _0x36cce1['BaseFieldType'][_0x3d48a1(0x4a1)]:case _0x36cce1['BaseFieldType']['UpdatedAt']:return _0x58b89e(_0x2cd420,_0x44ccdc,_0x3b4276,_0x4a517d);case _0x36cce1['BaseFieldType'][_0x3d48a1(0x42d)]:return _0x5190fa(_0x2cd420,_0x44ccdc,_0x3b4276);case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x117)]:case _0x36cce1['BaseFieldType']['MultiSelect']:case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x506)]:case _0x36cce1[_0x3d48a1(0x229)][_0x3d48a1(0x408)]:return _0x445f4c(_0x2cd420,_0x44ccdc,_0x3b4276,_0x6595c6);default:return _0x63da4e(_0x2cd420,_0x44ccdc,_0x3b4276);}}function _0x149e75(_0x476762){const _0x2fc8f7=_0x292328;return _0x476762==null?!0x0:Array[_0x2fc8f7(0x3fe)](_0x476762)?_0x476762[_0x2fc8f7(0x4fc)]===0x0:typeof _0x476762=='string'&&_0x476762[_0x2fc8f7(0x2b7)]()==='';}function _0x2ab79d(_0xeebdc7,_0x5ac1bb,_0x4d340f){const _0x2dba3c=_0x292328;let _0x597515=_0x4f3dfa(_0xeebdc7),_0x5e8eb0=_0x4f3dfa(_0x4d340f);if(_0x597515==null||_0x5e8eb0==null)return!0x1;switch(_0x5ac1bb){case'is':return _0x597515===_0x5e8eb0;case _0x2dba3c(0x3a6):return _0x597515!==_0x5e8eb0;case _0x2dba3c(0x3d9):return _0x597515>_0x5e8eb0;case'greaterThanOrEqual':return _0x597515>=_0x5e8eb0;case _0x2dba3c(0x2c4):return _0x597515<_0x5e8eb0;case _0x2dba3c(0x149):return _0x597515<=_0x5e8eb0;default:return!0x1;}}function _0x4f3dfa(_0x465852){const _0x46e401=_0x292328;if(_0x465852==null||_0x465852==='')return null;let _0x5377ae=Number(_0x465852);return Number[_0x46e401(0x313)](_0x5377ae)?_0x5377ae:null;}function _0x58b89e(_0x36cd9d,_0x43da47,_0x30172b,_0x19fb5c){const _0x456ee6=_0x292328;let _0x5e2cdd=_0x4f43d3(_0x36cd9d);if(_0x5e2cdd==null)return!0x1;let _0x40247c=_0x5205a1(_0x19fb5c[_0x456ee6(0x2a0)]??_0x36cce1[_0x456ee6(0x4c2)][_0x456ee6(0x525)],_0x30172b,_0x19fb5c[_0x456ee6(0x37c)]);if(!_0x40247c)return!0x1;switch(_0x43da47){case _0x36cce1[_0x456ee6(0x413)]['IS']:return _0x5e2cdd>=_0x40247c[_0x456ee6(0x121)]&&_0x5e2cdd<=_0x40247c['end'];case _0x36cce1[_0x456ee6(0x413)]['IS_NOT']:return _0x5e2cdd<_0x40247c['start']||_0x5e2cdd>_0x40247c[_0x456ee6(0x475)];case _0x36cce1[_0x456ee6(0x413)][_0x456ee6(0x142)]:return _0x5e2cdd<_0x40247c[_0x456ee6(0x121)];case _0x36cce1[_0x456ee6(0x413)][_0x456ee6(0x511)]:return _0x5e2cdd>_0x40247c[_0x456ee6(0x475)];default:return!0x1;}}function _0x5205a1(_0x5ec50a,_0x5f2f15,_0x27a10d=Date[_0x292328(0x37c)]()){const _0xb10394=_0x292328;let _0x33151b=_0x1f9ad5(_0x27a10d);switch(_0x5ec50a){case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x525)]:{let _0x3fb16c=_0x4f43d3(_0x5f2f15);return _0x3fb16c==null?null:_0x1825bd(_0x3fb16c,0x0,0x1);}case _0x36cce1['BaseConditionalDateMode'][_0xb10394(0x55b)]:return _0x1825bd(_0x33151b,0x0,0x1);case _0x36cce1[_0xb10394(0x4c2)]['TOMORROW']:return _0x1825bd(_0x33151b,0x1,0x1);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x405)]:return _0x1825bd(_0x33151b,-0x1,0x1);case _0x36cce1['BaseConditionalDateMode'][_0xb10394(0x33f)]:return _0x87f5a6(_0x33151b,0x0);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x47a)]:return _0x87f5a6(_0x33151b,-0x1);case _0x36cce1['BaseConditionalDateMode'][_0xb10394(0x532)]:return _0x2080fd(_0x33151b,0x0);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x1db)]:return _0x2080fd(_0x33151b,-0x1);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x583)]:return _0x1825bd(_0x33151b,-0x6,0x7);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x4da)]:return _0x1825bd(_0x33151b,0x0,0x7);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x2cb)]:return _0x1825bd(_0x33151b,-0x1d,0x1e);case _0x36cce1[_0xb10394(0x4c2)][_0xb10394(0x1fc)]:return _0x1825bd(_0x33151b,0x0,0x1e);}}function _0x4f43d3(_0x16deab){let _0x1b1132=_0x370ca4(_0x16deab);return _0x1b1132==null?null:_0x1f9ad5(_0x2c9ff1(_0x1b1132));}function _0x1f9ad5(_0x8d9a6f){const _0x2516cd=_0x292328;let _0x22ecd9=new Date(_0x8d9a6f);return _0x22ecd9[_0x2516cd(0x222)](0x0,0x0,0x0,0x0),_0x22ecd9[_0x2516cd(0x37f)]();}function _0x87f5a6(_0x50c85e,_0xe51f4f){const _0x86c5ec=_0x292328;return _0x1825bd(_0x50c85e,-((new Date(_0x50c85e)[_0x86c5ec(0x1ed)]()+0x6)%0x7)+_0xe51f4f*0x7,0x7);}function _0x1825bd(_0x513136,_0xbcacc1,_0x17dc5a){const _0x3f5dab=_0x292328;let _0x5274a8=(0x0,_0x36cce1[_0x3f5dab(0x2bf)])(_0x513136)['add'](_0xbcacc1,'day');return{'start':_0x5274a8['valueOf'](),'end':_0x5274a8[_0x3f5dab(0x18c)](_0x17dc5a,_0x3f5dab(0x376))[_0x3f5dab(0x465)]()-0x1};}function _0x2080fd(_0x211c25,_0x4d451a){const _0x2d1c60=_0x292328;let _0x1a178f=new Date(_0x211c25),_0x1deec0=new Date(_0x1a178f[_0x2d1c60(0x141)](),_0x1a178f['getMonth']()+_0x4d451a,0x1),_0x47d2ac=new Date(_0x1a178f[_0x2d1c60(0x141)](),_0x1a178f[_0x2d1c60(0x453)]()+_0x4d451a+0x1,0x1);return{'start':_0x1deec0[_0x2d1c60(0x37f)](),'end':_0x47d2ac[_0x2d1c60(0x37f)]()-0x1};}function _0x5190fa(_0x2144e8,_0x3abb0b,_0x3b96ee){const _0x39ef3e=_0x292328;let _0x13c7ab=_0x4cf63c(_0x2144e8),_0x42cc40=_0x4cf63c(_0x3b96ee);switch(_0x3abb0b){case'is':return _0x13c7ab===_0x42cc40;case _0x39ef3e(0x3a6):return _0x13c7ab!==_0x42cc40;default:return!0x1;}}function _0x4cf63c(_0xd983b3){return _0xd983b3===!0x0||_0xd983b3==='true'||_0xd983b3===0x1||_0xd983b3==='1';}function _0x445f4c(_0x32ae49,_0x30e9d4,_0x228866,_0x25ba11){const _0x567192=_0x292328;let _0x397ae3=_0x101620(_0x32ae49,_0x25ba11),_0x2b08ae=_0x101620(_0x228866,_0x25ba11),_0x1d0662=_0x2b08ae[_0x567192(0x4fc)]>0x0&&_0x2b08ae['some'](_0x3fe013=>_0x397ae3[_0x567192(0x18d)](_0x3fe013));switch(_0x30e9d4){case'is':case _0x567192(0x230):return _0x1d0662;case _0x567192(0x3a6):case _0x567192(0x3c4):return!_0x1d0662;default:return!0x1;}}function _0x63da4e(_0x37a7a2,_0x257c14,_0x261c04){const _0x14430c=_0x292328;let _0x3ea717=_0x38672f(_0x37a7a2),_0xb83988=_0x38672f(_0x261c04);switch(_0x257c14){case'is':return _0x3ea717===_0xb83988;case _0x14430c(0x3a6):return _0x3ea717!==_0xb83988;case _0x14430c(0x230):return _0xb83988?_0x3ea717['includes'](_0xb83988):!0x1;case _0x14430c(0x3c4):return!_0xb83988||!_0x3ea717[_0x14430c(0x18d)](_0xb83988);default:return!0x1;}}function _0x38672f(_0x441815){const _0x5890e1=_0x292328;if(Array[_0x5890e1(0x3fe)](_0x441815))return _0x441815['map'](_0x3ba274=>_0x38672f(_0x3ba274))['join']('\x0a');if(_0x441815&&typeof _0x441815==_0x5890e1(0x2f7)){let _0x48dd13=_0x441815;return String(_0x48dd13[_0x5890e1(0x4c0)]??_0x48dd13[_0x5890e1(0x3cd)]??_0x48dd13[_0x5890e1(0x272)]??_0x48dd13[_0x5890e1(0x32d)]??_0x48dd13['id']??'')['trim']()[_0x5890e1(0x4db)]();}return String(_0x441815??'')[_0x5890e1(0x2b7)]()['toLowerCase']();}function _0x101620(_0x556824,_0x21db43){const _0x269937=_0x292328;let _0x503106=_0x51108b(_0x556824),_0x5f2816=_0x3bf4ef(_0x21db43['config']??{});return _0x503106[_0x269937(0x57e)](_0x2d163e=>_0x5f2816[_0x269937(0x1fa)](_0x2d163e)??[_0x2d163e])[_0x269937(0x544)]((_0x309233,_0x30e59d,_0x33d6f4)=>_0x309233!==''&&_0x33d6f4[_0x269937(0x13d)](_0x309233)===_0x30e59d);}function _0x51108b(_0x4fff2e){const _0x448dc0=_0x292328;if(_0x4fff2e==null||_0x4fff2e==='')return[];if(Array[_0x448dc0(0x3fe)](_0x4fff2e))return _0x4fff2e[_0x448dc0(0x57e)](_0x11dcd9=>_0x51108b(_0x11dcd9));if(_0x4fff2e&&typeof _0x4fff2e==_0x448dc0(0x2f7)){let _0x255240=_0x4fff2e;return['id',_0x448dc0(0x4c0),_0x448dc0(0x3cd),_0x448dc0(0x32d),_0x448dc0(0x272)][_0x448dc0(0x57e)](_0x50157a=>_0x51108b(_0x255240[_0x50157a]))[_0x448dc0(0x544)]((_0x35c2f0,_0x39de0f,_0xa4b996)=>_0xa4b996['indexOf'](_0x35c2f0)===_0x39de0f);}return[_0x38672f(_0x4fff2e)];}function _0x3bf4ef(_0x181bc4){const _0x4135b9=_0x292328;let _0x32b902=new Map();return(Array[_0x4135b9(0x3fe)](_0x181bc4[_0x4135b9(0x1b9)])?_0x181bc4[_0x4135b9(0x1b9)]:[])[_0x4135b9(0x56d)](_0x5d69b1=>{const _0x137dcc=_0x4135b9;if(!_0x5d69b1||typeof _0x5d69b1!=_0x137dcc(0x2f7))return;let _0x20d29e=_0x51108b(_0x5d69b1),_0x1d24e5=_0x20d29e[_0x137dcc(0x544)]((_0x5942bd,_0x211eb5)=>_0x5942bd!==''&&_0x20d29e['indexOf'](_0x5942bd)===_0x211eb5);_0x1d24e5['forEach'](_0xad5f45=>_0x32b902[_0x137dcc(0x251)](_0xad5f45,_0x1d24e5));}),_0x32b902;}function _0x4cc6d7(_0x29b4ac,_0x2d209e={},_0x4ffd88=_0x52ca32=>_0x52ca32,_0x5a0896={}){const _0x355ea8=_0x292328;let _0x2d785d=!_0x2d991a['has'](_0x29b4ac),_0x4ba7d0=_0x4ffd88??(_0x27a50e=>_0x27a50e);return{'type':_0x29b4ac,'i18nKey':_0x355ea8(0x219)+_0x29b4ac,'enabled':_0x2d785d,'visibleInCreateMenu':_0x2d785d,'createDefaultConfig':_0x5a0896[_0x355ea8(0x1c5)]??(()=>({})),'createDefaultValue':_0x5a0896['createDefaultValue']??(_0xc7cbae=>_0xc7cbae[_0x355ea8(0x437)]??null),'normalize':(_0x4a9452,_0x2c7cea)=>_0x4ba7d0(_0x4a9452,_0x2c7cea),'validate':(_0x28625e,_0x1a70f0)=>{var _0x5e41d6;return _0x2d785d?((_0x5e41d6=_0x5a0896['validate'])==null?void 0x0:_0x5e41d6['call'](_0x5a0896,_0x28625e,_0x1a70f0))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x4762dc,_0x1a8c2c)=>_0x451545(_0x4762dc,_0x1a8c2c),'filter':(_0x35b76c,_0x12f39f,_0xed702,_0x44e595)=>_0x4c2e9d(_0x35b76c,_0x12f39f,_0xed702,_0x44e595),'toPlainText':_0x5a0896['toPlainText']??(_0x4e4cf1=>_0x4e4cf1==null?'':String(_0x4e4cf1)),'fromPlainText':_0x5a0896[_0x355ea8(0x20a)]??(_0x582e60=>_0x4ba7d0(_0x582e60,{'id':'','name':'','type':_0x29b4ac,'config':{}})),'getCapabilities':()=>({..._0x269a21,..._0x2d209e,'editable':_0x2d785d&&(_0x2d209e['editable']??_0x269a21['editable'])})};}function _0x55fdd8(){const _0xacf574=_0x292328;return[_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x524)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x58fe57=>_0x58fe57[_0xacf574(0x437)]??''}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x117)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x5682df=>_0x5682df==null||_0x5682df===''?null:String(_0x5682df),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xacf574(0x308)}})}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x2fd)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x56b4a0=>Array[_0xacf574(0x3fe)](_0x56b4a0)?_0x56b4a0['map'](String):_0x56b4a0==null?[]:[String(_0x56b4a0)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xacf574(0x308)}}),'createDefaultValue':_0x54e229=>_0x54e229['defaultValue']??[]}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x506)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x5a7907,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xacf574(0x458)}),'validate':_0x149efe}),_0x4cc6d7(_0x36cce1['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x52cee5,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0xacf574(0x581)}),'createDefaultValue':_0x3fc6e8=>_0x3fc6e8[_0xacf574(0x437)]??[],'validate':_0x2f0cdb}),_0x4cc6d7(_0x36cce1['BaseFieldType'][_0xacf574(0x285)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xc455c9=>_0x370ca4(_0xc455c9),{'createDefaultConfig':()=>_0x4b168b(),'validate':_0x145c19}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x280068=>_0x280068==null?[]:Array[_0xacf574(0x3fe)](_0x280068)?_0x280068:[_0x280068],{'createDefaultValue':_0x435a76=>_0x435a76['defaultValue']??[]}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)]['Number'],{},_0x28c6a4=>_0x28c6a4==null||_0x28c6a4===''?null:Number(_0x28c6a4),{'createDefaultConfig':()=>_0x161635(),'validate':_0x18ce05}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x42d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2874dc=>_0x2874dc===!0x0||_0x2874dc===_0xacf574(0x561)||_0x2874dc===0x1||_0x2874dc==='1',{'createDefaultConfig':()=>({'icon':_0xacf574(0x198),'color':'#16a34a'}),'createDefaultValue':_0x80101d=>_0x80101d[_0xacf574(0x437)]??!0x1,'validate':_0x2bcd8b=>typeof _0x2bcd8b==_0xacf574(0x236)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xacf574(0x13a)}}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x416)],{'supportsRelation':!0x0},_0x31c152,{'createDefaultConfig':()=>({'placeholder':_0xacf574(0x19c)}),'toPlainText':_0x2581f5=>_0x1df2a8(_0x2581f5),'fromPlainText':_0x4a0694=>_0x31c152(_0x4a0694)}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x1e5)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),_0x4cc6d7(_0x36cce1['BaseFieldType']['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xacf574(0x384)}),'createDefaultValue':()=>null}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x143)],{'usableAsTitle':!0x0},_0x234c34=>_0x234c34==null?null:String(_0x234c34)[_0xacf574(0x2b7)](),{'validate':_0x2d5ef7=>_0x2d5ef7==null||_0x2d5ef7===''||/^\+?[0-9 ()-]{6,20}$/[_0xacf574(0x23f)](String(_0x2d5ef7))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xacf574(0x2d3)}}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x4be)],{'usableAsTitle':!0x0},_0x3cdcd1=>_0x3cdcd1==null?null:String(_0x3cdcd1)['trim'](),{'validate':_0x467f01=>_0x467f01==null||_0x467f01===''||_0x11a35a(String(_0x467f01))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xacf574(0x510)}}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x390)],{'usableAsGanttProgress':!0x0},_0x20d504=>_0x20d504==null||_0x20d504===''?null:Number(_0x20d504),{'createDefaultConfig':()=>({'format':_0xacf574(0x334),'decimalPlaces':0x0,'color':_0xacf574(0x1cb),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x251b3d,_0x4c1926)=>_0x5ee95d(_0x251b3d,_0x4c1926,_0xacf574(0x349))}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x17d)],{},_0x2d0988=>_0x2d0988==null||_0x2d0988===''?null:Number(_0x2d0988),{'createDefaultConfig':()=>({..._0x161635(),'currencySymbol':'$'}),'validate':_0x18ce05}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x160)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x35d391=>_0x35d391==null||_0x35d391===''?null:Number(_0x35d391),{'createDefaultConfig':()=>({'icon':_0xacf574(0x340),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3bf4c8,_0x162aa8)=>_0x5ee95d(_0x3bf4c8,_0x162aa8,_0xacf574(0x20d))}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x423)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x5c4a69,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x498bc2,_0x579d60)=>_0x18c815(_0x498bc2,_0x579d60['config']['multiple']===!0x0)}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x1d5)],{'editable':!0x1,'groupable':!0x0},_0x28b2d0=>_0x28b2d0==null?null:String(_0x28b2d0),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x4cc6d7(_0x36cce1['BaseFieldType'][_0xacf574(0x11a)],{'editable':!0x1,'groupable':!0x0},_0x51c21b=>_0x51c21b==null?null:String(_0x51c21b),{'createDefaultConfig':()=>({'provider':_0xacf574(0x2dc)}),'createDefaultValue':()=>null}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x4a1)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1159c8=>_0x370ca4(_0x1159c8),{'createDefaultConfig':()=>_0x4b168b(),'createDefaultValue':()=>null,'validate':_0x145c19}),_0x4cc6d7(_0x36cce1[_0xacf574(0x229)][_0xacf574(0x203)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5b1056=>_0x370ca4(_0x5b1056),{'createDefaultConfig':()=>_0x4b168b(),'createDefaultValue':()=>null,'validate':_0x145c19})];}function _0x161635(){const _0x72c0d2=_0x292328;return{'pattern':_0x72c0d2(0x215),'decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':_0x72c0d2(0x542),'allowNegative':!0x0};}function _0x4b168b(){const _0x262af0=_0x292328;return{'locale':_0x262af0(0x2ff),'pattern':_0x262af0(0x119),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};}function _0x52cee5(_0x134345){const _0x3b7a84=_0x292328;return _0x134345==null||_0x134345===''?[]:Array[_0x3b7a84(0x3fe)](_0x134345)?_0x134345[_0x3b7a84(0x421)](String):[String(_0x134345)];}function _0x5c4a69(_0x27c33d){const _0x5abcd0=_0x292328;return typeof _0x27c33d==_0x5abcd0(0x4ce)?_0x27c33d:'';}function _0x5a7907(_0x4a3393,_0x564277){const _0x91fdb2=_0x292328;return _0x4a3393==null||_0x4a3393===''?_0x564277[_0x91fdb2(0x441)][_0x91fdb2(0x4c7)]===!0x0?[]:null:_0x564277[_0x91fdb2(0x441)][_0x91fdb2(0x4c7)]===!0x0?Array[_0x91fdb2(0x3fe)](_0x4a3393)?_0x4a3393['map'](String):[String(_0x4a3393)]:Array['isArray'](_0x4a3393)?String(_0x4a3393[0x0]??'')||null:String(_0x4a3393);}function _0x149efe(_0x308d9a,_0x3d2d87){const _0x3bc023=_0x292328;return _0x3d2d87[_0x3bc023(0x441)][_0x3bc023(0x4c7)]===!0x0?_0x2f0cdb(_0x308d9a):_0x308d9a==null||_0x308d9a===''||typeof _0x308d9a==_0x3bc023(0x4ce)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x2f0cdb(_0x46cd9f){return _0x46cd9f==null||Array['isArray'](_0x46cd9f)&&_0x46cd9f['every'](_0x4cf355=>typeof _0x4cf355=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function _0x145c19(_0x4a7031){const _0x446287=_0x292328;return _0x4a7031==null||typeof _0x4a7031=='number'&&Number['isFinite'](_0x4a7031)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x446287(0x270)};}function _0x18ce05(_0x3749e4,_0x37a2ce){const _0x18c4f7=_0x292328;return _0x3749e4==null||_0x3749e4===''?{'valid':!0x0}:typeof _0x3749e4!=_0x18c4f7(0x2dd)||!Number[_0x18c4f7(0x313)](_0x3749e4)?{'valid':!0x1,'reason':_0x18c4f7(0x43c)}:_0x37a2ce[_0x18c4f7(0x441)][_0x18c4f7(0x156)]===!0x1&&_0x3749e4<0x0?{'valid':!0x1,'reason':_0x18c4f7(0x1d0)}:{'valid':!0x0};}function _0x5ee95d(_0x14e6a9,_0x5f56bd,_0x21af9a){const _0x4e0e44=_0x292328;let _0x3ed0ea=_0x18ce05(_0x14e6a9,_0x5f56bd);if(!_0x3ed0ea[_0x4e0e44(0x4b7)]||_0x14e6a9==null||_0x14e6a9==='')return _0x3ed0ea;let _0x224694=Number(_0x5f56bd[_0x4e0e44(0x441)][_0x4e0e44(0x3ec)]??_0x5f56bd['config'][_0x4e0e44(0x121)]??0x0),_0x1d2e66=Number(_0x5f56bd[_0x4e0e44(0x441)][_0x4e0e44(0x2ac)]??_0x5f56bd['config'][_0x4e0e44(0x475)]??0x64),_0xd82c22=Number(_0x14e6a9);return _0xd82c22>=_0x224694&&_0xd82c22<=_0x1d2e66?{'valid':!0x0}:{'valid':!0x1,'reason':_0x21af9a};}function _0x31c152(_0x62ea4d){const _0x98f9c3=_0x292328;if(_0x62ea4d==null||_0x62ea4d==='')return null;if(typeof _0x62ea4d==_0x98f9c3(0x2f7)&&!Array[_0x98f9c3(0x3fe)](_0x62ea4d)){let _0x40362f=_0x62ea4d,_0x3d32d3=typeof _0x40362f[_0x98f9c3(0x272)]==_0x98f9c3(0x4ce)?_0x40362f[_0x98f9c3(0x272)][_0x98f9c3(0x2b7)]():'',_0x827867=typeof _0x40362f[_0x98f9c3(0x39d)]=='string'?_0x40362f[_0x98f9c3(0x39d)][_0x98f9c3(0x2b7)]():'',_0x33b970=_0x110cba(_0x827867||_0x3d32d3);return _0x33b970?{'text':_0x3d32d3||_0x827867||_0x33b970,'url':_0x33b970}:null;}let _0x236a5a=String(_0x62ea4d)['trim'](),_0x92fe71=_0x110cba(_0x236a5a);return _0x92fe71?{'text':_0x236a5a,'url':_0x92fe71}:null;}function _0x1df2a8(_0x2262be){const _0x39a0d6=_0x292328;if(_0x2262be==null)return'';if(typeof _0x2262be==_0x39a0d6(0x2f7)&&!Array[_0x39a0d6(0x3fe)](_0x2262be)){let _0x2a5d0f=_0x2262be;return String(_0x2a5d0f[_0x39a0d6(0x272)]||_0x2a5d0f[_0x39a0d6(0x39d)]||'');}return String(_0x2262be);}function _0x110cba(_0x16dc71){const _0x129f96=_0x292328;let _0x802aec=_0x16dc71['trim']();if(!_0x802aec)return'';let _0x4b3335=/^[a-z][a-z\d+.-]*:/i[_0x129f96(0x23f)](_0x802aec)?_0x802aec:_0x802aec[_0x129f96(0x1c2)]('//')?_0x129f96(0x3a3)+_0x802aec:_0x129f96(0x29f)+_0x802aec;try{let _0x142eaf=new URL(_0x4b3335);return _0x142eaf[_0x129f96(0x48a)]===_0x129f96(0x45d)||_0x142eaf['protocol']===_0x129f96(0x3a3)?_0x142eaf[_0x129f96(0x562)]:'';}catch{return'';}}function _0x11a35a(_0x6ff04a){const _0x3c4cc9=_0x292328;let _0x169c5e=_0x6ff04a[_0x3c4cc9(0x13d)]('@');if(_0x169c5e<=0x0||_0x169c5e!==_0x6ff04a['lastIndexOf']('@'))return!0x1;let _0x117dea=_0x6ff04a[_0x3c4cc9(0x2ed)](_0x169c5e+0x1);return _0x117dea[_0x3c4cc9(0x18d)]('.')&&!_0x6ff04a[_0x3c4cc9(0x18d)]('\x20')&&!_0x117dea[_0x3c4cc9(0x1c2)]('.')&&!_0x117dea[_0x3c4cc9(0x2f4)]('.');}let _0xf0e45c={'table':_0x4ab8d5=>['tables',_0x4ab8d5],'field':(_0x33c3e3,_0x2e36ef)=>['tables',_0x33c3e3,_0x292328(0x445),_0x2e36ef],'fieldOrder':(_0x4199f1,_0x5dcf34)=>[_0x292328(0x288),_0x4199f1,_0x292328(0x379),_0x5dcf34],'record':(_0x27537b,_0x3930f1)=>[_0x292328(0x288),_0x27537b,_0x292328(0x46f),_0x3930f1],'cell':(_0x302379,_0x2c7074,_0x572e11)=>[_0x292328(0x288),_0x302379,_0x292328(0x46f),_0x2c7074,'values',_0x572e11],'cellData':(_0x1a9446,_0x55b827,_0x569df1)=>['tables',_0x1a9446,_0x292328(0x48e),String(_0x55b827),String(_0x569df1)],'attachmentSet':(_0x4a6414,_0x33d59a)=>[_0x292328(0x288),_0x4a6414,_0x292328(0x2ba),_0x292328(0x54a),_0x33d59a],'attachment':(_0xfbb649,_0x333eec)=>[_0x292328(0x288),_0xfbb649,_0x292328(0x2ba),_0x292328(0x26d),_0x333eec],'view':(_0x1c7e0c,_0x42e1ad)=>[_0x292328(0x288),_0x1c7e0c,_0x292328(0x2b9),_0x42e1ad],'viewFieldHidden':(_0x50a118,_0x30a749,_0x1cbd02)=>['tables',_0x50a118,_0x292328(0x2b9),_0x30a749,_0x292328(0x4ff),_0x1cbd02,_0x292328(0x180)]};var _0x5abfd2=class{[_0x292328(0x246)](_0x44f733,_0x24fc58){const _0x48ec30=_0x292328;let _0x41c1bd=this[_0x48ec30(0x16a)](_0x44f733,_0x44f733['name'],_0x24fc58);return _0x30ac86([this['_replaceOptional']([_0x48ec30(0x4c0)],_0x44f733[_0x48ec30(0x4c0)],_0x24fc58),..._0x41c1bd?[_0x41c1bd]:[]]);}[_0x292328(0x16a)](_0xcf2296,_0x4075eb,_0x3e88b3){const _0x12db93=_0x292328;let _0x445ee3=Object['values'](_0xcf2296[_0x12db93(0x288)])[_0x12db93(0x57e)](_0x4b872f=>Object['values'](_0x4b872f[_0x12db93(0x445)])[_0x12db93(0x57e)](_0x377d6f=>{const _0x29e085=_0x12db93;var _0x2563f4,_0x953cf;if(_0x377d6f[_0x29e085(0x11c)]!==_0x36cce1[_0x29e085(0x229)][_0x29e085(0x1e5)])return[];let _0x2097b7=String(((_0x2563f4=_0x377d6f[_0x29e085(0x441)])==null?void 0x0:_0x2563f4[_0x29e085(0x32b)])??''),_0x36ccf1=(0x0,_0x7de12b['refactorFormulaUnitQualifier'])(_0x2097b7,_0x4075eb,_0x3e88b3);return _0x36ccf1===_0x2097b7?[]:[this[_0x29e085(0x4d7)]([..._0xf0e45c['field'](_0x4b872f['id'],_0x377d6f['id']),_0x29e085(0x441),'formula'],(_0x953cf=_0x377d6f[_0x29e085(0x441)])==null?void 0x0:_0x953cf[_0x29e085(0x32b)],_0x36ccf1)];}));return _0x445ee3[_0x12db93(0x4fc)]>0x0?_0x30ac86(_0x445ee3):void 0x0;}[_0x292328(0x350)](_0x49dbe7,_0x3f56b4,_0x1217d1=_0x49dbe7[_0x292328(0x3c9)][_0x292328(0x4fc)]){const _0x23624d=_0x292328;let _0xb06d39=(0x0,_0x36cce1['allocateBaseFormulaTableName'])(_0x3f56b4[_0x23624d(0x4c0)],(0x0,_0x36cce1[_0x23624d(0x295)])(_0x49dbe7)['values'](),_0x3f56b4['formulaName']),_0x4cd923=_0x3f56b4[_0x23624d(0x3eb)]===_0xb06d39?_0x3f56b4:{..._0x3f56b4,'formulaName':_0xb06d39};return _0x30ac86([...this[_0x23624d(0x139)](_0x49dbe7),_0x36cce1[_0x23624d(0x112)][_0x23624d(0x3d3)](_0xf0e45c[_0x23624d(0x442)](_0x3f56b4['id']),_0x4cd923),_0x36cce1[_0x23624d(0x112)][_0x23624d(0x3d3)]([_0x23624d(0x3c9),_0x1217d1],_0x3f56b4['id'])]);}[_0x292328(0x3bd)](_0x273345,_0x3a6523,_0x160419){const _0xa56131=_0x292328;let _0x5bbdec=_0x273345[_0xa56131(0x288)][_0x3a6523];return _0x30ac86([...this[_0xa56131(0x139)](_0x273345),_0x36cce1['JSON1'][_0xa56131(0x4ef)]([..._0xf0e45c[_0xa56131(0x442)](_0x3a6523),_0xa56131(0x4c0)],_0x5bbdec['name'],_0x160419)]);}['deleteTable'](_0x47d10a,_0xf49474){const _0x4e424b=_0x292328;let _0x11495d=_0x47d10a['tables'][_0xf49474],_0x2d0976=_0x47d10a[_0x4e424b(0x3c9)][_0x4e424b(0x13d)](_0xf49474);return _0x30ac86([...this['_materializeFormulaTableNames'](_0x47d10a,new Set([_0xf49474])),_0x36cce1[_0x4e424b(0x112)]['removeOp'](_0xf0e45c[_0x4e424b(0x442)](_0xf49474),_0x11495d),_0x36cce1[_0x4e424b(0x112)][_0x4e424b(0x224)]([_0x4e424b(0x3c9),_0x2d0976],_0xf49474)]);}[_0x292328(0x194)](_0x1e4c2a,_0x499a0b,_0xb9fe63){const _0x2d7811=_0x292328;return this[_0x2d7811(0x508)](_0x1e4c2a,_0x499a0b,[_0xb9fe63]);}['createRecords'](_0x129da5,_0x47a858,_0x170126){const _0xa7b5ff=_0x292328;let _0x4b160b=_0x129da5[_0xa7b5ff(0x288)][_0x47a858],_0x12db42=_0x170126[_0xa7b5ff(0x544)](_0x1a0bfc=>_0x1a0bfc&&!_0x4b160b[_0xa7b5ff(0x46f)][_0x1a0bfc['id']])[_0xa7b5ff(0x421)](_0x167198=>({..._0x167198,'values':{..._0x167198[_0xa7b5ff(0x1ea)],[_0x36cce1['BASE_RECORD_ID_FIELD_ID']]:_0x167198['id']}}));if(!_0x12db42[_0xa7b5ff(0x4fc)])return _0x36cce1['JSON1'][_0xa7b5ff(0x4ef)]([..._0xf0e45c[_0xa7b5ff(0x442)](_0x47a858),_0xa7b5ff(0x46f)],_0x4b160b[_0xa7b5ff(0x46f)],_0x4b160b[_0xa7b5ff(0x46f)]);let _0xef6ede=new _0x36cce1[(_0xa7b5ff(0x112))][(_0xa7b5ff(0x116))](),_0x383f50=[..._0x12db42][_0xa7b5ff(0x2e9)]((_0x5c95f2,_0x3628e0)=>_0x5c95f2['id']<_0x3628e0['id']?-0x1:+(_0x5c95f2['id']>_0x3628e0['id'])),_0x3029b9=[..._0xf0e45c[_0xa7b5ff(0x442)](_0x47a858),_0xa7b5ff(0x46f)];_0xef6ede['descendPath'](_0x3029b9);for(let _0x4741c3 of _0x383f50)_0xef6ede[_0xa7b5ff(0x570)](_0x4741c3['id']),_0xef6ede[_0xa7b5ff(0x1a8)]('i',_0x4741c3),_0xef6ede['ascend']();for(let _0xa22e3c=0x0;_0xa22e3c<_0x3029b9[_0xa7b5ff(0x4fc)];_0xa22e3c+=0x1)_0xef6ede[_0xa7b5ff(0x359)]();return _0x30ac86([_0xef6ede['get'](),this[_0xa7b5ff(0x331)](_0x129da5,_0x47a858,_0x12db42)]);}['deleteRecord'](_0xbf382c,_0x47ed9f,_0x98b8f3){const _0x2a46d7=_0x292328;return this[_0x2a46d7(0x3fd)](_0xbf382c,_0x47ed9f,[_0x98b8f3]);}[_0x292328(0x3fd)](_0x63d405,_0x107349,_0x51616e){const _0x281bf5=_0x292328;let _0x16da6e=_0x63d405[_0x281bf5(0x288)][_0x107349],_0x1d7303=Array[_0x281bf5(0x11f)](new Set(_0x51616e))[_0x281bf5(0x544)](_0xd62b54=>_0x16da6e[_0x281bf5(0x46f)][_0xd62b54]);if(!_0x1d7303['length'])return _0x36cce1[_0x281bf5(0x112)][_0x281bf5(0x4ef)]([..._0xf0e45c[_0x281bf5(0x442)](_0x107349),_0x281bf5(0x46f)],_0x16da6e[_0x281bf5(0x46f)],_0x16da6e[_0x281bf5(0x46f)]);let _0x5e75cb=new Set(_0x1d7303),_0x3961bf=_0x5b2e57(_0x16da6e,_0x1d7303)['map'](_0x51400f=>this[_0x281bf5(0x2c7)](_0x63d405,_0x107349,_0x51400f[_0x281bf5(0x33c)],_0x51400f[_0x281bf5(0x450)],''));return _0x30ac86([this[_0x281bf5(0x2f5)](_0x63d405,_0x107349,_0x1d7303,_0x5e75cb),..._0x3961bf]);}[_0x292328(0x1d8)](_0x54cc55,_0x28d8b3,_0x2578c7,_0xb5d9de){const _0xb7aa42=_0x292328;let _0x47d9b5=_0x54cc55[_0xb7aa42(0x288)][_0x2578c7],_0x367fc8=Array[_0xb7aa42(0x11f)](new Set(_0xb5d9de))[_0xb7aa42(0x544)](_0x44fdb0=>_0x47d9b5[_0xb7aa42(0x46f)][_0x44fdb0]),_0x32b3d7=new Set(_0x367fc8);return _0x30ac86([new _0x4263aa()[_0xb7aa42(0x39a)](_0x54cc55,this[_0xb7aa42(0x2f5)](_0x54cc55,_0x2578c7,_0x367fc8,_0x32b3d7)),..._0x5b2e57(_0x47d9b5,_0x367fc8)['map'](_0x1922d9=>this['updateCell'](_0x28d8b3,_0x2578c7,_0x1922d9[_0xb7aa42(0x33c)],_0x1922d9['fieldId'],_0x1922d9['oldParentRecordId']??''))]);}[_0x292328(0x2f5)](_0x56e583,_0x3e1231,_0x57005a,_0x3101af){const _0x1c72f3=_0x292328;let _0x5355f0=_0x56e583['tables'][_0x3e1231],_0x44a570=_0x57005a[_0x1c72f3(0x421)](_0x5815c0=>{var _0x59305b;return{'recordId':_0x5815c0,'index':((_0x59305b=_0x5355f0['recordOrder'])==null?void 0x0:_0x59305b['indexOf'](_0x5815c0))??-0x1};})[_0x1c72f3(0x544)](_0x481f34=>_0x481f34[_0x1c72f3(0x129)]>=0x0)[_0x1c72f3(0x2e9)]((_0x31da33,_0x4c52b7)=>_0x4c52b7[_0x1c72f3(0x129)]-_0x31da33['index']);return _0x30ac86([..._0x57005a['map'](_0x319709=>_0x36cce1['JSON1']['removeOp'](_0xf0e45c[_0x1c72f3(0x13e)](_0x3e1231,_0x319709),_0x5355f0[_0x1c72f3(0x46f)][_0x319709])),..._0x44a570[_0x1c72f3(0x421)](({recordId:_0x57255d,index:_0x1b2482})=>_0x36cce1['JSON1']['removeOp'](['tables',_0x3e1231,_0x1c72f3(0x318),_0x1b2482],_0x57255d)),...this[_0x1c72f3(0x125)](_0x5355f0,_0x3e1231,_0x3961c1=>{const _0x4508f1=_0x1c72f3;let _0x398884=_0x3961c1[_0x4508f1(0x2ed)](_0x3961c1[_0x4508f1(0x241)]('\x1f')+0x1);return _0x3101af['has'](_0x398884);})]);}[_0x292328(0x2e5)](_0x1f200b,_0x49e59b,_0x489e06,_0x59c43d){const _0x23e49b=_0x292328;return this[_0x23e49b(0x194)](_0x1f200b,_0x49e59b,{..._0x59c43d,'values':{..._0x1f200b[_0x23e49b(0x288)][_0x49e59b][_0x23e49b(0x46f)][_0x489e06][_0x23e49b(0x1ea)],..._0x59c43d[_0x23e49b(0x1ea)],[_0x36cce1[_0x23e49b(0x4ca)]]:_0x59c43d['id']}});}['updateRecordOrder'](_0x59b977,_0x162ebb,_0x3d4e29,_0x14b487){const _0x4a494d=_0x292328;let _0x1121c2=_0x59b977[_0x4a494d(0x288)][_0x162ebb],_0x5a322f=[..._0xf0e45c[_0x4a494d(0x13e)](_0x162ebb,_0x3d4e29),_0x4a494d(0x449)],_0x3ba2b7=Object['values'](_0x1121c2[_0x4a494d(0x46f)])[_0x4a494d(0x421)](_0x1562d3=>_0x1562d3['id']===_0x3d4e29?{..._0x1562d3,'orderKey':_0x14b487}:_0x1562d3)[_0x4a494d(0x2e9)]((_0x411aa4,_0x5a8072)=>String(_0x411aa4[_0x4a494d(0x449)]??_0x411aa4['id'])[_0x4a494d(0x211)](String(_0x5a8072[_0x4a494d(0x449)]??_0x5a8072['id'])))[_0x4a494d(0x421)](_0xd11500=>_0xd11500['id']),_0xec805e=[..._0xf0e45c[_0x4a494d(0x442)](_0x162ebb),_0x4a494d(0x318)];return _0x30ac86([this[_0x4a494d(0x4d7)](_0x5a322f,_0x1121c2[_0x4a494d(0x46f)][_0x3d4e29][_0x4a494d(0x449)],_0x14b487),_0x1121c2[_0x4a494d(0x318)]?_0x36cce1[_0x4a494d(0x112)][_0x4a494d(0x4ef)](_0xec805e,_0x1121c2['recordOrder'],_0x3ba2b7):_0x36cce1['JSON1'][_0x4a494d(0x3d3)](_0xec805e,_0x3ba2b7)]);}[_0x292328(0x2c7)](_0x43632b,_0x5d63ab,_0x414d41,_0x16d5c2,_0x4c6a23){const _0xc3d57e=_0x292328;var _0x288fe8,_0x1d755d;let _0x1a521f=_0x43632b[_0xc3d57e(0x288)][_0x5d63ab],_0x7c4df2=_0x292f27(_0x1a521f,_0x414d41,_0x16d5c2)?_0x1a521f:_0x526a9d(_0x1a521f),_0x3fc06e=(_0x288fe8=_0x7c4df2['rowIndex'])==null?void 0x0:_0x288fe8[_0x414d41],_0x1c6741=(_0x1d755d=_0x7c4df2[_0xc3d57e(0x30b)])==null?void 0x0:_0x1d755d[_0x16d5c2];if(_0x3fc06e==null||_0x1c6741==null){var _0x508484;return this[_0xc3d57e(0x4d7)](_0xf0e45c[_0xc3d57e(0x522)](_0x5d63ab,_0x414d41,_0x16d5c2),(_0x508484=_0x43632b[_0xc3d57e(0x288)][_0x5d63ab])==null||(_0x508484=_0x508484[_0xc3d57e(0x46f)][_0x414d41])==null?void 0x0:_0x508484[_0xc3d57e(0x1ea)][_0x16d5c2],_0x4c6a23);}return this['setRangeValues'](_0x43632b,_0x5d63ab,[{'row':_0x3fc06e,'col':_0x1c6741,'value':_0x4c6a23}]);}['setRecordValues'](_0x248730,_0x538d9d,_0x4cbf33){const _0x57beef=_0x292328;let _0x2ecd88=_0x248730[_0x57beef(0x288)][_0x538d9d],_0x350a7a=_0x4cbf33[_0x57beef(0x20f)](_0x42b537=>Object[_0x57beef(0x153)](_0x42b537[_0x57beef(0x1ea)])['every'](_0x406f2c=>_0x292f27(_0x2ecd88,_0x42b537[_0x57beef(0x33c)],_0x406f2c)))?_0x2ecd88:_0x526a9d(_0x2ecd88),_0x3de4b8=_0x4cbf33[_0x57beef(0x57e)](_0xf52336=>Object[_0x57beef(0x2e3)](_0xf52336[_0x57beef(0x1ea)])['flatMap'](([_0x3ba514,_0x5842ce])=>{const _0x5e99dd=_0x57beef;var _0x2a7409,_0x1b129f;let _0x30b248=(_0x2a7409=_0x350a7a[_0x5e99dd(0x17e)])==null?void 0x0:_0x2a7409[_0xf52336[_0x5e99dd(0x33c)]],_0x402fc1=(_0x1b129f=_0x350a7a[_0x5e99dd(0x30b)])==null?void 0x0:_0x1b129f[_0x3ba514];return _0x30b248==null||_0x402fc1==null?[]:[{'row':_0x30b248,'col':_0x402fc1,'value':_0x5842ce}];})),_0x5126ea=_0x4cbf33['flatMap'](_0x49cfbd=>Object['entries'](_0x49cfbd[_0x57beef(0x4f0)]??{})['map'](([_0x3d7b7a,_0x2be313])=>{const _0x3348f7=_0x57beef;var _0x462d26;let _0x46c41c=[..._0xf0e45c[_0x3348f7(0x13e)](_0x538d9d,_0x49cfbd[_0x3348f7(0x33c)]),_0x3d7b7a],_0x5b6202=(_0x462d26=_0x248730[_0x3348f7(0x288)][_0x538d9d])==null||(_0x462d26=_0x462d26[_0x3348f7(0x46f)][_0x49cfbd['recordId']])==null?void 0x0:_0x462d26[_0x3d7b7a];return this['_replaceOptional'](_0x46c41c,_0x5b6202,_0x2be313);}));return _0x30ac86([this['setRangeValues'](_0x248730,_0x538d9d,_0x3de4b8),..._0x5126ea]);}[_0x292328(0x197)](_0x5b701b,_0x1c4a3e,_0xf57d2d){const _0x52fa8a=_0x292328;let _0x2722dc=_0x5b701b[_0x52fa8a(0x288)][_0x1c4a3e],_0x3e483b=_0xf57d2d[_0x52fa8a(0x20f)](_0x41980d=>_0x37f0c0(_0x2722dc,_0x41980d[_0x52fa8a(0x4eb)],_0x41980d['col']))?_0x2722dc:_0x526a9d(_0x2722dc),_0x5e53f4=new Map(),_0x1ae206=_0xf57d2d[_0x52fa8a(0x57e)](_0x96ba3d=>{const _0x1cb23a=_0x52fa8a;var _0x3e59f8,_0x4c8403,_0x57b8bc,_0x2736c0;let _0x1d25e4=(_0x3e59f8=_0x3e483b[_0x1cb23a(0x252)])==null?void 0x0:_0x3e59f8[_0x96ba3d[_0x1cb23a(0x418)]],_0x4ab7ea=(_0x4c8403=_0x3e483b[_0x1cb23a(0x387)])==null?void 0x0:_0x4c8403[_0x96ba3d[_0x1cb23a(0x4eb)]],_0x510b20=_0x1d25e4?_0x3e483b['fields'][_0x1d25e4]:void 0x0;if(_0x1d25e4===_0x36cce1[_0x1cb23a(0x4ca)]||(_0x510b20==null?void 0x0:_0x510b20[_0x1cb23a(0x11c)])===_0x36cce1[_0x1cb23a(0x229)][_0x1cb23a(0x15f)])throw Error(_0x1cb23a(0x130));let _0xdf2139=_0x3b6c3e(_0x96ba3d[_0x1cb23a(0x32d)],_0x510b20),_0x1a3a34=(_0x57b8bc=_0x3e483b[_0x1cb23a(0x48e)])==null||(_0x57b8bc=_0x57b8bc[_0x96ba3d[_0x1cb23a(0x4eb)]])==null?void 0x0:_0x57b8bc[_0x96ba3d['col']],_0x40b9ad=this[_0x1cb23a(0x4d7)](_0xf0e45c[_0x1cb23a(0x48e)](_0x1c4a3e,_0x96ba3d['row'],_0x96ba3d[_0x1cb23a(0x418)]),_0x1a3a34,_0xdf2139);if(!_0x1d25e4||!_0x4ab7ea)return[_0x40b9ad];let _0x54ad56=(_0x2736c0=_0x3e483b[_0x1cb23a(0x46f)][_0x4ab7ea])==null?void 0x0:_0x2736c0[_0x1cb23a(0x1ea)][_0x1d25e4],_0x3dabd8=(_0x510b20==null?void 0x0:_0x510b20['type'])===_0x36cce1[_0x1cb23a(0x229)][_0x1cb23a(0x4d4)]?_0x3480e7(_0x96ba3d[_0x1cb23a(0x32d)]):_0x4af2e5(_0x96ba3d[_0x1cb23a(0x32d)],_0xdf2139,_0x510b20,_0x3e483b,_0x4ab7ea),_0x5d5ac5=[_0x40b9ad,this[_0x1cb23a(0x4d7)](_0xf0e45c['cell'](_0x1c4a3e,_0x4ab7ea,_0x1d25e4),_0x54ad56,_0x3dabd8)];return(_0x510b20==null?void 0x0:_0x510b20[_0x1cb23a(0x11c)])===_0x36cce1[_0x1cb23a(0x229)][_0x1cb23a(0x4d4)]&&_0x5e53f4[_0x1cb23a(0x251)](_0xd2db54(_0x1d25e4,_0x4ab7ea),{'recordId':_0x4ab7ea,'fieldId':_0x1d25e4,'attachments':_0x3dabd8}),_0x5d5ac5;});return _0x1ae206[_0x52fa8a(0x4fc)]?_0x30ac86([..._0x1ae206,...this[_0x52fa8a(0x509)](_0x3e483b,_0x1c4a3e,Array[_0x52fa8a(0x11f)](_0x5e53f4[_0x52fa8a(0x1ea)]()))]):_0x36cce1[_0x52fa8a(0x112)][_0x52fa8a(0x4ef)]([_0x52fa8a(0x288),_0x1c4a3e,'cellData'],_0x3e483b[_0x52fa8a(0x48e)],_0x3e483b['cellData']);}[_0x292328(0x51d)](_0x448c9b,_0x4cfb12,_0x48ea46){const _0x44dadd=_0x292328;let _0x2280d1=_0x448c9b[_0x44dadd(0x288)][_0x4cfb12];if(_0x2280d1[_0x44dadd(0x445)][_0x48ea46[_0x44dadd(0x250)]['id']]||_0x2280d1[_0x44dadd(0x379)]['includes'](_0x48ea46[_0x44dadd(0x250)]['id']))return _0x36cce1[_0x44dadd(0x112)]['replaceOp']([_0x44dadd(0x288),_0x4cfb12,_0x44dadd(0x379)],_0x2280d1['fieldOrder'],_0x2280d1[_0x44dadd(0x379)]);let _0x58837f=Math[_0x44dadd(0x2ac)](0x1,_0x48ea46[_0x44dadd(0x129)]??_0x2280d1[_0x44dadd(0x379)][_0x44dadd(0x4fc)]),_0x5a1f33=Object[_0x44dadd(0x1ea)](_0x2280d1[_0x44dadd(0x2b9)]??{})['flatMap'](_0x7a9071=>{const _0x3f2320=_0x44dadd;var _0x419a16;if(!_0x7a9071[_0x3f2320(0x379)]||_0x7a9071[_0x3f2320(0x379)][_0x3f2320(0x18d)](_0x48ea46['field']['id']))return[];let _0xe1b877=_0x1327c8(((_0x419a16=_0x48ea46[_0x3f2320(0x255)])==null?void 0x0:_0x419a16[_0x7a9071['id']])??_0x58837f,_0x7a9071['fieldOrder'][_0x3f2320(0x4fc)]);return[_0x36cce1[_0x3f2320(0x112)][_0x3f2320(0x3d3)]([..._0xf0e45c[_0x3f2320(0x176)](_0x4cfb12,_0x7a9071['id']),_0x3f2320(0x379),_0xe1b877],_0x48ea46[_0x3f2320(0x250)]['id'])];});return _0x30ac86([..._0x48ea46[_0x44dadd(0x250)]['type']===_0x36cce1[_0x44dadd(0x229)][_0x44dadd(0x1e5)]?this[_0x44dadd(0x139)](_0x448c9b):[],_0x36cce1[_0x44dadd(0x112)]['insertOp'](_0xf0e45c[_0x44dadd(0x250)](_0x4cfb12,_0x48ea46[_0x44dadd(0x250)]['id']),_0x48ea46[_0x44dadd(0x250)]),_0x36cce1[_0x44dadd(0x112)][_0x44dadd(0x3d3)](_0xf0e45c[_0x44dadd(0x379)](_0x4cfb12,_0x58837f),_0x48ea46['field']['id']),..._0x5a1f33]);}[_0x292328(0x286)](_0x5dbfe3,_0xe8ff50,_0x2388c4,_0x1fb8fc){const _0x58f7aa=_0x292328;let _0x1b75b7=_0x5dbfe3[_0x58f7aa(0x288)][_0xe8ff50];if(!_0x1b75b7[_0x58f7aa(0x445)][_0x2388c4]||_0x1b75b7[_0x58f7aa(0x445)][_0x1fb8fc['field']['id']]||_0x1b75b7[_0x58f7aa(0x379)][_0x58f7aa(0x18d)](_0x1fb8fc['field']['id']))return _0x36cce1[_0x58f7aa(0x112)]['replaceOp']([_0x58f7aa(0x288),_0xe8ff50,'fieldOrder'],_0x1b75b7['fieldOrder'],_0x1b75b7[_0x58f7aa(0x379)]);let _0x36581a=_0x1fb8fc[_0x58f7aa(0x129)]??_0x1b75b7[_0x58f7aa(0x379)][_0x58f7aa(0x13d)](_0x2388c4)+0x1,_0xf8e345=_0x1b75b7[_0x58f7aa(0x379)][_0x58f7aa(0x544)](_0x5905b1=>_0x5905b1!==_0x1fb8fc[_0x58f7aa(0x250)]['id']),_0x3981a6=_0x3857c(_0xf8e345,_0x1fb8fc[_0x58f7aa(0x250)]['id'],_0x36581a),_0x143c9b=Object[_0x58f7aa(0x1ea)](_0x1b75b7[_0x58f7aa(0x2b9)]??{})['flatMap'](_0x34c455=>{const _0x2a48e1=_0x58f7aa;var _0x4da2f4,_0x5a4a4f,_0x46de8d,_0x4e3f62;let _0x21ffd2=(_0x4da2f4=_0x34c455[_0x2a48e1(0x379)])!=null&&_0x4da2f4[_0x2a48e1(0x4fc)]?_0x34c455[_0x2a48e1(0x379)]:_0xf8e345;if(_0x21ffd2[_0x2a48e1(0x18d)](_0x1fb8fc[_0x2a48e1(0x250)]['id']))return[];let _0x1544b7=_0x3857c(_0x21ffd2,_0x1fb8fc['field']['id'],((_0x5a4a4f=_0x1fb8fc[_0x2a48e1(0x255)])==null?void 0x0:_0x5a4a4f[_0x34c455['id']])??_0x36581a),_0x1e690a=(_0x46de8d=_0x34c455[_0x2a48e1(0x4ff)])==null?void 0x0:_0x46de8d[_0x2388c4];return[this[_0x2a48e1(0x4d7)]([..._0xf0e45c[_0x2a48e1(0x176)](_0xe8ff50,_0x34c455['id']),'fieldOrder'],_0x34c455['fieldOrder'],_0x1544b7),..._0x1e690a?[this[_0x2a48e1(0x4d7)]([..._0xf0e45c[_0x2a48e1(0x176)](_0xe8ff50,_0x34c455['id']),_0x2a48e1(0x4ff),_0x1fb8fc[_0x2a48e1(0x250)]['id']],(_0x4e3f62=_0x34c455[_0x2a48e1(0x4ff)])==null?void 0x0:_0x4e3f62[_0x1fb8fc[_0x2a48e1(0x250)]['id']],_0x1e690a)]:[]];}),_0x176e63=Object['values'](_0x1b75b7[_0x58f7aa(0x46f)])[_0x58f7aa(0x544)](_0x2ac20e=>Object[_0x58f7aa(0x19f)][_0x58f7aa(0x2a4)][_0x58f7aa(0x4ee)](_0x2ac20e[_0x58f7aa(0x1ea)],_0x2388c4))[_0x58f7aa(0x421)](_0x237b46=>this[_0x58f7aa(0x4d7)](_0xf0e45c[_0x58f7aa(0x522)](_0xe8ff50,_0x237b46['id'],_0x1fb8fc['field']['id']),_0x237b46[_0x58f7aa(0x1ea)][_0x1fb8fc[_0x58f7aa(0x250)]['id']],_0x237b46[_0x58f7aa(0x1ea)][_0x2388c4]));return _0x30ac86([..._0x1fb8fc[_0x58f7aa(0x250)][_0x58f7aa(0x11c)]===_0x36cce1[_0x58f7aa(0x229)][_0x58f7aa(0x1e5)]?this[_0x58f7aa(0x139)](_0x5dbfe3):[],_0x36cce1[_0x58f7aa(0x112)][_0x58f7aa(0x3d3)](_0xf0e45c[_0x58f7aa(0x250)](_0xe8ff50,_0x1fb8fc['field']['id']),_0x1fb8fc[_0x58f7aa(0x250)]),_0x36cce1['JSON1']['replaceOp'](['tables',_0xe8ff50,'fieldOrder'],_0x1b75b7[_0x58f7aa(0x379)],_0x3981a6),..._0x143c9b,..._0x176e63]);}[_0x292328(0x353)](_0x5e7396,_0x3e83b8,_0x550cd6,_0x16c7f7){const _0x28fd25=_0x292328;let _0x3076f8=_0x5e7396['tables'][_0x3e83b8][_0x28fd25(0x445)][_0x550cd6],_0x52c545={..._0x3076f8,..._0x16c7f7};Object[_0x28fd25(0x153)](_0x16c7f7)[_0x28fd25(0x56d)](_0x2309c2=>{_0x16c7f7[_0x2309c2]===void 0x0&&delete _0x52c545[_0x2309c2];});let _0x475fac=_0x3c82e3(_0x5e7396[_0x28fd25(0x288)][_0x3e83b8],_0x550cd6,_0x3076f8,_0x52c545);_0x52c545=_0x475fac[_0x28fd25(0x250)];let _0xb86dd2=_0x36cce1[_0x28fd25(0x112)][_0x28fd25(0x4ef)](_0xf0e45c[_0x28fd25(0x250)](_0x3e83b8,_0x550cd6),_0x3076f8,_0x52c545);return _0x52c545[_0x28fd25(0x11c)]===_0x36cce1['BaseFieldType'][_0x28fd25(0x1e5)]?_0x30ac86([...this[_0x28fd25(0x139)](_0x5e7396),_0xb86dd2,...this['_setFormulaFieldCells'](_0x5e7396,_0x3e83b8,_0x550cd6,_0x52c545)]):_0x30ac86([_0xb86dd2,..._0x475fac['patches']['length']?[this[_0x28fd25(0x197)](_0x5e7396,_0x3e83b8,_0x475fac['patches'])]:[]]);}['changeFieldType'](_0x531147,_0x32b6cd,_0x4d6818,_0xf6dda7){const _0x35a725=_0x292328;return this[_0x35a725(0x353)](_0x531147,_0x32b6cd,_0x4d6818,_0xf6dda7);}[_0x292328(0x372)](_0x397fad,_0x4f9aa6,_0x4480b9){const _0x530604=_0x292328;let _0x480e06=_0x397fad[_0x530604(0x288)][_0x4f9aa6];if(!(_0x480e06!=null&&_0x480e06[_0x530604(0x445)][_0x4480b9])||_0x480e06[_0x530604(0x190)]===_0x4480b9||_0x4480b9===_0x36cce1[_0x530604(0x4ca)])return _0x36cce1[_0x530604(0x112)][_0x530604(0x4ef)](['tables',_0x4f9aa6,'fieldOrder'],_0x480e06==null?void 0x0:_0x480e06[_0x530604(0x379)],_0x480e06==null?void 0x0:_0x480e06[_0x530604(0x379)]);let _0x460072=_0x480e06[_0x530604(0x379)][_0x530604(0x13d)](_0x4480b9),_0x8cca9f=Object[_0x530604(0x1ea)](_0x480e06[_0x530604(0x2b9)])['flatMap'](_0x2c21a1=>{const _0x4959cb=_0x530604;var _0x5db19f,_0x4d9116,_0x564166,_0x1f6dc8,_0x5b285d,_0x31a78b,_0x1d67c5;let _0xef61d2=[],_0x12d210=((_0x5db19f=_0x2c21a1[_0x4959cb(0x379)])==null?void 0x0:_0x5db19f[_0x4959cb(0x13d)](_0x4480b9))??-0x1;_0x12d210>=0x0&&_0xef61d2['push'](_0x36cce1['JSON1'][_0x4959cb(0x224)]([..._0xf0e45c[_0x4959cb(0x176)](_0x4f9aa6,_0x2c21a1['id']),_0x4959cb(0x379),_0x12d210],_0x4480b9));let _0x536ad8=(_0x4d9116=_0x2c21a1['fieldSettings'])==null?void 0x0:_0x4d9116[_0x4480b9];_0x536ad8!==void 0x0&&_0xef61d2[_0x4959cb(0x429)](_0x36cce1[_0x4959cb(0x112)]['removeOp']([..._0xf0e45c['view'](_0x4f9aa6,_0x2c21a1['id']),_0x4959cb(0x4ff),_0x4480b9],_0x536ad8));let _0x354885=_0x2c21a1[_0x4959cb(0x544)]?{..._0x2c21a1[_0x4959cb(0x544)],'conditions':_0x2c21a1[_0x4959cb(0x544)][_0x4959cb(0x25b)][_0x4959cb(0x544)](_0x31e270=>_0x31e270[_0x4959cb(0x450)]!==_0x4480b9)}:_0x2c21a1[_0x4959cb(0x544)];_0x354885&&_0x354885[_0x4959cb(0x25b)][_0x4959cb(0x4fc)]!==((_0x564166=_0x2c21a1[_0x4959cb(0x544)])==null?void 0x0:_0x564166[_0x4959cb(0x25b)][_0x4959cb(0x4fc)])&&_0xef61d2[_0x4959cb(0x429)](this[_0x4959cb(0x4d7)]([..._0xf0e45c[_0x4959cb(0x176)](_0x4f9aa6,_0x2c21a1['id']),_0x4959cb(0x544)],_0x2c21a1[_0x4959cb(0x544)],_0x354885));let _0x5d23df=(_0x1f6dc8=_0x2c21a1[_0x4959cb(0x2e9)])==null?void 0x0:_0x1f6dc8['filter'](_0x429d6c=>_0x429d6c[_0x4959cb(0x450)]!==_0x4480b9);_0x5d23df&&_0x5d23df['length']!==((_0x5b285d=_0x2c21a1['sort'])==null?void 0x0:_0x5b285d[_0x4959cb(0x4fc)])&&_0xef61d2['push'](this[_0x4959cb(0x4d7)]([..._0xf0e45c[_0x4959cb(0x176)](_0x4f9aa6,_0x2c21a1['id']),_0x4959cb(0x2e9)],_0x2c21a1[_0x4959cb(0x2e9)],_0x5d23df));let _0x1e8c24=(_0x31a78b=_0x2c21a1[_0x4959cb(0x581)])==null?void 0x0:_0x31a78b[_0x4959cb(0x544)](_0x448829=>_0x448829[_0x4959cb(0x450)]!==_0x4480b9);_0x1e8c24&&_0x1e8c24[_0x4959cb(0x4fc)]!==((_0x1d67c5=_0x2c21a1[_0x4959cb(0x581)])==null?void 0x0:_0x1d67c5['length'])&&_0xef61d2['push'](this[_0x4959cb(0x4d7)]([..._0xf0e45c[_0x4959cb(0x176)](_0x4f9aa6,_0x2c21a1['id']),'group'],_0x2c21a1[_0x4959cb(0x581)],_0x1e8c24));let _0x49e756=_0x7d21d5(_0x2c21a1[_0x4959cb(0x441)],_0x4480b9);return JSON[_0x4959cb(0x131)](_0x49e756)!==JSON[_0x4959cb(0x131)](_0x2c21a1['config'])&&_0xef61d2[_0x4959cb(0x429)](_0x36cce1[_0x4959cb(0x112)]['replaceOp']([..._0xf0e45c['view'](_0x4f9aa6,_0x2c21a1['id']),_0x4959cb(0x441)],_0x2c21a1[_0x4959cb(0x441)],_0x49e756)),_0xef61d2;}),_0x3d9e07=Object[_0x530604(0x1ea)](_0x480e06['records'])[_0x530604(0x57e)](_0x581110=>Object[_0x530604(0x19f)][_0x530604(0x2a4)][_0x530604(0x4ee)](_0x581110[_0x530604(0x1ea)],_0x4480b9)?[_0x36cce1[_0x530604(0x112)][_0x530604(0x224)](_0xf0e45c[_0x530604(0x522)](_0x4f9aa6,_0x581110['id'],_0x4480b9),_0x581110[_0x530604(0x1ea)][_0x4480b9])]:[]);return _0x30ac86([_0x36cce1['JSON1'][_0x530604(0x224)](_0xf0e45c['field'](_0x4f9aa6,_0x4480b9),_0x480e06['fields'][_0x4480b9]),_0x36cce1[_0x530604(0x112)][_0x530604(0x224)](_0xf0e45c['fieldOrder'](_0x4f9aa6,_0x460072),_0x4480b9),..._0x8cca9f,..._0x3d9e07,...this[_0x530604(0x125)](_0x480e06,_0x4f9aa6,_0x499ade=>_0x499ade['startsWith'](_0x4480b9+'\x1f'))]);}[_0x292328(0x575)](_0x635b39,_0x1ef837,_0x56ab22,_0x2fdc6f){const _0x595c15=_0x292328;let _0x191733=_0x635b39[_0x595c15(0x288)][_0x1ef837][_0x595c15(0x379)];if(_0x56ab22===_0x36cce1[_0x595c15(0x4ca)]||_0x2fdc6f[_0x595c15(0x38c)]===_0x36cce1[_0x595c15(0x4ca)])throw Error(_0x595c15(0x40b));let _0x180c8a=_0x51c90f(_0x191733,_0x56ab22,_0x2fdc6f);return _0x36cce1[_0x595c15(0x112)][_0x595c15(0x4ef)]([_0x595c15(0x288),_0x1ef837,_0x595c15(0x379)],_0x191733,_0x180c8a);}[_0x292328(0x412)](_0x1ce949,_0x6c5146,_0x104c0b,_0x13ff9a=_0x1ce949[_0x292328(0x288)][_0x6c5146]['viewOrder'][_0x292328(0x4fc)]){const _0x501f9a=_0x292328;return _0x30ac86([_0x36cce1[_0x501f9a(0x112)][_0x501f9a(0x3d3)](_0xf0e45c['view'](_0x6c5146,_0x104c0b['id']),_0x104c0b),_0x36cce1[_0x501f9a(0x112)][_0x501f9a(0x3d3)]([_0x501f9a(0x288),_0x6c5146,'viewOrder',_0x13ff9a],_0x104c0b['id'])]);}[_0x292328(0x354)](_0x3d63ed,_0x577f1e,_0x29e357,_0xb7684){const _0x1a9c94=_0x292328;return _0x36cce1[_0x1a9c94(0x112)][_0x1a9c94(0x4ef)]([..._0xf0e45c['view'](_0x577f1e,_0x29e357),_0x1a9c94(0x4c0)],_0x3d63ed[_0x1a9c94(0x288)][_0x577f1e]['views'][_0x29e357]['name'],_0xb7684);}['deleteView'](_0x202f86,_0x534066,_0x448456){const _0x4cdcde=_0x292328;let _0x408832=_0x202f86[_0x4cdcde(0x288)][_0x534066],_0x1ea8ee=_0x408832[_0x4cdcde(0x2b9)][_0x448456],_0x33e76c=_0x408832[_0x4cdcde(0x358)][_0x4cdcde(0x13d)](_0x448456);return _0x30ac86([_0x36cce1[_0x4cdcde(0x112)][_0x4cdcde(0x224)](_0xf0e45c[_0x4cdcde(0x176)](_0x534066,_0x448456),_0x1ea8ee),_0x36cce1[_0x4cdcde(0x112)][_0x4cdcde(0x224)]([_0x4cdcde(0x288),_0x534066,_0x4cdcde(0x358),_0x33e76c],_0x448456)]);}[_0x292328(0x1cc)](_0x1aafc5,_0x246a90,_0x3ddbdf,_0x120a10){const _0xd55fc7=_0x292328;let _0x47b477=_0x1aafc5['tables'][_0x246a90][_0xd55fc7(0x358)],_0x4e9015=_0x51c90f(_0x47b477,_0x3ddbdf,{'beforeFieldId':_0x120a10['beforeViewId'],'afterFieldId':_0x120a10['afterViewId']});return _0x36cce1[_0xd55fc7(0x112)]['replaceOp']([_0xd55fc7(0x288),_0x246a90,'viewOrder'],_0x47b477,_0x4e9015);}[_0x292328(0x3e9)](_0x3ff45b,_0x3b7b48,_0x4f23e0,_0x5e7fde){const _0x58d1d2=_0x292328;let _0x283a30=_0x3ff45b['tables'][_0x3b7b48][_0x58d1d2(0x2b9)][_0x4f23e0][_0x58d1d2(0x441)]??{},_0x3f99b2={..._0x283a30,..._0x5e7fde};return Object['keys'](_0x5e7fde)['forEach'](_0x435189=>{_0x5e7fde[_0x435189]===void 0x0&&delete _0x3f99b2[_0x435189];}),_0x36cce1['JSON1']['replaceOp']([..._0xf0e45c[_0x58d1d2(0x176)](_0x3b7b48,_0x4f23e0),_0x58d1d2(0x441)],_0x283a30,_0x3f99b2);}[_0x292328(0x1da)](_0x64371,_0x467b05,_0x4b9118,_0x4443d7){const _0x35aa98=_0x292328;return this[_0x35aa98(0x4d7)]([..._0xf0e45c['view'](_0x467b05,_0x4b9118),_0x35aa98(0x544)],_0x64371[_0x35aa98(0x288)][_0x467b05]['views'][_0x4b9118][_0x35aa98(0x544)],_0x4443d7);}[_0x292328(0x46c)](_0x185124,_0x3d0399,_0x45e605,_0x1f9fff){const _0x2b4f48=_0x292328;return this['_replaceOptional']([..._0xf0e45c['view'](_0x3d0399,_0x45e605),'sort'],_0x185124['tables'][_0x3d0399][_0x2b4f48(0x2b9)][_0x45e605][_0x2b4f48(0x2e9)],_0x1f9fff);}[_0x292328(0x19b)](_0x3562a4,_0x4aebf3,_0x29a5b4,_0x1a52c5){const _0x2f04e2=_0x292328;return this['_replaceOptional']([..._0xf0e45c['view'](_0x4aebf3,_0x29a5b4),_0x2f04e2(0x581)],_0x3562a4['tables'][_0x4aebf3][_0x2f04e2(0x2b9)][_0x29a5b4][_0x2f04e2(0x581)],_0x1a52c5);}['setViewFieldVisible'](_0x461640,_0x1265e9,_0x3453fa,_0x81913c,_0x449309){const _0x6169c4=_0x292328;return this[_0x6169c4(0x2ef)](_0x461640,_0x1265e9,_0x3453fa,_0x81913c,{'hidden':!_0x449309});}[_0x292328(0x3f0)](_0x2e4d80,_0x3b23e6,_0x4011a1,_0xa195f4,_0x4a039c){const _0x25518c=_0x292328;return this[_0x25518c(0x2ef)](_0x2e4d80,_0x3b23e6,_0x4011a1,_0xa195f4,{'width':_0x4a039c});}[_0x292328(0x239)](_0x513e71,_0xb6e3f7,_0x17a639,_0x3577e3,_0xbabbd){const _0x2c726b=_0x292328;let _0x1e25b2=_0x513e71[_0x2c726b(0x288)][_0xb6e3f7][_0x2c726b(0x2b9)][_0x17a639],_0x29355c=_0x51c90f(_0x1e25b2[_0x2c726b(0x379)]??_0x513e71[_0x2c726b(0x288)][_0xb6e3f7]['fieldOrder'],_0x3577e3,_0xbabbd);return this[_0x2c726b(0x4d7)]([..._0xf0e45c['view'](_0xb6e3f7,_0x17a639),_0x2c726b(0x379)],_0x1e25b2[_0x2c726b(0x379)],_0x29355c);}['_setViewFieldSetting'](_0xe05fb6,_0x1b5377,_0x3f88b3,_0x23b35f,_0x4e40f4){const _0x4e29cb=_0x292328;let _0x255ee0=_0xe05fb6[_0x4e29cb(0x288)][_0x1b5377][_0x4e29cb(0x2b9)][_0x3f88b3]['fieldSettings']??{},_0xd0648e={..._0x255ee0,[_0x23b35f]:{..._0x255ee0[_0x23b35f],..._0x4e40f4}};return this[_0x4e29cb(0x4d7)]([..._0xf0e45c[_0x4e29cb(0x176)](_0x1b5377,_0x3f88b3),'fieldSettings'],_0xe05fb6[_0x4e29cb(0x288)][_0x1b5377][_0x4e29cb(0x2b9)][_0x3f88b3][_0x4e29cb(0x4ff)],_0xd0648e);}[_0x292328(0x331)](_0x535981,_0x394155,_0x465e69){const _0xad5969=_0x292328;let _0x85fa6e=_0x535981[_0xad5969(0x288)][_0x394155],_0x59d695=new Set(_0x465e69[_0xad5969(0x421)](_0x4d1f64=>_0x4d1f64['id'])),_0x8b8311=[...Object[_0xad5969(0x1ea)](_0x85fa6e[_0xad5969(0x46f)])[_0xad5969(0x544)](_0x282ecd=>!_0x59d695['has'](_0x282ecd['id'])),..._0x465e69][_0xad5969(0x2e9)]((_0x11ae87,_0x4a597b)=>String(_0x11ae87['orderKey']??_0x11ae87['id'])[_0xad5969(0x211)](String(_0x4a597b['orderKey']??_0x4a597b['id'])))[_0xad5969(0x421)](_0x39e7f7=>_0x39e7f7['id']),_0x392943=[..._0xf0e45c['table'](_0x394155),'recordOrder'];return _0x85fa6e['recordOrder']?_0x36cce1[_0xad5969(0x112)]['replaceOp'](_0x392943,_0x85fa6e['recordOrder'],_0x8b8311):_0x36cce1['JSON1'][_0xad5969(0x3d3)](_0x392943,_0x8b8311);}['_materializeFormulaTableNames'](_0x599940,_0x34eeea=new Set()){const _0x44d376=_0x292328;let _0x11ca06=(0x0,_0x36cce1[_0x44d376(0x295)])(_0x599940);return Object['values'](_0x599940[_0x44d376(0x288)])['filter'](_0x1234c1=>!_0x34eeea[_0x44d376(0x16f)](_0x1234c1['id']))['sort']((_0x6c9d54,_0x33827d)=>_0x6c9d54['id']['localeCompare'](_0x33827d['id']))[_0x44d376(0x57e)](_0x572beb=>{const _0x109a02=_0x44d376;let _0x5b7d2f=_0x11ca06['get'](_0x572beb['id']);return!_0x5b7d2f||_0x572beb[_0x109a02(0x3eb)]===_0x5b7d2f?[]:[this[_0x109a02(0x4d7)]([..._0xf0e45c[_0x109a02(0x442)](_0x572beb['id']),'formulaName'],_0x572beb[_0x109a02(0x3eb)],_0x5b7d2f)];});}[_0x292328(0x298)](_0x4a2993,_0x24ff1f,_0x186ddf,_0x5fccf0){const _0x55b821=_0x292328;var _0x497098,_0x501a77;let _0x3f2230=_0x526a9d(_0x4a2993[_0x55b821(0x288)][_0x24ff1f]),_0x284a6a=String(((_0x497098=_0x5fccf0[_0x55b821(0x441)])==null?void 0x0:_0x497098['formula'])??'')[_0x55b821(0x2b7)](),_0x48ebc0=(_0x501a77=_0x3f2230[_0x55b821(0x30b)])==null?void 0x0:_0x501a77[_0x186ddf];if(_0x48ebc0==null)return[];let _0x530aab=_0x3f2230[_0x55b821(0x318)]??Object[_0x55b821(0x153)](_0x3f2230['records']),_0x380968=_0x530aab[_0x55b821(0x421)](_0xb460bb=>{var _0x4f6456;return(_0x4f6456=_0x3f2230['rowIndex'])==null?void 0x0:_0x4f6456[_0xb460bb];})[_0x55b821(0x304)](_0x5c2313=>_0x5c2313!=null);return _0x530aab[_0x55b821(0x57e)](_0x731116=>{const _0x5ab38f=_0x55b821;var _0x1af495,_0x511c4c;let _0x5be8cd=(_0x1af495=_0x3f2230[_0x5ab38f(0x17e)])==null?void 0x0:_0x1af495[_0x731116];if(_0x5be8cd==null)return[];let _0xad6707=(_0x511c4c=_0x3f2230[_0x5ab38f(0x48e)])==null||(_0x511c4c=_0x511c4c[_0x5be8cd])==null?void 0x0:_0x511c4c[_0x48ebc0],_0x3df9e2=_0x284a6a?_0x5be8cd===_0x380968?{'f':_0x284a6a,'si':_0x186ddf}:{'si':_0x186ddf}:{'v':null,'t':null};return[this[_0x5ab38f(0x4d7)](_0xf0e45c[_0x5ab38f(0x48e)](_0x24ff1f,_0x5be8cd,_0x48ebc0),_0xad6707,_0x3df9e2)];});}[_0x292328(0x509)](_0x171c8e,_0x428d52,_0x44723b){const _0x5ded26=_0x292328;var _0x3a7c3c;let _0x2e6624=new Map(Object[_0x5ded26(0x2e3)](((_0x3a7c3c=_0x171c8e[_0x5ded26(0x2ba)])==null?void 0x0:_0x3a7c3c['attachmentSets'])??{})),_0x43287b=new Map(),_0x28fc70=new Set(),_0x11db22=_0x44723b[_0x5ded26(0x421)](({recordId:_0x230e59,fieldId:_0xaf85ca,attachments:_0x565307})=>{const _0x462b97=_0x5ded26;var _0x4d2970;let _0xed17a9=_0xd2db54(_0xaf85ca,_0x230e59),_0x570075=_0x565307[_0x462b97(0x421)]((_0x36b7bb,_0x426ca7)=>String(_0x36b7bb['id']??_0xed17a9+'\x1f'+_0x426ca7));return _0x28fc70['add'](_0xed17a9),_0x2e6624[_0x462b97(0x251)](_0xed17a9,_0x570075),_0x565307[_0x462b97(0x56d)]((_0x437ef7,_0x54a9ac)=>{let _0x15f214=_0x570075[_0x54a9ac];_0x43287b['set'](_0x15f214,{..._0x437ef7,'id':_0x15f214});}),this[_0x462b97(0x4d7)](_0xf0e45c[_0x462b97(0x168)](_0x428d52,_0xed17a9),(_0x4d2970=_0x171c8e[_0x462b97(0x2ba)])==null||(_0x4d2970=_0x4d2970[_0x462b97(0x54a)])==null?void 0x0:_0x4d2970[_0xed17a9],_0x570075);}),_0x4d4c43=Array[_0x5ded26(0x11f)](_0x43287b)[_0x5ded26(0x421)](([_0x8143f0,_0x590ee0])=>{const _0x3a6e58=_0x5ded26;var _0x108f41;return this[_0x3a6e58(0x4d7)](_0xf0e45c['attachment'](_0x428d52,_0x8143f0),(_0x108f41=_0x171c8e['resources'])==null||(_0x108f41=_0x108f41[_0x3a6e58(0x26d)])==null?void 0x0:_0x108f41[_0x8143f0],_0x590ee0);}),_0x12f8bf=new Set(Array['from'](_0x2e6624[_0x5ded26(0x1ea)]())['flat']()),_0x284858=new Set(Array[_0x5ded26(0x11f)](_0x28fc70)[_0x5ded26(0x57e)](_0x5eabdc=>{const _0x1d3091=_0x5ded26;var _0x37af05;return((_0x37af05=_0x171c8e[_0x1d3091(0x2ba)])==null||(_0x37af05=_0x37af05[_0x1d3091(0x54a)])==null?void 0x0:_0x37af05[_0x5eabdc])??[];})),_0x1a6816=Array[_0x5ded26(0x11f)](_0x284858)[_0x5ded26(0x57e)](_0x210db1=>{const _0x5a82d4=_0x5ded26;var _0x2ed142;let _0x2d34e2=(_0x2ed142=_0x171c8e[_0x5a82d4(0x2ba)])==null||(_0x2ed142=_0x2ed142[_0x5a82d4(0x26d)])==null?void 0x0:_0x2ed142[_0x210db1];return _0x2d34e2!==void 0x0&&!_0x12f8bf[_0x5a82d4(0x16f)](_0x210db1)?[_0x36cce1[_0x5a82d4(0x112)]['removeOp'](_0xf0e45c['attachment'](_0x428d52,_0x210db1),_0x2d34e2)]:[];});return[..._0x11db22,..._0x4d4c43,..._0x1a6816];}['_deleteAttachmentResources'](_0x5366e4,_0x1a9066,_0x2b1af6){const _0x228933=_0x292328;var _0x250614;let _0x2eaf13=((_0x250614=_0x5366e4[_0x228933(0x2ba)])==null?void 0x0:_0x250614[_0x228933(0x54a)])??{},_0x4fe07a=Object[_0x228933(0x2e3)](_0x2eaf13)[_0x228933(0x544)](([_0x113da4])=>_0x2b1af6(_0x113da4));if(!_0x4fe07a[_0x228933(0x4fc)])return[];let _0x43913e=new Set(Object['entries'](_0x2eaf13)[_0x228933(0x544)](([_0x56b7ee])=>!_0x2b1af6(_0x56b7ee))[_0x228933(0x57e)](([,_0xa54856])=>_0xa54856)),_0x190593=new Set(_0x4fe07a[_0x228933(0x57e)](([,_0x1fd11c])=>_0x1fd11c));return[..._0x4fe07a[_0x228933(0x421)](([_0x1c6178,_0x17407c])=>_0x36cce1[_0x228933(0x112)]['removeOp'](_0xf0e45c['attachmentSet'](_0x1a9066,_0x1c6178),_0x17407c)),...Array[_0x228933(0x11f)](_0x190593)[_0x228933(0x57e)](_0x174efa=>{const _0x1abf71=_0x228933;var _0x119d1c;let _0x341256=(_0x119d1c=_0x5366e4[_0x1abf71(0x2ba)])==null||(_0x119d1c=_0x119d1c['attachments'])==null?void 0x0:_0x119d1c[_0x174efa];return _0x341256!==void 0x0&&!_0x43913e['has'](_0x174efa)?[_0x36cce1[_0x1abf71(0x112)]['removeOp'](_0xf0e45c[_0x1abf71(0x14d)](_0x1a9066,_0x174efa),_0x341256)]:[];})];}[_0x292328(0x4d7)](_0x39b7ec,_0x4eec2f,_0x354b2b){const _0x1c783c=_0x292328;return _0x4eec2f===void 0x0?_0x36cce1[_0x1c783c(0x112)]['insertOp'](_0x39b7ec,_0x354b2b):_0x36cce1['JSON1']['replaceOp'](_0x39b7ec,_0x4eec2f,_0x354b2b);}};function _0x3c82e3(_0x4840a6,_0x45e114,_0x5dd160,_0x406adc){const _0xb40dc2=_0x292328;var _0x52442e;let _0x4537cf=_0x406adc['type'];if(_0x5dd160[_0xb40dc2(0x11c)]!==_0x4537cf||_0x4537cf!==_0x36cce1[_0xb40dc2(0x229)][_0xb40dc2(0x117)]&&_0x4537cf!==_0x36cce1[_0xb40dc2(0x229)][_0xb40dc2(0x2fd)]||_0x2e4e20(_0x406adc[_0xb40dc2(0x441)][_0xb40dc2(0x120)]))return{'field':_0x406adc,'patches':[]};let _0x3aad4e=_0x468f66(_0x5dd160),_0x4d7fc=_0x468f66(_0x406adc);if(![..._0x3aad4e][_0xb40dc2(0x41d)](_0x937756=>!_0x4d7fc['has'](_0x937756)))return{'field':_0x406adc,'patches':[]};let _0x109cf9=_0x5c140c(_0x406adc[_0xb40dc2(0x437)],_0x4d7fc,_0x4537cf),_0x16136a=_0x2522e2(_0x109cf9,_0x406adc[_0xb40dc2(0x437)])?_0x406adc:{..._0x406adc,'defaultValue':_0x109cf9},_0x1f14c1=_0x526a9d(_0x4840a6),_0x46119a=(_0x52442e=_0x1f14c1['colIndex'])==null?void 0x0:_0x52442e[_0x45e114];return _0x46119a==null?{'field':_0x16136a,'patches':[]}:{'field':_0x16136a,'patches':(_0x1f14c1[_0xb40dc2(0x318)]??[])[_0xb40dc2(0x57e)](_0xed203b=>{const _0x1d5166=_0xb40dc2;var _0xce7181,_0x592ad1;let _0x6080e9=(_0xce7181=_0x1f14c1[_0x1d5166(0x17e)])==null?void 0x0:_0xce7181[_0xed203b],_0x537f35=(_0x592ad1=_0x1f14c1['records'][_0xed203b])==null?void 0x0:_0x592ad1[_0x1d5166(0x1ea)][_0x45e114],_0x24f153=_0x5c140c(_0x537f35,_0x4d7fc,_0x4537cf);return _0x6080e9==null||_0x2522e2(_0x24f153,_0x537f35)?[]:[{'row':_0x6080e9,'col':_0x46119a,'value':_0x24f153??null}];})};}function _0x2e4e20(_0x4ec325){const _0x51c221=_0x292328;return typeof _0x4ec325==_0x51c221(0x2f7)&&!!_0x4ec325&&_0x51c221(0x11c)in _0x4ec325&&_0x4ec325[_0x51c221(0x11c)]==='field';}function _0x468f66(_0x328663){const _0x37bc83=_0x292328;var _0x27fe76;let _0x4a125c=Array[_0x37bc83(0x3fe)]((_0x27fe76=_0x328663['config'])==null?void 0x0:_0x27fe76[_0x37bc83(0x1b9)])?_0x328663[_0x37bc83(0x441)][_0x37bc83(0x1b9)]:[];return new Set(_0x4a125c[_0x37bc83(0x57e)](_0x425a32=>{const _0xb0831c=_0x37bc83;if(!_0x425a32||typeof _0x425a32!=_0xb0831c(0x2f7)||!('id'in _0x425a32))return[];let _0x4e55a=String(_0x425a32['id']);return _0x4e55a?[_0x4e55a]:[];}));}function _0x5c140c(_0x1c41bd,_0x3dfe3a,_0x1ee972){const _0x468d94=_0x292328;if(_0x1c41bd==null||_0x1c41bd==='')return _0x1c41bd;if(_0x1ee972===_0x36cce1['BaseFieldType'][_0x468d94(0x117)])return _0x3dfe3a[_0x468d94(0x16f)](String(_0x1c41bd))?_0x1c41bd:null;let _0x62e80d=Array[_0x468d94(0x3fe)](_0x1c41bd)?_0x1c41bd[_0x468d94(0x421)](String):String(_0x1c41bd)[_0x468d94(0x356)](',')['map'](_0x272113=>_0x272113[_0x468d94(0x2b7)]())[_0x468d94(0x544)](Boolean),_0x4f684d=_0x62e80d[_0x468d94(0x544)](_0xa7f26a=>_0x3dfe3a[_0x468d94(0x16f)](_0xa7f26a));return _0x4f684d[_0x468d94(0x4fc)]===_0x62e80d[_0x468d94(0x4fc)]?_0x1c41bd:Array[_0x468d94(0x3fe)](_0x1c41bd)?_0x4f684d:String(_0x1c41bd)[_0x468d94(0x18d)](',')?_0x4f684d[_0x468d94(0x2a9)](','):_0x4f684d[0x0]??[];}function _0x2522e2(_0x153c09,_0x393fd2){const _0x29ed7f=_0x292328;return JSON[_0x29ed7f(0x131)](_0x153c09)===JSON[_0x29ed7f(0x131)](_0x393fd2);}function _0x292f27(_0x4f18a9,_0x1ad456,_0x34f96a){const _0x2b18b8=_0x292328;var _0x53b94b,_0x4cacb8,_0x39ebf7,_0x5eb38b;let _0x351bc2=(_0x53b94b=_0x4f18a9['rowIndex'])==null?void 0x0:_0x53b94b[_0x1ad456],_0x4a3a1f=(_0x4cacb8=_0x4f18a9[_0x2b18b8(0x30b)])==null?void 0x0:_0x4cacb8[_0x34f96a];return _0x351bc2!=null&&_0x4a3a1f!=null&&((_0x39ebf7=_0x4f18a9[_0x2b18b8(0x387)])==null?void 0x0:_0x39ebf7[_0x351bc2])===_0x1ad456&&((_0x5eb38b=_0x4f18a9[_0x2b18b8(0x252)])==null?void 0x0:_0x5eb38b[_0x4a3a1f])===_0x34f96a&&_0x4f18a9[_0x2b18b8(0x48e)]!=null;}function _0x37f0c0(_0xd0722c,_0x34884f,_0x59b2ed){const _0x7f1aba=_0x292328;var _0x38ea36,_0x2e2ea3;return((_0x38ea36=_0xd0722c['rowId'])==null?void 0x0:_0x38ea36[_0x34884f])!=null&&((_0x2e2ea3=_0xd0722c[_0x7f1aba(0x252)])==null?void 0x0:_0x2e2ea3[_0x59b2ed])!=null&&_0xd0722c[_0x7f1aba(0x48e)]!=null;}function _0x51c90f(_0x2261b4,_0x37ca4f,_0x2def39){const _0xd13325=_0x292328;let _0x20e1ad=_0x2261b4[_0xd13325(0x544)](_0x47e997=>_0x47e997!==_0x37ca4f),_0x13deb5=_0x2def39[_0xd13325(0x38c)]?_0x20e1ad[_0xd13325(0x13d)](_0x2def39[_0xd13325(0x38c)]):_0x2def39[_0xd13325(0x1d9)]?_0x20e1ad[_0xd13325(0x13d)](_0x2def39['afterFieldId'])+0x1:_0x20e1ad[_0xd13325(0x4fc)];return _0x20e1ad[_0xd13325(0x166)](_0x13deb5<0x0?_0x20e1ad['length']:_0x13deb5,0x0,_0x37ca4f),_0x20e1ad;}function _0x3857c(_0x90018c,_0x587d24,_0x5a3536){const _0xcd62da=_0x292328;let _0x389b31=_0x90018c[_0xcd62da(0x544)](_0xc707be=>_0xc707be!==_0x587d24);return _0x389b31[_0xcd62da(0x166)](_0x1327c8(_0x5a3536,_0x389b31[_0xcd62da(0x4fc)]),0x0,_0x587d24),_0x389b31;}function _0x7d21d5(_0x4a4977,_0x4d108b,_0x3e5280){const _0x32a2b1=_0x292328;if(Array[_0x32a2b1(0x3fe)](_0x4a4977))return _0x3e5280==='fieldIds'?_0x4a4977['filter'](_0x42d491=>_0x42d491!==_0x4d108b):_0x4a4977['flatMap'](_0x36d652=>{const _0x303dd8=_0x32a2b1;if(_0x36d652&&typeof _0x36d652=='object'&&!Array[_0x303dd8(0x3fe)](_0x36d652)&&_0x36d652['fieldId']===_0x4d108b)return[];let _0x29272b=_0x7d21d5(_0x36d652,_0x4d108b);return _0x29272b===void 0x0?[]:[_0x29272b];});if(!_0x4a4977||typeof _0x4a4977!=_0x32a2b1(0x2f7))return _0x3e5280!=null&&_0x3e5280['endsWith'](_0x32a2b1(0x2d6))&&_0x4a4977===_0x4d108b?void 0x0:_0x4a4977;let _0x54e74b=_0x4a4977;if(_0x54e74b[_0x32a2b1(0x450)]!==_0x4d108b)return Object[_0x32a2b1(0x2af)](Object['entries'](_0x54e74b)[_0x32a2b1(0x57e)](([_0xade5fe,_0x2f1c60])=>{const _0x5d18ca=_0x32a2b1;if(_0xade5fe===_0x4d108b&&_0x3e5280===_0x5d18ca(0x4ff))return[];let _0x507703=_0x7d21d5(_0x2f1c60,_0x4d108b,_0xade5fe);return _0x507703===void 0x0?[]:[[_0xade5fe,_0x507703]];}));}function _0x1327c8(_0x384752,_0x10edd4){const _0x9b95cf=_0x292328;return Math[_0x9b95cf(0x2ac)](0x0,Math['min'](_0x384752,_0x10edd4));}function _0x50178e(_0xbd0086){'@babel/helpers - typeof';const _0x1288ab=_0x292328;return _0x50178e=typeof Symbol==_0x1288ab(0x540)&&typeof Symbol[_0x1288ab(0x4bb)]==_0x1288ab(0x546)?function(_0x2b6b3a){return typeof _0x2b6b3a;}:function(_0xa31019){const _0x3a8645=_0x1288ab;return _0xa31019&&typeof Symbol=='function'&&_0xa31019['constructor']===Symbol&&_0xa31019!==Symbol[_0x3a8645(0x19f)]?_0x3a8645(0x546):typeof _0xa31019;},_0x50178e(_0xbd0086);}function _0x537c0e(_0x421dbb,_0x43e15f){const _0x5c375f=_0x292328;if(_0x50178e(_0x421dbb)!=_0x5c375f(0x2f7)||!_0x421dbb)return _0x421dbb;var _0x3ef8b0=_0x421dbb[Symbol[_0x5c375f(0x4b0)]];if(_0x3ef8b0!==void 0x0){var _0x5833d4=_0x3ef8b0['call'](_0x421dbb,_0x43e15f||'default');if(_0x50178e(_0x5833d4)!='object')return _0x5833d4;throw TypeError(_0x5c375f(0x4fa));}return(_0x43e15f===_0x5c375f(0x4ce)?String:Number)(_0x421dbb);}function _0x4eeab2(_0x80baa5){const _0x8c9bd6=_0x292328;var _0x5a1b99=_0x537c0e(_0x80baa5,_0x8c9bd6(0x4ce));return _0x50178e(_0x5a1b99)==_0x8c9bd6(0x546)?_0x5a1b99:_0x5a1b99+'';}function _0x248767(_0x111e20,_0x25988f,_0x1afc2d){const _0x188a57=_0x292328;return(_0x25988f=_0x4eeab2(_0x25988f))in _0x111e20?Object[_0x188a57(0x39c)](_0x111e20,_0x25988f,{'value':_0x1afc2d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x111e20[_0x25988f]=_0x1afc2d,_0x111e20;}let _0x2da75e=(0x0,_0x36cce1[_0x292328(0x260)])(_0x292328(0x207));var _0x596da3=class extends _0x36cce1[_0x292328(0x27c)]{constructor(..._0x44f6f4){super(..._0x44f6f4),_0x248767(this,'_plugins',new Map());}[_0x292328(0x4f8)](_0x34a262){const _0x314257=_0x292328;return this[_0x314257(0x13c)][_0x314257(0x251)](_0x34a262[_0x314257(0x11c)],_0x34a262),(0x0,_0x36cce1['toDisposable'])(()=>this[_0x314257(0x13c)][_0x314257(0x3ce)](_0x34a262['type']));}[_0x292328(0x1fa)](_0x309ffd){const _0x10e299=_0x292328;let _0x3dc064=this[_0x10e299(0x13c)][_0x10e299(0x1fa)](_0x309ffd);if(!_0x3dc064)throw Error(_0x10e299(0x348)+_0x309ffd+'\x22\x20is\x20not\x20registered.');return _0x3dc064;}[_0x292328(0x3a8)](_0x4303bf){const _0x3e6ded=_0x292328;return this[_0x3e6ded(0x13c)]['get'](_0x4303bf);}['getAll'](){const _0x476948=_0x292328;return Array[_0x476948(0x11f)](this[_0x476948(0x13c)][_0x476948(0x1ea)]());}},_0x90ed23=class{constructor(_0x593cac){const _0x5e08ac=_0x292328;this[_0x5e08ac(0x273)]=_0x593cac,_0x248767(this,_0x5e08ac(0x11c),_0x282c79[_0x5e08ac(0x1dd)][_0x5e08ac(0x4b2)]),_0x248767(this,'subType',_0x282c79[_0x5e08ac(0x37e)][_0x5e08ac(0x267)]),_0x248767(this,'status',_0x36cce1[_0x5e08ac(0x433)]['INIT']),_0x248767(this,'id',void 0x0),_0x248767(this,'value',!0x0),this['id']=this[_0x5e08ac(0x11c)]+'.'+this[_0x5e08ac(0x587)]+'_'+_0x593cac;}},_0x23ce52=class{constructor(_0x509dd3){const _0x489866=_0x292328;this[_0x489866(0x273)]=_0x509dd3,_0x248767(this,_0x489866(0x11c),_0x282c79['UnitObject'][_0x489866(0x4b2)]),_0x248767(this,_0x489866(0x587),_0x282c79[_0x489866(0x37e)][_0x489866(0x123)]),_0x248767(this,_0x489866(0x374),_0x36cce1[_0x489866(0x433)]['INIT']),_0x248767(this,'id',void 0x0),_0x248767(this,'value',!0x0),this['id']=this[_0x489866(0x11c)]+'.'+this['subType']+'_'+_0x509dd3;}},_0x1f23f3=class{constructor(_0x5f73ac){const _0x1ed501=_0x292328;this[_0x1ed501(0x273)]=_0x5f73ac,_0x248767(this,'type',_0x282c79[_0x1ed501(0x1dd)]['Base']),_0x248767(this,_0x1ed501(0x587),_0x282c79[_0x1ed501(0x37e)][_0x1ed501(0x17a)]),_0x248767(this,_0x1ed501(0x374),_0x36cce1[_0x1ed501(0x433)][_0x1ed501(0x3b0)]),_0x248767(this,'id',void 0x0),_0x248767(this,_0x1ed501(0x32d),!0x0),this['id']=this[_0x1ed501(0x11c)]+'.'+this[_0x1ed501(0x587)]+'_'+_0x5f73ac;}},_0x10b6af=class{constructor(_0x2f037e){const _0x32c830=_0x292328;this[_0x32c830(0x273)]=_0x2f037e,_0x248767(this,_0x32c830(0x11c),_0x282c79['UnitObject'][_0x32c830(0x4b2)]),_0x248767(this,_0x32c830(0x587),_0x282c79[_0x32c830(0x37e)][_0x32c830(0x39e)]),_0x248767(this,_0x32c830(0x374),_0x36cce1[_0x32c830(0x433)][_0x32c830(0x3b0)]),_0x248767(this,'id',void 0x0),_0x248767(this,_0x32c830(0x32d),!0x0),this['id']=this[_0x32c830(0x11c)]+'.'+this[_0x32c830(0x587)]+'_'+_0x2f037e;}},_0x5ce157=class{constructor(_0x1342d1,_0x1c8520){const _0x319d2e=_0x292328;this['unitId']=_0x1342d1,this[_0x319d2e(0x4aa)]=_0x1c8520,_0x248767(this,_0x319d2e(0x11c),_0x282c79[_0x319d2e(0x1dd)][_0x319d2e(0x3dc)]),_0x248767(this,_0x319d2e(0x587),_0x282c79[_0x319d2e(0x37e)]['Edit']),_0x248767(this,_0x319d2e(0x374),_0x36cce1[_0x319d2e(0x433)][_0x319d2e(0x3b0)]),_0x248767(this,'id',void 0x0),_0x248767(this,_0x319d2e(0x32d),!0x0),this['id']=this[_0x319d2e(0x11c)]+'.'+this[_0x319d2e(0x587)]+'_'+_0x1342d1+'_'+_0x1c8520;}},_0x522fed=class{constructor(_0x43a1e7,_0x4e67f9){const _0x5cf5ef=_0x292328;this[_0x5cf5ef(0x273)]=_0x43a1e7,this[_0x5cf5ef(0x4aa)]=_0x4e67f9,_0x248767(this,_0x5cf5ef(0x11c),_0x282c79['UnitObject'][_0x5cf5ef(0x410)]),_0x248767(this,_0x5cf5ef(0x587),_0x282c79[_0x5cf5ef(0x37e)]['Edit']),_0x248767(this,'status',_0x36cce1[_0x5cf5ef(0x433)]['INIT']),_0x248767(this,'id',void 0x0),_0x248767(this,_0x5cf5ef(0x32d),!0x0),this['id']=this['type']+'.'+this[_0x5cf5ef(0x587)]+'_'+_0x43a1e7+'_'+_0x4e67f9;}},_0x59c823=class{constructor(_0x32c335,_0x54c309){const _0x2c212d=_0x292328;this['unitId']=_0x32c335,this[_0x2c212d(0x4aa)]=_0x54c309,_0x248767(this,'type',_0x282c79[_0x2c212d(0x1dd)][_0x2c212d(0x146)]),_0x248767(this,_0x2c212d(0x587),_0x282c79[_0x2c212d(0x37e)]['Edit']),_0x248767(this,_0x2c212d(0x374),_0x36cce1['PermissionStatus'][_0x2c212d(0x3b0)]),_0x248767(this,'id',void 0x0),_0x248767(this,'value',!0x0),this['id']=this[_0x2c212d(0x11c)]+'.'+this[_0x2c212d(0x587)]+'_'+_0x32c335+'_'+_0x54c309;}},_0x20a09d=class{constructor(_0x2437c2,_0x15d1f5){const _0x351181=_0x292328;this[_0x351181(0x273)]=_0x2437c2,this['objectId']=_0x15d1f5,_0x248767(this,_0x351181(0x11c),_0x282c79[_0x351181(0x1dd)]['BaseTable']),_0x248767(this,_0x351181(0x587),_0x282c79[_0x351181(0x37e)][_0x351181(0x17a)]),_0x248767(this,_0x351181(0x374),_0x36cce1[_0x351181(0x433)][_0x351181(0x3b0)]),_0x248767(this,'id',void 0x0),_0x248767(this,_0x351181(0x32d),!0x0),this['id']=this[_0x351181(0x11c)]+'.'+this[_0x351181(0x587)]+'_'+_0x2437c2+'_'+_0x15d1f5;}},_0xdd9836=class{constructor(_0x5c2130,_0x38f36c){const _0x3786ae=_0x292328;this[_0x3786ae(0x273)]=_0x5c2130,this[_0x3786ae(0x4aa)]=_0x38f36c,_0x248767(this,_0x3786ae(0x11c),_0x282c79[_0x3786ae(0x1dd)][_0x3786ae(0x299)]),_0x248767(this,_0x3786ae(0x587),_0x282c79[_0x3786ae(0x37e)]['Edit']),_0x248767(this,'status',_0x36cce1[_0x3786ae(0x433)]['INIT']),_0x248767(this,'id',void 0x0),_0x248767(this,_0x3786ae(0x32d),!0x0),this['id']=this[_0x3786ae(0x11c)]+'.'+this[_0x3786ae(0x587)]+'_'+_0x5c2130+'_'+_0x38f36c;}};let _0x2237ea=[_0x282c79['UnitAction'][_0x292328(0x17a)],_0x282c79[_0x292328(0x37e)][_0x292328(0x123)],_0x282c79[_0x292328(0x37e)][_0x292328(0x39e)],_0x282c79['UnitAction'][_0x292328(0x267)]],_0x40c533=new Set([_0x282c79[_0x292328(0x1dd)]['Base'],_0x282c79[_0x292328(0x1dd)]['BaseTable'],_0x282c79['UnitObject'][_0x292328(0x410)],_0x282c79[_0x292328(0x1dd)][_0x292328(0x146)],_0x282c79[_0x292328(0x1dd)][_0x292328(0x299)],_0x282c79[_0x292328(0x1dd)]['BaseDashboard']]),_0x4b2bd3='table/',_0x301685=_0x292328(0x191),_0x3d3115=_0x292328(0x34b),_0x1d9486=_0x292328(0x400),_0xde901f=_0x292328(0x14c);function _0x27f7d4(_0x2fb419){return''+_0x4b2bd3+encodeURIComponent(_0x2fb419);}function _0x7d8403(_0x506144,_0x242721){return''+_0x301685+encodeURIComponent(_0x506144)+'/'+encodeURIComponent(_0x242721);}function _0x551842(_0x54428f,_0x2a062d){return''+_0x3d3115+encodeURIComponent(_0x54428f)+'/'+encodeURIComponent(_0x2a062d);}function _0x464395(_0x1bc868,_0x171fa8){return''+_0x1d9486+encodeURIComponent(_0x1bc868)+'/'+encodeURIComponent(_0x171fa8);}function _0x3e7c86(_0x49a6d6){return''+_0xde901f+encodeURIComponent(_0x49a6d6);}function _0x278bb4(_0x139f77,_0x211a0,_0x116fb5){const _0x1a4d53=_0x292328;if(_0x211a0===_0x139f77)switch(_0x116fb5){case _0x282c79[_0x1a4d53(0x37e)]['Edit']:return new _0x1f23f3(_0x139f77);case _0x282c79[_0x1a4d53(0x37e)][_0x1a4d53(0x123)]:return new _0x23ce52(_0x139f77);case _0x282c79[_0x1a4d53(0x37e)]['Export']:return new _0x10b6af(_0x139f77);case _0x282c79['UnitAction'][_0x1a4d53(0x267)]:return new _0x90ed23(_0x139f77);default:throw Error(_0x1a4d53(0x53c)+_0x116fb5);}if(_0x116fb5!==_0x282c79[_0x1a4d53(0x37e)]['Edit'])throw Error(_0x1a4d53(0x588)+_0x211a0);if(_0x211a0[_0x1a4d53(0x1c2)](_0x4b2bd3))return new _0x20a09d(_0x139f77,_0x211a0);if(_0x211a0[_0x1a4d53(0x1c2)](_0x301685))return new _0x522fed(_0x139f77,_0x211a0);if(_0x211a0[_0x1a4d53(0x1c2)](_0x3d3115))return new _0x59c823(_0x139f77,_0x211a0);if(_0x211a0[_0x1a4d53(0x1c2)](_0x1d9486))return new _0xdd9836(_0x139f77,_0x211a0);if(_0x211a0[_0x1a4d53(0x1c2)](_0xde901f))return new _0x5ce157(_0x139f77,_0x211a0);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x211a0);}function _0x293135(_0x47049c,_0x5a547a,_0x421751,_0x543c87){const _0x401001=_0x292328;var _0x256edf;return((_0x256edf=_0x47049c[_0x401001(0x3ed)](_0x278bb4(_0x5a547a,_0x421751,_0x543c87)['id']))==null?void 0x0:_0x256edf[_0x401001(0x32d)])??!0x0;}function _0x5a704a(_0x5527a9,_0x15d321,_0x13b752,_0x3f968f,_0xc938aa){const _0x5e7f9b=_0x292328;let _0xe49f5b=_0x278bb4(_0x15d321,_0x13b752,_0x3f968f);_0x5527a9[_0x5e7f9b(0x3ed)](_0xe49f5b['id'])||_0x5527a9[_0x5e7f9b(0x231)](_0xe49f5b),_0x5527a9[_0x5e7f9b(0x1c8)](_0xe49f5b['id'],_0xc938aa);}function _0x3db8ee(_0x27da47,_0x3ba2de,_0x46791b,_0x388360){_0x27da47['deletePermissionPoint'](_0x278bb4(_0x3ba2de,_0x46791b,_0x388360)['id']);}function _0x294f6d(_0x3c970f,_0x4dc619){const _0xfb2d2d=_0x292328;_0x3c970f[_0xfb2d2d(0x2b1)]()['forEach']((_0x5a5e53,_0x377e97)=>{const _0x1646c7=_0xfb2d2d;_0x5a5e53[_0x1646c7(0x253)](_0x21d75e=>{const _0x58ff09=_0x1646c7;_0x40c533['has'](_0x21d75e[_0x58ff09(0x11c)])&&'unitId'in _0x21d75e&&_0x21d75e[_0x58ff09(0x273)]===_0x4dc619&&_0x3c970f[_0x58ff09(0x148)](_0x377e97);})[_0x1646c7(0x493)]();});}function _0x5d8eac(_0x2ea4a5,_0x3aed31,_0xd64cd6){const _0x5a910b=_0x292328;return _0x293135(_0x2ea4a5,_0x3aed31,_0x3aed31,_0x282c79[_0x5a910b(0x37e)][_0x5a910b(0x17a)])&&Array[_0x5a910b(0x11f)](_0xd64cd6)['every'](_0x558f4f=>_0x293135(_0x2ea4a5,_0x3aed31,_0x558f4f,_0x282c79[_0x5a910b(0x37e)]['Edit']));}function _0xb6ba9a(_0x46c2e5,_0x482280){return function(_0x3f1663,_0x53c7e8){_0x482280(_0x3f1663,_0x53c7e8,_0x46c2e5);};}function _0x1f4d84(_0x242e12,_0x13b90c,_0x2eef7f,_0x4c212e){const _0x48763f=_0x292328;var _0x317cb0=arguments[_0x48763f(0x4fc)],_0x44ac8d=_0x317cb0<0x3?_0x13b90c:_0x4c212e===null?_0x4c212e=Object[_0x48763f(0x57d)](_0x13b90c,_0x2eef7f):_0x4c212e,_0x5adbb2;if(typeof Reflect==_0x48763f(0x2f7)&&typeof Reflect[_0x48763f(0x3b5)]==_0x48763f(0x540))_0x44ac8d=Reflect[_0x48763f(0x3b5)](_0x242e12,_0x13b90c,_0x2eef7f,_0x4c212e);else{for(var _0x4a8e7d=_0x242e12[_0x48763f(0x4fc)]-0x1;_0x4a8e7d>=0x0;_0x4a8e7d--)(_0x5adbb2=_0x242e12[_0x4a8e7d])&&(_0x44ac8d=(_0x317cb0<0x3?_0x5adbb2(_0x44ac8d):_0x317cb0>0x3?_0x5adbb2(_0x13b90c,_0x2eef7f,_0x44ac8d):_0x5adbb2(_0x13b90c,_0x2eef7f))||_0x44ac8d);}return _0x317cb0>0x3&&_0x44ac8d&&Object[_0x48763f(0x39c)](_0x13b90c,_0x2eef7f,_0x44ac8d),_0x44ac8d;}let _0x337558=(0x0,_0x36cce1[_0x292328(0x260)])(_0x292328(0x238)),_0x199fb3=class extends _0x36cce1[_0x292328(0x27c)]{constructor(_0x433376,_0x14bdc5){const _0xc19255=_0x292328;super(),this['_permissionService']=_0x433376,this['_instanceService']=_0x14bdc5,_0x248767(this,'_basePermissions',new Map()),_0x248767(this,_0xc19255(0x4bd),new Map()),_0x248767(this,_0xc19255(0x26f),new Map()),_0x248767(this,'_recordPermissions',new Map()),_0x248767(this,'_viewPermissions',new Map()),_0x248767(this,_0xc19255(0x226),new Map()),this[_0xc19255(0x51f)](this[_0xc19255(0x3d5)][_0xc19255(0x573)](_0x36cce1[_0xc19255(0x1fe)][_0xc19255(0x355)])[_0xc19255(0x253)](_0x389a70=>this[_0xc19255(0x24f)](_0x389a70[_0xc19255(0x31f)]())));}['canCreateTable'](_0x346fa3){const _0x27eabf=_0x292328;var _0x3a1584;return this[_0x27eabf(0x40f)](_0x346fa3,[])&&(((_0x3a1584=this[_0x27eabf(0x323)][_0x27eabf(0x1fa)](_0x346fa3))==null?void 0x0:_0x3a1584[_0x27eabf(0x350)])??!0x0);}['canEditTable'](_0x495765){return this['_canEditTable'](_0x495765);}[_0x292328(0x3d2)](_0xaa2503){const _0x47d2ee=_0x292328;var _0x2ecb94;return this[_0x47d2ee(0x165)](_0xaa2503)&&(((_0x2ecb94=this[_0x47d2ee(0x4bd)]['get'](_0xaa2503))==null?void 0x0:_0x2ecb94[_0x47d2ee(0x3ce)])??!0x0);}[_0x292328(0x3af)](_0x2609e1){const _0x2111e1=_0x292328;var _0x487d43;return this[_0x2111e1(0x165)](_0x2609e1)&&(((_0x487d43=this[_0x2111e1(0x4bd)][_0x2111e1(0x1fa)](_0x2609e1))==null?void 0x0:_0x487d43[_0x2111e1(0x51d)])??!0x0);}[_0x292328(0x28e)](_0x37257d,_0x52114e){const _0x35616b=_0x292328;var _0x4e223c;return this[_0x35616b(0x165)](_0x37257d)&&this[_0x35616b(0x40f)](_0x37257d,[_0x7d8403(_0x37257d,_0x52114e)])&&(((_0x4e223c=this[_0x35616b(0x26f)][_0x35616b(0x1fa)](_0x317e07(_0x37257d,_0x52114e)))==null?void 0x0:_0x4e223c[_0x35616b(0x4e3)])??!0x0);}['canDeleteField'](_0x2e478f,_0x4d6ba0){const _0x38bfed=_0x292328;var _0x24cc38;return this[_0x38bfed(0x28e)](_0x2e478f,_0x4d6ba0)&&(((_0x24cc38=this[_0x38bfed(0x26f)][_0x38bfed(0x1fa)](_0x317e07(_0x2e478f,_0x4d6ba0)))==null?void 0x0:_0x24cc38['delete'])??!0x0);}[_0x292328(0x3ae)](_0x100dfd){const _0x56877c=_0x292328;var _0x4a5f34;return this[_0x56877c(0x165)](_0x100dfd)&&(((_0x4a5f34=this[_0x56877c(0x4bd)][_0x56877c(0x1fa)](_0x100dfd))==null?void 0x0:_0x4a5f34[_0x56877c(0x194)])??!0x0);}['canEditRecord'](_0x147a8e,_0x2c17b6){const _0x14c143=_0x292328;var _0x14e415;let _0x42e335=this[_0x14c143(0x1c3)][_0x14c143(0x1fa)](_0x5a593e(_0x147a8e,_0x2c17b6));return this[_0x14c143(0x40f)](_0x147a8e,[_0x27f7d4(_0x147a8e),_0x551842(_0x147a8e,_0x2c17b6)])&&(((_0x14e415=this['_tablePermissions']['get'](_0x147a8e))==null?void 0x0:_0x14e415[_0x14c143(0x4e3)])??!0x0)&&((_0x42e335==null?void 0x0:_0x42e335['edit'])??!0x0)&&((_0x42e335==null?void 0x0:_0x42e335['editCell'])??!0x0);}[_0x292328(0x4d8)](_0x331d57,_0x58894e){const _0x22c202=_0x292328;var _0x2d5c1c,_0x357790,_0x12abd2;return this[_0x22c202(0x40f)](_0x331d57,[_0x27f7d4(_0x331d57),_0x551842(_0x331d57,_0x58894e)])&&(((_0x2d5c1c=this[_0x22c202(0x4bd)][_0x22c202(0x1fa)](_0x331d57))==null?void 0x0:_0x2d5c1c['edit'])??!0x0)&&(((_0x357790=this[_0x22c202(0x1c3)][_0x22c202(0x1fa)](_0x5a593e(_0x331d57,_0x58894e)))==null?void 0x0:_0x357790[_0x22c202(0x4e3)])??!0x0)&&(((_0x12abd2=this['_recordPermissions'][_0x22c202(0x1fa)](_0x5a593e(_0x331d57,_0x58894e)))==null?void 0x0:_0x12abd2[_0x22c202(0x3ce)])??!0x0);}['canEditCell'](_0x598900,_0xd2109b,_0x20bb99){const _0x1087a9=_0x292328;var _0x369fd7,_0x23eabb,_0x1b8743;let _0x36688e=this[_0x1087a9(0x26f)][_0x1087a9(0x1fa)](_0x317e07(_0x598900,_0x20bb99));return this[_0x1087a9(0x40f)](_0x598900,[_0x27f7d4(_0x598900),_0x7d8403(_0x598900,_0x20bb99),_0x551842(_0x598900,_0xd2109b)])&&(((_0x369fd7=this[_0x1087a9(0x4bd)][_0x1087a9(0x1fa)](_0x598900))==null?void 0x0:_0x369fd7[_0x1087a9(0x4e3)])??!0x0)&&(((_0x23eabb=this[_0x1087a9(0x1c3)][_0x1087a9(0x1fa)](_0x5a593e(_0x598900,_0xd2109b)))==null?void 0x0:_0x23eabb['edit'])??!0x0)&&(((_0x1b8743=this[_0x1087a9(0x1c3)][_0x1087a9(0x1fa)](_0x5a593e(_0x598900,_0xd2109b)))==null?void 0x0:_0x1b8743[_0x1087a9(0x321)])??!0x0)&&((_0x36688e==null?void 0x0:_0x36688e[_0x1087a9(0x4e3)])??!0x0)&&((_0x36688e==null?void 0x0:_0x36688e[_0x1087a9(0x321)])??!0x0);}[_0x292328(0x21a)](_0x3cc995,_0x42209f){const _0x492daf=_0x292328;var _0x29fc96,_0x48f4da,_0x3f6dc7;return this[_0x492daf(0x40f)](_0x3cc995,[_0x27f7d4(_0x3cc995),_0x464395(_0x3cc995,_0x42209f)])&&(((_0x29fc96=this[_0x492daf(0x4bd)][_0x492daf(0x1fa)](_0x3cc995))==null?void 0x0:_0x29fc96['edit'])??!0x0)&&(((_0x48f4da=this['_viewPermissions'][_0x492daf(0x1fa)](_0xc9c993(_0x3cc995,_0x42209f)))==null?void 0x0:_0x48f4da[_0x492daf(0x4e3)])??!0x0)&&(((_0x3f6dc7=this['_tablePermissions'][_0x492daf(0x1fa)](_0x3cc995))==null?void 0x0:_0x3f6dc7['manageView'])??!0x0);}[_0x292328(0x259)](_0x36fd11,_0x56a002){const _0x61a957=_0x292328;this['_basePermissions'][_0x61a957(0x251)](_0x36fd11,{...this['_basePermissions'][_0x61a957(0x1fa)](_0x36fd11),..._0x56a002}),_0x56a002[_0x61a957(0x4e3)]!==void 0x0&&_0x5a704a(this[_0x61a957(0x189)],_0x36fd11,_0x36fd11,_0x282c79[_0x61a957(0x37e)]['Edit'],_0x56a002['edit']);}[_0x292328(0x4cd)](_0x30e98c,_0x348c21){const _0x153f63=_0x292328;this[_0x153f63(0x46e)](_0x30e98c),this[_0x153f63(0x4bd)][_0x153f63(0x251)](_0x30e98c,{...this['_tablePermissions']['get'](_0x30e98c),..._0x348c21}),this[_0x153f63(0x3e7)](_0x30e98c,_0x27f7d4(_0x30e98c),_0x348c21[_0x153f63(0x4e3)]);}[_0x292328(0x234)](_0x341c10,_0x2ff4d4,_0x42d537){const _0x1ef003=_0x292328;this[_0x1ef003(0x46e)](_0x341c10);let _0x5d4294=_0x317e07(_0x341c10,_0x2ff4d4);this[_0x1ef003(0x26f)][_0x1ef003(0x251)](_0x5d4294,{...this['_fieldPermissions']['get'](_0x5d4294),..._0x42d537}),this[_0x1ef003(0x3e7)](_0x341c10,_0x7d8403(_0x341c10,_0x2ff4d4),_0x42d537[_0x1ef003(0x4e3)]);}['setRecordPermission'](_0x2c68bf,_0x52cd73,_0x32b9de){const _0x39cf3f=_0x292328;this[_0x39cf3f(0x46e)](_0x2c68bf);let _0x619c17=_0x5a593e(_0x2c68bf,_0x52cd73);this['_recordPermissions'][_0x39cf3f(0x251)](_0x619c17,{...this[_0x39cf3f(0x1c3)][_0x39cf3f(0x1fa)](_0x619c17),..._0x32b9de}),this[_0x39cf3f(0x3e7)](_0x2c68bf,_0x551842(_0x2c68bf,_0x52cd73),_0x32b9de[_0x39cf3f(0x4e3)]);}['setViewPermission'](_0x54bbe4,_0x20bcbb,_0xdcc58e){const _0x10119b=_0x292328;this[_0x10119b(0x46e)](_0x54bbe4);let _0x16afee=_0xc9c993(_0x54bbe4,_0x20bcbb);this['_viewPermissions'][_0x10119b(0x251)](_0x16afee,{...this[_0x10119b(0x4ed)][_0x10119b(0x1fa)](_0x16afee),..._0xdcc58e}),this[_0x10119b(0x3e7)](_0x54bbe4,_0x464395(_0x54bbe4,_0x20bcbb),_0xdcc58e['edit']);}[_0x292328(0x2b5)](_0xd0c171){const _0x326385=_0x292328;this[_0x326385(0x323)][_0x326385(0x3ce)](_0xd0c171),_0x3db8ee(this['_permissionService'],_0xd0c171,_0xd0c171,_0x282c79['UnitAction'][_0x326385(0x17a)]);}[_0x292328(0x1d6)](_0x129e01){const _0x55b7cb=_0x292328;this[_0x55b7cb(0x4bd)]['delete'](_0x129e01),this[_0x55b7cb(0x47c)](_0x129e01,_0x27f7d4(_0x129e01));}[_0x292328(0x205)](_0x33339c,_0x3aea95){const _0x4ad90b=_0x292328;this[_0x4ad90b(0x26f)]['delete'](_0x317e07(_0x33339c,_0x3aea95)),this['_clearObjectEdit'](_0x33339c,_0x7d8403(_0x33339c,_0x3aea95));}['clearRecordPermission'](_0x15d000,_0x4659bb){const _0x1805f5=_0x292328;this[_0x1805f5(0x1c3)]['delete'](_0x5a593e(_0x15d000,_0x4659bb)),this['_clearObjectEdit'](_0x15d000,_0x551842(_0x15d000,_0x4659bb));}[_0x292328(0x4ec)](_0x1535f6,_0x19f43d){const _0xa09549=_0x292328;this[_0xa09549(0x4ed)][_0xa09549(0x3ce)](_0xc9c993(_0x1535f6,_0x19f43d)),this[_0xa09549(0x47c)](_0x1535f6,_0x464395(_0x1535f6,_0x19f43d));}['getSnapshot'](){const _0x16e12a=_0x292328;return{'bases':Object[_0x16e12a(0x2af)](this[_0x16e12a(0x323)]),'tables':Object[_0x16e12a(0x2af)](this['_tablePermissions']),'fields':Object[_0x16e12a(0x2af)](this[_0x16e12a(0x26f)]),'records':Object[_0x16e12a(0x2af)](this[_0x16e12a(0x1c3)]),'views':Object[_0x16e12a(0x2af)](this[_0x16e12a(0x4ed)])};}['_canEditTable'](_0x318a29){const _0x35bb96=_0x292328;var _0x54ba22;return this[_0x35bb96(0x40f)](_0x318a29,[_0x27f7d4(_0x318a29)])&&(((_0x54ba22=this[_0x35bb96(0x4bd)][_0x35bb96(0x1fa)](_0x318a29))==null?void 0x0:_0x54ba22['edit'])??!0x0);}['_canEdit'](_0x4a7b52,_0x2f4b97){const _0x1a423d=_0x292328;var _0x26802c;let _0x50e65c=this[_0x1a423d(0x1a3)](_0x4a7b52);return!_0x50e65c||_0x5d8eac(this[_0x1a423d(0x189)],_0x50e65c,_0x2f4b97)&&(((_0x26802c=this[_0x1a423d(0x323)]['get'](_0x50e65c))==null?void 0x0:_0x26802c[_0x1a423d(0x4e3)])??!0x0);}['_setObjectEdit'](_0x35039b,_0x1df1d6,_0x43998e){const _0x4267aa=_0x292328;if(_0x43998e===void 0x0)return;let _0x53443c=this[_0x4267aa(0x1a3)](_0x35039b);_0x53443c&&_0x5a704a(this[_0x4267aa(0x189)],_0x53443c,_0x1df1d6,_0x282c79[_0x4267aa(0x37e)][_0x4267aa(0x17a)],_0x43998e);}['_clearObjectEdit'](_0x45e055,_0x551d10){const _0x20a64b=_0x292328;let _0x167c22=this['_resolveBaseId'](_0x45e055);_0x167c22&&_0x3db8ee(this[_0x20a64b(0x189)],_0x167c22,_0x551d10,_0x282c79[_0x20a64b(0x37e)]['Edit']);}[_0x292328(0x1a3)](_0x32fe6d){const _0x3b48c5=_0x292328;var _0x5a367f;let _0x116caa=this[_0x3b48c5(0x3d5)]['getUnit'](_0x32fe6d,_0x36cce1[_0x3b48c5(0x1fe)]['UNIVER_BASE']);return _0x116caa?_0x116caa['getUnitId']():(_0x5a367f=this[_0x3b48c5(0x3d5)]['getAllUnitsForType'](_0x36cce1['UniverInstanceType'][_0x3b48c5(0x355)])[_0x3b48c5(0x304)](_0x39dd93=>!!_0x39dd93[_0x3b48c5(0x363)]()[_0x3b48c5(0x288)][_0x32fe6d]))==null?void 0x0:_0x5a367f[_0x3b48c5(0x31f)]();}['_rememberTable'](_0x1ab40f){const _0x250813=_0x292328;let _0x5ba853=this['_resolveBaseId'](_0x1ab40f);_0x5ba853&&this[_0x250813(0x226)][_0x250813(0x251)](_0x1ab40f,_0x5ba853);}[_0x292328(0x24f)](_0x54339d){const _0x21181b=_0x292328;this['_basePermissions']['delete'](_0x54339d),this['_tableBaseIds'][_0x21181b(0x56d)]((_0xe38a96,_0x1820ac)=>{const _0x31042d=_0x21181b;_0xe38a96===_0x54339d&&(this['_tablePermissions']['delete'](_0x1820ac),_0x84b860(this[_0x31042d(0x26f)],_0x1820ac+'\x1f'),_0x84b860(this[_0x31042d(0x1c3)],_0x1820ac+'\x1f'),_0x84b860(this[_0x31042d(0x4ed)],_0x1820ac+'\x1f'),this[_0x31042d(0x226)][_0x31042d(0x3ce)](_0x1820ac));});}};_0x199fb3=_0x1f4d84([_0xb6ba9a(0x0,_0x36cce1['IPermissionService']),_0xb6ba9a(0x1,_0x36cce1['IUniverInstanceService'])],_0x199fb3);function _0x84b860(_0x26e82e,_0x3d6745){const _0x4c58c3=_0x292328;_0x26e82e[_0x4c58c3(0x56d)]((_0x250f9e,_0x66d377)=>{const _0x444fd7=_0x4c58c3;_0x66d377[_0x444fd7(0x1c2)](_0x3d6745)&&_0x26e82e['delete'](_0x66d377);});}function _0x317e07(_0x242387,_0x1b9d6c){return _0x242387+'\x1f'+_0x1b9d6c;}function _0x5a593e(_0x37ab5a,_0x12b380){return _0x37ab5a+'\x1f'+_0x12b380;}function _0xc9c993(_0x319af1,_0x1df37a){return _0x319af1+'\x1f'+_0x1df37a;}let _0x4a8765=(0x0,_0x36cce1['createIdentifier'])(_0x292328(0x388)),_0x30002b=class{constructor(_0x3a4a65,_0x2cde97=_0x119842(),_0x425b44={}){const _0x50054d=_0x292328;this['_permissionService']=_0x3a4a65,this['_fieldRegistry']=_0x2cde97,this[_0x50054d(0x484)]=_0x425b44,_0x248767(this,_0x50054d(0x473),new _0x5abfd2()),_0x248767(this,_0x50054d(0x21b),new _0x4263aa());}[_0x292328(0x350)](_0x505245,_0x37f014,_0x2ceb4c){const _0x471b3c=_0x292328;if(!this[_0x471b3c(0x189)][_0x471b3c(0x3b8)](_0x505245[_0x471b3c(0x31f)]()))throw Error(_0x471b3c(0x41f));(0x0,_0x36cce1[_0x471b3c(0x38f)])(_0x37f014),this[_0x471b3c(0x568)](_0x505245,this[_0x471b3c(0x473)]['createTable'](_0x505245['getSnapshot'](),_0x37f014,_0x2ceb4c));}['renameTable'](_0x1a2db8,_0x453144,_0x3241b7){const _0x5b8b5a=_0x292328;if(!this[_0x5b8b5a(0x189)][_0x5b8b5a(0x3b7)](_0x453144))throw Error(_0x5b8b5a(0x162));this[_0x5b8b5a(0x568)](_0x1a2db8,this[_0x5b8b5a(0x473)][_0x5b8b5a(0x3bd)](_0x1a2db8['getSnapshot'](),_0x453144,_0x3241b7));}[_0x292328(0x20e)](_0x2fd8ba,_0x4affd3){const _0x304e68=_0x292328;if(!this['_permissionService'][_0x304e68(0x3d2)](_0x4affd3))throw Error(_0x304e68(0x3a1));let _0x431de2=_0x28bc25(_0x2fd8ba[_0x304e68(0x363)](),_0x4affd3);if(_0x431de2[_0x304e68(0x4fc)]>0x0)throw Error(_0x304e68(0x34e)+_0x431de2[_0x304e68(0x421)](_0x487d52=>_0x487d52['tableId']+'.'+_0x487d52[_0x304e68(0x450)])['join'](',\x20')+').');this[_0x304e68(0x568)](_0x2fd8ba,this[_0x304e68(0x473)][_0x304e68(0x20e)](_0x2fd8ba[_0x304e68(0x363)](),_0x4affd3));}[_0x292328(0x2c7)](_0x1264aa,_0x35e1da,_0x40421d,_0x10f9fd,_0x4c52cc){const _0x5055eb=_0x292328;this[_0x5055eb(0x568)](_0x1264aa,this[_0x5055eb(0x114)](_0x1264aa,_0x35e1da,_0x40421d,_0x10f9fd,_0x4c52cc));}[_0x292328(0x2ea)](_0x233a78,_0x5a1cd6,_0x2bff8a){const _0x47567c=_0x292328;this[_0x47567c(0x568)](_0x233a78,this[_0x47567c(0x343)](_0x233a78,_0x5a1cd6,_0x2bff8a));}['createRecord'](_0x5b950e,_0x4de910,_0x1f9c66){const _0x548841=_0x292328;this['_apply'](_0x5b950e,this[_0x548841(0x1a0)](_0x5b950e,_0x4de910,_0x1f9c66));}[_0x292328(0x114)](_0x3edb74,_0x5787a2,_0x42ab6c,_0x302bd5,_0xdc48a0){const _0x334d9f=_0x292328;let _0x463451=_0x3edb74[_0x334d9f(0x363)](),_0x5ed167=this['_normalizeCellValue'](_0x463451,_0x5787a2,_0x42ab6c,_0x302bd5,_0xdc48a0),_0x568664=this[_0x334d9f(0x2c0)](_0x463451,_0x5787a2,_0x42ab6c,{[_0x302bd5]:_0x5ed167});return this[_0x334d9f(0x473)][_0x334d9f(0x2ea)](_0x463451,_0x5787a2,[_0x568664]);}[_0x292328(0x343)](_0x257156,_0x1438ea,_0x2bddc6){const _0x4e1bbb=_0x292328;let _0x4af678=_0x257156['getSnapshot'](),_0x3f1e45=_0x2bddc6[_0x4e1bbb(0x421)](_0x47d510=>this[_0x4e1bbb(0x2c0)](_0x4af678,_0x1438ea,_0x47d510[_0x4e1bbb(0x33c)],{...Object['fromEntries'](Object['entries'](_0x47d510['values'])['map'](([_0x31a546,_0x4378ec])=>[_0x31a546,this[_0x4e1bbb(0x1ac)](_0x4af678,_0x1438ea,_0x47d510[_0x4e1bbb(0x33c)],_0x31a546,_0x4378ec)]))}));return this['_factory'][_0x4e1bbb(0x2ea)](_0x4af678,_0x1438ea,_0x3f1e45);}[_0x292328(0x1a0)](_0x44e585,_0x223a96,_0x36d22b){const _0x39ad5e=_0x292328;if(!this[_0x39ad5e(0x189)][_0x39ad5e(0x3ae)](_0x223a96))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x1c97f0=_0x44e585['getSnapshot'](),_0x1120cd=this[_0x39ad5e(0x31c)](_0x1c97f0[_0x39ad5e(0x288)][_0x223a96]);return this[_0x39ad5e(0x473)][_0x39ad5e(0x194)](_0x1c97f0,_0x223a96,this[_0x39ad5e(0x4d0)](_0x1c97f0,_0x223a96,_0x36d22b,_0x1120cd));}[_0x292328(0x516)](_0x4ebfeb,_0xffd3aa,_0x938c74){const _0x162bf0=_0x292328;if(!this[_0x162bf0(0x189)][_0x162bf0(0x3ae)](_0xffd3aa))throw Error(_0x162bf0(0x1e2));let _0x273ee4=_0x4ebfeb[_0x162bf0(0x363)]();return _0x296aa6('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x5f3ea1=_0x162bf0;let _0x567526=this['_createNumberingAllocators'](_0x273ee4[_0x5f3ea1(0x288)][_0xffd3aa]);return this[_0x5f3ea1(0x473)][_0x5f3ea1(0x508)](_0x273ee4,_0xffd3aa,_0x938c74[_0x5f3ea1(0x421)](_0xc4df73=>this[_0x5f3ea1(0x4d0)](_0x273ee4,_0xffd3aa,_0xc4df73,_0x567526)));},{'existingRecords':Object['keys'](_0x273ee4[_0x162bf0(0x288)][_0xffd3aa][_0x162bf0(0x46f)])['length'],'records':_0x938c74['length']});}['createCreateFieldOp'](_0x3d05bc,_0xebb2e4,_0x248f11,_0x1a5248,_0x3cf2ae){const _0x43c385=_0x292328;if(!this[_0x43c385(0x189)][_0x43c385(0x3af)](_0xebb2e4))throw Error(_0x43c385(0x45e));let _0x548c2c=_0x3d05bc['getSnapshot']();if(this[_0x43c385(0x3f9)](_0x548c2c,_0x248f11),_0x1a5248===0x0)throw Error(_0x43c385(0x312));let _0x1eae64=this[_0x43c385(0x473)][_0x43c385(0x51d)](_0x548c2c,_0xebb2e4,{'field':_0x248f11,'index':_0x1a5248,'viewIndexes':_0x3cf2ae}),_0x55f391=this[_0x43c385(0x245)](_0x548c2c,_0xebb2e4,_0x248f11);if(!_0x55f391[_0x43c385(0x4fc)])return _0x1eae64;let _0x75cd16=this[_0x43c385(0x21b)][_0x43c385(0x4a2)](_0x548c2c,_0x1eae64);return _0x30ac86([_0x1eae64,this[_0x43c385(0x473)][_0x43c385(0x2ea)](_0x75cd16,_0xebb2e4,_0x55f391)]);}[_0x292328(0x1c0)](_0x2862a2,_0x289262,_0x425710){const _0x7e2cbb=_0x292328;if(!this[_0x7e2cbb(0x189)][_0x7e2cbb(0x4d8)](_0x289262,_0x425710))throw Error(_0x7e2cbb(0x34f));this[_0x7e2cbb(0x568)](_0x2862a2,this['_factory'][_0x7e2cbb(0x1c0)](_0x2862a2[_0x7e2cbb(0x363)](),_0x289262,_0x425710));}['duplicateRecord'](_0x4e0ffe,_0x4376d1,_0x5b1d79,_0x37aee1){const _0x2f3721=_0x292328;if(!this[_0x2f3721(0x189)]['canCreateRecord'](_0x4376d1))throw Error(_0x2f3721(0x1e2));this[_0x2f3721(0x568)](_0x4e0ffe,this[_0x2f3721(0x473)]['duplicateRecord'](_0x4e0ffe[_0x2f3721(0x363)](),_0x4376d1,_0x5b1d79,{..._0x37aee1,'values':{..._0x37aee1['values'],[_0x36cce1[_0x2f3721(0x4ca)]]:_0x37aee1['id']}}));}[_0x292328(0x1a2)](_0x4e03ca,_0x565edd,_0x4a964a,_0x467f4e){const _0x2a20bb=_0x292328;if(!this[_0x2a20bb(0x189)][_0x2a20bb(0x294)](_0x565edd,_0x4a964a))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record.');this[_0x2a20bb(0x568)](_0x4e03ca,this[_0x2a20bb(0x473)]['updateRecordOrder'](_0x4e03ca[_0x2a20bb(0x363)](),_0x565edd,_0x4a964a,_0x467f4e));}[_0x292328(0x51d)](_0x19352b,_0x1e8afe,_0x483b66,_0x3139b4,_0x58156b){const _0x3408c8=_0x292328;this[_0x3408c8(0x568)](_0x19352b,this[_0x3408c8(0x1dc)](_0x19352b,_0x1e8afe,_0x483b66,_0x3139b4,_0x58156b));}[_0x292328(0x353)](_0x40af78,_0x2ca2f5,_0x5a90fc,_0xe2d712){const _0x2cb4ba=_0x292328;var _0x113483;if(!this[_0x2cb4ba(0x189)][_0x2cb4ba(0x28e)](_0x2ca2f5,_0x5a90fc))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0xdd6636=_0x40af78[_0x2cb4ba(0x363)](),_0x34ffa0=(_0x113483=_0xdd6636[_0x2cb4ba(0x288)][_0x2ca2f5])==null?void 0x0:_0x113483[_0x2cb4ba(0x445)][_0x5a90fc];if(!_0x34ffa0||_0x5a90fc===_0x36cce1[_0x2cb4ba(0x4ca)])throw Error(_0x2cb4ba(0x1d2));this[_0x2cb4ba(0x3f9)](_0xdd6636,{..._0x34ffa0,..._0xe2d712}),this[_0x2cb4ba(0x568)](_0x40af78,this[_0x2cb4ba(0x473)][_0x2cb4ba(0x353)](_0xdd6636,_0x2ca2f5,_0x5a90fc,_0xe2d712));}['changeFieldType'](_0xd70fa8,_0x3eee34,_0x56073c,_0x21ad42){const _0x19f5f7=_0x292328;var _0x389d26;if(!this[_0x19f5f7(0x189)][_0x19f5f7(0x28e)](_0x3eee34,_0x56073c))throw Error(_0x19f5f7(0x284));let _0x458500=_0xd70fa8[_0x19f5f7(0x363)](),_0x4c1f60=(_0x389d26=_0x458500[_0x19f5f7(0x288)][_0x3eee34])==null?void 0x0:_0x389d26[_0x19f5f7(0x445)][_0x56073c];if(!_0x4c1f60||_0x56073c===_0x36cce1[_0x19f5f7(0x4ca)])throw Error(_0x19f5f7(0x3d1));this[_0x19f5f7(0x3f9)](_0x458500,{..._0x4c1f60,..._0x21ad42}),this['_apply'](_0xd70fa8,this[_0x19f5f7(0x473)]['changeFieldType'](_0x458500,_0x3eee34,_0x56073c,_0x21ad42));}[_0x292328(0x372)](_0x31b734,_0x4b5956,_0x5da53f){const _0x75307a=_0x292328;var _0x5728bd;if(((_0x5728bd=_0x31b734[_0x75307a(0x363)]()[_0x75307a(0x288)][_0x4b5956])==null?void 0x0:_0x5728bd[_0x75307a(0x190)])===_0x5da53f||_0x5da53f===_0x36cce1['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x75307a(0x192));if(!this[_0x75307a(0x189)][_0x75307a(0x57b)](_0x4b5956,_0x5da53f))throw Error(_0x75307a(0x1eb));this[_0x75307a(0x568)](_0x31b734,this[_0x75307a(0x473)][_0x75307a(0x372)](_0x31b734['getSnapshot'](),_0x4b5956,_0x5da53f));}['moveField'](_0x50b89f,_0x4464e0,_0x51455f,_0x396a58){const _0x298af1=_0x292328;if(!this['_permissionService'][_0x298af1(0x28e)](_0x4464e0,_0x51455f))throw Error(_0x298af1(0x284));if(_0x51455f===_0x36cce1[_0x298af1(0x4ca)]||_0x396a58[_0x298af1(0x38c)]===_0x36cce1[_0x298af1(0x4ca)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x298af1(0x568)](_0x50b89f,this[_0x298af1(0x473)]['moveField'](_0x50b89f[_0x298af1(0x363)](),_0x4464e0,_0x51455f,_0x396a58));}['createView'](_0x5e71bc,_0x4a4388,_0x7363a2,_0x43a4af){const _0xd5525f=_0x292328;if(!this['_permissionService'][_0xd5525f(0x21a)](_0x4a4388,_0x7363a2['id']))throw Error(_0xd5525f(0x210));this['_apply'](_0x5e71bc,this['_factory'][_0xd5525f(0x412)](_0x5e71bc[_0xd5525f(0x363)](),_0x4a4388,_0x7363a2,_0x43a4af));}[_0x292328(0x354)](_0x2fbc11,_0x16cf1d,_0x1192ac,_0x545a81){const _0x3e7095=_0x292328;if(!this[_0x3e7095(0x189)]['canManageView'](_0x16cf1d,_0x1192ac))throw Error(_0x3e7095(0x210));this['_apply'](_0x2fbc11,this[_0x3e7095(0x473)]['renameView'](_0x2fbc11[_0x3e7095(0x363)](),_0x16cf1d,_0x1192ac,_0x545a81));}[_0x292328(0x536)](_0x47f85e,_0x43a35,_0x59ed45){const _0x482fb1=_0x292328;if(!this[_0x482fb1(0x189)][_0x482fb1(0x21a)](_0x43a35,_0x59ed45))throw Error(_0x482fb1(0x210));this[_0x482fb1(0x568)](_0x47f85e,this['_factory'][_0x482fb1(0x536)](_0x47f85e['getSnapshot'](),_0x43a35,_0x59ed45));}['moveView'](_0x538f47,_0x4e199d,_0x28d886,_0x138447){const _0x4d83af=_0x292328;if(!this[_0x4d83af(0x189)]['canManageView'](_0x4e199d,_0x28d886))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x538f47,this[_0x4d83af(0x473)][_0x4d83af(0x1cc)](_0x538f47[_0x4d83af(0x363)](),_0x4e199d,_0x28d886,_0x138447));}[_0x292328(0x3e9)](_0x5145a8,_0xfb9699,_0x446009,_0x4f7c9e){const _0x12a0f4=_0x292328;if(!this[_0x12a0f4(0x189)]['canManageView'](_0xfb9699,_0x446009))throw Error(_0x12a0f4(0x210));this[_0x12a0f4(0x568)](_0x5145a8,this[_0x12a0f4(0x473)][_0x12a0f4(0x3e9)](_0x5145a8[_0x12a0f4(0x363)](),_0xfb9699,_0x446009,_0x4f7c9e));}[_0x292328(0x1da)](_0x4deaa6,_0x14d3fa,_0x104d8b,_0x11ac2a){const _0x4e5a53=_0x292328;if(!this[_0x4e5a53(0x189)][_0x4e5a53(0x21a)](_0x14d3fa,_0x104d8b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4e5a53(0x568)](_0x4deaa6,this[_0x4e5a53(0x473)]['setViewFilter'](_0x4deaa6[_0x4e5a53(0x363)](),_0x14d3fa,_0x104d8b,_0x11ac2a));}['setViewSort'](_0x9fde43,_0x5a98e6,_0x100826,_0x469571){const _0x341ebc=_0x292328;if(!this[_0x341ebc(0x189)]['canManageView'](_0x5a98e6,_0x100826))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x341ebc(0x568)](_0x9fde43,this[_0x341ebc(0x473)]['setViewSort'](_0x9fde43[_0x341ebc(0x363)](),_0x5a98e6,_0x100826,_0x469571));}['setViewGroup'](_0x5c2af4,_0x5e308f,_0x379a69,_0x576ad5){const _0x2055d8=_0x292328;if(!this[_0x2055d8(0x189)][_0x2055d8(0x21a)](_0x5e308f,_0x379a69))throw Error(_0x2055d8(0x210));this[_0x2055d8(0x568)](_0x5c2af4,this[_0x2055d8(0x473)][_0x2055d8(0x19b)](_0x5c2af4[_0x2055d8(0x363)](),_0x5e308f,_0x379a69,_0x576ad5));}['setViewFieldVisible'](_0x1662a7,_0x14502d,_0x1e71bb,_0x4faf3d,_0x2b023a){const _0x4fe92c=_0x292328;if(!this[_0x4fe92c(0x189)][_0x4fe92c(0x21a)](_0x14502d,_0x1e71bb))throw Error(_0x4fe92c(0x210));this['_apply'](_0x1662a7,this[_0x4fe92c(0x473)][_0x4fe92c(0x181)](_0x1662a7[_0x4fe92c(0x363)](),_0x14502d,_0x1e71bb,_0x4faf3d,_0x2b023a));}['setViewFieldWidth'](_0x312534,_0x578b3a,_0x2516e9,_0x2515db,_0x34cef8){const _0x158dc2=_0x292328;if(!this[_0x158dc2(0x189)][_0x158dc2(0x21a)](_0x578b3a,_0x2516e9))throw Error(_0x158dc2(0x210));this[_0x158dc2(0x568)](_0x312534,this['_factory']['setViewFieldWidth'](_0x312534[_0x158dc2(0x363)](),_0x578b3a,_0x2516e9,_0x2515db,_0x34cef8));}[_0x292328(0x239)](_0x37b0a5,_0x22de6d,_0x13d503,_0x1420c2,_0x5a3f81){const _0x749344=_0x292328;if(!this[_0x749344(0x189)][_0x749344(0x21a)](_0x22de6d,_0x13d503))throw Error(_0x749344(0x210));this[_0x749344(0x568)](_0x37b0a5,this[_0x749344(0x473)]['setViewFieldOrder'](_0x37b0a5[_0x749344(0x363)](),_0x22de6d,_0x13d503,_0x1420c2,_0x5a3f81));}['_apply'](_0x3d1199,_0x45ef67){const _0x188cc3=_0x292328;let _0xbeb5a3=_0x3d1199[_0x188cc3(0x363)]();_0x3d1199[_0x188cc3(0x371)](this['_applier'][_0x188cc3(0x4a2)](_0xbeb5a3,_0x45ef67));}[_0x292328(0x4d0)](_0x5bb074,_0x20c1ba,_0x23e95d,_0x5231e7=this[_0x292328(0x31c)](_0x5bb074[_0x292328(0x288)][_0x20c1ba])){const _0x5ec7c4=_0x292328;let _0x127ddd=_0x5bb074[_0x5ec7c4(0x288)][_0x20c1ba],_0xf6d2d5=_0x23e95d['createdBy']??_0x23e95d[_0x5ec7c4(0x4a5)]??this[_0x5ec7c4(0x30d)](),_0x441593={..._0x23e95d,'createdBy':_0x23e95d[_0x5ec7c4(0x47d)]??_0xf6d2d5,'updatedBy':_0x23e95d[_0x5ec7c4(0x4a5)]??_0xf6d2d5,'values':{..._0x23e95d['values']}};return _0x441593[_0x5ec7c4(0x1ea)][_0x36cce1[_0x5ec7c4(0x4ca)]]=_0x441593['id'],_0x127ddd['fieldOrder']['forEach'](_0x5461f9=>{const _0x3742e8=_0x5ec7c4;let _0x3ea889=_0x127ddd[_0x3742e8(0x445)][_0x5461f9];if(_0x3ea889&&_0x441593[_0x3742e8(0x1ea)][_0x5461f9]===void 0x0)switch(_0x3ea889[_0x3742e8(0x11c)]){case _0x36cce1[_0x3742e8(0x229)][_0x3742e8(0x417)]:var _0x6532f9;_0x441593[_0x3742e8(0x1ea)][_0x5461f9]=((_0x6532f9=_0x5231e7[_0x3742e8(0x1fa)](_0x5461f9))==null?void 0x0:_0x6532f9())??this['_createNumberingAllocator'](_0x127ddd,_0x5461f9)();break;case _0x36cce1[_0x3742e8(0x229)][_0x3742e8(0x1d5)]:_0x441593[_0x3742e8(0x47d)]&&(_0x441593[_0x3742e8(0x1ea)][_0x5461f9]=_0x441593[_0x3742e8(0x47d)]);break;case _0x36cce1[_0x3742e8(0x229)][_0x3742e8(0x11a)]:_0x441593[_0x3742e8(0x4a5)]&&(_0x441593[_0x3742e8(0x1ea)][_0x5461f9]=_0x441593['updatedBy']);break;case _0x36cce1[_0x3742e8(0x229)]['CreatedAt']:_0x441593['values'][_0x5461f9]=_0x3c98ee(_0x441593[_0x3742e8(0x263)]);break;case _0x36cce1[_0x3742e8(0x229)]['UpdatedAt']:_0x441593[_0x3742e8(0x1ea)][_0x5461f9]=_0x3c98ee(_0x441593[_0x3742e8(0x4af)]);break;default:{let _0x1d44f7=_0x3ea889['defaultValue'];_0x1d44f7!=null&&_0x1d44f7!==''&&!(Array[_0x3742e8(0x3fe)](_0x1d44f7)&&_0x1d44f7[_0x3742e8(0x4fc)]===0x0)&&(_0x441593[_0x3742e8(0x1ea)][_0x5461f9]=_0x1d44f7);}}}),_0x441593;}[_0x292328(0x2c0)](_0x324b13,_0x2535ea,_0x534674,_0x3514a2){const _0x2915be=_0x292328;var _0x10b540,_0x3762e3;let _0x385fab=_0x324b13[_0x2915be(0x288)][_0x2535ea],_0x12bbfb=((_0x10b540=(_0x3762e3=this['_runtimeContext'])[_0x2915be(0x37c)])==null?void 0x0:_0x10b540[_0x2915be(0x4ee)](_0x3762e3))??Date['now'](),_0xf0018e=this['_getCurrentUserId'](),_0x378b3f={..._0x3514a2};return _0x385fab[_0x2915be(0x379)]['forEach'](_0x280906=>{const _0x5b08ad=_0x2915be;let _0x11c656=_0x385fab[_0x5b08ad(0x445)][_0x280906];_0x11c656&&(_0x11c656[_0x5b08ad(0x11c)]===_0x36cce1[_0x5b08ad(0x229)][_0x5b08ad(0x203)]&&(_0x378b3f[_0x280906]=_0x3c98ee(_0x12bbfb)),_0x11c656[_0x5b08ad(0x11c)]===_0x36cce1[_0x5b08ad(0x229)][_0x5b08ad(0x11a)]&&_0xf0018e&&(_0x378b3f[_0x280906]=_0xf0018e));}),{'recordId':_0x534674,'values':_0x378b3f,'recordPatch':{'updatedAt':_0x12bbfb,..._0xf0018e?{'updatedBy':_0xf0018e}:{}}};}[_0x292328(0x245)](_0x16db1e,_0x187615,_0x2c5e46){const _0x44bb9f=_0x292328;let _0x11ea53=_0x16db1e[_0x44bb9f(0x288)][_0x187615];return!_0x11ea53||!_0x35269c(_0x2c5e46)?[]:_0x2c5e46[_0x44bb9f(0x11c)]===_0x36cce1[_0x44bb9f(0x229)][_0x44bb9f(0x417)]?this['_createNumberingFieldValuePatches'](_0x11ea53,_0x2c5e46['id']):Object[_0x44bb9f(0x1ea)](_0x11ea53[_0x44bb9f(0x46f)])['flatMap'](_0x1faad9=>{const _0x257d59=_0x44bb9f;let _0x32525f=this[_0x257d59(0x325)](_0x2c5e46,_0x1faad9);return _0x32525f===void 0x0?[]:[{'recordId':_0x1faad9['id'],'values':{[_0x2c5e46['id']]:_0x32525f}}];});}['_getSystemFieldValue'](_0x5cc7df,_0x2354ca){const _0x5c3b2d=_0x292328;switch(_0x5cc7df[_0x5c3b2d(0x11c)]){case _0x36cce1[_0x5c3b2d(0x229)]['CreatedBy']:return _0x2354ca['createdBy']??this[_0x5c3b2d(0x30d)]();case _0x36cce1[_0x5c3b2d(0x229)]['UpdatedBy']:return _0x2354ca[_0x5c3b2d(0x4a5)]??this[_0x5c3b2d(0x30d)]();case _0x36cce1[_0x5c3b2d(0x229)][_0x5c3b2d(0x4a1)]:return _0x3c98ee(_0x2354ca['createdAt']??Date[_0x5c3b2d(0x37c)]());case _0x36cce1['BaseFieldType'][_0x5c3b2d(0x203)]:return _0x3c98ee(_0x2354ca[_0x5c3b2d(0x4af)]??Date[_0x5c3b2d(0x37c)]());default:return;}}[_0x292328(0x31c)](_0x15718d){const _0x24a38a=_0x292328;let _0xd68d7a=new Map();return _0x15718d&&_0x15718d[_0x24a38a(0x379)][_0x24a38a(0x56d)](_0x2f47c6=>{const _0x5d0f22=_0x24a38a;let _0x129dd7=_0x15718d[_0x5d0f22(0x445)][_0x2f47c6];(_0x129dd7==null?void 0x0:_0x129dd7[_0x5d0f22(0x11c)])===_0x36cce1[_0x5d0f22(0x229)][_0x5d0f22(0x417)]&&_0xd68d7a['set'](_0x2f47c6,this[_0x5d0f22(0x256)](_0x15718d,_0x2f47c6));}),_0xd68d7a;}[_0x292328(0x256)](_0x120fae,_0x3f11da){const _0x54a8c7=_0x292328;let _0x33b8a5=Object[_0x54a8c7(0x1ea)](_0x120fae[_0x54a8c7(0x46f)])[_0x54a8c7(0x140)]((_0x4160b5,_0x308c44)=>{const _0x191562=_0x54a8c7;let _0x228ec7=Number(_0x308c44[_0x191562(0x1ea)][_0x3f11da]);return Number[_0x191562(0x313)](_0x228ec7)?Math[_0x191562(0x2ac)](_0x4160b5,_0x228ec7):_0x4160b5;},0x0);return()=>String(++_0x33b8a5);}[_0x292328(0x3de)](_0x36cae8,_0x124028){const _0x463814=_0x292328;let _0x3c1f8e=this[_0x463814(0x3ad)](_0x36cae8),_0x14e885=this[_0x463814(0x256)](_0x36cae8,_0x124028);return _0x3c1f8e[_0x463814(0x57e)](_0x3e1823=>this[_0x463814(0x2ab)](_0x3e1823[_0x463814(0x1ea)][_0x124028])?[]:[{'recordId':_0x3e1823['id'],'values':{[_0x124028]:_0x14e885()}}]);}[_0x292328(0x3ad)](_0x3f378a){const _0x232e9b=_0x292328;var _0x31e67c;let _0x15cb60=Object[_0x232e9b(0x1ea)](_0x3f378a[_0x232e9b(0x46f)]),_0x57bc97=new Map(_0x15cb60['map'](_0xa05aa4=>[_0xa05aa4['id'],_0xa05aa4])),_0x1862ca=[],_0x3b4290=new Set();(_0x31e67c=_0x3f378a['recordOrder'])==null||_0x31e67c[_0x232e9b(0x56d)](_0x4daa74=>{const _0x3c6033=_0x232e9b;let _0xc8701f=_0x57bc97[_0x3c6033(0x1fa)](_0x4daa74);_0xc8701f&&(_0x1862ca[_0x3c6033(0x429)](_0xc8701f),_0x3b4290[_0x3c6033(0x18c)](_0x4daa74));});let _0x163b64=_0x15cb60['filter'](_0x1a331c=>!_0x3b4290[_0x232e9b(0x16f)](_0x1a331c['id']))[_0x232e9b(0x2e9)]((_0xb7bfaa,_0x24cdfe)=>String(_0xb7bfaa[_0x232e9b(0x449)]??_0xb7bfaa['id'])[_0x232e9b(0x211)](String(_0x24cdfe[_0x232e9b(0x449)]??_0x24cdfe['id']))||_0xb7bfaa['id'][_0x232e9b(0x211)](_0x24cdfe['id']));return[..._0x1862ca,..._0x163b64];}[_0x292328(0x2ab)](_0x419abe){const _0x12e46c=_0x292328;return _0x419abe!=null&&_0x419abe!==''&&!(Array[_0x12e46c(0x3fe)](_0x419abe)&&_0x419abe[_0x12e46c(0x4fc)]===0x0);}['_getCurrentUserId'](){const _0xe374a4=_0x292328;var _0x420270,_0x2e0746,_0x3e3532,_0x25b7ef;return((_0x420270=(_0x2e0746=this['_runtimeContext'])[_0xe374a4(0x538)])==null?void 0x0:_0x420270[_0xe374a4(0x4ee)](_0x2e0746))??((_0x3e3532=(_0x25b7ef=this[_0xe374a4(0x484)])[_0xe374a4(0x24c)])==null||(_0x3e3532=_0x3e3532['call'](_0x25b7ef))==null?void 0x0:_0x3e3532[_0xe374a4(0x16e)])??void 0x0;}['_normalizeCellValue'](_0x34bb01,_0x2bea53,_0x96707c,_0x49d02b,_0x554e95){const _0x2f64c2=_0x292328;var _0x73ad72;if(!this[_0x2f64c2(0x189)][_0x2f64c2(0x54e)](_0x2bea53,_0x96707c,_0x49d02b))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x29b42a=(_0x73ad72=_0x34bb01[_0x2f64c2(0x288)][_0x2bea53])==null?void 0x0:_0x73ad72[_0x2f64c2(0x445)][_0x49d02b];if(!_0x29b42a)throw Error(_0x2f64c2(0x576)+_0x49d02b+_0x2f64c2(0x52d));let _0x393d63=this[_0x2f64c2(0x438)][_0x2f64c2(0x1fa)](_0x29b42a[_0x2f64c2(0x11c)]);if(_0x29b42a[_0x2f64c2(0x167)]||_0x29b42a[_0x2f64c2(0x460)]||!_0x393d63[_0x2f64c2(0x389)](_0x29b42a)[_0x2f64c2(0x122)])throw Error(_0x2f64c2(0x193));let _0x4bc031=_0x393d63[_0x2f64c2(0x342)](_0x554e95,_0x29b42a),_0x43571c=_0x393d63[_0x2f64c2(0x32e)](_0x4bc031,_0x29b42a);if(!_0x43571c[_0x2f64c2(0x4b7)])throw Error(_0x43571c['reason']??_0x2f64c2(0x427));let _0x283497=_0x29b42a['type']===_0x36cce1[_0x2f64c2(0x229)][_0x2f64c2(0x423)]?_0x4a4fc8(_0x34bb01,_0x29b42a,_0x4bc031):{'valid':!0x0};if(!_0x283497[_0x2f64c2(0x4b7)])throw Error(_0x283497[_0x2f64c2(0x49d)]??'[BaseCommandService]:\x20invalid\x20RecordLink\x20value.');return _0x4bc031;}['_assertFieldDefinition'](_0x3440f6,_0x4489de){const _0x494fa3=_0x292328;if(_0x4489de['id']===_0x36cce1[_0x494fa3(0x4ca)]||_0x4489de[_0x494fa3(0x11c)]===_0x36cce1[_0x494fa3(0x229)][_0x494fa3(0x15f)]||(0x0,_0x36cce1['isBaseRecordIdFieldName'])(_0x4489de[_0x494fa3(0x4c0)]))throw Error(_0x494fa3(0x543));let _0x3965c5=_0x383bb3(_0x3440f6,_0x4489de);if(!_0x3965c5[_0x494fa3(0x4b7)])throw Error(_0x3965c5[_0x494fa3(0x49d)]??_0x494fa3(0x3bf));}};_0x30002b=_0x1f4d84([_0xb6ba9a(0x0,_0x337558),_0xb6ba9a(0x1,_0x2da75e)],_0x30002b);function _0x119842(){const _0x52093e=_0x292328;let _0x355e73=new _0x596da3();return _0x55fdd8()['forEach'](_0x50ab08=>_0x355e73[_0x52093e(0x4f8)](_0x50ab08)),_0x355e73;}function _0x35269c(_0x163b4d){const _0xecde4c=_0x292328;return _0x163b4d['type']===_0x36cce1['BaseFieldType'][_0xecde4c(0x417)]||_0x163b4d[_0xecde4c(0x11c)]===_0x36cce1['BaseFieldType'][_0xecde4c(0x1d5)]||_0x163b4d[_0xecde4c(0x11c)]===_0x36cce1[_0xecde4c(0x229)][_0xecde4c(0x11a)]||_0x163b4d[_0xecde4c(0x11c)]===_0x36cce1[_0xecde4c(0x229)][_0xecde4c(0x4a1)]||_0x163b4d[_0xecde4c(0x11c)]===_0x36cce1[_0xecde4c(0x229)]['UpdatedAt'];}let _0x32a1a8=new Set([_0x36cce1[_0x292328(0x229)][_0x292328(0x390)],_0x36cce1[_0x292328(0x229)][_0x292328(0x160)],_0x36cce1[_0x292328(0x229)][_0x292328(0x42d)]]);function _0x48a569(_0xc48122){const _0x258ac1=_0x292328;let _0x5c5eea=_0xc48122['fields'][_0xc48122['primaryFieldId']];if((!_0x5c5eea||_0x5c5eea[_0x258ac1(0x460)]!==!0x0&&_0x5c5eea['id'][_0x258ac1(0x4db)]()!=='id'&&_0x5c5eea[_0x258ac1(0x4c0)][_0x258ac1(0x2b7)]()['toLowerCase']()!=='id')&&_0x5c5eea)return _0x5c5eea['id'];for(let _0x1e059f of _0xc48122[_0x258ac1(0x379)]){let _0x230865=_0xc48122[_0x258ac1(0x445)][_0x1e059f];if(_0x230865&&_0x230865['id']!==_0xc48122[_0x258ac1(0x190)]&&_0x230865[_0x258ac1(0x460)]!==!0x0&&_0x230865[_0x258ac1(0x11c)]!==_0x36cce1['BaseFieldType']['RecordId'])return _0x230865['id'];}return _0xc48122[_0x258ac1(0x190)];}function _0x328200(_0x15df97,_0x64b280=[],_0x1f1bff=0x5){const _0x47e8be=_0x292328;let _0xd583=new Set(_0x64b280[_0x47e8be(0x544)](_0x3a737a=>!!_0x3a737a)),_0x2e9c50=[],_0x378751=[];for(let _0x14daf9 of _0x15df97['fieldOrder']){let _0x21efd0=_0x15df97[_0x47e8be(0x445)][_0x14daf9];_0x21efd0&&_0x21efd0['system']!==!0x0&&_0x21efd0[_0x47e8be(0x11c)]!==_0x36cce1[_0x47e8be(0x229)][_0x47e8be(0x15f)]&&!_0xd583[_0x47e8be(0x16f)](_0x21efd0['id'])&&(_0x32a1a8[_0x47e8be(0x16f)](_0x21efd0['type'])?_0x2e9c50:_0x378751)[_0x47e8be(0x429)](_0x21efd0['id']);}return[..._0x2e9c50,..._0x378751][_0x47e8be(0x2ed)](0x0,_0x1f1bff);}function _0x381e13(){const _0x6b01dd=_0x292328;return[{'type':_0x36cce1[_0x6b01dd(0x4d1)]['Grid'],'i18nKey':_0x6b01dd(0x377),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2b1c20=_0x6b01dd;throw Error(_0x2b1c20(0x2f8));}},{'type':_0x36cce1['BaseViewType'][_0x6b01dd(0x1f1)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0xcd5232=>{const _0x1e412c=_0x6b01dd;let _0x4bc062=_0x4390ff(_0xcd5232);return{'groupFieldId':_0x4bc062,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0xcd5232[_0x1e412c(0x190)],'fieldIds':_0x328200(_0xcd5232,[_0xcd5232[_0x1e412c(0x190)],_0x4bc062])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x61732a=_0x6b01dd;throw Error(_0x61732a(0x393));}},{'type':_0x36cce1[_0x6b01dd(0x4d1)][_0x6b01dd(0x500)],'i18nKey':_0x6b01dd(0x550),'createDefaultConfig':_0x2c4556=>{const _0x21972e=_0x6b01dd;let _0x132085=_0x11dabf(_0x2c4556);return{'startDateFieldId':_0x132085,'endDateFieldId':_0x5114f5(_0x2c4556,_0x132085),'titleFieldId':_0x2c4556[_0x21972e(0x190)],'mode':_0x21972e(0x2e6),'timeslotSize':_0x21972e(0x2c5),'timeZone':'local','displayColor':{'type':_0x21972e(0x183),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x36cce1[_0x6b01dd(0x4d1)][_0x6b01dd(0x467)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x32b033=>{const _0x87c062=_0x6b01dd;let _0x3e6e70=_0x11dabf(_0x32b033);return{'startDateFieldId':_0x3e6e70,'endDateFieldId':_0x5114f5(_0x32b033,_0x3e6e70)??_0x3e6e70,'titleFieldId':_0x32b033['primaryFieldId'],'scale':_0x87c062(0x2e6),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x36cce1[_0x6b01dd(0x4d1)][_0x6b01dd(0x275)],'i18nKey':_0x6b01dd(0x502),'createDefaultConfig':_0x16ea2c=>{const _0x5de0ec=_0x6b01dd;let _0x53cda8=_0x48a569(_0x16ea2c);return{'coverFieldId':null,'cardLayout':_0x5de0ec(0x15c),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x53cda8,'coverFieldId':null,'fieldIds':_0x328200(_0x16ea2c,[_0x53cda8,_0x16ea2c['primaryFieldId']])},'cardSize':_0x5de0ec(0x2c5)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x4390ff(_0x1c3f64){const _0xd808f3=_0x292328;var _0x240900,_0x331ec9,_0x1967af;let _0x21f5b3=_0x1c3f64[_0xd808f3(0x379)]['map'](_0x2bd3d9=>_0x1c3f64[_0xd808f3(0x445)][_0x2bd3d9])[_0xd808f3(0x544)](_0x422833=>!!_0x422833);return((_0x240900=_0x21f5b3[_0xd808f3(0x304)](_0x4a3a08=>_0x4a3a08[_0xd808f3(0x11c)]===_0x36cce1['BaseFieldType'][_0xd808f3(0x117)]||_0x4a3a08['type']===_0x36cce1[_0xd808f3(0x229)][_0xd808f3(0x2fd)]||_0x4a3a08[_0xd808f3(0x11c)]===_0x36cce1[_0xd808f3(0x229)][_0xd808f3(0x408)]))==null?void 0x0:_0x240900['id'])??((_0x331ec9=_0x21f5b3[_0xd808f3(0x304)](_0xf3847e=>_0xf3847e[_0xd808f3(0x11c)]===_0x36cce1[_0xd808f3(0x229)][_0xd808f3(0x524)]))==null?void 0x0:_0x331ec9['id'])??((_0x1967af=_0x21f5b3[_0xd808f3(0x304)](_0x2c9954=>_0x2c9954[_0xd808f3(0x11c)]===_0x36cce1[_0xd808f3(0x229)][_0xd808f3(0x285)]||_0x2c9954[_0xd808f3(0x11c)]===_0x36cce1[_0xd808f3(0x229)]['CreatedAt']||_0x2c9954[_0xd808f3(0x11c)]===_0x36cce1[_0xd808f3(0x229)][_0xd808f3(0x203)]))==null?void 0x0:_0x1967af['id'])??_0x1c3f64['primaryFieldId'];}function _0x11dabf(_0x5059e6){const _0x10126a=_0x292328;var _0x64dbbd;return((_0x64dbbd=_0x5059e6['fieldOrder'][_0x10126a(0x421)](_0x258e7d=>_0x5059e6[_0x10126a(0x445)][_0x258e7d])[_0x10126a(0x304)](_0x46b3e9))==null?void 0x0:_0x64dbbd['id'])??'';}function _0x5114f5(_0x3d812b,_0x107cf4){const _0x4eb26b=_0x292328;var _0x1787c6;return(_0x1787c6=_0x3d812b[_0x4eb26b(0x379)][_0x4eb26b(0x421)](_0xf9e4f9=>_0x3d812b[_0x4eb26b(0x445)][_0xf9e4f9])[_0x4eb26b(0x304)](_0x59c893=>_0x46b3e9(_0x59c893)&&_0x59c893['id']!==_0x107cf4))==null?void 0x0:_0x1787c6['id'];}function _0x46b3e9(_0x242389){const _0x567505=_0x292328;return!!_0x242389&&_0x242389[_0x567505(0x11c)]===_0x36cce1[_0x567505(0x229)][_0x567505(0x285)]&&_0x242389[_0x567505(0x167)]!==!0x0&&_0x242389[_0x567505(0x460)]!==!0x0;}let _0x13cb3e=(0x0,_0x36cce1[_0x292328(0x260)])(_0x292328(0x134)),_0x2a708d=new Set([_0x36cce1['BaseFieldType'][_0x292328(0x28d)],_0x36cce1['BaseFieldType'][_0x292328(0x17d)],_0x36cce1['BaseFieldType'][_0x292328(0x390)],_0x36cce1[_0x292328(0x229)][_0x292328(0x160)],_0x36cce1[_0x292328(0x229)][_0x292328(0x285)],_0x36cce1['BaseFieldType']['CreatedAt'],_0x36cce1[_0x292328(0x229)][_0x292328(0x203)],_0x36cce1[_0x292328(0x229)]['Checkbox']]),_0x3867bc=0x5265c00,_0x2d40ed=class extends _0x36cce1[_0x292328(0x27c)]{constructor(_0x486363){const _0x21b009=_0x292328;super(),this[_0x21b009(0x438)]=_0x486363,_0x248767(this,_0x21b009(0x3ea),new Map()),_0x248767(this,'_projectionCache',new WeakMap()),_0x248767(this,_0x21b009(0x3fb),new Map()),_0x248767(this,_0x21b009(0x22f),new Map()),_0x248767(this,_0x21b009(0x1a5),new Map()),_0x248767(this,_0x21b009(0x43d),new Map()),_0x248767(this,_0x21b009(0x164),0x0),_0x248767(this,_0x21b009(0x4e7),new Map()),_0x248767(this,_0x21b009(0x466),new Map()),_0x248767(this,_0x21b009(0x23c),new Map()),_0x248767(this,'_viewRevisions',new Map());}['registerView'](_0x3710d9){const _0x141b1a=_0x292328;return this['_views'][_0x141b1a(0x251)](_0x3710d9['type'],_0x3710d9),(0x0,_0x36cce1[_0x141b1a(0x23e)])(()=>this[_0x141b1a(0x3ea)][_0x141b1a(0x3ce)](_0x3710d9['type']));}[_0x292328(0x373)](_0x5d2487,_0x12685a,_0x4a1564){const _0x36c3e0=_0x292328;var _0x16de0a,_0x1c45a6,_0x970c65;return _0x296aa6(_0x36c3e0(0x2c2),()=>{const _0x108622=_0x36c3e0;let _0x285e63=this[_0x108622(0x580)](_0x5d2487,_0x12685a,_0x4a1564);if(_0x285e63)return _0x285e63;let _0x30bea7=_0x5d2487[_0x108622(0x288)][_0x12685a],_0x42043e=_0x30bea7==null?void 0x0:_0x30bea7[_0x108622(0x2b9)][_0x4a1564];if(!_0x30bea7||!_0x42043e)return this[_0x108622(0x287)](_0x5d2487,_0x12685a,_0x4a1564,{'type':_0x108622(0x422),'viewType':(_0x42043e==null?void 0x0:_0x42043e[_0x108622(0x11c)])??_0x36cce1[_0x108622(0x4d1)][_0x108622(0x51b)],'reason':'missingField'});let _0x2a9383;switch(_0x42043e['type']){case _0x36cce1[_0x108622(0x4d1)][_0x108622(0x51b)]:_0x2a9383=this[_0x108622(0x34d)](_0x30bea7,_0x42043e);break;case _0x36cce1[_0x108622(0x4d1)]['Gantt']:_0x2a9383=this[_0x108622(0x361)](_0x30bea7,_0x42043e);break;case _0x36cce1['BaseViewType'][_0x108622(0x1f1)]:_0x2a9383=this[_0x108622(0x1a6)](_0x30bea7,_0x42043e);break;case _0x36cce1[_0x108622(0x4d1)][_0x108622(0x500)]:_0x2a9383=this['_buildCalendar'](_0x30bea7,_0x42043e);break;case _0x36cce1[_0x108622(0x4d1)]['Gallery']:_0x2a9383=this[_0x108622(0x216)](_0x30bea7,_0x42043e);break;default:_0x2a9383={'type':_0x108622(0x422),'viewType':_0x42043e['type'],'reason':_0x108622(0x22e)};}return this[_0x108622(0x287)](_0x5d2487,_0x12685a,_0x4a1564,_0x2a9383);},{'tableId':_0x12685a,'viewId':_0x4a1564,'viewType':(_0x16de0a=_0x5d2487[_0x36c3e0(0x288)][_0x12685a])==null||(_0x16de0a=_0x16de0a[_0x36c3e0(0x2b9)][_0x4a1564])==null?void 0x0:_0x16de0a[_0x36c3e0(0x11c)],'records':((_0x1c45a6=_0x5d2487['tables'][_0x12685a])==null||(_0x1c45a6=_0x1c45a6[_0x36c3e0(0x318)])==null?void 0x0:_0x1c45a6[_0x36c3e0(0x4fc)])??Object[_0x36c3e0(0x153)](((_0x970c65=_0x5d2487['tables'][_0x12685a])==null?void 0x0:_0x970c65[_0x36c3e0(0x46f)])??{})[_0x36c3e0(0x4fc)]});}[_0x292328(0x50a)](_0x4a7128,_0x43113d,_0x233421){const _0x3dc497=_0x292328;var _0x27fce6,_0x272548,_0x37b5f8;let _0x159d78=_0x4a7128[_0x3dc497(0x288)][_0x43113d],_0x13cf99=_0x159d78==null?void 0x0:_0x159d78[_0x3dc497(0x2b9)][_0x233421];if(!_0x159d78||!_0x13cf99)throw Error(_0x3dc497(0x1f0)+_0x233421+'\x22.');let _0x33900a=_0x57a9c6=>!!_0x159d78['fields'][_0x57a9c6],_0x48d03e={..._0x13cf99,'filter':_0x13cf99[_0x3dc497(0x544)]?{..._0x13cf99[_0x3dc497(0x544)],'conditions':_0x13cf99[_0x3dc497(0x544)][_0x3dc497(0x25b)][_0x3dc497(0x544)](_0x5062d2=>_0x33900a(_0x5062d2['fieldId']))}:_0x13cf99[_0x3dc497(0x544)],'sort':(_0x27fce6=_0x13cf99[_0x3dc497(0x2e9)])==null?void 0x0:_0x27fce6[_0x3dc497(0x544)](_0x26fd62=>_0x33900a(_0x26fd62[_0x3dc497(0x450)])),'group':(_0x272548=_0x13cf99[_0x3dc497(0x581)])==null?void 0x0:_0x272548[_0x3dc497(0x544)](_0x38f67c=>_0x33900a(_0x38f67c['fieldId'])),'fieldOrder':(_0x37b5f8=_0x13cf99[_0x3dc497(0x379)])==null?void 0x0:_0x37b5f8['filter'](_0x33900a),'fieldSettings':Object[_0x3dc497(0x2af)](Object[_0x3dc497(0x2e3)](_0x13cf99['fieldSettings']??{})[_0x3dc497(0x544)](([_0x4ed2b3])=>_0x33900a(_0x4ed2b3)))};if(_0x48d03e[_0x3dc497(0x11c)]==='kanban'){var _0x5189c0;let _0x50ad56=_0x48d03e[_0x3dc497(0x441)]??{},_0x12037c=this['_resolveKanbanGroupFieldId'](_0x159d78,_0x48d03e),_0x18325c=this[_0x3dc497(0x468)](_0x159d78,(_0x5189c0=_0x50ad56[_0x3dc497(0x46d)])==null?void 0x0:_0x5189c0[_0x3dc497(0x3c6)]);_0x48d03e[_0x3dc497(0x441)]={..._0x50ad56,'groupFieldId':_0x12037c??_0x50ad56[_0x3dc497(0x35e)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x159d78,_0x50ad56),'cardLayout':_0x50ad56[_0x3dc497(0x290)]===_0x3dc497(0x2b6)?_0x3dc497(0x2b6):_0x3dc497(0x15c),'showFieldNames':_0x50ad56['showFieldNames']!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3dc497(0x2e3)](_0x50ad56[_0x3dc497(0x4ff)]??{})[_0x3dc497(0x544)](([_0x3832a7])=>_0x33900a(_0x3832a7))),'columnSettings':_0x50ad56[_0x3dc497(0x338)]??{},'card':{..._0x50ad56['card']??{},'titleFieldId':_0x18325c,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x159d78,_0x48d03e,_0x12037c??'',_0x18325c)}};}return{'repaired':JSON[_0x3dc497(0x131)](_0x48d03e)!==JSON['stringify'](_0x13cf99),'view':_0x48d03e};}['invalidateByOp'](){const _0x54694d=_0x292328;this[_0x54694d(0x164)]++;}[_0x292328(0x1f5)](_0x5d0589,_0x2d9a90,_0x14a63a){const _0x35924a=_0x292328;let _0x32d8be=this[_0x35924a(0x12d)](_0x5d0589)+0x1;this[_0x35924a(0x466)]['set'](_0x5d0589,_0x32d8be);let _0x5e0144=this[_0x35924a(0x23c)][_0x35924a(0x1fa)](_0x5d0589)??[];_0x5e0144['push']({'revision':_0x32d8be,'recordId':_0x2d9a90,'fieldId':_0x14a63a}),this[_0x35924a(0x23c)][_0x35924a(0x251)](_0x5d0589,_0x5e0144);}[_0x292328(0x3d7)](_0x282881,_0x3c9dc7){const _0x4dd842=_0x292328;this[_0x4dd842(0x55d)](_0x282881);}['invalidateByView'](_0x335082,_0x5f3f9d){const _0x1aa6e0=_0x292328;this[_0x1aa6e0(0x16d)][_0x1aa6e0(0x251)](this[_0x1aa6e0(0x396)](_0x335082,_0x5f3f9d),this[_0x1aa6e0(0x557)](_0x335082,_0x5f3f9d)+0x1);}[_0x292328(0x580)](_0xbd182b,_0x5d7dc4,_0x2a1fc1){const _0x186ca4=_0x292328;var _0x1b7dc9;let _0x2a3483=(_0x1b7dc9=this[_0x186ca4(0x4e0)][_0x186ca4(0x1fa)](_0xbd182b))==null?void 0x0:_0x1b7dc9[_0x186ca4(0x1fa)](this[_0x186ca4(0x2d9)](_0x5d7dc4,_0x2a1fc1));return _0x2a3483&&_0x2a3483[_0x186ca4(0x486)]===this['_globalRevision']&&_0x2a3483[_0x186ca4(0x4ac)]===this[_0x186ca4(0x4a6)](_0x5d7dc4)&&_0x2a3483[_0x186ca4(0x512)]===this[_0x186ca4(0x12d)](_0x5d7dc4)&&_0x2a3483[_0x186ca4(0x24a)]===this['_getViewRevision'](_0x5d7dc4,_0x2a1fc1)?_0x2a3483[_0x186ca4(0x27b)]:null;}[_0x292328(0x287)](_0x59e44c,_0xbf8def,_0x552c85,_0x1dc8cd){const _0x2913c7=_0x292328;let _0x4ef105=this[_0x2913c7(0x4e0)][_0x2913c7(0x1fa)](_0x59e44c);return _0x4ef105||(_0x4ef105=new Map(),this[_0x2913c7(0x4e0)][_0x2913c7(0x251)](_0x59e44c,_0x4ef105)),_0x4ef105['set'](this['_cacheKey'](_0xbf8def,_0x552c85),{'projection':_0x1dc8cd,'globalRevision':this[_0x2913c7(0x164)],'tableRevision':this[_0x2913c7(0x4a6)](_0xbf8def),'cellRevision':this[_0x2913c7(0x12d)](_0xbf8def),'viewRevision':this[_0x2913c7(0x557)](_0xbf8def,_0x552c85)}),_0x1dc8cd;}[_0x292328(0x55d)](_0x28f3db){const _0x33b60c=_0x292328;this[_0x33b60c(0x4e7)][_0x33b60c(0x251)](_0x28f3db,this[_0x33b60c(0x4a6)](_0x28f3db)+0x1);}[_0x292328(0x4a6)](_0x56398d){const _0x70be11=_0x292328;return this[_0x70be11(0x4e7)]['get'](_0x56398d)??0x0;}['_getCellRevision'](_0x47004a){const _0x49902e=_0x292328;return this[_0x49902e(0x466)][_0x49902e(0x1fa)](_0x47004a)??0x0;}[_0x292328(0x557)](_0xd3f2f8,_0x428f76){const _0x16cf60=_0x292328;return this[_0x16cf60(0x16d)][_0x16cf60(0x1fa)](this[_0x16cf60(0x396)](_0xd3f2f8,_0x428f76))??0x0;}[_0x292328(0x2d9)](_0x4b4004,_0x292726){return _0x4b4004+'\x00'+_0x292726;}[_0x292328(0x53b)](_0x554fdb,_0x57fd50){const _0x4d31d8=_0x292328;return _0x554fdb+'\x00'+this[_0x4d31d8(0x2fc)](_0x57fd50);}['_groupsCacheKey'](_0x3b3099,_0x2ab800,_0x53a479){const _0x344289=_0x292328;return _0x3b3099+'\x00'+this[_0x344289(0x2fc)](_0x2ab800)+'\x00'+this[_0x344289(0x4cf)](_0x53a479);}[_0x292328(0x2fc)](_0x4a298a){const _0x2248d3=_0x292328;return _0x4a298a?_0x4bfa81({'filter':_0x123125(_0x4a298a[_0x2248d3(0x544)]),'sort':_0x2f49d8(_0x4a298a[_0x2248d3(0x2e9)])}):_0x2248d3(0x571);}['_groupConfigCacheSegment'](_0x49cbc4){const _0x1b3fd3=_0x292328;return _0x4bfa81(_0x49cbc4['map'](_0x49ac0a=>({'fieldId':_0x49ac0a[_0x1b3fd3(0x450)],'direction':_0x49ac0a[_0x1b3fd3(0x30e)]??null})));}[_0x292328(0x396)](_0x5051cb,_0x4a259d){return _0x5051cb+'\x00'+_0x4a259d;}['_buildGrid'](_0x554d99,_0x3e8a69){const _0x390374=_0x292328;var _0x1f89d2;let _0x100f33=_0x3dcefb(_0x554d99),_0x5fe8a2=this[_0x390374(0x332)](_0x554d99,_0x3e8a69),_0x40ae8b=(_0x1f89d2=_0x3e8a69[_0x390374(0x544)])!=null&&_0x1f89d2[_0x390374(0x25b)][_0x390374(0x4fc)]?this[_0x390374(0x332)](_0x554d99,{..._0x3e8a69,'filter':null}):_0x5fe8a2,_0x403111=_0x38e061(this[_0x390374(0x26b)](_0x554d99,_0x100f33,_0x3e8a69['id'],_0x40ae8b[_0x390374(0x421)](_0x528de6=>_0x528de6[_0x390374(0x33c)])),_0x40ae8b,new Set(_0x5fe8a2[_0x390374(0x421)](_0x59d1b2=>_0x59d1b2['recordId'])));return{'type':_0x36cce1[_0x390374(0x4d1)]['Grid'],'fields':this['_projectFields'](_0x554d99,_0x3e8a69),'rows':_0x403111['rows'],'groups':this[_0x390374(0x3b3)](_0x554d99,_0x3e8a69,_0x403111[_0x390374(0x195)],_0x403111['hierarchy']),'hierarchy':_0x403111['hierarchy'],'frozenFieldCount':typeof _0x3e8a69[_0x390374(0x441)][_0x390374(0x394)]==_0x390374(0x2dd)?_0x3e8a69[_0x390374(0x441)]['frozenFieldCount']:0x0};}[_0x292328(0x26b)](_0x988243,_0x4ba4bd,_0x3fc85d,_0x269113){const _0x2ec64b=_0x292328;let _0x1df436=_0x988243['id']+'\x00'+_0x4ba4bd+'\x00'+_0x3fc85d,_0xcc28b2=this[_0x2ec64b(0x12d)](_0x988243['id']),_0x53e6ad=this[_0x2ec64b(0x43d)][_0x2ec64b(0x1fa)](_0x1df436);if(_0x53e6ad&&_0x53e6ad[_0x2ec64b(0x486)]===this[_0x2ec64b(0x164)]&&_0x53e6ad[_0x2ec64b(0x4ac)]===this[_0x2ec64b(0x4a6)](_0x988243['id'])&&_0x53e6ad[_0x2ec64b(0x1f7)][_0x2ec64b(0x4fc)]===_0x269113['length']&&_0x53e6ad['orderedRecordIds'][_0x2ec64b(0x20f)]((_0x926fce,_0x5bf42f)=>_0x926fce===_0x269113[_0x5bf42f])){if(_0x53e6ad[_0x2ec64b(0x512)]===_0xcc28b2&&_0x53e6ad['table']===_0x988243)return _0x53e6ad[_0x2ec64b(0x129)];if(!this['_cellInvalidationsTouchFields'](_0x988243['id'],_0x53e6ad[_0x2ec64b(0x512)],_0xcc28b2,new Set([_0x4ba4bd])))return this[_0x2ec64b(0x43d)]['set'](_0x1df436,{..._0x53e6ad,'table':_0x988243,'cellRevision':_0xcc28b2}),_0x53e6ad[_0x2ec64b(0x129)];}let _0xad517f=_0x575e29(_0x988243,_0x4ba4bd,_0x269113);return this['_hierarchyIndexCache']['set'](_0x1df436,{'table':_0x988243,'index':_0xad517f,'orderedRecordIds':_0x269113,'globalRevision':this[_0x2ec64b(0x164)],'tableRevision':this[_0x2ec64b(0x4a6)](_0x988243['id']),'cellRevision':_0xcc28b2}),_0xad517f;}[_0x292328(0x3b3)](_0x27bcd8,_0x3d3897,_0x4f0e91,_0x9b2c25){const _0x5dc2f6=_0x292328;var _0x5a13a1;if(!((_0x5a13a1=_0x3d3897['group'])!=null&&_0x5a13a1[_0x5dc2f6(0x4fc)]))return[];let _0x49f29b=new Map(_0x4f0e91[_0x5dc2f6(0x421)](_0x2b1fe1=>[_0x2b1fe1['recordId'],_0x2b1fe1])),_0x35da37=_0x9b2c25[_0x5dc2f6(0x144)]['flatMap'](_0x380abc=>{let _0x547d01=_0x49f29b['get'](_0x380abc);return _0x547d01?[_0x547d01]:[];}),_0x569b8f=this['_projectGroups'](_0x27bcd8,_0x3d3897,_0x35da37),_0x415de5=new Map(_0x9b2c25['orderedRecordIds']['map']((_0x3bce34,_0x599e72)=>[_0x3bce34,_0x599e72])),_0xa1f4ff=_0x3b0be3=>{const _0x4be113=_0x5dc2f6;let _0x294a1f=_0x9b2c25['nodes'][_0x3b0be3],_0x1360c1=_0x415de5['get'](_0x3b0be3)??-0x1;return _0x1360c1<0x0||!_0x294a1f?[]:_0x9b2c25['orderedRecordIds'][_0x4be113(0x2ed)](_0x1360c1,_0x294a1f[_0x4be113(0x4fe)]+0x1);},_0x3cd762=_0x6a16ae=>{const _0x16c9ba=_0x5dc2f6;var _0x378b55,_0x57ceaa;return{..._0x6a16ae,'recordIds':(_0x378b55=_0x6a16ae['children'])!=null&&_0x378b55['length']?_0x6a16ae['recordIds']:_0x6a16ae[_0x16c9ba(0x375)][_0x16c9ba(0x57e)](_0xa1f4ff),'children':(_0x57ceaa=_0x6a16ae[_0x16c9ba(0x3f6)])==null?void 0x0:_0x57ceaa[_0x16c9ba(0x421)](_0x3cd762)};};return _0x569b8f[_0x5dc2f6(0x421)](_0x3cd762);}['_buildKanban'](_0x30c83c,_0xd7dcd){const _0x5f1904=_0x292328;var _0x104f42;let _0x59d0a2=this[_0x5f1904(0x20b)](_0x30c83c,_0xd7dcd),_0x215765=_0x59d0a2?_0x30c83c[_0x5f1904(0x445)][_0x59d0a2]:void 0x0;if(!_0x215765)return{'type':_0x5f1904(0x422),'viewType':_0x36cce1[_0x5f1904(0x4d1)]['Kanban'],'reason':_0x5f1904(0x51c),'fieldId':_0xd7dcd['config'][_0x5f1904(0x35e)]};let _0x122168=this['_projectRows'](_0x30c83c,_0xd7dcd),_0x410fb0=this[_0x5f1904(0x50e)](_0x30c83c,_0xd7dcd),_0x5e1df6=_0xd7dcd['config']??{},_0x9a74f3=this[_0x5f1904(0x468)](_0x30c83c,(_0x104f42=_0x5e1df6[_0x5f1904(0x46d)])==null?void 0x0:_0x104f42[_0x5f1904(0x3c6)]),_0x43292b=this[_0x5f1904(0x151)](_0x30c83c,_0xd7dcd,_0x215765['id'],_0x9a74f3),_0x19462c=new Map();if(_0x3e34db(_0x30c83c,_0x215765['id'])){let _0x56a9f8=this[_0x5f1904(0x26b)](_0x30c83c,_0x215765['id'],_0xd7dcd['id'],_0x122168['map'](_0x57b8fd=>_0x57b8fd[_0x5f1904(0x33c)])),_0x2312c1=new Map();return _0x122168['forEach'](_0x493d23=>{const _0x592703=_0x5f1904;let _0x4338b8=_0x56a9f8['parentByRecordId'][_0x592703(0x1fa)](_0x493d23[_0x592703(0x33c)])??null,_0x36301c=_0x4338b8??'',_0x20c5ac=_0x4338b8?_0x30c83c[_0x592703(0x46f)][_0x4338b8]:void 0x0,_0x5d0a25=_0x2312c1['get'](_0x36301c)??{'key':_0x36301c,'title':_0x20c5ac?String(_0x31c7d9(_0x30c83c,_0x20c5ac['id'],_0x30c83c['primaryFieldId'])??_0x4338b8):this[_0x592703(0x44b)](_0x215765,_0x36301c,_0x5e1df6),'recordIds':[]};_0x5d0a25[_0x592703(0x375)][_0x592703(0x429)](_0x493d23[_0x592703(0x33c)]),_0x2312c1[_0x592703(0x251)](_0x36301c,_0x5d0a25);}),{'type':_0x36cce1[_0x5f1904(0x4d1)][_0x5f1904(0x1f1)],'fields':_0x410fb0,'rows':_0x122168,'groups':[],'groupFieldId':_0x215765['id'],'titleFieldId':_0x9a74f3,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x30c83c,_0x5e1df6),'cardLayout':_0x5e1df6[_0x5f1904(0x290)]==='compose'?_0x5f1904(0x2b6):'normal','showFieldNames':_0x5e1df6[_0x5f1904(0x560)]!==!0x1,'visibleCardFieldIds':_0x43292b,'lanes':['',..._0x56a9f8[_0x5f1904(0x1f7)]][_0x5f1904(0x57e)](_0x166592=>{const _0x1f34c7=_0x5f1904;let _0x3fe713=_0x2312c1['get'](_0x166592);return _0x3fe713!=null&&_0x3fe713[_0x1f34c7(0x375)][_0x1f34c7(0x4fc)]?[_0x3fe713]:[];})};}return this[_0x5f1904(0x300)](_0x215765,_0x5e1df6)[_0x5f1904(0x56d)](_0x155380=>_0x19462c[_0x5f1904(0x251)](_0x155380[_0x5f1904(0x3ac)],{..._0x155380,'recordIds':[]})),_0x122168[_0x5f1904(0x56d)](_0x351ddf=>{const _0x136d0e=_0x5f1904;this[_0x136d0e(0x36b)](_0x215765,_0x351ddf['values'][_0x215765['id']])[_0x136d0e(0x56d)](_0x339730=>{const _0x1f748c=_0x136d0e;let _0x24a7d2=_0x19462c['get'](_0x339730)??{'key':_0x339730,'title':this[_0x1f748c(0x44b)](_0x215765,_0x339730,_0x5e1df6),'color':this['_kanbanLaneColor'](_0x215765,_0x339730,_0x5e1df6),'recordIds':[]};_0x24a7d2[_0x1f748c(0x375)][_0x1f748c(0x429)](_0x351ddf['recordId']),_0x19462c[_0x1f748c(0x251)](_0x339730,_0x24a7d2);});}),{'type':_0x36cce1[_0x5f1904(0x4d1)]['Kanban'],'fields':_0x410fb0,'rows':_0x122168,'groups':this[_0x5f1904(0x1b7)](_0x30c83c,_0xd7dcd,_0x122168),'groupFieldId':_0x215765['id'],'titleFieldId':_0x9a74f3,'coverFieldId':this[_0x5f1904(0x35d)](_0x30c83c,_0x5e1df6),'cardLayout':_0x5e1df6['cardLayout']===_0x5f1904(0x2b6)?'compose':_0x5f1904(0x15c),'showFieldNames':_0x5e1df6[_0x5f1904(0x560)]!==!0x1,'visibleCardFieldIds':_0x43292b,'lanes':Array[_0x5f1904(0x11f)](_0x19462c['values']())};}[_0x292328(0x20b)](_0x4ca29c,_0x246bf3){const _0x156429=_0x292328;var _0x3bec8e;let _0x1e6ddc=(_0x3bec8e=_0x246bf3[_0x156429(0x441)])==null?void 0x0:_0x3bec8e[_0x156429(0x35e)];return _0x1e6ddc&&this[_0x156429(0x2cf)](_0x4ca29c,_0x1e6ddc)?_0x1e6ddc:this[_0x156429(0x1b8)](_0x4ca29c,_0x219b10=>this['_isAllowedKanbanGroupField'](_0x219b10));}[_0x292328(0x1b8)](_0x4454c5,_0x4c2468){const _0x346de4=_0x292328;for(let _0xe8c8c5 of _0x4454c5[_0x346de4(0x379)]){let _0x27d5b5=_0x4454c5[_0x346de4(0x445)][_0xe8c8c5];if(_0x27d5b5&&_0x4c2468(_0x27d5b5))return _0x27d5b5['id'];}return null;}[_0x292328(0x2cf)](_0x46bd15,_0x1cc3ac){const _0x1f8460=_0x292328;let _0x460b7d=_0x46bd15['fields'][_0x1cc3ac];return this[_0x1f8460(0x55f)](_0x460b7d)||_0x3e34db(_0x46bd15,_0x1cc3ac);}[_0x292328(0x55f)](_0x39380b){const _0x4e2547=_0x292328;return!!_0x39380b&&(_0x39380b['type']===_0x36cce1[_0x4e2547(0x229)][_0x4e2547(0x117)]||_0x39380b[_0x4e2547(0x11c)]===_0x36cce1[_0x4e2547(0x229)]['MultiSelect']||_0x39380b['type']===_0x36cce1['BaseFieldType'][_0x4e2547(0x160)]||_0x39380b[_0x4e2547(0x11c)]===_0x36cce1[_0x4e2547(0x229)]['Person']||_0x39380b[_0x4e2547(0x11c)]===_0x36cce1[_0x4e2547(0x229)]['Group']||_0x39380b[_0x4e2547(0x11c)]===_0x36cce1[_0x4e2547(0x229)][_0x4e2547(0x42d)]);}[_0x292328(0x281)](_0x5d5610){const _0x5e774f=_0x292328;return _0x5d5610[_0x5e774f(0x11c)]===_0x36cce1['BaseFieldType']['SingleSelect']||_0x5d5610[_0x5e774f(0x11c)]===_0x36cce1[_0x5e774f(0x229)][_0x5e774f(0x2fd)];}[_0x292328(0x35d)](_0xb07137,_0x428ae2){const _0x4ac09a=_0x292328;var _0x8cfa2c;let _0x1104d6=_0x428ae2[_0x4ac09a(0x29d)]??((_0x8cfa2c=_0x428ae2[_0x4ac09a(0x46d)])==null?void 0x0:_0x8cfa2c['coverFieldId'])??null;if(!_0x1104d6)return null;let _0x1b3805=_0xb07137['fields'][_0x1104d6];return _0x1b3805&&this[_0x4ac09a(0x520)](_0x1b3805)[_0x4ac09a(0x4bc)]?_0x1b3805['id']:null;}[_0x292328(0x151)](_0x353c37,_0x1d8346,_0x5b66ca,_0x40233c=this[_0x292328(0x468)](_0x353c37,((()=>{const _0x33f7bf=_0x292328;var _0x13a304;return(_0x13a304=_0x1d8346[_0x33f7bf(0x441)])==null||(_0x13a304=_0x13a304['card'])==null?void 0x0:_0x13a304[_0x33f7bf(0x3c6)];})()))){const _0x14c2f1=_0x292328;var _0x1a8bf7;let _0x24da2e=_0x1d8346['config']??{},_0x49a306=(_0x1a8bf7=_0x24da2e[_0x14c2f1(0x46d)])!=null&&(_0x1a8bf7=_0x1a8bf7['fieldIds'])!=null&&_0x1a8bf7[_0x14c2f1(0x4fc)]?_0x24da2e['card'][_0x14c2f1(0x10e)]:_0x328200(_0x353c37,[_0x40233c,_0x353c37['primaryFieldId'],_0x5b66ca]),_0x2a6850=_0x24da2e[_0x14c2f1(0x4ff)]??{};return _0x49a306[_0x14c2f1(0x544)](_0x38486d=>{const _0x481f5e=_0x14c2f1;var _0x1078dc,_0x3b53d5;let _0x1a12ad=_0x353c37['fields'][_0x38486d];return!(!_0x1a12ad||_0x1a12ad[_0x481f5e(0x460)]===!0x0||_0x1a12ad[_0x481f5e(0x11c)]===_0x36cce1[_0x481f5e(0x229)][_0x481f5e(0x15f)]||_0x1a12ad['id']===_0x5b66ca||_0x1a12ad['id']===_0x40233c||(_0x1078dc=_0x1d8346[_0x481f5e(0x4ff)])!=null&&(_0x1078dc=_0x1078dc[_0x38486d])!=null&&_0x1078dc[_0x481f5e(0x180)]||(_0x3b53d5=_0x2a6850[_0x38486d])!=null&&_0x3b53d5[_0x481f5e(0x180)]);})[_0x14c2f1(0x2e9)]((_0x22b03e,_0x59876e)=>{const _0x556a93=_0x14c2f1;var _0x52a7d0,_0x57c8d3;return(((_0x52a7d0=_0x2a6850[_0x22b03e])==null?void 0x0:_0x52a7d0[_0x556a93(0x2e7)])??_0x49a306[_0x556a93(0x13d)](_0x22b03e))-(((_0x57c8d3=_0x2a6850[_0x59876e])==null?void 0x0:_0x57c8d3[_0x556a93(0x2e7)])??_0x49a306[_0x556a93(0x13d)](_0x59876e));});}['_getKanbanConfiguredLanes'](_0x53e5c4,_0x206c24){const _0x49be36=_0x292328;var _0xfcf257;let _0x132919=(Array[_0x49be36(0x3fe)]((_0xfcf257=_0x53e5c4[_0x49be36(0x441)])==null?void 0x0:_0xfcf257[_0x49be36(0x1b9)])?_0x53e5c4[_0x49be36(0x441)]['options']:[])[_0x49be36(0x57e)]((_0x556232,_0x41badf)=>{const _0x2b8d7d=_0x49be36;if(_0x556232==null)return[];let _0x22f91e=typeof _0x556232==_0x2b8d7d(0x4ce)?{'id':_0x556232,'name':_0x556232,'color':void 0x0}:_0x556232,_0x4cadd7=String(_0x22f91e['id']??_0x22f91e[_0x2b8d7d(0x4c0)]??_0x2b8d7d(0x45c)+(_0x41badf+0x1));return[{'key':_0x4cadd7,'title':String(_0x22f91e[_0x2b8d7d(0x4c0)]??_0x22f91e['id']??_0x4cadd7),'color':this[_0x2b8d7d(0x1a1)](_0x53e5c4,_0x4cadd7,_0x206c24)}];});return Object[_0x49be36(0x2e3)](_0x206c24[_0x49be36(0x338)]??{})[_0x49be36(0x56d)](([_0x54f254,_0x3b5e3c])=>{const _0x3c7e7f=_0x49be36;_0x132919[_0x3c7e7f(0x41d)](_0x4cbb27=>_0x4cbb27['key']===_0x54f254)||_0x132919[_0x3c7e7f(0x429)]({'key':_0x54f254,'title':this['_isColorfulKanbanGroupField'](_0x53e5c4)?_0x3b5e3c[_0x3c7e7f(0x220)]??this[_0x3c7e7f(0x44b)](_0x53e5c4,_0x54f254,_0x206c24):this[_0x3c7e7f(0x44b)](_0x53e5c4,_0x54f254,_0x206c24),'color':this[_0x3c7e7f(0x1a1)](_0x53e5c4,_0x54f254,_0x206c24)});}),_0x132919;}[_0x292328(0x36b)](_0x39e694,_0x5603ad){const _0x43e25a=_0x292328;let _0x2b9bff=_0x555701=>{var _0x145d69;let _0x4f5993=_0x555701==null?'':String(_0x555701);return!_0x4f5993||!this['_isColorfulKanbanGroupField'](_0x39e694)?_0x4f5993:((_0x145d69=_0x2a42d5(_0x39e694,_0x4f5993))==null?void 0x0:_0x145d69['id'])??_0x4f5993;};if(Array[_0x43e25a(0x3fe)](_0x5603ad)){let _0x5b0cb6=_0x5603ad[_0x43e25a(0x421)](_0x2b9bff)[_0x43e25a(0x544)](_0x53c59b=>_0x53c59b!=='');return _0x5b0cb6['length']?_0x5b0cb6:[''];}return[_0x2b9bff(_0x5603ad)];}[_0x292328(0x44b)](_0x22a1f6,_0x4b18d0,_0x461112){if(!_0x4b18d0)return'Uncategorized';let _0x47d1e2=_0x2a42d5(_0x22a1f6,_0x4b18d0);return(_0x47d1e2==null?void 0x0:_0x47d1e2['name'])??_0x4b18d0;}['_kanbanLaneColor'](_0x2a083b,_0x497eb7,_0x21a62b){const _0x5e131c=_0x292328;var _0x21cb14;if(this[_0x5e131c(0x281)](_0x2a083b))return(_0x21cb14=_0x2a42d5(_0x2a083b,_0x497eb7))==null?void 0x0:_0x21cb14['color'];}[_0x292328(0x57f)](_0x3a68f5,_0x468e62){const _0x498e18=_0x292328;let _0x32050a=this[_0x498e18(0x347)](_0x3a68f5,_0x468e62[_0x498e18(0x441)]??{}),_0x5d02bc=_0x3a68f5['fields'][_0x32050a['startDateFieldId']];if(!_0x5d02bc||_0x5d02bc[_0x498e18(0x11c)]!==_0x36cce1[_0x498e18(0x229)][_0x498e18(0x285)]||_0x5d02bc[_0x498e18(0x167)]===!0x0||_0x5d02bc[_0x498e18(0x460)]===!0x0||!this[_0x498e18(0x520)](_0x5d02bc)[_0x498e18(0x518)])return{'type':_0x498e18(0x422),'viewType':_0x36cce1[_0x498e18(0x4d1)][_0x498e18(0x500)],'reason':_0x498e18(0x157),'fieldId':_0x32050a[_0x498e18(0x178)]};let _0x109c98=_0x32050a[_0x498e18(0x43e)]?_0x3a68f5['fields'][_0x32050a[_0x498e18(0x43e)]]:void 0x0,_0x44253b=this[_0x498e18(0x332)](_0x3a68f5,_0x468e62);return{'type':_0x36cce1['BaseViewType'][_0x498e18(0x500)],'config':_0x32050a,'fields':this['_projectFields'](_0x3a68f5,_0x468e62),'rows':_0x44253b,'groups':this[_0x498e18(0x1b7)](_0x3a68f5,_0x468e62,_0x44253b),'events':_0x44253b['flatMap'](_0x39283b=>{const _0x36152e=_0x498e18;let _0x49131d=_0x4da510(_0x39283b['values'][_0x32050a[_0x36152e(0x178)]]);if(!Number[_0x36152e(0x313)](_0x49131d))return[];let _0x1ec572=_0x39283b['values'][_0x32050a[_0x36152e(0x178)]],_0x525396=_0x32050a['endDateFieldId']==null?void 0x0:_0x39283b['values'][_0x32050a[_0x36152e(0x43e)]],_0x40ab7c=_0x32050a[_0x36152e(0x43e)]==null?void 0x0:_0x4da510(_0x525396),_0x1dd048=Number['isFinite'](_0x40ab7c)?_0x40ab7c:void 0x0;return[{'recordId':_0x39283b[_0x36152e(0x33c)],'title':this[_0x36152e(0x584)](_0x3a68f5,_0x39283b,_0x32050a[_0x36152e(0x3c6)]),'start':_0x49131d,'end':_0x1dd048,'color':this[_0x36152e(0x480)](_0x3a68f5,_0x39283b,_0x32050a),'startMs':_0x49131d,'endMs':_0x1dd048,'allDay':this[_0x36152e(0x17b)](_0x5d02bc,_0x109c98,_0x1ec572,_0x525396),'fieldValues':_0x39283b[_0x36152e(0x1ea)]}];})};}['_normalizeCalendarConfig'](_0x49c3bb,_0x54f7cf){const _0x47ad46=_0x292328;let _0x3c7b28=this['_resolveCalendarDateFieldId'](_0x49c3bb,_0x54f7cf[_0x47ad46(0x178)]),_0x47c906=_0x54f7cf['endDateFieldId']&&this['_isCalendarDateField'](_0x49c3bb,_0x54f7cf[_0x47ad46(0x43e)])?_0x54f7cf[_0x47ad46(0x43e)]:this[_0x47ad46(0x517)](_0x49c3bb,_0x3c7b28)??void 0x0,_0x4a7fea=_0x54f7cf[_0x47ad46(0x3c6)]?_0x49c3bb['fields'][_0x54f7cf[_0x47ad46(0x3c6)]]:void 0x0,_0x90d00c=_0x4a7fea&&_0x4a7fea[_0x47ad46(0x460)]!==!0x0&&_0x4a7fea[_0x47ad46(0x11c)]!==_0x36cce1[_0x47ad46(0x229)][_0x47ad46(0x15f)]?_0x54f7cf['titleFieldId']:_0x49c3bb['primaryFieldId'],_0x526506=_0x54f7cf[_0x47ad46(0x541)]===_0x47ad46(0x376)||_0x54f7cf[_0x47ad46(0x541)]===_0x47ad46(0x4a3)?_0x54f7cf['mode']:'month',_0x3d0c9=_0x54f7cf[_0x47ad46(0x51a)]===_0x47ad46(0x556)||_0x54f7cf[_0x47ad46(0x51a)]==='long'?_0x54f7cf[_0x47ad46(0x51a)]:'medium',_0x28b223=typeof _0x54f7cf[_0x47ad46(0x52a)]=='string'&&_0x54f7cf[_0x47ad46(0x52a)][_0x47ad46(0x2b7)]()?_0x54f7cf['timeZone']:_0x47ad46(0x1ec),_0x50e119=this[_0x47ad46(0x3b2)](_0x49c3bb,_0x54f7cf);return{..._0x54f7cf,'startDateFieldId':_0x3c7b28,'endDateFieldId':_0x47c906,'titleFieldId':_0x90d00c,'mode':_0x526506,'timeslotSize':_0x3d0c9,'timeZone':_0x28b223,'displayColor':_0x50e119,'fieldSettings':Object[_0x47ad46(0x2af)](Object['entries'](_0x54f7cf[_0x47ad46(0x4ff)]??{})[_0x47ad46(0x544)](([_0x3b725f])=>{const _0x25d11d=_0x47ad46;let _0x1b5230=_0x49c3bb[_0x25d11d(0x445)][_0x3b725f];return!!(_0x1b5230&&_0x1b5230['system']!==!0x0&&_0x1b5230[_0x25d11d(0x11c)]!==_0x36cce1['BaseFieldType']['RecordId']);}))};}[_0x292328(0x110)](_0x27e22c,_0x5bee39){const _0x2a2268=_0x292328;return _0x5bee39&&this[_0x2a2268(0x579)](_0x27e22c,_0x5bee39)?_0x5bee39:this['_findCalendarDateFieldId'](_0x27e22c)??_0x5bee39??'';}[_0x292328(0x517)](_0x4a08a0,_0x201c23){const _0x5bd100=_0x292328;for(let _0x1739d6 of _0x4a08a0[_0x5bd100(0x379)])if(_0x1739d6!==_0x201c23&&this[_0x5bd100(0x579)](_0x4a08a0,_0x1739d6))return _0x1739d6;return null;}[_0x292328(0x579)](_0x55a702,_0x244757){const _0x3efad9=_0x292328;let _0x168fec=_0x55a702[_0x3efad9(0x445)][_0x244757];return!!_0x168fec&&_0x168fec['type']===_0x36cce1['BaseFieldType'][_0x3efad9(0x285)]&&_0x168fec[_0x3efad9(0x167)]!==!0x0&&_0x168fec['system']!==!0x0&&this[_0x3efad9(0x520)](_0x168fec)[_0x3efad9(0x518)];}[_0x292328(0x3b2)](_0x4a6648,_0x147f83){const _0xe0da02=_0x292328;let _0x21685a=_0x147f83['displayColor'];if((_0x21685a==null?void 0x0:_0x21685a[_0xe0da02(0x11c)])===_0xe0da02(0x57a)){let _0x5cd868=_0x4a6648[_0xe0da02(0x445)][_0x21685a['fieldId']];if(_0x5cd868&&_0x5cd868[_0xe0da02(0x11c)]===_0x36cce1[_0xe0da02(0x229)][_0xe0da02(0x117)])return _0x21685a;}if((_0x21685a==null?void 0x0:_0x21685a[_0xe0da02(0x11c)])==='custom'&&typeof _0x21685a[_0xe0da02(0x127)]==_0xe0da02(0x4ce)&&_0x21685a[_0xe0da02(0x127)][_0xe0da02(0x2b7)]())return{'type':_0xe0da02(0x183),'color':_0x21685a[_0xe0da02(0x127)]};if(_0x147f83['colorFieldId']){let _0x45ed35=_0x4a6648[_0xe0da02(0x445)][_0x147f83['colorFieldId']];if(_0x45ed35&&_0x45ed35['type']===_0x36cce1[_0xe0da02(0x229)][_0xe0da02(0x117)])return{'type':_0xe0da02(0x57a),'fieldId':_0x147f83[_0xe0da02(0x474)]};}return{'type':'custom','color':_0xe0da02(0x50d)};}[_0x292328(0x480)](_0x313169,_0x9453ce,_0x2ff48d){const _0x5ab7fb=_0x292328;let _0xf80e9d=_0x2ff48d['displayColor'];if((_0xf80e9d==null?void 0x0:_0xf80e9d[_0x5ab7fb(0x11c)])===_0x5ab7fb(0x57a)){var _0x160003;let _0x3bb2e9=_0x313169[_0x5ab7fb(0x445)][_0xf80e9d['fieldId']];if(!_0x3bb2e9)return;let _0x391dc9=_0x9453ce['values'][_0xf80e9d[_0x5ab7fb(0x450)]],_0x375993=Array[_0x5ab7fb(0x3fe)](_0x391dc9)?_0x391dc9[0x0]:_0x391dc9;return _0x375993==null||(_0x160003=_0x2a42d5(_0x3bb2e9,String(_0x375993)))==null?void 0x0:_0x160003[_0x5ab7fb(0x127)];}if((_0xf80e9d==null?void 0x0:_0xf80e9d[_0x5ab7fb(0x11c)])===_0x5ab7fb(0x183))return _0xf80e9d['color'];}['_isAllDayCalendarEvent'](_0x48a004,_0x3f90a3,_0x328e70,_0x3d30cf){const _0xee6859=_0x292328;var _0x543530,_0x4165a3;let _0x3f3b28=((_0x543530=_0x48a004[_0xee6859(0x441)])==null?void 0x0:_0x543530['includeTime'])===!0x0,_0x5b9b42=(_0x3f90a3==null||(_0x4165a3=_0x3f90a3['config'])==null?void 0x0:_0x4165a3[_0xee6859(0x32f)])===!0x0;return!_0x3f3b28&&!_0x5b9b42;}[_0x292328(0x11d)](_0x40f8ca,_0x33a619){const _0x53fbee=_0x292328;var _0x2b1885,_0x42f26e;let _0x2b711b=((_0x2b1885=_0x40f8ca[_0x53fbee(0x441)])==null?void 0x0:_0x2b1885[_0x53fbee(0x32f)])===!0x0,_0x166c62=((_0x42f26e=_0x33a619[_0x53fbee(0x441)])==null?void 0x0:_0x42f26e[_0x53fbee(0x32f)])===!0x0;return!_0x2b711b&&!_0x166c62;}[_0x292328(0x361)](_0x3770bc,_0x54e41f){const _0x4895d9=_0x292328;let _0x1bded9=this[_0x4895d9(0x56b)](_0x3770bc,_0x54e41f[_0x4895d9(0x441)]),_0x2b047f=_0x3770bc['fields'][_0x1bded9[_0x4895d9(0x178)]];if(!_0x2b047f||_0x2b047f[_0x4895d9(0x11c)]!==_0x36cce1[_0x4895d9(0x229)][_0x4895d9(0x285)]||_0x2b047f[_0x4895d9(0x167)]===!0x0||_0x2b047f[_0x4895d9(0x460)]===!0x0||!this['_capabilities'](_0x2b047f)['usableAsGanttStart'])return{'type':'invalid','viewType':_0x36cce1['BaseViewType'][_0x4895d9(0x467)],'reason':'invalidGanttStartField','fieldId':_0x1bded9[_0x4895d9(0x178)]};let _0x586d35=_0x3770bc[_0x4895d9(0x445)][_0x1bded9['endDateFieldId']];if(!_0x586d35||_0x586d35[_0x4895d9(0x11c)]!==_0x36cce1[_0x4895d9(0x229)][_0x4895d9(0x285)]||_0x586d35[_0x4895d9(0x167)]===!0x0||_0x586d35[_0x4895d9(0x460)]===!0x0||!this[_0x4895d9(0x520)](_0x586d35)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0x36cce1[_0x4895d9(0x4d1)]['Gantt'],'reason':_0x4895d9(0x49c),'fieldId':_0x1bded9['endDateFieldId']};let _0x923fee=this['_isAllDayGanttDateRange'](_0x2b047f,_0x586d35),_0x3548b1=this[_0x4895d9(0x332)](_0x3770bc,_0x54e41f),_0x5012c7=_0x3548b1[_0x4895d9(0x57e)](_0x5ce3af=>{const _0x1f6000=_0x4895d9;let _0x1c985e=_0x4da510(_0x5ce3af['values'][_0x1bded9[_0x1f6000(0x178)]]),_0x42200e=_0x4da510(_0x5ce3af[_0x1f6000(0x1ea)][_0x1bded9['endDateFieldId']]);if(!Number[_0x1f6000(0x313)](_0x1c985e)||!Number[_0x1f6000(0x313)](_0x42200e))return[];let _0x22ea91=Math['min'](_0x1c985e,_0x42200e),_0x391f31=Math[_0x1f6000(0x2ac)](_0x1c985e,_0x42200e),_0x2ec19c=_0x1bded9[_0x1f6000(0x1c1)]==null?void 0x0:Number(_0x5ce3af[_0x1f6000(0x1ea)][_0x1bded9['progressFieldId']]);return[{'recordId':_0x5ce3af[_0x1f6000(0x33c)],'title':this['_title'](_0x3770bc,_0x5ce3af,_0x1bded9[_0x1f6000(0x3c6)]),'start':_0x22ea91,'end':_0x391f31,'color':this[_0x1f6000(0x430)](_0x3770bc,_0x5ce3af,_0x1bded9),'progress':Number[_0x1f6000(0x313)](_0x2ec19c)?_0x2ec19c:void 0x0,'workingDayCount':_0x1bded9[_0x1f6000(0x366)]?_0x39f1b0(_0x22ea91,_0x391f31,_0x1bded9[_0x1f6000(0x2d8)]):void 0x0,'dependencyRecordIds':this[_0x1f6000(0x124)](_0x5ce3af[_0x1f6000(0x1ea)][_0x1bded9[_0x1f6000(0x23a)]??''])}];}),_0x55d6e6=_0x5012c7[_0x4895d9(0x4fc)]?_0x49ab7a(Math[_0x4895d9(0x3ec)](..._0x5012c7[_0x4895d9(0x421)](_0xc15537=>_0xc15537[_0x4895d9(0x121)]))-0x5a*_0x3867bc):_0x49ab7a(Date[_0x4895d9(0x37c)]()-0x5a*_0x3867bc),_0x45d153=_0x5012c7['length']?_0x49ab7a(Math[_0x4895d9(0x2ac)](..._0x5012c7[_0x4895d9(0x421)](_0x53cac4=>_0x53cac4[_0x4895d9(0x475)]))+0x5b*_0x3867bc):_0x49ab7a(Date[_0x4895d9(0x37c)]()+0x5b*_0x3867bc),_0x2ed3cc=_0x38324c(_0x1bded9[_0x4895d9(0x1a4)],_0x55d6e6,_0x45d153,_0x1bded9[_0x4895d9(0x366)]?_0x1bded9[_0x4895d9(0x2d8)]:void 0x0);return{'type':_0x36cce1[_0x4895d9(0x4d1)]['Gantt'],'fields':this[_0x4895d9(0x50e)](_0x3770bc,{..._0x54e41f,'config':_0x1bded9}),'rows':_0x3548b1,'groups':this[_0x4895d9(0x1b7)](_0x3770bc,_0x54e41f,_0x3548b1),'config':_0x1bded9,'dateRangeAllDay':_0x923fee,'timeline':{'scale':_0x1bded9['scale'],'start':_0x55d6e6,'end':_0x45d153,'unitWidth':_0x2ed3cc['unitWidth'],'majorHeaders':_0x2ed3cc[_0x4895d9(0x50b)],'columns':_0x2ed3cc['columns']},'bars':_0x5012c7};}[_0x292328(0x56b)](_0x42cfa4,_0x3cee75){const _0x1e4c29=_0x292328;let _0x15c544=this[_0x1e4c29(0x39f)](_0x42cfa4,_0x3cee75[_0x1e4c29(0x178)],_0x1e4c29(0x121)),_0x4711a8=this['_resolveGanttDateFieldId'](_0x42cfa4,_0x3cee75[_0x1e4c29(0x43e)],'end')||_0x15c544,_0x4fc130=_0x3cee75[_0x1e4c29(0x3c6)]?_0x42cfa4[_0x1e4c29(0x445)][_0x3cee75[_0x1e4c29(0x3c6)]]:void 0x0,_0x5c1f7b=_0x4fc130&&_0x4fc130[_0x1e4c29(0x460)]!==!0x0&&_0x4fc130[_0x1e4c29(0x11c)]!==_0x36cce1[_0x1e4c29(0x229)][_0x1e4c29(0x15f)]?_0x3cee75[_0x1e4c29(0x3c6)]:_0x42cfa4[_0x1e4c29(0x190)],_0x4358e6=_0x3cee75[_0x1e4c29(0x1a4)]===_0x1e4c29(0x4a3)||_0x3cee75[_0x1e4c29(0x1a4)]===_0x1e4c29(0x2ad)||_0x3cee75[_0x1e4c29(0x1a4)]===_0x1e4c29(0x4bf)?_0x3cee75[_0x1e4c29(0x1a4)]:_0x1e4c29(0x2e6),_0x4ea40e=_0x24755f(_0x3cee75[_0x1e4c29(0x2d8)]);return{..._0x3cee75,'startDateFieldId':_0x15c544,'endDateFieldId':_0x4711a8,'titleFieldId':_0x5c1f7b,'scale':_0x4358e6,'leftPaneWidth':typeof _0x3cee75[_0x1e4c29(0x3bc)]==_0x1e4c29(0x2dd)?_0x3cee75[_0x1e4c29(0x3bc)]:void 0x0,'leftPaneCollapsed':_0x3cee75[_0x1e4c29(0x244)]===!0x0,'showTodayLine':_0x3cee75[_0x1e4c29(0x479)]!==!0x1,'displayColor':this[_0x1e4c29(0x367)](_0x42cfa4,_0x3cee75),'fieldSettings':Object['fromEntries'](Object[_0x1e4c29(0x2e3)](_0x3cee75[_0x1e4c29(0x4ff)]??{})['filter'](([_0x300f1a])=>{const _0x4a9dbe=_0x1e4c29;let _0x3ed36e=_0x42cfa4[_0x4a9dbe(0x445)][_0x300f1a];return!!(_0x3ed36e&&_0x3ed36e[_0x4a9dbe(0x460)]!==!0x0&&_0x3ed36e['type']!==_0x36cce1[_0x4a9dbe(0x229)][_0x4a9dbe(0x15f)]);})),'workingDaysOnly':_0x3cee75[_0x1e4c29(0x366)]===!0x0,'workingDays':_0x4ea40e};}[_0x292328(0x39f)](_0x41dbf9,_0x3d6a9b,_0x14b093){const _0x17eaa6=_0x292328;if(_0x3d6a9b&&this[_0x17eaa6(0x3cc)](_0x41dbf9,_0x3d6a9b,_0x14b093)||_0x3d6a9b)return _0x3d6a9b;for(let _0x28d47d of _0x41dbf9[_0x17eaa6(0x379)])if(this[_0x17eaa6(0x3cc)](_0x41dbf9,_0x28d47d,_0x14b093))return _0x28d47d;return _0x3d6a9b??'';}[_0x292328(0x3cc)](_0x2b3dd1,_0x46043a,_0x2f4982){const _0x5949b1=_0x292328;let _0x634270=_0x2b3dd1[_0x5949b1(0x445)][_0x46043a];if(!_0x634270||_0x634270[_0x5949b1(0x11c)]!==_0x36cce1['BaseFieldType']['Date']||_0x634270[_0x5949b1(0x167)]===!0x0||_0x634270[_0x5949b1(0x460)]===!0x0)return!0x1;let _0x2c259a=this[_0x5949b1(0x520)](_0x634270);return _0x2f4982===_0x5949b1(0x121)?_0x2c259a[_0x5949b1(0x409)]:_0x2c259a['usableAsGanttEnd'];}['_normalizeGanttDisplayColor'](_0x4a34b4,_0x669c8a){const _0x5e9855=_0x292328;let _0x1f9c9a=_0x669c8a[_0x5e9855(0x111)];if((_0x1f9c9a==null?void 0x0:_0x1f9c9a[_0x5e9855(0x11c)])===_0x5e9855(0x57a)){let _0x1aa05f=_0x4a34b4[_0x5e9855(0x445)][_0x1f9c9a['fieldId']];if(_0x1aa05f&&_0x1aa05f[_0x5e9855(0x11c)]===_0x36cce1['BaseFieldType'][_0x5e9855(0x117)])return _0x1f9c9a;}return(_0x1f9c9a==null?void 0x0:_0x1f9c9a[_0x5e9855(0x11c)])===_0x5e9855(0x448)&&Array[_0x5e9855(0x3fe)](_0x1f9c9a['rules'])?{'type':_0x5e9855(0x448),'rules':_0x1f9c9a['rules']['filter'](_0x4beee7=>!!_0x4a34b4['fields'][_0x4beee7[_0x5e9855(0x450)]])}:(_0x1f9c9a==null?void 0x0:_0x1f9c9a[_0x5e9855(0x11c)])===_0x5e9855(0x183)&&typeof _0x1f9c9a['color']==_0x5e9855(0x4ce)&&_0x1f9c9a[_0x5e9855(0x127)]['trim']()?{'type':_0x5e9855(0x183),'color':_0x1f9c9a[_0x5e9855(0x127)]}:{'type':'custom','color':_0x5e9855(0x24e)};}[_0x292328(0x430)](_0x234ee,_0x221b44,_0x4dab42){const _0x4d689b=_0x292328;let _0x2db0eb=_0x4dab42[_0x4d689b(0x111)];if((_0x2db0eb==null?void 0x0:_0x2db0eb['type'])===_0x4d689b(0x448)){let _0x3f9869=_0x2db0eb[_0x4d689b(0x4d2)][_0x4d689b(0x304)](_0x382109=>this[_0x4d689b(0x223)](_0x234ee,_0x221b44,_0x382109));if(_0x3f9869)return _0x3f9869['color'];}if((_0x2db0eb==null?void 0x0:_0x2db0eb['type'])===_0x4d689b(0x57a)){let _0x333a41=_0x234ee[_0x4d689b(0x445)][_0x2db0eb['fieldId']];if(_0x333a41){var _0x4dc82f;let _0x247a90=_0x221b44[_0x4d689b(0x1ea)][_0x2db0eb[_0x4d689b(0x450)]],_0x1d0548=Array[_0x4d689b(0x3fe)](_0x247a90)?_0x247a90[0x0]:_0x247a90,_0x3483a4=_0x1d0548==null||(_0x4dc82f=_0x2a42d5(_0x333a41,String(_0x1d0548)))==null?void 0x0:_0x4dc82f[_0x4d689b(0x127)];if(_0x3483a4)return _0x3483a4;}}return(_0x2db0eb==null?void 0x0:_0x2db0eb[_0x4d689b(0x11c)])==='custom'?_0x2db0eb[_0x4d689b(0x127)]:_0x4d689b(0x24e);}[_0x292328(0x223)](_0x8c523a,_0x59e163,_0x587f05){const _0x3e084d=_0x292328;let _0x12ce85=_0x8c523a[_0x3e084d(0x445)][_0x587f05[_0x3e084d(0x450)]];return _0x12ce85?_0x4c2e9d(_0x59e163[_0x3e084d(0x1ea)][_0x12ce85['id']],_0x587f05[_0x3e084d(0x137)],_0x587f05[_0x3e084d(0x2f2)],_0x12ce85,{'dateMode':_0x587f05[_0x3e084d(0x2a0)]}):!0x1;}[_0x292328(0x216)](_0x1da51d,_0x533567){const _0x194d63=_0x292328;let _0x4cf1e9=this['_projectRows'](_0x1da51d,_0x533567),_0x1c38b6=this['_normalizeGalleryConfig'](_0x1da51d,_0x533567['config']??{}),_0x37cf5a=this[_0x194d63(0x50e)](_0x1da51d,_0x533567);return{'type':_0x36cce1[_0x194d63(0x4d1)][_0x194d63(0x275)],'fields':_0x37cf5a,'rows':_0x4cf1e9,'groups':this['_projectGroups'](_0x1da51d,_0x533567,_0x4cf1e9),'titleFieldId':_0x1c38b6[_0x194d63(0x46d)][_0x194d63(0x3c6)],'coverFieldId':_0x1c38b6[_0x194d63(0x29d)],'cardLayout':_0x1c38b6['cardLayout']??_0x194d63(0x15c),'showFieldNames':_0x1c38b6[_0x194d63(0x560)]!==!0x1,'visibleCardFieldIds':this[_0x194d63(0x2d4)](_0x1da51d,_0x533567,_0x1c38b6),'cardSize':_0x1c38b6[_0x194d63(0x498)]??'medium','cards':_0x4cf1e9[_0x194d63(0x421)](_0x4a9bc0=>({'recordId':_0x4a9bc0[_0x194d63(0x33c)],'title':this[_0x194d63(0x584)](_0x1da51d,_0x4a9bc0,_0x1c38b6[_0x194d63(0x46d)][_0x194d63(0x3c6)]),'values':_0x4a9bc0[_0x194d63(0x1ea)]}))};}[_0x292328(0x2b0)](_0x44baed,_0x1471bf){const _0x421973=_0x292328;let _0x11c402=_0x1471bf['card']??{'fieldIds':[]},_0x804ccf=this[_0x421973(0x468)](_0x44baed,_0x11c402[_0x421973(0x3c6)]),_0x13ae62=this[_0x421973(0x4b4)](_0x44baed,_0x1471bf),_0x5d970f=_0x1471bf['cardSize']===_0x421973(0x293)||_0x1471bf['cardSize']===_0x421973(0x4e2)?_0x1471bf[_0x421973(0x498)]:_0x421973(0x2c5);return{..._0x1471bf,'coverFieldId':_0x13ae62,'cardLayout':_0x1471bf[_0x421973(0x290)]===_0x421973(0x2b6)?_0x421973(0x2b6):_0x421973(0x15c),'showFieldNames':_0x1471bf[_0x421973(0x560)]!==!0x1,'fieldSettings':Object[_0x421973(0x2af)](Object['entries'](_0x1471bf[_0x421973(0x4ff)]??{})['filter'](([_0x531e13])=>{const _0x38cae8=_0x421973;let _0x3bd7eb=_0x44baed[_0x38cae8(0x445)][_0x531e13];return!!(_0x3bd7eb&&_0x3bd7eb[_0x38cae8(0x460)]!==!0x0&&_0x3bd7eb[_0x38cae8(0x11c)]!==_0x36cce1[_0x38cae8(0x229)]['RecordId']);})),'card':{..._0x11c402,'titleFieldId':_0x804ccf,'coverFieldId':_0x13ae62,'fieldIds':Array[_0x421973(0x3fe)](_0x11c402[_0x421973(0x10e)])?_0x11c402['fieldIds']:[]},'cardSize':_0x5d970f};}[_0x292328(0x468)](_0x2b3233,_0x4cd50c){const _0x5cfbd7=_0x292328;let _0x422d62=_0x4cd50c?_0x2b3233['fields'][_0x4cd50c]:void 0x0;return _0x422d62&&_0x422d62[_0x5cfbd7(0x460)]!==!0x0&&_0x422d62[_0x5cfbd7(0x11c)]!==_0x36cce1['BaseFieldType'][_0x5cfbd7(0x15f)]?_0x422d62['id']:_0x48a569(_0x2b3233);}[_0x292328(0x4b4)](_0x5b3790,_0x44876d){const _0x490986=_0x292328;var _0x5ae217;let _0x5a7944=_0x44876d[_0x490986(0x29d)]??((_0x5ae217=_0x44876d[_0x490986(0x46d)])==null?void 0x0:_0x5ae217[_0x490986(0x29d)])??null;if(!_0x5a7944)return null;let _0x106e4d=_0x5b3790[_0x490986(0x445)][_0x5a7944];return _0x106e4d&&this['_capabilities'](_0x106e4d)[_0x490986(0x4bc)]?_0x106e4d['id']:null;}[_0x292328(0x2d4)](_0x207de7,_0xa78e5f,_0x2f65c0){const _0x3aeb98=_0x292328;var _0xe5cf50,_0x5b0764,_0x55e82e;let _0x259353=_0x2f65c0[_0x3aeb98(0x4ff)]??{},_0x4e9a6e=((_0xe5cf50=_0x2f65c0[_0x3aeb98(0x46d)])==null?void 0x0:_0xe5cf50['titleFieldId'])??_0x48a569(_0x207de7),_0x193592=_0x2f65c0[_0x3aeb98(0x29d)]??((_0x5b0764=_0x2f65c0[_0x3aeb98(0x46d)])==null?void 0x0:_0x5b0764[_0x3aeb98(0x29d)])??null,_0xbd19=(_0x55e82e=_0x2f65c0[_0x3aeb98(0x46d)])!=null&&(_0x55e82e=_0x55e82e[_0x3aeb98(0x10e)])!=null&&_0x55e82e[_0x3aeb98(0x4fc)]?_0x2f65c0['card'][_0x3aeb98(0x10e)]:_0x328200(_0x207de7,[_0x4e9a6e,_0x193592,_0x207de7['primaryFieldId']]);return _0xbd19[_0x3aeb98(0x544)](_0x16fd8c=>{const _0x349815=_0x3aeb98;var _0x28fcdc,_0x59351f;let _0x123acf=_0x207de7['fields'][_0x16fd8c];return!(!_0x123acf||_0x123acf[_0x349815(0x460)]===!0x0||_0x123acf['type']===_0x36cce1[_0x349815(0x229)]['RecordId']||_0x123acf['id']===_0x4e9a6e||_0x123acf['id']===_0x193592||(_0x28fcdc=_0xa78e5f[_0x349815(0x4ff)])!=null&&(_0x28fcdc=_0x28fcdc[_0x16fd8c])!=null&&_0x28fcdc['hidden']||(_0x59351f=_0x259353[_0x16fd8c])!=null&&_0x59351f[_0x349815(0x180)]);})['sort']((_0x5023c2,_0x490092)=>{var _0x2c6948,_0xd88c84;return(((_0x2c6948=_0x259353[_0x5023c2])==null?void 0x0:_0x2c6948['order'])??_0xbd19['indexOf'](_0x5023c2))-(((_0xd88c84=_0x259353[_0x490092])==null?void 0x0:_0xd88c84['order'])??_0xbd19['indexOf'](_0x490092));});}['_projectFields'](_0x443ffb,_0x29c4ad){const _0x3312ee=_0x292328;var _0x3077b1;return((_0x3077b1=_0x29c4ad[_0x3312ee(0x379)])!=null&&_0x3077b1['length']?_0x29c4ad[_0x3312ee(0x379)]:_0x443ffb[_0x3312ee(0x379)])[_0x3312ee(0x57e)](_0x214270=>{const _0x1d2783=_0x3312ee;var _0x2a0e50;let _0x4dc3d4=_0x443ffb[_0x1d2783(0x445)][_0x214270],_0xe39ed3=((_0x2a0e50=_0x29c4ad[_0x1d2783(0x4ff)])==null?void 0x0:_0x2a0e50[_0x214270])??{};return!_0x4dc3d4||_0x4dc3d4[_0x1d2783(0x460)]===!0x0||_0x4dc3d4[_0x1d2783(0x11c)]===_0x36cce1[_0x1d2783(0x229)][_0x1d2783(0x15f)]||_0xe39ed3[_0x1d2783(0x180)]?[]:[{'id':_0x4dc3d4['id'],'name':_0x4dc3d4['name'],'description':_0x4dc3d4[_0x1d2783(0x2a5)],'type':_0x4dc3d4[_0x1d2783(0x11c)],'config':_0x4dc3d4[_0x1d2783(0x441)],'width':_0xe39ed3[_0x1d2783(0x335)],'setting':_0xe39ed3}];});}[_0x292328(0x332)](_0x34e04d,_0x1946f1){const _0x5eabfd=_0x292328;var _0xa06f8;return _0x296aa6(_0x5eabfd(0x4e9),()=>{const _0x24a101=_0x5eabfd;var _0x2aef79,_0x7266d8;let _0x2426ad=this[_0x24a101(0x539)](_0x34e04d),_0x4de239=this[_0x24a101(0x53b)](_0x34e04d['id'],_0x1946f1),_0x466bc3=this[_0x24a101(0x12d)](_0x34e04d['id']),_0x3ffaba=this['_projectedViewRowsCache'][_0x24a101(0x1fa)](_0x4de239);if(_0x3ffaba&&_0x3ffaba[_0x24a101(0x486)]===this[_0x24a101(0x164)]&&_0x3ffaba[_0x24a101(0x4ac)]===this[_0x24a101(0x4a6)](_0x34e04d['id'])){if(_0x3ffaba['cellRevision']===_0x466bc3&&_0x3ffaba[_0x24a101(0x563)]===_0x2426ad)return _0x3ffaba[_0x24a101(0x195)];if(_0x3ffaba[_0x24a101(0x512)]!==_0x466bc3&&!this[_0x24a101(0x2bb)](_0x34e04d['id'],_0x3ffaba['cellRevision'],_0x466bc3,this[_0x24a101(0x360)](_0x1946f1))){let _0x52248a=_0x3ffaba[_0x24a101(0x195)]===_0x3ffaba[_0x24a101(0x563)]?_0x2426ad:this[_0x24a101(0x4f6)](_0x3ffaba[_0x24a101(0x195)],_0x2426ad);if(_0x52248a)return this[_0x24a101(0x22f)]['set'](_0x4de239,{..._0x3ffaba,'rows':_0x52248a,'baseRows':_0x2426ad,'cellRevision':_0x466bc3}),_0x52248a;}}let _0x1b4962=_0x296aa6(_0x24a101(0x262),()=>this[_0x24a101(0x3d8)](_0x34e04d,_0x1946f1,this[_0x24a101(0x548)](_0x34e04d,_0x1946f1,_0x2426ad)),{'tableId':_0x34e04d['id'],'viewId':_0x1946f1==null?void 0x0:_0x1946f1['id'],'viewType':_0x1946f1==null?void 0x0:_0x1946f1[_0x24a101(0x11c)],'rows':_0x2426ad[_0x24a101(0x4fc)],'filters':(_0x1946f1==null||(_0x2aef79=_0x1946f1[_0x24a101(0x544)])==null?void 0x0:_0x2aef79[_0x24a101(0x25b)][_0x24a101(0x4fc)])??0x0,'sorts':(_0x1946f1==null||(_0x7266d8=_0x1946f1['sort'])==null?void 0x0:_0x7266d8['length'])??0x0});return this[_0x24a101(0x22f)][_0x24a101(0x251)](_0x4de239,{'table':_0x34e04d,'rows':_0x1b4962,'baseRows':_0x2426ad,'globalRevision':this[_0x24a101(0x164)],'tableRevision':this['_getTableRevision'](_0x34e04d['id']),'cellRevision':_0x466bc3}),_0x1b4962;},{'tableId':_0x34e04d['id'],'viewId':_0x1946f1==null?void 0x0:_0x1946f1['id'],'viewType':_0x1946f1==null?void 0x0:_0x1946f1[_0x5eabfd(0x11c)],'records':((_0xa06f8=_0x34e04d[_0x5eabfd(0x318)])==null?void 0x0:_0xa06f8[_0x5eabfd(0x4fc)])??Object[_0x5eabfd(0x153)](_0x34e04d['records']??{})['length']});}[_0x292328(0x539)](_0x5ec41c){const _0x3e8fce=_0x292328;var _0x48d629;return _0x296aa6('BaseProjection.projectTableRows',()=>{const _0x30e1f9=_0x5c61;var _0x239039;let _0x288327=this[_0x30e1f9(0x12d)](_0x5ec41c['id']),_0x22c31d=this[_0x30e1f9(0x3fb)][_0x30e1f9(0x1fa)](_0x5ec41c['id']);if(_0x22c31d&&_0x22c31d[_0x30e1f9(0x486)]===this[_0x30e1f9(0x164)]&&_0x22c31d[_0x30e1f9(0x4ac)]===this['_getTableRevision'](_0x5ec41c['id'])){if(_0x22c31d[_0x30e1f9(0x512)]===_0x288327&&_0x3c6557(_0x22c31d['table'],_0x5ec41c))return _0x22c31d[_0x30e1f9(0x442)]=_0x5ec41c,_0x22c31d[_0x30e1f9(0x195)];let _0x58505c=this[_0x30e1f9(0x415)](_0x5ec41c,_0x22c31d,_0x288327);if(_0x58505c)return _0x58505c;}_0x5257c6(_0x5ec41c)||_0x526a9d(_0x5ec41c);let _0x40a249=(_0x239039=_0x5ec41c[_0x30e1f9(0x318)])!=null&&_0x239039['length']?_0x5ec41c[_0x30e1f9(0x318)]:_0x3737e8(_0x5ec41c['records']),_0xe501ea=_0x296aa6(_0x30e1f9(0x206),()=>{const _0x5838c7=_0x30e1f9;let _0x10fb19=[];for(let _0x2d70fc of _0x40a249){let _0x243983=_0x5ec41c[_0x5838c7(0x46f)][_0x2d70fc];if(!_0x243983)continue;let _0x4382cf={};for(let _0x4cbdf2 of _0x5ec41c['fieldOrder'])_0x4382cf[_0x4cbdf2]=_0x31c7d9(_0x5ec41c,_0x243983['id'],_0x4cbdf2);_0x10fb19[_0x5838c7(0x429)]({'recordId':_0x243983['id'],'values':_0x4382cf});}return _0x10fb19;},{'tableId':_0x5ec41c['id'],'records':_0x40a249[_0x30e1f9(0x4fc)],'fields':_0x5ec41c['fieldOrder'][_0x30e1f9(0x4fc)]});return this['_projectedRowsCache'][_0x30e1f9(0x251)](_0x5ec41c['id'],{'table':_0x5ec41c,'rows':_0xe501ea,'rowIndexById':_0x3cb764(_0xe501ea),'globalRevision':this[_0x30e1f9(0x164)],'tableRevision':this[_0x30e1f9(0x4a6)](_0x5ec41c['id']),'cellRevision':_0x288327}),_0xe501ea;},{'tableId':_0x5ec41c['id'],'records':((_0x48d629=_0x5ec41c[_0x3e8fce(0x318)])==null?void 0x0:_0x48d629['length'])??Object[_0x3e8fce(0x153)](_0x5ec41c[_0x3e8fce(0x46f)]??{})['length'],'fields':_0x5ec41c['fieldOrder'][_0x3e8fce(0x4fc)]});}[_0x292328(0x415)](_0x591e0c,_0x11a853,_0x436ca3){const _0x490162=_0x292328;let _0x27a32c=(this[_0x490162(0x23c)][_0x490162(0x1fa)](_0x591e0c['id'])??[])[_0x490162(0x544)](_0x28d278=>_0x28d278[_0x490162(0x31e)]>_0x11a853['cellRevision']&&_0x28d278[_0x490162(0x31e)]<=_0x436ca3);if(!_0x27a32c[_0x490162(0x4fc)])return _0x11a853['table']===_0x591e0c?_0x11a853[_0x490162(0x195)]:null;let _0x169d6d=_0x11a853[_0x490162(0x195)],_0x2e8d0b=new Map();for(let _0x398add of _0x27a32c){let _0x4c8202=_0x2e8d0b[_0x490162(0x1fa)](_0x398add[_0x490162(0x33c)]);_0x4c8202||(_0x4c8202=new Set(),_0x2e8d0b[_0x490162(0x251)](_0x398add[_0x490162(0x33c)],_0x4c8202)),_0x4c8202[_0x490162(0x18c)](_0x398add[_0x490162(0x450)]);}for(let [_0x2dbcb5,_0x2fa583]of _0x2e8d0b){if(!_0x591e0c[_0x490162(0x46f)][_0x2dbcb5])return null;let _0x36b6a1=_0x11a853[_0x490162(0x1d7)]['get'](_0x2dbcb5);if(_0x36b6a1==null)return null;_0x169d6d===_0x11a853[_0x490162(0x195)]&&(_0x169d6d=[..._0x11a853[_0x490162(0x195)]]);let _0x585cc0=_0x169d6d[_0x36b6a1],_0x277091={..._0x585cc0[_0x490162(0x1ea)]};_0x2fa583['forEach'](_0x1caa88=>{_0x277091[_0x1caa88]=_0x31c7d9(_0x591e0c,_0x2dbcb5,_0x1caa88);}),_0x169d6d[_0x36b6a1]={..._0x585cc0,'values':_0x277091};}let _0x15ca91={'table':_0x591e0c,'rows':_0x169d6d,'rowIndexById':_0x11a853[_0x490162(0x1d7)],'globalRevision':this[_0x490162(0x164)],'tableRevision':this[_0x490162(0x4a6)](_0x591e0c['id']),'cellRevision':_0x436ca3};return this[_0x490162(0x3fb)][_0x490162(0x251)](_0x591e0c['id'],_0x15ca91),this[_0x490162(0x23c)][_0x490162(0x251)](_0x591e0c['id'],(this['_cellInvalidations']['get'](_0x591e0c['id'])??[])[_0x490162(0x544)](_0x490cd5=>_0x490cd5[_0x490162(0x31e)]>Math[_0x490162(0x2ac)](0x0,_0x436ca3-0x100))),_0x169d6d;}[_0x292328(0x4f6)](_0x32d0d1,_0x42c220){const _0xa46a19=_0x292328;let _0xc3b02c=new Map(_0x42c220['map'](_0x435718=>[_0x435718[_0xa46a19(0x33c)],_0x435718])),_0x3643f1=!0x1,_0x3a2d71=_0x32d0d1[_0xa46a19(0x421)](_0x14ff6f=>{const _0x197388=_0xa46a19;let _0x10165d=_0xc3b02c[_0x197388(0x1fa)](_0x14ff6f[_0x197388(0x33c)]);return _0x10165d?_0x10165d===_0x14ff6f?_0x14ff6f:(_0x3643f1=!0x0,_0x10165d):_0x14ff6f;});return _0x3643f1?_0x3a2d71:_0x32d0d1;}[_0x292328(0x2bb)](_0x4876ce,_0x2a6280,_0x268f86,_0x345074){const _0x1a6f4c=_0x292328;return!_0x345074[_0x1a6f4c(0x3b9)]||_0x2a6280===_0x268f86?!0x1:_0x268f86-_0x2a6280>0x100||(this[_0x1a6f4c(0x23c)]['get'](_0x4876ce)??[])[_0x1a6f4c(0x41d)](_0x2afc38=>_0x2afc38[_0x1a6f4c(0x31e)]>_0x2a6280&&_0x2afc38[_0x1a6f4c(0x31e)]<=_0x268f86&&_0x345074['has'](_0x2afc38[_0x1a6f4c(0x450)]));}[_0x292328(0x360)](_0x24029f){const _0x119bd0=_0x292328;var _0x5b0b18,_0x523ac2;let _0x1a0bb9=new Set();return _0x24029f==null||(_0x5b0b18=_0x24029f[_0x119bd0(0x544)])==null||_0x5b0b18['conditions'][_0x119bd0(0x56d)](_0x3b3127=>_0x1a0bb9[_0x119bd0(0x18c)](_0x3b3127[_0x119bd0(0x450)])),_0x24029f==null||(_0x523ac2=_0x24029f[_0x119bd0(0x2e9)])==null||_0x523ac2[_0x119bd0(0x56d)](_0x64f4a=>_0x1a0bb9['add'](_0x64f4a['fieldId'])),_0x1a0bb9;}[_0x292328(0x499)](_0x1fc639){const _0x431487=_0x292328;var _0x1932f6;let _0x3f0b98=this[_0x431487(0x360)](_0x1fc639);return(_0x1932f6=_0x1fc639[_0x431487(0x581)])==null||_0x1932f6[_0x431487(0x56d)](_0x4ed358=>_0x3f0b98['add'](_0x4ed358[_0x431487(0x450)])),_0x3f0b98;}[_0x292328(0x548)](_0x47ce21,_0x256a38,_0x353092){const _0x2eb5ef=_0x292328;let _0x501bde=_0x256a38==null?void 0x0:_0x256a38['filter'];if(!(_0x501bde!=null&&_0x501bde[_0x2eb5ef(0x25b)]['length']))return _0x353092;let _0x2c8e4d=_0x501bde[_0x2eb5ef(0x25b)][_0x2eb5ef(0x544)](_0x539178=>!_0x44fbec(_0x539178));return _0x2c8e4d[_0x2eb5ef(0x4fc)]?_0x353092[_0x2eb5ef(0x544)](_0x48ac3f=>{const _0x172edd=_0x2eb5ef;if(_0x501bde[_0x172edd(0x3c5)]===_0x36cce1['BaseFilterConjunction']['OR']){for(let _0x1f3dca of _0x2c8e4d){let _0x4a039d=_0x47ce21['fields'][_0x1f3dca[_0x172edd(0x450)]];if(!_0x4a039d||this[_0x172edd(0x438)][_0x172edd(0x1fa)](_0x4a039d['type'])[_0x172edd(0x544)](_0x48ac3f['values'][_0x4a039d['id']],_0x1f3dca[_0x172edd(0x137)],_0x1f3dca[_0x172edd(0x2f2)],_0x4a039d))return!0x0;}return!0x1;}for(let _0x56666a of _0x2c8e4d){let _0x3567b7=_0x47ce21['fields'][_0x56666a[_0x172edd(0x450)]];if(_0x3567b7&&!this[_0x172edd(0x438)][_0x172edd(0x1fa)](_0x3567b7['type'])['filter'](_0x48ac3f[_0x172edd(0x1ea)][_0x3567b7['id']],_0x56666a['operator'],_0x56666a[_0x172edd(0x2f2)],_0x3567b7))return!0x1;}return!0x0;}):_0x353092;}[_0x292328(0x3d8)](_0x108571,_0x37ff9b,_0x15ee28){const _0x2bbcf1=_0x292328;let _0x334cb6=(_0x37ff9b==null?void 0x0:_0x37ff9b['sort'])??[];if(!_0x334cb6[_0x2bbcf1(0x4fc)])return _0x15ee28;let _0xc1c6c2=_0x334cb6[_0x2bbcf1(0x57e)](_0xfd4eb7=>{const _0x20a287=_0x2bbcf1;let _0x5b6e84=_0x108571['fields'][_0xfd4eb7[_0x20a287(0x450)]];return _0x5b6e84?[{..._0xfd4eb7,'field':_0x5b6e84}]:[];});return _0xc1c6c2[_0x2bbcf1(0x4fc)]?this[_0x2bbcf1(0x4b5)](_0xc1c6c2)?this[_0x2bbcf1(0x188)](_0xc1c6c2,_0x15ee28):[..._0x15ee28][_0x2bbcf1(0x2e9)]((_0x3e1d9f,_0xe66d70)=>{const _0x4973a0=_0x2bbcf1;for(let _0x187ff4 of _0xc1c6c2){let _0x31bc1c=_0x187ff4[_0x4973a0(0x250)],_0x210a6f=this['_fieldRegistry'][_0x4973a0(0x1fa)](_0x31bc1c['type'])[_0x4973a0(0x46a)](_0x3e1d9f[_0x4973a0(0x1ea)][_0x31bc1c['id']],_0xe66d70[_0x4973a0(0x1ea)][_0x31bc1c['id']],_0x31bc1c);if(_0x210a6f!==0x0)return _0x187ff4[_0x4973a0(0x30e)]===_0x36cce1['BaseSortDirection'][_0x4973a0(0x135)]?-_0x210a6f:_0x210a6f;}return 0x0;}):_0x15ee28;}[_0x292328(0x4b5)](_0x5a36b2){const _0x20e6ba=_0x292328;return _0x5a36b2['every'](_0x2c37e0=>_0x2a708d[_0x20e6ba(0x16f)](_0x2c37e0['field'][_0x20e6ba(0x11c)]));}[_0x292328(0x188)](_0x16c53e,_0x4af982){const _0xc932ff=_0x292328;return _0x4af982[_0xc932ff(0x421)]((_0x5f5283,_0x22a888)=>({'row':_0x5f5283,'index':_0x22a888,'keys':_0x16c53e[_0xc932ff(0x421)](_0x44d2bb=>_0x5f5283[_0xc932ff(0x1ea)][_0x44d2bb[_0xc932ff(0x450)]])}))[_0xc932ff(0x2e9)]((_0x2cd41c,_0x1e874e)=>{const _0x28430a=_0xc932ff;for(let _0x333801=0x0;_0x333801<_0x16c53e['length'];_0x333801++){let _0x19b16f=_0x4a981a(_0x2cd41c['keys'][_0x333801],_0x1e874e[_0x28430a(0x153)][_0x333801]);if(_0x19b16f!==0x0)return _0x16c53e[_0x333801][_0x28430a(0x30e)]===_0x36cce1[_0x28430a(0x2fe)]['DESC']?-_0x19b16f:_0x19b16f;}return _0x2cd41c[_0x28430a(0x129)]-_0x1e874e[_0x28430a(0x129)];})[_0xc932ff(0x421)](_0xabda57=>_0xabda57['row']);}['_projectGroups'](_0x5376db,_0xef14fc,_0x5cc7e3){const _0x2e190d=_0x292328;var _0x4f941a;return _0x296aa6(_0x2e190d(0x3cb),()=>{const _0x5a0f9b=_0x2e190d;var _0x29f4fd;if(!((_0x29f4fd=_0xef14fc[_0x5a0f9b(0x581)])!=null&&_0x29f4fd[_0x5a0f9b(0x4fc)]))return[];let _0x4ea786=_0xef14fc[_0x5a0f9b(0x581)][_0x5a0f9b(0x544)](_0x3caa51=>_0x5376db['fields'][_0x3caa51['fieldId']]);if(!_0x4ea786[_0x5a0f9b(0x4fc)])return[];let _0x2b6a4c=this[_0x5a0f9b(0x1e7)](_0x5376db['id'],_0xef14fc,_0x4ea786),_0x39cc8e=this['_getCellRevision'](_0x5376db['id']),_0x2e6526=this[_0x5a0f9b(0x1a5)][_0x5a0f9b(0x1fa)](_0x2b6a4c);if(_0x2e6526&&_0x2e6526[_0x5a0f9b(0x486)]===this['_globalRevision']&&_0x2e6526[_0x5a0f9b(0x4ac)]===this[_0x5a0f9b(0x4a6)](_0x5376db['id'])){if(_0x2e6526[_0x5a0f9b(0x512)]===_0x39cc8e&&_0x2e6526['rows']===_0x5cc7e3)return _0x2e6526[_0x5a0f9b(0x27e)];if(_0x2e6526[_0x5a0f9b(0x512)]!==_0x39cc8e&&!this['_cellInvalidationsTouchFields'](_0x5376db['id'],_0x2e6526[_0x5a0f9b(0x512)],_0x39cc8e,this['_groupProjectionFieldIds'](_0xef14fc)))return this[_0x5a0f9b(0x1a5)]['set'](_0x2b6a4c,{..._0x2e6526,'rows':_0x5cc7e3,'cellRevision':_0x39cc8e}),_0x2e6526[_0x5a0f9b(0x27e)];}let _0x2870a9=new Map();for(let _0xbf94ba of _0x5cc7e3){let _0x3b4533=_0x2870a9,_0x506b35='';for(let _0x5c7ce0=0x0;_0x5c7ce0<_0x4ea786['length'];_0x5c7ce0++){let _0x57969b=_0x4ea786[_0x5c7ce0],_0x2e58d6=_0xbf94ba[_0x5a0f9b(0x1ea)][_0x57969b['fieldId']],_0x281eb4=_0x52200f(_0x2e58d6),_0x100ee7=_0x57969b[_0x5a0f9b(0x450)]+'\x00'+_0x281eb4,_0x88a3fa=_0x506b35+'/'+_0x57969b['fieldId']+':'+_0x281eb4,_0x2ef117=_0x3b4533[_0x5a0f9b(0x1fa)](_0x100ee7);_0x2ef117||(_0x2ef117={'key':_0x281eb4,'value':_0x2e58d6,'path':_0x88a3fa,'label':_0x281eb4||_0x5a0f9b(0x1e1),'fieldId':_0x57969b[_0x5a0f9b(0x450)],'level':_0x5c7ce0,'recordIds':[],'children':new Map()},_0x3b4533[_0x5a0f9b(0x251)](_0x100ee7,_0x2ef117)),_0x2ef117[_0x5a0f9b(0x375)][_0x5a0f9b(0x429)](_0xbf94ba[_0x5a0f9b(0x33c)]),_0x3b4533=_0x2ef117['children'],_0x506b35=_0x88a3fa;}}let _0x5cff64=this[_0x5a0f9b(0x19a)](_0x4ea786,_0x2870a9,0x0);return this['_projectedGroupsCache'][_0x5a0f9b(0x251)](_0x2b6a4c,{'table':_0x5376db,'rows':_0x5cc7e3,'groups':_0x5cff64,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x5376db['id']),'cellRevision':_0x39cc8e}),_0x5cff64;},{'tableId':_0x5376db['id'],'viewId':_0xef14fc['id'],'viewType':_0xef14fc[_0x2e190d(0x11c)],'rows':_0x5cc7e3['length'],'groupFields':((_0x4f941a=_0xef14fc[_0x2e190d(0x581)])==null?void 0x0:_0x4f941a[_0x2e190d(0x4fc)])??0x0});}[_0x292328(0x19a)](_0x251e1a,_0x5082b7,_0x38180b){const _0x565945=_0x292328;var _0xd6f64e;let _0x2c15c8=Array[_0x565945(0x11f)](_0x5082b7['values']()),_0x2c9102=(_0xd6f64e=_0x251e1a[_0x38180b])==null?void 0x0:_0xd6f64e[_0x565945(0x30e)];return _0x2c9102&&_0x2c15c8[_0x565945(0x2e9)]((_0x45eb6e,_0x28ec4f)=>{const _0x591716=_0x565945;let _0x1cfb5b=_0x45eb6e[_0x591716(0x3ac)][_0x591716(0x211)](_0x28ec4f[_0x591716(0x3ac)]);return _0x2c9102===_0x36cce1[_0x591716(0x2fe)][_0x591716(0x135)]?-_0x1cfb5b:_0x1cfb5b;}),_0x2c15c8[_0x565945(0x421)](_0x499113=>({'key':_0x499113['key'],'value':_0x499113[_0x565945(0x32d)],'path':_0x499113[_0x565945(0x4a4)],'label':_0x499113[_0x565945(0x3cd)],'fieldId':_0x499113[_0x565945(0x450)],'level':_0x499113[_0x565945(0x2ae)],'recordIds':_0x499113[_0x565945(0x375)],'children':this[_0x565945(0x19a)](_0x251e1a,_0x499113[_0x565945(0x3f6)],_0x38180b+0x1)}));}[_0x292328(0x584)](_0x1d1a92,_0x474595,_0x2ef3e3){const _0x30c09e=_0x292328;let _0x209003=_0x2ef3e3??_0x1d1a92[_0x30c09e(0x190)],_0x1cf3e8=_0x474595[_0x30c09e(0x1ea)][_0x209003];return _0x1cf3e8==null?'':String(_0x1cf3e8);}['_recordIds'](_0xc540a7){const _0x3a4d02=_0x292328;if(Array['isArray'](_0xc540a7))return _0xc540a7['map'](String);if(typeof _0xc540a7==_0x3a4d02(0x4ce)&&_0xc540a7)return[_0xc540a7];}['_capabilities'](_0x5a452e){const _0x1175e2=_0x292328;return this['_fieldRegistry']['get'](_0x5a452e[_0x1175e2(0x11c)])[_0x1175e2(0x389)](_0x5a452e);}};_0x2d40ed=_0x1f4d84([_0xb6ba9a(0x0,(0x0,_0x36cce1[_0x292328(0x2b3)])(_0x2da75e))],_0x2d40ed);function _0x52200f(_0x4f413f){return _0x4f413f==null?'':String(_0x4f413f);}function _0x3cb764(_0x440774){const _0x596616=_0x292328;return new Map(_0x440774[_0x596616(0x421)]((_0x569860,_0x7436ea)=>[_0x569860[_0x596616(0x33c)],_0x7436ea]));}function _0x5257c6(_0x193600){const _0x2ea2bf=_0x292328;return!!(Array[_0x2ea2bf(0x3fe)](_0x193600[_0x2ea2bf(0x318)])&&_0x193600['rowIndex']&&_0x193600['rowId']&&_0x193600[_0x2ea2bf(0x30b)]&&_0x193600[_0x2ea2bf(0x252)]&&_0x193600[_0x2ea2bf(0x48e)]);}function _0x123125(_0x189cee){const _0x2c22dd=_0x292328;let _0xeb4d5=(_0x189cee==null?void 0x0:_0x189cee[_0x2c22dd(0x25b)][_0x2c22dd(0x544)](_0x5e04f6=>!_0x44fbec(_0x5e04f6)))??[];return!_0x189cee||!_0xeb4d5[_0x2c22dd(0x4fc)]?null:{'conjunction':_0x189cee[_0x2c22dd(0x3c5)],'conditions':_0xeb4d5['map'](_0x429690=>({'fieldId':_0x429690['fieldId'],'operator':_0x429690['operator'],'operand':_0x429690[_0x2c22dd(0x2f2)]}))};}function _0x3c6557(_0x1d4d26,_0x4598ea){const _0x1c97a1=_0x292328;return _0x1d4d26[_0x1c97a1(0x46f)]===_0x4598ea['records']&&_0x1d4d26[_0x1c97a1(0x318)]===_0x4598ea[_0x1c97a1(0x318)]&&_0x1d4d26[_0x1c97a1(0x445)]===_0x4598ea[_0x1c97a1(0x445)]&&_0x1d4d26[_0x1c97a1(0x379)]===_0x4598ea['fieldOrder']&&_0x1d4d26[_0x1c97a1(0x48e)]===_0x4598ea[_0x1c97a1(0x48e)]&&_0x1d4d26[_0x1c97a1(0x17e)]===_0x4598ea[_0x1c97a1(0x17e)]&&_0x1d4d26[_0x1c97a1(0x387)]===_0x4598ea[_0x1c97a1(0x387)]&&_0x1d4d26['colIndex']===_0x4598ea[_0x1c97a1(0x30b)]&&_0x1d4d26[_0x1c97a1(0x252)]===_0x4598ea['colId'];}function _0x2f49d8(_0x165d97){const _0x47884d=_0x292328;return _0x165d97!=null&&_0x165d97[_0x47884d(0x4fc)]?_0x165d97[_0x47884d(0x421)](_0x409777=>({'fieldId':_0x409777[_0x47884d(0x450)],'direction':_0x409777[_0x47884d(0x30e)]})):null;}function _0x4bfa81(_0x53615d){const _0x5b47a6=_0x292328;if(typeof _0x53615d!=_0x5b47a6(0x2f7)||!_0x53615d)return JSON[_0x5b47a6(0x131)](_0x53615d)??'undefined';if(Array[_0x5b47a6(0x3fe)](_0x53615d))return'['+_0x53615d['map'](_0x4bfa81)[_0x5b47a6(0x2a9)](',')+']';let _0x39cee4=_0x53615d;return'{'+Object[_0x5b47a6(0x153)](_0x39cee4)[_0x5b47a6(0x2e9)]()[_0x5b47a6(0x421)](_0x4ef6e6=>JSON[_0x5b47a6(0x131)](_0x4ef6e6)+':'+_0x4bfa81(_0x39cee4[_0x4ef6e6]))[_0x5b47a6(0x2a9)](',')+'}';}function _0x3737e8(_0x49a0ae){const _0x1fc58b=_0x292328;let _0x3dfebb=Object['values'](_0x49a0ae)['sort']((_0x44ce16,_0x844909)=>_0x44ce16[_0x1fc58b(0x449)][_0x1fc58b(0x211)](_0x844909[_0x1fc58b(0x449)])),_0x4c114c=[];for(let _0x28505e of _0x3dfebb)_0x4c114c['push'](_0x28505e['id']);return _0x4c114c;}function _0x24755f(_0x5cd33f){const _0x2e5039=_0x292328;return{'weekdays':Array[_0x2e5039(0x3fe)](_0x5cd33f==null?void 0x0:_0x5cd33f[_0x2e5039(0x382)])&&_0x5cd33f['weekdays']['length']?[...new Set(_0x5cd33f[_0x2e5039(0x382)][_0x2e5039(0x544)](_0x181a13=>Number[_0x2e5039(0x1b4)](_0x181a13)&&_0x181a13>=0x1&&_0x181a13<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2e5039(0x3fe)](_0x5cd33f==null?void 0x0:_0x5cd33f[_0x2e5039(0x2cd)])?_0x5cd33f[_0x2e5039(0x2cd)]['flatMap'](_0x523e81=>!_0x523e81||!Number[_0x2e5039(0x313)](_0x523e81['date'])?[]:[{'id':String(_0x523e81['id']||'exception-'+_0x523e81[_0x2e5039(0x4dd)]),'date':_0x49ab7a(Number(_0x523e81[_0x2e5039(0x4dd)])),'name':String(_0x523e81['name']||_0x2e5039(0x574)),'type':_0x523e81[_0x2e5039(0x11c)]===_0x2e5039(0x1e6)?'working':_0x2e5039(0x488)}]):[]};}function _0x38324c(_0x193443,_0x8cd3cd,_0x1dead7,_0xa5fb3f){let _0x102b00=_0x4a934b(_0x193443,_0x8cd3cd),_0x3e3f6f=_0x100420(_0x193443,_0x1dead7),_0x29ff13=_0x3964e1(_0x193443,_0x102b00,_0x3e3f6f,_0xa5fb3f);return{'scale':_0x193443,'start':_0x102b00,'end':_0x3e3f6f,'unitWidth':_0x40aac9(_0x193443),'majorHeaders':_0x324984(_0x193443,_0x102b00,_0x3e3f6f),'columns':_0x29ff13};}function _0x3964e1(_0x2f9400,_0x12c588,_0x105e29,_0x169bfb){const _0x29e8e1=_0x292328;let _0xcfa8b8=[],_0x20a968=_0x12c588;for(;_0x20a968<_0x105e29;){let _0xcfa8db=_0x2f9400===_0x29e8e1(0x2ad)?_0x3261c5(_0x20a968,0x7):_0x2f9400===_0x29e8e1(0x4bf)?_0x37c017(_0x20a968,0x1):_0x3261c5(_0x20a968,0x1);_0xcfa8b8[_0x29e8e1(0x429)]({'id':_0x2f9400+'-'+_0x20a968,'label':_0x511f6c(_0x2f9400,_0x20a968,_0xcfa8db),'majorLabel':_0x5b9cdb(_0x2f9400,_0x20a968),'start':_0x20a968,'end':_0xcfa8db,'nonWorking':_0x2c1b6e(_0x20a968,_0xcfa8db,_0x169bfb)}),_0x20a968=_0xcfa8db;}return _0xcfa8b8;}function _0x324984(_0x57eb25,_0x3ae656,_0x5f470c){const _0x3fb3a5=_0x292328;let _0x15fee3=[],_0x567f4c=_0x57eb25===_0x3fb3a5(0x4bf)?_0x3c31e5(_0x3ae656):_0x493306(_0x3ae656);for(;_0x567f4c<_0x5f470c;){let _0x2c31c6=_0x57eb25==='year'?_0xf9fbc0(_0x567f4c,0x1):_0x37c017(_0x567f4c,0x1);_0x15fee3[_0x3fb3a5(0x429)]({'id':_0x3fb3a5(0x2c3)+_0x567f4c,'label':_0x57eb25===_0x3fb3a5(0x4bf)?String(new Date(_0x567f4c)['getUTCFullYear']()):_0x4cbb21(_0x567f4c),'start':_0x567f4c,'end':_0x2c31c6}),_0x567f4c=_0x2c31c6;}return _0x15fee3;}function _0x40aac9(_0x2eba62){const _0x3aa798=_0x292328;switch(_0x2eba62){case _0x3aa798(0x4a3):return 0xac;case _0x3aa798(0x2ad):return 0xac;case _0x3aa798(0x4bf):return 0x88;default:return 0x56;}}function _0x4a934b(_0x132cfd,_0x19258d){const _0x2cc899=_0x292328;return _0x132cfd===_0x2cc899(0x4bf)?_0x3c31e5(_0x19258d):_0x132cfd===_0x2cc899(0x2ad)?_0x13f057(_0x19258d):_0x49ab7a(_0x19258d);}function _0x100420(_0x51e627,_0x3678f0){const _0x2dc25a=_0x292328;return _0x51e627===_0x2dc25a(0x4bf)?_0xf9fbc0(_0x3c31e5(_0x3678f0),0x1):_0x51e627===_0x2dc25a(0x2ad)?_0x3261c5(_0x13f057(_0x3678f0),0x7):_0x3261c5(_0x49ab7a(_0x3678f0),0x1);}function _0x511f6c(_0x11e645,_0x5eccb4,_0x23e1bb){const _0x4c7d64=_0x292328;let _0x109f53=new Date(_0x5eccb4);return _0x11e645===_0x4c7d64(0x2ad)?_0x109f53[_0x4c7d64(0x566)]()+'-'+new Date(_0x23e1bb-_0x3867bc)[_0x4c7d64(0x566)]():_0x11e645==='year'?_0x109f53['toLocaleString']('en-US',{'month':_0x4c7d64(0x556),'timeZone':_0x4c7d64(0x196)}):String(_0x109f53[_0x4c7d64(0x566)]());}function _0x5b9cdb(_0xe5fc29,_0x51a4a6){const _0x2483b4=_0x292328;return _0xe5fc29===_0x2483b4(0x4bf)?String(new Date(_0x51a4a6)[_0x2483b4(0x113)]()):_0x4cbb21(_0x51a4a6);}function _0x39f1b0(_0x5967f9,_0x20a62e,_0x21bad4){let _0x315a61=_0x24755f(_0x21bad4),_0xd50ac2=0x0;for(let _0x5ba8c7=_0x49ab7a(_0x5967f9);_0x5ba8c7<=_0x49ab7a(_0x20a62e);_0x5ba8c7=_0x3261c5(_0x5ba8c7,0x1))_0xdfc281(_0x5ba8c7,_0x315a61)||_0xd50ac2++;return _0xd50ac2;}function _0x2c1b6e(_0x5010a9,_0x3b4d33,_0x56a7ec){if(!_0x56a7ec)return!0x1;let _0xea9272=_0x24755f(_0x56a7ec);for(let _0x3ac438=_0x49ab7a(_0x5010a9);_0x3ac438<_0x3b4d33;_0x3ac438=_0x3261c5(_0x3ac438,0x1))if(!_0xdfc281(_0x3ac438,_0xea9272))return!0x1;return!0x0;}function _0xdfc281(_0x4fe523,_0x3564d5){const _0x2ef7d2=_0x292328;let _0x2c86ae=_0x49ab7a(_0x4fe523),_0x541d7b=_0x3564d5[_0x2ef7d2(0x2cd)][_0x2ef7d2(0x304)](_0x2c376e=>_0x49ab7a(_0x2c376e[_0x2ef7d2(0x4dd)])===_0x2c86ae);if(_0x541d7b)return _0x541d7b[_0x2ef7d2(0x11c)]===_0x2ef7d2(0x488);let _0x542768=new Date(_0x2c86ae)['getUTCDay'](),_0x38803d=_0x542768===0x0?0x7:_0x542768;return!_0x3564d5[_0x2ef7d2(0x382)]['includes'](_0x38803d);}function _0x49ab7a(_0x383b8b){const _0x42f7a2=_0x292328;let _0x117cdf=new Date(_0x383b8b);return Date[_0x42f7a2(0x196)](_0x117cdf[_0x42f7a2(0x113)](),_0x117cdf[_0x42f7a2(0x4b6)](),_0x117cdf[_0x42f7a2(0x566)]());}function _0x13f057(_0x5b8f29){const _0x4a8095=_0x292328;let _0x4e3e67=_0x49ab7a(_0x5b8f29),_0x2ca475=new Date(_0x4e3e67)[_0x4a8095(0x1c6)]();return _0x3261c5(_0x4e3e67,-(_0x2ca475===0x0?0x6:_0x2ca475-0x1));}function _0x493306(_0x27b256){const _0x241c29=_0x292328;let _0x40c097=new Date(_0x27b256);return Date[_0x241c29(0x196)](_0x40c097[_0x241c29(0x113)](),_0x40c097[_0x241c29(0x4b6)](),0x1);}function _0x3c31e5(_0x2b07d0){const _0x4785bd=_0x292328;let _0x362256=new Date(_0x2b07d0);return Date[_0x4785bd(0x196)](_0x362256[_0x4785bd(0x113)](),0x0,0x1);}function _0x3261c5(_0x4682bf,_0x4fdf57){return _0x4682bf+_0x4fdf57*_0x3867bc;}function _0x37c017(_0x43be4b,_0x2f35c8){const _0x531fc3=_0x292328;let _0x3659c7=new Date(_0x43be4b);return Date['UTC'](_0x3659c7[_0x531fc3(0x113)](),_0x3659c7[_0x531fc3(0x4b6)]()+_0x2f35c8,0x1);}function _0xf9fbc0(_0x456ef4,_0x22e9ac){const _0x5e8e73=_0x292328;let _0x1dacef=new Date(_0x456ef4);return Date[_0x5e8e73(0x196)](_0x1dacef[_0x5e8e73(0x113)]()+_0x22e9ac,0x0,0x1);}function _0x4cbb21(_0x171918){const _0x5dbb4f=_0x292328;let _0x5adcde=new Date(_0x171918);return _0x5adcde[_0x5dbb4f(0x43a)](_0x5dbb4f(0x2ff),{'month':_0x5dbb4f(0x556),'timeZone':_0x5dbb4f(0x196)})+'\x20'+_0x5adcde[_0x5dbb4f(0x113)]();}function _0x4a981a(_0x4484dd,_0x585eff){const _0x3e3559=_0x292328;if(_0x4484dd==null&&_0x585eff==null)return 0x0;if(_0x4484dd==null)return-0x1;if(_0x585eff==null)return 0x1;if(typeof _0x4484dd==_0x3e3559(0x236)||typeof _0x585eff==_0x3e3559(0x236))return Number(_0x4484dd===!0x0)-Number(_0x585eff===!0x0);let _0x37a55=Number(_0x4484dd),_0x254c7c=Number(_0x585eff),_0x1303ea=Number[_0x3e3559(0x313)](_0x37a55),_0x5ec666=Number[_0x3e3559(0x313)](_0x254c7c);return _0x1303ea&&_0x5ec666?_0x37a55-_0x254c7c:_0x1303ea?0x1:_0x5ec666?-0x1:String(_0x4484dd)[_0x3e3559(0x211)](String(_0x585eff));}function _0x44fbec(_0x2fb06b){const _0x19e23f=_0x292328;if(_0x2fb06b[_0x19e23f(0x137)]!=='is'&&_0x2fb06b[_0x19e23f(0x137)]!==_0x19e23f(0x3a6))return!0x1;let _0x44e69f=_0x2fb06b[_0x19e23f(0x2f2)];return _0x44e69f==null?!0x0:typeof _0x44e69f==_0x19e23f(0x4ce)?_0x44e69f[_0x19e23f(0x2b7)]()==='':Array[_0x19e23f(0x3fe)](_0x44e69f)?_0x44e69f['length']===0x0:!0x1;}function _0x2a42d5(_0x4f8b11,_0x30bdeb){const _0x123338=_0x292328;var _0x21f9b8;let _0x21e5ba=Array[_0x123338(0x3fe)]((_0x21f9b8=_0x4f8b11[_0x123338(0x441)])==null?void 0x0:_0x21f9b8[_0x123338(0x1b9)])?_0x4f8b11[_0x123338(0x441)]['options']:[];for(let _0x4543d5 of _0x21e5ba){if(_0x4543d5==null)continue;if(typeof _0x4543d5==_0x123338(0x4ce)){if(_0x4543d5===_0x30bdeb)return{'id':_0x4543d5,'name':_0x4543d5};continue;}let _0x179b9b=_0x4543d5,_0x388594=String(_0x179b9b['id']??_0x179b9b[_0x123338(0x4c0)]??''),_0x209a67=String(_0x179b9b['name']??_0x179b9b['id']??_0x388594);if(_0x388594===_0x30bdeb||_0x209a67===_0x30bdeb)return{'id':_0x388594,'name':_0x209a67,'color':_0x179b9b[_0x123338(0x127)]==null?void 0x0:String(_0x179b9b[_0x123338(0x127)])};}return null;}let _0x2df54b=function(_0x3b2b53){const _0x3f8df7=_0x292328;return _0x3b2b53[_0x3f8df7(0x3f7)]=_0x3f8df7(0x528),_0x3b2b53[_0x3f8df7(0x185)]=_0x3f8df7(0x136),_0x3b2b53;}({}),_0x2995c3={'id':_0x292328(0x2e1),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x3ba)],'handler'(_0x35cf18,_0x3e9160){const _0xb94d54=_0x292328;let {unitId:_0xf76875,op:_0x47b512}=_0x3e9160,_0x34aa2e=_0x35cf18['get'](_0x36cce1[_0xb94d54(0x21d)])['getUnit'](_0xf76875,_0x36cce1[_0xb94d54(0x1fe)][_0xb94d54(0x355)]);if(!_0x34aa2e)return!0x1;let _0x171e44=_0x34aa2e['getSnapshot'](),_0x5f1c32=new _0x4263aa(),_0x568ca6=_0x5f1c32['getAffectedRanges'](_0x47b512),_0xb250ae=_0x5f1c32[_0xb94d54(0x4a2)](_0x171e44,_0x47b512);return _0x34aa2e[_0xb94d54(0x371)](_0xb250ae),_0x49e86c(_0xb250ae,_0x568ca6,_0x35cf18[_0xb94d54(0x1fa)](_0x13cb3e)),!0x0;}};function _0x49e86c(_0x73cbe,_0xbd1539,_0x229a3d){const _0x32ec75=_0x292328;let _0x44b0ef=new Set(),_0x2166e6=new Set(),_0x1009ca=new Set();for(let _0x8cf321 of _0xbd1539){if(_0x8cf321['reason']===_0x32ec75(0x176)&&_0x8cf321[_0x32ec75(0x578)]&&_0x8cf321[_0x32ec75(0x1fb)]){let _0x5272cd=_0x8cf321[_0x32ec75(0x578)]+'\x00'+_0x8cf321[_0x32ec75(0x1fb)];_0x1009ca[_0x32ec75(0x16f)](_0x5272cd)||(_0x1009ca['add'](_0x5272cd),_0x229a3d[_0x32ec75(0x3c0)](_0x8cf321['tableId'],_0x8cf321[_0x32ec75(0x1fb)]));continue;}if(_0x8cf321['reason']===_0x32ec75(0x250)&&_0x8cf321[_0x32ec75(0x578)]&&_0x8cf321[_0x32ec75(0x450)]){let _0x5c7cac=_0x8cf321[_0x32ec75(0x578)]+'\x00'+_0x8cf321[_0x32ec75(0x450)];_0x2166e6[_0x32ec75(0x16f)](_0x5c7cac)||(_0x2166e6['add'](_0x5c7cac),_0x229a3d[_0x32ec75(0x3d7)](_0x8cf321['tableId'],_0x8cf321['fieldId']));continue;}if(_0x8cf321[_0x32ec75(0x49d)]!==_0x32ec75(0x522)){_0x229a3d['invalidateByOp']();return;}let _0x5d2306=_0x4d6325(_0x73cbe,_0x8cf321);if(!_0x5d2306){_0x229a3d[_0x32ec75(0x182)]();return;}let _0x200f82=_0x5d2306[_0x32ec75(0x578)]+'\x00'+_0x5d2306['recordId']+'\x00'+_0x5d2306['fieldId'];_0x44b0ef[_0x32ec75(0x16f)](_0x200f82)||(_0x44b0ef[_0x32ec75(0x18c)](_0x200f82),_0x229a3d['invalidateByCell'](_0x5d2306[_0x32ec75(0x578)],_0x5d2306['recordId'],_0x5d2306['fieldId']));}}function _0x4d6325(_0x167d0f,_0x2ebbba){const _0x229ca5=_0x292328;var _0x1ba76e,_0x91397e;if(!_0x2ebbba[_0x229ca5(0x578)])return null;if(_0x2ebbba[_0x229ca5(0x33c)]&&_0x2ebbba['fieldId'])return{'tableId':_0x2ebbba[_0x229ca5(0x578)],'recordId':_0x2ebbba['recordId'],'fieldId':_0x2ebbba[_0x229ca5(0x450)]};if(_0x2ebbba[_0x229ca5(0x4eb)]==null||_0x2ebbba['column']==null)return null;let _0x4b4719=_0x167d0f[_0x229ca5(0x288)][_0x2ebbba[_0x229ca5(0x578)]],_0x2b54ca=_0x4b4719==null||(_0x1ba76e=_0x4b4719['rowId'])==null?void 0x0:_0x1ba76e[_0x2ebbba[_0x229ca5(0x4eb)]],_0x3b6a65=_0x4b4719==null||(_0x91397e=_0x4b4719[_0x229ca5(0x252)])==null?void 0x0:_0x91397e[_0x2ebbba[_0x229ca5(0x482)]];return!_0x2b54ca||!_0x3b6a65?null:{'tableId':_0x2ebbba[_0x229ca5(0x578)],'recordId':_0x2b54ca,'fieldId':_0x3b6a65};}let _0x59f96e=_0x36cce1[_0x292328(0x27f)][_0x292328(0x3ff)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x567b01=_0x36cce1['regexp'][_0x292328(0x3ff)](String[_0x292328(0x2e8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x1d646f=/\{([^}]+)\}/g,_0x26b2bc=_0x36cce1[_0x292328(0x27f)][_0x292328(0x3ff)](String[_0x292328(0x2e8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x252016=_0x36cce1[_0x292328(0x27f)][_0x292328(0x3ff)](String[_0x292328(0x2e8)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x30ba7c=_0x36cce1[_0x292328(0x27f)][_0x292328(0x3ff)](String['raw']`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x586433=_0x36cce1['regexp'][_0x292328(0x3ff)](String[_0x292328(0x2e8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x125b4a=_0x36cce1[_0x292328(0x27f)]['createRegExpFromSafeFragment'](String[_0x292328(0x2e8)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x303340=_0x36cce1['regexp'][_0x292328(0x3ff)](String[_0x292328(0x2e8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x2ed136=class{[_0x292328(0x44e)](_0x28dcca,_0x3168b4=_0x28dcca['id']){const _0x301943=_0x292328;var _0x1ffbf8;let _0x5d8cf2=((_0x1ffbf8=_0x28dcca[_0x301943(0x318)])==null?void 0x0:_0x1ffbf8[_0x301943(0x4fc)])??Object[_0x301943(0x1ea)](_0x28dcca[_0x301943(0x46f)])['length'];return{'sheetId':_0x3168b4,'titleMap':new Map(_0x28dcca['fieldOrder'][_0x301943(0x421)]((_0x572031,_0x31da95)=>{const _0x47a8a3=_0x301943;var _0x1b33df;return[((_0x1b33df=_0x28dcca[_0x47a8a3(0x445)][_0x572031])==null?void 0x0:_0x1b33df[_0x47a8a3(0x4c0)])??_0x572031,_0x31da95];})),'range':{'startRow':0x0,'endRow':Math[_0x301943(0x2ac)](0x0,_0x5d8cf2-0x1),'startColumn':0x0,'endColumn':Math[_0x301943(0x2ac)](0x0,_0x28dcca['fieldOrder'][_0x301943(0x4fc)]-0x1)},'showHeader':!0x1};}[_0x292328(0x227)](_0x11f44c,_0x551240){const _0x296689=_0x292328;let _0x36d399=[],_0x1d7f5c=_0x551240?new Set(_0x551240):null,_0x203191=(0x0,_0x36cce1[_0x296689(0x295)])(_0x11f44c);return Object[_0x296689(0x1ea)](_0x11f44c[_0x296689(0x288)])[_0x296689(0x544)](_0x3c8250=>!_0x1d7f5c||_0x1d7f5c[_0x296689(0x16f)](_0x3c8250['id']))[_0x296689(0x56d)](_0xe7870b=>{const _0x5a1046=_0x296689;let _0x3b1b20=this[_0x5a1046(0x44e)](_0xe7870b,_0xe7870b['id']);_0x36d399['push']({'tableId':_0xe7870b['id'],'tableName':_0x203191[_0x5a1046(0x1fa)](_0xe7870b['id']),'reference':_0x3b1b20});}),_0x36d399;}[_0x292328(0x2d7)](_0x54b7a4,_0x57707c,_0x31a6a0={}){const _0x5c6a61=_0x292328;let _0x50e0e2=_0x54b7a4['trim']();if(!_0x50e0e2)return{'valid':!0x0};if(_0x4ded21(_0x50e0e2))return{'valid':!0x1,'reason':_0x5c6a61(0x1ae)};let _0x45c02c=_0x31a6a0[_0x5c6a61(0x309)]?(0x0,_0x36cce1[_0x5c6a61(0x295)])(_0x31a6a0[_0x5c6a61(0x309)]):void 0x0;for(let _0x618d6e of _0x2407d4(_0x50e0e2)){let _0x241c93=_0x52b14d(_0x618d6e,_0x57707c,_0x31a6a0['snapshot'],_0x45c02c);if(!_0x241c93[_0x5c6a61(0x442)])return{'valid':!0x1,'reason':_0x5c6a61(0x2b2)+_0x618d6e[_0x5c6a61(0x42b)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x241c93['field'])return{'valid':!0x1,'reason':_0x5c6a61(0x159)+_0x618d6e['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x292328(0x3a5)](_0xfca8fc,_0x1d598c,_0x507473={}){const _0x4a2f11=_0x292328;let _0x2a2558=new Set();for(let _0x372869 of this[_0x4a2f11(0x337)](_0xfca8fc,_0x1d598c,_0x507473))_0x372869[_0x4a2f11(0x578)]===_0x1d598c['id']&&_0x2a2558[_0x4a2f11(0x18c)](_0x372869[_0x4a2f11(0x450)]);return Array[_0x4a2f11(0x11f)](_0x2a2558);}[_0x292328(0x337)](_0x1bf837,_0x37a563,_0x177d10={}){const _0x1243eb=_0x292328;let _0x374e99=new Map(),_0x389ef1=_0x177d10[_0x1243eb(0x309)]?(0x0,_0x36cce1[_0x1243eb(0x295)])(_0x177d10['snapshot']):void 0x0;for(let _0x33f803 of _0x2407d4(_0x1bf837)){let _0x4fea5f=_0x52b14d(_0x33f803,_0x37a563,_0x177d10['snapshot'],_0x389ef1);if(!_0x4fea5f[_0x1243eb(0x442)]||!_0x4fea5f['field'])continue;let _0x56c19c=_0x4fea5f[_0x1243eb(0x442)]['id']+'\x1f'+_0x4fea5f[_0x1243eb(0x250)]['id'];_0x374e99[_0x1243eb(0x251)](_0x56c19c,{'tableId':_0x4fea5f[_0x1243eb(0x442)]['id'],'fieldId':_0x4fea5f['field']['id']});}return Array[_0x1243eb(0x11f)](_0x374e99[_0x1243eb(0x1ea)]());}};function _0x16e2dc(_0x5b005b,_0x5bb3db){const _0x370144=_0x292328;var _0xe5e97;let _0x586155=[],_0x143c2f=(_0xe5e97=_0x5bb3db[_0x370144(0x155)])==null?void 0x0:_0xe5e97[_0x5b005b['id']];return _0x143c2f&&Object[_0x370144(0x2e3)](_0x143c2f)[_0x370144(0x56d)](([_0x5f2e27,_0x1d8a7b])=>{const _0x2f808b=_0x370144;let _0x38bbb8=_0x5b005b['tables'][_0x5f2e27];if(!_0x38bbb8||!_0x1d8a7b)return;let _0x436394=_0x526a9d(_0x38bbb8),_0x1d62c4=[];new _0x36cce1[(_0x2f808b(0x3b1))](_0x1d8a7b)[_0x2f808b(0x3c1)]((_0x55ea2b,_0x3fde6c,_0x50e907)=>{const _0x5160fb=_0x2f808b;let _0x493f68=_0x4f6602(_0x436394,_0x55ea2b,_0x3fde6c,_0x50e907);_0x493f68&&_0x1d62c4[_0x5160fb(0x429)](_0x493f68);}),_0x1d62c4['length']&&_0x586155[_0x2f808b(0x429)]({'unitId':_0x5b005b['id'],'tableId':_0x5f2e27,'patches':_0x1d62c4});}),_0x586155;}function _0x4f6602(_0x1c2541,_0x3c6dfd,_0x57ed6e,_0x1cbcbc){const _0x5095de=_0x292328;var _0x25f30b,_0x4e715c,_0x51835a;let _0x302b9c=(_0x25f30b=_0x1c2541[_0x5095de(0x387)])==null?void 0x0:_0x25f30b[_0x3c6dfd],_0x1651ac=(_0x4e715c=_0x1c2541[_0x5095de(0x252)])==null?void 0x0:_0x4e715c[_0x57ed6e];if(!_0x302b9c||!_0x1c2541[_0x5095de(0x46f)][_0x302b9c]||!_0x1651ac)return null;let _0x33025c=_0x1c2541['fields'][_0x1651ac];if(!_0x33025c||_0x33025c[_0x5095de(0x11c)]!==_0x5095de(0x32b))return null;let _0x86a49c=String(((_0x51835a=_0x33025c[_0x5095de(0x441)])==null?void 0x0:_0x51835a[_0x5095de(0x32b)])??'')[_0x5095de(0x2b7)](),_0x4222ba=(_0x1cbcbc==null?void 0x0:_0x1cbcbc['v'])??null,_0x3a887e={'v':_0x4222ba,'t':_0x1fc763(_0x4222ba),..._0x3c6dfd===0x0&&_0x86a49c?{'f':_0x86a49c}:{},'si':_0x33025c['id']};return _0x39d682(_0x28717c(_0x1c2541,_0x302b9c,_0x1651ac),_0x3a887e)?null:{'row':_0x3c6dfd,'col':_0x57ed6e,'value':_0x3a887e};}function _0x39d682(_0x529bd5,_0x435008){return _0x529bd5!=null&&Object['is'](_0x529bd5['v']??null,_0x435008['v']??null)&&_0x529bd5['t']===_0x435008['t']&&_0x529bd5['f']===_0x435008['f']&&_0x529bd5['si']===_0x435008['si'];}function _0x1fc763(_0x5da339){const _0x215e1a=_0x292328;return typeof _0x5da339==_0x215e1a(0x2dd)?_0x36cce1[_0x215e1a(0x264)]['NUMBER']:typeof _0x5da339==_0x215e1a(0x236)?_0x36cce1[_0x215e1a(0x264)][_0x215e1a(0x397)]:typeof _0x5da339==_0x215e1a(0x4ce)?_0x36cce1[_0x215e1a(0x264)]['STRING']:null;}function _0x2407d4(_0x4c2b0f){const _0x5a9b4b=_0x292328;let _0x2c3d49=_0x5e031c(_0x4c2b0f,()=>''),_0x345df8=new Map(),_0x2c422f=_0x488a04=>{const _0x5e51b0=_0x5c61;_0x345df8[_0x5e51b0(0x251)]((_0x488a04[_0x5e51b0(0x42b)]??'')+'\x1f'+_0x488a04['fieldName'],_0x488a04);};for(let _0x238a7e of _0x2c3d49[_0x5a9b4b(0x25f)](_0x1d646f))_0x2c422f({'fieldName':_0x238a7e[0x1],'scope':_0x5a9b4b(0x4e8)});_0x2c3d49=_0x2c3d49['replace'](_0x26b2bc,(_0x49ee8d,_0x5697bc,_0x119c21,_0x1553d2)=>(_0x2c422f({'tableName':_0x5697bc,'fieldName':_0x1553d2,'scope':_0x119c21['toLowerCase']()===_0x5a9b4b(0x41a)?_0x5a9b4b(0x41a):'this-row'}),'\x20')),_0x2c3d49=_0x2c3d49[_0x5a9b4b(0x344)](_0x252016,(_0x1c55e1,_0x27fd0f,_0x3796cf)=>(_0x2c422f({'tableName':_0x27fd0f,'fieldName':_0x3796cf,'scope':_0x5a9b4b(0x4e8)}),'\x20')),_0x2c3d49=_0x2c3d49[_0x5a9b4b(0x344)](_0x586433,(_0x50bdad,_0x84335e,_0x5b81fe,_0x540f61)=>(_0x2c422f({'fieldName':_0x540f61,'scope':_0x5b81fe[_0x5a9b4b(0x4db)]()===_0x5a9b4b(0x41a)?_0x5a9b4b(0x41a):'this-row'}),_0x84335e+'\x20')),_0x2c3d49=_0x2c3d49['replace'](_0x125b4a,(_0x54e4bd,_0xc157c,_0x5a0458)=>(_0x2c422f({'fieldName':_0x5a0458,'scope':'this-row'}),_0xc157c+'\x20'));for(let _0x52a8df of _0x2c3d49[_0x5a9b4b(0x25f)](_0x30ba7c))_0x2c422f({'tableName':_0x52a8df[0x1],'fieldName':_0x52a8df[0x2]});for(let _0x927b4a of _0x2c3d49[_0x5a9b4b(0x25f)](_0x303340))_0x2c422f({'fieldName':_0x927b4a[0x2],'scope':_0x5a9b4b(0x4e8)});return Array[_0x5a9b4b(0x11f)](_0x345df8[_0x5a9b4b(0x1ea)]());}function _0x4ded21(_0x4cbf68){const _0x5db78d=_0x292328;let _0x14006c=_0x5e031c(_0x4cbf68,()=>'\x20')[_0x5db78d(0x344)](_0x1d646f,'\x20')[_0x5db78d(0x344)](_0x26b2bc,'\x20')[_0x5db78d(0x344)](_0x252016,'\x20')[_0x5db78d(0x344)](_0x586433,_0x5db78d(0x1de))[_0x5db78d(0x344)](_0x125b4a,_0x5db78d(0x1de))['replace'](_0x30ba7c,'\x20')[_0x5db78d(0x344)](_0x303340,_0x5db78d(0x1de));return _0x59f96e[_0x5db78d(0x23f)](_0x14006c);}function _0x32c377(_0x395bc7,_0x2bf52a){return _0x337088(_0x109e4f(_0x395bc7,_0x2bf52a),_0x2bf52a);}function _0x5e031c(_0x336b12,_0x44c073){return _0xdb0f50(_0x32c377(_0x336b12,_0x44c073),_0x44c073);}function _0xdb0f50(_0x448dd2,_0x75ddec){const _0x25c438=_0x292328;return _0x448dd2[_0x25c438(0x344)](/"(?:""|[^"])*"/g,_0x75ddec);}function _0x109e4f(_0x573085,_0x1b6692){const _0x1b65d=_0x292328;return _0x567b01[_0x1b65d(0x407)]=0x0,_0x573085[_0x1b65d(0x344)](_0x567b01,(_0x52fd47,_0x246cd6)=>_0x5e8e61(_0x573085,_0x246cd6)?_0x52fd47:_0x1b6692(_0x52fd47));}let _0x1cb997=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x337088(_0x1a7477,_0x1a0cdc){const _0x2955b6=_0x292328;let _0x21959f=[];for(_0x1cb997[_0x2955b6(0x407)]=0x0;;){let _0x4c044c=_0x1cb997[_0x2955b6(0x3c7)](_0x1a7477);if(_0x4c044c==null)break;if(_0x5e8e61(_0x1a7477,_0x4c044c[_0x2955b6(0x129)]))continue;let _0x5608af=_0x1cb997['lastIndex']-0x1,_0x308215=0x0;for(let _0x1fe08f=_0x5608af;_0x1fe08f<_0x1a7477['length'];_0x1fe08f++)if(_0x1a7477[_0x1fe08f]==='['&&_0x308215++,_0x1a7477[_0x1fe08f]===']'&&(_0x308215--,_0x308215===0x0)){_0x21959f[_0x2955b6(0x429)]({'start':_0x4c044c['index'],'end':_0x1fe08f+0x1}),_0x1cb997[_0x2955b6(0x407)]=_0x1fe08f+0x1;break;}}if(_0x21959f[_0x2955b6(0x4fc)]===0x0)return _0x1a7477;let _0x12b2ee='',_0x58cd28=0x0;for(let _0x23cf45 of _0x21959f)_0x12b2ee+=_0x1a7477[_0x2955b6(0x2ed)](_0x58cd28,_0x23cf45[_0x2955b6(0x121)]),_0x12b2ee+=_0x1a0cdc(_0x1a7477[_0x2955b6(0x2ed)](_0x23cf45['start'],_0x23cf45[_0x2955b6(0x475)])),_0x58cd28=_0x23cf45['end'];return _0x12b2ee+_0x1a7477[_0x2955b6(0x2ed)](_0x58cd28);}function _0x5e8e61(_0x460cc2,_0x140fef){let _0x492ddd=!0x1;for(let _0x16863e=0x0;_0x16863e<_0x140fef;_0x16863e++)_0x460cc2[_0x16863e]==='\x22'&&(_0x492ddd&&_0x460cc2[_0x16863e+0x1]==='\x22'?_0x16863e++:_0x492ddd=!_0x492ddd);return _0x492ddd;}function _0x52b14d(_0x2ff780,_0x3e536d,_0x103dea,_0x227f41){const _0xa626c4=_0x292328;let _0x154a1e=_0x593cd4(_0x2ff780['tableName'],_0x3e536d,_0x103dea,_0x227f41);return{'table':_0x154a1e,'field':_0x154a1e?Object[_0xa626c4(0x1ea)](_0x154a1e[_0xa626c4(0x445)])[_0xa626c4(0x304)](_0x2209cb=>_0x2209cb[_0xa626c4(0x4c0)]===_0x2ff780[_0xa626c4(0x19d)]):void 0x0};}function _0x593cd4(_0x483641,_0x3071cd,_0x372819,_0x25ea22){const _0x315df3=_0x292328;if(!_0x483641)return _0x3071cd;if(!_0x372819){var _0xd6cc33;let _0x166cb0=_0x483641[_0x315df3(0x4db)]();return _0x166cb0===_0x3071cd['id'][_0x315df3(0x4db)]()||_0x166cb0===_0x3071cd['name'][_0x315df3(0x4db)]()||_0x166cb0===((_0xd6cc33=_0x3071cd['formulaName'])==null?void 0x0:_0xd6cc33['toLowerCase']())?_0x3071cd:void 0x0;}let _0x388627=_0x483641[_0x315df3(0x4db)](),_0x3fd846=_0x25ea22??(0x0,_0x36cce1[_0x315df3(0x295)])(_0x372819),_0x2f9f59=Object[_0x315df3(0x1ea)](_0x372819['tables'])[_0x315df3(0x544)](_0x571023=>{const _0x319294=_0x315df3;var _0x5d3b64;return _0x571023['id']['toLowerCase']()===_0x388627||_0x571023[_0x319294(0x4c0)][_0x319294(0x4db)]()===_0x388627||((_0x5d3b64=_0x3fd846[_0x319294(0x1fa)](_0x571023['id']))==null?void 0x0:_0x5d3b64['toLowerCase']())===_0x388627||_0x1e59d8(_0x571023['id'])[_0x319294(0x4db)]()===_0x388627;});return _0x2f9f59[_0x315df3(0x4fc)]===0x1?_0x2f9f59[0x0]:void 0x0;}function _0x1e59d8(_0x5ee7d7){const _0x515ceb=_0x292328;return _0x515ceb(0x1b1)+Array[_0x515ceb(0x11f)](_0x5ee7d7,_0xc703f6=>{const _0x17cb6f=_0x515ceb;var _0x2e9706;return/[A-Za-z0-9]/[_0x17cb6f(0x23f)](_0xc703f6)?_0xc703f6:'_x'+(((_0x2e9706=_0xc703f6[_0x17cb6f(0x481)](0x0))==null?void 0x0:_0x2e9706[_0x17cb6f(0x199)](0x10))??'0')+'_';})['join']('');}let _0x2e1871=new _0x2ed136();function _0x35738e(_0x35ee5b,_0x43ce0d,_0x572695){const _0x4dbecd=_0x292328;var _0x45e326;if(_0x572695['type']!==_0x36cce1['BaseFieldType'][_0x4dbecd(0x1e5)])return!0x0;let _0x3924b7=String(((_0x45e326=_0x572695[_0x4dbecd(0x441)])==null?void 0x0:_0x45e326['formula'])??''),_0x10d0cb=_0x35ee5b[_0x4dbecd(0x363)]();return _0x2e1871[_0x4dbecd(0x2d7)](_0x3924b7,_0x10d0cb[_0x4dbecd(0x288)][_0x43ce0d],{'snapshot':_0x10d0cb})['valid'];}function _0x56501d(_0x4592e9,_0x23d3c4,_0x387515){const _0xf9daa0=_0x292328;let _0x56170d=_0x4592e9['getSnapshot']()[_0xf9daa0(0x288)][_0x23d3c4];if(!_0x56170d)return!0x1;let {viewIds:_0x3c37d1,fieldIds:_0x547f56,recordIds:_0x3bda48}=_0x387515||{};if(_0x3c37d1){for(let _0x421469 of _0x3c37d1)if(!_0x56170d[_0xf9daa0(0x2b9)][_0x421469])return!0x1;}if(_0x547f56){for(let _0x2a77ef of _0x547f56)if(!_0x56170d[_0xf9daa0(0x445)][_0x2a77ef])return!0x1;}if(_0x3bda48){for(let _0x3ce6bf of _0x3bda48)if(!_0x56170d[_0xf9daa0(0x46f)][_0x3ce6bf])return!0x1;}return!0x0;}function _0x96c64b(_0x1239a4,_0x4cc41d,_0xf6e828){const _0x64dfc7=_0x292328;if(_0xf6e828['id']===_0x36cce1[_0x64dfc7(0x4ca)]||_0xf6e828[_0x64dfc7(0x11c)]===_0x36cce1['BaseFieldType'][_0x64dfc7(0x15f)]||(0x0,_0x36cce1[_0x64dfc7(0x20c)])(_0xf6e828['name'])||!_0x35738e(_0x1239a4,_0x4cc41d,_0xf6e828))return!0x1;let _0x34565e=_0x1239a4[_0x64dfc7(0x363)]();if(!_0x383bb3(_0x34565e,_0xf6e828)[_0x64dfc7(0x4b7)])return!0x1;if(_0xf6e828[_0x64dfc7(0x11c)]!==_0x36cce1[_0x64dfc7(0x229)][_0x64dfc7(0x423)])return!0x0;let _0x2f7c3d=_0x4ab7c2(_0xf6e828);if(!_0x2f7c3d)return!0x1;if(_0x2f7c3d[_0x64dfc7(0x283)]===void 0x0)return!0x0;if(_0x2f7c3d[_0x64dfc7(0x283)]!==_0x36cce1[_0x64dfc7(0x327)][_0x64dfc7(0x33d)]||_0x2f7c3d[_0x64dfc7(0x35a)]!==_0x4cc41d||_0x2f7c3d[_0x64dfc7(0x297)]!==!0x1)return!0x1;let _0x1a34e5=_0x34565e[_0x64dfc7(0x288)][_0x4cc41d];return!Object[_0x64dfc7(0x1ea)](_0x1a34e5[_0x64dfc7(0x445)])[_0x64dfc7(0x41d)](_0x30bc46=>{const _0x72bcc=_0x64dfc7;var _0x3b165a;return _0x30bc46['id']!==_0xf6e828['id']&&_0x30bc46[_0x72bcc(0x11c)]===_0x36cce1['BaseFieldType']['RecordLink']&&((_0x3b165a=_0x4ab7c2(_0x30bc46))==null?void 0x0:_0x3b165a[_0x72bcc(0x283)])===_0x36cce1[_0x72bcc(0x327)][_0x72bcc(0x33d)];});}function _0xf61fb1(_0xbc8234,_0x404c43,_0x5238fa,_0x400563){const _0x3acf5d=_0x292328;var _0x424082;let _0x189740=_0xbc8234[_0x3acf5d(0x363)](),_0xc54090=(_0x424082=_0x189740[_0x3acf5d(0x288)][_0x404c43])==null?void 0x0:_0x424082[_0x3acf5d(0x445)][_0x5238fa];return!_0xc54090||_0xc54090['id']===_0x36cce1[_0x3acf5d(0x4ca)]||_0xc54090[_0x3acf5d(0x11c)]===_0x36cce1[_0x3acf5d(0x229)]['RecordId']?!0x1:_0xc54090[_0x3acf5d(0x11c)]!==_0x36cce1[_0x3acf5d(0x229)][_0x3acf5d(0x423)]||_0x4a4fc8(_0x189740,_0xc54090,_0x42f4f9(_0x400563))['valid'];}function _0x3c1f04(_0x2021c0,_0x2c20e0,_0x1d0c2d){const _0x4dc54b=_0x292328;let _0x519a01=_0x2021c0['getSnapshot']()['tables'][_0x2c20e0];return!_0x519a01||!(0x0,_0x36cce1[_0x4dc54b(0x582)])(_0x1d0c2d['id'])||_0x519a01[_0x4dc54b(0x46f)][_0x1d0c2d['id']]||Object['prototype'][_0x4dc54b(0x2a4)][_0x4dc54b(0x4ee)](_0x1d0c2d['values'],_0x36cce1['BASE_RECORD_ID_FIELD_ID'])&&_0x1d0c2d[_0x4dc54b(0x1ea)][_0x36cce1[_0x4dc54b(0x4ca)]]!==_0x1d0c2d['id']?!0x1:Object['entries'](_0x1d0c2d['values'])[_0x4dc54b(0x20f)](([_0x5b5062,_0x22e85b])=>_0x5b5062===_0x36cce1[_0x4dc54b(0x4ca)]||_0xf61fb1(_0x2021c0,_0x2c20e0,_0x5b5062,_0x22e85b));}function _0x59310e(_0x1f7a52){const _0x15be51=_0x292328;return{..._0x1f7a52,'values':{..._0x1f7a52[_0x15be51(0x1ea)],[_0x36cce1[_0x15be51(0x4ca)]]:_0x1f7a52['id']}};}function _0x42f4f9(_0x477fe8){const _0x237f2e=_0x292328;if(_0x477fe8&&typeof _0x477fe8==_0x237f2e(0x2f7)&&!Array[_0x237f2e(0x3fe)](_0x477fe8)&&'v'in _0x477fe8){let _0x4970ca=_0x477fe8['v'];return _0x4970ca===void 0x0?null:_0x4970ca;}return _0x477fe8;}function _0x402a27(_0x5e9c82,_0x21b5f1,_0x52c0c7,_0x64a8dc){const _0x7b0d94=_0x292328;let _0x1478fa=_0x5e9c82[_0x7b0d94(0x363)]()[_0x7b0d94(0x288)][_0x21b5f1];if(!_0x1478fa)return null;let _0x423ef8=_0x3a027d(_0x1478fa),_0x31b080=_0x423ef8??_0x3dcefb(_0x1478fa),_0x2e8138=_0x52c0c7[_0x7b0d94(0x41d)](_0x2a7ad7=>Object[_0x7b0d94(0x19f)]['hasOwnProperty'][_0x7b0d94(0x4ee)](_0x2a7ad7[_0x7b0d94(0x1ea)],_0x31b080)),_0x3e250e=_0x423ef8?_0x1478fa['fields'][_0x423ef8]:_0x2e8138?_0x44c347(_0x1478fa,_0x31b080,_0x64a8dc):null,_0x233985=[];for(let _0x4d11b0 of _0x52c0c7){let _0x155cfa=_0x4d11b0[_0x7b0d94(0x1ea)][_0x31b080],_0x63b869=_0x3e250e!==null&&Object[_0x7b0d94(0x19f)][_0x7b0d94(0x2a4)][_0x7b0d94(0x4ee)](_0x4d11b0[_0x7b0d94(0x1ea)],_0x31b080),_0x3dd1c5=_0x42f4f9(_0x155cfa),_0x187d0f=null;if(_0x63b869){if(typeof _0x3dd1c5!='string'||!_0x18c815(_0x3dd1c5,!0x1)[_0x7b0d94(0x4b7)])return null;_0x187d0f=_0x3dd1c5;}let _0x341ffe={};if(Object[_0x7b0d94(0x2e3)](_0x4d11b0[_0x7b0d94(0x1ea)])['forEach'](([_0x69e4e4,_0x45270d])=>{(!_0x63b869||_0x69e4e4!==_0x31b080)&&(_0x341ffe[_0x69e4e4]=_0x45270d);}),!_0x3c1f04(_0x5e9c82,_0x21b5f1,{..._0x4d11b0,'values':_0x341ffe}))return null;let _0x491034={..._0x4d11b0[_0x7b0d94(0x1ea)]};_0x187d0f!==null&&(_0x491034[_0x31b080]=_0x187d0f),_0x233985[_0x7b0d94(0x429)](_0x59310e({..._0x4d11b0,'values':_0x491034}));}return{'records':_0x233985,'hierarchyFieldToMaterialize':_0x423ef8?null:_0x3e250e,'hierarchyChanges':_0x35c4bc(_0x1478fa,_0x233985)};}let _0xb2c7cd={'id':'base.command.batch-create-base-records','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x28741e,_0xf5a22f){const _0x50d9f1=_0x292328;if(!_0xf5a22f)return!0x1;let _0x44de94=_0x28741e[_0x50d9f1(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x43efbf,tableId:_0x535ff9,records:_0x55f5a0}=_0xf5a22f,_0x22d0cd=_0x44de94[_0x50d9f1(0x420)](_0x43efbf,_0x36cce1['UniverInstanceType'][_0x50d9f1(0x355)]),_0x559b60=_0x55f5a0['map'](_0x47661d=>_0x47661d['id']);if(!_0x22d0cd||!_0x56501d(_0x22d0cd,_0x535ff9)||new Set(_0x559b60)[_0x50d9f1(0x3b9)]!==_0x559b60[_0x50d9f1(0x4fc)])return!0x1;let _0x178011=_0x28741e['get'](_0x36cce1[_0x50d9f1(0x1f4)]),_0x1383d0=_0x28741e[_0x50d9f1(0x1fa)](_0x36cce1['IUndoRedoService']),_0x4abe7d=_0x28741e[_0x50d9f1(0x1fa)](_0x4a8765),_0x3b5746=_0x22d0cd['getSnapshot'](),_0x44f663=_0x402a27(_0x22d0cd,_0x535ff9,_0x55f5a0);if(!_0x44f663)return!0x1;let {records:_0x2bfcb4,hierarchyChanges:_0x4fbbc2,hierarchyFieldToMaterialize:_0x1dcb24}=_0x44f663,_0x12bfd6=_0x1dcb24?_0x4abe7d['createCreateFieldOp'](_0x22d0cd,_0x535ff9,_0x1dcb24,_0x3b5746[_0x50d9f1(0x288)][_0x535ff9][_0x50d9f1(0x379)][_0x50d9f1(0x4fc)]):null,_0x43986f=_0x4abe7d[_0x50d9f1(0x516)](_0x22d0cd,_0x535ff9,_0x2bfcb4),_0x3c4fed=_0x30ac86([..._0x12bfd6?[_0x12bfd6]:[],_0x43986f]),_0x20cf4=new _0x4263aa()[_0x50d9f1(0x39a)](_0x3b5746,_0x3c4fed),_0x1f03e6={'unitId':_0x43efbf,'op':_0x3c4fed,'hierarchyChanges':_0x4fbbc2['length']?_0x4fbbc2:void 0x0,'source':_0x4fbbc2[_0x50d9f1(0x4fc)]?_0xf5a22f[_0x50d9f1(0x3a4)]??'ui':void 0x0},_0x5674cb={..._0x1f03e6,'source':_0x4fbbc2[_0x50d9f1(0x4fc)]?_0x50d9f1(0x529):void 0x0},_0x4494a2={'unitId':_0x43efbf,'op':_0x20cf4,'hierarchyChanges':_0x4fbbc2[_0x50d9f1(0x4fc)]?_0x4fbbc2[_0x50d9f1(0x421)](_0x4e1610=>({..._0x4e1610,'oldParentRecordId':_0x4e1610['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x4fbbc2[_0x50d9f1(0x4fc)]?_0x50d9f1(0x204):void 0x0};return _0x178011[_0x50d9f1(0x459)](_0x2995c3['id'],_0x1f03e6)?(_0x44de94[_0x50d9f1(0x37d)](_0x43efbf),_0x1383d0['pushUndoRedo']({'unitID':_0x43efbf,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x4494a2}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x5674cb}]}),!0x0):!0x1;}},_0x5badf3={'id':_0x292328(0x3d4),'type':_0x36cce1[_0x292328(0x274)]['COMMAND'],'handler':(_0x434ffc,_0x5ee3d5)=>{const _0x1080fd=_0x292328;if(!_0x5ee3d5)return!0x1;let _0x24aca6=_0x434ffc[_0x1080fd(0x1fa)](_0x36cce1[_0x1080fd(0x21d)]),{unitId:_0x563661,tableId:_0x3b6efb,recordIds:_0x589499}=_0x5ee3d5,_0x397a33=_0x24aca6[_0x1080fd(0x420)](_0x563661,_0x36cce1[_0x1080fd(0x1fe)]['UNIVER_BASE']);if(!_0x397a33||!_0x56501d(_0x397a33,_0x3b6efb,{'recordIds':_0x589499}))return!0x1;let _0x5416a4=_0x434ffc[_0x1080fd(0x1fa)](_0x36cce1[_0x1080fd(0x1f4)]),_0x343d43=_0x434ffc[_0x1080fd(0x1fa)](_0x36cce1[_0x1080fd(0x2fb)]),_0x2f712b=_0x397a33[_0x1080fd(0x363)](),_0x41773e=_0x5b2e57(_0x2f712b[_0x1080fd(0x288)][_0x3b6efb],_0x589499),_0x2d1e7c=new _0x5abfd2(),_0x73cb0c=new _0x4263aa(),_0x35316b=_0x2d1e7c['deleteRecords'](_0x2f712b,_0x3b6efb,_0x589499),_0x253add=_0x73cb0c[_0x1080fd(0x4a2)](_0x2f712b,_0x35316b),_0x3686ac=_0x2d1e7c['createDeleteRecordsUndoOp'](_0x2f712b,_0x253add,_0x3b6efb,_0x589499),_0x4f359c={'unitId':_0x563661,'op':_0x35316b,'hierarchyChanges':_0x41773e,'source':_0x5ee3d5[_0x1080fd(0x3a4)]??'ui'},_0x50a33d={..._0x4f359c,'source':_0x1080fd(0x529)},_0x529252={'unitId':_0x563661,'op':_0x3686ac,'hierarchyChanges':_0x41773e['map'](_0x5c440a=>({..._0x5c440a,'oldParentRecordId':_0x5c440a[_0x1080fd(0x23d)],'parentRecordId':_0x5c440a[_0x1080fd(0x4f3)]})),'source':'undo'};return _0x5416a4[_0x1080fd(0x459)](_0x2995c3['id'],_0x4f359c)?(_0x24aca6[_0x1080fd(0x37d)](_0x563661),_0x343d43[_0x1080fd(0x12f)]({'unitID':_0x563661,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x529252}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x50a33d}]}),!0x0):!0x1;}},_0x469a32={'id':_0x292328(0x126),'type':_0x36cce1[_0x292328(0x274)]['COMMAND'],'handler':(_0x165438,_0x42ae12)=>{const _0x10e15c=_0x292328;if(!_0x42ae12)return!0x1;let _0x5bfa5e=_0x165438[_0x10e15c(0x1fa)](_0x36cce1[_0x10e15c(0x21d)]),{unitId:_0x2793fb,tableId:_0x568a0d,fieldId:_0x21beb1,input:_0x184055}=_0x42ae12,_0x4ff01c=_0x5bfa5e['getUnit'](_0x2793fb,_0x36cce1[_0x10e15c(0x1fe)][_0x10e15c(0x355)]);if(!_0x4ff01c||_0x21beb1===_0x36cce1['BASE_RECORD_ID_FIELD_ID']||!_0x56501d(_0x4ff01c,_0x568a0d,{'fieldIds':[_0x21beb1]}))return!0x1;let _0x2f827d=_0x165438[_0x10e15c(0x1fa)](_0x36cce1['ICommandService']),_0x506f9d=_0x165438[_0x10e15c(0x1fa)](_0x36cce1[_0x10e15c(0x2fb)]),_0x492528=_0x4ff01c['getSnapshot']();if(!_0x96c64b(_0x4ff01c,_0x568a0d,{..._0x492528[_0x10e15c(0x288)][_0x568a0d][_0x10e15c(0x445)][_0x21beb1],..._0x184055}))return!0x1;let _0x5a532f=new _0x5abfd2()[_0x10e15c(0x41c)](_0x492528,_0x568a0d,_0x21beb1,_0x184055),_0xed9e81=new _0x4263aa()[_0x10e15c(0x39a)](_0x492528,_0x5a532f),_0x38fe66={'unitId':_0x2793fb,'op':_0x5a532f},_0x3e8ddf={'unitId':_0x2793fb,'op':_0xed9e81};return _0x2f827d['syncExecuteCommand'](_0x2995c3['id'],_0x38fe66)?(_0x5bfa5e[_0x10e15c(0x37d)](_0x2793fb),_0x506f9d[_0x10e15c(0x12f)]({'unitID':_0x2793fb,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x3e8ddf}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x38fe66}]}),!0x0):!0x1;}},_0x3a6bff={'id':_0x292328(0x257),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler'(_0x49d79e,_0x285557){const _0x4141fb=_0x292328;var _0x19447d;if(!_0x285557)return!0x1;let {unitId:_0x36eb45,tableId:_0x29e372,parentRecordId:_0x171cae}=_0x285557,_0x563cb0=_0x49d79e[_0x4141fb(0x1fa)](_0x36cce1[_0x4141fb(0x21d)]),_0x474856=_0x563cb0['getUnit'](_0x36eb45,_0x36cce1[_0x4141fb(0x1fe)]['UNIVER_BASE']);if(!_0x474856||!_0x56501d(_0x474856,_0x29e372,{'recordIds':[_0x171cae]}))throw new _0x33b26b(_0x4141fb(0x3aa));let _0x1469db=_0x474856[_0x4141fb(0x363)](),_0x4ca7a3=_0x1469db[_0x4141fb(0x288)][_0x29e372],_0x61a867=_0x3a027d(_0x4ca7a3),_0x56ec05=_0x61a867??_0x285557[_0x4141fb(0x450)]??_0x3dcefb(_0x4ca7a3);if(_0x61a867&&_0x285557[_0x4141fb(0x450)]&&_0x285557['fieldId']!==_0x61a867||_0x4ca7a3[_0x4141fb(0x445)][_0x56ec05]&&!_0x3e34db(_0x4ca7a3,_0x56ec05))throw new _0x33b26b(_0x4141fb(0x11e));if((_0x575e29(_0x4ca7a3,_0x56ec05)[_0x4141fb(0x54c)][_0x4141fb(0x1fa)](_0x171cae)??0x0)+0x1>=0x5)throw new _0x33b26b(_0x4141fb(0x10f));if(!_0x3c1f04(_0x474856,_0x29e372,_0x285557[_0x4141fb(0x13e)]))return!0x1;let _0x251769=_0x59310e({..._0x285557[_0x4141fb(0x13e)],'values':{..._0x285557[_0x4141fb(0x13e)]['values'],[_0x56ec05]:_0x168a1a([_0x171cae])}}),_0x831c02=_0x49d79e[_0x4141fb(0x1fa)](_0x4a8765),_0x487e09=new _0x5abfd2(),_0x5ed8fe=_0x4ca7a3[_0x4141fb(0x445)][_0x56ec05],_0x2bb264=_0x5ed8fe?((_0x19447d=_0x4ab7c2(_0x5ed8fe))==null?void 0x0:_0x19447d[_0x4141fb(0x283)])===_0x36cce1['BaseRecordLinkRole'][_0x4141fb(0x33d)]?null:_0x487e09[_0x4141fb(0x353)](_0x1469db,_0x29e372,_0x56ec05,{'config':{..._0x5ed8fe[_0x4141fb(0x441)],'relationRole':_0x36cce1[_0x4141fb(0x327)][_0x4141fb(0x33d)]}}):_0x831c02['createCreateFieldOp'](_0x474856,_0x29e372,_0x44c347(_0x4ca7a3,_0x56ec05,_0x285557['parentFieldName']),_0x4ca7a3['fieldOrder'][_0x4141fb(0x4fc)]),_0x3d4ea3=_0x831c02[_0x4141fb(0x1a0)](_0x474856,_0x29e372,_0x251769),_0x17a9c7=_0x30ac86([..._0x2bb264?[_0x2bb264]:[],_0x3d4ea3]),_0x5d0b52=new _0x4263aa()[_0x4141fb(0x39a)](_0x1469db,_0x17a9c7),_0x5e6952={'tableId':_0x29e372,'fieldId':_0x56ec05,'recordId':_0x251769['id'],'oldParentRecordId':null,'parentRecordId':_0x171cae},_0x5a005a={'unitId':_0x36eb45,'op':_0x17a9c7,'trigger':_0x3a6bff['id'],'hierarchyChanges':[_0x5e6952],'source':_0x285557[_0x4141fb(0x3a4)]??'ui'},_0x5d2a9e={..._0x5a005a,'source':_0x4141fb(0x529)},_0x3f5797={'unitId':_0x36eb45,'op':_0x5d0b52,'trigger':_0x3a6bff['id'],'hierarchyChanges':[{..._0x5e6952,'oldParentRecordId':_0x171cae,'parentRecordId':null}],'source':_0x4141fb(0x204)};return _0x49d79e['get'](_0x36cce1[_0x4141fb(0x1f4)])[_0x4141fb(0x459)](_0x2995c3['id'],_0x5a005a)?(_0x563cb0[_0x4141fb(0x37d)](_0x36eb45),_0x49d79e[_0x4141fb(0x1fa)](_0x36cce1[_0x4141fb(0x2fb)])[_0x4141fb(0x12f)]({'unitID':_0x36eb45,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x3f5797}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x5d2a9e}]}),!0x0):!0x1;}},_0xb098ed={'id':'base.command.create-base-field','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x5ee455,_0x3be5dd){const _0x594942=_0x292328;if(!_0x3be5dd)return!0x1;let _0x2962ca=_0x5ee455[_0x594942(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x3cf9da,tableId:_0xfeba36,field:_0x3cef75,index:_0x1a9c1e,viewIndexes:_0x5304dc}=_0x3be5dd,_0x54ca5d=_0x2962ca['getUnit'](_0x3cf9da,_0x36cce1['UniverInstanceType'][_0x594942(0x355)]);if(!_0x54ca5d||!_0x56501d(_0x54ca5d,_0xfeba36)||_0x54ca5d['getSnapshot']()['tables'][_0xfeba36]['fields'][_0x3cef75['id']]||_0x1a9c1e===0x0||!_0x96c64b(_0x54ca5d,_0xfeba36,_0x3cef75))return!0x1;let _0x354337=_0x5ee455[_0x594942(0x1fa)](_0x36cce1['ICommandService']),_0x12d925=_0x5ee455[_0x594942(0x1fa)](_0x36cce1[_0x594942(0x2fb)]),_0x240a09=_0x5ee455['get'](_0x4a8765)[_0x594942(0x1dc)](_0x54ca5d,_0xfeba36,_0x3cef75,_0x1a9c1e,_0x5304dc),_0x5b3d13=new _0x4263aa()[_0x594942(0x39a)](_0x54ca5d['getSnapshot'](),_0x240a09),_0x4a7db8={'unitId':_0x3cf9da,'op':_0x240a09},_0x3bbc1c={'unitId':_0x3cf9da,'op':_0x5b3d13};return _0x354337[_0x594942(0x459)](_0x2995c3['id'],_0x4a7db8)?(_0x2962ca[_0x594942(0x37d)](_0x3cf9da),_0x12d925[_0x594942(0x12f)]({'unitID':_0x3cf9da,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x3bbc1c}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x4a7db8}]}),!0x0):!0x1;}},_0x511c42={'id':_0x292328(0x577),'type':_0x36cce1[_0x292328(0x274)]['COMMAND'],'handler'(_0x2b95bb,_0x3bcf87){const _0x141700=_0x292328;if(!_0x3bcf87)return!0x1;let _0x176eb2=_0x2b95bb[_0x141700(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0xfb20f,tableId:_0x2d17df,record:_0x5a96e8}=_0x3bcf87,_0x2e3c12=_0x176eb2[_0x141700(0x420)](_0xfb20f,_0x36cce1[_0x141700(0x1fe)][_0x141700(0x355)]);if(!_0x2e3c12||!_0x56501d(_0x2e3c12,_0x2d17df))return!0x1;let _0x4ba2c6=_0x2b95bb[_0x141700(0x1fa)](_0x36cce1[_0x141700(0x1f4)]),_0x28bc5b=_0x2b95bb[_0x141700(0x1fa)](_0x36cce1[_0x141700(0x2fb)]),_0x24aea4=_0x2b95bb['get'](_0x4a8765),_0x5c046b=_0x2e3c12['getSnapshot'](),_0x2d9585=_0x402a27(_0x2e3c12,_0x2d17df,[_0x5a96e8]);if(!_0x2d9585)return!0x1;let [_0x3a825e]=_0x2d9585[_0x141700(0x46f)],{hierarchyChanges:_0x959975,hierarchyFieldToMaterialize:_0x3f90b5}=_0x2d9585,_0x4fefaf=_0x3f90b5?_0x24aea4[_0x141700(0x1dc)](_0x2e3c12,_0x2d17df,_0x3f90b5,_0x5c046b[_0x141700(0x288)][_0x2d17df]['fieldOrder'][_0x141700(0x4fc)]):null,_0x155984=_0x24aea4[_0x141700(0x1a0)](_0x2e3c12,_0x2d17df,_0x3a825e),_0x5c7eaa=_0x30ac86([..._0x4fefaf?[_0x4fefaf]:[],_0x155984]),_0x539459=new _0x4263aa()['invertOp'](_0x5c046b,_0x5c7eaa),_0x301a97={'unitId':_0xfb20f,'op':_0x5c7eaa,'hierarchyChanges':_0x959975['length']?_0x959975:void 0x0,'source':_0x959975[_0x141700(0x4fc)]?_0x3bcf87[_0x141700(0x3a4)]??'ui':void 0x0},_0x41e79b={..._0x301a97,'source':_0x959975[_0x141700(0x4fc)]?_0x141700(0x529):void 0x0},_0x261620={'unitId':_0xfb20f,'op':_0x539459,'hierarchyChanges':_0x959975[_0x141700(0x4fc)]?_0x959975['map'](_0x1e1941=>({..._0x1e1941,'oldParentRecordId':_0x1e1941[_0x141700(0x23d)],'parentRecordId':null})):void 0x0,'source':_0x959975['length']?_0x141700(0x204):void 0x0};return _0x4ba2c6[_0x141700(0x459)](_0x2995c3['id'],_0x301a97)?(_0x176eb2['focusUnit'](_0xfb20f),_0x28bc5b[_0x141700(0x12f)]({'unitID':_0xfb20f,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x261620}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x41e79b}]}),!0x0):!0x1;}};function _0x1b2871(_0x3f7129,_0x5e0756,_0x37280d){const _0x2b9f35=_0x292328;if(!_0x5e0756[_0x2b9f35(0x2b7)]())return{'valid':!0x1,'reason':_0x2b9f35(0x200),'error':_0x2b9f35(0x30a)};if(_0x5e0756[_0x2b9f35(0x4fc)]>0x1f)return{'valid':!0x1,'reason':_0x2b9f35(0x175),'error':'too-long'};if(_0x5e0756['startsWith']('\x27')||_0x5e0756['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x2b9f35(0x535),'error':_0x2b9f35(0x2a2)};if(/[:\\/?*\[\]]/[_0x2b9f35(0x23f)](_0x5e0756))return{'valid':!0x1,'reason':_0x2b9f35(0x40c),'error':'invalid-characters'};if(!(0x0,_0x36cce1['nameCharacterCheck'])(_0x5e0756))return{'valid':!0x1,'reason':_0x2b9f35(0x2da),'error':_0x2b9f35(0x422)};let _0xd22c76=_0x5e0756['toLowerCase']();return Object[_0x2b9f35(0x1ea)](_0x3f7129[_0x2b9f35(0x288)])[_0x2b9f35(0x41d)](_0x194679=>_0x194679['id']!==_0x37280d&&_0x194679['name']['toLowerCase']()===_0xd22c76)?{'valid':!0x1,'reason':_0x2b9f35(0x1d3),'error':_0x2b9f35(0x174)}:{'valid':!0x0};}function _0x2b547d(_0x2d41fc,_0x21bbd0){const _0x21df27=_0x292328;let _0x52772e=_0x21bbd0['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x21df27(0x344)](/^'+|'+$/g,'')[_0x21df27(0x2b7)]()||'Table',_0x539c25=0x1;for(;;){let _0x14cb52=_0x539c25===0x1?'':'\x20'+_0x539c25,_0x4bdf5b=''+_0x52772e[_0x21df27(0x2ed)](0x0,0x1f-_0x14cb52[_0x21df27(0x4fc)])+_0x14cb52;if(_0x1b2871(_0x2d41fc,_0x4bdf5b)['valid'])return _0x4bdf5b;_0x539c25++;}}let _0x3b76ca={'id':'base.command.create-base-table','type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x5cac8b,_0x3d4f51)=>{const _0x2ca582=_0x292328;if(!_0x3d4f51)return!0x1;let _0x2c7d49=_0x5cac8b['get'](_0x36cce1['IUniverInstanceService']),{unitId:_0x257a53,table:_0x344752,index:_0x34aa35}=_0x3d4f51,_0x318d1f=_0x2c7d49[_0x2ca582(0x420)](_0x257a53,_0x36cce1[_0x2ca582(0x1fe)]['UNIVER_BASE']);if(!_0x318d1f||_0x318d1f[_0x2ca582(0x363)]()['tables'][_0x344752['id']]||!_0x1b2871(_0x318d1f[_0x2ca582(0x363)](),_0x344752[_0x2ca582(0x4c0)])['valid'])return!0x1;try{(0x0,_0x36cce1[_0x2ca582(0x38f)])(_0x344752);}catch{return!0x1;}let _0x49f1e6=_0x5cac8b[_0x2ca582(0x1fa)](_0x36cce1[_0x2ca582(0x1f4)]),_0x2de4ea=_0x5cac8b['get'](_0x36cce1[_0x2ca582(0x2fb)]),_0x369a37=_0x318d1f[_0x2ca582(0x363)](),_0x3f4793=new _0x5abfd2()[_0x2ca582(0x350)](_0x369a37,_0x344752,_0x34aa35),_0x476f13=new _0x4263aa()[_0x2ca582(0x39a)](_0x369a37,_0x3f4793),_0x3f6e30={'unitId':_0x257a53,'op':_0x3f4793},_0x3a2aaf={'unitId':_0x257a53,'op':_0x476f13};return _0x49f1e6[_0x2ca582(0x459)](_0x2995c3['id'],_0x3f6e30)?(_0x2c7d49[_0x2ca582(0x37d)](_0x257a53),_0x2de4ea[_0x2ca582(0x12f)]({'unitID':_0x257a53,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x3a2aaf}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x3f6e30}]}),!0x0):!0x1;}};function _0x1847d4(_0x108859,_0x4d5303,_0x284df2=[]){const _0x15e58c=_0x292328;let _0x516f18=new Set([...Object[_0x15e58c(0x1ea)](_0x108859[_0x15e58c(0x445)])[_0x15e58c(0x544)](_0x58b2e6=>_0x58b2e6)['map'](_0x5d6472=>_0x5d6472[_0x15e58c(0x4c0)]),..._0x284df2['map'](_0x2e4ff2=>_0x2e4ff2[_0x15e58c(0x4c0)])]);if(!_0x516f18[_0x15e58c(0x16f)](_0x4d5303))return _0x4d5303;let _0x2d93e2=0x2;for(;_0x516f18[_0x15e58c(0x16f)](_0x4d5303+'\x20'+_0x2d93e2);)_0x2d93e2++;return _0x4d5303+'\x20'+_0x2d93e2;}function _0x1fa373(_0x2c3c7b,_0x2d3e51){const _0x4dc69c=_0x292328;if(!_0x2c3c7b||!_0x2d3e51[_0x4dc69c(0x4fc)])return;let _0x4edf5d=[..._0x2c3c7b];return _0x2d3e51['forEach'](_0x5afbbe=>{const _0x19b386=_0x4dc69c;_0x4edf5d[_0x19b386(0x18d)](_0x5afbbe)||_0x4edf5d[_0x19b386(0x429)](_0x5afbbe);}),_0x4edf5d;}let _0x28bb64={'options':[{'id':_0x292328(0x225),'name':'Todo','color':'#BFDBFE'},{'id':_0x292328(0x173),'name':_0x292328(0x34a),'color':_0x292328(0x41e)},{'id':'done','name':'Done','color':'#BBF7D0'}]},_0x4ddc83={'locale':'en-US','pattern':_0x292328(0x119),'includeTime':!0x1,'hourCycle':_0x292328(0x1ff),'defaultMode':_0x292328(0x542)};function _0x505722(_0x27916d,_0xe1a7e3,_0x278e5d,_0x59193d){const _0x1687d9=_0x292328;var _0x8d42e6;let _0x5babfc=new _0x5abfd2(),_0x308121=_0x27916d['tables'][_0xe1a7e3],_0x3c6397=_0x308121?{..._0x278e5d,'fieldOrder':[_0x36cce1[_0x1687d9(0x4ca)],...(_0x278e5d['fieldOrder']??_0x308121[_0x1687d9(0x379)])[_0x1687d9(0x544)](_0x38ac8a=>_0x38ac8a!==_0x36cce1[_0x1687d9(0x4ca)])],'fieldSettings':{..._0x278e5d[_0x1687d9(0x4ff)],[_0x36cce1[_0x1687d9(0x4ca)]]:{...(_0x8d42e6=_0x278e5d['fieldSettings'])==null?void 0x0:_0x8d42e6[_0x36cce1[_0x1687d9(0x4ca)]],'hidden':!0x0}}}:_0x278e5d;if(_0x308121&&_0x3c6397['type']===_0x1687d9(0x419)){let _0x20c988=_0x24783d(_0x308121,_0x3c6397),_0x496b2a=_0x20c988[_0x1687d9(0x2a3)]?{..._0x3c6397,'config':_0x20c988[_0x1687d9(0x441)],'fieldOrder':_0x20c988['fieldOrder']??_0x3c6397['fieldOrder']}:_0x3c6397;return _0x30ac86([..._0x20c988[_0x1687d9(0x445)]['map'](_0x4f7113=>_0x5babfc[_0x1687d9(0x51d)](_0x27916d,_0xe1a7e3,{'field':_0x4f7113})),_0x5babfc[_0x1687d9(0x412)](_0x27916d,_0xe1a7e3,_0x496b2a,_0x59193d)]);}if(!_0x308121||_0x3c6397[_0x1687d9(0x11c)]!==_0x1687d9(0x3ef)&&_0x3c6397[_0x1687d9(0x11c)]!==_0x1687d9(0x147))return _0x5babfc[_0x1687d9(0x412)](_0x27916d,_0xe1a7e3,_0x3c6397,_0x59193d);let _0xeae63a=_0x113a48(_0x308121,_0x3c6397),_0x2490a9=_0xeae63a['changed']?{..._0x3c6397,'config':_0xeae63a['config'],'fieldOrder':_0xeae63a[_0x1687d9(0x379)]??_0x3c6397[_0x1687d9(0x379)]}:_0x3c6397;return _0x3c6397[_0x1687d9(0x11c)]==='gantt'&&_0x1f871d(_0x3c6397)&&(_0x2490a9=_0x26a60d(_0x308121,_0x2490a9,_0xeae63a['fields'])),_0x30ac86([..._0xeae63a['fields'][_0x1687d9(0x421)](_0x17757a=>_0x5babfc['createField'](_0x27916d,_0xe1a7e3,{'field':_0x17757a})),_0x5babfc[_0x1687d9(0x412)](_0x27916d,_0xe1a7e3,_0x2490a9,_0x59193d)]);}function _0x113a48(_0x4d1eb4,_0x5281e1,_0x45eb89=!0x1){const _0x5ceb31=_0x292328;var _0x35f7da,_0x46bb99;let _0x51d512=_0x4d1eb4['fieldOrder'][_0x5ceb31(0x544)](_0x364378=>_0x768238(_0x4d1eb4,_0x364378)),_0x4428c0=[],_0x3bedad={..._0x5281e1[_0x5ceb31(0x441)]??{}},_0x15fefd=typeof _0x3bedad[_0x5ceb31(0x178)]==_0x5ceb31(0x4ce)&&_0x768238(_0x4d1eb4,_0x3bedad[_0x5ceb31(0x178)])?_0x3bedad[_0x5ceb31(0x178)]:_0x51d512[0x0],_0x1b1fcd=typeof _0x3bedad['endDateFieldId']==_0x5ceb31(0x4ce)&&_0x768238(_0x4d1eb4,_0x3bedad['endDateFieldId'])&&_0x3bedad['endDateFieldId']!==_0x15fefd?_0x3bedad[_0x5ceb31(0x43e)]:_0x51d512[_0x5ceb31(0x304)](_0xc73b48=>_0xc73b48!==_0x15fefd);if(!_0x15fefd){let _0x7b1cdf=_0x3ab63e(_0x4d1eb4,_0x4428c0,_0x5281e1[_0x5ceb31(0x11c)]===_0x5ceb31(0x147)?_0x5ceb31(0x4de):_0x5ceb31(0x285));_0x4428c0['push'](_0x7b1cdf),_0x15fefd=_0x7b1cdf['id'];}if((_0x5281e1[_0x5ceb31(0x11c)]===_0x5ceb31(0x147)||_0x45eb89)&&!_0x1b1fcd){let _0x58d1fb=_0x3ab63e(_0x4d1eb4,_0x4428c0,_0x5ceb31(0x345));_0x4428c0[_0x5ceb31(0x429)](_0x58d1fb),_0x1b1fcd=_0x58d1fb['id'];}_0x5281e1['type']==='calendar'&&!_0x1b1fcd&&delete _0x3bedad[_0x5ceb31(0x43e)],_0x3bedad[_0x5ceb31(0x178)]=_0x15fefd,_0x5281e1[_0x5ceb31(0x11c)]===_0x5ceb31(0x3ef)&&_0x1b1fcd&&(_0x3bedad[_0x5ceb31(0x43e)]=_0x1b1fcd),_0x5281e1[_0x5ceb31(0x11c)]===_0x5ceb31(0x147)&&(_0x3bedad[_0x5ceb31(0x43e)]=_0x1b1fcd??_0x15fefd);let _0x409266=_0x1fa373(_0x5281e1[_0x5ceb31(0x379)],_0x4428c0[_0x5ceb31(0x421)](_0x105247=>_0x105247['id']));return{'changed':_0x4428c0[_0x5ceb31(0x4fc)]>0x0||_0x3bedad[_0x5ceb31(0x178)]!==((_0x35f7da=_0x5281e1[_0x5ceb31(0x441)])==null?void 0x0:_0x35f7da['startDateFieldId'])||_0x3bedad['endDateFieldId']!==((_0x46bb99=_0x5281e1[_0x5ceb31(0x441)])==null?void 0x0:_0x46bb99[_0x5ceb31(0x43e)])||!(!_0x409266||_0x36cce1[_0x5ceb31(0x402)]['diffValue'](_0x409266,_0x5281e1[_0x5ceb31(0x379)]??[])),'fields':_0x4428c0,'config':_0x3bedad,'fieldOrder':_0x409266};}function _0x24783d(_0x355d17,_0x444cf9){const _0x4264c4=_0x292328;var _0xea768b;let _0x35668f=[],_0x77fe30={..._0x444cf9['config']??{}},_0x214bfe=typeof _0x77fe30['groupFieldId']==_0x4264c4(0x4ce)&&_0x10cab3(_0x355d17,_0x77fe30[_0x4264c4(0x35e)])?_0x77fe30[_0x4264c4(0x35e)]:_0x355d17[_0x4264c4(0x379)][_0x4264c4(0x304)](_0x1e4240=>_0x10cab3(_0x355d17,_0x1e4240));if(!_0x214bfe){let _0x20f7db=_0x384886(_0x355d17,_0x35668f);_0x35668f[_0x4264c4(0x429)](_0x20f7db),_0x214bfe=_0x20f7db['id'];}_0x77fe30[_0x4264c4(0x35e)]=_0x214bfe;let _0x2ec537=_0x1fa373(_0x444cf9[_0x4264c4(0x379)],_0x35668f['map'](_0x546309=>_0x546309['id']));return{'changed':_0x35668f['length']>0x0||_0x77fe30[_0x4264c4(0x35e)]!==((_0xea768b=_0x444cf9['config'])==null?void 0x0:_0xea768b[_0x4264c4(0x35e)])||!(!_0x2ec537||_0x36cce1[_0x4264c4(0x402)][_0x4264c4(0x477)](_0x2ec537,_0x444cf9[_0x4264c4(0x379)]??[])),'fields':_0x35668f,'config':_0x77fe30,'fieldOrder':_0x2ec537};}function _0x10cab3(_0x4e449b,_0x27bd64){const _0x5d88f5=_0x292328;let _0x116dbe=_0x27bd64?_0x4e449b[_0x5d88f5(0x445)][_0x27bd64]:null;return _0x116dbe?[_0x36cce1[_0x5d88f5(0x229)][_0x5d88f5(0x117)],_0x36cce1[_0x5d88f5(0x229)]['MultiSelect'],_0x36cce1['BaseFieldType'][_0x5d88f5(0x160)],_0x36cce1['BaseFieldType'][_0x5d88f5(0x506)],_0x36cce1[_0x5d88f5(0x229)][_0x5d88f5(0x408)],_0x36cce1[_0x5d88f5(0x229)]['Checkbox']]['includes'](_0x116dbe['type']):!0x1;}function _0x384886(_0x56d3cf,_0x15d7e0){const _0x2fbb8d=_0x292328;return{'id':'fld-'+(0x0,_0x36cce1['generateRandomId'])(0x8),'name':_0x1847d4(_0x56d3cf,_0x2fbb8d(0x3f3),_0x15d7e0),'type':_0x36cce1[_0x2fbb8d(0x229)][_0x2fbb8d(0x117)],'config':_0x36cce1['Tools'][_0x2fbb8d(0x23b)](_0x28bb64)};}function _0x1f871d(_0x369180){const _0x2ec532=_0x292328;return Object['keys'](_0x369180['config']??{})[_0x2ec532(0x4fc)]===0x0&&Object['keys'](_0x369180[_0x2ec532(0x4ff)]??{})[_0x2ec532(0x4fc)]===0x0;}function _0x26a60d(_0xb002cc,_0x13f6e8,_0x480740){const _0x5eb205=_0x292328;let _0x1b3eb7={..._0x13f6e8[_0x5eb205(0x441)]??{}},_0x468368=_0x480740[_0x5eb205(0x421)](_0x496b77=>_0x496b77['id']),_0x4fccee=[..._0xb002cc[_0x5eb205(0x379)],..._0x468368],_0xf935bb=typeof _0x1b3eb7[_0x5eb205(0x3c6)]==_0x5eb205(0x4ce)&&_0x26924a(_0xb002cc,_0x480740,_0x1b3eb7[_0x5eb205(0x3c6)])?_0x1b3eb7[_0x5eb205(0x3c6)]:_0xb002cc[_0x5eb205(0x190)],_0x59fac3=typeof _0x1b3eb7['startDateFieldId']==_0x5eb205(0x4ce)?_0x1b3eb7[_0x5eb205(0x178)]:'',_0x365a7b=typeof _0x1b3eb7[_0x5eb205(0x43e)]==_0x5eb205(0x4ce)?_0x1b3eb7[_0x5eb205(0x43e)]:_0x59fac3,_0x1a498a=new Set([_0xf935bb,_0x59fac3,_0x365a7b][_0x5eb205(0x544)](_0x167e95=>_0x167e95&&_0x26924a(_0xb002cc,_0x480740,_0x167e95))),_0x49c4d0=Object[_0x5eb205(0x2af)](_0x4fccee['flatMap'](_0x536f2b=>_0x1a498a['has'](_0x536f2b)||!_0x26924a(_0xb002cc,_0x480740,_0x536f2b)?[]:[[_0x536f2b,{'hidden':!0x0}]]));return{..._0x13f6e8,'config':{..._0x1b3eb7,'titleFieldId':_0xf935bb},'fieldSettings':_0x49c4d0};}function _0x26924a(_0x21b95a,_0x584730,_0x347fb0){const _0x7ba2c9=_0x292328;return!!(_0x21b95a[_0x7ba2c9(0x445)][_0x347fb0]??_0x584730[_0x7ba2c9(0x304)](_0x515579=>_0x515579['id']===_0x347fb0))&&!0x0;}function _0x768238(_0x32917f,_0x58947e){const _0x4ca7df=_0x292328;let _0xd273e8=_0x58947e?_0x32917f[_0x4ca7df(0x445)][_0x58947e]:null;return!!_0xd273e8&&_0xd273e8['type']===_0x36cce1[_0x4ca7df(0x229)][_0x4ca7df(0x285)]&&_0xd273e8['readonly']!==!0x0&&_0xd273e8['system']!==!0x0;}function _0x3ab63e(_0x221869,_0x53ac98,_0x360842){const _0x203d00=_0x292328;let _0xc86c15=new Set([...Object[_0x203d00(0x153)](_0x221869[_0x203d00(0x445)]),..._0x53ac98[_0x203d00(0x421)](_0x2d8268=>_0x2d8268['id'])]),_0x1981c9=_0x203d00(0x425)+(0x0,_0x36cce1[_0x203d00(0x1ad)])(0x8);for(;_0xc86c15[_0x203d00(0x16f)](_0x1981c9);)_0x1981c9=_0x203d00(0x425)+(0x0,_0x36cce1[_0x203d00(0x1ad)])(0x8);return{'id':_0x1981c9,'name':_0x1847d4(_0x221869,_0x360842,_0x53ac98),'type':_0x36cce1[_0x203d00(0x229)][_0x203d00(0x285)],'config':{..._0x4ddc83}};}let _0x4ffc3d={'id':_0x292328(0x41b),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x1a3687,_0x57aef3)=>{const _0x362f1b=_0x292328;if(!_0x57aef3)return!0x1;let _0x40203d=_0x1a3687['get'](_0x36cce1[_0x362f1b(0x21d)]),{unitId:_0x29e17b,tableId:_0x36821d,view:_0x52bca4,index:_0x35bd9b}=_0x57aef3,_0x17e444=_0x40203d[_0x362f1b(0x420)](_0x29e17b,_0x36cce1[_0x362f1b(0x1fe)][_0x362f1b(0x355)]);if(!_0x17e444||!_0x56501d(_0x17e444,_0x36821d)||_0x17e444['getSnapshot']()[_0x362f1b(0x288)][_0x36821d][_0x362f1b(0x2b9)][_0x52bca4['id']])return!0x1;let _0x3ffc42=_0x1a3687[_0x362f1b(0x1fa)](_0x36cce1[_0x362f1b(0x1f4)]),_0x27f364=_0x1a3687['get'](_0x36cce1[_0x362f1b(0x2fb)]),_0x4111d0=_0x17e444[_0x362f1b(0x363)](),_0x42aea2=_0x505722(_0x4111d0,_0x36821d,_0x52bca4,_0x35bd9b),_0x45a89e=new _0x4263aa()[_0x362f1b(0x39a)](_0x4111d0,_0x42aea2),_0xabaaf9={'historyAction':_0x362f1b(0x528),'unitId':_0x29e17b,'op':_0x42aea2,'viewType':_0x52bca4[_0x362f1b(0x11c)]},_0x2ed3dd={'historyAction':'delete-view','unitId':_0x29e17b,'op':_0x45a89e,'viewType':_0x52bca4[_0x362f1b(0x11c)]};return _0x3ffc42[_0x362f1b(0x459)](_0x2995c3['id'],_0xabaaf9)?(_0x40203d[_0x362f1b(0x37d)](_0x29e17b),_0x27f364[_0x362f1b(0x12f)]({'unitID':_0x29e17b,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x2ed3dd}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0xabaaf9}]}),!0x0):!0x1;}},_0x3d88ce={'id':_0x292328(0x4f4),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler'(_0x4765d2,_0x385702){const _0x34858c=_0x292328;if(!_0x385702)return!0x1;let _0x2de77f=_0x4765d2[_0x34858c(0x1fa)](_0x36cce1[_0x34858c(0x21d)]),{unitId:_0x3e9a99,tableId:_0xd7e662,fieldId:_0x489c24}=_0x385702,_0x10cac6=_0x2de77f[_0x34858c(0x420)](_0x3e9a99,_0x36cce1[_0x34858c(0x1fe)]['UNIVER_BASE']);if(!_0x10cac6)return!0x1;let _0x1da3eb=_0x10cac6['getSnapshot'](),_0x27e903=_0x1da3eb[_0x34858c(0x288)][_0xd7e662];if(!_0x56501d(_0x10cac6,_0xd7e662,{'fieldIds':[_0x489c24]})||_0x27e903[_0x34858c(0x190)]===_0x489c24||_0x489c24===_0x36cce1['BASE_RECORD_ID_FIELD_ID'])return!0x1;let _0x4128fc=_0x4765d2[_0x34858c(0x1fa)](_0x36cce1[_0x34858c(0x1f4)]),_0xc6febc=_0x4765d2['get'](_0x36cce1['IUndoRedoService']),_0x48c8db=new _0x5abfd2()[_0x34858c(0x372)](_0x1da3eb,_0xd7e662,_0x489c24),_0x532149=new _0x4263aa()[_0x34858c(0x39a)](_0x1da3eb,_0x48c8db),_0x454620={'unitId':_0x3e9a99,'op':_0x48c8db},_0x139a06={'unitId':_0x3e9a99,'op':_0x532149};return _0x4128fc['syncExecuteCommand'](_0x2995c3['id'],_0x454620)?(_0x2de77f[_0x34858c(0x37d)](_0x3e9a99),_0xc6febc[_0x34858c(0x12f)]({'unitID':_0x3e9a99,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x139a06}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x454620}]}),!0x0):!0x1;}},_0x4b155a={'id':_0x292328(0x2bd),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x3b6a70,_0x3bbe8c)=>{const _0x3e50d2=_0x292328;if(!_0x3bbe8c)return!0x1;let _0x56d06=_0x3b6a70[_0x3e50d2(0x1fa)](_0x36cce1[_0x3e50d2(0x21d)]),{unitId:_0x4bc4fc,tableId:_0x19070c,recordId:_0x4a84be}=_0x3bbe8c,_0x1cdc33=_0x56d06[_0x3e50d2(0x420)](_0x4bc4fc,_0x36cce1[_0x3e50d2(0x1fe)][_0x3e50d2(0x355)]);if(!_0x1cdc33||!_0x56501d(_0x1cdc33,_0x19070c,{'recordIds':[_0x4a84be]}))return!0x1;let _0x227e6c=_0x3b6a70['get'](_0x36cce1[_0x3e50d2(0x1f4)]),_0x10f24d=_0x3b6a70[_0x3e50d2(0x1fa)](_0x36cce1[_0x3e50d2(0x2fb)]),_0x357052=_0x1cdc33[_0x3e50d2(0x363)](),_0x12d821=_0x5b2e57(_0x357052['tables'][_0x19070c],[_0x4a84be]),_0x5b996c=new _0x5abfd2(),_0x30c6ee=new _0x4263aa(),_0x2d3732=_0x5b996c[_0x3e50d2(0x1c0)](_0x357052,_0x19070c,_0x4a84be),_0x53de56=_0x30c6ee[_0x3e50d2(0x4a2)](_0x357052,_0x2d3732),_0x457246=_0x5b996c[_0x3e50d2(0x1d8)](_0x357052,_0x53de56,_0x19070c,[_0x4a84be]),_0x5e06f9={'unitId':_0x4bc4fc,'op':_0x2d3732,'hierarchyChanges':_0x12d821,'source':_0x3bbe8c[_0x3e50d2(0x3a4)]??'ui'},_0x5e91d1={..._0x5e06f9,'source':_0x3e50d2(0x529)},_0x39566a={'unitId':_0x4bc4fc,'op':_0x457246,'hierarchyChanges':_0x12d821[_0x3e50d2(0x421)](_0x492f67=>({..._0x492f67,'oldParentRecordId':_0x492f67[_0x3e50d2(0x23d)],'parentRecordId':_0x492f67[_0x3e50d2(0x4f3)]})),'source':_0x3e50d2(0x204)};return _0x227e6c[_0x3e50d2(0x459)](_0x2995c3['id'],_0x5e06f9)?(_0x56d06[_0x3e50d2(0x37d)](_0x4bc4fc),_0x10f24d[_0x3e50d2(0x12f)]({'unitID':_0x4bc4fc,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x39566a}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x5e91d1}]}),!0x0):!0x1;}},_0x5283b4={'id':'base.command.delete-base-table','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x37a762,_0x1ddfa0)=>{const _0x1092e8=_0x292328;if(!_0x1ddfa0)return!0x1;let _0x508f28=_0x37a762[_0x1092e8(0x1fa)](_0x36cce1[_0x1092e8(0x21d)]),{unitId:_0x55eda8,tableId:_0x21fa37}=_0x1ddfa0,_0x3ebfda=_0x508f28[_0x1092e8(0x420)](_0x55eda8,_0x36cce1[_0x1092e8(0x1fe)]['UNIVER_BASE']);if(!_0x3ebfda||!_0x56501d(_0x3ebfda,_0x21fa37))return!0x1;let _0x2d0dd4=_0x37a762[_0x1092e8(0x1fa)](_0x36cce1[_0x1092e8(0x1f4)]),_0x2a1cb7=_0x37a762[_0x1092e8(0x1fa)](_0x36cce1[_0x1092e8(0x2fb)]),_0xe77498=_0x3ebfda[_0x1092e8(0x363)](),_0x4e5ff0=_0x28bc25(_0xe77498,_0x21fa37);if(_0x4e5ff0['length']>0x0)return console[_0x1092e8(0x4fd)](_0x1092e8(0x49a)+_0x21fa37+'\x22\x20is\x20referenced\x20by\x20'+_0x4e5ff0[_0x1092e8(0x421)](_0x148c61=>_0x148c61[_0x1092e8(0x578)]+'.'+_0x148c61[_0x1092e8(0x450)])[_0x1092e8(0x2a9)](',\x20')+'.'),!0x1;let _0x1d596b=new _0x5abfd2()['deleteTable'](_0xe77498,_0x21fa37),_0x30eed3=new _0x4263aa()[_0x1092e8(0x39a)](_0xe77498,_0x1d596b),_0x4514b7={'unitId':_0x55eda8,'op':_0x1d596b},_0xc284ee={'unitId':_0x55eda8,'op':_0x30eed3};return _0x2d0dd4['syncExecuteCommand'](_0x2995c3['id'],_0x4514b7)?(_0x508f28[_0x1092e8(0x37d)](_0x55eda8),_0x2a1cb7['pushUndoRedo']({'unitID':_0x55eda8,'undoMutations':[{'id':_0x2995c3['id'],'params':_0xc284ee}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x4514b7}]}),!0x0):!0x1;}},_0x5be512={'id':_0x292328(0x280),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x19522f,_0x191f62)=>{const _0x2ecf57=_0x292328;if(!_0x191f62)return!0x1;let _0x601dc8=_0x19522f[_0x2ecf57(0x1fa)](_0x36cce1[_0x2ecf57(0x21d)]),{unitId:_0x31811d,tableId:_0x14010e,viewId:_0x12b271}=_0x191f62,_0x79741e=_0x601dc8[_0x2ecf57(0x420)](_0x31811d,_0x36cce1[_0x2ecf57(0x1fe)][_0x2ecf57(0x355)]);if(!_0x79741e||!_0x56501d(_0x79741e,_0x14010e,{'viewIds':[_0x12b271]}))return!0x1;let _0x6c82ec=_0x19522f[_0x2ecf57(0x1fa)](_0x36cce1[_0x2ecf57(0x1f4)]),_0x256176=_0x19522f[_0x2ecf57(0x1fa)](_0x36cce1['IUndoRedoService']),_0xb8501=_0x79741e[_0x2ecf57(0x363)](),_0x431e68=_0xb8501[_0x2ecf57(0x288)][_0x14010e][_0x2ecf57(0x2b9)][_0x12b271]['type'],_0x425ad5=new _0x5abfd2()[_0x2ecf57(0x536)](_0xb8501,_0x14010e,_0x12b271),_0x46ee1b=new _0x4263aa()[_0x2ecf57(0x39a)](_0xb8501,_0x425ad5),_0x49416a={'historyAction':_0x2ecf57(0x136),'unitId':_0x31811d,'op':_0x425ad5,'viewType':_0x431e68},_0x4e8e47={'historyAction':_0x2ecf57(0x528),'unitId':_0x31811d,'op':_0x46ee1b,'viewType':_0x431e68};return _0x6c82ec[_0x2ecf57(0x459)](_0x2995c3['id'],_0x49416a)?(_0x601dc8[_0x2ecf57(0x37d)](_0x31811d),_0x256176[_0x2ecf57(0x12f)]({'unitID':_0x31811d,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x4e8e47}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x49416a}]}),!0x0):!0x1;}},_0x561447={'id':_0x292328(0x392),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x3fafaf,_0x1177a4)=>{const _0x1efad2=_0x292328;if(!_0x1177a4)return!0x1;let _0x14f3a3=_0x3fafaf[_0x1efad2(0x1fa)](_0x36cce1[_0x1efad2(0x21d)]),{unitId:_0x77bbe0,tableId:_0x4a5107,sourceFieldId:_0x2eebe6,field:_0x1e7b16,index:_0x3771d1,viewIndexes:_0x2a3e14}=_0x1177a4,_0x2fd16a=_0x14f3a3['getUnit'](_0x77bbe0,_0x36cce1[_0x1efad2(0x1fe)]['UNIVER_BASE']);if(!_0x2fd16a||!_0x56501d(_0x2fd16a,_0x4a5107,{'fieldIds':[_0x2eebe6]})||_0x2eebe6===_0x36cce1['BASE_RECORD_ID_FIELD_ID']||_0x2fd16a['getSnapshot']()[_0x1efad2(0x288)][_0x4a5107][_0x1efad2(0x445)][_0x1e7b16['id']]||_0x3771d1===0x0||!_0x96c64b(_0x2fd16a,_0x4a5107,_0x1e7b16))return!0x1;let _0x1ca164=_0x3fafaf['get'](_0x36cce1['ICommandService']),_0x9ae748=_0x3fafaf[_0x1efad2(0x1fa)](_0x36cce1[_0x1efad2(0x2fb)]),_0x3977f0=_0x2fd16a[_0x1efad2(0x363)](),_0x46f43a=new _0x5abfd2()[_0x1efad2(0x286)](_0x3977f0,_0x4a5107,_0x2eebe6,{'field':_0x1e7b16,'index':_0x3771d1,'viewIndexes':_0x2a3e14}),_0x14d715=new _0x4263aa()[_0x1efad2(0x39a)](_0x3977f0,_0x46f43a),_0x3df099={'unitId':_0x77bbe0,'op':_0x46f43a},_0x5289da={'unitId':_0x77bbe0,'op':_0x14d715};return _0x1ca164[_0x1efad2(0x459)](_0x2995c3['id'],_0x3df099)?(_0x14f3a3['focusUnit'](_0x77bbe0),_0x9ae748[_0x1efad2(0x12f)]({'unitID':_0x77bbe0,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5289da}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x3df099}]}),!0x0):!0x1;}},_0x524fde={'id':_0x292328(0x4a9),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x4b8c10,_0xfad9c2)=>{const _0x247958=_0x292328;if(!_0xfad9c2)return!0x1;let _0x12242f=_0x4b8c10[_0x247958(0x1fa)](_0x36cce1[_0x247958(0x21d)]),{unitId:_0x43970a,tableId:_0x352e37,sourceRecordId:_0x1175e7,record:_0x587ca2}=_0xfad9c2,_0x14f3bd=_0x12242f['getUnit'](_0x43970a,_0x36cce1[_0x247958(0x1fe)][_0x247958(0x355)]);if(!_0x14f3bd||!_0x56501d(_0x14f3bd,_0x352e37,{'recordIds':[_0x1175e7]})||!_0x3c1f04(_0x14f3bd,_0x352e37,_0x587ca2))return!0x1;let _0x358d97=_0x4b8c10[_0x247958(0x1fa)](_0x36cce1[_0x247958(0x1f4)]),_0x2b7e68=_0x4b8c10['get'](_0x36cce1[_0x247958(0x2fb)]),_0x2c5072=_0x14f3bd[_0x247958(0x363)](),_0x24f6f6=_0x59310e(_0x587ca2),_0xdf4bfb=_0x35c4bc(_0x2c5072[_0x247958(0x288)][_0x352e37],[_0x24f6f6]),_0x32812c=new _0x5abfd2()[_0x247958(0x2e5)](_0x2c5072,_0x352e37,_0x1175e7,_0x24f6f6),_0x438f74=new _0x4263aa()[_0x247958(0x39a)](_0x2c5072,_0x32812c),_0x17032f={'unitId':_0x43970a,'op':_0x32812c,'hierarchyChanges':_0xdf4bfb['length']?_0xdf4bfb:void 0x0,'source':_0xdf4bfb[_0x247958(0x4fc)]?_0xfad9c2[_0x247958(0x3a4)]??'ui':void 0x0},_0x29a4eb={..._0x17032f,'source':_0xdf4bfb['length']?_0x247958(0x529):void 0x0},_0xfe62df={'unitId':_0x43970a,'op':_0x438f74,'hierarchyChanges':_0xdf4bfb['length']?_0xdf4bfb[_0x247958(0x421)](_0x8e69d4=>({..._0x8e69d4,'oldParentRecordId':_0x8e69d4[_0x247958(0x23d)],'parentRecordId':null})):void 0x0,'source':_0xdf4bfb[_0x247958(0x4fc)]?_0x247958(0x204):void 0x0};return _0x358d97[_0x247958(0x459)](_0x2995c3['id'],_0x17032f)?(_0x12242f[_0x247958(0x37d)](_0x43970a),_0x2b7e68[_0x247958(0x12f)]({'unitID':_0x43970a,'undoMutations':[{'id':_0x2995c3['id'],'params':_0xfe62df}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x29a4eb}]}),!0x0):!0x1;}},_0x52dcb0={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x16b767,_0x2dddfa){const _0x503c5e=_0x292328;if(!_0x2dddfa)return!0x1;let _0xbf26f5=_0x16b767['get'](_0x36cce1['IUniverInstanceService']),{unitId:_0x2e4015,tableId:_0x3970bb,viewId:_0x298914,ensureEndDateField:_0x53d9c9}=_0x2dddfa,_0x5f4c8b=_0xbf26f5[_0x503c5e(0x420)](_0x2e4015,_0x36cce1[_0x503c5e(0x1fe)]['UNIVER_BASE']);if(!_0x5f4c8b||!_0x56501d(_0x5f4c8b,_0x3970bb,{'viewIds':[_0x298914]}))return!0x1;let _0x17b547=_0x5f4c8b['getSnapshot'](),_0x227d51=_0x17b547[_0x503c5e(0x288)][_0x3970bb],_0x36d82b=_0x227d51==null?void 0x0:_0x227d51[_0x503c5e(0x2b9)][_0x298914];if(!_0x227d51||!_0x36d82b||_0x36d82b['type']!==_0x503c5e(0x3ef)&&_0x36d82b[_0x503c5e(0x11c)]!=='gantt')return!0x1;let _0x3ef61d=_0x113a48(_0x227d51,_0x36d82b,_0x53d9c9===!0x0);if(!_0x3ef61d[_0x503c5e(0x2a3)])return!0x1;let _0x371666=_0x16b767[_0x503c5e(0x1fa)](_0x36cce1[_0x503c5e(0x1f4)]),_0x2dc17e=_0x16b767[_0x503c5e(0x1fa)](_0x36cce1['IUndoRedoService']),_0x407224=new _0x5abfd2(),_0x14e0f4=[..._0x3ef61d[_0x503c5e(0x445)][_0x503c5e(0x421)](_0x5e3c90=>_0x407224[_0x503c5e(0x51d)](_0x17b547,_0x2dddfa[_0x503c5e(0x578)],{'field':_0x5e3c90})),_0x4f1cfd([..._0x1dc871(_0x2dddfa[_0x503c5e(0x578)],_0x2dddfa[_0x503c5e(0x1fb)]),'config'],_0x36d82b[_0x503c5e(0x441)],_0x3ef61d[_0x503c5e(0x441)])];_0x3ef61d[_0x503c5e(0x379)]&&_0x14e0f4['push'](_0x4f1cfd([..._0x1dc871(_0x2dddfa[_0x503c5e(0x578)],_0x2dddfa[_0x503c5e(0x1fb)]),_0x503c5e(0x379)],_0x36d82b[_0x503c5e(0x379)],_0x3ef61d['fieldOrder']));let _0x2112a3=_0x30ac86(_0x14e0f4),_0x5a88f7=new _0x4263aa()[_0x503c5e(0x39a)](_0x17b547,_0x2112a3),_0x4b4d6e={'unitId':_0x2e4015,'op':_0x2112a3},_0x500f02={'unitId':_0x2e4015,'op':_0x5a88f7};return _0x371666['syncExecuteCommand'](_0x2995c3['id'],_0x4b4d6e)?(_0xbf26f5['focusUnit'](_0x2e4015),_0x2dc17e['pushUndoRedo']({'unitID':_0x2e4015,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x500f02}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x4b4d6e}]}),!0x0):!0x1;}};function _0x4f1cfd(_0x23f8f6,_0x34117f,_0x89ed08){const _0x26a6c2=_0x292328;return _0x34117f===void 0x0?_0x36cce1[_0x26a6c2(0x112)]['insertOp'](_0x23f8f6,_0x89ed08):_0x36cce1[_0x26a6c2(0x112)][_0x26a6c2(0x4ef)](_0x23f8f6,_0x34117f,_0x89ed08);}function _0x1dc871(_0xd62664,_0x77ff94){const _0x367bce=_0x292328;return[_0x367bce(0x288),_0xd62664,'views',_0x77ff94];}let _0x4f397b={'id':_0x292328(0x33e),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x1d92d5,_0x443869)=>{const _0x4f37c9=_0x292328;if(!_0x443869)return!0x1;let _0x53a0f5=_0x1d92d5[_0x4f37c9(0x1fa)](_0x36cce1[_0x4f37c9(0x21d)]),{unitId:_0x413abb,tableId:_0x44c54c,fieldId:_0x59f5b2,target:_0x253617}=_0x443869,_0x3f9c0d=_0x53a0f5[_0x4f37c9(0x420)](_0x413abb,_0x36cce1[_0x4f37c9(0x1fe)]['UNIVER_BASE']),_0x55f89f=_0x253617[_0x4f37c9(0x38c)]??_0x253617[_0x4f37c9(0x1d9)];if(!_0x3f9c0d||!!_0x253617[_0x4f37c9(0x38c)]==!!_0x253617[_0x4f37c9(0x1d9)]||!_0x55f89f||_0x55f89f===_0x59f5b2||_0x59f5b2===_0x36cce1[_0x4f37c9(0x4ca)]||_0x253617[_0x4f37c9(0x38c)]===_0x36cce1[_0x4f37c9(0x4ca)]||!_0x56501d(_0x3f9c0d,_0x44c54c,{'fieldIds':[_0x59f5b2,_0x55f89f]}))return!0x1;let _0x370fd0=_0x1d92d5['get'](_0x36cce1['ICommandService']),_0x4d0424=_0x1d92d5[_0x4f37c9(0x1fa)](_0x36cce1[_0x4f37c9(0x2fb)]),_0x45a4d7=_0x3f9c0d[_0x4f37c9(0x363)](),_0xb32f9c=new _0x5abfd2()[_0x4f37c9(0x575)](_0x45a4d7,_0x44c54c,_0x59f5b2,_0x253617),_0x3f7558=new _0x4263aa()[_0x4f37c9(0x39a)](_0x45a4d7,_0xb32f9c),_0x3d3601={'unitId':_0x413abb,'op':_0xb32f9c},_0x206ae9={'unitId':_0x413abb,'op':_0x3f7558};return _0x370fd0[_0x4f37c9(0x459)](_0x2995c3['id'],_0x3d3601)?(_0x53a0f5[_0x4f37c9(0x37d)](_0x413abb),_0x4d0424['pushUndoRedo']({'unitID':_0x413abb,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x206ae9}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x3d3601}]}),!0x0):!0x1;}},_0x26af1d={'id':'base.command.move-base-hierarchy-record','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x12dca6,_0x54d1e6)=>{const _0x42c78c=_0x292328;var _0x541b33;if(!_0x54d1e6)return!0x1;let {unitId:_0x113a0b,tableId:_0x3b485c,recordId:_0x5c3300,parentRecordId:_0x28c8a6,orderKey:_0x53c393}=_0x54d1e6,_0x4b81ab=_0x12dca6['get'](_0x36cce1[_0x42c78c(0x21d)]),_0x140409=_0x4b81ab[_0x42c78c(0x420)](_0x113a0b,_0x36cce1[_0x42c78c(0x1fe)][_0x42c78c(0x355)]);if(!_0x140409||!_0x56501d(_0x140409,_0x3b485c,{'recordIds':[_0x5c3300,..._0x28c8a6?[_0x28c8a6]:[]]}))throw new _0x33b26b('missingRecord');let _0x5bae39=_0x140409['getSnapshot'](),_0x23c6c8=_0x5bae39[_0x42c78c(0x288)][_0x3b485c],_0x58e082=_0x3a027d(_0x23c6c8),_0x3a20b1=_0x58e082??_0x54d1e6[_0x42c78c(0x450)]??_0x3dcefb(_0x23c6c8);if(_0x58e082&&_0x54d1e6['fieldId']&&_0x54d1e6['fieldId']!==_0x58e082||_0x23c6c8[_0x42c78c(0x445)][_0x3a20b1]&&!_0x3e34db(_0x23c6c8,_0x3a20b1))throw new _0x33b26b(_0x42c78c(0x11e));let _0x1a6603=_0x575e29(_0x23c6c8,_0x3a20b1),_0x202a96=_0x379177(_0x1a6603,_0x5c3300,_0x28c8a6);if(!_0x202a96[_0x42c78c(0x4b7)])throw new _0x33b26b(_0x202a96[_0x42c78c(0x49d)]===_0x36cce1[_0x42c78c(0x2ec)][_0x42c78c(0x44d)]?_0x42c78c(0x33a):_0x202a96[_0x42c78c(0x49d)]===_0x36cce1[_0x42c78c(0x2ec)][_0x42c78c(0x55c)]?'cycle':_0x42c78c(0x10f));let _0x19f351=_0x1a6603[_0x42c78c(0x352)][_0x42c78c(0x1fa)](_0x5c3300)??null,_0x3d8314=_0x23c6c8[_0x42c78c(0x46f)][_0x5c3300][_0x42c78c(0x449)];if(_0x19f351===_0x28c8a6&&(_0x53c393===void 0x0||_0x53c393===_0x3d8314))return!0x0;let _0x4a5441=_0x19f351!==_0x28c8a6,_0x113fbf=_0x53c393!==void 0x0&&_0x53c393!==_0x3d8314,_0x1be1a6=new _0x5abfd2(),_0x4de052=[],_0x66e37b=_0x23c6c8[_0x42c78c(0x445)][_0x3a20b1],_0x190996=_0x4a5441&&(!_0x66e37b||((_0x541b33=_0x4ab7c2(_0x66e37b))==null?void 0x0:_0x541b33[_0x42c78c(0x283)])!==_0x36cce1['BaseRecordLinkRole'][_0x42c78c(0x33d)])?_0x66e37b?_0x1be1a6['updateField'](_0x5bae39,_0x3b485c,_0x3a20b1,{'config':{..._0x66e37b[_0x42c78c(0x441)],'relationRole':_0x36cce1['BaseRecordLinkRole'][_0x42c78c(0x33d)]}}):_0x12dca6[_0x42c78c(0x1fa)](_0x4a8765)[_0x42c78c(0x1dc)](_0x140409,_0x3b485c,_0x44c347(_0x23c6c8,_0x3a20b1,_0x54d1e6[_0x42c78c(0x2f0)]),_0x23c6c8[_0x42c78c(0x379)][_0x42c78c(0x4fc)]):null;_0x190996&&_0x4de052[_0x42c78c(0x429)](_0x190996),_0x4a5441&&_0x4de052['push'](_0x1be1a6[_0x42c78c(0x2c7)](_0x5bae39,_0x3b485c,_0x5c3300,_0x3a20b1,_0x28c8a6?_0x168a1a([_0x28c8a6]):'')),_0x113fbf&&_0x4de052['push'](_0x1be1a6[_0x42c78c(0x1a2)](_0x5bae39,_0x3b485c,_0x5c3300,_0x53c393));let _0x4c68ba=_0x30ac86(_0x4de052),_0x3d6516={'tableId':_0x3b485c,'fieldId':_0x3a20b1,'recordId':_0x5c3300,'oldParentRecordId':_0x19f351,'parentRecordId':_0x28c8a6},_0x106c83={'unitId':_0x113a0b,'op':_0x4c68ba,'trigger':_0x26af1d['id'],'hierarchyChanges':[_0x3d6516],'source':_0x54d1e6[_0x42c78c(0x3a4)]??'ui'},_0x3fe3df={..._0x106c83,'source':'redo'};if(!_0x12dca6[_0x42c78c(0x1fa)](_0x36cce1[_0x42c78c(0x1f4)])['syncExecuteCommand'](_0x2995c3['id'],_0x106c83))return!0x1;let _0x234f6b=_0x140409['getSnapshot'](),_0x515074=[];_0x4a5441&&_0x515074[_0x42c78c(0x429)](_0x58e18a(_0x234f6b,_0x5bae39,_0x3b485c,_0x5c3300,_0x3a20b1)),_0x113fbf&&_0x515074[_0x42c78c(0x429)](_0x94ad72(_0x234f6b,_0x5bae39,_0x3b485c,_0x5c3300)),_0x190996&&_0x515074[_0x42c78c(0x429)](new _0x4263aa()['invertOp'](_0x5bae39,_0x190996));let _0x9bb0f0={'unitId':_0x113a0b,'op':_0x30ac86(_0x515074),'trigger':_0x26af1d['id'],'hierarchyChanges':[{..._0x3d6516,'oldParentRecordId':_0x28c8a6,'parentRecordId':_0x19f351}],'source':'undo'};return _0x4b81ab['focusUnit'](_0x113a0b),_0x12dca6[_0x42c78c(0x1fa)](_0x36cce1[_0x42c78c(0x2fb)])[_0x42c78c(0x12f)]({'unitID':_0x113a0b,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x9bb0f0}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x3fe3df}]}),!0x0;}};function _0x58e18a(_0x327f76,_0x3fdb4d,_0x2aa57d,_0x4ab89b,_0x47fb93){const _0x14d8d8=_0x292328;var _0x3c2689,_0x10b612,_0x26cf78,_0x102ebf,_0x154b1c,_0x17f222,_0x348937,_0x4b76a1;let _0x3edfaa=_0x327f76[_0x14d8d8(0x288)][_0x2aa57d],_0x3312e8=_0x3fdb4d[_0x14d8d8(0x288)][_0x2aa57d],_0x539181=(_0x3c2689=_0x3edfaa[_0x14d8d8(0x17e)])==null?void 0x0:_0x3c2689[_0x4ab89b],_0x1a3066=(_0x10b612=_0x3edfaa[_0x14d8d8(0x30b)])==null?void 0x0:_0x10b612[_0x47fb93],_0x1da13c=(_0x26cf78=_0x3312e8['rowIndex'])==null?void 0x0:_0x26cf78[_0x4ab89b],_0x37d4a5=(_0x102ebf=_0x3312e8[_0x14d8d8(0x30b)])==null?void 0x0:_0x102ebf[_0x47fb93],_0x3c6887=_0x539181==null||_0x1a3066==null||(_0x154b1c=_0x3edfaa['cellData'])==null||(_0x154b1c=_0x154b1c[_0x539181])==null?void 0x0:_0x154b1c[_0x1a3066],_0x5cc2ec=_0x1da13c==null||_0x37d4a5==null||(_0x17f222=_0x3312e8[_0x14d8d8(0x48e)])==null||(_0x17f222=_0x17f222[_0x1da13c])==null?void 0x0:_0x17f222[_0x37d4a5],_0x2fa5ff=(_0x348937=_0x3edfaa[_0x14d8d8(0x46f)][_0x4ab89b])==null?void 0x0:_0x348937[_0x14d8d8(0x1ea)][_0x47fb93],_0x5899ff=(_0x4b76a1=_0x3312e8[_0x14d8d8(0x46f)][_0x4ab89b])==null?void 0x0:_0x4b76a1[_0x14d8d8(0x1ea)][_0x47fb93],_0x4499ea=[],_0x66bf9b=_0x5481f9(_0x539181==null||_0x1a3066==null?null:_0xf0e45c[_0x14d8d8(0x48e)](_0x2aa57d,_0x539181,_0x1a3066),_0x3c6887,_0x5cc2ec);_0x66bf9b&&_0x4499ea[_0x14d8d8(0x429)](_0x66bf9b);let _0x3d84a4=_0x5481f9(_0xf0e45c[_0x14d8d8(0x522)](_0x2aa57d,_0x4ab89b,_0x47fb93),_0x2fa5ff,_0x5899ff);return _0x3d84a4&&_0x4499ea[_0x14d8d8(0x429)](_0x3d84a4),_0x30ac86(_0x4499ea);}function _0x94ad72(_0x4a0be8,_0x5e5499,_0x43874c,_0x18ca66){const _0x7ebc1a=_0x292328;var _0x298cfd,_0x3cf1f7;let _0x239a58=_0x4a0be8[_0x7ebc1a(0x288)][_0x43874c],_0x764c20=_0x5e5499['tables'][_0x43874c];return _0x30ac86([_0x5481f9([..._0xf0e45c[_0x7ebc1a(0x13e)](_0x43874c,_0x18ca66),_0x7ebc1a(0x449)],(_0x298cfd=_0x239a58[_0x7ebc1a(0x46f)][_0x18ca66])==null?void 0x0:_0x298cfd['orderKey'],(_0x3cf1f7=_0x764c20[_0x7ebc1a(0x46f)][_0x18ca66])==null?void 0x0:_0x3cf1f7[_0x7ebc1a(0x449)]),_0x5481f9([..._0xf0e45c['table'](_0x43874c),'recordOrder'],_0x239a58[_0x7ebc1a(0x318)],_0x764c20[_0x7ebc1a(0x318)])][_0x7ebc1a(0x544)](_0x4a1a72=>!!_0x4a1a72));}function _0x5481f9(_0x511e87,_0x429f9a,_0xe5059a){const _0x17d2ba=_0x292328;if(!_0x511e87||_0x429f9a===void 0x0&&_0xe5059a===void 0x0)return null;let _0x592f35=_0x36cce1[_0x17d2ba(0x307)][_0x17d2ba(0x3df)]();return _0xe5059a===void 0x0?_0x592f35[_0x17d2ba(0x224)](_0x511e87,_0x429f9a):_0x429f9a===void 0x0?_0x592f35[_0x17d2ba(0x3d3)](_0x511e87,_0xe5059a):_0x592f35[_0x17d2ba(0x4ef)](_0x511e87,_0x429f9a,_0xe5059a);}let _0x2a53c2={'id':_0x292328(0x172),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x86494f,_0x5e2005)=>{const _0x15d9ac=_0x292328;if(!_0x5e2005)return!0x1;let _0x5e61d6=_0x86494f[_0x15d9ac(0x1fa)](_0x36cce1[_0x15d9ac(0x21d)]),{unitId:_0x560f9c,tableId:_0x1ff4c3,viewId:_0x59b0b2,target:_0x2eb824}=_0x5e2005,_0x561210=_0x5e61d6[_0x15d9ac(0x420)](_0x560f9c,_0x36cce1['UniverInstanceType'][_0x15d9ac(0x355)]),_0x49b45d=_0x2eb824[_0x15d9ac(0x3ca)]??_0x2eb824[_0x15d9ac(0x201)];if(!_0x561210||!_0x49b45d||_0x49b45d===_0x59b0b2||!_0x56501d(_0x561210,_0x1ff4c3,{'viewIds':[_0x59b0b2,_0x49b45d]}))return!0x1;let _0x4e6bf5=_0x86494f[_0x15d9ac(0x1fa)](_0x36cce1[_0x15d9ac(0x1f4)]),_0x420e78=_0x86494f['get'](_0x36cce1[_0x15d9ac(0x2fb)]),_0x23eff1=_0x561210[_0x15d9ac(0x363)](),_0x4379a1=new _0x5abfd2()[_0x15d9ac(0x1cc)](_0x23eff1,_0x1ff4c3,_0x59b0b2,_0x2eb824),_0x409caa=new _0x4263aa()['invertOp'](_0x23eff1,_0x4379a1),_0x191a10={'unitId':_0x560f9c,'op':_0x4379a1},_0x5c75d7={'unitId':_0x560f9c,'op':_0x409caa};return _0x4e6bf5[_0x15d9ac(0x459)](_0x2995c3['id'],_0x191a10)?(_0x5e61d6[_0x15d9ac(0x37d)](_0x560f9c),_0x420e78[_0x15d9ac(0x12f)]({'unitID':_0x560f9c,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5c75d7}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x191a10}]}),!0x0):!0x1;}},_0x128d7a={'id':_0x292328(0x462),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x4a5c53,_0x33ea6e)=>{const _0x5e6a60=_0x292328;if(!_0x33ea6e)return!0x1;let _0x24a243=_0x4a5c53[_0x5e6a60(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x57cec9,tableId:_0x516325,name:_0x4f22fe}=_0x33ea6e,_0x2d0208=_0x24a243[_0x5e6a60(0x420)](_0x57cec9,_0x36cce1[_0x5e6a60(0x1fe)]['UNIVER_BASE']);if(!_0x2d0208||!_0x56501d(_0x2d0208,_0x516325)||!_0x1b2871(_0x2d0208[_0x5e6a60(0x363)](),_0x4f22fe,_0x516325)[_0x5e6a60(0x4b7)])return!0x1;let _0x124d57=_0x4a5c53['get'](_0x36cce1['ICommandService']),_0x1878dc=_0x4a5c53[_0x5e6a60(0x1fa)](_0x36cce1[_0x5e6a60(0x2fb)]),_0x33694a=_0x2d0208[_0x5e6a60(0x363)](),_0x337b3c=new _0x5abfd2()[_0x5e6a60(0x3bd)](_0x33694a,_0x516325,_0x4f22fe),_0x5c96ba=new _0x4263aa()[_0x5e6a60(0x39a)](_0x33694a,_0x337b3c),_0x548505={'unitId':_0x57cec9,'op':_0x337b3c},_0x212242={'unitId':_0x57cec9,'op':_0x5c96ba};return _0x124d57[_0x5e6a60(0x459)](_0x2995c3['id'],_0x548505)?(_0x24a243[_0x5e6a60(0x37d)](_0x57cec9),_0x1878dc['pushUndoRedo']({'unitID':_0x57cec9,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x212242}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x548505}]}),!0x0):!0x1;}},_0x3f4fef={'id':_0x292328(0x261),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x5d3c38,_0x44e01b)=>{const _0x98404f=_0x292328;if(!_0x44e01b)return!0x1;let _0x3b477d=_0x5d3c38[_0x98404f(0x1fa)](_0x36cce1[_0x98404f(0x21d)]),{unitId:_0x3aaf6a,tableId:_0x5e6474,viewId:_0x1981bc,name:_0x5cb0e1}=_0x44e01b,_0x2e49bd=_0x3b477d[_0x98404f(0x420)](_0x3aaf6a,_0x36cce1[_0x98404f(0x1fe)]['UNIVER_BASE']);if(!_0x2e49bd||!_0x56501d(_0x2e49bd,_0x5e6474,{'viewIds':[_0x1981bc]}))return!0x1;let _0x1ed60a=_0x5d3c38['get'](_0x36cce1[_0x98404f(0x1f4)]),_0x213268=_0x5d3c38[_0x98404f(0x1fa)](_0x36cce1['IUndoRedoService']),_0x458ed0=_0x2e49bd['getSnapshot'](),_0x3caf2c=new _0x5abfd2()[_0x98404f(0x354)](_0x458ed0,_0x5e6474,_0x1981bc,_0x5cb0e1),_0x3b224a=new _0x4263aa()[_0x98404f(0x39a)](_0x458ed0,_0x3caf2c),_0x295c8f={'unitId':_0x3aaf6a,'op':_0x3caf2c},_0x5ef1e4={'unitId':_0x3aaf6a,'op':_0x3b224a};return _0x1ed60a[_0x98404f(0x459)](_0x2995c3['id'],_0x295c8f)?(_0x3b477d[_0x98404f(0x37d)](_0x3aaf6a),_0x213268[_0x98404f(0x12f)]({'unitID':_0x3aaf6a,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5ef1e4}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x295c8f}]}),!0x0):!0x1;}},_0x51cb95={'id':_0x292328(0x381),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x52c169,_0x39045b)=>{const _0x5c4875=_0x292328;if(!_0x39045b)return!0x1;let _0x4bc489=_0x52c169[_0x5c4875(0x1fa)](_0x36cce1[_0x5c4875(0x21d)]),{unitId:_0x29c44b,tableId:_0x53be19,viewId:_0x3bd99b,fieldId:_0x3ccf39}=_0x39045b,_0x25c759=_0x4bc489[_0x5c4875(0x420)](_0x29c44b,_0x36cce1[_0x5c4875(0x1fe)]['UNIVER_BASE']);if(!_0x25c759||!_0x56501d(_0x25c759,_0x53be19,{'viewIds':[_0x3bd99b],'fieldIds':[_0x3ccf39]}))return!0x1;let _0x56a474=_0x52c169[_0x5c4875(0x1fa)](_0x36cce1[_0x5c4875(0x1f4)]),_0x5374b7=_0x52c169[_0x5c4875(0x1fa)](_0x36cce1[_0x5c4875(0x2fb)]),_0xa2202=_0x25c759[_0x5c4875(0x363)](),_0x4a11f0=new _0x5abfd2()[_0x5c4875(0x3e9)](_0xa2202,_0x53be19,_0x3bd99b,{'groupFieldId':_0x3ccf39}),_0x461a7c=new _0x4263aa()[_0x5c4875(0x39a)](_0xa2202,_0x4a11f0),_0x4cad7d={'unitId':_0x29c44b,'op':_0x4a11f0},_0x293d4e={'unitId':_0x29c44b,'op':_0x461a7c};return _0x56a474[_0x5c4875(0x459)](_0x2995c3['id'],_0x4cad7d)?(_0x4bc489[_0x5c4875(0x37d)](_0x29c44b),_0x5374b7[_0x5c4875(0x12f)]({'unitID':_0x29c44b,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x293d4e}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x4cad7d}]}),!0x0):!0x1;}},_0x3a91a1={'id':_0x292328(0x37a),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x4c543b,_0x4f1bf2)=>{const _0xe83fc5=_0x292328;if(!_0x4f1bf2)return!0x1;let _0x5510f4=_0x4c543b[_0xe83fc5(0x1fa)](_0x36cce1['IUniverInstanceService']),_0x3e40f3=_0x5510f4[_0xe83fc5(0x420)](_0x4f1bf2[_0xe83fc5(0x273)],_0x36cce1[_0xe83fc5(0x1fe)][_0xe83fc5(0x355)]);if(!_0x3e40f3)return!0x1;let _0x1133e6=_0x3e40f3[_0xe83fc5(0x363)]()['name'];if(_0x1133e6===_0x4f1bf2['name'])return!0x0;let _0x49e104=new _0x5abfd2(),_0x2eaa48=new _0x4263aa(),_0x5936e5=[],_0x2d833d=[],_0x3e9056=[_0x3e40f3,..._0x5510f4[_0xe83fc5(0x3b4)](_0x36cce1[_0xe83fc5(0x1fe)]['UNIVER_BASE'])[_0xe83fc5(0x544)](_0x515d93=>_0x515d93['getUnitId']()!==_0x4f1bf2[_0xe83fc5(0x273)])];for(let _0x22169d of _0x3e9056){let _0x153c6a=_0x22169d[_0xe83fc5(0x363)](),_0x4ec104=_0x22169d===_0x3e40f3?_0x49e104[_0xe83fc5(0x246)](_0x153c6a,_0x4f1bf2['name']):_0x49e104[_0xe83fc5(0x16a)](_0x153c6a,_0x1133e6,_0x4f1bf2[_0xe83fc5(0x4c0)]);_0x4ec104&&(_0x5936e5['push']({'id':_0x2995c3['id'],'params':{'unitId':_0x22169d[_0xe83fc5(0x31f)](),'op':_0x4ec104,'trigger':_0x3a91a1['id']}}),_0x2d833d[_0xe83fc5(0x4d9)]({'id':_0x2995c3['id'],'params':{'unitId':_0x22169d[_0xe83fc5(0x31f)](),'op':_0x2eaa48[_0xe83fc5(0x39a)](_0x153c6a,_0x4ec104),'trigger':_0x3a91a1['id']}}));}let _0x1ab8d1=_0x4c543b[_0xe83fc5(0x1fa)](_0x36cce1[_0xe83fc5(0x1f4)]),_0x4e4fb5=_0x4c543b['get'](_0x36cce1[_0xe83fc5(0x2fb)]),_0x460437=_0x4e4fb5[_0xe83fc5(0x48b)](_0x4f1bf2['unitId']);try{return(0x0,_0x36cce1[_0xe83fc5(0x472)])(_0x5936e5,_0x1ab8d1)[_0xe83fc5(0x4f1)]?(_0x5510f4[_0xe83fc5(0x37d)](_0x4f1bf2['unitId']),_0x4e4fb5[_0xe83fc5(0x12f)]({'unitID':_0x4f1bf2['unitId'],'undoMutations':_0x2d833d,'redoMutations':_0x5936e5}),!0x0):!0x1;}finally{_0x460437[_0xe83fc5(0x154)]();}}},_0x43ef6d={'type':_0x36cce1[_0x292328(0x274)]['COMMAND'],'id':_0x292328(0x29b),async 'handler'(_0x20d28b,_0x1a7fda){const _0x50258b=_0x292328;if(!_0x1a7fda||!_0x2237ea[_0x50258b(0x18d)](_0x1a7fda['action'])||_0x1a7fda['objectId']!==_0x1a7fda[_0x50258b(0x273)]&&_0x1a7fda[_0x50258b(0x45b)]!==_0x282c79[_0x50258b(0x37e)][_0x50258b(0x17a)]||_0x1a7fda[_0x50258b(0x3c8)]&&(![_0x50258b(0x326),_0x50258b(0x292),'members'][_0x50258b(0x18d)](_0x1a7fda[_0x50258b(0x3c8)][_0x50258b(0x4e3)])||_0x1a7fda[_0x50258b(0x3c8)][_0x50258b(0x526)]['some'](_0x16777d=>!_0x2237ea[_0x50258b(0x18d)](_0x16777d[_0x50258b(0x45b)])||_0x1a7fda[_0x50258b(0x4aa)]!==_0x1a7fda[_0x50258b(0x273)]&&_0x16777d['action']!==_0x282c79[_0x50258b(0x37e)]['Edit'])))return!0x1;let _0x34015c=_0x278bb4(_0x1a7fda['unitId'],_0x1a7fda[_0x50258b(0x4aa)],_0x1a7fda[_0x50258b(0x45b)]),_0x2d5ec0={'unitId':_0x1a7fda['unitId'],'objectId':_0x1a7fda[_0x50258b(0x4aa)],'objectType':_0x34015c['type']},_0x2a29ef=_0x20d28b[_0x50258b(0x1fa)](_0x36cce1[_0x50258b(0x2ce)]);return _0x1a7fda[_0x50258b(0x455)]?await _0x2a29ef['remove'](_0x2d5ec0):_0x1a7fda[_0x50258b(0x3c8)]?await _0x2a29ef['save'](_0x2d5ec0,_0x1a7fda[_0x50258b(0x3c8)]):await _0x2a29ef[_0x50258b(0x25c)](_0x2d5ec0,_0x34015c,_0x1a7fda[_0x50258b(0x32d)]),!0x0;}},_0x962bd1={'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'id':_0x292328(0x443),async 'handler'(_0x28577e,_0x205e63){const _0x45a687=_0x292328;if(!(_0x205e63!=null&&_0x205e63[_0x45a687(0x273)])||!Array[_0x45a687(0x3fe)](_0x205e63[_0x45a687(0x282)])||!_0x205e63[_0x45a687(0x282)]['length']||_0x205e63['changes'][_0x45a687(0x41d)](_0x2cd801=>!(_0x2cd801!=null&&_0x2cd801[_0x45a687(0x4aa)])||_0x2cd801['objectId']===_0x205e63[_0x45a687(0x273)]||_0x2cd801[_0x45a687(0x3c8)]!==null&&(!_0x2cd801['policy']||![_0x45a687(0x326),'owner',_0x45a687(0x2d2)][_0x45a687(0x18d)](_0x2cd801[_0x45a687(0x3c8)]['edit'])||!Array[_0x45a687(0x3fe)](_0x2cd801['policy'][_0x45a687(0x1fd)])||!Array['isArray'](_0x2cd801[_0x45a687(0x3c8)][_0x45a687(0x526)])||_0x2cd801[_0x45a687(0x3c8)][_0x45a687(0x526)]['some'](_0x17ae20=>_0x17ae20[_0x45a687(0x45b)]!==_0x282c79['UnitAction']['Edit']))))throw Error(_0x45a687(0x3d0));return _0x28577e[_0x45a687(0x1fa)](_0x36cce1[_0x45a687(0x2ce)])[_0x45a687(0x50f)](_0x205e63[_0x45a687(0x282)][_0x45a687(0x421)](_0x241820=>{const _0x16ae3c=_0x45a687;let _0x27d38d=_0x278bb4(_0x205e63[_0x16ae3c(0x273)],_0x241820[_0x16ae3c(0x4aa)],_0x282c79['UnitAction'][_0x16ae3c(0x17a)]);return{'unitId':_0x205e63[_0x16ae3c(0x273)],'objectId':_0x241820[_0x16ae3c(0x4aa)],'objectType':_0x27d38d[_0x16ae3c(0x11c)],'policy':_0x241820['policy']};}));}};function _0x4d9632(_0x14bdbc,_0x5db51e){const _0x15e398=_0x292328;let _0xfa631c=_0x526a9d(_0x36cce1['Tools'][_0x15e398(0x23b)](_0x14bdbc)),_0x6051a6=new Map();return _0x5db51e[_0x15e398(0x56d)](_0x2241bb=>{const _0x239549=_0x15e398;var _0x9decd9,_0x7fc73b;let _0x1fd668=_0x239549(0x33c)in _0x2241bb?_0x2241bb[_0x239549(0x33c)]:(_0x9decd9=_0xfa631c['rowId'])==null?void 0x0:_0x9decd9[_0x2241bb['row']],_0x517ced=_0x239549(0x450)in _0x2241bb?_0x2241bb[_0x239549(0x450)]:(_0x7fc73b=_0xfa631c[_0x239549(0x252)])==null?void 0x0:_0x7fc73b[_0x2241bb[_0x239549(0x418)]],_0x1429a5=_0x517ced?_0xfa631c[_0x239549(0x445)][_0x517ced]:void 0x0;if(!_0x1fd668||!_0x517ced||!_0x1429a5||!_0xfa631c[_0x239549(0x46f)][_0x1fd668])return;let _0x3c6736=_0x3b6c3e(_0x2241bb[_0x239549(0x32d)],_0x1429a5),_0x5a4be1=_0x4af2e5(_0x2241bb[_0x239549(0x32d)],_0x3c6736,_0x1429a5,_0xfa631c,_0x1fd668),_0x5a0766=_0x6051a6[_0x239549(0x1fa)](_0x1fd668)??{};_0x5a0766[_0x517ced]=_0x5a4be1,_0x6051a6[_0x239549(0x251)](_0x1fd668,_0x5a0766);}),[..._0x6051a6][_0x15e398(0x421)](([_0x228b72,_0x35e097])=>({'recordId':_0x228b72,'values':_0x35e097}));}let _0x23e4e3={'id':'base.command.set-base-range-values','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x1ea1bb,_0xe90868){const _0x36d8fb=_0x292328;if(!_0xe90868)return!0x1;let _0x3882cf=_0x1ea1bb[_0x36d8fb(0x1fa)](_0x36cce1[_0x36d8fb(0x21d)]),{unitId:_0x552dfc,tableId:_0x4d76c3,patches:_0x488b3e}=_0xe90868,_0x3c1900=_0x3882cf[_0x36d8fb(0x420)](_0x552dfc,_0x36cce1[_0x36d8fb(0x1fe)][_0x36d8fb(0x355)]);if(!_0x3c1900||!_0x56501d(_0x3c1900,_0x4d76c3))return!0x1;let _0x416051=_0x1ea1bb[_0x36d8fb(0x1fa)](_0x36cce1[_0x36d8fb(0x1f4)]),_0x4f2860=_0x1ea1bb['get'](_0x36cce1[_0x36d8fb(0x2fb)]),_0x2da57a=_0x3c1900[_0x36d8fb(0x363)](),_0x7bbd13=_0x526a9d(_0x2da57a['tables'][_0x4d76c3]),_0x5aa71a=_0x488b3e[_0x36d8fb(0x421)](_0x155fb6=>{const _0x29ec23=_0x36d8fb;var _0x1ba564;return _0x29ec23(0x33c)in _0x155fb6?_0x155fb6[_0x29ec23(0x33c)]:(_0x1ba564=_0x7bbd13[_0x29ec23(0x387)])==null?void 0x0:_0x1ba564[_0x155fb6[_0x29ec23(0x4eb)]];})[_0x36d8fb(0x544)](_0x481882=>_0x481882!=null),_0x1e61e7=_0x488b3e[_0x36d8fb(0x421)](_0x435e61=>{const _0x146e04=_0x36d8fb;var _0x132195;return _0x146e04(0x450)in _0x435e61?_0x435e61[_0x146e04(0x450)]:(_0x132195=_0x7bbd13['colId'])==null?void 0x0:_0x132195[_0x435e61[_0x146e04(0x418)]];})[_0x36d8fb(0x544)](_0x390d17=>_0x390d17!=null);if(_0x5aa71a['length']!==_0x488b3e['length']||_0x1e61e7['length']!==_0x488b3e[_0x36d8fb(0x4fc)]||!_0x56501d(_0x3c1900,_0x4d76c3,{'recordIds':_0x5aa71a,'fieldIds':_0x1e61e7})||_0x488b3e[_0x36d8fb(0x41d)]((_0x4706d5,_0x4916b2)=>!_0xf61fb1(_0x3c1900,_0x4d76c3,_0x1e61e7[_0x4916b2],_0x4706d5[_0x36d8fb(0x32d)])))return!0x1;let _0x2deb83=_0x13a199(_0x7bbd13,_0x4d9632(_0x7bbd13,_0x488b3e)),_0x1d6fba=_0x488b3e[_0x36d8fb(0x57e)](_0x5207ac=>{const _0x55312e=_0x36d8fb;var _0x4fd0a0,_0x3626c3;if(_0x55312e(0x4eb)in _0x5207ac)return[_0x5207ac];let _0x85cc91=(_0x4fd0a0=_0x7bbd13[_0x55312e(0x17e)])==null?void 0x0:_0x4fd0a0[_0x5207ac[_0x55312e(0x33c)]],_0x5f4328=(_0x3626c3=_0x7bbd13[_0x55312e(0x30b)])==null?void 0x0:_0x3626c3[_0x5207ac['fieldId']];return _0x85cc91==null||_0x5f4328==null?[]:[{'row':_0x85cc91,'col':_0x5f4328,'value':_0x5207ac[_0x55312e(0x32d)]}];}),_0x18706f=new _0x5abfd2()[_0x36d8fb(0x197)](_0x2da57a,_0x4d76c3,_0x1d6fba),_0x13943d=new _0x4263aa()[_0x36d8fb(0x39a)](_0x2da57a,_0x18706f),_0x3684f7={'unitId':_0x552dfc,'op':_0x18706f,'trigger':_0x2deb83['length']?_0x23e4e3['id']:void 0x0,'hierarchyChanges':_0x2deb83[_0x36d8fb(0x4fc)]?_0x2deb83:void 0x0,'source':_0x2deb83['length']?'redo':void 0x0},_0xc74ec5={'unitId':_0x552dfc,'op':_0x13943d,'trigger':_0x2deb83[_0x36d8fb(0x4fc)]?_0x23e4e3['id']:void 0x0,'hierarchyChanges':_0x2deb83[_0x36d8fb(0x4fc)]?_0x2deb83['map'](_0x208f71=>({..._0x208f71,'oldParentRecordId':_0x208f71[_0x36d8fb(0x23d)],'parentRecordId':_0x208f71[_0x36d8fb(0x4f3)]})):void 0x0,'source':_0x2deb83[_0x36d8fb(0x4fc)]?'undo':void 0x0},_0x15b73c={..._0x3684f7,'source':_0x2deb83[_0x36d8fb(0x4fc)]?_0xe90868[_0x36d8fb(0x3a4)]??'ui':void 0x0};return _0x416051[_0x36d8fb(0x459)](_0x2995c3['id'],_0x15b73c)?(_0x3882cf[_0x36d8fb(0x37d)](_0x552dfc),_0x4f2860[_0x36d8fb(0x12f)]({'unitID':_0x552dfc,'undoMutations':[{'id':_0x2995c3['id'],'params':_0xc74ec5}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x3684f7}]}),!0x0):!0x1;}},_0x3f60c1={'id':'base.command.set-base-record-values','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x5769f9,_0x424526){const _0x3b1a99=_0x292328;if(!_0x424526)return!0x1;let _0x2e31b2=_0x5769f9[_0x3b1a99(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x246d27,tableId:_0x80c667,patches:_0x557bdf}=_0x424526,_0x232d8d=_0x2e31b2[_0x3b1a99(0x420)](_0x246d27,_0x36cce1['UniverInstanceType'][_0x3b1a99(0x355)]),_0x3637d7=_0x557bdf[_0x3b1a99(0x421)](_0x56e923=>_0x56e923['recordId']),_0x378852=_0x557bdf[_0x3b1a99(0x57e)](_0x5d772a=>Object[_0x3b1a99(0x153)](_0x5d772a[_0x3b1a99(0x1ea)]));if(!_0x232d8d||!_0x56501d(_0x232d8d,_0x80c667,{'recordIds':_0x3637d7,'fieldIds':_0x378852})||_0x557bdf[_0x3b1a99(0x41d)](_0x240e94=>Object['entries'](_0x240e94[_0x3b1a99(0x1ea)])[_0x3b1a99(0x41d)](([_0x4e232e,_0x6ed832])=>!_0xf61fb1(_0x232d8d,_0x80c667,_0x4e232e,_0x6ed832))))return!0x1;let _0x850e7c=_0x13a199(_0x232d8d[_0x3b1a99(0x363)]()[_0x3b1a99(0x288)][_0x80c667],_0x557bdf),_0x5c7153=_0x5769f9[_0x3b1a99(0x1fa)](_0x36cce1[_0x3b1a99(0x1f4)]),_0x392830=_0x5769f9[_0x3b1a99(0x1fa)](_0x36cce1[_0x3b1a99(0x2fb)]),_0x4a4d71=_0x5769f9['get'](_0x4a8765)['createSetRecordValuesOp'](_0x232d8d,_0x80c667,_0x557bdf),_0x3049c6=new _0x4263aa()[_0x3b1a99(0x39a)](_0x232d8d[_0x3b1a99(0x363)](),_0x4a4d71),_0x6f5276={'unitId':_0x246d27,'op':_0x4a4d71,'trigger':_0x850e7c[_0x3b1a99(0x4fc)]?_0x3f60c1['id']:void 0x0,'hierarchyChanges':_0x850e7c['length']?_0x850e7c:void 0x0,'source':_0x850e7c[_0x3b1a99(0x4fc)]?_0x424526['source']??'ui':void 0x0},_0x600251={..._0x6f5276,'source':_0x850e7c[_0x3b1a99(0x4fc)]?_0x3b1a99(0x529):void 0x0},_0x4db169={'unitId':_0x246d27,'op':_0x3049c6,'trigger':_0x850e7c[_0x3b1a99(0x4fc)]?_0x3f60c1['id']:void 0x0,'hierarchyChanges':_0x850e7c[_0x3b1a99(0x4fc)]?_0x850e7c['map'](_0x18dfac=>({..._0x18dfac,'oldParentRecordId':_0x18dfac[_0x3b1a99(0x23d)],'parentRecordId':_0x18dfac[_0x3b1a99(0x4f3)]})):void 0x0,'source':_0x850e7c[_0x3b1a99(0x4fc)]?_0x3b1a99(0x204):void 0x0};return _0x5c7153[_0x3b1a99(0x459)](_0x2995c3['id'],_0x6f5276)?(_0x2e31b2[_0x3b1a99(0x37d)](_0x246d27),_0x392830[_0x3b1a99(0x12f)]({'unitID':_0x246d27,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x4db169}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x600251}]}),!0x0):!0x1;}},_0x454df1={'id':_0x292328(0x4a0),'type':_0x36cce1['CommandType']['COMMAND'],'handler':(_0x2deabf,_0x519c1d)=>{const _0x4ff72c=_0x292328;if(!_0x519c1d)return!0x1;let {unitId:_0x5a4ba4,tableId:_0x5618cc,fieldId:_0x59c35a}=_0x519c1d,_0x3b6e98=_0x2deabf['get'](_0x36cce1[_0x4ff72c(0x21d)]),_0x389906=_0x3b6e98['getUnit'](_0x5a4ba4,_0x36cce1[_0x4ff72c(0x1fe)][_0x4ff72c(0x355)]);if(!_0x389906||!_0x56501d(_0x389906,_0x5618cc))return!0x1;let _0x11b3e7=_0x389906[_0x4ff72c(0x363)](),_0x2fbb22=_0x11b3e7[_0x4ff72c(0x288)][_0x5618cc];if(_0x59c35a!==null&&!_0x3e34db(_0x2fbb22,_0x59c35a))throw new _0x33b26b('invalidField');if(_0x3a027d(_0x2fbb22)===_0x59c35a)return!0x0;let _0x351389=new _0x5abfd2(),_0x149edc=_0x30ac86(Object[_0x4ff72c(0x1ea)](_0x2fbb22['fields'])[_0x4ff72c(0x57e)](_0x7403f6=>{const _0x51d6d5=_0x4ff72c;if(!_0x3e34db(_0x2fbb22,_0x7403f6['id']))return[];let _0x258959=_0x4ab7c2(_0x7403f6);if(!_0x258959)return[];let _0x21a0b5=_0x7403f6['id']===_0x59c35a;if(_0x258959[_0x51d6d5(0x283)]===_0x36cce1[_0x51d6d5(0x327)]['Parent']===_0x21a0b5)return[];let _0xad2a8f={..._0x7403f6['config'],'targetTableId':_0x258959['targetTableId'],'multiple':_0x258959[_0x51d6d5(0x297)]};return _0x21a0b5?_0xad2a8f['relationRole']=_0x36cce1[_0x51d6d5(0x327)][_0x51d6d5(0x33d)]:delete _0xad2a8f[_0x51d6d5(0x283)],[_0x351389['updateField'](_0x11b3e7,_0x5618cc,_0x7403f6['id'],{'config':_0xad2a8f})];})),_0xcd92f5=new _0x4263aa()[_0x4ff72c(0x39a)](_0x11b3e7,_0x149edc),_0x2f86e7={'unitId':_0x5a4ba4,'op':_0x149edc},_0xe86761={'unitId':_0x5a4ba4,'op':_0xcd92f5};return _0x2deabf['get'](_0x36cce1[_0x4ff72c(0x1f4)])[_0x4ff72c(0x459)](_0x2995c3['id'],_0x2f86e7)?(_0x3b6e98[_0x4ff72c(0x37d)](_0x5a4ba4),_0x2deabf['get'](_0x36cce1[_0x4ff72c(0x2fb)])[_0x4ff72c(0x12f)]({'unitID':_0x5a4ba4,'undoMutations':[{'id':_0x2995c3['id'],'params':_0xe86761}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x2f86e7}]}),!0x0):!0x1;}},_0x638828={'id':'base.command.set-base-view-field-order','type':_0x36cce1['CommandType']['COMMAND'],'handler':(_0x50f892,_0x46a08d)=>{const _0x23a8a2=_0x292328;if(!_0x46a08d)return!0x1;let _0x179425=_0x50f892[_0x23a8a2(0x1fa)](_0x36cce1[_0x23a8a2(0x21d)]),{unitId:_0x526699,tableId:_0x45c282,viewId:_0x3b4e4f,fieldId:_0x3b63bf,target:_0x24ae14}=_0x46a08d,_0x218aec=_0x179425[_0x23a8a2(0x420)](_0x526699,_0x36cce1[_0x23a8a2(0x1fe)]['UNIVER_BASE']),_0x27a283=_0x24ae14[_0x23a8a2(0x38c)]??_0x24ae14['afterFieldId'];if(!_0x218aec||!_0x27a283||_0x27a283===_0x3b63bf||!_0x56501d(_0x218aec,_0x45c282,{'viewIds':[_0x3b4e4f],'fieldIds':[_0x3b63bf,_0x27a283]}))return!0x1;let _0x108935=_0x218aec['getSnapshot']()['tables'][_0x45c282],_0x3dd39b=_0x108935[_0x23a8a2(0x445)][_0x3b63bf],_0x34d819=_0x108935[_0x23a8a2(0x445)][_0x27a283];if(_0x3dd39b[_0x23a8a2(0x460)]===!0x0||_0x3dd39b[_0x23a8a2(0x11c)]===_0x36cce1[_0x23a8a2(0x229)][_0x23a8a2(0x15f)]||_0x34d819[_0x23a8a2(0x460)]===!0x0||_0x34d819['type']===_0x36cce1[_0x23a8a2(0x229)][_0x23a8a2(0x15f)])return!0x1;let _0x234a78=_0x50f892[_0x23a8a2(0x1fa)](_0x36cce1[_0x23a8a2(0x1f4)]),_0x2f4e61=_0x50f892[_0x23a8a2(0x1fa)](_0x36cce1[_0x23a8a2(0x2fb)]),_0x295751=_0x218aec['getSnapshot'](),_0x3be8b2=new _0x5abfd2()[_0x23a8a2(0x239)](_0x295751,_0x45c282,_0x3b4e4f,_0x3b63bf,_0x24ae14),_0x5bf88e=new _0x4263aa()['invertOp'](_0x295751,_0x3be8b2),_0x123730={'unitId':_0x526699,'op':_0x3be8b2},_0x5b4d2d={'unitId':_0x526699,'op':_0x5bf88e};return _0x234a78[_0x23a8a2(0x459)](_0x2995c3['id'],_0x123730)?(_0x179425[_0x23a8a2(0x37d)](_0x526699),_0x2f4e61[_0x23a8a2(0x12f)]({'unitID':_0x526699,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5b4d2d}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x123730}]}),!0x0):!0x1;}},_0x1cb9f3={'id':_0x292328(0x22a),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler'(_0x3ed8dd,_0x35157c){const _0x210976=_0x292328;if(!_0x35157c)return!0x1;let _0x130414=_0x3ed8dd['get'](_0x36cce1['IUniverInstanceService']),{unitId:_0x250f8e,tableId:_0x46bf29,viewId:_0x3dd53d,fieldId:_0x5410c3,visible:_0x1e73ab}=_0x35157c,_0x2c4c42=_0x130414[_0x210976(0x420)](_0x250f8e,_0x36cce1[_0x210976(0x1fe)][_0x210976(0x355)]);if(!_0x2c4c42||!_0x56501d(_0x2c4c42,_0x46bf29,{'viewIds':[_0x3dd53d],'fieldIds':[_0x5410c3]}))return!0x1;let _0x1e21d9=_0x2c4c42['getSnapshot']()[_0x210976(0x288)][_0x46bf29][_0x210976(0x445)][_0x5410c3];if(_0x1e21d9['system']===!0x0||_0x1e21d9[_0x210976(0x11c)]===_0x36cce1[_0x210976(0x229)]['RecordId'])return!0x1;let _0x2b289f=_0x3ed8dd[_0x210976(0x1fa)](_0x36cce1[_0x210976(0x1f4)]),_0x176aef=_0x3ed8dd[_0x210976(0x1fa)](_0x36cce1['IUndoRedoService']),_0xdecc98=_0x2c4c42['getSnapshot'](),_0x2955e6=new _0x5abfd2()['setViewFieldVisible'](_0xdecc98,_0x46bf29,_0x3dd53d,_0x5410c3,_0x1e73ab),_0x429a34=new _0x4263aa()[_0x210976(0x39a)](_0xdecc98,_0x2955e6),_0x549598={'unitId':_0x250f8e,'op':_0x2955e6},_0x5aaa36={'unitId':_0x250f8e,'op':_0x429a34};return _0x2b289f[_0x210976(0x459)](_0x2995c3['id'],_0x549598)?(_0x130414['focusUnit'](_0x250f8e),_0x176aef['pushUndoRedo']({'unitID':_0x250f8e,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5aaa36}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x549598}]}),!0x0):!0x1;}},_0x12f8c7={'id':_0x292328(0x2eb),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0xed7d10,_0x109b7a)=>{const _0x5a1491=_0x292328;if(!_0x109b7a)return!0x1;let _0x78a06d=_0xed7d10[_0x5a1491(0x1fa)](_0x36cce1[_0x5a1491(0x21d)]),{unitId:_0x51362b,tableId:_0x52be96,viewId:_0x53be5a,fieldId:_0x112885,width:_0x5b98fa}=_0x109b7a,_0x49e337=_0x78a06d['getUnit'](_0x51362b,_0x36cce1[_0x5a1491(0x1fe)][_0x5a1491(0x355)]);if(!_0x49e337||!_0x56501d(_0x49e337,_0x52be96,{'viewIds':[_0x53be5a],'fieldIds':[_0x112885]}))return!0x1;let _0x2a1c6e=_0x49e337[_0x5a1491(0x363)]()[_0x5a1491(0x288)][_0x52be96][_0x5a1491(0x445)][_0x112885];if(_0x2a1c6e[_0x5a1491(0x460)]===!0x0||_0x2a1c6e[_0x5a1491(0x11c)]===_0x36cce1[_0x5a1491(0x229)][_0x5a1491(0x15f)])return!0x1;let _0x55f142=_0xed7d10[_0x5a1491(0x1fa)](_0x36cce1[_0x5a1491(0x1f4)]),_0x5cb527=_0xed7d10[_0x5a1491(0x1fa)](_0x36cce1['IUndoRedoService']),_0xff5800=_0x49e337[_0x5a1491(0x363)](),_0x3c0e8c=new _0x5abfd2()[_0x5a1491(0x3f0)](_0xff5800,_0x52be96,_0x53be5a,_0x112885,_0x5b98fa),_0x4792ef=new _0x4263aa()[_0x5a1491(0x39a)](_0xff5800,_0x3c0e8c),_0x5b9f70={'unitId':_0x51362b,'op':_0x3c0e8c},_0x181ed2={'unitId':_0x51362b,'op':_0x4792ef};return _0x55f142['syncExecuteCommand'](_0x2995c3['id'],_0x5b9f70)?(_0x78a06d[_0x5a1491(0x37d)](_0x51362b),_0x5cb527['pushUndoRedo']({'unitID':_0x51362b,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x181ed2}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x5b9f70}]}),!0x0):!0x1;}},_0x5d838c={'id':'base.command.set-base-view-filter','type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x2e267b,_0x2b8e61)=>{const _0x496a31=_0x292328;if(!_0x2b8e61)return!0x1;let _0x2b75f6=_0x2e267b['get'](_0x36cce1['IUniverInstanceService']),{unitId:_0x1137c2,tableId:_0xe36c89,viewId:_0xae6f9e,filter:_0x4b966e}=_0x2b8e61,_0x4653f0=_0x2b75f6['getUnit'](_0x1137c2,_0x36cce1[_0x496a31(0x1fe)]['UNIVER_BASE']),_0x16f4b8=(_0x4b966e==null?void 0x0:_0x4b966e[_0x496a31(0x25b)][_0x496a31(0x421)](_0x34e8f7=>_0x34e8f7[_0x496a31(0x450)]))??[];if(!_0x4653f0||!_0x56501d(_0x4653f0,_0xe36c89,{'viewIds':[_0xae6f9e],'fieldIds':_0x16f4b8}))return!0x1;let _0x2d7e33=_0x2e267b[_0x496a31(0x1fa)](_0x36cce1[_0x496a31(0x1f4)]),_0xcdbe36=_0x2e267b[_0x496a31(0x1fa)](_0x36cce1[_0x496a31(0x2fb)]),_0x82e59a=_0x4653f0[_0x496a31(0x363)](),_0x47eb21=new _0x5abfd2()['setViewFilter'](_0x82e59a,_0xe36c89,_0xae6f9e,_0x4b966e),_0x24530c=new _0x4263aa()[_0x496a31(0x39a)](_0x82e59a,_0x47eb21),_0x158c75={'unitId':_0x1137c2,'op':_0x47eb21},_0x298465={'unitId':_0x1137c2,'op':_0x24530c};return _0x2d7e33[_0x496a31(0x459)](_0x2995c3['id'],_0x158c75)?(_0x2b75f6[_0x496a31(0x37d)](_0x1137c2),_0xcdbe36['pushUndoRedo']({'unitID':_0x1137c2,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x298465}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x158c75}]}),!0x0):!0x1;}},_0xc93322={'id':'base.command.set-base-view-group','type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x3bae68,_0x168fa3)=>{const _0xafc074=_0x292328;if(!_0x168fa3)return!0x1;let _0x5bd01d=_0x3bae68[_0xafc074(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x570948,tableId:_0x1b4a2c,viewId:_0x454e4e,group:_0x3b5ff2}=_0x168fa3,_0xf0455c=_0x5bd01d[_0xafc074(0x420)](_0x570948,_0x36cce1[_0xafc074(0x1fe)]['UNIVER_BASE']);if(!_0xf0455c||!_0x56501d(_0xf0455c,_0x1b4a2c,{'viewIds':[_0x454e4e],'fieldIds':_0x3b5ff2['map'](_0x441fb4=>_0x441fb4[_0xafc074(0x450)])}))return!0x1;let _0x1309a6=_0x3bae68['get'](_0x36cce1[_0xafc074(0x1f4)]),_0x5eb92d=_0x3bae68[_0xafc074(0x1fa)](_0x36cce1[_0xafc074(0x2fb)]),_0x46fc84=_0xf0455c[_0xafc074(0x363)](),_0x160212=new _0x5abfd2()[_0xafc074(0x19b)](_0x46fc84,_0x1b4a2c,_0x454e4e,_0x3b5ff2),_0x3e0ab3=new _0x4263aa()[_0xafc074(0x39a)](_0x46fc84,_0x160212),_0x27d495={'unitId':_0x570948,'op':_0x160212},_0x291aaf={'unitId':_0x570948,'op':_0x3e0ab3};return _0x1309a6[_0xafc074(0x459)](_0x2995c3['id'],_0x27d495)?(_0x5bd01d[_0xafc074(0x37d)](_0x570948),_0x5eb92d[_0xafc074(0x12f)]({'unitID':_0x570948,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x291aaf}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x27d495}]}),!0x0):!0x1;}},_0x4c2884={'id':'base.command.set-base-view-sort','type':_0x36cce1['CommandType']['COMMAND'],'handler':(_0x4f3f4b,_0x5a3cea)=>{const _0x4e6996=_0x292328;if(!_0x5a3cea)return!0x1;let _0x4c9be9=_0x4f3f4b[_0x4e6996(0x1fa)](_0x36cce1[_0x4e6996(0x21d)]),{unitId:_0x51459f,tableId:_0x1f36a2,viewId:_0x83dc63,sort:_0x2d21ac}=_0x5a3cea,_0x40ffae=_0x4c9be9['getUnit'](_0x51459f,_0x36cce1[_0x4e6996(0x1fe)]['UNIVER_BASE']);if(!_0x40ffae||!_0x56501d(_0x40ffae,_0x1f36a2,{'viewIds':[_0x83dc63],'fieldIds':_0x2d21ac[_0x4e6996(0x421)](_0x3e7f69=>_0x3e7f69[_0x4e6996(0x450)])}))return!0x1;let _0x3d011d=_0x4f3f4b[_0x4e6996(0x1fa)](_0x36cce1['ICommandService']),_0x625fdc=_0x4f3f4b[_0x4e6996(0x1fa)](_0x36cce1[_0x4e6996(0x2fb)]),_0x47cc4c=_0x40ffae[_0x4e6996(0x363)](),_0xf4bb4f=new _0x5abfd2()[_0x4e6996(0x46c)](_0x47cc4c,_0x1f36a2,_0x83dc63,_0x2d21ac),_0x39b768=new _0x4263aa()['invertOp'](_0x47cc4c,_0xf4bb4f),_0x36e860={'unitId':_0x51459f,'op':_0xf4bb4f},_0x547f68={'unitId':_0x51459f,'op':_0x39b768};return _0x3d011d[_0x4e6996(0x459)](_0x2995c3['id'],_0x36e860)?(_0x4c9be9['focusUnit'](_0x51459f),_0x625fdc[_0x4e6996(0x12f)]({'unitID':_0x51459f,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x547f68}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x36e860}]}),!0x0):!0x1;}},_0x564cb0={'id':_0x292328(0x339),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler'(_0x238177,_0x46fc39){const _0x1c34ed=_0x292328;if(!_0x46fc39)return!0x1;let _0x1edf03=_0x238177[_0x1c34ed(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x2b157b,tableId:_0x972d6e,recordId:_0x580c2d,fieldId:_0x1bd848,value:_0x3f2e67}=_0x46fc39,_0x1e2b24=_0x1edf03[_0x1c34ed(0x420)](_0x2b157b,_0x36cce1['UniverInstanceType']['UNIVER_BASE']);if(!_0x1e2b24||!_0x56501d(_0x1e2b24,_0x972d6e,{'recordIds':[_0x580c2d],'fieldIds':[_0x1bd848]})||!_0xf61fb1(_0x1e2b24,_0x972d6e,_0x1bd848,_0x3f2e67))return!0x1;let _0xafa0b3=_0x1e2b24[_0x1c34ed(0x363)]()[_0x1c34ed(0x288)][_0x972d6e],_0x59579a=_0x3e34db(_0xafa0b3,_0x1bd848)&&_0x145f37(_0xafa0b3)[_0x1c34ed(0x18d)](_0x1bd848),_0x52dca3=_0x59579a?_0x575e29(_0xafa0b3,_0x1bd848):null,_0x39d2af=(_0x52dca3==null?void 0x0:_0x52dca3[_0x1c34ed(0x352)][_0x1c34ed(0x1fa)](_0x580c2d))??null,_0x505e28=_0x59579a?_0x1f8a90(_0x3f2e67)[0x0]??null:null;if(_0x52dca3){if(_0x505e28&&!_0xafa0b3['records'][_0x505e28])throw new _0x33b26b(_0x1c34ed(0x3aa));let _0x58c054=_0x379177(_0x52dca3,_0x580c2d,_0x505e28);if(!_0x58c054['valid'])throw new _0x33b26b(_0x58c054[_0x1c34ed(0x49d)]===_0x36cce1['BaseHierarchyInvalidReason'][_0x1c34ed(0x44d)]?'selfParent':_0x58c054[_0x1c34ed(0x49d)]===_0x36cce1[_0x1c34ed(0x2ec)]['Cycle']?_0x1c34ed(0x47f):_0x1c34ed(0x10f));}let _0x1e2da4=_0x238177['get'](_0x36cce1[_0x1c34ed(0x1f4)]),_0x3cff3f=_0x238177[_0x1c34ed(0x1fa)](_0x36cce1[_0x1c34ed(0x2fb)]),_0x2096f3=_0x238177[_0x1c34ed(0x1fa)](_0x4a8765),_0x34f811;try{_0x34f811=_0x2096f3[_0x1c34ed(0x114)](_0x1e2b24,_0x972d6e,_0x580c2d,_0x1bd848,_0x3f2e67);}catch(_0x14e5d4){return console[_0x1c34ed(0x4fd)](_0x1c34ed(0x2df),_0x14e5d4),!0x1;}let _0x34b4d0=new _0x4263aa()[_0x1c34ed(0x39a)](_0x1e2b24[_0x1c34ed(0x363)](),_0x34f811),_0x31b40a=_0x59579a&&_0x39d2af!==_0x505e28?[{'tableId':_0x972d6e,'fieldId':_0x1bd848,'recordId':_0x580c2d,'oldParentRecordId':_0x39d2af,'parentRecordId':_0x505e28}]:void 0x0,_0x9155d8={'unitId':_0x2b157b,'op':_0x34f811,'trigger':_0x31b40a?_0x564cb0['id']:void 0x0,'hierarchyChanges':_0x31b40a,'source':_0x31b40a?_0x46fc39['source']??'ui':void 0x0},_0x299490={..._0x9155d8,'source':_0x31b40a?'redo':void 0x0},_0x489532={'unitId':_0x2b157b,'op':_0x34b4d0,'trigger':_0x31b40a?_0x564cb0['id']:void 0x0,'hierarchyChanges':_0x31b40a==null?void 0x0:_0x31b40a[_0x1c34ed(0x421)](_0x13f02e=>({..._0x13f02e,'oldParentRecordId':_0x13f02e[_0x1c34ed(0x23d)],'parentRecordId':_0x13f02e[_0x1c34ed(0x4f3)]})),'source':_0x31b40a?_0x1c34ed(0x204):void 0x0};return _0x1e2da4['syncExecuteCommand'](_0x2995c3['id'],_0x9155d8)?(_0x1edf03[_0x1c34ed(0x37d)](_0x2b157b),_0x3cff3f[_0x1c34ed(0x12f)]({'unitID':_0x2b157b,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x489532}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x299490}]}),!0x0):!0x1;}},_0x1c1dfb={'id':_0x292328(0x3cf),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler'(_0x5f1adc,_0x3d7adb){const _0x4eb7fb=_0x292328;if(!_0x3d7adb)return!0x1;let _0x4af58a=_0x5f1adc[_0x4eb7fb(0x1fa)](_0x36cce1[_0x4eb7fb(0x21d)]),{unitId:_0x551685,tableId:_0x486e10,fieldId:_0x2c0f4b}=_0x3d7adb,_0x477529=_0x4af58a[_0x4eb7fb(0x420)](_0x551685,_0x36cce1[_0x4eb7fb(0x1fe)][_0x4eb7fb(0x355)]);if(!_0x477529||!_0x56501d(_0x477529,_0x486e10,{'fieldIds':[_0x2c0f4b]}))return!0x1;let _0x47b2a9=_0x5f1adc[_0x4eb7fb(0x1fa)](_0x36cce1['ICommandService']),_0x5e1d43=_0x5f1adc[_0x4eb7fb(0x1fa)](_0x36cce1[_0x4eb7fb(0x2fb)]),_0x426aea=_0x477529[_0x4eb7fb(0x363)](),_0x404677=_0x3d7adb[_0x4eb7fb(0x2a5)][_0x4eb7fb(0x2b7)](),_0x30fa4e=new _0x5abfd2()['updateField'](_0x426aea,_0x486e10,_0x2c0f4b,{'description':_0x404677}),_0x5a2d9b=new _0x4263aa()['invertOp'](_0x477529[_0x4eb7fb(0x363)](),_0x30fa4e),_0x4119a7={'unitId':_0x551685,'op':_0x30fa4e},_0x27e794={'unitId':_0x551685,'op':_0x5a2d9b};return _0x47b2a9[_0x4eb7fb(0x459)](_0x2995c3['id'],_0x4119a7)?(_0x4af58a[_0x4eb7fb(0x37d)](_0x551685),_0x5e1d43[_0x4eb7fb(0x12f)]({'unitID':_0x551685,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x27e794}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x4119a7}]}),!0x0):!0x1;}},_0x2aaab8={'id':_0x292328(0x435),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x566ce5,_0x4ccdd3)=>{const _0x347bb7=_0x292328;if(!_0x4ccdd3)return!0x1;let _0x13d5db=_0x566ce5['get'](_0x36cce1['IUniverInstanceService']),{unitId:_0x22bc70,tableId:_0x2b9cb4,fieldId:_0x1076e0,patch:_0x33fe9f}=_0x4ccdd3,_0x1b865a=_0x13d5db[_0x347bb7(0x420)](_0x22bc70,_0x36cce1[_0x347bb7(0x1fe)][_0x347bb7(0x355)]);if(!_0x1b865a||_0x1076e0===_0x36cce1[_0x347bb7(0x4ca)]||!_0x56501d(_0x1b865a,_0x2b9cb4,{'fieldIds':[_0x1076e0]}))return!0x1;let _0x3bbc68=_0x566ce5['get'](_0x36cce1[_0x347bb7(0x1f4)]),_0x49be02=_0x566ce5[_0x347bb7(0x1fa)](_0x36cce1['IUndoRedoService']),_0x21d71e=_0x1b865a[_0x347bb7(0x363)]();if(!_0x96c64b(_0x1b865a,_0x2b9cb4,{..._0x21d71e[_0x347bb7(0x288)][_0x2b9cb4][_0x347bb7(0x445)][_0x1076e0],..._0x33fe9f}))return!0x1;let _0xcaf8e8=new _0x5abfd2()[_0x347bb7(0x353)](_0x21d71e,_0x2b9cb4,_0x1076e0,_0x33fe9f),_0x5b1b41=new _0x4263aa()[_0x347bb7(0x39a)](_0x21d71e,_0xcaf8e8),_0x477e27={'unitId':_0x22bc70,'op':_0xcaf8e8},_0x5040fe={'unitId':_0x22bc70,'op':_0x5b1b41};return _0x3bbc68[_0x347bb7(0x459)](_0x2995c3['id'],_0x477e27)?(_0x13d5db[_0x347bb7(0x37d)](_0x22bc70),_0x49be02[_0x347bb7(0x12f)]({'unitID':_0x22bc70,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x5040fe}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x477e27}]}),!0x0):!0x1;}},_0x3c4d38={'id':_0x292328(0x452),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x21f6ea,_0x49f37c)=>{const _0x43bbe5=_0x292328;if(!_0x49f37c)return!0x1;let _0x39d8ae=_0x21f6ea[_0x43bbe5(0x1fa)](_0x36cce1['IUniverInstanceService']),{unitId:_0x1911e3,tableId:_0xd674ae,viewId:_0x3b3e79,patch:_0x542359}=_0x49f37c,_0x1b6be1=_0x39d8ae[_0x43bbe5(0x420)](_0x1911e3,_0x36cce1[_0x43bbe5(0x1fe)][_0x43bbe5(0x355)]);if(!_0x1b6be1||!_0x56501d(_0x1b6be1,_0xd674ae,{'viewIds':[_0x3b3e79]}))return!0x1;let _0x1a4a79=_0x21f6ea[_0x43bbe5(0x1fa)](_0x36cce1[_0x43bbe5(0x1f4)]),_0x592c44=_0x21f6ea[_0x43bbe5(0x1fa)](_0x36cce1[_0x43bbe5(0x2fb)]),_0x512712=_0x1b6be1[_0x43bbe5(0x363)](),_0x219bb1=new _0x5abfd2()[_0x43bbe5(0x3e9)](_0x512712,_0xd674ae,_0x3b3e79,_0x542359),_0x4687d5=new _0x4263aa()[_0x43bbe5(0x39a)](_0x512712,_0x219bb1),_0x393dc6={'unitId':_0x1911e3,'op':_0x219bb1},_0x1dc2ab={'unitId':_0x1911e3,'op':_0x4687d5};return _0x1a4a79['syncExecuteCommand'](_0x2995c3['id'],_0x393dc6)?(_0x39d8ae['focusUnit'](_0x1911e3),_0x592c44['pushUndoRedo']({'unitID':_0x1911e3,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x1dc2ab}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x393dc6}]}),!0x0):!0x1;}},_0x4b2412={'id':_0x292328(0x24d),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x2e2)],'handler':(_0x34c749,_0xaeed4e)=>{const _0x18163c=_0x292328;if(!_0xaeed4e)return!0x1;let _0x50f8da=_0x34c749[_0x18163c(0x1fa)](_0x36cce1[_0x18163c(0x21d)]),{unitId:_0x4a8d83,tableId:_0x37a365,recordId:_0x3a9a3d,orderKey:_0x4afbea}=_0xaeed4e,_0x38cfcc=_0x50f8da[_0x18163c(0x420)](_0x4a8d83,_0x36cce1[_0x18163c(0x1fe)]['UNIVER_BASE']);if(!_0x38cfcc||!_0x56501d(_0x38cfcc,_0x37a365,{'recordIds':[_0x3a9a3d]}))return!0x1;let _0x3f8d59=_0x34c749[_0x18163c(0x1fa)](_0x36cce1[_0x18163c(0x1f4)]),_0x5daefa=_0x34c749[_0x18163c(0x1fa)](_0x36cce1[_0x18163c(0x2fb)]),_0x3992ec=_0x38cfcc[_0x18163c(0x363)](),_0x1b6ecc=new _0x5abfd2()[_0x18163c(0x1a2)](_0x3992ec,_0x37a365,_0x3a9a3d,_0x4afbea),_0xcca2c2=new _0x4263aa()['invertOp'](_0x3992ec,_0x1b6ecc),_0x59c080={'unitId':_0x4a8d83,'op':_0x1b6ecc},_0x4bccd5={'unitId':_0x4a8d83,'op':_0xcca2c2};return _0x3f8d59[_0x18163c(0x459)](_0x2995c3['id'],_0x59c080)?(_0x50f8da['focusUnit'](_0x4a8d83),_0x5daefa['pushUndoRedo']({'unitID':_0x4a8d83,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x4bccd5}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x59c080}]}),!0x0):!0x1;}},_0x3e5895=function(_0x248247){const _0x28bda0=_0x292328;return _0x248247['Set']='set',_0x248247[_0x28bda0(0x2fa)]='add',_0x248247['Delete']='delete',_0x248247[_0x28bda0(0x497)]=_0x28bda0(0x329),_0x248247;}({}),_0x581290={'id':_0x292328(0x362),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x4b221c,_0x34f984)=>{const _0x463d6a=_0x292328;var _0x445875;if(!_0x34f984)return!0x1;let _0x4d39df=_0x4b221c[_0x463d6a(0x1fa)](_0x36cce1[_0x463d6a(0x21d)]),_0x3d9bc0=_0x4d39df['getUnit'](_0x34f984[_0x463d6a(0x273)],_0x36cce1[_0x463d6a(0x1fe)][_0x463d6a(0x355)]);if(!_0x3d9bc0||!_0x56501d(_0x3d9bc0,_0x34f984[_0x463d6a(0x578)],{'viewIds':[_0x34f984[_0x463d6a(0x1fb)]]}))return!0x1;let _0x5d5da7=_0x3d9bc0['getSnapshot'](),_0x17ddc8=_0x5d5da7[_0x463d6a(0x288)][_0x34f984[_0x463d6a(0x578)]],_0x8d5043=_0x9c06c1(((_0x445875=_0x17ddc8['views'][_0x34f984[_0x463d6a(0x1fb)]][_0x463d6a(0x441)]['conditionalColoring'])==null?void 0x0:_0x445875['rules'])??[],_0x34f984);if(!_0x8d5043)return!0x1;_0x31153d(_0x17ddc8,_0x8d5043);let _0x392164=new _0x5abfd2()['updateViewConfig'](_0x5d5da7,_0x34f984[_0x463d6a(0x578)],_0x34f984[_0x463d6a(0x1fb)],{'conditionalColoring':_0x8d5043['length']?{'rules':_0x8d5043}:null}),_0x61167b=new _0x4263aa()['invertOp'](_0x5d5da7,_0x392164),_0x26688b={'unitId':_0x34f984['unitId'],'op':_0x392164},_0x242d55={'unitId':_0x34f984['unitId'],'op':_0x61167b};return _0x4b221c[_0x463d6a(0x1fa)](_0x36cce1[_0x463d6a(0x1f4)])[_0x463d6a(0x459)](_0x2995c3['id'],_0x26688b)?(_0x4d39df[_0x463d6a(0x37d)](_0x34f984['unitId']),_0x4b221c['get'](_0x36cce1['IUndoRedoService'])[_0x463d6a(0x12f)]({'unitID':_0x34f984['unitId'],'undoMutations':[{'id':_0x2995c3['id'],'params':_0x242d55}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x26688b}]}),!0x0):!0x1;}};function _0x9c06c1(_0x449e8a,_0x37d071){const _0x2f2ded=_0x292328;switch(_0x37d071[_0x2f2ded(0x11c)]){case'set':return _0x36cce1[_0x2f2ded(0x402)][_0x2f2ded(0x23b)](_0x37d071[_0x2f2ded(0x4d2)]);case _0x2f2ded(0x18c):return[..._0x36cce1['Tools'][_0x2f2ded(0x23b)](_0x449e8a),_0x36cce1[_0x2f2ded(0x402)][_0x2f2ded(0x23b)](_0x37d071[_0x2f2ded(0x492)])];case _0x2f2ded(0x3ce):{let _0x18a8d8=_0x449e8a[_0x2f2ded(0x544)](_0x3d0bb1=>_0x3d0bb1['id']!==_0x37d071[_0x2f2ded(0x150)]);return _0x18a8d8[_0x2f2ded(0x4fc)]===_0x449e8a['length']?null:_0x36cce1[_0x2f2ded(0x402)]['deepClone'](_0x18a8d8);}case _0x2f2ded(0x329):return _0x449e8a['length']?[]:null;}}function _0x31153d(_0x3beacf,_0x49610e){const _0x43653c=_0x292328;if(!Array[_0x43653c(0x3fe)](_0x49610e))throw TypeError(_0x43653c(0x170));let _0x873f7c=new Set();for(let [_0x111a2e,_0x4d3676]of _0x49610e[_0x43653c(0x2e3)]())_0x243a02(_0x3beacf,_0x4d3676,_0x9c8203(_0x4d3676,_0x111a2e,_0x873f7c));}function _0x9c8203(_0x4e94fe,_0x2aa60e,_0x18833f){const _0x247c15=_0x292328;if(!_0x4e94fe||typeof _0x4e94fe!=_0x247c15(0x2f7))throw TypeError(_0x247c15(0x378)+_0x2aa60e+_0x247c15(0x3e5));let _0x2607c3=typeof _0x4e94fe['id']=='string'&&_0x4e94fe['id'][_0x247c15(0x2b7)]()?'\x22'+_0x4e94fe['id']+'\x22':_0x247c15(0x4b9)+_0x2aa60e;if(typeof _0x4e94fe['id']!=_0x247c15(0x4ce)||!_0x4e94fe['id'][_0x247c15(0x2b7)]())throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x2607c3+_0x247c15(0x2d5));if(_0x18833f[_0x247c15(0x16f)](_0x4e94fe['id']))throw Error(_0x247c15(0x18e)+_0x4e94fe['id']+'\x22.');_0x18833f['add'](_0x4e94fe['id']);let _0xe3387=typeof _0x4e94fe[_0x247c15(0x127)]==_0x247c15(0x4ce)&&_0x4e94fe[_0x247c15(0x127)][_0x247c15(0x2b7)]()?new _0x36cce1[(_0x247c15(0x3d6))](_0x4e94fe[_0x247c15(0x127)]):null;if(!(_0xe3387!=null&&_0xe3387[_0x247c15(0x279)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x2607c3+_0x247c15(0x461));return _0x2607c3;}function _0x243a02(_0x2f089f,_0x56a037,_0x1481ad){const _0x3d711d=_0x292328;let _0x9739ad=new Set(Object[_0x3d711d(0x1ea)](_0x36cce1[_0x3d711d(0x4b3)])),_0x2440fa=new Set(Object[_0x3d711d(0x1ea)](_0x36cce1[_0x3d711d(0x413)])),_0x504537=new Set(Object[_0x3d711d(0x1ea)](_0x36cce1[_0x3d711d(0x4c2)]));if(!_0x9739ad[_0x3d711d(0x16f)](_0x56a037[_0x3d711d(0x2e0)]))throw Error(_0x3d711d(0x29c)+_0x1481ad+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x56a037[_0x3d711d(0x2e0)])+'\x22.');let _0x336d8a=typeof _0x56a037[_0x3d711d(0x450)]==_0x3d711d(0x4ce)?_0x2f089f['fields'][_0x56a037[_0x3d711d(0x450)]]:void 0x0;if(!_0x336d8a||_0x336d8a[_0x3d711d(0x460)]===!0x0||_0x336d8a[_0x3d711d(0x11c)]===_0x36cce1[_0x3d711d(0x229)][_0x3d711d(0x15f)])throw Error(_0x3d711d(0x29c)+_0x1481ad+_0x3d711d(0x268)+String(_0x56a037[_0x3d711d(0x450)])+'\x22.');if(!_0x2440fa[_0x3d711d(0x16f)](_0x56a037[_0x3d711d(0x137)]))throw Error(_0x3d711d(0x29c)+_0x1481ad+_0x3d711d(0x487)+String(_0x56a037[_0x3d711d(0x137)])+'\x22.');if(_0x56a037['dateMode']!==void 0x0&&!_0x504537[_0x3d711d(0x16f)](_0x56a037[_0x3d711d(0x2a0)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1481ad+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x56a037[_0x3d711d(0x2a0)])+'\x22.');if(_0x56a037[_0x3d711d(0x2e0)]===_0x36cce1['BaseConditionalColorTarget'][_0x3d711d(0x3f1)])return;let _0x35e52c=_0x4f2f06(_0x336d8a['type']);if(!_0x35e52c[_0x3d711d(0x18d)](_0x56a037[_0x3d711d(0x137)]))throw Error(_0x3d711d(0x29c)+_0x1481ad+_0x3d711d(0x2f3)+_0x56a037[_0x3d711d(0x137)]+_0x3d711d(0x501)+_0x336d8a[_0x3d711d(0x11c)]+_0x3d711d(0x2de)+_0x35e52c[_0x3d711d(0x2a9)](',\x20')+'.');if(_0x56a037[_0x3d711d(0x2a0)]!==void 0x0&&!_0x5d194c(_0x336d8a[_0x3d711d(0x11c)]))throw Error(_0x3d711d(0x29c)+_0x1481ad+'\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.');}let _0x50b7a8={'id':_0x292328(0x3a7),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler':(_0x51f573,_0x21960b)=>{const _0x22e79c=_0x292328;if(!_0x21960b)return!0x1;let _0x598aca=_0x51f573['get'](_0x36cce1[_0x22e79c(0x21d)]),{unitId:_0x575a29,tableId:_0x3a9a82,viewId:_0x4c8678,patch:_0x373fed}=_0x21960b,_0x4c4c4f=_0x598aca['getUnit'](_0x575a29,_0x36cce1[_0x22e79c(0x1fe)][_0x22e79c(0x355)]);if(!_0x4c4c4f||!_0x56501d(_0x4c4c4f,_0x3a9a82,{'viewIds':[_0x4c8678]}))return!0x1;let _0x40dea8=_0x51f573['get'](_0x36cce1[_0x22e79c(0x1f4)]),_0x2d452d=_0x51f573[_0x22e79c(0x1fa)](_0x36cce1['IUndoRedoService']),_0xc79765=_0x4c4c4f[_0x22e79c(0x363)](),_0x2c4f4d=new _0x5abfd2()[_0x22e79c(0x3e9)](_0xc79765,_0x3a9a82,_0x4c8678,_0x373fed),_0x27f4e3=new _0x4263aa()['invertOp'](_0xc79765,_0x2c4f4d),_0x41f8b3={'unitId':_0x575a29,'op':_0x2c4f4d},_0x52d2ab={'unitId':_0x575a29,'op':_0x27f4e3};return _0x40dea8['syncExecuteCommand'](_0x2995c3['id'],_0x41f8b3)?(_0x598aca[_0x22e79c(0x37d)](_0x575a29),_0x2d452d[_0x22e79c(0x12f)]({'unitID':_0x575a29,'undoMutations':[{'id':_0x2995c3['id'],'params':_0x52d2ab}],'redoMutations':[{'id':_0x2995c3['id'],'params':_0x41f8b3}]}),!0x0):!0x1;}},_0xa3d6d0={'id':_0x292328(0x559),'type':_0x36cce1['CommandType'][_0x292328(0x2e2)],'handler'(_0x3cf0a9,_0x925849){const _0xff130b=_0x292328;if(!_0x925849)return{'valid':!0x1,'reason':_0xff130b(0x553)};let _0x87b846=_0x3cf0a9[_0xff130b(0x1fa)](_0x36cce1['IUniverInstanceService'])[_0xff130b(0x420)](_0x925849[_0xff130b(0x273)],_0x36cce1[_0xff130b(0x1fe)][_0xff130b(0x355)]),_0x3898ce=_0x87b846==null?void 0x0:_0x87b846[_0xff130b(0x363)](),_0x27468e=_0x3898ce==null?void 0x0:_0x3898ce[_0xff130b(0x288)][_0x925849[_0xff130b(0x578)]];return!_0x3898ce||!_0x27468e?{'valid':!0x1,'reason':_0xff130b(0x551)}:new _0x2ed136()[_0xff130b(0x2d7)](_0x925849[_0xff130b(0x32b)],_0x27468e,{'snapshot':_0x3898ce});}},_0x33beaf=class extends _0x36cce1['ObjectPermissionRuleModel']{constructor(_0x900743){const _0x177f66=_0x292328;super(_0x900743,_0x177f66(0x42f),_0x36cce1[_0x177f66(0x1fe)][_0x177f66(0x355)],[_0x282c79['UnitObject'][_0x177f66(0x1bd)],_0x282c79[_0x177f66(0x1dd)][_0x177f66(0x410)],_0x282c79['UnitObject'][_0x177f66(0x146)],_0x282c79[_0x177f66(0x1dd)]['BaseView'],_0x282c79['UnitObject'][_0x177f66(0x3dc)]]);}};_0x33beaf=_0x1f4d84([_0xb6ba9a(0x0,_0x36cce1[_0x292328(0x3da)])],_0x33beaf);let _0x29be0e={'id':_0x292328(0x513),'type':_0x36cce1[_0x292328(0x274)][_0x292328(0x3ba)],'handler':(_0xc07790,_0x405466)=>!_0x405466||!_0xc07790[_0x292328(0x1fa)](_0x36cce1[_0x292328(0x21d)])[_0x292328(0x420)](_0x405466['unitId'],_0x36cce1['UniverInstanceType'][_0x292328(0x355)])?!0x1:_0xc07790[_0x292328(0x1fa)](_0x33beaf)[_0x292328(0x494)](_0x405466[_0x292328(0x273)],_0x405466[_0x292328(0x3c3)],_0x405466[_0x292328(0x4aa)],_0x405466[_0x292328(0x492)])},_0x145208={'id':'base.mutation.set-permission-rules','type':_0x36cce1['CommandType']['MUTATION'],'handler':(_0x37cd01,_0x3f4bae)=>!_0x3f4bae||!_0x37cd01[_0x292328(0x1fa)](_0x36cce1[_0x292328(0x21d)])[_0x292328(0x420)](_0x3f4bae[_0x292328(0x273)],_0x36cce1['UniverInstanceType']['UNIVER_BASE'])?!0x1:_0x37cd01[_0x292328(0x1fa)](_0x33beaf)[_0x292328(0x4cc)](_0x3f4bae[_0x292328(0x273)],_0x3f4bae[_0x292328(0x4d2)])};function _0x49f875(_0x34fc6d){const _0x3ccde6=_0x292328;let _0x44b652=_0x34fc6d[_0x3ccde6(0x37c)]??Date[_0x3ccde6(0x37c)](),_0x388847=_0x34fc6d[_0x3ccde6(0x190)]??_0x34fc6d['id']+_0x3ccde6(0x4ad),_0x2ba9db=_0x34fc6d[_0x3ccde6(0x2cc)]??_0x34fc6d['id']+_0x3ccde6(0x2c6),_0x26a862=_0x34fc6d[_0x3ccde6(0x411)]??0x0,_0xb24d9d=(0x0,_0x36cce1[_0x3ccde6(0x44f)])(),_0x24d4b8={'id':_0x388847,'name':_0x34fc6d[_0x3ccde6(0x12a)]??_0x3ccde6(0x132),'type':_0x36cce1[_0x3ccde6(0x229)][_0x3ccde6(0x524)],'config':{'placeholder':_0x3ccde6(0x585)}},_0x120aba={},_0x22ef4b=[],_0x427c26={},_0x15615e={},_0x5439e6={};for(let _0x5b5793=0x0;_0x5b5793<_0x26a862;_0x5b5793++){let _0x5eed98=_0x34fc6d['id']+'-record-'+(_0x5b5793+0x1);_0x120aba[_0x5eed98]={'id':_0x5eed98,'values':{[_0x36cce1[_0x3ccde6(0x4ca)]]:_0x5eed98,..._0x34fc6d['recordNamePrefix']?{[_0x388847]:_0x34fc6d[_0x3ccde6(0x320)]+'\x20'+(_0x5b5793+0x1)}:{}},'orderKey':String(_0x5b5793+0x1)[_0x3ccde6(0x26c)](0x4,'0'),'createdAt':_0x44b652,'updatedAt':_0x44b652},_0x22ef4b[_0x3ccde6(0x429)](_0x5eed98),_0x427c26[_0x5eed98]=_0x5b5793,_0x15615e[_0x5b5793]=_0x5eed98,_0x5439e6[_0x5b5793]={0x0:{'v':_0x5eed98,'t':_0x36cce1[_0x3ccde6(0x264)][_0x3ccde6(0x564)]}},_0x34fc6d[_0x3ccde6(0x320)]&&(_0x5439e6[_0x5b5793][0x1]={'v':_0x34fc6d[_0x3ccde6(0x320)]+'\x20'+(_0x5b5793+0x1),'t':_0x36cce1[_0x3ccde6(0x264)][_0x3ccde6(0x564)]});}let _0x543920={'id':_0x2ba9db,'tableId':_0x34fc6d['id'],'name':_0x3ccde6(0x51b),'type':_0x36cce1[_0x3ccde6(0x4d1)][_0x3ccde6(0x51b)],'fieldOrder':[_0x36cce1[_0x3ccde6(0x4ca)],_0x388847],'fieldSettings':{[_0x36cce1[_0x3ccde6(0x4ca)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x34fc6d['id'],'name':_0x34fc6d[_0x3ccde6(0x4c0)],'primaryFieldId':_0x388847,'fieldOrder':[_0x36cce1[_0x3ccde6(0x4ca)],_0x388847],'fields':{[_0x36cce1[_0x3ccde6(0x4ca)]]:_0xb24d9d,[_0x388847]:_0x24d4b8},'records':_0x120aba,'recordOrder':_0x22ef4b,'rowIndex':_0x427c26,'rowId':_0x15615e,'colIndex':{[_0x36cce1[_0x3ccde6(0x4ca)]]:0x0,[_0x388847]:0x1},'colId':{0x0:_0x36cce1[_0x3ccde6(0x4ca)],0x1:_0x388847},'cellData':_0x5439e6,'views':{[_0x2ba9db]:_0x543920},'viewOrder':[_0x2ba9db]};}let _0x2249b5=_0x292328(0x431);function _0x1c843e(_0x27973a){const _0x5cf30e=_0x292328;let _0xa0a513=_0x49f875({'id':_0x27973a['hostAnchorId'],'name':_0x27973a[_0x5cf30e(0x4c0)]??_0x27973a[_0x5cf30e(0x179)],'recordCount':0x0});return{..._0xa0a513,'resources':{..._0xa0a513[_0x5cf30e(0x2ba)]??{},[_0x2249b5]:_0x39540f(_0x27973a)}};}function _0x321b81(_0x3ad851){const _0x35e435=_0x292328;return{'id':_0x2995c3['id'],'params':{'unitId':_0x3ad851[_0x35e435(0x273)],'op':_0x36cce1['JSON1'][_0x35e435(0x11c)]['compose'](_0x36cce1['JSON1']['insertOp'](['tables',_0x3ad851['table']['id']],_0x3ad851[_0x35e435(0x442)]),_0x36cce1['JSON1'][_0x35e435(0x3d3)]([_0x35e435(0x3c9),_0x3ad851['index']??_0x3ad851[_0x35e435(0x309)]['tableOrder'][_0x35e435(0x4fc)]],_0x3ad851[_0x35e435(0x442)]['id'])),'trigger':_0x35e435(0x46b)}};}function _0xbfcc40(_0x31ad69){const _0x2881d2=_0x292328;let _0x2ce857=_0x31ad69['snapshot'][_0x2881d2(0x3c9)][_0x2881d2(0x13d)](_0x31ad69[_0x2881d2(0x578)]);if(!(!_0x31ad69[_0x2881d2(0x309)][_0x2881d2(0x288)][_0x31ad69['tableId']]||_0x2ce857<0x0))return{'id':_0x2995c3['id'],'params':{'unitId':_0x31ad69[_0x2881d2(0x273)],'op':_0x36cce1[_0x2881d2(0x112)][_0x2881d2(0x11c)]['compose'](_0x36cce1['JSON1'][_0x2881d2(0x224)]([_0x2881d2(0x288),_0x31ad69[_0x2881d2(0x578)]],_0x31ad69['snapshot'][_0x2881d2(0x288)][_0x31ad69['tableId']]),_0x36cce1[_0x2881d2(0x112)][_0x2881d2(0x224)]([_0x2881d2(0x3c9),_0x2ce857],_0x31ad69[_0x2881d2(0x578)])),'trigger':'embed-ui'}};}function _0x39540f(_0x21730f){const _0x13eea7=_0x292328;return{'version':0x1,'embedId':_0x21730f[_0x13eea7(0x179)],'hostAnchorId':_0x21730f[_0x13eea7(0x2ca)],'childUnitId':_0x21730f['childUnitId'],'childType':_0x21730f[_0x13eea7(0x1bc)]};}function _0x35cbb1(_0x316387){const _0x4cfe96=_0x292328;let _0x141070=Math[_0x4cfe96(0x2ac)](0x0,Number(_0x316387[_0x4cfe96(0x2bc)]??0x0)),_0x17c341=_0x316387[_0x4cfe96(0x4f2)]===!0x1?'0':_0x4cfe96(0x52e),_0x5a652f=_0x141070?'.'+'0'['repeat'](_0x141070):'',_0x2aabdb=_0x1a29e7(_0x316387['abbreviation']);return''+(_0x316387[_0x4cfe96(0x4c8)]?_0x4fda86(_0x316387[_0x4cfe96(0x4c8)]):'')+_0x17c341+_0x5a652f+_0x2aabdb;}function _0x2b3669(_0x336cd5,_0x4c47db){const _0x2fefd5=_0x292328;let _0x48d3a4=_0x35cbb1(_0x4c47db),_0x1cd27e=_0x36cce1[_0x2fefd5(0x26e)][_0x2fefd5(0x3ee)](_0x48d3a4,_0x336cd5,{'throws':!0x1});return _0x31c330(String(_0x1cd27e),_0x4c47db[_0x2fefd5(0x25a)],_0x4c47db[_0x2fefd5(0x1ab)]);}function _0x1a29e7(_0x6dd0b3){const _0x3a774f=_0x292328;return _0x6dd0b3==='K'?_0x3a774f(0x40a):_0x6dd0b3==='M'?',,\x22M\x22':_0x6dd0b3==='B'?_0x3a774f(0x533):'';}function _0x4fda86(_0x4d0a2b){const _0x453aba=_0x292328;return/^[A-Z]+$/i[_0x453aba(0x23f)](_0x4d0a2b)?'\x22'+_0x4d0a2b+'\x22':_0x4d0a2b;}function _0x31c330(_0x1623c8,_0x136212,_0x5e8a39){const _0x30365b=_0x292328;let _0x16124c=_0x136212===_0x30365b(0x1ec)?_0x3a195c(_0x5e8a39):_0x136212;return _0x16124c===_0x30365b(0x296)?_0x1623c8[_0x30365b(0x344)](/,/g,'\x00')[_0x30365b(0x344)](/\./g,',')[_0x30365b(0x344)](/\0/g,'.'):_0x16124c===_0x30365b(0x446)?_0x1623c8[_0x30365b(0x344)](/,/g,'\x20')[_0x30365b(0x344)](/\./g,','):_0x16124c===_0x30365b(0x491)?_0x1623c8['replace'](/,/g,'\x20'):_0x1623c8;}function _0x3a195c(_0x29cb69){const _0x64f1d=_0x292328;var _0x534069,_0x9bf509;let _0x293b91=_0x29cb69||new Intl[(_0x64f1d(0x2e4))]()[_0x64f1d(0x35c)]()[_0x64f1d(0x1ab)],_0x4a1032;try{_0x4a1032=new Intl['NumberFormat'](_0x293b91,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x64f1d(0x53e)](0xf4240);}catch{return'commaPeriod';}let _0x357b1b=(_0x534069=_0x4a1032['find'](_0x4de169=>_0x4de169[_0x64f1d(0x11c)]===_0x64f1d(0x581)))==null?void 0x0:_0x534069['value'],_0x15fc81=(_0x9bf509=_0x4a1032[_0x64f1d(0x304)](_0x71329a=>_0x71329a[_0x64f1d(0x11c)]===_0x64f1d(0x16c)))==null?void 0x0:_0x9bf509[_0x64f1d(0x32d)],_0x30a3a2=_0x357b1b==='\u00a0'||_0x357b1b==='\u202f'?'\x20':_0x357b1b;return _0x30a3a2==='.'&&_0x15fc81===','?_0x64f1d(0x296):_0x30a3a2==='\x20'&&_0x15fc81===','?'spaceComma':_0x30a3a2==='\x20'&&_0x15fc81==='.'?'spacePeriod':_0x64f1d(0x586);}function _0x1d7dfc(_0x51e7f7,_0x3fd40e){const _0x34d80b=_0x292328;let _0x981652=_0x3fd40e&&typeof _0x3fd40e==_0x34d80b(0x2f7)&&!Array[_0x34d80b(0x3fe)](_0x3fd40e)?_0x3fd40e:{},_0x4409ea=_0x122fb5(_0x981652['decimalPlaces'],0x0,0x2,0x0),_0x2d2810=_0x51e7f7[_0x34d80b(0x4d3)](_0x4409ea);return _0x981652['format']===_0x34d80b(0x2dd)?_0x2d2810:_0x2d2810+'%';}function _0x122fb5(_0xb65632,_0x5cf55b,_0x44aa34,_0x1225f8){const _0x32dd6f=_0x292328;if(_0xb65632==null||_0xb65632==='')return _0x1225f8;let _0x48225f=typeof _0xb65632==_0x32dd6f(0x2dd)?_0xb65632:Number(_0xb65632);return Number[_0x32dd6f(0x313)](_0x48225f)?Math[_0x32dd6f(0x2ac)](_0x5cf55b,Math[_0x32dd6f(0x3ec)](_0x44aa34,Math['round'](_0x48225f))):_0x1225f8;}let _0x2deaa1=[_0x292328(0x507),_0x292328(0x1f6),'empty','unique','sum',_0x292328(0x22d),'min',_0x292328(0x2ac)],_0x379884=['count',_0x292328(0x1f6),_0x292328(0x1c9),'unique'],_0x230d87=[_0x292328(0x1ca),'average',_0x292328(0x3ec),_0x292328(0x2ac)],_0x17ccbc=['min',_0x292328(0x2ac)],_0x1804d1=new Set([_0x36cce1[_0x292328(0x229)]['Number'],_0x36cce1[_0x292328(0x229)][_0x292328(0x17d)],_0x36cce1[_0x292328(0x229)]['Progress'],_0x36cce1[_0x292328(0x229)][_0x292328(0x160)]]),_0x46aa7b=new Set([_0x36cce1[_0x292328(0x229)][_0x292328(0x2fd)],_0x36cce1[_0x292328(0x229)][_0x292328(0x506)],_0x36cce1[_0x292328(0x229)]['Group']]),_0x110b52='General';function _0x3ab346(_0x20dd4b){const _0x2c23c6=_0x292328;return typeof _0x20dd4b==_0x2c23c6(0x4ce)&&_0x2deaa1[_0x2c23c6(0x18d)](_0x20dd4b);}function _0xda14e9(_0xdbe7c0){const _0x506376=_0x292328;return!_0xdbe7c0||typeof _0xdbe7c0!=_0x506376(0x2f7)?{}:Object[_0x506376(0x2af)](Object[_0x506376(0x2e3)](_0xdbe7c0)['filter'](_0x5c1a4e=>_0x3ab346(_0x5c1a4e[0x1])));}function _0x4f9490(_0x4306ea){const _0x4a77d4=_0x292328;return _0x1804d1[_0x4a77d4(0x16f)](_0x4306ea[_0x4a77d4(0x11c)])?[..._0x379884,..._0x230d87]:_0x4306ea['type']===_0x36cce1[_0x4a77d4(0x229)][_0x4a77d4(0x1e5)]?[..._0x379884,..._0x519b3a(_0x4306ea)===_0x4a77d4(0x4dd)?_0x17ccbc:_0x230d87]:_0x379884;}function _0x6c2c7f(_0x4c50d5,_0x52935d){const _0x426781=_0x292328;return _0x4f9490(_0x4c50d5)[_0x426781(0x18d)](_0x52935d);}function _0x51e058(_0x2528bc,_0x1370bb,_0x5edf88){const _0x2e714c=_0x292328;if(!_0x6c2c7f(_0x2528bc,_0x5edf88))return null;let _0x40ecd9=_0x1370bb[_0x2e714c(0x544)](_0x2d4ebb=>!_0x1f3eae(_0x2528bc,_0x2d4ebb));switch(_0x5edf88){case _0x2e714c(0x507):return _0x1370bb[_0x2e714c(0x4fc)];case _0x2e714c(0x1f6):return _0x40ecd9[_0x2e714c(0x4fc)];case'empty':return _0x1370bb[_0x2e714c(0x4fc)]-_0x40ecd9[_0x2e714c(0x4fc)];case'unique':return new Set(_0x40ecd9['map'](_0x385720=>_0x521fee(_0x2528bc,_0x385720)))[_0x2e714c(0x3b9)];case _0x2e714c(0x1ca):{let _0x512782=_0x374f93(_0x2528bc,_0x40ecd9);return _0x512782['length']?_0x23a2c8(_0x512782):null;}case'average':{let _0x5a77ae=_0x374f93(_0x2528bc,_0x40ecd9);return _0x5a77ae[_0x2e714c(0x4fc)]?_0x23a2c8(_0x5a77ae)/_0x5a77ae[_0x2e714c(0x4fc)]:null;}case _0x2e714c(0x3ec):{let _0x54fc08=_0x374f93(_0x2528bc,_0x40ecd9);return _0x54fc08[_0x2e714c(0x4fc)]?Math[_0x2e714c(0x3ec)](..._0x54fc08):null;}case _0x2e714c(0x2ac):{let _0x332bda=_0x374f93(_0x2528bc,_0x40ecd9);return _0x332bda[_0x2e714c(0x4fc)]?Math[_0x2e714c(0x2ac)](..._0x332bda):null;}}}function _0x15dd01(_0xa7889d,_0x3a37ef,_0x13f661){const _0x4d278a=_0x292328;if(_0x13f661==null||!Number[_0x4d278a(0x313)](_0x13f661))return'-';if(_0x379884[_0x4d278a(0x18d)](_0x3a37ef))return String(_0x13f661);switch(_0xa7889d[_0x4d278a(0x11c)]){case _0x36cce1[_0x4d278a(0x229)][_0x4d278a(0x28d)]:return _0x2b3669(_0x13f661,_0x90da92(_0xa7889d));case _0x36cce1[_0x4d278a(0x229)][_0x4d278a(0x17d)]:return _0x2b3669(_0x13f661,_0x476eb5(_0xa7889d));case _0x36cce1[_0x4d278a(0x229)][_0x4d278a(0x390)]:return _0x1d7dfc(_0x13f661,_0xa7889d[_0x4d278a(0x441)]);case _0x36cce1[_0x4d278a(0x229)][_0x4d278a(0x1e5)]:return _0x271aef(_0x13f661,_0xa7889d);default:return _0x1e1660(_0x13f661);}}function _0x1f3eae(_0x231a3a,_0x219d1b){const _0x4f2456=_0x292328;if(_0x219d1b==null)return!0x0;if(typeof _0x219d1b==_0x4f2456(0x4ce))return _0x219d1b[_0x4f2456(0x2b7)]()==='';if(Array[_0x4f2456(0x3fe)](_0x219d1b))return _0x231a3a[_0x4f2456(0x11c)]===_0x36cce1[_0x4f2456(0x229)]['Attachment']?!_0x219d1b[_0x4f2456(0x41d)](_0x532b9b):_0x219d1b['length']===0x0;if(_0x231a3a[_0x4f2456(0x11c)]===_0x36cce1['BaseFieldType'][_0x4f2456(0x416)]&&typeof _0x219d1b==_0x4f2456(0x2f7)){let _0x7ecb37=_0x219d1b;return[_0x7ecb37['text'],_0x7ecb37[_0x4f2456(0x39d)]][_0x4f2456(0x20f)](_0x2e70db=>_0x2e70db==null||String(_0x2e70db)[_0x4f2456(0x2b7)]()==='');}return!0x1;}function _0x374f93(_0x419c19,_0x29c3ff){const _0x5cd4d3=_0x292328;let _0x5c7d3e=[];for(let _0x5cf8c4 of _0x29c3ff){let _0x494d30=_0x5393cf(_0x419c19,_0x5cf8c4);_0x494d30!=null&&_0x5c7d3e[_0x5cd4d3(0x429)](_0x494d30);}return _0x5c7d3e;}function _0x5393cf(_0x105def,_0x5950c9){const _0x33b087=_0x292328;if(typeof _0x5950c9==_0x33b087(0x2dd))return Number[_0x33b087(0x313)](_0x5950c9)?_0x5950c9:null;if(_0x105def[_0x33b087(0x11c)]!==_0x36cce1[_0x33b087(0x229)][_0x33b087(0x1e5)]&&typeof _0x5950c9==_0x33b087(0x4ce)&&_0x5950c9[_0x33b087(0x2b7)]()!==''){let _0x16ff0e=Number(_0x5950c9);return Number[_0x33b087(0x313)](_0x16ff0e)?_0x16ff0e:null;}return null;}function _0x23a2c8(_0x15bf63){const _0x1f2f43=_0x292328;let _0x521071=0x0,_0x50e540=0x0;for(let _0xc6ec8f of _0x15bf63){let _0x1b3d55=_0x521071+_0xc6ec8f;_0x50e540+=Math[_0x1f2f43(0x4c4)](_0x521071)>=Math[_0x1f2f43(0x4c4)](_0xc6ec8f)?_0x521071-_0x1b3d55+_0xc6ec8f:_0xc6ec8f-_0x1b3d55+_0x521071,_0x521071=_0x1b3d55;}return _0x521071+_0x50e540;}function _0x521fee(_0x489e65,_0x22798f){const _0x472e5c=_0x292328;return _0x46aa7b[_0x472e5c(0x16f)](_0x489e65['type'])&&Array[_0x472e5c(0x3fe)](_0x22798f)?_0x299610([...new Set(_0x22798f[_0x472e5c(0x421)](_0x4d8cb4=>_0x299610(_0xd9bc90(_0x4d8cb4))))][_0x472e5c(0x2e9)]()):_0x299610(_0xd9bc90(_0x22798f));}function _0xd9bc90(_0x53f9d2){const _0x265fad=_0x292328;return Array[_0x265fad(0x3fe)](_0x53f9d2)?_0x53f9d2[_0x265fad(0x421)](_0xd9bc90):_0x53f9d2&&typeof _0x53f9d2==_0x265fad(0x2f7)?Object['fromEntries'](Object[_0x265fad(0x2e3)](_0x53f9d2)['sort'](([_0xa4624],[_0x488912])=>_0xa4624[_0x265fad(0x211)](_0x488912))[_0x265fad(0x421)](([_0xe29be2,_0x41be0a])=>[_0xe29be2,_0xd9bc90(_0x41be0a)])):_0x53f9d2;}function _0x299610(_0x7a6f39){const _0x2a3dec=_0x292328;return JSON[_0x2a3dec(0x131)](_0x7a6f39)??_0x2a3dec(0x42c);}function _0x532b9b(_0x1ccd67){const _0x35ca75=_0x292328;if(typeof _0x1ccd67==_0x35ca75(0x4ce))return _0x1ccd67['trim']()!=='';if(!_0x1ccd67||typeof _0x1ccd67!=_0x35ca75(0x2f7))return!0x1;let _0x534efa=_0x1ccd67;return[_0x534efa['id'],_0x534efa[_0x35ca75(0x4c0)],_0x534efa[_0x35ca75(0x3a4)],_0x534efa[_0x35ca75(0x39d)],_0x534efa[_0x35ca75(0x14b)]][_0x35ca75(0x41d)](_0x1e20fe=>_0x1e20fe!=null&&String(_0x1e20fe)[_0x35ca75(0x2b7)]()!=='');}function _0x90da92(_0x296b01){const _0x15018c=_0x292328;let _0x327e2a=_0x2415f3(_0x296b01[_0x15018c(0x441)]);return{'decimalPlaces':_0x10a9a2(_0x327e2a[_0x15018c(0x2bc)],0x0,0x14,0x2),'separatorStyle':typeof _0x327e2a['separatorStyle']==_0x15018c(0x4ce)?_0x327e2a['separatorStyle']:_0x15018c(0x1ec),'locale':typeof _0x327e2a[_0x15018c(0x1ab)]==_0x15018c(0x4ce)?_0x327e2a[_0x15018c(0x1ab)]:void 0x0,'useThousands':_0x327e2a['useThousands']!==!0x1,'abbreviation':typeof _0x327e2a[_0x15018c(0x383)]=='string'?_0x327e2a[_0x15018c(0x383)]:_0x15018c(0x542)};}function _0x476eb5(_0x1c2367){const _0x40cc46=_0x292328;let _0xc80250=_0x2415f3(_0x1c2367[_0x40cc46(0x441)]);return{..._0x90da92(_0x1c2367),'currencySymbol':String(_0xc80250[_0x40cc46(0x4c8)]??'$')};}function _0x271aef(_0x57e117,_0x9a5d2a){const _0x242d20=_0x292328;let _0xa91d28=_0x55fb83(_0x9a5d2a);if(_0xa91d28===_0x110b52)return _0x1e1660(_0x57e117);try{return String(_0x36cce1[_0x242d20(0x26e)][_0x242d20(0x3ee)](_0xa91d28,_0x57e117,{'throws':!0x1}));}catch{return _0x1e1660(_0x57e117);}}function _0x519b3a(_0x44e8ec){const _0x3044a1=_0x292328;let _0x266cd9=_0x2415f3(_0x2415f3(_0x44e8ec[_0x3044a1(0x441)])[_0x3044a1(0x26e)]);return typeof _0x266cd9[_0x3044a1(0x11c)]==_0x3044a1(0x4ce)?_0x266cd9[_0x3044a1(0x11c)]:_0x3044a1(0x572);}function _0x55fb83(_0x33efac){const _0x1b19a6=_0x292328;let _0x7b454b=_0x2415f3(_0x2415f3(_0x33efac[_0x1b19a6(0x441)])['numfmt']);return String(_0x7b454b[_0x1b19a6(0x469)]??_0x110b52)['trim']()||_0x110b52;}function _0x1e1660(_0x1b8c97){const _0x161c73=_0x292328;return String(Number[_0x161c73(0x1b4)](_0x1b8c97)?_0x1b8c97:Math[_0x161c73(0x3f5)]((_0x1b8c97+0x2**-0x34)*0x64)/0x64);}function _0x2415f3(_0x25a1a2){const _0x194de0=_0x292328;return _0x25a1a2&&typeof _0x25a1a2==_0x194de0(0x2f7)&&!Array[_0x194de0(0x3fe)](_0x25a1a2)?_0x25a1a2:{};}function _0x54e871(_0x3e9363){const _0x2d5b1c=_0x292328;if(_0x3e9363==null||_0x3e9363==='')return null;let _0x1c6cbf=typeof _0x3e9363=='number'?_0x3e9363:Number(_0x3e9363);return Number[_0x2d5b1c(0x313)](_0x1c6cbf)?_0x1c6cbf:null;}function _0x10a9a2(_0xce5351,_0xe02ba9,_0x30330b,_0x579869){const _0x202404=_0x292328;let _0x2bd32f=_0x54e871(_0xce5351);return _0x2bd32f==null?_0x579869:Math[_0x202404(0x2ac)](_0xe02ba9,Math[_0x202404(0x3ec)](_0x30330b,Math['round'](_0x2bd32f)));}function _0x10a556(_0x2fb948,_0x2c5b69){const _0x3756a0=_0x292328;let _0x4ff476=_0x36cce1['Tools'][_0x3756a0(0x23b)](_0x2fb948),_0x2de6cd=_0x2c5b69[_0x3756a0(0x14a)]===!0x0,_0x47b390=new Map(),_0x4e1482=_0x2c5b69[_0x3756a0(0x17f)]??(()=>_0x3756a0(0x158)+(0x0,_0x36cce1[_0x3756a0(0x1ad)])(0x8)),_0x54bebd=_0x4ff476[_0x3756a0(0x358)];return _0x2c5b69[_0x3756a0(0x3db)]&&(_0x54bebd=_0x4ff476[_0x3756a0(0x358)]['map'](_0x3bf75a=>{const _0xf9eea2=_0x3756a0;let _0x509e39=_0x4e1482();return _0x47b390[_0xf9eea2(0x251)](_0x3bf75a,_0x509e39),_0x509e39;})),{..._0x4ff476,'id':_0x2c5b69['id'],'name':_0x2c5b69[_0x3756a0(0x4c0)],'records':_0x2de6cd?_0x4ff476[_0x3756a0(0x46f)]:{},'recordOrder':_0x2de6cd?_0x4ff476[_0x3756a0(0x318)]:[],'rowIndex':_0x2de6cd?_0x4ff476[_0x3756a0(0x17e)]:{},'rowId':_0x2de6cd?_0x4ff476[_0x3756a0(0x387)]:{},'cellData':_0x2de6cd?_0x4ff476[_0x3756a0(0x48e)]:{},'resources':_0x2de6cd?_0x4ff476[_0x3756a0(0x2ba)]:{},'viewOrder':_0x54bebd,'views':Object[_0x3756a0(0x2af)](Object[_0x3756a0(0x2e3)](_0x4ff476[_0x3756a0(0x2b9)]??{})[_0x3756a0(0x421)](([_0x3c36a4,_0x55947e])=>{const _0x23e834=_0x3756a0;let _0x99ca17=_0x47b390[_0x23e834(0x1fa)](_0x3c36a4)??(_0x2c5b69[_0x23e834(0x3db)]?_0x4e1482():_0x3c36a4);return[_0x99ca17,{..._0x55947e,'id':_0x99ca17,'tableId':_0x2c5b69['id']}];}))};}var _0x54c469='@univerjs-pro/bases',_0x1fc0ff='1.2.0';let _0x3a9a7d={},_0x4a4810={};function _0x11b31e(_0x273502){const _0x533042=_0x292328;return new _0x4263aa()[_0x533042(0x406)](_0x273502);}function _0x3597ae(_0xc3ada8){const _0x3f317d=_0x292328;return _0xc3ada8[_0x3f317d(0x43b)][_0x3f317d(0x421)](_0x635ffd=>({'unitId':_0xc3ada8['unitId'],'sheetId':_0xc3ada8[_0x3f317d(0x578)],'range':{'startRow':_0x635ffd[_0x3f317d(0x4eb)],'endRow':_0x635ffd['row'],'startColumn':_0x635ffd[_0x3f317d(0x418)],'endColumn':_0x635ffd[_0x3f317d(0x418)]}}));}function _0x3cfc11(_0x183848,_0x5c4851){const _0x5b43a7=_0x292328;return{[_0x183848]:Object[_0x5b43a7(0x2af)](_0x5c4851[_0x5b43a7(0x421)](_0x36d7da=>[_0x36d7da,'1']))};}let _0x129987=class extends _0x36cce1[_0x292328(0x27c)]{constructor(_0x2be71d,_0x25a898){const _0x3860ea=_0x292328;super(),this['_activeDirtyManagerService']=_0x2be71d,this[_0x3860ea(0x317)]=_0x25a898,this[_0x3860ea(0x2f9)]();}[_0x292328(0x2f9)](){const _0x3defc0=_0x292328;this['_activeDirtyManagerService'][_0x3defc0(0x4f8)](_0x2995c3['id'],{'commandId':_0x2995c3['id'],'getDirtyData':_0x542c9=>this['_getJson1DirtyData'](_0x542c9['params'])}),this[_0x3defc0(0x51f)]((0x0,_0x36cce1['toDisposable'])(()=>{const _0x31ab78=_0x3defc0;this[_0x31ab78(0x14e)][_0x31ab78(0x455)](_0x2995c3['id']);}));}[_0x292328(0x4e4)](_0x243d04,_0xf6fce3){const _0x4329a7=_0x292328;let _0x4148c4=this[_0x4329a7(0x317)][_0x4329a7(0x420)](_0x243d04,_0x36cce1[_0x4329a7(0x1fe)][_0x4329a7(0x355)]);return(_0x4148c4==null?void 0x0:_0x4148c4[_0x4329a7(0x363)]()[_0x4329a7(0x288)][_0xf6fce3])??null;}['_getJson1DirtyData'](_0x9808bb){const _0x42dae4=_0x292328;if(_0x9808bb[_0x42dae4(0x1cf)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x9808bb[_0x42dae4(0x273)]||!_0x9808bb['op'])return{'clearDependencyTreeCache':this[_0x42dae4(0x36d)](),'forceCalculation':!0x0};let _0x478448=_0x11b31e(_0x9808bb['op']),_0x2f7931=this['_getStructureDirtyTableIds'](_0x9808bb[_0x42dae4(0x273)],_0x478448);if(_0x2f7931['length'])return{'clearDependencyTreeCache':_0x3cfc11(_0x9808bb[_0x42dae4(0x273)],_0x2f7931),'forceCalculation':!0x0};let _0x450a63=Object[_0x42dae4(0x2e3)](this['_groupCellInvalidations'](_0x9808bb[_0x42dae4(0x273)],_0x478448))['flatMap'](([_0x4caece,_0x5c0a4d])=>_0x3597ae({'unitId':_0x9808bb[_0x42dae4(0x273)],'tableId':_0x4caece,'patches':_0x5c0a4d}));return _0x450a63[_0x42dae4(0x4fc)]?{'dirtyRanges':_0x450a63}:{};}[_0x292328(0x305)](_0x1431fb,_0x11e7ee){const _0x4ab14f=_0x292328;let _0x3f3ca8=_0x11e7ee[_0x4ab14f(0x544)](_0x3bd2a9=>_0x3bd2a9['reason']!==_0x4ab14f(0x522))['flatMap'](_0x46eebb=>_0x46eebb[_0x4ab14f(0x578)]?[_0x46eebb[_0x4ab14f(0x578)]]:this[_0x4ab14f(0x2b8)](_0x1431fb));return Array['from'](new Set(_0x3f3ca8));}[_0x292328(0x1ba)](_0x14294d,_0x5b61e8){let _0x32c0e4=new Set();return _0x5b61e8['reduce']((_0x445538,_0x7b433e)=>{const _0x155d07=_0x5c61;let _0x613338=this[_0x155d07(0x26a)](_0x14294d,_0x7b433e);if(!_0x613338)return _0x445538;let _0x26524c=_0x7b433e[_0x155d07(0x578)]+':'+_0x613338[_0x155d07(0x4eb)]+':'+_0x613338[_0x155d07(0x418)];return _0x32c0e4[_0x155d07(0x16f)](_0x26524c)||(_0x32c0e4['add'](_0x26524c),_0x445538[_0x7b433e['tableId']]=_0x445538[_0x7b433e[_0x155d07(0x578)]]??[],_0x445538[_0x7b433e['tableId']]['push'](_0x613338)),_0x445538;},{});}[_0x292328(0x26a)](_0x3e0f1d,_0x9d2b5e){const _0x2e6d7d=_0x292328;if(_0x9d2b5e['reason']!==_0x2e6d7d(0x522))return null;if(_0x9d2b5e[_0x2e6d7d(0x4eb)]!=null&&_0x9d2b5e[_0x2e6d7d(0x482)]!=null)return{'row':_0x9d2b5e[_0x2e6d7d(0x4eb)],'col':_0x9d2b5e[_0x2e6d7d(0x482)],'value':null};if(!_0x9d2b5e[_0x2e6d7d(0x33c)]||!_0x9d2b5e[_0x2e6d7d(0x450)])return null;let _0x509c56=this['_getTable'](_0x3e0f1d,_0x9d2b5e[_0x2e6d7d(0x578)]);if(!_0x509c56)return null;let _0x22fcf5=_0x5f1f77(_0x509c56,_0x9d2b5e['recordId'],_0x9d2b5e[_0x2e6d7d(0x450)]);return _0x22fcf5?{'row':_0x22fcf5[_0x2e6d7d(0x4eb)],'col':_0x22fcf5['col'],'value':null}:null;}[_0x292328(0x2b8)](_0x5499ea){const _0x40ea1e=_0x292328;let _0x4e8cd7=this[_0x40ea1e(0x317)]['getUnit'](_0x5499ea,_0x36cce1[_0x40ea1e(0x1fe)][_0x40ea1e(0x355)]);return Object['values']((_0x4e8cd7==null?void 0x0:_0x4e8cd7[_0x40ea1e(0x363)]()[_0x40ea1e(0x288)])??{})[_0x40ea1e(0x421)](_0x114815=>_0x114815['id']);}[_0x292328(0x36d)](){const _0x5ab1cc=_0x292328;let _0x244df9=this[_0x5ab1cc(0x317)][_0x5ab1cc(0x3b4)](_0x36cce1[_0x5ab1cc(0x1fe)][_0x5ab1cc(0x355)])['map'](_0x4eb1c3=>_0x3cfc11(_0x4eb1c3['getUnitId'](),Object[_0x5ab1cc(0x153)](_0x4eb1c3['getSnapshot']()[_0x5ab1cc(0x288)])));return Object[_0x5ab1cc(0x306)]({},..._0x244df9);}};_0x129987=_0x1f4d84([_0xb6ba9a(0x0,_0x7de12b[_0x292328(0x555)]),_0xb6ba9a(0x1,_0x36cce1[_0x292328(0x21d)])],_0x129987);let _0x39a271=class extends _0x36cce1[_0x292328(0x27c)]{constructor(_0x3dfe87,_0xaa6ac7,_0x20aa7d,_0x22bc28){const _0x538dc6=_0x292328;super(),this['_commandService']=_0x3dfe87,this[_0x538dc6(0x317)]=_0xaa6ac7,this[_0x538dc6(0x4f5)]=_0x20aa7d,this['_formulaCalculationSessionService']=_0x22bc28,_0x248767(this,_0x538dc6(0x15e),new _0x2ed136()),_0x248767(this,_0x538dc6(0x2a8),new Map()),_0x248767(this,_0x538dc6(0x4df),new Set()),_0x248767(this,_0x538dc6(0x29e),Promise[_0x538dc6(0x336)]()),_0x248767(this,_0x538dc6(0x1bb),!0x1),this[_0x538dc6(0x2f9)]();}['_initialize'](){const _0x383b1b=_0x292328;this[_0x383b1b(0x317)][_0x383b1b(0x3b4)](_0x36cce1['UniverInstanceType']['UNIVER_BASE'])['forEach'](_0x56d838=>{const _0x22c5b3=_0x383b1b;this[_0x22c5b3(0x49e)](_0x56d838);}),this[_0x383b1b(0x51f)](this[_0x383b1b(0x317)][_0x383b1b(0x202)](_0x36cce1[_0x383b1b(0x1fe)]['UNIVER_BASE'])['subscribe'](({unit:_0x1f6ad7})=>{this['_scheduleSuperTableSync'](_0x1f6ad7);})),this[_0x383b1b(0x51f)](this[_0x383b1b(0x317)][_0x383b1b(0x573)](_0x36cce1[_0x383b1b(0x1fe)][_0x383b1b(0x355)])[_0x383b1b(0x253)](_0x11b63e=>{const _0x5b7627=_0x383b1b;this[_0x5b7627(0x33b)](()=>this[_0x5b7627(0x54d)](_0x11b63e['getUnitId']()));})),this[_0x383b1b(0x51f)](this[_0x383b1b(0x434)][_0x383b1b(0x2a7)](_0x548b2d=>this['_onCommandExecuted'](_0x548b2d)));}[_0x292328(0x1e4)](_0x1191d9){const _0x22597c=_0x292328;if(_0x1191d9['id']===_0x7de12b['SetFormulaCalculationResultMutation']['id']){_0x189eca(_0x1191d9[_0x22597c(0x403)])&&this[_0x22597c(0x36e)](_0x1191d9[_0x22597c(0x403)]);return;}if(this[_0x22597c(0x1bb)]||_0x1191d9['id']!==_0x2995c3['id'])return;let _0x574089=_0x361844(_0x1191d9[_0x22597c(0x403)])?_0x1191d9[_0x22597c(0x403)]:void 0x0,_0x45c5f6=_0x574089!=null&&_0x574089['unitId']?[this[_0x22597c(0x317)][_0x22597c(0x420)](_0x574089[_0x22597c(0x273)],_0x36cce1['UniverInstanceType'][_0x22597c(0x355)])]['filter'](_0x8a146f=>!!_0x8a146f):this[_0x22597c(0x317)][_0x22597c(0x3b4)](_0x36cce1['UniverInstanceType']['UNIVER_BASE']),_0x2d6e3d=_0x574089==null?void 0x0:_0x574089['op'];_0x45c5f6[_0x22597c(0x56d)](_0x43c9cb=>{const _0x1ccb16=_0x22597c;let _0x5d32a2=_0x2d6e3d?_0x11b31e(_0x2d6e3d):[];(!_0x2d6e3d||_0x5d32a2[_0x1ccb16(0x41d)](_0x1081da=>_0x1081da[_0x1ccb16(0x49d)]!=='cell'))&&this['_scheduleSuperTableSync'](_0x43c9cb);});}[_0x292328(0x49e)](_0x1504d8){const _0xcba1cc=_0x292328;let _0x3f3677=_0x1504d8[_0xcba1cc(0x31f)]();this[_0xcba1cc(0x4df)][_0xcba1cc(0x16f)](_0x3f3677)||(this[_0xcba1cc(0x4df)][_0xcba1cc(0x18c)](_0x3f3677),this[_0xcba1cc(0x33b)](async()=>{const _0x565caa=_0xcba1cc;this['_scheduledSuperTableSyncs'][_0x565caa(0x3ce)](_0x3f3677),await this['_syncSuperTables'](_0x1504d8);}));}async['_syncSuperTables'](_0x177b61){const _0x1b8f4c=_0x292328;let _0x27f974=_0x177b61[_0x1b8f4c(0x31f)](),_0x1fb1ff=this[_0x1b8f4c(0x15e)][_0x1b8f4c(0x227)](_0x177b61[_0x1b8f4c(0x363)]()),_0x1747dd=new Set(_0x1fb1ff[_0x1b8f4c(0x421)](({tableName:_0x34b9ea})=>_0x34b9ea)),_0x4d1b15=this[_0x1b8f4c(0x2a8)]['get'](_0x27f974)??new Set();for(let _0x1545c4 of _0x4d1b15)if(!_0x1747dd[_0x1b8f4c(0x16f)](_0x1545c4)&&!await this[_0x1b8f4c(0x4c3)](_0x7de12b[_0x1b8f4c(0x3f4)]['id'],{'unitId':_0x27f974,'tableName':_0x1545c4}))return;for(let {tableName:_0x25328e,reference:_0x4fd63a}of _0x1fb1ff)if(!await this[_0x1b8f4c(0x4c3)](_0x7de12b['SetSuperTableMutation']['id'],{'unitId':_0x27f974,'tableName':_0x25328e,'reference':_0x4fd63a}))return;this[_0x1b8f4c(0x2a8)]['set'](_0x27f974,_0x1747dd);}async[_0x292328(0x54d)](_0x187736){const _0x348fa1=_0x292328;let _0x76c549=this[_0x348fa1(0x2a8)][_0x348fa1(0x1fa)](_0x187736)??new Set();for(let _0x3d4e7c of _0x76c549)if(!await this[_0x348fa1(0x4c3)](_0x7de12b[_0x348fa1(0x3f4)]['id'],{'unitId':_0x187736,'tableName':_0x3d4e7c}))return;this['_registeredSuperTableNames'][_0x348fa1(0x3ce)](_0x187736);}async['_executeSuperTableMutationWhileActive'](_0x5fb2ab,_0x26d271){const _0x4ab2a9=_0x292328;return!this[_0x4ab2a9(0x1c7)]&&await this[_0x4ab2a9(0x434)][_0x4ab2a9(0x31a)](_0x5fb2ab,_0x26d271,{'onlyLocal':!0x0})&&!this[_0x4ab2a9(0x1c7)];}[_0x292328(0x33b)](_0x4146d6){const _0x489401=_0x292328;this['_formulaSyncQueue']=this[_0x489401(0x29e)][_0x489401(0x1a9)](_0x4146d6,_0x4146d6)[_0x489401(0x398)](()=>void 0x0);}[_0x292328(0x36e)](_0x5cf96e){const _0x5dabf0=_0x292328;let _0x5022b5=this['_univerInstanceService']['getAllUnitsForType'](_0x36cce1['UniverInstanceType']['UNIVER_BASE']);if(!_0x5022b5[_0x5dabf0(0x41d)](_0x1adade=>{const _0x5384f9=_0x5dabf0;var _0x4dda12;return((_0x4dda12=_0x5cf96e['unitData'])==null?void 0x0:_0x4dda12[_0x1adade[_0x5384f9(0x31f)]()])!=null;}))return;let _0x2270af=_0x5022b5[_0x5dabf0(0x57e)](_0x303c77=>_0x16e2dc(_0x303c77['getSnapshot'](),_0x5cf96e));if(!_0x2270af[_0x5dabf0(0x4fc)]){this[_0x5dabf0(0x364)][_0x5dabf0(0x36f)](_0x5590de[_0x5dabf0(0x496)][_0x5dabf0(0x464)],_0x5cf96e);return;}let _0x1a5737=new _0x5abfd2(),_0x20a2e0=_0x2270af['flatMap'](_0x3b883b=>_0x3597ae({'unitId':_0x3b883b[_0x5dabf0(0x273)],'tableId':_0x3b883b[_0x5dabf0(0x578)],'patches':_0x3b883b[_0x5dabf0(0x43b)]}));this[_0x5dabf0(0x1bb)]=!0x0,(async()=>{const _0x3a35b9=_0x5dabf0;for(let _0x240f55 of _0x2270af){let _0x422972=this[_0x3a35b9(0x317)][_0x3a35b9(0x420)](_0x240f55['unitId'],_0x36cce1['UniverInstanceType'][_0x3a35b9(0x355)]);_0x422972&&await this[_0x3a35b9(0x434)][_0x3a35b9(0x31a)](_0x2995c3['id'],{'unitId':_0x240f55['unitId'],'op':_0x1a5737[_0x3a35b9(0x197)](_0x422972['getSnapshot'](),_0x240f55[_0x3a35b9(0x578)],_0x240f55['patches']),'trigger':_0x7de12b['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this['_commandService']['executeCommand'](_0x7de12b[_0x3a35b9(0x4ab)]['id'],{'dirtyRanges':_0x20a2e0},{'onlyLocal':!0x0});})()[_0x5dabf0(0x152)](()=>{const _0x121dc0=_0x5dabf0;this[_0x121dc0(0x1bb)]=!0x1,this[_0x121dc0(0x364)][_0x121dc0(0x36f)](_0x5590de[_0x121dc0(0x496)]['BASE'],_0x5cf96e);});}};_0x39a271=_0x1f4d84([_0xb6ba9a(0x0,_0x36cce1[_0x292328(0x1f4)]),_0xb6ba9a(0x1,_0x36cce1['IUniverInstanceService']),_0xb6ba9a(0x2,(0x0,_0x36cce1['Inject'])(_0x7de12b[_0x292328(0x346)])),_0xb6ba9a(0x3,(0x0,_0x36cce1['Inject'])(_0x5590de['FormulaCalculationSessionService']))],_0x39a271);function _0x361844(_0x56ecc8){const _0x421586=_0x292328;return typeof _0x56ecc8==_0x421586(0x2f7)&&!!_0x56ecc8&&_0x421586(0x273)in _0x56ecc8&&typeof _0x56ecc8[_0x421586(0x273)]==_0x421586(0x4ce)&&'op'in _0x56ecc8&&Array['isArray'](_0x56ecc8['op']);}function _0x189eca(_0x1faa45){const _0x1b0fe4=_0x292328;return typeof _0x1faa45==_0x1b0fe4(0x2f7)&&!!_0x1faa45&&_0x1b0fe4(0x155)in _0x1faa45&&_0x1b0fe4(0x324)in _0x1faa45;}let _0x239fbb=new Set([_0x43ef6d['id'],_0x962bd1['id'],_0xa3d6d0['id']]),_0x28f9fd=class extends _0x36cce1[_0x292328(0x27c)]{constructor(_0xd58b95,_0x3f17a9,_0x2e5de8,_0x4496c7){const _0x3be5c5=_0x292328;super(),this[_0x3be5c5(0x22c)]=_0xd58b95,this['_commandService']=_0x3f17a9,this[_0x3be5c5(0x189)]=_0x2e5de8,this[_0x3be5c5(0x3d5)]=_0x4496c7,this[_0x3be5c5(0x3d5)]['getAllUnitsForType'](_0x36cce1['UniverInstanceType'][_0x3be5c5(0x355)])[_0x3be5c5(0x56d)](_0x2c51bf=>this[_0x3be5c5(0x4b1)](_0x2c51bf['getUnitId']())),this[_0x3be5c5(0x51f)](this[_0x3be5c5(0x3d5)]['getTypeOfUnitAdded$'](_0x36cce1[_0x3be5c5(0x1fe)][_0x3be5c5(0x355)])['subscribe'](({unit:_0x597e49})=>this[_0x3be5c5(0x4b1)](_0x597e49[_0x3be5c5(0x31f)]()))),this[_0x3be5c5(0x51f)](this['_commandService'][_0x3be5c5(0x322)]((_0x588f97,_0x34b65a)=>this['_check'](_0x588f97,_0x34b65a))),this[_0x3be5c5(0x51f)](this[_0x3be5c5(0x3d5)][_0x3be5c5(0x573)](_0x36cce1[_0x3be5c5(0x1fe)][_0x3be5c5(0x355)])[_0x3be5c5(0x253)](_0x30e8b6=>{const _0x286174=_0x3be5c5;this[_0x286174(0x22c)][_0x286174(0x1fa)](_0x36cce1['ObjectPermissionService'])[_0x286174(0x32a)](_0x30e8b6[_0x286174(0x31f)]()),_0x294f6d(this[_0x286174(0x189)],_0x30e8b6[_0x286174(0x31f)]());}));}[_0x292328(0x4b1)](_0x4caf8c){const _0x59ae0b=_0x292328;_0x2237ea['forEach'](_0x197b67=>{const _0x1ea3ca=_0x5c61;let _0x424649=_0x278bb4(_0x4caf8c,_0x4caf8c,_0x197b67);this[_0x1ea3ca(0x189)][_0x1ea3ca(0x3ed)](_0x424649['id'])||this['_permissionService'][_0x1ea3ca(0x231)](_0x424649);}),this[_0x59ae0b(0x22c)]['get'](_0x36cce1[_0x59ae0b(0x2ce)])[_0x59ae0b(0x2f6)]({'unitId':_0x4caf8c,'objectId':_0x4caf8c,'objectType':_0x282c79['UnitObject'][_0x59ae0b(0x4b2)]});}[_0x292328(0x44c)](_0x4eae15,_0x29b07c){const _0x20ef0a=_0x292328;var _0x452a95;if(_0x29b07c!=null&&_0x29b07c[_0x20ef0a(0x3e4)]||_0x29b07c!=null&&_0x29b07c[_0x20ef0a(0x291)])return;let _0x276529=_0x40ee01(_0x4eae15['params'])?_0x4eae15['params']:void 0x0;if(_0x29b07c!=null&&_0x29b07c['onlyLocal']&&_0x4eae15['id']===_0x20ef0a(0x2e1)&&(_0x276529==null?void 0x0:_0x276529[_0x20ef0a(0x1cf)])===_0x7de12b[_0x20ef0a(0x53f)]['id'])return;let _0x13f912=_0x376984(_0x4eae15['id']),_0x1911ec=_0x348ffa(_0x276529==null?void 0x0:_0x276529['unitId'],_0x29b07c)??(_0x13f912?(_0x452a95=this[_0x20ef0a(0x3d5)]['getCurrentUnitOfType'](_0x36cce1['UniverInstanceType']['UNIVER_BASE']))==null?void 0x0:_0x452a95[_0x20ef0a(0x31f)]():void 0x0);if(!_0x1911ec||this[_0x20ef0a(0x3d5)][_0x20ef0a(0x537)](_0x1911ec)!==_0x36cce1[_0x20ef0a(0x1fe)]['UNIVER_BASE'])return;if(_0x13f912){if(!_0x293135(this[_0x20ef0a(0x189)],_0x1911ec,_0x1911ec,_0x13f912))throw this['_injector']['get'](_0x36cce1['ErrorService'])[_0x20ef0a(0x27a)](_0x1911ec),new _0x36cce1[(_0x20ef0a(0x399))](_0x20ef0a(0x1f3)+_0x282c79['UnitAction'][_0x13f912]+'\x20permission\x20denied.');return;}if(_0x239fbb['has'](_0x4eae15['id'])||!_0x4eae15['id'][_0x20ef0a(0x1c2)](_0x20ef0a(0x3bb))&&!_0x4eae15['id'][_0x20ef0a(0x1c2)]('base.mutation.'))return;let _0x57d750=this[_0x20ef0a(0x3d5)][_0x20ef0a(0x420)](_0x1911ec,_0x36cce1[_0x20ef0a(0x1fe)]['UNIVER_BASE']),_0x488236=_0x57d750?_0x23883e(_0x57d750,_0x276529??{},_0x4eae15['id']):[];if(!_0x57d750||!_0x5d8eac(this[_0x20ef0a(0x189)],_0x1911ec,_0x488236))throw this[_0x20ef0a(0x22c)][_0x20ef0a(0x1fa)](_0x36cce1[_0x20ef0a(0x503)])[_0x20ef0a(0x27a)](_0x1911ec,_0x488236),new _0x36cce1[(_0x20ef0a(0x399))](_0x20ef0a(0x209));}};_0x28f9fd=_0x1f4d84([_0xb6ba9a(0x0,(0x0,_0x36cce1[_0x292328(0x2b3)])(_0x36cce1[_0x292328(0x32c)])),_0xb6ba9a(0x1,_0x36cce1['ICommandService']),_0xb6ba9a(0x2,_0x36cce1[_0x292328(0x531)]),_0xb6ba9a(0x3,_0x36cce1['IUniverInstanceService'])],_0x28f9fd);function _0x348ffa(_0x5ba41f,_0x1050c4){const _0x13b4fa=_0x292328;return typeof _0x5ba41f==_0x13b4fa(0x4ce)?_0x5ba41f:typeof(_0x1050c4==null?void 0x0:_0x1050c4[_0x13b4fa(0x273)])==_0x13b4fa(0x4ce)?_0x1050c4[_0x13b4fa(0x273)]:void 0x0;}function _0x376984(_0x9cf948){const _0x28be73=_0x292328;if(_0x9cf948===_0x28be73(0x3e1)||_0x9cf948===_0x28be73(0x171))return _0x282c79[_0x28be73(0x37e)][_0x28be73(0x39e)];if(_0x9cf948[_0x28be73(0x1c2)](_0x28be73(0x447))||_0x9cf948[_0x28be73(0x1c2)](_0x28be73(0x4e6)))return _0x282c79['UnitAction'][_0x28be73(0x267)];}function _0x23883e(_0x4c6008,_0xb8fd54,_0x5d13d0){const _0x35edab=_0x292328;if(_0x5d13d0===_0x35edab(0x2e1)&&_0x511798(_0xb8fd54['op']))return _0x27772a(_0x4c6008,_0xb8fd54['op']);let _0x28e3e3=new Set(),_0x114841=_0x6708db(_0xb8fd54,'table'),_0xe0dd79=typeof _0xb8fd54[_0x35edab(0x578)]==_0x35edab(0x4ce)?_0xb8fd54[_0x35edab(0x578)]:_0x114841[0x0];if(_0x114841[_0x35edab(0x56d)](_0x3517b9=>_0x28e3e3[_0x35edab(0x18c)](_0x27f7d4(_0x3517b9))),!_0xe0dd79)return[..._0x28e3e3];let _0x1ab179=_0x4c6008[_0x35edab(0x363)]()['tables'][_0xe0dd79],_0x318441=new Set(_0x6708db(_0xb8fd54,'field')),_0x37b592=new Set(_0x6708db(_0xb8fd54,_0x35edab(0x13e))),_0x1df14b=new Set(_0x6708db(_0xb8fd54,'view'));return _0x147457(_0x1ab179,_0xb8fd54[_0x35edab(0x43b)],_0x37b592,_0x318441),_0x39b5a1(_0xb8fd54,_0x318441),_0x318441['forEach'](_0x487996=>_0x28e3e3[_0x35edab(0x18c)](_0x7d8403(_0xe0dd79,_0x487996))),_0x37b592[_0x35edab(0x56d)](_0x590448=>_0x28e3e3[_0x35edab(0x18c)](_0x551842(_0xe0dd79,_0x590448))),_0x1df14b[_0x35edab(0x56d)](_0x343dee=>_0x28e3e3[_0x35edab(0x18c)](_0x464395(_0xe0dd79,_0x343dee))),[..._0x28e3e3];}function _0x27772a(_0x3c6d01,_0x544054){const _0x549be1=_0x292328;let _0x23e065=_0x3c6d01[_0x549be1(0x363)](),_0x359c47=new _0x4263aa()['getAffectedRanges'](_0x544054),_0x1b9265=_0xb2800a(_0x544054),_0x2bc797=new Set();return _0x359c47['forEach'](_0x391830=>{const _0x22a545=_0x549be1;var _0xb99dbc,_0x549a33;let {tableId:_0x4e567d}=_0x391830;if(!_0x4e567d)return;_0x2bc797[_0x22a545(0x18c)](_0x27f7d4(_0x4e567d));let _0x289c0c=_0x23e065[_0x22a545(0x288)][_0x4e567d],_0xa604f2=_0x391830['recordId']??(_0x391830['row']==null||_0x289c0c==null||(_0xb99dbc=_0x289c0c['rowId'])==null?void 0x0:_0xb99dbc[_0x391830[_0x22a545(0x4eb)]]),_0x2995c7=_0x391830[_0x22a545(0x450)]??(_0x391830[_0x22a545(0x482)]==null||_0x289c0c==null||(_0x549a33=_0x289c0c[_0x22a545(0x252)])==null?void 0x0:_0x549a33[_0x391830['column']]);_0xa604f2&&_0x2bc797[_0x22a545(0x18c)](_0x551842(_0x4e567d,_0xa604f2)),_0x2995c7&&_0x2bc797[_0x22a545(0x18c)](_0x7d8403(_0x4e567d,_0x2995c7)),_0x391830[_0x22a545(0x1fb)]&&_0x2bc797[_0x22a545(0x18c)](_0x464395(_0x4e567d,_0x391830[_0x22a545(0x1fb)])),(_0x391830[_0x22a545(0x49d)]===_0x22a545(0x442)||_0x1b9265[_0x22a545(0x16f)](_0x4e567d))&&_0x289c0c&&(Object[_0x22a545(0x153)](_0x289c0c[_0x22a545(0x445)])[_0x22a545(0x56d)](_0x84a1b9=>_0x2bc797[_0x22a545(0x18c)](_0x7d8403(_0x4e567d,_0x84a1b9))),Object[_0x22a545(0x153)](_0x289c0c[_0x22a545(0x46f)])[_0x22a545(0x56d)](_0x5d9ee2=>_0x2bc797[_0x22a545(0x18c)](_0x551842(_0x4e567d,_0x5d9ee2))),Object[_0x22a545(0x153)](_0x289c0c['views'])['forEach'](_0x528d71=>_0x2bc797[_0x22a545(0x18c)](_0x464395(_0x4e567d,_0x528d71)))),_0x391830[_0x22a545(0x49d)]===_0x22a545(0x13e)&&_0x289c0c&&Object['keys'](_0x289c0c[_0x22a545(0x445)])[_0x22a545(0x56d)](_0x14ed1d=>_0x2bc797[_0x22a545(0x18c)](_0x7d8403(_0x4e567d,_0x14ed1d)));}),_0x359c47[_0x549be1(0x4fc)]===0x0&&_0x5f53b1(_0x544054,'tableOrder')&&Object['keys'](_0x23e065[_0x549be1(0x288)])[_0x549be1(0x56d)](_0x1c40ab=>_0x2bc797[_0x549be1(0x18c)](_0x27f7d4(_0x1c40ab))),[..._0x2bc797];}function _0xb2800a(_0x33d7fb){let _0x53b3b7=new Set(),_0x573352=_0x5a422b=>{const _0x3ed614=_0x5c61;Array[_0x3ed614(0x3fe)](_0x5a422b)&&_0x5a422b[_0x3ed614(0x56d)]((_0x142c42,_0x2de7cc)=>{const _0x133b37=_0x3ed614;_0x142c42===_0x133b37(0x288)&&typeof _0x5a422b[_0x2de7cc+0x1]==_0x133b37(0x4ce)&&_0x22cf57(_0x5a422b[_0x2de7cc+0x2])&&_0x53b3b7['add'](_0x5a422b[_0x2de7cc+0x1]),_0x573352(_0x142c42);});};return _0x573352(_0x33d7fb),_0x53b3b7;}function _0x22cf57(_0x42db5c){const _0x19023d=_0x292328;return!!_0x42db5c&&typeof _0x42db5c==_0x19023d(0x2f7)&&!Array['isArray'](_0x42db5c)&&('i'in _0x42db5c||'r'in _0x42db5c||'p'in _0x42db5c||'d'in _0x42db5c||'es'in _0x42db5c||'ena'in _0x42db5c||'et'in _0x42db5c);}function _0x5f53b1(_0x248ec6,_0x260064){const _0x429404=_0x292328;return Array[_0x429404(0x3fe)](_0x248ec6)&&_0x248ec6[_0x429404(0x41d)](_0x3edb5d=>_0x3edb5d===_0x260064||_0x5f53b1(_0x3edb5d,_0x260064));}function _0x6708db(_0x2a320f,_0x4154bd){const _0x159548=_0x292328;let _0x5d093b=new Set(),_0x2dc76a=_0x4154bd+'Id',_0x2d63ad=_0x4154bd+_0x159548(0x243),_0x148464=(_0x5da383,_0xce063e='')=>{const _0x21311e=_0x159548;typeof _0x5da383==_0x21311e(0x4ce)?_0xce063e===_0x2dc76a&&_0x5d093b[_0x21311e(0x18c)](_0x5da383):Array[_0x21311e(0x3fe)](_0x5da383)?_0xce063e===_0x2d63ad?_0x5da383[_0x21311e(0x56d)](_0x560370=>{const _0x231871=_0x21311e;typeof _0x560370==_0x231871(0x4ce)&&_0x5d093b['add'](_0x560370);}):_0x5da383[_0x21311e(0x56d)](_0x558596=>_0x148464(_0x558596,_0xce063e)):_0x40ee01(_0x5da383)&&Object[_0x21311e(0x2e3)](_0x5da383)[_0x21311e(0x56d)](([_0x1f6c96,_0x48e688])=>{const _0x46352a=_0x21311e;_0x1f6c96==='id'&&_0xce063e===_0x4154bd&&typeof _0x48e688==_0x46352a(0x4ce)?_0x5d093b[_0x46352a(0x18c)](_0x48e688):_0x148464(_0x48e688,_0x1f6c96);});};return _0x148464(_0x2a320f),[..._0x5d093b];}function _0x147457(_0x1fa9e1,_0x44799a,_0x22d890,_0xab70ca){const _0x524de4=_0x292328;_0x1fa9e1&&Array[_0x524de4(0x3fe)](_0x44799a)&&_0x44799a['forEach'](_0x569780=>{const _0x51f34d=_0x524de4;if(!_0x40ee01(_0x569780))return;let _0x15a710=_0x569780;if(typeof _0x15a710['row']==_0x51f34d(0x2dd)){var _0x228d7c;let _0x31c2ce=(_0x228d7c=_0x1fa9e1[_0x51f34d(0x387)])==null?void 0x0:_0x228d7c[_0x15a710[_0x51f34d(0x4eb)]];_0x31c2ce&&_0x22d890['add'](_0x31c2ce);}if(typeof _0x15a710[_0x51f34d(0x418)]==_0x51f34d(0x2dd)){var _0x32f915;let _0xf14e1e=(_0x32f915=_0x1fa9e1[_0x51f34d(0x252)])==null?void 0x0:_0x32f915[_0x15a710[_0x51f34d(0x418)]];_0xf14e1e&&_0xab70ca[_0x51f34d(0x18c)](_0xf14e1e);}});}function _0x39b5a1(_0x3ff7b4,_0xd1c424,_0x3a95df=''){const _0x4d5e3e=_0x292328;_0x3ff7b4&&typeof _0x3ff7b4==_0x4d5e3e(0x2f7)&&(Array[_0x4d5e3e(0x3fe)](_0x3ff7b4)?_0x3ff7b4[_0x4d5e3e(0x56d)](_0x486f16=>_0x39b5a1(_0x486f16,_0xd1c424,_0x3a95df)):_0x40ee01(_0x3ff7b4)&&Object[_0x4d5e3e(0x2e3)](_0x3ff7b4)[_0x4d5e3e(0x56d)](([_0x3d2072,_0x309328])=>{const _0x784a2c=_0x4d5e3e;_0x3a95df==='values'&&_0xd1c424[_0x784a2c(0x18c)](_0x3d2072),_0x39b5a1(_0x309328,_0xd1c424,_0x3d2072);}));}function _0x511798(_0x460303){const _0x844088=_0x292328;return Array[_0x844088(0x3fe)](_0x460303);}function _0x40ee01(_0x65455d){const _0x53dfb5=_0x292328;return typeof _0x65455d==_0x53dfb5(0x2f7)&&!!_0x65455d&&!Array['isArray'](_0x65455d);}let _0x908dae=(0x0,_0x36cce1[_0x292328(0x260)])('base.resource.service'),_0x2a1a55=class{constructor(_0x307650){const _0x37fed1=_0x292328;this[_0x37fed1(0x317)]=_0x307650;}[_0x292328(0x380)](_0xe64b1){const _0x5980df=_0x292328;return this[_0x5980df(0x317)][_0x5980df(0x420)](_0xe64b1,_0x36cce1[_0x5980df(0x1fe)][_0x5980df(0x355)])??null;}[_0x292328(0x470)](){const _0x47b170=_0x292328;return this[_0x47b170(0x317)][_0x47b170(0x3b4)](_0x36cce1['UniverInstanceType'][_0x47b170(0x355)]);}[_0x292328(0x56c)](_0x48f370){const _0x30c9f7=_0x292328;return this[_0x30c9f7(0x317)][_0x30c9f7(0x254)](_0x36cce1[_0x30c9f7(0x1fe)][_0x30c9f7(0x355)],_0x48f370);}};_0x2a1a55=_0x1f4d84([_0xb6ba9a(0x0,_0x36cce1['IUniverInstanceService'])],_0x2a1a55);let _0x1c061e=(0x0,_0x36cce1[_0x292328(0x260)])(_0x292328(0x451));var _0xa2e24c=class extends _0x36cce1[_0x292328(0x27c)]{constructor(..._0x21a8f2){super(..._0x21a8f2),_0x248767(this,'_plugins',new Map());}[_0x292328(0x4f8)](_0x259e0e){const _0x528e39=_0x292328;return this[_0x528e39(0x13c)]['set'](_0x259e0e['type'],_0x259e0e),(0x0,_0x36cce1['toDisposable'])(()=>this[_0x528e39(0x13c)][_0x528e39(0x3ce)](_0x259e0e[_0x528e39(0x11c)]));}[_0x292328(0x1fa)](_0x20b47b){const _0xad6bb=_0x292328;let _0x5f1197=this[_0xad6bb(0x13c)][_0xad6bb(0x1fa)](_0x20b47b);if(!_0x5f1197)throw Error(_0xad6bb(0x1d1)+_0x20b47b+'\x22\x20is\x20not\x20registered.');return _0x5f1197;}[_0x292328(0x1f9)](){const _0x46afa7=_0x292328;return Array[_0x46afa7(0x11f)](this['_plugins'][_0x46afa7(0x1ea)]());}};let _0x14b1ee=[_0x2995c3],_0x76b960=class extends _0x36cce1['Plugin']{constructor(_0xb119d6=_0x3a9a7d,_0x18f04e,_0x40c933,_0x10b0f8,_0x31ca23,_0x453620){const _0x58986b=_0x292328;super(),this[_0x58986b(0x21f)]=_0xb119d6,this[_0x58986b(0x22c)]=_0x18f04e,this['_commandService']=_0x40c933,this['_univerInstanceService']=_0x10b0f8,this[_0x58986b(0x56f)]=_0x31ca23,this[_0x58986b(0x133)]=_0x453620,_0x248767(this,_0x58986b(0x3e0),new Map());let {..._0x1787c5}=(0x0,_0x36cce1['merge'])({},_0x3a9a7d,this[_0x58986b(0x21f)]);this[_0x58986b(0x56f)]['setConfig'](_0x58986b(0x3be),_0x1787c5),this[_0x58986b(0x317)][_0x58986b(0x184)](_0x36cce1[_0x58986b(0x1fe)][_0x58986b(0x355)],_0x36cce1[_0x58986b(0x567)]),this['_initDependencies'](),this['_initCommands'](),this[_0x58986b(0x31d)](),this[_0x58986b(0x483)]();}[_0x292328(0x1e0)](){const _0x5c515a=_0x292328;this[_0x5c515a(0x22c)]['add']([_0x33beaf]),this[_0x5c515a(0x51f)](this['_injector'][_0x5c515a(0x1fa)](_0x36cce1['ICommandService'])['registerCommand'](_0x29be0e)),this[_0x5c515a(0x51f)](this['_injector'][_0x5c515a(0x1fa)](_0x36cce1[_0x5c515a(0x1f4)])[_0x5c515a(0x163)](_0x145208)),this[_0x5c515a(0x51f)](this[_0x5c515a(0x22c)][_0x5c515a(0x1fa)](_0x36cce1[_0x5c515a(0x2ce)])[_0x5c515a(0x269)](_0x282c79[_0x5c515a(0x1dd)][_0x5c515a(0x4b2)],this[_0x5c515a(0x22c)]['get'](_0x33beaf),_0x29be0e['id'],_0x145208['id']));}['onReady'](){const _0x3edd29=_0x292328;(0x0,_0x36cce1[_0x3edd29(0x314)])(this[_0x3edd29(0x22c)],[[_0x2a1a55],[_0x30002b],[_0x129987]]),this[_0x3edd29(0x317)][_0x3edd29(0x3b4)](_0x36cce1[_0x3edd29(0x1fe)][_0x3edd29(0x355)])[_0x3edd29(0x56d)](_0x4833c0=>this[_0x3edd29(0x118)](_0x4833c0['getUnitId']())),(0x0,_0x36cce1[_0x3edd29(0x314)])(this[_0x3edd29(0x22c)],[[_0x39a271],[_0x28f9fd]]);}[_0x292328(0x1af)](){const _0x68266b=_0x292328;[[_0x2da75e,{'useClass':_0x596da3}],[_0x1c061e,{'useClass':_0xa2e24c}],[_0x13cb3e,{'useClass':_0x2d40ed}],[_0x908dae,{'useClass':_0x2a1a55}],[_0x337558,{'useClass':_0x199fb3}],[_0x4a8765,{'useClass':_0x30002b}],[_0x129987],[_0x39a271],[_0x28f9fd]][_0x68266b(0x56d)](_0x114a65=>this[_0x68266b(0x22c)][_0x68266b(0x18c)](_0x114a65));}[_0x292328(0x4a8)](){const _0x49a720=_0x292328;[_0x3b76ca,_0x128d7a,_0x5283b4,_0x564cb0,_0x3f60c1,_0x23e4e3,_0x511c42,_0x3a6bff,_0xb2c7cd,_0x4b155a,_0x5badf3,_0x524fde,_0x4b2412,_0x26af1d,_0xb098ed,_0x561447,_0x2aaab8,_0x1c1dfb,_0x469a32,_0x3d88ce,_0x4f397b,_0xa3d6d0,_0x4ffc3d,_0x52dcb0,_0x3f4fef,_0x3a91a1,_0x5be512,_0x2a53c2,_0x50b7a8,_0x581290,_0x51cb95,_0x43ef6d,_0x962bd1,_0x3c4d38,_0x5d838c,_0x4c2884,_0xc93322,_0x454df1,_0x1cb9f3,_0x12f8c7,_0x638828,..._0x14b1ee][_0x49a720(0x56d)](_0x293d25=>this['disposeWithMe'](this[_0x49a720(0x434)]['registerCommand'](_0x293d25))),_0x14b1ee[_0x49a720(0x56d)](_0x444c9e=>{const _0x3718b9=_0x49a720;var _0x4bc625;return(_0x4bc625=this[_0x3718b9(0x133)])==null?void 0x0:_0x4bc625['registerSyncingMutations'](_0x444c9e);});}[_0x292328(0x483)](){const _0x594c9a=_0x292328;this[_0x594c9a(0x133)]&&(this[_0x594c9a(0x51f)](this[_0x594c9a(0x317)][_0x594c9a(0x202)](_0x36cce1[_0x594c9a(0x1fe)][_0x594c9a(0x355)])[_0x594c9a(0x253)](({unit:_0x2c94a3})=>{const _0x51f235=_0x594c9a;this[_0x51f235(0x118)](_0x2c94a3[_0x51f235(0x31f)]());})),this[_0x594c9a(0x51f)](this['_univerInstanceService'][_0x594c9a(0x573)](_0x36cce1[_0x594c9a(0x1fe)]['UNIVER_BASE'])[_0x594c9a(0x253)](_0x1098a0=>{const _0x347a91=_0x594c9a;var _0x2183bd;(_0x2183bd=this[_0x347a91(0x3e0)]['get'](_0x1098a0['getUnitId']()))==null||_0x2183bd['dispose'](),this[_0x347a91(0x3e0)][_0x347a91(0x3ce)](_0x1098a0[_0x347a91(0x31f)]());})));}[_0x292328(0x118)](_0x417e81){const _0x226617=_0x292328;this[_0x226617(0x133)]&&!this[_0x226617(0x3e0)][_0x226617(0x16f)](_0x417e81)&&this[_0x226617(0x3e0)][_0x226617(0x251)](_0x417e81,this[_0x226617(0x133)][_0x226617(0x549)](_0x417e81));}['_initRegistries'](){const _0x6e4eaf=_0x292328;let _0x2c0a3d=this[_0x6e4eaf(0x22c)][_0x6e4eaf(0x1fa)](_0x2da75e);_0x55fdd8()[_0x6e4eaf(0x56d)](_0x10f10=>_0x2c0a3d[_0x6e4eaf(0x4f8)](_0x10f10));let _0x4f5a6f=this['_injector'][_0x6e4eaf(0x1fa)](_0x1c061e),_0x11e865=this[_0x6e4eaf(0x22c)][_0x6e4eaf(0x1fa)](_0x13cb3e);_0x381e13()['forEach'](_0x500ffa=>{const _0x19853e=_0x6e4eaf;_0x4f5a6f[_0x19853e(0x4f8)](_0x500ffa),_0x11e865['registerView'](_0x500ffa);});}};_0x248767(_0x76b960,_0x292328(0x1e8),_0x292328(0x1ee)),_0x248767(_0x76b960,_0x292328(0x1c4),_0x54c469),_0x248767(_0x76b960,_0x292328(0x22b),_0x1fc0ff),_0x248767(_0x76b960,_0x292328(0x11c),_0x36cce1[_0x292328(0x1fe)][_0x292328(0x355)]),_0x76b960=_0x1f4d84([(0x0,_0x36cce1[_0x292328(0x35b)])(_0x231ea5[_0x292328(0x428)],_0x7de12b[_0x292328(0x240)]),_0xb6ba9a(0x1,(0x0,_0x36cce1[_0x292328(0x2b3)])(_0x36cce1[_0x292328(0x32c)])),_0xb6ba9a(0x2,_0x36cce1[_0x292328(0x1f4)]),_0xb6ba9a(0x3,_0x36cce1['IUniverInstanceService']),_0xb6ba9a(0x4,_0x36cce1['IConfigService']),_0xb6ba9a(0x5,(0x0,_0x36cce1[_0x292328(0x31b)])(_0x468347[_0x292328(0x2c9)]))],_0x76b960);let _0x452c3a=class extends _0x36cce1[_0x292328(0x414)]{constructor(_0xd080c6=_0x4a4810,_0x3a9717,_0x5c187e,_0x158ccc,_0x1d0fc8){const _0x3c81b2=_0x292328;super(),this['_config']=_0xd080c6,this[_0x3c81b2(0x22c)]=_0x3a9717,this[_0x3c81b2(0x434)]=_0x5c187e,this[_0x3c81b2(0x56f)]=_0x158ccc,this[_0x3c81b2(0x317)]=_0x1d0fc8;let {..._0x221c75}=(0x0,_0x36cce1[_0x3c81b2(0x3b6)])({},_0x4a4810,this['_config']);this['_configService'][_0x3c81b2(0x1d4)](_0x3c81b2(0x1e9),_0x221c75),this[_0x3c81b2(0x317)][_0x3c81b2(0x184)](_0x36cce1[_0x3c81b2(0x1fe)][_0x3c81b2(0x355)],_0x36cce1[_0x3c81b2(0x567)]),[[_0x2da75e,{'useClass':_0x596da3}],[_0x13cb3e,{'useClass':_0x2d40ed}]][_0x3c81b2(0x56d)](_0xabf650=>this[_0x3c81b2(0x22c)]['add'](_0xabf650)),_0x14b1ee[_0x3c81b2(0x56d)](_0x28be9a=>this[_0x3c81b2(0x51f)](this['_commandService']['registerCommand'](_0x28be9a)));}};_0x248767(_0x452c3a,_0x292328(0x1e8),_0x292328(0x42e)),_0x248767(_0x452c3a,_0x292328(0x1c4),_0x54c469),_0x248767(_0x452c3a,_0x292328(0x22b),_0x1fc0ff),_0x248767(_0x452c3a,_0x292328(0x11c),_0x36cce1['UniverInstanceType'][_0x292328(0x355)]),_0x452c3a=_0x1f4d84([(0x0,_0x36cce1['DependentOn'])(_0x231ea5['UniverLicensePlugin'],_0x7de12b[_0x292328(0x240)]),_0xb6ba9a(0x1,(0x0,_0x36cce1[_0x292328(0x2b3)])(_0x36cce1['Injector'])),_0xb6ba9a(0x2,_0x36cce1[_0x292328(0x1f4)]),_0xb6ba9a(0x3,_0x36cce1[_0x292328(0x48c)]),_0xb6ba9a(0x4,_0x36cce1[_0x292328(0x21d)])],_0x452c3a);function _0x51be15(_0x598da7){const _0x1b9ae2=_0x292328;let _0x1bf412=_0x5f55a5(_0x598da7[_0x1b9ae2(0x2d1)]);if(!_0x1bf412)return{'query':'','total':0x0,'matches':[]};let _0x4dce43=[],_0xc600a4=[];for(let _0x34191e=0x0;_0x34191e<_0x598da7['fieldIds'][_0x1b9ae2(0x4fc)];_0x34191e++){if(!(_0x34191e in _0x598da7[_0x1b9ae2(0x10e)]))continue;let _0x29fee7=_0x598da7[_0x1b9ae2(0x442)]['fields'][_0x598da7[_0x1b9ae2(0x10e)][_0x34191e]];_0x29fee7&&_0xc600a4[_0x1b9ae2(0x429)]({'field':_0x29fee7,'fieldIndex':_0x34191e});}_0x598da7[_0x1b9ae2(0x195)][_0x1b9ae2(0x56d)]((_0x29f609,_0x2bf94e)=>{const _0x5a7562=_0x1b9ae2;_0xc600a4[_0x5a7562(0x56d)](({field:_0x28f7b5,fieldIndex:_0x200b99})=>{const _0xe722b9=_0x5a7562;let _0x5398d2=_0x3d2229(_0x29f609[_0xe722b9(0x1ea)][_0x28f7b5['id']],_0x28f7b5);if(!_0x5398d2)return;let _0x44bf55=_0x1f0f98(_0x1bf412,_0x5398d2[_0xe722b9(0x2a6)]);_0x44bf55<=0x0||_0x4dce43['push']({'recordId':_0x29f609[_0xe722b9(0x33c)],'fieldId':_0x28f7b5['id'],'fieldType':_0x28f7b5[_0xe722b9(0x11c)],'text':_0x5398d2['displayText'],'score':_0x44bf55,'rowIndex':_0x2bf94e,'fieldIndex':_0x200b99});});}),_0x4dce43[_0x1b9ae2(0x2e9)]((_0x285052,_0x5d06ad)=>_0x5d06ad[_0x1b9ae2(0x4cb)]-_0x285052[_0x1b9ae2(0x4cb)]||_0x285052[_0x1b9ae2(0x17e)]-_0x5d06ad[_0x1b9ae2(0x17e)]||_0x285052[_0x1b9ae2(0x504)]-_0x5d06ad['fieldIndex']);let _0x1ea845=_0x598da7[_0x1b9ae2(0x18a)]==null?_0x4dce43:_0x4dce43[_0x1b9ae2(0x2ed)](0x0,Math[_0x1b9ae2(0x2ac)](0x0,_0x598da7['limit']));return{'query':_0x1bf412,'total':_0x4dce43[_0x1b9ae2(0x4fc)],'matches':_0x336c0b(_0x1ea845)};}function _0x3d2229(_0x1c84bf,_0x468bd9){const _0x48a4be=_0x292328;let _0x42ee74=[];for(let _0x2222bb of _0x53d0c2(_0x1c84bf,_0x468bd9)){let _0x42bc06=_0x5f55a5(_0x2222bb);_0x42bc06&&_0x42ee74[_0x48a4be(0x429)](_0x42bc06);}return _0x42ee74['length']?{'displayText':_0x30a845(_0x1c84bf,_0x468bd9),'searchTexts':_0x596155(_0x42ee74)}:null;}function _0x30a845(_0x1c4300,_0x5b7452){const _0x5c34b0=_0x292328;switch(_0x5b7452[_0x5c34b0(0x11c)]){case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x117)]:case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x2fd)]:case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x408)]:return _0x38a1d3(_0x1c4300,_0x5b7452)[_0x5c34b0(0x2a9)](',\x20');case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x416)]:return _0x162bea(_0x1c4300);case _0x36cce1[_0x5c34b0(0x229)]['Date']:case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x4a1)]:case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x203)]:return _0x410ff4(_0x1c4300,_0x5b7452);case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x28d)]:case _0x36cce1[_0x5c34b0(0x229)][_0x5c34b0(0x17d)]:return _0x321ec2(_0x1c4300,_0x5b7452);case _0x36cce1['BaseFieldType']['Progress']:return _0x3dad98(_0x1c4300,_0x5b7452);case _0x36cce1[_0x5c34b0(0x229)]['Checkbox']:return _0x1c4300?_0x5c34b0(0x29a):_0x5c34b0(0x4ae);case _0x36cce1[_0x5c34b0(0x229)]['Attachment']:return _0x4aa096(_0x1c4300)[_0x5c34b0(0x2a9)](',\x20');default:return _0x3ce975(_0x1c4300);}}function _0x53d0c2(_0x589316,_0x5a43a3){const _0x49f75a=_0x292328;switch(_0x5a43a3[_0x49f75a(0x11c)]){case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x117)]:case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x2fd)]:case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x408)]:{let _0x38a62f=_0x38a1d3(_0x589316,_0x5a43a3);if(Array[_0x49f75a(0x3fe)](_0x589316)){let _0x3656f8=[..._0x38a62f];for(let _0x458268=0x0;_0x458268<_0x589316[_0x49f75a(0x4fc)];_0x458268++)_0x458268 in _0x589316&&_0x3656f8[_0x49f75a(0x429)](String(_0x589316[_0x458268]));return _0x3656f8;}return _0x589316==null?_0x38a62f:[..._0x38a62f,String(_0x589316)];}case _0x36cce1[_0x49f75a(0x229)]['Link']:{let _0x1645dc=_0x1569ba(_0x589316);return[_0x1645dc[_0x49f75a(0x272)],_0x1645dc[_0x49f75a(0x39d)]];}case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x285)]:case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x4a1)]:case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x203)]:return[_0x410ff4(_0x589316,_0x5a43a3),_0x3ce975(_0x589316)];case _0x36cce1['BaseFieldType'][_0x49f75a(0x28d)]:case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x17d)]:return[_0x321ec2(_0x589316,_0x5a43a3),_0x3ce975(_0x589316)];case _0x36cce1[_0x49f75a(0x229)]['Progress']:return[_0x3dad98(_0x589316,_0x5a43a3),_0x3ce975(_0x589316)];case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x42d)]:return _0x589316?[_0x49f75a(0x29a),_0x49f75a(0x212),_0x49f75a(0x34c)]:[_0x49f75a(0x4ae),'No',_0x49f75a(0x47b)];case _0x36cce1[_0x49f75a(0x229)][_0x49f75a(0x4d4)]:return _0x4aa096(_0x589316);default:return[_0x3ce975(_0x589316)];}}function _0x38a1d3(_0x4091bd,_0x5114ef){const _0x57024a=_0x292328;var _0x3e9e8c;let _0x270282=Array[_0x57024a(0x3fe)]((_0x3e9e8c=_0x5114ef[_0x57024a(0x441)])==null?void 0x0:_0x3e9e8c[_0x57024a(0x1b9)])?_0x5114ef[_0x57024a(0x441)][_0x57024a(0x1b9)]:[],_0x398ce4=[];if(Array['isArray'](_0x4091bd)){for(let _0x32b244=0x0;_0x32b244<_0x4091bd[_0x57024a(0x4fc)];_0x32b244++){if(!(_0x32b244 in _0x4091bd))continue;let _0x228551=String(_0x4091bd[_0x32b244]);_0x228551&&_0x398ce4[_0x57024a(0x429)](_0x2fa48e(_0x270282,_0x228551));}return _0x398ce4;}if(_0x4091bd!=null){let _0x25737d=String(_0x4091bd);_0x25737d&&_0x398ce4[_0x57024a(0x429)](_0x2fa48e(_0x270282,_0x25737d));}return _0x398ce4;}function _0x2fa48e(_0x4cd52f,_0x561f8d){const _0x4968ed=_0x292328;for(let _0x1356d0 of _0x4cd52f){if(typeof _0x1356d0==_0x4968ed(0x4ce)&&_0x1356d0===_0x561f8d)return _0x1356d0;if(_0x1356d0&&typeof _0x1356d0==_0x4968ed(0x2f7)){let _0x4f58f8=_0x1356d0;if(String(_0x4f58f8['id']??_0x4f58f8['name']??'')===_0x561f8d||String(_0x4f58f8[_0x4968ed(0x4c0)]??'')===_0x561f8d)return String(_0x4f58f8['name']??_0x4f58f8['id']??_0x561f8d);}}return _0x561f8d;}function _0x1569ba(_0x36f150){const _0x32a9e1=_0x292328;if(_0x36f150&&typeof _0x36f150=='object'&&!Array[_0x32a9e1(0x3fe)](_0x36f150)){let _0x444116=_0x36f150;return{'text':String(_0x444116[_0x32a9e1(0x272)]??_0x444116[_0x32a9e1(0x39d)]??''),'url':String(_0x444116[_0x32a9e1(0x39d)]??'')};}return{'text':_0x3ce975(_0x36f150),'url':_0x3ce975(_0x36f150)};}function _0x162bea(_0x3a447e){const _0x3c147f=_0x292328;let _0xf9be8c=_0x1569ba(_0x3a447e);return _0xf9be8c[_0x3c147f(0x272)]||_0xf9be8c[_0x3c147f(0x39d)];}function _0x410ff4(_0x3e19ff,_0x4f25dd){const _0x39be4d=_0x292328;return typeof _0x3e19ff!=_0x39be4d(0x2dd)||!Number[_0x39be4d(0x313)](_0x3e19ff)?'':_0xc050ca(_0x3e19ff,_0x4f25dd[_0x39be4d(0x441)]);}function _0x321ec2(_0x57a485,_0x55d98a){const _0x4d3f88=_0x292328;let _0x37d4e8=typeof _0x57a485=='number'?_0x57a485:Number(_0x57a485);return Number[_0x4d3f88(0x313)](_0x37d4e8)?_0x2b3669(_0x37d4e8,_0x55d98a[_0x4d3f88(0x441)]):'';}function _0x3dad98(_0x55da42,_0xb1d478){const _0x45ebe3=_0x292328;let _0x5893f1=typeof _0x55da42==_0x45ebe3(0x2dd)?_0x55da42:Number(_0x55da42);return Number[_0x45ebe3(0x313)](_0x5893f1)?_0x1d7dfc(_0x5893f1,_0xb1d478[_0x45ebe3(0x441)]):'';}function _0x4aa096(_0x2c3e6c){const _0x25456f=_0x292328;return Array[_0x25456f(0x3fe)](_0x2c3e6c)?_0x2c3e6c['flatMap'](_0x1a0f1c=>{const _0x5f11c8=_0x25456f;if(!_0x1a0f1c||typeof _0x1a0f1c!=_0x5f11c8(0x2f7))return[];let _0x4304b2=_0x1a0f1c,_0x2cd32a=String(_0x4304b2[_0x5f11c8(0x4c0)]??_0x4304b2[_0x5f11c8(0x39d)]??'')[_0x5f11c8(0x2b7)]();return _0x2cd32a?[_0x2cd32a]:[];}):[];}function _0x3ce975(_0x4a1b4e){const _0x1d7734=_0x292328;if(_0x4a1b4e==null)return'';if(typeof _0x4a1b4e==_0x1d7734(0x236))return _0x4a1b4e?_0x1d7734(0x561):_0x1d7734(0x471);if(typeof _0x4a1b4e=='number')return String(_0x4a1b4e);if(Array['isArray'](_0x4a1b4e)){let _0x3899a1=[];for(let _0x5eb9cb=0x0;_0x5eb9cb<_0x4a1b4e[_0x1d7734(0x4fc)];_0x5eb9cb++){if(!(_0x5eb9cb in _0x4a1b4e))continue;let _0x311dd0=_0x3ce975(_0x4a1b4e[_0x5eb9cb]);_0x311dd0&&_0x3899a1[_0x1d7734(0x429)](_0x311dd0);}return _0x3899a1[_0x1d7734(0x2a9)](',\x20');}if(typeof _0x4a1b4e==_0x1d7734(0x2f7)){let _0x21b0c5=_0x4a1b4e;return String(_0x21b0c5[_0x1d7734(0x220)]??_0x21b0c5[_0x1d7734(0x4c0)]??_0x21b0c5[_0x1d7734(0x272)]??_0x21b0c5[_0x1d7734(0x39d)]??'')[_0x1d7734(0x2b7)]();}return String(_0x4a1b4e);}function _0x1f0f98(_0x5ddd7d,_0x1733e3){const _0x2ac302=_0x292328;let _0x1ca74c=0x0;for(let _0x1270dd of _0x1733e3)_0x1270dd&&(_0x1270dd===_0x5ddd7d?_0x1ca74c=Math[_0x2ac302(0x2ac)](_0x1ca74c,0x12c):_0x1270dd[_0x2ac302(0x1c2)](_0x5ddd7d)?_0x1ca74c=Math[_0x2ac302(0x2ac)](_0x1ca74c,0xfa):_0x1270dd[_0x2ac302(0x18d)](_0x5ddd7d)&&(_0x1ca74c=Math[_0x2ac302(0x2ac)](_0x1ca74c,0xc8)));return _0x1ca74c;}function _0x5f55a5(_0x5a796e){const _0x395bd8=_0x292328;return _0x5a796e[_0x395bd8(0x2b7)]()[_0x395bd8(0x344)](/\s+/g,'\x20')[_0x395bd8(0x4db)]();}function _0x596155(_0x356f9f){const _0x275794=_0x292328;return Array[_0x275794(0x11f)](new Set(_0x356f9f));}function _0x336c0b(_0x2f911f){const _0xb34fdd=_0x292328;let _0x479e50=[];for(let {rowIndex:_0x137b35,fieldIndex:_0x482188,..._0x3ccdcf}of _0x2f911f)_0x479e50[_0xb34fdd(0x429)](_0x3ccdcf);return _0x479e50;}function _0x336bc0(_0x2f26d3){const _0x1c9fd2=_0x292328;return{'compress':!0x0,'kind':_0x1c9fd2(0x242),'u':_0x2f26d3[_0x1c9fd2(0x273)],'t':_0x2f26d3['tableId'],'p':_0x2f26d3[_0x1c9fd2(0x43b)][_0x1c9fd2(0x421)](_0x15f2a1=>[_0x15f2a1[_0x1c9fd2(0x4eb)],_0x15f2a1[_0x1c9fd2(0x418)],_0x3466c3(_0x15f2a1['value'])]),..._0x2f26d3[_0x1c9fd2(0x1cf)]===void 0x0?{}:{'g':_0x2f26d3[_0x1c9fd2(0x1cf)]}};}function _0x3670ae(_0x144f4c){const _0x2261de=_0x292328;if(_0x2182e4(_0x144f4c,_0x2261de(0x242)),!_0x4b32d6(_0x144f4c)){if(!_0x580599(_0x144f4c))throw Error(_0x2261de(0x28b));return _0x144f4c;}return{'unitId':_0x144f4c['u'],'tableId':_0x144f4c['t'],'patches':_0x144f4c['p'][_0x2261de(0x421)](([_0x461685,_0x4d3fdc,_0x3469d5])=>({'row':_0x461685,'col':_0x4d3fdc,'value':_0x4722fb(_0x3469d5)})),..._0x144f4c['g']===void 0x0?{}:{'trigger':_0x144f4c['g']}};}function _0x4b32d6(_0xe6f380){const _0x1a34fe=_0x292328;return!_0x3e53d0(_0xe6f380)||_0xe6f380[_0x1a34fe(0x4ea)]!==!0x0||_0xe6f380[_0x1a34fe(0x330)]!==_0x1a34fe(0x242)?!0x1:typeof _0xe6f380['u']==_0x1a34fe(0x4ce)&&typeof _0xe6f380['t']==_0x1a34fe(0x4ce)&&(_0xe6f380['g']===void 0x0||typeof _0xe6f380['g']==_0x1a34fe(0x4ce))&&Array[_0x1a34fe(0x3fe)](_0xe6f380['p'])&&_0xe6f380['p'][_0x1a34fe(0x20f)](_0x585991=>Array['isArray'](_0x585991)&&_0x585991[_0x1a34fe(0x4fc)]===0x3&&Number['isInteger'](_0x585991[0x0])&&Number['isInteger'](_0x585991[0x1]));}function _0x21be03(_0x18e262){const _0x29b050=_0x292328;return!_0x3e53d0(_0x18e262)||_0x18e262[_0x29b050(0x4ea)]!==!0x0||_0x18e262[_0x29b050(0x330)]!==_0x29b050(0x4a7)||!_0x3e53d0(_0x18e262[_0x29b050(0x288)])?!0x1:Object['values'](_0x18e262[_0x29b050(0x288)])['every'](_0x423aec=>_0x3e53d0(_0x423aec)&&(_0x423aec['cd']===void 0x0||Array[_0x29b050(0x3fe)](_0x423aec['cd'])&&_0x423aec['cd'][_0x29b050(0x20f)](_0x5776b9=>Array[_0x29b050(0x3fe)](_0x5776b9)&&_0x5776b9[_0x29b050(0x4fc)]===0x3&&Number[_0x29b050(0x1b4)](_0x5776b9[0x0])&&Number['isInteger'](_0x5776b9[0x1])&&_0xaeadc9(_0x5776b9[0x2]))));}function _0x3466c3(_0x40c1b5){return _0x470b14(_0x40c1b5)?_0x5b3e4d(_0x40c1b5):_0x40c1b5;}function _0x4722fb(_0x4b77a9){return _0xaeadc9(_0x4b77a9)?_0x18cb80(_0x4b77a9):_0x4b77a9;}function _0x5b3e4d(_0x5dadc1){return{'c':0x1,..._0x5dadc1['v']===void 0x0?{}:{'v':_0x5dadc1['v']},..._0x5dadc1['t']!==void 0x0&&_0x5dadc1['t']!==null?{'t':_0x5dadc1['t']}:_0x5dadc1['t']===null?{'t':null}:{},..._0x5dadc1['f']!==void 0x0&&_0x5dadc1['f']!==null?{'f':_0x5dadc1['f']}:_0x5dadc1['f']===null?{'f':null}:{},..._0x5dadc1['si']!==void 0x0&&_0x5dadc1['si']!==null?{'si':_0x5dadc1['si']}:_0x5dadc1['si']===null?{'si':null}:{},..._0x5dadc1['p']!==void 0x0&&_0x5dadc1['p']!==null?{'p':_0x5dadc1['p']}:_0x5dadc1['p']===null?{'p':null}:{}};}function _0x18cb80(_0x233098){return{..._0x233098['v']===void 0x0?{}:{'v':_0x233098['v']},..._0x233098['t']===void 0x0?{}:{'t':_0x233098['t']},..._0x233098['f']===void 0x0?{}:{'f':_0x233098['f']},..._0x233098['si']===void 0x0?{}:{'si':_0x233098['si']},..._0x233098['p']===void 0x0?{}:{'p':_0x233098['p']}};}function _0x470b14(_0x22f3d2){const _0x197c53=_0x292328;return!!_0x22f3d2&&typeof _0x22f3d2==_0x197c53(0x2f7)&&!Array['isArray'](_0x22f3d2)&&(Object[_0x197c53(0x19f)][_0x197c53(0x2a4)][_0x197c53(0x4ee)](_0x22f3d2,'v')||Object[_0x197c53(0x19f)][_0x197c53(0x2a4)][_0x197c53(0x4ee)](_0x22f3d2,'t')||Object[_0x197c53(0x19f)]['hasOwnProperty'][_0x197c53(0x4ee)](_0x22f3d2,'p')||Object[_0x197c53(0x19f)][_0x197c53(0x2a4)][_0x197c53(0x4ee)](_0x22f3d2,'f')||Object['prototype']['hasOwnProperty']['call'](_0x22f3d2,'si'));}function _0xaeadc9(_0x48c712){return _0x3e53d0(_0x48c712)&&_0x48c712['c']===0x1;}function _0x580599(_0x113bd0){const _0x36882e=_0x292328;return _0x3e53d0(_0x113bd0)&&typeof _0x113bd0['unitId']==_0x36882e(0x4ce)&&typeof _0x113bd0['tableId']==_0x36882e(0x4ce)&&(_0x113bd0[_0x36882e(0x1cf)]===void 0x0||typeof _0x113bd0[_0x36882e(0x1cf)]==_0x36882e(0x4ce))&&Array[_0x36882e(0x3fe)](_0x113bd0['patches'])&&_0x113bd0[_0x36882e(0x43b)][_0x36882e(0x20f)](_0x1320ab=>_0x3e53d0(_0x1320ab)&&Number[_0x36882e(0x1b4)](_0x1320ab[_0x36882e(0x4eb)])&&Number[_0x36882e(0x1b4)](_0x1320ab[_0x36882e(0x418)])&&_0x36882e(0x32d)in _0x1320ab);}function _0x2182e4(_0x1f4f48,_0x492db1){const _0x515798=_0x292328;if(_0x3e53d0(_0x1f4f48)&&_0x1f4f48[_0x515798(0x4ea)]===!0x0){if(_0x1f4f48['kind']!==_0x492db1)throw Error(_0x515798(0x21c)+String(_0x1f4f48[_0x515798(0x330)])+'\x22.');if(!(_0x492db1==='base-range-values-v1'?_0x4b32d6(_0x1f4f48):_0x21be03(_0x1f4f48)))throw Error(_0x515798(0x3c2)+_0x492db1+'\x22.');}}function _0x3e53d0(_0x1a0bdd){const _0x21f18a=_0x292328;return!!_0x1a0bdd&&typeof _0x1a0bdd==_0x21f18a(0x2f7)&&!Array[_0x21f18a(0x3fe)](_0x1a0bdd);}_0x258158['ApplyBaseJson1Mutation']=_0x2995c3,_0x258158[_0x292328(0x463)]=_0x2deaa1,_0x258158['BASE_HIERARCHY_MAX_LEVELS']=0x5,_0x258158[_0x292328(0x386)]=_0xd7dff3,_0x258158[_0x292328(0x3dd)]='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).',_0x258158[_0x292328(0x1bf)]=_0x2237ea,_0x258158[_0x292328(0x28f)]=_0x3e5895,_0x258158[_0x292328(0x3fc)]=_0xe8ae77,_0x258158[_0x292328(0x1ce)]=_0x2ed136,_0x258158['BaseHierarchyError']=_0x33b26b,_0x258158[_0x292328(0x4fb)]=_0x5387ac,_0x258158[_0x292328(0x3e3)]=_0x2df54b,_0x258158[_0x292328(0x565)]=_0x4263aa,_0x258158[_0x292328(0x1b6)]=_0x5abfd2,_0x258158['BatchCreateBaseRecordsCommand']=_0xb2c7cd,_0x258158[_0x292328(0x485)]=_0x5badf3,_0x258158[_0x292328(0x50c)]=_0x469a32,_0x258158[_0x292328(0x1b2)]=_0x3a6bff,_0x258158[_0x292328(0x214)]=_0xb098ed,_0x258158[_0x292328(0x24b)]=_0x511c42,_0x258158[_0x292328(0x444)]=_0x3b76ca,_0x258158[_0x292328(0x247)]=_0x4ffc3d,_0x258158[_0x292328(0x514)]=_0x3d88ce,_0x258158['DeleteBaseRecordCommand']=_0x4b155a,_0x258158['DeleteBaseTableCommand']=_0x5283b4,_0x258158[_0x292328(0x35f)]=_0x5be512,_0x258158['DuplicateBaseFieldCommand']=_0x561447,_0x258158[_0x292328(0x495)]=_0x524fde,_0x258158[_0x292328(0x478)]=_0x2249b5,_0x258158[_0x292328(0x401)]=_0x52dcb0,_0x258158[_0x292328(0x440)]=_0x4a8765,_0x258158[_0x292328(0x534)]=_0x337558,_0x258158[_0x292328(0x38e)]=_0x13cb3e,_0x258158[_0x292328(0x328)]=_0x1c061e,_0x258158[_0x292328(0x221)]=_0x4f397b,_0x258158[_0x292328(0x271)]=_0x26af1d,_0x258158[_0x292328(0x426)]=_0x2a53c2,_0x258158['RenameBaseTableCommand']=_0x128d7a,_0x258158[_0x292328(0x456)]=_0x3f4fef,_0x258158[_0x292328(0x138)]=_0x51cb95,_0x258158['SetBaseNameCommand']=_0x3a91a1,_0x258158[_0x292328(0x558)]=_0x43ef6d,_0x258158[_0x292328(0x315)]=_0x29be0e,_0x258158[_0x292328(0x228)]=_0x145208,_0x258158[_0x292328(0x40e)]=_0x962bd1,_0x258158[_0x292328(0x391)]=_0x23e4e3,_0x258158[_0x292328(0x369)]=_0x3f60c1,_0x258158[_0x292328(0x2aa)]=_0x454df1,_0x258158[_0x292328(0x278)]=_0x638828,_0x258158[_0x292328(0x36a)]=_0x1cb9f3,_0x258158[_0x292328(0x365)]=_0x12f8c7,_0x258158[_0x292328(0x18f)]=_0x5d838c,_0x258158[_0x292328(0x2db)]=_0xc93322,_0x258158[_0x292328(0x232)]=_0x4c2884,Object[_0x292328(0x39c)](_0x258158,_0x292328(0x2f1),{'enumerable':!0x0,'get':function(){return _0x76b960;}}),Object['defineProperty'](_0x258158,_0x292328(0x1df),{'enumerable':!0x0,'get':function(){return _0x452c3a;}}),_0x258158[_0x292328(0x38a)]=_0x564cb0,_0x258158[_0x292328(0x56e)]=_0x2aaab8,_0x258158['UpdateBaseFieldDescriptionCommand']=_0x1c1dfb,_0x258158['UpdateBaseKanbanConfigCommand']=_0x3c4d38,_0x258158[_0x292328(0x16b)]=_0x4b2412,_0x258158[_0x292328(0x2d0)]=_0x581290,_0x258158[_0x292328(0x258)]=_0x50b7a8,_0x258158[_0x292328(0x54b)]=_0xa3d6d0,_0x258158[_0x292328(0x3a0)]=_0x4da510,_0x258158[_0x292328(0x11b)]=_0x575e29,_0x258158[_0x292328(0x2b4)]=_0x51e058,_0x258158[_0x292328(0x39b)]=_0x5d8eac,_0x258158[_0x292328(0x370)]=_0x336bc0,_0x258158[_0x292328(0x319)]=_0x10a556,_0x258158[_0x292328(0x303)]=_0x44c347,_0x258158[_0x292328(0x54f)]=_0x49f875,_0x258158['createEmbedBasesTable']=_0x1c843e,_0x258158[_0x292328(0x17c)]=_0x321b81,_0x258158['createEmbedBasesTableRemoveMutation']=_0xbfcc40,_0x258158[_0x292328(0x2a1)]=_0x2b547d,_0x258158['dateToExcelSerial']=_0x3c98ee,_0x258158[_0x292328(0x333)]=_0x3670ae,_0x258158[_0x292328(0x2c1)]=_0x526a9d,_0x258158[_0x292328(0x3fa)]=_0x28bc25,_0x258158[_0x292328(0x1b5)]=_0xc050ca,_0x258158['formatBaseFieldStatValue']=_0x15dd01,_0x258158['formatBaseNumberValue']=_0x2b3669,_0x258158[_0x292328(0x3f2)]=_0x1d7dfc,_0x258158[_0x292328(0x519)]=_0x145f37,_0x258158['getBaseCellFormulaValue']=_0x171195,_0x258158[_0x292328(0x43f)]=_0x31c7d9,_0x258158[_0x292328(0x28c)]=_0x4f2f06,_0x258158[_0x292328(0x341)]=_0x3e7c86,_0x258158['getBaseFieldPermissionObjectId']=_0x7d8403,Object[_0x292328(0x39c)](_0x258158,_0x292328(0x14f),{'enumerable':!0x0,'get':function(){return _0x36cce1['getBaseFormulaTableName'];}}),_0x258158[_0x292328(0x1ef)]=_0x5b2e57,_0x258158[_0x292328(0x1f8)]=_0x3a027d,_0x258158[_0x292328(0x217)]=_0x293135,_0x258158['getBaseRecordPermissionObjectId']=_0x551842,_0x258158[_0x292328(0x1a7)]=_0x27f7d4,_0x258158[_0x292328(0x302)]=_0x464395,_0x258158['getRecordLinkFieldConfig']=_0x4ab7c2,_0x258158[_0x292328(0x30f)]=_0x4f9490,_0x258158[_0x292328(0x53a)]=_0x469ae5,_0x258158[_0x292328(0x1b0)]=_0x3a195c,_0x258158[_0x292328(0x38b)]=_0x5d194c,_0x258158[_0x292328(0x454)]=_0x1f3eae,_0x258158[_0x292328(0x569)]=_0x6c2c7f,_0x258158[_0x292328(0x1be)]=_0x3ab346,_0x258158['isBaseHierarchyField']=_0x3e34db,_0x258158[_0x292328(0x25e)]=_0x4b32d6,_0x258158['matchesBaseCondition']=_0x4c2e9d,_0x258158[_0x292328(0x2c8)]=_0x2fe3a3,_0x258158[_0x292328(0x12b)]=_0x370ca4,_0x258158[_0x292328(0x489)]=_0xda14e9,_0x258158[_0x292328(0x1b3)]=_0x1f8a90,_0x258158[_0x292328(0x187)]=_0x38e061,_0x258158[_0x292328(0x4d6)]=_0x3fbd93,_0x258158[_0x292328(0x169)]=_0x3dcefb,_0x258158[_0x292328(0x4dc)]=_0x4d9632,_0x258158[_0x292328(0x13f)]=_0x51be15,_0x258158['serializeRecordLinkIds']=_0x168a1a,_0x258158[_0x292328(0x3e2)]=_0x5a704a,_0x258158[_0x292328(0x3e8)]=_0x296aa6,_0x258158[_0x292328(0x521)]=_0x1847d4,_0x258158[_0x292328(0x4b8)]=_0x379177,_0x258158['validateBaseHierarchyRecordCreations']=_0x35c4bc,_0x258158[_0x292328(0x248)]=_0x13a199,_0x258158[_0x292328(0x310)]=_0x1b2871,_0x258158[_0x292328(0x4f9)]=_0x18c815,_0x258158['validateRecordLinkField']=_0x383bb3,_0x258158[_0x292328(0x552)]=_0x4a4fc8;}));