@univerjs-pro/bases 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5670e0=_0x4f53;(function(_0x28ee12,_0x5f5dc3){const _0x2a7d12=_0x4f53,_0x3b7658=_0x28ee12();while(!![]){try{const _0x5edd9d=parseInt(_0x2a7d12(0x25e))/0x1+-parseInt(_0x2a7d12(0x22a))/0x2+parseInt(_0x2a7d12(0x27f))/0x3*(-parseInt(_0x2a7d12(0x3b3))/0x4)+parseInt(_0x2a7d12(0x284))/0x5*(-parseInt(_0x2a7d12(0x2bd))/0x6)+parseInt(_0x2a7d12(0x215))/0x7*(parseInt(_0x2a7d12(0x1e9))/0x8)+-parseInt(_0x2a7d12(0x414))/0x9*(-parseInt(_0x2a7d12(0x1f7))/0xa)+-parseInt(_0x2a7d12(0x14f))/0xb*(-parseInt(_0x2a7d12(0x2e3))/0xc);if(_0x5edd9d===_0x5f5dc3)break;else _0x3b7658['push'](_0x3b7658['shift']());}catch(_0xe801d0){_0x3b7658['push'](_0x3b7658['shift']());}}}(_0x1ee8,0x649de));import{BASE_RECORD_ID_FIELD_ID as _0x32decc,BaseConditionalColorOperator as _0x4d7aa6,BaseConditionalColorTarget as _0x15ad00,BaseConditionalDateMode as _0x511cc3,BaseDataModel as _0x5bbe04,BaseFieldType as _0x4fe15f,BaseFilterConjunction as _0x55f09b,BaseHierarchyInvalidReason as _0x244f2c,BaseRecordLinkRole as _0x309088,BaseSortDirection as _0x4b3f27,BaseViewType as _0x528e48,CellValueType as _0x319a08,ColorKit as _0x11ff7e,CommandType as _0x21089e,CustomCommandExecutionError as _0x37916c,DateSystem as _0x4e0c74,DependentOn as _0x16f0c9,Disposable as _0x29abb3,ErrorService as _0x2fce34,ICommandService as _0x228e7e,IConfigService as _0x3253e1,IPermissionService as _0x5b6ee9,IResourceManagerService as _0x83427d,IUndoRedoService as _0x1c7439,IUniverInstanceService as _0x2853e0,Inject as _0x72259,Injector as _0x6fca8,JSON1 as _0x23944c,JSONX as _0x346613,ObjectMatrix as _0x1bec6e,ObjectPermissionRuleModel as _0x2f9b21,ObjectPermissionService as _0x33f458,Optional as _0x198e1b,PermissionStatus as _0x1bd3e8,Plugin as _0x2b207c,Tools as _0x4bf94a,UniverInstanceType as _0x1bf49d,allocateBaseFormulaTableName as _0x45021d,assertBaseTableRecordIdentity as _0x4a6ff9,createBaseFormulaTableNameMap as _0x13e931,createBaseRecordIdField as _0x4ab3a7,createIdentifier as _0x39c797,dateKit as _0x225fb2,excelDateTimeSerial as _0x3bf7f8,excelSerialToDateTime as _0x3f3713,generateRandomId as _0xeb2e0b,getBaseFormulaTableName as _0x3f654d,isBaseRecordIdFieldName as _0x1fb0f2,isValidBaseRecordId as _0x1fbc25,merge as _0x31d5ee,nameCharacterCheck as _0x459694,numfmt as _0x1f324e,regexp as _0x5eb4e5,sequenceExecute as _0x2182cb,toDisposable as _0x1abac0,touchDependencies as _0x330981}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x3ffd23,IActiveDirtyManagerService as _0x132141,RemoveSuperTableMutation as _0x43e1b6,SetFormulaCalculationResultMutation as _0x5c34ce,SetSuperTableMutation as _0x12cd84,SetTriggerFormulaCalculationStartMutation as _0x30cec2,UniverProFormulaEnginePlugin as _0x39e97d,refactorFormulaUnitQualifier as _0x26fb47}from'@univerjs-pro/engine-formula';import{UnitAction as _0x5ebf52,UnitObject as _0x2d9d6e}from'@univerjs/protocol';import{UniverLicensePlugin as _0x8bcba}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x5a2a09}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x59542a,FormulaResultApplicationType as _0x30a4a7}from'@univerjs/engine-formula';function N(_0x572b99){const _0x339432=_0x4f53;let _0x2faf01=_0x572b99[_0x339432(0x407)][_0x339432(0x326)],_0x42a99b=_0x572b99[_0x339432(0x407)][_0x339432(0x2ae)],_0x2ab7e2=_0x572b99[_0x339432(0x407)][_0x339432(0xc6)],_0x47cc5c=_0x572b99['config'][_0x339432(0x254)],_0x1b648b=_0x572b99[_0x339432(0x407)][_0x339432(0x1bc)];return typeof _0x2faf01!='string'||!_0x2faf01||typeof _0x42a99b!=_0x339432(0x168)||_0x2ab7e2!==void 0x0&&(typeof _0x2ab7e2!=_0x339432(0x2dc)||!_0x2ab7e2)||_0x1b648b!==void 0x0&&_0x1b648b!==_0x309088[_0x339432(0x1e0)]||_0x47cc5c!==void 0x0&&(!Array['isArray'](_0x47cc5c)||_0x47cc5c[_0x339432(0x1c1)](_0x3d71b7=>typeof _0x3d71b7!=_0x339432(0x2dc)||!_0x3d71b7)||new Set(_0x47cc5c)[_0x339432(0x268)]!==_0x47cc5c[_0x339432(0x19b)])?null:{'targetTableId':_0x2faf01,'multiple':_0x42a99b,..._0x2ab7e2?{'displayFieldId':_0x2ab7e2}:{},..._0x47cc5c?{'pickerFieldIds':[..._0x47cc5c]}:{},..._0x1b648b?{'relationRole':_0x1b648b}:{}};}function Le(_0x111bce){const _0x2b6758=_0x4f53;return typeof _0x111bce!=_0x2b6758(0x2dc)||_0x111bce===''?[]:_0x111bce[_0x2b6758(0x12f)](',');}function Re(_0x15824){const _0xeeefc4=_0x4f53;return Array[_0xeeefc4(0x162)](new Set(_0x15824))['join'](',');}function ze(_0x366f99,_0x1dfacb){const _0x56313a=_0x4f53;if(typeof _0x366f99!=_0x56313a(0x2dc))return{'valid':!0x1,'reason':_0x56313a(0x3ef)};if(_0x366f99==='')return{'valid':!0x0};let _0x255de5=_0x366f99[_0x56313a(0x12f)](',');return!_0x1dfacb&&_0x255de5[_0x56313a(0x19b)]>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x255de5[_0x56313a(0x1c1)](_0x943464=>!_0x1fbc25(_0x943464))||new Set(_0x255de5)[_0x56313a(0x268)]!==_0x255de5[_0x56313a(0x19b)]||Re(_0x255de5)!==_0x366f99?{'valid':!0x1,'reason':_0x56313a(0x1c3)}:{'valid':!0x0};}function Be(_0x348440,_0xef2f02){const _0x417e07=_0x4f53;if(_0xef2f02['type']!==_0x4fe15f['RecordLink'])return{'valid':!0x0};let _0x53da73=N(_0xef2f02),_0x3cb472=_0x53da73?_0x348440[_0x417e07(0x41c)][_0x53da73[_0x417e07(0x326)]]:void 0x0;if(!_0x53da73||!_0x3cb472)return{'valid':!0x1,'reason':_0x417e07(0x110)};let _0x139fbc=[..._0x53da73['displayFieldId']?[_0x53da73[_0x417e07(0xc6)]]:[],..._0x53da73[_0x417e07(0x254)]??[]][_0x417e07(0x361)](_0x4b0300=>{const _0x107adf=_0x417e07;let _0x447098=_0x3cb472[_0x107adf(0x2cb)][_0x4b0300];return!_0x447098||_0x447098[_0x107adf(0x13a)]===!0x0||_0x447098[_0x107adf(0xeb)]===_0x4fe15f['RecordId'];});return _0x139fbc?{'valid':!0x1,'reason':_0x417e07(0x2ba)+_0x139fbc+_0x417e07(0x315)}:{'valid':!0x0};}function Ve(_0x4955e2,_0x1eb55a,_0x3433f0,_0x2407aa={}){const _0x4cb08f=_0x4f53;let _0x4076e4=N(_0x1eb55a);if(_0x1eb55a[_0x4cb08f(0xeb)]!==_0x4fe15f['RecordLink']||!_0x4076e4)return{'valid':!0x1,'reason':_0x4cb08f(0x1a6)};let _0x464e57=ze(_0x3433f0,_0x4076e4[_0x4cb08f(0x2ae)]);if(!_0x464e57[_0x4cb08f(0x246)]||_0x2407aa['allowDangling'])return _0x464e57;let _0x5f4a99=_0x4955e2['tables'][_0x4076e4['targetTableId']];if(!_0x5f4a99)return{'valid':!0x1,'reason':_0x4cb08f(0x110)};let _0x591033=Le(_0x3433f0)['find'](_0x3b1f28=>!_0x5f4a99[_0x4cb08f(0x83)][_0x3b1f28]);return _0x591033?{'valid':!0x1,'reason':_0x4cb08f(0x3a3)+_0x591033+_0x4cb08f(0x401)}:{'valid':!0x0};}function He(_0x42e9dc,_0x4ad566){const _0x2924f5=_0x4f53;return Object[_0x2924f5(0x1c8)](_0x42e9dc[_0x2924f5(0x41c)])[_0x2924f5(0x98)](_0x4a1584=>Object[_0x2924f5(0x1c8)](_0x4a1584[_0x2924f5(0x2cb)])[_0x2924f5(0x98)](_0x3f9611=>{const _0x4c337c=_0x2924f5;let _0x2cdae8=_0x3f9611['type']===_0x4fe15f[_0x4c337c(0x36f)]?N(_0x3f9611):null;return(_0x2cdae8==null?void 0x0:_0x2cdae8[_0x4c337c(0x326)])===_0x4ad566?[{'tableId':_0x4a1584['id'],'fieldId':_0x3f9611['id']}]:[];}));}const Ue=0x5,We='__base_hierarchy_parent__';let Ge=function(_0x2cec2b){const _0x1791ba=_0x4f53;return _0x2cec2b[_0x1791ba(0x28f)]=_0x1791ba(0x11d),_0x2cec2b[_0x1791ba(0x2f5)]=_0x1791ba(0x32d),_0x2cec2b['SelfParent']='selfParent',_0x2cec2b[_0x1791ba(0x355)]=_0x1791ba(0xfb),_0x2cec2b[_0x1791ba(0x3ad)]=_0x1791ba(0x245),_0x2cec2b[_0x1791ba(0x13d)]=_0x1791ba(0x3e7),_0x2cec2b;}({});var P=class extends Error{constructor(_0x32164f,_0x1fe62c=_0x5670e0(0x3d8)+_0x32164f){const _0x3ee237=_0x5670e0;super(_0x1fe62c),this[_0x3ee237(0x30d)]=_0x32164f,this[_0x3ee237(0x26f)]=_0x3ee237(0x342);}};let Ke=function(_0x2bab20){const _0x2c7319=_0x5670e0;return _0x2bab20['UI']='ui',_0x2bab20[_0x2c7319(0x30a)]=_0x2c7319(0x2fc),_0x2bab20[_0x2c7319(0x3dc)]='remote',_0x2bab20[_0x2c7319(0x10e)]=_0x2c7319(0x18b),_0x2bab20[_0x2c7319(0x2b7)]=_0x2c7319(0x41e),_0x2bab20[_0x2c7319(0x242)]='import',_0x2bab20;}({});function F(_0x128c50,_0x5182cd){const _0x269d40=_0x5670e0;if(!_0x5182cd)return!0x1;let _0x4475ec=_0x128c50[_0x269d40(0x2cb)][_0x5182cd];if(!_0x4475ec||_0x4475ec[_0x269d40(0xeb)]!==_0x4fe15f[_0x269d40(0x36f)])return!0x1;let _0xea25ff=N(_0x4475ec);return _0xea25ff?_0xea25ff[_0x269d40(0x326)]===_0x128c50['id']&&_0xea25ff['multiple']===!0x1:!0x1;}function qe(_0x4fa182){const _0x5323c1=_0x5670e0;return[..._0x4fa182[_0x5323c1(0x367)],...Object['keys'](_0x4fa182['fields'])['filter'](_0x45d1f5=>!_0x4fa182[_0x5323c1(0x367)]['includes'](_0x45d1f5))[_0x5323c1(0x249)]()][_0x5323c1(0x361)](_0x1d78c5=>{const _0x344981=_0x5323c1;var _0x25f244;return F(_0x4fa182,_0x1d78c5)?((_0x25f244=N(_0x4fa182['fields'][_0x1d78c5]))==null?void 0x0:_0x25f244[_0x344981(0x1bc)])===_0x309088['Parent']:!0x1;})??null;}function Je(_0x4ae563){const _0x110af1=_0x5670e0;let _0xfb1770=qe(_0x4ae563);if(_0xfb1770)return _0xfb1770;let _0x52a051=We,_0x535df6=0x2;for(;_0x4ae563[_0x110af1(0x2cb)][_0x52a051];)_0x52a051=We+'_'+_0x535df6++;return _0x52a051;}function Ye(_0xedbd49,_0x34f62b=Je(_0xedbd49),_0x4a5a33='Parent\x20Items'){const _0x2efe1c=_0x5670e0;return{'id':_0x34f62b,'name':_0x4a5a33,'type':_0x4fe15f['RecordLink'],'config':{'targetTableId':_0xedbd49['id'],'multiple':!0x1,'displayFieldId':_0xedbd49['primaryFieldId'],'pickerFieldIds':[_0xedbd49[_0x2efe1c(0x2d7)]],'relationRole':_0x309088[_0x2efe1c(0x1e0)]}};}function Xe(_0x4a0220){let _0x406b95=qe(_0x4a0220);return _0x406b95?[_0x406b95]:[];}function Ze(_0x4069f3,_0x5cd686){const _0x454a76=_0x5670e0;let _0x19d543=[...Xe(_0x4069f3)]['filter'](_0x1f49cf=>_0x5cd686[_0x454a76(0x1c1)](_0x236b99=>Object[_0x454a76(0x159)]['hasOwnProperty'][_0x454a76(0x321)](_0x236b99[_0x454a76(0x1c8)],_0x1f49cf)));if(!_0x19d543[_0x454a76(0x19b)])return[];let _0x4f5245={..._0x4069f3[_0x454a76(0x83)]};_0x5cd686[_0x454a76(0x143)](_0x17d046=>{const _0x4023a3=_0x454a76;let _0xda9e7b=_0x4f5245[_0x17d046['recordId']];_0xda9e7b&&(_0x4f5245[_0x17d046[_0x4023a3(0x191)]]={..._0xda9e7b,'values':{..._0xda9e7b[_0x4023a3(0x1c8)],..._0x17d046[_0x4023a3(0x1c8)]}});});let _0x507362={..._0x4069f3,'records':_0x4f5245},_0x4f4e73=[];return _0x19d543['forEach'](_0x561993=>{const _0x4a939d=_0x454a76;let _0x2b58a6=tt(_0x4069f3,_0x561993),_0x4b1819=tt(_0x507362,_0x561993);for(let [_0x328da3,_0x1a3174]of _0x4b1819[_0x4a939d(0x336)]){let _0x5efe91=_0x5cd686['some'](_0x58ae89=>_0x58ae89[_0x4a939d(0x191)]===_0x328da3&&Object[_0x4a939d(0x159)]['hasOwnProperty'][_0x4a939d(0x321)](_0x58ae89[_0x4a939d(0x1c8)],_0x561993));if(_0x2b58a6[_0x4a939d(0x336)][_0x4a939d(0x2db)](_0x328da3)!==_0x1a3174||_0x5efe91)throw new P($e(_0x1a3174));}_0x5cd686['forEach'](_0x5aae89=>{const _0x1f3b14=_0x4a939d;if(!Object[_0x1f3b14(0x159)][_0x1f3b14(0x127)][_0x1f3b14(0x321)](_0x5aae89['values'],_0x561993))return;let _0x519e0c=_0x2b58a6[_0x1f3b14(0x190)][_0x1f3b14(0x2db)](_0x5aae89[_0x1f3b14(0x191)])??null,_0x13ea9a=_0x4b1819[_0x1f3b14(0x190)][_0x1f3b14(0x2db)](_0x5aae89[_0x1f3b14(0x191)])??null;_0x519e0c!==_0x13ea9a&&_0x4f4e73[_0x1f3b14(0x393)]({'tableId':_0x4069f3['id'],'fieldId':_0x561993,'recordId':_0x5aae89[_0x1f3b14(0x191)],'oldParentRecordId':_0x519e0c,'parentRecordId':_0x13ea9a});});}),_0x4f4e73;}function Qe(_0x279a22,_0x34f6f6){const _0x444e35=_0x5670e0;let _0x526a9e=_0x34f6f6[_0x444e35(0x102)](_0x48f4ee=>_0x48f4ee['id']);if(new Set(_0x526a9e)['size']!==_0x526a9e[_0x444e35(0x19b)]||_0x526a9e[_0x444e35(0x1c1)](_0x2e7a89=>_0x279a22['records'][_0x2e7a89]))return[];let _0x665aa6=Xe(_0x279a22),_0xdf4c62=_0x665aa6[_0x444e35(0x19b)]?null:Je(_0x279a22),_0xd0dd59=[..._0x665aa6,..._0xdf4c62&&_0x34f6f6[_0x444e35(0x1c1)](_0x2ab26b=>Object[_0x444e35(0x159)][_0x444e35(0x127)][_0x444e35(0x321)](_0x2ab26b[_0x444e35(0x1c8)],_0xdf4c62))?[_0xdf4c62]:[]][_0x444e35(0x364)](_0x105887=>_0x34f6f6['some'](_0xd73119=>Object[_0x444e35(0x159)][_0x444e35(0x127)][_0x444e35(0x321)](_0xd73119[_0x444e35(0x1c8)],_0x105887)));if(!_0xd0dd59[_0x444e35(0x19b)])return[];let _0x3cffc3={..._0x279a22,'records':{..._0x279a22['records'],...Object[_0x444e35(0x3a7)](_0x34f6f6[_0x444e35(0x102)](_0x1dedc9=>[_0x1dedc9['id'],_0x1dedc9]))},'recordOrder':[..._0x279a22[_0x444e35(0x411)]??[],..._0x34f6f6['map'](_0x1b0062=>_0x1b0062['id'])]},_0x5e72a8=[];return _0xd0dd59[_0x444e35(0x143)](_0x580c67=>{const _0xf34674=_0x444e35;let _0x1c713a=tt(_0x3cffc3,_0x580c67);_0x34f6f6[_0xf34674(0x143)](_0x20999f=>{const _0x34fca8=_0xf34674;let _0x3677ef=_0x1c713a[_0x34fca8(0x336)][_0x34fca8(0x2db)](_0x20999f['id']);if(_0x3677ef)throw new P($e(_0x3677ef));let _0x2627dd=_0x1c713a[_0x34fca8(0x190)][_0x34fca8(0x2db)](_0x20999f['id'])??null;_0x2627dd&&_0x5e72a8[_0x34fca8(0x393)]({'tableId':_0x279a22['id'],'fieldId':_0x580c67,'recordId':_0x20999f['id'],'oldParentRecordId':null,'parentRecordId':_0x2627dd});});}),_0x5e72a8;}function $e(_0x5daf6f){const _0x52fa2d=_0x5670e0;switch(_0x5daf6f){case _0x244f2c[_0x52fa2d(0x295)]:return _0x52fa2d(0x32d);case _0x244f2c[_0x52fa2d(0x232)]:return _0x52fa2d(0x1f1);case _0x244f2c[_0x52fa2d(0x355)]:return _0x52fa2d(0xfb);case _0x244f2c['MaxDepth']:return _0x52fa2d(0x245);}}function et(_0x21c404,_0x263c0b){const _0x1cb82c=_0x5670e0;let _0x3823c6=new Set(_0x263c0b),_0x10ea4b=Xe(_0x21c404);return Object[_0x1cb82c(0x1c8)](_0x21c404['records'])[_0x1cb82c(0x98)](_0x185e13=>_0x3823c6[_0x1cb82c(0xb9)](_0x185e13['id'])?[]:Array[_0x1cb82c(0x162)](_0x10ea4b)['flatMap'](_0x162719=>{const _0x5b3a63=_0x1cb82c;let _0x5b4a03=Le(_0x185e13[_0x5b3a63(0x1c8)][_0x162719])[0x0]??null;return _0x5b4a03&&_0x3823c6[_0x5b3a63(0xb9)](_0x5b4a03)?[{'tableId':_0x21c404['id'],'fieldId':_0x162719,'recordId':_0x185e13['id'],'oldParentRecordId':_0x5b4a03,'parentRecordId':null}]:[];}));}function tt(_0x4a2ccf,_0x2f74e1,_0x35ad5e=_0x4a2ccf[_0x5670e0(0x411)]??Object[_0x5670e0(0x3ac)](_0x4a2ccf['records'])){const _0xf6c563=_0x5670e0;if((_0x4a2ccf['fields'][_0x2f74e1]||_0x2f74e1!==Je(_0x4a2ccf))&&!F(_0x4a2ccf,_0x2f74e1))throw Error(_0xf6c563(0x3d5)+_0x2f74e1+_0xf6c563(0x125));let _0x36311b=at(_0x4a2ccf,_0x35ad5e),_0x3b2e24=new Map(),_0x2699db=new Map();for(let _0x427379 of _0x36311b){var _0x115384;let _0x805ce6=Le((_0x115384=_0x4a2ccf[_0xf6c563(0x83)][_0x427379])==null?void 0x0:_0x115384[_0xf6c563(0x1c8)][_0x2f74e1])[0x0]??null;_0x805ce6?_0x805ce6===_0x427379?(_0x3b2e24[_0xf6c563(0x2b8)](_0x427379,null),_0x2699db[_0xf6c563(0x2b8)](_0x427379,_0x244f2c[_0xf6c563(0x232)])):_0x4a2ccf[_0xf6c563(0x83)][_0x805ce6]?_0x3b2e24['set'](_0x427379,_0x805ce6):(_0x3b2e24[_0xf6c563(0x2b8)](_0x427379,null),_0x2699db['set'](_0x427379,_0x244f2c[_0xf6c563(0x295)])):_0x3b2e24[_0xf6c563(0x2b8)](_0x427379,null);}ot(_0x3b2e24,_0x2699db,_0x36311b),st(_0x3b2e24,_0x2699db,_0x36311b);let _0x1d87df=new Map(_0x36311b[_0xf6c563(0x102)]((_0x5e5302,_0x1230e4)=>[_0x5e5302,_0x1230e4])),_0x19ae93=new Map();for(let _0x483b40 of _0x36311b){let _0x2bb777=_0x3b2e24['get'](_0x483b40)??null,_0x4e9a28=_0x19ae93[_0xf6c563(0x2db)](_0x2bb777)??[];_0x4e9a28['push'](_0x483b40),_0x19ae93[_0xf6c563(0x2b8)](_0x2bb777,_0x4e9a28);}_0x19ae93['forEach'](_0x458f3e=>_0x458f3e[_0xf6c563(0x249)]((_0x531bc4,_0x5b452d)=>(_0x1d87df[_0xf6c563(0x2db)](_0x531bc4)??0x0)-(_0x1d87df[_0xf6c563(0x2db)](_0x5b452d)??0x0)));let _0x338002=_0x19ae93[_0xf6c563(0x2db)](null)??[],_0x54e202=new Map(),_0x24078c=new Map(),_0x26ce95=[],_0x5b1596=(_0x3d8e3f,_0x292bcb)=>{const _0x2b8758=_0xf6c563;_0x54e202[_0x2b8758(0x2b8)](_0x3d8e3f,_0x292bcb),_0x26ce95[_0x2b8758(0x393)](_0x3d8e3f);let _0x30a91d=0x0;for(let _0xf73128 of _0x19ae93[_0x2b8758(0x2db)](_0x3d8e3f)??[])_0x30a91d=Math[_0x2b8758(0x272)](_0x30a91d,0x1+_0x5b1596(_0xf73128,_0x292bcb+0x1));return _0x24078c[_0x2b8758(0x2b8)](_0x3d8e3f,_0x30a91d),_0x30a91d;};return _0x338002[_0xf6c563(0x143)](_0x3c3f04=>_0x5b1596(_0x3c3f04,0x0)),{'fieldId':_0x2f74e1,'parentByRecordId':_0x3b2e24,'childrenByParentId':_0x19ae93,'depthByRecordId':_0x54e202,'subtreeHeightByRecordId':_0x24078c,'invalidReasonByRecordId':_0x2699db,'rootRecordIds':_0x338002,'orderedRecordIds':_0x26ce95};}function nt(_0x279c6b,_0x510020,_0x6e62d6=new Set(_0x510020[_0x5670e0(0x102)](_0x4ec3c8=>_0x4ec3c8[_0x5670e0(0x191)]))){const _0x14fa5e=_0x5670e0;let _0x313f81=new Set(_0x6e62d6);for(let _0x599973 of _0x6e62d6){let _0x4e6ade=_0x279c6b['parentByRecordId']['get'](_0x599973)??null;for(;_0x4e6ade;)_0x313f81['add'](_0x4e6ade),_0x4e6ade=_0x279c6b[_0x14fa5e(0x190)]['get'](_0x4e6ade)??null;}let _0x49c51d=new Map(_0x510020[_0x14fa5e(0x102)](_0x262ba7=>[_0x262ba7[_0x14fa5e(0x191)],_0x262ba7])),_0x267968=_0x279c6b[_0x14fa5e(0x305)][_0x14fa5e(0x364)](_0x51e9ba=>_0x313f81[_0x14fa5e(0xb9)](_0x51e9ba)),_0x5de91b=_0x267968[_0x14fa5e(0x98)](_0x263a80=>{let _0x2426aa=_0x49c51d['get'](_0x263a80);return _0x2426aa?[_0x2426aa]:[];}),_0x3e3a79={};for(let _0x403f0e=0x0;_0x403f0e<_0x267968['length'];_0x403f0e++){let _0x31dbcd=_0x267968[_0x403f0e];_0x3e3a79[_0x31dbcd]={'recordId':_0x31dbcd,'parentRecordId':_0x279c6b[_0x14fa5e(0x190)][_0x14fa5e(0x2db)](_0x31dbcd)??null,'depth':_0x279c6b[_0x14fa5e(0x2a7)][_0x14fa5e(0x2db)](_0x31dbcd)??0x0,'directChildCount':(_0x279c6b['childrenByParentId'][_0x14fa5e(0x2db)](_0x31dbcd)??[])[_0x14fa5e(0x19b)],'subtreeHeight':_0x279c6b[_0x14fa5e(0x108)][_0x14fa5e(0x2db)](_0x31dbcd)??0x0,'subtreeEndIndex':_0x403f0e,'invalidReason':_0x279c6b[_0x14fa5e(0x336)][_0x14fa5e(0x2db)](_0x31dbcd)};}let _0x51ea7e=[];for(let _0x1931ca=0x0;_0x1931ca<_0x267968['length'];_0x1931ca++){let _0x5546bf=_0x267968[_0x1931ca],_0x518ea2=_0x3e3a79[_0x5546bf][_0x14fa5e(0x34c)];for(;_0x51ea7e[_0x14fa5e(0x19b)]&&_0x51ea7e[_0x51ea7e[_0x14fa5e(0x19b)]-0x1][_0x14fa5e(0x34c)]>=_0x518ea2;){let _0x4961c8=_0x51ea7e[_0x14fa5e(0x402)]();_0x3e3a79[_0x4961c8['recordId']][_0x14fa5e(0x241)]=_0x1931ca-0x1;}_0x51ea7e[_0x14fa5e(0x393)]({'recordId':_0x5546bf,'depth':_0x518ea2});}return _0x51ea7e[_0x14fa5e(0x143)](({recordId:_0x118009})=>{const _0x54ea04=_0x14fa5e;_0x3e3a79[_0x118009][_0x54ea04(0x241)]=_0x267968[_0x54ea04(0x19b)]-0x1;}),{'rows':_0x5de91b,'hierarchy':{'fieldId':_0x279c6b[_0x14fa5e(0x186)],'rootRecordIds':_0x279c6b[_0x14fa5e(0x294)]['filter'](_0x1bfb78=>_0x313f81[_0x14fa5e(0xb9)](_0x1bfb78)),'orderedRecordIds':_0x267968,'nodes':_0x3e3a79}};}function rt(_0x5554ae,_0x39d4d8){const _0x11b0f2=_0x5670e0;if(!_0x5554ae[_0x11b0f2(0x130)]||!(_0x39d4d8!=null&&_0x39d4d8[_0x11b0f2(0x268)]))return _0x5554ae[_0x11b0f2(0x3b6)];let _0x48d52d=[],_0x55c551=0x0;for(;_0x55c551<_0x5554ae['rows'][_0x11b0f2(0x19b)];){let _0x5a9aac=_0x5554ae[_0x11b0f2(0x3b6)][_0x55c551];_0x48d52d['push'](_0x5a9aac);let _0x433c10=_0x5554ae[_0x11b0f2(0x130)][_0x11b0f2(0x248)][_0x5a9aac[_0x11b0f2(0x191)]];_0x55c551=_0x39d4d8['has'](_0x5a9aac['recordId'])&&_0x433c10?_0x433c10[_0x11b0f2(0x241)]+0x1:_0x55c551+0x1;}return _0x48d52d;}function it(_0x5d3b38,_0x39310c,_0x340a4b){const _0x408f39=_0x5670e0;if(!_0x340a4b)return{'valid':!0x0};if(_0x39310c===_0x340a4b)return{'valid':!0x1,'reason':_0x244f2c['SelfParent']};let _0x435a2e=_0x340a4b;for(;_0x435a2e;){if(_0x435a2e===_0x39310c)return{'valid':!0x1,'reason':_0x244f2c[_0x408f39(0x355)]};_0x435a2e=_0x5d3b38[_0x408f39(0x190)][_0x408f39(0x2db)](_0x435a2e)??null;}return(_0x5d3b38[_0x408f39(0x2a7)][_0x408f39(0x2db)](_0x340a4b)??0x0)+0x1+(_0x5d3b38[_0x408f39(0x108)][_0x408f39(0x2db)](_0x39310c)??0x0)>=0x5?{'valid':!0x1,'reason':_0x244f2c[_0x408f39(0x3ad)]}:{'valid':!0x0};}function at(_0x2a1444,_0x4de20a){const _0x2abdb8=_0x5670e0;let _0x4ee082=new Set(),_0x3754a6=[];for(let _0x16dcf1 of _0x4de20a)_0x2a1444[_0x2abdb8(0x83)][_0x16dcf1]&&!_0x4ee082[_0x2abdb8(0xb9)](_0x16dcf1)&&(_0x4ee082['add'](_0x16dcf1),_0x3754a6[_0x2abdb8(0x393)](_0x16dcf1));return Object[_0x2abdb8(0x3ac)](_0x2a1444['records'])[_0x2abdb8(0x249)]()[_0x2abdb8(0x143)](_0x4ea4e8=>{const _0x1966b2=_0x2abdb8;_0x4ee082[_0x1966b2(0xb9)](_0x4ea4e8)||_0x3754a6[_0x1966b2(0x393)](_0x4ea4e8);}),_0x3754a6;}function ot(_0x4175f7,_0x2421dd,_0x3ac80e){const _0x299e09=_0x5670e0;let _0x46c412=new Set();for(let _0x4b85a8 of _0x3ac80e){if(_0x46c412['has'](_0x4b85a8))continue;let _0x1eb739=[],_0x44f8d4=new Map(),_0x2d758a=_0x4b85a8;for(;_0x2d758a&&!_0x46c412[_0x299e09(0xb9)](_0x2d758a);){let _0x444e6d=_0x44f8d4['get'](_0x2d758a);if(_0x444e6d!=null){let _0x384846=[..._0x1eb739['slice'](_0x444e6d)][_0x299e09(0x249)]()[_0x299e09(0x402)]();_0x4175f7['set'](_0x384846,null),_0x2421dd['set'](_0x384846,_0x244f2c['Cycle']);break;}_0x44f8d4[_0x299e09(0x2b8)](_0x2d758a,_0x1eb739['length']),_0x1eb739['push'](_0x2d758a),_0x2d758a=_0x4175f7[_0x299e09(0x2db)](_0x2d758a)??null;}_0x1eb739[_0x299e09(0x143)](_0x564185=>_0x46c412['add'](_0x564185));}}function st(_0x55d77e,_0x3703f8,_0x2e0cda){const _0x3b799b=_0x5670e0;let _0x149c53=new Map(),_0x6c6a20=_0x9bbcaa=>{const _0x5cb39e=_0x4f53;let _0x5bb34c=_0x149c53[_0x5cb39e(0x2db)](_0x9bbcaa);if(_0x5bb34c!=null)return _0x5bb34c;let _0x535eaa=_0x55d77e['get'](_0x9bbcaa)??null;if(!_0x535eaa)return _0x149c53[_0x5cb39e(0x2b8)](_0x9bbcaa,0x0),0x0;let _0x369e3b=_0x6c6a20(_0x535eaa)+0x1;return _0x369e3b>=0x5?(_0x55d77e[_0x5cb39e(0x2b8)](_0x9bbcaa,null),_0x3703f8['set'](_0x9bbcaa,_0x244f2c[_0x5cb39e(0x3ad)]),_0x149c53[_0x5cb39e(0x2b8)](_0x9bbcaa,0x0),0x0):(_0x149c53[_0x5cb39e(0x2b8)](_0x9bbcaa,_0x369e3b),_0x369e3b);};_0x2e0cda[_0x3b799b(0x143)](_0x6c6a20);}let ct=0x0;function lt(){const _0xdd96a6=_0x5670e0;if(globalThis[_0xdd96a6(0x1d7)]===!0x0)return!0x0;try{let _0x469417=typeof location>'u'?'':location[_0xdd96a6(0x100)],_0x5cdbb6=new URLSearchParams(_0x469417);if(_0x5cdbb6['get'](_0xdd96a6(0x3e2))==='1'||_0x5cdbb6[_0xdd96a6(0x2db)](_0xdd96a6(0x3e2))===_0xdd96a6(0x1ad)||_0x5cdbb6[_0xdd96a6(0x2db)](_0xdd96a6(0xae))==='1')return!0x0;}catch{}try{let _0x251990=typeof localStorage>'u'?null:localStorage[_0xdd96a6(0x379)]('univer.basePerf');return _0x251990==='1'||_0x251990===_0xdd96a6(0x1ad);}catch{return!0x1;}}function I(_0x255257,_0xcb5041,_0x16dc79){const _0x3fb8ec=_0x5670e0;if(!lt())return _0xcb5041();let _0x3841ca=dt(),_0x1e2849=_0x3fb8ec(0xc0)+ct++;ft(_0x1e2849+':start');try{return _0xcb5041();}finally{let _0x524644=dt()-_0x3841ca;ft(_0x1e2849+_0x3fb8ec(0x140)),pt(_0x255257,_0x1e2849+':start',_0x1e2849+':end'),ut(_0x255257,_0x524644,_0x16dc79);}}function ut(_0x4b63e6,_0xf29535,_0x481353){const _0x40a037=_0x5670e0;if(!lt())return;let _0x166875=Math[_0x40a037(0x217)](_0xf29535*0x64)/0x64,_0x2201ed=_0x481353&&Object[_0x40a037(0x3ac)](_0x481353)[_0x40a037(0x19b)]?'\x20'+JSON[_0x40a037(0x1a0)](_0x481353):'';console[_0x40a037(0x1a8)]('[BasePerf]\x20'+_0x4b63e6+':\x20'+_0x166875+'ms'+_0x2201ed);}function dt(){const _0x5bab7c=_0x5670e0;return typeof performance<'u'&&typeof performance['now']==_0x5bab7c(0x251)?performance['now']():Date[_0x5bab7c(0x2b3)]();}function ft(_0x280170){const _0x82cf60=_0x5670e0;try{if(typeof performance<'u'){var _0xe7a03f,_0x48fcc6;(_0xe7a03f=(_0x48fcc6=performance)[_0x82cf60(0x3a8)])==null||_0xe7a03f[_0x82cf60(0x321)](_0x48fcc6,_0x280170);}}catch{}}function pt(_0x4d2686,_0x46bd4c,_0x43f2d3){const _0x8a19bf=_0x5670e0;try{if(typeof performance<'u'){var _0x31c319,_0x46d7d1;(_0x31c319=(_0x46d7d1=performance)[_0x8a19bf(0x357)])==null||_0x31c319['call'](_0x46d7d1,_0x8a19bf(0x20a)+_0x4d2686,_0x46bd4c,_0x43f2d3);}}catch{}}function L(_0x1093f8){const _0x5b90bc=_0x5670e0;var _0x50c77e;return lt()?I('IBaseCellData.ensureTableCellLayout',()=>mt(_0x1093f8),{'tableId':_0x1093f8['id'],'records':Object[_0x5b90bc(0x3ac)](_0x1093f8['records']??{})[_0x5b90bc(0x19b)],'fields':_0x1093f8[_0x5b90bc(0x367)][_0x5b90bc(0x19b)],'hasRecordOrder':!!((_0x50c77e=_0x1093f8[_0x5b90bc(0x411)])!=null&&_0x50c77e[_0x5b90bc(0x19b)])}):mt(_0x1093f8);}function mt(_0x3d1125){const _0x3097d8=_0x5670e0;var _0x383a8a;let _0x240e12=_0x3d1125[_0x3097d8(0x83)]??{},_0xf8bd90=_0x3d1125[_0x3097d8(0x2cb)]??{},_0xc64ba=((_0x383a8a=_0x3d1125['recordOrder'])==null?void 0x0:_0x383a8a[_0x3097d8(0x364)](_0x1b28e1=>_0x240e12[_0x1b28e1]))??[],_0x1b4283=new Set(_0xc64ba),_0x56c4d3=[];for(let _0x1527e1 of Object[_0x3097d8(0x1c8)](_0x240e12))_0x1b4283[_0x3097d8(0xb9)](_0x1527e1['id'])||_0x56c4d3[_0x3097d8(0x393)](_0x1527e1);let _0x2b2211=_0x56c4d3[_0x3097d8(0x19b)]?[..._0xc64ba,...Rt(_0x56c4d3)]:_0xc64ba,_0x36592e=_0x3d1125[_0x3097d8(0x367)]['filter'](_0x108d5c=>_0xf8bd90[_0x108d5c]),_0x37398c={..._0x3d1125[_0x3097d8(0x2ea)]??{}},_0x47ce7b={..._0x3d1125['colId']??{}},_0x46f41c={..._0x3d1125[_0x3097d8(0x259)]??{}};_0x3d1125[_0x3097d8(0x411)]=_0x2b2211,_0x3d1125[_0x3097d8(0x250)]={},_0x3d1125['rowId']={},_0x3d1125[_0x3097d8(0xb6)]={},_0x3d1125[_0x3097d8(0x18c)]={},_0x3d1125['cellData']={},_0x3d1125[_0x3097d8(0x184)]={..._0x3d1125[_0x3097d8(0x184)]??{}},_0x3d1125[_0x3097d8(0x184)][_0x3097d8(0x32f)]={..._0x3d1125[_0x3097d8(0x184)][_0x3097d8(0x32f)]??{}},_0x3d1125['resources'][_0x3097d8(0x2b9)]={..._0x3d1125['resources']['attachments']??{}};let _0x1bc132=_0x3d1125['rowIndex'],_0x2891d9=_0x3d1125[_0x3097d8(0x2ea)],_0x8756ba=_0x3d1125[_0x3097d8(0xb6)],_0x342fef=_0x3d1125[_0x3097d8(0x18c)],_0x3e6be3=_0x3d1125[_0x3097d8(0x259)];return _0x2b2211[_0x3097d8(0x143)]((_0x3b9517,_0x1c3dc6)=>{_0x1bc132[_0x3b9517]=_0x1c3dc6,_0x2891d9[_0x1c3dc6]=_0x3b9517;}),_0x36592e[_0x3097d8(0x143)]((_0x1b70bd,_0xe6dbaf)=>{_0x8756ba[_0x1b70bd]=_0xe6dbaf,_0x342fef[_0xe6dbaf]=_0x1b70bd;}),Object[_0x3097d8(0x419)](_0x46f41c)[_0x3097d8(0x143)](([_0x1a9473,_0x24bcdd])=>{const _0x3219e9=_0x3097d8;let _0x1ee7fa=Number(_0x1a9473),_0x5b5ac5=_0x37398c[_0x1ee7fa]??_0x2b2211[_0x1ee7fa],_0x304c78=_0x5b5ac5?_0x1bc132[_0x5b5ac5]:void 0x0;_0x304c78!=null&&(_0x3e6be3[_0x304c78]={..._0x3e6be3[_0x304c78]??{}},Object[_0x3219e9(0x419)](_0x24bcdd??{})[_0x3219e9(0x143)](([_0x131d61,_0x314eab])=>{let _0x5eea0d=Number(_0x131d61),_0x56e840=_0x47ce7b[_0x5eea0d]??_0x36592e[_0x5eea0d],_0x296e63=_0x56e840?_0x8756ba[_0x56e840]:void 0x0;_0x296e63!=null&&(_0x3e6be3[_0x304c78][_0x296e63]=St(_0x314eab));}));}),Object[_0x3097d8(0x1c8)](_0x240e12)[_0x3097d8(0x143)](_0x9db75b=>{const _0x370f1f=_0x3097d8;let _0x1cc939=_0x1bc132[_0x9db75b['id']];_0x1cc939!=null&&(_0x9db75b[_0x370f1f(0x1c8)]={..._0x9db75b[_0x370f1f(0x1c8)]??{},[_0x32decc]:_0x9db75b['id']},_0x3e6be3[_0x1cc939]={..._0x3e6be3[_0x1cc939]??{},0x0:{'v':_0x9db75b['id'],'t':_0x319a08[_0x370f1f(0x13f)]}},Object[_0x370f1f(0x419)](_0x9db75b[_0x370f1f(0x1c8)]??{})[_0x370f1f(0x143)](([_0x329a03,_0x303fcd])=>{const _0x5d6a2a=_0x370f1f;let _0x4963d2=_0xf8bd90[_0x329a03];(_0x4963d2==null?void 0x0:_0x4963d2[_0x5d6a2a(0xeb)])===_0x4fe15f[_0x5d6a2a(0x134)]&&Dt(_0x3d1125,_0x9db75b['id'],_0x329a03,_0x303fcd);let _0x48ca54=_0x8756ba[_0x329a03];if(_0x48ca54==null)return;let _0x57d8f9=_0x3e6be3[_0x1cc939][_0x48ca54];(_0x57d8f9==null||jt(_0x57d8f9,_0x4963d2,_0x303fcd))&&(_0x3e6be3[_0x1cc939][_0x48ca54]=xt(_0x303fcd,_0x4963d2));}));}),_0x3d1125;}function ht(_0x1b4bea,_0x3e2b01){const _0x53e54d=_0x5670e0;return _0x1b4bea['records']=Object[_0x53e54d(0x3a7)](Object[_0x53e54d(0x419)](_0x1b4bea[_0x53e54d(0x83)])[_0x53e54d(0x102)](([_0x1e5c00,_0x116375])=>[_0x1e5c00,{..._0x116375}])),L(_0x1b4bea),Object[_0x53e54d(0x419)](_0x1b4bea[_0x53e54d(0x2ea)]??{})[_0x53e54d(0x143)](([_0x8b343f,_0x2abdd9])=>{const _0x1475a6=_0x53e54d;var _0x374931;let _0x18e28b=Number(_0x8b343f),_0x4bb8fe=_0x1b4bea['records'][_0x2abdd9];_0x4bb8fe&&(_0x4bb8fe[_0x1475a6(0x1c8)]={..._0x4bb8fe[_0x1475a6(0x1c8)]??{}},Object[_0x1475a6(0x419)](((_0x374931=_0x1b4bea[_0x1475a6(0x259)])==null?void 0x0:_0x374931[_0x18e28b])??{})[_0x1475a6(0x143)](([_0x736dd2,_0x614792])=>{const _0x314719=_0x1475a6;var _0x5d9b86;let _0x5521c8=(_0x5d9b86=_0x1b4bea[_0x314719(0x18c)])==null?void 0x0:_0x5d9b86[Number(_0x736dd2)];_0x5521c8&&_0x3e2b01&&!_0x3e2b01(_0x2abdd9,_0x5521c8)||(_0x5521c8===_0x32decc?_0x4bb8fe[_0x314719(0x1c8)][_0x32decc]=_0x4bb8fe['id']:_0x5521c8&&(_0x4bb8fe[_0x314719(0x1c8)][_0x5521c8]=Ct(_0x614792,_0x1b4bea[_0x314719(0x2cb)][_0x5521c8],_0x1b4bea,_0x2abdd9)));}));}),_0x1b4bea;}function gt(_0x2fc47d,_0x239774){const _0xd79761=_0x5670e0;for(let {row:_0xcc23d4,col:_0x375b08}of _0x239774){var _0x380c43,_0x2eaaee,_0x5a5693;let _0x57a6d4=(_0x380c43=_0x2fc47d[_0xd79761(0x2ea)])==null?void 0x0:_0x380c43[_0xcc23d4],_0x2cca4b=(_0x2eaaee=_0x2fc47d[_0xd79761(0x18c)])==null?void 0x0:_0x2eaaee[_0x375b08],_0x585569=_0x57a6d4?_0x2fc47d['records'][_0x57a6d4]:void 0x0;if(!_0x585569||!_0x2cca4b)continue;if(_0x2cca4b===_0x32decc){_0x585569['values'][_0x32decc]=_0x585569['id'];continue;}let _0x30e651=(_0x5a5693=_0x2fc47d['cellData'])==null||(_0x5a5693=_0x5a5693[_0xcc23d4])==null?void 0x0:_0x5a5693[_0x375b08];(_0x30e651!=null||Object[_0xd79761(0x159)]['hasOwnProperty']['call'](_0x585569[_0xd79761(0x1c8)]??{},_0x2cca4b))&&(_0x585569[_0xd79761(0x1c8)]={..._0x585569[_0xd79761(0x1c8)]??{}},_0x585569[_0xd79761(0x1c8)][_0x2cca4b]=Ct(_0x30e651,_0x2fc47d[_0xd79761(0x2cb)][_0x2cca4b],_0x2fc47d,_0x57a6d4));}return _0x2fc47d;}function _t(_0x1cf340,_0x2e8e26,_0x349074){const _0x1d2e3c=_0x5670e0;var _0x553b7c,_0x338b09,_0x44b0fc,_0x2dedcc,_0x38124f,_0x182db3;let _0x3df490=(_0x553b7c=_0x1cf340[_0x1d2e3c(0x250)])==null?void 0x0:_0x553b7c[_0x2e8e26],_0x30bd9c=(_0x338b09=_0x1cf340[_0x1d2e3c(0xb6)])==null?void 0x0:_0x338b09[_0x349074];if(_0x3df490!=null&&_0x30bd9c!=null&&((_0x44b0fc=_0x1cf340['rowId'])==null?void 0x0:_0x44b0fc[_0x3df490])===_0x2e8e26&&((_0x2dedcc=_0x1cf340['colId'])==null?void 0x0:_0x2dedcc[_0x30bd9c])===_0x349074)return{'row':_0x3df490,'col':_0x30bd9c};let _0x21f6ab=L(_0x1cf340),_0x258eef=(_0x38124f=_0x21f6ab['rowIndex'])==null?void 0x0:_0x38124f[_0x2e8e26],_0x48b414=(_0x182db3=_0x21f6ab[_0x1d2e3c(0xb6)])==null?void 0x0:_0x182db3[_0x349074];return _0x258eef==null||_0x48b414==null?null:{'row':_0x258eef,'col':_0x48b414};}function vt(_0x11186b,_0x3bd4c6,_0x22314e){const _0x106448=_0x5670e0;var _0x3d319a;let _0x30bdba=_t(_0x11186b,_0x3bd4c6,_0x22314e);if(_0x30bdba)return(_0x3d319a=_0x11186b[_0x106448(0x259)])==null||(_0x3d319a=_0x3d319a[_0x30bdba[_0x106448(0x24b)]])==null?void 0x0:_0x3d319a[_0x30bdba['col']];}function yt(_0x2c6fcd,_0x278eae,_0x2a8eff){const _0x342b19=_0x5670e0;var _0xed27ce;let _0x172bf3=vt(_0x2c6fcd,_0x278eae,_0x2a8eff),_0x556db8=_0x2c6fcd['fields'][_0x2a8eff];if((_0x556db8==null?void 0x0:_0x556db8['type'])===_0x4fe15f[_0x342b19(0x134)]){var _0x196433;return Ot(_0x2c6fcd,_0x278eae,_0x2a8eff)??kt((_0x196433=_0x2c6fcd['records'][_0x278eae])==null||(_0x196433=_0x196433[_0x342b19(0x1c8)])==null?void 0x0:_0x196433[_0x2a8eff]);}if(Mt(_0x556db8)||Nt(_0x556db8)||(_0x556db8==null?void 0x0:_0x556db8[_0x342b19(0xeb)])===_0x4fe15f[_0x342b19(0x399)]){var _0xddf2f2;let _0x3435ac=(_0xddf2f2=_0x2c6fcd[_0x342b19(0x83)][_0x278eae])==null||(_0xddf2f2=_0xddf2f2[_0x342b19(0x1c8)])==null?void 0x0:_0xddf2f2[_0x2a8eff];return _0x3435ac!=null&&_0x3435ac!==''?At(_0x3435ac,_0x556db8):Ct(_0x172bf3,_0x556db8,_0x2c6fcd,_0x278eae);}return _0x172bf3&&Object['prototype']['hasOwnProperty'][_0x342b19(0x321)](_0x172bf3,'v')?_0x172bf3['v']??null:((_0xed27ce=_0x2c6fcd[_0x342b19(0x83)][_0x278eae])==null||(_0xed27ce=_0xed27ce[_0x342b19(0x1c8)])==null?void 0x0:_0xed27ce[_0x2a8eff])??null;}function bt(_0x251ebb,_0x39cc5c,_0x284e1c){const _0x1d8cbd=_0x5670e0;var _0x583c9c;let _0x5876a7=vt(_0x251ebb,_0x39cc5c,_0x284e1c);if(_0x5876a7&&Object[_0x1d8cbd(0x159)][_0x1d8cbd(0x127)][_0x1d8cbd(0x321)](_0x5876a7,'v'))return _0x5876a7['v']??null;let _0x348ab7=_0x251ebb[_0x1d8cbd(0x2cb)][_0x284e1c];return xt(((_0x583c9c=_0x251ebb['records'][_0x39cc5c])==null||(_0x583c9c=_0x583c9c[_0x1d8cbd(0x1c8)])==null?void 0x0:_0x583c9c[_0x284e1c])??null,_0x348ab7)['v']??null;}function xt(_0x1ab55e,_0x57e65){const _0x23cbe2=_0x5670e0;if(Tt(_0x1ab55e))return(_0x57e65==null?void 0x0:_0x57e65[_0x23cbe2(0xeb)])===_0x4fe15f[_0x23cbe2(0x134)]?{..._0x1ab55e,'v':'','t':_0x319a08['STRING']}:St(_0x1ab55e);if((_0x57e65==null?void 0x0:_0x57e65[_0x23cbe2(0xeb)])===_0x4fe15f[_0x23cbe2(0x134)])return{'v':'','t':_0x319a08['STRING']};if(Nt(_0x57e65)){let _0x85181=Pt(_0x1ab55e);return{'v':_0x85181,'t':Lt(_0x85181)};}if(Mt(_0x57e65))return{'v':Ft(_0x1ab55e)[_0x23cbe2(0x3d6)](',\x20'),'t':_0x319a08[_0x23cbe2(0x13f)]};if((_0x57e65==null?void 0x0:_0x57e65[_0x23cbe2(0xeb)])===_0x4fe15f[_0x23cbe2(0x399)]&&_0x1ab55e&&typeof _0x1ab55e==_0x23cbe2(0x360)&&!Array['isArray'](_0x1ab55e)){let _0x2efc16=_0x1ab55e;return{'v':String(_0x2efc16[_0x23cbe2(0x277)]??_0x2efc16[_0x23cbe2(0x33c)]??''),'t':_0x319a08[_0x23cbe2(0x13f)]};}return _0x1ab55e===null||typeof _0x1ab55e=='string'||typeof _0x1ab55e==_0x23cbe2(0x174)||typeof _0x1ab55e==_0x23cbe2(0x168)?{'v':_0x1ab55e,'t':Lt(_0x1ab55e)}:{'v':null,'t':null};}function St(_0x9b4601){let _0x4260b4=zt(_0x9b4601['t'],_0x9b4601['v']);if(_0x4260b4===void 0x0){let {t:_0x4ccfb7,..._0x167b7d}=_0x9b4601;return _0x167b7d;}return{..._0x9b4601,'t':_0x4260b4};}function Ct(_0xf14238,_0x395e09,_0x207911,_0x19181a){const _0x267216=_0x5670e0;if(!_0xf14238)return null;if((_0x395e09==null?void 0x0:_0x395e09[_0x267216(0xeb)])===_0x4fe15f[_0x267216(0x134)])return _0x207911&&_0x19181a?Ot(_0x207911,_0x19181a,_0x395e09['id'])??[]:[];if(Mt(_0x395e09))return Ft(_0xf14238['v']);if((_0x395e09==null?void 0x0:_0x395e09[_0x267216(0xeb)])===_0x4fe15f['Link']&&_0x207911&&_0x19181a){var _0x3d327c;let _0x4d761c=(_0x3d327c=_0x207911[_0x267216(0x83)][_0x19181a])==null||(_0x3d327c=_0x3d327c[_0x267216(0x1c8)])==null?void 0x0:_0x3d327c[_0x395e09['id']];if(_0x4d761c&&typeof _0x4d761c==_0x267216(0x360)&&!Array[_0x267216(0x99)](_0x4d761c))return _0x4d761c;}return Object[_0x267216(0x159)]['hasOwnProperty'][_0x267216(0x321)](_0xf14238,'v')?_0xf14238['v']??null:null;}function wt(_0x564ea0,_0x51be0d,_0x340c54,_0x432df5,_0x51acd6){const _0xd9e60f=_0x5670e0;return(_0x340c54==null?void 0x0:_0x340c54[_0xd9e60f(0xeb)])===_0x4fe15f['Attachment']?kt(_0x564ea0):Nt(_0x340c54)?Pt(_0x564ea0):Mt(_0x340c54)?Ft(_0x564ea0):(_0x340c54==null?void 0x0:_0x340c54[_0xd9e60f(0xeb)])===_0x4fe15f[_0xd9e60f(0x399)]&&(_0x564ea0==null||_0x564ea0==='')?null:(_0x340c54==null?void 0x0:_0x340c54[_0xd9e60f(0xeb)])===_0x4fe15f[_0xd9e60f(0x399)]&&_0x564ea0&&typeof _0x564ea0==_0xd9e60f(0x360)&&!Array[_0xd9e60f(0x99)](_0x564ea0)&&!Tt(_0x564ea0)?_0x564ea0:Ct(_0x51be0d,_0x340c54,_0x432df5,_0x51acd6);}function Tt(_0x51cd24){const _0x8e2c3d=_0x5670e0;return!!_0x51cd24&&typeof _0x51cd24==_0x8e2c3d(0x360)&&(Object[_0x8e2c3d(0x159)]['hasOwnProperty'][_0x8e2c3d(0x321)](_0x51cd24,'v')||Object[_0x8e2c3d(0x159)]['hasOwnProperty']['call'](_0x51cd24,'t')||Object['prototype']['hasOwnProperty']['call'](_0x51cd24,'p')||Object['prototype']['hasOwnProperty']['call'](_0x51cd24,'f')||Object['prototype'][_0x8e2c3d(0x127)]['call'](_0x51cd24,'si'));}function Et(_0x236e46,_0x3b9d89){return _0x236e46+'\x1f'+_0x3b9d89;}function Dt(_0x5e2744,_0x12df54,_0x560bb7,_0x36381a){const _0xca7a36=_0x5670e0;let _0xd0f345=kt(_0x36381a);_0x5e2744['resources']={..._0x5e2744[_0xca7a36(0x184)]??{}},_0x5e2744['resources'][_0xca7a36(0x32f)]={..._0x5e2744[_0xca7a36(0x184)][_0xca7a36(0x32f)]??{}},_0x5e2744['resources'][_0xca7a36(0x2b9)]={..._0x5e2744['resources'][_0xca7a36(0x2b9)]??{}};let _0xa7d30e=Et(_0x560bb7,_0x12df54),_0x113390=[];for(let _0x11282d=0x0;_0x11282d<_0xd0f345[_0xca7a36(0x19b)];_0x11282d++){if(!(_0x11282d in _0xd0f345))continue;let _0x2f22f3=_0xd0f345[_0x11282d],_0x3b5f0c=String(_0x2f22f3['id']??_0xa7d30e+'\x1f'+_0x11282d),_0x3c3ad7={..._0x2f22f3,'id':_0x3b5f0c};_0x5e2744[_0xca7a36(0x184)]['attachments'][_0x3b5f0c]=_0x3c3ad7,_0x113390[_0xca7a36(0x393)](_0x3b5f0c);}_0x5e2744[_0xca7a36(0x184)][_0xca7a36(0x32f)][_0xa7d30e]=_0x113390;}function Ot(_0x5f2ec3,_0x3862f8,_0x3cf4ef){const _0x2a20d7=_0x5670e0;var _0x11c949;let _0x3b3d44=Et(_0x3cf4ef,_0x3862f8),_0x1b26b8=(_0x11c949=_0x5f2ec3['resources'])==null||(_0x11c949=_0x11c949['attachmentSets'])==null?void 0x0:_0x11c949[_0x3b3d44];if(!_0x1b26b8)return null;let _0x40dd8c=[];for(let _0x49839b=0x0;_0x49839b<_0x1b26b8[_0x2a20d7(0x19b)];_0x49839b++){var _0x252280;if(!(_0x49839b in _0x1b26b8))continue;let _0x903df8=(_0x252280=_0x5f2ec3[_0x2a20d7(0x184)])==null||(_0x252280=_0x252280[_0x2a20d7(0x2b9)])==null?void 0x0:_0x252280[_0x1b26b8[_0x49839b]];_0x903df8&&_0x40dd8c['push']({..._0x903df8});}return _0x40dd8c;}function kt(_0x2ce41e){const _0x28a791=_0x5670e0;if(_0x2ce41e==null||_0x2ce41e===''||Tt(_0x2ce41e)&&!('id'in _0x2ce41e)&&!(_0x28a791(0x26f)in _0x2ce41e))return[];let _0x1d3143=Array[_0x28a791(0x99)](_0x2ce41e)?_0x2ce41e:[_0x2ce41e],_0x19dfda=[];for(let _0x2bea98=0x0;_0x2bea98<_0x1d3143[_0x28a791(0x19b)];_0x2bea98++){if(!(_0x2bea98 in _0x1d3143))continue;let _0x80146f=_0x1d3143[_0x2bea98],_0x409638=_0x80146f&&typeof _0x80146f==_0x28a791(0x360)?{..._0x80146f}:{'id':'attachment-'+_0x2bea98,'name':String(_0x80146f)};Object[_0x28a791(0x3ac)](_0x409638)['length']>0x0&&_0x19dfda[_0x28a791(0x393)](_0x409638);}return _0x19dfda;}function At(_0x14c807,_0x4a3427){const _0x74fa1=_0x5670e0;return(_0x4a3427==null?void 0x0:_0x4a3427['type'])===_0x4fe15f[_0x74fa1(0x134)]?kt(_0x14c807):Nt(_0x4a3427)?Pt(_0x14c807):Mt(_0x4a3427)?Ft(_0x14c807):_0x14c807;}function jt(_0x235a9c,_0x4306f7,_0x17c940){const _0x4f0d1a=_0x5670e0;return(_0x4306f7==null?void 0x0:_0x4306f7[_0x4f0d1a(0xeb)])===_0x4fe15f[_0x4f0d1a(0x134)]?_0x235a9c['v']!=='':Nt(_0x4306f7)?_0x235a9c['v']!==Pt(_0x17c940):Mt(_0x4306f7)?Array[_0x4f0d1a(0x99)](_0x17c940)&&(_0x235a9c['v']==null||_0x235a9c['v']===''):!0x1;}function Mt(_0x51bba8){const _0x7c8bb1=_0x5670e0;return(_0x51bba8==null?void 0x0:_0x51bba8[_0x7c8bb1(0xeb)])===_0x4fe15f[_0x7c8bb1(0x8b)]||(_0x51bba8==null?void 0x0:_0x51bba8[_0x7c8bb1(0xeb)])===_0x4fe15f[_0x7c8bb1(0x29d)]||(_0x51bba8==null?void 0x0:_0x51bba8[_0x7c8bb1(0xeb)])===_0x4fe15f[_0x7c8bb1(0x36c)]&&_0x51bba8[_0x7c8bb1(0x407)][_0x7c8bb1(0x22e)]===!0x0;}function Nt(_0x43fdc4){const _0x15206b=_0x5670e0;return(_0x43fdc4==null?void 0x0:_0x43fdc4['type'])===_0x4fe15f[_0x15206b(0x36c)]&&_0x43fdc4[_0x15206b(0x407)]['allowMultiple']!==!0x0;}function Pt(_0x565ce8){const _0x30e51d=_0x5670e0;let _0x171635=Tt(_0x565ce8)?_0x565ce8['v']:_0x565ce8,_0x322d7d=Array[_0x30e51d(0x99)](_0x171635)?_0x171635[0x0]:_0x171635;return _0x322d7d==null||_0x322d7d===''?null:String(_0x322d7d);}function Ft(_0x5eb984){const _0x37e7bf=_0x5670e0;if(_0x5eb984==null||_0x5eb984==='')return[];let _0x1bff26=[];if(Array[_0x37e7bf(0x99)](_0x5eb984)){for(let _0x5625de=0x0;_0x5625de<_0x5eb984[_0x37e7bf(0x19b)];_0x5625de++){if(!(_0x5625de in _0x5eb984))continue;let _0x16a55d=It(_0x5eb984[_0x5625de]);_0x16a55d&&_0x1bff26[_0x37e7bf(0x393)](_0x16a55d);}return _0x1bff26;}for(let _0xea2196 of String(_0x5eb984)[_0x37e7bf(0x12f)](',')){let _0x59dcd8=_0xea2196[_0x37e7bf(0x12d)]();_0x59dcd8&&_0x1bff26[_0x37e7bf(0x393)](_0x59dcd8);}return _0x1bff26;}function It(_0x894d09){const _0x25963d=_0x5670e0;if(_0x894d09==null)return'';if(typeof _0x894d09==_0x25963d(0x2dc)||typeof _0x894d09=='number'||typeof _0x894d09==_0x25963d(0x168))return String(_0x894d09);if(typeof _0x894d09=='object'){let _0x211175=_0x894d09;return String(_0x211175['id']??_0x211175[_0x25963d(0x26f)]??_0x211175[_0x25963d(0x277)]??'');}return String(_0x894d09);}function Lt(_0x27826f){const _0x396755=_0x5670e0;return _0x27826f==null?null:typeof _0x27826f==_0x396755(0x174)?_0x319a08[_0x396755(0x39a)]:typeof _0x27826f==_0x396755(0x168)?_0x319a08[_0x396755(0x189)]:_0x319a08['STRING'];}function Rt(_0x5a9081){const _0x152ec7=_0x5670e0;_0x5a9081['sort']((_0x352026,_0x547370)=>_0x352026[_0x152ec7(0x27b)]['localeCompare'](_0x547370[_0x152ec7(0x27b)]));let _0x26aa36=[];for(let _0x566ece of _0x5a9081)_0x26aa36['push'](_0x566ece['id']);return _0x26aa36;}function zt(_0x35c3b8,_0x781d7){const _0x215852=_0x5670e0;return _0x35c3b8===_0x319a08[_0x215852(0x13f)]||_0x35c3b8===_0x319a08[_0x215852(0x39a)]||_0x35c3b8===_0x319a08[_0x215852(0x189)]||_0x35c3b8===_0x319a08[_0x215852(0x11c)]||_0x35c3b8==null?_0x35c3b8:Lt(_0x781d7??null);}function R(_0x277fc0){const _0x52b7f2=_0x5670e0;let _0x2a711d=null;for(let _0x448005 of _0x277fc0)_0x2a711d=_0x2a711d===null?_0x448005:_0x23944c[_0x52b7f2(0xeb)][_0x52b7f2(0x34f)](_0x2a711d,_0x448005);return _0x2a711d;}var z=class e{static[_0x5670e0(0x3d0)](_0x44b8ba,_0x3635fe){const _0x44a40a=_0x5670e0;let _0x151ffa=[];for(let _0xeb2408 of _0x3635fe){let _0x4fc247=Bt(_0xeb2408);if(!_0x4fc247||_0x4fc247[_0x44a40a(0x39d)]!==_0x44b8ba['id'])return null;_0x151ffa['push'](_0x4fc247['op']);}try{let _0x4f5d55=R(_0x151ffa);return _0x4f5d55===null?_0x44b8ba:new e()[_0x44a40a(0x2ee)](_0x44b8ba,_0x4f5d55);}catch{return null;}}['applyOp'](_0x12999f,_0x4e04a7){const _0x210569=_0x5670e0;let _0x28338c=this[_0x210569(0x23a)](_0x4e04a7),_0x836c53=I(_0x210569(0x29c),()=>Xt(_0x12999f,_0x4e04a7),{'invalidations':_0x28338c[_0x210569(0x19b)]}),_0x39d077=I(_0x210569(0x353),()=>_0x23944c[_0x210569(0xeb)]['apply'](_0x836c53,_0x4e04a7),{'invalidations':_0x28338c[_0x210569(0x19b)]}),_0x28b964=Ht(_0x39d077,_0x28338c);return I(_0x210569(0x255),()=>Vt(_0x39d077,_0x28338c),{'invalidations':_0x28338c[_0x210569(0x19b)]})?(Ut(_0x39d077,_0x28b964),_0x39d077):(I(_0x210569(0x283),()=>{const _0x8d3ddd=_0x210569;this['_getTablesToNormalize'](_0x39d077,_0x28338c)[_0x8d3ddd(0x143)](_0x45b6b7=>{const _0x233c41=_0x8d3ddd;let _0x557d77=_0x28338c[_0x233c41(0x364)](_0x48734a=>_0x48734a[_0x233c41(0x1a4)]===_0x45b6b7['id']),_0x96f789=_0x557d77['length']>0x0&&_0x557d77[_0x233c41(0x3f9)](_0x497533=>_0x497533['reason']===_0x233c41(0x378)||_0x497533['reason']===_0x233c41(0x1f5)||_0x497533[_0x233c41(0x37a)]===_0x233c41(0x96)||_0x497533[_0x233c41(0x37a)]===_0x233c41(0x1ef))?new Set(_0x557d77[_0x233c41(0x98)](_0x3f90c9=>{const _0x3bf1c1=_0x233c41;var _0x262e5d;if(_0x3f90c9[_0x3bf1c1(0x37a)]!==_0x3bf1c1(0x378)||!_0x3f90c9[_0x3bf1c1(0x186)])return[];let _0x4f09fb=(_0x262e5d=_0x12999f[_0x3bf1c1(0x41c)][_0x45b6b7['id']])==null?void 0x0:_0x262e5d['fields'][_0x3f90c9[_0x3bf1c1(0x186)]],_0x34d0ad=_0x45b6b7[_0x3bf1c1(0x2cb)][_0x3f90c9[_0x3bf1c1(0x186)]];return(_0x4f09fb==null?void 0x0:_0x4f09fb['type'])!==(_0x34d0ad==null?void 0x0:_0x34d0ad['type'])||(_0x4f09fb==null?void 0x0:_0x4f09fb[_0x3bf1c1(0x407)][_0x3bf1c1(0x22e)])!==(_0x34d0ad==null?void 0x0:_0x34d0ad[_0x3bf1c1(0x407)][_0x3bf1c1(0x22e)])?[_0x3f90c9['fieldId']]:[];})):void 0x0,_0x47e6eb=new Set(_0x557d77[_0x233c41(0x98)](_0x120d78=>{const _0x381fc3=_0x233c41;var _0x35de97,_0x326199;return _0x120d78[_0x381fc3(0x37a)]!==_0x381fc3(0x96)||_0x120d78[_0x381fc3(0x24b)]==null||_0x120d78[_0x381fc3(0x3fc)]==null?[]:[JSON['stringify']([(_0x35de97=_0x45b6b7[_0x381fc3(0x2ea)])==null?void 0x0:_0x35de97[_0x120d78[_0x381fc3(0x24b)]],(_0x326199=_0x45b6b7[_0x381fc3(0x18c)])==null?void 0x0:_0x326199[_0x120d78[_0x381fc3(0x3fc)]]])];}));ht(_0x45b6b7,_0x96f789?(_0x1e8288,_0x5a7e7f)=>_0x96f789[_0x233c41(0xb9)](_0x5a7e7f)||_0x47e6eb['has'](JSON[_0x233c41(0x1a0)]([_0x1e8288,_0x5a7e7f])):void 0x0);});},{'invalidations':_0x28338c[_0x210569(0x19b)]}),Ut(_0x39d077,_0x28b964),_0x39d077);}[_0x5670e0(0x210)](_0x5943cc,_0x596403){const _0x45e0c9=_0x5670e0;return _0x23944c[_0x45e0c9(0xeb)][_0x45e0c9(0x31c)](_0x596403,_0x5943cc);}[_0x5670e0(0x23a)](_0xe2c8a5){const _0x6d12c8=_0x5670e0;let _0x271bcb=qt(_0xe2c8a5);return _0x271bcb[_0x6d12c8(0x19b)]?Jt(_0x271bcb[_0x6d12c8(0x98)](_0x3b4dd5=>this['getAffectedRanges'](_0x3b4dd5))):Wt(_0xe2c8a5);}['_getTablesToNormalize'](_0x54dead,_0x3c39b2){const _0x1baa8a=_0x5670e0;let _0x35fbb5=_0x3c39b2[_0x1baa8a(0x364)](_0x1d16e3=>_0x1d16e3[_0x1baa8a(0x37a)]!==_0x1baa8a(0x1f5));return _0x35fbb5[_0x1baa8a(0x19b)]?_0x35fbb5[_0x1baa8a(0x1c1)](_0x45e873=>!_0x45e873[_0x1baa8a(0x1a4)])?Object['values'](_0x54dead['tables']??{}):Array[_0x1baa8a(0x162)](new Set(_0x35fbb5[_0x1baa8a(0x102)](_0x1f8cf2=>_0x1f8cf2[_0x1baa8a(0x1a4)])))['flatMap'](_0x5c56c5=>{const _0x1e900a=_0x1baa8a;var _0x40cc5f;let _0x4c7140=(_0x40cc5f=_0x54dead[_0x1e900a(0x41c)])==null?void 0x0:_0x40cc5f[_0x5c56c5];return _0x4c7140?[_0x4c7140]:[];}):[];}};function Bt(_0x5709fb){const _0x570443=_0x5670e0;let _0x31eb55=_0x5709fb[_0x570443(0x149)];return _0x5709fb['id']!==_0x570443(0x2f8)||typeof _0x31eb55!=_0x570443(0x360)||!_0x31eb55||!(_0x570443(0x39d)in _0x31eb55)||typeof _0x31eb55[_0x570443(0x39d)]!=_0x570443(0x2dc)||!('op'in _0x31eb55)||!Array[_0x570443(0x99)](_0x31eb55['op'])?null:{'unitId':_0x31eb55[_0x570443(0x39d)],'op':_0x31eb55['op']};}function Vt(_0x1bc344,_0x1e08fe){const _0x2899b8=_0x5670e0;if(!_0x1e08fe['length']||_0x1e08fe[_0x2899b8(0x1c1)](_0xd39aac=>_0xd39aac[_0x2899b8(0x37a)]!==_0x2899b8(0x96)))return!0x1;let _0xeebe5b=new Map();for(let _0x3be67 of _0x1e08fe){if(!_0x3be67[_0x2899b8(0x1a4)]||_0x3be67[_0x2899b8(0x24b)]==null||_0x3be67[_0x2899b8(0x3fc)]==null)continue;let _0xcf4f34=_0xeebe5b[_0x2899b8(0x2db)](_0x3be67[_0x2899b8(0x1a4)])??[];_0xcf4f34['push']({'row':_0x3be67[_0x2899b8(0x24b)],'col':_0x3be67['column']}),_0xeebe5b[_0x2899b8(0x2b8)](_0x3be67[_0x2899b8(0x1a4)],_0xcf4f34);}return _0xeebe5b[_0x2899b8(0x143)]((_0x266556,_0x1963cf)=>{const _0x4af57b=_0x2899b8;var _0x13def7;let _0x27f420=(_0x13def7=_0x1bc344[_0x4af57b(0x41c)])==null?void 0x0:_0x13def7[_0x1963cf];_0x27f420&&gt(_0x27f420,_0x266556);}),!0x0;}function Ht(_0x575ea4,_0x546c4c){const _0x26b9d8=_0x5670e0;let _0x58d063=new Set();return _0x546c4c[_0x26b9d8(0x98)](_0x13dd68=>{const _0x3e7f59=_0x26b9d8;var _0x42304c;if(!_0x13dd68[_0x3e7f59(0x1a4)]||!_0x13dd68[_0x3e7f59(0x191)]||!_0x13dd68[_0x3e7f59(0x186)])return[];let _0x4d4d06=_0x13dd68[_0x3e7f59(0x1a4)]+'\x1f'+_0x13dd68[_0x3e7f59(0x191)]+'\x1f'+_0x13dd68[_0x3e7f59(0x186)];if(_0x58d063[_0x3e7f59(0xb9)](_0x4d4d06))return[];_0x58d063[_0x3e7f59(0x41d)](_0x4d4d06);let _0x53e512=(_0x42304c=_0x575ea4[_0x3e7f59(0x41c)][_0x13dd68[_0x3e7f59(0x1a4)]])==null||(_0x42304c=_0x42304c[_0x3e7f59(0x83)][_0x13dd68['recordId']])==null?void 0x0:_0x42304c['values'];return _0x53e512?[{'tableId':_0x13dd68[_0x3e7f59(0x1a4)],'recordId':_0x13dd68['recordId'],'fieldId':_0x13dd68[_0x3e7f59(0x186)],'exists':Object['prototype'][_0x3e7f59(0x127)][_0x3e7f59(0x321)](_0x53e512,_0x13dd68[_0x3e7f59(0x186)]),'value':_0x53e512[_0x13dd68[_0x3e7f59(0x186)]]}]:[];});}function Ut(_0x417411,_0x1272d4){const _0x38b783=_0x5670e0;_0x1272d4[_0x38b783(0x143)](_0x4603f0=>{const _0x4448fe=_0x38b783;var _0x48957c;let _0x108522=(_0x48957c=_0x417411[_0x4448fe(0x41c)][_0x4603f0[_0x4448fe(0x1a4)]])==null||(_0x48957c=_0x48957c[_0x4448fe(0x83)][_0x4603f0[_0x4448fe(0x191)]])==null?void 0x0:_0x48957c[_0x4448fe(0x1c8)];_0x108522&&(_0x4603f0[_0x4448fe(0x188)]?_0x108522[_0x4603f0[_0x4448fe(0x186)]]=_0x4603f0[_0x4448fe(0x38a)]:delete _0x108522[_0x4603f0[_0x4448fe(0x186)]]);});}function Wt(_0x398342){const _0x16fa28=_0x5670e0;if(!Array['isArray'](_0x398342)||_0x398342[_0x16fa28(0x19b)]<0x2)return[{'tableId':'','reason':_0x16fa28(0xe8)}];let _0x486cb0=_0x398342,_0x1ad8e8=_0x486cb0[_0x16fa28(0x2e8)](_0x16fa28(0x41c));return _0x1ad8e8===-0x1||typeof _0x486cb0[_0x1ad8e8+0x1]!=_0x16fa28(0x2dc)?_0x486cb0[0x0]===_0x16fa28(0x427)?[]:[{'tableId':'','reason':'unknown'}]:Gt(_0x486cb0,_0x1ad8e8,String(_0x486cb0[_0x1ad8e8+0x1]));}function Gt(_0x4c7d71,_0x45218d,_0x3197d4){const _0x4f8bf4=_0x5670e0;let _0x312579=_0x4c7d71[_0x45218d+0x2];return _0x312579===_0x4f8bf4(0x83)&&typeof _0x4c7d71[_0x45218d+0x3]==_0x4f8bf4(0x2dc)?Kt(_0x4c7d71,_0x45218d,_0x3197d4,String(_0x4c7d71[_0x45218d+0x3])):_0x312579===_0x4f8bf4(0x259)&&_0x4c7d71[_0x45218d+0x3]!=null&&_0x4c7d71[_0x45218d+0x4]!=null?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x96),'row':Number(_0x4c7d71[_0x45218d+0x3]),'column':Number(_0x4c7d71[_0x45218d+0x4])}]:_0x312579===_0x4f8bf4(0x2cb)&&typeof _0x4c7d71[_0x45218d+0x3]==_0x4f8bf4(0x2dc)?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x378),'fieldId':String(_0x4c7d71[_0x45218d+0x3])}]:_0x312579===_0x4f8bf4(0x367)?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x378)}]:_0x312579==='recordOrder'?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x1ef)}]:_0x312579===_0x4f8bf4(0x21f)&&typeof _0x4c7d71[_0x45218d+0x3]=='string'?[{'tableId':_0x3197d4,'reason':'view','viewId':String(_0x4c7d71[_0x45218d+0x3])}]:_0x312579===_0x4f8bf4(0x139)?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x1f5)}]:_0x312579==='resources'?[{'tableId':_0x3197d4,'reason':_0x4f8bf4(0x96)}]:[{'tableId':_0x3197d4,'reason':_0x312579===void 0x0?_0x4f8bf4(0x19f):_0x4f8bf4(0xe8)}];}function Kt(_0x4605ab,_0x23e66c,_0xbc607b,_0x29842b){const _0x23bdba=_0x5670e0;return _0x4605ab[_0x23e66c+0x4]===_0x23bdba(0x1c8)&&typeof _0x4605ab[_0x23e66c+0x5]==_0x23bdba(0x2dc)?[{'tableId':_0xbc607b,'reason':_0x23bdba(0x96),'recordId':_0x29842b,'fieldId':String(_0x4605ab[_0x23e66c+0x5])}]:_0x4605ab[_0x23e66c+0x4]===_0x23bdba(0x120)||_0x4605ab[_0x23e66c+0x4]==='updatedBy'?[]:[{'tableId':_0xbc607b,'reason':_0x23bdba(0x1ef),'recordId':_0x29842b}];}function qt(_0x54b7e1){const _0x4398b8=_0x5670e0;if(!Array['isArray'](_0x54b7e1))return[];let _0xd9c9ad=_0x54b7e1['filter'](Array[_0x4398b8(0x99)]);if(_0xd9c9ad[_0x4398b8(0x19b)]>0x1&&_0xd9c9ad['length']===_0x54b7e1[_0x4398b8(0x19b)])return _0xd9c9ad;let _0x2d1e32=_0x54b7e1[_0x4398b8(0x91)](Array[_0x4398b8(0x99)]);if(_0x2d1e32>0x0&&_0x54b7e1[_0x4398b8(0xfa)](_0x2d1e32)[_0x4398b8(0x3f9)](Array[_0x4398b8(0x99)])){let _0x504817=_0x54b7e1[_0x4398b8(0xfa)](0x0,_0x2d1e32);return _0x54b7e1[_0x4398b8(0xfa)](_0x2d1e32)['map'](_0x41f4c9=>[..._0x504817,..._0x41f4c9]);}let _0xdf7c29=_0x54b7e1[_0x4398b8(0x2e8)](_0x4398b8(0x41c));if(_0xdf7c29===-0x1||typeof _0x54b7e1[_0xdf7c29+0x1]!='string')return[];let _0x588883=String(_0x54b7e1[_0xdf7c29+0x1]),_0x4908ce=_0x54b7e1[_0x4398b8(0xfa)](_0xdf7c29+0x2)[_0x4398b8(0x364)](Array[_0x4398b8(0x99)]);return _0x4908ce[_0x4398b8(0x19b)]<=0x1?[]:_0x4908ce[_0x4398b8(0x102)](_0x57e70a=>[_0x4398b8(0x41c),_0x588883,..._0x57e70a]);}function Jt(_0x202f02){const _0x375c34=_0x5670e0;let _0x901fef=new Set();return _0x202f02[_0x375c34(0x364)](_0x5a5a58=>{const _0x49463d=_0x375c34;let _0x401dc6=JSON[_0x49463d(0x1a0)](_0x5a5a58);return!_0x901fef[_0x49463d(0xb9)](_0x401dc6)&&(_0x901fef[_0x49463d(0x41d)](_0x401dc6),!0x0);});}function Yt(_0x13c3b9){const _0x2b1209=_0x5670e0;return _0x4bf94a[_0x2b1209(0x343)](_0x13c3b9);}function Xt(_0xc8030c,_0x346347){const _0x295c98=_0x5670e0;let _0xcb2d59=Zt(_0x346347);if(!_0xcb2d59[_0x295c98(0x19b)])return Yt(_0xc8030c);let _0x3c6dbc=an(_0xc8030c),_0x342fd2=new Set();for(let _0x38eb64 of _0xcb2d59)en(_0x3c6dbc,_0x38eb64,_0x342fd2);return _0x3c6dbc;}function Zt(_0x7d0bb1){let _0x1fb503=[];return Qt(_0x7d0bb1,[],_0x1fb503),_0x1fb503;}function Qt(_0x106786,_0x4b8cac,_0xe4f46a){const _0x8437de=_0x5670e0;if(!Array['isArray'](_0x106786))return;let _0x235ae3=[];for(let _0x219f52 of _0x106786)Array[_0x8437de(0x99)](_0x219f52)?Qt(_0x219f52,[..._0x4b8cac,..._0x235ae3],_0xe4f46a):$t(_0x219f52)?_0xe4f46a[_0x8437de(0x393)]([..._0x4b8cac,..._0x235ae3]):(typeof _0x219f52=='string'||typeof _0x219f52=='number')&&_0x235ae3[_0x8437de(0x393)](_0x219f52);}function $t(_0x496360){const _0x432398=_0x5670e0;if(!_0x496360||typeof _0x496360!='object'||Array['isArray'](_0x496360))return!0x1;let _0x3cd361=_0x496360;return'i'in _0x3cd361||'r'in _0x3cd361||'p'in _0x3cd361||'d'in _0x3cd361||'es'in _0x3cd361||_0x432398(0x3be)in _0x3cd361||'et'in _0x3cd361;}function en(_0xf0fff6,_0x29741f,_0x3f75a8){const _0x8c5048=_0x5670e0;let _0xf7fe6c=_0xf0fff6,_0x3ed207=[];for(let _0x334461=0x0;_0x334461<_0x29741f[_0x8c5048(0x19b)]-0x1;_0x334461++){let _0x361668=_0x29741f[_0x334461];_0x3ed207['push'](_0x361668);let _0x31173c=tn(_0xf7fe6c,_0x361668);if(!rn(_0x31173c))return;let _0x4aa6e8=JSON[_0x8c5048(0x1a0)](_0x3ed207);_0x3f75a8[_0x8c5048(0xb9)](_0x4aa6e8)||(nn(_0xf7fe6c,_0x361668,an(_0x31173c)),_0x3f75a8[_0x8c5048(0x41d)](_0x4aa6e8));let _0x5d360b=tn(_0xf7fe6c,_0x361668);if(!rn(_0x5d360b))return;_0xf7fe6c=_0x5d360b;}}function tn(_0x4f226f,_0x3a4874){const _0x58549a=_0x5670e0;return Array[_0x58549a(0x99)](_0x4f226f)?typeof _0x3a4874==_0x58549a(0x174)?_0x4f226f[_0x3a4874]:void 0x0:Reflect[_0x58549a(0x2db)](_0x4f226f,_0x3a4874);}function nn(_0x2905b0,_0x23c071,_0x45dffa){const _0x5df6b8=_0x5670e0;Array['isArray'](_0x2905b0)?typeof _0x23c071=='number'&&(_0x2905b0[_0x23c071]=_0x45dffa):Reflect[_0x5df6b8(0x2b8)](_0x2905b0,_0x23c071,_0x45dffa);}function rn(_0x297163){const _0x47bcee=_0x5670e0;return!!_0x297163&&typeof _0x297163==_0x47bcee(0x360);}function an(_0x348ad6){const _0x1b1bf2=_0x5670e0;return Array[_0x1b1bf2(0x99)](_0x348ad6)?_0x348ad6[_0x1b1bf2(0xfa)]():{..._0x348ad6};}const on=_0x5670e0(0x2b4),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x5670e0(0x3eb),'yyyy-mm-dd':_0x5670e0(0x3c9),'mm-dd':'MM-DD','mm/dd/yyyy':_0x5670e0(0x3c7),'dd/mm/yyyy':_0x5670e0(0x290),'mmm\x20d,\x20yyyy':_0x5670e0(0x421)};function B(_0xbd0065,_0x91c736=_0x4e0c74[_0x5670e0(0x309)]){const _0x30fcbd=_0x5670e0;let _0x115eb7=_0x225fb2(_0xbd0065)[_0x30fcbd(0x1f3)]();return _0x3bf7f8(new Date(_0x115eb7),_0x91c736);}function ln(_0xabf9d8,_0x8b8032=_0x4e0c74[_0x5670e0(0x309)]){const _0x30fed9=_0x5670e0;return _0x3f3713(_0xabf9d8,_0x8b8032)[_0x30fed9(0x382)]();}function un(_0x54e19f,_0x289780=_0x4e0c74['Date1900']){const _0x2717fe=_0x5670e0;if(_0x54e19f==null||_0x54e19f==='')return null;if(_0x54e19f instanceof Date)return B(_0x54e19f,_0x289780);if(typeof _0x54e19f==_0x2717fe(0x174))return Number[_0x2717fe(0x154)](_0x54e19f)?_0x54e19f>0xf4240?B(_0x54e19f,_0x289780):_0x54e19f:null;let _0x9069ae=Date['parse'](String(_0x54e19f));return Number[_0x2717fe(0x2ca)](_0x9069ae)?null:B(_0x9069ae,_0x289780);}function dn(_0x2a6943,_0xeaa6e3=_0x4e0c74['Date1900']){let _0x25ea2b=un(_0x2a6943,_0xeaa6e3);return _0x25ea2b==null?null:ln(_0x25ea2b,_0xeaa6e3);}function fn(_0x5ae1ee={}){const _0x294a01=_0x5670e0;let _0x310974=String(_0x5ae1ee['pattern']??_0x5ae1ee[_0x294a01(0x2b6)]??_0x5ae1ee[_0x294a01(0x395)]??on)[_0x294a01(0x12d)]()||on,_0x4fd635=sn['test'](_0x310974);return{'pattern':_0x310974[_0x294a01(0xf2)](sn,'')||on,'includeTime':typeof _0x5ae1ee[_0x294a01(0x30b)]==_0x294a01(0x168)?_0x5ae1ee[_0x294a01(0x30b)]:_0x4fd635,'hourCycle':_0x5ae1ee['hourCycle']===_0x294a01(0xcb)?_0x294a01(0xcb):_0x294a01(0x348)};}function pn(_0x34a97e={}){let {format:_0xbc137d,dateFormat:_0x2312a3,..._0x504ad7}=_0x34a97e;return{..._0x504ad7,...fn(_0x34a97e)};}function mn(_0x321292,_0x5e6049={}){const _0x3ba022=_0x5670e0;let _0x2b9353=dn(_0x321292);if(_0x2b9353==null||!Number[_0x3ba022(0x154)](_0x2b9353))return'';let _0x460867=fn(_0x5e6049);return _0x225fb2(_0x2b9353)[_0x3ba022(0x2b6)](hn(_0x460867));}function hn(_0x32e470){const _0x52c35a=_0x5670e0;let {pattern:_0x18b8d5,includeTime:_0x3fea86,hourCycle:_0xea8301}=_0x32e470,_0x276531=cn[_0x18b8d5]??cn[on];return _0x3fea86?_0x276531+'\x20'+(_0xea8301===_0x52c35a(0xcb)?_0x52c35a(0x3c4):'HH:mm'):_0x276531;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x4fe15f[_0x5670e0(0x300)]]);function vn(_0x3ada56){const _0x4e4a35=_0x5670e0;switch(_0x3ada56){case _0x4fe15f[_0x4e4a35(0x27d)]:case _0x4fe15f[_0x4e4a35(0x115)]:case _0x4fe15f[_0x4e4a35(0x2b0)]:case _0x4fe15f[_0x4e4a35(0x1ae)]:return[_0x4d7aa6['IS'],_0x4d7aa6[_0x4e4a35(0xf4)],_0x4d7aa6['GREATER_THAN'],_0x4d7aa6[_0x4e4a35(0x1a3)],_0x4d7aa6[_0x4e4a35(0x2fe)],_0x4d7aa6['IS_NOT_EMPTY']];case _0x4fe15f[_0x4e4a35(0x1cc)]:case _0x4fe15f[_0x4e4a35(0x121)]:case _0x4fe15f[_0x4e4a35(0x236)]:return[_0x4d7aa6['IS'],_0x4d7aa6[_0x4e4a35(0xf4)],_0x4d7aa6[_0x4e4a35(0x35f)],_0x4d7aa6[_0x4e4a35(0xa2)],_0x4d7aa6[_0x4e4a35(0x2fe)],_0x4d7aa6[_0x4e4a35(0x180)]];case _0x4fe15f[_0x4e4a35(0x1f2)]:return[_0x4d7aa6['IS'],_0x4d7aa6[_0x4e4a35(0xf4)]];default:return[_0x4d7aa6['IS'],_0x4d7aa6[_0x4e4a35(0xf4)],_0x4d7aa6['CONTAINS'],_0x4d7aa6['NOT_CONTAINS'],_0x4d7aa6[_0x4e4a35(0x2fe)],_0x4d7aa6[_0x4e4a35(0x180)]];}}function yn(_0x588e4b){const _0x198419=_0x5670e0;return _0x588e4b===_0x4fe15f['Date']||_0x588e4b===_0x4fe15f[_0x198419(0x121)]||_0x588e4b===_0x4fe15f['UpdatedAt'];}function bn(_0x2311d9,_0x2ba1fa){const _0xa7ab9a=_0x5670e0;return _0x2311d9==null&&_0x2ba1fa==null?0x0:_0x2311d9==null?-0x1:_0x2ba1fa==null?0x1:typeof _0x2311d9==_0xa7ab9a(0x174)&&typeof _0x2ba1fa=='number'?_0x2311d9-_0x2ba1fa:String(_0x2311d9)[_0xa7ab9a(0x135)](String(_0x2ba1fa));}function xn(_0x1ed82d,_0x5e864a,_0x2decb,_0xefd6e7,_0x2ef4c3={}){const _0x2a4805=_0x5670e0;if(_0x5e864a===_0x2a4805(0x12b))return Sn(_0x1ed82d);if(_0x5e864a===_0x2a4805(0x288))return!Sn(_0x1ed82d);switch(_0xefd6e7[_0x2a4805(0xeb)]){case _0x4fe15f[_0x2a4805(0x27d)]:case _0x4fe15f[_0x2a4805(0x115)]:case _0x4fe15f[_0x2a4805(0x2b0)]:case _0x4fe15f[_0x2a4805(0x1ae)]:return Cn(_0x1ed82d,_0x5e864a,_0x2decb);case _0x4fe15f[_0x2a4805(0x1cc)]:case _0x4fe15f[_0x2a4805(0x121)]:case _0x4fe15f['UpdatedAt']:return Tn(_0x1ed82d,_0x5e864a,_0x2decb,_0x2ef4c3);case _0x4fe15f[_0x2a4805(0x1f2)]:return jn(_0x1ed82d,_0x5e864a,_0x2decb);case _0x4fe15f[_0x2a4805(0x1dd)]:case _0x4fe15f[_0x2a4805(0x8b)]:case _0x4fe15f[_0x2a4805(0x36c)]:case _0x4fe15f['Group']:return Nn(_0x1ed82d,_0x5e864a,_0x2decb,_0xefd6e7);default:return Pn(_0x1ed82d,_0x5e864a,_0x2decb);}}function Sn(_0x3312e5){const _0x68b3e9=_0x5670e0;return _0x3312e5==null?!0x0:Array['isArray'](_0x3312e5)?_0x3312e5['length']===0x0:typeof _0x3312e5==_0x68b3e9(0x2dc)&&_0x3312e5[_0x68b3e9(0x12d)]()==='';}function Cn(_0x572419,_0x187e8a,_0x145502){const _0x4f80fa=_0x5670e0;let _0x104f8a=wn(_0x572419),_0x3ffa54=wn(_0x145502);if(_0x104f8a==null||_0x3ffa54==null)return!0x1;switch(_0x187e8a){case'is':return _0x104f8a===_0x3ffa54;case _0x4f80fa(0x409):return _0x104f8a!==_0x3ffa54;case _0x4f80fa(0x2ff):return _0x104f8a>_0x3ffa54;case _0x4f80fa(0x266):return _0x104f8a>=_0x3ffa54;case _0x4f80fa(0x175):return _0x104f8a<_0x3ffa54;case _0x4f80fa(0x1fd):return _0x104f8a<=_0x3ffa54;default:return!0x1;}}function wn(_0x19b542){if(_0x19b542==null||_0x19b542==='')return null;let _0xc9c4c0=Number(_0x19b542);return Number['isFinite'](_0xc9c4c0)?_0xc9c4c0:null;}function Tn(_0x465909,_0x37ccc1,_0x2d1da6,_0x2042de){const _0xf39694=_0x5670e0;let _0x537722=Dn(_0x465909);if(_0x537722==null)return!0x1;let _0x440eb9=En(_0x2042de[_0xf39694(0xbe)]??_0x511cc3[_0xf39694(0x394)],_0x2d1da6,_0x2042de['now']);if(!_0x440eb9)return!0x1;switch(_0x37ccc1){case _0x4d7aa6['IS']:return _0x537722>=_0x440eb9[_0xf39694(0x1de)]&&_0x537722<=_0x440eb9[_0xf39694(0x92)];case _0x4d7aa6[_0xf39694(0xf4)]:return _0x537722<_0x440eb9[_0xf39694(0x1de)]||_0x537722>_0x440eb9[_0xf39694(0x92)];case _0x4d7aa6[_0xf39694(0x35f)]:return _0x537722<_0x440eb9[_0xf39694(0x1de)];case _0x4d7aa6[_0xf39694(0xa2)]:return _0x537722>_0x440eb9['end'];default:return!0x1;}}function En(_0x5296dc,_0x4b2cd4,_0x22a41a=Date[_0x5670e0(0x2b3)]()){const _0x3a83e9=_0x5670e0;let _0x39b01a=On(_0x22a41a);switch(_0x5296dc){case _0x511cc3[_0x3a83e9(0x394)]:{let _0x3a2d7b=Dn(_0x4b2cd4);return _0x3a2d7b==null?null:V(_0x3a2d7b,0x0,0x1);}case _0x511cc3[_0x3a83e9(0x18e)]:return V(_0x39b01a,0x0,0x1);case _0x511cc3[_0x3a83e9(0x150)]:return V(_0x39b01a,0x1,0x1);case _0x511cc3[_0x3a83e9(0x31f)]:return V(_0x39b01a,-0x1,0x1);case _0x511cc3[_0x3a83e9(0x2c3)]:return kn(_0x39b01a,0x0);case _0x511cc3[_0x3a83e9(0x14b)]:return kn(_0x39b01a,-0x1);case _0x511cc3[_0x3a83e9(0x12c)]:return An(_0x39b01a,0x0);case _0x511cc3[_0x3a83e9(0x21e)]:return An(_0x39b01a,-0x1);case _0x511cc3[_0x3a83e9(0x28d)]:return V(_0x39b01a,-0x6,0x7);case _0x511cc3[_0x3a83e9(0xe9)]:return V(_0x39b01a,0x0,0x7);case _0x511cc3[_0x3a83e9(0x171)]:return V(_0x39b01a,-0x1d,0x1e);case _0x511cc3[_0x3a83e9(0x2c7)]:return V(_0x39b01a,0x0,0x1e);}}function Dn(_0x4b1311){let _0x359781=un(_0x4b1311);return _0x359781==null?null:On(ln(_0x359781));}function On(_0x405e82){const _0x4545ba=_0x5670e0;let _0x2e00fb=new Date(_0x405e82);return _0x2e00fb[_0x4545ba(0x36e)](0x0,0x0,0x0,0x0),_0x2e00fb[_0x4545ba(0x382)]();}function kn(_0x46f07a,_0x45ad75){const _0x4cfebf=_0x5670e0;return V(_0x46f07a,-((new Date(_0x46f07a)[_0x4cfebf(0x273)]()+0x6)%0x7)+_0x45ad75*0x7,0x7);}function V(_0x583551,_0x105c32,_0xd8a445){const _0x22d8cc=_0x5670e0;let _0x4f3c21=_0x225fb2(_0x583551)['add'](_0x105c32,_0x22d8cc(0x1dc));return{'start':_0x4f3c21['valueOf'](),'end':_0x4f3c21['add'](_0xd8a445,'day')[_0x22d8cc(0x1f3)]()-0x1};}function An(_0x278294,_0x5ec94c){const _0xeeed27=_0x5670e0;let _0x1802d3=new Date(_0x278294),_0x37f687=new Date(_0x1802d3[_0xeeed27(0x37e)](),_0x1802d3[_0xeeed27(0x3e1)]()+_0x5ec94c,0x1),_0x2093dd=new Date(_0x1802d3['getFullYear'](),_0x1802d3['getMonth']()+_0x5ec94c+0x1,0x1);return{'start':_0x37f687[_0xeeed27(0x382)](),'end':_0x2093dd[_0xeeed27(0x382)]()-0x1};}function jn(_0x197aed,_0x557702,_0x5dbfb3){const _0x1ffd9f=_0x5670e0;let _0x3a134c=Mn(_0x197aed),_0x3a3954=Mn(_0x5dbfb3);switch(_0x557702){case'is':return _0x3a134c===_0x3a3954;case _0x1ffd9f(0x409):return _0x3a134c!==_0x3a3954;default:return!0x1;}}function Mn(_0x37eb91){const _0x27346e=_0x5670e0;return _0x37eb91===!0x0||_0x37eb91===_0x27346e(0x1ad)||_0x37eb91===0x1||_0x37eb91==='1';}function Nn(_0x4c250f,_0x58b502,_0x1e655c,_0x51cbd6){const _0x32b3f4=_0x5670e0;let _0x1cff12=In(_0x4c250f,_0x51cbd6),_0x26c5ac=In(_0x1e655c,_0x51cbd6),_0x5a7bab=_0x26c5ac['length']>0x0&&_0x26c5ac[_0x32b3f4(0x1c1)](_0x535372=>_0x1cff12[_0x32b3f4(0x173)](_0x535372));switch(_0x58b502){case'is':case'contains':return _0x5a7bab;case _0x32b3f4(0x409):case'notContains':return!_0x5a7bab;default:return!0x1;}}function Pn(_0xf7fabf,_0x3dd97f,_0x5b5637){const _0x3d97d9=_0x5670e0;let _0x50fb04=Fn(_0xf7fabf),_0x3ad1cf=Fn(_0x5b5637);switch(_0x3dd97f){case'is':return _0x50fb04===_0x3ad1cf;case _0x3d97d9(0x409):return _0x50fb04!==_0x3ad1cf;case _0x3d97d9(0x386):return _0x3ad1cf?_0x50fb04[_0x3d97d9(0x173)](_0x3ad1cf):!0x1;case _0x3d97d9(0x42b):return!_0x3ad1cf||!_0x50fb04[_0x3d97d9(0x173)](_0x3ad1cf);default:return!0x1;}}function Fn(_0x13aa80){const _0x5229ce=_0x5670e0;if(Array['isArray'](_0x13aa80))return _0x13aa80[_0x5229ce(0x102)](_0x23e9a4=>Fn(_0x23e9a4))[_0x5229ce(0x3d6)]('\x0a');if(_0x13aa80&&typeof _0x13aa80==_0x5229ce(0x360)){let _0x727db3=_0x13aa80;return String(_0x727db3[_0x5229ce(0x26f)]??_0x727db3[_0x5229ce(0x2e6)]??_0x727db3[_0x5229ce(0x277)]??_0x727db3[_0x5229ce(0x38a)]??_0x727db3['id']??'')['trim']()[_0x5229ce(0x374)]();}return String(_0x13aa80??'')[_0x5229ce(0x12d)]()[_0x5229ce(0x374)]();}function In(_0x4578c9,_0x3beebc){const _0x497436=_0x5670e0;let _0x41de37=Ln(_0x4578c9),_0x27d252=Rn(_0x3beebc[_0x497436(0x407)]??{});return _0x41de37[_0x497436(0x98)](_0x41977d=>_0x27d252['get'](_0x41977d)??[_0x41977d])[_0x497436(0x364)]((_0x353601,_0x535ba2,_0x84834)=>_0x353601!==''&&_0x84834[_0x497436(0x2e8)](_0x353601)===_0x535ba2);}function Ln(_0x1bd268){const _0x1ddff8=_0x5670e0;if(_0x1bd268==null||_0x1bd268==='')return[];if(Array['isArray'](_0x1bd268))return _0x1bd268['flatMap'](_0x53b2dc=>Ln(_0x53b2dc));if(_0x1bd268&&typeof _0x1bd268==_0x1ddff8(0x360)){let _0x3f1b38=_0x1bd268;return['id',_0x1ddff8(0x26f),_0x1ddff8(0x2e6),'value',_0x1ddff8(0x277)][_0x1ddff8(0x98)](_0x54a247=>Ln(_0x3f1b38[_0x54a247]))[_0x1ddff8(0x364)]((_0x2afce6,_0x5bf944,_0x9dac27)=>_0x9dac27[_0x1ddff8(0x2e8)](_0x2afce6)===_0x5bf944);}return[Fn(_0x1bd268)];}function Rn(_0x148ac7){const _0x395cda=_0x5670e0;let _0x27ae06=new Map();return(Array['isArray'](_0x148ac7[_0x395cda(0x212)])?_0x148ac7['options']:[])[_0x395cda(0x143)](_0x4ac927=>{const _0x5032b8=_0x395cda;if(!_0x4ac927||typeof _0x4ac927!='object')return;let _0x5c713d=Ln(_0x4ac927),_0x57e959=_0x5c713d[_0x5032b8(0x364)]((_0x586d82,_0x2a560e)=>_0x586d82!==''&&_0x5c713d[_0x5032b8(0x2e8)](_0x586d82)===_0x2a560e);_0x57e959[_0x5032b8(0x143)](_0x1d77ac=>_0x27ae06[_0x5032b8(0x2b8)](_0x1d77ac,_0x57e959));}),_0x27ae06;}function H(_0x398c30,_0x4d856c={},_0x206995=_0x45e44e=>_0x45e44e,_0x3c03ba={}){const _0x2beae8=_0x5670e0;let _0xa02c21=!_n['has'](_0x398c30),_0x885016=_0x206995??(_0x5321f1=>_0x5321f1);return{'type':_0x398c30,'i18nKey':_0x2beae8(0x3e3)+_0x398c30,'enabled':_0xa02c21,'visibleInCreateMenu':_0xa02c21,'createDefaultConfig':_0x3c03ba[_0x2beae8(0xe4)]??(()=>({})),'createDefaultValue':_0x3c03ba['createDefaultValue']??(_0x5e0a5d=>_0x5e0a5d[_0x2beae8(0x41a)]??null),'normalize':(_0x5212b8,_0x48a665)=>_0x885016(_0x5212b8,_0x48a665),'validate':(_0x4d7510,_0x349f8a)=>{var _0xa3bc38;return _0xa02c21?((_0xa3bc38=_0x3c03ba['validate'])==null?void 0x0:_0xa3bc38['call'](_0x3c03ba,_0x4d7510,_0x349f8a))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x3cfe29,_0x5acf5f)=>bn(_0x3cfe29,_0x5acf5f),'filter':(_0x4a8693,_0x2da82e,_0x10db12,_0x16ad04)=>xn(_0x4a8693,_0x2da82e,_0x10db12,_0x16ad04),'toPlainText':_0x3c03ba['toPlainText']??(_0xdd4749=>_0xdd4749==null?'':String(_0xdd4749)),'fromPlainText':_0x3c03ba['fromPlainText']??(_0x120428=>_0x885016(_0x120428,{'id':'','name':'','type':_0x398c30,'config':{}})),'getCapabilities':()=>({...gn,..._0x4d856c,'editable':_0xa02c21&&(_0x4d856c[_0x2beae8(0x172)]??gn['editable'])})};}function zn(){const _0x1f264d=_0x5670e0;return[H(_0x4fe15f[_0x1f264d(0x3fb)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x1f264d(0x8d)}),'createDefaultValue':_0x27c4a7=>_0x27c4a7[_0x1f264d(0x41a)]??''}),H(_0x4fe15f[_0x1f264d(0x1dd)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4e2034=>_0x4e2034==null||_0x4e2034===''?null:String(_0x4e2034),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),H(_0x4fe15f[_0x1f264d(0x8b)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x34e158=>Array['isArray'](_0x34e158)?_0x34e158['map'](String):_0x34e158==null?[]:[String(_0x34e158)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x1f264d(0x160)}}),'createDefaultValue':_0x30a6cc=>_0x30a6cc[_0x1f264d(0x41a)]??[]}),H(_0x4fe15f['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x1f264d(0x1b3)}),'validate':Gn}),H(_0x4fe15f[_0x1f264d(0x29d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x4282e8=>_0x4282e8['defaultValue']??[],'validate':Kn}),H(_0x4fe15f[_0x1f264d(0x1cc)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x22a3da=>un(_0x22a3da),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x4fe15f[_0x1f264d(0x134)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x285275=>_0x285275==null?[]:Array[_0x1f264d(0x99)](_0x285275)?_0x285275:[_0x285275],{'createDefaultValue':_0x5927d5=>_0x5927d5[_0x1f264d(0x41a)]??[]}),H(_0x4fe15f[_0x1f264d(0x27d)],{},_0x5be2b1=>_0x5be2b1==null||_0x5be2b1===''?null:Number(_0x5be2b1),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x4fe15f['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2c46aa=>_0x2c46aa===!0x0||_0x2c46aa===_0x1f264d(0x1ad)||_0x2c46aa===0x1||_0x2c46aa==='1',{'createDefaultConfig':()=>({'icon':_0x1f264d(0x25c),'color':_0x1f264d(0x234)}),'createDefaultValue':_0x3bf662=>_0x3bf662[_0x1f264d(0x41a)]??!0x1,'validate':_0x10106c=>typeof _0x10106c=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1f264d(0xb3)}}),H(_0x4fe15f[_0x1f264d(0x399)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x1f264d(0x224)}),'toPlainText':_0x1a3b48=>Zn(_0x1a3b48),'fromPlainText':_0x4e201c=>Xn(_0x4e201c)}),H(_0x4fe15f[_0x1f264d(0x3a5)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x1f264d(0x3f8),'pattern':_0x1f264d(0xc4)}}),'createDefaultValue':()=>null}),H(_0x4fe15f['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x1f264d(0x278)}),'createDefaultValue':()=>null}),H(_0x4fe15f[_0x1f264d(0x2e9)],{'usableAsTitle':!0x0},_0x2671ae=>_0x2671ae==null?null:String(_0x2671ae)['trim'](),{'validate':_0x615a61=>_0x615a61==null||_0x615a61===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x615a61))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x4fe15f[_0x1f264d(0x18f)],{'usableAsTitle':!0x0},_0x4c5ef2=>_0x4c5ef2==null?null:String(_0x4c5ef2)['trim'](),{'validate':_0x2f7c5d=>_0x2f7c5d==null||_0x2f7c5d===''||$n(String(_0x2f7c5d))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),H(_0x4fe15f[_0x1f264d(0x2b0)],{'usableAsGanttProgress':!0x0},_0x5a8da6=>_0x5a8da6==null||_0x5a8da6===''?null:Number(_0x5a8da6),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x1f264d(0x3ee),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x33c4bd,_0x39c062)=>Yn(_0x33c4bd,_0x39c062,_0x1f264d(0x24d))}),H(_0x4fe15f[_0x1f264d(0x115)],{},_0x1a0f3a=>_0x1a0f3a==null||_0x1a0f3a===''?null:Number(_0x1a0f3a),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x4fe15f[_0x1f264d(0x1ae)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x333179=>_0x333179==null||_0x333179===''?null:Number(_0x333179),{'createDefaultConfig':()=>({'icon':_0x1f264d(0x39c),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x463923,_0x2d40a3)=>Yn(_0x463923,_0x2d40a3,'[BaseField]:\x20invalid\x20rating\x20value.')}),H(_0x4fe15f[_0x1f264d(0x36f)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x37c818,_0x3d80b5)=>ze(_0x37c818,_0x3d80b5[_0x1f264d(0x407)]['multiple']===!0x0)}),H(_0x4fe15f[_0x1f264d(0x300)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x4fe15f['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x5b7995=>_0x5b7995==null?null:String(_0x5b7995),{'createDefaultConfig':()=>({'provider':_0x1f264d(0x349)}),'createDefaultValue':()=>null}),H(_0x4fe15f['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0xea035e=>_0xea035e==null?null:String(_0xea035e),{'createDefaultConfig':()=>({'provider':_0x1f264d(0x349)}),'createDefaultValue':()=>null}),H(_0x4fe15f[_0x1f264d(0x121)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x20195b=>un(_0x20195b),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x4fe15f[_0x1f264d(0x236)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3bb099=>un(_0x3bb099),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x1b32ac=_0x5670e0;return{'pattern':_0x1b32ac(0x93),'decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function Vn(){const _0x365e94=_0x5670e0;return{'locale':_0x365e94(0x313),'pattern':_0x365e94(0x2b4),'includeTime':!0x1,'hourCycle':_0x365e94(0x348),'defaultMode':_0x365e94(0x331)};}function Hn(_0x494f94){const _0x4637f6=_0x5670e0;return _0x494f94==null||_0x494f94===''?[]:Array[_0x4637f6(0x99)](_0x494f94)?_0x494f94[_0x4637f6(0x102)](String):[String(_0x494f94)];}function Un(_0x57795f){return typeof _0x57795f=='string'?_0x57795f:'';}function Wn(_0x59428d,_0x4cb081){const _0x531f94=_0x5670e0;return _0x59428d==null||_0x59428d===''?_0x4cb081[_0x531f94(0x407)][_0x531f94(0x22e)]===!0x0?[]:null:_0x4cb081[_0x531f94(0x407)]['allowMultiple']===!0x0?Array[_0x531f94(0x99)](_0x59428d)?_0x59428d[_0x531f94(0x102)](String):[String(_0x59428d)]:Array[_0x531f94(0x99)](_0x59428d)?String(_0x59428d[0x0]??'')||null:String(_0x59428d);}function Gn(_0x10ea61,_0x2ba2f7){const _0x156e57=_0x5670e0;return _0x2ba2f7[_0x156e57(0x407)]['allowMultiple']===!0x0?Kn(_0x10ea61):_0x10ea61==null||_0x10ea61===''||typeof _0x10ea61==_0x156e57(0x2dc)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x156e57(0x21b)};}function Kn(_0x552e7d){const _0x992691=_0x5670e0;return _0x552e7d==null||Array[_0x992691(0x99)](_0x552e7d)&&_0x552e7d[_0x992691(0x3f9)](_0x269fa4=>typeof _0x269fa4=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x992691(0x137)};}function qn(_0x214f1d){const _0x20062d=_0x5670e0;return _0x214f1d==null||typeof _0x214f1d==_0x20062d(0x174)&&Number['isFinite'](_0x214f1d)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x20062d(0x206)};}function Jn(_0x1c6e84,_0x1a52e3){const _0x4efd93=_0x5670e0;return _0x1c6e84==null||_0x1c6e84===''?{'valid':!0x0}:typeof _0x1c6e84!=_0x4efd93(0x174)||!Number['isFinite'](_0x1c6e84)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x1a52e3[_0x4efd93(0x407)][_0x4efd93(0x8e)]===!0x1&&_0x1c6e84<0x0?{'valid':!0x1,'reason':_0x4efd93(0x222)}:{'valid':!0x0};}function Yn(_0x1c7c41,_0x22efba,_0x3c213c){const _0xf0e9e9=_0x5670e0;let _0x75dce0=Jn(_0x1c7c41,_0x22efba);if(!_0x75dce0[_0xf0e9e9(0x246)]||_0x1c7c41==null||_0x1c7c41==='')return _0x75dce0;let _0x2961d9=Number(_0x22efba['config'][_0xf0e9e9(0x3a1)]??_0x22efba[_0xf0e9e9(0x407)]['start']??0x0),_0x2ff078=Number(_0x22efba[_0xf0e9e9(0x407)][_0xf0e9e9(0x272)]??_0x22efba[_0xf0e9e9(0x407)]['end']??0x64),_0x19cc24=Number(_0x1c7c41);return _0x19cc24>=_0x2961d9&&_0x19cc24<=_0x2ff078?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3c213c};}function Xn(_0x565ad2){const _0x1bb32e=_0x5670e0;if(_0x565ad2==null||_0x565ad2==='')return null;if(typeof _0x565ad2=='object'&&!Array[_0x1bb32e(0x99)](_0x565ad2)){let _0x51d6b3=_0x565ad2,_0x1bf88f=typeof _0x51d6b3[_0x1bb32e(0x277)]==_0x1bb32e(0x2dc)?_0x51d6b3[_0x1bb32e(0x277)][_0x1bb32e(0x12d)]():'',_0x2a5c19=typeof _0x51d6b3[_0x1bb32e(0x33c)]==_0x1bb32e(0x2dc)?_0x51d6b3[_0x1bb32e(0x33c)][_0x1bb32e(0x12d)]():'',_0x24d7e6=Qn(_0x2a5c19||_0x1bf88f);return _0x24d7e6?{'text':_0x1bf88f||_0x2a5c19||_0x24d7e6,'url':_0x24d7e6}:null;}let _0x1856a8=String(_0x565ad2)[_0x1bb32e(0x12d)](),_0x26b013=Qn(_0x1856a8);return _0x26b013?{'text':_0x1856a8,'url':_0x26b013}:null;}function Zn(_0xdcd46b){const _0x147703=_0x5670e0;if(_0xdcd46b==null)return'';if(typeof _0xdcd46b==_0x147703(0x360)&&!Array['isArray'](_0xdcd46b)){let _0x651d0e=_0xdcd46b;return String(_0x651d0e[_0x147703(0x277)]||_0x651d0e[_0x147703(0x33c)]||'');}return String(_0xdcd46b);}function Qn(_0x127b15){const _0x598c72=_0x5670e0;let _0x32aa45=_0x127b15[_0x598c72(0x12d)]();if(!_0x32aa45)return'';let _0x31f87d=/^[a-z][a-z\d+.-]*:/i[_0x598c72(0x106)](_0x32aa45)?_0x32aa45:_0x32aa45[_0x598c72(0xb5)]('//')?'https:'+_0x32aa45:_0x598c72(0x122)+_0x32aa45;try{let _0x3150bc=new URL(_0x31f87d);return _0x3150bc['protocol']===_0x598c72(0x356)||_0x3150bc[_0x598c72(0x2c2)]==='https:'?_0x3150bc[_0x598c72(0x235)]:'';}catch{return'';}}function $n(_0x13336a){const _0x427274=_0x5670e0;let _0x2dd468=_0x13336a['indexOf']('@');if(_0x2dd468<=0x0||_0x2dd468!==_0x13336a[_0x427274(0x1d1)]('@'))return!0x1;let _0x376319=_0x13336a['slice'](_0x2dd468+0x1);return _0x376319[_0x427274(0x173)]('.')&&!_0x13336a[_0x427274(0x173)]('\x20')&&!_0x376319[_0x427274(0xb5)]('.')&&!_0x376319['endsWith']('.');}const U={'table':_0x4baf53=>[_0x5670e0(0x41c),_0x4baf53],'field':(_0x1a64ce,_0x25133d)=>[_0x5670e0(0x41c),_0x1a64ce,_0x5670e0(0x2cb),_0x25133d],'fieldOrder':(_0x3a4b50,_0x305940)=>[_0x5670e0(0x41c),_0x3a4b50,_0x5670e0(0x367),_0x305940],'record':(_0x3aad52,_0x1a2f38)=>['tables',_0x3aad52,_0x5670e0(0x83),_0x1a2f38],'cell':(_0x347683,_0xdb8a82,_0x2e21f1)=>['tables',_0x347683,_0x5670e0(0x83),_0xdb8a82,_0x5670e0(0x1c8),_0x2e21f1],'cellData':(_0xa3a5d,_0x41124e,_0x4ffd16)=>['tables',_0xa3a5d,'cellData',String(_0x41124e),String(_0x4ffd16)],'attachmentSet':(_0x29a7e1,_0x181fe6)=>[_0x5670e0(0x41c),_0x29a7e1,_0x5670e0(0x184),'attachmentSets',_0x181fe6],'attachment':(_0x452587,_0x43cef0)=>[_0x5670e0(0x41c),_0x452587,_0x5670e0(0x184),_0x5670e0(0x2b9),_0x43cef0],'view':(_0x4dcb77,_0x18fa56)=>[_0x5670e0(0x41c),_0x4dcb77,_0x5670e0(0x21f),_0x18fa56],'viewFieldHidden':(_0x1e55b7,_0x3917f0,_0xfa26e3)=>[_0x5670e0(0x41c),_0x1e55b7,_0x5670e0(0x21f),_0x3917f0,_0x5670e0(0x39e),_0xfa26e3,_0x5670e0(0x21d)]};var W=class{[_0x5670e0(0x25f)](_0x463564,_0x3761e4){const _0xfb57f6=_0x5670e0;let _0x24e525=this[_0xfb57f6(0x24e)](_0x463564,_0x463564[_0xfb57f6(0x26f)],_0x3761e4);return R([this[_0xfb57f6(0x193)]([_0xfb57f6(0x26f)],_0x463564[_0xfb57f6(0x26f)],_0x3761e4),..._0x24e525?[_0x24e525]:[]]);}[_0x5670e0(0x24e)](_0x1294ad,_0x994e5c,_0x17e4fb){const _0x1bd216=_0x5670e0;let _0x9db56f=Object['values'](_0x1294ad[_0x1bd216(0x41c)])[_0x1bd216(0x98)](_0x3fb7b8=>Object[_0x1bd216(0x1c8)](_0x3fb7b8['fields'])[_0x1bd216(0x98)](_0x51721d=>{const _0x485e62=_0x1bd216;var _0x56e483,_0x1f9088;if(_0x51721d[_0x485e62(0xeb)]!==_0x4fe15f[_0x485e62(0x3a5)])return[];let _0x21afbd=String(((_0x56e483=_0x51721d[_0x485e62(0x407)])==null?void 0x0:_0x56e483[_0x485e62(0x23e)])??''),_0x50df98=_0x26fb47(_0x21afbd,_0x994e5c,_0x17e4fb);return _0x50df98===_0x21afbd?[]:[this[_0x485e62(0x193)]([...U[_0x485e62(0x378)](_0x3fb7b8['id'],_0x51721d['id']),_0x485e62(0x407),_0x485e62(0x23e)],(_0x1f9088=_0x51721d[_0x485e62(0x407)])==null?void 0x0:_0x1f9088[_0x485e62(0x23e)],_0x50df98)];}));return _0x9db56f[_0x1bd216(0x19b)]>0x0?R(_0x9db56f):void 0x0;}[_0x5670e0(0x247)](_0x3a8825,_0x2a7714,_0x3099e0=_0x3a8825[_0x5670e0(0x427)]['length']){const _0x3648f8=_0x5670e0;let _0x21086f=_0x45021d(_0x2a7714[_0x3648f8(0x26f)],_0x13e931(_0x3a8825)[_0x3648f8(0x1c8)](),_0x2a7714[_0x3648f8(0x177)]),_0x5c3c58=_0x2a7714[_0x3648f8(0x177)]===_0x21086f?_0x2a7714:{..._0x2a7714,'formulaName':_0x21086f};return R([...this[_0x3648f8(0x2f6)](_0x3a8825),_0x23944c[_0x3648f8(0x3fd)](U[_0x3648f8(0x19f)](_0x2a7714['id']),_0x5c3c58),_0x23944c[_0x3648f8(0x3fd)]([_0x3648f8(0x427),_0x3099e0],_0x2a7714['id'])]);}[_0x5670e0(0x233)](_0x3a77fa,_0x6b472e,_0x558bd2){const _0x23f302=_0x5670e0;let _0x51344e=_0x3a77fa[_0x23f302(0x41c)][_0x6b472e];return R([...this[_0x23f302(0x2f6)](_0x3a77fa),_0x23944c[_0x23f302(0x385)]([...U[_0x23f302(0x19f)](_0x6b472e),'name'],_0x51344e[_0x23f302(0x26f)],_0x558bd2)]);}[_0x5670e0(0x238)](_0x129ecf,_0x5ac889){const _0x32419e=_0x5670e0;let _0x4a77f0=_0x129ecf[_0x32419e(0x41c)][_0x5ac889],_0x4308bc=_0x129ecf['tableOrder'][_0x32419e(0x2e8)](_0x5ac889);return R([...this[_0x32419e(0x2f6)](_0x129ecf,new Set([_0x5ac889])),_0x23944c[_0x32419e(0x2f9)](U[_0x32419e(0x19f)](_0x5ac889),_0x4a77f0),_0x23944c[_0x32419e(0x2f9)](['tableOrder',_0x4308bc],_0x5ac889)]);}[_0x5670e0(0x136)](_0xb9fa46,_0x39f097,_0x1c5e6a){const _0xbb1baf=_0x5670e0;return this[_0xbb1baf(0x253)](_0xb9fa46,_0x39f097,[_0x1c5e6a]);}[_0x5670e0(0x253)](_0x45dd41,_0x43962b,_0x5eb6d5){const _0x8f4758=_0x5670e0;let _0x1ec57f=_0x45dd41[_0x8f4758(0x41c)][_0x43962b],_0x3f7506=_0x5eb6d5[_0x8f4758(0x364)](_0x2345ea=>_0x2345ea&&!_0x1ec57f[_0x8f4758(0x83)][_0x2345ea['id']])[_0x8f4758(0x102)](_0x257bba=>({..._0x257bba,'values':{..._0x257bba[_0x8f4758(0x1c8)],[_0x32decc]:_0x257bba['id']}}));if(!_0x3f7506[_0x8f4758(0x19b)])return _0x23944c[_0x8f4758(0x385)]([...U['table'](_0x43962b),_0x8f4758(0x83)],_0x1ec57f[_0x8f4758(0x83)],_0x1ec57f['records']);let _0x17f64e=new _0x23944c['WriteCursor'](),_0x4cdf7f=[..._0x3f7506][_0x8f4758(0x249)]((_0x3e5043,_0x16e3f5)=>_0x3e5043['id']<_0x16e3f5['id']?-0x1:+(_0x3e5043['id']>_0x16e3f5['id'])),_0x4dcbe4=[...U[_0x8f4758(0x19f)](_0x43962b),_0x8f4758(0x83)];_0x17f64e[_0x8f4758(0xad)](_0x4dcbe4);for(let _0x5f36a1 of _0x4cdf7f)_0x17f64e[_0x8f4758(0x3f5)](_0x5f36a1['id']),_0x17f64e[_0x8f4758(0x365)]('i',_0x5f36a1),_0x17f64e[_0x8f4758(0x17d)]();for(let _0x3ab23e=0x0;_0x3ab23e<_0x4dcbe4[_0x8f4758(0x19b)];_0x3ab23e+=0x1)_0x17f64e[_0x8f4758(0x17d)]();return R([_0x17f64e[_0x8f4758(0x2db)](),this['_createRecordOrderOp'](_0x45dd41,_0x43962b,_0x3f7506)]);}['deleteRecord'](_0x4acad0,_0x1b101b,_0x1df3c9){const _0x4e5d16=_0x5670e0;return this[_0x4e5d16(0x293)](_0x4acad0,_0x1b101b,[_0x1df3c9]);}[_0x5670e0(0x293)](_0x24000e,_0x38727f,_0x1ffd62){const _0x2f4682=_0x5670e0;let _0x42f5d7=_0x24000e[_0x2f4682(0x41c)][_0x38727f],_0x571096=Array[_0x2f4682(0x162)](new Set(_0x1ffd62))['filter'](_0x9759b2=>_0x42f5d7[_0x2f4682(0x83)][_0x9759b2]);if(!_0x571096[_0x2f4682(0x19b)])return _0x23944c['replaceOp']([...U['table'](_0x38727f),_0x2f4682(0x83)],_0x42f5d7[_0x2f4682(0x83)],_0x42f5d7['records']);let _0x2ac61e=new Set(_0x571096),_0x3e2d16=et(_0x42f5d7,_0x571096)[_0x2f4682(0x102)](_0x1d3b3d=>this['updateCell'](_0x24000e,_0x38727f,_0x1d3b3d[_0x2f4682(0x191)],_0x1d3b3d['fieldId'],''));return R([this[_0x2f4682(0x40d)](_0x24000e,_0x38727f,_0x571096,_0x2ac61e),..._0x3e2d16]);}[_0x5670e0(0x181)](_0xea853c,_0x326757,_0xe1c779,_0x23035c){const _0x431450=_0x5670e0;let _0x2ea437=_0xea853c[_0x431450(0x41c)][_0xe1c779],_0x33dbdc=Array[_0x431450(0x162)](new Set(_0x23035c))[_0x431450(0x364)](_0x7881f5=>_0x2ea437[_0x431450(0x83)][_0x7881f5]),_0x4f5332=new Set(_0x33dbdc);return R([new z()['invertOp'](_0xea853c,this[_0x431450(0x40d)](_0xea853c,_0xe1c779,_0x33dbdc,_0x4f5332)),...et(_0x2ea437,_0x33dbdc)[_0x431450(0x102)](_0x4835be=>this['updateCell'](_0x326757,_0xe1c779,_0x4835be['recordId'],_0x4835be[_0x431450(0x186)],_0x4835be['oldParentRecordId']??''))]);}['_deleteRecordsBaseOp'](_0x2ace51,_0x44665c,_0x367fed,_0x357a30){const _0x44857b=_0x5670e0;let _0x349245=_0x2ace51[_0x44857b(0x41c)][_0x44665c],_0x4c4b86=_0x367fed[_0x44857b(0x102)](_0x10db34=>{const _0x141c3b=_0x44857b;var _0x99d961;return{'recordId':_0x10db34,'index':((_0x99d961=_0x349245[_0x141c3b(0x411)])==null?void 0x0:_0x99d961[_0x141c3b(0x2e8)](_0x10db34))??-0x1};})[_0x44857b(0x364)](_0x51ffb0=>_0x51ffb0[_0x44857b(0x95)]>=0x0)['sort']((_0xd82906,_0x4d9f85)=>_0x4d9f85[_0x44857b(0x95)]-_0xd82906[_0x44857b(0x95)]);return R([..._0x367fed[_0x44857b(0x102)](_0x20dc08=>_0x23944c[_0x44857b(0x2f9)](U[_0x44857b(0x1ef)](_0x44665c,_0x20dc08),_0x349245[_0x44857b(0x83)][_0x20dc08])),..._0x4c4b86['map'](({recordId:_0x307d54,index:_0x3af724})=>_0x23944c['removeOp']([_0x44857b(0x41c),_0x44665c,'recordOrder',_0x3af724],_0x307d54)),...this[_0x44857b(0x261)](_0x349245,_0x44665c,_0x1bb500=>{const _0xbb6f84=_0x44857b;let _0x300ef4=_0x1bb500[_0xbb6f84(0xfa)](_0x1bb500[_0xbb6f84(0x1d1)]('\x1f')+0x1);return _0x357a30[_0xbb6f84(0xb9)](_0x300ef4);})]);}['duplicateRecord'](_0x31d76e,_0x4286f9,_0x541c49,_0x371ffc){const _0x33aa3d=_0x5670e0;return this[_0x33aa3d(0x136)](_0x31d76e,_0x4286f9,{..._0x371ffc,'values':{..._0x31d76e[_0x33aa3d(0x41c)][_0x4286f9][_0x33aa3d(0x83)][_0x541c49]['values'],..._0x371ffc[_0x33aa3d(0x1c8)],[_0x32decc]:_0x371ffc['id']}});}[_0x5670e0(0x392)](_0x248633,_0x49308c,_0x89bff0,_0x12c3fd){const _0x9e155e=_0x5670e0;let _0x32c942=_0x248633[_0x9e155e(0x41c)][_0x49308c],_0x4922a6=[...U[_0x9e155e(0x1ef)](_0x49308c,_0x89bff0),'orderKey'],_0x30b6f4=Object[_0x9e155e(0x1c8)](_0x32c942[_0x9e155e(0x83)])[_0x9e155e(0x102)](_0x197448=>_0x197448['id']===_0x89bff0?{..._0x197448,'orderKey':_0x12c3fd}:_0x197448)[_0x9e155e(0x249)]((_0x298cd5,_0x4de553)=>String(_0x298cd5[_0x9e155e(0x27b)]??_0x298cd5['id'])['localeCompare'](String(_0x4de553[_0x9e155e(0x27b)]??_0x4de553['id'])))[_0x9e155e(0x102)](_0x3983ff=>_0x3983ff['id']),_0x47fcd3=[...U['table'](_0x49308c),_0x9e155e(0x411)];return R([this[_0x9e155e(0x193)](_0x4922a6,_0x32c942[_0x9e155e(0x83)][_0x89bff0][_0x9e155e(0x27b)],_0x12c3fd),_0x32c942['recordOrder']?_0x23944c['replaceOp'](_0x47fcd3,_0x32c942[_0x9e155e(0x411)],_0x30b6f4):_0x23944c[_0x9e155e(0x3fd)](_0x47fcd3,_0x30b6f4)]);}[_0x5670e0(0x20b)](_0x13aacf,_0x33d1dd,_0x3b7134,_0x18d95b,_0x49d5cb){const _0x8cd1bf=_0x5670e0;var _0x1f29ce,_0x5a7777;let _0x320ca0=_0x13aacf[_0x8cd1bf(0x41c)][_0x33d1dd],_0x530d4d=ar(_0x320ca0,_0x3b7134,_0x18d95b)?_0x320ca0:L(_0x320ca0),_0x300e1f=(_0x1f29ce=_0x530d4d[_0x8cd1bf(0x250)])==null?void 0x0:_0x1f29ce[_0x3b7134],_0x407aa9=(_0x5a7777=_0x530d4d[_0x8cd1bf(0xb6)])==null?void 0x0:_0x5a7777[_0x18d95b];if(_0x300e1f==null||_0x407aa9==null){var _0x2d8a8a;return this[_0x8cd1bf(0x193)](U[_0x8cd1bf(0x96)](_0x33d1dd,_0x3b7134,_0x18d95b),(_0x2d8a8a=_0x13aacf['tables'][_0x33d1dd])==null||(_0x2d8a8a=_0x2d8a8a[_0x8cd1bf(0x83)][_0x3b7134])==null?void 0x0:_0x2d8a8a[_0x8cd1bf(0x1c8)][_0x18d95b],_0x49d5cb);}return this[_0x8cd1bf(0x38b)](_0x13aacf,_0x33d1dd,[{'row':_0x300e1f,'col':_0x407aa9,'value':_0x49d5cb}]);}[_0x5670e0(0xda)](_0x4ed1ac,_0x1c13e4,_0x177a70){const _0x5cb603=_0x5670e0;let _0x52457b=_0x4ed1ac[_0x5cb603(0x41c)][_0x1c13e4],_0x5004e5=_0x177a70[_0x5cb603(0x3f9)](_0x438b3f=>Object[_0x5cb603(0x3ac)](_0x438b3f['values'])[_0x5cb603(0x3f9)](_0x1b9a2b=>ar(_0x52457b,_0x438b3f['recordId'],_0x1b9a2b)))?_0x52457b:L(_0x52457b),_0x55d6dd=_0x177a70[_0x5cb603(0x98)](_0x60a167=>Object[_0x5cb603(0x419)](_0x60a167[_0x5cb603(0x1c8)])[_0x5cb603(0x98)](([_0x1c266c,_0x1d6bf1])=>{const _0x933555=_0x5cb603;var _0x278ccb,_0x1663e7;let _0x5b6496=(_0x278ccb=_0x5004e5['rowIndex'])==null?void 0x0:_0x278ccb[_0x60a167[_0x933555(0x191)]],_0x17c41d=(_0x1663e7=_0x5004e5[_0x933555(0xb6)])==null?void 0x0:_0x1663e7[_0x1c266c];return _0x5b6496==null||_0x17c41d==null?[]:[{'row':_0x5b6496,'col':_0x17c41d,'value':_0x1d6bf1}];})),_0x3a86ec=_0x177a70[_0x5cb603(0x98)](_0x4e9645=>Object[_0x5cb603(0x419)](_0x4e9645['recordPatch']??{})[_0x5cb603(0x102)](([_0x4fb157,_0x392aee])=>{const _0x219f72=_0x5cb603;var _0x3fbcf7;let _0x3c7f9d=[...U[_0x219f72(0x1ef)](_0x1c13e4,_0x4e9645[_0x219f72(0x191)]),_0x4fb157],_0x4a8098=(_0x3fbcf7=_0x4ed1ac[_0x219f72(0x41c)][_0x1c13e4])==null||(_0x3fbcf7=_0x3fbcf7['records'][_0x4e9645[_0x219f72(0x191)]])==null?void 0x0:_0x3fbcf7[_0x4fb157];return this[_0x219f72(0x193)](_0x3c7f9d,_0x4a8098,_0x392aee);}));return R([this[_0x5cb603(0x38b)](_0x4ed1ac,_0x1c13e4,_0x55d6dd),..._0x3a86ec]);}[_0x5670e0(0x38b)](_0x367067,_0x480981,_0xc7f10c){const _0x2120ef=_0x5670e0;let _0x57d103=_0x367067[_0x2120ef(0x41c)][_0x480981],_0xb306f2=_0xc7f10c[_0x2120ef(0x3f9)](_0x4a86a5=>or(_0x57d103,_0x4a86a5[_0x2120ef(0x24b)],_0x4a86a5[_0x2120ef(0x324)]))?_0x57d103:L(_0x57d103),_0x21331f=new Map(),_0x5e2f57=_0xc7f10c['flatMap'](_0x3d1c8f=>{const _0x4fcd8=_0x2120ef;var _0x43deb2,_0x19a9a7,_0x14bfe8,_0x4967ed;let _0x5149e9=(_0x43deb2=_0xb306f2['colId'])==null?void 0x0:_0x43deb2[_0x3d1c8f[_0x4fcd8(0x324)]],_0x465f58=(_0x19a9a7=_0xb306f2[_0x4fcd8(0x2ea)])==null?void 0x0:_0x19a9a7[_0x3d1c8f[_0x4fcd8(0x24b)]],_0xb7ce6a=_0x5149e9?_0xb306f2[_0x4fcd8(0x2cb)][_0x5149e9]:void 0x0;if(_0x5149e9===_0x32decc||(_0xb7ce6a==null?void 0x0:_0xb7ce6a[_0x4fcd8(0xeb)])===_0x4fe15f['RecordId'])throw Error(_0x4fcd8(0x14e));let _0x13af1c=xt(_0x3d1c8f['value'],_0xb7ce6a),_0x1f6feb=(_0x14bfe8=_0xb306f2['cellData'])==null||(_0x14bfe8=_0x14bfe8[_0x3d1c8f[_0x4fcd8(0x24b)]])==null?void 0x0:_0x14bfe8[_0x3d1c8f[_0x4fcd8(0x324)]],_0x7fc116=this[_0x4fcd8(0x193)](U[_0x4fcd8(0x259)](_0x480981,_0x3d1c8f['row'],_0x3d1c8f[_0x4fcd8(0x324)]),_0x1f6feb,_0x13af1c);if(!_0x5149e9||!_0x465f58)return[_0x7fc116];let _0x5d590a=(_0x4967ed=_0xb306f2[_0x4fcd8(0x83)][_0x465f58])==null?void 0x0:_0x4967ed[_0x4fcd8(0x1c8)][_0x5149e9],_0x109802=(_0xb7ce6a==null?void 0x0:_0xb7ce6a[_0x4fcd8(0xeb)])===_0x4fe15f['Attachment']?kt(_0x3d1c8f[_0x4fcd8(0x38a)]):wt(_0x3d1c8f[_0x4fcd8(0x38a)],_0x13af1c,_0xb7ce6a,_0xb306f2,_0x465f58),_0x16d3b6=[_0x7fc116,this[_0x4fcd8(0x193)](U[_0x4fcd8(0x96)](_0x480981,_0x465f58,_0x5149e9),_0x5d590a,_0x109802)];return(_0xb7ce6a==null?void 0x0:_0xb7ce6a[_0x4fcd8(0xeb)])===_0x4fe15f['Attachment']&&_0x21331f[_0x4fcd8(0x2b8)](Et(_0x5149e9,_0x465f58),{'recordId':_0x465f58,'fieldId':_0x5149e9,'attachments':_0x109802}),_0x16d3b6;});return _0x5e2f57[_0x2120ef(0x19b)]?R([..._0x5e2f57,...this[_0x2120ef(0x1e1)](_0xb306f2,_0x480981,Array['from'](_0x21331f[_0x2120ef(0x1c8)]()))]):_0x23944c['replaceOp']([_0x2120ef(0x41c),_0x480981,'cellData'],_0xb306f2[_0x2120ef(0x259)],_0xb306f2[_0x2120ef(0x259)]);}['createField'](_0x21a4ad,_0x5e835d,_0x28e90a){const _0x42ca13=_0x5670e0;let _0x2b1fb0=_0x21a4ad[_0x42ca13(0x41c)][_0x5e835d];if(_0x2b1fb0[_0x42ca13(0x2cb)][_0x28e90a[_0x42ca13(0x378)]['id']]||_0x2b1fb0[_0x42ca13(0x367)][_0x42ca13(0x173)](_0x28e90a[_0x42ca13(0x378)]['id']))return _0x23944c[_0x42ca13(0x385)]([_0x42ca13(0x41c),_0x5e835d,_0x42ca13(0x367)],_0x2b1fb0[_0x42ca13(0x367)],_0x2b1fb0[_0x42ca13(0x367)]);let _0x258923=Math['max'](0x1,_0x28e90a[_0x42ca13(0x95)]??_0x2b1fb0[_0x42ca13(0x367)][_0x42ca13(0x19b)]),_0x1b95e=Object[_0x42ca13(0x1c8)](_0x2b1fb0[_0x42ca13(0x21f)]??{})[_0x42ca13(0x98)](_0x3b6aeb=>{const _0x29946e=_0x42ca13;var _0x3e9dc9;if(!_0x3b6aeb[_0x29946e(0x367)]||_0x3b6aeb[_0x29946e(0x367)]['includes'](_0x28e90a[_0x29946e(0x378)]['id']))return[];let _0x29ba60=ur(((_0x3e9dc9=_0x28e90a[_0x29946e(0x2a9)])==null?void 0x0:_0x3e9dc9[_0x3b6aeb['id']])??_0x258923,_0x3b6aeb[_0x29946e(0x367)][_0x29946e(0x19b)]);return[_0x23944c[_0x29946e(0x3fd)]([...U['view'](_0x5e835d,_0x3b6aeb['id']),_0x29946e(0x367),_0x29ba60],_0x28e90a[_0x29946e(0x378)]['id'])];});return R([..._0x28e90a[_0x42ca13(0x378)][_0x42ca13(0xeb)]===_0x4fe15f['Formula']?this[_0x42ca13(0x2f6)](_0x21a4ad):[],_0x23944c[_0x42ca13(0x3fd)](U[_0x42ca13(0x378)](_0x5e835d,_0x28e90a[_0x42ca13(0x378)]['id']),_0x28e90a['field']),_0x23944c[_0x42ca13(0x3fd)](U[_0x42ca13(0x367)](_0x5e835d,_0x258923),_0x28e90a[_0x42ca13(0x378)]['id']),..._0x1b95e]);}[_0x5670e0(0x116)](_0x5bd383,_0xed0a0d,_0x483d2c,_0x5a9458){const _0x8add38=_0x5670e0;let _0x1ff71b=_0x5bd383[_0x8add38(0x41c)][_0xed0a0d];if(!_0x1ff71b[_0x8add38(0x2cb)][_0x483d2c]||_0x1ff71b[_0x8add38(0x2cb)][_0x5a9458[_0x8add38(0x378)]['id']]||_0x1ff71b[_0x8add38(0x367)]['includes'](_0x5a9458[_0x8add38(0x378)]['id']))return _0x23944c[_0x8add38(0x385)]([_0x8add38(0x41c),_0xed0a0d,_0x8add38(0x367)],_0x1ff71b['fieldOrder'],_0x1ff71b['fieldOrder']);let _0x2a32cf=_0x5a9458['index']??_0x1ff71b['fieldOrder']['indexOf'](_0x483d2c)+0x1,_0x32564d=_0x1ff71b[_0x8add38(0x367)][_0x8add38(0x364)](_0x411a9d=>_0x411a9d!==_0x5a9458[_0x8add38(0x378)]['id']),_0x3c5e5f=cr(_0x32564d,_0x5a9458[_0x8add38(0x378)]['id'],_0x2a32cf),_0x54147f=Object[_0x8add38(0x1c8)](_0x1ff71b['views']??{})['flatMap'](_0x1d68eb=>{const _0x4a3fb5=_0x8add38;var _0x1157a9,_0x144e5a,_0x3794e0,_0x30c283;let _0x25527c=(_0x1157a9=_0x1d68eb['fieldOrder'])!=null&&_0x1157a9[_0x4a3fb5(0x19b)]?_0x1d68eb[_0x4a3fb5(0x367)]:_0x32564d;if(_0x25527c[_0x4a3fb5(0x173)](_0x5a9458[_0x4a3fb5(0x378)]['id']))return[];let _0x3b1413=cr(_0x25527c,_0x5a9458[_0x4a3fb5(0x378)]['id'],((_0x144e5a=_0x5a9458[_0x4a3fb5(0x2a9)])==null?void 0x0:_0x144e5a[_0x1d68eb['id']])??_0x2a32cf),_0xfe15ee=(_0x3794e0=_0x1d68eb[_0x4a3fb5(0x39e)])==null?void 0x0:_0x3794e0[_0x483d2c];return[this[_0x4a3fb5(0x193)]([...U['view'](_0xed0a0d,_0x1d68eb['id']),_0x4a3fb5(0x367)],_0x1d68eb[_0x4a3fb5(0x367)],_0x3b1413),..._0xfe15ee?[this[_0x4a3fb5(0x193)]([...U[_0x4a3fb5(0x1f5)](_0xed0a0d,_0x1d68eb['id']),_0x4a3fb5(0x39e),_0x5a9458[_0x4a3fb5(0x378)]['id']],(_0x30c283=_0x1d68eb['fieldSettings'])==null?void 0x0:_0x30c283[_0x5a9458[_0x4a3fb5(0x378)]['id']],_0xfe15ee)]:[]];}),_0x281a3c=Object[_0x8add38(0x1c8)](_0x1ff71b['records'])[_0x8add38(0x364)](_0x31078d=>Object[_0x8add38(0x159)][_0x8add38(0x127)][_0x8add38(0x321)](_0x31078d[_0x8add38(0x1c8)],_0x483d2c))[_0x8add38(0x102)](_0x55c9e9=>this['_replaceOptional'](U[_0x8add38(0x96)](_0xed0a0d,_0x55c9e9['id'],_0x5a9458[_0x8add38(0x378)]['id']),_0x55c9e9[_0x8add38(0x1c8)][_0x5a9458[_0x8add38(0x378)]['id']],_0x55c9e9[_0x8add38(0x1c8)][_0x483d2c]));return R([..._0x5a9458[_0x8add38(0x378)][_0x8add38(0xeb)]===_0x4fe15f['Formula']?this[_0x8add38(0x2f6)](_0x5bd383):[],_0x23944c[_0x8add38(0x3fd)](U['field'](_0xed0a0d,_0x5a9458[_0x8add38(0x378)]['id']),_0x5a9458[_0x8add38(0x378)]),_0x23944c[_0x8add38(0x385)]([_0x8add38(0x41c),_0xed0a0d,'fieldOrder'],_0x1ff71b[_0x8add38(0x367)],_0x3c5e5f),..._0x54147f,..._0x281a3c]);}['updateField'](_0x56242d,_0x40660a,_0x2b8cbc,_0x1c94c8){const _0x4b235a=_0x5670e0;let _0x38ce40=_0x56242d[_0x4b235a(0x41c)][_0x40660a][_0x4b235a(0x2cb)][_0x2b8cbc],_0x40b16b={..._0x38ce40,..._0x1c94c8};Object[_0x4b235a(0x3ac)](_0x1c94c8)[_0x4b235a(0x143)](_0x4f6ef4=>{_0x1c94c8[_0x4f6ef4]===void 0x0&&delete _0x40b16b[_0x4f6ef4];});let _0x53dae0=er(_0x56242d[_0x4b235a(0x41c)][_0x40660a],_0x2b8cbc,_0x38ce40,_0x40b16b);_0x40b16b=_0x53dae0['field'];let _0x286090=_0x23944c[_0x4b235a(0x385)](U[_0x4b235a(0x378)](_0x40660a,_0x2b8cbc),_0x38ce40,_0x40b16b);return _0x40b16b[_0x4b235a(0xeb)]===_0x4fe15f['Formula']?R([...this[_0x4b235a(0x2f6)](_0x56242d),_0x286090,...this[_0x4b235a(0x42e)](_0x56242d,_0x40660a,_0x2b8cbc,_0x40b16b)]):R([_0x286090,..._0x53dae0[_0x4b235a(0x3c2)]['length']?[this[_0x4b235a(0x38b)](_0x56242d,_0x40660a,_0x53dae0['patches'])]:[]]);}[_0x5670e0(0x1f8)](_0x32ac65,_0x209c84,_0x3cf240,_0xcac592){const _0x28e201=_0x5670e0;return this[_0x28e201(0x1a9)](_0x32ac65,_0x209c84,_0x3cf240,_0xcac592);}[_0x5670e0(0x2c8)](_0x4ae514,_0x23f9c0,_0xdb0ff4){const _0x463d73=_0x5670e0;let _0x5b0266=_0x4ae514[_0x463d73(0x41c)][_0x23f9c0];if(!(_0x5b0266!=null&&_0x5b0266[_0x463d73(0x2cb)][_0xdb0ff4])||_0x5b0266['primaryFieldId']===_0xdb0ff4||_0xdb0ff4===_0x32decc)return _0x23944c[_0x463d73(0x385)]([_0x463d73(0x41c),_0x23f9c0,_0x463d73(0x367)],_0x5b0266==null?void 0x0:_0x5b0266[_0x463d73(0x367)],_0x5b0266==null?void 0x0:_0x5b0266['fieldOrder']);let _0x5edd08=_0x5b0266[_0x463d73(0x367)][_0x463d73(0x2e8)](_0xdb0ff4),_0xa39ad3=Object['values'](_0x5b0266[_0x463d73(0x21f)])[_0x463d73(0x98)](_0x1fdc18=>{const _0x1dd364=_0x463d73;var _0x436018,_0x2b37cd,_0x8b861f,_0xa2716,_0x3f2946,_0x1b56a0,_0x292cf0;let _0x32e71a=[],_0x36a85e=((_0x436018=_0x1fdc18[_0x1dd364(0x367)])==null?void 0x0:_0x436018[_0x1dd364(0x2e8)](_0xdb0ff4))??-0x1;_0x36a85e>=0x0&&_0x32e71a[_0x1dd364(0x393)](_0x23944c[_0x1dd364(0x2f9)]([...U[_0x1dd364(0x1f5)](_0x23f9c0,_0x1fdc18['id']),_0x1dd364(0x367),_0x36a85e],_0xdb0ff4));let _0x5410a0=(_0x2b37cd=_0x1fdc18[_0x1dd364(0x39e)])==null?void 0x0:_0x2b37cd[_0xdb0ff4];_0x5410a0!==void 0x0&&_0x32e71a[_0x1dd364(0x393)](_0x23944c[_0x1dd364(0x2f9)]([...U[_0x1dd364(0x1f5)](_0x23f9c0,_0x1fdc18['id']),_0x1dd364(0x39e),_0xdb0ff4],_0x5410a0));let _0x45ae8f=_0x1fdc18[_0x1dd364(0x364)]?{..._0x1fdc18[_0x1dd364(0x364)],'conditions':_0x1fdc18['filter'][_0x1dd364(0x196)][_0x1dd364(0x364)](_0x47103d=>_0x47103d[_0x1dd364(0x186)]!==_0xdb0ff4)}:_0x1fdc18['filter'];_0x45ae8f&&_0x45ae8f[_0x1dd364(0x196)]['length']!==((_0x8b861f=_0x1fdc18[_0x1dd364(0x364)])==null?void 0x0:_0x8b861f[_0x1dd364(0x196)][_0x1dd364(0x19b)])&&_0x32e71a['push'](this['_replaceOptional']([...U[_0x1dd364(0x1f5)](_0x23f9c0,_0x1fdc18['id']),'filter'],_0x1fdc18[_0x1dd364(0x364)],_0x45ae8f));let _0x4259ca=(_0xa2716=_0x1fdc18['sort'])==null?void 0x0:_0xa2716[_0x1dd364(0x364)](_0x24cf9f=>_0x24cf9f[_0x1dd364(0x186)]!==_0xdb0ff4);_0x4259ca&&_0x4259ca[_0x1dd364(0x19b)]!==((_0x3f2946=_0x1fdc18['sort'])==null?void 0x0:_0x3f2946['length'])&&_0x32e71a[_0x1dd364(0x393)](this[_0x1dd364(0x193)]([...U['view'](_0x23f9c0,_0x1fdc18['id']),_0x1dd364(0x249)],_0x1fdc18[_0x1dd364(0x249)],_0x4259ca));let _0x184c71=(_0x1b56a0=_0x1fdc18[_0x1dd364(0x3dd)])==null?void 0x0:_0x1b56a0[_0x1dd364(0x364)](_0x2fafbf=>_0x2fafbf[_0x1dd364(0x186)]!==_0xdb0ff4);_0x184c71&&_0x184c71[_0x1dd364(0x19b)]!==((_0x292cf0=_0x1fdc18[_0x1dd364(0x3dd)])==null?void 0x0:_0x292cf0[_0x1dd364(0x19b)])&&_0x32e71a[_0x1dd364(0x393)](this[_0x1dd364(0x193)]([...U['view'](_0x23f9c0,_0x1fdc18['id']),_0x1dd364(0x3dd)],_0x1fdc18[_0x1dd364(0x3dd)],_0x184c71));let _0x39b822=lr(_0x1fdc18[_0x1dd364(0x407)],_0xdb0ff4);return JSON['stringify'](_0x39b822)!==JSON[_0x1dd364(0x1a0)](_0x1fdc18['config'])&&_0x32e71a[_0x1dd364(0x393)](_0x23944c[_0x1dd364(0x385)]([...U[_0x1dd364(0x1f5)](_0x23f9c0,_0x1fdc18['id']),_0x1dd364(0x407)],_0x1fdc18[_0x1dd364(0x407)],_0x39b822)),_0x32e71a;}),_0x504238=Object[_0x463d73(0x1c8)](_0x5b0266['records'])[_0x463d73(0x98)](_0x1abf80=>Object[_0x463d73(0x159)][_0x463d73(0x127)][_0x463d73(0x321)](_0x1abf80[_0x463d73(0x1c8)],_0xdb0ff4)?[_0x23944c['removeOp'](U['cell'](_0x23f9c0,_0x1abf80['id'],_0xdb0ff4),_0x1abf80[_0x463d73(0x1c8)][_0xdb0ff4])]:[]);return R([_0x23944c['removeOp'](U[_0x463d73(0x378)](_0x23f9c0,_0xdb0ff4),_0x5b0266['fields'][_0xdb0ff4]),_0x23944c[_0x463d73(0x2f9)](U[_0x463d73(0x367)](_0x23f9c0,_0x5edd08),_0xdb0ff4),..._0xa39ad3,..._0x504238,...this['_deleteAttachmentResources'](_0x5b0266,_0x23f9c0,_0x361e0e=>_0x361e0e['startsWith'](_0xdb0ff4+'\x1f'))]);}[_0x5670e0(0x21c)](_0x5fd697,_0x15b393,_0x509dbb,_0x1fe9af){const _0x241d35=_0x5670e0;let _0x596fee=_0x5fd697[_0x241d35(0x41c)][_0x15b393][_0x241d35(0x367)];if(_0x509dbb===_0x32decc||_0x1fe9af[_0x241d35(0x170)]===_0x32decc)throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x1b0de6=sr(_0x596fee,_0x509dbb,_0x1fe9af);return _0x23944c['replaceOp']([_0x241d35(0x41c),_0x15b393,'fieldOrder'],_0x596fee,_0x1b0de6);}['createView'](_0x488b6f,_0x537782,_0x59eb0e,_0x3186c8=_0x488b6f[_0x5670e0(0x41c)][_0x537782][_0x5670e0(0x139)][_0x5670e0(0x19b)]){const _0x400191=_0x5670e0;return R([_0x23944c[_0x400191(0x3fd)](U[_0x400191(0x1f5)](_0x537782,_0x59eb0e['id']),_0x59eb0e),_0x23944c[_0x400191(0x3fd)]([_0x400191(0x41c),_0x537782,_0x400191(0x139),_0x3186c8],_0x59eb0e['id'])]);}[_0x5670e0(0x334)](_0x1c0b09,_0x42b19f,_0x288711,_0x244130){const _0xbfb222=_0x5670e0;return _0x23944c[_0xbfb222(0x385)]([...U['view'](_0x42b19f,_0x288711),'name'],_0x1c0b09[_0xbfb222(0x41c)][_0x42b19f][_0xbfb222(0x21f)][_0x288711]['name'],_0x244130);}[_0x5670e0(0x32b)](_0x2bcf3a,_0x4ac01b,_0x52ba87){const _0x966af8=_0x5670e0;let _0x1b287d=_0x2bcf3a[_0x966af8(0x41c)][_0x4ac01b],_0x3b288b=_0x1b287d[_0x966af8(0x21f)][_0x52ba87],_0x1f89ec=_0x1b287d['viewOrder'][_0x966af8(0x2e8)](_0x52ba87);return R([_0x23944c[_0x966af8(0x2f9)](U[_0x966af8(0x1f5)](_0x4ac01b,_0x52ba87),_0x3b288b),_0x23944c[_0x966af8(0x2f9)]([_0x966af8(0x41c),_0x4ac01b,'viewOrder',_0x1f89ec],_0x52ba87)]);}['moveView'](_0x15a5a6,_0x27e2b9,_0x294183,_0x1f5310){const _0x1f787b=_0x5670e0;let _0x5876e2=_0x15a5a6['tables'][_0x27e2b9]['viewOrder'],_0x2908c3=sr(_0x5876e2,_0x294183,{'beforeFieldId':_0x1f5310[_0x1f787b(0x16b)],'afterFieldId':_0x1f5310['afterViewId']});return _0x23944c[_0x1f787b(0x385)]([_0x1f787b(0x41c),_0x27e2b9,_0x1f787b(0x139)],_0x5876e2,_0x2908c3);}[_0x5670e0(0x35c)](_0x3200fd,_0x40a2bb,_0x1f77a9,_0x1b6113){const _0x2216d1=_0x5670e0;let _0x5d8416=_0x3200fd[_0x2216d1(0x41c)][_0x40a2bb]['views'][_0x1f77a9][_0x2216d1(0x407)]??{},_0xc07d7d={..._0x5d8416,..._0x1b6113};return Object['keys'](_0x1b6113)[_0x2216d1(0x143)](_0x855d9=>{_0x1b6113[_0x855d9]===void 0x0&&delete _0xc07d7d[_0x855d9];}),_0x23944c['replaceOp']([...U[_0x2216d1(0x1f5)](_0x40a2bb,_0x1f77a9),_0x2216d1(0x407)],_0x5d8416,_0xc07d7d);}[_0x5670e0(0x19a)](_0x1b0941,_0x3e7cf1,_0x14a4ad,_0x432762){const _0x200eb8=_0x5670e0;return this[_0x200eb8(0x193)]([...U[_0x200eb8(0x1f5)](_0x3e7cf1,_0x14a4ad),_0x200eb8(0x364)],_0x1b0941[_0x200eb8(0x41c)][_0x3e7cf1]['views'][_0x14a4ad][_0x200eb8(0x364)],_0x432762);}[_0x5670e0(0x16c)](_0x542554,_0x559c8a,_0x4dc31a,_0x2b0f3c){const _0x2a1a2e=_0x5670e0;return this[_0x2a1a2e(0x193)]([...U[_0x2a1a2e(0x1f5)](_0x559c8a,_0x4dc31a),_0x2a1a2e(0x249)],_0x542554[_0x2a1a2e(0x41c)][_0x559c8a]['views'][_0x4dc31a][_0x2a1a2e(0x249)],_0x2b0f3c);}['setViewGroup'](_0x1529a6,_0x3d0f3c,_0x225fe4,_0x44bd94){const _0x24895d=_0x5670e0;return this['_replaceOptional']([...U[_0x24895d(0x1f5)](_0x3d0f3c,_0x225fe4),_0x24895d(0x3dd)],_0x1529a6['tables'][_0x3d0f3c][_0x24895d(0x21f)][_0x225fe4][_0x24895d(0x3dd)],_0x44bd94);}[_0x5670e0(0x2af)](_0x2e72a2,_0x567654,_0x3feb11,_0x10f652,_0x31c304){const _0x525c7e=_0x5670e0;return this[_0x525c7e(0x220)](_0x2e72a2,_0x567654,_0x3feb11,_0x10f652,{'hidden':!_0x31c304});}[_0x5670e0(0x1eb)](_0x448b98,_0x4ea032,_0x25b6ec,_0x40e69a,_0x50c070){const _0x568195=_0x5670e0;return this[_0x568195(0x220)](_0x448b98,_0x4ea032,_0x25b6ec,_0x40e69a,{'width':_0x50c070});}['setViewFieldOrder'](_0x206bb6,_0x3c4ea3,_0x52ea9b,_0x45e1e0,_0x25eaed){const _0x1f0d69=_0x5670e0;let _0x4f5e49=_0x206bb6[_0x1f0d69(0x41c)][_0x3c4ea3][_0x1f0d69(0x21f)][_0x52ea9b],_0xddb56c=sr(_0x4f5e49['fieldOrder']??_0x206bb6['tables'][_0x3c4ea3][_0x1f0d69(0x367)],_0x45e1e0,_0x25eaed);return this['_replaceOptional']([...U['view'](_0x3c4ea3,_0x52ea9b),_0x1f0d69(0x367)],_0x4f5e49[_0x1f0d69(0x367)],_0xddb56c);}[_0x5670e0(0x220)](_0x1ddadf,_0xfdc9df,_0x3f5193,_0x58258b,_0x1cb3a8){const _0xe2785b=_0x5670e0;let _0x34cc25=_0x1ddadf[_0xe2785b(0x41c)][_0xfdc9df]['views'][_0x3f5193][_0xe2785b(0x39e)]??{},_0x4cae2c={..._0x34cc25,[_0x58258b]:{..._0x34cc25[_0x58258b],..._0x1cb3a8}};return this[_0xe2785b(0x193)]([...U[_0xe2785b(0x1f5)](_0xfdc9df,_0x3f5193),_0xe2785b(0x39e)],_0x1ddadf[_0xe2785b(0x41c)][_0xfdc9df][_0xe2785b(0x21f)][_0x3f5193][_0xe2785b(0x39e)],_0x4cae2c);}[_0x5670e0(0xec)](_0x161f8d,_0x481f8c,_0x4a2ff3){const _0x5251c4=_0x5670e0;let _0x316dc4=_0x161f8d[_0x5251c4(0x41c)][_0x481f8c],_0x1cdea2=new Set(_0x4a2ff3[_0x5251c4(0x102)](_0x34f9cc=>_0x34f9cc['id'])),_0x5ec9f2=[...Object[_0x5251c4(0x1c8)](_0x316dc4[_0x5251c4(0x83)])[_0x5251c4(0x364)](_0x358f78=>!_0x1cdea2[_0x5251c4(0xb9)](_0x358f78['id'])),..._0x4a2ff3]['sort']((_0x30161c,_0x115c29)=>String(_0x30161c['orderKey']??_0x30161c['id'])['localeCompare'](String(_0x115c29[_0x5251c4(0x27b)]??_0x115c29['id'])))[_0x5251c4(0x102)](_0x53846d=>_0x53846d['id']),_0x39e767=[...U[_0x5251c4(0x19f)](_0x481f8c),'recordOrder'];return _0x316dc4[_0x5251c4(0x411)]?_0x23944c[_0x5251c4(0x385)](_0x39e767,_0x316dc4[_0x5251c4(0x411)],_0x5ec9f2):_0x23944c[_0x5251c4(0x3fd)](_0x39e767,_0x5ec9f2);}[_0x5670e0(0x2f6)](_0x2f4a1f,_0x2d7de6=new Set()){const _0x14adbe=_0x5670e0;let _0x11d2f8=_0x13e931(_0x2f4a1f);return Object[_0x14adbe(0x1c8)](_0x2f4a1f['tables'])[_0x14adbe(0x364)](_0x17ba9f=>!_0x2d7de6[_0x14adbe(0xb9)](_0x17ba9f['id']))[_0x14adbe(0x249)]((_0x167a82,_0x38d6e5)=>_0x167a82['id'][_0x14adbe(0x135)](_0x38d6e5['id']))[_0x14adbe(0x98)](_0x49a96c=>{const _0x1bcd42=_0x14adbe;let _0x4259b4=_0x11d2f8[_0x1bcd42(0x2db)](_0x49a96c['id']);return!_0x4259b4||_0x49a96c[_0x1bcd42(0x177)]===_0x4259b4?[]:[this[_0x1bcd42(0x193)]([...U[_0x1bcd42(0x19f)](_0x49a96c['id']),'formulaName'],_0x49a96c['formulaName'],_0x4259b4)];});}[_0x5670e0(0x42e)](_0x45ee8b,_0x59796d,_0x15f21f,_0x49b0cc){const _0x2af5f0=_0x5670e0;var _0x44da8e,_0x3d48d3;let _0x18c3a1=L(_0x45ee8b[_0x2af5f0(0x41c)][_0x59796d]),_0x5b5887=String(((_0x44da8e=_0x49b0cc[_0x2af5f0(0x407)])==null?void 0x0:_0x44da8e[_0x2af5f0(0x23e)])??'')['trim'](),_0x7d7a10=(_0x3d48d3=_0x18c3a1[_0x2af5f0(0xb6)])==null?void 0x0:_0x3d48d3[_0x15f21f];if(_0x7d7a10==null)return[];let _0xf182dc=_0x18c3a1[_0x2af5f0(0x411)]??Object[_0x2af5f0(0x3ac)](_0x18c3a1[_0x2af5f0(0x83)]),_0x441330=_0xf182dc[_0x2af5f0(0x102)](_0x3630e0=>{const _0x5e0c6c=_0x2af5f0;var _0x40788e;return(_0x40788e=_0x18c3a1[_0x5e0c6c(0x250)])==null?void 0x0:_0x40788e[_0x3630e0];})[_0x2af5f0(0x361)](_0x4224a4=>_0x4224a4!=null);return _0xf182dc[_0x2af5f0(0x98)](_0x51e24c=>{const _0x201f70=_0x2af5f0;var _0x49f10c,_0x51a225;let _0x3f7620=(_0x49f10c=_0x18c3a1[_0x201f70(0x250)])==null?void 0x0:_0x49f10c[_0x51e24c];if(_0x3f7620==null)return[];let _0x1f12b1=(_0x51a225=_0x18c3a1[_0x201f70(0x259)])==null||(_0x51a225=_0x51a225[_0x3f7620])==null?void 0x0:_0x51a225[_0x7d7a10],_0x122a72=_0x5b5887?_0x3f7620===_0x441330?{'f':_0x5b5887,'si':_0x15f21f}:{'si':_0x15f21f}:{'v':null,'t':null};return[this[_0x201f70(0x193)](U['cellData'](_0x59796d,_0x3f7620,_0x7d7a10),_0x1f12b1,_0x122a72)];});}['_setAttachmentResources'](_0x4e1a19,_0x1075b0,_0x4b86cd){const _0x4c4696=_0x5670e0;var _0xba5031;let _0xd8ef1=new Map(Object[_0x4c4696(0x419)](((_0xba5031=_0x4e1a19[_0x4c4696(0x184)])==null?void 0x0:_0xba5031[_0x4c4696(0x32f)])??{})),_0x860929=new Map(),_0x45f09b=new Set(),_0x1cff3c=_0x4b86cd[_0x4c4696(0x102)](({recordId:_0xf2b058,fieldId:_0x1b053c,attachments:_0x21e0d6})=>{const _0x8101c2=_0x4c4696;var _0x2f2eb9;let _0x6278ef=Et(_0x1b053c,_0xf2b058),_0x233974=_0x21e0d6[_0x8101c2(0x102)]((_0x1f32ad,_0x343ad0)=>String(_0x1f32ad['id']??_0x6278ef+'\x1f'+_0x343ad0));return _0x45f09b[_0x8101c2(0x41d)](_0x6278ef),_0xd8ef1['set'](_0x6278ef,_0x233974),_0x21e0d6['forEach']((_0x52ed14,_0x1f84d7)=>{let _0x2cf935=_0x233974[_0x1f84d7];_0x860929['set'](_0x2cf935,{..._0x52ed14,'id':_0x2cf935});}),this[_0x8101c2(0x193)](U[_0x8101c2(0x3af)](_0x1075b0,_0x6278ef),(_0x2f2eb9=_0x4e1a19[_0x8101c2(0x184)])==null||(_0x2f2eb9=_0x2f2eb9[_0x8101c2(0x32f)])==null?void 0x0:_0x2f2eb9[_0x6278ef],_0x233974);}),_0x4af1f9=Array[_0x4c4696(0x162)](_0x860929)[_0x4c4696(0x102)](([_0x30509c,_0xbbd179])=>{const _0x513185=_0x4c4696;var _0x3c4d;return this[_0x513185(0x193)](U[_0x513185(0x3f7)](_0x1075b0,_0x30509c),(_0x3c4d=_0x4e1a19[_0x513185(0x184)])==null||(_0x3c4d=_0x3c4d[_0x513185(0x2b9)])==null?void 0x0:_0x3c4d[_0x30509c],_0xbbd179);}),_0x3d54f4=new Set(Array[_0x4c4696(0x162)](_0xd8ef1['values']())[_0x4c4696(0xf5)]()),_0x331a07=new Set(Array[_0x4c4696(0x162)](_0x45f09b)[_0x4c4696(0x98)](_0x2c1f98=>{const _0x919421=_0x4c4696;var _0x3f9c22;return((_0x3f9c22=_0x4e1a19[_0x919421(0x184)])==null||(_0x3f9c22=_0x3f9c22['attachmentSets'])==null?void 0x0:_0x3f9c22[_0x2c1f98])??[];})),_0x2ee437=Array[_0x4c4696(0x162)](_0x331a07)['flatMap'](_0x58a89a=>{const _0x114d3b=_0x4c4696;var _0x2a522a;let _0x4eb051=(_0x2a522a=_0x4e1a19[_0x114d3b(0x184)])==null||(_0x2a522a=_0x2a522a[_0x114d3b(0x2b9)])==null?void 0x0:_0x2a522a[_0x58a89a];return _0x4eb051!==void 0x0&&!_0x3d54f4[_0x114d3b(0xb9)](_0x58a89a)?[_0x23944c[_0x114d3b(0x2f9)](U['attachment'](_0x1075b0,_0x58a89a),_0x4eb051)]:[];});return[..._0x1cff3c,..._0x4af1f9,..._0x2ee437];}[_0x5670e0(0x261)](_0x5ddf71,_0x4e3131,_0x8c3566){const _0x27663d=_0x5670e0;var _0x5d4b1f;let _0x5a1510=((_0x5d4b1f=_0x5ddf71['resources'])==null?void 0x0:_0x5d4b1f[_0x27663d(0x32f)])??{},_0x1aa023=Object[_0x27663d(0x419)](_0x5a1510)[_0x27663d(0x364)](([_0x2b85ae])=>_0x8c3566(_0x2b85ae));if(!_0x1aa023['length'])return[];let _0x3f974c=new Set(Object[_0x27663d(0x419)](_0x5a1510)[_0x27663d(0x364)](([_0x662cef])=>!_0x8c3566(_0x662cef))[_0x27663d(0x98)](([,_0x3cfa31])=>_0x3cfa31)),_0x4cbc14=new Set(_0x1aa023[_0x27663d(0x98)](([,_0x83da91])=>_0x83da91));return[..._0x1aa023['map'](([_0x71f73a,_0x18ad8b])=>_0x23944c['removeOp'](U[_0x27663d(0x3af)](_0x4e3131,_0x71f73a),_0x18ad8b)),...Array[_0x27663d(0x162)](_0x4cbc14)[_0x27663d(0x98)](_0x4a9155=>{const _0x2b5df7=_0x27663d;var _0x32734e;let _0x1f0d27=(_0x32734e=_0x5ddf71[_0x2b5df7(0x184)])==null||(_0x32734e=_0x32734e[_0x2b5df7(0x2b9)])==null?void 0x0:_0x32734e[_0x4a9155];return _0x1f0d27!==void 0x0&&!_0x3f974c[_0x2b5df7(0xb9)](_0x4a9155)?[_0x23944c[_0x2b5df7(0x2f9)](U[_0x2b5df7(0x3f7)](_0x4e3131,_0x4a9155),_0x1f0d27)]:[];})];}[_0x5670e0(0x193)](_0x48d315,_0x1b8540,_0x2be95f){const _0x2c97fb=_0x5670e0;return _0x1b8540===void 0x0?_0x23944c[_0x2c97fb(0x3fd)](_0x48d315,_0x2be95f):_0x23944c[_0x2c97fb(0x385)](_0x48d315,_0x1b8540,_0x2be95f);}};function er(_0x8b0397,_0x377c2a,_0x4cc1b9,_0x1e5bfc){const _0x370513=_0x5670e0;var _0x4f50a4;let _0x1f8d78=_0x1e5bfc[_0x370513(0xeb)];if(_0x4cc1b9[_0x370513(0xeb)]!==_0x1f8d78||_0x1f8d78!==_0x4fe15f[_0x370513(0x1dd)]&&_0x1f8d78!==_0x4fe15f[_0x370513(0x8b)]||tr(_0x1e5bfc[_0x370513(0x407)][_0x370513(0x218)]))return{'field':_0x1e5bfc,'patches':[]};let _0x25719f=nr(_0x4cc1b9),_0x389c96=nr(_0x1e5bfc);if(![..._0x25719f][_0x370513(0x1c1)](_0x108f0e=>!_0x389c96[_0x370513(0xb9)](_0x108f0e)))return{'field':_0x1e5bfc,'patches':[]};let _0x160524=rr(_0x1e5bfc[_0x370513(0x41a)],_0x389c96,_0x1f8d78),_0x121091=ir(_0x160524,_0x1e5bfc[_0x370513(0x41a)])?_0x1e5bfc:{..._0x1e5bfc,'defaultValue':_0x160524},_0x498197=L(_0x8b0397),_0x26d62b=(_0x4f50a4=_0x498197[_0x370513(0xb6)])==null?void 0x0:_0x4f50a4[_0x377c2a];return _0x26d62b==null?{'field':_0x121091,'patches':[]}:{'field':_0x121091,'patches':(_0x498197[_0x370513(0x411)]??[])['flatMap'](_0x196eb0=>{const _0x3638d0=_0x370513;var _0x29d849,_0x3eb2a2;let _0x5ac3df=(_0x29d849=_0x498197[_0x3638d0(0x250)])==null?void 0x0:_0x29d849[_0x196eb0],_0x105b8a=(_0x3eb2a2=_0x498197[_0x3638d0(0x83)][_0x196eb0])==null?void 0x0:_0x3eb2a2[_0x3638d0(0x1c8)][_0x377c2a],_0x1bceea=rr(_0x105b8a,_0x389c96,_0x1f8d78);return _0x5ac3df==null||ir(_0x1bceea,_0x105b8a)?[]:[{'row':_0x5ac3df,'col':_0x26d62b,'value':_0x1bceea??null}];})};}function tr(_0x1043c8){const _0x16a7ac=_0x5670e0;return typeof _0x1043c8=='object'&&!!_0x1043c8&&_0x16a7ac(0xeb)in _0x1043c8&&_0x1043c8[_0x16a7ac(0xeb)]===_0x16a7ac(0x378);}function nr(_0x10d525){const _0x43acaf=_0x5670e0;var _0x4be21b;let _0x3fd02c=Array[_0x43acaf(0x99)]((_0x4be21b=_0x10d525['config'])==null?void 0x0:_0x4be21b[_0x43acaf(0x212)])?_0x10d525[_0x43acaf(0x407)][_0x43acaf(0x212)]:[];return new Set(_0x3fd02c['flatMap'](_0xac1c0=>{const _0x15172e=_0x43acaf;if(!_0xac1c0||typeof _0xac1c0!=_0x15172e(0x360)||!('id'in _0xac1c0))return[];let _0x31ed21=String(_0xac1c0['id']);return _0x31ed21?[_0x31ed21]:[];}));}function rr(_0x5ba6b8,_0x2a6088,_0x484e9c){const _0x11e856=_0x5670e0;if(_0x5ba6b8==null||_0x5ba6b8==='')return _0x5ba6b8;if(_0x484e9c===_0x4fe15f[_0x11e856(0x1dd)])return _0x2a6088[_0x11e856(0xb9)](String(_0x5ba6b8))?_0x5ba6b8:null;let _0x3fb7ed=Array[_0x11e856(0x99)](_0x5ba6b8)?_0x5ba6b8[_0x11e856(0x102)](String):String(_0x5ba6b8)['split'](',')['map'](_0x4f3050=>_0x4f3050[_0x11e856(0x12d)]())[_0x11e856(0x364)](Boolean),_0x4d7959=_0x3fb7ed['filter'](_0x5e329d=>_0x2a6088[_0x11e856(0xb9)](_0x5e329d));return _0x4d7959[_0x11e856(0x19b)]===_0x3fb7ed[_0x11e856(0x19b)]?_0x5ba6b8:Array[_0x11e856(0x99)](_0x5ba6b8)?_0x4d7959:String(_0x5ba6b8)[_0x11e856(0x173)](',')?_0x4d7959[_0x11e856(0x3d6)](','):_0x4d7959[0x0]??[];}function ir(_0x244e14,_0x3b79a6){const _0xadea85=_0x5670e0;return JSON['stringify'](_0x244e14)===JSON[_0xadea85(0x1a0)](_0x3b79a6);}function ar(_0x5e3962,_0x553333,_0x5bcc6a){const _0x4bf3c8=_0x5670e0;var _0x433dd5,_0x42a0fa,_0x1eb1aa,_0x5ae44c;let _0x3ae9a8=(_0x433dd5=_0x5e3962[_0x4bf3c8(0x250)])==null?void 0x0:_0x433dd5[_0x553333],_0x594dad=(_0x42a0fa=_0x5e3962[_0x4bf3c8(0xb6)])==null?void 0x0:_0x42a0fa[_0x5bcc6a];return _0x3ae9a8!=null&&_0x594dad!=null&&((_0x1eb1aa=_0x5e3962[_0x4bf3c8(0x2ea)])==null?void 0x0:_0x1eb1aa[_0x3ae9a8])===_0x553333&&((_0x5ae44c=_0x5e3962['colId'])==null?void 0x0:_0x5ae44c[_0x594dad])===_0x5bcc6a&&_0x5e3962['cellData']!=null;}function or(_0xfe9add,_0x39e0f9,_0x5ce872){const _0x35e48c=_0x5670e0;var _0x5c3135,_0x437376;return((_0x5c3135=_0xfe9add['rowId'])==null?void 0x0:_0x5c3135[_0x39e0f9])!=null&&((_0x437376=_0xfe9add[_0x35e48c(0x18c)])==null?void 0x0:_0x437376[_0x5ce872])!=null&&_0xfe9add[_0x35e48c(0x259)]!=null;}function sr(_0x4c9d1e,_0x57c849,_0x4664a5){const _0x28a733=_0x5670e0;let _0x2f8f4c=_0x4c9d1e[_0x28a733(0x364)](_0x3bace7=>_0x3bace7!==_0x57c849),_0x1b7cd5=_0x4664a5[_0x28a733(0x170)]?_0x2f8f4c[_0x28a733(0x2e8)](_0x4664a5[_0x28a733(0x170)]):_0x4664a5[_0x28a733(0x265)]?_0x2f8f4c[_0x28a733(0x2e8)](_0x4664a5[_0x28a733(0x265)])+0x1:_0x2f8f4c[_0x28a733(0x19b)];return _0x2f8f4c['splice'](_0x1b7cd5<0x0?_0x2f8f4c[_0x28a733(0x19b)]:_0x1b7cd5,0x0,_0x57c849),_0x2f8f4c;}function cr(_0x159b9b,_0x4ccf18,_0x27041d){const _0x57b434=_0x5670e0;let _0x575055=_0x159b9b['filter'](_0x242991=>_0x242991!==_0x4ccf18);return _0x575055['splice'](ur(_0x27041d,_0x575055[_0x57b434(0x19b)]),0x0,_0x4ccf18),_0x575055;}function lr(_0x49466c,_0x3ccc75,_0x3e2cb2){const _0x5e46fb=_0x5670e0;if(Array[_0x5e46fb(0x99)](_0x49466c))return _0x3e2cb2===_0x5e46fb(0x1f6)?_0x49466c['filter'](_0x2e4127=>_0x2e4127!==_0x3ccc75):_0x49466c[_0x5e46fb(0x98)](_0x553eb9=>{const _0x111f24=_0x5e46fb;if(_0x553eb9&&typeof _0x553eb9==_0x111f24(0x360)&&!Array[_0x111f24(0x99)](_0x553eb9)&&_0x553eb9[_0x111f24(0x186)]===_0x3ccc75)return[];let _0xfa6769=lr(_0x553eb9,_0x3ccc75);return _0xfa6769===void 0x0?[]:[_0xfa6769];});if(!_0x49466c||typeof _0x49466c!=_0x5e46fb(0x360))return _0x3e2cb2!=null&&_0x3e2cb2[_0x5e46fb(0x372)]('FieldId')&&_0x49466c===_0x3ccc75?void 0x0:_0x49466c;let _0x9f45b8=_0x49466c;if(_0x9f45b8[_0x5e46fb(0x186)]!==_0x3ccc75)return Object[_0x5e46fb(0x3a7)](Object[_0x5e46fb(0x419)](_0x9f45b8)['flatMap'](([_0x57c6e3,_0xdd6a9f])=>{if(_0x57c6e3===_0x3ccc75&&_0x3e2cb2==='fieldSettings')return[];let _0x442261=lr(_0xdd6a9f,_0x3ccc75,_0x57c6e3);return _0x442261===void 0x0?[]:[[_0x57c6e3,_0x442261]];}));}function ur(_0x210079,_0x54b7d7){const _0x6e6522=_0x5670e0;return Math[_0x6e6522(0x272)](0x0,Math[_0x6e6522(0x3a1)](_0x210079,_0x54b7d7));}function dr(_0x1ff057){'@babel/helpers - typeof';const _0x352c93=_0x5670e0;return dr=typeof Symbol==_0x352c93(0x251)&&typeof Symbol['iterator']=='symbol'?function(_0x8f4eec){return typeof _0x8f4eec;}:function(_0x2025c5){const _0x20d164=_0x352c93;return _0x2025c5&&typeof Symbol=='function'&&_0x2025c5['constructor']===Symbol&&_0x2025c5!==Symbol['prototype']?_0x20d164(0xb7):typeof _0x2025c5;},dr(_0x1ff057);}function fr(_0x47b720,_0x529e6b){const _0xab924f=_0x5670e0;if(dr(_0x47b720)!=_0xab924f(0x360)||!_0x47b720)return _0x47b720;var _0x582843=_0x47b720[Symbol[_0xab924f(0x1fc)]];if(_0x582843!==void 0x0){var _0x3d546d=_0x582843[_0xab924f(0x321)](_0x47b720,_0x529e6b||_0xab924f(0x434));if(dr(_0x3d546d)!='object')return _0x3d546d;throw TypeError(_0xab924f(0x376));}return(_0x529e6b===_0xab924f(0x2dc)?String:Number)(_0x47b720);}function pr(_0x275123){const _0x494711=_0x5670e0;var _0x5b6056=fr(_0x275123,_0x494711(0x2dc));return dr(_0x5b6056)==_0x494711(0xb7)?_0x5b6056:_0x5b6056+'';}function G(_0x535e81,_0x252e7d,_0x204cc2){const _0x4722ac=_0x5670e0;return(_0x252e7d=pr(_0x252e7d))in _0x535e81?Object[_0x4722ac(0x2cc)](_0x535e81,_0x252e7d,{'value':_0x204cc2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x535e81[_0x252e7d]=_0x204cc2,_0x535e81;}const mr=_0x39c797(_0x5670e0(0x27c));var hr=class extends _0x29abb3{constructor(..._0x5edb87){super(..._0x5edb87),G(this,'_plugins',new Map());}[_0x5670e0(0x2fb)](_0x203474){const _0x9aa0e7=_0x5670e0;return this[_0x9aa0e7(0xdc)][_0x9aa0e7(0x2b8)](_0x203474[_0x9aa0e7(0xeb)],_0x203474),_0x1abac0(()=>this[_0x9aa0e7(0xdc)][_0x9aa0e7(0x15e)](_0x203474[_0x9aa0e7(0xeb)]));}['get'](_0x545932){const _0x5b19a9=_0x5670e0;let _0x521eb7=this[_0x5b19a9(0xdc)][_0x5b19a9(0x2db)](_0x545932);if(!_0x521eb7)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x545932+'\x22\x20is\x20not\x20registered.');return _0x521eb7;}[_0x5670e0(0x17f)](_0x38b913){const _0x48c158=_0x5670e0;return this[_0x48c158(0xdc)][_0x48c158(0x2db)](_0x38b913);}[_0x5670e0(0x3d1)](){const _0x360051=_0x5670e0;return Array['from'](this[_0x360051(0xdc)][_0x360051(0x1c8)]());}},gr=class{constructor(_0x7841a){const _0x26ab82=_0x5670e0;this[_0x26ab82(0x39d)]=_0x7841a,G(this,_0x26ab82(0xeb),_0x2d9d6e[_0x26ab82(0x129)]),G(this,_0x26ab82(0x310),_0x5ebf52['Comment']),G(this,_0x26ab82(0xcf),_0x1bd3e8[_0x26ab82(0x252)]),G(this,'id',void 0x0),G(this,_0x26ab82(0x38a),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x7841a;}},_r=class{constructor(_0x31268a){const _0x4c85fb=_0x5670e0;this[_0x4c85fb(0x39d)]=_0x31268a,G(this,_0x4c85fb(0xeb),_0x2d9d6e[_0x4c85fb(0x129)]),G(this,'subType',_0x5ebf52['Copy']),G(this,_0x4c85fb(0xcf),_0x1bd3e8[_0x4c85fb(0x252)]),G(this,'id',void 0x0),G(this,_0x4c85fb(0x38a),!0x0),this['id']=this[_0x4c85fb(0xeb)]+'.'+this[_0x4c85fb(0x310)]+'_'+_0x31268a;}},vr=class{constructor(_0x5bf079){const _0x48eff7=_0x5670e0;this['unitId']=_0x5bf079,G(this,_0x48eff7(0xeb),_0x2d9d6e['Base']),G(this,_0x48eff7(0x310),_0x5ebf52['Edit']),G(this,_0x48eff7(0xcf),_0x1bd3e8[_0x48eff7(0x252)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x48eff7(0xeb)]+'.'+this[_0x48eff7(0x310)]+'_'+_0x5bf079;}},yr=class{constructor(_0x5ed0ed){const _0x5dc23c=_0x5670e0;this[_0x5dc23c(0x39d)]=_0x5ed0ed,G(this,_0x5dc23c(0xeb),_0x2d9d6e[_0x5dc23c(0x129)]),G(this,_0x5dc23c(0x310),_0x5ebf52[_0x5dc23c(0x3d7)]),G(this,_0x5dc23c(0xcf),_0x1bd3e8[_0x5dc23c(0x252)]),G(this,'id',void 0x0),G(this,_0x5dc23c(0x38a),!0x0),this['id']=this[_0x5dc23c(0xeb)]+'.'+this[_0x5dc23c(0x310)]+'_'+_0x5ed0ed;}},br=class{constructor(_0x28b765,_0x3dfd1e){const _0x17a9b5=_0x5670e0;this['unitId']=_0x28b765,this['objectId']=_0x3dfd1e,G(this,'type',_0x2d9d6e[_0x17a9b5(0xe2)]),G(this,_0x17a9b5(0x310),_0x5ebf52[_0x17a9b5(0x29b)]),G(this,'status',_0x1bd3e8[_0x17a9b5(0x252)]),G(this,'id',void 0x0),G(this,_0x17a9b5(0x38a),!0x0),this['id']=this[_0x17a9b5(0xeb)]+'.'+this[_0x17a9b5(0x310)]+'_'+_0x28b765+'_'+_0x3dfd1e;}},xr=class{constructor(_0x5b52d0,_0x2918ea){const _0x4fbd3c=_0x5670e0;this[_0x4fbd3c(0x39d)]=_0x5b52d0,this[_0x4fbd3c(0xba)]=_0x2918ea,G(this,_0x4fbd3c(0xeb),_0x2d9d6e[_0x4fbd3c(0x412)]),G(this,'subType',_0x5ebf52[_0x4fbd3c(0x29b)]),G(this,_0x4fbd3c(0xcf),_0x1bd3e8[_0x4fbd3c(0x252)]),G(this,'id',void 0x0),G(this,_0x4fbd3c(0x38a),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x5b52d0+'_'+_0x2918ea;}},Sr=class{constructor(_0x568b59,_0x100591){const _0x37786f=_0x5670e0;this[_0x37786f(0x39d)]=_0x568b59,this[_0x37786f(0xba)]=_0x100591,G(this,_0x37786f(0xeb),_0x2d9d6e[_0x37786f(0x2f7)]),G(this,_0x37786f(0x310),_0x5ebf52[_0x37786f(0x29b)]),G(this,_0x37786f(0xcf),_0x1bd3e8['INIT']),G(this,'id',void 0x0),G(this,_0x37786f(0x38a),!0x0),this['id']=this['type']+'.'+this[_0x37786f(0x310)]+'_'+_0x568b59+'_'+_0x100591;}},Cr=class{constructor(_0x42a62b,_0x33c440){const _0x1855cd=_0x5670e0;this[_0x1855cd(0x39d)]=_0x42a62b,this[_0x1855cd(0xba)]=_0x33c440,G(this,'type',_0x2d9d6e[_0x1855cd(0xa0)]),G(this,'subType',_0x5ebf52[_0x1855cd(0x29b)]),G(this,_0x1855cd(0xcf),_0x1bd3e8[_0x1855cd(0x252)]),G(this,'id',void 0x0),G(this,_0x1855cd(0x38a),!0x0),this['id']=this[_0x1855cd(0xeb)]+'.'+this['subType']+'_'+_0x42a62b+'_'+_0x33c440;}},wr=class{constructor(_0x46ae53,_0x12c8f9){const _0x2ad939=_0x5670e0;this[_0x2ad939(0x39d)]=_0x46ae53,this[_0x2ad939(0xba)]=_0x12c8f9,G(this,_0x2ad939(0xeb),_0x2d9d6e[_0x2ad939(0x20f)]),G(this,'subType',_0x5ebf52[_0x2ad939(0x29b)]),G(this,'status',_0x1bd3e8[_0x2ad939(0x252)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x2ad939(0xeb)]+'.'+this[_0x2ad939(0x310)]+'_'+_0x46ae53+'_'+_0x12c8f9;}};const Tr=[_0x5ebf52[_0x5670e0(0x29b)],_0x5ebf52[_0x5670e0(0x406)],_0x5ebf52['Export'],_0x5ebf52['Comment']],Er=new Set([_0x2d9d6e[_0x5670e0(0x129)],_0x2d9d6e[_0x5670e0(0xa0)],_0x2d9d6e[_0x5670e0(0x412)],_0x2d9d6e[_0x5670e0(0x2f7)],_0x2d9d6e[_0x5670e0(0x20f)],_0x2d9d6e[_0x5670e0(0xe2)]]),Dr=_0x5670e0(0x1c4),Or=_0x5670e0(0xb2),kr=_0x5670e0(0x155),Ar=_0x5670e0(0xac),jr=_0x5670e0(0x88);function K(_0x41390f){return''+Dr+encodeURIComponent(_0x41390f);}function q(_0x40e5b0,_0x31db61){return''+Or+encodeURIComponent(_0x40e5b0)+'/'+encodeURIComponent(_0x31db61);}function J(_0xab8c81,_0x31caf1){return''+kr+encodeURIComponent(_0xab8c81)+'/'+encodeURIComponent(_0x31caf1);}function Mr(_0x1c6f0e,_0x20d4a7){return''+Ar+encodeURIComponent(_0x1c6f0e)+'/'+encodeURIComponent(_0x20d4a7);}function Nr(_0x445178){return''+jr+encodeURIComponent(_0x445178);}function Pr(_0x196968,_0x576a64,_0x3ac046){const _0x2e5c97=_0x5670e0;if(_0x576a64===_0x196968)switch(_0x3ac046){case _0x5ebf52[_0x2e5c97(0x29b)]:return new vr(_0x196968);case _0x5ebf52[_0x2e5c97(0x406)]:return new _r(_0x196968);case _0x5ebf52[_0x2e5c97(0x3d7)]:return new yr(_0x196968);case _0x5ebf52[_0x2e5c97(0x316)]:return new gr(_0x196968);default:throw Error(_0x2e5c97(0x3da)+_0x3ac046);}if(_0x3ac046!==_0x5ebf52[_0x2e5c97(0x29b)])throw Error(_0x2e5c97(0x1e2)+_0x576a64);if(_0x576a64[_0x2e5c97(0xb5)](Dr))return new Cr(_0x196968,_0x576a64);if(_0x576a64[_0x2e5c97(0xb5)](Or))return new xr(_0x196968,_0x576a64);if(_0x576a64['startsWith'](kr))return new Sr(_0x196968,_0x576a64);if(_0x576a64['startsWith'](Ar))return new wr(_0x196968,_0x576a64);if(_0x576a64[_0x2e5c97(0xb5)](jr))return new br(_0x196968,_0x576a64);throw Error(_0x2e5c97(0x1cb)+_0x576a64);}function Fr(_0x5b7ea4,_0x175f91,_0x12d601,_0x5deece){const _0x49bad6=_0x5670e0;var _0x20c3cb;return((_0x20c3cb=_0x5b7ea4[_0x49bad6(0x34a)](Pr(_0x175f91,_0x12d601,_0x5deece)['id']))==null?void 0x0:_0x20c3cb[_0x49bad6(0x38a)])??!0x0;}function Ir(_0x88a44,_0x1fccd7,_0x3287d9,_0x21ded3,_0x59a57f){const _0x173004=_0x5670e0;let _0x12c3a1=Pr(_0x1fccd7,_0x3287d9,_0x21ded3);_0x88a44[_0x173004(0x34a)](_0x12c3a1['id'])||_0x88a44[_0x173004(0x269)](_0x12c3a1),_0x88a44['updatePermissionPoint'](_0x12c3a1['id'],_0x59a57f);}function Lr(_0x5bec02,_0x457f34,_0x26a5b1,_0x2ffc07){_0x5bec02['deletePermissionPoint'](Pr(_0x457f34,_0x26a5b1,_0x2ffc07)['id']);}function Rr(_0x58e589,_0x6d7915){const _0x5057cc=_0x5670e0;_0x58e589[_0x5057cc(0x307)]()[_0x5057cc(0x143)]((_0x3f76d6,_0x4a7f1b)=>{const _0x48f8c1=_0x5057cc;_0x3f76d6[_0x48f8c1(0x3f0)](_0x3eeede=>{const _0x31097b=_0x48f8c1;Er[_0x31097b(0xb9)](_0x3eeede[_0x31097b(0xeb)])&&_0x31097b(0x39d)in _0x3eeede&&_0x3eeede['unitId']===_0x6d7915&&_0x58e589[_0x31097b(0x2f3)](_0x4a7f1b);})[_0x48f8c1(0x26d)]();});}function zr(_0x36a290,_0x1077be,_0x2b5701){const _0x10df50=_0x5670e0;return Fr(_0x36a290,_0x1077be,_0x1077be,_0x5ebf52[_0x10df50(0x29b)])&&Array[_0x10df50(0x162)](_0x2b5701)[_0x10df50(0x3f9)](_0x39f0a8=>Fr(_0x36a290,_0x1077be,_0x39f0a8,_0x5ebf52['Edit']));}function Y(_0x2681a6,_0x49ada4){return function(_0x32ada8,_0x322e20){_0x49ada4(_0x32ada8,_0x322e20,_0x2681a6);};}function X(_0x28fa8e,_0x512186,_0x7bd057,_0x9bf0ff){const _0x5e4837=_0x5670e0;var _0x481043=arguments['length'],_0x52e4a5=_0x481043<0x3?_0x512186:_0x9bf0ff===null?_0x9bf0ff=Object[_0x5e4837(0x8c)](_0x512186,_0x7bd057):_0x9bf0ff,_0x511290;if(typeof Reflect==_0x5e4837(0x360)&&typeof Reflect['decorate']==_0x5e4837(0x251))_0x52e4a5=Reflect['decorate'](_0x28fa8e,_0x512186,_0x7bd057,_0x9bf0ff);else{for(var _0x3cce58=_0x28fa8e[_0x5e4837(0x19b)]-0x1;_0x3cce58>=0x0;_0x3cce58--)(_0x511290=_0x28fa8e[_0x3cce58])&&(_0x52e4a5=(_0x481043<0x3?_0x511290(_0x52e4a5):_0x481043>0x3?_0x511290(_0x512186,_0x7bd057,_0x52e4a5):_0x511290(_0x512186,_0x7bd057))||_0x52e4a5);}return _0x481043>0x3&&_0x52e4a5&&Object[_0x5e4837(0x2cc)](_0x512186,_0x7bd057,_0x52e4a5),_0x52e4a5;}const Br=_0x39c797(_0x5670e0(0x1a7));let Vr=class extends _0x29abb3{constructor(_0x31990d,_0x54a7fc){const _0x248054=_0x5670e0;super(),this[_0x248054(0x312)]=_0x31990d,this['_instanceService']=_0x54a7fc,G(this,_0x248054(0x2ac),new Map()),G(this,_0x248054(0xaa),new Map()),G(this,'_fieldPermissions',new Map()),G(this,_0x248054(0x103),new Map()),G(this,_0x248054(0x1e5),new Map()),G(this,_0x248054(0xd1),new Map()),this[_0x248054(0xe6)](this[_0x248054(0xaf)][_0x248054(0x3e5)](_0x1bf49d[_0x248054(0x373)])[_0x248054(0x3f0)](_0x589838=>this['_clearUnit'](_0x589838[_0x248054(0x2a0)]())));}[_0x5670e0(0x156)](_0x126547){const _0xcd9eed=_0x5670e0;var _0x14d1ec;return this[_0xcd9eed(0x3c1)](_0x126547,[])&&(((_0x14d1ec=this[_0xcd9eed(0x2ac)]['get'](_0x126547))==null?void 0x0:_0x14d1ec[_0xcd9eed(0x247)])??!0x0);}[_0x5670e0(0x26e)](_0x17a017){return this['_canEditTable'](_0x17a017);}['canDeleteTable'](_0x23ba66){const _0x20eb62=_0x5670e0;var _0x4eceb5;return this['_canEditTable'](_0x23ba66)&&(((_0x4eceb5=this[_0x20eb62(0xaa)][_0x20eb62(0x2db)](_0x23ba66))==null?void 0x0:_0x4eceb5[_0x20eb62(0x15e)])??!0x0);}[_0x5670e0(0x2b1)](_0x35bd83){const _0x2411a2=_0x5670e0;var _0x3b1458;return this['_canEditTable'](_0x35bd83)&&(((_0x3b1458=this['_tablePermissions'][_0x2411a2(0x2db)](_0x35bd83))==null?void 0x0:_0x3b1458[_0x2411a2(0x28c)])??!0x0);}['canEditField'](_0x19f1be,_0xfaf77d){const _0x4bade6=_0x5670e0;var _0x3e41d8;return this['_canEditTable'](_0x19f1be)&&this['_canEdit'](_0x19f1be,[q(_0x19f1be,_0xfaf77d)])&&(((_0x3e41d8=this[_0x4bade6(0x1b0)][_0x4bade6(0x2db)](Ur(_0x19f1be,_0xfaf77d)))==null?void 0x0:_0x3e41d8[_0x4bade6(0x1b7)])??!0x0);}[_0x5670e0(0x183)](_0x49daf8,_0x79dd33){const _0x5b3907=_0x5670e0;var _0x53c669;return this[_0x5b3907(0x3cf)](_0x49daf8,_0x79dd33)&&(((_0x53c669=this['_fieldPermissions'][_0x5b3907(0x2db)](Ur(_0x49daf8,_0x79dd33)))==null?void 0x0:_0x53c669['delete'])??!0x0);}[_0x5670e0(0x1cd)](_0x27a8ed){const _0x35591d=_0x5670e0;var _0x3dcbfc;return this[_0x35591d(0x2de)](_0x27a8ed)&&(((_0x3dcbfc=this['_tablePermissions'][_0x35591d(0x2db)](_0x27a8ed))==null?void 0x0:_0x3dcbfc[_0x35591d(0x136)])??!0x0);}[_0x5670e0(0xff)](_0x1d15cb,_0x46fc66){const _0x3aae12=_0x5670e0;var _0x1ba6a3;let _0x2b009b=this['_recordPermissions'][_0x3aae12(0x2db)](Wr(_0x1d15cb,_0x46fc66));return this['_canEdit'](_0x1d15cb,[K(_0x1d15cb),J(_0x1d15cb,_0x46fc66)])&&(((_0x1ba6a3=this[_0x3aae12(0xaa)][_0x3aae12(0x2db)](_0x1d15cb))==null?void 0x0:_0x1ba6a3[_0x3aae12(0x1b7)])??!0x0)&&((_0x2b009b==null?void 0x0:_0x2b009b[_0x3aae12(0x1b7)])??!0x0)&&((_0x2b009b==null?void 0x0:_0x2b009b[_0x3aae12(0x198)])??!0x0);}[_0x5670e0(0x388)](_0x43a3af,_0x2153a8){const _0xd74de2=_0x5670e0;var _0x20326e,_0x5b7251,_0x29fa92;return this['_canEdit'](_0x43a3af,[K(_0x43a3af),J(_0x43a3af,_0x2153a8)])&&(((_0x20326e=this['_tablePermissions']['get'](_0x43a3af))==null?void 0x0:_0x20326e[_0xd74de2(0x1b7)])??!0x0)&&(((_0x5b7251=this[_0xd74de2(0x103)][_0xd74de2(0x2db)](Wr(_0x43a3af,_0x2153a8)))==null?void 0x0:_0x5b7251[_0xd74de2(0x1b7)])??!0x0)&&(((_0x29fa92=this[_0xd74de2(0x103)][_0xd74de2(0x2db)](Wr(_0x43a3af,_0x2153a8)))==null?void 0x0:_0x29fa92[_0xd74de2(0x15e)])??!0x0);}['canEditCell'](_0x44a7ee,_0xdf4e6,_0x56d49f){const _0xbb6de3=_0x5670e0;var _0x5379b1,_0x5e2f41,_0x5bf5f7;let _0x1c3bf2=this[_0xbb6de3(0x1b0)]['get'](Ur(_0x44a7ee,_0x56d49f));return this[_0xbb6de3(0x3c1)](_0x44a7ee,[K(_0x44a7ee),q(_0x44a7ee,_0x56d49f),J(_0x44a7ee,_0xdf4e6)])&&(((_0x5379b1=this['_tablePermissions'][_0xbb6de3(0x2db)](_0x44a7ee))==null?void 0x0:_0x5379b1[_0xbb6de3(0x1b7)])??!0x0)&&(((_0x5e2f41=this[_0xbb6de3(0x103)][_0xbb6de3(0x2db)](Wr(_0x44a7ee,_0xdf4e6)))==null?void 0x0:_0x5e2f41[_0xbb6de3(0x1b7)])??!0x0)&&(((_0x5bf5f7=this['_recordPermissions']['get'](Wr(_0x44a7ee,_0xdf4e6)))==null?void 0x0:_0x5bf5f7['editCell'])??!0x0)&&((_0x1c3bf2==null?void 0x0:_0x1c3bf2['edit'])??!0x0)&&((_0x1c3bf2==null?void 0x0:_0x1c3bf2['editCell'])??!0x0);}[_0x5670e0(0x142)](_0x3a00ae,_0x3bff80){const _0x5d05a6=_0x5670e0;var _0x321f18,_0x50d9fd,_0x32685f;return this[_0x5d05a6(0x3c1)](_0x3a00ae,[K(_0x3a00ae),Mr(_0x3a00ae,_0x3bff80)])&&(((_0x321f18=this[_0x5d05a6(0xaa)][_0x5d05a6(0x2db)](_0x3a00ae))==null?void 0x0:_0x321f18[_0x5d05a6(0x1b7)])??!0x0)&&(((_0x50d9fd=this[_0x5d05a6(0x1e5)][_0x5d05a6(0x2db)](Gr(_0x3a00ae,_0x3bff80)))==null?void 0x0:_0x50d9fd[_0x5d05a6(0x1b7)])??!0x0)&&(((_0x32685f=this[_0x5d05a6(0xaa)]['get'](_0x3a00ae))==null?void 0x0:_0x32685f[_0x5d05a6(0x408)])??!0x0);}[_0x5670e0(0xf7)](_0x41fac0,_0x2ba5d7){const _0x506aba=_0x5670e0;this[_0x506aba(0x2ac)][_0x506aba(0x2b8)](_0x41fac0,{...this[_0x506aba(0x2ac)][_0x506aba(0x2db)](_0x41fac0),..._0x2ba5d7}),_0x2ba5d7[_0x506aba(0x1b7)]!==void 0x0&&Ir(this[_0x506aba(0x312)],_0x41fac0,_0x41fac0,_0x5ebf52[_0x506aba(0x29b)],_0x2ba5d7[_0x506aba(0x1b7)]);}[_0x5670e0(0x32a)](_0x5a2ce9,_0x5ead0d){const _0x33f839=_0x5670e0;this[_0x33f839(0x329)](_0x5a2ce9),this['_tablePermissions'][_0x33f839(0x2b8)](_0x5a2ce9,{...this[_0x33f839(0xaa)][_0x33f839(0x2db)](_0x5a2ce9),..._0x5ead0d}),this[_0x33f839(0x351)](_0x5a2ce9,K(_0x5a2ce9),_0x5ead0d['edit']);}['setFieldPermission'](_0x417d32,_0x5a041d,_0x3f4c7c){const _0x1f5214=_0x5670e0;this[_0x1f5214(0x329)](_0x417d32);let _0x426cf6=Ur(_0x417d32,_0x5a041d);this[_0x1f5214(0x1b0)][_0x1f5214(0x2b8)](_0x426cf6,{...this['_fieldPermissions'][_0x1f5214(0x2db)](_0x426cf6),..._0x3f4c7c}),this[_0x1f5214(0x351)](_0x417d32,q(_0x417d32,_0x5a041d),_0x3f4c7c['edit']);}[_0x5670e0(0x289)](_0x15f1b4,_0x3c4121,_0x145bc5){const _0x1d6176=_0x5670e0;this[_0x1d6176(0x329)](_0x15f1b4);let _0x51b2ba=Wr(_0x15f1b4,_0x3c4121);this[_0x1d6176(0x103)][_0x1d6176(0x2b8)](_0x51b2ba,{...this[_0x1d6176(0x103)][_0x1d6176(0x2db)](_0x51b2ba),..._0x145bc5}),this['_setObjectEdit'](_0x15f1b4,J(_0x15f1b4,_0x3c4121),_0x145bc5['edit']);}[_0x5670e0(0x267)](_0x25c473,_0x4d884e,_0x36ef69){const _0x632b8e=_0x5670e0;this['_rememberTable'](_0x25c473);let _0x4807a7=Gr(_0x25c473,_0x4d884e);this[_0x632b8e(0x1e5)][_0x632b8e(0x2b8)](_0x4807a7,{...this[_0x632b8e(0x1e5)][_0x632b8e(0x2db)](_0x4807a7),..._0x36ef69}),this[_0x632b8e(0x351)](_0x25c473,Mr(_0x25c473,_0x4d884e),_0x36ef69[_0x632b8e(0x1b7)]);}[_0x5670e0(0x2d5)](_0x26dcb8){const _0x29cf39=_0x5670e0;this[_0x29cf39(0x2ac)][_0x29cf39(0x15e)](_0x26dcb8),Lr(this[_0x29cf39(0x312)],_0x26dcb8,_0x26dcb8,_0x5ebf52[_0x29cf39(0x29b)]);}['clearTablePermission'](_0xa8c3ed){const _0x754aee=_0x5670e0;this[_0x754aee(0xaa)][_0x754aee(0x15e)](_0xa8c3ed),this[_0x754aee(0x147)](_0xa8c3ed,K(_0xa8c3ed));}[_0x5670e0(0x413)](_0x589157,_0x31b0a4){const _0x7cbf94=_0x5670e0;this[_0x7cbf94(0x1b0)][_0x7cbf94(0x15e)](Ur(_0x589157,_0x31b0a4)),this[_0x7cbf94(0x147)](_0x589157,q(_0x589157,_0x31b0a4));}[_0x5670e0(0x117)](_0x362775,_0x50f9e1){const _0x52fadf=_0x5670e0;this[_0x52fadf(0x103)]['delete'](Wr(_0x362775,_0x50f9e1)),this['_clearObjectEdit'](_0x362775,J(_0x362775,_0x50f9e1));}['clearViewPermission'](_0x3b1bfe,_0xedbabe){const _0x1e1d1c=_0x5670e0;this[_0x1e1d1c(0x1e5)]['delete'](Gr(_0x3b1bfe,_0xedbabe)),this['_clearObjectEdit'](_0x3b1bfe,Mr(_0x3b1bfe,_0xedbabe));}['getSnapshot'](){const _0x22ece3=_0x5670e0;return{'bases':Object[_0x22ece3(0x3a7)](this[_0x22ece3(0x2ac)]),'tables':Object['fromEntries'](this[_0x22ece3(0xaa)]),'fields':Object[_0x22ece3(0x3a7)](this['_fieldPermissions']),'records':Object[_0x22ece3(0x3a7)](this[_0x22ece3(0x103)]),'views':Object[_0x22ece3(0x3a7)](this[_0x22ece3(0x1e5)])};}[_0x5670e0(0x2de)](_0x367cb5){const _0x4e6dd6=_0x5670e0;var _0x48e19d;return this['_canEdit'](_0x367cb5,[K(_0x367cb5)])&&(((_0x48e19d=this[_0x4e6dd6(0xaa)][_0x4e6dd6(0x2db)](_0x367cb5))==null?void 0x0:_0x48e19d['edit'])??!0x0);}[_0x5670e0(0x3c1)](_0x32bed6,_0x131fc3){const _0x1c749b=_0x5670e0;var _0x5d467f;let _0x3c5ccb=this[_0x1c749b(0x138)](_0x32bed6);return!_0x3c5ccb||zr(this[_0x1c749b(0x312)],_0x3c5ccb,_0x131fc3)&&(((_0x5d467f=this[_0x1c749b(0x2ac)][_0x1c749b(0x2db)](_0x3c5ccb))==null?void 0x0:_0x5d467f[_0x1c749b(0x1b7)])??!0x0);}[_0x5670e0(0x351)](_0x5f2308,_0x1befe6,_0x17927f){const _0x45cd37=_0x5670e0;if(_0x17927f===void 0x0)return;let _0x5b489f=this[_0x45cd37(0x138)](_0x5f2308);_0x5b489f&&Ir(this['_permissionService'],_0x5b489f,_0x1befe6,_0x5ebf52[_0x45cd37(0x29b)],_0x17927f);}['_clearObjectEdit'](_0x1db9c9,_0x9a8117){const _0x204d5d=_0x5670e0;let _0xfaf35b=this['_resolveBaseId'](_0x1db9c9);_0xfaf35b&&Lr(this[_0x204d5d(0x312)],_0xfaf35b,_0x9a8117,_0x5ebf52[_0x204d5d(0x29b)]);}[_0x5670e0(0x138)](_0x2a1c3d){const _0x14f1fc=_0x5670e0;var _0x5191fa;let _0x56c809=this['_instanceService'][_0x14f1fc(0x1b8)](_0x2a1c3d,_0x1bf49d[_0x14f1fc(0x373)]);return _0x56c809?_0x56c809['getUnitId']():(_0x5191fa=this[_0x14f1fc(0xaf)][_0x14f1fc(0x2aa)](_0x1bf49d[_0x14f1fc(0x373)])[_0x14f1fc(0x361)](_0x77709e=>!!_0x77709e[_0x14f1fc(0x1ec)]()[_0x14f1fc(0x41c)][_0x2a1c3d]))==null?void 0x0:_0x5191fa[_0x14f1fc(0x2a0)]();}[_0x5670e0(0x329)](_0x338e76){const _0x3cba4d=_0x5670e0;let _0x449532=this[_0x3cba4d(0x138)](_0x338e76);_0x449532&&this[_0x3cba4d(0xd1)][_0x3cba4d(0x2b8)](_0x338e76,_0x449532);}[_0x5670e0(0x275)](_0x3ae345){const _0xd421b4=_0x5670e0;this[_0xd421b4(0x2ac)][_0xd421b4(0x15e)](_0x3ae345),this[_0xd421b4(0xd1)][_0xd421b4(0x143)]((_0x288b04,_0x19973f)=>{const _0x54cc6e=_0xd421b4;_0x288b04===_0x3ae345&&(this[_0x54cc6e(0xaa)]['delete'](_0x19973f),Hr(this[_0x54cc6e(0x1b0)],_0x19973f+'\x1f'),Hr(this['_recordPermissions'],_0x19973f+'\x1f'),Hr(this[_0x54cc6e(0x1e5)],_0x19973f+'\x1f'),this[_0x54cc6e(0xd1)]['delete'](_0x19973f));});}};Vr=X([Y(0x0,_0x5b6ee9),Y(0x1,_0x2853e0)],Vr);function Hr(_0x23aacb,_0x2bdf2f){const _0x45d4d8=_0x5670e0;_0x23aacb[_0x45d4d8(0x143)]((_0x261046,_0x5f3361)=>{const _0x4b08bd=_0x45d4d8;_0x5f3361[_0x4b08bd(0xb5)](_0x2bdf2f)&&_0x23aacb[_0x4b08bd(0x15e)](_0x5f3361);});}function Ur(_0x24a983,_0x13ae23){return _0x24a983+'\x1f'+_0x13ae23;}function Wr(_0x5e1395,_0x181770){return _0x5e1395+'\x1f'+_0x181770;}function Gr(_0x5abbeb,_0x421cc8){return _0x5abbeb+'\x1f'+_0x421cc8;}const Kr=_0x39c797(_0x5670e0(0x299));let qr=class{constructor(_0x2f2952,_0x20282f=Jr(),_0x2b217b={}){const _0x4104c9=_0x5670e0;this[_0x4104c9(0x312)]=_0x2f2952,this['_fieldRegistry']=_0x20282f,this['_runtimeContext']=_0x2b217b,G(this,_0x4104c9(0x2da),new W()),G(this,_0x4104c9(0x123),new z());}[_0x5670e0(0x247)](_0x5c6d1b,_0x579e5b,_0x41e128){const _0x4974a5=_0x5670e0;if(!this[_0x4974a5(0x312)][_0x4974a5(0x156)](_0x5c6d1b[_0x4974a5(0x2a0)]()))throw Error(_0x4974a5(0x1d4));_0x4a6ff9(_0x579e5b),this[_0x4974a5(0xc9)](_0x5c6d1b,this[_0x4974a5(0x2da)][_0x4974a5(0x247)](_0x5c6d1b['getSnapshot'](),_0x579e5b,_0x41e128));}[_0x5670e0(0x233)](_0x4a536d,_0x19fa1d,_0x3d2875){const _0x20d4f9=_0x5670e0;if(!this['_permissionService'][_0x20d4f9(0x26e)](_0x19fa1d))throw Error(_0x20d4f9(0x3ea));this[_0x20d4f9(0xc9)](_0x4a536d,this[_0x20d4f9(0x2da)][_0x20d4f9(0x233)](_0x4a536d[_0x20d4f9(0x1ec)](),_0x19fa1d,_0x3d2875));}[_0x5670e0(0x238)](_0x36000a,_0x3555d9){const _0xce574e=_0x5670e0;if(!this['_permissionService']['canDeleteTable'](_0x3555d9))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0xc7c737=He(_0x36000a[_0xce574e(0x1ec)](),_0x3555d9);if(_0xc7c737[_0xce574e(0x19b)]>0x0)throw Error(_0xce574e(0x30c)+_0xc7c737[_0xce574e(0x102)](_0x386370=>_0x386370['tableId']+'.'+_0x386370[_0xce574e(0x186)])['join'](',\x20')+').');this['_apply'](_0x36000a,this[_0xce574e(0x2da)][_0xce574e(0x238)](_0x36000a['getSnapshot'](),_0x3555d9));}[_0x5670e0(0x20b)](_0x397c64,_0x259abe,_0x278af6,_0x1a872a,_0x4fedba){const _0x5d6d65=_0x5670e0;this[_0x5d6d65(0xc9)](_0x397c64,this['createUpdateCellOp'](_0x397c64,_0x259abe,_0x278af6,_0x1a872a,_0x4fedba));}[_0x5670e0(0xda)](_0x4b3f63,_0x1fbb31,_0x5a4602){const _0x56356c=_0x5670e0;this[_0x56356c(0xc9)](_0x4b3f63,this['createSetRecordValuesOp'](_0x4b3f63,_0x1fbb31,_0x5a4602));}[_0x5670e0(0x136)](_0x1a04b9,_0x295ca6,_0x3790be){const _0x30a0f1=_0x5670e0;this['_apply'](_0x1a04b9,this[_0x30a0f1(0x24f)](_0x1a04b9,_0x295ca6,_0x3790be));}['createUpdateCellOp'](_0x3d3477,_0xc8c72d,_0x4b7c0c,_0x3995bc,_0x536602){const _0x816285=_0x5670e0;let _0x444668=_0x3d3477[_0x816285(0x1ec)](),_0x3a599b=this[_0x816285(0x1db)](_0x444668,_0xc8c72d,_0x4b7c0c,_0x3995bc,_0x536602),_0x15fff3=this['_withModifiedSystemValues'](_0x444668,_0xc8c72d,_0x4b7c0c,{[_0x3995bc]:_0x3a599b});return this[_0x816285(0x2da)][_0x816285(0xda)](_0x444668,_0xc8c72d,[_0x15fff3]);}['createSetRecordValuesOp'](_0x172356,_0xa0d0e5,_0x3e8417){const _0x542372=_0x5670e0;let _0x461c3a=_0x172356['getSnapshot'](),_0x3596df=_0x3e8417[_0x542372(0x102)](_0x2bb999=>this[_0x542372(0x1f9)](_0x461c3a,_0xa0d0e5,_0x2bb999[_0x542372(0x191)],{...Object['fromEntries'](Object['entries'](_0x2bb999[_0x542372(0x1c8)])[_0x542372(0x102)](([_0x1fe6ed,_0x23cfe0])=>[_0x1fe6ed,this[_0x542372(0x1db)](_0x461c3a,_0xa0d0e5,_0x2bb999['recordId'],_0x1fe6ed,_0x23cfe0)]))}));return this[_0x542372(0x2da)][_0x542372(0xda)](_0x461c3a,_0xa0d0e5,_0x3596df);}[_0x5670e0(0x24f)](_0x1356e1,_0x3fedae,_0x27794a){const _0x39cfc3=_0x5670e0;if(!this[_0x39cfc3(0x312)][_0x39cfc3(0x1cd)](_0x3fedae))throw Error(_0x39cfc3(0x34d));let _0x54b976=_0x1356e1[_0x39cfc3(0x1ec)](),_0x477d7b=this[_0x39cfc3(0x18d)](_0x54b976[_0x39cfc3(0x41c)][_0x3fedae]);return this[_0x39cfc3(0x2da)][_0x39cfc3(0x136)](_0x54b976,_0x3fedae,this[_0x39cfc3(0x33f)](_0x54b976,_0x3fedae,_0x27794a,_0x477d7b));}['createBatchCreateRecordsOp'](_0x290cfb,_0x37f8d0,_0x2e4d74){const _0x513b69=_0x5670e0;if(!this[_0x513b69(0x312)]['canCreateRecord'](_0x37f8d0))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x225b10=_0x290cfb[_0x513b69(0x1ec)]();return I('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x2c2d38=_0x513b69;let _0x1755e3=this[_0x2c2d38(0x18d)](_0x225b10['tables'][_0x37f8d0]);return this[_0x2c2d38(0x2da)][_0x2c2d38(0x253)](_0x225b10,_0x37f8d0,_0x2e4d74['map'](_0x5470fb=>this['_createRecordWithDefaults'](_0x225b10,_0x37f8d0,_0x5470fb,_0x1755e3)));},{'existingRecords':Object[_0x513b69(0x3ac)](_0x225b10[_0x513b69(0x41c)][_0x37f8d0][_0x513b69(0x83)])[_0x513b69(0x19b)],'records':_0x2e4d74[_0x513b69(0x19b)]});}[_0x5670e0(0x28b)](_0x352323,_0x37dfce,_0x810ed9,_0x3c43ce,_0x35a75e){const _0xf75950=_0x5670e0;if(!this[_0xf75950(0x312)]['canCreateField'](_0x37dfce))throw Error(_0xf75950(0x302));let _0x3cf7b5=_0x352323['getSnapshot']();if(this[_0xf75950(0x239)](_0x3cf7b5,_0x810ed9),_0x3c43ce===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x2e98eb=this[_0xf75950(0x2da)][_0xf75950(0x28c)](_0x3cf7b5,_0x37dfce,{'field':_0x810ed9,'index':_0x3c43ce,'viewIndexes':_0x35a75e}),_0x3dd69e=this['_createSystemFieldValuePatches'](_0x3cf7b5,_0x37dfce,_0x810ed9);if(!_0x3dd69e[_0xf75950(0x19b)])return _0x2e98eb;let _0x5d3a76=this['_applier']['applyOp'](_0x3cf7b5,_0x2e98eb);return R([_0x2e98eb,this['_factory'][_0xf75950(0xda)](_0x5d3a76,_0x37dfce,_0x3dd69e)]);}['deleteRecord'](_0x2c4e10,_0x522fa7,_0x1529f0){const _0x3cf18b=_0x5670e0;if(!this['_permissionService'][_0x3cf18b(0x388)](_0x522fa7,_0x1529f0))throw Error(_0x3cf18b(0x260));this[_0x3cf18b(0xc9)](_0x2c4e10,this[_0x3cf18b(0x2da)][_0x3cf18b(0x35b)](_0x2c4e10[_0x3cf18b(0x1ec)](),_0x522fa7,_0x1529f0));}[_0x5670e0(0x1b1)](_0x1cf155,_0x413d1d,_0x1df19a,_0x22e414){const _0x56ce73=_0x5670e0;if(!this[_0x56ce73(0x312)][_0x56ce73(0x1cd)](_0x413d1d))throw Error(_0x56ce73(0x34d));this[_0x56ce73(0xc9)](_0x1cf155,this[_0x56ce73(0x2da)][_0x56ce73(0x1b1)](_0x1cf155[_0x56ce73(0x1ec)](),_0x413d1d,_0x1df19a,{..._0x22e414,'values':{..._0x22e414[_0x56ce73(0x1c8)],[_0x32decc]:_0x22e414['id']}}));}[_0x5670e0(0x392)](_0x5b604e,_0x106795,_0x5b83ad,_0x4da7fd){const _0x386c0=_0x5670e0;if(!this[_0x386c0(0x312)]['canEditRecord'](_0x106795,_0x5b83ad))throw Error(_0x386c0(0x381));this[_0x386c0(0xc9)](_0x5b604e,this[_0x386c0(0x2da)][_0x386c0(0x392)](_0x5b604e['getSnapshot'](),_0x106795,_0x5b83ad,_0x4da7fd));}[_0x5670e0(0x28c)](_0x14f7de,_0x4bb45c,_0x5a4af7,_0x5505b7,_0x1cac86){const _0x5e8310=_0x5670e0;this[_0x5e8310(0xc9)](_0x14f7de,this[_0x5e8310(0x28b)](_0x14f7de,_0x4bb45c,_0x5a4af7,_0x5505b7,_0x1cac86));}['updateField'](_0x352c50,_0x124e4c,_0xce94f,_0x4ba849){const _0x477602=_0x5670e0;var _0x33a7a3;if(!this[_0x477602(0x312)][_0x477602(0x3cf)](_0x124e4c,_0xce94f))throw Error(_0x477602(0x131));let _0x594357=_0x352c50[_0x477602(0x1ec)](),_0x59d0d8=(_0x33a7a3=_0x594357['tables'][_0x124e4c])==null?void 0x0:_0x33a7a3['fields'][_0xce94f];if(!_0x59d0d8||_0xce94f===_0x32decc)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x477602(0x239)](_0x594357,{..._0x59d0d8,..._0x4ba849}),this[_0x477602(0xc9)](_0x352c50,this[_0x477602(0x2da)]['updateField'](_0x594357,_0x124e4c,_0xce94f,_0x4ba849));}['changeFieldType'](_0x57943a,_0x218224,_0x57e49b,_0x54e44c){const _0x27d7ff=_0x5670e0;var _0x1c6f8d;if(!this[_0x27d7ff(0x312)][_0x27d7ff(0x3cf)](_0x218224,_0x57e49b))throw Error(_0x27d7ff(0x131));let _0x1e88df=_0x57943a[_0x27d7ff(0x1ec)](),_0x25cd11=(_0x1c6f8d=_0x1e88df[_0x27d7ff(0x41c)][_0x218224])==null?void 0x0:_0x1c6f8d[_0x27d7ff(0x2cb)][_0x57e49b];if(!_0x25cd11||_0x57e49b===_0x32decc)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0x27d7ff(0x239)](_0x1e88df,{..._0x25cd11,..._0x54e44c}),this['_apply'](_0x57943a,this[_0x27d7ff(0x2da)]['changeFieldType'](_0x1e88df,_0x218224,_0x57e49b,_0x54e44c));}['deleteField'](_0x4c481e,_0x7cb96c,_0x4fcf3c){const _0x1cc046=_0x5670e0;var _0x7981c5;if(((_0x7981c5=_0x4c481e[_0x1cc046(0x1ec)]()['tables'][_0x7cb96c])==null?void 0x0:_0x7981c5[_0x1cc046(0x2d7)])===_0x4fcf3c||_0x4fcf3c===_0x32decc)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService'][_0x1cc046(0x183)](_0x7cb96c,_0x4fcf3c))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this[_0x1cc046(0xc9)](_0x4c481e,this[_0x1cc046(0x2da)][_0x1cc046(0x2c8)](_0x4c481e[_0x1cc046(0x1ec)](),_0x7cb96c,_0x4fcf3c));}[_0x5670e0(0x21c)](_0x37fa8f,_0x3d7d6f,_0x49bad7,_0x4adaa1){const _0x1df4f2=_0x5670e0;if(!this[_0x1df4f2(0x312)]['canEditField'](_0x3d7d6f,_0x49bad7))throw Error(_0x1df4f2(0x131));if(_0x49bad7===_0x32decc||_0x4adaa1['beforeFieldId']===_0x32decc)throw Error('[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');this['_apply'](_0x37fa8f,this[_0x1df4f2(0x2da)][_0x1df4f2(0x21c)](_0x37fa8f['getSnapshot'](),_0x3d7d6f,_0x49bad7,_0x4adaa1));}[_0x5670e0(0x2eb)](_0x59fdee,_0x2f64b5,_0x517be9,_0x3d7dad){const _0x4a33a6=_0x5670e0;if(!this[_0x4a33a6(0x312)][_0x4a33a6(0x142)](_0x2f64b5,_0x517be9['id']))throw Error(_0x4a33a6(0x33b));this[_0x4a33a6(0xc9)](_0x59fdee,this[_0x4a33a6(0x2da)][_0x4a33a6(0x2eb)](_0x59fdee['getSnapshot'](),_0x2f64b5,_0x517be9,_0x3d7dad));}['renameView'](_0x1ee732,_0x4cfd57,_0x479a64,_0x57d011){const _0x2a0bde=_0x5670e0;if(!this['_permissionService'][_0x2a0bde(0x142)](_0x4cfd57,_0x479a64))throw Error(_0x2a0bde(0x33b));this[_0x2a0bde(0xc9)](_0x1ee732,this['_factory'][_0x2a0bde(0x334)](_0x1ee732[_0x2a0bde(0x1ec)](),_0x4cfd57,_0x479a64,_0x57d011));}[_0x5670e0(0x32b)](_0x21a75a,_0x38b433,_0x3d200a){const _0x4db672=_0x5670e0;if(!this[_0x4db672(0x312)][_0x4db672(0x142)](_0x38b433,_0x3d200a))throw Error(_0x4db672(0x33b));this['_apply'](_0x21a75a,this[_0x4db672(0x2da)][_0x4db672(0x32b)](_0x21a75a[_0x4db672(0x1ec)](),_0x38b433,_0x3d200a));}[_0x5670e0(0x38e)](_0x588e89,_0x44fa04,_0x3fee28,_0xeb46d7){const _0x2b04fc=_0x5670e0;if(!this[_0x2b04fc(0x312)][_0x2b04fc(0x142)](_0x44fa04,_0x3fee28))throw Error(_0x2b04fc(0x33b));this[_0x2b04fc(0xc9)](_0x588e89,this[_0x2b04fc(0x2da)][_0x2b04fc(0x38e)](_0x588e89[_0x2b04fc(0x1ec)](),_0x44fa04,_0x3fee28,_0xeb46d7));}[_0x5670e0(0x35c)](_0x35ca1d,_0x464512,_0x59ac92,_0x8602d){const _0x23cc9f=_0x5670e0;if(!this['_permissionService']['canManageView'](_0x464512,_0x59ac92))throw Error(_0x23cc9f(0x33b));this[_0x23cc9f(0xc9)](_0x35ca1d,this['_factory'][_0x23cc9f(0x35c)](_0x35ca1d[_0x23cc9f(0x1ec)](),_0x464512,_0x59ac92,_0x8602d));}[_0x5670e0(0x19a)](_0x246200,_0x20d552,_0x22a1a7,_0x4b0cbc){const _0x16d1f8=_0x5670e0;if(!this[_0x16d1f8(0x312)][_0x16d1f8(0x142)](_0x20d552,_0x22a1a7))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x16d1f8(0xc9)](_0x246200,this[_0x16d1f8(0x2da)]['setViewFilter'](_0x246200[_0x16d1f8(0x1ec)](),_0x20d552,_0x22a1a7,_0x4b0cbc));}[_0x5670e0(0x16c)](_0x2b8bbe,_0x5bdb09,_0x3a874a,_0x515d4f){const _0x31ebc9=_0x5670e0;if(!this[_0x31ebc9(0x312)][_0x31ebc9(0x142)](_0x5bdb09,_0x3a874a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x31ebc9(0xc9)](_0x2b8bbe,this[_0x31ebc9(0x2da)][_0x31ebc9(0x16c)](_0x2b8bbe['getSnapshot'](),_0x5bdb09,_0x3a874a,_0x515d4f));}[_0x5670e0(0x1bd)](_0x13397d,_0x166ab1,_0x1ca8e1,_0x4d9895){const _0x33e187=_0x5670e0;if(!this['_permissionService'][_0x33e187(0x142)](_0x166ab1,_0x1ca8e1))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x33e187(0xc9)](_0x13397d,this['_factory'][_0x33e187(0x1bd)](_0x13397d[_0x33e187(0x1ec)](),_0x166ab1,_0x1ca8e1,_0x4d9895));}[_0x5670e0(0x2af)](_0x4080f1,_0x311458,_0x77e53f,_0x1cf573,_0x4d5386){const _0x414eca=_0x5670e0;if(!this[_0x414eca(0x312)][_0x414eca(0x142)](_0x311458,_0x77e53f))throw Error(_0x414eca(0x33b));this[_0x414eca(0xc9)](_0x4080f1,this['_factory']['setViewFieldVisible'](_0x4080f1[_0x414eca(0x1ec)](),_0x311458,_0x77e53f,_0x1cf573,_0x4d5386));}[_0x5670e0(0x1eb)](_0x195f4b,_0x2d5dcc,_0x382bd6,_0x21b787,_0x62771c){const _0x4fee18=_0x5670e0;if(!this['_permissionService'][_0x4fee18(0x142)](_0x2d5dcc,_0x382bd6))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x195f4b,this[_0x4fee18(0x2da)][_0x4fee18(0x1eb)](_0x195f4b['getSnapshot'](),_0x2d5dcc,_0x382bd6,_0x21b787,_0x62771c));}['setViewFieldOrder'](_0x3f01d9,_0x59f8dc,_0x4fb95f,_0x24b870,_0x535d20){const _0x33ec2e=_0x5670e0;if(!this[_0x33ec2e(0x312)][_0x33ec2e(0x142)](_0x59f8dc,_0x4fb95f))throw Error(_0x33ec2e(0x33b));this['_apply'](_0x3f01d9,this[_0x33ec2e(0x2da)]['setViewFieldOrder'](_0x3f01d9[_0x33ec2e(0x1ec)](),_0x59f8dc,_0x4fb95f,_0x24b870,_0x535d20));}['_apply'](_0x432761,_0x482a4c){const _0x160d92=_0x5670e0;let _0x1f847e=_0x432761['getSnapshot']();_0x432761[_0x160d92(0x37f)](this['_applier'][_0x160d92(0x2ee)](_0x1f847e,_0x482a4c));}[_0x5670e0(0x33f)](_0xd024b4,_0x7caaa,_0x5b5e69,_0x2d9e58=this[_0x5670e0(0x18d)](_0xd024b4[_0x5670e0(0x41c)][_0x7caaa])){const _0x33f1b5=_0x5670e0;let _0x253317=_0xd024b4[_0x33f1b5(0x41c)][_0x7caaa],_0x58b273=_0x5b5e69[_0x33f1b5(0x3bd)]??_0x5b5e69['updatedBy']??this[_0x33f1b5(0x104)](),_0x50e6af={..._0x5b5e69,'createdBy':_0x5b5e69['createdBy']??_0x58b273,'updatedBy':_0x5b5e69['updatedBy']??_0x58b273,'values':{..._0x5b5e69[_0x33f1b5(0x1c8)]}};return _0x50e6af[_0x33f1b5(0x1c8)][_0x32decc]=_0x50e6af['id'],_0x253317[_0x33f1b5(0x367)][_0x33f1b5(0x143)](_0x1bef8a=>{const _0x57a911=_0x33f1b5;let _0x3e472e=_0x253317[_0x57a911(0x2cb)][_0x1bef8a];if(_0x3e472e&&_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]===void 0x0)switch(_0x3e472e[_0x57a911(0xeb)]){case _0x4fe15f[_0x57a911(0x10a)]:var _0x169d4f;_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]=((_0x169d4f=_0x2d9e58['get'](_0x1bef8a))==null?void 0x0:_0x169d4f())??this[_0x57a911(0xd0)](_0x253317,_0x1bef8a)();break;case _0x4fe15f[_0x57a911(0x1ee)]:_0x50e6af[_0x57a911(0x3bd)]&&(_0x50e6af['values'][_0x1bef8a]=_0x50e6af['createdBy']);break;case _0x4fe15f[_0x57a911(0x429)]:_0x50e6af[_0x57a911(0x118)]&&(_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]=_0x50e6af[_0x57a911(0x118)]);break;case _0x4fe15f[_0x57a911(0x121)]:_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]=B(_0x50e6af['createdAt']);break;case _0x4fe15f[_0x57a911(0x236)]:_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]=B(_0x50e6af[_0x57a911(0x120)]);break;default:{let _0x1b542d=_0x3e472e[_0x57a911(0x41a)];_0x1b542d!=null&&_0x1b542d!==''&&!(Array['isArray'](_0x1b542d)&&_0x1b542d[_0x57a911(0x19b)]===0x0)&&(_0x50e6af[_0x57a911(0x1c8)][_0x1bef8a]=_0x1b542d);}}}),_0x50e6af;}[_0x5670e0(0x1f9)](_0x1ca89a,_0x1954b8,_0x3312c3,_0x5193b6){const _0x1f960a=_0x5670e0;var _0x435b22,_0x23112e;let _0x59fed9=_0x1ca89a[_0x1f960a(0x41c)][_0x1954b8],_0x2e58b8=((_0x435b22=(_0x23112e=this[_0x1f960a(0xed)])['now'])==null?void 0x0:_0x435b22[_0x1f960a(0x321)](_0x23112e))??Date['now'](),_0x443253=this[_0x1f960a(0x104)](),_0x5410a1={..._0x5193b6};return _0x59fed9[_0x1f960a(0x367)][_0x1f960a(0x143)](_0x509d13=>{const _0x5dd417=_0x1f960a;let _0x2fe9d6=_0x59fed9[_0x5dd417(0x2cb)][_0x509d13];_0x2fe9d6&&(_0x2fe9d6[_0x5dd417(0xeb)]===_0x4fe15f[_0x5dd417(0x236)]&&(_0x5410a1[_0x509d13]=B(_0x2e58b8)),_0x2fe9d6[_0x5dd417(0xeb)]===_0x4fe15f[_0x5dd417(0x429)]&&_0x443253&&(_0x5410a1[_0x509d13]=_0x443253));}),{'recordId':_0x3312c3,'values':_0x5410a1,'recordPatch':{'updatedAt':_0x2e58b8,..._0x443253?{'updatedBy':_0x443253}:{}}};}['_createSystemFieldValuePatches'](_0x326507,_0x570b99,_0x172af7){const _0x3c39d9=_0x5670e0;let _0x35633d=_0x326507[_0x3c39d9(0x41c)][_0x570b99];return!_0x35633d||!Yr(_0x172af7)?[]:_0x172af7[_0x3c39d9(0xeb)]===_0x4fe15f[_0x3c39d9(0x10a)]?this['_createNumberingFieldValuePatches'](_0x35633d,_0x172af7['id']):Object['values'](_0x35633d[_0x3c39d9(0x83)])['flatMap'](_0x1e31b0=>{const _0x46fc35=_0x3c39d9;let _0x41e358=this[_0x46fc35(0x38c)](_0x172af7,_0x1e31b0);return _0x41e358===void 0x0?[]:[{'recordId':_0x1e31b0['id'],'values':{[_0x172af7['id']]:_0x41e358}}];});}[_0x5670e0(0x38c)](_0x1c5d86,_0x3e76f2){const _0xabaa99=_0x5670e0;switch(_0x1c5d86[_0xabaa99(0xeb)]){case _0x4fe15f[_0xabaa99(0x1ee)]:return _0x3e76f2[_0xabaa99(0x3bd)]??this['_getCurrentUserId']();case _0x4fe15f[_0xabaa99(0x429)]:return _0x3e76f2[_0xabaa99(0x118)]??this[_0xabaa99(0x104)]();case _0x4fe15f['CreatedAt']:return B(_0x3e76f2['createdAt']??Date[_0xabaa99(0x2b3)]());case _0x4fe15f['UpdatedAt']:return B(_0x3e76f2[_0xabaa99(0x120)]??Date[_0xabaa99(0x2b3)]());default:return;}}[_0x5670e0(0x18d)](_0x4d3f7f){const _0x2afe9b=_0x5670e0;let _0x1584f3=new Map();return _0x4d3f7f&&_0x4d3f7f[_0x2afe9b(0x367)][_0x2afe9b(0x143)](_0x2e426f=>{const _0x5ae8b3=_0x2afe9b;let _0x33a9b2=_0x4d3f7f[_0x5ae8b3(0x2cb)][_0x2e426f];(_0x33a9b2==null?void 0x0:_0x33a9b2[_0x5ae8b3(0xeb)])===_0x4fe15f[_0x5ae8b3(0x10a)]&&_0x1584f3[_0x5ae8b3(0x2b8)](_0x2e426f,this[_0x5ae8b3(0xd0)](_0x4d3f7f,_0x2e426f));}),_0x1584f3;}[_0x5670e0(0xd0)](_0x101351,_0x570f20){const _0x4ca63b=_0x5670e0;let _0x2d3147=Object['values'](_0x101351[_0x4ca63b(0x83)])[_0x4ca63b(0x303)]((_0x59538a,_0x45cff7)=>{const _0x30fbe9=_0x4ca63b;let _0x5d297c=Number(_0x45cff7[_0x30fbe9(0x1c8)][_0x570f20]);return Number[_0x30fbe9(0x154)](_0x5d297c)?Math[_0x30fbe9(0x272)](_0x59538a,_0x5d297c):_0x59538a;},0x0);return()=>String(++_0x2d3147);}[_0x5670e0(0x209)](_0x5583b7,_0x1ec721){const _0x306308=_0x5670e0;let _0x377676=this['_getOrderedRecords'](_0x5583b7),_0x4854c6=this[_0x306308(0xd0)](_0x5583b7,_0x1ec721);return _0x377676[_0x306308(0x98)](_0x2b0cf3=>this[_0x306308(0x2e0)](_0x2b0cf3[_0x306308(0x1c8)][_0x1ec721])?[]:[{'recordId':_0x2b0cf3['id'],'values':{[_0x1ec721]:_0x4854c6()}}]);}[_0x5670e0(0x9c)](_0x30b8aa){const _0x4cba35=_0x5670e0;var _0x32cf4f;let _0x566fc6=Object['values'](_0x30b8aa[_0x4cba35(0x83)]),_0x516101=new Map(_0x566fc6[_0x4cba35(0x102)](_0x3d7e0e=>[_0x3d7e0e['id'],_0x3d7e0e])),_0xa9e4a8=[],_0x263983=new Set();(_0x32cf4f=_0x30b8aa[_0x4cba35(0x411)])==null||_0x32cf4f[_0x4cba35(0x143)](_0x27da9d=>{const _0x156c9e=_0x4cba35;let _0x5d8325=_0x516101[_0x156c9e(0x2db)](_0x27da9d);_0x5d8325&&(_0xa9e4a8['push'](_0x5d8325),_0x263983[_0x156c9e(0x41d)](_0x27da9d));});let _0x1ec22a=_0x566fc6[_0x4cba35(0x364)](_0xdefc5e=>!_0x263983['has'](_0xdefc5e['id']))[_0x4cba35(0x249)]((_0x9f3a37,_0x2ed418)=>String(_0x9f3a37[_0x4cba35(0x27b)]??_0x9f3a37['id'])[_0x4cba35(0x135)](String(_0x2ed418['orderKey']??_0x2ed418['id']))||_0x9f3a37['id'][_0x4cba35(0x135)](_0x2ed418['id']));return[..._0xa9e4a8,..._0x1ec22a];}['_isNonEmptyCellValue'](_0x2dd89e){return _0x2dd89e!=null&&_0x2dd89e!==''&&!(Array['isArray'](_0x2dd89e)&&_0x2dd89e['length']===0x0);}[_0x5670e0(0x104)](){const _0x4a6f27=_0x5670e0;var _0x496c24,_0x38ea02,_0x2c79a9,_0x43265d;return((_0x496c24=(_0x38ea02=this[_0x4a6f27(0xed)])['getCurrentUserId'])==null?void 0x0:_0x496c24[_0x4a6f27(0x321)](_0x38ea02))??((_0x2c79a9=(_0x43265d=this[_0x4a6f27(0xed)])['getCurrentUser'])==null||(_0x2c79a9=_0x2c79a9[_0x4a6f27(0x321)](_0x43265d))==null?void 0x0:_0x2c79a9[_0x4a6f27(0x164)])??void 0x0;}[_0x5670e0(0x1db)](_0x20b499,_0x306bb8,_0x17c09f,_0x542b,_0x145cf9){const _0x1bf127=_0x5670e0;var _0x8e130f;if(!this[_0x1bf127(0x312)]['canEditCell'](_0x306bb8,_0x17c09f,_0x542b))throw Error(_0x1bf127(0x368));let _0x334253=(_0x8e130f=_0x20b499['tables'][_0x306bb8])==null?void 0x0:_0x8e130f[_0x1bf127(0x2cb)][_0x542b];if(!_0x334253)throw Error(_0x1bf127(0x3fa)+_0x542b+_0x1bf127(0x401));let _0x362800=this[_0x1bf127(0x26b)][_0x1bf127(0x2db)](_0x334253[_0x1bf127(0xeb)]);if(_0x334253['readonly']||_0x334253[_0x1bf127(0x13a)]||!_0x362800[_0x1bf127(0x1ab)](_0x334253)['editable'])throw Error(_0x1bf127(0x2ce));let _0x67d718=_0x362800[_0x1bf127(0x141)](_0x145cf9,_0x334253),_0x25d841=_0x362800[_0x1bf127(0x1be)](_0x67d718,_0x334253);if(!_0x25d841[_0x1bf127(0x246)])throw Error(_0x25d841[_0x1bf127(0x37a)]??_0x1bf127(0x1ed));let _0x850960=_0x334253[_0x1bf127(0xeb)]===_0x4fe15f[_0x1bf127(0x36f)]?Ve(_0x20b499,_0x334253,_0x67d718):{'valid':!0x0};if(!_0x850960['valid'])throw Error(_0x850960[_0x1bf127(0x37a)]??_0x1bf127(0xbf));return _0x67d718;}[_0x5670e0(0x239)](_0x5297d3,_0x122fdd){const _0x32248e=_0x5670e0;if(_0x122fdd['id']===_0x32decc||_0x122fdd['type']===_0x4fe15f['RecordId']||_0x1fb0f2(_0x122fdd[_0x32248e(0x26f)]))throw Error(_0x32248e(0xd4));let _0xce3e34=Be(_0x5297d3,_0x122fdd);if(!_0xce3e34['valid'])throw Error(_0xce3e34[_0x32248e(0x37a)]??'[BaseCommandService]:\x20invalid\x20field\x20definition.');}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x5ef9d7=_0x5670e0;let _0xdff404=new hr();return zn()[_0x5ef9d7(0x143)](_0x12fcfd=>_0xdff404[_0x5ef9d7(0x2fb)](_0x12fcfd)),_0xdff404;}function Yr(_0x1d5822){const _0x323eb9=_0x5670e0;return _0x1d5822[_0x323eb9(0xeb)]===_0x4fe15f[_0x323eb9(0x10a)]||_0x1d5822[_0x323eb9(0xeb)]===_0x4fe15f[_0x323eb9(0x1ee)]||_0x1d5822[_0x323eb9(0xeb)]===_0x4fe15f[_0x323eb9(0x429)]||_0x1d5822['type']===_0x4fe15f[_0x323eb9(0x121)]||_0x1d5822[_0x323eb9(0xeb)]===_0x4fe15f[_0x323eb9(0x236)];}const Xr=new Set([_0x4fe15f['Progress'],_0x4fe15f['Rating'],_0x4fe15f[_0x5670e0(0x1f2)]]);function Zr(_0x367574){const _0x5d5c0f=_0x5670e0;let _0x3b72a7=_0x367574['fields'][_0x367574[_0x5d5c0f(0x2d7)]];if((!_0x3b72a7||_0x3b72a7[_0x5d5c0f(0x13a)]!==!0x0&&_0x3b72a7['id']['toLowerCase']()!=='id'&&_0x3b72a7[_0x5d5c0f(0x26f)][_0x5d5c0f(0x12d)]()[_0x5d5c0f(0x374)]()!=='id')&&_0x3b72a7)return _0x3b72a7['id'];for(let _0x306ae3 of _0x367574[_0x5d5c0f(0x367)]){let _0x56310f=_0x367574['fields'][_0x306ae3];if(_0x56310f&&_0x56310f['id']!==_0x367574[_0x5d5c0f(0x2d7)]&&_0x56310f[_0x5d5c0f(0x13a)]!==!0x0&&_0x56310f['type']!==_0x4fe15f[_0x5d5c0f(0x300)])return _0x56310f['id'];}return _0x367574[_0x5d5c0f(0x2d7)];}function Qr(_0x599194,_0xc08202=[],_0x331159=0x5){const _0x16f91b=_0x5670e0;let _0x4858e8=new Set(_0xc08202['filter'](_0x4a5929=>!!_0x4a5929)),_0x4ef412=[],_0x5eea8c=[];for(let _0xbc2190 of _0x599194[_0x16f91b(0x367)]){let _0x22791e=_0x599194[_0x16f91b(0x2cb)][_0xbc2190];_0x22791e&&_0x22791e[_0x16f91b(0x13a)]!==!0x0&&_0x22791e['type']!==_0x4fe15f['RecordId']&&!_0x4858e8['has'](_0x22791e['id'])&&(Xr[_0x16f91b(0xb9)](_0x22791e[_0x16f91b(0xeb)])?_0x4ef412:_0x5eea8c)['push'](_0x22791e['id']);}return[..._0x4ef412,..._0x5eea8c][_0x16f91b(0xfa)](0x0,_0x331159);}function $r(){const _0x36f9f2=_0x5670e0;return[{'type':_0x528e48['Grid'],'i18nKey':_0x36f9f2(0xc7),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xb62e4d=_0x36f9f2;throw Error(_0xb62e4d(0x36d));}},{'type':_0x528e48[_0x36f9f2(0x340)],'i18nKey':_0x36f9f2(0x38f),'createDefaultConfig':_0x1f2182=>{const _0x479d4a=_0x36f9f2;let _0xdfcb0=ei(_0x1f2182);return{'groupFieldId':_0xdfcb0,'coverFieldId':null,'cardLayout':_0x479d4a(0x377),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x1f2182[_0x479d4a(0x2d7)],'fieldIds':Qr(_0x1f2182,[_0x1f2182[_0x479d4a(0x2d7)],_0xdfcb0])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x441765=_0x36f9f2;throw Error(_0x441765(0x3ca));}},{'type':_0x528e48[_0x36f9f2(0x16e)],'i18nKey':_0x36f9f2(0x22b),'createDefaultConfig':_0x3b83eb=>{const _0x525561=_0x36f9f2;let _0x401b2a=ti(_0x3b83eb);return{'startDateFieldId':_0x401b2a,'endDateFieldId':ni(_0x3b83eb,_0x401b2a),'titleFieldId':_0x3b83eb[_0x525561(0x2d7)],'mode':_0x525561(0xca),'timeslotSize':_0x525561(0x35e),'timeZone':'local','displayColor':{'type':_0x525561(0x363),'color':_0x525561(0x2ab)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x528e48[_0x36f9f2(0xf8)],'i18nKey':_0x36f9f2(0x15b),'createDefaultConfig':_0x431b68=>{const _0x482328=_0x36f9f2;let _0x2d959f=ti(_0x431b68);return{'startDateFieldId':_0x2d959f,'endDateFieldId':ni(_0x431b68,_0x2d959f)??_0x2d959f,'titleFieldId':_0x431b68[_0x482328(0x2d7)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x482328(0x363),'color':_0x482328(0x3ae)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x528e48[_0x36f9f2(0x85)],'i18nKey':_0x36f9f2(0x30e),'createDefaultConfig':_0x82797e=>{const _0x19ad21=_0x36f9f2;let _0xcfb3b=Zr(_0x82797e);return{'coverFieldId':null,'cardLayout':_0x19ad21(0x377),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xcfb3b,'coverFieldId':null,'fieldIds':Qr(_0x82797e,[_0xcfb3b,_0x82797e[_0x19ad21(0x2d7)]])},'cardSize':_0x19ad21(0x35e)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function ei(_0x4a0048){const _0xd4e8d9=_0x5670e0;var _0x3d841a,_0x349ed8,_0x1c0c3a;let _0x59fe00=_0x4a0048['fieldOrder']['map'](_0x20dedf=>_0x4a0048[_0xd4e8d9(0x2cb)][_0x20dedf])['filter'](_0x4df974=>!!_0x4df974);return((_0x3d841a=_0x59fe00['find'](_0x3911f8=>_0x3911f8[_0xd4e8d9(0xeb)]===_0x4fe15f[_0xd4e8d9(0x1dd)]||_0x3911f8[_0xd4e8d9(0xeb)]===_0x4fe15f[_0xd4e8d9(0x8b)]||_0x3911f8[_0xd4e8d9(0xeb)]===_0x4fe15f['Group']))==null?void 0x0:_0x3d841a['id'])??((_0x349ed8=_0x59fe00[_0xd4e8d9(0x361)](_0x1cf8bf=>_0x1cf8bf[_0xd4e8d9(0xeb)]===_0x4fe15f[_0xd4e8d9(0x3fb)]))==null?void 0x0:_0x349ed8['id'])??((_0x1c0c3a=_0x59fe00['find'](_0x27db08=>_0x27db08[_0xd4e8d9(0xeb)]===_0x4fe15f[_0xd4e8d9(0x1cc)]||_0x27db08['type']===_0x4fe15f[_0xd4e8d9(0x121)]||_0x27db08['type']===_0x4fe15f[_0xd4e8d9(0x236)]))==null?void 0x0:_0x1c0c3a['id'])??_0x4a0048[_0xd4e8d9(0x2d7)];}function ti(_0x4497f8){const _0x735c25=_0x5670e0;var _0x2b63f1;return((_0x2b63f1=_0x4497f8[_0x735c25(0x367)][_0x735c25(0x102)](_0x35bcef=>_0x4497f8[_0x735c25(0x2cb)][_0x35bcef])[_0x735c25(0x361)](ri))==null?void 0x0:_0x2b63f1['id'])??'';}function ni(_0x187b5f,_0x426e2a){const _0x1d02a2=_0x5670e0;var _0x2ea19c;return(_0x2ea19c=_0x187b5f[_0x1d02a2(0x367)][_0x1d02a2(0x102)](_0x966e7f=>_0x187b5f['fields'][_0x966e7f])['find'](_0x45cb60=>ri(_0x45cb60)&&_0x45cb60['id']!==_0x426e2a))==null?void 0x0:_0x2ea19c['id'];}function ri(_0x231d51){const _0x2e5c3d=_0x5670e0;return!!_0x231d51&&_0x231d51[_0x2e5c3d(0xeb)]===_0x4fe15f[_0x2e5c3d(0x1cc)]&&_0x231d51[_0x2e5c3d(0x358)]!==!0x0&&_0x231d51[_0x2e5c3d(0x13a)]!==!0x0;}const ii=_0x39c797('base.projection.service'),ai=new Set([_0x4fe15f[_0x5670e0(0x27d)],_0x4fe15f['Currency'],_0x4fe15f['Progress'],_0x4fe15f[_0x5670e0(0x1ae)],_0x4fe15f[_0x5670e0(0x1cc)],_0x4fe15f['CreatedAt'],_0x4fe15f[_0x5670e0(0x236)],_0x4fe15f[_0x5670e0(0x1f2)]]),oi=0x5265c00;let si=class extends _0x29abb3{constructor(_0x124c76){const _0x463b8d=_0x5670e0;super(),this['_fieldRegistry']=_0x124c76,G(this,_0x463b8d(0x17a),new Map()),G(this,_0x463b8d(0x26c),new WeakMap()),G(this,_0x463b8d(0xfd),new Map()),G(this,'_projectedViewRowsCache',new Map()),G(this,_0x463b8d(0x354),new Map()),G(this,_0x463b8d(0x25d),new Map()),G(this,'_globalRevision',0x0),G(this,'_tableRevisions',new Map()),G(this,_0x463b8d(0x1fe),new Map()),G(this,_0x463b8d(0x42d),new Map()),G(this,_0x463b8d(0x1d5),new Map());}[_0x5670e0(0x296)](_0x5beaa4){const _0x17a7b3=_0x5670e0;return this[_0x17a7b3(0x17a)][_0x17a7b3(0x2b8)](_0x5beaa4[_0x17a7b3(0xeb)],_0x5beaa4),_0x1abac0(()=>this[_0x17a7b3(0x17a)][_0x17a7b3(0x15e)](_0x5beaa4['type']));}[_0x5670e0(0x404)](_0x2e7325,_0x42a365,_0x136cd2){const _0x4b82c0=_0x5670e0;var _0x212588,_0x46e452,_0x313ef3;return I(_0x4b82c0(0x416),()=>{const _0x15bdc4=_0x4b82c0;let _0x2f900e=this['_getCachedProjection'](_0x2e7325,_0x42a365,_0x136cd2);if(_0x2f900e)return _0x2f900e;let _0x31d0b6=_0x2e7325[_0x15bdc4(0x41c)][_0x42a365],_0x160f2e=_0x31d0b6==null?void 0x0:_0x31d0b6[_0x15bdc4(0x21f)][_0x136cd2];if(!_0x31d0b6||!_0x160f2e)return this['_setCachedProjection'](_0x2e7325,_0x42a365,_0x136cd2,{'type':_0x15bdc4(0xc8),'viewType':(_0x160f2e==null?void 0x0:_0x160f2e['type'])??_0x528e48['Grid'],'reason':_0x15bdc4(0x111)});let _0x19c65b;switch(_0x160f2e[_0x15bdc4(0xeb)]){case _0x528e48[_0x15bdc4(0x2a8)]:_0x19c65b=this[_0x15bdc4(0x400)](_0x31d0b6,_0x160f2e);break;case _0x528e48[_0x15bdc4(0xf8)]:_0x19c65b=this[_0x15bdc4(0x405)](_0x31d0b6,_0x160f2e);break;case _0x528e48[_0x15bdc4(0x340)]:_0x19c65b=this[_0x15bdc4(0x325)](_0x31d0b6,_0x160f2e);break;case _0x528e48[_0x15bdc4(0x16e)]:_0x19c65b=this['_buildCalendar'](_0x31d0b6,_0x160f2e);break;case _0x528e48[_0x15bdc4(0x85)]:_0x19c65b=this[_0x15bdc4(0x18a)](_0x31d0b6,_0x160f2e);break;default:_0x19c65b={'type':_0x15bdc4(0xc8),'viewType':_0x160f2e[_0x15bdc4(0xeb)],'reason':_0x15bdc4(0x111)};}return this['_setCachedProjection'](_0x2e7325,_0x42a365,_0x136cd2,_0x19c65b);},{'tableId':_0x42a365,'viewId':_0x136cd2,'viewType':(_0x212588=_0x2e7325['tables'][_0x42a365])==null||(_0x212588=_0x212588[_0x4b82c0(0x21f)][_0x136cd2])==null?void 0x0:_0x212588[_0x4b82c0(0xeb)],'records':((_0x46e452=_0x2e7325['tables'][_0x42a365])==null||(_0x46e452=_0x46e452['recordOrder'])==null?void 0x0:_0x46e452[_0x4b82c0(0x19b)])??Object[_0x4b82c0(0x3ac)](((_0x313ef3=_0x2e7325[_0x4b82c0(0x41c)][_0x42a365])==null?void 0x0:_0x313ef3[_0x4b82c0(0x83)])??{})['length']});}[_0x5670e0(0x2f4)](_0x340a03,_0x209e84,_0x55a60e){const _0x3765b7=_0x5670e0;var _0x373e0c,_0x4efef9,_0x39517b;let _0xaf33b6=_0x340a03['tables'][_0x209e84],_0x2c2896=_0xaf33b6==null?void 0x0:_0xaf33b6[_0x3765b7(0x21f)][_0x55a60e];if(!_0xaf33b6||!_0x2c2896)throw Error(_0x3765b7(0x1ff)+_0x55a60e+'\x22.');let _0x37ea7a=_0x293fa4=>!!_0xaf33b6['fields'][_0x293fa4],_0x10311a={..._0x2c2896,'filter':_0x2c2896[_0x3765b7(0x364)]?{..._0x2c2896[_0x3765b7(0x364)],'conditions':_0x2c2896[_0x3765b7(0x364)]['conditions'][_0x3765b7(0x364)](_0x1e5cd7=>_0x37ea7a(_0x1e5cd7[_0x3765b7(0x186)]))}:_0x2c2896[_0x3765b7(0x364)],'sort':(_0x373e0c=_0x2c2896[_0x3765b7(0x249)])==null?void 0x0:_0x373e0c[_0x3765b7(0x364)](_0x5db7b4=>_0x37ea7a(_0x5db7b4['fieldId'])),'group':(_0x4efef9=_0x2c2896[_0x3765b7(0x3dd)])==null?void 0x0:_0x4efef9[_0x3765b7(0x364)](_0x13597f=>_0x37ea7a(_0x13597f['fieldId'])),'fieldOrder':(_0x39517b=_0x2c2896[_0x3765b7(0x367)])==null?void 0x0:_0x39517b[_0x3765b7(0x364)](_0x37ea7a),'fieldSettings':Object[_0x3765b7(0x3a7)](Object[_0x3765b7(0x419)](_0x2c2896['fieldSettings']??{})[_0x3765b7(0x364)](([_0x39e859])=>_0x37ea7a(_0x39e859)))};if(_0x10311a[_0x3765b7(0xeb)]===_0x3765b7(0x2a5)){var _0x3ee1f8;let _0x56758d=_0x10311a[_0x3765b7(0x407)]??{},_0x39cff3=this['_resolveKanbanGroupFieldId'](_0xaf33b6,_0x10311a),_0x20da1e=this[_0x3765b7(0x41f)](_0xaf33b6,(_0x3ee1f8=_0x56758d['card'])==null?void 0x0:_0x3ee1f8[_0x3765b7(0x165)]);_0x10311a[_0x3765b7(0x407)]={..._0x56758d,'groupFieldId':_0x39cff3??_0x56758d[_0x3765b7(0x9f)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0xaf33b6,_0x56758d),'cardLayout':_0x56758d[_0x3765b7(0xa8)]===_0x3765b7(0x34f)?_0x3765b7(0x34f):'normal','showFieldNames':_0x56758d[_0x3765b7(0x22f)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x3765b7(0x419)](_0x56758d[_0x3765b7(0x39e)]??{})['filter'](([_0x2b90d2])=>_0x37ea7a(_0x2b90d2))),'columnSettings':_0x56758d[_0x3765b7(0x285)]??{},'card':{..._0x56758d[_0x3765b7(0x380)]??{},'titleFieldId':_0x20da1e,'fieldIds':this[_0x3765b7(0x417)](_0xaf33b6,_0x10311a,_0x39cff3??'',_0x20da1e)}};}return{'repaired':JSON['stringify'](_0x10311a)!==JSON[_0x3765b7(0x1a0)](_0x2c2896),'view':_0x10311a};}[_0x5670e0(0x97)](){this['_globalRevision']++;}[_0x5670e0(0x2a2)](_0x3abd07,_0x79ddd,_0x231ba2){const _0x36e19d=_0x5670e0;let _0x2adf39=this[_0x36e19d(0x274)](_0x3abd07)+0x1;this[_0x36e19d(0x1fe)][_0x36e19d(0x2b8)](_0x3abd07,_0x2adf39);let _0x11cbff=this['_cellInvalidations']['get'](_0x3abd07)??[];_0x11cbff[_0x36e19d(0x393)]({'revision':_0x2adf39,'recordId':_0x79ddd,'fieldId':_0x231ba2}),this[_0x36e19d(0x42d)][_0x36e19d(0x2b8)](_0x3abd07,_0x11cbff);}[_0x5670e0(0x230)](_0x6fcf33,_0x45c3f3){const _0x1d6c17=_0x5670e0;this[_0x1d6c17(0x10b)](_0x6fcf33);}['invalidateByView'](_0x508972,_0x40f659){const _0x803791=_0x5670e0;this[_0x803791(0x1d5)][_0x803791(0x2b8)](this[_0x803791(0x42a)](_0x508972,_0x40f659),this[_0x803791(0x3e9)](_0x508972,_0x40f659)+0x1);}['_getCachedProjection'](_0x48a733,_0x10a326,_0xaf99f0){const _0x125bd2=_0x5670e0;var _0x745a5e;let _0x147b8e=(_0x745a5e=this[_0x125bd2(0x26c)][_0x125bd2(0x2db)](_0x48a733))==null?void 0x0:_0x745a5e[_0x125bd2(0x2db)](this[_0x125bd2(0x297)](_0x10a326,_0xaf99f0));return _0x147b8e&&_0x147b8e[_0x125bd2(0x344)]===this[_0x125bd2(0x258)]&&_0x147b8e[_0x125bd2(0x3bc)]===this[_0x125bd2(0x2c0)](_0x10a326)&&_0x147b8e['cellRevision']===this[_0x125bd2(0x274)](_0x10a326)&&_0x147b8e[_0x125bd2(0x27e)]===this['_getViewRevision'](_0x10a326,_0xaf99f0)?_0x147b8e[_0x125bd2(0x1e7)]:null;}[_0x5670e0(0x2b2)](_0x57a492,_0x292997,_0x191cc5,_0x496049){const _0x5d430c=_0x5670e0;let _0x377df2=this['_projectionCache'][_0x5d430c(0x2db)](_0x57a492);return _0x377df2||(_0x377df2=new Map(),this['_projectionCache'][_0x5d430c(0x2b8)](_0x57a492,_0x377df2)),_0x377df2[_0x5d430c(0x2b8)](this[_0x5d430c(0x297)](_0x292997,_0x191cc5),{'projection':_0x496049,'globalRevision':this[_0x5d430c(0x258)],'tableRevision':this[_0x5d430c(0x2c0)](_0x292997),'cellRevision':this['_getCellRevision'](_0x292997),'viewRevision':this['_getViewRevision'](_0x292997,_0x191cc5)}),_0x496049;}['_bumpTableRevision'](_0x511361){const _0x20594e=_0x5670e0;this[_0x20594e(0x328)]['set'](_0x511361,this[_0x20594e(0x2c0)](_0x511361)+0x1);}['_getTableRevision'](_0x52992c){const _0x146375=_0x5670e0;return this[_0x146375(0x328)][_0x146375(0x2db)](_0x52992c)??0x0;}[_0x5670e0(0x274)](_0x5a3eb3){const _0x4c33e9=_0x5670e0;return this[_0x4c33e9(0x1fe)][_0x4c33e9(0x2db)](_0x5a3eb3)??0x0;}['_getViewRevision'](_0x59096d,_0x47b8fa){const _0xeba738=_0x5670e0;return this[_0xeba738(0x1d5)]['get'](this[_0xeba738(0x42a)](_0x59096d,_0x47b8fa))??0x0;}['_cacheKey'](_0x42b23a,_0x356d1d){return _0x42b23a+'\x00'+_0x356d1d;}['_viewRowsCacheKey'](_0x273361,_0x5ba345){return _0x273361+'\x00'+this['_rowTransformCacheSegment'](_0x5ba345);}['_groupsCacheKey'](_0x1e5e06,_0xc22a06,_0x3527aa){const _0x579a2f=_0x5670e0;return _0x1e5e06+'\x00'+this[_0x579a2f(0x1e3)](_0xc22a06)+'\x00'+this['_groupConfigCacheSegment'](_0x3527aa);}[_0x5670e0(0x1e3)](_0x33511b){const _0x48ff0=_0x5670e0;return _0x33511b?mi({'filter':di(_0x33511b[_0x48ff0(0x364)]),'sort':pi(_0x33511b[_0x48ff0(0x249)])}):'__all__';}['_groupConfigCacheSegment'](_0x136a10){const _0x4b2ce0=_0x5670e0;return mi(_0x136a10[_0x4b2ce0(0x102)](_0x2a4e31=>({'fieldId':_0x2a4e31[_0x4b2ce0(0x186)],'direction':_0x2a4e31[_0x4b2ce0(0x15d)]??null})));}[_0x5670e0(0x42a)](_0x3e2b39,_0x51fca7){return _0x3e2b39+'\x00'+_0x51fca7;}[_0x5670e0(0x400)](_0xef2eff,_0x1c0bcb){const _0x16de2a=_0x5670e0;var _0x1010c5;let _0x4bacd5=Je(_0xef2eff),_0x2eb159=this[_0x16de2a(0x1a1)](_0xef2eff,_0x1c0bcb),_0x46fa7e=(_0x1010c5=_0x1c0bcb[_0x16de2a(0x364)])!=null&&_0x1010c5[_0x16de2a(0x196)]['length']?this[_0x16de2a(0x1a1)](_0xef2eff,{..._0x1c0bcb,'filter':null}):_0x2eb159,_0xdbb4a8=nt(this[_0x16de2a(0x2e2)](_0xef2eff,_0x4bacd5,_0x1c0bcb['id'],_0x46fa7e[_0x16de2a(0x102)](_0x5be770=>_0x5be770[_0x16de2a(0x191)])),_0x46fa7e,new Set(_0x2eb159['map'](_0x425896=>_0x425896['recordId'])));return{'type':_0x528e48[_0x16de2a(0x2a8)],'fields':this['_projectFields'](_0xef2eff,_0x1c0bcb),'rows':_0xdbb4a8[_0x16de2a(0x3b6)],'groups':this[_0x16de2a(0xce)](_0xef2eff,_0x1c0bcb,_0xdbb4a8[_0x16de2a(0x3b6)],_0xdbb4a8[_0x16de2a(0x130)]),'hierarchy':_0xdbb4a8[_0x16de2a(0x130)],'frozenFieldCount':typeof _0x1c0bcb[_0x16de2a(0x407)][_0x16de2a(0x202)]==_0x16de2a(0x174)?_0x1c0bcb[_0x16de2a(0x407)][_0x16de2a(0x202)]:0x0};}['_getHierarchyIndex'](_0x5be8f8,_0x15cc62,_0x46c581,_0x1f59c4){const _0x1b9d1b=_0x5670e0;let _0x593d33=_0x5be8f8['id']+'\x00'+_0x15cc62+'\x00'+_0x46c581,_0x449624=this[_0x1b9d1b(0x274)](_0x5be8f8['id']),_0x55dad8=this['_hierarchyIndexCache']['get'](_0x593d33);if(_0x55dad8&&_0x55dad8[_0x1b9d1b(0x344)]===this[_0x1b9d1b(0x258)]&&_0x55dad8['tableRevision']===this['_getTableRevision'](_0x5be8f8['id'])&&_0x55dad8[_0x1b9d1b(0x305)][_0x1b9d1b(0x19b)]===_0x1f59c4[_0x1b9d1b(0x19b)]&&_0x55dad8['orderedRecordIds'][_0x1b9d1b(0x3f9)]((_0x42e486,_0xb2e539)=>_0x42e486===_0x1f59c4[_0xb2e539])){if(_0x55dad8[_0x1b9d1b(0x426)]===_0x449624&&_0x55dad8[_0x1b9d1b(0x19f)]===_0x5be8f8)return _0x55dad8['index'];if(!this[_0x1b9d1b(0x216)](_0x5be8f8['id'],_0x55dad8[_0x1b9d1b(0x426)],_0x449624,new Set([_0x15cc62])))return this[_0x1b9d1b(0x25d)][_0x1b9d1b(0x2b8)](_0x593d33,{..._0x55dad8,'table':_0x5be8f8,'cellRevision':_0x449624}),_0x55dad8['index'];}let _0x5c5d6d=tt(_0x5be8f8,_0x15cc62,_0x1f59c4);return this[_0x1b9d1b(0x25d)][_0x1b9d1b(0x2b8)](_0x593d33,{'table':_0x5be8f8,'index':_0x5c5d6d,'orderedRecordIds':_0x1f59c4,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x5be8f8['id']),'cellRevision':_0x449624}),_0x5c5d6d;}[_0x5670e0(0xce)](_0x46694d,_0x3f0ef9,_0x18703f,_0x1a013f){const _0x11cb89=_0x5670e0;var _0x4ca207;if(!((_0x4ca207=_0x3f0ef9[_0x11cb89(0x3dd)])!=null&&_0x4ca207[_0x11cb89(0x19b)]))return[];let _0x427fbe=new Map(_0x18703f[_0x11cb89(0x102)](_0x3cc335=>[_0x3cc335[_0x11cb89(0x191)],_0x3cc335])),_0x5eab72=_0x1a013f[_0x11cb89(0x294)]['flatMap'](_0x49028a=>{let _0x1f75b0=_0x427fbe['get'](_0x49028a);return _0x1f75b0?[_0x1f75b0]:[];}),_0x180e2d=this['_projectGroups'](_0x46694d,_0x3f0ef9,_0x5eab72),_0x3c3a19=new Map(_0x1a013f[_0x11cb89(0x305)][_0x11cb89(0x102)]((_0x13fe8b,_0x64e45)=>[_0x13fe8b,_0x64e45])),_0x4ab89e=_0x4e8022=>{const _0x2be614=_0x11cb89;let _0xbae22b=_0x1a013f[_0x2be614(0x248)][_0x4e8022],_0x451828=_0x3c3a19['get'](_0x4e8022)??-0x1;return _0x451828<0x0||!_0xbae22b?[]:_0x1a013f[_0x2be614(0x305)]['slice'](_0x451828,_0xbae22b['subtreeEndIndex']+0x1);},_0x108f9c=_0x5a3d3e=>{const _0x530634=_0x11cb89;var _0xb8d9d5,_0xff7cbb;return{..._0x5a3d3e,'recordIds':(_0xb8d9d5=_0x5a3d3e[_0x530634(0x1ce)])!=null&&_0xb8d9d5[_0x530634(0x19b)]?_0x5a3d3e[_0x530634(0x42f)]:_0x5a3d3e[_0x530634(0x42f)]['flatMap'](_0x4ab89e),'children':(_0xff7cbb=_0x5a3d3e[_0x530634(0x1ce)])==null?void 0x0:_0xff7cbb[_0x530634(0x102)](_0x108f9c)};};return _0x180e2d[_0x11cb89(0x102)](_0x108f9c);}[_0x5670e0(0x325)](_0x57b1cb,_0x458372){const _0x410238=_0x5670e0;var _0x51653d;let _0x25c7be=this[_0x410238(0x2d8)](_0x57b1cb,_0x458372),_0x1dd134=_0x25c7be?_0x57b1cb[_0x410238(0x2cb)][_0x25c7be]:void 0x0;if(!_0x1dd134)return{'type':'invalid','viewType':_0x528e48[_0x410238(0x340)],'reason':'invalidGroupField','fieldId':_0x458372[_0x410238(0x407)][_0x410238(0x9f)]};let _0x1ca8ec=this[_0x410238(0x1a1)](_0x57b1cb,_0x458372),_0x1f9b14=this[_0x410238(0xfc)](_0x57b1cb,_0x458372),_0x4b5d8e=_0x458372[_0x410238(0x407)]??{},_0x266332=this[_0x410238(0x41f)](_0x57b1cb,(_0x51653d=_0x4b5d8e[_0x410238(0x380)])==null?void 0x0:_0x51653d[_0x410238(0x165)]),_0x3d73f5=this[_0x410238(0x417)](_0x57b1cb,_0x458372,_0x1dd134['id'],_0x266332),_0xd22ec7=new Map();if(F(_0x57b1cb,_0x1dd134['id'])){let _0x65728f=this['_getHierarchyIndex'](_0x57b1cb,_0x1dd134['id'],_0x458372['id'],_0x1ca8ec['map'](_0x410253=>_0x410253[_0x410238(0x191)])),_0x2edac1=new Map();return _0x1ca8ec[_0x410238(0x143)](_0x1e0202=>{const _0x4c33ec=_0x410238;let _0x494712=_0x65728f[_0x4c33ec(0x190)][_0x4c33ec(0x2db)](_0x1e0202[_0x4c33ec(0x191)])??null,_0x7708b=_0x494712??'',_0x333e00=_0x494712?_0x57b1cb['records'][_0x494712]:void 0x0,_0x11e4b0=_0x2edac1[_0x4c33ec(0x2db)](_0x7708b)??{'key':_0x7708b,'title':_0x333e00?String(yt(_0x57b1cb,_0x333e00['id'],_0x57b1cb[_0x4c33ec(0x2d7)])??_0x494712):this[_0x4c33ec(0x197)](_0x1dd134,_0x7708b,_0x4b5d8e),'recordIds':[]};_0x11e4b0[_0x4c33ec(0x42f)][_0x4c33ec(0x393)](_0x1e0202[_0x4c33ec(0x191)]),_0x2edac1['set'](_0x7708b,_0x11e4b0);}),{'type':_0x528e48[_0x410238(0x340)],'fields':_0x1f9b14,'rows':_0x1ca8ec,'groups':[],'groupFieldId':_0x1dd134['id'],'titleFieldId':_0x266332,'coverFieldId':this[_0x410238(0x3a4)](_0x57b1cb,_0x4b5d8e),'cardLayout':_0x4b5d8e[_0x410238(0xa8)]===_0x410238(0x34f)?_0x410238(0x34f):_0x410238(0x377),'showFieldNames':_0x4b5d8e[_0x410238(0x22f)]!==!0x1,'visibleCardFieldIds':_0x3d73f5,'lanes':['',..._0x65728f[_0x410238(0x305)]][_0x410238(0x98)](_0x229ba4=>{const _0x275f88=_0x410238;let _0x6e7921=_0x2edac1[_0x275f88(0x2db)](_0x229ba4);return _0x6e7921!=null&&_0x6e7921[_0x275f88(0x42f)]['length']?[_0x6e7921]:[];})};}return this[_0x410238(0x3ec)](_0x1dd134,_0x4b5d8e)[_0x410238(0x143)](_0x38147a=>_0xd22ec7[_0x410238(0x2b8)](_0x38147a['key'],{..._0x38147a,'recordIds':[]})),_0x1ca8ec[_0x410238(0x143)](_0x3747e0=>{const _0xd95cb2=_0x410238;this['_kanbanGroupKeys'](_0x1dd134,_0x3747e0[_0xd95cb2(0x1c8)][_0x1dd134['id']])[_0xd95cb2(0x143)](_0x3b7df2=>{const _0x3509c1=_0xd95cb2;let _0x48efda=_0xd22ec7[_0x3509c1(0x2db)](_0x3b7df2)??{'key':_0x3b7df2,'title':this['_kanbanLaneTitle'](_0x1dd134,_0x3b7df2,_0x4b5d8e),'color':this[_0x3509c1(0x1c7)](_0x1dd134,_0x3b7df2,_0x4b5d8e),'recordIds':[]};_0x48efda[_0x3509c1(0x42f)][_0x3509c1(0x393)](_0x3747e0[_0x3509c1(0x191)]),_0xd22ec7[_0x3509c1(0x2b8)](_0x3b7df2,_0x48efda);});}),{'type':_0x528e48[_0x410238(0x340)],'fields':_0x1f9b14,'rows':_0x1ca8ec,'groups':this[_0x410238(0x33d)](_0x57b1cb,_0x458372,_0x1ca8ec),'groupFieldId':_0x1dd134['id'],'titleFieldId':_0x266332,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x57b1cb,_0x4b5d8e),'cardLayout':_0x4b5d8e['cardLayout']==='compose'?_0x410238(0x34f):'normal','showFieldNames':_0x4b5d8e['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x3d73f5,'lanes':Array['from'](_0xd22ec7[_0x410238(0x1c8)]())};}[_0x5670e0(0x2d8)](_0x3c466a,_0x5c3496){const _0x44c71f=_0x5670e0;var _0x2e5ede;let _0x1cfc12=(_0x2e5ede=_0x5c3496[_0x44c71f(0x407)])==null?void 0x0:_0x2e5ede['groupFieldId'];return _0x1cfc12&&this[_0x44c71f(0xc3)](_0x3c466a,_0x1cfc12)?_0x1cfc12:this[_0x44c71f(0x2a4)](_0x3c466a,_0x161a27=>this['_isAllowedKanbanGroupField'](_0x161a27));}['_findKanbanGroupField'](_0x40cc99,_0x36a067){const _0x334e31=_0x5670e0;for(let _0xac710d of _0x40cc99[_0x334e31(0x367)]){let _0x383c3a=_0x40cc99[_0x334e31(0x2cb)][_0xac710d];if(_0x383c3a&&_0x36a067(_0x383c3a))return _0x383c3a['id'];}return null;}[_0x5670e0(0xc3)](_0x22cb5d,_0x23ff3d){const _0x26ce90=_0x5670e0;let _0x56938a=_0x22cb5d['fields'][_0x23ff3d];return this[_0x26ce90(0x14d)](_0x56938a)||F(_0x22cb5d,_0x23ff3d);}[_0x5670e0(0x14d)](_0x3c7078){const _0x31b3f3=_0x5670e0;return!!_0x3c7078&&(_0x3c7078[_0x31b3f3(0xeb)]===_0x4fe15f['SingleSelect']||_0x3c7078['type']===_0x4fe15f[_0x31b3f3(0x8b)]||_0x3c7078['type']===_0x4fe15f['Rating']||_0x3c7078[_0x31b3f3(0xeb)]===_0x4fe15f['Person']||_0x3c7078[_0x31b3f3(0xeb)]===_0x4fe15f['Group']||_0x3c7078[_0x31b3f3(0xeb)]===_0x4fe15f[_0x31b3f3(0x1f2)]);}['_isColorfulKanbanGroupField'](_0x4d56a4){const _0x3df56a=_0x5670e0;return _0x4d56a4[_0x3df56a(0xeb)]===_0x4fe15f['SingleSelect']||_0x4d56a4['type']===_0x4fe15f[_0x3df56a(0x8b)];}[_0x5670e0(0x3a4)](_0x316fbb,_0x4c74b7){const _0x399f76=_0x5670e0;var _0x48e7e3;let _0x1bbdaa=_0x4c74b7[_0x399f76(0x199)]??((_0x48e7e3=_0x4c74b7[_0x399f76(0x380)])==null?void 0x0:_0x48e7e3['coverFieldId'])??null;if(!_0x1bbdaa)return null;let _0x5cefd4=_0x316fbb[_0x399f76(0x2cb)][_0x1bbdaa];return _0x5cefd4&&this[_0x399f76(0x3a0)](_0x5cefd4)[_0x399f76(0x19e)]?_0x5cefd4['id']:null;}[_0x5670e0(0x417)](_0x2a0690,_0x49e516,_0x125ca5,_0x5cc721=this['_resolveCardTitleFieldId'](_0x2a0690,((()=>{const _0x2dd706=_0x5670e0;var _0x297c05;return(_0x297c05=_0x49e516[_0x2dd706(0x407)])==null||(_0x297c05=_0x297c05['card'])==null?void 0x0:_0x297c05['titleFieldId'];})()))){const _0x107cc0=_0x5670e0;var _0x56f300;let _0x3ad8b9=_0x49e516[_0x107cc0(0x407)]??{},_0x48efb6=(_0x56f300=_0x3ad8b9['card'])!=null&&(_0x56f300=_0x56f300['fieldIds'])!=null&&_0x56f300['length']?_0x3ad8b9[_0x107cc0(0x380)][_0x107cc0(0x1f6)]:Qr(_0x2a0690,[_0x5cc721,_0x2a0690[_0x107cc0(0x2d7)],_0x125ca5]),_0x113950=_0x3ad8b9[_0x107cc0(0x39e)]??{};return _0x48efb6[_0x107cc0(0x364)](_0x4bee9c=>{const _0x5e8769=_0x107cc0;var _0x347207,_0x27eb24;let _0x1e1035=_0x2a0690[_0x5e8769(0x2cb)][_0x4bee9c];return!(!_0x1e1035||_0x1e1035['system']===!0x0||_0x1e1035[_0x5e8769(0xeb)]===_0x4fe15f[_0x5e8769(0x300)]||_0x1e1035['id']===_0x125ca5||_0x1e1035['id']===_0x5cc721||(_0x347207=_0x49e516[_0x5e8769(0x39e)])!=null&&(_0x347207=_0x347207[_0x4bee9c])!=null&&_0x347207[_0x5e8769(0x21d)]||(_0x27eb24=_0x113950[_0x4bee9c])!=null&&_0x27eb24['hidden']);})['sort']((_0x234a0b,_0x1f34a3)=>{const _0xc96f88=_0x107cc0;var _0x1dfc86,_0x499fd7;return(((_0x1dfc86=_0x113950[_0x234a0b])==null?void 0x0:_0x1dfc86['order'])??_0x48efb6[_0xc96f88(0x2e8)](_0x234a0b))-(((_0x499fd7=_0x113950[_0x1f34a3])==null?void 0x0:_0x499fd7[_0xc96f88(0x311)])??_0x48efb6[_0xc96f88(0x2e8)](_0x1f34a3));});}[_0x5670e0(0x3ec)](_0x5a42bc,_0x5aec71){const _0x277fdc=_0x5670e0;var _0x43d8d9;let _0x1fc435=(Array[_0x277fdc(0x99)]((_0x43d8d9=_0x5a42bc[_0x277fdc(0x407)])==null?void 0x0:_0x43d8d9[_0x277fdc(0x212)])?_0x5a42bc[_0x277fdc(0x407)][_0x277fdc(0x212)]:[])['flatMap']((_0x15cd77,_0x12d7a1)=>{const _0x41e054=_0x277fdc;if(_0x15cd77==null)return[];let _0x11dc6e=typeof _0x15cd77=='string'?{'id':_0x15cd77,'name':_0x15cd77,'color':void 0x0}:_0x15cd77,_0x2ef6f8=String(_0x11dc6e['id']??_0x11dc6e[_0x41e054(0x26f)]??_0x41e054(0xe7)+(_0x12d7a1+0x1));return[{'key':_0x2ef6f8,'title':String(_0x11dc6e[_0x41e054(0x26f)]??_0x11dc6e['id']??_0x2ef6f8),'color':this[_0x41e054(0x1c7)](_0x5a42bc,_0x2ef6f8,_0x5aec71)}];});return Object['entries'](_0x5aec71['columnSettings']??{})[_0x277fdc(0x143)](([_0x58c82d,_0x5f401d])=>{const _0x38cf58=_0x277fdc;_0x1fc435['some'](_0x5c4197=>_0x5c4197['key']===_0x58c82d)||_0x1fc435[_0x38cf58(0x393)]({'key':_0x58c82d,'title':this[_0x38cf58(0x221)](_0x5a42bc)?_0x5f401d[_0x38cf58(0x2e4)]??this[_0x38cf58(0x197)](_0x5a42bc,_0x58c82d,_0x5aec71):this['_kanbanLaneTitle'](_0x5a42bc,_0x58c82d,_0x5aec71),'color':this[_0x38cf58(0x1c7)](_0x5a42bc,_0x58c82d,_0x5aec71)});}),_0x1fc435;}[_0x5670e0(0x1aa)](_0x19a023,_0x27d58e){const _0x513605=_0x5670e0;let _0x5c07ac=_0x4f002c=>{const _0x45922c=_0x4f53;var _0x1221a2;let _0x764629=_0x4f002c==null?'':String(_0x4f002c);return!_0x764629||!this[_0x45922c(0x221)](_0x19a023)?_0x764629:((_0x1221a2=Li(_0x19a023,_0x764629))==null?void 0x0:_0x1221a2['id'])??_0x764629;};if(Array[_0x513605(0x99)](_0x27d58e)){let _0x211c70=_0x27d58e[_0x513605(0x102)](_0x5c07ac)['filter'](_0x393929=>_0x393929!=='');return _0x211c70[_0x513605(0x19b)]?_0x211c70:[''];}return[_0x5c07ac(_0x27d58e)];}[_0x5670e0(0x197)](_0x342832,_0x576cad,_0x2786f0){const _0x2f22cf=_0x5670e0;if(!_0x576cad)return _0x2f22cf(0xbb);let _0x20879f=Li(_0x342832,_0x576cad);return(_0x20879f==null?void 0x0:_0x20879f[_0x2f22cf(0x26f)])??_0x576cad;}['_kanbanLaneColor'](_0x3b36ac,_0x2b375c,_0x2922b6){const _0x334f55=_0x5670e0;var _0x1698e5;if(this[_0x334f55(0x221)](_0x3b36ac))return(_0x1698e5=Li(_0x3b36ac,_0x2b375c))==null?void 0x0:_0x1698e5['color'];}['_buildCalendar'](_0x434651,_0x1ab7d7){const _0xbe4924=_0x5670e0;let _0x224f93=this[_0xbe4924(0x244)](_0x434651,_0x1ab7d7['config']??{}),_0x4486b5=_0x434651[_0xbe4924(0x2cb)][_0x224f93[_0xbe4924(0x31e)]];if(!_0x4486b5||_0x4486b5[_0xbe4924(0xeb)]!==_0x4fe15f[_0xbe4924(0x1cc)]||_0x4486b5[_0xbe4924(0x358)]===!0x0||_0x4486b5[_0xbe4924(0x13a)]===!0x0||!this[_0xbe4924(0x3a0)](_0x4486b5)['usableAsCalendarDate'])return{'type':_0xbe4924(0xc8),'viewType':_0x528e48[_0xbe4924(0x16e)],'reason':'invalidDateField','fieldId':_0x224f93[_0xbe4924(0x31e)]};let _0x30272c=_0x224f93[_0xbe4924(0x11f)]?_0x434651[_0xbe4924(0x2cb)][_0x224f93['endDateFieldId']]:void 0x0,_0x51d6f7=this['_projectRows'](_0x434651,_0x1ab7d7);return{'type':_0x528e48['Calendar'],'config':_0x224f93,'fields':this[_0xbe4924(0xfc)](_0x434651,_0x1ab7d7),'rows':_0x51d6f7,'groups':this[_0xbe4924(0x33d)](_0x434651,_0x1ab7d7,_0x51d6f7),'events':_0x51d6f7[_0xbe4924(0x98)](_0x55bbca=>{const _0x3d3907=_0xbe4924;let _0x3c6748=dn(_0x55bbca[_0x3d3907(0x1c8)][_0x224f93[_0x3d3907(0x31e)]]);if(!Number[_0x3d3907(0x154)](_0x3c6748))return[];let _0x4d39e3=_0x55bbca['values'][_0x224f93[_0x3d3907(0x31e)]],_0xd69a45=_0x224f93[_0x3d3907(0x11f)]==null?void 0x0:_0x55bbca['values'][_0x224f93[_0x3d3907(0x11f)]],_0x451fa3=_0x224f93[_0x3d3907(0x11f)]==null?void 0x0:dn(_0xd69a45),_0x48e0a1=Number[_0x3d3907(0x154)](_0x451fa3)?_0x451fa3:void 0x0;return[{'recordId':_0x55bbca[_0x3d3907(0x191)],'title':this['_title'](_0x434651,_0x55bbca,_0x224f93[_0x3d3907(0x165)]),'start':_0x3c6748,'end':_0x48e0a1,'color':this[_0x3d3907(0x1e4)](_0x434651,_0x55bbca,_0x224f93),'startMs':_0x3c6748,'endMs':_0x48e0a1,'allDay':this['_isAllDayCalendarEvent'](_0x4486b5,_0x30272c,_0x4d39e3,_0xd69a45),'fieldValues':_0x55bbca[_0x3d3907(0x1c8)]}];})};}[_0x5670e0(0x244)](_0x4a7923,_0x1191b2){const _0x5c26d4=_0x5670e0;let _0x21bf34=this[_0x5c26d4(0x1c5)](_0x4a7923,_0x1191b2[_0x5c26d4(0x31e)]),_0x7365f8=_0x1191b2[_0x5c26d4(0x11f)]&&this[_0x5c26d4(0x2f0)](_0x4a7923,_0x1191b2['endDateFieldId'])?_0x1191b2[_0x5c26d4(0x11f)]:this[_0x5c26d4(0x375)](_0x4a7923,_0x21bf34)??void 0x0,_0x198e90=_0x1191b2[_0x5c26d4(0x165)]?_0x4a7923[_0x5c26d4(0x2cb)][_0x1191b2[_0x5c26d4(0x165)]]:void 0x0,_0x36e32f=_0x198e90&&_0x198e90['system']!==!0x0&&_0x198e90['type']!==_0x4fe15f[_0x5c26d4(0x300)]?_0x1191b2[_0x5c26d4(0x165)]:_0x4a7923[_0x5c26d4(0x2d7)],_0x577c0f=_0x1191b2[_0x5c26d4(0xea)]===_0x5c26d4(0x1dc)||_0x1191b2[_0x5c26d4(0xea)]===_0x5c26d4(0x178)?_0x1191b2[_0x5c26d4(0xea)]:_0x5c26d4(0xca),_0x1b1980=_0x1191b2['timeslotSize']===_0x5c26d4(0x205)||_0x1191b2[_0x5c26d4(0x2d3)]==='long'?_0x1191b2[_0x5c26d4(0x2d3)]:_0x5c26d4(0x35e),_0x92ad34=typeof _0x1191b2[_0x5c26d4(0xf9)]==_0x5c26d4(0x2dc)&&_0x1191b2[_0x5c26d4(0xf9)][_0x5c26d4(0x12d)]()?_0x1191b2['timeZone']:_0x5c26d4(0x31b),_0x25abf7=this[_0x5c26d4(0x3df)](_0x4a7923,_0x1191b2);return{..._0x1191b2,'startDateFieldId':_0x21bf34,'endDateFieldId':_0x7365f8,'titleFieldId':_0x36e32f,'mode':_0x577c0f,'timeslotSize':_0x1b1980,'timeZone':_0x92ad34,'displayColor':_0x25abf7,'fieldSettings':Object[_0x5c26d4(0x3a7)](Object[_0x5c26d4(0x419)](_0x1191b2[_0x5c26d4(0x39e)]??{})[_0x5c26d4(0x364)](([_0x273553])=>{const _0x3765de=_0x5c26d4;let _0x275356=_0x4a7923[_0x3765de(0x2cb)][_0x273553];return!!(_0x275356&&_0x275356[_0x3765de(0x13a)]!==!0x0&&_0x275356[_0x3765de(0xeb)]!==_0x4fe15f[_0x3765de(0x300)]);}))};}[_0x5670e0(0x1c5)](_0x450667,_0x1242d0){const _0x264677=_0x5670e0;return _0x1242d0&&this[_0x264677(0x2f0)](_0x450667,_0x1242d0)?_0x1242d0:this[_0x264677(0x375)](_0x450667)??_0x1242d0??'';}['_findCalendarDateFieldId'](_0x2220ee,_0x59b375){const _0x4a0f26=_0x5670e0;for(let _0x764766 of _0x2220ee[_0x4a0f26(0x367)])if(_0x764766!==_0x59b375&&this[_0x4a0f26(0x2f0)](_0x2220ee,_0x764766))return _0x764766;return null;}['_isCalendarDateField'](_0x3e1245,_0x436311){const _0x29400d=_0x5670e0;let _0x1755c5=_0x3e1245['fields'][_0x436311];return!!_0x1755c5&&_0x1755c5[_0x29400d(0xeb)]===_0x4fe15f[_0x29400d(0x1cc)]&&_0x1755c5[_0x29400d(0x358)]!==!0x0&&_0x1755c5[_0x29400d(0x13a)]!==!0x0&&this[_0x29400d(0x3a0)](_0x1755c5)[_0x29400d(0x31d)];}[_0x5670e0(0x3df)](_0x8f2c82,_0x217b1d){const _0x52412d=_0x5670e0;let _0x2e554d=_0x217b1d['displayColor'];if((_0x2e554d==null?void 0x0:_0x2e554d[_0x52412d(0xeb)])===_0x52412d(0x109)){let _0x46c5e9=_0x8f2c82['fields'][_0x2e554d[_0x52412d(0x186)]];if(_0x46c5e9&&_0x46c5e9[_0x52412d(0xeb)]===_0x4fe15f[_0x52412d(0x1dd)])return _0x2e554d;}if((_0x2e554d==null?void 0x0:_0x2e554d[_0x52412d(0xeb)])===_0x52412d(0x363)&&typeof _0x2e554d[_0x52412d(0x335)]==_0x52412d(0x2dc)&&_0x2e554d[_0x52412d(0x335)][_0x52412d(0x12d)]())return{'type':'custom','color':_0x2e554d[_0x52412d(0x335)]};if(_0x217b1d[_0x52412d(0x89)]){let _0x142cca=_0x8f2c82['fields'][_0x217b1d['colorFieldId']];if(_0x142cca&&_0x142cca[_0x52412d(0xeb)]===_0x4fe15f[_0x52412d(0x1dd)])return{'type':_0x52412d(0x109),'fieldId':_0x217b1d[_0x52412d(0x89)]};}return{'type':_0x52412d(0x363),'color':_0x52412d(0x2ab)};}[_0x5670e0(0x1e4)](_0xf73e90,_0x5eecc7,_0x217e80){const _0x5c68f9=_0x5670e0;let _0x219781=_0x217e80[_0x5c68f9(0x1e6)];if((_0x219781==null?void 0x0:_0x219781['type'])===_0x5c68f9(0x109)){var _0x1aea0a;let _0x145c3f=_0xf73e90[_0x5c68f9(0x2cb)][_0x219781['fieldId']];if(!_0x145c3f)return;let _0x1ff1a2=_0x5eecc7[_0x5c68f9(0x1c8)][_0x219781['fieldId']],_0x4bf823=Array[_0x5c68f9(0x99)](_0x1ff1a2)?_0x1ff1a2[0x0]:_0x1ff1a2;return _0x4bf823==null||(_0x1aea0a=Li(_0x145c3f,String(_0x4bf823)))==null?void 0x0:_0x1aea0a['color'];}if((_0x219781==null?void 0x0:_0x219781[_0x5c68f9(0xeb)])===_0x5c68f9(0x363))return _0x219781[_0x5c68f9(0x335)];}['_isAllDayCalendarEvent'](_0x5e8e09,_0x4a5ed4,_0x89c510,_0x6d9873){const _0x4415a3=_0x5670e0;var _0xb0df17,_0x2d0d47;let _0x4e8b87=((_0xb0df17=_0x5e8e09[_0x4415a3(0x407)])==null?void 0x0:_0xb0df17[_0x4415a3(0x30b)])===!0x0,_0x1dc983=(_0x4a5ed4==null||(_0x2d0d47=_0x4a5ed4[_0x4415a3(0x407)])==null?void 0x0:_0x2d0d47['includeTime'])===!0x0;return!_0x4e8b87&&!_0x1dc983;}['_isAllDayGanttDateRange'](_0x52a676,_0x34b650){const _0x1c7e9e=_0x5670e0;var _0x9f28f1,_0x111848;let _0x4d73e0=((_0x9f28f1=_0x52a676[_0x1c7e9e(0x407)])==null?void 0x0:_0x9f28f1[_0x1c7e9e(0x30b)])===!0x0,_0xf68160=((_0x111848=_0x34b650[_0x1c7e9e(0x407)])==null?void 0x0:_0x111848[_0x1c7e9e(0x30b)])===!0x0;return!_0x4d73e0&&!_0xf68160;}[_0x5670e0(0x405)](_0x3b329c,_0x3ee958){const _0x4d6d08=_0x5670e0;let _0x5668a2=this['_normalizeGanttConfig'](_0x3b329c,_0x3ee958[_0x4d6d08(0x407)]),_0x3d94f3=_0x3b329c[_0x4d6d08(0x2cb)][_0x5668a2[_0x4d6d08(0x31e)]];if(!_0x3d94f3||_0x3d94f3[_0x4d6d08(0xeb)]!==_0x4fe15f[_0x4d6d08(0x1cc)]||_0x3d94f3[_0x4d6d08(0x358)]===!0x0||_0x3d94f3['system']===!0x0||!this['_capabilities'](_0x3d94f3)[_0x4d6d08(0x398)])return{'type':_0x4d6d08(0xc8),'viewType':_0x528e48[_0x4d6d08(0xf8)],'reason':'invalidGanttStartField','fieldId':_0x5668a2[_0x4d6d08(0x31e)]};let _0x4e18c8=_0x3b329c['fields'][_0x5668a2[_0x4d6d08(0x11f)]];if(!_0x4e18c8||_0x4e18c8[_0x4d6d08(0xeb)]!==_0x4fe15f[_0x4d6d08(0x1cc)]||_0x4e18c8[_0x4d6d08(0x358)]===!0x0||_0x4e18c8[_0x4d6d08(0x13a)]===!0x0||!this[_0x4d6d08(0x3a0)](_0x4e18c8)[_0x4d6d08(0x2bf)])return{'type':_0x4d6d08(0xc8),'viewType':_0x528e48[_0x4d6d08(0xf8)],'reason':_0x4d6d08(0x31a),'fieldId':_0x5668a2['endDateFieldId']};let _0x355f8a=this[_0x4d6d08(0x1df)](_0x3d94f3,_0x4e18c8),_0xecfd60=this[_0x4d6d08(0x1a1)](_0x3b329c,_0x3ee958),_0x448480=_0xecfd60['flatMap'](_0x3eff24=>{const _0x46b8c6=_0x4d6d08;let _0x47340f=dn(_0x3eff24[_0x46b8c6(0x1c8)][_0x5668a2[_0x46b8c6(0x31e)]]),_0x337c1d=dn(_0x3eff24[_0x46b8c6(0x1c8)][_0x5668a2['endDateFieldId']]);if(!Number['isFinite'](_0x47340f)||!Number[_0x46b8c6(0x154)](_0x337c1d))return[];let _0x38a1f0=Math['min'](_0x47340f,_0x337c1d),_0x288091=Math[_0x46b8c6(0x272)](_0x47340f,_0x337c1d),_0x3cc31b=_0x5668a2[_0x46b8c6(0x3cc)]==null?void 0x0:Number(_0x3eff24[_0x46b8c6(0x1c8)][_0x5668a2[_0x46b8c6(0x3cc)]]);return[{'recordId':_0x3eff24[_0x46b8c6(0x191)],'title':this[_0x46b8c6(0x119)](_0x3b329c,_0x3eff24,_0x5668a2[_0x46b8c6(0x165)]),'start':_0x38a1f0,'end':_0x288091,'color':this['_ganttBarColor'](_0x3b329c,_0x3eff24,_0x5668a2),'progress':Number[_0x46b8c6(0x154)](_0x3cc31b)?_0x3cc31b:void 0x0,'workingDayCount':_0x5668a2['workingDaysOnly']?Ti(_0x38a1f0,_0x288091,_0x5668a2[_0x46b8c6(0x11a)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x3eff24[_0x46b8c6(0x1c8)][_0x5668a2[_0x46b8c6(0x3ce)]??''])}];}),_0x17ae55=_0x448480[_0x4d6d08(0x19b)]?Z(Math[_0x4d6d08(0x3a1)](..._0x448480[_0x4d6d08(0x102)](_0x17864f=>_0x17864f[_0x4d6d08(0x1de)]))-0x5a*oi):Z(Date['now']()-0x5a*oi),_0x3649fa=_0x448480[_0x4d6d08(0x19b)]?Z(Math[_0x4d6d08(0x272)](..._0x448480[_0x4d6d08(0x102)](_0x4e5999=>_0x4e5999['end']))+0x5b*oi):Z(Date[_0x4d6d08(0x2b3)]()+0x5b*oi),_0x5ff3ed=_i(_0x5668a2['scale'],_0x17ae55,_0x3649fa,_0x5668a2[_0x4d6d08(0x264)]?_0x5668a2[_0x4d6d08(0x11a)]:void 0x0);return{'type':_0x528e48[_0x4d6d08(0xf8)],'fields':this[_0x4d6d08(0xfc)](_0x3b329c,{..._0x3ee958,'config':_0x5668a2}),'rows':_0xecfd60,'groups':this[_0x4d6d08(0x33d)](_0x3b329c,_0x3ee958,_0xecfd60),'config':_0x5668a2,'dateRangeAllDay':_0x355f8a,'timeline':{'scale':_0x5668a2[_0x4d6d08(0x113)],'start':_0x17ae55,'end':_0x3649fa,'unitWidth':_0x5ff3ed[_0x4d6d08(0x40f)],'majorHeaders':_0x5ff3ed[_0x4d6d08(0x2d4)],'columns':_0x5ff3ed[_0x4d6d08(0x1b4)]},'bars':_0x448480};}[_0x5670e0(0x2c4)](_0x16928d,_0x406f80){const _0x1b21ae=_0x5670e0;let _0x4fae1d=this['_resolveGanttDateFieldId'](_0x16928d,_0x406f80[_0x1b21ae(0x31e)],_0x1b21ae(0x1de)),_0x890818=this['_resolveGanttDateFieldId'](_0x16928d,_0x406f80['endDateFieldId'],_0x1b21ae(0x92))||_0x4fae1d,_0x41fed7=_0x406f80['titleFieldId']?_0x16928d[_0x1b21ae(0x2cb)][_0x406f80[_0x1b21ae(0x165)]]:void 0x0,_0x1f7fcd=_0x41fed7&&_0x41fed7[_0x1b21ae(0x13a)]!==!0x0&&_0x41fed7[_0x1b21ae(0xeb)]!==_0x4fe15f['RecordId']?_0x406f80[_0x1b21ae(0x165)]:_0x16928d[_0x1b21ae(0x2d7)],_0x3a1202=_0x406f80[_0x1b21ae(0x113)]===_0x1b21ae(0x178)||_0x406f80[_0x1b21ae(0x113)]===_0x1b21ae(0x13e)||_0x406f80[_0x1b21ae(0x113)]===_0x1b21ae(0x207)?_0x406f80[_0x1b21ae(0x113)]:_0x1b21ae(0xca),_0x10eb7a=gi(_0x406f80[_0x1b21ae(0x11a)]);return{..._0x406f80,'startDateFieldId':_0x4fae1d,'endDateFieldId':_0x890818,'titleFieldId':_0x1f7fcd,'scale':_0x3a1202,'leftPaneWidth':typeof _0x406f80[_0x1b21ae(0x333)]==_0x1b21ae(0x174)?_0x406f80[_0x1b21ae(0x333)]:void 0x0,'leftPaneCollapsed':_0x406f80[_0x1b21ae(0x256)]===!0x0,'showTodayLine':_0x406f80[_0x1b21ae(0x204)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x16928d,_0x406f80),'fieldSettings':Object['fromEntries'](Object[_0x1b21ae(0x419)](_0x406f80['fieldSettings']??{})[_0x1b21ae(0x364)](([_0x431796])=>{const _0x202c6a=_0x1b21ae;let _0x250696=_0x16928d[_0x202c6a(0x2cb)][_0x431796];return!!(_0x250696&&_0x250696[_0x202c6a(0x13a)]!==!0x0&&_0x250696[_0x202c6a(0xeb)]!==_0x4fe15f['RecordId']);})),'workingDaysOnly':_0x406f80[_0x1b21ae(0x264)]===!0x0,'workingDays':_0x10eb7a};}[_0x5670e0(0x128)](_0x1d5255,_0x4ddd83,_0x5ceee7){const _0x4217d8=_0x5670e0;if(_0x4ddd83&&this[_0x4217d8(0x208)](_0x1d5255,_0x4ddd83,_0x5ceee7)||_0x4ddd83)return _0x4ddd83;for(let _0x4290f4 of _0x1d5255['fieldOrder'])if(this[_0x4217d8(0x208)](_0x1d5255,_0x4290f4,_0x5ceee7))return _0x4290f4;return _0x4ddd83??'';}[_0x5670e0(0x208)](_0x50ca3e,_0x47daef,_0x36e24a){const _0x5b8bf1=_0x5670e0;let _0x32622a=_0x50ca3e[_0x5b8bf1(0x2cb)][_0x47daef];if(!_0x32622a||_0x32622a[_0x5b8bf1(0xeb)]!==_0x4fe15f[_0x5b8bf1(0x1cc)]||_0x32622a[_0x5b8bf1(0x358)]===!0x0||_0x32622a[_0x5b8bf1(0x13a)]===!0x0)return!0x1;let _0x3be158=this[_0x5b8bf1(0x3a0)](_0x32622a);return _0x36e24a==='start'?_0x3be158[_0x5b8bf1(0x398)]:_0x3be158['usableAsGanttEnd'];}[_0x5670e0(0x387)](_0x4e1358,_0xa2ee51){const _0x50666f=_0x5670e0;let _0x379595=_0xa2ee51[_0x50666f(0x1e6)];if((_0x379595==null?void 0x0:_0x379595[_0x50666f(0xeb)])===_0x50666f(0x109)){let _0x36c709=_0x4e1358[_0x50666f(0x2cb)][_0x379595[_0x50666f(0x186)]];if(_0x36c709&&_0x36c709[_0x50666f(0xeb)]===_0x4fe15f[_0x50666f(0x1dd)])return _0x379595;}return(_0x379595==null?void 0x0:_0x379595[_0x50666f(0xeb)])===_0x50666f(0x3b5)&&Array[_0x50666f(0x99)](_0x379595[_0x50666f(0x317)])?{'type':'conditional','rules':_0x379595['rules'][_0x50666f(0x364)](_0x4a270e=>!!_0x4e1358[_0x50666f(0x2cb)][_0x4a270e[_0x50666f(0x186)]])}:(_0x379595==null?void 0x0:_0x379595[_0x50666f(0xeb)])===_0x50666f(0x363)&&typeof _0x379595['color']=='string'&&_0x379595[_0x50666f(0x335)][_0x50666f(0x12d)]()?{'type':_0x50666f(0x363),'color':_0x379595['color']}:{'type':_0x50666f(0x363),'color':'#14b8a6'};}[_0x5670e0(0x2ef)](_0x9152a7,_0x1535d7,_0x40ba60){const _0x1fdde2=_0x5670e0;let _0x4923a5=_0x40ba60[_0x1fdde2(0x1e6)];if((_0x4923a5==null?void 0x0:_0x4923a5[_0x1fdde2(0xeb)])==='conditional'){let _0x16f17c=_0x4923a5[_0x1fdde2(0x317)][_0x1fdde2(0x361)](_0x583c02=>this[_0x1fdde2(0x8a)](_0x9152a7,_0x1535d7,_0x583c02));if(_0x16f17c)return _0x16f17c[_0x1fdde2(0x335)];}if((_0x4923a5==null?void 0x0:_0x4923a5[_0x1fdde2(0xeb)])===_0x1fdde2(0x109)){let _0x400673=_0x9152a7[_0x1fdde2(0x2cb)][_0x4923a5[_0x1fdde2(0x186)]];if(_0x400673){var _0x350258;let _0x1f2901=_0x1535d7[_0x1fdde2(0x1c8)][_0x4923a5[_0x1fdde2(0x186)]],_0x1fd831=Array['isArray'](_0x1f2901)?_0x1f2901[0x0]:_0x1f2901,_0x41ccd3=_0x1fd831==null||(_0x350258=Li(_0x400673,String(_0x1fd831)))==null?void 0x0:_0x350258[_0x1fdde2(0x335)];if(_0x41ccd3)return _0x41ccd3;}}return(_0x4923a5==null?void 0x0:_0x4923a5['type'])===_0x1fdde2(0x363)?_0x4923a5[_0x1fdde2(0x335)]:'#14b8a6';}[_0x5670e0(0x8a)](_0xe7bf8b,_0x1d53f2,_0x2058f4){const _0xd5363f=_0x5670e0;let _0x53c270=_0xe7bf8b[_0xd5363f(0x2cb)][_0x2058f4[_0xd5363f(0x186)]];return _0x53c270?xn(_0x1d53f2[_0xd5363f(0x1c8)][_0x53c270['id']],_0x2058f4[_0xd5363f(0xc2)],_0x2058f4[_0xd5363f(0x2ad)],_0x53c270,{'dateMode':_0x2058f4[_0xd5363f(0xbe)]}):!0x1;}['_buildGallery'](_0x1b3767,_0x16ed50){const _0x5c6a01=_0x5670e0;let _0x15618c=this[_0x5c6a01(0x1a1)](_0x1b3767,_0x16ed50),_0xe6c574=this['_normalizeGalleryConfig'](_0x1b3767,_0x16ed50[_0x5c6a01(0x407)]??{}),_0x14c0ae=this['_projectFields'](_0x1b3767,_0x16ed50);return{'type':_0x528e48[_0x5c6a01(0x85)],'fields':_0x14c0ae,'rows':_0x15618c,'groups':this[_0x5c6a01(0x33d)](_0x1b3767,_0x16ed50,_0x15618c),'titleFieldId':_0xe6c574[_0x5c6a01(0x380)][_0x5c6a01(0x165)],'coverFieldId':_0xe6c574[_0x5c6a01(0x199)],'cardLayout':_0xe6c574[_0x5c6a01(0xa8)]??'normal','showFieldNames':_0xe6c574[_0x5c6a01(0x22f)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x1b3767,_0x16ed50,_0xe6c574),'cardSize':_0xe6c574[_0x5c6a01(0x1cf)]??_0x5c6a01(0x35e),'cards':_0x15618c[_0x5c6a01(0x102)](_0x3bb216=>({'recordId':_0x3bb216[_0x5c6a01(0x191)],'title':this[_0x5c6a01(0x119)](_0x1b3767,_0x3bb216,_0xe6c574['card'][_0x5c6a01(0x165)]),'values':_0x3bb216[_0x5c6a01(0x1c8)]}))};}[_0x5670e0(0x371)](_0x5e1af2,_0x4b0f81){const _0x3ee46f=_0x5670e0;let _0x263e5d=_0x4b0f81[_0x3ee46f(0x380)]??{'fieldIds':[]},_0x118a06=this[_0x3ee46f(0x41f)](_0x5e1af2,_0x263e5d[_0x3ee46f(0x165)]),_0x5d3bc6=this[_0x3ee46f(0x3cd)](_0x5e1af2,_0x4b0f81),_0x163eb7=_0x4b0f81[_0x3ee46f(0x1cf)]===_0x3ee46f(0x292)||_0x4b0f81[_0x3ee46f(0x1cf)]===_0x3ee46f(0x21a)?_0x4b0f81[_0x3ee46f(0x1cf)]:'medium';return{..._0x4b0f81,'coverFieldId':_0x5d3bc6,'cardLayout':_0x4b0f81[_0x3ee46f(0xa8)]===_0x3ee46f(0x34f)?_0x3ee46f(0x34f):_0x3ee46f(0x377),'showFieldNames':_0x4b0f81[_0x3ee46f(0x22f)]!==!0x1,'fieldSettings':Object[_0x3ee46f(0x3a7)](Object[_0x3ee46f(0x419)](_0x4b0f81[_0x3ee46f(0x39e)]??{})[_0x3ee46f(0x364)](([_0x42b4f4])=>{const _0x2cf411=_0x3ee46f;let _0x26bb1a=_0x5e1af2['fields'][_0x42b4f4];return!!(_0x26bb1a&&_0x26bb1a[_0x2cf411(0x13a)]!==!0x0&&_0x26bb1a[_0x2cf411(0xeb)]!==_0x4fe15f['RecordId']);})),'card':{..._0x263e5d,'titleFieldId':_0x118a06,'coverFieldId':_0x5d3bc6,'fieldIds':Array[_0x3ee46f(0x99)](_0x263e5d[_0x3ee46f(0x1f6)])?_0x263e5d['fieldIds']:[]},'cardSize':_0x163eb7};}['_resolveCardTitleFieldId'](_0x2c20c1,_0x188916){const _0x20ce20=_0x5670e0;let _0xd61452=_0x188916?_0x2c20c1[_0x20ce20(0x2cb)][_0x188916]:void 0x0;return _0xd61452&&_0xd61452[_0x20ce20(0x13a)]!==!0x0&&_0xd61452[_0x20ce20(0xeb)]!==_0x4fe15f[_0x20ce20(0x300)]?_0xd61452['id']:Zr(_0x2c20c1);}['_resolveGalleryCoverFieldId'](_0x2bfe17,_0x2e534c){const _0x17e425=_0x5670e0;var _0x194b66;let _0x2df33d=_0x2e534c[_0x17e425(0x199)]??((_0x194b66=_0x2e534c[_0x17e425(0x380)])==null?void 0x0:_0x194b66[_0x17e425(0x199)])??null;if(!_0x2df33d)return null;let _0x11a406=_0x2bfe17[_0x17e425(0x2cb)][_0x2df33d];return _0x11a406&&this['_capabilities'](_0x11a406)['usableAsCardCover']?_0x11a406['id']:null;}['_resolveGalleryCardFieldIds'](_0xc20bd1,_0x37687b,_0x445769){const _0x4340b4=_0x5670e0;var _0x234d13,_0x10c9ab,_0x3301ef;let _0x242363=_0x445769[_0x4340b4(0x39e)]??{},_0x20e449=((_0x234d13=_0x445769['card'])==null?void 0x0:_0x234d13[_0x4340b4(0x165)])??Zr(_0xc20bd1),_0x2481e7=_0x445769[_0x4340b4(0x199)]??((_0x10c9ab=_0x445769[_0x4340b4(0x380)])==null?void 0x0:_0x10c9ab[_0x4340b4(0x199)])??null,_0x45bd05=(_0x3301ef=_0x445769[_0x4340b4(0x380)])!=null&&(_0x3301ef=_0x3301ef[_0x4340b4(0x1f6)])!=null&&_0x3301ef['length']?_0x445769[_0x4340b4(0x380)][_0x4340b4(0x1f6)]:Qr(_0xc20bd1,[_0x20e449,_0x2481e7,_0xc20bd1['primaryFieldId']]);return _0x45bd05[_0x4340b4(0x364)](_0x52a972=>{const _0x3a1a2a=_0x4340b4;var _0x514c38,_0x297b08;let _0x1fc731=_0xc20bd1[_0x3a1a2a(0x2cb)][_0x52a972];return!(!_0x1fc731||_0x1fc731[_0x3a1a2a(0x13a)]===!0x0||_0x1fc731[_0x3a1a2a(0xeb)]===_0x4fe15f[_0x3a1a2a(0x300)]||_0x1fc731['id']===_0x20e449||_0x1fc731['id']===_0x2481e7||(_0x514c38=_0x37687b[_0x3a1a2a(0x39e)])!=null&&(_0x514c38=_0x514c38[_0x52a972])!=null&&_0x514c38[_0x3a1a2a(0x21d)]||(_0x297b08=_0x242363[_0x52a972])!=null&&_0x297b08['hidden']);})[_0x4340b4(0x249)]((_0x29ccfb,_0x18d990)=>{const _0x4ec581=_0x4340b4;var _0x56ba5b,_0x3f0b2d;return(((_0x56ba5b=_0x242363[_0x29ccfb])==null?void 0x0:_0x56ba5b[_0x4ec581(0x311)])??_0x45bd05[_0x4ec581(0x2e8)](_0x29ccfb))-(((_0x3f0b2d=_0x242363[_0x18d990])==null?void 0x0:_0x3f0b2d[_0x4ec581(0x311)])??_0x45bd05[_0x4ec581(0x2e8)](_0x18d990));});}[_0x5670e0(0xfc)](_0x47c3f1,_0x44197a){const _0x1d70dc=_0x5670e0;var _0x6c6bb4;return((_0x6c6bb4=_0x44197a[_0x1d70dc(0x367)])!=null&&_0x6c6bb4[_0x1d70dc(0x19b)]?_0x44197a['fieldOrder']:_0x47c3f1[_0x1d70dc(0x367)])[_0x1d70dc(0x98)](_0x3d97b6=>{const _0x10aa98=_0x1d70dc;var _0x5e589c;let _0x4b6b7e=_0x47c3f1['fields'][_0x3d97b6],_0x270ee7=((_0x5e589c=_0x44197a[_0x10aa98(0x39e)])==null?void 0x0:_0x5e589c[_0x3d97b6])??{};return!_0x4b6b7e||_0x4b6b7e[_0x10aa98(0x13a)]===!0x0||_0x4b6b7e[_0x10aa98(0xeb)]===_0x4fe15f[_0x10aa98(0x300)]||_0x270ee7[_0x10aa98(0x21d)]?[]:[{'id':_0x4b6b7e['id'],'name':_0x4b6b7e['name'],'description':_0x4b6b7e[_0x10aa98(0x29a)],'type':_0x4b6b7e[_0x10aa98(0xeb)],'config':_0x4b6b7e[_0x10aa98(0x407)],'width':_0x270ee7[_0x10aa98(0x2cd)],'setting':_0x270ee7}];});}[_0x5670e0(0x1a1)](_0x2ffb25,_0x5d6944){const _0x26ca6d=_0x5670e0;var _0x34195c;return I(_0x26ca6d(0xfe),()=>{const _0x13c059=_0x26ca6d;var _0x1a4a8a,_0x52e652;let _0x100552=this['_projectTableRows'](_0x2ffb25),_0x179237=this[_0x13c059(0x237)](_0x2ffb25['id'],_0x5d6944),_0x5511f1=this[_0x13c059(0x274)](_0x2ffb25['id']),_0x3e0fbe=this[_0x13c059(0x40c)][_0x13c059(0x2db)](_0x179237);if(_0x3e0fbe&&_0x3e0fbe[_0x13c059(0x344)]===this[_0x13c059(0x258)]&&_0x3e0fbe[_0x13c059(0x3bc)]===this[_0x13c059(0x2c0)](_0x2ffb25['id'])){if(_0x3e0fbe[_0x13c059(0x426)]===_0x5511f1&&_0x3e0fbe[_0x13c059(0x24a)]===_0x100552)return _0x3e0fbe[_0x13c059(0x3b6)];if(_0x3e0fbe[_0x13c059(0x426)]!==_0x5511f1&&!this[_0x13c059(0x216)](_0x2ffb25['id'],_0x3e0fbe['cellRevision'],_0x5511f1,this['_filterSortFieldIds'](_0x5d6944))){let _0x250348=_0x3e0fbe['rows']===_0x3e0fbe['baseRows']?_0x100552:this[_0x13c059(0x1bf)](_0x3e0fbe[_0x13c059(0x3b6)],_0x100552);if(_0x250348)return this[_0x13c059(0x40c)][_0x13c059(0x2b8)](_0x179237,{..._0x3e0fbe,'rows':_0x250348,'baseRows':_0x100552,'cellRevision':_0x5511f1}),_0x250348;}}let _0x58b7fe=I('BaseProjection.filterAndSortRows',()=>this[_0x13c059(0x1ea)](_0x2ffb25,_0x5d6944,this[_0x13c059(0x37c)](_0x2ffb25,_0x5d6944,_0x100552)),{'tableId':_0x2ffb25['id'],'viewId':_0x5d6944==null?void 0x0:_0x5d6944['id'],'viewType':_0x5d6944==null?void 0x0:_0x5d6944[_0x13c059(0xeb)],'rows':_0x100552[_0x13c059(0x19b)],'filters':(_0x5d6944==null||(_0x1a4a8a=_0x5d6944[_0x13c059(0x364)])==null?void 0x0:_0x1a4a8a[_0x13c059(0x196)][_0x13c059(0x19b)])??0x0,'sorts':(_0x5d6944==null||(_0x52e652=_0x5d6944['sort'])==null?void 0x0:_0x52e652[_0x13c059(0x19b)])??0x0});return this[_0x13c059(0x40c)][_0x13c059(0x2b8)](_0x179237,{'table':_0x2ffb25,'rows':_0x58b7fe,'baseRows':_0x100552,'globalRevision':this[_0x13c059(0x258)],'tableRevision':this[_0x13c059(0x2c0)](_0x2ffb25['id']),'cellRevision':_0x5511f1}),_0x58b7fe;},{'tableId':_0x2ffb25['id'],'viewId':_0x5d6944==null?void 0x0:_0x5d6944['id'],'viewType':_0x5d6944==null?void 0x0:_0x5d6944[_0x26ca6d(0xeb)],'records':((_0x34195c=_0x2ffb25[_0x26ca6d(0x411)])==null?void 0x0:_0x34195c[_0x26ca6d(0x19b)])??Object[_0x26ca6d(0x3ac)](_0x2ffb25['records']??{})[_0x26ca6d(0x19b)]});}[_0x5670e0(0x423)](_0xd878ad){const _0x1a2436=_0x5670e0;var _0xc76947;return I('BaseProjection.projectTableRows',()=>{const _0x29c1db=_0x4f53;var _0x10df3b;let _0x207833=this[_0x29c1db(0x274)](_0xd878ad['id']),_0x1596f1=this[_0x29c1db(0xfd)][_0x29c1db(0x2db)](_0xd878ad['id']);if(_0x1596f1&&_0x1596f1['globalRevision']===this[_0x29c1db(0x258)]&&_0x1596f1[_0x29c1db(0x3bc)]===this[_0x29c1db(0x2c0)](_0xd878ad['id'])){if(_0x1596f1[_0x29c1db(0x426)]===_0x207833&&fi(_0x1596f1[_0x29c1db(0x19f)],_0xd878ad))return _0x1596f1['table']=_0xd878ad,_0x1596f1[_0x29c1db(0x3b6)];let _0xe7f345=this[_0x29c1db(0x23d)](_0xd878ad,_0x1596f1,_0x207833);if(_0xe7f345)return _0xe7f345;}ui(_0xd878ad)||L(_0xd878ad);let _0x2368b8=(_0x10df3b=_0xd878ad[_0x29c1db(0x411)])!=null&&_0x10df3b[_0x29c1db(0x19b)]?_0xd878ad[_0x29c1db(0x411)]:hi(_0xd878ad[_0x29c1db(0x83)]),_0x9888d3=I('BaseProjection.materializeTableRows',()=>{const _0x269b94=_0x29c1db;let _0x481d53=[];for(let _0x3e231c of _0x2368b8){let _0xc8a6b=_0xd878ad[_0x269b94(0x83)][_0x3e231c];if(!_0xc8a6b)continue;let _0x3eca38={};for(let _0x3c5550 of _0xd878ad[_0x269b94(0x367)])_0x3eca38[_0x3c5550]=yt(_0xd878ad,_0xc8a6b['id'],_0x3c5550);_0x481d53[_0x269b94(0x393)]({'recordId':_0xc8a6b['id'],'values':_0x3eca38});}return _0x481d53;},{'tableId':_0xd878ad['id'],'records':_0x2368b8[_0x29c1db(0x19b)],'fields':_0xd878ad[_0x29c1db(0x367)]['length']});return this[_0x29c1db(0xfd)][_0x29c1db(0x2b8)](_0xd878ad['id'],{'table':_0xd878ad,'rows':_0x9888d3,'rowIndexById':li(_0x9888d3),'globalRevision':this[_0x29c1db(0x258)],'tableRevision':this[_0x29c1db(0x2c0)](_0xd878ad['id']),'cellRevision':_0x207833}),_0x9888d3;},{'tableId':_0xd878ad['id'],'records':((_0xc76947=_0xd878ad[_0x1a2436(0x411)])==null?void 0x0:_0xc76947['length'])??Object[_0x1a2436(0x3ac)](_0xd878ad[_0x1a2436(0x83)]??{})[_0x1a2436(0x19b)],'fields':_0xd878ad[_0x1a2436(0x367)][_0x1a2436(0x19b)]});}[_0x5670e0(0x23d)](_0x25953d,_0x2bd388,_0x4b3eee){const _0x44fd02=_0x5670e0;let _0xd69e71=(this[_0x44fd02(0x42d)][_0x44fd02(0x2db)](_0x25953d['id'])??[])[_0x44fd02(0x364)](_0x2e7899=>_0x2e7899[_0x44fd02(0xd2)]>_0x2bd388['cellRevision']&&_0x2e7899[_0x44fd02(0xd2)]<=_0x4b3eee);if(!_0xd69e71['length'])return _0x2bd388[_0x44fd02(0x19f)]===_0x25953d?_0x2bd388[_0x44fd02(0x3b6)]:null;let _0x5b021e=_0x2bd388[_0x44fd02(0x3b6)],_0x253531=new Map();for(let _0x5ed67b of _0xd69e71){let _0x314406=_0x253531['get'](_0x5ed67b['recordId']);_0x314406||(_0x314406=new Set(),_0x253531[_0x44fd02(0x2b8)](_0x5ed67b[_0x44fd02(0x191)],_0x314406)),_0x314406[_0x44fd02(0x41d)](_0x5ed67b[_0x44fd02(0x186)]);}for(let [_0x2dd6ca,_0x768e24]of _0x253531){if(!_0x25953d[_0x44fd02(0x83)][_0x2dd6ca])return null;let _0x4df49f=_0x2bd388[_0x44fd02(0x34b)][_0x44fd02(0x2db)](_0x2dd6ca);if(_0x4df49f==null)return null;_0x5b021e===_0x2bd388[_0x44fd02(0x3b6)]&&(_0x5b021e=[..._0x2bd388[_0x44fd02(0x3b6)]]);let _0x1e6189=_0x5b021e[_0x4df49f],_0x42bca9={..._0x1e6189[_0x44fd02(0x1c8)]};_0x768e24[_0x44fd02(0x143)](_0x5c2cc9=>{_0x42bca9[_0x5c2cc9]=yt(_0x25953d,_0x2dd6ca,_0x5c2cc9);}),_0x5b021e[_0x4df49f]={..._0x1e6189,'values':_0x42bca9};}let _0x38aea4={'table':_0x25953d,'rows':_0x5b021e,'rowIndexById':_0x2bd388[_0x44fd02(0x34b)],'globalRevision':this[_0x44fd02(0x258)],'tableRevision':this['_getTableRevision'](_0x25953d['id']),'cellRevision':_0x4b3eee};return this[_0x44fd02(0xfd)]['set'](_0x25953d['id'],_0x38aea4),this[_0x44fd02(0x42d)]['set'](_0x25953d['id'],(this[_0x44fd02(0x42d)]['get'](_0x25953d['id'])??[])[_0x44fd02(0x364)](_0x4e06b9=>_0x4e06b9[_0x44fd02(0xd2)]>Math[_0x44fd02(0x272)](0x0,_0x4b3eee-0x100))),_0x5b021e;}['_patchCachedProjectedRows'](_0x2ab4eb,_0x352c79){const _0x5ae4b2=_0x5670e0;let _0x40ffad=new Map(_0x352c79[_0x5ae4b2(0x102)](_0x362f87=>[_0x362f87[_0x5ae4b2(0x191)],_0x362f87])),_0x24bf32=!0x1,_0x198089=_0x2ab4eb[_0x5ae4b2(0x102)](_0x157398=>{const _0x40ae03=_0x5ae4b2;let _0x1dadd9=_0x40ffad[_0x40ae03(0x2db)](_0x157398[_0x40ae03(0x191)]);return _0x1dadd9?_0x1dadd9===_0x157398?_0x157398:(_0x24bf32=!0x0,_0x1dadd9):_0x157398;});return _0x24bf32?_0x198089:_0x2ab4eb;}[_0x5670e0(0x216)](_0x25f242,_0x35b168,_0x1c56c9,_0x2b92fa){const _0x4a8909=_0x5670e0;return!_0x2b92fa[_0x4a8909(0x268)]||_0x35b168===_0x1c56c9?!0x1:_0x1c56c9-_0x35b168>0x100||(this[_0x4a8909(0x42d)][_0x4a8909(0x2db)](_0x25f242)??[])[_0x4a8909(0x1c1)](_0x374033=>_0x374033['revision']>_0x35b168&&_0x374033[_0x4a8909(0xd2)]<=_0x1c56c9&&_0x2b92fa['has'](_0x374033[_0x4a8909(0x186)]));}[_0x5670e0(0x2bc)](_0xf2228c){const _0x30fd1a=_0x5670e0;var _0x109d97,_0x20c31c;let _0x486004=new Set();return _0xf2228c==null||(_0x109d97=_0xf2228c['filter'])==null||_0x109d97[_0x30fd1a(0x196)][_0x30fd1a(0x143)](_0x5e54c2=>_0x486004[_0x30fd1a(0x41d)](_0x5e54c2[_0x30fd1a(0x186)])),_0xf2228c==null||(_0x20c31c=_0xf2228c[_0x30fd1a(0x249)])==null||_0x20c31c[_0x30fd1a(0x143)](_0x502768=>_0x486004[_0x30fd1a(0x41d)](_0x502768[_0x30fd1a(0x186)])),_0x486004;}[_0x5670e0(0xb4)](_0x39da25){const _0x3a7e9d=_0x5670e0;var _0x1a4be8;let _0x16e469=this[_0x3a7e9d(0x2bc)](_0x39da25);return(_0x1a4be8=_0x39da25['group'])==null||_0x1a4be8[_0x3a7e9d(0x143)](_0xc41248=>_0x16e469[_0x3a7e9d(0x41d)](_0xc41248['fieldId'])),_0x16e469;}[_0x5670e0(0x37c)](_0x209b58,_0x187401,_0x5325b3){const _0x2ce109=_0x5670e0;let _0x110ed8=_0x187401==null?void 0x0:_0x187401[_0x2ce109(0x364)];if(!(_0x110ed8!=null&&_0x110ed8['conditions'][_0x2ce109(0x19b)]))return _0x5325b3;let _0x35771e=_0x110ed8[_0x2ce109(0x196)][_0x2ce109(0x364)](_0x59ee6a=>!Ii(_0x59ee6a));return _0x35771e['length']?_0x5325b3[_0x2ce109(0x364)](_0x330896=>{const _0x4c9cb0=_0x2ce109;if(_0x110ed8['conjunction']===_0x55f09b['OR']){for(let _0x319018 of _0x35771e){let _0x5e91ba=_0x209b58['fields'][_0x319018[_0x4c9cb0(0x186)]];if(!_0x5e91ba||this[_0x4c9cb0(0x26b)]['get'](_0x5e91ba[_0x4c9cb0(0xeb)])[_0x4c9cb0(0x364)](_0x330896['values'][_0x5e91ba['id']],_0x319018[_0x4c9cb0(0xc2)],_0x319018[_0x4c9cb0(0x2ad)],_0x5e91ba))return!0x0;}return!0x1;}for(let _0x3f047f of _0x35771e){let _0x42cc48=_0x209b58[_0x4c9cb0(0x2cb)][_0x3f047f[_0x4c9cb0(0x186)]];if(_0x42cc48&&!this[_0x4c9cb0(0x26b)][_0x4c9cb0(0x2db)](_0x42cc48[_0x4c9cb0(0xeb)])[_0x4c9cb0(0x364)](_0x330896[_0x4c9cb0(0x1c8)][_0x42cc48['id']],_0x3f047f[_0x4c9cb0(0xc2)],_0x3f047f[_0x4c9cb0(0x2ad)],_0x42cc48))return!0x1;}return!0x0;}):_0x5325b3;}[_0x5670e0(0x1ea)](_0x360923,_0x3431f0,_0x100937){const _0x597255=_0x5670e0;let _0x48fccc=(_0x3431f0==null?void 0x0:_0x3431f0[_0x597255(0x249)])??[];if(!_0x48fccc[_0x597255(0x19b)])return _0x100937;let _0x45190e=_0x48fccc['flatMap'](_0x241b18=>{const _0x4c606c=_0x597255;let _0x2137bc=_0x360923[_0x4c606c(0x2cb)][_0x241b18[_0x4c606c(0x186)]];return _0x2137bc?[{..._0x241b18,'field':_0x2137bc}]:[];});return _0x45190e['length']?this[_0x597255(0x87)](_0x45190e)?this[_0x597255(0x338)](_0x45190e,_0x100937):[..._0x100937]['sort']((_0x25ff9b,_0x5ec292)=>{const _0x261add=_0x597255;for(let _0x3a5f95 of _0x45190e){let _0x429eff=_0x3a5f95['field'],_0x5d7750=this[_0x261add(0x26b)]['get'](_0x429eff['type'])[_0x261add(0x15a)](_0x25ff9b[_0x261add(0x1c8)][_0x429eff['id']],_0x5ec292[_0x261add(0x1c8)][_0x429eff['id']],_0x429eff);if(_0x5d7750!==0x0)return _0x3a5f95['direction']===_0x4b3f27[_0x261add(0x3db)]?-_0x5d7750:_0x5d7750;}return 0x0;}):_0x100937;}['_canUseFastSort'](_0x163300){const _0x22f98e=_0x5670e0;return _0x163300[_0x22f98e(0x3f9)](_0x25c3d8=>ai[_0x22f98e(0xb9)](_0x25c3d8[_0x22f98e(0x378)]['type']));}[_0x5670e0(0x338)](_0x11e9fd,_0x3b0b3e){const _0x52587b=_0x5670e0;return _0x3b0b3e['map']((_0x2bbea0,_0x12b009)=>({'row':_0x2bbea0,'index':_0x12b009,'keys':_0x11e9fd[_0x52587b(0x102)](_0x4a4a63=>_0x2bbea0[_0x52587b(0x1c8)][_0x4a4a63[_0x52587b(0x186)]])}))['sort']((_0x11aa74,_0x2227bd)=>{const _0xec0108=_0x52587b;for(let _0x2fb620=0x0;_0x2fb620<_0x11e9fd[_0xec0108(0x19b)];_0x2fb620++){let _0xa3d966=Fi(_0x11aa74['keys'][_0x2fb620],_0x2227bd[_0xec0108(0x3ac)][_0x2fb620]);if(_0xa3d966!==0x0)return _0x11e9fd[_0x2fb620][_0xec0108(0x15d)]===_0x4b3f27[_0xec0108(0x3db)]?-_0xa3d966:_0xa3d966;}return _0x11aa74[_0xec0108(0x95)]-_0x2227bd[_0xec0108(0x95)];})[_0x52587b(0x102)](_0x1ea0c4=>_0x1ea0c4['row']);}[_0x5670e0(0x33d)](_0x1cde85,_0x13fd7f,_0x402a69){const _0x2846fe=_0x5670e0;var _0x40756c;return I(_0x2846fe(0x16a),()=>{const _0x4bb916=_0x2846fe;var _0x1a2f3e;if(!((_0x1a2f3e=_0x13fd7f['group'])!=null&&_0x1a2f3e['length']))return[];let _0x38056e=_0x13fd7f['group'][_0x4bb916(0x364)](_0x21fcf4=>_0x1cde85[_0x4bb916(0x2cb)][_0x21fcf4[_0x4bb916(0x186)]]);if(!_0x38056e[_0x4bb916(0x19b)])return[];let _0x7d32d4=this[_0x4bb916(0x228)](_0x1cde85['id'],_0x13fd7f,_0x38056e),_0x55bd68=this[_0x4bb916(0x274)](_0x1cde85['id']),_0x36f5ef=this['_projectedGroupsCache'][_0x4bb916(0x2db)](_0x7d32d4);if(_0x36f5ef&&_0x36f5ef[_0x4bb916(0x344)]===this['_globalRevision']&&_0x36f5ef[_0x4bb916(0x3bc)]===this[_0x4bb916(0x2c0)](_0x1cde85['id'])){if(_0x36f5ef[_0x4bb916(0x426)]===_0x55bd68&&_0x36f5ef[_0x4bb916(0x3b6)]===_0x402a69)return _0x36f5ef['groups'];if(_0x36f5ef[_0x4bb916(0x426)]!==_0x55bd68&&!this[_0x4bb916(0x216)](_0x1cde85['id'],_0x36f5ef[_0x4bb916(0x426)],_0x55bd68,this[_0x4bb916(0xb4)](_0x13fd7f)))return this['_projectedGroupsCache'][_0x4bb916(0x2b8)](_0x7d32d4,{..._0x36f5ef,'rows':_0x402a69,'cellRevision':_0x55bd68}),_0x36f5ef[_0x4bb916(0x3bf)];}let _0x4143f9=new Map();for(let _0x1e44f6 of _0x402a69){let _0x583c27=_0x4143f9,_0x3b2094='';for(let _0x377d6d=0x0;_0x377d6d<_0x38056e['length'];_0x377d6d++){let _0x3f2744=_0x38056e[_0x377d6d],_0x581675=_0x1e44f6[_0x4bb916(0x1c8)][_0x3f2744[_0x4bb916(0x186)]],_0x36ee23=ci(_0x581675),_0x3eeb15=_0x3f2744[_0x4bb916(0x186)]+'\x00'+_0x36ee23,_0x171408=_0x3b2094+'/'+_0x3f2744[_0x4bb916(0x186)]+':'+_0x36ee23,_0x3cf555=_0x583c27[_0x4bb916(0x2db)](_0x3eeb15);_0x3cf555||(_0x3cf555={'key':_0x36ee23,'value':_0x581675,'path':_0x171408,'label':_0x36ee23||_0x4bb916(0x3aa),'fieldId':_0x3f2744[_0x4bb916(0x186)],'level':_0x377d6d,'recordIds':[],'children':new Map()},_0x583c27[_0x4bb916(0x2b8)](_0x3eeb15,_0x3cf555)),_0x3cf555[_0x4bb916(0x42f)][_0x4bb916(0x393)](_0x1e44f6[_0x4bb916(0x191)]),_0x583c27=_0x3cf555[_0x4bb916(0x1ce)],_0x3b2094=_0x171408;}}let _0x4ee84c=this['_materializeGroups'](_0x38056e,_0x4143f9,0x0);return this[_0x4bb916(0x354)][_0x4bb916(0x2b8)](_0x7d32d4,{'table':_0x1cde85,'rows':_0x402a69,'groups':_0x4ee84c,'globalRevision':this[_0x4bb916(0x258)],'tableRevision':this[_0x4bb916(0x2c0)](_0x1cde85['id']),'cellRevision':_0x55bd68}),_0x4ee84c;},{'tableId':_0x1cde85['id'],'viewId':_0x13fd7f['id'],'viewType':_0x13fd7f[_0x2846fe(0xeb)],'rows':_0x402a69[_0x2846fe(0x19b)],'groupFields':((_0x40756c=_0x13fd7f[_0x2846fe(0x3dd)])==null?void 0x0:_0x40756c['length'])??0x0});}[_0x5670e0(0x33a)](_0x415e19,_0x193197,_0x2f9fad){const _0x322cfd=_0x5670e0;var _0x396c49;let _0x4c3e4d=Array[_0x322cfd(0x162)](_0x193197[_0x322cfd(0x1c8)]()),_0x37d9a6=(_0x396c49=_0x415e19[_0x2f9fad])==null?void 0x0:_0x396c49['direction'];return _0x37d9a6&&_0x4c3e4d[_0x322cfd(0x249)]((_0x52d1dd,_0x4f7afc)=>{const _0x1ea730=_0x322cfd;let _0x506d2a=_0x52d1dd[_0x1ea730(0x1d3)]['localeCompare'](_0x4f7afc[_0x1ea730(0x1d3)]);return _0x37d9a6===_0x4b3f27[_0x1ea730(0x3db)]?-_0x506d2a:_0x506d2a;}),_0x4c3e4d[_0x322cfd(0x102)](_0x183188=>({'key':_0x183188[_0x322cfd(0x1d3)],'value':_0x183188['value'],'path':_0x183188['path'],'label':_0x183188[_0x322cfd(0x2e6)],'fieldId':_0x183188[_0x322cfd(0x186)],'level':_0x183188[_0x322cfd(0x158)],'recordIds':_0x183188[_0x322cfd(0x42f)],'children':this[_0x322cfd(0x33a)](_0x415e19,_0x183188['children'],_0x2f9fad+0x1)}));}[_0x5670e0(0x119)](_0x20afc6,_0x3aac89,_0x175442){const _0x5c71dc=_0x5670e0;let _0x15a532=_0x175442??_0x20afc6[_0x5c71dc(0x2d7)],_0x1760f4=_0x3aac89[_0x5c71dc(0x1c8)][_0x15a532];return _0x1760f4==null?'':String(_0x1760f4);}[_0x5670e0(0x422)](_0x56f9b0){const _0xc4e4b9=_0x5670e0;if(Array[_0xc4e4b9(0x99)](_0x56f9b0))return _0x56f9b0[_0xc4e4b9(0x102)](String);if(typeof _0x56f9b0==_0xc4e4b9(0x2dc)&&_0x56f9b0)return[_0x56f9b0];}['_capabilities'](_0x33a4b4){const _0x494556=_0x5670e0;return this[_0x494556(0x26b)][_0x494556(0x2db)](_0x33a4b4[_0x494556(0xeb)])[_0x494556(0x1ab)](_0x33a4b4);}};si=X([Y(0x0,_0x72259(mr))],si);function ci(_0x2e1294){return _0x2e1294==null?'':String(_0x2e1294);}function li(_0x38484c){const _0xcbe3d6=_0x5670e0;return new Map(_0x38484c['map']((_0x5288ef,_0x39e415)=>[_0x5288ef[_0xcbe3d6(0x191)],_0x39e415]));}function ui(_0x3d8504){const _0x2cfa16=_0x5670e0;return!!(Array['isArray'](_0x3d8504[_0x2cfa16(0x411)])&&_0x3d8504[_0x2cfa16(0x250)]&&_0x3d8504['rowId']&&_0x3d8504['colIndex']&&_0x3d8504[_0x2cfa16(0x18c)]&&_0x3d8504[_0x2cfa16(0x259)]);}function di(_0x5595ea){const _0x2a7074=_0x5670e0;let _0x57c65c=(_0x5595ea==null?void 0x0:_0x5595ea[_0x2a7074(0x196)][_0x2a7074(0x364)](_0x3383f9=>!Ii(_0x3383f9)))??[];return!_0x5595ea||!_0x57c65c[_0x2a7074(0x19b)]?null:{'conjunction':_0x5595ea['conjunction'],'conditions':_0x57c65c[_0x2a7074(0x102)](_0x4b1c6c=>({'fieldId':_0x4b1c6c[_0x2a7074(0x186)],'operator':_0x4b1c6c[_0x2a7074(0xc2)],'operand':_0x4b1c6c[_0x2a7074(0x2ad)]}))};}function fi(_0x55e47f,_0x423b10){const _0x2ed366=_0x5670e0;return _0x55e47f[_0x2ed366(0x83)]===_0x423b10[_0x2ed366(0x83)]&&_0x55e47f[_0x2ed366(0x411)]===_0x423b10[_0x2ed366(0x411)]&&_0x55e47f[_0x2ed366(0x2cb)]===_0x423b10['fields']&&_0x55e47f[_0x2ed366(0x367)]===_0x423b10['fieldOrder']&&_0x55e47f[_0x2ed366(0x259)]===_0x423b10['cellData']&&_0x55e47f['rowIndex']===_0x423b10[_0x2ed366(0x250)]&&_0x55e47f[_0x2ed366(0x2ea)]===_0x423b10[_0x2ed366(0x2ea)]&&_0x55e47f[_0x2ed366(0xb6)]===_0x423b10['colIndex']&&_0x55e47f['colId']===_0x423b10['colId'];}function pi(_0x8c4cf2){const _0x30e102=_0x5670e0;return _0x8c4cf2!=null&&_0x8c4cf2[_0x30e102(0x19b)]?_0x8c4cf2['map'](_0x2ad19a=>({'fieldId':_0x2ad19a[_0x30e102(0x186)],'direction':_0x2ad19a[_0x30e102(0x15d)]})):null;}function mi(_0x59c56f){const _0x3326b4=_0x5670e0;if(typeof _0x59c56f!='object'||!_0x59c56f)return JSON[_0x3326b4(0x1a0)](_0x59c56f)??_0x3326b4(0x1fa);if(Array[_0x3326b4(0x99)](_0x59c56f))return'['+_0x59c56f['map'](mi)[_0x3326b4(0x3d6)](',')+']';let _0x5f2b05=_0x59c56f;return'{'+Object[_0x3326b4(0x3ac)](_0x5f2b05)[_0x3326b4(0x249)]()[_0x3326b4(0x102)](_0x2e9d17=>JSON[_0x3326b4(0x1a0)](_0x2e9d17)+':'+mi(_0x5f2b05[_0x2e9d17]))['join'](',')+'}';}function hi(_0x5e3286){const _0x39076c=_0x5670e0;let _0x7cffd=Object[_0x39076c(0x1c8)](_0x5e3286)['sort']((_0xbae068,_0x30b877)=>_0xbae068[_0x39076c(0x27b)]['localeCompare'](_0x30b877['orderKey'])),_0x28544a=[];for(let _0x4d4959 of _0x7cffd)_0x28544a['push'](_0x4d4959['id']);return _0x28544a;}function gi(_0x5e2a35){const _0x35e6e4=_0x5670e0;return{'weekdays':Array[_0x35e6e4(0x99)](_0x5e2a35==null?void 0x0:_0x5e2a35['weekdays'])&&_0x5e2a35[_0x35e6e4(0x3d9)][_0x35e6e4(0x19b)]?[...new Set(_0x5e2a35[_0x35e6e4(0x3d9)]['filter'](_0x5aeee0=>Number['isInteger'](_0x5aeee0)&&_0x5aeee0>=0x1&&_0x5aeee0<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x35e6e4(0x99)](_0x5e2a35==null?void 0x0:_0x5e2a35['exceptions'])?_0x5e2a35['exceptions']['flatMap'](_0x55f291=>!_0x55f291||!Number[_0x35e6e4(0x154)](_0x55f291[_0x35e6e4(0x3d3)])?[]:[{'id':String(_0x55f291['id']||_0x35e6e4(0xdf)+_0x55f291[_0x35e6e4(0x3d3)]),'date':Z(Number(_0x55f291[_0x35e6e4(0x3d3)])),'name':String(_0x55f291[_0x35e6e4(0x26f)]||_0x35e6e4(0x327)),'type':_0x55f291[_0x35e6e4(0xeb)]===_0x35e6e4(0x2e5)?_0x35e6e4(0x2e5):_0x35e6e4(0x1ac)}]):[]};}function _i(_0x27ad99,_0x5b3277,_0x439d47,_0x411c75){let _0x3d5122=xi(_0x27ad99,_0x5b3277),_0x13f322=Si(_0x27ad99,_0x439d47),_0x4ba601=vi(_0x27ad99,_0x3d5122,_0x13f322,_0x411c75);return{'scale':_0x27ad99,'start':_0x3d5122,'end':_0x13f322,'unitWidth':bi(_0x27ad99),'majorHeaders':yi(_0x27ad99,_0x3d5122,_0x13f322),'columns':_0x4ba601};}function vi(_0x5bc1ea,_0x188f3a,_0x58f3de,_0x1b738e){const _0x3b1a19=_0x5670e0;let _0x576673=[],_0x48ad9d=_0x188f3a;for(;_0x48ad9d<_0x58f3de;){let _0x2a0ada=_0x5bc1ea===_0x3b1a19(0x13e)?ji(_0x48ad9d,0x7):_0x5bc1ea===_0x3b1a19(0x207)?Mi(_0x48ad9d,0x1):ji(_0x48ad9d,0x1);_0x576673['push']({'id':_0x5bc1ea+'-'+_0x48ad9d,'label':Ci(_0x5bc1ea,_0x48ad9d,_0x2a0ada),'majorLabel':wi(_0x5bc1ea,_0x48ad9d),'start':_0x48ad9d,'end':_0x2a0ada,'nonWorking':Ei(_0x48ad9d,_0x2a0ada,_0x1b738e)}),_0x48ad9d=_0x2a0ada;}return _0x576673;}function yi(_0x102531,_0x3af8cb,_0x507d84){const _0x120ca9=_0x5670e0;let _0x1020f3=[],_0x2e03ea=_0x102531===_0x120ca9(0x207)?Ai(_0x3af8cb):ki(_0x3af8cb);for(;_0x2e03ea<_0x507d84;){let _0x26c58e=_0x102531===_0x120ca9(0x207)?Ni(_0x2e03ea,0x1):Mi(_0x2e03ea,0x1);_0x1020f3[_0x120ca9(0x393)]({'id':'major-'+_0x2e03ea,'label':_0x102531===_0x120ca9(0x207)?String(new Date(_0x2e03ea)['getUTCFullYear']()):Pi(_0x2e03ea),'start':_0x2e03ea,'end':_0x26c58e}),_0x2e03ea=_0x26c58e;}return _0x1020f3;}function bi(_0x5c2ba6){const _0x54794e=_0x5670e0;switch(_0x5c2ba6){case _0x54794e(0x178):return 0xac;case _0x54794e(0x13e):return 0xac;case _0x54794e(0x207):return 0x88;default:return 0x56;}}function xi(_0x160920,_0x2060de){const _0x5938aa=_0x5670e0;return _0x160920===_0x5938aa(0x207)?Ai(_0x2060de):_0x160920===_0x5938aa(0x13e)?Oi(_0x2060de):Z(_0x2060de);}function Si(_0x4376a4,_0x9b7569){const _0x3040f6=_0x5670e0;return _0x4376a4==='year'?Ni(Ai(_0x9b7569),0x1):_0x4376a4===_0x3040f6(0x13e)?ji(Oi(_0x9b7569),0x7):ji(Z(_0x9b7569),0x1);}function Ci(_0x320d70,_0x1b3619,_0x185372){const _0x247106=_0x5670e0;let _0x50d70e=new Date(_0x1b3619);return _0x320d70===_0x247106(0x13e)?_0x50d70e[_0x247106(0x415)]()+'-'+new Date(_0x185372-oi)['getUTCDate']():_0x320d70===_0x247106(0x207)?_0x50d70e[_0x247106(0x187)](_0x247106(0x313),{'month':_0x247106(0x205),'timeZone':_0x247106(0x397)}):String(_0x50d70e['getUTCDate']());}function wi(_0x49b607,_0x4e9b6a){const _0x5615f8=_0x5670e0;return _0x49b607==='year'?String(new Date(_0x4e9b6a)[_0x5615f8(0x185)]()):Pi(_0x4e9b6a);}function Ti(_0x3b3eee,_0x2b0739,_0xccac55){let _0x372508=gi(_0xccac55),_0xcfd665=0x0;for(let _0x35d38b=Z(_0x3b3eee);_0x35d38b<=Z(_0x2b0739);_0x35d38b=ji(_0x35d38b,0x1))Di(_0x35d38b,_0x372508)||_0xcfd665++;return _0xcfd665;}function Ei(_0xbce7c1,_0x407093,_0x557319){if(!_0x557319)return!0x1;let _0x23b9fd=gi(_0x557319);for(let _0x44750c=Z(_0xbce7c1);_0x44750c<_0x407093;_0x44750c=ji(_0x44750c,0x1))if(!Di(_0x44750c,_0x23b9fd))return!0x1;return!0x0;}function Di(_0x2d8a98,_0x378f4c){const _0xbc2d08=_0x5670e0;let _0x303be0=Z(_0x2d8a98),_0x4058c5=_0x378f4c[_0xbc2d08(0x424)][_0xbc2d08(0x361)](_0x1b5a00=>Z(_0x1b5a00[_0xbc2d08(0x3d3)])===_0x303be0);if(_0x4058c5)return _0x4058c5[_0xbc2d08(0xeb)]===_0xbc2d08(0x1ac);let _0x9bd309=new Date(_0x303be0)[_0xbc2d08(0x166)](),_0x5972fe=_0x9bd309===0x0?0x7:_0x9bd309;return!_0x378f4c[_0xbc2d08(0x3d9)][_0xbc2d08(0x173)](_0x5972fe);}function Z(_0x31f278){const _0x385410=_0x5670e0;let _0x4d9c9a=new Date(_0x31f278);return Date[_0x385410(0x397)](_0x4d9c9a[_0x385410(0x185)](),_0x4d9c9a['getUTCMonth'](),_0x4d9c9a[_0x385410(0x415)]());}function Oi(_0x32d5f1){const _0x4b8f46=_0x5670e0;let _0x8c3941=Z(_0x32d5f1),_0x5a1038=new Date(_0x8c3941)[_0x4b8f46(0x166)]();return ji(_0x8c3941,-(_0x5a1038===0x0?0x6:_0x5a1038-0x1));}function ki(_0x2a1f09){const _0x2d57c7=_0x5670e0;let _0x218dbb=new Date(_0x2a1f09);return Date[_0x2d57c7(0x397)](_0x218dbb['getUTCFullYear'](),_0x218dbb[_0x2d57c7(0x23c)](),0x1);}function Ai(_0x4e44b0){const _0x10bebc=_0x5670e0;let _0x2a9b6c=new Date(_0x4e44b0);return Date[_0x10bebc(0x397)](_0x2a9b6c[_0x10bebc(0x185)](),0x0,0x1);}function ji(_0x5312c2,_0x21d9a8){return _0x5312c2+_0x21d9a8*oi;}function Mi(_0x10dbb6,_0x490421){const _0x1f49e2=_0x5670e0;let _0x19e2c5=new Date(_0x10dbb6);return Date[_0x1f49e2(0x397)](_0x19e2c5[_0x1f49e2(0x185)](),_0x19e2c5['getUTCMonth']()+_0x490421,0x1);}function Ni(_0x195e2c,_0x3b4d86){const _0xb67109=_0x5670e0;let _0x41c21a=new Date(_0x195e2c);return Date[_0xb67109(0x397)](_0x41c21a[_0xb67109(0x185)]()+_0x3b4d86,0x0,0x1);}function Pi(_0x172d27){const _0x2d9e8b=_0x5670e0;let _0x41b0e1=new Date(_0x172d27);return _0x41b0e1[_0x2d9e8b(0x187)]('en-US',{'month':_0x2d9e8b(0x205),'timeZone':'UTC'})+'\x20'+_0x41b0e1[_0x2d9e8b(0x185)]();}function Fi(_0x2adf52,_0x110e06){const _0xe47b8d=_0x5670e0;if(_0x2adf52==null&&_0x110e06==null)return 0x0;if(_0x2adf52==null)return-0x1;if(_0x110e06==null)return 0x1;if(typeof _0x2adf52==_0xe47b8d(0x168)||typeof _0x110e06=='boolean')return Number(_0x2adf52===!0x0)-Number(_0x110e06===!0x0);let _0x20f185=Number(_0x2adf52),_0x4c73f4=Number(_0x110e06),_0xab6689=Number[_0xe47b8d(0x154)](_0x20f185),_0x5ed3b7=Number[_0xe47b8d(0x154)](_0x4c73f4);return _0xab6689&&_0x5ed3b7?_0x20f185-_0x4c73f4:_0xab6689?0x1:_0x5ed3b7?-0x1:String(_0x2adf52)['localeCompare'](String(_0x110e06));}function Ii(_0x2ad8cf){const _0x540ef2=_0x5670e0;if(_0x2ad8cf['operator']!=='is'&&_0x2ad8cf[_0x540ef2(0xc2)]!==_0x540ef2(0x409))return!0x1;let _0x1df497=_0x2ad8cf[_0x540ef2(0x2ad)];return _0x1df497==null?!0x0:typeof _0x1df497==_0x540ef2(0x2dc)?_0x1df497[_0x540ef2(0x12d)]()==='':Array[_0x540ef2(0x99)](_0x1df497)?_0x1df497[_0x540ef2(0x19b)]===0x0:!0x1;}function Li(_0x4f55ef,_0x532c9c){const _0x80eb8b=_0x5670e0;var _0x1f5855;let _0x36369e=Array[_0x80eb8b(0x99)]((_0x1f5855=_0x4f55ef[_0x80eb8b(0x407)])==null?void 0x0:_0x1f5855['options'])?_0x4f55ef[_0x80eb8b(0x407)]['options']:[];for(let _0xaf38ee of _0x36369e){if(_0xaf38ee==null)continue;if(typeof _0xaf38ee==_0x80eb8b(0x2dc)){if(_0xaf38ee===_0x532c9c)return{'id':_0xaf38ee,'name':_0xaf38ee};continue;}let _0x4295a6=_0xaf38ee,_0x969f08=String(_0x4295a6['id']??_0x4295a6[_0x80eb8b(0x26f)]??''),_0x3bc323=String(_0x4295a6[_0x80eb8b(0x26f)]??_0x4295a6['id']??_0x969f08);if(_0x969f08===_0x532c9c||_0x3bc323===_0x532c9c)return{'id':_0x969f08,'name':_0x3bc323,'color':_0x4295a6[_0x80eb8b(0x335)]==null?void 0x0:String(_0x4295a6[_0x80eb8b(0x335)])};}return null;}let Ri=function(_0x585ea8){const _0x862ba2=_0x5670e0;return _0x585ea8['CreateView']='create-view',_0x585ea8[_0x862ba2(0x101)]=_0x862ba2(0x2bb),_0x585ea8;}({});const Q={'id':_0x5670e0(0x2f8),'type':_0x21089e[_0x5670e0(0x323)],'handler'(_0x5807a5,_0x2ccabc){const _0x2f1b0f=_0x5670e0;let {unitId:_0x5a7da8,op:_0x241393}=_0x2ccabc,_0x11e7cf=_0x5807a5['get'](_0x2853e0)[_0x2f1b0f(0x1b8)](_0x5a7da8,_0x1bf49d[_0x2f1b0f(0x373)]);if(!_0x11e7cf)return!0x1;let _0x1afb99=_0x11e7cf[_0x2f1b0f(0x1ec)](),_0x3ed817=new z(),_0x421bed=_0x3ed817['getAffectedRanges'](_0x241393),_0x10d312=_0x3ed817[_0x2f1b0f(0x2ee)](_0x1afb99,_0x241393);return _0x11e7cf['setSnapshot'](_0x10d312),zi(_0x10d312,_0x421bed,_0x5807a5[_0x2f1b0f(0x2db)](ii)),!0x0;}};function zi(_0x2b5fe7,_0x2b2af6,_0x91a3fe){const _0x2fd64c=_0x5670e0;let _0x4db1ff=new Set(),_0x5ba959=new Set(),_0x3ec11c=new Set();for(let _0x272d5a of _0x2b2af6){if(_0x272d5a[_0x2fd64c(0x37a)]===_0x2fd64c(0x1f5)&&_0x272d5a[_0x2fd64c(0x1a4)]&&_0x272d5a[_0x2fd64c(0xc1)]){let _0x4d8f1a=_0x272d5a[_0x2fd64c(0x1a4)]+'\x00'+_0x272d5a[_0x2fd64c(0xc1)];_0x3ec11c[_0x2fd64c(0xb9)](_0x4d8f1a)||(_0x3ec11c[_0x2fd64c(0x41d)](_0x4d8f1a),_0x91a3fe[_0x2fd64c(0x10c)](_0x272d5a[_0x2fd64c(0x1a4)],_0x272d5a[_0x2fd64c(0xc1)]));continue;}if(_0x272d5a[_0x2fd64c(0x37a)]===_0x2fd64c(0x378)&&_0x272d5a[_0x2fd64c(0x1a4)]&&_0x272d5a['fieldId']){let _0xa651f6=_0x272d5a[_0x2fd64c(0x1a4)]+'\x00'+_0x272d5a[_0x2fd64c(0x186)];_0x5ba959['has'](_0xa651f6)||(_0x5ba959['add'](_0xa651f6),_0x91a3fe[_0x2fd64c(0x230)](_0x272d5a[_0x2fd64c(0x1a4)],_0x272d5a['fieldId']));continue;}if(_0x272d5a[_0x2fd64c(0x37a)]!=='cell'){_0x91a3fe[_0x2fd64c(0x97)]();return;}let _0xbf1fa1=Bi(_0x2b5fe7,_0x272d5a);if(!_0xbf1fa1){_0x91a3fe[_0x2fd64c(0x97)]();return;}let _0x2fe319=_0xbf1fa1[_0x2fd64c(0x1a4)]+'\x00'+_0xbf1fa1[_0x2fd64c(0x191)]+'\x00'+_0xbf1fa1[_0x2fd64c(0x186)];_0x4db1ff[_0x2fd64c(0xb9)](_0x2fe319)||(_0x4db1ff[_0x2fd64c(0x41d)](_0x2fe319),_0x91a3fe[_0x2fd64c(0x2a2)](_0xbf1fa1['tableId'],_0xbf1fa1[_0x2fd64c(0x191)],_0xbf1fa1[_0x2fd64c(0x186)]));}}function Bi(_0x5029c8,_0x561326){const _0x31b3ea=_0x5670e0;var _0x59a03a,_0x111ce4;if(!_0x561326['tableId'])return null;if(_0x561326[_0x31b3ea(0x191)]&&_0x561326[_0x31b3ea(0x186)])return{'tableId':_0x561326[_0x31b3ea(0x1a4)],'recordId':_0x561326[_0x31b3ea(0x191)],'fieldId':_0x561326[_0x31b3ea(0x186)]};if(_0x561326[_0x31b3ea(0x24b)]==null||_0x561326[_0x31b3ea(0x3fc)]==null)return null;let _0x53c343=_0x5029c8[_0x31b3ea(0x41c)][_0x561326[_0x31b3ea(0x1a4)]],_0x34d584=_0x53c343==null||(_0x59a03a=_0x53c343[_0x31b3ea(0x2ea)])==null?void 0x0:_0x59a03a[_0x561326[_0x31b3ea(0x24b)]],_0xbc36fa=_0x53c343==null||(_0x111ce4=_0x53c343[_0x31b3ea(0x18c)])==null?void 0x0:_0x111ce4[_0x561326['column']];return!_0x34d584||!_0xbc36fa?null:{'tableId':_0x561326[_0x31b3ea(0x1a4)],'recordId':_0x34d584,'fieldId':_0xbc36fa};}const Vi=_0x5eb4e5['createRegExpFromSafeFragment'](String[_0x5670e0(0x9b)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x5eb4e5[_0x5670e0(0x279)](String[_0x5670e0(0x9b)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x5eb4e5[_0x5670e0(0x279)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x5eb4e5[_0x5670e0(0x279)](String[_0x5670e0(0x9b)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x5eb4e5[_0x5670e0(0x279)](String[_0x5670e0(0x9b)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x5eb4e5[_0x5670e0(0x279)](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x5eb4e5[_0x5670e0(0x279)](String['raw']`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x5eb4e5[_0x5670e0(0x279)](String[_0x5670e0(0x9b)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x5670e0(0x17c)](_0x1ce32a,_0x31aae7=_0x1ce32a['id']){const _0x3917a7=_0x5670e0;var _0x52b67f;let _0x529519=((_0x52b67f=_0x1ce32a[_0x3917a7(0x411)])==null?void 0x0:_0x52b67f['length'])??Object[_0x3917a7(0x1c8)](_0x1ce32a[_0x3917a7(0x83)])[_0x3917a7(0x19b)];return{'sheetId':_0x31aae7,'titleMap':new Map(_0x1ce32a[_0x3917a7(0x367)][_0x3917a7(0x102)]((_0x408239,_0x5ca4c8)=>{const _0x1eeab0=_0x3917a7;var _0x2ba757;return[((_0x2ba757=_0x1ce32a[_0x1eeab0(0x2cb)][_0x408239])==null?void 0x0:_0x2ba757[_0x1eeab0(0x26f)])??_0x408239,_0x5ca4c8];})),'range':{'startRow':0x0,'endRow':Math[_0x3917a7(0x272)](0x0,_0x529519-0x1),'startColumn':0x0,'endColumn':Math[_0x3917a7(0x272)](0x0,_0x1ce32a['fieldOrder']['length']-0x1)},'showHeader':!0x1};}[_0x5670e0(0x431)](_0x188885,_0x37bde3){const _0x28ea0c=_0x5670e0;let _0x436811=[],_0x499fdc=_0x37bde3?new Set(_0x37bde3):null,_0x57338b=_0x13e931(_0x188885);return Object[_0x28ea0c(0x1c8)](_0x188885[_0x28ea0c(0x41c)])[_0x28ea0c(0x364)](_0x34e376=>!_0x499fdc||_0x499fdc[_0x28ea0c(0xb9)](_0x34e376['id']))[_0x28ea0c(0x143)](_0x14ed58=>{const _0x2e646f=_0x28ea0c;let _0x4a0963=this[_0x2e646f(0x17c)](_0x14ed58,_0x14ed58['id']);_0x436811[_0x2e646f(0x393)]({'tableId':_0x14ed58['id'],'tableName':_0x57338b[_0x2e646f(0x2db)](_0x14ed58['id']),'reference':_0x4a0963});}),_0x436811;}[_0x5670e0(0x90)](_0x526c69,_0x58c6d3,_0x18ea2b={}){const _0x4a16da=_0x5670e0;let _0x5bbd38=_0x526c69['trim']();if(!_0x5bbd38)return{'valid':!0x0};if(na(_0x5bbd38))return{'valid':!0x1,'reason':_0x4a16da(0xd8)};let _0x216cea=_0x18ea2b[_0x4a16da(0x1b2)]?_0x13e931(_0x18ea2b[_0x4a16da(0x1b2)]):void 0x0;for(let _0x1962d6 of ta(_0x5bbd38)){let _0x4f86cf=ua(_0x1962d6,_0x58c6d3,_0x18ea2b[_0x4a16da(0x1b2)],_0x216cea);if(!_0x4f86cf[_0x4a16da(0x19f)])return{'valid':!0x1,'reason':_0x4a16da(0x132)+_0x1962d6['tableName']+_0x4a16da(0x1c9)};if(!_0x4f86cf[_0x4a16da(0x378)])return{'valid':!0x1,'reason':_0x4a16da(0x262)+_0x1962d6[_0x4a16da(0x3b2)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x5670e0(0x1af)](_0x5caafe,_0x5a5700,_0x26baa0={}){const _0x397651=_0x5670e0;let _0x165736=new Set();for(let _0x9f743c of this['getStructuredDependencies'](_0x5caafe,_0x5a5700,_0x26baa0))_0x9f743c['tableId']===_0x5a5700['id']&&_0x165736[_0x397651(0x41d)](_0x9f743c['fieldId']);return Array[_0x397651(0x162)](_0x165736);}[_0x5670e0(0x194)](_0x80403a,_0x11a4a2,_0x1e38f7={}){const _0x20c696=_0x5670e0;let _0x481d22=new Map(),_0x5ba9df=_0x1e38f7[_0x20c696(0x1b2)]?_0x13e931(_0x1e38f7[_0x20c696(0x1b2)]):void 0x0;for(let _0x5c2e52 of ta(_0x80403a)){let _0x514207=ua(_0x5c2e52,_0x11a4a2,_0x1e38f7['snapshot'],_0x5ba9df);if(!_0x514207[_0x20c696(0x19f)]||!_0x514207[_0x20c696(0x378)])continue;let _0x5ab2e0=_0x514207['table']['id']+'\x1f'+_0x514207[_0x20c696(0x378)]['id'];_0x481d22['set'](_0x5ab2e0,{'tableId':_0x514207['table']['id'],'fieldId':_0x514207[_0x20c696(0x378)]['id']});}return Array[_0x20c696(0x162)](_0x481d22[_0x20c696(0x1c8)]());}};function Zi(_0x503107,_0x1c4c41){const _0x10487c=_0x5670e0;var _0x5151cd;let _0x4c79e8=[],_0x225bdf=(_0x5151cd=_0x1c4c41[_0x10487c(0xab)])==null?void 0x0:_0x5151cd[_0x503107['id']];return _0x225bdf&&Object[_0x10487c(0x419)](_0x225bdf)[_0x10487c(0x143)](([_0x1bcd2b,_0xeb0a4f])=>{const _0x93a139=_0x10487c;let _0x36ebbf=_0x503107[_0x93a139(0x41c)][_0x1bcd2b];if(!_0x36ebbf||!_0xeb0a4f)return;let _0x1cee0b=L(_0x36ebbf),_0x33b7e4=[];new _0x1bec6e(_0xeb0a4f)[_0x93a139(0x211)]((_0x3a3c52,_0x1813bf,_0x3db172)=>{const _0x5b4acc=_0x93a139;let _0x1c51de=Qi(_0x1cee0b,_0x3a3c52,_0x1813bf,_0x3db172);_0x1c51de&&_0x33b7e4[_0x5b4acc(0x393)](_0x1c51de);}),_0x33b7e4['length']&&_0x4c79e8[_0x93a139(0x393)]({'unitId':_0x503107['id'],'tableId':_0x1bcd2b,'patches':_0x33b7e4});}),_0x4c79e8;}function Qi(_0x303a4c,_0x207776,_0x2fc827,_0x5d1542){const _0x2d3cc5=_0x5670e0;var _0x1a46e5,_0x2f3b31,_0x345cb3;let _0x58878a=(_0x1a46e5=_0x303a4c[_0x2d3cc5(0x2ea)])==null?void 0x0:_0x1a46e5[_0x207776],_0x4cad29=(_0x2f3b31=_0x303a4c[_0x2d3cc5(0x18c)])==null?void 0x0:_0x2f3b31[_0x2fc827];if(!_0x58878a||!_0x303a4c['records'][_0x58878a]||!_0x4cad29)return null;let _0x10ffe2=_0x303a4c['fields'][_0x4cad29];if(!_0x10ffe2||_0x10ffe2[_0x2d3cc5(0xeb)]!==_0x2d3cc5(0x23e))return null;let _0x28be33=String(((_0x345cb3=_0x10ffe2[_0x2d3cc5(0x407)])==null?void 0x0:_0x345cb3[_0x2d3cc5(0x23e)])??'')[_0x2d3cc5(0x12d)](),_0xec5bff=(_0x5d1542==null?void 0x0:_0x5d1542['v'])??null,_0x56bd46={'v':_0xec5bff,'t':ea(_0xec5bff),..._0x207776===0x0&&_0x28be33?{'f':_0x28be33}:{},'si':_0x10ffe2['id']};return $i(vt(_0x303a4c,_0x58878a,_0x4cad29),_0x56bd46)?null:{'row':_0x207776,'col':_0x2fc827,'value':_0x56bd46};}function $i(_0x12e021,_0x30fbad){return _0x12e021!=null&&Object['is'](_0x12e021['v']??null,_0x30fbad['v']??null)&&_0x12e021['t']===_0x30fbad['t']&&_0x12e021['f']===_0x30fbad['f']&&_0x12e021['si']===_0x30fbad['si'];}function ea(_0x53690b){const _0x5c91df=_0x5670e0;return typeof _0x53690b=='number'?_0x319a08['NUMBER']:typeof _0x53690b==_0x5c91df(0x168)?_0x319a08[_0x5c91df(0x189)]:typeof _0x53690b==_0x5c91df(0x2dc)?_0x319a08[_0x5c91df(0x13f)]:null;}function ta(_0x86d89a){const _0x3ca7ad=_0x5670e0;let _0x13732d=ia(_0x86d89a,()=>''),_0x54a100=new Map(),_0x25c620=_0x7df8b1=>{const _0x2431cb=_0x4f53;_0x54a100[_0x2431cb(0x2b8)]((_0x7df8b1['tableName']??'')+'\x1f'+_0x7df8b1[_0x2431cb(0x3b2)],_0x7df8b1);};for(let _0x24b246 of _0x13732d['matchAll'](Ui))_0x25c620({'fieldName':_0x24b246[0x1],'scope':_0x3ca7ad(0xa4)});_0x13732d=_0x13732d[_0x3ca7ad(0xf2)](Wi,(_0x28989d,_0x245cb2,_0x30a7cf,_0x2f630d)=>(_0x25c620({'tableName':_0x245cb2,'fieldName':_0x2f630d,'scope':_0x30a7cf[_0x3ca7ad(0x374)]()===_0x3ca7ad(0xe5)?_0x3ca7ad(0xe5):_0x3ca7ad(0xa4)}),'\x20')),_0x13732d=_0x13732d[_0x3ca7ad(0xf2)](Gi,(_0x3f1d50,_0x1bcca8,_0x5cf9af)=>(_0x25c620({'tableName':_0x1bcca8,'fieldName':_0x5cf9af,'scope':_0x3ca7ad(0xa4)}),'\x20')),_0x13732d=_0x13732d[_0x3ca7ad(0xf2)](qi,(_0x2f3233,_0x3099d9,_0xd96ae5,_0x9edc30)=>(_0x25c620({'fieldName':_0x9edc30,'scope':_0xd96ae5[_0x3ca7ad(0x374)]()==='data'?_0x3ca7ad(0xe5):_0x3ca7ad(0xa4)}),_0x3099d9+'\x20')),_0x13732d=_0x13732d[_0x3ca7ad(0xf2)](Ji,(_0x9a1707,_0x3c32f9,_0xe80dff)=>(_0x25c620({'fieldName':_0xe80dff,'scope':_0x3ca7ad(0xa4)}),_0x3c32f9+'\x20'));for(let _0x11bcbc of _0x13732d[_0x3ca7ad(0x3ed)](Ki))_0x25c620({'tableName':_0x11bcbc[0x1],'fieldName':_0x11bcbc[0x2]});for(let _0x459b66 of _0x13732d[_0x3ca7ad(0x3ed)](Yi))_0x25c620({'fieldName':_0x459b66[0x2],'scope':'this-row'});return Array[_0x3ca7ad(0x162)](_0x54a100[_0x3ca7ad(0x1c8)]());}function na(_0x40cf02){const _0x238c97=_0x5670e0;let _0x534251=ia(_0x40cf02,()=>'\x20')[_0x238c97(0xf2)](Ui,'\x20')['replace'](Wi,'\x20')['replace'](Gi,'\x20')['replace'](qi,_0x238c97(0x346))[_0x238c97(0xf2)](Ji,_0x238c97(0x346))[_0x238c97(0xf2)](Ki,'\x20')[_0x238c97(0xf2)](Yi,_0x238c97(0x346));return Vi[_0x238c97(0x106)](_0x534251);}function ra(_0x473138,_0x1a11cf){return ca(oa(_0x473138,_0x1a11cf),_0x1a11cf);}function ia(_0x29c8bf,_0x5c9096){return aa(ra(_0x29c8bf,_0x5c9096),_0x5c9096);}function _0x4f53(_0x3ba6a3,_0x3b8861){_0x3ba6a3=_0x3ba6a3-0x83;const _0x1ee80a=_0x1ee8();let _0x4f53af=_0x1ee80a[_0x3ba6a3];return _0x4f53af;}function aa(_0x206c0f,_0x55a7a0){return _0x206c0f['replace'](/"(?:""|[^"])*"/g,_0x55a7a0);}function oa(_0x3ac48d,_0xcffa2c){const _0x394c5e=_0x5670e0;return Hi['lastIndex']=0x0,_0x3ac48d[_0x394c5e(0xf2)](Hi,(_0x48106b,_0x365afc)=>la(_0x3ac48d,_0x365afc)?_0x48106b:_0xcffa2c(_0x48106b));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x1108bf,_0x59af63){const _0x488479=_0x5670e0;let _0x20b9f4=[];for(sa[_0x488479(0x1fb)]=0x0;;){let _0x3081ab=sa['exec'](_0x1108bf);if(_0x3081ab==null)break;if(la(_0x1108bf,_0x3081ab['index']))continue;let _0x286a2d=sa[_0x488479(0x1fb)]-0x1,_0x3c6e9e=0x0;for(let _0x3ee8c6=_0x286a2d;_0x3ee8c6<_0x1108bf['length'];_0x3ee8c6++)if(_0x1108bf[_0x3ee8c6]==='['&&_0x3c6e9e++,_0x1108bf[_0x3ee8c6]===']'&&(_0x3c6e9e--,_0x3c6e9e===0x0)){_0x20b9f4[_0x488479(0x393)]({'start':_0x3081ab[_0x488479(0x95)],'end':_0x3ee8c6+0x1}),sa['lastIndex']=_0x3ee8c6+0x1;break;}}if(_0x20b9f4[_0x488479(0x19b)]===0x0)return _0x1108bf;let _0x393452='',_0x1f5af3=0x0;for(let _0x2874ef of _0x20b9f4)_0x393452+=_0x1108bf['slice'](_0x1f5af3,_0x2874ef['start']),_0x393452+=_0x59af63(_0x1108bf[_0x488479(0xfa)](_0x2874ef['start'],_0x2874ef[_0x488479(0x92)])),_0x1f5af3=_0x2874ef[_0x488479(0x92)];return _0x393452+_0x1108bf[_0x488479(0xfa)](_0x1f5af3);}function la(_0x5c84ff,_0x2f03a7){let _0x15f612=!0x1;for(let _0x1cdf59=0x0;_0x1cdf59<_0x2f03a7;_0x1cdf59++)_0x5c84ff[_0x1cdf59]==='\x22'&&(_0x15f612&&_0x5c84ff[_0x1cdf59+0x1]==='\x22'?_0x1cdf59++:_0x15f612=!_0x15f612);return _0x15f612;}function ua(_0x32061f,_0x5e87cc,_0xe21544,_0x31e2d0){const _0x1443d5=_0x5670e0;let _0x2ee9a1=da(_0x32061f['tableName'],_0x5e87cc,_0xe21544,_0x31e2d0);return{'table':_0x2ee9a1,'field':_0x2ee9a1?Object['values'](_0x2ee9a1[_0x1443d5(0x2cb)])[_0x1443d5(0x361)](_0x3f687c=>_0x3f687c[_0x1443d5(0x26f)]===_0x32061f[_0x1443d5(0x3b2)]):void 0x0};}function da(_0x55a432,_0x207811,_0x5d6e5b,_0x4776fd){const _0x144789=_0x5670e0;if(!_0x55a432)return _0x207811;if(!_0x5d6e5b){var _0x3b199a;let _0x2e9285=_0x55a432['toLowerCase']();return _0x2e9285===_0x207811['id'][_0x144789(0x374)]()||_0x2e9285===_0x207811['name'][_0x144789(0x374)]()||_0x2e9285===((_0x3b199a=_0x207811[_0x144789(0x177)])==null?void 0x0:_0x3b199a[_0x144789(0x374)]())?_0x207811:void 0x0;}let _0x32b79a=_0x55a432[_0x144789(0x374)](),_0x17b070=_0x4776fd??_0x13e931(_0x5d6e5b),_0x549f3c=Object[_0x144789(0x1c8)](_0x5d6e5b['tables'])[_0x144789(0x364)](_0x4471b8=>{const _0x45eaf2=_0x144789;var _0x522928;return _0x4471b8['id']['toLowerCase']()===_0x32b79a||_0x4471b8['name'][_0x45eaf2(0x374)]()===_0x32b79a||((_0x522928=_0x17b070['get'](_0x4471b8['id']))==null?void 0x0:_0x522928[_0x45eaf2(0x374)]())===_0x32b79a||fa(_0x4471b8['id'])[_0x45eaf2(0x374)]()===_0x32b79a;});return _0x549f3c[_0x144789(0x19b)]===0x1?_0x549f3c[0x0]:void 0x0;}function fa(_0x36f79c){const _0xa53bb6=_0x5670e0;return _0xa53bb6(0x298)+Array[_0xa53bb6(0x162)](_0x36f79c,_0xb3dcec=>{const _0x3234b3=_0xa53bb6;var _0x216299;return/[A-Za-z0-9]/[_0x3234b3(0x106)](_0xb3dcec)?_0xb3dcec:'_x'+(((_0x216299=_0xb3dcec[_0x3234b3(0xcd)](0x0))==null?void 0x0:_0x216299[_0x3234b3(0x341)](0x10))??'0')+'_';})['join']('');}const pa=new Xi();function ma(_0x1e772b,_0x41bce9,_0x4db8b3){const _0x435a12=_0x5670e0;var _0x1e4169;if(_0x4db8b3['type']!==_0x4fe15f[_0x435a12(0x3a5)])return!0x0;let _0x4107e6=String(((_0x1e4169=_0x4db8b3[_0x435a12(0x407)])==null?void 0x0:_0x1e4169['formula'])??''),_0x4b525e=_0x1e772b[_0x435a12(0x1ec)]();return pa[_0x435a12(0x90)](_0x4107e6,_0x4b525e['tables'][_0x41bce9],{'snapshot':_0x4b525e})[_0x435a12(0x246)];}function $(_0x388d4d,_0x3e7271,_0x39731a){const _0x5ecb1f=_0x5670e0;let _0x922ecc=_0x388d4d[_0x5ecb1f(0x1ec)]()[_0x5ecb1f(0x41c)][_0x3e7271];if(!_0x922ecc)return!0x1;let {viewIds:_0x228006,fieldIds:_0x40a6e4,recordIds:_0x452f24}=_0x39731a||{};if(_0x228006){for(let _0x5f578f of _0x228006)if(!_0x922ecc[_0x5ecb1f(0x21f)][_0x5f578f])return!0x1;}if(_0x40a6e4){for(let _0x4bfc30 of _0x40a6e4)if(!_0x922ecc[_0x5ecb1f(0x2cb)][_0x4bfc30])return!0x1;}if(_0x452f24){for(let _0x47ec9d of _0x452f24)if(!_0x922ecc[_0x5ecb1f(0x83)][_0x47ec9d])return!0x1;}return!0x0;}function ha(_0x44f740,_0x592b95,_0x41d308){const _0xde1471=_0x5670e0;if(_0x41d308['id']===_0x32decc||_0x41d308[_0xde1471(0xeb)]===_0x4fe15f[_0xde1471(0x300)]||_0x1fb0f2(_0x41d308['name'])||!ma(_0x44f740,_0x592b95,_0x41d308))return!0x1;let _0x12d1fc=_0x44f740[_0xde1471(0x1ec)]();if(!Be(_0x12d1fc,_0x41d308)[_0xde1471(0x246)])return!0x1;if(_0x41d308[_0xde1471(0xeb)]!==_0x4fe15f[_0xde1471(0x36f)])return!0x0;let _0x11a37f=N(_0x41d308);if(!_0x11a37f)return!0x1;if(_0x11a37f['relationRole']===void 0x0)return!0x0;if(_0x11a37f[_0xde1471(0x1bc)]!==_0x309088[_0xde1471(0x1e0)]||_0x11a37f['targetTableId']!==_0x592b95||_0x11a37f['multiple']!==!0x1)return!0x1;let _0x24fd7b=_0x12d1fc['tables'][_0x592b95];return!Object['values'](_0x24fd7b[_0xde1471(0x2cb)])[_0xde1471(0x1c1)](_0x48bff0=>{const _0x54b6cb=_0xde1471;var _0x45457e;return _0x48bff0['id']!==_0x41d308['id']&&_0x48bff0[_0x54b6cb(0xeb)]===_0x4fe15f['RecordLink']&&((_0x45457e=N(_0x48bff0))==null?void 0x0:_0x45457e[_0x54b6cb(0x1bc)])===_0x309088[_0x54b6cb(0x1e0)];});}function ga(_0x11e6dc,_0x19199e,_0x532845,_0x2edb7a){const _0x3e3809=_0x5670e0;var _0x41cdfd;let _0x6ed41=_0x11e6dc[_0x3e3809(0x1ec)](),_0x59a03f=(_0x41cdfd=_0x6ed41[_0x3e3809(0x41c)][_0x19199e])==null?void 0x0:_0x41cdfd[_0x3e3809(0x2cb)][_0x532845];return!_0x59a03f||_0x59a03f['id']===_0x32decc||_0x59a03f[_0x3e3809(0xeb)]===_0x4fe15f['RecordId']?!0x1:_0x59a03f['type']!==_0x4fe15f[_0x3e3809(0x36f)]||Ve(_0x6ed41,_0x59a03f,ya(_0x2edb7a))['valid'];}function _a(_0x5b3c9b,_0x3adf90,_0x50fd1c){const _0x159fdc=_0x5670e0;let _0x38cc1f=_0x5b3c9b['getSnapshot']()[_0x159fdc(0x41c)][_0x3adf90];return!_0x38cc1f||!_0x1fbc25(_0x50fd1c['id'])||_0x38cc1f['records'][_0x50fd1c['id']]||Object[_0x159fdc(0x159)]['hasOwnProperty']['call'](_0x50fd1c[_0x159fdc(0x1c8)],_0x32decc)&&_0x50fd1c[_0x159fdc(0x1c8)][_0x32decc]!==_0x50fd1c['id']?!0x1:Object['entries'](_0x50fd1c[_0x159fdc(0x1c8)])[_0x159fdc(0x3f9)](([_0x542a23,_0x2648ba])=>_0x542a23===_0x32decc||ga(_0x5b3c9b,_0x3adf90,_0x542a23,_0x2648ba));}function va(_0xc7c0ac){const _0x4b52c6=_0x5670e0;return{..._0xc7c0ac,'values':{..._0xc7c0ac[_0x4b52c6(0x1c8)],[_0x32decc]:_0xc7c0ac['id']}};}function ya(_0xe5b766){const _0xf2f0af=_0x5670e0;if(_0xe5b766&&typeof _0xe5b766==_0xf2f0af(0x360)&&!Array[_0xf2f0af(0x99)](_0xe5b766)&&'v'in _0xe5b766){let _0x34e365=_0xe5b766['v'];return _0x34e365===void 0x0?null:_0x34e365;}return _0xe5b766;}function ba(_0x556bba,_0x27440d,_0x10122e,_0xa4b515){const _0x29c7b2=_0x5670e0;let _0x789c55=_0x556bba[_0x29c7b2(0x1ec)]()[_0x29c7b2(0x41c)][_0x27440d];if(!_0x789c55)return null;let _0x4e6d75=qe(_0x789c55),_0x38624d=_0x4e6d75??Je(_0x789c55),_0x5d5a85=_0x10122e[_0x29c7b2(0x1c1)](_0x36feb9=>Object[_0x29c7b2(0x159)][_0x29c7b2(0x127)][_0x29c7b2(0x321)](_0x36feb9[_0x29c7b2(0x1c8)],_0x38624d)),_0x387cc1=_0x4e6d75?_0x789c55[_0x29c7b2(0x2cb)][_0x4e6d75]:_0x5d5a85?Ye(_0x789c55,_0x38624d,_0xa4b515):null,_0x1c4483=[];for(let _0x425b2 of _0x10122e){let _0x66d0d3=_0x425b2[_0x29c7b2(0x1c8)][_0x38624d],_0x3bd309=_0x387cc1!==null&&Object[_0x29c7b2(0x159)][_0x29c7b2(0x127)]['call'](_0x425b2['values'],_0x38624d),_0x20cbe6=ya(_0x66d0d3),_0xdf38f7=null;if(_0x3bd309){if(typeof _0x20cbe6!='string'||!ze(_0x20cbe6,!0x1)[_0x29c7b2(0x246)])return null;_0xdf38f7=_0x20cbe6;}let _0x1e81f8={};if(Object[_0x29c7b2(0x419)](_0x425b2[_0x29c7b2(0x1c8)])[_0x29c7b2(0x143)](([_0xf2a1ee,_0x5d1555])=>{(!_0x3bd309||_0xf2a1ee!==_0x38624d)&&(_0x1e81f8[_0xf2a1ee]=_0x5d1555);}),!_a(_0x556bba,_0x27440d,{..._0x425b2,'values':_0x1e81f8}))return null;let _0x3eef37={..._0x425b2[_0x29c7b2(0x1c8)]};_0xdf38f7!==null&&(_0x3eef37[_0x38624d]=_0xdf38f7),_0x1c4483[_0x29c7b2(0x393)](va({..._0x425b2,'values':_0x3eef37}));}return{'records':_0x1c4483,'hierarchyFieldToMaterialize':_0x4e6d75?null:_0x387cc1,'hierarchyChanges':Qe(_0x789c55,_0x1c4483)};}const xa={'id':_0x5670e0(0x1c0),'type':_0x21089e['COMMAND'],'handler'(_0x13a164,_0x521f4c){const _0x3589e0=_0x5670e0;if(!_0x521f4c)return!0x1;let _0x53dda7=_0x13a164[_0x3589e0(0x2db)](_0x2853e0),{unitId:_0x49265d,tableId:_0x294134,records:_0xb37ea8}=_0x521f4c,_0x266858=_0x53dda7[_0x3589e0(0x1b8)](_0x49265d,_0x1bf49d[_0x3589e0(0x373)]),_0x1d1768=_0xb37ea8[_0x3589e0(0x102)](_0x4cd010=>_0x4cd010['id']);if(!_0x266858||!$(_0x266858,_0x294134)||new Set(_0x1d1768)['size']!==_0x1d1768[_0x3589e0(0x19b)])return!0x1;let _0x4e5716=_0x13a164[_0x3589e0(0x2db)](_0x228e7e),_0x457447=_0x13a164[_0x3589e0(0x2db)](_0x1c7439),_0x4709cc=_0x13a164['get'](Kr),_0x2ac55f=_0x266858[_0x3589e0(0x1ec)](),_0x153180=ba(_0x266858,_0x294134,_0xb37ea8);if(!_0x153180)return!0x1;let {records:_0x2652fd,hierarchyChanges:_0x43ca74,hierarchyFieldToMaterialize:_0x12bac4}=_0x153180,_0x34b688=_0x12bac4?_0x4709cc[_0x3589e0(0x28b)](_0x266858,_0x294134,_0x12bac4,_0x2ac55f[_0x3589e0(0x41c)][_0x294134][_0x3589e0(0x367)][_0x3589e0(0x19b)]):null,_0x1a82c7=_0x4709cc[_0x3589e0(0x3f4)](_0x266858,_0x294134,_0x2652fd),_0x2b05f3=R([..._0x34b688?[_0x34b688]:[],_0x1a82c7]),_0x3a410e=new z()['invertOp'](_0x2ac55f,_0x2b05f3),_0x4d48cc={'unitId':_0x49265d,'op':_0x2b05f3,'hierarchyChanges':_0x43ca74[_0x3589e0(0x19b)]?_0x43ca74:void 0x0,'source':_0x43ca74[_0x3589e0(0x19b)]?_0x521f4c['source']??'ui':void 0x0},_0x279553={..._0x4d48cc,'source':_0x43ca74[_0x3589e0(0x19b)]?_0x3589e0(0x41e):void 0x0},_0x4f991e={'unitId':_0x49265d,'op':_0x3a410e,'hierarchyChanges':_0x43ca74['length']?_0x43ca74['map'](_0x85cc17=>({..._0x85cc17,'oldParentRecordId':_0x85cc17[_0x3589e0(0x10f)],'parentRecordId':null})):void 0x0,'source':_0x43ca74['length']?_0x3589e0(0x18b):void 0x0};return _0x4e5716[_0x3589e0(0x2fa)](Q['id'],_0x4d48cc)?(_0x53dda7[_0x3589e0(0x2d0)](_0x49265d),_0x457447[_0x3589e0(0x352)]({'unitID':_0x49265d,'undoMutations':[{'id':Q['id'],'params':_0x4f991e}],'redoMutations':[{'id':Q['id'],'params':_0x279553}]}),!0x0):!0x1;}},Sa={'id':'base.command.batch-delete-base-records','type':_0x21089e['COMMAND'],'handler':(_0x117f1f,_0x200761)=>{const _0xccc6e7=_0x5670e0;if(!_0x200761)return!0x1;let _0x1087c4=_0x117f1f[_0xccc6e7(0x2db)](_0x2853e0),{unitId:_0x5ba379,tableId:_0x46f1b0,recordIds:_0x250311}=_0x200761,_0x591433=_0x1087c4[_0xccc6e7(0x1b8)](_0x5ba379,_0x1bf49d[_0xccc6e7(0x373)]);if(!_0x591433||!$(_0x591433,_0x46f1b0,{'recordIds':_0x250311}))return!0x1;let _0x4dbf23=_0x117f1f[_0xccc6e7(0x2db)](_0x228e7e),_0x4bae42=_0x117f1f[_0xccc6e7(0x2db)](_0x1c7439),_0x57a39d=_0x591433[_0xccc6e7(0x1ec)](),_0x3868a9=et(_0x57a39d[_0xccc6e7(0x41c)][_0x46f1b0],_0x250311),_0x2c82f0=new W(),_0x3fa3ef=new z(),_0x3b3c6e=_0x2c82f0[_0xccc6e7(0x293)](_0x57a39d,_0x46f1b0,_0x250311),_0x3e1d2e=_0x3fa3ef[_0xccc6e7(0x2ee)](_0x57a39d,_0x3b3c6e),_0x40092d=_0x2c82f0[_0xccc6e7(0x181)](_0x57a39d,_0x3e1d2e,_0x46f1b0,_0x250311),_0x16423c={'unitId':_0x5ba379,'op':_0x3b3c6e,'hierarchyChanges':_0x3868a9,'source':_0x200761[_0xccc6e7(0x2d6)]??'ui'},_0x3a69f8={..._0x16423c,'source':_0xccc6e7(0x41e)},_0x3264a9={'unitId':_0x5ba379,'op':_0x40092d,'hierarchyChanges':_0x3868a9[_0xccc6e7(0x102)](_0x4e243a=>({..._0x4e243a,'oldParentRecordId':_0x4e243a[_0xccc6e7(0x10f)],'parentRecordId':_0x4e243a['oldParentRecordId']})),'source':'undo'};return _0x4dbf23[_0xccc6e7(0x2fa)](Q['id'],_0x16423c)?(_0x1087c4[_0xccc6e7(0x2d0)](_0x5ba379),_0x4bae42[_0xccc6e7(0x352)]({'unitID':_0x5ba379,'undoMutations':[{'id':Q['id'],'params':_0x3264a9}],'redoMutations':[{'id':Q['id'],'params':_0x3a69f8}]}),!0x0):!0x1;}},Ca={'id':'base.command.change-base-field-type','type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x5ed9c5,_0x203053)=>{const _0x1998ec=_0x5670e0;if(!_0x203053)return!0x1;let _0x178a0f=_0x5ed9c5['get'](_0x2853e0),{unitId:_0x4b37af,tableId:_0x4f55e7,fieldId:_0x4394cf,input:_0x56f643}=_0x203053,_0x56d36f=_0x178a0f[_0x1998ec(0x1b8)](_0x4b37af,_0x1bf49d['UNIVER_BASE']);if(!_0x56d36f||_0x4394cf===_0x32decc||!$(_0x56d36f,_0x4f55e7,{'fieldIds':[_0x4394cf]}))return!0x1;let _0x4db0c0=_0x5ed9c5[_0x1998ec(0x2db)](_0x228e7e),_0x18b5f6=_0x5ed9c5[_0x1998ec(0x2db)](_0x1c7439),_0x114264=_0x56d36f[_0x1998ec(0x1ec)]();if(!ha(_0x56d36f,_0x4f55e7,{..._0x114264[_0x1998ec(0x41c)][_0x4f55e7][_0x1998ec(0x2cb)][_0x4394cf],..._0x56f643}))return!0x1;let _0x485192=new W()[_0x1998ec(0x1f8)](_0x114264,_0x4f55e7,_0x4394cf,_0x56f643),_0x2ab272=new z()[_0x1998ec(0x210)](_0x114264,_0x485192),_0x481976={'unitId':_0x4b37af,'op':_0x485192},_0x2a64bd={'unitId':_0x4b37af,'op':_0x2ab272};return _0x4db0c0[_0x1998ec(0x2fa)](Q['id'],_0x481976)?(_0x178a0f[_0x1998ec(0x2d0)](_0x4b37af),_0x18b5f6['pushUndoRedo']({'unitID':_0x4b37af,'undoMutations':[{'id':Q['id'],'params':_0x2a64bd}],'redoMutations':[{'id':Q['id'],'params':_0x481976}]}),!0x0):!0x1;}},wa={'id':_0x5670e0(0x389),'type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x520c48,_0x44f364){const _0xa4505b=_0x5670e0;var _0x5cb385;if(!_0x44f364)return!0x1;let {unitId:_0x5de2bf,tableId:_0x1de092,parentRecordId:_0x4185f5}=_0x44f364,_0x3da7a9=_0x520c48[_0xa4505b(0x2db)](_0x2853e0),_0x3c112a=_0x3da7a9['getUnit'](_0x5de2bf,_0x1bf49d[_0xa4505b(0x373)]);if(!_0x3c112a||!$(_0x3c112a,_0x1de092,{'recordIds':[_0x4185f5]}))throw new P('missingRecord');let _0x4d1612=_0x3c112a[_0xa4505b(0x1ec)](),_0x28f400=_0x4d1612['tables'][_0x1de092],_0x43386a=qe(_0x28f400),_0x483b07=_0x43386a??_0x44f364[_0xa4505b(0x186)]??Je(_0x28f400);if(_0x43386a&&_0x44f364[_0xa4505b(0x186)]&&_0x44f364[_0xa4505b(0x186)]!==_0x43386a||_0x28f400[_0xa4505b(0x2cb)][_0x483b07]&&!F(_0x28f400,_0x483b07))throw new P(_0xa4505b(0x11d));if((tt(_0x28f400,_0x483b07)[_0xa4505b(0x2a7)]['get'](_0x4185f5)??0x0)+0x1>=0x5)throw new P(_0xa4505b(0x245));if(!_a(_0x3c112a,_0x1de092,_0x44f364[_0xa4505b(0x1ef)]))return!0x1;let _0x57a952=va({..._0x44f364['record'],'values':{..._0x44f364['record'][_0xa4505b(0x1c8)],[_0x483b07]:Re([_0x4185f5])}}),_0x2924df=_0x520c48['get'](Kr),_0x59b7f1=new W(),_0x2e8e31=_0x28f400[_0xa4505b(0x2cb)][_0x483b07],_0x40160f=_0x2e8e31?((_0x5cb385=N(_0x2e8e31))==null?void 0x0:_0x5cb385['relationRole'])===_0x309088[_0xa4505b(0x1e0)]?null:_0x59b7f1[_0xa4505b(0x1a9)](_0x4d1612,_0x1de092,_0x483b07,{'config':{..._0x2e8e31[_0xa4505b(0x407)],'relationRole':_0x309088['Parent']}}):_0x2924df[_0xa4505b(0x28b)](_0x3c112a,_0x1de092,Ye(_0x28f400,_0x483b07,_0x44f364[_0xa4505b(0x167)]),_0x28f400[_0xa4505b(0x367)][_0xa4505b(0x19b)]),_0x999dd8=_0x2924df[_0xa4505b(0x24f)](_0x3c112a,_0x1de092,_0x57a952),_0x43402f=R([..._0x40160f?[_0x40160f]:[],_0x999dd8]),_0x547f0a=new z()['invertOp'](_0x4d1612,_0x43402f),_0x5d3710={'tableId':_0x1de092,'fieldId':_0x483b07,'recordId':_0x57a952['id'],'oldParentRecordId':null,'parentRecordId':_0x4185f5},_0x3c71e4={'unitId':_0x5de2bf,'op':_0x43402f,'trigger':wa['id'],'hierarchyChanges':[_0x5d3710],'source':_0x44f364['source']??'ui'},_0x3fdaaa={..._0x3c71e4,'source':_0xa4505b(0x41e)},_0x34d0b6={'unitId':_0x5de2bf,'op':_0x547f0a,'trigger':wa['id'],'hierarchyChanges':[{..._0x5d3710,'oldParentRecordId':_0x4185f5,'parentRecordId':null}],'source':'undo'};return _0x520c48[_0xa4505b(0x2db)](_0x228e7e)[_0xa4505b(0x2fa)](Q['id'],_0x3c71e4)?(_0x3da7a9['focusUnit'](_0x5de2bf),_0x520c48['get'](_0x1c7439)[_0xa4505b(0x352)]({'unitID':_0x5de2bf,'undoMutations':[{'id':Q['id'],'params':_0x34d0b6}],'redoMutations':[{'id':Q['id'],'params':_0x3fdaaa}]}),!0x0):!0x1;}},Ta={'id':_0x5670e0(0xb8),'type':_0x21089e['COMMAND'],'handler'(_0x3868c8,_0x34f38e){const _0x1e94fe=_0x5670e0;if(!_0x34f38e)return!0x1;let _0x4d5142=_0x3868c8['get'](_0x2853e0),{unitId:_0x531d40,tableId:_0x214db6,field:_0xce78b6,index:_0x430e0e,viewIndexes:_0x32ac32}=_0x34f38e,_0x523920=_0x4d5142[_0x1e94fe(0x1b8)](_0x531d40,_0x1bf49d[_0x1e94fe(0x373)]);if(!_0x523920||!$(_0x523920,_0x214db6)||_0x523920[_0x1e94fe(0x1ec)]()[_0x1e94fe(0x41c)][_0x214db6][_0x1e94fe(0x2cb)][_0xce78b6['id']]||_0x430e0e===0x0||!ha(_0x523920,_0x214db6,_0xce78b6))return!0x1;let _0x591147=_0x3868c8[_0x1e94fe(0x2db)](_0x228e7e),_0x5ba2ea=_0x3868c8['get'](_0x1c7439),_0x5ebb37=_0x3868c8['get'](Kr)[_0x1e94fe(0x28b)](_0x523920,_0x214db6,_0xce78b6,_0x430e0e,_0x32ac32),_0x2db3fd=new z()[_0x1e94fe(0x210)](_0x523920[_0x1e94fe(0x1ec)](),_0x5ebb37),_0x146812={'unitId':_0x531d40,'op':_0x5ebb37},_0x3010ee={'unitId':_0x531d40,'op':_0x2db3fd};return _0x591147[_0x1e94fe(0x2fa)](Q['id'],_0x146812)?(_0x4d5142[_0x1e94fe(0x2d0)](_0x531d40),_0x5ba2ea[_0x1e94fe(0x352)]({'unitID':_0x531d40,'undoMutations':[{'id':Q['id'],'params':_0x3010ee}],'redoMutations':[{'id':Q['id'],'params':_0x146812}]}),!0x0):!0x1;}},Ea={'id':_0x5670e0(0xa6),'type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x4c054c,_0x58cb3f){const _0xc45d4d=_0x5670e0;if(!_0x58cb3f)return!0x1;let _0x3deeb7=_0x4c054c['get'](_0x2853e0),{unitId:_0x18a619,tableId:_0x39d32c,record:_0x472016}=_0x58cb3f,_0x1d3db1=_0x3deeb7[_0xc45d4d(0x1b8)](_0x18a619,_0x1bf49d[_0xc45d4d(0x373)]);if(!_0x1d3db1||!$(_0x1d3db1,_0x39d32c))return!0x1;let _0x16ef69=_0x4c054c['get'](_0x228e7e),_0x223719=_0x4c054c[_0xc45d4d(0x2db)](_0x1c7439),_0xa88b55=_0x4c054c[_0xc45d4d(0x2db)](Kr),_0x1194d9=_0x1d3db1[_0xc45d4d(0x1ec)](),_0x7b858e=ba(_0x1d3db1,_0x39d32c,[_0x472016]);if(!_0x7b858e)return!0x1;let [_0x27cfaa]=_0x7b858e['records'],{hierarchyChanges:_0xe237e2,hierarchyFieldToMaterialize:_0xe1f330}=_0x7b858e,_0x1595a1=_0xe1f330?_0xa88b55[_0xc45d4d(0x28b)](_0x1d3db1,_0x39d32c,_0xe1f330,_0x1194d9[_0xc45d4d(0x41c)][_0x39d32c]['fieldOrder'][_0xc45d4d(0x19b)]):null,_0x22a276=_0xa88b55[_0xc45d4d(0x24f)](_0x1d3db1,_0x39d32c,_0x27cfaa),_0x4c6bba=R([..._0x1595a1?[_0x1595a1]:[],_0x22a276]),_0x3ee030=new z()['invertOp'](_0x1194d9,_0x4c6bba),_0x25e2b8={'unitId':_0x18a619,'op':_0x4c6bba,'hierarchyChanges':_0xe237e2['length']?_0xe237e2:void 0x0,'source':_0xe237e2[_0xc45d4d(0x19b)]?_0x58cb3f[_0xc45d4d(0x2d6)]??'ui':void 0x0},_0x1dcbbb={..._0x25e2b8,'source':_0xe237e2[_0xc45d4d(0x19b)]?_0xc45d4d(0x41e):void 0x0},_0x400c6b={'unitId':_0x18a619,'op':_0x3ee030,'hierarchyChanges':_0xe237e2[_0xc45d4d(0x19b)]?_0xe237e2[_0xc45d4d(0x102)](_0x88f844=>({..._0x88f844,'oldParentRecordId':_0x88f844[_0xc45d4d(0x10f)],'parentRecordId':null})):void 0x0,'source':_0xe237e2[_0xc45d4d(0x19b)]?_0xc45d4d(0x18b):void 0x0};return _0x16ef69[_0xc45d4d(0x2fa)](Q['id'],_0x25e2b8)?(_0x3deeb7[_0xc45d4d(0x2d0)](_0x18a619),_0x223719[_0xc45d4d(0x352)]({'unitID':_0x18a619,'undoMutations':[{'id':Q['id'],'params':_0x400c6b}],'redoMutations':[{'id':Q['id'],'params':_0x1dcbbb}]}),!0x0):!0x1;}},Da=_0x5670e0(0x403);function Oa(_0x15f434,_0x20cc04,_0x46183d){const _0x2968b8=_0x5670e0;if(!_0x20cc04['trim']())return{'valid':!0x1,'reason':_0x2968b8(0x1bb),'error':_0x2968b8(0x320)};if(_0x20cc04[_0x2968b8(0x19b)]>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':'too-long'};if(_0x20cc04['startsWith']('\x27')||_0x20cc04[_0x2968b8(0x372)]('\x27'))return{'valid':!0x1,'reason':_0x2968b8(0x22d),'error':_0x2968b8(0x257)};if(/[:\\/?*\[\]]/[_0x2968b8(0x106)](_0x20cc04))return{'valid':!0x1,'reason':_0x2968b8(0x26a),'error':_0x2968b8(0x306)};if(!_0x459694(_0x20cc04))return{'valid':!0x1,'reason':_0x2968b8(0x231),'error':_0x2968b8(0xc8)};let _0x53d2b4=_0x20cc04[_0x2968b8(0x374)]();return Object['values'](_0x15f434[_0x2968b8(0x41c)])[_0x2968b8(0x1c1)](_0x34a84b=>_0x34a84b['id']!==_0x46183d&&_0x34a84b[_0x2968b8(0x26f)][_0x2968b8(0x374)]()===_0x53d2b4)?{'valid':!0x1,'reason':_0x2968b8(0x35a),'error':_0x2968b8(0x35d)}:{'valid':!0x0};}function ka(_0x5aef11,_0xc71d40){const _0x4537cf=_0x5670e0;let _0x304ce1=_0xc71d40[_0x4537cf(0xf2)](/[:\\/?*\[\]]/g,'\x20')[_0x4537cf(0xf2)](/^'+|'+$/g,'')[_0x4537cf(0x12d)]()||'Table',_0xa06834=0x1;for(;;){let _0x2e1b6c=_0xa06834===0x1?'':'\x20'+_0xa06834,_0x3c1a65=''+_0x304ce1[_0x4537cf(0xfa)](0x0,0x1f-_0x2e1b6c[_0x4537cf(0x19b)])+_0x2e1b6c;if(Oa(_0x5aef11,_0x3c1a65)[_0x4537cf(0x246)])return _0x3c1a65;_0xa06834++;}}const Aa={'id':_0x5670e0(0x152),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x4b86d5,_0x33722d)=>{const _0x188c10=_0x5670e0;if(!_0x33722d)return!0x1;let _0x2b0331=_0x4b86d5[_0x188c10(0x2db)](_0x2853e0),{unitId:_0x3336df,table:_0x2b0c36,index:_0xf394f3}=_0x33722d,_0x2d4d96=_0x2b0331[_0x188c10(0x1b8)](_0x3336df,_0x1bf49d['UNIVER_BASE']);if(!_0x2d4d96||_0x2d4d96[_0x188c10(0x1ec)]()[_0x188c10(0x41c)][_0x2b0c36['id']]||!Oa(_0x2d4d96[_0x188c10(0x1ec)](),_0x2b0c36[_0x188c10(0x26f)])[_0x188c10(0x246)])return!0x1;try{_0x4a6ff9(_0x2b0c36);}catch{return!0x1;}let _0x30aaae=_0x4b86d5[_0x188c10(0x2db)](_0x228e7e),_0x30a6fd=_0x4b86d5[_0x188c10(0x2db)](_0x1c7439),_0x25e202=_0x2d4d96[_0x188c10(0x1ec)](),_0x2d8d5b=new W()['createTable'](_0x25e202,_0x2b0c36,_0xf394f3),_0x46fc74=new z()[_0x188c10(0x210)](_0x25e202,_0x2d8d5b),_0x3c861c={'unitId':_0x3336df,'op':_0x2d8d5b},_0x588603={'unitId':_0x3336df,'op':_0x46fc74};return _0x30aaae['syncExecuteCommand'](Q['id'],_0x3c861c)?(_0x2b0331[_0x188c10(0x2d0)](_0x3336df),_0x30a6fd[_0x188c10(0x352)]({'unitID':_0x3336df,'undoMutations':[{'id':Q['id'],'params':_0x588603}],'redoMutations':[{'id':Q['id'],'params':_0x3c861c}]}),!0x0):!0x1;}};function ja(_0x393a86,_0x46cfef,_0x5a9b05=[]){const _0x32bb3b=_0x5670e0;let _0x1e1af1=new Set([...Object[_0x32bb3b(0x1c8)](_0x393a86[_0x32bb3b(0x2cb)])[_0x32bb3b(0x364)](_0x133660=>_0x133660)[_0x32bb3b(0x102)](_0x2d118c=>_0x2d118c['name']),..._0x5a9b05[_0x32bb3b(0x102)](_0x43452b=>_0x43452b[_0x32bb3b(0x26f)])]);if(!_0x1e1af1[_0x32bb3b(0xb9)](_0x46cfef))return _0x46cfef;let _0x40768e=0x2;for(;_0x1e1af1[_0x32bb3b(0xb9)](_0x46cfef+'\x20'+_0x40768e);)_0x40768e++;return _0x46cfef+'\x20'+_0x40768e;}function Ma(_0x32e7cd,_0x5bbef3){const _0x78bc9c=_0x5670e0;if(!_0x32e7cd||!_0x5bbef3[_0x78bc9c(0x19b)])return;let _0x23a3a6=[..._0x32e7cd];return _0x5bbef3[_0x78bc9c(0x143)](_0x177b1f=>{const _0x56eeba=_0x78bc9c;_0x23a3a6[_0x56eeba(0x173)](_0x177b1f)||_0x23a3a6['push'](_0x177b1f);}),_0x23a3a6;}const Na={'options':[{'id':_0x5670e0(0x1a5),'name':_0x5670e0(0xf1),'color':'#BFDBFE'},{'id':'doing','name':'Doing','color':_0x5670e0(0x2c5)},{'id':_0x5670e0(0x270),'name':_0x5670e0(0x9e),'color':_0x5670e0(0x2dd)}]},Pa={'locale':_0x5670e0(0x313),'pattern':_0x5670e0(0x2b4),'includeTime':!0x1,'hourCycle':_0x5670e0(0x348),'defaultMode':_0x5670e0(0x331)};function Fa(_0xb19a92,_0x2e4beb,_0x5a8ee3,_0x3db169){const _0x1e3914=_0x5670e0;var _0x4a83b7;let _0x2507d5=new W(),_0x3b3f31=_0xb19a92['tables'][_0x2e4beb],_0x3c183c=_0x3b3f31?{..._0x5a8ee3,'fieldOrder':[_0x32decc,...(_0x5a8ee3['fieldOrder']??_0x3b3f31[_0x1e3914(0x367)])[_0x1e3914(0x364)](_0x18afc7=>_0x18afc7!==_0x32decc)],'fieldSettings':{..._0x5a8ee3[_0x1e3914(0x39e)],[_0x32decc]:{...(_0x4a83b7=_0x5a8ee3[_0x1e3914(0x39e)])==null?void 0x0:_0x4a83b7[_0x32decc],'hidden':!0x0}}}:_0x5a8ee3;if(_0x3b3f31&&_0x3c183c[_0x1e3914(0xeb)]===_0x1e3914(0x2a5)){let _0x44d355=La(_0x3b3f31,_0x3c183c),_0x1d4cb7=_0x44d355['changed']?{..._0x3c183c,'config':_0x44d355['config'],'fieldOrder':_0x44d355[_0x1e3914(0x367)]??_0x3c183c[_0x1e3914(0x367)]}:_0x3c183c;return R([..._0x44d355['fields'][_0x1e3914(0x102)](_0x114b4e=>_0x2507d5[_0x1e3914(0x28c)](_0xb19a92,_0x2e4beb,{'field':_0x114b4e})),_0x2507d5[_0x1e3914(0x2eb)](_0xb19a92,_0x2e4beb,_0x1d4cb7,_0x3db169)]);}if(!_0x3b3f31||_0x3c183c['type']!=='calendar'&&_0x3c183c[_0x1e3914(0xeb)]!==_0x1e3914(0x3ba))return _0x2507d5[_0x1e3914(0x2eb)](_0xb19a92,_0x2e4beb,_0x3c183c,_0x3db169);let _0x39c39e=Ia(_0x3b3f31,_0x3c183c),_0x5264a0=_0x39c39e[_0x1e3914(0x13c)]?{..._0x3c183c,'config':_0x39c39e[_0x1e3914(0x407)],'fieldOrder':_0x39c39e[_0x1e3914(0x367)]??_0x3c183c[_0x1e3914(0x367)]}:_0x3c183c;return _0x3c183c[_0x1e3914(0xeb)]===_0x1e3914(0x3ba)&&Ba(_0x3c183c)&&(_0x5264a0=Va(_0x3b3f31,_0x5264a0,_0x39c39e['fields'])),R([..._0x39c39e[_0x1e3914(0x2cb)][_0x1e3914(0x102)](_0x5cec54=>_0x2507d5[_0x1e3914(0x28c)](_0xb19a92,_0x2e4beb,{'field':_0x5cec54})),_0x2507d5[_0x1e3914(0x2eb)](_0xb19a92,_0x2e4beb,_0x5264a0,_0x3db169)]);}function Ia(_0x212927,_0x4019d8,_0x162725=!0x1){const _0x1d78e1=_0x5670e0;var _0x5bc5b3,_0x5126e6;let _0x579e9d=_0x212927['fieldOrder']['filter'](_0x35afc2=>Ua(_0x212927,_0x35afc2)),_0x2ee2da=[],_0x664600={..._0x4019d8['config']??{}},_0x1ffd95=typeof _0x664600[_0x1d78e1(0x31e)]==_0x1d78e1(0x2dc)&&Ua(_0x212927,_0x664600[_0x1d78e1(0x31e)])?_0x664600[_0x1d78e1(0x31e)]:_0x579e9d[0x0],_0x1b504e=typeof _0x664600[_0x1d78e1(0x11f)]=='string'&&Ua(_0x212927,_0x664600[_0x1d78e1(0x11f)])&&_0x664600[_0x1d78e1(0x11f)]!==_0x1ffd95?_0x664600[_0x1d78e1(0x11f)]:_0x579e9d[_0x1d78e1(0x361)](_0x4dbd0c=>_0x4dbd0c!==_0x1ffd95);if(!_0x1ffd95){let _0x3bcbd8=Wa(_0x212927,_0x2ee2da,_0x4019d8['type']==='gantt'?_0x1d78e1(0xa7):_0x1d78e1(0x1cc));_0x2ee2da[_0x1d78e1(0x393)](_0x3bcbd8),_0x1ffd95=_0x3bcbd8['id'];}if((_0x4019d8[_0x1d78e1(0xeb)]==='gantt'||_0x162725)&&!_0x1b504e){let _0x3a9f50=Wa(_0x212927,_0x2ee2da,_0x1d78e1(0xbc));_0x2ee2da[_0x1d78e1(0x393)](_0x3a9f50),_0x1b504e=_0x3a9f50['id'];}_0x4019d8[_0x1d78e1(0xeb)]===_0x1d78e1(0x1d8)&&!_0x1b504e&&delete _0x664600[_0x1d78e1(0x11f)],_0x664600[_0x1d78e1(0x31e)]=_0x1ffd95,_0x4019d8['type']===_0x1d78e1(0x1d8)&&_0x1b504e&&(_0x664600[_0x1d78e1(0x11f)]=_0x1b504e),_0x4019d8['type']===_0x1d78e1(0x3ba)&&(_0x664600['endDateFieldId']=_0x1b504e??_0x1ffd95);let _0x5e79ad=Ma(_0x4019d8[_0x1d78e1(0x367)],_0x2ee2da['map'](_0x1b93c0=>_0x1b93c0['id']));return{'changed':_0x2ee2da[_0x1d78e1(0x19b)]>0x0||_0x664600[_0x1d78e1(0x31e)]!==((_0x5bc5b3=_0x4019d8[_0x1d78e1(0x407)])==null?void 0x0:_0x5bc5b3[_0x1d78e1(0x31e)])||_0x664600[_0x1d78e1(0x11f)]!==((_0x5126e6=_0x4019d8[_0x1d78e1(0x407)])==null?void 0x0:_0x5126e6[_0x1d78e1(0x11f)])||!(!_0x5e79ad||_0x4bf94a[_0x1d78e1(0x2a6)](_0x5e79ad,_0x4019d8[_0x1d78e1(0x367)]??[])),'fields':_0x2ee2da,'config':_0x664600,'fieldOrder':_0x5e79ad};}function La(_0x47875d,_0x3300c9){const _0x5af059=_0x5670e0;var _0x1f9349;let _0x5ad0e9=[],_0xc0e817={..._0x3300c9[_0x5af059(0x407)]??{}},_0x32ca43=typeof _0xc0e817[_0x5af059(0x9f)]==_0x5af059(0x2dc)&&Ra(_0x47875d,_0xc0e817[_0x5af059(0x9f)])?_0xc0e817['groupFieldId']:_0x47875d['fieldOrder'][_0x5af059(0x361)](_0xb9b9d6=>Ra(_0x47875d,_0xb9b9d6));if(!_0x32ca43){let _0x5e46a2=za(_0x47875d,_0x5ad0e9);_0x5ad0e9[_0x5af059(0x393)](_0x5e46a2),_0x32ca43=_0x5e46a2['id'];}_0xc0e817['groupFieldId']=_0x32ca43;let _0x3145c7=Ma(_0x3300c9[_0x5af059(0x367)],_0x5ad0e9[_0x5af059(0x102)](_0xb1d5e3=>_0xb1d5e3['id']));return{'changed':_0x5ad0e9[_0x5af059(0x19b)]>0x0||_0xc0e817['groupFieldId']!==((_0x1f9349=_0x3300c9[_0x5af059(0x407)])==null?void 0x0:_0x1f9349['groupFieldId'])||!(!_0x3145c7||_0x4bf94a['diffValue'](_0x3145c7,_0x3300c9[_0x5af059(0x367)]??[])),'fields':_0x5ad0e9,'config':_0xc0e817,'fieldOrder':_0x3145c7};}function Ra(_0x1c740d,_0x1444d4){const _0x2bc726=_0x5670e0;let _0x5ccd33=_0x1444d4?_0x1c740d['fields'][_0x1444d4]:null;return _0x5ccd33?[_0x4fe15f['SingleSelect'],_0x4fe15f[_0x2bc726(0x8b)],_0x4fe15f['Rating'],_0x4fe15f[_0x2bc726(0x36c)],_0x4fe15f['Group'],_0x4fe15f[_0x2bc726(0x1f2)]]['includes'](_0x5ccd33['type']):!0x1;}function za(_0x55d9ae,_0x1a5ced){const _0x47de31=_0x5670e0;return{'id':_0x47de31(0x2f2)+_0xeb2e0b(0x8),'name':ja(_0x55d9ae,_0x47de31(0x271),_0x1a5ced),'type':_0x4fe15f['SingleSelect'],'config':_0x4bf94a[_0x47de31(0x343)](Na)};}function Ba(_0x34f9c3){const _0x553c7a=_0x5670e0;return Object[_0x553c7a(0x3ac)](_0x34f9c3[_0x553c7a(0x407)]??{})['length']===0x0&&Object['keys'](_0x34f9c3['fieldSettings']??{})[_0x553c7a(0x19b)]===0x0;}function Va(_0x1b5726,_0x2a4783,_0x1a343b){const _0xc9ced2=_0x5670e0;let _0x42e958={..._0x2a4783[_0xc9ced2(0x407)]??{}},_0x1e1daf=_0x1a343b['map'](_0x5dad59=>_0x5dad59['id']),_0x24d868=[..._0x1b5726[_0xc9ced2(0x367)],..._0x1e1daf],_0x55ef8e=typeof _0x42e958[_0xc9ced2(0x165)]==_0xc9ced2(0x2dc)&&Ha(_0x1b5726,_0x1a343b,_0x42e958[_0xc9ced2(0x165)])?_0x42e958[_0xc9ced2(0x165)]:_0x1b5726[_0xc9ced2(0x2d7)],_0x194ba0=typeof _0x42e958[_0xc9ced2(0x31e)]=='string'?_0x42e958['startDateFieldId']:'',_0x237cdc=typeof _0x42e958[_0xc9ced2(0x11f)]==_0xc9ced2(0x2dc)?_0x42e958['endDateFieldId']:_0x194ba0,_0x3ecd7f=new Set([_0x55ef8e,_0x194ba0,_0x237cdc][_0xc9ced2(0x364)](_0x3839e3=>_0x3839e3&&Ha(_0x1b5726,_0x1a343b,_0x3839e3))),_0x3a562d=Object[_0xc9ced2(0x3a7)](_0x24d868[_0xc9ced2(0x98)](_0x47ca51=>_0x3ecd7f[_0xc9ced2(0xb9)](_0x47ca51)||!Ha(_0x1b5726,_0x1a343b,_0x47ca51)?[]:[[_0x47ca51,{'hidden':!0x0}]]));return{..._0x2a4783,'config':{..._0x42e958,'titleFieldId':_0x55ef8e},'fieldSettings':_0x3a562d};}function Ha(_0x1f8f43,_0x545521,_0x4e509){const _0x4d472a=_0x5670e0;return!!(_0x1f8f43[_0x4d472a(0x2cb)][_0x4e509]??_0x545521[_0x4d472a(0x361)](_0x51723b=>_0x51723b['id']===_0x4e509))&&!0x0;}function Ua(_0x83727c,_0x1cf80b){const _0x1d79d=_0x5670e0;let _0x29946d=_0x1cf80b?_0x83727c[_0x1d79d(0x2cb)][_0x1cf80b]:null;return!!_0x29946d&&_0x29946d[_0x1d79d(0xeb)]===_0x4fe15f['Date']&&_0x29946d['readonly']!==!0x0&&_0x29946d[_0x1d79d(0x13a)]!==!0x0;}function Wa(_0xce4f70,_0x4bdcd,_0x448355){const _0x5d3114=_0x5670e0;let _0x23329c=new Set([...Object[_0x5d3114(0x3ac)](_0xce4f70[_0x5d3114(0x2cb)]),..._0x4bdcd[_0x5d3114(0x102)](_0x2ae43b=>_0x2ae43b['id'])]),_0x5d9083=_0x5d3114(0x2f2)+_0xeb2e0b(0x8);for(;_0x23329c[_0x5d3114(0xb9)](_0x5d9083);)_0x5d9083='fld-'+_0xeb2e0b(0x8);return{'id':_0x5d9083,'name':ja(_0xce4f70,_0x448355,_0x4bdcd),'type':_0x4fe15f[_0x5d3114(0x1cc)],'config':{...Pa}};}const Ga={'id':_0x5670e0(0x3c6),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x4b49af,_0x21bfd0)=>{const _0x22380d=_0x5670e0;if(!_0x21bfd0)return!0x1;let _0x1706e8=_0x4b49af[_0x22380d(0x2db)](_0x2853e0),{unitId:_0xe2261c,tableId:_0x39fb54,view:_0x35cae5,index:_0x265e71}=_0x21bfd0,_0x4ed117=_0x1706e8['getUnit'](_0xe2261c,_0x1bf49d[_0x22380d(0x373)]);if(!_0x4ed117||!$(_0x4ed117,_0x39fb54)||_0x4ed117[_0x22380d(0x1ec)]()[_0x22380d(0x41c)][_0x39fb54][_0x22380d(0x21f)][_0x35cae5['id']])return!0x1;let _0x4ee1cf=_0x4b49af[_0x22380d(0x2db)](_0x228e7e),_0xcd9eaf=_0x4b49af[_0x22380d(0x2db)](_0x1c7439),_0x41da9e=_0x4ed117[_0x22380d(0x1ec)](),_0x37cd0c=Fa(_0x41da9e,_0x39fb54,_0x35cae5,_0x265e71),_0x471271=new z()[_0x22380d(0x210)](_0x41da9e,_0x37cd0c),_0x407ba0={'historyAction':_0x22380d(0x16f),'unitId':_0xe2261c,'op':_0x37cd0c,'viewType':_0x35cae5[_0x22380d(0xeb)]},_0x59fd91={'historyAction':_0x22380d(0x2bb),'unitId':_0xe2261c,'op':_0x471271,'viewType':_0x35cae5[_0x22380d(0xeb)]};return _0x4ee1cf[_0x22380d(0x2fa)](Q['id'],_0x407ba0)?(_0x1706e8[_0x22380d(0x2d0)](_0xe2261c),_0xcd9eaf[_0x22380d(0x352)]({'unitID':_0xe2261c,'undoMutations':[{'id':Q['id'],'params':_0x59fd91}],'redoMutations':[{'id':Q['id'],'params':_0x407ba0}]}),!0x0):!0x1;}},Ka={'id':'base.command.delete-base-field','type':_0x21089e['COMMAND'],'handler'(_0x5b7d10,_0x2bd23f){const _0x517177=_0x5670e0;if(!_0x2bd23f)return!0x1;let _0xa66e1a=_0x5b7d10[_0x517177(0x2db)](_0x2853e0),{unitId:_0x459c99,tableId:_0xe5851b,fieldId:_0x314ebc}=_0x2bd23f,_0x56694d=_0xa66e1a[_0x517177(0x1b8)](_0x459c99,_0x1bf49d[_0x517177(0x373)]);if(!_0x56694d)return!0x1;let _0x44a250=_0x56694d[_0x517177(0x1ec)](),_0x315c35=_0x44a250[_0x517177(0x41c)][_0xe5851b];if(!$(_0x56694d,_0xe5851b,{'fieldIds':[_0x314ebc]})||_0x315c35[_0x517177(0x2d7)]===_0x314ebc||_0x314ebc===_0x32decc)return!0x1;let _0x3a287d=_0x5b7d10[_0x517177(0x2db)](_0x228e7e),_0x104a6f=_0x5b7d10[_0x517177(0x2db)](_0x1c7439),_0x567130=new W()[_0x517177(0x2c8)](_0x44a250,_0xe5851b,_0x314ebc),_0x306ffe=new z()[_0x517177(0x210)](_0x44a250,_0x567130),_0x23890a={'unitId':_0x459c99,'op':_0x567130},_0x517742={'unitId':_0x459c99,'op':_0x306ffe};return _0x3a287d[_0x517177(0x2fa)](Q['id'],_0x23890a)?(_0xa66e1a['focusUnit'](_0x459c99),_0x104a6f[_0x517177(0x352)]({'unitID':_0x459c99,'undoMutations':[{'id':Q['id'],'params':_0x517742}],'redoMutations':[{'id':Q['id'],'params':_0x23890a}]}),!0x0):!0x1;}},qa={'id':_0x5670e0(0x163),'type':_0x21089e['COMMAND'],'handler':(_0x59b1fe,_0x158a16)=>{const _0x3af330=_0x5670e0;if(!_0x158a16)return!0x1;let _0x278077=_0x59b1fe[_0x3af330(0x2db)](_0x2853e0),{unitId:_0x36a7c8,tableId:_0x4cdfb3,recordId:_0x37adc8}=_0x158a16,_0x40fa49=_0x278077[_0x3af330(0x1b8)](_0x36a7c8,_0x1bf49d[_0x3af330(0x373)]);if(!_0x40fa49||!$(_0x40fa49,_0x4cdfb3,{'recordIds':[_0x37adc8]}))return!0x1;let _0x4c320f=_0x59b1fe['get'](_0x228e7e),_0x311e2b=_0x59b1fe[_0x3af330(0x2db)](_0x1c7439),_0x395b98=_0x40fa49[_0x3af330(0x1ec)](),_0x49a03a=et(_0x395b98[_0x3af330(0x41c)][_0x4cdfb3],[_0x37adc8]),_0xae657f=new W(),_0x4a31d8=new z(),_0x3ef829=_0xae657f['deleteRecord'](_0x395b98,_0x4cdfb3,_0x37adc8),_0x5ac90f=_0x4a31d8[_0x3af330(0x2ee)](_0x395b98,_0x3ef829),_0x30bc2d=_0xae657f[_0x3af330(0x181)](_0x395b98,_0x5ac90f,_0x4cdfb3,[_0x37adc8]),_0x2d70ff={'unitId':_0x36a7c8,'op':_0x3ef829,'hierarchyChanges':_0x49a03a,'source':_0x158a16[_0x3af330(0x2d6)]??'ui'},_0x3e48b0={..._0x2d70ff,'source':_0x3af330(0x41e)},_0x5a89ca={'unitId':_0x36a7c8,'op':_0x30bc2d,'hierarchyChanges':_0x49a03a[_0x3af330(0x102)](_0x284e62=>({..._0x284e62,'oldParentRecordId':_0x284e62[_0x3af330(0x10f)],'parentRecordId':_0x284e62[_0x3af330(0x32c)]})),'source':_0x3af330(0x18b)};return _0x4c320f[_0x3af330(0x2fa)](Q['id'],_0x2d70ff)?(_0x278077['focusUnit'](_0x36a7c8),_0x311e2b[_0x3af330(0x352)]({'unitID':_0x36a7c8,'undoMutations':[{'id':Q['id'],'params':_0x5a89ca}],'redoMutations':[{'id':Q['id'],'params':_0x3e48b0}]}),!0x0):!0x1;}},Ja={'id':_0x5670e0(0xa9),'type':_0x21089e['COMMAND'],'handler':(_0x1766fd,_0xb94daf)=>{const _0x4268b2=_0x5670e0;if(!_0xb94daf)return!0x1;let _0x4bbaa1=_0x1766fd[_0x4268b2(0x2db)](_0x2853e0),{unitId:_0x15f633,tableId:_0x38e379}=_0xb94daf,_0xa2ea2=_0x4bbaa1[_0x4268b2(0x1b8)](_0x15f633,_0x1bf49d['UNIVER_BASE']);if(!_0xa2ea2||!$(_0xa2ea2,_0x38e379))return!0x1;let _0x18f2b1=_0x1766fd['get'](_0x228e7e),_0x4f768f=_0x1766fd['get'](_0x1c7439),_0x574132=_0xa2ea2['getSnapshot'](),_0x511a1d=He(_0x574132,_0x38e379);if(_0x511a1d['length']>0x0)return console[_0x4268b2(0x12e)](_0x4268b2(0x1c2)+_0x38e379+_0x4268b2(0x3b8)+_0x511a1d[_0x4268b2(0x102)](_0x4d3121=>_0x4d3121[_0x4268b2(0x1a4)]+'.'+_0x4d3121[_0x4268b2(0x186)])[_0x4268b2(0x3d6)](',\x20')+'.'),!0x1;let _0x5cac60=new W()[_0x4268b2(0x238)](_0x574132,_0x38e379),_0x5e1bd5=new z()[_0x4268b2(0x210)](_0x574132,_0x5cac60),_0x3bf882={'unitId':_0x15f633,'op':_0x5cac60},_0x1b37b1={'unitId':_0x15f633,'op':_0x5e1bd5};return _0x18f2b1[_0x4268b2(0x2fa)](Q['id'],_0x3bf882)?(_0x4bbaa1['focusUnit'](_0x15f633),_0x4f768f[_0x4268b2(0x352)]({'unitID':_0x15f633,'undoMutations':[{'id':Q['id'],'params':_0x1b37b1}],'redoMutations':[{'id':Q['id'],'params':_0x3bf882}]}),!0x0):!0x1;}},Ya={'id':_0x5670e0(0xd5),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x23ed2e,_0x31246d)=>{const _0x1827d7=_0x5670e0;if(!_0x31246d)return!0x1;let _0x46d4f8=_0x23ed2e[_0x1827d7(0x2db)](_0x2853e0),{unitId:_0x1f6d75,tableId:_0x155f44,viewId:_0x4636e2}=_0x31246d,_0x44acaf=_0x46d4f8[_0x1827d7(0x1b8)](_0x1f6d75,_0x1bf49d[_0x1827d7(0x373)]);if(!_0x44acaf||!$(_0x44acaf,_0x155f44,{'viewIds':[_0x4636e2]}))return!0x1;let _0xb477ca=_0x23ed2e[_0x1827d7(0x2db)](_0x228e7e),_0x3731dd=_0x23ed2e[_0x1827d7(0x2db)](_0x1c7439),_0x4179be=_0x44acaf[_0x1827d7(0x1ec)](),_0x9cba97=_0x4179be[_0x1827d7(0x41c)][_0x155f44][_0x1827d7(0x21f)][_0x4636e2][_0x1827d7(0xeb)],_0x3b5632=new W()[_0x1827d7(0x32b)](_0x4179be,_0x155f44,_0x4636e2),_0x92da43=new z()[_0x1827d7(0x210)](_0x4179be,_0x3b5632),_0x2c3a5e={'historyAction':'delete-view','unitId':_0x1f6d75,'op':_0x3b5632,'viewType':_0x9cba97},_0x1aa7b2={'historyAction':'create-view','unitId':_0x1f6d75,'op':_0x92da43,'viewType':_0x9cba97};return _0xb477ca[_0x1827d7(0x2fa)](Q['id'],_0x2c3a5e)?(_0x46d4f8[_0x1827d7(0x2d0)](_0x1f6d75),_0x3731dd['pushUndoRedo']({'unitID':_0x1f6d75,'undoMutations':[{'id':Q['id'],'params':_0x1aa7b2}],'redoMutations':[{'id':Q['id'],'params':_0x2c3a5e}]}),!0x0):!0x1;}},Xa={'id':'base.command.duplicate-base-field','type':_0x21089e['COMMAND'],'handler':(_0x33e56e,_0x41ede1)=>{const _0x3261e4=_0x5670e0;if(!_0x41ede1)return!0x1;let _0x2de00d=_0x33e56e[_0x3261e4(0x2db)](_0x2853e0),{unitId:_0x115488,tableId:_0x34f5b2,sourceFieldId:_0x32683f,field:_0x43a128,index:_0x1566ca,viewIndexes:_0x1edbc7}=_0x41ede1,_0x1f81a2=_0x2de00d[_0x3261e4(0x1b8)](_0x115488,_0x1bf49d[_0x3261e4(0x373)]);if(!_0x1f81a2||!$(_0x1f81a2,_0x34f5b2,{'fieldIds':[_0x32683f]})||_0x32683f===_0x32decc||_0x1f81a2['getSnapshot']()[_0x3261e4(0x41c)][_0x34f5b2][_0x3261e4(0x2cb)][_0x43a128['id']]||_0x1566ca===0x0||!ha(_0x1f81a2,_0x34f5b2,_0x43a128))return!0x1;let _0x2435df=_0x33e56e[_0x3261e4(0x2db)](_0x228e7e),_0x5b55e7=_0x33e56e['get'](_0x1c7439),_0x2cddd4=_0x1f81a2[_0x3261e4(0x1ec)](),_0x4e48c7=new W()[_0x3261e4(0x116)](_0x2cddd4,_0x34f5b2,_0x32683f,{'field':_0x43a128,'index':_0x1566ca,'viewIndexes':_0x1edbc7}),_0x57afb1=new z()['invertOp'](_0x2cddd4,_0x4e48c7),_0x2671be={'unitId':_0x115488,'op':_0x4e48c7},_0x31c4a9={'unitId':_0x115488,'op':_0x57afb1};return _0x2435df[_0x3261e4(0x2fa)](Q['id'],_0x2671be)?(_0x2de00d[_0x3261e4(0x2d0)](_0x115488),_0x5b55e7['pushUndoRedo']({'unitID':_0x115488,'undoMutations':[{'id':Q['id'],'params':_0x31c4a9}],'redoMutations':[{'id':Q['id'],'params':_0x2671be}]}),!0x0):!0x1;}},Za={'id':_0x5670e0(0x314),'type':_0x21089e['COMMAND'],'handler':(_0x12ffb8,_0x53d363)=>{const _0x3e9b1f=_0x5670e0;if(!_0x53d363)return!0x1;let _0x669baf=_0x12ffb8['get'](_0x2853e0),{unitId:_0x358579,tableId:_0x56b4b9,sourceRecordId:_0x38adc4,record:_0x2f43f5}=_0x53d363,_0x18c621=_0x669baf[_0x3e9b1f(0x1b8)](_0x358579,_0x1bf49d[_0x3e9b1f(0x373)]);if(!_0x18c621||!$(_0x18c621,_0x56b4b9,{'recordIds':[_0x38adc4]})||!_a(_0x18c621,_0x56b4b9,_0x2f43f5))return!0x1;let _0x30c4bd=_0x12ffb8[_0x3e9b1f(0x2db)](_0x228e7e),_0x13c941=_0x12ffb8[_0x3e9b1f(0x2db)](_0x1c7439),_0x383fae=_0x18c621[_0x3e9b1f(0x1ec)](),_0x23a869=va(_0x2f43f5),_0x24660e=Qe(_0x383fae[_0x3e9b1f(0x41c)][_0x56b4b9],[_0x23a869]),_0x285edd=new W()[_0x3e9b1f(0x1b1)](_0x383fae,_0x56b4b9,_0x38adc4,_0x23a869),_0x2a36fe=new z()[_0x3e9b1f(0x210)](_0x383fae,_0x285edd),_0x44b9b9={'unitId':_0x358579,'op':_0x285edd,'hierarchyChanges':_0x24660e['length']?_0x24660e:void 0x0,'source':_0x24660e['length']?_0x53d363['source']??'ui':void 0x0},_0x26e9f2={..._0x44b9b9,'source':_0x24660e['length']?_0x3e9b1f(0x41e):void 0x0},_0x7671ce={'unitId':_0x358579,'op':_0x2a36fe,'hierarchyChanges':_0x24660e[_0x3e9b1f(0x19b)]?_0x24660e['map'](_0x205357=>({..._0x205357,'oldParentRecordId':_0x205357[_0x3e9b1f(0x10f)],'parentRecordId':null})):void 0x0,'source':_0x24660e[_0x3e9b1f(0x19b)]?_0x3e9b1f(0x18b):void 0x0};return _0x30c4bd[_0x3e9b1f(0x2fa)](Q['id'],_0x44b9b9)?(_0x669baf[_0x3e9b1f(0x2d0)](_0x358579),_0x13c941[_0x3e9b1f(0x352)]({'unitID':_0x358579,'undoMutations':[{'id':Q['id'],'params':_0x7671ce}],'redoMutations':[{'id':Q['id'],'params':_0x26e9f2}]}),!0x0):!0x1;}},Qa={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x12aa48,_0x2d16cf){const _0x23d3d2=_0x5670e0;if(!_0x2d16cf)return!0x1;let _0xe503c0=_0x12aa48['get'](_0x2853e0),{unitId:_0x49e8cc,tableId:_0x3041f3,viewId:_0x109689,ensureEndDateField:_0x27e2e0}=_0x2d16cf,_0x48a932=_0xe503c0[_0x23d3d2(0x1b8)](_0x49e8cc,_0x1bf49d[_0x23d3d2(0x373)]);if(!_0x48a932||!$(_0x48a932,_0x3041f3,{'viewIds':[_0x109689]}))return!0x1;let _0xa4284=_0x48a932[_0x23d3d2(0x1ec)](),_0x5c2acf=_0xa4284['tables'][_0x3041f3],_0x40a661=_0x5c2acf==null?void 0x0:_0x5c2acf[_0x23d3d2(0x21f)][_0x109689];if(!_0x5c2acf||!_0x40a661||_0x40a661['type']!==_0x23d3d2(0x1d8)&&_0x40a661[_0x23d3d2(0xeb)]!==_0x23d3d2(0x3ba))return!0x1;let _0x2dc3ab=Ia(_0x5c2acf,_0x40a661,_0x27e2e0===!0x0);if(!_0x2dc3ab[_0x23d3d2(0x13c)])return!0x1;let _0x5d6213=_0x12aa48[_0x23d3d2(0x2db)](_0x228e7e),_0x2c410f=_0x12aa48[_0x23d3d2(0x2db)](_0x1c7439),_0x59c590=new W(),_0x1f22cd=[..._0x2dc3ab[_0x23d3d2(0x2cb)]['map'](_0x402448=>_0x59c590[_0x23d3d2(0x28c)](_0xa4284,_0x2d16cf[_0x23d3d2(0x1a4)],{'field':_0x402448})),$a([...eo(_0x2d16cf[_0x23d3d2(0x1a4)],_0x2d16cf[_0x23d3d2(0xc1)]),_0x23d3d2(0x407)],_0x40a661['config'],_0x2dc3ab[_0x23d3d2(0x407)])];_0x2dc3ab[_0x23d3d2(0x367)]&&_0x1f22cd[_0x23d3d2(0x393)]($a([...eo(_0x2d16cf[_0x23d3d2(0x1a4)],_0x2d16cf[_0x23d3d2(0xc1)]),_0x23d3d2(0x367)],_0x40a661['fieldOrder'],_0x2dc3ab[_0x23d3d2(0x367)]));let _0xce37a1=R(_0x1f22cd),_0x31aa52=new z()['invertOp'](_0xa4284,_0xce37a1),_0x10ca9a={'unitId':_0x49e8cc,'op':_0xce37a1},_0x42384a={'unitId':_0x49e8cc,'op':_0x31aa52};return _0x5d6213[_0x23d3d2(0x2fa)](Q['id'],_0x10ca9a)?(_0xe503c0[_0x23d3d2(0x2d0)](_0x49e8cc),_0x2c410f[_0x23d3d2(0x352)]({'unitID':_0x49e8cc,'undoMutations':[{'id':Q['id'],'params':_0x42384a}],'redoMutations':[{'id':Q['id'],'params':_0x10ca9a}]}),!0x0):!0x1;}};function $a(_0x5ee419,_0x25e1df,_0xb149a3){const _0x5bc412=_0x5670e0;return _0x25e1df===void 0x0?_0x23944c[_0x5bc412(0x3fd)](_0x5ee419,_0xb149a3):_0x23944c[_0x5bc412(0x385)](_0x5ee419,_0x25e1df,_0xb149a3);}function eo(_0x585b24,_0x1c7ac9){const _0x18d0c6=_0x5670e0;return[_0x18d0c6(0x41c),_0x585b24,_0x18d0c6(0x21f),_0x1c7ac9];}const to={'id':_0x5670e0(0xd3),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x2447fc,_0x1f20fc)=>{const _0x2b5f14=_0x5670e0;if(!_0x1f20fc)return!0x1;let _0xb75b68=_0x2447fc['get'](_0x2853e0),{unitId:_0x32e6ef,tableId:_0x477626,fieldId:_0x1b7eac,target:_0x20c431}=_0x1f20fc,_0x47ea0a=_0xb75b68[_0x2b5f14(0x1b8)](_0x32e6ef,_0x1bf49d['UNIVER_BASE']),_0x5002d0=_0x20c431[_0x2b5f14(0x170)]??_0x20c431[_0x2b5f14(0x265)];if(!_0x47ea0a||!!_0x20c431[_0x2b5f14(0x170)]==!!_0x20c431[_0x2b5f14(0x265)]||!_0x5002d0||_0x5002d0===_0x1b7eac||_0x1b7eac===_0x32decc||_0x20c431[_0x2b5f14(0x170)]===_0x32decc||!$(_0x47ea0a,_0x477626,{'fieldIds':[_0x1b7eac,_0x5002d0]}))return!0x1;let _0x304ad2=_0x2447fc[_0x2b5f14(0x2db)](_0x228e7e),_0xb27b88=_0x2447fc[_0x2b5f14(0x2db)](_0x1c7439),_0xa8d70d=_0x47ea0a[_0x2b5f14(0x1ec)](),_0x31fce3=new W()['moveField'](_0xa8d70d,_0x477626,_0x1b7eac,_0x20c431),_0x1b64b5=new z()['invertOp'](_0xa8d70d,_0x31fce3),_0x2423f7={'unitId':_0x32e6ef,'op':_0x31fce3},_0x933923={'unitId':_0x32e6ef,'op':_0x1b64b5};return _0x304ad2[_0x2b5f14(0x2fa)](Q['id'],_0x2423f7)?(_0xb75b68[_0x2b5f14(0x2d0)](_0x32e6ef),_0xb27b88['pushUndoRedo']({'unitID':_0x32e6ef,'undoMutations':[{'id':Q['id'],'params':_0x933923}],'redoMutations':[{'id':Q['id'],'params':_0x2423f7}]}),!0x0):!0x1;}},no={'id':_0x5670e0(0x94),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x50de5b,_0xe30d92)=>{const _0x210d82=_0x5670e0;var _0x3d0976;if(!_0xe30d92)return!0x1;let {unitId:_0x180fa1,tableId:_0x341b45,recordId:_0xe65bea,parentRecordId:_0x52aa53,orderKey:_0x1caa39}=_0xe30d92,_0x30ac75=_0x50de5b[_0x210d82(0x2db)](_0x2853e0),_0x2e21bb=_0x30ac75[_0x210d82(0x1b8)](_0x180fa1,_0x1bf49d[_0x210d82(0x373)]);if(!_0x2e21bb||!$(_0x2e21bb,_0x341b45,{'recordIds':[_0xe65bea,..._0x52aa53?[_0x52aa53]:[]]}))throw new P(_0x210d82(0x32d));let _0x2f77d5=_0x2e21bb[_0x210d82(0x1ec)](),_0x129322=_0x2f77d5[_0x210d82(0x41c)][_0x341b45],_0x276a45=qe(_0x129322),_0x23aaba=_0x276a45??_0xe30d92['fieldId']??Je(_0x129322);if(_0x276a45&&_0xe30d92['fieldId']&&_0xe30d92[_0x210d82(0x186)]!==_0x276a45||_0x129322[_0x210d82(0x2cb)][_0x23aaba]&&!F(_0x129322,_0x23aaba))throw new P('invalidField');let _0x32d2d5=tt(_0x129322,_0x23aaba),_0x3a9163=it(_0x32d2d5,_0xe65bea,_0x52aa53);if(!_0x3a9163[_0x210d82(0x246)])throw new P(_0x3a9163[_0x210d82(0x37a)]===_0x244f2c[_0x210d82(0x232)]?_0x210d82(0x1f1):_0x3a9163[_0x210d82(0x37a)]===_0x244f2c[_0x210d82(0x355)]?_0x210d82(0xfb):_0x210d82(0x245));let _0x2ce398=_0x32d2d5['parentByRecordId']['get'](_0xe65bea)??null,_0x323dc4=_0x129322[_0x210d82(0x83)][_0xe65bea][_0x210d82(0x27b)];if(_0x2ce398===_0x52aa53&&(_0x1caa39===void 0x0||_0x1caa39===_0x323dc4))return!0x0;let _0x3b09f0=_0x2ce398!==_0x52aa53,_0x5b9beb=_0x1caa39!==void 0x0&&_0x1caa39!==_0x323dc4,_0x3e66fc=new W(),_0x334415=[],_0x23a70c=_0x129322[_0x210d82(0x2cb)][_0x23aaba],_0x3defbf=_0x3b09f0&&(!_0x23a70c||((_0x3d0976=N(_0x23a70c))==null?void 0x0:_0x3d0976[_0x210d82(0x1bc)])!==_0x309088['Parent'])?_0x23a70c?_0x3e66fc[_0x210d82(0x1a9)](_0x2f77d5,_0x341b45,_0x23aaba,{'config':{..._0x23a70c[_0x210d82(0x407)],'relationRole':_0x309088[_0x210d82(0x1e0)]}}):_0x50de5b[_0x210d82(0x2db)](Kr)[_0x210d82(0x28b)](_0x2e21bb,_0x341b45,Ye(_0x129322,_0x23aaba,_0xe30d92[_0x210d82(0x167)]),_0x129322[_0x210d82(0x367)][_0x210d82(0x19b)]):null;_0x3defbf&&_0x334415['push'](_0x3defbf),_0x3b09f0&&_0x334415[_0x210d82(0x393)](_0x3e66fc[_0x210d82(0x20b)](_0x2f77d5,_0x341b45,_0xe65bea,_0x23aaba,_0x52aa53?Re([_0x52aa53]):'')),_0x5b9beb&&_0x334415['push'](_0x3e66fc[_0x210d82(0x392)](_0x2f77d5,_0x341b45,_0xe65bea,_0x1caa39));let _0xb2be7=R(_0x334415),_0x4c1741={'tableId':_0x341b45,'fieldId':_0x23aaba,'recordId':_0xe65bea,'oldParentRecordId':_0x2ce398,'parentRecordId':_0x52aa53},_0x4e0ae4={'unitId':_0x180fa1,'op':_0xb2be7,'trigger':no['id'],'hierarchyChanges':[_0x4c1741],'source':_0xe30d92['source']??'ui'},_0x10eb13={..._0x4e0ae4,'source':'redo'};if(!_0x50de5b[_0x210d82(0x2db)](_0x228e7e)[_0x210d82(0x2fa)](Q['id'],_0x4e0ae4))return!0x1;let _0x5355dc=_0x2e21bb[_0x210d82(0x1ec)](),_0x520f85=[];_0x3b09f0&&_0x520f85[_0x210d82(0x393)](ro(_0x5355dc,_0x2f77d5,_0x341b45,_0xe65bea,_0x23aaba)),_0x5b9beb&&_0x520f85['push'](io(_0x5355dc,_0x2f77d5,_0x341b45,_0xe65bea)),_0x3defbf&&_0x520f85[_0x210d82(0x393)](new z()[_0x210d82(0x210)](_0x2f77d5,_0x3defbf));let _0x31e335={'unitId':_0x180fa1,'op':R(_0x520f85),'trigger':no['id'],'hierarchyChanges':[{..._0x4c1741,'oldParentRecordId':_0x52aa53,'parentRecordId':_0x2ce398}],'source':_0x210d82(0x18b)};return _0x30ac75[_0x210d82(0x2d0)](_0x180fa1),_0x50de5b[_0x210d82(0x2db)](_0x1c7439)[_0x210d82(0x352)]({'unitID':_0x180fa1,'undoMutations':[{'id':Q['id'],'params':_0x31e335}],'redoMutations':[{'id':Q['id'],'params':_0x10eb13}]}),!0x0;}};function ro(_0xbff1d0,_0x387b04,_0x2c9a2d,_0x31c595,_0x2e2001){const _0x420f35=_0x5670e0;var _0x57cd5b,_0x20f984,_0x2ed83a,_0x4f8e2f,_0x11e4bc,_0x11c684,_0x1b5746,_0x39bbb0;let _0x539f85=_0xbff1d0['tables'][_0x2c9a2d],_0x383c42=_0x387b04['tables'][_0x2c9a2d],_0x31fa2e=(_0x57cd5b=_0x539f85['rowIndex'])==null?void 0x0:_0x57cd5b[_0x31c595],_0x3d4a83=(_0x20f984=_0x539f85[_0x420f35(0xb6)])==null?void 0x0:_0x20f984[_0x2e2001],_0x5b9849=(_0x2ed83a=_0x383c42[_0x420f35(0x250)])==null?void 0x0:_0x2ed83a[_0x31c595],_0x535621=(_0x4f8e2f=_0x383c42[_0x420f35(0xb6)])==null?void 0x0:_0x4f8e2f[_0x2e2001],_0x34c1c2=_0x31fa2e==null||_0x3d4a83==null||(_0x11e4bc=_0x539f85[_0x420f35(0x259)])==null||(_0x11e4bc=_0x11e4bc[_0x31fa2e])==null?void 0x0:_0x11e4bc[_0x3d4a83],_0x32c9f6=_0x5b9849==null||_0x535621==null||(_0x11c684=_0x383c42[_0x420f35(0x259)])==null||(_0x11c684=_0x11c684[_0x5b9849])==null?void 0x0:_0x11c684[_0x535621],_0x387aaa=(_0x1b5746=_0x539f85[_0x420f35(0x83)][_0x31c595])==null?void 0x0:_0x1b5746[_0x420f35(0x1c8)][_0x2e2001],_0x554cca=(_0x39bbb0=_0x383c42['records'][_0x31c595])==null?void 0x0:_0x39bbb0[_0x420f35(0x1c8)][_0x2e2001],_0x4bb9b7=[],_0x20cc35=ao(_0x31fa2e==null||_0x3d4a83==null?null:U['cellData'](_0x2c9a2d,_0x31fa2e,_0x3d4a83),_0x34c1c2,_0x32c9f6);_0x20cc35&&_0x4bb9b7[_0x420f35(0x393)](_0x20cc35);let _0x4f7200=ao(U[_0x420f35(0x96)](_0x2c9a2d,_0x31c595,_0x2e2001),_0x387aaa,_0x554cca);return _0x4f7200&&_0x4bb9b7[_0x420f35(0x393)](_0x4f7200),R(_0x4bb9b7);}function io(_0x29dfc2,_0x2a70aa,_0xba2266,_0x3d973e){const _0x5d865b=_0x5670e0;var _0x851dfc,_0x560aac;let _0x4df8dc=_0x29dfc2[_0x5d865b(0x41c)][_0xba2266],_0x3193a2=_0x2a70aa['tables'][_0xba2266];return R([ao([...U['record'](_0xba2266,_0x3d973e),'orderKey'],(_0x851dfc=_0x4df8dc[_0x5d865b(0x83)][_0x3d973e])==null?void 0x0:_0x851dfc[_0x5d865b(0x27b)],(_0x560aac=_0x3193a2['records'][_0x3d973e])==null?void 0x0:_0x560aac['orderKey']),ao([...U['table'](_0xba2266),'recordOrder'],_0x4df8dc[_0x5d865b(0x411)],_0x3193a2[_0x5d865b(0x411)])][_0x5d865b(0x364)](_0x14cc3c=>!!_0x14cc3c));}function ao(_0x76f585,_0x3950b2,_0x4a39a0){const _0x36b729=_0x5670e0;if(!_0x76f585||_0x3950b2===void 0x0&&_0x4a39a0===void 0x0)return null;let _0x1b6d5d=_0x346613[_0x36b729(0x36b)]();return _0x4a39a0===void 0x0?_0x1b6d5d[_0x36b729(0x2f9)](_0x76f585,_0x3950b2):_0x3950b2===void 0x0?_0x1b6d5d[_0x36b729(0x3fd)](_0x76f585,_0x4a39a0):_0x1b6d5d['replaceOp'](_0x76f585,_0x3950b2,_0x4a39a0);}const oo={'id':'base.command.move-base-view','type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x9f647b,_0x448e45)=>{const _0x247c3a=_0x5670e0;if(!_0x448e45)return!0x1;let _0x2d11d9=_0x9f647b[_0x247c3a(0x2db)](_0x2853e0),{unitId:_0x3c2ead,tableId:_0x5c9165,viewId:_0x1f2e4,target:_0x303e9d}=_0x448e45,_0x262dc4=_0x2d11d9[_0x247c3a(0x1b8)](_0x3c2ead,_0x1bf49d[_0x247c3a(0x373)]),_0x432229=_0x303e9d[_0x247c3a(0x16b)]??_0x303e9d['afterViewId'];if(!_0x262dc4||!_0x432229||_0x432229===_0x1f2e4||!$(_0x262dc4,_0x5c9165,{'viewIds':[_0x1f2e4,_0x432229]}))return!0x1;let _0x34b7bd=_0x9f647b[_0x247c3a(0x2db)](_0x228e7e),_0x5b3f31=_0x9f647b[_0x247c3a(0x2db)](_0x1c7439),_0x15b558=_0x262dc4[_0x247c3a(0x1ec)](),_0x139b8d=new W()[_0x247c3a(0x38e)](_0x15b558,_0x5c9165,_0x1f2e4,_0x303e9d),_0x19dad9=new z()[_0x247c3a(0x210)](_0x15b558,_0x139b8d),_0x6d8a74={'unitId':_0x3c2ead,'op':_0x139b8d},_0x138c75={'unitId':_0x3c2ead,'op':_0x19dad9};return _0x34b7bd[_0x247c3a(0x2fa)](Q['id'],_0x6d8a74)?(_0x2d11d9['focusUnit'](_0x3c2ead),_0x5b3f31[_0x247c3a(0x352)]({'unitID':_0x3c2ead,'undoMutations':[{'id':Q['id'],'params':_0x138c75}],'redoMutations':[{'id':Q['id'],'params':_0x6d8a74}]}),!0x0):!0x1;}},so={'id':_0x5670e0(0x33e),'type':_0x21089e['COMMAND'],'handler':(_0x71825c,_0x4159bf)=>{const _0x51966c=_0x5670e0;if(!_0x4159bf)return!0x1;let _0x4b3146=_0x71825c[_0x51966c(0x2db)](_0x2853e0),{unitId:_0x57fc00,tableId:_0x13afa4,name:_0x57bafd}=_0x4159bf,_0x15eac1=_0x4b3146[_0x51966c(0x1b8)](_0x57fc00,_0x1bf49d[_0x51966c(0x373)]);if(!_0x15eac1||!$(_0x15eac1,_0x13afa4)||!Oa(_0x15eac1[_0x51966c(0x1ec)](),_0x57bafd,_0x13afa4)[_0x51966c(0x246)])return!0x1;let _0x16c05f=_0x71825c[_0x51966c(0x2db)](_0x228e7e),_0x54ea58=_0x71825c[_0x51966c(0x2db)](_0x1c7439),_0x2e7342=_0x15eac1['getSnapshot'](),_0x145c56=new W()[_0x51966c(0x233)](_0x2e7342,_0x13afa4,_0x57bafd),_0x421ea2=new z()[_0x51966c(0x210)](_0x2e7342,_0x145c56),_0xd5b338={'unitId':_0x57fc00,'op':_0x145c56},_0x2c100a={'unitId':_0x57fc00,'op':_0x421ea2};return _0x16c05f[_0x51966c(0x2fa)](Q['id'],_0xd5b338)?(_0x4b3146[_0x51966c(0x2d0)](_0x57fc00),_0x54ea58[_0x51966c(0x352)]({'unitID':_0x57fc00,'undoMutations':[{'id':Q['id'],'params':_0x2c100a}],'redoMutations':[{'id':Q['id'],'params':_0xd5b338}]}),!0x0):!0x1;}},co={'id':_0x5670e0(0xf6),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x36f9b5,_0x52a162)=>{const _0x5f0853=_0x5670e0;if(!_0x52a162)return!0x1;let _0x36ffd1=_0x36f9b5[_0x5f0853(0x2db)](_0x2853e0),{unitId:_0x1362fd,tableId:_0x331b16,viewId:_0x2436e3,name:_0x8c43a4}=_0x52a162,_0xd737f8=_0x36ffd1[_0x5f0853(0x1b8)](_0x1362fd,_0x1bf49d['UNIVER_BASE']);if(!_0xd737f8||!$(_0xd737f8,_0x331b16,{'viewIds':[_0x2436e3]}))return!0x1;let _0x4d82f3=_0x36f9b5[_0x5f0853(0x2db)](_0x228e7e),_0x5e111f=_0x36f9b5['get'](_0x1c7439),_0x34c64b=_0xd737f8[_0x5f0853(0x1ec)](),_0x1b9e9b=new W()[_0x5f0853(0x334)](_0x34c64b,_0x331b16,_0x2436e3,_0x8c43a4),_0x19f13c=new z()['invertOp'](_0x34c64b,_0x1b9e9b),_0x3aeabc={'unitId':_0x1362fd,'op':_0x1b9e9b},_0x183b89={'unitId':_0x1362fd,'op':_0x19f13c};return _0x4d82f3[_0x5f0853(0x2fa)](Q['id'],_0x3aeabc)?(_0x36ffd1[_0x5f0853(0x2d0)](_0x1362fd),_0x5e111f[_0x5f0853(0x352)]({'unitID':_0x1362fd,'undoMutations':[{'id':Q['id'],'params':_0x183b89}],'redoMutations':[{'id':Q['id'],'params':_0x3aeabc}]}),!0x0):!0x1;}},lo={'id':'base.command.set-base-kanban-group-field','type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x572a05,_0x4b4a76)=>{const _0x39ec4a=_0x5670e0;if(!_0x4b4a76)return!0x1;let _0x1462d7=_0x572a05['get'](_0x2853e0),{unitId:_0xc8ebab,tableId:_0x1e1a2c,viewId:_0x5ba332,fieldId:_0x16d853}=_0x4b4a76,_0x373501=_0x1462d7[_0x39ec4a(0x1b8)](_0xc8ebab,_0x1bf49d['UNIVER_BASE']);if(!_0x373501||!$(_0x373501,_0x1e1a2c,{'viewIds':[_0x5ba332],'fieldIds':[_0x16d853]}))return!0x1;let _0x2e5473=_0x572a05[_0x39ec4a(0x2db)](_0x228e7e),_0x154c5c=_0x572a05[_0x39ec4a(0x2db)](_0x1c7439),_0x121e0b=_0x373501[_0x39ec4a(0x1ec)](),_0x4d6a42=new W()[_0x39ec4a(0x35c)](_0x121e0b,_0x1e1a2c,_0x5ba332,{'groupFieldId':_0x16d853}),_0x5fe28=new z()['invertOp'](_0x121e0b,_0x4d6a42),_0x535ca0={'unitId':_0xc8ebab,'op':_0x4d6a42},_0x373833={'unitId':_0xc8ebab,'op':_0x5fe28};return _0x2e5473[_0x39ec4a(0x2fa)](Q['id'],_0x535ca0)?(_0x1462d7[_0x39ec4a(0x2d0)](_0xc8ebab),_0x154c5c[_0x39ec4a(0x352)]({'unitID':_0xc8ebab,'undoMutations':[{'id':Q['id'],'params':_0x373833}],'redoMutations':[{'id':Q['id'],'params':_0x535ca0}]}),!0x0):!0x1;}},uo={'id':_0x5670e0(0x3e8),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x41881b,_0x5b9a4d)=>{const _0x298730=_0x5670e0;if(!_0x5b9a4d)return!0x1;let _0xd044bf=_0x41881b[_0x298730(0x2db)](_0x2853e0),_0x1f2e2f=_0xd044bf[_0x298730(0x1b8)](_0x5b9a4d[_0x298730(0x39d)],_0x1bf49d[_0x298730(0x373)]);if(!_0x1f2e2f)return!0x1;let _0x3b7115=_0x1f2e2f[_0x298730(0x1ec)]()[_0x298730(0x26f)];if(_0x3b7115===_0x5b9a4d[_0x298730(0x26f)])return!0x0;let _0x528274=new W(),_0x2c7ebe=new z(),_0x191608=[],_0x5849c5=[],_0x5e283b=[_0x1f2e2f,..._0xd044bf[_0x298730(0x2aa)](_0x1bf49d[_0x298730(0x373)])[_0x298730(0x364)](_0x17f788=>_0x17f788[_0x298730(0x2a0)]()!==_0x5b9a4d[_0x298730(0x39d)])];for(let _0x572dae of _0x5e283b){let _0x4d6d68=_0x572dae[_0x298730(0x1ec)](),_0x19d83e=_0x572dae===_0x1f2e2f?_0x528274[_0x298730(0x25f)](_0x4d6d68,_0x5b9a4d[_0x298730(0x26f)]):_0x528274[_0x298730(0x24e)](_0x4d6d68,_0x3b7115,_0x5b9a4d[_0x298730(0x26f)]);_0x19d83e&&(_0x191608[_0x298730(0x393)]({'id':Q['id'],'params':{'unitId':_0x572dae[_0x298730(0x2a0)](),'op':_0x19d83e,'trigger':uo['id']}}),_0x5849c5[_0x298730(0x3b4)]({'id':Q['id'],'params':{'unitId':_0x572dae[_0x298730(0x2a0)](),'op':_0x2c7ebe[_0x298730(0x210)](_0x4d6d68,_0x19d83e),'trigger':uo['id']}}));}let _0x455e92=_0x41881b[_0x298730(0x2db)](_0x228e7e),_0x4e7a33=_0x41881b['get'](_0x1c7439),_0x17ee4f=_0x4e7a33[_0x298730(0x1ca)](_0x5b9a4d[_0x298730(0x39d)]);try{return _0x2182cb(_0x191608,_0x455e92)[_0x298730(0x23b)]?(_0xd044bf[_0x298730(0x2d0)](_0x5b9a4d['unitId']),_0x4e7a33[_0x298730(0x352)]({'unitID':_0x5b9a4d['unitId'],'undoMutations':_0x5849c5,'redoMutations':_0x191608}),!0x0):!0x1;}finally{_0x17ee4f['dispose']();}}},fo={'type':_0x21089e[_0x5670e0(0x345)],'id':_0x5670e0(0x3e0),async 'handler'(_0x3c76eb,_0x2f644c){const _0x277625=_0x5670e0;if(!_0x2f644c||!Tr[_0x277625(0x173)](_0x2f644c[_0x277625(0x1d2)])||_0x2f644c[_0x277625(0xba)]!==_0x2f644c[_0x277625(0x39d)]&&_0x2f644c[_0x277625(0x1d2)]!==_0x5ebf52['Edit']||_0x2f644c['policy']&&(![_0x277625(0x3ab),_0x277625(0x286),_0x277625(0x2f1)][_0x277625(0x173)](_0x2f644c[_0x277625(0x203)][_0x277625(0x1b7)])||_0x2f644c['policy'][_0x277625(0x144)][_0x277625(0x1c1)](_0x493ee9=>!Tr[_0x277625(0x173)](_0x493ee9[_0x277625(0x1d2)])||_0x2f644c['objectId']!==_0x2f644c['unitId']&&_0x493ee9[_0x277625(0x1d2)]!==_0x5ebf52[_0x277625(0x29b)])))return!0x1;let _0x57e1a1=Pr(_0x2f644c[_0x277625(0x39d)],_0x2f644c['objectId'],_0x2f644c[_0x277625(0x1d2)]),_0xe8305f={'unitId':_0x2f644c['unitId'],'objectId':_0x2f644c[_0x277625(0xba)],'objectType':_0x57e1a1[_0x277625(0xeb)]},_0x521d4b=_0x3c76eb[_0x277625(0x2db)](_0x33f458);return _0x2f644c[_0x277625(0x366)]?await _0x521d4b[_0x277625(0x366)](_0xe8305f):_0x2f644c['policy']?await _0x521d4b[_0x277625(0x2d1)](_0xe8305f,_0x2f644c[_0x277625(0x203)]):await _0x521d4b['setPoint'](_0xe8305f,_0x57e1a1,_0x2f644c[_0x277625(0x38a)]),!0x0;}},po={'type':_0x21089e[_0x5670e0(0x345)],'id':_0x5670e0(0xc5),async 'handler'(_0x23ed10,_0x52b6c4){const _0x38deee=_0x5670e0;if(!(_0x52b6c4!=null&&_0x52b6c4[_0x38deee(0x39d)])||!Array[_0x38deee(0x99)](_0x52b6c4[_0x38deee(0x3c3)])||!_0x52b6c4[_0x38deee(0x3c3)]['length']||_0x52b6c4[_0x38deee(0x3c3)][_0x38deee(0x1c1)](_0x4869bf=>!(_0x4869bf!=null&&_0x4869bf['objectId'])||_0x4869bf[_0x38deee(0xba)]===_0x52b6c4[_0x38deee(0x39d)]||_0x4869bf[_0x38deee(0x203)]!==null&&(!_0x4869bf[_0x38deee(0x203)]||![_0x38deee(0x3ab),_0x38deee(0x286),_0x38deee(0x2f1)]['includes'](_0x4869bf[_0x38deee(0x203)][_0x38deee(0x1b7)])||!Array[_0x38deee(0x99)](_0x4869bf['policy']['collaborators'])||!Array[_0x38deee(0x99)](_0x4869bf[_0x38deee(0x203)][_0x38deee(0x144)])||_0x4869bf[_0x38deee(0x203)][_0x38deee(0x144)][_0x38deee(0x1c1)](_0x530759=>_0x530759['action']!==_0x5ebf52['Edit']))))throw Error(_0x38deee(0x287));return _0x23ed10[_0x38deee(0x2db)](_0x33f458)[_0x38deee(0x263)](_0x52b6c4[_0x38deee(0x3c3)][_0x38deee(0x102)](_0x11ce7b=>{const _0x3e35bf=_0x38deee;let _0x254b54=Pr(_0x52b6c4['unitId'],_0x11ce7b[_0x3e35bf(0xba)],_0x5ebf52[_0x3e35bf(0x29b)]);return{'unitId':_0x52b6c4[_0x3e35bf(0x39d)],'objectId':_0x11ce7b[_0x3e35bf(0xba)],'objectType':_0x254b54[_0x3e35bf(0xeb)],'policy':_0x11ce7b[_0x3e35bf(0x203)]};}));}};function mo(_0x2c48f0,_0x3fe53d){const _0x582c1c=_0x5670e0;let _0x136a18=L(_0x4bf94a[_0x582c1c(0x343)](_0x2c48f0)),_0x43800e=new Map();return _0x3fe53d[_0x582c1c(0x143)](_0x3936ac=>{const _0x5e2418=_0x582c1c;var _0x5b551b,_0x488c28;let _0xbfabf4='recordId'in _0x3936ac?_0x3936ac[_0x5e2418(0x191)]:(_0x5b551b=_0x136a18[_0x5e2418(0x2ea)])==null?void 0x0:_0x5b551b[_0x3936ac[_0x5e2418(0x24b)]],_0x25d9b3=_0x5e2418(0x186)in _0x3936ac?_0x3936ac[_0x5e2418(0x186)]:(_0x488c28=_0x136a18[_0x5e2418(0x18c)])==null?void 0x0:_0x488c28[_0x3936ac[_0x5e2418(0x324)]],_0x243db5=_0x25d9b3?_0x136a18['fields'][_0x25d9b3]:void 0x0;if(!_0xbfabf4||!_0x25d9b3||!_0x243db5||!_0x136a18[_0x5e2418(0x83)][_0xbfabf4])return;let _0x655736=xt(_0x3936ac[_0x5e2418(0x38a)],_0x243db5),_0x41e2c2=wt(_0x3936ac[_0x5e2418(0x38a)],_0x655736,_0x243db5,_0x136a18,_0xbfabf4),_0x12832a=_0x43800e[_0x5e2418(0x2db)](_0xbfabf4)??{};_0x12832a[_0x25d9b3]=_0x41e2c2,_0x43800e[_0x5e2418(0x2b8)](_0xbfabf4,_0x12832a);}),[..._0x43800e][_0x582c1c(0x102)](([_0x2f4e83,_0x18d315])=>({'recordId':_0x2f4e83,'values':_0x18d315}));}const ho={'id':'base.command.set-base-range-values','type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x4548c9,_0x34b5b7){const _0xae8a9c=_0x5670e0;if(!_0x34b5b7)return!0x1;let _0x20d535=_0x4548c9[_0xae8a9c(0x2db)](_0x2853e0),{unitId:_0x4dda44,tableId:_0x12e7b0,patches:_0x13d900}=_0x34b5b7,_0x41bf44=_0x20d535[_0xae8a9c(0x1b8)](_0x4dda44,_0x1bf49d[_0xae8a9c(0x373)]);if(!_0x41bf44||!$(_0x41bf44,_0x12e7b0))return!0x1;let _0x29fd42=_0x4548c9[_0xae8a9c(0x2db)](_0x228e7e),_0x1bdbf6=_0x4548c9['get'](_0x1c7439),_0x1f5e34=_0x41bf44[_0xae8a9c(0x1ec)](),_0x323129=L(_0x1f5e34[_0xae8a9c(0x41c)][_0x12e7b0]),_0x491a38=_0x13d900[_0xae8a9c(0x102)](_0x140590=>{const _0x5006b4=_0xae8a9c;var _0x576173;return _0x5006b4(0x191)in _0x140590?_0x140590['recordId']:(_0x576173=_0x323129[_0x5006b4(0x2ea)])==null?void 0x0:_0x576173[_0x140590['row']];})['filter'](_0x31ef70=>_0x31ef70!=null),_0x46ad33=_0x13d900[_0xae8a9c(0x102)](_0x3238f6=>{const _0x40f4c7=_0xae8a9c;var _0x1b2e62;return _0x40f4c7(0x186)in _0x3238f6?_0x3238f6[_0x40f4c7(0x186)]:(_0x1b2e62=_0x323129[_0x40f4c7(0x18c)])==null?void 0x0:_0x1b2e62[_0x3238f6[_0x40f4c7(0x324)]];})[_0xae8a9c(0x364)](_0x1dec86=>_0x1dec86!=null);if(_0x491a38['length']!==_0x13d900[_0xae8a9c(0x19b)]||_0x46ad33[_0xae8a9c(0x19b)]!==_0x13d900[_0xae8a9c(0x19b)]||!$(_0x41bf44,_0x12e7b0,{'recordIds':_0x491a38,'fieldIds':_0x46ad33})||_0x13d900[_0xae8a9c(0x1c1)]((_0x261585,_0x2d0ab4)=>!ga(_0x41bf44,_0x12e7b0,_0x46ad33[_0x2d0ab4],_0x261585[_0xae8a9c(0x38a)])))return!0x1;let _0x2925a1=Ze(_0x323129,mo(_0x323129,_0x13d900)),_0x2d2a1f=_0x13d900[_0xae8a9c(0x98)](_0x3ab277=>{const _0x345fc3=_0xae8a9c;var _0x44e65a,_0x239031;if(_0x345fc3(0x24b)in _0x3ab277)return[_0x3ab277];let _0x156008=(_0x44e65a=_0x323129[_0x345fc3(0x250)])==null?void 0x0:_0x44e65a[_0x3ab277[_0x345fc3(0x191)]],_0x26d314=(_0x239031=_0x323129[_0x345fc3(0xb6)])==null?void 0x0:_0x239031[_0x3ab277[_0x345fc3(0x186)]];return _0x156008==null||_0x26d314==null?[]:[{'row':_0x156008,'col':_0x26d314,'value':_0x3ab277[_0x345fc3(0x38a)]}];}),_0x46a910=new W()[_0xae8a9c(0x38b)](_0x1f5e34,_0x12e7b0,_0x2d2a1f),_0x20f7cf=new z()[_0xae8a9c(0x210)](_0x1f5e34,_0x46a910),_0x217983={'unitId':_0x4dda44,'op':_0x46a910,'trigger':_0x2925a1[_0xae8a9c(0x19b)]?ho['id']:void 0x0,'hierarchyChanges':_0x2925a1['length']?_0x2925a1:void 0x0,'source':_0x2925a1[_0xae8a9c(0x19b)]?_0xae8a9c(0x41e):void 0x0},_0x3e0148={'unitId':_0x4dda44,'op':_0x20f7cf,'trigger':_0x2925a1[_0xae8a9c(0x19b)]?ho['id']:void 0x0,'hierarchyChanges':_0x2925a1[_0xae8a9c(0x19b)]?_0x2925a1[_0xae8a9c(0x102)](_0x493e12=>({..._0x493e12,'oldParentRecordId':_0x493e12['parentRecordId'],'parentRecordId':_0x493e12[_0xae8a9c(0x32c)]})):void 0x0,'source':_0x2925a1[_0xae8a9c(0x19b)]?_0xae8a9c(0x18b):void 0x0},_0x127d54={..._0x217983,'source':_0x2925a1[_0xae8a9c(0x19b)]?_0x34b5b7[_0xae8a9c(0x2d6)]??'ui':void 0x0};return _0x29fd42[_0xae8a9c(0x2fa)](Q['id'],_0x127d54)?(_0x20d535[_0xae8a9c(0x2d0)](_0x4dda44),_0x1bdbf6['pushUndoRedo']({'unitID':_0x4dda44,'undoMutations':[{'id':Q['id'],'params':_0x3e0148}],'redoMutations':[{'id':Q['id'],'params':_0x217983}]}),!0x0):!0x1;}},go={'id':_0x5670e0(0x3de),'type':_0x21089e['COMMAND'],'handler'(_0x2cfce7,_0x175629){const _0x3353c5=_0x5670e0;if(!_0x175629)return!0x1;let _0x13a0b2=_0x2cfce7[_0x3353c5(0x2db)](_0x2853e0),{unitId:_0x540add,tableId:_0x556d9e,patches:_0x8b0ca0}=_0x175629,_0xadce6f=_0x13a0b2[_0x3353c5(0x1b8)](_0x540add,_0x1bf49d[_0x3353c5(0x373)]),_0x435c47=_0x8b0ca0[_0x3353c5(0x102)](_0x554b58=>_0x554b58[_0x3353c5(0x191)]),_0x12ad52=_0x8b0ca0['flatMap'](_0x176996=>Object['keys'](_0x176996[_0x3353c5(0x1c8)]));if(!_0xadce6f||!$(_0xadce6f,_0x556d9e,{'recordIds':_0x435c47,'fieldIds':_0x12ad52})||_0x8b0ca0[_0x3353c5(0x1c1)](_0xac305b=>Object[_0x3353c5(0x419)](_0xac305b[_0x3353c5(0x1c8)])[_0x3353c5(0x1c1)](([_0x5e0678,_0x5d555e])=>!ga(_0xadce6f,_0x556d9e,_0x5e0678,_0x5d555e))))return!0x1;let _0x5f424c=Ze(_0xadce6f['getSnapshot']()['tables'][_0x556d9e],_0x8b0ca0),_0x380c4b=_0x2cfce7['get'](_0x228e7e),_0x3d56c4=_0x2cfce7[_0x3353c5(0x2db)](_0x1c7439),_0x36e110=_0x2cfce7[_0x3353c5(0x2db)](Kr)[_0x3353c5(0x29e)](_0xadce6f,_0x556d9e,_0x8b0ca0),_0x2bc943=new z()['invertOp'](_0xadce6f[_0x3353c5(0x1ec)](),_0x36e110),_0x4f9676={'unitId':_0x540add,'op':_0x36e110,'trigger':_0x5f424c[_0x3353c5(0x19b)]?go['id']:void 0x0,'hierarchyChanges':_0x5f424c[_0x3353c5(0x19b)]?_0x5f424c:void 0x0,'source':_0x5f424c[_0x3353c5(0x19b)]?_0x175629[_0x3353c5(0x2d6)]??'ui':void 0x0},_0x5e48b3={..._0x4f9676,'source':_0x5f424c[_0x3353c5(0x19b)]?_0x3353c5(0x41e):void 0x0},_0x55f63b={'unitId':_0x540add,'op':_0x2bc943,'trigger':_0x5f424c['length']?go['id']:void 0x0,'hierarchyChanges':_0x5f424c[_0x3353c5(0x19b)]?_0x5f424c['map'](_0x358865=>({..._0x358865,'oldParentRecordId':_0x358865[_0x3353c5(0x10f)],'parentRecordId':_0x358865[_0x3353c5(0x32c)]})):void 0x0,'source':_0x5f424c[_0x3353c5(0x19b)]?_0x3353c5(0x18b):void 0x0};return _0x380c4b['syncExecuteCommand'](Q['id'],_0x4f9676)?(_0x13a0b2[_0x3353c5(0x2d0)](_0x540add),_0x3d56c4['pushUndoRedo']({'unitID':_0x540add,'undoMutations':[{'id':Q['id'],'params':_0x55f63b}],'redoMutations':[{'id':Q['id'],'params':_0x5e48b3}]}),!0x0):!0x1;}},_o={'id':_0x5670e0(0x3c8),'type':_0x21089e['COMMAND'],'handler':(_0x105b1e,_0x27e572)=>{const _0x563b69=_0x5670e0;if(!_0x27e572)return!0x1;let {unitId:_0x3787a4,tableId:_0x2c847f,fieldId:_0x20fead}=_0x27e572,_0x17134a=_0x105b1e[_0x563b69(0x2db)](_0x2853e0),_0x477a83=_0x17134a[_0x563b69(0x1b8)](_0x3787a4,_0x1bf49d[_0x563b69(0x373)]);if(!_0x477a83||!$(_0x477a83,_0x2c847f))return!0x1;let _0x2cb82f=_0x477a83[_0x563b69(0x1ec)](),_0x246241=_0x2cb82f[_0x563b69(0x41c)][_0x2c847f];if(_0x20fead!==null&&!F(_0x246241,_0x20fead))throw new P('invalidField');if(qe(_0x246241)===_0x20fead)return!0x0;let _0xfdc535=new W(),_0x13694d=R(Object[_0x563b69(0x1c8)](_0x246241['fields'])[_0x563b69(0x98)](_0x12ef18=>{const _0x13782a=_0x563b69;if(!F(_0x246241,_0x12ef18['id']))return[];let _0x501bc7=N(_0x12ef18);if(!_0x501bc7)return[];let _0x387bb1=_0x12ef18['id']===_0x20fead;if(_0x501bc7[_0x13782a(0x1bc)]===_0x309088[_0x13782a(0x1e0)]===_0x387bb1)return[];let _0x841058={..._0x12ef18[_0x13782a(0x407)],'targetTableId':_0x501bc7['targetTableId'],'multiple':_0x501bc7[_0x13782a(0x2ae)]};return _0x387bb1?_0x841058[_0x13782a(0x1bc)]=_0x309088['Parent']:delete _0x841058[_0x13782a(0x1bc)],[_0xfdc535[_0x13782a(0x1a9)](_0x2cb82f,_0x2c847f,_0x12ef18['id'],{'config':_0x841058})];})),_0x131e98=new z()['invertOp'](_0x2cb82f,_0x13694d),_0x36a07e={'unitId':_0x3787a4,'op':_0x13694d},_0x575c94={'unitId':_0x3787a4,'op':_0x131e98};return _0x105b1e['get'](_0x228e7e)['syncExecuteCommand'](Q['id'],_0x36a07e)?(_0x17134a[_0x563b69(0x2d0)](_0x3787a4),_0x105b1e[_0x563b69(0x2db)](_0x1c7439)[_0x563b69(0x352)]({'unitID':_0x3787a4,'undoMutations':[{'id':Q['id'],'params':_0x575c94}],'redoMutations':[{'id':Q['id'],'params':_0x36a07e}]}),!0x0):!0x1;}},vo={'id':_0x5670e0(0x2c9),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x2385c3,_0x57bd50)=>{const _0x37a156=_0x5670e0;if(!_0x57bd50)return!0x1;let _0x37d95c=_0x2385c3[_0x37a156(0x2db)](_0x2853e0),{unitId:_0x16a955,tableId:_0x1ca580,viewId:_0x324c09,fieldId:_0xdb91e5,target:_0x252415}=_0x57bd50,_0x40f3df=_0x37d95c[_0x37a156(0x1b8)](_0x16a955,_0x1bf49d[_0x37a156(0x373)]),_0xbcdce0=_0x252415[_0x37a156(0x170)]??_0x252415[_0x37a156(0x265)];if(!_0x40f3df||!_0xbcdce0||_0xbcdce0===_0xdb91e5||!$(_0x40f3df,_0x1ca580,{'viewIds':[_0x324c09],'fieldIds':[_0xdb91e5,_0xbcdce0]}))return!0x1;let _0xe562b1=_0x40f3df['getSnapshot']()[_0x37a156(0x41c)][_0x1ca580],_0x190fca=_0xe562b1[_0x37a156(0x2cb)][_0xdb91e5],_0x4ead14=_0xe562b1[_0x37a156(0x2cb)][_0xbcdce0];if(_0x190fca['system']===!0x0||_0x190fca['type']===_0x4fe15f[_0x37a156(0x300)]||_0x4ead14[_0x37a156(0x13a)]===!0x0||_0x4ead14['type']===_0x4fe15f[_0x37a156(0x300)])return!0x1;let _0x17dcfc=_0x2385c3[_0x37a156(0x2db)](_0x228e7e),_0x208333=_0x2385c3['get'](_0x1c7439),_0x2c8a1e=_0x40f3df['getSnapshot'](),_0x4fff18=new W()[_0x37a156(0x225)](_0x2c8a1e,_0x1ca580,_0x324c09,_0xdb91e5,_0x252415),_0x4e2331=new z()[_0x37a156(0x210)](_0x2c8a1e,_0x4fff18),_0x6cd0e6={'unitId':_0x16a955,'op':_0x4fff18},_0x3a7633={'unitId':_0x16a955,'op':_0x4e2331};return _0x17dcfc[_0x37a156(0x2fa)](Q['id'],_0x6cd0e6)?(_0x37d95c[_0x37a156(0x2d0)](_0x16a955),_0x208333[_0x37a156(0x352)]({'unitID':_0x16a955,'undoMutations':[{'id':Q['id'],'params':_0x3a7633}],'redoMutations':[{'id':Q['id'],'params':_0x6cd0e6}]}),!0x0):!0x1;}},yo={'id':'base.command.set-base-view-field-visible','type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x331470,_0x595dc0){const _0x43de13=_0x5670e0;if(!_0x595dc0)return!0x1;let _0x3ba1b8=_0x331470[_0x43de13(0x2db)](_0x2853e0),{unitId:_0x2c0c01,tableId:_0x3b60,viewId:_0x310da3,fieldId:_0x521a5f,visible:_0x2d33be}=_0x595dc0,_0xce9ba2=_0x3ba1b8['getUnit'](_0x2c0c01,_0x1bf49d[_0x43de13(0x373)]);if(!_0xce9ba2||!$(_0xce9ba2,_0x3b60,{'viewIds':[_0x310da3],'fieldIds':[_0x521a5f]}))return!0x1;let _0x6eb37c=_0xce9ba2[_0x43de13(0x1ec)]()[_0x43de13(0x41c)][_0x3b60][_0x43de13(0x2cb)][_0x521a5f];if(_0x6eb37c[_0x43de13(0x13a)]===!0x0||_0x6eb37c[_0x43de13(0xeb)]===_0x4fe15f[_0x43de13(0x300)])return!0x1;let _0x41fa0c=_0x331470[_0x43de13(0x2db)](_0x228e7e),_0x7917a0=_0x331470[_0x43de13(0x2db)](_0x1c7439),_0x42435f=_0xce9ba2[_0x43de13(0x1ec)](),_0x3ce837=new W()[_0x43de13(0x2af)](_0x42435f,_0x3b60,_0x310da3,_0x521a5f,_0x2d33be),_0x43c1f2=new z()[_0x43de13(0x210)](_0x42435f,_0x3ce837),_0x3a9a32={'unitId':_0x2c0c01,'op':_0x3ce837},_0x422b7d={'unitId':_0x2c0c01,'op':_0x43c1f2};return _0x41fa0c['syncExecuteCommand'](Q['id'],_0x3a9a32)?(_0x3ba1b8[_0x43de13(0x2d0)](_0x2c0c01),_0x7917a0[_0x43de13(0x352)]({'unitID':_0x2c0c01,'undoMutations':[{'id':Q['id'],'params':_0x422b7d}],'redoMutations':[{'id':Q['id'],'params':_0x3a9a32}]}),!0x0):!0x1;}},bo={'id':'base.command.set-base-view-field-width','type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x539e61,_0x4333ef)=>{const _0x3c973a=_0x5670e0;if(!_0x4333ef)return!0x1;let _0x365e9f=_0x539e61[_0x3c973a(0x2db)](_0x2853e0),{unitId:_0x533974,tableId:_0x568f5f,viewId:_0x53ebd7,fieldId:_0x5b3275,width:_0x1aad14}=_0x4333ef,_0x27044b=_0x365e9f['getUnit'](_0x533974,_0x1bf49d[_0x3c973a(0x373)]);if(!_0x27044b||!$(_0x27044b,_0x568f5f,{'viewIds':[_0x53ebd7],'fieldIds':[_0x5b3275]}))return!0x1;let _0x50eef6=_0x27044b[_0x3c973a(0x1ec)]()[_0x3c973a(0x41c)][_0x568f5f][_0x3c973a(0x2cb)][_0x5b3275];if(_0x50eef6['system']===!0x0||_0x50eef6[_0x3c973a(0xeb)]===_0x4fe15f[_0x3c973a(0x300)])return!0x1;let _0x12475f=_0x539e61[_0x3c973a(0x2db)](_0x228e7e),_0x177381=_0x539e61[_0x3c973a(0x2db)](_0x1c7439),_0xf7eb44=_0x27044b[_0x3c973a(0x1ec)](),_0x1a8a9c=new W()['setViewFieldWidth'](_0xf7eb44,_0x568f5f,_0x53ebd7,_0x5b3275,_0x1aad14),_0xabc696=new z()[_0x3c973a(0x210)](_0xf7eb44,_0x1a8a9c),_0x27d01b={'unitId':_0x533974,'op':_0x1a8a9c},_0x4a0bea={'unitId':_0x533974,'op':_0xabc696};return _0x12475f['syncExecuteCommand'](Q['id'],_0x27d01b)?(_0x365e9f['focusUnit'](_0x533974),_0x177381[_0x3c973a(0x352)]({'unitID':_0x533974,'undoMutations':[{'id':Q['id'],'params':_0x4a0bea}],'redoMutations':[{'id':Q['id'],'params':_0x27d01b}]}),!0x0):!0x1;}},xo={'id':_0x5670e0(0x1a2),'type':_0x21089e['COMMAND'],'handler':(_0x460a9d,_0x25c4e8)=>{const _0x2fa9ac=_0x5670e0;if(!_0x25c4e8)return!0x1;let _0x5847ec=_0x460a9d[_0x2fa9ac(0x2db)](_0x2853e0),{unitId:_0x1e938e,tableId:_0x378459,viewId:_0x28095e,filter:_0x5c193c}=_0x25c4e8,_0x349cfc=_0x5847ec[_0x2fa9ac(0x1b8)](_0x1e938e,_0x1bf49d[_0x2fa9ac(0x373)]),_0x493f87=(_0x5c193c==null?void 0x0:_0x5c193c[_0x2fa9ac(0x196)][_0x2fa9ac(0x102)](_0x16aeab=>_0x16aeab[_0x2fa9ac(0x186)]))??[];if(!_0x349cfc||!$(_0x349cfc,_0x378459,{'viewIds':[_0x28095e],'fieldIds':_0x493f87}))return!0x1;let _0xac469c=_0x460a9d['get'](_0x228e7e),_0x1437d4=_0x460a9d['get'](_0x1c7439),_0x18f666=_0x349cfc['getSnapshot'](),_0xd2e503=new W()[_0x2fa9ac(0x19a)](_0x18f666,_0x378459,_0x28095e,_0x5c193c),_0x3301fc=new z()[_0x2fa9ac(0x210)](_0x18f666,_0xd2e503),_0x394879={'unitId':_0x1e938e,'op':_0xd2e503},_0x3c45df={'unitId':_0x1e938e,'op':_0x3301fc};return _0xac469c['syncExecuteCommand'](Q['id'],_0x394879)?(_0x5847ec[_0x2fa9ac(0x2d0)](_0x1e938e),_0x1437d4[_0x2fa9ac(0x352)]({'unitID':_0x1e938e,'undoMutations':[{'id':Q['id'],'params':_0x3c45df}],'redoMutations':[{'id':Q['id'],'params':_0x394879}]}),!0x0):!0x1;}},So={'id':_0x5670e0(0x359),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0xa6390d,_0x55a820)=>{const _0x23129d=_0x5670e0;if(!_0x55a820)return!0x1;let _0x4c8f88=_0xa6390d[_0x23129d(0x2db)](_0x2853e0),{unitId:_0x5567f1,tableId:_0x482463,viewId:_0x162419,group:_0x3e7e02}=_0x55a820,_0x425ffa=_0x4c8f88['getUnit'](_0x5567f1,_0x1bf49d[_0x23129d(0x373)]);if(!_0x425ffa||!$(_0x425ffa,_0x482463,{'viewIds':[_0x162419],'fieldIds':_0x3e7e02['map'](_0x242055=>_0x242055[_0x23129d(0x186)])}))return!0x1;let _0x484f3f=_0xa6390d['get'](_0x228e7e),_0x317f96=_0xa6390d['get'](_0x1c7439),_0x49e394=_0x425ffa[_0x23129d(0x1ec)](),_0x317772=new W()['setViewGroup'](_0x49e394,_0x482463,_0x162419,_0x3e7e02),_0x48e14b=new z()[_0x23129d(0x210)](_0x49e394,_0x317772),_0x4fab37={'unitId':_0x5567f1,'op':_0x317772},_0x129f55={'unitId':_0x5567f1,'op':_0x48e14b};return _0x484f3f[_0x23129d(0x2fa)](Q['id'],_0x4fab37)?(_0x4c8f88[_0x23129d(0x2d0)](_0x5567f1),_0x317f96[_0x23129d(0x352)]({'unitID':_0x5567f1,'undoMutations':[{'id':Q['id'],'params':_0x129f55}],'redoMutations':[{'id':Q['id'],'params':_0x4fab37}]}),!0x0):!0x1;}},Co={'id':_0x5670e0(0x42c),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x3def34,_0x505569)=>{const _0x2bf030=_0x5670e0;if(!_0x505569)return!0x1;let _0x20a636=_0x3def34[_0x2bf030(0x2db)](_0x2853e0),{unitId:_0x5c6b37,tableId:_0x133d1d,viewId:_0x9496ed,sort:_0x55d55b}=_0x505569,_0x46ecc3=_0x20a636['getUnit'](_0x5c6b37,_0x1bf49d[_0x2bf030(0x373)]);if(!_0x46ecc3||!$(_0x46ecc3,_0x133d1d,{'viewIds':[_0x9496ed],'fieldIds':_0x55d55b[_0x2bf030(0x102)](_0xeddd1d=>_0xeddd1d[_0x2bf030(0x186)])}))return!0x1;let _0x28cceb=_0x3def34[_0x2bf030(0x2db)](_0x228e7e),_0x169dbd=_0x3def34[_0x2bf030(0x2db)](_0x1c7439),_0x5aaa70=_0x46ecc3[_0x2bf030(0x1ec)](),_0x3e3800=new W()['setViewSort'](_0x5aaa70,_0x133d1d,_0x9496ed,_0x55d55b),_0x5c4ed7=new z()[_0x2bf030(0x210)](_0x5aaa70,_0x3e3800),_0x35ef1e={'unitId':_0x5c6b37,'op':_0x3e3800},_0x5c5ecc={'unitId':_0x5c6b37,'op':_0x5c4ed7};return _0x28cceb[_0x2bf030(0x2fa)](Q['id'],_0x35ef1e)?(_0x20a636[_0x2bf030(0x2d0)](_0x5c6b37),_0x169dbd[_0x2bf030(0x352)]({'unitID':_0x5c6b37,'undoMutations':[{'id':Q['id'],'params':_0x5c5ecc}],'redoMutations':[{'id':Q['id'],'params':_0x35ef1e}]}),!0x0):!0x1;}},wo={'id':_0x5670e0(0x32e),'type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x25828e,_0x172188){const _0x49475a=_0x5670e0;if(!_0x172188)return!0x1;let _0x44b179=_0x25828e[_0x49475a(0x2db)](_0x2853e0),{unitId:_0x32136d,tableId:_0x1ddf81,recordId:_0x43fb1e,fieldId:_0x53a835,value:_0x32870f}=_0x172188,_0x3e34f2=_0x44b179[_0x49475a(0x1b8)](_0x32136d,_0x1bf49d[_0x49475a(0x373)]);if(!_0x3e34f2||!$(_0x3e34f2,_0x1ddf81,{'recordIds':[_0x43fb1e],'fieldIds':[_0x53a835]})||!ga(_0x3e34f2,_0x1ddf81,_0x53a835,_0x32870f))return!0x1;let _0xe930c8=_0x3e34f2[_0x49475a(0x1ec)]()[_0x49475a(0x41c)][_0x1ddf81],_0x311441=F(_0xe930c8,_0x53a835)&&Xe(_0xe930c8)[_0x49475a(0x173)](_0x53a835),_0xb7c986=_0x311441?tt(_0xe930c8,_0x53a835):null,_0x5aafae=(_0xb7c986==null?void 0x0:_0xb7c986[_0x49475a(0x190)][_0x49475a(0x2db)](_0x43fb1e))??null,_0x4d3303=_0x311441?Le(_0x32870f)[0x0]??null:null;if(_0xb7c986){if(_0x4d3303&&!_0xe930c8['records'][_0x4d3303])throw new P(_0x49475a(0x32d));let _0x3efcaa=it(_0xb7c986,_0x43fb1e,_0x4d3303);if(!_0x3efcaa[_0x49475a(0x246)])throw new P(_0x3efcaa[_0x49475a(0x37a)]===_0x244f2c['SelfParent']?_0x49475a(0x1f1):_0x3efcaa[_0x49475a(0x37a)]===_0x244f2c[_0x49475a(0x355)]?_0x49475a(0xfb):_0x49475a(0x245));}let _0x9071ce=_0x25828e[_0x49475a(0x2db)](_0x228e7e),_0xceaeb4=_0x25828e['get'](_0x1c7439),_0x312494=_0x25828e['get'](Kr),_0x446929;try{_0x446929=_0x312494[_0x49475a(0x432)](_0x3e34f2,_0x1ddf81,_0x43fb1e,_0x53a835,_0x32870f);}catch(_0x5f09d8){return console['error'](_0x49475a(0x1b9),_0x5f09d8),!0x1;}let _0x81b1=new z()[_0x49475a(0x210)](_0x3e34f2[_0x49475a(0x1ec)](),_0x446929),_0x4d97a8=_0x311441&&_0x5aafae!==_0x4d3303?[{'tableId':_0x1ddf81,'fieldId':_0x53a835,'recordId':_0x43fb1e,'oldParentRecordId':_0x5aafae,'parentRecordId':_0x4d3303}]:void 0x0,_0x2231d5={'unitId':_0x32136d,'op':_0x446929,'trigger':_0x4d97a8?wo['id']:void 0x0,'hierarchyChanges':_0x4d97a8,'source':_0x4d97a8?_0x172188['source']??'ui':void 0x0},_0x36ea18={..._0x2231d5,'source':_0x4d97a8?'redo':void 0x0},_0x51ab94={'unitId':_0x32136d,'op':_0x81b1,'trigger':_0x4d97a8?wo['id']:void 0x0,'hierarchyChanges':_0x4d97a8==null?void 0x0:_0x4d97a8['map'](_0x252798=>({..._0x252798,'oldParentRecordId':_0x252798[_0x49475a(0x10f)],'parentRecordId':_0x252798[_0x49475a(0x32c)]})),'source':_0x4d97a8?'undo':void 0x0};return _0x9071ce['syncExecuteCommand'](Q['id'],_0x2231d5)?(_0x44b179[_0x49475a(0x3a6)]()||_0x44b179[_0x49475a(0x2d0)](_0x32136d),_0xceaeb4[_0x49475a(0x352)]({'unitID':_0x32136d,'undoMutations':[{'id':Q['id'],'params':_0x51ab94}],'redoMutations':[{'id':Q['id'],'params':_0x36ea18}]}),!0x0):!0x1;}},To={'id':_0x5670e0(0x146),'type':_0x21089e[_0x5670e0(0x345)],'handler'(_0x56ff57,_0x48f45c){const _0x392181=_0x5670e0;if(!_0x48f45c)return!0x1;let _0xbc364e=_0x56ff57[_0x392181(0x2db)](_0x2853e0),{unitId:_0x1a5055,tableId:_0x41f550,fieldId:_0x4e6c61}=_0x48f45c,_0x219dc0=_0xbc364e[_0x392181(0x1b8)](_0x1a5055,_0x1bf49d[_0x392181(0x373)]);if(!_0x219dc0||!$(_0x219dc0,_0x41f550,{'fieldIds':[_0x4e6c61]}))return!0x1;let _0x2bb407=_0x56ff57[_0x392181(0x2db)](_0x228e7e),_0x10b29e=_0x56ff57[_0x392181(0x2db)](_0x1c7439),_0x52a36d=_0x219dc0['getSnapshot'](),_0x1aa779=_0x48f45c['description'][_0x392181(0x12d)](),_0x2ea596=new W()['updateField'](_0x52a36d,_0x41f550,_0x4e6c61,{'description':_0x1aa779}),_0x5c233c=new z()[_0x392181(0x210)](_0x219dc0[_0x392181(0x1ec)](),_0x2ea596),_0x13cedc={'unitId':_0x1a5055,'op':_0x2ea596},_0x310032={'unitId':_0x1a5055,'op':_0x5c233c};return _0x2bb407[_0x392181(0x2fa)](Q['id'],_0x13cedc)?(_0xbc364e[_0x392181(0x2d0)](_0x1a5055),_0x10b29e[_0x392181(0x352)]({'unitID':_0x1a5055,'undoMutations':[{'id':Q['id'],'params':_0x310032}],'redoMutations':[{'id':Q['id'],'params':_0x13cedc}]}),!0x0):!0x1;}},Eo={'id':_0x5670e0(0x195),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x43fdab,_0x1ce41d)=>{const _0x1a7fa4=_0x5670e0;if(!_0x1ce41d)return!0x1;let _0x1059ef=_0x43fdab['get'](_0x2853e0),{unitId:_0x1abc3a,tableId:_0x436cec,fieldId:_0x2d6e54,patch:_0x19a4b7}=_0x1ce41d,_0x29d2d6=_0x1059ef[_0x1a7fa4(0x1b8)](_0x1abc3a,_0x1bf49d[_0x1a7fa4(0x373)]);if(!_0x29d2d6||_0x2d6e54===_0x32decc||!$(_0x29d2d6,_0x436cec,{'fieldIds':[_0x2d6e54]}))return!0x1;let _0x9d2711=_0x43fdab[_0x1a7fa4(0x2db)](_0x228e7e),_0x504b12=_0x43fdab[_0x1a7fa4(0x2db)](_0x1c7439),_0x19f824=_0x29d2d6[_0x1a7fa4(0x1ec)]();if(!ha(_0x29d2d6,_0x436cec,{..._0x19f824[_0x1a7fa4(0x41c)][_0x436cec]['fields'][_0x2d6e54],..._0x19a4b7}))return!0x1;let _0x46e4d6=new W()[_0x1a7fa4(0x1a9)](_0x19f824,_0x436cec,_0x2d6e54,_0x19a4b7),_0x3836f0=new z()[_0x1a7fa4(0x210)](_0x19f824,_0x46e4d6),_0xcdcf09={'unitId':_0x1abc3a,'op':_0x46e4d6},_0x519aae={'unitId':_0x1abc3a,'op':_0x3836f0};return _0x9d2711[_0x1a7fa4(0x2fa)](Q['id'],_0xcdcf09)?(_0x1059ef[_0x1a7fa4(0x2d0)](_0x1abc3a),_0x504b12[_0x1a7fa4(0x352)]({'unitID':_0x1abc3a,'undoMutations':[{'id':Q['id'],'params':_0x519aae}],'redoMutations':[{'id':Q['id'],'params':_0xcdcf09}]}),!0x0):!0x1;}},Do={'id':_0x5670e0(0xb1),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x3ee5fd,_0x305472)=>{const _0x4e295a=_0x5670e0;if(!_0x305472)return!0x1;let _0x52434b=_0x3ee5fd['get'](_0x2853e0),{unitId:_0x4f79a2,tableId:_0x3fb341,viewId:_0x5e4cd3,patch:_0x48c4de}=_0x305472,_0x235a8d=_0x52434b['getUnit'](_0x4f79a2,_0x1bf49d[_0x4e295a(0x373)]);if(!_0x235a8d||!$(_0x235a8d,_0x3fb341,{'viewIds':[_0x5e4cd3]}))return!0x1;let _0x3e569f=_0x3ee5fd[_0x4e295a(0x2db)](_0x228e7e),_0x5c9726=_0x3ee5fd[_0x4e295a(0x2db)](_0x1c7439),_0xaf1907=_0x235a8d[_0x4e295a(0x1ec)](),_0x278430=new W()[_0x4e295a(0x35c)](_0xaf1907,_0x3fb341,_0x5e4cd3,_0x48c4de),_0x3b3361=new z()[_0x4e295a(0x210)](_0xaf1907,_0x278430),_0x5b19c2={'unitId':_0x4f79a2,'op':_0x278430},_0x46d5f6={'unitId':_0x4f79a2,'op':_0x3b3361};return _0x3e569f[_0x4e295a(0x2fa)](Q['id'],_0x5b19c2)?(_0x52434b[_0x4e295a(0x2d0)](_0x4f79a2),_0x5c9726[_0x4e295a(0x352)]({'unitID':_0x4f79a2,'undoMutations':[{'id':Q['id'],'params':_0x46d5f6}],'redoMutations':[{'id':Q['id'],'params':_0x5b19c2}]}),!0x0):!0x1;}},Oo={'id':_0x5670e0(0x240),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x293f88,_0x3c6632)=>{const _0x470925=_0x5670e0;if(!_0x3c6632)return!0x1;let _0x5bde6f=_0x293f88['get'](_0x2853e0),{unitId:_0x445c4b,tableId:_0x35e0ce,recordId:_0x4fe9e9,orderKey:_0x240186}=_0x3c6632,_0x481a22=_0x5bde6f[_0x470925(0x1b8)](_0x445c4b,_0x1bf49d[_0x470925(0x373)]);if(!_0x481a22||!$(_0x481a22,_0x35e0ce,{'recordIds':[_0x4fe9e9]}))return!0x1;let _0x211049=_0x293f88[_0x470925(0x2db)](_0x228e7e),_0x5499de=_0x293f88['get'](_0x1c7439),_0x48e29d=_0x481a22[_0x470925(0x1ec)](),_0x4bb93b=new W()[_0x470925(0x392)](_0x48e29d,_0x35e0ce,_0x4fe9e9,_0x240186),_0x4cd0f9=new z()[_0x470925(0x210)](_0x48e29d,_0x4bb93b),_0x19ff12={'unitId':_0x445c4b,'op':_0x4bb93b},_0x3f5943={'unitId':_0x445c4b,'op':_0x4cd0f9};return _0x211049[_0x470925(0x2fa)](Q['id'],_0x19ff12)?(_0x5bde6f[_0x470925(0x2d0)](_0x445c4b),_0x5499de[_0x470925(0x352)]({'unitID':_0x445c4b,'undoMutations':[{'id':Q['id'],'params':_0x3f5943}],'redoMutations':[{'id':Q['id'],'params':_0x19ff12}]}),!0x0):!0x1;}};let ko=function(_0x48fb56){const _0x3d39af=_0x5670e0;return _0x48fb56['Set']=_0x3d39af(0x2b8),_0x48fb56[_0x3d39af(0x182)]=_0x3d39af(0x41d),_0x48fb56[_0x3d39af(0x2d2)]=_0x3d39af(0x15e),_0x48fb56['Clear']=_0x3d39af(0x114),_0x48fb56;}({});const Ao={'id':_0x5670e0(0x425),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x239a96,_0x44e9f9)=>{const _0x569a70=_0x5670e0;var _0x1145a3;if(!_0x44e9f9)return!0x1;let _0x22267e=_0x239a96[_0x569a70(0x2db)](_0x2853e0),_0x35f38a=_0x22267e[_0x569a70(0x1b8)](_0x44e9f9['unitId'],_0x1bf49d['UNIVER_BASE']);if(!_0x35f38a||!$(_0x35f38a,_0x44e9f9['tableId'],{'viewIds':[_0x44e9f9['viewId']]}))return!0x1;let _0xbc02ca=_0x35f38a[_0x569a70(0x1ec)](),_0x4acbcd=_0xbc02ca['tables'][_0x44e9f9[_0x569a70(0x1a4)]],_0x435798=jo(((_0x1145a3=_0x4acbcd[_0x569a70(0x21f)][_0x44e9f9['viewId']]['config'][_0x569a70(0x227)])==null?void 0x0:_0x1145a3[_0x569a70(0x317)])??[],_0x44e9f9);if(!_0x435798)return!0x1;Mo(_0x4acbcd,_0x435798);let _0x5e8b4b=new W()[_0x569a70(0x35c)](_0xbc02ca,_0x44e9f9[_0x569a70(0x1a4)],_0x44e9f9[_0x569a70(0xc1)],{'conditionalColoring':_0x435798[_0x569a70(0x19b)]?{'rules':_0x435798}:null}),_0x2dca0c=new z()[_0x569a70(0x210)](_0xbc02ca,_0x5e8b4b),_0x256b06={'unitId':_0x44e9f9[_0x569a70(0x39d)],'op':_0x5e8b4b},_0x28ab0f={'unitId':_0x44e9f9['unitId'],'op':_0x2dca0c};return _0x239a96[_0x569a70(0x2db)](_0x228e7e)[_0x569a70(0x2fa)](Q['id'],_0x256b06)?(_0x22267e[_0x569a70(0x2d0)](_0x44e9f9['unitId']),_0x239a96[_0x569a70(0x2db)](_0x1c7439)[_0x569a70(0x352)]({'unitID':_0x44e9f9[_0x569a70(0x39d)],'undoMutations':[{'id':Q['id'],'params':_0x28ab0f}],'redoMutations':[{'id':Q['id'],'params':_0x256b06}]}),!0x0):!0x1;}};function jo(_0x103c4a,_0x377e56){const _0x478568=_0x5670e0;switch(_0x377e56[_0x478568(0xeb)]){case _0x478568(0x2b8):return _0x4bf94a[_0x478568(0x343)](_0x377e56['rules']);case _0x478568(0x41d):return[..._0x4bf94a[_0x478568(0x343)](_0x103c4a),_0x4bf94a[_0x478568(0x343)](_0x377e56[_0x478568(0x3f6)])];case _0x478568(0x15e):{let _0x4ab3d9=_0x103c4a[_0x478568(0x364)](_0x2176bf=>_0x2176bf['id']!==_0x377e56[_0x478568(0x20d)]);return _0x4ab3d9['length']===_0x103c4a[_0x478568(0x19b)]?null:_0x4bf94a[_0x478568(0x343)](_0x4ab3d9);}case _0x478568(0x114):return _0x103c4a[_0x478568(0x19b)]?[]:null;}}function Mo(_0x280227,_0x179168){const _0x2298e1=_0x5670e0;if(!Array[_0x2298e1(0x99)](_0x179168))throw TypeError(_0x2298e1(0x332));let _0x1e57a7=new Set();for(let [_0x3afcd7,_0x26f377]of _0x179168[_0x2298e1(0x419)]())Po(_0x280227,_0x26f377,No(_0x26f377,_0x3afcd7,_0x1e57a7));}function No(_0x136463,_0x394da0,_0x1d54c3){const _0x3771d0=_0x5670e0;if(!_0x136463||typeof _0x136463!=_0x3771d0(0x360))throw TypeError(_0x3771d0(0x151)+_0x394da0+_0x3771d0(0x28a));let _0x4d0fce=typeof _0x136463['id']==_0x3771d0(0x2dc)&&_0x136463['id'][_0x3771d0(0x12d)]()?'\x22'+_0x136463['id']+'\x22':'at\x20index\x20'+_0x394da0;if(typeof _0x136463['id']!='string'||!_0x136463['id'][_0x3771d0(0x12d)]())throw Error(_0x3771d0(0x350)+_0x4d0fce+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x1d54c3[_0x3771d0(0xb9)](_0x136463['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x136463['id']+'\x22.');_0x1d54c3[_0x3771d0(0x41d)](_0x136463['id']);let _0xb98a29=typeof _0x136463[_0x3771d0(0x335)]==_0x3771d0(0x2dc)&&_0x136463[_0x3771d0(0x335)]['trim']()?new _0x11ff7e(_0x136463[_0x3771d0(0x335)]):null;if(!(_0xb98a29!=null&&_0xb98a29[_0x3771d0(0x1d0)]))throw Error(_0x3771d0(0x350)+_0x4d0fce+_0x3771d0(0x3e4));return _0x4d0fce;}function Po(_0x3fff43,_0xd484a3,_0x43829d){const _0x1afa51=_0x5670e0;let _0x155710=new Set(Object[_0x1afa51(0x1c8)](_0x15ad00)),_0x5bfea8=new Set(Object[_0x1afa51(0x1c8)](_0x4d7aa6)),_0x140e0b=new Set(Object[_0x1afa51(0x1c8)](_0x511cc3));if(!_0x155710[_0x1afa51(0xb9)](_0xd484a3['target']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x43829d+_0x1afa51(0xa3)+String(_0xd484a3[_0x1afa51(0x1e8)])+'\x22.');let _0x8b6227=typeof _0xd484a3[_0x1afa51(0x186)]=='string'?_0x3fff43[_0x1afa51(0x2cb)][_0xd484a3[_0x1afa51(0x186)]]:void 0x0;if(!_0x8b6227||_0x8b6227[_0x1afa51(0x13a)]===!0x0||_0x8b6227[_0x1afa51(0xeb)]===_0x4fe15f[_0x1afa51(0x300)])throw Error(_0x1afa51(0x350)+_0x43829d+_0x1afa51(0x243)+String(_0xd484a3[_0x1afa51(0x186)])+'\x22.');if(!_0x5bfea8['has'](_0xd484a3['operator']))throw Error(_0x1afa51(0x350)+_0x43829d+_0x1afa51(0x3f2)+String(_0xd484a3['operator'])+'\x22.');if(_0xd484a3[_0x1afa51(0xbe)]!==void 0x0&&!_0x140e0b[_0x1afa51(0xb9)](_0xd484a3[_0x1afa51(0xbe)]))throw Error(_0x1afa51(0x350)+_0x43829d+_0x1afa51(0x84)+String(_0xd484a3[_0x1afa51(0xbe)])+'\x22.');if(_0xd484a3[_0x1afa51(0x1e8)]===_0x15ad00[_0x1afa51(0x37b)])return;let _0x5497b4=vn(_0x8b6227[_0x1afa51(0xeb)]);if(!_0x5497b4[_0x1afa51(0x173)](_0xd484a3[_0x1afa51(0xc2)]))throw Error(_0x1afa51(0x350)+_0x43829d+_0x1afa51(0x30f)+_0xd484a3['operator']+_0x1afa51(0x40a)+_0x8b6227[_0x1afa51(0xeb)]+_0x1afa51(0x339)+_0x5497b4[_0x1afa51(0x3d6)](',\x20')+'.');if(_0xd484a3['dateMode']!==void 0x0&&!yn(_0x8b6227[_0x1afa51(0xeb)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x43829d+_0x1afa51(0x176));}const Fo={'id':_0x5670e0(0x25a),'type':_0x21089e[_0x5670e0(0x345)],'handler':(_0x22292e,_0x50c092)=>{const _0x3bfe7b=_0x5670e0;if(!_0x50c092)return!0x1;let _0x39e1fb=_0x22292e[_0x3bfe7b(0x2db)](_0x2853e0),{unitId:_0x10c9b1,tableId:_0x5cd4e6,viewId:_0x365eab,patch:_0x378dcb}=_0x50c092,_0x400045=_0x39e1fb[_0x3bfe7b(0x1b8)](_0x10c9b1,_0x1bf49d[_0x3bfe7b(0x373)]);if(!_0x400045||!$(_0x400045,_0x5cd4e6,{'viewIds':[_0x365eab]}))return!0x1;let _0x18c283=_0x22292e['get'](_0x228e7e),_0x3e5220=_0x22292e[_0x3bfe7b(0x2db)](_0x1c7439),_0x1ffff2=_0x400045[_0x3bfe7b(0x1ec)](),_0x56f6c4=new W()[_0x3bfe7b(0x35c)](_0x1ffff2,_0x5cd4e6,_0x365eab,_0x378dcb),_0x447a00=new z()[_0x3bfe7b(0x210)](_0x1ffff2,_0x56f6c4),_0x431354={'unitId':_0x10c9b1,'op':_0x56f6c4},_0x2ebe82={'unitId':_0x10c9b1,'op':_0x447a00};return _0x18c283['syncExecuteCommand'](Q['id'],_0x431354)?(_0x39e1fb['focusUnit'](_0x10c9b1),_0x3e5220[_0x3bfe7b(0x352)]({'unitID':_0x10c9b1,'undoMutations':[{'id':Q['id'],'params':_0x2ebe82}],'redoMutations':[{'id':Q['id'],'params':_0x431354}]}),!0x0):!0x1;}},Io={'id':_0x5670e0(0x24c),'type':_0x21089e[_0x5670e0(0x345)],'handler'(_0xec5135,_0x4ee65d){const _0x32ec2d=_0x5670e0;if(!_0x4ee65d)return{'valid':!0x1,'reason':_0x32ec2d(0xf3)};let _0x2032bd=_0xec5135[_0x32ec2d(0x2db)](_0x2853e0)[_0x32ec2d(0x1b8)](_0x4ee65d['unitId'],_0x1bf49d[_0x32ec2d(0x373)]),_0x46e819=_0x2032bd==null?void 0x0:_0x2032bd['getSnapshot'](),_0x32ef89=_0x46e819==null?void 0x0:_0x46e819[_0x32ec2d(0x41c)][_0x4ee65d[_0x32ec2d(0x1a4)]];return!_0x46e819||!_0x32ef89?{'valid':!0x1,'reason':_0x32ec2d(0x347)}:new Xi()[_0x32ec2d(0x90)](_0x4ee65d['formula'],_0x32ef89,{'snapshot':_0x46e819});}};let Lo=class extends _0x2f9b21{constructor(_0x527c32){const _0x46d8c9=_0x5670e0;super(_0x527c32,_0x46d8c9(0x23f),_0x1bf49d[_0x46d8c9(0x373)],[_0x2d9d6e[_0x46d8c9(0xa0)],_0x2d9d6e['BaseField'],_0x2d9d6e[_0x46d8c9(0x2f7)],_0x2d9d6e[_0x46d8c9(0x20f)],_0x2d9d6e[_0x46d8c9(0xe2)]]);}};Lo=X([Y(0x0,_0x83427d)],Lo);const Ro={'id':_0x5670e0(0x9d),'type':_0x21089e[_0x5670e0(0x323)],'handler':(_0x2d67c2,_0x43b554)=>!_0x43b554||!_0x2d67c2[_0x5670e0(0x2db)](_0x2853e0)[_0x5670e0(0x1b8)](_0x43b554['unitId'],_0x1bf49d[_0x5670e0(0x373)])?!0x1:_0x2d67c2[_0x5670e0(0x2db)](Lo)['setRule'](_0x43b554[_0x5670e0(0x39d)],_0x43b554[_0x5670e0(0x3f1)],_0x43b554[_0x5670e0(0xba)],_0x43b554[_0x5670e0(0x3f6)])},zo={'id':_0x5670e0(0x11e),'type':_0x21089e[_0x5670e0(0x323)],'handler':(_0x2e30eb,_0x1d8544)=>!_0x1d8544||!_0x2e30eb[_0x5670e0(0x2db)](_0x2853e0)[_0x5670e0(0x1b8)](_0x1d8544[_0x5670e0(0x39d)],_0x1bf49d[_0x5670e0(0x373)])?!0x1:_0x2e30eb[_0x5670e0(0x2db)](Lo)['setRules'](_0x1d8544[_0x5670e0(0x39d)],_0x1d8544['rules'])};function Bo(_0x4a438a){const _0x5c421b=_0x5670e0;let _0x15587e=_0x4a438a['now']??Date[_0x5c421b(0x2b3)](),_0x130665=_0x4a438a[_0x5c421b(0x2d7)]??_0x4a438a['id']+_0x5c421b(0x133),_0x3e7818=_0x4a438a[_0x5c421b(0x10d)]??_0x4a438a['id']+_0x5c421b(0x390),_0x1e2840=_0x4a438a[_0x5c421b(0x322)]??0x0,_0x3562b5=_0x4ab3a7(),_0x3db542={'id':_0x130665,'name':_0x4a438a[_0x5c421b(0x15f)]??_0x5c421b(0x3b0),'type':_0x4fe15f[_0x5c421b(0x3fb)],'config':{'placeholder':_0x5c421b(0x8d)}},_0x1d3649={},_0x20d1ce=[],_0x3089f6={},_0x123755={},_0x4458c0={};for(let _0x460649=0x0;_0x460649<_0x1e2840;_0x460649++){let _0x582203=_0x4a438a['id']+_0x5c421b(0x3fe)+(_0x460649+0x1);_0x1d3649[_0x582203]={'id':_0x582203,'values':{[_0x32decc]:_0x582203,..._0x4a438a[_0x5c421b(0x2d9)]?{[_0x130665]:_0x4a438a[_0x5c421b(0x2d9)]+'\x20'+(_0x460649+0x1)}:{}},'orderKey':String(_0x460649+0x1)['padStart'](0x4,'0'),'createdAt':_0x15587e,'updatedAt':_0x15587e},_0x20d1ce[_0x5c421b(0x393)](_0x582203),_0x3089f6[_0x582203]=_0x460649,_0x123755[_0x460649]=_0x582203,_0x4458c0[_0x460649]={0x0:{'v':_0x582203,'t':_0x319a08[_0x5c421b(0x13f)]}},_0x4a438a[_0x5c421b(0x2d9)]&&(_0x4458c0[_0x460649][0x1]={'v':_0x4a438a[_0x5c421b(0x2d9)]+'\x20'+(_0x460649+0x1),'t':_0x319a08['STRING']});}let _0x3bceb2={'id':_0x3e7818,'tableId':_0x4a438a['id'],'name':_0x5c421b(0x2a8),'type':_0x528e48[_0x5c421b(0x2a8)],'fieldOrder':[_0x32decc,_0x130665],'fieldSettings':{[_0x32decc]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x4a438a['id'],'name':_0x4a438a[_0x5c421b(0x26f)],'primaryFieldId':_0x130665,'fieldOrder':[_0x32decc,_0x130665],'fields':{[_0x32decc]:_0x3562b5,[_0x130665]:_0x3db542},'records':_0x1d3649,'recordOrder':_0x20d1ce,'rowIndex':_0x3089f6,'rowId':_0x123755,'colIndex':{[_0x32decc]:0x0,[_0x130665]:0x1},'colId':{0x0:_0x32decc,0x1:_0x130665},'cellData':_0x4458c0,'views':{[_0x3e7818]:_0x3bceb2},'viewOrder':[_0x3e7818]};}const Vo='UNIVER_EMBED_BASES_TABLE';function Ho(_0x4dde55){const _0x119663=_0x5670e0;let _0x402426=Bo({'id':_0x4dde55[_0x119663(0x105)],'name':_0x4dde55[_0x119663(0x26f)]??_0x4dde55[_0x119663(0x318)],'recordCount':0x0});return{..._0x402426,'resources':{..._0x402426[_0x119663(0x184)]??{},[Vo]:Go(_0x4dde55)}};}function Uo(_0x241d4b){const _0x5b0614=_0x5670e0;return{'id':Q['id'],'params':{'unitId':_0x241d4b[_0x5b0614(0x39d)],'op':_0x23944c[_0x5b0614(0xeb)][_0x5b0614(0x34f)](_0x23944c[_0x5b0614(0x3fd)](['tables',_0x241d4b['table']['id']],_0x241d4b[_0x5b0614(0x19f)]),_0x23944c[_0x5b0614(0x3fd)]([_0x5b0614(0x427),_0x241d4b[_0x5b0614(0x95)]??_0x241d4b[_0x5b0614(0x1b2)][_0x5b0614(0x427)][_0x5b0614(0x19b)]],_0x241d4b[_0x5b0614(0x19f)]['id'])),'trigger':_0x5b0614(0x107)}};}function Wo(_0x380367){const _0xe5cd4f=_0x5670e0;let _0x3a58d5=_0x380367[_0xe5cd4f(0x1b2)]['tableOrder']['indexOf'](_0x380367[_0xe5cd4f(0x1a4)]);if(!(!_0x380367[_0xe5cd4f(0x1b2)][_0xe5cd4f(0x41c)][_0x380367['tableId']]||_0x3a58d5<0x0))return{'id':Q['id'],'params':{'unitId':_0x380367[_0xe5cd4f(0x39d)],'op':_0x23944c['type'][_0xe5cd4f(0x34f)](_0x23944c[_0xe5cd4f(0x2f9)](['tables',_0x380367['tableId']],_0x380367[_0xe5cd4f(0x1b2)][_0xe5cd4f(0x41c)][_0x380367[_0xe5cd4f(0x1a4)]]),_0x23944c['removeOp']([_0xe5cd4f(0x427),_0x3a58d5],_0x380367[_0xe5cd4f(0x1a4)])),'trigger':'embed-ui'}};}function Go(_0x4fe30b){const _0x5deac3=_0x5670e0;return{'version':0x1,'embedId':_0x4fe30b[_0x5deac3(0x318)],'hostAnchorId':_0x4fe30b['hostAnchorId'],'childUnitId':_0x4fe30b[_0x5deac3(0x219)],'childType':_0x4fe30b[_0x5deac3(0x169)]};}function Ko(_0x5136c3){const _0x27af2f=_0x5670e0;let _0x33f005=Math[_0x27af2f(0x272)](0x0,Number(_0x5136c3[_0x27af2f(0xe3)]??0x0)),_0x55b7ac=_0x5136c3['useThousands']===!0x1?'0':_0x27af2f(0x229),_0x58a3dd=_0x33f005?'.'+'0'['repeat'](_0x33f005):'',_0x1088a8=Jo(_0x5136c3[_0x27af2f(0x22c)]);return''+(_0x5136c3[_0x27af2f(0x3c0)]?Yo(_0x5136c3[_0x27af2f(0x3c0)]):'')+_0x55b7ac+_0x58a3dd+_0x1088a8;}function qo(_0x14014c,_0x1298fb){const _0x2c2851=_0x5670e0;let _0x30971d=Ko(_0x1298fb),_0x57b826=_0x1f324e[_0x2c2851(0x2b6)](_0x30971d,_0x14014c,{'throws':!0x1});return Xo(String(_0x57b826),_0x1298fb['separatorStyle'],_0x1298fb[_0x2c2851(0x301)]);}function Jo(_0x113b48){const _0x4ef737=_0x5670e0;return _0x113b48==='K'?',\x22K\x22':_0x113b48==='M'?_0x4ef737(0x2ec):_0x113b48==='B'?',,,\x22B\x22':'';}function Yo(_0x362856){const _0x1ff7ac=_0x5670e0;return/^[A-Z]+$/i[_0x1ff7ac(0x106)](_0x362856)?'\x22'+_0x362856+'\x22':_0x362856;}function Xo(_0x279522,_0x5f1408,_0x4a7d35){const _0x541ef1=_0x5670e0;let _0x5d910b=_0x5f1408===_0x541ef1(0x31b)?Zo(_0x4a7d35):_0x5f1408;return _0x5d910b===_0x541ef1(0x304)?_0x279522['replace'](/,/g,'\x00')[_0x541ef1(0xf2)](/\./g,',')['replace'](/\0/g,'.'):_0x5d910b===_0x541ef1(0x383)?_0x279522[_0x541ef1(0xf2)](/,/g,'\x20')[_0x541ef1(0xf2)](/\./g,','):_0x5d910b==='spacePeriod'?_0x279522['replace'](/,/g,'\x20'):_0x279522;}function Zo(_0x4ae02f){const _0xe0c318=_0x5670e0;var _0x27e6e5,_0x340843;let _0x2e2568=_0x4ae02f||new Intl[(_0xe0c318(0x2e7))]()[_0xe0c318(0x362)]()[_0xe0c318(0x301)],_0x3df381;try{_0x3df381=new Intl[(_0xe0c318(0x2e7))](_0x2e2568,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0xe0c318(0x369)](0xf4240);}catch{return _0xe0c318(0x420);}let _0xd0c0f4=(_0x27e6e5=_0x3df381['find'](_0x3ac491=>_0x3ac491[_0xe0c318(0xeb)]===_0xe0c318(0x3dd)))==null?void 0x0:_0x27e6e5[_0xe0c318(0x38a)],_0x37d554=(_0x340843=_0x3df381[_0xe0c318(0x361)](_0x297068=>_0x297068[_0xe0c318(0xeb)]===_0xe0c318(0xbd)))==null?void 0x0:_0x340843[_0xe0c318(0x38a)],_0x22b9a4=_0xd0c0f4==='\u00a0'||_0xd0c0f4==='\u202f'?'\x20':_0xd0c0f4;return _0x22b9a4==='.'&&_0x37d554===','?_0xe0c318(0x304):_0x22b9a4==='\x20'&&_0x37d554===','?_0xe0c318(0x383):_0x22b9a4==='\x20'&&_0x37d554==='.'?_0xe0c318(0x145):_0xe0c318(0x420);}function Qo(_0x17c452,_0x1e6ea4){const _0x424b73=_0x5670e0;let _0xc5a7b0=_0x1e6ea4&&typeof _0x1e6ea4==_0x424b73(0x360)&&!Array[_0x424b73(0x99)](_0x1e6ea4)?_0x1e6ea4:{},_0x352d8a=$o(_0xc5a7b0[_0x424b73(0xe3)],0x0,0x2,0x0),_0x354fd2=_0x17c452[_0x424b73(0x3a2)](_0x352d8a);return _0xc5a7b0[_0x424b73(0x2b6)]===_0x424b73(0x174)?_0x354fd2:_0x354fd2+'%';}function $o(_0x20b5e7,_0x381b57,_0x43e73f,_0x1c94f0){const _0x420a18=_0x5670e0;if(_0x20b5e7==null||_0x20b5e7==='')return _0x1c94f0;let _0x20c855=typeof _0x20b5e7==_0x420a18(0x174)?_0x20b5e7:Number(_0x20b5e7);return Number['isFinite'](_0x20c855)?Math[_0x420a18(0x272)](_0x381b57,Math[_0x420a18(0x3a1)](_0x43e73f,Math[_0x420a18(0x217)](_0x20c855))):_0x1c94f0;}const es=['count',_0x5670e0(0x14a),_0x5670e0(0x396),_0x5670e0(0x38d),_0x5670e0(0x17e),_0x5670e0(0x2b5),'min',_0x5670e0(0x272)],ts=[_0x5670e0(0x282),_0x5670e0(0x14a),_0x5670e0(0x396),'unique'],ns=[_0x5670e0(0x17e),_0x5670e0(0x2b5),_0x5670e0(0x3a1),_0x5670e0(0x272)],rs=[_0x5670e0(0x3a1),_0x5670e0(0x272)],is=new Set([_0x4fe15f[_0x5670e0(0x27d)],_0x4fe15f[_0x5670e0(0x115)],_0x4fe15f['Progress'],_0x4fe15f['Rating']]),as=new Set([_0x4fe15f[_0x5670e0(0x8b)],_0x4fe15f[_0x5670e0(0x36c)],_0x4fe15f[_0x5670e0(0x29d)]]),os=_0x5670e0(0xc4);function ss(_0x54939b){const _0x174463=_0x5670e0;return typeof _0x54939b==_0x174463(0x2dc)&&es['includes'](_0x54939b);}function cs(_0x576968){const _0x1e3a6e=_0x5670e0;return!_0x576968||typeof _0x576968!=_0x1e3a6e(0x360)?{}:Object['fromEntries'](Object[_0x1e3a6e(0x419)](_0x576968)['filter'](_0x2bd5de=>ss(_0x2bd5de[0x1])));}function ls(_0x4d7454){const _0x48849f=_0x5670e0;return is['has'](_0x4d7454['type'])?[...ts,...ns]:_0x4d7454[_0x48849f(0xeb)]===_0x4fe15f[_0x48849f(0x3a5)]?[...ts,...ws(_0x4d7454)===_0x48849f(0x3d3)?rs:ns]:ts;}function us(_0x4600cf,_0x249eff){const _0x523df9=_0x5670e0;return ls(_0x4600cf)[_0x523df9(0x173)](_0x249eff);}function ds(_0x260ceb,_0x3daabb,_0x34159b){const _0x3969dd=_0x5670e0;if(!us(_0x260ceb,_0x34159b))return null;let _0x4c450d=_0x3daabb[_0x3969dd(0x364)](_0x28a445=>!ps(_0x260ceb,_0x28a445));switch(_0x34159b){case _0x3969dd(0x282):return _0x3daabb['length'];case'filled':return _0x4c450d[_0x3969dd(0x19b)];case _0x3969dd(0x396):return _0x3daabb[_0x3969dd(0x19b)]-_0x4c450d[_0x3969dd(0x19b)];case'unique':return new Set(_0x4c450d[_0x3969dd(0x102)](_0x5cec91=>_s(_0x260ceb,_0x5cec91)))[_0x3969dd(0x268)];case _0x3969dd(0x17e):{let _0x58fea7=ms(_0x260ceb,_0x4c450d);return _0x58fea7['length']?gs(_0x58fea7):null;}case _0x3969dd(0x2b5):{let _0x2739c9=ms(_0x260ceb,_0x4c450d);return _0x2739c9[_0x3969dd(0x19b)]?gs(_0x2739c9)/_0x2739c9[_0x3969dd(0x19b)]:null;}case _0x3969dd(0x3a1):{let _0x193247=ms(_0x260ceb,_0x4c450d);return _0x193247['length']?Math[_0x3969dd(0x3a1)](..._0x193247):null;}case _0x3969dd(0x272):{let _0x47b3c4=ms(_0x260ceb,_0x4c450d);return _0x47b3c4[_0x3969dd(0x19b)]?Math[_0x3969dd(0x272)](..._0x47b3c4):null;}}}function fs(_0x25028b,_0x12a636,_0x163267){const _0x4be5ac=_0x5670e0;if(_0x163267==null||!Number[_0x4be5ac(0x154)](_0x163267))return'-';if(ts[_0x4be5ac(0x173)](_0x12a636))return String(_0x163267);switch(_0x25028b[_0x4be5ac(0xeb)]){case _0x4fe15f[_0x4be5ac(0x27d)]:return qo(_0x163267,xs(_0x25028b));case _0x4fe15f['Currency']:return qo(_0x163267,Ss(_0x25028b));case _0x4fe15f[_0x4be5ac(0x2b0)]:return Qo(_0x163267,_0x25028b['config']);case _0x4fe15f[_0x4be5ac(0x3a5)]:return Cs(_0x163267,_0x25028b);default:return Es(_0x163267);}}function ps(_0x423e7f,_0x40cc0b){const _0x172f4d=_0x5670e0;if(_0x40cc0b==null)return!0x0;if(typeof _0x40cc0b==_0x172f4d(0x2dc))return _0x40cc0b[_0x172f4d(0x12d)]()==='';if(Array[_0x172f4d(0x99)](_0x40cc0b))return _0x423e7f['type']===_0x4fe15f[_0x172f4d(0x134)]?!_0x40cc0b['some'](bs):_0x40cc0b[_0x172f4d(0x19b)]===0x0;if(_0x423e7f['type']===_0x4fe15f[_0x172f4d(0x399)]&&typeof _0x40cc0b=='object'){let _0xdf6005=_0x40cc0b;return[_0xdf6005[_0x172f4d(0x277)],_0xdf6005['url']][_0x172f4d(0x3f9)](_0x2fe2ea=>_0x2fe2ea==null||String(_0x2fe2ea)[_0x172f4d(0x12d)]()==='');}return!0x1;}function ms(_0x5af7d3,_0x49e70b){const _0x2c9eb8=_0x5670e0;let _0x2507cd=[];for(let _0x500794 of _0x49e70b){let _0x166a98=hs(_0x5af7d3,_0x500794);_0x166a98!=null&&_0x2507cd[_0x2c9eb8(0x393)](_0x166a98);}return _0x2507cd;}function hs(_0x419dfb,_0x49d40e){const _0x53fb35=_0x5670e0;if(typeof _0x49d40e==_0x53fb35(0x174))return Number['isFinite'](_0x49d40e)?_0x49d40e:null;if(_0x419dfb[_0x53fb35(0xeb)]!==_0x4fe15f[_0x53fb35(0x3a5)]&&typeof _0x49d40e=='string'&&_0x49d40e[_0x53fb35(0x12d)]()!==''){let _0x38c908=Number(_0x49d40e);return Number[_0x53fb35(0x154)](_0x38c908)?_0x38c908:null;}return null;}function gs(_0x2248bf){const _0x1d0fe=_0x5670e0;let _0x31cd10=0x0,_0x35b481=0x0;for(let _0x2e759c of _0x2248bf){let _0x595d83=_0x31cd10+_0x2e759c;_0x35b481+=Math[_0x1d0fe(0x3b7)](_0x31cd10)>=Math['abs'](_0x2e759c)?_0x31cd10-_0x595d83+_0x2e759c:_0x2e759c-_0x595d83+_0x31cd10,_0x31cd10=_0x595d83;}return _0x31cd10+_0x35b481;}function _s(_0x3d3fbb,_0x5cfdae){const _0xc04ac3=_0x5670e0;return as[_0xc04ac3(0xb9)](_0x3d3fbb[_0xc04ac3(0xeb)])&&Array['isArray'](_0x5cfdae)?ys([...new Set(_0x5cfdae[_0xc04ac3(0x102)](_0x5e95a5=>ys(vs(_0x5e95a5))))]['sort']()):ys(vs(_0x5cfdae));}function vs(_0xf05cc5){const _0x5197e5=_0x5670e0;return Array[_0x5197e5(0x99)](_0xf05cc5)?_0xf05cc5[_0x5197e5(0x102)](vs):_0xf05cc5&&typeof _0xf05cc5==_0x5197e5(0x360)?Object['fromEntries'](Object[_0x5197e5(0x419)](_0xf05cc5)[_0x5197e5(0x249)](([_0x561b7c],[_0x65687f])=>_0x561b7c[_0x5197e5(0x135)](_0x65687f))[_0x5197e5(0x102)](([_0x3e430f,_0x3f0c62])=>[_0x3e430f,vs(_0x3f0c62)])):_0xf05cc5;}function ys(_0x1d095e){const _0x1d3315=_0x5670e0;return JSON[_0x1d3315(0x1a0)](_0x1d095e)??_0x1d3315(0x1fa);}function bs(_0x280d43){const _0x2f4610=_0x5670e0;if(typeof _0x280d43==_0x2f4610(0x2dc))return _0x280d43[_0x2f4610(0x12d)]()!=='';if(!_0x280d43||typeof _0x280d43!=_0x2f4610(0x360))return!0x1;let _0x19cc65=_0x280d43;return[_0x19cc65['id'],_0x19cc65[_0x2f4610(0x26f)],_0x19cc65[_0x2f4610(0x2d6)],_0x19cc65[_0x2f4610(0x33c)],_0x19cc65[_0x2f4610(0x3bb)]]['some'](_0x3da93e=>_0x3da93e!=null&&String(_0x3da93e)[_0x2f4610(0x12d)]()!=='');}function xs(_0x15d435){const _0x117d07=_0x5670e0;let _0x2ce054=Ds(_0x15d435[_0x117d07(0x407)]);return{'decimalPlaces':ks(_0x2ce054['decimalPlaces'],0x0,0x14,0x2),'separatorStyle':typeof _0x2ce054[_0x117d07(0xcc)]==_0x117d07(0x2dc)?_0x2ce054['separatorStyle']:_0x117d07(0x31b),'locale':typeof _0x2ce054[_0x117d07(0x301)]=='string'?_0x2ce054[_0x117d07(0x301)]:void 0x0,'useThousands':_0x2ce054[_0x117d07(0xef)]!==!0x1,'abbreviation':typeof _0x2ce054[_0x117d07(0x22c)]==_0x117d07(0x2dc)?_0x2ce054[_0x117d07(0x22c)]:_0x117d07(0x331)};}function Ss(_0xabd7d3){const _0x572604=_0x5670e0;let _0x37f99f=Ds(_0xabd7d3[_0x572604(0x407)]);return{...xs(_0xabd7d3),'currencySymbol':String(_0x37f99f[_0x572604(0x3c0)]??'$')};}function Cs(_0x3b7885,_0x3fa9f0){const _0x50d17b=_0x5670e0;let _0x355439=Ts(_0x3fa9f0);if(_0x355439===os)return Es(_0x3b7885);try{return String(_0x1f324e[_0x50d17b(0x2b6)](_0x355439,_0x3b7885,{'throws':!0x1}));}catch{return Es(_0x3b7885);}}function ws(_0x21d76a){const _0x5562f2=_0x5670e0;let _0x49d306=Ds(Ds(_0x21d76a[_0x5562f2(0x407)])[_0x5562f2(0x1c6)]);return typeof _0x49d306['type']==_0x5562f2(0x2dc)?_0x49d306[_0x5562f2(0xeb)]:_0x5562f2(0x3f8);}function Ts(_0x223177){const _0x2faac1=_0x5670e0;let _0x262d50=Ds(Ds(_0x223177['config'])[_0x2faac1(0x1c6)]);return String(_0x262d50['pattern']??os)['trim']()||os;}function Es(_0x51d5d1){const _0x1ccddd=_0x5670e0;return String(Number[_0x1ccddd(0x276)](_0x51d5d1)?_0x51d5d1:Math[_0x1ccddd(0x217)]((_0x51d5d1+0x2**-0x34)*0x64)/0x64);}function Ds(_0x578c71){const _0x4c787a=_0x5670e0;return _0x578c71&&typeof _0x578c71==_0x4c787a(0x360)&&!Array[_0x4c787a(0x99)](_0x578c71)?_0x578c71:{};}function Os(_0x51868f){const _0x3a9684=_0x5670e0;if(_0x51868f==null||_0x51868f==='')return null;let _0x4c198c=typeof _0x51868f==_0x3a9684(0x174)?_0x51868f:Number(_0x51868f);return Number[_0x3a9684(0x154)](_0x4c198c)?_0x4c198c:null;}function ks(_0x184d22,_0x363cd3,_0x30ad79,_0x4fe169){const _0x143d26=_0x5670e0;let _0xc32777=Os(_0x184d22);return _0xc32777==null?_0x4fe169:Math[_0x143d26(0x272)](_0x363cd3,Math['min'](_0x30ad79,Math[_0x143d26(0x217)](_0xc32777)));}function As(_0x17b03e,_0x5b0253){const _0x499c03=_0x5670e0;let _0x45fae9=_0x4bf94a[_0x499c03(0x343)](_0x17b03e),_0x468ca8=_0x5b0253[_0x499c03(0x2a3)]===!0x0,_0x195a38=new Map(),_0x6fa038=_0x5b0253[_0x499c03(0x3d2)]??(()=>_0x499c03(0x428)+_0xeb2e0b(0x8)),_0x4fbc58=_0x45fae9[_0x499c03(0x139)];return _0x5b0253[_0x499c03(0x11b)]&&(_0x4fbc58=_0x45fae9['viewOrder']['map'](_0x25edf5=>{const _0x1a5219=_0x499c03;let _0x558c0e=_0x6fa038();return _0x195a38[_0x1a5219(0x2b8)](_0x25edf5,_0x558c0e),_0x558c0e;})),{..._0x45fae9,'id':_0x5b0253['id'],'name':_0x5b0253[_0x499c03(0x26f)],'records':_0x468ca8?_0x45fae9[_0x499c03(0x83)]:{},'recordOrder':_0x468ca8?_0x45fae9[_0x499c03(0x411)]:[],'rowIndex':_0x468ca8?_0x45fae9[_0x499c03(0x250)]:{},'rowId':_0x468ca8?_0x45fae9[_0x499c03(0x2ea)]:{},'cellData':_0x468ca8?_0x45fae9['cellData']:{},'resources':_0x468ca8?_0x45fae9[_0x499c03(0x184)]:{},'viewOrder':_0x4fbc58,'views':Object['fromEntries'](Object['entries'](_0x45fae9[_0x499c03(0x21f)]??{})[_0x499c03(0x102)](([_0x191e0f,_0x4fa9b2])=>{const _0x2c101a=_0x499c03;let _0x2218f8=_0x195a38[_0x2c101a(0x2db)](_0x191e0f)??(_0x5b0253[_0x2c101a(0x11b)]?_0x6fa038():_0x191e0f);return[_0x2218f8,{..._0x4fa9b2,'id':_0x2218f8,'tableId':_0x5b0253['id']}];}))};}var js=_0x5670e0(0x1d6),Ms='1.3.0';const Ns={},Ps={};function Fs(_0x10124b){const _0x3eafc1=_0x5670e0;return new z()[_0x3eafc1(0x23a)](_0x10124b);}function Is(_0x20e0e6){const _0xea3021=_0x5670e0;return _0x20e0e6['patches'][_0xea3021(0x102)](_0x7e3855=>({'unitId':_0x20e0e6[_0xea3021(0x39d)],'sheetId':_0x20e0e6[_0xea3021(0x1a4)],'range':{'startRow':_0x7e3855[_0xea3021(0x24b)],'endRow':_0x7e3855[_0xea3021(0x24b)],'startColumn':_0x7e3855[_0xea3021(0x324)],'endColumn':_0x7e3855['col']}}));}function Ls(_0x381100,_0x2ea56b){const _0x196a35=_0x5670e0;return{[_0x381100]:Object[_0x196a35(0x3a7)](_0x2ea56b['map'](_0x5ea6fe=>[_0x5ea6fe,'1']))};}let Rs=class extends _0x29abb3{constructor(_0x494456,_0xbca396){const _0x1d8fcb=_0x5670e0;super(),this[_0x1d8fcb(0x39f)]=_0x494456,this[_0x1d8fcb(0xee)]=_0xbca396,this[_0x1d8fcb(0x2e1)]();}[_0x5670e0(0x2e1)](){const _0x158d46=_0x5670e0;this['_activeDirtyManagerService']['register'](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x486fa6=>this['_getJson1DirtyData'](_0x486fa6[_0x158d46(0x149)])}),this[_0x158d46(0xe6)](_0x1abac0(()=>{const _0x494241=_0x158d46;this[_0x494241(0x39f)][_0x494241(0x366)](Q['id']);}));}['_getTable'](_0x4f0264,_0x7d3a73){const _0x4c12ed=_0x5670e0;let _0x334903=this['_univerInstanceService'][_0x4c12ed(0x1b8)](_0x4f0264,_0x1bf49d[_0x4c12ed(0x373)]);return(_0x334903==null?void 0x0:_0x334903['getSnapshot']()[_0x4c12ed(0x41c)][_0x7d3a73])??null;}[_0x5670e0(0x20e)](_0x437176){const _0x1c1398=_0x5670e0;if(_0x437176[_0x1c1398(0x280)]===_0x1c1398(0x308))return{};if(!_0x437176[_0x1c1398(0x39d)]||!_0x437176['op'])return{'clearDependencyTreeCache':this[_0x1c1398(0x19c)](),'forceCalculation':!0x0};let _0x24d250=Fs(_0x437176['op']),_0x4f50c3=this[_0x1c1398(0x86)](_0x437176[_0x1c1398(0x39d)],_0x24d250);if(_0x4f50c3['length'])return{'clearDependencyTreeCache':Ls(_0x437176[_0x1c1398(0x39d)],_0x4f50c3),'forceCalculation':!0x0};let _0x45c8fe=Object[_0x1c1398(0x419)](this[_0x1c1398(0xdd)](_0x437176['unitId'],_0x24d250))[_0x1c1398(0x98)](([_0x1a06ba,_0x55cf6d])=>Is({'unitId':_0x437176[_0x1c1398(0x39d)],'tableId':_0x1a06ba,'patches':_0x55cf6d}));return _0x45c8fe[_0x1c1398(0x19b)]?{'dirtyRanges':_0x45c8fe}:{};}[_0x5670e0(0x86)](_0x233442,_0x30bab1){const _0xe6530a=_0x5670e0;let _0x4c0267=_0x30bab1['filter'](_0x4acaf1=>_0x4acaf1[_0xe6530a(0x37a)]!==_0xe6530a(0x96))['flatMap'](_0x5ca88d=>_0x5ca88d[_0xe6530a(0x1a4)]?[_0x5ca88d[_0xe6530a(0x1a4)]]:this[_0xe6530a(0xf0)](_0x233442));return Array[_0xe6530a(0x162)](new Set(_0x4c0267));}['_groupCellInvalidations'](_0x4ca8a8,_0x35d4f9){const _0x15fc08=_0x5670e0;let _0x4b0a7a=new Set();return _0x35d4f9[_0x15fc08(0x303)]((_0x920473,_0x59937a)=>{const _0xa35f16=_0x15fc08;let _0x5d58bb=this[_0xa35f16(0xd9)](_0x4ca8a8,_0x59937a);if(!_0x5d58bb)return _0x920473;let _0x5d8cbb=_0x59937a['tableId']+':'+_0x5d58bb[_0xa35f16(0x24b)]+':'+_0x5d58bb['col'];return _0x4b0a7a['has'](_0x5d8cbb)||(_0x4b0a7a[_0xa35f16(0x41d)](_0x5d8cbb),_0x920473[_0x59937a['tableId']]=_0x920473[_0x59937a['tableId']]??[],_0x920473[_0x59937a[_0xa35f16(0x1a4)]][_0xa35f16(0x393)](_0x5d58bb)),_0x920473;},{});}[_0x5670e0(0xd9)](_0x19f5e3,_0x490170){const _0x3fef40=_0x5670e0;if(_0x490170['reason']!=='cell')return null;if(_0x490170[_0x3fef40(0x24b)]!=null&&_0x490170['column']!=null)return{'row':_0x490170[_0x3fef40(0x24b)],'col':_0x490170[_0x3fef40(0x3fc)],'value':null};if(!_0x490170[_0x3fef40(0x191)]||!_0x490170['fieldId'])return null;let _0x5ace9a=this[_0x3fef40(0x19d)](_0x19f5e3,_0x490170[_0x3fef40(0x1a4)]);if(!_0x5ace9a)return null;let _0x409b88=_t(_0x5ace9a,_0x490170['recordId'],_0x490170['fieldId']);return _0x409b88?{'row':_0x409b88['row'],'col':_0x409b88[_0x3fef40(0x324)],'value':null}:null;}[_0x5670e0(0xf0)](_0x3f1846){const _0x179bfc=_0x5670e0;let _0x533409=this[_0x179bfc(0xee)][_0x179bfc(0x1b8)](_0x3f1846,_0x1bf49d[_0x179bfc(0x373)]);return Object[_0x179bfc(0x1c8)]((_0x533409==null?void 0x0:_0x533409[_0x179bfc(0x1ec)]()[_0x179bfc(0x41c)])??{})['map'](_0x2ff31a=>_0x2ff31a['id']);}[_0x5670e0(0x19c)](){const _0x21b84c=_0x5670e0;let _0x557176=this[_0x21b84c(0xee)]['getAllUnitsForType'](_0x1bf49d[_0x21b84c(0x373)])[_0x21b84c(0x102)](_0x33c084=>Ls(_0x33c084['getUnitId'](),Object[_0x21b84c(0x3ac)](_0x33c084[_0x21b84c(0x1ec)]()[_0x21b84c(0x41c)])));return Object[_0x21b84c(0x200)]({},..._0x557176);}};Rs=X([Y(0x0,_0x132141),Y(0x1,_0x2853e0)],Rs);let zs=class extends _0x29abb3{constructor(_0x563b4e,_0x41e6a5,_0x328086,_0x5d700b){const _0x127027=_0x5670e0;super(),this['_commandService']=_0x563b4e,this['_univerInstanceService']=_0x41e6a5,this[_0x127027(0x2c6)]=_0x328086,this[_0x127027(0x2ed)]=_0x5d700b,G(this,'_formulaService',new Xi()),G(this,'_registeredSuperTableNames',new Map()),G(this,_0x127027(0x124),new Set()),G(this,'_formulaSyncQueue',Promise[_0x127027(0xd6)]()),G(this,'_applyingFormulaResults',!0x1),this[_0x127027(0x2e1)]();}[_0x5670e0(0x2e1)](){const _0x2ed154=_0x5670e0;this[_0x2ed154(0xee)][_0x2ed154(0x2aa)](_0x1bf49d[_0x2ed154(0x373)])[_0x2ed154(0x143)](_0x4b25b6=>{this['_scheduleSuperTableSync'](_0x4b25b6);}),this['disposeWithMe'](this[_0x2ed154(0xee)][_0x2ed154(0xb0)](_0x1bf49d['UNIVER_BASE'])[_0x2ed154(0x3f0)](({unit:_0x4c99a9})=>{const _0x1a9a44=_0x2ed154;this[_0x1a9a44(0x433)](_0x4c99a9);})),this['disposeWithMe'](this[_0x2ed154(0xee)][_0x2ed154(0x3e5)](_0x1bf49d['UNIVER_BASE'])['subscribe'](_0x138da5=>{const _0x52d286=_0x2ed154;this[_0x52d286(0x1f0)](()=>this[_0x52d286(0x148)](_0x138da5[_0x52d286(0x2a0)]()));})),this[_0x2ed154(0xe6)](this[_0x2ed154(0x1ba)][_0x2ed154(0x3b1)](_0x21683b=>this[_0x2ed154(0x1f4)](_0x21683b)));}[_0x5670e0(0x1f4)](_0x3a6f48){const _0x4c602e=_0x5670e0;if(_0x3a6f48['id']===_0x5c34ce['id']){Vs(_0x3a6f48[_0x4c602e(0x149)])&&this['_applyFormulaResult'](_0x3a6f48[_0x4c602e(0x149)]);return;}if(this[_0x4c602e(0x384)]||_0x3a6f48['id']!==Q['id'])return;let _0x202929=Bs(_0x3a6f48[_0x4c602e(0x149)])?_0x3a6f48['params']:void 0x0,_0x50e71b=_0x202929!=null&&_0x202929[_0x4c602e(0x39d)]?[this['_univerInstanceService'][_0x4c602e(0x1b8)](_0x202929[_0x4c602e(0x39d)],_0x1bf49d[_0x4c602e(0x373)])][_0x4c602e(0x364)](_0x5c227e=>!!_0x5c227e):this[_0x4c602e(0xee)]['getAllUnitsForType'](_0x1bf49d[_0x4c602e(0x373)]),_0x5264ea=_0x202929==null?void 0x0:_0x202929['op'];_0x50e71b['forEach'](_0x4110c2=>{const _0x2b9fa5=_0x4c602e;let _0x48f1b2=_0x5264ea?Fs(_0x5264ea):[];(!_0x5264ea||_0x48f1b2[_0x2b9fa5(0x1c1)](_0x59aaf6=>_0x59aaf6['reason']!=='cell'))&&this['_scheduleSuperTableSync'](_0x4110c2);});}[_0x5670e0(0x433)](_0x1232b7){const _0x509c80=_0x5670e0;let _0x45d434=_0x1232b7['getUnitId']();this['_scheduledSuperTableSyncs'][_0x509c80(0xb9)](_0x45d434)||(this[_0x509c80(0x124)]['add'](_0x45d434),this[_0x509c80(0x1f0)](async()=>{const _0x1dc85=_0x509c80;this[_0x1dc85(0x124)][_0x1dc85(0x15e)](_0x45d434),await this[_0x1dc85(0x12a)](_0x1232b7);}));}async[_0x5670e0(0x12a)](_0x2b393d){const _0x409831=_0x5670e0;let _0x1a4e47=_0x2b393d[_0x409831(0x2a0)](),_0x2a3abe=this['_formulaService'][_0x409831(0x431)](_0x2b393d[_0x409831(0x1ec)]()),_0x34436a=new Set(_0x2a3abe[_0x409831(0x102)](({tableName:_0x17ba8e})=>_0x17ba8e)),_0xa5a2df=this[_0x409831(0x3cb)][_0x409831(0x2db)](_0x1a4e47)??new Set();for(let _0x59bda3 of _0xa5a2df)if(!_0x34436a[_0x409831(0xb9)](_0x59bda3)&&!await this[_0x409831(0x40e)](_0x43e1b6['id'],{'unitId':_0x1a4e47,'tableName':_0x59bda3}))return;for(let {tableName:_0x45afb5,reference:_0x57f5ac}of _0x2a3abe)if(!await this[_0x409831(0x40e)](_0x12cd84['id'],{'unitId':_0x1a4e47,'tableName':_0x45afb5,'reference':_0x57f5ac}))return;this['_registeredSuperTableNames'][_0x409831(0x2b8)](_0x1a4e47,_0x34436a);}async[_0x5670e0(0x148)](_0x264a9b){const _0x30b7a1=_0x5670e0;let _0xcb4834=this[_0x30b7a1(0x3cb)][_0x30b7a1(0x2db)](_0x264a9b)??new Set();for(let _0x5a5c1e of _0xcb4834)if(!await this['_executeSuperTableMutationWhileActive'](_0x43e1b6['id'],{'unitId':_0x264a9b,'tableName':_0x5a5c1e}))return;this[_0x30b7a1(0x3cb)][_0x30b7a1(0x15e)](_0x264a9b);}async[_0x5670e0(0x40e)](_0x182c43,_0x17cf3c){const _0x55bd1a=_0x5670e0;return!this[_0x55bd1a(0x223)]&&await this[_0x55bd1a(0x1ba)][_0x55bd1a(0x2c1)](_0x182c43,_0x17cf3c,{'onlyLocal':!0x0})&&!this[_0x55bd1a(0x223)];}['_enqueueFormulaSync'](_0x6e023a){const _0x1afe17=_0x5670e0;this[_0x1afe17(0x337)]=this[_0x1afe17(0x337)][_0x1afe17(0x201)](_0x6e023a,_0x6e023a)['catch'](()=>void 0x0);}[_0x5670e0(0x1d9)](_0x226c84){const _0x4bc659=_0x5670e0;let _0x1bdfdc=this['_univerInstanceService']['getAllUnitsForType'](_0x1bf49d['UNIVER_BASE']);if(!_0x1bdfdc['some'](_0x249c9f=>{const _0x5dea36=_0x4f53;var _0x53e8ff;return((_0x53e8ff=_0x226c84[_0x5dea36(0xab)])==null?void 0x0:_0x53e8ff[_0x249c9f['getUnitId']()])!=null;}))return;let _0x4d800f=_0x1bdfdc[_0x4bc659(0x98)](_0x5be9d3=>Zi(_0x5be9d3['getSnapshot'](),_0x226c84));if(!_0x4d800f[_0x4bc659(0x19b)]){this[_0x4bc659(0x2ed)][_0x4bc659(0x3d4)](_0x30a4a7[_0x4bc659(0x14c)],_0x226c84);return;}let _0x3eb01a=new W(),_0x3bb736=_0x4d800f['flatMap'](_0x5db34c=>Is({'unitId':_0x5db34c[_0x4bc659(0x39d)],'tableId':_0x5db34c[_0x4bc659(0x1a4)],'patches':_0x5db34c[_0x4bc659(0x3c2)]}));this[_0x4bc659(0x384)]=!0x0,(async()=>{const _0x42c354=_0x4bc659;for(let _0xf78ff0 of _0x4d800f){let _0x43d4f6=this['_univerInstanceService'][_0x42c354(0x1b8)](_0xf78ff0[_0x42c354(0x39d)],_0x1bf49d[_0x42c354(0x373)]);_0x43d4f6&&await this[_0x42c354(0x1ba)]['executeCommand'](Q['id'],{'unitId':_0xf78ff0['unitId'],'op':_0x3eb01a[_0x42c354(0x38b)](_0x43d4f6['getSnapshot'](),_0xf78ff0[_0x42c354(0x1a4)],_0xf78ff0[_0x42c354(0x3c2)]),'trigger':_0x5c34ce['id']},{'onlyLocal':!0x0});}await this['_commandService']['executeCommand'](_0x30cec2['id'],{'dirtyRanges':_0x3bb736},{'onlyLocal':!0x0});})()[_0x4bc659(0x15c)](()=>{const _0x500cab=_0x4bc659;this[_0x500cab(0x384)]=!0x1,this[_0x500cab(0x2ed)]['markResultApplied'](_0x30a4a7[_0x500cab(0x14c)],_0x226c84);});}};zs=X([Y(0x0,_0x228e7e),Y(0x1,_0x2853e0),Y(0x2,_0x72259(_0x3ffd23)),Y(0x3,_0x72259(_0x59542a))],zs);function Bs(_0x402750){const _0x480ea0=_0x5670e0;return typeof _0x402750=='object'&&!!_0x402750&&_0x480ea0(0x39d)in _0x402750&&typeof _0x402750[_0x480ea0(0x39d)]==_0x480ea0(0x2dc)&&'op'in _0x402750&&Array[_0x480ea0(0x99)](_0x402750['op']);}function Vs(_0x3cc3c8){const _0x1639f6=_0x5670e0;return typeof _0x3cc3c8==_0x1639f6(0x360)&&!!_0x3cc3c8&&_0x1639f6(0xab)in _0x3cc3c8&&_0x1639f6(0x9a)in _0x3cc3c8;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x29abb3{constructor(_0x1c3d55,_0x3a7a67,_0xb70e2f,_0x4fa2f7){const _0x41d3d4=_0x5670e0;super(),this['_injector']=_0x1c3d55,this[_0x41d3d4(0x1ba)]=_0x3a7a67,this[_0x41d3d4(0x312)]=_0xb70e2f,this[_0x41d3d4(0xaf)]=_0x4fa2f7,this[_0x41d3d4(0xaf)][_0x41d3d4(0x2aa)](_0x1bf49d[_0x41d3d4(0x373)])[_0x41d3d4(0x143)](_0x3f91ba=>this['_registerUnitPermissionPoints'](_0x3f91ba['getUnitId']())),this['disposeWithMe'](this['_instanceService']['getTypeOfUnitAdded$'](_0x1bf49d['UNIVER_BASE'])['subscribe'](({unit:_0x436fb2})=>this[_0x41d3d4(0x34e)](_0x436fb2[_0x41d3d4(0x2a0)]()))),this[_0x41d3d4(0xe6)](this[_0x41d3d4(0x1ba)][_0x41d3d4(0x291)]((_0x120fd2,_0x4db5dc)=>this[_0x41d3d4(0x126)](_0x120fd2,_0x4db5dc))),this[_0x41d3d4(0xe6)](this[_0x41d3d4(0xaf)][_0x41d3d4(0x3e5)](_0x1bf49d['UNIVER_BASE'])[_0x41d3d4(0x3f0)](_0x420b68=>{const _0x20cf95=_0x41d3d4;this[_0x20cf95(0x430)][_0x20cf95(0x2db)](_0x33f458)[_0x20cf95(0x161)](_0x420b68[_0x20cf95(0x2a0)]()),Rr(this[_0x20cf95(0x312)],_0x420b68[_0x20cf95(0x2a0)]());}));}[_0x5670e0(0x34e)](_0x1d4d27){const _0x537fbb=_0x5670e0;Tr[_0x537fbb(0x143)](_0x5bcc3d=>{const _0x14669d=_0x537fbb;let _0x1d5c6d=Pr(_0x1d4d27,_0x1d4d27,_0x5bcc3d);this[_0x14669d(0x312)][_0x14669d(0x34a)](_0x1d5c6d['id'])||this['_permissionService']['addPermissionPoint'](_0x1d5c6d);}),this[_0x537fbb(0x430)][_0x537fbb(0x2db)](_0x33f458)[_0x537fbb(0x16d)]({'unitId':_0x1d4d27,'objectId':_0x1d4d27,'objectType':_0x2d9d6e[_0x537fbb(0x129)]});}[_0x5670e0(0x126)](_0x5ac523,_0x5d1653){const _0x435964=_0x5670e0;var _0x495938;if(_0x5d1653!=null&&_0x5d1653['fromCollab']||_0x5d1653!=null&&_0x5d1653[_0x435964(0x418)])return;let _0x162196=tc(_0x5ac523[_0x435964(0x149)])?_0x5ac523[_0x435964(0x149)]:void 0x0;if(_0x5d1653!=null&&_0x5d1653[_0x435964(0x13b)]&&_0x5ac523['id']==='base.mutation.apply-base-json1'&&(_0x162196==null?void 0x0:_0x162196[_0x435964(0x280)])===_0x5c34ce['id'])return;let _0x17fb06=Gs(_0x5ac523['id']),_0x1c4da7=Ws(_0x162196==null?void 0x0:_0x162196[_0x435964(0x39d)],_0x5d1653)??(_0x17fb06?(_0x495938=this[_0x435964(0xaf)]['getCurrentUnitOfType'](_0x1bf49d[_0x435964(0x373)]))==null?void 0x0:_0x495938[_0x435964(0x2a0)]():void 0x0);if(!_0x1c4da7||this[_0x435964(0xaf)]['getUnitType'](_0x1c4da7)!==_0x1bf49d[_0x435964(0x373)])return;if(_0x17fb06){if(!Fr(this[_0x435964(0x312)],_0x1c4da7,_0x1c4da7,_0x17fb06))throw this[_0x435964(0x430)][_0x435964(0x2db)](_0x2fce34)[_0x435964(0x29f)](_0x1c4da7),new _0x37916c('Base\x20'+_0x5ebf52[_0x17fb06]+_0x435964(0x1b5));return;}if(Hs[_0x435964(0xb9)](_0x5ac523['id'])||!_0x5ac523['id'][_0x435964(0xb5)]('base.command.')&&!_0x5ac523['id'][_0x435964(0xb5)]('base.mutation.'))return;let _0x24a570=this[_0x435964(0xaf)][_0x435964(0x1b8)](_0x1c4da7,_0x1bf49d[_0x435964(0x373)]),_0x184347=_0x24a570?Ks(_0x24a570,_0x162196??{},_0x5ac523['id']):[];if(!_0x24a570||!zr(this[_0x435964(0x312)],_0x1c4da7,_0x184347))throw this['_injector'][_0x435964(0x2db)](_0x2fce34)[_0x435964(0x29f)](_0x1c4da7,_0x184347),new _0x37916c('Base\x20edit\x20permission\x20denied.');}};Us=X([Y(0x0,_0x72259(_0x6fca8)),Y(0x1,_0x228e7e),Y(0x2,_0x5b6ee9),Y(0x3,_0x2853e0)],Us);function Ws(_0x87e91f,_0x53d728){const _0x418148=_0x5670e0;return typeof _0x87e91f==_0x418148(0x2dc)?_0x87e91f:typeof(_0x53d728==null?void 0x0:_0x53d728[_0x418148(0x39d)])==_0x418148(0x2dc)?_0x53d728['unitId']:void 0x0;}function Gs(_0x36959b){const _0x3dccf7=_0x5670e0;if(_0x36959b===_0x3dccf7(0x410)||_0x36959b==='bases-exchange-client.operation.export-base-by-format')return _0x5ebf52[_0x3dccf7(0x3d7)];if(_0x36959b[_0x3dccf7(0xb5)](_0x3dccf7(0x3a9))||_0x36959b[_0x3dccf7(0xb5)](_0x3dccf7(0x1da)))return _0x5ebf52[_0x3dccf7(0x316)];}function Ks(_0x1da0a5,_0x23e757,_0x169318){const _0x4a926d=_0x5670e0;if(_0x169318===_0x4a926d(0x2f8)&&ec(_0x23e757['op']))return qs(_0x1da0a5,_0x23e757['op']);let _0xe1b865=new Set(),_0x446806=Zs(_0x23e757,_0x4a926d(0x19f)),_0x1a693b=typeof _0x23e757['tableId']==_0x4a926d(0x2dc)?_0x23e757[_0x4a926d(0x1a4)]:_0x446806[0x0];if(_0x446806['forEach'](_0x8423a2=>_0xe1b865['add'](K(_0x8423a2))),!_0x1a693b)return[..._0xe1b865];let _0x21c5af=_0x1da0a5['getSnapshot']()[_0x4a926d(0x41c)][_0x1a693b],_0x5af528=new Set(Zs(_0x23e757,'field')),_0x97509d=new Set(Zs(_0x23e757,_0x4a926d(0x1ef))),_0x3fd346=new Set(Zs(_0x23e757,'view'));return Qs(_0x21c5af,_0x23e757['patches'],_0x97509d,_0x5af528),$s(_0x23e757,_0x5af528),_0x5af528[_0x4a926d(0x143)](_0x19027b=>_0xe1b865[_0x4a926d(0x41d)](q(_0x1a693b,_0x19027b))),_0x97509d['forEach'](_0x4c064f=>_0xe1b865[_0x4a926d(0x41d)](J(_0x1a693b,_0x4c064f))),_0x3fd346['forEach'](_0xe0b54c=>_0xe1b865[_0x4a926d(0x41d)](Mr(_0x1a693b,_0xe0b54c))),[..._0xe1b865];}function qs(_0x244e1c,_0x53ac58){const _0x4cac76=_0x5670e0;let _0x3e5b90=_0x244e1c['getSnapshot'](),_0x93da4=new z()['getAffectedRanges'](_0x53ac58),_0x4f45e3=Js(_0x53ac58),_0x3d8d39=new Set();return _0x93da4['forEach'](_0x5eded2=>{const _0x2eed2f=_0x4f53;var _0x5cae3e,_0x53af35;let {tableId:_0x5a6ca0}=_0x5eded2;if(!_0x5a6ca0)return;_0x3d8d39[_0x2eed2f(0x41d)](K(_0x5a6ca0));let _0x3f56b1=_0x3e5b90[_0x2eed2f(0x41c)][_0x5a6ca0],_0x4ccdf4=_0x5eded2[_0x2eed2f(0x191)]??(_0x5eded2[_0x2eed2f(0x24b)]==null||_0x3f56b1==null||(_0x5cae3e=_0x3f56b1[_0x2eed2f(0x2ea)])==null?void 0x0:_0x5cae3e[_0x5eded2[_0x2eed2f(0x24b)]]),_0x3ea8d0=_0x5eded2['fieldId']??(_0x5eded2[_0x2eed2f(0x3fc)]==null||_0x3f56b1==null||(_0x53af35=_0x3f56b1['colId'])==null?void 0x0:_0x53af35[_0x5eded2['column']]);_0x4ccdf4&&_0x3d8d39['add'](J(_0x5a6ca0,_0x4ccdf4)),_0x3ea8d0&&_0x3d8d39[_0x2eed2f(0x41d)](q(_0x5a6ca0,_0x3ea8d0)),_0x5eded2['viewId']&&_0x3d8d39[_0x2eed2f(0x41d)](Mr(_0x5a6ca0,_0x5eded2[_0x2eed2f(0xc1)])),(_0x5eded2[_0x2eed2f(0x37a)]===_0x2eed2f(0x19f)||_0x4f45e3[_0x2eed2f(0xb9)](_0x5a6ca0))&&_0x3f56b1&&(Object[_0x2eed2f(0x3ac)](_0x3f56b1['fields'])[_0x2eed2f(0x143)](_0x402ee8=>_0x3d8d39[_0x2eed2f(0x41d)](q(_0x5a6ca0,_0x402ee8))),Object[_0x2eed2f(0x3ac)](_0x3f56b1[_0x2eed2f(0x83)])[_0x2eed2f(0x143)](_0x4481f1=>_0x3d8d39['add'](J(_0x5a6ca0,_0x4481f1))),Object['keys'](_0x3f56b1[_0x2eed2f(0x21f)])[_0x2eed2f(0x143)](_0x11a735=>_0x3d8d39[_0x2eed2f(0x41d)](Mr(_0x5a6ca0,_0x11a735)))),_0x5eded2[_0x2eed2f(0x37a)]===_0x2eed2f(0x1ef)&&_0x3f56b1&&Object[_0x2eed2f(0x3ac)](_0x3f56b1[_0x2eed2f(0x2cb)])[_0x2eed2f(0x143)](_0x3948b7=>_0x3d8d39[_0x2eed2f(0x41d)](q(_0x5a6ca0,_0x3948b7)));}),_0x93da4[_0x4cac76(0x19b)]===0x0&&Xs(_0x53ac58,_0x4cac76(0x427))&&Object[_0x4cac76(0x3ac)](_0x3e5b90['tables'])[_0x4cac76(0x143)](_0x1d371b=>_0x3d8d39[_0x4cac76(0x41d)](K(_0x1d371b))),[..._0x3d8d39];}function Js(_0x2de878){let _0x3eae04=new Set(),_0x2b8fe3=_0x2a4664=>{const _0x429cbd=_0x4f53;Array[_0x429cbd(0x99)](_0x2a4664)&&_0x2a4664[_0x429cbd(0x143)]((_0x55c90e,_0x3c72b7)=>{const _0x5baf55=_0x429cbd;_0x55c90e===_0x5baf55(0x41c)&&typeof _0x2a4664[_0x3c72b7+0x1]==_0x5baf55(0x2dc)&&Ys(_0x2a4664[_0x3c72b7+0x2])&&_0x3eae04['add'](_0x2a4664[_0x3c72b7+0x1]),_0x2b8fe3(_0x55c90e);});};return _0x2b8fe3(_0x2de878),_0x3eae04;}function Ys(_0x5be459){const _0x445e06=_0x5670e0;return!!_0x5be459&&typeof _0x5be459==_0x445e06(0x360)&&!Array['isArray'](_0x5be459)&&('i'in _0x5be459||'r'in _0x5be459||'p'in _0x5be459||'d'in _0x5be459||'es'in _0x5be459||_0x445e06(0x3be)in _0x5be459||'et'in _0x5be459);}function Xs(_0xf4f66f,_0x1d7f2c){const _0x5a16fc=_0x5670e0;return Array[_0x5a16fc(0x99)](_0xf4f66f)&&_0xf4f66f[_0x5a16fc(0x1c1)](_0x16a17b=>_0x16a17b===_0x1d7f2c||Xs(_0x16a17b,_0x1d7f2c));}function Zs(_0x553157,_0x58c8ad){let _0x11de2b=new Set(),_0x5c0fda=_0x58c8ad+'Id',_0x1fd483=_0x58c8ad+'Ids',_0x4eccd7=(_0x183ab9,_0x3cf06e='')=>{const _0x365c22=_0x4f53;typeof _0x183ab9=='string'?_0x3cf06e===_0x5c0fda&&_0x11de2b[_0x365c22(0x41d)](_0x183ab9):Array[_0x365c22(0x99)](_0x183ab9)?_0x3cf06e===_0x1fd483?_0x183ab9[_0x365c22(0x143)](_0x5d159b=>{const _0x4562cd=_0x365c22;typeof _0x5d159b==_0x4562cd(0x2dc)&&_0x11de2b[_0x4562cd(0x41d)](_0x5d159b);}):_0x183ab9['forEach'](_0x5cbfe4=>_0x4eccd7(_0x5cbfe4,_0x3cf06e)):tc(_0x183ab9)&&Object[_0x365c22(0x419)](_0x183ab9)[_0x365c22(0x143)](([_0x438c7d,_0x31c57b])=>{_0x438c7d==='id'&&_0x3cf06e===_0x58c8ad&&typeof _0x31c57b=='string'?_0x11de2b['add'](_0x31c57b):_0x4eccd7(_0x31c57b,_0x438c7d);});};return _0x4eccd7(_0x553157),[..._0x11de2b];}function Qs(_0x3f072c,_0x194772,_0x351afc,_0x582706){const _0x3985dd=_0x5670e0;_0x3f072c&&Array['isArray'](_0x194772)&&_0x194772[_0x3985dd(0x143)](_0x514d25=>{const _0x4d9b5d=_0x3985dd;if(!tc(_0x514d25))return;let _0x1c1576=_0x514d25;if(typeof _0x1c1576[_0x4d9b5d(0x24b)]=='number'){var _0x8ce0af;let _0x447b61=(_0x8ce0af=_0x3f072c[_0x4d9b5d(0x2ea)])==null?void 0x0:_0x8ce0af[_0x1c1576[_0x4d9b5d(0x24b)]];_0x447b61&&_0x351afc[_0x4d9b5d(0x41d)](_0x447b61);}if(typeof _0x1c1576['col']==_0x4d9b5d(0x174)){var _0xd3feb1;let _0x23c825=(_0xd3feb1=_0x3f072c[_0x4d9b5d(0x18c)])==null?void 0x0:_0xd3feb1[_0x1c1576[_0x4d9b5d(0x324)]];_0x23c825&&_0x582706[_0x4d9b5d(0x41d)](_0x23c825);}});}function $s(_0x3e865f,_0x180f36,_0x2d3324=''){const _0xcd4d29=_0x5670e0;_0x3e865f&&typeof _0x3e865f==_0xcd4d29(0x360)&&(Array[_0xcd4d29(0x99)](_0x3e865f)?_0x3e865f[_0xcd4d29(0x143)](_0x41ac29=>$s(_0x41ac29,_0x180f36,_0x2d3324)):tc(_0x3e865f)&&Object['entries'](_0x3e865f)['forEach'](([_0xed2e4e,_0x5950f8])=>{_0x2d3324==='values'&&_0x180f36['add'](_0xed2e4e),$s(_0x5950f8,_0x180f36,_0xed2e4e);}));}function ec(_0x18950){return Array['isArray'](_0x18950);}function tc(_0x1e33ac){const _0x93eed=_0x5670e0;return typeof _0x1e33ac==_0x93eed(0x360)&&!!_0x1e33ac&&!Array[_0x93eed(0x99)](_0x1e33ac);}const nc=_0x39c797('base.resource.service');let rc=class{constructor(_0x3b9ab3){const _0x4c152e=_0x5670e0;this[_0x4c152e(0xee)]=_0x3b9ab3;}[_0x5670e0(0x319)](_0x4d58d0){const _0x32c98d=_0x5670e0;return this[_0x32c98d(0xee)][_0x32c98d(0x1b8)](_0x4d58d0,_0x1bf49d['UNIVER_BASE'])??null;}['getAllBases'](){const _0x55c807=_0x5670e0;return this[_0x55c807(0xee)]['getAllUnitsForType'](_0x1bf49d['UNIVER_BASE']);}['createBase'](_0x271082){const _0x51fca0=_0x5670e0;return this[_0x51fca0(0xee)][_0x51fca0(0x25b)](_0x1bf49d[_0x51fca0(0x373)],_0x271082);}};function _0x1ee8(){const _0x4f8d13=['_resolveGalleryCoverFieldId','dependencyFieldId','canEditField','tryMaterializeSnapshot','getAll','createViewId','date','markResultApplied','[BaseHierarchy]:\x20field\x20\x22','join','Export','[BaseHierarchy]:\x20','weekdays','Unsupported\x20Base\x20permission\x20action:\x20','DESC','Remote','group','base.command.set-base-record-values','_normalizeCalendarDisplayColor','base.command.set-permission','getMonth','basePerf','base.fieldType.','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','getTypeOfUnitDisposed$','_syncBaseUnit','sortedView','base.command.set-base-name','_getViewRevision','[BaseCommandService]:\x20cannot\x20edit\x20table.','YYYY/MM/DD','_getKanbanConfiguredLanes','matchAll','blue','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','subscribe','objectType','\x20has\x20unsupported\x20operator\x20\x22','_config','createBatchCreateRecordsOp','descend','rule','attachment','general','every','[BaseCommandService]:\x20field\x20\x22','Text','column','insertOp','-record-','query','_buildGrid','\x22\x20does\x20not\x20exist.','pop','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).','getProjection','_buildGantt','Copy','config','manageView','isNot','\x22\x20with\x20field\x20type\x20\x22','registerRuleModel','_projectedViewRowsCache','_deleteRecordsBaseOp','_executeSuperTableMutationWhileActive','unitWidth','bases-exchange-client.operation.export-base','recordOrder','BaseField','clearFieldPermission','315jpDjrH','getUTCDate','BaseProjection.getProjection','_resolveKanbanCardFieldIds','fromChangeset','entries','defaultValue','[BaseViewRegistryService]:\x20view\x20type\x20\x22','tables','add','redo','_resolveCardTitleFieldId','commaPeriod','MMM\x20D,\x20YYYY','_recordIds','_projectTableRows','exceptions','base.command.update-base-view-conditional-color-rules','cellRevision','tableOrder','view-','UpdatedBy','_viewRevisionKey','notContains','base.command.set-base-view-sort','_cellInvalidations','_setFormulaFieldCells','recordIds','_injector','getSuperTableRegistrations','createUpdateCellOp','_scheduleSuperTableSync','default','records','\x20has\x20unsupported\x20date\x20mode\x20\x22','Gallery','_getStructureDirtyTableIds','_canUseFastSort','dashboard/','colorFieldId','_matchesGanttColorRule','MultiSelect','getOwnPropertyDescriptor','bases.fieldConfig.textPlaceholder','allowNegative','REMOTE_BASES_PLUGIN','validateFormula','findIndex','end','#,##0.00','base.command.move-base-hierarchy-record','index','cell','invalidateByOp','flatMap','isArray','unitOtherData','raw','_getOrderedRecords','base.mutation.set-permission-rule','Done','groupFieldId','BaseTable','Checked','AFTER','\x20has\x20unsupported\x20target\x20\x22','this-row','onStarting','base.command.create-base-record','Start\x20date','cardLayout','base.command.delete-base-table','_tablePermissions','unitData','view/','descendPath','base-perf','_instanceService','getTypeOfUnitAdded$','base.command.update-base-kanban-config','field/','[BaseField]:\x20invalid\x20checkbox\x20value.','_groupProjectionFieldIds','startsWith','colIndex','symbol','base.command.create-base-field','has','objectId','Uncategorized','End\x20date','decimal','dateMode','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','base-perf-','viewId','operator','_isKanbanGroupField','General','base.command.set-permissions','displayFieldId','base.viewType.grid','invalid','_apply','month','h12','separatorStyle','codePointAt','_projectHierarchyGroups','status','_createNumberingAllocator','_tableBaseIds','revision','base.command.move-base-field','[BaseCommandService]:\x20record-id\x20is\x20reserved.','base.command.delete-base-view','resolve','\x22\x20is\x20not\x20registered.','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_toDirtyRangePatch','setRecordValues','searchTexts','_plugins','_groupCellInvalidations','Unchecked','exception-','base-snapshot-v1','version','BaseDashboard','decimalPlaces','createDefaultConfig','data','disposeWithMe','option-','unknown','NEXT_7_DAYS','mode','type','_createRecordOrderOp','_runtimeContext','_univerInstanceService','useThousands','_getAllTableIds','Todo','replace','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','IS_NOT','flat','base.command.rename-base-view','setBasePermission','Gantt','timeZone','slice','cycle','_projectFields','_projectedRowsCache','BaseProjection.projectRows','canEditRecord','search','DeleteView','map','_recordPermissions','_getCurrentUserId','hostAnchorId','test','embed-ui','subtreeHeightByRecordId','selectField','Numbering','_bumpTableRevision','invalidateByView','gridViewId','Undo','parentRecordId','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','missingField','False','scale','clear','Currency','duplicateField','clearRecordPermission','updatedBy','_title','workingDays','regenerateViewIds','FORCE_STRING','invalidField','base.mutation.set-permission-rules','endDateFieldId','updatedAt','CreatedAt','https://','_applier','_scheduledSuperTableSyncs','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','_check','hasOwnProperty','_resolveGanttDateFieldId','Base','_syncSuperTables','isEmpty','THIS_MONTH','trim','error','split','hierarchy','[BaseCommandService]:\x20cannot\x20edit\x20field.','[BaseFormula]:\x20table\x20\x22','-field-name','Attachment','localeCompare','createRecord','[BaseField]:\x20invalid\x20multi-value\x20reference.','_resolveBaseId','viewOrder','system','onlyLocal','changed','SortedView','quarter','STRING',':end','normalize','canManageView','forEach','strategies','spacePeriod','base.command.update-base-field-description','_clearObjectEdit','_removeSuperTables','params','filled','LAST_WEEK','BASE','_isAllowedKanbanGroupField','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','148533NtdGZs','TOMORROW','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','base.command.create-base-table','dispose','isFinite','record/','canCreateTable','base-range-values-v1','level','prototype','compare','base.viewType.gantt','finally','direction','delete','primaryFieldName','manual','clearUnit','from','base.command.delete-base-record','userID','titleFieldId','getUTCDay','parentFieldName','boolean','childType','BaseProjection.projectGroups','beforeViewId','setViewSort','initializeUnit','Calendar','create-view','beforeFieldId','PAST_30_DAYS','editable','includes','number','lessThan','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','formulaName','week','registerCommand','_views','setConfig','createSuperTableReference','ascend','sum','getTypePlugin','IS_NOT_EMPTY','createDeleteRecordsUndoOp','Add','canDeleteField','resources','getUTCFullYear','fieldId','toLocaleString','exists','BOOLEAN','_buildGallery','undo','colId','_createNumberingAllocators','TODAY','Email','parentByRecordId','recordId','_initRegistries','_replaceOptional','getStructuredDependencies','base.command.update-base-field','conditions','_kanbanLaneTitle','editCell','coverFieldId','setViewFilter','length','_getAllBaseDependencyTreeCacheMap','_getTable','usableAsCardCover','table','stringify','_projectRows','base.command.set-base-view-filter','LESS_THAN','tableId','todo','[RecordLink]:\x20field\x20config\x20is\x20invalid.','base.permission.service','info','updateField','_kanbanGroupKeys','getCapabilities','off','true','Rating','getDependencies','_fieldPermissions','duplicateRecord','snapshot','person','columns','\x20permission\x20denied.','_baseSyncDisposables','edit','getUnit','Failed\x20to\x20create\x20update\x20cell\x20operation:','_commandService','Table\x20name\x20is\x20required.','relationRole','setViewGroup','validate','_patchCachedProjectedRows','base.command.batch-create-base-records','some','[DeleteBaseTableCommand]:\x20table\x20\x22','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','table/','_resolveCalendarDateFieldId','numfmt','_kanbanLaneColor','values','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','__tempBatchingUndoRedo','Unsupported\x20Base\x20permission\x20object:\x20','Date','canCreateRecord','children','cardSize','isValid','lastIndexOf','action','key','[BaseCommandService]:\x20cannot\x20create\x20table.','_viewRevisions','@univerjs-pro/bases','__UNIVER_BASE_PERF__','calendar','_applyFormulaResult','thread-comment.mutation.','_normalizeCellValue','day','SingleSelect','start','_isAllDayGanttDateRange','Parent','_setAttachmentResources','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','_rowTransformCacheSegment','_calendarEventColor','_viewPermissions','displayColor','projection','target','88jhCXpn','_sortRows','setViewFieldWidth','getSnapshot','[BaseCommandService]:\x20invalid\x20cell\x20value.','CreatedBy','record','_enqueueFormulaSync','selfParent','Checkbox','valueOf','_onCommandExecuted','view','fieldIds','138730DOQROx','changeFieldType','_withModifiedSystemValues','undefined','lastIndex','toPrimitive','lessThanOrEqual','_cellRevisions','[BaseProjectionService]:\x20missing\x20view\x20\x22','assign','then','frozenFieldCount','policy','showTodayLine','short','[BaseField]:\x20invalid\x20date\x20value.','year','_isGanttDateField','_createNumberingFieldValuePatches','[BasePerf]\x20','updateCell','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','ruleId','_getJson1DirtyData','BaseView','invertOp','forValue','options','bases.config','onReady','333067MCqLxL','_cellInvalidationsTouchFields','round','optionSource','childUnitId','large','[BaseField]:\x20invalid\x20person\x20value.','moveField','hidden','LAST_MONTH','views','_setViewFieldSetting','_isColorfulKanbanGroupField','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','_disposed','bases.fieldConfig.linkPlaceholder','setViewFieldOrder','bases.remote.config','conditionalColoring','_groupsCacheKey','#,##0','1249640dzXlwr','base.viewType.calendar','abbreviation','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','allowMultiple','showFieldNames','invalidateByField','Choose\x20another\x20name.','SelfParent','renameTable','#16a34a','href','UpdatedAt','_viewRowsCacheKey','deleteTable','_assertFieldDefinition','getAffectedRanges','result','getUTCMonth','_patchProjectedRowsForCellInvalidations','formula','BASE_OBJECT_PERMISSION_PLUGIN','base.command.update-base-record-order','subtreeEndIndex','Import','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','_normalizeCalendarConfig','maxDepth','valid','createTable','nodes','sort','baseRows','row','base.command.validate-formula','[BaseField]:\x20invalid\x20progress\x20value.','renameFormulaUnitReferences','createCreateRecordOp','rowIndex','function','INIT','createRecords','pickerFieldIds','BaseJson1.syncCellInvalidations','leftPaneCollapsed','apostrophe','_globalRevision','cellData','base.command.update-base-view-config','createUnit','check','_hierarchyIndexCache','516403RTEOtX','setBaseName','[BaseCommandService]:\x20cannot\x20delete\x20record.','_deleteAttachmentResources','[BaseFormula]:\x20field\x20\x22','saveMany','workingDaysOnly','afterFieldId','greaterThanOrEqual','setViewPermission','size','addPermissionPoint','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','_fieldRegistry','_projectionCache','unsubscribe','canEditTable','name','done','Status','max','getDay','_getCellRevision','_clearUnit','isInteger','text','autoIncrement','createRegExpFromSafeFragment','base.view-registry.service','orderKey','base.field-registry.service','Number','viewRevision','471540eIXRWY','trigger','_initCommands','count','BaseJson1.normalizeTables','5SLFcDm','columnSettings','owner','Invalid\x20object\x20permission\x20batch.','isNotEmpty','setRecordPermission','\x20must\x20be\x20an\x20object.','createCreateFieldOp','createField','PAST_7_DAYS','displayText','InvalidField','DD/MM/YYYY','beforeCommandExecuted','small','deleteRecords','rootRecordIds','MissingParent','registerView','_cacheKey','_T_','base.command.service','description','Edit','BaseJson1.cloneForOp','Group','createSetRecordValuesOp','emitPermissionDenied','getUnitId','_initDependencies','invalidateByCell','includeRecords','_findKanbanGroupField','kanban','diffValue','depthByRecordId','Grid','viewIndexes','getAllUnitsForType','#3b82f6','_basePermissions','operand','multiple','setViewFieldVisible','Progress','canCreateField','_setCachedProjection','now','yyyy/mm/dd','average','format','Redo','set','attachments','[RecordLink]:\x20display\x20field\x20\x22','delete-view','_filterSortFieldIds','2230392ZqkDsI','compress','usableAsGanttEnd','_getTableRevision','executeCommand','protocol','THIS_WEEK','_normalizeGanttConfig','#FDE68A','_formulaCalculationTriggerService','NEXT_30_DAYS','deleteField','base.command.set-base-view-field-order','isNaN','fields','defineProperty','width','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','kind','focusUnit','save','Delete','timeslotSize','majorHeaders','clearBasePermission','source','primaryFieldId','_resolveKanbanGroupFieldId','recordNamePrefix','_factory','get','string','#BBF7D0','_canEditTable','packageName','_isNonEmptyCellValue','_initialize','_getHierarchyIndex','36yueGjU','title','working','label','NumberFormat','indexOf','Phone','rowId','createView',',,\x22M\x22','_formulaCalculationSessionService','applyOp','_ganttBarColor','_isCalendarDateField','members','fld-','deletePermissionPoint','repairViewConfig','MissingRecord','_materializeFormulaTableNames','BaseRecord','base.mutation.apply-base-json1','removeOp','syncExecuteCommand','register','facade','false','IS_EMPTY','greaterThan','RecordId','locale','[BaseCommandService]:\x20cannot\x20create\x20field.','reduce','periodComma','orderedRecordIds','invalid-characters','getAllPermissionPoint','formula.mutation.set-formula-calculation-result','Date1900','Facade','includeTime','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','code','base.viewType.gallery','\x20cannot\x20use\x20operator\x20\x22','subType','order','_permissionService','en-US','base.command.duplicate-base-record','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','Comment','rules','embedId','getBase','invalidGanttEndField','local','invertWithDoc','usableAsCalendarDate','startDateFieldId','YESTERDAY','required','call','recordCount','MUTATION','col','_buildKanban','targetTableId','Working\x20day','_tableRevisions','_rememberTable','setTablePermission','deleteView','oldParentRecordId','missingRecord','base.command.update-base-cell','attachmentSets','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','none','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','leftPaneWidth','renameView','color','invalidReasonByRecordId','_formulaSyncQueue','_fastSortRows','\x22.\x20Allowed\x20operators:\x20','_materializeGroups','[BaseCommandService]:\x20cannot\x20manage\x20view.','url','_projectGroups','base.command.rename-base-table','_createRecordWithDefaults','Kanban','toString','BaseHierarchyError','deepClone','globalRevision','COMMAND','$1\x20','[BaseFormula]:\x20table\x20does\x20not\x20exist.','h24','user','getPermissionPoint','rowIndexById','depth','[BaseCommandService]:\x20cannot\x20create\x20record.','_registerUnitPermissionPoints','compose','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_setObjectEdit','pushUndoRedo','BaseJson1.json1Apply','_projectedGroupsCache','Cycle','http:','measure','readonly','base.command.set-base-view-group','A\x20table\x20with\x20this\x20name\x20already\x20exists.','deleteRecord','updateViewConfig','duplicate','medium','BEFORE','object','find','resolvedOptions','custom','filter','write','remove','fieldOrder','[BaseCommandService]:\x20cannot\x20edit\x20cell.','formatToParts','pluginName','getInstance','Person','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','setHours','RecordLink','_initDataSync','_normalizeGalleryConfig','endsWith','UNIVER_BASE','toLowerCase','_findCalendarDateFieldId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','normal','field','getItem','reason','COLUMN','_filterRows','score','getFullYear','setSnapshot','card','[BaseCommandService]:\x20cannot\x20edit\x20record.','getTime','spaceComma','_applyingFormulaResults','replaceOp','contains','_normalizeGanttDisplayColor','canDeleteRecord','base.command.create-base-child-record','value','setRangeValues','_getSystemFieldValue','unique','moveView','base.viewType.kanban','-view-grid','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','updateRecordOrder','push','EXACT','dateFormat','empty','UTC','usableAsGanttStart','Link','NUMBER','_configService','star','unitId','fieldSettings','_activeDirtyManagerService','_capabilities','min','toFixed','[RecordLink]:\x20target\x20record\x20\x22','_resolveKanbanCoverFieldId','Formula','getFocusedUnit','fromEntries','mark','thread-comment.command.','Empty','all','keys','MaxDepth','#14b8a6','attachmentSet','Name','onCommandExecuted','fieldName','4ftDvQo','unshift','conditional','rows','abs','\x22\x20is\x20referenced\x20by\x20','_dataSyncPrimaryController','gantt','thumbnail','tableRevision','createdBy','ena','groups','currencySymbol','_canEdit','patches','changes','h:mm\x20a','fieldIndex','base.command.create-base-view','MM/DD/YYYY','base.command.set-base-table-hierarchy-field','YYYY-MM-DD','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_registeredSuperTableNames','progressFieldId'];_0x1ee8=function(){return _0x4f8d13;};return _0x1ee8();}rc=X([Y(0x0,_0x2853e0)],rc);const ic=_0x39c797(_0x5670e0(0x27a));var ac=class extends _0x29abb3{constructor(..._0x31aa30){const _0xd8d5da=_0x5670e0;super(..._0x31aa30),G(this,_0xd8d5da(0xdc),new Map());}[_0x5670e0(0x2fb)](_0x39703e){const _0x4cf037=_0x5670e0;return this[_0x4cf037(0xdc)][_0x4cf037(0x2b8)](_0x39703e[_0x4cf037(0xeb)],_0x39703e),_0x1abac0(()=>this[_0x4cf037(0xdc)][_0x4cf037(0x15e)](_0x39703e[_0x4cf037(0xeb)]));}['get'](_0xe19a3d){const _0x1dcec5=_0x5670e0;let _0x481aa7=this[_0x1dcec5(0xdc)][_0x1dcec5(0x2db)](_0xe19a3d);if(!_0x481aa7)throw Error(_0x1dcec5(0x41b)+_0xe19a3d+_0x1dcec5(0xd7));return _0x481aa7;}['getAll'](){const _0x31dca0=_0x5670e0;return Array[_0x31dca0(0x162)](this[_0x31dca0(0xdc)][_0x31dca0(0x1c8)]());}};const oc=[Q];let sc=class extends _0x2b207c{constructor(_0x41ffc5=Ns,_0x4536b1,_0x1d66f5,_0x1c129e,_0x339c4c,_0x52e21a){const _0x33b075=_0x5670e0;super(),this[_0x33b075(0x3f3)]=_0x41ffc5,this['_injector']=_0x4536b1,this[_0x33b075(0x1ba)]=_0x1d66f5,this[_0x33b075(0xee)]=_0x1c129e,this[_0x33b075(0x39b)]=_0x339c4c,this[_0x33b075(0x3b9)]=_0x52e21a,G(this,'_baseSyncDisposables',new Map());let {..._0x1aa7ad}=_0x31d5ee({},Ns,this[_0x33b075(0x3f3)]);this['_configService']['setConfig'](_0x33b075(0x213),_0x1aa7ad),this[_0x33b075(0xee)]['registerCtorForType'](_0x1bf49d[_0x33b075(0x373)],_0x5bbe04),this['_initDependencies'](),this[_0x33b075(0x281)](),this[_0x33b075(0x192)](),this[_0x33b075(0x370)]();}[_0x5670e0(0xa5)](){const _0x536567=_0x5670e0;this[_0x536567(0x430)]['add']([Lo]),this[_0x536567(0xe6)](this['_injector'][_0x536567(0x2db)](_0x228e7e)[_0x536567(0x179)](Ro)),this[_0x536567(0xe6)](this[_0x536567(0x430)]['get'](_0x228e7e)[_0x536567(0x179)](zo)),this['disposeWithMe'](this[_0x536567(0x430)][_0x536567(0x2db)](_0x33f458)[_0x536567(0x40b)](_0x2d9d6e[_0x536567(0x129)],this[_0x536567(0x430)]['get'](Lo),Ro['id'],zo['id']));}[_0x5670e0(0x214)](){const _0x5c276e=_0x5670e0;_0x330981(this[_0x5c276e(0x430)],[[rc],[qr],[Rs]]),this[_0x5c276e(0xee)][_0x5c276e(0x2aa)](_0x1bf49d[_0x5c276e(0x373)])['forEach'](_0x4e2684=>this[_0x5c276e(0x3e6)](_0x4e2684[_0x5c276e(0x2a0)]())),_0x330981(this[_0x5c276e(0x430)],[[zs],[Us]]);}[_0x5670e0(0x2a1)](){const _0x21e557=_0x5670e0;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x21e557(0x143)](_0xa79d60=>this[_0x21e557(0x430)]['add'](_0xa79d60));}[_0x5670e0(0x281)](){const _0x52538d=_0x5670e0;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x52538d(0x143)](_0x4cb790=>this[_0x52538d(0xe6)](this['_commandService'][_0x52538d(0x179)](_0x4cb790))),oc[_0x52538d(0x143)](_0x1f35ba=>{var _0x1c153d;return(_0x1c153d=this['_dataSyncPrimaryController'])==null?void 0x0:_0x1c153d['registerSyncingMutations'](_0x1f35ba);});}[_0x5670e0(0x370)](){const _0x30ce9c=_0x5670e0;this['_dataSyncPrimaryController']&&(this['disposeWithMe'](this[_0x30ce9c(0xee)][_0x30ce9c(0xb0)](_0x1bf49d[_0x30ce9c(0x373)])['subscribe'](({unit:_0x26aa22})=>{const _0x31e8e2=_0x30ce9c;this[_0x31e8e2(0x3e6)](_0x26aa22[_0x31e8e2(0x2a0)]());})),this[_0x30ce9c(0xe6)](this['_univerInstanceService'][_0x30ce9c(0x3e5)](_0x1bf49d[_0x30ce9c(0x373)])[_0x30ce9c(0x3f0)](_0x5eeb50=>{const _0x3e253a=_0x30ce9c;var _0x3d6468;(_0x3d6468=this['_baseSyncDisposables'][_0x3e253a(0x2db)](_0x5eeb50[_0x3e253a(0x2a0)]()))==null||_0x3d6468[_0x3e253a(0x153)](),this[_0x3e253a(0x1b6)]['delete'](_0x5eeb50[_0x3e253a(0x2a0)]());})));}['_syncBaseUnit'](_0x4a28fe){const _0x1dedd3=_0x5670e0;this['_dataSyncPrimaryController']&&!this[_0x1dedd3(0x1b6)]['has'](_0x4a28fe)&&this[_0x1dedd3(0x1b6)][_0x1dedd3(0x2b8)](_0x4a28fe,this[_0x1dedd3(0x3b9)]['syncUnit'](_0x4a28fe));}['_initRegistries'](){const _0x518b18=_0x5670e0;let _0x1c2795=this[_0x518b18(0x430)][_0x518b18(0x2db)](mr);zn()['forEach'](_0x5b7e12=>_0x1c2795[_0x518b18(0x2fb)](_0x5b7e12));let _0x2dac67=this[_0x518b18(0x430)][_0x518b18(0x2db)](ic),_0x285eeb=this['_injector'][_0x518b18(0x2db)](ii);$r()[_0x518b18(0x143)](_0x3e8097=>{const _0x3a05bc=_0x518b18;_0x2dac67[_0x3a05bc(0x2fb)](_0x3e8097),_0x285eeb[_0x3a05bc(0x296)](_0x3e8097);});}};G(sc,_0x5670e0(0x36a),'BASES_PLUGIN'),G(sc,_0x5670e0(0x2df),js),G(sc,_0x5670e0(0xe1),Ms),G(sc,'type',_0x1bf49d['UNIVER_BASE']),sc=X([_0x16f0c9(_0x8bcba,_0x39e97d),Y(0x1,_0x72259(_0x6fca8)),Y(0x2,_0x228e7e),Y(0x3,_0x2853e0),Y(0x4,_0x3253e1),Y(0x5,_0x198e1b(_0x5a2a09))],sc);let cc=class extends _0x2b207c{constructor(_0x297676=Ps,_0xddc354,_0x4ec7e8,_0x1f1664,_0x489d6e){const _0x2b1c74=_0x5670e0;super(),this[_0x2b1c74(0x3f3)]=_0x297676,this[_0x2b1c74(0x430)]=_0xddc354,this[_0x2b1c74(0x1ba)]=_0x4ec7e8,this[_0x2b1c74(0x39b)]=_0x1f1664,this[_0x2b1c74(0xee)]=_0x489d6e;let {..._0x15eadf}=_0x31d5ee({},Ps,this[_0x2b1c74(0x3f3)]);this[_0x2b1c74(0x39b)][_0x2b1c74(0x17b)](_0x2b1c74(0x226),_0x15eadf),this[_0x2b1c74(0xee)]['registerCtorForType'](_0x1bf49d[_0x2b1c74(0x373)],_0x5bbe04),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x5ac8e0=>this[_0x2b1c74(0x430)][_0x2b1c74(0x41d)](_0x5ac8e0)),oc[_0x2b1c74(0x143)](_0x5789a6=>this[_0x2b1c74(0xe6)](this[_0x2b1c74(0x1ba)][_0x2b1c74(0x179)](_0x5789a6)));}};G(cc,_0x5670e0(0x36a),_0x5670e0(0x8f)),G(cc,_0x5670e0(0x2df),js),G(cc,_0x5670e0(0xe1),Ms),G(cc,_0x5670e0(0xeb),_0x1bf49d[_0x5670e0(0x373)]),cc=X([_0x16f0c9(_0x8bcba,_0x39e97d),Y(0x1,_0x72259(_0x6fca8)),Y(0x2,_0x228e7e),Y(0x3,_0x3253e1),Y(0x4,_0x2853e0)],cc);function lc(_0x499baf){const _0x35e997=_0x5670e0;let _0x214e58=Cc(_0x499baf[_0x35e997(0x3ff)]);if(!_0x214e58)return{'query':'','total':0x0,'matches':[]};let _0x5f3c81=[],_0x5e7a1b=[];for(let _0xd68fe2=0x0;_0xd68fe2<_0x499baf[_0x35e997(0x1f6)]['length'];_0xd68fe2++){if(!(_0xd68fe2 in _0x499baf['fieldIds']))continue;let _0x435ade=_0x499baf['table'][_0x35e997(0x2cb)][_0x499baf[_0x35e997(0x1f6)][_0xd68fe2]];_0x435ade&&_0x5e7a1b[_0x35e997(0x393)]({'field':_0x435ade,'fieldIndex':_0xd68fe2});}_0x499baf[_0x35e997(0x3b6)][_0x35e997(0x143)]((_0x35d8a9,_0x42d364)=>{_0x5e7a1b['forEach'](({field:_0x3771b1,fieldIndex:_0x1d27d1})=>{const _0x3f68ae=_0x4f53;let _0x43ea38=uc(_0x35d8a9[_0x3f68ae(0x1c8)][_0x3771b1['id']],_0x3771b1);if(!_0x43ea38)return;let _0x407023=Sc(_0x214e58,_0x43ea38[_0x3f68ae(0xdb)]);_0x407023<=0x0||_0x5f3c81['push']({'recordId':_0x35d8a9[_0x3f68ae(0x191)],'fieldId':_0x3771b1['id'],'fieldType':_0x3771b1[_0x3f68ae(0xeb)],'text':_0x43ea38[_0x3f68ae(0x28e)],'score':_0x407023,'rowIndex':_0x42d364,'fieldIndex':_0x1d27d1});});}),_0x5f3c81[_0x35e997(0x249)]((_0x5d9bfd,_0x15078a)=>_0x15078a['score']-_0x5d9bfd[_0x35e997(0x37d)]||_0x5d9bfd[_0x35e997(0x250)]-_0x15078a[_0x35e997(0x250)]||_0x5d9bfd[_0x35e997(0x3c5)]-_0x15078a[_0x35e997(0x3c5)]);let _0x58bb1d=_0x499baf['limit']==null?_0x5f3c81:_0x5f3c81[_0x35e997(0xfa)](0x0,Math['max'](0x0,_0x499baf['limit']));return{'query':_0x214e58,'total':_0x5f3c81[_0x35e997(0x19b)],'matches':Tc(_0x58bb1d)};}function uc(_0x587b9b,_0x484fe3){const _0x1dbb7f=_0x5670e0;let _0x2d14bc=[];for(let _0x13b889 of fc(_0x587b9b,_0x484fe3)){let _0x127583=Cc(_0x13b889);_0x127583&&_0x2d14bc[_0x1dbb7f(0x393)](_0x127583);}return _0x2d14bc[_0x1dbb7f(0x19b)]?{'displayText':dc(_0x587b9b,_0x484fe3),'searchTexts':wc(_0x2d14bc)}:null;}function dc(_0x5e431d,_0x433ddb){const _0xba405a=_0x5670e0;switch(_0x433ddb[_0xba405a(0xeb)]){case _0x4fe15f[_0xba405a(0x1dd)]:case _0x4fe15f[_0xba405a(0x8b)]:case _0x4fe15f[_0xba405a(0x29d)]:return pc(_0x5e431d,_0x433ddb)[_0xba405a(0x3d6)](',\x20');case _0x4fe15f[_0xba405a(0x399)]:return gc(_0x5e431d);case _0x4fe15f[_0xba405a(0x1cc)]:case _0x4fe15f[_0xba405a(0x121)]:case _0x4fe15f[_0xba405a(0x236)]:return _c(_0x5e431d,_0x433ddb);case _0x4fe15f[_0xba405a(0x27d)]:case _0x4fe15f[_0xba405a(0x115)]:return vc(_0x5e431d,_0x433ddb);case _0x4fe15f[_0xba405a(0x2b0)]:return yc(_0x5e431d,_0x433ddb);case _0x4fe15f['Checkbox']:return _0x5e431d?_0xba405a(0xa1):_0xba405a(0xde);case _0x4fe15f[_0xba405a(0x134)]:return bc(_0x5e431d)['join'](',\x20');default:return xc(_0x5e431d);}}function fc(_0x6895ce,_0x55b071){const _0x54417a=_0x5670e0;switch(_0x55b071['type']){case _0x4fe15f['SingleSelect']:case _0x4fe15f[_0x54417a(0x8b)]:case _0x4fe15f[_0x54417a(0x29d)]:{let _0x1369d7=pc(_0x6895ce,_0x55b071);if(Array['isArray'](_0x6895ce)){let _0x2a7fc7=[..._0x1369d7];for(let _0x176126=0x0;_0x176126<_0x6895ce['length'];_0x176126++)_0x176126 in _0x6895ce&&_0x2a7fc7[_0x54417a(0x393)](String(_0x6895ce[_0x176126]));return _0x2a7fc7;}return _0x6895ce==null?_0x1369d7:[..._0x1369d7,String(_0x6895ce)];}case _0x4fe15f[_0x54417a(0x399)]:{let _0x3d0200=hc(_0x6895ce);return[_0x3d0200[_0x54417a(0x277)],_0x3d0200[_0x54417a(0x33c)]];}case _0x4fe15f[_0x54417a(0x1cc)]:case _0x4fe15f[_0x54417a(0x121)]:case _0x4fe15f[_0x54417a(0x236)]:return[_c(_0x6895ce,_0x55b071),xc(_0x6895ce)];case _0x4fe15f[_0x54417a(0x27d)]:case _0x4fe15f[_0x54417a(0x115)]:return[vc(_0x6895ce,_0x55b071),xc(_0x6895ce)];case _0x4fe15f[_0x54417a(0x2b0)]:return[yc(_0x6895ce,_0x55b071),xc(_0x6895ce)];case _0x4fe15f[_0x54417a(0x1f2)]:return _0x6895ce?[_0x54417a(0xa1),'Yes','True']:[_0x54417a(0xde),'No',_0x54417a(0x112)];case _0x4fe15f[_0x54417a(0x134)]:return bc(_0x6895ce);default:return[xc(_0x6895ce)];}}function pc(_0x245b74,_0xeba50){const _0x541e40=_0x5670e0;var _0x2c7dee;let _0x372c30=Array['isArray']((_0x2c7dee=_0xeba50[_0x541e40(0x407)])==null?void 0x0:_0x2c7dee[_0x541e40(0x212)])?_0xeba50['config']['options']:[],_0x45d0fe=[];if(Array[_0x541e40(0x99)](_0x245b74)){for(let _0x393c9c=0x0;_0x393c9c<_0x245b74[_0x541e40(0x19b)];_0x393c9c++){if(!(_0x393c9c in _0x245b74))continue;let _0x2413f8=String(_0x245b74[_0x393c9c]);_0x2413f8&&_0x45d0fe['push'](mc(_0x372c30,_0x2413f8));}return _0x45d0fe;}if(_0x245b74!=null){let _0xfa0251=String(_0x245b74);_0xfa0251&&_0x45d0fe[_0x541e40(0x393)](mc(_0x372c30,_0xfa0251));}return _0x45d0fe;}function mc(_0x3e7fce,_0x517891){const _0x2e871f=_0x5670e0;for(let _0x2668b3 of _0x3e7fce){if(typeof _0x2668b3==_0x2e871f(0x2dc)&&_0x2668b3===_0x517891)return _0x2668b3;if(_0x2668b3&&typeof _0x2668b3==_0x2e871f(0x360)){let _0xb49219=_0x2668b3;if(String(_0xb49219['id']??_0xb49219[_0x2e871f(0x26f)]??'')===_0x517891||String(_0xb49219[_0x2e871f(0x26f)]??'')===_0x517891)return String(_0xb49219[_0x2e871f(0x26f)]??_0xb49219['id']??_0x517891);}}return _0x517891;}function hc(_0x72e646){const _0x8c1c89=_0x5670e0;if(_0x72e646&&typeof _0x72e646=='object'&&!Array['isArray'](_0x72e646)){let _0x98c34f=_0x72e646;return{'text':String(_0x98c34f[_0x8c1c89(0x277)]??_0x98c34f[_0x8c1c89(0x33c)]??''),'url':String(_0x98c34f[_0x8c1c89(0x33c)]??'')};}return{'text':xc(_0x72e646),'url':xc(_0x72e646)};}function gc(_0x58e995){const _0xabbf9a=_0x5670e0;let _0x253ea8=hc(_0x58e995);return _0x253ea8[_0xabbf9a(0x277)]||_0x253ea8[_0xabbf9a(0x33c)];}function _c(_0x49d99b,_0x4019ef){const _0x1e4f50=_0x5670e0;return typeof _0x49d99b!=_0x1e4f50(0x174)||!Number[_0x1e4f50(0x154)](_0x49d99b)?'':mn(_0x49d99b,_0x4019ef[_0x1e4f50(0x407)]);}function vc(_0x579d95,_0x5916c0){const _0x4e0149=_0x5670e0;let _0x6b4887=typeof _0x579d95==_0x4e0149(0x174)?_0x579d95:Number(_0x579d95);return Number['isFinite'](_0x6b4887)?qo(_0x6b4887,_0x5916c0[_0x4e0149(0x407)]):'';}function yc(_0xda5830,_0x36d77a){const _0x24a555=_0x5670e0;let _0xbd7c98=typeof _0xda5830==_0x24a555(0x174)?_0xda5830:Number(_0xda5830);return Number[_0x24a555(0x154)](_0xbd7c98)?Qo(_0xbd7c98,_0x36d77a['config']):'';}function bc(_0x292927){const _0x3d340d=_0x5670e0;return Array[_0x3d340d(0x99)](_0x292927)?_0x292927[_0x3d340d(0x98)](_0x4b9255=>{const _0x3553ad=_0x3d340d;if(!_0x4b9255||typeof _0x4b9255!=_0x3553ad(0x360))return[];let _0xf04c9=_0x4b9255,_0x297eeb=String(_0xf04c9[_0x3553ad(0x26f)]??_0xf04c9['url']??'')[_0x3553ad(0x12d)]();return _0x297eeb?[_0x297eeb]:[];}):[];}function xc(_0x3eb83b){const _0xf89a92=_0x5670e0;if(_0x3eb83b==null)return'';if(typeof _0x3eb83b==_0xf89a92(0x168))return _0x3eb83b?_0xf89a92(0x1ad):_0xf89a92(0x2fd);if(typeof _0x3eb83b==_0xf89a92(0x174))return String(_0x3eb83b);if(Array[_0xf89a92(0x99)](_0x3eb83b)){let _0x3fca99=[];for(let _0x414023=0x0;_0x414023<_0x3eb83b['length'];_0x414023++){if(!(_0x414023 in _0x3eb83b))continue;let _0x529469=xc(_0x3eb83b[_0x414023]);_0x529469&&_0x3fca99[_0xf89a92(0x393)](_0x529469);}return _0x3fca99['join'](',\x20');}if(typeof _0x3eb83b==_0xf89a92(0x360)){let _0x3864b3=_0x3eb83b;return String(_0x3864b3[_0xf89a92(0x2e4)]??_0x3864b3[_0xf89a92(0x26f)]??_0x3864b3['text']??_0x3864b3[_0xf89a92(0x33c)]??'')[_0xf89a92(0x12d)]();}return String(_0x3eb83b);}function Sc(_0x575fee,_0x158728){const _0x3f468c=_0x5670e0;let _0x46d5f9=0x0;for(let _0x29e664 of _0x158728)_0x29e664&&(_0x29e664===_0x575fee?_0x46d5f9=Math[_0x3f468c(0x272)](_0x46d5f9,0x12c):_0x29e664[_0x3f468c(0xb5)](_0x575fee)?_0x46d5f9=Math[_0x3f468c(0x272)](_0x46d5f9,0xfa):_0x29e664[_0x3f468c(0x173)](_0x575fee)&&(_0x46d5f9=Math[_0x3f468c(0x272)](_0x46d5f9,0xc8)));return _0x46d5f9;}function Cc(_0x43b886){const _0x24dd2f=_0x5670e0;return _0x43b886[_0x24dd2f(0x12d)]()[_0x24dd2f(0xf2)](/\s+/g,'\x20')['toLowerCase']();}function wc(_0x20d7ef){const _0x3d9509=_0x5670e0;return Array[_0x3d9509(0x162)](new Set(_0x20d7ef));}function Tc(_0x153def){const _0x558a02=_0x5670e0;let _0x2e1c8a=[];for(let {rowIndex:_0x4e4edb,fieldIndex:_0xe3358e,..._0x12afc9}of _0x153def)_0x2e1c8a[_0x558a02(0x393)](_0x12afc9);return _0x2e1c8a;}function Ec(_0x404bdf){const _0x5ab521=_0x5670e0;return{'compress':!0x0,'kind':_0x5ab521(0x157),'u':_0x404bdf[_0x5ab521(0x39d)],'t':_0x404bdf[_0x5ab521(0x1a4)],'p':_0x404bdf[_0x5ab521(0x3c2)][_0x5ab521(0x102)](_0x2cc366=>[_0x2cc366[_0x5ab521(0x24b)],_0x2cc366['col'],Ac(_0x2cc366[_0x5ab521(0x38a)])]),..._0x404bdf[_0x5ab521(0x280)]===void 0x0?{}:{'g':_0x404bdf['trigger']}};}function Dc(_0x12c6d1){const _0x25f6d6=_0x5670e0;if(Lc(_0x12c6d1,_0x25f6d6(0x157)),!Oc(_0x12c6d1)){if(!Ic(_0x12c6d1))throw Error(_0x25f6d6(0x330));return _0x12c6d1;}return{'unitId':_0x12c6d1['u'],'tableId':_0x12c6d1['t'],'patches':_0x12c6d1['p'][_0x25f6d6(0x102)](([_0x2e4920,_0x5a8660,_0xbbdda2])=>({'row':_0x2e4920,'col':_0x5a8660,'value':jc(_0xbbdda2)})),..._0x12c6d1['g']===void 0x0?{}:{'trigger':_0x12c6d1['g']}};}function Oc(_0x35c70f){const _0x4c4066=_0x5670e0;return!Rc(_0x35c70f)||_0x35c70f['compress']!==!0x0||_0x35c70f[_0x4c4066(0x2cf)]!=='base-range-values-v1'?!0x1:typeof _0x35c70f['u']==_0x4c4066(0x2dc)&&typeof _0x35c70f['t']==_0x4c4066(0x2dc)&&(_0x35c70f['g']===void 0x0||typeof _0x35c70f['g']=='string')&&Array['isArray'](_0x35c70f['p'])&&_0x35c70f['p'][_0x4c4066(0x3f9)](_0x1fcd9=>Array[_0x4c4066(0x99)](_0x1fcd9)&&_0x1fcd9['length']===0x3&&Number[_0x4c4066(0x276)](_0x1fcd9[0x0])&&Number[_0x4c4066(0x276)](_0x1fcd9[0x1]));}function kc(_0xd100e1){const _0x2b0c37=_0x5670e0;return!Rc(_0xd100e1)||_0xd100e1[_0x2b0c37(0x2be)]!==!0x0||_0xd100e1[_0x2b0c37(0x2cf)]!==_0x2b0c37(0xe0)||!Rc(_0xd100e1[_0x2b0c37(0x41c)])?!0x1:Object[_0x2b0c37(0x1c8)](_0xd100e1[_0x2b0c37(0x41c)])[_0x2b0c37(0x3f9)](_0x253455=>Rc(_0x253455)&&(_0x253455['cd']===void 0x0||Array['isArray'](_0x253455['cd'])&&_0x253455['cd']['every'](_0x6fcb2=>Array['isArray'](_0x6fcb2)&&_0x6fcb2[_0x2b0c37(0x19b)]===0x3&&Number[_0x2b0c37(0x276)](_0x6fcb2[0x0])&&Number[_0x2b0c37(0x276)](_0x6fcb2[0x1])&&Fc(_0x6fcb2[0x2]))));}function Ac(_0x4c43f0){return Pc(_0x4c43f0)?Mc(_0x4c43f0):_0x4c43f0;}function jc(_0x1530d4){return Fc(_0x1530d4)?Nc(_0x1530d4):_0x1530d4;}function Mc(_0x341515){return{'c':0x1,..._0x341515['v']===void 0x0?{}:{'v':_0x341515['v']},..._0x341515['t']!==void 0x0&&_0x341515['t']!==null?{'t':_0x341515['t']}:_0x341515['t']===null?{'t':null}:{},..._0x341515['f']!==void 0x0&&_0x341515['f']!==null?{'f':_0x341515['f']}:_0x341515['f']===null?{'f':null}:{},..._0x341515['si']!==void 0x0&&_0x341515['si']!==null?{'si':_0x341515['si']}:_0x341515['si']===null?{'si':null}:{},..._0x341515['p']!==void 0x0&&_0x341515['p']!==null?{'p':_0x341515['p']}:_0x341515['p']===null?{'p':null}:{}};}function Nc(_0x5b4650){return{..._0x5b4650['v']===void 0x0?{}:{'v':_0x5b4650['v']},..._0x5b4650['t']===void 0x0?{}:{'t':_0x5b4650['t']},..._0x5b4650['f']===void 0x0?{}:{'f':_0x5b4650['f']},..._0x5b4650['si']===void 0x0?{}:{'si':_0x5b4650['si']},..._0x5b4650['p']===void 0x0?{}:{'p':_0x5b4650['p']}};}function Pc(_0x4b6fc9){const _0x217537=_0x5670e0;return!!_0x4b6fc9&&typeof _0x4b6fc9==_0x217537(0x360)&&!Array[_0x217537(0x99)](_0x4b6fc9)&&(Object['prototype'][_0x217537(0x127)]['call'](_0x4b6fc9,'v')||Object[_0x217537(0x159)][_0x217537(0x127)][_0x217537(0x321)](_0x4b6fc9,'t')||Object[_0x217537(0x159)][_0x217537(0x127)][_0x217537(0x321)](_0x4b6fc9,'p')||Object[_0x217537(0x159)]['hasOwnProperty']['call'](_0x4b6fc9,'f')||Object['prototype']['hasOwnProperty'][_0x217537(0x321)](_0x4b6fc9,'si'));}function Fc(_0x3e8ffd){return Rc(_0x3e8ffd)&&_0x3e8ffd['c']===0x1;}function Ic(_0x580cbb){const _0x12583e=_0x5670e0;return Rc(_0x580cbb)&&typeof _0x580cbb['unitId']==_0x12583e(0x2dc)&&typeof _0x580cbb[_0x12583e(0x1a4)]==_0x12583e(0x2dc)&&(_0x580cbb[_0x12583e(0x280)]===void 0x0||typeof _0x580cbb[_0x12583e(0x280)]==_0x12583e(0x2dc))&&Array[_0x12583e(0x99)](_0x580cbb[_0x12583e(0x3c2)])&&_0x580cbb[_0x12583e(0x3c2)][_0x12583e(0x3f9)](_0x3ceb93=>Rc(_0x3ceb93)&&Number[_0x12583e(0x276)](_0x3ceb93['row'])&&Number[_0x12583e(0x276)](_0x3ceb93[_0x12583e(0x324)])&&_0x12583e(0x38a)in _0x3ceb93);}function Lc(_0x354393,_0x5d4326){const _0x1cf5a2=_0x5670e0;if(Rc(_0x354393)&&_0x354393['compress']===!0x0){if(_0x354393['kind']!==_0x5d4326)throw Error(_0x1cf5a2(0x20c)+String(_0x354393[_0x1cf5a2(0x2cf)])+'\x22.');if(!(_0x5d4326===_0x1cf5a2(0x157)?Oc(_0x354393):kc(_0x354393)))throw Error(_0x1cf5a2(0x391)+_0x5d4326+'\x22.');}}function Rc(_0x2ed3e6){const _0x16e1d5=_0x5670e0;return!!_0x2ed3e6&&typeof _0x2ed3e6==_0x16e1d5(0x360)&&!Array[_0x16e1d5(0x99)](_0x2ed3e6);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x3f654d as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
1
+ const _0x5daf81=_0x188f;(function(_0x412257,_0x1df069){const _0x9dd229=_0x188f,_0xf2998=_0x412257();while(!![]){try{const _0x270664=-parseInt(_0x9dd229(0x45a))/0x1*(-parseInt(_0x9dd229(0x426))/0x2)+parseInt(_0x9dd229(0x4e6))/0x3*(parseInt(_0x9dd229(0x519))/0x4)+-parseInt(_0x9dd229(0x227))/0x5+parseInt(_0x9dd229(0x3cf))/0x6*(parseInt(_0x9dd229(0x428))/0x7)+parseInt(_0x9dd229(0x402))/0x8+parseInt(_0x9dd229(0x3a0))/0x9+-parseInt(_0x9dd229(0x4f6))/0xa;if(_0x270664===_0x1df069)break;else _0xf2998['push'](_0xf2998['shift']());}catch(_0x36f165){_0xf2998['push'](_0xf2998['shift']());}}}(_0x38bd,0x8f6a3));import{BASE_RECORD_ID_FIELD_ID as _0x4a6fc3,BaseConditionalColorOperator as _0xb7a4f0,BaseConditionalColorTarget as _0x20be76,BaseConditionalDateMode as _0x1a2fb9,BaseDataModel as _0x3bc5ac,BaseFieldType as _0x618ba,BaseFilterConjunction as _0x4967ae,BaseHierarchyInvalidReason as _0x335882,BaseRecordLinkRole as _0x1d1c88,BaseSortDirection as _0x43615e,BaseViewType as _0x168289,CellValueType as _0x20fde0,ColorKit as _0x480202,CommandType as _0x3d059d,CustomCommandExecutionError as _0x55df23,DateSystem as _0x7c5fe2,DependentOn as _0x2061bd,Disposable as _0x183939,ErrorService as _0x1bc7ec,ICommandService as _0x2ca718,IConfigService as _0x14abe6,IPermissionService as _0x2f962f,IResourceManagerService as _0x3e7637,IUndoRedoService as _0x51376c,IUniverInstanceService as _0x364596,Inject as _0x477fb0,Injector as _0x46096e,JSON1 as _0x1605a0,JSONX as _0x43324a,ObjectMatrix as _0x22a4fc,ObjectPermissionRuleModel as _0x3436af,ObjectPermissionService as _0x2cff1c,Optional as _0x1c6aef,PermissionStatus as _0x2150fa,Plugin as _0x29b1cf,Tools as _0x9abbbc,UniverInstanceType as _0x2ddca0,allocateBaseFormulaTableName as _0x7582ef,assertBaseTableRecordIdentity as _0x3db867,createBaseFormulaTableNameMap as _0x4b2d20,createBaseRecordIdField as _0x44aad8,createIdentifier as _0x3262c5,dateKit as _0x35a742,excelDateTimeSerial as _0x3f8456,excelSerialToDateTime as _0x4cb662,generateRandomId as _0x1d3e80,getBaseFormulaTableName as _0x36105f,isBaseRecordIdFieldName as _0x4dba8d,isValidBaseRecordId as _0x3c7887,merge as _0x5a5f56,nameCharacterCheck as _0x89c043,numfmt as _0x51878f,regexp as _0x5ac771,sequenceExecute as _0x557e96,toDisposable as _0x1a388a,touchDependencies as _0x32cf62}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x319ec4,IActiveDirtyManagerService as _0x2d4d6c,RemoveSuperTableMutation as _0x5c6c2d,SetFormulaCalculationResultMutation as _0x245562,SetSuperTableMutation as _0x2c56be,SetTriggerFormulaCalculationStartMutation as _0x5cddaf,UniverProFormulaEnginePlugin as _0x446c43,refactorFormulaUnitQualifier as _0x58f593}from'@univerjs-pro/engine-formula';import{UnitAction as _0x44dc45,UnitObject as _0x2ea692}from'@univerjs/protocol';import{UniverLicensePlugin as _0x4380c0}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x51b863}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x34ef91,FormulaResultApplicationType as _0x310a16}from'@univerjs/engine-formula';function N(_0x238173){const _0x1ba318=_0x188f;let _0x2abdb2=_0x238173[_0x1ba318(0x396)]['targetTableId'],_0x42afd4=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x3bd)],_0x475b02=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x36e)],_0x2ab739=_0x238173['config'][_0x1ba318(0x54c)],_0x82b4dd=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x33e)];return typeof _0x2abdb2!=_0x1ba318(0x2ed)||!_0x2abdb2||typeof _0x42afd4!=_0x1ba318(0x26c)||_0x475b02!==void 0x0&&(typeof _0x475b02!=_0x1ba318(0x2ed)||!_0x475b02)||_0x82b4dd!==void 0x0&&_0x82b4dd!==_0x1d1c88['Parent']||_0x2ab739!==void 0x0&&(!Array[_0x1ba318(0x31e)](_0x2ab739)||_0x2ab739[_0x1ba318(0x387)](_0x5940ad=>typeof _0x5940ad!=_0x1ba318(0x2ed)||!_0x5940ad)||new Set(_0x2ab739)[_0x1ba318(0x323)]!==_0x2ab739['length'])?null:{'targetTableId':_0x2abdb2,'multiple':_0x42afd4,..._0x475b02?{'displayFieldId':_0x475b02}:{},..._0x2ab739?{'pickerFieldIds':[..._0x2ab739]}:{},..._0x82b4dd?{'relationRole':_0x82b4dd}:{}};}function Le(_0x3b346d){const _0x2c2668=_0x188f;return typeof _0x3b346d!=_0x2c2668(0x2ed)||_0x3b346d===''?[]:_0x3b346d[_0x2c2668(0x4d9)](',');}function Re(_0x5d2c51){const _0x5b6e0c=_0x188f;return Array[_0x5b6e0c(0x404)](new Set(_0x5d2c51))[_0x5b6e0c(0x30a)](',');}function ze(_0x26e3db,_0x2d3744){const _0x5e4e27=_0x188f;if(typeof _0x26e3db!=_0x5e4e27(0x2ed))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x26e3db==='')return{'valid':!0x0};let _0x51a9d7=_0x26e3db[_0x5e4e27(0x4d9)](',');return!_0x2d3744&&_0x51a9d7[_0x5e4e27(0x21d)]>0x1?{'valid':!0x1,'reason':_0x5e4e27(0x291)}:_0x51a9d7[_0x5e4e27(0x387)](_0x33182e=>!_0x3c7887(_0x33182e))||new Set(_0x51a9d7)[_0x5e4e27(0x323)]!==_0x51a9d7[_0x5e4e27(0x21d)]||Re(_0x51a9d7)!==_0x26e3db?{'valid':!0x1,'reason':_0x5e4e27(0x4ca)}:{'valid':!0x0};}function Be(_0xf93c10,_0x44e5f4){const _0x36412f=_0x188f;if(_0x44e5f4[_0x36412f(0x305)]!==_0x618ba[_0x36412f(0x2e6)])return{'valid':!0x0};let _0x49baa0=N(_0x44e5f4),_0x1652bc=_0x49baa0?_0xf93c10[_0x36412f(0x2f7)][_0x49baa0[_0x36412f(0x337)]]:void 0x0;if(!_0x49baa0||!_0x1652bc)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x4a97ac=[..._0x49baa0[_0x36412f(0x36e)]?[_0x49baa0['displayFieldId']]:[],..._0x49baa0['pickerFieldIds']??[]]['find'](_0x489ede=>{const _0x58803d=_0x36412f;let _0x119aad=_0x1652bc[_0x58803d(0x503)][_0x489ede];return!_0x119aad||_0x119aad[_0x58803d(0x3db)]===!0x0||_0x119aad[_0x58803d(0x305)]===_0x618ba['RecordId'];});return _0x4a97ac?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x4a97ac+_0x36412f(0x3aa)}:{'valid':!0x0};}function Ve(_0x470ee9,_0x5e9c84,_0x56f72d,_0x5b779d={}){const _0x34c849=_0x188f;let _0x3b5a5a=N(_0x5e9c84);if(_0x5e9c84[_0x34c849(0x305)]!==_0x618ba[_0x34c849(0x2e6)]||!_0x3b5a5a)return{'valid':!0x1,'reason':_0x34c849(0x200)};let _0x956c7d=ze(_0x56f72d,_0x3b5a5a[_0x34c849(0x3bd)]);if(!_0x956c7d['valid']||_0x5b779d['allowDangling'])return _0x956c7d;let _0x11dfed=_0x470ee9[_0x34c849(0x2f7)][_0x3b5a5a[_0x34c849(0x337)]];if(!_0x11dfed)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x25697e=Le(_0x56f72d)[_0x34c849(0x2d8)](_0x5f1ed2=>!_0x11dfed[_0x34c849(0x43a)][_0x5f1ed2]);return _0x25697e?{'valid':!0x1,'reason':_0x34c849(0x3fe)+_0x25697e+_0x34c849(0x362)}:{'valid':!0x0};}function He(_0x3e5462,_0x1ffd62){const _0x4ef235=_0x188f;return Object['values'](_0x3e5462[_0x4ef235(0x2f7)])[_0x4ef235(0x36c)](_0x8f94a3=>Object[_0x4ef235(0x45b)](_0x8f94a3['fields'])[_0x4ef235(0x36c)](_0x443877=>{const _0x47d01d=_0x4ef235;let _0x5a1089=_0x443877[_0x47d01d(0x305)]===_0x618ba[_0x47d01d(0x2e6)]?N(_0x443877):null;return(_0x5a1089==null?void 0x0:_0x5a1089[_0x47d01d(0x337)])===_0x1ffd62?[{'tableId':_0x8f94a3['id'],'fieldId':_0x443877['id']}]:[];}));}const Ue=0x5,We=_0x5daf81(0x304);let Ge=function(_0x5ebbb3){const _0xda282f=_0x5daf81;return _0x5ebbb3[_0xda282f(0x4e1)]=_0xda282f(0x48a),_0x5ebbb3['MissingRecord']='missingRecord',_0x5ebbb3['SelfParent']=_0xda282f(0x343),_0x5ebbb3[_0xda282f(0x39e)]=_0xda282f(0x2a5),_0x5ebbb3[_0xda282f(0x37e)]=_0xda282f(0x25b),_0x5ebbb3['SortedView']=_0xda282f(0x3e5),_0x5ebbb3;}({});var P=class extends Error{constructor(_0x2a017b,_0x47caf3=_0x5daf81(0x460)+_0x2a017b){const _0x1e0b66=_0x5daf81;super(_0x47caf3),this[_0x1e0b66(0x340)]=_0x2a017b,this[_0x1e0b66(0x322)]=_0x1e0b66(0x214);}};let Ke=function(_0x49f493){const _0x5a45f0=_0x5daf81;return _0x49f493['UI']='ui',_0x49f493['Facade']=_0x5a45f0(0x328),_0x49f493[_0x5a45f0(0x285)]=_0x5a45f0(0x329),_0x49f493['Undo']=_0x5a45f0(0x3a8),_0x49f493[_0x5a45f0(0x50d)]=_0x5a45f0(0x424),_0x49f493[_0x5a45f0(0x3b4)]='import',_0x49f493;}({});function F(_0x5a5672,_0x2160cc){const _0x1eb0cd=_0x5daf81;if(!_0x2160cc)return!0x1;let _0x5d1336=_0x5a5672[_0x1eb0cd(0x503)][_0x2160cc];if(!_0x5d1336||_0x5d1336['type']!==_0x618ba[_0x1eb0cd(0x2e6)])return!0x1;let _0x4c2255=N(_0x5d1336);return _0x4c2255?_0x4c2255[_0x1eb0cd(0x337)]===_0x5a5672['id']&&_0x4c2255[_0x1eb0cd(0x3bd)]===!0x1:!0x1;}function qe(_0x61eb58){const _0x534b09=_0x5daf81;return[..._0x61eb58['fieldOrder'],...Object[_0x534b09(0x46f)](_0x61eb58['fields'])[_0x534b09(0x32f)](_0x1bf840=>!_0x61eb58[_0x534b09(0x1d6)][_0x534b09(0x4f9)](_0x1bf840))[_0x534b09(0x3c5)]()][_0x534b09(0x2d8)](_0x10b362=>{const _0x456e4d=_0x534b09;var _0xf01e6d;return F(_0x61eb58,_0x10b362)?((_0xf01e6d=N(_0x61eb58[_0x456e4d(0x503)][_0x10b362]))==null?void 0x0:_0xf01e6d[_0x456e4d(0x33e)])===_0x1d1c88[_0x456e4d(0x3fa)]:!0x1;})??null;}function Je(_0x5d5725){const _0x2efdfb=_0x5daf81;let _0x2244dd=qe(_0x5d5725);if(_0x2244dd)return _0x2244dd;let _0x1cf43d=We,_0x3a29e0=0x2;for(;_0x5d5725[_0x2efdfb(0x503)][_0x1cf43d];)_0x1cf43d=We+'_'+_0x3a29e0++;return _0x1cf43d;}function Ye(_0x1460fb,_0x53eff9=Je(_0x1460fb),_0x3c346f='Parent\x20Items'){const _0x3c33bb=_0x5daf81;return{'id':_0x53eff9,'name':_0x3c346f,'type':_0x618ba[_0x3c33bb(0x2e6)],'config':{'targetTableId':_0x1460fb['id'],'multiple':!0x1,'displayFieldId':_0x1460fb[_0x3c33bb(0x51f)],'pickerFieldIds':[_0x1460fb['primaryFieldId']],'relationRole':_0x1d1c88[_0x3c33bb(0x3fa)]}};}function Xe(_0x2b8d5){let _0x1b9e0a=qe(_0x2b8d5);return _0x1b9e0a?[_0x1b9e0a]:[];}function Ze(_0x10ac77,_0x1a0ace){const _0x53b75d=_0x5daf81;let _0x508d15=[...Xe(_0x10ac77)][_0x53b75d(0x32f)](_0x3080ce=>_0x1a0ace[_0x53b75d(0x387)](_0x2b5106=>Object[_0x53b75d(0x4e2)][_0x53b75d(0x4d7)]['call'](_0x2b5106[_0x53b75d(0x45b)],_0x3080ce)));if(!_0x508d15['length'])return[];let _0x1445fc={..._0x10ac77[_0x53b75d(0x43a)]};_0x1a0ace[_0x53b75d(0x429)](_0x128206=>{const _0x1b826f=_0x53b75d;let _0x1aadad=_0x1445fc[_0x128206[_0x1b826f(0x1c6)]];_0x1aadad&&(_0x1445fc[_0x128206[_0x1b826f(0x1c6)]]={..._0x1aadad,'values':{..._0x1aadad['values'],..._0x128206[_0x1b826f(0x45b)]}});});let _0x2756e9={..._0x10ac77,'records':_0x1445fc},_0x365422=[];return _0x508d15['forEach'](_0x21af0f=>{const _0x14b3d8=_0x53b75d;let _0x44b8cc=tt(_0x10ac77,_0x21af0f),_0x228cdd=tt(_0x2756e9,_0x21af0f);for(let [_0x2a5d28,_0x56307b]of _0x228cdd['invalidReasonByRecordId']){let _0x4f361b=_0x1a0ace[_0x14b3d8(0x387)](_0x31d144=>_0x31d144[_0x14b3d8(0x1c6)]===_0x2a5d28&&Object[_0x14b3d8(0x4e2)][_0x14b3d8(0x4d7)][_0x14b3d8(0x35d)](_0x31d144[_0x14b3d8(0x45b)],_0x21af0f));if(_0x44b8cc['invalidReasonByRecordId']['get'](_0x2a5d28)!==_0x56307b||_0x4f361b)throw new P($e(_0x56307b));}_0x1a0ace['forEach'](_0x494eda=>{const _0x421ac4=_0x14b3d8;if(!Object['prototype'][_0x421ac4(0x4d7)]['call'](_0x494eda['values'],_0x21af0f))return;let _0xe068f6=_0x44b8cc[_0x421ac4(0x4f3)][_0x421ac4(0x315)](_0x494eda[_0x421ac4(0x1c6)])??null,_0x189ae3=_0x228cdd[_0x421ac4(0x4f3)][_0x421ac4(0x315)](_0x494eda[_0x421ac4(0x1c6)])??null;_0xe068f6!==_0x189ae3&&_0x365422[_0x421ac4(0x482)]({'tableId':_0x10ac77['id'],'fieldId':_0x21af0f,'recordId':_0x494eda[_0x421ac4(0x1c6)],'oldParentRecordId':_0xe068f6,'parentRecordId':_0x189ae3});});}),_0x365422;}function Qe(_0x5be83f,_0x480734){const _0x3354c4=_0x5daf81;let _0x1822da=_0x480734[_0x3354c4(0x2b0)](_0x4f2549=>_0x4f2549['id']);if(new Set(_0x1822da)[_0x3354c4(0x323)]!==_0x1822da[_0x3354c4(0x21d)]||_0x1822da['some'](_0x3c0456=>_0x5be83f[_0x3354c4(0x43a)][_0x3c0456]))return[];let _0x44904c=Xe(_0x5be83f),_0x5bed29=_0x44904c['length']?null:Je(_0x5be83f),_0x70a02f=[..._0x44904c,..._0x5bed29&&_0x480734[_0x3354c4(0x387)](_0xfda14c=>Object[_0x3354c4(0x4e2)][_0x3354c4(0x4d7)][_0x3354c4(0x35d)](_0xfda14c[_0x3354c4(0x45b)],_0x5bed29))?[_0x5bed29]:[]]['filter'](_0x2c8e03=>_0x480734['some'](_0x23dab2=>Object[_0x3354c4(0x4e2)][_0x3354c4(0x4d7)][_0x3354c4(0x35d)](_0x23dab2[_0x3354c4(0x45b)],_0x2c8e03)));if(!_0x70a02f[_0x3354c4(0x21d)])return[];let _0x507a19={..._0x5be83f,'records':{..._0x5be83f[_0x3354c4(0x43a)],...Object['fromEntries'](_0x480734[_0x3354c4(0x2b0)](_0x47265f=>[_0x47265f['id'],_0x47265f]))},'recordOrder':[..._0x5be83f[_0x3354c4(0x3da)]??[],..._0x480734[_0x3354c4(0x2b0)](_0x5c5249=>_0x5c5249['id'])]},_0x58b673=[];return _0x70a02f['forEach'](_0x1edb98=>{let _0x1b158f=tt(_0x507a19,_0x1edb98);_0x480734['forEach'](_0xb1ca91=>{const _0x12feb4=_0x188f;let _0x222799=_0x1b158f['invalidReasonByRecordId']['get'](_0xb1ca91['id']);if(_0x222799)throw new P($e(_0x222799));let _0x99c655=_0x1b158f[_0x12feb4(0x4f3)][_0x12feb4(0x315)](_0xb1ca91['id'])??null;_0x99c655&&_0x58b673[_0x12feb4(0x482)]({'tableId':_0x5be83f['id'],'fieldId':_0x1edb98,'recordId':_0xb1ca91['id'],'oldParentRecordId':null,'parentRecordId':_0x99c655});});}),_0x58b673;}function $e(_0x1a3fa9){const _0x244163=_0x5daf81;switch(_0x1a3fa9){case _0x335882[_0x244163(0x515)]:return'missingRecord';case _0x335882[_0x244163(0x1fe)]:return _0x244163(0x343);case _0x335882['Cycle']:return'cycle';case _0x335882[_0x244163(0x37e)]:return _0x244163(0x25b);}}function et(_0x35a09,_0x592b9b){const _0x16cd44=_0x5daf81;let _0x209d6e=new Set(_0x592b9b),_0x5f2919=Xe(_0x35a09);return Object[_0x16cd44(0x45b)](_0x35a09[_0x16cd44(0x43a)])[_0x16cd44(0x36c)](_0x5f8e05=>_0x209d6e['has'](_0x5f8e05['id'])?[]:Array[_0x16cd44(0x404)](_0x5f2919)['flatMap'](_0x494dfb=>{const _0x954ad2=_0x16cd44;let _0x3018d8=Le(_0x5f8e05[_0x954ad2(0x45b)][_0x494dfb])[0x0]??null;return _0x3018d8&&_0x209d6e[_0x954ad2(0x253)](_0x3018d8)?[{'tableId':_0x35a09['id'],'fieldId':_0x494dfb,'recordId':_0x5f8e05['id'],'oldParentRecordId':_0x3018d8,'parentRecordId':null}]:[];}));}function tt(_0x394144,_0x5b1971,_0x1b88f8=_0x394144[_0x5daf81(0x3da)]??Object[_0x5daf81(0x46f)](_0x394144['records'])){const _0x4d308e=_0x5daf81;if((_0x394144[_0x4d308e(0x503)][_0x5b1971]||_0x5b1971!==Je(_0x394144))&&!F(_0x394144,_0x5b1971))throw Error(_0x4d308e(0x2e2)+_0x5b1971+_0x4d308e(0x1ca));let _0x2291c7=at(_0x394144,_0x1b88f8),_0x12e8fd=new Map(),_0x3ce67a=new Map();for(let _0x2a4256 of _0x2291c7){var _0x131851;let _0x536b4e=Le((_0x131851=_0x394144[_0x4d308e(0x43a)][_0x2a4256])==null?void 0x0:_0x131851[_0x4d308e(0x45b)][_0x5b1971])[0x0]??null;_0x536b4e?_0x536b4e===_0x2a4256?(_0x12e8fd['set'](_0x2a4256,null),_0x3ce67a[_0x4d308e(0x1ba)](_0x2a4256,_0x335882[_0x4d308e(0x1fe)])):_0x394144[_0x4d308e(0x43a)][_0x536b4e]?_0x12e8fd[_0x4d308e(0x1ba)](_0x2a4256,_0x536b4e):(_0x12e8fd[_0x4d308e(0x1ba)](_0x2a4256,null),_0x3ce67a[_0x4d308e(0x1ba)](_0x2a4256,_0x335882[_0x4d308e(0x515)])):_0x12e8fd['set'](_0x2a4256,null);}ot(_0x12e8fd,_0x3ce67a,_0x2291c7),st(_0x12e8fd,_0x3ce67a,_0x2291c7);let _0x55673c=new Map(_0x2291c7[_0x4d308e(0x2b0)]((_0x4f3e1c,_0x4171a3)=>[_0x4f3e1c,_0x4171a3])),_0x340088=new Map();for(let _0x564e13 of _0x2291c7){let _0x45a67b=_0x12e8fd['get'](_0x564e13)??null,_0x46921c=_0x340088['get'](_0x45a67b)??[];_0x46921c[_0x4d308e(0x482)](_0x564e13),_0x340088[_0x4d308e(0x1ba)](_0x45a67b,_0x46921c);}_0x340088['forEach'](_0x10575c=>_0x10575c[_0x4d308e(0x3c5)]((_0x26709f,_0x5a10e5)=>(_0x55673c[_0x4d308e(0x315)](_0x26709f)??0x0)-(_0x55673c[_0x4d308e(0x315)](_0x5a10e5)??0x0)));let _0x15d868=_0x340088['get'](null)??[],_0x3b02df=new Map(),_0xb83e4e=new Map(),_0x2ed102=[],_0x5a0452=(_0x2fa72b,_0x27e81f)=>{const _0x5ae5bb=_0x4d308e;_0x3b02df[_0x5ae5bb(0x1ba)](_0x2fa72b,_0x27e81f),_0x2ed102[_0x5ae5bb(0x482)](_0x2fa72b);let _0x2b0248=0x0;for(let _0x1826d8 of _0x340088[_0x5ae5bb(0x315)](_0x2fa72b)??[])_0x2b0248=Math[_0x5ae5bb(0x29c)](_0x2b0248,0x1+_0x5a0452(_0x1826d8,_0x27e81f+0x1));return _0xb83e4e[_0x5ae5bb(0x1ba)](_0x2fa72b,_0x2b0248),_0x2b0248;};return _0x15d868['forEach'](_0x523135=>_0x5a0452(_0x523135,0x0)),{'fieldId':_0x5b1971,'parentByRecordId':_0x12e8fd,'childrenByParentId':_0x340088,'depthByRecordId':_0x3b02df,'subtreeHeightByRecordId':_0xb83e4e,'invalidReasonByRecordId':_0x3ce67a,'rootRecordIds':_0x15d868,'orderedRecordIds':_0x2ed102};}function nt(_0xa7020e,_0x531883,_0x50b4e6=new Set(_0x531883[_0x5daf81(0x2b0)](_0x10e867=>_0x10e867['recordId']))){const _0xa22cdb=_0x5daf81;let _0x3bd46f=new Set(_0x50b4e6);for(let _0x4c6b4c of _0x50b4e6){let _0x3f5609=_0xa7020e[_0xa22cdb(0x4f3)]['get'](_0x4c6b4c)??null;for(;_0x3f5609;)_0x3bd46f[_0xa22cdb(0x4ee)](_0x3f5609),_0x3f5609=_0xa7020e['parentByRecordId']['get'](_0x3f5609)??null;}let _0x1de387=new Map(_0x531883[_0xa22cdb(0x2b0)](_0xb97c93=>[_0xb97c93[_0xa22cdb(0x1c6)],_0xb97c93])),_0xce7292=_0xa7020e[_0xa22cdb(0x4c4)]['filter'](_0x586bb0=>_0x3bd46f[_0xa22cdb(0x253)](_0x586bb0)),_0x44187f=_0xce7292[_0xa22cdb(0x36c)](_0x5adf8b=>{let _0x5834ae=_0x1de387['get'](_0x5adf8b);return _0x5834ae?[_0x5834ae]:[];}),_0x55a3d1={};for(let _0x2c30f1=0x0;_0x2c30f1<_0xce7292['length'];_0x2c30f1++){let _0x19e87e=_0xce7292[_0x2c30f1];_0x55a3d1[_0x19e87e]={'recordId':_0x19e87e,'parentRecordId':_0xa7020e[_0xa22cdb(0x4f3)][_0xa22cdb(0x315)](_0x19e87e)??null,'depth':_0xa7020e[_0xa22cdb(0x2f5)][_0xa22cdb(0x315)](_0x19e87e)??0x0,'directChildCount':(_0xa7020e[_0xa22cdb(0x3de)][_0xa22cdb(0x315)](_0x19e87e)??[])[_0xa22cdb(0x21d)],'subtreeHeight':_0xa7020e[_0xa22cdb(0x4a3)][_0xa22cdb(0x315)](_0x19e87e)??0x0,'subtreeEndIndex':_0x2c30f1,'invalidReason':_0xa7020e[_0xa22cdb(0x3d1)][_0xa22cdb(0x315)](_0x19e87e)};}let _0x3cb31a=[];for(let _0x481fd8=0x0;_0x481fd8<_0xce7292[_0xa22cdb(0x21d)];_0x481fd8++){let _0x43e5c7=_0xce7292[_0x481fd8],_0x505837=_0x55a3d1[_0x43e5c7][_0xa22cdb(0x398)];for(;_0x3cb31a[_0xa22cdb(0x21d)]&&_0x3cb31a[_0x3cb31a[_0xa22cdb(0x21d)]-0x1]['depth']>=_0x505837;){let _0x2f1301=_0x3cb31a[_0xa22cdb(0x401)]();_0x55a3d1[_0x2f1301['recordId']][_0xa22cdb(0x29a)]=_0x481fd8-0x1;}_0x3cb31a[_0xa22cdb(0x482)]({'recordId':_0x43e5c7,'depth':_0x505837});}return _0x3cb31a[_0xa22cdb(0x429)](({recordId:_0x29c9f0})=>{_0x55a3d1[_0x29c9f0]['subtreeEndIndex']=_0xce7292['length']-0x1;}),{'rows':_0x44187f,'hierarchy':{'fieldId':_0xa7020e[_0xa22cdb(0x4a1)],'rootRecordIds':_0xa7020e[_0xa22cdb(0x32b)]['filter'](_0x3e9bef=>_0x3bd46f['has'](_0x3e9bef)),'orderedRecordIds':_0xce7292,'nodes':_0x55a3d1}};}function rt(_0x58d5c2,_0x3b63e3){const _0x3af323=_0x5daf81;if(!_0x58d5c2['hierarchy']||!(_0x3b63e3!=null&&_0x3b63e3['size']))return _0x58d5c2[_0x3af323(0x372)];let _0x2579dd=[],_0x2ae289=0x0;for(;_0x2ae289<_0x58d5c2['rows'][_0x3af323(0x21d)];){let _0x37a4bf=_0x58d5c2['rows'][_0x2ae289];_0x2579dd['push'](_0x37a4bf);let _0x4f21f0=_0x58d5c2[_0x3af323(0x23c)][_0x3af323(0x42b)][_0x37a4bf[_0x3af323(0x1c6)]];_0x2ae289=_0x3b63e3['has'](_0x37a4bf['recordId'])&&_0x4f21f0?_0x4f21f0[_0x3af323(0x29a)]+0x1:_0x2ae289+0x1;}return _0x2579dd;}function it(_0x338ab9,_0x38c3f6,_0x19ba4a){const _0x277f4b=_0x5daf81;if(!_0x19ba4a)return{'valid':!0x0};if(_0x38c3f6===_0x19ba4a)return{'valid':!0x1,'reason':_0x335882['SelfParent']};let _0x3ba71f=_0x19ba4a;for(;_0x3ba71f;){if(_0x3ba71f===_0x38c3f6)return{'valid':!0x1,'reason':_0x335882['Cycle']};_0x3ba71f=_0x338ab9[_0x277f4b(0x4f3)]['get'](_0x3ba71f)??null;}return(_0x338ab9[_0x277f4b(0x2f5)]['get'](_0x19ba4a)??0x0)+0x1+(_0x338ab9['subtreeHeightByRecordId'][_0x277f4b(0x315)](_0x38c3f6)??0x0)>=0x5?{'valid':!0x1,'reason':_0x335882[_0x277f4b(0x37e)]}:{'valid':!0x0};}function at(_0x1fe0a6,_0x23f3b1){const _0x2a1da6=_0x5daf81;let _0x2b307f=new Set(),_0x2d0de4=[];for(let _0x13813b of _0x23f3b1)_0x1fe0a6[_0x2a1da6(0x43a)][_0x13813b]&&!_0x2b307f[_0x2a1da6(0x253)](_0x13813b)&&(_0x2b307f['add'](_0x13813b),_0x2d0de4[_0x2a1da6(0x482)](_0x13813b));return Object[_0x2a1da6(0x46f)](_0x1fe0a6[_0x2a1da6(0x43a)])[_0x2a1da6(0x3c5)]()[_0x2a1da6(0x429)](_0x4df542=>{const _0x1e74d5=_0x2a1da6;_0x2b307f['has'](_0x4df542)||_0x2d0de4[_0x1e74d5(0x482)](_0x4df542);}),_0x2d0de4;}function ot(_0x4ffaac,_0x5b53ac,_0x26644c){const _0x42f86a=_0x5daf81;let _0x18da7a=new Set();for(let _0x62e2b5 of _0x26644c){if(_0x18da7a['has'](_0x62e2b5))continue;let _0x35ab7b=[],_0x3ce983=new Map(),_0x1c4538=_0x62e2b5;for(;_0x1c4538&&!_0x18da7a['has'](_0x1c4538);){let _0x310778=_0x3ce983[_0x42f86a(0x315)](_0x1c4538);if(_0x310778!=null){let _0x235d26=[..._0x35ab7b[_0x42f86a(0x1cb)](_0x310778)][_0x42f86a(0x3c5)]()[_0x42f86a(0x401)]();_0x4ffaac[_0x42f86a(0x1ba)](_0x235d26,null),_0x5b53ac[_0x42f86a(0x1ba)](_0x235d26,_0x335882[_0x42f86a(0x39e)]);break;}_0x3ce983['set'](_0x1c4538,_0x35ab7b['length']),_0x35ab7b['push'](_0x1c4538),_0x1c4538=_0x4ffaac[_0x42f86a(0x315)](_0x1c4538)??null;}_0x35ab7b[_0x42f86a(0x429)](_0x526b0c=>_0x18da7a[_0x42f86a(0x4ee)](_0x526b0c));}}function st(_0x3b2601,_0x469725,_0x266f9e){const _0x22a719=_0x5daf81;let _0x1b945b=new Map(),_0x47361e=_0x40b234=>{const _0x4a0dd4=_0x188f;let _0x258f40=_0x1b945b['get'](_0x40b234);if(_0x258f40!=null)return _0x258f40;let _0x1833e4=_0x3b2601[_0x4a0dd4(0x315)](_0x40b234)??null;if(!_0x1833e4)return _0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,0x0),0x0;let _0x1f5148=_0x47361e(_0x1833e4)+0x1;return _0x1f5148>=0x5?(_0x3b2601['set'](_0x40b234,null),_0x469725['set'](_0x40b234,_0x335882['MaxDepth']),_0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,0x0),0x0):(_0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,_0x1f5148),_0x1f5148);};_0x266f9e[_0x22a719(0x429)](_0x47361e);}let ct=0x0;function lt(){const _0x4e36ad=_0x5daf81;if(globalThis[_0x4e36ad(0x42f)]===!0x0)return!0x0;try{let _0xfb20b9=typeof location>'u'?'':location[_0x4e36ad(0x318)],_0x51a0d1=new URLSearchParams(_0xfb20b9);if(_0x51a0d1['get'](_0x4e36ad(0x228))==='1'||_0x51a0d1['get']('basePerf')===_0x4e36ad(0x40e)||_0x51a0d1['get']('base-perf')==='1')return!0x0;}catch{}try{let _0x23cc0d=typeof localStorage>'u'?null:localStorage[_0x4e36ad(0x504)](_0x4e36ad(0x413));return _0x23cc0d==='1'||_0x23cc0d===_0x4e36ad(0x40e);}catch{return!0x1;}}function I(_0x1852da,_0x471984,_0x5132ae){const _0x294507=_0x5daf81;if(!lt())return _0x471984();let _0x9d33cf=dt(),_0x4b36f1=_0x294507(0x37c)+ct++;ft(_0x4b36f1+_0x294507(0x2e8));try{return _0x471984();}finally{let _0x4836ae=dt()-_0x9d33cf;ft(_0x4b36f1+':end'),pt(_0x1852da,_0x4b36f1+_0x294507(0x2e8),_0x4b36f1+_0x294507(0x379)),ut(_0x1852da,_0x4836ae,_0x5132ae);}}function ut(_0x3a69ae,_0x26ef4a,_0x5a0b23){const _0x2b22b9=_0x5daf81;if(!lt())return;let _0x3e4eff=Math[_0x2b22b9(0x447)](_0x26ef4a*0x64)/0x64,_0x4e918a=_0x5a0b23&&Object[_0x2b22b9(0x46f)](_0x5a0b23)[_0x2b22b9(0x21d)]?'\x20'+JSON[_0x2b22b9(0x439)](_0x5a0b23):'';console[_0x2b22b9(0x3b8)]('[BasePerf]\x20'+_0x3a69ae+':\x20'+_0x3e4eff+'ms'+_0x4e918a);}function dt(){const _0x508b0a=_0x5daf81;return typeof performance<'u'&&typeof performance[_0x508b0a(0x1d5)]==_0x508b0a(0x55e)?performance[_0x508b0a(0x1d5)]():Date[_0x508b0a(0x1d5)]();}function ft(_0x107346){const _0x40194b=_0x5daf81;try{if(typeof performance<'u'){var _0x21c011,_0xfe0258;(_0x21c011=(_0xfe0258=performance)[_0x40194b(0x2ad)])==null||_0x21c011[_0x40194b(0x35d)](_0xfe0258,_0x107346);}}catch{}}function pt(_0x265118,_0x201686,_0x499932){const _0x97b0e4=_0x5daf81;try{if(typeof performance<'u'){var _0x6733e9,_0x2b7c3b;(_0x6733e9=(_0x2b7c3b=performance)[_0x97b0e4(0x530)])==null||_0x6733e9[_0x97b0e4(0x35d)](_0x2b7c3b,_0x97b0e4(0x463)+_0x265118,_0x201686,_0x499932);}}catch{}}function L(_0x1115ce){const _0x484718=_0x5daf81;var _0x3335fa;return lt()?I(_0x484718(0x25a),()=>mt(_0x1115ce),{'tableId':_0x1115ce['id'],'records':Object[_0x484718(0x46f)](_0x1115ce[_0x484718(0x43a)]??{})[_0x484718(0x21d)],'fields':_0x1115ce[_0x484718(0x1d6)][_0x484718(0x21d)],'hasRecordOrder':!!((_0x3335fa=_0x1115ce[_0x484718(0x3da)])!=null&&_0x3335fa['length'])}):mt(_0x1115ce);}function mt(_0xaeb30b){const _0x2186c4=_0x5daf81;var _0x414198;let _0x361780=_0xaeb30b[_0x2186c4(0x43a)]??{},_0x15b6c0=_0xaeb30b['fields']??{},_0x576f42=((_0x414198=_0xaeb30b[_0x2186c4(0x3da)])==null?void 0x0:_0x414198[_0x2186c4(0x32f)](_0x297d85=>_0x361780[_0x297d85]))??[],_0xd46801=new Set(_0x576f42),_0xe2bc56=[];for(let _0x4c951a of Object['values'](_0x361780))_0xd46801['has'](_0x4c951a['id'])||_0xe2bc56[_0x2186c4(0x482)](_0x4c951a);let _0x4c2150=_0xe2bc56[_0x2186c4(0x21d)]?[..._0x576f42,...Rt(_0xe2bc56)]:_0x576f42,_0x435a3a=_0xaeb30b[_0x2186c4(0x1d6)][_0x2186c4(0x32f)](_0x1aab7=>_0x15b6c0[_0x1aab7]),_0x24d0ba={..._0xaeb30b['rowId']??{}},_0x22e3ba={..._0xaeb30b[_0x2186c4(0x33c)]??{}},_0x268e89={..._0xaeb30b['cellData']??{}};_0xaeb30b['recordOrder']=_0x4c2150,_0xaeb30b[_0x2186c4(0x2c4)]={},_0xaeb30b[_0x2186c4(0x1ec)]={},_0xaeb30b[_0x2186c4(0x3b9)]={},_0xaeb30b['colId']={},_0xaeb30b[_0x2186c4(0x1d3)]={},_0xaeb30b[_0x2186c4(0x48d)]={..._0xaeb30b['resources']??{}},_0xaeb30b['resources'][_0x2186c4(0x313)]={..._0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x313)]??{}},_0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x36f)]={..._0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x36f)]??{}};let _0x21858c=_0xaeb30b['rowIndex'],_0xcea394=_0xaeb30b[_0x2186c4(0x1ec)],_0x1f1934=_0xaeb30b[_0x2186c4(0x3b9)],_0x3e12ab=_0xaeb30b[_0x2186c4(0x33c)],_0x2c2a55=_0xaeb30b[_0x2186c4(0x1d3)];return _0x4c2150[_0x2186c4(0x429)]((_0xc9a05,_0x10c0cb)=>{_0x21858c[_0xc9a05]=_0x10c0cb,_0xcea394[_0x10c0cb]=_0xc9a05;}),_0x435a3a[_0x2186c4(0x429)]((_0x158fc9,_0x235f3c)=>{_0x1f1934[_0x158fc9]=_0x235f3c,_0x3e12ab[_0x235f3c]=_0x158fc9;}),Object[_0x2186c4(0x2e4)](_0x268e89)[_0x2186c4(0x429)](([_0x597cf7,_0x19fddd])=>{const _0x3c73b7=_0x2186c4;let _0x323638=Number(_0x597cf7),_0x121af1=_0x24d0ba[_0x323638]??_0x4c2150[_0x323638],_0x5c6c23=_0x121af1?_0x21858c[_0x121af1]:void 0x0;_0x5c6c23!=null&&(_0x2c2a55[_0x5c6c23]={..._0x2c2a55[_0x5c6c23]??{}},Object[_0x3c73b7(0x2e4)](_0x19fddd??{})[_0x3c73b7(0x429)](([_0x968698,_0x40303f])=>{let _0x4d9462=Number(_0x968698),_0x5b3095=_0x22e3ba[_0x4d9462]??_0x435a3a[_0x4d9462],_0x154c6c=_0x5b3095?_0x1f1934[_0x5b3095]:void 0x0;_0x154c6c!=null&&(_0x2c2a55[_0x5c6c23][_0x154c6c]=St(_0x40303f));}));}),Object[_0x2186c4(0x45b)](_0x361780)[_0x2186c4(0x429)](_0x3b6b05=>{const _0x316d9a=_0x2186c4;let _0x474053=_0x21858c[_0x3b6b05['id']];_0x474053!=null&&(_0x3b6b05['values']={..._0x3b6b05['values']??{},[_0x4a6fc3]:_0x3b6b05['id']},_0x2c2a55[_0x474053]={..._0x2c2a55[_0x474053]??{},0x0:{'v':_0x3b6b05['id'],'t':_0x20fde0['STRING']}},Object[_0x316d9a(0x2e4)](_0x3b6b05[_0x316d9a(0x45b)]??{})[_0x316d9a(0x429)](([_0x2c5e3c,_0x1c06a5])=>{const _0x607ce6=_0x316d9a;let _0x5084bd=_0x15b6c0[_0x2c5e3c];(_0x5084bd==null?void 0x0:_0x5084bd[_0x607ce6(0x305)])===_0x618ba[_0x607ce6(0x1f8)]&&Dt(_0xaeb30b,_0x3b6b05['id'],_0x2c5e3c,_0x1c06a5);let _0x258a96=_0x1f1934[_0x2c5e3c];if(_0x258a96==null)return;let _0x80bb27=_0x2c2a55[_0x474053][_0x258a96];(_0x80bb27==null||jt(_0x80bb27,_0x5084bd,_0x1c06a5))&&(_0x2c2a55[_0x474053][_0x258a96]=xt(_0x1c06a5,_0x5084bd));}));}),_0xaeb30b;}function ht(_0x44b885,_0x41c07e){const _0x481e91=_0x5daf81;return _0x44b885[_0x481e91(0x43a)]=Object['fromEntries'](Object[_0x481e91(0x2e4)](_0x44b885[_0x481e91(0x43a)])[_0x481e91(0x2b0)](([_0x5ee859,_0x410dbb])=>[_0x5ee859,{..._0x410dbb}])),L(_0x44b885),Object[_0x481e91(0x2e4)](_0x44b885[_0x481e91(0x1ec)]??{})[_0x481e91(0x429)](([_0x4e8a26,_0x24419b])=>{const _0x245a26=_0x481e91;var _0x34f9da;let _0x39189e=Number(_0x4e8a26),_0x177182=_0x44b885[_0x245a26(0x43a)][_0x24419b];_0x177182&&(_0x177182[_0x245a26(0x45b)]={..._0x177182['values']??{}},Object[_0x245a26(0x2e4)](((_0x34f9da=_0x44b885[_0x245a26(0x1d3)])==null?void 0x0:_0x34f9da[_0x39189e])??{})[_0x245a26(0x429)](([_0x44ee64,_0x4f741f])=>{const _0x1d45a3=_0x245a26;var _0x34645f;let _0x438d1f=(_0x34645f=_0x44b885[_0x1d45a3(0x33c)])==null?void 0x0:_0x34645f[Number(_0x44ee64)];_0x438d1f&&_0x41c07e&&!_0x41c07e(_0x24419b,_0x438d1f)||(_0x438d1f===_0x4a6fc3?_0x177182['values'][_0x4a6fc3]=_0x177182['id']:_0x438d1f&&(_0x177182[_0x1d45a3(0x45b)][_0x438d1f]=Ct(_0x4f741f,_0x44b885[_0x1d45a3(0x503)][_0x438d1f],_0x44b885,_0x24419b)));}));}),_0x44b885;}function gt(_0x1aca0d,_0x196078){const _0x30016a=_0x5daf81;for(let {row:_0x57ba06,col:_0xb729e1}of _0x196078){var _0x48e0cb,_0x24c025,_0x1f5b70;let _0x11804f=(_0x48e0cb=_0x1aca0d[_0x30016a(0x1ec)])==null?void 0x0:_0x48e0cb[_0x57ba06],_0x985fa6=(_0x24c025=_0x1aca0d[_0x30016a(0x33c)])==null?void 0x0:_0x24c025[_0xb729e1],_0x14704c=_0x11804f?_0x1aca0d[_0x30016a(0x43a)][_0x11804f]:void 0x0;if(!_0x14704c||!_0x985fa6)continue;if(_0x985fa6===_0x4a6fc3){_0x14704c[_0x30016a(0x45b)][_0x4a6fc3]=_0x14704c['id'];continue;}let _0x358e9c=(_0x1f5b70=_0x1aca0d[_0x30016a(0x1d3)])==null||(_0x1f5b70=_0x1f5b70[_0x57ba06])==null?void 0x0:_0x1f5b70[_0xb729e1];(_0x358e9c!=null||Object[_0x30016a(0x4e2)][_0x30016a(0x4d7)][_0x30016a(0x35d)](_0x14704c['values']??{},_0x985fa6))&&(_0x14704c['values']={..._0x14704c['values']??{}},_0x14704c[_0x30016a(0x45b)][_0x985fa6]=Ct(_0x358e9c,_0x1aca0d[_0x30016a(0x503)][_0x985fa6],_0x1aca0d,_0x11804f));}return _0x1aca0d;}function _t(_0x365eb6,_0x19b129,_0xc952dc){const _0x3b7492=_0x5daf81;var _0x5771bd,_0x5efce9,_0x49b814,_0x1ad0ab,_0x57e87d,_0x57accb;let _0x52f51e=(_0x5771bd=_0x365eb6['rowIndex'])==null?void 0x0:_0x5771bd[_0x19b129],_0x5ae521=(_0x5efce9=_0x365eb6[_0x3b7492(0x3b9)])==null?void 0x0:_0x5efce9[_0xc952dc];if(_0x52f51e!=null&&_0x5ae521!=null&&((_0x49b814=_0x365eb6[_0x3b7492(0x1ec)])==null?void 0x0:_0x49b814[_0x52f51e])===_0x19b129&&((_0x1ad0ab=_0x365eb6[_0x3b7492(0x33c)])==null?void 0x0:_0x1ad0ab[_0x5ae521])===_0xc952dc)return{'row':_0x52f51e,'col':_0x5ae521};let _0x20443c=L(_0x365eb6),_0x5818c4=(_0x57e87d=_0x20443c['rowIndex'])==null?void 0x0:_0x57e87d[_0x19b129],_0x56b2ff=(_0x57accb=_0x20443c['colIndex'])==null?void 0x0:_0x57accb[_0xc952dc];return _0x5818c4==null||_0x56b2ff==null?null:{'row':_0x5818c4,'col':_0x56b2ff};}function vt(_0x5d5a92,_0xff6e29,_0x113026){const _0x1297a5=_0x5daf81;var _0x2cb9b1;let _0x2f95b4=_t(_0x5d5a92,_0xff6e29,_0x113026);if(_0x2f95b4)return(_0x2cb9b1=_0x5d5a92[_0x1297a5(0x1d3)])==null||(_0x2cb9b1=_0x2cb9b1[_0x2f95b4[_0x1297a5(0x406)]])==null?void 0x0:_0x2cb9b1[_0x2f95b4[_0x1297a5(0x2f0)]];}function yt(_0x46b0c6,_0x16fbb0,_0x5a86b3){const _0x44f9dd=_0x5daf81;var _0x41b392;let _0x2c8bad=vt(_0x46b0c6,_0x16fbb0,_0x5a86b3),_0x17bd52=_0x46b0c6[_0x44f9dd(0x503)][_0x5a86b3];if((_0x17bd52==null?void 0x0:_0x17bd52[_0x44f9dd(0x305)])===_0x618ba[_0x44f9dd(0x1f8)]){var _0x48315c;return Ot(_0x46b0c6,_0x16fbb0,_0x5a86b3)??kt((_0x48315c=_0x46b0c6[_0x44f9dd(0x43a)][_0x16fbb0])==null||(_0x48315c=_0x48315c[_0x44f9dd(0x45b)])==null?void 0x0:_0x48315c[_0x5a86b3]);}if(Mt(_0x17bd52)||Nt(_0x17bd52)||(_0x17bd52==null?void 0x0:_0x17bd52['type'])===_0x618ba[_0x44f9dd(0x42d)]){var _0xc8c3d6;let _0x5b6c1b=(_0xc8c3d6=_0x46b0c6['records'][_0x16fbb0])==null||(_0xc8c3d6=_0xc8c3d6['values'])==null?void 0x0:_0xc8c3d6[_0x5a86b3];return _0x5b6c1b!=null&&_0x5b6c1b!==''?At(_0x5b6c1b,_0x17bd52):Ct(_0x2c8bad,_0x17bd52,_0x46b0c6,_0x16fbb0);}return _0x2c8bad&&Object[_0x44f9dd(0x4e2)][_0x44f9dd(0x4d7)]['call'](_0x2c8bad,'v')?_0x2c8bad['v']??null:((_0x41b392=_0x46b0c6[_0x44f9dd(0x43a)][_0x16fbb0])==null||(_0x41b392=_0x41b392[_0x44f9dd(0x45b)])==null?void 0x0:_0x41b392[_0x5a86b3])??null;}function bt(_0x341e71,_0x537d4d,_0x1e00e5){const _0x6ef1b0=_0x5daf81;var _0x4e6190;let _0x3f878a=vt(_0x341e71,_0x537d4d,_0x1e00e5);if(_0x3f878a&&Object[_0x6ef1b0(0x4e2)][_0x6ef1b0(0x4d7)][_0x6ef1b0(0x35d)](_0x3f878a,'v'))return _0x3f878a['v']??null;let _0x431a6a=_0x341e71[_0x6ef1b0(0x503)][_0x1e00e5];return xt(((_0x4e6190=_0x341e71[_0x6ef1b0(0x43a)][_0x537d4d])==null||(_0x4e6190=_0x4e6190[_0x6ef1b0(0x45b)])==null?void 0x0:_0x4e6190[_0x1e00e5])??null,_0x431a6a)['v']??null;}function xt(_0x56b7b2,_0xacc67a){const _0x2d8187=_0x5daf81;if(Tt(_0x56b7b2))return(_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x1f8)]?{..._0x56b7b2,'v':'','t':_0x20fde0[_0x2d8187(0x376)]}:St(_0x56b7b2);if((_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x1f8)])return{'v':'','t':_0x20fde0[_0x2d8187(0x376)]};if(Nt(_0xacc67a)){let _0x17873a=Pt(_0x56b7b2);return{'v':_0x17873a,'t':Lt(_0x17873a)};}if(Mt(_0xacc67a))return{'v':Ft(_0x56b7b2)[_0x2d8187(0x30a)](',\x20'),'t':_0x20fde0['STRING']};if((_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x42d)]&&_0x56b7b2&&typeof _0x56b7b2==_0x2d8187(0x1fb)&&!Array[_0x2d8187(0x31e)](_0x56b7b2)){let _0x36ab42=_0x56b7b2;return{'v':String(_0x36ab42[_0x2d8187(0x38e)]??_0x36ab42[_0x2d8187(0x4fe)]??''),'t':_0x20fde0[_0x2d8187(0x376)]};}return _0x56b7b2===null||typeof _0x56b7b2=='string'||typeof _0x56b7b2=='number'||typeof _0x56b7b2==_0x2d8187(0x26c)?{'v':_0x56b7b2,'t':Lt(_0x56b7b2)}:{'v':null,'t':null};}function St(_0x4de46f){let _0x2a1a5b=zt(_0x4de46f['t'],_0x4de46f['v']);if(_0x2a1a5b===void 0x0){let {t:_0x46f7fa,..._0x4cb658}=_0x4de46f;return _0x4cb658;}return{..._0x4de46f,'t':_0x2a1a5b};}function Ct(_0x5ee744,_0x20e97e,_0x220775,_0x2c80ce){const _0x49f1d6=_0x5daf81;if(!_0x5ee744)return null;if((_0x20e97e==null?void 0x0:_0x20e97e[_0x49f1d6(0x305)])===_0x618ba[_0x49f1d6(0x1f8)])return _0x220775&&_0x2c80ce?Ot(_0x220775,_0x2c80ce,_0x20e97e['id'])??[]:[];if(Mt(_0x20e97e))return Ft(_0x5ee744['v']);if((_0x20e97e==null?void 0x0:_0x20e97e['type'])===_0x618ba[_0x49f1d6(0x42d)]&&_0x220775&&_0x2c80ce){var _0x5b10fa;let _0x1fa701=(_0x5b10fa=_0x220775[_0x49f1d6(0x43a)][_0x2c80ce])==null||(_0x5b10fa=_0x5b10fa['values'])==null?void 0x0:_0x5b10fa[_0x20e97e['id']];if(_0x1fa701&&typeof _0x1fa701=='object'&&!Array[_0x49f1d6(0x31e)](_0x1fa701))return _0x1fa701;}return Object[_0x49f1d6(0x4e2)][_0x49f1d6(0x4d7)][_0x49f1d6(0x35d)](_0x5ee744,'v')?_0x5ee744['v']??null:null;}function wt(_0x444026,_0x2e80ef,_0x408a4c,_0x41676c,_0x4f9a68){const _0xe745ba=_0x5daf81;return(_0x408a4c==null?void 0x0:_0x408a4c[_0xe745ba(0x305)])===_0x618ba['Attachment']?kt(_0x444026):Nt(_0x408a4c)?Pt(_0x444026):Mt(_0x408a4c)?Ft(_0x444026):(_0x408a4c==null?void 0x0:_0x408a4c['type'])===_0x618ba[_0xe745ba(0x42d)]&&(_0x444026==null||_0x444026==='')?null:(_0x408a4c==null?void 0x0:_0x408a4c[_0xe745ba(0x305)])===_0x618ba['Link']&&_0x444026&&typeof _0x444026==_0xe745ba(0x1fb)&&!Array[_0xe745ba(0x31e)](_0x444026)&&!Tt(_0x444026)?_0x444026:Ct(_0x2e80ef,_0x408a4c,_0x41676c,_0x4f9a68);}function Tt(_0x30fe28){const _0x31355c=_0x5daf81;return!!_0x30fe28&&typeof _0x30fe28=='object'&&(Object['prototype'][_0x31355c(0x4d7)][_0x31355c(0x35d)](_0x30fe28,'v')||Object[_0x31355c(0x4e2)][_0x31355c(0x4d7)]['call'](_0x30fe28,'t')||Object['prototype']['hasOwnProperty']['call'](_0x30fe28,'p')||Object[_0x31355c(0x4e2)]['hasOwnProperty'][_0x31355c(0x35d)](_0x30fe28,'f')||Object[_0x31355c(0x4e2)]['hasOwnProperty'][_0x31355c(0x35d)](_0x30fe28,'si'));}function Et(_0x22234c,_0x3a876b){return _0x22234c+'\x1f'+_0x3a876b;}function Dt(_0x2f8f0f,_0x4b5f62,_0xafcb17,_0x52d014){const _0x2a9ff3=_0x5daf81;let _0x29d606=kt(_0x52d014);_0x2f8f0f[_0x2a9ff3(0x48d)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]??{}},_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x313)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]['attachmentSets']??{}},_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x36f)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]['attachments']??{}};let _0x310283=Et(_0xafcb17,_0x4b5f62),_0x3f65a4=[];for(let _0x22b32a=0x0;_0x22b32a<_0x29d606[_0x2a9ff3(0x21d)];_0x22b32a++){if(!(_0x22b32a in _0x29d606))continue;let _0x549220=_0x29d606[_0x22b32a],_0x4d391d=String(_0x549220['id']??_0x310283+'\x1f'+_0x22b32a),_0x4985d7={..._0x549220,'id':_0x4d391d};_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x36f)][_0x4d391d]=_0x4985d7,_0x3f65a4[_0x2a9ff3(0x482)](_0x4d391d);}_0x2f8f0f['resources'][_0x2a9ff3(0x313)][_0x310283]=_0x3f65a4;}function Ot(_0x120cc3,_0x387afa,_0x380ebb){const _0x256dae=_0x5daf81;var _0xe424;let _0x992852=Et(_0x380ebb,_0x387afa),_0x33e24c=(_0xe424=_0x120cc3[_0x256dae(0x48d)])==null||(_0xe424=_0xe424['attachmentSets'])==null?void 0x0:_0xe424[_0x992852];if(!_0x33e24c)return null;let _0x5403c7=[];for(let _0x4da1d6=0x0;_0x4da1d6<_0x33e24c[_0x256dae(0x21d)];_0x4da1d6++){var _0x2767c6;if(!(_0x4da1d6 in _0x33e24c))continue;let _0x261343=(_0x2767c6=_0x120cc3[_0x256dae(0x48d)])==null||(_0x2767c6=_0x2767c6[_0x256dae(0x36f)])==null?void 0x0:_0x2767c6[_0x33e24c[_0x4da1d6]];_0x261343&&_0x5403c7['push']({..._0x261343});}return _0x5403c7;}function kt(_0x469489){const _0x450b77=_0x5daf81;if(_0x469489==null||_0x469489===''||Tt(_0x469489)&&!('id'in _0x469489)&&!(_0x450b77(0x322)in _0x469489))return[];let _0x2d2051=Array[_0x450b77(0x31e)](_0x469489)?_0x469489:[_0x469489],_0x4c53ab=[];for(let _0x5cf790=0x0;_0x5cf790<_0x2d2051[_0x450b77(0x21d)];_0x5cf790++){if(!(_0x5cf790 in _0x2d2051))continue;let _0x5e3045=_0x2d2051[_0x5cf790],_0x208339=_0x5e3045&&typeof _0x5e3045==_0x450b77(0x1fb)?{..._0x5e3045}:{'id':_0x450b77(0x44c)+_0x5cf790,'name':String(_0x5e3045)};Object[_0x450b77(0x46f)](_0x208339)[_0x450b77(0x21d)]>0x0&&_0x4c53ab[_0x450b77(0x482)](_0x208339);}return _0x4c53ab;}function At(_0x2c0e36,_0x852d76){const _0x286ed7=_0x5daf81;return(_0x852d76==null?void 0x0:_0x852d76[_0x286ed7(0x305)])===_0x618ba[_0x286ed7(0x1f8)]?kt(_0x2c0e36):Nt(_0x852d76)?Pt(_0x2c0e36):Mt(_0x852d76)?Ft(_0x2c0e36):_0x2c0e36;}function jt(_0x4d58ea,_0x5d3ec9,_0x1f70dc){const _0x22502f=_0x5daf81;return(_0x5d3ec9==null?void 0x0:_0x5d3ec9[_0x22502f(0x305)])===_0x618ba[_0x22502f(0x1f8)]?_0x4d58ea['v']!=='':Nt(_0x5d3ec9)?_0x4d58ea['v']!==Pt(_0x1f70dc):Mt(_0x5d3ec9)?Array[_0x22502f(0x31e)](_0x1f70dc)&&(_0x4d58ea['v']==null||_0x4d58ea['v']===''):!0x1;}function Mt(_0x3fe976){const _0x2fe5b6=_0x5daf81;return(_0x3fe976==null?void 0x0:_0x3fe976[_0x2fe5b6(0x305)])===_0x618ba[_0x2fe5b6(0x3a1)]||(_0x3fe976==null?void 0x0:_0x3fe976['type'])===_0x618ba[_0x2fe5b6(0x377)]||(_0x3fe976==null?void 0x0:_0x3fe976[_0x2fe5b6(0x305)])===_0x618ba['Person']&&_0x3fe976[_0x2fe5b6(0x396)][_0x2fe5b6(0x551)]===!0x0;}function Nt(_0x14e0bb){const _0x510eb6=_0x5daf81;return(_0x14e0bb==null?void 0x0:_0x14e0bb[_0x510eb6(0x305)])===_0x618ba[_0x510eb6(0x1e9)]&&_0x14e0bb['config'][_0x510eb6(0x551)]!==!0x0;}function Pt(_0x50dd17){const _0x16b9c8=_0x5daf81;let _0x45ca8f=Tt(_0x50dd17)?_0x50dd17['v']:_0x50dd17,_0x209a56=Array[_0x16b9c8(0x31e)](_0x45ca8f)?_0x45ca8f[0x0]:_0x45ca8f;return _0x209a56==null||_0x209a56===''?null:String(_0x209a56);}function Ft(_0x1213f9){const _0x47c2bb=_0x5daf81;if(_0x1213f9==null||_0x1213f9==='')return[];let _0x3a6846=[];if(Array[_0x47c2bb(0x31e)](_0x1213f9)){for(let _0x5880f9=0x0;_0x5880f9<_0x1213f9[_0x47c2bb(0x21d)];_0x5880f9++){if(!(_0x5880f9 in _0x1213f9))continue;let _0x49c070=It(_0x1213f9[_0x5880f9]);_0x49c070&&_0x3a6846['push'](_0x49c070);}return _0x3a6846;}for(let _0x438dcc of String(_0x1213f9)[_0x47c2bb(0x4d9)](',')){let _0xb6d5a1=_0x438dcc[_0x47c2bb(0x3a5)]();_0xb6d5a1&&_0x3a6846[_0x47c2bb(0x482)](_0xb6d5a1);}return _0x3a6846;}function It(_0x5822bd){const _0x4f854e=_0x5daf81;if(_0x5822bd==null)return'';if(typeof _0x5822bd==_0x4f854e(0x2ed)||typeof _0x5822bd==_0x4f854e(0x53d)||typeof _0x5822bd==_0x4f854e(0x26c))return String(_0x5822bd);if(typeof _0x5822bd==_0x4f854e(0x1fb)){let _0x5212a6=_0x5822bd;return String(_0x5212a6['id']??_0x5212a6[_0x4f854e(0x322)]??_0x5212a6[_0x4f854e(0x38e)]??'');}return String(_0x5822bd);}function Lt(_0x5f39f7){const _0x22505c=_0x5daf81;return _0x5f39f7==null?null:typeof _0x5f39f7==_0x22505c(0x53d)?_0x20fde0[_0x22505c(0x288)]:typeof _0x5f39f7==_0x22505c(0x26c)?_0x20fde0[_0x22505c(0x1b3)]:_0x20fde0['STRING'];}function Rt(_0x137abb){const _0x10f10a=_0x5daf81;_0x137abb[_0x10f10a(0x3c5)]((_0x43552d,_0x4b6e31)=>_0x43552d[_0x10f10a(0x2a2)][_0x10f10a(0x202)](_0x4b6e31[_0x10f10a(0x2a2)]));let _0x489c50=[];for(let _0x90eedb of _0x137abb)_0x489c50[_0x10f10a(0x482)](_0x90eedb['id']);return _0x489c50;}function zt(_0x204fcd,_0x1348df){const _0x50d8c3=_0x5daf81;return _0x204fcd===_0x20fde0['STRING']||_0x204fcd===_0x20fde0['NUMBER']||_0x204fcd===_0x20fde0['BOOLEAN']||_0x204fcd===_0x20fde0[_0x50d8c3(0x23e)]||_0x204fcd==null?_0x204fcd:Lt(_0x1348df??null);}function R(_0x575b44){const _0x1a7162=_0x5daf81;let _0xd0b0f3=null;for(let _0x96d5a5 of _0x575b44)_0xd0b0f3=_0xd0b0f3===null?_0x96d5a5:_0x1605a0[_0x1a7162(0x305)][_0x1a7162(0x363)](_0xd0b0f3,_0x96d5a5);return _0xd0b0f3;}var z=class e{static[_0x5daf81(0x547)](_0x55abb0,_0x47d471){const _0xd68165=_0x5daf81;let _0x4238e9=[];for(let _0x53092f of _0x47d471){let _0x3bad90=Bt(_0x53092f);if(!_0x3bad90||_0x3bad90[_0xd68165(0x3cb)]!==_0x55abb0['id'])return null;_0x4238e9[_0xd68165(0x482)](_0x3bad90['op']);}try{let _0x3d0ba0=R(_0x4238e9);return _0x3d0ba0===null?_0x55abb0:new e()[_0xd68165(0x525)](_0x55abb0,_0x3d0ba0);}catch{return null;}}[_0x5daf81(0x525)](_0x1deffa,_0x3d4c25){const _0x35e8e2=_0x5daf81;let _0x3d76e4=this['getAffectedRanges'](_0x3d4c25),_0xa9a7ef=I(_0x35e8e2(0x296),()=>Xt(_0x1deffa,_0x3d4c25),{'invalidations':_0x3d76e4['length']}),_0x329e7e=I(_0x35e8e2(0x30e),()=>_0x1605a0['type']['apply'](_0xa9a7ef,_0x3d4c25),{'invalidations':_0x3d76e4['length']}),_0x20fa1f=Ht(_0x329e7e,_0x3d76e4);return I(_0x35e8e2(0x38c),()=>Vt(_0x329e7e,_0x3d76e4),{'invalidations':_0x3d76e4[_0x35e8e2(0x21d)]})?(Ut(_0x329e7e,_0x20fa1f),_0x329e7e):(I(_0x35e8e2(0x21c),()=>{const _0x49a0f8=_0x35e8e2;this[_0x49a0f8(0x241)](_0x329e7e,_0x3d76e4)[_0x49a0f8(0x429)](_0x1c645e=>{const _0x63936=_0x49a0f8;let _0x51a54c=_0x3d76e4[_0x63936(0x32f)](_0x20eeb3=>_0x20eeb3[_0x63936(0x221)]===_0x1c645e['id']),_0x2e4769=_0x51a54c[_0x63936(0x21d)]>0x0&&_0x51a54c[_0x63936(0x2ab)](_0x2c45ec=>_0x2c45ec[_0x63936(0x483)]===_0x63936(0x50a)||_0x2c45ec[_0x63936(0x483)]==='view'||_0x2c45ec[_0x63936(0x483)]===_0x63936(0x203)||_0x2c45ec[_0x63936(0x483)]==='record')?new Set(_0x51a54c[_0x63936(0x36c)](_0x3107c4=>{const _0xe91cb0=_0x63936;var _0x51341e;if(_0x3107c4[_0xe91cb0(0x483)]!==_0xe91cb0(0x50a)||!_0x3107c4[_0xe91cb0(0x4a1)])return[];let _0x57faa4=(_0x51341e=_0x1deffa[_0xe91cb0(0x2f7)][_0x1c645e['id']])==null?void 0x0:_0x51341e['fields'][_0x3107c4[_0xe91cb0(0x4a1)]],_0x46bcc4=_0x1c645e[_0xe91cb0(0x503)][_0x3107c4['fieldId']];return(_0x57faa4==null?void 0x0:_0x57faa4[_0xe91cb0(0x305)])!==(_0x46bcc4==null?void 0x0:_0x46bcc4[_0xe91cb0(0x305)])||(_0x57faa4==null?void 0x0:_0x57faa4[_0xe91cb0(0x396)][_0xe91cb0(0x551)])!==(_0x46bcc4==null?void 0x0:_0x46bcc4[_0xe91cb0(0x396)][_0xe91cb0(0x551)])?[_0x3107c4[_0xe91cb0(0x4a1)]]:[];})):void 0x0,_0x272291=new Set(_0x51a54c['flatMap'](_0x1da0df=>{const _0x5727f8=_0x63936;var _0x224c1c,_0x68b238;return _0x1da0df[_0x5727f8(0x483)]!==_0x5727f8(0x203)||_0x1da0df[_0x5727f8(0x406)]==null||_0x1da0df['column']==null?[]:[JSON[_0x5727f8(0x439)]([(_0x224c1c=_0x1c645e[_0x5727f8(0x1ec)])==null?void 0x0:_0x224c1c[_0x1da0df['row']],(_0x68b238=_0x1c645e[_0x5727f8(0x33c)])==null?void 0x0:_0x68b238[_0x1da0df[_0x5727f8(0x1cc)]]])];}));ht(_0x1c645e,_0x2e4769?(_0x54c678,_0xd417fb)=>_0x2e4769[_0x63936(0x253)](_0xd417fb)||_0x272291[_0x63936(0x253)](JSON['stringify']([_0x54c678,_0xd417fb])):void 0x0);});},{'invalidations':_0x3d76e4['length']}),Ut(_0x329e7e,_0x20fa1f),_0x329e7e);}['invertOp'](_0x27554d,_0x235dee){const _0xdadd78=_0x5daf81;return _0x1605a0['type'][_0xdadd78(0x475)](_0x235dee,_0x27554d);}[_0x5daf81(0x26e)](_0x86bbb0){const _0x14dde7=_0x5daf81;let _0x3d28e8=qt(_0x86bbb0);return _0x3d28e8[_0x14dde7(0x21d)]?Jt(_0x3d28e8[_0x14dde7(0x36c)](_0x5c0beb=>this[_0x14dde7(0x26e)](_0x5c0beb))):Wt(_0x86bbb0);}[_0x5daf81(0x241)](_0x3a345d,_0x2aeff7){const _0x542747=_0x5daf81;let _0x11e2e4=_0x2aeff7[_0x542747(0x32f)](_0x5b729f=>_0x5b729f['reason']!==_0x542747(0x3a6));return _0x11e2e4[_0x542747(0x21d)]?_0x11e2e4[_0x542747(0x387)](_0x1e76f2=>!_0x1e76f2[_0x542747(0x221)])?Object[_0x542747(0x45b)](_0x3a345d[_0x542747(0x2f7)]??{}):Array[_0x542747(0x404)](new Set(_0x11e2e4['map'](_0x2b6457=>_0x2b6457['tableId'])))[_0x542747(0x36c)](_0x267a2a=>{const _0x27acb0=_0x542747;var _0x8af99a;let _0x4aa386=(_0x8af99a=_0x3a345d[_0x27acb0(0x2f7)])==null?void 0x0:_0x8af99a[_0x267a2a];return _0x4aa386?[_0x4aa386]:[];}):[];}};function Bt(_0x1a28bd){const _0x2c1858=_0x5daf81;let _0x669026=_0x1a28bd[_0x2c1858(0x422)];return _0x1a28bd['id']!=='base.mutation.apply-base-json1'||typeof _0x669026!=_0x2c1858(0x1fb)||!_0x669026||!(_0x2c1858(0x3cb)in _0x669026)||typeof _0x669026['unitId']!='string'||!('op'in _0x669026)||!Array[_0x2c1858(0x31e)](_0x669026['op'])?null:{'unitId':_0x669026[_0x2c1858(0x3cb)],'op':_0x669026['op']};}function Vt(_0x568cf2,_0x2304f1){const _0x3861dd=_0x5daf81;if(!_0x2304f1[_0x3861dd(0x21d)]||_0x2304f1['some'](_0x51bd43=>_0x51bd43[_0x3861dd(0x483)]!==_0x3861dd(0x203)))return!0x1;let _0x28759a=new Map();for(let _0x5a5e15 of _0x2304f1){if(!_0x5a5e15['tableId']||_0x5a5e15[_0x3861dd(0x406)]==null||_0x5a5e15[_0x3861dd(0x1cc)]==null)continue;let _0x599abd=_0x28759a[_0x3861dd(0x315)](_0x5a5e15[_0x3861dd(0x221)])??[];_0x599abd[_0x3861dd(0x482)]({'row':_0x5a5e15['row'],'col':_0x5a5e15[_0x3861dd(0x1cc)]}),_0x28759a[_0x3861dd(0x1ba)](_0x5a5e15[_0x3861dd(0x221)],_0x599abd);}return _0x28759a[_0x3861dd(0x429)]((_0x56f606,_0x1ca5d6)=>{const _0xfb5ea2=_0x3861dd;var _0x29386f;let _0x4d3282=(_0x29386f=_0x568cf2[_0xfb5ea2(0x2f7)])==null?void 0x0:_0x29386f[_0x1ca5d6];_0x4d3282&&gt(_0x4d3282,_0x56f606);}),!0x0;}function Ht(_0x460f49,_0x2a62fc){const _0x2fbab6=_0x5daf81;let _0xb4f688=new Set();return _0x2a62fc[_0x2fbab6(0x36c)](_0x3f385c=>{const _0x14a3ac=_0x2fbab6;var _0x3c903a;if(!_0x3f385c[_0x14a3ac(0x221)]||!_0x3f385c[_0x14a3ac(0x1c6)]||!_0x3f385c[_0x14a3ac(0x4a1)])return[];let _0x1a013d=_0x3f385c['tableId']+'\x1f'+_0x3f385c[_0x14a3ac(0x1c6)]+'\x1f'+_0x3f385c[_0x14a3ac(0x4a1)];if(_0xb4f688[_0x14a3ac(0x253)](_0x1a013d))return[];_0xb4f688[_0x14a3ac(0x4ee)](_0x1a013d);let _0x141a68=(_0x3c903a=_0x460f49[_0x14a3ac(0x2f7)][_0x3f385c[_0x14a3ac(0x221)]])==null||(_0x3c903a=_0x3c903a[_0x14a3ac(0x43a)][_0x3f385c[_0x14a3ac(0x1c6)]])==null?void 0x0:_0x3c903a[_0x14a3ac(0x45b)];return _0x141a68?[{'tableId':_0x3f385c[_0x14a3ac(0x221)],'recordId':_0x3f385c['recordId'],'fieldId':_0x3f385c[_0x14a3ac(0x4a1)],'exists':Object['prototype'][_0x14a3ac(0x4d7)][_0x14a3ac(0x35d)](_0x141a68,_0x3f385c[_0x14a3ac(0x4a1)]),'value':_0x141a68[_0x3f385c[_0x14a3ac(0x4a1)]]}]:[];});}function Ut(_0xf108f6,_0x53d945){_0x53d945['forEach'](_0x4b49c1=>{const _0x244b6d=_0x188f;var _0x3f54ea;let _0x46fcc1=(_0x3f54ea=_0xf108f6[_0x244b6d(0x2f7)][_0x4b49c1[_0x244b6d(0x221)]])==null||(_0x3f54ea=_0x3f54ea['records'][_0x4b49c1[_0x244b6d(0x1c6)]])==null?void 0x0:_0x3f54ea[_0x244b6d(0x45b)];_0x46fcc1&&(_0x4b49c1[_0x244b6d(0x4ac)]?_0x46fcc1[_0x4b49c1['fieldId']]=_0x4b49c1[_0x244b6d(0x3fd)]:delete _0x46fcc1[_0x4b49c1[_0x244b6d(0x4a1)]]);});}function Wt(_0x3f604b){const _0xe8bbd4=_0x5daf81;if(!Array[_0xe8bbd4(0x31e)](_0x3f604b)||_0x3f604b[_0xe8bbd4(0x21d)]<0x2)return[{'tableId':'','reason':_0xe8bbd4(0x275)}];let _0x409c31=_0x3f604b,_0x530959=_0x409c31['indexOf'](_0xe8bbd4(0x2f7));return _0x530959===-0x1||typeof _0x409c31[_0x530959+0x1]!=_0xe8bbd4(0x2ed)?_0x409c31[0x0]===_0xe8bbd4(0x3ee)?[]:[{'tableId':'','reason':_0xe8bbd4(0x275)}]:Gt(_0x409c31,_0x530959,String(_0x409c31[_0x530959+0x1]));}function Gt(_0x366d24,_0x8e4c6a,_0x44ec03){const _0x57dac5=_0x5daf81;let _0x452e9b=_0x366d24[_0x8e4c6a+0x2];return _0x452e9b===_0x57dac5(0x43a)&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?Kt(_0x366d24,_0x8e4c6a,_0x44ec03,String(_0x366d24[_0x8e4c6a+0x3])):_0x452e9b===_0x57dac5(0x1d3)&&_0x366d24[_0x8e4c6a+0x3]!=null&&_0x366d24[_0x8e4c6a+0x4]!=null?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x203),'row':Number(_0x366d24[_0x8e4c6a+0x3]),'column':Number(_0x366d24[_0x8e4c6a+0x4])}]:_0x452e9b==='fields'&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x50a),'fieldId':String(_0x366d24[_0x8e4c6a+0x3])}]:_0x452e9b===_0x57dac5(0x1d6)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x50a)}]:_0x452e9b===_0x57dac5(0x3da)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x1b5)}]:_0x452e9b==='views'&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x3a6),'viewId':String(_0x366d24[_0x8e4c6a+0x3])}]:_0x452e9b===_0x57dac5(0x410)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x3a6)}]:_0x452e9b==='resources'?[{'tableId':_0x44ec03,'reason':'cell'}]:[{'tableId':_0x44ec03,'reason':_0x452e9b===void 0x0?_0x57dac5(0x524):_0x57dac5(0x275)}];}function Kt(_0x17c3d4,_0x224643,_0x260351,_0x409fb8){const _0x90df2c=_0x5daf81;return _0x17c3d4[_0x224643+0x4]==='values'&&typeof _0x17c3d4[_0x224643+0x5]==_0x90df2c(0x2ed)?[{'tableId':_0x260351,'reason':_0x90df2c(0x203),'recordId':_0x409fb8,'fieldId':String(_0x17c3d4[_0x224643+0x5])}]:_0x17c3d4[_0x224643+0x4]===_0x90df2c(0x35b)||_0x17c3d4[_0x224643+0x4]==='updatedBy'?[]:[{'tableId':_0x260351,'reason':_0x90df2c(0x1b5),'recordId':_0x409fb8}];}function qt(_0x153582){const _0x465df8=_0x5daf81;if(!Array[_0x465df8(0x31e)](_0x153582))return[];let _0x422daa=_0x153582[_0x465df8(0x32f)](Array[_0x465df8(0x31e)]);if(_0x422daa[_0x465df8(0x21d)]>0x1&&_0x422daa[_0x465df8(0x21d)]===_0x153582['length'])return _0x422daa;let _0x41aed2=_0x153582[_0x465df8(0x564)](Array[_0x465df8(0x31e)]);if(_0x41aed2>0x0&&_0x153582[_0x465df8(0x1cb)](_0x41aed2)[_0x465df8(0x2ab)](Array['isArray'])){let _0x48b17e=_0x153582[_0x465df8(0x1cb)](0x0,_0x41aed2);return _0x153582[_0x465df8(0x1cb)](_0x41aed2)[_0x465df8(0x2b0)](_0x31bb9e=>[..._0x48b17e,..._0x31bb9e]);}let _0xb7b2c8=_0x153582['indexOf'](_0x465df8(0x2f7));if(_0xb7b2c8===-0x1||typeof _0x153582[_0xb7b2c8+0x1]!=_0x465df8(0x2ed))return[];let _0x95802f=String(_0x153582[_0xb7b2c8+0x1]),_0x2273ab=_0x153582[_0x465df8(0x1cb)](_0xb7b2c8+0x2)[_0x465df8(0x32f)](Array['isArray']);return _0x2273ab[_0x465df8(0x21d)]<=0x1?[]:_0x2273ab[_0x465df8(0x2b0)](_0x346b90=>['tables',_0x95802f,..._0x346b90]);}function Jt(_0x1b30b8){let _0x4c4abe=new Set();return _0x1b30b8['filter'](_0x1a0dd8=>{const _0x44a048=_0x188f;let _0x4a63c7=JSON['stringify'](_0x1a0dd8);return!_0x4c4abe[_0x44a048(0x253)](_0x4a63c7)&&(_0x4c4abe[_0x44a048(0x4ee)](_0x4a63c7),!0x0);});}function Yt(_0x221093){const _0x4db03c=_0x5daf81;return _0x9abbbc[_0x4db03c(0x28e)](_0x221093);}function Xt(_0x302971,_0x573626){const _0x52949d=_0x5daf81;let _0x127887=Zt(_0x573626);if(!_0x127887[_0x52949d(0x21d)])return Yt(_0x302971);let _0x5e9935=an(_0x302971),_0x352e11=new Set();for(let _0x733dcc of _0x127887)en(_0x5e9935,_0x733dcc,_0x352e11);return _0x5e9935;}function Zt(_0x486b05){let _0x5d073d=[];return Qt(_0x486b05,[],_0x5d073d),_0x5d073d;}function Qt(_0x1be515,_0x3baead,_0x2206f2){const _0x2e6384=_0x5daf81;if(!Array[_0x2e6384(0x31e)](_0x1be515))return;let _0x2e221a=[];for(let _0x59d30f of _0x1be515)Array[_0x2e6384(0x31e)](_0x59d30f)?Qt(_0x59d30f,[..._0x3baead,..._0x2e221a],_0x2206f2):$t(_0x59d30f)?_0x2206f2[_0x2e6384(0x482)]([..._0x3baead,..._0x2e221a]):(typeof _0x59d30f=='string'||typeof _0x59d30f=='number')&&_0x2e221a[_0x2e6384(0x482)](_0x59d30f);}function $t(_0x1a5ac2){const _0x437ffe=_0x5daf81;if(!_0x1a5ac2||typeof _0x1a5ac2!=_0x437ffe(0x1fb)||Array[_0x437ffe(0x31e)](_0x1a5ac2))return!0x1;let _0x306ab9=_0x1a5ac2;return'i'in _0x306ab9||'r'in _0x306ab9||'p'in _0x306ab9||'d'in _0x306ab9||'es'in _0x306ab9||'ena'in _0x306ab9||'et'in _0x306ab9;}function en(_0x1c7122,_0x55f87a,_0xab95e){const _0x1946ba=_0x5daf81;let _0x4f69ef=_0x1c7122,_0x3abaeb=[];for(let _0x388a34=0x0;_0x388a34<_0x55f87a['length']-0x1;_0x388a34++){let _0x474f0e=_0x55f87a[_0x388a34];_0x3abaeb['push'](_0x474f0e);let _0x330945=tn(_0x4f69ef,_0x474f0e);if(!rn(_0x330945))return;let _0x1cdf03=JSON[_0x1946ba(0x439)](_0x3abaeb);_0xab95e[_0x1946ba(0x253)](_0x1cdf03)||(nn(_0x4f69ef,_0x474f0e,an(_0x330945)),_0xab95e['add'](_0x1cdf03));let _0x1cdab7=tn(_0x4f69ef,_0x474f0e);if(!rn(_0x1cdab7))return;_0x4f69ef=_0x1cdab7;}}function tn(_0x8514ca,_0x2f19aa){const _0x4e03a8=_0x5daf81;return Array['isArray'](_0x8514ca)?typeof _0x2f19aa==_0x4e03a8(0x53d)?_0x8514ca[_0x2f19aa]:void 0x0:Reflect['get'](_0x8514ca,_0x2f19aa);}function nn(_0x46c8b7,_0xa6ad96,_0x3ecf29){const _0x423842=_0x5daf81;Array[_0x423842(0x31e)](_0x46c8b7)?typeof _0xa6ad96==_0x423842(0x53d)&&(_0x46c8b7[_0xa6ad96]=_0x3ecf29):Reflect[_0x423842(0x1ba)](_0x46c8b7,_0xa6ad96,_0x3ecf29);}function rn(_0x255b0f){const _0xb9d219=_0x5daf81;return!!_0x255b0f&&typeof _0x255b0f==_0xb9d219(0x1fb);}function an(_0x3e5f75){const _0x2417a2=_0x5daf81;return Array['isArray'](_0x3e5f75)?_0x3e5f75[_0x2417a2(0x1cb)]():{..._0x3e5f75};}const on=_0x5daf81(0x286),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x5daf81(0x2bb),'yyyy-mm-dd':_0x5daf81(0x42a),'mm-dd':_0x5daf81(0x311),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function B(_0x2e8546,_0x163416=_0x7c5fe2[_0x5daf81(0x486)]){const _0x49314b=_0x5daf81;let _0x15c5e5=_0x35a742(_0x2e8546)[_0x49314b(0x2fd)]();return _0x3f8456(new Date(_0x15c5e5),_0x163416);}function ln(_0x560953,_0x25520f=_0x7c5fe2[_0x5daf81(0x486)]){const _0x50589e=_0x5daf81;return _0x4cb662(_0x560953,_0x25520f)[_0x50589e(0x489)]();}function un(_0x4d5ee8,_0x449fb6=_0x7c5fe2[_0x5daf81(0x486)]){const _0x2e7622=_0x5daf81;if(_0x4d5ee8==null||_0x4d5ee8==='')return null;if(_0x4d5ee8 instanceof Date)return B(_0x4d5ee8,_0x449fb6);if(typeof _0x4d5ee8=='number')return Number[_0x2e7622(0x2fc)](_0x4d5ee8)?_0x4d5ee8>0xf4240?B(_0x4d5ee8,_0x449fb6):_0x4d5ee8:null;let _0x1b1b8b=Date['parse'](String(_0x4d5ee8));return Number[_0x2e7622(0x24e)](_0x1b1b8b)?null:B(_0x1b1b8b,_0x449fb6);}function dn(_0x2212c8,_0x3d9301=_0x7c5fe2[_0x5daf81(0x486)]){let _0x21a292=un(_0x2212c8,_0x3d9301);return _0x21a292==null?null:ln(_0x21a292,_0x3d9301);}function fn(_0x41b844={}){const _0x4e9643=_0x5daf81;let _0x8ca812=String(_0x41b844['pattern']??_0x41b844[_0x4e9643(0x444)]??_0x41b844['dateFormat']??on)[_0x4e9643(0x3a5)]()||on,_0x3fb2a0=sn['test'](_0x8ca812);return{'pattern':_0x8ca812[_0x4e9643(0x39b)](sn,'')||on,'includeTime':typeof _0x41b844[_0x4e9643(0x427)]=='boolean'?_0x41b844[_0x4e9643(0x427)]:_0x3fb2a0,'hourCycle':_0x41b844[_0x4e9643(0x484)]===_0x4e9643(0x4fc)?_0x4e9643(0x4fc):_0x4e9643(0x34c)};}function pn(_0x17015c={}){let {format:_0x203ce8,dateFormat:_0x646578,..._0x27f281}=_0x17015c;return{..._0x27f281,...fn(_0x17015c)};}function mn(_0xda8232,_0xf4de4c={}){const _0x2f5d59=_0x5daf81;let _0x1739aa=dn(_0xda8232);if(_0x1739aa==null||!Number[_0x2f5d59(0x2fc)](_0x1739aa))return'';let _0x58f050=fn(_0xf4de4c);return _0x35a742(_0x1739aa)['format'](hn(_0x58f050));}function hn(_0x362156){const _0x4bf2aa=_0x5daf81;let {pattern:_0x11f1c8,includeTime:_0x2788f1,hourCycle:_0x193a72}=_0x362156,_0x1f01be=cn[_0x11f1c8]??cn[on];return _0x2788f1?_0x1f01be+'\x20'+(_0x193a72===_0x4bf2aa(0x4fc)?_0x4bf2aa(0x3d9):_0x4bf2aa(0x28a)):_0x1f01be;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x618ba[_0x5daf81(0x28f)]]);function vn(_0x4ecb23){const _0x4fd232=_0x5daf81;switch(_0x4ecb23){case _0x618ba[_0x4fd232(0x480)]:case _0x618ba[_0x4fd232(0x20a)]:case _0x618ba['Progress']:case _0x618ba['Rating']:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0[_0x4fd232(0x533)],_0xb7a4f0[_0x4fd232(0x49f)],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];case _0x618ba[_0x4fd232(0x47c)]:case _0x618ba[_0x4fd232(0x3fb)]:case _0x618ba[_0x4fd232(0x29f)]:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0['BEFORE'],_0xb7a4f0[_0x4fd232(0x35f)],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];case _0x618ba[_0x4fd232(0x4bb)]:return[_0xb7a4f0['IS'],_0xb7a4f0['IS_NOT']];default:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0[_0x4fd232(0x421)],_0xb7a4f0['NOT_CONTAINS'],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];}}function yn(_0x504923){const _0x1b38b5=_0x5daf81;return _0x504923===_0x618ba[_0x1b38b5(0x47c)]||_0x504923===_0x618ba[_0x1b38b5(0x3fb)]||_0x504923===_0x618ba[_0x1b38b5(0x29f)];}function bn(_0xa5fc1,_0x464b11){const _0xeb66c0=_0x5daf81;return _0xa5fc1==null&&_0x464b11==null?0x0:_0xa5fc1==null?-0x1:_0x464b11==null?0x1:typeof _0xa5fc1==_0xeb66c0(0x53d)&&typeof _0x464b11==_0xeb66c0(0x53d)?_0xa5fc1-_0x464b11:String(_0xa5fc1)['localeCompare'](String(_0x464b11));}function xn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x41065d,_0x5cf307={}){const _0x53db1=_0x5daf81;if(_0x1bf09a===_0x53db1(0x32a))return Sn(_0x1489db);if(_0x1bf09a===_0x53db1(0x558))return!Sn(_0x1489db);switch(_0x41065d[_0x53db1(0x305)]){case _0x618ba[_0x53db1(0x480)]:case _0x618ba[_0x53db1(0x20a)]:case _0x618ba['Progress']:case _0x618ba[_0x53db1(0x238)]:return Cn(_0x1489db,_0x1bf09a,_0x3e9d37);case _0x618ba[_0x53db1(0x47c)]:case _0x618ba[_0x53db1(0x3fb)]:case _0x618ba[_0x53db1(0x29f)]:return Tn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x5cf307);case _0x618ba['Checkbox']:return jn(_0x1489db,_0x1bf09a,_0x3e9d37);case _0x618ba['SingleSelect']:case _0x618ba[_0x53db1(0x3a1)]:case _0x618ba[_0x53db1(0x1e9)]:case _0x618ba[_0x53db1(0x377)]:return Nn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x41065d);default:return Pn(_0x1489db,_0x1bf09a,_0x3e9d37);}}function Sn(_0x3925fe){const _0x5a0fa2=_0x5daf81;return _0x3925fe==null?!0x0:Array['isArray'](_0x3925fe)?_0x3925fe[_0x5a0fa2(0x21d)]===0x0:typeof _0x3925fe==_0x5a0fa2(0x2ed)&&_0x3925fe[_0x5a0fa2(0x3a5)]()==='';}function Cn(_0x39cc48,_0x59c951,_0x3c8af5){const _0x31677e=_0x5daf81;let _0x1bd7b9=wn(_0x39cc48),_0x23764b=wn(_0x3c8af5);if(_0x1bd7b9==null||_0x23764b==null)return!0x1;switch(_0x59c951){case'is':return _0x1bd7b9===_0x23764b;case _0x31677e(0x4b5):return _0x1bd7b9!==_0x23764b;case _0x31677e(0x4fd):return _0x1bd7b9>_0x23764b;case _0x31677e(0x514):return _0x1bd7b9>=_0x23764b;case _0x31677e(0x1f1):return _0x1bd7b9<_0x23764b;case _0x31677e(0x4b7):return _0x1bd7b9<=_0x23764b;default:return!0x1;}}function wn(_0x53b4dd){const _0x3179e8=_0x5daf81;if(_0x53b4dd==null||_0x53b4dd==='')return null;let _0x3a1399=Number(_0x53b4dd);return Number[_0x3179e8(0x2fc)](_0x3a1399)?_0x3a1399:null;}function Tn(_0x366662,_0x28fca4,_0x1d8cb0,_0x480817){const _0x165c17=_0x5daf81;let _0x40b1e1=Dn(_0x366662);if(_0x40b1e1==null)return!0x1;let _0x484a0c=En(_0x480817[_0x165c17(0x431)]??_0x1a2fb9[_0x165c17(0x4b8)],_0x1d8cb0,_0x480817[_0x165c17(0x1d5)]);if(!_0x484a0c)return!0x1;switch(_0x28fca4){case _0xb7a4f0['IS']:return _0x40b1e1>=_0x484a0c['start']&&_0x40b1e1<=_0x484a0c['end'];case _0xb7a4f0[_0x165c17(0x46b)]:return _0x40b1e1<_0x484a0c[_0x165c17(0x455)]||_0x40b1e1>_0x484a0c[_0x165c17(0x2fe)];case _0xb7a4f0['BEFORE']:return _0x40b1e1<_0x484a0c[_0x165c17(0x455)];case _0xb7a4f0['AFTER']:return _0x40b1e1>_0x484a0c[_0x165c17(0x2fe)];default:return!0x1;}}function En(_0x489766,_0x2702cf,_0x440320=Date[_0x5daf81(0x1d5)]()){const _0x14e9aa=_0x5daf81;let _0x7e5b5f=On(_0x440320);switch(_0x489766){case _0x1a2fb9['EXACT']:{let _0x23d427=Dn(_0x2702cf);return _0x23d427==null?null:V(_0x23d427,0x0,0x1);}case _0x1a2fb9['TODAY']:return V(_0x7e5b5f,0x0,0x1);case _0x1a2fb9['TOMORROW']:return V(_0x7e5b5f,0x1,0x1);case _0x1a2fb9['YESTERDAY']:return V(_0x7e5b5f,-0x1,0x1);case _0x1a2fb9[_0x14e9aa(0x445)]:return kn(_0x7e5b5f,0x0);case _0x1a2fb9[_0x14e9aa(0x2a9)]:return kn(_0x7e5b5f,-0x1);case _0x1a2fb9[_0x14e9aa(0x307)]:return An(_0x7e5b5f,0x0);case _0x1a2fb9['LAST_MONTH']:return An(_0x7e5b5f,-0x1);case _0x1a2fb9[_0x14e9aa(0x30f)]:return V(_0x7e5b5f,-0x6,0x7);case _0x1a2fb9['NEXT_7_DAYS']:return V(_0x7e5b5f,0x0,0x7);case _0x1a2fb9[_0x14e9aa(0x269)]:return V(_0x7e5b5f,-0x1d,0x1e);case _0x1a2fb9[_0x14e9aa(0x505)]:return V(_0x7e5b5f,0x0,0x1e);}}function Dn(_0xc1b2dd){let _0x4bbc47=un(_0xc1b2dd);return _0x4bbc47==null?null:On(ln(_0x4bbc47));}function On(_0x3060d4){const _0x3bc371=_0x5daf81;let _0x49627f=new Date(_0x3060d4);return _0x49627f[_0x3bc371(0x1d2)](0x0,0x0,0x0,0x0),_0x49627f[_0x3bc371(0x489)]();}function kn(_0x5f092f,_0x418934){const _0xc83191=_0x5daf81;return V(_0x5f092f,-((new Date(_0x5f092f)[_0xc83191(0x2d5)]()+0x6)%0x7)+_0x418934*0x7,0x7);}function V(_0x12d9ac,_0x32c4fa,_0x4f5820){const _0xaec165=_0x5daf81;let _0x164ac4=_0x35a742(_0x12d9ac)['add'](_0x32c4fa,_0xaec165(0x2d1));return{'start':_0x164ac4[_0xaec165(0x2fd)](),'end':_0x164ac4['add'](_0x4f5820,_0xaec165(0x2d1))[_0xaec165(0x2fd)]()-0x1};}function An(_0x83c0e0,_0x4bf0ea){const _0x2d570a=_0x5daf81;let _0x8f20f8=new Date(_0x83c0e0),_0xe22398=new Date(_0x8f20f8['getFullYear'](),_0x8f20f8[_0x2d570a(0x40d)]()+_0x4bf0ea,0x1),_0x289800=new Date(_0x8f20f8[_0x2d570a(0x52b)](),_0x8f20f8[_0x2d570a(0x40d)]()+_0x4bf0ea+0x1,0x1);return{'start':_0xe22398[_0x2d570a(0x489)](),'end':_0x289800[_0x2d570a(0x489)]()-0x1};}function jn(_0x5d2dad,_0x41cf9c,_0x1deaa8){const _0x5c99c0=_0x5daf81;let _0x4f2e6e=Mn(_0x5d2dad),_0x32744f=Mn(_0x1deaa8);switch(_0x41cf9c){case'is':return _0x4f2e6e===_0x32744f;case _0x5c99c0(0x4b5):return _0x4f2e6e!==_0x32744f;default:return!0x1;}}function Mn(_0x42fe02){return _0x42fe02===!0x0||_0x42fe02==='true'||_0x42fe02===0x1||_0x42fe02==='1';}function Nn(_0xb6606f,_0x2998fa,_0x350bdc,_0x1f15a3){const _0x4b8fa7=_0x5daf81;let _0x5dee61=In(_0xb6606f,_0x1f15a3),_0x2f7850=In(_0x350bdc,_0x1f15a3),_0x2d708c=_0x2f7850[_0x4b8fa7(0x21d)]>0x0&&_0x2f7850['some'](_0x3005c4=>_0x5dee61[_0x4b8fa7(0x4f9)](_0x3005c4));switch(_0x2998fa){case'is':case _0x4b8fa7(0x293):return _0x2d708c;case _0x4b8fa7(0x4b5):case _0x4b8fa7(0x1d9):return!_0x2d708c;default:return!0x1;}}function Pn(_0x5ac89a,_0x1c9c5e,_0x5bb060){const _0x326705=_0x5daf81;let _0x5eafcd=Fn(_0x5ac89a),_0x2d80e5=Fn(_0x5bb060);switch(_0x1c9c5e){case'is':return _0x5eafcd===_0x2d80e5;case _0x326705(0x4b5):return _0x5eafcd!==_0x2d80e5;case _0x326705(0x293):return _0x2d80e5?_0x5eafcd[_0x326705(0x4f9)](_0x2d80e5):!0x1;case _0x326705(0x1d9):return!_0x2d80e5||!_0x5eafcd[_0x326705(0x4f9)](_0x2d80e5);default:return!0x1;}}function Fn(_0x49367d){const _0x20a812=_0x5daf81;if(Array[_0x20a812(0x31e)](_0x49367d))return _0x49367d[_0x20a812(0x2b0)](_0x4f7814=>Fn(_0x4f7814))[_0x20a812(0x30a)]('\x0a');if(_0x49367d&&typeof _0x49367d==_0x20a812(0x1fb)){let _0x3117af=_0x49367d;return String(_0x3117af['name']??_0x3117af[_0x20a812(0x20b)]??_0x3117af[_0x20a812(0x38e)]??_0x3117af['value']??_0x3117af['id']??'')[_0x20a812(0x3a5)]()[_0x20a812(0x40c)]();}return String(_0x49367d??'')['trim']()['toLowerCase']();}function In(_0x45ba9b,_0x58c1cf){const _0x3e3dea=_0x5daf81;let _0x42e6c4=Ln(_0x45ba9b),_0x1f063c=Rn(_0x58c1cf['config']??{});return _0x42e6c4['flatMap'](_0x1420b5=>_0x1f063c[_0x3e3dea(0x315)](_0x1420b5)??[_0x1420b5])[_0x3e3dea(0x32f)]((_0x347447,_0x5a28a2,_0x59d2e4)=>_0x347447!==''&&_0x59d2e4[_0x3e3dea(0x25c)](_0x347447)===_0x5a28a2);}function Ln(_0x1a37f8){const _0x117a4a=_0x5daf81;if(_0x1a37f8==null||_0x1a37f8==='')return[];if(Array[_0x117a4a(0x31e)](_0x1a37f8))return _0x1a37f8[_0x117a4a(0x36c)](_0xaca02f=>Ln(_0xaca02f));if(_0x1a37f8&&typeof _0x1a37f8=='object'){let _0x1109bb=_0x1a37f8;return['id',_0x117a4a(0x322),'label',_0x117a4a(0x3fd),_0x117a4a(0x38e)]['flatMap'](_0x96f97c=>Ln(_0x1109bb[_0x96f97c]))[_0x117a4a(0x32f)]((_0x426979,_0x5c2602,_0x47f7d0)=>_0x47f7d0[_0x117a4a(0x25c)](_0x426979)===_0x5c2602);}return[Fn(_0x1a37f8)];}function Rn(_0x55f23c){const _0x2113e7=_0x5daf81;let _0x49177b=new Map();return(Array['isArray'](_0x55f23c[_0x2113e7(0x49e)])?_0x55f23c['options']:[])[_0x2113e7(0x429)](_0x9aa635=>{const _0x5b450a=_0x2113e7;if(!_0x9aa635||typeof _0x9aa635!='object')return;let _0x2b740b=Ln(_0x9aa635),_0x927843=_0x2b740b[_0x5b450a(0x32f)]((_0xfc87bc,_0x50a212)=>_0xfc87bc!==''&&_0x2b740b[_0x5b450a(0x25c)](_0xfc87bc)===_0x50a212);_0x927843['forEach'](_0x24d07b=>_0x49177b[_0x5b450a(0x1ba)](_0x24d07b,_0x927843));}),_0x49177b;}function H(_0x5f4023,_0x1d3ea4={},_0x5dcf44=_0x389b1d=>_0x389b1d,_0xc40e4f={}){const _0x151f1d=_0x5daf81;let _0x522f22=!_n['has'](_0x5f4023),_0x1d9a3a=_0x5dcf44??(_0x481beb=>_0x481beb);return{'type':_0x5f4023,'i18nKey':_0x151f1d(0x542)+_0x5f4023,'enabled':_0x522f22,'visibleInCreateMenu':_0x522f22,'createDefaultConfig':_0xc40e4f['createDefaultConfig']??(()=>({})),'createDefaultValue':_0xc40e4f['createDefaultValue']??(_0x22ad83=>_0x22ad83[_0x151f1d(0x224)]??null),'normalize':(_0x44cc2c,_0x222343)=>_0x1d9a3a(_0x44cc2c,_0x222343),'validate':(_0x25a87f,_0x192e49)=>{const _0x11466b=_0x151f1d;var _0x569254;return _0x522f22?((_0x569254=_0xc40e4f[_0x11466b(0x240)])==null?void 0x0:_0x569254[_0x11466b(0x35d)](_0xc40e4f,_0x25a87f,_0x192e49))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x206de7,_0x40ddcf)=>bn(_0x206de7,_0x40ddcf),'filter':(_0x494e1b,_0x1226c8,_0x2fe4d4,_0x4dc5b0)=>xn(_0x494e1b,_0x1226c8,_0x2fe4d4,_0x4dc5b0),'toPlainText':_0xc40e4f[_0x151f1d(0x4ff)]??(_0x237f15=>_0x237f15==null?'':String(_0x237f15)),'fromPlainText':_0xc40e4f['fromPlainText']??(_0x451ed9=>_0x1d9a3a(_0x451ed9,{'id':'','name':'','type':_0x5f4023,'config':{}})),'getCapabilities':()=>({...gn,..._0x1d3ea4,'editable':_0x522f22&&(_0x1d3ea4[_0x151f1d(0x2cf)]??gn[_0x151f1d(0x2cf)])})};}function zn(){const _0x40ec81=_0x5daf81;return[H(_0x618ba[_0x40ec81(0x1da)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x40ec81(0x2e3)}),'createDefaultValue':_0x483eb8=>_0x483eb8[_0x40ec81(0x224)]??''}),H(_0x618ba[_0x40ec81(0x3af)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x18efbd=>_0x18efbd==null||_0x18efbd===''?null:String(_0x18efbd),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x40ec81(0x2af)}})}),H(_0x618ba['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x2f6559=>Array['isArray'](_0x2f6559)?_0x2f6559['map'](String):_0x2f6559==null?[]:[String(_0x2f6559)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x40ec81(0x2af)}}),'createDefaultValue':_0x2e39a3=>_0x2e39a3[_0x40ec81(0x224)]??[]}),H(_0x618ba[_0x40ec81(0x1e9)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x40ec81(0x389)}),'validate':Gn}),H(_0x618ba[_0x40ec81(0x377)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x40ec81(0x3e9)}),'createDefaultValue':_0x5dfa11=>_0x5dfa11[_0x40ec81(0x224)]??[],'validate':Kn}),H(_0x618ba[_0x40ec81(0x47c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4fbc76=>un(_0x4fbc76),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x618ba[_0x40ec81(0x1f8)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x235c3b=>_0x235c3b==null?[]:Array[_0x40ec81(0x31e)](_0x235c3b)?_0x235c3b:[_0x235c3b],{'createDefaultValue':_0x4eae03=>_0x4eae03[_0x40ec81(0x224)]??[]}),H(_0x618ba[_0x40ec81(0x480)],{},_0x4eeed2=>_0x4eeed2==null||_0x4eeed2===''?null:Number(_0x4eeed2),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x618ba['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45b444=>_0x45b444===!0x0||_0x45b444===_0x40ec81(0x40e)||_0x45b444===0x1||_0x45b444==='1',{'createDefaultConfig':()=>({'icon':_0x40ec81(0x4b2),'color':_0x40ec81(0x1c8)}),'createDefaultValue':_0x56b4d5=>_0x56b4d5[_0x40ec81(0x224)]??!0x1,'validate':_0x3520b3=>typeof _0x3520b3==_0x40ec81(0x26c)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x40ec81(0x51a)}}),H(_0x618ba[_0x40ec81(0x42d)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x47e6d5=>Zn(_0x47e6d5),'fromPlainText':_0x4f410a=>Xn(_0x4f410a)}),H(_0x618ba['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x40ec81(0x271),'pattern':_0x40ec81(0x309)}}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x1e7)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x40ec81(0x43f)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x3a4)],{'usableAsTitle':!0x0},_0x442efd=>_0x442efd==null?null:String(_0x442efd)[_0x40ec81(0x3a5)](),{'validate':_0x460b25=>_0x460b25==null||_0x460b25===''||/^\+?[0-9 ()-]{6,20}$/[_0x40ec81(0x27c)](String(_0x460b25))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x618ba['Email'],{'usableAsTitle':!0x0},_0x36a190=>_0x36a190==null?null:String(_0x36a190)[_0x40ec81(0x3a5)](),{'validate':_0x52715f=>_0x52715f==null||_0x52715f===''||$n(String(_0x52715f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x40ec81(0x378)}}),H(_0x618ba['Progress'],{'usableAsGanttProgress':!0x0},_0x17fd08=>_0x17fd08==null||_0x17fd08===''?null:Number(_0x17fd08),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x40ec81(0x2d0),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x35d052,_0xac2651)=>Yn(_0x35d052,_0xac2651,_0x40ec81(0x52e))}),H(_0x618ba[_0x40ec81(0x20a)],{},_0x376020=>_0x376020==null||_0x376020===''?null:Number(_0x376020),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x618ba['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xacb2c3=>_0xacb2c3==null||_0xacb2c3===''?null:Number(_0xacb2c3),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3e99d8,_0x4fe56e)=>Yn(_0x3e99d8,_0x4fe56e,_0x40ec81(0x213))}),H(_0x618ba[_0x40ec81(0x2e6)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x24aab9,_0x8d6b2d)=>ze(_0x24aab9,_0x8d6b2d['config']['multiple']===!0x0)}),H(_0x618ba['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x618ba[_0x40ec81(0x366)],{'editable':!0x1,'groupable':!0x0},_0x2a89a5=>_0x2a89a5==null?null:String(_0x2a89a5),{'createDefaultConfig':()=>({'provider':_0x40ec81(0x2e5)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x4d3)],{'editable':!0x1,'groupable':!0x0},_0x5dd135=>_0x5dd135==null?null:String(_0x5dd135),{'createDefaultConfig':()=>({'provider':_0x40ec81(0x2e5)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x3fb)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x51dafd=>un(_0x51dafd),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x618ba['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x577ce0=>un(_0x577ce0),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x389128=_0x5daf81;return{'pattern':_0x389128(0x45d),'decimalPlaces':0x2,'separatorStyle':_0x389128(0x35a),'useThousands':!0x0,'abbreviation':_0x389128(0x3e4),'allowNegative':!0x0};}function Vn(){const _0xec2076=_0x5daf81;return{'locale':_0xec2076(0x231),'pattern':_0xec2076(0x286),'includeTime':!0x1,'hourCycle':_0xec2076(0x34c),'defaultMode':_0xec2076(0x3e4)};}function Hn(_0x30e5d8){const _0x56c7ba=_0x5daf81;return _0x30e5d8==null||_0x30e5d8===''?[]:Array[_0x56c7ba(0x31e)](_0x30e5d8)?_0x30e5d8[_0x56c7ba(0x2b0)](String):[String(_0x30e5d8)];}function Un(_0x15c951){return typeof _0x15c951=='string'?_0x15c951:'';}function Wn(_0x1c44ad,_0x9df2f3){const _0x35845d=_0x5daf81;return _0x1c44ad==null||_0x1c44ad===''?_0x9df2f3[_0x35845d(0x396)][_0x35845d(0x551)]===!0x0?[]:null:_0x9df2f3['config'][_0x35845d(0x551)]===!0x0?Array[_0x35845d(0x31e)](_0x1c44ad)?_0x1c44ad[_0x35845d(0x2b0)](String):[String(_0x1c44ad)]:Array[_0x35845d(0x31e)](_0x1c44ad)?String(_0x1c44ad[0x0]??'')||null:String(_0x1c44ad);}function Gn(_0x49f2bb,_0x9d8d17){const _0x506320=_0x5daf81;return _0x9d8d17[_0x506320(0x396)][_0x506320(0x551)]===!0x0?Kn(_0x49f2bb):_0x49f2bb==null||_0x49f2bb===''||typeof _0x49f2bb=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function Kn(_0x5ef4fe){const _0x48643b=_0x5daf81;return _0x5ef4fe==null||Array[_0x48643b(0x31e)](_0x5ef4fe)&&_0x5ef4fe[_0x48643b(0x2ab)](_0xeeabe=>typeof _0xeeabe=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function qn(_0x3bf04c){const _0xc38a77=_0x5daf81;return _0x3bf04c==null||typeof _0x3bf04c==_0xc38a77(0x53d)&&Number['isFinite'](_0x3bf04c)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc38a77(0x4d5)};}function Jn(_0x40e8de,_0x4537c7){const _0x45aa34=_0x5daf81;return _0x40e8de==null||_0x40e8de===''?{'valid':!0x0}:typeof _0x40e8de!=_0x45aa34(0x53d)||!Number[_0x45aa34(0x2fc)](_0x40e8de)?{'valid':!0x1,'reason':_0x45aa34(0x3cd)}:_0x4537c7[_0x45aa34(0x396)][_0x45aa34(0x1d8)]===!0x1&&_0x40e8de<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function Yn(_0x4397dd,_0xc5cae3,_0x1e1ece){const _0x382fbb=_0x5daf81;let _0x37dbce=Jn(_0x4397dd,_0xc5cae3);if(!_0x37dbce[_0x382fbb(0x36d)]||_0x4397dd==null||_0x4397dd==='')return _0x37dbce;let _0x58426d=Number(_0xc5cae3[_0x382fbb(0x396)][_0x382fbb(0x469)]??_0xc5cae3['config']['start']??0x0),_0x50c225=Number(_0xc5cae3[_0x382fbb(0x396)][_0x382fbb(0x29c)]??_0xc5cae3[_0x382fbb(0x396)]['end']??0x64),_0x3383e4=Number(_0x4397dd);return _0x3383e4>=_0x58426d&&_0x3383e4<=_0x50c225?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1e1ece};}function Xn(_0x32888c){const _0x2dc988=_0x5daf81;if(_0x32888c==null||_0x32888c==='')return null;if(typeof _0x32888c==_0x2dc988(0x1fb)&&!Array[_0x2dc988(0x31e)](_0x32888c)){let _0x1b704b=_0x32888c,_0x45c795=typeof _0x1b704b[_0x2dc988(0x38e)]==_0x2dc988(0x2ed)?_0x1b704b['text'][_0x2dc988(0x3a5)]():'',_0x22c3c4=typeof _0x1b704b[_0x2dc988(0x4fe)]==_0x2dc988(0x2ed)?_0x1b704b[_0x2dc988(0x4fe)][_0x2dc988(0x3a5)]():'',_0x41a0ce=Qn(_0x22c3c4||_0x45c795);return _0x41a0ce?{'text':_0x45c795||_0x22c3c4||_0x41a0ce,'url':_0x41a0ce}:null;}let _0x2497ee=String(_0x32888c)[_0x2dc988(0x3a5)](),_0x267ef3=Qn(_0x2497ee);return _0x267ef3?{'text':_0x2497ee,'url':_0x267ef3}:null;}function Zn(_0x2e2952){const _0x357a5b=_0x5daf81;if(_0x2e2952==null)return'';if(typeof _0x2e2952==_0x357a5b(0x1fb)&&!Array['isArray'](_0x2e2952)){let _0x47120=_0x2e2952;return String(_0x47120[_0x357a5b(0x38e)]||_0x47120[_0x357a5b(0x4fe)]||'');}return String(_0x2e2952);}function Qn(_0x4abfa9){const _0x107b8e=_0x5daf81;let _0x1909a9=_0x4abfa9[_0x107b8e(0x3a5)]();if(!_0x1909a9)return'';let _0x418f7e=/^[a-z][a-z\d+.-]*:/i['test'](_0x1909a9)?_0x1909a9:_0x1909a9[_0x107b8e(0x265)]('//')?_0x107b8e(0x33b)+_0x1909a9:_0x107b8e(0x342)+_0x1909a9;try{let _0x22fe3c=new URL(_0x418f7e);return _0x22fe3c[_0x107b8e(0x3ec)]===_0x107b8e(0x48e)||_0x22fe3c[_0x107b8e(0x3ec)]===_0x107b8e(0x33b)?_0x22fe3c[_0x107b8e(0x395)]:'';}catch{return'';}}function $n(_0x5959fa){const _0x4722fe=_0x5daf81;let _0x30f1f0=_0x5959fa[_0x4722fe(0x25c)]('@');if(_0x30f1f0<=0x0||_0x30f1f0!==_0x5959fa[_0x4722fe(0x3d6)]('@'))return!0x1;let _0x16f2eb=_0x5959fa['slice'](_0x30f1f0+0x1);return _0x16f2eb[_0x4722fe(0x4f9)]('.')&&!_0x5959fa[_0x4722fe(0x4f9)]('\x20')&&!_0x16f2eb[_0x4722fe(0x265)]('.')&&!_0x16f2eb[_0x4722fe(0x528)]('.');}const U={'table':_0x22f91a=>[_0x5daf81(0x2f7),_0x22f91a],'field':(_0x20b0c3,_0x193bd6)=>['tables',_0x20b0c3,_0x5daf81(0x503),_0x193bd6],'fieldOrder':(_0x38706f,_0x33e849)=>['tables',_0x38706f,_0x5daf81(0x1d6),_0x33e849],'record':(_0x1d317a,_0x3bd5f8)=>[_0x5daf81(0x2f7),_0x1d317a,_0x5daf81(0x43a),_0x3bd5f8],'cell':(_0xe82b86,_0x5885e7,_0x2488c3)=>[_0x5daf81(0x2f7),_0xe82b86,_0x5daf81(0x43a),_0x5885e7,_0x5daf81(0x45b),_0x2488c3],'cellData':(_0x3aa416,_0x476be3,_0x3132e8)=>['tables',_0x3aa416,_0x5daf81(0x1d3),String(_0x476be3),String(_0x3132e8)],'attachmentSet':(_0x53062b,_0x348f8f)=>[_0x5daf81(0x2f7),_0x53062b,_0x5daf81(0x48d),_0x5daf81(0x313),_0x348f8f],'attachment':(_0x2f9110,_0x536513)=>[_0x5daf81(0x2f7),_0x2f9110,_0x5daf81(0x48d),'attachments',_0x536513],'view':(_0xf7b1d7,_0x26a81f)=>[_0x5daf81(0x2f7),_0xf7b1d7,'views',_0x26a81f],'viewFieldHidden':(_0x2283f3,_0x39036c,_0x3f3732)=>[_0x5daf81(0x2f7),_0x2283f3,_0x5daf81(0x1e8),_0x39036c,_0x5daf81(0x508),_0x3f3732,'hidden']};var W=class{[_0x5daf81(0x490)](_0x4336d0,_0x42efd3){const _0x466a53=_0x5daf81;let _0x33599a=this[_0x466a53(0x1e5)](_0x4336d0,_0x4336d0['name'],_0x42efd3);return R([this['_replaceOptional']([_0x466a53(0x322)],_0x4336d0['name'],_0x42efd3),..._0x33599a?[_0x33599a]:[]]);}[_0x5daf81(0x1e5)](_0x26ed0c,_0x5814f5,_0x51dd6e){const _0x4b6457=_0x5daf81;let _0x521dcb=Object[_0x4b6457(0x45b)](_0x26ed0c[_0x4b6457(0x2f7)])['flatMap'](_0x11da13=>Object['values'](_0x11da13[_0x4b6457(0x503)])[_0x4b6457(0x36c)](_0x3c96e7=>{const _0x417b88=_0x4b6457;var _0x466f3b,_0x3e6209;if(_0x3c96e7[_0x417b88(0x305)]!==_0x618ba['Formula'])return[];let _0xbca10b=String(((_0x466f3b=_0x3c96e7[_0x417b88(0x396)])==null?void 0x0:_0x466f3b[_0x417b88(0x494)])??''),_0x12fb6b=_0x58f593(_0xbca10b,_0x5814f5,_0x51dd6e);return _0x12fb6b===_0xbca10b?[]:[this[_0x417b88(0x1e2)]([...U['field'](_0x11da13['id'],_0x3c96e7['id']),_0x417b88(0x396),_0x417b88(0x494)],(_0x3e6209=_0x3c96e7['config'])==null?void 0x0:_0x3e6209[_0x417b88(0x494)],_0x12fb6b)];}));return _0x521dcb[_0x4b6457(0x21d)]>0x0?R(_0x521dcb):void 0x0;}[_0x5daf81(0x3e6)](_0x2d2726,_0x1cc9bc,_0x202f7c=_0x2d2726[_0x5daf81(0x3ee)]['length']){const _0x379723=_0x5daf81;let _0xec7b0b=_0x7582ef(_0x1cc9bc[_0x379723(0x322)],_0x4b2d20(_0x2d2726)[_0x379723(0x45b)](),_0x1cc9bc[_0x379723(0x516)]),_0x4614e3=_0x1cc9bc['formulaName']===_0xec7b0b?_0x1cc9bc:{..._0x1cc9bc,'formulaName':_0xec7b0b};return R([...this[_0x379723(0x2eb)](_0x2d2726),_0x1605a0['insertOp'](U['table'](_0x1cc9bc['id']),_0x4614e3),_0x1605a0[_0x379723(0x2b6)]([_0x379723(0x3ee),_0x202f7c],_0x1cc9bc['id'])]);}[_0x5daf81(0x3c3)](_0x3cf584,_0x59b069,_0x580636){const _0x529582=_0x5daf81;let _0x2048e9=_0x3cf584[_0x529582(0x2f7)][_0x59b069];return R([...this['_materializeFormulaTableNames'](_0x3cf584),_0x1605a0[_0x529582(0x562)]([...U[_0x529582(0x524)](_0x59b069),_0x529582(0x322)],_0x2048e9[_0x529582(0x322)],_0x580636)]);}[_0x5daf81(0x4ed)](_0x1d1fba,_0xc5e205){const _0x3b7e1a=_0x5daf81;let _0x567595=_0x1d1fba[_0x3b7e1a(0x2f7)][_0xc5e205],_0x5310ec=_0x1d1fba[_0x3b7e1a(0x3ee)][_0x3b7e1a(0x25c)](_0xc5e205);return R([...this[_0x3b7e1a(0x2eb)](_0x1d1fba,new Set([_0xc5e205])),_0x1605a0[_0x3b7e1a(0x26d)](U[_0x3b7e1a(0x524)](_0xc5e205),_0x567595),_0x1605a0[_0x3b7e1a(0x26d)]([_0x3b7e1a(0x3ee),_0x5310ec],_0xc5e205)]);}[_0x5daf81(0x283)](_0x152ecc,_0x48fe44,_0x47db19){const _0x16ccb0=_0x5daf81;return this[_0x16ccb0(0x4da)](_0x152ecc,_0x48fe44,[_0x47db19]);}[_0x5daf81(0x4da)](_0x93133e,_0x67c95,_0x5aafb9){const _0x2e429f=_0x5daf81;let _0x262258=_0x93133e[_0x2e429f(0x2f7)][_0x67c95],_0x3e0b26=_0x5aafb9['filter'](_0x2bc9a2=>_0x2bc9a2&&!_0x262258['records'][_0x2bc9a2['id']])[_0x2e429f(0x2b0)](_0x54245e=>({..._0x54245e,'values':{..._0x54245e['values'],[_0x4a6fc3]:_0x54245e['id']}}));if(!_0x3e0b26[_0x2e429f(0x21d)])return _0x1605a0[_0x2e429f(0x562)]([...U[_0x2e429f(0x524)](_0x67c95),_0x2e429f(0x43a)],_0x262258[_0x2e429f(0x43a)],_0x262258['records']);let _0x463422=new _0x1605a0[(_0x2e429f(0x356))](),_0x124709=[..._0x3e0b26][_0x2e429f(0x3c5)]((_0x541e0a,_0x2afc01)=>_0x541e0a['id']<_0x2afc01['id']?-0x1:+(_0x541e0a['id']>_0x2afc01['id'])),_0x4c2770=[...U['table'](_0x67c95),_0x2e429f(0x43a)];_0x463422[_0x2e429f(0x276)](_0x4c2770);for(let _0x460a40 of _0x124709)_0x463422[_0x2e429f(0x4e5)](_0x460a40['id']),_0x463422[_0x2e429f(0x42e)]('i',_0x460a40),_0x463422['ascend']();for(let _0x3b7fc0=0x0;_0x3b7fc0<_0x4c2770[_0x2e429f(0x21d)];_0x3b7fc0+=0x1)_0x463422['ascend']();return R([_0x463422['get'](),this[_0x2e429f(0x4a0)](_0x93133e,_0x67c95,_0x3e0b26)]);}[_0x5daf81(0x45e)](_0x1b195f,_0x50a7d8,_0x128d29){const _0x432fc9=_0x5daf81;return this[_0x432fc9(0x20e)](_0x1b195f,_0x50a7d8,[_0x128d29]);}[_0x5daf81(0x20e)](_0x504685,_0x18e5bb,_0x4b587b){const _0x15252d=_0x5daf81;let _0x474b5c=_0x504685[_0x15252d(0x2f7)][_0x18e5bb],_0x463100=Array[_0x15252d(0x404)](new Set(_0x4b587b))[_0x15252d(0x32f)](_0x1c1e98=>_0x474b5c[_0x15252d(0x43a)][_0x1c1e98]);if(!_0x463100[_0x15252d(0x21d)])return _0x1605a0[_0x15252d(0x562)]([...U['table'](_0x18e5bb),'records'],_0x474b5c[_0x15252d(0x43a)],_0x474b5c[_0x15252d(0x43a)]);let _0x52f1cb=new Set(_0x463100),_0x2af152=et(_0x474b5c,_0x463100)['map'](_0x1617e7=>this[_0x15252d(0x2ef)](_0x504685,_0x18e5bb,_0x1617e7['recordId'],_0x1617e7['fieldId'],''));return R([this[_0x15252d(0x1ef)](_0x504685,_0x18e5bb,_0x463100,_0x52f1cb),..._0x2af152]);}[_0x5daf81(0x43b)](_0x1068ff,_0x35d60a,_0x4b0892,_0x1030be){const _0x4a0dff=_0x5daf81;let _0x46de71=_0x1068ff[_0x4a0dff(0x2f7)][_0x4b0892],_0x2f4b06=Array['from'](new Set(_0x1030be))[_0x4a0dff(0x32f)](_0x15ba19=>_0x46de71['records'][_0x15ba19]),_0x365a95=new Set(_0x2f4b06);return R([new z()[_0x4a0dff(0x388)](_0x1068ff,this[_0x4a0dff(0x1ef)](_0x1068ff,_0x4b0892,_0x2f4b06,_0x365a95)),...et(_0x46de71,_0x2f4b06)[_0x4a0dff(0x2b0)](_0xc279e2=>this[_0x4a0dff(0x2ef)](_0x35d60a,_0x4b0892,_0xc279e2[_0x4a0dff(0x1c6)],_0xc279e2[_0x4a0dff(0x4a1)],_0xc279e2[_0x4a0dff(0x266)]??''))]);}['_deleteRecordsBaseOp'](_0x57376c,_0x6b2ed7,_0x71ccdf,_0x1329a5){const _0xf1c6a6=_0x5daf81;let _0x2af867=_0x57376c[_0xf1c6a6(0x2f7)][_0x6b2ed7],_0x4af05d=_0x71ccdf[_0xf1c6a6(0x2b0)](_0x31ee38=>{const _0x4d17a5=_0xf1c6a6;var _0x2a581a;return{'recordId':_0x31ee38,'index':((_0x2a581a=_0x2af867[_0x4d17a5(0x3da)])==null?void 0x0:_0x2a581a[_0x4d17a5(0x25c)](_0x31ee38))??-0x1};})[_0xf1c6a6(0x32f)](_0x143935=>_0x143935[_0xf1c6a6(0x391)]>=0x0)[_0xf1c6a6(0x3c5)]((_0x1c7771,_0x177ad6)=>_0x177ad6[_0xf1c6a6(0x391)]-_0x1c7771[_0xf1c6a6(0x391)]);return R([..._0x71ccdf[_0xf1c6a6(0x2b0)](_0x167bbf=>_0x1605a0[_0xf1c6a6(0x26d)](U[_0xf1c6a6(0x1b5)](_0x6b2ed7,_0x167bbf),_0x2af867[_0xf1c6a6(0x43a)][_0x167bbf])),..._0x4af05d[_0xf1c6a6(0x2b0)](({recordId:_0x2ac214,index:_0x538658})=>_0x1605a0['removeOp']([_0xf1c6a6(0x2f7),_0x6b2ed7,_0xf1c6a6(0x3da),_0x538658],_0x2ac214)),...this[_0xf1c6a6(0x4bc)](_0x2af867,_0x6b2ed7,_0xf70037=>{const _0x16aad2=_0xf1c6a6;let _0x74adb2=_0xf70037[_0x16aad2(0x1cb)](_0xf70037[_0x16aad2(0x3d6)]('\x1f')+0x1);return _0x1329a5['has'](_0x74adb2);})]);}[_0x5daf81(0x339)](_0x48a5f9,_0x495c11,_0x80f6fd,_0x528bb3){const _0x1df51f=_0x5daf81;return this[_0x1df51f(0x283)](_0x48a5f9,_0x495c11,{..._0x528bb3,'values':{..._0x48a5f9['tables'][_0x495c11][_0x1df51f(0x43a)][_0x80f6fd][_0x1df51f(0x45b)],..._0x528bb3[_0x1df51f(0x45b)],[_0x4a6fc3]:_0x528bb3['id']}});}['updateRecordOrder'](_0x233d84,_0xd5e928,_0x3b51f3,_0x186459){const _0x3eec9e=_0x5daf81;let _0x4018b5=_0x233d84['tables'][_0xd5e928],_0x129d16=[...U[_0x3eec9e(0x1b5)](_0xd5e928,_0x3b51f3),_0x3eec9e(0x2a2)],_0x3eec79=Object[_0x3eec9e(0x45b)](_0x4018b5[_0x3eec9e(0x43a)])[_0x3eec9e(0x2b0)](_0x2b6e9a=>_0x2b6e9a['id']===_0x3b51f3?{..._0x2b6e9a,'orderKey':_0x186459}:_0x2b6e9a)['sort']((_0x13fd33,_0x3fdbc0)=>String(_0x13fd33[_0x3eec9e(0x2a2)]??_0x13fd33['id'])[_0x3eec9e(0x202)](String(_0x3fdbc0[_0x3eec9e(0x2a2)]??_0x3fdbc0['id'])))['map'](_0x9200b3=>_0x9200b3['id']),_0x14ad44=[...U[_0x3eec9e(0x524)](_0xd5e928),'recordOrder'];return R([this[_0x3eec9e(0x1e2)](_0x129d16,_0x4018b5[_0x3eec9e(0x43a)][_0x3b51f3][_0x3eec9e(0x2a2)],_0x186459),_0x4018b5[_0x3eec9e(0x3da)]?_0x1605a0[_0x3eec9e(0x562)](_0x14ad44,_0x4018b5[_0x3eec9e(0x3da)],_0x3eec79):_0x1605a0['insertOp'](_0x14ad44,_0x3eec79)]);}['updateCell'](_0x3b2376,_0x1cf5b0,_0x3ca854,_0xfa9181,_0x3fc840){const _0x85471=_0x5daf81;var _0x337112,_0x459ae0;let _0x3e7638=_0x3b2376[_0x85471(0x2f7)][_0x1cf5b0],_0x3fc749=ar(_0x3e7638,_0x3ca854,_0xfa9181)?_0x3e7638:L(_0x3e7638),_0x47713b=(_0x337112=_0x3fc749['rowIndex'])==null?void 0x0:_0x337112[_0x3ca854],_0x50bb64=(_0x459ae0=_0x3fc749[_0x85471(0x3b9)])==null?void 0x0:_0x459ae0[_0xfa9181];if(_0x47713b==null||_0x50bb64==null){var _0x13bbaf;return this['_replaceOptional'](U[_0x85471(0x203)](_0x1cf5b0,_0x3ca854,_0xfa9181),(_0x13bbaf=_0x3b2376[_0x85471(0x2f7)][_0x1cf5b0])==null||(_0x13bbaf=_0x13bbaf[_0x85471(0x43a)][_0x3ca854])==null?void 0x0:_0x13bbaf[_0x85471(0x45b)][_0xfa9181],_0x3fc840);}return this['setRangeValues'](_0x3b2376,_0x1cf5b0,[{'row':_0x47713b,'col':_0x50bb64,'value':_0x3fc840}]);}[_0x5daf81(0x529)](_0x38910c,_0x3e7501,_0x17a5f9){const _0x30158f=_0x5daf81;let _0x129e7c=_0x38910c[_0x30158f(0x2f7)][_0x3e7501],_0x1acedf=_0x17a5f9[_0x30158f(0x2ab)](_0x58d3db=>Object['keys'](_0x58d3db[_0x30158f(0x45b)])[_0x30158f(0x2ab)](_0x3cc6d0=>ar(_0x129e7c,_0x58d3db[_0x30158f(0x1c6)],_0x3cc6d0)))?_0x129e7c:L(_0x129e7c),_0x5be5fa=_0x17a5f9['flatMap'](_0x12e49b=>Object[_0x30158f(0x2e4)](_0x12e49b[_0x30158f(0x45b)])['flatMap'](([_0x4575e3,_0x357e3f])=>{const _0x57fb7a=_0x30158f;var _0x5a34df,_0x2f59a2;let _0x5119e0=(_0x5a34df=_0x1acedf[_0x57fb7a(0x2c4)])==null?void 0x0:_0x5a34df[_0x12e49b[_0x57fb7a(0x1c6)]],_0x121fdc=(_0x2f59a2=_0x1acedf['colIndex'])==null?void 0x0:_0x2f59a2[_0x4575e3];return _0x5119e0==null||_0x121fdc==null?[]:[{'row':_0x5119e0,'col':_0x121fdc,'value':_0x357e3f}];})),_0x5e1fea=_0x17a5f9['flatMap'](_0x4f6797=>Object[_0x30158f(0x2e4)](_0x4f6797[_0x30158f(0x268)]??{})[_0x30158f(0x2b0)](([_0x6d59ac,_0x12b8ff])=>{const _0x1376bc=_0x30158f;var _0x4b43f;let _0x5ce817=[...U[_0x1376bc(0x1b5)](_0x3e7501,_0x4f6797[_0x1376bc(0x1c6)]),_0x6d59ac],_0x5269de=(_0x4b43f=_0x38910c[_0x1376bc(0x2f7)][_0x3e7501])==null||(_0x4b43f=_0x4b43f[_0x1376bc(0x43a)][_0x4f6797[_0x1376bc(0x1c6)]])==null?void 0x0:_0x4b43f[_0x6d59ac];return this[_0x1376bc(0x1e2)](_0x5ce817,_0x5269de,_0x12b8ff);}));return R([this[_0x30158f(0x1d7)](_0x38910c,_0x3e7501,_0x5be5fa),..._0x5e1fea]);}[_0x5daf81(0x1d7)](_0x37da64,_0x246a98,_0x38d5e8){const _0x25247c=_0x5daf81;let _0x2d58de=_0x37da64[_0x25247c(0x2f7)][_0x246a98],_0x2929f5=_0x38d5e8['every'](_0x13c0fd=>or(_0x2d58de,_0x13c0fd[_0x25247c(0x406)],_0x13c0fd[_0x25247c(0x2f0)]))?_0x2d58de:L(_0x2d58de),_0x699fea=new Map(),_0x3634a4=_0x38d5e8['flatMap'](_0x7fce96=>{const _0x203b35=_0x25247c;var _0x58be20,_0x60cb39,_0x211e5e,_0x7143c1;let _0x3e88c6=(_0x58be20=_0x2929f5[_0x203b35(0x33c)])==null?void 0x0:_0x58be20[_0x7fce96[_0x203b35(0x2f0)]],_0x997911=(_0x60cb39=_0x2929f5[_0x203b35(0x1ec)])==null?void 0x0:_0x60cb39[_0x7fce96[_0x203b35(0x406)]],_0x39cf21=_0x3e88c6?_0x2929f5[_0x203b35(0x503)][_0x3e88c6]:void 0x0;if(_0x3e88c6===_0x4a6fc3||(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x28f)])throw Error(_0x203b35(0x27a));let _0x3fc05e=xt(_0x7fce96[_0x203b35(0x3fd)],_0x39cf21),_0x3fb7de=(_0x211e5e=_0x2929f5[_0x203b35(0x1d3)])==null||(_0x211e5e=_0x211e5e[_0x7fce96[_0x203b35(0x406)]])==null?void 0x0:_0x211e5e[_0x7fce96[_0x203b35(0x2f0)]],_0x54c3c2=this['_replaceOptional'](U['cellData'](_0x246a98,_0x7fce96[_0x203b35(0x406)],_0x7fce96['col']),_0x3fb7de,_0x3fc05e);if(!_0x3e88c6||!_0x997911)return[_0x54c3c2];let _0xb22197=(_0x7143c1=_0x2929f5[_0x203b35(0x43a)][_0x997911])==null?void 0x0:_0x7143c1[_0x203b35(0x45b)][_0x3e88c6],_0x57e383=(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x1f8)]?kt(_0x7fce96[_0x203b35(0x3fd)]):wt(_0x7fce96[_0x203b35(0x3fd)],_0x3fc05e,_0x39cf21,_0x2929f5,_0x997911),_0x2a0c3=[_0x54c3c2,this[_0x203b35(0x1e2)](U[_0x203b35(0x203)](_0x246a98,_0x997911,_0x3e88c6),_0xb22197,_0x57e383)];return(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x1f8)]&&_0x699fea['set'](Et(_0x3e88c6,_0x997911),{'recordId':_0x997911,'fieldId':_0x3e88c6,'attachments':_0x57e383}),_0x2a0c3;});return _0x3634a4[_0x25247c(0x21d)]?R([..._0x3634a4,...this[_0x25247c(0x21b)](_0x2929f5,_0x246a98,Array[_0x25247c(0x404)](_0x699fea[_0x25247c(0x45b)]()))]):_0x1605a0[_0x25247c(0x562)]([_0x25247c(0x2f7),_0x246a98,_0x25247c(0x1d3)],_0x2929f5[_0x25247c(0x1d3)],_0x2929f5[_0x25247c(0x1d3)]);}['createField'](_0x425492,_0x27dde9,_0x4c5109){const _0x3a2650=_0x5daf81;let _0x83b38e=_0x425492['tables'][_0x27dde9];if(_0x83b38e['fields'][_0x4c5109[_0x3a2650(0x50a)]['id']]||_0x83b38e[_0x3a2650(0x1d6)][_0x3a2650(0x4f9)](_0x4c5109['field']['id']))return _0x1605a0[_0x3a2650(0x562)](['tables',_0x27dde9,_0x3a2650(0x1d6)],_0x83b38e[_0x3a2650(0x1d6)],_0x83b38e[_0x3a2650(0x1d6)]);let _0x2a584e=Math['max'](0x1,_0x4c5109[_0x3a2650(0x391)]??_0x83b38e[_0x3a2650(0x1d6)][_0x3a2650(0x21d)]),_0x470fac=Object[_0x3a2650(0x45b)](_0x83b38e['views']??{})[_0x3a2650(0x36c)](_0x3c7359=>{const _0x544d7c=_0x3a2650;var _0x465962;if(!_0x3c7359['fieldOrder']||_0x3c7359[_0x544d7c(0x1d6)][_0x544d7c(0x4f9)](_0x4c5109[_0x544d7c(0x50a)]['id']))return[];let _0x5a75b6=ur(((_0x465962=_0x4c5109['viewIndexes'])==null?void 0x0:_0x465962[_0x3c7359['id']])??_0x2a584e,_0x3c7359[_0x544d7c(0x1d6)][_0x544d7c(0x21d)]);return[_0x1605a0[_0x544d7c(0x2b6)]([...U['view'](_0x27dde9,_0x3c7359['id']),_0x544d7c(0x1d6),_0x5a75b6],_0x4c5109[_0x544d7c(0x50a)]['id'])];});return R([..._0x4c5109[_0x3a2650(0x50a)][_0x3a2650(0x305)]===_0x618ba[_0x3a2650(0x4a8)]?this[_0x3a2650(0x2eb)](_0x425492):[],_0x1605a0[_0x3a2650(0x2b6)](U[_0x3a2650(0x50a)](_0x27dde9,_0x4c5109['field']['id']),_0x4c5109[_0x3a2650(0x50a)]),_0x1605a0[_0x3a2650(0x2b6)](U['fieldOrder'](_0x27dde9,_0x2a584e),_0x4c5109[_0x3a2650(0x50a)]['id']),..._0x470fac]);}['duplicateField'](_0x24b8b8,_0x332c05,_0x453f41,_0xa4992e){const _0x3f2ed7=_0x5daf81;let _0x2b5b30=_0x24b8b8[_0x3f2ed7(0x2f7)][_0x332c05];if(!_0x2b5b30[_0x3f2ed7(0x503)][_0x453f41]||_0x2b5b30[_0x3f2ed7(0x503)][_0xa4992e[_0x3f2ed7(0x50a)]['id']]||_0x2b5b30[_0x3f2ed7(0x1d6)][_0x3f2ed7(0x4f9)](_0xa4992e['field']['id']))return _0x1605a0[_0x3f2ed7(0x562)]([_0x3f2ed7(0x2f7),_0x332c05,_0x3f2ed7(0x1d6)],_0x2b5b30[_0x3f2ed7(0x1d6)],_0x2b5b30[_0x3f2ed7(0x1d6)]);let _0x1580f1=_0xa4992e[_0x3f2ed7(0x391)]??_0x2b5b30['fieldOrder'][_0x3f2ed7(0x25c)](_0x453f41)+0x1,_0x2429aa=_0x2b5b30[_0x3f2ed7(0x1d6)][_0x3f2ed7(0x32f)](_0x350ac7=>_0x350ac7!==_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0x313e03=cr(_0x2429aa,_0xa4992e[_0x3f2ed7(0x50a)]['id'],_0x1580f1),_0x3ca57b=Object['values'](_0x2b5b30[_0x3f2ed7(0x1e8)]??{})[_0x3f2ed7(0x36c)](_0x184d80=>{const _0x59953b=_0x3f2ed7;var _0x30d443,_0x120700,_0x2fbf8f,_0x8b77e3;let _0xedb950=(_0x30d443=_0x184d80[_0x59953b(0x1d6)])!=null&&_0x30d443['length']?_0x184d80[_0x59953b(0x1d6)]:_0x2429aa;if(_0xedb950['includes'](_0xa4992e[_0x59953b(0x50a)]['id']))return[];let _0x5904ad=cr(_0xedb950,_0xa4992e[_0x59953b(0x50a)]['id'],((_0x120700=_0xa4992e[_0x59953b(0x2f8)])==null?void 0x0:_0x120700[_0x184d80['id']])??_0x1580f1),_0x35a696=(_0x2fbf8f=_0x184d80[_0x59953b(0x508)])==null?void 0x0:_0x2fbf8f[_0x453f41];return[this[_0x59953b(0x1e2)]([...U[_0x59953b(0x3a6)](_0x332c05,_0x184d80['id']),'fieldOrder'],_0x184d80[_0x59953b(0x1d6)],_0x5904ad),..._0x35a696?[this['_replaceOptional']([...U[_0x59953b(0x3a6)](_0x332c05,_0x184d80['id']),_0x59953b(0x508),_0xa4992e[_0x59953b(0x50a)]['id']],(_0x8b77e3=_0x184d80[_0x59953b(0x508)])==null?void 0x0:_0x8b77e3[_0xa4992e[_0x59953b(0x50a)]['id']],_0x35a696)]:[]];}),_0x524356=Object['values'](_0x2b5b30[_0x3f2ed7(0x43a)])['filter'](_0x380fce=>Object['prototype']['hasOwnProperty'][_0x3f2ed7(0x35d)](_0x380fce['values'],_0x453f41))[_0x3f2ed7(0x2b0)](_0x39f345=>this['_replaceOptional'](U['cell'](_0x332c05,_0x39f345['id'],_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0x39f345[_0x3f2ed7(0x45b)][_0xa4992e[_0x3f2ed7(0x50a)]['id']],_0x39f345[_0x3f2ed7(0x45b)][_0x453f41]));return R([..._0xa4992e['field'][_0x3f2ed7(0x305)]===_0x618ba['Formula']?this[_0x3f2ed7(0x2eb)](_0x24b8b8):[],_0x1605a0[_0x3f2ed7(0x2b6)](U[_0x3f2ed7(0x50a)](_0x332c05,_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0xa4992e['field']),_0x1605a0[_0x3f2ed7(0x562)]([_0x3f2ed7(0x2f7),_0x332c05,'fieldOrder'],_0x2b5b30['fieldOrder'],_0x313e03),..._0x3ca57b,..._0x524356]);}['updateField'](_0x4bc777,_0xb59d46,_0x49ebf3,_0x88a5c3){const _0x21a467=_0x5daf81;let _0x3a1430=_0x4bc777[_0x21a467(0x2f7)][_0xb59d46][_0x21a467(0x503)][_0x49ebf3],_0x3519da={..._0x3a1430,..._0x88a5c3};Object[_0x21a467(0x46f)](_0x88a5c3)['forEach'](_0x5c310c=>{_0x88a5c3[_0x5c310c]===void 0x0&&delete _0x3519da[_0x5c310c];});let _0x86cd5f=er(_0x4bc777[_0x21a467(0x2f7)][_0xb59d46],_0x49ebf3,_0x3a1430,_0x3519da);_0x3519da=_0x86cd5f['field'];let _0x2b76ef=_0x1605a0[_0x21a467(0x562)](U[_0x21a467(0x50a)](_0xb59d46,_0x49ebf3),_0x3a1430,_0x3519da);return _0x3519da[_0x21a467(0x305)]===_0x618ba[_0x21a467(0x4a8)]?R([...this[_0x21a467(0x2eb)](_0x4bc777),_0x2b76ef,...this[_0x21a467(0x411)](_0x4bc777,_0xb59d46,_0x49ebf3,_0x3519da)]):R([_0x2b76ef,..._0x86cd5f[_0x21a467(0x4b0)][_0x21a467(0x21d)]?[this['setRangeValues'](_0x4bc777,_0xb59d46,_0x86cd5f['patches'])]:[]]);}['changeFieldType'](_0x37d024,_0x1309a6,_0x4b8030,_0x3e5291){const _0x1e1a8b=_0x5daf81;return this[_0x1e1a8b(0x23d)](_0x37d024,_0x1309a6,_0x4b8030,_0x3e5291);}[_0x5daf81(0x513)](_0x768a57,_0x10b33b,_0x5324f1){const _0x2691a0=_0x5daf81;let _0x1fbff4=_0x768a57[_0x2691a0(0x2f7)][_0x10b33b];if(!(_0x1fbff4!=null&&_0x1fbff4['fields'][_0x5324f1])||_0x1fbff4['primaryFieldId']===_0x5324f1||_0x5324f1===_0x4a6fc3)return _0x1605a0[_0x2691a0(0x562)](['tables',_0x10b33b,_0x2691a0(0x1d6)],_0x1fbff4==null?void 0x0:_0x1fbff4[_0x2691a0(0x1d6)],_0x1fbff4==null?void 0x0:_0x1fbff4[_0x2691a0(0x1d6)]);let _0x271396=_0x1fbff4[_0x2691a0(0x1d6)]['indexOf'](_0x5324f1),_0x575e2b=Object['values'](_0x1fbff4[_0x2691a0(0x1e8)])['flatMap'](_0x1c0dba=>{const _0x5bd620=_0x2691a0;var _0x57dbbb,_0x2450bf,_0x50bb4a,_0x22a3f7,_0xe05377,_0x5d65af,_0x59fb36;let _0x4104a8=[],_0x18d0d0=((_0x57dbbb=_0x1c0dba['fieldOrder'])==null?void 0x0:_0x57dbbb[_0x5bd620(0x25c)](_0x5324f1))??-0x1;_0x18d0d0>=0x0&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0['removeOp']([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x1d6),_0x18d0d0],_0x5324f1));let _0x16fcf8=(_0x2450bf=_0x1c0dba[_0x5bd620(0x508)])==null?void 0x0:_0x2450bf[_0x5324f1];_0x16fcf8!==void 0x0&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0['removeOp']([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'fieldSettings',_0x5324f1],_0x16fcf8));let _0x3f8075=_0x1c0dba['filter']?{..._0x1c0dba[_0x5bd620(0x32f)],'conditions':_0x1c0dba['filter'][_0x5bd620(0x245)]['filter'](_0x1a5096=>_0x1a5096[_0x5bd620(0x4a1)]!==_0x5324f1)}:_0x1c0dba[_0x5bd620(0x32f)];_0x3f8075&&_0x3f8075[_0x5bd620(0x245)][_0x5bd620(0x21d)]!==((_0x50bb4a=_0x1c0dba['filter'])==null?void 0x0:_0x50bb4a[_0x5bd620(0x245)][_0x5bd620(0x21d)])&&_0x4104a8[_0x5bd620(0x482)](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'filter'],_0x1c0dba[_0x5bd620(0x32f)],_0x3f8075));let _0xae07e3=(_0x22a3f7=_0x1c0dba[_0x5bd620(0x3c5)])==null?void 0x0:_0x22a3f7[_0x5bd620(0x32f)](_0x143294=>_0x143294[_0x5bd620(0x4a1)]!==_0x5324f1);_0xae07e3&&_0xae07e3[_0x5bd620(0x21d)]!==((_0xe05377=_0x1c0dba['sort'])==null?void 0x0:_0xe05377[_0x5bd620(0x21d)])&&_0x4104a8['push'](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x3c5)],_0x1c0dba[_0x5bd620(0x3c5)],_0xae07e3));let _0xf58eac=(_0x5d65af=_0x1c0dba[_0x5bd620(0x3e9)])==null?void 0x0:_0x5d65af[_0x5bd620(0x32f)](_0x590907=>_0x590907[_0x5bd620(0x4a1)]!==_0x5324f1);_0xf58eac&&_0xf58eac[_0x5bd620(0x21d)]!==((_0x59fb36=_0x1c0dba[_0x5bd620(0x3e9)])==null?void 0x0:_0x59fb36[_0x5bd620(0x21d)])&&_0x4104a8['push'](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x3e9)],_0x1c0dba[_0x5bd620(0x3e9)],_0xf58eac));let _0x323e54=lr(_0x1c0dba[_0x5bd620(0x396)],_0x5324f1);return JSON[_0x5bd620(0x439)](_0x323e54)!==JSON['stringify'](_0x1c0dba[_0x5bd620(0x396)])&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0[_0x5bd620(0x562)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'config'],_0x1c0dba[_0x5bd620(0x396)],_0x323e54)),_0x4104a8;}),_0x9404a2=Object[_0x2691a0(0x45b)](_0x1fbff4[_0x2691a0(0x43a)])[_0x2691a0(0x36c)](_0x234044=>Object[_0x2691a0(0x4e2)][_0x2691a0(0x4d7)][_0x2691a0(0x35d)](_0x234044['values'],_0x5324f1)?[_0x1605a0[_0x2691a0(0x26d)](U[_0x2691a0(0x203)](_0x10b33b,_0x234044['id'],_0x5324f1),_0x234044[_0x2691a0(0x45b)][_0x5324f1])]:[]);return R([_0x1605a0['removeOp'](U[_0x2691a0(0x50a)](_0x10b33b,_0x5324f1),_0x1fbff4[_0x2691a0(0x503)][_0x5324f1]),_0x1605a0[_0x2691a0(0x26d)](U[_0x2691a0(0x1d6)](_0x10b33b,_0x271396),_0x5324f1),..._0x575e2b,..._0x9404a2,...this[_0x2691a0(0x4bc)](_0x1fbff4,_0x10b33b,_0x1cbcca=>_0x1cbcca[_0x2691a0(0x265)](_0x5324f1+'\x1f'))]);}[_0x5daf81(0x3c8)](_0xce431d,_0x3b9b5b,_0x377cb1,_0x2aaf18){const _0x50cc04=_0x5daf81;let _0x18045d=_0xce431d[_0x50cc04(0x2f7)][_0x3b9b5b][_0x50cc04(0x1d6)];if(_0x377cb1===_0x4a6fc3||_0x2aaf18[_0x50cc04(0x1c5)]===_0x4a6fc3)throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x475b7b=sr(_0x18045d,_0x377cb1,_0x2aaf18);return _0x1605a0[_0x50cc04(0x562)]([_0x50cc04(0x2f7),_0x3b9b5b,'fieldOrder'],_0x18045d,_0x475b7b);}[_0x5daf81(0x1b6)](_0x11fd82,_0x11ca9f,_0x4a4b8f,_0x229a7f=_0x11fd82[_0x5daf81(0x2f7)][_0x11ca9f][_0x5daf81(0x410)]['length']){const _0x2badb5=_0x5daf81;return R([_0x1605a0[_0x2badb5(0x2b6)](U[_0x2badb5(0x3a6)](_0x11ca9f,_0x4a4b8f['id']),_0x4a4b8f),_0x1605a0[_0x2badb5(0x2b6)]([_0x2badb5(0x2f7),_0x11ca9f,'viewOrder',_0x229a7f],_0x4a4b8f['id'])]);}[_0x5daf81(0x461)](_0x235a78,_0x2a3598,_0x32e38a,_0x1005c2){const _0x33ed6d=_0x5daf81;return _0x1605a0[_0x33ed6d(0x562)]([...U['view'](_0x2a3598,_0x32e38a),_0x33ed6d(0x322)],_0x235a78[_0x33ed6d(0x2f7)][_0x2a3598]['views'][_0x32e38a][_0x33ed6d(0x322)],_0x1005c2);}[_0x5daf81(0x302)](_0x4035ed,_0x488453,_0x3fc992){const _0x642dfc=_0x5daf81;let _0x5579fb=_0x4035ed[_0x642dfc(0x2f7)][_0x488453],_0x1d2680=_0x5579fb['views'][_0x3fc992],_0x38831b=_0x5579fb[_0x642dfc(0x410)][_0x642dfc(0x25c)](_0x3fc992);return R([_0x1605a0['removeOp'](U[_0x642dfc(0x3a6)](_0x488453,_0x3fc992),_0x1d2680),_0x1605a0['removeOp'](['tables',_0x488453,'viewOrder',_0x38831b],_0x3fc992)]);}['moveView'](_0x5e487f,_0x2041ce,_0x3370b7,_0x58ebf5){const _0x3edabc=_0x5daf81;let _0x1a8117=_0x5e487f[_0x3edabc(0x2f7)][_0x2041ce][_0x3edabc(0x410)],_0x2d9d84=sr(_0x1a8117,_0x3370b7,{'beforeFieldId':_0x58ebf5[_0x3edabc(0x2f2)],'afterFieldId':_0x58ebf5[_0x3edabc(0x4b1)]});return _0x1605a0['replaceOp']([_0x3edabc(0x2f7),_0x2041ce,_0x3edabc(0x410)],_0x1a8117,_0x2d9d84);}[_0x5daf81(0x4c9)](_0x1abf42,_0x5a2072,_0x1de507,_0x54b1ee){const _0x509889=_0x5daf81;let _0x5dcb10=_0x1abf42[_0x509889(0x2f7)][_0x5a2072][_0x509889(0x1e8)][_0x1de507][_0x509889(0x396)]??{},_0x1e9ea2={..._0x5dcb10,..._0x54b1ee};return Object[_0x509889(0x46f)](_0x54b1ee)[_0x509889(0x429)](_0x4bb96e=>{_0x54b1ee[_0x4bb96e]===void 0x0&&delete _0x1e9ea2[_0x4bb96e];}),_0x1605a0[_0x509889(0x562)]([...U[_0x509889(0x3a6)](_0x5a2072,_0x1de507),_0x509889(0x396)],_0x5dcb10,_0x1e9ea2);}[_0x5daf81(0x4ea)](_0x211eb8,_0x3c68a4,_0x51b4a6,_0x2bef3a){const _0x16fb22=_0x5daf81;return this[_0x16fb22(0x1e2)]([...U['view'](_0x3c68a4,_0x51b4a6),_0x16fb22(0x32f)],_0x211eb8[_0x16fb22(0x2f7)][_0x3c68a4][_0x16fb22(0x1e8)][_0x51b4a6][_0x16fb22(0x32f)],_0x2bef3a);}[_0x5daf81(0x367)](_0xc6c48d,_0x3ae961,_0x193a67,_0x2593a3){const _0x2d94d2=_0x5daf81;return this['_replaceOptional']([...U[_0x2d94d2(0x3a6)](_0x3ae961,_0x193a67),_0x2d94d2(0x3c5)],_0xc6c48d[_0x2d94d2(0x2f7)][_0x3ae961][_0x2d94d2(0x1e8)][_0x193a67]['sort'],_0x2593a3);}[_0x5daf81(0x40b)](_0x38d921,_0x4dbe6b,_0x336500,_0x3c5f06){const _0x26ae1d=_0x5daf81;return this[_0x26ae1d(0x1e2)]([...U[_0x26ae1d(0x3a6)](_0x4dbe6b,_0x336500),_0x26ae1d(0x3e9)],_0x38d921[_0x26ae1d(0x2f7)][_0x4dbe6b][_0x26ae1d(0x1e8)][_0x336500][_0x26ae1d(0x3e9)],_0x3c5f06);}[_0x5daf81(0x44d)](_0x368c8f,_0x3d4883,_0x50fd21,_0x42ed04,_0x4624fb){const _0x4a35de=_0x5daf81;return this[_0x4a35de(0x336)](_0x368c8f,_0x3d4883,_0x50fd21,_0x42ed04,{'hidden':!_0x4624fb});}[_0x5daf81(0x41a)](_0x1dae53,_0x27350b,_0x2d2bbc,_0x3da41d,_0x9b1601){const _0x2b7060=_0x5daf81;return this[_0x2b7060(0x336)](_0x1dae53,_0x27350b,_0x2d2bbc,_0x3da41d,{'width':_0x9b1601});}[_0x5daf81(0x511)](_0x114de0,_0x310777,_0x129472,_0x4af4b8,_0x54229e){const _0x17b6cf=_0x5daf81;let _0x3711cb=_0x114de0['tables'][_0x310777][_0x17b6cf(0x1e8)][_0x129472],_0x3553fc=sr(_0x3711cb[_0x17b6cf(0x1d6)]??_0x114de0['tables'][_0x310777][_0x17b6cf(0x1d6)],_0x4af4b8,_0x54229e);return this[_0x17b6cf(0x1e2)]([...U[_0x17b6cf(0x3a6)](_0x310777,_0x129472),_0x17b6cf(0x1d6)],_0x3711cb[_0x17b6cf(0x1d6)],_0x3553fc);}[_0x5daf81(0x336)](_0x54327e,_0x49099e,_0x418c83,_0x29dc40,_0x31880e){const _0xa8b75=_0x5daf81;let _0x1da11e=_0x54327e[_0xa8b75(0x2f7)][_0x49099e][_0xa8b75(0x1e8)][_0x418c83][_0xa8b75(0x508)]??{},_0x45b37b={..._0x1da11e,[_0x29dc40]:{..._0x1da11e[_0x29dc40],..._0x31880e}};return this[_0xa8b75(0x1e2)]([...U[_0xa8b75(0x3a6)](_0x49099e,_0x418c83),_0xa8b75(0x508)],_0x54327e[_0xa8b75(0x2f7)][_0x49099e][_0xa8b75(0x1e8)][_0x418c83][_0xa8b75(0x508)],_0x45b37b);}[_0x5daf81(0x4a0)](_0x1ae50c,_0x5caf92,_0x3adc18){const _0x21169a=_0x5daf81;let _0x403e8e=_0x1ae50c[_0x21169a(0x2f7)][_0x5caf92],_0x296d99=new Set(_0x3adc18[_0x21169a(0x2b0)](_0x220db0=>_0x220db0['id'])),_0x3af5a6=[...Object[_0x21169a(0x45b)](_0x403e8e['records'])[_0x21169a(0x32f)](_0x1c1f39=>!_0x296d99['has'](_0x1c1f39['id'])),..._0x3adc18][_0x21169a(0x3c5)]((_0x324ba9,_0x453d7c)=>String(_0x324ba9[_0x21169a(0x2a2)]??_0x324ba9['id'])[_0x21169a(0x202)](String(_0x453d7c[_0x21169a(0x2a2)]??_0x453d7c['id'])))[_0x21169a(0x2b0)](_0xf2ffbb=>_0xf2ffbb['id']),_0x6e461d=[...U[_0x21169a(0x524)](_0x5caf92),_0x21169a(0x3da)];return _0x403e8e['recordOrder']?_0x1605a0['replaceOp'](_0x6e461d,_0x403e8e[_0x21169a(0x3da)],_0x3af5a6):_0x1605a0[_0x21169a(0x2b6)](_0x6e461d,_0x3af5a6);}['_materializeFormulaTableNames'](_0x1adf39,_0x1d327e=new Set()){const _0x410eac=_0x5daf81;let _0xf44985=_0x4b2d20(_0x1adf39);return Object[_0x410eac(0x45b)](_0x1adf39[_0x410eac(0x2f7)])[_0x410eac(0x32f)](_0x3b8c72=>!_0x1d327e[_0x410eac(0x253)](_0x3b8c72['id']))['sort']((_0x388695,_0x351cdd)=>_0x388695['id']['localeCompare'](_0x351cdd['id']))[_0x410eac(0x36c)](_0x33631a=>{const _0x21b91d=_0x410eac;let _0x50c007=_0xf44985[_0x21b91d(0x315)](_0x33631a['id']);return!_0x50c007||_0x33631a['formulaName']===_0x50c007?[]:[this['_replaceOptional']([...U[_0x21b91d(0x524)](_0x33631a['id']),_0x21b91d(0x516)],_0x33631a['formulaName'],_0x50c007)];});}[_0x5daf81(0x411)](_0x5d0512,_0x4f446a,_0x5dfe87,_0xa8b070){const _0x1315a5=_0x5daf81;var _0x292349,_0xe7461a;let _0x1c6ba0=L(_0x5d0512[_0x1315a5(0x2f7)][_0x4f446a]),_0x1b8e8a=String(((_0x292349=_0xa8b070['config'])==null?void 0x0:_0x292349[_0x1315a5(0x494)])??'')[_0x1315a5(0x3a5)](),_0x405a5d=(_0xe7461a=_0x1c6ba0[_0x1315a5(0x3b9)])==null?void 0x0:_0xe7461a[_0x5dfe87];if(_0x405a5d==null)return[];let _0x3a9851=_0x1c6ba0[_0x1315a5(0x3da)]??Object[_0x1315a5(0x46f)](_0x1c6ba0['records']),_0x5d9115=_0x3a9851[_0x1315a5(0x2b0)](_0x48d509=>{const _0x385c0f=_0x1315a5;var _0x21d5d6;return(_0x21d5d6=_0x1c6ba0[_0x385c0f(0x2c4)])==null?void 0x0:_0x21d5d6[_0x48d509];})[_0x1315a5(0x2d8)](_0x8a8e26=>_0x8a8e26!=null);return _0x3a9851[_0x1315a5(0x36c)](_0x1cf837=>{const _0x5559c6=_0x1315a5;var _0xbe0da,_0x5ced93;let _0x1bef40=(_0xbe0da=_0x1c6ba0[_0x5559c6(0x2c4)])==null?void 0x0:_0xbe0da[_0x1cf837];if(_0x1bef40==null)return[];let _0xf4437b=(_0x5ced93=_0x1c6ba0[_0x5559c6(0x1d3)])==null||(_0x5ced93=_0x5ced93[_0x1bef40])==null?void 0x0:_0x5ced93[_0x405a5d],_0x250190=_0x1b8e8a?_0x1bef40===_0x5d9115?{'f':_0x1b8e8a,'si':_0x5dfe87}:{'si':_0x5dfe87}:{'v':null,'t':null};return[this['_replaceOptional'](U[_0x5559c6(0x1d3)](_0x4f446a,_0x1bef40,_0x405a5d),_0xf4437b,_0x250190)];});}['_setAttachmentResources'](_0x429a6a,_0x2dc23f,_0x4dfb2a){const _0x3f93d4=_0x5daf81;var _0x31a2d6;let _0xb9eef2=new Map(Object[_0x3f93d4(0x2e4)](((_0x31a2d6=_0x429a6a[_0x3f93d4(0x48d)])==null?void 0x0:_0x31a2d6['attachmentSets'])??{})),_0x593d03=new Map(),_0x437dc7=new Set(),_0x51dc53=_0x4dfb2a[_0x3f93d4(0x2b0)](({recordId:_0x7c361a,fieldId:_0x2045cc,attachments:_0x241975})=>{const _0x26de03=_0x3f93d4;var _0x452dba;let _0xef1a92=Et(_0x2045cc,_0x7c361a),_0x5ac217=_0x241975[_0x26de03(0x2b0)]((_0x30c5ee,_0x4338b0)=>String(_0x30c5ee['id']??_0xef1a92+'\x1f'+_0x4338b0));return _0x437dc7['add'](_0xef1a92),_0xb9eef2[_0x26de03(0x1ba)](_0xef1a92,_0x5ac217),_0x241975[_0x26de03(0x429)]((_0x511b53,_0xbc6927)=>{const _0x16d9bd=_0x26de03;let _0x2e9f38=_0x5ac217[_0xbc6927];_0x593d03[_0x16d9bd(0x1ba)](_0x2e9f38,{..._0x511b53,'id':_0x2e9f38});}),this['_replaceOptional'](U[_0x26de03(0x488)](_0x2dc23f,_0xef1a92),(_0x452dba=_0x429a6a[_0x26de03(0x48d)])==null||(_0x452dba=_0x452dba[_0x26de03(0x313)])==null?void 0x0:_0x452dba[_0xef1a92],_0x5ac217);}),_0x4fe6a0=Array[_0x3f93d4(0x404)](_0x593d03)['map'](([_0x36206b,_0x21af85])=>{const _0x50d79b=_0x3f93d4;var _0x40af26;return this[_0x50d79b(0x1e2)](U[_0x50d79b(0x457)](_0x2dc23f,_0x36206b),(_0x40af26=_0x429a6a['resources'])==null||(_0x40af26=_0x40af26['attachments'])==null?void 0x0:_0x40af26[_0x36206b],_0x21af85);}),_0x4a08fd=new Set(Array['from'](_0xb9eef2[_0x3f93d4(0x45b)]())['flat']()),_0x1d1d1b=new Set(Array['from'](_0x437dc7)['flatMap'](_0x53fed5=>{const _0x39295a=_0x3f93d4;var _0x419a6a;return((_0x419a6a=_0x429a6a['resources'])==null||(_0x419a6a=_0x419a6a[_0x39295a(0x313)])==null?void 0x0:_0x419a6a[_0x53fed5])??[];})),_0x499904=Array[_0x3f93d4(0x404)](_0x1d1d1b)['flatMap'](_0xe610b9=>{const _0x1748fc=_0x3f93d4;var _0x578056;let _0x10445e=(_0x578056=_0x429a6a['resources'])==null||(_0x578056=_0x578056[_0x1748fc(0x36f)])==null?void 0x0:_0x578056[_0xe610b9];return _0x10445e!==void 0x0&&!_0x4a08fd['has'](_0xe610b9)?[_0x1605a0[_0x1748fc(0x26d)](U[_0x1748fc(0x457)](_0x2dc23f,_0xe610b9),_0x10445e)]:[];});return[..._0x51dc53,..._0x4fe6a0,..._0x499904];}[_0x5daf81(0x4bc)](_0x2fbd6c,_0x315e55,_0x3e52e2){const _0x1fdb5d=_0x5daf81;var _0x2a406e;let _0x5e5163=((_0x2a406e=_0x2fbd6c[_0x1fdb5d(0x48d)])==null?void 0x0:_0x2a406e['attachmentSets'])??{},_0x296027=Object[_0x1fdb5d(0x2e4)](_0x5e5163)[_0x1fdb5d(0x32f)](([_0x5a9d67])=>_0x3e52e2(_0x5a9d67));if(!_0x296027[_0x1fdb5d(0x21d)])return[];let _0x53c816=new Set(Object[_0x1fdb5d(0x2e4)](_0x5e5163)[_0x1fdb5d(0x32f)](([_0x4d364d])=>!_0x3e52e2(_0x4d364d))[_0x1fdb5d(0x36c)](([,_0x3520f0])=>_0x3520f0)),_0x25e748=new Set(_0x296027['flatMap'](([,_0x4bf83c])=>_0x4bf83c));return[..._0x296027[_0x1fdb5d(0x2b0)](([_0x368f27,_0x4ae91d])=>_0x1605a0['removeOp'](U['attachmentSet'](_0x315e55,_0x368f27),_0x4ae91d)),...Array[_0x1fdb5d(0x404)](_0x25e748)[_0x1fdb5d(0x36c)](_0x4b468c=>{const _0x192c97=_0x1fdb5d;var _0x4757b3;let _0x338899=(_0x4757b3=_0x2fbd6c[_0x192c97(0x48d)])==null||(_0x4757b3=_0x4757b3[_0x192c97(0x36f)])==null?void 0x0:_0x4757b3[_0x4b468c];return _0x338899!==void 0x0&&!_0x53c816[_0x192c97(0x253)](_0x4b468c)?[_0x1605a0[_0x192c97(0x26d)](U['attachment'](_0x315e55,_0x4b468c),_0x338899)]:[];})];}[_0x5daf81(0x1e2)](_0x45b419,_0x45dae2,_0x3de7df){const _0x13b5b0=_0x5daf81;return _0x45dae2===void 0x0?_0x1605a0[_0x13b5b0(0x2b6)](_0x45b419,_0x3de7df):_0x1605a0[_0x13b5b0(0x562)](_0x45b419,_0x45dae2,_0x3de7df);}};function er(_0xb67dfd,_0x1c45d3,_0x33902d,_0x3db16d){const _0x38f80c=_0x5daf81;var _0x929eda;let _0x53dd8b=_0x3db16d[_0x38f80c(0x305)];if(_0x33902d[_0x38f80c(0x305)]!==_0x53dd8b||_0x53dd8b!==_0x618ba['SingleSelect']&&_0x53dd8b!==_0x618ba['MultiSelect']||tr(_0x3db16d['config'][_0x38f80c(0x4ad)]))return{'field':_0x3db16d,'patches':[]};let _0x4845e3=nr(_0x33902d),_0x22dbeb=nr(_0x3db16d);if(![..._0x4845e3]['some'](_0x54ae02=>!_0x22dbeb[_0x38f80c(0x253)](_0x54ae02)))return{'field':_0x3db16d,'patches':[]};let _0x49607d=rr(_0x3db16d['defaultValue'],_0x22dbeb,_0x53dd8b),_0xb8078d=ir(_0x49607d,_0x3db16d[_0x38f80c(0x224)])?_0x3db16d:{..._0x3db16d,'defaultValue':_0x49607d},_0x2a3777=L(_0xb67dfd),_0x3d8032=(_0x929eda=_0x2a3777['colIndex'])==null?void 0x0:_0x929eda[_0x1c45d3];return _0x3d8032==null?{'field':_0xb8078d,'patches':[]}:{'field':_0xb8078d,'patches':(_0x2a3777['recordOrder']??[])[_0x38f80c(0x36c)](_0xb00168=>{const _0x269da9=_0x38f80c;var _0x14e5a8,_0x19c3d5;let _0x4dcf61=(_0x14e5a8=_0x2a3777[_0x269da9(0x2c4)])==null?void 0x0:_0x14e5a8[_0xb00168],_0x1da839=(_0x19c3d5=_0x2a3777['records'][_0xb00168])==null?void 0x0:_0x19c3d5[_0x269da9(0x45b)][_0x1c45d3],_0x4778e3=rr(_0x1da839,_0x22dbeb,_0x53dd8b);return _0x4dcf61==null||ir(_0x4778e3,_0x1da839)?[]:[{'row':_0x4dcf61,'col':_0x3d8032,'value':_0x4778e3??null}];})};}function tr(_0x5bfe92){const _0x10ce3c=_0x5daf81;return typeof _0x5bfe92==_0x10ce3c(0x1fb)&&!!_0x5bfe92&&'type'in _0x5bfe92&&_0x5bfe92[_0x10ce3c(0x305)]===_0x10ce3c(0x50a);}function nr(_0x251c7b){const _0x471ce0=_0x5daf81;var _0x2fe7b6;let _0x52e4cd=Array['isArray']((_0x2fe7b6=_0x251c7b[_0x471ce0(0x396)])==null?void 0x0:_0x2fe7b6[_0x471ce0(0x49e)])?_0x251c7b[_0x471ce0(0x396)]['options']:[];return new Set(_0x52e4cd[_0x471ce0(0x36c)](_0x2993f2=>{const _0x397d81=_0x471ce0;if(!_0x2993f2||typeof _0x2993f2!=_0x397d81(0x1fb)||!('id'in _0x2993f2))return[];let _0x2699ca=String(_0x2993f2['id']);return _0x2699ca?[_0x2699ca]:[];}));}function rr(_0x2a6608,_0xa0f41e,_0x3bc094){const _0x446f06=_0x5daf81;if(_0x2a6608==null||_0x2a6608==='')return _0x2a6608;if(_0x3bc094===_0x618ba[_0x446f06(0x3af)])return _0xa0f41e[_0x446f06(0x253)](String(_0x2a6608))?_0x2a6608:null;let _0x386e5f=Array[_0x446f06(0x31e)](_0x2a6608)?_0x2a6608[_0x446f06(0x2b0)](String):String(_0x2a6608)[_0x446f06(0x4d9)](',')[_0x446f06(0x2b0)](_0x118d8c=>_0x118d8c[_0x446f06(0x3a5)]())['filter'](Boolean),_0x5c1483=_0x386e5f['filter'](_0x21ebb3=>_0xa0f41e['has'](_0x21ebb3));return _0x5c1483['length']===_0x386e5f[_0x446f06(0x21d)]?_0x2a6608:Array['isArray'](_0x2a6608)?_0x5c1483:String(_0x2a6608)[_0x446f06(0x4f9)](',')?_0x5c1483[_0x446f06(0x30a)](','):_0x5c1483[0x0]??[];}function ir(_0x2296bd,_0x93c87f){const _0x487dcc=_0x5daf81;return JSON[_0x487dcc(0x439)](_0x2296bd)===JSON[_0x487dcc(0x439)](_0x93c87f);}function ar(_0x4e0baa,_0x565b89,_0x2390f4){const _0x543791=_0x5daf81;var _0x1e17fa,_0x4159aa,_0x8db428,_0x526af1;let _0x38bf8c=(_0x1e17fa=_0x4e0baa['rowIndex'])==null?void 0x0:_0x1e17fa[_0x565b89],_0x1d6689=(_0x4159aa=_0x4e0baa[_0x543791(0x3b9)])==null?void 0x0:_0x4159aa[_0x2390f4];return _0x38bf8c!=null&&_0x1d6689!=null&&((_0x8db428=_0x4e0baa['rowId'])==null?void 0x0:_0x8db428[_0x38bf8c])===_0x565b89&&((_0x526af1=_0x4e0baa[_0x543791(0x33c)])==null?void 0x0:_0x526af1[_0x1d6689])===_0x2390f4&&_0x4e0baa[_0x543791(0x1d3)]!=null;}function or(_0x21097c,_0x19adb6,_0x311553){const _0x4fa235=_0x5daf81;var _0x5c95c0,_0x4eb2fd;return((_0x5c95c0=_0x21097c[_0x4fa235(0x1ec)])==null?void 0x0:_0x5c95c0[_0x19adb6])!=null&&((_0x4eb2fd=_0x21097c['colId'])==null?void 0x0:_0x4eb2fd[_0x311553])!=null&&_0x21097c[_0x4fa235(0x1d3)]!=null;}function sr(_0x270b8d,_0x4c4ff6,_0x2d826d){const _0x2706da=_0x5daf81;let _0x2e601a=_0x270b8d[_0x2706da(0x32f)](_0x270034=>_0x270034!==_0x4c4ff6),_0x4357ae=_0x2d826d[_0x2706da(0x1c5)]?_0x2e601a[_0x2706da(0x25c)](_0x2d826d['beforeFieldId']):_0x2d826d[_0x2706da(0x51b)]?_0x2e601a['indexOf'](_0x2d826d[_0x2706da(0x51b)])+0x1:_0x2e601a[_0x2706da(0x21d)];return _0x2e601a[_0x2706da(0x3f5)](_0x4357ae<0x0?_0x2e601a[_0x2706da(0x21d)]:_0x4357ae,0x0,_0x4c4ff6),_0x2e601a;}function cr(_0x1f7f1b,_0x475681,_0x451cb8){const _0x8a6228=_0x5daf81;let _0x48a921=_0x1f7f1b['filter'](_0x291d26=>_0x291d26!==_0x475681);return _0x48a921[_0x8a6228(0x3f5)](ur(_0x451cb8,_0x48a921[_0x8a6228(0x21d)]),0x0,_0x475681),_0x48a921;}function lr(_0x487f26,_0x17c659,_0x67cc73){const _0x35bd48=_0x5daf81;if(Array[_0x35bd48(0x31e)](_0x487f26))return _0x67cc73===_0x35bd48(0x209)?_0x487f26[_0x35bd48(0x32f)](_0x4f3b41=>_0x4f3b41!==_0x17c659):_0x487f26['flatMap'](_0x320f0b=>{const _0x86789d=_0x35bd48;if(_0x320f0b&&typeof _0x320f0b==_0x86789d(0x1fb)&&!Array[_0x86789d(0x31e)](_0x320f0b)&&_0x320f0b[_0x86789d(0x4a1)]===_0x17c659)return[];let _0x415f29=lr(_0x320f0b,_0x17c659);return _0x415f29===void 0x0?[]:[_0x415f29];});if(!_0x487f26||typeof _0x487f26!=_0x35bd48(0x1fb))return _0x67cc73!=null&&_0x67cc73[_0x35bd48(0x528)]('FieldId')&&_0x487f26===_0x17c659?void 0x0:_0x487f26;let _0x385c3f=_0x487f26;if(_0x385c3f[_0x35bd48(0x4a1)]!==_0x17c659)return Object[_0x35bd48(0x407)](Object[_0x35bd48(0x2e4)](_0x385c3f)[_0x35bd48(0x36c)](([_0x25f83b,_0x1baeff])=>{const _0x4b1f3c=_0x35bd48;if(_0x25f83b===_0x17c659&&_0x67cc73===_0x4b1f3c(0x508))return[];let _0x46a577=lr(_0x1baeff,_0x17c659,_0x25f83b);return _0x46a577===void 0x0?[]:[[_0x25f83b,_0x46a577]];}));}function ur(_0x49d37f,_0x33eeaf){const _0x80dd81=_0x5daf81;return Math[_0x80dd81(0x29c)](0x0,Math[_0x80dd81(0x469)](_0x49d37f,_0x33eeaf));}function dr(_0x2a5f34){'@babel/helpers - typeof';const _0xaac5df=_0x5daf81;return dr=typeof Symbol==_0xaac5df(0x55e)&&typeof Symbol[_0xaac5df(0x369)]==_0xaac5df(0x374)?function(_0x231dcc){return typeof _0x231dcc;}:function(_0x30ac83){const _0x5538cd=_0xaac5df;return _0x30ac83&&typeof Symbol=='function'&&_0x30ac83[_0x5538cd(0x25f)]===Symbol&&_0x30ac83!==Symbol['prototype']?_0x5538cd(0x374):typeof _0x30ac83;},dr(_0x2a5f34);}function fr(_0x196196,_0x43b22f){const _0x44d492=_0x5daf81;if(dr(_0x196196)!=_0x44d492(0x1fb)||!_0x196196)return _0x196196;var _0xb2ab2=_0x196196[Symbol[_0x44d492(0x3e3)]];if(_0xb2ab2!==void 0x0){var _0x2e54b7=_0xb2ab2['call'](_0x196196,_0x43b22f||_0x44d492(0x261));if(dr(_0x2e54b7)!='object')return _0x2e54b7;throw TypeError(_0x44d492(0x2d6));}return(_0x43b22f===_0x44d492(0x2ed)?String:Number)(_0x196196);}function pr(_0x159598){const _0x5701b3=_0x5daf81;var _0x38d192=fr(_0x159598,_0x5701b3(0x2ed));return dr(_0x38d192)==_0x5701b3(0x374)?_0x38d192:_0x38d192+'';}function G(_0x3e6245,_0xadcec4,_0x2dfe4d){const _0x5af728=_0x5daf81;return(_0xadcec4=pr(_0xadcec4))in _0x3e6245?Object[_0x5af728(0x37a)](_0x3e6245,_0xadcec4,{'value':_0x2dfe4d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e6245[_0xadcec4]=_0x2dfe4d,_0x3e6245;}const mr=_0x3262c5('base.field-registry.service');var hr=class extends _0x183939{constructor(..._0x4cd834){super(..._0x4cd834),G(this,'_plugins',new Map());}[_0x5daf81(0x549)](_0x43c554){const _0x56ce3d=_0x5daf81;return this[_0x56ce3d(0x450)]['set'](_0x43c554[_0x56ce3d(0x305)],_0x43c554),_0x1a388a(()=>this['_plugins'][_0x56ce3d(0x3ae)](_0x43c554[_0x56ce3d(0x305)]));}[_0x5daf81(0x315)](_0xe6849e){const _0x15f3b0=_0x5daf81;let _0x5d38df=this[_0x15f3b0(0x450)][_0x15f3b0(0x315)](_0xe6849e);if(!_0x5d38df)throw Error(_0x15f3b0(0x44e)+_0xe6849e+_0x15f3b0(0x2ec));return _0x5d38df;}[_0x5daf81(0x4fa)](_0x5b54b6){const _0x435e7d=_0x5daf81;return this[_0x435e7d(0x450)][_0x435e7d(0x315)](_0x5b54b6);}['getAll'](){const _0x1fd0b3=_0x5daf81;return Array[_0x1fd0b3(0x404)](this['_plugins']['values']());}},gr=class{constructor(_0x2ab736){const _0x3e16bf=_0x5daf81;this[_0x3e16bf(0x3cb)]=_0x2ab736,G(this,_0x3e16bf(0x305),_0x2ea692[_0x3e16bf(0x348)]),G(this,_0x3e16bf(0x208),_0x44dc45[_0x3e16bf(0x332)]),G(this,_0x3e16bf(0x3f0),_0x2150fa[_0x3e16bf(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x3e16bf(0x305)]+'.'+this['subType']+'_'+_0x2ab736;}},_r=class{constructor(_0x43eded){const _0x490427=_0x5daf81;this[_0x490427(0x3cb)]=_0x43eded,G(this,_0x490427(0x305),_0x2ea692[_0x490427(0x348)]),G(this,_0x490427(0x208),_0x44dc45[_0x490427(0x331)]),G(this,_0x490427(0x3f0),_0x2150fa['INIT']),G(this,'id',void 0x0),G(this,_0x490427(0x3fd),!0x0),this['id']=this['type']+'.'+this[_0x490427(0x208)]+'_'+_0x43eded;}},vr=class{constructor(_0x5e497d){const _0x35a505=_0x5daf81;this['unitId']=_0x5e497d,G(this,'type',_0x2ea692[_0x35a505(0x348)]),G(this,'subType',_0x44dc45['Edit']),G(this,_0x35a505(0x3f0),_0x2150fa[_0x35a505(0x3d0)]),G(this,'id',void 0x0),G(this,_0x35a505(0x3fd),!0x0),this['id']=this[_0x35a505(0x305)]+'.'+this[_0x35a505(0x208)]+'_'+_0x5e497d;}},yr=class{constructor(_0x48650f){const _0x480c03=_0x5daf81;this[_0x480c03(0x3cb)]=_0x48650f,G(this,_0x480c03(0x305),_0x2ea692[_0x480c03(0x348)]),G(this,'subType',_0x44dc45[_0x480c03(0x29b)]),G(this,_0x480c03(0x3f0),_0x2150fa[_0x480c03(0x3d0)]),G(this,'id',void 0x0),G(this,_0x480c03(0x3fd),!0x0),this['id']=this['type']+'.'+this[_0x480c03(0x208)]+'_'+_0x48650f;}},br=class{constructor(_0x3767cc,_0x31ae4c){const _0x2a0ae5=_0x5daf81;this[_0x2a0ae5(0x3cb)]=_0x3767cc,this['objectId']=_0x31ae4c,G(this,'type',_0x2ea692['BaseDashboard']),G(this,_0x2a0ae5(0x208),_0x44dc45['Edit']),G(this,'status',_0x2150fa[_0x2a0ae5(0x3d0)]),G(this,'id',void 0x0),G(this,_0x2a0ae5(0x3fd),!0x0),this['id']=this[_0x2a0ae5(0x305)]+'.'+this['subType']+'_'+_0x3767cc+'_'+_0x31ae4c;}},xr=class{constructor(_0x377ebd,_0x2ecf00){const _0x58bb6f=_0x5daf81;this['unitId']=_0x377ebd,this['objectId']=_0x2ecf00,G(this,_0x58bb6f(0x305),_0x2ea692[_0x58bb6f(0x3c1)]),G(this,'subType',_0x44dc45[_0x58bb6f(0x555)]),G(this,'status',_0x2150fa[_0x58bb6f(0x3d0)]),G(this,'id',void 0x0),G(this,_0x58bb6f(0x3fd),!0x0),this['id']=this[_0x58bb6f(0x305)]+'.'+this[_0x58bb6f(0x208)]+'_'+_0x377ebd+'_'+_0x2ecf00;}},Sr=class{constructor(_0x5d5870,_0x304175){const _0x4b9b8a=_0x5daf81;this['unitId']=_0x5d5870,this[_0x4b9b8a(0x3d2)]=_0x304175,G(this,_0x4b9b8a(0x305),_0x2ea692[_0x4b9b8a(0x52a)]),G(this,'subType',_0x44dc45[_0x4b9b8a(0x555)]),G(this,_0x4b9b8a(0x3f0),_0x2150fa['INIT']),G(this,'id',void 0x0),G(this,_0x4b9b8a(0x3fd),!0x0),this['id']=this[_0x4b9b8a(0x305)]+'.'+this[_0x4b9b8a(0x208)]+'_'+_0x5d5870+'_'+_0x304175;}},Cr=class{constructor(_0x16a8ee,_0x1333e2){const _0x58be22=_0x5daf81;this[_0x58be22(0x3cb)]=_0x16a8ee,this[_0x58be22(0x3d2)]=_0x1333e2,G(this,'type',_0x2ea692['BaseTable']),G(this,_0x58be22(0x208),_0x44dc45[_0x58be22(0x555)]),G(this,_0x58be22(0x3f0),_0x2150fa[_0x58be22(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x58be22(0x305)]+'.'+this[_0x58be22(0x208)]+'_'+_0x16a8ee+'_'+_0x1333e2;}},wr=class{constructor(_0x59d678,_0x28fc96){const _0x535722=_0x5daf81;this[_0x535722(0x3cb)]=_0x59d678,this[_0x535722(0x3d2)]=_0x28fc96,G(this,_0x535722(0x305),_0x2ea692[_0x535722(0x2cd)]),G(this,_0x535722(0x208),_0x44dc45[_0x535722(0x555)]),G(this,_0x535722(0x3f0),_0x2150fa[_0x535722(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x535722(0x305)]+'.'+this['subType']+'_'+_0x59d678+'_'+_0x28fc96;}};const Tr=[_0x44dc45[_0x5daf81(0x555)],_0x44dc45[_0x5daf81(0x331)],_0x44dc45[_0x5daf81(0x29b)],_0x44dc45['Comment']],Er=new Set([_0x2ea692['Base'],_0x2ea692[_0x5daf81(0x1de)],_0x2ea692['BaseField'],_0x2ea692[_0x5daf81(0x52a)],_0x2ea692['BaseView'],_0x2ea692[_0x5daf81(0x357)]]),Dr=_0x5daf81(0x338),Or='field/',kr=_0x5daf81(0x3ef),Ar=_0x5daf81(0x2b1),jr=_0x5daf81(0x321);function K(_0x207fce){return''+Dr+encodeURIComponent(_0x207fce);}function q(_0x5b0782,_0x19a25d){return''+Or+encodeURIComponent(_0x5b0782)+'/'+encodeURIComponent(_0x19a25d);}function J(_0x468a36,_0x2488f4){return''+kr+encodeURIComponent(_0x468a36)+'/'+encodeURIComponent(_0x2488f4);}function Mr(_0x3b784c,_0xf21376){return''+Ar+encodeURIComponent(_0x3b784c)+'/'+encodeURIComponent(_0xf21376);}function Nr(_0x52f826){return''+jr+encodeURIComponent(_0x52f826);}function Pr(_0x569d55,_0x9bc6fb,_0x33f698){const _0x40295f=_0x5daf81;if(_0x9bc6fb===_0x569d55)switch(_0x33f698){case _0x44dc45['Edit']:return new vr(_0x569d55);case _0x44dc45[_0x40295f(0x331)]:return new _r(_0x569d55);case _0x44dc45[_0x40295f(0x29b)]:return new yr(_0x569d55);case _0x44dc45[_0x40295f(0x332)]:return new gr(_0x569d55);default:throw Error(_0x40295f(0x233)+_0x33f698);}if(_0x33f698!==_0x44dc45[_0x40295f(0x555)])throw Error('Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20'+_0x9bc6fb);if(_0x9bc6fb['startsWith'](Dr))return new Cr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](Or))return new xr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](kr))return new Sr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](Ar))return new wr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](jr))return new br(_0x569d55,_0x9bc6fb);throw Error(_0x40295f(0x544)+_0x9bc6fb);}function Fr(_0x2a23b1,_0x53e4d5,_0x1bdbfa,_0x1147bb){const _0x6c8c91=_0x5daf81;var _0x3c8f09;return((_0x3c8f09=_0x2a23b1['getPermissionPoint'](Pr(_0x53e4d5,_0x1bdbfa,_0x1147bb)['id']))==null?void 0x0:_0x3c8f09[_0x6c8c91(0x3fd)])??!0x0;}function Ir(_0x597694,_0x48577b,_0x443ff4,_0x22e79c,_0x11c081){const _0x1fdbf2=_0x5daf81;let _0x740288=Pr(_0x48577b,_0x443ff4,_0x22e79c);_0x597694['getPermissionPoint'](_0x740288['id'])||_0x597694[_0x1fdbf2(0x292)](_0x740288),_0x597694[_0x1fdbf2(0x1c9)](_0x740288['id'],_0x11c081);}function Lr(_0x313f18,_0x18a8fd,_0x504bf5,_0xd836ae){const _0x3034e6=_0x5daf81;_0x313f18[_0x3034e6(0x258)](Pr(_0x18a8fd,_0x504bf5,_0xd836ae)['id']);}function Rr(_0x438fa6,_0x418dad){const _0x232ddf=_0x5daf81;_0x438fa6[_0x232ddf(0x1bd)]()[_0x232ddf(0x429)]((_0x2729b2,_0x35c5a2)=>{const _0x36883b=_0x232ddf;_0x2729b2[_0x36883b(0x341)](_0x307ce8=>{const _0x46f891=_0x36883b;Er[_0x46f891(0x253)](_0x307ce8['type'])&&_0x46f891(0x3cb)in _0x307ce8&&_0x307ce8[_0x46f891(0x3cb)]===_0x418dad&&_0x438fa6[_0x46f891(0x258)](_0x35c5a2);})[_0x36883b(0x2e9)]();});}function zr(_0x36de95,_0x5209d7,_0x5a2811){const _0x22322b=_0x5daf81;return Fr(_0x36de95,_0x5209d7,_0x5209d7,_0x44dc45[_0x22322b(0x555)])&&Array[_0x22322b(0x404)](_0x5a2811)[_0x22322b(0x2ab)](_0x3658f6=>Fr(_0x36de95,_0x5209d7,_0x3658f6,_0x44dc45[_0x22322b(0x555)]));}function Y(_0x1588d9,_0x3ca502){return function(_0x26570a,_0x540a1a){_0x3ca502(_0x26570a,_0x540a1a,_0x1588d9);};}function X(_0x4a3c0e,_0x5ef101,_0xcab42c,_0x2b72aa){const _0x206daf=_0x5daf81;var _0x4b5f1f=arguments[_0x206daf(0x21d)],_0x155c36=_0x4b5f1f<0x3?_0x5ef101:_0x2b72aa===null?_0x2b72aa=Object[_0x206daf(0x1f0)](_0x5ef101,_0xcab42c):_0x2b72aa,_0x28e73d;if(typeof Reflect=='object'&&typeof Reflect[_0x206daf(0x1d1)]==_0x206daf(0x55e))_0x155c36=Reflect[_0x206daf(0x1d1)](_0x4a3c0e,_0x5ef101,_0xcab42c,_0x2b72aa);else{for(var _0x466af2=_0x4a3c0e[_0x206daf(0x21d)]-0x1;_0x466af2>=0x0;_0x466af2--)(_0x28e73d=_0x4a3c0e[_0x466af2])&&(_0x155c36=(_0x4b5f1f<0x3?_0x28e73d(_0x155c36):_0x4b5f1f>0x3?_0x28e73d(_0x5ef101,_0xcab42c,_0x155c36):_0x28e73d(_0x5ef101,_0xcab42c))||_0x155c36);}return _0x4b5f1f>0x3&&_0x155c36&&Object[_0x206daf(0x37a)](_0x5ef101,_0xcab42c,_0x155c36),_0x155c36;}const Br=_0x3262c5('base.permission.service');let Vr=class extends _0x183939{constructor(_0xc323cf,_0x31958a){const _0x113128=_0x5daf81;super(),this[_0x113128(0x43e)]=_0xc323cf,this[_0x113128(0x443)]=_0x31958a,G(this,_0x113128(0x22b),new Map()),G(this,_0x113128(0x2c8),new Map()),G(this,_0x113128(0x1f7),new Map()),G(this,'_recordPermissions',new Map()),G(this,_0x113128(0x28b),new Map()),G(this,_0x113128(0x319),new Map()),this[_0x113128(0x314)](this[_0x113128(0x443)]['getTypeOfUnitDisposed$'](_0x2ddca0[_0x113128(0x33d)])[_0x113128(0x341)](_0x164beb=>this['_clearUnit'](_0x164beb[_0x113128(0x506)]())));}[_0x5daf81(0x477)](_0x2021db){const _0x150bb7=_0x5daf81;var _0x5c96ce;return this['_canEdit'](_0x2021db,[])&&(((_0x5c96ce=this[_0x150bb7(0x22b)][_0x150bb7(0x315)](_0x2021db))==null?void 0x0:_0x5c96ce[_0x150bb7(0x3e6)])??!0x0);}['canEditTable'](_0x5a28c2){const _0x535da2=_0x5daf81;return this[_0x535da2(0x2b7)](_0x5a28c2);}[_0x5daf81(0x1e4)](_0x32f035){const _0x421e2c=_0x5daf81;var _0x5678a6;return this['_canEditTable'](_0x32f035)&&(((_0x5678a6=this[_0x421e2c(0x2c8)][_0x421e2c(0x315)](_0x32f035))==null?void 0x0:_0x5678a6['delete'])??!0x0);}[_0x5daf81(0x4bd)](_0x21309e){const _0x2f0408=_0x5daf81;var _0x43ee80;return this[_0x2f0408(0x2b7)](_0x21309e)&&(((_0x43ee80=this['_tablePermissions'][_0x2f0408(0x315)](_0x21309e))==null?void 0x0:_0x43ee80[_0x2f0408(0x543)])??!0x0);}['canEditField'](_0x2ace54,_0x355ab8){const _0xb9fa9b=_0x5daf81;var _0x5351d7;return this[_0xb9fa9b(0x2b7)](_0x2ace54)&&this[_0xb9fa9b(0x2c6)](_0x2ace54,[q(_0x2ace54,_0x355ab8)])&&(((_0x5351d7=this[_0xb9fa9b(0x1f7)][_0xb9fa9b(0x315)](Ur(_0x2ace54,_0x355ab8)))==null?void 0x0:_0x5351d7[_0xb9fa9b(0x218)])??!0x0);}[_0x5daf81(0x435)](_0x17d090,_0x1395f4){const _0x2dd804=_0x5daf81;var _0x56248f;return this[_0x2dd804(0x2bd)](_0x17d090,_0x1395f4)&&(((_0x56248f=this['_fieldPermissions'][_0x2dd804(0x315)](Ur(_0x17d090,_0x1395f4)))==null?void 0x0:_0x56248f[_0x2dd804(0x3ae)])??!0x0);}['canCreateRecord'](_0x4774df){const _0x53ba98=_0x5daf81;var _0x3e41fb;return this['_canEditTable'](_0x4774df)&&(((_0x3e41fb=this[_0x53ba98(0x2c8)]['get'](_0x4774df))==null?void 0x0:_0x3e41fb[_0x53ba98(0x283)])??!0x0);}[_0x5daf81(0x3b5)](_0x3398e8,_0x2b69f7){const _0x5c30b8=_0x5daf81;var _0x863112;let _0x267a5d=this[_0x5c30b8(0x2c0)][_0x5c30b8(0x315)](Wr(_0x3398e8,_0x2b69f7));return this[_0x5c30b8(0x2c6)](_0x3398e8,[K(_0x3398e8),J(_0x3398e8,_0x2b69f7)])&&(((_0x863112=this[_0x5c30b8(0x2c8)][_0x5c30b8(0x315)](_0x3398e8))==null?void 0x0:_0x863112[_0x5c30b8(0x218)])??!0x0)&&((_0x267a5d==null?void 0x0:_0x267a5d[_0x5c30b8(0x218)])??!0x0)&&((_0x267a5d==null?void 0x0:_0x267a5d[_0x5c30b8(0x364)])??!0x0);}[_0x5daf81(0x408)](_0xca3ef0,_0x716a82){const _0x4b2e7d=_0x5daf81;var _0x408857,_0x3ea89f,_0xa8a31c;return this[_0x4b2e7d(0x2c6)](_0xca3ef0,[K(_0xca3ef0),J(_0xca3ef0,_0x716a82)])&&(((_0x408857=this[_0x4b2e7d(0x2c8)][_0x4b2e7d(0x315)](_0xca3ef0))==null?void 0x0:_0x408857['edit'])??!0x0)&&(((_0x3ea89f=this[_0x4b2e7d(0x2c0)]['get'](Wr(_0xca3ef0,_0x716a82)))==null?void 0x0:_0x3ea89f[_0x4b2e7d(0x218)])??!0x0)&&(((_0xa8a31c=this[_0x4b2e7d(0x2c0)][_0x4b2e7d(0x315)](Wr(_0xca3ef0,_0x716a82)))==null?void 0x0:_0xa8a31c['delete'])??!0x0);}[_0x5daf81(0x1be)](_0x33a770,_0x5b494f,_0xf0a5b4){const _0x784c02=_0x5daf81;var _0x5b8981,_0xb7918,_0x5357de;let _0x3aa8b8=this['_fieldPermissions'][_0x784c02(0x315)](Ur(_0x33a770,_0xf0a5b4));return this[_0x784c02(0x2c6)](_0x33a770,[K(_0x33a770),q(_0x33a770,_0xf0a5b4),J(_0x33a770,_0x5b494f)])&&(((_0x5b8981=this['_tablePermissions']['get'](_0x33a770))==null?void 0x0:_0x5b8981[_0x784c02(0x218)])??!0x0)&&(((_0xb7918=this[_0x784c02(0x2c0)][_0x784c02(0x315)](Wr(_0x33a770,_0x5b494f)))==null?void 0x0:_0xb7918[_0x784c02(0x218)])??!0x0)&&(((_0x5357de=this[_0x784c02(0x2c0)][_0x784c02(0x315)](Wr(_0x33a770,_0x5b494f)))==null?void 0x0:_0x5357de['editCell'])??!0x0)&&((_0x3aa8b8==null?void 0x0:_0x3aa8b8[_0x784c02(0x218)])??!0x0)&&((_0x3aa8b8==null?void 0x0:_0x3aa8b8[_0x784c02(0x364)])??!0x0);}[_0x5daf81(0x373)](_0x323534,_0x63155){const _0x5ce455=_0x5daf81;var _0x55c960,_0x5c7ca6,_0x1f3b6a;return this[_0x5ce455(0x2c6)](_0x323534,[K(_0x323534),Mr(_0x323534,_0x63155)])&&(((_0x55c960=this['_tablePermissions'][_0x5ce455(0x315)](_0x323534))==null?void 0x0:_0x55c960[_0x5ce455(0x218)])??!0x0)&&(((_0x5c7ca6=this[_0x5ce455(0x28b)][_0x5ce455(0x315)](Gr(_0x323534,_0x63155)))==null?void 0x0:_0x5c7ca6[_0x5ce455(0x218)])??!0x0)&&(((_0x1f3b6a=this['_tablePermissions']['get'](_0x323534))==null?void 0x0:_0x1f3b6a[_0x5ce455(0x27e)])??!0x0);}[_0x5daf81(0x52f)](_0x4aa06e,_0x521e6b){const _0x33df45=_0x5daf81;this[_0x33df45(0x22b)][_0x33df45(0x1ba)](_0x4aa06e,{...this['_basePermissions'][_0x33df45(0x315)](_0x4aa06e),..._0x521e6b}),_0x521e6b[_0x33df45(0x218)]!==void 0x0&&Ir(this['_permissionService'],_0x4aa06e,_0x4aa06e,_0x44dc45[_0x33df45(0x555)],_0x521e6b['edit']);}[_0x5daf81(0x2b9)](_0x221689,_0x1d10ca){const _0x1870ed=_0x5daf81;this[_0x1870ed(0x4d0)](_0x221689),this[_0x1870ed(0x2c8)]['set'](_0x221689,{...this[_0x1870ed(0x2c8)][_0x1870ed(0x315)](_0x221689),..._0x1d10ca}),this[_0x1870ed(0x2ae)](_0x221689,K(_0x221689),_0x1d10ca[_0x1870ed(0x218)]);}['setFieldPermission'](_0x287546,_0x110fb6,_0x2d77b8){const _0x118c9d=_0x5daf81;this['_rememberTable'](_0x287546);let _0x541e78=Ur(_0x287546,_0x110fb6);this['_fieldPermissions']['set'](_0x541e78,{...this[_0x118c9d(0x1f7)][_0x118c9d(0x315)](_0x541e78),..._0x2d77b8}),this['_setObjectEdit'](_0x287546,q(_0x287546,_0x110fb6),_0x2d77b8[_0x118c9d(0x218)]);}['setRecordPermission'](_0x4d8e7f,_0x383d84,_0x54ff38){const _0x59ed73=_0x5daf81;this[_0x59ed73(0x4d0)](_0x4d8e7f);let _0x52b23c=Wr(_0x4d8e7f,_0x383d84);this[_0x59ed73(0x2c0)][_0x59ed73(0x1ba)](_0x52b23c,{...this[_0x59ed73(0x2c0)]['get'](_0x52b23c),..._0x54ff38}),this[_0x59ed73(0x2ae)](_0x4d8e7f,J(_0x4d8e7f,_0x383d84),_0x54ff38[_0x59ed73(0x218)]);}[_0x5daf81(0x35e)](_0x52a40a,_0x1ab361,_0x220bb1){const _0x11c95d=_0x5daf81;this[_0x11c95d(0x4d0)](_0x52a40a);let _0x260fe6=Gr(_0x52a40a,_0x1ab361);this['_viewPermissions'][_0x11c95d(0x1ba)](_0x260fe6,{...this[_0x11c95d(0x28b)]['get'](_0x260fe6),..._0x220bb1}),this['_setObjectEdit'](_0x52a40a,Mr(_0x52a40a,_0x1ab361),_0x220bb1[_0x11c95d(0x218)]);}[_0x5daf81(0x40a)](_0x5521ab){const _0x52b9cb=_0x5daf81;this['_basePermissions'][_0x52b9cb(0x3ae)](_0x5521ab),Lr(this[_0x52b9cb(0x43e)],_0x5521ab,_0x5521ab,_0x44dc45[_0x52b9cb(0x555)]);}[_0x5daf81(0x3f4)](_0x395396){const _0x3b98e8=_0x5daf81;this[_0x3b98e8(0x2c8)]['delete'](_0x395396),this[_0x3b98e8(0x502)](_0x395396,K(_0x395396));}['clearFieldPermission'](_0x55c835,_0x155077){const _0x60b42=_0x5daf81;this[_0x60b42(0x1f7)]['delete'](Ur(_0x55c835,_0x155077)),this[_0x60b42(0x502)](_0x55c835,q(_0x55c835,_0x155077));}[_0x5daf81(0x1fd)](_0x40b011,_0x380c10){const _0x16a009=_0x5daf81;this['_recordPermissions'][_0x16a009(0x3ae)](Wr(_0x40b011,_0x380c10)),this[_0x16a009(0x502)](_0x40b011,J(_0x40b011,_0x380c10));}[_0x5daf81(0x471)](_0x3e5866,_0x46ecc3){const _0x183613=_0x5daf81;this[_0x183613(0x28b)][_0x183613(0x3ae)](Gr(_0x3e5866,_0x46ecc3)),this[_0x183613(0x502)](_0x3e5866,Mr(_0x3e5866,_0x46ecc3));}[_0x5daf81(0x2f3)](){const _0x3755a0=_0x5daf81;return{'bases':Object[_0x3755a0(0x407)](this[_0x3755a0(0x22b)]),'tables':Object['fromEntries'](this[_0x3755a0(0x2c8)]),'fields':Object[_0x3755a0(0x407)](this['_fieldPermissions']),'records':Object[_0x3755a0(0x407)](this[_0x3755a0(0x2c0)]),'views':Object[_0x3755a0(0x407)](this[_0x3755a0(0x28b)])};}[_0x5daf81(0x2b7)](_0x1da631){const _0x190e1e=_0x5daf81;var _0x5e3d4c;return this[_0x190e1e(0x2c6)](_0x1da631,[K(_0x1da631)])&&(((_0x5e3d4c=this[_0x190e1e(0x2c8)][_0x190e1e(0x315)](_0x1da631))==null?void 0x0:_0x5e3d4c[_0x190e1e(0x218)])??!0x0);}[_0x5daf81(0x2c6)](_0x26591e,_0xd7c73){const _0x1343af=_0x5daf81;var _0x2f40aa;let _0x14cd80=this[_0x1343af(0x45c)](_0x26591e);return!_0x14cd80||zr(this['_permissionService'],_0x14cd80,_0xd7c73)&&(((_0x2f40aa=this[_0x1343af(0x22b)]['get'](_0x14cd80))==null?void 0x0:_0x2f40aa[_0x1343af(0x218)])??!0x0);}[_0x5daf81(0x2ae)](_0x2caaef,_0x557a2b,_0x6e6d6e){const _0x39dc4e=_0x5daf81;if(_0x6e6d6e===void 0x0)return;let _0x3880a7=this[_0x39dc4e(0x45c)](_0x2caaef);_0x3880a7&&Ir(this[_0x39dc4e(0x43e)],_0x3880a7,_0x557a2b,_0x44dc45[_0x39dc4e(0x555)],_0x6e6d6e);}[_0x5daf81(0x502)](_0x5362e6,_0x487afa){const _0x3c979d=_0x5daf81;let _0x34ba84=this['_resolveBaseId'](_0x5362e6);_0x34ba84&&Lr(this[_0x3c979d(0x43e)],_0x34ba84,_0x487afa,_0x44dc45[_0x3c979d(0x555)]);}[_0x5daf81(0x45c)](_0x417292){const _0x1a7bcb=_0x5daf81;var _0x40c19a;let _0x1b0409=this[_0x1a7bcb(0x443)]['getUnit'](_0x417292,_0x2ddca0[_0x1a7bcb(0x33d)]);return _0x1b0409?_0x1b0409[_0x1a7bcb(0x506)]():(_0x40c19a=this[_0x1a7bcb(0x443)][_0x1a7bcb(0x34d)](_0x2ddca0['UNIVER_BASE'])['find'](_0x1e03da=>!!_0x1e03da[_0x1a7bcb(0x2f3)]()['tables'][_0x417292]))==null?void 0x0:_0x40c19a[_0x1a7bcb(0x506)]();}[_0x5daf81(0x4d0)](_0x1479cf){const _0x1b2c73=_0x5daf81;let _0x422fbd=this[_0x1b2c73(0x45c)](_0x1479cf);_0x422fbd&&this[_0x1b2c73(0x319)][_0x1b2c73(0x1ba)](_0x1479cf,_0x422fbd);}[_0x5daf81(0x3c9)](_0x1656e8){const _0x4ed80a=_0x5daf81;this[_0x4ed80a(0x22b)][_0x4ed80a(0x3ae)](_0x1656e8),this[_0x4ed80a(0x319)][_0x4ed80a(0x429)]((_0x29064f,_0x1c1917)=>{const _0x15e8ac=_0x4ed80a;_0x29064f===_0x1656e8&&(this['_tablePermissions'][_0x15e8ac(0x3ae)](_0x1c1917),Hr(this['_fieldPermissions'],_0x1c1917+'\x1f'),Hr(this[_0x15e8ac(0x2c0)],_0x1c1917+'\x1f'),Hr(this[_0x15e8ac(0x28b)],_0x1c1917+'\x1f'),this[_0x15e8ac(0x319)]['delete'](_0x1c1917));});}};Vr=X([Y(0x0,_0x2f962f),Y(0x1,_0x364596)],Vr);function Hr(_0x2fc79a,_0x331ec6){const _0x16b86b=_0x5daf81;_0x2fc79a[_0x16b86b(0x429)]((_0x5b1905,_0x3d4cad)=>{_0x3d4cad['startsWith'](_0x331ec6)&&_0x2fc79a['delete'](_0x3d4cad);});}function Ur(_0x5606eb,_0x5ca9a6){return _0x5606eb+'\x1f'+_0x5ca9a6;}function Wr(_0x56462a,_0x3c0549){return _0x56462a+'\x1f'+_0x3c0549;}function Gr(_0x3171b6,_0xb88c2b){return _0x3171b6+'\x1f'+_0xb88c2b;}const Kr=_0x3262c5(_0x5daf81(0x3ab));let qr=class{constructor(_0x1d8826,_0x3453b4=Jr(),_0x170c1c={}){const _0x5732db=_0x5daf81;this['_permissionService']=_0x1d8826,this[_0x5732db(0x47d)]=_0x3453b4,this[_0x5732db(0x2e7)]=_0x170c1c,G(this,_0x5732db(0x545),new W()),G(this,_0x5732db(0x4cb),new z());}[_0x5daf81(0x3e6)](_0x45af33,_0x3cf17a,_0x17983b){const _0x14441b=_0x5daf81;if(!this['_permissionService'][_0x14441b(0x477)](_0x45af33[_0x14441b(0x506)]()))throw Error(_0x14441b(0x412));_0x3db867(_0x3cf17a),this[_0x14441b(0x2f6)](_0x45af33,this[_0x14441b(0x545)][_0x14441b(0x3e6)](_0x45af33['getSnapshot'](),_0x3cf17a,_0x17983b));}[_0x5daf81(0x3c3)](_0x1ceed4,_0x178807,_0x26df02){const _0x4e2682=_0x5daf81;if(!this[_0x4e2682(0x43e)][_0x4e2682(0x28d)](_0x178807))throw Error(_0x4e2682(0x44f));this['_apply'](_0x1ceed4,this[_0x4e2682(0x545)][_0x4e2682(0x3c3)](_0x1ceed4[_0x4e2682(0x2f3)](),_0x178807,_0x26df02));}['deleteTable'](_0x5a405b,_0x3f17ac){const _0x12e94e=_0x5daf81;if(!this[_0x12e94e(0x43e)]['canDeleteTable'](_0x3f17ac))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0x1deb51=He(_0x5a405b[_0x12e94e(0x2f3)](),_0x3f17ac);if(_0x1deb51[_0x12e94e(0x21d)]>0x0)throw Error(_0x12e94e(0x4af)+_0x1deb51['map'](_0x8db854=>_0x8db854['tableId']+'.'+_0x8db854['fieldId'])[_0x12e94e(0x30a)](',\x20')+').');this[_0x12e94e(0x2f6)](_0x5a405b,this[_0x12e94e(0x545)][_0x12e94e(0x4ed)](_0x5a405b[_0x12e94e(0x2f3)](),_0x3f17ac));}[_0x5daf81(0x2ef)](_0x3210f1,_0x556ff7,_0x51e9d9,_0x1a7500,_0x5c34c3){const _0x5f0891=_0x5daf81;this[_0x5f0891(0x2f6)](_0x3210f1,this[_0x5f0891(0x46c)](_0x3210f1,_0x556ff7,_0x51e9d9,_0x1a7500,_0x5c34c3));}[_0x5daf81(0x529)](_0x191160,_0x41ef47,_0x49b145){const _0x4ca632=_0x5daf81;this['_apply'](_0x191160,this[_0x4ca632(0x2be)](_0x191160,_0x41ef47,_0x49b145));}[_0x5daf81(0x283)](_0x665f23,_0x229994,_0x39778a){const _0x40b4d0=_0x5daf81;this[_0x40b4d0(0x2f6)](_0x665f23,this[_0x40b4d0(0x52d)](_0x665f23,_0x229994,_0x39778a));}[_0x5daf81(0x46c)](_0x517d49,_0x46630a,_0x21fb4a,_0xc9917d,_0x201d0c){const _0x2fffca=_0x5daf81;let _0x401343=_0x517d49[_0x2fffca(0x2f3)](),_0x134562=this[_0x2fffca(0x2b4)](_0x401343,_0x46630a,_0x21fb4a,_0xc9917d,_0x201d0c),_0x45179a=this[_0x2fffca(0x1fc)](_0x401343,_0x46630a,_0x21fb4a,{[_0xc9917d]:_0x134562});return this[_0x2fffca(0x545)][_0x2fffca(0x529)](_0x401343,_0x46630a,[_0x45179a]);}[_0x5daf81(0x2be)](_0x50b148,_0x13871f,_0x331966){const _0x8e637b=_0x5daf81;let _0x10ba0e=_0x50b148['getSnapshot'](),_0x2c7648=_0x331966['map'](_0x51d946=>this[_0x8e637b(0x1fc)](_0x10ba0e,_0x13871f,_0x51d946[_0x8e637b(0x1c6)],{...Object[_0x8e637b(0x407)](Object[_0x8e637b(0x2e4)](_0x51d946[_0x8e637b(0x45b)])[_0x8e637b(0x2b0)](([_0x4ae60d,_0x23f8ad])=>[_0x4ae60d,this[_0x8e637b(0x2b4)](_0x10ba0e,_0x13871f,_0x51d946[_0x8e637b(0x1c6)],_0x4ae60d,_0x23f8ad)]))}));return this['_factory']['setRecordValues'](_0x10ba0e,_0x13871f,_0x2c7648);}[_0x5daf81(0x52d)](_0x4dd31b,_0x27e3d0,_0x1960c7){const _0x489897=_0x5daf81;if(!this[_0x489897(0x43e)][_0x489897(0x31b)](_0x27e3d0))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x2cc1b3=_0x4dd31b[_0x489897(0x2f3)](),_0x18e860=this[_0x489897(0x244)](_0x2cc1b3[_0x489897(0x2f7)][_0x27e3d0]);return this[_0x489897(0x545)][_0x489897(0x283)](_0x2cc1b3,_0x27e3d0,this[_0x489897(0x39d)](_0x2cc1b3,_0x27e3d0,_0x1960c7,_0x18e860));}[_0x5daf81(0x556)](_0x5d9cb2,_0x17847b,_0x80e081){const _0x5bde61=_0x5daf81;if(!this[_0x5bde61(0x43e)][_0x5bde61(0x31b)](_0x17847b))throw Error(_0x5bde61(0x34e));let _0x3d164d=_0x5d9cb2[_0x5bde61(0x2f3)]();return I('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x6be912=_0x5bde61;let _0x2290f8=this[_0x6be912(0x244)](_0x3d164d[_0x6be912(0x2f7)][_0x17847b]);return this[_0x6be912(0x545)][_0x6be912(0x4da)](_0x3d164d,_0x17847b,_0x80e081[_0x6be912(0x2b0)](_0xa874ce=>this[_0x6be912(0x39d)](_0x3d164d,_0x17847b,_0xa874ce,_0x2290f8)));},{'existingRecords':Object[_0x5bde61(0x46f)](_0x3d164d[_0x5bde61(0x2f7)][_0x17847b]['records'])['length'],'records':_0x80e081['length']});}[_0x5daf81(0x539)](_0x390ea5,_0x41393,_0xe77d10,_0x3caf13,_0x1e6ac4){const _0x488316=_0x5daf81;if(!this[_0x488316(0x43e)][_0x488316(0x4bd)](_0x41393))throw Error(_0x488316(0x2de));let _0x4f23e3=_0x390ea5[_0x488316(0x2f3)]();if(this[_0x488316(0x405)](_0x4f23e3,_0xe77d10),_0x3caf13===0x0)throw Error(_0x488316(0x446));let _0x511a1d=this['_factory']['createField'](_0x4f23e3,_0x41393,{'field':_0xe77d10,'index':_0x3caf13,'viewIndexes':_0x1e6ac4}),_0x1d6d67=this[_0x488316(0x522)](_0x4f23e3,_0x41393,_0xe77d10);if(!_0x1d6d67['length'])return _0x511a1d;let _0x5c60de=this[_0x488316(0x4cb)][_0x488316(0x525)](_0x4f23e3,_0x511a1d);return R([_0x511a1d,this[_0x488316(0x545)]['setRecordValues'](_0x5c60de,_0x41393,_0x1d6d67)]);}[_0x5daf81(0x45e)](_0x3c2aa9,_0x5466b6,_0x15b21d){const _0x71f55d=_0x5daf81;if(!this[_0x71f55d(0x43e)][_0x71f55d(0x408)](_0x5466b6,_0x15b21d))throw Error(_0x71f55d(0x498));this[_0x71f55d(0x2f6)](_0x3c2aa9,this[_0x71f55d(0x545)]['deleteRecord'](_0x3c2aa9[_0x71f55d(0x2f3)](),_0x5466b6,_0x15b21d));}['duplicateRecord'](_0x54642b,_0x3228be,_0x169a73,_0x43f8cb){const _0x551ec7=_0x5daf81;if(!this[_0x551ec7(0x43e)][_0x551ec7(0x31b)](_0x3228be))throw Error(_0x551ec7(0x34e));this['_apply'](_0x54642b,this[_0x551ec7(0x545)][_0x551ec7(0x339)](_0x54642b[_0x551ec7(0x2f3)](),_0x3228be,_0x169a73,{..._0x43f8cb,'values':{..._0x43f8cb['values'],[_0x4a6fc3]:_0x43f8cb['id']}}));}[_0x5daf81(0x3f6)](_0x4470ff,_0x1bd4fd,_0x3acfaf,_0x4276f1){const _0x40033a=_0x5daf81;if(!this[_0x40033a(0x43e)][_0x40033a(0x3b5)](_0x1bd4fd,_0x3acfaf))throw Error(_0x40033a(0x277));this[_0x40033a(0x2f6)](_0x4470ff,this[_0x40033a(0x545)][_0x40033a(0x3f6)](_0x4470ff['getSnapshot'](),_0x1bd4fd,_0x3acfaf,_0x4276f1));}[_0x5daf81(0x543)](_0x403e6d,_0x3d060c,_0x10c807,_0x23837e,_0x31ea3d){const _0x347999=_0x5daf81;this['_apply'](_0x403e6d,this[_0x347999(0x539)](_0x403e6d,_0x3d060c,_0x10c807,_0x23837e,_0x31ea3d));}[_0x5daf81(0x23d)](_0x18d630,_0x309121,_0x2d22b0,_0xe56654){const _0x8006e0=_0x5daf81;var _0x34c575;if(!this[_0x8006e0(0x43e)][_0x8006e0(0x2bd)](_0x309121,_0x2d22b0))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x588dfb=_0x18d630['getSnapshot'](),_0x246ae3=(_0x34c575=_0x588dfb[_0x8006e0(0x2f7)][_0x309121])==null?void 0x0:_0x34c575[_0x8006e0(0x503)][_0x2d22b0];if(!_0x246ae3||_0x2d22b0===_0x4a6fc3)throw Error(_0x8006e0(0x47b));this[_0x8006e0(0x405)](_0x588dfb,{..._0x246ae3,..._0xe56654}),this[_0x8006e0(0x2f6)](_0x18d630,this[_0x8006e0(0x545)][_0x8006e0(0x23d)](_0x588dfb,_0x309121,_0x2d22b0,_0xe56654));}[_0x5daf81(0x4f5)](_0x288031,_0x507623,_0x57efb8,_0x7ccdae){const _0x1d5d70=_0x5daf81;var _0x598f68;if(!this[_0x1d5d70(0x43e)][_0x1d5d70(0x2bd)](_0x507623,_0x57efb8))throw Error(_0x1d5d70(0x3fc));let _0x1c31f8=_0x288031[_0x1d5d70(0x2f3)](),_0x5c4e02=(_0x598f68=_0x1c31f8[_0x1d5d70(0x2f7)][_0x507623])==null?void 0x0:_0x598f68[_0x1d5d70(0x503)][_0x57efb8];if(!_0x5c4e02||_0x57efb8===_0x4a6fc3)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this['_assertFieldDefinition'](_0x1c31f8,{..._0x5c4e02,..._0x7ccdae}),this[_0x1d5d70(0x2f6)](_0x288031,this['_factory'][_0x1d5d70(0x4f5)](_0x1c31f8,_0x507623,_0x57efb8,_0x7ccdae));}[_0x5daf81(0x513)](_0x48c0c3,_0x3e66fc,_0x4fbcb2){const _0x2e7ef2=_0x5daf81;var _0x1799d1;if(((_0x1799d1=_0x48c0c3[_0x2e7ef2(0x2f3)]()[_0x2e7ef2(0x2f7)][_0x3e66fc])==null?void 0x0:_0x1799d1[_0x2e7ef2(0x51f)])===_0x4fbcb2||_0x4fbcb2===_0x4a6fc3)throw Error(_0x2e7ef2(0x211));if(!this[_0x2e7ef2(0x43e)][_0x2e7ef2(0x435)](_0x3e66fc,_0x4fbcb2))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this['_apply'](_0x48c0c3,this[_0x2e7ef2(0x545)][_0x2e7ef2(0x513)](_0x48c0c3[_0x2e7ef2(0x2f3)](),_0x3e66fc,_0x4fbcb2));}['moveField'](_0x4a4617,_0x1bf2d4,_0x36daf9,_0x38f8dd){const _0x5471b9=_0x5daf81;if(!this[_0x5471b9(0x43e)][_0x5471b9(0x2bd)](_0x1bf2d4,_0x36daf9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x36daf9===_0x4a6fc3||_0x38f8dd[_0x5471b9(0x1c5)]===_0x4a6fc3)throw Error(_0x5471b9(0x3ed));this[_0x5471b9(0x2f6)](_0x4a4617,this[_0x5471b9(0x545)][_0x5471b9(0x3c8)](_0x4a4617['getSnapshot'](),_0x1bf2d4,_0x36daf9,_0x38f8dd));}[_0x5daf81(0x1b6)](_0xb6dcf0,_0x487f40,_0x58fc70,_0x46d3b1){const _0x5bd3e7=_0x5daf81;if(!this[_0x5bd3e7(0x43e)][_0x5bd3e7(0x373)](_0x487f40,_0x58fc70['id']))throw Error(_0x5bd3e7(0x3a2));this[_0x5bd3e7(0x2f6)](_0xb6dcf0,this[_0x5bd3e7(0x545)][_0x5bd3e7(0x1b6)](_0xb6dcf0[_0x5bd3e7(0x2f3)](),_0x487f40,_0x58fc70,_0x46d3b1));}[_0x5daf81(0x461)](_0x39b46b,_0x402b57,_0xa8359e,_0x47a37c){const _0x2359b7=_0x5daf81;if(!this[_0x2359b7(0x43e)][_0x2359b7(0x373)](_0x402b57,_0xa8359e))throw Error(_0x2359b7(0x3a2));this[_0x2359b7(0x2f6)](_0x39b46b,this[_0x2359b7(0x545)][_0x2359b7(0x461)](_0x39b46b[_0x2359b7(0x2f3)](),_0x402b57,_0xa8359e,_0x47a37c));}[_0x5daf81(0x302)](_0x4359cb,_0x35d28c,_0xf26df3){const _0x4fdd3c=_0x5daf81;if(!this[_0x4fdd3c(0x43e)][_0x4fdd3c(0x373)](_0x35d28c,_0xf26df3))throw Error(_0x4fdd3c(0x3a2));this[_0x4fdd3c(0x2f6)](_0x4359cb,this[_0x4fdd3c(0x545)][_0x4fdd3c(0x302)](_0x4359cb[_0x4fdd3c(0x2f3)](),_0x35d28c,_0xf26df3));}[_0x5daf81(0x2d3)](_0x5bd055,_0x55d227,_0x3527f0,_0x5bf492){const _0x2c87fd=_0x5daf81;if(!this[_0x2c87fd(0x43e)]['canManageView'](_0x55d227,_0x3527f0))throw Error(_0x2c87fd(0x3a2));this[_0x2c87fd(0x2f6)](_0x5bd055,this['_factory'][_0x2c87fd(0x2d3)](_0x5bd055['getSnapshot'](),_0x55d227,_0x3527f0,_0x5bf492));}['updateViewConfig'](_0x1c3db9,_0x86173f,_0x2286ae,_0x30a549){const _0x1c241f=_0x5daf81;if(!this[_0x1c241f(0x43e)][_0x1c241f(0x373)](_0x86173f,_0x2286ae))throw Error(_0x1c241f(0x3a2));this[_0x1c241f(0x2f6)](_0x1c3db9,this['_factory'][_0x1c241f(0x4c9)](_0x1c3db9[_0x1c241f(0x2f3)](),_0x86173f,_0x2286ae,_0x30a549));}[_0x5daf81(0x4ea)](_0x1660b1,_0x90d1e6,_0x247c11,_0x23cb90){const _0x1db476=_0x5daf81;if(!this[_0x1db476(0x43e)]['canManageView'](_0x90d1e6,_0x247c11))throw Error(_0x1db476(0x3a2));this['_apply'](_0x1660b1,this[_0x1db476(0x545)][_0x1db476(0x4ea)](_0x1660b1['getSnapshot'](),_0x90d1e6,_0x247c11,_0x23cb90));}[_0x5daf81(0x367)](_0x2abc16,_0x398af2,_0x20768f,_0x1a2126){const _0xb955b1=_0x5daf81;if(!this['_permissionService'][_0xb955b1(0x373)](_0x398af2,_0x20768f))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0xb955b1(0x2f6)](_0x2abc16,this['_factory'][_0xb955b1(0x367)](_0x2abc16[_0xb955b1(0x2f3)](),_0x398af2,_0x20768f,_0x1a2126));}[_0x5daf81(0x40b)](_0x52ecd9,_0x3e1f07,_0x45f729,_0x52c385){const _0x274377=_0x5daf81;if(!this[_0x274377(0x43e)][_0x274377(0x373)](_0x3e1f07,_0x45f729))throw Error(_0x274377(0x3a2));this['_apply'](_0x52ecd9,this[_0x274377(0x545)][_0x274377(0x40b)](_0x52ecd9[_0x274377(0x2f3)](),_0x3e1f07,_0x45f729,_0x52c385));}[_0x5daf81(0x44d)](_0xf36205,_0x4790db,_0x268896,_0x30a8c2,_0x557147){const _0x8683a6=_0x5daf81;if(!this[_0x8683a6(0x43e)][_0x8683a6(0x373)](_0x4790db,_0x268896))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0xf36205,this[_0x8683a6(0x545)][_0x8683a6(0x44d)](_0xf36205[_0x8683a6(0x2f3)](),_0x4790db,_0x268896,_0x30a8c2,_0x557147));}['setViewFieldWidth'](_0x1545f1,_0x1f4d03,_0x516d16,_0x5a78a4,_0xe2ad34){const _0x1aab3e=_0x5daf81;if(!this[_0x1aab3e(0x43e)]['canManageView'](_0x1f4d03,_0x516d16))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x1545f1,this[_0x1aab3e(0x545)][_0x1aab3e(0x41a)](_0x1545f1['getSnapshot'](),_0x1f4d03,_0x516d16,_0x5a78a4,_0xe2ad34));}[_0x5daf81(0x511)](_0x2d4499,_0x2b0354,_0x27ec59,_0x64ad44,_0x2b99a1){const _0x40a481=_0x5daf81;if(!this[_0x40a481(0x43e)][_0x40a481(0x373)](_0x2b0354,_0x27ec59))throw Error(_0x40a481(0x3a2));this[_0x40a481(0x2f6)](_0x2d4499,this[_0x40a481(0x545)][_0x40a481(0x511)](_0x2d4499[_0x40a481(0x2f3)](),_0x2b0354,_0x27ec59,_0x64ad44,_0x2b99a1));}['_apply'](_0x122284,_0x230670){const _0x310021=_0x5daf81;let _0x1b1d1d=_0x122284[_0x310021(0x2f3)]();_0x122284[_0x310021(0x49d)](this['_applier']['applyOp'](_0x1b1d1d,_0x230670));}['_createRecordWithDefaults'](_0x3c92bf,_0x3134a6,_0x472063,_0x16c8f8=this['_createNumberingAllocators'](_0x3c92bf[_0x5daf81(0x2f7)][_0x3134a6])){const _0x5230e3=_0x5daf81;let _0x3dc908=_0x3c92bf[_0x5230e3(0x2f7)][_0x3134a6],_0x359b18=_0x472063[_0x5230e3(0x416)]??_0x472063['updatedBy']??this[_0x5230e3(0x2d2)](),_0x73a65e={..._0x472063,'createdBy':_0x472063[_0x5230e3(0x416)]??_0x359b18,'updatedBy':_0x472063[_0x5230e3(0x382)]??_0x359b18,'values':{..._0x472063[_0x5230e3(0x45b)]}};return _0x73a65e[_0x5230e3(0x45b)][_0x4a6fc3]=_0x73a65e['id'],_0x3dc908['fieldOrder'][_0x5230e3(0x429)](_0x159060=>{const _0x113a0f=_0x5230e3;let _0x5a672e=_0x3dc908['fields'][_0x159060];if(_0x5a672e&&_0x73a65e[_0x113a0f(0x45b)][_0x159060]===void 0x0)switch(_0x5a672e[_0x113a0f(0x305)]){case _0x618ba['Numbering']:var _0x5bd104;_0x73a65e[_0x113a0f(0x45b)][_0x159060]=((_0x5bd104=_0x16c8f8[_0x113a0f(0x315)](_0x159060))==null?void 0x0:_0x5bd104())??this[_0x113a0f(0x38f)](_0x3dc908,_0x159060)();break;case _0x618ba[_0x113a0f(0x366)]:_0x73a65e['createdBy']&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x73a65e[_0x113a0f(0x416)]);break;case _0x618ba['UpdatedBy']:_0x73a65e[_0x113a0f(0x382)]&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x73a65e[_0x113a0f(0x382)]);break;case _0x618ba[_0x113a0f(0x3fb)]:_0x73a65e[_0x113a0f(0x45b)][_0x159060]=B(_0x73a65e[_0x113a0f(0x1b8)]);break;case _0x618ba['UpdatedAt']:_0x73a65e[_0x113a0f(0x45b)][_0x159060]=B(_0x73a65e[_0x113a0f(0x35b)]);break;default:{let _0x1f0aab=_0x5a672e[_0x113a0f(0x224)];_0x1f0aab!=null&&_0x1f0aab!==''&&!(Array[_0x113a0f(0x31e)](_0x1f0aab)&&_0x1f0aab[_0x113a0f(0x21d)]===0x0)&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x1f0aab);}}}),_0x73a65e;}['_withModifiedSystemValues'](_0x2ae33d,_0x5cef25,_0x3a4796,_0x3f89e6){const _0x38e066=_0x5daf81;var _0x246738,_0x5b18a1;let _0x36e811=_0x2ae33d[_0x38e066(0x2f7)][_0x5cef25],_0x503981=((_0x246738=(_0x5b18a1=this[_0x38e066(0x2e7)])[_0x38e066(0x1d5)])==null?void 0x0:_0x246738[_0x38e066(0x35d)](_0x5b18a1))??Date['now'](),_0x296803=this['_getCurrentUserId'](),_0x238f20={..._0x3f89e6};return _0x36e811[_0x38e066(0x1d6)][_0x38e066(0x429)](_0x54ee1d=>{const _0x3a410e=_0x38e066;let _0x137cf0=_0x36e811[_0x3a410e(0x503)][_0x54ee1d];_0x137cf0&&(_0x137cf0['type']===_0x618ba[_0x3a410e(0x29f)]&&(_0x238f20[_0x54ee1d]=B(_0x503981)),_0x137cf0['type']===_0x618ba[_0x3a410e(0x4d3)]&&_0x296803&&(_0x238f20[_0x54ee1d]=_0x296803));}),{'recordId':_0x3a4796,'values':_0x238f20,'recordPatch':{'updatedAt':_0x503981,..._0x296803?{'updatedBy':_0x296803}:{}}};}[_0x5daf81(0x522)](_0x1af03f,_0x363f6e,_0xf0a600){const _0x18e742=_0x5daf81;let _0x5bbcbe=_0x1af03f[_0x18e742(0x2f7)][_0x363f6e];return!_0x5bbcbe||!Yr(_0xf0a600)?[]:_0xf0a600[_0x18e742(0x305)]===_0x618ba[_0x18e742(0x1e7)]?this[_0x18e742(0x41d)](_0x5bbcbe,_0xf0a600['id']):Object['values'](_0x5bbcbe[_0x18e742(0x43a)])['flatMap'](_0x56f66d=>{const _0x2d1a72=_0x18e742;let _0xd4aa2=this[_0x2d1a72(0x48b)](_0xf0a600,_0x56f66d);return _0xd4aa2===void 0x0?[]:[{'recordId':_0x56f66d['id'],'values':{[_0xf0a600['id']]:_0xd4aa2}}];});}[_0x5daf81(0x48b)](_0x463c5b,_0x339b45){const _0x5c09ad=_0x5daf81;switch(_0x463c5b[_0x5c09ad(0x305)]){case _0x618ba[_0x5c09ad(0x366)]:return _0x339b45[_0x5c09ad(0x416)]??this[_0x5c09ad(0x2d2)]();case _0x618ba[_0x5c09ad(0x4d3)]:return _0x339b45['updatedBy']??this[_0x5c09ad(0x2d2)]();case _0x618ba[_0x5c09ad(0x3fb)]:return B(_0x339b45['createdAt']??Date['now']());case _0x618ba['UpdatedAt']:return B(_0x339b45[_0x5c09ad(0x35b)]??Date[_0x5c09ad(0x1d5)]());default:return;}}['_createNumberingAllocators'](_0x38bec2){const _0x5c6700=_0x5daf81;let _0x3fb7a1=new Map();return _0x38bec2&&_0x38bec2[_0x5c6700(0x1d6)][_0x5c6700(0x429)](_0x25b515=>{const _0x5afe4a=_0x5c6700;let _0x1d4a68=_0x38bec2[_0x5afe4a(0x503)][_0x25b515];(_0x1d4a68==null?void 0x0:_0x1d4a68[_0x5afe4a(0x305)])===_0x618ba[_0x5afe4a(0x1e7)]&&_0x3fb7a1[_0x5afe4a(0x1ba)](_0x25b515,this[_0x5afe4a(0x38f)](_0x38bec2,_0x25b515));}),_0x3fb7a1;}[_0x5daf81(0x38f)](_0x54eb96,_0xc62a28){const _0x102054=_0x5daf81;let _0x4cf9a1=Object[_0x102054(0x45b)](_0x54eb96[_0x102054(0x43a)])[_0x102054(0x251)]((_0x196463,_0x195999)=>{const _0x48c1f5=_0x102054;let _0x3ba383=Number(_0x195999[_0x48c1f5(0x45b)][_0xc62a28]);return Number[_0x48c1f5(0x2fc)](_0x3ba383)?Math[_0x48c1f5(0x29c)](_0x196463,_0x3ba383):_0x196463;},0x0);return()=>String(++_0x4cf9a1);}[_0x5daf81(0x41d)](_0x38c05e,_0x50d524){const _0x4a4153=_0x5daf81;let _0x4cfb2d=this[_0x4a4153(0x1d0)](_0x38c05e),_0x9b1382=this[_0x4a4153(0x38f)](_0x38c05e,_0x50d524);return _0x4cfb2d['flatMap'](_0x226979=>this[_0x4a4153(0x53a)](_0x226979[_0x4a4153(0x45b)][_0x50d524])?[]:[{'recordId':_0x226979['id'],'values':{[_0x50d524]:_0x9b1382()}}]);}['_getOrderedRecords'](_0xca130e){const _0x22f043=_0x5daf81;var _0x46ead5;let _0xa2827d=Object['values'](_0xca130e[_0x22f043(0x43a)]),_0x547ed5=new Map(_0xa2827d[_0x22f043(0x2b0)](_0x5b627=>[_0x5b627['id'],_0x5b627])),_0x11b66f=[],_0x22ab12=new Set();(_0x46ead5=_0xca130e[_0x22f043(0x3da)])==null||_0x46ead5[_0x22f043(0x429)](_0x29705a=>{const _0x58af64=_0x22f043;let _0x459de4=_0x547ed5[_0x58af64(0x315)](_0x29705a);_0x459de4&&(_0x11b66f[_0x58af64(0x482)](_0x459de4),_0x22ab12[_0x58af64(0x4ee)](_0x29705a));});let _0x18d9a9=_0xa2827d['filter'](_0x2566e8=>!_0x22ab12[_0x22f043(0x253)](_0x2566e8['id']))[_0x22f043(0x3c5)]((_0x2758bf,_0x4504e2)=>String(_0x2758bf[_0x22f043(0x2a2)]??_0x2758bf['id'])[_0x22f043(0x202)](String(_0x4504e2[_0x22f043(0x2a2)]??_0x4504e2['id']))||_0x2758bf['id'][_0x22f043(0x202)](_0x4504e2['id']));return[..._0x11b66f,..._0x18d9a9];}[_0x5daf81(0x53a)](_0xb51f6e){const _0x528fbb=_0x5daf81;return _0xb51f6e!=null&&_0xb51f6e!==''&&!(Array[_0x528fbb(0x31e)](_0xb51f6e)&&_0xb51f6e[_0x528fbb(0x21d)]===0x0);}[_0x5daf81(0x2d2)](){const _0x6d9864=_0x5daf81;var _0x3ac2bf,_0x539b7e,_0xbc99ca,_0x542359;return((_0x3ac2bf=(_0x539b7e=this[_0x6d9864(0x2e7)])[_0x6d9864(0x2a6)])==null?void 0x0:_0x3ac2bf['call'](_0x539b7e))??((_0xbc99ca=(_0x542359=this['_runtimeContext'])[_0x6d9864(0x279)])==null||(_0xbc99ca=_0xbc99ca[_0x6d9864(0x35d)](_0x542359))==null?void 0x0:_0xbc99ca[_0x6d9864(0x287)])??void 0x0;}[_0x5daf81(0x2b4)](_0x38390c,_0x479862,_0x5a6f83,_0x1d3d60,_0x43ef04){const _0xc5a47c=_0x5daf81;var _0x18b290;if(!this[_0xc5a47c(0x43e)][_0xc5a47c(0x1be)](_0x479862,_0x5a6f83,_0x1d3d60))throw Error(_0xc5a47c(0x4de));let _0x25cee2=(_0x18b290=_0x38390c[_0xc5a47c(0x2f7)][_0x479862])==null?void 0x0:_0x18b290['fields'][_0x1d3d60];if(!_0x25cee2)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x1d3d60+_0xc5a47c(0x362));let _0x4ff304=this[_0xc5a47c(0x47d)][_0xc5a47c(0x315)](_0x25cee2[_0xc5a47c(0x305)]);if(_0x25cee2['readonly']||_0x25cee2[_0xc5a47c(0x3db)]||!_0x4ff304[_0xc5a47c(0x4a4)](_0x25cee2)[_0xc5a47c(0x2cf)])throw Error(_0xc5a47c(0x360));let _0x37c3b1=_0x4ff304['normalize'](_0x43ef04,_0x25cee2),_0xe90fe=_0x4ff304[_0xc5a47c(0x240)](_0x37c3b1,_0x25cee2);if(!_0xe90fe[_0xc5a47c(0x36d)])throw Error(_0xe90fe['reason']??'[BaseCommandService]:\x20invalid\x20cell\x20value.');let _0x556975=_0x25cee2[_0xc5a47c(0x305)]===_0x618ba[_0xc5a47c(0x2e6)]?Ve(_0x38390c,_0x25cee2,_0x37c3b1):{'valid':!0x0};if(!_0x556975[_0xc5a47c(0x36d)])throw Error(_0x556975['reason']??_0xc5a47c(0x1fa));return _0x37c3b1;}['_assertFieldDefinition'](_0x2e8716,_0x26ae8d){const _0x2a4d80=_0x5daf81;if(_0x26ae8d['id']===_0x4a6fc3||_0x26ae8d['type']===_0x618ba[_0x2a4d80(0x28f)]||_0x4dba8d(_0x26ae8d[_0x2a4d80(0x322)]))throw Error(_0x2a4d80(0x2e1));let _0x2101c7=Be(_0x2e8716,_0x26ae8d);if(!_0x2101c7[_0x2a4d80(0x36d)])throw Error(_0x2101c7['reason']??_0x2a4d80(0x3dc));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x568f24=_0x5daf81;let _0x116b66=new hr();return zn()['forEach'](_0x262959=>_0x116b66[_0x568f24(0x549)](_0x262959)),_0x116b66;}function Yr(_0xe73380){const _0x356073=_0x5daf81;return _0xe73380['type']===_0x618ba['Numbering']||_0xe73380[_0x356073(0x305)]===_0x618ba['CreatedBy']||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x4d3)]||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x3fb)]||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x29f)];}const Xr=new Set([_0x618ba[_0x5daf81(0x257)],_0x618ba[_0x5daf81(0x238)],_0x618ba[_0x5daf81(0x4bb)]]);function Zr(_0x258a7b){const _0x147b1b=_0x5daf81;let _0x3d0f47=_0x258a7b['fields'][_0x258a7b[_0x147b1b(0x51f)]];if((!_0x3d0f47||_0x3d0f47[_0x147b1b(0x3db)]!==!0x0&&_0x3d0f47['id'][_0x147b1b(0x40c)]()!=='id'&&_0x3d0f47[_0x147b1b(0x322)][_0x147b1b(0x3a5)]()[_0x147b1b(0x40c)]()!=='id')&&_0x3d0f47)return _0x3d0f47['id'];for(let _0x12a9ad of _0x258a7b[_0x147b1b(0x1d6)]){let _0x4ebdb7=_0x258a7b['fields'][_0x12a9ad];if(_0x4ebdb7&&_0x4ebdb7['id']!==_0x258a7b[_0x147b1b(0x51f)]&&_0x4ebdb7[_0x147b1b(0x3db)]!==!0x0&&_0x4ebdb7[_0x147b1b(0x305)]!==_0x618ba[_0x147b1b(0x28f)])return _0x4ebdb7['id'];}return _0x258a7b[_0x147b1b(0x51f)];}function Qr(_0x4f299c,_0x43dda3=[],_0x174a58=0x5){const _0x2bb3c9=_0x5daf81;let _0x70710b=new Set(_0x43dda3[_0x2bb3c9(0x32f)](_0x19af03=>!!_0x19af03)),_0x5e42c4=[],_0x4718b2=[];for(let _0x1b86f3 of _0x4f299c[_0x2bb3c9(0x1d6)]){let _0x453f30=_0x4f299c[_0x2bb3c9(0x503)][_0x1b86f3];_0x453f30&&_0x453f30['system']!==!0x0&&_0x453f30[_0x2bb3c9(0x305)]!==_0x618ba['RecordId']&&!_0x70710b['has'](_0x453f30['id'])&&(Xr[_0x2bb3c9(0x253)](_0x453f30[_0x2bb3c9(0x305)])?_0x5e42c4:_0x4718b2)['push'](_0x453f30['id']);}return[..._0x5e42c4,..._0x4718b2][_0x2bb3c9(0x1cb)](0x0,_0x174a58);}function $r(){const _0xcc0440=_0x5daf81;return[{'type':_0x168289[_0xcc0440(0x47f)],'i18nKey':_0xcc0440(0x274),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3c4a52=_0xcc0440;throw Error(_0x3c4a52(0x22d));}},{'type':_0x168289[_0xcc0440(0x3c6)],'i18nKey':_0xcc0440(0x1b7),'createDefaultConfig':_0x14aeca=>{const _0x2ab729=_0xcc0440;let _0x5e45d7=ei(_0x14aeca);return{'groupFieldId':_0x5e45d7,'coverFieldId':null,'cardLayout':_0x2ab729(0x441),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x14aeca[_0x2ab729(0x51f)],'fieldIds':Qr(_0x14aeca,[_0x14aeca[_0x2ab729(0x51f)],_0x5e45d7])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3d2807=_0xcc0440;throw Error(_0x3d2807(0x39c));}},{'type':_0x168289[_0xcc0440(0x3bf)],'i18nKey':_0xcc0440(0x3f3),'createDefaultConfig':_0x5d0d50=>{const _0x48095d=_0xcc0440;let _0x3c8488=ti(_0x5d0d50);return{'startDateFieldId':_0x3c8488,'endDateFieldId':ni(_0x5d0d50,_0x3c8488),'titleFieldId':_0x5d0d50['primaryFieldId'],'mode':'month','timeslotSize':'medium','timeZone':_0x48095d(0x35a),'displayColor':{'type':_0x48095d(0x3f1),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x42937a=_0xcc0440;throw Error(_0x42937a(0x39f));}},{'type':_0x168289[_0xcc0440(0x386)],'i18nKey':_0xcc0440(0x4e3),'createDefaultConfig':_0x59268b=>{const _0x1444f9=_0xcc0440;let _0x17bf8a=ti(_0x59268b);return{'startDateFieldId':_0x17bf8a,'endDateFieldId':ni(_0x59268b,_0x17bf8a)??_0x17bf8a,'titleFieldId':_0x59268b[_0x1444f9(0x51f)],'scale':_0x1444f9(0x53e),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x1444f9(0x3ad)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x168289[_0xcc0440(0x493)],'i18nKey':_0xcc0440(0x383),'createDefaultConfig':_0x1ff6ca=>{const _0x176d45=_0xcc0440;let _0x3ada29=Zr(_0x1ff6ca);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x3ada29,'coverFieldId':null,'fieldIds':Qr(_0x1ff6ca,[_0x3ada29,_0x1ff6ca[_0x176d45(0x51f)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3cb9ab=_0xcc0440;throw Error(_0x3cb9ab(0x497));}}];}function ei(_0x5ac7dc){const _0x1658da=_0x5daf81;var _0x4624d9,_0x52e622,_0x27b988;let _0x35ef50=_0x5ac7dc[_0x1658da(0x1d6)][_0x1658da(0x2b0)](_0x301bff=>_0x5ac7dc[_0x1658da(0x503)][_0x301bff])[_0x1658da(0x32f)](_0x114634=>!!_0x114634);return((_0x4624d9=_0x35ef50[_0x1658da(0x2d8)](_0x4a659e=>_0x4a659e['type']===_0x618ba['SingleSelect']||_0x4a659e[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x3a1)]||_0x4a659e[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x377)]))==null?void 0x0:_0x4624d9['id'])??((_0x52e622=_0x35ef50[_0x1658da(0x2d8)](_0x181e04=>_0x181e04[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x1da)]))==null?void 0x0:_0x52e622['id'])??((_0x27b988=_0x35ef50[_0x1658da(0x2d8)](_0x4f0f95=>_0x4f0f95[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x47c)]||_0x4f0f95['type']===_0x618ba['CreatedAt']||_0x4f0f95[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x29f)]))==null?void 0x0:_0x27b988['id'])??_0x5ac7dc[_0x1658da(0x51f)];}function ti(_0x5318f9){const _0x327033=_0x5daf81;var _0xe651ab;return((_0xe651ab=_0x5318f9[_0x327033(0x1d6)][_0x327033(0x2b0)](_0x45d192=>_0x5318f9[_0x327033(0x503)][_0x45d192])[_0x327033(0x2d8)](ri))==null?void 0x0:_0xe651ab['id'])??'';}function ni(_0x475313,_0x5754fc){const _0x30bf7c=_0x5daf81;var _0x1a5cb7;return(_0x1a5cb7=_0x475313[_0x30bf7c(0x1d6)][_0x30bf7c(0x2b0)](_0x2ebece=>_0x475313[_0x30bf7c(0x503)][_0x2ebece])['find'](_0x2bd7d9=>ri(_0x2bd7d9)&&_0x2bd7d9['id']!==_0x5754fc))==null?void 0x0:_0x1a5cb7['id'];}function ri(_0xd3f08a){const _0x5549b9=_0x5daf81;return!!_0xd3f08a&&_0xd3f08a['type']===_0x618ba[_0x5549b9(0x47c)]&&_0xd3f08a[_0x5549b9(0x546)]!==!0x0&&_0xd3f08a[_0x5549b9(0x3db)]!==!0x0;}const ii=_0x3262c5(_0x5daf81(0x415)),ai=new Set([_0x618ba['Number'],_0x618ba[_0x5daf81(0x20a)],_0x618ba[_0x5daf81(0x257)],_0x618ba[_0x5daf81(0x238)],_0x618ba[_0x5daf81(0x47c)],_0x618ba['CreatedAt'],_0x618ba[_0x5daf81(0x29f)],_0x618ba[_0x5daf81(0x4bb)]]),oi=0x5265c00;let si=class extends _0x183939{constructor(_0x30356b){const _0xbba730=_0x5daf81;super(),this[_0xbba730(0x47d)]=_0x30356b,G(this,_0xbba730(0x2c5),new Map()),G(this,_0xbba730(0x3b1),new WeakMap()),G(this,_0xbba730(0x38b),new Map()),G(this,'_projectedViewRowsCache',new Map()),G(this,_0xbba730(0x31f),new Map()),G(this,_0xbba730(0x1ee),new Map()),G(this,_0xbba730(0x531),0x0),G(this,'_tableRevisions',new Map()),G(this,_0xbba730(0x216),new Map()),G(this,'_cellInvalidations',new Map()),G(this,_0xbba730(0x53c),new Map());}[_0x5daf81(0x3d3)](_0x4fdee6){const _0x1b7790=_0x5daf81;return this['_views'][_0x1b7790(0x1ba)](_0x4fdee6[_0x1b7790(0x305)],_0x4fdee6),_0x1a388a(()=>this[_0x1b7790(0x2c5)][_0x1b7790(0x3ae)](_0x4fdee6[_0x1b7790(0x305)]));}[_0x5daf81(0x2da)](_0x58bc34,_0x47373a,_0x2dcb4d){const _0x1a94fb=_0x5daf81;var _0x4d6e17,_0xbfbb56,_0x1a7879;return I('BaseProjection.getProjection',()=>{const _0xaf6eec=_0x188f;let _0x2371e4=this['_getCachedProjection'](_0x58bc34,_0x47373a,_0x2dcb4d);if(_0x2371e4)return _0x2371e4;let _0x5166a6=_0x58bc34[_0xaf6eec(0x2f7)][_0x47373a],_0x368249=_0x5166a6==null?void 0x0:_0x5166a6[_0xaf6eec(0x1e8)][_0x2dcb4d];if(!_0x5166a6||!_0x368249)return this['_setCachedProjection'](_0x58bc34,_0x47373a,_0x2dcb4d,{'type':_0xaf6eec(0x30c),'viewType':(_0x368249==null?void 0x0:_0x368249[_0xaf6eec(0x305)])??_0x168289['Grid'],'reason':_0xaf6eec(0x1b4)});let _0x31386d;switch(_0x368249[_0xaf6eec(0x305)]){case _0x168289[_0xaf6eec(0x47f)]:_0x31386d=this[_0xaf6eec(0x312)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x386)]:_0x31386d=this[_0xaf6eec(0x4aa)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x3c6)]:_0x31386d=this['_buildKanban'](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x3bf)]:_0x31386d=this[_0xaf6eec(0x2f9)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x493)]:_0x31386d=this['_buildGallery'](_0x5166a6,_0x368249);break;default:_0x31386d={'type':_0xaf6eec(0x30c),'viewType':_0x368249[_0xaf6eec(0x305)],'reason':_0xaf6eec(0x1b4)};}return this[_0xaf6eec(0x41e)](_0x58bc34,_0x47373a,_0x2dcb4d,_0x31386d);},{'tableId':_0x47373a,'viewId':_0x2dcb4d,'viewType':(_0x4d6e17=_0x58bc34[_0x1a94fb(0x2f7)][_0x47373a])==null||(_0x4d6e17=_0x4d6e17[_0x1a94fb(0x1e8)][_0x2dcb4d])==null?void 0x0:_0x4d6e17[_0x1a94fb(0x305)],'records':((_0xbfbb56=_0x58bc34[_0x1a94fb(0x2f7)][_0x47373a])==null||(_0xbfbb56=_0xbfbb56[_0x1a94fb(0x3da)])==null?void 0x0:_0xbfbb56[_0x1a94fb(0x21d)])??Object[_0x1a94fb(0x46f)](((_0x1a7879=_0x58bc34['tables'][_0x47373a])==null?void 0x0:_0x1a7879[_0x1a94fb(0x43a)])??{})[_0x1a94fb(0x21d)]});}[_0x5daf81(0x496)](_0x598a23,_0x11084e,_0x57a520){const _0x455766=_0x5daf81;var _0x446931,_0x353cb4,_0x28f304;let _0x431a46=_0x598a23[_0x455766(0x2f7)][_0x11084e],_0x4a230a=_0x431a46==null?void 0x0:_0x431a46['views'][_0x57a520];if(!_0x431a46||!_0x4a230a)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x57a520+'\x22.');let _0x5de8e2=_0x3d3e86=>!!_0x431a46['fields'][_0x3d3e86],_0x4a4a6c={..._0x4a230a,'filter':_0x4a230a['filter']?{..._0x4a230a[_0x455766(0x32f)],'conditions':_0x4a230a[_0x455766(0x32f)][_0x455766(0x245)]['filter'](_0x53d2c2=>_0x5de8e2(_0x53d2c2['fieldId']))}:_0x4a230a[_0x455766(0x32f)],'sort':(_0x446931=_0x4a230a[_0x455766(0x3c5)])==null?void 0x0:_0x446931[_0x455766(0x32f)](_0xe0f632=>_0x5de8e2(_0xe0f632[_0x455766(0x4a1)])),'group':(_0x353cb4=_0x4a230a[_0x455766(0x3e9)])==null?void 0x0:_0x353cb4['filter'](_0x18bb72=>_0x5de8e2(_0x18bb72[_0x455766(0x4a1)])),'fieldOrder':(_0x28f304=_0x4a230a['fieldOrder'])==null?void 0x0:_0x28f304[_0x455766(0x32f)](_0x5de8e2),'fieldSettings':Object[_0x455766(0x407)](Object['entries'](_0x4a230a[_0x455766(0x508)]??{})[_0x455766(0x32f)](([_0x2cae5f])=>_0x5de8e2(_0x2cae5f)))};if(_0x4a4a6c[_0x455766(0x305)]===_0x455766(0x37b)){var _0x4d9ce3;let _0xf4386e=_0x4a4a6c[_0x455766(0x396)]??{},_0x1c4174=this['_resolveKanbanGroupFieldId'](_0x431a46,_0x4a4a6c),_0x1c2d1a=this[_0x455766(0x4c7)](_0x431a46,(_0x4d9ce3=_0xf4386e[_0x455766(0x24b)])==null?void 0x0:_0x4d9ce3[_0x455766(0x478)]);_0x4a4a6c[_0x455766(0x396)]={..._0xf4386e,'groupFieldId':_0x1c4174??_0xf4386e[_0x455766(0x49b)],'coverFieldId':this[_0x455766(0x537)](_0x431a46,_0xf4386e),'cardLayout':_0xf4386e[_0x455766(0x3e7)]===_0x455766(0x363)?_0x455766(0x363):_0x455766(0x441),'showFieldNames':_0xf4386e['showFieldNames']!==!0x1,'fieldSettings':Object[_0x455766(0x407)](Object[_0x455766(0x2e4)](_0xf4386e[_0x455766(0x508)]??{})['filter'](([_0x53a832])=>_0x5de8e2(_0x53a832))),'columnSettings':_0xf4386e['columnSettings']??{},'card':{..._0xf4386e['card']??{},'titleFieldId':_0x1c2d1a,'fieldIds':this[_0x455766(0x397)](_0x431a46,_0x4a4a6c,_0x1c4174??'',_0x1c2d1a)}};}return{'repaired':JSON[_0x455766(0x439)](_0x4a4a6c)!==JSON[_0x455766(0x439)](_0x4a230a),'view':_0x4a4a6c};}['invalidateByOp'](){const _0x5e2da5=_0x5daf81;this[_0x5e2da5(0x531)]++;}[_0x5daf81(0x334)](_0x5d1a5c,_0x438a71,_0x24740f){const _0x239ed4=_0x5daf81;let _0x41350f=this[_0x239ed4(0x215)](_0x5d1a5c)+0x1;this[_0x239ed4(0x216)][_0x239ed4(0x1ba)](_0x5d1a5c,_0x41350f);let _0xca54b2=this[_0x239ed4(0x235)][_0x239ed4(0x315)](_0x5d1a5c)??[];_0xca54b2[_0x239ed4(0x482)]({'revision':_0x41350f,'recordId':_0x438a71,'fieldId':_0x24740f}),this[_0x239ed4(0x235)][_0x239ed4(0x1ba)](_0x5d1a5c,_0xca54b2);}['invalidateByField'](_0x3f0c4f,_0x265689){const _0x273763=_0x5daf81;this[_0x273763(0x2b5)](_0x3f0c4f);}[_0x5daf81(0x2a1)](_0xf6e1d6,_0x3ab443){const _0x540765=_0x5daf81;this[_0x540765(0x53c)][_0x540765(0x1ba)](this[_0x540765(0x2db)](_0xf6e1d6,_0x3ab443),this[_0x540765(0x4f7)](_0xf6e1d6,_0x3ab443)+0x1);}['_getCachedProjection'](_0x1ce651,_0x243c52,_0x525d8b){const _0x474370=_0x5daf81;var _0x453020;let _0x2f827a=(_0x453020=this[_0x474370(0x3b1)][_0x474370(0x315)](_0x1ce651))==null?void 0x0:_0x453020[_0x474370(0x315)](this[_0x474370(0x32c)](_0x243c52,_0x525d8b));return _0x2f827a&&_0x2f827a[_0x474370(0x4c1)]===this[_0x474370(0x531)]&&_0x2f827a['tableRevision']===this[_0x474370(0x541)](_0x243c52)&&_0x2f827a[_0x474370(0x474)]===this[_0x474370(0x215)](_0x243c52)&&_0x2f827a[_0x474370(0x54b)]===this['_getViewRevision'](_0x243c52,_0x525d8b)?_0x2f827a[_0x474370(0x256)]:null;}[_0x5daf81(0x41e)](_0x7e5017,_0x1b496f,_0x344838,_0x3b20ae){const _0x237bd0=_0x5daf81;let _0xff61ec=this[_0x237bd0(0x3b1)][_0x237bd0(0x315)](_0x7e5017);return _0xff61ec||(_0xff61ec=new Map(),this['_projectionCache'][_0x237bd0(0x1ba)](_0x7e5017,_0xff61ec)),_0xff61ec[_0x237bd0(0x1ba)](this[_0x237bd0(0x32c)](_0x1b496f,_0x344838),{'projection':_0x3b20ae,'globalRevision':this[_0x237bd0(0x531)],'tableRevision':this['_getTableRevision'](_0x1b496f),'cellRevision':this[_0x237bd0(0x215)](_0x1b496f),'viewRevision':this[_0x237bd0(0x4f7)](_0x1b496f,_0x344838)}),_0x3b20ae;}[_0x5daf81(0x2b5)](_0x89d696){const _0xb59c45=_0x5daf81;this['_tableRevisions'][_0xb59c45(0x1ba)](_0x89d696,this[_0xb59c45(0x541)](_0x89d696)+0x1);}['_getTableRevision'](_0x29778d){const _0x207460=_0x5daf81;return this[_0x207460(0x298)][_0x207460(0x315)](_0x29778d)??0x0;}['_getCellRevision'](_0x6b1c9b){const _0x153c4e=_0x5daf81;return this[_0x153c4e(0x216)][_0x153c4e(0x315)](_0x6b1c9b)??0x0;}['_getViewRevision'](_0x554c92,_0x3a233d){const _0xabe56d=_0x5daf81;return this['_viewRevisions'][_0xabe56d(0x315)](this['_viewRevisionKey'](_0x554c92,_0x3a233d))??0x0;}[_0x5daf81(0x32c)](_0x202d27,_0x2e2209){return _0x202d27+'\x00'+_0x2e2209;}[_0x5daf81(0x206)](_0x34531a,_0x41e7ec){const _0x43269f=_0x5daf81;return _0x34531a+'\x00'+this[_0x43269f(0x201)](_0x41e7ec);}['_groupsCacheKey'](_0x5d8d48,_0x4d0460,_0x20243f){const _0x60b2f6=_0x5daf81;return _0x5d8d48+'\x00'+this['_rowTransformCacheSegment'](_0x4d0460)+'\x00'+this[_0x60b2f6(0x467)](_0x20243f);}['_rowTransformCacheSegment'](_0x25097f){const _0x46b3e7=_0x5daf81;return _0x25097f?mi({'filter':di(_0x25097f[_0x46b3e7(0x32f)]),'sort':pi(_0x25097f[_0x46b3e7(0x3c5)])}):'__all__';}[_0x5daf81(0x467)](_0x2a2320){const _0x2953b6=_0x5daf81;return mi(_0x2a2320[_0x2953b6(0x2b0)](_0x110b77=>({'fieldId':_0x110b77['fieldId'],'direction':_0x110b77['direction']??null})));}['_viewRevisionKey'](_0x2e5a93,_0x2fd0cf){return _0x2e5a93+'\x00'+_0x2fd0cf;}[_0x5daf81(0x312)](_0x20f6ad,_0x4c0d17){const _0x42840f=_0x5daf81;var _0x378849;let _0x14c614=Je(_0x20f6ad),_0x2d6c81=this[_0x42840f(0x353)](_0x20f6ad,_0x4c0d17),_0xb4ce71=(_0x378849=_0x4c0d17['filter'])!=null&&_0x378849[_0x42840f(0x245)]['length']?this[_0x42840f(0x353)](_0x20f6ad,{..._0x4c0d17,'filter':null}):_0x2d6c81,_0x48838a=nt(this['_getHierarchyIndex'](_0x20f6ad,_0x14c614,_0x4c0d17['id'],_0xb4ce71[_0x42840f(0x2b0)](_0xfc4994=>_0xfc4994[_0x42840f(0x1c6)])),_0xb4ce71,new Set(_0x2d6c81['map'](_0x26e7c5=>_0x26e7c5[_0x42840f(0x1c6)])));return{'type':_0x168289['Grid'],'fields':this[_0x42840f(0x2b3)](_0x20f6ad,_0x4c0d17),'rows':_0x48838a[_0x42840f(0x372)],'groups':this['_projectHierarchyGroups'](_0x20f6ad,_0x4c0d17,_0x48838a[_0x42840f(0x372)],_0x48838a['hierarchy']),'hierarchy':_0x48838a[_0x42840f(0x23c)],'frozenFieldCount':typeof _0x4c0d17[_0x42840f(0x396)][_0x42840f(0x1ce)]==_0x42840f(0x53d)?_0x4c0d17[_0x42840f(0x396)][_0x42840f(0x1ce)]:0x0};}[_0x5daf81(0x352)](_0x7dcbeb,_0x419d01,_0x584015,_0x444d3a){const _0x16913b=_0x5daf81;let _0xda6701=_0x7dcbeb['id']+'\x00'+_0x419d01+'\x00'+_0x584015,_0x26a847=this[_0x16913b(0x215)](_0x7dcbeb['id']),_0x33e444=this[_0x16913b(0x1ee)][_0x16913b(0x315)](_0xda6701);if(_0x33e444&&_0x33e444[_0x16913b(0x4c1)]===this[_0x16913b(0x531)]&&_0x33e444[_0x16913b(0x234)]===this[_0x16913b(0x541)](_0x7dcbeb['id'])&&_0x33e444['orderedRecordIds'][_0x16913b(0x21d)]===_0x444d3a['length']&&_0x33e444['orderedRecordIds']['every']((_0x370810,_0x38f271)=>_0x370810===_0x444d3a[_0x38f271])){if(_0x33e444[_0x16913b(0x474)]===_0x26a847&&_0x33e444[_0x16913b(0x524)]===_0x7dcbeb)return _0x33e444[_0x16913b(0x391)];if(!this[_0x16913b(0x220)](_0x7dcbeb['id'],_0x33e444[_0x16913b(0x474)],_0x26a847,new Set([_0x419d01])))return this[_0x16913b(0x1ee)][_0x16913b(0x1ba)](_0xda6701,{..._0x33e444,'table':_0x7dcbeb,'cellRevision':_0x26a847}),_0x33e444[_0x16913b(0x391)];}let _0x59c2c5=tt(_0x7dcbeb,_0x419d01,_0x444d3a);return this[_0x16913b(0x1ee)][_0x16913b(0x1ba)](_0xda6701,{'table':_0x7dcbeb,'index':_0x59c2c5,'orderedRecordIds':_0x444d3a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x16913b(0x541)](_0x7dcbeb['id']),'cellRevision':_0x26a847}),_0x59c2c5;}[_0x5daf81(0x466)](_0x2fbce4,_0x47a322,_0x2f498f,_0x35787f){const _0x51afda=_0x5daf81;var _0x11f902;if(!((_0x11f902=_0x47a322[_0x51afda(0x3e9)])!=null&&_0x11f902[_0x51afda(0x21d)]))return[];let _0x174c71=new Map(_0x2f498f[_0x51afda(0x2b0)](_0x2b2333=>[_0x2b2333['recordId'],_0x2b2333])),_0x59366a=_0x35787f[_0x51afda(0x32b)][_0x51afda(0x36c)](_0x57ef56=>{const _0x33f667=_0x51afda;let _0x597f7f=_0x174c71[_0x33f667(0x315)](_0x57ef56);return _0x597f7f?[_0x597f7f]:[];}),_0x3bd357=this[_0x51afda(0x495)](_0x2fbce4,_0x47a322,_0x59366a),_0x72a021=new Map(_0x35787f[_0x51afda(0x4c4)][_0x51afda(0x2b0)]((_0x14991d,_0x2bb08d)=>[_0x14991d,_0x2bb08d])),_0x456cd0=_0x5e14e9=>{const _0x14126a=_0x51afda;let _0x42e7a2=_0x35787f[_0x14126a(0x42b)][_0x5e14e9],_0x30c184=_0x72a021[_0x14126a(0x315)](_0x5e14e9)??-0x1;return _0x30c184<0x0||!_0x42e7a2?[]:_0x35787f[_0x14126a(0x4c4)][_0x14126a(0x1cb)](_0x30c184,_0x42e7a2['subtreeEndIndex']+0x1);},_0x18f241=_0x3bf740=>{const _0x51b72a=_0x51afda;var _0x3ffb4b,_0x1140aa;return{..._0x3bf740,'recordIds':(_0x3ffb4b=_0x3bf740[_0x51b72a(0x2c9)])!=null&&_0x3ffb4b[_0x51b72a(0x21d)]?_0x3bf740[_0x51b72a(0x3d8)]:_0x3bf740[_0x51b72a(0x3d8)][_0x51b72a(0x36c)](_0x456cd0),'children':(_0x1140aa=_0x3bf740[_0x51b72a(0x2c9)])==null?void 0x0:_0x1140aa[_0x51b72a(0x2b0)](_0x18f241)};};return _0x3bd357[_0x51afda(0x2b0)](_0x18f241);}[_0x5daf81(0x290)](_0x7bd2bf,_0x5096f7){const _0x3b792b=_0x5daf81;var _0xbda264;let _0x4ed53a=this[_0x3b792b(0x51d)](_0x7bd2bf,_0x5096f7),_0x4e3310=_0x4ed53a?_0x7bd2bf['fields'][_0x4ed53a]:void 0x0;if(!_0x4e3310)return{'type':_0x3b792b(0x30c),'viewType':_0x168289[_0x3b792b(0x3c6)],'reason':_0x3b792b(0x31a),'fieldId':_0x5096f7[_0x3b792b(0x396)]['groupFieldId']};let _0x220640=this['_projectRows'](_0x7bd2bf,_0x5096f7),_0x194f17=this[_0x3b792b(0x2b3)](_0x7bd2bf,_0x5096f7),_0x56cbe2=_0x5096f7['config']??{},_0x39085f=this['_resolveCardTitleFieldId'](_0x7bd2bf,(_0xbda264=_0x56cbe2[_0x3b792b(0x24b)])==null?void 0x0:_0xbda264['titleFieldId']),_0x145872=this[_0x3b792b(0x397)](_0x7bd2bf,_0x5096f7,_0x4e3310['id'],_0x39085f),_0x38cf22=new Map();if(F(_0x7bd2bf,_0x4e3310['id'])){let _0x2c9fbc=this[_0x3b792b(0x352)](_0x7bd2bf,_0x4e3310['id'],_0x5096f7['id'],_0x220640[_0x3b792b(0x2b0)](_0xa67f5c=>_0xa67f5c['recordId'])),_0x20ba83=new Map();return _0x220640[_0x3b792b(0x429)](_0x84a2e9=>{const _0x31e297=_0x3b792b;let _0xadba22=_0x2c9fbc[_0x31e297(0x4f3)][_0x31e297(0x315)](_0x84a2e9['recordId'])??null,_0x47b2ed=_0xadba22??'',_0x22fbf2=_0xadba22?_0x7bd2bf[_0x31e297(0x43a)][_0xadba22]:void 0x0,_0x1bc7f2=_0x20ba83['get'](_0x47b2ed)??{'key':_0x47b2ed,'title':_0x22fbf2?String(yt(_0x7bd2bf,_0x22fbf2['id'],_0x7bd2bf[_0x31e297(0x51f)])??_0xadba22):this['_kanbanLaneTitle'](_0x4e3310,_0x47b2ed,_0x56cbe2),'recordIds':[]};_0x1bc7f2[_0x31e297(0x3d8)][_0x31e297(0x482)](_0x84a2e9[_0x31e297(0x1c6)]),_0x20ba83[_0x31e297(0x1ba)](_0x47b2ed,_0x1bc7f2);}),{'type':_0x168289['Kanban'],'fields':_0x194f17,'rows':_0x220640,'groups':[],'groupFieldId':_0x4e3310['id'],'titleFieldId':_0x39085f,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x7bd2bf,_0x56cbe2),'cardLayout':_0x56cbe2[_0x3b792b(0x3e7)]===_0x3b792b(0x363)?_0x3b792b(0x363):_0x3b792b(0x441),'showFieldNames':_0x56cbe2[_0x3b792b(0x507)]!==!0x1,'visibleCardFieldIds':_0x145872,'lanes':['',..._0x2c9fbc[_0x3b792b(0x4c4)]]['flatMap'](_0x3caeeb=>{const _0x2cea22=_0x3b792b;let _0x525f50=_0x20ba83[_0x2cea22(0x315)](_0x3caeeb);return _0x525f50!=null&&_0x525f50['recordIds'][_0x2cea22(0x21d)]?[_0x525f50]:[];})};}return this[_0x3b792b(0x390)](_0x4e3310,_0x56cbe2)['forEach'](_0x4709b3=>_0x38cf22[_0x3b792b(0x1ba)](_0x4709b3[_0x3b792b(0x2d4)],{..._0x4709b3,'recordIds':[]})),_0x220640[_0x3b792b(0x429)](_0x5d970d=>{const _0x552a37=_0x3b792b;this[_0x552a37(0x229)](_0x4e3310,_0x5d970d['values'][_0x4e3310['id']])[_0x552a37(0x429)](_0x2d0f79=>{const _0x51a123=_0x552a37;let _0x33fa67=_0x38cf22[_0x51a123(0x315)](_0x2d0f79)??{'key':_0x2d0f79,'title':this[_0x51a123(0x434)](_0x4e3310,_0x2d0f79,_0x56cbe2),'color':this['_kanbanLaneColor'](_0x4e3310,_0x2d0f79,_0x56cbe2),'recordIds':[]};_0x33fa67[_0x51a123(0x3d8)][_0x51a123(0x482)](_0x5d970d[_0x51a123(0x1c6)]),_0x38cf22['set'](_0x2d0f79,_0x33fa67);});}),{'type':_0x168289[_0x3b792b(0x3c6)],'fields':_0x194f17,'rows':_0x220640,'groups':this['_projectGroups'](_0x7bd2bf,_0x5096f7,_0x220640),'groupFieldId':_0x4e3310['id'],'titleFieldId':_0x39085f,'coverFieldId':this[_0x3b792b(0x537)](_0x7bd2bf,_0x56cbe2),'cardLayout':_0x56cbe2[_0x3b792b(0x3e7)]==='compose'?'compose':_0x3b792b(0x441),'showFieldNames':_0x56cbe2['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x145872,'lanes':Array[_0x3b792b(0x404)](_0x38cf22[_0x3b792b(0x45b)]())};}['_resolveKanbanGroupFieldId'](_0x4ae73d,_0xfad1ed){const _0x2a5abe=_0x5daf81;var _0x4d3676;let _0x1620b0=(_0x4d3676=_0xfad1ed[_0x2a5abe(0x396)])==null?void 0x0:_0x4d3676[_0x2a5abe(0x49b)];return _0x1620b0&&this[_0x2a5abe(0x559)](_0x4ae73d,_0x1620b0)?_0x1620b0:this[_0x2a5abe(0x41c)](_0x4ae73d,_0x4ac6f6=>this[_0x2a5abe(0x3eb)](_0x4ac6f6));}[_0x5daf81(0x41c)](_0x17d66d,_0x1b4a8c){for(let _0x3b6029 of _0x17d66d['fieldOrder']){let _0x5a5563=_0x17d66d['fields'][_0x3b6029];if(_0x5a5563&&_0x1b4a8c(_0x5a5563))return _0x5a5563['id'];}return null;}['_isKanbanGroupField'](_0x2bf7a0,_0x2be408){const _0x3fecf5=_0x5daf81;let _0x5036b5=_0x2bf7a0[_0x3fecf5(0x503)][_0x2be408];return this[_0x3fecf5(0x3eb)](_0x5036b5)||F(_0x2bf7a0,_0x2be408);}[_0x5daf81(0x3eb)](_0x35aea0){const _0x29555c=_0x5daf81;return!!_0x35aea0&&(_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x3af)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x3a1)]||_0x35aea0['type']===_0x618ba[_0x29555c(0x238)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x1e9)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba['Group']||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x4bb)]);}['_isColorfulKanbanGroupField'](_0x4d27d9){const _0x567e16=_0x5daf81;return _0x4d27d9[_0x567e16(0x305)]===_0x618ba[_0x567e16(0x3af)]||_0x4d27d9[_0x567e16(0x305)]===_0x618ba[_0x567e16(0x3a1)];}[_0x5daf81(0x537)](_0x47d8f5,_0x26ca7a){const _0x1e4b5=_0x5daf81;var _0x4e50b6;let _0x43dbc6=_0x26ca7a[_0x1e4b5(0x225)]??((_0x4e50b6=_0x26ca7a[_0x1e4b5(0x24b)])==null?void 0x0:_0x4e50b6[_0x1e4b5(0x225)])??null;if(!_0x43dbc6)return null;let _0x1e7b6f=_0x47d8f5[_0x1e4b5(0x503)][_0x43dbc6];return _0x1e7b6f&&this[_0x1e4b5(0x308)](_0x1e7b6f)[_0x1e4b5(0x294)]?_0x1e7b6f['id']:null;}[_0x5daf81(0x397)](_0x2fdbf9,_0x522dc3,_0xf2c27e,_0x3e805c=this[_0x5daf81(0x4c7)](_0x2fdbf9,((()=>{const _0x53d1b4=_0x5daf81;var _0x36415e;return(_0x36415e=_0x522dc3[_0x53d1b4(0x396)])==null||(_0x36415e=_0x36415e['card'])==null?void 0x0:_0x36415e['titleFieldId'];})()))){const _0x3c3ef7=_0x5daf81;var _0x492591;let _0x58acba=_0x522dc3[_0x3c3ef7(0x396)]??{},_0x3f8fa7=(_0x492591=_0x58acba[_0x3c3ef7(0x24b)])!=null&&(_0x492591=_0x492591[_0x3c3ef7(0x209)])!=null&&_0x492591[_0x3c3ef7(0x21d)]?_0x58acba[_0x3c3ef7(0x24b)][_0x3c3ef7(0x209)]:Qr(_0x2fdbf9,[_0x3e805c,_0x2fdbf9['primaryFieldId'],_0xf2c27e]),_0x6f93f=_0x58acba[_0x3c3ef7(0x508)]??{};return _0x3f8fa7[_0x3c3ef7(0x32f)](_0x1d2f96=>{const _0x19c941=_0x3c3ef7;var _0x5bd26f,_0x592ca5;let _0x1b3ed6=_0x2fdbf9[_0x19c941(0x503)][_0x1d2f96];return!(!_0x1b3ed6||_0x1b3ed6[_0x19c941(0x3db)]===!0x0||_0x1b3ed6[_0x19c941(0x305)]===_0x618ba[_0x19c941(0x28f)]||_0x1b3ed6['id']===_0xf2c27e||_0x1b3ed6['id']===_0x3e805c||(_0x5bd26f=_0x522dc3[_0x19c941(0x508)])!=null&&(_0x5bd26f=_0x5bd26f[_0x1d2f96])!=null&&_0x5bd26f[_0x19c941(0x219)]||(_0x592ca5=_0x6f93f[_0x1d2f96])!=null&&_0x592ca5[_0x19c941(0x219)]);})[_0x3c3ef7(0x3c5)]((_0x1cf379,_0x5adf57)=>{const _0x429c2f=_0x3c3ef7;var _0x105663,_0x143e76;return(((_0x105663=_0x6f93f[_0x1cf379])==null?void 0x0:_0x105663['order'])??_0x3f8fa7[_0x429c2f(0x25c)](_0x1cf379))-(((_0x143e76=_0x6f93f[_0x5adf57])==null?void 0x0:_0x143e76['order'])??_0x3f8fa7[_0x429c2f(0x25c)](_0x5adf57));});}['_getKanbanConfiguredLanes'](_0x12a10e,_0x2cf259){const _0x54398a=_0x5daf81;var _0x37798f;let _0x302061=(Array[_0x54398a(0x31e)]((_0x37798f=_0x12a10e['config'])==null?void 0x0:_0x37798f['options'])?_0x12a10e[_0x54398a(0x396)][_0x54398a(0x49e)]:[])['flatMap']((_0x23c165,_0x5bb88f)=>{const _0x15399a=_0x54398a;if(_0x23c165==null)return[];let _0x1d4624=typeof _0x23c165==_0x15399a(0x2ed)?{'id':_0x23c165,'name':_0x23c165,'color':void 0x0}:_0x23c165,_0x4ccaff=String(_0x1d4624['id']??_0x1d4624['name']??'option-'+(_0x5bb88f+0x1));return[{'key':_0x4ccaff,'title':String(_0x1d4624[_0x15399a(0x322)]??_0x1d4624['id']??_0x4ccaff),'color':this['_kanbanLaneColor'](_0x12a10e,_0x4ccaff,_0x2cf259)}];});return Object[_0x54398a(0x2e4)](_0x2cf259[_0x54398a(0x418)]??{})['forEach'](([_0x4b55d9,_0x36f067])=>{const _0x1bf287=_0x54398a;_0x302061[_0x1bf287(0x387)](_0x1ad1f8=>_0x1ad1f8['key']===_0x4b55d9)||_0x302061[_0x1bf287(0x482)]({'key':_0x4b55d9,'title':this[_0x1bf287(0x2cb)](_0x12a10e)?_0x36f067['title']??this[_0x1bf287(0x434)](_0x12a10e,_0x4b55d9,_0x2cf259):this[_0x1bf287(0x434)](_0x12a10e,_0x4b55d9,_0x2cf259),'color':this[_0x1bf287(0x468)](_0x12a10e,_0x4b55d9,_0x2cf259)});}),_0x302061;}[_0x5daf81(0x229)](_0x5ce13c,_0x5346bd){const _0x444098=_0x5daf81;let _0x2236f6=_0x2b2ae0=>{const _0xae9c2=_0x188f;var _0x3da1a8;let _0x3ccd1c=_0x2b2ae0==null?'':String(_0x2b2ae0);return!_0x3ccd1c||!this[_0xae9c2(0x2cb)](_0x5ce13c)?_0x3ccd1c:((_0x3da1a8=Li(_0x5ce13c,_0x3ccd1c))==null?void 0x0:_0x3da1a8['id'])??_0x3ccd1c;};if(Array['isArray'](_0x5346bd)){let _0x3fb9fe=_0x5346bd[_0x444098(0x2b0)](_0x2236f6)[_0x444098(0x32f)](_0x2eba33=>_0x2eba33!=='');return _0x3fb9fe['length']?_0x3fb9fe:[''];}return[_0x2236f6(_0x5346bd)];}[_0x5daf81(0x434)](_0x498c38,_0x2d9d71,_0x578948){const _0x563891=_0x5daf81;if(!_0x2d9d71)return _0x563891(0x300);let _0x19cfc8=Li(_0x498c38,_0x2d9d71);return(_0x19cfc8==null?void 0x0:_0x19cfc8[_0x563891(0x322)])??_0x2d9d71;}[_0x5daf81(0x468)](_0x19f12e,_0x289b8a,_0x9d2592){const _0x409d60=_0x5daf81;var _0x29384d;if(this[_0x409d60(0x2cb)](_0x19f12e))return(_0x29384d=Li(_0x19f12e,_0x289b8a))==null?void 0x0:_0x29384d[_0x409d60(0x3be)];}['_buildCalendar'](_0x4c3e8f,_0x45ad6e){const _0x5ed2ab=_0x5daf81;let _0x128db6=this[_0x5ed2ab(0x24a)](_0x4c3e8f,_0x45ad6e[_0x5ed2ab(0x396)]??{}),_0x4806b9=_0x4c3e8f[_0x5ed2ab(0x503)][_0x128db6['startDateFieldId']];if(!_0x4806b9||_0x4806b9['type']!==_0x618ba[_0x5ed2ab(0x47c)]||_0x4806b9['readonly']===!0x0||_0x4806b9[_0x5ed2ab(0x3db)]===!0x0||!this[_0x5ed2ab(0x308)](_0x4806b9)[_0x5ed2ab(0x34f)])return{'type':_0x5ed2ab(0x30c),'viewType':_0x168289[_0x5ed2ab(0x3bf)],'reason':'invalidDateField','fieldId':_0x128db6[_0x5ed2ab(0x3d5)]};let _0x1eb0f9=_0x128db6[_0x5ed2ab(0x39a)]?_0x4c3e8f['fields'][_0x128db6[_0x5ed2ab(0x39a)]]:void 0x0,_0x589d07=this[_0x5ed2ab(0x353)](_0x4c3e8f,_0x45ad6e);return{'type':_0x168289['Calendar'],'config':_0x128db6,'fields':this[_0x5ed2ab(0x2b3)](_0x4c3e8f,_0x45ad6e),'rows':_0x589d07,'groups':this[_0x5ed2ab(0x495)](_0x4c3e8f,_0x45ad6e,_0x589d07),'events':_0x589d07[_0x5ed2ab(0x36c)](_0x7b7bf5=>{const _0x2f9f82=_0x5ed2ab;let _0x4093e1=dn(_0x7b7bf5[_0x2f9f82(0x45b)][_0x128db6['startDateFieldId']]);if(!Number[_0x2f9f82(0x2fc)](_0x4093e1))return[];let _0xf74ad8=_0x7b7bf5[_0x2f9f82(0x45b)][_0x128db6['startDateFieldId']],_0x3c96a2=_0x128db6['endDateFieldId']==null?void 0x0:_0x7b7bf5['values'][_0x128db6[_0x2f9f82(0x39a)]],_0x56774d=_0x128db6[_0x2f9f82(0x39a)]==null?void 0x0:dn(_0x3c96a2),_0x3eb5fd=Number[_0x2f9f82(0x2fc)](_0x56774d)?_0x56774d:void 0x0;return[{'recordId':_0x7b7bf5[_0x2f9f82(0x1c6)],'title':this[_0x2f9f82(0x1c7)](_0x4c3e8f,_0x7b7bf5,_0x128db6[_0x2f9f82(0x478)]),'start':_0x4093e1,'end':_0x3eb5fd,'color':this[_0x2f9f82(0x51e)](_0x4c3e8f,_0x7b7bf5,_0x128db6),'startMs':_0x4093e1,'endMs':_0x3eb5fd,'allDay':this[_0x2f9f82(0x24f)](_0x4806b9,_0x1eb0f9,_0xf74ad8,_0x3c96a2),'fieldValues':_0x7b7bf5['values']}];})};}['_normalizeCalendarConfig'](_0x1d3c7a,_0x16a3bb){const _0x4cc776=_0x5daf81;let _0x3413bf=this[_0x4cc776(0x49a)](_0x1d3c7a,_0x16a3bb[_0x4cc776(0x3d5)]),_0xc0ea14=_0x16a3bb[_0x4cc776(0x39a)]&&this[_0x4cc776(0x2b2)](_0x1d3c7a,_0x16a3bb[_0x4cc776(0x39a)])?_0x16a3bb[_0x4cc776(0x39a)]:this['_findCalendarDateFieldId'](_0x1d3c7a,_0x3413bf)??void 0x0,_0x453b61=_0x16a3bb[_0x4cc776(0x478)]?_0x1d3c7a[_0x4cc776(0x503)][_0x16a3bb['titleFieldId']]:void 0x0,_0x388846=_0x453b61&&_0x453b61[_0x4cc776(0x3db)]!==!0x0&&_0x453b61['type']!==_0x618ba[_0x4cc776(0x28f)]?_0x16a3bb[_0x4cc776(0x478)]:_0x1d3c7a[_0x4cc776(0x51f)],_0xa4f142=_0x16a3bb[_0x4cc776(0x54f)]===_0x4cc776(0x2d1)||_0x16a3bb['mode']===_0x4cc776(0x2ba)?_0x16a3bb[_0x4cc776(0x54f)]:_0x4cc776(0x53e),_0x4216e6=_0x16a3bb['timeslotSize']===_0x4cc776(0x532)||_0x16a3bb['timeslotSize']===_0x4cc776(0x267)?_0x16a3bb[_0x4cc776(0x2bf)]:_0x4cc776(0x4be),_0x170119=typeof _0x16a3bb['timeZone']==_0x4cc776(0x2ed)&&_0x16a3bb[_0x4cc776(0x4dd)][_0x4cc776(0x3a5)]()?_0x16a3bb[_0x4cc776(0x4dd)]:_0x4cc776(0x35a),_0x5b6b0e=this[_0x4cc776(0x53b)](_0x1d3c7a,_0x16a3bb);return{..._0x16a3bb,'startDateFieldId':_0x3413bf,'endDateFieldId':_0xc0ea14,'titleFieldId':_0x388846,'mode':_0xa4f142,'timeslotSize':_0x4216e6,'timeZone':_0x170119,'displayColor':_0x5b6b0e,'fieldSettings':Object['fromEntries'](Object[_0x4cc776(0x2e4)](_0x16a3bb[_0x4cc776(0x508)]??{})['filter'](([_0x322d13])=>{const _0x5c84a4=_0x4cc776;let _0x2ffb17=_0x1d3c7a[_0x5c84a4(0x503)][_0x322d13];return!!(_0x2ffb17&&_0x2ffb17[_0x5c84a4(0x3db)]!==!0x0&&_0x2ffb17[_0x5c84a4(0x305)]!==_0x618ba['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x4a611a,_0x36f5af){const _0x15a0c4=_0x5daf81;return _0x36f5af&&this[_0x15a0c4(0x2b2)](_0x4a611a,_0x36f5af)?_0x36f5af:this[_0x15a0c4(0x239)](_0x4a611a)??_0x36f5af??'';}[_0x5daf81(0x239)](_0x55771d,_0x432998){const _0x5e0e79=_0x5daf81;for(let _0x373ce4 of _0x55771d[_0x5e0e79(0x1d6)])if(_0x373ce4!==_0x432998&&this[_0x5e0e79(0x2b2)](_0x55771d,_0x373ce4))return _0x373ce4;return null;}[_0x5daf81(0x2b2)](_0x458b3c,_0x477d76){const _0x13bbc6=_0x5daf81;let _0x4ccf38=_0x458b3c[_0x13bbc6(0x503)][_0x477d76];return!!_0x4ccf38&&_0x4ccf38[_0x13bbc6(0x305)]===_0x618ba[_0x13bbc6(0x47c)]&&_0x4ccf38[_0x13bbc6(0x546)]!==!0x0&&_0x4ccf38[_0x13bbc6(0x3db)]!==!0x0&&this[_0x13bbc6(0x308)](_0x4ccf38)['usableAsCalendarDate'];}[_0x5daf81(0x53b)](_0x1c9bb5,_0x379239){const _0x49d831=_0x5daf81;let _0x3e41a5=_0x379239[_0x49d831(0x4c6)];if((_0x3e41a5==null?void 0x0:_0x3e41a5[_0x49d831(0x305)])===_0x49d831(0x54d)){let _0xc22f7c=_0x1c9bb5['fields'][_0x3e41a5[_0x49d831(0x4a1)]];if(_0xc22f7c&&_0xc22f7c['type']===_0x618ba[_0x49d831(0x3af)])return _0x3e41a5;}if((_0x3e41a5==null?void 0x0:_0x3e41a5[_0x49d831(0x305)])===_0x49d831(0x3f1)&&typeof _0x3e41a5['color']==_0x49d831(0x2ed)&&_0x3e41a5[_0x49d831(0x3be)]['trim']())return{'type':_0x49d831(0x3f1),'color':_0x3e41a5[_0x49d831(0x3be)]};if(_0x379239[_0x49d831(0x392)]){let _0x1834cd=_0x1c9bb5[_0x49d831(0x503)][_0x379239[_0x49d831(0x392)]];if(_0x1834cd&&_0x1834cd[_0x49d831(0x305)]===_0x618ba[_0x49d831(0x3af)])return{'type':_0x49d831(0x54d),'fieldId':_0x379239[_0x49d831(0x392)]};}return{'type':_0x49d831(0x3f1),'color':_0x49d831(0x370)};}[_0x5daf81(0x51e)](_0x47150c,_0x5b2f52,_0x1e92af){const _0x5cd813=_0x5daf81;let _0x120e3a=_0x1e92af[_0x5cd813(0x4c6)];if((_0x120e3a==null?void 0x0:_0x120e3a[_0x5cd813(0x305)])===_0x5cd813(0x54d)){var _0x213869;let _0x359301=_0x47150c['fields'][_0x120e3a[_0x5cd813(0x4a1)]];if(!_0x359301)return;let _0x4103ab=_0x5b2f52[_0x5cd813(0x45b)][_0x120e3a[_0x5cd813(0x4a1)]],_0x263d0d=Array[_0x5cd813(0x31e)](_0x4103ab)?_0x4103ab[0x0]:_0x4103ab;return _0x263d0d==null||(_0x213869=Li(_0x359301,String(_0x263d0d)))==null?void 0x0:_0x213869[_0x5cd813(0x3be)];}if((_0x120e3a==null?void 0x0:_0x120e3a[_0x5cd813(0x305)])===_0x5cd813(0x3f1))return _0x120e3a[_0x5cd813(0x3be)];}[_0x5daf81(0x24f)](_0x41adb9,_0x32039e,_0x533208,_0x4a6b5a){const _0x5d3543=_0x5daf81;var _0x36825d,_0x1d99a6;let _0x17f1cb=((_0x36825d=_0x41adb9['config'])==null?void 0x0:_0x36825d[_0x5d3543(0x427)])===!0x0,_0x3b9c4d=(_0x32039e==null||(_0x1d99a6=_0x32039e['config'])==null?void 0x0:_0x1d99a6[_0x5d3543(0x427)])===!0x0;return!_0x17f1cb&&!_0x3b9c4d;}[_0x5daf81(0x1bc)](_0x225136,_0x3ba56b){const _0x1c6789=_0x5daf81;var _0x4783af,_0x57a44e;let _0x16830b=((_0x4783af=_0x225136['config'])==null?void 0x0:_0x4783af[_0x1c6789(0x427)])===!0x0,_0x945246=((_0x57a44e=_0x3ba56b[_0x1c6789(0x396)])==null?void 0x0:_0x57a44e['includeTime'])===!0x0;return!_0x16830b&&!_0x945246;}['_buildGantt'](_0x2b67cd,_0x7a7c67){const _0x3ef991=_0x5daf81;let _0xc036cd=this[_0x3ef991(0x442)](_0x2b67cd,_0x7a7c67[_0x3ef991(0x396)]),_0x5bab37=_0x2b67cd[_0x3ef991(0x503)][_0xc036cd[_0x3ef991(0x3d5)]];if(!_0x5bab37||_0x5bab37[_0x3ef991(0x305)]!==_0x618ba[_0x3ef991(0x47c)]||_0x5bab37[_0x3ef991(0x546)]===!0x0||_0x5bab37[_0x3ef991(0x3db)]===!0x0||!this[_0x3ef991(0x308)](_0x5bab37)[_0x3ef991(0x4e8)])return{'type':_0x3ef991(0x30c),'viewType':_0x168289[_0x3ef991(0x386)],'reason':'invalidGanttStartField','fieldId':_0xc036cd['startDateFieldId']};let _0x4a9fa2=_0x2b67cd[_0x3ef991(0x503)][_0xc036cd[_0x3ef991(0x39a)]];if(!_0x4a9fa2||_0x4a9fa2['type']!==_0x618ba['Date']||_0x4a9fa2['readonly']===!0x0||_0x4a9fa2[_0x3ef991(0x3db)]===!0x0||!this['_capabilities'](_0x4a9fa2)[_0x3ef991(0x248)])return{'type':_0x3ef991(0x30c),'viewType':_0x168289[_0x3ef991(0x386)],'reason':_0x3ef991(0x20c),'fieldId':_0xc036cd[_0x3ef991(0x39a)]};let _0x2cce17=this[_0x3ef991(0x1bc)](_0x5bab37,_0x4a9fa2),_0x36768f=this[_0x3ef991(0x353)](_0x2b67cd,_0x7a7c67),_0x336030=_0x36768f[_0x3ef991(0x36c)](_0x2f98d3=>{const _0x55d198=_0x3ef991;let _0x273dbc=dn(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x3d5)]]),_0x2e8548=dn(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x39a)]]);if(!Number[_0x55d198(0x2fc)](_0x273dbc)||!Number['isFinite'](_0x2e8548))return[];let _0x45ae88=Math[_0x55d198(0x469)](_0x273dbc,_0x2e8548),_0x17e26c=Math[_0x55d198(0x29c)](_0x273dbc,_0x2e8548),_0x11d750=_0xc036cd[_0x55d198(0x333)]==null?void 0x0:Number(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x333)]]);return[{'recordId':_0x2f98d3[_0x55d198(0x1c6)],'title':this['_title'](_0x2b67cd,_0x2f98d3,_0xc036cd[_0x55d198(0x478)]),'start':_0x45ae88,'end':_0x17e26c,'color':this[_0x55d198(0x43c)](_0x2b67cd,_0x2f98d3,_0xc036cd),'progress':Number[_0x55d198(0x2fc)](_0x11d750)?_0x11d750:void 0x0,'workingDayCount':_0xc036cd[_0x55d198(0x2f1)]?Ti(_0x45ae88,_0x17e26c,_0xc036cd[_0x55d198(0x2c1)]):void 0x0,'dependencyRecordIds':this[_0x55d198(0x4ef)](_0x2f98d3[_0x55d198(0x45b)][_0xc036cd['dependencyFieldId']??''])}];}),_0xb0a769=_0x336030[_0x3ef991(0x21d)]?Z(Math['min'](..._0x336030[_0x3ef991(0x2b0)](_0x3ad7db=>_0x3ad7db['start']))-0x5a*oi):Z(Date[_0x3ef991(0x1d5)]()-0x5a*oi),_0x14ccf2=_0x336030['length']?Z(Math['max'](..._0x336030[_0x3ef991(0x2b0)](_0x18e386=>_0x18e386['end']))+0x5b*oi):Z(Date[_0x3ef991(0x1d5)]()+0x5b*oi),_0x23e7a1=_i(_0xc036cd[_0x3ef991(0x1eb)],_0xb0a769,_0x14ccf2,_0xc036cd[_0x3ef991(0x2f1)]?_0xc036cd[_0x3ef991(0x2c1)]:void 0x0);return{'type':_0x168289[_0x3ef991(0x386)],'fields':this['_projectFields'](_0x2b67cd,{..._0x7a7c67,'config':_0xc036cd}),'rows':_0x36768f,'groups':this[_0x3ef991(0x495)](_0x2b67cd,_0x7a7c67,_0x36768f),'config':_0xc036cd,'dateRangeAllDay':_0x2cce17,'timeline':{'scale':_0xc036cd[_0x3ef991(0x1eb)],'start':_0xb0a769,'end':_0x14ccf2,'unitWidth':_0x23e7a1[_0x3ef991(0x384)],'majorHeaders':_0x23e7a1[_0x3ef991(0x561)],'columns':_0x23e7a1[_0x3ef991(0x548)]},'bars':_0x336030};}['_normalizeGanttConfig'](_0x40709b,_0x5e7b7a){const _0x551241=_0x5daf81;let _0x3daaf3=this[_0x551241(0x394)](_0x40709b,_0x5e7b7a[_0x551241(0x3d5)],'start'),_0x737e9=this[_0x551241(0x394)](_0x40709b,_0x5e7b7a[_0x551241(0x39a)],'end')||_0x3daaf3,_0x1ee329=_0x5e7b7a[_0x551241(0x478)]?_0x40709b['fields'][_0x5e7b7a[_0x551241(0x478)]]:void 0x0,_0x21ff1f=_0x1ee329&&_0x1ee329[_0x551241(0x3db)]!==!0x0&&_0x1ee329[_0x551241(0x305)]!==_0x618ba[_0x551241(0x28f)]?_0x5e7b7a[_0x551241(0x478)]:_0x40709b[_0x551241(0x51f)],_0x22b4c5=_0x5e7b7a[_0x551241(0x1eb)]==='week'||_0x5e7b7a[_0x551241(0x1eb)]===_0x551241(0x459)||_0x5e7b7a[_0x551241(0x1eb)]===_0x551241(0x27d)?_0x5e7b7a[_0x551241(0x1eb)]:'month',_0x5b20c2=gi(_0x5e7b7a[_0x551241(0x2c1)]);return{..._0x5e7b7a,'startDateFieldId':_0x3daaf3,'endDateFieldId':_0x737e9,'titleFieldId':_0x21ff1f,'scale':_0x22b4c5,'leftPaneWidth':typeof _0x5e7b7a[_0x551241(0x46d)]==_0x551241(0x53d)?_0x5e7b7a[_0x551241(0x46d)]:void 0x0,'leftPaneCollapsed':_0x5e7b7a[_0x551241(0x2df)]===!0x0,'showTodayLine':_0x5e7b7a[_0x551241(0x1f6)]!==!0x1,'displayColor':this[_0x551241(0x485)](_0x40709b,_0x5e7b7a),'fieldSettings':Object['fromEntries'](Object['entries'](_0x5e7b7a[_0x551241(0x508)]??{})[_0x551241(0x32f)](([_0x4d380d])=>{const _0x243ec0=_0x551241;let _0x2dcd41=_0x40709b[_0x243ec0(0x503)][_0x4d380d];return!!(_0x2dcd41&&_0x2dcd41['system']!==!0x0&&_0x2dcd41[_0x243ec0(0x305)]!==_0x618ba[_0x243ec0(0x28f)]);})),'workingDaysOnly':_0x5e7b7a[_0x551241(0x2f1)]===!0x0,'workingDays':_0x5b20c2};}[_0x5daf81(0x394)](_0x67691d,_0x3b1f9b,_0x30210e){const _0x47e4df=_0x5daf81;if(_0x3b1f9b&&this[_0x47e4df(0x436)](_0x67691d,_0x3b1f9b,_0x30210e)||_0x3b1f9b)return _0x3b1f9b;for(let _0x5d1fa6 of _0x67691d[_0x47e4df(0x1d6)])if(this[_0x47e4df(0x436)](_0x67691d,_0x5d1fa6,_0x30210e))return _0x5d1fa6;return _0x3b1f9b??'';}['_isGanttDateField'](_0x4df813,_0x1d589c,_0x47eae3){const _0x375999=_0x5daf81;let _0x3c7f9a=_0x4df813['fields'][_0x1d589c];if(!_0x3c7f9a||_0x3c7f9a['type']!==_0x618ba[_0x375999(0x47c)]||_0x3c7f9a['readonly']===!0x0||_0x3c7f9a[_0x375999(0x3db)]===!0x0)return!0x1;let _0x4555ee=this[_0x375999(0x308)](_0x3c7f9a);return _0x47eae3==='start'?_0x4555ee[_0x375999(0x4e8)]:_0x4555ee[_0x375999(0x248)];}[_0x5daf81(0x485)](_0x18b904,_0x70f87){const _0x2092e2=_0x5daf81;let _0x516c44=_0x70f87[_0x2092e2(0x4c6)];if((_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])===_0x2092e2(0x54d)){let _0x5aaa27=_0x18b904['fields'][_0x516c44[_0x2092e2(0x4a1)]];if(_0x5aaa27&&_0x5aaa27[_0x2092e2(0x305)]===_0x618ba[_0x2092e2(0x3af)])return _0x516c44;}return(_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])==='conditional'&&Array[_0x2092e2(0x31e)](_0x516c44['rules'])?{'type':'conditional','rules':_0x516c44[_0x2092e2(0x2e0)][_0x2092e2(0x32f)](_0x1464ba=>!!_0x18b904[_0x2092e2(0x503)][_0x1464ba[_0x2092e2(0x4a1)]])}:(_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])===_0x2092e2(0x3f1)&&typeof _0x516c44[_0x2092e2(0x3be)]=='string'&&_0x516c44['color'][_0x2092e2(0x3a5)]()?{'type':_0x2092e2(0x3f1),'color':_0x516c44['color']}:{'type':'custom','color':_0x2092e2(0x3ad)};}[_0x5daf81(0x43c)](_0x1a5c68,_0x3a5d29,_0x5c7bbe){const _0x1e6554=_0x5daf81;let _0x56d49c=_0x5c7bbe[_0x1e6554(0x4c6)];if((_0x56d49c==null?void 0x0:_0x56d49c[_0x1e6554(0x305)])===_0x1e6554(0x454)){let _0x125d75=_0x56d49c[_0x1e6554(0x2e0)][_0x1e6554(0x2d8)](_0x57b285=>this[_0x1e6554(0x237)](_0x1a5c68,_0x3a5d29,_0x57b285));if(_0x125d75)return _0x125d75[_0x1e6554(0x3be)];}if((_0x56d49c==null?void 0x0:_0x56d49c[_0x1e6554(0x305)])===_0x1e6554(0x54d)){let _0x5680f4=_0x1a5c68[_0x1e6554(0x503)][_0x56d49c[_0x1e6554(0x4a1)]];if(_0x5680f4){var _0xba9d9e;let _0x10b930=_0x3a5d29[_0x1e6554(0x45b)][_0x56d49c[_0x1e6554(0x4a1)]],_0x5b93cd=Array[_0x1e6554(0x31e)](_0x10b930)?_0x10b930[0x0]:_0x10b930,_0x47a891=_0x5b93cd==null||(_0xba9d9e=Li(_0x5680f4,String(_0x5b93cd)))==null?void 0x0:_0xba9d9e['color'];if(_0x47a891)return _0x47a891;}}return(_0x56d49c==null?void 0x0:_0x56d49c['type'])===_0x1e6554(0x3f1)?_0x56d49c[_0x1e6554(0x3be)]:_0x1e6554(0x3ad);}['_matchesGanttColorRule'](_0x136cb8,_0x59e8e3,_0x56f56e){const _0x2a288b=_0x5daf81;let _0x546955=_0x136cb8[_0x2a288b(0x503)][_0x56f56e['fieldId']];return _0x546955?xn(_0x59e8e3[_0x2a288b(0x45b)][_0x546955['id']],_0x56f56e['operator'],_0x56f56e[_0x2a288b(0x30b)],_0x546955,{'dateMode':_0x56f56e['dateMode']}):!0x1;}['_buildGallery'](_0x338efe,_0x20002c){const _0x3c0ab4=_0x5daf81;let _0x56bb82=this['_projectRows'](_0x338efe,_0x20002c),_0x40c120=this[_0x3c0ab4(0x38a)](_0x338efe,_0x20002c[_0x3c0ab4(0x396)]??{}),_0x341070=this[_0x3c0ab4(0x2b3)](_0x338efe,_0x20002c);return{'type':_0x168289[_0x3c0ab4(0x493)],'fields':_0x341070,'rows':_0x56bb82,'groups':this['_projectGroups'](_0x338efe,_0x20002c,_0x56bb82),'titleFieldId':_0x40c120[_0x3c0ab4(0x24b)]['titleFieldId'],'coverFieldId':_0x40c120[_0x3c0ab4(0x225)],'cardLayout':_0x40c120[_0x3c0ab4(0x3e7)]??_0x3c0ab4(0x441),'showFieldNames':_0x40c120[_0x3c0ab4(0x507)]!==!0x1,'visibleCardFieldIds':this[_0x3c0ab4(0x2d7)](_0x338efe,_0x20002c,_0x40c120),'cardSize':_0x40c120[_0x3c0ab4(0x534)]??_0x3c0ab4(0x4be),'cards':_0x56bb82[_0x3c0ab4(0x2b0)](_0x4c6bdc=>({'recordId':_0x4c6bdc[_0x3c0ab4(0x1c6)],'title':this[_0x3c0ab4(0x1c7)](_0x338efe,_0x4c6bdc,_0x40c120[_0x3c0ab4(0x24b)][_0x3c0ab4(0x478)]),'values':_0x4c6bdc[_0x3c0ab4(0x45b)]}))};}[_0x5daf81(0x38a)](_0x12da9a,_0x155954){const _0x4eee78=_0x5daf81;let _0x4e64f2=_0x155954[_0x4eee78(0x24b)]??{'fieldIds':[]},_0x5344ed=this[_0x4eee78(0x4c7)](_0x12da9a,_0x4e64f2[_0x4eee78(0x478)]),_0x10d888=this[_0x4eee78(0x365)](_0x12da9a,_0x155954),_0x510d60=_0x155954[_0x4eee78(0x534)]==='small'||_0x155954[_0x4eee78(0x534)]==='large'?_0x155954[_0x4eee78(0x534)]:_0x4eee78(0x4be);return{..._0x155954,'coverFieldId':_0x10d888,'cardLayout':_0x155954[_0x4eee78(0x3e7)]==='compose'?'compose':_0x4eee78(0x441),'showFieldNames':_0x155954[_0x4eee78(0x507)]!==!0x1,'fieldSettings':Object['fromEntries'](Object['entries'](_0x155954['fieldSettings']??{})['filter'](([_0x22fc21])=>{const _0x2f0444=_0x4eee78;let _0x127e2a=_0x12da9a['fields'][_0x22fc21];return!!(_0x127e2a&&_0x127e2a[_0x2f0444(0x3db)]!==!0x0&&_0x127e2a[_0x2f0444(0x305)]!==_0x618ba['RecordId']);})),'card':{..._0x4e64f2,'titleFieldId':_0x5344ed,'coverFieldId':_0x10d888,'fieldIds':Array[_0x4eee78(0x31e)](_0x4e64f2[_0x4eee78(0x209)])?_0x4e64f2[_0x4eee78(0x209)]:[]},'cardSize':_0x510d60};}[_0x5daf81(0x4c7)](_0xb93927,_0x1f016a){const _0x178c09=_0x5daf81;let _0x443038=_0x1f016a?_0xb93927[_0x178c09(0x503)][_0x1f016a]:void 0x0;return _0x443038&&_0x443038['system']!==!0x0&&_0x443038[_0x178c09(0x305)]!==_0x618ba[_0x178c09(0x28f)]?_0x443038['id']:Zr(_0xb93927);}[_0x5daf81(0x365)](_0xf8ffe7,_0x5352ea){const _0x348477=_0x5daf81;var _0x37c612;let _0x439a70=_0x5352ea[_0x348477(0x225)]??((_0x37c612=_0x5352ea['card'])==null?void 0x0:_0x37c612[_0x348477(0x225)])??null;if(!_0x439a70)return null;let _0x2d2366=_0xf8ffe7[_0x348477(0x503)][_0x439a70];return _0x2d2366&&this[_0x348477(0x308)](_0x2d2366)[_0x348477(0x294)]?_0x2d2366['id']:null;}[_0x5daf81(0x2d7)](_0x23e70d,_0x4d64da,_0x44280e){const _0x3eb132=_0x5daf81;var _0x2d9198,_0x25ee27,_0x472661;let _0x52e931=_0x44280e[_0x3eb132(0x508)]??{},_0x3da9b5=((_0x2d9198=_0x44280e[_0x3eb132(0x24b)])==null?void 0x0:_0x2d9198[_0x3eb132(0x478)])??Zr(_0x23e70d),_0x6df08f=_0x44280e['coverFieldId']??((_0x25ee27=_0x44280e['card'])==null?void 0x0:_0x25ee27[_0x3eb132(0x225)])??null,_0x4d5e37=(_0x472661=_0x44280e['card'])!=null&&(_0x472661=_0x472661[_0x3eb132(0x209)])!=null&&_0x472661[_0x3eb132(0x21d)]?_0x44280e[_0x3eb132(0x24b)]['fieldIds']:Qr(_0x23e70d,[_0x3da9b5,_0x6df08f,_0x23e70d[_0x3eb132(0x51f)]]);return _0x4d5e37['filter'](_0x5ea334=>{const _0x48e512=_0x3eb132;var _0x5049fd,_0x4973cf;let _0x10b1e8=_0x23e70d[_0x48e512(0x503)][_0x5ea334];return!(!_0x10b1e8||_0x10b1e8[_0x48e512(0x3db)]===!0x0||_0x10b1e8['type']===_0x618ba[_0x48e512(0x28f)]||_0x10b1e8['id']===_0x3da9b5||_0x10b1e8['id']===_0x6df08f||(_0x5049fd=_0x4d64da['fieldSettings'])!=null&&(_0x5049fd=_0x5049fd[_0x5ea334])!=null&&_0x5049fd[_0x48e512(0x219)]||(_0x4973cf=_0x52e931[_0x5ea334])!=null&&_0x4973cf[_0x48e512(0x219)]);})[_0x3eb132(0x3c5)]((_0x5e00b9,_0x327336)=>{const _0x5be562=_0x3eb132;var _0x1d85c5,_0x3ae8cf;return(((_0x1d85c5=_0x52e931[_0x5e00b9])==null?void 0x0:_0x1d85c5['order'])??_0x4d5e37[_0x5be562(0x25c)](_0x5e00b9))-(((_0x3ae8cf=_0x52e931[_0x327336])==null?void 0x0:_0x3ae8cf[_0x5be562(0x33a)])??_0x4d5e37[_0x5be562(0x25c)](_0x327336));});}['_projectFields'](_0x11656b,_0x113fdf){const _0x4fa838=_0x5daf81;var _0x348614;return((_0x348614=_0x113fdf[_0x4fa838(0x1d6)])!=null&&_0x348614['length']?_0x113fdf['fieldOrder']:_0x11656b[_0x4fa838(0x1d6)])[_0x4fa838(0x36c)](_0x2deb85=>{const _0x2dd935=_0x4fa838;var _0x302b83;let _0xd2c0a7=_0x11656b[_0x2dd935(0x503)][_0x2deb85],_0x244ad8=((_0x302b83=_0x113fdf[_0x2dd935(0x508)])==null?void 0x0:_0x302b83[_0x2deb85])??{};return!_0xd2c0a7||_0xd2c0a7[_0x2dd935(0x3db)]===!0x0||_0xd2c0a7[_0x2dd935(0x305)]===_0x618ba[_0x2dd935(0x28f)]||_0x244ad8['hidden']?[]:[{'id':_0xd2c0a7['id'],'name':_0xd2c0a7['name'],'description':_0xd2c0a7[_0x2dd935(0x4e0)],'type':_0xd2c0a7[_0x2dd935(0x305)],'config':_0xd2c0a7[_0x2dd935(0x396)],'width':_0x244ad8[_0x2dd935(0x346)],'setting':_0x244ad8}];});}[_0x5daf81(0x353)](_0x2d7c46,_0x6b8cde){const _0x26f073=_0x5daf81;var _0x10b254;return I('BaseProjection.projectRows',()=>{const _0x1e4575=_0x188f;var _0x3128c2,_0x497eb1;let _0x121e7c=this['_projectTableRows'](_0x2d7c46),_0x342f6c=this[_0x1e4575(0x206)](_0x2d7c46['id'],_0x6b8cde),_0x224f76=this[_0x1e4575(0x215)](_0x2d7c46['id']),_0x2d89eb=this[_0x1e4575(0x3f9)][_0x1e4575(0x315)](_0x342f6c);if(_0x2d89eb&&_0x2d89eb[_0x1e4575(0x4c1)]===this[_0x1e4575(0x531)]&&_0x2d89eb['tableRevision']===this['_getTableRevision'](_0x2d7c46['id'])){if(_0x2d89eb[_0x1e4575(0x474)]===_0x224f76&&_0x2d89eb[_0x1e4575(0x487)]===_0x121e7c)return _0x2d89eb['rows'];if(_0x2d89eb['cellRevision']!==_0x224f76&&!this[_0x1e4575(0x220)](_0x2d7c46['id'],_0x2d89eb[_0x1e4575(0x474)],_0x224f76,this[_0x1e4575(0x4a2)](_0x6b8cde))){let _0x4e2d93=_0x2d89eb[_0x1e4575(0x372)]===_0x2d89eb['baseRows']?_0x121e7c:this['_patchCachedProjectedRows'](_0x2d89eb[_0x1e4575(0x372)],_0x121e7c);if(_0x4e2d93)return this['_projectedViewRowsCache']['set'](_0x342f6c,{..._0x2d89eb,'rows':_0x4e2d93,'baseRows':_0x121e7c,'cellRevision':_0x224f76}),_0x4e2d93;}}let _0x4d431e=I(_0x1e4575(0x1c0),()=>this[_0x1e4575(0x207)](_0x2d7c46,_0x6b8cde,this[_0x1e4575(0x4eb)](_0x2d7c46,_0x6b8cde,_0x121e7c)),{'tableId':_0x2d7c46['id'],'viewId':_0x6b8cde==null?void 0x0:_0x6b8cde['id'],'viewType':_0x6b8cde==null?void 0x0:_0x6b8cde[_0x1e4575(0x305)],'rows':_0x121e7c[_0x1e4575(0x21d)],'filters':(_0x6b8cde==null||(_0x3128c2=_0x6b8cde[_0x1e4575(0x32f)])==null?void 0x0:_0x3128c2[_0x1e4575(0x245)]['length'])??0x0,'sorts':(_0x6b8cde==null||(_0x497eb1=_0x6b8cde['sort'])==null?void 0x0:_0x497eb1[_0x1e4575(0x21d)])??0x0});return this[_0x1e4575(0x3f9)][_0x1e4575(0x1ba)](_0x342f6c,{'table':_0x2d7c46,'rows':_0x4d431e,'baseRows':_0x121e7c,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x1e4575(0x541)](_0x2d7c46['id']),'cellRevision':_0x224f76}),_0x4d431e;},{'tableId':_0x2d7c46['id'],'viewId':_0x6b8cde==null?void 0x0:_0x6b8cde['id'],'viewType':_0x6b8cde==null?void 0x0:_0x6b8cde[_0x26f073(0x305)],'records':((_0x10b254=_0x2d7c46['recordOrder'])==null?void 0x0:_0x10b254[_0x26f073(0x21d)])??Object[_0x26f073(0x46f)](_0x2d7c46['records']??{})[_0x26f073(0x21d)]});}['_projectTableRows'](_0x3e4ea4){const _0x4a87f2=_0x5daf81;var _0x443367;return I('BaseProjection.projectTableRows',()=>{const _0x2fe73f=_0x188f;var _0x1876d5;let _0x2da8bd=this['_getCellRevision'](_0x3e4ea4['id']),_0x59cd11=this['_projectedRowsCache'][_0x2fe73f(0x315)](_0x3e4ea4['id']);if(_0x59cd11&&_0x59cd11[_0x2fe73f(0x4c1)]===this['_globalRevision']&&_0x59cd11[_0x2fe73f(0x234)]===this['_getTableRevision'](_0x3e4ea4['id'])){if(_0x59cd11[_0x2fe73f(0x474)]===_0x2da8bd&&fi(_0x59cd11[_0x2fe73f(0x524)],_0x3e4ea4))return _0x59cd11[_0x2fe73f(0x524)]=_0x3e4ea4,_0x59cd11['rows'];let _0x4b184e=this[_0x2fe73f(0x4e9)](_0x3e4ea4,_0x59cd11,_0x2da8bd);if(_0x4b184e)return _0x4b184e;}ui(_0x3e4ea4)||L(_0x3e4ea4);let _0x35bec3=(_0x1876d5=_0x3e4ea4[_0x2fe73f(0x3da)])!=null&&_0x1876d5[_0x2fe73f(0x21d)]?_0x3e4ea4[_0x2fe73f(0x3da)]:hi(_0x3e4ea4['records']),_0x3b5986=I(_0x2fe73f(0x212),()=>{const _0x2792b8=_0x2fe73f;let _0x183e70=[];for(let _0x5b7461 of _0x35bec3){let _0x5d6b5b=_0x3e4ea4[_0x2792b8(0x43a)][_0x5b7461];if(!_0x5d6b5b)continue;let _0x5ec9c9={};for(let _0xd57b75 of _0x3e4ea4[_0x2792b8(0x1d6)])_0x5ec9c9[_0xd57b75]=yt(_0x3e4ea4,_0x5d6b5b['id'],_0xd57b75);_0x183e70['push']({'recordId':_0x5d6b5b['id'],'values':_0x5ec9c9});}return _0x183e70;},{'tableId':_0x3e4ea4['id'],'records':_0x35bec3[_0x2fe73f(0x21d)],'fields':_0x3e4ea4['fieldOrder'][_0x2fe73f(0x21d)]});return this[_0x2fe73f(0x38b)][_0x2fe73f(0x1ba)](_0x3e4ea4['id'],{'table':_0x3e4ea4,'rows':_0x3b5986,'rowIndexById':li(_0x3b5986),'globalRevision':this[_0x2fe73f(0x531)],'tableRevision':this[_0x2fe73f(0x541)](_0x3e4ea4['id']),'cellRevision':_0x2da8bd}),_0x3b5986;},{'tableId':_0x3e4ea4['id'],'records':((_0x443367=_0x3e4ea4[_0x4a87f2(0x3da)])==null?void 0x0:_0x443367['length'])??Object['keys'](_0x3e4ea4[_0x4a87f2(0x43a)]??{})[_0x4a87f2(0x21d)],'fields':_0x3e4ea4['fieldOrder'][_0x4a87f2(0x21d)]});}[_0x5daf81(0x4e9)](_0x400494,_0x4c4ba7,_0x551c7c){const _0x526d7d=_0x5daf81;let _0x3478d6=(this[_0x526d7d(0x235)][_0x526d7d(0x315)](_0x400494['id'])??[])[_0x526d7d(0x32f)](_0x154396=>_0x154396[_0x526d7d(0x1c3)]>_0x4c4ba7[_0x526d7d(0x474)]&&_0x154396['revision']<=_0x551c7c);if(!_0x3478d6['length'])return _0x4c4ba7['table']===_0x400494?_0x4c4ba7[_0x526d7d(0x372)]:null;let _0x28f517=_0x4c4ba7['rows'],_0x13bf10=new Map();for(let _0x5ed11e of _0x3478d6){let _0x30d03c=_0x13bf10[_0x526d7d(0x315)](_0x5ed11e[_0x526d7d(0x1c6)]);_0x30d03c||(_0x30d03c=new Set(),_0x13bf10[_0x526d7d(0x1ba)](_0x5ed11e[_0x526d7d(0x1c6)],_0x30d03c)),_0x30d03c[_0x526d7d(0x4ee)](_0x5ed11e[_0x526d7d(0x4a1)]);}for(let [_0x11b298,_0x2aebd2]of _0x13bf10){if(!_0x400494['records'][_0x11b298])return null;let _0x300d21=_0x4c4ba7[_0x526d7d(0x281)][_0x526d7d(0x315)](_0x11b298);if(_0x300d21==null)return null;_0x28f517===_0x4c4ba7[_0x526d7d(0x372)]&&(_0x28f517=[..._0x4c4ba7[_0x526d7d(0x372)]]);let _0x5cef9e=_0x28f517[_0x300d21],_0x4937cc={..._0x5cef9e[_0x526d7d(0x45b)]};_0x2aebd2[_0x526d7d(0x429)](_0x2860a9=>{_0x4937cc[_0x2860a9]=yt(_0x400494,_0x11b298,_0x2860a9);}),_0x28f517[_0x300d21]={..._0x5cef9e,'values':_0x4937cc};}let _0x4026de={'table':_0x400494,'rows':_0x28f517,'rowIndexById':_0x4c4ba7[_0x526d7d(0x281)],'globalRevision':this[_0x526d7d(0x531)],'tableRevision':this[_0x526d7d(0x541)](_0x400494['id']),'cellRevision':_0x551c7c};return this[_0x526d7d(0x38b)]['set'](_0x400494['id'],_0x4026de),this[_0x526d7d(0x235)][_0x526d7d(0x1ba)](_0x400494['id'],(this['_cellInvalidations']['get'](_0x400494['id'])??[])[_0x526d7d(0x32f)](_0x3343a9=>_0x3343a9['revision']>Math['max'](0x0,_0x551c7c-0x100))),_0x28f517;}[_0x5daf81(0x1bf)](_0x15940e,_0x2c0c50){const _0x3e941b=_0x5daf81;let _0x528ee4=new Map(_0x2c0c50[_0x3e941b(0x2b0)](_0x5e8719=>[_0x5e8719[_0x3e941b(0x1c6)],_0x5e8719])),_0x1c2bc=!0x1,_0x38b21d=_0x15940e[_0x3e941b(0x2b0)](_0x25c1b0=>{const _0x862381=_0x3e941b;let _0x116f25=_0x528ee4[_0x862381(0x315)](_0x25c1b0[_0x862381(0x1c6)]);return _0x116f25?_0x116f25===_0x25c1b0?_0x25c1b0:(_0x1c2bc=!0x0,_0x116f25):_0x25c1b0;});return _0x1c2bc?_0x38b21d:_0x15940e;}['_cellInvalidationsTouchFields'](_0x40bc42,_0x5c9456,_0x44e16b,_0x4004b5){const _0x5aaf16=_0x5daf81;return!_0x4004b5['size']||_0x5c9456===_0x44e16b?!0x1:_0x44e16b-_0x5c9456>0x100||(this[_0x5aaf16(0x235)]['get'](_0x40bc42)??[])[_0x5aaf16(0x387)](_0x11cfce=>_0x11cfce[_0x5aaf16(0x1c3)]>_0x5c9456&&_0x11cfce['revision']<=_0x44e16b&&_0x4004b5[_0x5aaf16(0x253)](_0x11cfce['fieldId']));}['_filterSortFieldIds'](_0x54def7){const _0x5bb7c6=_0x5daf81;var _0x1a55eb,_0xb11178;let _0x524057=new Set();return _0x54def7==null||(_0x1a55eb=_0x54def7[_0x5bb7c6(0x32f)])==null||_0x1a55eb[_0x5bb7c6(0x245)][_0x5bb7c6(0x429)](_0x7dc302=>_0x524057[_0x5bb7c6(0x4ee)](_0x7dc302['fieldId'])),_0x54def7==null||(_0xb11178=_0x54def7[_0x5bb7c6(0x3c5)])==null||_0xb11178[_0x5bb7c6(0x429)](_0x4df97b=>_0x524057[_0x5bb7c6(0x4ee)](_0x4df97b[_0x5bb7c6(0x4a1)])),_0x524057;}[_0x5daf81(0x50c)](_0x32bb50){const _0x379cad=_0x5daf81;var _0x36cb6b;let _0x1740df=this[_0x379cad(0x4a2)](_0x32bb50);return(_0x36cb6b=_0x32bb50[_0x379cad(0x3e9)])==null||_0x36cb6b[_0x379cad(0x429)](_0x19be1c=>_0x1740df[_0x379cad(0x4ee)](_0x19be1c['fieldId'])),_0x1740df;}['_filterRows'](_0x21ce68,_0x5633b0,_0x13aaf3){const _0x2a5576=_0x5daf81;let _0x2897c4=_0x5633b0==null?void 0x0:_0x5633b0[_0x2a5576(0x32f)];if(!(_0x2897c4!=null&&_0x2897c4[_0x2a5576(0x245)][_0x2a5576(0x21d)]))return _0x13aaf3;let _0x268a0f=_0x2897c4[_0x2a5576(0x245)][_0x2a5576(0x32f)](_0x1b266a=>!Ii(_0x1b266a));return _0x268a0f['length']?_0x13aaf3['filter'](_0x4cab92=>{const _0x26cade=_0x2a5576;if(_0x2897c4[_0x26cade(0x437)]===_0x4967ae['OR']){for(let _0x59bfa9 of _0x268a0f){let _0x287cf8=_0x21ce68[_0x26cade(0x503)][_0x59bfa9[_0x26cade(0x4a1)]];if(!_0x287cf8||this[_0x26cade(0x47d)][_0x26cade(0x315)](_0x287cf8[_0x26cade(0x305)])[_0x26cade(0x32f)](_0x4cab92[_0x26cade(0x45b)][_0x287cf8['id']],_0x59bfa9[_0x26cade(0x246)],_0x59bfa9['operand'],_0x287cf8))return!0x0;}return!0x1;}for(let _0x2fcb73 of _0x268a0f){let _0x2dd0c4=_0x21ce68[_0x26cade(0x503)][_0x2fcb73[_0x26cade(0x4a1)]];if(_0x2dd0c4&&!this['_fieldRegistry'][_0x26cade(0x315)](_0x2dd0c4[_0x26cade(0x305)])[_0x26cade(0x32f)](_0x4cab92[_0x26cade(0x45b)][_0x2dd0c4['id']],_0x2fcb73['operator'],_0x2fcb73['operand'],_0x2dd0c4))return!0x1;}return!0x0;}):_0x13aaf3;}[_0x5daf81(0x207)](_0x192f37,_0x51ccce,_0x3ba131){const _0x8ba35b=_0x5daf81;let _0x2b8c6c=(_0x51ccce==null?void 0x0:_0x51ccce['sort'])??[];if(!_0x2b8c6c[_0x8ba35b(0x21d)])return _0x3ba131;let _0xfd8a85=_0x2b8c6c[_0x8ba35b(0x36c)](_0x576a63=>{const _0x450e6f=_0x8ba35b;let _0x2dca26=_0x192f37[_0x450e6f(0x503)][_0x576a63[_0x450e6f(0x4a1)]];return _0x2dca26?[{..._0x576a63,'field':_0x2dca26}]:[];});return _0xfd8a85[_0x8ba35b(0x21d)]?this['_canUseFastSort'](_0xfd8a85)?this[_0x8ba35b(0x36a)](_0xfd8a85,_0x3ba131):[..._0x3ba131][_0x8ba35b(0x3c5)]((_0x2f1cec,_0xa47e69)=>{const _0x3c153d=_0x8ba35b;for(let _0x513f9b of _0xfd8a85){let _0xc2111e=_0x513f9b['field'],_0x31bb37=this[_0x3c153d(0x47d)][_0x3c153d(0x315)](_0xc2111e[_0x3c153d(0x305)])[_0x3c153d(0x236)](_0x2f1cec[_0x3c153d(0x45b)][_0xc2111e['id']],_0xa47e69[_0x3c153d(0x45b)][_0xc2111e['id']],_0xc2111e);if(_0x31bb37!==0x0)return _0x513f9b[_0x3c153d(0x320)]===_0x43615e['DESC']?-_0x31bb37:_0x31bb37;}return 0x0;}):_0x3ba131;}['_canUseFastSort'](_0x470c36){const _0x27d4ef=_0x5daf81;return _0x470c36[_0x27d4ef(0x2ab)](_0x2d217f=>ai['has'](_0x2d217f[_0x27d4ef(0x50a)][_0x27d4ef(0x305)]));}[_0x5daf81(0x36a)](_0x3d300e,_0x2fda6a){const _0x2d5d29=_0x5daf81;return _0x2fda6a[_0x2d5d29(0x2b0)]((_0x34c494,_0x15e23d)=>({'row':_0x34c494,'index':_0x15e23d,'keys':_0x3d300e[_0x2d5d29(0x2b0)](_0x20230a=>_0x34c494[_0x2d5d29(0x45b)][_0x20230a[_0x2d5d29(0x4a1)]])}))[_0x2d5d29(0x3c5)]((_0x401fae,_0x7d3f1b)=>{const _0x5e81f3=_0x2d5d29;for(let _0x5f5bcd=0x0;_0x5f5bcd<_0x3d300e[_0x5e81f3(0x21d)];_0x5f5bcd++){let _0x4c8f3e=Fi(_0x401fae[_0x5e81f3(0x46f)][_0x5f5bcd],_0x7d3f1b['keys'][_0x5f5bcd]);if(_0x4c8f3e!==0x0)return _0x3d300e[_0x5f5bcd][_0x5e81f3(0x320)]===_0x43615e['DESC']?-_0x4c8f3e:_0x4c8f3e;}return _0x401fae[_0x5e81f3(0x391)]-_0x7d3f1b[_0x5e81f3(0x391)];})[_0x2d5d29(0x2b0)](_0x59e822=>_0x59e822[_0x2d5d29(0x406)]);}['_projectGroups'](_0x106e73,_0x479a26,_0x6c8611){const _0x5103de=_0x5daf81;var _0x3138fd;return I(_0x5103de(0x3ac),()=>{const _0x41d796=_0x5103de;var _0x15eb91;if(!((_0x15eb91=_0x479a26[_0x41d796(0x3e9)])!=null&&_0x15eb91[_0x41d796(0x21d)]))return[];let _0x161bae=_0x479a26[_0x41d796(0x3e9)]['filter'](_0x5930db=>_0x106e73['fields'][_0x5930db[_0x41d796(0x4a1)]]);if(!_0x161bae[_0x41d796(0x21d)])return[];let _0x3a1069=this[_0x41d796(0x4f0)](_0x106e73['id'],_0x479a26,_0x161bae),_0x56a97d=this['_getCellRevision'](_0x106e73['id']),_0x20157f=this['_projectedGroupsCache'][_0x41d796(0x315)](_0x3a1069);if(_0x20157f&&_0x20157f[_0x41d796(0x4c1)]===this['_globalRevision']&&_0x20157f[_0x41d796(0x234)]===this[_0x41d796(0x541)](_0x106e73['id'])){if(_0x20157f[_0x41d796(0x474)]===_0x56a97d&&_0x20157f['rows']===_0x6c8611)return _0x20157f[_0x41d796(0x21e)];if(_0x20157f[_0x41d796(0x474)]!==_0x56a97d&&!this['_cellInvalidationsTouchFields'](_0x106e73['id'],_0x20157f[_0x41d796(0x474)],_0x56a97d,this[_0x41d796(0x50c)](_0x479a26)))return this['_projectedGroupsCache']['set'](_0x3a1069,{..._0x20157f,'rows':_0x6c8611,'cellRevision':_0x56a97d}),_0x20157f['groups'];}let _0x538922=new Map();for(let _0x19ab75 of _0x6c8611){let _0x53388a=_0x538922,_0x311b0e='';for(let _0x275cbe=0x0;_0x275cbe<_0x161bae['length'];_0x275cbe++){let _0x132026=_0x161bae[_0x275cbe],_0x28484d=_0x19ab75['values'][_0x132026['fieldId']],_0xc6391d=ci(_0x28484d),_0x4a4d8d=_0x132026[_0x41d796(0x4a1)]+'\x00'+_0xc6391d,_0x338c61=_0x311b0e+'/'+_0x132026[_0x41d796(0x4a1)]+':'+_0xc6391d,_0x2539e8=_0x53388a['get'](_0x4a4d8d);_0x2539e8||(_0x2539e8={'key':_0xc6391d,'value':_0x28484d,'path':_0x338c61,'label':_0xc6391d||_0x41d796(0x289),'fieldId':_0x132026['fieldId'],'level':_0x275cbe,'recordIds':[],'children':new Map()},_0x53388a[_0x41d796(0x1ba)](_0x4a4d8d,_0x2539e8)),_0x2539e8['recordIds'][_0x41d796(0x482)](_0x19ab75[_0x41d796(0x1c6)]),_0x53388a=_0x2539e8[_0x41d796(0x2c9)],_0x311b0e=_0x338c61;}}let _0xed624b=this['_materializeGroups'](_0x161bae,_0x538922,0x0);return this['_projectedGroupsCache']['set'](_0x3a1069,{'table':_0x106e73,'rows':_0x6c8611,'groups':_0xed624b,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x41d796(0x541)](_0x106e73['id']),'cellRevision':_0x56a97d}),_0xed624b;},{'tableId':_0x106e73['id'],'viewId':_0x479a26['id'],'viewType':_0x479a26[_0x5103de(0x305)],'rows':_0x6c8611[_0x5103de(0x21d)],'groupFields':((_0x3138fd=_0x479a26[_0x5103de(0x3e9)])==null?void 0x0:_0x3138fd['length'])??0x0});}[_0x5daf81(0x262)](_0x55d317,_0x26feed,_0x1a8389){const _0x4f3a9c=_0x5daf81;var _0x3b0269;let _0x2a59be=Array['from'](_0x26feed[_0x4f3a9c(0x45b)]()),_0xda060c=(_0x3b0269=_0x55d317[_0x1a8389])==null?void 0x0:_0x3b0269[_0x4f3a9c(0x320)];return _0xda060c&&_0x2a59be[_0x4f3a9c(0x3c5)]((_0x1259de,_0x183dd2)=>{const _0x74c529=_0x4f3a9c;let _0x12bb55=_0x1259de[_0x74c529(0x2d4)][_0x74c529(0x202)](_0x183dd2[_0x74c529(0x2d4)]);return _0xda060c===_0x43615e['DESC']?-_0x12bb55:_0x12bb55;}),_0x2a59be['map'](_0x18779e=>({'key':_0x18779e['key'],'value':_0x18779e[_0x4f3a9c(0x3fd)],'path':_0x18779e[_0x4f3a9c(0x25e)],'label':_0x18779e[_0x4f3a9c(0x20b)],'fieldId':_0x18779e['fieldId'],'level':_0x18779e[_0x4f3a9c(0x22e)],'recordIds':_0x18779e[_0x4f3a9c(0x3d8)],'children':this[_0x4f3a9c(0x262)](_0x55d317,_0x18779e[_0x4f3a9c(0x2c9)],_0x1a8389+0x1)}));}[_0x5daf81(0x1c7)](_0x53d3e5,_0x3d8414,_0x4c740f){const _0x5cf960=_0x5daf81;let _0x387520=_0x4c740f??_0x53d3e5[_0x5cf960(0x51f)],_0x125f4a=_0x3d8414[_0x5cf960(0x45b)][_0x387520];return _0x125f4a==null?'':String(_0x125f4a);}[_0x5daf81(0x4ef)](_0x2d7e81){const _0x1f012f=_0x5daf81;if(Array[_0x1f012f(0x31e)](_0x2d7e81))return _0x2d7e81[_0x1f012f(0x2b0)](String);if(typeof _0x2d7e81=='string'&&_0x2d7e81)return[_0x2d7e81];}['_capabilities'](_0x26cd3e){const _0x2ff821=_0x5daf81;return this[_0x2ff821(0x47d)]['get'](_0x26cd3e['type'])[_0x2ff821(0x4a4)](_0x26cd3e);}};si=X([Y(0x0,_0x477fb0(mr))],si);function ci(_0x161bd6){return _0x161bd6==null?'':String(_0x161bd6);}function li(_0x2922dc){const _0x5118c9=_0x5daf81;return new Map(_0x2922dc[_0x5118c9(0x2b0)]((_0x2fc111,_0x49b246)=>[_0x2fc111[_0x5118c9(0x1c6)],_0x49b246]));}function ui(_0x34f2af){const _0x466adc=_0x5daf81;return!!(Array[_0x466adc(0x31e)](_0x34f2af[_0x466adc(0x3da)])&&_0x34f2af[_0x466adc(0x2c4)]&&_0x34f2af[_0x466adc(0x1ec)]&&_0x34f2af[_0x466adc(0x3b9)]&&_0x34f2af[_0x466adc(0x33c)]&&_0x34f2af[_0x466adc(0x1d3)]);}function di(_0x28fe53){const _0x577068=_0x5daf81;let _0x155f0f=(_0x28fe53==null?void 0x0:_0x28fe53[_0x577068(0x245)][_0x577068(0x32f)](_0x55f89d=>!Ii(_0x55f89d)))??[];return!_0x28fe53||!_0x155f0f[_0x577068(0x21d)]?null:{'conjunction':_0x28fe53['conjunction'],'conditions':_0x155f0f[_0x577068(0x2b0)](_0x10472c=>({'fieldId':_0x10472c[_0x577068(0x4a1)],'operator':_0x10472c[_0x577068(0x246)],'operand':_0x10472c[_0x577068(0x30b)]}))};}function fi(_0x2ab391,_0x5ce1b0){const _0x2764e6=_0x5daf81;return _0x2ab391['records']===_0x5ce1b0['records']&&_0x2ab391[_0x2764e6(0x3da)]===_0x5ce1b0[_0x2764e6(0x3da)]&&_0x2ab391[_0x2764e6(0x503)]===_0x5ce1b0['fields']&&_0x2ab391[_0x2764e6(0x1d6)]===_0x5ce1b0['fieldOrder']&&_0x2ab391[_0x2764e6(0x1d3)]===_0x5ce1b0[_0x2764e6(0x1d3)]&&_0x2ab391[_0x2764e6(0x2c4)]===_0x5ce1b0[_0x2764e6(0x2c4)]&&_0x2ab391[_0x2764e6(0x1ec)]===_0x5ce1b0[_0x2764e6(0x1ec)]&&_0x2ab391[_0x2764e6(0x3b9)]===_0x5ce1b0[_0x2764e6(0x3b9)]&&_0x2ab391[_0x2764e6(0x33c)]===_0x5ce1b0[_0x2764e6(0x33c)];}function pi(_0x5dc423){const _0x6d7420=_0x5daf81;return _0x5dc423!=null&&_0x5dc423[_0x6d7420(0x21d)]?_0x5dc423[_0x6d7420(0x2b0)](_0x45dcd6=>({'fieldId':_0x45dcd6['fieldId'],'direction':_0x45dcd6['direction']})):null;}function mi(_0x3dbc61){const _0x2a5ea7=_0x5daf81;if(typeof _0x3dbc61!=_0x2a5ea7(0x1fb)||!_0x3dbc61)return JSON[_0x2a5ea7(0x439)](_0x3dbc61)??_0x2a5ea7(0x26a);if(Array[_0x2a5ea7(0x31e)](_0x3dbc61))return'['+_0x3dbc61[_0x2a5ea7(0x2b0)](mi)[_0x2a5ea7(0x30a)](',')+']';let _0x28934d=_0x3dbc61;return'{'+Object[_0x2a5ea7(0x46f)](_0x28934d)[_0x2a5ea7(0x3c5)]()[_0x2a5ea7(0x2b0)](_0x2594c6=>JSON['stringify'](_0x2594c6)+':'+mi(_0x28934d[_0x2594c6]))[_0x2a5ea7(0x30a)](',')+'}';}function hi(_0xd51ab0){const _0x5a4f94=_0x5daf81;let _0x6731a7=Object['values'](_0xd51ab0)[_0x5a4f94(0x3c5)]((_0x315568,_0x4c648f)=>_0x315568[_0x5a4f94(0x2a2)][_0x5a4f94(0x202)](_0x4c648f[_0x5a4f94(0x2a2)])),_0x540abc=[];for(let _0x5e1497 of _0x6731a7)_0x540abc[_0x5a4f94(0x482)](_0x5e1497['id']);return _0x540abc;}function gi(_0x3a3b58){const _0x4c9944=_0x5daf81;return{'weekdays':Array[_0x4c9944(0x31e)](_0x3a3b58==null?void 0x0:_0x3a3b58[_0x4c9944(0x479)])&&_0x3a3b58[_0x4c9944(0x479)][_0x4c9944(0x21d)]?[...new Set(_0x3a3b58['weekdays'][_0x4c9944(0x32f)](_0x547bc6=>Number[_0x4c9944(0x317)](_0x547bc6)&&_0x547bc6>=0x1&&_0x547bc6<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x4c9944(0x31e)](_0x3a3b58==null?void 0x0:_0x3a3b58[_0x4c9944(0x476)])?_0x3a3b58[_0x4c9944(0x476)]['flatMap'](_0xc9d0c0=>!_0xc9d0c0||!Number['isFinite'](_0xc9d0c0[_0x4c9944(0x4ae)])?[]:[{'id':String(_0xc9d0c0['id']||_0x4c9944(0x37f)+_0xc9d0c0[_0x4c9944(0x4ae)]),'date':Z(Number(_0xc9d0c0[_0x4c9944(0x4ae)])),'name':String(_0xc9d0c0[_0x4c9944(0x322)]||_0x4c9944(0x472)),'type':_0xc9d0c0[_0x4c9944(0x305)]==='working'?_0x4c9944(0x22f):_0x4c9944(0x31d)}]):[]};}function _i(_0x58973e,_0x3d504,_0x4da28b,_0xe1da4){let _0x4f2f22=xi(_0x58973e,_0x3d504),_0xbc466d=Si(_0x58973e,_0x4da28b),_0x170d1c=vi(_0x58973e,_0x4f2f22,_0xbc466d,_0xe1da4);return{'scale':_0x58973e,'start':_0x4f2f22,'end':_0xbc466d,'unitWidth':bi(_0x58973e),'majorHeaders':yi(_0x58973e,_0x4f2f22,_0xbc466d),'columns':_0x170d1c};}function vi(_0x72be32,_0x306bad,_0x144b23,_0x2142de){const _0x4a3cd1=_0x5daf81;let _0x409c7f=[],_0x3fca19=_0x306bad;for(;_0x3fca19<_0x144b23;){let _0xec399c=_0x72be32===_0x4a3cd1(0x459)?ji(_0x3fca19,0x7):_0x72be32==='year'?Mi(_0x3fca19,0x1):ji(_0x3fca19,0x1);_0x409c7f[_0x4a3cd1(0x482)]({'id':_0x72be32+'-'+_0x3fca19,'label':Ci(_0x72be32,_0x3fca19,_0xec399c),'majorLabel':wi(_0x72be32,_0x3fca19),'start':_0x3fca19,'end':_0xec399c,'nonWorking':Ei(_0x3fca19,_0xec399c,_0x2142de)}),_0x3fca19=_0xec399c;}return _0x409c7f;}function yi(_0x5e4d72,_0x5d5fed,_0x23e64e){const _0x400bdc=_0x5daf81;let _0x238ba4=[],_0x33835f=_0x5e4d72===_0x400bdc(0x27d)?Ai(_0x5d5fed):ki(_0x5d5fed);for(;_0x33835f<_0x23e64e;){let _0x521dcd=_0x5e4d72==='year'?Ni(_0x33835f,0x1):Mi(_0x33835f,0x1);_0x238ba4[_0x400bdc(0x482)]({'id':_0x400bdc(0x462)+_0x33835f,'label':_0x5e4d72===_0x400bdc(0x27d)?String(new Date(_0x33835f)['getUTCFullYear']()):Pi(_0x33835f),'start':_0x33835f,'end':_0x521dcd}),_0x33835f=_0x521dcd;}return _0x238ba4;}function bi(_0x30b9e6){const _0xb17dab=_0x5daf81;switch(_0x30b9e6){case _0xb17dab(0x2ba):return 0xac;case _0xb17dab(0x459):return 0xac;case'year':return 0x88;default:return 0x56;}}function xi(_0x274ef7,_0x388bef){const _0xfa236d=_0x5daf81;return _0x274ef7===_0xfa236d(0x27d)?Ai(_0x388bef):_0x274ef7===_0xfa236d(0x459)?Oi(_0x388bef):Z(_0x388bef);}function Si(_0x3b0709,_0x294257){const _0x21d3ba=_0x5daf81;return _0x3b0709===_0x21d3ba(0x27d)?Ni(Ai(_0x294257),0x1):_0x3b0709===_0x21d3ba(0x459)?ji(Oi(_0x294257),0x7):ji(Z(_0x294257),0x1);}function Ci(_0x3ca0e8,_0x37fb52,_0x2f6f03){const _0x1d5587=_0x5daf81;let _0x537661=new Date(_0x37fb52);return _0x3ca0e8===_0x1d5587(0x459)?_0x537661[_0x1d5587(0x560)]()+'-'+new Date(_0x2f6f03-oi)[_0x1d5587(0x560)]():_0x3ca0e8==='year'?_0x537661[_0x1d5587(0x492)]('en-US',{'month':'short','timeZone':_0x1d5587(0x50e)}):String(_0x537661[_0x1d5587(0x560)]());}function wi(_0x3df915,_0xcccb57){const _0x414226=_0x5daf81;return _0x3df915===_0x414226(0x27d)?String(new Date(_0xcccb57)[_0x414226(0x3ce)]()):Pi(_0xcccb57);}function Ti(_0x5bdff4,_0x7690ef,_0x1db07b){let _0x40aefd=gi(_0x1db07b),_0x1d6b35=0x0;for(let _0x244ac0=Z(_0x5bdff4);_0x244ac0<=Z(_0x7690ef);_0x244ac0=ji(_0x244ac0,0x1))Di(_0x244ac0,_0x40aefd)||_0x1d6b35++;return _0x1d6b35;}function Ei(_0x3de9cb,_0x49b7a2,_0x34d898){if(!_0x34d898)return!0x1;let _0x36c920=gi(_0x34d898);for(let _0x4bf37d=Z(_0x3de9cb);_0x4bf37d<_0x49b7a2;_0x4bf37d=ji(_0x4bf37d,0x1))if(!Di(_0x4bf37d,_0x36c920))return!0x1;return!0x0;}function Di(_0x41e24e,_0x1d97d6){const _0x10493c=_0x5daf81;let _0x14c976=Z(_0x41e24e),_0x26793c=_0x1d97d6[_0x10493c(0x476)][_0x10493c(0x2d8)](_0x33331c=>Z(_0x33331c[_0x10493c(0x4ae)])===_0x14c976);if(_0x26793c)return _0x26793c[_0x10493c(0x305)]===_0x10493c(0x31d);let _0x1de108=new Date(_0x14c976)[_0x10493c(0x512)](),_0x243a74=_0x1de108===0x0?0x7:_0x1de108;return!_0x1d97d6[_0x10493c(0x479)]['includes'](_0x243a74);}function Z(_0x2eeed9){const _0x3003b0=_0x5daf81;let _0x5b2c55=new Date(_0x2eeed9);return Date[_0x3003b0(0x50e)](_0x5b2c55[_0x3003b0(0x3ce)](),_0x5b2c55[_0x3003b0(0x222)](),_0x5b2c55[_0x3003b0(0x560)]());}function Oi(_0x11db8a){const _0x16899a=_0x5daf81;let _0x4bbc1f=Z(_0x11db8a),_0x11b2c0=new Date(_0x4bbc1f)[_0x16899a(0x512)]();return ji(_0x4bbc1f,-(_0x11b2c0===0x0?0x6:_0x11b2c0-0x1));}function ki(_0x1f7e1e){const _0x5498e4=_0x5daf81;let _0x5e850c=new Date(_0x1f7e1e);return Date[_0x5498e4(0x50e)](_0x5e850c[_0x5498e4(0x3ce)](),_0x5e850c[_0x5498e4(0x222)](),0x1);}function Ai(_0x47f63b){const _0x8da597=_0x5daf81;let _0x3c156c=new Date(_0x47f63b);return Date[_0x8da597(0x50e)](_0x3c156c[_0x8da597(0x3ce)](),0x0,0x1);}function ji(_0x1d9207,_0x5252de){return _0x1d9207+_0x5252de*oi;}function Mi(_0x5c0cbd,_0x5cb166){const _0x9cf43b=_0x5daf81;let _0x439584=new Date(_0x5c0cbd);return Date[_0x9cf43b(0x50e)](_0x439584[_0x9cf43b(0x3ce)](),_0x439584[_0x9cf43b(0x222)]()+_0x5cb166,0x1);}function Ni(_0x2b3c00,_0x28341a){const _0x46dadc=_0x5daf81;let _0x442485=new Date(_0x2b3c00);return Date['UTC'](_0x442485[_0x46dadc(0x3ce)]()+_0x28341a,0x0,0x1);}function Pi(_0x3ea57b){const _0x44714d=_0x5daf81;let _0x1b60fc=new Date(_0x3ea57b);return _0x1b60fc[_0x44714d(0x492)](_0x44714d(0x231),{'month':_0x44714d(0x532),'timeZone':_0x44714d(0x50e)})+'\x20'+_0x1b60fc[_0x44714d(0x3ce)]();}function Fi(_0x47ffc8,_0x9870b5){const _0x31c228=_0x5daf81;if(_0x47ffc8==null&&_0x9870b5==null)return 0x0;if(_0x47ffc8==null)return-0x1;if(_0x9870b5==null)return 0x1;if(typeof _0x47ffc8==_0x31c228(0x26c)||typeof _0x9870b5==_0x31c228(0x26c))return Number(_0x47ffc8===!0x0)-Number(_0x9870b5===!0x0);let _0x53ba1c=Number(_0x47ffc8),_0x1e2a8d=Number(_0x9870b5),_0x87750e=Number[_0x31c228(0x2fc)](_0x53ba1c),_0x133dab=Number['isFinite'](_0x1e2a8d);return _0x87750e&&_0x133dab?_0x53ba1c-_0x1e2a8d:_0x87750e?0x1:_0x133dab?-0x1:String(_0x47ffc8)[_0x31c228(0x202)](String(_0x9870b5));}function Ii(_0x2c0e53){const _0x64c1fe=_0x5daf81;if(_0x2c0e53['operator']!=='is'&&_0x2c0e53['operator']!==_0x64c1fe(0x4b5))return!0x1;let _0x503915=_0x2c0e53[_0x64c1fe(0x30b)];return _0x503915==null?!0x0:typeof _0x503915==_0x64c1fe(0x2ed)?_0x503915[_0x64c1fe(0x3a5)]()==='':Array[_0x64c1fe(0x31e)](_0x503915)?_0x503915[_0x64c1fe(0x21d)]===0x0:!0x1;}function Li(_0x401101,_0x27a495){const _0x21982=_0x5daf81;var _0x5dfb69;let _0x5fd6a8=Array[_0x21982(0x31e)]((_0x5dfb69=_0x401101[_0x21982(0x396)])==null?void 0x0:_0x5dfb69[_0x21982(0x49e)])?_0x401101[_0x21982(0x396)][_0x21982(0x49e)]:[];for(let _0x2162ed of _0x5fd6a8){if(_0x2162ed==null)continue;if(typeof _0x2162ed==_0x21982(0x2ed)){if(_0x2162ed===_0x27a495)return{'id':_0x2162ed,'name':_0x2162ed};continue;}let _0x420010=_0x2162ed,_0x19b0a9=String(_0x420010['id']??_0x420010[_0x21982(0x322)]??''),_0xea839a=String(_0x420010[_0x21982(0x322)]??_0x420010['id']??_0x19b0a9);if(_0x19b0a9===_0x27a495||_0xea839a===_0x27a495)return{'id':_0x19b0a9,'name':_0xea839a,'color':_0x420010[_0x21982(0x3be)]==null?void 0x0:String(_0x420010[_0x21982(0x3be)])};}return null;}let Ri=function(_0x4a180a){const _0x4c1707=_0x5daf81;return _0x4a180a[_0x4c1707(0x1cf)]=_0x4c1707(0x349),_0x4a180a[_0x4c1707(0x3e0)]=_0x4c1707(0x24c),_0x4a180a;}({});const Q={'id':_0x5daf81(0x554),'type':_0x3d059d['MUTATION'],'handler'(_0xf2623f,_0x3dc2ee){const _0x3209d3=_0x5daf81;let {unitId:_0x3a6600,op:_0x125c8c}=_0x3dc2ee,_0x18f36d=_0xf2623f['get'](_0x364596)[_0x3209d3(0x1ed)](_0x3a6600,_0x2ddca0[_0x3209d3(0x33d)]);if(!_0x18f36d)return!0x1;let _0x3f3a27=_0x18f36d[_0x3209d3(0x2f3)](),_0x4b113e=new z(),_0x20c792=_0x4b113e[_0x3209d3(0x26e)](_0x125c8c),_0x1d130b=_0x4b113e[_0x3209d3(0x525)](_0x3f3a27,_0x125c8c);return _0x18f36d[_0x3209d3(0x49d)](_0x1d130b),zi(_0x1d130b,_0x20c792,_0xf2623f['get'](ii)),!0x0;}};function zi(_0x20dd0f,_0x141a99,_0x4643b4){const _0x2240ec=_0x5daf81;let _0xb6eb07=new Set(),_0x2e0c9d=new Set(),_0x4975f8=new Set();for(let _0x82a83c of _0x141a99){if(_0x82a83c[_0x2240ec(0x483)]===_0x2240ec(0x3a6)&&_0x82a83c[_0x2240ec(0x221)]&&_0x82a83c[_0x2240ec(0x3c2)]){let _0x7d96dc=_0x82a83c[_0x2240ec(0x221)]+'\x00'+_0x82a83c[_0x2240ec(0x3c2)];_0x4975f8[_0x2240ec(0x253)](_0x7d96dc)||(_0x4975f8[_0x2240ec(0x4ee)](_0x7d96dc),_0x4643b4['invalidateByView'](_0x82a83c[_0x2240ec(0x221)],_0x82a83c[_0x2240ec(0x3c2)]));continue;}if(_0x82a83c[_0x2240ec(0x483)]===_0x2240ec(0x50a)&&_0x82a83c[_0x2240ec(0x221)]&&_0x82a83c[_0x2240ec(0x4a1)]){let _0x4ea74a=_0x82a83c[_0x2240ec(0x221)]+'\x00'+_0x82a83c[_0x2240ec(0x4a1)];_0x2e0c9d[_0x2240ec(0x253)](_0x4ea74a)||(_0x2e0c9d[_0x2240ec(0x4ee)](_0x4ea74a),_0x4643b4[_0x2240ec(0x4b4)](_0x82a83c[_0x2240ec(0x221)],_0x82a83c[_0x2240ec(0x4a1)]));continue;}if(_0x82a83c[_0x2240ec(0x483)]!==_0x2240ec(0x203)){_0x4643b4[_0x2240ec(0x4ce)]();return;}let _0xaa5779=Bi(_0x20dd0f,_0x82a83c);if(!_0xaa5779){_0x4643b4['invalidateByOp']();return;}let _0x44bc5f=_0xaa5779[_0x2240ec(0x221)]+'\x00'+_0xaa5779['recordId']+'\x00'+_0xaa5779[_0x2240ec(0x4a1)];_0xb6eb07['has'](_0x44bc5f)||(_0xb6eb07[_0x2240ec(0x4ee)](_0x44bc5f),_0x4643b4[_0x2240ec(0x334)](_0xaa5779[_0x2240ec(0x221)],_0xaa5779['recordId'],_0xaa5779['fieldId']));}}function Bi(_0x246362,_0x56ae22){const _0x476952=_0x5daf81;var _0x1e8681,_0x4fe226;if(!_0x56ae22['tableId'])return null;if(_0x56ae22[_0x476952(0x1c6)]&&_0x56ae22['fieldId'])return{'tableId':_0x56ae22[_0x476952(0x221)],'recordId':_0x56ae22[_0x476952(0x1c6)],'fieldId':_0x56ae22[_0x476952(0x4a1)]};if(_0x56ae22[_0x476952(0x406)]==null||_0x56ae22[_0x476952(0x1cc)]==null)return null;let _0x513938=_0x246362['tables'][_0x56ae22[_0x476952(0x221)]],_0x2aba16=_0x513938==null||(_0x1e8681=_0x513938['rowId'])==null?void 0x0:_0x1e8681[_0x56ae22['row']],_0x5e783a=_0x513938==null||(_0x4fe226=_0x513938['colId'])==null?void 0x0:_0x4fe226[_0x56ae22[_0x476952(0x1cc)]];return!_0x2aba16||!_0x5e783a?null:{'tableId':_0x56ae22['tableId'],'recordId':_0x2aba16,'fieldId':_0x5e783a};}const Vi=_0x5ac771[_0x5daf81(0x2c2)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x5ac771['createRegExpFromSafeFragment'](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x5ac771[_0x5daf81(0x2c2)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x5ac771['createRegExpFromSafeFragment'](String[_0x5daf81(0x230)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x5daf81(0x217)](_0x1bd84f,_0x4ca49b=_0x1bd84f['id']){const _0x2fbe8d=_0x5daf81;var _0xd2cfa0;let _0x20354d=((_0xd2cfa0=_0x1bd84f[_0x2fbe8d(0x3da)])==null?void 0x0:_0xd2cfa0['length'])??Object[_0x2fbe8d(0x45b)](_0x1bd84f[_0x2fbe8d(0x43a)])['length'];return{'sheetId':_0x4ca49b,'titleMap':new Map(_0x1bd84f[_0x2fbe8d(0x1d6)][_0x2fbe8d(0x2b0)]((_0x20a0b8,_0x5cfbaf)=>{const _0x50d57e=_0x2fbe8d;var _0x201cf9;return[((_0x201cf9=_0x1bd84f[_0x50d57e(0x503)][_0x20a0b8])==null?void 0x0:_0x201cf9[_0x50d57e(0x322)])??_0x20a0b8,_0x5cfbaf];})),'range':{'startRow':0x0,'endRow':Math[_0x2fbe8d(0x29c)](0x0,_0x20354d-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x1bd84f[_0x2fbe8d(0x1d6)]['length']-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0x4bfaff,_0x28bb40){const _0x49cc3f=_0x5daf81;let _0xeb8b98=[],_0x239c66=_0x28bb40?new Set(_0x28bb40):null,_0xa4b565=_0x4b2d20(_0x4bfaff);return Object[_0x49cc3f(0x45b)](_0x4bfaff[_0x49cc3f(0x2f7)])[_0x49cc3f(0x32f)](_0x30677c=>!_0x239c66||_0x239c66[_0x49cc3f(0x253)](_0x30677c['id']))[_0x49cc3f(0x429)](_0x154f4d=>{const _0x3196e0=_0x49cc3f;let _0x3c7086=this[_0x3196e0(0x217)](_0x154f4d,_0x154f4d['id']);_0xeb8b98[_0x3196e0(0x482)]({'tableId':_0x154f4d['id'],'tableName':_0xa4b565[_0x3196e0(0x315)](_0x154f4d['id']),'reference':_0x3c7086});}),_0xeb8b98;}[_0x5daf81(0x4dc)](_0xce57c0,_0xadfaee,_0x26c766={}){const _0x1ffaaf=_0x5daf81;let _0x2f9922=_0xce57c0[_0x1ffaaf(0x3a5)]();if(!_0x2f9922)return{'valid':!0x0};if(na(_0x2f9922))return{'valid':!0x1,'reason':_0x1ffaaf(0x1b9)};let _0x5b5390=_0x26c766['snapshot']?_0x4b2d20(_0x26c766[_0x1ffaaf(0x21a)]):void 0x0;for(let _0x2d56a9 of ta(_0x2f9922)){let _0x32813f=ua(_0x2d56a9,_0xadfaee,_0x26c766[_0x1ffaaf(0x21a)],_0x5b5390);if(!_0x32813f[_0x1ffaaf(0x524)])return{'valid':!0x1,'reason':_0x1ffaaf(0x41b)+_0x2d56a9[_0x1ffaaf(0x417)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x32813f['field'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x2d56a9[_0x1ffaaf(0x3bb)]+_0x1ffaaf(0x362)};}return{'valid':!0x0};}[_0x5daf81(0x1c4)](_0x1006cc,_0x3dfd6a,_0xed6489={}){const _0x336f63=_0x5daf81;let _0x431d7e=new Set();for(let _0x4afe21 of this[_0x336f63(0x3f7)](_0x1006cc,_0x3dfd6a,_0xed6489))_0x4afe21['tableId']===_0x3dfd6a['id']&&_0x431d7e[_0x336f63(0x4ee)](_0x4afe21[_0x336f63(0x4a1)]);return Array[_0x336f63(0x404)](_0x431d7e);}[_0x5daf81(0x3f7)](_0x4a7da7,_0x5f2aba,_0x2badee={}){const _0x348c5e=_0x5daf81;let _0x5c3eae=new Map(),_0x25baf4=_0x2badee['snapshot']?_0x4b2d20(_0x2badee['snapshot']):void 0x0;for(let _0x377617 of ta(_0x4a7da7)){let _0x319bf9=ua(_0x377617,_0x5f2aba,_0x2badee[_0x348c5e(0x21a)],_0x25baf4);if(!_0x319bf9['table']||!_0x319bf9[_0x348c5e(0x50a)])continue;let _0x5b93b4=_0x319bf9[_0x348c5e(0x524)]['id']+'\x1f'+_0x319bf9[_0x348c5e(0x50a)]['id'];_0x5c3eae[_0x348c5e(0x1ba)](_0x5b93b4,{'tableId':_0x319bf9[_0x348c5e(0x524)]['id'],'fieldId':_0x319bf9['field']['id']});}return Array[_0x348c5e(0x404)](_0x5c3eae[_0x348c5e(0x45b)]());}};function Zi(_0x348f80,_0x40a80e){const _0x3851f4=_0x5daf81;var _0x3982ef;let _0x3aff9b=[],_0x2d7cbd=(_0x3982ef=_0x40a80e[_0x3851f4(0x24d)])==null?void 0x0:_0x3982ef[_0x348f80['id']];return _0x2d7cbd&&Object[_0x3851f4(0x2e4)](_0x2d7cbd)[_0x3851f4(0x429)](([_0x2684b4,_0x14a86f])=>{const _0x5ee2ee=_0x3851f4;let _0x4742cc=_0x348f80[_0x5ee2ee(0x2f7)][_0x2684b4];if(!_0x4742cc||!_0x14a86f)return;let _0x3e9b62=L(_0x4742cc),_0x3e900e=[];new _0x22a4fc(_0x14a86f)['forValue']((_0x2af271,_0x8ab8a1,_0x574525)=>{let _0x1063da=Qi(_0x3e9b62,_0x2af271,_0x8ab8a1,_0x574525);_0x1063da&&_0x3e900e['push'](_0x1063da);}),_0x3e900e[_0x5ee2ee(0x21d)]&&_0x3aff9b[_0x5ee2ee(0x482)]({'unitId':_0x348f80['id'],'tableId':_0x2684b4,'patches':_0x3e900e});}),_0x3aff9b;}function Qi(_0x422ded,_0x56198d,_0x113873,_0x2204d6){const _0x928441=_0x5daf81;var _0xc8297d,_0x33498d,_0x2b2a91;let _0x2d83e8=(_0xc8297d=_0x422ded[_0x928441(0x1ec)])==null?void 0x0:_0xc8297d[_0x56198d],_0x10bbe7=(_0x33498d=_0x422ded['colId'])==null?void 0x0:_0x33498d[_0x113873];if(!_0x2d83e8||!_0x422ded['records'][_0x2d83e8]||!_0x10bbe7)return null;let _0x2985d0=_0x422ded[_0x928441(0x503)][_0x10bbe7];if(!_0x2985d0||_0x2985d0[_0x928441(0x305)]!==_0x928441(0x494))return null;let _0x59ef9b=String(((_0x2b2a91=_0x2985d0[_0x928441(0x396)])==null?void 0x0:_0x2b2a91[_0x928441(0x494)])??'')[_0x928441(0x3a5)](),_0x2a4a90=(_0x2204d6==null?void 0x0:_0x2204d6['v'])??null,_0xf0e9b0={'v':_0x2a4a90,'t':ea(_0x2a4a90),..._0x56198d===0x0&&_0x59ef9b?{'f':_0x59ef9b}:{},'si':_0x2985d0['id']};return $i(vt(_0x422ded,_0x2d83e8,_0x10bbe7),_0xf0e9b0)?null:{'row':_0x56198d,'col':_0x113873,'value':_0xf0e9b0};}function $i(_0xfb5e78,_0x218e26){return _0xfb5e78!=null&&Object['is'](_0xfb5e78['v']??null,_0x218e26['v']??null)&&_0xfb5e78['t']===_0x218e26['t']&&_0xfb5e78['f']===_0x218e26['f']&&_0xfb5e78['si']===_0x218e26['si'];}function ea(_0x3a60f2){const _0x2a124f=_0x5daf81;return typeof _0x3a60f2==_0x2a124f(0x53d)?_0x20fde0[_0x2a124f(0x288)]:typeof _0x3a60f2==_0x2a124f(0x26c)?_0x20fde0[_0x2a124f(0x1b3)]:typeof _0x3a60f2==_0x2a124f(0x2ed)?_0x20fde0[_0x2a124f(0x376)]:null;}function ta(_0x4a9bd9){const _0x3ef43f=_0x5daf81;let _0x1e7814=ia(_0x4a9bd9,()=>''),_0xc972bd=new Map(),_0x3cc940=_0x44859d=>{const _0x4f228d=_0x188f;_0xc972bd[_0x4f228d(0x1ba)]((_0x44859d[_0x4f228d(0x417)]??'')+'\x1f'+_0x44859d[_0x4f228d(0x3bb)],_0x44859d);};for(let _0x2bae26 of _0x1e7814[_0x3ef43f(0x347)](Ui))_0x3cc940({'fieldName':_0x2bae26[0x1],'scope':_0x3ef43f(0x23b)});_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](Wi,(_0x5ddc17,_0x8e702a,_0x496d8b,_0x5201ec)=>(_0x3cc940({'tableName':_0x8e702a,'fieldName':_0x5201ec,'scope':_0x496d8b[_0x3ef43f(0x40c)]()===_0x3ef43f(0x41f)?_0x3ef43f(0x41f):'this-row'}),'\x20')),_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](Gi,(_0x5b5124,_0x4f07a9,_0x460bb3)=>(_0x3cc940({'tableName':_0x4f07a9,'fieldName':_0x460bb3,'scope':_0x3ef43f(0x23b)}),'\x20')),_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](qi,(_0x1375ca,_0x445c35,_0x2310e2,_0x1ae33b)=>(_0x3cc940({'fieldName':_0x1ae33b,'scope':_0x2310e2[_0x3ef43f(0x40c)]()===_0x3ef43f(0x41f)?_0x3ef43f(0x41f):'this-row'}),_0x445c35+'\x20')),_0x1e7814=_0x1e7814['replace'](Ji,(_0x46bac8,_0x11739c,_0x5bd5a2)=>(_0x3cc940({'fieldName':_0x5bd5a2,'scope':'this-row'}),_0x11739c+'\x20'));for(let _0x13e5c1 of _0x1e7814[_0x3ef43f(0x347)](Ki))_0x3cc940({'tableName':_0x13e5c1[0x1],'fieldName':_0x13e5c1[0x2]});for(let _0x159818 of _0x1e7814[_0x3ef43f(0x347)](Yi))_0x3cc940({'fieldName':_0x159818[0x2],'scope':_0x3ef43f(0x23b)});return Array['from'](_0xc972bd['values']());}function na(_0x2d197b){const _0x1d0a18=_0x5daf81;let _0x55286c=ia(_0x2d197b,()=>'\x20')[_0x1d0a18(0x39b)](Ui,'\x20')['replace'](Wi,'\x20')[_0x1d0a18(0x39b)](Gi,'\x20')[_0x1d0a18(0x39b)](qi,_0x1d0a18(0x1bb))[_0x1d0a18(0x39b)](Ji,'$1\x20')[_0x1d0a18(0x39b)](Ki,'\x20')['replace'](Yi,_0x1d0a18(0x1bb));return Vi[_0x1d0a18(0x27c)](_0x55286c);}function ra(_0x4f7532,_0xfbe1a1){return ca(oa(_0x4f7532,_0xfbe1a1),_0xfbe1a1);}function ia(_0x429bc8,_0x45de06){return aa(ra(_0x429bc8,_0x45de06),_0x45de06);}function aa(_0x3c7f26,_0x282573){return _0x3c7f26['replace'](/"(?:""|[^"])*"/g,_0x282573);}function oa(_0xf0e6c4,_0x1bd168){const _0x1d0b6b=_0x5daf81;return Hi[_0x1d0b6b(0x501)]=0x0,_0xf0e6c4['replace'](Hi,(_0x3ab8b7,_0x5ca49d)=>la(_0xf0e6c4,_0x5ca49d)?_0x3ab8b7:_0x1bd168(_0x3ab8b7));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x26a438,_0x2b8447){const _0x42230c=_0x5daf81;let _0x2df089=[];for(sa['lastIndex']=0x0;;){let _0x344017=sa[_0x42230c(0x4a7)](_0x26a438);if(_0x344017==null)break;if(la(_0x26a438,_0x344017[_0x42230c(0x391)]))continue;let _0x3215ac=sa[_0x42230c(0x501)]-0x1,_0x82a7c3=0x0;for(let _0x1612e5=_0x3215ac;_0x1612e5<_0x26a438['length'];_0x1612e5++)if(_0x26a438[_0x1612e5]==='['&&_0x82a7c3++,_0x26a438[_0x1612e5]===']'&&(_0x82a7c3--,_0x82a7c3===0x0)){_0x2df089[_0x42230c(0x482)]({'start':_0x344017[_0x42230c(0x391)],'end':_0x1612e5+0x1}),sa['lastIndex']=_0x1612e5+0x1;break;}}if(_0x2df089['length']===0x0)return _0x26a438;let _0x1b16cc='',_0x397a96=0x0;for(let _0x254dbb of _0x2df089)_0x1b16cc+=_0x26a438[_0x42230c(0x1cb)](_0x397a96,_0x254dbb['start']),_0x1b16cc+=_0x2b8447(_0x26a438[_0x42230c(0x1cb)](_0x254dbb[_0x42230c(0x455)],_0x254dbb[_0x42230c(0x2fe)])),_0x397a96=_0x254dbb[_0x42230c(0x2fe)];return _0x1b16cc+_0x26a438[_0x42230c(0x1cb)](_0x397a96);}function la(_0x130a92,_0x198b3a){let _0x2b59d7=!0x1;for(let _0xe2cf4a=0x0;_0xe2cf4a<_0x198b3a;_0xe2cf4a++)_0x130a92[_0xe2cf4a]==='\x22'&&(_0x2b59d7&&_0x130a92[_0xe2cf4a+0x1]==='\x22'?_0xe2cf4a++:_0x2b59d7=!_0x2b59d7);return _0x2b59d7;}function ua(_0x4efc3a,_0x44cc74,_0x3e7c6f,_0x30acb4){const _0x496394=_0x5daf81;let _0x28fad0=da(_0x4efc3a[_0x496394(0x417)],_0x44cc74,_0x3e7c6f,_0x30acb4);return{'table':_0x28fad0,'field':_0x28fad0?Object[_0x496394(0x45b)](_0x28fad0[_0x496394(0x503)])[_0x496394(0x2d8)](_0x7cf837=>_0x7cf837[_0x496394(0x322)]===_0x4efc3a[_0x496394(0x3bb)]):void 0x0};}function da(_0x38c2a0,_0xe17cd4,_0x13515b,_0x4b2537){const _0x4239d0=_0x5daf81;if(!_0x38c2a0)return _0xe17cd4;if(!_0x13515b){var _0x43ba1e;let _0x29b8e8=_0x38c2a0[_0x4239d0(0x40c)]();return _0x29b8e8===_0xe17cd4['id']['toLowerCase']()||_0x29b8e8===_0xe17cd4[_0x4239d0(0x322)][_0x4239d0(0x40c)]()||_0x29b8e8===((_0x43ba1e=_0xe17cd4[_0x4239d0(0x516)])==null?void 0x0:_0x43ba1e[_0x4239d0(0x40c)]())?_0xe17cd4:void 0x0;}let _0xc04aae=_0x38c2a0[_0x4239d0(0x40c)](),_0x4cf198=_0x4b2537??_0x4b2d20(_0x13515b),_0x249122=Object[_0x4239d0(0x45b)](_0x13515b[_0x4239d0(0x2f7)])[_0x4239d0(0x32f)](_0x164995=>{const _0x86d040=_0x4239d0;var _0x5ccfbc;return _0x164995['id'][_0x86d040(0x40c)]()===_0xc04aae||_0x164995[_0x86d040(0x322)][_0x86d040(0x40c)]()===_0xc04aae||((_0x5ccfbc=_0x4cf198[_0x86d040(0x315)](_0x164995['id']))==null?void 0x0:_0x5ccfbc[_0x86d040(0x40c)]())===_0xc04aae||fa(_0x164995['id'])[_0x86d040(0x40c)]()===_0xc04aae;});return _0x249122['length']===0x1?_0x249122[0x0]:void 0x0;}function fa(_0x50a0f3){const _0x57362b=_0x5daf81;return _0x57362b(0x55d)+Array[_0x57362b(0x404)](_0x50a0f3,_0x295066=>{const _0x115e51=_0x57362b;var _0x5f5302;return/[A-Za-z0-9]/['test'](_0x295066)?_0x295066:'_x'+(((_0x5f5302=_0x295066[_0x115e51(0x27b)](0x0))==null?void 0x0:_0x5f5302[_0x115e51(0x25d)](0x10))??'0')+'_';})[_0x57362b(0x30a)]('');}const pa=new Xi();function ma(_0x24da7f,_0x12edcc,_0x57a59b){const _0x1ea56d=_0x5daf81;var _0x96ffcb;if(_0x57a59b[_0x1ea56d(0x305)]!==_0x618ba[_0x1ea56d(0x4a8)])return!0x0;let _0x2f847c=String(((_0x96ffcb=_0x57a59b['config'])==null?void 0x0:_0x96ffcb[_0x1ea56d(0x494)])??''),_0x1226c5=_0x24da7f[_0x1ea56d(0x2f3)]();return pa[_0x1ea56d(0x4dc)](_0x2f847c,_0x1226c5[_0x1ea56d(0x2f7)][_0x12edcc],{'snapshot':_0x1226c5})[_0x1ea56d(0x36d)];}function $(_0x335136,_0x50acba,_0x39478f){const _0xa7cf5d=_0x5daf81;let _0x222bfa=_0x335136[_0xa7cf5d(0x2f3)]()['tables'][_0x50acba];if(!_0x222bfa)return!0x1;let {viewIds:_0x3400fb,fieldIds:_0x5b9593,recordIds:_0x35d999}=_0x39478f||{};if(_0x3400fb){for(let _0x1b0901 of _0x3400fb)if(!_0x222bfa['views'][_0x1b0901])return!0x1;}if(_0x5b9593){for(let _0xfef3ac of _0x5b9593)if(!_0x222bfa[_0xa7cf5d(0x503)][_0xfef3ac])return!0x1;}if(_0x35d999){for(let _0x1221d7 of _0x35d999)if(!_0x222bfa[_0xa7cf5d(0x43a)][_0x1221d7])return!0x1;}return!0x0;}function ha(_0x12375d,_0x266714,_0x4a8441){const _0x2129c2=_0x5daf81;if(_0x4a8441['id']===_0x4a6fc3||_0x4a8441[_0x2129c2(0x305)]===_0x618ba[_0x2129c2(0x28f)]||_0x4dba8d(_0x4a8441[_0x2129c2(0x322)])||!ma(_0x12375d,_0x266714,_0x4a8441))return!0x1;let _0x14208b=_0x12375d[_0x2129c2(0x2f3)]();if(!Be(_0x14208b,_0x4a8441)['valid'])return!0x1;if(_0x4a8441[_0x2129c2(0x305)]!==_0x618ba[_0x2129c2(0x2e6)])return!0x0;let _0x10b633=N(_0x4a8441);if(!_0x10b633)return!0x1;if(_0x10b633[_0x2129c2(0x33e)]===void 0x0)return!0x0;if(_0x10b633[_0x2129c2(0x33e)]!==_0x1d1c88[_0x2129c2(0x3fa)]||_0x10b633['targetTableId']!==_0x266714||_0x10b633['multiple']!==!0x1)return!0x1;let _0x3d56a6=_0x14208b[_0x2129c2(0x2f7)][_0x266714];return!Object[_0x2129c2(0x45b)](_0x3d56a6['fields'])['some'](_0x1b2f43=>{const _0x31a0e4=_0x2129c2;var _0x46810f;return _0x1b2f43['id']!==_0x4a8441['id']&&_0x1b2f43[_0x31a0e4(0x305)]===_0x618ba['RecordLink']&&((_0x46810f=N(_0x1b2f43))==null?void 0x0:_0x46810f[_0x31a0e4(0x33e)])===_0x1d1c88[_0x31a0e4(0x3fa)];});}function ga(_0x4f2924,_0x40913d,_0x18acc1,_0x289af2){const _0x1de7b1=_0x5daf81;var _0x4e6382;let _0x45bcb4=_0x4f2924[_0x1de7b1(0x2f3)](),_0x2a1a02=(_0x4e6382=_0x45bcb4[_0x1de7b1(0x2f7)][_0x40913d])==null?void 0x0:_0x4e6382['fields'][_0x18acc1];return!_0x2a1a02||_0x2a1a02['id']===_0x4a6fc3||_0x2a1a02[_0x1de7b1(0x305)]===_0x618ba[_0x1de7b1(0x28f)]?!0x1:_0x2a1a02[_0x1de7b1(0x305)]!==_0x618ba[_0x1de7b1(0x2e6)]||Ve(_0x45bcb4,_0x2a1a02,ya(_0x289af2))[_0x1de7b1(0x36d)];}function _a(_0x1d78da,_0x5f46e8,_0xa135c1){const _0x1d604b=_0x5daf81;let _0x2936bb=_0x1d78da[_0x1d604b(0x2f3)]()[_0x1d604b(0x2f7)][_0x5f46e8];return!_0x2936bb||!_0x3c7887(_0xa135c1['id'])||_0x2936bb[_0x1d604b(0x43a)][_0xa135c1['id']]||Object['prototype']['hasOwnProperty'][_0x1d604b(0x35d)](_0xa135c1[_0x1d604b(0x45b)],_0x4a6fc3)&&_0xa135c1[_0x1d604b(0x45b)][_0x4a6fc3]!==_0xa135c1['id']?!0x1:Object[_0x1d604b(0x2e4)](_0xa135c1[_0x1d604b(0x45b)])[_0x1d604b(0x2ab)](([_0x5bdaec,_0x936a45])=>_0x5bdaec===_0x4a6fc3||ga(_0x1d78da,_0x5f46e8,_0x5bdaec,_0x936a45));}function va(_0x5217b7){const _0xba4f83=_0x5daf81;return{..._0x5217b7,'values':{..._0x5217b7[_0xba4f83(0x45b)],[_0x4a6fc3]:_0x5217b7['id']}};}function ya(_0x2a90f9){const _0x352f38=_0x5daf81;if(_0x2a90f9&&typeof _0x2a90f9==_0x352f38(0x1fb)&&!Array[_0x352f38(0x31e)](_0x2a90f9)&&'v'in _0x2a90f9){let _0x38360e=_0x2a90f9['v'];return _0x38360e===void 0x0?null:_0x38360e;}return _0x2a90f9;}function ba(_0x492afd,_0x20548c,_0x2f7519,_0x475974){const _0x1e17f8=_0x5daf81;let _0x1f4935=_0x492afd['getSnapshot']()[_0x1e17f8(0x2f7)][_0x20548c];if(!_0x1f4935)return null;let _0x399687=qe(_0x1f4935),_0x356ffb=_0x399687??Je(_0x1f4935),_0x11ad00=_0x2f7519[_0x1e17f8(0x387)](_0x52d4ac=>Object[_0x1e17f8(0x4e2)][_0x1e17f8(0x4d7)][_0x1e17f8(0x35d)](_0x52d4ac['values'],_0x356ffb)),_0x18bf2e=_0x399687?_0x1f4935[_0x1e17f8(0x503)][_0x399687]:_0x11ad00?Ye(_0x1f4935,_0x356ffb,_0x475974):null,_0x51cae6=[];for(let _0x588b4b of _0x2f7519){let _0x3e12c0=_0x588b4b[_0x1e17f8(0x45b)][_0x356ffb],_0x164631=_0x18bf2e!==null&&Object[_0x1e17f8(0x4e2)][_0x1e17f8(0x4d7)][_0x1e17f8(0x35d)](_0x588b4b['values'],_0x356ffb),_0x558228=ya(_0x3e12c0),_0x359a22=null;if(_0x164631){if(typeof _0x558228!='string'||!ze(_0x558228,!0x1)[_0x1e17f8(0x36d)])return null;_0x359a22=_0x558228;}let _0x5c6722={};if(Object['entries'](_0x588b4b[_0x1e17f8(0x45b)])[_0x1e17f8(0x429)](([_0x54e553,_0x565a12])=>{(!_0x164631||_0x54e553!==_0x356ffb)&&(_0x5c6722[_0x54e553]=_0x565a12);}),!_a(_0x492afd,_0x20548c,{..._0x588b4b,'values':_0x5c6722}))return null;let _0x303aef={..._0x588b4b[_0x1e17f8(0x45b)]};_0x359a22!==null&&(_0x303aef[_0x356ffb]=_0x359a22),_0x51cae6[_0x1e17f8(0x482)](va({..._0x588b4b,'values':_0x303aef}));}return{'records':_0x51cae6,'hierarchyFieldToMaterialize':_0x399687?null:_0x18bf2e,'hierarchyChanges':Qe(_0x1f4935,_0x51cae6)};}const xa={'id':'base.command.batch-create-base-records','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x3ff559,_0x4f1412){const _0x23851a=_0x5daf81;if(!_0x4f1412)return!0x1;let _0x645685=_0x3ff559['get'](_0x364596),{unitId:_0x16785e,tableId:_0x256e32,records:_0x336a93}=_0x4f1412,_0x26b12f=_0x645685[_0x23851a(0x1ed)](_0x16785e,_0x2ddca0[_0x23851a(0x33d)]),_0x1c2ffa=_0x336a93[_0x23851a(0x2b0)](_0xba23a7=>_0xba23a7['id']);if(!_0x26b12f||!$(_0x26b12f,_0x256e32)||new Set(_0x1c2ffa)['size']!==_0x1c2ffa[_0x23851a(0x21d)])return!0x1;let _0x2fb45a=_0x3ff559[_0x23851a(0x315)](_0x2ca718),_0x576d00=_0x3ff559['get'](_0x51376c),_0x28ee9f=_0x3ff559[_0x23851a(0x315)](Kr),_0x193eb0=_0x26b12f[_0x23851a(0x2f3)](),_0x2f324b=ba(_0x26b12f,_0x256e32,_0x336a93);if(!_0x2f324b)return!0x1;let {records:_0x196daf,hierarchyChanges:_0x121735,hierarchyFieldToMaterialize:_0x2f5881}=_0x2f324b,_0x37bd9c=_0x2f5881?_0x28ee9f[_0x23851a(0x539)](_0x26b12f,_0x256e32,_0x2f5881,_0x193eb0[_0x23851a(0x2f7)][_0x256e32][_0x23851a(0x1d6)]['length']):null,_0x86a0e8=_0x28ee9f[_0x23851a(0x556)](_0x26b12f,_0x256e32,_0x196daf),_0x8abfed=R([..._0x37bd9c?[_0x37bd9c]:[],_0x86a0e8]),_0x121f8d=new z()[_0x23851a(0x388)](_0x193eb0,_0x8abfed),_0x304b60={'unitId':_0x16785e,'op':_0x8abfed,'hierarchyChanges':_0x121735[_0x23851a(0x21d)]?_0x121735:void 0x0,'source':_0x121735[_0x23851a(0x21d)]?_0x4f1412[_0x23851a(0x1e1)]??'ui':void 0x0},_0x1ff0e0={..._0x304b60,'source':_0x121735['length']?_0x23851a(0x424):void 0x0},_0x84b40f={'unitId':_0x16785e,'op':_0x121f8d,'hierarchyChanges':_0x121735[_0x23851a(0x21d)]?_0x121735[_0x23851a(0x2b0)](_0x5535ed=>({..._0x5535ed,'oldParentRecordId':_0x5535ed['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x121735[_0x23851a(0x21d)]?'undo':void 0x0};return _0x2fb45a[_0x23851a(0x1e6)](Q['id'],_0x304b60)?(_0x645685[_0x23851a(0x2ac)](_0x16785e),_0x576d00[_0x23851a(0x34a)]({'unitID':_0x16785e,'undoMutations':[{'id':Q['id'],'params':_0x84b40f}],'redoMutations':[{'id':Q['id'],'params':_0x1ff0e0}]}),!0x0):!0x1;}},Sa={'id':'base.command.batch-delete-base-records','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x29b6f1,_0x1dd363)=>{const _0x311f0f=_0x5daf81;if(!_0x1dd363)return!0x1;let _0x2bc60a=_0x29b6f1[_0x311f0f(0x315)](_0x364596),{unitId:_0x3c96dd,tableId:_0x792509,recordIds:_0x298ae7}=_0x1dd363,_0x47fd85=_0x2bc60a[_0x311f0f(0x1ed)](_0x3c96dd,_0x2ddca0[_0x311f0f(0x33d)]);if(!_0x47fd85||!$(_0x47fd85,_0x792509,{'recordIds':_0x298ae7}))return!0x1;let _0x3df10c=_0x29b6f1[_0x311f0f(0x315)](_0x2ca718),_0x1d9eed=_0x29b6f1['get'](_0x51376c),_0x1ec8e8=_0x47fd85[_0x311f0f(0x2f3)](),_0x2313c1=et(_0x1ec8e8[_0x311f0f(0x2f7)][_0x792509],_0x298ae7),_0x381da8=new W(),_0x4912b2=new z(),_0x178a23=_0x381da8[_0x311f0f(0x20e)](_0x1ec8e8,_0x792509,_0x298ae7),_0x1509f3=_0x4912b2[_0x311f0f(0x525)](_0x1ec8e8,_0x178a23),_0xd64f14=_0x381da8[_0x311f0f(0x43b)](_0x1ec8e8,_0x1509f3,_0x792509,_0x298ae7),_0x5380e7={'unitId':_0x3c96dd,'op':_0x178a23,'hierarchyChanges':_0x2313c1,'source':_0x1dd363['source']??'ui'},_0x4cde9d={..._0x5380e7,'source':_0x311f0f(0x424)},_0x531ea7={'unitId':_0x3c96dd,'op':_0xd64f14,'hierarchyChanges':_0x2313c1[_0x311f0f(0x2b0)](_0x1b3550=>({..._0x1b3550,'oldParentRecordId':_0x1b3550[_0x311f0f(0x419)],'parentRecordId':_0x1b3550[_0x311f0f(0x266)]})),'source':_0x311f0f(0x3a8)};return _0x3df10c['syncExecuteCommand'](Q['id'],_0x5380e7)?(_0x2bc60a[_0x311f0f(0x2ac)](_0x3c96dd),_0x1d9eed[_0x311f0f(0x34a)]({'unitID':_0x3c96dd,'undoMutations':[{'id':Q['id'],'params':_0x531ea7}],'redoMutations':[{'id':Q['id'],'params':_0x4cde9d}]}),!0x0):!0x1;}},Ca={'id':'base.command.change-base-field-type','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x49e453,_0xb15a52)=>{const _0x354bbc=_0x5daf81;if(!_0xb15a52)return!0x1;let _0x466d58=_0x49e453[_0x354bbc(0x315)](_0x364596),{unitId:_0xa0092d,tableId:_0x334588,fieldId:_0x5e8824,input:_0xe06195}=_0xb15a52,_0x1e7c76=_0x466d58['getUnit'](_0xa0092d,_0x2ddca0['UNIVER_BASE']);if(!_0x1e7c76||_0x5e8824===_0x4a6fc3||!$(_0x1e7c76,_0x334588,{'fieldIds':[_0x5e8824]}))return!0x1;let _0x50c846=_0x49e453[_0x354bbc(0x315)](_0x2ca718),_0x3c5b6a=_0x49e453[_0x354bbc(0x315)](_0x51376c),_0x1f96fa=_0x1e7c76[_0x354bbc(0x2f3)]();if(!ha(_0x1e7c76,_0x334588,{..._0x1f96fa[_0x354bbc(0x2f7)][_0x334588][_0x354bbc(0x503)][_0x5e8824],..._0xe06195}))return!0x1;let _0x56e17=new W()[_0x354bbc(0x4f5)](_0x1f96fa,_0x334588,_0x5e8824,_0xe06195),_0x5e7baf=new z()[_0x354bbc(0x388)](_0x1f96fa,_0x56e17),_0x5117e8={'unitId':_0xa0092d,'op':_0x56e17},_0x310a5d={'unitId':_0xa0092d,'op':_0x5e7baf};return _0x50c846[_0x354bbc(0x1e6)](Q['id'],_0x5117e8)?(_0x466d58[_0x354bbc(0x2ac)](_0xa0092d),_0x3c5b6a['pushUndoRedo']({'unitID':_0xa0092d,'undoMutations':[{'id':Q['id'],'params':_0x310a5d}],'redoMutations':[{'id':Q['id'],'params':_0x5117e8}]}),!0x0):!0x1;}},wa={'id':_0x5daf81(0x31c),'type':_0x3d059d['COMMAND'],'handler'(_0x559998,_0x2641dd){const _0x114573=_0x5daf81;var _0x3a06e5;if(!_0x2641dd)return!0x1;let {unitId:_0x3e1001,tableId:_0x77f0f6,parentRecordId:_0x500071}=_0x2641dd,_0x1571d9=_0x559998[_0x114573(0x315)](_0x364596),_0x432dba=_0x1571d9[_0x114573(0x1ed)](_0x3e1001,_0x2ddca0[_0x114573(0x33d)]);if(!_0x432dba||!$(_0x432dba,_0x77f0f6,{'recordIds':[_0x500071]}))throw new P(_0x114573(0x3e8));let _0x436da3=_0x432dba[_0x114573(0x2f3)](),_0x15e8d8=_0x436da3[_0x114573(0x2f7)][_0x77f0f6],_0x1e0cc1=qe(_0x15e8d8),_0x154d3b=_0x1e0cc1??_0x2641dd[_0x114573(0x4a1)]??Je(_0x15e8d8);if(_0x1e0cc1&&_0x2641dd['fieldId']&&_0x2641dd[_0x114573(0x4a1)]!==_0x1e0cc1||_0x15e8d8['fields'][_0x154d3b]&&!F(_0x15e8d8,_0x154d3b))throw new P(_0x114573(0x48a));if((tt(_0x15e8d8,_0x154d3b)[_0x114573(0x2f5)][_0x114573(0x315)](_0x500071)??0x0)+0x1>=0x5)throw new P('maxDepth');if(!_a(_0x432dba,_0x77f0f6,_0x2641dd[_0x114573(0x1b5)]))return!0x1;let _0x188b3b=va({..._0x2641dd[_0x114573(0x1b5)],'values':{..._0x2641dd[_0x114573(0x1b5)][_0x114573(0x45b)],[_0x154d3b]:Re([_0x500071])}}),_0x5bae4e=_0x559998[_0x114573(0x315)](Kr),_0x4f021a=new W(),_0x103452=_0x15e8d8[_0x114573(0x503)][_0x154d3b],_0x55fc4e=_0x103452?((_0x3a06e5=N(_0x103452))==null?void 0x0:_0x3a06e5['relationRole'])===_0x1d1c88[_0x114573(0x3fa)]?null:_0x4f021a[_0x114573(0x23d)](_0x436da3,_0x77f0f6,_0x154d3b,{'config':{..._0x103452[_0x114573(0x396)],'relationRole':_0x1d1c88['Parent']}}):_0x5bae4e['createCreateFieldOp'](_0x432dba,_0x77f0f6,Ye(_0x15e8d8,_0x154d3b,_0x2641dd[_0x114573(0x1e3)]),_0x15e8d8[_0x114573(0x1d6)][_0x114573(0x21d)]),_0x33d98f=_0x5bae4e['createCreateRecordOp'](_0x432dba,_0x77f0f6,_0x188b3b),_0x4e92dd=R([..._0x55fc4e?[_0x55fc4e]:[],_0x33d98f]),_0xa4c801=new z()[_0x114573(0x388)](_0x436da3,_0x4e92dd),_0x2768a1={'tableId':_0x77f0f6,'fieldId':_0x154d3b,'recordId':_0x188b3b['id'],'oldParentRecordId':null,'parentRecordId':_0x500071},_0x309166={'unitId':_0x3e1001,'op':_0x4e92dd,'trigger':wa['id'],'hierarchyChanges':[_0x2768a1],'source':_0x2641dd['source']??'ui'},_0x58f83c={..._0x309166,'source':'redo'},_0x3b4459={'unitId':_0x3e1001,'op':_0xa4c801,'trigger':wa['id'],'hierarchyChanges':[{..._0x2768a1,'oldParentRecordId':_0x500071,'parentRecordId':null}],'source':'undo'};return _0x559998[_0x114573(0x315)](_0x2ca718)[_0x114573(0x1e6)](Q['id'],_0x309166)?(_0x1571d9[_0x114573(0x2ac)](_0x3e1001),_0x559998[_0x114573(0x315)](_0x51376c)[_0x114573(0x34a)]({'unitID':_0x3e1001,'undoMutations':[{'id':Q['id'],'params':_0x3b4459}],'redoMutations':[{'id':Q['id'],'params':_0x58f83c}]}),!0x0):!0x1;}},Ta={'id':'base.command.create-base-field','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x4fb987,_0x4f594a){const _0xc0c197=_0x5daf81;if(!_0x4f594a)return!0x1;let _0x49f3e3=_0x4fb987[_0xc0c197(0x315)](_0x364596),{unitId:_0x380923,tableId:_0xdaa3fc,field:_0x1616f4,index:_0x4820a2,viewIndexes:_0x3b7a17}=_0x4f594a,_0x245238=_0x49f3e3[_0xc0c197(0x1ed)](_0x380923,_0x2ddca0[_0xc0c197(0x33d)]);if(!_0x245238||!$(_0x245238,_0xdaa3fc)||_0x245238['getSnapshot']()[_0xc0c197(0x2f7)][_0xdaa3fc]['fields'][_0x1616f4['id']]||_0x4820a2===0x0||!ha(_0x245238,_0xdaa3fc,_0x1616f4))return!0x1;let _0x4afbd6=_0x4fb987[_0xc0c197(0x315)](_0x2ca718),_0x2d1d36=_0x4fb987[_0xc0c197(0x315)](_0x51376c),_0x569554=_0x4fb987['get'](Kr)[_0xc0c197(0x539)](_0x245238,_0xdaa3fc,_0x1616f4,_0x4820a2,_0x3b7a17),_0x1cf9d2=new z()[_0xc0c197(0x388)](_0x245238[_0xc0c197(0x2f3)](),_0x569554),_0xc2e04a={'unitId':_0x380923,'op':_0x569554},_0x5cf7d6={'unitId':_0x380923,'op':_0x1cf9d2};return _0x4afbd6[_0xc0c197(0x1e6)](Q['id'],_0xc2e04a)?(_0x49f3e3[_0xc0c197(0x2ac)](_0x380923),_0x2d1d36['pushUndoRedo']({'unitID':_0x380923,'undoMutations':[{'id':Q['id'],'params':_0x5cf7d6}],'redoMutations':[{'id':Q['id'],'params':_0xc2e04a}]}),!0x0):!0x1;}},Ea={'id':_0x5daf81(0x43d),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x2a02c0,_0x4325d5){const _0x3d2126=_0x5daf81;if(!_0x4325d5)return!0x1;let _0x47a04b=_0x2a02c0['get'](_0x364596),{unitId:_0x346ad8,tableId:_0x174260,record:_0x20940d}=_0x4325d5,_0x434b59=_0x47a04b[_0x3d2126(0x1ed)](_0x346ad8,_0x2ddca0[_0x3d2126(0x33d)]);if(!_0x434b59||!$(_0x434b59,_0x174260))return!0x1;let _0x420d5e=_0x2a02c0[_0x3d2126(0x315)](_0x2ca718),_0x7be5ad=_0x2a02c0[_0x3d2126(0x315)](_0x51376c),_0x18eabc=_0x2a02c0[_0x3d2126(0x315)](Kr),_0x3988ba=_0x434b59[_0x3d2126(0x2f3)](),_0x111e91=ba(_0x434b59,_0x174260,[_0x20940d]);if(!_0x111e91)return!0x1;let [_0x3dc6ca]=_0x111e91[_0x3d2126(0x43a)],{hierarchyChanges:_0xa3cb62,hierarchyFieldToMaterialize:_0x5cfbb6}=_0x111e91,_0x5c2d17=_0x5cfbb6?_0x18eabc['createCreateFieldOp'](_0x434b59,_0x174260,_0x5cfbb6,_0x3988ba[_0x3d2126(0x2f7)][_0x174260][_0x3d2126(0x1d6)][_0x3d2126(0x21d)]):null,_0x1db1c8=_0x18eabc[_0x3d2126(0x52d)](_0x434b59,_0x174260,_0x3dc6ca),_0x473e66=R([..._0x5c2d17?[_0x5c2d17]:[],_0x1db1c8]),_0x368c44=new z()['invertOp'](_0x3988ba,_0x473e66),_0xa261c8={'unitId':_0x346ad8,'op':_0x473e66,'hierarchyChanges':_0xa3cb62[_0x3d2126(0x21d)]?_0xa3cb62:void 0x0,'source':_0xa3cb62[_0x3d2126(0x21d)]?_0x4325d5[_0x3d2126(0x1e1)]??'ui':void 0x0},_0x5b35ee={..._0xa261c8,'source':_0xa3cb62['length']?_0x3d2126(0x424):void 0x0},_0x282802={'unitId':_0x346ad8,'op':_0x368c44,'hierarchyChanges':_0xa3cb62['length']?_0xa3cb62['map'](_0x35b719=>({..._0x35b719,'oldParentRecordId':_0x35b719[_0x3d2126(0x419)],'parentRecordId':null})):void 0x0,'source':_0xa3cb62['length']?_0x3d2126(0x3a8):void 0x0};return _0x420d5e[_0x3d2126(0x1e6)](Q['id'],_0xa261c8)?(_0x47a04b[_0x3d2126(0x2ac)](_0x346ad8),_0x7be5ad[_0x3d2126(0x34a)]({'unitID':_0x346ad8,'undoMutations':[{'id':Q['id'],'params':_0x282802}],'redoMutations':[{'id':Q['id'],'params':_0x5b35ee}]}),!0x0):!0x1;}},Da=_0x5daf81(0x325);function Oa(_0x3abf13,_0x5e57ef,_0x358a24){const _0xb5c856=_0x5daf81;if(!_0x5e57ef[_0xb5c856(0x3a5)]())return{'valid':!0x1,'reason':_0xb5c856(0x359),'error':_0xb5c856(0x4db)};if(_0x5e57ef[_0xb5c856(0x21d)]>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':'too-long'};if(_0x5e57ef[_0xb5c856(0x265)]('\x27')||_0x5e57ef[_0xb5c856(0x528)]('\x27'))return{'valid':!0x1,'reason':_0xb5c856(0x518),'error':_0xb5c856(0x520)};if(/[:\\/?*\[\]]/[_0xb5c856(0x27c)](_0x5e57ef))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','error':_0xb5c856(0x2aa)};if(!_0x89c043(_0x5e57ef))return{'valid':!0x1,'reason':_0xb5c856(0x23a),'error':_0xb5c856(0x30c)};let _0x1af12f=_0x5e57ef[_0xb5c856(0x40c)]();return Object[_0xb5c856(0x45b)](_0x3abf13[_0xb5c856(0x2f7)])[_0xb5c856(0x387)](_0x5ce164=>_0x5ce164['id']!==_0x358a24&&_0x5ce164[_0xb5c856(0x322)][_0xb5c856(0x40c)]()===_0x1af12f)?{'valid':!0x1,'reason':_0xb5c856(0x45f),'error':_0xb5c856(0x3ba)}:{'valid':!0x0};}function ka(_0x32e277,_0x1f47a6){const _0x2750bd=_0x5daf81;let _0x33a052=_0x1f47a6[_0x2750bd(0x39b)](/[:\\/?*\[\]]/g,'\x20')[_0x2750bd(0x39b)](/^'+|'+$/g,'')[_0x2750bd(0x3a5)]()||_0x2750bd(0x4e7),_0x53da00=0x1;for(;;){let _0x1dd095=_0x53da00===0x1?'':'\x20'+_0x53da00,_0xb27612=''+_0x33a052['slice'](0x0,0x1f-_0x1dd095['length'])+_0x1dd095;if(Oa(_0x32e277,_0xb27612)[_0x2750bd(0x36d)])return _0xb27612;_0x53da00++;}}const Aa={'id':_0x5daf81(0x1dd),'type':_0x3d059d['COMMAND'],'handler':(_0x2b50eb,_0x85c3f6)=>{const _0x48bff9=_0x5daf81;if(!_0x85c3f6)return!0x1;let _0x17c8ab=_0x2b50eb[_0x48bff9(0x315)](_0x364596),{unitId:_0x2c480f,table:_0x8483c5,index:_0x18b947}=_0x85c3f6,_0x3031fb=_0x17c8ab[_0x48bff9(0x1ed)](_0x2c480f,_0x2ddca0[_0x48bff9(0x33d)]);if(!_0x3031fb||_0x3031fb[_0x48bff9(0x2f3)]()[_0x48bff9(0x2f7)][_0x8483c5['id']]||!Oa(_0x3031fb['getSnapshot'](),_0x8483c5['name'])[_0x48bff9(0x36d)])return!0x1;try{_0x3db867(_0x8483c5);}catch{return!0x1;}let _0x2b7824=_0x2b50eb[_0x48bff9(0x315)](_0x2ca718),_0x462419=_0x2b50eb[_0x48bff9(0x315)](_0x51376c),_0x4fd3a5=_0x3031fb[_0x48bff9(0x2f3)](),_0x35f115=new W()[_0x48bff9(0x3e6)](_0x4fd3a5,_0x8483c5,_0x18b947),_0x22c272=new z()[_0x48bff9(0x388)](_0x4fd3a5,_0x35f115),_0x237c74={'unitId':_0x2c480f,'op':_0x35f115},_0x26c4dc={'unitId':_0x2c480f,'op':_0x22c272};return _0x2b7824[_0x48bff9(0x1e6)](Q['id'],_0x237c74)?(_0x17c8ab[_0x48bff9(0x2ac)](_0x2c480f),_0x462419[_0x48bff9(0x34a)]({'unitID':_0x2c480f,'undoMutations':[{'id':Q['id'],'params':_0x26c4dc}],'redoMutations':[{'id':Q['id'],'params':_0x237c74}]}),!0x0):!0x1;}};function ja(_0xad7e13,_0xfcda0c,_0x223d60=[]){const _0x2d7d27=_0x5daf81;let _0x54cd08=new Set([...Object[_0x2d7d27(0x45b)](_0xad7e13[_0x2d7d27(0x503)])['filter'](_0x58aba2=>_0x58aba2)[_0x2d7d27(0x2b0)](_0x6e97ce=>_0x6e97ce[_0x2d7d27(0x322)]),..._0x223d60['map'](_0x554813=>_0x554813[_0x2d7d27(0x322)])]);if(!_0x54cd08[_0x2d7d27(0x253)](_0xfcda0c))return _0xfcda0c;let _0x5345af=0x2;for(;_0x54cd08[_0x2d7d27(0x253)](_0xfcda0c+'\x20'+_0x5345af);)_0x5345af++;return _0xfcda0c+'\x20'+_0x5345af;}function Ma(_0x271e00,_0x14547a){const _0x337edc=_0x5daf81;if(!_0x271e00||!_0x14547a[_0x337edc(0x21d)])return;let _0x1fac2e=[..._0x271e00];return _0x14547a['forEach'](_0x1cd64c=>{const _0x478460=_0x337edc;_0x1fac2e[_0x478460(0x4f9)](_0x1cd64c)||_0x1fac2e['push'](_0x1cd64c);}),_0x1fac2e;}const Na={'options':[{'id':'todo','name':'Todo','color':_0x5daf81(0x330)},{'id':_0x5daf81(0x1e0),'name':_0x5daf81(0x47e),'color':_0x5daf81(0x3c0)},{'id':_0x5daf81(0x2a4),'name':_0x5daf81(0x29d),'color':_0x5daf81(0x440)}]},Pa={'locale':_0x5daf81(0x231),'pattern':_0x5daf81(0x286),'includeTime':!0x1,'hourCycle':_0x5daf81(0x34c),'defaultMode':_0x5daf81(0x3e4)};function Fa(_0x3b44b6,_0xbab8d2,_0x1358f5,_0x512ea6){const _0xce6ca2=_0x5daf81;var _0x53c2b9;let _0x2086c1=new W(),_0x3854b7=_0x3b44b6['tables'][_0xbab8d2],_0x1d5596=_0x3854b7?{..._0x1358f5,'fieldOrder':[_0x4a6fc3,...(_0x1358f5['fieldOrder']??_0x3854b7[_0xce6ca2(0x1d6)])[_0xce6ca2(0x32f)](_0x444642=>_0x444642!==_0x4a6fc3)],'fieldSettings':{..._0x1358f5['fieldSettings'],[_0x4a6fc3]:{...(_0x53c2b9=_0x1358f5[_0xce6ca2(0x508)])==null?void 0x0:_0x53c2b9[_0x4a6fc3],'hidden':!0x0}}}:_0x1358f5;if(_0x3854b7&&_0x1d5596[_0xce6ca2(0x305)]===_0xce6ca2(0x37b)){let _0x2ff99e=La(_0x3854b7,_0x1d5596),_0x4f207d=_0x2ff99e['changed']?{..._0x1d5596,'config':_0x2ff99e[_0xce6ca2(0x396)],'fieldOrder':_0x2ff99e['fieldOrder']??_0x1d5596['fieldOrder']}:_0x1d5596;return R([..._0x2ff99e['fields'][_0xce6ca2(0x2b0)](_0x2bd72b=>_0x2086c1[_0xce6ca2(0x543)](_0x3b44b6,_0xbab8d2,{'field':_0x2bd72b})),_0x2086c1['createView'](_0x3b44b6,_0xbab8d2,_0x4f207d,_0x512ea6)]);}if(!_0x3854b7||_0x1d5596['type']!==_0xce6ca2(0x3b7)&&_0x1d5596[_0xce6ca2(0x305)]!==_0xce6ca2(0x4c3))return _0x2086c1[_0xce6ca2(0x1b6)](_0x3b44b6,_0xbab8d2,_0x1d5596,_0x512ea6);let _0x21f001=Ia(_0x3854b7,_0x1d5596),_0x363ff6=_0x21f001[_0xce6ca2(0x52c)]?{..._0x1d5596,'config':_0x21f001['config'],'fieldOrder':_0x21f001['fieldOrder']??_0x1d5596[_0xce6ca2(0x1d6)]}:_0x1d5596;return _0x1d5596[_0xce6ca2(0x305)]==='gantt'&&Ba(_0x1d5596)&&(_0x363ff6=Va(_0x3854b7,_0x363ff6,_0x21f001['fields'])),R([..._0x21f001[_0xce6ca2(0x503)][_0xce6ca2(0x2b0)](_0x2f5899=>_0x2086c1[_0xce6ca2(0x543)](_0x3b44b6,_0xbab8d2,{'field':_0x2f5899})),_0x2086c1[_0xce6ca2(0x1b6)](_0x3b44b6,_0xbab8d2,_0x363ff6,_0x512ea6)]);}function Ia(_0x4110fa,_0x57abf6,_0x51b637=!0x1){const _0x5b9074=_0x5daf81;var _0x555038,_0x167af9;let _0x2253c9=_0x4110fa[_0x5b9074(0x1d6)][_0x5b9074(0x32f)](_0x5c5c85=>Ua(_0x4110fa,_0x5c5c85)),_0x555fe5=[],_0x44a57b={..._0x57abf6[_0x5b9074(0x396)]??{}},_0x9edfd2=typeof _0x44a57b[_0x5b9074(0x3d5)]==_0x5b9074(0x2ed)&&Ua(_0x4110fa,_0x44a57b[_0x5b9074(0x3d5)])?_0x44a57b[_0x5b9074(0x3d5)]:_0x2253c9[0x0],_0x9c101d=typeof _0x44a57b[_0x5b9074(0x39a)]==_0x5b9074(0x2ed)&&Ua(_0x4110fa,_0x44a57b[_0x5b9074(0x39a)])&&_0x44a57b[_0x5b9074(0x39a)]!==_0x9edfd2?_0x44a57b[_0x5b9074(0x39a)]:_0x2253c9[_0x5b9074(0x2d8)](_0x2c2f3f=>_0x2c2f3f!==_0x9edfd2);if(!_0x9edfd2){let _0x365b58=Wa(_0x4110fa,_0x555fe5,_0x57abf6[_0x5b9074(0x305)]==='gantt'?_0x5b9074(0x470):'Date');_0x555fe5[_0x5b9074(0x482)](_0x365b58),_0x9edfd2=_0x365b58['id'];}if((_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x4c3)||_0x51b637)&&!_0x9c101d){let _0x39e812=Wa(_0x4110fa,_0x555fe5,'End\x20date');_0x555fe5['push'](_0x39e812),_0x9c101d=_0x39e812['id'];}_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x3b7)&&!_0x9c101d&&delete _0x44a57b['endDateFieldId'],_0x44a57b[_0x5b9074(0x3d5)]=_0x9edfd2,_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x3b7)&&_0x9c101d&&(_0x44a57b[_0x5b9074(0x39a)]=_0x9c101d),_0x57abf6[_0x5b9074(0x305)]==='gantt'&&(_0x44a57b[_0x5b9074(0x39a)]=_0x9c101d??_0x9edfd2);let _0x426265=Ma(_0x57abf6[_0x5b9074(0x1d6)],_0x555fe5['map'](_0x1185b0=>_0x1185b0['id']));return{'changed':_0x555fe5[_0x5b9074(0x21d)]>0x0||_0x44a57b[_0x5b9074(0x3d5)]!==((_0x555038=_0x57abf6[_0x5b9074(0x396)])==null?void 0x0:_0x555038[_0x5b9074(0x3d5)])||_0x44a57b['endDateFieldId']!==((_0x167af9=_0x57abf6[_0x5b9074(0x396)])==null?void 0x0:_0x167af9[_0x5b9074(0x39a)])||!(!_0x426265||_0x9abbbc[_0x5b9074(0x21f)](_0x426265,_0x57abf6[_0x5b9074(0x1d6)]??[])),'fields':_0x555fe5,'config':_0x44a57b,'fieldOrder':_0x426265};}function _0x38bd(){const _0x43892c=['_onCommandExecuted','1666394NKZfNU','includeTime','188293OEpTQQ','forEach','YYYY-MM-DD','nodes','count','Link','write','__UNIVER_BASE_PERF__','fld-','dateMode','_formulaService','base.command.update-base-view-config','_kanbanLaneTitle','canDeleteField','_isGanttDateField','conjunction','setConfig','stringify','records','createDeleteRecordsUndoOp','_ganttBarColor','base.command.create-base-record','_permissionService','autoIncrement','#BBF7D0','normal','_normalizeGanttConfig','_instanceService','format','THIS_WEEK','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','round','onCommandExecuted','bases-exchange-client.operation.export-base-by-format',',,\x22M\x22','COMMAND','attachment-','setViewFieldVisible','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20table.','_plugins','\x22.\x20Allowed\x20operators:\x20','_syncBaseUnit','Base\x20','conditional','start','_activeDirtyManagerService','attachment','fromCollab','quarter','1PswhJs','values','_resolveBaseId','#,##0.00','deleteRecord','A\x20table\x20with\x20this\x20name\x20already\x20exists.','[BaseHierarchy]:\x20','renameView','major-','[BasePerf]\x20','_formulaCalculationSessionService','changes','_projectHierarchyGroups','_groupConfigCacheSegment','_kanbanLaneColor','min','finally','IS_NOT','createUpdateCellOp','leftPaneWidth','bases-exchange-client.operation.export-base','keys','Start\x20date','clearViewPermission','Working\x20day','getPermissionPoint','cellRevision','invertWithDoc','exceptions','canCreateTable','titleFieldId','weekdays','bases.remote.config','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','Date','_fieldRegistry','Doing','Grid','Number','getInstance','push','reason','hourCycle','_normalizeGanttDisplayColor','Date1900','baseRows','attachmentSet','getTime','invalidField','_getSystemFieldValue','_registeredSuperTableNames','resources','http:','\x22\x20is\x20referenced\x20by\x20','setBaseName','remove','toLocaleString','Gallery','formula','_projectGroups','repairViewConfig','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseCommandService]:\x20cannot\x20delete\x20record.','_groupCellInvalidations','_resolveCalendarDateFieldId','groupFieldId','getFocusedUnit','setSnapshot','options','LESS_THAN','_createRecordOrderOp','fieldId','_filterSortFieldIds','subtreeHeightByRecordId','getCapabilities','getAll','_applyFormulaResult','exec','Formula','save','_buildGantt','repeat','exists','optionSource','date','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','patches','afterViewId','check','useThousands','invalidateByField','isNot','decimalPlaces','lessThanOrEqual','EXACT','base.command.set-base-view-sort','empty','Checkbox','_deleteAttachmentResources','canCreateField','medium','base.mutation.','initializeUnit','globalRevision','_getTable','gantt','orderedRecordIds','strategies','displayColor','_resolveCardTitleFieldId','getCurrentUnitOfType','updateViewConfig','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_applier','base.command.update-base-view-conditional-color-rules','MUTATION','invalidateByOp','@univerjs-pro/bases','_rememberTable','_initialize','_baseSyncDisposables','UpdatedBy','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20date\x20value.','Clear','hasOwnProperty','_enqueueFormulaSync','split','createRecords','required','validateFormula','timeZone','[BaseCommandService]:\x20cannot\x20edit\x20cell.','Checked','description','InvalidField','prototype','base.viewType.gantt','recordNamePrefix','descend','497928jsdXpG','Table','usableAsGanttStart','_patchProjectedRowsForCellInvalidations','setViewFilter','_filterRows','_commandService','deleteTable','add','_recordIds','_groupsCacheKey','packageName','base-range-values-v1','parentByRecordId','_scheduledSuperTableSyncs','changeFieldType','33457080ujRLum','_getViewRevision','emitPermissionDenied','includes','getTypePlugin','_scheduleSuperTableSync','h12','greaterThan','url','toPlainText','base.command.set-base-name','lastIndex','_clearObjectEdit','fields','getItem','NEXT_30_DAYS','getUnitId','showFieldNames','fieldSettings','ruleId','field','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','_groupProjectionFieldIds','Redo','UTC','BASE','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','setViewFieldOrder','getUTCDay','deleteField','greaterThanOrEqual','MissingParent','formulaName','currencySymbol','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','28uBwiMa','[BaseField]:\x20invalid\x20checkbox\x20value.','afterFieldId','error','_resolveKanbanGroupFieldId','_calendarEventColor','primaryFieldId','apostrophe','_initDependencies','_createSystemFieldValuePatches','base.command.set-base-view-group','table','applyOp','pattern','BASE_OBJECT_PERMISSION_PLUGIN','endsWith','setRecordValues','BaseRecord','getFullYear','changed','createCreateRecordOp','[BaseField]:\x20invalid\x20progress\x20value.','setBasePermission','measure','_globalRevision','short','GREATER_THAN','cardSize','registerCommand','_removeSuperTables','_resolveKanbanCoverFieldId','commaPeriod','createCreateFieldOp','_isNonEmptyCellValue','_normalizeCalendarDisplayColor','_viewRevisions','number','month','IS_NOT_EMPTY','bases.config','_getTableRevision','base.fieldType.','createField','Unsupported\x20Base\x20permission\x20object:\x20','_factory','readonly','tryMaterializeSnapshot','columns','register','base.resource.service','viewRevision','pickerFieldIds','selectField','base.command.delete-base-field','mode','sum','allowMultiple','_univerInstanceService','includeRecords','base.mutation.apply-base-json1','Edit','createBatchCreateRecordsOp','_configService','isNotEmpty','_isKanbanGroupField','_registerUnitPermissionPoints','base.command.move-base-field','createUnit','_T_','function','owner','getUTCDate','majorHeaders','replaceOp','getTypeOfUnitAdded$','findIndex','-field-name','BOOLEAN','missingField','record','createView','base.viewType.kanban','createdAt','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','set','$1\x20','_isAllDayGanttDateRange','getAllPermissionPoint','canEditCell','_patchCachedProjectedRows','BaseProjection.filterAndSortRows','score','isValid','revision','getDependencies','beforeFieldId','recordId','_title','#16a34a','updatePermissionPoint','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','slice','column','registerSyncingMutations','frozenFieldCount','CreateView','_getOrderedRecords','decorate','setHours','cellData','onlyLocal','now','fieldOrder','setRangeValues','allowNegative','notContains','Text','base.command.set-base-range-values','base.mutation.set-permission-rules','base.command.create-base-table','BaseTable','objectType','doing','source','_replaceOptional','parentFieldName','canDeleteTable','renameFormulaUnitReferences','syncExecuteCommand','Numbering','views','Person','at\x20index\x20','scale','rowId','getUnit','_hierarchyIndexCache','_deleteRecordsBaseOp','getOwnPropertyDescriptor','lessThan','target','-record-','abbreviation','base.command.update-base-record-order','showTodayLine','_fieldPermissions','Attachment','COLUMN','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','object','_withModifiedSystemValues','clearRecordPermission','SelfParent','_syncSuperTables','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_rowTransformCacheSegment','localeCompare','cell','\x20must\x20have\x20a\x20non-empty\x20id.','registerRuleModel','_viewRowsCacheKey','_sortRows','subType','fieldIds','Currency','label','invalidGanttEndField','base.command.set-base-view-filter','deleteRecords','recordCount','base.command.set-base-view-field-order','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','BaseProjection.materializeTableRows','[BaseField]:\x20invalid\x20rating\x20value.','BaseHierarchyError','_getCellRevision','_cellRevisions','createSuperTableReference','edit','hidden','snapshot','_setAttachmentResources','BaseJson1.normalizeTables','length','groups','diffValue','_cellInvalidationsTouchFields','tableId','getUTCMonth','_formulaSyncQueue','defaultValue','coverFieldId','primaryFieldName','292485HpfRNY','basePerf','_kanbanGroupKeys','numfmt','_basePermissions','trigger','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','level','working','raw','en-US','base.command.delete-base-record','Unsupported\x20Base\x20permission\x20action:\x20','tableRevision','_cellInvalidations','compare','_matchesGanttColorRule','Rating','_findCalendarDateFieldId','Choose\x20another\x20name.','this-row','hierarchy','updateField','FORCE_STRING','base.command.update-base-field-description','validate','_getTablesToNormalize','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','compress','_createNumberingAllocators','conditions','operator','_getAllBaseDependencyTreeCacheMap','usableAsGanttEnd','base.command.delete-base-view','_normalizeCalendarConfig','card','delete-view','unitData','isNaN','_isAllDayCalendarEvent','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','reduce','embed-ui','has','result','_initRegistries','projection','Progress','deletePermissionPoint','members','IBaseCellData.ensureTableCellLayout','maxDepth','indexOf','toString','path','constructor','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','default','_materializeGroups','_initCommands','searchTexts','startsWith','oldParentRecordId','long','recordPatch','PAST_30_DAYS','undefined','base.command.rename-base-table','boolean','removeOp','getAffectedRanges','\x20permission\x20denied.','_getStructureDirtyTableIds','general',',,,\x22B\x22','all','base.viewType.grid','unknown','descendPath','[BaseCommandService]:\x20cannot\x20edit\x20record.','setRule','getCurrentUser','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','codePointAt','test','year','manageView','base.command.move-base-hierarchy-record','fromChangeset','rowIndexById','Set','createRecord',',\x22K\x22','Remote','yyyy/mm/dd','userID','NUMBER','Empty','HH:mm','_viewPermissions','onStarting','canEditTable','deepClone','RecordId','_buildKanban','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','addPermissionPoint','contains','usableAsCardCover','policy','BaseJson1.cloneForOp','base.command.set-base-view-field-width','_tableRevisions','false','subtreeEndIndex','Export','max','Done','kind','UpdatedAt','base.command.set-base-view-field-visible','invalidateByView','orderKey','embedId','done','cycle','getCurrentUserId','_initDataSync','[DeleteBaseTableCommand]:\x20table\x20\x22','LAST_WEEK','invalid-characters','every','focusUnit','mark','_setObjectEdit','manual','map','view/','_isCalendarDateField','_projectFields','_normalizeCellValue','_bumpTableRevision','insertOp','_canEditTable','average','setTablePermission','week','YYYY/MM/DD','thread-comment.command.','canEditField','createSetRecordValuesOp','timeslotSize','_recordPermissions','workingDays','createRegExpFromSafeFragment','version','rowIndex','_views','_canEdit','#,##0','_tablePermissions','children','Yes','_isColorfulKanbanGroupField','setRules','BaseView','[BaseViewRegistryService]:\x20view\x20type\x20\x22','editable','blue','day','_getCurrentUserId','moveView','key','getDay','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_resolveGalleryCardFieldIds','find','unshift','getProjection','_viewRevisionKey','locale','displayText','[BaseCommandService]:\x20cannot\x20create\x20field.','leftPaneCollapsed','rules','[BaseCommandService]:\x20record-id\x20is\x20reserved.','[BaseHierarchy]:\x20field\x20\x22','bases.fieldConfig.textPlaceholder','entries','user','RecordLink','_runtimeContext',':start','unsubscribe','base.command.delete-base-table','_materializeFormulaTableNames','\x22\x20is\x20not\x20registered.','string','rule','updateCell','col','workingDaysOnly','beforeViewId','getSnapshot','pluginName','depthByRecordId','_apply','tables','viewIndexes','_buildCalendar','getUnitType','_getJson1DirtyData','isFinite','valueOf','end','title','Uncategorized','fieldIndex','deleteView','gridViewId','__base_hierarchy_parent__','type','periodComma','THIS_MONTH','_capabilities','General','join','operand','invalid','toFixed','BaseJson1.json1Apply','PAST_7_DAYS','catch','MM-DD','_buildGrid','attachmentSets','disposeWithMe','get','base.command.set-base-table-hierarchy-field','isInteger','search','_tableBaseIds','invalidGroupField','canCreateRecord','base.command.create-base-child-record','off','isArray','_projectedGroupsCache','direction','dashboard/','name','size','base.command.set-permissions','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).','clearUnit','executeCommand','facade','remote','isEmpty','rootRecordIds','_cacheKey','spacePeriod','unitOtherData','filter','#BFDBFE','Copy','Comment','progressFieldId','invalidateByCell','collaborators','_setViewFieldSetting','targetTableId','table/','duplicateRecord','order','https:','colId','UNIVER_BASE','relationRole','filled','code','subscribe','https://','selfParent','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','width','matchAll','Base','create-view','pushUndoRedo','view-','h24','getAllUnitsForType','[BaseCommandService]:\x20cannot\x20create\x20record.','usableAsCalendarDate','regenerateViewIds','action','_getHierarchyIndex','_projectRows','limit','Invalid\x20object\x20permission\x20batch.','WriteCursor','BaseDashboard','syncUnit','Table\x20name\x20is\x20required.','local','updatedAt','1.3.1','call','setViewPermission','AFTER','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','createViewId','\x22\x20does\x20not\x20exist.','compose','editCell','_resolveGalleryCoverFieldId','CreatedBy','setViewSort','base-snapshot-v1','iterator','_fastSortRows','_getAllTableIds','flatMap','valid','displayFieldId','attachments','#3b82f6','markResultApplied','rows','canManageView','symbol','base.command.create-base-view','STRING','Group','[BaseField]:\x20invalid\x20email\x20value.',':end','defineProperty','kanban','base-perf-','_formulaCalculationTriggerService','MaxDepth','exception-','Unchecked','-view-grid','updatedBy','base.viewType.gallery','unitWidth','_injector','Gantt','some','invertOp','person','_normalizeGalleryConfig','_projectedRowsCache','BaseJson1.syncCellInvalidations','abs','text','_createNumberingAllocator','_getKanbanConfiguredLanes','index','colorFieldId','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','_resolveGanttDateFieldId','href','config','_resolveKanbanCardFieldIds','depth','dispose','endDateFieldId','replace','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_createRecordWithDefaults','Cycle','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','3794094RsqETd','MultiSelect','[BaseCommandService]:\x20cannot\x20manage\x20view.','childUnitId','Phone','trim','view','\x20has\x20unsupported\x20date\x20mode\x20\x22','undo','spaceComma','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','base.command.service','BaseProjection.projectGroups','#14b8a6','delete','SingleSelect','_dataSyncPrimaryController','_projectionCache','NumberFormat','hostAnchorId','Import','canEditRecord','separatorStyle','calendar','info','colIndex','duplicate','fieldName','_check','multiple','color','Calendar','#FDE68A','BaseField','viewId','renameTable','base.command.duplicate-base-field','sort','Kanban','getTypeOfUnitDisposed$','moveField','_clearUnit','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','unitId','base.mutation.set-permission-rule','[BaseField]:\x20invalid\x20number\x20value.','getUTCFullYear','246BErXhC','INIT','invalidReasonByRecordId','objectId','registerView','registerCtorForType','startDateFieldId','lastIndexOf','_config','recordIds','h:mm\x20a','recordOrder','system','[BaseCommandService]:\x20invalid\x20field\x20definition.','False','childrenByParentId','\x20has\x20unsupported\x20target\x20\x22','DeleteView','_disposed','_executeSuperTableMutationWhileActive','toPrimitive','none','sortedView','createTable','cardLayout','missingRecord','group','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','_isAllowedKanbanGroupField','protocol','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','tableOrder','record/','status','custom','unique','base.viewType.calendar','clearTablePermission','splice','updateRecordOrder','getStructuredDependencies','Failed\x20to\x20create\x20update\x20cell\x20operation:','_projectedViewRowsCache','Parent','CreatedAt','[BaseCommandService]:\x20cannot\x20edit\x20field.','value','[RecordLink]:\x20target\x20record\x20\x22','UNIVER_EMBED_BASES_TABLE','clear','pop','3777424vfssng','base.command.update-base-field','from','_assertFieldDefinition','row','fromEntries','canDeleteRecord','base.command.ensure-base-temporal-view-date-fields','clearBasePermission','setViewGroup','toLowerCase','getMonth','true','[BaseFormula]:\x20table\x20does\x20not\x20exist.','viewOrder','_setFormulaFieldCells','[BaseCommandService]:\x20cannot\x20create\x20table.','univer.basePerf','duplicateField','base.projection.service','createdBy','tableName','columnSettings','parentRecordId','setViewFieldWidth','[BaseFormula]:\x20table\x20\x22','_findKanbanGroupField','_createNumberingFieldValuePatches','_setCachedProjection','data','base.command.update-base-cell','CONTAINS','params','_applyingFormulaResults','redo'];_0x38bd=function(){return _0x43892c;};return _0x38bd();}function La(_0x2ba77a,_0x4724f4){const _0x5c9c25=_0x5daf81;var _0x55f4d8;let _0x25e25f=[],_0x5720ca={..._0x4724f4['config']??{}},_0x5af494=typeof _0x5720ca[_0x5c9c25(0x49b)]==_0x5c9c25(0x2ed)&&Ra(_0x2ba77a,_0x5720ca[_0x5c9c25(0x49b)])?_0x5720ca[_0x5c9c25(0x49b)]:_0x2ba77a['fieldOrder'][_0x5c9c25(0x2d8)](_0x453562=>Ra(_0x2ba77a,_0x453562));if(!_0x5af494){let _0x4f83fa=za(_0x2ba77a,_0x25e25f);_0x25e25f[_0x5c9c25(0x482)](_0x4f83fa),_0x5af494=_0x4f83fa['id'];}_0x5720ca[_0x5c9c25(0x49b)]=_0x5af494;let _0x347901=Ma(_0x4724f4[_0x5c9c25(0x1d6)],_0x25e25f[_0x5c9c25(0x2b0)](_0x36fa43=>_0x36fa43['id']));return{'changed':_0x25e25f[_0x5c9c25(0x21d)]>0x0||_0x5720ca['groupFieldId']!==((_0x55f4d8=_0x4724f4[_0x5c9c25(0x396)])==null?void 0x0:_0x55f4d8['groupFieldId'])||!(!_0x347901||_0x9abbbc[_0x5c9c25(0x21f)](_0x347901,_0x4724f4[_0x5c9c25(0x1d6)]??[])),'fields':_0x25e25f,'config':_0x5720ca,'fieldOrder':_0x347901};}function Ra(_0x4f7c8f,_0x2cb397){const _0x423196=_0x5daf81;let _0x4d4aeb=_0x2cb397?_0x4f7c8f[_0x423196(0x503)][_0x2cb397]:null;return _0x4d4aeb?[_0x618ba['SingleSelect'],_0x618ba['MultiSelect'],_0x618ba['Rating'],_0x618ba[_0x423196(0x1e9)],_0x618ba['Group'],_0x618ba[_0x423196(0x4bb)]][_0x423196(0x4f9)](_0x4d4aeb[_0x423196(0x305)]):!0x1;}function _0x188f(_0x1e70ec,_0x4dab61){_0x1e70ec=_0x1e70ec-0x1b3;const _0x38bd2f=_0x38bd();let _0x188fa0=_0x38bd2f[_0x1e70ec];return _0x188fa0;}function za(_0x12fac5,_0xec580a){const _0x4824b4=_0x5daf81;return{'id':_0x4824b4(0x430)+_0x1d3e80(0x8),'name':ja(_0x12fac5,'Status',_0xec580a),'type':_0x618ba[_0x4824b4(0x3af)],'config':_0x9abbbc[_0x4824b4(0x28e)](Na)};}function Ba(_0x5d37d7){const _0xae4925=_0x5daf81;return Object[_0xae4925(0x46f)](_0x5d37d7['config']??{})[_0xae4925(0x21d)]===0x0&&Object[_0xae4925(0x46f)](_0x5d37d7['fieldSettings']??{})[_0xae4925(0x21d)]===0x0;}function Va(_0x17ace0,_0x22af4b,_0x597987){const _0x4890a9=_0x5daf81;let _0x1daedc={..._0x22af4b[_0x4890a9(0x396)]??{}},_0x411afa=_0x597987[_0x4890a9(0x2b0)](_0xade051=>_0xade051['id']),_0x292874=[..._0x17ace0[_0x4890a9(0x1d6)],..._0x411afa],_0x406dfd=typeof _0x1daedc[_0x4890a9(0x478)]==_0x4890a9(0x2ed)&&Ha(_0x17ace0,_0x597987,_0x1daedc['titleFieldId'])?_0x1daedc[_0x4890a9(0x478)]:_0x17ace0['primaryFieldId'],_0x5dc5c7=typeof _0x1daedc[_0x4890a9(0x3d5)]==_0x4890a9(0x2ed)?_0x1daedc[_0x4890a9(0x3d5)]:'',_0x5a2f17=typeof _0x1daedc['endDateFieldId']=='string'?_0x1daedc[_0x4890a9(0x39a)]:_0x5dc5c7,_0x41750a=new Set([_0x406dfd,_0x5dc5c7,_0x5a2f17][_0x4890a9(0x32f)](_0x14203a=>_0x14203a&&Ha(_0x17ace0,_0x597987,_0x14203a))),_0x5ca66f=Object[_0x4890a9(0x407)](_0x292874[_0x4890a9(0x36c)](_0x5358aa=>_0x41750a[_0x4890a9(0x253)](_0x5358aa)||!Ha(_0x17ace0,_0x597987,_0x5358aa)?[]:[[_0x5358aa,{'hidden':!0x0}]]));return{..._0x22af4b,'config':{..._0x1daedc,'titleFieldId':_0x406dfd},'fieldSettings':_0x5ca66f};}function Ha(_0x32cb12,_0x267cb2,_0x5abcd0){const _0x40edd5=_0x5daf81;return!!(_0x32cb12['fields'][_0x5abcd0]??_0x267cb2[_0x40edd5(0x2d8)](_0x3557cf=>_0x3557cf['id']===_0x5abcd0))&&!0x0;}function Ua(_0x5d0313,_0xf6b833){const _0x26320b=_0x5daf81;let _0x348ef6=_0xf6b833?_0x5d0313[_0x26320b(0x503)][_0xf6b833]:null;return!!_0x348ef6&&_0x348ef6['type']===_0x618ba[_0x26320b(0x47c)]&&_0x348ef6['readonly']!==!0x0&&_0x348ef6['system']!==!0x0;}function Wa(_0x644b97,_0x278cc3,_0x201e73){const _0x4846ef=_0x5daf81;let _0x3a6c31=new Set([...Object['keys'](_0x644b97[_0x4846ef(0x503)]),..._0x278cc3[_0x4846ef(0x2b0)](_0x123662=>_0x123662['id'])]),_0x1be7d5=_0x4846ef(0x430)+_0x1d3e80(0x8);for(;_0x3a6c31[_0x4846ef(0x253)](_0x1be7d5);)_0x1be7d5=_0x4846ef(0x430)+_0x1d3e80(0x8);return{'id':_0x1be7d5,'name':ja(_0x644b97,_0x201e73,_0x278cc3),'type':_0x618ba[_0x4846ef(0x47c)],'config':{...Pa}};}const Ga={'id':_0x5daf81(0x375),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x902e3a,_0x2bc276)=>{const _0xda2133=_0x5daf81;if(!_0x2bc276)return!0x1;let _0x133cbd=_0x902e3a['get'](_0x364596),{unitId:_0x204c35,tableId:_0x1c99b2,view:_0x2180dc,index:_0x4cabf7}=_0x2bc276,_0x15dfc6=_0x133cbd[_0xda2133(0x1ed)](_0x204c35,_0x2ddca0[_0xda2133(0x33d)]);if(!_0x15dfc6||!$(_0x15dfc6,_0x1c99b2)||_0x15dfc6['getSnapshot']()[_0xda2133(0x2f7)][_0x1c99b2]['views'][_0x2180dc['id']])return!0x1;let _0x39cf67=_0x902e3a[_0xda2133(0x315)](_0x2ca718),_0xe0016b=_0x902e3a[_0xda2133(0x315)](_0x51376c),_0x25c029=_0x15dfc6['getSnapshot'](),_0x2ababd=Fa(_0x25c029,_0x1c99b2,_0x2180dc,_0x4cabf7),_0x3f40f1=new z()['invertOp'](_0x25c029,_0x2ababd),_0x3c6bbd={'historyAction':_0xda2133(0x349),'unitId':_0x204c35,'op':_0x2ababd,'viewType':_0x2180dc[_0xda2133(0x305)]},_0x1e5e36={'historyAction':'delete-view','unitId':_0x204c35,'op':_0x3f40f1,'viewType':_0x2180dc[_0xda2133(0x305)]};return _0x39cf67[_0xda2133(0x1e6)](Q['id'],_0x3c6bbd)?(_0x133cbd['focusUnit'](_0x204c35),_0xe0016b[_0xda2133(0x34a)]({'unitID':_0x204c35,'undoMutations':[{'id':Q['id'],'params':_0x1e5e36}],'redoMutations':[{'id':Q['id'],'params':_0x3c6bbd}]}),!0x0):!0x1;}},Ka={'id':_0x5daf81(0x54e),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x5dc1a0,_0x3a2e34){const _0x3564d8=_0x5daf81;if(!_0x3a2e34)return!0x1;let _0x155331=_0x5dc1a0[_0x3564d8(0x315)](_0x364596),{unitId:_0x4c4e5d,tableId:_0x53979a,fieldId:_0x353197}=_0x3a2e34,_0x378024=_0x155331[_0x3564d8(0x1ed)](_0x4c4e5d,_0x2ddca0[_0x3564d8(0x33d)]);if(!_0x378024)return!0x1;let _0x2798da=_0x378024['getSnapshot'](),_0x54ed9f=_0x2798da[_0x3564d8(0x2f7)][_0x53979a];if(!$(_0x378024,_0x53979a,{'fieldIds':[_0x353197]})||_0x54ed9f[_0x3564d8(0x51f)]===_0x353197||_0x353197===_0x4a6fc3)return!0x1;let _0x2947c5=_0x5dc1a0[_0x3564d8(0x315)](_0x2ca718),_0x528353=_0x5dc1a0[_0x3564d8(0x315)](_0x51376c),_0x21139f=new W()['deleteField'](_0x2798da,_0x53979a,_0x353197),_0x4091ff=new z()[_0x3564d8(0x388)](_0x2798da,_0x21139f),_0x16aefb={'unitId':_0x4c4e5d,'op':_0x21139f},_0xb1de4={'unitId':_0x4c4e5d,'op':_0x4091ff};return _0x2947c5[_0x3564d8(0x1e6)](Q['id'],_0x16aefb)?(_0x155331[_0x3564d8(0x2ac)](_0x4c4e5d),_0x528353['pushUndoRedo']({'unitID':_0x4c4e5d,'undoMutations':[{'id':Q['id'],'params':_0xb1de4}],'redoMutations':[{'id':Q['id'],'params':_0x16aefb}]}),!0x0):!0x1;}},qa={'id':_0x5daf81(0x232),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x15d262,_0x1b3b2b)=>{const _0x101d63=_0x5daf81;if(!_0x1b3b2b)return!0x1;let _0xed61d6=_0x15d262[_0x101d63(0x315)](_0x364596),{unitId:_0x485bf5,tableId:_0x5e065d,recordId:_0x156566}=_0x1b3b2b,_0x5bc790=_0xed61d6[_0x101d63(0x1ed)](_0x485bf5,_0x2ddca0['UNIVER_BASE']);if(!_0x5bc790||!$(_0x5bc790,_0x5e065d,{'recordIds':[_0x156566]}))return!0x1;let _0x24d99a=_0x15d262[_0x101d63(0x315)](_0x2ca718),_0x4d58aa=_0x15d262[_0x101d63(0x315)](_0x51376c),_0x57ea44=_0x5bc790[_0x101d63(0x2f3)](),_0x54d053=et(_0x57ea44['tables'][_0x5e065d],[_0x156566]),_0x33af23=new W(),_0x123553=new z(),_0x404336=_0x33af23['deleteRecord'](_0x57ea44,_0x5e065d,_0x156566),_0x2a023b=_0x123553[_0x101d63(0x525)](_0x57ea44,_0x404336),_0xca34c2=_0x33af23['createDeleteRecordsUndoOp'](_0x57ea44,_0x2a023b,_0x5e065d,[_0x156566]),_0x37fc9b={'unitId':_0x485bf5,'op':_0x404336,'hierarchyChanges':_0x54d053,'source':_0x1b3b2b[_0x101d63(0x1e1)]??'ui'},_0xf988a={..._0x37fc9b,'source':_0x101d63(0x424)},_0x2bc649={'unitId':_0x485bf5,'op':_0xca34c2,'hierarchyChanges':_0x54d053[_0x101d63(0x2b0)](_0x227ebe=>({..._0x227ebe,'oldParentRecordId':_0x227ebe[_0x101d63(0x419)],'parentRecordId':_0x227ebe[_0x101d63(0x266)]})),'source':_0x101d63(0x3a8)};return _0x24d99a[_0x101d63(0x1e6)](Q['id'],_0x37fc9b)?(_0xed61d6[_0x101d63(0x2ac)](_0x485bf5),_0x4d58aa[_0x101d63(0x34a)]({'unitID':_0x485bf5,'undoMutations':[{'id':Q['id'],'params':_0x2bc649}],'redoMutations':[{'id':Q['id'],'params':_0xf988a}]}),!0x0):!0x1;}},Ja={'id':_0x5daf81(0x2ea),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x1ddf4e,_0x2ed17f)=>{const _0x28a0cb=_0x5daf81;if(!_0x2ed17f)return!0x1;let _0x4e794d=_0x1ddf4e['get'](_0x364596),{unitId:_0x1198dd,tableId:_0x5b8604}=_0x2ed17f,_0x45ce46=_0x4e794d[_0x28a0cb(0x1ed)](_0x1198dd,_0x2ddca0[_0x28a0cb(0x33d)]);if(!_0x45ce46||!$(_0x45ce46,_0x5b8604))return!0x1;let _0x4588bf=_0x1ddf4e['get'](_0x2ca718),_0x565a16=_0x1ddf4e['get'](_0x51376c),_0x2f3fc9=_0x45ce46['getSnapshot'](),_0x35916c=He(_0x2f3fc9,_0x5b8604);if(_0x35916c[_0x28a0cb(0x21d)]>0x0)return console[_0x28a0cb(0x51c)](_0x28a0cb(0x2a8)+_0x5b8604+_0x28a0cb(0x48f)+_0x35916c[_0x28a0cb(0x2b0)](_0x240b8c=>_0x240b8c['tableId']+'.'+_0x240b8c['fieldId'])[_0x28a0cb(0x30a)](',\x20')+'.'),!0x1;let _0x287159=new W()[_0x28a0cb(0x4ed)](_0x2f3fc9,_0x5b8604),_0x47e79d=new z()['invertOp'](_0x2f3fc9,_0x287159),_0x227659={'unitId':_0x1198dd,'op':_0x287159},_0x268462={'unitId':_0x1198dd,'op':_0x47e79d};return _0x4588bf[_0x28a0cb(0x1e6)](Q['id'],_0x227659)?(_0x4e794d[_0x28a0cb(0x2ac)](_0x1198dd),_0x565a16[_0x28a0cb(0x34a)]({'unitID':_0x1198dd,'undoMutations':[{'id':Q['id'],'params':_0x268462}],'redoMutations':[{'id':Q['id'],'params':_0x227659}]}),!0x0):!0x1;}},Ya={'id':_0x5daf81(0x249),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x232a6d,_0x2be235)=>{const _0x53afd8=_0x5daf81;if(!_0x2be235)return!0x1;let _0x866df7=_0x232a6d[_0x53afd8(0x315)](_0x364596),{unitId:_0x8ee4b4,tableId:_0x33f310,viewId:_0x44f618}=_0x2be235,_0x4181cc=_0x866df7[_0x53afd8(0x1ed)](_0x8ee4b4,_0x2ddca0['UNIVER_BASE']);if(!_0x4181cc||!$(_0x4181cc,_0x33f310,{'viewIds':[_0x44f618]}))return!0x1;let _0x3d636a=_0x232a6d[_0x53afd8(0x315)](_0x2ca718),_0x141f78=_0x232a6d[_0x53afd8(0x315)](_0x51376c),_0x232016=_0x4181cc[_0x53afd8(0x2f3)](),_0x5118cb=_0x232016[_0x53afd8(0x2f7)][_0x33f310][_0x53afd8(0x1e8)][_0x44f618][_0x53afd8(0x305)],_0x1bf632=new W()[_0x53afd8(0x302)](_0x232016,_0x33f310,_0x44f618),_0x4c2f30=new z()[_0x53afd8(0x388)](_0x232016,_0x1bf632),_0x1b9d2c={'historyAction':_0x53afd8(0x24c),'unitId':_0x8ee4b4,'op':_0x1bf632,'viewType':_0x5118cb},_0x553640={'historyAction':_0x53afd8(0x349),'unitId':_0x8ee4b4,'op':_0x4c2f30,'viewType':_0x5118cb};return _0x3d636a['syncExecuteCommand'](Q['id'],_0x1b9d2c)?(_0x866df7[_0x53afd8(0x2ac)](_0x8ee4b4),_0x141f78['pushUndoRedo']({'unitID':_0x8ee4b4,'undoMutations':[{'id':Q['id'],'params':_0x553640}],'redoMutations':[{'id':Q['id'],'params':_0x1b9d2c}]}),!0x0):!0x1;}},Xa={'id':_0x5daf81(0x3c4),'type':_0x3d059d['COMMAND'],'handler':(_0x2744e8,_0xb638b4)=>{const _0x3fed12=_0x5daf81;if(!_0xb638b4)return!0x1;let _0x5f1438=_0x2744e8[_0x3fed12(0x315)](_0x364596),{unitId:_0x176d27,tableId:_0x1a1c1f,sourceFieldId:_0x4f52df,field:_0x101387,index:_0x30e2e9,viewIndexes:_0x230d0f}=_0xb638b4,_0x1c830e=_0x5f1438[_0x3fed12(0x1ed)](_0x176d27,_0x2ddca0[_0x3fed12(0x33d)]);if(!_0x1c830e||!$(_0x1c830e,_0x1a1c1f,{'fieldIds':[_0x4f52df]})||_0x4f52df===_0x4a6fc3||_0x1c830e[_0x3fed12(0x2f3)]()[_0x3fed12(0x2f7)][_0x1a1c1f]['fields'][_0x101387['id']]||_0x30e2e9===0x0||!ha(_0x1c830e,_0x1a1c1f,_0x101387))return!0x1;let _0x4ac7=_0x2744e8['get'](_0x2ca718),_0x58a972=_0x2744e8[_0x3fed12(0x315)](_0x51376c),_0x1083c8=_0x1c830e[_0x3fed12(0x2f3)](),_0x41a596=new W()[_0x3fed12(0x414)](_0x1083c8,_0x1a1c1f,_0x4f52df,{'field':_0x101387,'index':_0x30e2e9,'viewIndexes':_0x230d0f}),_0x469274=new z()['invertOp'](_0x1083c8,_0x41a596),_0x196791={'unitId':_0x176d27,'op':_0x41a596},_0x277432={'unitId':_0x176d27,'op':_0x469274};return _0x4ac7[_0x3fed12(0x1e6)](Q['id'],_0x196791)?(_0x5f1438[_0x3fed12(0x2ac)](_0x176d27),_0x58a972[_0x3fed12(0x34a)]({'unitID':_0x176d27,'undoMutations':[{'id':Q['id'],'params':_0x277432}],'redoMutations':[{'id':Q['id'],'params':_0x196791}]}),!0x0):!0x1;}},Za={'id':'base.command.duplicate-base-record','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0xd0dc67,_0x4478d2)=>{const _0x105461=_0x5daf81;if(!_0x4478d2)return!0x1;let _0x305363=_0xd0dc67[_0x105461(0x315)](_0x364596),{unitId:_0x4a5996,tableId:_0x207811,sourceRecordId:_0x31312f,record:_0x3cd42f}=_0x4478d2,_0xb77b9f=_0x305363['getUnit'](_0x4a5996,_0x2ddca0[_0x105461(0x33d)]);if(!_0xb77b9f||!$(_0xb77b9f,_0x207811,{'recordIds':[_0x31312f]})||!_a(_0xb77b9f,_0x207811,_0x3cd42f))return!0x1;let _0x459530=_0xd0dc67[_0x105461(0x315)](_0x2ca718),_0x4a84ec=_0xd0dc67[_0x105461(0x315)](_0x51376c),_0x676f9f=_0xb77b9f[_0x105461(0x2f3)](),_0x52d6ad=va(_0x3cd42f),_0x4827c6=Qe(_0x676f9f[_0x105461(0x2f7)][_0x207811],[_0x52d6ad]),_0x5163be=new W()[_0x105461(0x339)](_0x676f9f,_0x207811,_0x31312f,_0x52d6ad),_0x4227f2=new z()[_0x105461(0x388)](_0x676f9f,_0x5163be),_0x3a2a1d={'unitId':_0x4a5996,'op':_0x5163be,'hierarchyChanges':_0x4827c6[_0x105461(0x21d)]?_0x4827c6:void 0x0,'source':_0x4827c6['length']?_0x4478d2[_0x105461(0x1e1)]??'ui':void 0x0},_0xb7c43={..._0x3a2a1d,'source':_0x4827c6[_0x105461(0x21d)]?_0x105461(0x424):void 0x0},_0x5d557c={'unitId':_0x4a5996,'op':_0x4227f2,'hierarchyChanges':_0x4827c6[_0x105461(0x21d)]?_0x4827c6[_0x105461(0x2b0)](_0xcd4ab8=>({..._0xcd4ab8,'oldParentRecordId':_0xcd4ab8[_0x105461(0x419)],'parentRecordId':null})):void 0x0,'source':_0x4827c6[_0x105461(0x21d)]?_0x105461(0x3a8):void 0x0};return _0x459530[_0x105461(0x1e6)](Q['id'],_0x3a2a1d)?(_0x305363[_0x105461(0x2ac)](_0x4a5996),_0x4a84ec[_0x105461(0x34a)]({'unitID':_0x4a5996,'undoMutations':[{'id':Q['id'],'params':_0x5d557c}],'redoMutations':[{'id':Q['id'],'params':_0xb7c43}]}),!0x0):!0x1;}},Qa={'id':_0x5daf81(0x409),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x348c69,_0x481dab){const _0x291f25=_0x5daf81;if(!_0x481dab)return!0x1;let _0x36e474=_0x348c69[_0x291f25(0x315)](_0x364596),{unitId:_0x5e4e85,tableId:_0x267db6,viewId:_0x2a16d3,ensureEndDateField:_0x2e9bd6}=_0x481dab,_0x4955df=_0x36e474['getUnit'](_0x5e4e85,_0x2ddca0[_0x291f25(0x33d)]);if(!_0x4955df||!$(_0x4955df,_0x267db6,{'viewIds':[_0x2a16d3]}))return!0x1;let _0x49a5dc=_0x4955df[_0x291f25(0x2f3)](),_0x1a92ec=_0x49a5dc['tables'][_0x267db6],_0x51a4c6=_0x1a92ec==null?void 0x0:_0x1a92ec[_0x291f25(0x1e8)][_0x2a16d3];if(!_0x1a92ec||!_0x51a4c6||_0x51a4c6[_0x291f25(0x305)]!==_0x291f25(0x3b7)&&_0x51a4c6['type']!=='gantt')return!0x1;let _0x1e97c5=Ia(_0x1a92ec,_0x51a4c6,_0x2e9bd6===!0x0);if(!_0x1e97c5[_0x291f25(0x52c)])return!0x1;let _0x38a611=_0x348c69[_0x291f25(0x315)](_0x2ca718),_0x4b2238=_0x348c69[_0x291f25(0x315)](_0x51376c),_0x1b475b=new W(),_0x235eb9=[..._0x1e97c5[_0x291f25(0x503)][_0x291f25(0x2b0)](_0x293604=>_0x1b475b['createField'](_0x49a5dc,_0x481dab[_0x291f25(0x221)],{'field':_0x293604})),$a([...eo(_0x481dab[_0x291f25(0x221)],_0x481dab[_0x291f25(0x3c2)]),'config'],_0x51a4c6['config'],_0x1e97c5[_0x291f25(0x396)])];_0x1e97c5[_0x291f25(0x1d6)]&&_0x235eb9[_0x291f25(0x482)]($a([...eo(_0x481dab['tableId'],_0x481dab[_0x291f25(0x3c2)]),_0x291f25(0x1d6)],_0x51a4c6[_0x291f25(0x1d6)],_0x1e97c5[_0x291f25(0x1d6)]));let _0xc09bdf=R(_0x235eb9),_0x48e678=new z()['invertOp'](_0x49a5dc,_0xc09bdf),_0x1e0be0={'unitId':_0x5e4e85,'op':_0xc09bdf},_0x48ba49={'unitId':_0x5e4e85,'op':_0x48e678};return _0x38a611['syncExecuteCommand'](Q['id'],_0x1e0be0)?(_0x36e474['focusUnit'](_0x5e4e85),_0x4b2238['pushUndoRedo']({'unitID':_0x5e4e85,'undoMutations':[{'id':Q['id'],'params':_0x48ba49}],'redoMutations':[{'id':Q['id'],'params':_0x1e0be0}]}),!0x0):!0x1;}};function $a(_0x5e28f7,_0x1a3589,_0x5863ed){const _0x4becb2=_0x5daf81;return _0x1a3589===void 0x0?_0x1605a0[_0x4becb2(0x2b6)](_0x5e28f7,_0x5863ed):_0x1605a0[_0x4becb2(0x562)](_0x5e28f7,_0x1a3589,_0x5863ed);}function eo(_0x2fdd4f,_0x116894){const _0x1d5ab2=_0x5daf81;return[_0x1d5ab2(0x2f7),_0x2fdd4f,_0x1d5ab2(0x1e8),_0x116894];}const to={'id':_0x5daf81(0x55b),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x30a47b,_0x1d51b0)=>{const _0x484987=_0x5daf81;if(!_0x1d51b0)return!0x1;let _0x4709d7=_0x30a47b[_0x484987(0x315)](_0x364596),{unitId:_0x286565,tableId:_0x2749a6,fieldId:_0x1a5ba3,target:_0xb505fb}=_0x1d51b0,_0x489e07=_0x4709d7[_0x484987(0x1ed)](_0x286565,_0x2ddca0[_0x484987(0x33d)]),_0x1ec9bf=_0xb505fb[_0x484987(0x1c5)]??_0xb505fb[_0x484987(0x51b)];if(!_0x489e07||!!_0xb505fb[_0x484987(0x1c5)]==!!_0xb505fb['afterFieldId']||!_0x1ec9bf||_0x1ec9bf===_0x1a5ba3||_0x1a5ba3===_0x4a6fc3||_0xb505fb[_0x484987(0x1c5)]===_0x4a6fc3||!$(_0x489e07,_0x2749a6,{'fieldIds':[_0x1a5ba3,_0x1ec9bf]}))return!0x1;let _0x240318=_0x30a47b[_0x484987(0x315)](_0x2ca718),_0x159700=_0x30a47b['get'](_0x51376c),_0x5ea9d1=_0x489e07[_0x484987(0x2f3)](),_0x20af45=new W()['moveField'](_0x5ea9d1,_0x2749a6,_0x1a5ba3,_0xb505fb),_0x441746=new z()[_0x484987(0x388)](_0x5ea9d1,_0x20af45),_0x219e3c={'unitId':_0x286565,'op':_0x20af45},_0x5a223a={'unitId':_0x286565,'op':_0x441746};return _0x240318['syncExecuteCommand'](Q['id'],_0x219e3c)?(_0x4709d7['focusUnit'](_0x286565),_0x159700['pushUndoRedo']({'unitID':_0x286565,'undoMutations':[{'id':Q['id'],'params':_0x5a223a}],'redoMutations':[{'id':Q['id'],'params':_0x219e3c}]}),!0x0):!0x1;}},no={'id':_0x5daf81(0x27f),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x6d39,_0x3b150f)=>{const _0x24464d=_0x5daf81;var _0x42ab2c;if(!_0x3b150f)return!0x1;let {unitId:_0x319004,tableId:_0x418b2a,recordId:_0x3e7681,parentRecordId:_0x5e1a8f,orderKey:_0x16efa9}=_0x3b150f,_0x2376c1=_0x6d39[_0x24464d(0x315)](_0x364596),_0x21d39b=_0x2376c1['getUnit'](_0x319004,_0x2ddca0[_0x24464d(0x33d)]);if(!_0x21d39b||!$(_0x21d39b,_0x418b2a,{'recordIds':[_0x3e7681,..._0x5e1a8f?[_0x5e1a8f]:[]]}))throw new P('missingRecord');let _0x4333af=_0x21d39b['getSnapshot'](),_0x18e986=_0x4333af[_0x24464d(0x2f7)][_0x418b2a],_0x188c56=qe(_0x18e986),_0x20c8a1=_0x188c56??_0x3b150f['fieldId']??Je(_0x18e986);if(_0x188c56&&_0x3b150f['fieldId']&&_0x3b150f[_0x24464d(0x4a1)]!==_0x188c56||_0x18e986['fields'][_0x20c8a1]&&!F(_0x18e986,_0x20c8a1))throw new P(_0x24464d(0x48a));let _0x288153=tt(_0x18e986,_0x20c8a1),_0x350d16=it(_0x288153,_0x3e7681,_0x5e1a8f);if(!_0x350d16[_0x24464d(0x36d)])throw new P(_0x350d16[_0x24464d(0x483)]===_0x335882['SelfParent']?_0x24464d(0x343):_0x350d16[_0x24464d(0x483)]===_0x335882['Cycle']?'cycle':'maxDepth');let _0x39b010=_0x288153['parentByRecordId'][_0x24464d(0x315)](_0x3e7681)??null,_0x1ae03a=_0x18e986[_0x24464d(0x43a)][_0x3e7681][_0x24464d(0x2a2)];if(_0x39b010===_0x5e1a8f&&(_0x16efa9===void 0x0||_0x16efa9===_0x1ae03a))return!0x0;let _0x38ba98=_0x39b010!==_0x5e1a8f,_0x5a2945=_0x16efa9!==void 0x0&&_0x16efa9!==_0x1ae03a,_0x74c66b=new W(),_0x29f1b6=[],_0x5d844f=_0x18e986['fields'][_0x20c8a1],_0x5a45ee=_0x38ba98&&(!_0x5d844f||((_0x42ab2c=N(_0x5d844f))==null?void 0x0:_0x42ab2c['relationRole'])!==_0x1d1c88[_0x24464d(0x3fa)])?_0x5d844f?_0x74c66b[_0x24464d(0x23d)](_0x4333af,_0x418b2a,_0x20c8a1,{'config':{..._0x5d844f[_0x24464d(0x396)],'relationRole':_0x1d1c88[_0x24464d(0x3fa)]}}):_0x6d39['get'](Kr)[_0x24464d(0x539)](_0x21d39b,_0x418b2a,Ye(_0x18e986,_0x20c8a1,_0x3b150f[_0x24464d(0x1e3)]),_0x18e986['fieldOrder']['length']):null;_0x5a45ee&&_0x29f1b6[_0x24464d(0x482)](_0x5a45ee),_0x38ba98&&_0x29f1b6[_0x24464d(0x482)](_0x74c66b['updateCell'](_0x4333af,_0x418b2a,_0x3e7681,_0x20c8a1,_0x5e1a8f?Re([_0x5e1a8f]):'')),_0x5a2945&&_0x29f1b6[_0x24464d(0x482)](_0x74c66b[_0x24464d(0x3f6)](_0x4333af,_0x418b2a,_0x3e7681,_0x16efa9));let _0x225059=R(_0x29f1b6),_0x21d619={'tableId':_0x418b2a,'fieldId':_0x20c8a1,'recordId':_0x3e7681,'oldParentRecordId':_0x39b010,'parentRecordId':_0x5e1a8f},_0x3d1bc0={'unitId':_0x319004,'op':_0x225059,'trigger':no['id'],'hierarchyChanges':[_0x21d619],'source':_0x3b150f['source']??'ui'},_0x442813={..._0x3d1bc0,'source':_0x24464d(0x424)};if(!_0x6d39[_0x24464d(0x315)](_0x2ca718)['syncExecuteCommand'](Q['id'],_0x3d1bc0))return!0x1;let _0x55bb1f=_0x21d39b[_0x24464d(0x2f3)](),_0x2689a5=[];_0x38ba98&&_0x2689a5[_0x24464d(0x482)](ro(_0x55bb1f,_0x4333af,_0x418b2a,_0x3e7681,_0x20c8a1)),_0x5a2945&&_0x2689a5[_0x24464d(0x482)](io(_0x55bb1f,_0x4333af,_0x418b2a,_0x3e7681)),_0x5a45ee&&_0x2689a5[_0x24464d(0x482)](new z()['invertOp'](_0x4333af,_0x5a45ee));let _0x51eaed={'unitId':_0x319004,'op':R(_0x2689a5),'trigger':no['id'],'hierarchyChanges':[{..._0x21d619,'oldParentRecordId':_0x5e1a8f,'parentRecordId':_0x39b010}],'source':'undo'};return _0x2376c1[_0x24464d(0x2ac)](_0x319004),_0x6d39[_0x24464d(0x315)](_0x51376c)[_0x24464d(0x34a)]({'unitID':_0x319004,'undoMutations':[{'id':Q['id'],'params':_0x51eaed}],'redoMutations':[{'id':Q['id'],'params':_0x442813}]}),!0x0;}};function ro(_0x529b5a,_0x49150a,_0x3b6727,_0x412a74,_0x5c30eb){const _0x3df910=_0x5daf81;var _0x1c2eee,_0x1fdea5,_0x249647,_0x189c55,_0x25102a,_0x4f9196,_0x57ec34,_0x4a3f20;let _0x203f5e=_0x529b5a[_0x3df910(0x2f7)][_0x3b6727],_0x56233e=_0x49150a['tables'][_0x3b6727],_0x40a600=(_0x1c2eee=_0x203f5e[_0x3df910(0x2c4)])==null?void 0x0:_0x1c2eee[_0x412a74],_0x41a4ee=(_0x1fdea5=_0x203f5e[_0x3df910(0x3b9)])==null?void 0x0:_0x1fdea5[_0x5c30eb],_0x4fd59e=(_0x249647=_0x56233e[_0x3df910(0x2c4)])==null?void 0x0:_0x249647[_0x412a74],_0x24cf3b=(_0x189c55=_0x56233e[_0x3df910(0x3b9)])==null?void 0x0:_0x189c55[_0x5c30eb],_0x400745=_0x40a600==null||_0x41a4ee==null||(_0x25102a=_0x203f5e[_0x3df910(0x1d3)])==null||(_0x25102a=_0x25102a[_0x40a600])==null?void 0x0:_0x25102a[_0x41a4ee],_0x5a4034=_0x4fd59e==null||_0x24cf3b==null||(_0x4f9196=_0x56233e[_0x3df910(0x1d3)])==null||(_0x4f9196=_0x4f9196[_0x4fd59e])==null?void 0x0:_0x4f9196[_0x24cf3b],_0x111995=(_0x57ec34=_0x203f5e[_0x3df910(0x43a)][_0x412a74])==null?void 0x0:_0x57ec34[_0x3df910(0x45b)][_0x5c30eb],_0x271fc7=(_0x4a3f20=_0x56233e[_0x3df910(0x43a)][_0x412a74])==null?void 0x0:_0x4a3f20[_0x3df910(0x45b)][_0x5c30eb],_0x646f32=[],_0x516560=ao(_0x40a600==null||_0x41a4ee==null?null:U[_0x3df910(0x1d3)](_0x3b6727,_0x40a600,_0x41a4ee),_0x400745,_0x5a4034);_0x516560&&_0x646f32[_0x3df910(0x482)](_0x516560);let _0x4b96f0=ao(U['cell'](_0x3b6727,_0x412a74,_0x5c30eb),_0x111995,_0x271fc7);return _0x4b96f0&&_0x646f32[_0x3df910(0x482)](_0x4b96f0),R(_0x646f32);}function io(_0x3ae48c,_0x253c1c,_0x248eed,_0x4d66e6){const _0x608443=_0x5daf81;var _0x1ae325,_0x7fa2ec;let _0x7f4a8b=_0x3ae48c[_0x608443(0x2f7)][_0x248eed],_0x8a1b6e=_0x253c1c['tables'][_0x248eed];return R([ao([...U[_0x608443(0x1b5)](_0x248eed,_0x4d66e6),_0x608443(0x2a2)],(_0x1ae325=_0x7f4a8b[_0x608443(0x43a)][_0x4d66e6])==null?void 0x0:_0x1ae325['orderKey'],(_0x7fa2ec=_0x8a1b6e[_0x608443(0x43a)][_0x4d66e6])==null?void 0x0:_0x7fa2ec[_0x608443(0x2a2)]),ao([...U[_0x608443(0x524)](_0x248eed),_0x608443(0x3da)],_0x7f4a8b[_0x608443(0x3da)],_0x8a1b6e['recordOrder'])][_0x608443(0x32f)](_0x2f86ce=>!!_0x2f86ce));}function ao(_0x43d064,_0x4bc7ea,_0xea1725){const _0x4ab350=_0x5daf81;if(!_0x43d064||_0x4bc7ea===void 0x0&&_0xea1725===void 0x0)return null;let _0x5e302d=_0x43324a[_0x4ab350(0x481)]();return _0xea1725===void 0x0?_0x5e302d['removeOp'](_0x43d064,_0x4bc7ea):_0x4bc7ea===void 0x0?_0x5e302d[_0x4ab350(0x2b6)](_0x43d064,_0xea1725):_0x5e302d['replaceOp'](_0x43d064,_0x4bc7ea,_0xea1725);}const oo={'id':'base.command.move-base-view','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x4ca16d,_0x1533dd)=>{const _0x11b214=_0x5daf81;if(!_0x1533dd)return!0x1;let _0x92d40d=_0x4ca16d['get'](_0x364596),{unitId:_0x69aecc,tableId:_0x110ccd,viewId:_0x13d49d,target:_0x49fc7f}=_0x1533dd,_0x2ff025=_0x92d40d[_0x11b214(0x1ed)](_0x69aecc,_0x2ddca0['UNIVER_BASE']),_0x47c32d=_0x49fc7f['beforeViewId']??_0x49fc7f[_0x11b214(0x4b1)];if(!_0x2ff025||!_0x47c32d||_0x47c32d===_0x13d49d||!$(_0x2ff025,_0x110ccd,{'viewIds':[_0x13d49d,_0x47c32d]}))return!0x1;let _0x25f137=_0x4ca16d[_0x11b214(0x315)](_0x2ca718),_0x503d85=_0x4ca16d[_0x11b214(0x315)](_0x51376c),_0x8a7bac=_0x2ff025[_0x11b214(0x2f3)](),_0x58f73e=new W()[_0x11b214(0x2d3)](_0x8a7bac,_0x110ccd,_0x13d49d,_0x49fc7f),_0x1b0c19=new z()[_0x11b214(0x388)](_0x8a7bac,_0x58f73e),_0x354e4f={'unitId':_0x69aecc,'op':_0x58f73e},_0x443ed0={'unitId':_0x69aecc,'op':_0x1b0c19};return _0x25f137['syncExecuteCommand'](Q['id'],_0x354e4f)?(_0x92d40d['focusUnit'](_0x69aecc),_0x503d85[_0x11b214(0x34a)]({'unitID':_0x69aecc,'undoMutations':[{'id':Q['id'],'params':_0x443ed0}],'redoMutations':[{'id':Q['id'],'params':_0x354e4f}]}),!0x0):!0x1;}},so={'id':_0x5daf81(0x26b),'type':_0x3d059d['COMMAND'],'handler':(_0xeb3d51,_0x4a4efb)=>{const _0x57e6a3=_0x5daf81;if(!_0x4a4efb)return!0x1;let _0x430990=_0xeb3d51[_0x57e6a3(0x315)](_0x364596),{unitId:_0x204763,tableId:_0x380417,name:_0x57d91b}=_0x4a4efb,_0x12f42b=_0x430990[_0x57e6a3(0x1ed)](_0x204763,_0x2ddca0[_0x57e6a3(0x33d)]);if(!_0x12f42b||!$(_0x12f42b,_0x380417)||!Oa(_0x12f42b[_0x57e6a3(0x2f3)](),_0x57d91b,_0x380417)[_0x57e6a3(0x36d)])return!0x1;let _0x4dfc3b=_0xeb3d51['get'](_0x2ca718),_0x343fc6=_0xeb3d51[_0x57e6a3(0x315)](_0x51376c),_0x114236=_0x12f42b[_0x57e6a3(0x2f3)](),_0x4ecc74=new W()[_0x57e6a3(0x3c3)](_0x114236,_0x380417,_0x57d91b),_0x4d654a=new z()['invertOp'](_0x114236,_0x4ecc74),_0x5f3f03={'unitId':_0x204763,'op':_0x4ecc74},_0x2d827b={'unitId':_0x204763,'op':_0x4d654a};return _0x4dfc3b[_0x57e6a3(0x1e6)](Q['id'],_0x5f3f03)?(_0x430990[_0x57e6a3(0x2ac)](_0x204763),_0x343fc6[_0x57e6a3(0x34a)]({'unitID':_0x204763,'undoMutations':[{'id':Q['id'],'params':_0x2d827b}],'redoMutations':[{'id':Q['id'],'params':_0x5f3f03}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x1942c0,_0x45bed5)=>{const _0x2c46bf=_0x5daf81;if(!_0x45bed5)return!0x1;let _0x578d02=_0x1942c0[_0x2c46bf(0x315)](_0x364596),{unitId:_0x3577f7,tableId:_0x5bd51d,viewId:_0xb0c14b,name:_0x15c835}=_0x45bed5,_0x26e558=_0x578d02['getUnit'](_0x3577f7,_0x2ddca0[_0x2c46bf(0x33d)]);if(!_0x26e558||!$(_0x26e558,_0x5bd51d,{'viewIds':[_0xb0c14b]}))return!0x1;let _0x20890a=_0x1942c0[_0x2c46bf(0x315)](_0x2ca718),_0x2b35e1=_0x1942c0['get'](_0x51376c),_0x1580c5=_0x26e558[_0x2c46bf(0x2f3)](),_0x31016e=new W()['renameView'](_0x1580c5,_0x5bd51d,_0xb0c14b,_0x15c835),_0x133bfd=new z()[_0x2c46bf(0x388)](_0x1580c5,_0x31016e),_0x291212={'unitId':_0x3577f7,'op':_0x31016e},_0x57395e={'unitId':_0x3577f7,'op':_0x133bfd};return _0x20890a[_0x2c46bf(0x1e6)](Q['id'],_0x291212)?(_0x578d02[_0x2c46bf(0x2ac)](_0x3577f7),_0x2b35e1[_0x2c46bf(0x34a)]({'unitID':_0x3577f7,'undoMutations':[{'id':Q['id'],'params':_0x57395e}],'redoMutations':[{'id':Q['id'],'params':_0x291212}]}),!0x0):!0x1;}},lo={'id':'base.command.set-base-kanban-group-field','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x3ccddd,_0xa44f79)=>{const _0x29db45=_0x5daf81;if(!_0xa44f79)return!0x1;let _0x4e983b=_0x3ccddd[_0x29db45(0x315)](_0x364596),{unitId:_0x2bd0a4,tableId:_0x4625e2,viewId:_0x40870c,fieldId:_0x37337a}=_0xa44f79,_0x2e184b=_0x4e983b[_0x29db45(0x1ed)](_0x2bd0a4,_0x2ddca0['UNIVER_BASE']);if(!_0x2e184b||!$(_0x2e184b,_0x4625e2,{'viewIds':[_0x40870c],'fieldIds':[_0x37337a]}))return!0x1;let _0x35d8fc=_0x3ccddd[_0x29db45(0x315)](_0x2ca718),_0x3aac46=_0x3ccddd[_0x29db45(0x315)](_0x51376c),_0x166f86=_0x2e184b['getSnapshot'](),_0x4523cc=new W()['updateViewConfig'](_0x166f86,_0x4625e2,_0x40870c,{'groupFieldId':_0x37337a}),_0x4493a3=new z()['invertOp'](_0x166f86,_0x4523cc),_0x4725e2={'unitId':_0x2bd0a4,'op':_0x4523cc},_0x36bfd2={'unitId':_0x2bd0a4,'op':_0x4493a3};return _0x35d8fc['syncExecuteCommand'](Q['id'],_0x4725e2)?(_0x4e983b[_0x29db45(0x2ac)](_0x2bd0a4),_0x3aac46['pushUndoRedo']({'unitID':_0x2bd0a4,'undoMutations':[{'id':Q['id'],'params':_0x36bfd2}],'redoMutations':[{'id':Q['id'],'params':_0x4725e2}]}),!0x0):!0x1;}},uo={'id':_0x5daf81(0x500),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x53104b,_0x4c131c)=>{const _0x1e01e7=_0x5daf81;if(!_0x4c131c)return!0x1;let _0x213842=_0x53104b[_0x1e01e7(0x315)](_0x364596),_0xc883da=_0x213842[_0x1e01e7(0x1ed)](_0x4c131c[_0x1e01e7(0x3cb)],_0x2ddca0[_0x1e01e7(0x33d)]);if(!_0xc883da)return!0x1;let _0x986f5f=_0xc883da['getSnapshot']()['name'];if(_0x986f5f===_0x4c131c['name'])return!0x0;let _0x15b861=new W(),_0x4e9782=new z(),_0x4eb304=[],_0x17c454=[],_0x40d878=[_0xc883da,..._0x213842[_0x1e01e7(0x34d)](_0x2ddca0[_0x1e01e7(0x33d)])[_0x1e01e7(0x32f)](_0xa7efe2=>_0xa7efe2[_0x1e01e7(0x506)]()!==_0x4c131c['unitId'])];for(let _0x94a987 of _0x40d878){let _0x83539b=_0x94a987[_0x1e01e7(0x2f3)](),_0x5bf8fb=_0x94a987===_0xc883da?_0x15b861['setBaseName'](_0x83539b,_0x4c131c['name']):_0x15b861[_0x1e01e7(0x1e5)](_0x83539b,_0x986f5f,_0x4c131c[_0x1e01e7(0x322)]);_0x5bf8fb&&(_0x4eb304['push']({'id':Q['id'],'params':{'unitId':_0x94a987[_0x1e01e7(0x506)](),'op':_0x5bf8fb,'trigger':uo['id']}}),_0x17c454[_0x1e01e7(0x2d9)]({'id':Q['id'],'params':{'unitId':_0x94a987['getUnitId'](),'op':_0x4e9782['invertOp'](_0x83539b,_0x5bf8fb),'trigger':uo['id']}}));}let _0x24216d=_0x53104b[_0x1e01e7(0x315)](_0x2ca718),_0x1d7b77=_0x53104b[_0x1e01e7(0x315)](_0x51376c),_0x4df8fe=_0x1d7b77['__tempBatchingUndoRedo'](_0x4c131c[_0x1e01e7(0x3cb)]);try{return _0x557e96(_0x4eb304,_0x24216d)[_0x1e01e7(0x254)]?(_0x213842['focusUnit'](_0x4c131c[_0x1e01e7(0x3cb)]),_0x1d7b77[_0x1e01e7(0x34a)]({'unitID':_0x4c131c['unitId'],'undoMutations':_0x17c454,'redoMutations':_0x4eb304}),!0x0):!0x1;}finally{_0x4df8fe['dispose']();}}},fo={'type':_0x3d059d[_0x5daf81(0x44b)],'id':'base.command.set-permission',async 'handler'(_0x3db335,_0x2a4adb){const _0x56367e=_0x5daf81;if(!_0x2a4adb||!Tr[_0x56367e(0x4f9)](_0x2a4adb[_0x56367e(0x351)])||_0x2a4adb[_0x56367e(0x3d2)]!==_0x2a4adb[_0x56367e(0x3cb)]&&_0x2a4adb['action']!==_0x44dc45['Edit']||_0x2a4adb[_0x56367e(0x295)]&&(![_0x56367e(0x273),_0x56367e(0x55f),_0x56367e(0x259)][_0x56367e(0x4f9)](_0x2a4adb[_0x56367e(0x295)][_0x56367e(0x218)])||_0x2a4adb[_0x56367e(0x295)]['strategies'][_0x56367e(0x387)](_0x42e14b=>!Tr[_0x56367e(0x4f9)](_0x42e14b['action'])||_0x2a4adb[_0x56367e(0x3d2)]!==_0x2a4adb[_0x56367e(0x3cb)]&&_0x42e14b[_0x56367e(0x351)]!==_0x44dc45[_0x56367e(0x555)])))return!0x1;let _0xc9503a=Pr(_0x2a4adb[_0x56367e(0x3cb)],_0x2a4adb['objectId'],_0x2a4adb[_0x56367e(0x351)]),_0x126b98={'unitId':_0x2a4adb['unitId'],'objectId':_0x2a4adb['objectId'],'objectType':_0xc9503a[_0x56367e(0x305)]},_0xe6c342=_0x3db335['get'](_0x2cff1c);return _0x2a4adb[_0x56367e(0x491)]?await _0xe6c342[_0x56367e(0x491)](_0x126b98):_0x2a4adb[_0x56367e(0x295)]?await _0xe6c342[_0x56367e(0x4a9)](_0x126b98,_0x2a4adb[_0x56367e(0x295)]):await _0xe6c342['setPoint'](_0x126b98,_0xc9503a,_0x2a4adb['value']),!0x0;}},po={'type':_0x3d059d[_0x5daf81(0x44b)],'id':_0x5daf81(0x324),async 'handler'(_0x1de4e1,_0x49badb){const _0xa70696=_0x5daf81;if(!(_0x49badb!=null&&_0x49badb[_0xa70696(0x3cb)])||!Array[_0xa70696(0x31e)](_0x49badb[_0xa70696(0x465)])||!_0x49badb[_0xa70696(0x465)]['length']||_0x49badb[_0xa70696(0x465)][_0xa70696(0x387)](_0x3698a8=>!(_0x3698a8!=null&&_0x3698a8['objectId'])||_0x3698a8['objectId']===_0x49badb[_0xa70696(0x3cb)]||_0x3698a8['policy']!==null&&(!_0x3698a8[_0xa70696(0x295)]||![_0xa70696(0x273),_0xa70696(0x55f),_0xa70696(0x259)][_0xa70696(0x4f9)](_0x3698a8['policy'][_0xa70696(0x218)])||!Array[_0xa70696(0x31e)](_0x3698a8[_0xa70696(0x295)][_0xa70696(0x335)])||!Array[_0xa70696(0x31e)](_0x3698a8['policy']['strategies'])||_0x3698a8[_0xa70696(0x295)][_0xa70696(0x4c5)][_0xa70696(0x387)](_0x1d4c72=>_0x1d4c72['action']!==_0x44dc45[_0xa70696(0x555)]))))throw Error(_0xa70696(0x355));return _0x1de4e1[_0xa70696(0x315)](_0x2cff1c)['saveMany'](_0x49badb[_0xa70696(0x465)][_0xa70696(0x2b0)](_0x218c29=>{const _0x53d387=_0xa70696;let _0x5c3c41=Pr(_0x49badb[_0x53d387(0x3cb)],_0x218c29['objectId'],_0x44dc45[_0x53d387(0x555)]);return{'unitId':_0x49badb['unitId'],'objectId':_0x218c29['objectId'],'objectType':_0x5c3c41['type'],'policy':_0x218c29['policy']};}));}};function mo(_0xf4018f,_0x5df24c){const _0x45ec4e=_0x5daf81;let _0x448bf4=L(_0x9abbbc[_0x45ec4e(0x28e)](_0xf4018f)),_0x2ca971=new Map();return _0x5df24c[_0x45ec4e(0x429)](_0x3b3f95=>{const _0x3c411f=_0x45ec4e;var _0x479679,_0x21b254;let _0x21a5fd='recordId'in _0x3b3f95?_0x3b3f95[_0x3c411f(0x1c6)]:(_0x479679=_0x448bf4['rowId'])==null?void 0x0:_0x479679[_0x3b3f95['row']],_0x314f68=_0x3c411f(0x4a1)in _0x3b3f95?_0x3b3f95[_0x3c411f(0x4a1)]:(_0x21b254=_0x448bf4[_0x3c411f(0x33c)])==null?void 0x0:_0x21b254[_0x3b3f95['col']],_0x5cb051=_0x314f68?_0x448bf4[_0x3c411f(0x503)][_0x314f68]:void 0x0;if(!_0x21a5fd||!_0x314f68||!_0x5cb051||!_0x448bf4[_0x3c411f(0x43a)][_0x21a5fd])return;let _0x3e00ca=xt(_0x3b3f95[_0x3c411f(0x3fd)],_0x5cb051),_0x2ede70=wt(_0x3b3f95[_0x3c411f(0x3fd)],_0x3e00ca,_0x5cb051,_0x448bf4,_0x21a5fd),_0xc6d7a6=_0x2ca971[_0x3c411f(0x315)](_0x21a5fd)??{};_0xc6d7a6[_0x314f68]=_0x2ede70,_0x2ca971[_0x3c411f(0x1ba)](_0x21a5fd,_0xc6d7a6);}),[..._0x2ca971][_0x45ec4e(0x2b0)](([_0x437767,_0x528c63])=>({'recordId':_0x437767,'values':_0x528c63}));}const ho={'id':_0x5daf81(0x1db),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x598153,_0x1ea2ee){const _0x1ed67e=_0x5daf81;if(!_0x1ea2ee)return!0x1;let _0x290c49=_0x598153[_0x1ed67e(0x315)](_0x364596),{unitId:_0x483f12,tableId:_0x2eb0cb,patches:_0x5d9b5a}=_0x1ea2ee,_0x12e7b8=_0x290c49[_0x1ed67e(0x1ed)](_0x483f12,_0x2ddca0[_0x1ed67e(0x33d)]);if(!_0x12e7b8||!$(_0x12e7b8,_0x2eb0cb))return!0x1;let _0x2d8b26=_0x598153['get'](_0x2ca718),_0x6373fc=_0x598153['get'](_0x51376c),_0x677fd=_0x12e7b8[_0x1ed67e(0x2f3)](),_0x5209c3=L(_0x677fd[_0x1ed67e(0x2f7)][_0x2eb0cb]),_0x21bb9b=_0x5d9b5a[_0x1ed67e(0x2b0)](_0x5aca1d=>{const _0x344c04=_0x1ed67e;var _0x598136;return _0x344c04(0x1c6)in _0x5aca1d?_0x5aca1d['recordId']:(_0x598136=_0x5209c3[_0x344c04(0x1ec)])==null?void 0x0:_0x598136[_0x5aca1d['row']];})[_0x1ed67e(0x32f)](_0x4c8795=>_0x4c8795!=null),_0x2d79ad=_0x5d9b5a[_0x1ed67e(0x2b0)](_0x315178=>{const _0x19ceb2=_0x1ed67e;var _0x43f20f;return'fieldId'in _0x315178?_0x315178[_0x19ceb2(0x4a1)]:(_0x43f20f=_0x5209c3[_0x19ceb2(0x33c)])==null?void 0x0:_0x43f20f[_0x315178[_0x19ceb2(0x2f0)]];})[_0x1ed67e(0x32f)](_0x4bfd32=>_0x4bfd32!=null);if(_0x21bb9b[_0x1ed67e(0x21d)]!==_0x5d9b5a[_0x1ed67e(0x21d)]||_0x2d79ad['length']!==_0x5d9b5a[_0x1ed67e(0x21d)]||!$(_0x12e7b8,_0x2eb0cb,{'recordIds':_0x21bb9b,'fieldIds':_0x2d79ad})||_0x5d9b5a[_0x1ed67e(0x387)]((_0x425620,_0x1bba94)=>!ga(_0x12e7b8,_0x2eb0cb,_0x2d79ad[_0x1bba94],_0x425620[_0x1ed67e(0x3fd)])))return!0x1;let _0x302f76=Ze(_0x5209c3,mo(_0x5209c3,_0x5d9b5a)),_0x5e7a9e=_0x5d9b5a[_0x1ed67e(0x36c)](_0x80eec1=>{const _0x3e3e07=_0x1ed67e;var _0x5d2d16,_0x250f9c;if('row'in _0x80eec1)return[_0x80eec1];let _0x3c71f2=(_0x5d2d16=_0x5209c3['rowIndex'])==null?void 0x0:_0x5d2d16[_0x80eec1['recordId']],_0x4cb990=(_0x250f9c=_0x5209c3[_0x3e3e07(0x3b9)])==null?void 0x0:_0x250f9c[_0x80eec1[_0x3e3e07(0x4a1)]];return _0x3c71f2==null||_0x4cb990==null?[]:[{'row':_0x3c71f2,'col':_0x4cb990,'value':_0x80eec1[_0x3e3e07(0x3fd)]}];}),_0x186a3a=new W()[_0x1ed67e(0x1d7)](_0x677fd,_0x2eb0cb,_0x5e7a9e),_0x28064e=new z()['invertOp'](_0x677fd,_0x186a3a),_0x5e47df={'unitId':_0x483f12,'op':_0x186a3a,'trigger':_0x302f76[_0x1ed67e(0x21d)]?ho['id']:void 0x0,'hierarchyChanges':_0x302f76['length']?_0x302f76:void 0x0,'source':_0x302f76['length']?_0x1ed67e(0x424):void 0x0},_0x427b80={'unitId':_0x483f12,'op':_0x28064e,'trigger':_0x302f76['length']?ho['id']:void 0x0,'hierarchyChanges':_0x302f76[_0x1ed67e(0x21d)]?_0x302f76[_0x1ed67e(0x2b0)](_0x9b6e54=>({..._0x9b6e54,'oldParentRecordId':_0x9b6e54[_0x1ed67e(0x419)],'parentRecordId':_0x9b6e54[_0x1ed67e(0x266)]})):void 0x0,'source':_0x302f76[_0x1ed67e(0x21d)]?_0x1ed67e(0x3a8):void 0x0},_0x426817={..._0x5e47df,'source':_0x302f76[_0x1ed67e(0x21d)]?_0x1ea2ee[_0x1ed67e(0x1e1)]??'ui':void 0x0};return _0x2d8b26[_0x1ed67e(0x1e6)](Q['id'],_0x426817)?(_0x290c49[_0x1ed67e(0x2ac)](_0x483f12),_0x6373fc[_0x1ed67e(0x34a)]({'unitID':_0x483f12,'undoMutations':[{'id':Q['id'],'params':_0x427b80}],'redoMutations':[{'id':Q['id'],'params':_0x5e47df}]}),!0x0):!0x1;}},go={'id':'base.command.set-base-record-values','type':_0x3d059d['COMMAND'],'handler'(_0x3a1675,_0x40de88){const _0x59bf18=_0x5daf81;if(!_0x40de88)return!0x1;let _0x30da42=_0x3a1675[_0x59bf18(0x315)](_0x364596),{unitId:_0x411959,tableId:_0x1c71a8,patches:_0x52d514}=_0x40de88,_0x3913b1=_0x30da42[_0x59bf18(0x1ed)](_0x411959,_0x2ddca0[_0x59bf18(0x33d)]),_0x3f472c=_0x52d514[_0x59bf18(0x2b0)](_0x557ca1=>_0x557ca1[_0x59bf18(0x1c6)]),_0xbc8561=_0x52d514[_0x59bf18(0x36c)](_0x3ef086=>Object['keys'](_0x3ef086['values']));if(!_0x3913b1||!$(_0x3913b1,_0x1c71a8,{'recordIds':_0x3f472c,'fieldIds':_0xbc8561})||_0x52d514[_0x59bf18(0x387)](_0x3abfd7=>Object[_0x59bf18(0x2e4)](_0x3abfd7[_0x59bf18(0x45b)])[_0x59bf18(0x387)](([_0x2aaa21,_0x3d9714])=>!ga(_0x3913b1,_0x1c71a8,_0x2aaa21,_0x3d9714))))return!0x1;let _0x5fcd35=Ze(_0x3913b1[_0x59bf18(0x2f3)]()[_0x59bf18(0x2f7)][_0x1c71a8],_0x52d514),_0x54e2ee=_0x3a1675[_0x59bf18(0x315)](_0x2ca718),_0x185ef4=_0x3a1675['get'](_0x51376c),_0x4505fb=_0x3a1675['get'](Kr)['createSetRecordValuesOp'](_0x3913b1,_0x1c71a8,_0x52d514),_0x540b57=new z()[_0x59bf18(0x388)](_0x3913b1['getSnapshot'](),_0x4505fb),_0x3debaa={'unitId':_0x411959,'op':_0x4505fb,'trigger':_0x5fcd35[_0x59bf18(0x21d)]?go['id']:void 0x0,'hierarchyChanges':_0x5fcd35[_0x59bf18(0x21d)]?_0x5fcd35:void 0x0,'source':_0x5fcd35[_0x59bf18(0x21d)]?_0x40de88[_0x59bf18(0x1e1)]??'ui':void 0x0},_0x5e3c28={..._0x3debaa,'source':_0x5fcd35['length']?_0x59bf18(0x424):void 0x0},_0x752e1b={'unitId':_0x411959,'op':_0x540b57,'trigger':_0x5fcd35['length']?go['id']:void 0x0,'hierarchyChanges':_0x5fcd35[_0x59bf18(0x21d)]?_0x5fcd35[_0x59bf18(0x2b0)](_0x2e4ec9=>({..._0x2e4ec9,'oldParentRecordId':_0x2e4ec9[_0x59bf18(0x419)],'parentRecordId':_0x2e4ec9[_0x59bf18(0x266)]})):void 0x0,'source':_0x5fcd35[_0x59bf18(0x21d)]?_0x59bf18(0x3a8):void 0x0};return _0x54e2ee['syncExecuteCommand'](Q['id'],_0x3debaa)?(_0x30da42['focusUnit'](_0x411959),_0x185ef4[_0x59bf18(0x34a)]({'unitID':_0x411959,'undoMutations':[{'id':Q['id'],'params':_0x752e1b}],'redoMutations':[{'id':Q['id'],'params':_0x5e3c28}]}),!0x0):!0x1;}},_o={'id':_0x5daf81(0x316),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0xfbb829,_0x1e6fee)=>{const _0x5d2fad=_0x5daf81;if(!_0x1e6fee)return!0x1;let {unitId:_0x5af755,tableId:_0xbf7a2a,fieldId:_0x1490a1}=_0x1e6fee,_0x3323f6=_0xfbb829['get'](_0x364596),_0x11f4fc=_0x3323f6[_0x5d2fad(0x1ed)](_0x5af755,_0x2ddca0[_0x5d2fad(0x33d)]);if(!_0x11f4fc||!$(_0x11f4fc,_0xbf7a2a))return!0x1;let _0x5c1ecc=_0x11f4fc[_0x5d2fad(0x2f3)](),_0x1422df=_0x5c1ecc[_0x5d2fad(0x2f7)][_0xbf7a2a];if(_0x1490a1!==null&&!F(_0x1422df,_0x1490a1))throw new P(_0x5d2fad(0x48a));if(qe(_0x1422df)===_0x1490a1)return!0x0;let _0x1de124=new W(),_0x27b265=R(Object[_0x5d2fad(0x45b)](_0x1422df[_0x5d2fad(0x503)])[_0x5d2fad(0x36c)](_0x1e4147=>{const _0x39561b=_0x5d2fad;if(!F(_0x1422df,_0x1e4147['id']))return[];let _0x41cb04=N(_0x1e4147);if(!_0x41cb04)return[];let _0xe12c23=_0x1e4147['id']===_0x1490a1;if(_0x41cb04['relationRole']===_0x1d1c88[_0x39561b(0x3fa)]===_0xe12c23)return[];let _0x2b3c50={..._0x1e4147[_0x39561b(0x396)],'targetTableId':_0x41cb04[_0x39561b(0x337)],'multiple':_0x41cb04[_0x39561b(0x3bd)]};return _0xe12c23?_0x2b3c50[_0x39561b(0x33e)]=_0x1d1c88[_0x39561b(0x3fa)]:delete _0x2b3c50[_0x39561b(0x33e)],[_0x1de124[_0x39561b(0x23d)](_0x5c1ecc,_0xbf7a2a,_0x1e4147['id'],{'config':_0x2b3c50})];})),_0x26b577=new z()[_0x5d2fad(0x388)](_0x5c1ecc,_0x27b265),_0x3f0af6={'unitId':_0x5af755,'op':_0x27b265},_0x37f5be={'unitId':_0x5af755,'op':_0x26b577};return _0xfbb829[_0x5d2fad(0x315)](_0x2ca718)['syncExecuteCommand'](Q['id'],_0x3f0af6)?(_0x3323f6[_0x5d2fad(0x2ac)](_0x5af755),_0xfbb829['get'](_0x51376c)[_0x5d2fad(0x34a)]({'unitID':_0x5af755,'undoMutations':[{'id':Q['id'],'params':_0x37f5be}],'redoMutations':[{'id':Q['id'],'params':_0x3f0af6}]}),!0x0):!0x1;}},vo={'id':_0x5daf81(0x210),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x2b1b85,_0x21ae90)=>{const _0x2c1160=_0x5daf81;if(!_0x21ae90)return!0x1;let _0x33b7ae=_0x2b1b85['get'](_0x364596),{unitId:_0x31acbf,tableId:_0x458ef3,viewId:_0x3694d7,fieldId:_0x1181e2,target:_0x5d5f03}=_0x21ae90,_0x57d848=_0x33b7ae[_0x2c1160(0x1ed)](_0x31acbf,_0x2ddca0[_0x2c1160(0x33d)]),_0x5d234e=_0x5d5f03['beforeFieldId']??_0x5d5f03['afterFieldId'];if(!_0x57d848||!_0x5d234e||_0x5d234e===_0x1181e2||!$(_0x57d848,_0x458ef3,{'viewIds':[_0x3694d7],'fieldIds':[_0x1181e2,_0x5d234e]}))return!0x1;let _0x373581=_0x57d848[_0x2c1160(0x2f3)]()['tables'][_0x458ef3],_0x174d21=_0x373581[_0x2c1160(0x503)][_0x1181e2],_0x5e30d6=_0x373581[_0x2c1160(0x503)][_0x5d234e];if(_0x174d21['system']===!0x0||_0x174d21[_0x2c1160(0x305)]===_0x618ba[_0x2c1160(0x28f)]||_0x5e30d6['system']===!0x0||_0x5e30d6['type']===_0x618ba[_0x2c1160(0x28f)])return!0x1;let _0x378141=_0x2b1b85[_0x2c1160(0x315)](_0x2ca718),_0x56b7e8=_0x2b1b85[_0x2c1160(0x315)](_0x51376c),_0x30f971=_0x57d848[_0x2c1160(0x2f3)](),_0xc9cbb9=new W()[_0x2c1160(0x511)](_0x30f971,_0x458ef3,_0x3694d7,_0x1181e2,_0x5d5f03),_0x49fe7c=new z()[_0x2c1160(0x388)](_0x30f971,_0xc9cbb9),_0x2a07f0={'unitId':_0x31acbf,'op':_0xc9cbb9},_0x50b219={'unitId':_0x31acbf,'op':_0x49fe7c};return _0x378141[_0x2c1160(0x1e6)](Q['id'],_0x2a07f0)?(_0x33b7ae['focusUnit'](_0x31acbf),_0x56b7e8['pushUndoRedo']({'unitID':_0x31acbf,'undoMutations':[{'id':Q['id'],'params':_0x50b219}],'redoMutations':[{'id':Q['id'],'params':_0x2a07f0}]}),!0x0):!0x1;}},yo={'id':_0x5daf81(0x2a0),'type':_0x3d059d['COMMAND'],'handler'(_0x50c2ae,_0x58a98c){const _0x4ca3a0=_0x5daf81;if(!_0x58a98c)return!0x1;let _0x452d87=_0x50c2ae[_0x4ca3a0(0x315)](_0x364596),{unitId:_0x5ac077,tableId:_0x4e0f97,viewId:_0x31f9dc,fieldId:_0x3def5b,visible:_0x6a9311}=_0x58a98c,_0x788dcf=_0x452d87[_0x4ca3a0(0x1ed)](_0x5ac077,_0x2ddca0[_0x4ca3a0(0x33d)]);if(!_0x788dcf||!$(_0x788dcf,_0x4e0f97,{'viewIds':[_0x31f9dc],'fieldIds':[_0x3def5b]}))return!0x1;let _0x38f430=_0x788dcf[_0x4ca3a0(0x2f3)]()['tables'][_0x4e0f97]['fields'][_0x3def5b];if(_0x38f430[_0x4ca3a0(0x3db)]===!0x0||_0x38f430[_0x4ca3a0(0x305)]===_0x618ba[_0x4ca3a0(0x28f)])return!0x1;let _0x48242d=_0x50c2ae[_0x4ca3a0(0x315)](_0x2ca718),_0x3580fe=_0x50c2ae[_0x4ca3a0(0x315)](_0x51376c),_0x450999=_0x788dcf[_0x4ca3a0(0x2f3)](),_0xaba682=new W()[_0x4ca3a0(0x44d)](_0x450999,_0x4e0f97,_0x31f9dc,_0x3def5b,_0x6a9311),_0x4a4581=new z()[_0x4ca3a0(0x388)](_0x450999,_0xaba682),_0x3d9cc6={'unitId':_0x5ac077,'op':_0xaba682},_0x1fe966={'unitId':_0x5ac077,'op':_0x4a4581};return _0x48242d[_0x4ca3a0(0x1e6)](Q['id'],_0x3d9cc6)?(_0x452d87['focusUnit'](_0x5ac077),_0x3580fe[_0x4ca3a0(0x34a)]({'unitID':_0x5ac077,'undoMutations':[{'id':Q['id'],'params':_0x1fe966}],'redoMutations':[{'id':Q['id'],'params':_0x3d9cc6}]}),!0x0):!0x1;}},bo={'id':_0x5daf81(0x297),'type':_0x3d059d['COMMAND'],'handler':(_0xce2abe,_0x1e8e65)=>{const _0x55868d=_0x5daf81;if(!_0x1e8e65)return!0x1;let _0x38da5e=_0xce2abe[_0x55868d(0x315)](_0x364596),{unitId:_0x263763,tableId:_0x265bcb,viewId:_0x3b76b5,fieldId:_0x4dd3be,width:_0x4c6169}=_0x1e8e65,_0x266610=_0x38da5e[_0x55868d(0x1ed)](_0x263763,_0x2ddca0[_0x55868d(0x33d)]);if(!_0x266610||!$(_0x266610,_0x265bcb,{'viewIds':[_0x3b76b5],'fieldIds':[_0x4dd3be]}))return!0x1;let _0x202aa7=_0x266610[_0x55868d(0x2f3)]()[_0x55868d(0x2f7)][_0x265bcb][_0x55868d(0x503)][_0x4dd3be];if(_0x202aa7[_0x55868d(0x3db)]===!0x0||_0x202aa7[_0x55868d(0x305)]===_0x618ba[_0x55868d(0x28f)])return!0x1;let _0x11f0bf=_0xce2abe[_0x55868d(0x315)](_0x2ca718),_0x4381ea=_0xce2abe[_0x55868d(0x315)](_0x51376c),_0x4c0fde=_0x266610[_0x55868d(0x2f3)](),_0x5a6340=new W()[_0x55868d(0x41a)](_0x4c0fde,_0x265bcb,_0x3b76b5,_0x4dd3be,_0x4c6169),_0xf962db=new z()['invertOp'](_0x4c0fde,_0x5a6340),_0xa77f01={'unitId':_0x263763,'op':_0x5a6340},_0x34d138={'unitId':_0x263763,'op':_0xf962db};return _0x11f0bf[_0x55868d(0x1e6)](Q['id'],_0xa77f01)?(_0x38da5e[_0x55868d(0x2ac)](_0x263763),_0x4381ea[_0x55868d(0x34a)]({'unitID':_0x263763,'undoMutations':[{'id':Q['id'],'params':_0x34d138}],'redoMutations':[{'id':Q['id'],'params':_0xa77f01}]}),!0x0):!0x1;}},xo={'id':_0x5daf81(0x20d),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x21ab5e,_0x39c28d)=>{const _0x4da41a=_0x5daf81;if(!_0x39c28d)return!0x1;let _0x2c636e=_0x21ab5e[_0x4da41a(0x315)](_0x364596),{unitId:_0x1f9970,tableId:_0x3d9e03,viewId:_0xa4aa8d,filter:_0x4e3295}=_0x39c28d,_0x381503=_0x2c636e['getUnit'](_0x1f9970,_0x2ddca0[_0x4da41a(0x33d)]),_0x212b02=(_0x4e3295==null?void 0x0:_0x4e3295['conditions'][_0x4da41a(0x2b0)](_0x1d14ce=>_0x1d14ce[_0x4da41a(0x4a1)]))??[];if(!_0x381503||!$(_0x381503,_0x3d9e03,{'viewIds':[_0xa4aa8d],'fieldIds':_0x212b02}))return!0x1;let _0x54408e=_0x21ab5e[_0x4da41a(0x315)](_0x2ca718),_0x321132=_0x21ab5e['get'](_0x51376c),_0x3feb72=_0x381503[_0x4da41a(0x2f3)](),_0x703608=new W()[_0x4da41a(0x4ea)](_0x3feb72,_0x3d9e03,_0xa4aa8d,_0x4e3295),_0x5b330e=new z()['invertOp'](_0x3feb72,_0x703608),_0x4c3a13={'unitId':_0x1f9970,'op':_0x703608},_0x3b10da={'unitId':_0x1f9970,'op':_0x5b330e};return _0x54408e[_0x4da41a(0x1e6)](Q['id'],_0x4c3a13)?(_0x2c636e[_0x4da41a(0x2ac)](_0x1f9970),_0x321132['pushUndoRedo']({'unitID':_0x1f9970,'undoMutations':[{'id':Q['id'],'params':_0x3b10da}],'redoMutations':[{'id':Q['id'],'params':_0x4c3a13}]}),!0x0):!0x1;}},So={'id':_0x5daf81(0x523),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x59b5f0,_0x2a653f)=>{const _0x6574a9=_0x5daf81;if(!_0x2a653f)return!0x1;let _0x4ff693=_0x59b5f0[_0x6574a9(0x315)](_0x364596),{unitId:_0x809a9f,tableId:_0x4389fc,viewId:_0x3e223c,group:_0x5f29da}=_0x2a653f,_0x484f87=_0x4ff693['getUnit'](_0x809a9f,_0x2ddca0['UNIVER_BASE']);if(!_0x484f87||!$(_0x484f87,_0x4389fc,{'viewIds':[_0x3e223c],'fieldIds':_0x5f29da[_0x6574a9(0x2b0)](_0x23ce49=>_0x23ce49[_0x6574a9(0x4a1)])}))return!0x1;let _0x40e902=_0x59b5f0[_0x6574a9(0x315)](_0x2ca718),_0xd08be=_0x59b5f0[_0x6574a9(0x315)](_0x51376c),_0x283884=_0x484f87['getSnapshot'](),_0x162753=new W()[_0x6574a9(0x40b)](_0x283884,_0x4389fc,_0x3e223c,_0x5f29da),_0x3ee8d8=new z()[_0x6574a9(0x388)](_0x283884,_0x162753),_0x5c5106={'unitId':_0x809a9f,'op':_0x162753},_0x1a974f={'unitId':_0x809a9f,'op':_0x3ee8d8};return _0x40e902[_0x6574a9(0x1e6)](Q['id'],_0x5c5106)?(_0x4ff693[_0x6574a9(0x2ac)](_0x809a9f),_0xd08be['pushUndoRedo']({'unitID':_0x809a9f,'undoMutations':[{'id':Q['id'],'params':_0x1a974f}],'redoMutations':[{'id':Q['id'],'params':_0x5c5106}]}),!0x0):!0x1;}},Co={'id':_0x5daf81(0x4b9),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x9e5bfa,_0x2f39f0)=>{const _0x17bcf1=_0x5daf81;if(!_0x2f39f0)return!0x1;let _0x58107d=_0x9e5bfa[_0x17bcf1(0x315)](_0x364596),{unitId:_0x5d4ed0,tableId:_0x532fad,viewId:_0x1fd615,sort:_0x591362}=_0x2f39f0,_0x11aa2d=_0x58107d[_0x17bcf1(0x1ed)](_0x5d4ed0,_0x2ddca0[_0x17bcf1(0x33d)]);if(!_0x11aa2d||!$(_0x11aa2d,_0x532fad,{'viewIds':[_0x1fd615],'fieldIds':_0x591362[_0x17bcf1(0x2b0)](_0x1c13fb=>_0x1c13fb[_0x17bcf1(0x4a1)])}))return!0x1;let _0x225d13=_0x9e5bfa[_0x17bcf1(0x315)](_0x2ca718),_0xae8e14=_0x9e5bfa['get'](_0x51376c),_0x2c37e8=_0x11aa2d['getSnapshot'](),_0x524975=new W()[_0x17bcf1(0x367)](_0x2c37e8,_0x532fad,_0x1fd615,_0x591362),_0x222a0f=new z()[_0x17bcf1(0x388)](_0x2c37e8,_0x524975),_0x482695={'unitId':_0x5d4ed0,'op':_0x524975},_0x253778={'unitId':_0x5d4ed0,'op':_0x222a0f};return _0x225d13[_0x17bcf1(0x1e6)](Q['id'],_0x482695)?(_0x58107d[_0x17bcf1(0x2ac)](_0x5d4ed0),_0xae8e14[_0x17bcf1(0x34a)]({'unitID':_0x5d4ed0,'undoMutations':[{'id':Q['id'],'params':_0x253778}],'redoMutations':[{'id':Q['id'],'params':_0x482695}]}),!0x0):!0x1;}},wo={'id':_0x5daf81(0x420),'type':_0x3d059d['COMMAND'],'handler'(_0x399208,_0x1cb84c){const _0x80c7d2=_0x5daf81;if(!_0x1cb84c)return!0x1;let _0x5e73b5=_0x399208[_0x80c7d2(0x315)](_0x364596),{unitId:_0x4d04bb,tableId:_0x101b7d,recordId:_0x2af820,fieldId:_0x48e80c,value:_0x155b66}=_0x1cb84c,_0x323932=_0x5e73b5[_0x80c7d2(0x1ed)](_0x4d04bb,_0x2ddca0[_0x80c7d2(0x33d)]);if(!_0x323932||!$(_0x323932,_0x101b7d,{'recordIds':[_0x2af820],'fieldIds':[_0x48e80c]})||!ga(_0x323932,_0x101b7d,_0x48e80c,_0x155b66))return!0x1;let _0x5d0f4a=_0x323932[_0x80c7d2(0x2f3)]()[_0x80c7d2(0x2f7)][_0x101b7d],_0xcb3a7a=F(_0x5d0f4a,_0x48e80c)&&Xe(_0x5d0f4a)[_0x80c7d2(0x4f9)](_0x48e80c),_0x1f4e76=_0xcb3a7a?tt(_0x5d0f4a,_0x48e80c):null,_0x70fcce=(_0x1f4e76==null?void 0x0:_0x1f4e76['parentByRecordId'][_0x80c7d2(0x315)](_0x2af820))??null,_0x51bb96=_0xcb3a7a?Le(_0x155b66)[0x0]??null:null;if(_0x1f4e76){if(_0x51bb96&&!_0x5d0f4a['records'][_0x51bb96])throw new P(_0x80c7d2(0x3e8));let _0x384aef=it(_0x1f4e76,_0x2af820,_0x51bb96);if(!_0x384aef[_0x80c7d2(0x36d)])throw new P(_0x384aef[_0x80c7d2(0x483)]===_0x335882[_0x80c7d2(0x1fe)]?_0x80c7d2(0x343):_0x384aef[_0x80c7d2(0x483)]===_0x335882['Cycle']?_0x80c7d2(0x2a5):_0x80c7d2(0x25b));}let _0x288fa0=_0x399208[_0x80c7d2(0x315)](_0x2ca718),_0xb4b17c=_0x399208[_0x80c7d2(0x315)](_0x51376c),_0x2266d6=_0x399208[_0x80c7d2(0x315)](Kr),_0x3d8222;try{_0x3d8222=_0x2266d6[_0x80c7d2(0x46c)](_0x323932,_0x101b7d,_0x2af820,_0x48e80c,_0x155b66);}catch(_0x1a7c59){return console[_0x80c7d2(0x51c)](_0x80c7d2(0x3f8),_0x1a7c59),!0x1;}let _0x4ea736=new z()[_0x80c7d2(0x388)](_0x323932[_0x80c7d2(0x2f3)](),_0x3d8222),_0x53a82e=_0xcb3a7a&&_0x70fcce!==_0x51bb96?[{'tableId':_0x101b7d,'fieldId':_0x48e80c,'recordId':_0x2af820,'oldParentRecordId':_0x70fcce,'parentRecordId':_0x51bb96}]:void 0x0,_0x320084={'unitId':_0x4d04bb,'op':_0x3d8222,'trigger':_0x53a82e?wo['id']:void 0x0,'hierarchyChanges':_0x53a82e,'source':_0x53a82e?_0x1cb84c['source']??'ui':void 0x0},_0xf5119={..._0x320084,'source':_0x53a82e?'redo':void 0x0},_0xd42434={'unitId':_0x4d04bb,'op':_0x4ea736,'trigger':_0x53a82e?wo['id']:void 0x0,'hierarchyChanges':_0x53a82e==null?void 0x0:_0x53a82e['map'](_0x339de8=>({..._0x339de8,'oldParentRecordId':_0x339de8[_0x80c7d2(0x419)],'parentRecordId':_0x339de8[_0x80c7d2(0x266)]})),'source':_0x53a82e?_0x80c7d2(0x3a8):void 0x0};return _0x288fa0[_0x80c7d2(0x1e6)](Q['id'],_0x320084)?(_0x5e73b5[_0x80c7d2(0x49c)]()||_0x5e73b5[_0x80c7d2(0x2ac)](_0x4d04bb),_0xb4b17c[_0x80c7d2(0x34a)]({'unitID':_0x4d04bb,'undoMutations':[{'id':Q['id'],'params':_0xd42434}],'redoMutations':[{'id':Q['id'],'params':_0xf5119}]}),!0x0):!0x1;}},To={'id':_0x5daf81(0x23f),'type':_0x3d059d['COMMAND'],'handler'(_0x13cbdb,_0x5c7483){const _0x5a3efd=_0x5daf81;if(!_0x5c7483)return!0x1;let _0x335417=_0x13cbdb['get'](_0x364596),{unitId:_0x5a31c7,tableId:_0x4af180,fieldId:_0x2361f3}=_0x5c7483,_0x47fcc3=_0x335417[_0x5a3efd(0x1ed)](_0x5a31c7,_0x2ddca0[_0x5a3efd(0x33d)]);if(!_0x47fcc3||!$(_0x47fcc3,_0x4af180,{'fieldIds':[_0x2361f3]}))return!0x1;let _0x28516e=_0x13cbdb[_0x5a3efd(0x315)](_0x2ca718),_0x43f18b=_0x13cbdb[_0x5a3efd(0x315)](_0x51376c),_0x22b715=_0x47fcc3[_0x5a3efd(0x2f3)](),_0x2eced1=_0x5c7483[_0x5a3efd(0x4e0)][_0x5a3efd(0x3a5)](),_0x1f8452=new W()[_0x5a3efd(0x23d)](_0x22b715,_0x4af180,_0x2361f3,{'description':_0x2eced1}),_0x2be4b0=new z()[_0x5a3efd(0x388)](_0x47fcc3[_0x5a3efd(0x2f3)](),_0x1f8452),_0x28a81e={'unitId':_0x5a31c7,'op':_0x1f8452},_0x4686db={'unitId':_0x5a31c7,'op':_0x2be4b0};return _0x28516e[_0x5a3efd(0x1e6)](Q['id'],_0x28a81e)?(_0x335417[_0x5a3efd(0x2ac)](_0x5a31c7),_0x43f18b[_0x5a3efd(0x34a)]({'unitID':_0x5a31c7,'undoMutations':[{'id':Q['id'],'params':_0x4686db}],'redoMutations':[{'id':Q['id'],'params':_0x28a81e}]}),!0x0):!0x1;}},Eo={'id':_0x5daf81(0x403),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x5797ae,_0x50b22b)=>{const _0x1f9835=_0x5daf81;if(!_0x50b22b)return!0x1;let _0x21b854=_0x5797ae[_0x1f9835(0x315)](_0x364596),{unitId:_0x597538,tableId:_0x146474,fieldId:_0x5485bd,patch:_0x3c9a27}=_0x50b22b,_0x36f5f1=_0x21b854[_0x1f9835(0x1ed)](_0x597538,_0x2ddca0[_0x1f9835(0x33d)]);if(!_0x36f5f1||_0x5485bd===_0x4a6fc3||!$(_0x36f5f1,_0x146474,{'fieldIds':[_0x5485bd]}))return!0x1;let _0x97bfb1=_0x5797ae[_0x1f9835(0x315)](_0x2ca718),_0x484462=_0x5797ae[_0x1f9835(0x315)](_0x51376c),_0x2f51fa=_0x36f5f1['getSnapshot']();if(!ha(_0x36f5f1,_0x146474,{..._0x2f51fa[_0x1f9835(0x2f7)][_0x146474][_0x1f9835(0x503)][_0x5485bd],..._0x3c9a27}))return!0x1;let _0x1ddc08=new W()[_0x1f9835(0x23d)](_0x2f51fa,_0x146474,_0x5485bd,_0x3c9a27),_0x85cdf1=new z()[_0x1f9835(0x388)](_0x2f51fa,_0x1ddc08),_0x5d54c6={'unitId':_0x597538,'op':_0x1ddc08},_0x289a6c={'unitId':_0x597538,'op':_0x85cdf1};return _0x97bfb1[_0x1f9835(0x1e6)](Q['id'],_0x5d54c6)?(_0x21b854[_0x1f9835(0x2ac)](_0x597538),_0x484462[_0x1f9835(0x34a)]({'unitID':_0x597538,'undoMutations':[{'id':Q['id'],'params':_0x289a6c}],'redoMutations':[{'id':Q['id'],'params':_0x5d54c6}]}),!0x0):!0x1;}},Do={'id':'base.command.update-base-kanban-config','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x590ac3,_0x41e43d)=>{const _0x52528c=_0x5daf81;if(!_0x41e43d)return!0x1;let _0x4dd6f2=_0x590ac3[_0x52528c(0x315)](_0x364596),{unitId:_0x471fbf,tableId:_0x3f2a9f,viewId:_0x1d6f14,patch:_0x213497}=_0x41e43d,_0x339e47=_0x4dd6f2['getUnit'](_0x471fbf,_0x2ddca0[_0x52528c(0x33d)]);if(!_0x339e47||!$(_0x339e47,_0x3f2a9f,{'viewIds':[_0x1d6f14]}))return!0x1;let _0x100b16=_0x590ac3[_0x52528c(0x315)](_0x2ca718),_0x1bb115=_0x590ac3['get'](_0x51376c),_0x56e158=_0x339e47[_0x52528c(0x2f3)](),_0x368c5a=new W()[_0x52528c(0x4c9)](_0x56e158,_0x3f2a9f,_0x1d6f14,_0x213497),_0x32a08a=new z()['invertOp'](_0x56e158,_0x368c5a),_0x5b1c2b={'unitId':_0x471fbf,'op':_0x368c5a},_0x593430={'unitId':_0x471fbf,'op':_0x32a08a};return _0x100b16['syncExecuteCommand'](Q['id'],_0x5b1c2b)?(_0x4dd6f2[_0x52528c(0x2ac)](_0x471fbf),_0x1bb115['pushUndoRedo']({'unitID':_0x471fbf,'undoMutations':[{'id':Q['id'],'params':_0x593430}],'redoMutations':[{'id':Q['id'],'params':_0x5b1c2b}]}),!0x0):!0x1;}},Oo={'id':_0x5daf81(0x1f5),'type':_0x3d059d['COMMAND'],'handler':(_0x23d717,_0x5eca3a)=>{const _0xa40227=_0x5daf81;if(!_0x5eca3a)return!0x1;let _0x287e16=_0x23d717[_0xa40227(0x315)](_0x364596),{unitId:_0x8b2a8f,tableId:_0x22a165,recordId:_0x5ca6d4,orderKey:_0xd04b55}=_0x5eca3a,_0x416839=_0x287e16[_0xa40227(0x1ed)](_0x8b2a8f,_0x2ddca0[_0xa40227(0x33d)]);if(!_0x416839||!$(_0x416839,_0x22a165,{'recordIds':[_0x5ca6d4]}))return!0x1;let _0x3e4528=_0x23d717[_0xa40227(0x315)](_0x2ca718),_0xa436d8=_0x23d717[_0xa40227(0x315)](_0x51376c),_0x2ddd00=_0x416839[_0xa40227(0x2f3)](),_0x35d97f=new W()[_0xa40227(0x3f6)](_0x2ddd00,_0x22a165,_0x5ca6d4,_0xd04b55),_0x3343b2=new z()[_0xa40227(0x388)](_0x2ddd00,_0x35d97f),_0x1d0139={'unitId':_0x8b2a8f,'op':_0x35d97f},_0x337abf={'unitId':_0x8b2a8f,'op':_0x3343b2};return _0x3e4528[_0xa40227(0x1e6)](Q['id'],_0x1d0139)?(_0x287e16[_0xa40227(0x2ac)](_0x8b2a8f),_0xa436d8[_0xa40227(0x34a)]({'unitID':_0x8b2a8f,'undoMutations':[{'id':Q['id'],'params':_0x337abf}],'redoMutations':[{'id':Q['id'],'params':_0x1d0139}]}),!0x0):!0x1;}};let ko=function(_0x1ef3b6){const _0x4f0f10=_0x5daf81;return _0x1ef3b6[_0x4f0f10(0x282)]=_0x4f0f10(0x1ba),_0x1ef3b6['Add']='add',_0x1ef3b6['Delete']=_0x4f0f10(0x3ae),_0x1ef3b6[_0x4f0f10(0x4d6)]=_0x4f0f10(0x400),_0x1ef3b6;}({});const Ao={'id':_0x5daf81(0x4cc),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x46db8e,_0x4b0872)=>{const _0x741fd0=_0x5daf81;var _0x982cca;if(!_0x4b0872)return!0x1;let _0x2d9fcb=_0x46db8e[_0x741fd0(0x315)](_0x364596),_0x4c588d=_0x2d9fcb[_0x741fd0(0x1ed)](_0x4b0872['unitId'],_0x2ddca0['UNIVER_BASE']);if(!_0x4c588d||!$(_0x4c588d,_0x4b0872['tableId'],{'viewIds':[_0x4b0872[_0x741fd0(0x3c2)]]}))return!0x1;let _0x230ec0=_0x4c588d[_0x741fd0(0x2f3)](),_0x22399b=_0x230ec0[_0x741fd0(0x2f7)][_0x4b0872[_0x741fd0(0x221)]],_0x415e2d=jo(((_0x982cca=_0x22399b[_0x741fd0(0x1e8)][_0x4b0872['viewId']]['config']['conditionalColoring'])==null?void 0x0:_0x982cca['rules'])??[],_0x4b0872);if(!_0x415e2d)return!0x1;Mo(_0x22399b,_0x415e2d);let _0x201039=new W()['updateViewConfig'](_0x230ec0,_0x4b0872[_0x741fd0(0x221)],_0x4b0872[_0x741fd0(0x3c2)],{'conditionalColoring':_0x415e2d[_0x741fd0(0x21d)]?{'rules':_0x415e2d}:null}),_0x54c784=new z()[_0x741fd0(0x388)](_0x230ec0,_0x201039),_0x519dbd={'unitId':_0x4b0872['unitId'],'op':_0x201039},_0x5e75b1={'unitId':_0x4b0872[_0x741fd0(0x3cb)],'op':_0x54c784};return _0x46db8e[_0x741fd0(0x315)](_0x2ca718)[_0x741fd0(0x1e6)](Q['id'],_0x519dbd)?(_0x2d9fcb['focusUnit'](_0x4b0872['unitId']),_0x46db8e[_0x741fd0(0x315)](_0x51376c)['pushUndoRedo']({'unitID':_0x4b0872[_0x741fd0(0x3cb)],'undoMutations':[{'id':Q['id'],'params':_0x5e75b1}],'redoMutations':[{'id':Q['id'],'params':_0x519dbd}]}),!0x0):!0x1;}};function jo(_0x1a1c40,_0x403ccb){const _0x4166ef=_0x5daf81;switch(_0x403ccb[_0x4166ef(0x305)]){case _0x4166ef(0x1ba):return _0x9abbbc[_0x4166ef(0x28e)](_0x403ccb[_0x4166ef(0x2e0)]);case'add':return[..._0x9abbbc[_0x4166ef(0x28e)](_0x1a1c40),_0x9abbbc[_0x4166ef(0x28e)](_0x403ccb[_0x4166ef(0x2ee)])];case _0x4166ef(0x3ae):{let _0x48e54d=_0x1a1c40[_0x4166ef(0x32f)](_0x16f4a0=>_0x16f4a0['id']!==_0x403ccb[_0x4166ef(0x509)]);return _0x48e54d[_0x4166ef(0x21d)]===_0x1a1c40[_0x4166ef(0x21d)]?null:_0x9abbbc['deepClone'](_0x48e54d);}case _0x4166ef(0x400):return _0x1a1c40[_0x4166ef(0x21d)]?[]:null;}}function Mo(_0x580cbb,_0x260620){const _0x448237=_0x5daf81;if(!Array['isArray'](_0x260620))throw TypeError(_0x448237(0x345));let _0xec811d=new Set();for(let [_0x2d52ff,_0x30e878]of _0x260620[_0x448237(0x2e4)]())Po(_0x580cbb,_0x30e878,No(_0x30e878,_0x2d52ff,_0xec811d));}function No(_0x1bca30,_0x369f27,_0x8e09be){const _0x4ca5c2=_0x5daf81;if(!_0x1bca30||typeof _0x1bca30!=_0x4ca5c2(0x1fb))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x369f27+'\x20must\x20be\x20an\x20object.');let _0x3abee5=typeof _0x1bca30['id']==_0x4ca5c2(0x2ed)&&_0x1bca30['id'][_0x4ca5c2(0x3a5)]()?'\x22'+_0x1bca30['id']+'\x22':_0x4ca5c2(0x1ea)+_0x369f27;if(typeof _0x1bca30['id']!=_0x4ca5c2(0x2ed)||!_0x1bca30['id']['trim']())throw Error(_0x4ca5c2(0x344)+_0x3abee5+_0x4ca5c2(0x204));if(_0x8e09be[_0x4ca5c2(0x253)](_0x1bca30['id']))throw Error(_0x4ca5c2(0x260)+_0x1bca30['id']+'\x22.');_0x8e09be['add'](_0x1bca30['id']);let _0x590900=typeof _0x1bca30['color']=='string'&&_0x1bca30[_0x4ca5c2(0x3be)][_0x4ca5c2(0x3a5)]()?new _0x480202(_0x1bca30[_0x4ca5c2(0x3be)]):null;if(!(_0x590900!=null&&_0x590900[_0x4ca5c2(0x1c2)]))throw Error(_0x4ca5c2(0x344)+_0x3abee5+_0x4ca5c2(0x3ca));return _0x3abee5;}function Po(_0x531aaf,_0xec98fb,_0x1ec152){const _0xca7aee=_0x5daf81;let _0x46e747=new Set(Object[_0xca7aee(0x45b)](_0x20be76)),_0x3af7ad=new Set(Object[_0xca7aee(0x45b)](_0xb7a4f0)),_0x147d49=new Set(Object[_0xca7aee(0x45b)](_0x1a2fb9));if(!_0x46e747[_0xca7aee(0x253)](_0xec98fb[_0xca7aee(0x1f2)]))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x3df)+String(_0xec98fb[_0xca7aee(0x1f2)])+'\x22.');let _0x4b5c69=typeof _0xec98fb['fieldId']==_0xca7aee(0x2ed)?_0x531aaf[_0xca7aee(0x503)][_0xec98fb[_0xca7aee(0x4a1)]]:void 0x0;if(!_0x4b5c69||_0x4b5c69[_0xca7aee(0x3db)]===!0x0||_0x4b5c69[_0xca7aee(0x305)]===_0x618ba[_0xca7aee(0x28f)])throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x510)+String(_0xec98fb[_0xca7aee(0x4a1)])+'\x22.');if(!_0x3af7ad['has'](_0xec98fb[_0xca7aee(0x246)]))throw Error(_0xca7aee(0x344)+_0x1ec152+'\x20has\x20unsupported\x20operator\x20\x22'+String(_0xec98fb[_0xca7aee(0x246)])+'\x22.');if(_0xec98fb[_0xca7aee(0x431)]!==void 0x0&&!_0x147d49[_0xca7aee(0x253)](_0xec98fb['dateMode']))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x3a7)+String(_0xec98fb[_0xca7aee(0x431)])+'\x22.');if(_0xec98fb[_0xca7aee(0x1f2)]===_0x20be76[_0xca7aee(0x1f9)])return;let _0x2a3348=vn(_0x4b5c69[_0xca7aee(0x305)]);if(!_0x2a3348['includes'](_0xec98fb[_0xca7aee(0x246)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1ec152+'\x20cannot\x20use\x20operator\x20\x22'+_0xec98fb[_0xca7aee(0x246)]+'\x22\x20with\x20field\x20type\x20\x22'+_0x4b5c69['type']+_0xca7aee(0x451)+_0x2a3348['join'](',\x20')+'.');if(_0xec98fb['dateMode']!==void 0x0&&!yn(_0x4b5c69['type']))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x50b));}const Fo={'id':_0x5daf81(0x433),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x539407,_0x53acac)=>{const _0x4f827e=_0x5daf81;if(!_0x53acac)return!0x1;let _0x47e585=_0x539407[_0x4f827e(0x315)](_0x364596),{unitId:_0x16d86a,tableId:_0x3a85d2,viewId:_0xf8c88a,patch:_0x4d8eb5}=_0x53acac,_0x8885bf=_0x47e585[_0x4f827e(0x1ed)](_0x16d86a,_0x2ddca0[_0x4f827e(0x33d)]);if(!_0x8885bf||!$(_0x8885bf,_0x3a85d2,{'viewIds':[_0xf8c88a]}))return!0x1;let _0x5640b2=_0x539407['get'](_0x2ca718),_0x3da06e=_0x539407[_0x4f827e(0x315)](_0x51376c),_0x1e1e97=_0x8885bf[_0x4f827e(0x2f3)](),_0x3bb3df=new W()[_0x4f827e(0x4c9)](_0x1e1e97,_0x3a85d2,_0xf8c88a,_0x4d8eb5),_0xce0810=new z()[_0x4f827e(0x388)](_0x1e1e97,_0x3bb3df),_0x30d07b={'unitId':_0x16d86a,'op':_0x3bb3df},_0x24d7b2={'unitId':_0x16d86a,'op':_0xce0810};return _0x5640b2[_0x4f827e(0x1e6)](Q['id'],_0x30d07b)?(_0x47e585[_0x4f827e(0x2ac)](_0x16d86a),_0x3da06e['pushUndoRedo']({'unitID':_0x16d86a,'undoMutations':[{'id':Q['id'],'params':_0x24d7b2}],'redoMutations':[{'id':Q['id'],'params':_0x30d07b}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x4efa82,_0x54c2b9){const _0x90ff51=_0x5daf81;if(!_0x54c2b9)return{'valid':!0x1,'reason':_0x90ff51(0x3ea)};let _0x53ffe8=_0x4efa82[_0x90ff51(0x315)](_0x364596)[_0x90ff51(0x1ed)](_0x54c2b9[_0x90ff51(0x3cb)],_0x2ddca0[_0x90ff51(0x33d)]),_0x4309ed=_0x53ffe8==null?void 0x0:_0x53ffe8[_0x90ff51(0x2f3)](),_0x333df6=_0x4309ed==null?void 0x0:_0x4309ed['tables'][_0x54c2b9[_0x90ff51(0x221)]];return!_0x4309ed||!_0x333df6?{'valid':!0x1,'reason':_0x90ff51(0x40f)}:new Xi()[_0x90ff51(0x4dc)](_0x54c2b9[_0x90ff51(0x494)],_0x333df6,{'snapshot':_0x4309ed});}};let Lo=class extends _0x3436af{constructor(_0xc9af91){const _0x3064cd=_0x5daf81;super(_0xc9af91,_0x3064cd(0x527),_0x2ddca0[_0x3064cd(0x33d)],[_0x2ea692[_0x3064cd(0x1de)],_0x2ea692[_0x3064cd(0x3c1)],_0x2ea692[_0x3064cd(0x52a)],_0x2ea692[_0x3064cd(0x2cd)],_0x2ea692[_0x3064cd(0x357)]]);}};Lo=X([Y(0x0,_0x3e7637)],Lo);const Ro={'id':_0x5daf81(0x3cc),'type':_0x3d059d['MUTATION'],'handler':(_0x195aaa,_0x42c0da)=>!_0x42c0da||!_0x195aaa[_0x5daf81(0x315)](_0x364596)['getUnit'](_0x42c0da[_0x5daf81(0x3cb)],_0x2ddca0['UNIVER_BASE'])?!0x1:_0x195aaa[_0x5daf81(0x315)](Lo)[_0x5daf81(0x278)](_0x42c0da[_0x5daf81(0x3cb)],_0x42c0da[_0x5daf81(0x1df)],_0x42c0da[_0x5daf81(0x3d2)],_0x42c0da[_0x5daf81(0x2ee)])},zo={'id':_0x5daf81(0x1dc),'type':_0x3d059d[_0x5daf81(0x4cd)],'handler':(_0x350123,_0x144920)=>!_0x144920||!_0x350123[_0x5daf81(0x315)](_0x364596)['getUnit'](_0x144920[_0x5daf81(0x3cb)],_0x2ddca0[_0x5daf81(0x33d)])?!0x1:_0x350123['get'](Lo)[_0x5daf81(0x2cc)](_0x144920['unitId'],_0x144920['rules'])};function Bo(_0x29facf){const _0x22da53=_0x5daf81;let _0x4220e1=_0x29facf['now']??Date['now'](),_0x26fb29=_0x29facf[_0x22da53(0x51f)]??_0x29facf['id']+_0x22da53(0x565),_0x2e782d=_0x29facf[_0x22da53(0x303)]??_0x29facf['id']+_0x22da53(0x381),_0x4053f0=_0x29facf[_0x22da53(0x20f)]??0x0,_0x26a955=_0x44aad8(),_0xec5c6a={'id':_0x26fb29,'name':_0x29facf[_0x22da53(0x226)]??'Name','type':_0x618ba[_0x22da53(0x1da)],'config':{'placeholder':_0x22da53(0x2e3)}},_0x17a0c4={},_0x113a77=[],_0x45fdbb={},_0x12c5f2={},_0x3e16c7={};for(let _0x3aa284=0x0;_0x3aa284<_0x4053f0;_0x3aa284++){let _0x395651=_0x29facf['id']+_0x22da53(0x1f3)+(_0x3aa284+0x1);_0x17a0c4[_0x395651]={'id':_0x395651,'values':{[_0x4a6fc3]:_0x395651,..._0x29facf[_0x22da53(0x4e4)]?{[_0x26fb29]:_0x29facf['recordNamePrefix']+'\x20'+(_0x3aa284+0x1)}:{}},'orderKey':String(_0x3aa284+0x1)['padStart'](0x4,'0'),'createdAt':_0x4220e1,'updatedAt':_0x4220e1},_0x113a77['push'](_0x395651),_0x45fdbb[_0x395651]=_0x3aa284,_0x12c5f2[_0x3aa284]=_0x395651,_0x3e16c7[_0x3aa284]={0x0:{'v':_0x395651,'t':_0x20fde0[_0x22da53(0x376)]}},_0x29facf[_0x22da53(0x4e4)]&&(_0x3e16c7[_0x3aa284][0x1]={'v':_0x29facf[_0x22da53(0x4e4)]+'\x20'+(_0x3aa284+0x1),'t':_0x20fde0[_0x22da53(0x376)]});}let _0x4f525e={'id':_0x2e782d,'tableId':_0x29facf['id'],'name':'Grid','type':_0x168289[_0x22da53(0x47f)],'fieldOrder':[_0x4a6fc3,_0x26fb29],'fieldSettings':{[_0x4a6fc3]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x29facf['id'],'name':_0x29facf[_0x22da53(0x322)],'primaryFieldId':_0x26fb29,'fieldOrder':[_0x4a6fc3,_0x26fb29],'fields':{[_0x4a6fc3]:_0x26a955,[_0x26fb29]:_0xec5c6a},'records':_0x17a0c4,'recordOrder':_0x113a77,'rowIndex':_0x45fdbb,'rowId':_0x12c5f2,'colIndex':{[_0x4a6fc3]:0x0,[_0x26fb29]:0x1},'colId':{0x0:_0x4a6fc3,0x1:_0x26fb29},'cellData':_0x3e16c7,'views':{[_0x2e782d]:_0x4f525e},'viewOrder':[_0x2e782d]};}const Vo=_0x5daf81(0x3ff);function Ho(_0x32917d){const _0x67968a=_0x5daf81;let _0x2d9f9b=Bo({'id':_0x32917d['hostAnchorId'],'name':_0x32917d[_0x67968a(0x322)]??_0x32917d['embedId'],'recordCount':0x0});return{..._0x2d9f9b,'resources':{..._0x2d9f9b[_0x67968a(0x48d)]??{},[Vo]:Go(_0x32917d)}};}function Uo(_0x57a463){const _0x32aab7=_0x5daf81;return{'id':Q['id'],'params':{'unitId':_0x57a463['unitId'],'op':_0x1605a0[_0x32aab7(0x305)][_0x32aab7(0x363)](_0x1605a0[_0x32aab7(0x2b6)](['tables',_0x57a463[_0x32aab7(0x524)]['id']],_0x57a463[_0x32aab7(0x524)]),_0x1605a0[_0x32aab7(0x2b6)]([_0x32aab7(0x3ee),_0x57a463[_0x32aab7(0x391)]??_0x57a463[_0x32aab7(0x21a)]['tableOrder']['length']],_0x57a463[_0x32aab7(0x524)]['id'])),'trigger':'embed-ui'}};}function Wo(_0x3e1258){const _0x1feef8=_0x5daf81;let _0x4dd47b=_0x3e1258[_0x1feef8(0x21a)]['tableOrder'][_0x1feef8(0x25c)](_0x3e1258[_0x1feef8(0x221)]);if(!(!_0x3e1258[_0x1feef8(0x21a)][_0x1feef8(0x2f7)][_0x3e1258[_0x1feef8(0x221)]]||_0x4dd47b<0x0))return{'id':Q['id'],'params':{'unitId':_0x3e1258[_0x1feef8(0x3cb)],'op':_0x1605a0[_0x1feef8(0x305)][_0x1feef8(0x363)](_0x1605a0['removeOp']([_0x1feef8(0x2f7),_0x3e1258[_0x1feef8(0x221)]],_0x3e1258[_0x1feef8(0x21a)]['tables'][_0x3e1258[_0x1feef8(0x221)]]),_0x1605a0['removeOp']([_0x1feef8(0x3ee),_0x4dd47b],_0x3e1258[_0x1feef8(0x221)])),'trigger':_0x1feef8(0x252)}};}function Go(_0xbc6d62){const _0x5a1060=_0x5daf81;return{'version':0x1,'embedId':_0xbc6d62[_0x5a1060(0x2a3)],'hostAnchorId':_0xbc6d62[_0x5a1060(0x3b3)],'childUnitId':_0xbc6d62[_0x5a1060(0x3a3)],'childType':_0xbc6d62['childType']};}function Ko(_0x295f1f){const _0x143e2c=_0x5daf81;let _0x16f724=Math[_0x143e2c(0x29c)](0x0,Number(_0x295f1f['decimalPlaces']??0x0)),_0x520abb=_0x295f1f[_0x143e2c(0x4b3)]===!0x1?'0':_0x143e2c(0x2c7),_0x1ccb62=_0x16f724?'.'+'0'[_0x143e2c(0x4ab)](_0x16f724):'',_0x11a1fe=Jo(_0x295f1f[_0x143e2c(0x1f4)]);return''+(_0x295f1f['currencySymbol']?Yo(_0x295f1f[_0x143e2c(0x517)]):'')+_0x520abb+_0x1ccb62+_0x11a1fe;}function qo(_0x2a77fa,_0x395776){let _0x4663c3=Ko(_0x395776),_0x435fdf=_0x51878f['format'](_0x4663c3,_0x2a77fa,{'throws':!0x1});return Xo(String(_0x435fdf),_0x395776['separatorStyle'],_0x395776['locale']);}function Jo(_0x4d4711){const _0x3118a4=_0x5daf81;return _0x4d4711==='K'?_0x3118a4(0x284):_0x4d4711==='M'?_0x3118a4(0x44a):_0x4d4711==='B'?_0x3118a4(0x272):'';}function Yo(_0x24fc77){const _0x383113=_0x5daf81;return/^[A-Z]+$/i[_0x383113(0x27c)](_0x24fc77)?'\x22'+_0x24fc77+'\x22':_0x24fc77;}function Xo(_0x381885,_0x4a58c1,_0x10cf1a){const _0x5b692b=_0x5daf81;let _0x2a7077=_0x4a58c1===_0x5b692b(0x35a)?Zo(_0x10cf1a):_0x4a58c1;return _0x2a7077===_0x5b692b(0x306)?_0x381885[_0x5b692b(0x39b)](/,/g,'\x00')['replace'](/\./g,',')[_0x5b692b(0x39b)](/\0/g,'.'):_0x2a7077===_0x5b692b(0x3a9)?_0x381885[_0x5b692b(0x39b)](/,/g,'\x20')['replace'](/\./g,','):_0x2a7077===_0x5b692b(0x32d)?_0x381885['replace'](/,/g,'\x20'):_0x381885;}function Zo(_0x45e864){const _0x2030bb=_0x5daf81;var _0x1b9dee,_0x381b1a;let _0x38fe51=_0x45e864||new Intl[(_0x2030bb(0x3b2))]()['resolvedOptions']()[_0x2030bb(0x2dc)],_0x187fbe;try{_0x187fbe=new Intl['NumberFormat'](_0x38fe51,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x2030bb(0x538);}let _0x57f938=(_0x1b9dee=_0x187fbe['find'](_0x416e2f=>_0x416e2f[_0x2030bb(0x305)]===_0x2030bb(0x3e9)))==null?void 0x0:_0x1b9dee['value'],_0x317bc0=(_0x381b1a=_0x187fbe[_0x2030bb(0x2d8)](_0x43b635=>_0x43b635[_0x2030bb(0x305)]==='decimal'))==null?void 0x0:_0x381b1a[_0x2030bb(0x3fd)],_0x534b5a=_0x57f938==='\u00a0'||_0x57f938==='\u202f'?'\x20':_0x57f938;return _0x534b5a==='.'&&_0x317bc0===','?_0x2030bb(0x306):_0x534b5a==='\x20'&&_0x317bc0===','?_0x2030bb(0x3a9):_0x534b5a==='\x20'&&_0x317bc0==='.'?_0x2030bb(0x32d):_0x2030bb(0x538);}function Qo(_0x238844,_0x40c271){const _0x598121=_0x5daf81;let _0xbdfae8=_0x40c271&&typeof _0x40c271=='object'&&!Array[_0x598121(0x31e)](_0x40c271)?_0x40c271:{},_0x24da66=$o(_0xbdfae8[_0x598121(0x4b6)],0x0,0x2,0x0),_0x49bd4f=_0x238844[_0x598121(0x30d)](_0x24da66);return _0xbdfae8[_0x598121(0x444)]==='number'?_0x49bd4f:_0x49bd4f+'%';}function $o(_0x350c89,_0x107db0,_0x50ab40,_0x283143){const _0x43974b=_0x5daf81;if(_0x350c89==null||_0x350c89==='')return _0x283143;let _0xb9cc8a=typeof _0x350c89=='number'?_0x350c89:Number(_0x350c89);return Number[_0x43974b(0x2fc)](_0xb9cc8a)?Math['max'](_0x107db0,Math[_0x43974b(0x469)](_0x50ab40,Math['round'](_0xb9cc8a))):_0x283143;}const es=[_0x5daf81(0x42c),_0x5daf81(0x33f),_0x5daf81(0x4ba),_0x5daf81(0x3f2),'sum','average','min','max'],ts=[_0x5daf81(0x42c),_0x5daf81(0x33f),_0x5daf81(0x4ba),_0x5daf81(0x3f2)],ns=[_0x5daf81(0x550),_0x5daf81(0x2b8),_0x5daf81(0x469),_0x5daf81(0x29c)],rs=[_0x5daf81(0x469),'max'],is=new Set([_0x618ba[_0x5daf81(0x480)],_0x618ba[_0x5daf81(0x20a)],_0x618ba['Progress'],_0x618ba['Rating']]),as=new Set([_0x618ba[_0x5daf81(0x3a1)],_0x618ba[_0x5daf81(0x1e9)],_0x618ba[_0x5daf81(0x377)]]),os='General';function ss(_0x44a4f6){const _0x465624=_0x5daf81;return typeof _0x44a4f6==_0x465624(0x2ed)&&es[_0x465624(0x4f9)](_0x44a4f6);}function cs(_0x3f5531){const _0x555853=_0x5daf81;return!_0x3f5531||typeof _0x3f5531!=_0x555853(0x1fb)?{}:Object[_0x555853(0x407)](Object['entries'](_0x3f5531)[_0x555853(0x32f)](_0x4be945=>ss(_0x4be945[0x1])));}function ls(_0x437382){const _0x9bf3b0=_0x5daf81;return is['has'](_0x437382[_0x9bf3b0(0x305)])?[...ts,...ns]:_0x437382[_0x9bf3b0(0x305)]===_0x618ba[_0x9bf3b0(0x4a8)]?[...ts,...ws(_0x437382)===_0x9bf3b0(0x4ae)?rs:ns]:ts;}function us(_0xe6a6cb,_0x435867){const _0x31be21=_0x5daf81;return ls(_0xe6a6cb)[_0x31be21(0x4f9)](_0x435867);}function ds(_0x29f3d6,_0x394c80,_0x12305b){const _0x59f8e1=_0x5daf81;if(!us(_0x29f3d6,_0x12305b))return null;let _0x4178da=_0x394c80['filter'](_0x2e4e36=>!ps(_0x29f3d6,_0x2e4e36));switch(_0x12305b){case _0x59f8e1(0x42c):return _0x394c80[_0x59f8e1(0x21d)];case _0x59f8e1(0x33f):return _0x4178da['length'];case _0x59f8e1(0x4ba):return _0x394c80['length']-_0x4178da[_0x59f8e1(0x21d)];case'unique':return new Set(_0x4178da[_0x59f8e1(0x2b0)](_0x50a667=>_s(_0x29f3d6,_0x50a667)))[_0x59f8e1(0x323)];case _0x59f8e1(0x550):{let _0x105269=ms(_0x29f3d6,_0x4178da);return _0x105269[_0x59f8e1(0x21d)]?gs(_0x105269):null;}case _0x59f8e1(0x2b8):{let _0xbbb84b=ms(_0x29f3d6,_0x4178da);return _0xbbb84b['length']?gs(_0xbbb84b)/_0xbbb84b[_0x59f8e1(0x21d)]:null;}case'min':{let _0x3abbb8=ms(_0x29f3d6,_0x4178da);return _0x3abbb8[_0x59f8e1(0x21d)]?Math[_0x59f8e1(0x469)](..._0x3abbb8):null;}case _0x59f8e1(0x29c):{let _0xbb0f40=ms(_0x29f3d6,_0x4178da);return _0xbb0f40[_0x59f8e1(0x21d)]?Math[_0x59f8e1(0x29c)](..._0xbb0f40):null;}}}function fs(_0x23598a,_0x1f6d72,_0x1da99d){const _0x3bccef=_0x5daf81;if(_0x1da99d==null||!Number[_0x3bccef(0x2fc)](_0x1da99d))return'-';if(ts[_0x3bccef(0x4f9)](_0x1f6d72))return String(_0x1da99d);switch(_0x23598a[_0x3bccef(0x305)]){case _0x618ba['Number']:return qo(_0x1da99d,xs(_0x23598a));case _0x618ba['Currency']:return qo(_0x1da99d,Ss(_0x23598a));case _0x618ba[_0x3bccef(0x257)]:return Qo(_0x1da99d,_0x23598a[_0x3bccef(0x396)]);case _0x618ba['Formula']:return Cs(_0x1da99d,_0x23598a);default:return Es(_0x1da99d);}}function ps(_0x304b67,_0x2f5813){const _0x599289=_0x5daf81;if(_0x2f5813==null)return!0x0;if(typeof _0x2f5813==_0x599289(0x2ed))return _0x2f5813[_0x599289(0x3a5)]()==='';if(Array['isArray'](_0x2f5813))return _0x304b67[_0x599289(0x305)]===_0x618ba[_0x599289(0x1f8)]?!_0x2f5813['some'](bs):_0x2f5813[_0x599289(0x21d)]===0x0;if(_0x304b67[_0x599289(0x305)]===_0x618ba[_0x599289(0x42d)]&&typeof _0x2f5813==_0x599289(0x1fb)){let _0x110ab6=_0x2f5813;return[_0x110ab6[_0x599289(0x38e)],_0x110ab6[_0x599289(0x4fe)]][_0x599289(0x2ab)](_0x13d6de=>_0x13d6de==null||String(_0x13d6de)[_0x599289(0x3a5)]()==='');}return!0x1;}function ms(_0x43644a,_0x31972e){const _0x4adc6f=_0x5daf81;let _0x417f44=[];for(let _0x51b752 of _0x31972e){let _0x5ee403=hs(_0x43644a,_0x51b752);_0x5ee403!=null&&_0x417f44[_0x4adc6f(0x482)](_0x5ee403);}return _0x417f44;}function hs(_0x63b7e2,_0x38fab2){const _0x545b37=_0x5daf81;if(typeof _0x38fab2==_0x545b37(0x53d))return Number['isFinite'](_0x38fab2)?_0x38fab2:null;if(_0x63b7e2[_0x545b37(0x305)]!==_0x618ba[_0x545b37(0x4a8)]&&typeof _0x38fab2==_0x545b37(0x2ed)&&_0x38fab2['trim']()!==''){let _0x32ac35=Number(_0x38fab2);return Number[_0x545b37(0x2fc)](_0x32ac35)?_0x32ac35:null;}return null;}function gs(_0x38e044){const _0x166270=_0x5daf81;let _0xed7329=0x0,_0x360dc2=0x0;for(let _0x13c010 of _0x38e044){let _0x47d784=_0xed7329+_0x13c010;_0x360dc2+=Math[_0x166270(0x38d)](_0xed7329)>=Math['abs'](_0x13c010)?_0xed7329-_0x47d784+_0x13c010:_0x13c010-_0x47d784+_0xed7329,_0xed7329=_0x47d784;}return _0xed7329+_0x360dc2;}function _s(_0x1ee68b,_0x46b9a1){const _0x4dd606=_0x5daf81;return as[_0x4dd606(0x253)](_0x1ee68b['type'])&&Array[_0x4dd606(0x31e)](_0x46b9a1)?ys([...new Set(_0x46b9a1[_0x4dd606(0x2b0)](_0x2c599e=>ys(vs(_0x2c599e))))][_0x4dd606(0x3c5)]()):ys(vs(_0x46b9a1));}function vs(_0x405909){const _0xace5e7=_0x5daf81;return Array[_0xace5e7(0x31e)](_0x405909)?_0x405909[_0xace5e7(0x2b0)](vs):_0x405909&&typeof _0x405909=='object'?Object[_0xace5e7(0x407)](Object[_0xace5e7(0x2e4)](_0x405909)[_0xace5e7(0x3c5)](([_0x5561f5],[_0x281bee])=>_0x5561f5[_0xace5e7(0x202)](_0x281bee))['map'](([_0x2882b1,_0x50b156])=>[_0x2882b1,vs(_0x50b156)])):_0x405909;}function ys(_0x9bbc0e){const _0x463081=_0x5daf81;return JSON[_0x463081(0x439)](_0x9bbc0e)??'undefined';}function bs(_0x4a2af5){const _0xdbdd54=_0x5daf81;if(typeof _0x4a2af5==_0xdbdd54(0x2ed))return _0x4a2af5[_0xdbdd54(0x3a5)]()!=='';if(!_0x4a2af5||typeof _0x4a2af5!=_0xdbdd54(0x1fb))return!0x1;let _0x4ee2c3=_0x4a2af5;return[_0x4ee2c3['id'],_0x4ee2c3[_0xdbdd54(0x322)],_0x4ee2c3[_0xdbdd54(0x1e1)],_0x4ee2c3[_0xdbdd54(0x4fe)],_0x4ee2c3['thumbnail']][_0xdbdd54(0x387)](_0x163eb8=>_0x163eb8!=null&&String(_0x163eb8)[_0xdbdd54(0x3a5)]()!=='');}function xs(_0x4d0de5){const _0x4f97cf=_0x5daf81;let _0x1076d3=Ds(_0x4d0de5[_0x4f97cf(0x396)]);return{'decimalPlaces':ks(_0x1076d3[_0x4f97cf(0x4b6)],0x0,0x14,0x2),'separatorStyle':typeof _0x1076d3['separatorStyle']=='string'?_0x1076d3[_0x4f97cf(0x3b6)]:_0x4f97cf(0x35a),'locale':typeof _0x1076d3[_0x4f97cf(0x2dc)]=='string'?_0x1076d3['locale']:void 0x0,'useThousands':_0x1076d3['useThousands']!==!0x1,'abbreviation':typeof _0x1076d3[_0x4f97cf(0x1f4)]=='string'?_0x1076d3[_0x4f97cf(0x1f4)]:'none'};}function Ss(_0x1095b3){const _0x2fea61=_0x5daf81;let _0x3783be=Ds(_0x1095b3[_0x2fea61(0x396)]);return{...xs(_0x1095b3),'currencySymbol':String(_0x3783be[_0x2fea61(0x517)]??'$')};}function Cs(_0x1026b2,_0x3bc6f3){const _0xdf2aca=_0x5daf81;let _0x37a25d=Ts(_0x3bc6f3);if(_0x37a25d===os)return Es(_0x1026b2);try{return String(_0x51878f[_0xdf2aca(0x444)](_0x37a25d,_0x1026b2,{'throws':!0x1}));}catch{return Es(_0x1026b2);}}function ws(_0x233836){const _0x1d866c=_0x5daf81;let _0x3cb0a9=Ds(Ds(_0x233836['config'])[_0x1d866c(0x22a)]);return typeof _0x3cb0a9[_0x1d866c(0x305)]==_0x1d866c(0x2ed)?_0x3cb0a9['type']:'general';}function Ts(_0x4bb59c){const _0x2d62d6=_0x5daf81;let _0x5f2d36=Ds(Ds(_0x4bb59c[_0x2d62d6(0x396)])[_0x2d62d6(0x22a)]);return String(_0x5f2d36[_0x2d62d6(0x526)]??os)[_0x2d62d6(0x3a5)]()||os;}function Es(_0xee0075){const _0x1e5523=_0x5daf81;return String(Number['isInteger'](_0xee0075)?_0xee0075:Math[_0x1e5523(0x447)]((_0xee0075+0x2**-0x34)*0x64)/0x64);}function Ds(_0x3fa634){const _0x102dd9=_0x5daf81;return _0x3fa634&&typeof _0x3fa634==_0x102dd9(0x1fb)&&!Array[_0x102dd9(0x31e)](_0x3fa634)?_0x3fa634:{};}function Os(_0x5939b6){const _0x4a108a=_0x5daf81;if(_0x5939b6==null||_0x5939b6==='')return null;let _0x3ac8b7=typeof _0x5939b6==_0x4a108a(0x53d)?_0x5939b6:Number(_0x5939b6);return Number[_0x4a108a(0x2fc)](_0x3ac8b7)?_0x3ac8b7:null;}function ks(_0x252957,_0x28ec6b,_0x3f66ec,_0xade6b9){const _0x535aad=_0x5daf81;let _0x2be533=Os(_0x252957);return _0x2be533==null?_0xade6b9:Math[_0x535aad(0x29c)](_0x28ec6b,Math[_0x535aad(0x469)](_0x3f66ec,Math[_0x535aad(0x447)](_0x2be533)));}function As(_0x3ceb88,_0x69e4e1){const _0x4bcad7=_0x5daf81;let _0x3dc7bd=_0x9abbbc[_0x4bcad7(0x28e)](_0x3ceb88),_0x27d985=_0x69e4e1[_0x4bcad7(0x553)]===!0x0,_0x387fa0=new Map(),_0x5ca463=_0x69e4e1[_0x4bcad7(0x361)]??(()=>_0x4bcad7(0x34b)+_0x1d3e80(0x8)),_0x4a3f43=_0x3dc7bd['viewOrder'];return _0x69e4e1[_0x4bcad7(0x350)]&&(_0x4a3f43=_0x3dc7bd[_0x4bcad7(0x410)][_0x4bcad7(0x2b0)](_0x3f8811=>{const _0x211024=_0x4bcad7;let _0x5f28d2=_0x5ca463();return _0x387fa0[_0x211024(0x1ba)](_0x3f8811,_0x5f28d2),_0x5f28d2;})),{..._0x3dc7bd,'id':_0x69e4e1['id'],'name':_0x69e4e1['name'],'records':_0x27d985?_0x3dc7bd[_0x4bcad7(0x43a)]:{},'recordOrder':_0x27d985?_0x3dc7bd[_0x4bcad7(0x3da)]:[],'rowIndex':_0x27d985?_0x3dc7bd[_0x4bcad7(0x2c4)]:{},'rowId':_0x27d985?_0x3dc7bd[_0x4bcad7(0x1ec)]:{},'cellData':_0x27d985?_0x3dc7bd['cellData']:{},'resources':_0x27d985?_0x3dc7bd[_0x4bcad7(0x48d)]:{},'viewOrder':_0x4a3f43,'views':Object[_0x4bcad7(0x407)](Object[_0x4bcad7(0x2e4)](_0x3dc7bd['views']??{})[_0x4bcad7(0x2b0)](([_0x1cc430,_0x57e432])=>{const _0x55d3b0=_0x4bcad7;let _0x18583d=_0x387fa0['get'](_0x1cc430)??(_0x69e4e1[_0x55d3b0(0x350)]?_0x5ca463():_0x1cc430);return[_0x18583d,{..._0x57e432,'id':_0x18583d,'tableId':_0x69e4e1['id']}];}))};}var js=_0x5daf81(0x4cf),Ms=_0x5daf81(0x35c);const Ns={},Ps={};function Fs(_0x4e010e){const _0x5c480e=_0x5daf81;return new z()[_0x5c480e(0x26e)](_0x4e010e);}function Is(_0x521a10){const _0x482925=_0x5daf81;return _0x521a10['patches'][_0x482925(0x2b0)](_0x34041a=>({'unitId':_0x521a10[_0x482925(0x3cb)],'sheetId':_0x521a10[_0x482925(0x221)],'range':{'startRow':_0x34041a['row'],'endRow':_0x34041a['row'],'startColumn':_0x34041a[_0x482925(0x2f0)],'endColumn':_0x34041a[_0x482925(0x2f0)]}}));}function Ls(_0x226065,_0x5911f4){const _0x4d017c=_0x5daf81;return{[_0x226065]:Object[_0x4d017c(0x407)](_0x5911f4['map'](_0x1c1cf6=>[_0x1c1cf6,'1']))};}let Rs=class extends _0x183939{constructor(_0xe3db0f,_0x92fe0f){const _0x4371e2=_0x5daf81;super(),this['_activeDirtyManagerService']=_0xe3db0f,this['_univerInstanceService']=_0x92fe0f,this[_0x4371e2(0x4d1)]();}[_0x5daf81(0x4d1)](){const _0x5a03cc=_0x5daf81;this[_0x5a03cc(0x456)][_0x5a03cc(0x549)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x540f77=>this[_0x5a03cc(0x2fb)](_0x540f77[_0x5a03cc(0x422)])}),this[_0x5a03cc(0x314)](_0x1a388a(()=>{this['_activeDirtyManagerService']['remove'](Q['id']);}));}['_getTable'](_0x5102b1,_0xe5c1a0){const _0x5e896d=_0x5daf81;let _0x44a532=this[_0x5e896d(0x552)][_0x5e896d(0x1ed)](_0x5102b1,_0x2ddca0[_0x5e896d(0x33d)]);return(_0x44a532==null?void 0x0:_0x44a532[_0x5e896d(0x2f3)]()[_0x5e896d(0x2f7)][_0xe5c1a0])??null;}['_getJson1DirtyData'](_0x23bc56){const _0x3bcd82=_0x5daf81;if(_0x23bc56[_0x3bcd82(0x22c)]===_0x3bcd82(0x4d4))return{};if(!_0x23bc56[_0x3bcd82(0x3cb)]||!_0x23bc56['op'])return{'clearDependencyTreeCache':this[_0x3bcd82(0x247)](),'forceCalculation':!0x0};let _0x36794a=Fs(_0x23bc56['op']),_0x223bf9=this[_0x3bcd82(0x270)](_0x23bc56['unitId'],_0x36794a);if(_0x223bf9[_0x3bcd82(0x21d)])return{'clearDependencyTreeCache':Ls(_0x23bc56[_0x3bcd82(0x3cb)],_0x223bf9),'forceCalculation':!0x0};let _0x180c50=Object[_0x3bcd82(0x2e4)](this[_0x3bcd82(0x499)](_0x23bc56[_0x3bcd82(0x3cb)],_0x36794a))[_0x3bcd82(0x36c)](([_0x59e633,_0x4f9ef5])=>Is({'unitId':_0x23bc56['unitId'],'tableId':_0x59e633,'patches':_0x4f9ef5}));return _0x180c50['length']?{'dirtyRanges':_0x180c50}:{};}[_0x5daf81(0x270)](_0x26eee7,_0xff61b2){const _0xf43f3c=_0x5daf81;let _0x31001d=_0xff61b2['filter'](_0xff53e4=>_0xff53e4[_0xf43f3c(0x483)]!=='cell')[_0xf43f3c(0x36c)](_0x390f87=>_0x390f87[_0xf43f3c(0x221)]?[_0x390f87['tableId']]:this[_0xf43f3c(0x36b)](_0x26eee7));return Array[_0xf43f3c(0x404)](new Set(_0x31001d));}[_0x5daf81(0x499)](_0x4cc652,_0x3d0cb8){const _0x2679aa=_0x5daf81;let _0x2c1ac1=new Set();return _0x3d0cb8[_0x2679aa(0x251)]((_0x58f2ed,_0x37dd88)=>{const _0x57b208=_0x2679aa;let _0x44cc35=this['_toDirtyRangePatch'](_0x4cc652,_0x37dd88);if(!_0x44cc35)return _0x58f2ed;let _0x386ccb=_0x37dd88[_0x57b208(0x221)]+':'+_0x44cc35[_0x57b208(0x406)]+':'+_0x44cc35[_0x57b208(0x2f0)];return _0x2c1ac1[_0x57b208(0x253)](_0x386ccb)||(_0x2c1ac1[_0x57b208(0x4ee)](_0x386ccb),_0x58f2ed[_0x37dd88['tableId']]=_0x58f2ed[_0x37dd88[_0x57b208(0x221)]]??[],_0x58f2ed[_0x37dd88[_0x57b208(0x221)]][_0x57b208(0x482)](_0x44cc35)),_0x58f2ed;},{});}['_toDirtyRangePatch'](_0x49185f,_0x24e55b){const _0x581e7f=_0x5daf81;if(_0x24e55b['reason']!==_0x581e7f(0x203))return null;if(_0x24e55b[_0x581e7f(0x406)]!=null&&_0x24e55b[_0x581e7f(0x1cc)]!=null)return{'row':_0x24e55b[_0x581e7f(0x406)],'col':_0x24e55b[_0x581e7f(0x1cc)],'value':null};if(!_0x24e55b[_0x581e7f(0x1c6)]||!_0x24e55b[_0x581e7f(0x4a1)])return null;let _0x220c78=this[_0x581e7f(0x4c2)](_0x49185f,_0x24e55b[_0x581e7f(0x221)]);if(!_0x220c78)return null;let _0x3db9c5=_t(_0x220c78,_0x24e55b[_0x581e7f(0x1c6)],_0x24e55b[_0x581e7f(0x4a1)]);return _0x3db9c5?{'row':_0x3db9c5[_0x581e7f(0x406)],'col':_0x3db9c5[_0x581e7f(0x2f0)],'value':null}:null;}[_0x5daf81(0x36b)](_0x525e24){const _0x293681=_0x5daf81;let _0x539e76=this[_0x293681(0x552)][_0x293681(0x1ed)](_0x525e24,_0x2ddca0[_0x293681(0x33d)]);return Object[_0x293681(0x45b)]((_0x539e76==null?void 0x0:_0x539e76['getSnapshot']()[_0x293681(0x2f7)])??{})['map'](_0x458ebf=>_0x458ebf['id']);}[_0x5daf81(0x247)](){const _0xa30581=_0x5daf81;let _0xfe2f11=this['_univerInstanceService'][_0xa30581(0x34d)](_0x2ddca0[_0xa30581(0x33d)])[_0xa30581(0x2b0)](_0x428088=>Ls(_0x428088[_0xa30581(0x506)](),Object['keys'](_0x428088[_0xa30581(0x2f3)]()['tables'])));return Object['assign']({},..._0xfe2f11);}};Rs=X([Y(0x0,_0x2d4d6c),Y(0x1,_0x364596)],Rs);let zs=class extends _0x183939{constructor(_0x543f29,_0x4a5faf,_0x5daf61,_0x2e47d7){const _0x25acb2=_0x5daf81;super(),this['_commandService']=_0x543f29,this['_univerInstanceService']=_0x4a5faf,this[_0x25acb2(0x37d)]=_0x5daf61,this['_formulaCalculationSessionService']=_0x2e47d7,G(this,_0x25acb2(0x432),new Xi()),G(this,_0x25acb2(0x48c),new Map()),G(this,'_scheduledSuperTableSyncs',new Set()),G(this,'_formulaSyncQueue',Promise['resolve']()),G(this,_0x25acb2(0x423),!0x1),this[_0x25acb2(0x4d1)]();}[_0x5daf81(0x4d1)](){const _0x9bf684=_0x5daf81;this[_0x9bf684(0x552)][_0x9bf684(0x34d)](_0x2ddca0[_0x9bf684(0x33d)])[_0x9bf684(0x429)](_0x2486d2=>{this['_scheduleSuperTableSync'](_0x2486d2);}),this[_0x9bf684(0x314)](this[_0x9bf684(0x552)][_0x9bf684(0x563)](_0x2ddca0[_0x9bf684(0x33d)])[_0x9bf684(0x341)](({unit:_0x4a9ee5})=>{this['_scheduleSuperTableSync'](_0x4a9ee5);})),this['disposeWithMe'](this[_0x9bf684(0x552)][_0x9bf684(0x3c7)](_0x2ddca0[_0x9bf684(0x33d)])['subscribe'](_0x4efd20=>{const _0xc84107=_0x9bf684;this[_0xc84107(0x4d8)](()=>this[_0xc84107(0x536)](_0x4efd20[_0xc84107(0x506)]()));})),this[_0x9bf684(0x314)](this[_0x9bf684(0x4ec)][_0x9bf684(0x448)](_0x331bdf=>this[_0x9bf684(0x425)](_0x331bdf)));}['_onCommandExecuted'](_0x455ce2){const _0x3bc4d2=_0x5daf81;if(_0x455ce2['id']===_0x245562['id']){Vs(_0x455ce2['params'])&&this[_0x3bc4d2(0x4a6)](_0x455ce2[_0x3bc4d2(0x422)]);return;}if(this[_0x3bc4d2(0x423)]||_0x455ce2['id']!==Q['id'])return;let _0xcd3e5c=Bs(_0x455ce2['params'])?_0x455ce2['params']:void 0x0,_0x58fc4d=_0xcd3e5c!=null&&_0xcd3e5c[_0x3bc4d2(0x3cb)]?[this[_0x3bc4d2(0x552)][_0x3bc4d2(0x1ed)](_0xcd3e5c['unitId'],_0x2ddca0['UNIVER_BASE'])][_0x3bc4d2(0x32f)](_0x52b4b5=>!!_0x52b4b5):this['_univerInstanceService']['getAllUnitsForType'](_0x2ddca0[_0x3bc4d2(0x33d)]),_0x5af6d4=_0xcd3e5c==null?void 0x0:_0xcd3e5c['op'];_0x58fc4d['forEach'](_0x5a361b=>{const _0x51d0ea=_0x3bc4d2;let _0x44315e=_0x5af6d4?Fs(_0x5af6d4):[];(!_0x5af6d4||_0x44315e[_0x51d0ea(0x387)](_0x1cb6aa=>_0x1cb6aa[_0x51d0ea(0x483)]!==_0x51d0ea(0x203)))&&this[_0x51d0ea(0x4fb)](_0x5a361b);});}[_0x5daf81(0x4fb)](_0x45febe){const _0xabc593=_0x5daf81;let _0xbeadef=_0x45febe[_0xabc593(0x506)]();this[_0xabc593(0x4f4)][_0xabc593(0x253)](_0xbeadef)||(this[_0xabc593(0x4f4)][_0xabc593(0x4ee)](_0xbeadef),this[_0xabc593(0x4d8)](async()=>{const _0xeaa39c=_0xabc593;this[_0xeaa39c(0x4f4)]['delete'](_0xbeadef),await this[_0xeaa39c(0x1ff)](_0x45febe);}));}async[_0x5daf81(0x1ff)](_0x445040){const _0x1503a2=_0x5daf81;let _0x50f264=_0x445040[_0x1503a2(0x506)](),_0x32444f=this[_0x1503a2(0x432)]['getSuperTableRegistrations'](_0x445040[_0x1503a2(0x2f3)]()),_0x441203=new Set(_0x32444f['map'](({tableName:_0x24783f})=>_0x24783f)),_0x536249=this[_0x1503a2(0x48c)][_0x1503a2(0x315)](_0x50f264)??new Set();for(let _0x2c1714 of _0x536249)if(!_0x441203[_0x1503a2(0x253)](_0x2c1714)&&!await this[_0x1503a2(0x3e2)](_0x5c6c2d['id'],{'unitId':_0x50f264,'tableName':_0x2c1714}))return;for(let {tableName:_0x8b6803,reference:_0x140fd4}of _0x32444f)if(!await this[_0x1503a2(0x3e2)](_0x2c56be['id'],{'unitId':_0x50f264,'tableName':_0x8b6803,'reference':_0x140fd4}))return;this[_0x1503a2(0x48c)]['set'](_0x50f264,_0x441203);}async[_0x5daf81(0x536)](_0xea5ac1){const _0x57ebf2=_0x5daf81;let _0x9934cc=this[_0x57ebf2(0x48c)][_0x57ebf2(0x315)](_0xea5ac1)??new Set();for(let _0x4e1550 of _0x9934cc)if(!await this[_0x57ebf2(0x3e2)](_0x5c6c2d['id'],{'unitId':_0xea5ac1,'tableName':_0x4e1550}))return;this[_0x57ebf2(0x48c)]['delete'](_0xea5ac1);}async['_executeSuperTableMutationWhileActive'](_0x31ec86,_0x17f22d){const _0x1ea906=_0x5daf81;return!this[_0x1ea906(0x3e1)]&&await this[_0x1ea906(0x4ec)][_0x1ea906(0x327)](_0x31ec86,_0x17f22d,{'onlyLocal':!0x0})&&!this[_0x1ea906(0x3e1)];}[_0x5daf81(0x4d8)](_0x34c3be){const _0x57fc7e=_0x5daf81;this[_0x57fc7e(0x223)]=this['_formulaSyncQueue']['then'](_0x34c3be,_0x34c3be)[_0x57fc7e(0x310)](()=>void 0x0);}[_0x5daf81(0x4a6)](_0x20d46e){const _0x4e98e9=_0x5daf81;let _0x252dc6=this['_univerInstanceService'][_0x4e98e9(0x34d)](_0x2ddca0[_0x4e98e9(0x33d)]);if(!_0x252dc6[_0x4e98e9(0x387)](_0x8a2e0a=>{const _0x36264d=_0x4e98e9;var _0x1957f0;return((_0x1957f0=_0x20d46e['unitData'])==null?void 0x0:_0x1957f0[_0x8a2e0a[_0x36264d(0x506)]()])!=null;}))return;let _0x5e6630=_0x252dc6['flatMap'](_0x23a255=>Zi(_0x23a255[_0x4e98e9(0x2f3)](),_0x20d46e));if(!_0x5e6630[_0x4e98e9(0x21d)]){this[_0x4e98e9(0x464)][_0x4e98e9(0x371)](_0x310a16[_0x4e98e9(0x50f)],_0x20d46e);return;}let _0x52b36c=new W(),_0x413dd5=_0x5e6630['flatMap'](_0x106c5d=>Is({'unitId':_0x106c5d[_0x4e98e9(0x3cb)],'tableId':_0x106c5d['tableId'],'patches':_0x106c5d[_0x4e98e9(0x4b0)]}));this[_0x4e98e9(0x423)]=!0x0,(async()=>{const _0x13e357=_0x4e98e9;for(let _0x8c4a17 of _0x5e6630){let _0x2f27c1=this['_univerInstanceService']['getUnit'](_0x8c4a17[_0x13e357(0x3cb)],_0x2ddca0[_0x13e357(0x33d)]);_0x2f27c1&&await this[_0x13e357(0x4ec)][_0x13e357(0x327)](Q['id'],{'unitId':_0x8c4a17['unitId'],'op':_0x52b36c[_0x13e357(0x1d7)](_0x2f27c1[_0x13e357(0x2f3)](),_0x8c4a17[_0x13e357(0x221)],_0x8c4a17[_0x13e357(0x4b0)]),'trigger':_0x245562['id']},{'onlyLocal':!0x0});}await this[_0x13e357(0x4ec)]['executeCommand'](_0x5cddaf['id'],{'dirtyRanges':_0x413dd5},{'onlyLocal':!0x0});})()[_0x4e98e9(0x46a)](()=>{const _0x2c8150=_0x4e98e9;this[_0x2c8150(0x423)]=!0x1,this[_0x2c8150(0x464)]['markResultApplied'](_0x310a16['BASE'],_0x20d46e);});}};zs=X([Y(0x0,_0x2ca718),Y(0x1,_0x364596),Y(0x2,_0x477fb0(_0x319ec4)),Y(0x3,_0x477fb0(_0x34ef91))],zs);function Bs(_0x42eeed){const _0x254ea0=_0x5daf81;return typeof _0x42eeed=='object'&&!!_0x42eeed&&_0x254ea0(0x3cb)in _0x42eeed&&typeof _0x42eeed[_0x254ea0(0x3cb)]==_0x254ea0(0x2ed)&&'op'in _0x42eeed&&Array[_0x254ea0(0x31e)](_0x42eeed['op']);}function Vs(_0x5a34c2){const _0x2a08df=_0x5daf81;return typeof _0x5a34c2=='object'&&!!_0x5a34c2&&_0x2a08df(0x24d)in _0x5a34c2&&_0x2a08df(0x32e)in _0x5a34c2;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x183939{constructor(_0x10cf00,_0x234c94,_0x26d0b3,_0x2abceb){const _0x3974a0=_0x5daf81;super(),this[_0x3974a0(0x385)]=_0x10cf00,this[_0x3974a0(0x4ec)]=_0x234c94,this[_0x3974a0(0x43e)]=_0x26d0b3,this[_0x3974a0(0x443)]=_0x2abceb,this[_0x3974a0(0x443)][_0x3974a0(0x34d)](_0x2ddca0[_0x3974a0(0x33d)])[_0x3974a0(0x429)](_0x4fa640=>this[_0x3974a0(0x55a)](_0x4fa640[_0x3974a0(0x506)]())),this[_0x3974a0(0x314)](this[_0x3974a0(0x443)][_0x3974a0(0x563)](_0x2ddca0[_0x3974a0(0x33d)])[_0x3974a0(0x341)](({unit:_0x455657})=>this[_0x3974a0(0x55a)](_0x455657[_0x3974a0(0x506)]()))),this[_0x3974a0(0x314)](this[_0x3974a0(0x4ec)]['beforeCommandExecuted']((_0x16733a,_0x2d3a76)=>this[_0x3974a0(0x3bc)](_0x16733a,_0x2d3a76))),this[_0x3974a0(0x314)](this[_0x3974a0(0x443)]['getTypeOfUnitDisposed$'](_0x2ddca0[_0x3974a0(0x33d)])['subscribe'](_0x4bfb7f=>{const _0x1b4315=_0x3974a0;this[_0x1b4315(0x385)]['get'](_0x2cff1c)[_0x1b4315(0x326)](_0x4bfb7f[_0x1b4315(0x506)]()),Rr(this[_0x1b4315(0x43e)],_0x4bfb7f[_0x1b4315(0x506)]());}));}[_0x5daf81(0x55a)](_0x1f017a){const _0x3acd93=_0x5daf81;Tr[_0x3acd93(0x429)](_0x14bf06=>{const _0x220689=_0x3acd93;let _0x12d618=Pr(_0x1f017a,_0x1f017a,_0x14bf06);this[_0x220689(0x43e)][_0x220689(0x473)](_0x12d618['id'])||this[_0x220689(0x43e)]['addPermissionPoint'](_0x12d618);}),this[_0x3acd93(0x385)][_0x3acd93(0x315)](_0x2cff1c)[_0x3acd93(0x4c0)]({'unitId':_0x1f017a,'objectId':_0x1f017a,'objectType':_0x2ea692[_0x3acd93(0x348)]});}[_0x5daf81(0x3bc)](_0xeb984b,_0x3f5354){const _0x4d95b6=_0x5daf81;var _0x4994b8;if(_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x458)]||_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x280)])return;let _0x298aa8=tc(_0xeb984b[_0x4d95b6(0x422)])?_0xeb984b['params']:void 0x0;if(_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x1d4)]&&_0xeb984b['id']===_0x4d95b6(0x554)&&(_0x298aa8==null?void 0x0:_0x298aa8[_0x4d95b6(0x22c)])===_0x245562['id'])return;let _0x2a9d80=Gs(_0xeb984b['id']),_0x22d5ad=Ws(_0x298aa8==null?void 0x0:_0x298aa8[_0x4d95b6(0x3cb)],_0x3f5354)??(_0x2a9d80?(_0x4994b8=this[_0x4d95b6(0x443)][_0x4d95b6(0x4c8)](_0x2ddca0[_0x4d95b6(0x33d)]))==null?void 0x0:_0x4994b8['getUnitId']():void 0x0);if(!_0x22d5ad||this[_0x4d95b6(0x443)][_0x4d95b6(0x2fa)](_0x22d5ad)!==_0x2ddca0[_0x4d95b6(0x33d)])return;if(_0x2a9d80){if(!Fr(this[_0x4d95b6(0x43e)],_0x22d5ad,_0x22d5ad,_0x2a9d80))throw this[_0x4d95b6(0x385)][_0x4d95b6(0x315)](_0x1bc7ec)['emitPermissionDenied'](_0x22d5ad),new _0x55df23(_0x4d95b6(0x453)+_0x44dc45[_0x2a9d80]+_0x4d95b6(0x26f));return;}if(Hs[_0x4d95b6(0x253)](_0xeb984b['id'])||!_0xeb984b['id']['startsWith']('base.command.')&&!_0xeb984b['id']['startsWith'](_0x4d95b6(0x4bf)))return;let _0x47ef52=this['_instanceService'][_0x4d95b6(0x1ed)](_0x22d5ad,_0x2ddca0[_0x4d95b6(0x33d)]),_0x4ad62e=_0x47ef52?Ks(_0x47ef52,_0x298aa8??{},_0xeb984b['id']):[];if(!_0x47ef52||!zr(this[_0x4d95b6(0x43e)],_0x22d5ad,_0x4ad62e))throw this[_0x4d95b6(0x385)][_0x4d95b6(0x315)](_0x1bc7ec)[_0x4d95b6(0x4f8)](_0x22d5ad,_0x4ad62e),new _0x55df23('Base\x20edit\x20permission\x20denied.');}};Us=X([Y(0x0,_0x477fb0(_0x46096e)),Y(0x1,_0x2ca718),Y(0x2,_0x2f962f),Y(0x3,_0x364596)],Us);function Ws(_0x502280,_0x5a1ccd){const _0x4b1824=_0x5daf81;return typeof _0x502280==_0x4b1824(0x2ed)?_0x502280:typeof(_0x5a1ccd==null?void 0x0:_0x5a1ccd[_0x4b1824(0x3cb)])==_0x4b1824(0x2ed)?_0x5a1ccd['unitId']:void 0x0;}function Gs(_0x5f51ef){const _0x265763=_0x5daf81;if(_0x5f51ef===_0x265763(0x46e)||_0x5f51ef===_0x265763(0x449))return _0x44dc45[_0x265763(0x29b)];if(_0x5f51ef['startsWith'](_0x265763(0x2bc))||_0x5f51ef[_0x265763(0x265)]('thread-comment.mutation.'))return _0x44dc45[_0x265763(0x332)];}function Ks(_0x5e4828,_0x11baa4,_0x1bd901){const _0x24b664=_0x5daf81;if(_0x1bd901===_0x24b664(0x554)&&ec(_0x11baa4['op']))return qs(_0x5e4828,_0x11baa4['op']);let _0x4841a1=new Set(),_0x159d68=Zs(_0x11baa4,_0x24b664(0x524)),_0x2f2cfb=typeof _0x11baa4[_0x24b664(0x221)]=='string'?_0x11baa4[_0x24b664(0x221)]:_0x159d68[0x0];if(_0x159d68[_0x24b664(0x429)](_0x6c8a00=>_0x4841a1[_0x24b664(0x4ee)](K(_0x6c8a00))),!_0x2f2cfb)return[..._0x4841a1];let _0x43246f=_0x5e4828['getSnapshot']()[_0x24b664(0x2f7)][_0x2f2cfb],_0x1a51e8=new Set(Zs(_0x11baa4,_0x24b664(0x50a))),_0xf006e3=new Set(Zs(_0x11baa4,_0x24b664(0x1b5))),_0x49f895=new Set(Zs(_0x11baa4,'view'));return Qs(_0x43246f,_0x11baa4[_0x24b664(0x4b0)],_0xf006e3,_0x1a51e8),$s(_0x11baa4,_0x1a51e8),_0x1a51e8[_0x24b664(0x429)](_0x3e2077=>_0x4841a1[_0x24b664(0x4ee)](q(_0x2f2cfb,_0x3e2077))),_0xf006e3[_0x24b664(0x429)](_0x38913d=>_0x4841a1['add'](J(_0x2f2cfb,_0x38913d))),_0x49f895[_0x24b664(0x429)](_0x21b052=>_0x4841a1[_0x24b664(0x4ee)](Mr(_0x2f2cfb,_0x21b052))),[..._0x4841a1];}function qs(_0x45d7b7,_0x5e9aab){const _0x1b7995=_0x5daf81;let _0x4a67bb=_0x45d7b7['getSnapshot'](),_0x1aece5=new z()[_0x1b7995(0x26e)](_0x5e9aab),_0x5aa757=Js(_0x5e9aab),_0x32deec=new Set();return _0x1aece5['forEach'](_0x639bc4=>{const _0x32496c=_0x1b7995;var _0xb5cb86,_0x9a1c9c;let {tableId:_0x18aad3}=_0x639bc4;if(!_0x18aad3)return;_0x32deec['add'](K(_0x18aad3));let _0x5df837=_0x4a67bb[_0x32496c(0x2f7)][_0x18aad3],_0xbb9c51=_0x639bc4[_0x32496c(0x1c6)]??(_0x639bc4[_0x32496c(0x406)]==null||_0x5df837==null||(_0xb5cb86=_0x5df837[_0x32496c(0x1ec)])==null?void 0x0:_0xb5cb86[_0x639bc4[_0x32496c(0x406)]]),_0x232b1a=_0x639bc4[_0x32496c(0x4a1)]??(_0x639bc4['column']==null||_0x5df837==null||(_0x9a1c9c=_0x5df837[_0x32496c(0x33c)])==null?void 0x0:_0x9a1c9c[_0x639bc4[_0x32496c(0x1cc)]]);_0xbb9c51&&_0x32deec[_0x32496c(0x4ee)](J(_0x18aad3,_0xbb9c51)),_0x232b1a&&_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0x232b1a)),_0x639bc4[_0x32496c(0x3c2)]&&_0x32deec[_0x32496c(0x4ee)](Mr(_0x18aad3,_0x639bc4['viewId'])),(_0x639bc4['reason']===_0x32496c(0x524)||_0x5aa757[_0x32496c(0x253)](_0x18aad3))&&_0x5df837&&(Object['keys'](_0x5df837[_0x32496c(0x503)])[_0x32496c(0x429)](_0x4e8ee3=>_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0x4e8ee3))),Object['keys'](_0x5df837[_0x32496c(0x43a)])[_0x32496c(0x429)](_0x2d1797=>_0x32deec[_0x32496c(0x4ee)](J(_0x18aad3,_0x2d1797))),Object[_0x32496c(0x46f)](_0x5df837[_0x32496c(0x1e8)])[_0x32496c(0x429)](_0x385b4d=>_0x32deec['add'](Mr(_0x18aad3,_0x385b4d)))),_0x639bc4['reason']===_0x32496c(0x1b5)&&_0x5df837&&Object[_0x32496c(0x46f)](_0x5df837[_0x32496c(0x503)])[_0x32496c(0x429)](_0xa4033d=>_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0xa4033d)));}),_0x1aece5[_0x1b7995(0x21d)]===0x0&&Xs(_0x5e9aab,'tableOrder')&&Object[_0x1b7995(0x46f)](_0x4a67bb[_0x1b7995(0x2f7)])[_0x1b7995(0x429)](_0x28a7b4=>_0x32deec['add'](K(_0x28a7b4))),[..._0x32deec];}function Js(_0x556f74){let _0x24c04b=new Set(),_0x3ea79c=_0x32200d=>{const _0x2ef9ee=_0x188f;Array['isArray'](_0x32200d)&&_0x32200d[_0x2ef9ee(0x429)]((_0x3fcf02,_0xdb7fe1)=>{const _0x2ce2f4=_0x2ef9ee;_0x3fcf02===_0x2ce2f4(0x2f7)&&typeof _0x32200d[_0xdb7fe1+0x1]==_0x2ce2f4(0x2ed)&&Ys(_0x32200d[_0xdb7fe1+0x2])&&_0x24c04b['add'](_0x32200d[_0xdb7fe1+0x1]),_0x3ea79c(_0x3fcf02);});};return _0x3ea79c(_0x556f74),_0x24c04b;}function Ys(_0x5be3dd){const _0x47de31=_0x5daf81;return!!_0x5be3dd&&typeof _0x5be3dd==_0x47de31(0x1fb)&&!Array[_0x47de31(0x31e)](_0x5be3dd)&&('i'in _0x5be3dd||'r'in _0x5be3dd||'p'in _0x5be3dd||'d'in _0x5be3dd||'es'in _0x5be3dd||'ena'in _0x5be3dd||'et'in _0x5be3dd);}function Xs(_0x2f2f29,_0x1187d6){const _0x221253=_0x5daf81;return Array[_0x221253(0x31e)](_0x2f2f29)&&_0x2f2f29['some'](_0x11679f=>_0x11679f===_0x1187d6||Xs(_0x11679f,_0x1187d6));}function Zs(_0x44432a,_0x52c0eb){let _0x207996=new Set(),_0xd09c84=_0x52c0eb+'Id',_0x3cd397=_0x52c0eb+'Ids',_0x36dded=(_0x33addd,_0x5036d0='')=>{const _0x542170=_0x188f;typeof _0x33addd==_0x542170(0x2ed)?_0x5036d0===_0xd09c84&&_0x207996[_0x542170(0x4ee)](_0x33addd):Array[_0x542170(0x31e)](_0x33addd)?_0x5036d0===_0x3cd397?_0x33addd[_0x542170(0x429)](_0x1fa1d8=>{typeof _0x1fa1d8=='string'&&_0x207996['add'](_0x1fa1d8);}):_0x33addd[_0x542170(0x429)](_0x14b60b=>_0x36dded(_0x14b60b,_0x5036d0)):tc(_0x33addd)&&Object['entries'](_0x33addd)[_0x542170(0x429)](([_0x27e6fe,_0x6cc7c7])=>{const _0x2a50b0=_0x542170;_0x27e6fe==='id'&&_0x5036d0===_0x52c0eb&&typeof _0x6cc7c7==_0x2a50b0(0x2ed)?_0x207996['add'](_0x6cc7c7):_0x36dded(_0x6cc7c7,_0x27e6fe);});};return _0x36dded(_0x44432a),[..._0x207996];}function Qs(_0x401703,_0x212d52,_0x5c4835,_0x25bf56){_0x401703&&Array['isArray'](_0x212d52)&&_0x212d52['forEach'](_0x3f5248=>{const _0x53802a=_0x188f;if(!tc(_0x3f5248))return;let _0x12d8fd=_0x3f5248;if(typeof _0x12d8fd[_0x53802a(0x406)]==_0x53802a(0x53d)){var _0x340380;let _0x266259=(_0x340380=_0x401703[_0x53802a(0x1ec)])==null?void 0x0:_0x340380[_0x12d8fd[_0x53802a(0x406)]];_0x266259&&_0x5c4835['add'](_0x266259);}if(typeof _0x12d8fd[_0x53802a(0x2f0)]==_0x53802a(0x53d)){var _0x2647d5;let _0x2744f0=(_0x2647d5=_0x401703[_0x53802a(0x33c)])==null?void 0x0:_0x2647d5[_0x12d8fd[_0x53802a(0x2f0)]];_0x2744f0&&_0x25bf56['add'](_0x2744f0);}});}function $s(_0xabae87,_0x40a9e1,_0x4b5635=''){const _0x430620=_0x5daf81;_0xabae87&&typeof _0xabae87==_0x430620(0x1fb)&&(Array[_0x430620(0x31e)](_0xabae87)?_0xabae87[_0x430620(0x429)](_0x32274d=>$s(_0x32274d,_0x40a9e1,_0x4b5635)):tc(_0xabae87)&&Object[_0x430620(0x2e4)](_0xabae87)[_0x430620(0x429)](([_0x3626f1,_0x303d74])=>{const _0x2b7e35=_0x430620;_0x4b5635===_0x2b7e35(0x45b)&&_0x40a9e1[_0x2b7e35(0x4ee)](_0x3626f1),$s(_0x303d74,_0x40a9e1,_0x3626f1);}));}function ec(_0x66e604){return Array['isArray'](_0x66e604);}function tc(_0x2b3dd8){const _0x523abb=_0x5daf81;return typeof _0x2b3dd8==_0x523abb(0x1fb)&&!!_0x2b3dd8&&!Array[_0x523abb(0x31e)](_0x2b3dd8);}const nc=_0x3262c5(_0x5daf81(0x54a));let rc=class{constructor(_0x442a58){const _0x51d8cf=_0x5daf81;this[_0x51d8cf(0x552)]=_0x442a58;}['getBase'](_0x40a1ce){const _0x4d89bd=_0x5daf81;return this[_0x4d89bd(0x552)][_0x4d89bd(0x1ed)](_0x40a1ce,_0x2ddca0['UNIVER_BASE'])??null;}['getAllBases'](){const _0x189b48=_0x5daf81;return this['_univerInstanceService'][_0x189b48(0x34d)](_0x2ddca0[_0x189b48(0x33d)]);}['createBase'](_0x5d5f54){const _0x49c072=_0x5daf81;return this['_univerInstanceService'][_0x49c072(0x55c)](_0x2ddca0[_0x49c072(0x33d)],_0x5d5f54);}};rc=X([Y(0x0,_0x364596)],rc);const ic=_0x3262c5('base.view-registry.service');var ac=class extends _0x183939{constructor(..._0x54478f){const _0x2d43b0=_0x5daf81;super(..._0x54478f),G(this,_0x2d43b0(0x450),new Map());}['register'](_0x1bb256){const _0x2ecae1=_0x5daf81;return this[_0x2ecae1(0x450)][_0x2ecae1(0x1ba)](_0x1bb256[_0x2ecae1(0x305)],_0x1bb256),_0x1a388a(()=>this[_0x2ecae1(0x450)][_0x2ecae1(0x3ae)](_0x1bb256['type']));}[_0x5daf81(0x315)](_0x3fe08f){const _0xc51a9e=_0x5daf81;let _0x3b8b66=this[_0xc51a9e(0x450)]['get'](_0x3fe08f);if(!_0x3b8b66)throw Error(_0xc51a9e(0x2ce)+_0x3fe08f+_0xc51a9e(0x2ec));return _0x3b8b66;}[_0x5daf81(0x4a5)](){const _0x33ef1d=_0x5daf81;return Array[_0x33ef1d(0x404)](this[_0x33ef1d(0x450)][_0x33ef1d(0x45b)]());}};const oc=[Q];let sc=class extends _0x29b1cf{constructor(_0x3550d7=Ns,_0x2cd8f0,_0x5706df,_0x335e12,_0x3dcee9,_0xe50f9e){const _0x46f9c7=_0x5daf81;super(),this[_0x46f9c7(0x3d7)]=_0x3550d7,this[_0x46f9c7(0x385)]=_0x2cd8f0,this[_0x46f9c7(0x4ec)]=_0x5706df,this[_0x46f9c7(0x552)]=_0x335e12,this[_0x46f9c7(0x557)]=_0x3dcee9,this[_0x46f9c7(0x3b0)]=_0xe50f9e,G(this,_0x46f9c7(0x4d2),new Map());let {..._0x4f6931}=_0x5a5f56({},Ns,this[_0x46f9c7(0x3d7)]);this[_0x46f9c7(0x557)][_0x46f9c7(0x438)](_0x46f9c7(0x540),_0x4f6931),this[_0x46f9c7(0x552)][_0x46f9c7(0x3d4)](_0x2ddca0[_0x46f9c7(0x33d)],_0x3bc5ac),this[_0x46f9c7(0x521)](),this[_0x46f9c7(0x263)](),this[_0x46f9c7(0x255)](),this[_0x46f9c7(0x2a7)]();}[_0x5daf81(0x28c)](){const _0x521c53=_0x5daf81;this[_0x521c53(0x385)][_0x521c53(0x4ee)]([Lo]),this[_0x521c53(0x314)](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2ca718)[_0x521c53(0x535)](Ro)),this['disposeWithMe'](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2ca718)['registerCommand'](zo)),this[_0x521c53(0x314)](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2cff1c)[_0x521c53(0x205)](_0x2ea692[_0x521c53(0x348)],this[_0x521c53(0x385)][_0x521c53(0x315)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x18b40d=_0x5daf81;_0x32cf62(this[_0x18b40d(0x385)],[[rc],[qr],[Rs]]),this[_0x18b40d(0x552)][_0x18b40d(0x34d)](_0x2ddca0[_0x18b40d(0x33d)])[_0x18b40d(0x429)](_0x208347=>this[_0x18b40d(0x452)](_0x208347[_0x18b40d(0x506)]())),_0x32cf62(this[_0x18b40d(0x385)],[[zs],[Us]]);}[_0x5daf81(0x521)](){const _0xd4bbbf=_0x5daf81;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0xd4bbbf(0x429)](_0xb5dd20=>this[_0xd4bbbf(0x385)][_0xd4bbbf(0x4ee)](_0xb5dd20));}['_initCommands'](){const _0x31323d=_0x5daf81;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x31323d(0x429)](_0x421159=>this[_0x31323d(0x314)](this[_0x31323d(0x4ec)][_0x31323d(0x535)](_0x421159))),oc[_0x31323d(0x429)](_0x306242=>{const _0x4bd16f=_0x31323d;var _0x5b6d3a;return(_0x5b6d3a=this[_0x4bd16f(0x3b0)])==null?void 0x0:_0x5b6d3a[_0x4bd16f(0x1cd)](_0x306242);});}[_0x5daf81(0x2a7)](){const _0x3831c4=_0x5daf81;this['_dataSyncPrimaryController']&&(this[_0x3831c4(0x314)](this[_0x3831c4(0x552)]['getTypeOfUnitAdded$'](_0x2ddca0[_0x3831c4(0x33d)])['subscribe'](({unit:_0x345bff})=>{const _0x486c3f=_0x3831c4;this[_0x486c3f(0x452)](_0x345bff[_0x486c3f(0x506)]());})),this[_0x3831c4(0x314)](this[_0x3831c4(0x552)][_0x3831c4(0x3c7)](_0x2ddca0[_0x3831c4(0x33d)])['subscribe'](_0xb847b0=>{const _0x392789=_0x3831c4;var _0x310454;(_0x310454=this[_0x392789(0x4d2)][_0x392789(0x315)](_0xb847b0[_0x392789(0x506)]()))==null||_0x310454[_0x392789(0x399)](),this[_0x392789(0x4d2)][_0x392789(0x3ae)](_0xb847b0['getUnitId']());})));}['_syncBaseUnit'](_0x53efa0){const _0x10c13a=_0x5daf81;this[_0x10c13a(0x3b0)]&&!this[_0x10c13a(0x4d2)][_0x10c13a(0x253)](_0x53efa0)&&this['_baseSyncDisposables'][_0x10c13a(0x1ba)](_0x53efa0,this['_dataSyncPrimaryController'][_0x10c13a(0x358)](_0x53efa0));}[_0x5daf81(0x255)](){const _0x3bc870=_0x5daf81;let _0x162d0b=this[_0x3bc870(0x385)][_0x3bc870(0x315)](mr);zn()['forEach'](_0x13da42=>_0x162d0b['register'](_0x13da42));let _0x3bb1ea=this[_0x3bc870(0x385)][_0x3bc870(0x315)](ic),_0x32a25d=this['_injector'][_0x3bc870(0x315)](ii);$r()['forEach'](_0x2faa8b=>{const _0x43bd16=_0x3bc870;_0x3bb1ea[_0x43bd16(0x549)](_0x2faa8b),_0x32a25d[_0x43bd16(0x3d3)](_0x2faa8b);});}};G(sc,_0x5daf81(0x2f4),'BASES_PLUGIN'),G(sc,_0x5daf81(0x4f1),js),G(sc,'version',Ms),G(sc,_0x5daf81(0x305),_0x2ddca0[_0x5daf81(0x33d)]),sc=X([_0x2061bd(_0x4380c0,_0x446c43),Y(0x1,_0x477fb0(_0x46096e)),Y(0x2,_0x2ca718),Y(0x3,_0x364596),Y(0x4,_0x14abe6),Y(0x5,_0x1c6aef(_0x51b863))],sc);let cc=class extends _0x29b1cf{constructor(_0xf85dc7=Ps,_0x190083,_0x50b954,_0x128aa1,_0x1666ec){const _0x3075b7=_0x5daf81;super(),this[_0x3075b7(0x3d7)]=_0xf85dc7,this[_0x3075b7(0x385)]=_0x190083,this['_commandService']=_0x50b954,this[_0x3075b7(0x557)]=_0x128aa1,this[_0x3075b7(0x552)]=_0x1666ec;let {..._0x399ac2}=_0x5a5f56({},Ps,this[_0x3075b7(0x3d7)]);this[_0x3075b7(0x557)][_0x3075b7(0x438)](_0x3075b7(0x47a),_0x399ac2),this[_0x3075b7(0x552)][_0x3075b7(0x3d4)](_0x2ddca0[_0x3075b7(0x33d)],_0x3bc5ac),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x5309f3=>this[_0x3075b7(0x385)][_0x3075b7(0x4ee)](_0x5309f3)),oc[_0x3075b7(0x429)](_0x250e5f=>this['disposeWithMe'](this[_0x3075b7(0x4ec)]['registerCommand'](_0x250e5f)));}};G(cc,_0x5daf81(0x2f4),'REMOTE_BASES_PLUGIN'),G(cc,'packageName',js),G(cc,_0x5daf81(0x2c3),Ms),G(cc,_0x5daf81(0x305),_0x2ddca0[_0x5daf81(0x33d)]),cc=X([_0x2061bd(_0x4380c0,_0x446c43),Y(0x1,_0x477fb0(_0x46096e)),Y(0x2,_0x2ca718),Y(0x3,_0x14abe6),Y(0x4,_0x364596)],cc);function lc(_0x4e1501){const _0x3a2d62=_0x5daf81;let _0x2a503e=Cc(_0x4e1501['query']);if(!_0x2a503e)return{'query':'','total':0x0,'matches':[]};let _0x5cc4d3=[],_0x3c2247=[];for(let _0x103bb2=0x0;_0x103bb2<_0x4e1501[_0x3a2d62(0x209)]['length'];_0x103bb2++){if(!(_0x103bb2 in _0x4e1501[_0x3a2d62(0x209)]))continue;let _0x4a4dc8=_0x4e1501['table'][_0x3a2d62(0x503)][_0x4e1501[_0x3a2d62(0x209)][_0x103bb2]];_0x4a4dc8&&_0x3c2247[_0x3a2d62(0x482)]({'field':_0x4a4dc8,'fieldIndex':_0x103bb2});}_0x4e1501[_0x3a2d62(0x372)][_0x3a2d62(0x429)]((_0x4904df,_0x2467f9)=>{const _0x35b53e=_0x3a2d62;_0x3c2247[_0x35b53e(0x429)](({field:_0x98aa86,fieldIndex:_0x129769})=>{const _0x322e3c=_0x35b53e;let _0x1460ef=uc(_0x4904df[_0x322e3c(0x45b)][_0x98aa86['id']],_0x98aa86);if(!_0x1460ef)return;let _0x34288f=Sc(_0x2a503e,_0x1460ef[_0x322e3c(0x264)]);_0x34288f<=0x0||_0x5cc4d3[_0x322e3c(0x482)]({'recordId':_0x4904df[_0x322e3c(0x1c6)],'fieldId':_0x98aa86['id'],'fieldType':_0x98aa86[_0x322e3c(0x305)],'text':_0x1460ef[_0x322e3c(0x2dd)],'score':_0x34288f,'rowIndex':_0x2467f9,'fieldIndex':_0x129769});});}),_0x5cc4d3[_0x3a2d62(0x3c5)]((_0x3c7ebb,_0x40b83d)=>_0x40b83d[_0x3a2d62(0x1c1)]-_0x3c7ebb[_0x3a2d62(0x1c1)]||_0x3c7ebb['rowIndex']-_0x40b83d[_0x3a2d62(0x2c4)]||_0x3c7ebb['fieldIndex']-_0x40b83d[_0x3a2d62(0x301)]);let _0x4cd9bf=_0x4e1501['limit']==null?_0x5cc4d3:_0x5cc4d3[_0x3a2d62(0x1cb)](0x0,Math[_0x3a2d62(0x29c)](0x0,_0x4e1501[_0x3a2d62(0x354)]));return{'query':_0x2a503e,'total':_0x5cc4d3[_0x3a2d62(0x21d)],'matches':Tc(_0x4cd9bf)};}function uc(_0x3332aa,_0x3ab791){const _0x3989aa=_0x5daf81;let _0x537500=[];for(let _0x97ba47 of fc(_0x3332aa,_0x3ab791)){let _0x24af4b=Cc(_0x97ba47);_0x24af4b&&_0x537500[_0x3989aa(0x482)](_0x24af4b);}return _0x537500[_0x3989aa(0x21d)]?{'displayText':dc(_0x3332aa,_0x3ab791),'searchTexts':wc(_0x537500)}:null;}function dc(_0x31bc09,_0x4ac8d6){const _0x389358=_0x5daf81;switch(_0x4ac8d6[_0x389358(0x305)]){case _0x618ba['SingleSelect']:case _0x618ba[_0x389358(0x3a1)]:case _0x618ba[_0x389358(0x377)]:return pc(_0x31bc09,_0x4ac8d6)[_0x389358(0x30a)](',\x20');case _0x618ba['Link']:return gc(_0x31bc09);case _0x618ba[_0x389358(0x47c)]:case _0x618ba['CreatedAt']:case _0x618ba[_0x389358(0x29f)]:return _c(_0x31bc09,_0x4ac8d6);case _0x618ba['Number']:case _0x618ba[_0x389358(0x20a)]:return vc(_0x31bc09,_0x4ac8d6);case _0x618ba[_0x389358(0x257)]:return yc(_0x31bc09,_0x4ac8d6);case _0x618ba[_0x389358(0x4bb)]:return _0x31bc09?_0x389358(0x4df):_0x389358(0x380);case _0x618ba[_0x389358(0x1f8)]:return bc(_0x31bc09)[_0x389358(0x30a)](',\x20');default:return xc(_0x31bc09);}}function fc(_0xb394b5,_0x57c997){const _0x484b6c=_0x5daf81;switch(_0x57c997[_0x484b6c(0x305)]){case _0x618ba[_0x484b6c(0x3af)]:case _0x618ba[_0x484b6c(0x3a1)]:case _0x618ba['Group']:{let _0x2ca277=pc(_0xb394b5,_0x57c997);if(Array[_0x484b6c(0x31e)](_0xb394b5)){let _0x16846a=[..._0x2ca277];for(let _0x3313be=0x0;_0x3313be<_0xb394b5['length'];_0x3313be++)_0x3313be in _0xb394b5&&_0x16846a[_0x484b6c(0x482)](String(_0xb394b5[_0x3313be]));return _0x16846a;}return _0xb394b5==null?_0x2ca277:[..._0x2ca277,String(_0xb394b5)];}case _0x618ba[_0x484b6c(0x42d)]:{let _0x59a637=hc(_0xb394b5);return[_0x59a637[_0x484b6c(0x38e)],_0x59a637[_0x484b6c(0x4fe)]];}case _0x618ba['Date']:case _0x618ba[_0x484b6c(0x3fb)]:case _0x618ba[_0x484b6c(0x29f)]:return[_c(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba[_0x484b6c(0x480)]:case _0x618ba['Currency']:return[vc(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba[_0x484b6c(0x257)]:return[yc(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba['Checkbox']:return _0xb394b5?[_0x484b6c(0x4df),_0x484b6c(0x2ca),'True']:['Unchecked','No',_0x484b6c(0x3dd)];case _0x618ba[_0x484b6c(0x1f8)]:return bc(_0xb394b5);default:return[xc(_0xb394b5)];}}function pc(_0x548148,_0x4753fa){const _0x596ce5=_0x5daf81;var _0x1a7426;let _0x2b74fc=Array[_0x596ce5(0x31e)]((_0x1a7426=_0x4753fa[_0x596ce5(0x396)])==null?void 0x0:_0x1a7426[_0x596ce5(0x49e)])?_0x4753fa[_0x596ce5(0x396)]['options']:[],_0x41f474=[];if(Array['isArray'](_0x548148)){for(let _0x10197f=0x0;_0x10197f<_0x548148['length'];_0x10197f++){if(!(_0x10197f in _0x548148))continue;let _0x1cfd6e=String(_0x548148[_0x10197f]);_0x1cfd6e&&_0x41f474['push'](mc(_0x2b74fc,_0x1cfd6e));}return _0x41f474;}if(_0x548148!=null){let _0x36accd=String(_0x548148);_0x36accd&&_0x41f474[_0x596ce5(0x482)](mc(_0x2b74fc,_0x36accd));}return _0x41f474;}function mc(_0x46b88f,_0x51dc51){const _0x3b48d3=_0x5daf81;for(let _0x146796 of _0x46b88f){if(typeof _0x146796==_0x3b48d3(0x2ed)&&_0x146796===_0x51dc51)return _0x146796;if(_0x146796&&typeof _0x146796==_0x3b48d3(0x1fb)){let _0x3aa935=_0x146796;if(String(_0x3aa935['id']??_0x3aa935[_0x3b48d3(0x322)]??'')===_0x51dc51||String(_0x3aa935['name']??'')===_0x51dc51)return String(_0x3aa935[_0x3b48d3(0x322)]??_0x3aa935['id']??_0x51dc51);}}return _0x51dc51;}function hc(_0x495d35){const _0x474d34=_0x5daf81;if(_0x495d35&&typeof _0x495d35=='object'&&!Array[_0x474d34(0x31e)](_0x495d35)){let _0x728f2f=_0x495d35;return{'text':String(_0x728f2f['text']??_0x728f2f[_0x474d34(0x4fe)]??''),'url':String(_0x728f2f[_0x474d34(0x4fe)]??'')};}return{'text':xc(_0x495d35),'url':xc(_0x495d35)};}function gc(_0x13b670){const _0x4a8a66=_0x5daf81;let _0xcfa46c=hc(_0x13b670);return _0xcfa46c[_0x4a8a66(0x38e)]||_0xcfa46c[_0x4a8a66(0x4fe)];}function _c(_0x5b0edf,_0x31274d){const _0x455490=_0x5daf81;return typeof _0x5b0edf!=_0x455490(0x53d)||!Number[_0x455490(0x2fc)](_0x5b0edf)?'':mn(_0x5b0edf,_0x31274d[_0x455490(0x396)]);}function vc(_0x2354cd,_0x3bdf98){const _0x17469a=_0x5daf81;let _0x5ba65d=typeof _0x2354cd==_0x17469a(0x53d)?_0x2354cd:Number(_0x2354cd);return Number[_0x17469a(0x2fc)](_0x5ba65d)?qo(_0x5ba65d,_0x3bdf98[_0x17469a(0x396)]):'';}function yc(_0x7ef953,_0x56a849){const _0x3ddf06=_0x5daf81;let _0x48c3fc=typeof _0x7ef953==_0x3ddf06(0x53d)?_0x7ef953:Number(_0x7ef953);return Number['isFinite'](_0x48c3fc)?Qo(_0x48c3fc,_0x56a849[_0x3ddf06(0x396)]):'';}function bc(_0x1f631d){const _0x26821e=_0x5daf81;return Array[_0x26821e(0x31e)](_0x1f631d)?_0x1f631d[_0x26821e(0x36c)](_0x586d26=>{const _0x34428a=_0x26821e;if(!_0x586d26||typeof _0x586d26!=_0x34428a(0x1fb))return[];let _0x60127e=_0x586d26,_0xaa900f=String(_0x60127e[_0x34428a(0x322)]??_0x60127e['url']??'')[_0x34428a(0x3a5)]();return _0xaa900f?[_0xaa900f]:[];}):[];}function xc(_0x4ad12e){const _0x5dd3ce=_0x5daf81;if(_0x4ad12e==null)return'';if(typeof _0x4ad12e==_0x5dd3ce(0x26c))return _0x4ad12e?'true':_0x5dd3ce(0x299);if(typeof _0x4ad12e==_0x5dd3ce(0x53d))return String(_0x4ad12e);if(Array['isArray'](_0x4ad12e)){let _0x2a648f=[];for(let _0x2b1ea3=0x0;_0x2b1ea3<_0x4ad12e[_0x5dd3ce(0x21d)];_0x2b1ea3++){if(!(_0x2b1ea3 in _0x4ad12e))continue;let _0x46dbc7=xc(_0x4ad12e[_0x2b1ea3]);_0x46dbc7&&_0x2a648f[_0x5dd3ce(0x482)](_0x46dbc7);}return _0x2a648f[_0x5dd3ce(0x30a)](',\x20');}if(typeof _0x4ad12e=='object'){let _0x1061da=_0x4ad12e;return String(_0x1061da[_0x5dd3ce(0x2ff)]??_0x1061da[_0x5dd3ce(0x322)]??_0x1061da['text']??_0x1061da[_0x5dd3ce(0x4fe)]??'')[_0x5dd3ce(0x3a5)]();}return String(_0x4ad12e);}function Sc(_0x374de4,_0x113413){const _0x38417c=_0x5daf81;let _0x2f99e3=0x0;for(let _0x527284 of _0x113413)_0x527284&&(_0x527284===_0x374de4?_0x2f99e3=Math[_0x38417c(0x29c)](_0x2f99e3,0x12c):_0x527284[_0x38417c(0x265)](_0x374de4)?_0x2f99e3=Math['max'](_0x2f99e3,0xfa):_0x527284[_0x38417c(0x4f9)](_0x374de4)&&(_0x2f99e3=Math[_0x38417c(0x29c)](_0x2f99e3,0xc8)));return _0x2f99e3;}function Cc(_0xd841b8){const _0x37b2ad=_0x5daf81;return _0xd841b8[_0x37b2ad(0x3a5)]()[_0x37b2ad(0x39b)](/\s+/g,'\x20')[_0x37b2ad(0x40c)]();}function wc(_0x31b2d3){const _0x1101a4=_0x5daf81;return Array[_0x1101a4(0x404)](new Set(_0x31b2d3));}function Tc(_0x3e70b4){const _0x1bd8b7=_0x5daf81;let _0x49ce06=[];for(let {rowIndex:_0x2cfa33,fieldIndex:_0x3c1dbf,..._0x33ee13}of _0x3e70b4)_0x49ce06[_0x1bd8b7(0x482)](_0x33ee13);return _0x49ce06;}function Ec(_0x56d10d){const _0x114f94=_0x5daf81;return{'compress':!0x0,'kind':_0x114f94(0x4f2),'u':_0x56d10d[_0x114f94(0x3cb)],'t':_0x56d10d[_0x114f94(0x221)],'p':_0x56d10d[_0x114f94(0x4b0)][_0x114f94(0x2b0)](_0x4e7a74=>[_0x4e7a74[_0x114f94(0x406)],_0x4e7a74[_0x114f94(0x2f0)],Ac(_0x4e7a74['value'])]),..._0x56d10d[_0x114f94(0x22c)]===void 0x0?{}:{'g':_0x56d10d[_0x114f94(0x22c)]}};}function Dc(_0x38298e){const _0x441aca=_0x5daf81;if(Lc(_0x38298e,_0x441aca(0x4f2)),!Oc(_0x38298e)){if(!Ic(_0x38298e))throw Error(_0x441aca(0x393));return _0x38298e;}return{'unitId':_0x38298e['u'],'tableId':_0x38298e['t'],'patches':_0x38298e['p']['map'](([_0x45269b,_0x21c227,_0x44e97b])=>({'row':_0x45269b,'col':_0x21c227,'value':jc(_0x44e97b)})),..._0x38298e['g']===void 0x0?{}:{'trigger':_0x38298e['g']}};}function Oc(_0x5f342b){const _0x5b052f=_0x5daf81;return!Rc(_0x5f342b)||_0x5f342b['compress']!==!0x0||_0x5f342b[_0x5b052f(0x29e)]!=='base-range-values-v1'?!0x1:typeof _0x5f342b['u']==_0x5b052f(0x2ed)&&typeof _0x5f342b['t']==_0x5b052f(0x2ed)&&(_0x5f342b['g']===void 0x0||typeof _0x5f342b['g']==_0x5b052f(0x2ed))&&Array[_0x5b052f(0x31e)](_0x5f342b['p'])&&_0x5f342b['p'][_0x5b052f(0x2ab)](_0x4be59b=>Array['isArray'](_0x4be59b)&&_0x4be59b[_0x5b052f(0x21d)]===0x3&&Number[_0x5b052f(0x317)](_0x4be59b[0x0])&&Number[_0x5b052f(0x317)](_0x4be59b[0x1]));}function kc(_0x3320d4){const _0x3a82e0=_0x5daf81;return!Rc(_0x3320d4)||_0x3320d4['compress']!==!0x0||_0x3320d4['kind']!==_0x3a82e0(0x368)||!Rc(_0x3320d4[_0x3a82e0(0x2f7)])?!0x1:Object[_0x3a82e0(0x45b)](_0x3320d4['tables'])['every'](_0xc5ea2a=>Rc(_0xc5ea2a)&&(_0xc5ea2a['cd']===void 0x0||Array[_0x3a82e0(0x31e)](_0xc5ea2a['cd'])&&_0xc5ea2a['cd'][_0x3a82e0(0x2ab)](_0x81c881=>Array[_0x3a82e0(0x31e)](_0x81c881)&&_0x81c881[_0x3a82e0(0x21d)]===0x3&&Number[_0x3a82e0(0x317)](_0x81c881[0x0])&&Number['isInteger'](_0x81c881[0x1])&&Fc(_0x81c881[0x2]))));}function Ac(_0x3d6e4a){return Pc(_0x3d6e4a)?Mc(_0x3d6e4a):_0x3d6e4a;}function jc(_0xda36a3){return Fc(_0xda36a3)?Nc(_0xda36a3):_0xda36a3;}function Mc(_0xbafab2){return{'c':0x1,..._0xbafab2['v']===void 0x0?{}:{'v':_0xbafab2['v']},..._0xbafab2['t']!==void 0x0&&_0xbafab2['t']!==null?{'t':_0xbafab2['t']}:_0xbafab2['t']===null?{'t':null}:{},..._0xbafab2['f']!==void 0x0&&_0xbafab2['f']!==null?{'f':_0xbafab2['f']}:_0xbafab2['f']===null?{'f':null}:{},..._0xbafab2['si']!==void 0x0&&_0xbafab2['si']!==null?{'si':_0xbafab2['si']}:_0xbafab2['si']===null?{'si':null}:{},..._0xbafab2['p']!==void 0x0&&_0xbafab2['p']!==null?{'p':_0xbafab2['p']}:_0xbafab2['p']===null?{'p':null}:{}};}function Nc(_0x3233ba){return{..._0x3233ba['v']===void 0x0?{}:{'v':_0x3233ba['v']},..._0x3233ba['t']===void 0x0?{}:{'t':_0x3233ba['t']},..._0x3233ba['f']===void 0x0?{}:{'f':_0x3233ba['f']},..._0x3233ba['si']===void 0x0?{}:{'si':_0x3233ba['si']},..._0x3233ba['p']===void 0x0?{}:{'p':_0x3233ba['p']}};}function Pc(_0x56b8e7){const _0x59063f=_0x5daf81;return!!_0x56b8e7&&typeof _0x56b8e7==_0x59063f(0x1fb)&&!Array[_0x59063f(0x31e)](_0x56b8e7)&&(Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)]['call'](_0x56b8e7,'v')||Object['prototype'][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'t')||Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'p')||Object['prototype'][_0x59063f(0x4d7)]['call'](_0x56b8e7,'f')||Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'si'));}function Fc(_0x94ef95){return Rc(_0x94ef95)&&_0x94ef95['c']===0x1;}function Ic(_0x3d8532){const _0x397524=_0x5daf81;return Rc(_0x3d8532)&&typeof _0x3d8532['unitId']==_0x397524(0x2ed)&&typeof _0x3d8532[_0x397524(0x221)]=='string'&&(_0x3d8532['trigger']===void 0x0||typeof _0x3d8532[_0x397524(0x22c)]==_0x397524(0x2ed))&&Array['isArray'](_0x3d8532[_0x397524(0x4b0)])&&_0x3d8532['patches']['every'](_0xf524ff=>Rc(_0xf524ff)&&Number[_0x397524(0x317)](_0xf524ff[_0x397524(0x406)])&&Number[_0x397524(0x317)](_0xf524ff[_0x397524(0x2f0)])&&'value'in _0xf524ff);}function Lc(_0x4d8031,_0x235363){const _0x21def2=_0x5daf81;if(Rc(_0x4d8031)&&_0x4d8031[_0x21def2(0x243)]===!0x0){if(_0x4d8031['kind']!==_0x235363)throw Error(_0x21def2(0x242)+String(_0x4d8031[_0x21def2(0x29e)])+'\x22.');if(!(_0x235363===_0x21def2(0x4f2)?Oc(_0x4d8031):kc(_0x4d8031)))throw Error(_0x21def2(0x250)+_0x235363+'\x22.');}}function Rc(_0x215a5c){const _0x319309=_0x5daf81;return!!_0x215a5c&&typeof _0x215a5c=='object'&&!Array[_0x319309(0x31e)](_0x215a5c);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x36105f as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};