@univerjs-pro/bases 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +8 -8
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x75efe3,_0x1319f2){const _0x49fa08=_0x5a55,_0x5dc8b7=_0x75efe3();while(!![]){try{const _0x10c77b=parseInt(_0x49fa08(0x499))/0x1+parseInt(_0x49fa08(0x239))/0x2*(-parseInt(_0x49fa08(0x271))/0x3)+parseInt(_0x49fa08(0x2c9))/0x4+parseInt(_0x49fa08(0x2f7))/0x5+parseInt(_0x49fa08(0x1fc))/0x6+parseInt(_0x49fa08(0x374))/0x7+-parseInt(_0x49fa08(0x4bd))/0x8*(parseInt(_0x49fa08(0x3c4))/0x9);if(_0x10c77b===_0x1319f2)break;else _0x5dc8b7['push'](_0x5dc8b7['shift']());}catch(_0x39eb86){_0x5dc8b7['push'](_0x5dc8b7['shift']());}}}(_0xda82,0xc97af),function(_0x52cab8,_0x41b5f9){const _0x29c884=_0x5a55;typeof exports==_0x29c884(0x304)&&typeof module<'u'?_0x41b5f9(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=='function'&&define[_0x29c884(0x145)]?define([_0x29c884(0x4ab),'@univerjs/core',_0x29c884(0x255),'@univerjs/protocol','@univerjs-pro/license','@univerjs/rpc','@univerjs/engine-formula'],_0x41b5f9):(_0x52cab8=typeof globalThis<'u'?globalThis:_0x52cab8||self,_0x41b5f9(_0x52cab8['UniverProBases']={},_0x52cab8[_0x29c884(0x337)],_0x52cab8[_0x29c884(0x109)],_0x52cab8[_0x29c884(0x223)],_0x52cab8['UniverProLicense'],_0x52cab8[_0x29c884(0x491)],_0x52cab8[_0x29c884(0x192)]));}(this,function(_0x56a4c1,_0x1684be,_0xb4ab41,_0x34d39d,_0x4da5ab,_0x10bc44,_0x1019da){const _0x10b817=_0x5a55;Object[_0x10b817(0x4a8)](_0x56a4c1,Symbol[_0x10b817(0x39f)],{'value':'Module'});function _0x57372f(_0x41466c){const _0x375135=_0x10b817;let _0x34c813=_0x41466c[_0x375135(0x414)][_0x375135(0x139)],_0x589d52=_0x41466c[_0x375135(0x414)]['multiple'],_0x4de130=_0x41466c[_0x375135(0x414)]['displayFieldId'],_0x3df2ba=_0x41466c[_0x375135(0x414)][_0x375135(0x2bd)],_0x3c6464=_0x41466c[_0x375135(0x414)]['relationRole'];return typeof _0x34c813!=_0x375135(0x488)||!_0x34c813||typeof _0x589d52!=_0x375135(0x4b2)||_0x4de130!==void 0x0&&(typeof _0x4de130!='string'||!_0x4de130)||_0x3c6464!==void 0x0&&_0x3c6464!==_0x1684be[_0x375135(0x15d)][_0x375135(0x225)]||_0x3df2ba!==void 0x0&&(!Array[_0x375135(0x233)](_0x3df2ba)||_0x3df2ba[_0x375135(0x4d2)](_0xa06d79=>typeof _0xa06d79!=_0x375135(0x488)||!_0xa06d79)||new Set(_0x3df2ba)[_0x375135(0x51d)]!==_0x3df2ba[_0x375135(0x350)])?null:{'targetTableId':_0x34c813,'multiple':_0x589d52,..._0x4de130?{'displayFieldId':_0x4de130}:{},..._0x3df2ba?{'pickerFieldIds':[..._0x3df2ba]}:{},..._0x3c6464?{'relationRole':_0x3c6464}:{}};}function _0x4ebe11(_0x143bfc){const _0x14c6b4=_0x10b817;return typeof _0x143bfc!=_0x14c6b4(0x488)||_0x143bfc===''?[]:_0x143bfc[_0x14c6b4(0x378)](',');}function _0x835b53(_0x15a2b7){const _0x331f6a=_0x10b817;return Array[_0x331f6a(0x1dd)](new Set(_0x15a2b7))[_0x331f6a(0x214)](',');}function _0x188677(_0xf68ce6,_0x14aa76){const _0x546ad5=_0x10b817;if(typeof _0xf68ce6!=_0x546ad5(0x488))return{'valid':!0x1,'reason':_0x546ad5(0x2a0)};if(_0xf68ce6==='')return{'valid':!0x0};let _0x137a7e=_0xf68ce6[_0x546ad5(0x378)](',');return!_0x14aa76&&_0x137a7e[_0x546ad5(0x350)]>0x1?{'valid':!0x1,'reason':_0x546ad5(0x23e)}:_0x137a7e[_0x546ad5(0x4d2)](_0x313c35=>!(0x0,_0x1684be[_0x546ad5(0x26e)])(_0x313c35))||new Set(_0x137a7e)[_0x546ad5(0x51d)]!==_0x137a7e[_0x546ad5(0x350)]||_0x835b53(_0x137a7e)!==_0xf68ce6?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x1ecc2f(_0x55e6e1,_0x575f0e){const _0x529171=_0x10b817;if(_0x575f0e['type']!==_0x1684be['BaseFieldType'][_0x529171(0x2be)])return{'valid':!0x0};let _0x2bb3c0=_0x57372f(_0x575f0e),_0x400e6f=_0x2bb3c0?_0x55e6e1[_0x529171(0x135)][_0x2bb3c0['targetTableId']]:void 0x0;if(!_0x2bb3c0||!_0x400e6f)return{'valid':!0x1,'reason':_0x529171(0x147)};let _0x5a5769=[..._0x2bb3c0[_0x529171(0x1ec)]?[_0x2bb3c0[_0x529171(0x1ec)]]:[],..._0x2bb3c0[_0x529171(0x2bd)]??[]]['find'](_0x1028b6=>{const _0x3bc23f=_0x529171;let _0x10c1fd=_0x400e6f[_0x3bc23f(0x22d)][_0x1028b6];return!_0x10c1fd||_0x10c1fd['system']===!0x0||_0x10c1fd[_0x3bc23f(0x4af)]===_0x1684be['BaseFieldType']['RecordId'];});return _0x5a5769?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x5a5769+_0x529171(0x1a0)}:{'valid':!0x0};}function _0x161c3c(_0x1eb748,_0x480a26,_0x3cebb9,_0x4a5b8a={}){const _0x1b5fdf=_0x10b817;let _0x52466f=_0x57372f(_0x480a26);if(_0x480a26[_0x1b5fdf(0x4af)]!==_0x1684be['BaseFieldType'][_0x1b5fdf(0x2be)]||!_0x52466f)return{'valid':!0x1,'reason':_0x1b5fdf(0x307)};let _0x4fcf28=_0x188677(_0x3cebb9,_0x52466f[_0x1b5fdf(0x564)]);if(!_0x4fcf28[_0x1b5fdf(0x4f7)]||_0x4a5b8a['allowDangling'])return _0x4fcf28;let _0x172a2e=_0x1eb748[_0x1b5fdf(0x135)][_0x52466f[_0x1b5fdf(0x139)]];if(!_0x172a2e)return{'valid':!0x1,'reason':_0x1b5fdf(0x147)};let _0x4cdd3f=_0x4ebe11(_0x3cebb9)[_0x1b5fdf(0x3d7)](_0x519214=>!_0x172a2e[_0x1b5fdf(0x510)][_0x519214]);return _0x4cdd3f?{'valid':!0x1,'reason':_0x1b5fdf(0x369)+_0x4cdd3f+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0xb53433(_0xe9dd15,_0x5db8b1){const _0x249f05=_0x10b817;return Object['values'](_0xe9dd15['tables'])[_0x249f05(0x158)](_0x1bf577=>Object['values'](_0x1bf577['fields'])[_0x249f05(0x158)](_0x446e45=>{const _0x57ae1b=_0x249f05;let _0x2444c4=_0x446e45[_0x57ae1b(0x4af)]===_0x1684be[_0x57ae1b(0x1e3)]['RecordLink']?_0x57372f(_0x446e45):null;return(_0x2444c4==null?void 0x0:_0x2444c4[_0x57ae1b(0x139)])===_0x5db8b1?[{'tableId':_0x1bf577['id'],'fieldId':_0x446e45['id']}]:[];}));}let _0x2e55d8='__base_hierarchy_parent__',_0x109428=function(_0x4b88ce){const _0x5337cf=_0x10b817;return _0x4b88ce[_0x5337cf(0x2e5)]=_0x5337cf(0x517),_0x4b88ce['MissingRecord']=_0x5337cf(0x273),_0x4b88ce[_0x5337cf(0x340)]=_0x5337cf(0x2a5),_0x4b88ce[_0x5337cf(0x557)]=_0x5337cf(0x1d2),_0x4b88ce['MaxDepth']=_0x5337cf(0x21f),_0x4b88ce[_0x5337cf(0x308)]=_0x5337cf(0x118),_0x4b88ce;}({});var _0x13b71c=class extends Error{constructor(_0x5f2997,_0x528085='[BaseHierarchy]:\x20'+_0x5f2997){const _0x2d9569=_0x10b817;super(_0x528085),this[_0x2d9569(0x134)]=_0x5f2997,this[_0x2d9569(0x4ed)]=_0x2d9569(0x424);}};let _0x194342=function(_0x4269c6){const _0x30438b=_0x10b817;return _0x4269c6['UI']='ui',_0x4269c6[_0x30438b(0x2b5)]=_0x30438b(0x2cf),_0x4269c6[_0x30438b(0x388)]=_0x30438b(0x352),_0x4269c6['Undo']=_0x30438b(0x384),_0x4269c6['Redo']=_0x30438b(0x524),_0x4269c6[_0x30438b(0x30e)]=_0x30438b(0x268),_0x4269c6;}({});function _0x142efb(_0x234104,_0x10d620){const _0x119fc4=_0x10b817;if(!_0x10d620)return!0x1;let _0x269815=_0x234104[_0x119fc4(0x22d)][_0x10d620];if(!_0x269815||_0x269815[_0x119fc4(0x4af)]!==_0x1684be[_0x119fc4(0x1e3)][_0x119fc4(0x2be)])return!0x1;let _0x466036=_0x57372f(_0x269815);return _0x466036?_0x466036[_0x119fc4(0x139)]===_0x234104['id']&&_0x466036[_0x119fc4(0x564)]===!0x1:!0x1;}function _0x205eaf(_0xedd80e){const _0x50dfba=_0x10b817;return[..._0xedd80e[_0x50dfba(0x3c3)],...Object['keys'](_0xedd80e[_0x50dfba(0x22d)])[_0x50dfba(0x2b7)](_0x107699=>!_0xedd80e[_0x50dfba(0x3c3)][_0x50dfba(0x41a)](_0x107699))[_0x50dfba(0x409)]()][_0x50dfba(0x3d7)](_0x59f1cb=>{const _0x25a967=_0x50dfba;var _0x5ae589;return _0x142efb(_0xedd80e,_0x59f1cb)?((_0x5ae589=_0x57372f(_0xedd80e['fields'][_0x59f1cb]))==null?void 0x0:_0x5ae589[_0x25a967(0x47a)])===_0x1684be['BaseRecordLinkRole'][_0x25a967(0x225)]:!0x1;})??null;}function _0xebf24e(_0x5477f0){const _0x20671d=_0x10b817;let _0x3bfdc9=_0x205eaf(_0x5477f0);if(_0x3bfdc9)return _0x3bfdc9;let _0x5b6a54=_0x2e55d8,_0x5485be=0x2;for(;_0x5477f0[_0x20671d(0x22d)][_0x5b6a54];)_0x5b6a54=_0x2e55d8+'_'+_0x5485be++;return _0x5b6a54;}function _0x3e1a64(_0x435459,_0x34c4f8=_0xebf24e(_0x435459),_0x2d8861=_0x10b817(0x1d7)){const _0x310875=_0x10b817;return{'id':_0x34c4f8,'name':_0x2d8861,'type':_0x1684be['BaseFieldType'][_0x310875(0x2be)],'config':{'targetTableId':_0x435459['id'],'multiple':!0x1,'displayFieldId':_0x435459[_0x310875(0x396)],'pickerFieldIds':[_0x435459[_0x310875(0x396)]],'relationRole':_0x1684be[_0x310875(0x15d)][_0x310875(0x225)]}};}function _0x1c4e11(_0x22f774){let _0x4b4082=_0x205eaf(_0x22f774);return _0x4b4082?[_0x4b4082]:[];}function _0x1e4028(_0x74cb6b,_0x1ba7ca){const _0x3839c5=_0x10b817;let _0x47005a=[..._0x1c4e11(_0x74cb6b)][_0x3839c5(0x2b7)](_0x4c3b27=>_0x1ba7ca[_0x3839c5(0x4d2)](_0x372477=>Object['prototype'][_0x3839c5(0x339)][_0x3839c5(0x3e7)](_0x372477[_0x3839c5(0x243)],_0x4c3b27)));if(!_0x47005a['length'])return[];let _0x532dd2={..._0x74cb6b[_0x3839c5(0x510)]};_0x1ba7ca[_0x3839c5(0x4ac)](_0x1c04f9=>{const _0x110e6f=_0x3839c5;let _0x30bde7=_0x532dd2[_0x1c04f9[_0x110e6f(0x240)]];_0x30bde7&&(_0x532dd2[_0x1c04f9[_0x110e6f(0x240)]]={..._0x30bde7,'values':{..._0x30bde7[_0x110e6f(0x243)],..._0x1c04f9[_0x110e6f(0x243)]}});});let _0x3d9a0f={..._0x74cb6b,'records':_0x532dd2},_0x1a1e73=[];return _0x47005a[_0x3839c5(0x4ac)](_0x1e800a=>{const _0x59d31d=_0x3839c5;let _0xf13c60=_0x2536c4(_0x74cb6b,_0x1e800a),_0x4c6ae2=_0x2536c4(_0x3d9a0f,_0x1e800a);for(let [_0x158ae2,_0x5bab7d]of _0x4c6ae2[_0x59d31d(0x3ea)]){let _0x276a34=_0x1ba7ca[_0x59d31d(0x4d2)](_0x4ec60f=>_0x4ec60f[_0x59d31d(0x240)]===_0x158ae2&&Object[_0x59d31d(0x19f)]['hasOwnProperty'][_0x59d31d(0x3e7)](_0x4ec60f[_0x59d31d(0x243)],_0x1e800a));if(_0xf13c60['invalidReasonByRecordId'][_0x59d31d(0x353)](_0x158ae2)!==_0x5bab7d||_0x276a34)throw new _0x13b71c(_0xa9793(_0x5bab7d));}_0x1ba7ca[_0x59d31d(0x4ac)](_0x5ac14b=>{const _0x19d0a1=_0x59d31d;if(!Object[_0x19d0a1(0x19f)][_0x19d0a1(0x339)][_0x19d0a1(0x3e7)](_0x5ac14b[_0x19d0a1(0x243)],_0x1e800a))return;let _0x3040e7=_0xf13c60['parentByRecordId'][_0x19d0a1(0x353)](_0x5ac14b['recordId'])??null,_0x14c6ab=_0x4c6ae2[_0x19d0a1(0x4a0)]['get'](_0x5ac14b[_0x19d0a1(0x240)])??null;_0x3040e7!==_0x14c6ab&&_0x1a1e73[_0x19d0a1(0x558)]({'tableId':_0x74cb6b['id'],'fieldId':_0x1e800a,'recordId':_0x5ac14b[_0x19d0a1(0x240)],'oldParentRecordId':_0x3040e7,'parentRecordId':_0x14c6ab});});}),_0x1a1e73;}function _0x3d0143(_0x2c2f3a,_0x51100d){const _0x5f53a8=_0x10b817;let _0x55290c=_0x51100d['map'](_0x889d02=>_0x889d02['id']);if(new Set(_0x55290c)[_0x5f53a8(0x51d)]!==_0x55290c[_0x5f53a8(0x350)]||_0x55290c[_0x5f53a8(0x4d2)](_0x2e605b=>_0x2c2f3a['records'][_0x2e605b]))return[];let _0x3bc7fb=_0x1c4e11(_0x2c2f3a),_0x5ae22d=_0x3bc7fb[_0x5f53a8(0x350)]?null:_0xebf24e(_0x2c2f3a),_0x13e93e=[..._0x3bc7fb,..._0x5ae22d&&_0x51100d['some'](_0x584e7f=>Object[_0x5f53a8(0x19f)][_0x5f53a8(0x339)][_0x5f53a8(0x3e7)](_0x584e7f['values'],_0x5ae22d))?[_0x5ae22d]:[]][_0x5f53a8(0x2b7)](_0x459c46=>_0x51100d[_0x5f53a8(0x4d2)](_0x4b95d8=>Object[_0x5f53a8(0x19f)][_0x5f53a8(0x339)][_0x5f53a8(0x3e7)](_0x4b95d8[_0x5f53a8(0x243)],_0x459c46)));if(!_0x13e93e[_0x5f53a8(0x350)])return[];let _0x348095={..._0x2c2f3a,'records':{..._0x2c2f3a['records'],...Object[_0x5f53a8(0x333)](_0x51100d[_0x5f53a8(0x4fd)](_0x19a9bb=>[_0x19a9bb['id'],_0x19a9bb]))},'recordOrder':[..._0x2c2f3a[_0x5f53a8(0x385)]??[],..._0x51100d[_0x5f53a8(0x4fd)](_0x3c607b=>_0x3c607b['id'])]},_0x37e4a1=[];return _0x13e93e[_0x5f53a8(0x4ac)](_0x535bb4=>{const _0x2f979e=_0x5f53a8;let _0x603bdf=_0x2536c4(_0x348095,_0x535bb4);_0x51100d[_0x2f979e(0x4ac)](_0x37c099=>{const _0x19aa6e=_0x2f979e;let _0x184a07=_0x603bdf['invalidReasonByRecordId'][_0x19aa6e(0x353)](_0x37c099['id']);if(_0x184a07)throw new _0x13b71c(_0xa9793(_0x184a07));let _0x24a882=_0x603bdf[_0x19aa6e(0x4a0)][_0x19aa6e(0x353)](_0x37c099['id'])??null;_0x24a882&&_0x37e4a1[_0x19aa6e(0x558)]({'tableId':_0x2c2f3a['id'],'fieldId':_0x535bb4,'recordId':_0x37c099['id'],'oldParentRecordId':null,'parentRecordId':_0x24a882});});}),_0x37e4a1;}function _0xa9793(_0x1e5513){const _0xe31615=_0x10b817;switch(_0x1e5513){case _0x1684be[_0xe31615(0x4a1)]['MissingParent']:return'missingRecord';case _0x1684be['BaseHierarchyInvalidReason'][_0xe31615(0x340)]:return _0xe31615(0x2a5);case _0x1684be[_0xe31615(0x4a1)][_0xe31615(0x557)]:return'cycle';case _0x1684be[_0xe31615(0x4a1)]['MaxDepth']:return'maxDepth';}}function _0x3fecef(_0x39dfa0,_0x3a10a3){const _0x4dd79f=_0x10b817;let _0x2d15c0=new Set(_0x3a10a3),_0x429654=_0x1c4e11(_0x39dfa0);return Object[_0x4dd79f(0x243)](_0x39dfa0['records'])[_0x4dd79f(0x158)](_0x3fea14=>_0x2d15c0['has'](_0x3fea14['id'])?[]:Array[_0x4dd79f(0x1dd)](_0x429654)[_0x4dd79f(0x158)](_0x4fdc63=>{const _0x150aff=_0x4dd79f;let _0x353849=_0x4ebe11(_0x3fea14[_0x150aff(0x243)][_0x4fdc63])[0x0]??null;return _0x353849&&_0x2d15c0[_0x150aff(0x11b)](_0x353849)?[{'tableId':_0x39dfa0['id'],'fieldId':_0x4fdc63,'recordId':_0x3fea14['id'],'oldParentRecordId':_0x353849,'parentRecordId':null}]:[];}));}function _0x2536c4(_0x873c4a,_0x24da21,_0x148f05=_0x873c4a[_0x10b817(0x385)]??Object[_0x10b817(0x176)](_0x873c4a[_0x10b817(0x510)])){const _0xb79682=_0x10b817;if((_0x873c4a[_0xb79682(0x22d)][_0x24da21]||_0x24da21!==_0xebf24e(_0x873c4a))&&!_0x142efb(_0x873c4a,_0x24da21))throw Error(_0xb79682(0x297)+_0x24da21+_0xb79682(0x4db));let _0x2ccefe=_0x2f5c60(_0x873c4a,_0x148f05),_0x381781=new Map(),_0x1d939a=new Map();for(let _0x596446 of _0x2ccefe){var _0x5e6a1a;let _0x45b21f=_0x4ebe11((_0x5e6a1a=_0x873c4a[_0xb79682(0x510)][_0x596446])==null?void 0x0:_0x5e6a1a[_0xb79682(0x243)][_0x24da21])[0x0]??null;_0x45b21f?_0x45b21f===_0x596446?(_0x381781[_0xb79682(0x25a)](_0x596446,null),_0x1d939a[_0xb79682(0x25a)](_0x596446,_0x1684be[_0xb79682(0x4a1)][_0xb79682(0x340)])):_0x873c4a[_0xb79682(0x510)][_0x45b21f]?_0x381781[_0xb79682(0x25a)](_0x596446,_0x45b21f):(_0x381781[_0xb79682(0x25a)](_0x596446,null),_0x1d939a[_0xb79682(0x25a)](_0x596446,_0x1684be[_0xb79682(0x4a1)][_0xb79682(0x16c)])):_0x381781[_0xb79682(0x25a)](_0x596446,null);}_0x191e0c(_0x381781,_0x1d939a,_0x2ccefe),_0x2daf67(_0x381781,_0x1d939a,_0x2ccefe);let _0x1f7246=new Map(_0x2ccefe[_0xb79682(0x4fd)]((_0x5a306a,_0x538757)=>[_0x5a306a,_0x538757])),_0x1710c5=new Map();for(let _0x592e48 of _0x2ccefe){let _0x42e7bf=_0x381781[_0xb79682(0x353)](_0x592e48)??null,_0x578e12=_0x1710c5[_0xb79682(0x353)](_0x42e7bf)??[];_0x578e12[_0xb79682(0x558)](_0x592e48),_0x1710c5[_0xb79682(0x25a)](_0x42e7bf,_0x578e12);}_0x1710c5[_0xb79682(0x4ac)](_0x470fce=>_0x470fce['sort']((_0x5ba5f6,_0x5cbaf8)=>(_0x1f7246[_0xb79682(0x353)](_0x5ba5f6)??0x0)-(_0x1f7246['get'](_0x5cbaf8)??0x0)));let _0x1ab88d=_0x1710c5['get'](null)??[],_0x341324=new Map(),_0x23605d=new Map(),_0x4652d1=[],_0x3ceeaa=(_0x30f50e,_0xca9bf4)=>{const _0x36e432=_0xb79682;_0x341324[_0x36e432(0x25a)](_0x30f50e,_0xca9bf4),_0x4652d1[_0x36e432(0x558)](_0x30f50e);let _0x4a0418=0x0;for(let _0x383cfd of _0x1710c5[_0x36e432(0x353)](_0x30f50e)??[])_0x4a0418=Math[_0x36e432(0x35b)](_0x4a0418,0x1+_0x3ceeaa(_0x383cfd,_0xca9bf4+0x1));return _0x23605d[_0x36e432(0x25a)](_0x30f50e,_0x4a0418),_0x4a0418;};return _0x1ab88d[_0xb79682(0x4ac)](_0x5e75ca=>_0x3ceeaa(_0x5e75ca,0x0)),{'fieldId':_0x24da21,'parentByRecordId':_0x381781,'childrenByParentId':_0x1710c5,'depthByRecordId':_0x341324,'subtreeHeightByRecordId':_0x23605d,'invalidReasonByRecordId':_0x1d939a,'rootRecordIds':_0x1ab88d,'orderedRecordIds':_0x4652d1};}function _0xc0302c(_0x2792ff,_0x119c50,_0x52abc5=new Set(_0x119c50[_0x10b817(0x4fd)](_0x3164f7=>_0x3164f7['recordId']))){const _0x4b2057=_0x10b817;let _0x19e777=new Set(_0x52abc5);for(let _0x3fa603 of _0x52abc5){let _0x27ef18=_0x2792ff[_0x4b2057(0x4a0)][_0x4b2057(0x353)](_0x3fa603)??null;for(;_0x27ef18;)_0x19e777[_0x4b2057(0x1f2)](_0x27ef18),_0x27ef18=_0x2792ff[_0x4b2057(0x4a0)][_0x4b2057(0x353)](_0x27ef18)??null;}let _0x3b346b=new Map(_0x119c50['map'](_0x2a4a0b=>[_0x2a4a0b[_0x4b2057(0x240)],_0x2a4a0b])),_0x4a4a20=_0x2792ff['orderedRecordIds'][_0x4b2057(0x2b7)](_0x5880d9=>_0x19e777[_0x4b2057(0x11b)](_0x5880d9)),_0x467e7f=_0x4a4a20[_0x4b2057(0x158)](_0x17212e=>{const _0x260efa=_0x4b2057;let _0x168cc5=_0x3b346b[_0x260efa(0x353)](_0x17212e);return _0x168cc5?[_0x168cc5]:[];}),_0xe0daea={};for(let _0x4e3208=0x0;_0x4e3208<_0x4a4a20[_0x4b2057(0x350)];_0x4e3208++){let _0x52b622=_0x4a4a20[_0x4e3208];_0xe0daea[_0x52b622]={'recordId':_0x52b622,'parentRecordId':_0x2792ff[_0x4b2057(0x4a0)][_0x4b2057(0x353)](_0x52b622)??null,'depth':_0x2792ff[_0x4b2057(0x119)][_0x4b2057(0x353)](_0x52b622)??0x0,'directChildCount':(_0x2792ff['childrenByParentId'][_0x4b2057(0x353)](_0x52b622)??[])['length'],'subtreeHeight':_0x2792ff[_0x4b2057(0x21b)]['get'](_0x52b622)??0x0,'subtreeEndIndex':_0x4e3208,'invalidReason':_0x2792ff[_0x4b2057(0x3ea)][_0x4b2057(0x353)](_0x52b622)};}let _0x5ec483=[];for(let _0xbbaa99=0x0;_0xbbaa99<_0x4a4a20[_0x4b2057(0x350)];_0xbbaa99++){let _0x1fbdcc=_0x4a4a20[_0xbbaa99],_0x135be6=_0xe0daea[_0x1fbdcc][_0x4b2057(0x136)];for(;_0x5ec483[_0x4b2057(0x350)]&&_0x5ec483[_0x5ec483[_0x4b2057(0x350)]-0x1][_0x4b2057(0x136)]>=_0x135be6;){let _0x499186=_0x5ec483[_0x4b2057(0x4d1)]();_0xe0daea[_0x499186[_0x4b2057(0x240)]]['subtreeEndIndex']=_0xbbaa99-0x1;}_0x5ec483['push']({'recordId':_0x1fbdcc,'depth':_0x135be6});}return _0x5ec483[_0x4b2057(0x4ac)](({recordId:_0x2f812d})=>{const _0x1bd990=_0x4b2057;_0xe0daea[_0x2f812d]['subtreeEndIndex']=_0x4a4a20[_0x1bd990(0x350)]-0x1;}),{'rows':_0x467e7f,'hierarchy':{'fieldId':_0x2792ff[_0x4b2057(0x294)],'rootRecordIds':_0x2792ff['rootRecordIds'][_0x4b2057(0x2b7)](_0x2fd96f=>_0x19e777[_0x4b2057(0x11b)](_0x2fd96f)),'orderedRecordIds':_0x4a4a20,'nodes':_0xe0daea}};}function _0x62c9c6(_0x5ea3b8,_0xdca86d){const _0x545406=_0x10b817;if(!_0x5ea3b8['hierarchy']||!(_0xdca86d!=null&&_0xdca86d['size']))return _0x5ea3b8[_0x545406(0x127)];let _0x1b4a45=[],_0x3ec4ed=0x0;for(;_0x3ec4ed<_0x5ea3b8[_0x545406(0x127)][_0x545406(0x350)];){let _0x54f3b8=_0x5ea3b8['rows'][_0x3ec4ed];_0x1b4a45[_0x545406(0x558)](_0x54f3b8);let _0x3ed310=_0x5ea3b8[_0x545406(0x25f)]['nodes'][_0x54f3b8['recordId']];_0x3ec4ed=_0xdca86d['has'](_0x54f3b8[_0x545406(0x240)])&&_0x3ed310?_0x3ed310[_0x545406(0x44e)]+0x1:_0x3ec4ed+0x1;}return _0x1b4a45;}function _0x2774f9(_0x418f7c,_0x34f418,_0x51f8c9){const _0x47dcc6=_0x10b817;if(!_0x51f8c9)return{'valid':!0x0};if(_0x34f418===_0x51f8c9)return{'valid':!0x1,'reason':_0x1684be[_0x47dcc6(0x4a1)][_0x47dcc6(0x340)]};let _0x2a5938=_0x51f8c9;for(;_0x2a5938;){if(_0x2a5938===_0x34f418)return{'valid':!0x1,'reason':_0x1684be[_0x47dcc6(0x4a1)]['Cycle']};_0x2a5938=_0x418f7c[_0x47dcc6(0x4a0)][_0x47dcc6(0x353)](_0x2a5938)??null;}return(_0x418f7c[_0x47dcc6(0x119)][_0x47dcc6(0x353)](_0x51f8c9)??0x0)+0x1+(_0x418f7c['subtreeHeightByRecordId'][_0x47dcc6(0x353)](_0x34f418)??0x0)>=0x5?{'valid':!0x1,'reason':_0x1684be[_0x47dcc6(0x4a1)][_0x47dcc6(0x3d0)]}:{'valid':!0x0};}function _0x2f5c60(_0x3d3677,_0x147a09){const _0x48fcf1=_0x10b817;let _0x5f13dc=new Set(),_0x4b9c43=[];for(let _0x275c86 of _0x147a09)_0x3d3677[_0x48fcf1(0x510)][_0x275c86]&&!_0x5f13dc[_0x48fcf1(0x11b)](_0x275c86)&&(_0x5f13dc[_0x48fcf1(0x1f2)](_0x275c86),_0x4b9c43[_0x48fcf1(0x558)](_0x275c86));return Object[_0x48fcf1(0x176)](_0x3d3677[_0x48fcf1(0x510)])[_0x48fcf1(0x409)]()['forEach'](_0x1eb015=>{const _0x44e3b1=_0x48fcf1;_0x5f13dc[_0x44e3b1(0x11b)](_0x1eb015)||_0x4b9c43[_0x44e3b1(0x558)](_0x1eb015);}),_0x4b9c43;}function _0x191e0c(_0x1f431c,_0x428f05,_0x33c8fd){const _0x4f043f=_0x10b817;let _0x3f9596=new Set();for(let _0x4e596f of _0x33c8fd){if(_0x3f9596['has'](_0x4e596f))continue;let _0x5bd061=[],_0x52846d=new Map(),_0x2fe6f9=_0x4e596f;for(;_0x2fe6f9&&!_0x3f9596[_0x4f043f(0x11b)](_0x2fe6f9);){let _0x1cada6=_0x52846d['get'](_0x2fe6f9);if(_0x1cada6!=null){let _0x552b7c=[..._0x5bd061[_0x4f043f(0x2a3)](_0x1cada6)][_0x4f043f(0x409)]()['pop']();_0x1f431c['set'](_0x552b7c,null),_0x428f05[_0x4f043f(0x25a)](_0x552b7c,_0x1684be[_0x4f043f(0x4a1)][_0x4f043f(0x557)]);break;}_0x52846d[_0x4f043f(0x25a)](_0x2fe6f9,_0x5bd061[_0x4f043f(0x350)]),_0x5bd061[_0x4f043f(0x558)](_0x2fe6f9),_0x2fe6f9=_0x1f431c['get'](_0x2fe6f9)??null;}_0x5bd061['forEach'](_0x7c77f1=>_0x3f9596['add'](_0x7c77f1));}}function _0x2daf67(_0x1c8662,_0x4f7a2d,_0x38ce0f){let _0x59cdab=new Map(),_0x496a0a=_0x23742a=>{const _0x33e922=_0x5a55;let _0x1b194f=_0x59cdab[_0x33e922(0x353)](_0x23742a);if(_0x1b194f!=null)return _0x1b194f;let _0x10513c=_0x1c8662[_0x33e922(0x353)](_0x23742a)??null;if(!_0x10513c)return _0x59cdab['set'](_0x23742a,0x0),0x0;let _0xb5a736=_0x496a0a(_0x10513c)+0x1;return _0xb5a736>=0x5?(_0x1c8662[_0x33e922(0x25a)](_0x23742a,null),_0x4f7a2d['set'](_0x23742a,_0x1684be[_0x33e922(0x4a1)][_0x33e922(0x3d0)]),_0x59cdab[_0x33e922(0x25a)](_0x23742a,0x0),0x0):(_0x59cdab[_0x33e922(0x25a)](_0x23742a,_0xb5a736),_0xb5a736);};_0x38ce0f['forEach'](_0x496a0a);}let _0x1629f9=0x0;function _0x948420(){const _0x21148a=_0x10b817;if(globalThis[_0x21148a(0x1e2)]===!0x0)return!0x0;try{let _0x53b565=typeof location>'u'?'':location['search'],_0x1607e4=new URLSearchParams(_0x53b565);if(_0x1607e4[_0x21148a(0x353)]('basePerf')==='1'||_0x1607e4[_0x21148a(0x353)](_0x21148a(0x13b))===_0x21148a(0x465)||_0x1607e4['get']('base-perf')==='1')return!0x0;}catch{}try{let _0x3cdd85=typeof localStorage>'u'?null:localStorage[_0x21148a(0x309)](_0x21148a(0x24b));return _0x3cdd85==='1'||_0x3cdd85==='true';}catch{return!0x1;}}function _0x4f283(_0x54c32e,_0x24d67e,_0x404ac3){const _0x57e96a=_0x10b817;if(!_0x948420())return _0x24d67e();let _0x5921f5=_0xe45d3d(),_0x1f28f6=_0x57e96a(0x47c)+_0x1629f9++;_0x4a9067(_0x1f28f6+':start');try{return _0x24d67e();}finally{let _0x1eef09=_0xe45d3d()-_0x5921f5;_0x4a9067(_0x1f28f6+_0x57e96a(0x496)),_0x4e1803(_0x54c32e,_0x1f28f6+_0x57e96a(0x45a),_0x1f28f6+':end'),_0xb490ba(_0x54c32e,_0x1eef09,_0x404ac3);}}function _0xb490ba(_0x2bc459,_0x4255f9,_0x5c53cf){const _0x34f21b=_0x10b817;if(!_0x948420())return;let _0xd213a2=Math[_0x34f21b(0x447)](_0x4255f9*0x64)/0x64,_0x53736e=_0x5c53cf&&Object[_0x34f21b(0x176)](_0x5c53cf)['length']?'\x20'+JSON[_0x34f21b(0x551)](_0x5c53cf):'';console['info'](_0x34f21b(0x459)+_0x2bc459+':\x20'+_0xd213a2+'ms'+_0x53736e);}function _0xe45d3d(){const _0x5e98ba=_0x10b817;return typeof performance<'u'&&typeof performance[_0x5e98ba(0x4c4)]==_0x5e98ba(0x3f1)?performance[_0x5e98ba(0x4c4)]():Date[_0x5e98ba(0x4c4)]();}function _0x4a9067(_0x5b3e12){const _0x14c389=_0x10b817;try{if(typeof performance<'u'){var _0x249478,_0x39ec03;(_0x249478=(_0x39ec03=performance)[_0x14c389(0x26b)])==null||_0x249478[_0x14c389(0x3e7)](_0x39ec03,_0x5b3e12);}}catch{}}function _0x4e1803(_0x55770b,_0x1984c9,_0x174b57){const _0x39bf58=_0x10b817;try{if(typeof performance<'u'){var _0x5b5d60,_0x2d6a49;(_0x5b5d60=(_0x2d6a49=performance)['measure'])==null||_0x5b5d60[_0x39bf58(0x3e7)](_0x2d6a49,_0x39bf58(0x459)+_0x55770b,_0x1984c9,_0x174b57);}}catch{}}function _0xd74f23(_0x15deac){const _0x2dc043=_0x10b817;var _0x27fb50;return _0x948420()?_0x4f283(_0x2dc043(0x1c1),()=>_0x21f838(_0x15deac),{'tableId':_0x15deac['id'],'records':Object[_0x2dc043(0x176)](_0x15deac[_0x2dc043(0x510)]??{})[_0x2dc043(0x350)],'fields':_0x15deac['fieldOrder'][_0x2dc043(0x350)],'hasRecordOrder':!!((_0x27fb50=_0x15deac[_0x2dc043(0x385)])!=null&&_0x27fb50[_0x2dc043(0x350)])}):_0x21f838(_0x15deac);}function _0x21f838(_0x374752){const _0x4db613=_0x10b817;var _0x59bd9c;let _0x4bbc72=_0x374752[_0x4db613(0x510)]??{},_0x4375f3=_0x374752[_0x4db613(0x22d)]??{},_0x989421=((_0x59bd9c=_0x374752['recordOrder'])==null?void 0x0:_0x59bd9c['filter'](_0x4be480=>_0x4bbc72[_0x4be480]))??[],_0x590bed=new Set(_0x989421),_0x64d88d=[];for(let _0x4c7430 of Object[_0x4db613(0x243)](_0x4bbc72))_0x590bed['has'](_0x4c7430['id'])||_0x64d88d[_0x4db613(0x558)](_0x4c7430);let _0x57b373=_0x64d88d[_0x4db613(0x350)]?[..._0x989421,..._0x2cfbb1(_0x64d88d)]:_0x989421,_0x1ab01e=_0x374752[_0x4db613(0x3c3)][_0x4db613(0x2b7)](_0x4951bd=>_0x4375f3[_0x4951bd]),_0x3c183e={..._0x374752[_0x4db613(0x1b1)]??{}},_0x252f46={..._0x374752[_0x4db613(0x3e2)]??{}},_0x29e181={..._0x374752[_0x4db613(0x1e5)]??{}};_0x374752[_0x4db613(0x385)]=_0x57b373,_0x374752[_0x4db613(0x131)]={},_0x374752['rowId']={},_0x374752['colIndex']={},_0x374752[_0x4db613(0x3e2)]={},_0x374752['cellData']={},_0x374752[_0x4db613(0x3cb)]={..._0x374752[_0x4db613(0x3cb)]??{}},_0x374752[_0x4db613(0x3cb)]['attachmentSets']={..._0x374752['resources'][_0x4db613(0x54b)]??{}},_0x374752[_0x4db613(0x3cb)][_0x4db613(0x1f6)]={..._0x374752[_0x4db613(0x3cb)]['attachments']??{}};let _0x218d41=_0x374752['rowIndex'],_0x33610d=_0x374752[_0x4db613(0x1b1)],_0x30b5d8=_0x374752[_0x4db613(0x46d)],_0x623214=_0x374752[_0x4db613(0x3e2)],_0xe0d0e6=_0x374752[_0x4db613(0x1e5)];return _0x57b373[_0x4db613(0x4ac)]((_0x461f1a,_0x15b857)=>{_0x218d41[_0x461f1a]=_0x15b857,_0x33610d[_0x15b857]=_0x461f1a;}),_0x1ab01e['forEach']((_0x1b2c5e,_0x3e0e63)=>{_0x30b5d8[_0x1b2c5e]=_0x3e0e63,_0x623214[_0x3e0e63]=_0x1b2c5e;}),Object[_0x4db613(0x172)](_0x29e181)[_0x4db613(0x4ac)](([_0xf05dde,_0x4c9a63])=>{const _0x30700d=_0x4db613;let _0x502995=Number(_0xf05dde),_0x39d6e4=_0x3c183e[_0x502995]??_0x57b373[_0x502995],_0x3d5f3d=_0x39d6e4?_0x218d41[_0x39d6e4]:void 0x0;_0x3d5f3d!=null&&(_0xe0d0e6[_0x3d5f3d]={..._0xe0d0e6[_0x3d5f3d]??{}},Object[_0x30700d(0x172)](_0x4c9a63??{})[_0x30700d(0x4ac)](([_0x32bcfc,_0x25d7e1])=>{let _0xa931be=Number(_0x32bcfc),_0x2e917b=_0x252f46[_0xa931be]??_0x1ab01e[_0xa931be],_0x5d286a=_0x2e917b?_0x30b5d8[_0x2e917b]:void 0x0;_0x5d286a!=null&&(_0xe0d0e6[_0x3d5f3d][_0x5d286a]=_0x29412c(_0x25d7e1));}));}),Object[_0x4db613(0x243)](_0x4bbc72)[_0x4db613(0x4ac)](_0x3b0a1c=>{const _0x25819=_0x4db613;let _0x20a615=_0x218d41[_0x3b0a1c['id']];_0x20a615!=null&&(_0x3b0a1c[_0x25819(0x243)]={..._0x3b0a1c[_0x25819(0x243)]??{},[_0x1684be[_0x25819(0x26a)]]:_0x3b0a1c['id']},_0xe0d0e6[_0x20a615]={..._0xe0d0e6[_0x20a615]??{},0x0:{'v':_0x3b0a1c['id'],'t':_0x1684be[_0x25819(0x1e1)]['STRING']}},Object[_0x25819(0x172)](_0x3b0a1c[_0x25819(0x243)]??{})[_0x25819(0x4ac)](([_0x1aeb30,_0x5c53ce])=>{const _0x4a728d=_0x25819;let _0x3851c3=_0x4375f3[_0x1aeb30];(_0x3851c3==null?void 0x0:_0x3851c3[_0x4a728d(0x4af)])===_0x1684be['BaseFieldType'][_0x4a728d(0x42d)]&&_0x4876a6(_0x374752,_0x3b0a1c['id'],_0x1aeb30,_0x5c53ce);let _0x175107=_0x30b5d8[_0x1aeb30];if(_0x175107==null)return;let _0x16e93c=_0xe0d0e6[_0x20a615][_0x175107];if(_0x16e93c!=null){_0x5abf36(_0x16e93c,_0x3851c3,_0x5c53ce)&&(_0xe0d0e6[_0x20a615][_0x175107]=_0x2a2585(_0x5c53ce,_0x3851c3));return;}_0xe0d0e6[_0x20a615][_0x175107]=_0x2a2585(_0x5c53ce,_0x3851c3);}));}),_0x374752;}function _0x35fb26(_0x4ad6ee,_0x5c6b1b){const _0x3e81bc=_0x10b817;return _0x4ad6ee[_0x3e81bc(0x510)]=Object['fromEntries'](Object[_0x3e81bc(0x172)](_0x4ad6ee[_0x3e81bc(0x510)])['map'](([_0x3a6971,_0x28dce3])=>[_0x3a6971,{..._0x28dce3}])),_0xd74f23(_0x4ad6ee),Object[_0x3e81bc(0x172)](_0x4ad6ee[_0x3e81bc(0x1b1)]??{})['forEach'](([_0xf6edb4,_0x21a9ec])=>{const _0x729e88=_0x3e81bc;var _0x350bb0;let _0x5a47cb=Number(_0xf6edb4),_0x576802=_0x4ad6ee[_0x729e88(0x510)][_0x21a9ec];_0x576802&&(_0x576802[_0x729e88(0x243)]={..._0x576802['values']??{}},Object[_0x729e88(0x172)](((_0x350bb0=_0x4ad6ee['cellData'])==null?void 0x0:_0x350bb0[_0x5a47cb])??{})[_0x729e88(0x4ac)](([_0x322b94,_0x332f39])=>{const _0x1c02a0=_0x729e88;var _0x3686d5;let _0x56e766=(_0x3686d5=_0x4ad6ee['colId'])==null?void 0x0:_0x3686d5[Number(_0x322b94)];_0x56e766&&_0x5c6b1b&&!_0x5c6b1b(_0x21a9ec,_0x56e766)||(_0x56e766===_0x1684be[_0x1c02a0(0x26a)]?_0x576802[_0x1c02a0(0x243)][_0x1684be[_0x1c02a0(0x26a)]]=_0x576802['id']:_0x56e766&&(_0x576802[_0x1c02a0(0x243)][_0x56e766]=_0x1d612c(_0x332f39,_0x4ad6ee['fields'][_0x56e766],_0x4ad6ee,_0x21a9ec)));}));}),_0x4ad6ee;}function _0x263281(_0x4fd41c,_0x12b314){const _0x491043=_0x10b817;for(let {row:_0x22e035,col:_0x4c98a4}of _0x12b314){var _0x36daac,_0x2be1e3,_0xb0ad18;let _0x238f01=(_0x36daac=_0x4fd41c[_0x491043(0x1b1)])==null?void 0x0:_0x36daac[_0x22e035],_0x4e7eb2=(_0x2be1e3=_0x4fd41c['colId'])==null?void 0x0:_0x2be1e3[_0x4c98a4],_0x158999=_0x238f01?_0x4fd41c[_0x491043(0x510)][_0x238f01]:void 0x0;if(!_0x158999||!_0x4e7eb2)continue;if(_0x4e7eb2===_0x1684be[_0x491043(0x26a)]){_0x158999[_0x491043(0x243)][_0x1684be['BASE_RECORD_ID_FIELD_ID']]=_0x158999['id'];continue;}let _0x2e4a4f=(_0xb0ad18=_0x4fd41c['cellData'])==null||(_0xb0ad18=_0xb0ad18[_0x22e035])==null?void 0x0:_0xb0ad18[_0x4c98a4];(_0x2e4a4f!=null||Object['prototype'][_0x491043(0x339)][_0x491043(0x3e7)](_0x158999[_0x491043(0x243)]??{},_0x4e7eb2))&&(_0x158999[_0x491043(0x243)]={..._0x158999['values']??{}},_0x158999['values'][_0x4e7eb2]=_0x1d612c(_0x2e4a4f,_0x4fd41c[_0x491043(0x22d)][_0x4e7eb2],_0x4fd41c,_0x238f01));}return _0x4fd41c;}function _0x2b23e8(_0x5cd102,_0x3be9d0,_0x240d94){const _0x2eff2c=_0x10b817;var _0x4ecf42,_0x4808bd,_0x241bc6,_0xaf8e1d,_0x2c8c24,_0x13251b;let _0x22cef=(_0x4ecf42=_0x5cd102['rowIndex'])==null?void 0x0:_0x4ecf42[_0x3be9d0],_0x159162=(_0x4808bd=_0x5cd102[_0x2eff2c(0x46d)])==null?void 0x0:_0x4808bd[_0x240d94];if(_0x22cef!=null&&_0x159162!=null&&((_0x241bc6=_0x5cd102['rowId'])==null?void 0x0:_0x241bc6[_0x22cef])===_0x3be9d0&&((_0xaf8e1d=_0x5cd102[_0x2eff2c(0x3e2)])==null?void 0x0:_0xaf8e1d[_0x159162])===_0x240d94)return{'row':_0x22cef,'col':_0x159162};let _0x58ef07=_0xd74f23(_0x5cd102),_0x40dc98=(_0x2c8c24=_0x58ef07['rowIndex'])==null?void 0x0:_0x2c8c24[_0x3be9d0],_0x206914=(_0x13251b=_0x58ef07[_0x2eff2c(0x46d)])==null?void 0x0:_0x13251b[_0x240d94];return _0x40dc98==null||_0x206914==null?null:{'row':_0x40dc98,'col':_0x206914};}function _0x3dc823(_0x163490,_0x59c187,_0xfdef1b){const _0x139b1e=_0x10b817;var _0x46686b;let _0x4fcb82=_0x2b23e8(_0x163490,_0x59c187,_0xfdef1b);if(_0x4fcb82)return(_0x46686b=_0x163490[_0x139b1e(0x1e5)])==null||(_0x46686b=_0x46686b[_0x4fcb82[_0x139b1e(0x19c)]])==null?void 0x0:_0x46686b[_0x4fcb82[_0x139b1e(0x4b5)]];}function _0x499e23(_0x4fa4c4,_0x4cafe5,_0x3dff51){const _0x1f2150=_0x10b817;var _0x1ca689;let _0x517480=_0x3dc823(_0x4fa4c4,_0x4cafe5,_0x3dff51),_0xf23ee8=_0x4fa4c4[_0x1f2150(0x22d)][_0x3dff51];if((_0xf23ee8==null?void 0x0:_0xf23ee8['type'])===_0x1684be[_0x1f2150(0x1e3)][_0x1f2150(0x42d)]){var _0x259e7a;return _0x39a00a(_0x4fa4c4,_0x4cafe5,_0x3dff51)??_0x2a319((_0x259e7a=_0x4fa4c4[_0x1f2150(0x510)][_0x4cafe5])==null||(_0x259e7a=_0x259e7a[_0x1f2150(0x243)])==null?void 0x0:_0x259e7a[_0x3dff51]);}if(_0x1dd45c(_0xf23ee8)||_0x294079(_0xf23ee8)||(_0xf23ee8==null?void 0x0:_0xf23ee8[_0x1f2150(0x4af)])===_0x1684be['BaseFieldType'][_0x1f2150(0x1b9)]){var _0x5ccf93;let _0x15ba5d=(_0x5ccf93=_0x4fa4c4[_0x1f2150(0x510)][_0x4cafe5])==null||(_0x5ccf93=_0x5ccf93[_0x1f2150(0x243)])==null?void 0x0:_0x5ccf93[_0x3dff51];return _0x15ba5d!=null&&_0x15ba5d!==''?_0x2b2149(_0x15ba5d,_0xf23ee8):_0x1d612c(_0x517480,_0xf23ee8,_0x4fa4c4,_0x4cafe5);}return _0x517480&&Object[_0x1f2150(0x19f)][_0x1f2150(0x339)][_0x1f2150(0x3e7)](_0x517480,'v')?_0x517480['v']??null:((_0x1ca689=_0x4fa4c4[_0x1f2150(0x510)][_0x4cafe5])==null||(_0x1ca689=_0x1ca689[_0x1f2150(0x243)])==null?void 0x0:_0x1ca689[_0x3dff51])??null;}function _0xc095b2(_0x2d5008,_0x41a3e9,_0x248fa7){const _0xd29137=_0x10b817;var _0x3da4d0;let _0xff0410=_0x3dc823(_0x2d5008,_0x41a3e9,_0x248fa7);if(_0xff0410&&Object[_0xd29137(0x19f)]['hasOwnProperty'][_0xd29137(0x3e7)](_0xff0410,'v'))return _0xff0410['v']??null;let _0x1d689a=_0x2d5008[_0xd29137(0x22d)][_0x248fa7];return _0x2a2585(((_0x3da4d0=_0x2d5008[_0xd29137(0x510)][_0x41a3e9])==null||(_0x3da4d0=_0x3da4d0[_0xd29137(0x243)])==null?void 0x0:_0x3da4d0[_0x248fa7])??null,_0x1d689a)['v']??null;}function _0x2a2585(_0x25446c,_0x34b1e9){const _0x3884df=_0x10b817;if(_0x2dd237(_0x25446c))return(_0x34b1e9==null?void 0x0:_0x34b1e9[_0x3884df(0x4af)])===_0x1684be[_0x3884df(0x1e3)][_0x3884df(0x42d)]?{..._0x25446c,'v':'','t':_0x1684be['CellValueType']['STRING']}:_0x29412c(_0x25446c);if((_0x34b1e9==null?void 0x0:_0x34b1e9[_0x3884df(0x4af)])===_0x1684be['BaseFieldType'][_0x3884df(0x42d)])return{'v':'','t':_0x1684be[_0x3884df(0x1e1)][_0x3884df(0x190)]};if(_0x294079(_0x34b1e9)){let _0x2d6376=_0x572252(_0x25446c);return{'v':_0x2d6376,'t':_0x35f879(_0x2d6376)};}if(_0x1dd45c(_0x34b1e9))return{'v':_0x30be74(_0x25446c)['join'](',\x20'),'t':_0x1684be[_0x3884df(0x1e1)][_0x3884df(0x190)]};if((_0x34b1e9==null?void 0x0:_0x34b1e9[_0x3884df(0x4af)])===_0x1684be[_0x3884df(0x1e3)][_0x3884df(0x1b9)]&&_0x25446c&&typeof _0x25446c==_0x3884df(0x304)&&!Array[_0x3884df(0x233)](_0x25446c)){let _0x4d1ac2=_0x25446c;return{'v':String(_0x4d1ac2[_0x3884df(0x3d9)]??_0x4d1ac2[_0x3884df(0x351)]??''),'t':_0x1684be['CellValueType']['STRING']};}return _0x25446c===null||typeof _0x25446c==_0x3884df(0x488)||typeof _0x25446c==_0x3884df(0x188)||typeof _0x25446c==_0x3884df(0x4b2)?{'v':_0x25446c,'t':_0x35f879(_0x25446c)}:{'v':null,'t':null};}function _0x29412c(_0x37591e){let _0x1075b7=_0x26c0d2(_0x37591e['t'],_0x37591e['v']);if(_0x1075b7===void 0x0){let {t:_0x27bb48,..._0x96e92c}=_0x37591e;return _0x96e92c;}return{..._0x37591e,'t':_0x1075b7};}function _0x1d612c(_0x437b63,_0x455c16,_0x11a203,_0x2055b2){const _0x55f6d0=_0x10b817;if(!_0x437b63)return null;if((_0x455c16==null?void 0x0:_0x455c16['type'])===_0x1684be[_0x55f6d0(0x1e3)]['Attachment'])return _0x11a203&&_0x2055b2?_0x39a00a(_0x11a203,_0x2055b2,_0x455c16['id'])??[]:[];if(_0x1dd45c(_0x455c16))return _0x30be74(_0x437b63['v']);if((_0x455c16==null?void 0x0:_0x455c16[_0x55f6d0(0x4af)])===_0x1684be[_0x55f6d0(0x1e3)][_0x55f6d0(0x1b9)]&&_0x11a203&&_0x2055b2){var _0x2fb00d;let _0x4064fa=(_0x2fb00d=_0x11a203[_0x55f6d0(0x510)][_0x2055b2])==null||(_0x2fb00d=_0x2fb00d[_0x55f6d0(0x243)])==null?void 0x0:_0x2fb00d[_0x455c16['id']];if(_0x4064fa&&typeof _0x4064fa==_0x55f6d0(0x304)&&!Array[_0x55f6d0(0x233)](_0x4064fa))return _0x4064fa;}return Object[_0x55f6d0(0x19f)][_0x55f6d0(0x339)][_0x55f6d0(0x3e7)](_0x437b63,'v')?_0x437b63['v']??null:null;}function _0x30dc09(_0x2766ce,_0x142c7a,_0x3b9410,_0x177b9e,_0x233290){const _0x77b674=_0x10b817;return(_0x3b9410==null?void 0x0:_0x3b9410['type'])===_0x1684be['BaseFieldType'][_0x77b674(0x42d)]?_0x2a319(_0x2766ce):_0x294079(_0x3b9410)?_0x572252(_0x2766ce):_0x1dd45c(_0x3b9410)?_0x30be74(_0x2766ce):(_0x3b9410==null?void 0x0:_0x3b9410[_0x77b674(0x4af)])===_0x1684be[_0x77b674(0x1e3)]['Link']&&(_0x2766ce==null||_0x2766ce==='')?null:(_0x3b9410==null?void 0x0:_0x3b9410[_0x77b674(0x4af)])===_0x1684be[_0x77b674(0x1e3)][_0x77b674(0x1b9)]&&_0x2766ce&&typeof _0x2766ce==_0x77b674(0x304)&&!Array[_0x77b674(0x233)](_0x2766ce)&&!_0x2dd237(_0x2766ce)?_0x2766ce:_0x1d612c(_0x142c7a,_0x3b9410,_0x177b9e,_0x233290);}function _0x2dd237(_0x47107e){const _0x3ff7d9=_0x10b817;return!!_0x47107e&&typeof _0x47107e==_0x3ff7d9(0x304)&&(Object[_0x3ff7d9(0x19f)]['hasOwnProperty'][_0x3ff7d9(0x3e7)](_0x47107e,'v')||Object[_0x3ff7d9(0x19f)][_0x3ff7d9(0x339)][_0x3ff7d9(0x3e7)](_0x47107e,'t')||Object['prototype'][_0x3ff7d9(0x339)][_0x3ff7d9(0x3e7)](_0x47107e,'p')||Object['prototype'][_0x3ff7d9(0x339)][_0x3ff7d9(0x3e7)](_0x47107e,'f')||Object[_0x3ff7d9(0x19f)][_0x3ff7d9(0x339)][_0x3ff7d9(0x3e7)](_0x47107e,'si'));}function _0x3bebc6(_0x2f3e63,_0x308f5d){return _0x2f3e63+'\x1f'+_0x308f5d;}function _0x4876a6(_0x225594,_0x2c307f,_0x1f833d,_0x3c4ecd){const _0x165e29=_0x10b817;let _0x5fd8f1=_0x2a319(_0x3c4ecd);_0x225594[_0x165e29(0x3cb)]={..._0x225594[_0x165e29(0x3cb)]??{}},_0x225594['resources'][_0x165e29(0x54b)]={..._0x225594['resources']['attachmentSets']??{}},_0x225594[_0x165e29(0x3cb)][_0x165e29(0x1f6)]={..._0x225594[_0x165e29(0x3cb)][_0x165e29(0x1f6)]??{}};let _0x46fd2f=_0x3bebc6(_0x1f833d,_0x2c307f),_0x4fdf7c=[];for(let _0x210cd5=0x0;_0x210cd5<_0x5fd8f1['length'];_0x210cd5++){if(!(_0x210cd5 in _0x5fd8f1))continue;let _0x164169=_0x5fd8f1[_0x210cd5],_0x43af90=String(_0x164169['id']??_0x46fd2f+'\x1f'+_0x210cd5),_0x37e6ee={..._0x164169,'id':_0x43af90};_0x225594[_0x165e29(0x3cb)]['attachments'][_0x43af90]=_0x37e6ee,_0x4fdf7c[_0x165e29(0x558)](_0x43af90);}_0x225594['resources'][_0x165e29(0x54b)][_0x46fd2f]=_0x4fdf7c;}function _0x39a00a(_0x270755,_0x530678,_0x401ca7){const _0x18d3c3=_0x10b817;var _0x4ab5df;let _0x2441aa=_0x3bebc6(_0x401ca7,_0x530678),_0x51f401=(_0x4ab5df=_0x270755['resources'])==null||(_0x4ab5df=_0x4ab5df[_0x18d3c3(0x54b)])==null?void 0x0:_0x4ab5df[_0x2441aa];if(!_0x51f401)return null;let _0x4c6e79=[];for(let _0x53a79f=0x0;_0x53a79f<_0x51f401['length'];_0x53a79f++){var _0x1c29a5;if(!(_0x53a79f in _0x51f401))continue;let _0x301a3b=(_0x1c29a5=_0x270755[_0x18d3c3(0x3cb)])==null||(_0x1c29a5=_0x1c29a5[_0x18d3c3(0x1f6)])==null?void 0x0:_0x1c29a5[_0x51f401[_0x53a79f]];_0x301a3b&&_0x4c6e79[_0x18d3c3(0x558)]({..._0x301a3b});}return _0x4c6e79;}function _0x2a319(_0x2a94f5){const _0x5a9515=_0x10b817;if(_0x2a94f5==null||_0x2a94f5===''||_0x2dd237(_0x2a94f5)&&!('id'in _0x2a94f5)&&!(_0x5a9515(0x4ed)in _0x2a94f5))return[];let _0x38451f=Array['isArray'](_0x2a94f5)?_0x2a94f5:[_0x2a94f5],_0x389787=[];for(let _0x5a7adf=0x0;_0x5a7adf<_0x38451f['length'];_0x5a7adf++){if(!(_0x5a7adf in _0x38451f))continue;let _0x115e59=_0x38451f[_0x5a7adf],_0x176553=_0x115e59&&typeof _0x115e59==_0x5a9515(0x304)?{..._0x115e59}:{'id':'attachment-'+_0x5a7adf,'name':String(_0x115e59)};Object[_0x5a9515(0x176)](_0x176553)[_0x5a9515(0x350)]>0x0&&_0x389787[_0x5a9515(0x558)](_0x176553);}return _0x389787;}function _0x2b2149(_0x806fb4,_0x53a64b){const _0x248734=_0x10b817;return(_0x53a64b==null?void 0x0:_0x53a64b[_0x248734(0x4af)])===_0x1684be['BaseFieldType'][_0x248734(0x42d)]?_0x2a319(_0x806fb4):_0x294079(_0x53a64b)?_0x572252(_0x806fb4):_0x1dd45c(_0x53a64b)?_0x30be74(_0x806fb4):_0x806fb4;}function _0x5abf36(_0x25c466,_0x88ed38,_0xff7d40){const _0xeec94d=_0x10b817;return(_0x88ed38==null?void 0x0:_0x88ed38[_0xeec94d(0x4af)])===_0x1684be[_0xeec94d(0x1e3)][_0xeec94d(0x42d)]?_0x25c466['v']!=='':_0x294079(_0x88ed38)?_0x25c466['v']!==_0x572252(_0xff7d40):_0x1dd45c(_0x88ed38)?Array[_0xeec94d(0x233)](_0xff7d40)&&(_0x25c466['v']==null||_0x25c466['v']===''):!0x1;}function _0x1dd45c(_0x3eb521){const _0x10e54b=_0x10b817;return(_0x3eb521==null?void 0x0:_0x3eb521[_0x10e54b(0x4af)])===_0x1684be[_0x10e54b(0x1e3)][_0x10e54b(0x220)]||(_0x3eb521==null?void 0x0:_0x3eb521[_0x10e54b(0x4af)])===_0x1684be[_0x10e54b(0x1e3)][_0x10e54b(0x22a)]||(_0x3eb521==null?void 0x0:_0x3eb521[_0x10e54b(0x4af)])===_0x1684be[_0x10e54b(0x1e3)]['Person']&&_0x3eb521[_0x10e54b(0x414)]['allowMultiple']===!0x0;}function _0x294079(_0x4dfb15){const _0x51080d=_0x10b817;return(_0x4dfb15==null?void 0x0:_0x4dfb15[_0x51080d(0x4af)])===_0x1684be[_0x51080d(0x1e3)][_0x51080d(0x3fd)]&&_0x4dfb15['config'][_0x51080d(0x45d)]!==!0x0;}function _0x572252(_0x4261a1){const _0x411508=_0x10b817;let _0xac43aa=_0x2dd237(_0x4261a1)?_0x4261a1['v']:_0x4261a1,_0x13723e=Array[_0x411508(0x233)](_0xac43aa)?_0xac43aa[0x0]:_0xac43aa;return _0x13723e==null||_0x13723e===''?null:String(_0x13723e);}function _0x30be74(_0x49005d){const _0x5d6e47=_0x10b817;if(_0x49005d==null||_0x49005d==='')return[];let _0x786965=[];if(Array[_0x5d6e47(0x233)](_0x49005d)){for(let _0x32d853=0x0;_0x32d853<_0x49005d[_0x5d6e47(0x350)];_0x32d853++){if(!(_0x32d853 in _0x49005d))continue;let _0x119f2f=_0x2f75d1(_0x49005d[_0x32d853]);_0x119f2f&&_0x786965[_0x5d6e47(0x558)](_0x119f2f);}return _0x786965;}for(let _0x3e4684 of String(_0x49005d)[_0x5d6e47(0x378)](',')){let _0x3d7d87=_0x3e4684[_0x5d6e47(0x328)]();_0x3d7d87&&_0x786965['push'](_0x3d7d87);}return _0x786965;}function _0x2f75d1(_0x252f8f){const _0x3aa46a=_0x10b817;if(_0x252f8f==null)return'';if(typeof _0x252f8f=='string'||typeof _0x252f8f==_0x3aa46a(0x188)||typeof _0x252f8f==_0x3aa46a(0x4b2))return String(_0x252f8f);if(typeof _0x252f8f==_0x3aa46a(0x304)){let _0x59c96a=_0x252f8f;return String(_0x59c96a['id']??_0x59c96a['name']??_0x59c96a['text']??'');}return String(_0x252f8f);}function _0x35f879(_0x143152){const _0x29664b=_0x10b817;return _0x143152==null?null:typeof _0x143152=='number'?_0x1684be['CellValueType'][_0x29664b(0x37f)]:typeof _0x143152==_0x29664b(0x4b2)?_0x1684be[_0x29664b(0x1e1)]['BOOLEAN']:_0x1684be[_0x29664b(0x1e1)][_0x29664b(0x190)];}function _0x2cfbb1(_0x46ddd7){const _0x445a95=_0x10b817;_0x46ddd7[_0x445a95(0x409)]((_0x1e1ba6,_0x26b874)=>_0x1e1ba6[_0x445a95(0x241)][_0x445a95(0x25e)](_0x26b874[_0x445a95(0x241)]));let _0x34ab5b=[];for(let _0x48f133 of _0x46ddd7)_0x34ab5b[_0x445a95(0x558)](_0x48f133['id']);return _0x34ab5b;}function _0x26c0d2(_0x42fff2,_0x3abe7a){const _0x613b47=_0x10b817;return _0x42fff2===_0x1684be[_0x613b47(0x1e1)]['STRING']||_0x42fff2===_0x1684be[_0x613b47(0x1e1)]['NUMBER']||_0x42fff2===_0x1684be['CellValueType'][_0x613b47(0x2a9)]||_0x42fff2===_0x1684be[_0x613b47(0x1e1)][_0x613b47(0x566)]||_0x42fff2==null?_0x42fff2:_0x35f879(_0x3abe7a??null);}function _0x33735e(_0x37c533){let _0xc49338=null;for(let _0x34e6d5 of _0x37c533)_0xc49338=_0xc49338===null?_0x34e6d5:_0x1684be['JSON1']['type']['compose'](_0xc49338,_0x34e6d5);return _0xc49338;}var _0x540632=class _0x2a3714{static[_0x10b817(0x165)](_0x2d67a6,_0x1b6e12){const _0x371b62=_0x10b817;let _0x2421e4=[];for(let _0x39ceba of _0x1b6e12){let _0x1ea544=_0x15a15b(_0x39ceba);if(!_0x1ea544||_0x1ea544[_0x371b62(0x323)]!==_0x2d67a6['id'])return null;_0x2421e4[_0x371b62(0x558)](_0x1ea544['op']);}try{let _0x34cc43=_0x33735e(_0x2421e4);return _0x34cc43===null?_0x2d67a6:new _0x2a3714()[_0x371b62(0x32f)](_0x2d67a6,_0x34cc43);}catch{return null;}}['applyOp'](_0x52536c,_0x641425){const _0x3a25b2=_0x10b817;let _0x18911e=this[_0x3a25b2(0x469)](_0x641425),_0x2354c5=_0x4f283(_0x3a25b2(0x4dd),()=>_0x1b4160(_0x52536c,_0x641425),{'invalidations':_0x18911e[_0x3a25b2(0x350)]}),_0x215de4=_0x4f283(_0x3a25b2(0x3fb),()=>_0x1684be[_0x3a25b2(0x49f)][_0x3a25b2(0x4af)][_0x3a25b2(0x1a5)](_0x2354c5,_0x641425),{'invalidations':_0x18911e[_0x3a25b2(0x350)]}),_0x74ccd2=_0x2d6c9b(_0x215de4,_0x18911e);return _0x4f283(_0x3a25b2(0x50b),()=>_0x4961fa(_0x215de4,_0x18911e),{'invalidations':_0x18911e[_0x3a25b2(0x350)]})?(_0x1a6038(_0x215de4,_0x74ccd2),_0x215de4):(_0x4f283(_0x3a25b2(0x181),()=>{const _0x5eedf2=_0x3a25b2;this[_0x5eedf2(0x412)](_0x215de4,_0x18911e)[_0x5eedf2(0x4ac)](_0x5bc0dd=>{const _0x251e66=_0x5eedf2;let _0xb0aac2=_0x18911e[_0x251e66(0x2b7)](_0x50d208=>_0x50d208[_0x251e66(0x171)]===_0x5bc0dd['id']),_0x3fa084=_0xb0aac2['length']>0x0&&_0xb0aac2[_0x251e66(0x31e)](_0xec1438=>_0xec1438['reason']===_0x251e66(0x53a)||_0xec1438[_0x251e66(0x1cb)]===_0x251e66(0x4dc)||_0xec1438['reason']===_0x251e66(0x3ce)||_0xec1438[_0x251e66(0x1cb)]===_0x251e66(0x40f))?new Set(_0xb0aac2[_0x251e66(0x158)](_0x594fba=>{const _0x168544=_0x251e66;var _0x1d4a0b;if(_0x594fba['reason']!=='field'||!_0x594fba[_0x168544(0x294)])return[];let _0x353932=(_0x1d4a0b=_0x52536c['tables'][_0x5bc0dd['id']])==null?void 0x0:_0x1d4a0b['fields'][_0x594fba[_0x168544(0x294)]],_0xed1431=_0x5bc0dd[_0x168544(0x22d)][_0x594fba[_0x168544(0x294)]];return(_0x353932==null?void 0x0:_0x353932[_0x168544(0x4af)])!==(_0xed1431==null?void 0x0:_0xed1431[_0x168544(0x4af)])||(_0x353932==null?void 0x0:_0x353932[_0x168544(0x414)][_0x168544(0x45d)])!==(_0xed1431==null?void 0x0:_0xed1431['config']['allowMultiple'])?[_0x594fba[_0x168544(0x294)]]:[];})):void 0x0,_0x493825=new Set(_0xb0aac2['flatMap'](_0xeb6946=>{const _0x2fda4b=_0x251e66;var _0x1e9202,_0xf9839f;return _0xeb6946['reason']!==_0x2fda4b(0x3ce)||_0xeb6946['row']==null||_0xeb6946['column']==null?[]:[JSON[_0x2fda4b(0x551)]([(_0x1e9202=_0x5bc0dd['rowId'])==null?void 0x0:_0x1e9202[_0xeb6946[_0x2fda4b(0x19c)]],(_0xf9839f=_0x5bc0dd[_0x2fda4b(0x3e2)])==null?void 0x0:_0xf9839f[_0xeb6946[_0x2fda4b(0x3d8)]]])];}));_0x35fb26(_0x5bc0dd,_0x3fa084?(_0x90866e,_0x2c8100)=>_0x3fa084[_0x251e66(0x11b)](_0x2c8100)||_0x493825[_0x251e66(0x11b)](JSON[_0x251e66(0x551)]([_0x90866e,_0x2c8100])):void 0x0);});},{'invalidations':_0x18911e['length']}),_0x1a6038(_0x215de4,_0x74ccd2),_0x215de4);}['invertOp'](_0x370057,_0x120799){const _0x453b35=_0x10b817;return _0x1684be[_0x453b35(0x49f)]['type'][_0x453b35(0x1ef)](_0x120799,_0x370057);}['getAffectedRanges'](_0x22d2dd){const _0x55e15e=_0x10b817;let _0x3372af=_0x13df01(_0x22d2dd);return _0x3372af[_0x55e15e(0x350)]?_0x43f03d(_0x3372af[_0x55e15e(0x158)](_0x39db91=>this[_0x55e15e(0x469)](_0x39db91))):_0xaa1f70(_0x22d2dd);}['_getTablesToNormalize'](_0x1b1ba0,_0x2393ef){const _0xd9f6e6=_0x10b817;let _0x2b8e82=_0x2393ef['filter'](_0x218034=>_0x218034[_0xd9f6e6(0x1cb)]!=='view');return _0x2b8e82['length']?_0x2b8e82['some'](_0x1419e1=>!_0x1419e1[_0xd9f6e6(0x171)])?Object['values'](_0x1b1ba0[_0xd9f6e6(0x135)]??{}):Array[_0xd9f6e6(0x1dd)](new Set(_0x2b8e82['map'](_0x8f4d63=>_0x8f4d63[_0xd9f6e6(0x171)])))[_0xd9f6e6(0x158)](_0x362454=>{const _0x1d6ed2=_0xd9f6e6;var _0x5b8f2f;let _0x49400e=(_0x5b8f2f=_0x1b1ba0[_0x1d6ed2(0x135)])==null?void 0x0:_0x5b8f2f[_0x362454];return _0x49400e?[_0x49400e]:[];}):[];}};function _0x15a15b(_0x1fe707){const _0x11fb1d=_0x10b817;let _0x5cae75=_0x1fe707[_0x11fb1d(0x4a2)];return _0x1fe707['id']!==_0x11fb1d(0x2b6)||typeof _0x5cae75!=_0x11fb1d(0x304)||!_0x5cae75||!(_0x11fb1d(0x323)in _0x5cae75)||typeof _0x5cae75['unitId']!=_0x11fb1d(0x488)||!('op'in _0x5cae75)||!Array[_0x11fb1d(0x233)](_0x5cae75['op'])?null:{'unitId':_0x5cae75[_0x11fb1d(0x323)],'op':_0x5cae75['op']};}function _0x4961fa(_0x2bb170,_0x1259f1){const _0x4a743c=_0x10b817;if(!_0x1259f1[_0x4a743c(0x350)]||_0x1259f1[_0x4a743c(0x4d2)](_0x101b59=>_0x101b59[_0x4a743c(0x1cb)]!=='cell'))return!0x1;let _0xc31cd0=new Map();for(let _0x3aefe4 of _0x1259f1){if(!_0x3aefe4[_0x4a743c(0x171)]||_0x3aefe4[_0x4a743c(0x19c)]==null||_0x3aefe4['column']==null)continue;let _0x47fdc2=_0xc31cd0['get'](_0x3aefe4[_0x4a743c(0x171)])??[];_0x47fdc2[_0x4a743c(0x558)]({'row':_0x3aefe4[_0x4a743c(0x19c)],'col':_0x3aefe4[_0x4a743c(0x3d8)]}),_0xc31cd0[_0x4a743c(0x25a)](_0x3aefe4['tableId'],_0x47fdc2);}return _0xc31cd0[_0x4a743c(0x4ac)]((_0x4ce9a5,_0x10fafd)=>{const _0x551e5e=_0x4a743c;var _0x19d16a;let _0x437837=(_0x19d16a=_0x2bb170[_0x551e5e(0x135)])==null?void 0x0:_0x19d16a[_0x10fafd];_0x437837&&_0x263281(_0x437837,_0x4ce9a5);}),!0x0;}function _0x2d6c9b(_0xa15053,_0x3bd029){const _0x34d109=_0x10b817;let _0x339eb6=new Set();return _0x3bd029[_0x34d109(0x158)](_0x35d9b5=>{const _0x16f992=_0x34d109;var _0x55e7c0;if(!_0x35d9b5[_0x16f992(0x171)]||!_0x35d9b5['recordId']||!_0x35d9b5[_0x16f992(0x294)])return[];let _0x1c4589=_0x35d9b5['tableId']+'\x1f'+_0x35d9b5[_0x16f992(0x240)]+'\x1f'+_0x35d9b5[_0x16f992(0x294)];if(_0x339eb6[_0x16f992(0x11b)](_0x1c4589))return[];_0x339eb6[_0x16f992(0x1f2)](_0x1c4589);let _0x10f01f=(_0x55e7c0=_0xa15053['tables'][_0x35d9b5[_0x16f992(0x171)]])==null||(_0x55e7c0=_0x55e7c0[_0x16f992(0x510)][_0x35d9b5[_0x16f992(0x240)]])==null?void 0x0:_0x55e7c0[_0x16f992(0x243)];return _0x10f01f?[{'tableId':_0x35d9b5['tableId'],'recordId':_0x35d9b5[_0x16f992(0x240)],'fieldId':_0x35d9b5[_0x16f992(0x294)],'exists':Object[_0x16f992(0x19f)][_0x16f992(0x339)][_0x16f992(0x3e7)](_0x10f01f,_0x35d9b5[_0x16f992(0x294)]),'value':_0x10f01f[_0x35d9b5[_0x16f992(0x294)]]}]:[];});}function _0x1a6038(_0x3d7547,_0x47561f){const _0x33c087=_0x10b817;_0x47561f[_0x33c087(0x4ac)](_0x16b37e=>{const _0x4ed1e6=_0x33c087;var _0x58b8b5;let _0x3c7350=(_0x58b8b5=_0x3d7547[_0x4ed1e6(0x135)][_0x16b37e['tableId']])==null||(_0x58b8b5=_0x58b8b5['records'][_0x16b37e['recordId']])==null?void 0x0:_0x58b8b5['values'];_0x3c7350&&(_0x16b37e[_0x4ed1e6(0x40d)]?_0x3c7350[_0x16b37e['fieldId']]=_0x16b37e['value']:delete _0x3c7350[_0x16b37e[_0x4ed1e6(0x294)]]);});}function _0xaa1f70(_0x4144e1){const _0x3ddd21=_0x10b817;if(!Array[_0x3ddd21(0x233)](_0x4144e1)||_0x4144e1['length']<0x2)return[{'tableId':'','reason':_0x3ddd21(0x3fc)}];let _0x52a5cd=_0x4144e1,_0x3ac025=_0x52a5cd[_0x3ddd21(0x354)](_0x3ddd21(0x135));return _0x3ac025===-0x1||typeof _0x52a5cd[_0x3ac025+0x1]!=_0x3ddd21(0x488)?_0x52a5cd[0x0]==='tableOrder'?[]:[{'tableId':'','reason':'unknown'}]:_0x2458f1(_0x52a5cd,_0x3ac025,String(_0x52a5cd[_0x3ac025+0x1]));}function _0x2458f1(_0x5a5a42,_0x346132,_0x3c3c51){const _0x5eecbb=_0x10b817;let _0x2e8b77=_0x5a5a42[_0x346132+0x2];return _0x2e8b77==='records'&&typeof _0x5a5a42[_0x346132+0x3]==_0x5eecbb(0x488)?_0x1e6a9d(_0x5a5a42,_0x346132,_0x3c3c51,String(_0x5a5a42[_0x346132+0x3])):_0x2e8b77===_0x5eecbb(0x1e5)&&_0x5a5a42[_0x346132+0x3]!=null&&_0x5a5a42[_0x346132+0x4]!=null?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x3ce),'row':Number(_0x5a5a42[_0x346132+0x3]),'column':Number(_0x5a5a42[_0x346132+0x4])}]:_0x2e8b77===_0x5eecbb(0x22d)&&typeof _0x5a5a42[_0x346132+0x3]==_0x5eecbb(0x488)?[{'tableId':_0x3c3c51,'reason':'field','fieldId':String(_0x5a5a42[_0x346132+0x3])}]:_0x2e8b77===_0x5eecbb(0x3c3)?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x53a)}]:_0x2e8b77===_0x5eecbb(0x385)?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x40f)}]:_0x2e8b77===_0x5eecbb(0x1b8)&&typeof _0x5a5a42[_0x346132+0x3]==_0x5eecbb(0x488)?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x4dc),'viewId':String(_0x5a5a42[_0x346132+0x3])}]:_0x2e8b77===_0x5eecbb(0x522)?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x4dc)}]:_0x2e8b77===_0x5eecbb(0x3cb)?[{'tableId':_0x3c3c51,'reason':_0x5eecbb(0x3ce)}]:[{'tableId':_0x3c3c51,'reason':_0x2e8b77===void 0x0?_0x5eecbb(0x3be):'unknown'}];}function _0x1e6a9d(_0x288388,_0x2be1c0,_0xbd0048,_0x332e45){const _0x4e3cd1=_0x10b817;return _0x288388[_0x2be1c0+0x4]===_0x4e3cd1(0x243)&&typeof _0x288388[_0x2be1c0+0x5]=='string'?[{'tableId':_0xbd0048,'reason':_0x4e3cd1(0x3ce),'recordId':_0x332e45,'fieldId':String(_0x288388[_0x2be1c0+0x5])}]:_0x288388[_0x2be1c0+0x4]==='updatedAt'||_0x288388[_0x2be1c0+0x4]===_0x4e3cd1(0x1c5)?[]:[{'tableId':_0xbd0048,'reason':'record','recordId':_0x332e45}];}function _0x13df01(_0xc6d503){const _0x3fe6c5=_0x10b817;if(!Array['isArray'](_0xc6d503))return[];let _0x26d2d7=_0xc6d503[_0x3fe6c5(0x2b7)](Array[_0x3fe6c5(0x233)]);if(_0x26d2d7[_0x3fe6c5(0x350)]>0x1&&_0x26d2d7[_0x3fe6c5(0x350)]===_0xc6d503['length'])return _0x26d2d7;let _0x24738a=_0xc6d503[_0x3fe6c5(0x35a)](Array[_0x3fe6c5(0x233)]);if(_0x24738a>0x0&&_0xc6d503[_0x3fe6c5(0x2a3)](_0x24738a)[_0x3fe6c5(0x31e)](Array['isArray'])){let _0x453081=_0xc6d503[_0x3fe6c5(0x2a3)](0x0,_0x24738a);return _0xc6d503[_0x3fe6c5(0x2a3)](_0x24738a)[_0x3fe6c5(0x4fd)](_0x2070cc=>[..._0x453081,..._0x2070cc]);}let _0x1223b3=_0xc6d503[_0x3fe6c5(0x354)]('tables');if(_0x1223b3===-0x1||typeof _0xc6d503[_0x1223b3+0x1]!=_0x3fe6c5(0x488))return[];let _0x561ed5=String(_0xc6d503[_0x1223b3+0x1]),_0x24f3b5=_0xc6d503[_0x3fe6c5(0x2a3)](_0x1223b3+0x2)[_0x3fe6c5(0x2b7)](Array[_0x3fe6c5(0x233)]);return _0x24f3b5[_0x3fe6c5(0x350)]<=0x1?[]:_0x24f3b5[_0x3fe6c5(0x4fd)](_0x431729=>[_0x3fe6c5(0x135),_0x561ed5,..._0x431729]);}function _0x43f03d(_0x55ac92){const _0x181c3c=_0x10b817;let _0x3a1628=new Set();return _0x55ac92[_0x181c3c(0x2b7)](_0x22e2ed=>{const _0x247ab9=_0x181c3c;let _0x39af78=JSON[_0x247ab9(0x551)](_0x22e2ed);return!_0x3a1628[_0x247ab9(0x11b)](_0x39af78)&&(_0x3a1628['add'](_0x39af78),!0x0);});}function _0x366b62(_0xc2b0e2){const _0x188fc4=_0x10b817;return _0x1684be[_0x188fc4(0x14c)][_0x188fc4(0x471)](_0xc2b0e2);}function _0x1b4160(_0x3e36fc,_0x5e2143){let _0x22ae56=_0x5bde1f(_0x5e2143);if(!_0x22ae56['length'])return _0x366b62(_0x3e36fc);let _0x184d59=_0x5f448f(_0x3e36fc),_0xa06289=new Set();for(let _0x31cd90 of _0x22ae56)_0x4cfa24(_0x184d59,_0x31cd90,_0xa06289);return _0x184d59;}function _0x5bde1f(_0x22d50e){let _0x4de1eb=[];return _0x322244(_0x22d50e,[],_0x4de1eb),_0x4de1eb;}function _0x322244(_0x28e0dc,_0x279685,_0x19cfa9){const _0x5b7cca=_0x10b817;if(!Array[_0x5b7cca(0x233)](_0x28e0dc))return;let _0x3b0963=[];for(let _0x114bb0 of _0x28e0dc){if(Array[_0x5b7cca(0x233)](_0x114bb0)){_0x322244(_0x114bb0,[..._0x279685,..._0x3b0963],_0x19cfa9);continue;}if(_0x20eed7(_0x114bb0)){_0x19cfa9[_0x5b7cca(0x558)]([..._0x279685,..._0x3b0963]);continue;}(typeof _0x114bb0==_0x5b7cca(0x488)||typeof _0x114bb0==_0x5b7cca(0x188))&&_0x3b0963[_0x5b7cca(0x558)](_0x114bb0);}}function _0x20eed7(_0x4d64dd){const _0x3771f1=_0x10b817;if(!_0x4d64dd||typeof _0x4d64dd!='object'||Array[_0x3771f1(0x233)](_0x4d64dd))return!0x1;let _0x239770=_0x4d64dd;return'i'in _0x239770||'r'in _0x239770||'p'in _0x239770||'d'in _0x239770||'es'in _0x239770||_0x3771f1(0x216)in _0x239770||'et'in _0x239770;}function _0x4cfa24(_0x5de389,_0x5dd267,_0x4ad6ba){const _0x806e88=_0x10b817;let _0x273b7c=_0x5de389,_0x58d576=[];for(let _0x371131=0x0;_0x371131<_0x5dd267['length']-0x1;_0x371131++){let _0x5f35b9=_0x5dd267[_0x371131];_0x58d576['push'](_0x5f35b9);let _0x398c28=_0x12f111(_0x273b7c,_0x5f35b9);if(!_0x1935c5(_0x398c28))return;let _0x27a01b=JSON['stringify'](_0x58d576);_0x4ad6ba[_0x806e88(0x11b)](_0x27a01b)||(_0x358fbb(_0x273b7c,_0x5f35b9,_0x5f448f(_0x398c28)),_0x4ad6ba['add'](_0x27a01b));let _0x97d059=_0x12f111(_0x273b7c,_0x5f35b9);if(!_0x1935c5(_0x97d059))return;_0x273b7c=_0x97d059;}}function _0x12f111(_0x4df9b0,_0x4c30ef){const _0xacd58=_0x10b817;return Array[_0xacd58(0x233)](_0x4df9b0)?typeof _0x4c30ef==_0xacd58(0x188)?_0x4df9b0[_0x4c30ef]:void 0x0:Reflect[_0xacd58(0x353)](_0x4df9b0,_0x4c30ef);}function _0x358fbb(_0x30b776,_0x3439f8,_0x3b049e){if(Array['isArray'](_0x30b776)){typeof _0x3439f8=='number'&&(_0x30b776[_0x3439f8]=_0x3b049e);return;}Reflect['set'](_0x30b776,_0x3439f8,_0x3b049e);}function _0x1935c5(_0x7d26){const _0x21f52c=_0x10b817;return!!_0x7d26&&typeof _0x7d26==_0x21f52c(0x304);}function _0x5f448f(_0x8380cd){const _0x41f8c8=_0x10b817;return Array['isArray'](_0x8380cd)?_0x8380cd[_0x41f8c8(0x2a3)]():{..._0x8380cd};}let _0x3078ed='yyyy/mm/dd',_0x40beff=/\s+hh:mm\s*$/i,_0x27650b={'yyyy/mm/dd':_0x10b817(0x2d4),'yyyy-mm-dd':_0x10b817(0x3ca),'mm-dd':_0x10b817(0x1aa),'mm/dd/yyyy':_0x10b817(0x261),'dd/mm/yyyy':_0x10b817(0x148),'mmm\x20d,\x20yyyy':_0x10b817(0x3f8)};function _0x5cbc3a(_0x13b559,_0x291189=_0x1684be[_0x10b817(0x275)][_0x10b817(0x31b)]){const _0xf95c43=_0x10b817;let _0xc0d3f7=(0x0,_0x1684be[_0xf95c43(0x402)])(_0x13b559)['valueOf']();return(0x0,_0x1684be[_0xf95c43(0x474)])(new Date(_0xc0d3f7),_0x291189);}function _0x37e79f(_0x17db86,_0x3b1516=_0x1684be[_0x10b817(0x275)][_0x10b817(0x31b)]){const _0x1ac28b=_0x10b817;return(0x0,_0x1684be[_0x1ac28b(0x4ee)])(_0x17db86,_0x3b1516)[_0x1ac28b(0x299)]();}function _0x1e18eb(_0x373cc5,_0x28dd6a=_0x1684be[_0x10b817(0x275)]['Date1900']){const _0x572e6b=_0x10b817;if(_0x373cc5==null||_0x373cc5==='')return null;if(_0x373cc5 instanceof Date)return _0x5cbc3a(_0x373cc5,_0x28dd6a);if(typeof _0x373cc5=='number')return Number['isFinite'](_0x373cc5)?_0x373cc5>0xf4240?_0x5cbc3a(_0x373cc5,_0x28dd6a):_0x373cc5:null;let _0x5cfa1d=Date['parse'](String(_0x373cc5));return Number[_0x572e6b(0x4ae)](_0x5cfa1d)?null:_0x5cbc3a(_0x5cfa1d,_0x28dd6a);}function _0x27385e(_0x2eac79,_0xa4888f=_0x1684be[_0x10b817(0x275)]['Date1900']){let _0x3c99e1=_0x1e18eb(_0x2eac79,_0xa4888f);return _0x3c99e1==null?null:_0x37e79f(_0x3c99e1,_0xa4888f);}function _0x4a6724(_0x501dd3={}){const _0x1b8136=_0x10b817;let _0x2237be=String(_0x501dd3[_0x1b8136(0x449)]??_0x501dd3['format']??_0x501dd3['dateFormat']??_0x3078ed)[_0x1b8136(0x328)]()||_0x3078ed,_0x53b4ef=_0x40beff['test'](_0x2237be);return{'pattern':_0x2237be[_0x1b8136(0x12a)](_0x40beff,'')||_0x3078ed,'includeTime':typeof _0x501dd3[_0x1b8136(0x187)]==_0x1b8136(0x4b2)?_0x501dd3[_0x1b8136(0x187)]:_0x53b4ef,'hourCycle':_0x501dd3['hourCycle']==='h12'?_0x1b8136(0x3d6):_0x1b8136(0x47b)};}function _0x5b2f18(_0x59dfb4={}){let {format:_0x403acb,dateFormat:_0x1243ff,..._0x2e8e12}=_0x59dfb4;return{..._0x2e8e12,..._0x4a6724(_0x59dfb4)};}function _0x25bb11(_0x392aa8,_0xe2dc1f={}){const _0x42878e=_0x10b817;let _0x1ff1c3=_0x27385e(_0x392aa8);if(_0x1ff1c3==null||!Number[_0x42878e(0x4c9)](_0x1ff1c3))return'';let _0x3bb88b=_0x4a6724(_0xe2dc1f);return(0x0,_0x1684be[_0x42878e(0x402)])(_0x1ff1c3)[_0x42878e(0x126)](_0x5b9509(_0x3bb88b));}function _0x5b9509(_0x4b6425){const _0x2c5e40=_0x10b817;let {pattern:_0x503fcd,includeTime:_0x54bda0,hourCycle:_0x107ef0}=_0x4b6425,_0x50b280=_0x27650b[_0x503fcd]??_0x27650b[_0x3078ed];return _0x54bda0?_0x50b280+'\x20'+(_0x107ef0===_0x2c5e40(0x3d6)?_0x2c5e40(0x52d):'HH:mm'):_0x50b280;}let _0x400c69={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x397d7f=new Set([_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x3fe)]]),_0x5e51ab=0x5265c00;function _0xd5d5f4(_0x702908){const _0x3fd5d5=_0x10b817;switch(_0x702908){case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x2ea)]:case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x408)]:case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x36e)]:case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x55c)]:return[_0x1684be['BaseConditionalColorOperator']['IS'],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x174)],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x29f)],_0x1684be['BaseConditionalColorOperator']['LESS_THAN'],_0x1684be['BaseConditionalColorOperator']['IS_EMPTY'],_0x1684be['BaseConditionalColorOperator'][_0x3fd5d5(0x468)]];case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x382)]:case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x17f)]:case _0x1684be[_0x3fd5d5(0x1e3)][_0x3fd5d5(0x4ad)]:return[_0x1684be[_0x3fd5d5(0x24c)]['IS'],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x174)],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x451)],_0x1684be[_0x3fd5d5(0x24c)]['AFTER'],_0x1684be['BaseConditionalColorOperator'][_0x3fd5d5(0x332)],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x468)]];case _0x1684be[_0x3fd5d5(0x1e3)]['Checkbox']:return[_0x1684be['BaseConditionalColorOperator']['IS'],_0x1684be['BaseConditionalColorOperator'][_0x3fd5d5(0x174)]];default:return[_0x1684be[_0x3fd5d5(0x24c)]['IS'],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x174)],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x52e)],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x3b8)],_0x1684be[_0x3fd5d5(0x24c)]['IS_EMPTY'],_0x1684be[_0x3fd5d5(0x24c)][_0x3fd5d5(0x468)]];}}function _0xb78349(_0x2e54b1){const _0x1896f7=_0x10b817;return _0x2e54b1===_0x1684be[_0x1896f7(0x1e3)][_0x1896f7(0x382)]||_0x2e54b1===_0x1684be[_0x1896f7(0x1e3)][_0x1896f7(0x17f)]||_0x2e54b1===_0x1684be[_0x1896f7(0x1e3)]['UpdatedAt'];}function _0x4dd722(_0x3adaf6,_0x3704d2){const _0x26a188=_0x10b817;return _0x3adaf6==null&&_0x3704d2==null?0x0:_0x3adaf6==null?-0x1:_0x3704d2==null?0x1:typeof _0x3adaf6==_0x26a188(0x188)&&typeof _0x3704d2==_0x26a188(0x188)?_0x3adaf6-_0x3704d2:String(_0x3adaf6)[_0x26a188(0x25e)](String(_0x3704d2));}function _0x4b18ac(_0x4e6e5f,_0x2360f8,_0x5776b0,_0x46deef,_0x3845de={}){const _0x16aae7=_0x10b817;if(_0x2360f8==='isEmpty')return _0x30b7a3(_0x4e6e5f);if(_0x2360f8===_0x16aae7(0x550))return!_0x30b7a3(_0x4e6e5f);switch(_0x46deef[_0x16aae7(0x4af)]){case _0x1684be['BaseFieldType'][_0x16aae7(0x2ea)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x408)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x36e)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x55c)]:return _0x336690(_0x4e6e5f,_0x2360f8,_0x5776b0);case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x382)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x17f)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x4ad)]:return _0x3d6859(_0x4e6e5f,_0x2360f8,_0x5776b0,_0x3845de);case _0x1684be['BaseFieldType'][_0x16aae7(0x48a)]:return _0x1bb6c4(_0x4e6e5f,_0x2360f8,_0x5776b0);case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x32c)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x220)]:case _0x1684be[_0x16aae7(0x1e3)][_0x16aae7(0x3fd)]:case _0x1684be['BaseFieldType'][_0x16aae7(0x22a)]:return _0x2cc7e9(_0x4e6e5f,_0x2360f8,_0x5776b0,_0x46deef);default:return _0x527066(_0x4e6e5f,_0x2360f8,_0x5776b0);}}function _0x30b7a3(_0x370158){const _0x3868be=_0x10b817;return _0x370158==null?!0x0:Array[_0x3868be(0x233)](_0x370158)?_0x370158[_0x3868be(0x350)]===0x0:typeof _0x370158==_0x3868be(0x488)&&_0x370158[_0x3868be(0x328)]()==='';}function _0x336690(_0x4b9b88,_0x1433b3,_0xeb56ef){const _0x5aaeb5=_0x10b817;let _0x3b3d77=_0x3175ea(_0x4b9b88),_0x152dc2=_0x3175ea(_0xeb56ef);if(_0x3b3d77==null||_0x152dc2==null)return!0x1;switch(_0x1433b3){case'is':return _0x3b3d77===_0x152dc2;case'isNot':return _0x3b3d77!==_0x152dc2;case _0x5aaeb5(0x207):return _0x3b3d77>_0x152dc2;case'greaterThanOrEqual':return _0x3b3d77>=_0x152dc2;case _0x5aaeb5(0x143):return _0x3b3d77<_0x152dc2;case _0x5aaeb5(0x3b9):return _0x3b3d77<=_0x152dc2;default:return!0x1;}}function _0x3175ea(_0x496b16){const _0x277dd7=_0x10b817;if(_0x496b16==null||_0x496b16==='')return null;let _0xf381a4=Number(_0x496b16);return Number[_0x277dd7(0x4c9)](_0xf381a4)?_0xf381a4:null;}function _0x3d6859(_0x28829d,_0x47012c,_0x122ae6,_0xaab5b2){const _0x5ae375=_0x10b817;let _0x66ff88=_0x35d34c(_0x28829d);if(_0x66ff88==null)return!0x1;let _0x465eaa=_0x39434b(_0xaab5b2['dateMode']??_0x5ae375(0x4d3),_0x122ae6,_0xaab5b2['now']);if(!_0x465eaa)return!0x1;switch(_0x47012c){case'is':return _0x66ff88>=_0x465eaa[_0x5ae375(0x41f)]&&_0x66ff88<=_0x465eaa['end'];case _0x5ae375(0x42e):return _0x66ff88<_0x465eaa[_0x5ae375(0x41f)]||_0x66ff88>_0x465eaa[_0x5ae375(0x23f)];case'before':return _0x66ff88<_0x465eaa[_0x5ae375(0x41f)];case _0x5ae375(0x480):return _0x66ff88>_0x465eaa[_0x5ae375(0x23f)];default:return!0x1;}}function _0x39434b(_0x38c5d7,_0x371795,_0x682c5f=Date[_0x10b817(0x4c4)]()){const _0x88e310=_0x10b817;let _0x28f7a7=_0x6de3fe(_0x682c5f);switch(_0x38c5d7){case _0x88e310(0x4d3):{let _0x426523=_0x35d34c(_0x371795);return _0x426523==null?null:{'start':_0x426523,'end':_0x426523+_0x5e51ab-0x1};}case _0x88e310(0x40c):return{'start':_0x28f7a7,'end':_0x28f7a7+_0x5e51ab-0x1};case _0x88e310(0x334):return{'start':_0x28f7a7+_0x5e51ab,'end':_0x28f7a7+_0x5e51ab*0x2-0x1};case _0x88e310(0x30b):return{'start':_0x28f7a7-_0x5e51ab,'end':_0x28f7a7-0x1};case _0x88e310(0x48c):return _0x387547(_0x28f7a7,0x0);case _0x88e310(0x1bd):return _0x387547(_0x28f7a7,-0x1);case'thisMonth':return _0x37dc3e(_0x28f7a7,0x0);case _0x88e310(0x421):return _0x37dc3e(_0x28f7a7,-0x1);case'past7':return{'start':_0x28f7a7-_0x5e51ab*0x6,'end':_0x28f7a7+_0x5e51ab-0x1};case _0x88e310(0x381):return{'start':_0x28f7a7,'end':_0x28f7a7+_0x5e51ab*0x7-0x1};case'past30':return{'start':_0x28f7a7-_0x5e51ab*0x1d,'end':_0x28f7a7+_0x5e51ab-0x1};case'next30':return{'start':_0x28f7a7,'end':_0x28f7a7+_0x5e51ab*0x1e-0x1};}}function _0x35d34c(_0x5c5d58){let _0x3644ca=_0x1e18eb(_0x5c5d58);return _0x3644ca==null?null:_0x6de3fe(_0x37e79f(_0x3644ca));}function _0x6de3fe(_0x22f527){const _0x1d9582=_0x10b817;let _0x59813f=new Date(_0x22f527);return _0x59813f[_0x1d9582(0x1dc)](0x0,0x0,0x0,0x0),_0x59813f['getTime']();}function _0x387547(_0x42c646,_0x4d159d){let _0x546d5f=_0x42c646-(new Date(_0x42c646)['getDay']()+0x6)%0x7*_0x5e51ab+_0x4d159d*_0x5e51ab*0x7;return{'start':_0x546d5f,'end':_0x546d5f+_0x5e51ab*0x7-0x1};}function _0x37dc3e(_0xd94e47,_0x4353c8){const _0x491229=_0x10b817;let _0x541a3c=new Date(_0xd94e47),_0x300f05=new Date(_0x541a3c[_0x491229(0x380)](),_0x541a3c[_0x491229(0x42a)]()+_0x4353c8,0x1),_0x4ffec2=new Date(_0x541a3c[_0x491229(0x380)](),_0x541a3c[_0x491229(0x42a)]()+_0x4353c8+0x1,0x1);return{'start':_0x300f05[_0x491229(0x299)](),'end':_0x4ffec2[_0x491229(0x299)]()-0x1};}function _0x1bb6c4(_0x4e91f5,_0x26a0f1,_0x49ef8f){const _0x1c421b=_0x10b817;let _0x2a234d=_0x114239(_0x4e91f5),_0x9b2e55=_0x114239(_0x49ef8f);switch(_0x26a0f1){case'is':return _0x2a234d===_0x9b2e55;case _0x1c421b(0x42e):return _0x2a234d!==_0x9b2e55;default:return!0x1;}}function _0x114239(_0x5e97db){const _0x487904=_0x10b817;return _0x5e97db===!0x0||_0x5e97db===_0x487904(0x465)||_0x5e97db===0x1||_0x5e97db==='1';}function _0x2cc7e9(_0x42c9f2,_0x730cfb,_0xa1d16e,_0x14fb8f){const _0xfc96d0=_0x10b817;let _0x5d3d87=_0x5d7f10(_0x42c9f2,_0x14fb8f),_0x339d57=_0x5d7f10(_0xa1d16e,_0x14fb8f),_0x265184=_0x339d57[_0xfc96d0(0x350)]>0x0&&_0x339d57['some'](_0x4183e9=>_0x5d3d87[_0xfc96d0(0x41a)](_0x4183e9));switch(_0x730cfb){case'is':case _0xfc96d0(0x1f1):return _0x265184;case _0xfc96d0(0x42e):case _0xfc96d0(0x4ca):return!_0x265184;default:return!0x1;}}function _0x527066(_0x17f247,_0x525b2c,_0x1ed708){const _0x414ca7=_0x10b817;let _0x4d87dd=_0x4af399(_0x17f247),_0x15fa9e=_0x4af399(_0x1ed708);switch(_0x525b2c){case'is':return _0x4d87dd===_0x15fa9e;case _0x414ca7(0x42e):return _0x4d87dd!==_0x15fa9e;case _0x414ca7(0x1f1):return _0x15fa9e?_0x4d87dd[_0x414ca7(0x41a)](_0x15fa9e):!0x1;case _0x414ca7(0x4ca):return!_0x15fa9e||!_0x4d87dd[_0x414ca7(0x41a)](_0x15fa9e);default:return!0x1;}}function _0x4af399(_0x294096){const _0x20b93b=_0x10b817;if(Array['isArray'](_0x294096))return _0x294096[_0x20b93b(0x4fd)](_0x3efb6c=>_0x4af399(_0x3efb6c))[_0x20b93b(0x214)]('\x0a');if(_0x294096&&typeof _0x294096=='object'){let _0x2b4fd8=_0x294096;return String(_0x2b4fd8[_0x20b93b(0x4ed)]??_0x2b4fd8[_0x20b93b(0x4e4)]??_0x2b4fd8['text']??_0x2b4fd8[_0x20b93b(0x2dc)]??_0x2b4fd8['id']??'')['trim']()['toLowerCase']();}return String(_0x294096??'')[_0x20b93b(0x328)]()[_0x20b93b(0x4fa)]();}function _0x5d7f10(_0x41d0f1,_0x493ded){const _0x32da23=_0x10b817;let _0x315a5e=_0x42d81b(_0x41d0f1),_0x5735b6=_0x330b52(_0x493ded[_0x32da23(0x414)]??{});return _0x315a5e[_0x32da23(0x158)](_0x33214f=>_0x5735b6[_0x32da23(0x353)](_0x33214f)??[_0x33214f])[_0x32da23(0x2b7)]((_0x73501d,_0x1d3bc3,_0x7ff151)=>_0x73501d!==''&&_0x7ff151[_0x32da23(0x354)](_0x73501d)===_0x1d3bc3);}function _0x42d81b(_0x48f6ae){const _0x539748=_0x10b817;if(_0x48f6ae==null||_0x48f6ae==='')return[];if(Array[_0x539748(0x233)](_0x48f6ae))return _0x48f6ae[_0x539748(0x158)](_0x4a3576=>_0x42d81b(_0x4a3576));if(_0x48f6ae&&typeof _0x48f6ae=='object'){let _0x66d840=_0x48f6ae;return['id',_0x539748(0x4ed),_0x539748(0x4e4),_0x539748(0x2dc),_0x539748(0x3d9)][_0x539748(0x158)](_0x4506a2=>_0x42d81b(_0x66d840[_0x4506a2]))[_0x539748(0x2b7)]((_0xe1f31,_0x165f54,_0x1bec58)=>_0x1bec58[_0x539748(0x354)](_0xe1f31)===_0x165f54);}return[_0x4af399(_0x48f6ae)];}function _0x330b52(_0x4de349){const _0x397b44=_0x10b817;let _0x53e764=new Map();return(Array['isArray'](_0x4de349[_0x397b44(0x4b8)])?_0x4de349[_0x397b44(0x4b8)]:[])[_0x397b44(0x4ac)](_0x7141a3=>{const _0xe2f37=_0x397b44;if(!_0x7141a3||typeof _0x7141a3!='object')return;let _0x39f83c=_0x42d81b(_0x7141a3),_0x21b06f=_0x39f83c[_0xe2f37(0x2b7)]((_0x4ef9c3,_0x42f858)=>_0x4ef9c3!==''&&_0x39f83c[_0xe2f37(0x354)](_0x4ef9c3)===_0x42f858);_0x21b06f['forEach'](_0x526b81=>_0x53e764['set'](_0x526b81,_0x21b06f));}),_0x53e764;}function _0x1d335f(_0x4d8d01,_0x4bd1b0={},_0x1f96cc=_0x594b83=>_0x594b83,_0x4decc0={}){const _0x2ce11f=_0x10b817;let _0x23f87e=!_0x397d7f['has'](_0x4d8d01),_0x5f499a=_0x1f96cc??(_0x3eb918=>_0x3eb918);return{'type':_0x4d8d01,'i18nKey':_0x2ce11f(0x561)+_0x4d8d01,'enabled':_0x23f87e,'visibleInCreateMenu':_0x23f87e,'createDefaultConfig':_0x4decc0[_0x2ce11f(0x54f)]??(()=>({})),'createDefaultValue':_0x4decc0[_0x2ce11f(0x393)]??(_0x4fdfee=>_0x4fdfee[_0x2ce11f(0x4e1)]??null),'normalize':(_0x6f9ac9,_0x28962e)=>_0x5f499a(_0x6f9ac9,_0x28962e),'validate':(_0x1c57a5,_0x23e577)=>{const _0x2c7ac9=_0x2ce11f;var _0x3648af;return _0x23f87e?((_0x3648af=_0x4decc0[_0x2c7ac9(0x1be)])==null?void 0x0:_0x3648af[_0x2c7ac9(0x3e7)](_0x4decc0,_0x1c57a5,_0x23e577))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x275ffb,_0x2863e9)=>_0x4dd722(_0x275ffb,_0x2863e9),'filter':(_0x414fc3,_0x148b9c,_0x4f0f1f,_0x3f0572)=>_0x4b18ac(_0x414fc3,_0x148b9c,_0x4f0f1f,_0x3f0572),'toPlainText':_0x4decc0[_0x2ce11f(0x42b)]??(_0x52d043=>_0x52d043==null?'':String(_0x52d043)),'fromPlainText':_0x4decc0[_0x2ce11f(0x546)]??(_0x5f10ba=>_0x5f499a(_0x5f10ba,{'id':'','name':'','type':_0x4d8d01,'config':{}})),'getCapabilities':()=>({..._0x400c69,..._0x4bd1b0,'editable':_0x23f87e&&(_0x4bd1b0[_0x2ce11f(0x1f4)]??_0x400c69['editable'])})};}function _0x592ce2(){const _0x192cd2=_0x10b817;return[_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x286)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x192cd2(0x114)}),'createDefaultValue':_0x46da7a=>_0x46da7a['defaultValue']??''}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x32c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x34c916=>_0x34c916==null||_0x34c916===''?null:String(_0x34c916),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x192cd2(0x4c0)}})}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x220)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x45be75=>Array[_0x192cd2(0x233)](_0x45be75)?_0x45be75[_0x192cd2(0x4fd)](String):_0x45be75==null?[]:[String(_0x45be75)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x192cd2(0x4c0)}}),'createDefaultValue':_0xea11b9=>_0xea11b9[_0x192cd2(0x4e1)]??[]}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)]['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x31140f,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x192cd2(0x555)}),'validate':_0x149d51}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x22a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x21519a,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x192cd2(0x1ff)}),'createDefaultValue':_0x22cf16=>_0x22cf16[_0x192cd2(0x4e1)]??[],'validate':_0xf4359c}),_0x1d335f(_0x1684be['BaseFieldType']['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x588041=>_0x1e18eb(_0x588041),{'createDefaultConfig':()=>_0x2e09c1(),'validate':_0xffe2bd}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x42d)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x14654f=>_0x14654f==null?[]:Array[_0x192cd2(0x233)](_0x14654f)?_0x14654f:[_0x14654f],{'createDefaultValue':_0x4b9232=>_0x4b9232[_0x192cd2(0x4e1)]??[]}),_0x1d335f(_0x1684be['BaseFieldType'][_0x192cd2(0x2ea)],{},_0x118e10=>_0x118e10==null||_0x118e10===''?null:Number(_0x118e10),{'createDefaultConfig':()=>_0x15e873(),'validate':_0x403dec}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)]['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x388778=>_0x388778===!0x0||_0x388778===_0x192cd2(0x465)||_0x388778===0x1||_0x388778==='1',{'createDefaultConfig':()=>({'icon':_0x192cd2(0x4fe),'color':'#16a34a'}),'createDefaultValue':_0x442e22=>_0x442e22['defaultValue']??!0x1,'validate':_0x599ec1=>typeof _0x599ec1=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x192cd2(0x427)}}),_0x1d335f(_0x1684be['BaseFieldType'][_0x192cd2(0x1b9)],{'supportsRelation':!0x0},_0xbedc51,{'createDefaultConfig':()=>({'placeholder':_0x192cd2(0x41b)}),'toPlainText':_0x2adf7d=>_0x5ebc5c(_0x2adf7d),'fromPlainText':_0x5e48cf=>_0xbedc51(_0x5e48cf)}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)]['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x192cd2(0x3a9),'pattern':_0x192cd2(0x29c)}}),'createDefaultValue':()=>null}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x252)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x192cd2(0x170)}),'createDefaultValue':()=>null}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x1d9)],{'usableAsTitle':!0x0},_0x264850=>_0x264850==null?null:String(_0x264850)[_0x192cd2(0x328)](),{'validate':_0x7e4cdc=>_0x7e4cdc==null||_0x7e4cdc===''||/^\+?[0-9 ()-]{6,20}$/[_0x192cd2(0x3db)](String(_0x7e4cdc))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x192cd2(0x364)}}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x4b7)],{'usableAsTitle':!0x0},_0x3410cb=>_0x3410cb==null?null:String(_0x3410cb)[_0x192cd2(0x328)](),{'validate':_0x29a4da=>_0x29a4da==null||_0x29a4da===''||_0x2355f5(String(_0x29a4da))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x36e)],{'usableAsGanttProgress':!0x0},_0x9ffe5a=>_0x9ffe5a==null||_0x9ffe5a===''?null:Number(_0x9ffe5a),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x192cd2(0x48e),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x51ff8e,_0x3f8d72)=>_0x39cf98(_0x51ff8e,_0x3f8d72,_0x192cd2(0x39a))}),_0x1d335f(_0x1684be['BaseFieldType']['Currency'],{},_0x5a5770=>_0x5a5770==null||_0x5a5770===''?null:Number(_0x5a5770),{'createDefaultConfig':()=>({..._0x15e873(),'currencySymbol':'$'}),'validate':_0x403dec}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x55c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3f90a0=>_0x3f90a0==null||_0x3f90a0===''?null:Number(_0x3f90a0),{'createDefaultConfig':()=>({'icon':_0x192cd2(0x415),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x241abb,_0x4f5ae2)=>_0x39cf98(_0x241abb,_0x4f5ae2,_0x192cd2(0x55a))}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)]['RecordLink'],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x34b3ea,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0xe0ace4,_0x1767c8)=>_0x188677(_0xe0ace4,_0x1767c8[_0x192cd2(0x414)][_0x192cd2(0x564)]===!0x0)}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x3fe)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x1e6)],{'editable':!0x1,'groupable':!0x0},_0x12a0f1=>_0x12a0f1==null?null:String(_0x12a0f1),{'createDefaultConfig':()=>({'provider':_0x192cd2(0x462)}),'createDefaultValue':()=>null}),_0x1d335f(_0x1684be['BaseFieldType']['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x54c42a=>_0x54c42a==null?null:String(_0x54c42a),{'createDefaultConfig':()=>({'provider':_0x192cd2(0x462)}),'createDefaultValue':()=>null}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x17f)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xacffdb=>_0x1e18eb(_0xacffdb),{'createDefaultConfig':()=>_0x2e09c1(),'createDefaultValue':()=>null,'validate':_0xffe2bd}),_0x1d335f(_0x1684be[_0x192cd2(0x1e3)][_0x192cd2(0x4ad)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x58b705=>_0x1e18eb(_0x58b705),{'createDefaultConfig':()=>_0x2e09c1(),'createDefaultValue':()=>null,'validate':_0xffe2bd})];}function _0x15e873(){const _0x2cfd75=_0x10b817;return{'pattern':_0x2cfd75(0x417),'decimalPlaces':0x2,'separatorStyle':_0x2cfd75(0x168),'useThousands':!0x0,'abbreviation':_0x2cfd75(0x3a6),'allowNegative':!0x0};}function _0x2e09c1(){const _0xa3bc29=_0x10b817;return{'locale':_0xa3bc29(0x36f),'pattern':_0xa3bc29(0x149),'includeTime':!0x1,'hourCycle':_0xa3bc29(0x47b),'defaultMode':_0xa3bc29(0x3a6)};}function _0x21519a(_0x21df28){const _0x360303=_0x10b817;return _0x21df28==null||_0x21df28===''?[]:Array[_0x360303(0x233)](_0x21df28)?_0x21df28[_0x360303(0x4fd)](String):[String(_0x21df28)];}function _0x34b3ea(_0x5584fd){const _0xae3443=_0x10b817;return typeof _0x5584fd==_0xae3443(0x488)?_0x5584fd:'';}function _0x31140f(_0x48721a,_0x55c8d0){const _0x53f885=_0x10b817;return _0x48721a==null||_0x48721a===''?_0x55c8d0[_0x53f885(0x414)][_0x53f885(0x45d)]===!0x0?[]:null:_0x55c8d0[_0x53f885(0x414)]['allowMultiple']===!0x0?Array[_0x53f885(0x233)](_0x48721a)?_0x48721a['map'](String):[String(_0x48721a)]:Array[_0x53f885(0x233)](_0x48721a)?String(_0x48721a[0x0]??'')||null:String(_0x48721a);}function _0x149d51(_0x48bbb6,_0xc7be14){const _0xc80da1=_0x10b817;return _0xc7be14[_0xc80da1(0x414)]['allowMultiple']===!0x0?_0xf4359c(_0x48bbb6):_0x48bbb6==null||_0x48bbb6===''||typeof _0x48bbb6==_0xc80da1(0x488)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc80da1(0x490)};}function _0xf4359c(_0x388612){const _0x467714=_0x10b817;return _0x388612==null||Array[_0x467714(0x233)](_0x388612)&&_0x388612[_0x467714(0x31e)](_0x53df92=>typeof _0x53df92=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x467714(0x386)};}function _0xffe2bd(_0x25d824){const _0x2d9d4e=_0x10b817;return _0x25d824==null||typeof _0x25d824==_0x2d9d4e(0x188)&&Number['isFinite'](_0x25d824)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2d9d4e(0x34a)};}function _0x403dec(_0x4eb3ab,_0x507fd3){const _0x306765=_0x10b817;return _0x4eb3ab==null||_0x4eb3ab===''?{'valid':!0x0}:typeof _0x4eb3ab!=_0x306765(0x188)||!Number[_0x306765(0x4c9)](_0x4eb3ab)?{'valid':!0x1,'reason':_0x306765(0x18b)}:_0x507fd3[_0x306765(0x414)][_0x306765(0x169)]===!0x1&&_0x4eb3ab<0x0?{'valid':!0x1,'reason':_0x306765(0x437)}:{'valid':!0x0};}function _0x39cf98(_0x293256,_0x6caf1f,_0x2f3106){const _0x537c3d=_0x10b817;let _0x53cd6e=_0x403dec(_0x293256,_0x6caf1f);if(!_0x53cd6e['valid']||_0x293256==null||_0x293256==='')return _0x53cd6e;let _0x2570ca=Number(_0x6caf1f[_0x537c3d(0x414)]['min']??_0x6caf1f[_0x537c3d(0x414)][_0x537c3d(0x41f)]??0x0),_0x37bd63=Number(_0x6caf1f['config']['max']??_0x6caf1f[_0x537c3d(0x414)][_0x537c3d(0x23f)]??0x64),_0x3f7f8e=Number(_0x293256);return _0x3f7f8e>=_0x2570ca&&_0x3f7f8e<=_0x37bd63?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3106};}function _0xbedc51(_0x550b3e){const _0xcc5d04=_0x10b817;if(_0x550b3e==null||_0x550b3e==='')return null;if(typeof _0x550b3e==_0xcc5d04(0x304)&&!Array[_0xcc5d04(0x233)](_0x550b3e)){let _0x418044=_0x550b3e,_0x5301ae=typeof _0x418044[_0xcc5d04(0x3d9)]==_0xcc5d04(0x488)?_0x418044['text'][_0xcc5d04(0x328)]():'',_0x3d0108=typeof _0x418044[_0xcc5d04(0x351)]=='string'?_0x418044[_0xcc5d04(0x351)]['trim']():'',_0x2eb2ff=_0x25e55d(_0x3d0108||_0x5301ae);return _0x2eb2ff?{'text':_0x5301ae||_0x3d0108||_0x2eb2ff,'url':_0x2eb2ff}:null;}let _0xaf8e28=String(_0x550b3e)['trim'](),_0x4a5cbc=_0x25e55d(_0xaf8e28);return _0x4a5cbc?{'text':_0xaf8e28,'url':_0x4a5cbc}:null;}function _0x5ebc5c(_0x325ed1){const _0x490ad2=_0x10b817;if(_0x325ed1==null)return'';if(typeof _0x325ed1==_0x490ad2(0x304)&&!Array['isArray'](_0x325ed1)){let _0xd91c8f=_0x325ed1;return String(_0xd91c8f[_0x490ad2(0x3d9)]||_0xd91c8f[_0x490ad2(0x351)]||'');}return String(_0x325ed1);}function _0x25e55d(_0x602281){const _0x468f1b=_0x10b817;let _0xee058f=_0x602281[_0x468f1b(0x328)]();if(!_0xee058f)return'';let _0x4c9070=/^[a-z][a-z\d+.-]*:/i[_0x468f1b(0x3db)](_0xee058f)?_0xee058f:_0xee058f['startsWith']('//')?_0x468f1b(0x335)+_0xee058f:_0x468f1b(0x249)+_0xee058f;try{let _0x5205f5=new URL(_0x4c9070);return _0x5205f5[_0x468f1b(0x563)]===_0x468f1b(0x242)||_0x5205f5['protocol']===_0x468f1b(0x335)?_0x5205f5[_0x468f1b(0x3ba)]:'';}catch{return'';}}function _0x2355f5(_0x595e6f){const _0x98b416=_0x10b817;let _0x5b8df4=_0x595e6f['indexOf']('@');if(_0x5b8df4<=0x0||_0x5b8df4!==_0x595e6f['lastIndexOf']('@'))return!0x1;let _0x3b164d=_0x595e6f['slice'](_0x5b8df4+0x1);return _0x3b164d['includes']('.')&&!_0x595e6f[_0x98b416(0x41a)]('\x20')&&!_0x3b164d['startsWith']('.')&&!_0x3b164d[_0x98b416(0x11f)]('.');}let _0x15586b={'table':_0xaa96bb=>[_0x10b817(0x135),_0xaa96bb],'field':(_0x351489,_0x2db712)=>[_0x10b817(0x135),_0x351489,_0x10b817(0x22d),_0x2db712],'fieldOrder':(_0x403e0f,_0x6ca1c6)=>[_0x10b817(0x135),_0x403e0f,_0x10b817(0x3c3),_0x6ca1c6],'record':(_0x17cee4,_0xd4e02e)=>['tables',_0x17cee4,_0x10b817(0x510),_0xd4e02e],'cell':(_0x470280,_0x518e2e,_0x44a830)=>[_0x10b817(0x135),_0x470280,_0x10b817(0x510),_0x518e2e,_0x10b817(0x243),_0x44a830],'cellData':(_0x4b561a,_0x2c77a6,_0x4fe0e3)=>[_0x10b817(0x135),_0x4b561a,_0x10b817(0x1e5),String(_0x2c77a6),String(_0x4fe0e3)],'attachmentSet':(_0x388fc8,_0x3f3b1d)=>[_0x10b817(0x135),_0x388fc8,_0x10b817(0x3cb),'attachmentSets',_0x3f3b1d],'attachment':(_0x1949db,_0x2d28ee)=>[_0x10b817(0x135),_0x1949db,_0x10b817(0x3cb),_0x10b817(0x1f6),_0x2d28ee],'view':(_0x51c66f,_0x5d81b9)=>['tables',_0x51c66f,_0x10b817(0x1b8),_0x5d81b9],'viewFieldHidden':(_0x1a4b92,_0x2361a2,_0x2bc792)=>[_0x10b817(0x135),_0x1a4b92,_0x10b817(0x1b8),_0x2361a2,_0x10b817(0x55d),_0x2bc792,'hidden']};var _0x519e7e=class{['setBaseName'](_0x366a85,_0x4b3fda){const _0x24e4ff=_0x10b817;let _0x600a00=this[_0x24e4ff(0x19a)](_0x366a85,_0x366a85['name'],_0x4b3fda);return _0x33735e([this[_0x24e4ff(0x210)]([_0x24e4ff(0x4ed)],_0x366a85[_0x24e4ff(0x4ed)],_0x4b3fda),..._0x600a00?[_0x600a00]:[]]);}['renameFormulaUnitReferences'](_0x45baff,_0x12b302,_0x2dad83){const _0x31eba4=_0x10b817;let _0x1f7aea=Object['values'](_0x45baff[_0x31eba4(0x135)])[_0x31eba4(0x158)](_0x21c69e=>Object[_0x31eba4(0x243)](_0x21c69e[_0x31eba4(0x22d)])[_0x31eba4(0x158)](_0x417e59=>{const _0x134533=_0x31eba4;var _0x344fa3,_0x3cce5a;if(_0x417e59[_0x134533(0x4af)]!==_0x1684be[_0x134533(0x1e3)]['Formula'])return[];let _0x4a2f0a=String(((_0x344fa3=_0x417e59[_0x134533(0x414)])==null?void 0x0:_0x344fa3[_0x134533(0x1eb)])??''),_0x3d6905=(0x0,_0xb4ab41['refactorFormulaUnitQualifier'])(_0x4a2f0a,_0x12b302,_0x2dad83);return _0x3d6905===_0x4a2f0a?[]:[this['_replaceOptional']([..._0x15586b['field'](_0x21c69e['id'],_0x417e59['id']),_0x134533(0x414),_0x134533(0x1eb)],(_0x3cce5a=_0x417e59[_0x134533(0x414)])==null?void 0x0:_0x3cce5a[_0x134533(0x1eb)],_0x3d6905)];}));return _0x1f7aea[_0x31eba4(0x350)]>0x0?_0x33735e(_0x1f7aea):void 0x0;}['createTable'](_0x2d511b,_0x4c1d0c,_0x30b5dd=_0x2d511b[_0x10b817(0x430)][_0x10b817(0x350)]){const _0x432077=_0x10b817;let _0x448ade=(0x0,_0x1684be[_0x432077(0x2a2)])(_0x4c1d0c[_0x432077(0x4ed)],(0x0,_0x1684be[_0x432077(0x394)])(_0x2d511b)['values'](),_0x4c1d0c['formulaName']),_0x55520e=_0x4c1d0c['formulaName']===_0x448ade?_0x4c1d0c:{..._0x4c1d0c,'formulaName':_0x448ade};return _0x33735e([...this[_0x432077(0x180)](_0x2d511b),_0x1684be[_0x432077(0x49f)][_0x432077(0x235)](_0x15586b[_0x432077(0x3be)](_0x4c1d0c['id']),_0x55520e),_0x1684be[_0x432077(0x49f)][_0x432077(0x235)]([_0x432077(0x430),_0x30b5dd],_0x4c1d0c['id'])]);}[_0x10b817(0x25b)](_0x2d93a3,_0x3bd74d,_0x541c54){const _0x54adbb=_0x10b817;let _0x5c494c=_0x2d93a3[_0x54adbb(0x135)][_0x3bd74d];return _0x33735e([...this[_0x54adbb(0x180)](_0x2d93a3),_0x1684be[_0x54adbb(0x49f)][_0x54adbb(0x482)]([..._0x15586b[_0x54adbb(0x3be)](_0x3bd74d),_0x54adbb(0x4ed)],_0x5c494c['name'],_0x541c54)]);}[_0x10b817(0x33e)](_0x18dbdc,_0x597757){const _0x2d587b=_0x10b817;let _0x549890=_0x18dbdc[_0x2d587b(0x135)][_0x597757],_0x44912f=_0x18dbdc[_0x2d587b(0x430)][_0x2d587b(0x354)](_0x597757);return _0x33735e([...this[_0x2d587b(0x180)](_0x18dbdc,new Set([_0x597757])),_0x1684be[_0x2d587b(0x49f)][_0x2d587b(0x487)](_0x15586b[_0x2d587b(0x3be)](_0x597757),_0x549890),_0x1684be[_0x2d587b(0x49f)][_0x2d587b(0x487)]([_0x2d587b(0x430),_0x44912f],_0x597757)]);}[_0x10b817(0x303)](_0x124d85,_0x47afd7,_0x57ed33){return this['createRecords'](_0x124d85,_0x47afd7,[_0x57ed33]);}[_0x10b817(0x2c3)](_0x23d929,_0x4d1ee0,_0x36b14a){const _0x32d7c7=_0x10b817;let _0x40535b=_0x23d929[_0x32d7c7(0x135)][_0x4d1ee0],_0x3cbfad=_0x36b14a[_0x32d7c7(0x2b7)](_0x3bd3ed=>_0x3bd3ed&&!_0x40535b[_0x32d7c7(0x510)][_0x3bd3ed['id']])['map'](_0x1531c2=>({..._0x1531c2,'values':{..._0x1531c2[_0x32d7c7(0x243)],[_0x1684be[_0x32d7c7(0x26a)]]:_0x1531c2['id']}}));if(!_0x3cbfad[_0x32d7c7(0x350)])return _0x1684be['JSON1'][_0x32d7c7(0x482)]([..._0x15586b[_0x32d7c7(0x3be)](_0x4d1ee0),_0x32d7c7(0x510)],_0x40535b[_0x32d7c7(0x510)],_0x40535b[_0x32d7c7(0x510)]);let _0x1b3745=new _0x1684be['JSON1']['WriteCursor'](),_0x51017c=[..._0x3cbfad][_0x32d7c7(0x409)]((_0x1cf1d2,_0x3139a8)=>_0x1cf1d2['id']<_0x3139a8['id']?-0x1:+(_0x1cf1d2['id']>_0x3139a8['id'])),_0x54755d=[..._0x15586b[_0x32d7c7(0x3be)](_0x4d1ee0),_0x32d7c7(0x510)];_0x1b3745[_0x32d7c7(0x346)](_0x54755d);for(let _0x164113 of _0x51017c)_0x1b3745['descend'](_0x164113['id']),_0x1b3745[_0x32d7c7(0x4c6)]('i',_0x164113),_0x1b3745[_0x32d7c7(0x13a)]();for(let _0x18365b=0x0;_0x18365b<_0x54755d['length'];_0x18365b+=0x1)_0x1b3745[_0x32d7c7(0x13a)]();return _0x33735e([_0x1b3745[_0x32d7c7(0x353)](),this[_0x32d7c7(0x392)](_0x23d929,_0x4d1ee0,_0x3cbfad)]);}['deleteRecord'](_0x3838cc,_0x3deba4,_0x5e6198){const _0x3c0d86=_0x10b817;return this[_0x3c0d86(0x436)](_0x3838cc,_0x3deba4,[_0x5e6198]);}[_0x10b817(0x436)](_0x3f70c3,_0x45cbd4,_0x28c72c){const _0x42abfa=_0x10b817;let _0x26b216=_0x3f70c3[_0x42abfa(0x135)][_0x45cbd4],_0x41f87e=Array[_0x42abfa(0x1dd)](new Set(_0x28c72c))[_0x42abfa(0x2b7)](_0x1c26b5=>_0x26b216['records'][_0x1c26b5]);if(!_0x41f87e[_0x42abfa(0x350)])return _0x1684be['JSON1']['replaceOp']([..._0x15586b['table'](_0x45cbd4),_0x42abfa(0x510)],_0x26b216['records'],_0x26b216[_0x42abfa(0x510)]);let _0x53993e=new Set(_0x41f87e),_0x2a3db5=_0x3fecef(_0x26b216,_0x41f87e)['map'](_0x3ea7d0=>this[_0x42abfa(0x543)](_0x3f70c3,_0x45cbd4,_0x3ea7d0[_0x42abfa(0x240)],_0x3ea7d0[_0x42abfa(0x294)],''));return _0x33735e([this[_0x42abfa(0x442)](_0x3f70c3,_0x45cbd4,_0x41f87e,_0x53993e),..._0x2a3db5]);}[_0x10b817(0x36c)](_0x473c59,_0x465785,_0x17f1e,_0x20d6fb){const _0x5286ce=_0x10b817;let _0x3781f3=_0x473c59[_0x5286ce(0x135)][_0x17f1e],_0x4d3c78=Array[_0x5286ce(0x1dd)](new Set(_0x20d6fb))[_0x5286ce(0x2b7)](_0x540345=>_0x3781f3[_0x5286ce(0x510)][_0x540345]),_0x2e3b4a=new Set(_0x4d3c78);return _0x33735e([new _0x540632()['invertOp'](_0x473c59,this[_0x5286ce(0x442)](_0x473c59,_0x17f1e,_0x4d3c78,_0x2e3b4a)),..._0x3fecef(_0x3781f3,_0x4d3c78)[_0x5286ce(0x4fd)](_0x12968e=>this[_0x5286ce(0x543)](_0x465785,_0x17f1e,_0x12968e['recordId'],_0x12968e[_0x5286ce(0x294)],_0x12968e[_0x5286ce(0x483)]??''))]);}[_0x10b817(0x442)](_0x49997b,_0x219b72,_0x45aa8a,_0x2ad3cc){const _0x3bedfe=_0x10b817;let _0x1e80d3=_0x49997b[_0x3bedfe(0x135)][_0x219b72],_0x4594a9=_0x45aa8a['map'](_0x43a18d=>{const _0x1fa7da=_0x3bedfe;var _0x52511b;return{'recordId':_0x43a18d,'index':((_0x52511b=_0x1e80d3['recordOrder'])==null?void 0x0:_0x52511b[_0x1fa7da(0x354)](_0x43a18d))??-0x1};})[_0x3bedfe(0x2b7)](_0x61bad7=>_0x61bad7[_0x3bedfe(0x2dd)]>=0x0)[_0x3bedfe(0x409)]((_0x21bb54,_0x206876)=>_0x206876[_0x3bedfe(0x2dd)]-_0x21bb54[_0x3bedfe(0x2dd)]);return _0x33735e([..._0x45aa8a['map'](_0x4906eb=>_0x1684be[_0x3bedfe(0x49f)]['removeOp'](_0x15586b[_0x3bedfe(0x40f)](_0x219b72,_0x4906eb),_0x1e80d3[_0x3bedfe(0x510)][_0x4906eb])),..._0x4594a9[_0x3bedfe(0x4fd)](({recordId:_0x319cff,index:_0x42acd3})=>_0x1684be[_0x3bedfe(0x49f)][_0x3bedfe(0x487)]([_0x3bedfe(0x135),_0x219b72,'recordOrder',_0x42acd3],_0x319cff)),...this['_deleteAttachmentResources'](_0x1e80d3,_0x219b72,_0x45b773=>{const _0x9ada48=_0x3bedfe;let _0x323b0d=_0x45b773['slice'](_0x45b773[_0x9ada48(0x264)]('\x1f')+0x1);return _0x2ad3cc[_0x9ada48(0x11b)](_0x323b0d);})]);}[_0x10b817(0x47d)](_0x18a323,_0x48ff65,_0x2bb9ca,_0x4379d3){const _0x54c652=_0x10b817;return this[_0x54c652(0x303)](_0x18a323,_0x48ff65,{..._0x4379d3,'values':{..._0x18a323['tables'][_0x48ff65][_0x54c652(0x510)][_0x2bb9ca][_0x54c652(0x243)],..._0x4379d3[_0x54c652(0x243)],[_0x1684be[_0x54c652(0x26a)]]:_0x4379d3['id']}});}[_0x10b817(0x2b2)](_0x592691,_0x24b2d6,_0x516043,_0x174ef8){const _0x150ec9=_0x10b817;let _0xce8af5=_0x592691['tables'][_0x24b2d6],_0x2971d3=[..._0x15586b[_0x150ec9(0x40f)](_0x24b2d6,_0x516043),'orderKey'],_0x5c840a=Object[_0x150ec9(0x243)](_0xce8af5['records'])[_0x150ec9(0x4fd)](_0x2495bc=>_0x2495bc['id']===_0x516043?{..._0x2495bc,'orderKey':_0x174ef8}:_0x2495bc)[_0x150ec9(0x409)]((_0x30c5fd,_0x3ebf5e)=>String(_0x30c5fd[_0x150ec9(0x241)]??_0x30c5fd['id'])['localeCompare'](String(_0x3ebf5e[_0x150ec9(0x241)]??_0x3ebf5e['id'])))['map'](_0xe01689=>_0xe01689['id']),_0x20e283=[..._0x15586b[_0x150ec9(0x3be)](_0x24b2d6),_0x150ec9(0x385)];return _0x33735e([this['_replaceOptional'](_0x2971d3,_0xce8af5[_0x150ec9(0x510)][_0x516043][_0x150ec9(0x241)],_0x174ef8),_0xce8af5[_0x150ec9(0x385)]?_0x1684be[_0x150ec9(0x49f)][_0x150ec9(0x482)](_0x20e283,_0xce8af5[_0x150ec9(0x385)],_0x5c840a):_0x1684be[_0x150ec9(0x49f)][_0x150ec9(0x235)](_0x20e283,_0x5c840a)]);}['updateCell'](_0x1baf60,_0x499d33,_0x48be07,_0x39cf14,_0x10b1d9){const _0x881c23=_0x10b817;var _0x1b066c,_0x4d485f;let _0x5c5116=_0x1baf60[_0x881c23(0x135)][_0x499d33],_0x3ba4ef=_0x30ddd4(_0x5c5116,_0x48be07,_0x39cf14)?_0x5c5116:_0xd74f23(_0x5c5116),_0x22d546=(_0x1b066c=_0x3ba4ef['rowIndex'])==null?void 0x0:_0x1b066c[_0x48be07],_0x5147dd=(_0x4d485f=_0x3ba4ef['colIndex'])==null?void 0x0:_0x4d485f[_0x39cf14];if(_0x22d546==null||_0x5147dd==null){var _0xa29f42;return this[_0x881c23(0x210)](_0x15586b[_0x881c23(0x3ce)](_0x499d33,_0x48be07,_0x39cf14),(_0xa29f42=_0x1baf60['tables'][_0x499d33])==null||(_0xa29f42=_0xa29f42[_0x881c23(0x510)][_0x48be07])==null?void 0x0:_0xa29f42[_0x881c23(0x243)][_0x39cf14],_0x10b1d9);}return this['setRangeValues'](_0x1baf60,_0x499d33,[{'row':_0x22d546,'col':_0x5147dd,'value':_0x10b1d9}]);}[_0x10b817(0x497)](_0x3cf330,_0x380f7a,_0x264722){const _0x570484=_0x10b817;let _0x5238c4=_0x3cf330[_0x570484(0x135)][_0x380f7a],_0x5ca18e=_0x264722[_0x570484(0x31e)](_0x3d63cf=>Object['keys'](_0x3d63cf[_0x570484(0x243)])[_0x570484(0x31e)](_0x463466=>_0x30ddd4(_0x5238c4,_0x3d63cf['recordId'],_0x463466)))?_0x5238c4:_0xd74f23(_0x5238c4),_0x42e387=_0x264722[_0x570484(0x158)](_0xbc136b=>Object[_0x570484(0x172)](_0xbc136b[_0x570484(0x243)])[_0x570484(0x158)](([_0x6d7778,_0x32a97f])=>{var _0x4d5afd,_0x14fe50;let _0x3c8ef=(_0x4d5afd=_0x5ca18e['rowIndex'])==null?void 0x0:_0x4d5afd[_0xbc136b['recordId']],_0xab0fd5=(_0x14fe50=_0x5ca18e['colIndex'])==null?void 0x0:_0x14fe50[_0x6d7778];return _0x3c8ef==null||_0xab0fd5==null?[]:[{'row':_0x3c8ef,'col':_0xab0fd5,'value':_0x32a97f}];})),_0x1013c7=_0x264722[_0x570484(0x158)](_0x48b447=>Object[_0x570484(0x172)](_0x48b447[_0x570484(0x2ce)]??{})[_0x570484(0x4fd)](([_0x1c9af9,_0x51bc7e])=>{const _0x2d6934=_0x570484;var _0x43c4d3;let _0x29e376=[..._0x15586b[_0x2d6934(0x40f)](_0x380f7a,_0x48b447[_0x2d6934(0x240)]),_0x1c9af9],_0x531a34=(_0x43c4d3=_0x3cf330['tables'][_0x380f7a])==null||(_0x43c4d3=_0x43c4d3['records'][_0x48b447[_0x2d6934(0x240)]])==null?void 0x0:_0x43c4d3[_0x1c9af9];return this[_0x2d6934(0x210)](_0x29e376,_0x531a34,_0x51bc7e);}));return _0x33735e([this[_0x570484(0x4f6)](_0x3cf330,_0x380f7a,_0x42e387),..._0x1013c7]);}[_0x10b817(0x4f6)](_0x5e99c4,_0x3ac921,_0x3a5222){const _0xc344fb=_0x10b817;let _0x4953b1=_0x5e99c4[_0xc344fb(0x135)][_0x3ac921],_0x406e7b=_0x3a5222['every'](_0x365562=>_0x1c9ac2(_0x4953b1,_0x365562[_0xc344fb(0x19c)],_0x365562['col']))?_0x4953b1:_0xd74f23(_0x4953b1),_0x3616ee=new Map(),_0x5b1049=_0x3a5222[_0xc344fb(0x158)](_0x249ddc=>{const _0x552b4c=_0xc344fb;var _0x56e8e4,_0x256931,_0x39bc4a,_0x2f7b83;let _0x32c7c8=(_0x56e8e4=_0x406e7b['colId'])==null?void 0x0:_0x56e8e4[_0x249ddc[_0x552b4c(0x4b5)]],_0x18c9ae=(_0x256931=_0x406e7b[_0x552b4c(0x1b1)])==null?void 0x0:_0x256931[_0x249ddc['row']],_0x208495=_0x32c7c8?_0x406e7b[_0x552b4c(0x22d)][_0x32c7c8]:void 0x0;if(_0x32c7c8===_0x1684be[_0x552b4c(0x26a)]||(_0x208495==null?void 0x0:_0x208495[_0x552b4c(0x4af)])===_0x1684be['BaseFieldType'][_0x552b4c(0x3fe)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x2383ec=_0x2a2585(_0x249ddc[_0x552b4c(0x2dc)],_0x208495),_0x2aa816=(_0x39bc4a=_0x406e7b[_0x552b4c(0x1e5)])==null||(_0x39bc4a=_0x39bc4a[_0x249ddc[_0x552b4c(0x19c)]])==null?void 0x0:_0x39bc4a[_0x249ddc[_0x552b4c(0x4b5)]],_0xa55d04=this[_0x552b4c(0x210)](_0x15586b[_0x552b4c(0x1e5)](_0x3ac921,_0x249ddc[_0x552b4c(0x19c)],_0x249ddc[_0x552b4c(0x4b5)]),_0x2aa816,_0x2383ec);if(!_0x32c7c8||!_0x18c9ae)return[_0xa55d04];let _0x1cdc08=(_0x2f7b83=_0x406e7b['records'][_0x18c9ae])==null?void 0x0:_0x2f7b83[_0x552b4c(0x243)][_0x32c7c8],_0x4e5e0a=(_0x208495==null?void 0x0:_0x208495[_0x552b4c(0x4af)])===_0x1684be[_0x552b4c(0x1e3)]['Attachment']?_0x2a319(_0x249ddc[_0x552b4c(0x2dc)]):_0x30dc09(_0x249ddc['value'],_0x2383ec,_0x208495,_0x406e7b,_0x18c9ae),_0x52e021=[_0xa55d04,this[_0x552b4c(0x210)](_0x15586b[_0x552b4c(0x3ce)](_0x3ac921,_0x18c9ae,_0x32c7c8),_0x1cdc08,_0x4e5e0a)];return(_0x208495==null?void 0x0:_0x208495['type'])===_0x1684be[_0x552b4c(0x1e3)][_0x552b4c(0x42d)]&&_0x3616ee[_0x552b4c(0x25a)](_0x3bebc6(_0x32c7c8,_0x18c9ae),{'recordId':_0x18c9ae,'fieldId':_0x32c7c8,'attachments':_0x4e5e0a}),_0x52e021;});return _0x5b1049[_0xc344fb(0x350)]?_0x33735e([..._0x5b1049,...this[_0xc344fb(0x502)](_0x406e7b,_0x3ac921,Array[_0xc344fb(0x1dd)](_0x3616ee[_0xc344fb(0x243)]()))]):_0x1684be['JSON1']['replaceOp']([_0xc344fb(0x135),_0x3ac921,'cellData'],_0x406e7b[_0xc344fb(0x1e5)],_0x406e7b[_0xc344fb(0x1e5)]);}[_0x10b817(0x15b)](_0x93ec59,_0xbbb21d,_0x21d35c){const _0x2adfdb=_0x10b817;let _0x1e7938=_0x93ec59['tables'][_0xbbb21d];if(_0x1e7938['fields'][_0x21d35c[_0x2adfdb(0x53a)]['id']]||_0x1e7938[_0x2adfdb(0x3c3)][_0x2adfdb(0x41a)](_0x21d35c[_0x2adfdb(0x53a)]['id']))return _0x1684be[_0x2adfdb(0x49f)][_0x2adfdb(0x482)]([_0x2adfdb(0x135),_0xbbb21d,_0x2adfdb(0x3c3)],_0x1e7938[_0x2adfdb(0x3c3)],_0x1e7938[_0x2adfdb(0x3c3)]);let _0x301811=Math[_0x2adfdb(0x35b)](0x1,_0x21d35c[_0x2adfdb(0x2dd)]??_0x1e7938[_0x2adfdb(0x3c3)][_0x2adfdb(0x350)]),_0x116a0b=Object[_0x2adfdb(0x243)](_0x1e7938[_0x2adfdb(0x1b8)]??{})[_0x2adfdb(0x158)](_0x471bae=>{const _0x260e39=_0x2adfdb;var _0x261533;if(!_0x471bae[_0x260e39(0x3c3)]||_0x471bae[_0x260e39(0x3c3)][_0x260e39(0x41a)](_0x21d35c[_0x260e39(0x53a)]['id']))return[];let _0x324e5e=_0x44a913(((_0x261533=_0x21d35c[_0x260e39(0x53d)])==null?void 0x0:_0x261533[_0x471bae['id']])??_0x301811,_0x471bae['fieldOrder'][_0x260e39(0x350)]);return[_0x1684be[_0x260e39(0x49f)][_0x260e39(0x235)]([..._0x15586b[_0x260e39(0x4dc)](_0xbbb21d,_0x471bae['id']),_0x260e39(0x3c3),_0x324e5e],_0x21d35c[_0x260e39(0x53a)]['id'])];});return _0x33735e([..._0x21d35c[_0x2adfdb(0x53a)][_0x2adfdb(0x4af)]===_0x1684be[_0x2adfdb(0x1e3)][_0x2adfdb(0x232)]?this['_materializeFormulaTableNames'](_0x93ec59):[],_0x1684be[_0x2adfdb(0x49f)]['insertOp'](_0x15586b[_0x2adfdb(0x53a)](_0xbbb21d,_0x21d35c['field']['id']),_0x21d35c[_0x2adfdb(0x53a)]),_0x1684be[_0x2adfdb(0x49f)][_0x2adfdb(0x235)](_0x15586b[_0x2adfdb(0x3c3)](_0xbbb21d,_0x301811),_0x21d35c[_0x2adfdb(0x53a)]['id']),..._0x116a0b]);}['duplicateField'](_0x2e51bd,_0xd28581,_0x417ca1,_0xeb63fd){const _0x5b5a03=_0x10b817;let _0x1b3e8d=_0x2e51bd[_0x5b5a03(0x135)][_0xd28581];if(!_0x1b3e8d['fields'][_0x417ca1]||_0x1b3e8d[_0x5b5a03(0x22d)][_0xeb63fd['field']['id']]||_0x1b3e8d['fieldOrder'][_0x5b5a03(0x41a)](_0xeb63fd[_0x5b5a03(0x53a)]['id']))return _0x1684be[_0x5b5a03(0x49f)]['replaceOp']([_0x5b5a03(0x135),_0xd28581,_0x5b5a03(0x3c3)],_0x1b3e8d[_0x5b5a03(0x3c3)],_0x1b3e8d[_0x5b5a03(0x3c3)]);let _0x47744e=_0xeb63fd[_0x5b5a03(0x2dd)]??_0x1b3e8d[_0x5b5a03(0x3c3)][_0x5b5a03(0x354)](_0x417ca1)+0x1,_0x3eb514=_0x1b3e8d[_0x5b5a03(0x3c3)][_0x5b5a03(0x2b7)](_0x5e7dc2=>_0x5e7dc2!==_0xeb63fd[_0x5b5a03(0x53a)]['id']),_0x5b3b0c=_0xb5f66b(_0x3eb514,_0xeb63fd[_0x5b5a03(0x53a)]['id'],_0x47744e),_0x2c6c91=Object['values'](_0x1b3e8d[_0x5b5a03(0x1b8)]??{})[_0x5b5a03(0x158)](_0x1f9256=>{const _0x5a3bd7=_0x5b5a03;var _0x2a7c25,_0x16822c,_0x340e9e,_0x1919eb;let _0x330aea=(_0x2a7c25=_0x1f9256[_0x5a3bd7(0x3c3)])!=null&&_0x2a7c25[_0x5a3bd7(0x350)]?_0x1f9256[_0x5a3bd7(0x3c3)]:_0x3eb514;if(_0x330aea[_0x5a3bd7(0x41a)](_0xeb63fd[_0x5a3bd7(0x53a)]['id']))return[];let _0x1e40b4=_0xb5f66b(_0x330aea,_0xeb63fd[_0x5a3bd7(0x53a)]['id'],((_0x16822c=_0xeb63fd[_0x5a3bd7(0x53d)])==null?void 0x0:_0x16822c[_0x1f9256['id']])??_0x47744e),_0x42c055=(_0x340e9e=_0x1f9256[_0x5a3bd7(0x55d)])==null?void 0x0:_0x340e9e[_0x417ca1];return[this[_0x5a3bd7(0x210)]([..._0x15586b[_0x5a3bd7(0x4dc)](_0xd28581,_0x1f9256['id']),_0x5a3bd7(0x3c3)],_0x1f9256[_0x5a3bd7(0x3c3)],_0x1e40b4),..._0x42c055?[this['_replaceOptional']([..._0x15586b[_0x5a3bd7(0x4dc)](_0xd28581,_0x1f9256['id']),_0x5a3bd7(0x55d),_0xeb63fd[_0x5a3bd7(0x53a)]['id']],(_0x1919eb=_0x1f9256['fieldSettings'])==null?void 0x0:_0x1919eb[_0xeb63fd['field']['id']],_0x42c055)]:[]];}),_0x1700ca=Object[_0x5b5a03(0x243)](_0x1b3e8d[_0x5b5a03(0x510)])['filter'](_0x1a791a=>Object[_0x5b5a03(0x19f)]['hasOwnProperty']['call'](_0x1a791a[_0x5b5a03(0x243)],_0x417ca1))['map'](_0x2061ab=>this[_0x5b5a03(0x210)](_0x15586b[_0x5b5a03(0x3ce)](_0xd28581,_0x2061ab['id'],_0xeb63fd[_0x5b5a03(0x53a)]['id']),_0x2061ab[_0x5b5a03(0x243)][_0xeb63fd[_0x5b5a03(0x53a)]['id']],_0x2061ab['values'][_0x417ca1]));return _0x33735e([..._0xeb63fd[_0x5b5a03(0x53a)][_0x5b5a03(0x4af)]===_0x1684be[_0x5b5a03(0x1e3)][_0x5b5a03(0x232)]?this[_0x5b5a03(0x180)](_0x2e51bd):[],_0x1684be[_0x5b5a03(0x49f)][_0x5b5a03(0x235)](_0x15586b[_0x5b5a03(0x53a)](_0xd28581,_0xeb63fd['field']['id']),_0xeb63fd[_0x5b5a03(0x53a)]),_0x1684be['JSON1'][_0x5b5a03(0x482)]([_0x5b5a03(0x135),_0xd28581,_0x5b5a03(0x3c3)],_0x1b3e8d[_0x5b5a03(0x3c3)],_0x5b3b0c),..._0x2c6c91,..._0x1700ca]);}[_0x10b817(0x367)](_0x39b199,_0x23b8e9,_0x10f834,_0x2d381e){const _0x4f85e2=_0x10b817;let _0x3275be=_0x39b199[_0x4f85e2(0x135)][_0x23b8e9][_0x4f85e2(0x22d)][_0x10f834],_0x54eb9d={..._0x3275be,..._0x2d381e};Object[_0x4f85e2(0x176)](_0x2d381e)['forEach'](_0x1ed7ea=>{_0x2d381e[_0x1ed7ea]===void 0x0&&delete _0x54eb9d[_0x1ed7ea];});let _0x56501e=_0x32706(_0x39b199['tables'][_0x23b8e9],_0x10f834,_0x3275be,_0x54eb9d);_0x54eb9d=_0x56501e['field'];let _0x1a3cc7=_0x1684be[_0x4f85e2(0x49f)][_0x4f85e2(0x482)](_0x15586b[_0x4f85e2(0x53a)](_0x23b8e9,_0x10f834),_0x3275be,_0x54eb9d);return _0x54eb9d[_0x4f85e2(0x4af)]===_0x1684be[_0x4f85e2(0x1e3)][_0x4f85e2(0x232)]?_0x33735e([...this[_0x4f85e2(0x180)](_0x39b199),_0x1a3cc7,...this[_0x4f85e2(0x196)](_0x39b199,_0x23b8e9,_0x10f834,_0x54eb9d)]):_0x33735e([_0x1a3cc7,..._0x56501e[_0x4f85e2(0x186)]['length']?[this[_0x4f85e2(0x4f6)](_0x39b199,_0x23b8e9,_0x56501e[_0x4f85e2(0x186)])]:[]]);}[_0x10b817(0x445)](_0x57d3fd,_0x1ab34c,_0x4d995d,_0x4c3617){const _0x53339b=_0x10b817;return this[_0x53339b(0x367)](_0x57d3fd,_0x1ab34c,_0x4d995d,_0x4c3617);}['deleteField'](_0x58d1ba,_0xd3eb34,_0x1e8fc3){const _0x3626c7=_0x10b817;let _0x9da7e5=_0x58d1ba[_0x3626c7(0x135)][_0xd3eb34];if(!(_0x9da7e5!=null&&_0x9da7e5[_0x3626c7(0x22d)][_0x1e8fc3])||_0x9da7e5[_0x3626c7(0x396)]===_0x1e8fc3||_0x1e8fc3===_0x1684be[_0x3626c7(0x26a)])return _0x1684be[_0x3626c7(0x49f)][_0x3626c7(0x482)]([_0x3626c7(0x135),_0xd3eb34,_0x3626c7(0x3c3)],_0x9da7e5==null?void 0x0:_0x9da7e5['fieldOrder'],_0x9da7e5==null?void 0x0:_0x9da7e5[_0x3626c7(0x3c3)]);let _0x10fe54=_0x9da7e5['fieldOrder'][_0x3626c7(0x354)](_0x1e8fc3),_0x18c205=Object['values'](_0x9da7e5['views'])[_0x3626c7(0x158)](_0x31c533=>{const _0x1478d9=_0x3626c7;var _0x48679b,_0x1fb618,_0x2ec002,_0x1bcbe5,_0x332a2a,_0x5a51f6,_0x44400b;let _0x4fa5d5=[],_0x409efa=((_0x48679b=_0x31c533['fieldOrder'])==null?void 0x0:_0x48679b[_0x1478d9(0x354)](_0x1e8fc3))??-0x1;_0x409efa>=0x0&&_0x4fa5d5[_0x1478d9(0x558)](_0x1684be['JSON1'][_0x1478d9(0x487)]([..._0x15586b['view'](_0xd3eb34,_0x31c533['id']),_0x1478d9(0x3c3),_0x409efa],_0x1e8fc3));let _0x12e7f5=(_0x1fb618=_0x31c533[_0x1478d9(0x55d)])==null?void 0x0:_0x1fb618[_0x1e8fc3];_0x12e7f5!==void 0x0&&_0x4fa5d5[_0x1478d9(0x558)](_0x1684be[_0x1478d9(0x49f)][_0x1478d9(0x487)]([..._0x15586b[_0x1478d9(0x4dc)](_0xd3eb34,_0x31c533['id']),_0x1478d9(0x55d),_0x1e8fc3],_0x12e7f5));let _0x29a425=_0x31c533[_0x1478d9(0x2b7)]?{..._0x31c533[_0x1478d9(0x2b7)],'conditions':_0x31c533[_0x1478d9(0x2b7)]['conditions'][_0x1478d9(0x2b7)](_0x26aa41=>_0x26aa41[_0x1478d9(0x294)]!==_0x1e8fc3)}:_0x31c533[_0x1478d9(0x2b7)];_0x29a425&&_0x29a425[_0x1478d9(0x33f)][_0x1478d9(0x350)]!==((_0x2ec002=_0x31c533[_0x1478d9(0x2b7)])==null?void 0x0:_0x2ec002[_0x1478d9(0x33f)][_0x1478d9(0x350)])&&_0x4fa5d5[_0x1478d9(0x558)](this[_0x1478d9(0x210)]([..._0x15586b[_0x1478d9(0x4dc)](_0xd3eb34,_0x31c533['id']),_0x1478d9(0x2b7)],_0x31c533[_0x1478d9(0x2b7)],_0x29a425));let _0xb73298=(_0x1bcbe5=_0x31c533[_0x1478d9(0x409)])==null?void 0x0:_0x1bcbe5[_0x1478d9(0x2b7)](_0x105261=>_0x105261[_0x1478d9(0x294)]!==_0x1e8fc3);_0xb73298&&_0xb73298[_0x1478d9(0x350)]!==((_0x332a2a=_0x31c533['sort'])==null?void 0x0:_0x332a2a[_0x1478d9(0x350)])&&_0x4fa5d5['push'](this[_0x1478d9(0x210)]([..._0x15586b[_0x1478d9(0x4dc)](_0xd3eb34,_0x31c533['id']),'sort'],_0x31c533[_0x1478d9(0x409)],_0xb73298));let _0x20c28c=(_0x5a51f6=_0x31c533[_0x1478d9(0x1ff)])==null?void 0x0:_0x5a51f6['filter'](_0x33e530=>_0x33e530['fieldId']!==_0x1e8fc3);_0x20c28c&&_0x20c28c[_0x1478d9(0x350)]!==((_0x44400b=_0x31c533[_0x1478d9(0x1ff)])==null?void 0x0:_0x44400b['length'])&&_0x4fa5d5[_0x1478d9(0x558)](this['_replaceOptional']([..._0x15586b['view'](_0xd3eb34,_0x31c533['id']),_0x1478d9(0x1ff)],_0x31c533[_0x1478d9(0x1ff)],_0x20c28c));let _0x45cb21=_0x36822f(_0x31c533['config'],_0x1e8fc3);return JSON[_0x1478d9(0x551)](_0x45cb21)!==JSON[_0x1478d9(0x551)](_0x31c533[_0x1478d9(0x414)])&&_0x4fa5d5['push'](_0x1684be[_0x1478d9(0x49f)][_0x1478d9(0x482)]([..._0x15586b[_0x1478d9(0x4dc)](_0xd3eb34,_0x31c533['id']),_0x1478d9(0x414)],_0x31c533['config'],_0x45cb21)),_0x4fa5d5;}),_0x1da1a5=Object['values'](_0x9da7e5[_0x3626c7(0x510)])[_0x3626c7(0x158)](_0x1eaf74=>Object[_0x3626c7(0x19f)][_0x3626c7(0x339)][_0x3626c7(0x3e7)](_0x1eaf74[_0x3626c7(0x243)],_0x1e8fc3)?[_0x1684be[_0x3626c7(0x49f)][_0x3626c7(0x487)](_0x15586b[_0x3626c7(0x3ce)](_0xd3eb34,_0x1eaf74['id'],_0x1e8fc3),_0x1eaf74[_0x3626c7(0x243)][_0x1e8fc3])]:[]);return _0x33735e([_0x1684be[_0x3626c7(0x49f)][_0x3626c7(0x487)](_0x15586b[_0x3626c7(0x53a)](_0xd3eb34,_0x1e8fc3),_0x9da7e5[_0x3626c7(0x22d)][_0x1e8fc3]),_0x1684be[_0x3626c7(0x49f)][_0x3626c7(0x487)](_0x15586b['fieldOrder'](_0xd3eb34,_0x10fe54),_0x1e8fc3),..._0x18c205,..._0x1da1a5,...this[_0x3626c7(0x3c2)](_0x9da7e5,_0xd3eb34,_0x194432=>_0x194432[_0x3626c7(0x4a9)](_0x1e8fc3+'\x1f'))]);}[_0x10b817(0x495)](_0x95ae40,_0x19991e,_0x59fb4b,_0x1c0bf8){const _0x3a4c8f=_0x10b817;let _0x18b90a=_0x95ae40[_0x3a4c8f(0x135)][_0x19991e][_0x3a4c8f(0x3c3)];if(_0x59fb4b===_0x1684be[_0x3a4c8f(0x26a)]||_0x1c0bf8[_0x3a4c8f(0x1af)]===_0x1684be[_0x3a4c8f(0x26a)])throw Error(_0x3a4c8f(0x485));let _0xdfbcdb=_0x13db3b(_0x18b90a,_0x59fb4b,_0x1c0bf8);return _0x1684be['JSON1'][_0x3a4c8f(0x482)]([_0x3a4c8f(0x135),_0x19991e,_0x3a4c8f(0x3c3)],_0x18b90a,_0xdfbcdb);}[_0x10b817(0x45f)](_0x56d4de,_0x2b0c73,_0x55f1c9,_0xbb61de=_0x56d4de[_0x10b817(0x135)][_0x2b0c73]['viewOrder'][_0x10b817(0x350)]){const _0x247605=_0x10b817;return _0x33735e([_0x1684be[_0x247605(0x49f)][_0x247605(0x235)](_0x15586b['view'](_0x2b0c73,_0x55f1c9['id']),_0x55f1c9),_0x1684be[_0x247605(0x49f)]['insertOp'](['tables',_0x2b0c73,_0x247605(0x522),_0xbb61de],_0x55f1c9['id'])]);}[_0x10b817(0x49c)](_0x24ec96,_0x57b81f,_0x20234c,_0x43dc72){const _0x104170=_0x10b817;return _0x1684be[_0x104170(0x49f)][_0x104170(0x482)]([..._0x15586b[_0x104170(0x4dc)](_0x57b81f,_0x20234c),_0x104170(0x4ed)],_0x24ec96[_0x104170(0x135)][_0x57b81f]['views'][_0x20234c]['name'],_0x43dc72);}[_0x10b817(0x175)](_0x2c96de,_0x346f90,_0x27d5f6){const _0x159802=_0x10b817;let _0x15b05e=_0x2c96de[_0x159802(0x135)][_0x346f90],_0x37a00e=_0x15b05e[_0x159802(0x1b8)][_0x27d5f6],_0x275dff=_0x15b05e[_0x159802(0x522)]['indexOf'](_0x27d5f6);return _0x33735e([_0x1684be[_0x159802(0x49f)][_0x159802(0x487)](_0x15586b['view'](_0x346f90,_0x27d5f6),_0x37a00e),_0x1684be[_0x159802(0x49f)][_0x159802(0x487)]([_0x159802(0x135),_0x346f90,'viewOrder',_0x275dff],_0x27d5f6)]);}[_0x10b817(0x20d)](_0x210a43,_0x12c3f6,_0x596cf5,_0x249ccc){const _0x12d790=_0x10b817;let _0x4e5f3e=_0x210a43[_0x12d790(0x135)][_0x12c3f6]['viewOrder'],_0x3ef31f=_0x13db3b(_0x4e5f3e,_0x596cf5,{'beforeFieldId':_0x249ccc[_0x12d790(0x202)],'afterFieldId':_0x249ccc['afterViewId']});return _0x1684be[_0x12d790(0x49f)][_0x12d790(0x482)]([_0x12d790(0x135),_0x12c3f6,'viewOrder'],_0x4e5f3e,_0x3ef31f);}[_0x10b817(0x2b4)](_0x1284d8,_0x27c61a,_0x45a404,_0xef071a){const _0x36e058=_0x10b817;let _0x4ae82a=_0x1284d8[_0x36e058(0x135)][_0x27c61a]['views'][_0x45a404]['config']??{},_0x3d764c={..._0x4ae82a,..._0xef071a};return Object[_0x36e058(0x176)](_0xef071a)[_0x36e058(0x4ac)](_0x19d46e=>{_0xef071a[_0x19d46e]===void 0x0&&delete _0x3d764c[_0x19d46e];}),_0x1684be[_0x36e058(0x49f)]['replaceOp']([..._0x15586b[_0x36e058(0x4dc)](_0x27c61a,_0x45a404),_0x36e058(0x414)],_0x4ae82a,_0x3d764c);}['setViewFilter'](_0x52689c,_0x518232,_0x452425,_0x199a7d){const _0xa9544f=_0x10b817;return this['_replaceOptional']([..._0x15586b[_0xa9544f(0x4dc)](_0x518232,_0x452425),_0xa9544f(0x2b7)],_0x52689c[_0xa9544f(0x135)][_0x518232][_0xa9544f(0x1b8)][_0x452425][_0xa9544f(0x2b7)],_0x199a7d);}[_0x10b817(0x1ab)](_0xf3e4b8,_0x31b7e9,_0x123823,_0x350b88){const _0x3b0d70=_0x10b817;return this[_0x3b0d70(0x210)]([..._0x15586b['view'](_0x31b7e9,_0x123823),_0x3b0d70(0x409)],_0xf3e4b8['tables'][_0x31b7e9][_0x3b0d70(0x1b8)][_0x123823][_0x3b0d70(0x409)],_0x350b88);}[_0x10b817(0x3c6)](_0x4ff883,_0x405c36,_0xd7b7c5,_0x5b3665){const _0x4c9ef2=_0x10b817;return this[_0x4c9ef2(0x210)]([..._0x15586b[_0x4c9ef2(0x4dc)](_0x405c36,_0xd7b7c5),'group'],_0x4ff883[_0x4c9ef2(0x135)][_0x405c36]['views'][_0xd7b7c5][_0x4c9ef2(0x1ff)],_0x5b3665);}[_0x10b817(0x46a)](_0x3b49f3,_0x592041,_0xf9e51c,_0x5d1684,_0x146bc8){return this['_setViewFieldSetting'](_0x3b49f3,_0x592041,_0xf9e51c,_0x5d1684,{'hidden':!_0x146bc8});}[_0x10b817(0x1da)](_0x2fefbe,_0x168d02,_0x11eff3,_0x2642ab,_0x12c9df){const _0x3fabc7=_0x10b817;return this[_0x3fabc7(0x4cc)](_0x2fefbe,_0x168d02,_0x11eff3,_0x2642ab,{'width':_0x12c9df});}['setViewFieldOrder'](_0x2cdb0b,_0x4ce7b4,_0x302d74,_0x24578a,_0x4e68c5){const _0x549731=_0x10b817;let _0x4baef9=_0x2cdb0b[_0x549731(0x135)][_0x4ce7b4][_0x549731(0x1b8)][_0x302d74],_0x54a662=_0x13db3b(_0x4baef9['fieldOrder']??_0x2cdb0b[_0x549731(0x135)][_0x4ce7b4][_0x549731(0x3c3)],_0x24578a,_0x4e68c5);return this[_0x549731(0x210)]([..._0x15586b[_0x549731(0x4dc)](_0x4ce7b4,_0x302d74),'fieldOrder'],_0x4baef9[_0x549731(0x3c3)],_0x54a662);}[_0x10b817(0x4cc)](_0x285f3a,_0x8b63c6,_0x2a845e,_0x1a7274,_0x34ee8b){const _0x455e1f=_0x10b817;let _0x2d98de=_0x285f3a['tables'][_0x8b63c6][_0x455e1f(0x1b8)][_0x2a845e][_0x455e1f(0x55d)]??{},_0x221837={..._0x2d98de,[_0x1a7274]:{..._0x2d98de[_0x1a7274],..._0x34ee8b}};return this[_0x455e1f(0x210)]([..._0x15586b[_0x455e1f(0x4dc)](_0x8b63c6,_0x2a845e),_0x455e1f(0x55d)],_0x285f3a[_0x455e1f(0x135)][_0x8b63c6]['views'][_0x2a845e][_0x455e1f(0x55d)],_0x221837);}[_0x10b817(0x392)](_0x73ad5b,_0x55e6a1,_0x39f1e8){const _0x4be678=_0x10b817;let _0x1a92ba=_0x73ad5b[_0x4be678(0x135)][_0x55e6a1],_0x266775=new Set(_0x39f1e8['map'](_0x167d19=>_0x167d19['id'])),_0x387c5c=[...Object[_0x4be678(0x243)](_0x1a92ba['records'])[_0x4be678(0x2b7)](_0x242ff1=>!_0x266775[_0x4be678(0x11b)](_0x242ff1['id'])),..._0x39f1e8][_0x4be678(0x409)]((_0x49e1d6,_0xa0ce5c)=>String(_0x49e1d6['orderKey']??_0x49e1d6['id'])['localeCompare'](String(_0xa0ce5c['orderKey']??_0xa0ce5c['id'])))[_0x4be678(0x4fd)](_0x1d84b4=>_0x1d84b4['id']),_0x138d64=[..._0x15586b[_0x4be678(0x3be)](_0x55e6a1),_0x4be678(0x385)];return _0x1a92ba[_0x4be678(0x385)]?_0x1684be[_0x4be678(0x49f)][_0x4be678(0x482)](_0x138d64,_0x1a92ba[_0x4be678(0x385)],_0x387c5c):_0x1684be[_0x4be678(0x49f)]['insertOp'](_0x138d64,_0x387c5c);}['_materializeFormulaTableNames'](_0x558950,_0x12133b=new Set()){const _0x423f36=_0x10b817;let _0x37ed3e=(0x0,_0x1684be['createBaseFormulaTableNameMap'])(_0x558950);return Object[_0x423f36(0x243)](_0x558950[_0x423f36(0x135)])['filter'](_0x56335e=>!_0x12133b[_0x423f36(0x11b)](_0x56335e['id']))['sort']((_0x37247c,_0x3e518a)=>_0x37247c['id'][_0x423f36(0x25e)](_0x3e518a['id']))[_0x423f36(0x158)](_0x14d1ed=>{const _0x412efe=_0x423f36;let _0x112743=_0x37ed3e[_0x412efe(0x353)](_0x14d1ed['id']);return!_0x112743||_0x14d1ed[_0x412efe(0x1f7)]===_0x112743?[]:[this[_0x412efe(0x210)]([..._0x15586b[_0x412efe(0x3be)](_0x14d1ed['id']),'formulaName'],_0x14d1ed[_0x412efe(0x1f7)],_0x112743)];});}[_0x10b817(0x196)](_0x335aae,_0x3213b9,_0x5be576,_0x5960f7){const _0x49eada=_0x10b817;var _0x17ad58,_0x200222;let _0x5f5e01=_0xd74f23(_0x335aae[_0x49eada(0x135)][_0x3213b9]),_0x23f365=String(((_0x17ad58=_0x5960f7[_0x49eada(0x414)])==null?void 0x0:_0x17ad58[_0x49eada(0x1eb)])??'')[_0x49eada(0x328)](),_0xc07e05=(_0x200222=_0x5f5e01[_0x49eada(0x46d)])==null?void 0x0:_0x200222[_0x5be576];if(_0xc07e05==null)return[];let _0x9e4f93=_0x5f5e01['recordOrder']??Object[_0x49eada(0x176)](_0x5f5e01['records']),_0x491aeb=_0x9e4f93[_0x49eada(0x4fd)](_0x30954f=>{const _0x4d8082=_0x49eada;var _0x136493;return(_0x136493=_0x5f5e01[_0x4d8082(0x131)])==null?void 0x0:_0x136493[_0x30954f];})[_0x49eada(0x3d7)](_0x3a3221=>_0x3a3221!=null);return _0x9e4f93['flatMap'](_0x171084=>{const _0x3a3c85=_0x49eada;var _0x296994,_0x34f80b;let _0x13a948=(_0x296994=_0x5f5e01[_0x3a3c85(0x131)])==null?void 0x0:_0x296994[_0x171084];if(_0x13a948==null)return[];let _0x49810a=(_0x34f80b=_0x5f5e01[_0x3a3c85(0x1e5)])==null||(_0x34f80b=_0x34f80b[_0x13a948])==null?void 0x0:_0x34f80b[_0xc07e05],_0x5df132=_0x23f365?_0x13a948===_0x491aeb?{'f':_0x23f365,'si':_0x5be576}:{'si':_0x5be576}:{'v':null,'t':null};return[this[_0x3a3c85(0x210)](_0x15586b['cellData'](_0x3213b9,_0x13a948,_0xc07e05),_0x49810a,_0x5df132)];});}['_setAttachmentResources'](_0x2efa9e,_0x389fc9,_0x53f6bc){const _0x58d4b7=_0x10b817;var _0x49c755;let _0x476ad5=new Map(Object[_0x58d4b7(0x172)](((_0x49c755=_0x2efa9e['resources'])==null?void 0x0:_0x49c755['attachmentSets'])??{})),_0x52203b=new Map(),_0x32945f=new Set(),_0x3c1774=_0x53f6bc[_0x58d4b7(0x4fd)](({recordId:_0x86f51a,fieldId:_0x4e0a27,attachments:_0x3d09be})=>{const _0xb08fd7=_0x58d4b7;var _0x415578;let _0x2e7654=_0x3bebc6(_0x4e0a27,_0x86f51a),_0x59caed=_0x3d09be[_0xb08fd7(0x4fd)]((_0x1aade3,_0x399688)=>String(_0x1aade3['id']??_0x2e7654+'\x1f'+_0x399688));return _0x32945f[_0xb08fd7(0x1f2)](_0x2e7654),_0x476ad5[_0xb08fd7(0x25a)](_0x2e7654,_0x59caed),_0x3d09be[_0xb08fd7(0x4ac)]((_0xcc9f5,_0xba518d)=>{const _0x1165fb=_0xb08fd7;let _0x3dc984=_0x59caed[_0xba518d];_0x52203b[_0x1165fb(0x25a)](_0x3dc984,{..._0xcc9f5,'id':_0x3dc984});}),this[_0xb08fd7(0x210)](_0x15586b[_0xb08fd7(0x52c)](_0x389fc9,_0x2e7654),(_0x415578=_0x2efa9e['resources'])==null||(_0x415578=_0x415578[_0xb08fd7(0x54b)])==null?void 0x0:_0x415578[_0x2e7654],_0x59caed);}),_0x115bc8=Array[_0x58d4b7(0x1dd)](_0x52203b)['map'](([_0x5c49fb,_0x247494])=>{const _0x7ac677=_0x58d4b7;var _0x888ea8;return this[_0x7ac677(0x210)](_0x15586b[_0x7ac677(0x399)](_0x389fc9,_0x5c49fb),(_0x888ea8=_0x2efa9e[_0x7ac677(0x3cb)])==null||(_0x888ea8=_0x888ea8['attachments'])==null?void 0x0:_0x888ea8[_0x5c49fb],_0x247494);}),_0x3036a4=new Set(Array['from'](_0x476ad5['values']())[_0x58d4b7(0x479)]()),_0x3c416d=new Set(Array[_0x58d4b7(0x1dd)](_0x32945f)[_0x58d4b7(0x158)](_0x3b06f9=>{const _0x57a116=_0x58d4b7;var _0x207e1e;return((_0x207e1e=_0x2efa9e['resources'])==null||(_0x207e1e=_0x207e1e[_0x57a116(0x54b)])==null?void 0x0:_0x207e1e[_0x3b06f9])??[];})),_0x39db75=Array[_0x58d4b7(0x1dd)](_0x3c416d)['flatMap'](_0xacd3b2=>{const _0x117191=_0x58d4b7;var _0x3176a8;let _0x573646=(_0x3176a8=_0x2efa9e[_0x117191(0x3cb)])==null||(_0x3176a8=_0x3176a8['attachments'])==null?void 0x0:_0x3176a8[_0xacd3b2];return _0x573646!==void 0x0&&!_0x3036a4[_0x117191(0x11b)](_0xacd3b2)?[_0x1684be[_0x117191(0x49f)][_0x117191(0x487)](_0x15586b[_0x117191(0x399)](_0x389fc9,_0xacd3b2),_0x573646)]:[];});return[..._0x3c1774,..._0x115bc8,..._0x39db75];}[_0x10b817(0x3c2)](_0x1cb623,_0xa23b96,_0x58fa1a){const _0x559886=_0x10b817;var _0x2fdc05;let _0x9e9d9d=((_0x2fdc05=_0x1cb623['resources'])==null?void 0x0:_0x2fdc05['attachmentSets'])??{},_0x500dae=Object[_0x559886(0x172)](_0x9e9d9d)[_0x559886(0x2b7)](([_0x327216])=>_0x58fa1a(_0x327216));if(!_0x500dae[_0x559886(0x350)])return[];let _0x1b2a71=new Set(Object['entries'](_0x9e9d9d)[_0x559886(0x2b7)](([_0x4795b0])=>!_0x58fa1a(_0x4795b0))['flatMap'](([,_0x10f762])=>_0x10f762)),_0x553e32=new Set(_0x500dae['flatMap'](([,_0x4ec340])=>_0x4ec340));return[..._0x500dae[_0x559886(0x4fd)](([_0xd6ce0f,_0x11fa29])=>_0x1684be['JSON1']['removeOp'](_0x15586b['attachmentSet'](_0xa23b96,_0xd6ce0f),_0x11fa29)),...Array[_0x559886(0x1dd)](_0x553e32)[_0x559886(0x158)](_0x59ca51=>{const _0x587e18=_0x559886;var _0x4aa8f9;let _0x2c25a3=(_0x4aa8f9=_0x1cb623[_0x587e18(0x3cb)])==null||(_0x4aa8f9=_0x4aa8f9[_0x587e18(0x1f6)])==null?void 0x0:_0x4aa8f9[_0x59ca51];return _0x2c25a3!==void 0x0&&!_0x1b2a71[_0x587e18(0x11b)](_0x59ca51)?[_0x1684be[_0x587e18(0x49f)]['removeOp'](_0x15586b[_0x587e18(0x399)](_0xa23b96,_0x59ca51),_0x2c25a3)]:[];})];}[_0x10b817(0x210)](_0x593169,_0x74a939,_0x417d4d){const _0x3505a5=_0x10b817;return _0x74a939===void 0x0?_0x1684be[_0x3505a5(0x49f)][_0x3505a5(0x235)](_0x593169,_0x417d4d):_0x1684be[_0x3505a5(0x49f)][_0x3505a5(0x482)](_0x593169,_0x74a939,_0x417d4d);}};function _0x32706(_0x1ee424,_0x1dbb9b,_0x3ff207,_0x353ed8){const _0x295946=_0x10b817;var _0x5e14f;let _0x568fca=_0x353ed8[_0x295946(0x4af)];if(_0x3ff207[_0x295946(0x4af)]!==_0x568fca||_0x568fca!==_0x1684be['BaseFieldType'][_0x295946(0x32c)]&&_0x568fca!==_0x1684be['BaseFieldType']['MultiSelect']||_0x12ad7e(_0x353ed8[_0x295946(0x414)][_0x295946(0x21c)]))return{'field':_0x353ed8,'patches':[]};let _0x4eebde=_0x35b99d(_0x3ff207),_0x209982=_0x35b99d(_0x353ed8);if(![..._0x4eebde][_0x295946(0x4d2)](_0x3a5b05=>!_0x209982[_0x295946(0x11b)](_0x3a5b05)))return{'field':_0x353ed8,'patches':[]};let _0x515221=_0x4603b0(_0x353ed8[_0x295946(0x4e1)],_0x209982,_0x568fca),_0xb8489c=_0x161ffa(_0x515221,_0x353ed8[_0x295946(0x4e1)])?_0x353ed8:{..._0x353ed8,'defaultValue':_0x515221},_0x4c78f2=_0xd74f23(_0x1ee424),_0x206a08=(_0x5e14f=_0x4c78f2[_0x295946(0x46d)])==null?void 0x0:_0x5e14f[_0x1dbb9b];return _0x206a08==null?{'field':_0xb8489c,'patches':[]}:{'field':_0xb8489c,'patches':(_0x4c78f2['recordOrder']??[])[_0x295946(0x158)](_0xbfcafd=>{const _0x489131=_0x295946;var _0x50281a,_0xe19060;let _0x5a13b1=(_0x50281a=_0x4c78f2['rowIndex'])==null?void 0x0:_0x50281a[_0xbfcafd],_0x487abb=(_0xe19060=_0x4c78f2[_0x489131(0x510)][_0xbfcafd])==null?void 0x0:_0xe19060[_0x489131(0x243)][_0x1dbb9b],_0x818a82=_0x4603b0(_0x487abb,_0x209982,_0x568fca);return _0x5a13b1==null||_0x161ffa(_0x818a82,_0x487abb)?[]:[{'row':_0x5a13b1,'col':_0x206a08,'value':_0x818a82??null}];})};}function _0x12ad7e(_0x250a00){const _0x2ca848=_0x10b817;return typeof _0x250a00==_0x2ca848(0x304)&&!!_0x250a00&&_0x2ca848(0x4af)in _0x250a00&&_0x250a00['type']===_0x2ca848(0x53a);}function _0x35b99d(_0x1de9a8){const _0x4f4abb=_0x10b817;var _0x2ad09f;let _0x147b57=Array[_0x4f4abb(0x233)]((_0x2ad09f=_0x1de9a8['config'])==null?void 0x0:_0x2ad09f[_0x4f4abb(0x4b8)])?_0x1de9a8[_0x4f4abb(0x414)][_0x4f4abb(0x4b8)]:[];return new Set(_0x147b57[_0x4f4abb(0x158)](_0x2502d1=>{if(!_0x2502d1||typeof _0x2502d1!='object'||!('id'in _0x2502d1))return[];let _0x548e2e=String(_0x2502d1['id']);return _0x548e2e?[_0x548e2e]:[];}));}function _0x4603b0(_0x118f18,_0x303a5b,_0x4f7f33){const _0x47ebd8=_0x10b817;if(_0x118f18==null||_0x118f18==='')return _0x118f18;if(_0x4f7f33===_0x1684be[_0x47ebd8(0x1e3)][_0x47ebd8(0x32c)])return _0x303a5b[_0x47ebd8(0x11b)](String(_0x118f18))?_0x118f18:null;let _0x4edec6=Array['isArray'](_0x118f18)?_0x118f18[_0x47ebd8(0x4fd)](String):String(_0x118f18)[_0x47ebd8(0x378)](',')[_0x47ebd8(0x4fd)](_0x37d7e2=>_0x37d7e2['trim']())[_0x47ebd8(0x2b7)](Boolean),_0x675d5=_0x4edec6[_0x47ebd8(0x2b7)](_0x382d6c=>_0x303a5b[_0x47ebd8(0x11b)](_0x382d6c));return _0x675d5[_0x47ebd8(0x350)]===_0x4edec6[_0x47ebd8(0x350)]?_0x118f18:Array['isArray'](_0x118f18)?_0x675d5:String(_0x118f18)['includes'](',')?_0x675d5[_0x47ebd8(0x214)](','):_0x675d5[0x0]??[];}function _0x161ffa(_0xd062e7,_0x5b6d85){const _0x514d23=_0x10b817;return JSON[_0x514d23(0x551)](_0xd062e7)===JSON['stringify'](_0x5b6d85);}function _0x30ddd4(_0x24ca6b,_0x47487c,_0x14df1f){const _0x46830c=_0x10b817;var _0x5e608c,_0x549100,_0x1cb152,_0x1c6902;let _0x37e3c9=(_0x5e608c=_0x24ca6b[_0x46830c(0x131)])==null?void 0x0:_0x5e608c[_0x47487c],_0xa7d8f3=(_0x549100=_0x24ca6b[_0x46830c(0x46d)])==null?void 0x0:_0x549100[_0x14df1f];return _0x37e3c9!=null&&_0xa7d8f3!=null&&((_0x1cb152=_0x24ca6b[_0x46830c(0x1b1)])==null?void 0x0:_0x1cb152[_0x37e3c9])===_0x47487c&&((_0x1c6902=_0x24ca6b['colId'])==null?void 0x0:_0x1c6902[_0xa7d8f3])===_0x14df1f&&_0x24ca6b[_0x46830c(0x1e5)]!=null;}function _0x1c9ac2(_0x312091,_0x5dd441,_0x4189f0){const _0x577bca=_0x10b817;var _0x1bda59,_0x247e7d;return((_0x1bda59=_0x312091[_0x577bca(0x1b1)])==null?void 0x0:_0x1bda59[_0x5dd441])!=null&&((_0x247e7d=_0x312091[_0x577bca(0x3e2)])==null?void 0x0:_0x247e7d[_0x4189f0])!=null&&_0x312091[_0x577bca(0x1e5)]!=null;}function _0x13db3b(_0x1c353c,_0x4513fc,_0x3f2206){const _0x56bd9e=_0x10b817;let _0x26bfa5=_0x1c353c[_0x56bd9e(0x2b7)](_0x4d82ea=>_0x4d82ea!==_0x4513fc),_0x184f7d=_0x3f2206[_0x56bd9e(0x1af)]?_0x26bfa5['indexOf'](_0x3f2206[_0x56bd9e(0x1af)]):_0x3f2206[_0x56bd9e(0x24e)]?_0x26bfa5[_0x56bd9e(0x354)](_0x3f2206[_0x56bd9e(0x24e)])+0x1:_0x26bfa5[_0x56bd9e(0x350)];return _0x26bfa5[_0x56bd9e(0x372)](_0x184f7d<0x0?_0x26bfa5[_0x56bd9e(0x350)]:_0x184f7d,0x0,_0x4513fc),_0x26bfa5;}function _0xb5f66b(_0x59d7d3,_0x3d82ba,_0x75ea5b){const _0x396fa5=_0x10b817;let _0x3f9140=_0x59d7d3['filter'](_0x5c0442=>_0x5c0442!==_0x3d82ba);return _0x3f9140[_0x396fa5(0x372)](_0x44a913(_0x75ea5b,_0x3f9140[_0x396fa5(0x350)]),0x0,_0x3d82ba),_0x3f9140;}function _0x36822f(_0x1daf41,_0x492b0a,_0x319963){const _0x517c1f=_0x10b817;if(Array[_0x517c1f(0x233)](_0x1daf41))return _0x319963==='fieldIds'?_0x1daf41[_0x517c1f(0x2b7)](_0x1b2ce1=>_0x1b2ce1!==_0x492b0a):_0x1daf41[_0x517c1f(0x158)](_0x11b9a1=>{const _0x25ec1a=_0x517c1f;if(_0x11b9a1&&typeof _0x11b9a1==_0x25ec1a(0x304)&&!Array[_0x25ec1a(0x233)](_0x11b9a1)&&_0x11b9a1[_0x25ec1a(0x294)]===_0x492b0a)return[];let _0x34963e=_0x36822f(_0x11b9a1,_0x492b0a);return _0x34963e===void 0x0?[]:[_0x34963e];});if(!_0x1daf41||typeof _0x1daf41!=_0x517c1f(0x304))return _0x319963!=null&&_0x319963[_0x517c1f(0x11f)]('FieldId')&&_0x1daf41===_0x492b0a?void 0x0:_0x1daf41;let _0x4d86cd=_0x1daf41;if(_0x4d86cd[_0x517c1f(0x294)]!==_0x492b0a)return Object[_0x517c1f(0x333)](Object[_0x517c1f(0x172)](_0x4d86cd)[_0x517c1f(0x158)](([_0x58eaf9,_0x517f0c])=>{const _0x222583=_0x517c1f;if(_0x58eaf9===_0x492b0a&&_0x319963===_0x222583(0x55d))return[];let _0x605934=_0x36822f(_0x517f0c,_0x492b0a,_0x58eaf9);return _0x605934===void 0x0?[]:[[_0x58eaf9,_0x605934]];}));}function _0x44a913(_0x19c883,_0x2a52f7){const _0x24f4e1=_0x10b817;return Math[_0x24f4e1(0x35b)](0x0,Math['min'](_0x19c883,_0x2a52f7));}function _0x30e39f(_0x341d44){'@babel/helpers - typeof';const _0x26ff60=_0x10b817;return _0x30e39f=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x26ff60(0x520)?function(_0x53f2bb){return typeof _0x53f2bb;}:function(_0xc0fde3){const _0x385c37=_0x26ff60;return _0xc0fde3&&typeof Symbol==_0x385c37(0x3f1)&&_0xc0fde3[_0x385c37(0x163)]===Symbol&&_0xc0fde3!==Symbol[_0x385c37(0x19f)]?_0x385c37(0x520):typeof _0xc0fde3;},_0x30e39f(_0x341d44);}function _0x53e4fc(_0x27bf9a,_0x2203e2){const _0x445331=_0x10b817;if(_0x30e39f(_0x27bf9a)!='object'||!_0x27bf9a)return _0x27bf9a;var _0x9f647d=_0x27bf9a[Symbol[_0x445331(0x54a)]];if(_0x9f647d!==void 0x0){var _0x18d342=_0x9f647d[_0x445331(0x3e7)](_0x27bf9a,_0x2203e2||_0x445331(0x552));if(_0x30e39f(_0x18d342)!=_0x445331(0x304))return _0x18d342;throw TypeError(_0x445331(0x25c));}return(_0x2203e2===_0x445331(0x488)?String:Number)(_0x27bf9a);}function _0x3a088c(_0x5f53dd){const _0x3f83c4=_0x10b817;var _0x224cee=_0x53e4fc(_0x5f53dd,_0x3f83c4(0x488));return _0x30e39f(_0x224cee)==_0x3f83c4(0x520)?_0x224cee:_0x224cee+'';}function _0x4876c0(_0x2d7d92,_0x21f50d,_0x14524a){return(_0x21f50d=_0x3a088c(_0x21f50d))in _0x2d7d92?Object['defineProperty'](_0x2d7d92,_0x21f50d,{'value':_0x14524a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2d7d92[_0x21f50d]=_0x14524a,_0x2d7d92;}let _0x53e622=(0x0,_0x1684be[_0x10b817(0x30c)])(_0x10b817(0x458));var _0x29bfe0=class extends _0x1684be['Disposable']{constructor(..._0xc96dca){super(..._0xc96dca),_0x4876c0(this,'_plugins',new Map());}[_0x10b817(0x518)](_0x297074){const _0x4b03a9=_0x10b817;return this[_0x4b03a9(0x1b5)]['set'](_0x297074['type'],_0x297074),(0x0,_0x1684be[_0x4b03a9(0x2c8)])(()=>this['_plugins'][_0x4b03a9(0x22e)](_0x297074[_0x4b03a9(0x4af)]));}[_0x10b817(0x353)](_0x1d5ffe){const _0xe419dc=_0x10b817;let _0x438c5b=this['_plugins'][_0xe419dc(0x353)](_0x1d5ffe);if(!_0x438c5b)throw Error(_0xe419dc(0x443)+_0x1d5ffe+_0xe419dc(0x397));return _0x438c5b;}[_0x10b817(0x542)](_0x455bf1){const _0x3b0afa=_0x10b817;return this[_0x3b0afa(0x1b5)][_0x3b0afa(0x353)](_0x455bf1);}['getAll'](){const _0x29eadc=_0x10b817;return Array[_0x29eadc(0x1dd)](this['_plugins'][_0x29eadc(0x243)]());}},_0x5b19a0=class{constructor(_0x55b29e){const _0x27c773=_0x10b817;this[_0x27c773(0x323)]=_0x55b29e,_0x4876c0(this,_0x27c773(0x4af),_0x34d39d[_0x27c773(0x42f)]['Base']),_0x4876c0(this,_0x27c773(0x55b),_0x34d39d[_0x27c773(0x3f2)][_0x27c773(0x112)]),_0x4876c0(this,'status',_0x1684be[_0x27c773(0x209)][_0x27c773(0x117)]),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,_0x27c773(0x2dc),!0x0),this['id']=this['type']+'.'+this[_0x27c773(0x55b)]+'_'+_0x55b29e;}},_0x47a889=class{constructor(_0x25bad8){const _0x14403b=_0x10b817;this[_0x14403b(0x323)]=_0x25bad8,_0x4876c0(this,_0x14403b(0x4af),_0x34d39d['UnitObject'][_0x14403b(0x1f5)]),_0x4876c0(this,'subType',_0x34d39d[_0x14403b(0x3f2)][_0x14403b(0x553)]),_0x4876c0(this,_0x14403b(0x130),_0x1684be['PermissionStatus'][_0x14403b(0x117)]),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,'value',!0x0),this['id']=this[_0x14403b(0x4af)]+'.'+this[_0x14403b(0x55b)]+'_'+_0x25bad8;}},_0xcaec63=class{constructor(_0x23f33f){const _0x2008e3=_0x10b817;this[_0x2008e3(0x323)]=_0x23f33f,_0x4876c0(this,_0x2008e3(0x4af),_0x34d39d[_0x2008e3(0x42f)][_0x2008e3(0x1f5)]),_0x4876c0(this,_0x2008e3(0x55b),_0x34d39d[_0x2008e3(0x3f2)][_0x2008e3(0x2c6)]),_0x4876c0(this,_0x2008e3(0x130),_0x1684be[_0x2008e3(0x209)]['INIT']),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,_0x2008e3(0x2dc),!0x0),this['id']=this['type']+'.'+this[_0x2008e3(0x55b)]+'_'+_0x23f33f;}},_0x36942c=class{constructor(_0x447cd3){const _0x593f28=_0x10b817;this['unitId']=_0x447cd3,_0x4876c0(this,'type',_0x34d39d[_0x593f28(0x42f)]['Base']),_0x4876c0(this,_0x593f28(0x55b),_0x34d39d[_0x593f28(0x3f2)][_0x593f28(0x359)]),_0x4876c0(this,_0x593f28(0x130),_0x1684be[_0x593f28(0x209)][_0x593f28(0x117)]),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,'value',!0x0),this['id']=this[_0x593f28(0x4af)]+'.'+this[_0x593f28(0x55b)]+'_'+_0x447cd3;}},_0x35ebe2=class{constructor(_0x15217e,_0x30b199){const _0x1f319b=_0x10b817;this[_0x1f319b(0x323)]=_0x15217e,this['objectId']=_0x30b199,_0x4876c0(this,_0x1f319b(0x4af),_0x34d39d[_0x1f319b(0x42f)][_0x1f319b(0x2ca)]),_0x4876c0(this,'subType',_0x34d39d[_0x1f319b(0x3f2)][_0x1f319b(0x2c6)]),_0x4876c0(this,'status',_0x1684be[_0x1f319b(0x209)]['INIT']),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,'value',!0x0),this['id']=this[_0x1f319b(0x4af)]+'.'+this[_0x1f319b(0x55b)]+'_'+_0x15217e+'_'+_0x30b199;}},_0x5c3fd2=class{constructor(_0x4da3ea,_0xb6060){const _0x321ea0=_0x10b817;this['unitId']=_0x4da3ea,this['objectId']=_0xb6060,_0x4876c0(this,_0x321ea0(0x4af),_0x34d39d[_0x321ea0(0x42f)][_0x321ea0(0x32a)]),_0x4876c0(this,'subType',_0x34d39d[_0x321ea0(0x3f2)]['Edit']),_0x4876c0(this,'status',_0x1684be['PermissionStatus']['INIT']),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,_0x321ea0(0x2dc),!0x0),this['id']=this[_0x321ea0(0x4af)]+'.'+this['subType']+'_'+_0x4da3ea+'_'+_0xb6060;}},_0x5cd324=class{constructor(_0x287c9e,_0x401f67){const _0x59aaa4=_0x10b817;this[_0x59aaa4(0x323)]=_0x287c9e,this[_0x59aaa4(0x1a1)]=_0x401f67,_0x4876c0(this,_0x59aaa4(0x4af),_0x34d39d[_0x59aaa4(0x42f)]['BaseRecord']),_0x4876c0(this,'subType',_0x34d39d['UnitAction'][_0x59aaa4(0x2c6)]),_0x4876c0(this,_0x59aaa4(0x130),_0x1684be[_0x59aaa4(0x209)][_0x59aaa4(0x117)]),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,_0x59aaa4(0x2dc),!0x0),this['id']=this[_0x59aaa4(0x4af)]+'.'+this['subType']+'_'+_0x287c9e+'_'+_0x401f67;}},_0x1de78f=class{constructor(_0x5a52a6,_0x4bfa6c){const _0x401514=_0x10b817;this[_0x401514(0x323)]=_0x5a52a6,this[_0x401514(0x1a1)]=_0x4bfa6c,_0x4876c0(this,_0x401514(0x4af),_0x34d39d['UnitObject'][_0x401514(0x3c8)]),_0x4876c0(this,_0x401514(0x55b),_0x34d39d['UnitAction']['Edit']),_0x4876c0(this,_0x401514(0x130),_0x1684be['PermissionStatus'][_0x401514(0x117)]),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,_0x401514(0x2dc),!0x0),this['id']=this['type']+'.'+this[_0x401514(0x55b)]+'_'+_0x5a52a6+'_'+_0x4bfa6c;}},_0x4c45f9=class{constructor(_0x55a97d,_0x41958e){const _0x2aa192=_0x10b817;this['unitId']=_0x55a97d,this[_0x2aa192(0x1a1)]=_0x41958e,_0x4876c0(this,_0x2aa192(0x4af),_0x34d39d[_0x2aa192(0x42f)][_0x2aa192(0x4e8)]),_0x4876c0(this,_0x2aa192(0x55b),_0x34d39d[_0x2aa192(0x3f2)][_0x2aa192(0x2c6)]),_0x4876c0(this,_0x2aa192(0x130),_0x1684be[_0x2aa192(0x209)]['INIT']),_0x4876c0(this,'id',void 0x0),_0x4876c0(this,'value',!0x0),this['id']=this[_0x2aa192(0x4af)]+'.'+this[_0x2aa192(0x55b)]+'_'+_0x55a97d+'_'+_0x41958e;}};let _0x493900=[_0x34d39d['UnitAction']['Edit'],_0x34d39d[_0x10b817(0x3f2)][_0x10b817(0x553)],_0x34d39d[_0x10b817(0x3f2)][_0x10b817(0x359)],_0x34d39d[_0x10b817(0x3f2)][_0x10b817(0x112)]],_0x42a210=new Set([_0x34d39d[_0x10b817(0x42f)][_0x10b817(0x1f5)],_0x34d39d[_0x10b817(0x42f)][_0x10b817(0x3c8)],_0x34d39d[_0x10b817(0x42f)]['BaseField'],_0x34d39d['UnitObject'][_0x10b817(0x3af)],_0x34d39d['UnitObject']['BaseView'],_0x34d39d[_0x10b817(0x42f)][_0x10b817(0x2ca)]]),_0xe881f=_0x10b817(0x532),_0x4316a5=_0x10b817(0x1d8),_0x2dbd39=_0x10b817(0x1df),_0x37bd17=_0x10b817(0x2fb),_0x421375=_0x10b817(0x4bc);function _0x5be5db(_0x1c76a9){return''+_0xe881f+encodeURIComponent(_0x1c76a9);}function _0x53809d(_0x494ea6,_0x389965){return''+_0x4316a5+encodeURIComponent(_0x494ea6)+'/'+encodeURIComponent(_0x389965);}function _0x318193(_0x3926de,_0x56f647){return''+_0x2dbd39+encodeURIComponent(_0x3926de)+'/'+encodeURIComponent(_0x56f647);}function _0x176adf(_0x358516,_0x24dd70){return''+_0x37bd17+encodeURIComponent(_0x358516)+'/'+encodeURIComponent(_0x24dd70);}function _0x4be15f(_0x2657ca){return''+_0x421375+encodeURIComponent(_0x2657ca);}function _0x54df78(_0x34fb67,_0xd7ca7f,_0x432385){const _0x3e3a5b=_0x10b817;if(_0xd7ca7f===_0x34fb67)switch(_0x432385){case _0x34d39d['UnitAction'][_0x3e3a5b(0x2c6)]:return new _0xcaec63(_0x34fb67);case _0x34d39d[_0x3e3a5b(0x3f2)][_0x3e3a5b(0x553)]:return new _0x47a889(_0x34fb67);case _0x34d39d[_0x3e3a5b(0x3f2)][_0x3e3a5b(0x359)]:return new _0x36942c(_0x34fb67);case _0x34d39d[_0x3e3a5b(0x3f2)]['Comment']:return new _0x5b19a0(_0x34fb67);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x432385);}if(_0x432385!==_0x34d39d[_0x3e3a5b(0x3f2)]['Edit'])throw Error(_0x3e3a5b(0x128)+_0xd7ca7f);if(_0xd7ca7f[_0x3e3a5b(0x4a9)](_0xe881f))return new _0x1de78f(_0x34fb67,_0xd7ca7f);if(_0xd7ca7f[_0x3e3a5b(0x4a9)](_0x4316a5))return new _0x5c3fd2(_0x34fb67,_0xd7ca7f);if(_0xd7ca7f[_0x3e3a5b(0x4a9)](_0x2dbd39))return new _0x5cd324(_0x34fb67,_0xd7ca7f);if(_0xd7ca7f[_0x3e3a5b(0x4a9)](_0x37bd17))return new _0x4c45f9(_0x34fb67,_0xd7ca7f);if(_0xd7ca7f['startsWith'](_0x421375))return new _0x35ebe2(_0x34fb67,_0xd7ca7f);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0xd7ca7f);}function _0x2f4eb4(_0x28eda6,_0x56fe04,_0x227957,_0x3e5e82){const _0x377647=_0x10b817;var _0x2f6e37;return((_0x2f6e37=_0x28eda6[_0x377647(0x164)](_0x54df78(_0x56fe04,_0x227957,_0x3e5e82)['id']))==null?void 0x0:_0x2f6e37[_0x377647(0x2dc)])??!0x0;}function _0x194556(_0x5b4443,_0x27d351,_0x342821,_0xfff38d,_0x483243){const _0x4854aa=_0x10b817;let _0x56e0c4=_0x54df78(_0x27d351,_0x342821,_0xfff38d);_0x5b4443['getPermissionPoint'](_0x56e0c4['id'])||_0x5b4443[_0x4854aa(0x31c)](_0x56e0c4),_0x5b4443[_0x4854aa(0x155)](_0x56e0c4['id'],_0x483243);}function _0x326c7e(_0x1e1fc4,_0x5ad313,_0x331069,_0x5a7744){const _0x9ed3c7=_0x10b817;_0x1e1fc4[_0x9ed3c7(0x251)](_0x54df78(_0x5ad313,_0x331069,_0x5a7744)['id']);}function _0x2c2656(_0x9c91a2,_0x27907d){const _0x3392c0=_0x10b817;_0x9c91a2[_0x3392c0(0x481)]()[_0x3392c0(0x4ac)]((_0x4b8c9c,_0x26ea76)=>{_0x4b8c9c['subscribe'](_0x5b7eb9=>{const _0x233689=_0x5a55;_0x42a210[_0x233689(0x11b)](_0x5b7eb9[_0x233689(0x4af)])&&_0x233689(0x323)in _0x5b7eb9&&_0x5b7eb9[_0x233689(0x323)]===_0x27907d&&_0x9c91a2[_0x233689(0x251)](_0x26ea76);})['unsubscribe']();});}function _0x4b16b6(_0x47860d,_0x2f0354,_0x33aa77){const _0x28d169=_0x10b817;return _0x2f4eb4(_0x47860d,_0x2f0354,_0x2f0354,_0x34d39d[_0x28d169(0x3f2)]['Edit'])&&Array[_0x28d169(0x1dd)](_0x33aa77)[_0x28d169(0x31e)](_0x19d8a6=>_0x2f4eb4(_0x47860d,_0x2f0354,_0x19d8a6,_0x34d39d[_0x28d169(0x3f2)][_0x28d169(0x2c6)]));}function _0xb3d983(_0x7bbfa9,_0x4d7749){return function(_0x1f6305,_0x2d9504){_0x4d7749(_0x1f6305,_0x2d9504,_0x7bbfa9);};}function _0x573014(_0x30cee7,_0xcabd20,_0x170d75,_0x5d3d01){const _0x4ac3c6=_0x10b817;var _0x436f77=arguments['length'],_0x1ea85b=_0x436f77<0x3?_0xcabd20:_0x5d3d01===null?_0x5d3d01=Object['getOwnPropertyDescriptor'](_0xcabd20,_0x170d75):_0x5d3d01,_0x1e780b;if(typeof Reflect=='object'&&typeof Reflect[_0x4ac3c6(0x2fa)]=='function')_0x1ea85b=Reflect[_0x4ac3c6(0x2fa)](_0x30cee7,_0xcabd20,_0x170d75,_0x5d3d01);else{for(var _0x4bef04=_0x30cee7[_0x4ac3c6(0x350)]-0x1;_0x4bef04>=0x0;_0x4bef04--)(_0x1e780b=_0x30cee7[_0x4bef04])&&(_0x1ea85b=(_0x436f77<0x3?_0x1e780b(_0x1ea85b):_0x436f77>0x3?_0x1e780b(_0xcabd20,_0x170d75,_0x1ea85b):_0x1e780b(_0xcabd20,_0x170d75))||_0x1ea85b);}return _0x436f77>0x3&&_0x1ea85b&&Object[_0x4ac3c6(0x4a8)](_0xcabd20,_0x170d75,_0x1ea85b),_0x1ea85b;}let _0x164ae1=(0x0,_0x1684be[_0x10b817(0x30c)])(_0x10b817(0x40a)),_0x1b417b=class extends _0x1684be['Disposable']{constructor(_0x4b1a7c,_0x9d98cd){const _0x330e40=_0x10b817;super(),this[_0x330e40(0x373)]=_0x4b1a7c,this['_instanceService']=_0x9d98cd,_0x4876c0(this,'_basePermissions',new Map()),_0x4876c0(this,_0x330e40(0x4e7),new Map()),_0x4876c0(this,'_fieldPermissions',new Map()),_0x4876c0(this,_0x330e40(0x1d5),new Map()),_0x4876c0(this,'_viewPermissions',new Map()),_0x4876c0(this,'_tableBaseIds',new Map()),this['disposeWithMe'](this['_instanceService'][_0x330e40(0x244)](_0x1684be[_0x330e40(0x4b4)][_0x330e40(0x1a9)])[_0x330e40(0x2f9)](_0x1a3707=>this[_0x330e40(0x305)](_0x1a3707[_0x330e40(0x14b)]())));}[_0x10b817(0x1ce)](_0x5e3ba8){const _0x298919=_0x10b817;var _0x5e9d68;return this[_0x298919(0x15f)](_0x5e3ba8,[])&&(((_0x5e9d68=this['_basePermissions'][_0x298919(0x353)](_0x5e3ba8))==null?void 0x0:_0x5e9d68[_0x298919(0x32b)])??!0x0);}[_0x10b817(0x4a6)](_0x4f86fe){const _0x409c84=_0x10b817;return this[_0x409c84(0x548)](_0x4f86fe);}[_0x10b817(0x198)](_0x31eb35){const _0x7d0410=_0x10b817;var _0xb8e3b5;return this[_0x7d0410(0x548)](_0x31eb35)&&(((_0xb8e3b5=this['_tablePermissions'][_0x7d0410(0x353)](_0x31eb35))==null?void 0x0:_0xb8e3b5['delete'])??!0x0);}[_0x10b817(0x33a)](_0xda07a9){const _0x27a199=_0x10b817;var _0x2a1ab2;return this[_0x27a199(0x548)](_0xda07a9)&&(((_0x2a1ab2=this[_0x27a199(0x4e7)]['get'](_0xda07a9))==null?void 0x0:_0x2a1ab2[_0x27a199(0x15b)])??!0x0);}[_0x10b817(0x203)](_0x291f1c,_0x181000){const _0x3b367b=_0x10b817;var _0x4a7923;return this[_0x3b367b(0x548)](_0x291f1c)&&this[_0x3b367b(0x15f)](_0x291f1c,[_0x53809d(_0x291f1c,_0x181000)])&&(((_0x4a7923=this[_0x3b367b(0x3b2)][_0x3b367b(0x353)](_0x5f2149(_0x291f1c,_0x181000)))==null?void 0x0:_0x4a7923[_0x3b367b(0x2ef)])??!0x0);}[_0x10b817(0x327)](_0x458811,_0x184f4e){const _0x34b96e=_0x10b817;var _0x395ead;return this[_0x34b96e(0x203)](_0x458811,_0x184f4e)&&(((_0x395ead=this[_0x34b96e(0x3b2)][_0x34b96e(0x353)](_0x5f2149(_0x458811,_0x184f4e)))==null?void 0x0:_0x395ead[_0x34b96e(0x22e)])??!0x0);}[_0x10b817(0x4b3)](_0x3873e0){const _0x401603=_0x10b817;var _0x8f5c34;return this['_canEditTable'](_0x3873e0)&&(((_0x8f5c34=this[_0x401603(0x4e7)][_0x401603(0x353)](_0x3873e0))==null?void 0x0:_0x8f5c34[_0x401603(0x303)])??!0x0);}[_0x10b817(0x189)](_0x242ce5,_0x142ff4){const _0x12fec8=_0x10b817;var _0x3b829a;let _0x27d1f9=this['_recordPermissions']['get'](_0x4271a4(_0x242ce5,_0x142ff4));return this[_0x12fec8(0x15f)](_0x242ce5,[_0x5be5db(_0x242ce5),_0x318193(_0x242ce5,_0x142ff4)])&&(((_0x3b829a=this[_0x12fec8(0x4e7)][_0x12fec8(0x353)](_0x242ce5))==null?void 0x0:_0x3b829a[_0x12fec8(0x2ef)])??!0x0)&&((_0x27d1f9==null?void 0x0:_0x27d1f9[_0x12fec8(0x2ef)])??!0x0)&&((_0x27d1f9==null?void 0x0:_0x27d1f9['editCell'])??!0x0);}[_0x10b817(0x4da)](_0x9ae813,_0x280a40){const _0x3c422c=_0x10b817;var _0x5455f1,_0x4bde05,_0x3e70ab;return this[_0x3c422c(0x15f)](_0x9ae813,[_0x5be5db(_0x9ae813),_0x318193(_0x9ae813,_0x280a40)])&&(((_0x5455f1=this[_0x3c422c(0x4e7)][_0x3c422c(0x353)](_0x9ae813))==null?void 0x0:_0x5455f1[_0x3c422c(0x2ef)])??!0x0)&&(((_0x4bde05=this[_0x3c422c(0x1d5)][_0x3c422c(0x353)](_0x4271a4(_0x9ae813,_0x280a40)))==null?void 0x0:_0x4bde05[_0x3c422c(0x2ef)])??!0x0)&&(((_0x3e70ab=this['_recordPermissions'][_0x3c422c(0x353)](_0x4271a4(_0x9ae813,_0x280a40)))==null?void 0x0:_0x3e70ab[_0x3c422c(0x22e)])??!0x0);}[_0x10b817(0x4df)](_0x4d5f9a,_0x316a8e,_0x66bbb2){const _0x254be0=_0x10b817;var _0x1fd2c6,_0xb83ecd,_0x302478;let _0x4347cb=this[_0x254be0(0x3b2)][_0x254be0(0x353)](_0x5f2149(_0x4d5f9a,_0x66bbb2));return this[_0x254be0(0x15f)](_0x4d5f9a,[_0x5be5db(_0x4d5f9a),_0x53809d(_0x4d5f9a,_0x66bbb2),_0x318193(_0x4d5f9a,_0x316a8e)])&&(((_0x1fd2c6=this['_tablePermissions']['get'](_0x4d5f9a))==null?void 0x0:_0x1fd2c6[_0x254be0(0x2ef)])??!0x0)&&(((_0xb83ecd=this[_0x254be0(0x1d5)][_0x254be0(0x353)](_0x4271a4(_0x4d5f9a,_0x316a8e)))==null?void 0x0:_0xb83ecd[_0x254be0(0x2ef)])??!0x0)&&(((_0x302478=this['_recordPermissions'][_0x254be0(0x353)](_0x4271a4(_0x4d5f9a,_0x316a8e)))==null?void 0x0:_0x302478['editCell'])??!0x0)&&((_0x4347cb==null?void 0x0:_0x4347cb['edit'])??!0x0)&&((_0x4347cb==null?void 0x0:_0x4347cb[_0x254be0(0x37c)])??!0x0);}[_0x10b817(0x17b)](_0x49e710,_0x3a6405){const _0x5a8389=_0x10b817;var _0x56a822,_0x266f82,_0x22add2;return this[_0x5a8389(0x15f)](_0x49e710,[_0x5be5db(_0x49e710),_0x176adf(_0x49e710,_0x3a6405)])&&(((_0x56a822=this[_0x5a8389(0x4e7)][_0x5a8389(0x353)](_0x49e710))==null?void 0x0:_0x56a822[_0x5a8389(0x2ef)])??!0x0)&&(((_0x266f82=this[_0x5a8389(0x3ff)][_0x5a8389(0x353)](_0x2275d9(_0x49e710,_0x3a6405)))==null?void 0x0:_0x266f82[_0x5a8389(0x2ef)])??!0x0)&&(((_0x22add2=this[_0x5a8389(0x4e7)][_0x5a8389(0x353)](_0x49e710))==null?void 0x0:_0x22add2[_0x5a8389(0x1cd)])??!0x0);}[_0x10b817(0x1e8)](_0x24aa66,_0x3585f7){const _0x34fcb8=_0x10b817;this['_basePermissions']['set'](_0x24aa66,{...this[_0x34fcb8(0x2aa)][_0x34fcb8(0x353)](_0x24aa66),..._0x3585f7}),_0x3585f7[_0x34fcb8(0x2ef)]!==void 0x0&&_0x194556(this[_0x34fcb8(0x373)],_0x24aa66,_0x24aa66,_0x34d39d[_0x34fcb8(0x3f2)][_0x34fcb8(0x2c6)],_0x3585f7[_0x34fcb8(0x2ef)]);}['setTablePermission'](_0x135cdb,_0x16d355){const _0x35ae92=_0x10b817;this[_0x35ae92(0x44c)](_0x135cdb),this['_tablePermissions'][_0x35ae92(0x25a)](_0x135cdb,{...this[_0x35ae92(0x4e7)]['get'](_0x135cdb),..._0x16d355}),this[_0x35ae92(0x222)](_0x135cdb,_0x5be5db(_0x135cdb),_0x16d355[_0x35ae92(0x2ef)]);}['setFieldPermission'](_0x490483,_0x234342,_0x566c6a){const _0x3de921=_0x10b817;this[_0x3de921(0x44c)](_0x490483);let _0x4c8c85=_0x5f2149(_0x490483,_0x234342);this[_0x3de921(0x3b2)][_0x3de921(0x25a)](_0x4c8c85,{...this[_0x3de921(0x3b2)][_0x3de921(0x353)](_0x4c8c85),..._0x566c6a}),this['_setObjectEdit'](_0x490483,_0x53809d(_0x490483,_0x234342),_0x566c6a[_0x3de921(0x2ef)]);}['setRecordPermission'](_0x73535c,_0x5552d1,_0x406af3){const _0x26548b=_0x10b817;this[_0x26548b(0x44c)](_0x73535c);let _0x1871be=_0x4271a4(_0x73535c,_0x5552d1);this[_0x26548b(0x1d5)][_0x26548b(0x25a)](_0x1871be,{...this[_0x26548b(0x1d5)]['get'](_0x1871be),..._0x406af3}),this['_setObjectEdit'](_0x73535c,_0x318193(_0x73535c,_0x5552d1),_0x406af3[_0x26548b(0x2ef)]);}[_0x10b817(0x357)](_0x558ea2,_0x5d7c96,_0x57448e){const _0x10bd22=_0x10b817;this['_rememberTable'](_0x558ea2);let _0x1fb4b2=_0x2275d9(_0x558ea2,_0x5d7c96);this['_viewPermissions']['set'](_0x1fb4b2,{...this[_0x10bd22(0x3ff)][_0x10bd22(0x353)](_0x1fb4b2),..._0x57448e}),this[_0x10bd22(0x222)](_0x558ea2,_0x176adf(_0x558ea2,_0x5d7c96),_0x57448e[_0x10bd22(0x2ef)]);}[_0x10b817(0x313)](_0xcdfbcc){const _0x465503=_0x10b817;this['_basePermissions'][_0x465503(0x22e)](_0xcdfbcc),_0x326c7e(this['_permissionService'],_0xcdfbcc,_0xcdfbcc,_0x34d39d[_0x465503(0x3f2)][_0x465503(0x2c6)]);}[_0x10b817(0x279)](_0x1d835d){const _0x977732=_0x10b817;this['_tablePermissions'][_0x977732(0x22e)](_0x1d835d),this['_clearObjectEdit'](_0x1d835d,_0x5be5db(_0x1d835d));}['clearFieldPermission'](_0x4df303,_0x4b3a86){const _0x4e77ea=_0x10b817;this[_0x4e77ea(0x3b2)][_0x4e77ea(0x22e)](_0x5f2149(_0x4df303,_0x4b3a86)),this[_0x4e77ea(0x516)](_0x4df303,_0x53809d(_0x4df303,_0x4b3a86));}[_0x10b817(0x30f)](_0x12571a,_0x449d71){this['_recordPermissions']['delete'](_0x4271a4(_0x12571a,_0x449d71)),this['_clearObjectEdit'](_0x12571a,_0x318193(_0x12571a,_0x449d71));}['clearViewPermission'](_0x355c4f,_0x3c6e4e){const _0x4267d7=_0x10b817;this['_viewPermissions'][_0x4267d7(0x22e)](_0x2275d9(_0x355c4f,_0x3c6e4e)),this[_0x4267d7(0x516)](_0x355c4f,_0x176adf(_0x355c4f,_0x3c6e4e));}['getSnapshot'](){const _0x4e39c2=_0x10b817;return{'bases':Object['fromEntries'](this['_basePermissions']),'tables':Object['fromEntries'](this[_0x4e39c2(0x4e7)]),'fields':Object[_0x4e39c2(0x333)](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x4e39c2(0x1d5)]),'views':Object[_0x4e39c2(0x333)](this[_0x4e39c2(0x3ff)])};}[_0x10b817(0x548)](_0x369232){const _0x31f263=_0x10b817;var _0x3959d1;return this[_0x31f263(0x15f)](_0x369232,[_0x5be5db(_0x369232)])&&(((_0x3959d1=this['_tablePermissions'][_0x31f263(0x353)](_0x369232))==null?void 0x0:_0x3959d1['edit'])??!0x0);}[_0x10b817(0x15f)](_0x4e0cf9,_0x1afc25){const _0x1eaf9c=_0x10b817;var _0x27e477;let _0xeb1f99=this[_0x1eaf9c(0x39d)](_0x4e0cf9);return!_0xeb1f99||_0x4b16b6(this['_permissionService'],_0xeb1f99,_0x1afc25)&&(((_0x27e477=this[_0x1eaf9c(0x2aa)][_0x1eaf9c(0x353)](_0xeb1f99))==null?void 0x0:_0x27e477[_0x1eaf9c(0x2ef)])??!0x0);}[_0x10b817(0x222)](_0x13e818,_0x154b08,_0x503587){const _0xea9529=_0x10b817;if(_0x503587===void 0x0)return;let _0x11558d=this[_0xea9529(0x39d)](_0x13e818);_0x11558d&&_0x194556(this[_0xea9529(0x373)],_0x11558d,_0x154b08,_0x34d39d[_0xea9529(0x3f2)][_0xea9529(0x2c6)],_0x503587);}[_0x10b817(0x516)](_0x445740,_0x39145d){const _0x484c6b=_0x10b817;let _0x6a5fab=this[_0x484c6b(0x39d)](_0x445740);_0x6a5fab&&_0x326c7e(this[_0x484c6b(0x373)],_0x6a5fab,_0x39145d,_0x34d39d[_0x484c6b(0x3f2)][_0x484c6b(0x2c6)]);}[_0x10b817(0x39d)](_0x530bae){const _0x7202f7=_0x10b817;var _0x4fd69e;let _0x49155f=this[_0x7202f7(0x4d5)][_0x7202f7(0x282)](_0x530bae,_0x1684be[_0x7202f7(0x4b4)][_0x7202f7(0x1a9)]);return _0x49155f?_0x49155f[_0x7202f7(0x14b)]():(_0x4fd69e=this[_0x7202f7(0x4d5)]['getAllUnitsForType'](_0x1684be[_0x7202f7(0x4b4)][_0x7202f7(0x1a9)])[_0x7202f7(0x3d7)](_0x3cad21=>!!_0x3cad21[_0x7202f7(0x438)]()[_0x7202f7(0x135)][_0x530bae]))==null?void 0x0:_0x4fd69e['getUnitId']();}[_0x10b817(0x44c)](_0x5ddfec){const _0x339753=_0x10b817;let _0x178fcf=this['_resolveBaseId'](_0x5ddfec);_0x178fcf&&this[_0x339753(0x15e)][_0x339753(0x25a)](_0x5ddfec,_0x178fcf);}['_clearUnit'](_0x403f4f){const _0x50e3d7=_0x10b817;this['_basePermissions'][_0x50e3d7(0x22e)](_0x403f4f),this['_tableBaseIds'][_0x50e3d7(0x4ac)]((_0x45dce5,_0x5708cd)=>{const _0x32d243=_0x50e3d7;_0x45dce5===_0x403f4f&&(this[_0x32d243(0x4e7)][_0x32d243(0x22e)](_0x5708cd),_0x3b543f(this[_0x32d243(0x3b2)],_0x5708cd+'\x1f'),_0x3b543f(this[_0x32d243(0x1d5)],_0x5708cd+'\x1f'),_0x3b543f(this[_0x32d243(0x3ff)],_0x5708cd+'\x1f'),this[_0x32d243(0x15e)][_0x32d243(0x22e)](_0x5708cd));});}};_0x1b417b=_0x573014([_0xb3d983(0x0,_0x1684be[_0x10b817(0x292)]),_0xb3d983(0x1,_0x1684be[_0x10b817(0x18c)])],_0x1b417b);function _0x3b543f(_0x29b6f2,_0x3d49c8){_0x29b6f2['forEach']((_0x35ed84,_0x4be6ce)=>{const _0x27866b=_0x5a55;_0x4be6ce[_0x27866b(0x4a9)](_0x3d49c8)&&_0x29b6f2[_0x27866b(0x22e)](_0x4be6ce);});}function _0x5f2149(_0x887ee9,_0x54588c){return _0x887ee9+'\x1f'+_0x54588c;}function _0x4271a4(_0xe07734,_0x150785){return _0xe07734+'\x1f'+_0x150785;}function _0x2275d9(_0x7f6016,_0x19ac4c){return _0x7f6016+'\x1f'+_0x19ac4c;}let _0x7d47b6=(0x0,_0x1684be[_0x10b817(0x30c)])(_0x10b817(0x2ed)),_0x319dcd=class{constructor(_0x347963,_0x27d3ed=_0x4bbb6e(),_0x2c71f5={}){const _0x142178=_0x10b817;this[_0x142178(0x373)]=_0x347963,this['_fieldRegistry']=_0x27d3ed,this[_0x142178(0x331)]=_0x2c71f5,_0x4876c0(this,_0x142178(0x525),new _0x519e7e()),_0x4876c0(this,'_applier',new _0x540632());}[_0x10b817(0x32b)](_0x42895c,_0x5ccb7b,_0x185d2b){const _0x40960b=_0x10b817;if(!this[_0x40960b(0x373)][_0x40960b(0x1ce)](_0x42895c['getUnitId']()))throw Error(_0x40960b(0x4c8));(0x0,_0x1684be[_0x40960b(0x347)])(_0x5ccb7b),this[_0x40960b(0x27b)](_0x42895c,this[_0x40960b(0x525)]['createTable'](_0x42895c[_0x40960b(0x438)](),_0x5ccb7b,_0x185d2b));}[_0x10b817(0x25b)](_0x7a98cb,_0x57d5fb,_0x5b6674){const _0x115996=_0x10b817;if(!this[_0x115996(0x373)]['canEditTable'](_0x57d5fb))throw Error(_0x115996(0x28c));this['_apply'](_0x7a98cb,this[_0x115996(0x525)][_0x115996(0x25b)](_0x7a98cb['getSnapshot'](),_0x57d5fb,_0x5b6674));}[_0x10b817(0x33e)](_0x10e072,_0x1b6d79){const _0x48a0bc=_0x10b817;if(!this[_0x48a0bc(0x373)]['canDeleteTable'](_0x1b6d79))throw Error(_0x48a0bc(0x4d7));let _0x51959b=_0xb53433(_0x10e072[_0x48a0bc(0x438)](),_0x1b6d79);if(_0x51959b[_0x48a0bc(0x350)]>0x0)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20('+_0x51959b[_0x48a0bc(0x4fd)](_0x570a91=>_0x570a91[_0x48a0bc(0x171)]+'.'+_0x570a91[_0x48a0bc(0x294)])['join'](',\x20')+').');this[_0x48a0bc(0x27b)](_0x10e072,this[_0x48a0bc(0x525)][_0x48a0bc(0x33e)](_0x10e072['getSnapshot'](),_0x1b6d79));}[_0x10b817(0x543)](_0x453b8c,_0xb51f1b,_0x4776e5,_0x40b642,_0x215490){const _0x155d4b=_0x10b817;this[_0x155d4b(0x27b)](_0x453b8c,this[_0x155d4b(0x4c3)](_0x453b8c,_0xb51f1b,_0x4776e5,_0x40b642,_0x215490));}[_0x10b817(0x497)](_0x3a7acc,_0x4ca8db,_0x45a4a8){const _0x7cfab9=_0x10b817;this[_0x7cfab9(0x27b)](_0x3a7acc,this[_0x7cfab9(0x425)](_0x3a7acc,_0x4ca8db,_0x45a4a8));}[_0x10b817(0x303)](_0x10df1a,_0x61af48,_0x54f5c0){const _0x3e9931=_0x10b817;this[_0x3e9931(0x27b)](_0x10df1a,this[_0x3e9931(0x321)](_0x10df1a,_0x61af48,_0x54f5c0));}[_0x10b817(0x4c3)](_0x3ed184,_0x22f049,_0x2630d6,_0x192f5d,_0x167da9){const _0x32592d=_0x10b817;let _0x9a5243=_0x3ed184[_0x32592d(0x438)](),_0x355a91=this[_0x32592d(0x288)](_0x9a5243,_0x22f049,_0x2630d6,_0x192f5d,_0x167da9),_0x5e35de=this['_withModifiedSystemValues'](_0x9a5243,_0x22f049,_0x2630d6,{[_0x192f5d]:_0x355a91});return this[_0x32592d(0x525)][_0x32592d(0x497)](_0x9a5243,_0x22f049,[_0x5e35de]);}[_0x10b817(0x425)](_0x38402f,_0x49a99b,_0x146819){const _0x2dec5a=_0x10b817;let _0x35ddc6=_0x38402f[_0x2dec5a(0x438)](),_0x1cc23c=_0x146819[_0x2dec5a(0x4fd)](_0x57e54f=>this[_0x2dec5a(0x3c7)](_0x35ddc6,_0x49a99b,_0x57e54f[_0x2dec5a(0x240)],{...Object[_0x2dec5a(0x333)](Object['entries'](_0x57e54f['values'])[_0x2dec5a(0x4fd)](([_0x82d05f,_0x517383])=>[_0x82d05f,this[_0x2dec5a(0x288)](_0x35ddc6,_0x49a99b,_0x57e54f[_0x2dec5a(0x240)],_0x82d05f,_0x517383)]))}));return this[_0x2dec5a(0x525)]['setRecordValues'](_0x35ddc6,_0x49a99b,_0x1cc23c);}[_0x10b817(0x321)](_0x1774f6,_0x5c7110,_0x2db165){const _0x2d434b=_0x10b817;if(!this[_0x2d434b(0x373)][_0x2d434b(0x4b3)](_0x5c7110))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x506a23=_0x1774f6['getSnapshot'](),_0x181dee=this[_0x2d434b(0x365)](_0x506a23[_0x2d434b(0x135)][_0x5c7110]);return this['_factory'][_0x2d434b(0x303)](_0x506a23,_0x5c7110,this['_createRecordWithDefaults'](_0x506a23,_0x5c7110,_0x2db165,_0x181dee));}['createBatchCreateRecordsOp'](_0x87595b,_0x267e3c,_0x4382ba){const _0x2e345b=_0x10b817;if(!this['_permissionService']['canCreateRecord'](_0x267e3c))throw Error(_0x2e345b(0x1c6));let _0x2ac460=_0x87595b[_0x2e345b(0x438)]();return _0x4f283(_0x2e345b(0x36b),()=>{const _0x383619=_0x2e345b;let _0x2fe3c2=this[_0x383619(0x365)](_0x2ac460['tables'][_0x267e3c]);return this[_0x383619(0x525)][_0x383619(0x2c3)](_0x2ac460,_0x267e3c,_0x4382ba[_0x383619(0x4fd)](_0x84a9d3=>this[_0x383619(0x46e)](_0x2ac460,_0x267e3c,_0x84a9d3,_0x2fe3c2)));},{'existingRecords':Object[_0x2e345b(0x176)](_0x2ac460['tables'][_0x267e3c]['records'])[_0x2e345b(0x350)],'records':_0x4382ba[_0x2e345b(0x350)]});}['createCreateFieldOp'](_0x2ac46f,_0x36ebe3,_0x28eb9a,_0x27ee54,_0x1e8f9b){const _0xe2c517=_0x10b817;if(!this[_0xe2c517(0x373)][_0xe2c517(0x33a)](_0x36ebe3))throw Error(_0xe2c517(0x2da));let _0x55d221=_0x2ac46f['getSnapshot']();if(this[_0xe2c517(0x1c9)](_0x55d221,_0x28eb9a),_0x27ee54===0x0)throw Error(_0xe2c517(0x1ae));let _0x3fafba=this['_factory'][_0xe2c517(0x15b)](_0x55d221,_0x36ebe3,{'field':_0x28eb9a,'index':_0x27ee54,'viewIndexes':_0x1e8f9b}),_0x55b168=this['_createSystemFieldValuePatches'](_0x55d221,_0x36ebe3,_0x28eb9a);if(!_0x55b168[_0xe2c517(0x350)])return _0x3fafba;let _0x174031=this[_0xe2c517(0x287)]['applyOp'](_0x55d221,_0x3fafba);return _0x33735e([_0x3fafba,this['_factory']['setRecordValues'](_0x174031,_0x36ebe3,_0x55b168)]);}[_0x10b817(0x363)](_0x142cae,_0x1d907c,_0x2b171c){const _0x239d83=_0x10b817;if(!this[_0x239d83(0x373)][_0x239d83(0x4da)](_0x1d907c,_0x2b171c))throw Error(_0x239d83(0x3f7));this[_0x239d83(0x27b)](_0x142cae,this['_factory'][_0x239d83(0x363)](_0x142cae[_0x239d83(0x438)](),_0x1d907c,_0x2b171c));}[_0x10b817(0x47d)](_0x21fa1b,_0xbc3c75,_0x233dd4,_0x444f88){const _0x4b3b98=_0x10b817;if(!this['_permissionService'][_0x4b3b98(0x4b3)](_0xbc3c75))throw Error(_0x4b3b98(0x1c6));this[_0x4b3b98(0x27b)](_0x21fa1b,this[_0x4b3b98(0x525)]['duplicateRecord'](_0x21fa1b['getSnapshot'](),_0xbc3c75,_0x233dd4,{..._0x444f88,'values':{..._0x444f88[_0x4b3b98(0x243)],[_0x1684be[_0x4b3b98(0x26a)]]:_0x444f88['id']}}));}[_0x10b817(0x2b2)](_0x325872,_0x276338,_0x11751b,_0x1896da){const _0x15ff5c=_0x10b817;if(!this[_0x15ff5c(0x373)]['canEditRecord'](_0x276338,_0x11751b))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record.');this[_0x15ff5c(0x27b)](_0x325872,this[_0x15ff5c(0x525)]['updateRecordOrder'](_0x325872[_0x15ff5c(0x438)](),_0x276338,_0x11751b,_0x1896da));}['createField'](_0x1a7324,_0x11c672,_0x24adec,_0x4976ec,_0x402f8a){const _0x50cfd9=_0x10b817;this['_apply'](_0x1a7324,this[_0x50cfd9(0x3a5)](_0x1a7324,_0x11c672,_0x24adec,_0x4976ec,_0x402f8a));}['updateField'](_0x5cca6f,_0x5471e1,_0x113051,_0x9cc50){const _0x380555=_0x10b817;var _0x188bb1;if(!this[_0x380555(0x373)][_0x380555(0x203)](_0x5471e1,_0x113051))throw Error(_0x380555(0x519));let _0x4dc6a4=_0x5cca6f[_0x380555(0x438)](),_0x1acf5a=(_0x188bb1=_0x4dc6a4['tables'][_0x5471e1])==null?void 0x0:_0x188bb1['fields'][_0x113051];if(!_0x1acf5a||_0x113051===_0x1684be[_0x380555(0x26a)])throw Error(_0x380555(0x521));this[_0x380555(0x1c9)](_0x4dc6a4,{..._0x1acf5a,..._0x9cc50}),this[_0x380555(0x27b)](_0x5cca6f,this[_0x380555(0x525)][_0x380555(0x367)](_0x4dc6a4,_0x5471e1,_0x113051,_0x9cc50));}[_0x10b817(0x445)](_0x496771,_0x50dfbd,_0x1367a1,_0x135e74){const _0x285807=_0x10b817;var _0x20f4c2;if(!this[_0x285807(0x373)][_0x285807(0x203)](_0x50dfbd,_0x1367a1))throw Error(_0x285807(0x519));let _0x485074=_0x496771['getSnapshot'](),_0x93fa8d=(_0x20f4c2=_0x485074[_0x285807(0x135)][_0x50dfbd])==null?void 0x0:_0x20f4c2['fields'][_0x1367a1];if(!_0x93fa8d||_0x1367a1===_0x1684be[_0x285807(0x26a)])throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0x285807(0x1c9)](_0x485074,{..._0x93fa8d,..._0x135e74}),this['_apply'](_0x496771,this[_0x285807(0x525)][_0x285807(0x445)](_0x485074,_0x50dfbd,_0x1367a1,_0x135e74));}['deleteField'](_0x5820fb,_0x211bd3,_0x5681e7){const _0x512851=_0x10b817;var _0x1dcba2;if(((_0x1dcba2=_0x5820fb[_0x512851(0x438)]()[_0x512851(0x135)][_0x211bd3])==null?void 0x0:_0x1dcba2[_0x512851(0x396)])===_0x5681e7||_0x5681e7===_0x1684be['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x512851(0x14f));if(!this[_0x512851(0x373)][_0x512851(0x327)](_0x211bd3,_0x5681e7))throw Error(_0x512851(0x476));this[_0x512851(0x27b)](_0x5820fb,this[_0x512851(0x525)][_0x512851(0x193)](_0x5820fb['getSnapshot'](),_0x211bd3,_0x5681e7));}[_0x10b817(0x495)](_0x17fdd8,_0x4fbb46,_0x1a38c5,_0x45531a){const _0x4b7f6d=_0x10b817;if(!this[_0x4b7f6d(0x373)][_0x4b7f6d(0x203)](_0x4fbb46,_0x1a38c5))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x1a38c5===_0x1684be[_0x4b7f6d(0x26a)]||_0x45531a[_0x4b7f6d(0x1af)]===_0x1684be[_0x4b7f6d(0x26a)])throw Error(_0x4b7f6d(0x26d));this[_0x4b7f6d(0x27b)](_0x17fdd8,this[_0x4b7f6d(0x525)][_0x4b7f6d(0x495)](_0x17fdd8[_0x4b7f6d(0x438)](),_0x4fbb46,_0x1a38c5,_0x45531a));}[_0x10b817(0x45f)](_0x41ceda,_0x2086ed,_0x44f760,_0x3327f4){const _0x3fdc7b=_0x10b817;if(!this[_0x3fdc7b(0x373)]['canManageView'](_0x2086ed,_0x44f760['id']))throw Error(_0x3fdc7b(0x48d));this[_0x3fdc7b(0x27b)](_0x41ceda,this[_0x3fdc7b(0x525)][_0x3fdc7b(0x45f)](_0x41ceda[_0x3fdc7b(0x438)](),_0x2086ed,_0x44f760,_0x3327f4));}[_0x10b817(0x49c)](_0x1ae523,_0x2966f5,_0xc63b9c,_0x55f4dd){const _0x11f204=_0x10b817;if(!this[_0x11f204(0x373)][_0x11f204(0x17b)](_0x2966f5,_0xc63b9c))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x11f204(0x27b)](_0x1ae523,this['_factory'][_0x11f204(0x49c)](_0x1ae523[_0x11f204(0x438)](),_0x2966f5,_0xc63b9c,_0x55f4dd));}[_0x10b817(0x175)](_0x5a1fa0,_0x562c4c,_0x1cd9f8){const _0x4b1c37=_0x10b817;if(!this[_0x4b1c37(0x373)][_0x4b1c37(0x17b)](_0x562c4c,_0x1cd9f8))throw Error(_0x4b1c37(0x48d));this[_0x4b1c37(0x27b)](_0x5a1fa0,this[_0x4b1c37(0x525)][_0x4b1c37(0x175)](_0x5a1fa0[_0x4b1c37(0x438)](),_0x562c4c,_0x1cd9f8));}[_0x10b817(0x20d)](_0x41e4fc,_0x411596,_0xfb7032,_0x333d57){const _0x183d78=_0x10b817;if(!this[_0x183d78(0x373)]['canManageView'](_0x411596,_0xfb7032))throw Error(_0x183d78(0x48d));this['_apply'](_0x41e4fc,this[_0x183d78(0x525)][_0x183d78(0x20d)](_0x41e4fc[_0x183d78(0x438)](),_0x411596,_0xfb7032,_0x333d57));}[_0x10b817(0x2b4)](_0x2a9031,_0x16e04c,_0x29eacb,_0x1e5590){const _0x3eca48=_0x10b817;if(!this[_0x3eca48(0x373)][_0x3eca48(0x17b)](_0x16e04c,_0x29eacb))throw Error(_0x3eca48(0x48d));this[_0x3eca48(0x27b)](_0x2a9031,this[_0x3eca48(0x525)][_0x3eca48(0x2b4)](_0x2a9031[_0x3eca48(0x438)](),_0x16e04c,_0x29eacb,_0x1e5590));}[_0x10b817(0x1a3)](_0x18af82,_0x5631d2,_0x138dbb,_0x26d2e8){const _0x3e605a=_0x10b817;if(!this[_0x3e605a(0x373)][_0x3e605a(0x17b)](_0x5631d2,_0x138dbb))throw Error(_0x3e605a(0x48d));this['_apply'](_0x18af82,this[_0x3e605a(0x525)]['setViewFilter'](_0x18af82[_0x3e605a(0x438)](),_0x5631d2,_0x138dbb,_0x26d2e8));}['setViewSort'](_0x7881c0,_0x32cd23,_0x26a97b,_0x4f6145){const _0x5434e0=_0x10b817;if(!this['_permissionService']['canManageView'](_0x32cd23,_0x26a97b))throw Error(_0x5434e0(0x48d));this['_apply'](_0x7881c0,this[_0x5434e0(0x525)][_0x5434e0(0x1ab)](_0x7881c0[_0x5434e0(0x438)](),_0x32cd23,_0x26a97b,_0x4f6145));}[_0x10b817(0x3c6)](_0x3cf53,_0x1ca15b,_0x543df0,_0x3bf6cd){const _0xf0280b=_0x10b817;if(!this[_0xf0280b(0x373)][_0xf0280b(0x17b)](_0x1ca15b,_0x543df0))throw Error(_0xf0280b(0x48d));this[_0xf0280b(0x27b)](_0x3cf53,this[_0xf0280b(0x525)][_0xf0280b(0x3c6)](_0x3cf53[_0xf0280b(0x438)](),_0x1ca15b,_0x543df0,_0x3bf6cd));}['setViewFieldVisible'](_0x7a32d3,_0x2cf72b,_0x29d7e2,_0x52ada2,_0x191784){const _0x4ac247=_0x10b817;if(!this[_0x4ac247(0x373)][_0x4ac247(0x17b)](_0x2cf72b,_0x29d7e2))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4ac247(0x27b)](_0x7a32d3,this['_factory'][_0x4ac247(0x46a)](_0x7a32d3[_0x4ac247(0x438)](),_0x2cf72b,_0x29d7e2,_0x52ada2,_0x191784));}[_0x10b817(0x1da)](_0x5d4d8d,_0x2f2903,_0x4acc43,_0x1fbdfa,_0x548687){const _0x41788b=_0x10b817;if(!this['_permissionService'][_0x41788b(0x17b)](_0x2f2903,_0x4acc43))throw Error(_0x41788b(0x48d));this[_0x41788b(0x27b)](_0x5d4d8d,this[_0x41788b(0x525)][_0x41788b(0x1da)](_0x5d4d8d['getSnapshot'](),_0x2f2903,_0x4acc43,_0x1fbdfa,_0x548687));}[_0x10b817(0x152)](_0x5d7619,_0x196553,_0x44e102,_0x2f57f4,_0x158bfd){const _0x5439f8=_0x10b817;if(!this[_0x5439f8(0x373)][_0x5439f8(0x17b)](_0x196553,_0x44e102))throw Error(_0x5439f8(0x48d));this[_0x5439f8(0x27b)](_0x5d7619,this[_0x5439f8(0x525)][_0x5439f8(0x152)](_0x5d7619[_0x5439f8(0x438)](),_0x196553,_0x44e102,_0x2f57f4,_0x158bfd));}[_0x10b817(0x27b)](_0x121d02,_0x1eab7b){const _0x4e8648=_0x10b817;let _0x5b981d=_0x121d02[_0x4e8648(0x438)]();_0x121d02[_0x4e8648(0x507)](this[_0x4e8648(0x287)][_0x4e8648(0x32f)](_0x5b981d,_0x1eab7b));}[_0x10b817(0x46e)](_0x42c460,_0x119aae,_0x278dbb,_0x45ec0b=this['_createNumberingAllocators'](_0x42c460['tables'][_0x119aae])){const _0x4b9f95=_0x10b817;let _0x5c81e5=_0x42c460[_0x4b9f95(0x135)][_0x119aae],_0x5f276b=_0x278dbb['createdBy']??_0x278dbb[_0x4b9f95(0x1c5)]??this[_0x4b9f95(0x452)](),_0x2945fc={..._0x278dbb,'createdBy':_0x278dbb[_0x4b9f95(0x429)]??_0x5f276b,'updatedBy':_0x278dbb[_0x4b9f95(0x1c5)]??_0x5f276b,'values':{..._0x278dbb['values']}};return _0x2945fc[_0x4b9f95(0x243)][_0x1684be[_0x4b9f95(0x26a)]]=_0x2945fc['id'],_0x5c81e5[_0x4b9f95(0x3c3)][_0x4b9f95(0x4ac)](_0x42ec36=>{const _0x15b4ab=_0x4b9f95;let _0x64624c=_0x5c81e5[_0x15b4ab(0x22d)][_0x42ec36];if(_0x64624c&&_0x2945fc['values'][_0x42ec36]===void 0x0)switch(_0x64624c[_0x15b4ab(0x4af)]){case _0x1684be['BaseFieldType'][_0x15b4ab(0x252)]:var _0x2f7a84;_0x2945fc[_0x15b4ab(0x243)][_0x42ec36]=((_0x2f7a84=_0x45ec0b[_0x15b4ab(0x353)](_0x42ec36))==null?void 0x0:_0x2f7a84())??this[_0x15b4ab(0x501)](_0x5c81e5,_0x42ec36)();break;case _0x1684be[_0x15b4ab(0x1e3)][_0x15b4ab(0x1e6)]:_0x2945fc[_0x15b4ab(0x429)]&&(_0x2945fc['values'][_0x42ec36]=_0x2945fc[_0x15b4ab(0x429)]);break;case _0x1684be[_0x15b4ab(0x1e3)][_0x15b4ab(0x4f1)]:_0x2945fc['updatedBy']&&(_0x2945fc['values'][_0x42ec36]=_0x2945fc[_0x15b4ab(0x1c5)]);break;case _0x1684be[_0x15b4ab(0x1e3)][_0x15b4ab(0x17f)]:_0x2945fc[_0x15b4ab(0x243)][_0x42ec36]=_0x5cbc3a(_0x2945fc[_0x15b4ab(0x2d3)]);break;case _0x1684be[_0x15b4ab(0x1e3)][_0x15b4ab(0x4ad)]:_0x2945fc[_0x15b4ab(0x243)][_0x42ec36]=_0x5cbc3a(_0x2945fc[_0x15b4ab(0x43f)]);break;default:{let _0x1e7650=_0x64624c[_0x15b4ab(0x4e1)];_0x1e7650!=null&&_0x1e7650!==''&&!(Array[_0x15b4ab(0x233)](_0x1e7650)&&_0x1e7650[_0x15b4ab(0x350)]===0x0)&&(_0x2945fc['values'][_0x42ec36]=_0x1e7650);}}}),_0x2945fc;}[_0x10b817(0x3c7)](_0x5934c5,_0x214f6f,_0x2588cd,_0x35812a){const _0xba3d7e=_0x10b817;var _0x4be05b,_0x5651e5;let _0x2b28b8=_0x5934c5[_0xba3d7e(0x135)][_0x214f6f],_0x85761b=((_0x4be05b=(_0x5651e5=this['_runtimeContext'])['now'])==null?void 0x0:_0x4be05b['call'](_0x5651e5))??Date[_0xba3d7e(0x4c4)](),_0x3746dd=this['_getCurrentUserId'](),_0x32b669={..._0x35812a};return _0x2b28b8[_0xba3d7e(0x3c3)][_0xba3d7e(0x4ac)](_0x1e47fd=>{const _0x1db2ce=_0xba3d7e;let _0x5dc524=_0x2b28b8[_0x1db2ce(0x22d)][_0x1e47fd];_0x5dc524&&(_0x5dc524[_0x1db2ce(0x4af)]===_0x1684be[_0x1db2ce(0x1e3)][_0x1db2ce(0x4ad)]&&(_0x32b669[_0x1e47fd]=_0x5cbc3a(_0x85761b)),_0x5dc524[_0x1db2ce(0x4af)]===_0x1684be['BaseFieldType']['UpdatedBy']&&_0x3746dd&&(_0x32b669[_0x1e47fd]=_0x3746dd));}),{'recordId':_0x2588cd,'values':_0x32b669,'recordPatch':{'updatedAt':_0x85761b,..._0x3746dd?{'updatedBy':_0x3746dd}:{}}};}[_0x10b817(0x390)](_0xbe2971,_0x47ef54,_0x360a07){const _0x37a951=_0x10b817;let _0x14ff82=_0xbe2971['tables'][_0x47ef54];return!_0x14ff82||!_0x30ee19(_0x360a07)?[]:_0x360a07[_0x37a951(0x4af)]===_0x1684be[_0x37a951(0x1e3)][_0x37a951(0x252)]?this[_0x37a951(0x441)](_0x14ff82,_0x360a07['id']):Object['values'](_0x14ff82[_0x37a951(0x510)])[_0x37a951(0x158)](_0x49027b=>{let _0x3c4e6b=this['_getSystemFieldValue'](_0x360a07,_0x49027b);return _0x3c4e6b===void 0x0?[]:[{'recordId':_0x49027b['id'],'values':{[_0x360a07['id']]:_0x3c4e6b}}];});}[_0x10b817(0x260)](_0x43ede5,_0x54bbfd){const _0x6c8fd0=_0x10b817;switch(_0x43ede5['type']){case _0x1684be['BaseFieldType'][_0x6c8fd0(0x1e6)]:return _0x54bbfd[_0x6c8fd0(0x429)]??this[_0x6c8fd0(0x452)]();case _0x1684be['BaseFieldType'][_0x6c8fd0(0x4f1)]:return _0x54bbfd['updatedBy']??this['_getCurrentUserId']();case _0x1684be[_0x6c8fd0(0x1e3)][_0x6c8fd0(0x17f)]:return _0x5cbc3a(_0x54bbfd['createdAt']??Date[_0x6c8fd0(0x4c4)]());case _0x1684be[_0x6c8fd0(0x1e3)]['UpdatedAt']:return _0x5cbc3a(_0x54bbfd[_0x6c8fd0(0x43f)]??Date['now']());default:return;}}[_0x10b817(0x365)](_0x25b8f5){const _0x4a5f2d=_0x10b817;let _0x2dafa3=new Map();return _0x25b8f5&&_0x25b8f5[_0x4a5f2d(0x3c3)]['forEach'](_0x5816c2=>{const _0x2a1de1=_0x4a5f2d;let _0x517c0d=_0x25b8f5[_0x2a1de1(0x22d)][_0x5816c2];(_0x517c0d==null?void 0x0:_0x517c0d[_0x2a1de1(0x4af)])===_0x1684be[_0x2a1de1(0x1e3)][_0x2a1de1(0x252)]&&_0x2dafa3[_0x2a1de1(0x25a)](_0x5816c2,this[_0x2a1de1(0x501)](_0x25b8f5,_0x5816c2));}),_0x2dafa3;}[_0x10b817(0x501)](_0x359e9b,_0x4e7460){const _0x3b9cbd=_0x10b817;let _0x58197a=Object[_0x3b9cbd(0x243)](_0x359e9b[_0x3b9cbd(0x510)])[_0x3b9cbd(0x227)]((_0x2dbcfa,_0x33bed4)=>{const _0x245c58=_0x3b9cbd;let _0x9c98b8=Number(_0x33bed4[_0x245c58(0x243)][_0x4e7460]);return Number[_0x245c58(0x4c9)](_0x9c98b8)?Math[_0x245c58(0x35b)](_0x2dbcfa,_0x9c98b8):_0x2dbcfa;},0x0);return()=>String(++_0x58197a);}[_0x10b817(0x441)](_0x5585eb,_0x5ea3cd){const _0x2ac0df=_0x10b817;let _0x59c0c1=this[_0x2ac0df(0x1a8)](_0x5585eb),_0x562f7f=this[_0x2ac0df(0x501)](_0x5585eb,_0x5ea3cd);return _0x59c0c1[_0x2ac0df(0x158)](_0x21de35=>this[_0x2ac0df(0x11e)](_0x21de35[_0x2ac0df(0x243)][_0x5ea3cd])?[]:[{'recordId':_0x21de35['id'],'values':{[_0x5ea3cd]:_0x562f7f()}}]);}['_getOrderedRecords'](_0x3d297d){const _0x6a1819=_0x10b817;var _0x4fbfaa;let _0x186b09=Object[_0x6a1819(0x243)](_0x3d297d[_0x6a1819(0x510)]),_0x57b695=new Map(_0x186b09[_0x6a1819(0x4fd)](_0x4bd8f6=>[_0x4bd8f6['id'],_0x4bd8f6])),_0xf7a9d2=[],_0x29ffae=new Set();(_0x4fbfaa=_0x3d297d['recordOrder'])==null||_0x4fbfaa['forEach'](_0x4fb109=>{const _0x1761ae=_0x6a1819;let _0x483184=_0x57b695[_0x1761ae(0x353)](_0x4fb109);_0x483184&&(_0xf7a9d2[_0x1761ae(0x558)](_0x483184),_0x29ffae[_0x1761ae(0x1f2)](_0x4fb109));});let _0x4e0e63=_0x186b09['filter'](_0x3982fc=>!_0x29ffae[_0x6a1819(0x11b)](_0x3982fc['id']))[_0x6a1819(0x409)]((_0x59a07b,_0x4c7a3f)=>String(_0x59a07b['orderKey']??_0x59a07b['id'])['localeCompare'](String(_0x4c7a3f[_0x6a1819(0x241)]??_0x4c7a3f['id']))||_0x59a07b['id'][_0x6a1819(0x25e)](_0x4c7a3f['id']));return[..._0xf7a9d2,..._0x4e0e63];}[_0x10b817(0x11e)](_0x594c8f){const _0xafc670=_0x10b817;return _0x594c8f!=null&&_0x594c8f!==''&&!(Array[_0xafc670(0x233)](_0x594c8f)&&_0x594c8f[_0xafc670(0x350)]===0x0);}[_0x10b817(0x452)](){const _0x5d3336=_0x10b817;var _0x2de587,_0x19c3a0,_0x5ee0a1,_0x4abe72;return((_0x2de587=(_0x19c3a0=this[_0x5d3336(0x331)])['getCurrentUserId'])==null?void 0x0:_0x2de587['call'](_0x19c3a0))??((_0x5ee0a1=(_0x4abe72=this[_0x5d3336(0x331)])[_0x5d3336(0x274)])==null||(_0x5ee0a1=_0x5ee0a1[_0x5d3336(0x3e7)](_0x4abe72))==null?void 0x0:_0x5ee0a1['userID'])??void 0x0;}['_normalizeCellValue'](_0x2b1cf,_0x1dc652,_0x4290f5,_0x3daf3c,_0x3ccc95){const _0x218bab=_0x10b817;var _0x392707;if(!this[_0x218bab(0x373)][_0x218bab(0x4df)](_0x1dc652,_0x4290f5,_0x3daf3c))throw Error(_0x218bab(0x276));let _0x2ea662=(_0x392707=_0x2b1cf[_0x218bab(0x135)][_0x1dc652])==null?void 0x0:_0x392707['fields'][_0x3daf3c];if(!_0x2ea662)throw Error(_0x218bab(0x362)+_0x3daf3c+_0x218bab(0x204));let _0x2654a2=this[_0x218bab(0x478)][_0x218bab(0x353)](_0x2ea662['type']);if(_0x2ea662['readonly']||_0x2ea662[_0x218bab(0x1fb)]||!_0x2654a2[_0x218bab(0x535)](_0x2ea662)['editable'])throw Error(_0x218bab(0x4ef));let _0xe24dad=_0x2654a2[_0x218bab(0x2fe)](_0x3ccc95,_0x2ea662),_0x37ec70=_0x2654a2['validate'](_0xe24dad,_0x2ea662);if(!_0x37ec70['valid'])throw Error(_0x37ec70[_0x218bab(0x1cb)]??_0x218bab(0x484));let _0x48126a=_0x2ea662['type']===_0x1684be[_0x218bab(0x1e3)][_0x218bab(0x2be)]?_0x161c3c(_0x2b1cf,_0x2ea662,_0xe24dad):{'valid':!0x0};if(!_0x48126a['valid'])throw Error(_0x48126a['reason']??_0x218bab(0x318));return _0xe24dad;}[_0x10b817(0x1c9)](_0x2f7674,_0x337a33){const _0x8e5a3=_0x10b817;if(_0x337a33['id']===_0x1684be[_0x8e5a3(0x26a)]||_0x337a33[_0x8e5a3(0x4af)]===_0x1684be[_0x8e5a3(0x1e3)]['RecordId']||(0x0,_0x1684be[_0x8e5a3(0x23a)])(_0x337a33['name']))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x390b9f=_0x1ecc2f(_0x2f7674,_0x337a33);if(!_0x390b9f['valid'])throw Error(_0x390b9f[_0x8e5a3(0x1cb)]??_0x8e5a3(0x10e));}};_0x319dcd=_0x573014([_0xb3d983(0x0,_0x164ae1),_0xb3d983(0x1,_0x53e622)],_0x319dcd);function _0x4bbb6e(){const _0x13aea1=_0x10b817;let _0x2a3f18=new _0x29bfe0();return _0x592ce2()[_0x13aea1(0x4ac)](_0x476d79=>_0x2a3f18[_0x13aea1(0x518)](_0x476d79)),_0x2a3f18;}function _0x30ee19(_0x4df507){const _0x3a0115=_0x10b817;return _0x4df507[_0x3a0115(0x4af)]===_0x1684be[_0x3a0115(0x1e3)][_0x3a0115(0x252)]||_0x4df507[_0x3a0115(0x4af)]===_0x1684be[_0x3a0115(0x1e3)][_0x3a0115(0x1e6)]||_0x4df507['type']===_0x1684be[_0x3a0115(0x1e3)][_0x3a0115(0x4f1)]||_0x4df507[_0x3a0115(0x4af)]===_0x1684be[_0x3a0115(0x1e3)]['CreatedAt']||_0x4df507[_0x3a0115(0x4af)]===_0x1684be[_0x3a0115(0x1e3)][_0x3a0115(0x4ad)];}let _0x3c1219=new Set([_0x1684be['BaseFieldType']['Progress'],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x55c)],_0x1684be[_0x10b817(0x1e3)]['Checkbox']]);function _0x2678c2(_0x1031ae){const _0x3064e1=_0x10b817;let _0x2bac62=_0x1031ae[_0x3064e1(0x22d)][_0x1031ae[_0x3064e1(0x396)]];if((!_0x2bac62||_0x2bac62[_0x3064e1(0x1fb)]!==!0x0&&_0x2bac62['id'][_0x3064e1(0x4fa)]()!=='id'&&_0x2bac62['name']['trim']()[_0x3064e1(0x4fa)]()!=='id')&&_0x2bac62)return _0x2bac62['id'];for(let _0x2d4335 of _0x1031ae[_0x3064e1(0x3c3)]){let _0x400cb6=_0x1031ae['fields'][_0x2d4335];if(_0x400cb6&&_0x400cb6['id']!==_0x1031ae[_0x3064e1(0x396)]&&_0x400cb6[_0x3064e1(0x1fb)]!==!0x0&&_0x400cb6[_0x3064e1(0x4af)]!==_0x1684be['BaseFieldType']['RecordId'])return _0x400cb6['id'];}return _0x1031ae[_0x3064e1(0x396)];}function _0x3ac716(_0x2cba93,_0x246fe4=[],_0x5f3f2e=0x5){const _0x2a5ea7=_0x10b817;let _0x524e2e=new Set(_0x246fe4[_0x2a5ea7(0x2b7)](_0xcff66d=>!!_0xcff66d)),_0x20973a=[],_0x1be773=[];for(let _0x3f9065 of _0x2cba93['fieldOrder']){let _0xdfb6aa=_0x2cba93[_0x2a5ea7(0x22d)][_0x3f9065];_0xdfb6aa&&_0xdfb6aa['system']!==!0x0&&_0xdfb6aa[_0x2a5ea7(0x4af)]!==_0x1684be[_0x2a5ea7(0x1e3)][_0x2a5ea7(0x3fe)]&&!_0x524e2e[_0x2a5ea7(0x11b)](_0xdfb6aa['id'])&&(_0x3c1219[_0x2a5ea7(0x11b)](_0xdfb6aa[_0x2a5ea7(0x4af)])?_0x20973a:_0x1be773)[_0x2a5ea7(0x558)](_0xdfb6aa['id']);}return[..._0x20973a,..._0x1be773][_0x2a5ea7(0x2a3)](0x0,_0x5f3f2e);}function _0x20dd30(){const _0x444bdb=_0x10b817;return[{'type':_0x1684be[_0x444bdb(0x3b5)][_0x444bdb(0x3fa)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4af0ed=_0x444bdb;throw Error(_0x4af0ed(0x17c));}},{'type':_0x1684be[_0x444bdb(0x3b5)][_0x444bdb(0x444)],'i18nKey':_0x444bdb(0x3ac),'createDefaultConfig':_0x426db4=>{const _0x422e85=_0x444bdb;let _0x1c0b12=_0x50c8b6(_0x426db4);return{'groupFieldId':_0x1c0b12,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x426db4[_0x422e85(0x396)],'fieldIds':_0x3ac716(_0x426db4,[_0x426db4[_0x422e85(0x396)],_0x1c0b12])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x438168=_0x444bdb;throw Error(_0x438168(0x1c2));}},{'type':_0x1684be[_0x444bdb(0x3b5)]['Calendar'],'i18nKey':_0x444bdb(0x2ec),'createDefaultConfig':_0xbf2652=>{const _0x38933b=_0x444bdb;let _0x20b60c=_0x3c4d09(_0xbf2652);return{'startDateFieldId':_0x20b60c,'endDateFieldId':_0x1fc62a(_0xbf2652,_0x20b60c),'titleFieldId':_0xbf2652[_0x38933b(0x396)],'mode':_0x38933b(0x228),'timeslotSize':_0x38933b(0x1a6),'timeZone':_0x38933b(0x168),'displayColor':{'type':_0x38933b(0x554),'color':_0x38933b(0x431)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2769a7=_0x444bdb;throw Error(_0x2769a7(0x24d));}},{'type':_0x1684be[_0x444bdb(0x3b5)]['Gantt'],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x10969b=>{const _0x282052=_0x444bdb;let _0x33590d=_0x3c4d09(_0x10969b);return{'startDateFieldId':_0x33590d,'endDateFieldId':_0x1fc62a(_0x10969b,_0x33590d)??_0x33590d,'titleFieldId':_0x10969b[_0x282052(0x396)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x282052(0x554),'color':_0x282052(0x4d6)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x1684be[_0x444bdb(0x3b5)][_0x444bdb(0x1c8)],'i18nKey':_0x444bdb(0x3ae),'createDefaultConfig':_0x46ae88=>{const _0x2fb530=_0x444bdb;let _0x1edf04=_0x2678c2(_0x46ae88);return{'coverFieldId':null,'cardLayout':_0x2fb530(0x453),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x1edf04,'coverFieldId':null,'fieldIds':_0x3ac716(_0x46ae88,[_0x1edf04,_0x46ae88['primaryFieldId']])},'cardSize':_0x2fb530(0x1a6)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x50c8b6(_0x49d487){const _0x15f96f=_0x10b817;var _0x4f2fa7,_0x2b9fc3,_0x547d57;let _0x3c96e5=_0x49d487[_0x15f96f(0x3c3)][_0x15f96f(0x4fd)](_0x303bbe=>_0x49d487[_0x15f96f(0x22d)][_0x303bbe])[_0x15f96f(0x2b7)](_0x4e5984=>!!_0x4e5984);return((_0x4f2fa7=_0x3c96e5[_0x15f96f(0x3d7)](_0x4cb52b=>_0x4cb52b['type']===_0x1684be[_0x15f96f(0x1e3)][_0x15f96f(0x32c)]||_0x4cb52b[_0x15f96f(0x4af)]===_0x1684be[_0x15f96f(0x1e3)][_0x15f96f(0x220)]||_0x4cb52b[_0x15f96f(0x4af)]===_0x1684be[_0x15f96f(0x1e3)][_0x15f96f(0x22a)]))==null?void 0x0:_0x4f2fa7['id'])??((_0x2b9fc3=_0x3c96e5[_0x15f96f(0x3d7)](_0x4d8515=>_0x4d8515['type']===_0x1684be[_0x15f96f(0x1e3)]['Text']))==null?void 0x0:_0x2b9fc3['id'])??((_0x547d57=_0x3c96e5['find'](_0x31b1e0=>_0x31b1e0['type']===_0x1684be['BaseFieldType']['Date']||_0x31b1e0['type']===_0x1684be['BaseFieldType']['CreatedAt']||_0x31b1e0[_0x15f96f(0x4af)]===_0x1684be[_0x15f96f(0x1e3)][_0x15f96f(0x4ad)]))==null?void 0x0:_0x547d57['id'])??_0x49d487[_0x15f96f(0x396)];}function _0x3c4d09(_0x309172){const _0x1132cd=_0x10b817;var _0x5227cc;return((_0x5227cc=_0x309172['fieldOrder'][_0x1132cd(0x4fd)](_0x3be8b9=>_0x309172['fields'][_0x3be8b9])[_0x1132cd(0x3d7)](_0x10bdce))==null?void 0x0:_0x5227cc['id'])??'';}function _0x1fc62a(_0x1a5d52,_0x521361){const _0x8b1010=_0x10b817;var _0x2798a9;return(_0x2798a9=_0x1a5d52[_0x8b1010(0x3c3)][_0x8b1010(0x4fd)](_0x5c5d08=>_0x1a5d52['fields'][_0x5c5d08])[_0x8b1010(0x3d7)](_0x1df2cf=>_0x10bdce(_0x1df2cf)&&_0x1df2cf['id']!==_0x521361))==null?void 0x0:_0x2798a9['id'];}function _0x10bdce(_0xdadebc){const _0x408410=_0x10b817;return!!_0xdadebc&&_0xdadebc[_0x408410(0x4af)]===_0x1684be[_0x408410(0x1e3)]['Date']&&_0xdadebc[_0x408410(0x3da)]!==!0x0&&_0xdadebc[_0x408410(0x1fb)]!==!0x0;}let _0x3df0dd=(0x0,_0x1684be[_0x10b817(0x30c)])(_0x10b817(0x43e)),_0x50d93c=new Set([_0x1684be[_0x10b817(0x1e3)]['Number'],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x408)],_0x1684be[_0x10b817(0x1e3)]['Progress'],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x55c)],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x382)],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x17f)],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x4ad)],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x48a)]]),_0x576112=0x5265c00,_0x5da9bf=class extends _0x1684be[_0x10b817(0x3d4)]{constructor(_0x2d7896){const _0x599f9e=_0x10b817;super(),this['_fieldRegistry']=_0x2d7896,_0x4876c0(this,_0x599f9e(0x41d),new Map()),_0x4876c0(this,_0x599f9e(0x534),new WeakMap()),_0x4876c0(this,_0x599f9e(0x2fd),new Map()),_0x4876c0(this,'_projectedViewRowsCache',new Map()),_0x4876c0(this,'_projectedGroupsCache',new Map()),_0x4876c0(this,_0x599f9e(0x2b0),new Map()),_0x4876c0(this,'_globalRevision',0x0),_0x4876c0(this,_0x599f9e(0x330),new Map()),_0x4876c0(this,_0x599f9e(0x141),new Map()),_0x4876c0(this,_0x599f9e(0x315),new Map()),_0x4876c0(this,'_viewRevisions',new Map());}[_0x10b817(0x3f6)](_0x8aed72){const _0x435001=_0x10b817;return this[_0x435001(0x41d)]['set'](_0x8aed72[_0x435001(0x4af)],_0x8aed72),(0x0,_0x1684be[_0x435001(0x2c8)])(()=>this[_0x435001(0x41d)][_0x435001(0x22e)](_0x8aed72[_0x435001(0x4af)]));}['getProjection'](_0xd0d149,_0x24b556,_0x4eba38){const _0x188e3f=_0x10b817;var _0x22ef67,_0x48f026,_0x595ffa;return _0x4f283(_0x188e3f(0x262),()=>{const _0x6b4174=_0x188e3f;let _0x5370e4=this[_0x6b4174(0x37b)](_0xd0d149,_0x24b556,_0x4eba38);if(_0x5370e4)return _0x5370e4;let _0x412c29=_0xd0d149[_0x6b4174(0x135)][_0x24b556],_0x172e00=_0x412c29==null?void 0x0:_0x412c29[_0x6b4174(0x1b8)][_0x4eba38];if(!_0x412c29||!_0x172e00)return this[_0x6b4174(0x2d1)](_0xd0d149,_0x24b556,_0x4eba38,{'type':_0x6b4174(0x475),'viewType':(_0x172e00==null?void 0x0:_0x172e00['type'])??_0x1684be[_0x6b4174(0x3b5)][_0x6b4174(0x3fa)],'reason':_0x6b4174(0x1e7)});let _0x37f00a;switch(_0x172e00[_0x6b4174(0x4af)]){case _0x1684be[_0x6b4174(0x3b5)][_0x6b4174(0x3fa)]:_0x37f00a=this['_buildGrid'](_0x412c29,_0x172e00);break;case _0x1684be['BaseViewType'][_0x6b4174(0x454)]:_0x37f00a=this[_0x6b4174(0x500)](_0x412c29,_0x172e00);break;case _0x1684be['BaseViewType'][_0x6b4174(0x444)]:_0x37f00a=this['_buildKanban'](_0x412c29,_0x172e00);break;case _0x1684be[_0x6b4174(0x3b5)][_0x6b4174(0x36a)]:_0x37f00a=this[_0x6b4174(0x3b0)](_0x412c29,_0x172e00);break;case _0x1684be[_0x6b4174(0x3b5)]['Gallery']:_0x37f00a=this[_0x6b4174(0x51c)](_0x412c29,_0x172e00);break;default:_0x37f00a={'type':_0x6b4174(0x475),'viewType':_0x172e00[_0x6b4174(0x4af)],'reason':'missingField'};}return this[_0x6b4174(0x2d1)](_0xd0d149,_0x24b556,_0x4eba38,_0x37f00a);},{'tableId':_0x24b556,'viewId':_0x4eba38,'viewType':(_0x22ef67=_0xd0d149[_0x188e3f(0x135)][_0x24b556])==null||(_0x22ef67=_0x22ef67[_0x188e3f(0x1b8)][_0x4eba38])==null?void 0x0:_0x22ef67['type'],'records':((_0x48f026=_0xd0d149[_0x188e3f(0x135)][_0x24b556])==null||(_0x48f026=_0x48f026[_0x188e3f(0x385)])==null?void 0x0:_0x48f026[_0x188e3f(0x350)])??Object[_0x188e3f(0x176)](((_0x595ffa=_0xd0d149[_0x188e3f(0x135)][_0x24b556])==null?void 0x0:_0x595ffa[_0x188e3f(0x510)])??{})[_0x188e3f(0x350)]});}[_0x10b817(0x21a)](_0x58f367,_0x1762ef,_0x244460){const _0x3707a4=_0x10b817;var _0x264f22,_0x3e1047,_0x4d8f8b;let _0x224ee3=_0x58f367['tables'][_0x1762ef],_0x39333e=_0x224ee3==null?void 0x0:_0x224ee3[_0x3707a4(0x1b8)][_0x244460];if(!_0x224ee3||!_0x39333e)throw Error(_0x3707a4(0x3c1)+_0x244460+'\x22.');let _0x40ee22=_0x4d0c0f=>!!_0x224ee3[_0x3707a4(0x22d)][_0x4d0c0f],_0x5e8f0d={..._0x39333e,'filter':_0x39333e['filter']?{..._0x39333e[_0x3707a4(0x2b7)],'conditions':_0x39333e[_0x3707a4(0x2b7)]['conditions'][_0x3707a4(0x2b7)](_0x264db8=>_0x40ee22(_0x264db8[_0x3707a4(0x294)]))}:_0x39333e[_0x3707a4(0x2b7)],'sort':(_0x264f22=_0x39333e[_0x3707a4(0x409)])==null?void 0x0:_0x264f22[_0x3707a4(0x2b7)](_0x33df0c=>_0x40ee22(_0x33df0c[_0x3707a4(0x294)])),'group':(_0x3e1047=_0x39333e[_0x3707a4(0x1ff)])==null?void 0x0:_0x3e1047[_0x3707a4(0x2b7)](_0x223d1f=>_0x40ee22(_0x223d1f['fieldId'])),'fieldOrder':(_0x4d8f8b=_0x39333e[_0x3707a4(0x3c3)])==null?void 0x0:_0x4d8f8b[_0x3707a4(0x2b7)](_0x40ee22),'fieldSettings':Object[_0x3707a4(0x333)](Object[_0x3707a4(0x172)](_0x39333e['fieldSettings']??{})[_0x3707a4(0x2b7)](([_0x38649a])=>_0x40ee22(_0x38649a)))};if(_0x5e8f0d[_0x3707a4(0x4af)]===_0x3707a4(0x185)){var _0xe50688;let _0x1711a6=_0x5e8f0d[_0x3707a4(0x414)]??{},_0x4b9807=this['_resolveKanbanGroupFieldId'](_0x224ee3,_0x5e8f0d),_0x1eebae=this[_0x3707a4(0x314)](_0x224ee3,(_0xe50688=_0x1711a6[_0x3707a4(0x23b)])==null?void 0x0:_0xe50688['titleFieldId']);_0x5e8f0d['config']={..._0x1711a6,'groupFieldId':_0x4b9807??_0x1711a6['groupFieldId'],'coverFieldId':this[_0x3707a4(0x15c)](_0x224ee3,_0x1711a6),'cardLayout':_0x1711a6[_0x3707a4(0x513)]===_0x3707a4(0x107)?_0x3707a4(0x107):_0x3707a4(0x453),'showFieldNames':_0x1711a6['showFieldNames']!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3707a4(0x172)](_0x1711a6[_0x3707a4(0x55d)]??{})['filter'](([_0x582888])=>_0x40ee22(_0x582888))),'columnSettings':_0x1711a6[_0x3707a4(0x3dd)]??{},'card':{..._0x1711a6[_0x3707a4(0x23b)]??{},'titleFieldId':_0x1eebae,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x224ee3,_0x5e8f0d,_0x4b9807??'',_0x1eebae)}};}return{'repaired':JSON['stringify'](_0x5e8f0d)!==JSON[_0x3707a4(0x551)](_0x39333e),'view':_0x5e8f0d};}[_0x10b817(0x3bd)](){const _0x5b6598=_0x10b817;this[_0x5b6598(0x35f)]++;}[_0x10b817(0x290)](_0x212b51,_0x52d258,_0x2402df){const _0x5f015b=_0x10b817;let _0x55233d=this['_getCellRevision'](_0x212b51)+0x1;this[_0x5f015b(0x141)][_0x5f015b(0x25a)](_0x212b51,_0x55233d);let _0x1c7e72=this[_0x5f015b(0x315)]['get'](_0x212b51)??[];_0x1c7e72[_0x5f015b(0x558)]({'revision':_0x55233d,'recordId':_0x52d258,'fieldId':_0x2402df}),this['_cellInvalidations'][_0x5f015b(0x25a)](_0x212b51,_0x1c7e72);}[_0x10b817(0x31a)](_0x50c06a,_0x1ac6ed){const _0x59e6ad=_0x10b817;this[_0x59e6ad(0x49b)](_0x50c06a);}['invalidateByView'](_0x2d9ecc,_0x390576){const _0x48d4c4=_0x10b817;this['_viewRevisions'][_0x48d4c4(0x25a)](this[_0x48d4c4(0x2f6)](_0x2d9ecc,_0x390576),this['_getViewRevision'](_0x2d9ecc,_0x390576)+0x1);}['_getCachedProjection'](_0x40c221,_0x4412a5,_0x1c3074){const _0x58ef80=_0x10b817;var _0x1a142f;let _0x4bba4c=(_0x1a142f=this[_0x58ef80(0x534)][_0x58ef80(0x353)](_0x40c221))==null?void 0x0:_0x1a142f[_0x58ef80(0x353)](this[_0x58ef80(0x3a4)](_0x4412a5,_0x1c3074));return _0x4bba4c&&_0x4bba4c['globalRevision']===this['_globalRevision']&&_0x4bba4c[_0x58ef80(0x13d)]===this[_0x58ef80(0x1e9)](_0x4412a5)&&_0x4bba4c[_0x58ef80(0x312)]===this[_0x58ef80(0x2fc)](_0x4412a5)&&_0x4bba4c[_0x58ef80(0x48b)]===this[_0x58ef80(0x161)](_0x4412a5,_0x1c3074)?_0x4bba4c[_0x58ef80(0x2d0)]:null;}[_0x10b817(0x2d1)](_0x1e0eb6,_0x2499d4,_0x537144,_0x18fe8f){const _0x1e9e5f=_0x10b817;let _0x56487a=this[_0x1e9e5f(0x534)][_0x1e9e5f(0x353)](_0x1e0eb6);return _0x56487a||(_0x56487a=new Map(),this['_projectionCache'][_0x1e9e5f(0x25a)](_0x1e0eb6,_0x56487a)),_0x56487a['set'](this[_0x1e9e5f(0x3a4)](_0x2499d4,_0x537144),{'projection':_0x18fe8f,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x2499d4),'cellRevision':this[_0x1e9e5f(0x2fc)](_0x2499d4),'viewRevision':this[_0x1e9e5f(0x161)](_0x2499d4,_0x537144)}),_0x18fe8f;}['_bumpTableRevision'](_0x459615){const _0x3a3c38=_0x10b817;this['_tableRevisions'][_0x3a3c38(0x25a)](_0x459615,this['_getTableRevision'](_0x459615)+0x1);}[_0x10b817(0x1e9)](_0x2c0b06){const _0x4e4f7d=_0x10b817;return this[_0x4e4f7d(0x330)]['get'](_0x2c0b06)??0x0;}[_0x10b817(0x2fc)](_0x47a50d){const _0x5782a5=_0x10b817;return this['_cellRevisions'][_0x5782a5(0x353)](_0x47a50d)??0x0;}['_getViewRevision'](_0x1b4978,_0x435df2){const _0x2d9c61=_0x10b817;return this[_0x2d9c61(0x257)][_0x2d9c61(0x353)](this[_0x2d9c61(0x2f6)](_0x1b4978,_0x435df2))??0x0;}[_0x10b817(0x3a4)](_0x13472e,_0x53f012){return _0x13472e+'\x00'+_0x53f012;}[_0x10b817(0x486)](_0x501891,_0x26886c){const _0x5ea106=_0x10b817;return _0x501891+'\x00'+this[_0x5ea106(0x1d6)](_0x26886c);}[_0x10b817(0x38d)](_0x23223e,_0x3576e1,_0x24246d){const _0x47abc4=_0x10b817;return _0x23223e+'\x00'+this[_0x47abc4(0x1d6)](_0x3576e1)+'\x00'+this[_0x47abc4(0x110)](_0x24246d);}[_0x10b817(0x1d6)](_0x2a6667){const _0x11557a=_0x10b817;return _0x2a6667?_0x559b93({'filter':_0x58d1db(_0x2a6667['filter']),'sort':_0x6a4a11(_0x2a6667[_0x11557a(0x409)])}):_0x11557a(0x28e);}[_0x10b817(0x110)](_0xf4ca8){const _0x32a81d=_0x10b817;return _0x559b93(_0xf4ca8[_0x32a81d(0x4fd)](_0x2b3a04=>({'fieldId':_0x2b3a04[_0x32a81d(0x294)],'direction':_0x2b3a04['direction']??null})));}[_0x10b817(0x2f6)](_0x28bc49,_0x1ca387){return _0x28bc49+'\x00'+_0x1ca387;}[_0x10b817(0x549)](_0x762413,_0x1aab4d){const _0x1474ed=_0x10b817;var _0x3332bf;let _0x19ef56=_0xebf24e(_0x762413),_0x5b8f73=this[_0x1474ed(0x23c)](_0x762413,_0x1aab4d),_0x4dc1f8=(_0x3332bf=_0x1aab4d['filter'])!=null&&_0x3332bf[_0x1474ed(0x33f)]['length']?this[_0x1474ed(0x23c)](_0x762413,{..._0x1aab4d,'filter':null}):_0x5b8f73,_0x2b8010=_0xc0302c(this[_0x1474ed(0x184)](_0x762413,_0x19ef56,_0x1aab4d['id'],_0x4dc1f8[_0x1474ed(0x4fd)](_0x3c8df1=>_0x3c8df1[_0x1474ed(0x240)])),_0x4dc1f8,new Set(_0x5b8f73[_0x1474ed(0x4fd)](_0x5e68b9=>_0x5e68b9[_0x1474ed(0x240)])));return{'type':_0x1684be['BaseViewType'][_0x1474ed(0x3fa)],'fields':this[_0x1474ed(0x49a)](_0x762413,_0x1aab4d),'rows':_0x2b8010['rows'],'groups':this[_0x1474ed(0x376)](_0x762413,_0x1aab4d,_0x2b8010[_0x1474ed(0x127)],_0x2b8010['hierarchy']),'hierarchy':_0x2b8010[_0x1474ed(0x25f)],'frozenFieldCount':typeof _0x1aab4d[_0x1474ed(0x414)]['frozenFieldCount']==_0x1474ed(0x188)?_0x1aab4d[_0x1474ed(0x414)][_0x1474ed(0x11c)]:0x0};}[_0x10b817(0x184)](_0xf3a4cf,_0x4cce1e,_0x315267,_0x397bf6){const _0x5605de=_0x10b817;let _0x1f7c40=_0xf3a4cf['id']+'\x00'+_0x4cce1e+'\x00'+_0x315267,_0x57ed55=this[_0x5605de(0x2fc)](_0xf3a4cf['id']),_0x1af3b4=this[_0x5605de(0x2b0)][_0x5605de(0x353)](_0x1f7c40);if(_0x1af3b4&&_0x1af3b4[_0x5605de(0x144)]===this[_0x5605de(0x35f)]&&_0x1af3b4[_0x5605de(0x13d)]===this['_getTableRevision'](_0xf3a4cf['id'])&&_0x1af3b4[_0x5605de(0x556)][_0x5605de(0x350)]===_0x397bf6[_0x5605de(0x350)]&&_0x1af3b4['orderedRecordIds'][_0x5605de(0x31e)]((_0x2c8879,_0x34ddaf)=>_0x2c8879===_0x397bf6[_0x34ddaf])){if(_0x1af3b4[_0x5605de(0x312)]===_0x57ed55&&_0x1af3b4['table']===_0xf3a4cf)return _0x1af3b4[_0x5605de(0x2dd)];if(!this['_cellInvalidationsTouchFields'](_0xf3a4cf['id'],_0x1af3b4[_0x5605de(0x312)],_0x57ed55,new Set([_0x4cce1e])))return this[_0x5605de(0x2b0)][_0x5605de(0x25a)](_0x1f7c40,{..._0x1af3b4,'table':_0xf3a4cf,'cellRevision':_0x57ed55}),_0x1af3b4[_0x5605de(0x2dd)];}let _0x11c1b1=_0x2536c4(_0xf3a4cf,_0x4cce1e,_0x397bf6);return this['_hierarchyIndexCache']['set'](_0x1f7c40,{'table':_0xf3a4cf,'index':_0x11c1b1,'orderedRecordIds':_0x397bf6,'globalRevision':this[_0x5605de(0x35f)],'tableRevision':this['_getTableRevision'](_0xf3a4cf['id']),'cellRevision':_0x57ed55}),_0x11c1b1;}['_projectHierarchyGroups'](_0x3247b1,_0x1564cd,_0x295407,_0x7964c9){const _0xcd2a73=_0x10b817;var _0x4da840;if(!((_0x4da840=_0x1564cd['group'])!=null&&_0x4da840['length']))return[];let _0x51eb0c=new Map(_0x295407[_0xcd2a73(0x4fd)](_0x4790f9=>[_0x4790f9[_0xcd2a73(0x240)],_0x4790f9])),_0x3ec137=_0x7964c9[_0xcd2a73(0x440)]['flatMap'](_0x24bd7f=>{let _0x4dee74=_0x51eb0c['get'](_0x24bd7f);return _0x4dee74?[_0x4dee74]:[];}),_0x333952=this[_0xcd2a73(0x560)](_0x3247b1,_0x1564cd,_0x3ec137),_0x50f5b6=new Map(_0x7964c9[_0xcd2a73(0x556)][_0xcd2a73(0x4fd)]((_0x558102,_0x11b93f)=>[_0x558102,_0x11b93f])),_0x4d168e=_0x219134=>{const _0xec9b16=_0xcd2a73;let _0x2f69b4=_0x7964c9['nodes'][_0x219134],_0x88f5ad=_0x50f5b6[_0xec9b16(0x353)](_0x219134)??-0x1;return _0x88f5ad<0x0||!_0x2f69b4?[]:_0x7964c9[_0xec9b16(0x556)][_0xec9b16(0x2a3)](_0x88f5ad,_0x2f69b4[_0xec9b16(0x44e)]+0x1);},_0x16a87d=_0x5aace5=>{const _0x2db603=_0xcd2a73;var _0x521277,_0x48bd5e;return{..._0x5aace5,'recordIds':(_0x521277=_0x5aace5[_0x2db603(0x12e)])!=null&&_0x521277[_0x2db603(0x350)]?_0x5aace5[_0x2db603(0x4cd)]:_0x5aace5[_0x2db603(0x4cd)][_0x2db603(0x158)](_0x4d168e),'children':(_0x48bd5e=_0x5aace5[_0x2db603(0x12e)])==null?void 0x0:_0x48bd5e['map'](_0x16a87d)};};return _0x333952[_0xcd2a73(0x4fd)](_0x16a87d);}[_0x10b817(0x50d)](_0x585cec,_0x4eeeb3){const _0xc273da=_0x10b817;var _0x1f4a85;let _0x4f32cf=this[_0xc273da(0x205)](_0x585cec,_0x4eeeb3),_0x5a2069=_0x4f32cf?_0x585cec[_0xc273da(0x22d)][_0x4f32cf]:void 0x0;if(!_0x5a2069)return{'type':_0xc273da(0x475),'viewType':_0x1684be[_0xc273da(0x3b5)][_0xc273da(0x444)],'reason':_0xc273da(0x153),'fieldId':_0x4eeeb3[_0xc273da(0x414)][_0xc273da(0x2e1)]};let _0x1e4c92=this[_0xc273da(0x23c)](_0x585cec,_0x4eeeb3),_0x130404=this[_0xc273da(0x49a)](_0x585cec,_0x4eeeb3),_0x2ee5f1=_0x4eeeb3[_0xc273da(0x414)]??{},_0x3c734c=this[_0xc273da(0x314)](_0x585cec,(_0x1f4a85=_0x2ee5f1[_0xc273da(0x23b)])==null?void 0x0:_0x1f4a85[_0xc273da(0x48f)]),_0x2cd0a9=this[_0xc273da(0x3df)](_0x585cec,_0x4eeeb3,_0x5a2069['id'],_0x3c734c),_0x26a44c=new Map();if(_0x142efb(_0x585cec,_0x5a2069['id'])){let _0x423016=this[_0xc273da(0x184)](_0x585cec,_0x5a2069['id'],_0x4eeeb3['id'],_0x1e4c92[_0xc273da(0x4fd)](_0x1616a7=>_0x1616a7[_0xc273da(0x240)])),_0xd118e5=new Map();return _0x1e4c92[_0xc273da(0x4ac)](_0x1cfd88=>{const _0xa12884=_0xc273da;let _0xc55213=_0x423016[_0xa12884(0x4a0)][_0xa12884(0x353)](_0x1cfd88['recordId'])??null,_0x500ea5=_0xc55213??'',_0x5ba926=_0xc55213?_0x585cec[_0xa12884(0x510)][_0xc55213]:void 0x0,_0x577f1c=_0xd118e5['get'](_0x500ea5)??{'key':_0x500ea5,'title':_0x5ba926?String(_0x499e23(_0x585cec,_0x5ba926['id'],_0x585cec[_0xa12884(0x396)])??_0xc55213):this[_0xa12884(0x4d8)](_0x5a2069,_0x500ea5,_0x2ee5f1),'recordIds':[]};_0x577f1c[_0xa12884(0x4cd)][_0xa12884(0x558)](_0x1cfd88[_0xa12884(0x240)]),_0xd118e5[_0xa12884(0x25a)](_0x500ea5,_0x577f1c);}),{'type':_0x1684be[_0xc273da(0x3b5)][_0xc273da(0x444)],'fields':_0x130404,'rows':_0x1e4c92,'groups':[],'groupFieldId':_0x5a2069['id'],'titleFieldId':_0x3c734c,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x585cec,_0x2ee5f1),'cardLayout':_0x2ee5f1[_0xc273da(0x513)]==='compose'?_0xc273da(0x107):_0xc273da(0x453),'showFieldNames':_0x2ee5f1[_0xc273da(0x361)]!==!0x1,'visibleCardFieldIds':_0x2cd0a9,'lanes':['',..._0x423016[_0xc273da(0x556)]]['flatMap'](_0x18a82f=>{const _0x569056=_0xc273da;let _0x313cbb=_0xd118e5[_0x569056(0x353)](_0x18a82f);return _0x313cbb!=null&&_0x313cbb[_0x569056(0x4cd)]['length']?[_0x313cbb]:[];})};}return this[_0xc273da(0x2d5)](_0x5a2069,_0x2ee5f1)[_0xc273da(0x4ac)](_0x40ceff=>_0x26a44c[_0xc273da(0x25a)](_0x40ceff[_0xc273da(0x2af)],{..._0x40ceff,'recordIds':[]})),_0x1e4c92[_0xc273da(0x4ac)](_0xbb0cb6=>{const _0x3d3549=_0xc273da;this[_0x3d3549(0x3b7)](_0x5a2069,_0xbb0cb6[_0x3d3549(0x243)][_0x5a2069['id']])[_0x3d3549(0x4ac)](_0x3cb346=>{const _0x23473d=_0x3d3549;let _0x15f7a3=_0x26a44c[_0x23473d(0x353)](_0x3cb346)??{'key':_0x3cb346,'title':this[_0x23473d(0x4d8)](_0x5a2069,_0x3cb346,_0x2ee5f1),'color':this[_0x23473d(0x19e)](_0x5a2069,_0x3cb346,_0x2ee5f1),'recordIds':[]};_0x15f7a3['recordIds'][_0x23473d(0x558)](_0xbb0cb6[_0x23473d(0x240)]),_0x26a44c[_0x23473d(0x25a)](_0x3cb346,_0x15f7a3);});}),{'type':_0x1684be['BaseViewType']['Kanban'],'fields':_0x130404,'rows':_0x1e4c92,'groups':this[_0xc273da(0x560)](_0x585cec,_0x4eeeb3,_0x1e4c92),'groupFieldId':_0x5a2069['id'],'titleFieldId':_0x3c734c,'coverFieldId':this[_0xc273da(0x15c)](_0x585cec,_0x2ee5f1),'cardLayout':_0x2ee5f1['cardLayout']===_0xc273da(0x107)?'compose':_0xc273da(0x453),'showFieldNames':_0x2ee5f1['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x2cd0a9,'lanes':Array['from'](_0x26a44c[_0xc273da(0x243)]())};}[_0x10b817(0x205)](_0x5c7bef,_0x3ec860){const _0x4bb1df=_0x10b817;var _0x3356b5;let _0x46a6b9=(_0x3356b5=_0x3ec860[_0x4bb1df(0x414)])==null?void 0x0:_0x3356b5[_0x4bb1df(0x2e1)];return _0x46a6b9&&this[_0x4bb1df(0x1cf)](_0x5c7bef,_0x46a6b9)?_0x46a6b9:this['_findKanbanGroupField'](_0x5c7bef,_0x48e552=>this[_0x4bb1df(0x3f4)](_0x48e552));}[_0x10b817(0x15a)](_0x2b3628,_0x114cea){const _0x185421=_0x10b817;for(let _0x2e98aa of _0x2b3628['fieldOrder']){let _0xaa5c2=_0x2b3628[_0x185421(0x22d)][_0x2e98aa];if(_0xaa5c2&&_0x114cea(_0xaa5c2))return _0xaa5c2['id'];}return null;}['_isKanbanGroupField'](_0x33df55,_0x378723){const _0x3d04a4=_0x10b817;let _0x84e884=_0x33df55[_0x3d04a4(0x22d)][_0x378723];return this[_0x3d04a4(0x3f4)](_0x84e884)||_0x142efb(_0x33df55,_0x378723);}['_isAllowedKanbanGroupField'](_0x30bdb5){const _0x3aaec6=_0x10b817;return!!_0x30bdb5&&(_0x30bdb5[_0x3aaec6(0x4af)]===_0x1684be['BaseFieldType'][_0x3aaec6(0x32c)]||_0x30bdb5[_0x3aaec6(0x4af)]===_0x1684be['BaseFieldType'][_0x3aaec6(0x220)]||_0x30bdb5['type']===_0x1684be[_0x3aaec6(0x1e3)][_0x3aaec6(0x55c)]||_0x30bdb5['type']===_0x1684be[_0x3aaec6(0x1e3)][_0x3aaec6(0x3fd)]||_0x30bdb5[_0x3aaec6(0x4af)]===_0x1684be['BaseFieldType'][_0x3aaec6(0x22a)]||_0x30bdb5[_0x3aaec6(0x4af)]===_0x1684be['BaseFieldType'][_0x3aaec6(0x48a)]);}[_0x10b817(0x2f8)](_0x579cb9){const _0x3544ca=_0x10b817;return _0x579cb9[_0x3544ca(0x4af)]===_0x1684be[_0x3544ca(0x1e3)][_0x3544ca(0x32c)]||_0x579cb9[_0x3544ca(0x4af)]===_0x1684be['BaseFieldType'][_0x3544ca(0x220)];}[_0x10b817(0x15c)](_0x24b790,_0x16301){const _0x4424b9=_0x10b817;var _0x416ba6;let _0x155a72=_0x16301[_0x4424b9(0x37a)]??((_0x416ba6=_0x16301[_0x4424b9(0x23b)])==null?void 0x0:_0x416ba6[_0x4424b9(0x37a)])??null;if(!_0x155a72)return null;let _0x48e794=_0x24b790[_0x4424b9(0x22d)][_0x155a72];return _0x48e794&&this['_capabilities'](_0x48e794)[_0x4424b9(0x44f)]?_0x48e794['id']:null;}[_0x10b817(0x3df)](_0x401bac,_0xe882ac,_0x16020e,_0x578491=this[_0x10b817(0x314)](_0x401bac,((()=>{const _0x127635=_0x10b817;var _0x45ea83;return(_0x45ea83=_0xe882ac[_0x127635(0x414)])==null||(_0x45ea83=_0x45ea83[_0x127635(0x23b)])==null?void 0x0:_0x45ea83[_0x127635(0x48f)];})()))){const _0x2e7d99=_0x10b817;var _0x1ef691;let _0x51c3b8=_0xe882ac[_0x2e7d99(0x414)]??{},_0x496bab=(_0x1ef691=_0x51c3b8[_0x2e7d99(0x23b)])!=null&&(_0x1ef691=_0x1ef691['fieldIds'])!=null&&_0x1ef691[_0x2e7d99(0x350)]?_0x51c3b8[_0x2e7d99(0x23b)][_0x2e7d99(0x540)]:_0x3ac716(_0x401bac,[_0x578491,_0x401bac[_0x2e7d99(0x396)],_0x16020e]),_0x495812=_0x51c3b8[_0x2e7d99(0x55d)]??{};return _0x496bab[_0x2e7d99(0x2b7)](_0x21fc52=>{const _0x3384a2=_0x2e7d99;var _0x185040,_0x43424c;let _0x438447=_0x401bac[_0x3384a2(0x22d)][_0x21fc52];return!(!_0x438447||_0x438447[_0x3384a2(0x1fb)]===!0x0||_0x438447[_0x3384a2(0x4af)]===_0x1684be[_0x3384a2(0x1e3)]['RecordId']||_0x438447['id']===_0x16020e||_0x438447['id']===_0x578491||(_0x185040=_0xe882ac[_0x3384a2(0x55d)])!=null&&(_0x185040=_0x185040[_0x21fc52])!=null&&_0x185040['hidden']||(_0x43424c=_0x495812[_0x21fc52])!=null&&_0x43424c[_0x3384a2(0x450)]);})[_0x2e7d99(0x409)]((_0x1aec33,_0x99f501)=>{const _0x288f82=_0x2e7d99;var _0x799b47,_0xbcfd17;return(((_0x799b47=_0x495812[_0x1aec33])==null?void 0x0:_0x799b47[_0x288f82(0x2ff)])??_0x496bab[_0x288f82(0x354)](_0x1aec33))-(((_0xbcfd17=_0x495812[_0x99f501])==null?void 0x0:_0xbcfd17[_0x288f82(0x2ff)])??_0x496bab[_0x288f82(0x354)](_0x99f501));});}['_getKanbanConfiguredLanes'](_0x4a8c7e,_0x32fd01){const _0x276c89=_0x10b817;var _0x35ba3a;let _0x56f2a4=(Array['isArray']((_0x35ba3a=_0x4a8c7e['config'])==null?void 0x0:_0x35ba3a['options'])?_0x4a8c7e[_0x276c89(0x414)]['options']:[])[_0x276c89(0x158)]((_0xc2d9eb,_0x1fc1f1)=>{const _0x2968da=_0x276c89;if(_0xc2d9eb==null)return[];let _0x456813=typeof _0xc2d9eb=='string'?{'id':_0xc2d9eb,'name':_0xc2d9eb,'color':void 0x0}:_0xc2d9eb,_0x529b96=String(_0x456813['id']??_0x456813[_0x2968da(0x4ed)]??_0x2968da(0x53c)+(_0x1fc1f1+0x1));return[{'key':_0x529b96,'title':String(_0x456813['name']??_0x456813['id']??_0x529b96),'color':this['_kanbanLaneColor'](_0x4a8c7e,_0x529b96,_0x32fd01)}];});return Object[_0x276c89(0x172)](_0x32fd01[_0x276c89(0x3dd)]??{})[_0x276c89(0x4ac)](([_0x186000,_0x36f8ba])=>{const _0x17b1cc=_0x276c89;_0x56f2a4[_0x17b1cc(0x4d2)](_0x25b7ec=>_0x25b7ec[_0x17b1cc(0x2af)]===_0x186000)||_0x56f2a4[_0x17b1cc(0x558)]({'key':_0x186000,'title':this[_0x17b1cc(0x2f8)](_0x4a8c7e)?_0x36f8ba[_0x17b1cc(0x343)]??this[_0x17b1cc(0x4d8)](_0x4a8c7e,_0x186000,_0x32fd01):this[_0x17b1cc(0x4d8)](_0x4a8c7e,_0x186000,_0x32fd01),'color':this[_0x17b1cc(0x19e)](_0x4a8c7e,_0x186000,_0x32fd01)});}),_0x56f2a4;}[_0x10b817(0x3b7)](_0x5b555d,_0x2e9e12){const _0x12b276=_0x10b817;let _0x17884e=_0xdcd3d1=>{const _0x3ee171=_0x5a55;var _0x524972;let _0x592fa0=_0xdcd3d1==null?'':String(_0xdcd3d1);return!_0x592fa0||!this[_0x3ee171(0x2f8)](_0x5b555d)?_0x592fa0:((_0x524972=_0x32e62d(_0x5b555d,_0x592fa0))==null?void 0x0:_0x524972['id'])??_0x592fa0;};if(Array[_0x12b276(0x233)](_0x2e9e12)){let _0x33850d=_0x2e9e12[_0x12b276(0x4fd)](_0x17884e)[_0x12b276(0x2b7)](_0xbd1e83=>_0xbd1e83!=='');return _0x33850d[_0x12b276(0x350)]?_0x33850d:[''];}return[_0x17884e(_0x2e9e12)];}['_kanbanLaneTitle'](_0x524fa6,_0xf7732b,_0x581634){const _0x2b7355=_0x10b817;if(!_0xf7732b)return _0x2b7355(0x224);let _0x5c261d=_0x32e62d(_0x524fa6,_0xf7732b);return(_0x5c261d==null?void 0x0:_0x5c261d[_0x2b7355(0x4ed)])??_0xf7732b;}[_0x10b817(0x19e)](_0x17454a,_0x38f134,_0x594427){const _0x284751=_0x10b817;var _0x52242e;if(this['_isColorfulKanbanGroupField'](_0x17454a))return(_0x52242e=_0x32e62d(_0x17454a,_0x38f134))==null?void 0x0:_0x52242e[_0x284751(0x49e)];}['_buildCalendar'](_0x1724b1,_0x5931ca){const _0x540d51=_0x10b817;let _0x5c1a03=this[_0x540d51(0x4a7)](_0x1724b1,_0x5931ca[_0x540d51(0x414)]??{}),_0x432050=_0x1724b1[_0x540d51(0x22d)][_0x5c1a03[_0x540d51(0x3b6)]];if(!_0x432050||_0x432050[_0x540d51(0x4af)]!==_0x1684be['BaseFieldType'][_0x540d51(0x382)]||_0x432050[_0x540d51(0x3da)]===!0x0||_0x432050[_0x540d51(0x1fb)]===!0x0||!this[_0x540d51(0x4cb)](_0x432050)[_0x540d51(0x27c)])return{'type':_0x540d51(0x475),'viewType':_0x1684be[_0x540d51(0x3b5)][_0x540d51(0x36a)],'reason':'invalidDateField','fieldId':_0x5c1a03[_0x540d51(0x3b6)]};let _0x2b2939=_0x5c1a03[_0x540d51(0x137)]?_0x1724b1[_0x540d51(0x22d)][_0x5c1a03[_0x540d51(0x137)]]:void 0x0,_0x1890f8=this[_0x540d51(0x23c)](_0x1724b1,_0x5931ca);return{'type':_0x1684be[_0x540d51(0x3b5)][_0x540d51(0x36a)],'config':_0x5c1a03,'fields':this[_0x540d51(0x49a)](_0x1724b1,_0x5931ca),'rows':_0x1890f8,'groups':this[_0x540d51(0x560)](_0x1724b1,_0x5931ca,_0x1890f8),'events':_0x1890f8[_0x540d51(0x158)](_0x53f4aa=>{const _0x34ed1f=_0x540d51;let _0x1511f8=_0x27385e(_0x53f4aa[_0x34ed1f(0x243)][_0x5c1a03[_0x34ed1f(0x3b6)]]);if(!Number[_0x34ed1f(0x4c9)](_0x1511f8))return[];let _0x245a0c=_0x53f4aa[_0x34ed1f(0x243)][_0x5c1a03[_0x34ed1f(0x3b6)]],_0xd3bc0c=_0x5c1a03[_0x34ed1f(0x137)]==null?void 0x0:_0x53f4aa[_0x34ed1f(0x243)][_0x5c1a03[_0x34ed1f(0x137)]],_0x362154=_0x5c1a03['endDateFieldId']==null?void 0x0:_0x27385e(_0xd3bc0c),_0x47a4e7=Number['isFinite'](_0x362154)?_0x362154:void 0x0;return[{'recordId':_0x53f4aa[_0x34ed1f(0x240)],'title':this[_0x34ed1f(0x121)](_0x1724b1,_0x53f4aa,_0x5c1a03[_0x34ed1f(0x48f)]),'start':_0x1511f8,'end':_0x47a4e7,'color':this[_0x34ed1f(0x1fd)](_0x1724b1,_0x53f4aa,_0x5c1a03),'startMs':_0x1511f8,'endMs':_0x47a4e7,'allDay':this['_isAllDayCalendarEvent'](_0x432050,_0x2b2939,_0x245a0c,_0xd3bc0c),'fieldValues':_0x53f4aa[_0x34ed1f(0x243)]}];})};}[_0x10b817(0x4a7)](_0x2c4a5d,_0x13b376){const _0x301971=_0x10b817;let _0x38e6a9=this[_0x301971(0x40e)](_0x2c4a5d,_0x13b376[_0x301971(0x3b6)]),_0x410de3=_0x13b376['endDateFieldId']&&this[_0x301971(0x213)](_0x2c4a5d,_0x13b376[_0x301971(0x137)])?_0x13b376[_0x301971(0x137)]:this[_0x301971(0x536)](_0x2c4a5d,_0x38e6a9)??void 0x0,_0x46bd98=_0x13b376[_0x301971(0x48f)]?_0x2c4a5d[_0x301971(0x22d)][_0x13b376[_0x301971(0x48f)]]:void 0x0,_0x523084=_0x46bd98&&_0x46bd98['system']!==!0x0&&_0x46bd98[_0x301971(0x4af)]!==_0x1684be['BaseFieldType'][_0x301971(0x3fe)]?_0x13b376['titleFieldId']:_0x2c4a5d['primaryFieldId'],_0x35e56a=_0x13b376[_0x301971(0x140)]===_0x301971(0x2b8)||_0x13b376[_0x301971(0x140)]==='week'?_0x13b376['mode']:_0x301971(0x228),_0x587f96=_0x13b376[_0x301971(0x33c)]==='short'||_0x13b376['timeslotSize']===_0x301971(0x1b4)?_0x13b376[_0x301971(0x33c)]:_0x301971(0x1a6),_0x133d93=typeof _0x13b376[_0x301971(0x151)]=='string'&&_0x13b376['timeZone'][_0x301971(0x328)]()?_0x13b376['timeZone']:_0x301971(0x168),_0x1f886a=this['_normalizeCalendarDisplayColor'](_0x2c4a5d,_0x13b376);return{..._0x13b376,'startDateFieldId':_0x38e6a9,'endDateFieldId':_0x410de3,'titleFieldId':_0x523084,'mode':_0x35e56a,'timeslotSize':_0x587f96,'timeZone':_0x133d93,'displayColor':_0x1f886a,'fieldSettings':Object[_0x301971(0x333)](Object[_0x301971(0x172)](_0x13b376[_0x301971(0x55d)]??{})[_0x301971(0x2b7)](([_0x4c1eee])=>{const _0x1d1e12=_0x301971;let _0x37af0d=_0x2c4a5d[_0x1d1e12(0x22d)][_0x4c1eee];return!!(_0x37af0d&&_0x37af0d[_0x1d1e12(0x1fb)]!==!0x0&&_0x37af0d['type']!==_0x1684be[_0x1d1e12(0x1e3)]['RecordId']);}))};}[_0x10b817(0x40e)](_0x42a09b,_0x19c204){return _0x19c204&&this['_isCalendarDateField'](_0x42a09b,_0x19c204)?_0x19c204:this['_findCalendarDateFieldId'](_0x42a09b)??_0x19c204??'';}['_findCalendarDateFieldId'](_0x596eda,_0xed2eed){const _0x2202dc=_0x10b817;for(let _0x1ecffc of _0x596eda[_0x2202dc(0x3c3)])if(_0x1ecffc!==_0xed2eed&&this[_0x2202dc(0x213)](_0x596eda,_0x1ecffc))return _0x1ecffc;return null;}['_isCalendarDateField'](_0xbfe2d6,_0x440749){const _0x584321=_0x10b817;let _0x28dbbb=_0xbfe2d6['fields'][_0x440749];return!!_0x28dbbb&&_0x28dbbb[_0x584321(0x4af)]===_0x1684be[_0x584321(0x1e3)][_0x584321(0x382)]&&_0x28dbbb[_0x584321(0x3da)]!==!0x0&&_0x28dbbb['system']!==!0x0&&this[_0x584321(0x4cb)](_0x28dbbb)[_0x584321(0x27c)];}[_0x10b817(0x322)](_0x154e5a,_0x1ad5d2){const _0x363b74=_0x10b817;let _0x5e95c9=_0x1ad5d2['displayColor'];if((_0x5e95c9==null?void 0x0:_0x5e95c9['type'])===_0x363b74(0x4bb)){let _0x77be1f=_0x154e5a['fields'][_0x5e95c9[_0x363b74(0x294)]];if(_0x77be1f&&_0x77be1f[_0x363b74(0x4af)]===_0x1684be[_0x363b74(0x1e3)][_0x363b74(0x32c)])return _0x5e95c9;}if((_0x5e95c9==null?void 0x0:_0x5e95c9[_0x363b74(0x4af)])==='custom'&&typeof _0x5e95c9[_0x363b74(0x49e)]==_0x363b74(0x488)&&_0x5e95c9[_0x363b74(0x49e)]['trim']())return{'type':_0x363b74(0x554),'color':_0x5e95c9[_0x363b74(0x49e)]};if(_0x1ad5d2['colorFieldId']){let _0x4c1d77=_0x154e5a[_0x363b74(0x22d)][_0x1ad5d2['colorFieldId']];if(_0x4c1d77&&_0x4c1d77['type']===_0x1684be[_0x363b74(0x1e3)][_0x363b74(0x32c)])return{'type':_0x363b74(0x4bb),'fieldId':_0x1ad5d2['colorFieldId']};}return{'type':_0x363b74(0x554),'color':_0x363b74(0x431)};}[_0x10b817(0x1fd)](_0x147908,_0x20efdc,_0x4f22dc){const _0x2d716c=_0x10b817;let _0x42e020=_0x4f22dc['displayColor'];if((_0x42e020==null?void 0x0:_0x42e020[_0x2d716c(0x4af)])===_0x2d716c(0x4bb)){var _0x24b44f;let _0x40c4ea=_0x147908[_0x2d716c(0x22d)][_0x42e020[_0x2d716c(0x294)]];if(!_0x40c4ea)return;let _0x6cd92a=_0x20efdc['values'][_0x42e020[_0x2d716c(0x294)]],_0x5e723f=Array[_0x2d716c(0x233)](_0x6cd92a)?_0x6cd92a[0x0]:_0x6cd92a;return _0x5e723f==null||(_0x24b44f=_0x32e62d(_0x40c4ea,String(_0x5e723f)))==null?void 0x0:_0x24b44f[_0x2d716c(0x49e)];}if((_0x42e020==null?void 0x0:_0x42e020[_0x2d716c(0x4af)])==='custom')return _0x42e020[_0x2d716c(0x49e)];}[_0x10b817(0x4a5)](_0x391cb7,_0x327b70,_0x37e9b3,_0x230738){const _0x3dda39=_0x10b817;var _0x27ccdf,_0x586643;let _0x55951c=((_0x27ccdf=_0x391cb7[_0x3dda39(0x414)])==null?void 0x0:_0x27ccdf[_0x3dda39(0x187)])===!0x0,_0x289214=(_0x327b70==null||(_0x586643=_0x327b70[_0x3dda39(0x414)])==null?void 0x0:_0x586643['includeTime'])===!0x0;return!_0x55951c&&!_0x289214;}['_isAllDayGanttDateRange'](_0x2162c5,_0x55188f){const _0x21570e=_0x10b817;var _0x46c96d,_0x44f084;let _0x42bd3e=((_0x46c96d=_0x2162c5[_0x21570e(0x414)])==null?void 0x0:_0x46c96d[_0x21570e(0x187)])===!0x0,_0x5a3e3f=((_0x44f084=_0x55188f[_0x21570e(0x414)])==null?void 0x0:_0x44f084[_0x21570e(0x187)])===!0x0;return!_0x42bd3e&&!_0x5a3e3f;}[_0x10b817(0x500)](_0x4381fa,_0xa6e049){const _0x27b9dc=_0x10b817;let _0x18b8ba=this['_normalizeGanttConfig'](_0x4381fa,_0xa6e049[_0x27b9dc(0x414)]),_0xd7a7a5=_0x4381fa[_0x27b9dc(0x22d)][_0x18b8ba[_0x27b9dc(0x3b6)]];if(!_0xd7a7a5||_0xd7a7a5[_0x27b9dc(0x4af)]!==_0x1684be[_0x27b9dc(0x1e3)][_0x27b9dc(0x382)]||_0xd7a7a5[_0x27b9dc(0x3da)]===!0x0||_0xd7a7a5['system']===!0x0||!this[_0x27b9dc(0x4cb)](_0xd7a7a5)[_0x27b9dc(0x2f1)])return{'type':'invalid','viewType':_0x1684be['BaseViewType'][_0x27b9dc(0x454)],'reason':_0x27b9dc(0x3e0),'fieldId':_0x18b8ba[_0x27b9dc(0x3b6)]};let _0x56f9c0=_0x4381fa[_0x27b9dc(0x22d)][_0x18b8ba[_0x27b9dc(0x137)]];if(!_0x56f9c0||_0x56f9c0['type']!==_0x1684be['BaseFieldType'][_0x27b9dc(0x382)]||_0x56f9c0[_0x27b9dc(0x3da)]===!0x0||_0x56f9c0[_0x27b9dc(0x1fb)]===!0x0||!this[_0x27b9dc(0x4cb)](_0x56f9c0)[_0x27b9dc(0x413)])return{'type':_0x27b9dc(0x475),'viewType':_0x1684be[_0x27b9dc(0x3b5)][_0x27b9dc(0x454)],'reason':'invalidGanttEndField','fieldId':_0x18b8ba[_0x27b9dc(0x137)]};let _0x292c60=this['_isAllDayGanttDateRange'](_0xd7a7a5,_0x56f9c0),_0x326b83=this[_0x27b9dc(0x23c)](_0x4381fa,_0xa6e049),_0x59b18f=_0x326b83[_0x27b9dc(0x158)](_0x26438e=>{const _0x5ea3c7=_0x27b9dc;let _0x3cae7a=_0x27385e(_0x26438e['values'][_0x18b8ba['startDateFieldId']]),_0x595ed6=_0x27385e(_0x26438e[_0x5ea3c7(0x243)][_0x18b8ba[_0x5ea3c7(0x137)]]);if(!Number['isFinite'](_0x3cae7a)||!Number[_0x5ea3c7(0x4c9)](_0x595ed6))return[];let _0x542d40=Math[_0x5ea3c7(0x298)](_0x3cae7a,_0x595ed6),_0x59786f=Math[_0x5ea3c7(0x35b)](_0x3cae7a,_0x595ed6),_0x16fc54=_0x18b8ba[_0x5ea3c7(0x124)]==null?void 0x0:Number(_0x26438e[_0x5ea3c7(0x243)][_0x18b8ba['progressFieldId']]);return[{'recordId':_0x26438e[_0x5ea3c7(0x240)],'title':this['_title'](_0x4381fa,_0x26438e,_0x18b8ba[_0x5ea3c7(0x48f)]),'start':_0x542d40,'end':_0x59786f,'color':this[_0x5ea3c7(0x53b)](_0x4381fa,_0x26438e,_0x18b8ba),'progress':Number[_0x5ea3c7(0x4c9)](_0x16fc54)?_0x16fc54:void 0x0,'workingDayCount':_0x18b8ba[_0x5ea3c7(0x267)]?_0x157322(_0x542d40,_0x59786f,_0x18b8ba[_0x5ea3c7(0x418)]):void 0x0,'dependencyRecordIds':this[_0x5ea3c7(0x272)](_0x26438e['values'][_0x18b8ba[_0x5ea3c7(0x466)]??''])}];}),_0x440817=_0x59b18f[_0x27b9dc(0x350)]?_0xe0fba0(Math[_0x27b9dc(0x298)](..._0x59b18f['map'](_0x413f38=>_0x413f38[_0x27b9dc(0x41f)]))-0x5a*_0x576112):_0xe0fba0(Date[_0x27b9dc(0x4c4)]()-0x5a*_0x576112),_0x19daef=_0x59b18f[_0x27b9dc(0x350)]?_0xe0fba0(Math['max'](..._0x59b18f[_0x27b9dc(0x4fd)](_0x54452b=>_0x54452b[_0x27b9dc(0x23f)]))+0x5b*_0x576112):_0xe0fba0(Date[_0x27b9dc(0x4c4)]()+0x5b*_0x576112),_0x3286d4=_0x3f9a14(_0x18b8ba[_0x27b9dc(0x36d)],_0x440817,_0x19daef,_0x18b8ba[_0x27b9dc(0x267)]?_0x18b8ba[_0x27b9dc(0x418)]:void 0x0);return{'type':_0x1684be[_0x27b9dc(0x3b5)]['Gantt'],'fields':this['_projectFields'](_0x4381fa,{..._0xa6e049,'config':_0x18b8ba}),'rows':_0x326b83,'groups':this['_projectGroups'](_0x4381fa,_0xa6e049,_0x326b83),'config':_0x18b8ba,'dateRangeAllDay':_0x292c60,'timeline':{'scale':_0x18b8ba['scale'],'start':_0x440817,'end':_0x19daef,'unitWidth':_0x3286d4[_0x27b9dc(0x428)],'majorHeaders':_0x3286d4[_0x27b9dc(0x420)],'columns':_0x3286d4[_0x27b9dc(0x285)]},'bars':_0x59b18f};}[_0x10b817(0x559)](_0xad9bf3,_0x159833){const _0x421d39=_0x10b817;let _0x43ae86=this['_resolveGanttDateFieldId'](_0xad9bf3,_0x159833['startDateFieldId'],'start'),_0x588cca=this[_0x421d39(0x368)](_0xad9bf3,_0x159833['endDateFieldId'],_0x421d39(0x23f))||_0x43ae86,_0x1051c5=_0x159833['titleFieldId']?_0xad9bf3[_0x421d39(0x22d)][_0x159833[_0x421d39(0x48f)]]:void 0x0,_0x56c8e5=_0x1051c5&&_0x1051c5['system']!==!0x0&&_0x1051c5[_0x421d39(0x4af)]!==_0x1684be[_0x421d39(0x1e3)][_0x421d39(0x3fe)]?_0x159833[_0x421d39(0x48f)]:_0xad9bf3[_0x421d39(0x396)],_0x365c24=_0x159833[_0x421d39(0x36d)]===_0x421d39(0x512)||_0x159833[_0x421d39(0x36d)]===_0x421d39(0x1b2)||_0x159833[_0x421d39(0x36d)]===_0x421d39(0x356)?_0x159833[_0x421d39(0x36d)]:_0x421d39(0x228),_0x5e67a7=_0x5b77e5(_0x159833['workingDays']);return{..._0x159833,'startDateFieldId':_0x43ae86,'endDateFieldId':_0x588cca,'titleFieldId':_0x56c8e5,'scale':_0x365c24,'leftPaneWidth':typeof _0x159833[_0x421d39(0x2a7)]=='number'?_0x159833[_0x421d39(0x2a7)]:void 0x0,'leftPaneCollapsed':_0x159833['leftPaneCollapsed']===!0x0,'showTodayLine':_0x159833['showTodayLine']!==!0x1,'displayColor':this[_0x421d39(0x1d3)](_0xad9bf3,_0x159833),'fieldSettings':Object['fromEntries'](Object[_0x421d39(0x172)](_0x159833['fieldSettings']??{})[_0x421d39(0x2b7)](([_0xe36960])=>{const _0x5a1df5=_0x421d39;let _0x3b37b1=_0xad9bf3['fields'][_0xe36960];return!!(_0x3b37b1&&_0x3b37b1[_0x5a1df5(0x1fb)]!==!0x0&&_0x3b37b1[_0x5a1df5(0x4af)]!==_0x1684be[_0x5a1df5(0x1e3)][_0x5a1df5(0x3fe)]);})),'workingDaysOnly':_0x159833[_0x421d39(0x267)]===!0x0,'workingDays':_0x5e67a7};}[_0x10b817(0x368)](_0x5daaba,_0x5d2578,_0x1ea8e4){const _0x1e5531=_0x10b817;if(_0x5d2578&&this['_isGanttDateField'](_0x5daaba,_0x5d2578,_0x1ea8e4)||_0x5d2578)return _0x5d2578;for(let _0x53cb85 of _0x5daaba[_0x1e5531(0x3c3)])if(this[_0x1e5531(0x3d3)](_0x5daaba,_0x53cb85,_0x1ea8e4))return _0x53cb85;return _0x5d2578??'';}[_0x10b817(0x3d3)](_0xbaa0f,_0x2236e7,_0x24b36c){const _0x131b96=_0x10b817;let _0xd8ecbb=_0xbaa0f[_0x131b96(0x22d)][_0x2236e7];if(!_0xd8ecbb||_0xd8ecbb[_0x131b96(0x4af)]!==_0x1684be[_0x131b96(0x1e3)][_0x131b96(0x382)]||_0xd8ecbb[_0x131b96(0x3da)]===!0x0||_0xd8ecbb[_0x131b96(0x1fb)]===!0x0)return!0x1;let _0xfbd894=this[_0x131b96(0x4cb)](_0xd8ecbb);return _0x24b36c===_0x131b96(0x41f)?_0xfbd894['usableAsGanttStart']:_0xfbd894[_0x131b96(0x413)];}[_0x10b817(0x1d3)](_0x556f0e,_0xea61e){const _0x1581fb=_0x10b817;let _0x4f177a=_0xea61e[_0x1581fb(0x39e)];if((_0x4f177a==null?void 0x0:_0x4f177a['type'])==='selectField'){let _0x2df309=_0x556f0e['fields'][_0x4f177a['fieldId']];if(_0x2df309&&_0x2df309[_0x1581fb(0x4af)]===_0x1684be[_0x1581fb(0x1e3)]['SingleSelect'])return _0x4f177a;}return(_0x4f177a==null?void 0x0:_0x4f177a[_0x1581fb(0x4af)])===_0x1581fb(0x395)&&Array[_0x1581fb(0x233)](_0x4f177a[_0x1581fb(0x2c0)])?{'type':'conditional','rules':_0x4f177a['rules'][_0x1581fb(0x2b7)](_0x32715e=>!!_0x556f0e['fields'][_0x32715e[_0x1581fb(0x294)]])}:(_0x4f177a==null?void 0x0:_0x4f177a[_0x1581fb(0x4af)])===_0x1581fb(0x554)&&typeof _0x4f177a['color']==_0x1581fb(0x488)&&_0x4f177a[_0x1581fb(0x49e)][_0x1581fb(0x328)]()?{'type':_0x1581fb(0x554),'color':_0x4f177a[_0x1581fb(0x49e)]}:{'type':'custom','color':'#14b8a6'};}[_0x10b817(0x53b)](_0x4794ad,_0x47d5e0,_0x5cb790){const _0x33ee80=_0x10b817;let _0x26dfb7=_0x5cb790[_0x33ee80(0x39e)];if((_0x26dfb7==null?void 0x0:_0x26dfb7[_0x33ee80(0x4af)])===_0x33ee80(0x395)){let _0x579d71=_0x26dfb7[_0x33ee80(0x2c0)][_0x33ee80(0x3d7)](_0x272f09=>this[_0x33ee80(0x22f)](_0x4794ad,_0x47d5e0,_0x272f09));if(_0x579d71)return _0x579d71[_0x33ee80(0x49e)];}if((_0x26dfb7==null?void 0x0:_0x26dfb7[_0x33ee80(0x4af)])===_0x33ee80(0x4bb)){let _0x2a9f84=_0x4794ad['fields'][_0x26dfb7[_0x33ee80(0x294)]];if(_0x2a9f84){var _0x6ddd5a;let _0x3a7b85=_0x47d5e0[_0x33ee80(0x243)][_0x26dfb7[_0x33ee80(0x294)]],_0x1fdfbb=Array[_0x33ee80(0x233)](_0x3a7b85)?_0x3a7b85[0x0]:_0x3a7b85,_0x557153=_0x1fdfbb==null||(_0x6ddd5a=_0x32e62d(_0x2a9f84,String(_0x1fdfbb)))==null?void 0x0:_0x6ddd5a[_0x33ee80(0x49e)];if(_0x557153)return _0x557153;}}return(_0x26dfb7==null?void 0x0:_0x26dfb7[_0x33ee80(0x4af)])===_0x33ee80(0x554)?_0x26dfb7[_0x33ee80(0x49e)]:_0x33ee80(0x4d6);}['_matchesGanttColorRule'](_0x52d496,_0x2de99f,_0x2db60b){const _0x5b407d=_0x10b817;let _0x32ffde=_0x52d496[_0x5b407d(0x22d)][_0x2db60b['fieldId']];return _0x32ffde?_0x4b18ac(_0x2de99f[_0x5b407d(0x243)][_0x32ffde['id']],_0x2db60b[_0x5b407d(0x527)],_0x2db60b['operand'],_0x32ffde,{'dateMode':_0x2db60b[_0x5b407d(0x206)]}):!0x1;}[_0x10b817(0x51c)](_0x39a3f2,_0x40d508){const _0x4e67d6=_0x10b817;let _0x4f5c1c=this[_0x4e67d6(0x23c)](_0x39a3f2,_0x40d508),_0x3a2b7f=this[_0x4e67d6(0x13e)](_0x39a3f2,_0x40d508['config']??{}),_0x323453=this[_0x4e67d6(0x49a)](_0x39a3f2,_0x40d508);return{'type':_0x1684be[_0x4e67d6(0x3b5)]['Gallery'],'fields':_0x323453,'rows':_0x4f5c1c,'groups':this[_0x4e67d6(0x560)](_0x39a3f2,_0x40d508,_0x4f5c1c),'titleFieldId':_0x3a2b7f[_0x4e67d6(0x23b)]['titleFieldId'],'coverFieldId':_0x3a2b7f['coverFieldId'],'cardLayout':_0x3a2b7f[_0x4e67d6(0x513)]??_0x4e67d6(0x453),'showFieldNames':_0x3a2b7f['showFieldNames']!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x39a3f2,_0x40d508,_0x3a2b7f),'cardSize':_0x3a2b7f[_0x4e67d6(0x419)]??_0x4e67d6(0x1a6),'cards':_0x4f5c1c[_0x4e67d6(0x4fd)](_0x38661c=>({'recordId':_0x38661c[_0x4e67d6(0x240)],'title':this['_title'](_0x39a3f2,_0x38661c,_0x3a2b7f[_0x4e67d6(0x23b)]['titleFieldId']),'values':_0x38661c[_0x4e67d6(0x243)]}))};}[_0x10b817(0x13e)](_0x5ac406,_0x50baec){const _0x4c9bb1=_0x10b817;let _0x222ed9=_0x50baec[_0x4c9bb1(0x23b)]??{'fieldIds':[]},_0x3f791a=this[_0x4c9bb1(0x314)](_0x5ac406,_0x222ed9['titleFieldId']),_0x11dd67=this[_0x4c9bb1(0x166)](_0x5ac406,_0x50baec),_0x28f4a3=_0x50baec[_0x4c9bb1(0x419)]==='small'||_0x50baec[_0x4c9bb1(0x419)]===_0x4c9bb1(0x28d)?_0x50baec[_0x4c9bb1(0x419)]:_0x4c9bb1(0x1a6);return{..._0x50baec,'coverFieldId':_0x11dd67,'cardLayout':_0x50baec[_0x4c9bb1(0x513)]===_0x4c9bb1(0x107)?_0x4c9bb1(0x107):_0x4c9bb1(0x453),'showFieldNames':_0x50baec['showFieldNames']!==!0x1,'fieldSettings':Object[_0x4c9bb1(0x333)](Object[_0x4c9bb1(0x172)](_0x50baec[_0x4c9bb1(0x55d)]??{})[_0x4c9bb1(0x2b7)](([_0x54e535])=>{const _0x34ad63=_0x4c9bb1;let _0x377bc7=_0x5ac406[_0x34ad63(0x22d)][_0x54e535];return!!(_0x377bc7&&_0x377bc7['system']!==!0x0&&_0x377bc7['type']!==_0x1684be[_0x34ad63(0x1e3)][_0x34ad63(0x3fe)]);})),'card':{..._0x222ed9,'titleFieldId':_0x3f791a,'coverFieldId':_0x11dd67,'fieldIds':Array['isArray'](_0x222ed9[_0x4c9bb1(0x540)])?_0x222ed9[_0x4c9bb1(0x540)]:[]},'cardSize':_0x28f4a3};}['_resolveCardTitleFieldId'](_0x485bea,_0x492b88){const _0xd5132c=_0x10b817;let _0x2a76e7=_0x492b88?_0x485bea[_0xd5132c(0x22d)][_0x492b88]:void 0x0;return _0x2a76e7&&_0x2a76e7['system']!==!0x0&&_0x2a76e7['type']!==_0x1684be[_0xd5132c(0x1e3)][_0xd5132c(0x3fe)]?_0x2a76e7['id']:_0x2678c2(_0x485bea);}['_resolveGalleryCoverFieldId'](_0x5bbf4a,_0x1d54b8){const _0x1990e4=_0x10b817;var _0x1084d7;let _0x296ed9=_0x1d54b8[_0x1990e4(0x37a)]??((_0x1084d7=_0x1d54b8['card'])==null?void 0x0:_0x1084d7['coverFieldId'])??null;if(!_0x296ed9)return null;let _0xdb64d5=_0x5bbf4a[_0x1990e4(0x22d)][_0x296ed9];return _0xdb64d5&&this[_0x1990e4(0x4cb)](_0xdb64d5)['usableAsCardCover']?_0xdb64d5['id']:null;}['_resolveGalleryCardFieldIds'](_0x464768,_0x5c631f,_0x143e35){const _0x3b616f=_0x10b817;var _0x449f90,_0x2a8813,_0x5ebe38;let _0x1b5d0a=_0x143e35[_0x3b616f(0x55d)]??{},_0x4aae49=((_0x449f90=_0x143e35[_0x3b616f(0x23b)])==null?void 0x0:_0x449f90[_0x3b616f(0x48f)])??_0x2678c2(_0x464768),_0x2ce570=_0x143e35['coverFieldId']??((_0x2a8813=_0x143e35[_0x3b616f(0x23b)])==null?void 0x0:_0x2a8813[_0x3b616f(0x37a)])??null,_0x2f4971=(_0x5ebe38=_0x143e35[_0x3b616f(0x23b)])!=null&&(_0x5ebe38=_0x5ebe38['fieldIds'])!=null&&_0x5ebe38[_0x3b616f(0x350)]?_0x143e35[_0x3b616f(0x23b)]['fieldIds']:_0x3ac716(_0x464768,[_0x4aae49,_0x2ce570,_0x464768[_0x3b616f(0x396)]]);return _0x2f4971[_0x3b616f(0x2b7)](_0x12bcaf=>{const _0x31eeb3=_0x3b616f;var _0x425520,_0x4ed9d9;let _0x41624a=_0x464768[_0x31eeb3(0x22d)][_0x12bcaf];return!(!_0x41624a||_0x41624a[_0x31eeb3(0x1fb)]===!0x0||_0x41624a['type']===_0x1684be[_0x31eeb3(0x1e3)]['RecordId']||_0x41624a['id']===_0x4aae49||_0x41624a['id']===_0x2ce570||(_0x425520=_0x5c631f[_0x31eeb3(0x55d)])!=null&&(_0x425520=_0x425520[_0x12bcaf])!=null&&_0x425520['hidden']||(_0x4ed9d9=_0x1b5d0a[_0x12bcaf])!=null&&_0x4ed9d9[_0x31eeb3(0x450)]);})['sort']((_0x3000f0,_0x32bf94)=>{const _0x2f1122=_0x3b616f;var _0x32f737,_0x4f9994;return(((_0x32f737=_0x1b5d0a[_0x3000f0])==null?void 0x0:_0x32f737['order'])??_0x2f4971[_0x2f1122(0x354)](_0x3000f0))-(((_0x4f9994=_0x1b5d0a[_0x32bf94])==null?void 0x0:_0x4f9994[_0x2f1122(0x2ff)])??_0x2f4971[_0x2f1122(0x354)](_0x32bf94));});}['_projectFields'](_0x5e5333,_0x53327e){const _0x480d47=_0x10b817;var _0xc356e2;return((_0xc356e2=_0x53327e[_0x480d47(0x3c3)])!=null&&_0xc356e2[_0x480d47(0x350)]?_0x53327e['fieldOrder']:_0x5e5333[_0x480d47(0x3c3)])[_0x480d47(0x158)](_0x5d3ff5=>{const _0x484b1f=_0x480d47;var _0x1bcda0;let _0x3ceeb7=_0x5e5333[_0x484b1f(0x22d)][_0x5d3ff5],_0x5af710=((_0x1bcda0=_0x53327e['fieldSettings'])==null?void 0x0:_0x1bcda0[_0x5d3ff5])??{};return!_0x3ceeb7||_0x3ceeb7[_0x484b1f(0x1fb)]===!0x0||_0x3ceeb7[_0x484b1f(0x4af)]===_0x1684be[_0x484b1f(0x1e3)][_0x484b1f(0x3fe)]||_0x5af710[_0x484b1f(0x450)]?[]:[{'id':_0x3ceeb7['id'],'name':_0x3ceeb7[_0x484b1f(0x4ed)],'description':_0x3ceeb7[_0x484b1f(0x2c7)],'type':_0x3ceeb7[_0x484b1f(0x4af)],'config':_0x3ceeb7['config'],'width':_0x5af710[_0x484b1f(0x1ee)],'setting':_0x5af710}];});}[_0x10b817(0x23c)](_0x492fdb,_0x417587){const _0x1d2775=_0x10b817;var _0x34c966;return _0x4f283(_0x1d2775(0x208),()=>{const _0x48e212=_0x1d2775;var _0x12dea4,_0x3e71f2;let _0x1a4fb0=this[_0x48e212(0x477)](_0x492fdb),_0x5f6ee2=this['_viewRowsCacheKey'](_0x492fdb['id'],_0x417587),_0x5ee2c4=this[_0x48e212(0x2fc)](_0x492fdb['id']),_0x4f2d1e=this['_projectedViewRowsCache'][_0x48e212(0x353)](_0x5f6ee2);if(_0x4f2d1e&&_0x4f2d1e[_0x48e212(0x144)]===this[_0x48e212(0x35f)]&&_0x4f2d1e[_0x48e212(0x13d)]===this[_0x48e212(0x1e9)](_0x492fdb['id'])){if(_0x4f2d1e[_0x48e212(0x312)]===_0x5ee2c4&&_0x4f2d1e['baseRows']===_0x1a4fb0)return _0x4f2d1e[_0x48e212(0x127)];if(_0x4f2d1e[_0x48e212(0x312)]!==_0x5ee2c4&&!this[_0x48e212(0x154)](_0x492fdb['id'],_0x4f2d1e[_0x48e212(0x312)],_0x5ee2c4,this[_0x48e212(0x211)](_0x417587))){let _0x14e70f=_0x4f2d1e['rows']===_0x4f2d1e[_0x48e212(0x150)]?_0x1a4fb0:this[_0x48e212(0x1db)](_0x4f2d1e[_0x48e212(0x127)],_0x1a4fb0);if(_0x14e70f)return this['_projectedViewRowsCache'][_0x48e212(0x25a)](_0x5f6ee2,{..._0x4f2d1e,'rows':_0x14e70f,'baseRows':_0x1a4fb0,'cellRevision':_0x5ee2c4}),_0x14e70f;}}let _0x424034=_0x4f283(_0x48e212(0x311),()=>this[_0x48e212(0x460)](_0x492fdb,_0x417587,this['_filterRows'](_0x492fdb,_0x417587,_0x1a4fb0)),{'tableId':_0x492fdb['id'],'viewId':_0x417587==null?void 0x0:_0x417587['id'],'viewType':_0x417587==null?void 0x0:_0x417587['type'],'rows':_0x1a4fb0[_0x48e212(0x350)],'filters':(_0x417587==null||(_0x12dea4=_0x417587[_0x48e212(0x2b7)])==null?void 0x0:_0x12dea4[_0x48e212(0x33f)][_0x48e212(0x350)])??0x0,'sorts':(_0x417587==null||(_0x3e71f2=_0x417587['sort'])==null?void 0x0:_0x3e71f2[_0x48e212(0x350)])??0x0});return this[_0x48e212(0x2e8)]['set'](_0x5f6ee2,{'table':_0x492fdb,'rows':_0x424034,'baseRows':_0x1a4fb0,'globalRevision':this[_0x48e212(0x35f)],'tableRevision':this['_getTableRevision'](_0x492fdb['id']),'cellRevision':_0x5ee2c4}),_0x424034;},{'tableId':_0x492fdb['id'],'viewId':_0x417587==null?void 0x0:_0x417587['id'],'viewType':_0x417587==null?void 0x0:_0x417587[_0x1d2775(0x4af)],'records':((_0x34c966=_0x492fdb[_0x1d2775(0x385)])==null?void 0x0:_0x34c966[_0x1d2775(0x350)])??Object[_0x1d2775(0x176)](_0x492fdb[_0x1d2775(0x510)]??{})['length']});}[_0x10b817(0x477)](_0x33ac27){const _0x49f918=_0x10b817;var _0x173234;return _0x4f283(_0x49f918(0x132),()=>{const _0x5c09e7=_0x49f918;var _0x3061dd;let _0x377ad9=this[_0x5c09e7(0x2fc)](_0x33ac27['id']),_0x358379=this[_0x5c09e7(0x2fd)][_0x5c09e7(0x353)](_0x33ac27['id']);if(_0x358379&&_0x358379[_0x5c09e7(0x144)]===this[_0x5c09e7(0x35f)]&&_0x358379[_0x5c09e7(0x13d)]===this[_0x5c09e7(0x1e9)](_0x33ac27['id'])){if(_0x358379[_0x5c09e7(0x312)]===_0x377ad9&&_0x1c40b4(_0x358379[_0x5c09e7(0x3be)],_0x33ac27))return _0x358379['table']=_0x33ac27,_0x358379[_0x5c09e7(0x127)];let _0xb9a19a=this[_0x5c09e7(0x14a)](_0x33ac27,_0x358379,_0x377ad9);if(_0xb9a19a)return _0xb9a19a;}_0x1dee70(_0x33ac27)||_0xd74f23(_0x33ac27);let _0x588bdd=(_0x3061dd=_0x33ac27[_0x5c09e7(0x385)])!=null&&_0x3061dd[_0x5c09e7(0x350)]?_0x33ac27[_0x5c09e7(0x385)]:_0x5ec1a8(_0x33ac27[_0x5c09e7(0x510)]),_0x54a9d4=_0x4f283(_0x5c09e7(0x316),()=>{const _0x3a19ed=_0x5c09e7;let _0x35b755=[];for(let _0x2aa068 of _0x588bdd){let _0x483359=_0x33ac27[_0x3a19ed(0x510)][_0x2aa068];if(!_0x483359)continue;let _0xcfcf94={};for(let _0x10b7ab of _0x33ac27['fieldOrder'])_0xcfcf94[_0x10b7ab]=_0x499e23(_0x33ac27,_0x483359['id'],_0x10b7ab);_0x35b755[_0x3a19ed(0x558)]({'recordId':_0x483359['id'],'values':_0xcfcf94});}return _0x35b755;},{'tableId':_0x33ac27['id'],'records':_0x588bdd[_0x5c09e7(0x350)],'fields':_0x33ac27[_0x5c09e7(0x3c3)][_0x5c09e7(0x350)]});return this[_0x5c09e7(0x2fd)]['set'](_0x33ac27['id'],{'table':_0x33ac27,'rows':_0x54a9d4,'rowIndexById':_0x5dc9af(_0x54a9d4),'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x33ac27['id']),'cellRevision':_0x377ad9}),_0x54a9d4;},{'tableId':_0x33ac27['id'],'records':((_0x173234=_0x33ac27['recordOrder'])==null?void 0x0:_0x173234[_0x49f918(0x350)])??Object['keys'](_0x33ac27['records']??{})[_0x49f918(0x350)],'fields':_0x33ac27[_0x49f918(0x3c3)][_0x49f918(0x350)]});}[_0x10b817(0x14a)](_0x47ef8d,_0x414618,_0x269538){const _0x2539ef=_0x10b817;let _0x3ff219=(this[_0x2539ef(0x315)][_0x2539ef(0x353)](_0x47ef8d['id'])??[])[_0x2539ef(0x2b7)](_0x18327a=>_0x18327a['revision']>_0x414618['cellRevision']&&_0x18327a[_0x2539ef(0x377)]<=_0x269538);if(!_0x3ff219[_0x2539ef(0x350)])return _0x414618[_0x2539ef(0x3be)]===_0x47ef8d?_0x414618[_0x2539ef(0x127)]:null;let _0x5d8d5e=_0x414618[_0x2539ef(0x127)],_0x95e44d=new Map();for(let _0x32ae05 of _0x3ff219){let _0x1a5f1a=_0x95e44d[_0x2539ef(0x353)](_0x32ae05[_0x2539ef(0x240)]);_0x1a5f1a||(_0x1a5f1a=new Set(),_0x95e44d[_0x2539ef(0x25a)](_0x32ae05[_0x2539ef(0x240)],_0x1a5f1a)),_0x1a5f1a[_0x2539ef(0x1f2)](_0x32ae05[_0x2539ef(0x294)]);}for(let [_0x1e93c2,_0x346f39]of _0x95e44d){if(!_0x47ef8d[_0x2539ef(0x510)][_0x1e93c2])return null;let _0x16cb19=_0x414618[_0x2539ef(0x301)][_0x2539ef(0x353)](_0x1e93c2);if(_0x16cb19==null)return null;_0x5d8d5e===_0x414618[_0x2539ef(0x127)]&&(_0x5d8d5e=[..._0x414618[_0x2539ef(0x127)]]);let _0x53efb0=_0x5d8d5e[_0x16cb19],_0x4e14b1={..._0x53efb0['values']};_0x346f39[_0x2539ef(0x4ac)](_0x571419=>{_0x4e14b1[_0x571419]=_0x499e23(_0x47ef8d,_0x1e93c2,_0x571419);}),_0x5d8d5e[_0x16cb19]={..._0x53efb0,'values':_0x4e14b1};}let _0x32dcb7={'table':_0x47ef8d,'rows':_0x5d8d5e,'rowIndexById':_0x414618[_0x2539ef(0x301)],'globalRevision':this[_0x2539ef(0x35f)],'tableRevision':this[_0x2539ef(0x1e9)](_0x47ef8d['id']),'cellRevision':_0x269538};return this[_0x2539ef(0x2fd)][_0x2539ef(0x25a)](_0x47ef8d['id'],_0x32dcb7),this[_0x2539ef(0x315)][_0x2539ef(0x25a)](_0x47ef8d['id'],(this[_0x2539ef(0x315)][_0x2539ef(0x353)](_0x47ef8d['id'])??[])['filter'](_0x70d91e=>_0x70d91e['revision']>Math[_0x2539ef(0x35b)](0x0,_0x269538-0x100))),_0x5d8d5e;}[_0x10b817(0x1db)](_0x16fd89,_0x27cb21){const _0x3400bc=_0x10b817;let _0x8f0e2f=new Map(_0x27cb21[_0x3400bc(0x4fd)](_0x84f20a=>[_0x84f20a[_0x3400bc(0x240)],_0x84f20a])),_0x48a211=!0x1,_0x270d88=_0x16fd89['map'](_0x186903=>{const _0x3706c6=_0x3400bc;let _0x41017b=_0x8f0e2f[_0x3706c6(0x353)](_0x186903[_0x3706c6(0x240)]);return _0x41017b?_0x41017b===_0x186903?_0x186903:(_0x48a211=!0x0,_0x41017b):_0x186903;});return _0x48a211?_0x270d88:_0x16fd89;}[_0x10b817(0x154)](_0x162ae1,_0x3bd7ab,_0x5dc784,_0x5f000e){const _0x4ec2fa=_0x10b817;return!_0x5f000e[_0x4ec2fa(0x51d)]||_0x3bd7ab===_0x5dc784?!0x1:_0x5dc784-_0x3bd7ab>0x100||(this[_0x4ec2fa(0x315)]['get'](_0x162ae1)??[])[_0x4ec2fa(0x4d2)](_0x5e5c5e=>_0x5e5c5e['revision']>_0x3bd7ab&&_0x5e5c5e[_0x4ec2fa(0x377)]<=_0x5dc784&&_0x5f000e[_0x4ec2fa(0x11b)](_0x5e5c5e[_0x4ec2fa(0x294)]));}[_0x10b817(0x211)](_0x598dec){const _0x5b35a3=_0x10b817;var _0x2688c0,_0x4b2062;let _0x5382d6=new Set();return _0x598dec==null||(_0x2688c0=_0x598dec['filter'])==null||_0x2688c0[_0x5b35a3(0x33f)][_0x5b35a3(0x4ac)](_0x1ed34d=>_0x5382d6[_0x5b35a3(0x1f2)](_0x1ed34d['fieldId'])),_0x598dec==null||(_0x4b2062=_0x598dec[_0x5b35a3(0x409)])==null||_0x4b2062[_0x5b35a3(0x4ac)](_0x5d86de=>_0x5382d6[_0x5b35a3(0x1f2)](_0x5d86de['fieldId'])),_0x5382d6;}[_0x10b817(0x4e2)](_0x5af77b){const _0x762f59=_0x10b817;var _0xad50a;let _0x473212=this[_0x762f59(0x211)](_0x5af77b);return(_0xad50a=_0x5af77b[_0x762f59(0x1ff)])==null||_0xad50a[_0x762f59(0x4ac)](_0xc300b9=>_0x473212[_0x762f59(0x1f2)](_0xc300b9[_0x762f59(0x294)])),_0x473212;}['_filterRows'](_0x5e6ea2,_0x11df9f,_0xbec31c){const _0x268e1c=_0x10b817;let _0x1b1f51=_0x11df9f==null?void 0x0:_0x11df9f[_0x268e1c(0x2b7)];if(!(_0x1b1f51!=null&&_0x1b1f51[_0x268e1c(0x33f)]['length']))return _0xbec31c;let _0x3bcf0b=_0x1b1f51[_0x268e1c(0x33f)][_0x268e1c(0x2b7)](_0x5353c6=>!_0x5c44a4(_0x5353c6));return _0x3bcf0b[_0x268e1c(0x350)]?_0xbec31c[_0x268e1c(0x2b7)](_0x30cd3e=>{const _0x12d6c9=_0x268e1c;if(_0x1b1f51['conjunction']===_0x1684be[_0x12d6c9(0x4ba)]['OR']){for(let _0x38a8dc of _0x3bcf0b){let _0x22975f=_0x5e6ea2[_0x12d6c9(0x22d)][_0x38a8dc[_0x12d6c9(0x294)]];if(!_0x22975f||this[_0x12d6c9(0x478)][_0x12d6c9(0x353)](_0x22975f['type'])[_0x12d6c9(0x2b7)](_0x30cd3e[_0x12d6c9(0x243)][_0x22975f['id']],_0x38a8dc[_0x12d6c9(0x527)],_0x38a8dc[_0x12d6c9(0x52a)],_0x22975f))return!0x0;}return!0x1;}for(let _0x36431b of _0x3bcf0b){let _0x5a53a8=_0x5e6ea2[_0x12d6c9(0x22d)][_0x36431b[_0x12d6c9(0x294)]];if(_0x5a53a8&&!this[_0x12d6c9(0x478)]['get'](_0x5a53a8['type'])[_0x12d6c9(0x2b7)](_0x30cd3e[_0x12d6c9(0x243)][_0x5a53a8['id']],_0x36431b[_0x12d6c9(0x527)],_0x36431b[_0x12d6c9(0x52a)],_0x5a53a8))return!0x1;}return!0x0;}):_0xbec31c;}[_0x10b817(0x460)](_0x2a8e09,_0x1f7e34,_0x5b0382){const _0x24411c=_0x10b817;let _0x2af110=(_0x1f7e34==null?void 0x0:_0x1f7e34[_0x24411c(0x409)])??[];if(!_0x2af110['length'])return _0x5b0382;let _0x305cde=_0x2af110[_0x24411c(0x158)](_0x4fa691=>{const _0x15e139=_0x24411c;let _0x4bc1bc=_0x2a8e09['fields'][_0x4fa691[_0x15e139(0x294)]];return _0x4bc1bc?[{..._0x4fa691,'field':_0x4bc1bc}]:[];});return _0x305cde[_0x24411c(0x350)]?this[_0x24411c(0x28b)](_0x305cde)?this[_0x24411c(0x4c1)](_0x305cde,_0x5b0382):[..._0x5b0382][_0x24411c(0x409)]((_0x44d7b3,_0xa3ac99)=>{const _0x37fad1=_0x24411c;for(let _0x10be9b of _0x305cde){let _0x5a8b8a=_0x10be9b[_0x37fad1(0x53a)],_0x203aa8=this[_0x37fad1(0x478)][_0x37fad1(0x353)](_0x5a8b8a['type'])[_0x37fad1(0x10f)](_0x44d7b3[_0x37fad1(0x243)][_0x5a8b8a['id']],_0xa3ac99[_0x37fad1(0x243)][_0x5a8b8a['id']],_0x5a8b8a);if(_0x203aa8!==0x0)return _0x10be9b[_0x37fad1(0x324)]===_0x1684be[_0x37fad1(0x2e6)][_0x37fad1(0x2ab)]?-_0x203aa8:_0x203aa8;}return 0x0;}):_0x5b0382;}[_0x10b817(0x28b)](_0x13e938){const _0x31cdce=_0x10b817;return _0x13e938[_0x31cdce(0x31e)](_0x40948f=>_0x50d93c[_0x31cdce(0x11b)](_0x40948f['field']['type']));}[_0x10b817(0x4c1)](_0x37764e,_0x29861b){const _0x26cbd9=_0x10b817;return _0x29861b['map']((_0x58e00b,_0x247692)=>({'row':_0x58e00b,'index':_0x247692,'keys':_0x37764e[_0x26cbd9(0x4fd)](_0x18ae55=>_0x58e00b[_0x26cbd9(0x243)][_0x18ae55[_0x26cbd9(0x294)]])}))[_0x26cbd9(0x409)]((_0x280664,_0x24c711)=>{const _0x4f3c56=_0x26cbd9;for(let _0x5faa94=0x0;_0x5faa94<_0x37764e['length'];_0x5faa94++){let _0x576105=_0x15f40d(_0x280664['keys'][_0x5faa94],_0x24c711[_0x4f3c56(0x176)][_0x5faa94]);if(_0x576105!==0x0)return _0x37764e[_0x5faa94][_0x4f3c56(0x324)]===_0x1684be['BaseSortDirection']['DESC']?-_0x576105:_0x576105;}return _0x280664[_0x4f3c56(0x2dd)]-_0x24c711[_0x4f3c56(0x2dd)];})['map'](_0x1aed58=>_0x1aed58[_0x26cbd9(0x19c)]);}[_0x10b817(0x560)](_0x49b2c6,_0x2c7664,_0xc54465){const _0x7102a1=_0x10b817;var _0x5c57bd;return _0x4f283(_0x7102a1(0x246),()=>{const _0x4165ba=_0x7102a1;var _0xaf5f48;if(!((_0xaf5f48=_0x2c7664[_0x4165ba(0x1ff)])!=null&&_0xaf5f48[_0x4165ba(0x350)]))return[];let _0x15c0fe=_0x2c7664[_0x4165ba(0x1ff)][_0x4165ba(0x2b7)](_0x3b5696=>_0x49b2c6[_0x4165ba(0x22d)][_0x3b5696[_0x4165ba(0x294)]]);if(!_0x15c0fe[_0x4165ba(0x350)])return[];let _0x10f395=this[_0x4165ba(0x38d)](_0x49b2c6['id'],_0x2c7664,_0x15c0fe),_0x2a0242=this[_0x4165ba(0x2fc)](_0x49b2c6['id']),_0x111f09=this[_0x4165ba(0x523)][_0x4165ba(0x353)](_0x10f395);if(_0x111f09&&_0x111f09['globalRevision']===this['_globalRevision']&&_0x111f09['tableRevision']===this[_0x4165ba(0x1e9)](_0x49b2c6['id'])){if(_0x111f09[_0x4165ba(0x312)]===_0x2a0242&&_0x111f09[_0x4165ba(0x127)]===_0xc54465)return _0x111f09['groups'];if(_0x111f09['cellRevision']!==_0x2a0242&&!this[_0x4165ba(0x154)](_0x49b2c6['id'],_0x111f09[_0x4165ba(0x312)],_0x2a0242,this[_0x4165ba(0x4e2)](_0x2c7664)))return this[_0x4165ba(0x523)][_0x4165ba(0x25a)](_0x10f395,{..._0x111f09,'rows':_0xc54465,'cellRevision':_0x2a0242}),_0x111f09[_0x4165ba(0x19d)];}let _0x2f45b1=new Map();for(let _0x363564 of _0xc54465){let _0x22de69=_0x2f45b1,_0x23967e='';for(let _0x1e0dce=0x0;_0x1e0dce<_0x15c0fe['length'];_0x1e0dce++){let _0x52732b=_0x15c0fe[_0x1e0dce],_0xef18c9=_0x363564['values'][_0x52732b['fieldId']],_0x1cb9bc=_0x236ac4(_0xef18c9),_0x47c000=_0x52732b[_0x4165ba(0x294)]+'\x00'+_0x1cb9bc,_0x1b2414=_0x23967e+'/'+_0x52732b[_0x4165ba(0x294)]+':'+_0x1cb9bc,_0x1a0697=_0x22de69[_0x4165ba(0x353)](_0x47c000);_0x1a0697||(_0x1a0697={'key':_0x1cb9bc,'value':_0xef18c9,'path':_0x1b2414,'label':_0x1cb9bc||_0x4165ba(0x3ed),'fieldId':_0x52732b['fieldId'],'level':_0x1e0dce,'recordIds':[],'children':new Map()},_0x22de69[_0x4165ba(0x25a)](_0x47c000,_0x1a0697)),_0x1a0697[_0x4165ba(0x4cd)][_0x4165ba(0x558)](_0x363564[_0x4165ba(0x240)]),_0x22de69=_0x1a0697[_0x4165ba(0x12e)],_0x23967e=_0x1b2414;}}let _0x41f069=this[_0x4165ba(0x23d)](_0x15c0fe,_0x2f45b1,0x0);return this['_projectedGroupsCache']['set'](_0x10f395,{'table':_0x49b2c6,'rows':_0xc54465,'groups':_0x41f069,'globalRevision':this[_0x4165ba(0x35f)],'tableRevision':this['_getTableRevision'](_0x49b2c6['id']),'cellRevision':_0x2a0242}),_0x41f069;},{'tableId':_0x49b2c6['id'],'viewId':_0x2c7664['id'],'viewType':_0x2c7664[_0x7102a1(0x4af)],'rows':_0xc54465['length'],'groupFields':((_0x5c57bd=_0x2c7664[_0x7102a1(0x1ff)])==null?void 0x0:_0x5c57bd[_0x7102a1(0x350)])??0x0});}[_0x10b817(0x23d)](_0x52b270,_0x191957,_0x2b22d3){const _0x254e4e=_0x10b817;var _0x44d752;let _0x335cc2=Array[_0x254e4e(0x1dd)](_0x191957[_0x254e4e(0x243)]()),_0x1a0d7f=(_0x44d752=_0x52b270[_0x2b22d3])==null?void 0x0:_0x44d752[_0x254e4e(0x324)];return _0x1a0d7f&&_0x335cc2['sort']((_0x32df04,_0x206b33)=>{const _0x426730=_0x254e4e;let _0x157d08=_0x32df04[_0x426730(0x2af)][_0x426730(0x25e)](_0x206b33[_0x426730(0x2af)]);return _0x1a0d7f===_0x1684be['BaseSortDirection'][_0x426730(0x2ab)]?-_0x157d08:_0x157d08;}),_0x335cc2[_0x254e4e(0x4fd)](_0x4c09bc=>({'key':_0x4c09bc[_0x254e4e(0x2af)],'value':_0x4c09bc['value'],'path':_0x4c09bc['path'],'label':_0x4c09bc[_0x254e4e(0x4e4)],'fieldId':_0x4c09bc[_0x254e4e(0x294)],'level':_0x4c09bc[_0x254e4e(0x51e)],'recordIds':_0x4c09bc[_0x254e4e(0x4cd)],'children':this[_0x254e4e(0x23d)](_0x52b270,_0x4c09bc[_0x254e4e(0x12e)],_0x2b22d3+0x1)}));}[_0x10b817(0x121)](_0x1b45f6,_0x4c97b0,_0x3d7d98){let _0x1048e=_0x3d7d98??_0x1b45f6['primaryFieldId'],_0xb47548=_0x4c97b0['values'][_0x1048e];return _0xb47548==null?'':String(_0xb47548);}[_0x10b817(0x272)](_0x14de40){const _0x16c7a2=_0x10b817;if(Array[_0x16c7a2(0x233)](_0x14de40))return _0x14de40[_0x16c7a2(0x4fd)](String);if(typeof _0x14de40==_0x16c7a2(0x488)&&_0x14de40)return[_0x14de40];}[_0x10b817(0x4cb)](_0x523e13){const _0x1a3ad8=_0x10b817;return this[_0x1a3ad8(0x478)][_0x1a3ad8(0x353)](_0x523e13[_0x1a3ad8(0x4af)])[_0x1a3ad8(0x535)](_0x523e13);}};_0x5da9bf=_0x573014([_0xb3d983(0x0,(0x0,_0x1684be[_0x10b817(0x514)])(_0x53e622))],_0x5da9bf);function _0x236ac4(_0x1d3c38){return _0x1d3c38==null?'':String(_0x1d3c38);}function _0x5dc9af(_0x24aa63){const _0x3e5567=_0x10b817;return new Map(_0x24aa63[_0x3e5567(0x4fd)]((_0x4ee8b4,_0x3cc638)=>[_0x4ee8b4[_0x3e5567(0x240)],_0x3cc638]));}function _0x1dee70(_0x90c046){const _0x2a9033=_0x10b817;return!!(Array[_0x2a9033(0x233)](_0x90c046[_0x2a9033(0x385)])&&_0x90c046[_0x2a9033(0x131)]&&_0x90c046['rowId']&&_0x90c046[_0x2a9033(0x46d)]&&_0x90c046['colId']&&_0x90c046[_0x2a9033(0x1e5)]);}function _0x58d1db(_0x2e2818){const _0x4edb66=_0x10b817;let _0x359384=(_0x2e2818==null?void 0x0:_0x2e2818[_0x4edb66(0x33f)][_0x4edb66(0x2b7)](_0x105e46=>!_0x5c44a4(_0x105e46)))??[];return!_0x2e2818||!_0x359384[_0x4edb66(0x350)]?null:{'conjunction':_0x2e2818[_0x4edb66(0x2d6)],'conditions':_0x359384[_0x4edb66(0x4fd)](_0x5d1608=>({'fieldId':_0x5d1608[_0x4edb66(0x294)],'operator':_0x5d1608['operator'],'operand':_0x5d1608['operand']}))};}function _0x1c40b4(_0xbfbeb5,_0x161234){const _0x31af63=_0x10b817;return _0xbfbeb5['records']===_0x161234['records']&&_0xbfbeb5[_0x31af63(0x385)]===_0x161234['recordOrder']&&_0xbfbeb5[_0x31af63(0x22d)]===_0x161234['fields']&&_0xbfbeb5[_0x31af63(0x3c3)]===_0x161234[_0x31af63(0x3c3)]&&_0xbfbeb5[_0x31af63(0x1e5)]===_0x161234[_0x31af63(0x1e5)]&&_0xbfbeb5[_0x31af63(0x131)]===_0x161234[_0x31af63(0x131)]&&_0xbfbeb5[_0x31af63(0x1b1)]===_0x161234[_0x31af63(0x1b1)]&&_0xbfbeb5[_0x31af63(0x46d)]===_0x161234['colIndex']&&_0xbfbeb5['colId']===_0x161234[_0x31af63(0x3e2)];}function _0x6a4a11(_0x3815e1){const _0x44c389=_0x10b817;return _0x3815e1!=null&&_0x3815e1[_0x44c389(0x350)]?_0x3815e1[_0x44c389(0x4fd)](_0x339600=>({'fieldId':_0x339600[_0x44c389(0x294)],'direction':_0x339600[_0x44c389(0x324)]})):null;}function _0x559b93(_0xbecc85){const _0x577cf6=_0x10b817;if(typeof _0xbecc85!='object'||!_0xbecc85)return JSON[_0x577cf6(0x551)](_0xbecc85)??_0x577cf6(0x3e4);if(Array[_0x577cf6(0x233)](_0xbecc85))return'['+_0xbecc85[_0x577cf6(0x4fd)](_0x559b93)[_0x577cf6(0x214)](',')+']';let _0x165942=_0xbecc85;return'{'+Object['keys'](_0x165942)[_0x577cf6(0x409)]()['map'](_0x580ea1=>JSON['stringify'](_0x580ea1)+':'+_0x559b93(_0x165942[_0x580ea1]))[_0x577cf6(0x214)](',')+'}';}function _0x5ec1a8(_0x374f2f){const _0xed28ec=_0x10b817;let _0xec3f3e=Object[_0xed28ec(0x243)](_0x374f2f)[_0xed28ec(0x409)]((_0xb26eb3,_0x4b2ca3)=>_0xb26eb3[_0xed28ec(0x241)][_0xed28ec(0x25e)](_0x4b2ca3[_0xed28ec(0x241)])),_0x1fe150=[];for(let _0x52da2a of _0xec3f3e)_0x1fe150[_0xed28ec(0x558)](_0x52da2a['id']);return _0x1fe150;}function _0x5b77e5(_0x4296e3){const _0x311154=_0x10b817;return{'weekdays':Array[_0x311154(0x233)](_0x4296e3==null?void 0x0:_0x4296e3[_0x311154(0x506)])&&_0x4296e3[_0x311154(0x506)][_0x311154(0x350)]?[...new Set(_0x4296e3[_0x311154(0x506)][_0x311154(0x2b7)](_0x4a6870=>Number['isInteger'](_0x4a6870)&&_0x4a6870>=0x1&&_0x4a6870<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x4296e3==null?void 0x0:_0x4296e3[_0x311154(0x2b9)])?_0x4296e3[_0x311154(0x2b9)][_0x311154(0x158)](_0x1dcfc0=>!_0x1dcfc0||!Number[_0x311154(0x4c9)](_0x1dcfc0['date'])?[]:[{'id':String(_0x1dcfc0['id']||'exception-'+_0x1dcfc0['date']),'date':_0xe0fba0(Number(_0x1dcfc0[_0x311154(0x18d)])),'name':String(_0x1dcfc0[_0x311154(0x4ed)]||_0x311154(0x215)),'type':_0x1dcfc0[_0x311154(0x4af)]===_0x311154(0x504)?_0x311154(0x504):_0x311154(0x4ea)}]):[]};}function _0x3f9a14(_0x550fe7,_0x328047,_0x47efc9,_0xa8c670){let _0x5e252c=_0x4a6622(_0x550fe7,_0x328047),_0x38c1a9=_0x5c950a(_0x550fe7,_0x47efc9),_0x34b840=_0x598293(_0x550fe7,_0x5e252c,_0x38c1a9,_0xa8c670);return{'scale':_0x550fe7,'start':_0x5e252c,'end':_0x38c1a9,'unitWidth':_0x3675a7(_0x550fe7),'majorHeaders':_0x468f70(_0x550fe7,_0x5e252c,_0x38c1a9),'columns':_0x34b840};}function _0x598293(_0x2d1937,_0x39700b,_0x45fa31,_0x5b0780){const _0x4c2900=_0x10b817;let _0x2779cc=[],_0xa53827=_0x39700b;for(;_0xa53827<_0x45fa31;){let _0x624434=_0x2d1937===_0x4c2900(0x1b2)?_0x496dcc(_0xa53827,0x7):_0x2d1937===_0x4c2900(0x356)?_0x539879(_0xa53827,0x1):_0x496dcc(_0xa53827,0x1);_0x2779cc[_0x4c2900(0x558)]({'id':_0x2d1937+'-'+_0xa53827,'label':_0x1ee966(_0x2d1937,_0xa53827,_0x624434),'majorLabel':_0x124df8(_0x2d1937,_0xa53827),'start':_0xa53827,'end':_0x624434,'nonWorking':_0x49a0d5(_0xa53827,_0x624434,_0x5b0780)}),_0xa53827=_0x624434;}return _0x2779cc;}function _0x468f70(_0xce7a88,_0x2ac9af,_0x43d108){const _0x58ae04=_0x10b817;let _0x31a425=[],_0x40f8de=_0xce7a88===_0x58ae04(0x356)?_0x37aced(_0x2ac9af):_0x92992d(_0x2ac9af);for(;_0x40f8de<_0x43d108;){let _0x22b234=_0xce7a88==='year'?_0x3ae7c5(_0x40f8de,0x1):_0x539879(_0x40f8de,0x1);_0x31a425[_0x58ae04(0x558)]({'id':'major-'+_0x40f8de,'label':_0xce7a88===_0x58ae04(0x356)?String(new Date(_0x40f8de)['getUTCFullYear']()):_0x559fe6(_0x40f8de),'start':_0x40f8de,'end':_0x22b234}),_0x40f8de=_0x22b234;}return _0x31a425;}function _0x3675a7(_0x398f42){const _0x15cb18=_0x10b817;switch(_0x398f42){case _0x15cb18(0x512):return 0xac;case'quarter':return 0xac;case'year':return 0x88;default:return 0x56;}}function _0x4a6622(_0x557b0d,_0x5b87ad){const _0x1c54ee=_0x10b817;return _0x557b0d==='year'?_0x37aced(_0x5b87ad):_0x557b0d===_0x1c54ee(0x1b2)?_0x1aa98f(_0x5b87ad):_0xe0fba0(_0x5b87ad);}function _0x5c950a(_0x2da89d,_0x3601a5){const _0x3f586f=_0x10b817;return _0x2da89d===_0x3f586f(0x356)?_0x3ae7c5(_0x37aced(_0x3601a5),0x1):_0x2da89d===_0x3f586f(0x1b2)?_0x496dcc(_0x1aa98f(_0x3601a5),0x7):_0x496dcc(_0xe0fba0(_0x3601a5),0x1);}function _0x1ee966(_0x1501f7,_0x27b017,_0x27da53){const _0x24d302=_0x10b817;let _0x14127e=new Date(_0x27b017);return _0x1501f7===_0x24d302(0x1b2)?_0x14127e[_0x24d302(0x1ba)]()+'-'+new Date(_0x27da53-_0x576112)[_0x24d302(0x1ba)]():_0x1501f7===_0x24d302(0x356)?_0x14127e[_0x24d302(0x113)]('en-US',{'month':_0x24d302(0x18f),'timeZone':_0x24d302(0x291)}):String(_0x14127e['getUTCDate']());}function _0x124df8(_0x59f511,_0x162587){const _0x2e875d=_0x10b817;return _0x59f511==='year'?String(new Date(_0x162587)[_0x2e875d(0x2e4)]()):_0x559fe6(_0x162587);}function _0x157322(_0xebc3b1,_0x1f1c58,_0xa05d3b){let _0x302672=_0x5b77e5(_0xa05d3b),_0x31051f=0x0;for(let _0x42e75b=_0xe0fba0(_0xebc3b1);_0x42e75b<=_0xe0fba0(_0x1f1c58);_0x42e75b=_0x496dcc(_0x42e75b,0x1))_0x351a88(_0x42e75b,_0x302672)||_0x31051f++;return _0x31051f;}function _0x49a0d5(_0x34a962,_0x2ba8f9,_0x6d98d){if(!_0x6d98d)return!0x1;let _0x56c480=_0x5b77e5(_0x6d98d);for(let _0x2e26d5=_0xe0fba0(_0x34a962);_0x2e26d5<_0x2ba8f9;_0x2e26d5=_0x496dcc(_0x2e26d5,0x1))if(!_0x351a88(_0x2e26d5,_0x56c480))return!0x1;return!0x0;}function _0x351a88(_0x54392f,_0x23c4ef){const _0x4b77a0=_0x10b817;let _0x1183b8=_0xe0fba0(_0x54392f),_0x592457=_0x23c4ef[_0x4b77a0(0x2b9)][_0x4b77a0(0x3d7)](_0xe2929a=>_0xe0fba0(_0xe2929a[_0x4b77a0(0x18d)])===_0x1183b8);if(_0x592457)return _0x592457[_0x4b77a0(0x4af)]==='off';let _0xaf37d8=new Date(_0x1183b8)[_0x4b77a0(0x10c)](),_0x467157=_0xaf37d8===0x0?0x7:_0xaf37d8;return!_0x23c4ef['weekdays'][_0x4b77a0(0x41a)](_0x467157);}function _0xe0fba0(_0x2f0bd3){const _0x57b1d1=_0x10b817;let _0x415118=new Date(_0x2f0bd3);return Date[_0x57b1d1(0x291)](_0x415118[_0x57b1d1(0x2e4)](),_0x415118['getUTCMonth'](),_0x415118['getUTCDate']());}function _0x1aa98f(_0x1aa5da){let _0x40b4b6=_0xe0fba0(_0x1aa5da),_0x262c7a=new Date(_0x40b4b6)['getUTCDay']();return _0x496dcc(_0x40b4b6,-(_0x262c7a===0x0?0x6:_0x262c7a-0x1));}function _0x92992d(_0x2fbb4b){const _0x8e7234=_0x10b817;let _0x5b7e4d=new Date(_0x2fbb4b);return Date[_0x8e7234(0x291)](_0x5b7e4d['getUTCFullYear'](),_0x5b7e4d[_0x8e7234(0x317)](),0x1);}function _0x37aced(_0x33a8d8){const _0x4fe230=_0x10b817;let _0x20ccb3=new Date(_0x33a8d8);return Date[_0x4fe230(0x291)](_0x20ccb3[_0x4fe230(0x2e4)](),0x0,0x1);}function _0x496dcc(_0x302e11,_0x73b39a){return _0x302e11+_0x73b39a*_0x576112;}function _0x539879(_0x139c2b,_0x500813){const _0x184f8d=_0x10b817;let _0xe8badb=new Date(_0x139c2b);return Date[_0x184f8d(0x291)](_0xe8badb[_0x184f8d(0x2e4)](),_0xe8badb['getUTCMonth']()+_0x500813,0x1);}function _0x3ae7c5(_0x18c3ec,_0x41ce98){let _0x14eff3=new Date(_0x18c3ec);return Date['UTC'](_0x14eff3['getUTCFullYear']()+_0x41ce98,0x0,0x1);}function _0x559fe6(_0x5b497a){const _0xc3c257=_0x10b817;let _0x30f5dd=new Date(_0x5b497a);return _0x30f5dd[_0xc3c257(0x113)](_0xc3c257(0x36f),{'month':_0xc3c257(0x18f),'timeZone':_0xc3c257(0x291)})+'\x20'+_0x30f5dd[_0xc3c257(0x2e4)]();}function _0x15f40d(_0x4ed968,_0x3004a4){const _0x3987a8=_0x10b817;if(_0x4ed968==null&&_0x3004a4==null)return 0x0;if(_0x4ed968==null)return-0x1;if(_0x3004a4==null)return 0x1;if(typeof _0x4ed968==_0x3987a8(0x4b2)||typeof _0x3004a4==_0x3987a8(0x4b2))return Number(_0x4ed968===!0x0)-Number(_0x3004a4===!0x0);let _0x3f050f=Number(_0x4ed968),_0x549883=Number(_0x3004a4),_0x5c807e=Number['isFinite'](_0x3f050f),_0x597355=Number[_0x3987a8(0x4c9)](_0x549883);return _0x5c807e&&_0x597355?_0x3f050f-_0x549883:_0x5c807e?0x1:_0x597355?-0x1:String(_0x4ed968)[_0x3987a8(0x25e)](String(_0x3004a4));}function _0x5c44a4(_0x48c148){const _0x2f6cad=_0x10b817;if(_0x48c148[_0x2f6cad(0x527)]!=='is'&&_0x48c148[_0x2f6cad(0x527)]!=='isNot')return!0x1;let _0x147e28=_0x48c148['operand'];return _0x147e28==null?!0x0:typeof _0x147e28==_0x2f6cad(0x488)?_0x147e28['trim']()==='':Array[_0x2f6cad(0x233)](_0x147e28)?_0x147e28[_0x2f6cad(0x350)]===0x0:!0x1;}function _0x32e62d(_0xcbb06d,_0x4028a4){const _0x12ff7e=_0x10b817;var _0x1fef23;let _0x5d328d=Array[_0x12ff7e(0x233)]((_0x1fef23=_0xcbb06d[_0x12ff7e(0x414)])==null?void 0x0:_0x1fef23[_0x12ff7e(0x4b8)])?_0xcbb06d['config'][_0x12ff7e(0x4b8)]:[];for(let _0x22e9ac of _0x5d328d){if(_0x22e9ac==null)continue;if(typeof _0x22e9ac=='string'){if(_0x22e9ac===_0x4028a4)return{'id':_0x22e9ac,'name':_0x22e9ac};continue;}let _0x444758=_0x22e9ac,_0x23ef05=String(_0x444758['id']??_0x444758[_0x12ff7e(0x4ed)]??''),_0x2a59f3=String(_0x444758[_0x12ff7e(0x4ed)]??_0x444758['id']??_0x23ef05);if(_0x23ef05===_0x4028a4||_0x2a59f3===_0x4028a4)return{'id':_0x23ef05,'name':_0x2a59f3,'color':_0x444758['color']==null?void 0x0:String(_0x444758[_0x12ff7e(0x49e)])};}return null;}let _0x4cf725=function(_0x144bcd){const _0x4fd347=_0x10b817;return _0x144bcd[_0x4fd347(0x348)]='create-view',_0x144bcd['DeleteView']='delete-view',_0x144bcd;}({}),_0x325a9e={'id':'base.mutation.apply-base-json1','type':_0x1684be[_0x10b817(0x338)]['MUTATION'],'handler'(_0xea4dde,_0x13ef10){const _0x35b217=_0x10b817;let {unitId:_0x3a9d99,op:_0xa2f819}=_0x13ef10,_0x1f502f=_0xea4dde['get'](_0x1684be[_0x35b217(0x18c)])['getUnit'](_0x3a9d99,_0x1684be['UniverInstanceType'][_0x35b217(0x1a9)]);if(!_0x1f502f)return!0x1;let _0x3d957c=_0x1f502f['getSnapshot'](),_0x37c794=new _0x540632(),_0x3111e0=_0x37c794[_0x35b217(0x469)](_0xa2f819),_0x3a3d19=_0x37c794[_0x35b217(0x32f)](_0x3d957c,_0xa2f819);return _0x1f502f[_0x35b217(0x507)](_0x3a3d19),_0xebd11e(_0x3a3d19,_0x3111e0,_0xea4dde[_0x35b217(0x353)](_0x3df0dd)),!0x0;}};function _0xebd11e(_0x329b64,_0x2c8394,_0x35f10d){const _0x4b00a8=_0x10b817;let _0x23c724=new Set(),_0xc251b5=new Set(),_0x11d42d=new Set();for(let _0x3ae579 of _0x2c8394){if(_0x3ae579[_0x4b00a8(0x1cb)]===_0x4b00a8(0x4dc)&&_0x3ae579[_0x4b00a8(0x171)]&&_0x3ae579[_0x4b00a8(0x20c)]){let _0x5b18cb=_0x3ae579[_0x4b00a8(0x171)]+'\x00'+_0x3ae579[_0x4b00a8(0x20c)];_0x11d42d['has'](_0x5b18cb)||(_0x11d42d[_0x4b00a8(0x1f2)](_0x5b18cb),_0x35f10d[_0x4b00a8(0x199)](_0x3ae579[_0x4b00a8(0x171)],_0x3ae579[_0x4b00a8(0x20c)]));continue;}if(_0x3ae579[_0x4b00a8(0x1cb)]===_0x4b00a8(0x53a)&&_0x3ae579[_0x4b00a8(0x171)]&&_0x3ae579[_0x4b00a8(0x294)]){let _0x16d7cf=_0x3ae579['tableId']+'\x00'+_0x3ae579[_0x4b00a8(0x294)];_0xc251b5['has'](_0x16d7cf)||(_0xc251b5[_0x4b00a8(0x1f2)](_0x16d7cf),_0x35f10d[_0x4b00a8(0x31a)](_0x3ae579[_0x4b00a8(0x171)],_0x3ae579[_0x4b00a8(0x294)]));continue;}if(_0x3ae579[_0x4b00a8(0x1cb)]!=='cell'){_0x35f10d[_0x4b00a8(0x3bd)]();return;}let _0xc64915=_0x53b956(_0x329b64,_0x3ae579);if(!_0xc64915){_0x35f10d[_0x4b00a8(0x3bd)]();return;}let _0xa6eaa1=_0xc64915[_0x4b00a8(0x171)]+'\x00'+_0xc64915[_0x4b00a8(0x240)]+'\x00'+_0xc64915[_0x4b00a8(0x294)];_0x23c724[_0x4b00a8(0x11b)](_0xa6eaa1)||(_0x23c724[_0x4b00a8(0x1f2)](_0xa6eaa1),_0x35f10d[_0x4b00a8(0x290)](_0xc64915['tableId'],_0xc64915['recordId'],_0xc64915[_0x4b00a8(0x294)]));}}function _0x53b956(_0x521af8,_0x50c442){const _0x2e56e2=_0x10b817;var _0x4ea8eb,_0x4b684a;if(!_0x50c442[_0x2e56e2(0x171)])return null;if(_0x50c442['recordId']&&_0x50c442[_0x2e56e2(0x294)])return{'tableId':_0x50c442[_0x2e56e2(0x171)],'recordId':_0x50c442[_0x2e56e2(0x240)],'fieldId':_0x50c442[_0x2e56e2(0x294)]};if(_0x50c442['row']==null||_0x50c442[_0x2e56e2(0x3d8)]==null)return null;let _0xbe8af4=_0x521af8[_0x2e56e2(0x135)][_0x50c442[_0x2e56e2(0x171)]],_0x181cb6=_0xbe8af4==null||(_0x4ea8eb=_0xbe8af4['rowId'])==null?void 0x0:_0x4ea8eb[_0x50c442[_0x2e56e2(0x19c)]],_0x21a131=_0xbe8af4==null||(_0x4b684a=_0xbe8af4[_0x2e56e2(0x3e2)])==null?void 0x0:_0x4b684a[_0x50c442[_0x2e56e2(0x3d8)]];return!_0x181cb6||!_0x21a131?null:{'tableId':_0x50c442[_0x2e56e2(0x171)],'recordId':_0x181cb6,'fieldId':_0x21a131};}let _0x1eed44=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0xd78f4d=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x5ab3fe=/\{([^}]+)\}/g,_0x1aea76=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x124ec6=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x4d0aba=_0x1684be['regexp'][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x28ccba=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x1b11dd=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x1f6dbf=_0x1684be[_0x10b817(0x434)][_0x10b817(0x1c3)](String[_0x10b817(0x115)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x800605=class{[_0x10b817(0x55f)](_0x23cf83,_0xc6da91=_0x23cf83['id']){const _0x108c69=_0x10b817;var _0x311f8e;let _0x2e03c6=((_0x311f8e=_0x23cf83['recordOrder'])==null?void 0x0:_0x311f8e['length'])??Object['values'](_0x23cf83[_0x108c69(0x510)])[_0x108c69(0x350)];return{'sheetId':_0xc6da91,'titleMap':new Map(_0x23cf83[_0x108c69(0x3c3)]['map']((_0x1609b2,_0x4f17cf)=>{const _0x4e4357=_0x108c69;var _0x4d347c;return[((_0x4d347c=_0x23cf83[_0x4e4357(0x22d)][_0x1609b2])==null?void 0x0:_0x4d347c['name'])??_0x1609b2,_0x4f17cf];})),'range':{'startRow':0x0,'endRow':Math[_0x108c69(0x35b)](0x0,_0x2e03c6-0x1),'startColumn':0x0,'endColumn':Math[_0x108c69(0x35b)](0x0,_0x23cf83[_0x108c69(0x3c3)][_0x108c69(0x350)]-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0x4c99e8,_0x24beef){const _0x35a11b=_0x10b817;let _0x5250ed=[],_0x557a74=_0x24beef?new Set(_0x24beef):null,_0x23010c=(0x0,_0x1684be['createBaseFormulaTableNameMap'])(_0x4c99e8);return Object[_0x35a11b(0x243)](_0x4c99e8[_0x35a11b(0x135)])[_0x35a11b(0x2b7)](_0x130202=>!_0x557a74||_0x557a74['has'](_0x130202['id']))[_0x35a11b(0x4ac)](_0x3b7918=>{const _0x297faa=_0x35a11b;let _0x38b2ad=this[_0x297faa(0x55f)](_0x3b7918,_0x3b7918['id']);_0x5250ed[_0x297faa(0x558)]({'tableId':_0x3b7918['id'],'tableName':_0x23010c[_0x297faa(0x353)](_0x3b7918['id']),'reference':_0x38b2ad});}),_0x5250ed;}[_0x10b817(0x16d)](_0x25ef3d,_0x2bc4ac,_0x17f950={}){const _0x39d2b8=_0x10b817;let _0xe13ad4=_0x25ef3d[_0x39d2b8(0x328)]();if(!_0xe13ad4)return{'valid':!0x0};if(_0x3d2870(_0xe13ad4))return{'valid':!0x1,'reason':_0x39d2b8(0x4e9)};let _0x1362fd=_0x17f950[_0x39d2b8(0x467)]?(0x0,_0x1684be[_0x39d2b8(0x394)])(_0x17f950[_0x39d2b8(0x467)]):void 0x0;for(let _0x351954 of _0x4f9c58(_0xe13ad4)){let _0x38acc6=_0x8395a3(_0x351954,_0x2bc4ac,_0x17f950[_0x39d2b8(0x467)],_0x1362fd);if(!_0x38acc6[_0x39d2b8(0x3be)])return{'valid':!0x1,'reason':_0x39d2b8(0x342)+_0x351954[_0x39d2b8(0x47e)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x38acc6[_0x39d2b8(0x53a)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x351954[_0x39d2b8(0x4d9)]+_0x39d2b8(0x204)};}return{'valid':!0x0};}[_0x10b817(0x247)](_0x35468b,_0x4ec621,_0x349673={}){const _0x3f6998=_0x10b817;let _0x3796d6=new Set();for(let _0x1eeba0 of this[_0x3f6998(0x341)](_0x35468b,_0x4ec621,_0x349673))_0x1eeba0[_0x3f6998(0x171)]===_0x4ec621['id']&&_0x3796d6[_0x3f6998(0x1f2)](_0x1eeba0['fieldId']);return Array[_0x3f6998(0x1dd)](_0x3796d6);}[_0x10b817(0x341)](_0x346cb7,_0x1b98a5,_0xa71955={}){const _0x22a196=_0x10b817;let _0x23605b=new Map(),_0x5cb6f6=_0xa71955[_0x22a196(0x467)]?(0x0,_0x1684be[_0x22a196(0x394)])(_0xa71955['snapshot']):void 0x0;for(let _0x2e3c15 of _0x4f9c58(_0x346cb7)){let _0x4568b2=_0x8395a3(_0x2e3c15,_0x1b98a5,_0xa71955[_0x22a196(0x467)],_0x5cb6f6);if(!_0x4568b2[_0x22a196(0x3be)]||!_0x4568b2[_0x22a196(0x53a)])continue;let _0xe22b49=_0x4568b2[_0x22a196(0x3be)]['id']+'\x1f'+_0x4568b2[_0x22a196(0x53a)]['id'];_0x23605b[_0x22a196(0x25a)](_0xe22b49,{'tableId':_0x4568b2['table']['id'],'fieldId':_0x4568b2[_0x22a196(0x53a)]['id']});}return Array[_0x22a196(0x1dd)](_0x23605b[_0x22a196(0x243)]());}};function _0x209aed(_0x822afd,_0x51ce5e){const _0x3cbaec=_0x10b817;var _0x2ae49e;let _0x52c0c6=[],_0x258ed4=(_0x2ae49e=_0x51ce5e[_0x3cbaec(0x4be)])==null?void 0x0:_0x2ae49e[_0x822afd['id']];return _0x258ed4&&Object[_0x3cbaec(0x172)](_0x258ed4)[_0x3cbaec(0x4ac)](([_0x89334d,_0x61fa7e])=>{const _0x168cbf=_0x3cbaec;let _0x2b3e67=_0x822afd[_0x168cbf(0x135)][_0x89334d];if(!_0x2b3e67||!_0x61fa7e)return;let _0x2768ee=_0xd74f23(_0x2b3e67),_0x36ca8b=[];new _0x1684be['ObjectMatrix'](_0x61fa7e)[_0x168cbf(0x2e9)]((_0x20c5b2,_0x42f418,_0x7a2249)=>{const _0x1f9a74=_0x168cbf;let _0x3c4d49=_0x1dcd5c(_0x2768ee,_0x20c5b2,_0x42f418,_0x7a2249);_0x3c4d49&&_0x36ca8b[_0x1f9a74(0x558)](_0x3c4d49);}),_0x36ca8b[_0x168cbf(0x350)]&&_0x52c0c6[_0x168cbf(0x558)]({'unitId':_0x822afd['id'],'tableId':_0x89334d,'patches':_0x36ca8b});}),_0x52c0c6;}function _0x1dcd5c(_0x4e88c3,_0x3b30a4,_0x29459b,_0x1580d6){const _0x4e63df=_0x10b817;var _0x56a65c,_0x3f94a3,_0x30e31a;let _0x40b723=(_0x56a65c=_0x4e88c3[_0x4e63df(0x1b1)])==null?void 0x0:_0x56a65c[_0x3b30a4],_0x4365de=(_0x3f94a3=_0x4e88c3['colId'])==null?void 0x0:_0x3f94a3[_0x29459b];if(!_0x40b723||!_0x4e88c3[_0x4e63df(0x510)][_0x40b723]||!_0x4365de)return null;let _0x3a8b98=_0x4e88c3[_0x4e63df(0x22d)][_0x4365de];if(!_0x3a8b98||_0x3a8b98[_0x4e63df(0x4af)]!==_0x4e63df(0x1eb))return null;let _0x22b780=String(((_0x30e31a=_0x3a8b98[_0x4e63df(0x414)])==null?void 0x0:_0x30e31a['formula'])??'')[_0x4e63df(0x328)](),_0x5532b8=(_0x1580d6==null?void 0x0:_0x1580d6['v'])??null,_0x10da63={'v':_0x5532b8,'t':_0x1c51cc(_0x5532b8),..._0x3b30a4===0x0&&_0x22b780?{'f':_0x22b780}:{},'si':_0x3a8b98['id']};return _0x2da349(_0x3dc823(_0x4e88c3,_0x40b723,_0x4365de),_0x10da63)?null:{'row':_0x3b30a4,'col':_0x29459b,'value':_0x10da63};}function _0x2da349(_0xf60f83,_0x40c2c3){return _0xf60f83!=null&&Object['is'](_0xf60f83['v']??null,_0x40c2c3['v']??null)&&_0xf60f83['t']===_0x40c2c3['t']&&_0xf60f83['f']===_0x40c2c3['f']&&_0xf60f83['si']===_0x40c2c3['si'];}function _0x1c51cc(_0x47e188){const _0x37f6b4=_0x10b817;return typeof _0x47e188=='number'?_0x1684be['CellValueType'][_0x37f6b4(0x37f)]:typeof _0x47e188==_0x37f6b4(0x4b2)?_0x1684be[_0x37f6b4(0x1e1)][_0x37f6b4(0x2a9)]:typeof _0x47e188==_0x37f6b4(0x488)?_0x1684be[_0x37f6b4(0x1e1)]['STRING']:null;}function _0x4f9c58(_0x3af92d){const _0x266ff7=_0x10b817;let _0x27697f=_0x4d99f6(_0x3af92d,()=>''),_0x1377e2=new Map(),_0x242955=_0xaafe2e=>{const _0x4dbd30=_0x5a55;_0x1377e2[_0x4dbd30(0x25a)]((_0xaafe2e[_0x4dbd30(0x47e)]??'')+'\x1f'+_0xaafe2e[_0x4dbd30(0x4d9)],_0xaafe2e);};for(let _0x1bb5f4 of _0x27697f[_0x266ff7(0x49d)](_0x5ab3fe))_0x242955({'fieldName':_0x1bb5f4[0x1],'scope':_0x266ff7(0x111)});_0x27697f=_0x27697f[_0x266ff7(0x12a)](_0x1aea76,(_0x5e47f7,_0x1a605d,_0x3773f1,_0x6cadca)=>(_0x242955({'tableName':_0x1a605d,'fieldName':_0x6cadca,'scope':_0x3773f1[_0x266ff7(0x4fa)]()===_0x266ff7(0x33b)?_0x266ff7(0x33b):'this-row'}),'\x20')),_0x27697f=_0x27697f[_0x266ff7(0x12a)](_0x124ec6,(_0x5dd417,_0x2d8e7d,_0x4f3810)=>(_0x242955({'tableName':_0x2d8e7d,'fieldName':_0x4f3810,'scope':'this-row'}),'\x20')),_0x27697f=_0x27697f['replace'](_0x28ccba,(_0x17e6df,_0x232f8d,_0x2daa19,_0x50b102)=>(_0x242955({'fieldName':_0x50b102,'scope':_0x2daa19[_0x266ff7(0x4fa)]()==='data'?_0x266ff7(0x33b):_0x266ff7(0x111)}),_0x232f8d+'\x20')),_0x27697f=_0x27697f['replace'](_0x1b11dd,(_0x1892fa,_0x579533,_0x4fb3a0)=>(_0x242955({'fieldName':_0x4fb3a0,'scope':_0x266ff7(0x111)}),_0x579533+'\x20'));for(let _0x1efc1b of _0x27697f['matchAll'](_0x4d0aba))_0x242955({'tableName':_0x1efc1b[0x1],'fieldName':_0x1efc1b[0x2]});for(let _0x5bd4d9 of _0x27697f[_0x266ff7(0x49d)](_0x1f6dbf))_0x242955({'fieldName':_0x5bd4d9[0x2],'scope':_0x266ff7(0x111)});return Array['from'](_0x1377e2[_0x266ff7(0x243)]());}function _0x3d2870(_0x17dd2d){const _0x140f9f=_0x10b817;let _0x2eedee=_0x4d99f6(_0x17dd2d,()=>'\x20')['replace'](_0x5ab3fe,'\x20')[_0x140f9f(0x12a)](_0x1aea76,'\x20')[_0x140f9f(0x12a)](_0x124ec6,'\x20')['replace'](_0x28ccba,_0x140f9f(0x470))[_0x140f9f(0x12a)](_0x1b11dd,'$1\x20')[_0x140f9f(0x12a)](_0x4d0aba,'\x20')[_0x140f9f(0x12a)](_0x1f6dbf,_0x140f9f(0x470));return _0x1eed44['test'](_0x2eedee);}function _0x2c1580(_0x315e01,_0x5b779b){return _0x5d2e6a(_0x17b18e(_0x315e01,_0x5b779b),_0x5b779b);}function _0x4d99f6(_0x40c1ed,_0x10b5e0){return _0x235387(_0x2c1580(_0x40c1ed,_0x10b5e0),_0x10b5e0);}function _0x235387(_0x4252b7,_0x5d8a33){return _0x4252b7['replace'](/"(?:""|[^"])*"/g,_0x5d8a33);}function _0x17b18e(_0x414236,_0x5d7345){const _0x579920=_0x10b817;return _0xd78f4d[_0x579920(0x4f9)]=0x0,_0x414236[_0x579920(0x12a)](_0xd78f4d,(_0x1d8584,_0x2824f1)=>_0x5c3e75(_0x414236,_0x2824f1)?_0x1d8584:_0x5d7345(_0x1d8584));}let _0x1d91ea=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x5d2e6a(_0x47c737,_0x3c6ccf){const _0x48cd2c=_0x10b817;let _0x1d3a67=[];for(_0x1d91ea[_0x48cd2c(0x4f9)]=0x0;;){let _0x78c01f=_0x1d91ea[_0x48cd2c(0x30d)](_0x47c737);if(_0x78c01f==null)break;if(_0x5c3e75(_0x47c737,_0x78c01f['index']))continue;let _0x19dfa1=_0x1d91ea[_0x48cd2c(0x4f9)]-0x1,_0x2c8633=0x0;for(let _0x29ace5=_0x19dfa1;_0x29ace5<_0x47c737[_0x48cd2c(0x350)];_0x29ace5++)if(_0x47c737[_0x29ace5]==='['&&_0x2c8633++,_0x47c737[_0x29ace5]===']'&&(_0x2c8633--,_0x2c8633===0x0)){_0x1d3a67[_0x48cd2c(0x558)]({'start':_0x78c01f[_0x48cd2c(0x2dd)],'end':_0x29ace5+0x1}),_0x1d91ea[_0x48cd2c(0x4f9)]=_0x29ace5+0x1;break;}}if(_0x1d3a67[_0x48cd2c(0x350)]===0x0)return _0x47c737;let _0x337358='',_0x40fdaf=0x0;for(let _0x4d0e94 of _0x1d3a67)_0x337358+=_0x47c737[_0x48cd2c(0x2a3)](_0x40fdaf,_0x4d0e94['start']),_0x337358+=_0x3c6ccf(_0x47c737[_0x48cd2c(0x2a3)](_0x4d0e94[_0x48cd2c(0x41f)],_0x4d0e94[_0x48cd2c(0x23f)])),_0x40fdaf=_0x4d0e94[_0x48cd2c(0x23f)];return _0x337358+_0x47c737[_0x48cd2c(0x2a3)](_0x40fdaf);}function _0x5c3e75(_0x442193,_0x34af52){let _0x554d3a=!0x1;for(let _0x3ea741=0x0;_0x3ea741<_0x34af52;_0x3ea741++)if(_0x442193[_0x3ea741]==='\x22'){if(_0x554d3a&&_0x442193[_0x3ea741+0x1]==='\x22'){_0x3ea741++;continue;}_0x554d3a=!_0x554d3a;}return _0x554d3a;}function _0x8395a3(_0x21ad25,_0x3d00c2,_0x1cb976,_0x5bc94f){const _0x25eb10=_0x10b817;let _0x1da4ca=_0x32aecc(_0x21ad25[_0x25eb10(0x47e)],_0x3d00c2,_0x1cb976,_0x5bc94f);return{'table':_0x1da4ca,'field':_0x1da4ca?Object['values'](_0x1da4ca[_0x25eb10(0x22d)])[_0x25eb10(0x3d7)](_0x43745f=>_0x43745f[_0x25eb10(0x4ed)]===_0x21ad25[_0x25eb10(0x4d9)]):void 0x0};}function _0x32aecc(_0x98cc10,_0x5f552a,_0x248233,_0x2d90df){const _0x48085d=_0x10b817;if(!_0x98cc10)return _0x5f552a;if(!_0x248233){var _0x54e5b9;let _0x38ca28=_0x98cc10[_0x48085d(0x4fa)]();return _0x38ca28===_0x5f552a['id'][_0x48085d(0x4fa)]()||_0x38ca28===_0x5f552a[_0x48085d(0x4ed)][_0x48085d(0x4fa)]()||_0x38ca28===((_0x54e5b9=_0x5f552a[_0x48085d(0x1f7)])==null?void 0x0:_0x54e5b9[_0x48085d(0x4fa)]())?_0x5f552a:void 0x0;}let _0x466756=_0x98cc10['toLowerCase'](),_0x5aae69=_0x2d90df??(0x0,_0x1684be[_0x48085d(0x394)])(_0x248233),_0xa7020e=Object['values'](_0x248233[_0x48085d(0x135)])[_0x48085d(0x2b7)](_0x1a3caa=>{const _0x77b4c5=_0x48085d;var _0xc809ec;return _0x1a3caa['id'][_0x77b4c5(0x4fa)]()===_0x466756||_0x1a3caa[_0x77b4c5(0x4ed)][_0x77b4c5(0x4fa)]()===_0x466756||((_0xc809ec=_0x5aae69['get'](_0x1a3caa['id']))==null?void 0x0:_0xc809ec[_0x77b4c5(0x4fa)]())===_0x466756||_0x371a1a(_0x1a3caa['id'])[_0x77b4c5(0x4fa)]()===_0x466756;});return _0xa7020e[_0x48085d(0x350)]===0x1?_0xa7020e[0x0]:void 0x0;}function _0x371a1a(_0x42351b){const _0x1bb757=_0x10b817;return _0x1bb757(0x1cc)+Array[_0x1bb757(0x1dd)](_0x42351b,_0x1bd800=>{const _0x381632=_0x1bb757;var _0x2c9b16;return/[A-Za-z0-9]/[_0x381632(0x3db)](_0x1bd800)?_0x1bd800:'_x'+(((_0x2c9b16=_0x1bd800['codePointAt'](0x0))==null?void 0x0:_0x2c9b16[_0x381632(0x41c)](0x10))??'0')+'_';})[_0x1bb757(0x214)]('');}let _0x39cb23=new _0x800605();function _0x249aab(_0x17a4f9,_0x52c1f3,_0x19dd25){const _0x325d77=_0x10b817;var _0x4490aa;if(_0x19dd25[_0x325d77(0x4af)]!==_0x1684be['BaseFieldType'][_0x325d77(0x232)])return!0x0;let _0x367db9=String(((_0x4490aa=_0x19dd25[_0x325d77(0x414)])==null?void 0x0:_0x4490aa[_0x325d77(0x1eb)])??''),_0x4453e2=_0x17a4f9[_0x325d77(0x438)]();return _0x39cb23['validateFormula'](_0x367db9,_0x4453e2['tables'][_0x52c1f3],{'snapshot':_0x4453e2})[_0x325d77(0x4f7)];}function _0x41e9f9(_0x252b34,_0x230496,_0x2cb3f6){const _0xf60582=_0x10b817;let _0x52744a=_0x252b34['getSnapshot']()[_0xf60582(0x135)][_0x230496];if(!_0x52744a)return!0x1;let {viewIds:_0x22be51,fieldIds:_0x3ef412,recordIds:_0x5f2483}=_0x2cb3f6||{};if(_0x22be51){for(let _0x305e0e of _0x22be51)if(!_0x52744a[_0xf60582(0x1b8)][_0x305e0e])return!0x1;}if(_0x3ef412){for(let _0x39cf9f of _0x3ef412)if(!_0x52744a[_0xf60582(0x22d)][_0x39cf9f])return!0x1;}if(_0x5f2483){for(let _0x553bc5 of _0x5f2483)if(!_0x52744a['records'][_0x553bc5])return!0x1;}return!0x0;}function _0x3e24ca(_0x262ebd,_0x360abb,_0x375503){const _0x1e86d9=_0x10b817;if(_0x375503['id']===_0x1684be[_0x1e86d9(0x26a)]||_0x375503[_0x1e86d9(0x4af)]===_0x1684be[_0x1e86d9(0x1e3)][_0x1e86d9(0x3fe)]||(0x0,_0x1684be['isBaseRecordIdFieldName'])(_0x375503[_0x1e86d9(0x4ed)])||!_0x249aab(_0x262ebd,_0x360abb,_0x375503))return!0x1;let _0x586e13=_0x262ebd[_0x1e86d9(0x438)]();if(!_0x1ecc2f(_0x586e13,_0x375503)[_0x1e86d9(0x4f7)])return!0x1;if(_0x375503[_0x1e86d9(0x4af)]!==_0x1684be[_0x1e86d9(0x1e3)][_0x1e86d9(0x2be)])return!0x0;let _0x5a2e90=_0x57372f(_0x375503);if(!_0x5a2e90)return!0x1;if(_0x5a2e90['relationRole']===void 0x0)return!0x0;if(_0x5a2e90['relationRole']!==_0x1684be[_0x1e86d9(0x15d)][_0x1e86d9(0x225)]||_0x5a2e90[_0x1e86d9(0x139)]!==_0x360abb||_0x5a2e90['multiple']!==!0x1)return!0x1;let _0x1bdcd7=_0x586e13['tables'][_0x360abb];return!Object[_0x1e86d9(0x243)](_0x1bdcd7[_0x1e86d9(0x22d)])[_0x1e86d9(0x4d2)](_0x59793e=>{const _0x349a97=_0x1e86d9;var _0x250f84;return _0x59793e['id']!==_0x375503['id']&&_0x59793e[_0x349a97(0x4af)]===_0x1684be[_0x349a97(0x1e3)][_0x349a97(0x2be)]&&((_0x250f84=_0x57372f(_0x59793e))==null?void 0x0:_0x250f84[_0x349a97(0x47a)])===_0x1684be[_0x349a97(0x15d)]['Parent'];});}function _0xe50eb0(_0x181653,_0x4fb072,_0x1fdeb0,_0x33027c){const _0x8ed66a=_0x10b817;var _0x53554e;let _0x103d80=_0x181653['getSnapshot'](),_0x458fb1=(_0x53554e=_0x103d80[_0x8ed66a(0x135)][_0x4fb072])==null?void 0x0:_0x53554e[_0x8ed66a(0x22d)][_0x1fdeb0];return!_0x458fb1||_0x458fb1['id']===_0x1684be['BASE_RECORD_ID_FIELD_ID']||_0x458fb1[_0x8ed66a(0x4af)]===_0x1684be[_0x8ed66a(0x1e3)][_0x8ed66a(0x3fe)]?!0x1:_0x458fb1[_0x8ed66a(0x4af)]!==_0x1684be[_0x8ed66a(0x1e3)][_0x8ed66a(0x2be)]||_0x161c3c(_0x103d80,_0x458fb1,_0x41c519(_0x33027c))[_0x8ed66a(0x4f7)];}function _0x1f6973(_0x332837,_0x406da2,_0x43113f){const _0x1ea749=_0x10b817;let _0x2b35ab=_0x332837[_0x1ea749(0x438)]()['tables'][_0x406da2];return!_0x2b35ab||!(0x0,_0x1684be[_0x1ea749(0x26e)])(_0x43113f['id'])||_0x2b35ab[_0x1ea749(0x510)][_0x43113f['id']]||Object[_0x1ea749(0x19f)][_0x1ea749(0x339)][_0x1ea749(0x3e7)](_0x43113f['values'],_0x1684be['BASE_RECORD_ID_FIELD_ID'])&&_0x43113f[_0x1ea749(0x243)][_0x1684be[_0x1ea749(0x26a)]]!==_0x43113f['id']?!0x1:Object[_0x1ea749(0x172)](_0x43113f['values'])['every'](([_0x35139b,_0x125d39])=>_0x35139b===_0x1684be[_0x1ea749(0x26a)]||_0xe50eb0(_0x332837,_0x406da2,_0x35139b,_0x125d39));}function _0x3a1a7a(_0x9057cc){const _0xb8a04=_0x10b817;return{..._0x9057cc,'values':{..._0x9057cc[_0xb8a04(0x243)],[_0x1684be['BASE_RECORD_ID_FIELD_ID']]:_0x9057cc['id']}};}function _0x41c519(_0x3d0b05){const _0x37a3f1=_0x10b817;if(_0x3d0b05&&typeof _0x3d0b05=='object'&&!Array[_0x37a3f1(0x233)](_0x3d0b05)&&'v'in _0x3d0b05){let _0x24dd10=_0x3d0b05['v'];return _0x24dd10===void 0x0?null:_0x24dd10;}return _0x3d0b05;}function _0x5e0694(_0x52757a,_0x52e31b,_0xc16143,_0x50cc86){const _0x1a38cb=_0x10b817;let _0x1ab418=_0x52757a[_0x1a38cb(0x438)]()['tables'][_0x52e31b];if(!_0x1ab418)return null;let _0x37b269=_0x205eaf(_0x1ab418),_0x28c528=_0x37b269??_0xebf24e(_0x1ab418),_0x39a16d=_0xc16143[_0x1a38cb(0x4d2)](_0x3b4c91=>Object[_0x1a38cb(0x19f)][_0x1a38cb(0x339)]['call'](_0x3b4c91[_0x1a38cb(0x243)],_0x28c528)),_0x695614=_0x37b269?_0x1ab418[_0x1a38cb(0x22d)][_0x37b269]:_0x39a16d?_0x3e1a64(_0x1ab418,_0x28c528,_0x50cc86):null,_0x3cc156=[];for(let _0x3c2602 of _0xc16143){let _0x247247=_0x3c2602[_0x1a38cb(0x243)][_0x28c528],_0x2fd39d=_0x695614!==null&&Object[_0x1a38cb(0x19f)][_0x1a38cb(0x339)][_0x1a38cb(0x3e7)](_0x3c2602['values'],_0x28c528),_0x50e7cb=_0x41c519(_0x247247),_0x25979f=null;if(_0x2fd39d){if(typeof _0x50e7cb!=_0x1a38cb(0x488)||!_0x188677(_0x50e7cb,!0x1)[_0x1a38cb(0x4f7)])return null;_0x25979f=_0x50e7cb;}let _0x7f729d={};if(Object['entries'](_0x3c2602[_0x1a38cb(0x243)])[_0x1a38cb(0x4ac)](([_0x258b21,_0x12f587])=>{(!_0x2fd39d||_0x258b21!==_0x28c528)&&(_0x7f729d[_0x258b21]=_0x12f587);}),!_0x1f6973(_0x52757a,_0x52e31b,{..._0x3c2602,'values':_0x7f729d}))return null;let _0x4836c3={..._0x3c2602['values']};_0x25979f!==null&&(_0x4836c3[_0x28c528]=_0x25979f),_0x3cc156[_0x1a38cb(0x558)](_0x3a1a7a({..._0x3c2602,'values':_0x4836c3}));}return{'records':_0x3cc156,'hierarchyFieldToMaterialize':_0x37b269?null:_0x695614,'hierarchyChanges':_0x3d0143(_0x1ab418,_0x3cc156)};}let _0x4d879c={'id':'base.command.batch-create-base-records','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x1ebea1,_0x371ae7){const _0x28e778=_0x10b817;if(!_0x371ae7)return!0x1;let _0x5337d3=_0x1ebea1['get'](_0x1684be['IUniverInstanceService']),{unitId:_0x33788b,tableId:_0x48a7aa,records:_0x9f1922}=_0x371ae7,_0x50fd51=_0x5337d3[_0x28e778(0x282)](_0x33788b,_0x1684be[_0x28e778(0x4b4)][_0x28e778(0x1a9)]),_0x20be1b=_0x9f1922[_0x28e778(0x4fd)](_0x413ddd=>_0x413ddd['id']);if(!_0x50fd51||!_0x41e9f9(_0x50fd51,_0x48a7aa)||new Set(_0x20be1b)[_0x28e778(0x51d)]!==_0x20be1b[_0x28e778(0x350)])return!0x1;let _0x35dbfc=_0x1ebea1['get'](_0x1684be[_0x28e778(0x35c)]),_0x76ac7a=_0x1ebea1[_0x28e778(0x353)](_0x1684be[_0x28e778(0x4ff)]),_0x6d71f=_0x1ebea1[_0x28e778(0x353)](_0x7d47b6),_0x554011=_0x50fd51[_0x28e778(0x438)](),_0x128e5e=_0x5e0694(_0x50fd51,_0x48a7aa,_0x9f1922);if(!_0x128e5e)return!0x1;let {records:_0x3c1314,hierarchyChanges:_0x4f65d9,hierarchyFieldToMaterialize:_0x2ccadd}=_0x128e5e,_0x42b131=_0x2ccadd?_0x6d71f[_0x28e778(0x3a5)](_0x50fd51,_0x48a7aa,_0x2ccadd,_0x554011[_0x28e778(0x135)][_0x48a7aa][_0x28e778(0x3c3)][_0x28e778(0x350)]):null,_0x2d7985=_0x6d71f['createBatchCreateRecordsOp'](_0x50fd51,_0x48a7aa,_0x3c1314),_0x4dd50f=_0x33735e([..._0x42b131?[_0x42b131]:[],_0x2d7985]),_0x7e0b3b=new _0x540632()[_0x28e778(0x4fb)](_0x554011,_0x4dd50f),_0x3c1b76={'unitId':_0x33788b,'op':_0x4dd50f,'hierarchyChanges':_0x4f65d9[_0x28e778(0x350)]?_0x4f65d9:void 0x0,'source':_0x4f65d9['length']?_0x371ae7[_0x28e778(0x12c)]??'ui':void 0x0},_0x45060b={..._0x3c1b76,'source':_0x4f65d9[_0x28e778(0x350)]?_0x28e778(0x524):void 0x0},_0x17f533={'unitId':_0x33788b,'op':_0x7e0b3b,'hierarchyChanges':_0x4f65d9['length']?_0x4f65d9[_0x28e778(0x4fd)](_0x5b6cd1=>({..._0x5b6cd1,'oldParentRecordId':_0x5b6cd1['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x4f65d9[_0x28e778(0x350)]?_0x28e778(0x384):void 0x0};return _0x35dbfc['syncExecuteCommand'](_0x325a9e['id'],_0x3c1b76)?(_0x5337d3[_0x28e778(0x326)](_0x33788b),_0x76ac7a[_0x28e778(0x2ee)]({'unitID':_0x33788b,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x17f533}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x45060b}]}),!0x0):!0x1;}},_0x3a7feb={'id':'base.command.batch-delete-base-records','type':_0x1684be['CommandType']['COMMAND'],'handler':(_0x36d3de,_0x4bb063)=>{const _0x729f5f=_0x10b817;if(!_0x4bb063)return!0x1;let _0x54027f=_0x36d3de[_0x729f5f(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x299337,tableId:_0x8c0530,recordIds:_0x873195}=_0x4bb063,_0x33f515=_0x54027f[_0x729f5f(0x282)](_0x299337,_0x1684be['UniverInstanceType'][_0x729f5f(0x1a9)]);if(!_0x33f515||!_0x41e9f9(_0x33f515,_0x8c0530,{'recordIds':_0x873195}))return!0x1;let _0x590e06=_0x36d3de['get'](_0x1684be[_0x729f5f(0x35c)]),_0x1b3d72=_0x36d3de[_0x729f5f(0x353)](_0x1684be[_0x729f5f(0x4ff)]),_0x503ce3=_0x33f515['getSnapshot'](),_0x2b51b9=_0x3fecef(_0x503ce3['tables'][_0x8c0530],_0x873195),_0x25cf7a=new _0x519e7e(),_0x4047d5=new _0x540632(),_0x3b7507=_0x25cf7a[_0x729f5f(0x436)](_0x503ce3,_0x8c0530,_0x873195),_0x52ee51=_0x4047d5[_0x729f5f(0x32f)](_0x503ce3,_0x3b7507),_0x13f0cd=_0x25cf7a[_0x729f5f(0x36c)](_0x503ce3,_0x52ee51,_0x8c0530,_0x873195),_0x14b471={'unitId':_0x299337,'op':_0x3b7507,'hierarchyChanges':_0x2b51b9,'source':_0x4bb063[_0x729f5f(0x12c)]??'ui'},_0x64a337={..._0x14b471,'source':_0x729f5f(0x524)},_0x5c11f9={'unitId':_0x299337,'op':_0x13f0cd,'hierarchyChanges':_0x2b51b9[_0x729f5f(0x4fd)](_0x41e1b2=>({..._0x41e1b2,'oldParentRecordId':_0x41e1b2[_0x729f5f(0x201)],'parentRecordId':_0x41e1b2['oldParentRecordId']})),'source':_0x729f5f(0x384)};return _0x590e06[_0x729f5f(0x12b)](_0x325a9e['id'],_0x14b471)?(_0x54027f[_0x729f5f(0x326)](_0x299337),_0x1b3d72[_0x729f5f(0x2ee)]({'unitID':_0x299337,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x5c11f9}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x64a337}]}),!0x0):!0x1;}},_0x57106c={'id':_0x10b817(0x4c7),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x4d0315,_0x21b454)=>{const _0x20c2ae=_0x10b817;if(!_0x21b454)return!0x1;let _0x2571d6=_0x4d0315['get'](_0x1684be['IUniverInstanceService']),{unitId:_0x3bb7cd,tableId:_0x15ce30,fieldId:_0x11da12,input:_0xb44527}=_0x21b454,_0x4bb26d=_0x2571d6[_0x20c2ae(0x282)](_0x3bb7cd,_0x1684be[_0x20c2ae(0x4b4)][_0x20c2ae(0x1a9)]);if(!_0x4bb26d||_0x11da12===_0x1684be[_0x20c2ae(0x26a)]||!_0x41e9f9(_0x4bb26d,_0x15ce30,{'fieldIds':[_0x11da12]}))return!0x1;let _0x1ac63f=_0x4d0315[_0x20c2ae(0x353)](_0x1684be[_0x20c2ae(0x35c)]),_0x35dee7=_0x4d0315['get'](_0x1684be[_0x20c2ae(0x4ff)]),_0x46a8cc=_0x4bb26d['getSnapshot']();if(!_0x3e24ca(_0x4bb26d,_0x15ce30,{..._0x46a8cc[_0x20c2ae(0x135)][_0x15ce30][_0x20c2ae(0x22d)][_0x11da12],..._0xb44527}))return!0x1;let _0x2bc179=new _0x519e7e()[_0x20c2ae(0x445)](_0x46a8cc,_0x15ce30,_0x11da12,_0xb44527),_0x4b3cbb=new _0x540632()[_0x20c2ae(0x4fb)](_0x46a8cc,_0x2bc179),_0x45d613={'unitId':_0x3bb7cd,'op':_0x2bc179},_0x21d63d={'unitId':_0x3bb7cd,'op':_0x4b3cbb};return _0x1ac63f[_0x20c2ae(0x12b)](_0x325a9e['id'],_0x45d613)?(_0x2571d6['focusUnit'](_0x3bb7cd),_0x35dee7[_0x20c2ae(0x2ee)]({'unitID':_0x3bb7cd,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x21d63d}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x45d613}]}),!0x0):!0x1;}},_0x2cd3e0={'id':_0x10b817(0x3cf),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler'(_0x49a8af,_0x2e090c){const _0xcc9296=_0x10b817;var _0x4abe15;if(!_0x2e090c)return!0x1;let {unitId:_0x146f16,tableId:_0xf71612,parentRecordId:_0x15dfc1}=_0x2e090c,_0x52b0ae=_0x49a8af['get'](_0x1684be[_0xcc9296(0x18c)]),_0x2d5388=_0x52b0ae[_0xcc9296(0x282)](_0x146f16,_0x1684be['UniverInstanceType'][_0xcc9296(0x1a9)]);if(!_0x2d5388||!_0x41e9f9(_0x2d5388,_0xf71612,{'recordIds':[_0x15dfc1]}))throw new _0x13b71c(_0xcc9296(0x273));let _0x43e212=_0x2d5388[_0xcc9296(0x438)](),_0x1f4f5c=_0x43e212[_0xcc9296(0x135)][_0xf71612],_0x2b1d5e=_0x205eaf(_0x1f4f5c),_0x2c9218=_0x2b1d5e??_0x2e090c[_0xcc9296(0x294)]??_0xebf24e(_0x1f4f5c);if(_0x2b1d5e&&_0x2e090c[_0xcc9296(0x294)]&&_0x2e090c[_0xcc9296(0x294)]!==_0x2b1d5e||_0x1f4f5c[_0xcc9296(0x22d)][_0x2c9218]&&!_0x142efb(_0x1f4f5c,_0x2c9218))throw new _0x13b71c(_0xcc9296(0x517));if((_0x2536c4(_0x1f4f5c,_0x2c9218)['depthByRecordId'][_0xcc9296(0x353)](_0x15dfc1)??0x0)+0x1>=0x5)throw new _0x13b71c(_0xcc9296(0x21f));if(!_0x1f6973(_0x2d5388,_0xf71612,_0x2e090c['record']))return!0x1;let _0x139731=_0x3a1a7a({..._0x2e090c['record'],'values':{..._0x2e090c[_0xcc9296(0x40f)][_0xcc9296(0x243)],[_0x2c9218]:_0x835b53([_0x15dfc1])}}),_0x292eae=_0x49a8af[_0xcc9296(0x353)](_0x7d47b6),_0x10937e=new _0x519e7e(),_0x5d28bd=_0x1f4f5c[_0xcc9296(0x22d)][_0x2c9218],_0x596b31=_0x5d28bd?((_0x4abe15=_0x57372f(_0x5d28bd))==null?void 0x0:_0x4abe15[_0xcc9296(0x47a)])===_0x1684be[_0xcc9296(0x15d)]['Parent']?null:_0x10937e[_0xcc9296(0x367)](_0x43e212,_0xf71612,_0x2c9218,{'config':{..._0x5d28bd[_0xcc9296(0x414)],'relationRole':_0x1684be[_0xcc9296(0x15d)][_0xcc9296(0x225)]}}):_0x292eae[_0xcc9296(0x3a5)](_0x2d5388,_0xf71612,_0x3e1a64(_0x1f4f5c,_0x2c9218,_0x2e090c['parentFieldName']),_0x1f4f5c[_0xcc9296(0x3c3)][_0xcc9296(0x350)]),_0x1dd9a4=_0x292eae[_0xcc9296(0x321)](_0x2d5388,_0xf71612,_0x139731),_0x5d1e23=_0x33735e([..._0x596b31?[_0x596b31]:[],_0x1dd9a4]),_0x10f77b=new _0x540632()[_0xcc9296(0x4fb)](_0x43e212,_0x5d1e23),_0x22b0f2={'tableId':_0xf71612,'fieldId':_0x2c9218,'recordId':_0x139731['id'],'oldParentRecordId':null,'parentRecordId':_0x15dfc1},_0x12c459={'unitId':_0x146f16,'op':_0x5d1e23,'trigger':_0x2cd3e0['id'],'hierarchyChanges':[_0x22b0f2],'source':_0x2e090c['source']??'ui'},_0x3e8e69={..._0x12c459,'source':'redo'},_0x477df1={'unitId':_0x146f16,'op':_0x10f77b,'trigger':_0x2cd3e0['id'],'hierarchyChanges':[{..._0x22b0f2,'oldParentRecordId':_0x15dfc1,'parentRecordId':null}],'source':_0xcc9296(0x384)};return _0x49a8af[_0xcc9296(0x353)](_0x1684be[_0xcc9296(0x35c)])[_0xcc9296(0x12b)](_0x325a9e['id'],_0x12c459)?(_0x52b0ae[_0xcc9296(0x326)](_0x146f16),_0x49a8af['get'](_0x1684be[_0xcc9296(0x4ff)])[_0xcc9296(0x2ee)]({'unitID':_0x146f16,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x477df1}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x3e8e69}]}),!0x0):!0x1;}},_0x3d633b={'id':_0x10b817(0x41e),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x4ea2fa,_0x5d2381){const _0x2f3ade=_0x10b817;if(!_0x5d2381)return!0x1;let _0x58c14e=_0x4ea2fa[_0x2f3ade(0x353)](_0x1684be[_0x2f3ade(0x18c)]),{unitId:_0x61293c,tableId:_0x23bcd6,field:_0x36ae9d,index:_0x59df5c,viewIndexes:_0x37fdee}=_0x5d2381,_0x2d7a10=_0x58c14e[_0x2f3ade(0x282)](_0x61293c,_0x1684be[_0x2f3ade(0x4b4)][_0x2f3ade(0x1a9)]);if(!_0x2d7a10||!_0x41e9f9(_0x2d7a10,_0x23bcd6)||_0x2d7a10[_0x2f3ade(0x438)]()['tables'][_0x23bcd6][_0x2f3ade(0x22d)][_0x36ae9d['id']]||_0x59df5c===0x0||!_0x3e24ca(_0x2d7a10,_0x23bcd6,_0x36ae9d))return!0x1;let _0x31349d=_0x4ea2fa[_0x2f3ade(0x353)](_0x1684be[_0x2f3ade(0x35c)]),_0x4d6a0c=_0x4ea2fa[_0x2f3ade(0x353)](_0x1684be[_0x2f3ade(0x4ff)]),_0x4c687f=_0x4ea2fa[_0x2f3ade(0x353)](_0x7d47b6)['createCreateFieldOp'](_0x2d7a10,_0x23bcd6,_0x36ae9d,_0x59df5c,_0x37fdee),_0x5914db=new _0x540632()[_0x2f3ade(0x4fb)](_0x2d7a10[_0x2f3ade(0x438)](),_0x4c687f),_0x4febcd={'unitId':_0x61293c,'op':_0x4c687f},_0x3c1571={'unitId':_0x61293c,'op':_0x5914db};return _0x31349d['syncExecuteCommand'](_0x325a9e['id'],_0x4febcd)?(_0x58c14e[_0x2f3ade(0x326)](_0x61293c),_0x4d6a0c['pushUndoRedo']({'unitID':_0x61293c,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x3c1571}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x4febcd}]}),!0x0):!0x1;}},_0x1bff26={'id':'base.command.create-base-record','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x250b09,_0x49fef6){const _0x18a10c=_0x10b817;if(!_0x49fef6)return!0x1;let _0x372ce0=_0x250b09['get'](_0x1684be[_0x18a10c(0x18c)]),{unitId:_0x1080cc,tableId:_0xe9f8ba,record:_0x14d9ad}=_0x49fef6,_0x241db8=_0x372ce0[_0x18a10c(0x282)](_0x1080cc,_0x1684be[_0x18a10c(0x4b4)][_0x18a10c(0x1a9)]);if(!_0x241db8||!_0x41e9f9(_0x241db8,_0xe9f8ba))return!0x1;let _0x2a8cdc=_0x250b09[_0x18a10c(0x353)](_0x1684be[_0x18a10c(0x35c)]),_0x3de1c0=_0x250b09[_0x18a10c(0x353)](_0x1684be[_0x18a10c(0x4ff)]),_0x4b25d0=_0x250b09[_0x18a10c(0x353)](_0x7d47b6),_0x5616a1=_0x241db8['getSnapshot'](),_0x4ae83f=_0x5e0694(_0x241db8,_0xe9f8ba,[_0x14d9ad]);if(!_0x4ae83f)return!0x1;let [_0x420e13]=_0x4ae83f[_0x18a10c(0x510)],{hierarchyChanges:_0x34d90d,hierarchyFieldToMaterialize:_0x329b62}=_0x4ae83f,_0x4aefa2=_0x329b62?_0x4b25d0['createCreateFieldOp'](_0x241db8,_0xe9f8ba,_0x329b62,_0x5616a1[_0x18a10c(0x135)][_0xe9f8ba][_0x18a10c(0x3c3)][_0x18a10c(0x350)]):null,_0x4b8492=_0x4b25d0['createCreateRecordOp'](_0x241db8,_0xe9f8ba,_0x420e13),_0x51b3d0=_0x33735e([..._0x4aefa2?[_0x4aefa2]:[],_0x4b8492]),_0x3cdf69=new _0x540632()[_0x18a10c(0x4fb)](_0x5616a1,_0x51b3d0),_0x23e942={'unitId':_0x1080cc,'op':_0x51b3d0,'hierarchyChanges':_0x34d90d[_0x18a10c(0x350)]?_0x34d90d:void 0x0,'source':_0x34d90d[_0x18a10c(0x350)]?_0x49fef6[_0x18a10c(0x12c)]??'ui':void 0x0},_0x1656af={..._0x23e942,'source':_0x34d90d['length']?_0x18a10c(0x524):void 0x0},_0x2ec14d={'unitId':_0x1080cc,'op':_0x3cdf69,'hierarchyChanges':_0x34d90d[_0x18a10c(0x350)]?_0x34d90d[_0x18a10c(0x4fd)](_0x473cc3=>({..._0x473cc3,'oldParentRecordId':_0x473cc3['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x34d90d[_0x18a10c(0x350)]?'undo':void 0x0};return _0x2a8cdc[_0x18a10c(0x12b)](_0x325a9e['id'],_0x23e942)?(_0x372ce0[_0x18a10c(0x326)](_0x1080cc),_0x3de1c0[_0x18a10c(0x2ee)]({'unitID':_0x1080cc,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x2ec14d}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x1656af}]}),!0x0):!0x1;}};function _0x4691b8(_0x1b588a,_0x16db11,_0x3ba87f){const _0x57bae6=_0x10b817;if(!_0x16db11['trim']())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x57bae6(0x2f4)};if(_0x16db11[_0x57bae6(0x350)]>0x1f)return{'valid':!0x1,'reason':_0x57bae6(0x122),'error':_0x57bae6(0x160)};if(_0x16db11['startsWith']('\x27')||_0x16db11[_0x57bae6(0x11f)]('\x27'))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','error':_0x57bae6(0x461)};if(/[:\\/?*\[\]]/[_0x57bae6(0x3db)](_0x16db11))return{'valid':!0x1,'reason':_0x57bae6(0x129),'error':_0x57bae6(0x439)};if(!(0x0,_0x1684be[_0x57bae6(0x16f)])(_0x16db11))return{'valid':!0x1,'reason':_0x57bae6(0x133),'error':_0x57bae6(0x475)};let _0x5e05fa=_0x16db11['toLowerCase']();return Object[_0x57bae6(0x243)](_0x1b588a[_0x57bae6(0x135)])[_0x57bae6(0x4d2)](_0x3b1b6e=>_0x3b1b6e['id']!==_0x3ba87f&&_0x3b1b6e[_0x57bae6(0x4ed)]['toLowerCase']()===_0x5e05fa)?{'valid':!0x1,'reason':_0x57bae6(0x511),'error':_0x57bae6(0x38f)}:{'valid':!0x0};}function _0x2bfc7f(_0x1b44f0,_0x5d3377){const _0x31614f=_0x10b817;let _0x4cc139=_0x5d3377[_0x31614f(0x12a)](/[:\\/?*\[\]]/g,'\x20')['replace'](/^'+|'+$/g,'')[_0x31614f(0x328)]()||_0x31614f(0x17d),_0x1184cb=0x1;for(;;){let _0x2b1ef4=_0x1184cb===0x1?'':'\x20'+_0x1184cb,_0x1ae55a=''+_0x4cc139['slice'](0x0,0x1f-_0x2b1ef4[_0x31614f(0x350)])+_0x2b1ef4;if(_0x4691b8(_0x1b44f0,_0x1ae55a)[_0x31614f(0x4f7)])return _0x1ae55a;_0x1184cb++;}}let _0x29d1b5={'id':_0x10b817(0x473),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x32d254,_0x53171a)=>{const _0x3c310e=_0x10b817;if(!_0x53171a)return!0x1;let _0x44bf13=_0x32d254['get'](_0x1684be[_0x3c310e(0x18c)]),{unitId:_0x4a56e8,table:_0x89b38e,index:_0x1ad7ce}=_0x53171a,_0x40e451=_0x44bf13['getUnit'](_0x4a56e8,_0x1684be[_0x3c310e(0x4b4)][_0x3c310e(0x1a9)]);if(!_0x40e451||_0x40e451[_0x3c310e(0x438)]()['tables'][_0x89b38e['id']]||!_0x4691b8(_0x40e451[_0x3c310e(0x438)](),_0x89b38e[_0x3c310e(0x4ed)])['valid'])return!0x1;try{(0x0,_0x1684be['assertBaseTableRecordIdentity'])(_0x89b38e);}catch{return!0x1;}let _0x16370c=_0x32d254[_0x3c310e(0x353)](_0x1684be['ICommandService']),_0x104482=_0x32d254[_0x3c310e(0x353)](_0x1684be[_0x3c310e(0x4ff)]),_0x318df9=_0x40e451[_0x3c310e(0x438)](),_0x271309=new _0x519e7e()[_0x3c310e(0x32b)](_0x318df9,_0x89b38e,_0x1ad7ce),_0x47523c=new _0x540632()[_0x3c310e(0x4fb)](_0x318df9,_0x271309),_0x23fb65={'unitId':_0x4a56e8,'op':_0x271309},_0x52e326={'unitId':_0x4a56e8,'op':_0x47523c};return _0x16370c[_0x3c310e(0x12b)](_0x325a9e['id'],_0x23fb65)?(_0x44bf13['focusUnit'](_0x4a56e8),_0x104482[_0x3c310e(0x2ee)]({'unitID':_0x4a56e8,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x52e326}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x23fb65}]}),!0x0):!0x1;}};function _0x516e9a(_0x4656c5,_0x2c5d0e,_0x403fd0=[]){const _0x44214a=_0x10b817;let _0x574abf=new Set([...Object[_0x44214a(0x243)](_0x4656c5[_0x44214a(0x22d)])[_0x44214a(0x2b7)](_0x3d7965=>_0x3d7965)[_0x44214a(0x4fd)](_0x576829=>_0x576829[_0x44214a(0x4ed)]),..._0x403fd0[_0x44214a(0x4fd)](_0x135736=>_0x135736[_0x44214a(0x4ed)])]);if(!_0x574abf[_0x44214a(0x11b)](_0x2c5d0e))return _0x2c5d0e;let _0x3d435f=0x2;for(;_0x574abf[_0x44214a(0x11b)](_0x2c5d0e+'\x20'+_0x3d435f);)_0x3d435f++;return _0x2c5d0e+'\x20'+_0x3d435f;}function _0x4fb386(_0x6c7755,_0xb628b5){const _0xb152f9=_0x10b817;if(!_0x6c7755||!_0xb628b5[_0xb152f9(0x350)])return;let _0x2eaad7=[..._0x6c7755];return _0xb628b5[_0xb152f9(0x4ac)](_0x8146dc=>{const _0x401156=_0xb152f9;_0x2eaad7[_0x401156(0x41a)](_0x8146dc)||_0x2eaad7[_0x401156(0x558)](_0x8146dc);}),_0x2eaad7;}let _0x46f389={'options':[{'id':_0x10b817(0x53e),'name':_0x10b817(0x3e1),'color':_0x10b817(0x32d)},{'id':_0x10b817(0x1c4),'name':'Doing','color':_0x10b817(0x493)},{'id':'done','name':_0x10b817(0x46c),'color':_0x10b817(0x3e9)}]},_0x417d56={'locale':_0x10b817(0x36f),'pattern':_0x10b817(0x149),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x10b817(0x3a6)};function _0xfea10d(_0x5a3909,_0x1ff3a8,_0x54731e,_0x109dd7){const _0x1a20d5=_0x10b817;var _0x226d47;let _0x1edbe3=new _0x519e7e(),_0x2b9685=_0x5a3909[_0x1a20d5(0x135)][_0x1ff3a8],_0xd93a58=_0x2b9685?{..._0x54731e,'fieldOrder':[_0x1684be[_0x1a20d5(0x26a)],...(_0x54731e[_0x1a20d5(0x3c3)]??_0x2b9685[_0x1a20d5(0x3c3)])[_0x1a20d5(0x2b7)](_0xc262a3=>_0xc262a3!==_0x1684be[_0x1a20d5(0x26a)])],'fieldSettings':{..._0x54731e[_0x1a20d5(0x55d)],[_0x1684be[_0x1a20d5(0x26a)]]:{...(_0x226d47=_0x54731e[_0x1a20d5(0x55d)])==null?void 0x0:_0x226d47[_0x1684be[_0x1a20d5(0x26a)]],'hidden':!0x0}}}:_0x54731e;if(_0x2b9685&&_0xd93a58[_0x1a20d5(0x4af)]===_0x1a20d5(0x185)){let _0x515b7a=_0x55b54a(_0x2b9685,_0xd93a58),_0x52bd50=_0x515b7a[_0x1a20d5(0x2d2)]?{..._0xd93a58,'config':_0x515b7a[_0x1a20d5(0x414)],'fieldOrder':_0x515b7a[_0x1a20d5(0x3c3)]??_0xd93a58[_0x1a20d5(0x3c3)]}:_0xd93a58;return _0x33735e([..._0x515b7a[_0x1a20d5(0x22d)][_0x1a20d5(0x4fd)](_0x5e4a61=>_0x1edbe3[_0x1a20d5(0x15b)](_0x5a3909,_0x1ff3a8,{'field':_0x5e4a61})),_0x1edbe3[_0x1a20d5(0x45f)](_0x5a3909,_0x1ff3a8,_0x52bd50,_0x109dd7)]);}if(!_0x2b9685||_0xd93a58[_0x1a20d5(0x4af)]!==_0x1a20d5(0x284)&&_0xd93a58[_0x1a20d5(0x4af)]!==_0x1a20d5(0x2a1))return _0x1edbe3[_0x1a20d5(0x45f)](_0x5a3909,_0x1ff3a8,_0xd93a58,_0x109dd7);let _0x2e50a9=_0x35325b(_0x2b9685,_0xd93a58),_0x3f38cf=_0x2e50a9[_0x1a20d5(0x2d2)]?{..._0xd93a58,'config':_0x2e50a9['config'],'fieldOrder':_0x2e50a9[_0x1a20d5(0x3c3)]??_0xd93a58[_0x1a20d5(0x3c3)]}:_0xd93a58;return _0xd93a58[_0x1a20d5(0x4af)]==='gantt'&&_0x477cda(_0xd93a58)&&(_0x3f38cf=_0x241851(_0x2b9685,_0x3f38cf,_0x2e50a9[_0x1a20d5(0x22d)])),_0x33735e([..._0x2e50a9['fields']['map'](_0x2fcb1f=>_0x1edbe3[_0x1a20d5(0x15b)](_0x5a3909,_0x1ff3a8,{'field':_0x2fcb1f})),_0x1edbe3[_0x1a20d5(0x45f)](_0x5a3909,_0x1ff3a8,_0x3f38cf,_0x109dd7)]);}function _0x35325b(_0x44c544,_0x3d0317,_0x39b334=!0x1){const _0xaa79e1=_0x10b817;var _0x5b36f3,_0x2e867c;let _0x176e8f=_0x44c544['fieldOrder'][_0xaa79e1(0x2b7)](_0x4b47dc=>_0x513c8e(_0x44c544,_0x4b47dc)),_0x2eab8a=[],_0x2904d1={..._0x3d0317[_0xaa79e1(0x414)]??{}},_0x25db74=typeof _0x2904d1['startDateFieldId']==_0xaa79e1(0x488)&&_0x513c8e(_0x44c544,_0x2904d1['startDateFieldId'])?_0x2904d1['startDateFieldId']:_0x176e8f[0x0],_0x4792c9=typeof _0x2904d1['endDateFieldId']=='string'&&_0x513c8e(_0x44c544,_0x2904d1['endDateFieldId'])&&_0x2904d1[_0xaa79e1(0x137)]!==_0x25db74?_0x2904d1[_0xaa79e1(0x137)]:_0x176e8f['find'](_0x162351=>_0x162351!==_0x25db74);if(!_0x25db74){let _0x1d92df=_0x133cd2(_0x44c544,_0x2eab8a,_0x3d0317[_0xaa79e1(0x4af)]===_0xaa79e1(0x2a1)?_0xaa79e1(0x4e5):_0xaa79e1(0x382));_0x2eab8a[_0xaa79e1(0x558)](_0x1d92df),_0x25db74=_0x1d92df['id'];}if((_0x3d0317[_0xaa79e1(0x4af)]==='gantt'||_0x39b334)&&!_0x4792c9){let _0x6a8467=_0x133cd2(_0x44c544,_0x2eab8a,_0xaa79e1(0x3c9));_0x2eab8a[_0xaa79e1(0x558)](_0x6a8467),_0x4792c9=_0x6a8467['id'];}_0x3d0317[_0xaa79e1(0x4af)]==='calendar'&&!_0x4792c9&&delete _0x2904d1[_0xaa79e1(0x137)],_0x2904d1[_0xaa79e1(0x3b6)]=_0x25db74,_0x3d0317[_0xaa79e1(0x4af)]===_0xaa79e1(0x284)&&_0x4792c9&&(_0x2904d1['endDateFieldId']=_0x4792c9),_0x3d0317[_0xaa79e1(0x4af)]===_0xaa79e1(0x2a1)&&(_0x2904d1[_0xaa79e1(0x137)]=_0x4792c9??_0x25db74);let _0x1699be=_0x4fb386(_0x3d0317['fieldOrder'],_0x2eab8a[_0xaa79e1(0x4fd)](_0x310de8=>_0x310de8['id']));return{'changed':_0x2eab8a['length']>0x0||_0x2904d1[_0xaa79e1(0x3b6)]!==((_0x5b36f3=_0x3d0317[_0xaa79e1(0x414)])==null?void 0x0:_0x5b36f3[_0xaa79e1(0x3b6)])||_0x2904d1[_0xaa79e1(0x137)]!==((_0x2e867c=_0x3d0317[_0xaa79e1(0x414)])==null?void 0x0:_0x2e867c[_0xaa79e1(0x137)])||!(!_0x1699be||_0x1684be['Tools'][_0xaa79e1(0x1a7)](_0x1699be,_0x3d0317[_0xaa79e1(0x3c3)]??[])),'fields':_0x2eab8a,'config':_0x2904d1,'fieldOrder':_0x1699be};}function _0x55b54a(_0x2c9eb1,_0x5f43e0){const _0xc17043=_0x10b817;var _0x1ea470;let _0x285537=[],_0x5d998d={..._0x5f43e0[_0xc17043(0x414)]??{}},_0x40f167=typeof _0x5d998d[_0xc17043(0x2e1)]==_0xc17043(0x488)&&_0x1ad449(_0x2c9eb1,_0x5d998d[_0xc17043(0x2e1)])?_0x5d998d['groupFieldId']:_0x2c9eb1[_0xc17043(0x3c3)][_0xc17043(0x3d7)](_0x100112=>_0x1ad449(_0x2c9eb1,_0x100112));if(!_0x40f167){let _0x1121f8=_0x4dac83(_0x2c9eb1,_0x285537);_0x285537[_0xc17043(0x558)](_0x1121f8),_0x40f167=_0x1121f8['id'];}_0x5d998d['groupFieldId']=_0x40f167;let _0x4eedcf=_0x4fb386(_0x5f43e0[_0xc17043(0x3c3)],_0x285537['map'](_0xf61dfb=>_0xf61dfb['id']));return{'changed':_0x285537[_0xc17043(0x350)]>0x0||_0x5d998d[_0xc17043(0x2e1)]!==((_0x1ea470=_0x5f43e0[_0xc17043(0x414)])==null?void 0x0:_0x1ea470[_0xc17043(0x2e1)])||!(!_0x4eedcf||_0x1684be[_0xc17043(0x14c)][_0xc17043(0x1a7)](_0x4eedcf,_0x5f43e0['fieldOrder']??[])),'fields':_0x285537,'config':_0x5d998d,'fieldOrder':_0x4eedcf};}function _0x1ad449(_0x3a8407,_0x5b2d4d){const _0x2267e7=_0x10b817;let _0x28ab7f=_0x5b2d4d?_0x3a8407[_0x2267e7(0x22d)][_0x5b2d4d]:null;return _0x28ab7f?[_0x1684be[_0x2267e7(0x1e3)]['SingleSelect'],_0x1684be[_0x2267e7(0x1e3)][_0x2267e7(0x220)],_0x1684be['BaseFieldType'][_0x2267e7(0x55c)],_0x1684be['BaseFieldType'][_0x2267e7(0x3fd)],_0x1684be['BaseFieldType'][_0x2267e7(0x22a)],_0x1684be[_0x2267e7(0x1e3)][_0x2267e7(0x48a)]]['includes'](_0x28ab7f[_0x2267e7(0x4af)]):!0x1;}function _0x4dac83(_0x1d7a6b,_0x5e4913){const _0x29d4e5=_0x10b817;return{'id':_0x29d4e5(0x28f)+(0x0,_0x1684be[_0x29d4e5(0x537)])(0x8),'name':_0x516e9a(_0x1d7a6b,_0x29d4e5(0x349),_0x5e4913),'type':_0x1684be[_0x29d4e5(0x1e3)]['SingleSelect'],'config':_0x1684be[_0x29d4e5(0x14c)][_0x29d4e5(0x471)](_0x46f389)};}function _0x477cda(_0x2a3611){const _0x4d5e94=_0x10b817;return Object[_0x4d5e94(0x176)](_0x2a3611[_0x4d5e94(0x414)]??{})[_0x4d5e94(0x350)]===0x0&&Object['keys'](_0x2a3611[_0x4d5e94(0x55d)]??{})[_0x4d5e94(0x350)]===0x0;}function _0x241851(_0x363c52,_0x437cbe,_0x7887b9){const _0x2f0ce8=_0x10b817;let _0xe60c8c={..._0x437cbe[_0x2f0ce8(0x414)]??{}},_0x7f3c9c=_0x7887b9[_0x2f0ce8(0x4fd)](_0x12cd82=>_0x12cd82['id']),_0x50716f=[..._0x363c52['fieldOrder'],..._0x7f3c9c],_0xab978a=typeof _0xe60c8c[_0x2f0ce8(0x48f)]==_0x2f0ce8(0x488)&&_0x5c3c0c(_0x363c52,_0x7887b9,_0xe60c8c[_0x2f0ce8(0x48f)])?_0xe60c8c[_0x2f0ce8(0x48f)]:_0x363c52['primaryFieldId'],_0x31ec0f=typeof _0xe60c8c[_0x2f0ce8(0x3b6)]==_0x2f0ce8(0x488)?_0xe60c8c['startDateFieldId']:'',_0x570433=typeof _0xe60c8c[_0x2f0ce8(0x137)]==_0x2f0ce8(0x488)?_0xe60c8c[_0x2f0ce8(0x137)]:_0x31ec0f,_0x3679b4=new Set([_0xab978a,_0x31ec0f,_0x570433][_0x2f0ce8(0x2b7)](_0x41d53e=>_0x41d53e&&_0x5c3c0c(_0x363c52,_0x7887b9,_0x41d53e))),_0x421d54=Object[_0x2f0ce8(0x333)](_0x50716f['flatMap'](_0x2a9f39=>_0x3679b4[_0x2f0ce8(0x11b)](_0x2a9f39)||!_0x5c3c0c(_0x363c52,_0x7887b9,_0x2a9f39)?[]:[[_0x2a9f39,{'hidden':!0x0}]]));return{..._0x437cbe,'config':{..._0xe60c8c,'titleFieldId':_0xab978a},'fieldSettings':_0x421d54};}function _0x5c3c0c(_0x581673,_0xbd1e01,_0x1b2da3){const _0x4b4720=_0x10b817;return!!(_0x581673[_0x4b4720(0x22d)][_0x1b2da3]??_0xbd1e01[_0x4b4720(0x3d7)](_0x5e4567=>_0x5e4567['id']===_0x1b2da3))&&!0x0;}function _0x513c8e(_0x4b6502,_0x2193ea){const _0x32e7c2=_0x10b817;let _0x964587=_0x2193ea?_0x4b6502[_0x32e7c2(0x22d)][_0x2193ea]:null;return!!_0x964587&&_0x964587[_0x32e7c2(0x4af)]===_0x1684be[_0x32e7c2(0x1e3)]['Date']&&_0x964587[_0x32e7c2(0x3da)]!==!0x0&&_0x964587[_0x32e7c2(0x1fb)]!==!0x0;}function _0x133cd2(_0x11fc4d,_0x4492fe,_0x531717){const _0x179aba=_0x10b817;let _0x37ff2b=new Set([...Object['keys'](_0x11fc4d['fields']),..._0x4492fe[_0x179aba(0x4fd)](_0x2c8bfb=>_0x2c8bfb['id'])]),_0x5d3ab7=_0x179aba(0x28f)+(0x0,_0x1684be[_0x179aba(0x537)])(0x8);for(;_0x37ff2b[_0x179aba(0x11b)](_0x5d3ab7);)_0x5d3ab7=_0x179aba(0x28f)+(0x0,_0x1684be[_0x179aba(0x537)])(0x8);return{'id':_0x5d3ab7,'name':_0x516e9a(_0x11fc4d,_0x531717,_0x4492fe),'type':_0x1684be[_0x179aba(0x1e3)][_0x179aba(0x382)],'config':{..._0x417d56}};}let _0x17f6fe={'id':'base.command.create-base-view','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x1a4c02,_0x8b955f)=>{const _0x15c696=_0x10b817;if(!_0x8b955f)return!0x1;let _0xe97c42=_0x1a4c02[_0x15c696(0x353)](_0x1684be[_0x15c696(0x18c)]),{unitId:_0x539ab8,tableId:_0x5c39c9,view:_0x2cdd08,index:_0xd26a0d}=_0x8b955f,_0xf3772b=_0xe97c42['getUnit'](_0x539ab8,_0x1684be['UniverInstanceType'][_0x15c696(0x1a9)]);if(!_0xf3772b||!_0x41e9f9(_0xf3772b,_0x5c39c9)||_0xf3772b[_0x15c696(0x438)]()[_0x15c696(0x135)][_0x5c39c9][_0x15c696(0x1b8)][_0x2cdd08['id']])return!0x1;let _0x58cdff=_0x1a4c02[_0x15c696(0x353)](_0x1684be['ICommandService']),_0x3f03d2=_0x1a4c02[_0x15c696(0x353)](_0x1684be['IUndoRedoService']),_0x51357c=_0xf3772b[_0x15c696(0x438)](),_0x1ead3f=_0xfea10d(_0x51357c,_0x5c39c9,_0x2cdd08,_0xd26a0d),_0x18fc8c=new _0x540632()['invertOp'](_0x51357c,_0x1ead3f),_0x10e5e7={'historyAction':_0x15c696(0x258),'unitId':_0x539ab8,'op':_0x1ead3f,'viewType':_0x2cdd08[_0x15c696(0x4af)]},_0x319397={'historyAction':_0x15c696(0x4e0),'unitId':_0x539ab8,'op':_0x18fc8c,'viewType':_0x2cdd08[_0x15c696(0x4af)]};return _0x58cdff[_0x15c696(0x12b)](_0x325a9e['id'],_0x10e5e7)?(_0xe97c42[_0x15c696(0x326)](_0x539ab8),_0x3f03d2[_0x15c696(0x2ee)]({'unitID':_0x539ab8,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x319397}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x10e5e7}]}),!0x0):!0x1;}},_0x38a203={'id':_0x10b817(0x1ca),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler'(_0x4a8363,_0x296bca){const _0x1b3c5a=_0x10b817;if(!_0x296bca)return!0x1;let _0x32dde2=_0x4a8363[_0x1b3c5a(0x353)](_0x1684be[_0x1b3c5a(0x18c)]),{unitId:_0x9135be,tableId:_0x2820bb,fieldId:_0x5c4e21}=_0x296bca,_0x280f65=_0x32dde2[_0x1b3c5a(0x282)](_0x9135be,_0x1684be[_0x1b3c5a(0x4b4)][_0x1b3c5a(0x1a9)]);if(!_0x280f65)return!0x1;let _0x3b58c4=_0x280f65[_0x1b3c5a(0x438)](),_0x591d49=_0x3b58c4[_0x1b3c5a(0x135)][_0x2820bb];if(!_0x41e9f9(_0x280f65,_0x2820bb,{'fieldIds':[_0x5c4e21]})||_0x591d49[_0x1b3c5a(0x396)]===_0x5c4e21||_0x5c4e21===_0x1684be[_0x1b3c5a(0x26a)])return!0x1;let _0x36ffd5=_0x4a8363[_0x1b3c5a(0x353)](_0x1684be[_0x1b3c5a(0x35c)]),_0x13d131=_0x4a8363[_0x1b3c5a(0x353)](_0x1684be[_0x1b3c5a(0x4ff)]),_0xf4910a=new _0x519e7e()['deleteField'](_0x3b58c4,_0x2820bb,_0x5c4e21),_0x244113=new _0x540632()[_0x1b3c5a(0x4fb)](_0x3b58c4,_0xf4910a),_0x18519e={'unitId':_0x9135be,'op':_0xf4910a},_0x5dea18={'unitId':_0x9135be,'op':_0x244113};return _0x36ffd5[_0x1b3c5a(0x12b)](_0x325a9e['id'],_0x18519e)?(_0x32dde2[_0x1b3c5a(0x326)](_0x9135be),_0x13d131['pushUndoRedo']({'unitID':_0x9135be,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x5dea18}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x18519e}]}),!0x0):!0x1;}},_0x1e5bce={'id':_0x10b817(0x293),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x69eaeb,_0x415f2c)=>{const _0x576e49=_0x10b817;if(!_0x415f2c)return!0x1;let _0xeec290=_0x69eaeb[_0x576e49(0x353)](_0x1684be[_0x576e49(0x18c)]),{unitId:_0x4cf065,tableId:_0x88907a,recordId:_0x5b0c60}=_0x415f2c,_0x1ff2c8=_0xeec290[_0x576e49(0x282)](_0x4cf065,_0x1684be[_0x576e49(0x4b4)][_0x576e49(0x1a9)]);if(!_0x1ff2c8||!_0x41e9f9(_0x1ff2c8,_0x88907a,{'recordIds':[_0x5b0c60]}))return!0x1;let _0x2a11ea=_0x69eaeb[_0x576e49(0x353)](_0x1684be['ICommandService']),_0x53bd61=_0x69eaeb['get'](_0x1684be[_0x576e49(0x4ff)]),_0x4c4869=_0x1ff2c8['getSnapshot'](),_0x57a539=_0x3fecef(_0x4c4869[_0x576e49(0x135)][_0x88907a],[_0x5b0c60]),_0x2a730b=new _0x519e7e(),_0x118429=new _0x540632(),_0x212c95=_0x2a730b['deleteRecord'](_0x4c4869,_0x88907a,_0x5b0c60),_0x3bca3e=_0x118429['applyOp'](_0x4c4869,_0x212c95),_0x227a28=_0x2a730b[_0x576e49(0x36c)](_0x4c4869,_0x3bca3e,_0x88907a,[_0x5b0c60]),_0x380010={'unitId':_0x4cf065,'op':_0x212c95,'hierarchyChanges':_0x57a539,'source':_0x415f2c[_0x576e49(0x12c)]??'ui'},_0x35e7a8={..._0x380010,'source':_0x576e49(0x524)},_0x5e641f={'unitId':_0x4cf065,'op':_0x227a28,'hierarchyChanges':_0x57a539[_0x576e49(0x4fd)](_0x45ede3=>({..._0x45ede3,'oldParentRecordId':_0x45ede3[_0x576e49(0x201)],'parentRecordId':_0x45ede3['oldParentRecordId']})),'source':'undo'};return _0x2a11ea[_0x576e49(0x12b)](_0x325a9e['id'],_0x380010)?(_0xeec290[_0x576e49(0x326)](_0x4cf065),_0x53bd61[_0x576e49(0x2ee)]({'unitID':_0x4cf065,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x5e641f}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x35e7a8}]}),!0x0):!0x1;}},_0xfa63b1={'id':_0x10b817(0x53f),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x3f92e2,_0x2fb9c1)=>{const _0x2249cc=_0x10b817;if(!_0x2fb9c1)return!0x1;let _0x1b9297=_0x3f92e2[_0x2249cc(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x3c2887,tableId:_0x5d309c}=_0x2fb9c1,_0xfb3111=_0x1b9297[_0x2249cc(0x282)](_0x3c2887,_0x1684be['UniverInstanceType'][_0x2249cc(0x1a9)]);if(!_0xfb3111||!_0x41e9f9(_0xfb3111,_0x5d309c))return!0x1;let _0x60c46c=_0x3f92e2[_0x2249cc(0x353)](_0x1684be[_0x2249cc(0x35c)]),_0x2fe4b3=_0x3f92e2['get'](_0x1684be['IUndoRedoService']),_0x589501=_0xfb3111['getSnapshot'](),_0x1ef6ea=_0xb53433(_0x589501,_0x5d309c);if(_0x1ef6ea[_0x2249cc(0x350)]>0x0)return console[_0x2249cc(0x27e)](_0x2249cc(0x4fc)+_0x5d309c+'\x22\x20is\x20referenced\x20by\x20'+_0x1ef6ea['map'](_0x29883b=>_0x29883b[_0x2249cc(0x171)]+'.'+_0x29883b[_0x2249cc(0x294)])['join'](',\x20')+'.'),!0x1;let _0x5b351f=new _0x519e7e()[_0x2249cc(0x33e)](_0x589501,_0x5d309c),_0x12c6eb=new _0x540632()[_0x2249cc(0x4fb)](_0x589501,_0x5b351f),_0x28b5de={'unitId':_0x3c2887,'op':_0x5b351f},_0x1cb531={'unitId':_0x3c2887,'op':_0x12c6eb};return _0x60c46c[_0x2249cc(0x12b)](_0x325a9e['id'],_0x28b5de)?(_0x1b9297[_0x2249cc(0x326)](_0x3c2887),_0x2fe4b3[_0x2249cc(0x2ee)]({'unitID':_0x3c2887,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x1cb531}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x28b5de}]}),!0x0):!0x1;}},_0x3537cb={'id':'base.command.delete-base-view','type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler':(_0xfe606c,_0x20c382)=>{const _0x5cc2a2=_0x10b817;if(!_0x20c382)return!0x1;let _0x315a61=_0xfe606c[_0x5cc2a2(0x353)](_0x1684be[_0x5cc2a2(0x18c)]),{unitId:_0x2d0644,tableId:_0x518bc6,viewId:_0x1bca3c}=_0x20c382,_0x33cdf7=_0x315a61[_0x5cc2a2(0x282)](_0x2d0644,_0x1684be['UniverInstanceType']['UNIVER_BASE']);if(!_0x33cdf7||!_0x41e9f9(_0x33cdf7,_0x518bc6,{'viewIds':[_0x1bca3c]}))return!0x1;let _0x47cf56=_0xfe606c[_0x5cc2a2(0x353)](_0x1684be[_0x5cc2a2(0x35c)]),_0x26bd2e=_0xfe606c[_0x5cc2a2(0x353)](_0x1684be[_0x5cc2a2(0x4ff)]),_0x3c2b15=_0x33cdf7[_0x5cc2a2(0x438)](),_0x292875=_0x3c2b15[_0x5cc2a2(0x135)][_0x518bc6]['views'][_0x1bca3c]['type'],_0x199963=new _0x519e7e()['deleteView'](_0x3c2b15,_0x518bc6,_0x1bca3c),_0x3b8b5b=new _0x540632()[_0x5cc2a2(0x4fb)](_0x3c2b15,_0x199963),_0x5e1fd1={'historyAction':_0x5cc2a2(0x4e0),'unitId':_0x2d0644,'op':_0x199963,'viewType':_0x292875},_0x94c650={'historyAction':_0x5cc2a2(0x258),'unitId':_0x2d0644,'op':_0x3b8b5b,'viewType':_0x292875};return _0x47cf56[_0x5cc2a2(0x12b)](_0x325a9e['id'],_0x5e1fd1)?(_0x315a61[_0x5cc2a2(0x326)](_0x2d0644),_0x26bd2e[_0x5cc2a2(0x2ee)]({'unitID':_0x2d0644,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x94c650}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x5e1fd1}]}),!0x0):!0x1;}},_0x12e478={'id':_0x10b817(0x281),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x576daf,_0x22335e)=>{const _0x40f701=_0x10b817;if(!_0x22335e)return!0x1;let _0x3b140f=_0x576daf[_0x40f701(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x763537,tableId:_0x2f0304,sourceFieldId:_0x59000b,field:_0x5e94b3,index:_0x3d4f0c,viewIndexes:_0x4df29a}=_0x22335e,_0x5a47ae=_0x3b140f[_0x40f701(0x282)](_0x763537,_0x1684be[_0x40f701(0x4b4)][_0x40f701(0x1a9)]);if(!_0x5a47ae||!_0x41e9f9(_0x5a47ae,_0x2f0304,{'fieldIds':[_0x59000b]})||_0x59000b===_0x1684be[_0x40f701(0x26a)]||_0x5a47ae[_0x40f701(0x438)]()[_0x40f701(0x135)][_0x2f0304][_0x40f701(0x22d)][_0x5e94b3['id']]||_0x3d4f0c===0x0||!_0x3e24ca(_0x5a47ae,_0x2f0304,_0x5e94b3))return!0x1;let _0x592016=_0x576daf[_0x40f701(0x353)](_0x1684be[_0x40f701(0x35c)]),_0x4f5e6a=_0x576daf[_0x40f701(0x353)](_0x1684be[_0x40f701(0x4ff)]),_0x3cc66c=_0x5a47ae[_0x40f701(0x438)](),_0x585dbd=new _0x519e7e()[_0x40f701(0x383)](_0x3cc66c,_0x2f0304,_0x59000b,{'field':_0x5e94b3,'index':_0x3d4f0c,'viewIndexes':_0x4df29a}),_0x638bfa=new _0x540632()[_0x40f701(0x4fb)](_0x3cc66c,_0x585dbd),_0x58926f={'unitId':_0x763537,'op':_0x585dbd},_0x27248={'unitId':_0x763537,'op':_0x638bfa};return _0x592016[_0x40f701(0x12b)](_0x325a9e['id'],_0x58926f)?(_0x3b140f[_0x40f701(0x326)](_0x763537),_0x4f5e6a[_0x40f701(0x2ee)]({'unitID':_0x763537,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x27248}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x58926f}]}),!0x0):!0x1;}},_0x53f891={'id':_0x10b817(0x38b),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x5c502a,_0xeacd14)=>{const _0x25fd7d=_0x10b817;if(!_0xeacd14)return!0x1;let _0x11485e=_0x5c502a['get'](_0x1684be[_0x25fd7d(0x18c)]),{unitId:_0x40ef97,tableId:_0x539a0e,sourceRecordId:_0xc520a4,record:_0x407a25}=_0xeacd14,_0x4dc3bb=_0x11485e['getUnit'](_0x40ef97,_0x1684be['UniverInstanceType'][_0x25fd7d(0x1a9)]);if(!_0x4dc3bb||!_0x41e9f9(_0x4dc3bb,_0x539a0e,{'recordIds':[_0xc520a4]})||!_0x1f6973(_0x4dc3bb,_0x539a0e,_0x407a25))return!0x1;let _0x24b3ce=_0x5c502a['get'](_0x1684be['ICommandService']),_0x5f503f=_0x5c502a[_0x25fd7d(0x353)](_0x1684be[_0x25fd7d(0x4ff)]),_0x508634=_0x4dc3bb['getSnapshot'](),_0x3300c6=_0x3a1a7a(_0x407a25),_0x16a04f=_0x3d0143(_0x508634[_0x25fd7d(0x135)][_0x539a0e],[_0x3300c6]),_0x175642=new _0x519e7e()[_0x25fd7d(0x47d)](_0x508634,_0x539a0e,_0xc520a4,_0x3300c6),_0x50ff66=new _0x540632()['invertOp'](_0x508634,_0x175642),_0x20e34b={'unitId':_0x40ef97,'op':_0x175642,'hierarchyChanges':_0x16a04f[_0x25fd7d(0x350)]?_0x16a04f:void 0x0,'source':_0x16a04f['length']?_0xeacd14[_0x25fd7d(0x12c)]??'ui':void 0x0},_0x2031d4={..._0x20e34b,'source':_0x16a04f[_0x25fd7d(0x350)]?_0x25fd7d(0x524):void 0x0},_0x1b25c6={'unitId':_0x40ef97,'op':_0x50ff66,'hierarchyChanges':_0x16a04f[_0x25fd7d(0x350)]?_0x16a04f[_0x25fd7d(0x4fd)](_0x52ad1a=>({..._0x52ad1a,'oldParentRecordId':_0x52ad1a['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x16a04f[_0x25fd7d(0x350)]?_0x25fd7d(0x384):void 0x0};return _0x24b3ce[_0x25fd7d(0x12b)](_0x325a9e['id'],_0x20e34b)?(_0x11485e[_0x25fd7d(0x326)](_0x40ef97),_0x5f503f[_0x25fd7d(0x2ee)]({'unitID':_0x40ef97,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x1b25c6}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x2031d4}]}),!0x0):!0x1;}},_0x284528={'id':_0x10b817(0x1c0),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x3b2b39,_0x441940){const _0x362639=_0x10b817;if(!_0x441940)return!0x1;let _0x5039c9=_0x3b2b39[_0x362639(0x353)](_0x1684be[_0x362639(0x18c)]),{unitId:_0x4ecdea,tableId:_0x3fb8cd,viewId:_0x34f8c6,ensureEndDateField:_0x44f42e}=_0x441940,_0x54f773=_0x5039c9[_0x362639(0x282)](_0x4ecdea,_0x1684be[_0x362639(0x4b4)][_0x362639(0x1a9)]);if(!_0x54f773||!_0x41e9f9(_0x54f773,_0x3fb8cd,{'viewIds':[_0x34f8c6]}))return!0x1;let _0x3a6513=_0x54f773['getSnapshot'](),_0x284525=_0x3a6513[_0x362639(0x135)][_0x3fb8cd],_0x1e73aa=_0x284525==null?void 0x0:_0x284525[_0x362639(0x1b8)][_0x34f8c6];if(!_0x284525||!_0x1e73aa||_0x1e73aa[_0x362639(0x4af)]!==_0x362639(0x284)&&_0x1e73aa['type']!==_0x362639(0x2a1))return!0x1;let _0x56c231=_0x35325b(_0x284525,_0x1e73aa,_0x44f42e===!0x0);if(!_0x56c231[_0x362639(0x2d2)])return!0x1;let _0x1f9a8e=_0x3b2b39[_0x362639(0x353)](_0x1684be[_0x362639(0x35c)]),_0x4c574c=_0x3b2b39['get'](_0x1684be['IUndoRedoService']),_0x40505f=new _0x519e7e(),_0x4c5f92=[..._0x56c231['fields']['map'](_0x15851f=>_0x40505f['createField'](_0x3a6513,_0x441940['tableId'],{'field':_0x15851f})),_0x133244([..._0x45493c(_0x441940[_0x362639(0x171)],_0x441940[_0x362639(0x20c)]),_0x362639(0x414)],_0x1e73aa[_0x362639(0x414)],_0x56c231[_0x362639(0x414)])];_0x56c231[_0x362639(0x3c3)]&&_0x4c5f92[_0x362639(0x558)](_0x133244([..._0x45493c(_0x441940[_0x362639(0x171)],_0x441940[_0x362639(0x20c)]),_0x362639(0x3c3)],_0x1e73aa['fieldOrder'],_0x56c231['fieldOrder']));let _0x4e7516=_0x33735e(_0x4c5f92),_0x42a248=new _0x540632()[_0x362639(0x4fb)](_0x3a6513,_0x4e7516),_0x5be282={'unitId':_0x4ecdea,'op':_0x4e7516},_0x1048ca={'unitId':_0x4ecdea,'op':_0x42a248};return _0x1f9a8e[_0x362639(0x12b)](_0x325a9e['id'],_0x5be282)?(_0x5039c9[_0x362639(0x326)](_0x4ecdea),_0x4c574c[_0x362639(0x2ee)]({'unitID':_0x4ecdea,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x1048ca}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x5be282}]}),!0x0):!0x1;}};function _0x133244(_0x2a504b,_0x23089b,_0x574209){const _0x56e03e=_0x10b817;return _0x23089b===void 0x0?_0x1684be[_0x56e03e(0x49f)]['insertOp'](_0x2a504b,_0x574209):_0x1684be['JSON1'][_0x56e03e(0x482)](_0x2a504b,_0x23089b,_0x574209);}function _0x45493c(_0x2e8191,_0x20011d){const _0x15fe29=_0x10b817;return[_0x15fe29(0x135),_0x2e8191,_0x15fe29(0x1b8),_0x20011d];}let _0x57ec39={'id':_0x10b817(0x125),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler':(_0x3810bb,_0x489ce9)=>{const _0x4fceb6=_0x10b817;if(!_0x489ce9)return!0x1;let _0x5af6ab=_0x3810bb['get'](_0x1684be[_0x4fceb6(0x18c)]),{unitId:_0x560d50,tableId:_0x461540,fieldId:_0x24e99d,target:_0x39be36}=_0x489ce9,_0x2b833e=_0x5af6ab[_0x4fceb6(0x282)](_0x560d50,_0x1684be[_0x4fceb6(0x4b4)][_0x4fceb6(0x1a9)]),_0x1267ed=_0x39be36[_0x4fceb6(0x1af)]??_0x39be36[_0x4fceb6(0x24e)];if(!_0x2b833e||!!_0x39be36[_0x4fceb6(0x1af)]==!!_0x39be36['afterFieldId']||!_0x1267ed||_0x1267ed===_0x24e99d||_0x24e99d===_0x1684be[_0x4fceb6(0x26a)]||_0x39be36[_0x4fceb6(0x1af)]===_0x1684be['BASE_RECORD_ID_FIELD_ID']||!_0x41e9f9(_0x2b833e,_0x461540,{'fieldIds':[_0x24e99d,_0x1267ed]}))return!0x1;let _0x2bd34e=_0x3810bb['get'](_0x1684be[_0x4fceb6(0x35c)]),_0x311e46=_0x3810bb[_0x4fceb6(0x353)](_0x1684be[_0x4fceb6(0x4ff)]),_0x286773=_0x2b833e['getSnapshot'](),_0x244676=new _0x519e7e()[_0x4fceb6(0x495)](_0x286773,_0x461540,_0x24e99d,_0x39be36),_0xd44485=new _0x540632()['invertOp'](_0x286773,_0x244676),_0x39d907={'unitId':_0x560d50,'op':_0x244676},_0x43d464={'unitId':_0x560d50,'op':_0xd44485};return _0x2bd34e[_0x4fceb6(0x12b)](_0x325a9e['id'],_0x39d907)?(_0x5af6ab[_0x4fceb6(0x326)](_0x560d50),_0x311e46[_0x4fceb6(0x2ee)]({'unitID':_0x560d50,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x43d464}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x39d907}]}),!0x0):!0x1;}},_0x306cad={'id':_0x10b817(0x238),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler':(_0x5b1eec,_0x322ed8)=>{const _0x4ad4f4=_0x10b817;var _0x46d63c;if(!_0x322ed8)return!0x1;let {unitId:_0x48801c,tableId:_0x500ab0,recordId:_0x26c65e,parentRecordId:_0x4ab956,orderKey:_0x34bd41}=_0x322ed8,_0x47d8a7=_0x5b1eec[_0x4ad4f4(0x353)](_0x1684be[_0x4ad4f4(0x18c)]),_0x411225=_0x47d8a7['getUnit'](_0x48801c,_0x1684be['UniverInstanceType'][_0x4ad4f4(0x1a9)]);if(!_0x411225||!_0x41e9f9(_0x411225,_0x500ab0,{'recordIds':[_0x26c65e,..._0x4ab956?[_0x4ab956]:[]]}))throw new _0x13b71c(_0x4ad4f4(0x273));let _0x23ed7a=_0x411225['getSnapshot'](),_0x122017=_0x23ed7a[_0x4ad4f4(0x135)][_0x500ab0],_0x30c798=_0x205eaf(_0x122017),_0x14b9de=_0x30c798??_0x322ed8[_0x4ad4f4(0x294)]??_0xebf24e(_0x122017);if(_0x30c798&&_0x322ed8[_0x4ad4f4(0x294)]&&_0x322ed8[_0x4ad4f4(0x294)]!==_0x30c798||_0x122017['fields'][_0x14b9de]&&!_0x142efb(_0x122017,_0x14b9de))throw new _0x13b71c(_0x4ad4f4(0x517));let _0x19c973=_0x2536c4(_0x122017,_0x14b9de),_0x2b951a=_0x2774f9(_0x19c973,_0x26c65e,_0x4ab956);if(!_0x2b951a[_0x4ad4f4(0x4f7)])throw new _0x13b71c(_0x2b951a['reason']===_0x1684be['BaseHierarchyInvalidReason'][_0x4ad4f4(0x340)]?_0x4ad4f4(0x2a5):_0x2b951a[_0x4ad4f4(0x1cb)]===_0x1684be[_0x4ad4f4(0x4a1)][_0x4ad4f4(0x557)]?_0x4ad4f4(0x1d2):_0x4ad4f4(0x21f));let _0x5980e6=_0x19c973['parentByRecordId'][_0x4ad4f4(0x353)](_0x26c65e)??null,_0x4fc756=_0x122017[_0x4ad4f4(0x510)][_0x26c65e][_0x4ad4f4(0x241)];if(_0x5980e6===_0x4ab956&&(_0x34bd41===void 0x0||_0x34bd41===_0x4fc756))return!0x0;let _0x2d6578=_0x5980e6!==_0x4ab956,_0x436fc4=_0x34bd41!==void 0x0&&_0x34bd41!==_0x4fc756,_0x4c12a=new _0x519e7e(),_0x2fae05=[],_0x25b6ba=_0x122017[_0x4ad4f4(0x22d)][_0x14b9de],_0x54439b=_0x2d6578&&(!_0x25b6ba||((_0x46d63c=_0x57372f(_0x25b6ba))==null?void 0x0:_0x46d63c['relationRole'])!==_0x1684be[_0x4ad4f4(0x15d)]['Parent'])?_0x25b6ba?_0x4c12a[_0x4ad4f4(0x367)](_0x23ed7a,_0x500ab0,_0x14b9de,{'config':{..._0x25b6ba[_0x4ad4f4(0x414)],'relationRole':_0x1684be['BaseRecordLinkRole']['Parent']}}):_0x5b1eec[_0x4ad4f4(0x353)](_0x7d47b6)[_0x4ad4f4(0x3a5)](_0x411225,_0x500ab0,_0x3e1a64(_0x122017,_0x14b9de,_0x322ed8['parentFieldName']),_0x122017[_0x4ad4f4(0x3c3)][_0x4ad4f4(0x350)]):null;_0x54439b&&_0x2fae05[_0x4ad4f4(0x558)](_0x54439b),_0x2d6578&&_0x2fae05[_0x4ad4f4(0x558)](_0x4c12a[_0x4ad4f4(0x543)](_0x23ed7a,_0x500ab0,_0x26c65e,_0x14b9de,_0x4ab956?_0x835b53([_0x4ab956]):'')),_0x436fc4&&_0x2fae05['push'](_0x4c12a[_0x4ad4f4(0x2b2)](_0x23ed7a,_0x500ab0,_0x26c65e,_0x34bd41));let _0x781e4d=_0x33735e(_0x2fae05),_0x59e08c={'tableId':_0x500ab0,'fieldId':_0x14b9de,'recordId':_0x26c65e,'oldParentRecordId':_0x5980e6,'parentRecordId':_0x4ab956},_0x36eeb8={'unitId':_0x48801c,'op':_0x781e4d,'trigger':_0x306cad['id'],'hierarchyChanges':[_0x59e08c],'source':_0x322ed8[_0x4ad4f4(0x12c)]??'ui'},_0x2e7288={..._0x36eeb8,'source':_0x4ad4f4(0x524)};if(!_0x5b1eec[_0x4ad4f4(0x353)](_0x1684be[_0x4ad4f4(0x35c)])[_0x4ad4f4(0x12b)](_0x325a9e['id'],_0x36eeb8))return!0x1;let _0x536a93=_0x411225[_0x4ad4f4(0x438)](),_0x478220=[];_0x2d6578&&_0x478220[_0x4ad4f4(0x558)](_0x1e1edd(_0x536a93,_0x23ed7a,_0x500ab0,_0x26c65e,_0x14b9de)),_0x436fc4&&_0x478220[_0x4ad4f4(0x558)](_0x480b9c(_0x536a93,_0x23ed7a,_0x500ab0,_0x26c65e)),_0x54439b&&_0x478220[_0x4ad4f4(0x558)](new _0x540632()['invertOp'](_0x23ed7a,_0x54439b));let _0x297d00={'unitId':_0x48801c,'op':_0x33735e(_0x478220),'trigger':_0x306cad['id'],'hierarchyChanges':[{..._0x59e08c,'oldParentRecordId':_0x4ab956,'parentRecordId':_0x5980e6}],'source':_0x4ad4f4(0x384)};return _0x47d8a7[_0x4ad4f4(0x326)](_0x48801c),_0x5b1eec[_0x4ad4f4(0x353)](_0x1684be['IUndoRedoService'])[_0x4ad4f4(0x2ee)]({'unitID':_0x48801c,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x297d00}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x2e7288}]}),!0x0;}};function _0x1e1edd(_0x28b1e4,_0x3eeefc,_0x2fe832,_0x2ca50e,_0x35dfb1){const _0x32b82a=_0x10b817;var _0x5ba43d,_0x38dfcf,_0x5ed04d,_0x24a07a,_0x3bd85c,_0x2ef0fa,_0x43ac3f,_0x4fd5cd;let _0x309895=_0x28b1e4[_0x32b82a(0x135)][_0x2fe832],_0x28b6a5=_0x3eeefc[_0x32b82a(0x135)][_0x2fe832],_0x3718b2=(_0x5ba43d=_0x309895[_0x32b82a(0x131)])==null?void 0x0:_0x5ba43d[_0x2ca50e],_0x1a2cf7=(_0x38dfcf=_0x309895['colIndex'])==null?void 0x0:_0x38dfcf[_0x35dfb1],_0x5c0ef1=(_0x5ed04d=_0x28b6a5[_0x32b82a(0x131)])==null?void 0x0:_0x5ed04d[_0x2ca50e],_0x2462fe=(_0x24a07a=_0x28b6a5['colIndex'])==null?void 0x0:_0x24a07a[_0x35dfb1],_0x33fddf=_0x3718b2==null||_0x1a2cf7==null||(_0x3bd85c=_0x309895[_0x32b82a(0x1e5)])==null||(_0x3bd85c=_0x3bd85c[_0x3718b2])==null?void 0x0:_0x3bd85c[_0x1a2cf7],_0x53c2fd=_0x5c0ef1==null||_0x2462fe==null||(_0x2ef0fa=_0x28b6a5[_0x32b82a(0x1e5)])==null||(_0x2ef0fa=_0x2ef0fa[_0x5c0ef1])==null?void 0x0:_0x2ef0fa[_0x2462fe],_0x245f5b=(_0x43ac3f=_0x309895[_0x32b82a(0x510)][_0x2ca50e])==null?void 0x0:_0x43ac3f[_0x32b82a(0x243)][_0x35dfb1],_0x3ba5b6=(_0x4fd5cd=_0x28b6a5['records'][_0x2ca50e])==null?void 0x0:_0x4fd5cd['values'][_0x35dfb1],_0x31bc1d=[],_0x1bcbe0=_0x1b39a4(_0x3718b2==null||_0x1a2cf7==null?null:_0x15586b[_0x32b82a(0x1e5)](_0x2fe832,_0x3718b2,_0x1a2cf7),_0x33fddf,_0x53c2fd);_0x1bcbe0&&_0x31bc1d[_0x32b82a(0x558)](_0x1bcbe0);let _0x13d0fb=_0x1b39a4(_0x15586b[_0x32b82a(0x3ce)](_0x2fe832,_0x2ca50e,_0x35dfb1),_0x245f5b,_0x3ba5b6);return _0x13d0fb&&_0x31bc1d[_0x32b82a(0x558)](_0x13d0fb),_0x33735e(_0x31bc1d);}function _0x480b9c(_0x5660d0,_0xb66069,_0x226d3c,_0x25cbde){const _0x4aecd1=_0x10b817;var _0x3ec15e,_0x218895;let _0x182e82=_0x5660d0[_0x4aecd1(0x135)][_0x226d3c],_0x10ddbd=_0xb66069[_0x4aecd1(0x135)][_0x226d3c];return _0x33735e([_0x1b39a4([..._0x15586b[_0x4aecd1(0x40f)](_0x226d3c,_0x25cbde),'orderKey'],(_0x3ec15e=_0x182e82[_0x4aecd1(0x510)][_0x25cbde])==null?void 0x0:_0x3ec15e['orderKey'],(_0x218895=_0x10ddbd['records'][_0x25cbde])==null?void 0x0:_0x218895[_0x4aecd1(0x241)]),_0x1b39a4([..._0x15586b[_0x4aecd1(0x3be)](_0x226d3c),_0x4aecd1(0x385)],_0x182e82['recordOrder'],_0x10ddbd[_0x4aecd1(0x385)])][_0x4aecd1(0x2b7)](_0x412025=>!!_0x412025));}function _0x1b39a4(_0x59fbeb,_0x5cbb74,_0x4c4f63){const _0x20c234=_0x10b817;if(!_0x59fbeb||_0x5cbb74===void 0x0&&_0x4c4f63===void 0x0)return null;let _0x1f3fab=_0x1684be[_0x20c234(0x12f)][_0x20c234(0x45c)]();return _0x4c4f63===void 0x0?_0x1f3fab['removeOp'](_0x59fbeb,_0x5cbb74):_0x5cbb74===void 0x0?_0x1f3fab[_0x20c234(0x235)](_0x59fbeb,_0x4c4f63):_0x1f3fab[_0x20c234(0x482)](_0x59fbeb,_0x5cbb74,_0x4c4f63);}let _0xdc4598={'id':_0x10b817(0x3ec),'type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler':(_0x19e683,_0x5796c3)=>{const _0x41979f=_0x10b817;if(!_0x5796c3)return!0x1;let _0x5e590b=_0x19e683['get'](_0x1684be[_0x41979f(0x18c)]),{unitId:_0x5dee4a,tableId:_0x1cf63a,viewId:_0x2b05be,target:_0x48dc3b}=_0x5796c3,_0x5213c0=_0x5e590b[_0x41979f(0x282)](_0x5dee4a,_0x1684be[_0x41979f(0x4b4)]['UNIVER_BASE']),_0xb58ccb=_0x48dc3b[_0x41979f(0x202)]??_0x48dc3b['afterViewId'];if(!_0x5213c0||!_0xb58ccb||_0xb58ccb===_0x2b05be||!_0x41e9f9(_0x5213c0,_0x1cf63a,{'viewIds':[_0x2b05be,_0xb58ccb]}))return!0x1;let _0x2141e9=_0x19e683[_0x41979f(0x353)](_0x1684be['ICommandService']),_0x1cdb84=_0x19e683[_0x41979f(0x353)](_0x1684be[_0x41979f(0x4ff)]),_0x40eca4=_0x5213c0[_0x41979f(0x438)](),_0x3926f1=new _0x519e7e()[_0x41979f(0x20d)](_0x40eca4,_0x1cf63a,_0x2b05be,_0x48dc3b),_0x3d9667=new _0x540632()['invertOp'](_0x40eca4,_0x3926f1),_0x3b2678={'unitId':_0x5dee4a,'op':_0x3926f1},_0x50f5f9={'unitId':_0x5dee4a,'op':_0x3d9667};return _0x2141e9[_0x41979f(0x12b)](_0x325a9e['id'],_0x3b2678)?(_0x5e590b[_0x41979f(0x326)](_0x5dee4a),_0x1cdb84[_0x41979f(0x2ee)]({'unitID':_0x5dee4a,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x50f5f9}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x3b2678}]}),!0x0):!0x1;}},_0x178d3b={'id':_0x10b817(0x3a2),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x468ea6,_0x52e9f5)=>{const _0x3a8cdd=_0x10b817;if(!_0x52e9f5)return!0x1;let _0x5c4c29=_0x468ea6[_0x3a8cdd(0x353)](_0x1684be[_0x3a8cdd(0x18c)]),{unitId:_0x96d52f,tableId:_0x412590,name:_0x615341}=_0x52e9f5,_0x3f78c9=_0x5c4c29[_0x3a8cdd(0x282)](_0x96d52f,_0x1684be[_0x3a8cdd(0x4b4)][_0x3a8cdd(0x1a9)]);if(!_0x3f78c9||!_0x41e9f9(_0x3f78c9,_0x412590)||!_0x4691b8(_0x3f78c9['getSnapshot'](),_0x615341,_0x412590)[_0x3a8cdd(0x4f7)])return!0x1;let _0x71d952=_0x468ea6['get'](_0x1684be['ICommandService']),_0x24c281=_0x468ea6['get'](_0x1684be[_0x3a8cdd(0x4ff)]),_0x46f736=_0x3f78c9[_0x3a8cdd(0x438)](),_0x57743b=new _0x519e7e()[_0x3a8cdd(0x25b)](_0x46f736,_0x412590,_0x615341),_0x1af00c=new _0x540632()['invertOp'](_0x46f736,_0x57743b),_0x3e8fe0={'unitId':_0x96d52f,'op':_0x57743b},_0x95313d={'unitId':_0x96d52f,'op':_0x1af00c};return _0x71d952[_0x3a8cdd(0x12b)](_0x325a9e['id'],_0x3e8fe0)?(_0x5c4c29[_0x3a8cdd(0x326)](_0x96d52f),_0x24c281['pushUndoRedo']({'unitID':_0x96d52f,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x95313d}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x3e8fe0}]}),!0x0):!0x1;}},_0x5b833c={'id':_0x10b817(0x194),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x4d445e,_0x5327a2)=>{const _0x34771e=_0x10b817;if(!_0x5327a2)return!0x1;let _0x755c1d=_0x4d445e[_0x34771e(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x4948be,tableId:_0x14ca94,viewId:_0x3c489e,name:_0x58f60e}=_0x5327a2,_0x2b2109=_0x755c1d[_0x34771e(0x282)](_0x4948be,_0x1684be['UniverInstanceType'][_0x34771e(0x1a9)]);if(!_0x2b2109||!_0x41e9f9(_0x2b2109,_0x14ca94,{'viewIds':[_0x3c489e]}))return!0x1;let _0x33694f=_0x4d445e[_0x34771e(0x353)](_0x1684be[_0x34771e(0x35c)]),_0x6912e8=_0x4d445e[_0x34771e(0x353)](_0x1684be[_0x34771e(0x4ff)]),_0x3d4632=_0x2b2109['getSnapshot'](),_0x1d97cd=new _0x519e7e()[_0x34771e(0x49c)](_0x3d4632,_0x14ca94,_0x3c489e,_0x58f60e),_0x362355=new _0x540632()[_0x34771e(0x4fb)](_0x3d4632,_0x1d97cd),_0x44e35d={'unitId':_0x4948be,'op':_0x1d97cd},_0x18c488={'unitId':_0x4948be,'op':_0x362355};return _0x33694f[_0x34771e(0x12b)](_0x325a9e['id'],_0x44e35d)?(_0x755c1d[_0x34771e(0x326)](_0x4948be),_0x6912e8['pushUndoRedo']({'unitID':_0x4948be,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x18c488}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x44e35d}]}),!0x0):!0x1;}},_0x44707a={'id':_0x10b817(0x2d9),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x47cbe2,_0x518e6e)=>{const _0x4e4d2e=_0x10b817;if(!_0x518e6e)return!0x1;let _0x2adcc3=_0x47cbe2[_0x4e4d2e(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x3c9a16,tableId:_0x42b30b,viewId:_0x122b9f,fieldId:_0x401355}=_0x518e6e,_0x43c053=_0x2adcc3['getUnit'](_0x3c9a16,_0x1684be[_0x4e4d2e(0x4b4)][_0x4e4d2e(0x1a9)]);if(!_0x43c053||!_0x41e9f9(_0x43c053,_0x42b30b,{'viewIds':[_0x122b9f],'fieldIds':[_0x401355]}))return!0x1;let _0x429112=_0x47cbe2[_0x4e4d2e(0x353)](_0x1684be[_0x4e4d2e(0x35c)]),_0x4a0968=_0x47cbe2['get'](_0x1684be[_0x4e4d2e(0x4ff)]),_0x5dad2e=_0x43c053[_0x4e4d2e(0x438)](),_0x19e4cb=new _0x519e7e()[_0x4e4d2e(0x2b4)](_0x5dad2e,_0x42b30b,_0x122b9f,{'groupFieldId':_0x401355}),_0x2eec04=new _0x540632()['invertOp'](_0x5dad2e,_0x19e4cb),_0x3eb81f={'unitId':_0x3c9a16,'op':_0x19e4cb},_0x123e80={'unitId':_0x3c9a16,'op':_0x2eec04};return _0x429112['syncExecuteCommand'](_0x325a9e['id'],_0x3eb81f)?(_0x2adcc3[_0x4e4d2e(0x326)](_0x3c9a16),_0x4a0968['pushUndoRedo']({'unitID':_0x3c9a16,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x123e80}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x3eb81f}]}),!0x0):!0x1;}},_0x3e212a={'id':_0x10b817(0x17e),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x22b4b6,_0x3ea2b4)=>{const _0x404208=_0x10b817;if(!_0x3ea2b4)return!0x1;let _0x237c15=_0x22b4b6[_0x404208(0x353)](_0x1684be[_0x404208(0x18c)]),_0x31ef72=_0x237c15['getUnit'](_0x3ea2b4[_0x404208(0x323)],_0x1684be['UniverInstanceType'][_0x404208(0x1a9)]);if(!_0x31ef72)return!0x1;let _0xf0eea0=_0x31ef72[_0x404208(0x438)]()[_0x404208(0x4ed)];if(_0xf0eea0===_0x3ea2b4[_0x404208(0x4ed)])return!0x0;let _0x568f3b=new _0x519e7e(),_0xe44647=new _0x540632(),_0x8c9f6b=[],_0x48a3bf=[],_0x44b027=[_0x31ef72,..._0x237c15[_0x404208(0x1ac)](_0x1684be[_0x404208(0x4b4)]['UNIVER_BASE'])[_0x404208(0x2b7)](_0x4db533=>_0x4db533[_0x404208(0x14b)]()!==_0x3ea2b4['unitId'])];for(let _0x296dd6 of _0x44b027){let _0x1779e0=_0x296dd6[_0x404208(0x438)](),_0x45ce68=_0x296dd6===_0x31ef72?_0x568f3b[_0x404208(0x43d)](_0x1779e0,_0x3ea2b4['name']):_0x568f3b[_0x404208(0x19a)](_0x1779e0,_0xf0eea0,_0x3ea2b4[_0x404208(0x4ed)]);_0x45ce68&&(_0x8c9f6b[_0x404208(0x558)]({'id':_0x325a9e['id'],'params':{'unitId':_0x296dd6[_0x404208(0x14b)](),'op':_0x45ce68,'trigger':_0x3e212a['id']}}),_0x48a3bf[_0x404208(0x3e8)]({'id':_0x325a9e['id'],'params':{'unitId':_0x296dd6[_0x404208(0x14b)](),'op':_0xe44647[_0x404208(0x4fb)](_0x1779e0,_0x45ce68),'trigger':_0x3e212a['id']}}));}let _0x3b9ab9=_0x22b4b6[_0x404208(0x353)](_0x1684be[_0x404208(0x35c)]),_0xf33d90=_0x22b4b6[_0x404208(0x353)](_0x1684be['IUndoRedoService']),_0x1224a2=_0xf33d90['__tempBatchingUndoRedo'](_0x3ea2b4[_0x404208(0x323)]);try{return(0x0,_0x1684be[_0x404208(0x27a)])(_0x8c9f6b,_0x3b9ab9)[_0x404208(0x14d)]?(_0x237c15[_0x404208(0x326)](_0x3ea2b4[_0x404208(0x323)]),_0xf33d90[_0x404208(0x2ee)]({'unitID':_0x3ea2b4['unitId'],'undoMutations':_0x48a3bf,'redoMutations':_0x8c9f6b}),!0x0):!0x1;}finally{_0x1224a2[_0x404208(0x4f3)]();}}},_0x166c8c={'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'id':_0x10b817(0x406),async 'handler'(_0xdadf82,_0x3b34ea){const _0x396061=_0x10b817;if(!_0x3b34ea||!_0x493900['includes'](_0x3b34ea[_0x396061(0x1d4)])||_0x3b34ea[_0x396061(0x1a1)]!==_0x3b34ea[_0x396061(0x323)]&&_0x3b34ea[_0x396061(0x1d4)]!==_0x34d39d['UnitAction'][_0x396061(0x2c6)]||_0x3b34ea['policy']&&(![_0x396061(0x4de),_0x396061(0x3a1),_0x396061(0x433)][_0x396061(0x41a)](_0x3b34ea['policy'][_0x396061(0x2ef)])||_0x3b34ea[_0x396061(0x51a)][_0x396061(0x33d)][_0x396061(0x4d2)](_0x294573=>!_0x493900[_0x396061(0x41a)](_0x294573[_0x396061(0x1d4)])||_0x3b34ea['objectId']!==_0x3b34ea[_0x396061(0x323)]&&_0x294573[_0x396061(0x1d4)]!==_0x34d39d[_0x396061(0x3f2)][_0x396061(0x2c6)])))return!0x1;let _0x2b14c6=_0x54df78(_0x3b34ea['unitId'],_0x3b34ea['objectId'],_0x3b34ea[_0x396061(0x1d4)]),_0x19ced2={'unitId':_0x3b34ea[_0x396061(0x323)],'objectId':_0x3b34ea[_0x396061(0x1a1)],'objectType':_0x2b14c6[_0x396061(0x4af)]},_0xfe6679=_0xdadf82[_0x396061(0x353)](_0x1684be[_0x396061(0x10b)]);return _0x3b34ea[_0x396061(0x400)]?await _0xfe6679[_0x396061(0x400)](_0x19ced2):_0x3b34ea[_0x396061(0x51a)]?await _0xfe6679[_0x396061(0x565)](_0x19ced2,_0x3b34ea['policy']):await _0xfe6679[_0x396061(0x3d2)](_0x19ced2,_0x2b14c6,_0x3b34ea[_0x396061(0x2dc)]),!0x0;}},_0x550147={'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'id':_0x10b817(0x162),async 'handler'(_0x39d555,_0x580fbc){const _0x16fd61=_0x10b817;if(!(_0x580fbc!=null&&_0x580fbc[_0x16fd61(0x323)])||!Array[_0x16fd61(0x233)](_0x580fbc[_0x16fd61(0x391)])||!_0x580fbc[_0x16fd61(0x391)]['length']||_0x580fbc['changes'][_0x16fd61(0x4d2)](_0x20453f=>!(_0x20453f!=null&&_0x20453f[_0x16fd61(0x1a1)])||_0x20453f[_0x16fd61(0x1a1)]===_0x580fbc[_0x16fd61(0x323)]||_0x20453f[_0x16fd61(0x51a)]!==null&&(!_0x20453f[_0x16fd61(0x51a)]||![_0x16fd61(0x4de),_0x16fd61(0x3a1),_0x16fd61(0x433)][_0x16fd61(0x41a)](_0x20453f[_0x16fd61(0x51a)]['edit'])||!Array[_0x16fd61(0x233)](_0x20453f[_0x16fd61(0x51a)][_0x16fd61(0x432)])||!Array[_0x16fd61(0x233)](_0x20453f[_0x16fd61(0x51a)][_0x16fd61(0x33d)])||_0x20453f[_0x16fd61(0x51a)]['strategies'][_0x16fd61(0x4d2)](_0x3bc9dd=>_0x3bc9dd[_0x16fd61(0x1d4)]!==_0x34d39d[_0x16fd61(0x3f2)][_0x16fd61(0x2c6)]))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x39d555[_0x16fd61(0x353)](_0x1684be[_0x16fd61(0x10b)])[_0x16fd61(0x4a3)](_0x580fbc[_0x16fd61(0x391)]['map'](_0x80f2ad=>{const _0x1cee98=_0x16fd61;let _0x318e71=_0x54df78(_0x580fbc[_0x1cee98(0x323)],_0x80f2ad[_0x1cee98(0x1a1)],_0x34d39d[_0x1cee98(0x3f2)][_0x1cee98(0x2c6)]);return{'unitId':_0x580fbc[_0x1cee98(0x323)],'objectId':_0x80f2ad[_0x1cee98(0x1a1)],'objectType':_0x318e71[_0x1cee98(0x4af)],'policy':_0x80f2ad[_0x1cee98(0x51a)]};}));}};function _0x2fa5be(_0x4d1dcc,_0x9e8d38){const _0x281f13=_0x10b817;let _0x5da561=_0xd74f23(_0x1684be[_0x281f13(0x14c)]['deepClone'](_0x4d1dcc)),_0x296fdd=new Map();return _0x9e8d38['forEach'](_0x5d4387=>{const _0x3e42e1=_0x281f13;var _0x31277c,_0x5f45ac;let _0x15e7f2=_0x3e42e1(0x240)in _0x5d4387?_0x5d4387['recordId']:(_0x31277c=_0x5da561[_0x3e42e1(0x1b1)])==null?void 0x0:_0x31277c[_0x5d4387[_0x3e42e1(0x19c)]],_0x2726b8='fieldId'in _0x5d4387?_0x5d4387[_0x3e42e1(0x294)]:(_0x5f45ac=_0x5da561[_0x3e42e1(0x3e2)])==null?void 0x0:_0x5f45ac[_0x5d4387[_0x3e42e1(0x4b5)]],_0x49efe7=_0x2726b8?_0x5da561[_0x3e42e1(0x22d)][_0x2726b8]:void 0x0;if(!_0x15e7f2||!_0x2726b8||!_0x49efe7||!_0x5da561['records'][_0x15e7f2])return;let _0x12fe7f=_0x2a2585(_0x5d4387['value'],_0x49efe7),_0x494f58=_0x30dc09(_0x5d4387[_0x3e42e1(0x2dc)],_0x12fe7f,_0x49efe7,_0x5da561,_0x15e7f2),_0x49120a=_0x296fdd[_0x3e42e1(0x353)](_0x15e7f2)??{};_0x49120a[_0x2726b8]=_0x494f58,_0x296fdd[_0x3e42e1(0x25a)](_0x15e7f2,_0x49120a);}),[..._0x296fdd][_0x281f13(0x4fd)](([_0x9c0a3a,_0x457791])=>({'recordId':_0x9c0a3a,'values':_0x457791}));}let _0x5f11ec={'id':_0x10b817(0x4b1),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x53f450,_0x196657){const _0x5a2c15=_0x10b817;if(!_0x196657)return!0x1;let _0x489655=_0x53f450[_0x5a2c15(0x353)](_0x1684be[_0x5a2c15(0x18c)]),{unitId:_0x32dda8,tableId:_0x5a0ba0,patches:_0x5df992}=_0x196657,_0x3494dc=_0x489655['getUnit'](_0x32dda8,_0x1684be[_0x5a2c15(0x4b4)][_0x5a2c15(0x1a9)]);if(!_0x3494dc||!_0x41e9f9(_0x3494dc,_0x5a0ba0))return!0x1;let _0x31fc15=_0x53f450[_0x5a2c15(0x353)](_0x1684be[_0x5a2c15(0x35c)]),_0x458d72=_0x53f450[_0x5a2c15(0x353)](_0x1684be['IUndoRedoService']),_0x4bbf16=_0x3494dc[_0x5a2c15(0x438)](),_0x35b58f=_0xd74f23(_0x4bbf16[_0x5a2c15(0x135)][_0x5a0ba0]),_0x5ee5d2=_0x5df992['map'](_0x39cdbc=>{const _0x202bb9=_0x5a2c15;var _0x15702e;return'recordId'in _0x39cdbc?_0x39cdbc[_0x202bb9(0x240)]:(_0x15702e=_0x35b58f[_0x202bb9(0x1b1)])==null?void 0x0:_0x15702e[_0x39cdbc[_0x202bb9(0x19c)]];})['filter'](_0x141103=>_0x141103!=null),_0x249d4c=_0x5df992[_0x5a2c15(0x4fd)](_0x15260c=>{const _0x48c2c5=_0x5a2c15;var _0x6eba81;return _0x48c2c5(0x294)in _0x15260c?_0x15260c[_0x48c2c5(0x294)]:(_0x6eba81=_0x35b58f[_0x48c2c5(0x3e2)])==null?void 0x0:_0x6eba81[_0x15260c[_0x48c2c5(0x4b5)]];})['filter'](_0x2bfb0=>_0x2bfb0!=null);if(_0x5ee5d2[_0x5a2c15(0x350)]!==_0x5df992[_0x5a2c15(0x350)]||_0x249d4c[_0x5a2c15(0x350)]!==_0x5df992[_0x5a2c15(0x350)]||!_0x41e9f9(_0x3494dc,_0x5a0ba0,{'recordIds':_0x5ee5d2,'fieldIds':_0x249d4c})||_0x5df992[_0x5a2c15(0x4d2)]((_0x546dab,_0x16a956)=>!_0xe50eb0(_0x3494dc,_0x5a0ba0,_0x249d4c[_0x16a956],_0x546dab[_0x5a2c15(0x2dc)])))return!0x1;let _0xf2e39d=_0x1e4028(_0x35b58f,_0x2fa5be(_0x35b58f,_0x5df992)),_0x5eced9=_0x5df992[_0x5a2c15(0x158)](_0x54a2c3=>{const _0x3c945a=_0x5a2c15;var _0x304e54,_0x489e9f;if(_0x3c945a(0x19c)in _0x54a2c3)return[_0x54a2c3];let _0x160ce1=(_0x304e54=_0x35b58f['rowIndex'])==null?void 0x0:_0x304e54[_0x54a2c3[_0x3c945a(0x240)]],_0x353e42=(_0x489e9f=_0x35b58f[_0x3c945a(0x46d)])==null?void 0x0:_0x489e9f[_0x54a2c3[_0x3c945a(0x294)]];return _0x160ce1==null||_0x353e42==null?[]:[{'row':_0x160ce1,'col':_0x353e42,'value':_0x54a2c3[_0x3c945a(0x2dc)]}];}),_0x10a83a=new _0x519e7e()[_0x5a2c15(0x4f6)](_0x4bbf16,_0x5a0ba0,_0x5eced9),_0x326cee=new _0x540632()['invertOp'](_0x4bbf16,_0x10a83a),_0x31c7e3={'unitId':_0x32dda8,'op':_0x10a83a,'trigger':_0xf2e39d[_0x5a2c15(0x350)]?_0x5f11ec['id']:void 0x0,'hierarchyChanges':_0xf2e39d[_0x5a2c15(0x350)]?_0xf2e39d:void 0x0,'source':_0xf2e39d[_0x5a2c15(0x350)]?_0x5a2c15(0x524):void 0x0},_0x52299d={'unitId':_0x32dda8,'op':_0x326cee,'trigger':_0xf2e39d['length']?_0x5f11ec['id']:void 0x0,'hierarchyChanges':_0xf2e39d[_0x5a2c15(0x350)]?_0xf2e39d['map'](_0x168f9e=>({..._0x168f9e,'oldParentRecordId':_0x168f9e[_0x5a2c15(0x201)],'parentRecordId':_0x168f9e[_0x5a2c15(0x483)]})):void 0x0,'source':_0xf2e39d['length']?'undo':void 0x0},_0x1645ec={..._0x31c7e3,'source':_0xf2e39d[_0x5a2c15(0x350)]?_0x196657[_0x5a2c15(0x12c)]??'ui':void 0x0};return _0x31fc15[_0x5a2c15(0x12b)](_0x325a9e['id'],_0x1645ec)?(_0x489655['focusUnit'](_0x32dda8),_0x458d72[_0x5a2c15(0x2ee)]({'unitID':_0x32dda8,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x52299d}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x31c7e3}]}),!0x0):!0x1;}},_0x1df7a8={'id':_0x10b817(0x4ce),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x727b91,_0x628c02){const _0x43c218=_0x10b817;if(!_0x628c02)return!0x1;let _0x4bee05=_0x727b91[_0x43c218(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x592d70,tableId:_0x382ed6,patches:_0xb6922e}=_0x628c02,_0x317575=_0x4bee05[_0x43c218(0x282)](_0x592d70,_0x1684be[_0x43c218(0x4b4)][_0x43c218(0x1a9)]),_0x14618d=_0xb6922e[_0x43c218(0x4fd)](_0x3ea2a0=>_0x3ea2a0[_0x43c218(0x240)]),_0x2f275c=_0xb6922e[_0x43c218(0x158)](_0x319ff8=>Object[_0x43c218(0x176)](_0x319ff8[_0x43c218(0x243)]));if(!_0x317575||!_0x41e9f9(_0x317575,_0x382ed6,{'recordIds':_0x14618d,'fieldIds':_0x2f275c})||_0xb6922e['some'](_0x27f2a9=>Object[_0x43c218(0x172)](_0x27f2a9[_0x43c218(0x243)])[_0x43c218(0x4d2)](([_0xa783c1,_0x1f9339])=>!_0xe50eb0(_0x317575,_0x382ed6,_0xa783c1,_0x1f9339))))return!0x1;let _0x8b6505=_0x1e4028(_0x317575[_0x43c218(0x438)]()[_0x43c218(0x135)][_0x382ed6],_0xb6922e),_0x1a8ff8=_0x727b91[_0x43c218(0x353)](_0x1684be[_0x43c218(0x35c)]),_0x2eeef4=_0x727b91['get'](_0x1684be[_0x43c218(0x4ff)]),_0x3ed813=_0x727b91[_0x43c218(0x353)](_0x7d47b6)[_0x43c218(0x425)](_0x317575,_0x382ed6,_0xb6922e),_0x57d4ab=new _0x540632()[_0x43c218(0x4fb)](_0x317575[_0x43c218(0x438)](),_0x3ed813),_0x37110d={'unitId':_0x592d70,'op':_0x3ed813,'trigger':_0x8b6505[_0x43c218(0x350)]?_0x1df7a8['id']:void 0x0,'hierarchyChanges':_0x8b6505[_0x43c218(0x350)]?_0x8b6505:void 0x0,'source':_0x8b6505['length']?_0x628c02[_0x43c218(0x12c)]??'ui':void 0x0},_0x10ec3a={..._0x37110d,'source':_0x8b6505[_0x43c218(0x350)]?'redo':void 0x0},_0x166687={'unitId':_0x592d70,'op':_0x57d4ab,'trigger':_0x8b6505[_0x43c218(0x350)]?_0x1df7a8['id']:void 0x0,'hierarchyChanges':_0x8b6505[_0x43c218(0x350)]?_0x8b6505[_0x43c218(0x4fd)](_0x3aa2c3=>({..._0x3aa2c3,'oldParentRecordId':_0x3aa2c3[_0x43c218(0x201)],'parentRecordId':_0x3aa2c3[_0x43c218(0x483)]})):void 0x0,'source':_0x8b6505['length']?_0x43c218(0x384):void 0x0};return _0x1a8ff8[_0x43c218(0x12b)](_0x325a9e['id'],_0x37110d)?(_0x4bee05['focusUnit'](_0x592d70),_0x2eeef4[_0x43c218(0x2ee)]({'unitID':_0x592d70,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x166687}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x10ec3a}]}),!0x0):!0x1;}},_0x5b30d5={'id':_0x10b817(0x250),'type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler':(_0x3044ea,_0xd2c2f4)=>{const _0x562451=_0x10b817;if(!_0xd2c2f4)return!0x1;let {unitId:_0x3ced0f,tableId:_0x25420a,fieldId:_0x5c584c}=_0xd2c2f4,_0x46e159=_0x3044ea['get'](_0x1684be[_0x562451(0x18c)]),_0x42e95f=_0x46e159['getUnit'](_0x3ced0f,_0x1684be['UniverInstanceType'][_0x562451(0x1a9)]);if(!_0x42e95f||!_0x41e9f9(_0x42e95f,_0x25420a))return!0x1;let _0x29ed6f=_0x42e95f[_0x562451(0x438)](),_0x543b1e=_0x29ed6f['tables'][_0x25420a];if(_0x5c584c!==null&&!_0x142efb(_0x543b1e,_0x5c584c))throw new _0x13b71c('invalidField');if(_0x205eaf(_0x543b1e)===_0x5c584c)return!0x0;let _0x3644d6=new _0x519e7e(),_0x20c396=_0x33735e(Object['values'](_0x543b1e['fields'])['flatMap'](_0x544ba8=>{const _0x40ce1d=_0x562451;if(!_0x142efb(_0x543b1e,_0x544ba8['id']))return[];let _0x3aed93=_0x57372f(_0x544ba8);if(!_0x3aed93)return[];let _0x42fa2b=_0x544ba8['id']===_0x5c584c;if(_0x3aed93['relationRole']===_0x1684be['BaseRecordLinkRole'][_0x40ce1d(0x225)]===_0x42fa2b)return[];let _0x53a2b0={..._0x544ba8[_0x40ce1d(0x414)],'targetTableId':_0x3aed93['targetTableId'],'multiple':_0x3aed93[_0x40ce1d(0x564)]};return _0x42fa2b?_0x53a2b0[_0x40ce1d(0x47a)]=_0x1684be[_0x40ce1d(0x15d)][_0x40ce1d(0x225)]:delete _0x53a2b0[_0x40ce1d(0x47a)],[_0x3644d6[_0x40ce1d(0x367)](_0x29ed6f,_0x25420a,_0x544ba8['id'],{'config':_0x53a2b0})];})),_0x3a5ed1=new _0x540632()[_0x562451(0x4fb)](_0x29ed6f,_0x20c396),_0x40300f={'unitId':_0x3ced0f,'op':_0x20c396},_0x9eb3ad={'unitId':_0x3ced0f,'op':_0x3a5ed1};return _0x3044ea[_0x562451(0x353)](_0x1684be['ICommandService'])[_0x562451(0x12b)](_0x325a9e['id'],_0x40300f)?(_0x46e159[_0x562451(0x326)](_0x3ced0f),_0x3044ea[_0x562451(0x353)](_0x1684be['IUndoRedoService'])[_0x562451(0x2ee)]({'unitID':_0x3ced0f,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x9eb3ad}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x40300f}]}),!0x0):!0x1;}},_0xd6a5f9={'id':_0x10b817(0x492),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler':(_0x225994,_0xdc67eb)=>{const _0x5bf023=_0x10b817;if(!_0xdc67eb)return!0x1;let _0x4483f0=_0x225994['get'](_0x1684be['IUniverInstanceService']),{unitId:_0x43a3b8,tableId:_0x333310,viewId:_0x191ed2,fieldId:_0x1fbdb1,target:_0x11fb59}=_0xdc67eb,_0x53d84b=_0x4483f0[_0x5bf023(0x282)](_0x43a3b8,_0x1684be[_0x5bf023(0x4b4)][_0x5bf023(0x1a9)]),_0x4ccfe0=_0x11fb59['beforeFieldId']??_0x11fb59['afterFieldId'];if(!_0x53d84b||!_0x4ccfe0||_0x4ccfe0===_0x1fbdb1||!_0x41e9f9(_0x53d84b,_0x333310,{'viewIds':[_0x191ed2],'fieldIds':[_0x1fbdb1,_0x4ccfe0]}))return!0x1;let _0x3327a2=_0x53d84b[_0x5bf023(0x438)]()['tables'][_0x333310],_0x2297f8=_0x3327a2['fields'][_0x1fbdb1],_0x1a6423=_0x3327a2[_0x5bf023(0x22d)][_0x4ccfe0];if(_0x2297f8[_0x5bf023(0x1fb)]===!0x0||_0x2297f8[_0x5bf023(0x4af)]===_0x1684be[_0x5bf023(0x1e3)][_0x5bf023(0x3fe)]||_0x1a6423['system']===!0x0||_0x1a6423[_0x5bf023(0x4af)]===_0x1684be[_0x5bf023(0x1e3)][_0x5bf023(0x3fe)])return!0x1;let _0x297010=_0x225994[_0x5bf023(0x353)](_0x1684be[_0x5bf023(0x35c)]),_0x164be5=_0x225994[_0x5bf023(0x353)](_0x1684be['IUndoRedoService']),_0x37f399=_0x53d84b[_0x5bf023(0x438)](),_0x4b6eba=new _0x519e7e()[_0x5bf023(0x152)](_0x37f399,_0x333310,_0x191ed2,_0x1fbdb1,_0x11fb59),_0x4029ab=new _0x540632()['invertOp'](_0x37f399,_0x4b6eba),_0x5c91ef={'unitId':_0x43a3b8,'op':_0x4b6eba},_0x3df049={'unitId':_0x43a3b8,'op':_0x4029ab};return _0x297010[_0x5bf023(0x12b)](_0x325a9e['id'],_0x5c91ef)?(_0x4483f0['focusUnit'](_0x43a3b8),_0x164be5[_0x5bf023(0x2ee)]({'unitID':_0x43a3b8,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x3df049}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x5c91ef}]}),!0x0):!0x1;}},_0x328a5a={'id':'base.command.set-base-view-field-visible','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x12c56c,_0xee9630){const _0x5acc12=_0x10b817;if(!_0xee9630)return!0x1;let _0x290428=_0x12c56c[_0x5acc12(0x353)](_0x1684be[_0x5acc12(0x18c)]),{unitId:_0x6ea299,tableId:_0x37629a,viewId:_0x178ea7,fieldId:_0x197b10,visible:_0x21f2a9}=_0xee9630,_0x14a2be=_0x290428[_0x5acc12(0x282)](_0x6ea299,_0x1684be['UniverInstanceType'][_0x5acc12(0x1a9)]);if(!_0x14a2be||!_0x41e9f9(_0x14a2be,_0x37629a,{'viewIds':[_0x178ea7],'fieldIds':[_0x197b10]}))return!0x1;let _0x44a0cc=_0x14a2be[_0x5acc12(0x438)]()[_0x5acc12(0x135)][_0x37629a][_0x5acc12(0x22d)][_0x197b10];if(_0x44a0cc[_0x5acc12(0x1fb)]===!0x0||_0x44a0cc['type']===_0x1684be['BaseFieldType'][_0x5acc12(0x3fe)])return!0x1;let _0x7a9b79=_0x12c56c[_0x5acc12(0x353)](_0x1684be[_0x5acc12(0x35c)]),_0x544af0=_0x12c56c['get'](_0x1684be[_0x5acc12(0x4ff)]),_0x256228=_0x14a2be[_0x5acc12(0x438)](),_0x6439be=new _0x519e7e()[_0x5acc12(0x46a)](_0x256228,_0x37629a,_0x178ea7,_0x197b10,_0x21f2a9),_0x4a5c99=new _0x540632()[_0x5acc12(0x4fb)](_0x256228,_0x6439be),_0x59fd85={'unitId':_0x6ea299,'op':_0x6439be},_0x2129b4={'unitId':_0x6ea299,'op':_0x4a5c99};return _0x7a9b79[_0x5acc12(0x12b)](_0x325a9e['id'],_0x59fd85)?(_0x290428[_0x5acc12(0x326)](_0x6ea299),_0x544af0[_0x5acc12(0x2ee)]({'unitID':_0x6ea299,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x2129b4}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x59fd85}]}),!0x0):!0x1;}},_0x1bc8b9={'id':_0x10b817(0x464),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x4bbd78,_0xdf0ac0)=>{const _0x248f23=_0x10b817;if(!_0xdf0ac0)return!0x1;let _0x4ba0b0=_0x4bbd78[_0x248f23(0x353)](_0x1684be[_0x248f23(0x18c)]),{unitId:_0x24e599,tableId:_0x5546f1,viewId:_0x75c8c8,fieldId:_0x30a342,width:_0x525ff9}=_0xdf0ac0,_0x36372b=_0x4ba0b0[_0x248f23(0x282)](_0x24e599,_0x1684be[_0x248f23(0x4b4)][_0x248f23(0x1a9)]);if(!_0x36372b||!_0x41e9f9(_0x36372b,_0x5546f1,{'viewIds':[_0x75c8c8],'fieldIds':[_0x30a342]}))return!0x1;let _0x7a85a5=_0x36372b[_0x248f23(0x438)]()[_0x248f23(0x135)][_0x5546f1][_0x248f23(0x22d)][_0x30a342];if(_0x7a85a5[_0x248f23(0x1fb)]===!0x0||_0x7a85a5['type']===_0x1684be[_0x248f23(0x1e3)][_0x248f23(0x3fe)])return!0x1;let _0x33ef1d=_0x4bbd78[_0x248f23(0x353)](_0x1684be['ICommandService']),_0x31ab35=_0x4bbd78['get'](_0x1684be[_0x248f23(0x4ff)]),_0x19535f=_0x36372b['getSnapshot'](),_0x316979=new _0x519e7e()[_0x248f23(0x1da)](_0x19535f,_0x5546f1,_0x75c8c8,_0x30a342,_0x525ff9),_0x4af049=new _0x540632()[_0x248f23(0x4fb)](_0x19535f,_0x316979),_0x323811={'unitId':_0x24e599,'op':_0x316979},_0x1d692f={'unitId':_0x24e599,'op':_0x4af049};return _0x33ef1d[_0x248f23(0x12b)](_0x325a9e['id'],_0x323811)?(_0x4ba0b0['focusUnit'](_0x24e599),_0x31ab35[_0x248f23(0x2ee)]({'unitID':_0x24e599,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x1d692f}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x323811}]}),!0x0):!0x1;}},_0x1d9c50={'id':_0x10b817(0x2e0),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x5210d5,_0x221f89)=>{const _0x2f481d=_0x10b817;if(!_0x221f89)return!0x1;let _0x1d5b94=_0x5210d5[_0x2f481d(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x1e1e7f,tableId:_0x2edfe1,viewId:_0x27663d,filter:_0x470937}=_0x221f89,_0xc135fa=_0x1d5b94[_0x2f481d(0x282)](_0x1e1e7f,_0x1684be[_0x2f481d(0x4b4)][_0x2f481d(0x1a9)]),_0x1a8a85=(_0x470937==null?void 0x0:_0x470937[_0x2f481d(0x33f)]['map'](_0x2abca5=>_0x2abca5[_0x2f481d(0x294)]))??[];if(!_0xc135fa||!_0x41e9f9(_0xc135fa,_0x2edfe1,{'viewIds':[_0x27663d],'fieldIds':_0x1a8a85}))return!0x1;let _0x241e39=_0x5210d5[_0x2f481d(0x353)](_0x1684be[_0x2f481d(0x35c)]),_0x4774d5=_0x5210d5[_0x2f481d(0x353)](_0x1684be['IUndoRedoService']),_0x73a41d=_0xc135fa[_0x2f481d(0x438)](),_0x93dc6c=new _0x519e7e()['setViewFilter'](_0x73a41d,_0x2edfe1,_0x27663d,_0x470937),_0xfb6e26=new _0x540632()[_0x2f481d(0x4fb)](_0x73a41d,_0x93dc6c),_0x5f377f={'unitId':_0x1e1e7f,'op':_0x93dc6c},_0x52ff55={'unitId':_0x1e1e7f,'op':_0xfb6e26};return _0x241e39[_0x2f481d(0x12b)](_0x325a9e['id'],_0x5f377f)?(_0x1d5b94[_0x2f481d(0x326)](_0x1e1e7f),_0x4774d5['pushUndoRedo']({'unitID':_0x1e1e7f,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x52ff55}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x5f377f}]}),!0x0):!0x1;}},_0x48e1e8={'id':'base.command.set-base-view-group','type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler':(_0xbe8330,_0x1ea152)=>{const _0x3f26c1=_0x10b817;if(!_0x1ea152)return!0x1;let _0x4dcc2f=_0xbe8330['get'](_0x1684be['IUniverInstanceService']),{unitId:_0x2104f6,tableId:_0x59fab1,viewId:_0x5375c3,group:_0x1a8459}=_0x1ea152,_0x4a1c7e=_0x4dcc2f[_0x3f26c1(0x282)](_0x2104f6,_0x1684be[_0x3f26c1(0x4b4)]['UNIVER_BASE']);if(!_0x4a1c7e||!_0x41e9f9(_0x4a1c7e,_0x59fab1,{'viewIds':[_0x5375c3],'fieldIds':_0x1a8459[_0x3f26c1(0x4fd)](_0x8f99cb=>_0x8f99cb['fieldId'])}))return!0x1;let _0xe511b5=_0xbe8330['get'](_0x1684be[_0x3f26c1(0x35c)]),_0x4c05f2=_0xbe8330[_0x3f26c1(0x353)](_0x1684be[_0x3f26c1(0x4ff)]),_0x5b68c6=_0x4a1c7e[_0x3f26c1(0x438)](),_0x7e4fa6=new _0x519e7e()['setViewGroup'](_0x5b68c6,_0x59fab1,_0x5375c3,_0x1a8459),_0x4daa12=new _0x540632()[_0x3f26c1(0x4fb)](_0x5b68c6,_0x7e4fa6),_0x4afd4c={'unitId':_0x2104f6,'op':_0x7e4fa6},_0x3fdd72={'unitId':_0x2104f6,'op':_0x4daa12};return _0xe511b5[_0x3f26c1(0x12b)](_0x325a9e['id'],_0x4afd4c)?(_0x4dcc2f['focusUnit'](_0x2104f6),_0x4c05f2[_0x3f26c1(0x2ee)]({'unitID':_0x2104f6,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x3fdd72}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x4afd4c}]}),!0x0):!0x1;}},_0x131bd6={'id':_0x10b817(0x11a),'type':_0x1684be['CommandType']['COMMAND'],'handler':(_0x4b77a3,_0x264900)=>{const _0x5313ec=_0x10b817;if(!_0x264900)return!0x1;let _0x1d76ea=_0x4b77a3[_0x5313ec(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x5ec935,tableId:_0x126902,viewId:_0x32e866,sort:_0x306ca3}=_0x264900,_0x5bd3a4=_0x1d76ea[_0x5313ec(0x282)](_0x5ec935,_0x1684be[_0x5313ec(0x4b4)][_0x5313ec(0x1a9)]);if(!_0x5bd3a4||!_0x41e9f9(_0x5bd3a4,_0x126902,{'viewIds':[_0x32e866],'fieldIds':_0x306ca3[_0x5313ec(0x4fd)](_0x2d992d=>_0x2d992d[_0x5313ec(0x294)])}))return!0x1;let _0x5543c5=_0x4b77a3[_0x5313ec(0x353)](_0x1684be[_0x5313ec(0x35c)]),_0x442312=_0x4b77a3[_0x5313ec(0x353)](_0x1684be['IUndoRedoService']),_0x5ec452=_0x5bd3a4[_0x5313ec(0x438)](),_0x21b3ef=new _0x519e7e()[_0x5313ec(0x1ab)](_0x5ec452,_0x126902,_0x32e866,_0x306ca3),_0x4e7286=new _0x540632()[_0x5313ec(0x4fb)](_0x5ec452,_0x21b3ef),_0x2eb36c={'unitId':_0x5ec935,'op':_0x21b3ef},_0x3836d0={'unitId':_0x5ec935,'op':_0x4e7286};return _0x5543c5[_0x5313ec(0x12b)](_0x325a9e['id'],_0x2eb36c)?(_0x1d76ea[_0x5313ec(0x326)](_0x5ec935),_0x442312[_0x5313ec(0x2ee)]({'unitID':_0x5ec935,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x3836d0}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x2eb36c}]}),!0x0):!0x1;}},_0x263e48={'id':_0x10b817(0x538),'type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler'(_0x21b20e,_0x2b5163){const _0x36a0c6=_0x10b817;if(!_0x2b5163)return!0x1;let _0x36f86e=_0x21b20e['get'](_0x1684be[_0x36a0c6(0x18c)]),{unitId:_0x5ce5a6,tableId:_0x4324d5,recordId:_0x527a17,fieldId:_0x230e1f,value:_0x31575b}=_0x2b5163,_0x4bdbf2=_0x36f86e[_0x36a0c6(0x282)](_0x5ce5a6,_0x1684be['UniverInstanceType'][_0x36a0c6(0x1a9)]);if(!_0x4bdbf2||!_0x41e9f9(_0x4bdbf2,_0x4324d5,{'recordIds':[_0x527a17],'fieldIds':[_0x230e1f]})||!_0xe50eb0(_0x4bdbf2,_0x4324d5,_0x230e1f,_0x31575b))return!0x1;let _0x494e4f=_0x4bdbf2[_0x36a0c6(0x438)]()['tables'][_0x4324d5],_0x5e5c89=_0x142efb(_0x494e4f,_0x230e1f)&&_0x1c4e11(_0x494e4f)[_0x36a0c6(0x41a)](_0x230e1f),_0x1c3669=_0x5e5c89?_0x2536c4(_0x494e4f,_0x230e1f):null,_0x56deae=(_0x1c3669==null?void 0x0:_0x1c3669[_0x36a0c6(0x4a0)][_0x36a0c6(0x353)](_0x527a17))??null,_0x5a41a8=_0x5e5c89?_0x4ebe11(_0x31575b)[0x0]??null:null;if(_0x1c3669){if(_0x5a41a8&&!_0x494e4f[_0x36a0c6(0x510)][_0x5a41a8])throw new _0x13b71c(_0x36a0c6(0x273));let _0x325e46=_0x2774f9(_0x1c3669,_0x527a17,_0x5a41a8);if(!_0x325e46['valid'])throw new _0x13b71c(_0x325e46[_0x36a0c6(0x1cb)]===_0x1684be[_0x36a0c6(0x4a1)][_0x36a0c6(0x340)]?_0x36a0c6(0x2a5):_0x325e46['reason']===_0x1684be[_0x36a0c6(0x4a1)]['Cycle']?_0x36a0c6(0x1d2):_0x36a0c6(0x21f));}let _0x42b041=_0x21b20e['get'](_0x1684be[_0x36a0c6(0x35c)]),_0x303a11=_0x21b20e[_0x36a0c6(0x353)](_0x1684be[_0x36a0c6(0x4ff)]),_0x49ee5d=_0x21b20e[_0x36a0c6(0x353)](_0x7d47b6),_0x213475;try{_0x213475=_0x49ee5d[_0x36a0c6(0x4c3)](_0x4bdbf2,_0x4324d5,_0x527a17,_0x230e1f,_0x31575b);}catch(_0x3e283b){return console['error'](_0x36a0c6(0x1ad),_0x3e283b),!0x1;}let _0x5ab3ad=new _0x540632()['invertOp'](_0x4bdbf2[_0x36a0c6(0x438)](),_0x213475),_0x5ee960=_0x5e5c89&&_0x56deae!==_0x5a41a8?[{'tableId':_0x4324d5,'fieldId':_0x230e1f,'recordId':_0x527a17,'oldParentRecordId':_0x56deae,'parentRecordId':_0x5a41a8}]:void 0x0,_0x5c21a7={'unitId':_0x5ce5a6,'op':_0x213475,'trigger':_0x5ee960?_0x263e48['id']:void 0x0,'hierarchyChanges':_0x5ee960,'source':_0x5ee960?_0x2b5163[_0x36a0c6(0x12c)]??'ui':void 0x0},_0x416684={..._0x5c21a7,'source':_0x5ee960?'redo':void 0x0},_0xb1d86={'unitId':_0x5ce5a6,'op':_0x5ab3ad,'trigger':_0x5ee960?_0x263e48['id']:void 0x0,'hierarchyChanges':_0x5ee960==null?void 0x0:_0x5ee960[_0x36a0c6(0x4fd)](_0x25f09c=>({..._0x25f09c,'oldParentRecordId':_0x25f09c[_0x36a0c6(0x201)],'parentRecordId':_0x25f09c[_0x36a0c6(0x483)]})),'source':_0x5ee960?_0x36a0c6(0x384):void 0x0};return _0x42b041[_0x36a0c6(0x12b)](_0x325a9e['id'],_0x5c21a7)?(_0x36f86e[_0x36a0c6(0x326)](_0x5ce5a6),_0x303a11[_0x36a0c6(0x2ee)]({'unitID':_0x5ce5a6,'undoMutations':[{'id':_0x325a9e['id'],'params':_0xb1d86}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x416684}]}),!0x0):!0x1;}},_0x1f7798={'id':_0x10b817(0x289),'type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler'(_0x2803ab,_0x1d244b){const _0x21bf66=_0x10b817;if(!_0x1d244b)return!0x1;let _0x1f4c93=_0x2803ab[_0x21bf66(0x353)](_0x1684be[_0x21bf66(0x18c)]),{unitId:_0x36a635,tableId:_0x2917bc,fieldId:_0x410978}=_0x1d244b,_0x4224f2=_0x1f4c93['getUnit'](_0x36a635,_0x1684be[_0x21bf66(0x4b4)][_0x21bf66(0x1a9)]);if(!_0x4224f2||!_0x41e9f9(_0x4224f2,_0x2917bc,{'fieldIds':[_0x410978]}))return!0x1;let _0x290cd3=_0x2803ab[_0x21bf66(0x353)](_0x1684be[_0x21bf66(0x35c)]),_0x3d45a6=_0x2803ab[_0x21bf66(0x353)](_0x1684be[_0x21bf66(0x4ff)]),_0x31b2cc=_0x4224f2['getSnapshot'](),_0x3c0170=_0x1d244b[_0x21bf66(0x2c7)][_0x21bf66(0x328)](),_0x443f27=new _0x519e7e()[_0x21bf66(0x367)](_0x31b2cc,_0x2917bc,_0x410978,{'description':_0x3c0170}),_0x2ebe8f=new _0x540632()[_0x21bf66(0x4fb)](_0x4224f2[_0x21bf66(0x438)](),_0x443f27),_0xb641be={'unitId':_0x36a635,'op':_0x443f27},_0x4a34d6={'unitId':_0x36a635,'op':_0x2ebe8f};return _0x290cd3[_0x21bf66(0x12b)](_0x325a9e['id'],_0xb641be)?(_0x1f4c93[_0x21bf66(0x326)](_0x36a635),_0x3d45a6['pushUndoRedo']({'unitID':_0x36a635,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x4a34d6}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0xb641be}]}),!0x0):!0x1;}},_0x2f6d44={'id':_0x10b817(0x265),'type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler':(_0x363620,_0x3013d9)=>{const _0xd6ef4d=_0x10b817;if(!_0x3013d9)return!0x1;let _0x1593d9=_0x363620[_0xd6ef4d(0x353)](_0x1684be[_0xd6ef4d(0x18c)]),{unitId:_0x36b265,tableId:_0x5c56af,fieldId:_0x12181d,patch:_0x4c95fb}=_0x3013d9,_0x1a14f0=_0x1593d9[_0xd6ef4d(0x282)](_0x36b265,_0x1684be[_0xd6ef4d(0x4b4)]['UNIVER_BASE']);if(!_0x1a14f0||_0x12181d===_0x1684be['BASE_RECORD_ID_FIELD_ID']||!_0x41e9f9(_0x1a14f0,_0x5c56af,{'fieldIds':[_0x12181d]}))return!0x1;let _0xffd0b9=_0x363620[_0xd6ef4d(0x353)](_0x1684be[_0xd6ef4d(0x35c)]),_0xa685b0=_0x363620[_0xd6ef4d(0x353)](_0x1684be[_0xd6ef4d(0x4ff)]),_0x5473d7=_0x1a14f0[_0xd6ef4d(0x438)]();if(!_0x3e24ca(_0x1a14f0,_0x5c56af,{..._0x5473d7[_0xd6ef4d(0x135)][_0x5c56af]['fields'][_0x12181d],..._0x4c95fb}))return!0x1;let _0x28dca2=new _0x519e7e()[_0xd6ef4d(0x367)](_0x5473d7,_0x5c56af,_0x12181d,_0x4c95fb),_0x3a217d=new _0x540632()[_0xd6ef4d(0x4fb)](_0x5473d7,_0x28dca2),_0x53e3e4={'unitId':_0x36b265,'op':_0x28dca2},_0x16c2e1={'unitId':_0x36b265,'op':_0x3a217d};return _0xffd0b9['syncExecuteCommand'](_0x325a9e['id'],_0x53e3e4)?(_0x1593d9['focusUnit'](_0x36b265),_0xa685b0[_0xd6ef4d(0x2ee)]({'unitID':_0x36b265,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x16c2e1}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x53e3e4}]}),!0x0):!0x1;}},_0x444e97={'id':_0x10b817(0x2e3),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x178eeb,_0x4849fb)=>{const _0x1a9cd5=_0x10b817;if(!_0x4849fb)return!0x1;let _0x1fe397=_0x178eeb['get'](_0x1684be[_0x1a9cd5(0x18c)]),{unitId:_0x1d65a1,tableId:_0x4a4cd7,viewId:_0x3baed9,patch:_0x1c0bc5}=_0x4849fb,_0x3784d3=_0x1fe397[_0x1a9cd5(0x282)](_0x1d65a1,_0x1684be['UniverInstanceType'][_0x1a9cd5(0x1a9)]);if(!_0x3784d3||!_0x41e9f9(_0x3784d3,_0x4a4cd7,{'viewIds':[_0x3baed9]}))return!0x1;let _0x2452c2=_0x178eeb['get'](_0x1684be[_0x1a9cd5(0x35c)]),_0x5c0739=_0x178eeb[_0x1a9cd5(0x353)](_0x1684be[_0x1a9cd5(0x4ff)]),_0x22b05f=_0x3784d3[_0x1a9cd5(0x438)](),_0x52cf26=new _0x519e7e()['updateViewConfig'](_0x22b05f,_0x4a4cd7,_0x3baed9,_0x1c0bc5),_0x2eb14f=new _0x540632()[_0x1a9cd5(0x4fb)](_0x22b05f,_0x52cf26),_0x546899={'unitId':_0x1d65a1,'op':_0x52cf26},_0x4878be={'unitId':_0x1d65a1,'op':_0x2eb14f};return _0x2452c2[_0x1a9cd5(0x12b)](_0x325a9e['id'],_0x546899)?(_0x1fe397[_0x1a9cd5(0x326)](_0x1d65a1),_0x5c0739[_0x1a9cd5(0x2ee)]({'unitID':_0x1d65a1,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x4878be}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x546899}]}),!0x0):!0x1;}},_0x406620={'id':'base.command.update-base-record-order','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler':(_0x256e3e,_0x5c7909)=>{const _0x1c5639=_0x10b817;if(!_0x5c7909)return!0x1;let _0x8db01c=_0x256e3e[_0x1c5639(0x353)](_0x1684be['IUniverInstanceService']),{unitId:_0x37052a,tableId:_0x415cd7,recordId:_0x63c4f9,orderKey:_0x4de44b}=_0x5c7909,_0x4c63be=_0x8db01c[_0x1c5639(0x282)](_0x37052a,_0x1684be[_0x1c5639(0x4b4)]['UNIVER_BASE']);if(!_0x4c63be||!_0x41e9f9(_0x4c63be,_0x415cd7,{'recordIds':[_0x63c4f9]}))return!0x1;let _0x3bff61=_0x256e3e[_0x1c5639(0x353)](_0x1684be[_0x1c5639(0x35c)]),_0x10b8ab=_0x256e3e[_0x1c5639(0x353)](_0x1684be[_0x1c5639(0x4ff)]),_0x30a630=_0x4c63be[_0x1c5639(0x438)](),_0x331cb1=new _0x519e7e()[_0x1c5639(0x2b2)](_0x30a630,_0x415cd7,_0x63c4f9,_0x4de44b),_0x2a304f=new _0x540632()[_0x1c5639(0x4fb)](_0x30a630,_0x331cb1),_0x298d67={'unitId':_0x37052a,'op':_0x331cb1},_0x4c472b={'unitId':_0x37052a,'op':_0x2a304f};return _0x3bff61[_0x1c5639(0x12b)](_0x325a9e['id'],_0x298d67)?(_0x8db01c['focusUnit'](_0x37052a),_0x10b8ab[_0x1c5639(0x2ee)]({'unitID':_0x37052a,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x4c472b}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x298d67}]}),!0x0):!0x1;}},_0x24bff7=function(_0x3568a1){const _0x2fc2b2=_0x10b817;return _0x3568a1[_0x2fc2b2(0x25d)]=_0x2fc2b2(0x25a),_0x3568a1[_0x2fc2b2(0x10a)]='add',_0x3568a1[_0x2fc2b2(0x4b9)]='delete',_0x3568a1[_0x2fc2b2(0x4b0)]='clear',_0x3568a1;}({}),_0x2ddd12={'id':_0x10b817(0x3f0),'type':_0x1684be[_0x10b817(0x338)]['COMMAND'],'handler':(_0x56fde9,_0x5d537d)=>{const _0x587d68=_0x10b817;var _0xb254cb;if(!_0x5d537d)return!0x1;let _0x433257=_0x56fde9[_0x587d68(0x353)](_0x1684be[_0x587d68(0x18c)]),_0x3cbd8c=_0x433257['getUnit'](_0x5d537d[_0x587d68(0x323)],_0x1684be[_0x587d68(0x4b4)]['UNIVER_BASE']);if(!_0x3cbd8c||!_0x41e9f9(_0x3cbd8c,_0x5d537d['tableId'],{'viewIds':[_0x5d537d['viewId']]}))return!0x1;let _0x932260=_0x3cbd8c[_0x587d68(0x438)](),_0x4b419a=_0x932260[_0x587d68(0x135)][_0x5d537d[_0x587d68(0x171)]],_0x44031a=_0x8ae367(((_0xb254cb=_0x4b419a[_0x587d68(0x1b8)][_0x5d537d[_0x587d68(0x20c)]][_0x587d68(0x414)][_0x587d68(0x329)])==null?void 0x0:_0xb254cb['rules'])??[],_0x5d537d);if(!_0x44031a)return!0x1;_0x3574bd(_0x4b419a,_0x44031a);let _0x472c5e=new _0x519e7e()[_0x587d68(0x2b4)](_0x932260,_0x5d537d['tableId'],_0x5d537d[_0x587d68(0x20c)],{'conditionalColoring':_0x44031a[_0x587d68(0x350)]?{'rules':_0x44031a}:null}),_0x44e93e=new _0x540632()['invertOp'](_0x932260,_0x472c5e),_0x2ca8a0={'unitId':_0x5d537d[_0x587d68(0x323)],'op':_0x472c5e},_0x5d66d0={'unitId':_0x5d537d[_0x587d68(0x323)],'op':_0x44e93e};return _0x56fde9[_0x587d68(0x353)](_0x1684be[_0x587d68(0x35c)])[_0x587d68(0x12b)](_0x325a9e['id'],_0x2ca8a0)?(_0x433257[_0x587d68(0x326)](_0x5d537d[_0x587d68(0x323)]),_0x56fde9[_0x587d68(0x353)](_0x1684be[_0x587d68(0x4ff)])[_0x587d68(0x2ee)]({'unitID':_0x5d537d[_0x587d68(0x323)],'undoMutations':[{'id':_0x325a9e['id'],'params':_0x5d66d0}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x2ca8a0}]}),!0x0):!0x1;}};function _0x8ae367(_0x21f7e9,_0x1b4fe2){const _0x4f4444=_0x10b817;switch(_0x1b4fe2['type']){case _0x4f4444(0x25a):return _0x1684be['Tools']['deepClone'](_0x1b4fe2[_0x4f4444(0x2c0)]);case _0x4f4444(0x1f2):return[..._0x1684be[_0x4f4444(0x14c)]['deepClone'](_0x21f7e9),_0x1684be['Tools'][_0x4f4444(0x471)](_0x1b4fe2[_0x4f4444(0x1fe)])];case _0x4f4444(0x22e):{let _0xea9954=_0x21f7e9[_0x4f4444(0x2b7)](_0x19c9e6=>_0x19c9e6['id']!==_0x1b4fe2[_0x4f4444(0x31d)]);return _0xea9954['length']===_0x21f7e9['length']?null:_0x1684be[_0x4f4444(0x14c)][_0x4f4444(0x471)](_0xea9954);}case _0x4f4444(0x2f2):return _0x21f7e9[_0x4f4444(0x350)]?[]:null;}}function _0x3574bd(_0x1ac82a,_0x281dea){const _0x2f0285=_0x10b817;if(!Array['isArray'](_0x281dea))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x793e20=new Set();for(let [_0x36b742,_0x3ea688]of _0x281dea[_0x2f0285(0x172)]())_0x105899(_0x1ac82a,_0x3ea688,_0x4a7c9f(_0x3ea688,_0x36b742,_0x793e20));}function _0x4a7c9f(_0x72a954,_0xe9c3eb,_0x5ce3b4){const _0x4b474c=_0x10b817;if(!_0x72a954||typeof _0x72a954!=_0x4b474c(0x304))throw TypeError(_0x4b474c(0x1a2)+_0xe9c3eb+_0x4b474c(0x3c5));let _0x45cf66=typeof _0x72a954['id']==_0x4b474c(0x488)&&_0x72a954['id']['trim']()?'\x22'+_0x72a954['id']+'\x22':_0x4b474c(0x1b3)+_0xe9c3eb;if(typeof _0x72a954['id']!='string'||!_0x72a954['id'][_0x4b474c(0x328)]())throw Error(_0x4b474c(0x2bb)+_0x45cf66+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x5ce3b4['has'](_0x72a954['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x72a954['id']+'\x22.');_0x5ce3b4[_0x4b474c(0x1f2)](_0x72a954['id']);let _0x4e2016=typeof _0x72a954['color']==_0x4b474c(0x488)&&_0x72a954[_0x4b474c(0x49e)][_0x4b474c(0x328)]()?new _0x1684be['ColorKit'](_0x72a954['color']):null;if(!(_0x4e2016!=null&&_0x4e2016['isValid']))throw Error(_0x4b474c(0x2bb)+_0x45cf66+_0x4b474c(0x2de));return _0x45cf66;}function _0x105899(_0x657a99,_0x426880,_0x1c8361){const _0x5ecbfd=_0x10b817;let _0x469a77=new Set(Object[_0x5ecbfd(0x243)](_0x1684be[_0x5ecbfd(0x12d)])),_0x5b3e4e=new Set(Object['values'](_0x1684be[_0x5ecbfd(0x24c)])),_0x328423=new Set(Object[_0x5ecbfd(0x243)](_0x1684be[_0x5ecbfd(0x1de)]));if(!_0x469a77[_0x5ecbfd(0x11b)](_0x426880['target']))throw Error(_0x5ecbfd(0x2bb)+_0x1c8361+_0x5ecbfd(0x17a)+String(_0x426880['target'])+'\x22.');let _0x52a303=typeof _0x426880[_0x5ecbfd(0x294)]==_0x5ecbfd(0x488)?_0x657a99[_0x5ecbfd(0x22d)][_0x426880[_0x5ecbfd(0x294)]]:void 0x0;if(!_0x52a303||_0x52a303[_0x5ecbfd(0x1fb)]===!0x0||_0x52a303['type']===_0x1684be[_0x5ecbfd(0x1e3)][_0x5ecbfd(0x3fe)])throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1c8361+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x426880[_0x5ecbfd(0x294)])+'\x22.');if(!_0x5b3e4e[_0x5ecbfd(0x11b)](_0x426880[_0x5ecbfd(0x527)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1c8361+_0x5ecbfd(0x355)+String(_0x426880[_0x5ecbfd(0x527)])+'\x22.');if(_0x426880['dateMode']!==void 0x0&&!_0x328423[_0x5ecbfd(0x11b)](_0x426880[_0x5ecbfd(0x206)]))throw Error(_0x5ecbfd(0x2bb)+_0x1c8361+_0x5ecbfd(0x218)+String(_0x426880['dateMode'])+'\x22.');if(_0x426880[_0x5ecbfd(0x2bc)]===_0x1684be[_0x5ecbfd(0x12d)][_0x5ecbfd(0x533)])return;let _0x3c10e6=_0xd5d5f4(_0x52a303[_0x5ecbfd(0x4af)]);if(!_0x3c10e6['includes'](_0x426880[_0x5ecbfd(0x527)]))throw Error(_0x5ecbfd(0x2bb)+_0x1c8361+_0x5ecbfd(0x37e)+_0x426880[_0x5ecbfd(0x527)]+_0x5ecbfd(0x34f)+_0x52a303[_0x5ecbfd(0x4af)]+'\x22.\x20Allowed\x20operators:\x20'+_0x3c10e6[_0x5ecbfd(0x214)](',\x20')+'.');if(_0x426880[_0x5ecbfd(0x206)]!==void 0x0&&!_0xb78349(_0x52a303[_0x5ecbfd(0x4af)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1c8361+'\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.');}let _0x292474={'id':'base.command.update-base-view-config','type':_0x1684be['CommandType'][_0x10b817(0x182)],'handler':(_0x455773,_0x440cb1)=>{const _0x155259=_0x10b817;if(!_0x440cb1)return!0x1;let _0x1ebab7=_0x455773[_0x155259(0x353)](_0x1684be[_0x155259(0x18c)]),{unitId:_0x32be1c,tableId:_0x5d1b2a,viewId:_0x3db525,patch:_0x1babe2}=_0x440cb1,_0x4004c5=_0x1ebab7[_0x155259(0x282)](_0x32be1c,_0x1684be[_0x155259(0x4b4)]['UNIVER_BASE']);if(!_0x4004c5||!_0x41e9f9(_0x4004c5,_0x5d1b2a,{'viewIds':[_0x3db525]}))return!0x1;let _0x1d711a=_0x455773['get'](_0x1684be['ICommandService']),_0x47d39f=_0x455773[_0x155259(0x353)](_0x1684be[_0x155259(0x4ff)]),_0x190547=_0x4004c5[_0x155259(0x438)](),_0x8887e4=new _0x519e7e()[_0x155259(0x2b4)](_0x190547,_0x5d1b2a,_0x3db525,_0x1babe2),_0x47c1f0=new _0x540632()[_0x155259(0x4fb)](_0x190547,_0x8887e4),_0x6b9e89={'unitId':_0x32be1c,'op':_0x8887e4},_0x1df46d={'unitId':_0x32be1c,'op':_0x47c1f0};return _0x1d711a[_0x155259(0x12b)](_0x325a9e['id'],_0x6b9e89)?(_0x1ebab7[_0x155259(0x326)](_0x32be1c),_0x47d39f[_0x155259(0x2ee)]({'unitID':_0x32be1c,'undoMutations':[{'id':_0x325a9e['id'],'params':_0x1df46d}],'redoMutations':[{'id':_0x325a9e['id'],'params':_0x6b9e89}]}),!0x0):!0x1;}},_0x110074={'id':'base.command.validate-formula','type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x182)],'handler'(_0x3992c9,_0xb16997){const _0x1cc73e=_0x10b817;if(!_0xb16997)return{'valid':!0x1,'reason':_0x1cc73e(0x3f5)};let _0x548728=_0x3992c9[_0x1cc73e(0x353)](_0x1684be['IUniverInstanceService'])['getUnit'](_0xb16997[_0x1cc73e(0x323)],_0x1684be[_0x1cc73e(0x4b4)][_0x1cc73e(0x1a9)]),_0x1fd099=_0x548728==null?void 0x0:_0x548728['getSnapshot'](),_0x3f54c8=_0x1fd099==null?void 0x0:_0x1fd099[_0x1cc73e(0x135)][_0xb16997[_0x1cc73e(0x171)]];return!_0x1fd099||!_0x3f54c8?{'valid':!0x1,'reason':_0x1cc73e(0x38c)}:new _0x800605()[_0x1cc73e(0x16d)](_0xb16997['formula'],_0x3f54c8,{'snapshot':_0x1fd099});}},_0x3785b3=class extends _0x1684be['ObjectPermissionRuleModel']{constructor(_0x15b589){const _0x41a7e3=_0x10b817;super(_0x15b589,_0x41a7e3(0x3e5),_0x1684be[_0x41a7e3(0x4b4)]['UNIVER_BASE'],[_0x34d39d[_0x41a7e3(0x42f)][_0x41a7e3(0x3c8)],_0x34d39d[_0x41a7e3(0x42f)]['BaseField'],_0x34d39d[_0x41a7e3(0x42f)]['BaseRecord'],_0x34d39d[_0x41a7e3(0x42f)][_0x41a7e3(0x4e8)],_0x34d39d[_0x41a7e3(0x42f)][_0x41a7e3(0x2ca)]]);}};_0x3785b3=_0x573014([_0xb3d983(0x0,_0x1684be[_0x10b817(0x567)])],_0x3785b3);let _0xbe418a={'id':_0x10b817(0x46b),'type':_0x1684be[_0x10b817(0x338)]['MUTATION'],'handler':(_0x2a96a0,_0x28f906)=>!_0x28f906||!_0x2a96a0[_0x10b817(0x353)](_0x1684be[_0x10b817(0x18c)])[_0x10b817(0x282)](_0x28f906[_0x10b817(0x323)],_0x1684be[_0x10b817(0x4b4)]['UNIVER_BASE'])?!0x1:_0x2a96a0[_0x10b817(0x353)](_0x3785b3)[_0x10b817(0x423)](_0x28f906[_0x10b817(0x323)],_0x28f906['objectType'],_0x28f906[_0x10b817(0x1a1)],_0x28f906[_0x10b817(0x1fe)])},_0x198e5d={'id':_0x10b817(0x47f),'type':_0x1684be[_0x10b817(0x338)][_0x10b817(0x531)],'handler':(_0xcde0db,_0xab7371)=>!_0xab7371||!_0xcde0db[_0x10b817(0x353)](_0x1684be[_0x10b817(0x18c)])['getUnit'](_0xab7371[_0x10b817(0x323)],_0x1684be[_0x10b817(0x4b4)][_0x10b817(0x1a9)])?!0x1:_0xcde0db[_0x10b817(0x353)](_0x3785b3)[_0x10b817(0x526)](_0xab7371['unitId'],_0xab7371[_0x10b817(0x2c0)])};function _0x1761b7(_0xeb13a2){const _0x639b85=_0x10b817;let _0x4ba443=_0xeb13a2[_0x639b85(0x4c4)]??Date['now'](),_0x3449c3=_0xeb13a2[_0x639b85(0x396)]??_0xeb13a2['id']+'-field-name',_0x1779db=_0xeb13a2[_0x639b85(0x448)]??_0xeb13a2['id']+_0x639b85(0x51f),_0x38add2=_0xeb13a2[_0x639b85(0x35d)]??0x0,_0x3e847b=(0x0,_0x1684be[_0x639b85(0x43b)])(),_0x166a46={'id':_0x3449c3,'name':_0xeb13a2[_0x639b85(0x22c)]??_0x639b85(0x4f0),'type':_0x1684be[_0x639b85(0x1e3)][_0x639b85(0x286)],'config':{'placeholder':_0x639b85(0x114)}},_0x1a7bd7={},_0x2aca3b=[],_0x50d7c9={},_0x4110b9={},_0x1af549={};for(let _0x57d766=0x0;_0x57d766<_0x38add2;_0x57d766++){let _0x14a486=_0xeb13a2['id']+_0x639b85(0x21d)+(_0x57d766+0x1);_0x1a7bd7[_0x14a486]={'id':_0x14a486,'values':{[_0x1684be[_0x639b85(0x26a)]]:_0x14a486,..._0xeb13a2[_0x639b85(0x34b)]?{[_0x3449c3]:_0xeb13a2[_0x639b85(0x34b)]+'\x20'+(_0x57d766+0x1)}:{}},'orderKey':String(_0x57d766+0x1)[_0x639b85(0x34c)](0x4,'0'),'createdAt':_0x4ba443,'updatedAt':_0x4ba443},_0x2aca3b[_0x639b85(0x558)](_0x14a486),_0x50d7c9[_0x14a486]=_0x57d766,_0x4110b9[_0x57d766]=_0x14a486,_0x1af549[_0x57d766]={0x0:{'v':_0x14a486,'t':_0x1684be[_0x639b85(0x1e1)][_0x639b85(0x190)]}},_0xeb13a2[_0x639b85(0x34b)]&&(_0x1af549[_0x57d766][0x1]={'v':_0xeb13a2['recordNamePrefix']+'\x20'+(_0x57d766+0x1),'t':_0x1684be[_0x639b85(0x1e1)]['STRING']});}let _0x344a3f={'id':_0x1779db,'tableId':_0xeb13a2['id'],'name':'Grid','type':_0x1684be[_0x639b85(0x3b5)]['Grid'],'fieldOrder':[_0x1684be[_0x639b85(0x26a)],_0x3449c3],'fieldSettings':{[_0x1684be[_0x639b85(0x26a)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0xeb13a2['id'],'name':_0xeb13a2[_0x639b85(0x4ed)],'primaryFieldId':_0x3449c3,'fieldOrder':[_0x1684be[_0x639b85(0x26a)],_0x3449c3],'fields':{[_0x1684be[_0x639b85(0x26a)]]:_0x3e847b,[_0x3449c3]:_0x166a46},'records':_0x1a7bd7,'recordOrder':_0x2aca3b,'rowIndex':_0x50d7c9,'rowId':_0x4110b9,'colIndex':{[_0x1684be['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x3449c3]:0x1},'colId':{0x0:_0x1684be['BASE_RECORD_ID_FIELD_ID'],0x1:_0x3449c3},'cellData':_0x1af549,'views':{[_0x1779db]:_0x344a3f},'viewOrder':[_0x1779db]};}let _0x1755af=_0x10b817(0x44b);function _0x23b003(_0x361d0e){const _0x132c7c=_0x10b817;let _0x522b34=_0x1761b7({'id':_0x361d0e['hostAnchorId'],'name':_0x361d0e[_0x132c7c(0x4ed)]??_0x361d0e[_0x132c7c(0x10d)],'recordCount':0x0});return{..._0x522b34,'resources':{..._0x522b34[_0x132c7c(0x3cb)]??{},[_0x1755af]:_0x3add51(_0x361d0e)}};}function _0x41dd62(_0x2a64ba){const _0x122bdf=_0x10b817;return{'id':_0x325a9e['id'],'params':{'unitId':_0x2a64ba[_0x122bdf(0x323)],'op':_0x1684be[_0x122bdf(0x49f)][_0x122bdf(0x4af)][_0x122bdf(0x107)](_0x1684be[_0x122bdf(0x49f)][_0x122bdf(0x235)](['tables',_0x2a64ba[_0x122bdf(0x3be)]['id']],_0x2a64ba[_0x122bdf(0x3be)]),_0x1684be[_0x122bdf(0x49f)][_0x122bdf(0x235)](['tableOrder',_0x2a64ba['index']??_0x2a64ba[_0x122bdf(0x467)][_0x122bdf(0x430)][_0x122bdf(0x350)]],_0x2a64ba[_0x122bdf(0x3be)]['id'])),'trigger':_0x122bdf(0x371)}};}function _0x1fdb2d(_0xeb290c){const _0x2392d7=_0x10b817;let _0x451809=_0xeb290c[_0x2392d7(0x467)]['tableOrder'][_0x2392d7(0x354)](_0xeb290c[_0x2392d7(0x171)]);if(!(!_0xeb290c[_0x2392d7(0x467)][_0x2392d7(0x135)][_0xeb290c[_0x2392d7(0x171)]]||_0x451809<0x0))return{'id':_0x325a9e['id'],'params':{'unitId':_0xeb290c[_0x2392d7(0x323)],'op':_0x1684be[_0x2392d7(0x49f)][_0x2392d7(0x4af)]['compose'](_0x1684be['JSON1']['removeOp'](['tables',_0xeb290c[_0x2392d7(0x171)]],_0xeb290c['snapshot']['tables'][_0xeb290c[_0x2392d7(0x171)]]),_0x1684be[_0x2392d7(0x49f)]['removeOp']([_0x2392d7(0x430),_0x451809],_0xeb290c[_0x2392d7(0x171)])),'trigger':_0x2392d7(0x371)}};}function _0x3add51(_0x120a7a){const _0x36819b=_0x10b817;return{'version':0x1,'embedId':_0x120a7a[_0x36819b(0x10d)],'hostAnchorId':_0x120a7a[_0x36819b(0x116)],'childUnitId':_0x120a7a['childUnitId'],'childType':_0x120a7a[_0x36819b(0x146)]};}function _0x276442(_0x2be611){const _0x3ce602=_0x10b817;let _0x515539=Math[_0x3ce602(0x35b)](0x0,Number(_0x2be611[_0x3ce602(0x457)]??0x0)),_0x4a80ec=_0x2be611[_0x3ce602(0x2c5)]===!0x1?'0':'#,##0',_0x4dc774=_0x515539?'.'+'0'[_0x3ce602(0x3ef)](_0x515539):'',_0x2081da=_0x245927(_0x2be611[_0x3ce602(0x455)]);return''+(_0x2be611[_0x3ce602(0x51b)]?_0x44c6ca(_0x2be611['currencySymbol']):'')+_0x4a80ec+_0x4dc774+_0x2081da;}function _0x3050ae(_0x457dda,_0x5c1e42){const _0x380f82=_0x10b817;let _0x3fc07d=_0x276442(_0x5c1e42),_0x455191=_0x1684be[_0x380f82(0x27f)][_0x380f82(0x126)](_0x3fc07d,_0x457dda,{'throws':!0x1});return _0x14bca7(String(_0x455191),_0x5c1e42[_0x380f82(0x16b)],_0x5c1e42[_0x380f82(0x24f)]);}function _0x245927(_0x4db86d){const _0x470e39=_0x10b817;return _0x4db86d==='K'?',\x22K\x22':_0x4db86d==='M'?_0x470e39(0x2eb):_0x4db86d==='B'?_0x470e39(0x3a3):'';}function _0x44c6ca(_0x1a9863){const _0x5a550=_0x10b817;return/^[A-Z]+$/i[_0x5a550(0x3db)](_0x1a9863)?'\x22'+_0x1a9863+'\x22':_0x1a9863;}function _0x14bca7(_0x754115,_0xbaa5dc,_0x443de2){const _0x1758d9=_0x10b817;let _0x19eb23=_0xbaa5dc==='local'?_0x53dca6(_0x443de2):_0xbaa5dc;return _0x19eb23==='periodComma'?_0x754115[_0x1758d9(0x12a)](/,/g,'\x00')['replace'](/\./g,',')[_0x1758d9(0x12a)](/\0/g,'.'):_0x19eb23===_0x1758d9(0x43a)?_0x754115['replace'](/,/g,'\x20')[_0x1758d9(0x12a)](/\./g,','):_0x19eb23===_0x1758d9(0x4c5)?_0x754115[_0x1758d9(0x12a)](/,/g,'\x20'):_0x754115;}function _0x53dca6(_0x4ccc7c){const _0x4983ad=_0x10b817;var _0x195513,_0x3255bf;let _0x1c85c8=_0x4ccc7c||new Intl[(_0x4983ad(0x1d0))]()[_0x4983ad(0x167)]()[_0x4983ad(0x24f)],_0x1b8ec2;try{_0x1b8ec2=new Intl[(_0x4983ad(0x1d0))](_0x1c85c8,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x4983ad(0x300);}let _0x433613=(_0x195513=_0x1b8ec2[_0x4983ad(0x3d7)](_0x1f667a=>_0x1f667a[_0x4983ad(0x4af)]===_0x4983ad(0x1ff)))==null?void 0x0:_0x195513[_0x4983ad(0x2dc)],_0x2ea497=(_0x3255bf=_0x1b8ec2[_0x4983ad(0x3d7)](_0x3a8a9c=>_0x3a8a9c[_0x4983ad(0x4af)]==='decimal'))==null?void 0x0:_0x3255bf[_0x4983ad(0x2dc)],_0x446ac4=_0x433613==='\u00a0'||_0x433613==='\u202f'?'\x20':_0x433613;return _0x446ac4==='.'&&_0x2ea497===','?_0x4983ad(0x319):_0x446ac4==='\x20'&&_0x2ea497===','?_0x4983ad(0x43a):_0x446ac4==='\x20'&&_0x2ea497==='.'?_0x4983ad(0x4c5):_0x4983ad(0x300);}function _0x18a503(_0x1b6e85,_0x30516a){const _0x417b0f=_0x10b817;let _0x4d8be4=_0x30516a&&typeof _0x30516a==_0x417b0f(0x304)&&!Array['isArray'](_0x30516a)?_0x30516a:{},_0x123153=_0x4aeabb(_0x4d8be4[_0x417b0f(0x457)],0x0,0x2,0x0),_0x54b2b6=_0x1b6e85[_0x417b0f(0x20a)](_0x123153);return _0x4d8be4[_0x417b0f(0x126)]==='number'?_0x54b2b6:_0x54b2b6+'%';}function _0x4aeabb(_0x4a2580,_0x16fa61,_0x4a85f2,_0x5cad85){const _0x2dfe5f=_0x10b817;if(_0x4a2580==null||_0x4a2580==='')return _0x5cad85;let _0x1d7213=typeof _0x4a2580==_0x2dfe5f(0x188)?_0x4a2580:Number(_0x4a2580);return Number[_0x2dfe5f(0x4c9)](_0x1d7213)?Math[_0x2dfe5f(0x35b)](_0x16fa61,Math['min'](_0x4a85f2,Math['round'](_0x1d7213))):_0x5cad85;}let _0xf06d9e=[_0x10b817(0x283),_0x10b817(0x177),_0x10b817(0x325),_0x10b817(0x4f4),_0x10b817(0x22b),'average','min',_0x10b817(0x35b)],_0x2aad8f=[_0x10b817(0x283),_0x10b817(0x177),_0x10b817(0x325),_0x10b817(0x4f4)],_0xb34aa7=[_0x10b817(0x22b),_0x10b817(0x2c4),_0x10b817(0x298),'max'],_0x499d7d=['min',_0x10b817(0x35b)],_0x1e3172=new Set([_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x2ea)],_0x1684be[_0x10b817(0x1e3)]['Currency'],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x36e)],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x55c)]]),_0x4a658a=new Set([_0x1684be[_0x10b817(0x1e3)]['MultiSelect'],_0x1684be[_0x10b817(0x1e3)][_0x10b817(0x3fd)],_0x1684be[_0x10b817(0x1e3)]['Group']]),_0x37d025='General';function _0x2c4332(_0x1e1474){const _0x58add9=_0x10b817;return typeof _0x1e1474==_0x58add9(0x488)&&_0xf06d9e[_0x58add9(0x41a)](_0x1e1474);}function _0x55e4c7(_0x349067){const _0x3967f7=_0x10b817;return!_0x349067||typeof _0x349067!='object'?{}:Object[_0x3967f7(0x333)](Object[_0x3967f7(0x172)](_0x349067)['filter'](_0x254802=>_0x2c4332(_0x254802[0x1])));}function _0x23803c(_0x3ca396){const _0x3df002=_0x10b817;return _0x1e3172[_0x3df002(0x11b)](_0x3ca396[_0x3df002(0x4af)])?[..._0x2aad8f,..._0xb34aa7]:_0x3ca396[_0x3df002(0x4af)]===_0x1684be['BaseFieldType']['Formula']?[..._0x2aad8f,..._0x3962ba(_0x3ca396)===_0x3df002(0x18d)?_0x499d7d:_0xb34aa7]:_0x2aad8f;}function _0x49aeec(_0x4b8cd4,_0x16a25d){const _0x52c6fb=_0x10b817;return _0x23803c(_0x4b8cd4)[_0x52c6fb(0x41a)](_0x16a25d);}function _0x1a0a63(_0x2a318d,_0x45fb9a,_0x4b11ab){const _0x30a63c=_0x10b817;if(!_0x49aeec(_0x2a318d,_0x4b11ab))return null;let _0x17a547=_0x45fb9a[_0x30a63c(0x2b7)](_0x198a97=>!_0x50fb41(_0x2a318d,_0x198a97));switch(_0x4b11ab){case _0x30a63c(0x283):return _0x45fb9a[_0x30a63c(0x350)];case _0x30a63c(0x177):return _0x17a547[_0x30a63c(0x350)];case _0x30a63c(0x325):return _0x45fb9a[_0x30a63c(0x350)]-_0x17a547[_0x30a63c(0x350)];case'unique':return new Set(_0x17a547['map'](_0x4fe539=>_0x141c1c(_0x2a318d,_0x4fe539)))['size'];case _0x30a63c(0x22b):{let _0x103621=_0x88079c(_0x2a318d,_0x17a547);return _0x103621['length']?_0x38ef5b(_0x103621):null;}case'average':{let _0x21bc31=_0x88079c(_0x2a318d,_0x17a547);return _0x21bc31[_0x30a63c(0x350)]?_0x38ef5b(_0x21bc31)/_0x21bc31[_0x30a63c(0x350)]:null;}case'min':{let _0x177044=_0x88079c(_0x2a318d,_0x17a547);return _0x177044[_0x30a63c(0x350)]?Math[_0x30a63c(0x298)](..._0x177044):null;}case _0x30a63c(0x35b):{let _0x5aa127=_0x88079c(_0x2a318d,_0x17a547);return _0x5aa127[_0x30a63c(0x350)]?Math[_0x30a63c(0x35b)](..._0x5aa127):null;}}}function _0xefb27b(_0x747012,_0x1e2f96,_0x3b9e35){const _0x1f6324=_0x10b817;if(_0x3b9e35==null||!Number[_0x1f6324(0x4c9)](_0x3b9e35))return'-';if(_0x2aad8f[_0x1f6324(0x41a)](_0x1e2f96))return String(_0x3b9e35);switch(_0x747012[_0x1f6324(0x4af)]){case _0x1684be[_0x1f6324(0x1e3)][_0x1f6324(0x2ea)]:return _0x3050ae(_0x3b9e35,_0x4e2806(_0x747012));case _0x1684be['BaseFieldType']['Currency']:return _0x3050ae(_0x3b9e35,_0x3c1503(_0x747012));case _0x1684be[_0x1f6324(0x1e3)][_0x1f6324(0x36e)]:return _0x18a503(_0x3b9e35,_0x747012['config']);case _0x1684be['BaseFieldType'][_0x1f6324(0x232)]:return _0x117e75(_0x3b9e35,_0x747012);default:return _0x3b906f(_0x3b9e35);}}function _0x50fb41(_0x193b7a,_0x5e44e5){const _0x251114=_0x10b817;if(_0x5e44e5==null)return!0x0;if(typeof _0x5e44e5==_0x251114(0x488))return _0x5e44e5[_0x251114(0x328)]()==='';if(Array[_0x251114(0x233)](_0x5e44e5))return _0x193b7a['type']===_0x1684be['BaseFieldType'][_0x251114(0x42d)]?!_0x5e44e5[_0x251114(0x4d2)](_0x25cefb):_0x5e44e5[_0x251114(0x350)]===0x0;if(_0x193b7a['type']===_0x1684be[_0x251114(0x1e3)][_0x251114(0x1b9)]&&typeof _0x5e44e5=='object'){let _0x1e15a1=_0x5e44e5;return[_0x1e15a1['text'],_0x1e15a1['url']]['every'](_0x13abf3=>_0x13abf3==null||String(_0x13abf3)[_0x251114(0x328)]()==='');}return!0x1;}function _0x88079c(_0x372cb8,_0x13cdcb){const _0x4d1531=_0x10b817;let _0x5ae2f8=[];for(let _0x89f898 of _0x13cdcb){let _0x13fdf7=_0x3f249b(_0x372cb8,_0x89f898);_0x13fdf7!=null&&_0x5ae2f8[_0x4d1531(0x558)](_0x13fdf7);}return _0x5ae2f8;}function _0x3f249b(_0x5456a6,_0x492656){const _0x1e31e7=_0x10b817;if(typeof _0x492656==_0x1e31e7(0x188))return Number[_0x1e31e7(0x4c9)](_0x492656)?_0x492656:null;if(_0x5456a6[_0x1e31e7(0x4af)]!==_0x1684be[_0x1e31e7(0x1e3)][_0x1e31e7(0x232)]&&typeof _0x492656==_0x1e31e7(0x488)&&_0x492656['trim']()!==''){let _0x489052=Number(_0x492656);return Number[_0x1e31e7(0x4c9)](_0x489052)?_0x489052:null;}return null;}function _0x38ef5b(_0x50422d){const _0x1a0567=_0x10b817;let _0x365f2a=0x0,_0x498a10=0x0;for(let _0x1f0dcc of _0x50422d){let _0xd8e0cd=_0x365f2a+_0x1f0dcc;_0x498a10+=Math[_0x1a0567(0x197)](_0x365f2a)>=Math[_0x1a0567(0x197)](_0x1f0dcc)?_0x365f2a-_0xd8e0cd+_0x1f0dcc:_0x1f0dcc-_0xd8e0cd+_0x365f2a,_0x365f2a=_0xd8e0cd;}return _0x365f2a+_0x498a10;}function _0x141c1c(_0x139b98,_0x33c823){const _0x5f4380=_0x10b817;return _0x4a658a[_0x5f4380(0x11b)](_0x139b98[_0x5f4380(0x4af)])&&Array[_0x5f4380(0x233)](_0x33c823)?_0x2bfc4c([...new Set(_0x33c823[_0x5f4380(0x4fd)](_0x43f702=>_0x2bfc4c(_0x2d96ba(_0x43f702))))][_0x5f4380(0x409)]()):_0x2bfc4c(_0x2d96ba(_0x33c823));}function _0x2d96ba(_0x1eb362){const _0x1833f3=_0x10b817;return Array[_0x1833f3(0x233)](_0x1eb362)?_0x1eb362['map'](_0x2d96ba):_0x1eb362&&typeof _0x1eb362=='object'?Object[_0x1833f3(0x333)](Object[_0x1833f3(0x172)](_0x1eb362)['sort'](([_0x31e522],[_0x3a6314])=>_0x31e522[_0x1833f3(0x25e)](_0x3a6314))[_0x1833f3(0x4fd)](([_0x2d69db,_0x5bb43f])=>[_0x2d69db,_0x2d96ba(_0x5bb43f)])):_0x1eb362;}function _0x2bfc4c(_0x2ad2bb){const _0xb679=_0x10b817;return JSON[_0xb679(0x551)](_0x2ad2bb)??'undefined';}function _0x25cefb(_0x53643d){const _0xb6ef4a=_0x10b817;if(typeof _0x53643d==_0xb6ef4a(0x488))return _0x53643d[_0xb6ef4a(0x328)]()!=='';if(!_0x53643d||typeof _0x53643d!='object')return!0x1;let _0x41e591=_0x53643d;return[_0x41e591['id'],_0x41e591[_0xb6ef4a(0x4ed)],_0x41e591['source'],_0x41e591[_0xb6ef4a(0x351)],_0x41e591[_0xb6ef4a(0x14e)]][_0xb6ef4a(0x4d2)](_0x5efd4a=>_0x5efd4a!=null&&String(_0x5efd4a)[_0xb6ef4a(0x328)]()!=='');}function _0x4e2806(_0xc00be7){const _0x15abab=_0x10b817;let _0x46d929=_0x2fe151(_0xc00be7[_0x15abab(0x414)]);return{'decimalPlaces':_0x4ececd(_0x46d929[_0x15abab(0x457)],0x0,0x14,0x2),'separatorStyle':typeof _0x46d929[_0x15abab(0x16b)]==_0x15abab(0x488)?_0x46d929[_0x15abab(0x16b)]:_0x15abab(0x168),'locale':typeof _0x46d929['locale']==_0x15abab(0x488)?_0x46d929[_0x15abab(0x24f)]:void 0x0,'useThousands':_0x46d929['useThousands']!==!0x1,'abbreviation':typeof _0x46d929[_0x15abab(0x455)]=='string'?_0x46d929['abbreviation']:_0x15abab(0x3a6)};}function _0x3c1503(_0x2b8247){const _0x1f56c7=_0x10b817;let _0x37d116=_0x2fe151(_0x2b8247[_0x1f56c7(0x414)]);return{..._0x4e2806(_0x2b8247),'currencySymbol':String(_0x37d116['currencySymbol']??'$')};}function _0x117e75(_0x3de037,_0x228d0f){const _0x3683bf=_0x10b817;let _0x5f2adc=_0x1afeda(_0x228d0f);if(_0x5f2adc===_0x37d025)return _0x3b906f(_0x3de037);try{return String(_0x1684be[_0x3683bf(0x27f)][_0x3683bf(0x126)](_0x5f2adc,_0x3de037,{'throws':!0x1}));}catch{return _0x3b906f(_0x3de037);}}function _0x3962ba(_0x205dd8){const _0x535ce6=_0x10b817;let _0x263fa4=_0x2fe151(_0x2fe151(_0x205dd8['config'])[_0x535ce6(0x27f)]);return typeof _0x263fa4[_0x535ce6(0x4af)]=='string'?_0x263fa4[_0x535ce6(0x4af)]:'general';}function _0x1afeda(_0x290072){const _0x3e6ebc=_0x10b817;let _0x3f5ce6=_0x2fe151(_0x2fe151(_0x290072[_0x3e6ebc(0x414)])[_0x3e6ebc(0x27f)]);return String(_0x3f5ce6[_0x3e6ebc(0x449)]??_0x37d025)[_0x3e6ebc(0x328)]()||_0x37d025;}function _0x3b906f(_0x293835){const _0x12e640=_0x10b817;return String(Number[_0x12e640(0x237)](_0x293835)?_0x293835:Math[_0x12e640(0x447)]((_0x293835+0x2**-0x34)*0x64)/0x64);}function _0x2fe151(_0x2510af){const _0x11b32f=_0x10b817;return _0x2510af&&typeof _0x2510af==_0x11b32f(0x304)&&!Array['isArray'](_0x2510af)?_0x2510af:{};}function _0x5f4bdf(_0x4ab359){const _0x1db424=_0x10b817;if(_0x4ab359==null||_0x4ab359==='')return null;let _0x24c0fc=typeof _0x4ab359==_0x1db424(0x188)?_0x4ab359:Number(_0x4ab359);return Number[_0x1db424(0x4c9)](_0x24c0fc)?_0x24c0fc:null;}function _0x4ececd(_0x6abf23,_0x318a4d,_0x5d3b61,_0x5b2466){const _0x2b8fae=_0x10b817;let _0x52dd09=_0x5f4bdf(_0x6abf23);return _0x52dd09==null?_0x5b2466:Math[_0x2b8fae(0x35b)](_0x318a4d,Math[_0x2b8fae(0x298)](_0x5d3b61,Math[_0x2b8fae(0x447)](_0x52dd09)));}function _0x5e96b3(_0x3bbf6e,_0x944690){const _0x2a1334=_0x10b817;let _0x1255c8=_0x1684be['Tools'][_0x2a1334(0x471)](_0x3bbf6e),_0xed94a8=_0x944690[_0x2a1334(0x2c1)]===!0x0,_0x539341=new Map(),_0x175d31=_0x944690[_0x2a1334(0x54d)]??(()=>_0x2a1334(0x266)+(0x0,_0x1684be[_0x2a1334(0x537)])(0x8)),_0x312ab7=_0x1255c8[_0x2a1334(0x522)];return _0x944690[_0x2a1334(0x2ba)]&&(_0x312ab7=_0x1255c8[_0x2a1334(0x522)]['map'](_0x582877=>{let _0x191479=_0x175d31();return _0x539341['set'](_0x582877,_0x191479),_0x191479;})),{..._0x1255c8,'id':_0x944690['id'],'name':_0x944690[_0x2a1334(0x4ed)],'records':_0xed94a8?_0x1255c8['records']:{},'recordOrder':_0xed94a8?_0x1255c8[_0x2a1334(0x385)]:[],'rowIndex':_0xed94a8?_0x1255c8[_0x2a1334(0x131)]:{},'rowId':_0xed94a8?_0x1255c8[_0x2a1334(0x1b1)]:{},'cellData':_0xed94a8?_0x1255c8[_0x2a1334(0x1e5)]:{},'resources':_0xed94a8?_0x1255c8[_0x2a1334(0x3cb)]:{},'viewOrder':_0x312ab7,'views':Object['fromEntries'](Object[_0x2a1334(0x172)](_0x1255c8[_0x2a1334(0x1b8)]??{})['map'](([_0x5356ec,_0x484a04])=>{const _0x4566cd=_0x2a1334;let _0x536d97=_0x539341[_0x4566cd(0x353)](_0x5356ec)??(_0x944690[_0x4566cd(0x2ba)]?_0x175d31():_0x5356ec);return[_0x536d97,{..._0x484a04,'id':_0x536d97,'tableId':_0x944690['id']}];}))};}var _0x34ad6e=_0x10b817(0x2e2),_0x54297f=_0x10b817(0x259);let _0x22aeb3={},_0x269a58={};function _0xa2ff3d(_0x28fa1e){const _0x4f35ef=_0x10b817;return new _0x540632()[_0x4f35ef(0x469)](_0x28fa1e);}function _0x248ca6(_0x58b344){const _0x5494e5=_0x10b817;return _0x58b344['patches']['map'](_0x52b9d2=>({'unitId':_0x58b344[_0x5494e5(0x323)],'sheetId':_0x58b344[_0x5494e5(0x171)],'range':{'startRow':_0x52b9d2['row'],'endRow':_0x52b9d2[_0x5494e5(0x19c)],'startColumn':_0x52b9d2[_0x5494e5(0x4b5)],'endColumn':_0x52b9d2[_0x5494e5(0x4b5)]}}));}function _0x566aaa(_0x2c65ab,_0x35dbb2){const _0x5ba5f5=_0x10b817;return{[_0x2c65ab]:Object[_0x5ba5f5(0x333)](_0x35dbb2[_0x5ba5f5(0x4fd)](_0x19ba78=>[_0x19ba78,'1']))};}let _0x251c4a=class extends _0x1684be['Disposable']{constructor(_0x994771,_0x3d9e64){const _0x1b05f1=_0x10b817;super(),this[_0x1b05f1(0x416)]=_0x994771,this[_0x1b05f1(0x2a8)]=_0x3d9e64,this['_initialize']();}['_initialize'](){const _0x4ecd32=_0x10b817;this[_0x4ecd32(0x416)][_0x4ecd32(0x518)](_0x325a9e['id'],{'commandId':_0x325a9e['id'],'getDirtyData':_0x4f7311=>this[_0x4ecd32(0x3f3)](_0x4f7311[_0x4ecd32(0x4a2)])}),this[_0x4ecd32(0x3e3)]((0x0,_0x1684be['toDisposable'])(()=>{this['_activeDirtyManagerService']['remove'](_0x325a9e['id']);}));}[_0x10b817(0x530)](_0x15695f,_0x3c9e33){const _0x573544=_0x10b817;let _0x2aa566=this[_0x573544(0x2a8)][_0x573544(0x282)](_0x15695f,_0x1684be[_0x573544(0x4b4)][_0x573544(0x1a9)]);return(_0x2aa566==null?void 0x0:_0x2aa566['getSnapshot']()[_0x573544(0x135)][_0x3c9e33])??null;}['_getJson1DirtyData'](_0x7c365){const _0x43f565=_0x10b817;if(_0x7c365['trigger']===_0x43f565(0x230))return{};if(!_0x7c365['unitId']||!_0x7c365['op'])return{'clearDependencyTreeCache':this[_0x43f565(0x2bf)](),'forceCalculation':!0x0};let _0x5457c7=_0xa2ff3d(_0x7c365['op']),_0x2ef58e=this[_0x43f565(0x4a4)](_0x7c365[_0x43f565(0x323)],_0x5457c7);if(_0x2ef58e[_0x43f565(0x350)])return{'clearDependencyTreeCache':_0x566aaa(_0x7c365[_0x43f565(0x323)],_0x2ef58e),'forceCalculation':!0x0};let _0x462084=Object[_0x43f565(0x172)](this[_0x43f565(0x410)](_0x7c365[_0x43f565(0x323)],_0x5457c7))['flatMap'](([_0xf1b07d,_0x528534])=>_0x248ca6({'unitId':_0x7c365[_0x43f565(0x323)],'tableId':_0xf1b07d,'patches':_0x528534}));return _0x462084[_0x43f565(0x350)]?{'dirtyRanges':_0x462084}:{};}[_0x10b817(0x4a4)](_0x56b541,_0x1ab269){const _0x16ac11=_0x10b817;let _0x48bdb4=_0x1ab269[_0x16ac11(0x2b7)](_0x5601c8=>_0x5601c8[_0x16ac11(0x1cb)]!==_0x16ac11(0x3ce))[_0x16ac11(0x158)](_0x4eaeb6=>_0x4eaeb6['tableId']?[_0x4eaeb6[_0x16ac11(0x171)]]:this[_0x16ac11(0x411)](_0x56b541));return Array['from'](new Set(_0x48bdb4));}[_0x10b817(0x410)](_0x3e54a2,_0x33429d){let _0x581d61=new Set();return _0x33429d['reduce']((_0x292609,_0x35b7bb)=>{const _0x51737f=_0x5a55;let _0x41cdc9=this['_toDirtyRangePatch'](_0x3e54a2,_0x35b7bb);if(!_0x41cdc9)return _0x292609;let _0x198128=_0x35b7bb[_0x51737f(0x171)]+':'+_0x41cdc9['row']+':'+_0x41cdc9[_0x51737f(0x4b5)];return _0x581d61[_0x51737f(0x11b)](_0x198128)?_0x292609:(_0x581d61[_0x51737f(0x1f2)](_0x198128),_0x292609[_0x35b7bb[_0x51737f(0x171)]]=_0x292609[_0x35b7bb[_0x51737f(0x171)]]??[],_0x292609[_0x35b7bb[_0x51737f(0x171)]][_0x51737f(0x558)](_0x41cdc9),_0x292609);},{});}[_0x10b817(0x4e6)](_0x24b10e,_0x260ac2){const _0x2d1811=_0x10b817;if(_0x260ac2['reason']!==_0x2d1811(0x3ce))return null;if(_0x260ac2[_0x2d1811(0x19c)]!=null&&_0x260ac2[_0x2d1811(0x3d8)]!=null)return{'row':_0x260ac2[_0x2d1811(0x19c)],'col':_0x260ac2[_0x2d1811(0x3d8)],'value':null};if(!_0x260ac2[_0x2d1811(0x240)]||!_0x260ac2[_0x2d1811(0x294)])return null;let _0x18d81f=this[_0x2d1811(0x530)](_0x24b10e,_0x260ac2[_0x2d1811(0x171)]);if(!_0x18d81f)return null;let _0x4c6500=_0x2b23e8(_0x18d81f,_0x260ac2[_0x2d1811(0x240)],_0x260ac2[_0x2d1811(0x294)]);return _0x4c6500?{'row':_0x4c6500[_0x2d1811(0x19c)],'col':_0x4c6500[_0x2d1811(0x4b5)],'value':null}:null;}[_0x10b817(0x411)](_0x32188d){const _0x749f9f=_0x10b817;let _0x5416af=this[_0x749f9f(0x2a8)]['getUnit'](_0x32188d,_0x1684be[_0x749f9f(0x4b4)][_0x749f9f(0x1a9)]);return Object[_0x749f9f(0x243)]((_0x5416af==null?void 0x0:_0x5416af[_0x749f9f(0x438)]()[_0x749f9f(0x135)])??{})[_0x749f9f(0x4fd)](_0x25310c=>_0x25310c['id']);}[_0x10b817(0x2bf)](){const _0x5bd17a=_0x10b817;let _0x424a97=this[_0x5bd17a(0x2a8)]['getAllUnitsForType'](_0x1684be[_0x5bd17a(0x4b4)]['UNIVER_BASE'])[_0x5bd17a(0x4fd)](_0x1c7b59=>_0x566aaa(_0x1c7b59['getUnitId'](),Object[_0x5bd17a(0x176)](_0x1c7b59[_0x5bd17a(0x438)]()[_0x5bd17a(0x135)])));return Object[_0x5bd17a(0x4f8)]({},..._0x424a97);}};_0x251c4a=_0x573014([_0xb3d983(0x0,_0xb4ab41[_0x10b817(0x472)]),_0xb3d983(0x1,_0x1684be[_0x10b817(0x18c)])],_0x251c4a);let _0x42e49b=class extends _0x1684be[_0x10b817(0x3d4)]{constructor(_0x3d36a7,_0x1d3484,_0x18b06d,_0x5e8a35){const _0x51ff76=_0x10b817;super(),this['_commandService']=_0x3d36a7,this[_0x51ff76(0x2a8)]=_0x1d3484,this['_formulaCalculationTriggerService']=_0x18b06d,this[_0x51ff76(0x39b)]=_0x5e8a35,_0x4876c0(this,_0x51ff76(0x360),new _0x800605()),_0x4876c0(this,_0x51ff76(0x159),new Map()),_0x4876c0(this,_0x51ff76(0x16e),new Set()),_0x4876c0(this,_0x51ff76(0x212),Promise['resolve']()),_0x4876c0(this,_0x51ff76(0x3b1),!0x1),this['_initialize']();}[_0x10b817(0x29d)](){const _0x116bb1=_0x10b817;this[_0x116bb1(0x2a8)][_0x116bb1(0x1ac)](_0x1684be['UniverInstanceType']['UNIVER_BASE'])[_0x116bb1(0x4ac)](_0x34a43b=>{const _0x281e1a=_0x116bb1;this[_0x281e1a(0x13c)](_0x34a43b);}),this[_0x116bb1(0x3e3)](this[_0x116bb1(0x2a8)][_0x116bb1(0x3b3)](_0x1684be[_0x116bb1(0x4b4)][_0x116bb1(0x1a9)])[_0x116bb1(0x2f9)](({unit:_0x4323b6})=>{const _0x3ab7e9=_0x116bb1;this[_0x3ab7e9(0x13c)](_0x4323b6);})),this[_0x116bb1(0x3e3)](this['_univerInstanceService'][_0x116bb1(0x244)](_0x1684be[_0x116bb1(0x4b4)][_0x116bb1(0x1a9)])[_0x116bb1(0x2f9)](_0x5584c3=>{const _0x50d74f=_0x116bb1;this[_0x50d74f(0x528)](()=>this[_0x50d74f(0x2cc)](_0x5584c3[_0x50d74f(0x14b)]()));})),this[_0x116bb1(0x3e3)](this[_0x116bb1(0x503)]['onCommandExecuted'](_0x479bc7=>this[_0x116bb1(0x505)](_0x479bc7)));}[_0x10b817(0x505)](_0x25fa93){const _0x285b61=_0x10b817;if(_0x25fa93['id']===_0xb4ab41[_0x285b61(0x1e4)]['id']){_0x4c1091(_0x25fa93[_0x285b61(0x4a2)])&&this[_0x285b61(0x29a)](_0x25fa93['params']);return;}if(this[_0x285b61(0x3b1)]||_0x25fa93['id']!==_0x325a9e['id'])return;let _0x2955ad=_0x21522a(_0x25fa93[_0x285b61(0x4a2)])?_0x25fa93['params']:void 0x0,_0x24156e=_0x2955ad!=null&&_0x2955ad[_0x285b61(0x323)]?[this[_0x285b61(0x2a8)][_0x285b61(0x282)](_0x2955ad[_0x285b61(0x323)],_0x1684be[_0x285b61(0x4b4)][_0x285b61(0x1a9)])][_0x285b61(0x2b7)](_0x3c3911=>!!_0x3c3911):this[_0x285b61(0x2a8)][_0x285b61(0x1ac)](_0x1684be[_0x285b61(0x4b4)][_0x285b61(0x1a9)]),_0x5294a7=_0x2955ad==null?void 0x0:_0x2955ad['op'];_0x24156e[_0x285b61(0x4ac)](_0x592421=>{const _0x12431d=_0x285b61;let _0x55c944=_0x5294a7?_0xa2ff3d(_0x5294a7):[];(!_0x5294a7||_0x55c944[_0x12431d(0x4d2)](_0x4f60f0=>_0x4f60f0[_0x12431d(0x1cb)]!==_0x12431d(0x3ce)))&&this[_0x12431d(0x13c)](_0x592421);});}[_0x10b817(0x13c)](_0x2fbd6e){const _0x3125cd=_0x10b817;let _0x30c0bb=_0x2fbd6e['getUnitId']();this[_0x3125cd(0x16e)][_0x3125cd(0x11b)](_0x30c0bb)||(this[_0x3125cd(0x16e)]['add'](_0x30c0bb),this[_0x3125cd(0x528)](async()=>{const _0x2e0e44=_0x3125cd;this[_0x2e0e44(0x16e)][_0x2e0e44(0x22e)](_0x30c0bb),await this['_syncSuperTables'](_0x2fbd6e);}));}async['_syncSuperTables'](_0x2d8765){const _0x194ff1=_0x10b817;let _0x5e7ecf=_0x2d8765[_0x194ff1(0x14b)](),_0x49ffe7=this[_0x194ff1(0x360)][_0x194ff1(0x142)](_0x2d8765[_0x194ff1(0x438)]()),_0x297578=new Set(_0x49ffe7[_0x194ff1(0x4fd)](({tableName:_0x445980})=>_0x445980)),_0x2f286b=this['_registeredSuperTableNames']['get'](_0x5e7ecf)??new Set();for(let _0x32641a of _0x2f286b)if(!_0x297578[_0x194ff1(0x11b)](_0x32641a)&&!await this[_0x194ff1(0x515)](_0xb4ab41['RemoveSuperTableMutation']['id'],{'unitId':_0x5e7ecf,'tableName':_0x32641a}))return;for(let {tableName:_0x263de9,reference:_0x285977}of _0x49ffe7)if(!await this[_0x194ff1(0x515)](_0xb4ab41['SetSuperTableMutation']['id'],{'unitId':_0x5e7ecf,'tableName':_0x263de9,'reference':_0x285977}))return;this['_registeredSuperTableNames'][_0x194ff1(0x25a)](_0x5e7ecf,_0x297578);}async[_0x10b817(0x2cc)](_0x309ba4){const _0x5e62d5=_0x10b817;let _0x4a99aa=this[_0x5e62d5(0x159)][_0x5e62d5(0x353)](_0x309ba4)??new Set();for(let _0x544e36 of _0x4a99aa)if(!await this[_0x5e62d5(0x515)](_0xb4ab41[_0x5e62d5(0x179)]['id'],{'unitId':_0x309ba4,'tableName':_0x544e36}))return;this[_0x5e62d5(0x159)][_0x5e62d5(0x22e)](_0x309ba4);}async['_executeSuperTableMutationWhileActive'](_0x328a7a,_0xcbf10a){const _0x39bf1c=_0x10b817;return!this['_disposed']&&await this[_0x39bf1c(0x503)][_0x39bf1c(0x1bc)](_0x328a7a,_0xcbf10a,{'onlyLocal':!0x0})&&!this[_0x39bf1c(0x1e0)];}['_enqueueFormulaSync'](_0x4f5f85){const _0x52542d=_0x10b817;this[_0x52542d(0x212)]=this[_0x52542d(0x212)][_0x52542d(0x277)](_0x4f5f85,_0x4f5f85)[_0x52542d(0x407)](()=>void 0x0);}[_0x10b817(0x29a)](_0x351c9b){const _0x1b7327=_0x10b817;let _0x4eed32=this[_0x1b7327(0x2a8)][_0x1b7327(0x1ac)](_0x1684be[_0x1b7327(0x4b4)][_0x1b7327(0x1a9)]);if(!_0x4eed32[_0x1b7327(0x4d2)](_0x50613c=>{const _0x302aba=_0x1b7327;var _0x41f524;return((_0x41f524=_0x351c9b[_0x302aba(0x4be)])==null?void 0x0:_0x41f524[_0x50613c[_0x302aba(0x14b)]()])!=null;}))return;let _0x1b3786=_0x4eed32[_0x1b7327(0x158)](_0xfa9a9f=>_0x209aed(_0xfa9a9f[_0x1b7327(0x438)](),_0x351c9b));if(!_0x1b3786[_0x1b7327(0x350)]){this['_formulaCalculationSessionService'][_0x1b7327(0x1fa)](_0x1019da[_0x1b7327(0x4ec)][_0x1b7327(0x1b0)],_0x351c9b);return;}let _0x3f46bd=new _0x519e7e(),_0x27c888=_0x1b3786['flatMap'](_0x334a93=>_0x248ca6({'unitId':_0x334a93['unitId'],'tableId':_0x334a93[_0x1b7327(0x171)],'patches':_0x334a93['patches']}));this[_0x1b7327(0x3b1)]=!0x0,(async()=>{const _0x37e4d0=_0x1b7327;for(let _0x1bc450 of _0x1b3786){let _0x6e598a=this[_0x37e4d0(0x2a8)][_0x37e4d0(0x282)](_0x1bc450['unitId'],_0x1684be['UniverInstanceType'][_0x37e4d0(0x1a9)]);_0x6e598a&&await this[_0x37e4d0(0x503)]['executeCommand'](_0x325a9e['id'],{'unitId':_0x1bc450[_0x37e4d0(0x323)],'op':_0x3f46bd['setRangeValues'](_0x6e598a[_0x37e4d0(0x438)](),_0x1bc450[_0x37e4d0(0x171)],_0x1bc450[_0x37e4d0(0x186)]),'trigger':_0xb4ab41[_0x37e4d0(0x1e4)]['id']},{'onlyLocal':!0x0});}await this[_0x37e4d0(0x503)][_0x37e4d0(0x1bc)](_0xb4ab41[_0x37e4d0(0x138)]['id'],{'dirtyRanges':_0x27c888},{'onlyLocal':!0x0});})()[_0x1b7327(0x44a)](()=>{const _0x33451a=_0x1b7327;this[_0x33451a(0x3b1)]=!0x1,this[_0x33451a(0x39b)][_0x33451a(0x1fa)](_0x1019da[_0x33451a(0x4ec)][_0x33451a(0x1b0)],_0x351c9b);});}};_0x42e49b=_0x573014([_0xb3d983(0x0,_0x1684be[_0x10b817(0x35c)]),_0xb3d983(0x1,_0x1684be[_0x10b817(0x18c)]),_0xb3d983(0x2,(0x0,_0x1684be['Inject'])(_0xb4ab41['FormulaCalculationTriggerService'])),_0xb3d983(0x3,(0x0,_0x1684be['Inject'])(_0x1019da[_0x10b817(0x295)]))],_0x42e49b);function _0x21522a(_0x4813b0){const _0x91fdf=_0x10b817;return typeof _0x4813b0==_0x91fdf(0x304)&&!!_0x4813b0&&_0x91fdf(0x323)in _0x4813b0&&typeof _0x4813b0[_0x91fdf(0x323)]==_0x91fdf(0x488)&&'op'in _0x4813b0&&Array[_0x91fdf(0x233)](_0x4813b0['op']);}function _0x4c1091(_0x26c668){const _0x3cf881=_0x10b817;return typeof _0x26c668==_0x3cf881(0x304)&&!!_0x26c668&&_0x3cf881(0x4be)in _0x26c668&&'unitOtherData'in _0x26c668;}let _0x35e288=new Set([_0x166c8c['id'],_0x550147['id'],_0x110074['id']]),_0x277cdb=class extends _0x1684be['Disposable']{constructor(_0x3a374d,_0x157c3d,_0x29dd6c,_0x720553){const _0x3b1c92=_0x10b817;super(),this[_0x3b1c92(0x217)]=_0x3a374d,this[_0x3b1c92(0x503)]=_0x157c3d,this[_0x3b1c92(0x373)]=_0x29dd6c,this[_0x3b1c92(0x4d5)]=_0x720553,this[_0x3b1c92(0x4d5)][_0x3b1c92(0x1ac)](_0x1684be[_0x3b1c92(0x4b4)]['UNIVER_BASE'])['forEach'](_0x3570e7=>this['_registerUnitPermissionPoints'](_0x3570e7[_0x3b1c92(0x14b)]())),this[_0x3b1c92(0x3e3)](this['_instanceService'][_0x3b1c92(0x3b3)](_0x1684be[_0x3b1c92(0x4b4)][_0x3b1c92(0x1a9)])[_0x3b1c92(0x2f9)](({unit:_0x23a155})=>this[_0x3b1c92(0x3bc)](_0x23a155[_0x3b1c92(0x14b)]()))),this[_0x3b1c92(0x3e3)](this[_0x3b1c92(0x503)][_0x3b1c92(0x2d8)]((_0x1b75a1,_0x4233a4)=>this['_check'](_0x1b75a1,_0x4233a4))),this[_0x3b1c92(0x3e3)](this['_instanceService'][_0x3b1c92(0x244)](_0x1684be[_0x3b1c92(0x4b4)][_0x3b1c92(0x1a9)])[_0x3b1c92(0x2f9)](_0x46b318=>{const _0x40df57=_0x3b1c92;this['_injector'][_0x40df57(0x353)](_0x1684be[_0x40df57(0x10b)])[_0x40df57(0x229)](_0x46b318['getUnitId']()),_0x2c2656(this[_0x40df57(0x373)],_0x46b318['getUnitId']());}));}['_registerUnitPermissionPoints'](_0x1ac626){const _0x938091=_0x10b817;_0x493900['forEach'](_0x360675=>{const _0x20691b=_0x5a55;let _0x11381f=_0x54df78(_0x1ac626,_0x1ac626,_0x360675);this[_0x20691b(0x373)][_0x20691b(0x164)](_0x11381f['id'])||this[_0x20691b(0x373)][_0x20691b(0x31c)](_0x11381f);}),this[_0x938091(0x217)]['get'](_0x1684be['ObjectPermissionService'])[_0x938091(0x269)]({'unitId':_0x1ac626,'objectId':_0x1ac626,'objectType':_0x34d39d[_0x938091(0x42f)][_0x938091(0x1f5)]});}['_check'](_0x214811,_0x1cf6b7){const _0x351b73=_0x10b817;var _0x8e925d;if(_0x1cf6b7!=null&&_0x1cf6b7[_0x351b73(0x463)]||_0x1cf6b7!=null&&_0x1cf6b7[_0x351b73(0x1f0)])return;let _0x46b72d=_0x1ff150(_0x214811[_0x351b73(0x4a2)])?_0x214811['params']:void 0x0;if(_0x1cf6b7!=null&&_0x1cf6b7[_0x351b73(0x19b)]&&_0x214811['id']===_0x351b73(0x2b6)&&(_0x46b72d==null?void 0x0:_0x46b72d[_0x351b73(0x545)])===_0xb4ab41[_0x351b73(0x1e4)]['id'])return;let _0x51c069=_0x5313d8(_0x214811['id']),_0x56555c=_0x4adb61(_0x46b72d==null?void 0x0:_0x46b72d[_0x351b73(0x323)],_0x1cf6b7)??(_0x51c069?(_0x8e925d=this['_instanceService']['getCurrentUnitOfType'](_0x1684be[_0x351b73(0x4b4)][_0x351b73(0x1a9)]))==null?void 0x0:_0x8e925d[_0x351b73(0x14b)]():void 0x0);if(!_0x56555c||this['_instanceService'][_0x351b73(0x509)](_0x56555c)!==_0x1684be[_0x351b73(0x4b4)]['UNIVER_BASE'])return;if(_0x51c069){if(!_0x2f4eb4(this[_0x351b73(0x373)],_0x56555c,_0x56555c,_0x51c069))throw this[_0x351b73(0x217)][_0x351b73(0x353)](_0x1684be[_0x351b73(0x541)])[_0x351b73(0x4d0)](_0x56555c),new _0x1684be['CustomCommandExecutionError'](_0x351b73(0x3cc)+_0x34d39d[_0x351b73(0x3f2)][_0x51c069]+_0x351b73(0x4e3));return;}if(_0x35e288[_0x351b73(0x11b)](_0x214811['id'])||!_0x214811['id'][_0x351b73(0x4a9)](_0x351b73(0x3bf))&&!_0x214811['id']['startsWith'](_0x351b73(0x1ed)))return;let _0x3efba6=this[_0x351b73(0x4d5)][_0x351b73(0x282)](_0x56555c,_0x1684be[_0x351b73(0x4b4)][_0x351b73(0x1a9)]),_0x14958a=_0x3efba6?_0x5478f7(_0x3efba6,_0x46b72d??{},_0x214811['id']):[];if(!_0x3efba6||!_0x4b16b6(this['_permissionService'],_0x56555c,_0x14958a))throw this[_0x351b73(0x217)][_0x351b73(0x353)](_0x1684be[_0x351b73(0x541)])[_0x351b73(0x4d0)](_0x56555c,_0x14958a),new _0x1684be[(_0x351b73(0x20b))](_0x351b73(0x3de));}};_0x277cdb=_0x573014([_0xb3d983(0x0,(0x0,_0x1684be[_0x10b817(0x514)])(_0x1684be[_0x10b817(0x3eb)])),_0xb3d983(0x1,_0x1684be[_0x10b817(0x35c)]),_0xb3d983(0x2,_0x1684be['IPermissionService']),_0xb3d983(0x3,_0x1684be[_0x10b817(0x18c)])],_0x277cdb);function _0x4adb61(_0x2b7009,_0x50f5d2){const _0xafb5c3=_0x10b817;return typeof _0x2b7009==_0xafb5c3(0x488)?_0x2b7009:typeof(_0x50f5d2==null?void 0x0:_0x50f5d2[_0xafb5c3(0x323)])==_0xafb5c3(0x488)?_0x50f5d2['unitId']:void 0x0;}function _0x5313d8(_0x1b3b1d){const _0x5d3ef7=_0x10b817;if(_0x1b3b1d===_0x5d3ef7(0x547)||_0x1b3b1d===_0x5d3ef7(0x4eb))return _0x34d39d[_0x5d3ef7(0x3f2)][_0x5d3ef7(0x359)];if(_0x1b3b1d[_0x5d3ef7(0x4a9)]('thread-comment.command.')||_0x1b3b1d['startsWith'](_0x5d3ef7(0x2f0)))return _0x34d39d[_0x5d3ef7(0x3f2)]['Comment'];}function _0x5478f7(_0x47d84b,_0x50cedc,_0x76a0b9){const _0x552de9=_0x10b817;if(_0x76a0b9===_0x552de9(0x2b6)&&_0x4368d4(_0x50cedc['op']))return _0x349ceb(_0x47d84b,_0x50cedc['op']);let _0x23825c=new Set(),_0x2b3794=_0x2e6ede(_0x50cedc,_0x552de9(0x3be)),_0x53baf0=typeof _0x50cedc[_0x552de9(0x171)]=='string'?_0x50cedc[_0x552de9(0x171)]:_0x2b3794[0x0];if(_0x2b3794[_0x552de9(0x4ac)](_0x4d4904=>_0x23825c['add'](_0x5be5db(_0x4d4904))),!_0x53baf0)return[..._0x23825c];let _0x48a366=_0x47d84b[_0x552de9(0x438)]()[_0x552de9(0x135)][_0x53baf0],_0x12beb1=new Set(_0x2e6ede(_0x50cedc,_0x552de9(0x53a))),_0xe461a2=new Set(_0x2e6ede(_0x50cedc,_0x552de9(0x40f))),_0x3753ab=new Set(_0x2e6ede(_0x50cedc,'view'));return _0x34cd9f(_0x48a366,_0x50cedc[_0x552de9(0x186)],_0xe461a2,_0x12beb1),_0x22042b(_0x50cedc,_0x12beb1),_0x12beb1[_0x552de9(0x4ac)](_0x4e2aeb=>_0x23825c[_0x552de9(0x1f2)](_0x53809d(_0x53baf0,_0x4e2aeb))),_0xe461a2[_0x552de9(0x4ac)](_0x2926f0=>_0x23825c['add'](_0x318193(_0x53baf0,_0x2926f0))),_0x3753ab[_0x552de9(0x4ac)](_0x477d25=>_0x23825c[_0x552de9(0x1f2)](_0x176adf(_0x53baf0,_0x477d25))),[..._0x23825c];}function _0x349ceb(_0x1fb259,_0x29e9b4){const _0x445057=_0x10b817;let _0x433fdb=_0x1fb259[_0x445057(0x438)](),_0x4377ca=new _0x540632()[_0x445057(0x469)](_0x29e9b4),_0xc55cb6=_0x57c49f(_0x29e9b4),_0x3b9b58=new Set();return _0x4377ca[_0x445057(0x4ac)](_0x22ed25=>{const _0x1fc77c=_0x445057;var _0x17ccb8,_0x6d42a1;let {tableId:_0x523245}=_0x22ed25;if(!_0x523245)return;_0x3b9b58[_0x1fc77c(0x1f2)](_0x5be5db(_0x523245));let _0x5ada03=_0x433fdb[_0x1fc77c(0x135)][_0x523245],_0x545812=_0x22ed25[_0x1fc77c(0x240)]??(_0x22ed25[_0x1fc77c(0x19c)]==null||_0x5ada03==null||(_0x17ccb8=_0x5ada03[_0x1fc77c(0x1b1)])==null?void 0x0:_0x17ccb8[_0x22ed25[_0x1fc77c(0x19c)]]),_0x21fb7d=_0x22ed25[_0x1fc77c(0x294)]??(_0x22ed25[_0x1fc77c(0x3d8)]==null||_0x5ada03==null||(_0x6d42a1=_0x5ada03[_0x1fc77c(0x3e2)])==null?void 0x0:_0x6d42a1[_0x22ed25['column']]);_0x545812&&_0x3b9b58[_0x1fc77c(0x1f2)](_0x318193(_0x523245,_0x545812)),_0x21fb7d&&_0x3b9b58['add'](_0x53809d(_0x523245,_0x21fb7d)),_0x22ed25['viewId']&&_0x3b9b58[_0x1fc77c(0x1f2)](_0x176adf(_0x523245,_0x22ed25[_0x1fc77c(0x20c)])),(_0x22ed25['reason']===_0x1fc77c(0x3be)||_0xc55cb6[_0x1fc77c(0x11b)](_0x523245))&&_0x5ada03&&(Object['keys'](_0x5ada03['fields'])[_0x1fc77c(0x4ac)](_0x13c485=>_0x3b9b58[_0x1fc77c(0x1f2)](_0x53809d(_0x523245,_0x13c485))),Object['keys'](_0x5ada03[_0x1fc77c(0x510)])[_0x1fc77c(0x4ac)](_0x396005=>_0x3b9b58['add'](_0x318193(_0x523245,_0x396005))),Object['keys'](_0x5ada03[_0x1fc77c(0x1b8)])[_0x1fc77c(0x4ac)](_0x417d5f=>_0x3b9b58[_0x1fc77c(0x1f2)](_0x176adf(_0x523245,_0x417d5f)))),_0x22ed25['reason']==='record'&&_0x5ada03&&Object[_0x1fc77c(0x176)](_0x5ada03[_0x1fc77c(0x22d)])[_0x1fc77c(0x4ac)](_0x4e57f8=>_0x3b9b58[_0x1fc77c(0x1f2)](_0x53809d(_0x523245,_0x4e57f8)));}),_0x4377ca[_0x445057(0x350)]===0x0&&_0x245a28(_0x29e9b4,_0x445057(0x430))&&Object[_0x445057(0x176)](_0x433fdb[_0x445057(0x135)])[_0x445057(0x4ac)](_0x2cf683=>_0x3b9b58[_0x445057(0x1f2)](_0x5be5db(_0x2cf683))),[..._0x3b9b58];}function _0x57c49f(_0x5d7673){let _0x187a4c=new Set(),_0x18cd89=_0x258bf4=>{const _0x7b988=_0x5a55;Array[_0x7b988(0x233)](_0x258bf4)&&_0x258bf4['forEach']((_0x2a193d,_0x39d36d)=>{const _0x1c438f=_0x7b988;_0x2a193d===_0x1c438f(0x135)&&typeof _0x258bf4[_0x39d36d+0x1]==_0x1c438f(0x488)&&_0x29f284(_0x258bf4[_0x39d36d+0x2])&&_0x187a4c[_0x1c438f(0x1f2)](_0x258bf4[_0x39d36d+0x1]),_0x18cd89(_0x2a193d);});};return _0x18cd89(_0x5d7673),_0x187a4c;}function _0x29f284(_0x2bc37f){const _0x59a4ea=_0x10b817;return!!_0x2bc37f&&typeof _0x2bc37f==_0x59a4ea(0x304)&&!Array[_0x59a4ea(0x233)](_0x2bc37f)&&('i'in _0x2bc37f||'r'in _0x2bc37f||'p'in _0x2bc37f||'d'in _0x2bc37f||'es'in _0x2bc37f||_0x59a4ea(0x216)in _0x2bc37f||'et'in _0x2bc37f);}function _0x245a28(_0x38e8b2,_0x553b2c){const _0x54b9cd=_0x10b817;return Array['isArray'](_0x38e8b2)&&_0x38e8b2[_0x54b9cd(0x4d2)](_0x298f6d=>_0x298f6d===_0x553b2c||_0x245a28(_0x298f6d,_0x553b2c));}function _0x2e6ede(_0x16c2d1,_0x169ab8){let _0x405e6e=new Set(),_0x49917f=_0x169ab8+'Id',_0x4ba839=_0x169ab8+'Ids',_0x144153=(_0x29c116,_0x1c4448='')=>{const _0x57cade=_0x5a55;if(typeof _0x29c116=='string'){_0x1c4448===_0x49917f&&_0x405e6e[_0x57cade(0x1f2)](_0x29c116);return;}if(Array['isArray'](_0x29c116)){_0x1c4448===_0x4ba839?_0x29c116[_0x57cade(0x4ac)](_0x52ac82=>{const _0x23d5bf=_0x57cade;typeof _0x52ac82==_0x23d5bf(0x488)&&_0x405e6e[_0x23d5bf(0x1f2)](_0x52ac82);}):_0x29c116['forEach'](_0x17a345=>_0x144153(_0x17a345,_0x1c4448));return;}_0x1ff150(_0x29c116)&&Object['entries'](_0x29c116)[_0x57cade(0x4ac)](([_0x1728b2,_0xd534ee])=>{const _0x17d935=_0x57cade;_0x1728b2==='id'&&_0x1c4448===_0x169ab8&&typeof _0xd534ee==_0x17d935(0x488)?_0x405e6e[_0x17d935(0x1f2)](_0xd534ee):_0x144153(_0xd534ee,_0x1728b2);});};return _0x144153(_0x16c2d1),[..._0x405e6e];}function _0x34cd9f(_0x225989,_0x28a0e5,_0x4c6c54,_0x42c44b){const _0x16a145=_0x10b817;_0x225989&&Array[_0x16a145(0x233)](_0x28a0e5)&&_0x28a0e5[_0x16a145(0x4ac)](_0x408c08=>{const _0x19d1a6=_0x16a145;if(!_0x1ff150(_0x408c08))return;let _0x1242fa=_0x408c08;if(typeof _0x1242fa[_0x19d1a6(0x19c)]==_0x19d1a6(0x188)){var _0xbac183;let _0x25a116=(_0xbac183=_0x225989[_0x19d1a6(0x1b1)])==null?void 0x0:_0xbac183[_0x1242fa[_0x19d1a6(0x19c)]];_0x25a116&&_0x4c6c54[_0x19d1a6(0x1f2)](_0x25a116);}if(typeof _0x1242fa[_0x19d1a6(0x4b5)]==_0x19d1a6(0x188)){var _0x2cedc0;let _0x236587=(_0x2cedc0=_0x225989['colId'])==null?void 0x0:_0x2cedc0[_0x1242fa[_0x19d1a6(0x4b5)]];_0x236587&&_0x42c44b[_0x19d1a6(0x1f2)](_0x236587);}});}function _0x22042b(_0x5d3f05,_0x46899f,_0x44d6fc=''){const _0x48a0a1=_0x10b817;if(_0x5d3f05&&typeof _0x5d3f05==_0x48a0a1(0x304)){if(Array[_0x48a0a1(0x233)](_0x5d3f05)){_0x5d3f05[_0x48a0a1(0x4ac)](_0x1f7bb2=>_0x22042b(_0x1f7bb2,_0x46899f,_0x44d6fc));return;}_0x1ff150(_0x5d3f05)&&Object[_0x48a0a1(0x172)](_0x5d3f05)[_0x48a0a1(0x4ac)](([_0x3e72c3,_0x555a95])=>{const _0x5c93d6=_0x48a0a1;_0x44d6fc===_0x5c93d6(0x243)&&_0x46899f['add'](_0x3e72c3),_0x22042b(_0x555a95,_0x46899f,_0x3e72c3);});}}function _0x4368d4(_0x1acf5f){const _0x316175=_0x10b817;return Array[_0x316175(0x233)](_0x1acf5f);}function _0x1ff150(_0x3d845f){return typeof _0x3d845f=='object'&&!!_0x3d845f&&!Array['isArray'](_0x3d845f);}let _0x5beb4c=(0x0,_0x1684be['createIdentifier'])(_0x10b817(0x24a)),_0x22aef1=class{constructor(_0x273bcb){const _0x56c1ce=_0x10b817;this[_0x56c1ce(0x2a8)]=_0x273bcb;}['getBase'](_0x2c3e0c){const _0xdecd5c=_0x10b817;return this[_0xdecd5c(0x2a8)][_0xdecd5c(0x282)](_0x2c3e0c,_0x1684be[_0xdecd5c(0x4b4)]['UNIVER_BASE'])??null;}[_0x10b817(0x254)](){const _0x26bfa3=_0x10b817;return this[_0x26bfa3(0x2a8)][_0x26bfa3(0x1ac)](_0x1684be[_0x26bfa3(0x4b4)]['UNIVER_BASE']);}['createBase'](_0x131328){const _0x3e941b=_0x10b817;return this[_0x3e941b(0x2a8)]['createUnit'](_0x1684be[_0x3e941b(0x4b4)]['UNIVER_BASE'],_0x131328);}};_0x22aef1=_0x573014([_0xb3d983(0x0,_0x1684be['IUniverInstanceService'])],_0x22aef1);let _0xba34de=(0x0,_0x1684be[_0x10b817(0x30c)])(_0x10b817(0x3a8));var _0x5e6139=class extends _0x1684be[_0x10b817(0x3d4)]{constructor(..._0x12549e){const _0x2d7cc6=_0x10b817;super(..._0x12549e),_0x4876c0(this,_0x2d7cc6(0x1b5),new Map());}[_0x10b817(0x518)](_0x34813b){const _0xadbce0=_0x10b817;return this['_plugins'][_0xadbce0(0x25a)](_0x34813b[_0xadbce0(0x4af)],_0x34813b),(0x0,_0x1684be[_0xadbce0(0x2c8)])(()=>this[_0xadbce0(0x1b5)][_0xadbce0(0x22e)](_0x34813b[_0xadbce0(0x4af)]));}[_0x10b817(0x353)](_0x1849c4){const _0xf4c033=_0x10b817;let _0x3ca676=this[_0xf4c033(0x1b5)][_0xf4c033(0x353)](_0x1849c4);if(!_0x3ca676)throw Error(_0xf4c033(0x50f)+_0x1849c4+'\x22\x20is\x20not\x20registered.');return _0x3ca676;}[_0x10b817(0x231)](){const _0x188dda=_0x10b817;return Array['from'](this[_0x188dda(0x1b5)][_0x188dda(0x243)]());}};let _0x33ae7c=[_0x325a9e],_0x36f6ad=class extends _0x1684be[_0x10b817(0x387)]{constructor(_0x130880=_0x22aeb3,_0x17195d,_0x4eaaf9,_0x46927e,_0x1e0315,_0x2211e1){const _0x3a0b01=_0x10b817;super(),this[_0x3a0b01(0x157)]=_0x130880,this[_0x3a0b01(0x217)]=_0x17195d,this[_0x3a0b01(0x503)]=_0x4eaaf9,this[_0x3a0b01(0x2a8)]=_0x46927e,this[_0x3a0b01(0x221)]=_0x1e0315,this[_0x3a0b01(0x27d)]=_0x2211e1,_0x4876c0(this,_0x3a0b01(0x344),new Map());let {..._0x514ae2}=(0x0,_0x1684be['merge'])({},_0x22aeb3,this[_0x3a0b01(0x157)]);this['_configService'][_0x3a0b01(0x178)](_0x3a0b01(0x30a),_0x514ae2),this[_0x3a0b01(0x2a8)][_0x3a0b01(0x494)](_0x1684be[_0x3a0b01(0x4b4)]['UNIVER_BASE'],_0x1684be[_0x3a0b01(0x1b6)]),this[_0x3a0b01(0x2ac)](),this['_initCommands'](),this[_0x3a0b01(0x52f)](),this['_initDataSync']();}[_0x10b817(0x3b4)](){const _0x44ae47=_0x10b817;this[_0x44ae47(0x217)][_0x44ae47(0x1f2)]([_0x3785b3]),this['disposeWithMe'](this[_0x44ae47(0x217)][_0x44ae47(0x353)](_0x1684be['ICommandService'])[_0x44ae47(0x29b)](_0xbe418a)),this[_0x44ae47(0x3e3)](this[_0x44ae47(0x217)][_0x44ae47(0x353)](_0x1684be[_0x44ae47(0x35c)])[_0x44ae47(0x29b)](_0x198e5d)),this[_0x44ae47(0x3e3)](this['_injector'][_0x44ae47(0x353)](_0x1684be[_0x44ae47(0x10b)])['registerRuleModel'](_0x34d39d[_0x44ae47(0x42f)][_0x44ae47(0x1f5)],this['_injector']['get'](_0x3785b3),_0xbe418a['id'],_0x198e5d['id']));}[_0x10b817(0x2db)](){const _0x515487=_0x10b817;(0x0,_0x1684be[_0x515487(0x306)])(this[_0x515487(0x217)],[[_0x22aef1],[_0x319dcd],[_0x251c4a]]),this[_0x515487(0x2a8)][_0x515487(0x1ac)](_0x1684be[_0x515487(0x4b4)]['UNIVER_BASE'])['forEach'](_0x474d2c=>this[_0x515487(0x403)](_0x474d2c[_0x515487(0x14b)]())),(0x0,_0x1684be[_0x515487(0x306)])(this['_injector'],[[_0x42e49b],[_0x277cdb]]);}[_0x10b817(0x2ac)](){const _0x1462fc=_0x10b817;[[_0x53e622,{'useClass':_0x29bfe0}],[_0xba34de,{'useClass':_0x5e6139}],[_0x3df0dd,{'useClass':_0x5da9bf}],[_0x5beb4c,{'useClass':_0x22aef1}],[_0x164ae1,{'useClass':_0x1b417b}],[_0x7d47b6,{'useClass':_0x319dcd}],[_0x251c4a],[_0x42e49b],[_0x277cdb]][_0x1462fc(0x4ac)](_0x386835=>this[_0x1462fc(0x217)][_0x1462fc(0x1f2)](_0x386835));}[_0x10b817(0x2cd)](){const _0x3ee623=_0x10b817;[_0x29d1b5,_0x178d3b,_0xfa63b1,_0x263e48,_0x1df7a8,_0x5f11ec,_0x1bff26,_0x2cd3e0,_0x4d879c,_0x1e5bce,_0x3a7feb,_0x53f891,_0x406620,_0x306cad,_0x3d633b,_0x12e478,_0x2f6d44,_0x1f7798,_0x57106c,_0x38a203,_0x57ec39,_0x110074,_0x17f6fe,_0x284528,_0x5b833c,_0x3e212a,_0x3537cb,_0xdc4598,_0x292474,_0x2ddd12,_0x44707a,_0x166c8c,_0x550147,_0x444e97,_0x1d9c50,_0x131bd6,_0x48e1e8,_0x5b30d5,_0x328a5a,_0x1bc8b9,_0xd6a5f9,..._0x33ae7c][_0x3ee623(0x4ac)](_0x82524=>this['disposeWithMe'](this[_0x3ee623(0x503)][_0x3ee623(0x29b)](_0x82524))),_0x33ae7c[_0x3ee623(0x4ac)](_0x5a34f5=>{const _0x6e9eb0=_0x3ee623;var _0x22238a;return(_0x22238a=this[_0x6e9eb0(0x27d)])==null?void 0x0:_0x22238a[_0x6e9eb0(0x37d)](_0x5a34f5);});}[_0x10b817(0x3dc)](){const _0x15aa2f=_0x10b817;this[_0x15aa2f(0x27d)]&&(this['disposeWithMe'](this[_0x15aa2f(0x2a8)][_0x15aa2f(0x3b3)](_0x1684be[_0x15aa2f(0x4b4)][_0x15aa2f(0x1a9)])['subscribe'](({unit:_0x42b112})=>{const _0x3c522c=_0x15aa2f;this[_0x3c522c(0x403)](_0x42b112['getUnitId']());})),this[_0x15aa2f(0x3e3)](this['_univerInstanceService'][_0x15aa2f(0x244)](_0x1684be[_0x15aa2f(0x4b4)]['UNIVER_BASE'])[_0x15aa2f(0x2f9)](_0x3f2cd6=>{const _0x24cf35=_0x15aa2f;var _0xd764e6;(_0xd764e6=this[_0x24cf35(0x344)][_0x24cf35(0x353)](_0x3f2cd6['getUnitId']()))==null||_0xd764e6['dispose'](),this[_0x24cf35(0x344)]['delete'](_0x3f2cd6['getUnitId']());})));}[_0x10b817(0x403)](_0x394af2){const _0x4a9460=_0x10b817;this[_0x4a9460(0x27d)]&&!this['_baseSyncDisposables'][_0x4a9460(0x11b)](_0x394af2)&&this[_0x4a9460(0x344)][_0x4a9460(0x25a)](_0x394af2,this[_0x4a9460(0x27d)][_0x4a9460(0x26f)](_0x394af2));}[_0x10b817(0x52f)](){const _0x18186d=_0x10b817;let _0x65b385=this['_injector'][_0x18186d(0x353)](_0x53e622);_0x592ce2()['forEach'](_0x797530=>_0x65b385['register'](_0x797530));let _0x407166=this[_0x18186d(0x217)][_0x18186d(0x353)](_0xba34de),_0x1a31f4=this[_0x18186d(0x217)][_0x18186d(0x353)](_0x3df0dd);_0x20dd30()['forEach'](_0x4f66bd=>{const _0x100c88=_0x18186d;_0x407166[_0x100c88(0x518)](_0x4f66bd),_0x1a31f4[_0x100c88(0x3f6)](_0x4f66bd);});}};_0x4876c0(_0x36f6ad,_0x10b817(0x3a0),_0x10b817(0x544)),_0x4876c0(_0x36f6ad,_0x10b817(0x45b),_0x34ad6e),_0x4876c0(_0x36f6ad,_0x10b817(0x435),_0x54297f),_0x4876c0(_0x36f6ad,'type',_0x1684be[_0x10b817(0x4b4)]['UNIVER_BASE']),_0x36f6ad=_0x573014([(0x0,_0x1684be['DependentOn'])(_0x4da5ab[_0x10b817(0x52b)],_0xb4ab41[_0x10b817(0x156)]),_0xb3d983(0x1,(0x0,_0x1684be['Inject'])(_0x1684be[_0x10b817(0x3eb)])),_0xb3d983(0x2,_0x1684be[_0x10b817(0x35c)]),_0xb3d983(0x3,_0x1684be[_0x10b817(0x18c)]),_0xb3d983(0x4,_0x1684be[_0x10b817(0x29e)]),_0xb3d983(0x5,(0x0,_0x1684be[_0x10b817(0x1f9)])(_0x10bc44[_0x10b817(0x4b6)]))],_0x36f6ad);let _0x4b5e8c=class extends _0x1684be[_0x10b817(0x387)]{constructor(_0x1c4452=_0x269a58,_0x49806c,_0x42d3d2,_0x212175,_0x1db416){const _0x50844d=_0x10b817;super(),this['_config']=_0x1c4452,this[_0x50844d(0x217)]=_0x49806c,this[_0x50844d(0x503)]=_0x42d3d2,this[_0x50844d(0x221)]=_0x212175,this[_0x50844d(0x2a8)]=_0x1db416;let {..._0x1643ca}=(0x0,_0x1684be[_0x50844d(0x401)])({},_0x269a58,this[_0x50844d(0x157)]);this['_configService'][_0x50844d(0x178)](_0x50844d(0x50c),_0x1643ca),this['_univerInstanceService']['registerCtorForType'](_0x1684be['UniverInstanceType'][_0x50844d(0x1a9)],_0x1684be[_0x50844d(0x1b6)]),[[_0x53e622,{'useClass':_0x29bfe0}],[_0x3df0dd,{'useClass':_0x5da9bf}]][_0x50844d(0x4ac)](_0x18d6f0=>this[_0x50844d(0x217)]['add'](_0x18d6f0)),_0x33ae7c[_0x50844d(0x4ac)](_0x24673b=>this[_0x50844d(0x3e3)](this[_0x50844d(0x503)][_0x50844d(0x29b)](_0x24673b)));}};_0x4876c0(_0x4b5e8c,_0x10b817(0x3a0),_0x10b817(0x1f8)),_0x4876c0(_0x4b5e8c,_0x10b817(0x45b),_0x34ad6e),_0x4876c0(_0x4b5e8c,'version',_0x54297f),_0x4876c0(_0x4b5e8c,_0x10b817(0x4af),_0x1684be[_0x10b817(0x4b4)][_0x10b817(0x1a9)]),_0x4b5e8c=_0x573014([(0x0,_0x1684be['DependentOn'])(_0x4da5ab[_0x10b817(0x52b)],_0xb4ab41[_0x10b817(0x156)]),_0xb3d983(0x1,(0x0,_0x1684be['Inject'])(_0x1684be[_0x10b817(0x3eb)])),_0xb3d983(0x2,_0x1684be[_0x10b817(0x35c)]),_0xb3d983(0x3,_0x1684be[_0x10b817(0x29e)]),_0xb3d983(0x4,_0x1684be[_0x10b817(0x18c)])],_0x4b5e8c);function _0x104bf2(_0x20effb){const _0x5df687=_0x10b817;let _0x17a48a=_0x23e7e0(_0x20effb[_0x5df687(0x200)]);if(!_0x17a48a)return{'query':'','total':0x0,'matches':[]};let _0xbce7e1=[],_0x64c987=[];for(let _0x44058f=0x0;_0x44058f<_0x20effb[_0x5df687(0x540)]['length'];_0x44058f++){if(!(_0x44058f in _0x20effb[_0x5df687(0x540)]))continue;let _0x15d991=_0x20effb[_0x5df687(0x3be)][_0x5df687(0x22d)][_0x20effb[_0x5df687(0x540)][_0x44058f]];_0x15d991&&_0x64c987['push']({'field':_0x15d991,'fieldIndex':_0x44058f});}_0x20effb[_0x5df687(0x127)][_0x5df687(0x4ac)]((_0xd09a83,_0x2a806b)=>{const _0x4933e7=_0x5df687;_0x64c987[_0x4933e7(0x4ac)](({field:_0x2d9cf4,fieldIndex:_0x10b366})=>{const _0x1b6503=_0x4933e7;let _0x2843b5=_0x1841e5(_0xd09a83[_0x1b6503(0x243)][_0x2d9cf4['id']],_0x2d9cf4);if(!_0x2843b5)return;let _0x2553c4=_0x1a7655(_0x17a48a,_0x2843b5[_0x1b6503(0x55e)]);_0x2553c4<=0x0||_0xbce7e1[_0x1b6503(0x558)]({'recordId':_0xd09a83[_0x1b6503(0x240)],'fieldId':_0x2d9cf4['id'],'fieldType':_0x2d9cf4[_0x1b6503(0x4af)],'text':_0x2843b5[_0x1b6503(0x3f9)],'score':_0x2553c4,'rowIndex':_0x2a806b,'fieldIndex':_0x10b366});});}),_0xbce7e1['sort']((_0x307156,_0x1ccfcf)=>_0x1ccfcf[_0x5df687(0x20f)]-_0x307156[_0x5df687(0x20f)]||_0x307156[_0x5df687(0x131)]-_0x1ccfcf[_0x5df687(0x131)]||_0x307156[_0x5df687(0x245)]-_0x1ccfcf[_0x5df687(0x245)]);let _0x17b65c=_0x20effb[_0x5df687(0x2cb)]==null?_0xbce7e1:_0xbce7e1['slice'](0x0,Math[_0x5df687(0x35b)](0x0,_0x20effb[_0x5df687(0x2cb)]));return{'query':_0x17a48a,'total':_0xbce7e1[_0x5df687(0x350)],'matches':_0x99518(_0x17b65c)};}function _0x1841e5(_0x21262e,_0x2f9296){const _0x5da19f=_0x10b817;let _0x411b30=[];for(let _0x82024b of _0x1e2864(_0x21262e,_0x2f9296)){let _0x4b3a5c=_0x23e7e0(_0x82024b);_0x4b3a5c&&_0x411b30['push'](_0x4b3a5c);}return _0x411b30[_0x5da19f(0x350)]?{'displayText':_0xaec549(_0x21262e,_0x2f9296),'searchTexts':_0x43bc36(_0x411b30)}:null;}function _0xaec549(_0x2b16c3,_0x35a883){const _0x3bf83c=_0x10b817;switch(_0x35a883['type']){case _0x1684be['BaseFieldType']['SingleSelect']:case _0x1684be['BaseFieldType']['MultiSelect']:case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x22a)]:return _0x5e7642(_0x2b16c3,_0x35a883)[_0x3bf83c(0x214)](',\x20');case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x1b9)]:return _0xfe0262(_0x2b16c3);case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x382)]:case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x17f)]:case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x4ad)]:return _0xc92462(_0x2b16c3,_0x35a883);case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x2ea)]:case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x408)]:return _0x4e4c6b(_0x2b16c3,_0x35a883);case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x36e)]:return _0xfed067(_0x2b16c3,_0x35a883);case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x48a)]:return _0x2b16c3?_0x3bf83c(0x3a7):'Unchecked';case _0x1684be[_0x3bf83c(0x1e3)][_0x3bf83c(0x42d)]:return _0x5654d2(_0x2b16c3)[_0x3bf83c(0x214)](',\x20');default:return _0x2d81ba(_0x2b16c3);}}function _0x1e2864(_0x21194a,_0x3e7f34){const _0x491666=_0x10b817;switch(_0x3e7f34[_0x491666(0x4af)]){case _0x1684be['BaseFieldType'][_0x491666(0x32c)]:case _0x1684be['BaseFieldType'][_0x491666(0x220)]:case _0x1684be[_0x491666(0x1e3)][_0x491666(0x22a)]:{let _0x2bad0f=_0x5e7642(_0x21194a,_0x3e7f34);if(Array['isArray'](_0x21194a)){let _0x31ed7=[..._0x2bad0f];for(let _0x20d0dd=0x0;_0x20d0dd<_0x21194a[_0x491666(0x350)];_0x20d0dd++)_0x20d0dd in _0x21194a&&_0x31ed7[_0x491666(0x558)](String(_0x21194a[_0x20d0dd]));return _0x31ed7;}return _0x21194a==null?_0x2bad0f:[..._0x2bad0f,String(_0x21194a)];}case _0x1684be[_0x491666(0x1e3)]['Link']:{let _0x4d01d2=_0x3bf318(_0x21194a);return[_0x4d01d2['text'],_0x4d01d2[_0x491666(0x351)]];}case _0x1684be[_0x491666(0x1e3)][_0x491666(0x382)]:case _0x1684be[_0x491666(0x1e3)][_0x491666(0x17f)]:case _0x1684be[_0x491666(0x1e3)][_0x491666(0x4ad)]:return[_0xc92462(_0x21194a,_0x3e7f34),_0x2d81ba(_0x21194a)];case _0x1684be['BaseFieldType'][_0x491666(0x2ea)]:case _0x1684be[_0x491666(0x1e3)][_0x491666(0x408)]:return[_0x4e4c6b(_0x21194a,_0x3e7f34),_0x2d81ba(_0x21194a)];case _0x1684be[_0x491666(0x1e3)][_0x491666(0x36e)]:return[_0xfed067(_0x21194a,_0x3e7f34),_0x2d81ba(_0x21194a)];case _0x1684be['BaseFieldType'][_0x491666(0x48a)]:return _0x21194a?[_0x491666(0x3a7),_0x491666(0x1bb),'True']:[_0x491666(0x2d7),'No',_0x491666(0x120)];case _0x1684be[_0x491666(0x1e3)][_0x491666(0x42d)]:return _0x5654d2(_0x21194a);default:return[_0x2d81ba(_0x21194a)];}}function _0x5e7642(_0x5aa7e,_0x390f22){const _0x1a1706=_0x10b817;var _0x179723;let _0x22d6d3=Array['isArray']((_0x179723=_0x390f22[_0x1a1706(0x414)])==null?void 0x0:_0x179723[_0x1a1706(0x4b8)])?_0x390f22['config']['options']:[],_0x26a6b6=[];if(Array[_0x1a1706(0x233)](_0x5aa7e)){for(let _0x1a2967=0x0;_0x1a2967<_0x5aa7e[_0x1a1706(0x350)];_0x1a2967++){if(!(_0x1a2967 in _0x5aa7e))continue;let _0x5ffecb=String(_0x5aa7e[_0x1a2967]);_0x5ffecb&&_0x26a6b6['push'](_0x34805e(_0x22d6d3,_0x5ffecb));}return _0x26a6b6;}if(_0x5aa7e!=null){let _0x4bc6ce=String(_0x5aa7e);_0x4bc6ce&&_0x26a6b6['push'](_0x34805e(_0x22d6d3,_0x4bc6ce));}return _0x26a6b6;}function _0x34805e(_0xdfe78c,_0x1b5156){const _0x5b552a=_0x10b817;for(let _0x3003ba of _0xdfe78c){if(typeof _0x3003ba=='string'&&_0x3003ba===_0x1b5156)return _0x3003ba;if(_0x3003ba&&typeof _0x3003ba==_0x5b552a(0x304)){let _0x344023=_0x3003ba;if(String(_0x344023['id']??_0x344023[_0x5b552a(0x4ed)]??'')===_0x1b5156||String(_0x344023[_0x5b552a(0x4ed)]??'')===_0x1b5156)return String(_0x344023[_0x5b552a(0x4ed)]??_0x344023['id']??_0x1b5156);}}return _0x1b5156;}function _0x3bf318(_0x27cec1){const _0xa8c90c=_0x10b817;if(_0x27cec1&&typeof _0x27cec1==_0xa8c90c(0x304)&&!Array[_0xa8c90c(0x233)](_0x27cec1)){let _0x2981cc=_0x27cec1;return{'text':String(_0x2981cc[_0xa8c90c(0x3d9)]??_0x2981cc[_0xa8c90c(0x351)]??''),'url':String(_0x2981cc[_0xa8c90c(0x351)]??'')};}return{'text':_0x2d81ba(_0x27cec1),'url':_0x2d81ba(_0x27cec1)};}function _0xfe0262(_0xbe13de){const _0x512bc0=_0x10b817;let _0x1cf769=_0x3bf318(_0xbe13de);return _0x1cf769[_0x512bc0(0x3d9)]||_0x1cf769[_0x512bc0(0x351)];}function _0xc92462(_0x2fbfa5,_0x2999a1){const _0x4e199e=_0x10b817;return typeof _0x2fbfa5!=_0x4e199e(0x188)||!Number[_0x4e199e(0x4c9)](_0x2fbfa5)?'':_0x25bb11(_0x2fbfa5,_0x2999a1[_0x4e199e(0x414)]);}function _0x4e4c6b(_0xe15c67,_0x190e54){const _0x42256e=_0x10b817;let _0x4df2fb=typeof _0xe15c67==_0x42256e(0x188)?_0xe15c67:Number(_0xe15c67);return Number[_0x42256e(0x4c9)](_0x4df2fb)?_0x3050ae(_0x4df2fb,_0x190e54[_0x42256e(0x414)]):'';}function _0xfed067(_0x56247f,_0x29d19b){const _0x2eac61=_0x10b817;let _0x2a167b=typeof _0x56247f==_0x2eac61(0x188)?_0x56247f:Number(_0x56247f);return Number[_0x2eac61(0x4c9)](_0x2a167b)?_0x18a503(_0x2a167b,_0x29d19b['config']):'';}function _0x5654d2(_0xa12a17){const _0x30f95f=_0x10b817;return Array['isArray'](_0xa12a17)?_0xa12a17[_0x30f95f(0x158)](_0x331f8c=>{const _0xc7685b=_0x30f95f;if(!_0x331f8c||typeof _0x331f8c!=_0xc7685b(0x304))return[];let _0x2d11c3=_0x331f8c,_0x7fff47=String(_0x2d11c3['name']??_0x2d11c3[_0xc7685b(0x351)]??'')['trim']();return _0x7fff47?[_0x7fff47]:[];}):[];}function _0x2d81ba(_0x62316c){const _0x3f2e1c=_0x10b817;if(_0x62316c==null)return'';if(typeof _0x62316c=='boolean')return _0x62316c?_0x3f2e1c(0x465):_0x3f2e1c(0x50e);if(typeof _0x62316c=='number')return String(_0x62316c);if(Array[_0x3f2e1c(0x233)](_0x62316c)){let _0x9c3966=[];for(let _0x1d9e5f=0x0;_0x1d9e5f<_0x62316c[_0x3f2e1c(0x350)];_0x1d9e5f++){if(!(_0x1d9e5f in _0x62316c))continue;let _0x28f60f=_0x2d81ba(_0x62316c[_0x1d9e5f]);_0x28f60f&&_0x9c3966[_0x3f2e1c(0x558)](_0x28f60f);}return _0x9c3966[_0x3f2e1c(0x214)](',\x20');}if(typeof _0x62316c=='object'){let _0xff3df6=_0x62316c;return String(_0xff3df6[_0x3f2e1c(0x343)]??_0xff3df6['name']??_0xff3df6[_0x3f2e1c(0x3d9)]??_0xff3df6[_0x3f2e1c(0x351)]??'')[_0x3f2e1c(0x328)]();}return String(_0x62316c);}function _0x1a7655(_0x4e96f2,_0x4b95a9){const _0x30a7ed=_0x10b817;let _0x30d7c7=0x0;for(let _0x2f7070 of _0x4b95a9)if(_0x2f7070){if(_0x2f7070===_0x4e96f2){_0x30d7c7=Math[_0x30a7ed(0x35b)](_0x30d7c7,0x12c);continue;}if(_0x2f7070[_0x30a7ed(0x4a9)](_0x4e96f2)){_0x30d7c7=Math[_0x30a7ed(0x35b)](_0x30d7c7,0xfa);continue;}_0x2f7070['includes'](_0x4e96f2)&&(_0x30d7c7=Math[_0x30a7ed(0x35b)](_0x30d7c7,0xc8));}return _0x30d7c7;}function _0x23e7e0(_0x2f76d5){const _0x32de56=_0x10b817;return _0x2f76d5[_0x32de56(0x328)]()['replace'](/\s+/g,'\x20')[_0x32de56(0x4fa)]();}function _0x43bc36(_0x2dbf9e){const _0x4f699e=_0x10b817;return Array[_0x4f699e(0x1dd)](new Set(_0x2dbf9e));}function _0x99518(_0x7bfb40){let _0x3a5ec6=[];for(let {rowIndex:_0x5c8fae,fieldIndex:_0x677886,..._0x4afec1}of _0x7bfb40)_0x3a5ec6['push'](_0x4afec1);return _0x3a5ec6;}function _0x62b4fe(_0x3f0568){const _0x373c90=_0x10b817;return{'compress':!0x0,'kind':_0x373c90(0x173),'u':_0x3f0568[_0x373c90(0x323)],'t':_0x3f0568[_0x373c90(0x171)],'p':_0x3f0568[_0x373c90(0x186)][_0x373c90(0x4fd)](_0x1ae38a=>[_0x1ae38a['row'],_0x1ae38a[_0x373c90(0x4b5)],_0x1acd66(_0x1ae38a[_0x373c90(0x2dc)])]),..._0x3f0568[_0x373c90(0x545)]===void 0x0?{}:{'g':_0x3f0568[_0x373c90(0x545)]}};}function _0x5c87e8(_0x416162){const _0x3bb028=_0x10b817;if(_0x411c20(_0x416162,'base-range-values-v1'),!_0x5f4ba3(_0x416162)){if(!_0x58ad27(_0x416162))throw Error(_0x3bb028(0x398));return _0x416162;}return{'unitId':_0x416162['u'],'tableId':_0x416162['t'],'patches':_0x416162['p']['map'](([_0x391075,_0x38978e,_0x55ac4a])=>({'row':_0x391075,'col':_0x38978e,'value':_0x2dc93c(_0x55ac4a)})),..._0x416162['g']===void 0x0?{}:{'trigger':_0x416162['g']}};}function _0x5f4ba3(_0x2ae015){const _0x1f388c=_0x10b817;return!_0x5c6233(_0x2ae015)||_0x2ae015['compress']!==!0x0||_0x2ae015[_0x1f388c(0x40b)]!==_0x1f388c(0x173)?!0x1:typeof _0x2ae015['u']==_0x1f388c(0x488)&&typeof _0x2ae015['t']==_0x1f388c(0x488)&&(_0x2ae015['g']===void 0x0||typeof _0x2ae015['g']==_0x1f388c(0x488))&&Array[_0x1f388c(0x233)](_0x2ae015['p'])&&_0x2ae015['p'][_0x1f388c(0x31e)](_0x5713d3=>Array['isArray'](_0x5713d3)&&_0x5713d3[_0x1f388c(0x350)]===0x3&&Number[_0x1f388c(0x237)](_0x5713d3[0x0])&&Number[_0x1f388c(0x237)](_0x5713d3[0x1]));}function _0x402740(_0x54e5b1){const _0x1ac84a=_0x10b817;return!_0x5c6233(_0x54e5b1)||_0x54e5b1[_0x1ac84a(0x422)]!==!0x0||_0x54e5b1[_0x1ac84a(0x40b)]!=='base-snapshot-v1'||!_0x5c6233(_0x54e5b1[_0x1ac84a(0x135)])?!0x1:Object[_0x1ac84a(0x243)](_0x54e5b1['tables'])['every'](_0x27e733=>_0x5c6233(_0x27e733)&&(_0x27e733['cd']===void 0x0||Array['isArray'](_0x27e733['cd'])&&_0x27e733['cd']['every'](_0xa415a=>Array['isArray'](_0xa415a)&&_0xa415a[_0x1ac84a(0x350)]===0x3&&Number[_0x1ac84a(0x237)](_0xa415a[0x0])&&Number[_0x1ac84a(0x237)](_0xa415a[0x1])&&_0x62051(_0xa415a[0x2]))));}function _0x1acd66(_0x2d1a85){return _0x5a25d3(_0x2d1a85)?_0x4b75a0(_0x2d1a85):_0x2d1a85;}function _0x2dc93c(_0x5728d1){return _0x62051(_0x5728d1)?_0x4fc5b7(_0x5728d1):_0x5728d1;}function _0x4b75a0(_0xbacb25){return{'c':0x1,..._0xbacb25['v']===void 0x0?{}:{'v':_0xbacb25['v']},..._0xbacb25['t']!==void 0x0&&_0xbacb25['t']!==null?{'t':_0xbacb25['t']}:_0xbacb25['t']===null?{'t':null}:{},..._0xbacb25['f']!==void 0x0&&_0xbacb25['f']!==null?{'f':_0xbacb25['f']}:_0xbacb25['f']===null?{'f':null}:{},..._0xbacb25['si']!==void 0x0&&_0xbacb25['si']!==null?{'si':_0xbacb25['si']}:_0xbacb25['si']===null?{'si':null}:{},..._0xbacb25['p']!==void 0x0&&_0xbacb25['p']!==null?{'p':_0xbacb25['p']}:_0xbacb25['p']===null?{'p':null}:{}};}function _0x4fc5b7(_0x3e408c){return{..._0x3e408c['v']===void 0x0?{}:{'v':_0x3e408c['v']},..._0x3e408c['t']===void 0x0?{}:{'t':_0x3e408c['t']},..._0x3e408c['f']===void 0x0?{}:{'f':_0x3e408c['f']},..._0x3e408c['si']===void 0x0?{}:{'si':_0x3e408c['si']},..._0x3e408c['p']===void 0x0?{}:{'p':_0x3e408c['p']}};}function _0x5a25d3(_0x36a088){const _0x10bda5=_0x10b817;return!!_0x36a088&&typeof _0x36a088=='object'&&!Array[_0x10bda5(0x233)](_0x36a088)&&(Object[_0x10bda5(0x19f)][_0x10bda5(0x339)][_0x10bda5(0x3e7)](_0x36a088,'v')||Object[_0x10bda5(0x19f)][_0x10bda5(0x339)][_0x10bda5(0x3e7)](_0x36a088,'t')||Object['prototype']['hasOwnProperty']['call'](_0x36a088,'p')||Object[_0x10bda5(0x19f)]['hasOwnProperty'][_0x10bda5(0x3e7)](_0x36a088,'f')||Object[_0x10bda5(0x19f)][_0x10bda5(0x339)][_0x10bda5(0x3e7)](_0x36a088,'si'));}function _0x62051(_0x4a4a4b){return _0x5c6233(_0x4a4a4b)&&_0x4a4a4b['c']===0x1;}function _0x58ad27(_0x368238){const _0x22f23d=_0x10b817;return _0x5c6233(_0x368238)&&typeof _0x368238[_0x22f23d(0x323)]==_0x22f23d(0x488)&&typeof _0x368238[_0x22f23d(0x171)]==_0x22f23d(0x488)&&(_0x368238['trigger']===void 0x0||typeof _0x368238[_0x22f23d(0x545)]==_0x22f23d(0x488))&&Array[_0x22f23d(0x233)](_0x368238['patches'])&&_0x368238['patches']['every'](_0x89ae8e=>_0x5c6233(_0x89ae8e)&&Number['isInteger'](_0x89ae8e[_0x22f23d(0x19c)])&&Number['isInteger'](_0x89ae8e[_0x22f23d(0x4b5)])&&_0x22f23d(0x2dc)in _0x89ae8e);}function _0x411c20(_0x1cf80b,_0x44038b){const _0x22e9c8=_0x10b817;if(_0x5c6233(_0x1cf80b)&&_0x1cf80b[_0x22e9c8(0x422)]===!0x0){if(_0x1cf80b[_0x22e9c8(0x40b)]!==_0x44038b)throw Error(_0x22e9c8(0x39c)+String(_0x1cf80b[_0x22e9c8(0x40b)])+'\x22.');if(!(_0x44038b===_0x22e9c8(0x173)?_0x5f4ba3(_0x1cf80b):_0x402740(_0x1cf80b)))throw Error(_0x22e9c8(0x21e)+_0x44038b+'\x22.');}}function _0x5c6233(_0x2e2290){const _0x489ebb=_0x10b817;return!!_0x2e2290&&typeof _0x2e2290==_0x489ebb(0x304)&&!Array[_0x489ebb(0x233)](_0x2e2290);}_0x56a4c1[_0x10b817(0x34d)]=_0x325a9e,_0x56a4c1['BASE_FIELD_STAT_TYPES']=_0xf06d9e,_0x56a4c1[_0x10b817(0x18e)]=0x5,_0x56a4c1[_0x10b817(0x2e7)]=_0x2e55d8,_0x56a4c1[_0x10b817(0x1ea)]='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).',_0x56a4c1[_0x10b817(0x219)]=_0x493900,_0x56a4c1[_0x10b817(0x278)]=_0x24bff7,_0x56a4c1[_0x10b817(0x4bf)]=_0x194342,_0x56a4c1[_0x10b817(0x46f)]=_0x800605,_0x56a4c1[_0x10b817(0x424)]=_0x13b71c,_0x56a4c1[_0x10b817(0x2df)]=_0x109428,_0x56a4c1[_0x10b817(0x358)]=_0x4cf725,_0x56a4c1[_0x10b817(0x3aa)]=_0x540632,_0x56a4c1[_0x10b817(0x2b3)]=_0x519e7e,_0x56a4c1['BatchCreateBaseRecordsCommand']=_0x4d879c,_0x56a4c1['BatchDeleteBaseRecordsCommand']=_0x3a7feb,_0x56a4c1['ChangeBaseFieldTypeCommand']=_0x57106c,_0x56a4c1[_0x10b817(0x11d)]=_0x2cd3e0,_0x56a4c1[_0x10b817(0x4c2)]=_0x3d633b,_0x56a4c1[_0x10b817(0x489)]=_0x1bff26,_0x56a4c1[_0x10b817(0x1b7)]=_0x29d1b5,_0x56a4c1[_0x10b817(0x1f3)]=_0x17f6fe,_0x56a4c1[_0x10b817(0x3ee)]=_0x38a203,_0x56a4c1[_0x10b817(0x183)]=_0x1e5bce,_0x56a4c1[_0x10b817(0x3ab)]=_0xfa63b1,_0x56a4c1['DeleteBaseViewCommand']=_0x3537cb,_0x56a4c1[_0x10b817(0x345)]=_0x12e478,_0x56a4c1[_0x10b817(0x256)]=_0x53f891,_0x56a4c1[_0x10b817(0x3cd)]=_0x1755af,_0x56a4c1[_0x10b817(0x28a)]=_0x284528,_0x56a4c1[_0x10b817(0x4f5)]=_0x7d47b6,_0x56a4c1[_0x10b817(0x405)]=_0x164ae1,_0x56a4c1[_0x10b817(0x2f5)]=_0x3df0dd,_0x56a4c1[_0x10b817(0x42c)]=_0xba34de,_0x56a4c1[_0x10b817(0x280)]=_0x57ec39,_0x56a4c1[_0x10b817(0x2f3)]=_0x306cad,_0x56a4c1[_0x10b817(0x195)]=_0xdc4598,_0x56a4c1[_0x10b817(0x31f)]=_0x178d3b,_0x56a4c1['RenameBaseViewCommand']=_0x5b833c,_0x56a4c1[_0x10b817(0x529)]=_0x44707a,_0x56a4c1['SetBaseNameCommand']=_0x3e212a,_0x56a4c1[_0x10b817(0x253)]=_0x166c8c,_0x56a4c1[_0x10b817(0x191)]=_0xbe418a,_0x56a4c1[_0x10b817(0x296)]=_0x198e5d,_0x56a4c1['SetBasePermissionsCommand']=_0x550147,_0x56a4c1[_0x10b817(0x43c)]=_0x5f11ec,_0x56a4c1[_0x10b817(0x2c2)]=_0x1df7a8,_0x56a4c1[_0x10b817(0x498)]=_0x5b30d5,_0x56a4c1[_0x10b817(0x1d1)]=_0xd6a5f9,_0x56a4c1['SetBaseViewFieldVisibleCommand']=_0x328a5a,_0x56a4c1['SetBaseViewFieldWidthCommand']=_0x1bc8b9,_0x56a4c1[_0x10b817(0x38a)]=_0x1d9c50,_0x56a4c1[_0x10b817(0x302)]=_0x48e1e8,_0x56a4c1['SetBaseViewSortCommand']=_0x131bd6,Object[_0x10b817(0x4a8)](_0x56a4c1,_0x10b817(0x508),{'enumerable':!0x0,'get':function(){return _0x36f6ad;}}),Object[_0x10b817(0x4a8)](_0x56a4c1,_0x10b817(0x3e6),{'enumerable':!0x0,'get':function(){return _0x4b5e8c;}}),_0x56a4c1['UpdateBaseCellCommand']=_0x263e48,_0x56a4c1[_0x10b817(0x234)]=_0x2f6d44,_0x56a4c1['UpdateBaseFieldDescriptionCommand']=_0x1f7798,_0x56a4c1[_0x10b817(0x1bf)]=_0x444e97,_0x56a4c1[_0x10b817(0x263)]=_0x406620,_0x56a4c1[_0x10b817(0x3d1)]=_0x2ddd12,_0x56a4c1[_0x10b817(0x45e)]=_0x292474,_0x56a4c1['ValidateBaseFormulaCommand']=_0x110074,_0x56a4c1['baseDateSerialToDateMs']=_0x27385e,_0x56a4c1[_0x10b817(0x3d5)]=_0x2536c4,_0x56a4c1[_0x10b817(0x4d4)]=_0x1a0a63,_0x56a4c1['canEditBaseTargets']=_0x4b16b6,_0x56a4c1[_0x10b817(0x108)]=_0x62b4fe,_0x56a4c1[_0x10b817(0x320)]=_0x5e96b3,_0x56a4c1[_0x10b817(0x539)]=_0x3e1a64,_0x56a4c1[_0x10b817(0x54c)]=_0x1761b7,_0x56a4c1[_0x10b817(0x3ad)]=_0x23b003,_0x56a4c1[_0x10b817(0x379)]=_0x41dd62,_0x56a4c1[_0x10b817(0x4aa)]=_0x1fdb2d,_0x56a4c1['createUniqueBaseTableName']=_0x2bfc7f,_0x56a4c1[_0x10b817(0x236)]=_0x5cbc3a,_0x56a4c1[_0x10b817(0x32e)]=_0x5c87e8,_0x56a4c1[_0x10b817(0x3c0)]=_0xd74f23,_0x56a4c1[_0x10b817(0x2a6)]=_0xb53433,_0x56a4c1[_0x10b817(0x35e)]=_0x25bb11,_0x56a4c1[_0x10b817(0x2ae)]=_0xefb27b,_0x56a4c1[_0x10b817(0x38e)]=_0x3050ae,_0x56a4c1[_0x10b817(0x50a)]=_0x18a503,_0x56a4c1[_0x10b817(0x2a4)]=_0x1c4e11,_0x56a4c1[_0x10b817(0x370)]=_0xc095b2,_0x56a4c1[_0x10b817(0x4f2)]=_0x499e23,_0x56a4c1['getBaseConditionalColorOperators']=_0xd5d5f4,_0x56a4c1[_0x10b817(0x562)]=_0x4be15f,_0x56a4c1[_0x10b817(0x248)]=_0x53809d,Object[_0x10b817(0x4a8)](_0x56a4c1,_0x10b817(0x389),{'enumerable':!0x0,'get':function(){const _0x1af0fe=_0x10b817;return _0x1684be[_0x1af0fe(0x389)];}}),_0x56a4c1[_0x10b817(0x2b1)]=_0x3fecef,_0x56a4c1[_0x10b817(0x20e)]=_0x205eaf,_0x56a4c1[_0x10b817(0x404)]=_0x2f4eb4,_0x56a4c1['getBaseRecordPermissionObjectId']=_0x318193,_0x56a4c1['getBaseTablePermissionObjectId']=_0x5be5db,_0x56a4c1[_0x10b817(0x446)]=_0x176adf,_0x56a4c1[_0x10b817(0x54e)]=_0x57372f,_0x56a4c1[_0x10b817(0x34e)]=_0x23803c,_0x56a4c1['getVisibleBaseHierarchyRows']=_0x62c9c6,_0x56a4c1[_0x10b817(0x3bb)]=_0x53dca6,_0x56a4c1[_0x10b817(0x226)]=_0xb78349,_0x56a4c1[_0x10b817(0x1c7)]=_0x50fb41,_0x56a4c1['isBaseFieldStatSupported']=_0x49aeec,_0x56a4c1[_0x10b817(0x336)]=_0x2c4332,_0x56a4c1[_0x10b817(0x123)]=_0x142efb,_0x56a4c1[_0x10b817(0x13f)]=_0x5f4ba3,_0x56a4c1[_0x10b817(0x375)]=_0x4b18ac,_0x56a4c1['normalizeBaseDateFieldConfig']=_0x5b2f18,_0x56a4c1['normalizeBaseDateSerial']=_0x1e18eb,_0x56a4c1['normalizeBaseFieldStatsConfig']=_0x55e4c7,_0x56a4c1[_0x10b817(0x2ad)]=_0x4ebe11,_0x56a4c1[_0x10b817(0x456)]=_0xc0302c,_0x56a4c1[_0x10b817(0x18a)]=_0x4a6724,_0x56a4c1[_0x10b817(0x270)]=_0xebf24e,_0x56a4c1[_0x10b817(0x1a4)]=_0x2fa5be,_0x56a4c1['searchBaseTable']=_0x104bf2,_0x56a4c1[_0x10b817(0x26c)]=_0x835b53,_0x56a4c1[_0x10b817(0x44d)]=_0x194556,_0x56a4c1[_0x10b817(0x4cf)]=_0x4f283,_0x56a4c1['uniqueFieldName']=_0x516e9a,_0x56a4c1['validateBaseHierarchyMove']=_0x2774f9,_0x56a4c1['validateBaseHierarchyRecordCreations']=_0x3d0143,_0x56a4c1['validateBaseHierarchyRecordPatches']=_0x1e4028,_0x56a4c1[_0x10b817(0x426)]=_0x4691b8,_0x56a4c1[_0x10b817(0x16a)]=_0x188677,_0x56a4c1[_0x10b817(0x310)]=_0x1ecc2f,_0x56a4c1[_0x10b817(0x366)]=_0x161c3c;}));function _0x5a55(_0x1ca0f9,_0x3df55b){_0x1ca0f9=_0x1ca0f9-0x107;const _0xda824f=_0xda82();let _0x5a5523=_0xda824f[_0x1ca0f9];return _0x5a5523;}function _0xda82(){const _0x5138b0=['Delete','BaseFilterConjunction','selectField','dashboard/','8iSeJXk','unitData','BaseEventSource','manual','_fastSortRows','CreateBaseFieldCommand','createUpdateCellOp','now','spacePeriod','write','base.command.change-base-field-type','[BaseCommandService]:\x20cannot\x20create\x20table.','isFinite','notContains','_capabilities','_setViewFieldSetting','recordIds','base.command.set-base-record-values','traceBasePerformance','emitPermissionDenied','pop','some','exact','calculateBaseFieldStat','_instanceService','#14b8a6','[BaseCommandService]:\x20cannot\x20delete\x20table.','_kanbanLaneTitle','fieldName','canDeleteRecord','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','view','BaseJson1.cloneForOp','all','canEditCell','delete-view','defaultValue','_groupProjectionFieldIds','\x20permission\x20denied.','label','Start\x20date','_toDirtyRangePatch','_tablePermissions','BaseView','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','off','bases-exchange-client.operation.export-base-by-format','FormulaResultApplicationType','name','excelSerialToDateTime','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','Name','UpdatedBy','getBaseCellValue','dispose','unique','IBaseCommandService','setRangeValues','valid','assign','lastIndex','toLowerCase','invertOp','[DeleteBaseTableCommand]:\x20table\x20\x22','map','check','IUndoRedoService','_buildGantt','_createNumberingAllocator','_setAttachmentResources','_commandService','working','_onCommandExecuted','weekdays','setSnapshot','UniverBasesPlugin','getUnitType','formatBaseProgressValue','BaseJson1.syncCellInvalidations','bases.remote.config','_buildKanban','false','[BaseViewRegistryService]:\x20view\x20type\x20\x22','records','A\x20table\x20with\x20this\x20name\x20already\x20exists.','week','cardLayout','Inject','_executeSuperTableMutationWhileActive','_clearObjectEdit','invalidField','register','[BaseCommandService]:\x20cannot\x20edit\x20field.','policy','currencySymbol','_buildGallery','size','level','-view-grid','symbol','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','viewOrder','_projectedGroupsCache','redo','_factory','setRules','operator','_enqueueFormulaSync','SetBaseKanbanGroupFieldCommand','operand','UniverLicensePlugin','attachmentSet','h:mm\x20a','CONTAINS','_initRegistries','_getTable','MUTATION','table/','COLUMN','_projectionCache','getCapabilities','_findCalendarDateFieldId','generateRandomId','base.command.update-base-cell','createBaseHierarchyParentField','field','_ganttBarColor','option-','viewIndexes','todo','base.command.delete-base-table','fieldIds','ErrorService','getTypePlugin','updateCell','BASES_PLUGIN','trigger','fromPlainText','bases-exchange-client.operation.export-base','_canEditTable','_buildGrid','toPrimitive','attachmentSets','createDefaultBaseTableSnapshot','createViewId','getRecordLinkFieldConfig','createDefaultConfig','isNotEmpty','stringify','default','Copy','custom','person','orderedRecordIds','Cycle','push','_normalizeGanttConfig','[BaseField]:\x20invalid\x20rating\x20value.','subType','Rating','fieldSettings','searchTexts','createSuperTableReference','_projectGroups','base.fieldType.','getBaseDashboardPermissionObjectId','protocol','multiple','save','FORCE_STRING','IResourceManagerService','compose','compressBaseRangeValuesPayload','UniverProEngineFormula','Add','ObjectPermissionService','getUTCDay','embedId','[BaseCommandService]:\x20invalid\x20field\x20definition.','compare','_groupConfigCacheSegment','this-row','Comment','toLocaleString','bases.fieldConfig.textPlaceholder','raw','hostAnchorId','INIT','sortedView','depthByRecordId','base.command.set-base-view-sort','has','frozenFieldCount','CreateBaseChildRecordCommand','_isNonEmptyCellValue','endsWith','False','_title','Use\x2031\x20characters\x20or\x20fewer.','isBaseHierarchyField','progressFieldId','base.command.move-base-field','format','rows','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','replace','syncExecuteCommand','source','BaseConditionalColorTarget','children','JSONX','status','rowIndex','BaseProjection.projectTableRows','Choose\x20another\x20name.','code','tables','depth','endDateFieldId','SetTriggerFormulaCalculationStartMutation','targetTableId','ascend','basePerf','_scheduleSuperTableSync','tableRevision','_normalizeGalleryConfig','isCompressedBaseRangeValuesPayload','mode','_cellRevisions','getSuperTableRegistrations','lessThan','globalRevision','amd','childType','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','DD/MM/YYYY','yyyy/mm/dd','_patchProjectedRowsForCellInvalidations','getUnitId','Tools','result','thumbnail','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','baseRows','timeZone','setViewFieldOrder','invalidGroupField','_cellInvalidationsTouchFields','updatePermissionPoint','UniverProFormulaEnginePlugin','_config','flatMap','_registeredSuperTableNames','_findKanbanGroupField','createField','_resolveKanbanCoverFieldId','BaseRecordLinkRole','_tableBaseIds','_canEdit','too-long','_getViewRevision','base.command.set-permissions','constructor','getPermissionPoint','tryMaterializeSnapshot','_resolveGalleryCoverFieldId','resolvedOptions','local','allowNegative','validateCanonicalRecordLinkValue','separatorStyle','MissingParent','validateFormula','_scheduledSuperTableSyncs','nameCharacterCheck','autoIncrement','tableId','entries','base-range-values-v1','IS_NOT','deleteView','keys','filled','setConfig','RemoveSuperTableMutation','\x20has\x20unsupported\x20target\x20\x22','canManageView','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Table','base.command.set-base-name','CreatedAt','_materializeFormulaTableNames','BaseJson1.normalizeTables','COMMAND','DeleteBaseRecordCommand','_getHierarchyIndex','kanban','patches','includeTime','number','canEditRecord','resolveBaseDateFieldConfig','[BaseField]:\x20invalid\x20number\x20value.','IUniverInstanceService','date','BASE_HIERARCHY_MAX_LEVELS','short','STRING','SetBasePermissionRuleMutation','UniverEngineFormula','deleteField','base.command.rename-base-view','MoveBaseViewCommand','_setFormulaFieldCells','abs','canDeleteTable','invalidateByView','renameFormulaUnitReferences','onlyLocal','row','groups','_kanbanLaneColor','prototype','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','objectId','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','setViewFilter','resolveBaseRangeHierarchyPatches','apply','medium','diffValue','_getOrderedRecords','UNIVER_BASE','MM-DD','setViewSort','getAllUnitsForType','Failed\x20to\x20create\x20update\x20cell\x20operation:','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','beforeFieldId','BASE','rowId','quarter','at\x20index\x20','long','_plugins','BaseDataModel','CreateBaseTableCommand','views','Link','getUTCDate','Yes','executeCommand','lastWeek','validate','UpdateBaseKanbanConfigCommand','base.command.ensure-base-temporal-view-date-fields','IBaseCellData.ensureTableCellLayout','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','createRegExpFromSafeFragment','doing','updatedBy','[BaseCommandService]:\x20cannot\x20create\x20record.','isBaseFieldStatEmptyValue','Gallery','_assertFieldDefinition','base.command.delete-base-field','reason','_T_','manageView','canCreateTable','_isKanbanGroupField','NumberFormat','SetBaseViewFieldOrderCommand','cycle','_normalizeGanttDisplayColor','action','_recordPermissions','_rowTransformCacheSegment','Parent\x20Items','field/','Phone','setViewFieldWidth','_patchCachedProjectedRows','setHours','from','BaseConditionalDateMode','record/','_disposed','CellValueType','__UNIVER_BASE_PERF__','BaseFieldType','SetFormulaCalculationResultMutation','cellData','CreatedBy','missingField','setBasePermission','_getTableRevision','BASE_TABLE_NAME_REQUIREMENTS','formula','displayFieldId','base.mutation.','width','invertWithDoc','fromChangeset','contains','add','CreateBaseViewCommand','editable','Base','attachments','formulaName','REMOTE_BASES_PLUGIN','Optional','markResultApplied','system','2407830jAeltm','_calendarEventColor','rule','group','query','parentRecordId','beforeViewId','canEditField','\x22\x20does\x20not\x20exist.','_resolveKanbanGroupFieldId','dateMode','greaterThan','BaseProjection.projectRows','PermissionStatus','toFixed','CustomCommandExecutionError','viewId','moveView','getBaseHierarchyFieldId','score','_replaceOptional','_filterSortFieldIds','_formulaSyncQueue','_isCalendarDateField','join','Working\x20day','ena','_injector','\x20has\x20unsupported\x20date\x20mode\x20\x22','BASE_UNIT_PERMISSION_ACTIONS','repairViewConfig','subtreeHeightByRecordId','optionSource','-record-','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','maxDepth','MultiSelect','_configService','_setObjectEdit','UniverProtocol','Uncategorized','Parent','isBaseConditionalColorDateField','reduce','month','clearUnit','Group','sum','primaryFieldName','fields','delete','_matchesGanttColorRule','formula.mutation.set-formula-calculation-result','getAll','Formula','isArray','UpdateBaseFieldCommand','insertOp','dateToExcelSerial','isInteger','base.command.move-base-hierarchy-record','4iBOtGa','isBaseRecordIdFieldName','card','_projectRows','_materializeGroups','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','end','recordId','orderKey','http:','values','getTypeOfUnitDisposed$','fieldIndex','BaseProjection.projectGroups','getDependencies','getBaseFieldPermissionObjectId','https://','base.resource.service','univer.basePerf','BaseConditionalColorOperator','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','afterFieldId','locale','base.command.set-base-table-hierarchy-field','deletePermissionPoint','Numbering','SetBasePermissionCommand','getAllBases','@univerjs-pro/engine-formula','DuplicateBaseRecordCommand','_viewRevisions','create-view','1.0.0','set','renameTable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Set','localeCompare','hierarchy','_getSystemFieldValue','MM/DD/YYYY','BaseProjection.getProjection','UpdateBaseRecordOrderCommand','lastIndexOf','base.command.update-base-field','view-','workingDaysOnly','import','initializeUnit','BASE_RECORD_ID_FIELD_ID','mark','serializeRecordLinkIds','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','isValidBaseRecordId','syncUnit','resolveBaseHierarchyFieldId','954804DCxNVE','_recordIds','missingRecord','getCurrentUser','DateSystem','[BaseCommandService]:\x20cannot\x20edit\x20cell.','then','BaseConditionalColorRuleUpdateType','clearTablePermission','sequenceExecute','_apply','usableAsCalendarDate','_dataSyncPrimaryController','error','numfmt','MoveBaseFieldCommand','base.command.duplicate-base-field','getUnit','count','calendar','columns','Text','_applier','_normalizeCellValue','base.command.update-base-field-description','EnsureBaseTemporalViewDateFieldsCommand','_canUseFastSort','[BaseCommandService]:\x20cannot\x20edit\x20table.','large','__all__','fld-','invalidateByCell','UTC','IPermissionService','base.command.delete-base-record','fieldId','FormulaCalculationSessionService','SetBasePermissionRulesMutation','[BaseHierarchy]:\x20field\x20\x22','min','getTime','_applyFormulaResult','registerCommand','General','_initialize','IConfigService','GREATER_THAN','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','gantt','allocateBaseFormulaTableName','slice','getActiveBaseHierarchyFieldIds','selfParent','findRecordLinkReferences','leftPaneWidth','_univerInstanceService','BOOLEAN','_basePermissions','DESC','_initDependencies','parseRecordLinkIds','formatBaseFieldStatValue','key','_hierarchyIndexCache','getBaseHierarchyDeletePromotions','updateRecordOrder','BaseJson1OpFactory','updateViewConfig','Facade','base.mutation.apply-base-json1','filter','day','exceptions','regenerateViewIds','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','target','pickerFieldIds','RecordLink','_getAllBaseDependencyTreeCacheMap','rules','includeRecords','SetBaseRecordValuesCommand','createRecords','average','useThousands','Edit','description','toDisposable','4260584haGZEL','BaseDashboard','limit','_removeSuperTables','_initCommands','recordPatch','facade','projection','_setCachedProjection','changed','createdAt','YYYY/MM/DD','_getKanbanConfiguredLanes','conjunction','Unchecked','beforeCommandExecuted','base.command.set-base-kanban-group-field','[BaseCommandService]:\x20cannot\x20create\x20field.','onReady','value','index','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','BaseHierarchyErrorCode','base.command.set-base-view-filter','groupFieldId','@univerjs-pro/bases','base.command.update-base-kanban-config','getUTCFullYear','InvalidField','BaseSortDirection','BASE_HIERARCHY_PARENT_FIELD_ID','_projectedViewRowsCache','forValue','Number',',,\x22M\x22','base.viewType.calendar','base.command.service','pushUndoRedo','edit','thread-comment.mutation.','usableAsGanttStart','clear','MoveBaseHierarchyRecordCommand','required','IBaseProjectionService','_viewRevisionKey','6656875bolTGP','_isColorfulKanbanGroupField','subscribe','decorate','view/','_getCellRevision','_projectedRowsCache','normalize','order','commaPeriod','rowIndexById','SetBaseViewGroupCommand','createRecord','object','_clearUnit','touchDependencies','[RecordLink]:\x20field\x20config\x20is\x20invalid.','SortedView','getItem','bases.config','yesterday','createIdentifier','exec','Import','clearRecordPermission','validateRecordLinkField','BaseProjection.filterAndSortRows','cellRevision','clearBasePermission','_resolveCardTitleFieldId','_cellInvalidations','BaseProjection.materializeTableRows','getUTCMonth','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','periodComma','invalidateByField','Date1900','addPermissionPoint','ruleId','every','RenameBaseTableCommand','copyBaseTableSnapshot','createCreateRecordOp','_normalizeCalendarDisplayColor','unitId','direction','empty','focusUnit','canDeleteField','trim','conditionalColoring','BaseField','createTable','SingleSelect','#BFDBFE','decompressBaseRangeValuesPayload','applyOp','_tableRevisions','_runtimeContext','IS_EMPTY','fromEntries','tomorrow','https:','isBaseFieldStatType','UniverCore','CommandType','hasOwnProperty','canCreateField','data','timeslotSize','strategies','deleteTable','conditions','SelfParent','getStructuredDependencies','[BaseFormula]:\x20table\x20\x22','title','_baseSyncDisposables','DuplicateBaseFieldCommand','descendPath','assertBaseTableRecordIdentity','CreateView','Status','[BaseField]:\x20invalid\x20date\x20value.','recordNamePrefix','padStart','ApplyBaseJson1Mutation','getSupportedBaseFieldStatTypes','\x22\x20with\x20field\x20type\x20\x22','length','url','remote','get','indexOf','\x20has\x20unsupported\x20operator\x20\x22','year','setViewPermission','BaseHistoryAction','Export','findIndex','max','ICommandService','recordCount','formatBaseDateValue','_globalRevision','_formulaService','showFieldNames','[BaseCommandService]:\x20field\x20\x22','deleteRecord','[BaseField]:\x20invalid\x20phone\x20value.','_createNumberingAllocators','validateRecordLinkValue','updateField','_resolveGanttDateFieldId','[RecordLink]:\x20target\x20record\x20\x22','Calendar','BaseCommand.createBatchCreateRecordsOp','createDeleteRecordsUndoOp','scale','Progress','en-US','getBaseCellFormulaValue','embed-ui','splice','_permissionService','2619365noRqyO','matchesBaseCondition','_projectHierarchyGroups','revision','split','createEmbedBasesTableAddMutation','coverFieldId','_getCachedProjection','editCell','registerSyncingMutations','\x20cannot\x20use\x20operator\x20\x22','NUMBER','getFullYear','next7','Date','duplicateField','undo','recordOrder','[BaseField]:\x20invalid\x20multi-value\x20reference.','Plugin','Remote','getBaseFormulaTableName','SetBaseViewFilterCommand','base.command.duplicate-base-record','[BaseFormula]:\x20table\x20does\x20not\x20exist.','_groupsCacheKey','formatBaseNumberValue','duplicate','_createSystemFieldValuePatches','changes','_createRecordOrderOp','createDefaultValue','createBaseFormulaTableNameMap','conditional','primaryFieldId','\x22\x20is\x20not\x20registered.','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','attachment','[BaseField]:\x20invalid\x20progress\x20value.','_formulaCalculationSessionService','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','_resolveBaseId','displayColor','toStringTag','pluginName','owner','base.command.rename-base-table',',,,\x22B\x22','_cacheKey','createCreateFieldOp','none','Checked','base.view-registry.service','general','BaseJson1OpApplier','DeleteBaseTableCommand','base.viewType.kanban','createEmbedBasesTable','base.viewType.gallery','BaseRecord','_buildCalendar','_applyingFormulaResults','_fieldPermissions','getTypeOfUnitAdded$','onStarting','BaseViewType','startDateFieldId','_kanbanGroupKeys','NOT_CONTAINS','lessThanOrEqual','href','inferBaseSeparatorStyle','_registerUnitPermissionPoints','invalidateByOp','table','base.command.','ensureBaseTableCellLayout','[BaseProjectionService]:\x20missing\x20view\x20\x22','_deleteAttachmentResources','fieldOrder','19722033VTuYtF','\x20must\x20be\x20an\x20object.','setViewGroup','_withModifiedSystemValues','BaseTable','End\x20date','YYYY-MM-DD','resources','Base\x20','EMBED_BASES_TABLE_RESOURCE_KEY','cell','base.command.create-base-child-record','MaxDepth','UpdateBaseViewConditionalColorRulesCommand','setPoint','_isGanttDateField','Disposable','buildBaseHierarchyIndex','h12','find','column','text','readonly','test','_initDataSync','columnSettings','Base\x20edit\x20permission\x20denied.','_resolveKanbanCardFieldIds','invalidGanttStartField','Todo','colId','disposeWithMe','undefined','BASE_OBJECT_PERMISSION_PLUGIN','UniverRemoteBasesPlugin','call','unshift','#BBF7D0','invalidReasonByRecordId','Injector','base.command.move-base-view','Empty','DeleteBaseFieldCommand','repeat','base.command.update-base-view-conditional-color-rules','function','UnitAction','_getJson1DirtyData','_isAllowedKanbanGroupField','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','registerView','[BaseCommandService]:\x20cannot\x20delete\x20record.','MMM\x20D,\x20YYYY','displayText','Grid','BaseJson1.json1Apply','unknown','Person','RecordId','_viewPermissions','remove','merge','dateKit','_syncBaseUnit','getBasePermissionValue','IBasePermissionService','base.command.set-permission','catch','Currency','sort','base.permission.service','kind','today','exists','_resolveCalendarDateFieldId','record','_groupCellInvalidations','_getAllTableIds','_getTablesToNormalize','usableAsGanttEnd','config','star','_activeDirtyManagerService','#,##0.00','workingDays','cardSize','includes','bases.fieldConfig.linkPlaceholder','toString','_views','base.command.create-base-field','start','majorHeaders','lastMonth','compress','setRule','BaseHierarchyError','createSetRecordValuesOp','validateBaseTableName','[BaseField]:\x20invalid\x20checkbox\x20value.','unitWidth','createdBy','getMonth','toPlainText','IBaseViewRegistryService','Attachment','isNot','UnitObject','tableOrder','#3b82f6','collaborators','members','regexp','version','deleteRecords','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','getSnapshot','invalid-characters','spaceComma','createBaseRecordIdField','SetBaseRangeValuesCommand','setBaseName','base.projection.service','updatedAt','rootRecordIds','_createNumberingFieldValuePatches','_deleteRecordsBaseOp','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','Kanban','changeFieldType','getBaseViewPermissionObjectId','round','gridViewId','pattern','finally','UNIVER_EMBED_BASES_TABLE','_rememberTable','setBasePermissionValue','subtreeEndIndex','usableAsCardCover','hidden','BEFORE','_getCurrentUserId','normal','Gantt','abbreviation','projectBaseHierarchy','decimalPlaces','base.field-registry.service','[BasePerf]\x20',':start','packageName','getInstance','allowMultiple','UpdateBaseViewConfigCommand','createView','_sortRows','apostrophe','user','fromCollab','base.command.set-base-view-field-width','true','dependencyFieldId','snapshot','IS_NOT_EMPTY','getAffectedRanges','setViewFieldVisible','base.mutation.set-permission-rule','Done','colIndex','_createRecordWithDefaults','BaseFormulaService','$1\x20','deepClone','IActiveDirtyManagerService','base.command.create-base-table','excelDateTimeSerial','invalid','[BaseCommandService]:\x20cannot\x20delete\x20field.','_projectTableRows','_fieldRegistry','flat','relationRole','h24','base-perf-','duplicateRecord','tableName','base.mutation.set-permission-rules','after','getAllPermissionPoint','replaceOp','oldParentRecordId','[BaseCommandService]:\x20invalid\x20cell\x20value.','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','_viewRowsCacheKey','removeOp','string','CreateBaseRecordCommand','Checkbox','viewRevision','thisWeek','[BaseCommandService]:\x20cannot\x20manage\x20view.','blue','titleFieldId','[BaseField]:\x20invalid\x20person\x20value.','UniverRpc','base.command.set-base-view-field-order','#FDE68A','registerCtorForType','moveField',':end','setRecordValues','SetBaseTableHierarchyFieldCommand','481115SKBHuH','_projectFields','_bumpTableRevision','renameView','matchAll','color','JSON1','parentByRecordId','BaseHierarchyInvalidReason','params','saveMany','_getStructureDirtyTableIds','_isAllDayCalendarEvent','canEditTable','_normalizeCalendarConfig','defineProperty','startsWith','createEmbedBasesTableRemoveMutation','exports','forEach','UpdatedAt','isNaN','type','Clear','base.command.set-base-range-values','boolean','canCreateRecord','UniverInstanceType','col','DataSyncPrimaryController','Email','options'];_0xda82=function(){return _0x5138b0;};return _0xda82();}
1
+ function _0x4fc4(_0x42c841,_0x4edf05){_0x42c841=_0x42c841-0x1c4;const _0x508aae=_0x508a();let _0x4fc4e3=_0x508aae[_0x42c841];return _0x4fc4e3;}(function(_0x12f78a,_0x4d9468){const _0x1f5d30=_0x4fc4,_0x37d7b1=_0x12f78a();while(!![]){try{const _0x39e9c1=-parseInt(_0x1f5d30(0x443))/0x1*(parseInt(_0x1f5d30(0x3f4))/0x2)+parseInt(_0x1f5d30(0x3be))/0x3*(-parseInt(_0x1f5d30(0x3fc))/0x4)+-parseInt(_0x1f5d30(0x24a))/0x5+-parseInt(_0x1f5d30(0x1d8))/0x6+-parseInt(_0x1f5d30(0x34c))/0x7*(parseInt(_0x1f5d30(0x335))/0x8)+-parseInt(_0x1f5d30(0x1c9))/0x9+parseInt(_0x1f5d30(0x49e))/0xa*(parseInt(_0x1f5d30(0x403))/0xb);if(_0x39e9c1===_0x4d9468)break;else _0x37d7b1['push'](_0x37d7b1['shift']());}catch(_0x550228){_0x37d7b1['push'](_0x37d7b1['shift']());}}}(_0x508a,0xc40f5),function(_0x4d9363,_0x32e6f8){const _0x45613f=_0x4fc4;typeof exports=='object'&&typeof module<'u'?_0x32e6f8(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs/protocol'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x45613f(0x2fe)&&define[_0x45613f(0x323)]?define([_0x45613f(0x47c),_0x45613f(0x272),_0x45613f(0x5ff),'@univerjs/protocol',_0x45613f(0x3b0),_0x45613f(0x4b9),'@univerjs/engine-formula'],_0x32e6f8):(_0x4d9363=typeof globalThis<'u'?globalThis:_0x4d9363||self,_0x32e6f8(_0x4d9363['UniverProBases']={},_0x4d9363[_0x45613f(0x3f5)],_0x4d9363['UniverProEngineFormula'],_0x4d9363[_0x45613f(0x411)],_0x4d9363['UniverProLicense'],_0x4d9363[_0x45613f(0x457)],_0x4d9363['UniverEngineFormula']));}(this,function(_0x22620f,_0xcf3cf2,_0x64dd1a,_0x2f5c57,_0x54c3b5,_0x4f9625,_0x2f0f8e){const _0x2b8d6a=_0x4fc4;Object[_0x2b8d6a(0x2c1)](_0x22620f,Symbol[_0x2b8d6a(0x5d9)],{'value':_0x2b8d6a(0x569)});function _0x391f91(_0x1c0533){const _0x53943d=_0x2b8d6a;let _0x40c9a0=_0x1c0533[_0x53943d(0x5a3)]['targetTableId'],_0x1275be=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x22e)],_0x1c4f8a=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x311)],_0x5b8f37=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x558)],_0x2c4d46=_0x1c0533[_0x53943d(0x5a3)][_0x53943d(0x2de)];return typeof _0x40c9a0!=_0x53943d(0x3ea)||!_0x40c9a0||typeof _0x1275be!=_0x53943d(0x511)||_0x1c4f8a!==void 0x0&&(typeof _0x1c4f8a!=_0x53943d(0x3ea)||!_0x1c4f8a)||_0x2c4d46!==void 0x0&&_0x2c4d46!==_0xcf3cf2['BaseRecordLinkRole'][_0x53943d(0x60d)]||_0x5b8f37!==void 0x0&&(!Array[_0x53943d(0x2a1)](_0x5b8f37)||_0x5b8f37[_0x53943d(0x20f)](_0x4dd5f3=>typeof _0x4dd5f3!='string'||!_0x4dd5f3)||new Set(_0x5b8f37)['size']!==_0x5b8f37['length'])?null:{'targetTableId':_0x40c9a0,'multiple':_0x1275be,..._0x1c4f8a?{'displayFieldId':_0x1c4f8a}:{},..._0x5b8f37?{'pickerFieldIds':[..._0x5b8f37]}:{},..._0x2c4d46?{'relationRole':_0x2c4d46}:{}};}function _0xcf5891(_0x1727e6){const _0x5ed5ce=_0x2b8d6a;return typeof _0x1727e6!=_0x5ed5ce(0x3ea)||_0x1727e6===''?[]:_0x1727e6[_0x5ed5ce(0x339)](',');}function _0x47d3ab(_0xb7a05c){const _0x28cdbd=_0x2b8d6a;return Array[_0x28cdbd(0x1ea)](new Set(_0xb7a05c))[_0x28cdbd(0x600)](',');}function _0x456626(_0x5743b7,_0x5eae78){const _0x56b339=_0x2b8d6a;if(typeof _0x5743b7!=_0x56b339(0x3ea))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x5743b7==='')return{'valid':!0x0};let _0x3ee249=_0x5743b7[_0x56b339(0x339)](',');return!_0x5eae78&&_0x3ee249[_0x56b339(0x3d4)]>0x1?{'valid':!0x1,'reason':_0x56b339(0x46f)}:_0x3ee249[_0x56b339(0x20f)](_0x171aed=>!(0x0,_0xcf3cf2[_0x56b339(0x5de)])(_0x171aed))||new Set(_0x3ee249)['size']!==_0x3ee249['length']||_0x47d3ab(_0x3ee249)!==_0x5743b7?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x3f95e1(_0x470646,_0x24d149){const _0x261642=_0x2b8d6a;if(_0x24d149[_0x261642(0x1cc)]!==_0xcf3cf2[_0x261642(0x435)][_0x261642(0x34e)])return{'valid':!0x0};let _0x569edd=_0x391f91(_0x24d149),_0x4391f9=_0x569edd?_0x470646['tables'][_0x569edd[_0x261642(0x249)]]:void 0x0;if(!_0x569edd||!_0x4391f9)return{'valid':!0x1,'reason':_0x261642(0x459)};let _0x3827fc=[..._0x569edd[_0x261642(0x311)]?[_0x569edd['displayFieldId']]:[],..._0x569edd[_0x261642(0x558)]??[]][_0x261642(0x22c)](_0x35ce68=>{const _0x227081=_0x261642;let _0x133238=_0x4391f9[_0x227081(0x3b5)][_0x35ce68];return!_0x133238||_0x133238[_0x227081(0x27a)]===!0x0||_0x133238[_0x227081(0x1cc)]===_0xcf3cf2[_0x227081(0x435)][_0x227081(0x46d)];});return _0x3827fc?{'valid':!0x1,'reason':_0x261642(0x434)+_0x3827fc+_0x261642(0x3e6)}:{'valid':!0x0};}function _0x3bd7ca(_0x3f8b03,_0x2731e9,_0x28be89,_0x512969={}){const _0x54d321=_0x2b8d6a;let _0x4ffeb1=_0x391f91(_0x2731e9);if(_0x2731e9[_0x54d321(0x1cc)]!==_0xcf3cf2[_0x54d321(0x435)][_0x54d321(0x34e)]||!_0x4ffeb1)return{'valid':!0x1,'reason':_0x54d321(0x1eb)};let _0x28d4fd=_0x456626(_0x28be89,_0x4ffeb1['multiple']);if(!_0x28d4fd[_0x54d321(0x47d)]||_0x512969['allowDangling'])return _0x28d4fd;let _0x41179d=_0x3f8b03[_0x54d321(0x3d7)][_0x4ffeb1[_0x54d321(0x249)]];if(!_0x41179d)return{'valid':!0x1,'reason':_0x54d321(0x459)};let _0x327319=_0xcf5891(_0x28be89)[_0x54d321(0x22c)](_0x1db9fe=>!_0x41179d['records'][_0x1db9fe]);return _0x327319?{'valid':!0x1,'reason':_0x54d321(0x20c)+_0x327319+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x39ea47(_0x3c287e,_0x52f3b9){const _0x100376=_0x2b8d6a;return Object[_0x100376(0x404)](_0x3c287e['tables'])[_0x100376(0x5d0)](_0x5ab228=>Object[_0x100376(0x404)](_0x5ab228[_0x100376(0x3b5)])[_0x100376(0x5d0)](_0x135d44=>{const _0x79a659=_0x100376;let _0x4afc03=_0x135d44[_0x79a659(0x1cc)]===_0xcf3cf2[_0x79a659(0x435)][_0x79a659(0x34e)]?_0x391f91(_0x135d44):null;return(_0x4afc03==null?void 0x0:_0x4afc03[_0x79a659(0x249)])===_0x52f3b9?[{'tableId':_0x5ab228['id'],'fieldId':_0x135d44['id']}]:[];}));}let _0x1fa07b=_0x2b8d6a(0x1e1),_0x38d4ab=function(_0x40af73){const _0x44b0bc=_0x2b8d6a;return _0x40af73['InvalidField']='invalidField',_0x40af73[_0x44b0bc(0x330)]=_0x44b0bc(0x3a2),_0x40af73[_0x44b0bc(0x428)]=_0x44b0bc(0x480),_0x40af73[_0x44b0bc(0x245)]='cycle',_0x40af73['MaxDepth']=_0x44b0bc(0x522),_0x40af73['SortedView']=_0x44b0bc(0x46a),_0x40af73;}({});var _0x1d7b46=class extends Error{constructor(_0x27e71f,_0x3ee273=_0x2b8d6a(0x510)+_0x27e71f){const _0x2fee61=_0x2b8d6a;super(_0x3ee273),this[_0x2fee61(0x58e)]=_0x27e71f,this['name']='BaseHierarchyError';}};let _0x48d33b=function(_0x2c316e){const _0x377d4c=_0x2b8d6a;return _0x2c316e['UI']='ui',_0x2c316e[_0x377d4c(0x5fd)]=_0x377d4c(0x3c0),_0x2c316e[_0x377d4c(0x394)]=_0x377d4c(0x284),_0x2c316e[_0x377d4c(0x47a)]=_0x377d4c(0x2b1),_0x2c316e['Redo']=_0x377d4c(0x389),_0x2c316e[_0x377d4c(0x2c8)]=_0x377d4c(0x39f),_0x2c316e;}({});function _0x4d880f(_0x16b543,_0x51238b){const _0x158060=_0x2b8d6a;if(!_0x51238b)return!0x1;let _0x235bd0=_0x16b543[_0x158060(0x3b5)][_0x51238b];if(!_0x235bd0||_0x235bd0[_0x158060(0x1cc)]!==_0xcf3cf2['BaseFieldType']['RecordLink'])return!0x1;let _0x2a8782=_0x391f91(_0x235bd0);return _0x2a8782?_0x2a8782[_0x158060(0x249)]===_0x16b543['id']&&_0x2a8782[_0x158060(0x22e)]===!0x1:!0x1;}function _0xb51e67(_0x3e0b32){const _0x138f98=_0x2b8d6a;return[..._0x3e0b32[_0x138f98(0x4ab)],...Object[_0x138f98(0x582)](_0x3e0b32[_0x138f98(0x3b5)])[_0x138f98(0x355)](_0x4675d2=>!_0x3e0b32[_0x138f98(0x4ab)]['includes'](_0x4675d2))[_0x138f98(0x24e)]()][_0x138f98(0x22c)](_0x3cf4f0=>{const _0x227c5d=_0x138f98;var _0x8094db;return _0x4d880f(_0x3e0b32,_0x3cf4f0)?((_0x8094db=_0x391f91(_0x3e0b32[_0x227c5d(0x3b5)][_0x3cf4f0]))==null?void 0x0:_0x8094db[_0x227c5d(0x2de)])===_0xcf3cf2[_0x227c5d(0x223)]['Parent']:!0x1;})??null;}function _0x4f5050(_0x2cc059){let _0x1e68f7=_0xb51e67(_0x2cc059);if(_0x1e68f7)return _0x1e68f7;let _0x4eec79=_0x1fa07b,_0x365965=0x2;for(;_0x2cc059['fields'][_0x4eec79];)_0x4eec79=_0x1fa07b+'_'+_0x365965++;return _0x4eec79;}function _0x3df43c(_0x2d9892,_0x4717c1=_0x4f5050(_0x2d9892),_0x2377da=_0x2b8d6a(0x476)){const _0x107c38=_0x2b8d6a;return{'id':_0x4717c1,'name':_0x2377da,'type':_0xcf3cf2[_0x107c38(0x435)]['RecordLink'],'config':{'targetTableId':_0x2d9892['id'],'multiple':!0x1,'displayFieldId':_0x2d9892[_0x107c38(0x4b4)],'pickerFieldIds':[_0x2d9892[_0x107c38(0x4b4)]],'relationRole':_0xcf3cf2[_0x107c38(0x223)]['Parent']}};}function _0x4c7235(_0x3f9ec9){let _0x24e825=_0xb51e67(_0x3f9ec9);return _0x24e825?[_0x24e825]:[];}function _0x4908a1(_0x43beb9,_0x4d5136){const _0x5f2d50=_0x2b8d6a;let _0x200321=[..._0x4c7235(_0x43beb9)][_0x5f2d50(0x355)](_0x47d810=>_0x4d5136['some'](_0x28a952=>Object[_0x5f2d50(0x3b1)][_0x5f2d50(0x1ec)][_0x5f2d50(0x29f)](_0x28a952['values'],_0x47d810)));if(!_0x200321[_0x5f2d50(0x3d4)])return[];let _0x1b5aed={..._0x43beb9[_0x5f2d50(0x38a)]};_0x4d5136['forEach'](_0x263ef3=>{const _0x40e3e3=_0x5f2d50;let _0x2d5353=_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]];_0x2d5353&&(_0x1b5aed[_0x263ef3[_0x40e3e3(0x57e)]]={..._0x2d5353,'values':{..._0x2d5353['values'],..._0x263ef3[_0x40e3e3(0x404)]}});});let _0x26425c={..._0x43beb9,'records':_0x1b5aed},_0x2c7bda=[];return _0x200321[_0x5f2d50(0x458)](_0x14e81c=>{const _0x4d271c=_0x5f2d50;let _0x5589a0=_0x3760a3(_0x43beb9,_0x14e81c),_0x2e2fb8=_0x3760a3(_0x26425c,_0x14e81c);for(let [_0x8a26da,_0x23f800]of _0x2e2fb8[_0x4d271c(0x5ed)]){let _0x402b82=_0x4d5136[_0x4d271c(0x20f)](_0x38a908=>_0x38a908[_0x4d271c(0x57e)]===_0x8a26da&&Object[_0x4d271c(0x3b1)][_0x4d271c(0x1ec)][_0x4d271c(0x29f)](_0x38a908['values'],_0x14e81c));if(_0x5589a0[_0x4d271c(0x5ed)]['get'](_0x8a26da)!==_0x23f800||_0x402b82)throw new _0x1d7b46(_0x2d0e23(_0x23f800));}_0x4d5136['forEach'](_0x32464c=>{const _0x4c1391=_0x4d271c;if(!Object[_0x4c1391(0x3b1)][_0x4c1391(0x1ec)]['call'](_0x32464c[_0x4c1391(0x404)],_0x14e81c))return;let _0xdf90da=_0x5589a0['parentByRecordId'][_0x4c1391(0x4f0)](_0x32464c[_0x4c1391(0x57e)])??null,_0x5c57fe=_0x2e2fb8[_0x4c1391(0x337)][_0x4c1391(0x4f0)](_0x32464c['recordId'])??null;_0xdf90da!==_0x5c57fe&&_0x2c7bda[_0x4c1391(0x309)]({'tableId':_0x43beb9['id'],'fieldId':_0x14e81c,'recordId':_0x32464c[_0x4c1391(0x57e)],'oldParentRecordId':_0xdf90da,'parentRecordId':_0x5c57fe});});}),_0x2c7bda;}function _0x441a71(_0x536331,_0x143cec){const _0x52035d=_0x2b8d6a;let _0x1a1f2d=_0x143cec[_0x52035d(0x2c4)](_0x21869c=>_0x21869c['id']);if(new Set(_0x1a1f2d)[_0x52035d(0x219)]!==_0x1a1f2d[_0x52035d(0x3d4)]||_0x1a1f2d[_0x52035d(0x20f)](_0x7a6664=>_0x536331[_0x52035d(0x38a)][_0x7a6664]))return[];let _0xae5a31=_0x4c7235(_0x536331),_0xeb3bd5=_0xae5a31['length']?null:_0x4f5050(_0x536331),_0x5e02bd=[..._0xae5a31,..._0xeb3bd5&&_0x143cec[_0x52035d(0x20f)](_0x3c4e3d=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x3c4e3d['values'],_0xeb3bd5))?[_0xeb3bd5]:[]]['filter'](_0x2a45bd=>_0x143cec['some'](_0x2b51a1=>Object['prototype'][_0x52035d(0x1ec)][_0x52035d(0x29f)](_0x2b51a1[_0x52035d(0x404)],_0x2a45bd)));if(!_0x5e02bd[_0x52035d(0x3d4)])return[];let _0xbf255c={..._0x536331,'records':{..._0x536331[_0x52035d(0x38a)],...Object[_0x52035d(0x3a6)](_0x143cec[_0x52035d(0x2c4)](_0x19b44f=>[_0x19b44f['id'],_0x19b44f]))},'recordOrder':[..._0x536331[_0x52035d(0x5ab)]??[],..._0x143cec[_0x52035d(0x2c4)](_0x4a3175=>_0x4a3175['id'])]},_0x2c9680=[];return _0x5e02bd[_0x52035d(0x458)](_0x3ec010=>{const _0x54cfb0=_0x52035d;let _0x15b8fc=_0x3760a3(_0xbf255c,_0x3ec010);_0x143cec[_0x54cfb0(0x458)](_0x5af191=>{const _0x30c222=_0x54cfb0;let _0x27e442=_0x15b8fc['invalidReasonByRecordId'][_0x30c222(0x4f0)](_0x5af191['id']);if(_0x27e442)throw new _0x1d7b46(_0x2d0e23(_0x27e442));let _0xd5de79=_0x15b8fc[_0x30c222(0x337)][_0x30c222(0x4f0)](_0x5af191['id'])??null;_0xd5de79&&_0x2c9680['push']({'tableId':_0x536331['id'],'fieldId':_0x3ec010,'recordId':_0x5af191['id'],'oldParentRecordId':null,'parentRecordId':_0xd5de79});});}),_0x2c9680;}function _0x2d0e23(_0x1864ad){const _0x302f63=_0x2b8d6a;switch(_0x1864ad){case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x27c)]:return _0x302f63(0x3a2);case _0xcf3cf2[_0x302f63(0x296)][_0x302f63(0x428)]:return _0x302f63(0x480);case _0xcf3cf2['BaseHierarchyInvalidReason']['Cycle']:return _0x302f63(0x236);case _0xcf3cf2['BaseHierarchyInvalidReason']['MaxDepth']:return _0x302f63(0x522);}}function _0x3b968d(_0x5609fd,_0x30c6e7){const _0x49774a=_0x2b8d6a;let _0x18aa98=new Set(_0x30c6e7),_0x137db6=_0x4c7235(_0x5609fd);return Object[_0x49774a(0x404)](_0x5609fd[_0x49774a(0x38a)])[_0x49774a(0x5d0)](_0x16fd29=>_0x18aa98['has'](_0x16fd29['id'])?[]:Array['from'](_0x137db6)[_0x49774a(0x5d0)](_0xca897e=>{let _0x3b7818=_0xcf5891(_0x16fd29['values'][_0xca897e])[0x0]??null;return _0x3b7818&&_0x18aa98['has'](_0x3b7818)?[{'tableId':_0x5609fd['id'],'fieldId':_0xca897e,'recordId':_0x16fd29['id'],'oldParentRecordId':_0x3b7818,'parentRecordId':null}]:[];}));}function _0x3760a3(_0x4a2477,_0x46b11e,_0x3f175a=_0x4a2477[_0x2b8d6a(0x5ab)]??Object[_0x2b8d6a(0x582)](_0x4a2477[_0x2b8d6a(0x38a)])){const _0x4123b6=_0x2b8d6a;if((_0x4a2477[_0x4123b6(0x3b5)][_0x46b11e]||_0x46b11e!==_0x4f5050(_0x4a2477))&&!_0x4d880f(_0x4a2477,_0x46b11e))throw Error(_0x4123b6(0x3d1)+_0x46b11e+_0x4123b6(0x478));let _0x3ac2af=_0x4d8147(_0x4a2477,_0x3f175a),_0x13aacf=new Map(),_0x37a901=new Map();for(let _0x2294be of _0x3ac2af){var _0x1393c5;let _0x3bb682=_0xcf5891((_0x1393c5=_0x4a2477['records'][_0x2294be])==null?void 0x0:_0x1393c5[_0x4123b6(0x404)][_0x46b11e])[0x0]??null;_0x3bb682?_0x3bb682===_0x2294be?(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2[_0x4123b6(0x296)][_0x4123b6(0x428)])):_0x4a2477[_0x4123b6(0x38a)][_0x3bb682]?_0x13aacf[_0x4123b6(0x22b)](_0x2294be,_0x3bb682):(_0x13aacf['set'](_0x2294be,null),_0x37a901[_0x4123b6(0x22b)](_0x2294be,_0xcf3cf2['BaseHierarchyInvalidReason']['MissingParent'])):_0x13aacf['set'](_0x2294be,null);}_0x1b8f6a(_0x13aacf,_0x37a901,_0x3ac2af),_0x341fc4(_0x13aacf,_0x37a901,_0x3ac2af);let _0x20d70c=new Map(_0x3ac2af['map']((_0x2220e8,_0x19e22e)=>[_0x2220e8,_0x19e22e])),_0x5df320=new Map();for(let _0x4fd9bc of _0x3ac2af){let _0x3b72c0=_0x13aacf[_0x4123b6(0x4f0)](_0x4fd9bc)??null,_0x442294=_0x5df320['get'](_0x3b72c0)??[];_0x442294[_0x4123b6(0x309)](_0x4fd9bc),_0x5df320['set'](_0x3b72c0,_0x442294);}_0x5df320[_0x4123b6(0x458)](_0x24c26f=>_0x24c26f[_0x4123b6(0x24e)]((_0x2a7ffc,_0x4e1980)=>(_0x20d70c[_0x4123b6(0x4f0)](_0x2a7ffc)??0x0)-(_0x20d70c[_0x4123b6(0x4f0)](_0x4e1980)??0x0)));let _0x30ca0f=_0x5df320[_0x4123b6(0x4f0)](null)??[],_0x66362b=new Map(),_0x2cc100=new Map(),_0x178cf7=[],_0x559adb=(_0x54ed7e,_0x13e2b0)=>{const _0x4523b9=_0x4123b6;_0x66362b[_0x4523b9(0x22b)](_0x54ed7e,_0x13e2b0),_0x178cf7[_0x4523b9(0x309)](_0x54ed7e);let _0x1fb7bd=0x0;for(let _0x20c700 of _0x5df320[_0x4523b9(0x4f0)](_0x54ed7e)??[])_0x1fb7bd=Math[_0x4523b9(0x591)](_0x1fb7bd,0x1+_0x559adb(_0x20c700,_0x13e2b0+0x1));return _0x2cc100['set'](_0x54ed7e,_0x1fb7bd),_0x1fb7bd;};return _0x30ca0f[_0x4123b6(0x458)](_0xa9f2ef=>_0x559adb(_0xa9f2ef,0x0)),{'fieldId':_0x46b11e,'parentByRecordId':_0x13aacf,'childrenByParentId':_0x5df320,'depthByRecordId':_0x66362b,'subtreeHeightByRecordId':_0x2cc100,'invalidReasonByRecordId':_0x37a901,'rootRecordIds':_0x30ca0f,'orderedRecordIds':_0x178cf7};}function _0xf3e46d(_0x353bf6,_0x55c3d1,_0x31031f=new Set(_0x55c3d1[_0x2b8d6a(0x2c4)](_0x4f1fdf=>_0x4f1fdf['recordId']))){const _0x22468e=_0x2b8d6a;let _0x3b94c0=new Set(_0x31031f);for(let _0x32012d of _0x31031f){let _0x178012=_0x353bf6[_0x22468e(0x337)]['get'](_0x32012d)??null;for(;_0x178012;)_0x3b94c0[_0x22468e(0x1d6)](_0x178012),_0x178012=_0x353bf6['parentByRecordId'][_0x22468e(0x4f0)](_0x178012)??null;}let _0x4e373b=new Map(_0x55c3d1[_0x22468e(0x2c4)](_0x107030=>[_0x107030['recordId'],_0x107030])),_0x44543c=_0x353bf6[_0x22468e(0x5c5)]['filter'](_0x39acf7=>_0x3b94c0['has'](_0x39acf7)),_0x56d448=_0x44543c[_0x22468e(0x5d0)](_0xe818a6=>{const _0x561656=_0x22468e;let _0x575960=_0x4e373b[_0x561656(0x4f0)](_0xe818a6);return _0x575960?[_0x575960]:[];}),_0x1c2380={};for(let _0x369fa3=0x0;_0x369fa3<_0x44543c[_0x22468e(0x3d4)];_0x369fa3++){let _0x5bddac=_0x44543c[_0x369fa3];_0x1c2380[_0x5bddac]={'recordId':_0x5bddac,'parentRecordId':_0x353bf6[_0x22468e(0x337)][_0x22468e(0x4f0)](_0x5bddac)??null,'depth':_0x353bf6[_0x22468e(0x34d)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'directChildCount':(_0x353bf6['childrenByParentId'][_0x22468e(0x4f0)](_0x5bddac)??[])[_0x22468e(0x3d4)],'subtreeHeight':_0x353bf6[_0x22468e(0x481)][_0x22468e(0x4f0)](_0x5bddac)??0x0,'subtreeEndIndex':_0x369fa3,'invalidReason':_0x353bf6[_0x22468e(0x5ed)][_0x22468e(0x4f0)](_0x5bddac)};}let _0x48795a=[];for(let _0x5a2d7a=0x0;_0x5a2d7a<_0x44543c['length'];_0x5a2d7a++){let _0x736809=_0x44543c[_0x5a2d7a],_0x553b22=_0x1c2380[_0x736809][_0x22468e(0x4fb)];for(;_0x48795a[_0x22468e(0x3d4)]&&_0x48795a[_0x48795a[_0x22468e(0x3d4)]-0x1][_0x22468e(0x4fb)]>=_0x553b22;){let _0x3182ea=_0x48795a['pop']();_0x1c2380[_0x3182ea['recordId']]['subtreeEndIndex']=_0x5a2d7a-0x1;}_0x48795a[_0x22468e(0x309)]({'recordId':_0x736809,'depth':_0x553b22});}return _0x48795a[_0x22468e(0x458)](({recordId:_0x312871})=>{_0x1c2380[_0x312871]['subtreeEndIndex']=_0x44543c['length']-0x1;}),{'rows':_0x56d448,'hierarchy':{'fieldId':_0x353bf6[_0x22468e(0x580)],'rootRecordIds':_0x353bf6[_0x22468e(0x325)][_0x22468e(0x355)](_0x37b13b=>_0x3b94c0['has'](_0x37b13b)),'orderedRecordIds':_0x44543c,'nodes':_0x1c2380}};}function _0x54261d(_0x47feb0,_0x9b15c5){const _0x8fe60e=_0x2b8d6a;if(!_0x47feb0['hierarchy']||!(_0x9b15c5!=null&&_0x9b15c5[_0x8fe60e(0x219)]))return _0x47feb0[_0x8fe60e(0x5e6)];let _0x25403e=[],_0x5ce06b=0x0;for(;_0x5ce06b<_0x47feb0['rows'][_0x8fe60e(0x3d4)];){let _0xa6c376=_0x47feb0['rows'][_0x5ce06b];_0x25403e[_0x8fe60e(0x309)](_0xa6c376);let _0x5010c0=_0x47feb0[_0x8fe60e(0x326)][_0x8fe60e(0x4e9)][_0xa6c376[_0x8fe60e(0x57e)]];_0x5ce06b=_0x9b15c5['has'](_0xa6c376[_0x8fe60e(0x57e)])&&_0x5010c0?_0x5010c0['subtreeEndIndex']+0x1:_0x5ce06b+0x1;}return _0x25403e;}function _0x5a84fb(_0x2c66c3,_0x489427,_0x59f42d){const _0x5eee71=_0x2b8d6a;if(!_0x59f42d)return{'valid':!0x0};if(_0x489427===_0x59f42d)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x428)]};let _0x5d8eb0=_0x59f42d;for(;_0x5d8eb0;){if(_0x5d8eb0===_0x489427)return{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)]['Cycle']};_0x5d8eb0=_0x2c66c3[_0x5eee71(0x337)][_0x5eee71(0x4f0)](_0x5d8eb0)??null;}return(_0x2c66c3[_0x5eee71(0x34d)][_0x5eee71(0x4f0)](_0x59f42d)??0x0)+0x1+(_0x2c66c3[_0x5eee71(0x481)][_0x5eee71(0x4f0)](_0x489427)??0x0)>=0x5?{'valid':!0x1,'reason':_0xcf3cf2[_0x5eee71(0x296)][_0x5eee71(0x42e)]}:{'valid':!0x0};}function _0x4d8147(_0x26dc74,_0x470ea4){const _0x2ffbda=_0x2b8d6a;let _0xcc3d32=new Set(),_0x4fe25c=[];for(let _0x41cc5e of _0x470ea4)_0x26dc74[_0x2ffbda(0x38a)][_0x41cc5e]&&!_0xcc3d32[_0x2ffbda(0x244)](_0x41cc5e)&&(_0xcc3d32[_0x2ffbda(0x1d6)](_0x41cc5e),_0x4fe25c[_0x2ffbda(0x309)](_0x41cc5e));return Object['keys'](_0x26dc74['records'])[_0x2ffbda(0x24e)]()['forEach'](_0x9a4bca=>{const _0x50deee=_0x2ffbda;_0xcc3d32[_0x50deee(0x244)](_0x9a4bca)||_0x4fe25c[_0x50deee(0x309)](_0x9a4bca);}),_0x4fe25c;}function _0x1b8f6a(_0x3be207,_0x1a67d3,_0x3ed7e5){const _0x5d6c6e=_0x2b8d6a;let _0x15ead5=new Set();for(let _0x32fe7a of _0x3ed7e5){if(_0x15ead5['has'](_0x32fe7a))continue;let _0x3187aa=[],_0x7937c0=new Map(),_0x755d7e=_0x32fe7a;for(;_0x755d7e&&!_0x15ead5['has'](_0x755d7e);){let _0x4ae528=_0x7937c0['get'](_0x755d7e);if(_0x4ae528!=null){let _0x2a96ef=[..._0x3187aa[_0x5d6c6e(0x3de)](_0x4ae528)]['sort']()[_0x5d6c6e(0x2ef)]();_0x3be207[_0x5d6c6e(0x22b)](_0x2a96ef,null),_0x1a67d3[_0x5d6c6e(0x22b)](_0x2a96ef,_0xcf3cf2['BaseHierarchyInvalidReason'][_0x5d6c6e(0x245)]);break;}_0x7937c0[_0x5d6c6e(0x22b)](_0x755d7e,_0x3187aa['length']),_0x3187aa['push'](_0x755d7e),_0x755d7e=_0x3be207['get'](_0x755d7e)??null;}_0x3187aa[_0x5d6c6e(0x458)](_0x532c77=>_0x15ead5[_0x5d6c6e(0x1d6)](_0x532c77));}}function _0x341fc4(_0x2be716,_0x3de816,_0x414cd2){let _0x30701e=new Map(),_0x3188c3=_0x52173b=>{const _0xa48b47=_0x4fc4;let _0x1bc99d=_0x30701e[_0xa48b47(0x4f0)](_0x52173b);if(_0x1bc99d!=null)return _0x1bc99d;let _0x7d1ee4=_0x2be716[_0xa48b47(0x4f0)](_0x52173b)??null;if(!_0x7d1ee4)return _0x30701e[_0xa48b47(0x22b)](_0x52173b,0x0),0x0;let _0x213203=_0x3188c3(_0x7d1ee4)+0x1;return _0x213203>=0x5?(_0x2be716['set'](_0x52173b,null),_0x3de816[_0xa48b47(0x22b)](_0x52173b,_0xcf3cf2['BaseHierarchyInvalidReason'][_0xa48b47(0x42e)]),_0x30701e['set'](_0x52173b,0x0),0x0):(_0x30701e[_0xa48b47(0x22b)](_0x52173b,_0x213203),_0x213203);};_0x414cd2['forEach'](_0x3188c3);}let _0x5c3c33=0x0;function _0xf0b544(){const _0x9919fa=_0x2b8d6a;if(globalThis[_0x9919fa(0x4ad)]===!0x0)return!0x0;try{let _0x1c6f6d=typeof location>'u'?'':location['search'],_0x1be2e1=new URLSearchParams(_0x1c6f6d);if(_0x1be2e1['get'](_0x9919fa(0x41a))==='1'||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x41a))===_0x9919fa(0x45a)||_0x1be2e1[_0x9919fa(0x4f0)](_0x9919fa(0x4db))==='1')return!0x0;}catch{}try{let _0x5df45a=typeof localStorage>'u'?null:localStorage['getItem'](_0x9919fa(0x488));return _0x5df45a==='1'||_0x5df45a===_0x9919fa(0x45a);}catch{return!0x1;}}function _0x4baece(_0x98d28c,_0x193a10,_0x449f02){const _0x2f7893=_0x2b8d6a;if(!_0xf0b544())return _0x193a10();let _0x4f3478=_0x223249(),_0xbe8833=_0x2f7893(0x4ac)+_0x5c3c33++;_0x1dddf3(_0xbe8833+_0x2f7893(0x1d7));try{return _0x193a10();}finally{let _0x2ab877=_0x223249()-_0x4f3478;_0x1dddf3(_0xbe8833+_0x2f7893(0x2fd)),_0x33e965(_0x98d28c,_0xbe8833+':start',_0xbe8833+_0x2f7893(0x2fd)),_0x8f256b(_0x98d28c,_0x2ab877,_0x449f02);}}function _0x8f256b(_0x2c4370,_0x12c37a,_0x231abb){const _0xb51d2f=_0x2b8d6a;if(!_0xf0b544())return;let _0x38aa26=Math[_0xb51d2f(0x310)](_0x12c37a*0x64)/0x64,_0x17735b=_0x231abb&&Object[_0xb51d2f(0x582)](_0x231abb)['length']?'\x20'+JSON[_0xb51d2f(0x322)](_0x231abb):'';console[_0xb51d2f(0x4da)](_0xb51d2f(0x55f)+_0x2c4370+':\x20'+_0x38aa26+'ms'+_0x17735b);}function _0x223249(){const _0x5c400a=_0x2b8d6a;return typeof performance<'u'&&typeof performance['now']==_0x5c400a(0x2fe)?performance[_0x5c400a(0x208)]():Date[_0x5c400a(0x208)]();}function _0x1dddf3(_0x1f3d87){const _0x29a89d=_0x2b8d6a;try{if(typeof performance<'u'){var _0xbd5deb,_0x1843b1;(_0xbd5deb=(_0x1843b1=performance)[_0x29a89d(0x278)])==null||_0xbd5deb[_0x29a89d(0x29f)](_0x1843b1,_0x1f3d87);}}catch{}}function _0x33e965(_0x4e7b7c,_0x416590,_0x319803){const _0x276116=_0x2b8d6a;try{if(typeof performance<'u'){var _0x1d2bbe,_0x4eec14;(_0x1d2bbe=(_0x4eec14=performance)['measure'])==null||_0x1d2bbe['call'](_0x4eec14,_0x276116(0x55f)+_0x4e7b7c,_0x416590,_0x319803);}}catch{}}function _0x5d33ae(_0x2579b2){const _0x5332da=_0x2b8d6a;var _0xc36c6a;return _0xf0b544()?_0x4baece('IBaseCellData.ensureTableCellLayout',()=>_0x5b7b7f(_0x2579b2),{'tableId':_0x2579b2['id'],'records':Object['keys'](_0x2579b2[_0x5332da(0x38a)]??{})[_0x5332da(0x3d4)],'fields':_0x2579b2[_0x5332da(0x4ab)][_0x5332da(0x3d4)],'hasRecordOrder':!!((_0xc36c6a=_0x2579b2[_0x5332da(0x5ab)])!=null&&_0xc36c6a['length'])}):_0x5b7b7f(_0x2579b2);}function _0x5b7b7f(_0x2bb2ff){const _0x597434=_0x2b8d6a;var _0x12d1eb;let _0x13d7e4=_0x2bb2ff[_0x597434(0x38a)]??{},_0x1b1e99=_0x2bb2ff['fields']??{},_0x5b84a1=((_0x12d1eb=_0x2bb2ff[_0x597434(0x5ab)])==null?void 0x0:_0x12d1eb[_0x597434(0x355)](_0x37bb48=>_0x13d7e4[_0x37bb48]))??[],_0x3c812c=new Set(_0x5b84a1),_0x16179c=[];for(let _0x246724 of Object[_0x597434(0x404)](_0x13d7e4))_0x3c812c[_0x597434(0x244)](_0x246724['id'])||_0x16179c[_0x597434(0x309)](_0x246724);let _0x3542c6=_0x16179c['length']?[..._0x5b84a1,..._0xc11fd4(_0x16179c)]:_0x5b84a1,_0x1d4235=_0x2bb2ff[_0x597434(0x4ab)][_0x597434(0x355)](_0x2ce0fa=>_0x1b1e99[_0x2ce0fa]),_0x305beb={..._0x2bb2ff[_0x597434(0x369)]??{}},_0x519016={..._0x2bb2ff[_0x597434(0x4df)]??{}},_0x44db79={..._0x2bb2ff[_0x597434(0x2a3)]??{}};_0x2bb2ff[_0x597434(0x5ab)]=_0x3542c6,_0x2bb2ff[_0x597434(0x29a)]={},_0x2bb2ff[_0x597434(0x369)]={},_0x2bb2ff[_0x597434(0x1f5)]={},_0x2bb2ff['colId']={},_0x2bb2ff['cellData']={},_0x2bb2ff['resources']={..._0x2bb2ff['resources']??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]={..._0x2bb2ff[_0x597434(0x482)][_0x597434(0x52b)]??{}},_0x2bb2ff[_0x597434(0x482)][_0x597434(0x1e9)]={..._0x2bb2ff['resources'][_0x597434(0x1e9)]??{}};let _0x57e357=_0x2bb2ff[_0x597434(0x29a)],_0x1653e3=_0x2bb2ff[_0x597434(0x369)],_0x1cff1b=_0x2bb2ff[_0x597434(0x1f5)],_0x1ba135=_0x2bb2ff[_0x597434(0x4df)],_0x417ebc=_0x2bb2ff[_0x597434(0x2a3)];return _0x3542c6['forEach']((_0x44cf98,_0x1c7406)=>{_0x57e357[_0x44cf98]=_0x1c7406,_0x1653e3[_0x1c7406]=_0x44cf98;}),_0x1d4235[_0x597434(0x458)]((_0x3f6be3,_0x360d9a)=>{_0x1cff1b[_0x3f6be3]=_0x360d9a,_0x1ba135[_0x360d9a]=_0x3f6be3;}),Object[_0x597434(0x271)](_0x44db79)[_0x597434(0x458)](([_0x3621ec,_0x321afc])=>{const _0x4e4b94=_0x597434;let _0xa27a9e=Number(_0x3621ec),_0x16b79f=_0x305beb[_0xa27a9e]??_0x3542c6[_0xa27a9e],_0x4f4183=_0x16b79f?_0x57e357[_0x16b79f]:void 0x0;_0x4f4183!=null&&(_0x417ebc[_0x4f4183]={..._0x417ebc[_0x4f4183]??{}},Object[_0x4e4b94(0x271)](_0x321afc??{})[_0x4e4b94(0x458)](([_0x1226c7,_0x4ddd94])=>{let _0x1b4815=Number(_0x1226c7),_0x3d6a72=_0x519016[_0x1b4815]??_0x1d4235[_0x1b4815],_0x1aedad=_0x3d6a72?_0x1cff1b[_0x3d6a72]:void 0x0;_0x1aedad!=null&&(_0x417ebc[_0x4f4183][_0x1aedad]=_0x53425a(_0x4ddd94));}));}),Object[_0x597434(0x404)](_0x13d7e4)[_0x597434(0x458)](_0x394434=>{const _0x43da96=_0x597434;let _0x28b990=_0x57e357[_0x394434['id']];_0x28b990!=null&&(_0x394434[_0x43da96(0x404)]={..._0x394434[_0x43da96(0x404)]??{},[_0xcf3cf2[_0x43da96(0x509)]]:_0x394434['id']},_0x417ebc[_0x28b990]={..._0x417ebc[_0x28b990]??{},0x0:{'v':_0x394434['id'],'t':_0xcf3cf2['CellValueType']['STRING']}},Object[_0x43da96(0x271)](_0x394434['values']??{})[_0x43da96(0x458)](([_0x1c3482,_0x2eb1a7])=>{const _0x1151d9=_0x43da96;let _0x342467=_0x1b1e99[_0x1c3482];(_0x342467==null?void 0x0:_0x342467[_0x1151d9(0x1cc)])===_0xcf3cf2[_0x1151d9(0x435)]['Attachment']&&_0x369dce(_0x2bb2ff,_0x394434['id'],_0x1c3482,_0x2eb1a7);let _0x17ca61=_0x1cff1b[_0x1c3482];if(_0x17ca61==null)return;let _0xc41a1e=_0x417ebc[_0x28b990][_0x17ca61];if(_0xc41a1e!=null){_0x1a3619(_0xc41a1e,_0x342467,_0x2eb1a7)&&(_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467));return;}_0x417ebc[_0x28b990][_0x17ca61]=_0x1e0593(_0x2eb1a7,_0x342467);}));}),_0x2bb2ff;}function _0x41664f(_0x511e42,_0x22ad24){const _0x146161=_0x2b8d6a;return _0x511e42['records']=Object[_0x146161(0x3a6)](Object['entries'](_0x511e42[_0x146161(0x38a)])[_0x146161(0x2c4)](([_0x2b4245,_0x1121db])=>[_0x2b4245,{..._0x1121db}])),_0x5d33ae(_0x511e42),Object[_0x146161(0x271)](_0x511e42[_0x146161(0x369)]??{})[_0x146161(0x458)](([_0x401ed9,_0x40cb7c])=>{const _0x56684e=_0x146161;var _0x41c068;let _0x64f0e9=Number(_0x401ed9),_0x25e899=_0x511e42[_0x56684e(0x38a)][_0x40cb7c];_0x25e899&&(_0x25e899['values']={..._0x25e899[_0x56684e(0x404)]??{}},Object[_0x56684e(0x271)](((_0x41c068=_0x511e42[_0x56684e(0x2a3)])==null?void 0x0:_0x41c068[_0x64f0e9])??{})[_0x56684e(0x458)](([_0x2afddc,_0x1916b3])=>{const _0xf1dd67=_0x56684e;var _0x3ac638;let _0x37ef5a=(_0x3ac638=_0x511e42[_0xf1dd67(0x4df)])==null?void 0x0:_0x3ac638[Number(_0x2afddc)];_0x37ef5a&&_0x22ad24&&!_0x22ad24(_0x40cb7c,_0x37ef5a)||(_0x37ef5a===_0xcf3cf2[_0xf1dd67(0x509)]?_0x25e899[_0xf1dd67(0x404)][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]=_0x25e899['id']:_0x37ef5a&&(_0x25e899[_0xf1dd67(0x404)][_0x37ef5a]=_0x128311(_0x1916b3,_0x511e42[_0xf1dd67(0x3b5)][_0x37ef5a],_0x511e42,_0x40cb7c)));}));}),_0x511e42;}function _0x334b3c(_0x3aed72,_0x16fcc9){const _0x19ecf8=_0x2b8d6a;for(let {row:_0x2bf6b1,col:_0x5af1a5}of _0x16fcc9){var _0x56926b,_0x290b5b,_0x431bb8;let _0x3bbdbf=(_0x56926b=_0x3aed72[_0x19ecf8(0x369)])==null?void 0x0:_0x56926b[_0x2bf6b1],_0x3816dd=(_0x290b5b=_0x3aed72[_0x19ecf8(0x4df)])==null?void 0x0:_0x290b5b[_0x5af1a5],_0x1963b5=_0x3bbdbf?_0x3aed72[_0x19ecf8(0x38a)][_0x3bbdbf]:void 0x0;if(!_0x1963b5||!_0x3816dd)continue;if(_0x3816dd===_0xcf3cf2[_0x19ecf8(0x509)]){_0x1963b5[_0x19ecf8(0x404)][_0xcf3cf2[_0x19ecf8(0x509)]]=_0x1963b5['id'];continue;}let _0x42d587=(_0x431bb8=_0x3aed72[_0x19ecf8(0x2a3)])==null||(_0x431bb8=_0x431bb8[_0x2bf6b1])==null?void 0x0:_0x431bb8[_0x5af1a5];(_0x42d587!=null||Object[_0x19ecf8(0x3b1)]['hasOwnProperty'][_0x19ecf8(0x29f)](_0x1963b5['values']??{},_0x3816dd))&&(_0x1963b5['values']={..._0x1963b5['values']??{}},_0x1963b5[_0x19ecf8(0x404)][_0x3816dd]=_0x128311(_0x42d587,_0x3aed72[_0x19ecf8(0x3b5)][_0x3816dd],_0x3aed72,_0x3bbdbf));}return _0x3aed72;}function _0x168231(_0x337e2d,_0xd7c1c4,_0x2e7972){const _0x2e2130=_0x2b8d6a;var _0xf8a596,_0x22f757,_0x555b33,_0x57c614,_0x46feb8,_0x44f8ca;let _0x44eebb=(_0xf8a596=_0x337e2d[_0x2e2130(0x29a)])==null?void 0x0:_0xf8a596[_0xd7c1c4],_0xdfca8b=(_0x22f757=_0x337e2d[_0x2e2130(0x1f5)])==null?void 0x0:_0x22f757[_0x2e7972];if(_0x44eebb!=null&&_0xdfca8b!=null&&((_0x555b33=_0x337e2d[_0x2e2130(0x369)])==null?void 0x0:_0x555b33[_0x44eebb])===_0xd7c1c4&&((_0x57c614=_0x337e2d[_0x2e2130(0x4df)])==null?void 0x0:_0x57c614[_0xdfca8b])===_0x2e7972)return{'row':_0x44eebb,'col':_0xdfca8b};let _0xc59419=_0x5d33ae(_0x337e2d),_0x10cc92=(_0x46feb8=_0xc59419[_0x2e2130(0x29a)])==null?void 0x0:_0x46feb8[_0xd7c1c4],_0x3dc891=(_0x44f8ca=_0xc59419[_0x2e2130(0x1f5)])==null?void 0x0:_0x44f8ca[_0x2e7972];return _0x10cc92==null||_0x3dc891==null?null:{'row':_0x10cc92,'col':_0x3dc891};}function _0x4c2c6c(_0x3361ae,_0x17f667,_0x57b996){var _0x46e984;let _0x314e79=_0x168231(_0x3361ae,_0x17f667,_0x57b996);if(_0x314e79)return(_0x46e984=_0x3361ae['cellData'])==null||(_0x46e984=_0x46e984[_0x314e79['row']])==null?void 0x0:_0x46e984[_0x314e79['col']];}function _0x4bd91a(_0x1f3390,_0x265a80,_0x34158c){const _0x56b69a=_0x2b8d6a;var _0x580de0;let _0x5e93df=_0x4c2c6c(_0x1f3390,_0x265a80,_0x34158c),_0x1138c8=_0x1f3390[_0x56b69a(0x3b5)][_0x34158c];if((_0x1138c8==null?void 0x0:_0x1138c8[_0x56b69a(0x1cc)])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x448)]){var _0x3b7851;return _0xb305b4(_0x1f3390,_0x265a80,_0x34158c)??_0x22fa67((_0x3b7851=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x3b7851=_0x3b7851[_0x56b69a(0x404)])==null?void 0x0:_0x3b7851[_0x34158c]);}if(_0x46ad53(_0x1138c8)||_0x58b029(_0x1138c8)||(_0x1138c8==null?void 0x0:_0x1138c8['type'])===_0xcf3cf2[_0x56b69a(0x435)][_0x56b69a(0x24b)]){var _0x424aeb;let _0x497995=(_0x424aeb=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x424aeb=_0x424aeb['values'])==null?void 0x0:_0x424aeb[_0x34158c];return _0x497995!=null&&_0x497995!==''?_0x47b201(_0x497995,_0x1138c8):_0x128311(_0x5e93df,_0x1138c8,_0x1f3390,_0x265a80);}return _0x5e93df&&Object[_0x56b69a(0x3b1)][_0x56b69a(0x1ec)]['call'](_0x5e93df,'v')?_0x5e93df['v']??null:((_0x580de0=_0x1f3390[_0x56b69a(0x38a)][_0x265a80])==null||(_0x580de0=_0x580de0[_0x56b69a(0x404)])==null?void 0x0:_0x580de0[_0x34158c])??null;}function _0x1926ea(_0x3a9b7e,_0x596b41,_0x5f3b2c){const _0x33142b=_0x2b8d6a;var _0x31f0e7;let _0x1e2229=_0x4c2c6c(_0x3a9b7e,_0x596b41,_0x5f3b2c);if(_0x1e2229&&Object[_0x33142b(0x3b1)][_0x33142b(0x1ec)][_0x33142b(0x29f)](_0x1e2229,'v'))return _0x1e2229['v']??null;let _0x214a4f=_0x3a9b7e[_0x33142b(0x3b5)][_0x5f3b2c];return _0x1e0593(((_0x31f0e7=_0x3a9b7e[_0x33142b(0x38a)][_0x596b41])==null||(_0x31f0e7=_0x31f0e7[_0x33142b(0x404)])==null?void 0x0:_0x31f0e7[_0x5f3b2c])??null,_0x214a4f)['v']??null;}function _0x1e0593(_0x174a5e,_0x4dce91){const _0x27df23=_0x2b8d6a;if(_0x34f1bc(_0x174a5e))return(_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2['BaseFieldType']['Attachment']?{..._0x174a5e,'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']}:_0x53425a(_0x174a5e);if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)][_0x27df23(0x448)])return{'v':'','t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if(_0x58b029(_0x4dce91)){let _0x3128d3=_0x33ceed(_0x174a5e);return{'v':_0x3128d3,'t':_0x166a09(_0x3128d3)};}if(_0x46ad53(_0x4dce91))return{'v':_0xade113(_0x174a5e)[_0x27df23(0x600)](',\x20'),'t':_0xcf3cf2[_0x27df23(0x501)]['STRING']};if((_0x4dce91==null?void 0x0:_0x4dce91[_0x27df23(0x1cc)])===_0xcf3cf2[_0x27df23(0x435)]['Link']&&_0x174a5e&&typeof _0x174a5e==_0x27df23(0x240)&&!Array[_0x27df23(0x2a1)](_0x174a5e)){let _0x4ca1fe=_0x174a5e;return{'v':String(_0x4ca1fe[_0x27df23(0x395)]??_0x4ca1fe[_0x27df23(0x2ff)]??''),'t':_0xcf3cf2[_0x27df23(0x501)][_0x27df23(0x516)]};}return _0x174a5e===null||typeof _0x174a5e==_0x27df23(0x3ea)||typeof _0x174a5e==_0x27df23(0x202)||typeof _0x174a5e==_0x27df23(0x511)?{'v':_0x174a5e,'t':_0x166a09(_0x174a5e)}:{'v':null,'t':null};}function _0x53425a(_0x337ee7){let _0x442327=_0x1b16c2(_0x337ee7['t'],_0x337ee7['v']);if(_0x442327===void 0x0){let {t:_0x3b7b73,..._0xca7f2e}=_0x337ee7;return _0xca7f2e;}return{..._0x337ee7,'t':_0x442327};}function _0x128311(_0x3dfae5,_0x19e64f,_0x352b84,_0x507b61){const _0x114c8b=_0x2b8d6a;if(!_0x3dfae5)return null;if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2[_0x114c8b(0x435)][_0x114c8b(0x448)])return _0x352b84&&_0x507b61?_0xb305b4(_0x352b84,_0x507b61,_0x19e64f['id'])??[]:[];if(_0x46ad53(_0x19e64f))return _0xade113(_0x3dfae5['v']);if((_0x19e64f==null?void 0x0:_0x19e64f[_0x114c8b(0x1cc)])===_0xcf3cf2['BaseFieldType'][_0x114c8b(0x24b)]&&_0x352b84&&_0x507b61){var _0x51aefd;let _0x4b4b3e=(_0x51aefd=_0x352b84[_0x114c8b(0x38a)][_0x507b61])==null||(_0x51aefd=_0x51aefd[_0x114c8b(0x404)])==null?void 0x0:_0x51aefd[_0x19e64f['id']];if(_0x4b4b3e&&typeof _0x4b4b3e==_0x114c8b(0x240)&&!Array[_0x114c8b(0x2a1)](_0x4b4b3e))return _0x4b4b3e;}return Object['prototype'][_0x114c8b(0x1ec)][_0x114c8b(0x29f)](_0x3dfae5,'v')?_0x3dfae5['v']??null:null;}function _0x566985(_0x47e1d,_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1){const _0x498027=_0x2b8d6a;return(_0x4eb14d==null?void 0x0:_0x4eb14d[_0x498027(0x1cc)])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x448)]?_0x22fa67(_0x47e1d):_0x58b029(_0x4eb14d)?_0x33ceed(_0x47e1d):_0x46ad53(_0x4eb14d)?_0xade113(_0x47e1d):(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&(_0x47e1d==null||_0x47e1d==='')?null:(_0x4eb14d==null?void 0x0:_0x4eb14d['type'])===_0xcf3cf2[_0x498027(0x435)][_0x498027(0x24b)]&&_0x47e1d&&typeof _0x47e1d=='object'&&!Array[_0x498027(0x2a1)](_0x47e1d)&&!_0x34f1bc(_0x47e1d)?_0x47e1d:_0x128311(_0x519f3d,_0x4eb14d,_0x3d6d21,_0x3507a1);}function _0x34f1bc(_0x44853f){const _0x1080a3=_0x2b8d6a;return!!_0x44853f&&typeof _0x44853f==_0x1080a3(0x240)&&(Object['prototype'][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'v')||Object[_0x1080a3(0x3b1)][_0x1080a3(0x1ec)][_0x1080a3(0x29f)](_0x44853f,'t')||Object['prototype'][_0x1080a3(0x1ec)]['call'](_0x44853f,'p')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'f')||Object[_0x1080a3(0x3b1)]['hasOwnProperty'][_0x1080a3(0x29f)](_0x44853f,'si'));}function _0x1d1617(_0xf3406e,_0x5d29ec){return _0xf3406e+'\x1f'+_0x5d29ec;}function _0x369dce(_0x4fc72e,_0x3131d8,_0x32228e,_0x5418c5){const _0x3685cc=_0x2b8d6a;let _0x274a5e=_0x22fa67(_0x5418c5);_0x4fc72e[_0x3685cc(0x482)]={..._0x4fc72e[_0x3685cc(0x482)]??{}},_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)]??{}},_0x4fc72e[_0x3685cc(0x482)]['attachments']={..._0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x1e9)]??{}};let _0x2111b5=_0x1d1617(_0x32228e,_0x3131d8),_0x35f797=[];for(let _0x46e033=0x0;_0x46e033<_0x274a5e['length'];_0x46e033++){if(!(_0x46e033 in _0x274a5e))continue;let _0x2b785d=_0x274a5e[_0x46e033],_0x5e1dc0=String(_0x2b785d['id']??_0x2111b5+'\x1f'+_0x46e033),_0x5151dc={..._0x2b785d,'id':_0x5e1dc0};_0x4fc72e[_0x3685cc(0x482)]['attachments'][_0x5e1dc0]=_0x5151dc,_0x35f797[_0x3685cc(0x309)](_0x5e1dc0);}_0x4fc72e[_0x3685cc(0x482)][_0x3685cc(0x52b)][_0x2111b5]=_0x35f797;}function _0xb305b4(_0x219a3a,_0xb236ee,_0x4de306){const _0x3ac82e=_0x2b8d6a;var _0xd02fd1;let _0x5514ec=_0x1d1617(_0x4de306,_0xb236ee),_0x345884=(_0xd02fd1=_0x219a3a['resources'])==null||(_0xd02fd1=_0xd02fd1[_0x3ac82e(0x52b)])==null?void 0x0:_0xd02fd1[_0x5514ec];if(!_0x345884)return null;let _0x404c52=[];for(let _0x16457e=0x0;_0x16457e<_0x345884['length'];_0x16457e++){var _0x506568;if(!(_0x16457e in _0x345884))continue;let _0x283c34=(_0x506568=_0x219a3a['resources'])==null||(_0x506568=_0x506568[_0x3ac82e(0x1e9)])==null?void 0x0:_0x506568[_0x345884[_0x16457e]];_0x283c34&&_0x404c52[_0x3ac82e(0x309)]({..._0x283c34});}return _0x404c52;}function _0x22fa67(_0x200d18){const _0x555247=_0x2b8d6a;if(_0x200d18==null||_0x200d18===''||_0x34f1bc(_0x200d18)&&!('id'in _0x200d18)&&!(_0x555247(0x456)in _0x200d18))return[];let _0x3465d4=Array['isArray'](_0x200d18)?_0x200d18:[_0x200d18],_0x39c6d4=[];for(let _0x5af48f=0x0;_0x5af48f<_0x3465d4[_0x555247(0x3d4)];_0x5af48f++){if(!(_0x5af48f in _0x3465d4))continue;let _0x22aaa9=_0x3465d4[_0x5af48f],_0x352cda=_0x22aaa9&&typeof _0x22aaa9==_0x555247(0x240)?{..._0x22aaa9}:{'id':'attachment-'+_0x5af48f,'name':String(_0x22aaa9)};Object[_0x555247(0x582)](_0x352cda)[_0x555247(0x3d4)]>0x0&&_0x39c6d4[_0x555247(0x309)](_0x352cda);}return _0x39c6d4;}function _0x47b201(_0x418132,_0x39ae71){const _0x117602=_0x2b8d6a;return(_0x39ae71==null?void 0x0:_0x39ae71[_0x117602(0x1cc)])===_0xcf3cf2[_0x117602(0x435)][_0x117602(0x448)]?_0x22fa67(_0x418132):_0x58b029(_0x39ae71)?_0x33ceed(_0x418132):_0x46ad53(_0x39ae71)?_0xade113(_0x418132):_0x418132;}function _0x1a3619(_0x10f56b,_0x41d6be,_0xd4fc51){const _0x112a11=_0x2b8d6a;return(_0x41d6be==null?void 0x0:_0x41d6be[_0x112a11(0x1cc)])===_0xcf3cf2[_0x112a11(0x435)][_0x112a11(0x448)]?_0x10f56b['v']!=='':_0x58b029(_0x41d6be)?_0x10f56b['v']!==_0x33ceed(_0xd4fc51):_0x46ad53(_0x41d6be)?Array[_0x112a11(0x2a1)](_0xd4fc51)&&(_0x10f56b['v']==null||_0x10f56b['v']===''):!0x1;}function _0x46ad53(_0x5af1e2){const _0x374283=_0x2b8d6a;return(_0x5af1e2==null?void 0x0:_0x5af1e2[_0x374283(0x1cc)])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x336)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)][_0x374283(0x3fa)]||(_0x5af1e2==null?void 0x0:_0x5af1e2['type'])===_0xcf3cf2[_0x374283(0x435)]['Person']&&_0x5af1e2[_0x374283(0x5a3)]['allowMultiple']===!0x0;}function _0x58b029(_0x106bf2){const _0x5389d2=_0x2b8d6a;return(_0x106bf2==null?void 0x0:_0x106bf2['type'])===_0xcf3cf2['BaseFieldType'][_0x5389d2(0x3d5)]&&_0x106bf2['config'][_0x5389d2(0x4ee)]!==!0x0;}function _0x33ceed(_0x5181d2){let _0x1efb0b=_0x34f1bc(_0x5181d2)?_0x5181d2['v']:_0x5181d2,_0x384698=Array['isArray'](_0x1efb0b)?_0x1efb0b[0x0]:_0x1efb0b;return _0x384698==null||_0x384698===''?null:String(_0x384698);}function _0xade113(_0x265ac1){const _0xeeb6e1=_0x2b8d6a;if(_0x265ac1==null||_0x265ac1==='')return[];let _0x3f69d1=[];if(Array['isArray'](_0x265ac1)){for(let _0x4c180a=0x0;_0x4c180a<_0x265ac1[_0xeeb6e1(0x3d4)];_0x4c180a++){if(!(_0x4c180a in _0x265ac1))continue;let _0x25ad72=_0x58cf7b(_0x265ac1[_0x4c180a]);_0x25ad72&&_0x3f69d1[_0xeeb6e1(0x309)](_0x25ad72);}return _0x3f69d1;}for(let _0x4b493a of String(_0x265ac1)[_0xeeb6e1(0x339)](',')){let _0x5a241d=_0x4b493a['trim']();_0x5a241d&&_0x3f69d1[_0xeeb6e1(0x309)](_0x5a241d);}return _0x3f69d1;}function _0x58cf7b(_0xa1f55e){const _0xbea3bd=_0x2b8d6a;if(_0xa1f55e==null)return'';if(typeof _0xa1f55e=='string'||typeof _0xa1f55e=='number'||typeof _0xa1f55e==_0xbea3bd(0x511))return String(_0xa1f55e);if(typeof _0xa1f55e=='object'){let _0x42d1cd=_0xa1f55e;return String(_0x42d1cd['id']??_0x42d1cd[_0xbea3bd(0x456)]??_0x42d1cd[_0xbea3bd(0x395)]??'');}return String(_0xa1f55e);}function _0x166a09(_0x4793f3){const _0x312a4d=_0x2b8d6a;return _0x4793f3==null?null:typeof _0x4793f3==_0x312a4d(0x202)?_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x3b7)]:typeof _0x4793f3=='boolean'?_0xcf3cf2['CellValueType'][_0x312a4d(0x508)]:_0xcf3cf2[_0x312a4d(0x501)][_0x312a4d(0x516)];}function _0xc11fd4(_0x557b6d){const _0x16f4ca=_0x2b8d6a;_0x557b6d['sort']((_0x5e0195,_0x5ccbdc)=>_0x5e0195['orderKey'][_0x16f4ca(0x1f9)](_0x5ccbdc['orderKey']));let _0x594dce=[];for(let _0xab0d70 of _0x557b6d)_0x594dce[_0x16f4ca(0x309)](_0xab0d70['id']);return _0x594dce;}function _0x1b16c2(_0x333ff1,_0x11bdd9){const _0x3e3617=_0x2b8d6a;return _0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x516)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3b7)]||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)]['BOOLEAN']||_0x333ff1===_0xcf3cf2[_0x3e3617(0x501)][_0x3e3617(0x3da)]||_0x333ff1==null?_0x333ff1:_0x166a09(_0x11bdd9??null);}function _0x5dc19d(_0xc53870){const _0x4760c4=_0x2b8d6a;let _0x593a42=null;for(let _0x2070f2 of _0xc53870)_0x593a42=_0x593a42===null?_0x2070f2:_0xcf3cf2[_0x4760c4(0x597)][_0x4760c4(0x1cc)][_0x4760c4(0x4b7)](_0x593a42,_0x2070f2);return _0x593a42;}var _0x3c7454=class _0x1f0509{static[_0x2b8d6a(0x39a)](_0x557095,_0xe346d8){const _0x40fa63=_0x2b8d6a;let _0x192ab5=[];for(let _0x1b0ed3 of _0xe346d8){let _0x513a0c=_0x51360c(_0x1b0ed3);if(!_0x513a0c||_0x513a0c[_0x40fa63(0x20d)]!==_0x557095['id'])return null;_0x192ab5[_0x40fa63(0x309)](_0x513a0c['op']);}try{let _0x610ec2=_0x5dc19d(_0x192ab5);return _0x610ec2===null?_0x557095:new _0x1f0509()[_0x40fa63(0x54e)](_0x557095,_0x610ec2);}catch{return null;}}[_0x2b8d6a(0x54e)](_0x3afadb,_0x418220){const _0x438de0=_0x2b8d6a;let _0x287e00=this[_0x438de0(0x235)](_0x418220),_0x14fb66=_0x4baece(_0x438de0(0x3c4),()=>_0x1a8ede(_0x3afadb,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x238bcd=_0x4baece('BaseJson1.json1Apply',()=>_0xcf3cf2['JSON1'][_0x438de0(0x1cc)][_0x438de0(0x366)](_0x14fb66,_0x418220),{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0xdf98e2=_0x23998e(_0x238bcd,_0x287e00);return _0x4baece('BaseJson1.syncCellInvalidations',()=>_0x46a59a(_0x238bcd,_0x287e00),{'invalidations':_0x287e00[_0x438de0(0x3d4)]})?(_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd):(_0x4baece('BaseJson1.normalizeTables',()=>{const _0x342fe9=_0x438de0;this['_getTablesToNormalize'](_0x238bcd,_0x287e00)[_0x342fe9(0x458)](_0x2e9e50=>{const _0x39e29b=_0x342fe9;let _0x78ca79=_0x287e00['filter'](_0x17b2a3=>_0x17b2a3['tableId']===_0x2e9e50['id']),_0x4c3cd0=_0x78ca79[_0x39e29b(0x3d4)]>0x0&&_0x78ca79[_0x39e29b(0x320)](_0x548fe9=>_0x548fe9[_0x39e29b(0x2e7)]==='field'||_0x548fe9[_0x39e29b(0x2e7)]==='view'||_0x548fe9[_0x39e29b(0x2e7)]===_0x39e29b(0x4c1)||_0x548fe9[_0x39e29b(0x2e7)]==='record')?new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x5bb2fd=>{const _0x11176b=_0x39e29b;var _0x27d833;if(_0x5bb2fd[_0x11176b(0x2e7)]!==_0x11176b(0x48c)||!_0x5bb2fd[_0x11176b(0x580)])return[];let _0x5d3d53=(_0x27d833=_0x3afadb[_0x11176b(0x3d7)][_0x2e9e50['id']])==null?void 0x0:_0x27d833['fields'][_0x5bb2fd[_0x11176b(0x580)]],_0xfe8d12=_0x2e9e50[_0x11176b(0x3b5)][_0x5bb2fd[_0x11176b(0x580)]];return(_0x5d3d53==null?void 0x0:_0x5d3d53['type'])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x1cc)])||(_0x5d3d53==null?void 0x0:_0x5d3d53['config'][_0x11176b(0x4ee)])!==(_0xfe8d12==null?void 0x0:_0xfe8d12[_0x11176b(0x5a3)][_0x11176b(0x4ee)])?[_0x5bb2fd['fieldId']]:[];})):void 0x0,_0x4071df=new Set(_0x78ca79[_0x39e29b(0x5d0)](_0x38a6f8=>{const _0x299952=_0x39e29b;var _0x1bf97e,_0x2266e2;return _0x38a6f8[_0x299952(0x2e7)]!==_0x299952(0x4c1)||_0x38a6f8[_0x299952(0x53e)]==null||_0x38a6f8[_0x299952(0x45e)]==null?[]:[JSON[_0x299952(0x322)]([(_0x1bf97e=_0x2e9e50[_0x299952(0x369)])==null?void 0x0:_0x1bf97e[_0x38a6f8[_0x299952(0x53e)]],(_0x2266e2=_0x2e9e50['colId'])==null?void 0x0:_0x2266e2[_0x38a6f8[_0x299952(0x45e)]]])];}));_0x41664f(_0x2e9e50,_0x4c3cd0?(_0x15b6be,_0x525394)=>_0x4c3cd0[_0x39e29b(0x244)](_0x525394)||_0x4071df[_0x39e29b(0x244)](JSON[_0x39e29b(0x322)]([_0x15b6be,_0x525394])):void 0x0);});},{'invalidations':_0x287e00[_0x438de0(0x3d4)]}),_0x55bcfe(_0x238bcd,_0xdf98e2),_0x238bcd);}[_0x2b8d6a(0x5a5)](_0x1fc2f1,_0x238587){const _0x43db90=_0x2b8d6a;return _0xcf3cf2['JSON1'][_0x43db90(0x1cc)][_0x43db90(0x449)](_0x238587,_0x1fc2f1);}[_0x2b8d6a(0x235)](_0x5474c8){const _0x1c2d96=_0x2b8d6a;let _0x12a062=_0x2c1adc(_0x5474c8);return _0x12a062[_0x1c2d96(0x3d4)]?_0x46dbc1(_0x12a062['flatMap'](_0x2161e1=>this[_0x1c2d96(0x235)](_0x2161e1))):_0x53868f(_0x5474c8);}[_0x2b8d6a(0x3e8)](_0x9e8287,_0x136ee2){const _0xed62c6=_0x2b8d6a;let _0x10136e=_0x136ee2['filter'](_0x89e231=>_0x89e231[_0xed62c6(0x2e7)]!==_0xed62c6(0x2e6));return _0x10136e[_0xed62c6(0x3d4)]?_0x10136e['some'](_0x344bf1=>!_0x344bf1['tableId'])?Object[_0xed62c6(0x404)](_0x9e8287[_0xed62c6(0x3d7)]??{}):Array[_0xed62c6(0x1ea)](new Set(_0x10136e[_0xed62c6(0x2c4)](_0x38d7c9=>_0x38d7c9[_0xed62c6(0x3e2)])))[_0xed62c6(0x5d0)](_0x3c1888=>{const _0x52714=_0xed62c6;var _0x256301;let _0x340e22=(_0x256301=_0x9e8287[_0x52714(0x3d7)])==null?void 0x0:_0x256301[_0x3c1888];return _0x340e22?[_0x340e22]:[];}):[];}};function _0x51360c(_0x1437e8){const _0x178e99=_0x2b8d6a;let _0x2d9b75=_0x1437e8[_0x178e99(0x282)];return _0x1437e8['id']!==_0x178e99(0x304)||typeof _0x2d9b75!=_0x178e99(0x240)||!_0x2d9b75||!('unitId'in _0x2d9b75)||typeof _0x2d9b75['unitId']!=_0x178e99(0x3ea)||!('op'in _0x2d9b75)||!Array[_0x178e99(0x2a1)](_0x2d9b75['op'])?null:{'unitId':_0x2d9b75['unitId'],'op':_0x2d9b75['op']};}function _0x46a59a(_0xcf9089,_0x5c69b9){const _0x4b7a74=_0x2b8d6a;if(!_0x5c69b9[_0x4b7a74(0x3d4)]||_0x5c69b9[_0x4b7a74(0x20f)](_0x2da1af=>_0x2da1af['reason']!==_0x4b7a74(0x4c1)))return!0x1;let _0x129db4=new Map();for(let _0x48808c of _0x5c69b9){if(!_0x48808c[_0x4b7a74(0x3e2)]||_0x48808c[_0x4b7a74(0x53e)]==null||_0x48808c[_0x4b7a74(0x45e)]==null)continue;let _0x485706=_0x129db4['get'](_0x48808c[_0x4b7a74(0x3e2)])??[];_0x485706[_0x4b7a74(0x309)]({'row':_0x48808c['row'],'col':_0x48808c[_0x4b7a74(0x45e)]}),_0x129db4['set'](_0x48808c[_0x4b7a74(0x3e2)],_0x485706);}return _0x129db4['forEach']((_0x9da68e,_0x9a4e28)=>{var _0x3a9a19;let _0x8a9937=(_0x3a9a19=_0xcf9089['tables'])==null?void 0x0:_0x3a9a19[_0x9a4e28];_0x8a9937&&_0x334b3c(_0x8a9937,_0x9da68e);}),!0x0;}function _0x23998e(_0x52b2c3,_0x536a4d){const _0x126ba4=_0x2b8d6a;let _0x51baf0=new Set();return _0x536a4d[_0x126ba4(0x5d0)](_0x39f49b=>{const _0x54e272=_0x126ba4;var _0x1110ce;if(!_0x39f49b[_0x54e272(0x3e2)]||!_0x39f49b[_0x54e272(0x57e)]||!_0x39f49b[_0x54e272(0x580)])return[];let _0x3dc091=_0x39f49b[_0x54e272(0x3e2)]+'\x1f'+_0x39f49b[_0x54e272(0x57e)]+'\x1f'+_0x39f49b[_0x54e272(0x580)];if(_0x51baf0['has'](_0x3dc091))return[];_0x51baf0['add'](_0x3dc091);let _0xc2b79=(_0x1110ce=_0x52b2c3['tables'][_0x39f49b['tableId']])==null||(_0x1110ce=_0x1110ce['records'][_0x39f49b[_0x54e272(0x57e)]])==null?void 0x0:_0x1110ce[_0x54e272(0x404)];return _0xc2b79?[{'tableId':_0x39f49b['tableId'],'recordId':_0x39f49b['recordId'],'fieldId':_0x39f49b['fieldId'],'exists':Object['prototype'][_0x54e272(0x1ec)]['call'](_0xc2b79,_0x39f49b[_0x54e272(0x580)]),'value':_0xc2b79[_0x39f49b['fieldId']]}]:[];});}function _0x55bcfe(_0x34a936,_0x66dc02){const _0x54203b=_0x2b8d6a;_0x66dc02[_0x54203b(0x458)](_0x193594=>{const _0x26788a=_0x54203b;var _0x3e4756;let _0x250e93=(_0x3e4756=_0x34a936[_0x26788a(0x3d7)][_0x193594[_0x26788a(0x3e2)]])==null||(_0x3e4756=_0x3e4756['records'][_0x193594['recordId']])==null?void 0x0:_0x3e4756[_0x26788a(0x404)];_0x250e93&&(_0x193594[_0x26788a(0x224)]?_0x250e93[_0x193594[_0x26788a(0x580)]]=_0x193594[_0x26788a(0x348)]:delete _0x250e93[_0x193594['fieldId']]);});}function _0x53868f(_0x19c5a1){const _0x42313b=_0x2b8d6a;if(!Array['isArray'](_0x19c5a1)||_0x19c5a1[_0x42313b(0x3d4)]<0x2)return[{'tableId':'','reason':_0x42313b(0x300)}];let _0x59246a=_0x19c5a1,_0x9902b4=_0x59246a[_0x42313b(0x267)](_0x42313b(0x3d7));return _0x9902b4===-0x1||typeof _0x59246a[_0x9902b4+0x1]!=_0x42313b(0x3ea)?_0x59246a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x42313b(0x300)}]:_0x31bf52(_0x59246a,_0x9902b4,String(_0x59246a[_0x9902b4+0x1]));}function _0x31bf52(_0x2fa8cd,_0x146418,_0x50c0d7){const _0x5e7485=_0x2b8d6a;let _0x30edaa=_0x2fa8cd[_0x146418+0x2];return _0x30edaa===_0x5e7485(0x38a)&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?_0x224485(_0x2fa8cd,_0x146418,_0x50c0d7,String(_0x2fa8cd[_0x146418+0x3])):_0x30edaa===_0x5e7485(0x2a3)&&_0x2fa8cd[_0x146418+0x3]!=null&&_0x2fa8cd[_0x146418+0x4]!=null?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1),'row':Number(_0x2fa8cd[_0x146418+0x3]),'column':Number(_0x2fa8cd[_0x146418+0x4])}]:_0x30edaa===_0x5e7485(0x3b5)&&typeof _0x2fa8cd[_0x146418+0x3]=='string'?[{'tableId':_0x50c0d7,'reason':'field','fieldId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa==='fieldOrder'?[{'tableId':_0x50c0d7,'reason':'field'}]:_0x30edaa==='recordOrder'?[{'tableId':_0x50c0d7,'reason':'record'}]:_0x30edaa==='views'&&typeof _0x2fa8cd[_0x146418+0x3]==_0x5e7485(0x3ea)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6),'viewId':String(_0x2fa8cd[_0x146418+0x3])}]:_0x30edaa===_0x5e7485(0x49a)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x2e6)}]:_0x30edaa===_0x5e7485(0x482)?[{'tableId':_0x50c0d7,'reason':_0x5e7485(0x4c1)}]:[{'tableId':_0x50c0d7,'reason':_0x30edaa===void 0x0?'table':_0x5e7485(0x300)}];}function _0x224485(_0x33beb1,_0x196c59,_0x44ddb7,_0x4d7eac){const _0x291b77=_0x2b8d6a;return _0x33beb1[_0x196c59+0x4]===_0x291b77(0x404)&&typeof _0x33beb1[_0x196c59+0x5]==_0x291b77(0x3ea)?[{'tableId':_0x44ddb7,'reason':_0x291b77(0x4c1),'recordId':_0x4d7eac,'fieldId':String(_0x33beb1[_0x196c59+0x5])}]:_0x33beb1[_0x196c59+0x4]===_0x291b77(0x5b8)||_0x33beb1[_0x196c59+0x4]===_0x291b77(0x349)?[]:[{'tableId':_0x44ddb7,'reason':'record','recordId':_0x4d7eac}];}function _0x2c1adc(_0x18005e){const _0x47925b=_0x2b8d6a;if(!Array[_0x47925b(0x2a1)](_0x18005e))return[];let _0x2fd4bc=_0x18005e[_0x47925b(0x355)](Array[_0x47925b(0x2a1)]);if(_0x2fd4bc[_0x47925b(0x3d4)]>0x1&&_0x2fd4bc['length']===_0x18005e[_0x47925b(0x3d4)])return _0x2fd4bc;let _0x2ddb6a=_0x18005e[_0x47925b(0x45c)](Array['isArray']);if(_0x2ddb6a>0x0&&_0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x320)](Array[_0x47925b(0x2a1)])){let _0x38ff2a=_0x18005e['slice'](0x0,_0x2ddb6a);return _0x18005e[_0x47925b(0x3de)](_0x2ddb6a)[_0x47925b(0x2c4)](_0x1b79b2=>[..._0x38ff2a,..._0x1b79b2]);}let _0x2e90e1=_0x18005e['indexOf'](_0x47925b(0x3d7));if(_0x2e90e1===-0x1||typeof _0x18005e[_0x2e90e1+0x1]!='string')return[];let _0x2aaa5d=String(_0x18005e[_0x2e90e1+0x1]),_0x463a31=_0x18005e['slice'](_0x2e90e1+0x2)['filter'](Array[_0x47925b(0x2a1)]);return _0x463a31[_0x47925b(0x3d4)]<=0x1?[]:_0x463a31[_0x47925b(0x2c4)](_0x501ad7=>[_0x47925b(0x3d7),_0x2aaa5d,..._0x501ad7]);}function _0x46dbc1(_0x230282){const _0x38894a=_0x2b8d6a;let _0x4522ea=new Set();return _0x230282[_0x38894a(0x355)](_0x270237=>{const _0x543bd7=_0x38894a;let _0x2e0559=JSON['stringify'](_0x270237);return!_0x4522ea[_0x543bd7(0x244)](_0x2e0559)&&(_0x4522ea[_0x543bd7(0x1d6)](_0x2e0559),!0x0);});}function _0xb79131(_0x2e422e){const _0x127b56=_0x2b8d6a;return _0xcf3cf2['Tools'][_0x127b56(0x578)](_0x2e422e);}function _0x1a8ede(_0x5392d6,_0x49fb00){const _0x41dbf0=_0x2b8d6a;let _0x3fb84e=_0x1199ad(_0x49fb00);if(!_0x3fb84e[_0x41dbf0(0x3d4)])return _0xb79131(_0x5392d6);let _0x431dfa=_0x1a7260(_0x5392d6),_0x4dca11=new Set();for(let _0x52c65b of _0x3fb84e)_0x4415dc(_0x431dfa,_0x52c65b,_0x4dca11);return _0x431dfa;}function _0x1199ad(_0x277c7){let _0x538961=[];return _0x3da892(_0x277c7,[],_0x538961),_0x538961;}function _0x3da892(_0xcbabc8,_0x46ddc6,_0x5216c6){const _0xde7e6f=_0x2b8d6a;if(!Array[_0xde7e6f(0x2a1)](_0xcbabc8))return;let _0x1e987b=[];for(let _0x4c2628 of _0xcbabc8){if(Array[_0xde7e6f(0x2a1)](_0x4c2628)){_0x3da892(_0x4c2628,[..._0x46ddc6,..._0x1e987b],_0x5216c6);continue;}if(_0x22991c(_0x4c2628)){_0x5216c6[_0xde7e6f(0x309)]([..._0x46ddc6,..._0x1e987b]);continue;}(typeof _0x4c2628==_0xde7e6f(0x3ea)||typeof _0x4c2628==_0xde7e6f(0x202))&&_0x1e987b[_0xde7e6f(0x309)](_0x4c2628);}}function _0x22991c(_0x27855e){if(!_0x27855e||typeof _0x27855e!='object'||Array['isArray'](_0x27855e))return!0x1;let _0x34ed8f=_0x27855e;return'i'in _0x34ed8f||'r'in _0x34ed8f||'p'in _0x34ed8f||'d'in _0x34ed8f||'es'in _0x34ed8f||'ena'in _0x34ed8f||'et'in _0x34ed8f;}function _0x4415dc(_0x24823c,_0x1f2200,_0x3cc816){const _0x42b31f=_0x2b8d6a;let _0x48ce01=_0x24823c,_0x4b75d0=[];for(let _0x52b17b=0x0;_0x52b17b<_0x1f2200['length']-0x1;_0x52b17b++){let _0x9e9747=_0x1f2200[_0x52b17b];_0x4b75d0[_0x42b31f(0x309)](_0x9e9747);let _0x54552b=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x54552b))return;let _0x50f6fc=JSON['stringify'](_0x4b75d0);_0x3cc816[_0x42b31f(0x244)](_0x50f6fc)||(_0x367330(_0x48ce01,_0x9e9747,_0x1a7260(_0x54552b)),_0x3cc816[_0x42b31f(0x1d6)](_0x50f6fc));let _0x5cdf91=_0x513162(_0x48ce01,_0x9e9747);if(!_0xbd19eb(_0x5cdf91))return;_0x48ce01=_0x5cdf91;}}function _0x513162(_0x4c045e,_0xecd2b1){const _0x268125=_0x2b8d6a;return Array[_0x268125(0x2a1)](_0x4c045e)?typeof _0xecd2b1==_0x268125(0x202)?_0x4c045e[_0xecd2b1]:void 0x0:Reflect['get'](_0x4c045e,_0xecd2b1);}function _0x367330(_0x5b84d6,_0x5e73a7,_0x4822fe){const _0x1a9447=_0x2b8d6a;if(Array[_0x1a9447(0x2a1)](_0x5b84d6)){typeof _0x5e73a7==_0x1a9447(0x202)&&(_0x5b84d6[_0x5e73a7]=_0x4822fe);return;}Reflect[_0x1a9447(0x22b)](_0x5b84d6,_0x5e73a7,_0x4822fe);}function _0xbd19eb(_0x548386){return!!_0x548386&&typeof _0x548386=='object';}function _0x1a7260(_0x3d124d){const _0x3c2307=_0x2b8d6a;return Array['isArray'](_0x3d124d)?_0x3d124d[_0x3c2307(0x3de)]():{..._0x3d124d};}let _0x55f68e=_0x2b8d6a(0x51b),_0x26cc72=/\s+hh:mm\s*$/i,_0x21ab81={'yyyy/mm/dd':_0x2b8d6a(0x568),'yyyy-mm-dd':_0x2b8d6a(0x5b5),'mm-dd':'MM-DD','mm/dd/yyyy':_0x2b8d6a(0x5ae),'dd/mm/yyyy':_0x2b8d6a(0x5fa),'mmm\x20d,\x20yyyy':_0x2b8d6a(0x535)};function _0x7aca16(_0x340713,_0x443d89=_0xcf3cf2[_0x2b8d6a(0x251)][_0x2b8d6a(0x1ed)]){const _0x3edf91=_0x2b8d6a;let _0x454fa6=(0x0,_0xcf3cf2['dateKit'])(_0x340713)[_0x3edf91(0x4be)]();return(0x0,_0xcf3cf2[_0x3edf91(0x5e3)])(new Date(_0x454fa6),_0x443d89);}function _0x5c88bb(_0x11f672,_0xdbd2ef=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){const _0x5a6034=_0x2b8d6a;return(0x0,_0xcf3cf2[_0x5a6034(0x3a9)])(_0x11f672,_0xdbd2ef)['getTime']();}function _0x5182d6(_0x5ac3cf,_0x23d84c=_0xcf3cf2[_0x2b8d6a(0x251)]['Date1900']){const _0x570538=_0x2b8d6a;if(_0x5ac3cf==null||_0x5ac3cf==='')return null;if(_0x5ac3cf instanceof Date)return _0x7aca16(_0x5ac3cf,_0x23d84c);if(typeof _0x5ac3cf==_0x570538(0x202))return Number[_0x570538(0x2b0)](_0x5ac3cf)?_0x5ac3cf>0xf4240?_0x7aca16(_0x5ac3cf,_0x23d84c):_0x5ac3cf:null;let _0x4fe331=Date['parse'](String(_0x5ac3cf));return Number[_0x570538(0x40b)](_0x4fe331)?null:_0x7aca16(_0x4fe331,_0x23d84c);}function _0x3ded3a(_0x2cb39d,_0x2a18d3=_0xcf3cf2['DateSystem'][_0x2b8d6a(0x1ed)]){let _0x334913=_0x5182d6(_0x2cb39d,_0x2a18d3);return _0x334913==null?null:_0x5c88bb(_0x334913,_0x2a18d3);}function _0x14d9da(_0x4e03ee={}){const _0x545893=_0x2b8d6a;let _0xf8e804=String(_0x4e03ee[_0x545893(0x41e)]??_0x4e03ee[_0x545893(0x1fa)]??_0x4e03ee[_0x545893(0x242)]??_0x55f68e)[_0x545893(0x479)]()||_0x55f68e,_0x1d013f=_0x26cc72[_0x545893(0x250)](_0xf8e804);return{'pattern':_0xf8e804[_0x545893(0x5a4)](_0x26cc72,'')||_0x55f68e,'includeTime':typeof _0x4e03ee[_0x545893(0x5b1)]==_0x545893(0x511)?_0x4e03ee[_0x545893(0x5b1)]:_0x1d013f,'hourCycle':_0x4e03ee[_0x545893(0x26a)]===_0x545893(0x2cf)?_0x545893(0x2cf):_0x545893(0x433)};}function _0x21d088(_0x1850ad={}){let {format:_0xfa1a33,dateFormat:_0x260622,..._0x418736}=_0x1850ad;return{..._0x418736,..._0x14d9da(_0x1850ad)};}function _0x1e8f43(_0x401fbe,_0x2b3942={}){const _0x26145c=_0x2b8d6a;let _0x4cf725=_0x3ded3a(_0x401fbe);if(_0x4cf725==null||!Number['isFinite'](_0x4cf725))return'';let _0x55eb68=_0x14d9da(_0x2b3942);return(0x0,_0xcf3cf2[_0x26145c(0x28a)])(_0x4cf725)[_0x26145c(0x1fa)](_0x1b7282(_0x55eb68));}function _0x1b7282(_0x36358b){const _0x11079c=_0x2b8d6a;let {pattern:_0x1ad95c,includeTime:_0x3e8c29,hourCycle:_0x2a1324}=_0x36358b,_0x5e6c89=_0x21ab81[_0x1ad95c]??_0x21ab81[_0x55f68e];return _0x3e8c29?_0x5e6c89+'\x20'+(_0x2a1324==='h12'?_0x11079c(0x412):_0x11079c(0x432)):_0x5e6c89;}let _0x309b62={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4c4adc=new Set([_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x46d)]]),_0x2eddf7=0x5265c00;function _0x78a559(_0x592029){const _0x78c99d=_0x2b8d6a;switch(_0x592029){case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5b6)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x3d8)]:case _0xcf3cf2['BaseFieldType']['Progress']:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x22a)]:return[_0xcf3cf2['BaseConditionalColorOperator']['IS'],_0xcf3cf2['BaseConditionalColorOperator']['IS_NOT'],_0xcf3cf2[_0x78c99d(0x2f1)]['GREATER_THAN'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x46b)],_0xcf3cf2['BaseConditionalColorOperator']['IS_EMPTY'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x2d9)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x413)]:case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x305)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x315)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x483)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x215)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x5e1)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x28d)]];case _0xcf3cf2[_0x78c99d(0x435)][_0x78c99d(0x5f8)]:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x315)]];default:return[_0xcf3cf2[_0x78c99d(0x2f1)]['IS'],_0xcf3cf2[_0x78c99d(0x2f1)]['IS_NOT'],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x262)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x497)],_0xcf3cf2['BaseConditionalColorOperator'][_0x78c99d(0x5e1)],_0xcf3cf2[_0x78c99d(0x2f1)][_0x78c99d(0x28d)]];}}function _0x16d4c2(_0x19869c){const _0x351bf7=_0x2b8d6a;return _0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x2d9)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x413)]||_0x19869c===_0xcf3cf2[_0x351bf7(0x435)][_0x351bf7(0x305)];}function _0x727464(_0x1becc2,_0x1b6fbd){const _0x407aaa=_0x2b8d6a;return _0x1becc2==null&&_0x1b6fbd==null?0x0:_0x1becc2==null?-0x1:_0x1b6fbd==null?0x1:typeof _0x1becc2==_0x407aaa(0x202)&&typeof _0x1b6fbd=='number'?_0x1becc2-_0x1b6fbd:String(_0x1becc2)['localeCompare'](String(_0x1b6fbd));}function _0x357854(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3,_0x22aee0={}){const _0x5bab68=_0x2b8d6a;if(_0x577846==='isEmpty')return _0x5cb666(_0x2d8859);if(_0x577846==='isNotEmpty')return!_0x5cb666(_0x2d8859);switch(_0x47d7b3['type']){case _0xcf3cf2['BaseFieldType']['Number']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3d8)]:case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x455)]:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x22a)]:return _0xba0613(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2['BaseFieldType'][_0x5bab68(0x2d9)]:case _0xcf3cf2['BaseFieldType']['CreatedAt']:case _0xcf3cf2['BaseFieldType']['UpdatedAt']:return _0xa442e9(_0x2d8859,_0x577846,_0x277b54,_0x22aee0);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x5f8)]:return _0x14c399(_0x2d8859,_0x577846,_0x277b54);case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x2e3)]:case _0xcf3cf2[_0x5bab68(0x435)]['MultiSelect']:case _0xcf3cf2[_0x5bab68(0x435)]['Person']:case _0xcf3cf2[_0x5bab68(0x435)][_0x5bab68(0x3fa)]:return _0x5ce2cb(_0x2d8859,_0x577846,_0x277b54,_0x47d7b3);default:return _0x508431(_0x2d8859,_0x577846,_0x277b54);}}function _0x5cb666(_0x277b88){const _0xa8ff33=_0x2b8d6a;return _0x277b88==null?!0x0:Array[_0xa8ff33(0x2a1)](_0x277b88)?_0x277b88['length']===0x0:typeof _0x277b88==_0xa8ff33(0x3ea)&&_0x277b88[_0xa8ff33(0x479)]()==='';}function _0xba0613(_0x134f46,_0x231996,_0x3a9c84){const _0x3b5459=_0x2b8d6a;let _0x1ea493=_0x4eccf5(_0x134f46),_0x2f29f8=_0x4eccf5(_0x3a9c84);if(_0x1ea493==null||_0x2f29f8==null)return!0x1;switch(_0x231996){case'is':return _0x1ea493===_0x2f29f8;case _0x3b5459(0x4d2):return _0x1ea493!==_0x2f29f8;case _0x3b5459(0x26e):return _0x1ea493>_0x2f29f8;case'greaterThanOrEqual':return _0x1ea493>=_0x2f29f8;case _0x3b5459(0x227):return _0x1ea493<_0x2f29f8;case _0x3b5459(0x276):return _0x1ea493<=_0x2f29f8;default:return!0x1;}}function _0x4eccf5(_0x18eab4){if(_0x18eab4==null||_0x18eab4==='')return null;let _0x397683=Number(_0x18eab4);return Number['isFinite'](_0x397683)?_0x397683:null;}function _0xa442e9(_0x37cf98,_0x203a7a,_0x176a37,_0x593aa1){const _0x35d8b2=_0x2b8d6a;let _0x285393=_0xe69732(_0x37cf98);if(_0x285393==null)return!0x1;let _0x43a3a5=_0x283da0(_0x593aa1[_0x35d8b2(0x32f)]??_0x35d8b2(0x231),_0x176a37,_0x593aa1[_0x35d8b2(0x208)]);if(!_0x43a3a5)return!0x1;switch(_0x203a7a){case'is':return _0x285393>=_0x43a3a5['start']&&_0x285393<=_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x4d2):return _0x285393<_0x43a3a5[_0x35d8b2(0x571)]||_0x285393>_0x43a3a5[_0x35d8b2(0x526)];case _0x35d8b2(0x363):return _0x285393<_0x43a3a5['start'];case _0x35d8b2(0x5f2):return _0x285393>_0x43a3a5['end'];default:return!0x1;}}function _0x283da0(_0x2fef45,_0x1c24f4,_0x9b74a2=Date['now']()){const _0x451008=_0x2b8d6a;let _0x962dd0=_0x2508d0(_0x9b74a2);switch(_0x2fef45){case _0x451008(0x231):{let _0x3cc4f4=_0xe69732(_0x1c24f4);return _0x3cc4f4==null?null:{'start':_0x3cc4f4,'end':_0x3cc4f4+_0x2eddf7-0x1};}case _0x451008(0x499):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x39e):return{'start':_0x962dd0+_0x2eddf7,'end':_0x962dd0+_0x2eddf7*0x2-0x1};case'yesterday':return{'start':_0x962dd0-_0x2eddf7,'end':_0x962dd0-0x1};case'thisWeek':return _0x1c0d2c(_0x962dd0,0x0);case _0x451008(0x2a8):return _0x1c0d2c(_0x962dd0,-0x1);case'thisMonth':return _0x946130(_0x962dd0,0x0);case _0x451008(0x2f7):return _0x946130(_0x962dd0,-0x1);case _0x451008(0x36c):return{'start':_0x962dd0-_0x2eddf7*0x6,'end':_0x962dd0+_0x2eddf7-0x1};case _0x451008(0x533):return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x7-0x1};case'past30':return{'start':_0x962dd0-_0x2eddf7*0x1d,'end':_0x962dd0+_0x2eddf7-0x1};case'next30':return{'start':_0x962dd0,'end':_0x962dd0+_0x2eddf7*0x1e-0x1};}}function _0xe69732(_0x45ba7f){let _0x2fe154=_0x5182d6(_0x45ba7f);return _0x2fe154==null?null:_0x2508d0(_0x5c88bb(_0x2fe154));}function _0x2508d0(_0x132d04){const _0x1a848e=_0x2b8d6a;let _0x338eca=new Date(_0x132d04);return _0x338eca['setHours'](0x0,0x0,0x0,0x0),_0x338eca[_0x1a848e(0x25d)]();}function _0x1c0d2c(_0x38ce2d,_0x3078ee){const _0x373d68=_0x2b8d6a;let _0x4726cb=_0x38ce2d-(new Date(_0x38ce2d)[_0x373d68(0x32e)]()+0x6)%0x7*_0x2eddf7+_0x3078ee*_0x2eddf7*0x7;return{'start':_0x4726cb,'end':_0x4726cb+_0x2eddf7*0x7-0x1};}function _0x946130(_0x5384d0,_0x2da625){const _0xf17fcd=_0x2b8d6a;let _0xea7c93=new Date(_0x5384d0),_0x2475cf=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625,0x1),_0x3b11d6=new Date(_0xea7c93[_0xf17fcd(0x60b)](),_0xea7c93[_0xf17fcd(0x356)]()+_0x2da625+0x1,0x1);return{'start':_0x2475cf[_0xf17fcd(0x25d)](),'end':_0x3b11d6['getTime']()-0x1};}function _0x14c399(_0x3eb405,_0x1705b8,_0x5145c6){let _0x3a6af7=_0x3732dd(_0x3eb405),_0x231fff=_0x3732dd(_0x5145c6);switch(_0x1705b8){case'is':return _0x3a6af7===_0x231fff;case'isNot':return _0x3a6af7!==_0x231fff;default:return!0x1;}}function _0x3732dd(_0x22741f){return _0x22741f===!0x0||_0x22741f==='true'||_0x22741f===0x1||_0x22741f==='1';}function _0x5ce2cb(_0x14c62f,_0x15f1ea,_0x352def,_0x55c64c){const _0x138a43=_0x2b8d6a;let _0x581e20=_0x57e241(_0x14c62f,_0x55c64c),_0x2613be=_0x57e241(_0x352def,_0x55c64c),_0x27bc4f=_0x2613be['length']>0x0&&_0x2613be[_0x138a43(0x20f)](_0x3444aa=>_0x581e20[_0x138a43(0x299)](_0x3444aa));switch(_0x15f1ea){case'is':case'contains':return _0x27bc4f;case _0x138a43(0x4d2):case _0x138a43(0x423):return!_0x27bc4f;default:return!0x1;}}function _0x508431(_0x2981f1,_0x2e4fc3,_0xc6dbb2){const _0x4df21d=_0x2b8d6a;let _0x2c8069=_0x3ca23e(_0x2981f1),_0x1f56f9=_0x3ca23e(_0xc6dbb2);switch(_0x2e4fc3){case'is':return _0x2c8069===_0x1f56f9;case'isNot':return _0x2c8069!==_0x1f56f9;case'contains':return _0x1f56f9?_0x2c8069[_0x4df21d(0x299)](_0x1f56f9):!0x1;case _0x4df21d(0x423):return!_0x1f56f9||!_0x2c8069['includes'](_0x1f56f9);default:return!0x1;}}function _0x3ca23e(_0x5c2518){const _0x4d316c=_0x2b8d6a;if(Array[_0x4d316c(0x2a1)](_0x5c2518))return _0x5c2518[_0x4d316c(0x2c4)](_0x238d1c=>_0x3ca23e(_0x238d1c))[_0x4d316c(0x600)]('\x0a');if(_0x5c2518&&typeof _0x5c2518==_0x4d316c(0x240)){let _0x578125=_0x5c2518;return String(_0x578125[_0x4d316c(0x456)]??_0x578125[_0x4d316c(0x2db)]??_0x578125[_0x4d316c(0x395)]??_0x578125[_0x4d316c(0x348)]??_0x578125['id']??'')['trim']()['toLowerCase']();}return String(_0x5c2518??'')['trim']()[_0x4d316c(0x402)]();}function _0x57e241(_0x45ef32,_0x502667){const _0x32bda0=_0x2b8d6a;let _0xcdb9b2=_0x20c4ae(_0x45ef32),_0x47abbe=_0x499657(_0x502667[_0x32bda0(0x5a3)]??{});return _0xcdb9b2[_0x32bda0(0x5d0)](_0x248620=>_0x47abbe[_0x32bda0(0x4f0)](_0x248620)??[_0x248620])[_0x32bda0(0x355)]((_0x3b5358,_0x46b52a,_0x24c977)=>_0x3b5358!==''&&_0x24c977[_0x32bda0(0x267)](_0x3b5358)===_0x46b52a);}function _0x20c4ae(_0x119314){const _0x636dc9=_0x2b8d6a;if(_0x119314==null||_0x119314==='')return[];if(Array[_0x636dc9(0x2a1)](_0x119314))return _0x119314[_0x636dc9(0x5d0)](_0x3b24b7=>_0x20c4ae(_0x3b24b7));if(_0x119314&&typeof _0x119314==_0x636dc9(0x240)){let _0x241512=_0x119314;return['id',_0x636dc9(0x456),'label',_0x636dc9(0x348),_0x636dc9(0x395)][_0x636dc9(0x5d0)](_0x1b7f3f=>_0x20c4ae(_0x241512[_0x1b7f3f]))[_0x636dc9(0x355)]((_0x570f6c,_0x43903a,_0x4d24fb)=>_0x4d24fb[_0x636dc9(0x267)](_0x570f6c)===_0x43903a);}return[_0x3ca23e(_0x119314)];}function _0x499657(_0x3cbf73){const _0x20531b=_0x2b8d6a;let _0x54e539=new Map();return(Array[_0x20531b(0x2a1)](_0x3cbf73[_0x20531b(0x5cc)])?_0x3cbf73['options']:[])[_0x20531b(0x458)](_0x291bdf=>{const _0x5d445a=_0x20531b;if(!_0x291bdf||typeof _0x291bdf!=_0x5d445a(0x240))return;let _0x327a61=_0x20c4ae(_0x291bdf),_0x52988a=_0x327a61['filter']((_0x2379f8,_0x535f18)=>_0x2379f8!==''&&_0x327a61[_0x5d445a(0x267)](_0x2379f8)===_0x535f18);_0x52988a[_0x5d445a(0x458)](_0x7e91d4=>_0x54e539['set'](_0x7e91d4,_0x52988a));}),_0x54e539;}function _0x2399a4(_0x1f6781,_0x1d48fa={},_0xecc98c=_0x6e04b1=>_0x6e04b1,_0x3f3b58={}){const _0x510bcc=_0x2b8d6a;let _0xb31015=!_0x4c4adc[_0x510bcc(0x244)](_0x1f6781),_0x2ebd95=_0xecc98c??(_0x87635a=>_0x87635a);return{'type':_0x1f6781,'i18nKey':_0x510bcc(0x492)+_0x1f6781,'enabled':_0xb31015,'visibleInCreateMenu':_0xb31015,'createDefaultConfig':_0x3f3b58[_0x510bcc(0x5ba)]??(()=>({})),'createDefaultValue':_0x3f3b58['createDefaultValue']??(_0x55d11b=>_0x55d11b[_0x510bcc(0x334)]??null),'normalize':(_0x2fe78a,_0x4e19c4)=>_0x2ebd95(_0x2fe78a,_0x4e19c4),'validate':(_0x3ea28d,_0x39f48f)=>{const _0x11c5ca=_0x510bcc;var _0x16c957;return _0xb31015?((_0x16c957=_0x3f3b58[_0x11c5ca(0x3af)])==null?void 0x0:_0x16c957[_0x11c5ca(0x29f)](_0x3f3b58,_0x3ea28d,_0x39f48f))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x253af5,_0x5a3d7e)=>_0x727464(_0x253af5,_0x5a3d7e),'filter':(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f)=>_0x357854(_0x4dceca,_0x26f729,_0x2ce606,_0x25986f),'toPlainText':_0x3f3b58[_0x510bcc(0x587)]??(_0x1ffcdb=>_0x1ffcdb==null?'':String(_0x1ffcdb)),'fromPlainText':_0x3f3b58[_0x510bcc(0x381)]??(_0x164da8=>_0x2ebd95(_0x164da8,{'id':'','name':'','type':_0x1f6781,'config':{}})),'getCapabilities':()=>({..._0x309b62,..._0x1d48fa,'editable':_0xb31015&&(_0x1d48fa[_0x510bcc(0x57b)]??_0x309b62[_0x510bcc(0x57b)])})};}function _0x20ee48(){const _0x2f3b71=_0x2b8d6a;return[_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x220)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x5425f3=>_0x5425f3[_0x2f3b71(0x334)]??''}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x2d213e=>_0x2d213e==null||_0x2d213e===''?null:String(_0x2d213e),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}})}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x1c574a=>Array[_0x2f3b71(0x2a1)](_0x1c574a)?_0x1c574a['map'](String):_0x1c574a==null?[]:[String(_0x1c574a)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2f3b71(0x353)}}),'createDefaultValue':_0x4958df=>_0x4958df[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x65fcd1,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x9614df}),_0x2399a4(_0xcf3cf2['BaseFieldType']['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xf43720,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x54d888=>_0x54d888[_0x2f3b71(0x334)]??[],'validate':_0x5ae318}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x115623=>_0x5182d6(_0x115623),{'createDefaultConfig':()=>_0x5aa101(),'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x448)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2a9e13=>_0x2a9e13==null?[]:Array['isArray'](_0x2a9e13)?_0x2a9e13:[_0x2a9e13],{'createDefaultValue':_0x524dab=>_0x524dab[_0x2f3b71(0x334)]??[]}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x5b6)],{},_0x182ddd=>_0x182ddd==null||_0x182ddd===''?null:Number(_0x182ddd),{'createDefaultConfig':()=>_0x21165b(),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x5f8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2d18f8=>_0x2d18f8===!0x0||_0x2d18f8==='true'||_0x2d18f8===0x1||_0x2d18f8==='1',{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x5a0),'color':_0x2f3b71(0x1da)}),'createDefaultValue':_0x1dfa59=>_0x1dfa59[_0x2f3b71(0x334)]??!0x1,'validate':_0x1afc2e=>typeof _0x1afc2e==_0x2f3b71(0x511)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x24b)],{'supportsRelation':!0x0},_0x485bc6,{'createDefaultConfig':()=>({'placeholder':_0x2f3b71(0x494)}),'toPlainText':_0x56eb44=>_0x51936f(_0x56eb44),'fromPlainText':_0x935352=>_0x485bc6(_0x935352)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x25e)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x2f3b71(0x1fd),'pattern':_0x2f3b71(0x474)}}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x2f3b71(0x36b)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x328)],{'usableAsTitle':!0x0},_0xfffb7f=>_0xfffb7f==null?null:String(_0xfffb7f)[_0x2f3b71(0x479)](),{'validate':_0x5454d8=>_0x5454d8==null||_0x5454d8===''||/^\+?[0-9 ()-]{6,20}$/[_0x2f3b71(0x250)](String(_0x5454d8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x218)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x4c2)],{'usableAsTitle':!0x0},_0x5d581e=>_0x5d581e==null?null:String(_0x5d581e)['trim'](),{'validate':_0x4edeac=>_0x4edeac==null||_0x4edeac===''||_0x2f06b5(String(_0x4edeac))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2f3b71(0x5a6)}}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x455)],{'usableAsGanttProgress':!0x0},_0x3dc666=>_0x3dc666==null||_0x3dc666===''?null:Number(_0x3dc666),{'createDefaultConfig':()=>({'format':_0x2f3b71(0x256),'decimalPlaces':0x0,'color':_0x2f3b71(0x371),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x3caba4,_0x169a66)=>_0x1b37fc(_0x3caba4,_0x169a66,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x3d8)],{},_0x47918c=>_0x47918c==null||_0x47918c===''?null:Number(_0x47918c),{'createDefaultConfig':()=>({..._0x21165b(),'currencySymbol':'$'}),'validate':_0x15005f}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x22a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1c8d12=>_0x1c8d12==null||_0x1c8d12===''?null:Number(_0x1c8d12),{'createDefaultConfig':()=>({'icon':_0x2f3b71(0x2b7),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x29c0eb,_0x3aac3c)=>_0x1b37fc(_0x29c0eb,_0x3aac3c,'[BaseField]:\x20invalid\x20rating\x20value.')}),_0x2399a4(_0xcf3cf2['BaseFieldType'][_0x2f3b71(0x34e)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x23d19e,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x243ba7,_0x4867cd)=>_0x456626(_0x243ba7,_0x4867cd[_0x2f3b71(0x5a3)]['multiple']===!0x0)}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x34f)],{'editable':!0x1,'groupable':!0x0},_0x5cbf4a=>_0x5cbf4a==null?null:String(_0x5cbf4a),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)]['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x8b25b6=>_0x8b25b6==null?null:String(_0x8b25b6),{'createDefaultConfig':()=>({'provider':_0x2f3b71(0x2e5)}),'createDefaultValue':()=>null}),_0x2399a4(_0xcf3cf2['BaseFieldType']['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x259039=>_0x5182d6(_0x259039),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129}),_0x2399a4(_0xcf3cf2[_0x2f3b71(0x435)][_0x2f3b71(0x305)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x37e780=>_0x5182d6(_0x37e780),{'createDefaultConfig':()=>_0x5aa101(),'createDefaultValue':()=>null,'validate':_0xa96129})];}function _0x21165b(){const _0x4ba6da=_0x2b8d6a;return{'pattern':_0x4ba6da(0x292),'decimalPlaces':0x2,'separatorStyle':_0x4ba6da(0x3f3),'useThousands':!0x0,'abbreviation':_0x4ba6da(0x44a),'allowNegative':!0x0};}function _0x5aa101(){const _0x22e719=_0x2b8d6a;return{'locale':_0x22e719(0x421),'pattern':_0x22e719(0x51b),'includeTime':!0x1,'hourCycle':_0x22e719(0x433),'defaultMode':'none'};}function _0xf43720(_0x3e17d1){const _0x2fb380=_0x2b8d6a;return _0x3e17d1==null||_0x3e17d1===''?[]:Array[_0x2fb380(0x2a1)](_0x3e17d1)?_0x3e17d1[_0x2fb380(0x2c4)](String):[String(_0x3e17d1)];}function _0x23d19e(_0x8f7595){const _0x84fde7=_0x2b8d6a;return typeof _0x8f7595==_0x84fde7(0x3ea)?_0x8f7595:'';}function _0x65fcd1(_0x1483ad,_0x4553d7){const _0x2fe49f=_0x2b8d6a;return _0x1483ad==null||_0x1483ad===''?_0x4553d7[_0x2fe49f(0x5a3)][_0x2fe49f(0x4ee)]===!0x0?[]:null:_0x4553d7['config']['allowMultiple']===!0x0?Array[_0x2fe49f(0x2a1)](_0x1483ad)?_0x1483ad[_0x2fe49f(0x2c4)](String):[String(_0x1483ad)]:Array['isArray'](_0x1483ad)?String(_0x1483ad[0x0]??'')||null:String(_0x1483ad);}function _0x9614df(_0x5b83a3,_0x1adced){const _0x1c9e1a=_0x2b8d6a;return _0x1adced[_0x1c9e1a(0x5a3)][_0x1c9e1a(0x4ee)]===!0x0?_0x5ae318(_0x5b83a3):_0x5b83a3==null||_0x5b83a3===''||typeof _0x5b83a3==_0x1c9e1a(0x3ea)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1c9e1a(0x2d3)};}function _0x5ae318(_0x70d9ca){const _0x221109=_0x2b8d6a;return _0x70d9ca==null||Array[_0x221109(0x2a1)](_0x70d9ca)&&_0x70d9ca[_0x221109(0x320)](_0x144d84=>typeof _0x144d84=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x221109(0x48b)};}function _0xa96129(_0xaa5179){const _0x5711f2=_0x2b8d6a;return _0xaa5179==null||typeof _0xaa5179==_0x5711f2(0x202)&&Number[_0x5711f2(0x2b0)](_0xaa5179)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5711f2(0x51c)};}function _0x15005f(_0xa5318a,_0x5463bd){const _0x561e10=_0x2b8d6a;return _0xa5318a==null||_0xa5318a===''?{'valid':!0x0}:typeof _0xa5318a!='number'||!Number[_0x561e10(0x2b0)](_0xa5318a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x5463bd['config']['allowNegative']===!0x1&&_0xa5318a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function _0x1b37fc(_0x5cfd0c,_0x566a05,_0x47f9e8){const _0x4765fd=_0x2b8d6a;let _0x169d83=_0x15005f(_0x5cfd0c,_0x566a05);if(!_0x169d83[_0x4765fd(0x47d)]||_0x5cfd0c==null||_0x5cfd0c==='')return _0x169d83;let _0x559243=Number(_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x4f1)]??_0x566a05[_0x4765fd(0x5a3)][_0x4765fd(0x571)]??0x0),_0xe1ca6e=Number(_0x566a05['config']['max']??_0x566a05[_0x4765fd(0x5a3)]['end']??0x64),_0x5f2c3d=Number(_0x5cfd0c);return _0x5f2c3d>=_0x559243&&_0x5f2c3d<=_0xe1ca6e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x47f9e8};}function _0x485bc6(_0x4ad8d3){const _0x33460f=_0x2b8d6a;if(_0x4ad8d3==null||_0x4ad8d3==='')return null;if(typeof _0x4ad8d3==_0x33460f(0x240)&&!Array[_0x33460f(0x2a1)](_0x4ad8d3)){let _0x4d961e=_0x4ad8d3,_0x37d04a=typeof _0x4d961e[_0x33460f(0x395)]==_0x33460f(0x3ea)?_0x4d961e['text'][_0x33460f(0x479)]():'',_0x1646cf=typeof _0x4d961e[_0x33460f(0x2ff)]=='string'?_0x4d961e[_0x33460f(0x2ff)][_0x33460f(0x479)]():'',_0x4a6b73=_0x49f40a(_0x1646cf||_0x37d04a);return _0x4a6b73?{'text':_0x37d04a||_0x1646cf||_0x4a6b73,'url':_0x4a6b73}:null;}let _0x131fbd=String(_0x4ad8d3)[_0x33460f(0x479)](),_0x6620d4=_0x49f40a(_0x131fbd);return _0x6620d4?{'text':_0x131fbd,'url':_0x6620d4}:null;}function _0x51936f(_0x43c15e){const _0xfbfb54=_0x2b8d6a;if(_0x43c15e==null)return'';if(typeof _0x43c15e==_0xfbfb54(0x240)&&!Array[_0xfbfb54(0x2a1)](_0x43c15e)){let _0x5e874d=_0x43c15e;return String(_0x5e874d['text']||_0x5e874d[_0xfbfb54(0x2ff)]||'');}return String(_0x43c15e);}function _0x49f40a(_0x358d24){const _0xfa8a5f=_0x2b8d6a;let _0x17cfa2=_0x358d24[_0xfa8a5f(0x479)]();if(!_0x17cfa2)return'';let _0x5c0d4d=/^[a-z][a-z\d+.-]*:/i[_0xfa8a5f(0x250)](_0x17cfa2)?_0x17cfa2:_0x17cfa2['startsWith']('//')?_0xfa8a5f(0x274)+_0x17cfa2:'https://'+_0x17cfa2;try{let _0x2dee37=new URL(_0x5c0d4d);return _0x2dee37[_0xfa8a5f(0x5f3)]==='http:'||_0x2dee37[_0xfa8a5f(0x5f3)]===_0xfa8a5f(0x274)?_0x2dee37[_0xfa8a5f(0x2bc)]:'';}catch{return'';}}function _0x2f06b5(_0x5770e8){const _0x501094=_0x2b8d6a;let _0x333950=_0x5770e8[_0x501094(0x267)]('@');if(_0x333950<=0x0||_0x333950!==_0x5770e8[_0x501094(0x4b5)]('@'))return!0x1;let _0x57a2bc=_0x5770e8[_0x501094(0x3de)](_0x333950+0x1);return _0x57a2bc['includes']('.')&&!_0x5770e8[_0x501094(0x299)]('\x20')&&!_0x57a2bc[_0x501094(0x26d)]('.')&&!_0x57a2bc[_0x501094(0x4ec)]('.');}let _0x4b16d6={'table':_0xf55cfd=>[_0x2b8d6a(0x3d7),_0xf55cfd],'field':(_0x37bf33,_0x5ee767)=>['tables',_0x37bf33,_0x2b8d6a(0x3b5),_0x5ee767],'fieldOrder':(_0x24aebd,_0x2609df)=>[_0x2b8d6a(0x3d7),_0x24aebd,_0x2b8d6a(0x4ab),_0x2609df],'record':(_0x2e6c2c,_0x550651)=>[_0x2b8d6a(0x3d7),_0x2e6c2c,_0x2b8d6a(0x38a),_0x550651],'cell':(_0x1912e6,_0x47269c,_0xbd737c)=>[_0x2b8d6a(0x3d7),_0x1912e6,_0x2b8d6a(0x38a),_0x47269c,_0x2b8d6a(0x404),_0xbd737c],'cellData':(_0x242dde,_0x5c4162,_0x5b08dd)=>[_0x2b8d6a(0x3d7),_0x242dde,'cellData',String(_0x5c4162),String(_0x5b08dd)],'attachmentSet':(_0x508e9e,_0x14e296)=>[_0x2b8d6a(0x3d7),_0x508e9e,_0x2b8d6a(0x482),_0x2b8d6a(0x52b),_0x14e296],'attachment':(_0x2249b7,_0x513448)=>[_0x2b8d6a(0x3d7),_0x2249b7,'resources',_0x2b8d6a(0x1e9),_0x513448],'view':(_0x2a8498,_0x4585d2)=>[_0x2b8d6a(0x3d7),_0x2a8498,_0x2b8d6a(0x2e4),_0x4585d2],'viewFieldHidden':(_0x36c888,_0x2503de,_0x325022)=>[_0x2b8d6a(0x3d7),_0x36c888,'views',_0x2503de,_0x2b8d6a(0x239),_0x325022,_0x2b8d6a(0x4e3)]};var _0x15dbb7=class{['setBaseName'](_0x51296c,_0x742677){const _0x39773c=_0x2b8d6a;let _0x1898f7=this[_0x39773c(0x4d6)](_0x51296c,_0x51296c[_0x39773c(0x456)],_0x742677);return _0x5dc19d([this[_0x39773c(0x201)](['name'],_0x51296c['name'],_0x742677),..._0x1898f7?[_0x1898f7]:[]]);}[_0x2b8d6a(0x4d6)](_0x11634d,_0x5954f4,_0x3bc603){const _0x107fdd=_0x2b8d6a;let _0x104927=Object[_0x107fdd(0x404)](_0x11634d['tables'])[_0x107fdd(0x5d0)](_0x212849=>Object['values'](_0x212849[_0x107fdd(0x3b5)])[_0x107fdd(0x5d0)](_0x5ae6a4=>{const _0x154aab=_0x107fdd;var _0x38f63d,_0x2466d1;if(_0x5ae6a4[_0x154aab(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x154aab(0x25e)])return[];let _0x4d069a=String(((_0x38f63d=_0x5ae6a4['config'])==null?void 0x0:_0x38f63d['formula'])??''),_0xcd8076=(0x0,_0x64dd1a[_0x154aab(0x4d1)])(_0x4d069a,_0x5954f4,_0x3bc603);return _0xcd8076===_0x4d069a?[]:[this['_replaceOptional']([..._0x4b16d6[_0x154aab(0x48c)](_0x212849['id'],_0x5ae6a4['id']),_0x154aab(0x5a3),_0x154aab(0x4fe)],(_0x2466d1=_0x5ae6a4[_0x154aab(0x5a3)])==null?void 0x0:_0x2466d1[_0x154aab(0x4fe)],_0xcd8076)];}));return _0x104927[_0x107fdd(0x3d4)]>0x0?_0x5dc19d(_0x104927):void 0x0;}[_0x2b8d6a(0x5f0)](_0x34ae18,_0x3fca5b,_0x4305cd=_0x34ae18[_0x2b8d6a(0x5af)][_0x2b8d6a(0x3d4)]){const _0x19deb7=_0x2b8d6a;let _0x454a28=(0x0,_0xcf3cf2[_0x19deb7(0x4fa)])(_0x3fca5b['name'],(0x0,_0xcf3cf2[_0x19deb7(0x314)])(_0x34ae18)[_0x19deb7(0x404)](),_0x3fca5b[_0x19deb7(0x298)]),_0x2ac7b5=_0x3fca5b[_0x19deb7(0x298)]===_0x454a28?_0x3fca5b:{..._0x3fca5b,'formulaName':_0x454a28};return _0x5dc19d([...this[_0x19deb7(0x33d)](_0x34ae18),_0xcf3cf2[_0x19deb7(0x597)][_0x19deb7(0x3f0)](_0x4b16d6['table'](_0x3fca5b['id']),_0x2ac7b5),_0xcf3cf2['JSON1']['insertOp'](['tableOrder',_0x4305cd],_0x3fca5b['id'])]);}[_0x2b8d6a(0x331)](_0x3546a5,_0x2fa523,_0x359f47){const _0x47fa91=_0x2b8d6a;let _0x137164=_0x3546a5[_0x47fa91(0x3d7)][_0x2fa523];return _0x5dc19d([...this[_0x47fa91(0x33d)](_0x3546a5),_0xcf3cf2[_0x47fa91(0x597)][_0x47fa91(0x5f9)]([..._0x4b16d6['table'](_0x2fa523),_0x47fa91(0x456)],_0x137164[_0x47fa91(0x456)],_0x359f47)]);}[_0x2b8d6a(0x1f1)](_0x38a8da,_0x21b2b3){const _0x4083c2=_0x2b8d6a;let _0x41ba2a=_0x38a8da[_0x4083c2(0x3d7)][_0x21b2b3],_0x1217d1=_0x38a8da[_0x4083c2(0x5af)][_0x4083c2(0x267)](_0x21b2b3);return _0x5dc19d([...this['_materializeFormulaTableNames'](_0x38a8da,new Set([_0x21b2b3])),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](_0x4b16d6[_0x4083c2(0x4b0)](_0x21b2b3),_0x41ba2a),_0xcf3cf2[_0x4083c2(0x597)][_0x4083c2(0x594)](['tableOrder',_0x1217d1],_0x21b2b3)]);}[_0x2b8d6a(0x3fb)](_0x2ab2c3,_0x2e4a0b,_0x1ce94f){const _0x737091=_0x2b8d6a;return this[_0x737091(0x1cd)](_0x2ab2c3,_0x2e4a0b,[_0x1ce94f]);}[_0x2b8d6a(0x1cd)](_0x452d18,_0x2c9198,_0x1c8f67){const _0x1c5cb6=_0x2b8d6a;let _0x1cf5c0=_0x452d18['tables'][_0x2c9198],_0xe96bec=_0x1c8f67[_0x1c5cb6(0x355)](_0x4b555d=>_0x4b555d&&!_0x1cf5c0[_0x1c5cb6(0x38a)][_0x4b555d['id']])[_0x1c5cb6(0x2c4)](_0x1ee7c9=>({..._0x1ee7c9,'values':{..._0x1ee7c9[_0x1c5cb6(0x404)],[_0xcf3cf2[_0x1c5cb6(0x509)]]:_0x1ee7c9['id']}}));if(!_0xe96bec['length'])return _0xcf3cf2[_0x1c5cb6(0x597)][_0x1c5cb6(0x5f9)]([..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'],_0x1cf5c0['records'],_0x1cf5c0['records']);let _0xfb24e1=new _0xcf3cf2[(_0x1c5cb6(0x597))][(_0x1c5cb6(0x3ce))](),_0x5c4e4d=[..._0xe96bec][_0x1c5cb6(0x24e)]((_0x4a3e54,_0x38909c)=>_0x4a3e54['id']<_0x38909c['id']?-0x1:+(_0x4a3e54['id']>_0x38909c['id'])),_0x2e7ff7=[..._0x4b16d6[_0x1c5cb6(0x4b0)](_0x2c9198),'records'];_0xfb24e1[_0x1c5cb6(0x1c8)](_0x2e7ff7);for(let _0xe1766d of _0x5c4e4d)_0xfb24e1[_0x1c5cb6(0x333)](_0xe1766d['id']),_0xfb24e1['write']('i',_0xe1766d),_0xfb24e1['ascend']();for(let _0x230180=0x0;_0x230180<_0x2e7ff7[_0x1c5cb6(0x3d4)];_0x230180+=0x1)_0xfb24e1[_0x1c5cb6(0x2f4)]();return _0x5dc19d([_0xfb24e1[_0x1c5cb6(0x4f0)](),this[_0x1c5cb6(0x52a)](_0x452d18,_0x2c9198,_0xe96bec)]);}[_0x2b8d6a(0x44b)](_0xee098c,_0x398c5b,_0xc9a541){const _0x4ebdcf=_0x2b8d6a;return this[_0x4ebdcf(0x595)](_0xee098c,_0x398c5b,[_0xc9a541]);}['deleteRecords'](_0x7e6c06,_0x1b3e16,_0x147c2c){const _0x1e40e1=_0x2b8d6a;let _0x6d2956=_0x7e6c06[_0x1e40e1(0x3d7)][_0x1b3e16],_0x2d6414=Array[_0x1e40e1(0x1ea)](new Set(_0x147c2c))[_0x1e40e1(0x355)](_0x5d2bf7=>_0x6d2956[_0x1e40e1(0x38a)][_0x5d2bf7]);if(!_0x2d6414[_0x1e40e1(0x3d4)])return _0xcf3cf2['JSON1'][_0x1e40e1(0x5f9)]([..._0x4b16d6[_0x1e40e1(0x4b0)](_0x1b3e16),'records'],_0x6d2956[_0x1e40e1(0x38a)],_0x6d2956[_0x1e40e1(0x38a)]);let _0x161187=new Set(_0x2d6414),_0x568ba4=_0x3b968d(_0x6d2956,_0x2d6414)[_0x1e40e1(0x2c4)](_0x21369a=>this[_0x1e40e1(0x5df)](_0x7e6c06,_0x1b3e16,_0x21369a[_0x1e40e1(0x57e)],_0x21369a[_0x1e40e1(0x580)],''));return _0x5dc19d([this['_deleteRecordsBaseOp'](_0x7e6c06,_0x1b3e16,_0x2d6414,_0x161187),..._0x568ba4]);}[_0x2b8d6a(0x5c8)](_0x12877f,_0x11a04e,_0x471614,_0xee23b4){const _0x494e6f=_0x2b8d6a;let _0x558ecb=_0x12877f[_0x494e6f(0x3d7)][_0x471614],_0x210b75=Array[_0x494e6f(0x1ea)](new Set(_0xee23b4))['filter'](_0x4ff11d=>_0x558ecb[_0x494e6f(0x38a)][_0x4ff11d]),_0x510769=new Set(_0x210b75);return _0x5dc19d([new _0x3c7454()[_0x494e6f(0x5a5)](_0x12877f,this[_0x494e6f(0x42a)](_0x12877f,_0x471614,_0x210b75,_0x510769)),..._0x3b968d(_0x558ecb,_0x210b75)[_0x494e6f(0x2c4)](_0x392326=>this[_0x494e6f(0x5df)](_0x11a04e,_0x471614,_0x392326[_0x494e6f(0x57e)],_0x392326[_0x494e6f(0x580)],_0x392326[_0x494e6f(0x38f)]??''))]);}[_0x2b8d6a(0x42a)](_0x50fc8d,_0xcd7b51,_0x240965,_0x23cbbe){const _0x4ba4fd=_0x2b8d6a;let _0xa1c54=_0x50fc8d[_0x4ba4fd(0x3d7)][_0xcd7b51],_0x236000=_0x240965[_0x4ba4fd(0x2c4)](_0x5a6977=>{const _0x4c688f=_0x4ba4fd;var _0x132894;return{'recordId':_0x5a6977,'index':((_0x132894=_0xa1c54[_0x4c688f(0x5ab)])==null?void 0x0:_0x132894[_0x4c688f(0x267)](_0x5a6977))??-0x1};})[_0x4ba4fd(0x355)](_0x3ffd77=>_0x3ffd77[_0x4ba4fd(0x295)]>=0x0)[_0x4ba4fd(0x24e)]((_0xad03a9,_0x17316a)=>_0x17316a['index']-_0xad03a9['index']);return _0x5dc19d([..._0x240965['map'](_0x3c9334=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)](_0x4b16d6[_0x4ba4fd(0x3c2)](_0xcd7b51,_0x3c9334),_0xa1c54['records'][_0x3c9334])),..._0x236000[_0x4ba4fd(0x2c4)](({recordId:_0x28a45c,index:_0x18325d})=>_0xcf3cf2[_0x4ba4fd(0x597)][_0x4ba4fd(0x594)]([_0x4ba4fd(0x3d7),_0xcd7b51,'recordOrder',_0x18325d],_0x28a45c)),...this[_0x4ba4fd(0x2dc)](_0xa1c54,_0xcd7b51,_0x43f2b9=>{const _0x3b4fb5=_0x4ba4fd;let _0x1a6de0=_0x43f2b9[_0x3b4fb5(0x3de)](_0x43f2b9[_0x3b4fb5(0x4b5)]('\x1f')+0x1);return _0x23cbbe[_0x3b4fb5(0x244)](_0x1a6de0);})]);}[_0x2b8d6a(0x5dd)](_0x555a8e,_0x4a47a2,_0x2b5033,_0xdf925b){const _0x58f5aa=_0x2b8d6a;return this[_0x58f5aa(0x3fb)](_0x555a8e,_0x4a47a2,{..._0xdf925b,'values':{..._0x555a8e['tables'][_0x4a47a2][_0x58f5aa(0x38a)][_0x2b5033]['values'],..._0xdf925b[_0x58f5aa(0x404)],[_0xcf3cf2[_0x58f5aa(0x509)]]:_0xdf925b['id']}});}[_0x2b8d6a(0x577)](_0x17ba4c,_0x2f1d57,_0x54f6fc,_0x3fc619){const _0x107552=_0x2b8d6a;let _0x22ce12=_0x17ba4c[_0x107552(0x3d7)][_0x2f1d57],_0x7fd2fc=[..._0x4b16d6[_0x107552(0x3c2)](_0x2f1d57,_0x54f6fc),_0x107552(0x340)],_0x215f73=Object[_0x107552(0x404)](_0x22ce12[_0x107552(0x38a)])[_0x107552(0x2c4)](_0x1a70d1=>_0x1a70d1['id']===_0x54f6fc?{..._0x1a70d1,'orderKey':_0x3fc619}:_0x1a70d1)[_0x107552(0x24e)]((_0x5a6e5f,_0x867bfa)=>String(_0x5a6e5f[_0x107552(0x340)]??_0x5a6e5f['id'])[_0x107552(0x1f9)](String(_0x867bfa['orderKey']??_0x867bfa['id'])))[_0x107552(0x2c4)](_0x446b79=>_0x446b79['id']),_0x5350cc=[..._0x4b16d6[_0x107552(0x4b0)](_0x2f1d57),_0x107552(0x5ab)];return _0x5dc19d([this[_0x107552(0x201)](_0x7fd2fc,_0x22ce12[_0x107552(0x38a)][_0x54f6fc][_0x107552(0x340)],_0x3fc619),_0x22ce12[_0x107552(0x5ab)]?_0xcf3cf2[_0x107552(0x597)]['replaceOp'](_0x5350cc,_0x22ce12[_0x107552(0x5ab)],_0x215f73):_0xcf3cf2['JSON1']['insertOp'](_0x5350cc,_0x215f73)]);}[_0x2b8d6a(0x5df)](_0x55177d,_0x411a81,_0x597e42,_0x5d4380,_0x44cb6c){const _0xd35fc=_0x2b8d6a;var _0x571e12,_0x3a2e76;let _0x3df40a=_0x55177d[_0xd35fc(0x3d7)][_0x411a81],_0x12a9cb=_0x3b56e8(_0x3df40a,_0x597e42,_0x5d4380)?_0x3df40a:_0x5d33ae(_0x3df40a),_0x232114=(_0x571e12=_0x12a9cb[_0xd35fc(0x29a)])==null?void 0x0:_0x571e12[_0x597e42],_0x32723b=(_0x3a2e76=_0x12a9cb['colIndex'])==null?void 0x0:_0x3a2e76[_0x5d4380];if(_0x232114==null||_0x32723b==null){var _0x3cf0df;return this[_0xd35fc(0x201)](_0x4b16d6[_0xd35fc(0x4c1)](_0x411a81,_0x597e42,_0x5d4380),(_0x3cf0df=_0x55177d[_0xd35fc(0x3d7)][_0x411a81])==null||(_0x3cf0df=_0x3cf0df[_0xd35fc(0x38a)][_0x597e42])==null?void 0x0:_0x3cf0df['values'][_0x5d4380],_0x44cb6c);}return this[_0xd35fc(0x57c)](_0x55177d,_0x411a81,[{'row':_0x232114,'col':_0x32723b,'value':_0x44cb6c}]);}[_0x2b8d6a(0x536)](_0x47ef6b,_0x21691a,_0x15d694){const _0x4940aa=_0x2b8d6a;let _0x753803=_0x47ef6b[_0x4940aa(0x3d7)][_0x21691a],_0xc592cc=_0x15d694['every'](_0x2a278b=>Object['keys'](_0x2a278b[_0x4940aa(0x404)])[_0x4940aa(0x320)](_0x4be12e=>_0x3b56e8(_0x753803,_0x2a278b[_0x4940aa(0x57e)],_0x4be12e)))?_0x753803:_0x5d33ae(_0x753803),_0x40c1c5=_0x15d694[_0x4940aa(0x5d0)](_0x226ed6=>Object[_0x4940aa(0x271)](_0x226ed6['values'])[_0x4940aa(0x5d0)](([_0x3ae535,_0x8bba9d])=>{const _0x3a5d13=_0x4940aa;var _0x321215,_0x2f6aa1;let _0x1176fc=(_0x321215=_0xc592cc[_0x3a5d13(0x29a)])==null?void 0x0:_0x321215[_0x226ed6[_0x3a5d13(0x57e)]],_0x3e3658=(_0x2f6aa1=_0xc592cc['colIndex'])==null?void 0x0:_0x2f6aa1[_0x3ae535];return _0x1176fc==null||_0x3e3658==null?[]:[{'row':_0x1176fc,'col':_0x3e3658,'value':_0x8bba9d}];})),_0x29d7e0=_0x15d694[_0x4940aa(0x5d0)](_0x21fa68=>Object[_0x4940aa(0x271)](_0x21fa68[_0x4940aa(0x5a7)]??{})['map'](([_0x2817be,_0x40b98b])=>{const _0x12a672=_0x4940aa;var _0x4b561d;let _0x24fc6d=[..._0x4b16d6[_0x12a672(0x3c2)](_0x21691a,_0x21fa68['recordId']),_0x2817be],_0x13e110=(_0x4b561d=_0x47ef6b[_0x12a672(0x3d7)][_0x21691a])==null||(_0x4b561d=_0x4b561d[_0x12a672(0x38a)][_0x21fa68[_0x12a672(0x57e)]])==null?void 0x0:_0x4b561d[_0x2817be];return this[_0x12a672(0x201)](_0x24fc6d,_0x13e110,_0x40b98b);}));return _0x5dc19d([this[_0x4940aa(0x57c)](_0x47ef6b,_0x21691a,_0x40c1c5),..._0x29d7e0]);}[_0x2b8d6a(0x57c)](_0x37fb01,_0x18ed64,_0xefca66){const _0x189feb=_0x2b8d6a;let _0x4918ae=_0x37fb01[_0x189feb(0x3d7)][_0x18ed64],_0x56e492=_0xefca66[_0x189feb(0x320)](_0x95b4d9=>_0x46c8b0(_0x4918ae,_0x95b4d9[_0x189feb(0x53e)],_0x95b4d9[_0x189feb(0x1cb)]))?_0x4918ae:_0x5d33ae(_0x4918ae),_0x5d5359=new Map(),_0x55e4c4=_0xefca66[_0x189feb(0x5d0)](_0x20e45a=>{const _0x355a45=_0x189feb;var _0x2925c9,_0x1310b3,_0x23c326,_0x41254e;let _0x9ec7d0=(_0x2925c9=_0x56e492[_0x355a45(0x4df)])==null?void 0x0:_0x2925c9[_0x20e45a[_0x355a45(0x1cb)]],_0x22291c=(_0x1310b3=_0x56e492[_0x355a45(0x369)])==null?void 0x0:_0x1310b3[_0x20e45a[_0x355a45(0x53e)]],_0x3016a7=_0x9ec7d0?_0x56e492[_0x355a45(0x3b5)][_0x9ec7d0]:void 0x0;if(_0x9ec7d0===_0xcf3cf2[_0x355a45(0x509)]||(_0x3016a7==null?void 0x0:_0x3016a7[_0x355a45(0x1cc)])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x46d)])throw Error(_0x355a45(0x3ff));let _0x1e3245=_0x1e0593(_0x20e45a[_0x355a45(0x348)],_0x3016a7),_0x204555=(_0x23c326=_0x56e492[_0x355a45(0x2a3)])==null||(_0x23c326=_0x23c326[_0x20e45a[_0x355a45(0x53e)]])==null?void 0x0:_0x23c326[_0x20e45a[_0x355a45(0x1cb)]],_0x11d535=this[_0x355a45(0x201)](_0x4b16d6['cellData'](_0x18ed64,_0x20e45a[_0x355a45(0x53e)],_0x20e45a['col']),_0x204555,_0x1e3245);if(!_0x9ec7d0||!_0x22291c)return[_0x11d535];let _0x430fef=(_0x41254e=_0x56e492[_0x355a45(0x38a)][_0x22291c])==null?void 0x0:_0x41254e[_0x355a45(0x404)][_0x9ec7d0],_0xab0304=(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2[_0x355a45(0x435)][_0x355a45(0x448)]?_0x22fa67(_0x20e45a['value']):_0x566985(_0x20e45a['value'],_0x1e3245,_0x3016a7,_0x56e492,_0x22291c),_0x2553cf=[_0x11d535,this[_0x355a45(0x201)](_0x4b16d6['cell'](_0x18ed64,_0x22291c,_0x9ec7d0),_0x430fef,_0xab0304)];return(_0x3016a7==null?void 0x0:_0x3016a7['type'])===_0xcf3cf2['BaseFieldType']['Attachment']&&_0x5d5359[_0x355a45(0x22b)](_0x1d1617(_0x9ec7d0,_0x22291c),{'recordId':_0x22291c,'fieldId':_0x9ec7d0,'attachments':_0xab0304}),_0x2553cf;});return _0x55e4c4[_0x189feb(0x3d4)]?_0x5dc19d([..._0x55e4c4,...this['_setAttachmentResources'](_0x56e492,_0x18ed64,Array[_0x189feb(0x1ea)](_0x5d5359[_0x189feb(0x404)]()))]):_0xcf3cf2[_0x189feb(0x597)][_0x189feb(0x5f9)]([_0x189feb(0x3d7),_0x18ed64,_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)],_0x56e492[_0x189feb(0x2a3)]);}[_0x2b8d6a(0x3ed)](_0x90969b,_0x34a0bd,_0x459e55){const _0x3a994c=_0x2b8d6a;let _0x4bf4f6=_0x90969b[_0x3a994c(0x3d7)][_0x34a0bd];if(_0x4bf4f6[_0x3a994c(0x3b5)][_0x459e55[_0x3a994c(0x48c)]['id']]||_0x4bf4f6[_0x3a994c(0x4ab)][_0x3a994c(0x299)](_0x459e55['field']['id']))return _0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x5f9)](['tables',_0x34a0bd,'fieldOrder'],_0x4bf4f6[_0x3a994c(0x4ab)],_0x4bf4f6[_0x3a994c(0x4ab)]);let _0x2c6d8c=Math[_0x3a994c(0x591)](0x1,_0x459e55[_0x3a994c(0x295)]??_0x4bf4f6['fieldOrder'][_0x3a994c(0x3d4)]),_0x5b6b78=Object['values'](_0x4bf4f6[_0x3a994c(0x2e4)]??{})['flatMap'](_0x264a20=>{const _0x170288=_0x3a994c;var _0x44a0aa;if(!_0x264a20[_0x170288(0x4ab)]||_0x264a20[_0x170288(0x4ab)][_0x170288(0x299)](_0x459e55[_0x170288(0x48c)]['id']))return[];let _0x2edb00=_0x54640f(((_0x44a0aa=_0x459e55['viewIndexes'])==null?void 0x0:_0x44a0aa[_0x264a20['id']])??_0x2c6d8c,_0x264a20[_0x170288(0x4ab)][_0x170288(0x3d4)]);return[_0xcf3cf2[_0x170288(0x597)][_0x170288(0x3f0)]([..._0x4b16d6['view'](_0x34a0bd,_0x264a20['id']),_0x170288(0x4ab),_0x2edb00],_0x459e55['field']['id'])];});return _0x5dc19d([..._0x459e55[_0x3a994c(0x48c)]['type']===_0xcf3cf2[_0x3a994c(0x435)]['Formula']?this[_0x3a994c(0x33d)](_0x90969b):[],_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6['field'](_0x34a0bd,_0x459e55['field']['id']),_0x459e55[_0x3a994c(0x48c)]),_0xcf3cf2[_0x3a994c(0x597)][_0x3a994c(0x3f0)](_0x4b16d6[_0x3a994c(0x4ab)](_0x34a0bd,_0x2c6d8c),_0x459e55[_0x3a994c(0x48c)]['id']),..._0x5b6b78]);}[_0x2b8d6a(0x2b8)](_0x21cc23,_0x30bb7d,_0x2c899f,_0x14a2c4){const _0x268083=_0x2b8d6a;let _0x1c9b7e=_0x21cc23[_0x268083(0x3d7)][_0x30bb7d];if(!_0x1c9b7e[_0x268083(0x3b5)][_0x2c899f]||_0x1c9b7e[_0x268083(0x3b5)][_0x14a2c4[_0x268083(0x48c)]['id']]||_0x1c9b7e['fieldOrder'][_0x268083(0x299)](_0x14a2c4['field']['id']))return _0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)]);let _0x5ea4ad=_0x14a2c4[_0x268083(0x295)]??_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x267)](_0x2c899f)+0x1,_0x1aee2a=_0x1c9b7e[_0x268083(0x4ab)][_0x268083(0x355)](_0x1e456c=>_0x1e456c!==_0x14a2c4['field']['id']),_0x1161a5=_0x395bbb(_0x1aee2a,_0x14a2c4['field']['id'],_0x5ea4ad),_0x34a4fa=Object['values'](_0x1c9b7e[_0x268083(0x2e4)]??{})[_0x268083(0x5d0)](_0x2dd127=>{const _0x4626ce=_0x268083;var _0x173dcc,_0x2e910c,_0x3c27be,_0x50bc67;let _0x116170=(_0x173dcc=_0x2dd127[_0x4626ce(0x4ab)])!=null&&_0x173dcc[_0x4626ce(0x3d4)]?_0x2dd127['fieldOrder']:_0x1aee2a;if(_0x116170[_0x4626ce(0x299)](_0x14a2c4[_0x4626ce(0x48c)]['id']))return[];let _0xd489fc=_0x395bbb(_0x116170,_0x14a2c4[_0x4626ce(0x48c)]['id'],((_0x2e910c=_0x14a2c4['viewIndexes'])==null?void 0x0:_0x2e910c[_0x2dd127['id']])??_0x5ea4ad),_0x3a77b1=(_0x3c27be=_0x2dd127['fieldSettings'])==null?void 0x0:_0x3c27be[_0x2c899f];return[this['_replaceOptional']([..._0x4b16d6[_0x4626ce(0x2e6)](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x4ab)],_0x2dd127[_0x4626ce(0x4ab)],_0xd489fc),..._0x3a77b1?[this['_replaceOptional']([..._0x4b16d6['view'](_0x30bb7d,_0x2dd127['id']),_0x4626ce(0x239),_0x14a2c4[_0x4626ce(0x48c)]['id']],(_0x50bc67=_0x2dd127[_0x4626ce(0x239)])==null?void 0x0:_0x50bc67[_0x14a2c4[_0x4626ce(0x48c)]['id']],_0x3a77b1)]:[]];}),_0xfd5775=Object[_0x268083(0x404)](_0x1c9b7e['records'])['filter'](_0x112318=>Object[_0x268083(0x3b1)][_0x268083(0x1ec)][_0x268083(0x29f)](_0x112318['values'],_0x2c899f))['map'](_0x362645=>this[_0x268083(0x201)](_0x4b16d6[_0x268083(0x4c1)](_0x30bb7d,_0x362645['id'],_0x14a2c4[_0x268083(0x48c)]['id']),_0x362645[_0x268083(0x404)][_0x14a2c4[_0x268083(0x48c)]['id']],_0x362645['values'][_0x2c899f]));return _0x5dc19d([..._0x14a2c4[_0x268083(0x48c)][_0x268083(0x1cc)]===_0xcf3cf2[_0x268083(0x435)][_0x268083(0x25e)]?this['_materializeFormulaTableNames'](_0x21cc23):[],_0xcf3cf2[_0x268083(0x597)][_0x268083(0x3f0)](_0x4b16d6[_0x268083(0x48c)](_0x30bb7d,_0x14a2c4[_0x268083(0x48c)]['id']),_0x14a2c4[_0x268083(0x48c)]),_0xcf3cf2[_0x268083(0x597)][_0x268083(0x5f9)]([_0x268083(0x3d7),_0x30bb7d,_0x268083(0x4ab)],_0x1c9b7e[_0x268083(0x4ab)],_0x1161a5),..._0x34a4fa,..._0xfd5775]);}[_0x2b8d6a(0x56b)](_0x4d43f3,_0x908336,_0x13b27c,_0xb92f1d){const _0xacaa0e=_0x2b8d6a;let _0x33dc42=_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336]['fields'][_0x13b27c],_0x13c47b={..._0x33dc42,..._0xb92f1d};Object[_0xacaa0e(0x582)](_0xb92f1d)[_0xacaa0e(0x458)](_0x518f24=>{_0xb92f1d[_0x518f24]===void 0x0&&delete _0x13c47b[_0x518f24];});let _0x31bd81=_0x5744dd(_0x4d43f3[_0xacaa0e(0x3d7)][_0x908336],_0x13b27c,_0x33dc42,_0x13c47b);_0x13c47b=_0x31bd81[_0xacaa0e(0x48c)];let _0x2cd418=_0xcf3cf2[_0xacaa0e(0x597)][_0xacaa0e(0x5f9)](_0x4b16d6[_0xacaa0e(0x48c)](_0x908336,_0x13b27c),_0x33dc42,_0x13c47b);return _0x13c47b[_0xacaa0e(0x1cc)]===_0xcf3cf2[_0xacaa0e(0x435)]['Formula']?_0x5dc19d([...this[_0xacaa0e(0x33d)](_0x4d43f3),_0x2cd418,...this[_0xacaa0e(0x47e)](_0x4d43f3,_0x908336,_0x13b27c,_0x13c47b)]):_0x5dc19d([_0x2cd418,..._0x31bd81[_0xacaa0e(0x39b)]['length']?[this['setRangeValues'](_0x4d43f3,_0x908336,_0x31bd81[_0xacaa0e(0x39b)])]:[]]);}[_0x2b8d6a(0x319)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713){const _0x1f494f=_0x2b8d6a;return this[_0x1f494f(0x56b)](_0x1b0cec,_0x33b108,_0x4e6484,_0x2de713);}[_0x2b8d6a(0x32b)](_0x4c5ef4,_0x55adad,_0x2346a1){const _0x407b7e=_0x2b8d6a;let _0x594ea8=_0x4c5ef4[_0x407b7e(0x3d7)][_0x55adad];if(!(_0x594ea8!=null&&_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1])||_0x594ea8[_0x407b7e(0x4b4)]===_0x2346a1||_0x2346a1===_0xcf3cf2[_0x407b7e(0x509)])return _0xcf3cf2[_0x407b7e(0x597)]['replaceOp']([_0x407b7e(0x3d7),_0x55adad,_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)],_0x594ea8==null?void 0x0:_0x594ea8[_0x407b7e(0x4ab)]);let _0x3bdcc1=_0x594ea8[_0x407b7e(0x4ab)]['indexOf'](_0x2346a1),_0x1a8710=Object['values'](_0x594ea8[_0x407b7e(0x2e4)])[_0x407b7e(0x5d0)](_0x3cbf8d=>{const _0x2f3650=_0x407b7e;var _0x2b3156,_0x4f7538,_0x1a1f1b,_0x5d75eb,_0x5ad8db,_0x2fdd94,_0x2ee593;let _0x1103a1=[],_0x2d4051=((_0x2b3156=_0x3cbf8d[_0x2f3650(0x4ab)])==null?void 0x0:_0x2b3156['indexOf'](_0x2346a1))??-0x1;_0x2d4051>=0x0&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x4ab),_0x2d4051],_0x2346a1));let _0x19b2b8=(_0x4f7538=_0x3cbf8d['fieldSettings'])==null?void 0x0:_0x4f7538[_0x2346a1];_0x19b2b8!==void 0x0&&_0x1103a1['push'](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x594)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'fieldSettings',_0x2346a1],_0x19b2b8));let _0x39266c=_0x3cbf8d['filter']?{..._0x3cbf8d[_0x2f3650(0x355)],'conditions':_0x3cbf8d[_0x2f3650(0x355)][_0x2f3650(0x4ef)]['filter'](_0x5adf70=>_0x5adf70[_0x2f3650(0x580)]!==_0x2346a1)}:_0x3cbf8d[_0x2f3650(0x355)];_0x39266c&&_0x39266c[_0x2f3650(0x4ef)]['length']!==((_0x1a1f1b=_0x3cbf8d[_0x2f3650(0x355)])==null?void 0x0:_0x1a1f1b[_0x2f3650(0x4ef)][_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6[_0x2f3650(0x2e6)](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x355)],_0x3cbf8d[_0x2f3650(0x355)],_0x39266c));let _0x76138f=(_0x5d75eb=_0x3cbf8d[_0x2f3650(0x24e)])==null?void 0x0:_0x5d75eb[_0x2f3650(0x355)](_0x508403=>_0x508403[_0x2f3650(0x580)]!==_0x2346a1);_0x76138f&&_0x76138f[_0x2f3650(0x3d4)]!==((_0x5ad8db=_0x3cbf8d['sort'])==null?void 0x0:_0x5ad8db[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this['_replaceOptional']([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x24e)],_0x3cbf8d[_0x2f3650(0x24e)],_0x76138f));let _0x2e0388=(_0x2fdd94=_0x3cbf8d['group'])==null?void 0x0:_0x2fdd94[_0x2f3650(0x355)](_0x2f6142=>_0x2f6142[_0x2f3650(0x580)]!==_0x2346a1);_0x2e0388&&_0x2e0388[_0x2f3650(0x3d4)]!==((_0x2ee593=_0x3cbf8d['group'])==null?void 0x0:_0x2ee593[_0x2f3650(0x3d4)])&&_0x1103a1[_0x2f3650(0x309)](this[_0x2f3650(0x201)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),_0x2f3650(0x484)],_0x3cbf8d[_0x2f3650(0x484)],_0x2e0388));let _0x1a9c87=_0x2a7a83(_0x3cbf8d[_0x2f3650(0x5a3)],_0x2346a1);return JSON[_0x2f3650(0x322)](_0x1a9c87)!==JSON[_0x2f3650(0x322)](_0x3cbf8d[_0x2f3650(0x5a3)])&&_0x1103a1[_0x2f3650(0x309)](_0xcf3cf2[_0x2f3650(0x597)][_0x2f3650(0x5f9)]([..._0x4b16d6['view'](_0x55adad,_0x3cbf8d['id']),'config'],_0x3cbf8d[_0x2f3650(0x5a3)],_0x1a9c87)),_0x1103a1;}),_0x3b033d=Object[_0x407b7e(0x404)](_0x594ea8['records'])['flatMap'](_0x3d2c8a=>Object[_0x407b7e(0x3b1)][_0x407b7e(0x1ec)][_0x407b7e(0x29f)](_0x3d2c8a[_0x407b7e(0x404)],_0x2346a1)?[_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4c1)](_0x55adad,_0x3d2c8a['id'],_0x2346a1),_0x3d2c8a[_0x407b7e(0x404)][_0x2346a1])]:[]);return _0x5dc19d([_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x48c)](_0x55adad,_0x2346a1),_0x594ea8[_0x407b7e(0x3b5)][_0x2346a1]),_0xcf3cf2[_0x407b7e(0x597)][_0x407b7e(0x594)](_0x4b16d6[_0x407b7e(0x4ab)](_0x55adad,_0x3bdcc1),_0x2346a1),..._0x1a8710,..._0x3b033d,...this[_0x407b7e(0x2dc)](_0x594ea8,_0x55adad,_0x51a04c=>_0x51a04c[_0x407b7e(0x26d)](_0x2346a1+'\x1f'))]);}[_0x2b8d6a(0x21b)](_0x4195e4,_0x61ec97,_0x4e07dc,_0x1ce68c){const _0x53a1f8=_0x2b8d6a;let _0x4915fd=_0x4195e4[_0x53a1f8(0x3d7)][_0x61ec97]['fieldOrder'];if(_0x4e07dc===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x1ce68c[_0x53a1f8(0x24d)]===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x1b83b2=_0xa9284c(_0x4915fd,_0x4e07dc,_0x1ce68c);return _0xcf3cf2[_0x53a1f8(0x597)][_0x53a1f8(0x5f9)]([_0x53a1f8(0x3d7),_0x61ec97,_0x53a1f8(0x4ab)],_0x4915fd,_0x1b83b2);}[_0x2b8d6a(0x490)](_0x14ff8c,_0x43acff,_0x11f09e,_0x4ba55f=_0x14ff8c['tables'][_0x43acff]['viewOrder'][_0x2b8d6a(0x3d4)]){const _0x5b0e28=_0x2b8d6a;return _0x5dc19d([_0xcf3cf2[_0x5b0e28(0x597)][_0x5b0e28(0x3f0)](_0x4b16d6[_0x5b0e28(0x2e6)](_0x43acff,_0x11f09e['id']),_0x11f09e),_0xcf3cf2['JSON1'][_0x5b0e28(0x3f0)]([_0x5b0e28(0x3d7),_0x43acff,_0x5b0e28(0x49a),_0x4ba55f],_0x11f09e['id'])]);}[_0x2b8d6a(0x2d2)](_0x3e9ebf,_0x1d9dae,_0x465b74,_0xd91b12){const _0x2fde13=_0x2b8d6a;return _0xcf3cf2[_0x2fde13(0x597)]['replaceOp']([..._0x4b16d6[_0x2fde13(0x2e6)](_0x1d9dae,_0x465b74),'name'],_0x3e9ebf['tables'][_0x1d9dae]['views'][_0x465b74]['name'],_0xd91b12);}['deleteView'](_0x1f4228,_0x343443,_0xb5029c){const _0x400266=_0x2b8d6a;let _0x2e2e87=_0x1f4228[_0x400266(0x3d7)][_0x343443],_0x3fa585=_0x2e2e87[_0x400266(0x2e4)][_0xb5029c],_0x2c9d7e=_0x2e2e87[_0x400266(0x49a)][_0x400266(0x267)](_0xb5029c);return _0x5dc19d([_0xcf3cf2['JSON1'][_0x400266(0x594)](_0x4b16d6['view'](_0x343443,_0xb5029c),_0x3fa585),_0xcf3cf2[_0x400266(0x597)][_0x400266(0x594)]([_0x400266(0x3d7),_0x343443,_0x400266(0x49a),_0x2c9d7e],_0xb5029c)]);}[_0x2b8d6a(0x495)](_0x1a757a,_0x2ac6f0,_0x3f8468,_0x49bd92){const _0xe1ae73=_0x2b8d6a;let _0x2e3d7a=_0x1a757a[_0xe1ae73(0x3d7)][_0x2ac6f0][_0xe1ae73(0x49a)],_0x224edc=_0xa9284c(_0x2e3d7a,_0x3f8468,{'beforeFieldId':_0x49bd92['beforeViewId'],'afterFieldId':_0x49bd92[_0xe1ae73(0x3d9)]});return _0xcf3cf2[_0xe1ae73(0x597)]['replaceOp']([_0xe1ae73(0x3d7),_0x2ac6f0,_0xe1ae73(0x49a)],_0x2e3d7a,_0x224edc);}[_0x2b8d6a(0x4aa)](_0x44e334,_0x199a7e,_0x539f66,_0xfd7cb2){const _0xad7a6e=_0x2b8d6a;let _0x256114=_0x44e334['tables'][_0x199a7e][_0xad7a6e(0x2e4)][_0x539f66][_0xad7a6e(0x5a3)]??{},_0x42ffde={..._0x256114,..._0xfd7cb2};return Object[_0xad7a6e(0x582)](_0xfd7cb2)[_0xad7a6e(0x458)](_0x33f703=>{_0xfd7cb2[_0x33f703]===void 0x0&&delete _0x42ffde[_0x33f703];}),_0xcf3cf2['JSON1'][_0xad7a6e(0x5f9)]([..._0x4b16d6['view'](_0x199a7e,_0x539f66),_0xad7a6e(0x5a3)],_0x256114,_0x42ffde);}['setViewFilter'](_0x4d0856,_0x534632,_0x1e41c8,_0x2acac5){const _0x6b991d=_0x2b8d6a;return this[_0x6b991d(0x201)]([..._0x4b16d6[_0x6b991d(0x2e6)](_0x534632,_0x1e41c8),_0x6b991d(0x355)],_0x4d0856[_0x6b991d(0x3d7)][_0x534632][_0x6b991d(0x2e4)][_0x1e41c8][_0x6b991d(0x355)],_0x2acac5);}['setViewSort'](_0x37548d,_0x3ed446,_0x4fd0ae,_0x417947){const _0x279517=_0x2b8d6a;return this[_0x279517(0x201)]([..._0x4b16d6['view'](_0x3ed446,_0x4fd0ae),_0x279517(0x24e)],_0x37548d[_0x279517(0x3d7)][_0x3ed446]['views'][_0x4fd0ae]['sort'],_0x417947);}[_0x2b8d6a(0x273)](_0x3784c4,_0x298d73,_0xd3acca,_0x1f600c){const _0x1cf90b=_0x2b8d6a;return this[_0x1cf90b(0x201)]([..._0x4b16d6['view'](_0x298d73,_0xd3acca),'group'],_0x3784c4['tables'][_0x298d73][_0x1cf90b(0x2e4)][_0xd3acca][_0x1cf90b(0x484)],_0x1f600c);}['setViewFieldVisible'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,_0x33261b){return this['_setViewFieldSetting'](_0x455fed,_0x51ff2b,_0x42d4d3,_0x412ee8,{'hidden':!_0x33261b});}[_0x2b8d6a(0x50b)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,_0xb4950){const _0x13ecac=_0x2b8d6a;return this[_0x13ecac(0x5ea)](_0x1d2391,_0x6ff8fd,_0x1da1cd,_0x1e969a,{'width':_0xb4950});}['setViewFieldOrder'](_0xc74f56,_0x115a11,_0x4097f4,_0x1424ec,_0x3f3364){const _0x3947d5=_0x2b8d6a;let _0x1642e2=_0xc74f56[_0x3947d5(0x3d7)][_0x115a11][_0x3947d5(0x2e4)][_0x4097f4],_0x26e75b=_0xa9284c(_0x1642e2[_0x3947d5(0x4ab)]??_0xc74f56[_0x3947d5(0x3d7)][_0x115a11]['fieldOrder'],_0x1424ec,_0x3f3364);return this['_replaceOptional']([..._0x4b16d6['view'](_0x115a11,_0x4097f4),_0x3947d5(0x4ab)],_0x1642e2[_0x3947d5(0x4ab)],_0x26e75b);}[_0x2b8d6a(0x5ea)](_0x291070,_0x469df6,_0x12b4ce,_0x552151,_0x4485a){const _0x46d830=_0x2b8d6a;let _0x2ca5ce=_0x291070[_0x46d830(0x3d7)][_0x469df6][_0x46d830(0x2e4)][_0x12b4ce]['fieldSettings']??{},_0x41b27c={..._0x2ca5ce,[_0x552151]:{..._0x2ca5ce[_0x552151],..._0x4485a}};return this[_0x46d830(0x201)]([..._0x4b16d6[_0x46d830(0x2e6)](_0x469df6,_0x12b4ce),_0x46d830(0x239)],_0x291070[_0x46d830(0x3d7)][_0x469df6]['views'][_0x12b4ce][_0x46d830(0x239)],_0x41b27c);}[_0x2b8d6a(0x52a)](_0x42bcbe,_0x278880,_0x344b37){const _0x37b6e8=_0x2b8d6a;let _0x65f2a2=_0x42bcbe[_0x37b6e8(0x3d7)][_0x278880],_0x5ea579=new Set(_0x344b37['map'](_0x538027=>_0x538027['id'])),_0x65cdf0=[...Object[_0x37b6e8(0x404)](_0x65f2a2[_0x37b6e8(0x38a)])['filter'](_0x906374=>!_0x5ea579[_0x37b6e8(0x244)](_0x906374['id'])),..._0x344b37][_0x37b6e8(0x24e)]((_0x126df9,_0x33f305)=>String(_0x126df9[_0x37b6e8(0x340)]??_0x126df9['id'])[_0x37b6e8(0x1f9)](String(_0x33f305[_0x37b6e8(0x340)]??_0x33f305['id'])))['map'](_0x5b6d59=>_0x5b6d59['id']),_0x462fe0=[..._0x4b16d6[_0x37b6e8(0x4b0)](_0x278880),_0x37b6e8(0x5ab)];return _0x65f2a2[_0x37b6e8(0x5ab)]?_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x5f9)](_0x462fe0,_0x65f2a2[_0x37b6e8(0x5ab)],_0x65cdf0):_0xcf3cf2[_0x37b6e8(0x597)][_0x37b6e8(0x3f0)](_0x462fe0,_0x65cdf0);}[_0x2b8d6a(0x33d)](_0x4de386,_0x276ae4=new Set()){const _0x2b9cf2=_0x2b8d6a;let _0x5d3243=(0x0,_0xcf3cf2[_0x2b9cf2(0x314)])(_0x4de386);return Object[_0x2b9cf2(0x404)](_0x4de386[_0x2b9cf2(0x3d7)])[_0x2b9cf2(0x355)](_0xe8178d=>!_0x276ae4['has'](_0xe8178d['id']))[_0x2b9cf2(0x24e)]((_0x4c5137,_0x4db764)=>_0x4c5137['id']['localeCompare'](_0x4db764['id']))[_0x2b9cf2(0x5d0)](_0x45989f=>{const _0x214a59=_0x2b9cf2;let _0x11107c=_0x5d3243[_0x214a59(0x4f0)](_0x45989f['id']);return!_0x11107c||_0x45989f['formulaName']===_0x11107c?[]:[this[_0x214a59(0x201)]([..._0x4b16d6[_0x214a59(0x4b0)](_0x45989f['id']),_0x214a59(0x298)],_0x45989f[_0x214a59(0x298)],_0x11107c)];});}['_setFormulaFieldCells'](_0x17024e,_0x4610d7,_0x58d454,_0xead4a3){const _0x227a21=_0x2b8d6a;var _0x36c6a9,_0x418cbb;let _0x16713d=_0x5d33ae(_0x17024e[_0x227a21(0x3d7)][_0x4610d7]),_0x18b9d6=String(((_0x36c6a9=_0xead4a3[_0x227a21(0x5a3)])==null?void 0x0:_0x36c6a9[_0x227a21(0x4fe)])??'')['trim'](),_0x324e9d=(_0x418cbb=_0x16713d[_0x227a21(0x1f5)])==null?void 0x0:_0x418cbb[_0x58d454];if(_0x324e9d==null)return[];let _0x5011d9=_0x16713d['recordOrder']??Object[_0x227a21(0x582)](_0x16713d[_0x227a21(0x38a)]),_0x2a80aa=_0x5011d9[_0x227a21(0x2c4)](_0x398e81=>{const _0x22dddd=_0x227a21;var _0x1affb8;return(_0x1affb8=_0x16713d[_0x22dddd(0x29a)])==null?void 0x0:_0x1affb8[_0x398e81];})[_0x227a21(0x22c)](_0x4f6610=>_0x4f6610!=null);return _0x5011d9[_0x227a21(0x5d0)](_0x42e1f4=>{const _0x22e3f6=_0x227a21;var _0x33a9cc,_0x2a503d;let _0x5772a1=(_0x33a9cc=_0x16713d[_0x22e3f6(0x29a)])==null?void 0x0:_0x33a9cc[_0x42e1f4];if(_0x5772a1==null)return[];let _0x26a485=(_0x2a503d=_0x16713d['cellData'])==null||(_0x2a503d=_0x2a503d[_0x5772a1])==null?void 0x0:_0x2a503d[_0x324e9d],_0x1d9f93=_0x18b9d6?_0x5772a1===_0x2a80aa?{'f':_0x18b9d6,'si':_0x58d454}:{'si':_0x58d454}:{'v':null,'t':null};return[this[_0x22e3f6(0x201)](_0x4b16d6[_0x22e3f6(0x2a3)](_0x4610d7,_0x5772a1,_0x324e9d),_0x26a485,_0x1d9f93)];});}[_0x2b8d6a(0x285)](_0x39dd7c,_0xc479f,_0x1fa799){const _0x1743c3=_0x2b8d6a;var _0x383bdc;let _0x125de4=new Map(Object[_0x1743c3(0x271)](((_0x383bdc=_0x39dd7c['resources'])==null?void 0x0:_0x383bdc[_0x1743c3(0x52b)])??{})),_0x11cc93=new Map(),_0x1edb02=new Set(),_0x47b8a3=_0x1fa799[_0x1743c3(0x2c4)](({recordId:_0xf79c06,fieldId:_0x4f3d9e,attachments:_0x42ba61})=>{const _0x2c0cff=_0x1743c3;var _0x12abc6;let _0x52de50=_0x1d1617(_0x4f3d9e,_0xf79c06),_0x3bf1e3=_0x42ba61[_0x2c0cff(0x2c4)]((_0x2dd41c,_0x836260)=>String(_0x2dd41c['id']??_0x52de50+'\x1f'+_0x836260));return _0x1edb02[_0x2c0cff(0x1d6)](_0x52de50),_0x125de4[_0x2c0cff(0x22b)](_0x52de50,_0x3bf1e3),_0x42ba61['forEach']((_0x49698a,_0x3efa7f)=>{const _0x445430=_0x2c0cff;let _0x4a6565=_0x3bf1e3[_0x3efa7f];_0x11cc93[_0x445430(0x22b)](_0x4a6565,{..._0x49698a,'id':_0x4a6565});}),this[_0x2c0cff(0x201)](_0x4b16d6['attachmentSet'](_0xc479f,_0x52de50),(_0x12abc6=_0x39dd7c['resources'])==null||(_0x12abc6=_0x12abc6[_0x2c0cff(0x52b)])==null?void 0x0:_0x12abc6[_0x52de50],_0x3bf1e3);}),_0x4a54de=Array[_0x1743c3(0x1ea)](_0x11cc93)['map'](([_0x463117,_0x5d86ae])=>{const _0x5c9826=_0x1743c3;var _0x255569;return this['_replaceOptional'](_0x4b16d6['attachment'](_0xc479f,_0x463117),(_0x255569=_0x39dd7c[_0x5c9826(0x482)])==null||(_0x255569=_0x255569[_0x5c9826(0x1e9)])==null?void 0x0:_0x255569[_0x463117],_0x5d86ae);}),_0x4ac1af=new Set(Array[_0x1743c3(0x1ea)](_0x125de4['values']())[_0x1743c3(0x5f1)]()),_0x4659de=new Set(Array['from'](_0x1edb02)[_0x1743c3(0x5d0)](_0x467177=>{const _0x28ebf9=_0x1743c3;var _0x5d993a;return((_0x5d993a=_0x39dd7c[_0x28ebf9(0x482)])==null||(_0x5d993a=_0x5d993a[_0x28ebf9(0x52b)])==null?void 0x0:_0x5d993a[_0x467177])??[];})),_0x51a3dc=Array[_0x1743c3(0x1ea)](_0x4659de)[_0x1743c3(0x5d0)](_0x311e98=>{const _0x2081a9=_0x1743c3;var _0xed7d06;let _0x5ef03d=(_0xed7d06=_0x39dd7c[_0x2081a9(0x482)])==null||(_0xed7d06=_0xed7d06[_0x2081a9(0x1e9)])==null?void 0x0:_0xed7d06[_0x311e98];return _0x5ef03d!==void 0x0&&!_0x4ac1af[_0x2081a9(0x244)](_0x311e98)?[_0xcf3cf2[_0x2081a9(0x597)][_0x2081a9(0x594)](_0x4b16d6[_0x2081a9(0x2f6)](_0xc479f,_0x311e98),_0x5ef03d)]:[];});return[..._0x47b8a3,..._0x4a54de,..._0x51a3dc];}['_deleteAttachmentResources'](_0x37ec77,_0x1bb10f,_0x46a476){const _0x3e1ce1=_0x2b8d6a;var _0x10465d;let _0x3a793e=((_0x10465d=_0x37ec77[_0x3e1ce1(0x482)])==null?void 0x0:_0x10465d[_0x3e1ce1(0x52b)])??{},_0x5f1706=Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x17bc53])=>_0x46a476(_0x17bc53));if(!_0x5f1706[_0x3e1ce1(0x3d4)])return[];let _0x58c2e4=new Set(Object[_0x3e1ce1(0x271)](_0x3a793e)[_0x3e1ce1(0x355)](([_0x1901bc])=>!_0x46a476(_0x1901bc))['flatMap'](([,_0x397aca])=>_0x397aca)),_0x5741b5=new Set(_0x5f1706[_0x3e1ce1(0x5d0)](([,_0x188354])=>_0x188354));return[..._0x5f1706[_0x3e1ce1(0x2c4)](([_0x3563b3,_0x124e1f])=>_0xcf3cf2['JSON1']['removeOp'](_0x4b16d6[_0x3e1ce1(0x23f)](_0x1bb10f,_0x3563b3),_0x124e1f)),...Array[_0x3e1ce1(0x1ea)](_0x5741b5)[_0x3e1ce1(0x5d0)](_0x43920c=>{const _0x26d442=_0x3e1ce1;var _0x4e885d;let _0x4ad6fc=(_0x4e885d=_0x37ec77[_0x26d442(0x482)])==null||(_0x4e885d=_0x4e885d['attachments'])==null?void 0x0:_0x4e885d[_0x43920c];return _0x4ad6fc!==void 0x0&&!_0x58c2e4[_0x26d442(0x244)](_0x43920c)?[_0xcf3cf2['JSON1'][_0x26d442(0x594)](_0x4b16d6['attachment'](_0x1bb10f,_0x43920c),_0x4ad6fc)]:[];})];}[_0x2b8d6a(0x201)](_0x193ca7,_0x582547,_0x5460a6){const _0x1a107d=_0x2b8d6a;return _0x582547===void 0x0?_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x3f0)](_0x193ca7,_0x5460a6):_0xcf3cf2[_0x1a107d(0x597)][_0x1a107d(0x5f9)](_0x193ca7,_0x582547,_0x5460a6);}};function _0x5744dd(_0x1e0837,_0x120913,_0x4c6822,_0x339208){const _0x284e9e=_0x2b8d6a;var _0x4881e7;let _0x2c35aa=_0x339208[_0x284e9e(0x1cc)];if(_0x4c6822['type']!==_0x2c35aa||_0x2c35aa!==_0xcf3cf2['BaseFieldType']['SingleSelect']&&_0x2c35aa!==_0xcf3cf2[_0x284e9e(0x435)]['MultiSelect']||_0x4ae32c(_0x339208[_0x284e9e(0x5a3)]['optionSource']))return{'field':_0x339208,'patches':[]};let _0x417e02=_0x157e33(_0x4c6822),_0x3f7ec5=_0x157e33(_0x339208);if(![..._0x417e02][_0x284e9e(0x20f)](_0x4a278c=>!_0x3f7ec5['has'](_0x4a278c)))return{'field':_0x339208,'patches':[]};let _0x54359b=_0x3c2a7f(_0x339208['defaultValue'],_0x3f7ec5,_0x2c35aa),_0x8dc5d8=_0x2d1fc7(_0x54359b,_0x339208[_0x284e9e(0x334)])?_0x339208:{..._0x339208,'defaultValue':_0x54359b},_0x45c43e=_0x5d33ae(_0x1e0837),_0x18e0e9=(_0x4881e7=_0x45c43e[_0x284e9e(0x1f5)])==null?void 0x0:_0x4881e7[_0x120913];return _0x18e0e9==null?{'field':_0x8dc5d8,'patches':[]}:{'field':_0x8dc5d8,'patches':(_0x45c43e[_0x284e9e(0x5ab)]??[])[_0x284e9e(0x5d0)](_0x3c2c0e=>{const _0x2b0d40=_0x284e9e;var _0x130efd,_0xb585b1;let _0x297786=(_0x130efd=_0x45c43e[_0x2b0d40(0x29a)])==null?void 0x0:_0x130efd[_0x3c2c0e],_0x2b3198=(_0xb585b1=_0x45c43e[_0x2b0d40(0x38a)][_0x3c2c0e])==null?void 0x0:_0xb585b1[_0x2b0d40(0x404)][_0x120913],_0x533a7e=_0x3c2a7f(_0x2b3198,_0x3f7ec5,_0x2c35aa);return _0x297786==null||_0x2d1fc7(_0x533a7e,_0x2b3198)?[]:[{'row':_0x297786,'col':_0x18e0e9,'value':_0x533a7e??null}];})};}function _0x4ae32c(_0x2e7c5b){const _0x2e53c7=_0x2b8d6a;return typeof _0x2e7c5b==_0x2e53c7(0x240)&&!!_0x2e7c5b&&_0x2e53c7(0x1cc)in _0x2e7c5b&&_0x2e7c5b['type']===_0x2e53c7(0x48c);}function _0x157e33(_0x25a193){const _0x3bab66=_0x2b8d6a;var _0x4d297d;let _0x56a61c=Array[_0x3bab66(0x2a1)]((_0x4d297d=_0x25a193[_0x3bab66(0x5a3)])==null?void 0x0:_0x4d297d[_0x3bab66(0x5cc)])?_0x25a193[_0x3bab66(0x5a3)][_0x3bab66(0x5cc)]:[];return new Set(_0x56a61c[_0x3bab66(0x5d0)](_0x4fd36f=>{if(!_0x4fd36f||typeof _0x4fd36f!='object'||!('id'in _0x4fd36f))return[];let _0xb19225=String(_0x4fd36f['id']);return _0xb19225?[_0xb19225]:[];}));}function _0x3c2a7f(_0x1b5e77,_0xfe6832,_0x1efc4e){const _0x3ec684=_0x2b8d6a;if(_0x1b5e77==null||_0x1b5e77==='')return _0x1b5e77;if(_0x1efc4e===_0xcf3cf2[_0x3ec684(0x435)]['SingleSelect'])return _0xfe6832[_0x3ec684(0x244)](String(_0x1b5e77))?_0x1b5e77:null;let _0x43d919=Array['isArray'](_0x1b5e77)?_0x1b5e77[_0x3ec684(0x2c4)](String):String(_0x1b5e77)[_0x3ec684(0x339)](',')[_0x3ec684(0x2c4)](_0x15a93b=>_0x15a93b['trim']())['filter'](Boolean),_0x40502f=_0x43d919[_0x3ec684(0x355)](_0x4b78e6=>_0xfe6832[_0x3ec684(0x244)](_0x4b78e6));return _0x40502f['length']===_0x43d919[_0x3ec684(0x3d4)]?_0x1b5e77:Array[_0x3ec684(0x2a1)](_0x1b5e77)?_0x40502f:String(_0x1b5e77)['includes'](',')?_0x40502f['join'](','):_0x40502f[0x0]??[];}function _0x2d1fc7(_0x4f93bc,_0xc220b0){const _0x56614b=_0x2b8d6a;return JSON[_0x56614b(0x322)](_0x4f93bc)===JSON['stringify'](_0xc220b0);}function _0x3b56e8(_0x33cdee,_0x17876d,_0x303f9c){const _0x4e22aa=_0x2b8d6a;var _0x3851e4,_0x45abc8,_0x5bb667,_0x7fe752;let _0x44f17e=(_0x3851e4=_0x33cdee[_0x4e22aa(0x29a)])==null?void 0x0:_0x3851e4[_0x17876d],_0x105d79=(_0x45abc8=_0x33cdee[_0x4e22aa(0x1f5)])==null?void 0x0:_0x45abc8[_0x303f9c];return _0x44f17e!=null&&_0x105d79!=null&&((_0x5bb667=_0x33cdee[_0x4e22aa(0x369)])==null?void 0x0:_0x5bb667[_0x44f17e])===_0x17876d&&((_0x7fe752=_0x33cdee[_0x4e22aa(0x4df)])==null?void 0x0:_0x7fe752[_0x105d79])===_0x303f9c&&_0x33cdee['cellData']!=null;}function _0x46c8b0(_0xbbace2,_0x60e9dd,_0x297789){const _0x1bee44=_0x2b8d6a;var _0xc3db5a,_0x47e961;return((_0xc3db5a=_0xbbace2['rowId'])==null?void 0x0:_0xc3db5a[_0x60e9dd])!=null&&((_0x47e961=_0xbbace2[_0x1bee44(0x4df)])==null?void 0x0:_0x47e961[_0x297789])!=null&&_0xbbace2[_0x1bee44(0x2a3)]!=null;}function _0xa9284c(_0x3bd4ff,_0x1894de,_0x3a09cd){const _0x4dd0a5=_0x2b8d6a;let _0x16810d=_0x3bd4ff[_0x4dd0a5(0x355)](_0xc6f297=>_0xc6f297!==_0x1894de),_0x23e43a=_0x3a09cd[_0x4dd0a5(0x24d)]?_0x16810d[_0x4dd0a5(0x267)](_0x3a09cd[_0x4dd0a5(0x24d)]):_0x3a09cd['afterFieldId']?_0x16810d['indexOf'](_0x3a09cd[_0x4dd0a5(0x58f)])+0x1:_0x16810d[_0x4dd0a5(0x3d4)];return _0x16810d['splice'](_0x23e43a<0x0?_0x16810d[_0x4dd0a5(0x3d4)]:_0x23e43a,0x0,_0x1894de),_0x16810d;}function _0x395bbb(_0x3e049b,_0x270950,_0x20bf3a){const _0x4616bd=_0x2b8d6a;let _0xed7b7=_0x3e049b[_0x4616bd(0x355)](_0x5653e0=>_0x5653e0!==_0x270950);return _0xed7b7['splice'](_0x54640f(_0x20bf3a,_0xed7b7['length']),0x0,_0x270950),_0xed7b7;}function _0x2a7a83(_0x18b582,_0x1cabd5,_0x45c88e){const _0x3eb999=_0x2b8d6a;if(Array[_0x3eb999(0x2a1)](_0x18b582))return _0x45c88e===_0x3eb999(0x4a6)?_0x18b582[_0x3eb999(0x355)](_0x5e9631=>_0x5e9631!==_0x1cabd5):_0x18b582[_0x3eb999(0x5d0)](_0x10cc87=>{const _0x414c70=_0x3eb999;if(_0x10cc87&&typeof _0x10cc87==_0x414c70(0x240)&&!Array[_0x414c70(0x2a1)](_0x10cc87)&&_0x10cc87['fieldId']===_0x1cabd5)return[];let _0x396511=_0x2a7a83(_0x10cc87,_0x1cabd5);return _0x396511===void 0x0?[]:[_0x396511];});if(!_0x18b582||typeof _0x18b582!=_0x3eb999(0x240))return _0x45c88e!=null&&_0x45c88e[_0x3eb999(0x4ec)](_0x3eb999(0x38b))&&_0x18b582===_0x1cabd5?void 0x0:_0x18b582;let _0x15e3ee=_0x18b582;if(_0x15e3ee[_0x3eb999(0x580)]!==_0x1cabd5)return Object[_0x3eb999(0x3a6)](Object[_0x3eb999(0x271)](_0x15e3ee)['flatMap'](([_0x3aabc9,_0x1c1346])=>{if(_0x3aabc9===_0x1cabd5&&_0x45c88e==='fieldSettings')return[];let _0x26d88e=_0x2a7a83(_0x1c1346,_0x1cabd5,_0x3aabc9);return _0x26d88e===void 0x0?[]:[[_0x3aabc9,_0x26d88e]];}));}function _0x54640f(_0x499896,_0x30b01e){const _0x5cdba8=_0x2b8d6a;return Math[_0x5cdba8(0x591)](0x0,Math['min'](_0x499896,_0x30b01e));}function _0x20aa1f(_0x21d311){'@babel/helpers - typeof';const _0x294c70=_0x2b8d6a;return _0x20aa1f=typeof Symbol==_0x294c70(0x2fe)&&typeof Symbol[_0x294c70(0x517)]==_0x294c70(0x5e8)?function(_0x4702db){return typeof _0x4702db;}:function(_0xdd5e7a){const _0x42e3b9=_0x294c70;return _0xdd5e7a&&typeof Symbol==_0x42e3b9(0x2fe)&&_0xdd5e7a['constructor']===Symbol&&_0xdd5e7a!==Symbol['prototype']?_0x42e3b9(0x5e8):typeof _0xdd5e7a;},_0x20aa1f(_0x21d311);}function _0x29d107(_0x318f58,_0x2d35e7){const _0x6510fe=_0x2b8d6a;if(_0x20aa1f(_0x318f58)!='object'||!_0x318f58)return _0x318f58;var _0xe98d5f=_0x318f58[Symbol[_0x6510fe(0x4e6)]];if(_0xe98d5f!==void 0x0){var _0x18e51=_0xe98d5f[_0x6510fe(0x29f)](_0x318f58,_0x2d35e7||'default');if(_0x20aa1f(_0x18e51)!='object')return _0x18e51;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d35e7===_0x6510fe(0x3ea)?String:Number)(_0x318f58);}function _0x423dfb(_0x8f1251){const _0x2d55b3=_0x2b8d6a;var _0x2f11a5=_0x29d107(_0x8f1251,_0x2d55b3(0x3ea));return _0x20aa1f(_0x2f11a5)==_0x2d55b3(0x5e8)?_0x2f11a5:_0x2f11a5+'';}function _0x550e57(_0x1f318d,_0x5a4a17,_0x162059){const _0x248b25=_0x2b8d6a;return(_0x5a4a17=_0x423dfb(_0x5a4a17))in _0x1f318d?Object[_0x248b25(0x2c1)](_0x1f318d,_0x5a4a17,{'value':_0x162059,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f318d[_0x5a4a17]=_0x162059,_0x1f318d;}let _0x3dec17=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4af));var _0x4d1e59=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x4ac837){const _0xb7b9e5=_0x2b8d6a;super(..._0x4ac837),_0x550e57(this,_0xb7b9e5(0x254),new Map());}['register'](_0x421cc5){const _0x56493c=_0x2b8d6a;return this[_0x56493c(0x254)]['set'](_0x421cc5[_0x56493c(0x1cc)],_0x421cc5),(0x0,_0xcf3cf2[_0x56493c(0x368)])(()=>this[_0x56493c(0x254)][_0x56493c(0x472)](_0x421cc5[_0x56493c(0x1cc)]));}[_0x2b8d6a(0x4f0)](_0x59cba8){const _0x4a5f08=_0x2b8d6a;let _0xf87397=this[_0x4a5f08(0x254)][_0x4a5f08(0x4f0)](_0x59cba8);if(!_0xf87397)throw Error(_0x4a5f08(0x429)+_0x59cba8+_0x4a5f08(0x4e1));return _0xf87397;}[_0x2b8d6a(0x248)](_0x491b22){const _0x5eb842=_0x2b8d6a;return this['_plugins'][_0x5eb842(0x4f0)](_0x491b22);}[_0x2b8d6a(0x2ed)](){const _0x5c7583=_0x2b8d6a;return Array[_0x5c7583(0x1ea)](this[_0x5c7583(0x254)]['values']());}},_0x2ded4b=class{constructor(_0x421215){const _0x5db9e3=_0x2b8d6a;this[_0x5db9e3(0x20d)]=_0x421215,_0x550e57(this,_0x5db9e3(0x1cc),_0x2f5c57['UnitObject'][_0x5db9e3(0x58c)]),_0x550e57(this,_0x5db9e3(0x552),_0x2f5c57['UnitAction'][_0x5db9e3(0x20b)]),_0x550e57(this,_0x5db9e3(0x5ad),_0xcf3cf2[_0x5db9e3(0x3cc)][_0x5db9e3(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x5db9e3(0x348),!0x0),this['id']=this[_0x5db9e3(0x1cc)]+'.'+this[_0x5db9e3(0x552)]+'_'+_0x421215;}},_0x6d7997=class{constructor(_0x138177){const _0x816bb5=_0x2b8d6a;this[_0x816bb5(0x20d)]=_0x138177,_0x550e57(this,_0x816bb5(0x1cc),_0x2f5c57[_0x816bb5(0x40a)][_0x816bb5(0x58c)]),_0x550e57(this,_0x816bb5(0x552),_0x2f5c57[_0x816bb5(0x1ce)]['Copy']),_0x550e57(this,_0x816bb5(0x5ad),_0xcf3cf2[_0x816bb5(0x3cc)][_0x816bb5(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x816bb5(0x1cc)]+'.'+this[_0x816bb5(0x552)]+'_'+_0x138177;}},_0x952420=class{constructor(_0x58ea4f){const _0x407165=_0x2b8d6a;this[_0x407165(0x20d)]=_0x58ea4f,_0x550e57(this,_0x407165(0x1cc),_0x2f5c57[_0x407165(0x40a)]['Base']),_0x550e57(this,'subType',_0x2f5c57[_0x407165(0x1ce)][_0x407165(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x407165(0x3cc)][_0x407165(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x407165(0x348),!0x0),this['id']=this[_0x407165(0x1cc)]+'.'+this[_0x407165(0x552)]+'_'+_0x58ea4f;}},_0x483d33=class{constructor(_0x3a7422){const _0x56f817=_0x2b8d6a;this[_0x56f817(0x20d)]=_0x3a7422,_0x550e57(this,'type',_0x2f5c57[_0x56f817(0x40a)][_0x56f817(0x58c)]),_0x550e57(this,'subType',_0x2f5c57[_0x56f817(0x1ce)][_0x56f817(0x444)]),_0x550e57(this,_0x56f817(0x5ad),_0xcf3cf2[_0x56f817(0x3cc)]['INIT']),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x56f817(0x348),!0x0),this['id']=this[_0x56f817(0x1cc)]+'.'+this[_0x56f817(0x552)]+'_'+_0x3a7422;}},_0x47b04e=class{constructor(_0x363c99,_0x3add8a){const _0x3eaefa=_0x2b8d6a;this[_0x3eaefa(0x20d)]=_0x363c99,this[_0x3eaefa(0x3fd)]=_0x3add8a,_0x550e57(this,_0x3eaefa(0x1cc),_0x2f5c57[_0x3eaefa(0x40a)][_0x3eaefa(0x2b5)]),_0x550e57(this,_0x3eaefa(0x552),_0x2f5c57['UnitAction'][_0x3eaefa(0x241)]),_0x550e57(this,_0x3eaefa(0x5ad),_0xcf3cf2[_0x3eaefa(0x3cc)][_0x3eaefa(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x3eaefa(0x348),!0x0),this['id']=this['type']+'.'+this[_0x3eaefa(0x552)]+'_'+_0x363c99+'_'+_0x3add8a;}},_0x427275=class{constructor(_0x1d78e5,_0xcf6b61){const _0x52c66d=_0x2b8d6a;this['unitId']=_0x1d78e5,this[_0x52c66d(0x3fd)]=_0xcf6b61,_0x550e57(this,'type',_0x2f5c57[_0x52c66d(0x40a)][_0x52c66d(0x469)]),_0x550e57(this,_0x52c66d(0x552),_0x2f5c57['UnitAction'][_0x52c66d(0x241)]),_0x550e57(this,_0x52c66d(0x5ad),_0xcf3cf2[_0x52c66d(0x3cc)][_0x52c66d(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,'value',!0x0),this['id']=this[_0x52c66d(0x1cc)]+'.'+this[_0x52c66d(0x552)]+'_'+_0x1d78e5+'_'+_0xcf6b61;}},_0xc51d66=class{constructor(_0x558475,_0x35bffb){const _0x1d8663=_0x2b8d6a;this[_0x1d8663(0x20d)]=_0x558475,this[_0x1d8663(0x3fd)]=_0x35bffb,_0x550e57(this,_0x1d8663(0x1cc),_0x2f5c57[_0x1d8663(0x40a)]['BaseRecord']),_0x550e57(this,_0x1d8663(0x552),_0x2f5c57['UnitAction'][_0x1d8663(0x241)]),_0x550e57(this,_0x1d8663(0x5ad),_0xcf3cf2['PermissionStatus'][_0x1d8663(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x1d8663(0x348),!0x0),this['id']=this[_0x1d8663(0x1cc)]+'.'+this['subType']+'_'+_0x558475+'_'+_0x35bffb;}},_0x207ffd=class{constructor(_0x277ef8,_0x351f24){const _0x371b66=_0x2b8d6a;this['unitId']=_0x277ef8,this[_0x371b66(0x3fd)]=_0x351f24,_0x550e57(this,_0x371b66(0x1cc),_0x2f5c57[_0x371b66(0x40a)]['BaseTable']),_0x550e57(this,_0x371b66(0x552),_0x2f5c57['UnitAction'][_0x371b66(0x241)]),_0x550e57(this,'status',_0xcf3cf2[_0x371b66(0x3cc)][_0x371b66(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x371b66(0x348),!0x0),this['id']=this['type']+'.'+this[_0x371b66(0x552)]+'_'+_0x277ef8+'_'+_0x351f24;}},_0x2dc4a8=class{constructor(_0x3a8eaa,_0x231a62){const _0x39c0b9=_0x2b8d6a;this['unitId']=_0x3a8eaa,this[_0x39c0b9(0x3fd)]=_0x231a62,_0x550e57(this,_0x39c0b9(0x1cc),_0x2f5c57[_0x39c0b9(0x40a)]['BaseView']),_0x550e57(this,'subType',_0x2f5c57[_0x39c0b9(0x1ce)]['Edit']),_0x550e57(this,_0x39c0b9(0x5ad),_0xcf3cf2['PermissionStatus'][_0x39c0b9(0x604)]),_0x550e57(this,'id',void 0x0),_0x550e57(this,_0x39c0b9(0x348),!0x0),this['id']=this['type']+'.'+this[_0x39c0b9(0x552)]+'_'+_0x3a8eaa+'_'+_0x231a62;}};let _0x2403b2=[_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x241)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x3e3)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x444)],_0x2f5c57[_0x2b8d6a(0x1ce)][_0x2b8d6a(0x20b)]],_0x53646f=new Set([_0x2f5c57[_0x2b8d6a(0x40a)]['Base'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x560)],_0x2f5c57['UnitObject']['BaseField'],_0x2f5c57[_0x2b8d6a(0x40a)]['BaseRecord'],_0x2f5c57['UnitObject']['BaseView'],_0x2f5c57[_0x2b8d6a(0x40a)][_0x2b8d6a(0x2b5)]]),_0x23c39d='table/',_0x5f4239='field/',_0xb36195=_0x2b8d6a(0x37b),_0x290b2f=_0x2b8d6a(0x3b8),_0x182a97='dashboard/';function _0x20afd2(_0x3f6ee2){return''+_0x23c39d+encodeURIComponent(_0x3f6ee2);}function _0xe7abbf(_0xe23ec4,_0x6a71f5){return''+_0x5f4239+encodeURIComponent(_0xe23ec4)+'/'+encodeURIComponent(_0x6a71f5);}function _0x19d6d6(_0x1ee355,_0x2a391b){return''+_0xb36195+encodeURIComponent(_0x1ee355)+'/'+encodeURIComponent(_0x2a391b);}function _0x1592c3(_0x3f00d4,_0x6850a5){return''+_0x290b2f+encodeURIComponent(_0x3f00d4)+'/'+encodeURIComponent(_0x6850a5);}function _0xbd25(_0x13a24e){return''+_0x182a97+encodeURIComponent(_0x13a24e);}function _0x1a5ea7(_0x59121d,_0x58693d,_0x3a138a){const _0x2edc99=_0x2b8d6a;if(_0x58693d===_0x59121d)switch(_0x3a138a){case _0x2f5c57[_0x2edc99(0x1ce)]['Edit']:return new _0x952420(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)][_0x2edc99(0x3e3)]:return new _0x6d7997(_0x59121d);case _0x2f5c57[_0x2edc99(0x1ce)]['Export']:return new _0x483d33(_0x59121d);case _0x2f5c57['UnitAction'][_0x2edc99(0x20b)]:return new _0x2ded4b(_0x59121d);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x3a138a);}if(_0x3a138a!==_0x2f5c57['UnitAction'][_0x2edc99(0x241)])throw Error('Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20'+_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x23c39d))return new _0x207ffd(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x5f4239))return new _0x427275(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0xb36195))return new _0xc51d66(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x290b2f))return new _0x2dc4a8(_0x59121d,_0x58693d);if(_0x58693d[_0x2edc99(0x26d)](_0x182a97))return new _0x47b04e(_0x59121d,_0x58693d);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x58693d);}function _0x3aa462(_0x105d9a,_0x5e4276,_0x3fce84,_0x301500){const _0xcbaabe=_0x2b8d6a;var _0x55ffff;return((_0x55ffff=_0x105d9a[_0xcbaabe(0x463)](_0x1a5ea7(_0x5e4276,_0x3fce84,_0x301500)['id']))==null?void 0x0:_0x55ffff['value'])??!0x0;}function _0x270cb9(_0x370d9a,_0x45c295,_0x3c5fff,_0x3ea34e,_0x2ff6cc){const _0xf584f8=_0x2b8d6a;let _0x3c5c88=_0x1a5ea7(_0x45c295,_0x3c5fff,_0x3ea34e);_0x370d9a[_0xf584f8(0x463)](_0x3c5c88['id'])||_0x370d9a[_0xf584f8(0x4d7)](_0x3c5c88),_0x370d9a[_0xf584f8(0x396)](_0x3c5c88['id'],_0x2ff6cc);}function _0x968a00(_0x4aaa1a,_0x2537b8,_0x3f6d48,_0x2dc5bc){const _0x99ba9e=_0x2b8d6a;_0x4aaa1a[_0x99ba9e(0x385)](_0x1a5ea7(_0x2537b8,_0x3f6d48,_0x2dc5bc)['id']);}function _0x1fbe97(_0x196b91,_0xcd5904){_0x196b91['getAllPermissionPoint']()['forEach']((_0x5ab1d6,_0x472e25)=>{const _0x8015f9=_0x4fc4;_0x5ab1d6[_0x8015f9(0x210)](_0xdd1abe=>{const _0x4e61c3=_0x8015f9;_0x53646f['has'](_0xdd1abe[_0x4e61c3(0x1cc)])&&_0x4e61c3(0x20d)in _0xdd1abe&&_0xdd1abe['unitId']===_0xcd5904&&_0x196b91['deletePermissionPoint'](_0x472e25);})[_0x8015f9(0x55c)]();});}function _0x1484ec(_0x430395,_0x288e57,_0x227e34){const _0x1b8a8a=_0x2b8d6a;return _0x3aa462(_0x430395,_0x288e57,_0x288e57,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)])&&Array[_0x1b8a8a(0x1ea)](_0x227e34)['every'](_0x5b5d38=>_0x3aa462(_0x430395,_0x288e57,_0x5b5d38,_0x2f5c57[_0x1b8a8a(0x1ce)][_0x1b8a8a(0x241)]));}function _0x429169(_0x218de8,_0xf7273b){return function(_0x4286c1,_0x1cca14){_0xf7273b(_0x4286c1,_0x1cca14,_0x218de8);};}function _0x21a541(_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd){const _0x1eeb75=_0x2b8d6a;var _0x20fa6f=arguments[_0x1eeb75(0x3d4)],_0x5e4aaf=_0x20fa6f<0x3?_0xb31fe1:_0xf3d2dd===null?_0xf3d2dd=Object['getOwnPropertyDescriptor'](_0xb31fe1,_0x388763):_0xf3d2dd,_0x4459fa;if(typeof Reflect=='object'&&typeof Reflect[_0x1eeb75(0x3bb)]==_0x1eeb75(0x2fe))_0x5e4aaf=Reflect[_0x1eeb75(0x3bb)](_0xa8e758,_0xb31fe1,_0x388763,_0xf3d2dd);else{for(var _0x4346a2=_0xa8e758[_0x1eeb75(0x3d4)]-0x1;_0x4346a2>=0x0;_0x4346a2--)(_0x4459fa=_0xa8e758[_0x4346a2])&&(_0x5e4aaf=(_0x20fa6f<0x3?_0x4459fa(_0x5e4aaf):_0x20fa6f>0x3?_0x4459fa(_0xb31fe1,_0x388763,_0x5e4aaf):_0x4459fa(_0xb31fe1,_0x388763))||_0x5e4aaf);}return _0x20fa6f>0x3&&_0x5e4aaf&&Object[_0x1eeb75(0x2c1)](_0xb31fe1,_0x388763,_0x5e4aaf),_0x5e4aaf;}let _0x2d44c2=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x5d3)),_0x2b795c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x234b44,_0x1afe64){const _0x45bab6=_0x2b8d6a;super(),this['_permissionService']=_0x234b44,this['_instanceService']=_0x1afe64,_0x550e57(this,_0x45bab6(0x2d8),new Map()),_0x550e57(this,_0x45bab6(0x422),new Map()),_0x550e57(this,'_fieldPermissions',new Map()),_0x550e57(this,_0x45bab6(0x225),new Map()),_0x550e57(this,_0x45bab6(0x40f),new Map()),_0x550e57(this,_0x45bab6(0x246),new Map()),this[_0x45bab6(0x54b)](this[_0x45bab6(0x5d7)][_0x45bab6(0x528)](_0xcf3cf2['UniverInstanceType'][_0x45bab6(0x2bf)])[_0x45bab6(0x210)](_0x19edc4=>this[_0x45bab6(0x291)](_0x19edc4[_0x45bab6(0x4c0)]())));}[_0x2b8d6a(0x380)](_0x20db35){const _0x36a392=_0x2b8d6a;var _0x3abf52;return this[_0x36a392(0x41f)](_0x20db35,[])&&(((_0x3abf52=this[_0x36a392(0x2d8)][_0x36a392(0x4f0)](_0x20db35))==null?void 0x0:_0x3abf52[_0x36a392(0x5f0)])??!0x0);}['canEditTable'](_0x20e3e5){const _0x34fd58=_0x2b8d6a;return this[_0x34fd58(0x393)](_0x20e3e5);}[_0x2b8d6a(0x3a3)](_0x26e297){const _0x4593a1=_0x2b8d6a;var _0x4f1741;return this[_0x4593a1(0x393)](_0x26e297)&&(((_0x4f1741=this[_0x4593a1(0x422)][_0x4593a1(0x4f0)](_0x26e297))==null?void 0x0:_0x4f1741[_0x4593a1(0x472)])??!0x0);}[_0x2b8d6a(0x35b)](_0x1aa4a9){const _0x209dd6=_0x2b8d6a;var _0x9c44d5;return this[_0x209dd6(0x393)](_0x1aa4a9)&&(((_0x9c44d5=this[_0x209dd6(0x422)][_0x209dd6(0x4f0)](_0x1aa4a9))==null?void 0x0:_0x9c44d5['createField'])??!0x0);}[_0x2b8d6a(0x2f2)](_0x2d78dd,_0x2253e1){const _0x55c065=_0x2b8d6a;var _0x109694;return this[_0x55c065(0x393)](_0x2d78dd)&&this['_canEdit'](_0x2d78dd,[_0xe7abbf(_0x2d78dd,_0x2253e1)])&&(((_0x109694=this[_0x55c065(0x553)]['get'](_0x54c07a(_0x2d78dd,_0x2253e1)))==null?void 0x0:_0x109694[_0x55c065(0x417)])??!0x0);}['canDeleteField'](_0x33509e,_0x3e185b){const _0x210151=_0x2b8d6a;var _0x223485;return this[_0x210151(0x2f2)](_0x33509e,_0x3e185b)&&(((_0x223485=this[_0x210151(0x553)][_0x210151(0x4f0)](_0x54c07a(_0x33509e,_0x3e185b)))==null?void 0x0:_0x223485[_0x210151(0x472)])??!0x0);}[_0x2b8d6a(0x557)](_0x1e3f25){const _0x36cb84=_0x2b8d6a;var _0x40d923;return this[_0x36cb84(0x393)](_0x1e3f25)&&(((_0x40d923=this['_tablePermissions'][_0x36cb84(0x4f0)](_0x1e3f25))==null?void 0x0:_0x40d923[_0x36cb84(0x3fb)])??!0x0);}[_0x2b8d6a(0x1dc)](_0x292c76,_0x1d92a1){const _0x4b617a=_0x2b8d6a;var _0x3f4f5e;let _0x18e899=this['_recordPermissions'][_0x4b617a(0x4f0)](_0x6cb5b2(_0x292c76,_0x1d92a1));return this[_0x4b617a(0x41f)](_0x292c76,[_0x20afd2(_0x292c76),_0x19d6d6(_0x292c76,_0x1d92a1)])&&(((_0x3f4f5e=this['_tablePermissions'][_0x4b617a(0x4f0)](_0x292c76))==null?void 0x0:_0x3f4f5e[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x417)])??!0x0)&&((_0x18e899==null?void 0x0:_0x18e899[_0x4b617a(0x581)])??!0x0);}['canDeleteRecord'](_0x359c84,_0x111a42){const _0xdb521d=_0x2b8d6a;var _0x51eb2e,_0x54645f,_0x493b15;return this[_0xdb521d(0x41f)](_0x359c84,[_0x20afd2(_0x359c84),_0x19d6d6(_0x359c84,_0x111a42)])&&(((_0x51eb2e=this[_0xdb521d(0x422)][_0xdb521d(0x4f0)](_0x359c84))==null?void 0x0:_0x51eb2e[_0xdb521d(0x417)])??!0x0)&&(((_0x54645f=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x54645f[_0xdb521d(0x417)])??!0x0)&&(((_0x493b15=this[_0xdb521d(0x225)][_0xdb521d(0x4f0)](_0x6cb5b2(_0x359c84,_0x111a42)))==null?void 0x0:_0x493b15[_0xdb521d(0x472)])??!0x0);}['canEditCell'](_0x576e35,_0x3cefd3,_0x504331){const _0x3300d9=_0x2b8d6a;var _0x2c88a2,_0x1efcd3,_0x58c68a;let _0x3aa9a4=this[_0x3300d9(0x553)][_0x3300d9(0x4f0)](_0x54c07a(_0x576e35,_0x504331));return this[_0x3300d9(0x41f)](_0x576e35,[_0x20afd2(_0x576e35),_0xe7abbf(_0x576e35,_0x504331),_0x19d6d6(_0x576e35,_0x3cefd3)])&&(((_0x2c88a2=this['_tablePermissions'][_0x3300d9(0x4f0)](_0x576e35))==null?void 0x0:_0x2c88a2[_0x3300d9(0x417)])??!0x0)&&(((_0x1efcd3=this[_0x3300d9(0x225)][_0x3300d9(0x4f0)](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x1efcd3[_0x3300d9(0x417)])??!0x0)&&(((_0x58c68a=this['_recordPermissions']['get'](_0x6cb5b2(_0x576e35,_0x3cefd3)))==null?void 0x0:_0x58c68a['editCell'])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4[_0x3300d9(0x417)])??!0x0)&&((_0x3aa9a4==null?void 0x0:_0x3aa9a4['editCell'])??!0x0);}[_0x2b8d6a(0x50c)](_0x82dbe2,_0x3f9a89){const _0x45f4b0=_0x2b8d6a;var _0x1b284c,_0x1a34e7,_0x2a25a5;return this[_0x45f4b0(0x41f)](_0x82dbe2,[_0x20afd2(_0x82dbe2),_0x1592c3(_0x82dbe2,_0x3f9a89)])&&(((_0x1b284c=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x1b284c['edit'])??!0x0)&&(((_0x1a34e7=this[_0x45f4b0(0x40f)][_0x45f4b0(0x4f0)](_0x49ee2f(_0x82dbe2,_0x3f9a89)))==null?void 0x0:_0x1a34e7['edit'])??!0x0)&&(((_0x2a25a5=this[_0x45f4b0(0x422)][_0x45f4b0(0x4f0)](_0x82dbe2))==null?void 0x0:_0x2a25a5[_0x45f4b0(0x35f)])??!0x0);}[_0x2b8d6a(0x5a9)](_0x239cc5,_0x2fe868){const _0x440b75=_0x2b8d6a;this[_0x440b75(0x2d8)]['set'](_0x239cc5,{...this['_basePermissions']['get'](_0x239cc5),..._0x2fe868}),_0x2fe868['edit']!==void 0x0&&_0x270cb9(this[_0x440b75(0x20a)],_0x239cc5,_0x239cc5,_0x2f5c57[_0x440b75(0x1ce)][_0x440b75(0x241)],_0x2fe868[_0x440b75(0x417)]);}[_0x2b8d6a(0x3a4)](_0x1595ba,_0x84c053){const _0x18fa44=_0x2b8d6a;this[_0x18fa44(0x473)](_0x1595ba),this[_0x18fa44(0x422)]['set'](_0x1595ba,{...this[_0x18fa44(0x422)]['get'](_0x1595ba),..._0x84c053}),this['_setObjectEdit'](_0x1595ba,_0x20afd2(_0x1595ba),_0x84c053[_0x18fa44(0x417)]);}['setFieldPermission'](_0x107b71,_0x2ae88d,_0x4b7421){const _0x5e06f7=_0x2b8d6a;this[_0x5e06f7(0x473)](_0x107b71);let _0x18c5bf=_0x54c07a(_0x107b71,_0x2ae88d);this['_fieldPermissions']['set'](_0x18c5bf,{...this[_0x5e06f7(0x553)][_0x5e06f7(0x4f0)](_0x18c5bf),..._0x4b7421}),this[_0x5e06f7(0x378)](_0x107b71,_0xe7abbf(_0x107b71,_0x2ae88d),_0x4b7421[_0x5e06f7(0x417)]);}['setRecordPermission'](_0x3a69b6,_0x577bf2,_0x4f9798){const _0x203f16=_0x2b8d6a;this[_0x203f16(0x473)](_0x3a69b6);let _0x27d680=_0x6cb5b2(_0x3a69b6,_0x577bf2);this[_0x203f16(0x225)][_0x203f16(0x22b)](_0x27d680,{...this[_0x203f16(0x225)][_0x203f16(0x4f0)](_0x27d680),..._0x4f9798}),this[_0x203f16(0x378)](_0x3a69b6,_0x19d6d6(_0x3a69b6,_0x577bf2),_0x4f9798[_0x203f16(0x417)]);}[_0x2b8d6a(0x5f5)](_0x3f2f30,_0xfa4ba4,_0x3f3e87){const _0x1fc182=_0x2b8d6a;this['_rememberTable'](_0x3f2f30);let _0x3589d3=_0x49ee2f(_0x3f2f30,_0xfa4ba4);this[_0x1fc182(0x40f)][_0x1fc182(0x22b)](_0x3589d3,{...this[_0x1fc182(0x40f)][_0x1fc182(0x4f0)](_0x3589d3),..._0x3f3e87}),this[_0x1fc182(0x378)](_0x3f2f30,_0x1592c3(_0x3f2f30,_0xfa4ba4),_0x3f3e87[_0x1fc182(0x417)]);}[_0x2b8d6a(0x52c)](_0x22a741){const _0x20e2e2=_0x2b8d6a;this['_basePermissions'][_0x20e2e2(0x472)](_0x22a741),_0x968a00(this['_permissionService'],_0x22a741,_0x22a741,_0x2f5c57[_0x20e2e2(0x1ce)]['Edit']);}[_0x2b8d6a(0x5c7)](_0x43563a){const _0x4d955a=_0x2b8d6a;this['_tablePermissions'][_0x4d955a(0x472)](_0x43563a),this[_0x4d955a(0x27f)](_0x43563a,_0x20afd2(_0x43563a));}[_0x2b8d6a(0x2bd)](_0x5899d2,_0x3c4746){const _0x4e27a2=_0x2b8d6a;this['_fieldPermissions'][_0x4e27a2(0x472)](_0x54c07a(_0x5899d2,_0x3c4746)),this[_0x4e27a2(0x27f)](_0x5899d2,_0xe7abbf(_0x5899d2,_0x3c4746));}['clearRecordPermission'](_0xc0168a,_0x34b0f5){const _0xd7ec7=_0x2b8d6a;this[_0xd7ec7(0x225)]['delete'](_0x6cb5b2(_0xc0168a,_0x34b0f5)),this['_clearObjectEdit'](_0xc0168a,_0x19d6d6(_0xc0168a,_0x34b0f5));}[_0x2b8d6a(0x4cb)](_0x22ba5a,_0x4a5862){const _0x114ea6=_0x2b8d6a;this[_0x114ea6(0x40f)]['delete'](_0x49ee2f(_0x22ba5a,_0x4a5862)),this[_0x114ea6(0x27f)](_0x22ba5a,_0x1592c3(_0x22ba5a,_0x4a5862));}[_0x2b8d6a(0x43e)](){const _0x30b51d=_0x2b8d6a;return{'bases':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x2d8)]),'tables':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x422)]),'fields':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x553)]),'records':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x225)]),'views':Object[_0x30b51d(0x3a6)](this[_0x30b51d(0x40f)])};}[_0x2b8d6a(0x393)](_0x5b87a0){const _0xeb8b4a=_0x2b8d6a;var _0x13e0fd;return this[_0xeb8b4a(0x41f)](_0x5b87a0,[_0x20afd2(_0x5b87a0)])&&(((_0x13e0fd=this[_0xeb8b4a(0x422)]['get'](_0x5b87a0))==null?void 0x0:_0x13e0fd['edit'])??!0x0);}[_0x2b8d6a(0x41f)](_0xe7e930,_0x304660){const _0x54d5ae=_0x2b8d6a;var _0x30d201;let _0x130994=this[_0x54d5ae(0x53f)](_0xe7e930);return!_0x130994||_0x1484ec(this[_0x54d5ae(0x20a)],_0x130994,_0x304660)&&(((_0x30d201=this[_0x54d5ae(0x2d8)]['get'](_0x130994))==null?void 0x0:_0x30d201[_0x54d5ae(0x417)])??!0x0);}[_0x2b8d6a(0x378)](_0x22a220,_0x2f9ce1,_0x45fdff){const _0x32a28d=_0x2b8d6a;if(_0x45fdff===void 0x0)return;let _0x4bf707=this[_0x32a28d(0x53f)](_0x22a220);_0x4bf707&&_0x270cb9(this['_permissionService'],_0x4bf707,_0x2f9ce1,_0x2f5c57['UnitAction'][_0x32a28d(0x241)],_0x45fdff);}[_0x2b8d6a(0x27f)](_0x594637,_0x57c1e5){const _0x2118fd=_0x2b8d6a;let _0x1de597=this[_0x2118fd(0x53f)](_0x594637);_0x1de597&&_0x968a00(this[_0x2118fd(0x20a)],_0x1de597,_0x57c1e5,_0x2f5c57[_0x2118fd(0x1ce)][_0x2118fd(0x241)]);}[_0x2b8d6a(0x53f)](_0x13fbe7){const _0x109cd1=_0x2b8d6a;var _0x48e4d1;let _0x22e06c=this[_0x109cd1(0x5d7)][_0x109cd1(0x425)](_0x13fbe7,_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)]);return _0x22e06c?_0x22e06c['getUnitId']():(_0x48e4d1=this['_instanceService']['getAllUnitsForType'](_0xcf3cf2[_0x109cd1(0x2f8)][_0x109cd1(0x2bf)])[_0x109cd1(0x22c)](_0x16a214=>!!_0x16a214[_0x109cd1(0x43e)]()['tables'][_0x13fbe7]))==null?void 0x0:_0x48e4d1[_0x109cd1(0x4c0)]();}[_0x2b8d6a(0x473)](_0x59659e){const _0x4294af=_0x2b8d6a;let _0x130d55=this[_0x4294af(0x53f)](_0x59659e);_0x130d55&&this[_0x4294af(0x246)]['set'](_0x59659e,_0x130d55);}['_clearUnit'](_0x10b5bf){const _0x33601e=_0x2b8d6a;this[_0x33601e(0x2d8)]['delete'](_0x10b5bf),this['_tableBaseIds'][_0x33601e(0x458)]((_0x22c71c,_0x51e9cf)=>{const _0x37cedf=_0x33601e;_0x22c71c===_0x10b5bf&&(this[_0x37cedf(0x422)][_0x37cedf(0x472)](_0x51e9cf),_0xa55028(this['_fieldPermissions'],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x225)],_0x51e9cf+'\x1f'),_0xa55028(this[_0x37cedf(0x40f)],_0x51e9cf+'\x1f'),this[_0x37cedf(0x246)]['delete'](_0x51e9cf));});}};_0x2b795c=_0x21a541([_0x429169(0x0,_0xcf3cf2['IPermissionService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2b795c);function _0xa55028(_0x3e3b7d,_0x103e03){const _0x2e2a8e=_0x2b8d6a;_0x3e3b7d[_0x2e2a8e(0x458)]((_0xad04ea,_0x43b9c4)=>{const _0x24d7a8=_0x2e2a8e;_0x43b9c4[_0x24d7a8(0x26d)](_0x103e03)&&_0x3e3b7d[_0x24d7a8(0x472)](_0x43b9c4);});}function _0x54c07a(_0x27dfe3,_0x4464d4){return _0x27dfe3+'\x1f'+_0x4464d4;}function _0x6cb5b2(_0x34c9f2,_0x241563){return _0x34c9f2+'\x1f'+_0x241563;}function _0x49ee2f(_0x4238f0,_0x51b475){return _0x4238f0+'\x1f'+_0x51b475;}let _0x5394a2=(0x0,_0xcf3cf2['createIdentifier'])(_0x2b8d6a(0x312)),_0x1c8c77=class{constructor(_0x49a5f2,_0x27c06e=_0x208275(),_0x444407={}){const _0x25bbad=_0x2b8d6a;this[_0x25bbad(0x20a)]=_0x49a5f2,this[_0x25bbad(0x32a)]=_0x27c06e,this[_0x25bbad(0x1d9)]=_0x444407,_0x550e57(this,_0x25bbad(0x5cf),new _0x15dbb7()),_0x550e57(this,_0x25bbad(0x596),new _0x3c7454());}['createTable'](_0x28ee0f,_0x18923d,_0xa3673e){const _0x4dbe43=_0x2b8d6a;if(!this[_0x4dbe43(0x20a)][_0x4dbe43(0x380)](_0x28ee0f[_0x4dbe43(0x4c0)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x18923d),this[_0x4dbe43(0x420)](_0x28ee0f,this[_0x4dbe43(0x5cf)][_0x4dbe43(0x5f0)](_0x28ee0f[_0x4dbe43(0x43e)](),_0x18923d,_0xa3673e));}[_0x2b8d6a(0x331)](_0x7e724c,_0x10004f,_0x11b727){const _0xe38bc1=_0x2b8d6a;if(!this[_0xe38bc1(0x20a)][_0xe38bc1(0x431)](_0x10004f))throw Error(_0xe38bc1(0x5fe));this['_apply'](_0x7e724c,this[_0xe38bc1(0x5cf)][_0xe38bc1(0x331)](_0x7e724c[_0xe38bc1(0x43e)](),_0x10004f,_0x11b727));}[_0x2b8d6a(0x1f1)](_0x3c2d7d,_0x283d61){const _0x1c4c67=_0x2b8d6a;if(!this[_0x1c4c67(0x20a)]['canDeleteTable'](_0x283d61))throw Error(_0x1c4c67(0x523));let _0x136894=_0x39ea47(_0x3c2d7d['getSnapshot'](),_0x283d61);if(_0x136894[_0x1c4c67(0x3d4)]>0x0)throw Error(_0x1c4c67(0x549)+_0x136894[_0x1c4c67(0x2c4)](_0x1463dd=>_0x1463dd[_0x1c4c67(0x3e2)]+'.'+_0x1463dd[_0x1c4c67(0x580)])[_0x1c4c67(0x600)](',\x20')+').');this[_0x1c4c67(0x420)](_0x3c2d7d,this[_0x1c4c67(0x5cf)][_0x1c4c67(0x1f1)](_0x3c2d7d['getSnapshot'](),_0x283d61));}[_0x2b8d6a(0x5df)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8){const _0x251ecf=_0x2b8d6a;this[_0x251ecf(0x420)](_0x40f1f6,this[_0x251ecf(0x4dc)](_0x40f1f6,_0x3b4fa7,_0x797e0f,_0x215fae,_0x3511b8));}[_0x2b8d6a(0x536)](_0x37ff74,_0x2df6db,_0x49fc20){const _0x39b2b2=_0x2b8d6a;this['_apply'](_0x37ff74,this[_0x39b2b2(0x3cd)](_0x37ff74,_0x2df6db,_0x49fc20));}[_0x2b8d6a(0x3fb)](_0x1b192e,_0x228302,_0x3a8a6c){const _0x1762f5=_0x2b8d6a;this[_0x1762f5(0x420)](_0x1b192e,this[_0x1762f5(0x347)](_0x1b192e,_0x228302,_0x3a8a6c));}[_0x2b8d6a(0x4dc)](_0x7813b9,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b){const _0x4d458d=_0x2b8d6a;let _0x2973d1=_0x7813b9[_0x4d458d(0x43e)](),_0x1c07f1=this[_0x4d458d(0x58d)](_0x2973d1,_0x1762ad,_0x4aa942,_0x32ae71,_0x41741b),_0x291997=this[_0x4d458d(0x3eb)](_0x2973d1,_0x1762ad,_0x4aa942,{[_0x32ae71]:_0x1c07f1});return this[_0x4d458d(0x5cf)][_0x4d458d(0x536)](_0x2973d1,_0x1762ad,[_0x291997]);}['createSetRecordValuesOp'](_0x1fbcd8,_0x27978c,_0x352154){const _0x1641b7=_0x2b8d6a;let _0x2555ab=_0x1fbcd8['getSnapshot'](),_0xcafd14=_0x352154[_0x1641b7(0x2c4)](_0x391ab9=>this[_0x1641b7(0x3eb)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],{...Object[_0x1641b7(0x3a6)](Object[_0x1641b7(0x271)](_0x391ab9[_0x1641b7(0x404)])[_0x1641b7(0x2c4)](([_0x306510,_0x3c0378])=>[_0x306510,this[_0x1641b7(0x58d)](_0x2555ab,_0x27978c,_0x391ab9[_0x1641b7(0x57e)],_0x306510,_0x3c0378)]))}));return this[_0x1641b7(0x5cf)][_0x1641b7(0x536)](_0x2555ab,_0x27978c,_0xcafd14);}[_0x2b8d6a(0x347)](_0x4826c0,_0x29c466,_0x97b5bb){const _0xf1ee87=_0x2b8d6a;if(!this[_0xf1ee87(0x20a)][_0xf1ee87(0x557)](_0x29c466))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x561f56=_0x4826c0[_0xf1ee87(0x43e)](),_0x3fa95a=this[_0xf1ee87(0x23d)](_0x561f56['tables'][_0x29c466]);return this[_0xf1ee87(0x5cf)][_0xf1ee87(0x3fb)](_0x561f56,_0x29c466,this[_0xf1ee87(0x4c5)](_0x561f56,_0x29c466,_0x97b5bb,_0x3fa95a));}[_0x2b8d6a(0x493)](_0x333413,_0x22b1e5,_0x5c7859){const _0xd6c1a1=_0x2b8d6a;if(!this[_0xd6c1a1(0x20a)][_0xd6c1a1(0x557)](_0x22b1e5))throw Error(_0xd6c1a1(0x2e8));let _0x164590=_0x333413[_0xd6c1a1(0x43e)]();return _0x4baece(_0xd6c1a1(0x3c7),()=>{const _0x3adc69=_0xd6c1a1;let _0x39271e=this[_0x3adc69(0x23d)](_0x164590[_0x3adc69(0x3d7)][_0x22b1e5]);return this['_factory'][_0x3adc69(0x1cd)](_0x164590,_0x22b1e5,_0x5c7859[_0x3adc69(0x2c4)](_0x171b6f=>this[_0x3adc69(0x4c5)](_0x164590,_0x22b1e5,_0x171b6f,_0x39271e)));},{'existingRecords':Object[_0xd6c1a1(0x582)](_0x164590[_0xd6c1a1(0x3d7)][_0x22b1e5][_0xd6c1a1(0x38a)])['length'],'records':_0x5c7859['length']});}['createCreateFieldOp'](_0x126365,_0x1dd050,_0x2a66cf,_0x3c7ad5,_0x4d6d93){const _0x1796ae=_0x2b8d6a;if(!this[_0x1796ae(0x20a)][_0x1796ae(0x35b)](_0x1dd050))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x427392=_0x126365['getSnapshot']();if(this[_0x1796ae(0x2ea)](_0x427392,_0x2a66cf),_0x3c7ad5===0x0)throw Error(_0x1796ae(0x52f));let _0x2ff202=this[_0x1796ae(0x5cf)][_0x1796ae(0x3ed)](_0x427392,_0x1dd050,{'field':_0x2a66cf,'index':_0x3c7ad5,'viewIndexes':_0x4d6d93}),_0x2b5661=this['_createSystemFieldValuePatches'](_0x427392,_0x1dd050,_0x2a66cf);if(!_0x2b5661['length'])return _0x2ff202;let _0x49b870=this[_0x1796ae(0x596)][_0x1796ae(0x54e)](_0x427392,_0x2ff202);return _0x5dc19d([_0x2ff202,this[_0x1796ae(0x5cf)][_0x1796ae(0x536)](_0x49b870,_0x1dd050,_0x2b5661)]);}[_0x2b8d6a(0x44b)](_0x3ce17d,_0x53d68e,_0x2a26b0){const _0x6a1fa9=_0x2b8d6a;if(!this[_0x6a1fa9(0x20a)][_0x6a1fa9(0x598)](_0x53d68e,_0x2a26b0))throw Error(_0x6a1fa9(0x1d4));this['_apply'](_0x3ce17d,this[_0x6a1fa9(0x5cf)][_0x6a1fa9(0x44b)](_0x3ce17d[_0x6a1fa9(0x43e)](),_0x53d68e,_0x2a26b0));}['duplicateRecord'](_0x329ee9,_0x570f9a,_0x262b54,_0x2d8ffb){const _0x4fd50d=_0x2b8d6a;if(!this[_0x4fd50d(0x20a)][_0x4fd50d(0x557)](_0x570f9a))throw Error(_0x4fd50d(0x2e8));this[_0x4fd50d(0x420)](_0x329ee9,this[_0x4fd50d(0x5cf)][_0x4fd50d(0x5dd)](_0x329ee9[_0x4fd50d(0x43e)](),_0x570f9a,_0x262b54,{..._0x2d8ffb,'values':{..._0x2d8ffb[_0x4fd50d(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x2d8ffb['id']}}));}['updateRecordOrder'](_0x557a77,_0x4a8fe0,_0xad83aa,_0x2f39b5){const _0x2c1c85=_0x2b8d6a;if(!this[_0x2c1c85(0x20a)][_0x2c1c85(0x1dc)](_0x4a8fe0,_0xad83aa))throw Error(_0x2c1c85(0x44c));this[_0x2c1c85(0x420)](_0x557a77,this[_0x2c1c85(0x5cf)][_0x2c1c85(0x577)](_0x557a77[_0x2c1c85(0x43e)](),_0x4a8fe0,_0xad83aa,_0x2f39b5));}[_0x2b8d6a(0x3ed)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98){const _0x9058fe=_0x2b8d6a;this['_apply'](_0x2d7fc0,this[_0x9058fe(0x29b)](_0x2d7fc0,_0x18128e,_0x31619b,_0x3af3d5,_0x2dee98));}[_0x2b8d6a(0x56b)](_0x8382e5,_0x309c4b,_0x4f5f51,_0x2538c3){const _0x185d30=_0x2b8d6a;var _0x4cd847;if(!this[_0x185d30(0x20a)][_0x185d30(0x2f2)](_0x309c4b,_0x4f5f51))throw Error(_0x185d30(0x440));let _0x30c735=_0x8382e5[_0x185d30(0x43e)](),_0x24291b=(_0x4cd847=_0x30c735[_0x185d30(0x3d7)][_0x309c4b])==null?void 0x0:_0x4cd847[_0x185d30(0x3b5)][_0x4f5f51];if(!_0x24291b||_0x4f5f51===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x185d30(0x4d8));this['_assertFieldDefinition'](_0x30c735,{..._0x24291b,..._0x2538c3}),this[_0x185d30(0x420)](_0x8382e5,this['_factory'][_0x185d30(0x56b)](_0x30c735,_0x309c4b,_0x4f5f51,_0x2538c3));}[_0x2b8d6a(0x319)](_0x2a7d3a,_0xbc8985,_0x19f916,_0x161434){const _0x46813f=_0x2b8d6a;var _0xb4ef2b;if(!this['_permissionService'][_0x46813f(0x2f2)](_0xbc8985,_0x19f916))throw Error(_0x46813f(0x440));let _0x3c8527=_0x2a7d3a[_0x46813f(0x43e)](),_0x2436cd=(_0xb4ef2b=_0x3c8527[_0x46813f(0x3d7)][_0xbc8985])==null?void 0x0:_0xb4ef2b['fields'][_0x19f916];if(!_0x2436cd||_0x19f916===_0xcf3cf2[_0x46813f(0x509)])throw Error(_0x46813f(0x3a5));this[_0x46813f(0x2ea)](_0x3c8527,{..._0x2436cd,..._0x161434}),this[_0x46813f(0x420)](_0x2a7d3a,this['_factory'][_0x46813f(0x319)](_0x3c8527,_0xbc8985,_0x19f916,_0x161434));}[_0x2b8d6a(0x32b)](_0x537123,_0x9b457b,_0x6c52f8){const _0x309442=_0x2b8d6a;var _0x23af3d;if(((_0x23af3d=_0x537123[_0x309442(0x43e)]()['tables'][_0x9b457b])==null?void 0x0:_0x23af3d[_0x309442(0x4b4)])===_0x6c52f8||_0x6c52f8===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x309442(0x27e));if(!this[_0x309442(0x20a)][_0x309442(0x2c6)](_0x9b457b,_0x6c52f8))throw Error(_0x309442(0x33b));this[_0x309442(0x420)](_0x537123,this[_0x309442(0x5cf)][_0x309442(0x32b)](_0x537123[_0x309442(0x43e)](),_0x9b457b,_0x6c52f8));}[_0x2b8d6a(0x21b)](_0x35ab92,_0x50bcfc,_0x5b4ffc,_0xc00f7){const _0x1d9f58=_0x2b8d6a;if(!this['_permissionService'][_0x1d9f58(0x2f2)](_0x50bcfc,_0x5b4ffc))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x5b4ffc===_0xcf3cf2[_0x1d9f58(0x509)]||_0xc00f7[_0x1d9f58(0x24d)]===_0xcf3cf2[_0x1d9f58(0x509)])throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this[_0x1d9f58(0x420)](_0x35ab92,this[_0x1d9f58(0x5cf)][_0x1d9f58(0x21b)](_0x35ab92[_0x1d9f58(0x43e)](),_0x50bcfc,_0x5b4ffc,_0xc00f7));}['createView'](_0x47e7b2,_0x2fe857,_0x2fb3ed,_0x1201b4){const _0x3e8333=_0x2b8d6a;if(!this[_0x3e8333(0x20a)][_0x3e8333(0x50c)](_0x2fe857,_0x2fb3ed['id']))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3e8333(0x420)](_0x47e7b2,this[_0x3e8333(0x5cf)][_0x3e8333(0x490)](_0x47e7b2[_0x3e8333(0x43e)](),_0x2fe857,_0x2fb3ed,_0x1201b4));}['renameView'](_0x5c5008,_0x2efccc,_0x28d10a,_0x259341){const _0x180d5a=_0x2b8d6a;if(!this['_permissionService'][_0x180d5a(0x50c)](_0x2efccc,_0x28d10a))throw Error(_0x180d5a(0x5c0));this[_0x180d5a(0x420)](_0x5c5008,this[_0x180d5a(0x5cf)][_0x180d5a(0x2d2)](_0x5c5008[_0x180d5a(0x43e)](),_0x2efccc,_0x28d10a,_0x259341));}['deleteView'](_0x1cb663,_0x658b59,_0x33e7ee){const _0x139a42=_0x2b8d6a;if(!this[_0x139a42(0x20a)][_0x139a42(0x50c)](_0x658b59,_0x33e7ee))throw Error(_0x139a42(0x5c0));this['_apply'](_0x1cb663,this[_0x139a42(0x5cf)]['deleteView'](_0x1cb663[_0x139a42(0x43e)](),_0x658b59,_0x33e7ee));}['moveView'](_0x347f3e,_0x213e51,_0x24605a,_0x51680d){const _0x418151=_0x2b8d6a;if(!this[_0x418151(0x20a)][_0x418151(0x50c)](_0x213e51,_0x24605a))throw Error(_0x418151(0x5c0));this['_apply'](_0x347f3e,this['_factory']['moveView'](_0x347f3e[_0x418151(0x43e)](),_0x213e51,_0x24605a,_0x51680d));}[_0x2b8d6a(0x4aa)](_0x223270,_0x22e1bc,_0x3709fb,_0x11d21e){const _0x1ff708=_0x2b8d6a;if(!this[_0x1ff708(0x20a)]['canManageView'](_0x22e1bc,_0x3709fb))throw Error(_0x1ff708(0x5c0));this[_0x1ff708(0x420)](_0x223270,this[_0x1ff708(0x5cf)][_0x1ff708(0x4aa)](_0x223270[_0x1ff708(0x43e)](),_0x22e1bc,_0x3709fb,_0x11d21e));}[_0x2b8d6a(0x5b9)](_0x3c2efc,_0x1f0177,_0x7a16a,_0x462384){const _0x32c7d2=_0x2b8d6a;if(!this[_0x32c7d2(0x20a)][_0x32c7d2(0x50c)](_0x1f0177,_0x7a16a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x32c7d2(0x420)](_0x3c2efc,this[_0x32c7d2(0x5cf)][_0x32c7d2(0x5b9)](_0x3c2efc[_0x32c7d2(0x43e)](),_0x1f0177,_0x7a16a,_0x462384));}[_0x2b8d6a(0x43a)](_0x69a228,_0x57da2b,_0x123909,_0xa4227e){const _0x3eae1f=_0x2b8d6a;if(!this[_0x3eae1f(0x20a)][_0x3eae1f(0x50c)](_0x57da2b,_0x123909))throw Error(_0x3eae1f(0x5c0));this[_0x3eae1f(0x420)](_0x69a228,this[_0x3eae1f(0x5cf)][_0x3eae1f(0x43a)](_0x69a228['getSnapshot'](),_0x57da2b,_0x123909,_0xa4227e));}[_0x2b8d6a(0x273)](_0x502351,_0x3755dc,_0x2a41b1,_0x2157e6){const _0x24bed7=_0x2b8d6a;if(!this[_0x24bed7(0x20a)][_0x24bed7(0x50c)](_0x3755dc,_0x2a41b1))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x502351,this[_0x24bed7(0x5cf)][_0x24bed7(0x273)](_0x502351['getSnapshot'](),_0x3755dc,_0x2a41b1,_0x2157e6));}[_0x2b8d6a(0x1c5)](_0x4167f7,_0x203b29,_0x283641,_0x402e30,_0x2fc567){const _0x2fde02=_0x2b8d6a;if(!this['_permissionService']['canManageView'](_0x203b29,_0x283641))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2fde02(0x420)](_0x4167f7,this['_factory'][_0x2fde02(0x1c5)](_0x4167f7[_0x2fde02(0x43e)](),_0x203b29,_0x283641,_0x402e30,_0x2fc567));}['setViewFieldWidth'](_0x7fd5d2,_0x421f0f,_0x43be28,_0x5d9051,_0x388caf){const _0x2ee290=_0x2b8d6a;if(!this[_0x2ee290(0x20a)]['canManageView'](_0x421f0f,_0x43be28))throw Error(_0x2ee290(0x5c0));this[_0x2ee290(0x420)](_0x7fd5d2,this[_0x2ee290(0x5cf)][_0x2ee290(0x50b)](_0x7fd5d2[_0x2ee290(0x43e)](),_0x421f0f,_0x43be28,_0x5d9051,_0x388caf));}['setViewFieldOrder'](_0x3b62df,_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5){const _0x2ac7eb=_0x2b8d6a;if(!this[_0x2ac7eb(0x20a)][_0x2ac7eb(0x50c)](_0x374967,_0x5c5470))throw Error(_0x2ac7eb(0x5c0));this[_0x2ac7eb(0x420)](_0x3b62df,this['_factory'][_0x2ac7eb(0x56f)](_0x3b62df['getSnapshot'](),_0x374967,_0x5c5470,_0x46fb7d,_0x40c6d5));}[_0x2b8d6a(0x420)](_0x3b6498,_0x312b58){const _0x29f078=_0x2b8d6a;let _0x546b13=_0x3b6498[_0x29f078(0x43e)]();_0x3b6498[_0x29f078(0x268)](this['_applier']['applyOp'](_0x546b13,_0x312b58));}[_0x2b8d6a(0x4c5)](_0x3fab17,_0x36ef42,_0x177f0a,_0x3e534e=this[_0x2b8d6a(0x23d)](_0x3fab17[_0x2b8d6a(0x3d7)][_0x36ef42])){const _0x188897=_0x2b8d6a;let _0x144888=_0x3fab17[_0x188897(0x3d7)][_0x36ef42],_0x4b57de=_0x177f0a[_0x188897(0x579)]??_0x177f0a[_0x188897(0x349)]??this[_0x188897(0x243)](),_0x37971a={..._0x177f0a,'createdBy':_0x177f0a[_0x188897(0x579)]??_0x4b57de,'updatedBy':_0x177f0a[_0x188897(0x349)]??_0x4b57de,'values':{..._0x177f0a['values']}};return _0x37971a[_0x188897(0x404)][_0xcf3cf2[_0x188897(0x509)]]=_0x37971a['id'],_0x144888[_0x188897(0x4ab)][_0x188897(0x458)](_0x57ea69=>{const _0x59b6a6=_0x188897;let _0x39a04d=_0x144888[_0x59b6a6(0x3b5)][_0x57ea69];if(_0x39a04d&&_0x37971a[_0x59b6a6(0x404)][_0x57ea69]===void 0x0)switch(_0x39a04d[_0x59b6a6(0x1cc)]){case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x5c1)]:var _0x2cf432;_0x37971a['values'][_0x57ea69]=((_0x2cf432=_0x3e534e[_0x59b6a6(0x4f0)](_0x57ea69))==null?void 0x0:_0x2cf432())??this[_0x59b6a6(0x589)](_0x144888,_0x57ea69)();break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x34f)]:_0x37971a['createdBy']&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a[_0x59b6a6(0x579)]);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x3b4)]:_0x37971a[_0x59b6a6(0x349)]&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x37971a['updatedBy']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x413)]:_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x7aca16(_0x37971a['createdAt']);break;case _0xcf3cf2[_0x59b6a6(0x435)][_0x59b6a6(0x305)]:_0x37971a['values'][_0x57ea69]=_0x7aca16(_0x37971a['updatedAt']);break;default:{let _0x897d1c=_0x39a04d[_0x59b6a6(0x334)];_0x897d1c!=null&&_0x897d1c!==''&&!(Array[_0x59b6a6(0x2a1)](_0x897d1c)&&_0x897d1c['length']===0x0)&&(_0x37971a[_0x59b6a6(0x404)][_0x57ea69]=_0x897d1c);}}}),_0x37971a;}['_withModifiedSystemValues'](_0x4cb35c,_0x1162d3,_0x2852ce,_0x420865){const _0x3e9896=_0x2b8d6a;var _0x420e1c,_0x3658c6;let _0x68b725=_0x4cb35c[_0x3e9896(0x3d7)][_0x1162d3],_0x190113=((_0x420e1c=(_0x3658c6=this[_0x3e9896(0x1d9)])['now'])==null?void 0x0:_0x420e1c[_0x3e9896(0x29f)](_0x3658c6))??Date[_0x3e9896(0x208)](),_0x5c19af=this[_0x3e9896(0x243)](),_0x5221e4={..._0x420865};return _0x68b725[_0x3e9896(0x4ab)][_0x3e9896(0x458)](_0x10b852=>{const _0x5194f5=_0x3e9896;let _0x1e73d4=_0x68b725[_0x5194f5(0x3b5)][_0x10b852];_0x1e73d4&&(_0x1e73d4['type']===_0xcf3cf2['BaseFieldType'][_0x5194f5(0x305)]&&(_0x5221e4[_0x10b852]=_0x7aca16(_0x190113)),_0x1e73d4['type']===_0xcf3cf2[_0x5194f5(0x435)][_0x5194f5(0x3b4)]&&_0x5c19af&&(_0x5221e4[_0x10b852]=_0x5c19af));}),{'recordId':_0x2852ce,'values':_0x5221e4,'recordPatch':{'updatedAt':_0x190113,..._0x5c19af?{'updatedBy':_0x5c19af}:{}}};}[_0x2b8d6a(0x29d)](_0x3a4c02,_0x3335ae,_0x4059fb){const _0x4b3fb2=_0x2b8d6a;let _0x17f479=_0x3a4c02[_0x4b3fb2(0x3d7)][_0x3335ae];return!_0x17f479||!_0x423494(_0x4059fb)?[]:_0x4059fb[_0x4b3fb2(0x1cc)]===_0xcf3cf2[_0x4b3fb2(0x435)][_0x4b3fb2(0x5c1)]?this['_createNumberingFieldValuePatches'](_0x17f479,_0x4059fb['id']):Object['values'](_0x17f479[_0x4b3fb2(0x38a)])[_0x4b3fb2(0x5d0)](_0x1e487f=>{const _0x5f2e5a=_0x4b3fb2;let _0x5cb854=this[_0x5f2e5a(0x373)](_0x4059fb,_0x1e487f);return _0x5cb854===void 0x0?[]:[{'recordId':_0x1e487f['id'],'values':{[_0x4059fb['id']]:_0x5cb854}}];});}[_0x2b8d6a(0x373)](_0x72abd0,_0x198615){const _0x2d25d1=_0x2b8d6a;switch(_0x72abd0[_0x2d25d1(0x1cc)]){case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x34f)]:return _0x198615['createdBy']??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x3b4)]:return _0x198615[_0x2d25d1(0x349)]??this[_0x2d25d1(0x243)]();case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x413)]:return _0x7aca16(_0x198615[_0x2d25d1(0x562)]??Date['now']());case _0xcf3cf2[_0x2d25d1(0x435)][_0x2d25d1(0x305)]:return _0x7aca16(_0x198615[_0x2d25d1(0x5b8)]??Date[_0x2d25d1(0x208)]());default:return;}}[_0x2b8d6a(0x23d)](_0x5cf8a2){const _0x28ddd0=_0x2b8d6a;let _0x11da88=new Map();return _0x5cf8a2&&_0x5cf8a2[_0x28ddd0(0x4ab)][_0x28ddd0(0x458)](_0x2b451d=>{const _0x3e3e86=_0x28ddd0;let _0x132284=_0x5cf8a2[_0x3e3e86(0x3b5)][_0x2b451d];(_0x132284==null?void 0x0:_0x132284[_0x3e3e86(0x1cc)])===_0xcf3cf2[_0x3e3e86(0x435)][_0x3e3e86(0x5c1)]&&_0x11da88[_0x3e3e86(0x22b)](_0x2b451d,this[_0x3e3e86(0x589)](_0x5cf8a2,_0x2b451d));}),_0x11da88;}[_0x2b8d6a(0x589)](_0xa8512,_0x2bc752){const _0x17096f=_0x2b8d6a;let _0x58a213=Object[_0x17096f(0x404)](_0xa8512[_0x17096f(0x38a)])[_0x17096f(0x23b)]((_0x45d0a1,_0x95b08f)=>{const _0x5b5149=_0x17096f;let _0x45d740=Number(_0x95b08f[_0x5b5149(0x404)][_0x2bc752]);return Number['isFinite'](_0x45d740)?Math[_0x5b5149(0x591)](_0x45d0a1,_0x45d740):_0x45d0a1;},0x0);return()=>String(++_0x58a213);}[_0x2b8d6a(0x2ba)](_0x5cf3a1,_0x1261c6){const _0x15b898=_0x2b8d6a;let _0x847a47=this[_0x15b898(0x3f9)](_0x5cf3a1),_0x37a07c=this['_createNumberingAllocator'](_0x5cf3a1,_0x1261c6);return _0x847a47[_0x15b898(0x5d0)](_0x281103=>this['_isNonEmptyCellValue'](_0x281103[_0x15b898(0x404)][_0x1261c6])?[]:[{'recordId':_0x281103['id'],'values':{[_0x1261c6]:_0x37a07c()}}]);}['_getOrderedRecords'](_0x258db2){const _0x38ae97=_0x2b8d6a;var _0x5c4d1d;let _0x55f06a=Object[_0x38ae97(0x404)](_0x258db2[_0x38ae97(0x38a)]),_0x54edf6=new Map(_0x55f06a[_0x38ae97(0x2c4)](_0x30cd27=>[_0x30cd27['id'],_0x30cd27])),_0x4cb4f4=[],_0x25ea74=new Set();(_0x5c4d1d=_0x258db2[_0x38ae97(0x5ab)])==null||_0x5c4d1d['forEach'](_0x17c08e=>{const _0x352699=_0x38ae97;let _0x2d8705=_0x54edf6[_0x352699(0x4f0)](_0x17c08e);_0x2d8705&&(_0x4cb4f4['push'](_0x2d8705),_0x25ea74[_0x352699(0x1d6)](_0x17c08e));});let _0x333a97=_0x55f06a[_0x38ae97(0x355)](_0x882cb4=>!_0x25ea74['has'](_0x882cb4['id']))[_0x38ae97(0x24e)]((_0x1d7de3,_0x30c006)=>String(_0x1d7de3[_0x38ae97(0x340)]??_0x1d7de3['id'])[_0x38ae97(0x1f9)](String(_0x30c006[_0x38ae97(0x340)]??_0x30c006['id']))||_0x1d7de3['id'][_0x38ae97(0x1f9)](_0x30c006['id']));return[..._0x4cb4f4,..._0x333a97];}[_0x2b8d6a(0x4d0)](_0x5eb90f){const _0x49b636=_0x2b8d6a;return _0x5eb90f!=null&&_0x5eb90f!==''&&!(Array[_0x49b636(0x2a1)](_0x5eb90f)&&_0x5eb90f[_0x49b636(0x3d4)]===0x0);}[_0x2b8d6a(0x243)](){const _0x3e7581=_0x2b8d6a;var _0x1566a5,_0x43274e,_0x24ba78,_0x4bdd20;return((_0x1566a5=(_0x43274e=this[_0x3e7581(0x1d9)])[_0x3e7581(0x351)])==null?void 0x0:_0x1566a5[_0x3e7581(0x29f)](_0x43274e))??((_0x24ba78=(_0x4bdd20=this[_0x3e7581(0x1d9)])[_0x3e7581(0x44e)])==null||(_0x24ba78=_0x24ba78[_0x3e7581(0x29f)](_0x4bdd20))==null?void 0x0:_0x24ba78['userID'])??void 0x0;}[_0x2b8d6a(0x58d)](_0x95bff0,_0x46af50,_0x4cb3dc,_0x235af4,_0x2079a9){const _0x595eca=_0x2b8d6a;var _0x51ab5c;if(!this['_permissionService']['canEditCell'](_0x46af50,_0x4cb3dc,_0x235af4))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x30a224=(_0x51ab5c=_0x95bff0[_0x595eca(0x3d7)][_0x46af50])==null?void 0x0:_0x51ab5c[_0x595eca(0x3b5)][_0x235af4];if(!_0x30a224)throw Error(_0x595eca(0x585)+_0x235af4+_0x595eca(0x294));let _0x28e837=this[_0x595eca(0x32a)][_0x595eca(0x4f0)](_0x30a224[_0x595eca(0x1cc)]);if(_0x30a224[_0x595eca(0x30e)]||_0x30a224[_0x595eca(0x27a)]||!_0x28e837['getCapabilities'](_0x30a224)[_0x595eca(0x57b)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x5e3d56=_0x28e837['normalize'](_0x2079a9,_0x30a224),_0x2d55f2=_0x28e837[_0x595eca(0x3af)](_0x5e3d56,_0x30a224);if(!_0x2d55f2[_0x595eca(0x47d)])throw Error(_0x2d55f2[_0x595eca(0x2e7)]??_0x595eca(0x338));let _0x3f9a2e=_0x30a224['type']===_0xcf3cf2[_0x595eca(0x435)]['RecordLink']?_0x3bd7ca(_0x95bff0,_0x30a224,_0x5e3d56):{'valid':!0x0};if(!_0x3f9a2e[_0x595eca(0x47d)])throw Error(_0x3f9a2e[_0x595eca(0x2e7)]??_0x595eca(0x4b2));return _0x5e3d56;}[_0x2b8d6a(0x2ea)](_0x33cca9,_0x167309){const _0xcd5d4e=_0x2b8d6a;if(_0x167309['id']===_0xcf3cf2[_0xcd5d4e(0x509)]||_0x167309['type']===_0xcf3cf2[_0xcd5d4e(0x435)][_0xcd5d4e(0x46d)]||(0x0,_0xcf3cf2[_0xcd5d4e(0x318)])(_0x167309[_0xcd5d4e(0x456)]))throw Error(_0xcd5d4e(0x36a));let _0x254569=_0x3f95e1(_0x33cca9,_0x167309);if(!_0x254569[_0xcd5d4e(0x47d)])throw Error(_0x254569[_0xcd5d4e(0x2e7)]??_0xcd5d4e(0x3ba));}};_0x1c8c77=_0x21a541([_0x429169(0x0,_0x2d44c2),_0x429169(0x1,_0x3dec17)],_0x1c8c77);function _0x208275(){const _0x3e7393=_0x2b8d6a;let _0x13e1dc=new _0x4d1e59();return _0x20ee48()['forEach'](_0x35c04f=>_0x13e1dc[_0x3e7393(0x3c3)](_0x35c04f)),_0x13e1dc;}function _0x423494(_0x283f8e){const _0x5239d0=_0x2b8d6a;return _0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['Numbering']||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)]['CreatedBy']||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x3b4)]||_0x283f8e[_0x5239d0(0x1cc)]===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x413)]||_0x283f8e['type']===_0xcf3cf2[_0x5239d0(0x435)][_0x5239d0(0x305)];}let _0xc71b6a=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x455)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]);function _0xb8c8b0(_0x333863){const _0x53d73d=_0x2b8d6a;let _0x307b6c=_0x333863[_0x53d73d(0x3b5)][_0x333863['primaryFieldId']];if((!_0x307b6c||_0x307b6c[_0x53d73d(0x27a)]!==!0x0&&_0x307b6c['id']['toLowerCase']()!=='id'&&_0x307b6c[_0x53d73d(0x456)][_0x53d73d(0x479)]()[_0x53d73d(0x402)]()!=='id')&&_0x307b6c)return _0x307b6c['id'];for(let _0x1f9d22 of _0x333863[_0x53d73d(0x4ab)]){let _0x5f4681=_0x333863[_0x53d73d(0x3b5)][_0x1f9d22];if(_0x5f4681&&_0x5f4681['id']!==_0x333863['primaryFieldId']&&_0x5f4681[_0x53d73d(0x27a)]!==!0x0&&_0x5f4681[_0x53d73d(0x1cc)]!==_0xcf3cf2[_0x53d73d(0x435)][_0x53d73d(0x46d)])return _0x5f4681['id'];}return _0x333863['primaryFieldId'];}function _0x47838f(_0x5740fa,_0x3ff577=[],_0x35c1e9=0x5){const _0x16a491=_0x2b8d6a;let _0xf07967=new Set(_0x3ff577[_0x16a491(0x355)](_0x30f414=>!!_0x30f414)),_0x2a62b2=[],_0x5b2510=[];for(let _0x29321f of _0x5740fa['fieldOrder']){let _0x341641=_0x5740fa['fields'][_0x29321f];_0x341641&&_0x341641[_0x16a491(0x27a)]!==!0x0&&_0x341641[_0x16a491(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x16a491(0x46d)]&&!_0xf07967[_0x16a491(0x244)](_0x341641['id'])&&(_0xc71b6a[_0x16a491(0x244)](_0x341641[_0x16a491(0x1cc)])?_0x2a62b2:_0x5b2510)[_0x16a491(0x309)](_0x341641['id']);}return[..._0x2a62b2,..._0x5b2510][_0x16a491(0x3de)](0x0,_0x35c1e9);}function _0x43edf4(){const _0x39d260=_0x2b8d6a;return[{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x372)],'i18nKey':_0x39d260(0x4bb),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1e3eff=_0x39d260;throw Error(_0x1e3eff(0x2d0));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)][_0x39d260(0x453)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x552c3d=>{const _0x2af832=_0x39d260;let _0x1a3ff9=_0x1336d3(_0x552c3d);return{'groupFieldId':_0x1a3ff9,'coverFieldId':null,'cardLayout':_0x2af832(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x552c3d[_0x2af832(0x4b4)],'fieldIds':_0x47838f(_0x552c3d,[_0x552c3d[_0x2af832(0x4b4)],_0x1a3ff9])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x48a3b6=_0x39d260;throw Error(_0x48a3b6(0x5e7));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x1e0)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0xaa10c9=>{const _0x240819=_0x39d260;let _0x5cae84=_0x306e49(_0xaa10c9);return{'startDateFieldId':_0x5cae84,'endDateFieldId':_0x2f06ae(_0xaa10c9,_0x5cae84),'titleFieldId':_0xaa10c9[_0x240819(0x4b4)],'mode':'month','timeslotSize':_0x240819(0x590),'timeZone':'local','displayColor':{'type':'custom','color':_0x240819(0x28c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x538cb5=_0x39d260;throw Error(_0x538cb5(0x454));}},{'type':_0xcf3cf2['BaseViewType'][_0x39d260(0x228)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x304575=>{const _0x25184=_0x39d260;let _0x55cdcd=_0x306e49(_0x304575);return{'startDateFieldId':_0x55cdcd,'endDateFieldId':_0x2f06ae(_0x304575,_0x55cdcd)??_0x55cdcd,'titleFieldId':_0x304575['primaryFieldId'],'scale':_0x25184(0x599),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2d2b97=_0x39d260;throw Error(_0x2d2b97(0x280));}},{'type':_0xcf3cf2[_0x39d260(0x3c8)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x711f07=>{const _0x3584f7=_0x39d260;let _0x172266=_0xb8c8b0(_0x711f07);return{'coverFieldId':null,'cardLayout':_0x3584f7(0x48d),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x172266,'coverFieldId':null,'fieldIds':_0x47838f(_0x711f07,[_0x172266,_0x711f07[_0x3584f7(0x4b4)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function _0x1336d3(_0xac2c51){const _0x584adb=_0x2b8d6a;var _0x45a393,_0x3ed911,_0x58004b;let _0x1e49ee=_0xac2c51['fieldOrder'][_0x584adb(0x2c4)](_0xd12532=>_0xac2c51[_0x584adb(0x3b5)][_0xd12532])[_0x584adb(0x355)](_0x20ea4c=>!!_0x20ea4c);return((_0x45a393=_0x1e49ee['find'](_0x4d18bd=>_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2e3)]||_0x4d18bd['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x336)]||_0x4d18bd[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['Group']))==null?void 0x0:_0x45a393['id'])??((_0x3ed911=_0x1e49ee[_0x584adb(0x22c)](_0x5195ff=>_0x5195ff[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x220)]))==null?void 0x0:_0x3ed911['id'])??((_0x58004b=_0x1e49ee[_0x584adb(0x22c)](_0x47c2a2=>_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x2d9)]||_0x47c2a2['type']===_0xcf3cf2[_0x584adb(0x435)][_0x584adb(0x413)]||_0x47c2a2[_0x584adb(0x1cc)]===_0xcf3cf2[_0x584adb(0x435)]['UpdatedAt']))==null?void 0x0:_0x58004b['id'])??_0xac2c51[_0x584adb(0x4b4)];}function _0x306e49(_0x1f1eb0){const _0x2635ab=_0x2b8d6a;var _0x5def3f;return((_0x5def3f=_0x1f1eb0[_0x2635ab(0x4ab)][_0x2635ab(0x2c4)](_0x26caa5=>_0x1f1eb0['fields'][_0x26caa5])[_0x2635ab(0x22c)](_0x4bf00a))==null?void 0x0:_0x5def3f['id'])??'';}function _0x2f06ae(_0x37bbf4,_0x28b17f){const _0xf6cb44=_0x2b8d6a;var _0x1f0114;return(_0x1f0114=_0x37bbf4[_0xf6cb44(0x4ab)][_0xf6cb44(0x2c4)](_0x524890=>_0x37bbf4[_0xf6cb44(0x3b5)][_0x524890])[_0xf6cb44(0x22c)](_0x38f6e3=>_0x4bf00a(_0x38f6e3)&&_0x38f6e3['id']!==_0x28b17f))==null?void 0x0:_0x1f0114['id'];}function _0x4bf00a(_0x465a36){const _0x4a4c75=_0x2b8d6a;return!!_0x465a36&&_0x465a36[_0x4a4c75(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x4a4c75(0x2d9)]&&_0x465a36['readonly']!==!0x0&&_0x465a36['system']!==!0x0;}let _0x5e90db=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x4c4)),_0x17654f=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2['BaseFieldType']['Progress'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x22a)],_0xcf3cf2[_0x2b8d6a(0x435)]['Date'],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x413)],_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x305)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x5f8)]]),_0x4f4166=0x5265c00,_0x270515=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x1feba6){const _0x253f50=_0x2b8d6a;super(),this[_0x253f50(0x32a)]=_0x1feba6,_0x550e57(this,'_views',new Map()),_0x550e57(this,_0x253f50(0x572),new WeakMap()),_0x550e57(this,_0x253f50(0x38e),new Map()),_0x550e57(this,'_projectedViewRowsCache',new Map()),_0x550e57(this,_0x253f50(0x529),new Map()),_0x550e57(this,_0x253f50(0x25a),new Map()),_0x550e57(this,_0x253f50(0x3aa),0x0),_0x550e57(this,_0x253f50(0x31d),new Map()),_0x550e57(this,'_cellRevisions',new Map()),_0x550e57(this,'_cellInvalidations',new Map()),_0x550e57(this,_0x253f50(0x1ef),new Map());}[_0x2b8d6a(0x467)](_0x5b99b3){const _0x12546e=_0x2b8d6a;return this[_0x12546e(0x1c7)][_0x12546e(0x22b)](_0x5b99b3[_0x12546e(0x1cc)],_0x5b99b3),(0x0,_0xcf3cf2['toDisposable'])(()=>this[_0x12546e(0x1c7)][_0x12546e(0x472)](_0x5b99b3[_0x12546e(0x1cc)]));}['getProjection'](_0x4b2864,_0x441f69,_0x586f1a){const _0x2e9be0=_0x2b8d6a;var _0x811fe2,_0x52a4a7,_0x5e3890;return _0x4baece(_0x2e9be0(0x2e0),()=>{const _0x5b48a8=_0x2e9be0;let _0x56f7c6=this[_0x5b48a8(0x28b)](_0x4b2864,_0x441f69,_0x586f1a);if(_0x56f7c6)return _0x56f7c6;let _0x393d42=_0x4b2864[_0x5b48a8(0x3d7)][_0x441f69],_0x82e705=_0x393d42==null?void 0x0:_0x393d42[_0x5b48a8(0x2e4)][_0x586f1a];if(!_0x393d42||!_0x82e705)return this['_setCachedProjection'](_0x4b2864,_0x441f69,_0x586f1a,{'type':'invalid','viewType':(_0x82e705==null?void 0x0:_0x82e705[_0x5b48a8(0x1cc)])??_0xcf3cf2[_0x5b48a8(0x3c8)]['Grid'],'reason':'missingField'});let _0x5c8dde;switch(_0x82e705['type']){case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x372)]:_0x5c8dde=this[_0x5b48a8(0x41c)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x228)]:_0x5c8dde=this[_0x5b48a8(0x345)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)]['Kanban']:_0x5c8dde=this[_0x5b48a8(0x3e1)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x1e0)]:_0x5c8dde=this[_0x5b48a8(0x398)](_0x393d42,_0x82e705);break;case _0xcf3cf2[_0x5b48a8(0x3c8)][_0x5b48a8(0x31f)]:_0x5c8dde=this[_0x5b48a8(0x59f)](_0x393d42,_0x82e705);break;default:_0x5c8dde={'type':'invalid','viewType':_0x82e705[_0x5b48a8(0x1cc)],'reason':_0x5b48a8(0x2ce)};}return this[_0x5b48a8(0x5b7)](_0x4b2864,_0x441f69,_0x586f1a,_0x5c8dde);},{'tableId':_0x441f69,'viewId':_0x586f1a,'viewType':(_0x811fe2=_0x4b2864['tables'][_0x441f69])==null||(_0x811fe2=_0x811fe2['views'][_0x586f1a])==null?void 0x0:_0x811fe2[_0x2e9be0(0x1cc)],'records':((_0x52a4a7=_0x4b2864[_0x2e9be0(0x3d7)][_0x441f69])==null||(_0x52a4a7=_0x52a4a7[_0x2e9be0(0x5ab)])==null?void 0x0:_0x52a4a7[_0x2e9be0(0x3d4)])??Object[_0x2e9be0(0x582)](((_0x5e3890=_0x4b2864['tables'][_0x441f69])==null?void 0x0:_0x5e3890[_0x2e9be0(0x38a)])??{})[_0x2e9be0(0x3d4)]});}['repairViewConfig'](_0xa0ebda,_0x1a1fee,_0x3595f7){const _0x9867c8=_0x2b8d6a;var _0x966ca7,_0x1aaa84,_0x3b248a;let _0x1cf3e3=_0xa0ebda[_0x9867c8(0x3d7)][_0x1a1fee],_0x10d857=_0x1cf3e3==null?void 0x0:_0x1cf3e3['views'][_0x3595f7];if(!_0x1cf3e3||!_0x10d857)throw Error(_0x9867c8(0x424)+_0x3595f7+'\x22.');let _0x3c5fb3=_0x3a58de=>!!_0x1cf3e3[_0x9867c8(0x3b5)][_0x3a58de],_0x56d503={..._0x10d857,'filter':_0x10d857[_0x9867c8(0x355)]?{..._0x10d857[_0x9867c8(0x355)],'conditions':_0x10d857[_0x9867c8(0x355)][_0x9867c8(0x4ef)]['filter'](_0x3de84e=>_0x3c5fb3(_0x3de84e[_0x9867c8(0x580)]))}:_0x10d857[_0x9867c8(0x355)],'sort':(_0x966ca7=_0x10d857[_0x9867c8(0x24e)])==null?void 0x0:_0x966ca7[_0x9867c8(0x355)](_0x21b929=>_0x3c5fb3(_0x21b929[_0x9867c8(0x580)])),'group':(_0x1aaa84=_0x10d857[_0x9867c8(0x484)])==null?void 0x0:_0x1aaa84[_0x9867c8(0x355)](_0x5f405c=>_0x3c5fb3(_0x5f405c[_0x9867c8(0x580)])),'fieldOrder':(_0x3b248a=_0x10d857[_0x9867c8(0x4ab)])==null?void 0x0:_0x3b248a['filter'](_0x3c5fb3),'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x10d857[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x25d7cf])=>_0x3c5fb3(_0x25d7cf)))};if(_0x56d503[_0x9867c8(0x1cc)]===_0x9867c8(0x57a)){var _0x498dd7;let _0x3b91d9=_0x56d503[_0x9867c8(0x5a3)]??{},_0x491d62=this[_0x9867c8(0x5d8)](_0x1cf3e3,_0x56d503),_0xf49868=this['_resolveCardTitleFieldId'](_0x1cf3e3,(_0x498dd7=_0x3b91d9[_0x9867c8(0x367)])==null?void 0x0:_0x498dd7[_0x9867c8(0x4cf)]);_0x56d503['config']={..._0x3b91d9,'groupFieldId':_0x491d62??_0x3b91d9[_0x9867c8(0x259)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x1cf3e3,_0x3b91d9),'cardLayout':_0x3b91d9[_0x9867c8(0x307)]===_0x9867c8(0x4b7)?_0x9867c8(0x4b7):'normal','showFieldNames':_0x3b91d9[_0x9867c8(0x524)]!==!0x1,'fieldSettings':Object[_0x9867c8(0x3a6)](Object[_0x9867c8(0x271)](_0x3b91d9[_0x9867c8(0x239)]??{})[_0x9867c8(0x355)](([_0x317362])=>_0x3c5fb3(_0x317362))),'columnSettings':_0x3b91d9[_0x9867c8(0x2d4)]??{},'card':{..._0x3b91d9[_0x9867c8(0x367)]??{},'titleFieldId':_0xf49868,'fieldIds':this[_0x9867c8(0x30a)](_0x1cf3e3,_0x56d503,_0x491d62??'',_0xf49868)}};}return{'repaired':JSON['stringify'](_0x56d503)!==JSON[_0x9867c8(0x322)](_0x10d857),'view':_0x56d503};}[_0x2b8d6a(0x498)](){const _0x1aa2b4=_0x2b8d6a;this[_0x1aa2b4(0x3aa)]++;}['invalidateByCell'](_0x3e529a,_0x1f705b,_0x319679){const _0x1751a2=_0x2b8d6a;let _0x4227d9=this[_0x1751a2(0x559)](_0x3e529a)+0x1;this[_0x1751a2(0x505)][_0x1751a2(0x22b)](_0x3e529a,_0x4227d9);let _0x4c2b81=this[_0x1751a2(0x49d)][_0x1751a2(0x4f0)](_0x3e529a)??[];_0x4c2b81['push']({'revision':_0x4227d9,'recordId':_0x1f705b,'fieldId':_0x319679}),this[_0x1751a2(0x49d)][_0x1751a2(0x22b)](_0x3e529a,_0x4c2b81);}['invalidateByField'](_0x5d0c9b,_0x474e8e){const _0xda0777=_0x2b8d6a;this[_0xda0777(0x25f)](_0x5d0c9b);}['invalidateByView'](_0x7fcd7c,_0x38a1a9){const _0xbb5953=_0x2b8d6a;this[_0xbb5953(0x1ef)][_0xbb5953(0x22b)](this['_viewRevisionKey'](_0x7fcd7c,_0x38a1a9),this[_0xbb5953(0x59e)](_0x7fcd7c,_0x38a1a9)+0x1);}[_0x2b8d6a(0x28b)](_0x392997,_0xb7d01a,_0x30a218){const _0x2afbb1=_0x2b8d6a;var _0x4c5a5d;let _0x3b8c78=(_0x4c5a5d=this[_0x2afbb1(0x572)][_0x2afbb1(0x4f0)](_0x392997))==null?void 0x0:_0x4c5a5d[_0x2afbb1(0x4f0)](this[_0x2afbb1(0x1db)](_0xb7d01a,_0x30a218));return _0x3b8c78&&_0x3b8c78[_0x2afbb1(0x261)]===this[_0x2afbb1(0x3aa)]&&_0x3b8c78[_0x2afbb1(0x211)]===this[_0x2afbb1(0x5e2)](_0xb7d01a)&&_0x3b8c78[_0x2afbb1(0x5e5)]===this[_0x2afbb1(0x559)](_0xb7d01a)&&_0x3b8c78['viewRevision']===this[_0x2afbb1(0x59e)](_0xb7d01a,_0x30a218)?_0x3b8c78[_0x2afbb1(0x538)]:null;}[_0x2b8d6a(0x5b7)](_0x2d0c29,_0x146601,_0xcc3183,_0x1c25a2){const _0x472a10=_0x2b8d6a;let _0x165717=this[_0x472a10(0x572)]['get'](_0x2d0c29);return _0x165717||(_0x165717=new Map(),this[_0x472a10(0x572)]['set'](_0x2d0c29,_0x165717)),_0x165717[_0x472a10(0x22b)](this[_0x472a10(0x1db)](_0x146601,_0xcc3183),{'projection':_0x1c25a2,'globalRevision':this[_0x472a10(0x3aa)],'tableRevision':this['_getTableRevision'](_0x146601),'cellRevision':this['_getCellRevision'](_0x146601),'viewRevision':this[_0x472a10(0x59e)](_0x146601,_0xcc3183)}),_0x1c25a2;}['_bumpTableRevision'](_0x547fee){const _0x2486bc=_0x2b8d6a;this[_0x2486bc(0x31d)]['set'](_0x547fee,this[_0x2486bc(0x5e2)](_0x547fee)+0x1);}[_0x2b8d6a(0x5e2)](_0x4fd0c1){const _0x37e35a=_0x2b8d6a;return this[_0x37e35a(0x31d)][_0x37e35a(0x4f0)](_0x4fd0c1)??0x0;}[_0x2b8d6a(0x559)](_0x545871){const _0x597938=_0x2b8d6a;return this[_0x597938(0x505)][_0x597938(0x4f0)](_0x545871)??0x0;}[_0x2b8d6a(0x59e)](_0x396e27,_0x27d652){const _0x3ca311=_0x2b8d6a;return this[_0x3ca311(0x1ef)][_0x3ca311(0x4f0)](this[_0x3ca311(0x500)](_0x396e27,_0x27d652))??0x0;}[_0x2b8d6a(0x1db)](_0x3eef5e,_0x131fb7){return _0x3eef5e+'\x00'+_0x131fb7;}[_0x2b8d6a(0x5b0)](_0x52a34c,_0x5d9dda){const _0x41bb2a=_0x2b8d6a;return _0x52a34c+'\x00'+this[_0x41bb2a(0x5fb)](_0x5d9dda);}[_0x2b8d6a(0x341)](_0x2adbeb,_0x1188d8,_0x3bff2a){const _0x288e52=_0x2b8d6a;return _0x2adbeb+'\x00'+this[_0x288e52(0x5fb)](_0x1188d8)+'\x00'+this[_0x288e52(0x1ee)](_0x3bff2a);}[_0x2b8d6a(0x5fb)](_0x429659){const _0x5ccdc5=_0x2b8d6a;return _0x429659?_0x1776c9({'filter':_0x5ddb6f(_0x429659['filter']),'sort':_0x16dfff(_0x429659['sort'])}):_0x5ccdc5(0x452);}[_0x2b8d6a(0x1ee)](_0x4207ec){const _0x5ecfbc=_0x2b8d6a;return _0x1776c9(_0x4207ec[_0x5ecfbc(0x2c4)](_0x38f6d7=>({'fieldId':_0x38f6d7[_0x5ecfbc(0x580)],'direction':_0x38f6d7[_0x5ecfbc(0x41d)]??null})));}['_viewRevisionKey'](_0x3f2482,_0x3ddbd0){return _0x3f2482+'\x00'+_0x3ddbd0;}[_0x2b8d6a(0x41c)](_0x422a6a,_0x4e3f4b){const _0x340558=_0x2b8d6a;var _0x1de354;let _0x25635e=_0x4f5050(_0x422a6a),_0x315f2b=this[_0x340558(0x40e)](_0x422a6a,_0x4e3f4b),_0x59e500=(_0x1de354=_0x4e3f4b['filter'])!=null&&_0x1de354['conditions']['length']?this['_projectRows'](_0x422a6a,{..._0x4e3f4b,'filter':null}):_0x315f2b,_0x47ac0f=_0xf3e46d(this['_getHierarchyIndex'](_0x422a6a,_0x25635e,_0x4e3f4b['id'],_0x59e500[_0x340558(0x2c4)](_0x53b042=>_0x53b042[_0x340558(0x57e)])),_0x59e500,new Set(_0x315f2b[_0x340558(0x2c4)](_0x71f439=>_0x71f439[_0x340558(0x57e)])));return{'type':_0xcf3cf2[_0x340558(0x3c8)][_0x340558(0x372)],'fields':this['_projectFields'](_0x422a6a,_0x4e3f4b),'rows':_0x47ac0f[_0x340558(0x5e6)],'groups':this[_0x340558(0x221)](_0x422a6a,_0x4e3f4b,_0x47ac0f[_0x340558(0x5e6)],_0x47ac0f[_0x340558(0x326)]),'hierarchy':_0x47ac0f['hierarchy'],'frozenFieldCount':typeof _0x4e3f4b['config'][_0x340558(0x56d)]==_0x340558(0x202)?_0x4e3f4b['config'][_0x340558(0x56d)]:0x0};}[_0x2b8d6a(0x58a)](_0xbaab54,_0x186038,_0x5317cb,_0x10b423){const _0x3e2c5e=_0x2b8d6a;let _0x139a46=_0xbaab54['id']+'\x00'+_0x186038+'\x00'+_0x5317cb,_0x3ec403=this[_0x3e2c5e(0x559)](_0xbaab54['id']),_0x36d1c2=this['_hierarchyIndexCache'][_0x3e2c5e(0x4f0)](_0x139a46);if(_0x36d1c2&&_0x36d1c2[_0x3e2c5e(0x261)]===this['_globalRevision']&&_0x36d1c2[_0x3e2c5e(0x211)]===this[_0x3e2c5e(0x5e2)](_0xbaab54['id'])&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x3d4)]===_0x10b423[_0x3e2c5e(0x3d4)]&&_0x36d1c2[_0x3e2c5e(0x5c5)][_0x3e2c5e(0x320)]((_0x3330ac,_0x5e2f99)=>_0x3330ac===_0x10b423[_0x5e2f99])){if(_0x36d1c2[_0x3e2c5e(0x5e5)]===_0x3ec403&&_0x36d1c2['table']===_0xbaab54)return _0x36d1c2[_0x3e2c5e(0x295)];if(!this['_cellInvalidationsTouchFields'](_0xbaab54['id'],_0x36d1c2[_0x3e2c5e(0x5e5)],_0x3ec403,new Set([_0x186038])))return this['_hierarchyIndexCache'][_0x3e2c5e(0x22b)](_0x139a46,{..._0x36d1c2,'table':_0xbaab54,'cellRevision':_0x3ec403}),_0x36d1c2[_0x3e2c5e(0x295)];}let _0x395926=_0x3760a3(_0xbaab54,_0x186038,_0x10b423);return this[_0x3e2c5e(0x25a)][_0x3e2c5e(0x22b)](_0x139a46,{'table':_0xbaab54,'index':_0x395926,'orderedRecordIds':_0x10b423,'globalRevision':this[_0x3e2c5e(0x3aa)],'tableRevision':this[_0x3e2c5e(0x5e2)](_0xbaab54['id']),'cellRevision':_0x3ec403}),_0x395926;}['_projectHierarchyGroups'](_0x1c4453,_0x45a785,_0x5553f0,_0x182a2e){const _0x4423ef=_0x2b8d6a;var _0x472e28;if(!((_0x472e28=_0x45a785[_0x4423ef(0x484)])!=null&&_0x472e28[_0x4423ef(0x3d4)]))return[];let _0x58f7e7=new Map(_0x5553f0[_0x4423ef(0x2c4)](_0x24726f=>[_0x24726f['recordId'],_0x24726f])),_0x137737=_0x182a2e['rootRecordIds']['flatMap'](_0x2d01de=>{const _0x35e51f=_0x4423ef;let _0xd41f44=_0x58f7e7[_0x35e51f(0x4f0)](_0x2d01de);return _0xd41f44?[_0xd41f44]:[];}),_0x21d659=this[_0x4423ef(0x57d)](_0x1c4453,_0x45a785,_0x137737),_0x5bdedd=new Map(_0x182a2e[_0x4423ef(0x5c5)][_0x4423ef(0x2c4)]((_0x35f2ff,_0x50a8c7)=>[_0x35f2ff,_0x50a8c7])),_0x5462bb=_0x35d0e4=>{const _0x2bf7d3=_0x4423ef;let _0x49e0d9=_0x182a2e[_0x2bf7d3(0x4e9)][_0x35d0e4],_0x2c7796=_0x5bdedd[_0x2bf7d3(0x4f0)](_0x35d0e4)??-0x1;return _0x2c7796<0x0||!_0x49e0d9?[]:_0x182a2e[_0x2bf7d3(0x5c5)][_0x2bf7d3(0x3de)](_0x2c7796,_0x49e0d9['subtreeEndIndex']+0x1);},_0x4f3ece=_0xada5d0=>{const _0x3a5c63=_0x4423ef;var _0x4df81e,_0x572a00;return{..._0xada5d0,'recordIds':(_0x4df81e=_0xada5d0[_0x3a5c63(0x1fb)])!=null&&_0x4df81e[_0x3a5c63(0x3d4)]?_0xada5d0[_0x3a5c63(0x5b2)]:_0xada5d0[_0x3a5c63(0x5b2)]['flatMap'](_0x5462bb),'children':(_0x572a00=_0xada5d0[_0x3a5c63(0x1fb)])==null?void 0x0:_0x572a00[_0x3a5c63(0x2c4)](_0x4f3ece)};};return _0x21d659[_0x4423ef(0x2c4)](_0x4f3ece);}[_0x2b8d6a(0x3e1)](_0x5f03e8,_0x30e945){const _0x31e782=_0x2b8d6a;var _0x25a0e1;let _0xdec091=this['_resolveKanbanGroupFieldId'](_0x5f03e8,_0x30e945),_0x311b50=_0xdec091?_0x5f03e8[_0x31e782(0x3b5)][_0xdec091]:void 0x0;if(!_0x311b50)return{'type':'invalid','viewType':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'reason':_0x31e782(0x4e5),'fieldId':_0x30e945[_0x31e782(0x5a3)][_0x31e782(0x259)]};let _0x1622ae=this[_0x31e782(0x40e)](_0x5f03e8,_0x30e945),_0x4dddfc=this[_0x31e782(0x352)](_0x5f03e8,_0x30e945),_0x16881a=_0x30e945[_0x31e782(0x5a3)]??{},_0x284c5a=this[_0x31e782(0x41b)](_0x5f03e8,(_0x25a0e1=_0x16881a[_0x31e782(0x367)])==null?void 0x0:_0x25a0e1[_0x31e782(0x4cf)]),_0x598c69=this[_0x31e782(0x30a)](_0x5f03e8,_0x30e945,_0x311b50['id'],_0x284c5a),_0x4b45b8=new Map();if(_0x4d880f(_0x5f03e8,_0x311b50['id'])){let _0x17df29=this[_0x31e782(0x58a)](_0x5f03e8,_0x311b50['id'],_0x30e945['id'],_0x1622ae[_0x31e782(0x2c4)](_0x3885a7=>_0x3885a7[_0x31e782(0x57e)])),_0x3b7339=new Map();return _0x1622ae[_0x31e782(0x458)](_0x22e9e7=>{const _0x473187=_0x31e782;let _0x51e0ea=_0x17df29['parentByRecordId'][_0x473187(0x4f0)](_0x22e9e7[_0x473187(0x57e)])??null,_0x387c92=_0x51e0ea??'',_0x4c3e27=_0x51e0ea?_0x5f03e8['records'][_0x51e0ea]:void 0x0,_0x20df35=_0x3b7339['get'](_0x387c92)??{'key':_0x387c92,'title':_0x4c3e27?String(_0x4bd91a(_0x5f03e8,_0x4c3e27['id'],_0x5f03e8[_0x473187(0x4b4)])??_0x51e0ea):this[_0x473187(0x55d)](_0x311b50,_0x387c92,_0x16881a),'recordIds':[]};_0x20df35[_0x473187(0x5b2)][_0x473187(0x309)](_0x22e9e7[_0x473187(0x57e)]),_0x3b7339[_0x473187(0x22b)](_0x387c92,_0x20df35);}),{'type':_0xcf3cf2[_0x31e782(0x3c8)]['Kanban'],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':[],'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this[_0x31e782(0x5c4)](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a[_0x31e782(0x307)]===_0x31e782(0x4b7)?_0x31e782(0x4b7):'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':['',..._0x17df29[_0x31e782(0x5c5)]][_0x31e782(0x5d0)](_0x562b62=>{const _0x259dcd=_0x31e782;let _0x39d4bd=_0x3b7339['get'](_0x562b62);return _0x39d4bd!=null&&_0x39d4bd[_0x259dcd(0x5b2)]['length']?[_0x39d4bd]:[];})};}return this[_0x31e782(0x316)](_0x311b50,_0x16881a)[_0x31e782(0x458)](_0x3dabf6=>_0x4b45b8[_0x31e782(0x22b)](_0x3dabf6[_0x31e782(0x2fc)],{..._0x3dabf6,'recordIds':[]})),_0x1622ae[_0x31e782(0x458)](_0x13cc75=>{const _0x5c3d84=_0x31e782;this['_kanbanGroupKeys'](_0x311b50,_0x13cc75[_0x5c3d84(0x404)][_0x311b50['id']])[_0x5c3d84(0x458)](_0x34f521=>{const _0x3c68c0=_0x5c3d84;let _0x1007f7=_0x4b45b8[_0x3c68c0(0x4f0)](_0x34f521)??{'key':_0x34f521,'title':this['_kanbanLaneTitle'](_0x311b50,_0x34f521,_0x16881a),'color':this['_kanbanLaneColor'](_0x311b50,_0x34f521,_0x16881a),'recordIds':[]};_0x1007f7['recordIds'][_0x3c68c0(0x309)](_0x13cc75[_0x3c68c0(0x57e)]),_0x4b45b8[_0x3c68c0(0x22b)](_0x34f521,_0x1007f7);});}),{'type':_0xcf3cf2[_0x31e782(0x3c8)][_0x31e782(0x453)],'fields':_0x4dddfc,'rows':_0x1622ae,'groups':this[_0x31e782(0x57d)](_0x5f03e8,_0x30e945,_0x1622ae),'groupFieldId':_0x311b50['id'],'titleFieldId':_0x284c5a,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x5f03e8,_0x16881a),'cardLayout':_0x16881a['cardLayout']===_0x31e782(0x4b7)?'compose':'normal','showFieldNames':_0x16881a[_0x31e782(0x524)]!==!0x1,'visibleCardFieldIds':_0x598c69,'lanes':Array['from'](_0x4b45b8[_0x31e782(0x404)]())};}[_0x2b8d6a(0x5d8)](_0x3a8a94,_0x4198b8){const _0x342225=_0x2b8d6a;var _0x12f9c8;let _0x57ed08=(_0x12f9c8=_0x4198b8[_0x342225(0x5a3)])==null?void 0x0:_0x12f9c8[_0x342225(0x259)];return _0x57ed08&&this['_isKanbanGroupField'](_0x3a8a94,_0x57ed08)?_0x57ed08:this[_0x342225(0x4e2)](_0x3a8a94,_0x37f57d=>this['_isAllowedKanbanGroupField'](_0x37f57d));}[_0x2b8d6a(0x4e2)](_0x3d72f2,_0x3b384e){const _0x477872=_0x2b8d6a;for(let _0x3d1391 of _0x3d72f2[_0x477872(0x4ab)]){let _0x48f496=_0x3d72f2['fields'][_0x3d1391];if(_0x48f496&&_0x3b384e(_0x48f496))return _0x48f496['id'];}return null;}['_isKanbanGroupField'](_0x5247f8,_0x204ec2){const _0x1b3492=_0x2b8d6a;let _0x2cd1e5=_0x5247f8[_0x1b3492(0x3b5)][_0x204ec2];return this[_0x1b3492(0x237)](_0x2cd1e5)||_0x4d880f(_0x5247f8,_0x204ec2);}[_0x2b8d6a(0x237)](_0x5d383f){const _0x5ca60b=_0x2b8d6a;return!!_0x5d383f&&(_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['SingleSelect']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x336)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType']['Rating']||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x5ca60b(0x3d5)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x3fa)]||_0x5d383f[_0x5ca60b(0x1cc)]===_0xcf3cf2[_0x5ca60b(0x435)][_0x5ca60b(0x5f8)]);}['_isColorfulKanbanGroupField'](_0x1dd41f){const _0x1a888c=_0x2b8d6a;return _0x1dd41f[_0x1a888c(0x1cc)]===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x2e3)]||_0x1dd41f['type']===_0xcf3cf2[_0x1a888c(0x435)][_0x1a888c(0x336)];}[_0x2b8d6a(0x5c4)](_0x585b2b,_0x1c2239){const _0x56144c=_0x2b8d6a;var _0x2b722a;let _0x1a2fe6=_0x1c2239[_0x56144c(0x4d3)]??((_0x2b722a=_0x1c2239[_0x56144c(0x367)])==null?void 0x0:_0x2b722a['coverFieldId'])??null;if(!_0x1a2fe6)return null;let _0x4df563=_0x585b2b['fields'][_0x1a2fe6];return _0x4df563&&this[_0x56144c(0x539)](_0x4df563)[_0x56144c(0x33a)]?_0x4df563['id']:null;}['_resolveKanbanCardFieldIds'](_0xa88947,_0x5c90d6,_0x1c204a,_0x3e7c72=this[_0x2b8d6a(0x41b)](_0xa88947,((()=>{const _0x1a8f4d=_0x2b8d6a;var _0x51b615;return(_0x51b615=_0x5c90d6[_0x1a8f4d(0x5a3)])==null||(_0x51b615=_0x51b615[_0x1a8f4d(0x367)])==null?void 0x0:_0x51b615[_0x1a8f4d(0x4cf)];})()))){const _0x537563=_0x2b8d6a;var _0x16cfa5;let _0x55466d=_0x5c90d6[_0x537563(0x5a3)]??{},_0x3a806d=(_0x16cfa5=_0x55466d[_0x537563(0x367)])!=null&&(_0x16cfa5=_0x16cfa5[_0x537563(0x4a6)])!=null&&_0x16cfa5['length']?_0x55466d[_0x537563(0x367)][_0x537563(0x4a6)]:_0x47838f(_0xa88947,[_0x3e7c72,_0xa88947['primaryFieldId'],_0x1c204a]),_0xa470ce=_0x55466d[_0x537563(0x239)]??{};return _0x3a806d['filter'](_0x3e5f76=>{const _0x37c9bb=_0x537563;var _0xf17c65,_0x58866a;let _0x4b0362=_0xa88947[_0x37c9bb(0x3b5)][_0x3e5f76];return!(!_0x4b0362||_0x4b0362[_0x37c9bb(0x27a)]===!0x0||_0x4b0362[_0x37c9bb(0x1cc)]===_0xcf3cf2[_0x37c9bb(0x435)][_0x37c9bb(0x46d)]||_0x4b0362['id']===_0x1c204a||_0x4b0362['id']===_0x3e7c72||(_0xf17c65=_0x5c90d6[_0x37c9bb(0x239)])!=null&&(_0xf17c65=_0xf17c65[_0x3e5f76])!=null&&_0xf17c65[_0x37c9bb(0x4e3)]||(_0x58866a=_0xa470ce[_0x3e5f76])!=null&&_0x58866a[_0x37c9bb(0x4e3)]);})[_0x537563(0x24e)]((_0x5f1160,_0x2d8a99)=>{const _0x40c3=_0x537563;var _0x2281e1,_0xe81b72;return(((_0x2281e1=_0xa470ce[_0x5f1160])==null?void 0x0:_0x2281e1[_0x40c3(0x281)])??_0x3a806d[_0x40c3(0x267)](_0x5f1160))-(((_0xe81b72=_0xa470ce[_0x2d8a99])==null?void 0x0:_0xe81b72['order'])??_0x3a806d[_0x40c3(0x267)](_0x2d8a99));});}[_0x2b8d6a(0x316)](_0xb65312,_0x2a0ac0){const _0x29ef0f=_0x2b8d6a;var _0x3c423a;let _0x27862a=(Array['isArray']((_0x3c423a=_0xb65312[_0x29ef0f(0x5a3)])==null?void 0x0:_0x3c423a[_0x29ef0f(0x5cc)])?_0xb65312[_0x29ef0f(0x5a3)][_0x29ef0f(0x5cc)]:[])['flatMap']((_0x14f649,_0x2620f3)=>{const _0x3d2adc=_0x29ef0f;if(_0x14f649==null)return[];let _0xaa1230=typeof _0x14f649==_0x3d2adc(0x3ea)?{'id':_0x14f649,'name':_0x14f649,'color':void 0x0}:_0x14f649,_0x3a38d5=String(_0xaa1230['id']??_0xaa1230[_0x3d2adc(0x456)]??_0x3d2adc(0x290)+(_0x2620f3+0x1));return[{'key':_0x3a38d5,'title':String(_0xaa1230[_0x3d2adc(0x456)]??_0xaa1230['id']??_0x3a38d5),'color':this[_0x3d2adc(0x520)](_0xb65312,_0x3a38d5,_0x2a0ac0)}];});return Object[_0x29ef0f(0x271)](_0x2a0ac0[_0x29ef0f(0x2d4)]??{})[_0x29ef0f(0x458)](([_0x476b95,_0x1fa9f1])=>{const _0x3dca83=_0x29ef0f;_0x27862a[_0x3dca83(0x20f)](_0x21bd77=>_0x21bd77[_0x3dca83(0x2fc)]===_0x476b95)||_0x27862a['push']({'key':_0x476b95,'title':this[_0x3dca83(0x5be)](_0xb65312)?_0x1fa9f1[_0x3dca83(0x5fc)]??this['_kanbanLaneTitle'](_0xb65312,_0x476b95,_0x2a0ac0):this[_0x3dca83(0x55d)](_0xb65312,_0x476b95,_0x2a0ac0),'color':this['_kanbanLaneColor'](_0xb65312,_0x476b95,_0x2a0ac0)});}),_0x27862a;}[_0x2b8d6a(0x4d4)](_0x1cf456,_0x5ca577){const _0x144bef=_0x2b8d6a;let _0x507b5a=_0x5cf321=>{var _0x34b9d6;let _0xf01b3b=_0x5cf321==null?'':String(_0x5cf321);return!_0xf01b3b||!this['_isColorfulKanbanGroupField'](_0x1cf456)?_0xf01b3b:((_0x34b9d6=_0x58a201(_0x1cf456,_0xf01b3b))==null?void 0x0:_0x34b9d6['id'])??_0xf01b3b;};if(Array[_0x144bef(0x2a1)](_0x5ca577)){let _0x392657=_0x5ca577[_0x144bef(0x2c4)](_0x507b5a)[_0x144bef(0x355)](_0x235142=>_0x235142!=='');return _0x392657[_0x144bef(0x3d4)]?_0x392657:[''];}return[_0x507b5a(_0x5ca577)];}[_0x2b8d6a(0x55d)](_0x3e9ccf,_0xa96693,_0xec66b7){const _0x5f14a5=_0x2b8d6a;if(!_0xa96693)return _0x5f14a5(0x5b3);let _0x5aaf81=_0x58a201(_0x3e9ccf,_0xa96693);return(_0x5aaf81==null?void 0x0:_0x5aaf81[_0x5f14a5(0x456)])??_0xa96693;}[_0x2b8d6a(0x520)](_0x462ba6,_0x50963d,_0xcc2251){const _0x5898da=_0x2b8d6a;var _0xc9f2b5;if(this['_isColorfulKanbanGroupField'](_0x462ba6))return(_0xc9f2b5=_0x58a201(_0x462ba6,_0x50963d))==null?void 0x0:_0xc9f2b5[_0x5898da(0x21d)];}[_0x2b8d6a(0x398)](_0x5611dc,_0x261a76){const _0x3578d1=_0x2b8d6a;let _0x233e3c=this[_0x3578d1(0x2f0)](_0x5611dc,_0x261a76[_0x3578d1(0x5a3)]??{}),_0x17236e=_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c['startDateFieldId']];if(!_0x17236e||_0x17236e['type']!==_0xcf3cf2[_0x3578d1(0x435)][_0x3578d1(0x2d9)]||_0x17236e[_0x3578d1(0x30e)]===!0x0||_0x17236e[_0x3578d1(0x27a)]===!0x0||!this[_0x3578d1(0x539)](_0x17236e)[_0x3578d1(0x543)])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Calendar'],'reason':_0x3578d1(0x2a4),'fieldId':_0x233e3c[_0x3578d1(0x31c)]};let _0x274ffc=_0x233e3c['endDateFieldId']?_0x5611dc[_0x3578d1(0x3b5)][_0x233e3c[_0x3578d1(0x2b3)]]:void 0x0,_0x3d341c=this[_0x3578d1(0x40e)](_0x5611dc,_0x261a76);return{'type':_0xcf3cf2[_0x3578d1(0x3c8)][_0x3578d1(0x1e0)],'config':_0x233e3c,'fields':this[_0x3578d1(0x352)](_0x5611dc,_0x261a76),'rows':_0x3d341c,'groups':this[_0x3578d1(0x57d)](_0x5611dc,_0x261a76,_0x3d341c),'events':_0x3d341c[_0x3578d1(0x5d0)](_0x50418c=>{const _0x3ba959=_0x3578d1;let _0x1ff157=_0x3ded3a(_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]]);if(!Number[_0x3ba959(0x2b0)](_0x1ff157))return[];let _0x57e629=_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x31c)]],_0x16d9fa=_0x233e3c[_0x3ba959(0x2b3)]==null?void 0x0:_0x50418c[_0x3ba959(0x404)][_0x233e3c[_0x3ba959(0x2b3)]],_0x4871d2=_0x233e3c['endDateFieldId']==null?void 0x0:_0x3ded3a(_0x16d9fa),_0xec520a=Number[_0x3ba959(0x2b0)](_0x4871d2)?_0x4871d2:void 0x0;return[{'recordId':_0x50418c[_0x3ba959(0x57e)],'title':this[_0x3ba959(0x2a2)](_0x5611dc,_0x50418c,_0x233e3c[_0x3ba959(0x4cf)]),'start':_0x1ff157,'end':_0xec520a,'color':this['_calendarEventColor'](_0x5611dc,_0x50418c,_0x233e3c),'startMs':_0x1ff157,'endMs':_0xec520a,'allDay':this[_0x3ba959(0x4e4)](_0x17236e,_0x274ffc,_0x57e629,_0x16d9fa),'fieldValues':_0x50418c['values']}];})};}['_normalizeCalendarConfig'](_0x55743a,_0x309a7b){const _0x353d8a=_0x2b8d6a;let _0x9ad9bc=this[_0x353d8a(0x55a)](_0x55743a,_0x309a7b[_0x353d8a(0x31c)]),_0x1642de=_0x309a7b[_0x353d8a(0x2b3)]&&this['_isCalendarDateField'](_0x55743a,_0x309a7b[_0x353d8a(0x2b3)])?_0x309a7b[_0x353d8a(0x2b3)]:this[_0x353d8a(0x4a0)](_0x55743a,_0x9ad9bc)??void 0x0,_0x27721c=_0x309a7b['titleFieldId']?_0x55743a[_0x353d8a(0x3b5)][_0x309a7b[_0x353d8a(0x4cf)]]:void 0x0,_0x5955af=_0x27721c&&_0x27721c['system']!==!0x0&&_0x27721c['type']!==_0xcf3cf2[_0x353d8a(0x435)][_0x353d8a(0x46d)]?_0x309a7b[_0x353d8a(0x4cf)]:_0x55743a[_0x353d8a(0x4b4)],_0x37d534=_0x309a7b[_0x353d8a(0x42c)]===_0x353d8a(0x2af)||_0x309a7b[_0x353d8a(0x42c)]==='week'?_0x309a7b[_0x353d8a(0x42c)]:'month',_0xbb6627=_0x309a7b[_0x353d8a(0x33f)]===_0x353d8a(0x48e)||_0x309a7b['timeslotSize']===_0x353d8a(0x4a8)?_0x309a7b[_0x353d8a(0x33f)]:_0x353d8a(0x590),_0x3404d3=typeof _0x309a7b[_0x353d8a(0x5f7)]==_0x353d8a(0x3ea)&&_0x309a7b[_0x353d8a(0x5f7)]['trim']()?_0x309a7b['timeZone']:_0x353d8a(0x3f3),_0x177d42=this['_normalizeCalendarDisplayColor'](_0x55743a,_0x309a7b);return{..._0x309a7b,'startDateFieldId':_0x9ad9bc,'endDateFieldId':_0x1642de,'titleFieldId':_0x5955af,'mode':_0x37d534,'timeslotSize':_0xbb6627,'timeZone':_0x3404d3,'displayColor':_0x177d42,'fieldSettings':Object['fromEntries'](Object[_0x353d8a(0x271)](_0x309a7b[_0x353d8a(0x239)]??{})[_0x353d8a(0x355)](([_0x437f5e])=>{const _0x9d394c=_0x353d8a;let _0x7609a3=_0x55743a[_0x9d394c(0x3b5)][_0x437f5e];return!!(_0x7609a3&&_0x7609a3['system']!==!0x0&&_0x7609a3['type']!==_0xcf3cf2[_0x9d394c(0x435)][_0x9d394c(0x46d)]);}))};}[_0x2b8d6a(0x55a)](_0x3a28eb,_0x17cbf9){const _0x4a45b8=_0x2b8d6a;return _0x17cbf9&&this['_isCalendarDateField'](_0x3a28eb,_0x17cbf9)?_0x17cbf9:this[_0x4a45b8(0x4a0)](_0x3a28eb)??_0x17cbf9??'';}[_0x2b8d6a(0x4a0)](_0xe8bbe1,_0x3a5924){const _0x592d5d=_0x2b8d6a;for(let _0x10d7cb of _0xe8bbe1['fieldOrder'])if(_0x10d7cb!==_0x3a5924&&this[_0x592d5d(0x3bc)](_0xe8bbe1,_0x10d7cb))return _0x10d7cb;return null;}['_isCalendarDateField'](_0xd382a1,_0x11f4a5){const _0x2399d5=_0x2b8d6a;let _0x544717=_0xd382a1[_0x2399d5(0x3b5)][_0x11f4a5];return!!_0x544717&&_0x544717[_0x2399d5(0x1cc)]===_0xcf3cf2[_0x2399d5(0x435)][_0x2399d5(0x2d9)]&&_0x544717[_0x2399d5(0x30e)]!==!0x0&&_0x544717[_0x2399d5(0x27a)]!==!0x0&&this['_capabilities'](_0x544717)[_0x2399d5(0x543)];}[_0x2b8d6a(0x3f8)](_0x43c01c,_0x554dc2){const _0x55a5bc=_0x2b8d6a;let _0x570785=_0x554dc2[_0x55a5bc(0x4c6)];if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x3df)){let _0x1bfe8e=_0x43c01c[_0x55a5bc(0x3b5)][_0x570785['fieldId']];if(_0x1bfe8e&&_0x1bfe8e[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return _0x570785;}if((_0x570785==null?void 0x0:_0x570785[_0x55a5bc(0x1cc)])===_0x55a5bc(0x541)&&typeof _0x570785['color']==_0x55a5bc(0x3ea)&&_0x570785[_0x55a5bc(0x21d)]['trim']())return{'type':'custom','color':_0x570785[_0x55a5bc(0x21d)]};if(_0x554dc2['colorFieldId']){let _0x2dd23c=_0x43c01c['fields'][_0x554dc2['colorFieldId']];if(_0x2dd23c&&_0x2dd23c[_0x55a5bc(0x1cc)]===_0xcf3cf2[_0x55a5bc(0x435)][_0x55a5bc(0x2e3)])return{'type':'selectField','fieldId':_0x554dc2[_0x55a5bc(0x4cc)]};}return{'type':_0x55a5bc(0x541),'color':_0x55a5bc(0x28c)};}[_0x2b8d6a(0x32d)](_0xdf06ea,_0x52ccc0,_0x20dc8e){const _0xa3c704=_0x2b8d6a;let _0x16c54=_0x20dc8e[_0xa3c704(0x4c6)];if((_0x16c54==null?void 0x0:_0x16c54[_0xa3c704(0x1cc)])===_0xa3c704(0x3df)){var _0x534dc1;let _0x2ff1b5=_0xdf06ea[_0xa3c704(0x3b5)][_0x16c54['fieldId']];if(!_0x2ff1b5)return;let _0x41d54b=_0x52ccc0[_0xa3c704(0x404)][_0x16c54[_0xa3c704(0x580)]],_0x370e09=Array['isArray'](_0x41d54b)?_0x41d54b[0x0]:_0x41d54b;return _0x370e09==null||(_0x534dc1=_0x58a201(_0x2ff1b5,String(_0x370e09)))==null?void 0x0:_0x534dc1['color'];}if((_0x16c54==null?void 0x0:_0x16c54['type'])===_0xa3c704(0x541))return _0x16c54[_0xa3c704(0x21d)];}[_0x2b8d6a(0x4e4)](_0x18a15f,_0x25e356,_0x205fec,_0x4016ce){const _0x4ce30a=_0x2b8d6a;var _0xfc6c72,_0x479dd7;let _0x553944=((_0xfc6c72=_0x18a15f[_0x4ce30a(0x5a3)])==null?void 0x0:_0xfc6c72[_0x4ce30a(0x5b1)])===!0x0,_0x363fa1=(_0x25e356==null||(_0x479dd7=_0x25e356[_0x4ce30a(0x5a3)])==null?void 0x0:_0x479dd7[_0x4ce30a(0x5b1)])===!0x0;return!_0x553944&&!_0x363fa1;}[_0x2b8d6a(0x3c6)](_0x5a8e5f,_0x1e37dd){const _0x1bec53=_0x2b8d6a;var _0x20091d,_0x2ae508;let _0x4866e6=((_0x20091d=_0x5a8e5f[_0x1bec53(0x5a3)])==null?void 0x0:_0x20091d[_0x1bec53(0x5b1)])===!0x0,_0x373ad0=((_0x2ae508=_0x1e37dd['config'])==null?void 0x0:_0x2ae508[_0x1bec53(0x5b1)])===!0x0;return!_0x4866e6&&!_0x373ad0;}[_0x2b8d6a(0x345)](_0x3785ea,_0x18c3b0){const _0x5ef0cf=_0x2b8d6a;let _0x326ee0=this[_0x5ef0cf(0x409)](_0x3785ea,_0x18c3b0['config']),_0xa1337e=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x31c)]];if(!_0xa1337e||_0xa1337e[_0x5ef0cf(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xa1337e[_0x5ef0cf(0x30e)]===!0x0||_0xa1337e['system']===!0x0||!this['_capabilities'](_0xa1337e)['usableAsGanttStart'])return{'type':'invalid','viewType':_0xcf3cf2[_0x5ef0cf(0x3c8)][_0x5ef0cf(0x228)],'reason':'invalidGanttStartField','fieldId':_0x326ee0['startDateFieldId']};let _0xf1d514=_0x3785ea[_0x5ef0cf(0x3b5)][_0x326ee0[_0x5ef0cf(0x2b3)]];if(!_0xf1d514||_0xf1d514['type']!==_0xcf3cf2['BaseFieldType'][_0x5ef0cf(0x2d9)]||_0xf1d514[_0x5ef0cf(0x30e)]===!0x0||_0xf1d514[_0x5ef0cf(0x27a)]===!0x0||!this[_0x5ef0cf(0x539)](_0xf1d514)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0xcf3cf2['BaseViewType']['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x326ee0['endDateFieldId']};let _0x3811e5=this[_0x5ef0cf(0x3c6)](_0xa1337e,_0xf1d514),_0x101090=this[_0x5ef0cf(0x40e)](_0x3785ea,_0x18c3b0),_0x537edc=_0x101090[_0x5ef0cf(0x5d0)](_0x27794a=>{const _0x3710aa=_0x5ef0cf;let _0x4d5c33=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x31c)]]),_0x2504bd=_0x3ded3a(_0x27794a[_0x3710aa(0x404)][_0x326ee0[_0x3710aa(0x2b3)]]);if(!Number['isFinite'](_0x4d5c33)||!Number[_0x3710aa(0x2b0)](_0x2504bd))return[];let _0x1b105b=Math[_0x3710aa(0x4f1)](_0x4d5c33,_0x2504bd),_0xf93a1=Math[_0x3710aa(0x591)](_0x4d5c33,_0x2504bd),_0x1e6b16=_0x326ee0['progressFieldId']==null?void 0x0:Number(_0x27794a['values'][_0x326ee0[_0x3710aa(0x5d5)]]);return[{'recordId':_0x27794a[_0x3710aa(0x57e)],'title':this[_0x3710aa(0x2a2)](_0x3785ea,_0x27794a,_0x326ee0['titleFieldId']),'start':_0x1b105b,'end':_0xf93a1,'color':this[_0x3710aa(0x1d3)](_0x3785ea,_0x27794a,_0x326ee0),'progress':Number['isFinite'](_0x1e6b16)?_0x1e6b16:void 0x0,'workingDayCount':_0x326ee0[_0x3710aa(0x4ea)]?_0x3465a0(_0x1b105b,_0xf93a1,_0x326ee0[_0x3710aa(0x60a)]):void 0x0,'dependencyRecordIds':this[_0x3710aa(0x51e)](_0x27794a[_0x3710aa(0x404)][_0x326ee0['dependencyFieldId']??''])}];}),_0x28975f=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math[_0x5ef0cf(0x4f1)](..._0x537edc[_0x5ef0cf(0x2c4)](_0x27a75d=>_0x27a75d['start']))-0x5a*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()-0x5a*_0x4f4166),_0x1826ff=_0x537edc[_0x5ef0cf(0x3d4)]?_0x5c3e33(Math['max'](..._0x537edc['map'](_0x110248=>_0x110248['end']))+0x5b*_0x4f4166):_0x5c3e33(Date[_0x5ef0cf(0x208)]()+0x5b*_0x4f4166),_0x149f87=_0xe7172b(_0x326ee0[_0x5ef0cf(0x410)],_0x28975f,_0x1826ff,_0x326ee0[_0x5ef0cf(0x4ea)]?_0x326ee0[_0x5ef0cf(0x60a)]:void 0x0);return{'type':_0xcf3cf2['BaseViewType'][_0x5ef0cf(0x228)],'fields':this[_0x5ef0cf(0x352)](_0x3785ea,{..._0x18c3b0,'config':_0x326ee0}),'rows':_0x101090,'groups':this[_0x5ef0cf(0x57d)](_0x3785ea,_0x18c3b0,_0x101090),'config':_0x326ee0,'dateRangeAllDay':_0x3811e5,'timeline':{'scale':_0x326ee0[_0x5ef0cf(0x410)],'start':_0x28975f,'end':_0x1826ff,'unitWidth':_0x149f87['unitWidth'],'majorHeaders':_0x149f87[_0x5ef0cf(0x1e2)],'columns':_0x149f87['columns']},'bars':_0x537edc};}['_normalizeGanttConfig'](_0x186d39,_0x361c06){const _0x283f9b=_0x2b8d6a;let _0x369fe5=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x31c)],_0x283f9b(0x571)),_0x54767c=this[_0x283f9b(0x5e0)](_0x186d39,_0x361c06[_0x283f9b(0x2b3)],_0x283f9b(0x526))||_0x369fe5,_0x57f602=_0x361c06['titleFieldId']?_0x186d39['fields'][_0x361c06['titleFieldId']]:void 0x0,_0x4b89e8=_0x57f602&&_0x57f602['system']!==!0x0&&_0x57f602[_0x283f9b(0x1cc)]!==_0xcf3cf2[_0x283f9b(0x435)][_0x283f9b(0x46d)]?_0x361c06[_0x283f9b(0x4cf)]:_0x186d39[_0x283f9b(0x4b4)],_0x2c9642=_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x2c7)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x583)||_0x361c06[_0x283f9b(0x410)]===_0x283f9b(0x437)?_0x361c06[_0x283f9b(0x410)]:'month',_0x5f1d92=_0x399482(_0x361c06[_0x283f9b(0x60a)]);return{..._0x361c06,'startDateFieldId':_0x369fe5,'endDateFieldId':_0x54767c,'titleFieldId':_0x4b89e8,'scale':_0x2c9642,'leftPaneWidth':typeof _0x361c06['leftPaneWidth']==_0x283f9b(0x202)?_0x361c06[_0x283f9b(0x22f)]:void 0x0,'leftPaneCollapsed':_0x361c06[_0x283f9b(0x3dd)]===!0x0,'showTodayLine':_0x361c06[_0x283f9b(0x2fb)]!==!0x1,'displayColor':this[_0x283f9b(0x5e4)](_0x186d39,_0x361c06),'fieldSettings':Object[_0x283f9b(0x3a6)](Object['entries'](_0x361c06[_0x283f9b(0x239)]??{})['filter'](([_0x16aa6d])=>{const _0x53e923=_0x283f9b;let _0x20d6d9=_0x186d39[_0x53e923(0x3b5)][_0x16aa6d];return!!(_0x20d6d9&&_0x20d6d9['system']!==!0x0&&_0x20d6d9[_0x53e923(0x1cc)]!==_0xcf3cf2[_0x53e923(0x435)][_0x53e923(0x46d)]);})),'workingDaysOnly':_0x361c06[_0x283f9b(0x4ea)]===!0x0,'workingDays':_0x5f1d92};}[_0x2b8d6a(0x5e0)](_0x49fcea,_0x3c96da,_0x4ac80b){const _0x186a6b=_0x2b8d6a;if(_0x3c96da&&this[_0x186a6b(0x460)](_0x49fcea,_0x3c96da,_0x4ac80b)||_0x3c96da)return _0x3c96da;for(let _0x19136b of _0x49fcea[_0x186a6b(0x4ab)])if(this['_isGanttDateField'](_0x49fcea,_0x19136b,_0x4ac80b))return _0x19136b;return _0x3c96da??'';}[_0x2b8d6a(0x460)](_0x4593d5,_0x5667d6,_0x237555){const _0x7098da=_0x2b8d6a;let _0x2dd419=_0x4593d5[_0x7098da(0x3b5)][_0x5667d6];if(!_0x2dd419||_0x2dd419[_0x7098da(0x1cc)]!==_0xcf3cf2[_0x7098da(0x435)][_0x7098da(0x2d9)]||_0x2dd419[_0x7098da(0x30e)]===!0x0||_0x2dd419[_0x7098da(0x27a)]===!0x0)return!0x1;let _0x4c27c9=this[_0x7098da(0x539)](_0x2dd419);return _0x237555===_0x7098da(0x571)?_0x4c27c9[_0x7098da(0x205)]:_0x4c27c9[_0x7098da(0x252)];}['_normalizeGanttDisplayColor'](_0x59ab8e,_0x531df4){const _0x54b6ea=_0x2b8d6a;let _0x403417=_0x531df4[_0x54b6ea(0x4c6)];if((_0x403417==null?void 0x0:_0x403417['type'])==='selectField'){let _0x15a792=_0x59ab8e[_0x54b6ea(0x3b5)][_0x403417[_0x54b6ea(0x580)]];if(_0x15a792&&_0x15a792[_0x54b6ea(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x54b6ea(0x2e3)])return _0x403417;}return(_0x403417==null?void 0x0:_0x403417[_0x54b6ea(0x1cc)])===_0x54b6ea(0x512)&&Array[_0x54b6ea(0x2a1)](_0x403417[_0x54b6ea(0x40d)])?{'type':_0x54b6ea(0x512),'rules':_0x403417['rules'][_0x54b6ea(0x355)](_0x664f76=>!!_0x59ab8e[_0x54b6ea(0x3b5)][_0x664f76[_0x54b6ea(0x580)]])}:(_0x403417==null?void 0x0:_0x403417['type'])===_0x54b6ea(0x541)&&typeof _0x403417[_0x54b6ea(0x21d)]==_0x54b6ea(0x3ea)&&_0x403417[_0x54b6ea(0x21d)][_0x54b6ea(0x479)]()?{'type':'custom','color':_0x403417[_0x54b6ea(0x21d)]}:{'type':_0x54b6ea(0x541),'color':_0x54b6ea(0x441)};}[_0x2b8d6a(0x1d3)](_0x1d609b,_0x3b76aa,_0x469c82){const _0x42e4ac=_0x2b8d6a;let _0x256273=_0x469c82['displayColor'];if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x512)){let _0x587e50=_0x256273[_0x42e4ac(0x40d)][_0x42e4ac(0x22c)](_0x70ff69=>this[_0x42e4ac(0x257)](_0x1d609b,_0x3b76aa,_0x70ff69));if(_0x587e50)return _0x587e50['color'];}if((_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])==='selectField'){let _0x249256=_0x1d609b['fields'][_0x256273[_0x42e4ac(0x580)]];if(_0x249256){var _0x1935a6;let _0x2aa65b=_0x3b76aa[_0x42e4ac(0x404)][_0x256273[_0x42e4ac(0x580)]],_0x2c64e5=Array[_0x42e4ac(0x2a1)](_0x2aa65b)?_0x2aa65b[0x0]:_0x2aa65b,_0x4259f9=_0x2c64e5==null||(_0x1935a6=_0x58a201(_0x249256,String(_0x2c64e5)))==null?void 0x0:_0x1935a6[_0x42e4ac(0x21d)];if(_0x4259f9)return _0x4259f9;}}return(_0x256273==null?void 0x0:_0x256273[_0x42e4ac(0x1cc)])===_0x42e4ac(0x541)?_0x256273[_0x42e4ac(0x21d)]:_0x42e4ac(0x441);}['_matchesGanttColorRule'](_0x28e1be,_0x43dbdd,_0x84a6dc){const _0x2a8529=_0x2b8d6a;let _0x4cb0c6=_0x28e1be[_0x2a8529(0x3b5)][_0x84a6dc[_0x2a8529(0x580)]];return _0x4cb0c6?_0x357854(_0x43dbdd[_0x2a8529(0x404)][_0x4cb0c6['id']],_0x84a6dc[_0x2a8529(0x1e5)],_0x84a6dc[_0x2a8529(0x37e)],_0x4cb0c6,{'dateMode':_0x84a6dc[_0x2a8529(0x32f)]}):!0x1;}[_0x2b8d6a(0x59f)](_0x4ab497,_0x5061d8){const _0x1609af=_0x2b8d6a;let _0x42c9c0=this[_0x1609af(0x40e)](_0x4ab497,_0x5061d8),_0x2b109e=this[_0x1609af(0x60f)](_0x4ab497,_0x5061d8['config']??{}),_0x445455=this['_projectFields'](_0x4ab497,_0x5061d8);return{'type':_0xcf3cf2[_0x1609af(0x3c8)][_0x1609af(0x31f)],'fields':_0x445455,'rows':_0x42c9c0,'groups':this[_0x1609af(0x57d)](_0x4ab497,_0x5061d8,_0x42c9c0),'titleFieldId':_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)],'coverFieldId':_0x2b109e[_0x1609af(0x4d3)],'cardLayout':_0x2b109e['cardLayout']??_0x1609af(0x48d),'showFieldNames':_0x2b109e['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x1609af(0x36e)](_0x4ab497,_0x5061d8,_0x2b109e),'cardSize':_0x2b109e[_0x1609af(0x3e5)]??_0x1609af(0x590),'cards':_0x42c9c0['map'](_0x286177=>({'recordId':_0x286177[_0x1609af(0x57e)],'title':this['_title'](_0x4ab497,_0x286177,_0x2b109e[_0x1609af(0x367)][_0x1609af(0x4cf)]),'values':_0x286177[_0x1609af(0x404)]}))};}[_0x2b8d6a(0x60f)](_0x46b39f,_0x43dd8e){const _0x45a835=_0x2b8d6a;let _0x5de389=_0x43dd8e[_0x45a835(0x367)]??{'fieldIds':[]},_0x3d3481=this[_0x45a835(0x41b)](_0x46b39f,_0x5de389[_0x45a835(0x4cf)]),_0x4d0224=this[_0x45a835(0x370)](_0x46b39f,_0x43dd8e),_0x2d6fa2=_0x43dd8e[_0x45a835(0x3e5)]===_0x45a835(0x5ca)||_0x43dd8e['cardSize']==='large'?_0x43dd8e[_0x45a835(0x3e5)]:'medium';return{..._0x43dd8e,'coverFieldId':_0x4d0224,'cardLayout':_0x43dd8e[_0x45a835(0x307)]===_0x45a835(0x4b7)?'compose':_0x45a835(0x48d),'showFieldNames':_0x43dd8e[_0x45a835(0x524)]!==!0x1,'fieldSettings':Object[_0x45a835(0x3a6)](Object[_0x45a835(0x271)](_0x43dd8e[_0x45a835(0x239)]??{})[_0x45a835(0x355)](([_0x593b05])=>{const _0x3f1d51=_0x45a835;let _0x2313f8=_0x46b39f['fields'][_0x593b05];return!!(_0x2313f8&&_0x2313f8[_0x3f1d51(0x27a)]!==!0x0&&_0x2313f8[_0x3f1d51(0x1cc)]!==_0xcf3cf2[_0x3f1d51(0x435)][_0x3f1d51(0x46d)]);})),'card':{..._0x5de389,'titleFieldId':_0x3d3481,'coverFieldId':_0x4d0224,'fieldIds':Array[_0x45a835(0x2a1)](_0x5de389[_0x45a835(0x4a6)])?_0x5de389[_0x45a835(0x4a6)]:[]},'cardSize':_0x2d6fa2};}['_resolveCardTitleFieldId'](_0x261dae,_0x26b87e){const _0x4eef0f=_0x2b8d6a;let _0x4e3a23=_0x26b87e?_0x261dae['fields'][_0x26b87e]:void 0x0;return _0x4e3a23&&_0x4e3a23[_0x4eef0f(0x27a)]!==!0x0&&_0x4e3a23[_0x4eef0f(0x1cc)]!==_0xcf3cf2[_0x4eef0f(0x435)]['RecordId']?_0x4e3a23['id']:_0xb8c8b0(_0x261dae);}[_0x2b8d6a(0x370)](_0x5f0743,_0x155a52){const _0x4b7f33=_0x2b8d6a;var _0x5a1435;let _0x352e09=_0x155a52[_0x4b7f33(0x4d3)]??((_0x5a1435=_0x155a52[_0x4b7f33(0x367)])==null?void 0x0:_0x5a1435[_0x4b7f33(0x4d3)])??null;if(!_0x352e09)return null;let _0x270ece=_0x5f0743['fields'][_0x352e09];return _0x270ece&&this['_capabilities'](_0x270ece)[_0x4b7f33(0x33a)]?_0x270ece['id']:null;}[_0x2b8d6a(0x36e)](_0x122e90,_0x370b30,_0x3e73f3){const _0x46ec91=_0x2b8d6a;var _0x558b49,_0x375059,_0x19360e;let _0x52b76b=_0x3e73f3[_0x46ec91(0x239)]??{},_0x480919=((_0x558b49=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x558b49[_0x46ec91(0x4cf)])??_0xb8c8b0(_0x122e90),_0x16b023=_0x3e73f3[_0x46ec91(0x4d3)]??((_0x375059=_0x3e73f3[_0x46ec91(0x367)])==null?void 0x0:_0x375059[_0x46ec91(0x4d3)])??null,_0x38798e=(_0x19360e=_0x3e73f3[_0x46ec91(0x367)])!=null&&(_0x19360e=_0x19360e[_0x46ec91(0x4a6)])!=null&&_0x19360e[_0x46ec91(0x3d4)]?_0x3e73f3[_0x46ec91(0x367)][_0x46ec91(0x4a6)]:_0x47838f(_0x122e90,[_0x480919,_0x16b023,_0x122e90[_0x46ec91(0x4b4)]]);return _0x38798e['filter'](_0x24a245=>{const _0x3e11b2=_0x46ec91;var _0xdaa656,_0x27a8c4;let _0x20b0a2=_0x122e90['fields'][_0x24a245];return!(!_0x20b0a2||_0x20b0a2[_0x3e11b2(0x27a)]===!0x0||_0x20b0a2[_0x3e11b2(0x1cc)]===_0xcf3cf2[_0x3e11b2(0x435)]['RecordId']||_0x20b0a2['id']===_0x480919||_0x20b0a2['id']===_0x16b023||(_0xdaa656=_0x370b30[_0x3e11b2(0x239)])!=null&&(_0xdaa656=_0xdaa656[_0x24a245])!=null&&_0xdaa656[_0x3e11b2(0x4e3)]||(_0x27a8c4=_0x52b76b[_0x24a245])!=null&&_0x27a8c4[_0x3e11b2(0x4e3)]);})['sort']((_0x5853f2,_0x3cb42f)=>{const _0x234764=_0x46ec91;var _0x2baca1,_0x25ae9d;return(((_0x2baca1=_0x52b76b[_0x5853f2])==null?void 0x0:_0x2baca1['order'])??_0x38798e['indexOf'](_0x5853f2))-(((_0x25ae9d=_0x52b76b[_0x3cb42f])==null?void 0x0:_0x25ae9d[_0x234764(0x281)])??_0x38798e[_0x234764(0x267)](_0x3cb42f));});}[_0x2b8d6a(0x352)](_0x4f8501,_0x307f2f){const _0x1a42f3=_0x2b8d6a;var _0x41084a;return((_0x41084a=_0x307f2f['fieldOrder'])!=null&&_0x41084a[_0x1a42f3(0x3d4)]?_0x307f2f[_0x1a42f3(0x4ab)]:_0x4f8501[_0x1a42f3(0x4ab)])['flatMap'](_0x3ad3ba=>{const _0x463571=_0x1a42f3;var _0x4efe61;let _0x56f3ce=_0x4f8501[_0x463571(0x3b5)][_0x3ad3ba],_0x27dc39=((_0x4efe61=_0x307f2f[_0x463571(0x239)])==null?void 0x0:_0x4efe61[_0x3ad3ba])??{};return!_0x56f3ce||_0x56f3ce['system']===!0x0||_0x56f3ce[_0x463571(0x1cc)]===_0xcf3cf2[_0x463571(0x435)][_0x463571(0x46d)]||_0x27dc39[_0x463571(0x4e3)]?[]:[{'id':_0x56f3ce['id'],'name':_0x56f3ce[_0x463571(0x456)],'description':_0x56f3ce['description'],'type':_0x56f3ce['type'],'config':_0x56f3ce[_0x463571(0x5a3)],'width':_0x27dc39[_0x463571(0x397)],'setting':_0x27dc39}];});}[_0x2b8d6a(0x40e)](_0x42ee0a,_0xee9812){const _0xcfae84=_0x2b8d6a;var _0x3d1ef9;return _0x4baece(_0xcfae84(0x1f7),()=>{const _0x26ace7=_0xcfae84;var _0x139f63,_0x15a831;let _0x3510ec=this[_0x26ace7(0x361)](_0x42ee0a),_0x4a6d1c=this[_0x26ace7(0x5b0)](_0x42ee0a['id'],_0xee9812),_0x342c87=this['_getCellRevision'](_0x42ee0a['id']),_0x39c73b=this[_0x26ace7(0x39c)]['get'](_0x4a6d1c);if(_0x39c73b&&_0x39c73b[_0x26ace7(0x261)]===this[_0x26ace7(0x3aa)]&&_0x39c73b[_0x26ace7(0x211)]===this[_0x26ace7(0x5e2)](_0x42ee0a['id'])){if(_0x39c73b[_0x26ace7(0x5e5)]===_0x342c87&&_0x39c73b[_0x26ace7(0x260)]===_0x3510ec)return _0x39c73b[_0x26ace7(0x5e6)];if(_0x39c73b[_0x26ace7(0x5e5)]!==_0x342c87&&!this[_0x26ace7(0x47b)](_0x42ee0a['id'],_0x39c73b['cellRevision'],_0x342c87,this[_0x26ace7(0x204)](_0xee9812))){let _0x48d044=_0x39c73b[_0x26ace7(0x5e6)]===_0x39c73b[_0x26ace7(0x260)]?_0x3510ec:this[_0x26ace7(0x58b)](_0x39c73b[_0x26ace7(0x5e6)],_0x3510ec);if(_0x48d044)return this[_0x26ace7(0x39c)][_0x26ace7(0x22b)](_0x4a6d1c,{..._0x39c73b,'rows':_0x48d044,'baseRows':_0x3510ec,'cellRevision':_0x342c87}),_0x48d044;}}let _0x32a0d9=_0x4baece(_0x26ace7(0x427),()=>this[_0x26ace7(0x2ca)](_0x42ee0a,_0xee9812,this[_0x26ace7(0x247)](_0x42ee0a,_0xee9812,_0x3510ec)),{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0x26ace7(0x1cc)],'rows':_0x3510ec[_0x26ace7(0x3d4)],'filters':(_0xee9812==null||(_0x139f63=_0xee9812[_0x26ace7(0x355)])==null?void 0x0:_0x139f63[_0x26ace7(0x4ef)][_0x26ace7(0x3d4)])??0x0,'sorts':(_0xee9812==null||(_0x15a831=_0xee9812['sort'])==null?void 0x0:_0x15a831[_0x26ace7(0x3d4)])??0x0});return this['_projectedViewRowsCache'][_0x26ace7(0x22b)](_0x4a6d1c,{'table':_0x42ee0a,'rows':_0x32a0d9,'baseRows':_0x3510ec,'globalRevision':this[_0x26ace7(0x3aa)],'tableRevision':this[_0x26ace7(0x5e2)](_0x42ee0a['id']),'cellRevision':_0x342c87}),_0x32a0d9;},{'tableId':_0x42ee0a['id'],'viewId':_0xee9812==null?void 0x0:_0xee9812['id'],'viewType':_0xee9812==null?void 0x0:_0xee9812[_0xcfae84(0x1cc)],'records':((_0x3d1ef9=_0x42ee0a[_0xcfae84(0x5ab)])==null?void 0x0:_0x3d1ef9[_0xcfae84(0x3d4)])??Object[_0xcfae84(0x582)](_0x42ee0a['records']??{})[_0xcfae84(0x3d4)]});}[_0x2b8d6a(0x361)](_0xb0e6f9){const _0x165492=_0x2b8d6a;var _0x2f7c88;return _0x4baece(_0x165492(0x573),()=>{const _0x5d9f3c=_0x165492;var _0x2f3e85;let _0xa3c047=this[_0x5d9f3c(0x559)](_0xb0e6f9['id']),_0x48b4cb=this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x4f0)](_0xb0e6f9['id']);if(_0x48b4cb&&_0x48b4cb[_0x5d9f3c(0x261)]===this['_globalRevision']&&_0x48b4cb[_0x5d9f3c(0x211)]===this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id'])){if(_0x48b4cb[_0x5d9f3c(0x5e5)]===_0xa3c047&&_0x3118fb(_0x48b4cb[_0x5d9f3c(0x4b0)],_0xb0e6f9))return _0x48b4cb[_0x5d9f3c(0x4b0)]=_0xb0e6f9,_0x48b4cb['rows'];let _0x3b774a=this['_patchProjectedRowsForCellInvalidations'](_0xb0e6f9,_0x48b4cb,_0xa3c047);if(_0x3b774a)return _0x3b774a;}_0x2d7815(_0xb0e6f9)||_0x5d33ae(_0xb0e6f9);let _0x31884e=(_0x2f3e85=_0xb0e6f9['recordOrder'])!=null&&_0x2f3e85[_0x5d9f3c(0x3d4)]?_0xb0e6f9[_0x5d9f3c(0x5ab)]:_0x234b71(_0xb0e6f9[_0x5d9f3c(0x38a)]),_0x415e6a=_0x4baece(_0x5d9f3c(0x2da),()=>{const _0x4991a6=_0x5d9f3c;let _0x14fb4e=[];for(let _0x210962 of _0x31884e){let _0xba7d8d=_0xb0e6f9[_0x4991a6(0x38a)][_0x210962];if(!_0xba7d8d)continue;let _0x21a5b9={};for(let _0x5350b9 of _0xb0e6f9[_0x4991a6(0x4ab)])_0x21a5b9[_0x5350b9]=_0x4bd91a(_0xb0e6f9,_0xba7d8d['id'],_0x5350b9);_0x14fb4e['push']({'recordId':_0xba7d8d['id'],'values':_0x21a5b9});}return _0x14fb4e;},{'tableId':_0xb0e6f9['id'],'records':_0x31884e['length'],'fields':_0xb0e6f9[_0x5d9f3c(0x4ab)]['length']});return this[_0x5d9f3c(0x38e)][_0x5d9f3c(0x22b)](_0xb0e6f9['id'],{'table':_0xb0e6f9,'rows':_0x415e6a,'rowIndexById':_0x50df97(_0x415e6a),'globalRevision':this[_0x5d9f3c(0x3aa)],'tableRevision':this[_0x5d9f3c(0x5e2)](_0xb0e6f9['id']),'cellRevision':_0xa3c047}),_0x415e6a;},{'tableId':_0xb0e6f9['id'],'records':((_0x2f7c88=_0xb0e6f9[_0x165492(0x5ab)])==null?void 0x0:_0x2f7c88[_0x165492(0x3d4)])??Object[_0x165492(0x582)](_0xb0e6f9[_0x165492(0x38a)]??{})['length'],'fields':_0xb0e6f9[_0x165492(0x4ab)][_0x165492(0x3d4)]});}[_0x2b8d6a(0x4bd)](_0x53782f,_0x4abbd3,_0xa41214){const _0x3be102=_0x2b8d6a;let _0x278860=(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])['filter'](_0x503fd5=>_0x503fd5[_0x3be102(0x53b)]>_0x4abbd3['cellRevision']&&_0x503fd5[_0x3be102(0x53b)]<=_0xa41214);if(!_0x278860[_0x3be102(0x3d4)])return _0x4abbd3['table']===_0x53782f?_0x4abbd3[_0x3be102(0x5e6)]:null;let _0x648d79=_0x4abbd3[_0x3be102(0x5e6)],_0x5d0e24=new Map();for(let _0x6cdc93 of _0x278860){let _0xa5e353=_0x5d0e24[_0x3be102(0x4f0)](_0x6cdc93[_0x3be102(0x57e)]);_0xa5e353||(_0xa5e353=new Set(),_0x5d0e24[_0x3be102(0x22b)](_0x6cdc93['recordId'],_0xa5e353)),_0xa5e353['add'](_0x6cdc93['fieldId']);}for(let [_0x4462da,_0x4b4551]of _0x5d0e24){if(!_0x53782f[_0x3be102(0x38a)][_0x4462da])return null;let _0x4b0e60=_0x4abbd3[_0x3be102(0x601)]['get'](_0x4462da);if(_0x4b0e60==null)return null;_0x648d79===_0x4abbd3['rows']&&(_0x648d79=[..._0x4abbd3['rows']]);let _0x507069=_0x648d79[_0x4b0e60],_0x37cd77={..._0x507069['values']};_0x4b4551['forEach'](_0x1e5193=>{_0x37cd77[_0x1e5193]=_0x4bd91a(_0x53782f,_0x4462da,_0x1e5193);}),_0x648d79[_0x4b0e60]={..._0x507069,'values':_0x37cd77};}let _0x39e88b={'table':_0x53782f,'rows':_0x648d79,'rowIndexById':_0x4abbd3[_0x3be102(0x601)],'globalRevision':this[_0x3be102(0x3aa)],'tableRevision':this[_0x3be102(0x5e2)](_0x53782f['id']),'cellRevision':_0xa41214};return this['_projectedRowsCache'][_0x3be102(0x22b)](_0x53782f['id'],_0x39e88b),this[_0x3be102(0x49d)][_0x3be102(0x22b)](_0x53782f['id'],(this[_0x3be102(0x49d)][_0x3be102(0x4f0)](_0x53782f['id'])??[])[_0x3be102(0x355)](_0x3beeaa=>_0x3beeaa[_0x3be102(0x53b)]>Math['max'](0x0,_0xa41214-0x100))),_0x648d79;}[_0x2b8d6a(0x58b)](_0x2e08e5,_0x2fe53a){const _0x44b247=_0x2b8d6a;let _0x12df72=new Map(_0x2fe53a[_0x44b247(0x2c4)](_0x6aacd3=>[_0x6aacd3[_0x44b247(0x57e)],_0x6aacd3])),_0x57debd=!0x1,_0x41934=_0x2e08e5['map'](_0x1bc902=>{const _0x471336=_0x44b247;let _0x47841d=_0x12df72['get'](_0x1bc902[_0x471336(0x57e)]);return _0x47841d?_0x47841d===_0x1bc902?_0x1bc902:(_0x57debd=!0x0,_0x47841d):_0x1bc902;});return _0x57debd?_0x41934:_0x2e08e5;}['_cellInvalidationsTouchFields'](_0x3ebec9,_0x35b990,_0x1efefd,_0x505015){const _0x364813=_0x2b8d6a;return!_0x505015[_0x364813(0x219)]||_0x35b990===_0x1efefd?!0x1:_0x1efefd-_0x35b990>0x100||(this[_0x364813(0x49d)]['get'](_0x3ebec9)??[])[_0x364813(0x20f)](_0x21b33f=>_0x21b33f[_0x364813(0x53b)]>_0x35b990&&_0x21b33f[_0x364813(0x53b)]<=_0x1efefd&&_0x505015[_0x364813(0x244)](_0x21b33f[_0x364813(0x580)]));}[_0x2b8d6a(0x204)](_0x4a7944){const _0xc540d4=_0x2b8d6a;var _0x179d60,_0x56f083;let _0x29e377=new Set();return _0x4a7944==null||(_0x179d60=_0x4a7944[_0xc540d4(0x355)])==null||_0x179d60[_0xc540d4(0x4ef)][_0xc540d4(0x458)](_0xa4975=>_0x29e377['add'](_0xa4975[_0xc540d4(0x580)])),_0x4a7944==null||(_0x56f083=_0x4a7944[_0xc540d4(0x24e)])==null||_0x56f083[_0xc540d4(0x458)](_0x31cbc4=>_0x29e377[_0xc540d4(0x1d6)](_0x31cbc4[_0xc540d4(0x580)])),_0x29e377;}['_groupProjectionFieldIds'](_0xfc2f1e){const _0x10b223=_0x2b8d6a;var _0x7341ec;let _0x4d4daf=this[_0x10b223(0x204)](_0xfc2f1e);return(_0x7341ec=_0xfc2f1e[_0x10b223(0x484)])==null||_0x7341ec[_0x10b223(0x458)](_0xd2fdfc=>_0x4d4daf['add'](_0xd2fdfc[_0x10b223(0x580)])),_0x4d4daf;}[_0x2b8d6a(0x247)](_0x2a3d32,_0x103344,_0x18349a){const _0x319f47=_0x2b8d6a;let _0x4896b7=_0x103344==null?void 0x0:_0x103344['filter'];if(!(_0x4896b7!=null&&_0x4896b7['conditions'][_0x319f47(0x3d4)]))return _0x18349a;let _0x1f4219=_0x4896b7[_0x319f47(0x4ef)]['filter'](_0x39e475=>!_0x1a07c9(_0x39e475));return _0x1f4219[_0x319f47(0x3d4)]?_0x18349a['filter'](_0x2a2149=>{const _0x1521ae=_0x319f47;if(_0x4896b7[_0x1521ae(0x1df)]===_0xcf3cf2[_0x1521ae(0x4bc)]['OR']){for(let _0x42102d of _0x1f4219){let _0x182252=_0x2a3d32[_0x1521ae(0x3b5)][_0x42102d[_0x1521ae(0x580)]];if(!_0x182252||this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x182252[_0x1521ae(0x1cc)])[_0x1521ae(0x355)](_0x2a2149['values'][_0x182252['id']],_0x42102d[_0x1521ae(0x1e5)],_0x42102d[_0x1521ae(0x37e)],_0x182252))return!0x0;}return!0x1;}for(let _0x404746 of _0x1f4219){let _0x339234=_0x2a3d32[_0x1521ae(0x3b5)][_0x404746[_0x1521ae(0x580)]];if(_0x339234&&!this[_0x1521ae(0x32a)][_0x1521ae(0x4f0)](_0x339234['type'])[_0x1521ae(0x355)](_0x2a2149[_0x1521ae(0x404)][_0x339234['id']],_0x404746[_0x1521ae(0x1e5)],_0x404746['operand'],_0x339234))return!0x1;}return!0x0;}):_0x18349a;}[_0x2b8d6a(0x2ca)](_0x51fff6,_0x11dbe4,_0x5224f6){const _0x4c9a50=_0x2b8d6a;let _0x22675e=(_0x11dbe4==null?void 0x0:_0x11dbe4[_0x4c9a50(0x24e)])??[];if(!_0x22675e['length'])return _0x5224f6;let _0xdbd5=_0x22675e[_0x4c9a50(0x5d0)](_0x1ecd8b=>{const _0x3fe53d=_0x4c9a50;let _0xebdc06=_0x51fff6[_0x3fe53d(0x3b5)][_0x1ecd8b[_0x3fe53d(0x580)]];return _0xebdc06?[{..._0x1ecd8b,'field':_0xebdc06}]:[];});return _0xdbd5[_0x4c9a50(0x3d4)]?this[_0x4c9a50(0x566)](_0xdbd5)?this['_fastSortRows'](_0xdbd5,_0x5224f6):[..._0x5224f6]['sort']((_0x34d4e9,_0x3d36d0)=>{const _0x2c7089=_0x4c9a50;for(let _0x5dd1fc of _0xdbd5){let _0x2a13b6=_0x5dd1fc[_0x2c7089(0x48c)],_0x150404=this[_0x2c7089(0x32a)][_0x2c7089(0x4f0)](_0x2a13b6['type'])['compare'](_0x34d4e9[_0x2c7089(0x404)][_0x2a13b6['id']],_0x3d36d0[_0x2c7089(0x404)][_0x2a13b6['id']],_0x2a13b6);if(_0x150404!==0x0)return _0x5dd1fc[_0x2c7089(0x41d)]===_0xcf3cf2['BaseSortDirection'][_0x2c7089(0x57f)]?-_0x150404:_0x150404;}return 0x0;}):_0x5224f6;}[_0x2b8d6a(0x566)](_0x1eee8e){const _0x5a872c=_0x2b8d6a;return _0x1eee8e['every'](_0x493dad=>_0x17654f[_0x5a872c(0x244)](_0x493dad['field'][_0x5a872c(0x1cc)]));}[_0x2b8d6a(0x51a)](_0x121547,_0x69e47b){const _0x3a8208=_0x2b8d6a;return _0x69e47b['map']((_0x2ca292,_0xaec4e)=>({'row':_0x2ca292,'index':_0xaec4e,'keys':_0x121547[_0x3a8208(0x2c4)](_0x23979e=>_0x2ca292['values'][_0x23979e[_0x3a8208(0x580)]])}))[_0x3a8208(0x24e)]((_0x25d806,_0x35fb3d)=>{const _0x4707ae=_0x3a8208;for(let _0x5259bc=0x0;_0x5259bc<_0x121547[_0x4707ae(0x3d4)];_0x5259bc++){let _0x101d24=_0x4746d2(_0x25d806['keys'][_0x5259bc],_0x35fb3d[_0x4707ae(0x582)][_0x5259bc]);if(_0x101d24!==0x0)return _0x121547[_0x5259bc]['direction']===_0xcf3cf2['BaseSortDirection'][_0x4707ae(0x57f)]?-_0x101d24:_0x101d24;}return _0x25d806[_0x4707ae(0x295)]-_0x35fb3d['index'];})[_0x3a8208(0x2c4)](_0x2c350a=>_0x2c350a[_0x3a8208(0x53e)]);}[_0x2b8d6a(0x57d)](_0x416876,_0x19f4ad,_0xaccb1e){const _0x44d312=_0x2b8d6a;var _0x1f667f;return _0x4baece(_0x44d312(0x308),()=>{const _0x55b1d4=_0x44d312;var _0xcbc77b;if(!((_0xcbc77b=_0x19f4ad[_0x55b1d4(0x484)])!=null&&_0xcbc77b['length']))return[];let _0x1e43c7=_0x19f4ad[_0x55b1d4(0x484)][_0x55b1d4(0x355)](_0x4fe30c=>_0x416876['fields'][_0x4fe30c[_0x55b1d4(0x580)]]);if(!_0x1e43c7[_0x55b1d4(0x3d4)])return[];let _0x556408=this[_0x55b1d4(0x341)](_0x416876['id'],_0x19f4ad,_0x1e43c7),_0x2abc58=this['_getCellRevision'](_0x416876['id']),_0x1ab252=this[_0x55b1d4(0x529)][_0x55b1d4(0x4f0)](_0x556408);if(_0x1ab252&&_0x1ab252[_0x55b1d4(0x261)]===this[_0x55b1d4(0x3aa)]&&_0x1ab252[_0x55b1d4(0x211)]===this[_0x55b1d4(0x5e2)](_0x416876['id'])){if(_0x1ab252[_0x55b1d4(0x5e5)]===_0x2abc58&&_0x1ab252[_0x55b1d4(0x5e6)]===_0xaccb1e)return _0x1ab252[_0x55b1d4(0x207)];if(_0x1ab252['cellRevision']!==_0x2abc58&&!this[_0x55b1d4(0x47b)](_0x416876['id'],_0x1ab252['cellRevision'],_0x2abc58,this['_groupProjectionFieldIds'](_0x19f4ad)))return this[_0x55b1d4(0x529)][_0x55b1d4(0x22b)](_0x556408,{..._0x1ab252,'rows':_0xaccb1e,'cellRevision':_0x2abc58}),_0x1ab252[_0x55b1d4(0x207)];}let _0x40c515=new Map();for(let _0x1c8eae of _0xaccb1e){let _0x5bc6c9=_0x40c515,_0x2ca211='';for(let _0xf8dc68=0x0;_0xf8dc68<_0x1e43c7[_0x55b1d4(0x3d4)];_0xf8dc68++){let _0x457a51=_0x1e43c7[_0xf8dc68],_0x11f9d9=_0x1c8eae['values'][_0x457a51[_0x55b1d4(0x580)]],_0x153b9e=_0x104b5b(_0x11f9d9),_0x6083a4=_0x457a51[_0x55b1d4(0x580)]+'\x00'+_0x153b9e,_0x189e2f=_0x2ca211+'/'+_0x457a51['fieldId']+':'+_0x153b9e,_0x39f13d=_0x5bc6c9[_0x55b1d4(0x4f0)](_0x6083a4);_0x39f13d||(_0x39f13d={'key':_0x153b9e,'value':_0x11f9d9,'path':_0x189e2f,'label':_0x153b9e||_0x55b1d4(0x45b),'fieldId':_0x457a51[_0x55b1d4(0x580)],'level':_0xf8dc68,'recordIds':[],'children':new Map()},_0x5bc6c9['set'](_0x6083a4,_0x39f13d)),_0x39f13d[_0x55b1d4(0x5b2)]['push'](_0x1c8eae[_0x55b1d4(0x57e)]),_0x5bc6c9=_0x39f13d[_0x55b1d4(0x1fb)],_0x2ca211=_0x189e2f;}}let _0x1fb76e=this[_0x55b1d4(0x332)](_0x1e43c7,_0x40c515,0x0);return this['_projectedGroupsCache']['set'](_0x556408,{'table':_0x416876,'rows':_0xaccb1e,'groups':_0x1fb76e,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55b1d4(0x5e2)](_0x416876['id']),'cellRevision':_0x2abc58}),_0x1fb76e;},{'tableId':_0x416876['id'],'viewId':_0x19f4ad['id'],'viewType':_0x19f4ad[_0x44d312(0x1cc)],'rows':_0xaccb1e[_0x44d312(0x3d4)],'groupFields':((_0x1f667f=_0x19f4ad['group'])==null?void 0x0:_0x1f667f['length'])??0x0});}[_0x2b8d6a(0x332)](_0x31dd38,_0x5b57e2,_0x4a29ae){const _0x40ed8b=_0x2b8d6a;var _0x42fa2d;let _0x46f39d=Array['from'](_0x5b57e2[_0x40ed8b(0x404)]()),_0x174a91=(_0x42fa2d=_0x31dd38[_0x4a29ae])==null?void 0x0:_0x42fa2d['direction'];return _0x174a91&&_0x46f39d['sort']((_0x4a651f,_0x19520e)=>{const _0x1f9493=_0x40ed8b;let _0x1b5a54=_0x4a651f['key'][_0x1f9493(0x1f9)](_0x19520e[_0x1f9493(0x2fc)]);return _0x174a91===_0xcf3cf2['BaseSortDirection']['DESC']?-_0x1b5a54:_0x1b5a54;}),_0x46f39d['map'](_0xd4c74e=>({'key':_0xd4c74e[_0x40ed8b(0x2fc)],'value':_0xd4c74e['value'],'path':_0xd4c74e[_0x40ed8b(0x342)],'label':_0xd4c74e['label'],'fieldId':_0xd4c74e[_0x40ed8b(0x580)],'level':_0xd4c74e[_0x40ed8b(0x4a7)],'recordIds':_0xd4c74e[_0x40ed8b(0x5b2)],'children':this[_0x40ed8b(0x332)](_0x31dd38,_0xd4c74e[_0x40ed8b(0x1fb)],_0x4a29ae+0x1)}));}[_0x2b8d6a(0x2a2)](_0x117b9d,_0x7c6f6b,_0x15a7f5){const _0x56b10b=_0x2b8d6a;let _0xa11f5f=_0x15a7f5??_0x117b9d[_0x56b10b(0x4b4)],_0x58162b=_0x7c6f6b['values'][_0xa11f5f];return _0x58162b==null?'':String(_0x58162b);}[_0x2b8d6a(0x51e)](_0x36a095){const _0x58508e=_0x2b8d6a;if(Array[_0x58508e(0x2a1)](_0x36a095))return _0x36a095[_0x58508e(0x2c4)](String);if(typeof _0x36a095==_0x58508e(0x3ea)&&_0x36a095)return[_0x36a095];}[_0x2b8d6a(0x539)](_0x5eab2c){const _0x3695a0=_0x2b8d6a;return this['_fieldRegistry'][_0x3695a0(0x4f0)](_0x5eab2c['type'])['getCapabilities'](_0x5eab2c);}};_0x270515=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x3dec17))],_0x270515);function _0x104b5b(_0x496113){return _0x496113==null?'':String(_0x496113);}function _0x50df97(_0x1949f4){const _0x26998b=_0x2b8d6a;return new Map(_0x1949f4[_0x26998b(0x2c4)]((_0x5264d2,_0x5e3187)=>[_0x5264d2[_0x26998b(0x57e)],_0x5e3187]));}function _0x2d7815(_0x1412aa){const _0x320fec=_0x2b8d6a;return!!(Array[_0x320fec(0x2a1)](_0x1412aa[_0x320fec(0x5ab)])&&_0x1412aa[_0x320fec(0x29a)]&&_0x1412aa[_0x320fec(0x369)]&&_0x1412aa[_0x320fec(0x1f5)]&&_0x1412aa[_0x320fec(0x4df)]&&_0x1412aa[_0x320fec(0x2a3)]);}function _0x5ddb6f(_0x4a6bf2){const _0x5e9351=_0x2b8d6a;let _0xb0a092=(_0x4a6bf2==null?void 0x0:_0x4a6bf2[_0x5e9351(0x4ef)][_0x5e9351(0x355)](_0x47e35e=>!_0x1a07c9(_0x47e35e)))??[];return!_0x4a6bf2||!_0xb0a092[_0x5e9351(0x3d4)]?null:{'conjunction':_0x4a6bf2[_0x5e9351(0x1df)],'conditions':_0xb0a092['map'](_0x1b3524=>({'fieldId':_0x1b3524[_0x5e9351(0x580)],'operator':_0x1b3524[_0x5e9351(0x1e5)],'operand':_0x1b3524[_0x5e9351(0x37e)]}))};}function _0x3118fb(_0x17a21f,_0x52729b){const _0x1b8f35=_0x2b8d6a;return _0x17a21f['records']===_0x52729b[_0x1b8f35(0x38a)]&&_0x17a21f[_0x1b8f35(0x5ab)]===_0x52729b[_0x1b8f35(0x5ab)]&&_0x17a21f[_0x1b8f35(0x3b5)]===_0x52729b[_0x1b8f35(0x3b5)]&&_0x17a21f['fieldOrder']===_0x52729b[_0x1b8f35(0x4ab)]&&_0x17a21f['cellData']===_0x52729b[_0x1b8f35(0x2a3)]&&_0x17a21f[_0x1b8f35(0x29a)]===_0x52729b[_0x1b8f35(0x29a)]&&_0x17a21f[_0x1b8f35(0x369)]===_0x52729b[_0x1b8f35(0x369)]&&_0x17a21f['colIndex']===_0x52729b['colIndex']&&_0x17a21f[_0x1b8f35(0x4df)]===_0x52729b['colId'];}function _0x16dfff(_0x170a54){const _0x58e538=_0x2b8d6a;return _0x170a54!=null&&_0x170a54[_0x58e538(0x3d4)]?_0x170a54[_0x58e538(0x2c4)](_0x46ba0e=>({'fieldId':_0x46ba0e[_0x58e538(0x580)],'direction':_0x46ba0e[_0x58e538(0x41d)]})):null;}function _0x1776c9(_0x4cb18d){const _0x39c5c9=_0x2b8d6a;if(typeof _0x4cb18d!='object'||!_0x4cb18d)return JSON[_0x39c5c9(0x322)](_0x4cb18d)??_0x39c5c9(0x607);if(Array[_0x39c5c9(0x2a1)](_0x4cb18d))return'['+_0x4cb18d[_0x39c5c9(0x2c4)](_0x1776c9)['join'](',')+']';let _0x34649d=_0x4cb18d;return'{'+Object[_0x39c5c9(0x582)](_0x34649d)[_0x39c5c9(0x24e)]()[_0x39c5c9(0x2c4)](_0x4a855b=>JSON['stringify'](_0x4a855b)+':'+_0x1776c9(_0x34649d[_0x4a855b]))[_0x39c5c9(0x600)](',')+'}';}function _0x234b71(_0x19c73a){const _0x3885b9=_0x2b8d6a;let _0x14a55d=Object[_0x3885b9(0x404)](_0x19c73a)['sort']((_0x1b4021,_0x4c20c0)=>_0x1b4021['orderKey'][_0x3885b9(0x1f9)](_0x4c20c0['orderKey'])),_0x1fa39f=[];for(let _0x3bfe7b of _0x14a55d)_0x1fa39f[_0x3885b9(0x309)](_0x3bfe7b['id']);return _0x1fa39f;}function _0x399482(_0x2a9c2c){const _0x321b50=_0x2b8d6a;return{'weekdays':Array[_0x321b50(0x2a1)](_0x2a9c2c==null?void 0x0:_0x2a9c2c['weekdays'])&&_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x3d4)]?[...new Set(_0x2a9c2c[_0x321b50(0x2f9)][_0x321b50(0x355)](_0x21c5e3=>Number[_0x321b50(0x1f0)](_0x21c5e3)&&_0x21c5e3>=0x1&&_0x21c5e3<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x2a9c2c==null?void 0x0:_0x2a9c2c['exceptions'])?_0x2a9c2c[_0x321b50(0x3a1)][_0x321b50(0x5d0)](_0x59b71f=>!_0x59b71f||!Number['isFinite'](_0x59b71f[_0x321b50(0x570)])?[]:[{'id':String(_0x59b71f['id']||_0x321b50(0x42d)+_0x59b71f[_0x321b50(0x570)]),'date':_0x5c3e33(Number(_0x59b71f[_0x321b50(0x570)])),'name':String(_0x59b71f[_0x321b50(0x456)]||_0x321b50(0x53c)),'type':_0x59b71f[_0x321b50(0x1cc)]==='working'?_0x321b50(0x532):_0x321b50(0x534)}]):[]};}function _0xe7172b(_0x4dea86,_0x48b2fe,_0x12894e,_0x15fc9e){let _0x160d86=_0x4588ae(_0x4dea86,_0x48b2fe),_0x4acde9=_0x3897ba(_0x4dea86,_0x12894e),_0x111927=_0x273c1a(_0x4dea86,_0x160d86,_0x4acde9,_0x15fc9e);return{'scale':_0x4dea86,'start':_0x160d86,'end':_0x4acde9,'unitWidth':_0x3c1394(_0x4dea86),'majorHeaders':_0x215025(_0x4dea86,_0x160d86,_0x4acde9),'columns':_0x111927};}function _0x273c1a(_0x50fa6b,_0x4e05ab,_0x456493,_0x4e791a){const _0x3f96c3=_0x2b8d6a;let _0x5dde09=[],_0x53e195=_0x4e05ab;for(;_0x53e195<_0x456493;){let _0x5cd501=_0x50fa6b===_0x3f96c3(0x583)?_0x377421(_0x53e195,0x7):_0x50fa6b===_0x3f96c3(0x437)?_0x1f22fa(_0x53e195,0x1):_0x377421(_0x53e195,0x1);_0x5dde09['push']({'id':_0x50fa6b+'-'+_0x53e195,'label':_0x55a568(_0x50fa6b,_0x53e195,_0x5cd501),'majorLabel':_0x537271(_0x50fa6b,_0x53e195),'start':_0x53e195,'end':_0x5cd501,'nonWorking':_0x2a5c80(_0x53e195,_0x5cd501,_0x4e791a)}),_0x53e195=_0x5cd501;}return _0x5dde09;}function _0x215025(_0x445521,_0x3c7990,_0xd37d35){const _0x2cd3b5=_0x2b8d6a;let _0x4192d0=[],_0x18eb5e=_0x445521===_0x2cd3b5(0x437)?_0x53c8da(_0x3c7990):_0x117564(_0x3c7990);for(;_0x18eb5e<_0xd37d35;){let _0x36c507=_0x445521===_0x2cd3b5(0x437)?_0x180823(_0x18eb5e,0x1):_0x1f22fa(_0x18eb5e,0x1);_0x4192d0[_0x2cd3b5(0x309)]({'id':'major-'+_0x18eb5e,'label':_0x445521===_0x2cd3b5(0x437)?String(new Date(_0x18eb5e)['getUTCFullYear']()):_0x1b27a9(_0x18eb5e),'start':_0x18eb5e,'end':_0x36c507}),_0x18eb5e=_0x36c507;}return _0x4192d0;}function _0x3c1394(_0x4c0493){const _0x4b9deb=_0x2b8d6a;switch(_0x4c0493){case _0x4b9deb(0x2c7):return 0xac;case _0x4b9deb(0x583):return 0xac;case _0x4b9deb(0x437):return 0x88;default:return 0x56;}}function _0x4588ae(_0x1c82ef,_0x31d653){const _0xe02a37=_0x2b8d6a;return _0x1c82ef===_0xe02a37(0x437)?_0x53c8da(_0x31d653):_0x1c82ef===_0xe02a37(0x583)?_0x19c80e(_0x31d653):_0x5c3e33(_0x31d653);}function _0x3897ba(_0x446e2e,_0x39e145){const _0x19179b=_0x2b8d6a;return _0x446e2e===_0x19179b(0x437)?_0x180823(_0x53c8da(_0x39e145),0x1):_0x446e2e==='quarter'?_0x377421(_0x19c80e(_0x39e145),0x7):_0x377421(_0x5c3e33(_0x39e145),0x1);}function _0x55a568(_0x53ee6d,_0x3498b2,_0x3b604b){const _0x4c0f41=_0x2b8d6a;let _0x473811=new Date(_0x3498b2);return _0x53ee6d===_0x4c0f41(0x583)?_0x473811[_0x4c0f41(0x4b8)]()+'-'+new Date(_0x3b604b-_0x4f4166)['getUTCDate']():_0x53ee6d===_0x4c0f41(0x437)?_0x473811[_0x4c0f41(0x29e)](_0x4c0f41(0x421),{'month':_0x4c0f41(0x48e),'timeZone':_0x4c0f41(0x418)}):String(_0x473811[_0x4c0f41(0x4b8)]());}function _0x537271(_0x4a169d,_0xff8f48){const _0x67b61e=_0x2b8d6a;return _0x4a169d===_0x67b61e(0x437)?String(new Date(_0xff8f48)[_0x67b61e(0x446)]()):_0x1b27a9(_0xff8f48);}function _0x3465a0(_0x41b73c,_0x4edf57,_0x5765e0){let _0x65fde1=_0x399482(_0x5765e0),_0x511892=0x0;for(let _0x52b405=_0x5c3e33(_0x41b73c);_0x52b405<=_0x5c3e33(_0x4edf57);_0x52b405=_0x377421(_0x52b405,0x1))_0x42d7a6(_0x52b405,_0x65fde1)||_0x511892++;return _0x511892;}function _0x2a5c80(_0x19db32,_0xd6a430,_0x2482b4){if(!_0x2482b4)return!0x1;let _0xbba99a=_0x399482(_0x2482b4);for(let _0x20987f=_0x5c3e33(_0x19db32);_0x20987f<_0xd6a430;_0x20987f=_0x377421(_0x20987f,0x1))if(!_0x42d7a6(_0x20987f,_0xbba99a))return!0x1;return!0x0;}function _0x42d7a6(_0x2cd5b8,_0x254e35){const _0x39f575=_0x2b8d6a;let _0x4b9d77=_0x5c3e33(_0x2cd5b8),_0x12d2ff=_0x254e35['exceptions'][_0x39f575(0x22c)](_0x726d4=>_0x5c3e33(_0x726d4['date'])===_0x4b9d77);if(_0x12d2ff)return _0x12d2ff['type']===_0x39f575(0x534);let _0x213839=new Date(_0x4b9d77)[_0x39f575(0x3ad)](),_0x5a9523=_0x213839===0x0?0x7:_0x213839;return!_0x254e35[_0x39f575(0x2f9)][_0x39f575(0x299)](_0x5a9523);}function _0x5c3e33(_0x1df645){const _0x35ce7c=_0x2b8d6a;let _0x258da6=new Date(_0x1df645);return Date[_0x35ce7c(0x418)](_0x258da6[_0x35ce7c(0x446)](),_0x258da6[_0x35ce7c(0x3f1)](),_0x258da6[_0x35ce7c(0x4b8)]());}function _0x19c80e(_0x558e8c){const _0x46e6ae=_0x2b8d6a;let _0x9e24ef=_0x5c3e33(_0x558e8c),_0xeea2ba=new Date(_0x9e24ef)[_0x46e6ae(0x3ad)]();return _0x377421(_0x9e24ef,-(_0xeea2ba===0x0?0x6:_0xeea2ba-0x1));}function _0x117564(_0x4323c0){const _0x195870=_0x2b8d6a;let _0x4c0880=new Date(_0x4323c0);return Date[_0x195870(0x418)](_0x4c0880[_0x195870(0x446)](),_0x4c0880[_0x195870(0x3f1)](),0x1);}function _0x53c8da(_0x5bc167){const _0x3e2d67=_0x2b8d6a;let _0x3183e3=new Date(_0x5bc167);return Date[_0x3e2d67(0x418)](_0x3183e3['getUTCFullYear'](),0x0,0x1);}function _0x377421(_0x14c6fd,_0x69a4be){return _0x14c6fd+_0x69a4be*_0x4f4166;}function _0x1f22fa(_0x4f211e,_0x4afbb5){const _0x1db1e0=_0x2b8d6a;let _0xf80990=new Date(_0x4f211e);return Date[_0x1db1e0(0x418)](_0xf80990[_0x1db1e0(0x446)](),_0xf80990[_0x1db1e0(0x3f1)]()+_0x4afbb5,0x1);}function _0x180823(_0x567813,_0x1b1543){const _0xfda87d=_0x2b8d6a;let _0x31a1c5=new Date(_0x567813);return Date[_0xfda87d(0x418)](_0x31a1c5[_0xfda87d(0x446)]()+_0x1b1543,0x0,0x1);}function _0x1b27a9(_0x60fa56){const _0xf39b59=_0x2b8d6a;let _0x19b6ba=new Date(_0x60fa56);return _0x19b6ba['toLocaleString'](_0xf39b59(0x421),{'month':_0xf39b59(0x48e),'timeZone':_0xf39b59(0x418)})+'\x20'+_0x19b6ba[_0xf39b59(0x446)]();}function _0x4746d2(_0x4813ba,_0x4bebda){const _0x3a584c=_0x2b8d6a;if(_0x4813ba==null&&_0x4bebda==null)return 0x0;if(_0x4813ba==null)return-0x1;if(_0x4bebda==null)return 0x1;if(typeof _0x4813ba==_0x3a584c(0x511)||typeof _0x4bebda=='boolean')return Number(_0x4813ba===!0x0)-Number(_0x4bebda===!0x0);let _0x13d585=Number(_0x4813ba),_0x1a7887=Number(_0x4bebda),_0x22878a=Number[_0x3a584c(0x2b0)](_0x13d585),_0x1867a5=Number[_0x3a584c(0x2b0)](_0x1a7887);return _0x22878a&&_0x1867a5?_0x13d585-_0x1a7887:_0x22878a?0x1:_0x1867a5?-0x1:String(_0x4813ba)['localeCompare'](String(_0x4bebda));}function _0x1a07c9(_0x2adf6e){const _0x2dbd8a=_0x2b8d6a;if(_0x2adf6e[_0x2dbd8a(0x1e5)]!=='is'&&_0x2adf6e[_0x2dbd8a(0x1e5)]!=='isNot')return!0x1;let _0x3d9d73=_0x2adf6e[_0x2dbd8a(0x37e)];return _0x3d9d73==null?!0x0:typeof _0x3d9d73==_0x2dbd8a(0x3ea)?_0x3d9d73[_0x2dbd8a(0x479)]()==='':Array[_0x2dbd8a(0x2a1)](_0x3d9d73)?_0x3d9d73[_0x2dbd8a(0x3d4)]===0x0:!0x1;}function _0x58a201(_0x3b12a7,_0x4708de){const _0x51cb8f=_0x2b8d6a;var _0x544054;let _0x41e25e=Array['isArray']((_0x544054=_0x3b12a7[_0x51cb8f(0x5a3)])==null?void 0x0:_0x544054[_0x51cb8f(0x5cc)])?_0x3b12a7[_0x51cb8f(0x5a3)][_0x51cb8f(0x5cc)]:[];for(let _0x5f5129 of _0x41e25e){if(_0x5f5129==null)continue;if(typeof _0x5f5129==_0x51cb8f(0x3ea)){if(_0x5f5129===_0x4708de)return{'id':_0x5f5129,'name':_0x5f5129};continue;}let _0x164d2e=_0x5f5129,_0xb9629f=String(_0x164d2e['id']??_0x164d2e[_0x51cb8f(0x456)]??''),_0x3addb0=String(_0x164d2e[_0x51cb8f(0x456)]??_0x164d2e['id']??_0xb9629f);if(_0xb9629f===_0x4708de||_0x3addb0===_0x4708de)return{'id':_0xb9629f,'name':_0x3addb0,'color':_0x164d2e[_0x51cb8f(0x21d)]==null?void 0x0:String(_0x164d2e[_0x51cb8f(0x21d)])};}return null;}let _0x34db2c=function(_0x3730e5){const _0x3c7330=_0x2b8d6a;return _0x3730e5['CreateView']=_0x3c7330(0x556),_0x3730e5[_0x3c7330(0x537)]=_0x3c7330(0x5dc),_0x3730e5;}({}),_0x40f796={'id':_0x2b8d6a(0x304),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler'(_0x5baec5,_0x1b4ccd){const _0x4eb10f=_0x2b8d6a;let {unitId:_0x3f1163,op:_0x46f461}=_0x1b4ccd,_0x480d16=_0x5baec5[_0x4eb10f(0x4f0)](_0xcf3cf2[_0x4eb10f(0x56e)])[_0x4eb10f(0x425)](_0x3f1163,_0xcf3cf2[_0x4eb10f(0x2f8)][_0x4eb10f(0x2bf)]);if(!_0x480d16)return!0x1;let _0x2061de=_0x480d16['getSnapshot'](),_0x1e5645=new _0x3c7454(),_0x160d27=_0x1e5645[_0x4eb10f(0x235)](_0x46f461),_0x4881c0=_0x1e5645[_0x4eb10f(0x54e)](_0x2061de,_0x46f461);return _0x480d16[_0x4eb10f(0x268)](_0x4881c0),_0x463b94(_0x4881c0,_0x160d27,_0x5baec5[_0x4eb10f(0x4f0)](_0x5e90db)),!0x0;}};function _0x463b94(_0x1ec9ac,_0x1b90cb,_0x356ba1){const _0x27def7=_0x2b8d6a;let _0xaec99f=new Set(),_0x950d63=new Set(),_0x3936af=new Set();for(let _0x39d256 of _0x1b90cb){if(_0x39d256[_0x27def7(0x2e7)]===_0x27def7(0x2e6)&&_0x39d256['tableId']&&_0x39d256[_0x27def7(0x608)]){let _0x4a8b13=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256['viewId'];_0x3936af['has'](_0x4a8b13)||(_0x3936af['add'](_0x4a8b13),_0x356ba1[_0x27def7(0x4fd)](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x608)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]==='field'&&_0x39d256[_0x27def7(0x3e2)]&&_0x39d256[_0x27def7(0x580)]){let _0x2fa470=_0x39d256[_0x27def7(0x3e2)]+'\x00'+_0x39d256[_0x27def7(0x580)];_0x950d63[_0x27def7(0x244)](_0x2fa470)||(_0x950d63[_0x27def7(0x1d6)](_0x2fa470),_0x356ba1['invalidateByField'](_0x39d256[_0x27def7(0x3e2)],_0x39d256[_0x27def7(0x580)]));continue;}if(_0x39d256[_0x27def7(0x2e7)]!==_0x27def7(0x4c1)){_0x356ba1[_0x27def7(0x498)]();return;}let _0x4a66f1=_0x409835(_0x1ec9ac,_0x39d256);if(!_0x4a66f1){_0x356ba1['invalidateByOp']();return;}let _0x393c21=_0x4a66f1[_0x27def7(0x3e2)]+'\x00'+_0x4a66f1[_0x27def7(0x57e)]+'\x00'+_0x4a66f1[_0x27def7(0x580)];_0xaec99f[_0x27def7(0x244)](_0x393c21)||(_0xaec99f[_0x27def7(0x1d6)](_0x393c21),_0x356ba1['invalidateByCell'](_0x4a66f1[_0x27def7(0x3e2)],_0x4a66f1['recordId'],_0x4a66f1[_0x27def7(0x580)]));}}function _0x409835(_0x4add41,_0xbb0c58){const _0x2b958a=_0x2b8d6a;var _0x34f9ae,_0xad0b2c;if(!_0xbb0c58[_0x2b958a(0x3e2)])return null;if(_0xbb0c58[_0x2b958a(0x57e)]&&_0xbb0c58['fieldId'])return{'tableId':_0xbb0c58['tableId'],'recordId':_0xbb0c58['recordId'],'fieldId':_0xbb0c58[_0x2b958a(0x580)]};if(_0xbb0c58['row']==null||_0xbb0c58['column']==null)return null;let _0x32d793=_0x4add41[_0x2b958a(0x3d7)][_0xbb0c58[_0x2b958a(0x3e2)]],_0x23849a=_0x32d793==null||(_0x34f9ae=_0x32d793['rowId'])==null?void 0x0:_0x34f9ae[_0xbb0c58['row']],_0x51498d=_0x32d793==null||(_0xad0b2c=_0x32d793[_0x2b958a(0x4df)])==null?void 0x0:_0xad0b2c[_0xbb0c58['column']];return!_0x23849a||!_0x51498d?null:{'tableId':_0xbb0c58[_0x2b958a(0x3e2)],'recordId':_0x23849a,'fieldId':_0x51498d};}let _0x1472d6=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x48837e=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0xd67bea=/\{([^}]+)\}/g,_0x5e2187=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x4c29fe=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x472412=_0xcf3cf2['regexp'][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x2bd556=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xb29993=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x9b039a=_0xcf3cf2[_0x2b8d6a(0x4ce)][_0x2b8d6a(0x270)](String[_0x2b8d6a(0x31a)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x41a657=class{[_0x2b8d6a(0x343)](_0x3d5253,_0x578a28=_0x3d5253['id']){const _0x37c9df=_0x2b8d6a;var _0x12cd60;let _0xf7a5de=((_0x12cd60=_0x3d5253[_0x37c9df(0x5ab)])==null?void 0x0:_0x12cd60[_0x37c9df(0x3d4)])??Object['values'](_0x3d5253[_0x37c9df(0x38a)])['length'];return{'sheetId':_0x578a28,'titleMap':new Map(_0x3d5253[_0x37c9df(0x4ab)][_0x37c9df(0x2c4)]((_0x5aac86,_0x5b263a)=>{const _0x25e037=_0x37c9df;var _0x293e78;return[((_0x293e78=_0x3d5253[_0x25e037(0x3b5)][_0x5aac86])==null?void 0x0:_0x293e78[_0x25e037(0x456)])??_0x5aac86,_0x5b263a];})),'range':{'startRow':0x0,'endRow':Math[_0x37c9df(0x591)](0x0,_0xf7a5de-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x3d5253[_0x37c9df(0x4ab)]['length']-0x1)},'showHeader':!0x1};}[_0x2b8d6a(0x503)](_0x7dc65e,_0x13fa4c){const _0x3b2854=_0x2b8d6a;let _0x1ddd04=[],_0x4a4f7a=_0x13fa4c?new Set(_0x13fa4c):null,_0x1802f6=(0x0,_0xcf3cf2[_0x3b2854(0x314)])(_0x7dc65e);return Object['values'](_0x7dc65e[_0x3b2854(0x3d7)])['filter'](_0x265448=>!_0x4a4f7a||_0x4a4f7a[_0x3b2854(0x244)](_0x265448['id']))[_0x3b2854(0x458)](_0x3114e4=>{const _0x3392dc=_0x3b2854;let _0xd8b8f4=this[_0x3392dc(0x343)](_0x3114e4,_0x3114e4['id']);_0x1ddd04[_0x3392dc(0x309)]({'tableId':_0x3114e4['id'],'tableName':_0x1802f6[_0x3392dc(0x4f0)](_0x3114e4['id']),'reference':_0xd8b8f4});}),_0x1ddd04;}[_0x2b8d6a(0x226)](_0x43b1de,_0x5bf951,_0x1c1011={}){const _0x4f8bfc=_0x2b8d6a;let _0x1c41ac=_0x43b1de[_0x4f8bfc(0x479)]();if(!_0x1c41ac)return{'valid':!0x0};if(_0x4b7b4c(_0x1c41ac))return{'valid':!0x1,'reason':_0x4f8bfc(0x31e)};let _0x4ed9c8=_0x1c1011[_0x4f8bfc(0x5c6)]?(0x0,_0xcf3cf2[_0x4f8bfc(0x314)])(_0x1c1011[_0x4f8bfc(0x5c6)]):void 0x0;for(let _0x31f661 of _0x58a8f1(_0x1c41ac)){let _0x208086=_0x4e99fe(_0x31f661,_0x5bf951,_0x1c1011['snapshot'],_0x4ed9c8);if(!_0x208086['table'])return{'valid':!0x1,'reason':_0x4f8bfc(0x28e)+_0x31f661[_0x4f8bfc(0x4b1)]+_0x4f8bfc(0x354)};if(!_0x208086['field'])return{'valid':!0x1,'reason':_0x4f8bfc(0x3ac)+_0x31f661[_0x4f8bfc(0x5c2)]+_0x4f8bfc(0x294)};}return{'valid':!0x0};}['getDependencies'](_0x3764b6,_0x2a7dee,_0x821460={}){const _0xbf582e=_0x2b8d6a;let _0x59e4cc=new Set();for(let _0x5d61ad of this[_0xbf582e(0x2e1)](_0x3764b6,_0x2a7dee,_0x821460))_0x5d61ad['tableId']===_0x2a7dee['id']&&_0x59e4cc[_0xbf582e(0x1d6)](_0x5d61ad['fieldId']);return Array[_0xbf582e(0x1ea)](_0x59e4cc);}[_0x2b8d6a(0x2e1)](_0x5df63c,_0x5e69d2,_0x226c75={}){const _0x30e3f6=_0x2b8d6a;let _0x2e5697=new Map(),_0x5845c8=_0x226c75['snapshot']?(0x0,_0xcf3cf2[_0x30e3f6(0x314)])(_0x226c75[_0x30e3f6(0x5c6)]):void 0x0;for(let _0x3ba7c4 of _0x58a8f1(_0x5df63c)){let _0x5a6727=_0x4e99fe(_0x3ba7c4,_0x5e69d2,_0x226c75[_0x30e3f6(0x5c6)],_0x5845c8);if(!_0x5a6727[_0x30e3f6(0x4b0)]||!_0x5a6727[_0x30e3f6(0x48c)])continue;let _0x45c244=_0x5a6727[_0x30e3f6(0x4b0)]['id']+'\x1f'+_0x5a6727['field']['id'];_0x2e5697['set'](_0x45c244,{'tableId':_0x5a6727[_0x30e3f6(0x4b0)]['id'],'fieldId':_0x5a6727[_0x30e3f6(0x48c)]['id']});}return Array[_0x30e3f6(0x1ea)](_0x2e5697[_0x30e3f6(0x404)]());}};function _0x3bbd86(_0x3fab66,_0x2a97d4){const _0xdffac3=_0x2b8d6a;var _0x9fbbab;let _0x437f34=[],_0x524ebc=(_0x9fbbab=_0x2a97d4[_0xdffac3(0x364)])==null?void 0x0:_0x9fbbab[_0x3fab66['id']];return _0x524ebc&&Object[_0xdffac3(0x271)](_0x524ebc)[_0xdffac3(0x458)](([_0x4eabc6,_0x567100])=>{const _0x32baab=_0xdffac3;let _0x1d6c36=_0x3fab66[_0x32baab(0x3d7)][_0x4eabc6];if(!_0x1d6c36||!_0x567100)return;let _0x1d7d20=_0x5d33ae(_0x1d6c36),_0x33abdd=[];new _0xcf3cf2[(_0x32baab(0x3b9))](_0x567100)[_0x32baab(0x4ba)]((_0x292cac,_0x166d54,_0x13cb7b)=>{const _0x748012=_0x32baab;let _0x14ad59=_0x447f99(_0x1d7d20,_0x292cac,_0x166d54,_0x13cb7b);_0x14ad59&&_0x33abdd[_0x748012(0x309)](_0x14ad59);}),_0x33abdd[_0x32baab(0x3d4)]&&_0x437f34[_0x32baab(0x309)]({'unitId':_0x3fab66['id'],'tableId':_0x4eabc6,'patches':_0x33abdd});}),_0x437f34;}function _0x447f99(_0x48c196,_0x36aa87,_0x265656,_0x263bec){const _0x48e92a=_0x2b8d6a;var _0x29178c,_0x4b0ee8,_0x1e50f9;let _0x49b6f4=(_0x29178c=_0x48c196['rowId'])==null?void 0x0:_0x29178c[_0x36aa87],_0x202a73=(_0x4b0ee8=_0x48c196[_0x48e92a(0x4df)])==null?void 0x0:_0x4b0ee8[_0x265656];if(!_0x49b6f4||!_0x48c196[_0x48e92a(0x38a)][_0x49b6f4]||!_0x202a73)return null;let _0x26dc9b=_0x48c196[_0x48e92a(0x3b5)][_0x202a73];if(!_0x26dc9b||_0x26dc9b['type']!=='formula')return null;let _0x5d0a25=String(((_0x1e50f9=_0x26dc9b['config'])==null?void 0x0:_0x1e50f9[_0x48e92a(0x4fe)])??'')[_0x48e92a(0x479)](),_0x331c3f=(_0x263bec==null?void 0x0:_0x263bec['v'])??null,_0x4ca467={'v':_0x331c3f,'t':_0x214d0a(_0x331c3f),..._0x36aa87===0x0&&_0x5d0a25?{'f':_0x5d0a25}:{},'si':_0x26dc9b['id']};return _0x3af4c4(_0x4c2c6c(_0x48c196,_0x49b6f4,_0x202a73),_0x4ca467)?null:{'row':_0x36aa87,'col':_0x265656,'value':_0x4ca467};}function _0x3af4c4(_0xe5ab95,_0x2a7767){return _0xe5ab95!=null&&Object['is'](_0xe5ab95['v']??null,_0x2a7767['v']??null)&&_0xe5ab95['t']===_0x2a7767['t']&&_0xe5ab95['f']===_0x2a7767['f']&&_0xe5ab95['si']===_0x2a7767['si'];}function _0x214d0a(_0x100780){const _0x59aa33=_0x2b8d6a;return typeof _0x100780=='number'?_0xcf3cf2['CellValueType'][_0x59aa33(0x3b7)]:typeof _0x100780=='boolean'?_0xcf3cf2[_0x59aa33(0x501)][_0x59aa33(0x508)]:typeof _0x100780=='string'?_0xcf3cf2[_0x59aa33(0x501)]['STRING']:null;}function _0x58a8f1(_0x606f59){const _0x58489f=_0x2b8d6a;let _0x56e1d9=_0x594d23(_0x606f59,()=>''),_0x4ca01f=new Map(),_0x285dad=_0x36d28a=>{const _0x59562e=_0x4fc4;_0x4ca01f['set']((_0x36d28a[_0x59562e(0x4b1)]??'')+'\x1f'+_0x36d28a[_0x59562e(0x5c2)],_0x36d28a);};for(let _0x5ea8dc of _0x56e1d9[_0x58489f(0x3b3)](_0xd67bea))_0x285dad({'fieldName':_0x5ea8dc[0x1],'scope':_0x58489f(0x1c6)});_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x5e2187,(_0xcba0d,_0x3b45a3,_0x3a4b35,_0x42c2bc)=>(_0x285dad({'tableName':_0x3b45a3,'fieldName':_0x42c2bc,'scope':_0x3a4b35['toLowerCase']()===_0x58489f(0x30c)?'data':_0x58489f(0x1c6)}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x4c29fe,(_0x5007cd,_0x31c260,_0xd6f201)=>(_0x285dad({'tableName':_0x31c260,'fieldName':_0xd6f201,'scope':'this-row'}),'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0x2bd556,(_0x253f7f,_0x26064f,_0x3c6cfa,_0x433d2f)=>(_0x285dad({'fieldName':_0x433d2f,'scope':_0x3c6cfa[_0x58489f(0x402)]()===_0x58489f(0x30c)?_0x58489f(0x30c):_0x58489f(0x1c6)}),_0x26064f+'\x20')),_0x56e1d9=_0x56e1d9[_0x58489f(0x5a4)](_0xb29993,(_0x54aa44,_0x1693c2,_0x3c15bf)=>(_0x285dad({'fieldName':_0x3c15bf,'scope':_0x58489f(0x1c6)}),_0x1693c2+'\x20'));for(let _0x80f69b of _0x56e1d9[_0x58489f(0x3b3)](_0x472412))_0x285dad({'tableName':_0x80f69b[0x1],'fieldName':_0x80f69b[0x2]});for(let _0x4dc856 of _0x56e1d9[_0x58489f(0x3b3)](_0x9b039a))_0x285dad({'fieldName':_0x4dc856[0x2],'scope':_0x58489f(0x1c6)});return Array[_0x58489f(0x1ea)](_0x4ca01f[_0x58489f(0x404)]());}function _0x4b7b4c(_0x8f5dc7){const _0x255f8a=_0x2b8d6a;let _0x3985be=_0x594d23(_0x8f5dc7,()=>'\x20')['replace'](_0xd67bea,'\x20')[_0x255f8a(0x5a4)](_0x5e2187,'\x20')[_0x255f8a(0x5a4)](_0x4c29fe,'\x20')[_0x255f8a(0x5a4)](_0x2bd556,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0xb29993,_0x255f8a(0x2ae))[_0x255f8a(0x5a4)](_0x472412,'\x20')[_0x255f8a(0x5a4)](_0x9b039a,_0x255f8a(0x2ae));return _0x1472d6[_0x255f8a(0x250)](_0x3985be);}function _0x776260(_0x1f1b45,_0x49048a){return _0x2c5a37(_0x58c08f(_0x1f1b45,_0x49048a),_0x49048a);}function _0x594d23(_0x115f46,_0x538346){return _0x29649f(_0x776260(_0x115f46,_0x538346),_0x538346);}function _0x29649f(_0x1b1b57,_0x29205b){const _0x300e08=_0x2b8d6a;return _0x1b1b57[_0x300e08(0x5a4)](/"(?:""|[^"])*"/g,_0x29205b);}function _0x58c08f(_0x1de2fb,_0x1f67f3){const _0x4efc77=_0x2b8d6a;return _0x48837e[_0x4efc77(0x21e)]=0x0,_0x1de2fb[_0x4efc77(0x5a4)](_0x48837e,(_0x35d401,_0x3acae0)=>_0x126f64(_0x1de2fb,_0x3acae0)?_0x35d401:_0x1f67f3(_0x35d401));}let _0x2bd250=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x2c5a37(_0xc3f953,_0x34cbcb){const _0x53ed5d=_0x2b8d6a;let _0x748568=[];for(_0x2bd250[_0x53ed5d(0x21e)]=0x0;;){let _0x2d8cf6=_0x2bd250['exec'](_0xc3f953);if(_0x2d8cf6==null)break;if(_0x126f64(_0xc3f953,_0x2d8cf6['index']))continue;let _0x275873=_0x2bd250[_0x53ed5d(0x21e)]-0x1,_0x4a64c8=0x0;for(let _0x502f6a=_0x275873;_0x502f6a<_0xc3f953[_0x53ed5d(0x3d4)];_0x502f6a++)if(_0xc3f953[_0x502f6a]==='['&&_0x4a64c8++,_0xc3f953[_0x502f6a]===']'&&(_0x4a64c8--,_0x4a64c8===0x0)){_0x748568['push']({'start':_0x2d8cf6[_0x53ed5d(0x295)],'end':_0x502f6a+0x1}),_0x2bd250[_0x53ed5d(0x21e)]=_0x502f6a+0x1;break;}}if(_0x748568[_0x53ed5d(0x3d4)]===0x0)return _0xc3f953;let _0x178912='',_0x267bde=0x0;for(let _0x38fb7a of _0x748568)_0x178912+=_0xc3f953['slice'](_0x267bde,_0x38fb7a['start']),_0x178912+=_0x34cbcb(_0xc3f953['slice'](_0x38fb7a[_0x53ed5d(0x571)],_0x38fb7a[_0x53ed5d(0x526)])),_0x267bde=_0x38fb7a[_0x53ed5d(0x526)];return _0x178912+_0xc3f953['slice'](_0x267bde);}function _0x126f64(_0x2e3e22,_0x3fa299){let _0x24c00d=!0x1;for(let _0x34e2ee=0x0;_0x34e2ee<_0x3fa299;_0x34e2ee++)if(_0x2e3e22[_0x34e2ee]==='\x22'){if(_0x24c00d&&_0x2e3e22[_0x34e2ee+0x1]==='\x22'){_0x34e2ee++;continue;}_0x24c00d=!_0x24c00d;}return _0x24c00d;}function _0x4e99fe(_0xdcf1cb,_0x19ee9c,_0x1fd08c,_0x26b5b5){const _0x212cd3=_0x2b8d6a;let _0x3f1911=_0x2bf222(_0xdcf1cb['tableName'],_0x19ee9c,_0x1fd08c,_0x26b5b5);return{'table':_0x3f1911,'field':_0x3f1911?Object['values'](_0x3f1911[_0x212cd3(0x3b5)])['find'](_0x3ad6d3=>_0x3ad6d3[_0x212cd3(0x456)]===_0xdcf1cb[_0x212cd3(0x5c2)]):void 0x0};}function _0x2bf222(_0x3a8b83,_0x54f4ce,_0x2ba8af,_0x4bbc41){const _0x1fba43=_0x2b8d6a;if(!_0x3a8b83)return _0x54f4ce;if(!_0x2ba8af){var _0x1f1ff2;let _0xcd3205=_0x3a8b83[_0x1fba43(0x402)]();return _0xcd3205===_0x54f4ce['id'][_0x1fba43(0x402)]()||_0xcd3205===_0x54f4ce[_0x1fba43(0x456)][_0x1fba43(0x402)]()||_0xcd3205===((_0x1f1ff2=_0x54f4ce[_0x1fba43(0x298)])==null?void 0x0:_0x1f1ff2['toLowerCase']())?_0x54f4ce:void 0x0;}let _0x3e2835=_0x3a8b83['toLowerCase'](),_0x1c4dab=_0x4bbc41??(0x0,_0xcf3cf2[_0x1fba43(0x314)])(_0x2ba8af),_0x187a93=Object[_0x1fba43(0x404)](_0x2ba8af[_0x1fba43(0x3d7)])[_0x1fba43(0x355)](_0x381cc2=>{const _0x2b65a1=_0x1fba43;var _0x229751;return _0x381cc2['id'][_0x2b65a1(0x402)]()===_0x3e2835||_0x381cc2[_0x2b65a1(0x456)][_0x2b65a1(0x402)]()===_0x3e2835||((_0x229751=_0x1c4dab[_0x2b65a1(0x4f0)](_0x381cc2['id']))==null?void 0x0:_0x229751[_0x2b65a1(0x402)]())===_0x3e2835||_0x3e7a87(_0x381cc2['id'])[_0x2b65a1(0x402)]()===_0x3e2835;});return _0x187a93[_0x1fba43(0x3d4)]===0x1?_0x187a93[0x0]:void 0x0;}function _0x3e7a87(_0x31d04c){const _0xb8b5ba=_0x2b8d6a;return _0xb8b5ba(0x530)+Array[_0xb8b5ba(0x1ea)](_0x31d04c,_0x375db5=>{const _0x470a12=_0xb8b5ba;var _0x253182;return/[A-Za-z0-9]/[_0x470a12(0x250)](_0x375db5)?_0x375db5:'_x'+(((_0x253182=_0x375db5[_0x470a12(0x5ec)](0x0))==null?void 0x0:_0x253182['toString'](0x10))??'0')+'_';})[_0xb8b5ba(0x600)]('');}let _0x5bee66=new _0x41a657();function _0x1cae61(_0x5834fd,_0x27889e,_0x124d54){const _0x40ffbc=_0x2b8d6a;var _0x1555b0;if(_0x124d54[_0x40ffbc(0x1cc)]!==_0xcf3cf2['BaseFieldType'][_0x40ffbc(0x25e)])return!0x0;let _0x48b386=String(((_0x1555b0=_0x124d54['config'])==null?void 0x0:_0x1555b0[_0x40ffbc(0x4fe)])??''),_0x152b7c=_0x5834fd[_0x40ffbc(0x43e)]();return _0x5bee66[_0x40ffbc(0x226)](_0x48b386,_0x152b7c['tables'][_0x27889e],{'snapshot':_0x152b7c})[_0x40ffbc(0x47d)];}function _0x59a7a2(_0x51a253,_0x5affee,_0x5ced01){const _0x2f7a5e=_0x2b8d6a;let _0x72e1c7=_0x51a253[_0x2f7a5e(0x43e)]()['tables'][_0x5affee];if(!_0x72e1c7)return!0x1;let {viewIds:_0x4b9a37,fieldIds:_0x5cc086,recordIds:_0x2f68c8}=_0x5ced01||{};if(_0x4b9a37){for(let _0x1543a5 of _0x4b9a37)if(!_0x72e1c7[_0x2f7a5e(0x2e4)][_0x1543a5])return!0x1;}if(_0x5cc086){for(let _0x4279c5 of _0x5cc086)if(!_0x72e1c7[_0x2f7a5e(0x3b5)][_0x4279c5])return!0x1;}if(_0x2f68c8){for(let _0x8100c0 of _0x2f68c8)if(!_0x72e1c7[_0x2f7a5e(0x38a)][_0x8100c0])return!0x1;}return!0x0;}function _0xa1cda8(_0x593969,_0x32977a,_0x3a518b){const _0x49fd8f=_0x2b8d6a;if(_0x3a518b['id']===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x3a518b[_0x49fd8f(0x1cc)]===_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x46d)]||(0x0,_0xcf3cf2[_0x49fd8f(0x318)])(_0x3a518b['name'])||!_0x1cae61(_0x593969,_0x32977a,_0x3a518b))return!0x1;let _0x43a635=_0x593969[_0x49fd8f(0x43e)]();if(!_0x3f95e1(_0x43a635,_0x3a518b)['valid'])return!0x1;if(_0x3a518b[_0x49fd8f(0x1cc)]!==_0xcf3cf2[_0x49fd8f(0x435)][_0x49fd8f(0x34e)])return!0x0;let _0x119136=_0x391f91(_0x3a518b);if(!_0x119136)return!0x1;if(_0x119136[_0x49fd8f(0x2de)]===void 0x0)return!0x0;if(_0x119136[_0x49fd8f(0x2de)]!==_0xcf3cf2[_0x49fd8f(0x223)][_0x49fd8f(0x60d)]||_0x119136[_0x49fd8f(0x249)]!==_0x32977a||_0x119136[_0x49fd8f(0x22e)]!==!0x1)return!0x1;let _0x12c748=_0x43a635[_0x49fd8f(0x3d7)][_0x32977a];return!Object['values'](_0x12c748[_0x49fd8f(0x3b5)])['some'](_0x5a5dec=>{const _0x3f2982=_0x49fd8f;var _0x28c229;return _0x5a5dec['id']!==_0x3a518b['id']&&_0x5a5dec[_0x3f2982(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3f2982(0x34e)]&&((_0x28c229=_0x391f91(_0x5a5dec))==null?void 0x0:_0x28c229[_0x3f2982(0x2de)])===_0xcf3cf2['BaseRecordLinkRole'][_0x3f2982(0x60d)];});}function _0x49bde4(_0x359626,_0xecb9f8,_0x2968d6,_0x40417c){const _0x5f5c09=_0x2b8d6a;var _0x37ce4a;let _0x5f8b9f=_0x359626[_0x5f5c09(0x43e)](),_0x3ca946=(_0x37ce4a=_0x5f8b9f[_0x5f5c09(0x3d7)][_0xecb9f8])==null?void 0x0:_0x37ce4a[_0x5f5c09(0x3b5)][_0x2968d6];return!_0x3ca946||_0x3ca946['id']===_0xcf3cf2[_0x5f5c09(0x509)]||_0x3ca946['type']===_0xcf3cf2['BaseFieldType'][_0x5f5c09(0x46d)]?!0x1:_0x3ca946[_0x5f5c09(0x1cc)]!==_0xcf3cf2[_0x5f5c09(0x435)]['RecordLink']||_0x3bd7ca(_0x5f8b9f,_0x3ca946,_0x2aea08(_0x40417c))['valid'];}function _0x3e6f41(_0x25a8d3,_0x31b485,_0x22e754){const _0x130730=_0x2b8d6a;let _0x58e819=_0x25a8d3['getSnapshot']()[_0x130730(0x3d7)][_0x31b485];return!_0x58e819||!(0x0,_0xcf3cf2[_0x130730(0x5de)])(_0x22e754['id'])||_0x58e819[_0x130730(0x38a)][_0x22e754['id']]||Object[_0x130730(0x3b1)]['hasOwnProperty']['call'](_0x22e754['values'],_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])&&_0x22e754['values'][_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]!==_0x22e754['id']?!0x1:Object['entries'](_0x22e754[_0x130730(0x404)])[_0x130730(0x320)](([_0x2f65ef,_0x10eab0])=>_0x2f65ef===_0xcf3cf2[_0x130730(0x509)]||_0x49bde4(_0x25a8d3,_0x31b485,_0x2f65ef,_0x10eab0));}function _0x4f1f9d(_0x480b5b){const _0x358d73=_0x2b8d6a;return{..._0x480b5b,'values':{..._0x480b5b[_0x358d73(0x404)],[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']]:_0x480b5b['id']}};}function _0x2aea08(_0x39faeb){const _0x5827df=_0x2b8d6a;if(_0x39faeb&&typeof _0x39faeb==_0x5827df(0x240)&&!Array[_0x5827df(0x2a1)](_0x39faeb)&&'v'in _0x39faeb){let _0x2cef2c=_0x39faeb['v'];return _0x2cef2c===void 0x0?null:_0x2cef2c;}return _0x39faeb;}function _0x2112cd(_0xdc6a5d,_0x42f718,_0x1681d8,_0x19a40f){const _0x2cb05f=_0x2b8d6a;let _0x3cc729=_0xdc6a5d[_0x2cb05f(0x43e)]()[_0x2cb05f(0x3d7)][_0x42f718];if(!_0x3cc729)return null;let _0x2a1ad0=_0xb51e67(_0x3cc729),_0x2e67f0=_0x2a1ad0??_0x4f5050(_0x3cc729),_0x152382=_0x1681d8[_0x2cb05f(0x20f)](_0x48cf2e=>Object[_0x2cb05f(0x3b1)]['hasOwnProperty']['call'](_0x48cf2e[_0x2cb05f(0x404)],_0x2e67f0)),_0xca66a5=_0x2a1ad0?_0x3cc729[_0x2cb05f(0x3b5)][_0x2a1ad0]:_0x152382?_0x3df43c(_0x3cc729,_0x2e67f0,_0x19a40f):null,_0x6614f0=[];for(let _0x3204d1 of _0x1681d8){let _0x287ebf=_0x3204d1[_0x2cb05f(0x404)][_0x2e67f0],_0xf72379=_0xca66a5!==null&&Object[_0x2cb05f(0x3b1)][_0x2cb05f(0x1ec)]['call'](_0x3204d1[_0x2cb05f(0x404)],_0x2e67f0),_0x55a46b=_0x2aea08(_0x287ebf),_0x505c4b=null;if(_0xf72379){if(typeof _0x55a46b!=_0x2cb05f(0x3ea)||!_0x456626(_0x55a46b,!0x1)[_0x2cb05f(0x47d)])return null;_0x505c4b=_0x55a46b;}let _0x24af9b={};if(Object[_0x2cb05f(0x271)](_0x3204d1['values'])['forEach'](([_0x5c350d,_0x34f50b])=>{(!_0xf72379||_0x5c350d!==_0x2e67f0)&&(_0x24af9b[_0x5c350d]=_0x34f50b);}),!_0x3e6f41(_0xdc6a5d,_0x42f718,{..._0x3204d1,'values':_0x24af9b}))return null;let _0x56c43c={..._0x3204d1[_0x2cb05f(0x404)]};_0x505c4b!==null&&(_0x56c43c[_0x2e67f0]=_0x505c4b),_0x6614f0[_0x2cb05f(0x309)](_0x4f1f9d({..._0x3204d1,'values':_0x56c43c}));}return{'records':_0x6614f0,'hierarchyFieldToMaterialize':_0x2a1ad0?null:_0xca66a5,'hierarchyChanges':_0x441a71(_0x3cc729,_0x6614f0)};}let _0xabe762={'id':_0x2b8d6a(0x35e),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x5cb934,_0x3cc571){const _0x45d8cf=_0x2b8d6a;if(!_0x3cc571)return!0x1;let _0x3da3e0=_0x5cb934['get'](_0xcf3cf2[_0x45d8cf(0x56e)]),{unitId:_0x429475,tableId:_0x3c2c93,records:_0x20ba85}=_0x3cc571,_0x2ee305=_0x3da3e0[_0x45d8cf(0x425)](_0x429475,_0xcf3cf2[_0x45d8cf(0x2f8)][_0x45d8cf(0x2bf)]),_0x5b7016=_0x20ba85[_0x45d8cf(0x2c4)](_0x5b01d7=>_0x5b01d7['id']);if(!_0x2ee305||!_0x59a7a2(_0x2ee305,_0x3c2c93)||new Set(_0x5b7016)[_0x45d8cf(0x219)]!==_0x5b7016['length'])return!0x1;let _0x19aaa3=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x1e8)]),_0x354f3a=_0x5cb934[_0x45d8cf(0x4f0)](_0xcf3cf2[_0x45d8cf(0x5cb)]),_0x4b0396=_0x5cb934[_0x45d8cf(0x4f0)](_0x5394a2),_0x27234c=_0x2ee305[_0x45d8cf(0x43e)](),_0x563dcf=_0x2112cd(_0x2ee305,_0x3c2c93,_0x20ba85);if(!_0x563dcf)return!0x1;let {records:_0x393885,hierarchyChanges:_0x44e7e9,hierarchyFieldToMaterialize:_0x1ee598}=_0x563dcf,_0xc1b97c=_0x1ee598?_0x4b0396[_0x45d8cf(0x29b)](_0x2ee305,_0x3c2c93,_0x1ee598,_0x27234c['tables'][_0x3c2c93][_0x45d8cf(0x4ab)][_0x45d8cf(0x3d4)]):null,_0x1a8f9c=_0x4b0396[_0x45d8cf(0x493)](_0x2ee305,_0x3c2c93,_0x393885),_0x45e24c=_0x5dc19d([..._0xc1b97c?[_0xc1b97c]:[],_0x1a8f9c]),_0x503313=new _0x3c7454()['invertOp'](_0x27234c,_0x45e24c),_0x4dd44d={'unitId':_0x429475,'op':_0x45e24c,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9:void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x3cc571[_0x45d8cf(0x357)]??'ui':void 0x0},_0x40717b={..._0x4dd44d,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x389):void 0x0},_0x5ac978={'unitId':_0x429475,'op':_0x503313,'hierarchyChanges':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x44e7e9[_0x45d8cf(0x2c4)](_0xadc45d=>({..._0xadc45d,'oldParentRecordId':_0xadc45d['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x44e7e9[_0x45d8cf(0x3d4)]?_0x45d8cf(0x2b1):void 0x0};return _0x19aaa3['syncExecuteCommand'](_0x40f796['id'],_0x4dd44d)?(_0x3da3e0[_0x45d8cf(0x544)](_0x429475),_0x354f3a[_0x45d8cf(0x2b2)]({'unitID':_0x429475,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ac978}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x40717b}]}),!0x0):!0x1;}},_0x16c000={'id':'base.command.batch-delete-base-records','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x588135,_0x7a6986)=>{const _0x561334=_0x2b8d6a;if(!_0x7a6986)return!0x1;let _0x1705fa=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x56e)]),{unitId:_0x4ade32,tableId:_0x388361,recordIds:_0x31a124}=_0x7a6986,_0x2f8e22=_0x1705fa[_0x561334(0x425)](_0x4ade32,_0xcf3cf2['UniverInstanceType'][_0x561334(0x2bf)]);if(!_0x2f8e22||!_0x59a7a2(_0x2f8e22,_0x388361,{'recordIds':_0x31a124}))return!0x1;let _0x579283=_0x588135[_0x561334(0x4f0)](_0xcf3cf2['ICommandService']),_0x470405=_0x588135[_0x561334(0x4f0)](_0xcf3cf2[_0x561334(0x5cb)]),_0x262b3b=_0x2f8e22[_0x561334(0x43e)](),_0x4d9979=_0x3b968d(_0x262b3b[_0x561334(0x3d7)][_0x388361],_0x31a124),_0x39b0e1=new _0x15dbb7(),_0x4bc4c7=new _0x3c7454(),_0x4d240b=_0x39b0e1[_0x561334(0x595)](_0x262b3b,_0x388361,_0x31a124),_0x3b8747=_0x4bc4c7[_0x561334(0x54e)](_0x262b3b,_0x4d240b),_0x673893=_0x39b0e1[_0x561334(0x5c8)](_0x262b3b,_0x3b8747,_0x388361,_0x31a124),_0x263764={'unitId':_0x4ade32,'op':_0x4d240b,'hierarchyChanges':_0x4d9979,'source':_0x7a6986[_0x561334(0x357)]??'ui'},_0x4b84e7={..._0x263764,'source':_0x561334(0x389)},_0x584c76={'unitId':_0x4ade32,'op':_0x673893,'hierarchyChanges':_0x4d9979['map'](_0x42bd66=>({..._0x42bd66,'oldParentRecordId':_0x42bd66['parentRecordId'],'parentRecordId':_0x42bd66[_0x561334(0x38f)]})),'source':_0x561334(0x2b1)};return _0x579283[_0x561334(0x4b6)](_0x40f796['id'],_0x263764)?(_0x1705fa['focusUnit'](_0x4ade32),_0x470405[_0x561334(0x2b2)]({'unitID':_0x4ade32,'undoMutations':[{'id':_0x40f796['id'],'params':_0x584c76}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x4b84e7}]}),!0x0):!0x1;}},_0x433937={'id':_0x2b8d6a(0x360),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x453100,_0x48086e)=>{const _0x2931b7=_0x2b8d6a;if(!_0x48086e)return!0x1;let _0x5e4173=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x56e)]),{unitId:_0x3c11a8,tableId:_0x3016ed,fieldId:_0x1f0ee3,input:_0x1ea3d3}=_0x48086e,_0x4899c3=_0x5e4173[_0x2931b7(0x425)](_0x3c11a8,_0xcf3cf2['UniverInstanceType'][_0x2931b7(0x2bf)]);if(!_0x4899c3||_0x1f0ee3===_0xcf3cf2[_0x2931b7(0x509)]||!_0x59a7a2(_0x4899c3,_0x3016ed,{'fieldIds':[_0x1f0ee3]}))return!0x1;let _0x275716=_0x453100['get'](_0xcf3cf2[_0x2931b7(0x1e8)]),_0x1c6886=_0x453100[_0x2931b7(0x4f0)](_0xcf3cf2[_0x2931b7(0x5cb)]),_0x3ff281=_0x4899c3[_0x2931b7(0x43e)]();if(!_0xa1cda8(_0x4899c3,_0x3016ed,{..._0x3ff281['tables'][_0x3016ed][_0x2931b7(0x3b5)][_0x1f0ee3],..._0x1ea3d3}))return!0x1;let _0x4cffe2=new _0x15dbb7()[_0x2931b7(0x319)](_0x3ff281,_0x3016ed,_0x1f0ee3,_0x1ea3d3),_0x38926a=new _0x3c7454()[_0x2931b7(0x5a5)](_0x3ff281,_0x4cffe2),_0x48ec07={'unitId':_0x3c11a8,'op':_0x4cffe2},_0xd0be9f={'unitId':_0x3c11a8,'op':_0x38926a};return _0x275716['syncExecuteCommand'](_0x40f796['id'],_0x48ec07)?(_0x5e4173[_0x2931b7(0x544)](_0x3c11a8),_0x1c6886[_0x2931b7(0x2b2)]({'unitID':_0x3c11a8,'undoMutations':[{'id':_0x40f796['id'],'params':_0xd0be9f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x48ec07}]}),!0x0):!0x1;}},_0x457f5d={'id':_0x2b8d6a(0x4f8),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x31eeda,_0x270546){const _0x2dffa9=_0x2b8d6a;var _0x55a93f;if(!_0x270546)return!0x1;let {unitId:_0x46cdfe,tableId:_0xeb7206,parentRecordId:_0x8cbb71}=_0x270546,_0x16b53b=_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x56e)]),_0x1fc47d=_0x16b53b[_0x2dffa9(0x425)](_0x46cdfe,_0xcf3cf2[_0x2dffa9(0x2f8)]['UNIVER_BASE']);if(!_0x1fc47d||!_0x59a7a2(_0x1fc47d,_0xeb7206,{'recordIds':[_0x8cbb71]}))throw new _0x1d7b46('missingRecord');let _0x3f5bdb=_0x1fc47d[_0x2dffa9(0x43e)](),_0x4de024=_0x3f5bdb[_0x2dffa9(0x3d7)][_0xeb7206],_0x2a3fd8=_0xb51e67(_0x4de024),_0x2fc748=_0x2a3fd8??_0x270546['fieldId']??_0x4f5050(_0x4de024);if(_0x2a3fd8&&_0x270546[_0x2dffa9(0x580)]&&_0x270546[_0x2dffa9(0x580)]!==_0x2a3fd8||_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748]&&!_0x4d880f(_0x4de024,_0x2fc748))throw new _0x1d7b46(_0x2dffa9(0x43c));if((_0x3760a3(_0x4de024,_0x2fc748)[_0x2dffa9(0x34d)][_0x2dffa9(0x4f0)](_0x8cbb71)??0x0)+0x1>=0x5)throw new _0x1d7b46('maxDepth');if(!_0x3e6f41(_0x1fc47d,_0xeb7206,_0x270546[_0x2dffa9(0x3c2)]))return!0x1;let _0x527ec1=_0x4f1f9d({..._0x270546[_0x2dffa9(0x3c2)],'values':{..._0x270546['record'][_0x2dffa9(0x404)],[_0x2fc748]:_0x47d3ab([_0x8cbb71])}}),_0x3d1181=_0x31eeda[_0x2dffa9(0x4f0)](_0x5394a2),_0x25d659=new _0x15dbb7(),_0x1846cb=_0x4de024[_0x2dffa9(0x3b5)][_0x2fc748],_0x3e8744=_0x1846cb?((_0x55a93f=_0x391f91(_0x1846cb))==null?void 0x0:_0x55a93f['relationRole'])===_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]?null:_0x25d659[_0x2dffa9(0x56b)](_0x3f5bdb,_0xeb7206,_0x2fc748,{'config':{..._0x1846cb[_0x2dffa9(0x5a3)],'relationRole':_0xcf3cf2[_0x2dffa9(0x223)][_0x2dffa9(0x60d)]}}):_0x3d1181[_0x2dffa9(0x29b)](_0x1fc47d,_0xeb7206,_0x3df43c(_0x4de024,_0x2fc748,_0x270546[_0x2dffa9(0x2eb)]),_0x4de024['fieldOrder'][_0x2dffa9(0x3d4)]),_0x3db242=_0x3d1181[_0x2dffa9(0x347)](_0x1fc47d,_0xeb7206,_0x527ec1),_0x3b742a=_0x5dc19d([..._0x3e8744?[_0x3e8744]:[],_0x3db242]),_0x390026=new _0x3c7454()[_0x2dffa9(0x5a5)](_0x3f5bdb,_0x3b742a),_0x1eff17={'tableId':_0xeb7206,'fieldId':_0x2fc748,'recordId':_0x527ec1['id'],'oldParentRecordId':null,'parentRecordId':_0x8cbb71},_0x2d81ba={'unitId':_0x46cdfe,'op':_0x3b742a,'trigger':_0x457f5d['id'],'hierarchyChanges':[_0x1eff17],'source':_0x270546[_0x2dffa9(0x357)]??'ui'},_0x449f44={..._0x2d81ba,'source':_0x2dffa9(0x389)},_0x47d2c0={'unitId':_0x46cdfe,'op':_0x390026,'trigger':_0x457f5d['id'],'hierarchyChanges':[{..._0x1eff17,'oldParentRecordId':_0x8cbb71,'parentRecordId':null}],'source':'undo'};return _0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2[_0x2dffa9(0x1e8)])[_0x2dffa9(0x4b6)](_0x40f796['id'],_0x2d81ba)?(_0x16b53b[_0x2dffa9(0x544)](_0x46cdfe),_0x31eeda[_0x2dffa9(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x2dffa9(0x2b2)]({'unitID':_0x46cdfe,'undoMutations':[{'id':_0x40f796['id'],'params':_0x47d2c0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x449f44}]}),!0x0):!0x1;}},_0x80cc29={'id':_0x2b8d6a(0x3d3),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x30d10b,_0x35ef8d){const _0x7c1c64=_0x2b8d6a;if(!_0x35ef8d)return!0x1;let _0x5d6ed2=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x56e)]),{unitId:_0x4f8077,tableId:_0x8995f6,field:_0x8f8aae,index:_0x138dd3,viewIndexes:_0x17c410}=_0x35ef8d,_0x150128=_0x5d6ed2[_0x7c1c64(0x425)](_0x4f8077,_0xcf3cf2[_0x7c1c64(0x2f8)][_0x7c1c64(0x2bf)]);if(!_0x150128||!_0x59a7a2(_0x150128,_0x8995f6)||_0x150128['getSnapshot']()[_0x7c1c64(0x3d7)][_0x8995f6][_0x7c1c64(0x3b5)][_0x8f8aae['id']]||_0x138dd3===0x0||!_0xa1cda8(_0x150128,_0x8995f6,_0x8f8aae))return!0x1;let _0x9c4410=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2[_0x7c1c64(0x1e8)]),_0x3358fa=_0x30d10b[_0x7c1c64(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xb73b49=_0x30d10b['get'](_0x5394a2)[_0x7c1c64(0x29b)](_0x150128,_0x8995f6,_0x8f8aae,_0x138dd3,_0x17c410),_0x162ef0=new _0x3c7454()[_0x7c1c64(0x5a5)](_0x150128[_0x7c1c64(0x43e)](),_0xb73b49),_0x3a9ff9={'unitId':_0x4f8077,'op':_0xb73b49},_0x39705e={'unitId':_0x4f8077,'op':_0x162ef0};return _0x9c4410['syncExecuteCommand'](_0x40f796['id'],_0x3a9ff9)?(_0x5d6ed2['focusUnit'](_0x4f8077),_0x3358fa[_0x7c1c64(0x2b2)]({'unitID':_0x4f8077,'undoMutations':[{'id':_0x40f796['id'],'params':_0x39705e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3a9ff9}]}),!0x0):!0x1;}},_0x1b3986={'id':_0x2b8d6a(0x324),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b1750,_0x15faac){const _0x2a7a47=_0x2b8d6a;if(!_0x15faac)return!0x1;let _0x1cad66=_0x2b1750['get'](_0xcf3cf2[_0x2a7a47(0x56e)]),{unitId:_0x5dc6a7,tableId:_0x21bac7,record:_0x12d9ff}=_0x15faac,_0x274c02=_0x1cad66[_0x2a7a47(0x425)](_0x5dc6a7,_0xcf3cf2[_0x2a7a47(0x2f8)][_0x2a7a47(0x2bf)]);if(!_0x274c02||!_0x59a7a2(_0x274c02,_0x21bac7))return!0x1;let _0x1283d3=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x1e8)]),_0x40ae17=_0x2b1750[_0x2a7a47(0x4f0)](_0xcf3cf2[_0x2a7a47(0x5cb)]),_0x4b7382=_0x2b1750[_0x2a7a47(0x4f0)](_0x5394a2),_0x15595c=_0x274c02['getSnapshot'](),_0x30e070=_0x2112cd(_0x274c02,_0x21bac7,[_0x12d9ff]);if(!_0x30e070)return!0x1;let [_0xb571b6]=_0x30e070[_0x2a7a47(0x38a)],{hierarchyChanges:_0x392f37,hierarchyFieldToMaterialize:_0x400eef}=_0x30e070,_0x2ee644=_0x400eef?_0x4b7382['createCreateFieldOp'](_0x274c02,_0x21bac7,_0x400eef,_0x15595c[_0x2a7a47(0x3d7)][_0x21bac7][_0x2a7a47(0x4ab)][_0x2a7a47(0x3d4)]):null,_0x4ba3b7=_0x4b7382['createCreateRecordOp'](_0x274c02,_0x21bac7,_0xb571b6),_0x580c74=_0x5dc19d([..._0x2ee644?[_0x2ee644]:[],_0x4ba3b7]),_0x221db9=new _0x3c7454()[_0x2a7a47(0x5a5)](_0x15595c,_0x580c74),_0x5e6a2e={'unitId':_0x5dc6a7,'op':_0x580c74,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37:void 0x0,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x15faac[_0x2a7a47(0x357)]??'ui':void 0x0},_0x256b65={..._0x5e6a2e,'source':_0x392f37[_0x2a7a47(0x3d4)]?_0x2a7a47(0x389):void 0x0},_0x32aa5b={'unitId':_0x5dc6a7,'op':_0x221db9,'hierarchyChanges':_0x392f37[_0x2a7a47(0x3d4)]?_0x392f37[_0x2a7a47(0x2c4)](_0x406d97=>({..._0x406d97,'oldParentRecordId':_0x406d97['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x392f37['length']?_0x2a7a47(0x2b1):void 0x0};return _0x1283d3[_0x2a7a47(0x4b6)](_0x40f796['id'],_0x5e6a2e)?(_0x1cad66[_0x2a7a47(0x544)](_0x5dc6a7),_0x40ae17[_0x2a7a47(0x2b2)]({'unitID':_0x5dc6a7,'undoMutations':[{'id':_0x40f796['id'],'params':_0x32aa5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x256b65}]}),!0x0):!0x1;}};function _0x5696c8(_0x567c0b,_0x46e782,_0x40914d){const _0x47264d=_0x2b8d6a;if(!_0x46e782[_0x47264d(0x479)]())return{'valid':!0x1,'reason':_0x47264d(0x450),'error':_0x47264d(0x1f2)};if(_0x46e782[_0x47264d(0x3d4)]>0x1f)return{'valid':!0x1,'reason':_0x47264d(0x3f6),'error':_0x47264d(0x554)};if(_0x46e782['startsWith']('\x27')||_0x46e782[_0x47264d(0x4ec)]('\x27'))return{'valid':!0x1,'reason':_0x47264d(0x359),'error':_0x47264d(0x527)};if(/[:\\/?*\[\]]/['test'](_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x470),'error':_0x47264d(0x301)};if(!(0x0,_0xcf3cf2['nameCharacterCheck'])(_0x46e782))return{'valid':!0x1,'reason':_0x47264d(0x203),'error':_0x47264d(0x4ae)};let _0x19d118=_0x46e782[_0x47264d(0x402)]();return Object[_0x47264d(0x404)](_0x567c0b[_0x47264d(0x3d7)])[_0x47264d(0x20f)](_0x5570f8=>_0x5570f8['id']!==_0x40914d&&_0x5570f8[_0x47264d(0x456)][_0x47264d(0x402)]()===_0x19d118)?{'valid':!0x1,'reason':_0x47264d(0x5ac),'error':_0x47264d(0x548)}:{'valid':!0x0};}function _0x30ddf4(_0x5ae3e6,_0x3a9504){const _0x350e93=_0x2b8d6a;let _0x28fafd=_0x3a9504['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x350e93(0x5a4)](/^'+|'+$/g,'')[_0x350e93(0x479)]()||_0x350e93(0x5eb),_0x154f27=0x1;for(;;){let _0x579a30=_0x154f27===0x1?'':'\x20'+_0x154f27,_0x3964eb=''+_0x28fafd['slice'](0x0,0x1f-_0x579a30[_0x350e93(0x3d4)])+_0x579a30;if(_0x5696c8(_0x5ae3e6,_0x3964eb)[_0x350e93(0x47d)])return _0x3964eb;_0x154f27++;}}let _0x19088c={'id':_0x2b8d6a(0x1d2),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x1d0c66,_0x5af081)=>{const _0x32bdc2=_0x2b8d6a;if(!_0x5af081)return!0x1;let _0x1ce213=_0x1d0c66['get'](_0xcf3cf2[_0x32bdc2(0x56e)]),{unitId:_0x1aabc5,table:_0x3668bc,index:_0x45675c}=_0x5af081,_0x8e0723=_0x1ce213[_0x32bdc2(0x425)](_0x1aabc5,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x8e0723||_0x8e0723[_0x32bdc2(0x43e)]()[_0x32bdc2(0x3d7)][_0x3668bc['id']]||!_0x5696c8(_0x8e0723[_0x32bdc2(0x43e)](),_0x3668bc[_0x32bdc2(0x456)])[_0x32bdc2(0x47d)])return!0x1;try{(0x0,_0xcf3cf2['assertBaseTableRecordIdentity'])(_0x3668bc);}catch{return!0x1;}let _0x3c6d5e=_0x1d0c66['get'](_0xcf3cf2['ICommandService']),_0x42bf8a=_0x1d0c66[_0x32bdc2(0x4f0)](_0xcf3cf2[_0x32bdc2(0x5cb)]),_0x13cfb4=_0x8e0723[_0x32bdc2(0x43e)](),_0x125457=new _0x15dbb7()['createTable'](_0x13cfb4,_0x3668bc,_0x45675c),_0x6bf8b5=new _0x3c7454()[_0x32bdc2(0x5a5)](_0x13cfb4,_0x125457),_0x938e0f={'unitId':_0x1aabc5,'op':_0x125457},_0x19949d={'unitId':_0x1aabc5,'op':_0x6bf8b5};return _0x3c6d5e[_0x32bdc2(0x4b6)](_0x40f796['id'],_0x938e0f)?(_0x1ce213[_0x32bdc2(0x544)](_0x1aabc5),_0x42bf8a['pushUndoRedo']({'unitID':_0x1aabc5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x19949d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x938e0f}]}),!0x0):!0x1;}};function _0x5af319(_0x4f1625,_0x5d009f,_0x1fbd70=[]){const _0x583fd8=_0x2b8d6a;let _0x357703=new Set([...Object[_0x583fd8(0x404)](_0x4f1625[_0x583fd8(0x3b5)])[_0x583fd8(0x355)](_0x156379=>_0x156379)[_0x583fd8(0x2c4)](_0x14276d=>_0x14276d[_0x583fd8(0x456)]),..._0x1fbd70['map'](_0x5783e8=>_0x5783e8[_0x583fd8(0x456)])]);if(!_0x357703[_0x583fd8(0x244)](_0x5d009f))return _0x5d009f;let _0xfee649=0x2;for(;_0x357703['has'](_0x5d009f+'\x20'+_0xfee649);)_0xfee649++;return _0x5d009f+'\x20'+_0xfee649;}function _0x14441e(_0xed72ab,_0x847060){const _0x11e0f5=_0x2b8d6a;if(!_0xed72ab||!_0x847060[_0x11e0f5(0x3d4)])return;let _0x5eb9bc=[..._0xed72ab];return _0x847060[_0x11e0f5(0x458)](_0x403f71=>{const _0x160f92=_0x11e0f5;_0x5eb9bc['includes'](_0x403f71)||_0x5eb9bc[_0x160f92(0x309)](_0x403f71);}),_0x5eb9bc;}let _0x184ce4={'options':[{'id':_0x2b8d6a(0x2c5),'name':_0x2b8d6a(0x28f),'color':_0x2b8d6a(0x491)},{'id':_0x2b8d6a(0x1d1),'name':_0x2b8d6a(0x3f7),'color':_0x2b8d6a(0x574)},{'id':_0x2b8d6a(0x21a),'name':_0x2b8d6a(0x384),'color':'#BBF7D0'}]},_0x480ada={'locale':_0x2b8d6a(0x421),'pattern':_0x2b8d6a(0x51b),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x2b8d6a(0x44a)};function _0x214326(_0x5c71de,_0x4dfe8b,_0x199157,_0x5b1480){const _0x57a323=_0x2b8d6a;var _0x5301df;let _0x26dd0f=new _0x15dbb7(),_0x2cf1df=_0x5c71de['tables'][_0x4dfe8b],_0x10cd0b=_0x2cf1df?{..._0x199157,'fieldOrder':[_0xcf3cf2[_0x57a323(0x509)],...(_0x199157[_0x57a323(0x4ab)]??_0x2cf1df['fieldOrder'])[_0x57a323(0x355)](_0x8d574e=>_0x8d574e!==_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'])],'fieldSettings':{..._0x199157[_0x57a323(0x239)],[_0xcf3cf2[_0x57a323(0x509)]]:{...(_0x5301df=_0x199157[_0x57a323(0x239)])==null?void 0x0:_0x5301df[_0xcf3cf2[_0x57a323(0x509)]],'hidden':!0x0}}}:_0x199157;if(_0x2cf1df&&_0x10cd0b[_0x57a323(0x1cc)]===_0x57a323(0x57a)){let _0x238d0b=_0x2c1e35(_0x2cf1df,_0x10cd0b),_0x1e6c37=_0x238d0b['changed']?{..._0x10cd0b,'config':_0x238d0b[_0x57a323(0x5a3)],'fieldOrder':_0x238d0b[_0x57a323(0x4ab)]??_0x10cd0b[_0x57a323(0x4ab)]}:_0x10cd0b;return _0x5dc19d([..._0x238d0b[_0x57a323(0x3b5)]['map'](_0x428ec8=>_0x26dd0f['createField'](_0x5c71de,_0x4dfe8b,{'field':_0x428ec8})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x1e6c37,_0x5b1480)]);}if(!_0x2cf1df||_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x266)&&_0x10cd0b[_0x57a323(0x1cc)]!==_0x57a323(0x1f3))return _0x26dd0f['createView'](_0x5c71de,_0x4dfe8b,_0x10cd0b,_0x5b1480);let _0x4f78be=_0x56d2b1(_0x2cf1df,_0x10cd0b),_0x15dbe7=_0x4f78be[_0x57a323(0x2aa)]?{..._0x10cd0b,'config':_0x4f78be[_0x57a323(0x5a3)],'fieldOrder':_0x4f78be[_0x57a323(0x4ab)]??_0x10cd0b['fieldOrder']}:_0x10cd0b;return _0x10cd0b['type']===_0x57a323(0x1f3)&&_0x24dd63(_0x10cd0b)&&(_0x15dbe7=_0x44ed01(_0x2cf1df,_0x15dbe7,_0x4f78be['fields'])),_0x5dc19d([..._0x4f78be[_0x57a323(0x3b5)][_0x57a323(0x2c4)](_0x3a3069=>_0x26dd0f[_0x57a323(0x3ed)](_0x5c71de,_0x4dfe8b,{'field':_0x3a3069})),_0x26dd0f[_0x57a323(0x490)](_0x5c71de,_0x4dfe8b,_0x15dbe7,_0x5b1480)]);}function _0x56d2b1(_0x1ff1fd,_0x3cc1a5,_0x1afb3b=!0x1){const _0x1de823=_0x2b8d6a;var _0x5d87a8,_0xf6a1d4;let _0x553b38=_0x1ff1fd[_0x1de823(0x4ab)][_0x1de823(0x355)](_0xfecca7=>_0x2aecc7(_0x1ff1fd,_0xfecca7)),_0x5ce817=[],_0x5f5574={..._0x3cc1a5['config']??{}},_0x16c89d=typeof _0x5f5574['startDateFieldId']==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x31c)])?_0x5f5574[_0x1de823(0x31c)]:_0x553b38[0x0],_0x553579=typeof _0x5f5574[_0x1de823(0x2b3)]==_0x1de823(0x3ea)&&_0x2aecc7(_0x1ff1fd,_0x5f5574[_0x1de823(0x2b3)])&&_0x5f5574[_0x1de823(0x2b3)]!==_0x16c89d?_0x5f5574[_0x1de823(0x2b3)]:_0x553b38[_0x1de823(0x22c)](_0x1e33e4=>_0x1e33e4!==_0x16c89d);if(!_0x16c89d){let _0x1edd63=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x1f3)?_0x1de823(0x25c):'Date');_0x5ce817[_0x1de823(0x309)](_0x1edd63),_0x16c89d=_0x1edd63['id'];}if((_0x3cc1a5['type']===_0x1de823(0x1f3)||_0x1afb3b)&&!_0x553579){let _0x39f527=_0x580dd0(_0x1ff1fd,_0x5ce817,_0x1de823(0x525));_0x5ce817['push'](_0x39f527),_0x553579=_0x39f527['id'];}_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&!_0x553579&&delete _0x5f5574[_0x1de823(0x2b3)],_0x5f5574[_0x1de823(0x31c)]=_0x16c89d,_0x3cc1a5[_0x1de823(0x1cc)]===_0x1de823(0x266)&&_0x553579&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579),_0x3cc1a5[_0x1de823(0x1cc)]==='gantt'&&(_0x5f5574[_0x1de823(0x2b3)]=_0x553579??_0x16c89d);let _0x4222bc=_0x14441e(_0x3cc1a5[_0x1de823(0x4ab)],_0x5ce817[_0x1de823(0x2c4)](_0x40025f=>_0x40025f['id']));return{'changed':_0x5ce817[_0x1de823(0x3d4)]>0x0||_0x5f5574[_0x1de823(0x31c)]!==((_0x5d87a8=_0x3cc1a5[_0x1de823(0x5a3)])==null?void 0x0:_0x5d87a8[_0x1de823(0x31c)])||_0x5f5574[_0x1de823(0x2b3)]!==((_0xf6a1d4=_0x3cc1a5['config'])==null?void 0x0:_0xf6a1d4['endDateFieldId'])||!(!_0x4222bc||_0xcf3cf2['Tools'][_0x1de823(0x33c)](_0x4222bc,_0x3cc1a5[_0x1de823(0x4ab)]??[])),'fields':_0x5ce817,'config':_0x5f5574,'fieldOrder':_0x4222bc};}function _0x2c1e35(_0x1c63c7,_0x1dc993){const _0x57b6b1=_0x2b8d6a;var _0x1377a9;let _0x4d4fa0=[],_0x1a906f={..._0x1dc993[_0x57b6b1(0x5a3)]??{}},_0x4083b2=typeof _0x1a906f[_0x57b6b1(0x259)]==_0x57b6b1(0x3ea)&&_0x4d1928(_0x1c63c7,_0x1a906f[_0x57b6b1(0x259)])?_0x1a906f['groupFieldId']:_0x1c63c7['fieldOrder'][_0x57b6b1(0x22c)](_0x179704=>_0x4d1928(_0x1c63c7,_0x179704));if(!_0x4083b2){let _0x2a3361=_0x7e4de1(_0x1c63c7,_0x4d4fa0);_0x4d4fa0[_0x57b6b1(0x309)](_0x2a3361),_0x4083b2=_0x2a3361['id'];}_0x1a906f[_0x57b6b1(0x259)]=_0x4083b2;let _0x131bb8=_0x14441e(_0x1dc993['fieldOrder'],_0x4d4fa0[_0x57b6b1(0x2c4)](_0x208b69=>_0x208b69['id']));return{'changed':_0x4d4fa0[_0x57b6b1(0x3d4)]>0x0||_0x1a906f['groupFieldId']!==((_0x1377a9=_0x1dc993[_0x57b6b1(0x5a3)])==null?void 0x0:_0x1377a9[_0x57b6b1(0x259)])||!(!_0x131bb8||_0xcf3cf2[_0x57b6b1(0x255)][_0x57b6b1(0x33c)](_0x131bb8,_0x1dc993['fieldOrder']??[])),'fields':_0x4d4fa0,'config':_0x1a906f,'fieldOrder':_0x131bb8};}function _0x4d1928(_0x127b18,_0x1dd65c){const _0x1fbe80=_0x2b8d6a;let _0x26e294=_0x1dd65c?_0x127b18[_0x1fbe80(0x3b5)][_0x1dd65c]:null;return _0x26e294?[_0xcf3cf2['BaseFieldType']['SingleSelect'],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x336)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x22a)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3d5)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x3fa)],_0xcf3cf2[_0x1fbe80(0x435)][_0x1fbe80(0x5f8)]][_0x1fbe80(0x299)](_0x26e294[_0x1fbe80(0x1cc)]):!0x1;}function _0x7e4de1(_0x1fe041,_0x9acebb){const _0xa71eaa=_0x2b8d6a;return{'id':_0xa71eaa(0x4b3)+(0x0,_0xcf3cf2[_0xa71eaa(0x2dd)])(0x8),'name':_0x5af319(_0x1fe041,_0xa71eaa(0x519),_0x9acebb),'type':_0xcf3cf2['BaseFieldType'][_0xa71eaa(0x2e3)],'config':_0xcf3cf2[_0xa71eaa(0x255)][_0xa71eaa(0x578)](_0x184ce4)};}function _0x24dd63(_0x5512ef){const _0x33c02e=_0x2b8d6a;return Object[_0x33c02e(0x582)](_0x5512ef[_0x33c02e(0x5a3)]??{})[_0x33c02e(0x3d4)]===0x0&&Object['keys'](_0x5512ef[_0x33c02e(0x239)]??{})[_0x33c02e(0x3d4)]===0x0;}function _0x44ed01(_0x401e0e,_0xc91d5d,_0x50fd1c){const _0x5cffbc=_0x2b8d6a;let _0x3b1dae={..._0xc91d5d[_0x5cffbc(0x5a3)]??{}},_0x37a6b4=_0x50fd1c[_0x5cffbc(0x2c4)](_0x3b22c4=>_0x3b22c4['id']),_0x2edc45=[..._0x401e0e[_0x5cffbc(0x4ab)],..._0x37a6b4],_0x1c1387=typeof _0x3b1dae['titleFieldId']==_0x5cffbc(0x3ea)&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x3b1dae[_0x5cffbc(0x4cf)])?_0x3b1dae[_0x5cffbc(0x4cf)]:_0x401e0e[_0x5cffbc(0x4b4)],_0x4147e1=typeof _0x3b1dae[_0x5cffbc(0x31c)]==_0x5cffbc(0x3ea)?_0x3b1dae[_0x5cffbc(0x31c)]:'',_0x15bca2=typeof _0x3b1dae[_0x5cffbc(0x2b3)]=='string'?_0x3b1dae['endDateFieldId']:_0x4147e1,_0x41eceb=new Set([_0x1c1387,_0x4147e1,_0x15bca2][_0x5cffbc(0x355)](_0x52b8bd=>_0x52b8bd&&_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x52b8bd))),_0x33a943=Object[_0x5cffbc(0x3a6)](_0x2edc45['flatMap'](_0x58264e=>_0x41eceb['has'](_0x58264e)||!_0x4ea3b3(_0x401e0e,_0x50fd1c,_0x58264e)?[]:[[_0x58264e,{'hidden':!0x0}]]));return{..._0xc91d5d,'config':{..._0x3b1dae,'titleFieldId':_0x1c1387},'fieldSettings':_0x33a943};}function _0x4ea3b3(_0x5812a6,_0x474ff0,_0x13df12){const _0x209cee=_0x2b8d6a;return!!(_0x5812a6[_0x209cee(0x3b5)][_0x13df12]??_0x474ff0[_0x209cee(0x22c)](_0x174cf0=>_0x174cf0['id']===_0x13df12))&&!0x0;}function _0x2aecc7(_0x38a41c,_0x27e6be){const _0x824088=_0x2b8d6a;let _0x20142f=_0x27e6be?_0x38a41c[_0x824088(0x3b5)][_0x27e6be]:null;return!!_0x20142f&&_0x20142f[_0x824088(0x1cc)]===_0xcf3cf2[_0x824088(0x435)][_0x824088(0x2d9)]&&_0x20142f[_0x824088(0x30e)]!==!0x0&&_0x20142f[_0x824088(0x27a)]!==!0x0;}function _0x580dd0(_0x5e18d7,_0x40965b,_0x1f3666){const _0x45a1b7=_0x2b8d6a;let _0x4f7460=new Set([...Object[_0x45a1b7(0x582)](_0x5e18d7[_0x45a1b7(0x3b5)]),..._0x40965b['map'](_0x26d2be=>_0x26d2be['id'])]),_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);for(;_0x4f7460[_0x45a1b7(0x244)](_0x157bd7);)_0x157bd7='fld-'+(0x0,_0xcf3cf2[_0x45a1b7(0x2dd)])(0x8);return{'id':_0x157bd7,'name':_0x5af319(_0x5e18d7,_0x1f3666,_0x40965b),'type':_0xcf3cf2['BaseFieldType']['Date'],'config':{..._0x480ada}};}let _0x5057dc={'id':_0x2b8d6a(0x4e7),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x375841,_0x2ec6cf)=>{const _0x3301a9=_0x2b8d6a;if(!_0x2ec6cf)return!0x1;let _0x54c1e4=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x56e)]),{unitId:_0x224a61,tableId:_0x20cf2d,view:_0x5763f5,index:_0x2e4930}=_0x2ec6cf,_0x2ba6e6=_0x54c1e4[_0x3301a9(0x425)](_0x224a61,_0xcf3cf2[_0x3301a9(0x2f8)][_0x3301a9(0x2bf)]);if(!_0x2ba6e6||!_0x59a7a2(_0x2ba6e6,_0x20cf2d)||_0x2ba6e6[_0x3301a9(0x43e)]()[_0x3301a9(0x3d7)][_0x20cf2d][_0x3301a9(0x2e4)][_0x5763f5['id']])return!0x1;let _0x54af46=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x1e8)]),_0x35e31b=_0x375841[_0x3301a9(0x4f0)](_0xcf3cf2[_0x3301a9(0x5cb)]),_0x4274cf=_0x2ba6e6[_0x3301a9(0x43e)](),_0x1e020f=_0x214326(_0x4274cf,_0x20cf2d,_0x5763f5,_0x2e4930),_0x1948a6=new _0x3c7454()['invertOp'](_0x4274cf,_0x1e020f),_0x394960={'historyAction':_0x3301a9(0x556),'unitId':_0x224a61,'op':_0x1e020f,'viewType':_0x5763f5[_0x3301a9(0x1cc)]},_0x2905de={'historyAction':_0x3301a9(0x5dc),'unitId':_0x224a61,'op':_0x1948a6,'viewType':_0x5763f5['type']};return _0x54af46[_0x3301a9(0x4b6)](_0x40f796['id'],_0x394960)?(_0x54c1e4[_0x3301a9(0x544)](_0x224a61),_0x35e31b['pushUndoRedo']({'unitID':_0x224a61,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2905de}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x394960}]}),!0x0):!0x1;}},_0x42e92a={'id':_0x2b8d6a(0x287),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x40074b,_0x478935){const _0x139051=_0x2b8d6a;if(!_0x478935)return!0x1;let _0x1ca4a8=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x232469,tableId:_0x570d63,fieldId:_0x41e7bd}=_0x478935,_0x48f59c=_0x1ca4a8[_0x139051(0x425)](_0x232469,_0xcf3cf2[_0x139051(0x2f8)][_0x139051(0x2bf)]);if(!_0x48f59c)return!0x1;let _0x4525f2=_0x48f59c['getSnapshot'](),_0x42b392=_0x4525f2['tables'][_0x570d63];if(!_0x59a7a2(_0x48f59c,_0x570d63,{'fieldIds':[_0x41e7bd]})||_0x42b392[_0x139051(0x4b4)]===_0x41e7bd||_0x41e7bd===_0xcf3cf2[_0x139051(0x509)])return!0x1;let _0x5a8f0f=_0x40074b['get'](_0xcf3cf2['ICommandService']),_0x2aff01=_0x40074b[_0x139051(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a3870=new _0x15dbb7()[_0x139051(0x32b)](_0x4525f2,_0x570d63,_0x41e7bd),_0x1bebad=new _0x3c7454()[_0x139051(0x5a5)](_0x4525f2,_0x3a3870),_0x36ee59={'unitId':_0x232469,'op':_0x3a3870},_0x10891e={'unitId':_0x232469,'op':_0x1bebad};return _0x5a8f0f[_0x139051(0x4b6)](_0x40f796['id'],_0x36ee59)?(_0x1ca4a8['focusUnit'](_0x232469),_0x2aff01[_0x139051(0x2b2)]({'unitID':_0x232469,'undoMutations':[{'id':_0x40f796['id'],'params':_0x10891e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36ee59}]}),!0x0):!0x1;}},_0x50bb2a={'id':_0x2b8d6a(0x5f4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xab848b,_0x30a4aa)=>{const _0x4dd8c2=_0x2b8d6a;if(!_0x30a4aa)return!0x1;let _0x3f7b8e=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x56e)]),{unitId:_0x495510,tableId:_0x4b6030,recordId:_0x5c2460}=_0x30a4aa,_0x34b73f=_0x3f7b8e[_0x4dd8c2(0x425)](_0x495510,_0xcf3cf2['UniverInstanceType'][_0x4dd8c2(0x2bf)]);if(!_0x34b73f||!_0x59a7a2(_0x34b73f,_0x4b6030,{'recordIds':[_0x5c2460]}))return!0x1;let _0x1b18c6=_0xab848b['get'](_0xcf3cf2['ICommandService']),_0x56a3b4=_0xab848b[_0x4dd8c2(0x4f0)](_0xcf3cf2[_0x4dd8c2(0x5cb)]),_0x372a95=_0x34b73f[_0x4dd8c2(0x43e)](),_0x3e260c=_0x3b968d(_0x372a95[_0x4dd8c2(0x3d7)][_0x4b6030],[_0x5c2460]),_0x2b1024=new _0x15dbb7(),_0x575fdc=new _0x3c7454(),_0x5deb97=_0x2b1024['deleteRecord'](_0x372a95,_0x4b6030,_0x5c2460),_0xb970f7=_0x575fdc[_0x4dd8c2(0x54e)](_0x372a95,_0x5deb97),_0x33653c=_0x2b1024['createDeleteRecordsUndoOp'](_0x372a95,_0xb970f7,_0x4b6030,[_0x5c2460]),_0x29d605={'unitId':_0x495510,'op':_0x5deb97,'hierarchyChanges':_0x3e260c,'source':_0x30a4aa[_0x4dd8c2(0x357)]??'ui'},_0x52a893={..._0x29d605,'source':_0x4dd8c2(0x389)},_0x547a9e={'unitId':_0x495510,'op':_0x33653c,'hierarchyChanges':_0x3e260c[_0x4dd8c2(0x2c4)](_0x3d2f75=>({..._0x3d2f75,'oldParentRecordId':_0x3d2f75[_0x4dd8c2(0x346)],'parentRecordId':_0x3d2f75[_0x4dd8c2(0x38f)]})),'source':_0x4dd8c2(0x2b1)};return _0x1b18c6['syncExecuteCommand'](_0x40f796['id'],_0x29d605)?(_0x3f7b8e[_0x4dd8c2(0x544)](_0x495510),_0x56a3b4[_0x4dd8c2(0x2b2)]({'unitID':_0x495510,'undoMutations':[{'id':_0x40f796['id'],'params':_0x547a9e}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x52a893}]}),!0x0):!0x1;}},_0x58eadf={'id':_0x2b8d6a(0x229),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x6b92c9,_0x5e9542)=>{const _0x33545a=_0x2b8d6a;if(!_0x5e9542)return!0x1;let _0x371de4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x56e)]),{unitId:_0x3ec91b,tableId:_0x13f7b7}=_0x5e9542,_0xd1abbc=_0x371de4[_0x33545a(0x425)](_0x3ec91b,_0xcf3cf2[_0x33545a(0x2f8)][_0x33545a(0x2bf)]);if(!_0xd1abbc||!_0x59a7a2(_0xd1abbc,_0x13f7b7))return!0x1;let _0x3eaed4=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2['ICommandService']),_0x2f63be=_0x6b92c9[_0x33545a(0x4f0)](_0xcf3cf2[_0x33545a(0x5cb)]),_0x5440d6=_0xd1abbc['getSnapshot'](),_0x3d1812=_0x39ea47(_0x5440d6,_0x13f7b7);if(_0x3d1812[_0x33545a(0x3d4)]>0x0)return console[_0x33545a(0x4d9)](_0x33545a(0x2bb)+_0x13f7b7+_0x33545a(0x3d2)+_0x3d1812[_0x33545a(0x2c4)](_0x3ba3e9=>_0x3ba3e9['tableId']+'.'+_0x3ba3e9[_0x33545a(0x580)])[_0x33545a(0x600)](',\x20')+'.'),!0x1;let _0x12ca39=new _0x15dbb7()[_0x33545a(0x1f1)](_0x5440d6,_0x13f7b7),_0x16083a=new _0x3c7454()[_0x33545a(0x5a5)](_0x5440d6,_0x12ca39),_0x373bc7={'unitId':_0x3ec91b,'op':_0x12ca39},_0x104bd7={'unitId':_0x3ec91b,'op':_0x16083a};return _0x3eaed4[_0x33545a(0x4b6)](_0x40f796['id'],_0x373bc7)?(_0x371de4[_0x33545a(0x544)](_0x3ec91b),_0x2f63be['pushUndoRedo']({'unitID':_0x3ec91b,'undoMutations':[{'id':_0x40f796['id'],'params':_0x104bd7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x373bc7}]}),!0x0):!0x1;}},_0x5c24f7={'id':_0x2b8d6a(0x4a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x50bcf5,_0x44877)=>{const _0xb116ff=_0x2b8d6a;if(!_0x44877)return!0x1;let _0xd098d5=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x56e)]),{unitId:_0x57f5b1,tableId:_0x5de123,viewId:_0x25d81d}=_0x44877,_0x45ea48=_0xd098d5[_0xb116ff(0x425)](_0x57f5b1,_0xcf3cf2[_0xb116ff(0x2f8)][_0xb116ff(0x2bf)]);if(!_0x45ea48||!_0x59a7a2(_0x45ea48,_0x5de123,{'viewIds':[_0x25d81d]}))return!0x1;let _0x39daa3=_0x50bcf5['get'](_0xcf3cf2[_0xb116ff(0x1e8)]),_0x33f294=_0x50bcf5[_0xb116ff(0x4f0)](_0xcf3cf2[_0xb116ff(0x5cb)]),_0x1aacca=_0x45ea48[_0xb116ff(0x43e)](),_0xa9ae4e=_0x1aacca[_0xb116ff(0x3d7)][_0x5de123][_0xb116ff(0x2e4)][_0x25d81d][_0xb116ff(0x1cc)],_0x509690=new _0x15dbb7()[_0xb116ff(0x213)](_0x1aacca,_0x5de123,_0x25d81d),_0x4433d1=new _0x3c7454()[_0xb116ff(0x5a5)](_0x1aacca,_0x509690),_0x1c416b={'historyAction':_0xb116ff(0x5dc),'unitId':_0x57f5b1,'op':_0x509690,'viewType':_0xa9ae4e},_0x5ad018={'historyAction':'create-view','unitId':_0x57f5b1,'op':_0x4433d1,'viewType':_0xa9ae4e};return _0x39daa3['syncExecuteCommand'](_0x40f796['id'],_0x1c416b)?(_0xd098d5[_0xb116ff(0x544)](_0x57f5b1),_0x33f294[_0xb116ff(0x2b2)]({'unitID':_0x57f5b1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5ad018}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1c416b}]}),!0x0):!0x1;}},_0x592df7={'id':_0x2b8d6a(0x4ca),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x9a9d67,_0x29e9e9)=>{const _0xfe1e81=_0x2b8d6a;if(!_0x29e9e9)return!0x1;let _0x2504a5=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x56e)]),{unitId:_0x5319ed,tableId:_0x31a20f,sourceFieldId:_0xcfced5,field:_0xd8dc7f,index:_0x3cd795,viewIndexes:_0x598dae}=_0x29e9e9,_0x14c931=_0x2504a5[_0xfe1e81(0x425)](_0x5319ed,_0xcf3cf2[_0xfe1e81(0x2f8)][_0xfe1e81(0x2bf)]);if(!_0x14c931||!_0x59a7a2(_0x14c931,_0x31a20f,{'fieldIds':[_0xcfced5]})||_0xcfced5===_0xcf3cf2['BASE_RECORD_ID_FIELD_ID']||_0x14c931['getSnapshot']()['tables'][_0x31a20f][_0xfe1e81(0x3b5)][_0xd8dc7f['id']]||_0x3cd795===0x0||!_0xa1cda8(_0x14c931,_0x31a20f,_0xd8dc7f))return!0x1;let _0x5b5639=_0x9a9d67[_0xfe1e81(0x4f0)](_0xcf3cf2[_0xfe1e81(0x1e8)]),_0x522b90=_0x9a9d67['get'](_0xcf3cf2[_0xfe1e81(0x5cb)]),_0x12dbfc=_0x14c931[_0xfe1e81(0x43e)](),_0x3723f5=new _0x15dbb7()[_0xfe1e81(0x2b8)](_0x12dbfc,_0x31a20f,_0xcfced5,{'field':_0xd8dc7f,'index':_0x3cd795,'viewIndexes':_0x598dae}),_0x404f6b=new _0x3c7454()[_0xfe1e81(0x5a5)](_0x12dbfc,_0x3723f5),_0x533d05={'unitId':_0x5319ed,'op':_0x3723f5},_0xdb942f={'unitId':_0x5319ed,'op':_0x404f6b};return _0x5b5639[_0xfe1e81(0x4b6)](_0x40f796['id'],_0x533d05)?(_0x2504a5[_0xfe1e81(0x544)](_0x5319ed),_0x522b90['pushUndoRedo']({'unitID':_0x5319ed,'undoMutations':[{'id':_0x40f796['id'],'params':_0xdb942f}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x533d05}]}),!0x0):!0x1;}},_0x217849={'id':'base.command.duplicate-base-record','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0xc2c7c5,_0x1b6ca1)=>{const _0x5ca6f7=_0x2b8d6a;if(!_0x1b6ca1)return!0x1;let _0x2aae60=_0xc2c7c5['get'](_0xcf3cf2[_0x5ca6f7(0x56e)]),{unitId:_0x185a78,tableId:_0x18b82a,sourceRecordId:_0x5bd243,record:_0x357d0d}=_0x1b6ca1,_0x2c4556=_0x2aae60['getUnit'](_0x185a78,_0xcf3cf2[_0x5ca6f7(0x2f8)]['UNIVER_BASE']);if(!_0x2c4556||!_0x59a7a2(_0x2c4556,_0x18b82a,{'recordIds':[_0x5bd243]})||!_0x3e6f41(_0x2c4556,_0x18b82a,_0x357d0d))return!0x1;let _0x4fce2a=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2['ICommandService']),_0x3a0076=_0xc2c7c5[_0x5ca6f7(0x4f0)](_0xcf3cf2[_0x5ca6f7(0x5cb)]),_0x4aeb9c=_0x2c4556[_0x5ca6f7(0x43e)](),_0x1519ce=_0x4f1f9d(_0x357d0d),_0xed181c=_0x441a71(_0x4aeb9c[_0x5ca6f7(0x3d7)][_0x18b82a],[_0x1519ce]),_0x10b10a=new _0x15dbb7()[_0x5ca6f7(0x5dd)](_0x4aeb9c,_0x18b82a,_0x5bd243,_0x1519ce),_0x5cdcf1=new _0x3c7454()[_0x5ca6f7(0x5a5)](_0x4aeb9c,_0x10b10a),_0x4f92d0={'unitId':_0x185a78,'op':_0x10b10a,'hierarchyChanges':_0xed181c['length']?_0xed181c:void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x1b6ca1[_0x5ca6f7(0x357)]??'ui':void 0x0},_0x2c5544={..._0x4f92d0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x389):void 0x0},_0x25bfc3={'unitId':_0x185a78,'op':_0x5cdcf1,'hierarchyChanges':_0xed181c[_0x5ca6f7(0x3d4)]?_0xed181c[_0x5ca6f7(0x2c4)](_0x349412=>({..._0x349412,'oldParentRecordId':_0x349412[_0x5ca6f7(0x346)],'parentRecordId':null})):void 0x0,'source':_0xed181c[_0x5ca6f7(0x3d4)]?_0x5ca6f7(0x2b1):void 0x0};return _0x4fce2a[_0x5ca6f7(0x4b6)](_0x40f796['id'],_0x4f92d0)?(_0x2aae60[_0x5ca6f7(0x544)](_0x185a78),_0x3a0076[_0x5ca6f7(0x2b2)]({'unitID':_0x185a78,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25bfc3}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2c5544}]}),!0x0):!0x1;}},_0x4a862d={'id':_0x2b8d6a(0x49b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x253599,_0x3cbd15){const _0x49cb23=_0x2b8d6a;if(!_0x3cbd15)return!0x1;let _0x1045ef=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x56e)]),{unitId:_0x472ef5,tableId:_0x29a1f1,viewId:_0x485fb7,ensureEndDateField:_0x1139e0}=_0x3cbd15,_0x3d78a2=_0x1045ef[_0x49cb23(0x425)](_0x472ef5,_0xcf3cf2[_0x49cb23(0x2f8)]['UNIVER_BASE']);if(!_0x3d78a2||!_0x59a7a2(_0x3d78a2,_0x29a1f1,{'viewIds':[_0x485fb7]}))return!0x1;let _0x353329=_0x3d78a2['getSnapshot'](),_0x12be20=_0x353329[_0x49cb23(0x3d7)][_0x29a1f1],_0x4c607d=_0x12be20==null?void 0x0:_0x12be20[_0x49cb23(0x2e4)][_0x485fb7];if(!_0x12be20||!_0x4c607d||_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x266)&&_0x4c607d[_0x49cb23(0x1cc)]!==_0x49cb23(0x1f3))return!0x1;let _0x1a360e=_0x56d2b1(_0x12be20,_0x4c607d,_0x1139e0===!0x0);if(!_0x1a360e[_0x49cb23(0x2aa)])return!0x1;let _0x8be6ae=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x1e8)]),_0x35378e=_0x253599[_0x49cb23(0x4f0)](_0xcf3cf2[_0x49cb23(0x5cb)]),_0x515ebe=new _0x15dbb7(),_0x5eb15f=[..._0x1a360e['fields'][_0x49cb23(0x2c4)](_0x1b6750=>_0x515ebe[_0x49cb23(0x3ed)](_0x353329,_0x3cbd15[_0x49cb23(0x3e2)],{'field':_0x1b6750})),_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x5a3)],_0x4c607d[_0x49cb23(0x5a3)],_0x1a360e['config'])];_0x1a360e[_0x49cb23(0x4ab)]&&_0x5eb15f['push'](_0x35f583([..._0x32c40e(_0x3cbd15[_0x49cb23(0x3e2)],_0x3cbd15[_0x49cb23(0x608)]),_0x49cb23(0x4ab)],_0x4c607d['fieldOrder'],_0x1a360e[_0x49cb23(0x4ab)]));let _0x55fc4a=_0x5dc19d(_0x5eb15f),_0x3b1883=new _0x3c7454()[_0x49cb23(0x5a5)](_0x353329,_0x55fc4a),_0x19c597={'unitId':_0x472ef5,'op':_0x55fc4a},_0x25c5ab={'unitId':_0x472ef5,'op':_0x3b1883};return _0x8be6ae[_0x49cb23(0x4b6)](_0x40f796['id'],_0x19c597)?(_0x1045ef[_0x49cb23(0x544)](_0x472ef5),_0x35378e[_0x49cb23(0x2b2)]({'unitID':_0x472ef5,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25c5ab}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19c597}]}),!0x0):!0x1;}};function _0x35f583(_0x293c72,_0x46aa34,_0xfa3bdf){const _0xd2457f=_0x2b8d6a;return _0x46aa34===void 0x0?_0xcf3cf2[_0xd2457f(0x597)]['insertOp'](_0x293c72,_0xfa3bdf):_0xcf3cf2[_0xd2457f(0x597)][_0xd2457f(0x5f9)](_0x293c72,_0x46aa34,_0xfa3bdf);}function _0x32c40e(_0x163828,_0x4b50d3){const _0xd70c70=_0x2b8d6a;return['tables',_0x163828,_0xd70c70(0x2e4),_0x4b50d3];}let _0x4a02a4={'id':_0x2b8d6a(0x24f),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x400135,_0x3ae9a0)=>{const _0x258f24=_0x2b8d6a;if(!_0x3ae9a0)return!0x1;let _0x308adf=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x56e)]),{unitId:_0x27bd40,tableId:_0x27a229,fieldId:_0x20a89d,target:_0x15867b}=_0x3ae9a0,_0x399cac=_0x308adf[_0x258f24(0x425)](_0x27bd40,_0xcf3cf2['UniverInstanceType'][_0x258f24(0x2bf)]),_0xbce536=_0x15867b[_0x258f24(0x24d)]??_0x15867b[_0x258f24(0x58f)];if(!_0x399cac||!!_0x15867b[_0x258f24(0x24d)]==!!_0x15867b[_0x258f24(0x58f)]||!_0xbce536||_0xbce536===_0x20a89d||_0x20a89d===_0xcf3cf2[_0x258f24(0x509)]||_0x15867b[_0x258f24(0x24d)]===_0xcf3cf2[_0x258f24(0x509)]||!_0x59a7a2(_0x399cac,_0x27a229,{'fieldIds':[_0x20a89d,_0xbce536]}))return!0x1;let _0x59dc2b=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2[_0x258f24(0x1e8)]),_0x3a1d50=_0x400135[_0x258f24(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0xc1d2c0=_0x399cac['getSnapshot'](),_0x36b7ea=new _0x15dbb7()[_0x258f24(0x21b)](_0xc1d2c0,_0x27a229,_0x20a89d,_0x15867b),_0x27bb52=new _0x3c7454()[_0x258f24(0x5a5)](_0xc1d2c0,_0x36b7ea),_0x1a884e={'unitId':_0x27bd40,'op':_0x36b7ea},_0x1a43f0={'unitId':_0x27bd40,'op':_0x27bb52};return _0x59dc2b[_0x258f24(0x4b6)](_0x40f796['id'],_0x1a884e)?(_0x308adf[_0x258f24(0x544)](_0x27bd40),_0x3a1d50[_0x258f24(0x2b2)]({'unitID':_0x27bd40,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1a43f0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1a884e}]}),!0x0):!0x1;}},_0x55d92d={'id':'base.command.move-base-hierarchy-record','type':_0xcf3cf2['CommandType']['COMMAND'],'handler':(_0x3a4ed4,_0x126585)=>{const _0x3ab9d1=_0x2b8d6a;var _0x440c3f;if(!_0x126585)return!0x1;let {unitId:_0x1a03f8,tableId:_0x30d850,recordId:_0x8b5b56,parentRecordId:_0x1d551e,orderKey:_0x43ddc7}=_0x126585,_0x169222=_0x3a4ed4['get'](_0xcf3cf2[_0x3ab9d1(0x56e)]),_0x163456=_0x169222[_0x3ab9d1(0x425)](_0x1a03f8,_0xcf3cf2[_0x3ab9d1(0x2f8)][_0x3ab9d1(0x2bf)]);if(!_0x163456||!_0x59a7a2(_0x163456,_0x30d850,{'recordIds':[_0x8b5b56,..._0x1d551e?[_0x1d551e]:[]]}))throw new _0x1d7b46(_0x3ab9d1(0x3a2));let _0x1cd87d=_0x163456['getSnapshot'](),_0x12b0e9=_0x1cd87d['tables'][_0x30d850],_0x156de5=_0xb51e67(_0x12b0e9),_0x157866=_0x156de5??_0x126585['fieldId']??_0x4f5050(_0x12b0e9);if(_0x156de5&&_0x126585[_0x3ab9d1(0x580)]&&_0x126585[_0x3ab9d1(0x580)]!==_0x156de5||_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866]&&!_0x4d880f(_0x12b0e9,_0x157866))throw new _0x1d7b46('invalidField');let _0x13ba58=_0x3760a3(_0x12b0e9,_0x157866),_0x32c57d=_0x5a84fb(_0x13ba58,_0x8b5b56,_0x1d551e);if(!_0x32c57d[_0x3ab9d1(0x47d)])throw new _0x1d7b46(_0x32c57d['reason']===_0xcf3cf2[_0x3ab9d1(0x296)][_0x3ab9d1(0x428)]?_0x3ab9d1(0x480):_0x32c57d[_0x3ab9d1(0x2e7)]===_0xcf3cf2[_0x3ab9d1(0x296)]['Cycle']?_0x3ab9d1(0x236):_0x3ab9d1(0x522));let _0x497ab5=_0x13ba58[_0x3ab9d1(0x337)][_0x3ab9d1(0x4f0)](_0x8b5b56)??null,_0x1755c3=_0x12b0e9[_0x3ab9d1(0x38a)][_0x8b5b56][_0x3ab9d1(0x340)];if(_0x497ab5===_0x1d551e&&(_0x43ddc7===void 0x0||_0x43ddc7===_0x1755c3))return!0x0;let _0xf2dced=_0x497ab5!==_0x1d551e,_0x4e1dbf=_0x43ddc7!==void 0x0&&_0x43ddc7!==_0x1755c3,_0x54103d=new _0x15dbb7(),_0x3f3b3b=[],_0x5790ab=_0x12b0e9[_0x3ab9d1(0x3b5)][_0x157866],_0x37e9c8=_0xf2dced&&(!_0x5790ab||((_0x440c3f=_0x391f91(_0x5790ab))==null?void 0x0:_0x440c3f['relationRole'])!==_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)])?_0x5790ab?_0x54103d[_0x3ab9d1(0x56b)](_0x1cd87d,_0x30d850,_0x157866,{'config':{..._0x5790ab[_0x3ab9d1(0x5a3)],'relationRole':_0xcf3cf2[_0x3ab9d1(0x223)][_0x3ab9d1(0x60d)]}}):_0x3a4ed4[_0x3ab9d1(0x4f0)](_0x5394a2)[_0x3ab9d1(0x29b)](_0x163456,_0x30d850,_0x3df43c(_0x12b0e9,_0x157866,_0x126585['parentFieldName']),_0x12b0e9['fieldOrder'][_0x3ab9d1(0x3d4)]):null;_0x37e9c8&&_0x3f3b3b['push'](_0x37e9c8),_0xf2dced&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateCell'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866,_0x1d551e?_0x47d3ab([_0x1d551e]):'')),_0x4e1dbf&&_0x3f3b3b[_0x3ab9d1(0x309)](_0x54103d['updateRecordOrder'](_0x1cd87d,_0x30d850,_0x8b5b56,_0x43ddc7));let _0x2d86e9=_0x5dc19d(_0x3f3b3b),_0x4298b5={'tableId':_0x30d850,'fieldId':_0x157866,'recordId':_0x8b5b56,'oldParentRecordId':_0x497ab5,'parentRecordId':_0x1d551e},_0x215cc1={'unitId':_0x1a03f8,'op':_0x2d86e9,'trigger':_0x55d92d['id'],'hierarchyChanges':[_0x4298b5],'source':_0x126585[_0x3ab9d1(0x357)]??'ui'},_0x1b44c3={..._0x215cc1,'source':_0x3ab9d1(0x389)};if(!_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x1e8)])[_0x3ab9d1(0x4b6)](_0x40f796['id'],_0x215cc1))return!0x1;let _0x4ccd78=_0x163456[_0x3ab9d1(0x43e)](),_0x2a26bf=[];_0xf2dced&&_0x2a26bf['push'](_0xe17bcb(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56,_0x157866)),_0x4e1dbf&&_0x2a26bf['push'](_0x238ad3(_0x4ccd78,_0x1cd87d,_0x30d850,_0x8b5b56)),_0x37e9c8&&_0x2a26bf[_0x3ab9d1(0x309)](new _0x3c7454()['invertOp'](_0x1cd87d,_0x37e9c8));let _0x218d9d={'unitId':_0x1a03f8,'op':_0x5dc19d(_0x2a26bf),'trigger':_0x55d92d['id'],'hierarchyChanges':[{..._0x4298b5,'oldParentRecordId':_0x1d551e,'parentRecordId':_0x497ab5}],'source':_0x3ab9d1(0x2b1)};return _0x169222[_0x3ab9d1(0x544)](_0x1a03f8),_0x3a4ed4[_0x3ab9d1(0x4f0)](_0xcf3cf2[_0x3ab9d1(0x5cb)])[_0x3ab9d1(0x2b2)]({'unitID':_0x1a03f8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x218d9d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1b44c3}]}),!0x0;}};function _0xe17bcb(_0x1d75cc,_0x3e681f,_0x508311,_0x57e150,_0x350a4c){const _0x41971d=_0x2b8d6a;var _0x5b95cf,_0xc51255,_0x58eb55,_0xabb1dc,_0x57b58a,_0x5baee9,_0x75753b,_0x30512c;let _0x179868=_0x1d75cc['tables'][_0x508311],_0x45e20d=_0x3e681f[_0x41971d(0x3d7)][_0x508311],_0x5841cd=(_0x5b95cf=_0x179868[_0x41971d(0x29a)])==null?void 0x0:_0x5b95cf[_0x57e150],_0xf3f544=(_0xc51255=_0x179868[_0x41971d(0x1f5)])==null?void 0x0:_0xc51255[_0x350a4c],_0x2a94ba=(_0x58eb55=_0x45e20d[_0x41971d(0x29a)])==null?void 0x0:_0x58eb55[_0x57e150],_0x323ba0=(_0xabb1dc=_0x45e20d['colIndex'])==null?void 0x0:_0xabb1dc[_0x350a4c],_0x7c94ef=_0x5841cd==null||_0xf3f544==null||(_0x57b58a=_0x179868[_0x41971d(0x2a3)])==null||(_0x57b58a=_0x57b58a[_0x5841cd])==null?void 0x0:_0x57b58a[_0xf3f544],_0x5bc909=_0x2a94ba==null||_0x323ba0==null||(_0x5baee9=_0x45e20d[_0x41971d(0x2a3)])==null||(_0x5baee9=_0x5baee9[_0x2a94ba])==null?void 0x0:_0x5baee9[_0x323ba0],_0x5d6ca8=(_0x75753b=_0x179868['records'][_0x57e150])==null?void 0x0:_0x75753b[_0x41971d(0x404)][_0x350a4c],_0x362b05=(_0x30512c=_0x45e20d[_0x41971d(0x38a)][_0x57e150])==null?void 0x0:_0x30512c['values'][_0x350a4c],_0x580d43=[],_0x44aaca=_0x49a31c(_0x5841cd==null||_0xf3f544==null?null:_0x4b16d6[_0x41971d(0x2a3)](_0x508311,_0x5841cd,_0xf3f544),_0x7c94ef,_0x5bc909);_0x44aaca&&_0x580d43[_0x41971d(0x309)](_0x44aaca);let _0x5e7c8d=_0x49a31c(_0x4b16d6[_0x41971d(0x4c1)](_0x508311,_0x57e150,_0x350a4c),_0x5d6ca8,_0x362b05);return _0x5e7c8d&&_0x580d43[_0x41971d(0x309)](_0x5e7c8d),_0x5dc19d(_0x580d43);}function _0x238ad3(_0x4b18b0,_0x2c54b6,_0x3978f3,_0x55869e){const _0xb0c6e=_0x2b8d6a;var _0x318f92,_0x2f8242;let _0x5370df=_0x4b18b0[_0xb0c6e(0x3d7)][_0x3978f3],_0x153a89=_0x2c54b6[_0xb0c6e(0x3d7)][_0x3978f3];return _0x5dc19d([_0x49a31c([..._0x4b16d6[_0xb0c6e(0x3c2)](_0x3978f3,_0x55869e),_0xb0c6e(0x340)],(_0x318f92=_0x5370df['records'][_0x55869e])==null?void 0x0:_0x318f92[_0xb0c6e(0x340)],(_0x2f8242=_0x153a89[_0xb0c6e(0x38a)][_0x55869e])==null?void 0x0:_0x2f8242['orderKey']),_0x49a31c([..._0x4b16d6[_0xb0c6e(0x4b0)](_0x3978f3),_0xb0c6e(0x5ab)],_0x5370df[_0xb0c6e(0x5ab)],_0x153a89[_0xb0c6e(0x5ab)])][_0xb0c6e(0x355)](_0x242282=>!!_0x242282));}function _0x49a31c(_0x5cc7d7,_0x2702f1,_0x18ae98){const _0x1433d3=_0x2b8d6a;if(!_0x5cc7d7||_0x2702f1===void 0x0&&_0x18ae98===void 0x0)return null;let _0x5b8294=_0xcf3cf2[_0x1433d3(0x56a)][_0x1433d3(0x59d)]();return _0x18ae98===void 0x0?_0x5b8294[_0x1433d3(0x594)](_0x5cc7d7,_0x2702f1):_0x2702f1===void 0x0?_0x5b8294[_0x1433d3(0x3f0)](_0x5cc7d7,_0x18ae98):_0x5b8294[_0x1433d3(0x5f9)](_0x5cc7d7,_0x2702f1,_0x18ae98);}let _0x21d036={'id':_0x2b8d6a(0x2a5),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x20a466,_0x4184ce)=>{const _0x4f0a8c=_0x2b8d6a;if(!_0x4184ce)return!0x1;let _0x174ba4=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x56e)]),{unitId:_0x33b734,tableId:_0x47badb,viewId:_0x203344,target:_0x1cefe6}=_0x4184ce,_0x4fc090=_0x174ba4['getUnit'](_0x33b734,_0xcf3cf2[_0x4f0a8c(0x2f8)][_0x4f0a8c(0x2bf)]),_0x240487=_0x1cefe6[_0x4f0a8c(0x54d)]??_0x1cefe6['afterViewId'];if(!_0x4fc090||!_0x240487||_0x240487===_0x203344||!_0x59a7a2(_0x4fc090,_0x47badb,{'viewIds':[_0x203344,_0x240487]}))return!0x1;let _0x1bbd8f=_0x20a466['get'](_0xcf3cf2[_0x4f0a8c(0x1e8)]),_0x1cf590=_0x20a466[_0x4f0a8c(0x4f0)](_0xcf3cf2[_0x4f0a8c(0x5cb)]),_0x1736af=_0x4fc090[_0x4f0a8c(0x43e)](),_0x431913=new _0x15dbb7()[_0x4f0a8c(0x495)](_0x1736af,_0x47badb,_0x203344,_0x1cefe6),_0x4815c5=new _0x3c7454()[_0x4f0a8c(0x5a5)](_0x1736af,_0x431913),_0x403e27={'unitId':_0x33b734,'op':_0x431913},_0x25642b={'unitId':_0x33b734,'op':_0x4815c5};return _0x1bbd8f[_0x4f0a8c(0x4b6)](_0x40f796['id'],_0x403e27)?(_0x174ba4['focusUnit'](_0x33b734),_0x1cf590[_0x4f0a8c(0x2b2)]({'unitID':_0x33b734,'undoMutations':[{'id':_0x40f796['id'],'params':_0x25642b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x403e27}]}),!0x0):!0x1;}},_0x227b37={'id':'base.command.rename-base-table','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x3e56a4,_0x2f5780)=>{const _0x50ca38=_0x2b8d6a;if(!_0x2f5780)return!0x1;let _0x31073b=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x40066e,tableId:_0x3a0fce,name:_0x113bf6}=_0x2f5780,_0x1a6357=_0x31073b[_0x50ca38(0x425)](_0x40066e,_0xcf3cf2['UniverInstanceType'][_0x50ca38(0x2bf)]);if(!_0x1a6357||!_0x59a7a2(_0x1a6357,_0x3a0fce)||!_0x5696c8(_0x1a6357['getSnapshot'](),_0x113bf6,_0x3a0fce)[_0x50ca38(0x47d)])return!0x1;let _0x536afe=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x1e8)]),_0x3dd01d=_0x3e56a4[_0x50ca38(0x4f0)](_0xcf3cf2[_0x50ca38(0x5cb)]),_0x303fc6=_0x1a6357['getSnapshot'](),_0x2815a3=new _0x15dbb7()[_0x50ca38(0x331)](_0x303fc6,_0x3a0fce,_0x113bf6),_0x1c5c22=new _0x3c7454()[_0x50ca38(0x5a5)](_0x303fc6,_0x2815a3),_0x46ff75={'unitId':_0x40066e,'op':_0x2815a3},_0xe63df4={'unitId':_0x40066e,'op':_0x1c5c22};return _0x536afe['syncExecuteCommand'](_0x40f796['id'],_0x46ff75)?(_0x31073b[_0x50ca38(0x544)](_0x40066e),_0x3dd01d[_0x50ca38(0x2b2)]({'unitID':_0x40066e,'undoMutations':[{'id':_0x40f796['id'],'params':_0xe63df4}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x46ff75}]}),!0x0):!0x1;}},_0x4dc11a={'id':'base.command.rename-base-view','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2497f3,_0x48af65)=>{const _0x1f1825=_0x2b8d6a;if(!_0x48af65)return!0x1;let _0x20d5f8=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2[_0x1f1825(0x56e)]),{unitId:_0x598d03,tableId:_0x5cbcf4,viewId:_0x4a8b3d,name:_0x4f381b}=_0x48af65,_0x283572=_0x20d5f8['getUnit'](_0x598d03,_0xcf3cf2[_0x1f1825(0x2f8)][_0x1f1825(0x2bf)]);if(!_0x283572||!_0x59a7a2(_0x283572,_0x5cbcf4,{'viewIds':[_0x4a8b3d]}))return!0x1;let _0x21e84d=_0x2497f3[_0x1f1825(0x4f0)](_0xcf3cf2['ICommandService']),_0x5a0b41=_0x2497f3['get'](_0xcf3cf2[_0x1f1825(0x5cb)]),_0x589f33=_0x283572['getSnapshot'](),_0x41a459=new _0x15dbb7()[_0x1f1825(0x2d2)](_0x589f33,_0x5cbcf4,_0x4a8b3d,_0x4f381b),_0x2e2661=new _0x3c7454()[_0x1f1825(0x5a5)](_0x589f33,_0x41a459),_0x20290f={'unitId':_0x598d03,'op':_0x41a459},_0x178a77={'unitId':_0x598d03,'op':_0x2e2661};return _0x21e84d[_0x1f1825(0x4b6)](_0x40f796['id'],_0x20290f)?(_0x20d5f8[_0x1f1825(0x544)](_0x598d03),_0x5a0b41[_0x1f1825(0x2b2)]({'unitID':_0x598d03,'undoMutations':[{'id':_0x40f796['id'],'params':_0x178a77}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x20290f}]}),!0x0):!0x1;}},_0x4a1e5b={'id':_0x2b8d6a(0x5d4),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x520dd1,_0x4c2c0d)=>{const _0x25354a=_0x2b8d6a;if(!_0x4c2c0d)return!0x1;let _0x2edd97=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x56e)]),{unitId:_0x2965a6,tableId:_0x43e2a2,viewId:_0x4f57ac,fieldId:_0x4ce631}=_0x4c2c0d,_0x11c77e=_0x2edd97[_0x25354a(0x425)](_0x2965a6,_0xcf3cf2[_0x25354a(0x2f8)]['UNIVER_BASE']);if(!_0x11c77e||!_0x59a7a2(_0x11c77e,_0x43e2a2,{'viewIds':[_0x4f57ac],'fieldIds':[_0x4ce631]}))return!0x1;let _0x3f5c37=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x1e8)]),_0x1b7386=_0x520dd1[_0x25354a(0x4f0)](_0xcf3cf2[_0x25354a(0x5cb)]),_0x2772ea=_0x11c77e[_0x25354a(0x43e)](),_0x375553=new _0x15dbb7()['updateViewConfig'](_0x2772ea,_0x43e2a2,_0x4f57ac,{'groupFieldId':_0x4ce631}),_0x1c3c45=new _0x3c7454()['invertOp'](_0x2772ea,_0x375553),_0x121ad9={'unitId':_0x2965a6,'op':_0x375553},_0x537d62={'unitId':_0x2965a6,'op':_0x1c3c45};return _0x3f5c37[_0x25354a(0x4b6)](_0x40f796['id'],_0x121ad9)?(_0x2edd97[_0x25354a(0x544)](_0x2965a6),_0x1b7386[_0x25354a(0x2b2)]({'unitID':_0x2965a6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x537d62}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x121ad9}]}),!0x0):!0x1;}},_0x2f9533={'id':'base.command.set-base-name','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x1280a1,_0x661b17)=>{const _0xb0cd8b=_0x2b8d6a;if(!_0x661b17)return!0x1;let _0x3a636b=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2[_0xb0cd8b(0x56e)]),_0x56b2e6=_0x3a636b[_0xb0cd8b(0x425)](_0x661b17[_0xb0cd8b(0x20d)],_0xcf3cf2['UniverInstanceType'][_0xb0cd8b(0x2bf)]);if(!_0x56b2e6)return!0x1;let _0x5d966a=_0x56b2e6[_0xb0cd8b(0x43e)]()[_0xb0cd8b(0x456)];if(_0x5d966a===_0x661b17[_0xb0cd8b(0x456)])return!0x0;let _0x9114d4=new _0x15dbb7(),_0x3a8fe3=new _0x3c7454(),_0x2471fd=[],_0x51df0c=[],_0x8a692d=[_0x56b2e6,..._0x3a636b[_0xb0cd8b(0x365)](_0xcf3cf2[_0xb0cd8b(0x2f8)][_0xb0cd8b(0x2bf)])[_0xb0cd8b(0x355)](_0x1f1629=>_0x1f1629[_0xb0cd8b(0x4c0)]()!==_0x661b17[_0xb0cd8b(0x20d)])];for(let _0x11389c of _0x8a692d){let _0x35e740=_0x11389c[_0xb0cd8b(0x43e)](),_0x3cf5aa=_0x11389c===_0x56b2e6?_0x9114d4[_0xb0cd8b(0x238)](_0x35e740,_0x661b17['name']):_0x9114d4[_0xb0cd8b(0x4d6)](_0x35e740,_0x5d966a,_0x661b17[_0xb0cd8b(0x456)]);_0x3cf5aa&&(_0x2471fd[_0xb0cd8b(0x309)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3cf5aa,'trigger':_0x2f9533['id']}}),_0x51df0c[_0xb0cd8b(0x358)]({'id':_0x40f796['id'],'params':{'unitId':_0x11389c[_0xb0cd8b(0x4c0)](),'op':_0x3a8fe3[_0xb0cd8b(0x5a5)](_0x35e740,_0x3cf5aa),'trigger':_0x2f9533['id']}}));}let _0xbb308=_0x1280a1['get'](_0xcf3cf2[_0xb0cd8b(0x1e8)]),_0x13cc85=_0x1280a1[_0xb0cd8b(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x152759=_0x13cc85['__tempBatchingUndoRedo'](_0x661b17['unitId']);try{return(0x0,_0xcf3cf2[_0xb0cd8b(0x2c9)])(_0x2471fd,_0xbb308)['result']?(_0x3a636b[_0xb0cd8b(0x544)](_0x661b17['unitId']),_0x13cc85[_0xb0cd8b(0x2b2)]({'unitID':_0x661b17[_0xb0cd8b(0x20d)],'undoMutations':_0x51df0c,'redoMutations':_0x2471fd}),!0x0):!0x1;}finally{_0x152759[_0xb0cd8b(0x51d)]();}}},_0x16823a={'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'id':'base.command.set-permission',async 'handler'(_0x2e0fcf,_0x53980e){const _0x4c281f=_0x2b8d6a;if(!_0x53980e||!_0x2403b2[_0x4c281f(0x299)](_0x53980e['action'])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x53980e[_0x4c281f(0x216)]!==_0x2f5c57[_0x4c281f(0x1ce)][_0x4c281f(0x241)]||_0x53980e[_0x4c281f(0x466)]&&(![_0x4c281f(0x26f),_0x4c281f(0x3cb),_0x4c281f(0x2f5)][_0x4c281f(0x299)](_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x417)])||_0x53980e[_0x4c281f(0x466)][_0x4c281f(0x33e)]['some'](_0x22fd32=>!_0x2403b2[_0x4c281f(0x299)](_0x22fd32[_0x4c281f(0x216)])||_0x53980e[_0x4c281f(0x3fd)]!==_0x53980e[_0x4c281f(0x20d)]&&_0x22fd32['action']!==_0x2f5c57[_0x4c281f(0x1ce)]['Edit'])))return!0x1;let _0x5204e6=_0x1a5ea7(_0x53980e[_0x4c281f(0x20d)],_0x53980e[_0x4c281f(0x3fd)],_0x53980e[_0x4c281f(0x216)]),_0x4ce8eb={'unitId':_0x53980e['unitId'],'objectId':_0x53980e[_0x4c281f(0x3fd)],'objectType':_0x5204e6[_0x4c281f(0x1cc)]},_0x5a3c23=_0x2e0fcf[_0x4c281f(0x4f0)](_0xcf3cf2[_0x4c281f(0x392)]);return _0x53980e[_0x4c281f(0x485)]?await _0x5a3c23['remove'](_0x4ce8eb):_0x53980e[_0x4c281f(0x466)]?await _0x5a3c23['save'](_0x4ce8eb,_0x53980e['policy']):await _0x5a3c23['setPoint'](_0x4ce8eb,_0x5204e6,_0x53980e[_0x4c281f(0x348)]),!0x0;}},_0x2f8f7e={'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'id':_0x2b8d6a(0x3d6),async 'handler'(_0x1a2cc0,_0xfeb3e4){const _0x3d5741=_0x2b8d6a;if(!(_0xfeb3e4!=null&&_0xfeb3e4[_0x3d5741(0x20d)])||!Array['isArray'](_0xfeb3e4[_0x3d5741(0x37a)])||!_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x3d4)]||_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x20f)](_0x185d1c=>!(_0x185d1c!=null&&_0x185d1c[_0x3d5741(0x3fd)])||_0x185d1c[_0x3d5741(0x3fd)]===_0xfeb3e4['unitId']||_0x185d1c['policy']!==null&&(!_0x185d1c['policy']||![_0x3d5741(0x26f),_0x3d5741(0x3cb),_0x3d5741(0x2f5)][_0x3d5741(0x299)](_0x185d1c[_0x3d5741(0x466)]['edit'])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x31b)])||!Array[_0x3d5741(0x2a1)](_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)])||_0x185d1c[_0x3d5741(0x466)][_0x3d5741(0x33e)][_0x3d5741(0x20f)](_0x2a2150=>_0x2a2150['action']!==_0x2f5c57['UnitAction']['Edit']))))throw Error(_0x3d5741(0x209));return _0x1a2cc0[_0x3d5741(0x4f0)](_0xcf3cf2[_0x3d5741(0x392)])['saveMany'](_0xfeb3e4[_0x3d5741(0x37a)][_0x3d5741(0x2c4)](_0x148b8e=>{const _0x25707a=_0x3d5741;let _0x3dcafa=_0x1a5ea7(_0xfeb3e4[_0x25707a(0x20d)],_0x148b8e['objectId'],_0x2f5c57[_0x25707a(0x1ce)]['Edit']);return{'unitId':_0xfeb3e4[_0x25707a(0x20d)],'objectId':_0x148b8e[_0x25707a(0x3fd)],'objectType':_0x3dcafa[_0x25707a(0x1cc)],'policy':_0x148b8e[_0x25707a(0x466)]};}));}};function _0x1abd11(_0x1b3b46,_0x3a9c65){const _0x5026ce=_0x2b8d6a;let _0xe1ccac=_0x5d33ae(_0xcf3cf2[_0x5026ce(0x255)][_0x5026ce(0x578)](_0x1b3b46)),_0x213a15=new Map();return _0x3a9c65[_0x5026ce(0x458)](_0xea326a=>{const _0xd5991f=_0x5026ce;var _0x2a0bfb,_0x128251;let _0x57e9b3=_0xd5991f(0x57e)in _0xea326a?_0xea326a[_0xd5991f(0x57e)]:(_0x2a0bfb=_0xe1ccac[_0xd5991f(0x369)])==null?void 0x0:_0x2a0bfb[_0xea326a['row']],_0x1a25cf=_0xd5991f(0x580)in _0xea326a?_0xea326a['fieldId']:(_0x128251=_0xe1ccac[_0xd5991f(0x4df)])==null?void 0x0:_0x128251[_0xea326a[_0xd5991f(0x1cb)]],_0x2d08ad=_0x1a25cf?_0xe1ccac['fields'][_0x1a25cf]:void 0x0;if(!_0x57e9b3||!_0x1a25cf||!_0x2d08ad||!_0xe1ccac['records'][_0x57e9b3])return;let _0x4cb241=_0x1e0593(_0xea326a[_0xd5991f(0x348)],_0x2d08ad),_0x2c93b0=_0x566985(_0xea326a['value'],_0x4cb241,_0x2d08ad,_0xe1ccac,_0x57e9b3),_0x204b7b=_0x213a15[_0xd5991f(0x4f0)](_0x57e9b3)??{};_0x204b7b[_0x1a25cf]=_0x2c93b0,_0x213a15['set'](_0x57e9b3,_0x204b7b);}),[..._0x213a15]['map'](([_0xff2814,_0x18c8a3])=>({'recordId':_0xff2814,'values':_0x18c8a3}));}let _0x2ce036={'id':_0x2b8d6a(0x3ae),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x34ae52,_0x2e3758){const _0x5a7a19=_0x2b8d6a;if(!_0x2e3758)return!0x1;let _0x1a873d=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x56e)]),{unitId:_0x57a34a,tableId:_0x28125f,patches:_0x2c339b}=_0x2e3758,_0x4acaf4=_0x1a873d[_0x5a7a19(0x425)](_0x57a34a,_0xcf3cf2[_0x5a7a19(0x2f8)]['UNIVER_BASE']);if(!_0x4acaf4||!_0x59a7a2(_0x4acaf4,_0x28125f))return!0x1;let _0x1dbf35=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x1e8)]),_0x52784b=_0x34ae52[_0x5a7a19(0x4f0)](_0xcf3cf2[_0x5a7a19(0x5cb)]),_0x220160=_0x4acaf4['getSnapshot'](),_0x309fe6=_0x5d33ae(_0x220160[_0x5a7a19(0x3d7)][_0x28125f]),_0x1b0722=_0x2c339b[_0x5a7a19(0x2c4)](_0x30731c=>{const _0x102188=_0x5a7a19;var _0x1beefb;return'recordId'in _0x30731c?_0x30731c[_0x102188(0x57e)]:(_0x1beefb=_0x309fe6['rowId'])==null?void 0x0:_0x1beefb[_0x30731c[_0x102188(0x53e)]];})[_0x5a7a19(0x355)](_0x40d152=>_0x40d152!=null),_0x5c6f96=_0x2c339b[_0x5a7a19(0x2c4)](_0x1e3e4c=>{const _0x5947cb=_0x5a7a19;var _0x361c3a;return _0x5947cb(0x580)in _0x1e3e4c?_0x1e3e4c[_0x5947cb(0x580)]:(_0x361c3a=_0x309fe6['colId'])==null?void 0x0:_0x361c3a[_0x1e3e4c[_0x5947cb(0x1cb)]];})['filter'](_0x1bf0b7=>_0x1bf0b7!=null);if(_0x1b0722[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||_0x5c6f96[_0x5a7a19(0x3d4)]!==_0x2c339b[_0x5a7a19(0x3d4)]||!_0x59a7a2(_0x4acaf4,_0x28125f,{'recordIds':_0x1b0722,'fieldIds':_0x5c6f96})||_0x2c339b[_0x5a7a19(0x20f)]((_0x39c7dd,_0x505c96)=>!_0x49bde4(_0x4acaf4,_0x28125f,_0x5c6f96[_0x505c96],_0x39c7dd[_0x5a7a19(0x348)])))return!0x1;let _0x11d2b2=_0x4908a1(_0x309fe6,_0x1abd11(_0x309fe6,_0x2c339b)),_0x426baf=_0x2c339b[_0x5a7a19(0x5d0)](_0x336d8b=>{const _0x296265=_0x5a7a19;var _0x15a40d,_0x52ae38;if('row'in _0x336d8b)return[_0x336d8b];let _0x28b541=(_0x15a40d=_0x309fe6['rowIndex'])==null?void 0x0:_0x15a40d[_0x336d8b['recordId']],_0x2e7b26=(_0x52ae38=_0x309fe6[_0x296265(0x1f5)])==null?void 0x0:_0x52ae38[_0x336d8b[_0x296265(0x580)]];return _0x28b541==null||_0x2e7b26==null?[]:[{'row':_0x28b541,'col':_0x2e7b26,'value':_0x336d8b[_0x296265(0x348)]}];}),_0x59cd68=new _0x15dbb7()[_0x5a7a19(0x57c)](_0x220160,_0x28125f,_0x426baf),_0x59e9ac=new _0x3c7454()[_0x5a7a19(0x5a5)](_0x220160,_0x59cd68),_0x163642={'unitId':_0x57a34a,'op':_0x59cd68,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2['length']?_0x11d2b2:void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x389):void 0x0},_0x4b3540={'unitId':_0x57a34a,'op':_0x59e9ac,'trigger':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x2ce036['id']:void 0x0,'hierarchyChanges':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x11d2b2[_0x5a7a19(0x2c4)](_0x4ed942=>({..._0x4ed942,'oldParentRecordId':_0x4ed942[_0x5a7a19(0x346)],'parentRecordId':_0x4ed942['oldParentRecordId']})):void 0x0,'source':_0x11d2b2[_0x5a7a19(0x3d4)]?_0x5a7a19(0x2b1):void 0x0},_0x1ab450={..._0x163642,'source':_0x11d2b2['length']?_0x2e3758[_0x5a7a19(0x357)]??'ui':void 0x0};return _0x1dbf35[_0x5a7a19(0x4b6)](_0x40f796['id'],_0x1ab450)?(_0x1a873d[_0x5a7a19(0x544)](_0x57a34a),_0x52784b[_0x5a7a19(0x2b2)]({'unitID':_0x57a34a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4b3540}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x163642}]}),!0x0):!0x1;}},_0x450c63={'id':_0x2b8d6a(0x419),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x48ec47,_0x3720a2){const _0x27b51e=_0x2b8d6a;if(!_0x3720a2)return!0x1;let _0x39b6ae=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x56e)]),{unitId:_0x4bdc10,tableId:_0x4fb0b6,patches:_0x5e823a}=_0x3720a2,_0x1162c9=_0x39b6ae[_0x27b51e(0x425)](_0x4bdc10,_0xcf3cf2[_0x27b51e(0x2f8)][_0x27b51e(0x2bf)]),_0x352c4a=_0x5e823a['map'](_0x2289c0=>_0x2289c0[_0x27b51e(0x57e)]),_0x4400f9=_0x5e823a['flatMap'](_0x252404=>Object[_0x27b51e(0x582)](_0x252404['values']));if(!_0x1162c9||!_0x59a7a2(_0x1162c9,_0x4fb0b6,{'recordIds':_0x352c4a,'fieldIds':_0x4400f9})||_0x5e823a[_0x27b51e(0x20f)](_0x5cda40=>Object['entries'](_0x5cda40['values'])[_0x27b51e(0x20f)](([_0x5b5099,_0x5487e4])=>!_0x49bde4(_0x1162c9,_0x4fb0b6,_0x5b5099,_0x5487e4))))return!0x1;let _0x4e1a61=_0x4908a1(_0x1162c9[_0x27b51e(0x43e)]()[_0x27b51e(0x3d7)][_0x4fb0b6],_0x5e823a),_0x44b09c=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x1e8)]),_0x162e2b=_0x48ec47[_0x27b51e(0x4f0)](_0xcf3cf2[_0x27b51e(0x5cb)]),_0x14bb10=_0x48ec47[_0x27b51e(0x4f0)](_0x5394a2)['createSetRecordValuesOp'](_0x1162c9,_0x4fb0b6,_0x5e823a),_0x58605a=new _0x3c7454()[_0x27b51e(0x5a5)](_0x1162c9[_0x27b51e(0x43e)](),_0x14bb10),_0x3a91c4={'unitId':_0x4bdc10,'op':_0x14bb10,'trigger':_0x4e1a61[_0x27b51e(0x3d4)]?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61[_0x27b51e(0x3d4)]?_0x4e1a61:void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x3720a2[_0x27b51e(0x357)]??'ui':void 0x0},_0x57d41a={..._0x3a91c4,'source':_0x4e1a61['length']?_0x27b51e(0x389):void 0x0},_0x4e2d70={'unitId':_0x4bdc10,'op':_0x58605a,'trigger':_0x4e1a61['length']?_0x450c63['id']:void 0x0,'hierarchyChanges':_0x4e1a61['length']?_0x4e1a61['map'](_0x57b8dc=>({..._0x57b8dc,'oldParentRecordId':_0x57b8dc[_0x27b51e(0x346)],'parentRecordId':_0x57b8dc[_0x27b51e(0x38f)]})):void 0x0,'source':_0x4e1a61[_0x27b51e(0x3d4)]?_0x27b51e(0x2b1):void 0x0};return _0x44b09c[_0x27b51e(0x4b6)](_0x40f796['id'],_0x3a91c4)?(_0x39b6ae[_0x27b51e(0x544)](_0x4bdc10),_0x162e2b[_0x27b51e(0x2b2)]({'unitID':_0x4bdc10,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4e2d70}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x57d41a}]}),!0x0):!0x1;}},_0xd31f61={'id':'base.command.set-base-table-hierarchy-field','type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x625652,_0x198ded)=>{const _0x195297=_0x2b8d6a;if(!_0x198ded)return!0x1;let {unitId:_0x27af6a,tableId:_0xcb09a9,fieldId:_0x2ce8c6}=_0x198ded,_0x3bfef6=_0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x56e)]),_0x3e3bd7=_0x3bfef6[_0x195297(0x425)](_0x27af6a,_0xcf3cf2[_0x195297(0x2f8)][_0x195297(0x2bf)]);if(!_0x3e3bd7||!_0x59a7a2(_0x3e3bd7,_0xcb09a9))return!0x1;let _0x2a44e2=_0x3e3bd7[_0x195297(0x43e)](),_0xd1ae84=_0x2a44e2[_0x195297(0x3d7)][_0xcb09a9];if(_0x2ce8c6!==null&&!_0x4d880f(_0xd1ae84,_0x2ce8c6))throw new _0x1d7b46('invalidField');if(_0xb51e67(_0xd1ae84)===_0x2ce8c6)return!0x0;let _0x564bd3=new _0x15dbb7(),_0x934651=_0x5dc19d(Object[_0x195297(0x404)](_0xd1ae84['fields'])[_0x195297(0x5d0)](_0x10e689=>{const _0xfc5308=_0x195297;if(!_0x4d880f(_0xd1ae84,_0x10e689['id']))return[];let _0x321a4d=_0x391f91(_0x10e689);if(!_0x321a4d)return[];let _0x534697=_0x10e689['id']===_0x2ce8c6;if(_0x321a4d['relationRole']===_0xcf3cf2[_0xfc5308(0x223)][_0xfc5308(0x60d)]===_0x534697)return[];let _0x53488e={..._0x10e689[_0xfc5308(0x5a3)],'targetTableId':_0x321a4d['targetTableId'],'multiple':_0x321a4d[_0xfc5308(0x22e)]};return _0x534697?_0x53488e[_0xfc5308(0x2de)]=_0xcf3cf2[_0xfc5308(0x223)]['Parent']:delete _0x53488e[_0xfc5308(0x2de)],[_0x564bd3[_0xfc5308(0x56b)](_0x2a44e2,_0xcb09a9,_0x10e689['id'],{'config':_0x53488e})];})),_0x51cd11=new _0x3c7454()['invertOp'](_0x2a44e2,_0x934651),_0x36e903={'unitId':_0x27af6a,'op':_0x934651},_0x5c6fd1={'unitId':_0x27af6a,'op':_0x51cd11};return _0x625652[_0x195297(0x4f0)](_0xcf3cf2[_0x195297(0x1e8)])[_0x195297(0x4b6)](_0x40f796['id'],_0x36e903)?(_0x3bfef6[_0x195297(0x544)](_0x27af6a),_0x625652[_0x195297(0x4f0)](_0xcf3cf2['IUndoRedoService'])[_0x195297(0x2b2)]({'unitID':_0x27af6a,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5c6fd1}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x36e903}]}),!0x0):!0x1;}},_0x13066e={'id':'base.command.set-base-view-field-order','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3af816,_0x4533a3)=>{const _0x3674ca=_0x2b8d6a;if(!_0x4533a3)return!0x1;let _0x49a939=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x56e)]),{unitId:_0x2b95e1,tableId:_0x480420,viewId:_0x1d0a81,fieldId:_0x12c482,target:_0x5d8ed5}=_0x4533a3,_0x126d7d=_0x49a939['getUnit'](_0x2b95e1,_0xcf3cf2[_0x3674ca(0x2f8)][_0x3674ca(0x2bf)]),_0x47f511=_0x5d8ed5['beforeFieldId']??_0x5d8ed5['afterFieldId'];if(!_0x126d7d||!_0x47f511||_0x47f511===_0x12c482||!_0x59a7a2(_0x126d7d,_0x480420,{'viewIds':[_0x1d0a81],'fieldIds':[_0x12c482,_0x47f511]}))return!0x1;let _0x47f4d7=_0x126d7d[_0x3674ca(0x43e)]()[_0x3674ca(0x3d7)][_0x480420],_0x18d27c=_0x47f4d7[_0x3674ca(0x3b5)][_0x12c482],_0x31bac2=_0x47f4d7['fields'][_0x47f511];if(_0x18d27c[_0x3674ca(0x27a)]===!0x0||_0x18d27c['type']===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)]||_0x31bac2[_0x3674ca(0x27a)]===!0x0||_0x31bac2[_0x3674ca(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x3674ca(0x46d)])return!0x1;let _0x2fb827=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x1e8)]),_0x3a4bae=_0x3af816[_0x3674ca(0x4f0)](_0xcf3cf2[_0x3674ca(0x5cb)]),_0x46ac8b=_0x126d7d[_0x3674ca(0x43e)](),_0x501eb9=new _0x15dbb7()[_0x3674ca(0x56f)](_0x46ac8b,_0x480420,_0x1d0a81,_0x12c482,_0x5d8ed5),_0x3e5c7=new _0x3c7454()['invertOp'](_0x46ac8b,_0x501eb9),_0x19544b={'unitId':_0x2b95e1,'op':_0x501eb9},_0x22d596={'unitId':_0x2b95e1,'op':_0x3e5c7};return _0x2fb827[_0x3674ca(0x4b6)](_0x40f796['id'],_0x19544b)?(_0x49a939[_0x3674ca(0x544)](_0x2b95e1),_0x3a4bae[_0x3674ca(0x2b2)]({'unitID':_0x2b95e1,'undoMutations':[{'id':_0x40f796['id'],'params':_0x22d596}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x19544b}]}),!0x0):!0x1;}},_0x3e90d8={'id':_0x2b8d6a(0x5b4),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler'(_0x5ab95c,_0x2b45d2){const _0x121ba9=_0x2b8d6a;if(!_0x2b45d2)return!0x1;let _0x5dddba=_0x5ab95c['get'](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x142558,tableId:_0x9334,viewId:_0x3ef39e,fieldId:_0x2d49d0,visible:_0x5f1fdf}=_0x2b45d2,_0x40ad2e=_0x5dddba[_0x121ba9(0x425)](_0x142558,_0xcf3cf2[_0x121ba9(0x2f8)][_0x121ba9(0x2bf)]);if(!_0x40ad2e||!_0x59a7a2(_0x40ad2e,_0x9334,{'viewIds':[_0x3ef39e],'fieldIds':[_0x2d49d0]}))return!0x1;let _0xd1fa58=_0x40ad2e['getSnapshot']()['tables'][_0x9334][_0x121ba9(0x3b5)][_0x2d49d0];if(_0xd1fa58['system']===!0x0||_0xd1fa58[_0x121ba9(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x121ba9(0x46d)])return!0x1;let _0x35b522=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x1e8)]),_0x156218=_0x5ab95c[_0x121ba9(0x4f0)](_0xcf3cf2[_0x121ba9(0x5cb)]),_0x63d57e=_0x40ad2e[_0x121ba9(0x43e)](),_0x2cb6d6=new _0x15dbb7()['setViewFieldVisible'](_0x63d57e,_0x9334,_0x3ef39e,_0x2d49d0,_0x5f1fdf),_0x3eb7f9=new _0x3c7454()['invertOp'](_0x63d57e,_0x2cb6d6),_0x2ab3cc={'unitId':_0x142558,'op':_0x2cb6d6},_0x48ddaf={'unitId':_0x142558,'op':_0x3eb7f9};return _0x35b522[_0x121ba9(0x4b6)](_0x40f796['id'],_0x2ab3cc)?(_0x5dddba['focusUnit'](_0x142558),_0x156218[_0x121ba9(0x2b2)]({'unitID':_0x142558,'undoMutations':[{'id':_0x40f796['id'],'params':_0x48ddaf}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x2ab3cc}]}),!0x0):!0x1;}},_0x1b35fa={'id':_0x2b8d6a(0x584),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x2b6901,_0x447b82)=>{const _0x7e3307=_0x2b8d6a;if(!_0x447b82)return!0x1;let _0x54c49c=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x56e)]),{unitId:_0x743838,tableId:_0x1aaafc,viewId:_0x459132,fieldId:_0x5ca193,width:_0xff51c}=_0x447b82,_0x46e5c9=_0x54c49c['getUnit'](_0x743838,_0xcf3cf2[_0x7e3307(0x2f8)][_0x7e3307(0x2bf)]);if(!_0x46e5c9||!_0x59a7a2(_0x46e5c9,_0x1aaafc,{'viewIds':[_0x459132],'fieldIds':[_0x5ca193]}))return!0x1;let _0xd9bdea=_0x46e5c9[_0x7e3307(0x43e)]()['tables'][_0x1aaafc][_0x7e3307(0x3b5)][_0x5ca193];if(_0xd9bdea['system']===!0x0||_0xd9bdea[_0x7e3307(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x7e3307(0x46d)])return!0x1;let _0x2b6cc7=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2['ICommandService']),_0x530f43=_0x2b6901[_0x7e3307(0x4f0)](_0xcf3cf2[_0x7e3307(0x5cb)]),_0x53b063=_0x46e5c9[_0x7e3307(0x43e)](),_0x9c623c=new _0x15dbb7()[_0x7e3307(0x50b)](_0x53b063,_0x1aaafc,_0x459132,_0x5ca193,_0xff51c),_0x5bee55=new _0x3c7454()[_0x7e3307(0x5a5)](_0x53b063,_0x9c623c),_0x1e4c02={'unitId':_0x743838,'op':_0x9c623c},_0x1f9c10={'unitId':_0x743838,'op':_0x5bee55};return _0x2b6cc7[_0x7e3307(0x4b6)](_0x40f796['id'],_0x1e4c02)?(_0x54c49c[_0x7e3307(0x544)](_0x743838),_0x530f43[_0x7e3307(0x2b2)]({'unitID':_0x743838,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f9c10}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e4c02}]}),!0x0):!0x1;}},_0x435723={'id':'base.command.set-base-view-filter','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x5bed5a,_0x3da6a0)=>{const _0x26dff6=_0x2b8d6a;if(!_0x3da6a0)return!0x1;let _0x4dadff=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x56e)]),{unitId:_0x25a372,tableId:_0x28df4c,viewId:_0x5844f8,filter:_0x48db41}=_0x3da6a0,_0x50ed7b=_0x4dadff[_0x26dff6(0x425)](_0x25a372,_0xcf3cf2['UniverInstanceType'][_0x26dff6(0x2bf)]),_0xb394fe=(_0x48db41==null?void 0x0:_0x48db41[_0x26dff6(0x4ef)][_0x26dff6(0x2c4)](_0x2b2860=>_0x2b2860['fieldId']))??[];if(!_0x50ed7b||!_0x59a7a2(_0x50ed7b,_0x28df4c,{'viewIds':[_0x5844f8],'fieldIds':_0xb394fe}))return!0x1;let _0x1bda2f=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x1e8)]),_0x384224=_0x5bed5a[_0x26dff6(0x4f0)](_0xcf3cf2[_0x26dff6(0x5cb)]),_0x3a8126=_0x50ed7b[_0x26dff6(0x43e)](),_0x2f9a17=new _0x15dbb7()['setViewFilter'](_0x3a8126,_0x28df4c,_0x5844f8,_0x48db41),_0x4798a6=new _0x3c7454()[_0x26dff6(0x5a5)](_0x3a8126,_0x2f9a17),_0x23decc={'unitId':_0x25a372,'op':_0x2f9a17},_0x246e5b={'unitId':_0x25a372,'op':_0x4798a6};return _0x1bda2f[_0x26dff6(0x4b6)](_0x40f796['id'],_0x23decc)?(_0x4dadff[_0x26dff6(0x544)](_0x25a372),_0x384224[_0x26dff6(0x2b2)]({'unitID':_0x25a372,'undoMutations':[{'id':_0x40f796['id'],'params':_0x246e5b}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x23decc}]}),!0x0):!0x1;}},_0x3bc02d={'id':_0x2b8d6a(0x563),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x2562fc,_0x24f697)=>{const _0x44ef89=_0x2b8d6a;if(!_0x24f697)return!0x1;let _0x5d89d5=_0x2562fc['get'](_0xcf3cf2[_0x44ef89(0x56e)]),{unitId:_0x30f856,tableId:_0x2dbe99,viewId:_0x3f5c94,group:_0xedc8cc}=_0x24f697,_0x80ec6a=_0x5d89d5[_0x44ef89(0x425)](_0x30f856,_0xcf3cf2[_0x44ef89(0x2f8)][_0x44ef89(0x2bf)]);if(!_0x80ec6a||!_0x59a7a2(_0x80ec6a,_0x2dbe99,{'viewIds':[_0x3f5c94],'fieldIds':_0xedc8cc[_0x44ef89(0x2c4)](_0x124d59=>_0x124d59[_0x44ef89(0x580)])}))return!0x1;let _0x570dbe=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x1e8)]),_0x48ff9e=_0x2562fc[_0x44ef89(0x4f0)](_0xcf3cf2[_0x44ef89(0x5cb)]),_0x16c2a6=_0x80ec6a['getSnapshot'](),_0x3990b6=new _0x15dbb7()[_0x44ef89(0x273)](_0x16c2a6,_0x2dbe99,_0x3f5c94,_0xedc8cc),_0xbf2fc1=new _0x3c7454()[_0x44ef89(0x5a5)](_0x16c2a6,_0x3990b6),_0x1e334f={'unitId':_0x30f856,'op':_0x3990b6},_0x2761e7={'unitId':_0x30f856,'op':_0xbf2fc1};return _0x570dbe[_0x44ef89(0x4b6)](_0x40f796['id'],_0x1e334f)?(_0x5d89d5['focusUnit'](_0x30f856),_0x48ff9e['pushUndoRedo']({'unitID':_0x30f856,'undoMutations':[{'id':_0x40f796['id'],'params':_0x2761e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1e334f}]}),!0x0):!0x1;}},_0x5bf3c2={'id':_0x2b8d6a(0x406),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1d867a,_0x4b01f0)=>{const _0x3f1cb7=_0x2b8d6a;if(!_0x4b01f0)return!0x1;let _0x10aaa3=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x56e)]),{unitId:_0x3dca20,tableId:_0x223943,viewId:_0x1900f1,sort:_0x3f976f}=_0x4b01f0,_0x6e570e=_0x10aaa3[_0x3f1cb7(0x425)](_0x3dca20,_0xcf3cf2[_0x3f1cb7(0x2f8)][_0x3f1cb7(0x2bf)]);if(!_0x6e570e||!_0x59a7a2(_0x6e570e,_0x223943,{'viewIds':[_0x1900f1],'fieldIds':_0x3f976f['map'](_0xdba20a=>_0xdba20a['fieldId'])}))return!0x1;let _0x5c86e6=_0x1d867a['get'](_0xcf3cf2[_0x3f1cb7(0x1e8)]),_0x21020b=_0x1d867a[_0x3f1cb7(0x4f0)](_0xcf3cf2[_0x3f1cb7(0x5cb)]),_0x13018c=_0x6e570e[_0x3f1cb7(0x43e)](),_0x362598=new _0x15dbb7()[_0x3f1cb7(0x43a)](_0x13018c,_0x223943,_0x1900f1,_0x3f976f),_0x365ed2=new _0x3c7454()['invertOp'](_0x13018c,_0x362598),_0x9173c6={'unitId':_0x3dca20,'op':_0x362598},_0x4d3fc5={'unitId':_0x3dca20,'op':_0x365ed2};return _0x5c86e6[_0x3f1cb7(0x4b6)](_0x40f796['id'],_0x9173c6)?(_0x10aaa3[_0x3f1cb7(0x544)](_0x3dca20),_0x21020b[_0x3f1cb7(0x2b2)]({'unitID':_0x3dca20,'undoMutations':[{'id':_0x40f796['id'],'params':_0x4d3fc5}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x9173c6}]}),!0x0):!0x1;}},_0x188f06={'id':_0x2b8d6a(0x2b6),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x2b9a43,_0x2af383){const _0xf68ab8=_0x2b8d6a;if(!_0x2af383)return!0x1;let _0x57d3eb=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUniverInstanceService']),{unitId:_0x18a16b,tableId:_0x52dbea,recordId:_0x11847e,fieldId:_0x23368f,value:_0x5159f4}=_0x2af383,_0x30bca7=_0x57d3eb[_0xf68ab8(0x425)](_0x18a16b,_0xcf3cf2[_0xf68ab8(0x2f8)][_0xf68ab8(0x2bf)]);if(!_0x30bca7||!_0x59a7a2(_0x30bca7,_0x52dbea,{'recordIds':[_0x11847e],'fieldIds':[_0x23368f]})||!_0x49bde4(_0x30bca7,_0x52dbea,_0x23368f,_0x5159f4))return!0x1;let _0x39c460=_0x30bca7[_0xf68ab8(0x43e)]()[_0xf68ab8(0x3d7)][_0x52dbea],_0x1ec70f=_0x4d880f(_0x39c460,_0x23368f)&&_0x4c7235(_0x39c460)['includes'](_0x23368f),_0x388319=_0x1ec70f?_0x3760a3(_0x39c460,_0x23368f):null,_0x19cc14=(_0x388319==null?void 0x0:_0x388319[_0xf68ab8(0x337)][_0xf68ab8(0x4f0)](_0x11847e))??null,_0x5917aa=_0x1ec70f?_0xcf5891(_0x5159f4)[0x0]??null:null;if(_0x388319){if(_0x5917aa&&!_0x39c460['records'][_0x5917aa])throw new _0x1d7b46('missingRecord');let _0xeba5f9=_0x5a84fb(_0x388319,_0x11847e,_0x5917aa);if(!_0xeba5f9[_0xf68ab8(0x47d)])throw new _0x1d7b46(_0xeba5f9[_0xf68ab8(0x2e7)]===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x428)]?_0xf68ab8(0x480):_0xeba5f9['reason']===_0xcf3cf2[_0xf68ab8(0x296)][_0xf68ab8(0x245)]?'cycle':_0xf68ab8(0x522));}let _0x40def6=_0x2b9a43['get'](_0xcf3cf2[_0xf68ab8(0x1e8)]),_0x4ede24=_0x2b9a43[_0xf68ab8(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x3a6401=_0x2b9a43['get'](_0x5394a2),_0x9b2a4d;try{_0x9b2a4d=_0x3a6401[_0xf68ab8(0x4dc)](_0x30bca7,_0x52dbea,_0x11847e,_0x23368f,_0x5159f4);}catch(_0x4042b6){return console[_0xf68ab8(0x4d9)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x4042b6),!0x1;}let _0x2e51af=new _0x3c7454()[_0xf68ab8(0x5a5)](_0x30bca7[_0xf68ab8(0x43e)](),_0x9b2a4d),_0xdf856e=_0x1ec70f&&_0x19cc14!==_0x5917aa?[{'tableId':_0x52dbea,'fieldId':_0x23368f,'recordId':_0x11847e,'oldParentRecordId':_0x19cc14,'parentRecordId':_0x5917aa}]:void 0x0,_0x44f2ac={'unitId':_0x18a16b,'op':_0x9b2a4d,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e,'source':_0xdf856e?_0x2af383[_0xf68ab8(0x357)]??'ui':void 0x0},_0x528a5e={..._0x44f2ac,'source':_0xdf856e?_0xf68ab8(0x389):void 0x0},_0xcd49d={'unitId':_0x18a16b,'op':_0x2e51af,'trigger':_0xdf856e?_0x188f06['id']:void 0x0,'hierarchyChanges':_0xdf856e==null?void 0x0:_0xdf856e[_0xf68ab8(0x2c4)](_0x5d0286=>({..._0x5d0286,'oldParentRecordId':_0x5d0286[_0xf68ab8(0x346)],'parentRecordId':_0x5d0286[_0xf68ab8(0x38f)]})),'source':_0xdf856e?_0xf68ab8(0x2b1):void 0x0};return _0x40def6[_0xf68ab8(0x4b6)](_0x40f796['id'],_0x44f2ac)?(_0x57d3eb[_0xf68ab8(0x544)](_0x18a16b),_0x4ede24[_0xf68ab8(0x2b2)]({'unitID':_0x18a16b,'undoMutations':[{'id':_0x40f796['id'],'params':_0xcd49d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x528a5e}]}),!0x0):!0x1;}},_0x1143aa={'id':_0x2b8d6a(0x4a3),'type':_0xcf3cf2['CommandType']['COMMAND'],'handler'(_0x58ead9,_0x46b4be){const _0x58e2a3=_0x2b8d6a;if(!_0x46b4be)return!0x1;let _0x43d659=_0x58ead9['get'](_0xcf3cf2[_0x58e2a3(0x56e)]),{unitId:_0x2629d6,tableId:_0x708d1d,fieldId:_0x22f3a2}=_0x46b4be,_0x4773a8=_0x43d659[_0x58e2a3(0x425)](_0x2629d6,_0xcf3cf2[_0x58e2a3(0x2f8)]['UNIVER_BASE']);if(!_0x4773a8||!_0x59a7a2(_0x4773a8,_0x708d1d,{'fieldIds':[_0x22f3a2]}))return!0x1;let _0x21d6b6=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2[_0x58e2a3(0x1e8)]),_0x2a2533=_0x58ead9[_0x58e2a3(0x4f0)](_0xcf3cf2['IUndoRedoService']),_0x15d72c=_0x4773a8['getSnapshot'](),_0x7cf459=_0x46b4be[_0x58e2a3(0x54f)]['trim'](),_0x33305d=new _0x15dbb7()['updateField'](_0x15d72c,_0x708d1d,_0x22f3a2,{'description':_0x7cf459}),_0x5ddf0f=new _0x3c7454()[_0x58e2a3(0x5a5)](_0x4773a8[_0x58e2a3(0x43e)](),_0x33305d),_0x5dc55c={'unitId':_0x2629d6,'op':_0x33305d},_0x1f37e7={'unitId':_0x2629d6,'op':_0x5ddf0f};return _0x21d6b6[_0x58e2a3(0x4b6)](_0x40f796['id'],_0x5dc55c)?(_0x43d659[_0x58e2a3(0x544)](_0x2629d6),_0x2a2533[_0x58e2a3(0x2b2)]({'unitID':_0x2629d6,'undoMutations':[{'id':_0x40f796['id'],'params':_0x1f37e7}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5dc55c}]}),!0x0):!0x1;}},_0x1710aa={'id':_0x2b8d6a(0x1ff),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x3818ff,_0x160d3d)=>{const _0x59a0e1=_0x2b8d6a;if(!_0x160d3d)return!0x1;let _0x305e04=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x56e)]),{unitId:_0x5c1a73,tableId:_0x16622e,fieldId:_0x175895,patch:_0x13b3e2}=_0x160d3d,_0x518847=_0x305e04['getUnit'](_0x5c1a73,_0xcf3cf2[_0x59a0e1(0x2f8)][_0x59a0e1(0x2bf)]);if(!_0x518847||_0x175895===_0xcf3cf2[_0x59a0e1(0x509)]||!_0x59a7a2(_0x518847,_0x16622e,{'fieldIds':[_0x175895]}))return!0x1;let _0x3a42eb=_0x3818ff[_0x59a0e1(0x4f0)](_0xcf3cf2[_0x59a0e1(0x1e8)]),_0x5aac2d=_0x3818ff['get'](_0xcf3cf2[_0x59a0e1(0x5cb)]),_0x11d690=_0x518847['getSnapshot']();if(!_0xa1cda8(_0x518847,_0x16622e,{..._0x11d690['tables'][_0x16622e][_0x59a0e1(0x3b5)][_0x175895],..._0x13b3e2}))return!0x1;let _0x4ea52d=new _0x15dbb7()[_0x59a0e1(0x56b)](_0x11d690,_0x16622e,_0x175895,_0x13b3e2),_0xeb68c=new _0x3c7454()['invertOp'](_0x11d690,_0x4ea52d),_0x5c4ae6={'unitId':_0x5c1a73,'op':_0x4ea52d},_0x3b34e0={'unitId':_0x5c1a73,'op':_0xeb68c};return _0x3a42eb[_0x59a0e1(0x4b6)](_0x40f796['id'],_0x5c4ae6)?(_0x305e04[_0x59a0e1(0x544)](_0x5c1a73),_0x5aac2d['pushUndoRedo']({'unitID':_0x5c1a73,'undoMutations':[{'id':_0x40f796['id'],'params':_0x3b34e0}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5c4ae6}]}),!0x0):!0x1;}},_0x5df868={'id':_0x2b8d6a(0x253),'type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x34b)],'handler':(_0x1fe625,_0x290925)=>{const _0x2d009f=_0x2b8d6a;if(!_0x290925)return!0x1;let _0x1ecada=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x56e)]),{unitId:_0x16eab0,tableId:_0x49d0a9,viewId:_0x1a7f10,patch:_0xad4a3}=_0x290925,_0x5e2e6d=_0x1ecada[_0x2d009f(0x425)](_0x16eab0,_0xcf3cf2[_0x2d009f(0x2f8)]['UNIVER_BASE']);if(!_0x5e2e6d||!_0x59a7a2(_0x5e2e6d,_0x49d0a9,{'viewIds':[_0x1a7f10]}))return!0x1;let _0x6a4656=_0x1fe625['get'](_0xcf3cf2[_0x2d009f(0x1e8)]),_0x5948e0=_0x1fe625[_0x2d009f(0x4f0)](_0xcf3cf2[_0x2d009f(0x5cb)]),_0x3039cf=_0x5e2e6d[_0x2d009f(0x43e)](),_0x182ab0=new _0x15dbb7()[_0x2d009f(0x4aa)](_0x3039cf,_0x49d0a9,_0x1a7f10,_0xad4a3),_0x252d70=new _0x3c7454()[_0x2d009f(0x5a5)](_0x3039cf,_0x182ab0),_0x11cec5={'unitId':_0x16eab0,'op':_0x182ab0},_0x46cf1d={'unitId':_0x16eab0,'op':_0x252d70};return _0x6a4656['syncExecuteCommand'](_0x40f796['id'],_0x11cec5)?(_0x1ecada[_0x2d009f(0x544)](_0x16eab0),_0x5948e0[_0x2d009f(0x2b2)]({'unitID':_0x16eab0,'undoMutations':[{'id':_0x40f796['id'],'params':_0x46cf1d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x11cec5}]}),!0x0):!0x1;}},_0x1c8a84={'id':'base.command.update-base-record-order','type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0xa21ceb,_0x31b87b)=>{const _0x50dbdd=_0x2b8d6a;if(!_0x31b87b)return!0x1;let _0x12d433=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x56e)]),{unitId:_0x531e33,tableId:_0x93c61c,recordId:_0x6189c9,orderKey:_0x5d776c}=_0x31b87b,_0x43f041=_0x12d433['getUnit'](_0x531e33,_0xcf3cf2[_0x50dbdd(0x2f8)][_0x50dbdd(0x2bf)]);if(!_0x43f041||!_0x59a7a2(_0x43f041,_0x93c61c,{'recordIds':[_0x6189c9]}))return!0x1;let _0x3d3878=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2['ICommandService']),_0x24478f=_0xa21ceb[_0x50dbdd(0x4f0)](_0xcf3cf2[_0x50dbdd(0x5cb)]),_0x40632e=_0x43f041[_0x50dbdd(0x43e)](),_0x510729=new _0x15dbb7()['updateRecordOrder'](_0x40632e,_0x93c61c,_0x6189c9,_0x5d776c),_0x4491af=new _0x3c7454()[_0x50dbdd(0x5a5)](_0x40632e,_0x510729),_0x3bd519={'unitId':_0x531e33,'op':_0x510729},_0x51e6e6={'unitId':_0x531e33,'op':_0x4491af};return _0x3d3878[_0x50dbdd(0x4b6)](_0x40f796['id'],_0x3bd519)?(_0x12d433[_0x50dbdd(0x544)](_0x531e33),_0x24478f[_0x50dbdd(0x2b2)]({'unitID':_0x531e33,'undoMutations':[{'id':_0x40f796['id'],'params':_0x51e6e6}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x3bd519}]}),!0x0):!0x1;}},_0x4d5b38=function(_0x1b309e){const _0xa051a=_0x2b8d6a;return _0x1b309e['Set']='set',_0x1b309e[_0xa051a(0x2c2)]=_0xa051a(0x1d6),_0x1b309e[_0xa051a(0x302)]='delete',_0x1b309e[_0xa051a(0x547)]=_0xa051a(0x442),_0x1b309e;}({}),_0x3e585a={'id':_0x2b8d6a(0x230),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler':(_0x179ab8,_0x2f8fe5)=>{const _0x40fa87=_0x2b8d6a;var _0x167006;if(!_0x2f8fe5)return!0x1;let _0x1271fb=_0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x56e)]),_0x3c946e=_0x1271fb[_0x40fa87(0x425)](_0x2f8fe5[_0x40fa87(0x20d)],_0xcf3cf2['UniverInstanceType'][_0x40fa87(0x2bf)]);if(!_0x3c946e||!_0x59a7a2(_0x3c946e,_0x2f8fe5[_0x40fa87(0x3e2)],{'viewIds':[_0x2f8fe5[_0x40fa87(0x608)]]}))return!0x1;let _0x4846e9=_0x3c946e['getSnapshot'](),_0x4d6264=_0x4846e9[_0x40fa87(0x3d7)][_0x2f8fe5[_0x40fa87(0x3e2)]],_0x3aa04c=_0x22e7fa(((_0x167006=_0x4d6264[_0x40fa87(0x2e4)][_0x2f8fe5[_0x40fa87(0x608)]][_0x40fa87(0x5a3)][_0x40fa87(0x2ab)])==null?void 0x0:_0x167006['rules'])??[],_0x2f8fe5);if(!_0x3aa04c)return!0x1;_0x51ab1e(_0x4d6264,_0x3aa04c);let _0x416a5f=new _0x15dbb7()[_0x40fa87(0x4aa)](_0x4846e9,_0x2f8fe5[_0x40fa87(0x3e2)],_0x2f8fe5[_0x40fa87(0x608)],{'conditionalColoring':_0x3aa04c['length']?{'rules':_0x3aa04c}:null}),_0x29c02c=new _0x3c7454()[_0x40fa87(0x5a5)](_0x4846e9,_0x416a5f),_0x5a205e={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x416a5f},_0x4a3645={'unitId':_0x2f8fe5[_0x40fa87(0x20d)],'op':_0x29c02c};return _0x179ab8[_0x40fa87(0x4f0)](_0xcf3cf2[_0x40fa87(0x1e8)])['syncExecuteCommand'](_0x40f796['id'],_0x5a205e)?(_0x1271fb['focusUnit'](_0x2f8fe5[_0x40fa87(0x20d)]),_0x179ab8['get'](_0xcf3cf2[_0x40fa87(0x5cb)])['pushUndoRedo']({'unitID':_0x2f8fe5['unitId'],'undoMutations':[{'id':_0x40f796['id'],'params':_0x4a3645}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x5a205e}]}),!0x0):!0x1;}};function _0x22e7fa(_0x8f7661,_0x377ee5){const _0x1f32b4=_0x2b8d6a;switch(_0x377ee5[_0x1f32b4(0x1cc)]){case _0x1f32b4(0x22b):return _0xcf3cf2['Tools'][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x40d)]);case _0x1f32b4(0x1d6):return[..._0xcf3cf2[_0x1f32b4(0x255)]['deepClone'](_0x8f7661),_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x377ee5[_0x1f32b4(0x3ec)])];case _0x1f32b4(0x472):{let _0x376b52=_0x8f7661[_0x1f32b4(0x355)](_0x5b2844=>_0x5b2844['id']!==_0x377ee5[_0x1f32b4(0x4f2)]);return _0x376b52[_0x1f32b4(0x3d4)]===_0x8f7661[_0x1f32b4(0x3d4)]?null:_0xcf3cf2[_0x1f32b4(0x255)][_0x1f32b4(0x578)](_0x376b52);}case'clear':return _0x8f7661['length']?[]:null;}}function _0x51ab1e(_0x4b77b6,_0x1aa0f6){const _0xf7629c=_0x2b8d6a;if(!Array['isArray'](_0x1aa0f6))throw TypeError(_0xf7629c(0x21c));let _0x49e0c1=new Set();for(let [_0x50e1f9,_0x3699b8]of _0x1aa0f6[_0xf7629c(0x271)]())_0x5c23a2(_0x4b77b6,_0x3699b8,_0x29f5e8(_0x3699b8,_0x50e1f9,_0x49e0c1));}function _0x29f5e8(_0x765b27,_0x387b34,_0x850c){const _0x10de29=_0x2b8d6a;if(!_0x765b27||typeof _0x765b27!=_0x10de29(0x240))throw TypeError(_0x10de29(0x44d)+_0x387b34+'\x20must\x20be\x20an\x20object.');let _0x71e33c=typeof _0x765b27['id']==_0x10de29(0x3ea)&&_0x765b27['id'][_0x10de29(0x479)]()?'\x22'+_0x765b27['id']+'\x22':_0x10de29(0x42b)+_0x387b34;if(typeof _0x765b27['id']!='string'||!_0x765b27['id']['trim']())throw Error(_0x10de29(0x5da)+_0x71e33c+_0x10de29(0x379));if(_0x850c[_0x10de29(0x244)](_0x765b27['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x765b27['id']+'\x22.');_0x850c[_0x10de29(0x1d6)](_0x765b27['id']);let _0xbde0f0=typeof _0x765b27[_0x10de29(0x21d)]==_0x10de29(0x3ea)&&_0x765b27[_0x10de29(0x21d)][_0x10de29(0x479)]()?new _0xcf3cf2[(_0x10de29(0x329))](_0x765b27['color']):null;if(!(_0xbde0f0!=null&&_0xbde0f0[_0x10de29(0x2b9)]))throw Error(_0x10de29(0x5da)+_0x71e33c+'\x20must\x20have\x20a\x20valid\x20CSS\x20color.');return _0x71e33c;}function _0x5c23a2(_0x90ae51,_0x7d0568,_0x3f613d){const _0x500157=_0x2b8d6a;let _0x1c9d52=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x264)])),_0x3316cc=new Set(Object[_0x500157(0x404)](_0xcf3cf2[_0x500157(0x2f1)])),_0xb84951=new Set(Object['values'](_0xcf3cf2[_0x500157(0x362)]));if(!_0x1c9d52[_0x500157(0x244)](_0x7d0568[_0x500157(0x3c5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x21f)+String(_0x7d0568[_0x500157(0x3c5)])+'\x22.');let _0x508e68=typeof _0x7d0568['fieldId']==_0x500157(0x3ea)?_0x90ae51[_0x500157(0x3b5)][_0x7d0568[_0x500157(0x580)]]:void 0x0;if(!_0x508e68||_0x508e68[_0x500157(0x27a)]===!0x0||_0x508e68[_0x500157(0x1cc)]===_0xcf3cf2[_0x500157(0x435)]['RecordId'])throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x2a9)+String(_0x7d0568[_0x500157(0x580)])+'\x22.');if(!_0x3316cc['has'](_0x7d0568['operator']))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x4ed)+String(_0x7d0568['operator'])+'\x22.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0xb84951[_0x500157(0x244)](_0x7d0568[_0x500157(0x32f)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x38c)+String(_0x7d0568['dateMode'])+'\x22.');if(_0x7d0568['target']===_0xcf3cf2[_0x500157(0x264)][_0x500157(0x2df)])return;let _0x183dd3=_0x78a559(_0x508e68[_0x500157(0x1cc)]);if(!_0x183dd3['includes'](_0x7d0568[_0x500157(0x1e5)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x545)+_0x7d0568[_0x500157(0x1e5)]+_0x500157(0x43f)+_0x508e68[_0x500157(0x1cc)]+_0x500157(0x4c8)+_0x183dd3[_0x500157(0x600)](',\x20')+'.');if(_0x7d0568[_0x500157(0x32f)]!==void 0x0&&!_0x16d4c2(_0x508e68[_0x500157(0x1cc)]))throw Error(_0x500157(0x5da)+_0x3f613d+_0x500157(0x52d));}let _0x3a3835={'id':_0x2b8d6a(0x2cc),'type':_0xcf3cf2[_0x2b8d6a(0x23e)]['COMMAND'],'handler':(_0x5cb3e5,_0x3e338f)=>{const _0x4f7929=_0x2b8d6a;if(!_0x3e338f)return!0x1;let _0x8f78f5=_0x5cb3e5['get'](_0xcf3cf2[_0x4f7929(0x56e)]),{unitId:_0x3f14b8,tableId:_0x2f8318,viewId:_0xb68e22,patch:_0x563c90}=_0x3e338f,_0x135935=_0x8f78f5['getUnit'](_0x3f14b8,_0xcf3cf2['UniverInstanceType']['UNIVER_BASE']);if(!_0x135935||!_0x59a7a2(_0x135935,_0x2f8318,{'viewIds':[_0xb68e22]}))return!0x1;let _0x522338=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x1e8)]),_0xc86795=_0x5cb3e5[_0x4f7929(0x4f0)](_0xcf3cf2[_0x4f7929(0x5cb)]),_0x4135fd=_0x135935['getSnapshot'](),_0x4e0c54=new _0x15dbb7()[_0x4f7929(0x4aa)](_0x4135fd,_0x2f8318,_0xb68e22,_0x563c90),_0x12953f=new _0x3c7454()[_0x4f7929(0x5a5)](_0x4135fd,_0x4e0c54),_0x1dc9e3={'unitId':_0x3f14b8,'op':_0x4e0c54},_0x5d588d={'unitId':_0x3f14b8,'op':_0x12953f};return _0x522338[_0x4f7929(0x4b6)](_0x40f796['id'],_0x1dc9e3)?(_0x8f78f5[_0x4f7929(0x544)](_0x3f14b8),_0xc86795[_0x4f7929(0x2b2)]({'unitID':_0x3f14b8,'undoMutations':[{'id':_0x40f796['id'],'params':_0x5d588d}],'redoMutations':[{'id':_0x40f796['id'],'params':_0x1dc9e3}]}),!0x0):!0x1;}},_0x45b313={'id':_0x2b8d6a(0x26b),'type':_0xcf3cf2[_0x2b8d6a(0x23e)][_0x2b8d6a(0x34b)],'handler'(_0x3b6792,_0x16eef8){const _0x2b0861=_0x2b8d6a;if(!_0x16eef8)return{'valid':!0x1,'reason':_0x2b0861(0x321)};let _0x380762=_0x3b6792['get'](_0xcf3cf2[_0x2b0861(0x56e)])['getUnit'](_0x16eef8[_0x2b0861(0x20d)],_0xcf3cf2[_0x2b0861(0x2f8)][_0x2b0861(0x2bf)]),_0x259ad2=_0x380762==null?void 0x0:_0x380762[_0x2b0861(0x43e)](),_0x40c691=_0x259ad2==null?void 0x0:_0x259ad2[_0x2b0861(0x3d7)][_0x16eef8[_0x2b0861(0x3e2)]];return!_0x259ad2||!_0x40c691?{'valid':!0x1,'reason':_0x2b0861(0x2ec)}:new _0x41a657()[_0x2b0861(0x226)](_0x16eef8['formula'],_0x40c691,{'snapshot':_0x259ad2});}},_0x1d45e4=class extends _0xcf3cf2['ObjectPermissionRuleModel']{constructor(_0x4ec2e9){const _0x264a51=_0x2b8d6a;super(_0x4ec2e9,_0x264a51(0x54c),_0xcf3cf2[_0x264a51(0x2f8)][_0x264a51(0x2bf)],[_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x560)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x469)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x297)],_0x2f5c57[_0x264a51(0x40a)][_0x264a51(0x1e4)],_0x2f5c57['UnitObject']['BaseDashboard']]);}};_0x1d45e4=_0x21a541([_0x429169(0x0,_0xcf3cf2['IResourceManagerService'])],_0x1d45e4);let _0x3affb8={'id':'base.mutation.set-permission-rule','type':_0xcf3cf2['CommandType'][_0x2b8d6a(0x303)],'handler':(_0x74cd1c,_0x5eb3cc)=>!_0x5eb3cc||!_0x74cd1c[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x5eb3cc[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x74cd1c[_0x2b8d6a(0x4f0)](_0x1d45e4)['setRule'](_0x5eb3cc[_0x2b8d6a(0x20d)],_0x5eb3cc[_0x2b8d6a(0x465)],_0x5eb3cc[_0x2b8d6a(0x3fd)],_0x5eb3cc['rule'])},_0x245053={'id':_0x2b8d6a(0x603),'type':_0xcf3cf2['CommandType']['MUTATION'],'handler':(_0x13bf82,_0x13ea1b)=>!_0x13ea1b||!_0x13bf82[_0x2b8d6a(0x4f0)](_0xcf3cf2[_0x2b8d6a(0x56e)])[_0x2b8d6a(0x425)](_0x13ea1b[_0x2b8d6a(0x20d)],_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)])?!0x1:_0x13bf82[_0x2b8d6a(0x4f0)](_0x1d45e4)[_0x2b8d6a(0x4f9)](_0x13ea1b[_0x2b8d6a(0x20d)],_0x13ea1b['rules'])};function _0x1b767c(_0x3c07c1){const _0x17b36e=_0x2b8d6a;let _0x49fc74=_0x3c07c1[_0x17b36e(0x208)]??Date[_0x17b36e(0x208)](),_0x463957=_0x3c07c1['primaryFieldId']??_0x3c07c1['id']+_0x17b36e(0x1de),_0x358625=_0x3c07c1[_0x17b36e(0x502)]??_0x3c07c1['id']+'-view-grid',_0x54b956=_0x3c07c1[_0x17b36e(0x49c)]??0x0,_0x55e5ce=(0x0,_0xcf3cf2['createBaseRecordIdField'])(),_0x52c9a8={'id':_0x463957,'name':_0x3c07c1[_0x17b36e(0x2d1)]??_0x17b36e(0x54a),'type':_0xcf3cf2[_0x17b36e(0x435)][_0x17b36e(0x220)],'config':{'placeholder':_0x17b36e(0x5ce)}},_0x1e0c7c={},_0x12ba0b=[],_0x2a99de={},_0xca306f={},_0x4cd584={};for(let _0x48abd5=0x0;_0x48abd5<_0x54b956;_0x48abd5++){let _0x56550f=_0x3c07c1['id']+'-record-'+(_0x48abd5+0x1);_0x1e0c7c[_0x56550f]={'id':_0x56550f,'values':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x56550f,..._0x3c07c1[_0x17b36e(0x387)]?{[_0x463957]:_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1)}:{}},'orderKey':String(_0x48abd5+0x1)['padStart'](0x4,'0'),'createdAt':_0x49fc74,'updatedAt':_0x49fc74},_0x12ba0b[_0x17b36e(0x309)](_0x56550f),_0x2a99de[_0x56550f]=_0x48abd5,_0xca306f[_0x48abd5]=_0x56550f,_0x4cd584[_0x48abd5]={0x0:{'v':_0x56550f,'t':_0xcf3cf2['CellValueType'][_0x17b36e(0x516)]}},_0x3c07c1[_0x17b36e(0x387)]&&(_0x4cd584[_0x48abd5][0x1]={'v':_0x3c07c1[_0x17b36e(0x387)]+'\x20'+(_0x48abd5+0x1),'t':_0xcf3cf2[_0x17b36e(0x501)][_0x17b36e(0x516)]});}let _0x37878d={'id':_0x358625,'tableId':_0x3c07c1['id'],'name':_0x17b36e(0x372),'type':_0xcf3cf2[_0x17b36e(0x3c8)][_0x17b36e(0x372)],'fieldOrder':[_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],_0x463957],'fieldSettings':{[_0xcf3cf2[_0x17b36e(0x509)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x3c07c1['id'],'name':_0x3c07c1[_0x17b36e(0x456)],'primaryFieldId':_0x463957,'fieldOrder':[_0xcf3cf2[_0x17b36e(0x509)],_0x463957],'fields':{[_0xcf3cf2[_0x17b36e(0x509)]]:_0x55e5ce,[_0x463957]:_0x52c9a8},'records':_0x1e0c7c,'recordOrder':_0x12ba0b,'rowIndex':_0x2a99de,'rowId':_0xca306f,'colIndex':{[_0xcf3cf2[_0x17b36e(0x509)]]:0x0,[_0x463957]:0x1},'colId':{0x0:_0xcf3cf2['BASE_RECORD_ID_FIELD_ID'],0x1:_0x463957},'cellData':_0x4cd584,'views':{[_0x358625]:_0x37878d},'viewOrder':[_0x358625]};}let _0x2535ff=_0x2b8d6a(0x46e);function _0x45d0ec(_0x5a0007){const _0x19edeb=_0x2b8d6a;let _0x2d55e4=_0x1b767c({'id':_0x5a0007['hostAnchorId'],'name':_0x5a0007[_0x19edeb(0x456)]??_0x5a0007['embedId'],'recordCount':0x0});return{..._0x2d55e4,'resources':{..._0x2d55e4['resources']??{},[_0x2535ff]:_0x2b2cb3(_0x5a0007)}};}function _0x2a62da(_0x2859fd){const _0x59bf6c=_0x2b8d6a;return{'id':_0x40f796['id'],'params':{'unitId':_0x2859fd['unitId'],'op':_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x1cc)]['compose'](_0xcf3cf2[_0x59bf6c(0x597)]['insertOp']([_0x59bf6c(0x3d7),_0x2859fd[_0x59bf6c(0x4b0)]['id']],_0x2859fd[_0x59bf6c(0x4b0)]),_0xcf3cf2[_0x59bf6c(0x597)][_0x59bf6c(0x3f0)]([_0x59bf6c(0x5af),_0x2859fd[_0x59bf6c(0x295)]??_0x2859fd[_0x59bf6c(0x5c6)]['tableOrder'][_0x59bf6c(0x3d4)]],_0x2859fd['table']['id'])),'trigger':_0x59bf6c(0x1cf)}};}function _0x4111b6(_0x2ec75b){const _0x411e03=_0x2b8d6a;let _0x192db0=_0x2ec75b[_0x411e03(0x5c6)][_0x411e03(0x5af)][_0x411e03(0x267)](_0x2ec75b['tableId']);if(!(!_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]||_0x192db0<0x0))return{'id':_0x40f796['id'],'params':{'unitId':_0x2ec75b[_0x411e03(0x20d)],'op':_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x1cc)][_0x411e03(0x4b7)](_0xcf3cf2['JSON1'][_0x411e03(0x594)]([_0x411e03(0x3d7),_0x2ec75b[_0x411e03(0x3e2)]],_0x2ec75b[_0x411e03(0x5c6)]['tables'][_0x2ec75b[_0x411e03(0x3e2)]]),_0xcf3cf2[_0x411e03(0x597)][_0x411e03(0x594)]([_0x411e03(0x5af),_0x192db0],_0x2ec75b['tableId'])),'trigger':'embed-ui'}};}function _0x2b2cb3(_0x5b912a){const _0x4638f8=_0x2b8d6a;return{'version':0x1,'embedId':_0x5b912a['embedId'],'hostAnchorId':_0x5b912a[_0x4638f8(0x5ef)],'childUnitId':_0x5b912a['childUnitId'],'childType':_0x5b912a['childType']};}function _0x57e078(_0x20d31f){const _0xa38469=_0x2b8d6a;let _0x48c17d=Math['max'](0x0,Number(_0x20d31f['decimalPlaces']??0x0)),_0x11b31b=_0x20d31f[_0xa38469(0x486)]===!0x1?'0':_0xa38469(0x4ff),_0x1ca4c2=_0x48c17d?'.'+'0'['repeat'](_0x48c17d):'',_0x28ffe0=_0x171a15(_0x20d31f[_0xa38469(0x1fc)]);return''+(_0x20d31f[_0xa38469(0x48f)]?_0x311268(_0x20d31f[_0xa38469(0x48f)]):'')+_0x11b31b+_0x1ca4c2+_0x28ffe0;}function _0x548c9b(_0xb3e3c1,_0x7990b0){const _0x437b42=_0x2b8d6a;let _0x1c69ea=_0x57e078(_0x7990b0),_0x2f764b=_0xcf3cf2[_0x437b42(0x405)][_0x437b42(0x1fa)](_0x1c69ea,_0xb3e3c1,{'throws':!0x1});return _0x5ee077(String(_0x2f764b),_0x7990b0[_0x437b42(0x5e9)],_0x7990b0[_0x437b42(0x1fe)]);}function _0x171a15(_0x18f2b0){const _0x5eb722=_0x2b8d6a;return _0x18f2b0==='K'?_0x5eb722(0x51f):_0x18f2b0==='M'?_0x5eb722(0x602):_0x18f2b0==='B'?_0x5eb722(0x53a):'';}function _0x311268(_0x2c8f){const _0x1f01ba=_0x2b8d6a;return/^[A-Z]+$/i[_0x1f01ba(0x250)](_0x2c8f)?'\x22'+_0x2c8f+'\x22':_0x2c8f;}function _0x5ee077(_0x43e9eb,_0x38f4f9,_0x582a26){const _0x14fb1c=_0x2b8d6a;let _0x4e0260=_0x38f4f9===_0x14fb1c(0x3f3)?_0x1bf480(_0x582a26):_0x38f4f9;return _0x4e0260===_0x14fb1c(0x2cb)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x00')[_0x14fb1c(0x5a4)](/\./g,',')[_0x14fb1c(0x5a4)](/\0/g,'.'):_0x4e0260===_0x14fb1c(0x377)?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20')[_0x14fb1c(0x5a4)](/\./g,','):_0x4e0260==='spacePeriod'?_0x43e9eb[_0x14fb1c(0x5a4)](/,/g,'\x20'):_0x43e9eb;}function _0x1bf480(_0x3dfe7f){const _0x44a36e=_0x2b8d6a;var _0x1e9aae,_0x116f6c;let _0x5c3cdc=_0x3dfe7f||new Intl['NumberFormat']()[_0x44a36e(0x206)]()[_0x44a36e(0x1fe)],_0x280b81;try{_0x280b81=new Intl['NumberFormat'](_0x5c3cdc,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x44a36e(0x59b)](0xf4240);}catch{return _0x44a36e(0x5aa);}let _0x40dc1e=(_0x1e9aae=_0x280b81['find'](_0x348f01=>_0x348f01[_0x44a36e(0x1cc)]===_0x44a36e(0x484)))==null?void 0x0:_0x1e9aae[_0x44a36e(0x348)],_0x18ca3b=(_0x116f6c=_0x280b81[_0x44a36e(0x22c)](_0xe71bdf=>_0xe71bdf[_0x44a36e(0x1cc)]==='decimal'))==null?void 0x0:_0x116f6c[_0x44a36e(0x348)],_0x2e1548=_0x40dc1e==='\u00a0'||_0x40dc1e==='\u202f'?'\x20':_0x40dc1e;return _0x2e1548==='.'&&_0x18ca3b===','?_0x44a36e(0x2cb):_0x2e1548==='\x20'&&_0x18ca3b===','?'spaceComma':_0x2e1548==='\x20'&&_0x18ca3b==='.'?_0x44a36e(0x344):_0x44a36e(0x5aa);}function _0x5c4434(_0x5e7689,_0x122132){const _0x3321a3=_0x2b8d6a;let _0x451f4a=_0x122132&&typeof _0x122132=='object'&&!Array[_0x3321a3(0x2a1)](_0x122132)?_0x122132:{},_0x364114=_0x3d77c5(_0x451f4a[_0x3321a3(0x5f6)],0x0,0x2,0x0),_0x5d64ad=_0x5e7689['toFixed'](_0x364114);return _0x451f4a[_0x3321a3(0x1fa)]==='number'?_0x5d64ad:_0x5d64ad+'%';}function _0x3d77c5(_0x13c7aa,_0x4e991c,_0xb170ce,_0xdad487){const _0x895353=_0x2b8d6a;if(_0x13c7aa==null||_0x13c7aa==='')return _0xdad487;let _0x945332=typeof _0x13c7aa==_0x895353(0x202)?_0x13c7aa:Number(_0x13c7aa);return Number[_0x895353(0x2b0)](_0x945332)?Math[_0x895353(0x591)](_0x4e991c,Math['min'](_0xb170ce,Math['round'](_0x945332))):_0xdad487;}let _0xe85857=[_0x2b8d6a(0x4c7),'filled','empty',_0x2b8d6a(0x47f),_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),_0x2b8d6a(0x4f1),_0x2b8d6a(0x591)],_0x514cf8=[_0x2b8d6a(0x4c7),_0x2b8d6a(0x462),_0x2b8d6a(0x37c),_0x2b8d6a(0x47f)],_0x399d76=[_0x2b8d6a(0x4a1),_0x2b8d6a(0x50e),'min','max'],_0x399dad=['min',_0x2b8d6a(0x591)],_0x34e7da=new Set([_0xcf3cf2[_0x2b8d6a(0x435)]['Number'],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d8)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x455)],_0xcf3cf2[_0x2b8d6a(0x435)]['Rating']]),_0x18a5d7=new Set([_0xcf3cf2['BaseFieldType'][_0x2b8d6a(0x336)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3d5)],_0xcf3cf2[_0x2b8d6a(0x435)][_0x2b8d6a(0x3fa)]]),_0xf53337=_0x2b8d6a(0x474);function _0x27e0f6(_0x2f1ccd){const _0x85cbf7=_0x2b8d6a;return typeof _0x2f1ccd==_0x85cbf7(0x3ea)&&_0xe85857[_0x85cbf7(0x299)](_0x2f1ccd);}function _0x2f722e(_0x5ca3f4){const _0x40e98d=_0x2b8d6a;return!_0x5ca3f4||typeof _0x5ca3f4!=_0x40e98d(0x240)?{}:Object[_0x40e98d(0x3a6)](Object['entries'](_0x5ca3f4)[_0x40e98d(0x355)](_0x52363c=>_0x27e0f6(_0x52363c[0x1])));}function _0x1181e2(_0x10102e){const _0xf1e05d=_0x2b8d6a;return _0x34e7da[_0xf1e05d(0x244)](_0x10102e[_0xf1e05d(0x1cc)])?[..._0x514cf8,..._0x399d76]:_0x10102e[_0xf1e05d(0x1cc)]===_0xcf3cf2[_0xf1e05d(0x435)][_0xf1e05d(0x25e)]?[..._0x514cf8,..._0x252906(_0x10102e)===_0xf1e05d(0x570)?_0x399dad:_0x399d76]:_0x514cf8;}function _0x3e70c5(_0x22aff4,_0x40fca7){const _0x57094e=_0x2b8d6a;return _0x1181e2(_0x22aff4)[_0x57094e(0x299)](_0x40fca7);}function _0x50af88(_0x19a78a,_0x315de7,_0x21f586){const _0x488fe2=_0x2b8d6a;if(!_0x3e70c5(_0x19a78a,_0x21f586))return null;let _0x19182c=_0x315de7[_0x488fe2(0x355)](_0x518591=>!_0x3e1fd0(_0x19a78a,_0x518591));switch(_0x21f586){case _0x488fe2(0x4c7):return _0x315de7['length'];case _0x488fe2(0x462):return _0x19182c[_0x488fe2(0x3d4)];case _0x488fe2(0x37c):return _0x315de7[_0x488fe2(0x3d4)]-_0x19182c['length'];case _0x488fe2(0x47f):return new Set(_0x19182c[_0x488fe2(0x2c4)](_0x53d070=>_0x3ec1a9(_0x19a78a,_0x53d070)))[_0x488fe2(0x219)];case _0x488fe2(0x4a1):{let _0xf0df70=_0x43a793(_0x19a78a,_0x19182c);return _0xf0df70[_0x488fe2(0x3d4)]?_0x47b7ee(_0xf0df70):null;}case'average':{let _0x3eac79=_0x43a793(_0x19a78a,_0x19182c);return _0x3eac79[_0x488fe2(0x3d4)]?_0x47b7ee(_0x3eac79)/_0x3eac79[_0x488fe2(0x3d4)]:null;}case _0x488fe2(0x4f1):{let _0x174ea8=_0x43a793(_0x19a78a,_0x19182c);return _0x174ea8['length']?Math[_0x488fe2(0x4f1)](..._0x174ea8):null;}case _0x488fe2(0x591):{let _0x21904d=_0x43a793(_0x19a78a,_0x19182c);return _0x21904d[_0x488fe2(0x3d4)]?Math[_0x488fe2(0x591)](..._0x21904d):null;}}}function _0xc9d220(_0x2300a5,_0x268205,_0x2c4d4f){const _0x173aaf=_0x2b8d6a;if(_0x2c4d4f==null||!Number[_0x173aaf(0x2b0)](_0x2c4d4f))return'-';if(_0x514cf8[_0x173aaf(0x299)](_0x268205))return String(_0x2c4d4f);switch(_0x2300a5['type']){case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x5b6)]:return _0x548c9b(_0x2c4d4f,_0x28ec1e(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x3d8)]:return _0x548c9b(_0x2c4d4f,_0x383e3c(_0x2300a5));case _0xcf3cf2[_0x173aaf(0x435)][_0x173aaf(0x455)]:return _0x5c4434(_0x2c4d4f,_0x2300a5[_0x173aaf(0x5a3)]);case _0xcf3cf2[_0x173aaf(0x435)]['Formula']:return _0x18f953(_0x2c4d4f,_0x2300a5);default:return _0x59b0ac(_0x2c4d4f);}}function _0x3e1fd0(_0xd0168b,_0x50713a){const _0x15bd9c=_0x2b8d6a;if(_0x50713a==null)return!0x0;if(typeof _0x50713a=='string')return _0x50713a[_0x15bd9c(0x479)]()==='';if(Array[_0x15bd9c(0x2a1)](_0x50713a))return _0xd0168b['type']===_0xcf3cf2[_0x15bd9c(0x435)][_0x15bd9c(0x448)]?!_0x50713a[_0x15bd9c(0x20f)](_0xa547be):_0x50713a[_0x15bd9c(0x3d4)]===0x0;if(_0xd0168b[_0x15bd9c(0x1cc)]===_0xcf3cf2['BaseFieldType'][_0x15bd9c(0x24b)]&&typeof _0x50713a==_0x15bd9c(0x240)){let _0x118b75=_0x50713a;return[_0x118b75[_0x15bd9c(0x395)],_0x118b75[_0x15bd9c(0x2ff)]][_0x15bd9c(0x320)](_0x118923=>_0x118923==null||String(_0x118923)[_0x15bd9c(0x479)]()==='');}return!0x1;}function _0x43a793(_0xc540d1,_0x3b513e){const _0xce5bde=_0x2b8d6a;let _0x17567b=[];for(let _0x5ad132 of _0x3b513e){let _0x16f135=_0x5cc4e5(_0xc540d1,_0x5ad132);_0x16f135!=null&&_0x17567b[_0xce5bde(0x309)](_0x16f135);}return _0x17567b;}function _0x5cc4e5(_0x14be14,_0x42a5e1){const _0x3f51bc=_0x2b8d6a;if(typeof _0x42a5e1==_0x3f51bc(0x202))return Number[_0x3f51bc(0x2b0)](_0x42a5e1)?_0x42a5e1:null;if(_0x14be14[_0x3f51bc(0x1cc)]!==_0xcf3cf2[_0x3f51bc(0x435)][_0x3f51bc(0x25e)]&&typeof _0x42a5e1==_0x3f51bc(0x3ea)&&_0x42a5e1[_0x3f51bc(0x479)]()!==''){let _0x261bf8=Number(_0x42a5e1);return Number['isFinite'](_0x261bf8)?_0x261bf8:null;}return null;}function _0x47b7ee(_0x407fc9){const _0x46eee5=_0x2b8d6a;let _0x1fb62e=0x0,_0x423c67=0x0;for(let _0x22a96b of _0x407fc9){let _0x4a78f2=_0x1fb62e+_0x22a96b;_0x423c67+=Math[_0x46eee5(0x269)](_0x1fb62e)>=Math[_0x46eee5(0x269)](_0x22a96b)?_0x1fb62e-_0x4a78f2+_0x22a96b:_0x22a96b-_0x4a78f2+_0x1fb62e,_0x1fb62e=_0x4a78f2;}return _0x1fb62e+_0x423c67;}function _0x3ec1a9(_0x132611,_0x33364c){const _0x7c24c3=_0x2b8d6a;return _0x18a5d7['has'](_0x132611[_0x7c24c3(0x1cc)])&&Array[_0x7c24c3(0x2a1)](_0x33364c)?_0x252a3d([...new Set(_0x33364c[_0x7c24c3(0x2c4)](_0x225f5f=>_0x252a3d(_0xb01995(_0x225f5f))))][_0x7c24c3(0x24e)]()):_0x252a3d(_0xb01995(_0x33364c));}function _0xb01995(_0x148a7f){const _0x130097=_0x2b8d6a;return Array[_0x130097(0x2a1)](_0x148a7f)?_0x148a7f[_0x130097(0x2c4)](_0xb01995):_0x148a7f&&typeof _0x148a7f==_0x130097(0x240)?Object[_0x130097(0x3a6)](Object[_0x130097(0x271)](_0x148a7f)['sort'](([_0x43e336],[_0x213c9d])=>_0x43e336['localeCompare'](_0x213c9d))[_0x130097(0x2c4)](([_0x2df57d,_0x1d956d])=>[_0x2df57d,_0xb01995(_0x1d956d)])):_0x148a7f;}function _0x252a3d(_0x46ad44){const _0xa71cb7=_0x2b8d6a;return JSON[_0xa71cb7(0x322)](_0x46ad44)??'undefined';}function _0xa547be(_0x26f602){const _0x126f68=_0x2b8d6a;if(typeof _0x26f602==_0x126f68(0x3ea))return _0x26f602[_0x126f68(0x479)]()!=='';if(!_0x26f602||typeof _0x26f602!=_0x126f68(0x240))return!0x1;let _0x38393a=_0x26f602;return[_0x38393a['id'],_0x38393a[_0x126f68(0x456)],_0x38393a[_0x126f68(0x357)],_0x38393a[_0x126f68(0x2ff)],_0x38393a[_0x126f68(0x4a4)]]['some'](_0x4f7b1f=>_0x4f7b1f!=null&&String(_0x4f7b1f)[_0x126f68(0x479)]()!=='');}function _0x28ec1e(_0x198ad4){const _0x2074a1=_0x2b8d6a;let _0xc8decd=_0x1d73a7(_0x198ad4[_0x2074a1(0x5a3)]);return{'decimalPlaces':_0x17de2b(_0xc8decd[_0x2074a1(0x5f6)],0x0,0x14,0x2),'separatorStyle':typeof _0xc8decd[_0x2074a1(0x5e9)]==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x5e9)]:_0x2074a1(0x3f3),'locale':typeof _0xc8decd['locale']==_0x2074a1(0x3ea)?_0xc8decd[_0x2074a1(0x1fe)]:void 0x0,'useThousands':_0xc8decd[_0x2074a1(0x486)]!==!0x1,'abbreviation':typeof _0xc8decd[_0x2074a1(0x1fc)]==_0x2074a1(0x3ea)?_0xc8decd['abbreviation']:_0x2074a1(0x44a)};}function _0x383e3c(_0x1e59b3){const _0x57a522=_0x2b8d6a;let _0xc0fe44=_0x1d73a7(_0x1e59b3['config']);return{..._0x28ec1e(_0x1e59b3),'currencySymbol':String(_0xc0fe44[_0x57a522(0x48f)]??'$')};}function _0x18f953(_0x46c38c,_0x4dd013){const _0x23a986=_0x2b8d6a;let _0x5af900=_0x5b7fab(_0x4dd013);if(_0x5af900===_0xf53337)return _0x59b0ac(_0x46c38c);try{return String(_0xcf3cf2[_0x23a986(0x405)][_0x23a986(0x1fa)](_0x5af900,_0x46c38c,{'throws':!0x1}));}catch{return _0x59b0ac(_0x46c38c);}}function _0x252906(_0x1a062a){const _0x58b703=_0x2b8d6a;let _0x47ad53=_0x1d73a7(_0x1d73a7(_0x1a062a[_0x58b703(0x5a3)])[_0x58b703(0x405)]);return typeof _0x47ad53['type']==_0x58b703(0x3ea)?_0x47ad53[_0x58b703(0x1cc)]:_0x58b703(0x1fd);}function _0x5b7fab(_0x1db607){const _0x2447e5=_0x2b8d6a;let _0x1c7e2d=_0x1d73a7(_0x1d73a7(_0x1db607['config'])[_0x2447e5(0x405)]);return String(_0x1c7e2d[_0x2447e5(0x41e)]??_0xf53337)[_0x2447e5(0x479)]()||_0xf53337;}function _0x59b0ac(_0x2f1929){const _0x3e8a79=_0x2b8d6a;return String(Number['isInteger'](_0x2f1929)?_0x2f1929:Math[_0x3e8a79(0x310)]((_0x2f1929+0x2**-0x34)*0x64)/0x64);}function _0x1d73a7(_0x1f827e){const _0x16ab9f=_0x2b8d6a;return _0x1f827e&&typeof _0x1f827e==_0x16ab9f(0x240)&&!Array[_0x16ab9f(0x2a1)](_0x1f827e)?_0x1f827e:{};}function _0x2593a1(_0x18a56f){const _0x3f0247=_0x2b8d6a;if(_0x18a56f==null||_0x18a56f==='')return null;let _0x3720d7=typeof _0x18a56f==_0x3f0247(0x202)?_0x18a56f:Number(_0x18a56f);return Number[_0x3f0247(0x2b0)](_0x3720d7)?_0x3720d7:null;}function _0x17de2b(_0x2917e7,_0x3ac915,_0x76f755,_0x470211){const _0x1527d7=_0x2b8d6a;let _0x3c105c=_0x2593a1(_0x2917e7);return _0x3c105c==null?_0x470211:Math[_0x1527d7(0x591)](_0x3ac915,Math[_0x1527d7(0x4f1)](_0x76f755,Math[_0x1527d7(0x310)](_0x3c105c)));}function _0xb95036(_0x22f096,_0x34d61b){const _0x396881=_0x2b8d6a;let _0x47d293=_0xcf3cf2[_0x396881(0x255)][_0x396881(0x578)](_0x22f096),_0xdc6f1f=_0x34d61b[_0x396881(0x4bf)]===!0x0,_0x4c4ba2=new Map(),_0x3b21c6=_0x34d61b[_0x396881(0x3e0)]??(()=>'view-'+(0x0,_0xcf3cf2['generateRandomId'])(0x8)),_0x1937f2=_0x47d293[_0x396881(0x49a)];return _0x34d61b['regenerateViewIds']&&(_0x1937f2=_0x47d293['viewOrder'][_0x396881(0x2c4)](_0x5db48e=>{const _0x25f602=_0x396881;let _0x45b415=_0x3b21c6();return _0x4c4ba2[_0x25f602(0x22b)](_0x5db48e,_0x45b415),_0x45b415;})),{..._0x47d293,'id':_0x34d61b['id'],'name':_0x34d61b[_0x396881(0x456)],'records':_0xdc6f1f?_0x47d293[_0x396881(0x38a)]:{},'recordOrder':_0xdc6f1f?_0x47d293[_0x396881(0x5ab)]:[],'rowIndex':_0xdc6f1f?_0x47d293[_0x396881(0x29a)]:{},'rowId':_0xdc6f1f?_0x47d293[_0x396881(0x369)]:{},'cellData':_0xdc6f1f?_0x47d293[_0x396881(0x2a3)]:{},'resources':_0xdc6f1f?_0x47d293['resources']:{},'viewOrder':_0x1937f2,'views':Object['fromEntries'](Object[_0x396881(0x271)](_0x47d293[_0x396881(0x2e4)]??{})[_0x396881(0x2c4)](([_0x2e367d,_0x3a3696])=>{const _0x3f1324=_0x396881;let _0x153f15=_0x4c4ba2[_0x3f1324(0x4f0)](_0x2e367d)??(_0x34d61b['regenerateViewIds']?_0x3b21c6():_0x2e367d);return[_0x153f15,{..._0x3a3696,'id':_0x153f15,'tableId':_0x34d61b['id']}];}))};}var _0x5ab9a1=_0x2b8d6a(0x30f),_0x2e7e04='1.0.2';let _0xe14a94={},_0x69a720={};function _0x2839fe(_0x299b2a){return new _0x3c7454()['getAffectedRanges'](_0x299b2a);}function _0xc5bbc5(_0x327c5e){const _0x18b103=_0x2b8d6a;return _0x327c5e[_0x18b103(0x39b)]['map'](_0x52ed23=>({'unitId':_0x327c5e[_0x18b103(0x20d)],'sheetId':_0x327c5e[_0x18b103(0x3e2)],'range':{'startRow':_0x52ed23[_0x18b103(0x53e)],'endRow':_0x52ed23[_0x18b103(0x53e)],'startColumn':_0x52ed23[_0x18b103(0x1cb)],'endColumn':_0x52ed23[_0x18b103(0x1cb)]}}));}function _0x55bf50(_0x2d1061,_0x2b0002){const _0x57e811=_0x2b8d6a;return{[_0x2d1061]:Object['fromEntries'](_0x2b0002[_0x57e811(0x2c4)](_0x1bca5d=>[_0x1bca5d,'1']))};}let _0x2d0dd9=class extends _0xcf3cf2['Disposable']{constructor(_0x1e2eab,_0x176996){const _0x25c11d=_0x2b8d6a;super(),this[_0x25c11d(0x5ee)]=_0x1e2eab,this[_0x25c11d(0x4f6)]=_0x176996,this['_initialize']();}['_initialize'](){const _0x5045e7=_0x2b8d6a;this['_activeDirtyManagerService'][_0x5045e7(0x3c3)](_0x40f796['id'],{'commandId':_0x40f796['id'],'getDirtyData':_0x58bc5d=>this[_0x5045e7(0x327)](_0x58bc5d[_0x5045e7(0x282)])}),this['disposeWithMe']((0x0,_0xcf3cf2[_0x5045e7(0x368)])(()=>{const _0x2c140b=_0x5045e7;this[_0x2c140b(0x5ee)][_0x2c140b(0x485)](_0x40f796['id']);}));}['_getTable'](_0xe546df,_0x936a9){const _0x377e84=_0x2b8d6a;let _0x1faacc=this[_0x377e84(0x4f6)][_0x377e84(0x425)](_0xe546df,_0xcf3cf2[_0x377e84(0x2f8)][_0x377e84(0x2bf)]);return(_0x1faacc==null?void 0x0:_0x1faacc[_0x377e84(0x43e)]()[_0x377e84(0x3d7)][_0x936a9])??null;}[_0x2b8d6a(0x327)](_0x46b1c1){const _0x40af19=_0x2b8d6a;if(_0x46b1c1[_0x40af19(0x3db)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x46b1c1['unitId']||!_0x46b1c1['op'])return{'clearDependencyTreeCache':this[_0x40af19(0x3cf)](),'forceCalculation':!0x0};let _0x5e4a2c=_0x2839fe(_0x46b1c1['op']),_0x4e62ba=this[_0x40af19(0x445)](_0x46b1c1['unitId'],_0x5e4a2c);if(_0x4e62ba['length'])return{'clearDependencyTreeCache':_0x55bf50(_0x46b1c1['unitId'],_0x4e62ba),'forceCalculation':!0x0};let _0x19634d=Object[_0x40af19(0x271)](this[_0x40af19(0x2a0)](_0x46b1c1['unitId'],_0x5e4a2c))[_0x40af19(0x5d0)](([_0x4bf24e,_0x1a4755])=>_0xc5bbc5({'unitId':_0x46b1c1[_0x40af19(0x20d)],'tableId':_0x4bf24e,'patches':_0x1a4755}));return _0x19634d[_0x40af19(0x3d4)]?{'dirtyRanges':_0x19634d}:{};}[_0x2b8d6a(0x445)](_0x277d70,_0x893e73){const _0x45f178=_0x2b8d6a;let _0x1d148b=_0x893e73[_0x45f178(0x355)](_0x1aee7f=>_0x1aee7f[_0x45f178(0x2e7)]!=='cell')['flatMap'](_0x358de1=>_0x358de1[_0x45f178(0x3e2)]?[_0x358de1['tableId']]:this[_0x45f178(0x477)](_0x277d70));return Array[_0x45f178(0x1ea)](new Set(_0x1d148b));}[_0x2b8d6a(0x2a0)](_0x58a937,_0x313711){const _0x1f7430=_0x2b8d6a;let _0xe14a1f=new Set();return _0x313711[_0x1f7430(0x23b)]((_0x4dce35,_0x2f2b74)=>{const _0x26a934=_0x1f7430;let _0x1a6b18=this[_0x26a934(0x407)](_0x58a937,_0x2f2b74);if(!_0x1a6b18)return _0x4dce35;let _0x55ef0f=_0x2f2b74[_0x26a934(0x3e2)]+':'+_0x1a6b18[_0x26a934(0x53e)]+':'+_0x1a6b18[_0x26a934(0x1cb)];return _0xe14a1f[_0x26a934(0x244)](_0x55ef0f)?_0x4dce35:(_0xe14a1f['add'](_0x55ef0f),_0x4dce35[_0x2f2b74['tableId']]=_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]??[],_0x4dce35[_0x2f2b74[_0x26a934(0x3e2)]]['push'](_0x1a6b18),_0x4dce35);},{});}['_toDirtyRangePatch'](_0x5b3f09,_0x1a1e0d){const _0x240c41=_0x2b8d6a;if(_0x1a1e0d[_0x240c41(0x2e7)]!==_0x240c41(0x4c1))return null;if(_0x1a1e0d['row']!=null&&_0x1a1e0d[_0x240c41(0x45e)]!=null)return{'row':_0x1a1e0d[_0x240c41(0x53e)],'col':_0x1a1e0d[_0x240c41(0x45e)],'value':null};if(!_0x1a1e0d[_0x240c41(0x57e)]||!_0x1a1e0d[_0x240c41(0x580)])return null;let _0x18a9b4=this[_0x240c41(0x4a9)](_0x5b3f09,_0x1a1e0d[_0x240c41(0x3e2)]);if(!_0x18a9b4)return null;let _0x218632=_0x168231(_0x18a9b4,_0x1a1e0d['recordId'],_0x1a1e0d[_0x240c41(0x580)]);return _0x218632?{'row':_0x218632['row'],'col':_0x218632[_0x240c41(0x1cb)],'value':null}:null;}[_0x2b8d6a(0x477)](_0x46cffc){const _0x19a631=_0x2b8d6a;let _0x5c1d50=this[_0x19a631(0x4f6)][_0x19a631(0x425)](_0x46cffc,_0xcf3cf2[_0x19a631(0x2f8)][_0x19a631(0x2bf)]);return Object[_0x19a631(0x404)]((_0x5c1d50==null?void 0x0:_0x5c1d50[_0x19a631(0x43e)]()['tables'])??{})[_0x19a631(0x2c4)](_0x4f8e17=>_0x4f8e17['id']);}[_0x2b8d6a(0x3cf)](){const _0x413480=_0x2b8d6a;let _0x534a97=this[_0x413480(0x4f6)][_0x413480(0x365)](_0xcf3cf2[_0x413480(0x2f8)][_0x413480(0x2bf)])[_0x413480(0x2c4)](_0x1ac847=>_0x55bf50(_0x1ac847[_0x413480(0x4c0)](),Object[_0x413480(0x582)](_0x1ac847[_0x413480(0x43e)]()[_0x413480(0x3d7)])));return Object[_0x413480(0x4e8)]({},..._0x534a97);}};_0x2d0dd9=_0x21a541([_0x429169(0x0,_0x64dd1a['IActiveDirtyManagerService']),_0x429169(0x1,_0xcf3cf2[_0x2b8d6a(0x56e)])],_0x2d0dd9);let _0x555f3c=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x482bb0,_0x40d54a,_0x215ad6,_0x54f8f2){const _0x56e2c6=_0x2b8d6a;super(),this[_0x56e2c6(0x234)]=_0x482bb0,this[_0x56e2c6(0x4f6)]=_0x40d54a,this[_0x56e2c6(0x3ee)]=_0x215ad6,this[_0x56e2c6(0x3ca)]=_0x54f8f2,_0x550e57(this,_0x56e2c6(0x222),new _0x41a657()),_0x550e57(this,_0x56e2c6(0x515),new Map()),_0x550e57(this,_0x56e2c6(0x263),new Set()),_0x550e57(this,_0x56e2c6(0x217),Promise['resolve']()),_0x550e57(this,_0x56e2c6(0x2b4),!0x1),this[_0x56e2c6(0x3c9)]();}['_initialize'](){const _0x5aa4f6=_0x2b8d6a;this[_0x5aa4f6(0x4f6)][_0x5aa4f6(0x365)](_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])[_0x5aa4f6(0x458)](_0x3e2776=>{const _0x5347ac=_0x5aa4f6;this[_0x5347ac(0x561)](_0x3e2776);}),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x542)](_0xcf3cf2[_0x5aa4f6(0x2f8)][_0x5aa4f6(0x2bf)])[_0x5aa4f6(0x210)](({unit:_0x321619})=>{this['_scheduleSuperTableSync'](_0x321619);})),this[_0x5aa4f6(0x54b)](this['_univerInstanceService'][_0x5aa4f6(0x528)](_0xcf3cf2[_0x5aa4f6(0x2f8)]['UNIVER_BASE'])[_0x5aa4f6(0x210)](_0x1f3a11=>{const _0x3d8628=_0x5aa4f6;this['_enqueueFormulaSync'](()=>this[_0x3d8628(0x4d5)](_0x1f3a11[_0x3d8628(0x4c0)]()));})),this[_0x5aa4f6(0x54b)](this[_0x5aa4f6(0x234)][_0x5aa4f6(0x49f)](_0x489b28=>this[_0x5aa4f6(0x4c9)](_0x489b28)));}[_0x2b8d6a(0x4c9)](_0x793ec){const _0x12b35f=_0x2b8d6a;if(_0x793ec['id']===_0x64dd1a['SetFormulaCalculationResultMutation']['id']){_0x31dd9b(_0x793ec[_0x12b35f(0x282)])&&this[_0x12b35f(0x546)](_0x793ec[_0x12b35f(0x282)]);return;}if(this[_0x12b35f(0x2b4)]||_0x793ec['id']!==_0x40f796['id'])return;let _0x10a256=_0x2d1abd(_0x793ec[_0x12b35f(0x282)])?_0x793ec[_0x12b35f(0x282)]:void 0x0,_0x41b7b6=_0x10a256!=null&&_0x10a256[_0x12b35f(0x20d)]?[this['_univerInstanceService']['getUnit'](_0x10a256[_0x12b35f(0x20d)],_0xcf3cf2[_0x12b35f(0x2f8)][_0x12b35f(0x2bf)])][_0x12b35f(0x355)](_0x2c411f=>!!_0x2c411f):this[_0x12b35f(0x4f6)][_0x12b35f(0x365)](_0xcf3cf2[_0x12b35f(0x2f8)]['UNIVER_BASE']),_0x475ff7=_0x10a256==null?void 0x0:_0x10a256['op'];_0x41b7b6[_0x12b35f(0x458)](_0x4a0c59=>{const _0x5bc951=_0x12b35f;let _0x2f77e1=_0x475ff7?_0x2839fe(_0x475ff7):[];(!_0x475ff7||_0x2f77e1['some'](_0xac9ad9=>_0xac9ad9[_0x5bc951(0x2e7)]!=='cell'))&&this[_0x5bc951(0x561)](_0x4a0c59);});}[_0x2b8d6a(0x561)](_0x58068e){const _0x3a4031=_0x2b8d6a;let _0x5cc514=_0x58068e[_0x3a4031(0x4c0)]();this[_0x3a4031(0x263)][_0x3a4031(0x244)](_0x5cc514)||(this[_0x3a4031(0x263)]['add'](_0x5cc514),this[_0x3a4031(0x3f2)](async()=>{const _0x5d119f=_0x3a4031;this['_scheduledSuperTableSyncs'][_0x5d119f(0x472)](_0x5cc514),await this[_0x5d119f(0x416)](_0x58068e);}));}async[_0x2b8d6a(0x416)](_0x191b8b){const _0x1efec6=_0x2b8d6a;let _0xd8b080=_0x191b8b[_0x1efec6(0x4c0)](),_0x550791=this['_formulaService']['getSuperTableRegistrations'](_0x191b8b[_0x1efec6(0x43e)]()),_0xb1e360=new Set(_0x550791[_0x1efec6(0x2c4)](({tableName:_0x4cbbf3})=>_0x4cbbf3)),_0x116feb=this[_0x1efec6(0x515)][_0x1efec6(0x4f0)](_0xd8b080)??new Set();for(let _0x1b6311 of _0x116feb)if(!_0xb1e360[_0x1efec6(0x244)](_0x1b6311)&&!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x575)]['id'],{'unitId':_0xd8b080,'tableName':_0x1b6311}))return;for(let {tableName:_0x51f659,reference:_0x1292eb}of _0x550791)if(!await this[_0x1efec6(0x59a)](_0x64dd1a[_0x1efec6(0x4dd)]['id'],{'unitId':_0xd8b080,'tableName':_0x51f659,'reference':_0x1292eb}))return;this[_0x1efec6(0x515)][_0x1efec6(0x22b)](_0xd8b080,_0xb1e360);}async[_0x2b8d6a(0x4d5)](_0x1a47db){const _0x3582ad=_0x2b8d6a;let _0x5cb8ee=this[_0x3582ad(0x515)]['get'](_0x1a47db)??new Set();for(let _0x429fd2 of _0x5cb8ee)if(!await this[_0x3582ad(0x59a)](_0x64dd1a['RemoveSuperTableMutation']['id'],{'unitId':_0x1a47db,'tableName':_0x429fd2}))return;this['_registeredSuperTableNames']['delete'](_0x1a47db);}async['_executeSuperTableMutationWhileActive'](_0x4f1092,_0x5a8b9f){const _0x2068fb=_0x2b8d6a;return!this['_disposed']&&await this[_0x2068fb(0x234)][_0x2068fb(0x471)](_0x4f1092,_0x5a8b9f,{'onlyLocal':!0x0})&&!this[_0x2068fb(0x2a7)];}['_enqueueFormulaSync'](_0x24fbf0){const _0x58771a=_0x2b8d6a;this['_formulaSyncQueue']=this[_0x58771a(0x217)][_0x58771a(0x275)](_0x24fbf0,_0x24fbf0)['catch'](()=>void 0x0);}[_0x2b8d6a(0x546)](_0x5cf2cf){const _0x340d31=_0x2b8d6a;let _0x469d99=this['_univerInstanceService'][_0x340d31(0x365)](_0xcf3cf2[_0x340d31(0x2f8)][_0x340d31(0x2bf)]);if(!_0x469d99[_0x340d31(0x20f)](_0x586e29=>{const _0x42edc2=_0x340d31;var _0x31c9f8;return((_0x31c9f8=_0x5cf2cf[_0x42edc2(0x364)])==null?void 0x0:_0x31c9f8[_0x586e29['getUnitId']()])!=null;}))return;let _0x46e225=_0x469d99['flatMap'](_0x27c80c=>_0x3bbd86(_0x27c80c['getSnapshot'](),_0x5cf2cf));if(!_0x46e225[_0x340d31(0x3d4)]){this[_0x340d31(0x3ca)]['markResultApplied'](_0x2f0f8e[_0x340d31(0x606)]['BASE'],_0x5cf2cf);return;}let _0x128744=new _0x15dbb7(),_0x385a68=_0x46e225[_0x340d31(0x5d0)](_0xe01815=>_0xc5bbc5({'unitId':_0xe01815[_0x340d31(0x20d)],'tableId':_0xe01815['tableId'],'patches':_0xe01815[_0x340d31(0x39b)]}));this[_0x340d31(0x2b4)]=!0x0,(async()=>{const _0x4b5e98=_0x340d31;for(let _0x241f47 of _0x46e225){let _0x595769=this[_0x4b5e98(0x4f6)][_0x4b5e98(0x425)](_0x241f47[_0x4b5e98(0x20d)],_0xcf3cf2[_0x4b5e98(0x2f8)][_0x4b5e98(0x2bf)]);_0x595769&&await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x40f796['id'],{'unitId':_0x241f47[_0x4b5e98(0x20d)],'op':_0x128744['setRangeValues'](_0x595769['getSnapshot'](),_0x241f47[_0x4b5e98(0x3e2)],_0x241f47[_0x4b5e98(0x39b)]),'trigger':_0x64dd1a[_0x4b5e98(0x36f)]['id']},{'onlyLocal':!0x0});}await this[_0x4b5e98(0x234)][_0x4b5e98(0x471)](_0x64dd1a[_0x4b5e98(0x50f)]['id'],{'dirtyRanges':_0x385a68},{'onlyLocal':!0x0});})()[_0x340d31(0x283)](()=>{const _0x43debc=_0x340d31;this[_0x43debc(0x2b4)]=!0x1,this[_0x43debc(0x3ca)][_0x43debc(0x232)](_0x2f0f8e[_0x43debc(0x606)][_0x43debc(0x233)],_0x5cf2cf);});}};_0x555f3c=_0x21a541([_0x429169(0x0,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x1,_0xcf3cf2['IUniverInstanceService']),_0x429169(0x2,(0x0,_0xcf3cf2['Inject'])(_0x64dd1a['FormulaCalculationTriggerService'])),_0x429169(0x3,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0x2f0f8e[_0x2b8d6a(0x214)]))],_0x555f3c);function _0x2d1abd(_0x5105d1){const _0x2e52de=_0x2b8d6a;return typeof _0x5105d1==_0x2e52de(0x240)&&!!_0x5105d1&&_0x2e52de(0x20d)in _0x5105d1&&typeof _0x5105d1['unitId']==_0x2e52de(0x3ea)&&'op'in _0x5105d1&&Array[_0x2e52de(0x2a1)](_0x5105d1['op']);}function _0x31dd9b(_0xec29d){const _0x39b7c4=_0x2b8d6a;return typeof _0xec29d==_0x39b7c4(0x240)&&!!_0xec29d&&_0x39b7c4(0x364)in _0xec29d&&_0x39b7c4(0x1e6)in _0xec29d;}let _0x5f5287=new Set([_0x16823a['id'],_0x2f8f7e['id'],_0x45b313['id']]),_0x5d14ac=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(_0x248c80,_0x3d94a5,_0x579e5f,_0x3ae04e){const _0x30ec0b=_0x2b8d6a;super(),this[_0x30ec0b(0x487)]=_0x248c80,this[_0x30ec0b(0x234)]=_0x3d94a5,this[_0x30ec0b(0x20a)]=_0x579e5f,this[_0x30ec0b(0x5d7)]=_0x3ae04e,this[_0x30ec0b(0x5d7)]['getAllUnitsForType'](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])[_0x30ec0b(0x458)](_0x2ac8b6=>this[_0x30ec0b(0x29c)](_0x2ac8b6[_0x30ec0b(0x4c0)]())),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x542)](_0xcf3cf2[_0x30ec0b(0x2f8)]['UNIVER_BASE'])['subscribe'](({unit:_0xeaf6d6})=>this['_registerUnitPermissionPoints'](_0xeaf6d6['getUnitId']()))),this['disposeWithMe'](this[_0x30ec0b(0x234)][_0x30ec0b(0x59c)]((_0x2bb7be,_0x2e1ad9)=>this[_0x30ec0b(0x414)](_0x2bb7be,_0x2e1ad9))),this[_0x30ec0b(0x54b)](this[_0x30ec0b(0x5d7)][_0x30ec0b(0x528)](_0xcf3cf2[_0x30ec0b(0x2f8)][_0x30ec0b(0x2bf)])[_0x30ec0b(0x210)](_0x19dcdc=>{const _0x4f2c88=_0x30ec0b;this[_0x4f2c88(0x487)][_0x4f2c88(0x4f0)](_0xcf3cf2[_0x4f2c88(0x392)])[_0x4f2c88(0x551)](_0x19dcdc[_0x4f2c88(0x4c0)]()),_0x1fbe97(this['_permissionService'],_0x19dcdc[_0x4f2c88(0x4c0)]());}));}[_0x2b8d6a(0x29c)](_0x53f907){const _0x2e3884=_0x2b8d6a;_0x2403b2['forEach'](_0x2daa6b=>{const _0x4d901f=_0x4fc4;let _0x372771=_0x1a5ea7(_0x53f907,_0x53f907,_0x2daa6b);this['_permissionService']['getPermissionPoint'](_0x372771['id'])||this[_0x4d901f(0x20a)][_0x4d901f(0x4d7)](_0x372771);}),this[_0x2e3884(0x487)]['get'](_0xcf3cf2[_0x2e3884(0x392)])['initializeUnit']({'unitId':_0x53f907,'objectId':_0x53f907,'objectType':_0x2f5c57[_0x2e3884(0x40a)][_0x2e3884(0x58c)]});}[_0x2b8d6a(0x414)](_0x158f35,_0x366324){const _0x1453fe=_0x2b8d6a;var _0x48c7b1;if(_0x366324!=null&&_0x366324[_0x1453fe(0x3a7)]||_0x366324!=null&&_0x366324[_0x1453fe(0x5bd)])return;let _0x2f8cb5=_0xe24e48(_0x158f35[_0x1453fe(0x282)])?_0x158f35[_0x1453fe(0x282)]:void 0x0;if(_0x366324!=null&&_0x366324[_0x1453fe(0x4c3)]&&_0x158f35['id']===_0x1453fe(0x304)&&(_0x2f8cb5==null?void 0x0:_0x2f8cb5['trigger'])===_0x64dd1a[_0x1453fe(0x36f)]['id'])return;let _0x4d8887=_0x285ff1(_0x158f35['id']),_0x2b9924=_0x47833a(_0x2f8cb5==null?void 0x0:_0x2f8cb5['unitId'],_0x366324)??(_0x4d8887?(_0x48c7b1=this[_0x1453fe(0x5d7)][_0x1453fe(0x350)](_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]))==null?void 0x0:_0x48c7b1['getUnitId']():void 0x0);if(!_0x2b9924||this[_0x1453fe(0x5d7)][_0x1453fe(0x286)](_0x2b9924)!==_0xcf3cf2['UniverInstanceType']['UNIVER_BASE'])return;if(_0x4d8887){if(!_0x3aa462(this['_permissionService'],_0x2b9924,_0x2b9924,_0x4d8887))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924),new _0xcf3cf2[(_0x1453fe(0x4fc))]('Base\x20'+_0x2f5c57['UnitAction'][_0x4d8887]+_0x1453fe(0x1e3));return;}if(_0x5f5287[_0x1453fe(0x244)](_0x158f35['id'])||!_0x158f35['id'][_0x1453fe(0x26d)](_0x1453fe(0x5cd))&&!_0x158f35['id'][_0x1453fe(0x26d)]('base.mutation.'))return;let _0x1810ec=this[_0x1453fe(0x5d7)]['getUnit'](_0x2b9924,_0xcf3cf2[_0x1453fe(0x2f8)][_0x1453fe(0x2bf)]),_0x54e5d4=_0x1810ec?_0x5316a5(_0x1810ec,_0x2f8cb5??{},_0x158f35['id']):[];if(!_0x1810ec||!_0x1484ec(this[_0x1453fe(0x20a)],_0x2b9924,_0x54e5d4))throw this[_0x1453fe(0x487)][_0x1453fe(0x4f0)](_0xcf3cf2[_0x1453fe(0x5db)])[_0x1453fe(0x3a8)](_0x2b9924,_0x54e5d4),new _0xcf3cf2['CustomCommandExecutionError'](_0x1453fe(0x5c9));}};_0x5d14ac=_0x21a541([_0x429169(0x0,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x1,_0xcf3cf2['ICommandService']),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x2c0)]),_0x429169(0x3,_0xcf3cf2['IUniverInstanceService'])],_0x5d14ac);function _0x47833a(_0x3044a8,_0x66f2c5){const _0x53c24c=_0x2b8d6a;return typeof _0x3044a8==_0x53c24c(0x3ea)?_0x3044a8:typeof(_0x66f2c5==null?void 0x0:_0x66f2c5[_0x53c24c(0x20d)])==_0x53c24c(0x3ea)?_0x66f2c5[_0x53c24c(0x20d)]:void 0x0;}function _0x285ff1(_0x5c2804){const _0x2b2cf4=_0x2b8d6a;if(_0x5c2804==='bases-exchange-client.operation.export-base'||_0x5c2804==='bases-exchange-client.operation.export-base-by-format')return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x444)];if(_0x5c2804['startsWith']('thread-comment.command.')||_0x5c2804[_0x2b2cf4(0x26d)](_0x2b2cf4(0x2e9)))return _0x2f5c57[_0x2b2cf4(0x1ce)][_0x2b2cf4(0x20b)];}function _0x5316a5(_0x58f21c,_0x2b2f17,_0x228f51){const _0x2d8210=_0x2b8d6a;if(_0x228f51===_0x2d8210(0x304)&&_0x178e5f(_0x2b2f17['op']))return _0x90cd14(_0x58f21c,_0x2b2f17['op']);let _0x3ca01b=new Set(),_0xc91c50=_0x488362(_0x2b2f17,_0x2d8210(0x4b0)),_0x179b5a=typeof _0x2b2f17[_0x2d8210(0x3e2)]==_0x2d8210(0x3ea)?_0x2b2f17[_0x2d8210(0x3e2)]:_0xc91c50[0x0];if(_0xc91c50[_0x2d8210(0x458)](_0x1335e1=>_0x3ca01b['add'](_0x20afd2(_0x1335e1))),!_0x179b5a)return[..._0x3ca01b];let _0xd365a9=_0x58f21c['getSnapshot']()[_0x2d8210(0x3d7)][_0x179b5a],_0x67c466=new Set(_0x488362(_0x2b2f17,'field')),_0x4a9317=new Set(_0x488362(_0x2b2f17,'record')),_0x3410e3=new Set(_0x488362(_0x2b2f17,'view'));return _0x4b11b2(_0xd365a9,_0x2b2f17[_0x2d8210(0x39b)],_0x4a9317,_0x67c466),_0x4445b6(_0x2b2f17,_0x67c466),_0x67c466[_0x2d8210(0x458)](_0x3c924d=>_0x3ca01b['add'](_0xe7abbf(_0x179b5a,_0x3c924d))),_0x4a9317[_0x2d8210(0x458)](_0x4b87eb=>_0x3ca01b[_0x2d8210(0x1d6)](_0x19d6d6(_0x179b5a,_0x4b87eb))),_0x3410e3['forEach'](_0x1c412e=>_0x3ca01b[_0x2d8210(0x1d6)](_0x1592c3(_0x179b5a,_0x1c412e))),[..._0x3ca01b];}function _0x90cd14(_0x1a05a1,_0x5cf4ad){const _0x409bfc=_0x2b8d6a;let _0x3fea4b=_0x1a05a1[_0x409bfc(0x43e)](),_0x7331bd=new _0x3c7454()[_0x409bfc(0x235)](_0x5cf4ad),_0x1ea5f=_0x34eab7(_0x5cf4ad),_0x1d8bd4=new Set();return _0x7331bd[_0x409bfc(0x458)](_0x5c4981=>{const _0x1f7c6e=_0x409bfc;var _0x170170,_0x57c02b;let {tableId:_0x2cc78d}=_0x5c4981;if(!_0x2cc78d)return;_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x20afd2(_0x2cc78d));let _0xbefbb4=_0x3fea4b['tables'][_0x2cc78d],_0x58c41c=_0x5c4981[_0x1f7c6e(0x57e)]??(_0x5c4981[_0x1f7c6e(0x53e)]==null||_0xbefbb4==null||(_0x170170=_0xbefbb4[_0x1f7c6e(0x369)])==null?void 0x0:_0x170170[_0x5c4981['row']]),_0x1a99d6=_0x5c4981[_0x1f7c6e(0x580)]??(_0x5c4981[_0x1f7c6e(0x45e)]==null||_0xbefbb4==null||(_0x57c02b=_0xbefbb4[_0x1f7c6e(0x4df)])==null?void 0x0:_0x57c02b[_0x5c4981['column']]);_0x58c41c&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x58c41c)),_0x1a99d6&&_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x1a99d6)),_0x5c4981[_0x1f7c6e(0x608)]&&_0x1d8bd4['add'](_0x1592c3(_0x2cc78d,_0x5c4981[_0x1f7c6e(0x608)])),(_0x5c4981['reason']===_0x1f7c6e(0x4b0)||_0x1ea5f[_0x1f7c6e(0x244)](_0x2cc78d))&&_0xbefbb4&&(Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x3b5)])[_0x1f7c6e(0x458)](_0x3e21ff=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0xe7abbf(_0x2cc78d,_0x3e21ff))),Object[_0x1f7c6e(0x582)](_0xbefbb4[_0x1f7c6e(0x38a)])['forEach'](_0x812c8=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x19d6d6(_0x2cc78d,_0x812c8))),Object['keys'](_0xbefbb4[_0x1f7c6e(0x2e4)])[_0x1f7c6e(0x458)](_0x59b0c1=>_0x1d8bd4[_0x1f7c6e(0x1d6)](_0x1592c3(_0x2cc78d,_0x59b0c1)))),_0x5c4981[_0x1f7c6e(0x2e7)]===_0x1f7c6e(0x3c2)&&_0xbefbb4&&Object[_0x1f7c6e(0x582)](_0xbefbb4['fields'])[_0x1f7c6e(0x458)](_0x594a11=>_0x1d8bd4['add'](_0xe7abbf(_0x2cc78d,_0x594a11)));}),_0x7331bd['length']===0x0&&_0xd98664(_0x5cf4ad,_0x409bfc(0x5af))&&Object['keys'](_0x3fea4b[_0x409bfc(0x3d7)])['forEach'](_0x3b60ae=>_0x1d8bd4['add'](_0x20afd2(_0x3b60ae))),[..._0x1d8bd4];}function _0x34eab7(_0x2c6a52){let _0x1342f5=new Set(),_0x52a0f1=_0x4a1cec=>{const _0xda6bac=_0x4fc4;Array['isArray'](_0x4a1cec)&&_0x4a1cec[_0xda6bac(0x458)]((_0x74a0ab,_0x210845)=>{const _0x103e5b=_0xda6bac;_0x74a0ab===_0x103e5b(0x3d7)&&typeof _0x4a1cec[_0x210845+0x1]==_0x103e5b(0x3ea)&&_0x4a4f65(_0x4a1cec[_0x210845+0x2])&&_0x1342f5[_0x103e5b(0x1d6)](_0x4a1cec[_0x210845+0x1]),_0x52a0f1(_0x74a0ab);});};return _0x52a0f1(_0x2c6a52),_0x1342f5;}function _0x4a4f65(_0x167355){const _0x2ce866=_0x2b8d6a;return!!_0x167355&&typeof _0x167355==_0x2ce866(0x240)&&!Array[_0x2ce866(0x2a1)](_0x167355)&&('i'in _0x167355||'r'in _0x167355||'p'in _0x167355||'d'in _0x167355||'es'in _0x167355||'ena'in _0x167355||'et'in _0x167355);}function _0xd98664(_0x291fb2,_0x4c5fc6){const _0x5c4be5=_0x2b8d6a;return Array[_0x5c4be5(0x2a1)](_0x291fb2)&&_0x291fb2[_0x5c4be5(0x20f)](_0x5cb0f6=>_0x5cb0f6===_0x4c5fc6||_0xd98664(_0x5cb0f6,_0x4c5fc6));}function _0x488362(_0x9eaae9,_0x5166d5){const _0x1af8c9=_0x2b8d6a;let _0x2cc60e=new Set(),_0xdc1600=_0x5166d5+'Id',_0x4d2674=_0x5166d5+_0x1af8c9(0x496),_0x1fb7af=(_0x438ad7,_0x15354f='')=>{const _0x280b67=_0x1af8c9;if(typeof _0x438ad7=='string'){_0x15354f===_0xdc1600&&_0x2cc60e[_0x280b67(0x1d6)](_0x438ad7);return;}if(Array[_0x280b67(0x2a1)](_0x438ad7)){_0x15354f===_0x4d2674?_0x438ad7['forEach'](_0x4023c7=>{const _0xaac4e6=_0x280b67;typeof _0x4023c7==_0xaac4e6(0x3ea)&&_0x2cc60e['add'](_0x4023c7);}):_0x438ad7[_0x280b67(0x458)](_0x30b6c0=>_0x1fb7af(_0x30b6c0,_0x15354f));return;}_0xe24e48(_0x438ad7)&&Object[_0x280b67(0x271)](_0x438ad7)['forEach'](([_0x186480,_0x5737b9])=>{const _0x167b7f=_0x280b67;_0x186480==='id'&&_0x15354f===_0x5166d5&&typeof _0x5737b9==_0x167b7f(0x3ea)?_0x2cc60e['add'](_0x5737b9):_0x1fb7af(_0x5737b9,_0x186480);});};return _0x1fb7af(_0x9eaae9),[..._0x2cc60e];}function _0x4b11b2(_0x46899b,_0x4e0ef3,_0x3d5546,_0x24aefe){const _0x46d833=_0x2b8d6a;_0x46899b&&Array[_0x46d833(0x2a1)](_0x4e0ef3)&&_0x4e0ef3[_0x46d833(0x458)](_0x38fb34=>{const _0x4ecb38=_0x46d833;if(!_0xe24e48(_0x38fb34))return;let _0x3a8a35=_0x38fb34;if(typeof _0x3a8a35['row']=='number'){var _0x5dfb3a;let _0x111c00=(_0x5dfb3a=_0x46899b[_0x4ecb38(0x369)])==null?void 0x0:_0x5dfb3a[_0x3a8a35[_0x4ecb38(0x53e)]];_0x111c00&&_0x3d5546[_0x4ecb38(0x1d6)](_0x111c00);}if(typeof _0x3a8a35[_0x4ecb38(0x1cb)]==_0x4ecb38(0x202)){var _0x32ce96;let _0x28d408=(_0x32ce96=_0x46899b[_0x4ecb38(0x4df)])==null?void 0x0:_0x32ce96[_0x3a8a35[_0x4ecb38(0x1cb)]];_0x28d408&&_0x24aefe[_0x4ecb38(0x1d6)](_0x28d408);}});}function _0x4445b6(_0xfef31f,_0x2fa247,_0xc1dee=''){const _0x38cb59=_0x2b8d6a;if(_0xfef31f&&typeof _0xfef31f==_0x38cb59(0x240)){if(Array[_0x38cb59(0x2a1)](_0xfef31f)){_0xfef31f[_0x38cb59(0x458)](_0xb2d24=>_0x4445b6(_0xb2d24,_0x2fa247,_0xc1dee));return;}_0xe24e48(_0xfef31f)&&Object[_0x38cb59(0x271)](_0xfef31f)[_0x38cb59(0x458)](([_0x580341,_0xd48a7b])=>{const _0x1df47a=_0x38cb59;_0xc1dee===_0x1df47a(0x404)&&_0x2fa247[_0x1df47a(0x1d6)](_0x580341),_0x4445b6(_0xd48a7b,_0x2fa247,_0x580341);});}}function _0x178e5f(_0x10cf0f){const _0x2fec6b=_0x2b8d6a;return Array[_0x2fec6b(0x2a1)](_0x10cf0f);}function _0xe24e48(_0x5dca52){const _0x4edc56=_0x2b8d6a;return typeof _0x5dca52==_0x4edc56(0x240)&&!!_0x5dca52&&!Array['isArray'](_0x5dca52);}let _0x231d66=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x313)),_0x3416a2=class{constructor(_0x2193b3){const _0x4f638b=_0x2b8d6a;this[_0x4f638b(0x4f6)]=_0x2193b3;}[_0x2b8d6a(0x200)](_0x46b90b){const _0xe413d4=_0x2b8d6a;return this['_univerInstanceService'][_0xe413d4(0x425)](_0x46b90b,_0xcf3cf2['UniverInstanceType'][_0xe413d4(0x2bf)])??null;}[_0x2b8d6a(0x2be)](){const _0x3da7eb=_0x2b8d6a;return this[_0x3da7eb(0x4f6)][_0x3da7eb(0x365)](_0xcf3cf2['UniverInstanceType'][_0x3da7eb(0x2bf)]);}['createBase'](_0x61906b){const _0x5c0e1c=_0x2b8d6a;return this[_0x5c0e1c(0x4f6)][_0x5c0e1c(0x2a6)](_0xcf3cf2[_0x5c0e1c(0x2f8)][_0x5c0e1c(0x2bf)],_0x61906b);}};_0x3416a2=_0x21a541([_0x429169(0x0,_0xcf3cf2['IUniverInstanceService'])],_0x3416a2);let _0x466334=(0x0,_0xcf3cf2[_0x2b8d6a(0x586)])(_0x2b8d6a(0x2cd));var _0x2ef513=class extends _0xcf3cf2[_0x2b8d6a(0x1d0)]{constructor(..._0x664743){const _0x2ff424=_0x2b8d6a;super(..._0x664743),_0x550e57(this,_0x2ff424(0x254),new Map());}[_0x2b8d6a(0x3c3)](_0x455fa4){const _0x3e1896=_0x2b8d6a;return this[_0x3e1896(0x254)][_0x3e1896(0x22b)](_0x455fa4[_0x3e1896(0x1cc)],_0x455fa4),(0x0,_0xcf3cf2[_0x3e1896(0x368)])(()=>this['_plugins'][_0x3e1896(0x472)](_0x455fa4[_0x3e1896(0x1cc)]));}['get'](_0x142e50){const _0x3d18e7=_0x2b8d6a;let _0x370916=this[_0x3d18e7(0x254)][_0x3d18e7(0x4f0)](_0x142e50);if(!_0x370916)throw Error(_0x3d18e7(0x60e)+_0x142e50+_0x3d18e7(0x4e1));return _0x370916;}[_0x2b8d6a(0x2ed)](){const _0x3ee576=_0x2b8d6a;return Array[_0x3ee576(0x1ea)](this[_0x3ee576(0x254)][_0x3ee576(0x404)]());}};let _0x156310=[_0x40f796],_0x380e1d=class extends _0xcf3cf2['Plugin']{constructor(_0x103158=_0xe14a94,_0x90221,_0x3d6343,_0x4ad060,_0x193d62,_0x2233a9){const _0x1ff04f=_0x2b8d6a;super(),this[_0x1ff04f(0x5a1)]=_0x103158,this['_injector']=_0x90221,this[_0x1ff04f(0x234)]=_0x3d6343,this[_0x1ff04f(0x4f6)]=_0x4ad060,this['_configService']=_0x193d62,this['_dataSyncPrimaryController']=_0x2233a9,_0x550e57(this,_0x1ff04f(0x1c4),new Map());let {..._0x9496c9}=(0x0,_0xcf3cf2[_0x1ff04f(0x4e0)])({},_0xe14a94,this[_0x1ff04f(0x5a1)]);this[_0x1ff04f(0x212)]['setConfig']('bases.config',_0x9496c9),this[_0x1ff04f(0x4f6)][_0x1ff04f(0x1d5)](_0xcf3cf2[_0x1ff04f(0x2f8)][_0x1ff04f(0x2bf)],_0xcf3cf2['BaseDataModel']),this[_0x1ff04f(0x2d5)](),this['_initCommands'](),this[_0x1ff04f(0x258)](),this['_initDataSync']();}[_0x2b8d6a(0x3dc)](){const _0x55274f=_0x2b8d6a;this[_0x55274f(0x487)][_0x55274f(0x1d6)]([_0x1d45e4]),this[_0x55274f(0x54b)](this[_0x55274f(0x487)]['get'](_0xcf3cf2[_0x55274f(0x1e8)])[_0x55274f(0x391)](_0x3affb8)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2['ICommandService'])[_0x55274f(0x391)](_0x245053)),this[_0x55274f(0x54b)](this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0xcf3cf2[_0x55274f(0x392)])['registerRuleModel'](_0x2f5c57[_0x55274f(0x40a)][_0x55274f(0x58c)],this[_0x55274f(0x487)][_0x55274f(0x4f0)](_0x1d45e4),_0x3affb8['id'],_0x245053['id']));}[_0x2b8d6a(0x514)](){const _0x582c97=_0x2b8d6a;(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x3416a2],[_0x1c8c77],[_0x2d0dd9]]),this[_0x582c97(0x4f6)]['getAllUnitsForType'](_0xcf3cf2[_0x582c97(0x2f8)][_0x582c97(0x2bf)])[_0x582c97(0x458)](_0x5de651=>this[_0x582c97(0x44f)](_0x5de651[_0x582c97(0x4c0)]())),(0x0,_0xcf3cf2[_0x582c97(0x45f)])(this[_0x582c97(0x487)],[[_0x555f3c],[_0x5d14ac]]);}['_initDependencies'](){const _0x83a8b0=_0x2b8d6a;[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x466334,{'useClass':_0x2ef513}],[_0x5e90db,{'useClass':_0x270515}],[_0x231d66,{'useClass':_0x3416a2}],[_0x2d44c2,{'useClass':_0x2b795c}],[_0x5394a2,{'useClass':_0x1c8c77}],[_0x2d0dd9],[_0x555f3c],[_0x5d14ac]][_0x83a8b0(0x458)](_0x41c5ac=>this['_injector'][_0x83a8b0(0x1d6)](_0x41c5ac));}['_initCommands'](){const _0x50dd05=_0x2b8d6a;[_0x19088c,_0x227b37,_0x58eadf,_0x188f06,_0x450c63,_0x2ce036,_0x1b3986,_0x457f5d,_0xabe762,_0x50bb2a,_0x16c000,_0x217849,_0x1c8a84,_0x55d92d,_0x80cc29,_0x592df7,_0x1710aa,_0x1143aa,_0x433937,_0x42e92a,_0x4a02a4,_0x45b313,_0x5057dc,_0x4a862d,_0x4dc11a,_0x2f9533,_0x5c24f7,_0x21d036,_0x3a3835,_0x3e585a,_0x4a1e5b,_0x16823a,_0x2f8f7e,_0x5df868,_0x435723,_0x5bf3c2,_0x3bc02d,_0xd31f61,_0x3e90d8,_0x1b35fa,_0x13066e,..._0x156310][_0x50dd05(0x458)](_0x3c1fa3=>this[_0x50dd05(0x54b)](this[_0x50dd05(0x234)][_0x50dd05(0x391)](_0x3c1fa3))),_0x156310[_0x50dd05(0x458)](_0x2c7edb=>{const _0x2e1357=_0x50dd05;var _0x21f786;return(_0x21f786=this[_0x2e1357(0x4de)])==null?void 0x0:_0x21f786[_0x2e1357(0x37f)](_0x2c7edb);});}[_0x2b8d6a(0x3e9)](){const _0x321f24=_0x2b8d6a;this[_0x321f24(0x4de)]&&(this['disposeWithMe'](this[_0x321f24(0x4f6)][_0x321f24(0x542)](_0xcf3cf2[_0x321f24(0x2f8)][_0x321f24(0x2bf)])[_0x321f24(0x210)](({unit:_0x42bd37})=>{const _0x368bc4=_0x321f24;this[_0x368bc4(0x44f)](_0x42bd37[_0x368bc4(0x4c0)]());})),this[_0x321f24(0x54b)](this[_0x321f24(0x4f6)][_0x321f24(0x528)](_0xcf3cf2[_0x321f24(0x2f8)]['UNIVER_BASE'])[_0x321f24(0x210)](_0x47de77=>{const _0x262a2b=_0x321f24;var _0x12d680;(_0x12d680=this[_0x262a2b(0x1c4)][_0x262a2b(0x4f0)](_0x47de77['getUnitId']()))==null||_0x12d680['dispose'](),this[_0x262a2b(0x1c4)][_0x262a2b(0x472)](_0x47de77['getUnitId']());})));}[_0x2b8d6a(0x44f)](_0x4c36ba){const _0x2c2a2c=_0x2b8d6a;this[_0x2c2a2c(0x4de)]&&!this[_0x2c2a2c(0x1c4)][_0x2c2a2c(0x244)](_0x4c36ba)&&this[_0x2c2a2c(0x1c4)]['set'](_0x4c36ba,this[_0x2c2a2c(0x4de)][_0x2c2a2c(0x464)](_0x4c36ba));}['_initRegistries'](){const _0x50eb92=_0x2b8d6a;let _0x59facd=this[_0x50eb92(0x487)]['get'](_0x3dec17);_0x20ee48()[_0x50eb92(0x458)](_0x3efec6=>_0x59facd[_0x50eb92(0x3c3)](_0x3efec6));let _0x29fac0=this['_injector'][_0x50eb92(0x4f0)](_0x466334),_0x487e2c=this[_0x50eb92(0x487)]['get'](_0x5e90db);_0x43edf4()[_0x50eb92(0x458)](_0x3dd1bd=>{const _0x20ecda=_0x50eb92;_0x29fac0[_0x20ecda(0x3c3)](_0x3dd1bd),_0x487e2c[_0x20ecda(0x467)](_0x3dd1bd);});}};_0x550e57(_0x380e1d,_0x2b8d6a(0x2fa),_0x2b8d6a(0x461)),_0x550e57(_0x380e1d,_0x2b8d6a(0x3fe),_0x5ab9a1),_0x550e57(_0x380e1d,_0x2b8d6a(0x390),_0x2e7e04),_0x550e57(_0x380e1d,_0x2b8d6a(0x1cc),_0xcf3cf2[_0x2b8d6a(0x2f8)][_0x2b8d6a(0x2bf)]),_0x380e1d=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5['UniverLicensePlugin'],_0x64dd1a[_0x2b8d6a(0x4f5)]),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x56e)]),_0x429169(0x4,_0xcf3cf2['IConfigService']),_0x429169(0x5,(0x0,_0xcf3cf2['Optional'])(_0x4f9625[_0x2b8d6a(0x426)]))],_0x380e1d);let _0x9d42eb=class extends _0xcf3cf2[_0x2b8d6a(0x60c)]{constructor(_0x3fe9e6=_0x69a720,_0x250f40,_0x452014,_0x3d7521,_0xea7bcc){const _0x33c8b3=_0x2b8d6a;super(),this[_0x33c8b3(0x5a1)]=_0x3fe9e6,this['_injector']=_0x250f40,this[_0x33c8b3(0x234)]=_0x452014,this['_configService']=_0x3d7521,this[_0x33c8b3(0x4f6)]=_0xea7bcc;let {..._0x40bdf3}=(0x0,_0xcf3cf2['merge'])({},_0x69a720,this[_0x33c8b3(0x5a1)]);this[_0x33c8b3(0x212)][_0x33c8b3(0x23a)](_0x33c8b3(0x531),_0x40bdf3),this[_0x33c8b3(0x4f6)][_0x33c8b3(0x1d5)](_0xcf3cf2[_0x33c8b3(0x2f8)][_0x33c8b3(0x2bf)],_0xcf3cf2[_0x33c8b3(0x3b2)]),[[_0x3dec17,{'useClass':_0x4d1e59}],[_0x5e90db,{'useClass':_0x270515}]][_0x33c8b3(0x458)](_0x4a2451=>this[_0x33c8b3(0x487)][_0x33c8b3(0x1d6)](_0x4a2451)),_0x156310[_0x33c8b3(0x458)](_0x349210=>this[_0x33c8b3(0x54b)](this[_0x33c8b3(0x234)]['registerCommand'](_0x349210)));}};_0x550e57(_0x9d42eb,_0x2b8d6a(0x2fa),_0x2b8d6a(0x43d)),_0x550e57(_0x9d42eb,'packageName',_0x5ab9a1),_0x550e57(_0x9d42eb,'version',_0x2e7e04),_0x550e57(_0x9d42eb,_0x2b8d6a(0x1cc),_0xcf3cf2['UniverInstanceType'][_0x2b8d6a(0x2bf)]),_0x9d42eb=_0x21a541([(0x0,_0xcf3cf2[_0x2b8d6a(0x35c)])(_0x54c3b5[_0x2b8d6a(0x42f)],_0x64dd1a['UniverProFormulaEnginePlugin']),_0x429169(0x1,(0x0,_0xcf3cf2[_0x2b8d6a(0x4f4)])(_0xcf3cf2[_0x2b8d6a(0x1f6)])),_0x429169(0x2,_0xcf3cf2[_0x2b8d6a(0x1e8)]),_0x429169(0x3,_0xcf3cf2[_0x2b8d6a(0x383)]),_0x429169(0x4,_0xcf3cf2['IUniverInstanceService'])],_0x9d42eb);function _0x4e21e1(_0x19cf8f){const _0x328850=_0x2b8d6a;let _0x5a07e5=_0x4b060b(_0x19cf8f['query']);if(!_0x5a07e5)return{'query':'','total':0x0,'matches':[]};let _0x2b393b=[],_0x35b280=[];for(let _0x1c7fa8=0x0;_0x1c7fa8<_0x19cf8f[_0x328850(0x4a6)][_0x328850(0x3d4)];_0x1c7fa8++){if(!(_0x1c7fa8 in _0x19cf8f[_0x328850(0x4a6)]))continue;let _0xf348b6=_0x19cf8f[_0x328850(0x4b0)][_0x328850(0x3b5)][_0x19cf8f[_0x328850(0x4a6)][_0x1c7fa8]];_0xf348b6&&_0x35b280[_0x328850(0x309)]({'field':_0xf348b6,'fieldIndex':_0x1c7fa8});}_0x19cf8f[_0x328850(0x5e6)][_0x328850(0x458)]((_0x1b31d2,_0x109e89)=>{const _0x5cb508=_0x328850;_0x35b280[_0x5cb508(0x458)](({field:_0xa9a84e,fieldIndex:_0x472cd6})=>{const _0x40d17d=_0x5cb508;let _0x4fd0bd=_0x2f687a(_0x1b31d2['values'][_0xa9a84e['id']],_0xa9a84e);if(!_0x4fd0bd)return;let _0xc33782=_0x15dc10(_0x5a07e5,_0x4fd0bd[_0x40d17d(0x2f3)]);_0xc33782<=0x0||_0x2b393b[_0x40d17d(0x309)]({'recordId':_0x1b31d2[_0x40d17d(0x57e)],'fieldId':_0xa9a84e['id'],'fieldType':_0xa9a84e[_0x40d17d(0x1cc)],'text':_0x4fd0bd[_0x40d17d(0x5bb)],'score':_0xc33782,'rowIndex':_0x109e89,'fieldIndex':_0x472cd6});});}),_0x2b393b[_0x328850(0x24e)]((_0x283ba4,_0x2bb94b)=>_0x2bb94b['score']-_0x283ba4[_0x328850(0x20e)]||_0x283ba4[_0x328850(0x29a)]-_0x2bb94b[_0x328850(0x29a)]||_0x283ba4[_0x328850(0x576)]-_0x2bb94b[_0x328850(0x576)]);let _0x4c28f7=_0x19cf8f['limit']==null?_0x2b393b:_0x2b393b[_0x328850(0x3de)](0x0,Math['max'](0x0,_0x19cf8f[_0x328850(0x26c)]));return{'query':_0x5a07e5,'total':_0x2b393b[_0x328850(0x3d4)],'matches':_0x2ae3a6(_0x4c28f7)};}function _0x2f687a(_0x2083ee,_0x3e4007){const _0x3e3cf5=_0x2b8d6a;let _0x3aa660=[];for(let _0x92f959 of _0xafc384(_0x2083ee,_0x3e4007)){let _0x257ee2=_0x4b060b(_0x92f959);_0x257ee2&&_0x3aa660[_0x3e3cf5(0x309)](_0x257ee2);}return _0x3aa660[_0x3e3cf5(0x3d4)]?{'displayText':_0x53a36e(_0x2083ee,_0x3e4007),'searchTexts':_0x21e350(_0x3aa660)}:null;}function _0x53a36e(_0x15929a,_0x113e76){const _0x3735af=_0x2b8d6a;switch(_0x113e76[_0x3735af(0x1cc)]){case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x2e3)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x336)]:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3fa)]:return _0x501ec0(_0x15929a,_0x113e76)[_0x3735af(0x600)](',\x20');case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x24b)]:return _0x5f317e(_0x15929a);case _0xcf3cf2[_0x3735af(0x435)]['Date']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x413)]:case _0xcf3cf2[_0x3735af(0x435)]['UpdatedAt']:return _0xe2afc3(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)]['Number']:case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x3d8)]:return _0x31e77a(_0x15929a,_0x113e76);case _0xcf3cf2[_0x3735af(0x435)][_0x3735af(0x455)]:return _0x130594(_0x15929a,_0x113e76);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x5f8)]:return _0x15929a?_0x3735af(0x565):_0x3735af(0x3bf);case _0xcf3cf2['BaseFieldType'][_0x3735af(0x448)]:return _0x43dfb4(_0x15929a)[_0x3735af(0x600)](',\x20');default:return _0x423e88(_0x15929a);}}function _0xafc384(_0x5206eb,_0x30afcf){const _0x4d1e25=_0x2b8d6a;switch(_0x30afcf['type']){case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2e3)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x336)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3fa)]:{let _0x441734=_0x501ec0(_0x5206eb,_0x30afcf);if(Array[_0x4d1e25(0x2a1)](_0x5206eb)){let _0x1cdce6=[..._0x441734];for(let _0x38597b=0x0;_0x38597b<_0x5206eb[_0x4d1e25(0x3d4)];_0x38597b++)_0x38597b in _0x5206eb&&_0x1cdce6['push'](String(_0x5206eb[_0x38597b]));return _0x1cdce6;}return _0x5206eb==null?_0x441734:[..._0x441734,String(_0x5206eb)];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x24b)]:{let _0x4e04fa=_0x2612be(_0x5206eb);return[_0x4e04fa[_0x4d1e25(0x395)],_0x4e04fa['url']];}case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x2d9)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x413)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x305)]:return[_0xe2afc3(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5b6)]:case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x3d8)]:return[_0x31e77a(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x455)]:return[_0x130594(_0x5206eb,_0x30afcf),_0x423e88(_0x5206eb)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x5f8)]:return _0x5206eb?[_0x4d1e25(0x565),_0x4d1e25(0x3bd),_0x4d1e25(0x382)]:['Unchecked','No',_0x4d1e25(0x35a)];case _0xcf3cf2[_0x4d1e25(0x435)][_0x4d1e25(0x448)]:return _0x43dfb4(_0x5206eb);default:return[_0x423e88(_0x5206eb)];}}function _0x501ec0(_0x535ad2,_0x55c4ae){const _0x439b7f=_0x2b8d6a;var _0x274b00;let _0x34f52f=Array['isArray']((_0x274b00=_0x55c4ae[_0x439b7f(0x5a3)])==null?void 0x0:_0x274b00[_0x439b7f(0x5cc)])?_0x55c4ae['config'][_0x439b7f(0x5cc)]:[],_0x10476a=[];if(Array[_0x439b7f(0x2a1)](_0x535ad2)){for(let _0x327ed3=0x0;_0x327ed3<_0x535ad2[_0x439b7f(0x3d4)];_0x327ed3++){if(!(_0x327ed3 in _0x535ad2))continue;let _0xf99558=String(_0x535ad2[_0x327ed3]);_0xf99558&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0xf99558));}return _0x10476a;}if(_0x535ad2!=null){let _0x597665=String(_0x535ad2);_0x597665&&_0x10476a[_0x439b7f(0x309)](_0x11d6c4(_0x34f52f,_0x597665));}return _0x10476a;}function _0x11d6c4(_0x2d9493,_0x552ccf){const _0x57fbcc=_0x2b8d6a;for(let _0x1e99b0 of _0x2d9493){if(typeof _0x1e99b0=='string'&&_0x1e99b0===_0x552ccf)return _0x1e99b0;if(_0x1e99b0&&typeof _0x1e99b0==_0x57fbcc(0x240)){let _0x306eda=_0x1e99b0;if(String(_0x306eda['id']??_0x306eda['name']??'')===_0x552ccf||String(_0x306eda[_0x57fbcc(0x456)]??'')===_0x552ccf)return String(_0x306eda['name']??_0x306eda['id']??_0x552ccf);}}return _0x552ccf;}function _0x2612be(_0x5a02d7){const _0x3500ac=_0x2b8d6a;if(_0x5a02d7&&typeof _0x5a02d7=='object'&&!Array[_0x3500ac(0x2a1)](_0x5a02d7)){let _0x3bd7eb=_0x5a02d7;return{'text':String(_0x3bd7eb['text']??_0x3bd7eb['url']??''),'url':String(_0x3bd7eb['url']??'')};}return{'text':_0x423e88(_0x5a02d7),'url':_0x423e88(_0x5a02d7)};}function _0x5f317e(_0x5eb20e){const _0x425ccc=_0x2b8d6a;let _0xc6cdaa=_0x2612be(_0x5eb20e);return _0xc6cdaa['text']||_0xc6cdaa[_0x425ccc(0x2ff)];}function _0xe2afc3(_0x2dd461,_0x458a67){const _0xc13694=_0x2b8d6a;return typeof _0x2dd461!='number'||!Number[_0xc13694(0x2b0)](_0x2dd461)?'':_0x1e8f43(_0x2dd461,_0x458a67[_0xc13694(0x5a3)]);}function _0x31e77a(_0xcb0b38,_0x41f10a){const _0x3040cd=_0x2b8d6a;let _0x5242f9=typeof _0xcb0b38=='number'?_0xcb0b38:Number(_0xcb0b38);return Number['isFinite'](_0x5242f9)?_0x548c9b(_0x5242f9,_0x41f10a[_0x3040cd(0x5a3)]):'';}function _0x130594(_0x103853,_0x45305c){const _0x315ea7=_0x2b8d6a;let _0x3aa8f2=typeof _0x103853==_0x315ea7(0x202)?_0x103853:Number(_0x103853);return Number[_0x315ea7(0x2b0)](_0x3aa8f2)?_0x5c4434(_0x3aa8f2,_0x45305c['config']):'';}function _0x43dfb4(_0x4b1c05){const _0x11ae43=_0x2b8d6a;return Array[_0x11ae43(0x2a1)](_0x4b1c05)?_0x4b1c05[_0x11ae43(0x5d0)](_0x583a5c=>{const _0x34926b=_0x11ae43;if(!_0x583a5c||typeof _0x583a5c!=_0x34926b(0x240))return[];let _0xb7b310=_0x583a5c,_0x186b7b=String(_0xb7b310['name']??_0xb7b310['url']??'')['trim']();return _0x186b7b?[_0x186b7b]:[];}):[];}function _0x423e88(_0x4a08b3){const _0x196b1f=_0x2b8d6a;if(_0x4a08b3==null)return'';if(typeof _0x4a08b3=='boolean')return _0x4a08b3?'true':_0x196b1f(0x4cd);if(typeof _0x4a08b3==_0x196b1f(0x202))return String(_0x4a08b3);if(Array['isArray'](_0x4a08b3)){let _0x7d20e2=[];for(let _0x27d510=0x0;_0x27d510<_0x4a08b3[_0x196b1f(0x3d4)];_0x27d510++){if(!(_0x27d510 in _0x4a08b3))continue;let _0x13056a=_0x423e88(_0x4a08b3[_0x27d510]);_0x13056a&&_0x7d20e2[_0x196b1f(0x309)](_0x13056a);}return _0x7d20e2[_0x196b1f(0x600)](',\x20');}if(typeof _0x4a08b3=='object'){let _0x55c0e2=_0x4a08b3;return String(_0x55c0e2[_0x196b1f(0x5fc)]??_0x55c0e2['name']??_0x55c0e2['text']??_0x55c0e2[_0x196b1f(0x2ff)]??'')[_0x196b1f(0x479)]();}return String(_0x4a08b3);}function _0x15dc10(_0xe063f,_0x4d0244){const _0x437611=_0x2b8d6a;let _0x49eedc=0x0;for(let _0x26e299 of _0x4d0244)if(_0x26e299){if(_0x26e299===_0xe063f){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0x12c);continue;}if(_0x26e299[_0x437611(0x26d)](_0xe063f)){_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xfa);continue;}_0x26e299[_0x437611(0x299)](_0xe063f)&&(_0x49eedc=Math[_0x437611(0x591)](_0x49eedc,0xc8));}return _0x49eedc;}function _0x4b060b(_0x4bf9c8){const _0x25548f=_0x2b8d6a;return _0x4bf9c8['trim']()[_0x25548f(0x5a4)](/\s+/g,'\x20')[_0x25548f(0x402)]();}function _0x21e350(_0x229ae2){const _0xea568f=_0x2b8d6a;return Array[_0xea568f(0x1ea)](new Set(_0x229ae2));}function _0x2ae3a6(_0x186f63){const _0x26a5b2=_0x2b8d6a;let _0x4c194b=[];for(let {rowIndex:_0x5ca1d6,fieldIndex:_0x108694,..._0xf23149}of _0x186f63)_0x4c194b[_0x26a5b2(0x309)](_0xf23149);return _0x4c194b;}function _0x25ed49(_0x4eb358){const _0x294708=_0x2b8d6a;return{'compress':!0x0,'kind':_0x294708(0x48a),'u':_0x4eb358[_0x294708(0x20d)],'t':_0x4eb358[_0x294708(0x3e2)],'p':_0x4eb358[_0x294708(0x39b)]['map'](_0x4bacef=>[_0x4bacef[_0x294708(0x53e)],_0x4bacef[_0x294708(0x1cb)],_0x100eed(_0x4bacef['value'])]),..._0x4eb358[_0x294708(0x3db)]===void 0x0?{}:{'g':_0x4eb358[_0x294708(0x3db)]}};}function _0x162a7a(_0x59600a){const _0x4c9c96=_0x2b8d6a;if(_0x109daf(_0x59600a,_0x4c9c96(0x48a)),!_0x251223(_0x59600a)){if(!_0x196449(_0x59600a))throw Error(_0x4c9c96(0x4f3));return _0x59600a;}return{'unitId':_0x59600a['u'],'tableId':_0x59600a['t'],'patches':_0x59600a['p'][_0x4c9c96(0x2c4)](([_0x2321a9,_0x54c98e,_0x29580d])=>({'row':_0x2321a9,'col':_0x54c98e,'value':_0x30464e(_0x29580d)})),..._0x59600a['g']===void 0x0?{}:{'trigger':_0x59600a['g']}};}function _0x251223(_0x21bbdb){const _0x5e5aa7=_0x2b8d6a;return!_0x4610c1(_0x21bbdb)||_0x21bbdb[_0x5e5aa7(0x37d)]!==!0x0||_0x21bbdb[_0x5e5aa7(0x415)]!==_0x5e5aa7(0x48a)?!0x1:typeof _0x21bbdb['u']==_0x5e5aa7(0x3ea)&&typeof _0x21bbdb['t']==_0x5e5aa7(0x3ea)&&(_0x21bbdb['g']===void 0x0||typeof _0x21bbdb['g']==_0x5e5aa7(0x3ea))&&Array['isArray'](_0x21bbdb['p'])&&_0x21bbdb['p'][_0x5e5aa7(0x320)](_0x1235b4=>Array[_0x5e5aa7(0x2a1)](_0x1235b4)&&_0x1235b4['length']===0x3&&Number[_0x5e5aa7(0x1f0)](_0x1235b4[0x0])&&Number['isInteger'](_0x1235b4[0x1]));}function _0x1c938f(_0x1e52a1){const _0x3d9075=_0x2b8d6a;return!_0x4610c1(_0x1e52a1)||_0x1e52a1['compress']!==!0x0||_0x1e52a1[_0x3d9075(0x415)]!==_0x3d9075(0x5d6)||!_0x4610c1(_0x1e52a1[_0x3d9075(0x3d7)])?!0x1:Object['values'](_0x1e52a1[_0x3d9075(0x3d7)])[_0x3d9075(0x320)](_0x2c3066=>_0x4610c1(_0x2c3066)&&(_0x2c3066['cd']===void 0x0||Array['isArray'](_0x2c3066['cd'])&&_0x2c3066['cd'][_0x3d9075(0x320)](_0x4ca082=>Array[_0x3d9075(0x2a1)](_0x4ca082)&&_0x4ca082[_0x3d9075(0x3d4)]===0x3&&Number[_0x3d9075(0x1f0)](_0x4ca082[0x0])&&Number['isInteger'](_0x4ca082[0x1])&&_0x56fe98(_0x4ca082[0x2]))));}function _0x100eed(_0x1b602b){return _0x54631f(_0x1b602b)?_0x57f5c2(_0x1b602b):_0x1b602b;}function _0x30464e(_0x50ef64){return _0x56fe98(_0x50ef64)?_0x3857f5(_0x50ef64):_0x50ef64;}function _0x57f5c2(_0x4a9696){return{'c':0x1,..._0x4a9696['v']===void 0x0?{}:{'v':_0x4a9696['v']},..._0x4a9696['t']!==void 0x0&&_0x4a9696['t']!==null?{'t':_0x4a9696['t']}:_0x4a9696['t']===null?{'t':null}:{},..._0x4a9696['f']!==void 0x0&&_0x4a9696['f']!==null?{'f':_0x4a9696['f']}:_0x4a9696['f']===null?{'f':null}:{},..._0x4a9696['si']!==void 0x0&&_0x4a9696['si']!==null?{'si':_0x4a9696['si']}:_0x4a9696['si']===null?{'si':null}:{},..._0x4a9696['p']!==void 0x0&&_0x4a9696['p']!==null?{'p':_0x4a9696['p']}:_0x4a9696['p']===null?{'p':null}:{}};}function _0x3857f5(_0x52c5c0){return{..._0x52c5c0['v']===void 0x0?{}:{'v':_0x52c5c0['v']},..._0x52c5c0['t']===void 0x0?{}:{'t':_0x52c5c0['t']},..._0x52c5c0['f']===void 0x0?{}:{'f':_0x52c5c0['f']},..._0x52c5c0['si']===void 0x0?{}:{'si':_0x52c5c0['si']},..._0x52c5c0['p']===void 0x0?{}:{'p':_0x52c5c0['p']}};}function _0x54631f(_0x4437ff){const _0x34f1be=_0x2b8d6a;return!!_0x4437ff&&typeof _0x4437ff==_0x34f1be(0x240)&&!Array[_0x34f1be(0x2a1)](_0x4437ff)&&(Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)]['call'](_0x4437ff,'v')||Object[_0x34f1be(0x3b1)]['hasOwnProperty']['call'](_0x4437ff,'t')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'p')||Object[_0x34f1be(0x3b1)][_0x34f1be(0x1ec)][_0x34f1be(0x29f)](_0x4437ff,'f')||Object['prototype']['hasOwnProperty'][_0x34f1be(0x29f)](_0x4437ff,'si'));}function _0x56fe98(_0x176727){return _0x4610c1(_0x176727)&&_0x176727['c']===0x1;}function _0x196449(_0x39036a){const _0x2be77c=_0x2b8d6a;return _0x4610c1(_0x39036a)&&typeof _0x39036a[_0x2be77c(0x20d)]==_0x2be77c(0x3ea)&&typeof _0x39036a['tableId']==_0x2be77c(0x3ea)&&(_0x39036a[_0x2be77c(0x3db)]===void 0x0||typeof _0x39036a[_0x2be77c(0x3db)]=='string')&&Array[_0x2be77c(0x2a1)](_0x39036a[_0x2be77c(0x39b)])&&_0x39036a['patches']['every'](_0x546e35=>_0x4610c1(_0x546e35)&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x53e)])&&Number[_0x2be77c(0x1f0)](_0x546e35[_0x2be77c(0x1cb)])&&_0x2be77c(0x348)in _0x546e35);}function _0x109daf(_0x5d386b,_0x2ef2b6){const _0x24b3bd=_0x2b8d6a;if(_0x4610c1(_0x5d386b)&&_0x5d386b[_0x24b3bd(0x37d)]===!0x0){if(_0x5d386b[_0x24b3bd(0x415)]!==_0x2ef2b6)throw Error(_0x24b3bd(0x46c)+String(_0x5d386b[_0x24b3bd(0x415)])+'\x22.');if(!(_0x2ef2b6===_0x24b3bd(0x48a)?_0x251223(_0x5d386b):_0x1c938f(_0x5d386b)))throw Error(_0x24b3bd(0x265)+_0x2ef2b6+'\x22.');}}function _0x4610c1(_0x37624e){const _0x578cf6=_0x2b8d6a;return!!_0x37624e&&typeof _0x37624e==_0x578cf6(0x240)&&!Array[_0x578cf6(0x2a1)](_0x37624e);}_0x22620f[_0x2b8d6a(0x35d)]=_0x40f796,_0x22620f[_0x2b8d6a(0x3b6)]=_0xe85857,_0x22620f[_0x2b8d6a(0x2d7)]=0x5,_0x22620f[_0x2b8d6a(0x2e2)]=_0x1fa07b,_0x22620f[_0x2b8d6a(0x277)]=_0x2b8d6a(0x1dd),_0x22620f['BASE_UNIT_PERMISSION_ACTIONS']=_0x2403b2,_0x22620f[_0x2b8d6a(0x4eb)]=_0x4d5b38,_0x22620f['BaseEventSource']=_0x48d33b,_0x22620f['BaseFormulaService']=_0x41a657,_0x22620f['BaseHierarchyError']=_0x1d7b46,_0x22620f[_0x2b8d6a(0x489)]=_0x38d4ab,_0x22620f[_0x2b8d6a(0x550)]=_0x34db2c,_0x22620f[_0x2b8d6a(0x24c)]=_0x3c7454,_0x22620f[_0x2b8d6a(0x475)]=_0x15dbb7,_0x22620f[_0x2b8d6a(0x401)]=_0xabe762,_0x22620f['BatchDeleteBaseRecordsCommand']=_0x16c000,_0x22620f[_0x2b8d6a(0x521)]=_0x433937,_0x22620f[_0x2b8d6a(0x4a2)]=_0x457f5d,_0x22620f[_0x2b8d6a(0x5a8)]=_0x80cc29,_0x22620f['CreateBaseRecordCommand']=_0x1b3986,_0x22620f[_0x2b8d6a(0x3ab)]=_0x19088c,_0x22620f[_0x2b8d6a(0x518)]=_0x5057dc,_0x22620f[_0x2b8d6a(0x399)]=_0x42e92a,_0x22620f[_0x2b8d6a(0x39d)]=_0x50bb2a,_0x22620f['DeleteBaseTableCommand']=_0x58eadf,_0x22620f['DeleteBaseViewCommand']=_0x5c24f7,_0x22620f[_0x2b8d6a(0x504)]=_0x592df7,_0x22620f['DuplicateBaseRecordCommand']=_0x217849,_0x22620f['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x2535ff,_0x22620f['EnsureBaseTemporalViewDateFieldsCommand']=_0x4a862d,_0x22620f[_0x2b8d6a(0x50a)]=_0x5394a2,_0x22620f['IBasePermissionService']=_0x2d44c2,_0x22620f[_0x2b8d6a(0x439)]=_0x5e90db,_0x22620f[_0x2b8d6a(0x1f4)]=_0x466334,_0x22620f[_0x2b8d6a(0x2c3)]=_0x4a02a4,_0x22620f['MoveBaseHierarchyRecordCommand']=_0x55d92d,_0x22620f[_0x2b8d6a(0x468)]=_0x21d036,_0x22620f[_0x2b8d6a(0x375)]=_0x227b37,_0x22620f['RenameBaseViewCommand']=_0x4dc11a,_0x22620f[_0x2b8d6a(0x388)]=_0x4a1e5b,_0x22620f[_0x2b8d6a(0x279)]=_0x2f9533,_0x22620f['SetBasePermissionCommand']=_0x16823a,_0x22620f[_0x2b8d6a(0x25b)]=_0x3affb8,_0x22620f[_0x2b8d6a(0x605)]=_0x245053,_0x22620f[_0x2b8d6a(0x3a0)]=_0x2f8f7e,_0x22620f[_0x2b8d6a(0x55e)]=_0x2ce036,_0x22620f[_0x2b8d6a(0x386)]=_0x450c63,_0x22620f[_0x2b8d6a(0x38d)]=_0xd31f61,_0x22620f['SetBaseViewFieldOrderCommand']=_0x13066e,_0x22620f[_0x2b8d6a(0x50d)]=_0x3e90d8,_0x22620f[_0x2b8d6a(0x400)]=_0x1b35fa,_0x22620f['SetBaseViewFilterCommand']=_0x435723,_0x22620f[_0x2b8d6a(0x2ac)]=_0x3bc02d,_0x22620f['SetBaseViewSortCommand']=_0x5bf3c2,Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x27b),{'enumerable':!0x0,'get':function(){return _0x380e1d;}}),Object[_0x2b8d6a(0x2c1)](_0x22620f,_0x2b8d6a(0x32c),{'enumerable':!0x0,'get':function(){return _0x9d42eb;}}),_0x22620f[_0x2b8d6a(0x5d2)]=_0x188f06,_0x22620f['UpdateBaseFieldCommand']=_0x1710aa,_0x22620f['UpdateBaseFieldDescriptionCommand']=_0x1143aa,_0x22620f[_0x2b8d6a(0x30b)]=_0x5df868,_0x22620f[_0x2b8d6a(0x374)]=_0x1c8a84,_0x22620f[_0x2b8d6a(0x4f7)]=_0x3e585a,_0x22620f['UpdateBaseViewConfigCommand']=_0x3a3835,_0x22620f[_0x2b8d6a(0x34a)]=_0x45b313,_0x22620f[_0x2b8d6a(0x5c3)]=_0x3ded3a,_0x22620f[_0x2b8d6a(0x3d0)]=_0x3760a3,_0x22620f[_0x2b8d6a(0x376)]=_0x50af88,_0x22620f[_0x2b8d6a(0x540)]=_0x1484ec,_0x22620f[_0x2b8d6a(0x588)]=_0x25ed49,_0x22620f[_0x2b8d6a(0x27d)]=_0xb95036,_0x22620f[_0x2b8d6a(0x317)]=_0x3df43c,_0x22620f[_0x2b8d6a(0x3e7)]=_0x1b767c,_0x22620f[_0x2b8d6a(0x592)]=_0x45d0ec,_0x22620f[_0x2b8d6a(0x306)]=_0x2a62da,_0x22620f['createEmbedBasesTableRemoveMutation']=_0x4111b6,_0x22620f[_0x2b8d6a(0x5d1)]=_0x30ddf4,_0x22620f['dateToExcelSerial']=_0x7aca16,_0x22620f[_0x2b8d6a(0x438)]=_0x162a7a,_0x22620f['ensureBaseTableCellLayout']=_0x5d33ae,_0x22620f[_0x2b8d6a(0x2ad)]=_0x39ea47,_0x22620f[_0x2b8d6a(0x45d)]=_0x1e8f43,_0x22620f['formatBaseFieldStatValue']=_0xc9d220,_0x22620f[_0x2b8d6a(0x436)]=_0x548c9b,_0x22620f[_0x2b8d6a(0x52e)]=_0x5c4434,_0x22620f['getActiveBaseHierarchyFieldIds']=_0x4c7235,_0x22620f[_0x2b8d6a(0x1ca)]=_0x1926ea,_0x22620f[_0x2b8d6a(0x293)]=_0x4bd91a,_0x22620f['getBaseConditionalColorOperators']=_0x78a559,_0x22620f[_0x2b8d6a(0x3ef)]=_0xbd25,_0x22620f['getBaseFieldPermissionObjectId']=_0xe7abbf,Object['defineProperty'](_0x22620f,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x3d8b25=_0x2b8d6a;return _0xcf3cf2[_0x3d8b25(0x40c)];}}),_0x22620f[_0x2b8d6a(0x288)]=_0x3b968d,_0x22620f[_0x2b8d6a(0x564)]=_0xb51e67,_0x22620f[_0x2b8d6a(0x43b)]=_0x3aa462,_0x22620f['getBaseRecordPermissionObjectId']=_0x19d6d6,_0x22620f[_0x2b8d6a(0x1e7)]=_0x20afd2,_0x22620f[_0x2b8d6a(0x56c)]=_0x1592c3,_0x22620f[_0x2b8d6a(0x567)]=_0x391f91,_0x22620f[_0x2b8d6a(0x22d)]=_0x1181e2,_0x22620f[_0x2b8d6a(0x593)]=_0x54261d,_0x22620f[_0x2b8d6a(0x447)]=_0x1bf480,_0x22620f[_0x2b8d6a(0x30d)]=_0x16d4c2,_0x22620f[_0x2b8d6a(0x36d)]=_0x3e1fd0,_0x22620f['isBaseFieldStatSupported']=_0x3e70c5,_0x22620f[_0x2b8d6a(0x5bc)]=_0x27e0f6,_0x22620f['isBaseHierarchyField']=_0x4d880f,_0x22620f[_0x2b8d6a(0x55b)]=_0x251223,_0x22620f[_0x2b8d6a(0x23c)]=_0x357854,_0x22620f[_0x2b8d6a(0x53d)]=_0x21d088,_0x22620f[_0x2b8d6a(0x430)]=_0x5182d6,_0x22620f['normalizeBaseFieldStatsConfig']=_0x2f722e,_0x22620f[_0x2b8d6a(0x507)]=_0xcf5891,_0x22620f[_0x2b8d6a(0x513)]=_0xf3e46d,_0x22620f['resolveBaseDateFieldConfig']=_0x14d9da,_0x22620f[_0x2b8d6a(0x289)]=_0x4f5050,_0x22620f[_0x2b8d6a(0x609)]=_0x1abd11,_0x22620f[_0x2b8d6a(0x5a2)]=_0x4e21e1,_0x22620f[_0x2b8d6a(0x506)]=_0x47d3ab,_0x22620f[_0x2b8d6a(0x3e4)]=_0x270cb9,_0x22620f[_0x2b8d6a(0x5bf)]=_0x4baece,_0x22620f[_0x2b8d6a(0x451)]=_0x5af319,_0x22620f[_0x2b8d6a(0x555)]=_0x5a84fb,_0x22620f[_0x2b8d6a(0x2d6)]=_0x441a71,_0x22620f[_0x2b8d6a(0x3c1)]=_0x4908a1,_0x22620f[_0x2b8d6a(0x2ee)]=_0x5696c8,_0x22620f[_0x2b8d6a(0x1f8)]=_0x456626,_0x22620f[_0x2b8d6a(0x408)]=_0x3f95e1,_0x22620f['validateRecordLinkValue']=_0x3bd7ca;}));function _0x508a(){const _0x1705b2=['base.command.set-base-view-group','getBaseHierarchyFieldId','Checked','_canUseFastSort','getRecordLinkFieldConfig','YYYY/MM/DD','Module','JSONX','updateField','getBaseViewPermissionObjectId','frozenFieldCount','IUniverInstanceService','setViewFieldOrder','date','start','_projectionCache','BaseProjection.projectTableRows','#FDE68A','RemoveSuperTableMutation','fieldIndex','updateRecordOrder','deepClone','createdBy','kanban','editable','setRangeValues','_projectGroups','recordId','DESC','fieldId','editCell','keys','quarter','base.command.set-base-view-field-width','[BaseCommandService]:\x20field\x20\x22','createIdentifier','toPlainText','compressBaseRangeValuesPayload','_createNumberingAllocator','_getHierarchyIndex','_patchCachedProjectedRows','Base','_normalizeCellValue','code','afterFieldId','medium','max','createEmbedBasesTable','getVisibleBaseHierarchyRows','removeOp','deleteRecords','_applier','JSON1','canDeleteRecord','month','_executeSuperTableMutationWhileActive','formatToParts','beforeCommandExecuted','getInstance','_getViewRevision','_buildGallery','check','_config','searchBaseTable','config','replace','invertOp','[BaseField]:\x20invalid\x20email\x20value.','recordPatch','CreateBaseFieldCommand','setBasePermission','commaPeriod','recordOrder','A\x20table\x20with\x20this\x20name\x20already\x20exists.','status','MM/DD/YYYY','tableOrder','_viewRowsCacheKey','includeTime','recordIds','Uncategorized','base.command.set-base-view-field-visible','YYYY-MM-DD','Number','_setCachedProjection','updatedAt','setViewFilter','createDefaultConfig','displayText','isBaseFieldStatType','fromChangeset','_isColorfulKanbanGroupField','traceBasePerformance','[BaseCommandService]:\x20cannot\x20manage\x20view.','Numbering','fieldName','baseDateSerialToDateMs','_resolveKanbanCoverFieldId','orderedRecordIds','snapshot','clearTablePermission','createDeleteRecordsUndoOp','Base\x20edit\x20permission\x20denied.','small','IUndoRedoService','options','base.command.','bases.fieldConfig.textPlaceholder','_factory','flatMap','createUniqueBaseTableName','UpdateBaseCellCommand','base.permission.service','base.command.set-base-kanban-group-field','progressFieldId','base-snapshot-v1','_instanceService','_resolveKanbanGroupFieldId','toStringTag','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','ErrorService','delete-view','duplicateRecord','isValidBaseRecordId','updateCell','_resolveGanttDateFieldId','IS_EMPTY','_getTableRevision','excelDateTimeSerial','_normalizeGanttDisplayColor','cellRevision','rows','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','symbol','separatorStyle','_setViewFieldSetting','Table','codePointAt','invalidReasonByRecordId','_activeDirtyManagerService','hostAnchorId','createTable','flat','after','protocol','base.command.delete-base-record','setViewPermission','decimalPlaces','timeZone','Checkbox','replaceOp','DD/MM/YYYY','_rowTransformCacheSegment','title','Facade','[BaseCommandService]:\x20cannot\x20edit\x20table.','@univerjs-pro/engine-formula','join','rowIndexById',',,\x22M\x22','base.mutation.set-permission-rules','INIT','SetBasePermissionRulesMutation','FormulaResultApplicationType','undefined','viewId','resolveBaseRangeHierarchyPatches','workingDays','getFullYear','Plugin','Parent','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_normalizeGalleryConfig','_baseSyncDisposables','setViewFieldVisible','this-row','_views','descendPath','550377ElsyyD','getBaseCellFormulaValue','col','type','createRecords','UnitAction','embed-ui','Disposable','doing','base.command.create-base-table','_ganttBarColor','[BaseCommandService]:\x20cannot\x20delete\x20record.','registerCtorForType','add',':start','4526310QmXVHO','_runtimeContext','#16a34a','_cacheKey','canEditRecord','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','-field-name','conjunction','Calendar','__base_hierarchy_parent__','majorHeaders','\x20permission\x20denied.','BaseView','operator','unitOtherData','getBaseTablePermissionObjectId','ICommandService','attachments','from','[RecordLink]:\x20field\x20config\x20is\x20invalid.','hasOwnProperty','Date1900','_groupConfigCacheSegment','_viewRevisions','isInteger','deleteTable','required','gantt','IBaseViewRegistryService','colIndex','Injector','BaseProjection.projectRows','validateCanonicalRecordLinkValue','localeCompare','format','children','abbreviation','general','locale','base.command.update-base-field','getBase','_replaceOptional','number','Choose\x20another\x20name.','_filterSortFieldIds','usableAsGanttStart','resolvedOptions','groups','now','Invalid\x20object\x20permission\x20batch.','_permissionService','Comment','[RecordLink]:\x20target\x20record\x20\x22','unitId','score','some','subscribe','tableRevision','_configService','deleteView','FormulaCalculationSessionService','AFTER','action','_formulaSyncQueue','[BaseField]:\x20invalid\x20phone\x20value.','size','done','moveField','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','color','lastIndex','\x20has\x20unsupported\x20target\x20\x22','Text','_projectHierarchyGroups','_formulaService','BaseRecordLinkRole','exists','_recordPermissions','validateFormula','lessThan','Gantt','base.command.delete-base-table','Rating','set','find','getSupportedBaseFieldStatTypes','multiple','leftPaneWidth','base.command.update-base-view-conditional-color-rules','exact','markResultApplied','BASE','_commandService','getAffectedRanges','cycle','_isAllowedKanbanGroupField','setBaseName','fieldSettings','setConfig','reduce','matchesBaseCondition','_createNumberingAllocators','CommandType','attachmentSet','object','Edit','dateFormat','_getCurrentUserId','has','Cycle','_tableBaseIds','_filterRows','getTypePlugin','targetTableId','5091430cvKhOA','Link','BaseJson1OpApplier','beforeFieldId','sort','base.command.move-base-field','test','DateSystem','usableAsGanttEnd','base.command.update-base-kanban-config','_plugins','Tools','percent','_matchesGanttColorRule','_initRegistries','groupFieldId','_hierarchyIndexCache','SetBasePermissionRuleMutation','Start\x20date','getTime','Formula','_bumpTableRevision','baseRows','globalRevision','CONTAINS','_scheduledSuperTableSyncs','BaseConditionalColorTarget','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','calendar','indexOf','setSnapshot','abs','hourCycle','base.command.validate-formula','limit','startsWith','greaterThan','all','createRegExpFromSafeFragment','entries','@univerjs/core','setViewGroup','https:','then','lessThanOrEqual','BASE_TABLE_NAME_REQUIREMENTS','mark','SetBaseNameCommand','system','UniverBasesPlugin','MissingParent','copyBaseTableSnapshot','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_clearObjectEdit','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','order','params','finally','remote','_setAttachmentResources','getUnitType','base.command.delete-base-field','getBaseHierarchyDeletePromotions','resolveBaseHierarchyFieldId','dateKit','_getCachedProjection','#3b82f6','IS_NOT_EMPTY','[BaseFormula]:\x20table\x20\x22','Todo','option-','_clearUnit','#,##0.00','getBaseCellValue','\x22\x20does\x20not\x20exist.','index','BaseHierarchyInvalidReason','BaseRecord','formulaName','includes','rowIndex','createCreateFieldOp','_registerUnitPermissionPoints','_createSystemFieldValuePatches','toLocaleString','call','_groupCellInvalidations','isArray','_title','cellData','invalidDateField','base.command.move-base-view','createUnit','_disposed','lastWeek','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','changed','conditionalColoring','SetBaseViewGroupCommand','findRecordLinkReferences','$1\x20','day','isFinite','undo','pushUndoRedo','endDateFieldId','_applyingFormulaResults','BaseDashboard','base.command.update-base-cell','star','duplicateField','isValid','_createNumberingFieldValuePatches','[DeleteBaseTableCommand]:\x20table\x20\x22','href','clearFieldPermission','getAllBases','UNIVER_BASE','IPermissionService','defineProperty','Add','MoveBaseFieldCommand','map','todo','canDeleteField','week','Import','sequenceExecute','_sortRows','periodComma','base.command.update-base-view-config','base.view-registry.service','missingField','h12','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','primaryFieldName','renameView','[BaseField]:\x20invalid\x20person\x20value.','columnSettings','_initDependencies','validateBaseHierarchyRecordCreations','BASE_HIERARCHY_MAX_LEVELS','_basePermissions','Date','BaseProjection.materializeTableRows','label','_deleteAttachmentResources','generateRandomId','relationRole','COLUMN','BaseProjection.getProjection','getStructuredDependencies','BASE_HIERARCHY_PARENT_FIELD_ID','SingleSelect','views','user','view','reason','[BaseCommandService]:\x20cannot\x20create\x20record.','thread-comment.mutation.','_assertFieldDefinition','parentFieldName','[BaseFormula]:\x20table\x20does\x20not\x20exist.','getAll','validateBaseTableName','pop','_normalizeCalendarConfig','BaseConditionalColorOperator','canEditField','searchTexts','ascend','members','attachment','lastMonth','UniverInstanceType','weekdays','pluginName','showTodayLine','key',':end','function','url','unknown','invalid-characters','Delete','MUTATION','base.mutation.apply-base-json1','UpdatedAt','createEmbedBasesTableAddMutation','cardLayout','BaseProjection.projectGroups','push','_resolveKanbanCardFieldIds','UpdateBaseKanbanConfigCommand','data','isBaseConditionalColorDateField','readonly','@univerjs-pro/bases','round','displayFieldId','base.command.service','base.resource.service','createBaseFormulaTableNameMap','IS_NOT','_getKanbanConfiguredLanes','createBaseHierarchyParentField','isBaseRecordIdFieldName','changeFieldType','raw','collaborators','startDateFieldId','_tableRevisions','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','Gallery','every','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','stringify','amd','base.command.create-base-record','rootRecordIds','hierarchy','_getJson1DirtyData','Phone','ColorKit','_fieldRegistry','deleteField','UniverRemoteBasesPlugin','_calendarEventColor','getDay','dateMode','MissingRecord','renameTable','_materializeGroups','descend','defaultValue','1151672LLMQfK','MultiSelect','parentByRecordId','[BaseCommandService]:\x20invalid\x20cell\x20value.','split','usableAsCardCover','[BaseCommandService]:\x20cannot\x20delete\x20field.','diffValue','_materializeFormulaTableNames','strategies','timeslotSize','orderKey','_groupsCacheKey','path','createSuperTableReference','spacePeriod','_buildGantt','parentRecordId','createCreateRecordOp','value','updatedBy','ValidateBaseFormulaCommand','COMMAND','21lZYrOe','depthByRecordId','RecordLink','CreatedBy','getCurrentUnitOfType','getCurrentUserId','_projectFields','manual','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','filter','getMonth','source','unshift','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','False','canCreateField','DependentOn','ApplyBaseJson1Mutation','base.command.batch-create-base-records','manageView','base.command.change-base-field-type','_projectTableRows','BaseConditionalDateMode','before','unitData','getAllUnitsForType','apply','card','toDisposable','rowId','[BaseCommandService]:\x20record-id\x20is\x20reserved.','autoIncrement','past7','isBaseFieldStatEmptyValue','_resolveGalleryCardFieldIds','SetFormulaCalculationResultMutation','_resolveGalleryCoverFieldId','blue','Grid','_getSystemFieldValue','UpdateBaseRecordOrderCommand','RenameBaseTableCommand','calculateBaseFieldStat','spaceComma','_setObjectEdit','\x20must\x20have\x20a\x20non-empty\x20id.','changes','record/','empty','compress','operand','registerSyncingMutations','canCreateTable','fromPlainText','True','IConfigService','Done','deletePermissionPoint','SetBaseRecordValuesCommand','recordNamePrefix','SetBaseKanbanGroupFieldCommand','redo','records','FieldId','\x20has\x20unsupported\x20date\x20mode\x20\x22','SetBaseTableHierarchyFieldCommand','_projectedRowsCache','oldParentRecordId','version','registerCommand','ObjectPermissionService','_canEditTable','Remote','text','updatePermissionPoint','width','_buildCalendar','DeleteBaseFieldCommand','tryMaterializeSnapshot','patches','_projectedViewRowsCache','DeleteBaseRecordCommand','tomorrow','import','SetBasePermissionsCommand','exceptions','missingRecord','canDeleteTable','setTablePermission','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','fromEntries','fromCollab','emitPermissionDenied','excelSerialToDateTime','_globalRevision','CreateBaseTableCommand','[BaseFormula]:\x20field\x20\x22','getUTCDay','base.command.set-base-range-values','validate','@univerjs-pro/license','prototype','BaseDataModel','matchAll','UpdatedBy','fields','BASE_FIELD_STAT_TYPES','NUMBER','view/','ObjectMatrix','[BaseCommandService]:\x20invalid\x20field\x20definition.','decorate','_isCalendarDateField','Yes','9VyXBJX','Unchecked','facade','validateBaseHierarchyRecordPatches','record','register','BaseJson1.cloneForOp','target','_isAllDayGanttDateRange','BaseCommand.createBatchCreateRecordsOp','BaseViewType','_initialize','_formulaCalculationSessionService','owner','PermissionStatus','createSetRecordValuesOp','WriteCursor','_getAllBaseDependencyTreeCacheMap','buildBaseHierarchyIndex','[BaseHierarchy]:\x20field\x20\x22','\x22\x20is\x20referenced\x20by\x20','base.command.create-base-field','length','Person','base.command.set-permissions','tables','Currency','afterViewId','FORCE_STRING','trigger','onStarting','leftPaneCollapsed','slice','selectField','createViewId','_buildKanban','tableId','Copy','setBasePermissionValue','cardSize','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','createDefaultBaseTableSnapshot','_getTablesToNormalize','_initDataSync','string','_withModifiedSystemValues','rule','createField','_formulaCalculationTriggerService','getBaseDashboardPermissionObjectId','insertOp','getUTCMonth','_enqueueFormulaSync','local','1115974iVKlDC','UniverCore','Use\x2031\x20characters\x20or\x20fewer.','Doing','_normalizeCalendarDisplayColor','_getOrderedRecords','Group','createRecord','1959868PZOkNs','objectId','packageName','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','SetBaseViewFieldWidthCommand','BatchCreateBaseRecordsCommand','toLowerCase','11bGIVrp','values','numfmt','base.command.set-base-view-sort','_toDirtyRangePatch','validateRecordLinkField','_normalizeGanttConfig','UnitObject','isNaN','getBaseFormulaTableName','rules','_projectRows','_viewPermissions','scale','UniverProtocol','h:mm\x20a','CreatedAt','_check','kind','_syncSuperTables','edit','UTC','base.command.set-base-record-values','basePerf','_resolveCardTitleFieldId','_buildGrid','direction','pattern','_canEdit','_apply','en-US','_tablePermissions','notContains','[BaseProjectionService]:\x20missing\x20view\x20\x22','getUnit','DataSyncPrimaryController','BaseProjection.filterAndSortRows','SelfParent','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_deleteRecordsBaseOp','at\x20index\x20','mode','exception-','MaxDepth','UniverLicensePlugin','normalizeBaseDateSerial','canEditTable','HH:mm','h24','[RecordLink]:\x20display\x20field\x20\x22','BaseFieldType','formatBaseNumberValue','year','decompressBaseRangeValuesPayload','IBaseProjectionService','setViewSort','getBasePermissionValue','invalidField','REMOTE_BASES_PLUGIN','getSnapshot','\x22\x20with\x20field\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20field.','#14b8a6','clear','1ESjEZa','Export','_getStructureDirtyTableIds','getUTCFullYear','inferBaseSeparatorStyle','Attachment','invertWithDoc','none','deleteRecord','[BaseCommandService]:\x20cannot\x20edit\x20record.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','getCurrentUser','_syncBaseUnit','Table\x20name\x20is\x20required.','uniqueFieldName','__all__','Kanban','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Progress','name','UniverRpc','forEach','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','true','Empty','findIndex','formatBaseDateValue','column','touchDependencies','_isGanttDateField','BASES_PLUGIN','filled','getPermissionPoint','syncUnit','objectType','policy','registerView','MoveBaseViewCommand','BaseField','sortedView','LESS_THAN','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','RecordId','UNIVER_EMBED_BASES_TABLE','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','executeCommand','delete','_rememberTable','General','BaseJson1OpFactory','Parent\x20Items','_getAllTableIds','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','trim','Undo','_cellInvalidationsTouchFields','exports','valid','_setFormulaFieldCells','unique','selfParent','subtreeHeightByRecordId','resources','BEFORE','group','remove','useThousands','_injector','univer.basePerf','BaseHierarchyErrorCode','base-range-values-v1','[BaseField]:\x20invalid\x20multi-value\x20reference.','field','normal','short','currencySymbol','createView','#BFDBFE','base.fieldType.','createBatchCreateRecordsOp','bases.fieldConfig.linkPlaceholder','moveView','Ids','NOT_CONTAINS','invalidateByOp','today','viewOrder','base.command.ensure-base-temporal-view-date-fields','recordCount','_cellInvalidations','50966500BUnSAo','onCommandExecuted','_findCalendarDateFieldId','sum','CreateBaseChildRecordCommand','base.command.update-base-field-description','thumbnail','base.command.delete-base-view','fieldIds','level','long','_getTable','updateViewConfig','fieldOrder','base-perf-','__UNIVER_BASE_PERF__','invalid','base.field-registry.service','table','tableName','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','fld-','primaryFieldId','lastIndexOf','syncExecuteCommand','compose','getUTCDate','@univerjs/rpc','forValue','base.viewType.grid','BaseFilterConjunction','_patchProjectedRowsForCellInvalidations','valueOf','includeRecords','getUnitId','cell','Email','onlyLocal','base.projection.service','_createRecordWithDefaults','displayColor','count','\x22.\x20Allowed\x20operators:\x20','_onCommandExecuted','base.command.duplicate-base-field','clearViewPermission','colorFieldId','false','regexp','titleFieldId','_isNonEmptyCellValue','refactorFormulaUnitQualifier','isNot','coverFieldId','_kanbanGroupKeys','_removeSuperTables','renameFormulaUnitReferences','addPermissionPoint','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','error','info','base-perf','createUpdateCellOp','SetSuperTableMutation','_dataSyncPrimaryController','colId','merge','\x22\x20is\x20not\x20registered.','_findKanbanGroupField','hidden','_isAllDayCalendarEvent','invalidGroupField','toPrimitive','base.command.create-base-view','assign','nodes','workingDaysOnly','BaseConditionalColorRuleUpdateType','endsWith','\x20has\x20unsupported\x20operator\x20\x22','allowMultiple','conditions','get','min','ruleId','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Inject','UniverProFormulaEnginePlugin','_univerInstanceService','UpdateBaseViewConditionalColorRulesCommand','base.command.create-base-child-record','setRules','allocateBaseFormulaTableName','depth','CustomCommandExecutionError','invalidateByView','formula','#,##0','_viewRevisionKey','CellValueType','gridViewId','getSuperTableRegistrations','DuplicateBaseFieldCommand','_cellRevisions','serializeRecordLinkIds','parseRecordLinkIds','BOOLEAN','BASE_RECORD_ID_FIELD_ID','IBaseCommandService','setViewFieldWidth','canManageView','SetBaseViewFieldVisibleCommand','average','SetTriggerFormulaCalculationStartMutation','[BaseHierarchy]:\x20','boolean','conditional','projectBaseHierarchy','onReady','_registeredSuperTableNames','STRING','iterator','CreateBaseViewCommand','Status','_fastSortRows','yyyy/mm/dd','[BaseField]:\x20invalid\x20date\x20value.','dispose','_recordIds',',\x22K\x22','_kanbanLaneColor','ChangeBaseFieldTypeCommand','maxDepth','[BaseCommandService]:\x20cannot\x20delete\x20table.','showFieldNames','End\x20date','end','apostrophe','getTypeOfUnitDisposed$','_projectedGroupsCache','_createRecordOrderOp','attachmentSets','clearBasePermission','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','formatBaseProgressValue','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_T_','bases.remote.config','working','next7','off','MMM\x20D,\x20YYYY','setRecordValues','DeleteView','projection','_capabilities',',,,\x22B\x22','revision','Working\x20day','normalizeBaseDateFieldConfig','row','_resolveBaseId','canEditBaseTargets','custom','getTypeOfUnitAdded$','usableAsCalendarDate','focusUnit','\x20cannot\x20use\x20operator\x20\x22','_applyFormulaResult','Clear','duplicate','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','Name','disposeWithMe','BASE_OBJECT_PERMISSION_PLUGIN','beforeViewId','applyOp','description','BaseHistoryAction','clearUnit','subType','_fieldPermissions','too-long','validateBaseHierarchyMove','create-view','canCreateRecord','pickerFieldIds','_getCellRevision','_resolveCalendarDateFieldId','isCompressedBaseRangeValuesPayload','unsubscribe','_kanbanLaneTitle','SetBaseRangeValuesCommand','[BasePerf]\x20','BaseTable','_scheduleSuperTableSync','createdAt'];_0x508a=function(){return _0x1705b2;};return _0x508a();}