@univerjs-pro/bases 1.0.0-alpha.5 → 1.0.0-alpha.7
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1040ac=_0x4ff6;(function(_0x479ddb,_0x2cc581){const _0x22700a=_0x4ff6,_0x36d60a=_0x479ddb();while(!![]){try{const _0xba2fb9=-parseInt(_0x22700a(0x19a))/0x1*(parseInt(_0x22700a(0x201))/0x2)+-parseInt(_0x22700a(0x307))/0x3+parseInt(_0x22700a(0xee))/0x4*(-parseInt(_0x22700a(0x213))/0x5)+parseInt(_0x22700a(0x106))/0x6*(parseInt(_0x22700a(0x117))/0x7)+parseInt(_0x22700a(0x33f))/0x8*(parseInt(_0x22700a(0x1d7))/0x9)+-parseInt(_0x22700a(0x27e))/0xa*(parseInt(_0x22700a(0x289))/0xb)+parseInt(_0x22700a(0x162))/0xc*(parseInt(_0x22700a(0x30b))/0xd);if(_0xba2fb9===_0x2cc581)break;else _0x36d60a['push'](_0x36d60a['shift']());}catch(_0x14fbc4){_0x36d60a['push'](_0x36d60a['shift']());}}}(_0x2f59,0x6c485));import{BaseDataModel as _0x3f9aba,BaseFieldType as _0x406b36,BaseFilterConjunction as _0x41d0c1,BaseSortDirection as _0x449492,BaseViewType as _0x7d70ae,CellValueType as _0xa873fd,CommandType as _0x579a13,DependentOn as _0x4c3b1d,Disposable as _0x41e38b,ICommandService as _0x42c942,IConfigService as _0x4eab42,IUndoRedoService as _0x195a57,IUniverInstanceService as _0x1c5465,Inject as _0x43d182,Injector as _0x5f5298,JSON1 as _0x5db611,ObjectMatrix as _0x512ea1,Optional as _0x794887,Plugin as _0x33a25c,Tools as _0x131bf1,UniverInstanceType as _0x5080c8,createIdentifier as _0x43b5b5,dateKit as _0x4bf057,generateRandomId as _0x4322a8,merge as _0x4343ea,numfmt as _0x17245a,regexp as _0x1d276,sequenceExecute as _0x50782c,toDisposable as _0x5b27e8,touchDependencies as _0x39d020}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x5c9fc2,IActiveDirtyManagerService as _0x51097c,RemoveSuperTableMutation as _0x42fb82,SetFormulaCalculationResultMutation as _0x13a86a,SetSuperTableMutation as _0x578ea3,SetTriggerFormulaCalculationStartMutation as _0x28b73a,UniverProFormulaEnginePlugin as _0x372b1b,refactorFormulaUnitQualifier as _0x5eb607}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x55f49d}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x19aa01}from'@univerjs/rpc';let he=0x0;function ge(){const _0x2d0082=_0x4ff6;if(globalThis[_0x2d0082(0x259)]===!0x0)return!0x0;try{let _0x403396=typeof location>'u'?'':location[_0x2d0082(0x33d)],_0x2189f4=new URLSearchParams(_0x403396);if(_0x2189f4[_0x2d0082(0x370)]('basePerf')==='1'||_0x2189f4[_0x2d0082(0x370)](_0x2d0082(0x114))==='true'||_0x2189f4['get'](_0x2d0082(0x298))==='1')return!0x0;}catch{}try{let _0x5059de=typeof localStorage>'u'?null:localStorage[_0x2d0082(0x223)](_0x2d0082(0x126));return _0x5059de==='1'||_0x5059de===_0x2d0082(0x20f);}catch{return!0x1;}}function T(_0x8bd339,_0x582b8d,_0x122373){const _0xfa841b=_0x4ff6;if(!ge())return _0x582b8d();let _0x187390=ve(),_0x2a7dea=_0xfa841b(0x12c)+he++;ye(_0x2a7dea+':start');try{return _0x582b8d();}finally{let _0x36beef=ve()-_0x187390;ye(_0x2a7dea+_0xfa841b(0x109)),be(_0x8bd339,_0x2a7dea+_0xfa841b(0xf4),_0x2a7dea+_0xfa841b(0x109)),_e(_0x8bd339,_0x36beef,_0x122373);}}function _e(_0x61c423,_0x30fae0,_0x3e173c){const _0x4035a5=_0x4ff6;if(!ge())return;let _0x37aab3=Math[_0x4035a5(0x2f5)](_0x30fae0*0x64)/0x64,_0x136392=_0x3e173c&&Object['keys'](_0x3e173c)['length']?'\x20'+JSON[_0x4035a5(0x1dc)](_0x3e173c):'';console[_0x4035a5(0x238)]('[BasePerf]\x20'+_0x61c423+':\x20'+_0x37aab3+'ms'+_0x136392);}function ve(){const _0x427a4f=_0x4ff6;return typeof performance<'u'&&typeof performance[_0x427a4f(0x2c5)]==_0x427a4f(0x24c)?performance[_0x427a4f(0x2c5)]():Date['now']();}function ye(_0xa1c863){const _0x247c80=_0x4ff6;try{if(typeof performance<'u'){var _0x204ba8,_0x339060;(_0x204ba8=(_0x339060=performance)[_0x247c80(0xd4)])==null||_0x204ba8[_0x247c80(0x1ae)](_0x339060,_0xa1c863);}}catch{}}function be(_0x511a57,_0x3c1c10,_0x5dc035){const _0x13f774=_0x4ff6;try{if(typeof performance<'u'){var _0x17a206,_0x51f949;(_0x17a206=(_0x51f949=performance)[_0x13f774(0x353)])==null||_0x17a206['call'](_0x51f949,_0x13f774(0x10a)+_0x511a57,_0x3c1c10,_0x5dc035);}}catch{}}function E(_0x5949eb){const _0x43be1e=_0x4ff6;var _0x27e492,_0x215ab2;return ge()?T(_0x43be1e(0x211),()=>xe(_0x5949eb),{'tableId':_0x5949eb['id'],'records':Object[_0x43be1e(0x1d0)]((_0x27e492=_0x5949eb['records'])==null?{}:_0x27e492)['length'],'fields':_0x5949eb[_0x43be1e(0xce)]['length'],'hasRecordOrder':!!((_0x215ab2=_0x5949eb[_0x43be1e(0x218)])!=null&&_0x215ab2[_0x43be1e(0x1ac)])}):xe(_0x5949eb);}function xe(_0x14c8c7){const _0x2372b9=_0x4ff6;var _0xcdbbab,_0x26b724,_0x44506f,_0x34e571,_0x27e0fa,_0x2b0e69,_0x578ef8,_0x3e43bd,_0x57b9b7,_0x467dab;let _0x444e64=(_0xcdbbab=_0x14c8c7['records'])==null?{}:_0xcdbbab,_0x42e764=(_0x26b724=_0x14c8c7[_0x2372b9(0x351)])==null?{}:_0x26b724,_0x3328df=(_0x44506f=(_0x34e571=_0x14c8c7['recordOrder'])==null?void 0x0:_0x34e571[_0x2372b9(0x308)](_0x2db226=>_0x444e64[_0x2db226]))==null?[]:_0x44506f,_0x3ec668=new Set(_0x3328df),_0x5e7e0b=[];for(let _0x3c9899 of Object[_0x2372b9(0x29d)](_0x444e64))_0x3ec668['has'](_0x3c9899['id'])||_0x5e7e0b[_0x2372b9(0x143)](_0x3c9899);let _0x54300f=_0x5e7e0b[_0x2372b9(0x1ac)]?[..._0x3328df,...Be(_0x5e7e0b)]:_0x3328df,_0x34926e=_0x14c8c7[_0x2372b9(0xce)][_0x2372b9(0x308)](_0x104d1e=>_0x42e764[_0x104d1e]),_0x151db4={...(_0x27e0fa=_0x14c8c7[_0x2372b9(0x247)])==null?{}:_0x27e0fa},_0x3e785d={...(_0x2b0e69=_0x14c8c7[_0x2372b9(0x2fa)])==null?{}:_0x2b0e69},_0x367821={...(_0x578ef8=_0x14c8c7['cellData'])==null?{}:_0x578ef8};return _0x14c8c7[_0x2372b9(0x218)]=_0x54300f,_0x14c8c7[_0x2372b9(0x2f6)]={},_0x14c8c7[_0x2372b9(0x247)]={},_0x14c8c7[_0x2372b9(0x193)]={},_0x14c8c7[_0x2372b9(0x2fa)]={},_0x14c8c7['cellData']={},_0x14c8c7[_0x2372b9(0x9f)]={...(_0x3e43bd=_0x14c8c7[_0x2372b9(0x9f)])==null?{}:_0x3e43bd},_0x14c8c7[_0x2372b9(0x9f)][_0x2372b9(0x2a2)]={...(_0x57b9b7=_0x14c8c7[_0x2372b9(0x9f)]['attachmentSets'])==null?{}:_0x57b9b7},_0x14c8c7['resources'][_0x2372b9(0x22a)]={...(_0x467dab=_0x14c8c7[_0x2372b9(0x9f)][_0x2372b9(0x22a)])==null?{}:_0x467dab},_0x54300f[_0x2372b9(0x2d3)]((_0x1b5238,_0x3db04a)=>{const _0x26949b=_0x2372b9;_0x14c8c7['rowIndex'][_0x1b5238]=_0x3db04a,_0x14c8c7[_0x26949b(0x247)][_0x3db04a]=_0x1b5238;}),_0x34926e[_0x2372b9(0x2d3)]((_0x2d105a,_0x312333)=>{const _0xdbec61=_0x2372b9;_0x14c8c7[_0xdbec61(0x193)][_0x2d105a]=_0x312333,_0x14c8c7[_0xdbec61(0x2fa)][_0x312333]=_0x2d105a;}),Object['entries'](_0x367821)[_0x2372b9(0x2d3)](([_0x810d94,_0x158d0e])=>{const _0x4842d8=_0x2372b9;var _0x213c42,_0x522bbc;let _0x582616=Number(_0x810d94),_0x2d1d55=(_0x213c42=_0x151db4[_0x582616])==null?_0x54300f[_0x582616]:_0x213c42,_0x4fcae6=_0x2d1d55?_0x14c8c7['rowIndex'][_0x2d1d55]:void 0x0;_0x4fcae6!=null&&(_0x14c8c7[_0x4842d8(0x184)][_0x4fcae6]={...(_0x522bbc=_0x14c8c7['cellData'][_0x4fcae6])==null?{}:_0x522bbc},Object['entries'](_0x158d0e==null?{}:_0x158d0e)[_0x4842d8(0x2d3)](([_0x306ed9,_0x4eb8c4])=>{const _0xc75eed=_0x4842d8;var _0x55c724;let _0x565353=Number(_0x306ed9),_0x339d0d=(_0x55c724=_0x3e785d[_0x565353])==null?_0x34926e[_0x565353]:_0x55c724,_0x14a677=_0x339d0d?_0x14c8c7[_0xc75eed(0x193)][_0x339d0d]:void 0x0;_0x14a677!=null&&(_0x14c8c7[_0xc75eed(0x184)][_0x4fcae6][_0x14a677]=Oe(_0x4eb8c4));}));}),Object['values'](_0x444e64)[_0x2372b9(0x2d3)](_0x1fdf0b=>{const _0x34a24f=_0x2372b9;var _0x2c70c7,_0x5ec64e;let _0x1fa611=_0x14c8c7[_0x34a24f(0x2f6)][_0x1fdf0b['id']];_0x1fa611!=null&&(_0x14c8c7[_0x34a24f(0x184)][_0x1fa611]={...(_0x2c70c7=_0x14c8c7['cellData'][_0x1fa611])==null?{}:_0x2c70c7},Object['entries']((_0x5ec64e=_0x1fdf0b['values'])==null?{}:_0x5ec64e)[_0x34a24f(0x2d3)](([_0x16d194,_0x23013a])=>{const _0x2cad7c=_0x34a24f;let _0xcb2596=_0x42e764[_0x16d194];(_0xcb2596==null?void 0x0:_0xcb2596[_0x2cad7c(0xd2)])===_0x406b36[_0x2cad7c(0x197)]&&Ne(_0x14c8c7,_0x1fdf0b['id'],_0x16d194,_0x23013a);let _0x695f06=_0x14c8c7[_0x2cad7c(0x193)][_0x16d194];if(_0x695f06==null)return;let _0x432d6c=_0x14c8c7[_0x2cad7c(0x184)][_0x1fa611][_0x695f06];if(_0x432d6c!=null){Ie(_0x432d6c,_0xcb2596,_0x23013a)&&(_0x14c8c7[_0x2cad7c(0x184)][_0x1fa611][_0x695f06]=D(_0x23013a,_0xcb2596));return;}_0x14c8c7['cellData'][_0x1fa611][_0x695f06]=D(_0x23013a,_0xcb2596);}));}),_0x14c8c7;}function Se(_0x18e22e){const _0x1e58fd=_0x4ff6;var _0x3a5ed1;return E(_0x18e22e),Object[_0x1e58fd(0x361)]((_0x3a5ed1=_0x18e22e[_0x1e58fd(0x247)])==null?{}:_0x3a5ed1)[_0x1e58fd(0x2d3)](([_0x1a8c32,_0x1d874d])=>{const _0x476f5a=_0x1e58fd;var _0x22d63a,_0x5ee38f,_0x198ab7;let _0x67063c=Number(_0x1a8c32),_0x2a9b61=_0x18e22e[_0x476f5a(0x1fa)][_0x1d874d];_0x2a9b61&&(_0x2a9b61[_0x476f5a(0x29d)]={...(_0x22d63a=_0x2a9b61[_0x476f5a(0x29d)])==null?{}:_0x22d63a},Object[_0x476f5a(0x361)]((_0x5ee38f=(_0x198ab7=_0x18e22e[_0x476f5a(0x184)])==null?void 0x0:_0x198ab7[_0x67063c])==null?{}:_0x5ee38f)[_0x476f5a(0x2d3)](([_0x52d160,_0x53c49e])=>{const _0x3f6790=_0x476f5a;var _0x5e4d63;let _0x441997=(_0x5e4d63=_0x18e22e[_0x3f6790(0x2fa)])==null?void 0x0:_0x5e4d63[Number(_0x52d160)];_0x441997&&(_0x2a9b61[_0x3f6790(0x29d)][_0x441997]=ke(_0x53c49e,_0x18e22e[_0x3f6790(0x351)][_0x441997],_0x18e22e,_0x1d874d));}));}),_0x18e22e;}function Ce(_0xd80f3d,_0x17be0b){const _0x4dee6a=_0x4ff6;for(let {row:_0x4e892f,col:_0x34d154}of _0x17be0b){var _0xc985d3,_0x1bc446,_0x403eee,_0x22df68;let _0x1ed7e8=(_0xc985d3=_0xd80f3d[_0x4dee6a(0x247)])==null?void 0x0:_0xc985d3[_0x4e892f],_0x5ac336=(_0x1bc446=_0xd80f3d[_0x4dee6a(0x2fa)])==null?void 0x0:_0x1bc446[_0x34d154],_0x577c28=_0x1ed7e8?_0xd80f3d[_0x4dee6a(0x1fa)][_0x1ed7e8]:void 0x0;!_0x577c28||!_0x5ac336||(_0x577c28[_0x4dee6a(0x29d)]={...(_0x403eee=_0x577c28[_0x4dee6a(0x29d)])==null?{}:_0x403eee},_0x577c28[_0x4dee6a(0x29d)][_0x5ac336]=ke((_0x22df68=_0xd80f3d[_0x4dee6a(0x184)])==null||(_0x22df68=_0x22df68[_0x4e892f])==null?void 0x0:_0x22df68[_0x34d154],_0xd80f3d[_0x4dee6a(0x351)][_0x5ac336],_0xd80f3d,_0x1ed7e8));}return _0xd80f3d;}function we(_0x40f6e7,_0xc6ede5,_0x524d33){const _0x2b1308=_0x4ff6;var _0x1f6533,_0x40f8c2,_0x320458,_0xddb564,_0x7053a,_0x306052;let _0x46c56b=(_0x1f6533=_0x40f6e7[_0x2b1308(0x2f6)])==null?void 0x0:_0x1f6533[_0xc6ede5],_0x398c16=(_0x40f8c2=_0x40f6e7[_0x2b1308(0x193)])==null?void 0x0:_0x40f8c2[_0x524d33];if(_0x46c56b!=null&&_0x398c16!=null&&((_0x320458=_0x40f6e7[_0x2b1308(0x247)])==null?void 0x0:_0x320458[_0x46c56b])===_0xc6ede5&&((_0xddb564=_0x40f6e7[_0x2b1308(0x2fa)])==null?void 0x0:_0xddb564[_0x398c16])===_0x524d33)return{'row':_0x46c56b,'col':_0x398c16};let _0x70933d=E(_0x40f6e7),_0x2f6bc2=(_0x7053a=_0x70933d[_0x2b1308(0x2f6)])==null?void 0x0:_0x7053a[_0xc6ede5],_0x31f7c8=(_0x306052=_0x70933d[_0x2b1308(0x193)])==null?void 0x0:_0x306052[_0x524d33];return _0x2f6bc2==null||_0x31f7c8==null?null:{'row':_0x2f6bc2,'col':_0x31f7c8};}function Te(_0x4bb987,_0x446c66,_0x3fe218){const _0x5d98ad=_0x4ff6;var _0x2b071e;let _0xcb4d69=we(_0x4bb987,_0x446c66,_0x3fe218);if(_0xcb4d69)return(_0x2b071e=_0x4bb987[_0x5d98ad(0x184)])==null||(_0x2b071e=_0x2b071e[_0xcb4d69['row']])==null?void 0x0:_0x2b071e[_0xcb4d69[_0x5d98ad(0xb0)]];}function Ee(_0x10c1e1,_0xf93c2e,_0x4b5370){const _0x58095e=_0x4ff6;var _0x78a1dc,_0x2443f0;let _0xbb5aa0=Te(_0x10c1e1,_0xf93c2e,_0x4b5370),_0x551170=_0x10c1e1[_0x58095e(0x351)][_0x4b5370];if((_0x551170==null?void 0x0:_0x551170[_0x58095e(0xd2)])===_0x406b36[_0x58095e(0x197)]){var _0x2e1234,_0x2a8dd2;return(_0x2e1234=Pe(_0x10c1e1,_0xf93c2e,_0x4b5370))==null?O((_0x2a8dd2=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x2a8dd2=_0x2a8dd2[_0x58095e(0x29d)])==null?void 0x0:_0x2a8dd2[_0x4b5370]):_0x2e1234;}if(k(_0x551170)||(_0x551170==null?void 0x0:_0x551170[_0x58095e(0xd2)])===_0x406b36[_0x58095e(0xa6)]){var _0x56c2df;let _0x5ccd90=(_0x56c2df=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x56c2df=_0x56c2df['values'])==null?void 0x0:_0x56c2df[_0x4b5370];return _0x5ccd90!=null&&_0x5ccd90!==''?Fe(_0x5ccd90,_0x551170):ke(_0xbb5aa0,_0x551170,_0x10c1e1,_0xf93c2e);}if(_0xbb5aa0&&Object['prototype'][_0x58095e(0x232)]['call'](_0xbb5aa0,'v')){var _0x345116;return(_0x345116=_0xbb5aa0['v'])==null?null:_0x345116;}return(_0x78a1dc=(_0x2443f0=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x2443f0=_0x2443f0[_0x58095e(0x29d)])==null?void 0x0:_0x2443f0[_0x4b5370])==null?null:_0x78a1dc;}function De(_0x3878bf,_0x3b9187,_0x536d4e){const _0x12d694=_0x4ff6;var _0x4436c1,_0x3d4dc6,_0x5977aa;let _0xa649f=Te(_0x3878bf,_0x3b9187,_0x536d4e);if(_0xa649f&&Object[_0x12d694(0x164)]['hasOwnProperty'][_0x12d694(0x1ae)](_0xa649f,'v')){var _0x1cc281;return(_0x1cc281=_0xa649f['v'])==null?null:_0x1cc281;}let _0x2cf466=_0x3878bf['fields'][_0x536d4e];return(_0x4436c1=D((_0x3d4dc6=(_0x5977aa=_0x3878bf[_0x12d694(0x1fa)][_0x3b9187])==null||(_0x5977aa=_0x5977aa[_0x12d694(0x29d)])==null?void 0x0:_0x5977aa[_0x536d4e])==null?null:_0x3d4dc6,_0x2cf466)['v'])==null?null:_0x4436c1;}function D(_0x1b059d,_0xcc3c11){const _0x35c2cb=_0x4ff6;if(je(_0x1b059d))return(_0xcc3c11==null?void 0x0:_0xcc3c11[_0x35c2cb(0xd2)])===_0x406b36[_0x35c2cb(0x197)]?{..._0x1b059d,'v':'','t':_0xa873fd[_0x35c2cb(0xaf)]}:Oe(_0x1b059d);if((_0xcc3c11==null?void 0x0:_0xcc3c11[_0x35c2cb(0xd2)])===_0x406b36[_0x35c2cb(0x197)])return{'v':'','t':_0xa873fd['STRING']};if(k(_0xcc3c11))return{'v':Le(_0x1b059d)[_0x35c2cb(0x134)](',\x20'),'t':_0xa873fd[_0x35c2cb(0xaf)]};if((_0xcc3c11==null?void 0x0:_0xcc3c11['type'])===_0x406b36[_0x35c2cb(0xa6)]&&_0x1b059d&&typeof _0x1b059d==_0x35c2cb(0x101)&&!Array[_0x35c2cb(0x1c5)](_0x1b059d)){var _0x30d784,_0x3cc16a;let _0x40e3aa=_0x1b059d;return{'v':String((_0x30d784=(_0x3cc16a=_0x40e3aa[_0x35c2cb(0x2ea)])==null?_0x40e3aa[_0x35c2cb(0x36e)]:_0x3cc16a)==null?'':_0x30d784),'t':_0xa873fd[_0x35c2cb(0xaf)]};}return _0x1b059d===null||typeof _0x1b059d==_0x35c2cb(0x2e9)||typeof _0x1b059d==_0x35c2cb(0x1f7)||typeof _0x1b059d==_0x35c2cb(0x2e1)?{'v':_0x1b059d,'t':ze(_0x1b059d)}:{'v':null,'t':null};}function Oe(_0x1c9930){let _0x223b84=Ve(_0x1c9930['t'],_0x1c9930['v']);if(_0x223b84===void 0x0){let {t:_0x4a473d,..._0x1ba5af}=_0x1c9930;return _0x1ba5af;}return{..._0x1c9930,'t':_0x223b84};}function ke(_0x3e5921,_0x1718a7,_0x15be46,_0x3e3d18){const _0x5bd8d9=_0x4ff6;if(!_0x3e5921)return null;if((_0x1718a7==null?void 0x0:_0x1718a7[_0x5bd8d9(0xd2)])===_0x406b36[_0x5bd8d9(0x197)]){var _0x1d1643;return _0x15be46&&_0x3e3d18?(_0x1d1643=Pe(_0x15be46,_0x3e3d18,_0x1718a7['id']))==null?[]:_0x1d1643:[];}if(k(_0x1718a7))return Le(_0x3e5921['v']);if((_0x1718a7==null?void 0x0:_0x1718a7['type'])===_0x406b36['Link']&&_0x15be46&&_0x3e3d18){var _0xb639df;let _0x5169d0=(_0xb639df=_0x15be46[_0x5bd8d9(0x1fa)][_0x3e3d18])==null||(_0xb639df=_0xb639df[_0x5bd8d9(0x29d)])==null?void 0x0:_0xb639df[_0x1718a7['id']];if(_0x5169d0&&typeof _0x5169d0==_0x5bd8d9(0x101)&&!Array[_0x5bd8d9(0x1c5)](_0x5169d0))return _0x5169d0;}if(Object[_0x5bd8d9(0x164)][_0x5bd8d9(0x232)][_0x5bd8d9(0x1ae)](_0x3e5921,'v')){var _0x107142;return(_0x107142=_0x3e5921['v'])==null?null:_0x107142;}return null;}function Ae(_0x2ca9ee,_0x18fe48,_0x3f0b51,_0x29769a,_0x14abc7){const _0x226896=_0x4ff6;return(_0x3f0b51==null?void 0x0:_0x3f0b51[_0x226896(0xd2)])===_0x406b36['Attachment']?O(_0x2ca9ee):k(_0x3f0b51)?Le(_0x2ca9ee):(_0x3f0b51==null?void 0x0:_0x3f0b51['type'])===_0x406b36[_0x226896(0xa6)]&&_0x2ca9ee&&typeof _0x2ca9ee==_0x226896(0x101)&&!Array[_0x226896(0x1c5)](_0x2ca9ee)&&!je(_0x2ca9ee)?_0x2ca9ee:ke(_0x18fe48,_0x3f0b51,_0x29769a,_0x14abc7);}function je(_0x408ca9){const _0x12da53=_0x4ff6;return!!_0x408ca9&&typeof _0x408ca9==_0x12da53(0x101)&&(Object[_0x12da53(0x164)][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'v')||Object['prototype'][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'t')||Object[_0x12da53(0x164)]['hasOwnProperty'][_0x12da53(0x1ae)](_0x408ca9,'p')||Object[_0x12da53(0x164)][_0x12da53(0x232)]['call'](_0x408ca9,'f')||Object['prototype'][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'si'));}function Me(_0xa9484a,_0x13fde7){return _0xa9484a+'\x1f'+_0x13fde7;}function Ne(_0x174506,_0x2c1fce,_0x5fe8d5,_0x5dd857){const _0x48da70=_0x4ff6;var _0x449f9e,_0x57c8ba,_0x37cd2f;let _0x13946a=O(_0x5dd857);_0x174506['resources']={...(_0x449f9e=_0x174506[_0x48da70(0x9f)])==null?{}:_0x449f9e},_0x174506[_0x48da70(0x9f)][_0x48da70(0x2a2)]={...(_0x57c8ba=_0x174506[_0x48da70(0x9f)][_0x48da70(0x2a2)])==null?{}:_0x57c8ba},_0x174506['resources']['attachments']={...(_0x37cd2f=_0x174506[_0x48da70(0x9f)][_0x48da70(0x22a)])==null?{}:_0x37cd2f};let _0x4b5da3=Me(_0x5fe8d5,_0x2c1fce),_0x205fd8=[];for(let _0xe68374=0x0;_0xe68374<_0x13946a[_0x48da70(0x1ac)];_0xe68374++){var _0x104a80;if(!(_0xe68374 in _0x13946a))continue;let _0x1c45b6=_0x13946a[_0xe68374],_0x183928=String((_0x104a80=_0x1c45b6['id'])==null?_0x4b5da3+'\x1f'+_0xe68374:_0x104a80),_0x3c8203={..._0x1c45b6,'id':_0x183928};_0x174506['resources'][_0x48da70(0x22a)][_0x183928]=_0x3c8203,_0x205fd8[_0x48da70(0x143)](_0x183928);}_0x174506[_0x48da70(0x9f)]['attachmentSets'][_0x4b5da3]=_0x205fd8;}function Pe(_0x516f3b,_0x18e634,_0x1c24c5){const _0xf2113b=_0x4ff6;var _0x530411;let _0x5b8a94=Me(_0x1c24c5,_0x18e634),_0x911774=(_0x530411=_0x516f3b[_0xf2113b(0x9f)])==null||(_0x530411=_0x530411[_0xf2113b(0x2a2)])==null?void 0x0:_0x530411[_0x5b8a94];if(!_0x911774)return null;let _0x59b2ec=[];for(let _0x3a6e04=0x0;_0x3a6e04<_0x911774[_0xf2113b(0x1ac)];_0x3a6e04++){var _0x491978;if(!(_0x3a6e04 in _0x911774))continue;let _0x34d62d=(_0x491978=_0x516f3b['resources'])==null||(_0x491978=_0x491978[_0xf2113b(0x22a)])==null?void 0x0:_0x491978[_0x911774[_0x3a6e04]];_0x34d62d&&_0x59b2ec[_0xf2113b(0x143)]({..._0x34d62d});}return _0x59b2ec;}function O(_0x568f6f){const _0x50ac0c=_0x4ff6;if(_0x568f6f==null||_0x568f6f===''||je(_0x568f6f)&&!('id'in _0x568f6f)&&!(_0x50ac0c(0x27a)in _0x568f6f))return[];let _0x1de2dd=Array['isArray'](_0x568f6f)?_0x568f6f:[_0x568f6f],_0x1ccf9f=[];for(let _0x551ac1=0x0;_0x551ac1<_0x1de2dd[_0x50ac0c(0x1ac)];_0x551ac1++){if(!(_0x551ac1 in _0x1de2dd))continue;let _0xbb4883=_0x1de2dd[_0x551ac1],_0x2c42c9=_0xbb4883&&typeof _0xbb4883==_0x50ac0c(0x101)?{..._0xbb4883}:{'id':_0x50ac0c(0x11f)+_0x551ac1,'name':String(_0xbb4883)};Object[_0x50ac0c(0x1d0)](_0x2c42c9)[_0x50ac0c(0x1ac)]>0x0&&_0x1ccf9f[_0x50ac0c(0x143)](_0x2c42c9);}return _0x1ccf9f;}function Fe(_0x4691bb,_0x1554bc){const _0x111994=_0x4ff6;return(_0x1554bc==null?void 0x0:_0x1554bc[_0x111994(0xd2)])===_0x406b36[_0x111994(0x197)]?O(_0x4691bb):k(_0x1554bc)?Le(_0x4691bb):_0x4691bb;}function Ie(_0x952dd,_0x7ce918,_0x1c8714){const _0x582299=_0x4ff6;return(_0x7ce918==null?void 0x0:_0x7ce918[_0x582299(0xd2)])===_0x406b36[_0x582299(0x197)]?_0x952dd['v']!=='':k(_0x7ce918)?Array['isArray'](_0x1c8714)&&(_0x952dd['v']==null||_0x952dd['v']===''):!0x1;}function k(_0x11c996){const _0x46fb05=_0x4ff6;return(_0x11c996==null?void 0x0:_0x11c996['type'])===_0x406b36[_0x46fb05(0x2ce)]||(_0x11c996==null?void 0x0:_0x11c996[_0x46fb05(0xd2)])===_0x406b36[_0x46fb05(0x1ff)]||(_0x11c996==null?void 0x0:_0x11c996[_0x46fb05(0xd2)])===_0x406b36[_0x46fb05(0x26b)];}function Le(_0x2e1fb3){const _0x39c632=_0x4ff6;if(_0x2e1fb3==null||_0x2e1fb3==='')return[];let _0x1a9f19=[];if(Array[_0x39c632(0x1c5)](_0x2e1fb3)){for(let _0x12469c=0x0;_0x12469c<_0x2e1fb3[_0x39c632(0x1ac)];_0x12469c++){if(!(_0x12469c in _0x2e1fb3))continue;let _0x60b70b=Re(_0x2e1fb3[_0x12469c]);_0x60b70b&&_0x1a9f19['push'](_0x60b70b);}return _0x1a9f19;}for(let _0x20b1e4 of String(_0x2e1fb3)[_0x39c632(0x278)](',')){let _0x377311=_0x20b1e4[_0x39c632(0x1e6)]();_0x377311&&_0x1a9f19[_0x39c632(0x143)](_0x377311);}return _0x1a9f19;}function Re(_0x5b6a84){const _0x289088=_0x4ff6;if(_0x5b6a84==null)return'';if(typeof _0x5b6a84==_0x289088(0x2e9)||typeof _0x5b6a84==_0x289088(0x1f7)||typeof _0x5b6a84==_0x289088(0x2e1))return String(_0x5b6a84);if(typeof _0x5b6a84==_0x289088(0x101)){var _0x579f40,_0x4fc5d0,_0x15bcda;let _0x261348=_0x5b6a84;return String((_0x579f40=(_0x4fc5d0=(_0x15bcda=_0x261348['id'])==null?_0x261348[_0x289088(0x27a)]:_0x15bcda)==null?_0x261348[_0x289088(0x2ea)]:_0x4fc5d0)==null?'':_0x579f40);}return String(_0x5b6a84);}function ze(_0x14509e){const _0x239e6d=_0x4ff6;return _0x14509e==null?null:typeof _0x14509e==_0x239e6d(0x1f7)?_0xa873fd[_0x239e6d(0x1dd)]:typeof _0x14509e==_0x239e6d(0x2e1)?_0xa873fd[_0x239e6d(0x366)]:_0xa873fd[_0x239e6d(0xaf)];}function Be(_0x341b92){const _0xabdb8e=_0x4ff6;_0x341b92[_0xabdb8e(0x127)]((_0x5e1f01,_0x2524b0)=>_0x5e1f01[_0xabdb8e(0x1a0)]['localeCompare'](_0x2524b0[_0xabdb8e(0x1a0)]));let _0x5ac8c6=[];for(let _0x59b237 of _0x341b92)_0x5ac8c6[_0xabdb8e(0x143)](_0x59b237['id']);return _0x5ac8c6;}function Ve(_0xe12f7b,_0x579eb4){const _0x5a0c20=_0x4ff6;return _0xe12f7b===_0xa873fd[_0x5a0c20(0xaf)]||_0xe12f7b===_0xa873fd['NUMBER']||_0xe12f7b===_0xa873fd[_0x5a0c20(0x366)]||_0xe12f7b===_0xa873fd['FORCE_STRING']||_0xe12f7b==null?_0xe12f7b:ze(_0x579eb4==null?null:_0x579eb4);}var A=class{['applyOp'](_0x497c5a,_0x583b27){const _0x5d1616=_0x4ff6;let _0x388dc1=this[_0x5d1616(0x228)](_0x583b27),_0x9488b2=T(_0x5d1616(0x371),()=>Ye(_0x497c5a,_0x583b27),{'invalidations':_0x388dc1[_0x5d1616(0x1ac)]}),_0x363e00=T(_0x5d1616(0x2ee),()=>_0x5db611[_0x5d1616(0xd2)][_0x5d1616(0x349)](_0x9488b2,_0x583b27),{'invalidations':_0x388dc1[_0x5d1616(0x1ac)]});return He(_0x363e00,_0x388dc1)||this[_0x5d1616(0x305)](_0x363e00,_0x388dc1)[_0x5d1616(0x2d3)](_0x5b1001=>{Se(_0x5b1001);}),_0x363e00;}[_0x1040ac(0x1be)](_0x3e7542,_0x18eb2a){const _0x50fb53=_0x1040ac;return _0x5db611[_0x50fb53(0xd2)]['invertWithDoc'](_0x18eb2a,_0x3e7542);}[_0x1040ac(0x228)](_0xe63a2e){const _0x4f23b3=_0x1040ac;let _0x47eeb2=Ke(_0xe63a2e);return _0x47eeb2['length']?qe(_0x47eeb2[_0x4f23b3(0x1a6)](_0x5e86f6=>this[_0x4f23b3(0x228)](_0x5e86f6))):Ue(_0xe63a2e);}['_getTablesToNormalize'](_0x3e9251,_0x240dec){const _0x2758d9=_0x1040ac;if(!_0x240dec[_0x2758d9(0x1ac)])return[];if(_0x240dec[_0x2758d9(0x20d)](_0x2a8df9=>!_0x2a8df9[_0x2758d9(0x253)])){var _0x48c5a2;return Object[_0x2758d9(0x29d)]((_0x48c5a2=_0x3e9251['tables'])==null?{}:_0x48c5a2);}return Array[_0x2758d9(0x136)](new Set(_0x240dec['map'](_0x12ce15=>_0x12ce15[_0x2758d9(0x253)])))[_0x2758d9(0x1a6)](_0x2017d5=>{const _0x527e17=_0x2758d9;var _0xf61cbf;let _0x2c1a71=(_0xf61cbf=_0x3e9251[_0x527e17(0x274)])==null?void 0x0:_0xf61cbf[_0x2017d5];return _0x2c1a71?[_0x2c1a71]:[];});}};function He(_0x4fa58e,_0x2885ec){const _0x18001c=_0x1040ac;if(!_0x2885ec['length']||_0x2885ec[_0x18001c(0x20d)](_0x46de01=>_0x46de01[_0x18001c(0x160)]!==_0x18001c(0x2fb)))return!0x1;let _0x2c9bc8=new Map();for(let _0x7f21ae of _0x2885ec){var _0x4ffb91;if(!_0x7f21ae[_0x18001c(0x253)]||_0x7f21ae[_0x18001c(0x231)]==null||_0x7f21ae[_0x18001c(0x175)]==null)continue;let _0x46d6af=(_0x4ffb91=_0x2c9bc8['get'](_0x7f21ae[_0x18001c(0x253)]))==null?[]:_0x4ffb91;_0x46d6af[_0x18001c(0x143)]({'row':_0x7f21ae[_0x18001c(0x231)],'col':_0x7f21ae[_0x18001c(0x175)]}),_0x2c9bc8['set'](_0x7f21ae[_0x18001c(0x253)],_0x46d6af);}return _0x2c9bc8[_0x18001c(0x2d3)]((_0x9bf6d6,_0x59a01a)=>{const _0x186d35=_0x18001c;var _0x3bb195;let _0xf1e8a0=(_0x3bb195=_0x4fa58e[_0x186d35(0x274)])==null?void 0x0:_0x3bb195[_0x59a01a];_0xf1e8a0&&Ce(_0xf1e8a0,_0x9bf6d6);}),!0x0;}function Ue(_0x264554){const _0x3d5acf=_0x1040ac;if(!Array[_0x3d5acf(0x1c5)](_0x264554)||_0x264554[_0x3d5acf(0x1ac)]<0x2)return[{'tableId':'','reason':_0x3d5acf(0x2c9)}];let _0x53099a=_0x264554,_0x40cc78=_0x53099a[_0x3d5acf(0x28a)](_0x3d5acf(0x274));return _0x40cc78===-0x1||typeof _0x53099a[_0x40cc78+0x1]!=_0x3d5acf(0x2e9)?_0x53099a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x3d5acf(0x2c9)}]:We(_0x53099a,_0x40cc78,String(_0x53099a[_0x40cc78+0x1]));}function We(_0x24c1e2,_0x41a5ee,_0x36073f){const _0xa861e0=_0x1040ac;let _0x234efa=_0x24c1e2[_0x41a5ee+0x2];return _0x234efa===_0xa861e0(0x1fa)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?Ge(_0x24c1e2,_0x41a5ee,_0x36073f,String(_0x24c1e2[_0x41a5ee+0x3])):_0x234efa===_0xa861e0(0x184)&&_0x24c1e2[_0x41a5ee+0x3]!=null&&_0x24c1e2[_0x41a5ee+0x4]!=null?[{'tableId':_0x36073f,'reason':_0xa861e0(0x2fb),'row':Number(_0x24c1e2[_0x41a5ee+0x3]),'column':Number(_0x24c1e2[_0x41a5ee+0x4])}]:_0x234efa===_0xa861e0(0x351)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?[{'tableId':_0x36073f,'reason':_0xa861e0(0x16b),'fieldId':String(_0x24c1e2[_0x41a5ee+0x3])}]:_0x234efa===_0xa861e0(0x165)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?[{'tableId':_0x36073f,'reason':_0xa861e0(0xac),'viewId':String(_0x24c1e2[_0x41a5ee+0x3])}]:[{'tableId':_0x36073f,'reason':_0x234efa===void 0x0?_0xa861e0(0x2fc):_0xa861e0(0x2c9)}];}function Ge(_0x131d0c,_0x1df022,_0x48c583,_0x52c48e){const _0x5928ae=_0x1040ac;return _0x131d0c[_0x1df022+0x4]===_0x5928ae(0x29d)&&typeof _0x131d0c[_0x1df022+0x5]==_0x5928ae(0x2e9)?[{'tableId':_0x48c583,'reason':_0x5928ae(0x2fb),'recordId':_0x52c48e,'fieldId':String(_0x131d0c[_0x1df022+0x5])}]:_0x131d0c[_0x1df022+0x4]===_0x5928ae(0x236)||_0x131d0c[_0x1df022+0x4]===_0x5928ae(0x120)?[]:[{'tableId':_0x48c583,'reason':_0x5928ae(0x2dc),'recordId':_0x52c48e}];}function Ke(_0x12c004){const _0x54bed4=_0x1040ac;if(!Array[_0x54bed4(0x1c5)](_0x12c004))return[];let _0x5215bd=_0x12c004[_0x54bed4(0x308)](Array[_0x54bed4(0x1c5)]);if(_0x5215bd[_0x54bed4(0x1ac)]>0x1&&_0x5215bd[_0x54bed4(0x1ac)]===_0x12c004[_0x54bed4(0x1ac)])return _0x5215bd;let _0x7f2255=_0x12c004['findIndex'](Array[_0x54bed4(0x1c5)]);if(_0x7f2255>0x0&&_0x12c004[_0x54bed4(0x35c)](_0x7f2255)[_0x54bed4(0xb1)](Array['isArray'])){let _0x13ca5a=_0x12c004[_0x54bed4(0x35c)](0x0,_0x7f2255);return _0x12c004[_0x54bed4(0x35c)](_0x7f2255)[_0x54bed4(0xb4)](_0x2a7c92=>[..._0x13ca5a,..._0x2a7c92]);}let _0x5c772e=_0x12c004[_0x54bed4(0x28a)](_0x54bed4(0x274));if(_0x5c772e===-0x1||typeof _0x12c004[_0x5c772e+0x1]!=_0x54bed4(0x2e9))return[];let _0x2a943d=String(_0x12c004[_0x5c772e+0x1]),_0x33fe1a=_0x12c004['slice'](_0x5c772e+0x2)[_0x54bed4(0x308)](Array[_0x54bed4(0x1c5)]);return _0x33fe1a[_0x54bed4(0x1ac)]<=0x1?[]:_0x33fe1a[_0x54bed4(0xb4)](_0x3717c8=>['tables',_0x2a943d,..._0x3717c8]);}function qe(_0x10dfb9){let _0x55739b=new Set();return _0x10dfb9['filter'](_0x47fafc=>{const _0x26be88=_0x4ff6;let _0x18421f=JSON[_0x26be88(0x1dc)](_0x47fafc);return _0x55739b['has'](_0x18421f)?!0x1:(_0x55739b['add'](_0x18421f),!0x0);});}function Je(_0xb9ee9){const _0x38168f=_0x1040ac;return _0x131bf1[_0x38168f(0x263)](_0xb9ee9);}function Ye(_0x38c5e1,_0x4a04e7){const _0x154776=_0x1040ac;let _0x26f93b=Xe(_0x4a04e7);if(!_0x26f93b[_0x154776(0x1ac)])return Je(_0x38c5e1);let _0x24d162=tt(_0x38c5e1);for(let _0x1b6f3a of _0x26f93b)$e(_0x24d162,_0x1b6f3a);return _0x24d162;}function Xe(_0x551573){let _0x3415ea=[];return Ze(_0x551573,[],_0x3415ea),_0x3415ea;}function Ze(_0x352bde,_0x58d8f1,_0x5f399d){const _0x283b79=_0x1040ac;if(!Array['isArray'](_0x352bde))return;let _0x16de83=[];for(let _0x49f263 of _0x352bde){if(Array['isArray'](_0x49f263)){Ze(_0x49f263,[..._0x58d8f1,..._0x16de83],_0x5f399d);continue;}if(Qe(_0x49f263)){_0x5f399d[_0x283b79(0x143)]([..._0x58d8f1,..._0x16de83]);continue;}(typeof _0x49f263==_0x283b79(0x2e9)||typeof _0x49f263==_0x283b79(0x1f7))&&_0x16de83['push'](_0x49f263);}}function _0x2f59(){const _0x37eee3=['fieldIds','greaterThanOrEqual','_initDependencies','compose','repeat','_setAttachmentResources','deepClone','abbreviation','_createNumberingAllocators','_title','base.command.delete-base-view','_buildGantt','#3b82f6','[BaseCommandService]:\x20cannot\x20edit\x20field.','Group','_getTableRevision','childUnitId','week','base.command.rename-base-table','base.command.update-base-kanban-config','UNIVER_BASE',',,\x22M\x22','resolvedOptions','tables','_univerInstanceService','timeslotSize','setRecordPermission','split','_permissionService','name','_projectionCache','large','manageView','10MDjePF','card','Done','before','DD/MM/YYYY','majorHeaders','separatorStyle','hh:mm','setTablePermission','Phone','_getAllBaseDependencyTreeCacheMap','8484311kzJZoj','indexOf','afterViewId','constructor','usableAsCalendarDate','bases.fieldConfig.linkPlaceholder','base.command.delete-base-field','viewId','next30','cellRevision','lastIndexOf','result','baseRows','Status','getCapabilities','base-perf','isFinite','_findKanbanGroupField','conditional','_projectedRowsCache','values','base.command.set-base-view-field-visible','showTodayLine','primaryFieldId','setBaseName','attachmentSets','revision','_fastSortRows','trigger','fieldName','_enqueueFormulaSync','toLocaleString','getUTCMonth','delete','base.command.update-base-cell','notContains','replaceOp','[BaseField]:\x20invalid\x20phone\x20value.','createUnit','_activeDirtyManagerService','clearRecordPermission','_getJson1DirtyData','remove','_filterSortFieldIds','_buildCalendar','registerTable','createRecords','reduce','base.command.set-base-kanban-group-field','base.command.set-base-view-field-width','CreatedBy','assign','_views','base.command.create-base-view','toPlainText','local','_fieldPermissions','createField','lastMonth','option-','now','Lookup','[BaseField]:\x20invalid\x20rating\x20value.','key','unknown','_sortRows','_resolveGanttDateFieldId','exact','editable','MultiSelect','color','BaseProjection.filterAndSortRows','_projectGroups','_resolveCalendarDateFieldId','forEach','_buildKanban','fld-','toPrimitive','progressFieldId','off','canCreateRecord','canCreateField','_viewRowsCacheKey','record','past30','exec','afterFieldId','_cellInvalidations','boolean','month','level','getUTCDate','_groupsCacheKey','\x22\x20is\x20not\x20registered.','unitId','clearBasePermission','string','text','weekdays','Formula','config','BaseJson1.json1Apply','_initialize','decimal','colorFieldId','updateCell','moveView','gantt','round','rowIndex','max','[BaseField]:\x20invalid\x20multi-value\x20reference.','_deleteAttachmentResources','colId','cell','table','manual','_normalizeGanttDisplayColor','primaryFieldName','_basePermissions','__tempBatchingUndoRedo','periodComma','BaseProjection.projectRows','hourCycle','_getTablesToNormalize','base.command.update-base-field-description','2084250wzzJKc','filter','_syncSuperTables','past7','13xsqjLW','columnSettings','invalidateByOp','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getFullYear','hostAnchorId','_canUseFastSort','showFieldNames','Button','index','doing','globalRevision','TwoWayLink','allowNegative','_patchCachedProjectedRows','thisMonth','_globalRevision','localeCompare','conditions','has','Summary','getProjection','#,##0','#BBF7D0','_patchProjectedRowsForCellInvalidations','REMOTE_BASES_PLUGIN','_createNumberingAllocator','YYYY/MM/DD','base.permission.service','_recordPermissions','_createRecordWithDefaults','limit','_fieldRegistry','spacePeriod','formatToParts','Checkbox','createView','matchAll','Email','pluginName','packageName','UNIVER_EMBED_BASES_TABLE','invalidateByView','title','spaceComma','gridViewId','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_createSystemFieldValuePatches','version','focusUnit','search','autoIncrement','668848wFsAsz','scale','after','workingDaysOnly','_factory','groups','formula','#16a34a','viewIndexes','_kanbanGroupKeys','apply','[BaseCommandService]:\x20cannot\x20manage\x20view.','test','_applier','_runtimeContext','CreatedAt','[BaseCommandService]:\x20cannot\x20delete\x20field.','createRegExpFromSafeFragment','fields','_isCalendarDateField','measure','createBatchCreateRecordsOp','greaterThan','base.command.move-base-view','toFixed','_initDataSync','_resolveKanbanCoverFieldId','getUnitId','major-','slice','_findCalendarDateFieldId','viewRevision','_syncBaseUnit','long','entries','syncExecuteCommand','_groupProjectionFieldIds','syncUnit','_getCurrentUserId','BOOLEAN','Rating','star','createSuperTableReference','_capabilities','_projectRows','includeTime','Calendar','url','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','get','BaseJson1.cloneForOp','unshift','setBasePermission','_normalizeCellValue','defineProperty','_setFormulaFieldCells','resources','uniqueTableName','renameFormulaUnitReferences','NumberFormat','beforeViewId','cardLayout','unitOtherData','Link','startsWith','[BaseField]:\x20invalid\x20email\x20value.','getTypeOfUnitDisposed$','add','_resolveGalleryCoverFieldId','view','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20checkbox\x20value.','STRING','col','every','deleteView','getUnit','map','validate','BaseProjection.projectTableRows','base.mutation.apply-base-json1','_removeSuperTables','Location','then','changeFieldType','_createRecordOrderOp','deleteField','_groupCellInvalidations','h:mm\x20a','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','frozenFieldCount','_applyFormulaResult','[BaseProjectionService]:\x20missing\x20view\x20\x22','year','UpdatedAt','Kanban','start','applyOp','en-US','percent','1.0.0-alpha.5','_groupConfigCacheSegment','COMMAND','fieldOrder','Currency','[BaseCommandService]:\x20cannot\x20delete\x20record.','renameView','type','raw','mark','setViewSort','_calendarEventColor','children','normal','duplicateRecord','editCell','_rowTransformCacheSegment','set','clearFieldPermission','base.command.set-base-view-filter','_recordIds','createViewId','_cellRevisions','attachmentSet','resolve','rows','snapshot','canCreateTable','bases.fieldConfig.textPlaceholder','rules','_normalizeCalendarConfig','_replaceOptional','tomorrow','_viewRevisionKey','Gantt','1144692ZxPHXc','moveField','base.command.change-base-field-type','label','_tableRevisions','finally',':start','path','tableRevision','createUpdateCellOp','replace','working','canManageView','diffValue','_onCommandExecuted','endDateFieldId','conjunction','recordNamePrefix','-field-name','object','calendar','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_dataSyncPrimaryController','getCurrentUserId','1707252MaCLUf','Date','deleteTable',':end','[BasePerf]\x20','setRangeValues','isInteger','base.field-registry.service','getAllUnitsForType','rowIndexById','Working\x20day','getStructuredDependencies','End\x20date','getDay','basePerf','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_withModifiedSystemValues','14QrLXQE','currencySymbol','missingField','value','[BaseField]:\x20invalid\x20progress\x20value.','tableOrder','readonly','mode','attachment-','updatedBy','#14b8a6','undefined','Number','usableAsGanttStart','_baseSyncDisposables','univer.basePerf','sort','_initRegistries','false','width','embedId','base-perf-','base.command.create-base-field','_projectTableRows','_registeredSuperTableNames','medium','contains','Gallery','short','join','[BaseField]:\x20invalid\x20date\x20value.','from','system','[BaseCommandService]:\x20cannot\x20create\x20field.','removeOp','yyyy/mm/dd','HH:mm','valueOf','disposeWithMe','YYYY-MM-DD','description','coverFieldId','[BaseFormula]:\x20field\x20\x22','canEditCell','push','userID','defaultValue','_normalizeGanttConfig','groupFieldId','base.command.delete-base-record','onCommandExecuted','usableAsGanttEnd','base.command.set-base-name','locale','DESC','_isNonEmptyCellValue','_normalizeCalendarDisplayColor','_buildGallery','setFieldPermission','getTypeOfUnitAdded$','Failed\x20to\x20create\x20update\x20cell\x20operation:','base.command.move-base-field','usableAsCardCover',',,,\x22B\x22','isNotEmpty','recordId','#,##0.00','getAll','_resolveGalleryCardFieldIds','MMM\x20D,\x20YYYY','setViewFieldVisible','__all__','titleFieldId','reason','cardSize','24898164rqKCdk','getAllBases','prototype','views','Barcode','Checked','_resolveKanbanCardFieldIds','validateFormula','_materializeGroups','field','_configService','_applyingFormulaResults','canDeleteRecord','_apply','_resolveKanbanGroupFieldId','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','createdAt','leftPaneCollapsed','base.command.create-base-record','column','base.command.service','exceptions','decorate','canDeleteTable','executeCommand','_getAllTableIds','direction','commaPeriod','yesterday','allowMultiple','changed','_ganttBarColor','base.command.set-base-view-sort','createCreateFieldOp','cellData','fieldIndex','_setViewFieldSetting','#FDE68A','h24','setConfig','RecordId','done','createSetRecordValuesOp','fromPlainText','False','createdBy','unitData','_formulaSyncQueue','invalidateByCell','colIndex','normalize','lastIndex','params','Attachment','_projectedViewRowsCache','_getStructureDirtyTableIds','1eXnrqW','_matchesGanttColorRule','getTypePlugin','bases.remote.config','recordPatch','endsWith','orderKey','startDateFieldId','hidden','ena','_cacheKey','register','flatMap','setRecordValues','_bumpTableRevision','tableName','day','_getCellRevision','length','[BaseCommandService]:\x20invalid\x20cell\x20value.','call','deleteRecord','YYYY/MM/DD\x20HH:mm','Numbering','splice','_isAllowedKanbanGroupField','_isAllDayGanttDateRange','getUTCDay','custom','getSnapshot','onReady','recordIds','regenerateViewIds','_initCommands','patches','_plugins','invertOp','error','operand','pushUndoRedo','Doing','_formulaService','_buildGrid','isArray','_getViewRevision','SingleSelect',',\x22K\x22','forValue','_kanbanLaneTitle','@univerjs-pro/bases','find','https://','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','base.command.delete-base-table','keys','group','registerCtorForType','columns','fieldId','canDeleteField','canEditField','45vGZoSw','invalidGanttEndField','options','toLowerCase','base.viewType.kanban','stringify','NUMBER','\x22\x20does\x20not\x20exist.','size','unitWidth','base.command.set-base-record-values','h12','Todo','attachment','createCreateRecordOp','trim','iterator','bases.config','createRecord','Unchecked','order','Name','workingDays','setViewFilter','lessThanOrEqual','setViewFieldOrder','view-','beforeFieldId','base.command.set-base-view-field-order','exception-','_config','selectField','number','UTC','invalidGanttStartField','records','_injector','fromEntries','renameTable','Progress','Person','_getTable','587732vCoqFN','searchTexts','invalid','decimalPlaces','embed-ui','$1\x20','includes','none','viewOrder','blue','displayColor','Flow','some','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','true','updateRecordOrder','IBaseCellData.ensureTableCellLayout','isNot','15JZebKS','score','default','date','_isColorfulKanbanGroupField','recordOrder','_projectFields','getDependencies','deleteRecords','timeZone','includeRecords','getSuperTableRegistrations','[BaseCommandService]:\x20cannot\x20create\x20record.','_getCachedProjection','valid','_isGanttDateField','getItem','_viewRevisions','base.command.set-base-view-group','subscribe','setViewGroup','getAffectedRanges','getUTCFullYear','attachments','base.command.duplicate-base-record','_getKanbanConfiguredLanes','BaseProjection.projectGroups','updateField','Text','getTime','row','hasOwnProperty','updateViewConfig','_isKanbanGroupField','registerView','updatedAt','getMonth','info','_tablePermissions','base.command.update-base-view-config','end','duplicateField','base.command.create-base-table','UpdatedBy','registerCommand','_getSystemFieldValue','_projectedGroupsCache','lastWeek','setViewFieldWidth','min','_normalizeGalleryConfig','insertOp','rowId','base.fieldType.','displayText','_kanbanLaneColor','createTable','function','_setCachedProjection','Grid','operator','[BaseCommandService]:\x20field\x20\x22','edit','quarter','tableId','-record-','base.viewType.gantt','clearTablePermission','_commandService','fieldSettings','__UNIVER_BASE_PERF__','format','base.command.duplicate-base-field','symbol'];_0x2f59=function(){return _0x37eee3;};return _0x2f59();}function Qe(_0x562810){const _0x27beaa=_0x1040ac;if(!_0x562810||typeof _0x562810!='object'||Array['isArray'](_0x562810))return!0x1;let _0x496d28=_0x562810;return'i'in _0x496d28||'r'in _0x496d28||'p'in _0x496d28||'d'in _0x496d28||'es'in _0x496d28||_0x27beaa(0x1a3)in _0x496d28||'et'in _0x496d28;}function $e(_0x59e412,_0x67124f){const _0x11baa1=_0x1040ac;let _0x72bb3f=_0x59e412;for(let _0x1ccab=0x0;_0x1ccab<_0x67124f[_0x11baa1(0x1ac)]-0x1;_0x1ccab++){let _0x221eec=_0x67124f[_0x1ccab],_0x525bbc=_0x72bb3f==null?void 0x0:_0x72bb3f[_0x221eec];if(!et(_0x525bbc))return;let _0x37378b=tt(_0x525bbc);_0x72bb3f[_0x221eec]=_0x37378b,_0x72bb3f=_0x37378b;}}function et(_0x54efdb){const _0x49dde9=_0x1040ac;return!!_0x54efdb&&typeof _0x54efdb==_0x49dde9(0x101);}function tt(_0x40ddda){const _0x5088c6=_0x1040ac;return Array[_0x5088c6(0x1c5)](_0x40ddda)?_0x40ddda[_0x5088c6(0x35c)]():{..._0x40ddda};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x1040ac(0x13a),at={'yyyy/mm/dd':_0x1040ac(0x326),'yyyy/mm/dd\x20hh:mm':_0x1040ac(0x1b0),'yyyy-mm-dd':_0x1040ac(0x13e),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x1040ac(0x282),'mmm\x20d,\x20yyyy':_0x1040ac(0x15c)};function j(_0x407524){const _0x526688=_0x1040ac;return _0x4bf057(_0x407524)[_0x526688(0x13c)]()/nt+rt;}function ot(_0x1bea8d){return(_0x1bea8d-rt)*nt;}function M(_0x3f6745){const _0x31edbb=_0x1040ac;if(_0x3f6745==null||_0x3f6745==='')return null;if(_0x3f6745 instanceof Date)return j(_0x3f6745);if(typeof _0x3f6745==_0x31edbb(0x1f7))return Number[_0x31edbb(0x299)](_0x3f6745)?_0x3f6745>0xf4240?j(_0x3f6745):_0x3f6745:null;let _0xfe2cfc=Date['parse'](String(_0x3f6745));return Number['isNaN'](_0xfe2cfc)?null:j(_0xfe2cfc);}function N(_0x5845d2){let _0x43ee7c=M(_0x5845d2);return _0x43ee7c==null?null:ot(_0x43ee7c);}function st(_0x269cb7,_0x11ecab={}){const _0x2bed4b=_0x1040ac;var _0x36ac7e,_0x1126f5,_0x4877a1;let _0x413b19=N(_0x269cb7);if(_0x413b19==null||!Number['isFinite'](_0x413b19))return'';let _0x4f0c96=String((_0x36ac7e=(_0x1126f5=_0x11ecab['pattern'])==null?_0x11ecab[_0x2bed4b(0x25a)]:_0x1126f5)==null?it:_0x36ac7e),_0x230bdc=_0x11ecab[_0x2bed4b(0x36c)]===!0x0||_0x4f0c96['includes'](_0x2bed4b(0x285)),_0xe5b235=String((_0x4877a1=_0x11ecab[_0x2bed4b(0x304)])==null?_0x2bed4b(0x188):_0x4877a1);return _0x4bf057(_0x413b19)[_0x2bed4b(0x25a)](ct(_0x4f0c96,_0x230bdc,_0xe5b235));}function ct(_0xc7a1f6,_0x277820,_0x403193){const _0x1e3aa4=_0x1040ac;var _0xc29770;let _0x1813e5=(_0xc29770=at[_0xc7a1f6])==null?at[it]:_0xc29770;return!_0x277820||_0xc7a1f6[_0x1e3aa4(0x207)](_0x1e3aa4(0x285))?_0x1813e5:_0x1813e5+'\x20'+(_0x403193===_0x1e3aa4(0x1e2)?_0x1e3aa4(0xbf):_0x1e3aa4(0x13b));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x406b36[_0x1040ac(0x2c6)],_0x406b36[_0x1040ac(0x31f)],_0x406b36[_0x1040ac(0x20c)],_0x406b36[_0x1040ac(0x313)],_0x406b36[_0x1040ac(0xb9)],_0x406b36[_0x1040ac(0x317)],_0x406b36[_0x1040ac(0x18a)],_0x406b36[_0x1040ac(0x166)]]),P=0x5a0*0x3c*0x3e8;function dt(_0x11e94b,_0x42b049){const _0x58bc0e=_0x1040ac;return _0x11e94b==null&&_0x42b049==null?0x0:_0x11e94b==null?-0x1:_0x42b049==null?0x1:typeof _0x11e94b==_0x58bc0e(0x1f7)&&typeof _0x42b049==_0x58bc0e(0x1f7)?_0x11e94b-_0x42b049:String(_0x11e94b)[_0x58bc0e(0x31c)](String(_0x42b049));}function ft(_0xd39531,_0x3662b8,_0x3032a7,_0x4ce7bb,_0x52d1e8={}){const _0x3cee3c=_0x1040ac;if(_0x3662b8==='isEmpty')return pt(_0xd39531);if(_0x3662b8===_0x3cee3c(0x157))return!pt(_0xd39531);switch(_0x4ce7bb['type']){case _0x406b36[_0x3cee3c(0x123)]:case _0x406b36['Currency']:case _0x406b36[_0x3cee3c(0x1fe)]:case _0x406b36[_0x3cee3c(0x367)]:return mt(_0xd39531,_0x3662b8,_0x3032a7);case _0x406b36['Date']:case _0x406b36[_0x3cee3c(0x34e)]:case _0x406b36[_0x3cee3c(0xc5)]:return gt(_0xd39531,_0x3662b8,_0x3032a7,_0x52d1e8);case _0x406b36['Checkbox']:return St(_0xd39531,_0x3662b8,_0x3032a7);case _0x406b36['SingleSelect']:case _0x406b36[_0x3cee3c(0x2ce)]:case _0x406b36[_0x3cee3c(0x1ff)]:case _0x406b36['Group']:return wt(_0xd39531,_0x3662b8,_0x3032a7,_0x4ce7bb);default:return Tt(_0xd39531,_0x3662b8,_0x3032a7);}}function pt(_0x3f78be){const _0x1ee638=_0x1040ac;return _0x3f78be==null?!0x0:Array['isArray'](_0x3f78be)?_0x3f78be[_0x1ee638(0x1ac)]===0x0:typeof _0x3f78be==_0x1ee638(0x2e9)?_0x3f78be[_0x1ee638(0x1e6)]()==='':!0x1;}function mt(_0x24e9f6,_0x476b1e,_0x1b4118){const _0x26de73=_0x1040ac;let _0x4650f1=ht(_0x24e9f6),_0x243b6d=ht(_0x1b4118);if(_0x4650f1==null||_0x243b6d==null)return!0x1;switch(_0x476b1e){case'is':return _0x4650f1===_0x243b6d;case _0x26de73(0x212):return _0x4650f1!==_0x243b6d;case _0x26de73(0x355):return _0x4650f1>_0x243b6d;case _0x26de73(0x25e):return _0x4650f1>=_0x243b6d;case'lessThan':return _0x4650f1<_0x243b6d;case _0x26de73(0x1ef):return _0x4650f1<=_0x243b6d;default:return!0x1;}}function ht(_0x15b29f){const _0x3fd9e9=_0x1040ac;if(_0x15b29f==null||_0x15b29f==='')return null;let _0x1455a4=Number(_0x15b29f);return Number[_0x3fd9e9(0x299)](_0x1455a4)?_0x1455a4:null;}function gt(_0x337265,_0x1a2a49,_0x22009d,_0x50d9fe){const _0x12bb04=_0x1040ac;var _0x2eca5;let _0xe913cc=vt(_0x337265);if(_0xe913cc==null)return!0x1;let _0x24c639=_t((_0x2eca5=_0x50d9fe['dateMode'])==null?'exact':_0x2eca5,_0x22009d,_0x50d9fe[_0x12bb04(0x2c5)]);if(!_0x24c639)return!0x1;switch(_0x1a2a49){case'is':return _0xe913cc>=_0x24c639['start']&&_0xe913cc<=_0x24c639[_0x12bb04(0x23b)];case _0x12bb04(0x212):return _0xe913cc<_0x24c639['start']||_0xe913cc>_0x24c639['end'];case _0x12bb04(0x281):return _0xe913cc<_0x24c639[_0x12bb04(0xc7)];case _0x12bb04(0x341):return _0xe913cc>_0x24c639['end'];default:return!0x1;}}function _t(_0x39454e,_0x533669,_0x34e7a0=Date[_0x1040ac(0x2c5)]()){const _0x2855e5=_0x1040ac;let _0x466280=yt(_0x34e7a0);switch(_0x39454e){case _0x2855e5(0x2cc):{let _0x140b39=vt(_0x533669);return _0x140b39==null?null:{'start':_0x140b39,'end':_0x140b39+P-0x1};}case'today':return{'start':_0x466280,'end':_0x466280+P-0x1};case _0x2855e5(0xeb):return{'start':_0x466280+P,'end':_0x466280+P*0x2-0x1};case _0x2855e5(0x17e):return{'start':_0x466280-P,'end':_0x466280-0x1};case'thisWeek':return bt(_0x466280,0x0);case _0x2855e5(0x242):return bt(_0x466280,-0x1);case _0x2855e5(0x31a):return xt(_0x466280,0x0);case _0x2855e5(0x2c3):return xt(_0x466280,-0x1);case _0x2855e5(0x30a):return{'start':_0x466280-P*0x6,'end':_0x466280+P-0x1};case'next7':return{'start':_0x466280,'end':_0x466280+P*0x7-0x1};case _0x2855e5(0x2dd):return{'start':_0x466280-P*0x1d,'end':_0x466280+P-0x1};case _0x2855e5(0x291):return{'start':_0x466280,'end':_0x466280+P*0x1e-0x1};}}function vt(_0x368de8){let _0x30f894=M(_0x368de8);return _0x30f894==null?null:yt(ot(_0x30f894));}function yt(_0x12d6cc){let _0x2e0f1f=new Date(_0x12d6cc);return _0x2e0f1f['setHours'](0x0,0x0,0x0,0x0),_0x2e0f1f['getTime']();}function bt(_0x1e6337,_0xdbd32e){const _0x47c1ee=_0x1040ac;let _0x354e9a=_0x1e6337-(new Date(_0x1e6337)[_0x47c1ee(0x113)]()+0x6)%0x7*P+_0xdbd32e*P*0x7;return{'start':_0x354e9a,'end':_0x354e9a+P*0x7-0x1};}function xt(_0x22bfdd,_0x3af9fc){const _0x4c15f2=_0x1040ac;let _0x50df1d=new Date(_0x22bfdd),_0x3c438b=new Date(_0x50df1d[_0x4c15f2(0x30f)](),_0x50df1d['getMonth']()+_0x3af9fc,0x1),_0x1f9e5f=new Date(_0x50df1d['getFullYear'](),_0x50df1d[_0x4c15f2(0x237)]()+_0x3af9fc+0x1,0x1);return{'start':_0x3c438b[_0x4c15f2(0x230)](),'end':_0x1f9e5f['getTime']()-0x1};}function St(_0xb08422,_0x393c26,_0x141ea1){let _0x5d3a4e=Ct(_0xb08422),_0x22e4ad=Ct(_0x141ea1);switch(_0x393c26){case'is':return _0x5d3a4e===_0x22e4ad;case'isNot':return _0x5d3a4e!==_0x22e4ad;default:return!0x1;}}function Ct(_0x4b9d61){const _0xaa02bb=_0x1040ac;return _0x4b9d61===!0x0||_0x4b9d61===_0xaa02bb(0x20f)||_0x4b9d61===0x1||_0x4b9d61==='1';}function wt(_0x4f6c73,_0x1e3f75,_0x324696,_0x41bd75){const _0x1d2285=_0x1040ac;let _0x520813=Dt(_0x4f6c73,_0x41bd75),_0x5c98bc=Dt(_0x324696,_0x41bd75),_0x2d9a3a=_0x5c98bc['length']>0x0&&_0x5c98bc[_0x1d2285(0x20d)](_0x935b18=>_0x520813[_0x1d2285(0x207)](_0x935b18));switch(_0x1e3f75){case'is':case _0x1d2285(0x131):return _0x2d9a3a;case _0x1d2285(0x212):case'notContains':return!_0x2d9a3a;default:return!0x1;}}function Tt(_0x58133a,_0x571f12,_0xf3e0ac){const _0x1d8e22=_0x1040ac;let _0x299cf9=Et(_0x58133a),_0xfa5812=Et(_0xf3e0ac);switch(_0x571f12){case'is':return _0x299cf9===_0xfa5812;case _0x1d8e22(0x212):return _0x299cf9!==_0xfa5812;case'contains':return _0xfa5812?_0x299cf9[_0x1d8e22(0x207)](_0xfa5812):!0x1;case _0x1d8e22(0x2ac):return _0xfa5812?!_0x299cf9[_0x1d8e22(0x207)](_0xfa5812):!0x0;default:return!0x1;}}function Et(_0x1262cc){const _0x56ffd3=_0x1040ac;if(Array['isArray'](_0x1262cc))return _0x1262cc[_0x56ffd3(0xb4)](_0x515d83=>Et(_0x515d83))['join']('\x0a');if(_0x1262cc&&typeof _0x1262cc==_0x56ffd3(0x101)){var _0x15c0ba,_0x594d43,_0x469709,_0x2649fd,_0x29d32f;let _0xb7ac65=_0x1262cc;return String((_0x15c0ba=(_0x594d43=(_0x469709=(_0x2649fd=(_0x29d32f=_0xb7ac65['name'])==null?_0xb7ac65['label']:_0x29d32f)==null?_0xb7ac65['text']:_0x2649fd)==null?_0xb7ac65['value']:_0x469709)==null?_0xb7ac65['id']:_0x594d43)==null?'':_0x15c0ba)[_0x56ffd3(0x1e6)]()[_0x56ffd3(0x1da)]();}return String(_0x1262cc==null?'':_0x1262cc)[_0x56ffd3(0x1e6)]()[_0x56ffd3(0x1da)]();}function Dt(_0x362e8d,_0x4d9183){const _0x1380f5=_0x1040ac;var _0x1319e1;let _0xaedf73=Ot(_0x362e8d),_0x13021c=kt((_0x1319e1=_0x4d9183[_0x1380f5(0x2ed)])==null?{}:_0x1319e1);return _0xaedf73['flatMap'](_0x594a38=>{const _0x1893a1=_0x1380f5;var _0x34d980;return(_0x34d980=_0x13021c[_0x1893a1(0x370)](_0x594a38))==null?[_0x594a38]:_0x34d980;})[_0x1380f5(0x308)]((_0x150212,_0x46c2e2,_0x10da6e)=>_0x150212!==''&&_0x10da6e[_0x1380f5(0x28a)](_0x150212)===_0x46c2e2);}function Ot(_0x134a25){const _0xe6aa74=_0x1040ac;if(_0x134a25==null||_0x134a25==='')return[];if(Array[_0xe6aa74(0x1c5)](_0x134a25))return _0x134a25[_0xe6aa74(0x1a6)](_0x377948=>Ot(_0x377948));if(_0x134a25&&typeof _0x134a25==_0xe6aa74(0x101)){let _0x58864a=_0x134a25;return['id','name',_0xe6aa74(0xf1),_0xe6aa74(0x11a),_0xe6aa74(0x2ea)]['flatMap'](_0x23d6dd=>Ot(_0x58864a[_0x23d6dd]))[_0xe6aa74(0x308)]((_0xe986f0,_0x2360fd,_0x51c3f6)=>_0x51c3f6['indexOf'](_0xe986f0)===_0x2360fd);}return[Et(_0x134a25)];}function kt(_0x4d31f3){const _0x30d733=_0x1040ac;let _0x28e726=new Map();return(Array[_0x30d733(0x1c5)](_0x4d31f3[_0x30d733(0x1d9)])?_0x4d31f3['options']:[])['forEach'](_0x448348=>{const _0x18cdd2=_0x30d733;if(!_0x448348||typeof _0x448348!=_0x18cdd2(0x101))return;let _0x2a60b5=Ot(_0x448348),_0x556fc8=_0x2a60b5[_0x18cdd2(0x308)]((_0x29bc6f,_0x4e396d)=>_0x29bc6f!==''&&_0x2a60b5[_0x18cdd2(0x28a)](_0x29bc6f)===_0x4e396d);_0x556fc8[_0x18cdd2(0x2d3)](_0x5b17bd=>_0x28e726[_0x18cdd2(0xdc)](_0x5b17bd,_0x556fc8));}),_0x28e726;}function F(_0x30cac2,_0x450a12={},_0x175ed0=_0x20d996=>_0x20d996,_0x570626={}){const _0x3c774c=_0x1040ac;var _0x24c241,_0x2c0e20,_0x48f4be,_0xe2f06b;let _0x1fafd7=!ut[_0x3c774c(0x31e)](_0x30cac2),_0x4f1667=_0x175ed0==null?_0x586350=>_0x586350:_0x175ed0;return{'type':_0x30cac2,'i18nKey':_0x3c774c(0x248)+_0x30cac2,'enabled':_0x1fafd7,'visibleInCreateMenu':_0x1fafd7,'createDefaultConfig':(_0x24c241=_0x570626['createDefaultConfig'])==null?()=>({}):_0x24c241,'createDefaultValue':(_0x2c0e20=_0x570626['createDefaultValue'])==null?_0x25516e=>{const _0xd18db3=_0x3c774c;var _0x34eaf0;return(_0x34eaf0=_0x25516e[_0xd18db3(0x145)])==null?null:_0x34eaf0;}:_0x2c0e20,'normalize':(_0x25d976,_0xeb20a1)=>_0x4f1667(_0x25d976,_0xeb20a1),'validate':(_0x415f12,_0x122af6)=>{const _0x3a029a=_0x3c774c;var _0x1870f9,_0x302638;return _0x1fafd7?(_0x1870f9=(_0x302638=_0x570626[_0x3a029a(0xb5)])==null?void 0x0:_0x302638[_0x3a029a(0x1ae)](_0x570626,_0x415f12,_0x122af6))==null?{'valid':!0x0}:_0x1870f9:{'valid':!0x1};},'compare':(_0x4eebb6,_0x4bf386)=>dt(_0x4eebb6,_0x4bf386),'filter':(_0x1f07c5,_0x2492af,_0x3093dd,_0x24222f)=>ft(_0x1f07c5,_0x2492af,_0x3093dd,_0x24222f),'toPlainText':(_0x48f4be=_0x570626[_0x3c774c(0x2bf)])==null?_0x525a93=>_0x525a93==null?'':String(_0x525a93):_0x48f4be,'fromPlainText':(_0xe2f06b=_0x570626[_0x3c774c(0x18d)])==null?_0x197b12=>_0x4f1667(_0x197b12,{'id':'','name':'','type':_0x30cac2,'config':{}}):_0xe2f06b,'getCapabilities':()=>{const _0x304447=_0x3c774c;var _0x62d626;return{...lt,..._0x450a12,'editable':_0x1fafd7&&((_0x62d626=_0x450a12[_0x304447(0x2cd)])==null?lt['editable']:_0x62d626)};}};}function At(){const _0x428f2a=_0x1040ac;return[F(_0x406b36[_0x428f2a(0x22f)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x26269b=>{var _0x406d3e;return(_0x406d3e=_0x26269b['defaultValue'])==null?'':_0x406d3e;}}),F(_0x406b36[_0x428f2a(0x1c7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4e2d28=>_0x4e2d28==null||_0x4e2d28===''?null:String(_0x4e2d28),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x428f2a(0x2fd)}})}),F(_0x406b36[_0x428f2a(0x2ce)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x231ad8=>Array['isArray'](_0x231ad8)?_0x231ad8[_0x428f2a(0xb4)](String):_0x231ad8==null?[]:[String(_0x231ad8)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x428f2a(0x2fd)}}),'createDefaultValue':_0x28a3b0=>{const _0x27e95e=_0x428f2a;var _0xacdedd;return(_0xacdedd=_0x28a3b0[_0x27e95e(0x145)])==null?[]:_0xacdedd;}}),F(_0x406b36['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':Ft}),F(_0x406b36[_0x428f2a(0x26b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0xff5088=>{const _0x4da8f0=_0x428f2a;var _0x54f833;return(_0x54f833=_0xff5088[_0x4da8f0(0x145)])==null?[]:_0x54f833;},'validate':It}),F(_0x406b36[_0x428f2a(0x107)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x531577=>M(_0x531577),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x406b36[_0x428f2a(0x197)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x357182=>_0x357182==null?[]:Array['isArray'](_0x357182)?_0x357182:[_0x357182],{'createDefaultValue':_0x26cbf4=>{var _0x81df9b;return(_0x81df9b=_0x26cbf4['defaultValue'])==null?[]:_0x81df9b;}}),F(_0x406b36[_0x428f2a(0x123)],{},_0x5cfa75=>_0x5cfa75==null||_0x5cfa75===''?null:Number(_0x5cfa75),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x406b36['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x40118b=>_0x40118b===!0x0||_0x40118b===_0x428f2a(0x20f)||_0x40118b===0x1||_0x40118b==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x428f2a(0x346)}),'createDefaultValue':_0x404c5f=>{const _0x4083ba=_0x428f2a;var _0x387a7e;return(_0x387a7e=_0x404c5f[_0x4083ba(0x145)])==null?!0x1:_0x387a7e;},'validate':_0x2d47ab=>typeof _0x2d47ab=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0xae)}}),F(_0x406b36[_0x428f2a(0xa6)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':_0x428f2a(0x28e)}),'toPlainText':_0xe1806f=>Vt(_0xe1806f),'fromPlainText':_0x1fbdb1=>Bt(_0x1fbdb1)}),F(_0x406b36['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),F(_0x406b36['Lookup'],{}),F(_0x406b36[_0x428f2a(0x20c)],{}),F(_0x406b36[_0x428f2a(0x313)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x406b36[_0x428f2a(0x1b1)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x428f2a(0x33e)}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x287)],{'usableAsTitle':!0x0},_0x31c35f=>_0x31c35f==null?null:String(_0x31c35f)[_0x428f2a(0x1e6)](),{'validate':_0x11b9d8=>_0x11b9d8==null||_0x11b9d8===''||/^\+?[0-9 ()-]{6,20}$/[_0x428f2a(0x34b)](String(_0x11b9d8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0x2ae)}}),F(_0x406b36[_0x428f2a(0x331)],{'usableAsTitle':!0x0},_0x1f2988=>_0x1f2988==null?null:String(_0x1f2988)['trim'](),{'validate':_0x37b035=>_0x37b035==null||_0x37b035===''||Ut(String(_0x37b035))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0xa8)}}),F(_0x406b36[_0x428f2a(0xb9)],{'usableAsTitle':!0x0}),F(_0x406b36[_0x428f2a(0x166)],{'usableAsTitle':!0x0}),F(_0x406b36['Progress'],{'usableAsGanttProgress':!0x0},_0x59d9b8=>_0x59d9b8==null||_0x59d9b8===''?null:Number(_0x59d9b8),{'createDefaultConfig':()=>({'format':_0x428f2a(0xca),'decimalPlaces':0x0,'color':_0x428f2a(0x20a),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x15387d,_0x35fc19)=>zt(_0x15387d,_0x35fc19,_0x428f2a(0x11b))}),F(_0x406b36[_0x428f2a(0xcf)],{},_0x56ab23=>_0x56ab23==null||_0x56ab23===''?null:Number(_0x56ab23),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x406b36[_0x428f2a(0x367)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1a9828=>_0x1a9828==null||_0x1a9828===''?null:Number(_0x1a9828),{'createDefaultConfig':()=>({'icon':_0x428f2a(0x368),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x1074f,_0x581f91)=>zt(_0x1074f,_0x581f91,_0x428f2a(0x2c7))}),F(_0x406b36[_0x428f2a(0x317)],{'supportsRelation':!0x0}),F(_0x406b36['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x406b36[_0x428f2a(0x2bb)],{'editable':!0x1,'groupable':!0x0},_0x3e970c=>_0x3e970c==null?null:String(_0x3e970c),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x23e)],{'editable':!0x1,'groupable':!0x0},_0x19eeea=>_0x19eeea==null?null:String(_0x19eeea),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x34e)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x30bea3=>M(_0x30bea3),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x406b36[_0x428f2a(0xc5)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5ba11e=>M(_0x5ba11e),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x406b36[_0x428f2a(0x31f)],{})];}function jt(){const _0x458ffb=_0x1040ac;return{'pattern':_0x458ffb(0x159),'decimalPlaces':0x2,'separatorStyle':_0x458ffb(0x2c0),'useThousands':!0x0,'abbreviation':_0x458ffb(0x208),'allowNegative':!0x0};}function Mt(){const _0x4723f3=_0x1040ac;return{'locale':_0x4723f3(0xc9),'pattern':_0x4723f3(0x13a),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x4723f3(0x208)};}function Nt(_0x2cf9bc){const _0x153a56=_0x1040ac;return _0x2cf9bc==null||_0x2cf9bc===''?[]:Array[_0x153a56(0x1c5)](_0x2cf9bc)?_0x2cf9bc[_0x153a56(0xb4)](String):[String(_0x2cf9bc)];}function Pt(_0x2db21c,_0xfd5a54){const _0x389161=_0x1040ac;var _0xafeba5;return _0x2db21c==null||_0x2db21c===''?_0xfd5a54['config'][_0x389161(0x17f)]===!0x0?[]:null:_0xfd5a54[_0x389161(0x2ed)][_0x389161(0x17f)]===!0x0?Array['isArray'](_0x2db21c)?_0x2db21c[_0x389161(0xb4)](String):[String(_0x2db21c)]:Array[_0x389161(0x1c5)](_0x2db21c)?String((_0xafeba5=_0x2db21c[0x0])==null?'':_0xafeba5)||null:String(_0x2db21c);}function Ft(_0x422e15,_0x38da85){const _0x119ef2=_0x1040ac;return _0x38da85[_0x119ef2(0x2ed)]['allowMultiple']===!0x0?It(_0x422e15):_0x422e15==null||_0x422e15===''||typeof _0x422e15=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function It(_0x285844){const _0x2c48c0=_0x1040ac;return _0x285844==null||Array[_0x2c48c0(0x1c5)](_0x285844)&&_0x285844[_0x2c48c0(0xb1)](_0x430e0e=>typeof _0x430e0e=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2c48c0(0x2f8)};}function Lt(_0x3a1958){const _0x4e33a3=_0x1040ac;return _0x3a1958==null||typeof _0x3a1958=='number'&&Number['isFinite'](_0x3a1958)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4e33a3(0x135)};}function Rt(_0x579813,_0x417fa4){const _0x3ffbb9=_0x1040ac;return _0x579813==null||_0x579813===''?{'valid':!0x0}:typeof _0x579813!='number'||!Number[_0x3ffbb9(0x299)](_0x579813)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x417fa4[_0x3ffbb9(0x2ed)][_0x3ffbb9(0x318)]===!0x1&&_0x579813<0x0?{'valid':!0x1,'reason':_0x3ffbb9(0x36f)}:{'valid':!0x0};}function zt(_0x2ad3b7,_0xdf9a27,_0x14394e){const _0x368cf2=_0x1040ac;var _0x57635c,_0x5c97e6,_0x48fab2,_0x17a1f3;let _0x1799a2=Rt(_0x2ad3b7,_0xdf9a27);if(!_0x1799a2['valid']||_0x2ad3b7==null||_0x2ad3b7==='')return _0x1799a2;let _0x2cb984=Number((_0x57635c=(_0x5c97e6=_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0x244)])==null?_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0xc7)]:_0x5c97e6)==null?0x0:_0x57635c),_0x33b0a9=Number((_0x48fab2=(_0x17a1f3=_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0x2f7)])==null?_0xdf9a27['config']['end']:_0x17a1f3)==null?0x64:_0x48fab2),_0x352090=Number(_0x2ad3b7);return _0x352090>=_0x2cb984&&_0x352090<=_0x33b0a9?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14394e};}function Bt(_0x3acb67){const _0x3f1ca4=_0x1040ac;if(_0x3acb67==null||_0x3acb67==='')return null;if(typeof _0x3acb67==_0x3f1ca4(0x101)&&!Array[_0x3f1ca4(0x1c5)](_0x3acb67)){let _0x598114=_0x3acb67,_0x1fca7a=typeof _0x598114[_0x3f1ca4(0x2ea)]==_0x3f1ca4(0x2e9)?_0x598114[_0x3f1ca4(0x2ea)]['trim']():'',_0x3b1317=typeof _0x598114[_0x3f1ca4(0x36e)]==_0x3f1ca4(0x2e9)?_0x598114[_0x3f1ca4(0x36e)][_0x3f1ca4(0x1e6)]():'',_0x4594e6=Ht(_0x3b1317||_0x1fca7a);return _0x4594e6?{'text':_0x1fca7a||_0x3b1317||_0x4594e6,'url':_0x4594e6}:null;}let _0x4ef2ba=String(_0x3acb67)[_0x3f1ca4(0x1e6)](),_0x5db2cf=Ht(_0x4ef2ba);return _0x5db2cf?{'text':_0x4ef2ba,'url':_0x5db2cf}:null;}function Vt(_0x42d06a){const _0x273d3f=_0x1040ac;if(_0x42d06a==null)return'';if(typeof _0x42d06a==_0x273d3f(0x101)&&!Array['isArray'](_0x42d06a)){let _0x385a63=_0x42d06a;return String(_0x385a63[_0x273d3f(0x2ea)]||_0x385a63[_0x273d3f(0x36e)]||'');}return String(_0x42d06a);}function Ht(_0x3995c7){const _0x1cae63=_0x1040ac;let _0xd2b4ea=_0x3995c7[_0x1cae63(0x1e6)]();return _0xd2b4ea?/^[a-z][a-z\d+.-]*:\/\//i[_0x1cae63(0x34b)](_0xd2b4ea)?_0xd2b4ea:_0x1cae63(0x1cd)+_0xd2b4ea:'';}function Ut(_0x4599c1){const _0x58b79e=_0x1040ac;let _0x500ab9=_0x4599c1[_0x58b79e(0x28a)]('@');if(_0x500ab9<=0x0||_0x500ab9!==_0x4599c1[_0x58b79e(0x293)]('@'))return!0x1;let _0x4acf3e=_0x4599c1['slice'](_0x500ab9+0x1);return _0x4acf3e['includes']('.')&&!_0x4599c1[_0x58b79e(0x207)]('\x20')&&!_0x4acf3e['startsWith']('.')&&!_0x4acf3e['endsWith']('.');}const I={'table':_0x17df21=>['tables',_0x17df21],'field':(_0x363a6e,_0x2ff404)=>[_0x1040ac(0x274),_0x363a6e,_0x1040ac(0x351),_0x2ff404],'fieldOrder':(_0x5bcf2e,_0x3a70e5)=>['tables',_0x5bcf2e,'fieldOrder',_0x3a70e5],'record':(_0x56d3d5,_0x223f20)=>[_0x1040ac(0x274),_0x56d3d5,_0x1040ac(0x1fa),_0x223f20],'cell':(_0x7dc53e,_0x2d601e,_0x32f632)=>['tables',_0x7dc53e,_0x1040ac(0x1fa),_0x2d601e,_0x1040ac(0x29d),_0x32f632],'cellData':(_0x4550b3,_0x1265bb,_0x4816c6)=>[_0x1040ac(0x274),_0x4550b3,_0x1040ac(0x184),String(_0x1265bb),String(_0x4816c6)],'attachmentSet':(_0x4867da,_0x5c272f)=>[_0x1040ac(0x274),_0x4867da,_0x1040ac(0x9f),_0x1040ac(0x2a2),_0x5c272f],'attachment':(_0xc41b8,_0x42a660)=>[_0x1040ac(0x274),_0xc41b8,_0x1040ac(0x9f),_0x1040ac(0x22a),_0x42a660],'view':(_0x4f9329,_0x3e07b4)=>[_0x1040ac(0x274),_0x4f9329,_0x1040ac(0x165),_0x3e07b4],'viewFieldHidden':(_0x42ba2e,_0x2413e7,_0x84e521)=>[_0x1040ac(0x274),_0x42ba2e,_0x1040ac(0x165),_0x2413e7,'fieldSettings',_0x84e521,'hidden']};function L(_0x51afe9){const _0x2aa3bf=_0x1040ac;return _0x51afe9[_0x2aa3bf(0x2b8)]((_0x250762,_0x5f326e)=>_0x250762==null?_0x5f326e:_0x5db611[_0x2aa3bf(0xd2)][_0x2aa3bf(0x260)](_0x250762,_0x5f326e),void 0x0);}var R=class{['setBaseName'](_0x210b3e,_0x136b79){const _0x21c72b=_0x1040ac;let _0x19ef08=this[_0x21c72b(0xa1)](_0x210b3e,_0x210b3e[_0x21c72b(0x27a)],_0x136b79);return L([this['_replaceOptional'](['name'],_0x210b3e[_0x21c72b(0x27a)],_0x136b79),..._0x19ef08?[_0x19ef08]:[]]);}[_0x1040ac(0xa1)](_0x1e587a,_0x4afbeb,_0x31f642){const _0x2f5036=_0x1040ac;let _0x246c61=Object['values'](_0x1e587a['tables'])['flatMap'](_0x3202f5=>Object[_0x2f5036(0x29d)](_0x3202f5[_0x2f5036(0x351)])[_0x2f5036(0x1a6)](_0x51c69e=>{const _0x125160=_0x2f5036;var _0x2ddbe5,_0x42ed13,_0x24f02c;if(_0x51c69e[_0x125160(0xd2)]!==_0x406b36['Formula'])return[];let _0x39fef7=String((_0x2ddbe5=(_0x42ed13=_0x51c69e[_0x125160(0x2ed)])==null?void 0x0:_0x42ed13[_0x125160(0x345)])==null?'':_0x2ddbe5),_0x7da33c=_0x5eb607(_0x39fef7,_0x4afbeb,_0x31f642);return _0x7da33c===_0x39fef7?[]:[this['_replaceOptional']([...I[_0x125160(0x16b)](_0x3202f5['id'],_0x51c69e['id']),'config',_0x125160(0x345)],(_0x24f02c=_0x51c69e[_0x125160(0x2ed)])==null?void 0x0:_0x24f02c[_0x125160(0x345)],_0x7da33c)];}));return _0x246c61[_0x2f5036(0x1ac)]>0x0?L(_0x246c61):void 0x0;}[_0x1040ac(0x24b)](_0x2b7659,_0x493615,_0xd07f6b=_0x2b7659[_0x1040ac(0x11c)]['length']){const _0x421047=_0x1040ac;return L([_0x5db611[_0x421047(0x246)](I[_0x421047(0x2fc)](_0x493615['id']),_0x493615),_0x5db611[_0x421047(0x246)]([_0x421047(0x11c),_0xd07f6b],_0x493615['id'])]);}[_0x1040ac(0x1fd)](_0x4dfc14,_0x5a5160,_0x1a1f81){const _0x4df452=_0x1040ac;let _0x11afef=_0x4dfc14[_0x4df452(0x274)][_0x5a5160]['name'],_0x58abe4=Object[_0x4df452(0x29d)](_0x4dfc14[_0x4df452(0x274)])[_0x4df452(0x1a6)](_0x346353=>Object[_0x4df452(0x29d)](_0x346353[_0x4df452(0x351)])[_0x4df452(0x1a6)](_0x1a1ec5=>{const _0x3d4d70=_0x4df452;var _0x68e620,_0x5e4587;if(_0x1a1ec5[_0x3d4d70(0xd2)]!==_0x406b36[_0x3d4d70(0x2ec)])return[];let _0x2b6ba7=String((_0x68e620=(_0x5e4587=_0x1a1ec5[_0x3d4d70(0x2ed)])==null?void 0x0:_0x5e4587[_0x3d4d70(0x345)])==null?'':_0x68e620),_0x47fc03=Xt(_0x2b6ba7,_0x11afef,_0x1a1f81);return _0x47fc03===_0x2b6ba7?[]:[this[_0x3d4d70(0x22e)](_0x4dfc14,_0x346353['id'],_0x1a1ec5['id'],{'config':{..._0x1a1ec5['config'],'formula':_0x47fc03}})];}));return L([_0x5db611[_0x4df452(0x2ad)]([...I[_0x4df452(0x2fc)](_0x5a5160),_0x4df452(0x27a)],_0x11afef,_0x1a1f81),..._0x58abe4]);}[_0x1040ac(0x108)](_0xe2b72e,_0xb65523){const _0x3f2525=_0x1040ac;let _0x157333=_0xe2b72e[_0x3f2525(0x274)][_0xb65523],_0x95e088=_0xe2b72e[_0x3f2525(0x11c)][_0x3f2525(0x28a)](_0xb65523);return L([_0x5db611[_0x3f2525(0x139)](I['table'](_0xb65523),_0x157333),_0x5db611[_0x3f2525(0x139)]([_0x3f2525(0x11c),_0x95e088],_0xb65523)]);}[_0x1040ac(0x1e9)](_0x4c1f07,_0x4172a2,_0x4d903d){return this['createRecords'](_0x4c1f07,_0x4172a2,[_0x4d903d]);}['createRecords'](_0x3f132a,_0x5aa10d,_0x2465a3){const _0xee666d=_0x1040ac;let _0x1dd3eb=_0x3f132a[_0xee666d(0x274)][_0x5aa10d],_0x49a331=_0x2465a3[_0xee666d(0x308)](_0x13cd44=>_0x13cd44&&!_0x1dd3eb[_0xee666d(0x1fa)][_0x13cd44['id']]);return _0x49a331[_0xee666d(0x1ac)]?L([..._0x49a331[_0xee666d(0xb4)](_0x28818e=>_0x5db611[_0xee666d(0x246)](I['record'](_0x5aa10d,_0x28818e['id']),_0x28818e)),this[_0xee666d(0xbc)](_0x3f132a,_0x5aa10d,_0x49a331)]):_0x5db611['replaceOp']([...I[_0xee666d(0x2fc)](_0x5aa10d),_0xee666d(0x1fa)],_0x1dd3eb[_0xee666d(0x1fa)],_0x1dd3eb[_0xee666d(0x1fa)]);}[_0x1040ac(0x1af)](_0x10f268,_0x58b3d8,_0x107823){return this['deleteRecords'](_0x10f268,_0x58b3d8,[_0x107823]);}['deleteRecords'](_0x4a518d,_0x58da27,_0xcf8538){const _0x1bfb2a=_0x1040ac;let _0x24ce5b=_0x4a518d[_0x1bfb2a(0x274)][_0x58da27],_0x1b8481=Array[_0x1bfb2a(0x136)](new Set(_0xcf8538))['filter'](_0x1f2bd4=>_0x24ce5b[_0x1bfb2a(0x1fa)][_0x1f2bd4]);if(!_0x1b8481[_0x1bfb2a(0x1ac)])return _0x5db611[_0x1bfb2a(0x2ad)]([...I[_0x1bfb2a(0x2fc)](_0x58da27),_0x1bfb2a(0x1fa)],_0x24ce5b[_0x1bfb2a(0x1fa)],_0x24ce5b[_0x1bfb2a(0x1fa)]);let _0x1d2522=new Set(_0x1b8481),_0x4c620d=_0x1b8481[_0x1bfb2a(0xb4)](_0x3fc914=>{const _0x9d67d6=_0x1bfb2a;var _0x448980,_0x36c909;return{'recordId':_0x3fc914,'index':(_0x448980=(_0x36c909=_0x24ce5b[_0x9d67d6(0x218)])==null?void 0x0:_0x36c909['indexOf'](_0x3fc914))==null?-0x1:_0x448980};})['filter'](_0x267797=>_0x267797[_0x1bfb2a(0x314)]>=0x0)['sort']((_0x138def,_0x2e5e5a)=>_0x2e5e5a[_0x1bfb2a(0x314)]-_0x138def[_0x1bfb2a(0x314)]);return L([..._0x1b8481[_0x1bfb2a(0xb4)](_0x1bb4b2=>_0x5db611[_0x1bfb2a(0x139)](I[_0x1bfb2a(0x2dc)](_0x58da27,_0x1bb4b2),_0x24ce5b[_0x1bfb2a(0x1fa)][_0x1bb4b2])),..._0x4c620d['map'](({recordId:_0x1a398e,index:_0x936b3b})=>_0x5db611[_0x1bfb2a(0x139)]([_0x1bfb2a(0x274),_0x58da27,_0x1bfb2a(0x218),_0x936b3b],_0x1a398e)),...this[_0x1bfb2a(0x2f9)](_0x24ce5b,_0x58da27,_0x5c15d2=>{const _0x21eddc=_0x1bfb2a;let _0x36fceb=_0x5c15d2[_0x21eddc(0x35c)](_0x5c15d2[_0x21eddc(0x293)]('\x1f')+0x1);return _0x1d2522[_0x21eddc(0x31e)](_0x36fceb);})]);}[_0x1040ac(0xd9)](_0x88c0f6,_0x13cd95,_0x32e51a,_0x234244){const _0x39a9c0=_0x1040ac;return this[_0x39a9c0(0x1e9)](_0x88c0f6,_0x13cd95,{..._0x234244,'values':{..._0x88c0f6[_0x39a9c0(0x274)][_0x13cd95][_0x39a9c0(0x1fa)][_0x32e51a]['values'],..._0x234244[_0x39a9c0(0x29d)]}});}['updateRecordOrder'](_0x96cdd2,_0x45f86b,_0x120a30,_0x110969){const _0xc2b909=_0x1040ac;let _0x4f5e9b=_0x96cdd2[_0xc2b909(0x274)][_0x45f86b],_0x3f8fdc=[...I[_0xc2b909(0x2dc)](_0x45f86b,_0x120a30),_0xc2b909(0x1a0)],_0x120e2b=Object[_0xc2b909(0x29d)](_0x4f5e9b[_0xc2b909(0x1fa)])[_0xc2b909(0xb4)](_0x59dbbb=>_0x59dbbb['id']===_0x120a30?{..._0x59dbbb,'orderKey':_0x110969}:_0x59dbbb)[_0xc2b909(0x127)]((_0x23ecde,_0x3c6447)=>{const _0x2e95d4=_0xc2b909;var _0x2894de,_0x2ba64f;return String((_0x2894de=_0x23ecde['orderKey'])==null?_0x23ecde['id']:_0x2894de)[_0x2e95d4(0x31c)](String((_0x2ba64f=_0x3c6447['orderKey'])==null?_0x3c6447['id']:_0x2ba64f));})[_0xc2b909(0xb4)](_0x4a1875=>_0x4a1875['id']),_0x1c9cf1=[...I[_0xc2b909(0x2fc)](_0x45f86b),'recordOrder'];return L([_0x5db611[_0xc2b909(0x2ad)](_0x3f8fdc,_0x4f5e9b[_0xc2b909(0x1fa)][_0x120a30][_0xc2b909(0x1a0)],_0x110969),_0x4f5e9b[_0xc2b909(0x218)]?_0x5db611[_0xc2b909(0x2ad)](_0x1c9cf1,_0x4f5e9b[_0xc2b909(0x218)],_0x120e2b):_0x5db611[_0xc2b909(0x246)](_0x1c9cf1,_0x120e2b)]);}[_0x1040ac(0x2f2)](_0x46aec3,_0x83850b,_0x31e425,_0x3c51c1,_0x552a9f){const _0x4166dc=_0x1040ac;var _0x5d6f3e,_0x132515;let _0x44815e=_0x46aec3[_0x4166dc(0x274)][_0x83850b],_0x5c1ab4=Wt(_0x44815e,_0x31e425,_0x3c51c1)?_0x44815e:E(_0x44815e),_0x43efa3=(_0x5d6f3e=_0x5c1ab4[_0x4166dc(0x2f6)])==null?void 0x0:_0x5d6f3e[_0x31e425],_0x5ec255=(_0x132515=_0x5c1ab4[_0x4166dc(0x193)])==null?void 0x0:_0x132515[_0x3c51c1];if(_0x43efa3==null||_0x5ec255==null){var _0x16ce5f;return this[_0x4166dc(0xea)](I[_0x4166dc(0x2fb)](_0x83850b,_0x31e425,_0x3c51c1),(_0x16ce5f=_0x46aec3[_0x4166dc(0x274)][_0x83850b])==null||(_0x16ce5f=_0x16ce5f[_0x4166dc(0x1fa)][_0x31e425])==null?void 0x0:_0x16ce5f[_0x4166dc(0x29d)][_0x3c51c1],_0x552a9f);}return this['setRangeValues'](_0x46aec3,_0x83850b,[{'row':_0x43efa3,'col':_0x5ec255,'value':_0x552a9f}]);}[_0x1040ac(0x1a7)](_0x1f1e4f,_0x5d33fc,_0x53544e){const _0x5af9f0=_0x1040ac;let _0x264fd4=_0x1f1e4f[_0x5af9f0(0x274)][_0x5d33fc],_0x4744e5=_0x53544e[_0x5af9f0(0xb1)](_0x521d8c=>Object['keys'](_0x521d8c[_0x5af9f0(0x29d)])['every'](_0x25f966=>Wt(_0x264fd4,_0x521d8c[_0x5af9f0(0x158)],_0x25f966)))?_0x264fd4:E(_0x264fd4),_0x22f04a=_0x53544e[_0x5af9f0(0x1a6)](_0x4c4494=>Object['entries'](_0x4c4494[_0x5af9f0(0x29d)])[_0x5af9f0(0x1a6)](([_0x56711f,_0x24aa86])=>{const _0x26afbd=_0x5af9f0;var _0x36303c,_0x57e9be;let _0x33a441=(_0x36303c=_0x4744e5['rowIndex'])==null?void 0x0:_0x36303c[_0x4c4494[_0x26afbd(0x158)]],_0x2002fc=(_0x57e9be=_0x4744e5[_0x26afbd(0x193)])==null?void 0x0:_0x57e9be[_0x56711f];return _0x33a441==null||_0x2002fc==null?[]:[{'row':_0x33a441,'col':_0x2002fc,'value':_0x24aa86}];})),_0x3389c4=_0x53544e[_0x5af9f0(0x1a6)](_0x41170a=>{const _0x5b3bf4=_0x5af9f0;var _0x32a9c5;return Object['entries']((_0x32a9c5=_0x41170a[_0x5b3bf4(0x19e)])==null?{}:_0x32a9c5)['map'](([_0x4c372d,_0x5ba622])=>{const _0x97f201=_0x5b3bf4;var _0x4f2a41;let _0x1f1450=[...I[_0x97f201(0x2dc)](_0x5d33fc,_0x41170a[_0x97f201(0x158)]),_0x4c372d],_0x1d832f=(_0x4f2a41=_0x1f1e4f[_0x97f201(0x274)][_0x5d33fc])==null||(_0x4f2a41=_0x4f2a41[_0x97f201(0x1fa)][_0x41170a[_0x97f201(0x158)]])==null?void 0x0:_0x4f2a41[_0x4c372d];return this[_0x97f201(0xea)](_0x1f1450,_0x1d832f,_0x5ba622);});});return L([this[_0x5af9f0(0x10b)](_0x1f1e4f,_0x5d33fc,_0x22f04a),..._0x3389c4]);}[_0x1040ac(0x10b)](_0x4f1de4,_0x4a3042,_0x14816f){const _0x4fefab=_0x1040ac;let _0x5da719=_0x4f1de4['tables'][_0x4a3042],_0x1f6f0e=_0x14816f[_0x4fefab(0xb1)](_0x29daab=>Gt(_0x5da719,_0x29daab['row'],_0x29daab[_0x4fefab(0xb0)]))?_0x5da719:E(_0x5da719),_0x5c420e=_0x14816f[_0x4fefab(0x1a6)](_0x23e864=>{const _0x209eb8=_0x4fefab;var _0x46c761,_0xe608b4,_0x36af15,_0x3cff67;let _0x402361=(_0x46c761=_0x1f6f0e[_0x209eb8(0x2fa)])==null?void 0x0:_0x46c761[_0x23e864[_0x209eb8(0xb0)]],_0x470d9c=(_0xe608b4=_0x1f6f0e['rowId'])==null?void 0x0:_0xe608b4[_0x23e864[_0x209eb8(0x231)]],_0x84c860=_0x402361?_0x1f6f0e[_0x209eb8(0x351)][_0x402361]:void 0x0,_0x2d7c1d=D(_0x23e864['value'],_0x84c860),_0x164ccd=(_0x36af15=_0x1f6f0e[_0x209eb8(0x184)])==null||(_0x36af15=_0x36af15[_0x23e864[_0x209eb8(0x231)]])==null?void 0x0:_0x36af15[_0x23e864[_0x209eb8(0xb0)]],_0x46ace7=this[_0x209eb8(0xea)](I[_0x209eb8(0x184)](_0x4a3042,_0x23e864[_0x209eb8(0x231)],_0x23e864[_0x209eb8(0xb0)]),_0x164ccd,_0x2d7c1d);if(!_0x402361||!_0x470d9c)return[_0x46ace7];let _0x3e9412=(_0x3cff67=_0x1f6f0e['records'][_0x470d9c])==null?void 0x0:_0x3cff67['values'][_0x402361],_0x11b1aa=(_0x84c860==null?void 0x0:_0x84c860[_0x209eb8(0xd2)])===_0x406b36[_0x209eb8(0x197)]?O(_0x23e864[_0x209eb8(0x11a)]):Ae(_0x23e864[_0x209eb8(0x11a)],_0x2d7c1d,_0x84c860,_0x1f6f0e,_0x470d9c),_0x10b90a=[_0x46ace7,this[_0x209eb8(0xea)](I[_0x209eb8(0x2fb)](_0x4a3042,_0x470d9c,_0x402361),_0x3e9412,_0x11b1aa)];if((_0x84c860==null?void 0x0:_0x84c860[_0x209eb8(0xd2)])!==_0x406b36[_0x209eb8(0x197)])return _0x10b90a;let _0x52e0a5=this[_0x209eb8(0x262)](_0x1f6f0e,_0x4a3042,_0x470d9c,_0x402361,_0x11b1aa);return[..._0x10b90a,..._0x52e0a5];});return _0x5c420e['length']?L(_0x5c420e):_0x5db611[_0x4fefab(0x2ad)]([_0x4fefab(0x274),_0x4a3042,'cellData'],_0x1f6f0e[_0x4fefab(0x184)],_0x1f6f0e[_0x4fefab(0x184)]);}[_0x1040ac(0x2c2)](_0x94b092,_0x1cc31a,_0x125126){const _0x4c3257=_0x1040ac;var _0xc71cb7,_0x13bc92;let _0x34ad9d=_0x94b092[_0x4c3257(0x274)][_0x1cc31a];if(_0x34ad9d[_0x4c3257(0x351)][_0x125126[_0x4c3257(0x16b)]['id']]||_0x34ad9d[_0x4c3257(0xce)][_0x4c3257(0x207)](_0x125126[_0x4c3257(0x16b)]['id']))return _0x5db611['replaceOp']([_0x4c3257(0x274),_0x1cc31a,'fieldOrder'],_0x34ad9d[_0x4c3257(0xce)],_0x34ad9d['fieldOrder']);let _0x3b9ef8=(_0xc71cb7=_0x125126[_0x4c3257(0x314)])==null?_0x34ad9d['fieldOrder'][_0x4c3257(0x1ac)]:_0xc71cb7,_0x268bf0=Object[_0x4c3257(0x29d)]((_0x13bc92=_0x34ad9d[_0x4c3257(0x165)])==null?{}:_0x13bc92)[_0x4c3257(0x1a6)](_0x4a6a15=>{const _0x53ff9e=_0x4c3257;var _0x1fa3c1,_0x2139cd;if(!_0x4a6a15[_0x53ff9e(0xce)]||_0x4a6a15[_0x53ff9e(0xce)][_0x53ff9e(0x207)](_0x125126[_0x53ff9e(0x16b)]['id']))return[];let _0x51f441=Yt((_0x1fa3c1=(_0x2139cd=_0x125126[_0x53ff9e(0x347)])==null?void 0x0:_0x2139cd[_0x4a6a15['id']])==null?_0x3b9ef8:_0x1fa3c1,_0x4a6a15[_0x53ff9e(0xce)][_0x53ff9e(0x1ac)]);return[_0x5db611[_0x53ff9e(0x246)]([...I[_0x53ff9e(0xac)](_0x1cc31a,_0x4a6a15['id']),_0x53ff9e(0xce),_0x51f441],_0x125126[_0x53ff9e(0x16b)]['id'])];});return L([_0x5db611[_0x4c3257(0x246)](I['field'](_0x1cc31a,_0x125126['field']['id']),_0x125126[_0x4c3257(0x16b)]),_0x5db611[_0x4c3257(0x246)](I[_0x4c3257(0xce)](_0x1cc31a,_0x3b9ef8),_0x125126['field']['id']),..._0x268bf0]);}[_0x1040ac(0x23c)](_0x2c1b20,_0x3b969,_0x2a3454,_0x29feaa){const _0x6b03e6=_0x1040ac;var _0x3f6cd5,_0x1af4bf;let _0x39e670=_0x2c1b20[_0x6b03e6(0x274)][_0x3b969];if(!_0x39e670[_0x6b03e6(0x351)][_0x2a3454]||_0x39e670[_0x6b03e6(0x351)][_0x29feaa[_0x6b03e6(0x16b)]['id']]||_0x39e670[_0x6b03e6(0xce)]['includes'](_0x29feaa[_0x6b03e6(0x16b)]['id']))return _0x5db611[_0x6b03e6(0x2ad)]([_0x6b03e6(0x274),_0x3b969,'fieldOrder'],_0x39e670[_0x6b03e6(0xce)],_0x39e670[_0x6b03e6(0xce)]);let _0x42e152=(_0x3f6cd5=_0x29feaa[_0x6b03e6(0x314)])==null?_0x39e670[_0x6b03e6(0xce)]['indexOf'](_0x2a3454)+0x1:_0x3f6cd5,_0x2cd01f=_0x39e670['fieldOrder'][_0x6b03e6(0x308)](_0x8e1594=>_0x8e1594!==_0x29feaa['field']['id']),_0x411f1a=qt(_0x2cd01f,_0x29feaa[_0x6b03e6(0x16b)]['id'],_0x42e152),_0x5a6923=Object['values']((_0x1af4bf=_0x39e670[_0x6b03e6(0x165)])==null?{}:_0x1af4bf)[_0x6b03e6(0x1a6)](_0x5a3f17=>{const _0x3c2b7c=_0x6b03e6;var _0x38c76d,_0x19d520,_0x429bf1,_0x2390c1,_0x4dfdf3;let _0x45aefd=(_0x38c76d=_0x5a3f17[_0x3c2b7c(0xce)])!=null&&_0x38c76d[_0x3c2b7c(0x1ac)]?_0x5a3f17['fieldOrder']:_0x2cd01f;if(_0x45aefd[_0x3c2b7c(0x207)](_0x29feaa['field']['id']))return[];let _0x570d30=qt(_0x45aefd,_0x29feaa['field']['id'],(_0x19d520=(_0x429bf1=_0x29feaa[_0x3c2b7c(0x347)])==null?void 0x0:_0x429bf1[_0x5a3f17['id']])==null?_0x42e152:_0x19d520),_0x543308=(_0x2390c1=_0x5a3f17[_0x3c2b7c(0x258)])==null?void 0x0:_0x2390c1[_0x2a3454];return[this[_0x3c2b7c(0xea)]([...I[_0x3c2b7c(0xac)](_0x3b969,_0x5a3f17['id']),_0x3c2b7c(0xce)],_0x5a3f17[_0x3c2b7c(0xce)],_0x570d30),..._0x543308?[this[_0x3c2b7c(0xea)]([...I[_0x3c2b7c(0xac)](_0x3b969,_0x5a3f17['id']),_0x3c2b7c(0x258),_0x29feaa[_0x3c2b7c(0x16b)]['id']],(_0x4dfdf3=_0x5a3f17[_0x3c2b7c(0x258)])==null?void 0x0:_0x4dfdf3[_0x29feaa['field']['id']],_0x543308)]:[]];}),_0x1a9f01=Object[_0x6b03e6(0x29d)](_0x39e670['records'])[_0x6b03e6(0x308)](_0x100f8f=>Object['prototype'][_0x6b03e6(0x232)][_0x6b03e6(0x1ae)](_0x100f8f['values'],_0x2a3454))[_0x6b03e6(0xb4)](_0x3242a2=>this[_0x6b03e6(0xea)](I[_0x6b03e6(0x2fb)](_0x3b969,_0x3242a2['id'],_0x29feaa[_0x6b03e6(0x16b)]['id']),_0x3242a2[_0x6b03e6(0x29d)][_0x29feaa['field']['id']],_0x3242a2[_0x6b03e6(0x29d)][_0x2a3454]));return L([_0x5db611[_0x6b03e6(0x246)](I[_0x6b03e6(0x16b)](_0x3b969,_0x29feaa[_0x6b03e6(0x16b)]['id']),_0x29feaa[_0x6b03e6(0x16b)]),_0x5db611[_0x6b03e6(0x2ad)](['tables',_0x3b969,'fieldOrder'],_0x39e670['fieldOrder'],_0x411f1a),..._0x5a6923,..._0x1a9f01]);}[_0x1040ac(0x22e)](_0x4d9199,_0x2c22a6,_0x5377e9,_0x2e14aa){const _0x397bdf=_0x1040ac;let _0x4998e5=_0x4d9199[_0x397bdf(0x274)][_0x2c22a6][_0x397bdf(0x351)][_0x5377e9],_0xf8e3e1={..._0x4998e5,..._0x2e14aa};Object['keys'](_0x2e14aa)[_0x397bdf(0x2d3)](_0x54dd1e=>{_0x2e14aa[_0x54dd1e]===void 0x0&&delete _0xf8e3e1[_0x54dd1e];});let _0x13ff05=_0x5db611[_0x397bdf(0x2ad)](I[_0x397bdf(0x16b)](_0x2c22a6,_0x5377e9),_0x4998e5,_0xf8e3e1);return _0xf8e3e1[_0x397bdf(0xd2)]===_0x406b36[_0x397bdf(0x2ec)]?L([_0x13ff05,...this[_0x397bdf(0x9e)](_0x4d9199,_0x2c22a6,_0x5377e9,_0xf8e3e1)]):_0x13ff05;}['changeFieldType'](_0x303be7,_0x42be4a,_0x24868c,_0x36bd37){return this['updateField'](_0x303be7,_0x42be4a,_0x24868c,_0x36bd37);}[_0x1040ac(0xbd)](_0x3c7bcf,_0x3d6be,_0x4619ea){const _0x82542b=_0x1040ac;let _0x377d65=_0x3c7bcf[_0x82542b(0x274)][_0x3d6be];if(!(_0x377d65!=null&&_0x377d65[_0x82542b(0x351)][_0x4619ea])||_0x377d65['primaryFieldId']===_0x4619ea)return _0x5db611[_0x82542b(0x2ad)]([_0x82542b(0x274),_0x3d6be,_0x82542b(0xce)],_0x377d65==null?void 0x0:_0x377d65[_0x82542b(0xce)],_0x377d65==null?void 0x0:_0x377d65[_0x82542b(0xce)]);let _0xa37a63=_0x377d65['fieldOrder']['indexOf'](_0x4619ea),_0xeae2cb=Object[_0x82542b(0x29d)](_0x377d65['views'])['flatMap'](_0x1c34e2=>{const _0x4cae65=_0x82542b;var _0x7440c7,_0x2268b1,_0x5a54b8,_0x173a96,_0x248a68,_0xea4f56,_0x4a8e52,_0x112b41;let _0x4c7b6b=[],_0x5ab0ef=(_0x7440c7=(_0x2268b1=_0x1c34e2[_0x4cae65(0xce)])==null?void 0x0:_0x2268b1[_0x4cae65(0x28a)](_0x4619ea))==null?-0x1:_0x7440c7;_0x5ab0ef>=0x0&&_0x4c7b6b['push'](_0x5db611[_0x4cae65(0x139)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0xce),_0x5ab0ef],_0x4619ea));let _0x4254e5=(_0x5a54b8=_0x1c34e2[_0x4cae65(0x258)])==null?void 0x0:_0x5a54b8[_0x4619ea];_0x4254e5!==void 0x0&&_0x4c7b6b[_0x4cae65(0x143)](_0x5db611[_0x4cae65(0x139)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x258),_0x4619ea],_0x4254e5));let _0x2a5355=_0x1c34e2[_0x4cae65(0x308)]?{..._0x1c34e2[_0x4cae65(0x308)],'conditions':_0x1c34e2[_0x4cae65(0x308)]['conditions'][_0x4cae65(0x308)](_0x351538=>_0x351538[_0x4cae65(0x1d4)]!==_0x4619ea)}:_0x1c34e2[_0x4cae65(0x308)];_0x2a5355&&_0x2a5355[_0x4cae65(0x31d)][_0x4cae65(0x1ac)]!==((_0x173a96=_0x1c34e2[_0x4cae65(0x308)])==null?void 0x0:_0x173a96[_0x4cae65(0x31d)][_0x4cae65(0x1ac)])&&_0x4c7b6b[_0x4cae65(0x143)](this[_0x4cae65(0xea)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x308)],_0x1c34e2[_0x4cae65(0x308)],_0x2a5355));let _0x1b159a=(_0x248a68=_0x1c34e2[_0x4cae65(0x127)])==null?void 0x0:_0x248a68[_0x4cae65(0x308)](_0x29cd4c=>_0x29cd4c['fieldId']!==_0x4619ea);_0x1b159a&&_0x1b159a['length']!==((_0xea4f56=_0x1c34e2[_0x4cae65(0x127)])==null?void 0x0:_0xea4f56[_0x4cae65(0x1ac)])&&_0x4c7b6b['push'](this[_0x4cae65(0xea)]([...I['view'](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x127)],_0x1c34e2['sort'],_0x1b159a));let _0x1c6075=(_0x4a8e52=_0x1c34e2[_0x4cae65(0x1d1)])==null?void 0x0:_0x4a8e52[_0x4cae65(0x308)](_0x186024=>_0x186024[_0x4cae65(0x1d4)]!==_0x4619ea);_0x1c6075&&_0x1c6075[_0x4cae65(0x1ac)]!==((_0x112b41=_0x1c34e2[_0x4cae65(0x1d1)])==null?void 0x0:_0x112b41[_0x4cae65(0x1ac)])&&_0x4c7b6b['push'](this['_replaceOptional']([...I['view'](_0x3d6be,_0x1c34e2['id']),'group'],_0x1c34e2[_0x4cae65(0x1d1)],_0x1c6075));let _0x2f4001=Jt(_0x1c34e2[_0x4cae65(0x2ed)],_0x4619ea);return JSON[_0x4cae65(0x1dc)](_0x2f4001)!==JSON['stringify'](_0x1c34e2[_0x4cae65(0x2ed)])&&_0x4c7b6b['push'](_0x5db611[_0x4cae65(0x2ad)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),'config'],_0x1c34e2[_0x4cae65(0x2ed)],_0x2f4001)),_0x4c7b6b;}),_0x34ff2e=Object['values'](_0x377d65[_0x82542b(0x1fa)])[_0x82542b(0x1a6)](_0x5db38e=>Object['prototype'][_0x82542b(0x232)][_0x82542b(0x1ae)](_0x5db38e[_0x82542b(0x29d)],_0x4619ea)?[_0x5db611['removeOp'](I['cell'](_0x3d6be,_0x5db38e['id'],_0x4619ea),_0x5db38e['values'][_0x4619ea])]:[]);return L([_0x5db611['removeOp'](I['field'](_0x3d6be,_0x4619ea),_0x377d65[_0x82542b(0x351)][_0x4619ea]),_0x5db611[_0x82542b(0x139)](I[_0x82542b(0xce)](_0x3d6be,_0xa37a63),_0x4619ea),..._0xeae2cb,..._0x34ff2e,...this[_0x82542b(0x2f9)](_0x377d65,_0x3d6be,_0x1c27f5=>_0x1c27f5[_0x82542b(0xa7)](_0x4619ea+'\x1f'))]);}[_0x1040ac(0xef)](_0xb4264e,_0xf4a401,_0x2f2662,_0x5d2082){const _0x11230c=_0x1040ac;let _0x2e9b14=_0xb4264e[_0x11230c(0x274)][_0xf4a401][_0x11230c(0xce)],_0x4f5ba0=Kt(_0x2e9b14,_0x2f2662,_0x5d2082);return _0x5db611[_0x11230c(0x2ad)](['tables',_0xf4a401,'fieldOrder'],_0x2e9b14,_0x4f5ba0);}[_0x1040ac(0x32f)](_0x2ee5eb,_0xb05750,_0x6fc433,_0x1a0107=_0x2ee5eb[_0x1040ac(0x274)][_0xb05750][_0x1040ac(0x209)]['length']){const _0x418ad8=_0x1040ac;return L([_0x5db611['insertOp'](I[_0x418ad8(0xac)](_0xb05750,_0x6fc433['id']),_0x6fc433),_0x5db611[_0x418ad8(0x246)](['tables',_0xb05750,_0x418ad8(0x209),_0x1a0107],_0x6fc433['id'])]);}[_0x1040ac(0xd1)](_0x4fc343,_0x57735b,_0x551c17,_0x58fda0){const _0x6bf25b=_0x1040ac;return _0x5db611[_0x6bf25b(0x2ad)]([...I[_0x6bf25b(0xac)](_0x57735b,_0x551c17),_0x6bf25b(0x27a)],_0x4fc343[_0x6bf25b(0x274)][_0x57735b]['views'][_0x551c17][_0x6bf25b(0x27a)],_0x58fda0);}['deleteView'](_0x938fe0,_0x56d68f,_0x5c9dd7){const _0x54694b=_0x1040ac;let _0x399c48=_0x938fe0['tables'][_0x56d68f],_0x2e0f16=_0x399c48[_0x54694b(0x165)][_0x5c9dd7],_0x4c8f5f=_0x399c48[_0x54694b(0x209)][_0x54694b(0x28a)](_0x5c9dd7);return L([_0x5db611[_0x54694b(0x139)](I[_0x54694b(0xac)](_0x56d68f,_0x5c9dd7),_0x2e0f16),_0x5db611[_0x54694b(0x139)]([_0x54694b(0x274),_0x56d68f,_0x54694b(0x209),_0x4c8f5f],_0x5c9dd7)]);}[_0x1040ac(0x2f3)](_0x52f4a8,_0x5016ec,_0x56be8e,_0x528a79){const _0x2a0412=_0x1040ac;let _0x11bc0e=_0x52f4a8[_0x2a0412(0x274)][_0x5016ec][_0x2a0412(0x209)],_0x322d24=Kt(_0x11bc0e,_0x56be8e,{'beforeFieldId':_0x528a79[_0x2a0412(0xa3)],'afterFieldId':_0x528a79[_0x2a0412(0x28b)]});return _0x5db611[_0x2a0412(0x2ad)](['tables',_0x5016ec,_0x2a0412(0x209)],_0x11bc0e,_0x322d24);}[_0x1040ac(0x233)](_0x3a0f60,_0x2e63e2,_0x515f6a,_0x58c16a){const _0xbb68e=_0x1040ac;var _0x283abb;let _0xb6773c=(_0x283abb=_0x3a0f60[_0xbb68e(0x274)][_0x2e63e2][_0xbb68e(0x165)][_0x515f6a][_0xbb68e(0x2ed)])==null?{}:_0x283abb,_0x35d072={..._0xb6773c,..._0x58c16a};return Object['keys'](_0x58c16a)['forEach'](_0x1afc9f=>{_0x58c16a[_0x1afc9f]===void 0x0&&delete _0x35d072[_0x1afc9f];}),_0x5db611[_0xbb68e(0x2ad)]([...I[_0xbb68e(0xac)](_0x2e63e2,_0x515f6a),_0xbb68e(0x2ed)],_0xb6773c,_0x35d072);}['setViewFilter'](_0x12d4e2,_0x15183a,_0x30bf4e,_0x21c822){const _0x27a3b7=_0x1040ac;return this[_0x27a3b7(0xea)]([...I['view'](_0x15183a,_0x30bf4e),_0x27a3b7(0x308)],_0x12d4e2[_0x27a3b7(0x274)][_0x15183a][_0x27a3b7(0x165)][_0x30bf4e][_0x27a3b7(0x308)],_0x21c822);}[_0x1040ac(0xd5)](_0x2fedf4,_0x36e97c,_0x18c42d,_0xecb2d5){const _0x2db58a=_0x1040ac;return this[_0x2db58a(0xea)]([...I[_0x2db58a(0xac)](_0x36e97c,_0x18c42d),_0x2db58a(0x127)],_0x2fedf4['tables'][_0x36e97c]['views'][_0x18c42d]['sort'],_0xecb2d5);}[_0x1040ac(0x227)](_0x55a692,_0xdef567,_0x779569,_0x8b90b6){const _0x50aff9=_0x1040ac;return this[_0x50aff9(0xea)]([...I[_0x50aff9(0xac)](_0xdef567,_0x779569),'group'],_0x55a692[_0x50aff9(0x274)][_0xdef567][_0x50aff9(0x165)][_0x779569]['group'],_0x8b90b6);}[_0x1040ac(0x15d)](_0x4bdb8c,_0x3e889f,_0x1f233f,_0x1d0293,_0x39bfa2){const _0x2dadc4=_0x1040ac;return this[_0x2dadc4(0x186)](_0x4bdb8c,_0x3e889f,_0x1f233f,_0x1d0293,{'hidden':!_0x39bfa2});}['setViewFieldWidth'](_0x1e41c6,_0x197fa5,_0x587d64,_0x5e4bfa,_0x370de2){const _0x1f563f=_0x1040ac;return this[_0x1f563f(0x186)](_0x1e41c6,_0x197fa5,_0x587d64,_0x5e4bfa,{'width':_0x370de2});}[_0x1040ac(0x1f0)](_0x32c64d,_0x2c0a09,_0x5d7e53,_0x572734,_0x5bd0d5){const _0x2801a5=_0x1040ac;var _0x4b1596;let _0x4d72c9=_0x32c64d[_0x2801a5(0x274)][_0x2c0a09][_0x2801a5(0x165)][_0x5d7e53],_0x572724=Kt((_0x4b1596=_0x4d72c9[_0x2801a5(0xce)])==null?_0x32c64d[_0x2801a5(0x274)][_0x2c0a09]['fieldOrder']:_0x4b1596,_0x572734,_0x5bd0d5);return this[_0x2801a5(0xea)]([...I['view'](_0x2c0a09,_0x5d7e53),_0x2801a5(0xce)],_0x4d72c9[_0x2801a5(0xce)],_0x572724);}[_0x1040ac(0x186)](_0x3a7b73,_0x2bb48c,_0xd1bc63,_0x3808d4,_0x3e65fa){const _0x57af6c=_0x1040ac;var _0x447568;let _0x1bf3a7=(_0x447568=_0x3a7b73[_0x57af6c(0x274)][_0x2bb48c]['views'][_0xd1bc63]['fieldSettings'])==null?{}:_0x447568,_0x3b90ec={..._0x1bf3a7,[_0x3808d4]:{..._0x1bf3a7[_0x3808d4],..._0x3e65fa}};return this['_replaceOptional']([...I[_0x57af6c(0xac)](_0x2bb48c,_0xd1bc63),_0x57af6c(0x258)],_0x3a7b73[_0x57af6c(0x274)][_0x2bb48c][_0x57af6c(0x165)][_0xd1bc63][_0x57af6c(0x258)],_0x3b90ec);}[_0x1040ac(0xbc)](_0x4a50c1,_0xa27c55,_0x5109bf){const _0x3bcb58=_0x1040ac;let _0x5723e0=_0x4a50c1[_0x3bcb58(0x274)][_0xa27c55],_0x29b745=new Set(_0x5109bf[_0x3bcb58(0xb4)](_0x5a8ba6=>_0x5a8ba6['id'])),_0x2350ef=[...Object[_0x3bcb58(0x29d)](_0x5723e0['records'])[_0x3bcb58(0x308)](_0x56cd0f=>!_0x29b745[_0x3bcb58(0x31e)](_0x56cd0f['id'])),..._0x5109bf]['sort']((_0x669477,_0x2db4b5)=>{const _0x974ff6=_0x3bcb58;var _0x4bf73a,_0x211ee0;return String((_0x4bf73a=_0x669477['orderKey'])==null?_0x669477['id']:_0x4bf73a)['localeCompare'](String((_0x211ee0=_0x2db4b5[_0x974ff6(0x1a0)])==null?_0x2db4b5['id']:_0x211ee0));})[_0x3bcb58(0xb4)](_0x586ba8=>_0x586ba8['id']),_0x1d4bed=[...I['table'](_0xa27c55),_0x3bcb58(0x218)];return _0x5723e0[_0x3bcb58(0x218)]?_0x5db611[_0x3bcb58(0x2ad)](_0x1d4bed,_0x5723e0[_0x3bcb58(0x218)],_0x2350ef):_0x5db611['insertOp'](_0x1d4bed,_0x2350ef);}['_setFormulaFieldCells'](_0x4b69ef,_0x4c954e,_0x35ea8f,_0xb39ee0){const _0x27fd25=_0x1040ac;var _0x322ba5,_0x5b3a5b,_0x1d47a4,_0x28d3dd;let _0x1a0496=E(_0x4b69ef[_0x27fd25(0x274)][_0x4c954e]),_0x55a0bf=String((_0x322ba5=(_0x5b3a5b=_0xb39ee0[_0x27fd25(0x2ed)])==null?void 0x0:_0x5b3a5b[_0x27fd25(0x345)])==null?'':_0x322ba5)[_0x27fd25(0x1e6)](),_0x21ccb5=(_0x1d47a4=_0x1a0496['colIndex'])==null?void 0x0:_0x1d47a4[_0x35ea8f];if(_0x21ccb5==null)return[];let _0xb0d5a8=(_0x28d3dd=_0x1a0496[_0x27fd25(0x218)])==null?Object[_0x27fd25(0x1d0)](_0x1a0496['records']):_0x28d3dd,_0x1130db=_0xb0d5a8[_0x27fd25(0xb4)](_0x391917=>{const _0x5224c3=_0x27fd25;var _0x58e387;return(_0x58e387=_0x1a0496[_0x5224c3(0x2f6)])==null?void 0x0:_0x58e387[_0x391917];})[_0x27fd25(0x1cc)](_0x40c0c5=>_0x40c0c5!=null);return _0xb0d5a8[_0x27fd25(0x1a6)](_0x295248=>{const _0x43af78=_0x27fd25;var _0x4b243a,_0x59969a;let _0x283eb2=(_0x4b243a=_0x1a0496[_0x43af78(0x2f6)])==null?void 0x0:_0x4b243a[_0x295248];if(_0x283eb2==null)return[];let _0x4a10dc=(_0x59969a=_0x1a0496[_0x43af78(0x184)])==null||(_0x59969a=_0x59969a[_0x283eb2])==null?void 0x0:_0x59969a[_0x21ccb5],_0x3c06e4=_0x55a0bf?_0x283eb2===_0x1130db?{'f':_0x55a0bf,'si':_0x35ea8f}:{'si':_0x35ea8f}:{'v':null,'t':null};return[this[_0x43af78(0xea)](I[_0x43af78(0x184)](_0x4c954e,_0x283eb2,_0x21ccb5),_0x4a10dc,_0x3c06e4)];});}['_setAttachmentResources'](_0xb3a021,_0x3ada35,_0x564249,_0x27c5c3,_0xabccee){const _0x37c397=_0x1040ac;var _0xa4118b;let _0x2672cd=Me(_0x27c5c3,_0x564249),_0x43caf4=_0xabccee[_0x37c397(0xb4)]((_0x50a2b7,_0x333cba)=>{var _0x4f16f6;return String((_0x4f16f6=_0x50a2b7['id'])==null?_0x2672cd+'\x1f'+_0x333cba:_0x4f16f6);});return[this[_0x37c397(0xea)](I[_0x37c397(0xe2)](_0x3ada35,_0x2672cd),(_0xa4118b=_0xb3a021[_0x37c397(0x9f)])==null||(_0xa4118b=_0xa4118b['attachmentSets'])==null?void 0x0:_0xa4118b[_0x2672cd],_0x43caf4),..._0xabccee['map']((_0x4897b2,_0x44ecf8)=>{const _0x384b65=_0x37c397;var _0x3229b8;let _0x400c7d=_0x43caf4[_0x44ecf8];return this['_replaceOptional'](I['attachment'](_0x3ada35,_0x400c7d),(_0x3229b8=_0xb3a021[_0x384b65(0x9f)])==null||(_0x3229b8=_0x3229b8[_0x384b65(0x22a)])==null?void 0x0:_0x3229b8[_0x400c7d],{..._0x4897b2,'id':_0x400c7d});})];}[_0x1040ac(0x2f9)](_0xf1c877,_0x42b8fd,_0xc3ce3){const _0x56c504=_0x1040ac;var _0x1c65b0,_0x21a5ed;let _0x19f3d2=(_0x1c65b0=(_0x21a5ed=_0xf1c877[_0x56c504(0x9f)])==null?void 0x0:_0x21a5ed[_0x56c504(0x2a2)])==null?{}:_0x1c65b0,_0x480fc0=Object[_0x56c504(0x361)](_0x19f3d2)[_0x56c504(0x308)](([_0x1f3288])=>_0xc3ce3(_0x1f3288));if(!_0x480fc0[_0x56c504(0x1ac)])return[];let _0x16f056=new Set(Object['entries'](_0x19f3d2)[_0x56c504(0x308)](([_0x3e6429])=>!_0xc3ce3(_0x3e6429))[_0x56c504(0x1a6)](([,_0x2e0458])=>_0x2e0458)),_0x1fb363=new Set(_0x480fc0[_0x56c504(0x1a6)](([,_0x367c2c])=>_0x367c2c));return[..._0x480fc0[_0x56c504(0xb4)](([_0x309f07,_0x226448])=>_0x5db611[_0x56c504(0x139)](I['attachmentSet'](_0x42b8fd,_0x309f07),_0x226448)),...Array[_0x56c504(0x136)](_0x1fb363)['flatMap'](_0x43f387=>{const _0x48763a=_0x56c504;var _0x2affa6;let _0x50affb=(_0x2affa6=_0xf1c877['resources'])==null||(_0x2affa6=_0x2affa6[_0x48763a(0x22a)])==null?void 0x0:_0x2affa6[_0x43f387];return _0x50affb!==void 0x0&&!_0x16f056[_0x48763a(0x31e)](_0x43f387)?[_0x5db611[_0x48763a(0x139)](I[_0x48763a(0x1e4)](_0x42b8fd,_0x43f387),_0x50affb)]:[];})];}[_0x1040ac(0xea)](_0x3fa428,_0x40230b,_0x4ba125){const _0x318617=_0x1040ac;return _0x40230b===void 0x0?_0x5db611['insertOp'](_0x3fa428,_0x4ba125):_0x5db611[_0x318617(0x2ad)](_0x3fa428,_0x40230b,_0x4ba125);}};function Wt(_0x4fcf72,_0x427f70,_0x1b98b8){const _0x54be3a=_0x1040ac;var _0x17c897,_0x3039ad,_0x46c994,_0x4bdc53;let _0xd54c5e=(_0x17c897=_0x4fcf72[_0x54be3a(0x2f6)])==null?void 0x0:_0x17c897[_0x427f70],_0x25a8d1=(_0x3039ad=_0x4fcf72[_0x54be3a(0x193)])==null?void 0x0:_0x3039ad[_0x1b98b8];return _0xd54c5e!=null&&_0x25a8d1!=null&&((_0x46c994=_0x4fcf72['rowId'])==null?void 0x0:_0x46c994[_0xd54c5e])===_0x427f70&&((_0x4bdc53=_0x4fcf72['colId'])==null?void 0x0:_0x4bdc53[_0x25a8d1])===_0x1b98b8&&_0x4fcf72[_0x54be3a(0x184)]!=null;}function Gt(_0x4bcf9b,_0x560403,_0x57bfa3){const _0x53f973=_0x1040ac;var _0x343446,_0x2e4321;return((_0x343446=_0x4bcf9b[_0x53f973(0x247)])==null?void 0x0:_0x343446[_0x560403])!=null&&((_0x2e4321=_0x4bcf9b[_0x53f973(0x2fa)])==null?void 0x0:_0x2e4321[_0x57bfa3])!=null&&_0x4bcf9b[_0x53f973(0x184)]!=null;}function Kt(_0x323b44,_0x474130,_0x2e7645){const _0x231b91=_0x1040ac;let _0x16cb96=_0x323b44[_0x231b91(0x308)](_0x59f159=>_0x59f159!==_0x474130),_0x40b0c4=_0x2e7645['beforeFieldId']?_0x16cb96[_0x231b91(0x28a)](_0x2e7645['beforeFieldId']):_0x2e7645[_0x231b91(0x2df)]?_0x16cb96['indexOf'](_0x2e7645['afterFieldId'])+0x1:_0x16cb96['length'];return _0x16cb96['splice'](_0x40b0c4<0x0?_0x16cb96[_0x231b91(0x1ac)]:_0x40b0c4,0x0,_0x474130),_0x16cb96;}function qt(_0x500e2b,_0x406800,_0x4d8481){const _0x580787=_0x1040ac;let _0x1b6a21=_0x500e2b['filter'](_0x29968d=>_0x29968d!==_0x406800);return _0x1b6a21[_0x580787(0x1b2)](Yt(_0x4d8481,_0x1b6a21['length']),0x0,_0x406800),_0x1b6a21;}function Jt(_0x52b285,_0x3a50f2,_0x2a830b){const _0x432a49=_0x1040ac;if(Array[_0x432a49(0x1c5)](_0x52b285))return _0x2a830b===_0x432a49(0x25d)?_0x52b285[_0x432a49(0x308)](_0x57609c=>_0x57609c!==_0x3a50f2):_0x52b285['flatMap'](_0x2f3eeb=>{const _0x276280=_0x432a49;if(_0x2f3eeb&&typeof _0x2f3eeb==_0x276280(0x101)&&!Array['isArray'](_0x2f3eeb)&&_0x2f3eeb[_0x276280(0x1d4)]===_0x3a50f2)return[];let _0x29b6c3=Jt(_0x2f3eeb,_0x3a50f2);return _0x29b6c3===void 0x0?[]:[_0x29b6c3];});if(!_0x52b285||typeof _0x52b285!=_0x432a49(0x101))return _0x2a830b!=null&&_0x2a830b[_0x432a49(0x19f)]('FieldId')&&_0x52b285===_0x3a50f2?void 0x0:_0x52b285;let _0x14bcb0=_0x52b285;if(_0x14bcb0[_0x432a49(0x1d4)]!==_0x3a50f2)return Object[_0x432a49(0x1fc)](Object[_0x432a49(0x361)](_0x14bcb0)[_0x432a49(0x1a6)](([_0x43834c,_0x2e9d96])=>{const _0x45d312=_0x432a49;if(_0x43834c===_0x3a50f2&&_0x2a830b===_0x45d312(0x258))return[];let _0x43a730=Jt(_0x2e9d96,_0x3a50f2,_0x43834c);return _0x43a730===void 0x0?[]:[[_0x43834c,_0x43a730]];}));}function Yt(_0x58fb44,_0x157056){const _0x42521f=_0x1040ac;return Math[_0x42521f(0x2f7)](0x0,Math['min'](_0x58fb44,_0x157056));}function Xt(_0x288fc9,_0x1a8890,_0x372525){const _0x34070a=_0x1040ac;if(!_0x288fc9||!_0x1a8890||_0x1a8890===_0x372525)return _0x288fc9;let _0x1eb6e3='',_0xbf473d=!0x1,_0x5c37f6=_0x1a8890[_0x34070a(0x1da)]();for(let _0x1e9a10=0x0;_0x1e9a10<_0x288fc9[_0x34070a(0x1ac)];){let _0x529932=_0x288fc9[_0x1e9a10];if(_0x529932==='\x22'){if(_0xbf473d&&_0x288fc9[_0x1e9a10+0x1]==='\x22'){_0x1eb6e3+='\x22\x22',_0x1e9a10+=0x2;continue;}_0xbf473d=!_0xbf473d,_0x1eb6e3+=_0x529932,_0x1e9a10++;continue;}if(!_0xbf473d&&_0x288fc9['slice'](_0x1e9a10,_0x1e9a10+_0x1a8890[_0x34070a(0x1ac)])[_0x34070a(0x1da)]()===_0x5c37f6&&Zt(_0x288fc9,_0x1e9a10,_0x1a8890[_0x34070a(0x1ac)])){_0x1eb6e3+=_0x372525,_0x1e9a10+=_0x1a8890[_0x34070a(0x1ac)];continue;}_0x1eb6e3+=_0x529932,_0x1e9a10++;}return _0x1eb6e3;}function Zt(_0x45a7d9,_0x7410af,_0x11baaa){const _0x2ced0c=_0x1040ac;var _0x332333;let _0x2344ce=_0x45a7d9[_0x7410af-0x1];if(_0x2344ce&&/[\w.]/[_0x2ced0c(0x34b)](_0x2344ce))return!0x1;let _0x1dcc24=_0x7410af+_0x11baaa;for(;/\s/[_0x2ced0c(0x34b)]((_0x332333=_0x45a7d9[_0x1dcc24])==null?'':_0x332333);)_0x1dcc24++;return _0x45a7d9[_0x1dcc24]==='[';}function z(_0x3534c9){'@babel/helpers - typeof';const _0x2dfafe=_0x1040ac;return z=typeof Symbol==_0x2dfafe(0x24c)&&typeof Symbol[_0x2dfafe(0x1e7)]==_0x2dfafe(0x25c)?function(_0x36689c){return typeof _0x36689c;}:function(_0x36b3f8){const _0x47f9ac=_0x2dfafe;return _0x36b3f8&&typeof Symbol==_0x47f9ac(0x24c)&&_0x36b3f8[_0x47f9ac(0x28c)]===Symbol&&_0x36b3f8!==Symbol[_0x47f9ac(0x164)]?_0x47f9ac(0x25c):typeof _0x36b3f8;},z(_0x3534c9);}function Qt(_0x2f3069,_0x186ab8){const _0x425f5d=_0x1040ac;if(z(_0x2f3069)!=_0x425f5d(0x101)||!_0x2f3069)return _0x2f3069;var _0x228af3=_0x2f3069[Symbol[_0x425f5d(0x2d6)]];if(_0x228af3!==void 0x0){var _0x4f5257=_0x228af3['call'](_0x2f3069,_0x186ab8||_0x425f5d(0x215));if(z(_0x4f5257)!=_0x425f5d(0x101))return _0x4f5257;throw TypeError(_0x425f5d(0x1ce));}return(_0x186ab8===_0x425f5d(0x2e9)?String:Number)(_0x2f3069);}function $t(_0x3efa3c){const _0x1a1106=_0x1040ac;var _0x1331db=Qt(_0x3efa3c,_0x1a1106(0x2e9));return z(_0x1331db)==_0x1a1106(0x25c)?_0x1331db:_0x1331db+'';}function B(_0x4254d1,_0x2f8422,_0xf4f1f5){const _0x2687fc=_0x1040ac;return(_0x2f8422=$t(_0x2f8422))in _0x4254d1?Object[_0x2687fc(0x9d)](_0x4254d1,_0x2f8422,{'value':_0xf4f1f5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4254d1[_0x2f8422]=_0xf4f1f5,_0x4254d1;}const en=_0x43b5b5(_0x1040ac(0x10d));var tn=class extends _0x41e38b{constructor(..._0x1e1be1){const _0x33c114=_0x1040ac;super(..._0x1e1be1),B(this,_0x33c114(0x1bd),new Map());}[_0x1040ac(0x1a5)](_0x1ffe40){const _0x3c796b=_0x1040ac;return this[_0x3c796b(0x1bd)][_0x3c796b(0xdc)](_0x1ffe40[_0x3c796b(0xd2)],_0x1ffe40),_0x5b27e8(()=>this[_0x3c796b(0x1bd)]['delete'](_0x1ffe40['type']));}[_0x1040ac(0x370)](_0x37ec79){const _0x261d7e=_0x1040ac;let _0xfba511=this['_plugins'][_0x261d7e(0x370)](_0x37ec79);if(!_0xfba511)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x37ec79+'\x22\x20is\x20not\x20registered.');return _0xfba511;}[_0x1040ac(0x19c)](_0x4f3fb0){const _0x285435=_0x1040ac;return this[_0x285435(0x1bd)][_0x285435(0x370)](_0x4f3fb0);}['getAll'](){const _0x1b736e=_0x1040ac;return Array[_0x1b736e(0x136)](this[_0x1b736e(0x1bd)][_0x1b736e(0x29d)]());}};const nn=_0x43b5b5(_0x1040ac(0x327));var rn=class{constructor(){const _0x4302b2=_0x1040ac;B(this,'_basePermissions',new Map()),B(this,_0x4302b2(0x239),new Map()),B(this,_0x4302b2(0x2c1),new Map()),B(this,_0x4302b2(0x328),new Map());}[_0x1040ac(0xe6)](_0x53e6cd){const _0x4b2e8a=_0x1040ac;var _0x31b551,_0x1b9c43;return(_0x31b551=(_0x1b9c43=this[_0x4b2e8a(0x300)]['get'](_0x53e6cd))==null?void 0x0:_0x1b9c43[_0x4b2e8a(0x24b)])==null?!0x0:_0x31b551;}[_0x1040ac(0x179)](_0x8c1b64){const _0xce2bdf=_0x1040ac;var _0x2a1509,_0x28e89f;return(_0x2a1509=(_0x28e89f=this['_tablePermissions'][_0xce2bdf(0x370)](_0x8c1b64))==null?void 0x0:_0x28e89f['delete'])==null?!0x0:_0x2a1509;}[_0x1040ac(0x2da)](_0x5099d1){const _0x46a311=_0x1040ac;var _0x542748,_0x2ee7d4;return(_0x542748=(_0x2ee7d4=this[_0x46a311(0x239)][_0x46a311(0x370)](_0x5099d1))==null?void 0x0:_0x2ee7d4[_0x46a311(0x2c2)])==null?!0x0:_0x542748;}[_0x1040ac(0x1d6)](_0x3fb6e6,_0x1b3f1f){const _0x35ab46=_0x1040ac;var _0x22cdc4,_0x59f35c;return(_0x22cdc4=(_0x59f35c=this[_0x35ab46(0x2c1)][_0x35ab46(0x370)](V(_0x3fb6e6,_0x1b3f1f)))==null?void 0x0:_0x59f35c[_0x35ab46(0x251)])==null?!0x0:_0x22cdc4;}['canDeleteField'](_0xa37353,_0x29c541){const _0x211b4f=_0x1040ac;var _0x31560a,_0x3e39f3;return(_0x31560a=(_0x3e39f3=this[_0x211b4f(0x2c1)][_0x211b4f(0x370)](V(_0xa37353,_0x29c541)))==null?void 0x0:_0x3e39f3['delete'])==null?!0x0:_0x31560a;}['canCreateRecord'](_0x4dc628){const _0x3e2c10=_0x1040ac;var _0x11bac2,_0x51e246;return(_0x11bac2=(_0x51e246=this[_0x3e2c10(0x239)][_0x3e2c10(0x370)](_0x4dc628))==null?void 0x0:_0x51e246[_0x3e2c10(0x1e9)])==null?!0x0:_0x11bac2;}[_0x1040ac(0x16e)](_0x441522,_0x51be59){const _0x3b3a7c=_0x1040ac;var _0x248903,_0x404f32;return(_0x248903=(_0x404f32=this[_0x3b3a7c(0x328)][_0x3b3a7c(0x370)](an(_0x441522,_0x51be59)))==null?void 0x0:_0x404f32['delete'])==null?!0x0:_0x248903;}['canEditCell'](_0x3a5229,_0x317b38,_0x406fa3){const _0x3b25d1=_0x1040ac;var _0x39b33a,_0xad85dd,_0x416220,_0x556e87;let _0x3cf287=this[_0x3b25d1(0x2c1)][_0x3b25d1(0x370)](V(_0x3a5229,_0x406fa3));return((_0x39b33a=(_0xad85dd=this[_0x3b25d1(0x328)]['get'](an(_0x3a5229,_0x317b38)))==null?void 0x0:_0xad85dd[_0x3b25d1(0xda)])==null?!0x0:_0x39b33a)&&((_0x416220=_0x3cf287==null?void 0x0:_0x3cf287[_0x3b25d1(0x251)])==null?!0x0:_0x416220)&&((_0x556e87=_0x3cf287==null?void 0x0:_0x3cf287[_0x3b25d1(0xda)])==null?!0x0:_0x556e87);}[_0x1040ac(0xfa)](_0x2098f1){const _0xbc3f3=_0x1040ac;var _0x5d32cb,_0x3407c7;return(_0x5d32cb=(_0x3407c7=this[_0xbc3f3(0x239)]['get'](_0x2098f1))==null?void 0x0:_0x3407c7[_0xbc3f3(0x27d)])==null?!0x0:_0x5d32cb;}[_0x1040ac(0x373)](_0x30b706,_0x412f8a){const _0x51d35f=_0x1040ac;this[_0x51d35f(0x300)][_0x51d35f(0xdc)](_0x30b706,{...this['_basePermissions'][_0x51d35f(0x370)](_0x30b706),..._0x412f8a});}[_0x1040ac(0x286)](_0x46b15f,_0x490687){const _0x2bc299=_0x1040ac;this[_0x2bc299(0x239)][_0x2bc299(0xdc)](_0x46b15f,{...this[_0x2bc299(0x239)][_0x2bc299(0x370)](_0x46b15f),..._0x490687});}[_0x1040ac(0x151)](_0xd2f768,_0x550257,_0x122b6a){const _0x4c64c9=_0x1040ac;let _0x544f65=V(_0xd2f768,_0x550257);this[_0x4c64c9(0x2c1)][_0x4c64c9(0xdc)](_0x544f65,{...this[_0x4c64c9(0x2c1)][_0x4c64c9(0x370)](_0x544f65),..._0x122b6a});}[_0x1040ac(0x277)](_0x38990b,_0x28186f,_0x439ff8){const _0x167550=_0x1040ac;let _0x1b93c2=an(_0x38990b,_0x28186f);this[_0x167550(0x328)][_0x167550(0xdc)](_0x1b93c2,{...this[_0x167550(0x328)]['get'](_0x1b93c2),..._0x439ff8});}[_0x1040ac(0x2e8)](_0x54bbf5){const _0x24b786=_0x1040ac;this['_basePermissions'][_0x24b786(0x2aa)](_0x54bbf5);}[_0x1040ac(0x256)](_0x36a885){const _0x11cb33=_0x1040ac;this[_0x11cb33(0x239)][_0x11cb33(0x2aa)](_0x36a885);}[_0x1040ac(0xdd)](_0x2e00d4,_0x272cf1){const _0x2737b9=_0x1040ac;this[_0x2737b9(0x2c1)]['delete'](V(_0x2e00d4,_0x272cf1));}[_0x1040ac(0x2b1)](_0x5213cf,_0x572e27){const _0x5d9fa6=_0x1040ac;this[_0x5d9fa6(0x328)][_0x5d9fa6(0x2aa)](an(_0x5213cf,_0x572e27));}[_0x1040ac(0x1b7)](){const _0x2c605c=_0x1040ac;return{'bases':Object['fromEntries'](this[_0x2c605c(0x300)]),'tables':Object[_0x2c605c(0x1fc)](this[_0x2c605c(0x239)]),'fields':Object[_0x2c605c(0x1fc)](this[_0x2c605c(0x2c1)]),'records':Object['fromEntries'](this[_0x2c605c(0x328)])};}};function V(_0x5792ff,_0x27ce6d){return _0x5792ff+'\x1f'+_0x27ce6d;}function an(_0xf6ca92,_0x1ea3b9){return _0xf6ca92+'\x1f'+_0x1ea3b9;}function H(_0xc2a01e,_0x383f62){return function(_0x26392d,_0x14c811){_0x383f62(_0x26392d,_0x14c811,_0xc2a01e);};}function U(_0x210422,_0xb33b17,_0x480222,_0x167a84){const _0x192fdb=_0x1040ac;var _0x4f49f0=arguments[_0x192fdb(0x1ac)],_0x1afc81=_0x4f49f0<0x3?_0xb33b17:_0x167a84===null?_0x167a84=Object['getOwnPropertyDescriptor'](_0xb33b17,_0x480222):_0x167a84,_0x14a7f0;if(typeof Reflect=='object'&&typeof Reflect[_0x192fdb(0x178)]==_0x192fdb(0x24c))_0x1afc81=Reflect[_0x192fdb(0x178)](_0x210422,_0xb33b17,_0x480222,_0x167a84);else{for(var _0xb7cb25=_0x210422[_0x192fdb(0x1ac)]-0x1;_0xb7cb25>=0x0;_0xb7cb25--)(_0x14a7f0=_0x210422[_0xb7cb25])&&(_0x1afc81=(_0x4f49f0<0x3?_0x14a7f0(_0x1afc81):_0x4f49f0>0x3?_0x14a7f0(_0xb33b17,_0x480222,_0x1afc81):_0x14a7f0(_0xb33b17,_0x480222))||_0x1afc81);}return _0x4f49f0>0x3&&_0x1afc81&&Object[_0x192fdb(0x9d)](_0xb33b17,_0x480222,_0x1afc81),_0x1afc81;}const W=_0x43b5b5(_0x1040ac(0x176));let on=class{constructor(_0x2a349c,_0x5244ad=sn(),_0x475be8={}){const _0x11001a=_0x1040ac;this['_permissionService']=_0x2a349c,this[_0x11001a(0x32b)]=_0x5244ad,this[_0x11001a(0x34d)]=_0x475be8,B(this,'_factory',new R()),B(this,_0x11001a(0x34c),new A());}[_0x1040ac(0x24b)](_0xf6aeea,_0x301038,_0x46edb8){const _0x5dded8=_0x1040ac;if(!this['_permissionService'][_0x5dded8(0xe6)](_0xf6aeea[_0x5dded8(0x35a)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this['_apply'](_0xf6aeea,this[_0x5dded8(0x343)][_0x5dded8(0x24b)](_0xf6aeea['getSnapshot'](),_0x301038,_0x46edb8));}[_0x1040ac(0x1fd)](_0x112ea0,_0x4bb190,_0x48ad66){const _0x3f7856=_0x1040ac;this[_0x3f7856(0x16f)](_0x112ea0,this[_0x3f7856(0x343)][_0x3f7856(0x1fd)](_0x112ea0['getSnapshot'](),_0x4bb190,_0x48ad66));}[_0x1040ac(0x108)](_0x9dc200,_0x994e5b){const _0x37942d=_0x1040ac;if(!this[_0x37942d(0x279)][_0x37942d(0x179)](_0x994e5b))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');this[_0x37942d(0x16f)](_0x9dc200,this[_0x37942d(0x343)][_0x37942d(0x108)](_0x9dc200['getSnapshot'](),_0x994e5b));}[_0x1040ac(0x2f2)](_0x5a1992,_0x583ba4,_0x8df42c,_0x4cefe8,_0x264c09){const _0x3be2d1=_0x1040ac;this[_0x3be2d1(0x16f)](_0x5a1992,this['createUpdateCellOp'](_0x5a1992,_0x583ba4,_0x8df42c,_0x4cefe8,_0x264c09));}['setRecordValues'](_0x25987f,_0x2837eb,_0x41d612){const _0x5a265a=_0x1040ac;this[_0x5a265a(0x16f)](_0x25987f,this[_0x5a265a(0x18c)](_0x25987f,_0x2837eb,_0x41d612));}['createRecord'](_0x463a24,_0x34d485,_0x30776e){this['_apply'](_0x463a24,this['createCreateRecordOp'](_0x463a24,_0x34d485,_0x30776e));}[_0x1040ac(0xf7)](_0x44b1a2,_0x10a0c1,_0x1ba406,_0x4e67ce,_0x58487b){const _0xdc3bd0=_0x1040ac;let _0x42f129=_0x44b1a2[_0xdc3bd0(0x1b7)](),_0x420560=this[_0xdc3bd0(0x374)](_0x42f129,_0x10a0c1,_0x1ba406,_0x4e67ce,_0x58487b),_0x466ac6=this[_0xdc3bd0(0x116)](_0x42f129,_0x10a0c1,_0x1ba406,{[_0x4e67ce]:_0x420560});return this[_0xdc3bd0(0x343)][_0xdc3bd0(0x1a7)](_0x42f129,_0x10a0c1,[_0x466ac6]);}[_0x1040ac(0x18c)](_0x21bcc2,_0x59eb31,_0x3c5152){const _0x194752=_0x1040ac;let _0x3d79e9=_0x21bcc2[_0x194752(0x1b7)](),_0x2d045f=_0x3c5152['map'](_0x4cec59=>this['_withModifiedSystemValues'](_0x3d79e9,_0x59eb31,_0x4cec59[_0x194752(0x158)],{...Object['fromEntries'](Object['entries'](_0x4cec59['values'])[_0x194752(0xb4)](([_0x11b325,_0x40527e])=>[_0x11b325,this['_normalizeCellValue'](_0x3d79e9,_0x59eb31,_0x4cec59[_0x194752(0x158)],_0x11b325,_0x40527e)]))}));return this[_0x194752(0x343)]['setRecordValues'](_0x3d79e9,_0x59eb31,_0x2d045f);}[_0x1040ac(0x1e5)](_0x3bfbff,_0x3caf15,_0x9fd306){const _0x21f709=_0x1040ac;if(!this[_0x21f709(0x279)][_0x21f709(0x2d9)](_0x3caf15))throw Error(_0x21f709(0x21f));let _0x236bd1=_0x3bfbff['getSnapshot'](),_0x1b8e4d=this['_createNumberingAllocators'](_0x236bd1['tables'][_0x3caf15]);return this[_0x21f709(0x343)][_0x21f709(0x1e9)](_0x236bd1,_0x3caf15,this[_0x21f709(0x329)](_0x236bd1,_0x3caf15,_0x9fd306,_0x1b8e4d));}[_0x1040ac(0x354)](_0x340dec,_0xf67ed8,_0x2e0ce1){const _0x341526=_0x1040ac;if(!this[_0x341526(0x279)][_0x341526(0x2d9)](_0xf67ed8))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x1612d6=_0x340dec['getSnapshot'](),_0x12f5c1=this[_0x341526(0x265)](_0x1612d6['tables'][_0xf67ed8]);return this['_factory'][_0x341526(0x2b7)](_0x1612d6,_0xf67ed8,_0x2e0ce1['map'](_0x5c2450=>this[_0x341526(0x329)](_0x1612d6,_0xf67ed8,_0x5c2450,_0x12f5c1)));}[_0x1040ac(0x183)](_0x5eb4b4,_0x2ff73c,_0x1a3c78,_0x32093a,_0x45023c){const _0x3281cd=_0x1040ac;if(!this['_permissionService']['canCreateField'](_0x2ff73c))throw Error(_0x3281cd(0x138));let _0x138cab=_0x5eb4b4[_0x3281cd(0x1b7)](),_0x29ec1a=this[_0x3281cd(0x343)][_0x3281cd(0x2c2)](_0x138cab,_0x2ff73c,{'field':_0x1a3c78,'index':_0x32093a,'viewIndexes':_0x45023c}),_0x3d54a4=this[_0x3281cd(0x33a)](_0x138cab,_0x2ff73c,_0x1a3c78);if(!_0x3d54a4['length'])return _0x29ec1a;let _0x5706c7=this['_applier'][_0x3281cd(0xc8)](_0x138cab,_0x29ec1a);return L([_0x29ec1a,this[_0x3281cd(0x343)][_0x3281cd(0x1a7)](_0x5706c7,_0x2ff73c,_0x3d54a4)]);}['deleteRecord'](_0x1ea50b,_0x44411c,_0x3d3653){const _0x381083=_0x1040ac;if(!this[_0x381083(0x279)]['canDeleteRecord'](_0x44411c,_0x3d3653))throw Error(_0x381083(0xd0));this['_apply'](_0x1ea50b,this['_factory'][_0x381083(0x1af)](_0x1ea50b[_0x381083(0x1b7)](),_0x44411c,_0x3d3653));}[_0x1040ac(0xd9)](_0x4318c6,_0x38b2af,_0x18857c,_0x23d192){const _0x408df0=_0x1040ac;this['_apply'](_0x4318c6,this[_0x408df0(0x343)][_0x408df0(0xd9)](_0x4318c6[_0x408df0(0x1b7)](),_0x38b2af,_0x18857c,_0x23d192));}[_0x1040ac(0x210)](_0x5aaf80,_0x215bf4,_0x5c07c2,_0x45d014){const _0x267a30=_0x1040ac;this[_0x267a30(0x16f)](_0x5aaf80,this[_0x267a30(0x343)][_0x267a30(0x210)](_0x5aaf80[_0x267a30(0x1b7)](),_0x215bf4,_0x5c07c2,_0x45d014));}['createField'](_0x3123f1,_0x474c26,_0x3c0b45,_0x463c71,_0x53981e){const _0x161e59=_0x1040ac;this[_0x161e59(0x16f)](_0x3123f1,this[_0x161e59(0x183)](_0x3123f1,_0x474c26,_0x3c0b45,_0x463c71,_0x53981e));}[_0x1040ac(0x22e)](_0x4d8e5b,_0x21b1d5,_0x4b9c32,_0x23aac1){const _0x36c079=_0x1040ac;if(!this['_permissionService'][_0x36c079(0x1d6)](_0x21b1d5,_0x4b9c32))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x36c079(0x16f)](_0x4d8e5b,this[_0x36c079(0x343)][_0x36c079(0x22e)](_0x4d8e5b[_0x36c079(0x1b7)](),_0x21b1d5,_0x4b9c32,_0x23aac1));}[_0x1040ac(0xbb)](_0x5d9900,_0x159fc8,_0x34ba94,_0x5685f4){const _0x38ee5b=_0x1040ac;if(!this[_0x38ee5b(0x279)][_0x38ee5b(0x1d6)](_0x159fc8,_0x34ba94))throw Error(_0x38ee5b(0x26a));this[_0x38ee5b(0x16f)](_0x5d9900,this['_factory'][_0x38ee5b(0xbb)](_0x5d9900['getSnapshot'](),_0x159fc8,_0x34ba94,_0x5685f4));}[_0x1040ac(0xbd)](_0x546887,_0x50de99,_0x70694b){const _0x529acb=_0x1040ac;var _0x480981;if(((_0x480981=_0x546887[_0x529acb(0x1b7)]()['tables'][_0x50de99])==null?void 0x0:_0x480981['primaryFieldId'])===_0x70694b)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x529acb(0x279)][_0x529acb(0x1d5)](_0x50de99,_0x70694b))throw Error(_0x529acb(0x34f));this[_0x529acb(0x16f)](_0x546887,this['_factory'][_0x529acb(0xbd)](_0x546887[_0x529acb(0x1b7)](),_0x50de99,_0x70694b));}[_0x1040ac(0xef)](_0xa674d9,_0x30a2e9,_0x1bb57b,_0x195645){const _0x4fa457=_0x1040ac;if(!this[_0x4fa457(0x279)][_0x4fa457(0x1d6)](_0x30a2e9,_0x1bb57b))throw Error(_0x4fa457(0x26a));this[_0x4fa457(0x16f)](_0xa674d9,this[_0x4fa457(0x343)][_0x4fa457(0xef)](_0xa674d9['getSnapshot'](),_0x30a2e9,_0x1bb57b,_0x195645));}['createView'](_0x5e755e,_0x1f6adb,_0x25fb00,_0x2a61bf){const _0x4c7f00=_0x1040ac;this[_0x4c7f00(0x16f)](_0x5e755e,this[_0x4c7f00(0x343)][_0x4c7f00(0x32f)](_0x5e755e[_0x4c7f00(0x1b7)](),_0x1f6adb,_0x25fb00,_0x2a61bf));}[_0x1040ac(0xd1)](_0x361c29,_0x425faa,_0x150a19,_0xe8055d){const _0x5918a4=_0x1040ac;if(!this[_0x5918a4(0x279)][_0x5918a4(0xfa)](_0x425faa,_0x150a19))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x361c29,this[_0x5918a4(0x343)][_0x5918a4(0xd1)](_0x361c29[_0x5918a4(0x1b7)](),_0x425faa,_0x150a19,_0xe8055d));}[_0x1040ac(0xb2)](_0x496c02,_0x2d183f,_0x521c10){const _0x5d6dcb=_0x1040ac;if(!this[_0x5d6dcb(0x279)][_0x5d6dcb(0xfa)](_0x2d183f,_0x521c10))throw Error(_0x5d6dcb(0x34a));this['_apply'](_0x496c02,this[_0x5d6dcb(0x343)][_0x5d6dcb(0xb2)](_0x496c02[_0x5d6dcb(0x1b7)](),_0x2d183f,_0x521c10));}[_0x1040ac(0x2f3)](_0x2f9070,_0x20f0c6,_0x1dbd54,_0x5b5ea6){const _0x2fd1b4=_0x1040ac;if(!this['_permissionService'][_0x2fd1b4(0xfa)](_0x20f0c6,_0x1dbd54))throw Error(_0x2fd1b4(0x34a));this['_apply'](_0x2f9070,this[_0x2fd1b4(0x343)][_0x2fd1b4(0x2f3)](_0x2f9070[_0x2fd1b4(0x1b7)](),_0x20f0c6,_0x1dbd54,_0x5b5ea6));}[_0x1040ac(0x233)](_0x285b81,_0x487744,_0x2fffae,_0x5883c9){const _0x25d345=_0x1040ac;if(!this[_0x25d345(0x279)][_0x25d345(0xfa)](_0x487744,_0x2fffae))throw Error(_0x25d345(0x34a));this[_0x25d345(0x16f)](_0x285b81,this[_0x25d345(0x343)]['updateViewConfig'](_0x285b81[_0x25d345(0x1b7)](),_0x487744,_0x2fffae,_0x5883c9));}[_0x1040ac(0x1ee)](_0x598c1a,_0x3a1aea,_0xb2ab5a,_0x563181){const _0x647d71=_0x1040ac;this[_0x647d71(0x16f)](_0x598c1a,this[_0x647d71(0x343)][_0x647d71(0x1ee)](_0x598c1a[_0x647d71(0x1b7)](),_0x3a1aea,_0xb2ab5a,_0x563181));}[_0x1040ac(0xd5)](_0x2906ed,_0x4b152a,_0x55cdf8,_0x2044be){const _0x55c74d=_0x1040ac;this[_0x55c74d(0x16f)](_0x2906ed,this[_0x55c74d(0x343)]['setViewSort'](_0x2906ed[_0x55c74d(0x1b7)](),_0x4b152a,_0x55cdf8,_0x2044be));}['setViewGroup'](_0x1b3083,_0x2edfd2,_0x22dfcd,_0x4bfc76){const _0x6a631=_0x1040ac;this[_0x6a631(0x16f)](_0x1b3083,this['_factory'][_0x6a631(0x227)](_0x1b3083['getSnapshot'](),_0x2edfd2,_0x22dfcd,_0x4bfc76));}['setViewFieldVisible'](_0x2b1a8b,_0x386e08,_0x35af55,_0x2a44cc,_0xfc4dea){const _0x575cd5=_0x1040ac;if(!this['_permissionService']['canManageView'](_0x386e08,_0x35af55))throw Error(_0x575cd5(0x34a));this['_apply'](_0x2b1a8b,this[_0x575cd5(0x343)][_0x575cd5(0x15d)](_0x2b1a8b['getSnapshot'](),_0x386e08,_0x35af55,_0x2a44cc,_0xfc4dea));}[_0x1040ac(0x243)](_0x3dca44,_0x210d51,_0x49e4e2,_0xe74a53,_0x3ce830){const _0x3fd273=_0x1040ac;this[_0x3fd273(0x16f)](_0x3dca44,this['_factory'][_0x3fd273(0x243)](_0x3dca44[_0x3fd273(0x1b7)](),_0x210d51,_0x49e4e2,_0xe74a53,_0x3ce830));}[_0x1040ac(0x1f0)](_0x3b8290,_0x25ab9f,_0x19b5e3,_0x34ddf5,_0x1bc8c6){this['_apply'](_0x3b8290,this['_factory']['setViewFieldOrder'](_0x3b8290['getSnapshot'](),_0x25ab9f,_0x19b5e3,_0x34ddf5,_0x1bc8c6));}[_0x1040ac(0x16f)](_0x39e41f,_0x375d4d){const _0x2b2fd2=_0x1040ac;let _0x11dd4c=_0x39e41f[_0x2b2fd2(0x1b7)]();_0x39e41f['setSnapshot'](this[_0x2b2fd2(0x34c)][_0x2b2fd2(0xc8)](_0x11dd4c,_0x375d4d));}['_createRecordWithDefaults'](_0x4aee73,_0x4a458a,_0x9c5511,_0x5aef12=this[_0x1040ac(0x265)](_0x4aee73[_0x1040ac(0x274)][_0x4a458a])){const _0xc422c5=_0x1040ac;var _0x272600,_0x5ab365,_0x429253,_0x18f10b;let _0x2b9050=_0x4aee73[_0xc422c5(0x274)][_0x4a458a],_0x1d73d3=(_0x272600=(_0x5ab365=_0x9c5511[_0xc422c5(0x18f)])==null?_0x9c5511[_0xc422c5(0x120)]:_0x5ab365)==null?this['_getCurrentUserId']():_0x272600,_0x5b53ad={..._0x9c5511,'createdBy':(_0x429253=_0x9c5511['createdBy'])==null?_0x1d73d3:_0x429253,'updatedBy':(_0x18f10b=_0x9c5511['updatedBy'])==null?_0x1d73d3:_0x18f10b,'values':{..._0x9c5511[_0xc422c5(0x29d)]}};return _0x2b9050[_0xc422c5(0xce)][_0xc422c5(0x2d3)](_0xb2d7d9=>{const _0x4ef4cf=_0xc422c5;let _0x499b2c=_0x2b9050[_0x4ef4cf(0x351)][_0xb2d7d9];if(!(!_0x499b2c||_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]!==void 0x0))switch(_0x499b2c[_0x4ef4cf(0xd2)]){case _0x406b36[_0x4ef4cf(0x1b1)]:var _0x11b948,_0x313772;_0x5b53ad['values'][_0xb2d7d9]=(_0x11b948=(_0x313772=_0x5aef12[_0x4ef4cf(0x370)](_0xb2d7d9))==null?void 0x0:_0x313772())==null?this[_0x4ef4cf(0x325)](_0x2b9050,_0xb2d7d9)():_0x11b948;break;case _0x406b36[_0x4ef4cf(0x2bb)]:_0x5b53ad[_0x4ef4cf(0x18f)]&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x5b53ad[_0x4ef4cf(0x18f)]);break;case _0x406b36[_0x4ef4cf(0x23e)]:_0x5b53ad['updatedBy']&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x5b53ad[_0x4ef4cf(0x120)]);break;case _0x406b36['CreatedAt']:_0x5b53ad['values'][_0xb2d7d9]=j(_0x5b53ad[_0x4ef4cf(0x172)]);break;case _0x406b36[_0x4ef4cf(0xc5)]:_0x5b53ad['values'][_0xb2d7d9]=j(_0x5b53ad[_0x4ef4cf(0x236)]);break;default:{let _0x1e9b6e=_0x499b2c[_0x4ef4cf(0x145)];_0x1e9b6e!=null&&_0x1e9b6e!==''&&!(Array[_0x4ef4cf(0x1c5)](_0x1e9b6e)&&_0x1e9b6e[_0x4ef4cf(0x1ac)]===0x0)&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x1e9b6e);}}}),_0x5b53ad;}[_0x1040ac(0x116)](_0x58b7d1,_0x425eb6,_0x500c9e,_0x205411){const _0x39bcc8=_0x1040ac;var _0x1036de,_0x389a05,_0x38e7a8;let _0x57661d=_0x58b7d1[_0x39bcc8(0x274)][_0x425eb6],_0x4661f4=(_0x1036de=(_0x389a05=(_0x38e7a8=this[_0x39bcc8(0x34d)])[_0x39bcc8(0x2c5)])==null?void 0x0:_0x389a05[_0x39bcc8(0x1ae)](_0x38e7a8))==null?Date[_0x39bcc8(0x2c5)]():_0x1036de,_0x4ae806=this[_0x39bcc8(0x365)](),_0x14b4b8={..._0x205411};return _0x57661d['fieldOrder'][_0x39bcc8(0x2d3)](_0x3483ad=>{const _0x12cbab=_0x39bcc8;let _0x28f459=_0x57661d['fields'][_0x3483ad];_0x28f459&&(_0x28f459[_0x12cbab(0xd2)]===_0x406b36[_0x12cbab(0xc5)]&&(_0x14b4b8[_0x3483ad]=j(_0x4661f4)),_0x28f459[_0x12cbab(0xd2)]===_0x406b36[_0x12cbab(0x23e)]&&_0x4ae806&&(_0x14b4b8[_0x3483ad]=_0x4ae806));}),{'recordId':_0x500c9e,'values':_0x14b4b8,'recordPatch':{'updatedAt':_0x4661f4,..._0x4ae806?{'updatedBy':_0x4ae806}:{}}};}[_0x1040ac(0x33a)](_0x3a9055,_0x5874bf,_0x36a8b9){const _0xf5b7f1=_0x1040ac;let _0x393d3f=_0x3a9055[_0xf5b7f1(0x274)][_0x5874bf];return!_0x393d3f||!cn(_0x36a8b9)?[]:_0x36a8b9['type']===_0x406b36['Numbering']?this['_createNumberingFieldValuePatches'](_0x393d3f,_0x36a8b9['id']):Object[_0xf5b7f1(0x29d)](_0x393d3f[_0xf5b7f1(0x1fa)])['flatMap'](_0x5b75b4=>{const _0x33191d=_0xf5b7f1;let _0x18343c=this[_0x33191d(0x240)](_0x36a8b9,_0x5b75b4);return _0x18343c===void 0x0?[]:[{'recordId':_0x5b75b4['id'],'values':{[_0x36a8b9['id']]:_0x18343c}}];});}[_0x1040ac(0x240)](_0x5f0a61,_0x1b64f2){const _0x2b01f0=_0x1040ac;switch(_0x5f0a61[_0x2b01f0(0xd2)]){case _0x406b36[_0x2b01f0(0x2bb)]:var _0x4b8c85;return(_0x4b8c85=_0x1b64f2[_0x2b01f0(0x18f)])==null?this['_getCurrentUserId']():_0x4b8c85;case _0x406b36['UpdatedBy']:var _0x3fc524;return(_0x3fc524=_0x1b64f2[_0x2b01f0(0x120)])==null?this['_getCurrentUserId']():_0x3fc524;case _0x406b36[_0x2b01f0(0x34e)]:var _0x27d325;return j((_0x27d325=_0x1b64f2[_0x2b01f0(0x172)])==null?Date[_0x2b01f0(0x2c5)]():_0x27d325);case _0x406b36['UpdatedAt']:var _0x338c28;return j((_0x338c28=_0x1b64f2[_0x2b01f0(0x236)])==null?Date[_0x2b01f0(0x2c5)]():_0x338c28);default:return;}}[_0x1040ac(0x265)](_0x4f5a56){const _0x513189=_0x1040ac;let _0x451f17=new Map();return _0x4f5a56&&_0x4f5a56[_0x513189(0xce)]['forEach'](_0x16cedf=>{const _0x4110a8=_0x513189;let _0x49d92b=_0x4f5a56[_0x4110a8(0x351)][_0x16cedf];(_0x49d92b==null?void 0x0:_0x49d92b[_0x4110a8(0xd2)])===_0x406b36[_0x4110a8(0x1b1)]&&_0x451f17[_0x4110a8(0xdc)](_0x16cedf,this[_0x4110a8(0x325)](_0x4f5a56,_0x16cedf));}),_0x451f17;}[_0x1040ac(0x325)](_0x40ac14,_0x45fcc2){const _0x1ea818=_0x1040ac;let _0x4b7829=Object[_0x1ea818(0x29d)](_0x40ac14[_0x1ea818(0x1fa)])[_0x1ea818(0x2b8)]((_0x2d4b4d,_0x52d700)=>{const _0x4ea342=_0x1ea818;let _0x1ed59f=Number(_0x52d700[_0x4ea342(0x29d)][_0x45fcc2]);return Number[_0x4ea342(0x299)](_0x1ed59f)?Math[_0x4ea342(0x2f7)](_0x2d4b4d,_0x1ed59f):_0x2d4b4d;},0x0);return()=>String(++_0x4b7829);}['_createNumberingFieldValuePatches'](_0x2a7fce,_0x7aa0dd){const _0x58e32b=_0x1040ac;let _0x4fed73=this['_getOrderedRecords'](_0x2a7fce),_0x3bd181=this[_0x58e32b(0x325)](_0x2a7fce,_0x7aa0dd);return _0x4fed73[_0x58e32b(0x1a6)](_0x290d04=>this[_0x58e32b(0x14e)](_0x290d04[_0x58e32b(0x29d)][_0x7aa0dd])?[]:[{'recordId':_0x290d04['id'],'values':{[_0x7aa0dd]:_0x3bd181()}}]);}['_getOrderedRecords'](_0x2d2771){const _0xa21dac=_0x1040ac;var _0x2518c2;let _0xc66dd4=Object['values'](_0x2d2771['records']),_0x282aff=new Map(_0xc66dd4['map'](_0x34bd53=>[_0x34bd53['id'],_0x34bd53])),_0x988ac0=[],_0x411719=new Set();(_0x2518c2=_0x2d2771[_0xa21dac(0x218)])==null||_0x2518c2[_0xa21dac(0x2d3)](_0x84472c=>{const _0xf7a5bb=_0xa21dac;let _0x4c0ab6=_0x282aff[_0xf7a5bb(0x370)](_0x84472c);_0x4c0ab6&&(_0x988ac0[_0xf7a5bb(0x143)](_0x4c0ab6),_0x411719['add'](_0x84472c));});let _0x5b5f61=_0xc66dd4[_0xa21dac(0x308)](_0x29565a=>!_0x411719[_0xa21dac(0x31e)](_0x29565a['id']))[_0xa21dac(0x127)]((_0x41c9f8,_0x148e9d)=>{const _0x5a056a=_0xa21dac;var _0x3364e2,_0x3f3bc3;return String((_0x3364e2=_0x41c9f8[_0x5a056a(0x1a0)])==null?_0x41c9f8['id']:_0x3364e2)[_0x5a056a(0x31c)](String((_0x3f3bc3=_0x148e9d[_0x5a056a(0x1a0)])==null?_0x148e9d['id']:_0x3f3bc3))||_0x41c9f8['id'][_0x5a056a(0x31c)](_0x148e9d['id']);});return[..._0x988ac0,..._0x5b5f61];}['_isNonEmptyCellValue'](_0x5dcf93){const _0x37afb1=_0x1040ac;return _0x5dcf93!=null&&_0x5dcf93!==''&&!(Array[_0x37afb1(0x1c5)](_0x5dcf93)&&_0x5dcf93[_0x37afb1(0x1ac)]===0x0);}[_0x1040ac(0x365)](){const _0x423a84=_0x1040ac;var _0x4b2b48,_0x1ad345,_0x595431,_0x1de97f,_0x4491a9,_0x286783;return(_0x4b2b48=(_0x1ad345=(_0x595431=(_0x1de97f=this['_runtimeContext'])[_0x423a84(0x105)])==null?void 0x0:_0x595431[_0x423a84(0x1ae)](_0x1de97f))==null?(_0x4491a9=(_0x286783=this[_0x423a84(0x34d)])['getCurrentUser'])==null||(_0x4491a9=_0x4491a9[_0x423a84(0x1ae)](_0x286783))==null?void 0x0:_0x4491a9[_0x423a84(0x144)]:_0x1ad345)==null?void 0x0:_0x4b2b48;}['_normalizeCellValue'](_0x15daa5,_0x27f499,_0x1d2598,_0x44a5e9,_0x5024f5){const _0x8913c3=_0x1040ac;var _0x141dc8;if(!this[_0x8913c3(0x279)][_0x8913c3(0x142)](_0x27f499,_0x1d2598,_0x44a5e9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x33f01b=(_0x141dc8=_0x15daa5[_0x8913c3(0x274)][_0x27f499])==null?void 0x0:_0x141dc8[_0x8913c3(0x351)][_0x44a5e9];if(!_0x33f01b)throw Error(_0x8913c3(0x250)+_0x44a5e9+_0x8913c3(0x1de));let _0x1994d4=this[_0x8913c3(0x32b)][_0x8913c3(0x370)](_0x33f01b[_0x8913c3(0xd2)]);if(_0x33f01b[_0x8913c3(0x11d)]||_0x33f01b[_0x8913c3(0x137)]||!_0x1994d4[_0x8913c3(0x297)](_0x33f01b)['editable'])throw Error(_0x8913c3(0x20e));let _0x9d3a1f=_0x1994d4[_0x8913c3(0x194)](_0x5024f5,_0x33f01b),_0x57e1ac=_0x1994d4['validate'](_0x9d3a1f,_0x33f01b);if(!_0x57e1ac[_0x8913c3(0x221)]){var _0x5721f8;throw Error((_0x5721f8=_0x57e1ac['reason'])==null?_0x8913c3(0x1ad):_0x5721f8);}return _0x9d3a1f;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0xb9dfe1=_0x1040ac;let _0x4cb698=new tn();return At()['forEach'](_0x5f2749=>_0x4cb698[_0xb9dfe1(0x1a5)](_0x5f2749)),_0x4cb698;}function cn(_0x12f69e){const _0x2cc2ec=_0x1040ac;return _0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['Numbering']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['CreatedBy']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36[_0x2cc2ec(0x23e)]||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['CreatedAt']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36[_0x2cc2ec(0xc5)];}const ln=new Set([_0x406b36[_0x1040ac(0x1fe)],_0x406b36[_0x1040ac(0x367)],_0x406b36[_0x1040ac(0x32e)]]);function un(_0x2d57b7){const _0x26db72=_0x1040ac;var _0x11f406,_0x3531ec;let _0x5777fe=_0x2d57b7[_0x26db72(0x351)][_0x2d57b7[_0x26db72(0x2a0)]];return!(_0x5777fe&&(_0x5777fe[_0x26db72(0x137)]===!0x0||_0x5777fe['id'][_0x26db72(0x1da)]()==='id'||_0x5777fe[_0x26db72(0x27a)]['trim']()['toLowerCase']()==='id'))&&_0x5777fe?_0x5777fe['id']:(_0x11f406=(_0x3531ec=_0x2d57b7['fieldOrder'][_0x26db72(0xb4)](_0x2daf7e=>_0x2d57b7[_0x26db72(0x351)][_0x2daf7e])[_0x26db72(0x1cc)](_0xf5867f=>_0xf5867f&&_0xf5867f['id']!==_0x2d57b7['primaryFieldId']))==null?void 0x0:_0x3531ec['id'])==null?_0x2d57b7[_0x26db72(0x2a0)]:_0x11f406;}function dn(_0x4348f7,_0x55088a=[],_0x347d93=0x5){const _0x2b7de9=_0x1040ac;let _0x18deab=new Set(_0x55088a['filter'](_0x73ab7f=>!!_0x73ab7f)),_0x591986=_0x4348f7[_0x2b7de9(0xce)][_0x2b7de9(0x1a6)](_0x108c5a=>{const _0x39ba78=_0x2b7de9;let _0x17ca05=_0x4348f7['fields'][_0x108c5a];return _0x17ca05&&!_0x18deab[_0x39ba78(0x31e)](_0x17ca05['id'])?[_0x17ca05]:[];}),_0x22f230=_0x591986[_0x2b7de9(0x308)](_0x35ca85=>ln[_0x2b7de9(0x31e)](_0x35ca85['type'])),_0xea1f2b=_0x591986[_0x2b7de9(0x308)](_0x298cb7=>!ln[_0x2b7de9(0x31e)](_0x298cb7[_0x2b7de9(0xd2)]));return[..._0x22f230,..._0xea1f2b][_0x2b7de9(0x35c)](0x0,_0x347d93)[_0x2b7de9(0xb4)](_0x411e79=>_0x411e79['id']);}function fn(){const _0x3aac4e=_0x1040ac;return[{'type':_0x7d70ae[_0x3aac4e(0x24e)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x309fc0=_0x3aac4e;throw Error(_0x309fc0(0xc0));}},{'type':_0x7d70ae[_0x3aac4e(0xc6)],'i18nKey':_0x3aac4e(0x1db),'createDefaultConfig':_0x5ed559=>{const _0xa2d63f=_0x3aac4e;let _0x3c5721=pn(_0x5ed559);return{'groupFieldId':_0x3c5721,'coverFieldId':null,'cardLayout':_0xa2d63f(0xd8),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5ed559[_0xa2d63f(0x2a0)],'fieldIds':dn(_0x5ed559,[_0x5ed559[_0xa2d63f(0x2a0)],_0x3c5721])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x291aa1=_0x3aac4e;throw Error(_0x291aa1(0x103));}},{'type':_0x7d70ae[_0x3aac4e(0x36d)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x4a9e87=>{const _0x2eaf6f=_0x3aac4e;let _0x56f99b=mn(_0x4a9e87);return{'startDateFieldId':_0x56f99b,'endDateFieldId':hn(_0x4a9e87,_0x56f99b),'titleFieldId':_0x4a9e87[_0x2eaf6f(0x2a0)],'mode':_0x2eaf6f(0x2e2),'timeslotSize':'medium','timeZone':_0x2eaf6f(0x2c0),'displayColor':{'type':_0x2eaf6f(0x1b6),'color':_0x2eaf6f(0x269)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x175160=_0x3aac4e;throw Error(_0x175160(0x171));}},{'type':_0x7d70ae[_0x3aac4e(0xed)],'i18nKey':_0x3aac4e(0x255),'createDefaultConfig':_0x1c9dce=>{const _0x43ceb1=_0x3aac4e;var _0x12c2c2;let _0x42ec92=mn(_0x1c9dce);return{'startDateFieldId':_0x42ec92,'endDateFieldId':(_0x12c2c2=hn(_0x1c9dce,_0x42ec92))==null?_0x42ec92:_0x12c2c2,'titleFieldId':_0x1c9dce['primaryFieldId'],'scale':_0x43ceb1(0x2e2),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x43ceb1(0x121)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x59dbf7=_0x3aac4e;throw Error(_0x59dbf7(0x30e));}},{'type':_0x7d70ae[_0x3aac4e(0x132)],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x31927b=>{const _0x13cdca=_0x3aac4e;let _0x5ce6f5=un(_0x31927b);return{'coverFieldId':null,'cardLayout':_0x13cdca(0xd8),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5ce6f5,'coverFieldId':null,'fieldIds':dn(_0x31927b,[_0x5ce6f5,_0x31927b[_0x13cdca(0x2a0)]])},'cardSize':_0x13cdca(0x130)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function pn(_0x4fce95){const _0x1a4718=_0x1040ac;var _0x5e116a,_0x1b485f,_0x1ab14c,_0x403e59,_0x159400,_0x2737ed;let _0x519cc9=_0x4fce95[_0x1a4718(0xce)][_0x1a4718(0xb4)](_0xc686c8=>_0x4fce95['fields'][_0xc686c8])[_0x1a4718(0x308)](_0x37f3ae=>!!_0x37f3ae);return(_0x5e116a=(_0x1b485f=(_0x1ab14c=(_0x403e59=_0x519cc9[_0x1a4718(0x1cc)](_0xf176a1=>_0xf176a1[_0x1a4718(0xd2)]===_0x406b36['SingleSelect']||_0xf176a1[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x2ce)]||_0xf176a1[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x26b)]))==null?void 0x0:_0x403e59['id'])==null?(_0x159400=_0x519cc9[_0x1a4718(0x1cc)](_0x5c7374=>_0x5c7374[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x22f)]))==null?void 0x0:_0x159400['id']:_0x1ab14c)==null?(_0x2737ed=_0x519cc9[_0x1a4718(0x1cc)](_0x6f5b8c=>_0x6f5b8c[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x107)]||_0x6f5b8c['type']===_0x406b36['CreatedAt']||_0x6f5b8c['type']===_0x406b36[_0x1a4718(0xc5)]))==null?void 0x0:_0x2737ed['id']:_0x1b485f)==null?_0x4fce95[_0x1a4718(0x2a0)]:_0x5e116a;}function mn(_0xeb9019){const _0x35d0df=_0x1040ac;var _0x8c439e,_0x27d194;return(_0x8c439e=(_0x27d194=_0xeb9019[_0x35d0df(0xce)][_0x35d0df(0xb4)](_0x23c5e7=>_0xeb9019[_0x35d0df(0x351)][_0x23c5e7])[_0x35d0df(0x1cc)](gn))==null?void 0x0:_0x27d194['id'])==null?'':_0x8c439e;}function hn(_0x34aa7e,_0x7c8870){const _0xefa5b1=_0x1040ac;var _0x42a2ea;return(_0x42a2ea=_0x34aa7e[_0xefa5b1(0xce)]['map'](_0x2fd575=>_0x34aa7e['fields'][_0x2fd575])[_0xefa5b1(0x1cc)](_0x46e8be=>gn(_0x46e8be)&&_0x46e8be['id']!==_0x7c8870))==null?void 0x0:_0x42a2ea['id'];}function gn(_0x5971d4){const _0x4de5b9=_0x1040ac;return!!_0x5971d4&&_0x5971d4[_0x4de5b9(0xd2)]===_0x406b36[_0x4de5b9(0x107)]&&_0x5971d4[_0x4de5b9(0x11d)]!==!0x0&&_0x5971d4['system']!==!0x0;}const _n=_0x43b5b5('base.projection.service'),vn=new Set([_0x406b36[_0x1040ac(0x123)],_0x406b36[_0x1040ac(0xcf)],_0x406b36['Progress'],_0x406b36[_0x1040ac(0x367)],_0x406b36['Date'],_0x406b36['CreatedAt'],_0x406b36[_0x1040ac(0xc5)],_0x406b36[_0x1040ac(0x32e)]]);let yn=class extends _0x41e38b{constructor(_0x24a544){const _0x548ca6=_0x1040ac;super(),this[_0x548ca6(0x32b)]=_0x24a544,B(this,'_views',new Map()),B(this,_0x548ca6(0x27b),new WeakMap()),B(this,_0x548ca6(0x29c),new Map()),B(this,_0x548ca6(0x198),new Map()),B(this,'_projectedGroupsCache',new Map()),B(this,_0x548ca6(0x31b),0x0),B(this,_0x548ca6(0xf2),new Map()),B(this,_0x548ca6(0xe1),new Map()),B(this,'_cellInvalidations',new Map()),B(this,_0x548ca6(0x224),new Map());}[_0x1040ac(0x235)](_0x1f426c){const _0x58bbfb=_0x1040ac;return this[_0x58bbfb(0x2bd)][_0x58bbfb(0xdc)](_0x1f426c[_0x58bbfb(0xd2)],_0x1f426c),_0x5b27e8(()=>this[_0x58bbfb(0x2bd)][_0x58bbfb(0x2aa)](_0x1f426c[_0x58bbfb(0xd2)]));}[_0x1040ac(0x320)](_0x4b4d8b,_0x46675d,_0x2cde06){const _0x4f0b38=_0x1040ac;var _0x32f30e,_0x37c486,_0x3ce4ec,_0x542126,_0x59ad9e;return T('BaseProjection.getProjection',()=>{const _0x410fd8=_0x4ff6;let _0xb3f588=this['_getCachedProjection'](_0x4b4d8b,_0x46675d,_0x2cde06);if(_0xb3f588)return _0xb3f588;let _0x3c9f89=_0x4b4d8b['tables'][_0x46675d],_0x43a083=_0x3c9f89==null?void 0x0:_0x3c9f89[_0x410fd8(0x165)][_0x2cde06];if(!_0x3c9f89||!_0x43a083){var _0x5d6b6a;return this[_0x410fd8(0x24d)](_0x4b4d8b,_0x46675d,_0x2cde06,{'type':'invalid','viewType':(_0x5d6b6a=_0x43a083==null?void 0x0:_0x43a083[_0x410fd8(0xd2)])==null?_0x7d70ae[_0x410fd8(0x24e)]:_0x5d6b6a,'reason':_0x410fd8(0x119)});}let _0x3cf0e2;switch(_0x43a083[_0x410fd8(0xd2)]){case _0x7d70ae[_0x410fd8(0x24e)]:_0x3cf0e2=this[_0x410fd8(0x1c4)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0xed)]:_0x3cf0e2=this[_0x410fd8(0x268)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0xc6)]:_0x3cf0e2=this[_0x410fd8(0x2d4)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0x36d)]:_0x3cf0e2=this['_buildCalendar'](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0x132)]:_0x3cf0e2=this[_0x410fd8(0x150)](_0x3c9f89,_0x43a083);break;default:_0x3cf0e2={'type':'invalid','viewType':_0x43a083['type'],'reason':'missingField'};}return this[_0x410fd8(0x24d)](_0x4b4d8b,_0x46675d,_0x2cde06,_0x3cf0e2);},{'tableId':_0x46675d,'viewId':_0x2cde06,'viewType':(_0x32f30e=_0x4b4d8b['tables'][_0x46675d])==null||(_0x32f30e=_0x32f30e[_0x4f0b38(0x165)][_0x2cde06])==null?void 0x0:_0x32f30e[_0x4f0b38(0xd2)],'records':(_0x37c486=(_0x3ce4ec=_0x4b4d8b[_0x4f0b38(0x274)][_0x46675d])==null||(_0x3ce4ec=_0x3ce4ec[_0x4f0b38(0x218)])==null?void 0x0:_0x3ce4ec[_0x4f0b38(0x1ac)])==null?Object[_0x4f0b38(0x1d0)]((_0x542126=(_0x59ad9e=_0x4b4d8b['tables'][_0x46675d])==null?void 0x0:_0x59ad9e['records'])==null?{}:_0x542126)[_0x4f0b38(0x1ac)]:_0x37c486});}['repairViewConfig'](_0x50bc48,_0xb967d9,_0x4bfe16){const _0x219577=_0x1040ac;var _0x4833f1,_0x2898ab,_0x355f11,_0x28bb99;let _0x1a7949=_0x50bc48['tables'][_0xb967d9],_0x5633e7=_0x1a7949==null?void 0x0:_0x1a7949[_0x219577(0x165)][_0x4bfe16];if(!_0x1a7949||!_0x5633e7)throw Error(_0x219577(0xc3)+_0x4bfe16+'\x22.');let _0x24b3c2=_0x377bc5=>!!_0x1a7949[_0x219577(0x351)][_0x377bc5],_0x2e85d4={..._0x5633e7,'filter':_0x5633e7[_0x219577(0x308)]?{..._0x5633e7[_0x219577(0x308)],'conditions':_0x5633e7[_0x219577(0x308)]['conditions'][_0x219577(0x308)](_0x1973e8=>_0x24b3c2(_0x1973e8[_0x219577(0x1d4)]))}:_0x5633e7[_0x219577(0x308)],'sort':(_0x4833f1=_0x5633e7[_0x219577(0x127)])==null?void 0x0:_0x4833f1[_0x219577(0x308)](_0x6eece=>_0x24b3c2(_0x6eece[_0x219577(0x1d4)])),'group':(_0x2898ab=_0x5633e7[_0x219577(0x1d1)])==null?void 0x0:_0x2898ab[_0x219577(0x308)](_0x48e659=>_0x24b3c2(_0x48e659[_0x219577(0x1d4)])),'fieldOrder':(_0x355f11=_0x5633e7['fieldOrder'])==null?void 0x0:_0x355f11[_0x219577(0x308)](_0x24b3c2),'fieldSettings':Object[_0x219577(0x1fc)](Object[_0x219577(0x361)]((_0x28bb99=_0x5633e7[_0x219577(0x258)])==null?{}:_0x28bb99)['filter'](([_0x2b5178])=>_0x24b3c2(_0x2b5178)))};if(_0x2e85d4[_0x219577(0xd2)]==='kanban'){var _0x3f4ab1,_0x3e70af,_0x14db66,_0x32efb9;let _0x2fe462=(_0x3f4ab1=_0x2e85d4['config'])==null?{}:_0x3f4ab1,_0x325211=this[_0x219577(0x170)](_0x1a7949,_0x2e85d4);_0x2e85d4['config']={..._0x2fe462,'groupFieldId':_0x325211==null?_0x2fe462[_0x219577(0x147)]:_0x325211,'coverFieldId':this[_0x219577(0x359)](_0x1a7949,_0x2fe462),'cardLayout':_0x2fe462[_0x219577(0xa4)]==='compose'?_0x219577(0x260):'normal','showFieldNames':_0x2fe462[_0x219577(0x312)]!==!0x1,'fieldSettings':Object[_0x219577(0x1fc)](Object[_0x219577(0x361)]((_0x3e70af=_0x2fe462[_0x219577(0x258)])==null?{}:_0x3e70af)[_0x219577(0x308)](([_0x561824])=>_0x24b3c2(_0x561824))),'columnSettings':(_0x14db66=_0x2fe462[_0x219577(0x30c)])==null?{}:_0x14db66,'card':{...(_0x32efb9=_0x2fe462[_0x219577(0x27f)])==null?{}:_0x32efb9,'fieldIds':this[_0x219577(0x168)](_0x1a7949,_0x2e85d4,_0x325211==null?'':_0x325211)}};}return{'repaired':JSON[_0x219577(0x1dc)](_0x2e85d4)!==JSON[_0x219577(0x1dc)](_0x5633e7),'view':_0x2e85d4};}[_0x1040ac(0x30d)](){const _0x3d3ff8=_0x1040ac;this[_0x3d3ff8(0x31b)]++;}[_0x1040ac(0x192)](_0x4bc7f6,_0x238b94,_0xd0329c){const _0x2f4a32=_0x1040ac;var _0x65f8f4;let _0x29d528=this[_0x2f4a32(0x1ab)](_0x4bc7f6)+0x1;this['_cellRevisions']['set'](_0x4bc7f6,_0x29d528);let _0x52be1c=(_0x65f8f4=this[_0x2f4a32(0x2e0)][_0x2f4a32(0x370)](_0x4bc7f6))==null?[]:_0x65f8f4;_0x52be1c['push']({'revision':_0x29d528,'recordId':_0x238b94,'fieldId':_0xd0329c}),this[_0x2f4a32(0x2e0)][_0x2f4a32(0xdc)](_0x4bc7f6,_0x52be1c);}['invalidateByField'](_0x33ac96,_0x36ea10){const _0x459eeb=_0x1040ac;this[_0x459eeb(0x1a8)](_0x33ac96);}[_0x1040ac(0x335)](_0x345279,_0x42f0b0){const _0x1c2cb2=_0x1040ac;this[_0x1c2cb2(0x224)]['set'](this[_0x1c2cb2(0xec)](_0x345279,_0x42f0b0),this[_0x1c2cb2(0x1c6)](_0x345279,_0x42f0b0)+0x1);}[_0x1040ac(0x220)](_0x3b2716,_0xc6a376,_0x5f365f){const _0xcea7f6=_0x1040ac;var _0x579dde;let _0x40c1cd=(_0x579dde=this[_0xcea7f6(0x27b)][_0xcea7f6(0x370)](_0x3b2716))==null?void 0x0:_0x579dde[_0xcea7f6(0x370)](this[_0xcea7f6(0x1a4)](_0xc6a376,_0x5f365f));return _0x40c1cd&&_0x40c1cd[_0xcea7f6(0x316)]===this[_0xcea7f6(0x31b)]&&_0x40c1cd[_0xcea7f6(0xf6)]===this[_0xcea7f6(0x26c)](_0xc6a376)&&_0x40c1cd[_0xcea7f6(0x292)]===this['_getCellRevision'](_0xc6a376)&&_0x40c1cd[_0xcea7f6(0x35e)]===this['_getViewRevision'](_0xc6a376,_0x5f365f)?_0x40c1cd['projection']:null;}['_setCachedProjection'](_0x1277db,_0x4f1c26,_0x37612a,_0x110463){const _0x1efcda=_0x1040ac;let _0x45ed48=this[_0x1efcda(0x27b)][_0x1efcda(0x370)](_0x1277db);return _0x45ed48||(_0x45ed48=new Map(),this[_0x1efcda(0x27b)]['set'](_0x1277db,_0x45ed48)),_0x45ed48[_0x1efcda(0xdc)](this[_0x1efcda(0x1a4)](_0x4f1c26,_0x37612a),{'projection':_0x110463,'globalRevision':this[_0x1efcda(0x31b)],'tableRevision':this[_0x1efcda(0x26c)](_0x4f1c26),'cellRevision':this['_getCellRevision'](_0x4f1c26),'viewRevision':this[_0x1efcda(0x1c6)](_0x4f1c26,_0x37612a)}),_0x110463;}['_bumpTableRevision'](_0x5c9f53){const _0x33f23e=_0x1040ac;this[_0x33f23e(0xf2)]['set'](_0x5c9f53,this[_0x33f23e(0x26c)](_0x5c9f53)+0x1);}[_0x1040ac(0x26c)](_0x48c7ab){const _0x3b375f=_0x1040ac;var _0x4e6da2;return(_0x4e6da2=this[_0x3b375f(0xf2)][_0x3b375f(0x370)](_0x48c7ab))==null?0x0:_0x4e6da2;}[_0x1040ac(0x1ab)](_0x4c95a3){const _0x14709e=_0x1040ac;var _0x337262;return(_0x337262=this[_0x14709e(0xe1)]['get'](_0x4c95a3))==null?0x0:_0x337262;}[_0x1040ac(0x1c6)](_0x34e31a,_0x2dd2af){const _0x3f5711=_0x1040ac;var _0x5c7dbd;return(_0x5c7dbd=this[_0x3f5711(0x224)][_0x3f5711(0x370)](this[_0x3f5711(0xec)](_0x34e31a,_0x2dd2af)))==null?0x0:_0x5c7dbd;}[_0x1040ac(0x1a4)](_0x1b6df9,_0x328e06){return _0x1b6df9+'\x00'+_0x328e06;}[_0x1040ac(0x2db)](_0x372aaf,_0x5479f2){const _0x4d457e=_0x1040ac;return _0x372aaf+'\x00'+this[_0x4d457e(0xdb)](_0x5479f2);}[_0x1040ac(0x2e5)](_0x77888,_0xda4a7e,_0x593ad2){const _0x349a1c=_0x1040ac;return _0x77888+'\x00'+this[_0x349a1c(0xdb)](_0xda4a7e)+'\x00'+this[_0x349a1c(0xcc)](_0x593ad2);}['_rowTransformCacheSegment'](_0x263dcd){const _0x3d4ee1=_0x1040ac;return _0x263dcd?Tn({'filter':Cn(_0x263dcd[_0x3d4ee1(0x308)]),'sort':wn(_0x263dcd[_0x3d4ee1(0x127)])}):_0x3d4ee1(0x15e);}[_0x1040ac(0xcc)](_0x1a1aad){const _0x174bd0=_0x1040ac;return Tn(_0x1a1aad[_0x174bd0(0xb4)](_0x6a8c38=>{const _0x4bffd0=_0x174bd0;var _0x298403;return{'fieldId':_0x6a8c38[_0x4bffd0(0x1d4)],'direction':(_0x298403=_0x6a8c38[_0x4bffd0(0x17c)])==null?null:_0x298403};}));}[_0x1040ac(0xec)](_0x333f66,_0x5a7a14){return _0x333f66+'\x00'+_0x5a7a14;}[_0x1040ac(0x1c4)](_0x5c426c,_0x4f9854){const _0x3103fc=_0x1040ac;let _0x52c064=this['_projectRows'](_0x5c426c,_0x4f9854);return{'type':_0x7d70ae['Grid'],'fields':this[_0x3103fc(0x219)](_0x5c426c,_0x4f9854),'rows':_0x52c064,'groups':this[_0x3103fc(0x2d1)](_0x5c426c,_0x4f9854,_0x52c064),'frozenFieldCount':typeof _0x4f9854[_0x3103fc(0x2ed)][_0x3103fc(0xc1)]==_0x3103fc(0x1f7)?_0x4f9854[_0x3103fc(0x2ed)][_0x3103fc(0xc1)]:0x0};}[_0x1040ac(0x2d4)](_0x1e9bb3,_0x1fc8aa){const _0x1b840e=_0x1040ac;var _0x230548;let _0x225666=this[_0x1b840e(0x170)](_0x1e9bb3,_0x1fc8aa),_0x50f496=_0x225666?_0x1e9bb3['fields'][_0x225666]:void 0x0;if(!_0x50f496)return{'type':'invalid','viewType':_0x7d70ae['Kanban'],'reason':'invalidGroupField','fieldId':_0x1fc8aa['config']['groupFieldId']};let _0x277b86=this['_projectRows'](_0x1e9bb3,_0x1fc8aa),_0x2d0250=this[_0x1b840e(0x219)](_0x1e9bb3,_0x1fc8aa),_0x381e69=(_0x230548=_0x1fc8aa[_0x1b840e(0x2ed)])==null?{}:_0x230548,_0x1bd4a3=this['_resolveKanbanCardFieldIds'](_0x1e9bb3,_0x1fc8aa,_0x50f496['id']),_0x3adefd=new Map();return this[_0x1b840e(0x22c)](_0x50f496,_0x381e69)[_0x1b840e(0x2d3)](_0x1780a6=>_0x3adefd[_0x1b840e(0xdc)](_0x1780a6[_0x1b840e(0x2c8)],{..._0x1780a6,'recordIds':[]})),_0x277b86[_0x1b840e(0x2d3)](_0x4fd398=>{const _0x11e7fc=_0x1b840e;this[_0x11e7fc(0x348)](_0x50f496,_0x4fd398[_0x11e7fc(0x29d)][_0x50f496['id']])[_0x11e7fc(0x2d3)](_0x1865d4=>{const _0x21db98=_0x11e7fc;let _0xda0ad2=_0x3adefd[_0x21db98(0x370)](_0x1865d4),_0x4c8d35=_0xda0ad2==null?{'key':_0x1865d4,'title':this[_0x21db98(0x1ca)](_0x50f496,_0x1865d4,_0x381e69),'color':this[_0x21db98(0x24a)](_0x50f496,_0x1865d4,_0x381e69),'recordIds':[]}:_0xda0ad2;_0x4c8d35['recordIds'][_0x21db98(0x143)](_0x4fd398[_0x21db98(0x158)]),_0x3adefd[_0x21db98(0xdc)](_0x1865d4,_0x4c8d35);});}),{'type':_0x7d70ae[_0x1b840e(0xc6)],'fields':_0x2d0250,'rows':_0x277b86,'groups':this[_0x1b840e(0x2d1)](_0x1e9bb3,_0x1fc8aa,_0x277b86),'groupFieldId':_0x50f496['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x1e9bb3,_0x381e69),'cardLayout':_0x381e69['cardLayout']===_0x1b840e(0x260)?'compose':_0x1b840e(0xd8),'showFieldNames':_0x381e69[_0x1b840e(0x312)]!==!0x1,'visibleCardFieldIds':_0x1bd4a3,'lanes':Array['from'](_0x3adefd[_0x1b840e(0x29d)]())};}['_resolveKanbanGroupFieldId'](_0x476ec3,_0x1771d7){const _0xfedd30=_0x1040ac;var _0x49a448;let _0xf969af=(_0x49a448=_0x1771d7[_0xfedd30(0x2ed)])==null?void 0x0:_0x49a448[_0xfedd30(0x147)];return _0xf969af&&this[_0xfedd30(0x234)](_0x476ec3,_0xf969af)?_0xf969af:this[_0xfedd30(0x29a)](_0x476ec3,_0x1bc154=>this['_isAllowedKanbanGroupField'](_0x1bc154));}['_findKanbanGroupField'](_0x3b9ce3,_0x324069){const _0x101c63=_0x1040ac;for(let _0x11fb68 of _0x3b9ce3['fieldOrder']){let _0x995e1f=_0x3b9ce3[_0x101c63(0x351)][_0x11fb68];if(_0x995e1f&&_0x324069(_0x995e1f))return _0x995e1f['id'];}return null;}['_isKanbanGroupField'](_0x433437,_0x19861d){const _0x202bbf=_0x1040ac;let _0x20bcde=_0x433437[_0x202bbf(0x351)][_0x19861d];return this[_0x202bbf(0x1b3)](_0x20bcde);}[_0x1040ac(0x1b3)](_0x4bf3aa){const _0xf50216=_0x1040ac;return!!_0x4bf3aa&&(_0x4bf3aa[_0xf50216(0xd2)]===_0x406b36['SingleSelect']||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x2ce)]||_0x4bf3aa['type']===_0x406b36['Rating']||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x1ff)]||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x26b)]||_0x4bf3aa[_0xf50216(0xd2)]===_0x406b36[_0xf50216(0x32e)]);}[_0x1040ac(0x217)](_0x5951e4){const _0x285738=_0x1040ac;return _0x5951e4[_0x285738(0xd2)]===_0x406b36[_0x285738(0x1c7)]||_0x5951e4[_0x285738(0xd2)]===_0x406b36[_0x285738(0x2ce)];}[_0x1040ac(0x359)](_0x5d56f5,_0x3cd679){const _0x54f18a=_0x1040ac;var _0x269985,_0x108a9b,_0x15d921;let _0x3708d1=(_0x269985=(_0x108a9b=_0x3cd679['coverFieldId'])==null?(_0x15d921=_0x3cd679[_0x54f18a(0x27f)])==null?void 0x0:_0x15d921['coverFieldId']:_0x108a9b)==null?null:_0x269985;if(!_0x3708d1)return null;let _0x9e5ef0=_0x5d56f5[_0x54f18a(0x351)][_0x3708d1];return _0x9e5ef0&&this[_0x54f18a(0x36a)](_0x9e5ef0)[_0x54f18a(0x155)]?_0x9e5ef0['id']:null;}[_0x1040ac(0x168)](_0x30cf2f,_0xf748b8,_0x4b31c3){const _0x4a754f=_0x1040ac;var _0x4d456a,_0x12b95c,_0x43a2ae;let _0x2123c2=(_0x4d456a=_0xf748b8[_0x4a754f(0x2ed)])==null?{}:_0x4d456a,_0x26359a=!((_0x12b95c=_0x2123c2['card'])==null||(_0x12b95c=_0x12b95c[_0x4a754f(0x25d)])==null)&&_0x12b95c[_0x4a754f(0x1ac)]?_0x2123c2['card'][_0x4a754f(0x25d)]:dn(_0x30cf2f,[_0x30cf2f[_0x4a754f(0x2a0)],_0x4b31c3]),_0x4a7b7c=(_0x43a2ae=_0x2123c2[_0x4a754f(0x258)])==null?{}:_0x43a2ae;return _0x26359a[_0x4a754f(0x308)](_0x10db71=>{const _0x4aadc4=_0x4a754f;var _0x2bea46,_0x4d991f;let _0x268587=_0x30cf2f['fields'][_0x10db71];return!(!_0x268587||_0x268587['id']===_0x4b31c3||!((_0x2bea46=_0xf748b8[_0x4aadc4(0x258)])==null||(_0x2bea46=_0x2bea46[_0x10db71])==null)&&_0x2bea46[_0x4aadc4(0x1a2)]||(_0x4d991f=_0x4a7b7c[_0x10db71])!=null&&_0x4d991f[_0x4aadc4(0x1a2)]);})[_0x4a754f(0x127)]((_0x38df28,_0x45c378)=>{const _0x3a4ff4=_0x4a754f;var _0x5886a8,_0x36b667,_0x125102,_0x544c1c;return((_0x5886a8=(_0x36b667=_0x4a7b7c[_0x38df28])==null?void 0x0:_0x36b667[_0x3a4ff4(0x1eb)])==null?_0x26359a['indexOf'](_0x38df28):_0x5886a8)-((_0x125102=(_0x544c1c=_0x4a7b7c[_0x45c378])==null?void 0x0:_0x544c1c[_0x3a4ff4(0x1eb)])==null?_0x26359a[_0x3a4ff4(0x28a)](_0x45c378):_0x125102);});}['_getKanbanConfiguredLanes'](_0x290193,_0xe6c821){const _0x21fd5f=_0x1040ac;var _0xf8e81b,_0x300310;let _0x14f355=(Array[_0x21fd5f(0x1c5)]((_0xf8e81b=_0x290193[_0x21fd5f(0x2ed)])==null?void 0x0:_0xf8e81b['options'])?_0x290193['config'][_0x21fd5f(0x1d9)]:[])['flatMap']((_0x371064,_0x4bb690)=>{const _0x8c1c4d=_0x21fd5f;var _0x48e2fe,_0x3a9b8e,_0x36e6e6,_0xb02ded;if(_0x371064==null)return[];let _0x1253d0=typeof _0x371064==_0x8c1c4d(0x2e9)?{'id':_0x371064,'name':_0x371064,'color':void 0x0}:_0x371064,_0x164bca=String((_0x48e2fe=(_0x3a9b8e=_0x1253d0['id'])==null?_0x1253d0[_0x8c1c4d(0x27a)]:_0x3a9b8e)==null?_0x8c1c4d(0x2c4)+(_0x4bb690+0x1):_0x48e2fe);return[{'key':_0x164bca,'title':String((_0x36e6e6=(_0xb02ded=_0x1253d0[_0x8c1c4d(0x27a)])==null?_0x1253d0['id']:_0xb02ded)==null?_0x164bca:_0x36e6e6),'color':this[_0x8c1c4d(0x24a)](_0x290193,_0x164bca,_0xe6c821)}];});return Object[_0x21fd5f(0x361)]((_0x300310=_0xe6c821[_0x21fd5f(0x30c)])==null?{}:_0x300310)[_0x21fd5f(0x2d3)](([_0x4fb21b,_0xe20914])=>{const _0x59e743=_0x21fd5f;var _0x1764ab;_0x14f355['some'](_0x271ab1=>_0x271ab1[_0x59e743(0x2c8)]===_0x4fb21b)||_0x14f355['push']({'key':_0x4fb21b,'title':this[_0x59e743(0x217)](_0x290193)?(_0x1764ab=_0xe20914[_0x59e743(0x336)])==null?this[_0x59e743(0x1ca)](_0x290193,_0x4fb21b,_0xe6c821):_0x1764ab:this['_kanbanLaneTitle'](_0x290193,_0x4fb21b,_0xe6c821),'color':this[_0x59e743(0x24a)](_0x290193,_0x4fb21b,_0xe6c821)});}),_0x14f355;}[_0x1040ac(0x348)](_0x4e998f,_0x156481){const _0x1223a5=_0x1040ac;let _0x1500c4=_0x26aacf=>{var _0x162ed6,_0x573c25;let _0x172c33=_0x26aacf==null?'':String(_0x26aacf);return!_0x172c33||!this['_isColorfulKanbanGroupField'](_0x4e998f)||(_0x162ed6=(_0x573c25=J(_0x4e998f,_0x172c33))==null?void 0x0:_0x573c25['id'])==null?_0x172c33:_0x162ed6;};if(Array[_0x1223a5(0x1c5)](_0x156481)){let _0x17f448=_0x156481[_0x1223a5(0xb4)](_0x1500c4)[_0x1223a5(0x308)](_0x15af1b=>_0x15af1b!=='');return _0x17f448[_0x1223a5(0x1ac)]?_0x17f448:[''];}return[_0x1500c4(_0x156481)];}[_0x1040ac(0x1ca)](_0x4f36ae,_0x48cda0,_0x1ceb46){const _0x2a607d=_0x1040ac;var _0x380c80;if(!_0x48cda0)return'Uncategorized';let _0x2c910f=J(_0x4f36ae,_0x48cda0);return(_0x380c80=_0x2c910f==null?void 0x0:_0x2c910f[_0x2a607d(0x27a)])==null?_0x48cda0:_0x380c80;}['_kanbanLaneColor'](_0x26e4c1,_0x6a7ca0,_0x1f0d37){const _0x55376f=_0x1040ac;var _0x3034ce;if(this['_isColorfulKanbanGroupField'](_0x26e4c1))return(_0x3034ce=J(_0x26e4c1,_0x6a7ca0))==null?void 0x0:_0x3034ce[_0x55376f(0x2cf)];}[_0x1040ac(0x2b5)](_0x5d0c9a,_0x4e38c6){const _0x41053d=_0x1040ac;var _0xd3b45c;let _0x3519e5=this[_0x41053d(0xe9)](_0x5d0c9a,(_0xd3b45c=_0x4e38c6[_0x41053d(0x2ed)])==null?{}:_0xd3b45c),_0x19476c=_0x5d0c9a[_0x41053d(0x351)][_0x3519e5[_0x41053d(0x1a1)]];if(!_0x19476c||_0x19476c[_0x41053d(0xd2)]!==_0x406b36[_0x41053d(0x107)]||_0x19476c[_0x41053d(0x11d)]===!0x0||_0x19476c[_0x41053d(0x137)]===!0x0||!this[_0x41053d(0x36a)](_0x19476c)[_0x41053d(0x28d)])return{'type':'invalid','viewType':_0x7d70ae[_0x41053d(0x36d)],'reason':'invalidDateField','fieldId':_0x3519e5['startDateFieldId']};let _0x49711f=_0x3519e5[_0x41053d(0xfd)]?_0x5d0c9a['fields'][_0x3519e5['endDateFieldId']]:void 0x0,_0x4ec67a=this[_0x41053d(0x36b)](_0x5d0c9a,_0x4e38c6);return{'type':_0x7d70ae[_0x41053d(0x36d)],'config':_0x3519e5,'fields':this['_projectFields'](_0x5d0c9a,_0x4e38c6),'rows':_0x4ec67a,'groups':this[_0x41053d(0x2d1)](_0x5d0c9a,_0x4e38c6,_0x4ec67a),'events':_0x4ec67a['flatMap'](_0x56a120=>{const _0xa56371=_0x41053d;let _0x46963c=N(_0x56a120['values'][_0x3519e5[_0xa56371(0x1a1)]]);if(!Number[_0xa56371(0x299)](_0x46963c))return[];let _0x1790b1=_0x56a120[_0xa56371(0x29d)][_0x3519e5[_0xa56371(0x1a1)]],_0x1810a2=_0x3519e5[_0xa56371(0xfd)]==null?void 0x0:_0x56a120['values'][_0x3519e5[_0xa56371(0xfd)]],_0x1c4ddd=_0x3519e5[_0xa56371(0xfd)]==null?void 0x0:N(_0x1810a2),_0x57d380=Number[_0xa56371(0x299)](_0x1c4ddd)?_0x1c4ddd:void 0x0;return[{'recordId':_0x56a120[_0xa56371(0x158)],'title':this[_0xa56371(0x266)](_0x5d0c9a,_0x56a120,_0x3519e5[_0xa56371(0x15f)]),'start':_0x46963c,'end':_0x57d380,'color':this[_0xa56371(0xd6)](_0x5d0c9a,_0x56a120,_0x3519e5),'startMs':_0x46963c,'endMs':_0x57d380,'allDay':this['_isAllDayCalendarEvent'](_0x19476c,_0x49711f,_0x1790b1,_0x1810a2),'fieldValues':_0x56a120['values']}];})};}[_0x1040ac(0xe9)](_0x292fe8,_0x34ffab){const _0xa3c4af=_0x1040ac;var _0x37d28b,_0x44bf1f;let _0x1541c9=this['_resolveCalendarDateFieldId'](_0x292fe8,_0x34ffab['startDateFieldId']),_0x1af8cb=_0x34ffab['endDateFieldId']&&this[_0xa3c4af(0x352)](_0x292fe8,_0x34ffab['endDateFieldId'])?_0x34ffab[_0xa3c4af(0xfd)]:(_0x37d28b=this['_findCalendarDateFieldId'](_0x292fe8,_0x1541c9))==null?void 0x0:_0x37d28b,_0x29fe63=_0x34ffab[_0xa3c4af(0x15f)]&&_0x292fe8[_0xa3c4af(0x351)][_0x34ffab['titleFieldId']]?_0x34ffab[_0xa3c4af(0x15f)]:_0x292fe8[_0xa3c4af(0x2a0)],_0x1dc018=_0x34ffab['mode']===_0xa3c4af(0x1aa)||_0x34ffab[_0xa3c4af(0x11e)]===_0xa3c4af(0x26e)?_0x34ffab[_0xa3c4af(0x11e)]:_0xa3c4af(0x2e2),_0x3d4f56=_0x34ffab[_0xa3c4af(0x276)]===_0xa3c4af(0x133)||_0x34ffab[_0xa3c4af(0x276)]===_0xa3c4af(0x360)?_0x34ffab[_0xa3c4af(0x276)]:'medium',_0x1008c8=typeof _0x34ffab[_0xa3c4af(0x21c)]==_0xa3c4af(0x2e9)&&_0x34ffab[_0xa3c4af(0x21c)]['trim']()?_0x34ffab[_0xa3c4af(0x21c)]:_0xa3c4af(0x2c0),_0x373de7=this[_0xa3c4af(0x14f)](_0x292fe8,_0x34ffab);return{..._0x34ffab,'startDateFieldId':_0x1541c9,'endDateFieldId':_0x1af8cb,'titleFieldId':_0x29fe63,'mode':_0x1dc018,'timeslotSize':_0x3d4f56,'timeZone':_0x1008c8,'displayColor':_0x373de7,'fieldSettings':Object[_0xa3c4af(0x1fc)](Object[_0xa3c4af(0x361)]((_0x44bf1f=_0x34ffab['fieldSettings'])==null?{}:_0x44bf1f)[_0xa3c4af(0x308)](([_0x27c3dc])=>!!_0x292fe8['fields'][_0x27c3dc]))};}[_0x1040ac(0x2d2)](_0x6761cd,_0x1dcd39){const _0x510989=_0x1040ac;var _0x2b50f4,_0x25e09a;return _0x1dcd39&&this['_isCalendarDateField'](_0x6761cd,_0x1dcd39)?_0x1dcd39:(_0x2b50f4=(_0x25e09a=this[_0x510989(0x35d)](_0x6761cd))==null?_0x1dcd39:_0x25e09a)==null?'':_0x2b50f4;}[_0x1040ac(0x35d)](_0x3d2e08,_0x227f46){const _0x2aa2ea=_0x1040ac;for(let _0x42b5d7 of _0x3d2e08[_0x2aa2ea(0xce)])if(_0x42b5d7!==_0x227f46&&this[_0x2aa2ea(0x352)](_0x3d2e08,_0x42b5d7))return _0x42b5d7;return null;}['_isCalendarDateField'](_0x3b6ac8,_0x28428b){const _0x593881=_0x1040ac;let _0xda0aa0=_0x3b6ac8[_0x593881(0x351)][_0x28428b];return!!_0xda0aa0&&_0xda0aa0[_0x593881(0xd2)]===_0x406b36[_0x593881(0x107)]&&_0xda0aa0['readonly']!==!0x0&&_0xda0aa0[_0x593881(0x137)]!==!0x0&&this[_0x593881(0x36a)](_0xda0aa0)[_0x593881(0x28d)];}[_0x1040ac(0x14f)](_0x39d264,_0x429cd6){const _0x41b9b6=_0x1040ac;let _0x230707=_0x429cd6[_0x41b9b6(0x20b)];if((_0x230707==null?void 0x0:_0x230707['type'])===_0x41b9b6(0x1f6)){let _0x451a20=_0x39d264['fields'][_0x230707[_0x41b9b6(0x1d4)]];if(_0x451a20&&_0x451a20[_0x41b9b6(0xd2)]===_0x406b36[_0x41b9b6(0x1c7)])return _0x230707;}if((_0x230707==null?void 0x0:_0x230707[_0x41b9b6(0xd2)])===_0x41b9b6(0x1b6)&&typeof _0x230707[_0x41b9b6(0x2cf)]==_0x41b9b6(0x2e9)&&_0x230707[_0x41b9b6(0x2cf)][_0x41b9b6(0x1e6)]())return{'type':_0x41b9b6(0x1b6),'color':_0x230707[_0x41b9b6(0x2cf)]};if(_0x429cd6['colorFieldId']){let _0x366933=_0x39d264[_0x41b9b6(0x351)][_0x429cd6[_0x41b9b6(0x2f1)]];if(_0x366933&&_0x366933['type']===_0x406b36['SingleSelect'])return{'type':_0x41b9b6(0x1f6),'fieldId':_0x429cd6[_0x41b9b6(0x2f1)]};}return{'type':'custom','color':_0x41b9b6(0x269)};}[_0x1040ac(0xd6)](_0x1efecd,_0x1e51ab,_0x4694c5){const _0x5ac644=_0x1040ac;let _0x5b4bdc=_0x4694c5['displayColor'];if((_0x5b4bdc==null?void 0x0:_0x5b4bdc['type'])==='selectField'){var _0x257353;let _0x9af92b=_0x1efecd[_0x5ac644(0x351)][_0x5b4bdc[_0x5ac644(0x1d4)]];if(!_0x9af92b)return;let _0x11270e=_0x1e51ab[_0x5ac644(0x29d)][_0x5b4bdc[_0x5ac644(0x1d4)]],_0x1a3cae=Array['isArray'](_0x11270e)?_0x11270e[0x0]:_0x11270e;return _0x1a3cae==null||(_0x257353=J(_0x9af92b,String(_0x1a3cae)))==null?void 0x0:_0x257353['color'];}if((_0x5b4bdc==null?void 0x0:_0x5b4bdc[_0x5ac644(0xd2)])===_0x5ac644(0x1b6))return _0x5b4bdc[_0x5ac644(0x2cf)];}['_isAllDayCalendarEvent'](_0x5bfcf7,_0xb2c101,_0x4ba6c4,_0x3b0153){const _0x20b6fd=_0x1040ac;var _0x43f9cc,_0x2c34dc;let _0x1cc2c6=((_0x43f9cc=_0x5bfcf7[_0x20b6fd(0x2ed)])==null?void 0x0:_0x43f9cc[_0x20b6fd(0x36c)])===!0x0,_0x1018f9=(_0xb2c101==null||(_0x2c34dc=_0xb2c101[_0x20b6fd(0x2ed)])==null?void 0x0:_0x2c34dc[_0x20b6fd(0x36c)])===!0x0;return!_0x1cc2c6&&!_0x1018f9;}[_0x1040ac(0x1b4)](_0x796a05,_0xaf01b9){const _0x362091=_0x1040ac;var _0x5e69b3,_0x13c29b;let _0x4d3e8c=((_0x5e69b3=_0x796a05[_0x362091(0x2ed)])==null?void 0x0:_0x5e69b3[_0x362091(0x36c)])===!0x0,_0x46d071=((_0x13c29b=_0xaf01b9[_0x362091(0x2ed)])==null?void 0x0:_0x13c29b[_0x362091(0x36c)])===!0x0;return!_0x4d3e8c&&!_0x46d071;}[_0x1040ac(0x268)](_0x346737,_0x13a3f7){const _0x5d35bf=_0x1040ac;let _0x48289a=this['_normalizeGanttConfig'](_0x346737,_0x13a3f7[_0x5d35bf(0x2ed)]),_0x5a61c2=_0x346737[_0x5d35bf(0x351)][_0x48289a[_0x5d35bf(0x1a1)]];if(!_0x5a61c2||_0x5a61c2[_0x5d35bf(0xd2)]!==_0x406b36[_0x5d35bf(0x107)]||_0x5a61c2[_0x5d35bf(0x11d)]===!0x0||_0x5a61c2['system']===!0x0||!this['_capabilities'](_0x5a61c2)[_0x5d35bf(0x124)])return{'type':'invalid','viewType':_0x7d70ae['Gantt'],'reason':_0x5d35bf(0x1f9),'fieldId':_0x48289a['startDateFieldId']};let _0x28f956=_0x346737[_0x5d35bf(0x351)][_0x48289a[_0x5d35bf(0xfd)]];if(!_0x28f956||_0x28f956[_0x5d35bf(0xd2)]!==_0x406b36[_0x5d35bf(0x107)]||_0x28f956[_0x5d35bf(0x11d)]===!0x0||_0x28f956[_0x5d35bf(0x137)]===!0x0||!this['_capabilities'](_0x28f956)['usableAsGanttEnd'])return{'type':_0x5d35bf(0x203),'viewType':_0x7d70ae[_0x5d35bf(0xed)],'reason':_0x5d35bf(0x1d8),'fieldId':_0x48289a[_0x5d35bf(0xfd)]};let _0x554e6e=this[_0x5d35bf(0x1b4)](_0x5a61c2,_0x28f956),_0x3c5c56=this[_0x5d35bf(0x36b)](_0x346737,_0x13a3f7),_0x352be3=_0x3c5c56[_0x5d35bf(0x1a6)](_0x321242=>{const _0x4d4a68=_0x5d35bf;var _0x25ec43;let _0x35b3f3=N(_0x321242['values'][_0x48289a[_0x4d4a68(0x1a1)]]),_0x630476=N(_0x321242['values'][_0x48289a['endDateFieldId']]);if(!Number['isFinite'](_0x35b3f3)||!Number[_0x4d4a68(0x299)](_0x630476))return[];let _0x1d1d22=Math[_0x4d4a68(0x244)](_0x35b3f3,_0x630476),_0x2fa6a=Math['max'](_0x35b3f3,_0x630476),_0x4883da=_0x48289a[_0x4d4a68(0x2d7)]==null?void 0x0:Number(_0x321242[_0x4d4a68(0x29d)][_0x48289a[_0x4d4a68(0x2d7)]]);return[{'recordId':_0x321242[_0x4d4a68(0x158)],'title':this[_0x4d4a68(0x266)](_0x346737,_0x321242,_0x48289a['titleFieldId']),'start':_0x1d1d22,'end':_0x2fa6a,'color':this[_0x4d4a68(0x181)](_0x346737,_0x321242,_0x48289a),'progress':Number[_0x4d4a68(0x299)](_0x4883da)?_0x4883da:void 0x0,'workingDayCount':_0x48289a[_0x4d4a68(0x342)]?In(_0x1d1d22,_0x2fa6a,_0x48289a[_0x4d4a68(0x1ed)]):void 0x0,'dependencyRecordIds':this[_0x4d4a68(0xdf)](_0x321242[_0x4d4a68(0x29d)][(_0x25ec43=_0x48289a['dependencyFieldId'])==null?'':_0x25ec43])}];}),_0x4da4b6=_0x352be3[_0x5d35bf(0x1ac)]?K(Math[_0x5d35bf(0x244)](..._0x352be3[_0x5d35bf(0xb4)](_0x5c0bc2=>_0x5c0bc2[_0x5d35bf(0xc7)]))-0x5a*G):K(Date[_0x5d35bf(0x2c5)]()-0x5a*G),_0x22044e=_0x352be3[_0x5d35bf(0x1ac)]?K(Math[_0x5d35bf(0x2f7)](..._0x352be3['map'](_0x3dc47a=>_0x3dc47a[_0x5d35bf(0x23b)]))+0x5b*G):K(Date['now']()+0x5b*G),_0x324076=On(_0x48289a[_0x5d35bf(0x340)],_0x4da4b6,_0x22044e,_0x48289a[_0x5d35bf(0x342)]?_0x48289a['workingDays']:void 0x0);return{'type':_0x7d70ae[_0x5d35bf(0xed)],'fields':this[_0x5d35bf(0x219)](_0x346737,{..._0x13a3f7,'config':_0x48289a}),'rows':_0x3c5c56,'groups':this[_0x5d35bf(0x2d1)](_0x346737,_0x13a3f7,_0x3c5c56),'config':_0x48289a,'dateRangeAllDay':_0x554e6e,'timeline':{'scale':_0x48289a['scale'],'start':_0x4da4b6,'end':_0x22044e,'unitWidth':_0x324076[_0x5d35bf(0x1e0)],'majorHeaders':_0x324076[_0x5d35bf(0x283)],'columns':_0x324076[_0x5d35bf(0x1d3)]},'bars':_0x352be3};}[_0x1040ac(0x146)](_0x29f1e9,_0x3277e4){const _0x4b1fda=_0x1040ac;var _0x5510e2;let _0x452ce8=this['_resolveGanttDateFieldId'](_0x29f1e9,_0x3277e4['startDateFieldId'],_0x4b1fda(0xc7)),_0x52b4ba=this[_0x4b1fda(0x2cb)](_0x29f1e9,_0x3277e4['endDateFieldId'],_0x4b1fda(0x23b))||_0x452ce8,_0xb7dba9=_0x3277e4[_0x4b1fda(0x15f)]&&_0x29f1e9[_0x4b1fda(0x351)][_0x3277e4[_0x4b1fda(0x15f)]]?_0x3277e4[_0x4b1fda(0x15f)]:_0x29f1e9[_0x4b1fda(0x2a0)],_0x23a293=_0x3277e4[_0x4b1fda(0x340)]==='week'||_0x3277e4['scale']==='quarter'||_0x3277e4[_0x4b1fda(0x340)]==='year'?_0x3277e4[_0x4b1fda(0x340)]:_0x4b1fda(0x2e2),_0x580af8=Dn(_0x3277e4[_0x4b1fda(0x1ed)]);return{..._0x3277e4,'startDateFieldId':_0x452ce8,'endDateFieldId':_0x52b4ba,'titleFieldId':_0xb7dba9,'scale':_0x23a293,'leftPaneWidth':typeof _0x3277e4['leftPaneWidth']==_0x4b1fda(0x1f7)?_0x3277e4['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x3277e4[_0x4b1fda(0x173)]===!0x0,'showTodayLine':_0x3277e4[_0x4b1fda(0x29f)]!==!0x1,'displayColor':this[_0x4b1fda(0x2fe)](_0x29f1e9,_0x3277e4),'fieldSettings':Object[_0x4b1fda(0x1fc)](Object[_0x4b1fda(0x361)]((_0x5510e2=_0x3277e4[_0x4b1fda(0x258)])==null?{}:_0x5510e2)[_0x4b1fda(0x308)](([_0x21abe2])=>!!_0x29f1e9[_0x4b1fda(0x351)][_0x21abe2])),'workingDaysOnly':_0x3277e4['workingDaysOnly']===!0x0,'workingDays':_0x580af8};}[_0x1040ac(0x2cb)](_0x593d82,_0xb5e10b,_0xdba43d){const _0xdfcb3a=_0x1040ac;if(_0xb5e10b&&this[_0xdfcb3a(0x222)](_0x593d82,_0xb5e10b,_0xdba43d)||_0xb5e10b)return _0xb5e10b;for(let _0x26d5c1 of _0x593d82[_0xdfcb3a(0xce)])if(this[_0xdfcb3a(0x222)](_0x593d82,_0x26d5c1,_0xdba43d))return _0x26d5c1;return _0xb5e10b==null?'':_0xb5e10b;}['_isGanttDateField'](_0x6be1c9,_0x45d808,_0x2bca78){const _0x2d7bb0=_0x1040ac;let _0x41a7bf=_0x6be1c9[_0x2d7bb0(0x351)][_0x45d808];if(!_0x41a7bf||_0x41a7bf[_0x2d7bb0(0xd2)]!==_0x406b36[_0x2d7bb0(0x107)]||_0x41a7bf[_0x2d7bb0(0x11d)]===!0x0||_0x41a7bf['system']===!0x0)return!0x1;let _0x1c9097=this[_0x2d7bb0(0x36a)](_0x41a7bf);return _0x2bca78==='start'?_0x1c9097['usableAsGanttStart']:_0x1c9097[_0x2d7bb0(0x14a)];}[_0x1040ac(0x2fe)](_0x96a736,_0x475e85){const _0x1b8ed1=_0x1040ac;let _0x3e0038=_0x475e85[_0x1b8ed1(0x20b)];if((_0x3e0038==null?void 0x0:_0x3e0038['type'])===_0x1b8ed1(0x1f6)){let _0x22072d=_0x96a736['fields'][_0x3e0038['fieldId']];if(_0x22072d&&_0x22072d[_0x1b8ed1(0xd2)]===_0x406b36[_0x1b8ed1(0x1c7)])return _0x3e0038;}return(_0x3e0038==null?void 0x0:_0x3e0038[_0x1b8ed1(0xd2)])===_0x1b8ed1(0x29b)&&Array[_0x1b8ed1(0x1c5)](_0x3e0038[_0x1b8ed1(0xe8)])?{'type':_0x1b8ed1(0x29b),'rules':_0x3e0038[_0x1b8ed1(0xe8)][_0x1b8ed1(0x308)](_0x51acf1=>!!_0x96a736[_0x1b8ed1(0x351)][_0x51acf1[_0x1b8ed1(0x1d4)]])}:(_0x3e0038==null?void 0x0:_0x3e0038[_0x1b8ed1(0xd2)])===_0x1b8ed1(0x1b6)&&typeof _0x3e0038[_0x1b8ed1(0x2cf)]==_0x1b8ed1(0x2e9)&&_0x3e0038[_0x1b8ed1(0x2cf)]['trim']()?{'type':_0x1b8ed1(0x1b6),'color':_0x3e0038[_0x1b8ed1(0x2cf)]}:{'type':_0x1b8ed1(0x1b6),'color':_0x1b8ed1(0x121)};}[_0x1040ac(0x181)](_0x2eb41d,_0x36b25e,_0x5d2996){const _0x7dafe7=_0x1040ac;let _0x4a776e=_0x5d2996['displayColor'];if((_0x4a776e==null?void 0x0:_0x4a776e[_0x7dafe7(0xd2)])===_0x7dafe7(0x29b)){let _0x27694a=_0x4a776e['rules'][_0x7dafe7(0x1cc)](_0x212d52=>this[_0x7dafe7(0x19b)](_0x2eb41d,_0x36b25e,_0x212d52));if(_0x27694a)return _0x27694a[_0x7dafe7(0x2cf)];}if((_0x4a776e==null?void 0x0:_0x4a776e[_0x7dafe7(0xd2)])===_0x7dafe7(0x1f6)){let _0x54dfa1=_0x2eb41d['fields'][_0x4a776e['fieldId']];if(_0x54dfa1){var _0x1f1ffb;let _0x1d4d86=_0x36b25e[_0x7dafe7(0x29d)][_0x4a776e[_0x7dafe7(0x1d4)]],_0x214565=Array['isArray'](_0x1d4d86)?_0x1d4d86[0x0]:_0x1d4d86,_0x515015=_0x214565==null||(_0x1f1ffb=J(_0x54dfa1,String(_0x214565)))==null?void 0x0:_0x1f1ffb[_0x7dafe7(0x2cf)];if(_0x515015)return _0x515015;}}return(_0x4a776e==null?void 0x0:_0x4a776e['type'])===_0x7dafe7(0x1b6)?_0x4a776e[_0x7dafe7(0x2cf)]:_0x7dafe7(0x121);}[_0x1040ac(0x19b)](_0x4c1109,_0x52d49a,_0x116299){const _0x483b8b=_0x1040ac;let _0xb0af82=_0x4c1109['fields'][_0x116299[_0x483b8b(0x1d4)]];return _0xb0af82?ft(_0x52d49a['values'][_0xb0af82['id']],_0x116299[_0x483b8b(0x24f)],_0x116299[_0x483b8b(0x1c0)],_0xb0af82,{'dateMode':_0x116299['dateMode']}):!0x1;}['_buildGallery'](_0x217885,_0x5bcfe4){const _0x465461=_0x1040ac;var _0xa3ff96,_0xe99175,_0x932f93;let _0x40a4c3=this[_0x465461(0x36b)](_0x217885,_0x5bcfe4),_0x9b363=this['_normalizeGalleryConfig'](_0x217885,(_0xa3ff96=_0x5bcfe4['config'])==null?{}:_0xa3ff96),_0x4d9a49=this[_0x465461(0x219)](_0x217885,_0x5bcfe4);return{'type':_0x7d70ae[_0x465461(0x132)],'fields':_0x4d9a49,'rows':_0x40a4c3,'groups':this[_0x465461(0x2d1)](_0x217885,_0x5bcfe4,_0x40a4c3),'coverFieldId':_0x9b363[_0x465461(0x140)],'cardLayout':(_0xe99175=_0x9b363['cardLayout'])==null?_0x465461(0xd8):_0xe99175,'showFieldNames':_0x9b363[_0x465461(0x312)]!==!0x1,'visibleCardFieldIds':this[_0x465461(0x15b)](_0x217885,_0x5bcfe4,_0x9b363),'cardSize':(_0x932f93=_0x9b363['cardSize'])==null?_0x465461(0x130):_0x932f93,'cards':_0x40a4c3[_0x465461(0xb4)](_0x5bdc0f=>({'recordId':_0x5bdc0f[_0x465461(0x158)],'title':this[_0x465461(0x266)](_0x217885,_0x5bdc0f,_0x9b363[_0x465461(0x27f)][_0x465461(0x15f)]),'values':_0x5bdc0f[_0x465461(0x29d)]}))};}[_0x1040ac(0x245)](_0xc498f9,_0x1f8553){const _0x18d00c=_0x1040ac;var _0x5ad486,_0x650ce4;let _0x5abdf0=(_0x5ad486=_0x1f8553[_0x18d00c(0x27f)])==null?{'fieldIds':[]}:_0x5ad486,_0x113efe=_0x5abdf0[_0x18d00c(0x15f)]&&_0xc498f9['fields'][_0x5abdf0[_0x18d00c(0x15f)]]?_0x5abdf0[_0x18d00c(0x15f)]:un(_0xc498f9),_0x315f5a=this[_0x18d00c(0xab)](_0xc498f9,_0x1f8553),_0x3ea9af=_0x1f8553[_0x18d00c(0x161)]==='small'||_0x1f8553[_0x18d00c(0x161)]===_0x18d00c(0x27c)?_0x1f8553['cardSize']:_0x18d00c(0x130);return{..._0x1f8553,'coverFieldId':_0x315f5a,'cardLayout':_0x1f8553[_0x18d00c(0xa4)]===_0x18d00c(0x260)?_0x18d00c(0x260):_0x18d00c(0xd8),'showFieldNames':_0x1f8553['showFieldNames']!==!0x1,'fieldSettings':Object[_0x18d00c(0x1fc)](Object['entries']((_0x650ce4=_0x1f8553[_0x18d00c(0x258)])==null?{}:_0x650ce4)[_0x18d00c(0x308)](([_0x186a37])=>!!_0xc498f9[_0x18d00c(0x351)][_0x186a37])),'card':{..._0x5abdf0,'titleFieldId':_0x113efe,'coverFieldId':_0x315f5a,'fieldIds':Array['isArray'](_0x5abdf0[_0x18d00c(0x25d)])?_0x5abdf0[_0x18d00c(0x25d)]:[]},'cardSize':_0x3ea9af};}[_0x1040ac(0xab)](_0x188346,_0x2d35cb){const _0x31ed49=_0x1040ac;var _0x3c4798,_0x8f05a9,_0x5a340d;let _0x221d16=(_0x3c4798=(_0x8f05a9=_0x2d35cb['coverFieldId'])==null?(_0x5a340d=_0x2d35cb[_0x31ed49(0x27f)])==null?void 0x0:_0x5a340d[_0x31ed49(0x140)]:_0x8f05a9)==null?null:_0x3c4798;if(!_0x221d16)return null;let _0x43a9aa=_0x188346[_0x31ed49(0x351)][_0x221d16];return _0x43a9aa&&this[_0x31ed49(0x36a)](_0x43a9aa)[_0x31ed49(0x155)]?_0x43a9aa['id']:null;}[_0x1040ac(0x15b)](_0x2feb56,_0x2ea502,_0x543502){const _0x22cf60=_0x1040ac;var _0x99b53e,_0x32d30b,_0x34cdfc,_0xf2bb3c,_0x5de872,_0x1020b8,_0x3c3d85;let _0x37f59c=(_0x99b53e=_0x543502[_0x22cf60(0x258)])==null?{}:_0x99b53e,_0x5c31d5=(_0x32d30b=(_0x34cdfc=_0x543502[_0x22cf60(0x27f)])==null?void 0x0:_0x34cdfc[_0x22cf60(0x15f)])==null?un(_0x2feb56):_0x32d30b,_0x4c1872=(_0xf2bb3c=(_0x5de872=_0x543502[_0x22cf60(0x140)])==null?(_0x1020b8=_0x543502['card'])==null?void 0x0:_0x1020b8[_0x22cf60(0x140)]:_0x5de872)==null?null:_0xf2bb3c,_0x128e05=!((_0x3c3d85=_0x543502[_0x22cf60(0x27f)])==null||(_0x3c3d85=_0x3c3d85['fieldIds'])==null)&&_0x3c3d85['length']?_0x543502[_0x22cf60(0x27f)][_0x22cf60(0x25d)]:dn(_0x2feb56,[_0x5c31d5,_0x4c1872,_0x2feb56[_0x22cf60(0x2a0)]]);return _0x128e05[_0x22cf60(0x308)](_0x4ac6f5=>{const _0x52dfec=_0x22cf60;var _0x27bfc9,_0xdb1423;let _0x550029=_0x2feb56[_0x52dfec(0x351)][_0x4ac6f5];return!(!_0x550029||_0x550029['id']===_0x5c31d5||_0x550029['id']===_0x4c1872||!((_0x27bfc9=_0x2ea502[_0x52dfec(0x258)])==null||(_0x27bfc9=_0x27bfc9[_0x4ac6f5])==null)&&_0x27bfc9[_0x52dfec(0x1a2)]||(_0xdb1423=_0x37f59c[_0x4ac6f5])!=null&&_0xdb1423[_0x52dfec(0x1a2)]);})[_0x22cf60(0x127)]((_0x283653,_0x58c956)=>{const _0x1b007e=_0x22cf60;var _0x411aaf,_0x36938e,_0x38d939,_0x2fc240;return((_0x411aaf=(_0x36938e=_0x37f59c[_0x283653])==null?void 0x0:_0x36938e[_0x1b007e(0x1eb)])==null?_0x128e05['indexOf'](_0x283653):_0x411aaf)-((_0x38d939=(_0x2fc240=_0x37f59c[_0x58c956])==null?void 0x0:_0x2fc240[_0x1b007e(0x1eb)])==null?_0x128e05[_0x1b007e(0x28a)](_0x58c956):_0x38d939);});}[_0x1040ac(0x219)](_0x4fcb50,_0x49aa84){const _0x518f3e=_0x1040ac;var _0xfc5e06;return((_0xfc5e06=_0x49aa84[_0x518f3e(0xce)])!=null&&_0xfc5e06[_0x518f3e(0x1ac)]?_0x49aa84['fieldOrder']:_0x4fcb50[_0x518f3e(0xce)])[_0x518f3e(0x1a6)](_0x124ad=>{const _0x2b5e75=_0x518f3e;var _0x44241a,_0xb01414;let _0x591d48=_0x4fcb50['fields'][_0x124ad],_0x3fd5f2=(_0x44241a=(_0xb01414=_0x49aa84[_0x2b5e75(0x258)])==null?void 0x0:_0xb01414[_0x124ad])==null?{}:_0x44241a;return!_0x591d48||_0x3fd5f2[_0x2b5e75(0x1a2)]?[]:[{'id':_0x591d48['id'],'name':_0x591d48[_0x2b5e75(0x27a)],'description':_0x591d48[_0x2b5e75(0x13f)],'type':_0x591d48[_0x2b5e75(0xd2)],'config':_0x591d48[_0x2b5e75(0x2ed)],'width':_0x3fd5f2[_0x2b5e75(0x12a)],'setting':_0x3fd5f2}];});}[_0x1040ac(0x36b)](_0x57dda8,_0x2c215a){const _0x3b3b76=_0x1040ac;var _0x324b2e,_0x18d43e,_0x59fffc;return T(_0x3b3b76(0x303),()=>{const _0x37bfeb=_0x3b3b76;var _0x2aba74,_0x24705f,_0x59e46b,_0x24bf97;let _0x39ce63=this['_projectTableRows'](_0x57dda8),_0x9ce84=this['_viewRowsCacheKey'](_0x57dda8['id'],_0x2c215a),_0x135db2=this['_getCellRevision'](_0x57dda8['id']),_0xa5c670=this[_0x37bfeb(0x198)][_0x37bfeb(0x370)](_0x9ce84);if(_0xa5c670&&_0xa5c670[_0x37bfeb(0x316)]===this[_0x37bfeb(0x31b)]&&_0xa5c670['tableRevision']===this[_0x37bfeb(0x26c)](_0x57dda8['id'])){if(_0xa5c670[_0x37bfeb(0x292)]===_0x135db2&&_0xa5c670[_0x37bfeb(0x295)]===_0x39ce63)return _0xa5c670['rows'];if(_0xa5c670[_0x37bfeb(0x292)]!==_0x135db2&&!this['_cellInvalidationsTouchFields'](_0x57dda8['id'],_0xa5c670[_0x37bfeb(0x292)],_0x135db2,this['_filterSortFieldIds'](_0x2c215a))){let _0x1faf19=_0xa5c670['rows']===_0xa5c670[_0x37bfeb(0x295)]?_0x39ce63:this[_0x37bfeb(0x319)](_0xa5c670[_0x37bfeb(0xe4)],_0x39ce63);if(_0x1faf19)return this[_0x37bfeb(0x198)][_0x37bfeb(0xdc)](_0x9ce84,{..._0xa5c670,'rows':_0x1faf19,'baseRows':_0x39ce63,'cellRevision':_0x135db2}),_0x1faf19;}}let _0x7508ec=T(_0x37bfeb(0x2d0),()=>this[_0x37bfeb(0x2ca)](_0x57dda8,_0x2c215a,this['_filterRows'](_0x57dda8,_0x2c215a,_0x39ce63)),{'tableId':_0x57dda8['id'],'viewId':_0x2c215a==null?void 0x0:_0x2c215a['id'],'viewType':_0x2c215a==null?void 0x0:_0x2c215a[_0x37bfeb(0xd2)],'rows':_0x39ce63[_0x37bfeb(0x1ac)],'filters':(_0x2aba74=_0x2c215a==null||(_0x24705f=_0x2c215a[_0x37bfeb(0x308)])==null?void 0x0:_0x24705f[_0x37bfeb(0x31d)][_0x37bfeb(0x1ac)])==null?0x0:_0x2aba74,'sorts':(_0x59e46b=_0x2c215a==null||(_0x24bf97=_0x2c215a['sort'])==null?void 0x0:_0x24bf97[_0x37bfeb(0x1ac)])==null?0x0:_0x59e46b});return this['_projectedViewRowsCache'][_0x37bfeb(0xdc)](_0x9ce84,{'table':_0x57dda8,'rows':_0x7508ec,'baseRows':_0x39ce63,'globalRevision':this[_0x37bfeb(0x31b)],'tableRevision':this[_0x37bfeb(0x26c)](_0x57dda8['id']),'cellRevision':_0x135db2}),_0x7508ec;},{'tableId':_0x57dda8['id'],'viewId':_0x2c215a==null?void 0x0:_0x2c215a['id'],'viewType':_0x2c215a==null?void 0x0:_0x2c215a[_0x3b3b76(0xd2)],'records':(_0x324b2e=(_0x18d43e=_0x57dda8[_0x3b3b76(0x218)])==null?void 0x0:_0x18d43e['length'])==null?Object['keys']((_0x59fffc=_0x57dda8[_0x3b3b76(0x1fa)])==null?{}:_0x59fffc)['length']:_0x324b2e});}[_0x1040ac(0x12e)](_0x24949c){const _0x2beb64=_0x1040ac;var _0x474a5d,_0x1c6b9b,_0x1384be;return T(_0x2beb64(0xb6),()=>{const _0xcb0e02=_0x2beb64;var _0x347045;let _0xe4dacf=this[_0xcb0e02(0x1ab)](_0x24949c['id']),_0x5d81b9=this['_projectedRowsCache'][_0xcb0e02(0x370)](_0x24949c['id']);if(_0x5d81b9&&_0x5d81b9['globalRevision']===this[_0xcb0e02(0x31b)]&&_0x5d81b9[_0xcb0e02(0xf6)]===this[_0xcb0e02(0x26c)](_0x24949c['id'])){if(_0x5d81b9[_0xcb0e02(0x292)]===_0xe4dacf&&_0x5d81b9[_0xcb0e02(0x2fc)]===_0x24949c)return _0x5d81b9[_0xcb0e02(0xe4)];let _0x50b4cf=this[_0xcb0e02(0x323)](_0x24949c,_0x5d81b9,_0xe4dacf);if(_0x50b4cf)return _0x50b4cf;}Sn(_0x24949c)||E(_0x24949c);let _0x29a9a5=(_0x347045=_0x24949c[_0xcb0e02(0x218)])!=null&&_0x347045['length']?_0x24949c[_0xcb0e02(0x218)]:En(_0x24949c[_0xcb0e02(0x1fa)]),_0x28733e=T('BaseProjection.materializeTableRows',()=>{const _0x2b96b3=_0xcb0e02;let _0x47863d=[];for(let _0x32ac67 of _0x29a9a5){let _0x56bf9c=_0x24949c['records'][_0x32ac67];if(!_0x56bf9c)continue;let _0x208c49={};for(let _0x2c6c1f of _0x24949c[_0x2b96b3(0xce)])_0x208c49[_0x2c6c1f]=Ee(_0x24949c,_0x56bf9c['id'],_0x2c6c1f);_0x47863d[_0x2b96b3(0x143)]({'recordId':_0x56bf9c['id'],'values':_0x208c49});}return _0x47863d;},{'tableId':_0x24949c['id'],'records':_0x29a9a5['length'],'fields':_0x24949c['fieldOrder'][_0xcb0e02(0x1ac)]});return this['_projectedRowsCache'][_0xcb0e02(0xdc)](_0x24949c['id'],{'table':_0x24949c,'rows':_0x28733e,'rowIndexById':xn(_0x28733e),'globalRevision':this['_globalRevision'],'tableRevision':this[_0xcb0e02(0x26c)](_0x24949c['id']),'cellRevision':_0xe4dacf}),_0x28733e;},{'tableId':_0x24949c['id'],'records':(_0x474a5d=(_0x1c6b9b=_0x24949c['recordOrder'])==null?void 0x0:_0x1c6b9b['length'])==null?Object[_0x2beb64(0x1d0)]((_0x1384be=_0x24949c[_0x2beb64(0x1fa)])==null?{}:_0x1384be)[_0x2beb64(0x1ac)]:_0x474a5d,'fields':_0x24949c[_0x2beb64(0xce)][_0x2beb64(0x1ac)]});}[_0x1040ac(0x323)](_0xdc67da,_0x56dd80,_0x2d1265){const _0xfbcb70=_0x1040ac;var _0x232668,_0x2d881b;let _0x2eae4b=((_0x232668=this[_0xfbcb70(0x2e0)][_0xfbcb70(0x370)](_0xdc67da['id']))==null?[]:_0x232668)[_0xfbcb70(0x308)](_0x293db8=>_0x293db8[_0xfbcb70(0x2a3)]>_0x56dd80[_0xfbcb70(0x292)]&&_0x293db8[_0xfbcb70(0x2a3)]<=_0x2d1265);if(!_0x2eae4b['length'])return _0x56dd80[_0xfbcb70(0x2fc)]===_0xdc67da?_0x56dd80[_0xfbcb70(0xe4)]:null;let _0x515513=_0x56dd80[_0xfbcb70(0xe4)],_0xecebeb=new Map();for(let _0x7b6121 of _0x2eae4b){let _0x6aa70d=_0xecebeb['get'](_0x7b6121[_0xfbcb70(0x158)]);_0x6aa70d||(_0x6aa70d=new Set(),_0xecebeb['set'](_0x7b6121[_0xfbcb70(0x158)],_0x6aa70d)),_0x6aa70d[_0xfbcb70(0xaa)](_0x7b6121[_0xfbcb70(0x1d4)]);}for(let [_0x2970b9,_0x2d8455]of _0xecebeb){if(!_0xdc67da[_0xfbcb70(0x1fa)][_0x2970b9])return null;let _0x5388a1=_0x56dd80[_0xfbcb70(0x10f)]['get'](_0x2970b9);if(_0x5388a1==null)return null;_0x515513===_0x56dd80[_0xfbcb70(0xe4)]&&(_0x515513=[..._0x56dd80[_0xfbcb70(0xe4)]]);let _0x4ef91b=_0x515513[_0x5388a1],_0x3a8a0a={..._0x4ef91b[_0xfbcb70(0x29d)]};_0x2d8455[_0xfbcb70(0x2d3)](_0x1a8783=>{_0x3a8a0a[_0x1a8783]=Ee(_0xdc67da,_0x2970b9,_0x1a8783);}),_0x515513[_0x5388a1]={..._0x4ef91b,'values':_0x3a8a0a};}let _0x1ef117={'table':_0xdc67da,'rows':_0x515513,'rowIndexById':_0x56dd80[_0xfbcb70(0x10f)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0xfbcb70(0x26c)](_0xdc67da['id']),'cellRevision':_0x2d1265};return this[_0xfbcb70(0x29c)][_0xfbcb70(0xdc)](_0xdc67da['id'],_0x1ef117),this[_0xfbcb70(0x2e0)][_0xfbcb70(0xdc)](_0xdc67da['id'],((_0x2d881b=this[_0xfbcb70(0x2e0)][_0xfbcb70(0x370)](_0xdc67da['id']))==null?[]:_0x2d881b)[_0xfbcb70(0x308)](_0x23fe62=>_0x23fe62[_0xfbcb70(0x2a3)]>Math[_0xfbcb70(0x2f7)](0x0,_0x2d1265-0x100))),_0x515513;}[_0x1040ac(0x319)](_0x55dbe4,_0x5d8747){const _0x576dfe=_0x1040ac;let _0x15ab42=new Map(_0x5d8747['map'](_0x369ead=>[_0x369ead[_0x576dfe(0x158)],_0x369ead])),_0x35e04d=!0x1,_0x58c468=_0x55dbe4[_0x576dfe(0xb4)](_0x1b325d=>{const _0x3ebee=_0x576dfe;let _0x30604f=_0x15ab42[_0x3ebee(0x370)](_0x1b325d[_0x3ebee(0x158)]);return _0x30604f?_0x30604f===_0x1b325d?_0x1b325d:(_0x35e04d=!0x0,_0x30604f):_0x1b325d;});return _0x35e04d?_0x58c468:_0x55dbe4;}['_cellInvalidationsTouchFields'](_0xd8f96f,_0x2c18e9,_0x2b6945,_0x23482c){const _0x1f7e22=_0x1040ac;var _0x1c4532;return!_0x23482c[_0x1f7e22(0x1df)]||_0x2c18e9===_0x2b6945?!0x1:_0x2b6945-_0x2c18e9>0x100?!0x0:((_0x1c4532=this[_0x1f7e22(0x2e0)][_0x1f7e22(0x370)](_0xd8f96f))==null?[]:_0x1c4532)['some'](_0x40db40=>_0x40db40[_0x1f7e22(0x2a3)]>_0x2c18e9&&_0x40db40['revision']<=_0x2b6945&&_0x23482c[_0x1f7e22(0x31e)](_0x40db40[_0x1f7e22(0x1d4)]));}[_0x1040ac(0x2b4)](_0x50b379){const _0x2fac40=_0x1040ac;var _0x811ae3,_0x4260d4;let _0x4f7e89=new Set();return _0x50b379==null||(_0x811ae3=_0x50b379[_0x2fac40(0x308)])==null||_0x811ae3[_0x2fac40(0x31d)]['forEach'](_0x364af8=>_0x4f7e89[_0x2fac40(0xaa)](_0x364af8[_0x2fac40(0x1d4)])),_0x50b379==null||(_0x4260d4=_0x50b379[_0x2fac40(0x127)])==null||_0x4260d4[_0x2fac40(0x2d3)](_0x156d7e=>_0x4f7e89[_0x2fac40(0xaa)](_0x156d7e[_0x2fac40(0x1d4)])),_0x4f7e89;}[_0x1040ac(0x363)](_0x352f8f){const _0x242a7b=_0x1040ac;var _0x31dfda;let _0x2a867=this[_0x242a7b(0x2b4)](_0x352f8f);return(_0x31dfda=_0x352f8f[_0x242a7b(0x1d1)])==null||_0x31dfda['forEach'](_0xab7ba1=>_0x2a867[_0x242a7b(0xaa)](_0xab7ba1[_0x242a7b(0x1d4)])),_0x2a867;}['_filterRows'](_0x322275,_0x350f92,_0x24dc3d){const _0x2a0a65=_0x1040ac;let _0x47914f=_0x350f92==null?void 0x0:_0x350f92[_0x2a0a65(0x308)];if(!(_0x47914f!=null&&_0x47914f[_0x2a0a65(0x31d)]['length']))return _0x24dc3d;let _0x3f9ca7=_0x47914f[_0x2a0a65(0x31d)][_0x2a0a65(0x308)](_0x3b784f=>!Kn(_0x3b784f));return _0x3f9ca7[_0x2a0a65(0x1ac)]?_0x24dc3d['filter'](_0x7d9388=>{const _0x3ea7f8=_0x2a0a65;if(_0x47914f['conjunction']===_0x41d0c1['OR']){for(let _0x2e2587 of _0x3f9ca7){let _0x314f5a=_0x322275[_0x3ea7f8(0x351)][_0x2e2587[_0x3ea7f8(0x1d4)]];if(!_0x314f5a||this['_fieldRegistry'][_0x3ea7f8(0x370)](_0x314f5a[_0x3ea7f8(0xd2)])[_0x3ea7f8(0x308)](_0x7d9388[_0x3ea7f8(0x29d)][_0x314f5a['id']],_0x2e2587[_0x3ea7f8(0x24f)],_0x2e2587[_0x3ea7f8(0x1c0)],_0x314f5a))return!0x0;}return!0x1;}for(let _0x5bd766 of _0x3f9ca7){let _0x970950=_0x322275[_0x3ea7f8(0x351)][_0x5bd766[_0x3ea7f8(0x1d4)]];if(_0x970950&&!this[_0x3ea7f8(0x32b)][_0x3ea7f8(0x370)](_0x970950[_0x3ea7f8(0xd2)])[_0x3ea7f8(0x308)](_0x7d9388[_0x3ea7f8(0x29d)][_0x970950['id']],_0x5bd766[_0x3ea7f8(0x24f)],_0x5bd766[_0x3ea7f8(0x1c0)],_0x970950))return!0x1;}return!0x0;}):_0x24dc3d;}['_sortRows'](_0x2671e7,_0x1d91e4,_0x26683a){const _0x2dc26b=_0x1040ac;var _0x4cd5cd;let _0x4bb07d=(_0x4cd5cd=_0x1d91e4==null?void 0x0:_0x1d91e4[_0x2dc26b(0x127)])==null?[]:_0x4cd5cd;if(!_0x4bb07d['length'])return _0x26683a;let _0x478c1d=_0x4bb07d['flatMap'](_0x579dbf=>{const _0x38dc46=_0x2dc26b;let _0x2179e1=_0x2671e7[_0x38dc46(0x351)][_0x579dbf['fieldId']];return _0x2179e1?[{..._0x579dbf,'field':_0x2179e1}]:[];});return _0x478c1d[_0x2dc26b(0x1ac)]?this[_0x2dc26b(0x311)](_0x478c1d)?this[_0x2dc26b(0x2a4)](_0x478c1d,_0x26683a):[..._0x26683a][_0x2dc26b(0x127)]((_0x5b9cef,_0x276b97)=>{const _0x4f6f47=_0x2dc26b;for(let _0x4ade00 of _0x478c1d){let _0x2e8747=_0x4ade00[_0x4f6f47(0x16b)],_0x26277d=this[_0x4f6f47(0x32b)][_0x4f6f47(0x370)](_0x2e8747[_0x4f6f47(0xd2)])['compare'](_0x5b9cef[_0x4f6f47(0x29d)][_0x2e8747['id']],_0x276b97[_0x4f6f47(0x29d)][_0x2e8747['id']],_0x2e8747);if(_0x26277d!==0x0)return _0x4ade00[_0x4f6f47(0x17c)]===_0x449492['DESC']?-_0x26277d:_0x26277d;}return 0x0;}):_0x26683a;}[_0x1040ac(0x311)](_0x1ae597){const _0x237009=_0x1040ac;return _0x1ae597[_0x237009(0xb1)](_0x1005e9=>vn[_0x237009(0x31e)](_0x1005e9[_0x237009(0x16b)][_0x237009(0xd2)]));}[_0x1040ac(0x2a4)](_0x60154e,_0x58084e){const _0x3a88ca=_0x1040ac;return _0x58084e[_0x3a88ca(0xb4)]((_0xf3ce5e,_0x541592)=>({'row':_0xf3ce5e,'index':_0x541592,'keys':_0x60154e[_0x3a88ca(0xb4)](_0x240326=>_0xf3ce5e['values'][_0x240326[_0x3a88ca(0x1d4)]])}))['sort']((_0x45bbe3,_0x260219)=>{const _0x330062=_0x3a88ca;for(let _0x2f346b=0x0;_0x2f346b<_0x60154e[_0x330062(0x1ac)];_0x2f346b++){let _0x4f1cd4=Gn(_0x45bbe3[_0x330062(0x1d0)][_0x2f346b],_0x260219['keys'][_0x2f346b]);if(_0x4f1cd4!==0x0)return _0x60154e[_0x2f346b][_0x330062(0x17c)]===_0x449492[_0x330062(0x14d)]?-_0x4f1cd4:_0x4f1cd4;}return _0x45bbe3[_0x330062(0x314)]-_0x260219[_0x330062(0x314)];})[_0x3a88ca(0xb4)](_0x3c04c1=>_0x3c04c1[_0x3a88ca(0x231)]);}[_0x1040ac(0x2d1)](_0xadfbb5,_0x1304b5,_0x154ea0){const _0x187868=_0x1040ac;var _0x3cb002,_0x4a5294;return T(_0x187868(0x22d),()=>{const _0x54993e=_0x187868;var _0xa9830;if(!((_0xa9830=_0x1304b5[_0x54993e(0x1d1)])!=null&&_0xa9830[_0x54993e(0x1ac)]))return[];let _0x10bd5d=_0x1304b5[_0x54993e(0x1d1)]['filter'](_0x5c349c=>_0xadfbb5['fields'][_0x5c349c[_0x54993e(0x1d4)]]);if(!_0x10bd5d[_0x54993e(0x1ac)])return[];let _0x20cd6f=this[_0x54993e(0x2e5)](_0xadfbb5['id'],_0x1304b5,_0x10bd5d),_0x3ed4ff=this[_0x54993e(0x1ab)](_0xadfbb5['id']),_0xb09363=this[_0x54993e(0x241)][_0x54993e(0x370)](_0x20cd6f);if(_0xb09363&&_0xb09363['globalRevision']===this[_0x54993e(0x31b)]&&_0xb09363[_0x54993e(0xf6)]===this['_getTableRevision'](_0xadfbb5['id'])){if(_0xb09363[_0x54993e(0x292)]===_0x3ed4ff&&_0xb09363['rows']===_0x154ea0)return _0xb09363[_0x54993e(0x344)];if(_0xb09363[_0x54993e(0x292)]!==_0x3ed4ff&&!this['_cellInvalidationsTouchFields'](_0xadfbb5['id'],_0xb09363[_0x54993e(0x292)],_0x3ed4ff,this[_0x54993e(0x363)](_0x1304b5)))return this['_projectedGroupsCache'][_0x54993e(0xdc)](_0x20cd6f,{..._0xb09363,'rows':_0x154ea0,'cellRevision':_0x3ed4ff}),_0xb09363['groups'];}let _0xe287d=new Map();for(let _0x5a0361 of _0x154ea0){let _0x5757cb=_0xe287d,_0x4b8554='';for(let _0x27d8f3=0x0;_0x27d8f3<_0x10bd5d[_0x54993e(0x1ac)];_0x27d8f3++){let _0x1c5d71=_0x10bd5d[_0x27d8f3],_0x1f2206=_0x5a0361[_0x54993e(0x29d)][_0x1c5d71['fieldId']],_0x1b7dbe=bn(_0x1f2206),_0x2339a2=_0x1c5d71['fieldId']+'\x00'+_0x1b7dbe,_0x55abe4=_0x4b8554+'/'+_0x1c5d71[_0x54993e(0x1d4)]+':'+_0x1b7dbe,_0x4c24ae=_0x5757cb[_0x54993e(0x370)](_0x2339a2);_0x4c24ae||(_0x4c24ae={'key':_0x1b7dbe,'value':_0x1f2206,'path':_0x55abe4,'label':_0x1b7dbe||'Empty','fieldId':_0x1c5d71[_0x54993e(0x1d4)],'level':_0x27d8f3,'recordIds':[],'children':new Map()},_0x5757cb['set'](_0x2339a2,_0x4c24ae)),_0x4c24ae[_0x54993e(0x1b9)]['push'](_0x5a0361[_0x54993e(0x158)]),_0x5757cb=_0x4c24ae['children'],_0x4b8554=_0x55abe4;}}let _0x5884ca=this['_materializeGroups'](_0x10bd5d,_0xe287d,0x0);return this['_projectedGroupsCache'][_0x54993e(0xdc)](_0x20cd6f,{'table':_0xadfbb5,'rows':_0x154ea0,'groups':_0x5884ca,'globalRevision':this[_0x54993e(0x31b)],'tableRevision':this['_getTableRevision'](_0xadfbb5['id']),'cellRevision':_0x3ed4ff}),_0x5884ca;},{'tableId':_0xadfbb5['id'],'viewId':_0x1304b5['id'],'viewType':_0x1304b5[_0x187868(0xd2)],'rows':_0x154ea0[_0x187868(0x1ac)],'groupFields':(_0x3cb002=(_0x4a5294=_0x1304b5[_0x187868(0x1d1)])==null?void 0x0:_0x4a5294[_0x187868(0x1ac)])==null?0x0:_0x3cb002});}['_materializeGroups'](_0x174c70,_0x23b37d,_0x124782){const _0xe6e463=_0x1040ac;var _0x417bea;let _0x206004=Array[_0xe6e463(0x136)](_0x23b37d[_0xe6e463(0x29d)]()),_0x4cdb19=(_0x417bea=_0x174c70[_0x124782])==null?void 0x0:_0x417bea[_0xe6e463(0x17c)];return _0x4cdb19&&_0x206004[_0xe6e463(0x127)]((_0x34aaf9,_0x22c108)=>{const _0x1edffc=_0xe6e463;let _0x280ec3=_0x34aaf9[_0x1edffc(0x2c8)][_0x1edffc(0x31c)](_0x22c108[_0x1edffc(0x2c8)]);return _0x4cdb19===_0x449492[_0x1edffc(0x14d)]?-_0x280ec3:_0x280ec3;}),_0x206004['map'](_0x32aed8=>({'key':_0x32aed8[_0xe6e463(0x2c8)],'value':_0x32aed8[_0xe6e463(0x11a)],'path':_0x32aed8[_0xe6e463(0xf5)],'label':_0x32aed8[_0xe6e463(0xf1)],'fieldId':_0x32aed8['fieldId'],'level':_0x32aed8[_0xe6e463(0x2e3)],'recordIds':_0x32aed8[_0xe6e463(0x1b9)],'children':this[_0xe6e463(0x16a)](_0x174c70,_0x32aed8[_0xe6e463(0xd7)],_0x124782+0x1)}));}[_0x1040ac(0x266)](_0x5b04b3,_0x59cb4e,_0x2e3b7f){const _0xcef5e5=_0x1040ac;let _0x195337=_0x2e3b7f==null?_0x5b04b3[_0xcef5e5(0x2a0)]:_0x2e3b7f,_0x165f85=_0x59cb4e[_0xcef5e5(0x29d)][_0x195337];return _0x165f85==null?'':String(_0x165f85);}[_0x1040ac(0xdf)](_0x2efee9){const _0x190264=_0x1040ac;if(Array[_0x190264(0x1c5)](_0x2efee9))return _0x2efee9['map'](String);if(typeof _0x2efee9==_0x190264(0x2e9)&&_0x2efee9)return[_0x2efee9];}[_0x1040ac(0x36a)](_0x10ad45){const _0x4e8021=_0x1040ac;return this[_0x4e8021(0x32b)]['get'](_0x10ad45['type'])[_0x4e8021(0x297)](_0x10ad45);}};yn=U([H(0x0,_0x43d182(en))],yn);function bn(_0x26cdab){return _0x26cdab==null?'':String(_0x26cdab);}function xn(_0x2e19ad){const _0x2c9842=_0x1040ac;return new Map(_0x2e19ad[_0x2c9842(0xb4)]((_0x227640,_0x47214a)=>[_0x227640['recordId'],_0x47214a]));}function Sn(_0x242f19){const _0x438534=_0x1040ac;return!!(Array[_0x438534(0x1c5)](_0x242f19[_0x438534(0x218)])&&_0x242f19['rowIndex']&&_0x242f19[_0x438534(0x247)]&&_0x242f19[_0x438534(0x193)]&&_0x242f19[_0x438534(0x2fa)]&&_0x242f19[_0x438534(0x184)]);}function Cn(_0x52d15a){const _0x285797=_0x1040ac;return _0x52d15a!=null&&_0x52d15a[_0x285797(0x31d)][_0x285797(0x1ac)]?{'conjunction':_0x52d15a[_0x285797(0xfe)],'conditions':_0x52d15a[_0x285797(0x31d)][_0x285797(0xb4)](_0x394a2a=>({'fieldId':_0x394a2a[_0x285797(0x1d4)],'operator':_0x394a2a[_0x285797(0x24f)],'operand':_0x394a2a[_0x285797(0x1c0)]}))}:null;}function wn(_0x11d3e7){const _0x166d0b=_0x1040ac;return _0x11d3e7!=null&&_0x11d3e7[_0x166d0b(0x1ac)]?_0x11d3e7[_0x166d0b(0xb4)](_0x51270e=>({'fieldId':_0x51270e[_0x166d0b(0x1d4)],'direction':_0x51270e[_0x166d0b(0x17c)]})):null;}function Tn(_0x3ce9b2){const _0x3297fb=_0x1040ac;if(typeof _0x3ce9b2!=_0x3297fb(0x101)||!_0x3ce9b2){var _0x5e0295;return(_0x5e0295=JSON[_0x3297fb(0x1dc)](_0x3ce9b2))==null?_0x3297fb(0x122):_0x5e0295;}if(Array[_0x3297fb(0x1c5)](_0x3ce9b2))return'['+_0x3ce9b2[_0x3297fb(0xb4)](Tn)[_0x3297fb(0x134)](',')+']';let _0x202994=_0x3ce9b2;return'{'+Object[_0x3297fb(0x1d0)](_0x202994)[_0x3297fb(0x127)]()[_0x3297fb(0xb4)](_0x25bddb=>JSON[_0x3297fb(0x1dc)](_0x25bddb)+':'+Tn(_0x202994[_0x25bddb]))[_0x3297fb(0x134)](',')+'}';}function En(_0x5cdf1f){const _0x45b09c=_0x1040ac;let _0x3d6fcd=Object['values'](_0x5cdf1f)[_0x45b09c(0x127)]((_0x1ce11c,_0x493d03)=>_0x1ce11c['orderKey'][_0x45b09c(0x31c)](_0x493d03[_0x45b09c(0x1a0)])),_0x24bce0=[];for(let _0x2d3f30 of _0x3d6fcd)_0x24bce0[_0x45b09c(0x143)](_0x2d3f30['id']);return _0x24bce0;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x1a6d4e){const _0x3c6810=_0x1040ac;return{'weekdays':Array[_0x3c6810(0x1c5)](_0x1a6d4e==null?void 0x0:_0x1a6d4e[_0x3c6810(0x2eb)])&&_0x1a6d4e[_0x3c6810(0x2eb)][_0x3c6810(0x1ac)]?[...new Set(_0x1a6d4e[_0x3c6810(0x2eb)][_0x3c6810(0x308)](_0x455187=>Number[_0x3c6810(0x10c)](_0x455187)&&_0x455187>=0x1&&_0x455187<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x1a6d4e==null?void 0x0:_0x1a6d4e[_0x3c6810(0x177)])?_0x1a6d4e[_0x3c6810(0x177)][_0x3c6810(0x1a6)](_0x5ef621=>!_0x5ef621||!Number[_0x3c6810(0x299)](_0x5ef621[_0x3c6810(0x216)])?[]:[{'id':String(_0x5ef621['id']||_0x3c6810(0x1f4)+_0x5ef621[_0x3c6810(0x216)]),'date':K(Number(_0x5ef621[_0x3c6810(0x216)])),'name':String(_0x5ef621[_0x3c6810(0x27a)]||_0x3c6810(0x110)),'type':_0x5ef621[_0x3c6810(0xd2)]===_0x3c6810(0xf9)?_0x3c6810(0xf9):_0x3c6810(0x2d8)}]):[]};}function On(_0x2358e5,_0x2cbd1c,_0x32a28b,_0x5187d1){let _0x341783=Mn(_0x2358e5,_0x2cbd1c),_0x457951=Nn(_0x2358e5,_0x32a28b),_0x2da773=kn(_0x2358e5,_0x341783,_0x457951,_0x5187d1);return{'scale':_0x2358e5,'start':_0x341783,'end':_0x457951,'unitWidth':jn(_0x2358e5),'majorHeaders':An(_0x2358e5,_0x341783,_0x457951),'columns':_0x2da773};}function kn(_0x51cbfa,_0xf46bde,_0x4e8103,_0x199374){const _0x8ea76b=_0x1040ac;let _0x1d432a=[],_0x5c70eb=_0xf46bde;for(;_0x5c70eb<_0x4e8103;){let _0x5aa6d8=_0x51cbfa===_0x8ea76b(0x252)?q(_0x5c70eb,0x7):_0x51cbfa===_0x8ea76b(0xc4)?Hn(_0x5c70eb,0x1):q(_0x5c70eb,0x1);_0x1d432a[_0x8ea76b(0x143)]({'id':_0x51cbfa+'-'+_0x5c70eb,'label':Pn(_0x51cbfa,_0x5c70eb,_0x5aa6d8),'majorLabel':Fn(_0x51cbfa,_0x5c70eb),'start':_0x5c70eb,'end':_0x5aa6d8,'nonWorking':Ln(_0x5c70eb,_0x5aa6d8,_0x199374)}),_0x5c70eb=_0x5aa6d8;}return _0x1d432a;}function An(_0x18b2f9,_0x19a57d,_0x2c4418){const _0x1d0f3d=_0x1040ac;let _0x46ec54=[],_0x2b30cd=_0x18b2f9===_0x1d0f3d(0xc4)?Vn(_0x19a57d):Bn(_0x19a57d);for(;_0x2b30cd<_0x2c4418;){let _0x199605=_0x18b2f9===_0x1d0f3d(0xc4)?Un(_0x2b30cd,0x1):Hn(_0x2b30cd,0x1);_0x46ec54['push']({'id':_0x1d0f3d(0x35b)+_0x2b30cd,'label':_0x18b2f9===_0x1d0f3d(0xc4)?String(new Date(_0x2b30cd)[_0x1d0f3d(0x229)]()):Wn(_0x2b30cd),'start':_0x2b30cd,'end':_0x199605}),_0x2b30cd=_0x199605;}return _0x46ec54;}function jn(_0x2ee7c5){const _0x51fabd=_0x1040ac;switch(_0x2ee7c5){case _0x51fabd(0x26e):return 0xac;case _0x51fabd(0x252):return 0xac;case _0x51fabd(0xc4):return 0x88;default:return 0x56;}}function Mn(_0x4aef27,_0x361597){const _0x46fa2d=_0x1040ac;return _0x4aef27===_0x46fa2d(0xc4)?Vn(_0x361597):_0x4aef27==='quarter'?zn(_0x361597):K(_0x361597);}function Nn(_0x5e82b0,_0x57d601){const _0x4a81bc=_0x1040ac;return _0x5e82b0===_0x4a81bc(0xc4)?Un(Vn(_0x57d601),0x1):_0x5e82b0===_0x4a81bc(0x252)?q(zn(_0x57d601),0x7):q(K(_0x57d601),0x1);}function Pn(_0x205a1f,_0x1f013c,_0x441f80){const _0x40557e=_0x1040ac;let _0x10927f=new Date(_0x1f013c);return _0x205a1f===_0x40557e(0x252)?_0x10927f[_0x40557e(0x2e4)]()+'-'+new Date(_0x441f80-G)['getUTCDate']():_0x205a1f===_0x40557e(0xc4)?_0x10927f[_0x40557e(0x2a8)](_0x40557e(0xc9),{'month':'short','timeZone':_0x40557e(0x1f8)}):String(_0x10927f['getUTCDate']());}function Fn(_0x4e92e7,_0xeac4a0){const _0x4c02ff=_0x1040ac;return _0x4e92e7===_0x4c02ff(0xc4)?String(new Date(_0xeac4a0)['getUTCFullYear']()):Wn(_0xeac4a0);}function In(_0x5221d5,_0x280409,_0x37f864){let _0x397730=Dn(_0x37f864),_0x4d9e99=0x0;for(let _0x25f10f=K(_0x5221d5);_0x25f10f<=K(_0x280409);_0x25f10f=q(_0x25f10f,0x1))Rn(_0x25f10f,_0x397730)||_0x4d9e99++;return _0x4d9e99;}function Ln(_0x5d171a,_0x45e8f9,_0x53a8eb){if(!_0x53a8eb)return!0x1;let _0x2d2278=Dn(_0x53a8eb);for(let _0x3a93c6=K(_0x5d171a);_0x3a93c6<_0x45e8f9;_0x3a93c6=q(_0x3a93c6,0x1))if(!Rn(_0x3a93c6,_0x2d2278))return!0x1;return!0x0;}function Rn(_0x2775bc,_0x170e40){const _0x1701f9=_0x1040ac;let _0x5dfab7=K(_0x2775bc),_0x178949=_0x170e40[_0x1701f9(0x177)][_0x1701f9(0x1cc)](_0x3ecb38=>K(_0x3ecb38[_0x1701f9(0x216)])===_0x5dfab7);if(_0x178949)return _0x178949[_0x1701f9(0xd2)]===_0x1701f9(0x2d8);let _0x3e6cca=new Date(_0x5dfab7)[_0x1701f9(0x1b5)](),_0x16ef29=_0x3e6cca===0x0?0x7:_0x3e6cca;return!_0x170e40[_0x1701f9(0x2eb)][_0x1701f9(0x207)](_0x16ef29);}function K(_0x4acf19){const _0x4c663e=_0x1040ac;let _0xfb1898=new Date(_0x4acf19);return Date[_0x4c663e(0x1f8)](_0xfb1898['getUTCFullYear'](),_0xfb1898[_0x4c663e(0x2a9)](),_0xfb1898[_0x4c663e(0x2e4)]());}function zn(_0x34214d){const _0x17e171=_0x1040ac;let _0x1f1e85=K(_0x34214d),_0x28d71d=new Date(_0x1f1e85)[_0x17e171(0x1b5)]();return q(_0x1f1e85,-(_0x28d71d===0x0?0x6:_0x28d71d-0x1));}function Bn(_0x55e1a5){const _0x504f0c=_0x1040ac;let _0x41af5a=new Date(_0x55e1a5);return Date[_0x504f0c(0x1f8)](_0x41af5a[_0x504f0c(0x229)](),_0x41af5a[_0x504f0c(0x2a9)](),0x1);}function Vn(_0x187e8a){const _0x5e166d=_0x1040ac;let _0xea56e3=new Date(_0x187e8a);return Date[_0x5e166d(0x1f8)](_0xea56e3[_0x5e166d(0x229)](),0x0,0x1);}function q(_0x4c5fc0,_0x1d3d45){return _0x4c5fc0+_0x1d3d45*G;}function Hn(_0x4ef180,_0x4afdd6){const _0x381425=_0x1040ac;let _0x463a78=new Date(_0x4ef180);return Date[_0x381425(0x1f8)](_0x463a78[_0x381425(0x229)](),_0x463a78[_0x381425(0x2a9)]()+_0x4afdd6,0x1);}function Un(_0x596536,_0x100e28){const _0x50c816=_0x1040ac;let _0x405c59=new Date(_0x596536);return Date['UTC'](_0x405c59[_0x50c816(0x229)]()+_0x100e28,0x0,0x1);}function Wn(_0x3e7bdc){const _0x4880b6=_0x1040ac;let _0x2c6c0b=new Date(_0x3e7bdc);return _0x2c6c0b[_0x4880b6(0x2a8)](_0x4880b6(0xc9),{'month':_0x4880b6(0x133),'timeZone':_0x4880b6(0x1f8)})+'\x20'+_0x2c6c0b[_0x4880b6(0x229)]();}function Gn(_0x1b83d7,_0x37e320){const _0x57d2aa=_0x1040ac;if(_0x1b83d7==null&&_0x37e320==null)return 0x0;if(_0x1b83d7==null)return-0x1;if(_0x37e320==null)return 0x1;if(typeof _0x1b83d7==_0x57d2aa(0x2e1)||typeof _0x37e320==_0x57d2aa(0x2e1))return Number(_0x1b83d7===!0x0)-Number(_0x37e320===!0x0);let _0x1a7009=Number(_0x1b83d7),_0x106182=Number(_0x37e320),_0x481b1a=Number[_0x57d2aa(0x299)](_0x1a7009),_0x10ea01=Number[_0x57d2aa(0x299)](_0x106182);return _0x481b1a&&_0x10ea01?_0x1a7009-_0x106182:_0x481b1a?0x1:_0x10ea01?-0x1:String(_0x1b83d7)[_0x57d2aa(0x31c)](String(_0x37e320));}function Kn(_0x53df05){const _0xcc5569=_0x1040ac;if(_0x53df05[_0xcc5569(0x24f)]!=='is'&&_0x53df05[_0xcc5569(0x24f)]!=='isNot')return!0x1;let _0x3ab51a=_0x53df05[_0xcc5569(0x1c0)];return _0x3ab51a==null?!0x0:typeof _0x3ab51a==_0xcc5569(0x2e9)?_0x3ab51a['trim']()==='':Array['isArray'](_0x3ab51a)?_0x3ab51a[_0xcc5569(0x1ac)]===0x0:!0x1;}function J(_0x520521,_0x48ff0c){const _0x2d9716=_0x1040ac;var _0x56c55b;let _0x539ae8=Array['isArray']((_0x56c55b=_0x520521[_0x2d9716(0x2ed)])==null?void 0x0:_0x56c55b['options'])?_0x520521['config']['options']:[];for(let _0x4103b3 of _0x539ae8){var _0x16b5b4,_0x3605af,_0x2db2d3,_0x302fa6;if(_0x4103b3==null)continue;if(typeof _0x4103b3=='string'){if(_0x4103b3===_0x48ff0c)return{'id':_0x4103b3,'name':_0x4103b3};continue;}let _0x4c79e0=_0x4103b3,_0x2fdae4=String((_0x16b5b4=(_0x3605af=_0x4c79e0['id'])==null?_0x4c79e0[_0x2d9716(0x27a)]:_0x3605af)==null?'':_0x16b5b4),_0x443da5=String((_0x2db2d3=(_0x302fa6=_0x4c79e0['name'])==null?_0x4c79e0['id']:_0x302fa6)==null?_0x2fdae4:_0x2db2d3);if(_0x2fdae4===_0x48ff0c||_0x443da5===_0x48ff0c)return{'id':_0x2fdae4,'name':_0x443da5,'color':_0x4c79e0[_0x2d9716(0x2cf)]==null?void 0x0:String(_0x4c79e0[_0x2d9716(0x2cf)])};}return null;}const Y={'id':_0x1040ac(0xb7),'type':_0x579a13['MUTATION'],'handler'(_0xbcf0b6,_0x547057){const _0x5478c7=_0x1040ac;let {unitId:_0x361766,op:_0x3aed0a}=_0x547057,_0x5db2ab=_0xbcf0b6[_0x5478c7(0x370)](_0x1c5465)[_0x5478c7(0xb3)](_0x361766,_0x5080c8[_0x5478c7(0x271)]);if(!_0x5db2ab)return!0x1;let _0x3e015a=_0x5db2ab[_0x5478c7(0x1b7)](),_0x4ed03d=new A(),_0x4b5557=_0x4ed03d[_0x5478c7(0x228)](_0x3aed0a),_0x31b4fb=_0x4ed03d[_0x5478c7(0xc8)](_0x3e015a,_0x3aed0a);return _0x5db2ab['setSnapshot'](_0x31b4fb),qn(_0x31b4fb,_0x4b5557,_0xbcf0b6[_0x5478c7(0x370)](_n)),!0x0;}};function qn(_0x2143b8,_0x837754,_0x4be022){const _0x51dda4=_0x1040ac;let _0x584436=new Set();for(let _0x362d12 of _0x837754){if(_0x362d12[_0x51dda4(0x160)]!==_0x51dda4(0x2fb)){_0x4be022[_0x51dda4(0x30d)]();return;}let _0x2e248c=Jn(_0x2143b8,_0x362d12);if(!_0x2e248c){_0x4be022[_0x51dda4(0x30d)]();return;}let _0x3e7702=_0x2e248c[_0x51dda4(0x253)]+'\x00'+_0x2e248c[_0x51dda4(0x158)]+'\x00'+_0x2e248c['fieldId'];_0x584436[_0x51dda4(0x31e)](_0x3e7702)||(_0x584436['add'](_0x3e7702),_0x4be022['invalidateByCell'](_0x2e248c[_0x51dda4(0x253)],_0x2e248c[_0x51dda4(0x158)],_0x2e248c['fieldId']));}}function Jn(_0x160a2a,_0x4121c8){const _0x308b69=_0x1040ac;var _0x52c94b,_0x27346f;if(!_0x4121c8[_0x308b69(0x253)])return null;if(_0x4121c8[_0x308b69(0x158)]&&_0x4121c8[_0x308b69(0x1d4)])return{'tableId':_0x4121c8[_0x308b69(0x253)],'recordId':_0x4121c8[_0x308b69(0x158)],'fieldId':_0x4121c8[_0x308b69(0x1d4)]};if(_0x4121c8[_0x308b69(0x231)]==null||_0x4121c8[_0x308b69(0x175)]==null)return null;let _0x260268=_0x160a2a[_0x308b69(0x274)][_0x4121c8[_0x308b69(0x253)]],_0x2e6aed=_0x260268==null||(_0x52c94b=_0x260268[_0x308b69(0x247)])==null?void 0x0:_0x52c94b[_0x4121c8[_0x308b69(0x231)]],_0x75145=_0x260268==null||(_0x27346f=_0x260268[_0x308b69(0x2fa)])==null?void 0x0:_0x27346f[_0x4121c8['column']];return!_0x2e6aed||!_0x75145?null:{'tableId':_0x4121c8[_0x308b69(0x253)],'recordId':_0x2e6aed,'fieldId':_0x75145};}function X(_0x269840,_0x366e8a,_0x3f429a){const _0x1f7717=_0x1040ac;let _0x3e1fa3=_0x269840[_0x1f7717(0x1b7)]()[_0x1f7717(0x274)][_0x366e8a];if(!_0x3e1fa3)return!0x1;let {viewIds:_0x1926d1,fieldIds:_0x4c87d2,recordIds:_0x4f664d}=_0x3f429a||{};if(_0x1926d1){for(let _0x2bd42a of _0x1926d1)if(!_0x3e1fa3[_0x1f7717(0x165)][_0x2bd42a])return!0x1;}if(_0x4c87d2){for(let _0x539697 of _0x4c87d2)if(!_0x3e1fa3[_0x1f7717(0x351)][_0x539697])return!0x1;}if(_0x4f664d){for(let _0x450dff of _0x4f664d)if(!_0x3e1fa3['records'][_0x450dff])return!0x1;}return!0x0;}const Yn={'id':'base.command.batch-create-base-records','type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x5b6a55,_0x424e1b){const _0x31fa42=_0x1040ac;if(!_0x424e1b)return!0x1;let _0xb4aca8=_0x5b6a55['get'](_0x1c5465),{unitId:_0x55459f,tableId:_0x218c62,records:_0x137579}=_0x424e1b,_0x4c6d78=_0xb4aca8[_0x31fa42(0xb3)](_0x55459f,_0x5080c8[_0x31fa42(0x271)]),_0x1d040e=_0x137579[_0x31fa42(0xb4)](_0x13c21c=>_0x13c21c['id']);if(!_0x4c6d78||!X(_0x4c6d78,_0x218c62)||new Set(_0x1d040e)[_0x31fa42(0x1df)]!==_0x1d040e[_0x31fa42(0x1ac)]||_0x1d040e[_0x31fa42(0x20d)](_0x5e56b4=>_0x4c6d78[_0x31fa42(0x1b7)]()[_0x31fa42(0x274)][_0x218c62][_0x31fa42(0x1fa)][_0x5e56b4]))return!0x1;let _0x399ca0=_0x5b6a55['get'](_0x42c942),_0x18e9dc=_0x5b6a55[_0x31fa42(0x370)](_0x195a57),_0x2d396d=_0x5b6a55[_0x31fa42(0x370)](W)[_0x31fa42(0x354)](_0x4c6d78,_0x218c62,_0x137579),_0x3eb3ff=new A()['invertOp'](_0x4c6d78[_0x31fa42(0x1b7)](),_0x2d396d),_0x179e52={'unitId':_0x55459f,'op':_0x2d396d},_0x41a4e8={'unitId':_0x55459f,'op':_0x3eb3ff};return _0x399ca0[_0x31fa42(0x362)](Y['id'],_0x179e52)?(_0xb4aca8[_0x31fa42(0x33c)](_0x55459f),_0x18e9dc['pushUndoRedo']({'unitID':_0x55459f,'undoMutations':[{'id':Y['id'],'params':_0x41a4e8}],'redoMutations':[{'id':Y['id'],'params':_0x179e52}]}),!0x0):!0x1;}},Xn={'id':'base.command.batch-delete-base-records','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x2e0f0c,_0x220758)=>{const _0xed97e4=_0x1040ac;if(!_0x220758)return!0x1;let _0x576b0a=_0x2e0f0c[_0xed97e4(0x370)](_0x1c5465),{unitId:_0x20b843,tableId:_0x9bb544,recordIds:_0x31775d}=_0x220758,_0x57becc=_0x576b0a[_0xed97e4(0xb3)](_0x20b843,_0x5080c8[_0xed97e4(0x271)]);if(!_0x57becc||!X(_0x57becc,_0x9bb544,{'recordIds':_0x31775d}))return!0x1;let _0x55983c=_0x2e0f0c[_0xed97e4(0x370)](_0x42c942),_0x369d32=_0x2e0f0c[_0xed97e4(0x370)](_0x195a57),_0x451eac=_0x57becc[_0xed97e4(0x1b7)](),_0x31da48=new R()[_0xed97e4(0x21b)](_0x451eac,_0x9bb544,_0x31775d),_0x263966=new A()['invertOp'](_0x451eac,_0x31da48),_0x8a7203={'unitId':_0x20b843,'op':_0x31da48},_0x144123={'unitId':_0x20b843,'op':_0x263966};return _0x55983c[_0xed97e4(0x362)](Y['id'],_0x8a7203)?(_0x576b0a[_0xed97e4(0x33c)](_0x20b843),_0x369d32[_0xed97e4(0x1c1)]({'unitID':_0x20b843,'undoMutations':[{'id':Y['id'],'params':_0x144123}],'redoMutations':[{'id':Y['id'],'params':_0x8a7203}]}),!0x0):!0x1;}},Zn={'id':_0x1040ac(0xf0),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4820aa,_0x2db6f8)=>{const _0x5bd333=_0x1040ac;if(!_0x2db6f8)return!0x1;let _0x3a45ba=_0x4820aa[_0x5bd333(0x370)](_0x1c5465),{unitId:_0x5f0cfc,tableId:_0xe46a80,fieldId:_0x7e3175,input:_0x45a0dd}=_0x2db6f8,_0x5e1094=_0x3a45ba[_0x5bd333(0xb3)](_0x5f0cfc,_0x5080c8[_0x5bd333(0x271)]);if(!_0x5e1094||!X(_0x5e1094,_0xe46a80,{'fieldIds':[_0x7e3175]}))return!0x1;let _0x45288e=_0x4820aa[_0x5bd333(0x370)](_0x42c942),_0x1b7056=_0x4820aa[_0x5bd333(0x370)](_0x195a57),_0x353e19=_0x5e1094[_0x5bd333(0x1b7)](),_0xb076f=new R()[_0x5bd333(0xbb)](_0x353e19,_0xe46a80,_0x7e3175,_0x45a0dd),_0x1e31e9=new A()['invertOp'](_0x353e19,_0xb076f),_0x556cc6={'unitId':_0x5f0cfc,'op':_0xb076f},_0x2d8588={'unitId':_0x5f0cfc,'op':_0x1e31e9};return _0x45288e['syncExecuteCommand'](Y['id'],_0x556cc6)?(_0x3a45ba[_0x5bd333(0x33c)](_0x5f0cfc),_0x1b7056[_0x5bd333(0x1c1)]({'unitID':_0x5f0cfc,'undoMutations':[{'id':Y['id'],'params':_0x2d8588}],'redoMutations':[{'id':Y['id'],'params':_0x556cc6}]}),!0x0):!0x1;}},Qn={'id':_0x1040ac(0x12d),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x31cf6d,_0x5a84f2){const _0x508dd9=_0x1040ac;if(!_0x5a84f2)return!0x1;let _0x678cec=_0x31cf6d[_0x508dd9(0x370)](_0x1c5465),{unitId:_0x3132ca,tableId:_0x183675,field:_0x66d013,index:_0x11d463,viewIndexes:_0x4de7f6}=_0x5a84f2,_0x1194af=_0x678cec['getUnit'](_0x3132ca,_0x5080c8['UNIVER_BASE']);if(!_0x1194af||!X(_0x1194af,_0x183675)||_0x1194af['getSnapshot']()[_0x508dd9(0x274)][_0x183675][_0x508dd9(0x351)][_0x66d013['id']])return!0x1;let _0xfdca6e=_0x31cf6d[_0x508dd9(0x370)](_0x42c942),_0x2de3ec=_0x31cf6d[_0x508dd9(0x370)](_0x195a57),_0x54ac28=_0x31cf6d[_0x508dd9(0x370)](W)[_0x508dd9(0x183)](_0x1194af,_0x183675,_0x66d013,_0x11d463,_0x4de7f6),_0x3c6d4e=new A()[_0x508dd9(0x1be)](_0x1194af[_0x508dd9(0x1b7)](),_0x54ac28),_0x246b80={'unitId':_0x3132ca,'op':_0x54ac28},_0x1197ef={'unitId':_0x3132ca,'op':_0x3c6d4e};return _0xfdca6e[_0x508dd9(0x362)](Y['id'],_0x246b80)?(_0x678cec['focusUnit'](_0x3132ca),_0x2de3ec['pushUndoRedo']({'unitID':_0x3132ca,'undoMutations':[{'id':Y['id'],'params':_0x1197ef}],'redoMutations':[{'id':Y['id'],'params':_0x246b80}]}),!0x0):!0x1;}},$n={'id':_0x1040ac(0x174),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x927871,_0x426745){const _0x29c607=_0x1040ac;if(!_0x426745)return!0x1;let _0x6c0755=_0x927871[_0x29c607(0x370)](_0x1c5465),{unitId:_0x1ca54b,tableId:_0x1b6882,record:_0x3cb73b}=_0x426745,_0x2e074e=_0x6c0755[_0x29c607(0xb3)](_0x1ca54b,_0x5080c8[_0x29c607(0x271)]);if(!_0x2e074e||!X(_0x2e074e,_0x1b6882)||_0x2e074e['getSnapshot']()[_0x29c607(0x274)][_0x1b6882][_0x29c607(0x1fa)][_0x3cb73b['id']])return!0x1;let _0x13e152=_0x927871[_0x29c607(0x370)](_0x42c942),_0x2915b9=_0x927871[_0x29c607(0x370)](_0x195a57),_0x4f7da9=_0x927871[_0x29c607(0x370)](W)[_0x29c607(0x1e5)](_0x2e074e,_0x1b6882,_0x3cb73b),_0x4b1da7=new A()['invertOp'](_0x2e074e[_0x29c607(0x1b7)](),_0x4f7da9),_0x3f8af4={'unitId':_0x1ca54b,'op':_0x4f7da9},_0x2dc01d={'unitId':_0x1ca54b,'op':_0x4b1da7};return _0x13e152[_0x29c607(0x362)](Y['id'],_0x3f8af4)?(_0x6c0755['focusUnit'](_0x1ca54b),_0x2915b9[_0x29c607(0x1c1)]({'unitID':_0x1ca54b,'undoMutations':[{'id':Y['id'],'params':_0x2dc01d}],'redoMutations':[{'id':Y['id'],'params':_0x3f8af4}]}),!0x0):!0x1;}},er={'id':_0x1040ac(0x23d),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x55dcee,_0x1e6e4f)=>{const _0x7c07c5=_0x1040ac;if(!_0x1e6e4f)return!0x1;let _0x55d5ab=_0x55dcee['get'](_0x1c5465),{unitId:_0x1224a5,table:_0x1203b1,index:_0x3a39a2}=_0x1e6e4f,_0x3abf85=_0x55d5ab[_0x7c07c5(0xb3)](_0x1224a5,_0x5080c8[_0x7c07c5(0x271)]);if(!_0x3abf85||_0x3abf85[_0x7c07c5(0x1b7)]()[_0x7c07c5(0x274)][_0x1203b1['id']])return!0x1;let _0x32e82c=_0x55dcee['get'](_0x42c942),_0xddac66=_0x55dcee[_0x7c07c5(0x370)](_0x195a57),_0x2aa9b1=_0x3abf85[_0x7c07c5(0x1b7)](),_0x5959b8={..._0x1203b1,'name':_0x3abf85[_0x7c07c5(0xa0)](_0x1203b1[_0x7c07c5(0x27a)])},_0x4b7067=new R()['createTable'](_0x2aa9b1,_0x5959b8,_0x3a39a2),_0x189b82=new A()['invertOp'](_0x2aa9b1,_0x4b7067),_0x34481c={'unitId':_0x1224a5,'op':_0x4b7067},_0x4ca1d1={'unitId':_0x1224a5,'op':_0x189b82};return _0x32e82c[_0x7c07c5(0x362)](Y['id'],_0x34481c)?(_0x55d5ab[_0x7c07c5(0x33c)](_0x1224a5),_0xddac66[_0x7c07c5(0x1c1)]({'unitID':_0x1224a5,'undoMutations':[{'id':Y['id'],'params':_0x4ca1d1}],'redoMutations':[{'id':Y['id'],'params':_0x34481c}]}),!0x0):!0x1;}};function tr(_0x57f3fd,_0x1d6479,_0x2e9993=[]){const _0x1b27dd=_0x1040ac;let _0x30bff1=new Set([...Object[_0x1b27dd(0x29d)](_0x57f3fd[_0x1b27dd(0x351)])[_0x1b27dd(0x308)](_0x3bfd48=>_0x3bfd48)['map'](_0x40fe48=>_0x40fe48[_0x1b27dd(0x27a)]),..._0x2e9993[_0x1b27dd(0xb4)](_0x57af42=>_0x57af42[_0x1b27dd(0x27a)])]);if(!_0x30bff1[_0x1b27dd(0x31e)](_0x1d6479))return _0x1d6479;let _0x362dd0=0x2;for(;_0x30bff1['has'](_0x1d6479+'\x20'+_0x362dd0);)_0x362dd0++;return _0x1d6479+'\x20'+_0x362dd0;}function nr(_0x24aa44,_0x3078e7){const _0x5b159d=_0x1040ac;if(!_0x24aa44||!_0x3078e7[_0x5b159d(0x1ac)])return;let _0x28332c=[..._0x24aa44];return _0x3078e7[_0x5b159d(0x2d3)](_0x141608=>{const _0x6a6ea8=_0x5b159d;_0x28332c[_0x6a6ea8(0x207)](_0x141608)||_0x28332c[_0x6a6ea8(0x143)](_0x141608);}),_0x28332c;}function _0x4ff6(_0x424861,_0x38cd9f){_0x424861=_0x424861-0x9d;const _0x2f5992=_0x2f59();let _0x4ff677=_0x2f5992[_0x424861];return _0x4ff677;}const rr={'options':[{'id':'todo','name':_0x1040ac(0x1e3),'color':'#BFDBFE'},{'id':_0x1040ac(0x315),'name':_0x1040ac(0x1c2),'color':_0x1040ac(0x187)},{'id':_0x1040ac(0x18b),'name':_0x1040ac(0x280),'color':_0x1040ac(0x322)}]},ir={'locale':_0x1040ac(0xc9),'pattern':_0x1040ac(0x13a),'includeTime':!0x1,'hourCycle':_0x1040ac(0x188),'defaultMode':_0x1040ac(0x208)};function ar(_0x3ecd8a,_0x5d7f3c,_0x5d86b7,_0x77825){const _0x3192d9=_0x1040ac;var _0x3073cf;let _0x2885cc=new R(),_0x4f93a1=_0x3ecd8a[_0x3192d9(0x274)][_0x5d7f3c];if(_0x4f93a1&&_0x5d86b7[_0x3192d9(0xd2)]==='kanban'){var _0x284cde;let _0x5ca68e=sr(_0x4f93a1,_0x5d86b7),_0x2d7af0=_0x5ca68e['changed']?{..._0x5d86b7,'config':_0x5ca68e[_0x3192d9(0x2ed)],'fieldOrder':(_0x284cde=_0x5ca68e[_0x3192d9(0xce)])==null?_0x5d86b7[_0x3192d9(0xce)]:_0x284cde}:_0x5d86b7;return L([..._0x5ca68e[_0x3192d9(0x351)][_0x3192d9(0xb4)](_0x3fc90a=>_0x2885cc[_0x3192d9(0x2c2)](_0x3ecd8a,_0x5d7f3c,{'field':_0x3fc90a})),_0x2885cc['createView'](_0x3ecd8a,_0x5d7f3c,_0x2d7af0,_0x77825)]);}if(!_0x4f93a1||_0x5d86b7[_0x3192d9(0xd2)]!=='calendar'&&_0x5d86b7[_0x3192d9(0xd2)]!==_0x3192d9(0x2f4))return _0x2885cc[_0x3192d9(0x32f)](_0x3ecd8a,_0x5d7f3c,_0x5d86b7,_0x77825);let _0x208bc8=or(_0x4f93a1,_0x5d86b7),_0x13692b=_0x208bc8['changed']?{..._0x5d86b7,'config':_0x208bc8[_0x3192d9(0x2ed)],'fieldOrder':(_0x3073cf=_0x208bc8['fieldOrder'])==null?_0x5d86b7[_0x3192d9(0xce)]:_0x3073cf}:_0x5d86b7;return _0x5d86b7[_0x3192d9(0xd2)]===_0x3192d9(0x2f4)&&ur(_0x5d86b7)&&(_0x13692b=dr(_0x4f93a1,_0x13692b,_0x208bc8[_0x3192d9(0x351)])),L([..._0x208bc8[_0x3192d9(0x351)]['map'](_0x2720bd=>_0x2885cc[_0x3192d9(0x2c2)](_0x3ecd8a,_0x5d7f3c,{'field':_0x2720bd})),_0x2885cc[_0x3192d9(0x32f)](_0x3ecd8a,_0x5d7f3c,_0x13692b,_0x77825)]);}function or(_0x578529,_0x138ed4,_0x1951ef=!0x1){const _0x4646e9=_0x1040ac;var _0x5b1b8d,_0x628aa0,_0x2f0332,_0x26bda0;let _0x5b6784=_0x578529[_0x4646e9(0xce)][_0x4646e9(0x308)](_0x2dbcc4=>pr(_0x578529,_0x2dbcc4)),_0x3d8ea8=[],_0xca1a94={...(_0x5b1b8d=_0x138ed4[_0x4646e9(0x2ed)])==null?{}:_0x5b1b8d},_0x50c2b6=typeof _0xca1a94[_0x4646e9(0x1a1)]=='string'&&pr(_0x578529,_0xca1a94[_0x4646e9(0x1a1)])?_0xca1a94[_0x4646e9(0x1a1)]:_0x5b6784[0x0],_0x11f39d=typeof _0xca1a94[_0x4646e9(0xfd)]==_0x4646e9(0x2e9)&&pr(_0x578529,_0xca1a94[_0x4646e9(0xfd)])&&_0xca1a94[_0x4646e9(0xfd)]!==_0x50c2b6?_0xca1a94[_0x4646e9(0xfd)]:_0x5b6784[_0x4646e9(0x1cc)](_0x164666=>_0x164666!==_0x50c2b6);if(!_0x50c2b6){let _0x51f770=mr(_0x578529,_0x3d8ea8,_0x138ed4[_0x4646e9(0xd2)]==='gantt'?'Start\x20date':_0x4646e9(0x107));_0x3d8ea8[_0x4646e9(0x143)](_0x51f770),_0x50c2b6=_0x51f770['id'];}if((_0x138ed4[_0x4646e9(0xd2)]===_0x4646e9(0x2f4)||_0x1951ef)&&!_0x11f39d){let _0xa6f081=mr(_0x578529,_0x3d8ea8,_0x4646e9(0x112));_0x3d8ea8['push'](_0xa6f081),_0x11f39d=_0xa6f081['id'];}if(_0x138ed4['type']===_0x4646e9(0x102)&&!_0x11f39d&&delete _0xca1a94[_0x4646e9(0xfd)],_0xca1a94['startDateFieldId']=_0x50c2b6,_0x138ed4[_0x4646e9(0xd2)]==='calendar'&&_0x11f39d&&(_0xca1a94[_0x4646e9(0xfd)]=_0x11f39d),_0x138ed4[_0x4646e9(0xd2)]===_0x4646e9(0x2f4)){var _0x2c20e4;_0xca1a94[_0x4646e9(0xfd)]=(_0x2c20e4=_0x11f39d)==null?_0x50c2b6:_0x2c20e4;}let _0xa12649=nr(_0x138ed4[_0x4646e9(0xce)],_0x3d8ea8[_0x4646e9(0xb4)](_0x4d63fa=>_0x4d63fa['id']));return{'changed':_0x3d8ea8['length']>0x0||_0xca1a94[_0x4646e9(0x1a1)]!==((_0x628aa0=_0x138ed4['config'])==null?void 0x0:_0x628aa0[_0x4646e9(0x1a1)])||_0xca1a94[_0x4646e9(0xfd)]!==((_0x2f0332=_0x138ed4[_0x4646e9(0x2ed)])==null?void 0x0:_0x2f0332[_0x4646e9(0xfd)])||!!(_0xa12649&&!_0x131bf1['diffValue'](_0xa12649,(_0x26bda0=_0x138ed4[_0x4646e9(0xce)])==null?[]:_0x26bda0)),'fields':_0x3d8ea8,'config':_0xca1a94,'fieldOrder':_0xa12649};}function sr(_0x27e374,_0x5e1bab){const _0x23df15=_0x1040ac;var _0x4b29ad,_0x8693dd,_0x177bf2;let _0x2c807e=[],_0x1e8eaf={...(_0x4b29ad=_0x5e1bab['config'])==null?{}:_0x4b29ad},_0x49e714=typeof _0x1e8eaf[_0x23df15(0x147)]==_0x23df15(0x2e9)&&cr(_0x27e374,_0x1e8eaf[_0x23df15(0x147)])?_0x1e8eaf[_0x23df15(0x147)]:_0x27e374[_0x23df15(0xce)]['find'](_0x4e78b1=>cr(_0x27e374,_0x4e78b1));if(!_0x49e714){let _0x471b59=lr(_0x27e374,_0x2c807e);_0x2c807e[_0x23df15(0x143)](_0x471b59),_0x49e714=_0x471b59['id'];}_0x1e8eaf[_0x23df15(0x147)]=_0x49e714;let _0x4f03a0=nr(_0x5e1bab[_0x23df15(0xce)],_0x2c807e[_0x23df15(0xb4)](_0x390c68=>_0x390c68['id']));return{'changed':_0x2c807e[_0x23df15(0x1ac)]>0x0||_0x1e8eaf[_0x23df15(0x147)]!==((_0x8693dd=_0x5e1bab[_0x23df15(0x2ed)])==null?void 0x0:_0x8693dd['groupFieldId'])||!!(_0x4f03a0&&!_0x131bf1[_0x23df15(0xfb)](_0x4f03a0,(_0x177bf2=_0x5e1bab[_0x23df15(0xce)])==null?[]:_0x177bf2)),'fields':_0x2c807e,'config':_0x1e8eaf,'fieldOrder':_0x4f03a0};}function cr(_0x2d6d6f,_0x121d91){const _0x270ec2=_0x1040ac;let _0x3406b1=_0x121d91?_0x2d6d6f['fields'][_0x121d91]:null;return _0x3406b1?[_0x406b36['SingleSelect'],_0x406b36[_0x270ec2(0x2ce)],_0x406b36['Rating'],_0x406b36['Person'],_0x406b36[_0x270ec2(0x26b)],_0x406b36[_0x270ec2(0x32e)]]['includes'](_0x3406b1[_0x270ec2(0xd2)]):!0x1;}function lr(_0x48a0eb,_0x1160c6){const _0x44e036=_0x1040ac;return{'id':_0x44e036(0x2d5)+_0x4322a8(0x8),'name':tr(_0x48a0eb,_0x44e036(0x296),_0x1160c6),'type':_0x406b36[_0x44e036(0x1c7)],'config':_0x131bf1[_0x44e036(0x263)](rr)};}function ur(_0x1882ec){const _0x250f49=_0x1040ac;var _0x48949f,_0x417de6;return Object[_0x250f49(0x1d0)]((_0x48949f=_0x1882ec['config'])==null?{}:_0x48949f)['length']===0x0&&Object[_0x250f49(0x1d0)]((_0x417de6=_0x1882ec['fieldSettings'])==null?{}:_0x417de6)[_0x250f49(0x1ac)]===0x0;}function dr(_0x29c90f,_0x336b90,_0x45ae02){const _0x461b12=_0x1040ac;var _0x1b649f;let _0x1017a6={...(_0x1b649f=_0x336b90['config'])==null?{}:_0x1b649f},_0x19baa7=_0x45ae02['map'](_0x3c9c7d=>_0x3c9c7d['id']),_0x57d7e5=[..._0x29c90f[_0x461b12(0xce)],..._0x19baa7],_0x46a0a7=typeof _0x1017a6[_0x461b12(0x15f)]=='string'&&fr(_0x29c90f,_0x45ae02,_0x1017a6['titleFieldId'])?_0x1017a6[_0x461b12(0x15f)]:_0x29c90f[_0x461b12(0x2a0)],_0x576f5b=typeof _0x1017a6[_0x461b12(0x1a1)]==_0x461b12(0x2e9)?_0x1017a6[_0x461b12(0x1a1)]:'',_0x21954f=typeof _0x1017a6[_0x461b12(0xfd)]==_0x461b12(0x2e9)?_0x1017a6[_0x461b12(0xfd)]:_0x576f5b,_0xd718ac=new Set([_0x46a0a7,_0x576f5b,_0x21954f][_0x461b12(0x308)](_0x57052c=>_0x57052c&&fr(_0x29c90f,_0x45ae02,_0x57052c))),_0x598181=Object[_0x461b12(0x1fc)](_0x57d7e5[_0x461b12(0x1a6)](_0xba325c=>_0xd718ac[_0x461b12(0x31e)](_0xba325c)||!fr(_0x29c90f,_0x45ae02,_0xba325c)?[]:[[_0xba325c,{'hidden':!0x0}]]));return{..._0x336b90,'config':{..._0x1017a6,'titleFieldId':_0x46a0a7},'fieldSettings':_0x598181};}function fr(_0x39c9a9,_0x45d606,_0x59109f){const _0x388021=_0x1040ac;var _0x517343;return!!((_0x517343=_0x39c9a9[_0x388021(0x351)][_0x59109f])==null?_0x45d606[_0x388021(0x1cc)](_0x1f6a18=>_0x1f6a18['id']===_0x59109f):_0x517343)&&!0x0;}function pr(_0x32ad8a,_0x1dbb05){const _0x2f542f=_0x1040ac;let _0x10dbfb=_0x1dbb05?_0x32ad8a['fields'][_0x1dbb05]:null;return!!_0x10dbfb&&_0x10dbfb[_0x2f542f(0xd2)]===_0x406b36[_0x2f542f(0x107)]&&_0x10dbfb['readonly']!==!0x0&&_0x10dbfb[_0x2f542f(0x137)]!==!0x0;}function mr(_0x554bce,_0x2b90c3,_0x2ff740){const _0x9f84f1=_0x1040ac;let _0xf90211=new Set([...Object['keys'](_0x554bce[_0x9f84f1(0x351)]),..._0x2b90c3[_0x9f84f1(0xb4)](_0x2ac34e=>_0x2ac34e['id'])]),_0x472e0e='fld-'+_0x4322a8(0x8);for(;_0xf90211[_0x9f84f1(0x31e)](_0x472e0e);)_0x472e0e=_0x9f84f1(0x2d5)+_0x4322a8(0x8);return{'id':_0x472e0e,'name':tr(_0x554bce,_0x2ff740,_0x2b90c3),'type':_0x406b36[_0x9f84f1(0x107)],'config':{...ir}};}const hr={'id':_0x1040ac(0x2be),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3cdaeb,_0x246d59)=>{const _0x4516a8=_0x1040ac;if(!_0x246d59)return!0x1;let _0x341667=_0x3cdaeb[_0x4516a8(0x370)](_0x1c5465),{unitId:_0x2771f5,tableId:_0x2201b9,view:_0x209706,index:_0x46ca99}=_0x246d59,_0x13f2df=_0x341667[_0x4516a8(0xb3)](_0x2771f5,_0x5080c8[_0x4516a8(0x271)]);if(!_0x13f2df||!X(_0x13f2df,_0x2201b9)||_0x13f2df[_0x4516a8(0x1b7)]()['tables'][_0x2201b9]['views'][_0x209706['id']])return!0x1;let _0xb9ea=_0x3cdaeb['get'](_0x42c942),_0x5dae23=_0x3cdaeb[_0x4516a8(0x370)](_0x195a57),_0x384c29=_0x13f2df['getSnapshot'](),_0x1d6c69=ar(_0x384c29,_0x2201b9,_0x209706,_0x46ca99),_0x40edf2=new A()['invertOp'](_0x384c29,_0x1d6c69),_0x1fc82b={'unitId':_0x2771f5,'op':_0x1d6c69},_0x5dc136={'unitId':_0x2771f5,'op':_0x40edf2};return _0xb9ea[_0x4516a8(0x362)](Y['id'],_0x1fc82b)?(_0x341667[_0x4516a8(0x33c)](_0x2771f5),_0x5dae23[_0x4516a8(0x1c1)]({'unitID':_0x2771f5,'undoMutations':[{'id':Y['id'],'params':_0x5dc136}],'redoMutations':[{'id':Y['id'],'params':_0x1fc82b}]}),!0x0):!0x1;}},gr={'id':_0x1040ac(0x28f),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x2869d1,_0x284495){const _0x5a74d4=_0x1040ac;if(!_0x284495)return!0x1;let _0x2d96e1=_0x2869d1[_0x5a74d4(0x370)](_0x1c5465),{unitId:_0x507037,tableId:_0x323b69,fieldId:_0x411b86}=_0x284495,_0x49bb52=_0x2d96e1[_0x5a74d4(0xb3)](_0x507037,_0x5080c8[_0x5a74d4(0x271)]);if(!_0x49bb52)return!0x1;let _0x584ed2=_0x49bb52['getSnapshot'](),_0x496547=_0x584ed2[_0x5a74d4(0x274)][_0x323b69];if(!X(_0x49bb52,_0x323b69,{'fieldIds':[_0x411b86]})||_0x496547[_0x5a74d4(0x2a0)]===_0x411b86)return!0x1;let _0x1a64f3=_0x2869d1[_0x5a74d4(0x370)](_0x42c942),_0x4c5a3b=_0x2869d1[_0x5a74d4(0x370)](_0x195a57),_0x4cf20e=new R()[_0x5a74d4(0xbd)](_0x584ed2,_0x323b69,_0x411b86),_0xef7b1e=new A()[_0x5a74d4(0x1be)](_0x584ed2,_0x4cf20e),_0x885bc={'unitId':_0x507037,'op':_0x4cf20e},_0x4f6fa1={'unitId':_0x507037,'op':_0xef7b1e};return _0x1a64f3[_0x5a74d4(0x362)](Y['id'],_0x885bc)?(_0x2d96e1[_0x5a74d4(0x33c)](_0x507037),_0x4c5a3b[_0x5a74d4(0x1c1)]({'unitID':_0x507037,'undoMutations':[{'id':Y['id'],'params':_0x4f6fa1}],'redoMutations':[{'id':Y['id'],'params':_0x885bc}]}),!0x0):!0x1;}},_r={'id':_0x1040ac(0x148),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x18c1b8,_0x4b1a4a)=>{const _0x5d4b8a=_0x1040ac;if(!_0x4b1a4a)return!0x1;let _0x33136a=_0x18c1b8[_0x5d4b8a(0x370)](_0x1c5465),{unitId:_0x316ae0,tableId:_0x21a6c9,recordId:_0x435d98}=_0x4b1a4a,_0x5c152e=_0x33136a[_0x5d4b8a(0xb3)](_0x316ae0,_0x5080c8[_0x5d4b8a(0x271)]);if(!_0x5c152e||!X(_0x5c152e,_0x21a6c9,{'recordIds':[_0x435d98]}))return!0x1;let _0x2d55bc=_0x18c1b8[_0x5d4b8a(0x370)](_0x42c942),_0x2d8619=_0x18c1b8[_0x5d4b8a(0x370)](_0x195a57),_0x157210=_0x5c152e[_0x5d4b8a(0x1b7)](),_0x144c69=new R()[_0x5d4b8a(0x1af)](_0x157210,_0x21a6c9,_0x435d98),_0x3488f0=new A()[_0x5d4b8a(0x1be)](_0x157210,_0x144c69),_0x29cb6d={'unitId':_0x316ae0,'op':_0x144c69},_0xaf5a83={'unitId':_0x316ae0,'op':_0x3488f0};return _0x2d55bc[_0x5d4b8a(0x362)](Y['id'],_0x29cb6d)?(_0x33136a[_0x5d4b8a(0x33c)](_0x316ae0),_0x2d8619[_0x5d4b8a(0x1c1)]({'unitID':_0x316ae0,'undoMutations':[{'id':Y['id'],'params':_0xaf5a83}],'redoMutations':[{'id':Y['id'],'params':_0x29cb6d}]}),!0x0):!0x1;}},vr={'id':_0x1040ac(0x1cf),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x31a5df,_0x30a6a0)=>{const _0x3cbae2=_0x1040ac;if(!_0x30a6a0)return!0x1;let _0xcd0569=_0x31a5df[_0x3cbae2(0x370)](_0x1c5465),{unitId:_0x3ba1db,tableId:_0x257e4c}=_0x30a6a0,_0x2ddd62=_0xcd0569[_0x3cbae2(0xb3)](_0x3ba1db,_0x5080c8[_0x3cbae2(0x271)]);if(!_0x2ddd62||!X(_0x2ddd62,_0x257e4c))return!0x1;let _0x1e136f=_0x31a5df['get'](_0x42c942),_0x56b886=_0x31a5df[_0x3cbae2(0x370)](_0x195a57),_0x33ad87=_0x2ddd62['getSnapshot'](),_0x50a9b8=new R()[_0x3cbae2(0x108)](_0x33ad87,_0x257e4c),_0x33d58b=new A()[_0x3cbae2(0x1be)](_0x33ad87,_0x50a9b8),_0x4ed83f={'unitId':_0x3ba1db,'op':_0x50a9b8},_0x3d8b48={'unitId':_0x3ba1db,'op':_0x33d58b};return _0x1e136f[_0x3cbae2(0x362)](Y['id'],_0x4ed83f)?(_0xcd0569[_0x3cbae2(0x33c)](_0x3ba1db),_0x56b886['pushUndoRedo']({'unitID':_0x3ba1db,'undoMutations':[{'id':Y['id'],'params':_0x3d8b48}],'redoMutations':[{'id':Y['id'],'params':_0x4ed83f}]}),!0x0):!0x1;}},yr={'id':_0x1040ac(0x267),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x35e603,_0x1a254c)=>{const _0x3b7fbc=_0x1040ac;if(!_0x1a254c)return!0x1;let _0xd11553=_0x35e603[_0x3b7fbc(0x370)](_0x1c5465),{unitId:_0x568822,tableId:_0x7c4b32,viewId:_0x4ccd4b}=_0x1a254c,_0x625196=_0xd11553[_0x3b7fbc(0xb3)](_0x568822,_0x5080c8[_0x3b7fbc(0x271)]);if(!_0x625196||!X(_0x625196,_0x7c4b32,{'viewIds':[_0x4ccd4b]}))return!0x1;let _0x4e2e4e=_0x35e603[_0x3b7fbc(0x370)](_0x42c942),_0x3c4be6=_0x35e603[_0x3b7fbc(0x370)](_0x195a57),_0x5470f6=_0x625196['getSnapshot'](),_0x50f988=new R()['deleteView'](_0x5470f6,_0x7c4b32,_0x4ccd4b),_0x63d51e=new A()[_0x3b7fbc(0x1be)](_0x5470f6,_0x50f988),_0x4823d6={'unitId':_0x568822,'op':_0x50f988},_0x866888={'unitId':_0x568822,'op':_0x63d51e};return _0x4e2e4e['syncExecuteCommand'](Y['id'],_0x4823d6)?(_0xd11553['focusUnit'](_0x568822),_0x3c4be6[_0x3b7fbc(0x1c1)]({'unitID':_0x568822,'undoMutations':[{'id':Y['id'],'params':_0x866888}],'redoMutations':[{'id':Y['id'],'params':_0x4823d6}]}),!0x0):!0x1;}},br={'id':_0x1040ac(0x25b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3f67b1,_0x1f91db)=>{const _0x516ff7=_0x1040ac;if(!_0x1f91db)return!0x1;let _0x5a0b01=_0x3f67b1[_0x516ff7(0x370)](_0x1c5465),{unitId:_0x452fe0,tableId:_0x208a40,sourceFieldId:_0x1b0419,field:_0x1cdb25,index:_0x4aafff,viewIndexes:_0x49c7ab}=_0x1f91db,_0x49f5e0=_0x5a0b01[_0x516ff7(0xb3)](_0x452fe0,_0x5080c8['UNIVER_BASE']);if(!_0x49f5e0||!X(_0x49f5e0,_0x208a40,{'fieldIds':[_0x1b0419]})||_0x49f5e0[_0x516ff7(0x1b7)]()[_0x516ff7(0x274)][_0x208a40]['fields'][_0x1cdb25['id']])return!0x1;let _0x5a6690=_0x3f67b1[_0x516ff7(0x370)](_0x42c942),_0x24a733=_0x3f67b1['get'](_0x195a57),_0x44e9ae=_0x49f5e0[_0x516ff7(0x1b7)](),_0x506238=new R()[_0x516ff7(0x23c)](_0x44e9ae,_0x208a40,_0x1b0419,{'field':_0x1cdb25,'index':_0x4aafff,'viewIndexes':_0x49c7ab}),_0x340d81=new A()['invertOp'](_0x44e9ae,_0x506238),_0x2c4525={'unitId':_0x452fe0,'op':_0x506238},_0x1829b8={'unitId':_0x452fe0,'op':_0x340d81};return _0x5a6690[_0x516ff7(0x362)](Y['id'],_0x2c4525)?(_0x5a0b01[_0x516ff7(0x33c)](_0x452fe0),_0x24a733[_0x516ff7(0x1c1)]({'unitID':_0x452fe0,'undoMutations':[{'id':Y['id'],'params':_0x1829b8}],'redoMutations':[{'id':Y['id'],'params':_0x2c4525}]}),!0x0):!0x1;}},xr={'id':_0x1040ac(0x22b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x2dcd8d,_0x4d429d)=>{const _0x46b4da=_0x1040ac;if(!_0x4d429d)return!0x1;let _0x3b0d03=_0x2dcd8d['get'](_0x1c5465),{unitId:_0x2616d4,tableId:_0x17bae1,sourceRecordId:_0x1cc53,record:_0x592d9d}=_0x4d429d,_0x39a481=_0x3b0d03[_0x46b4da(0xb3)](_0x2616d4,_0x5080c8[_0x46b4da(0x271)]);if(!_0x39a481||!X(_0x39a481,_0x17bae1,{'recordIds':[_0x1cc53]})||_0x39a481[_0x46b4da(0x1b7)]()['tables'][_0x17bae1]['records'][_0x592d9d['id']])return!0x1;let _0x1a40f0=_0x2dcd8d[_0x46b4da(0x370)](_0x42c942),_0xf2a1e0=_0x2dcd8d[_0x46b4da(0x370)](_0x195a57),_0x47ab78=_0x39a481[_0x46b4da(0x1b7)](),_0x421be7=new R()[_0x46b4da(0xd9)](_0x47ab78,_0x17bae1,_0x1cc53,_0x592d9d),_0x514181=new A()[_0x46b4da(0x1be)](_0x47ab78,_0x421be7),_0x11f83b={'unitId':_0x2616d4,'op':_0x421be7},_0x150280={'unitId':_0x2616d4,'op':_0x514181};return _0x1a40f0[_0x46b4da(0x362)](Y['id'],_0x11f83b)?(_0x3b0d03[_0x46b4da(0x33c)](_0x2616d4),_0xf2a1e0[_0x46b4da(0x1c1)]({'unitID':_0x2616d4,'undoMutations':[{'id':Y['id'],'params':_0x150280}],'redoMutations':[{'id':Y['id'],'params':_0x11f83b}]}),!0x0):!0x1;}},Sr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x579a13['COMMAND'],'handler'(_0x3c92de,_0x4cc44b){const _0x486ced=_0x1040ac;if(!_0x4cc44b)return!0x1;let _0x49a6d6=_0x3c92de['get'](_0x1c5465),{unitId:_0x4e623f,tableId:_0xdcef25,viewId:_0x5ddcdb,ensureEndDateField:_0xae7269}=_0x4cc44b,_0x1191d7=_0x49a6d6[_0x486ced(0xb3)](_0x4e623f,_0x5080c8['UNIVER_BASE']);if(!_0x1191d7||!X(_0x1191d7,_0xdcef25,{'viewIds':[_0x5ddcdb]}))return!0x1;let _0x575b91=_0x1191d7[_0x486ced(0x1b7)](),_0x4a186b=_0x575b91[_0x486ced(0x274)][_0xdcef25],_0x54488e=_0x4a186b==null?void 0x0:_0x4a186b['views'][_0x5ddcdb];if(!_0x4a186b||!_0x54488e||_0x54488e['type']!==_0x486ced(0x102)&&_0x54488e['type']!==_0x486ced(0x2f4))return!0x1;let _0x3f31da=or(_0x4a186b,_0x54488e,_0xae7269===!0x0);if(!_0x3f31da[_0x486ced(0x180)])return!0x1;let _0x57985a=_0x3c92de['get'](_0x42c942),_0x5edcca=_0x3c92de[_0x486ced(0x370)](_0x195a57),_0x28a46a=new R(),_0x5c4b7e=[..._0x3f31da[_0x486ced(0x351)][_0x486ced(0xb4)](_0x3b8a79=>_0x28a46a[_0x486ced(0x2c2)](_0x575b91,_0x4cc44b['tableId'],{'field':_0x3b8a79})),Cr([...wr(_0x4cc44b['tableId'],_0x4cc44b[_0x486ced(0x290)]),'config'],_0x54488e['config'],_0x3f31da['config'])];_0x3f31da['fieldOrder']&&_0x5c4b7e[_0x486ced(0x143)](Cr([...wr(_0x4cc44b[_0x486ced(0x253)],_0x4cc44b[_0x486ced(0x290)]),'fieldOrder'],_0x54488e['fieldOrder'],_0x3f31da['fieldOrder']));let _0x37cc6e=L(_0x5c4b7e),_0x286589=new A()[_0x486ced(0x1be)](_0x575b91,_0x37cc6e),_0x2b204e={'unitId':_0x4e623f,'op':_0x37cc6e},_0x2c1d4a={'unitId':_0x4e623f,'op':_0x286589};return _0x57985a[_0x486ced(0x362)](Y['id'],_0x2b204e)?(_0x49a6d6[_0x486ced(0x33c)](_0x4e623f),_0x5edcca['pushUndoRedo']({'unitID':_0x4e623f,'undoMutations':[{'id':Y['id'],'params':_0x2c1d4a}],'redoMutations':[{'id':Y['id'],'params':_0x2b204e}]}),!0x0):!0x1;}};function Cr(_0x4b40e2,_0x52327a,_0x4a3273){const _0x2b6120=_0x1040ac;return _0x52327a===void 0x0?_0x5db611[_0x2b6120(0x246)](_0x4b40e2,_0x4a3273):_0x5db611[_0x2b6120(0x2ad)](_0x4b40e2,_0x52327a,_0x4a3273);}function wr(_0x155dbf,_0x286a0e){const _0x39163f=_0x1040ac;return['tables',_0x155dbf,_0x39163f(0x165),_0x286a0e];}const Tr={'id':_0x1040ac(0x154),'type':_0x579a13['COMMAND'],'handler':(_0x56c76b,_0x5dc6c3)=>{const _0x3ec541=_0x1040ac;var _0x203276;if(!_0x5dc6c3)return!0x1;let _0x2b9ab4=_0x56c76b[_0x3ec541(0x370)](_0x1c5465),{unitId:_0x5f1aa4,tableId:_0x34abac,fieldId:_0x24132d,target:_0x3c3d56}=_0x5dc6c3,_0x2acee6=_0x2b9ab4['getUnit'](_0x5f1aa4,_0x5080c8[_0x3ec541(0x271)]),_0x429ba2=(_0x203276=_0x3c3d56[_0x3ec541(0x1f2)])==null?_0x3c3d56[_0x3ec541(0x2df)]:_0x203276;if(!_0x2acee6||!!_0x3c3d56[_0x3ec541(0x1f2)]==!!_0x3c3d56[_0x3ec541(0x2df)]||!_0x429ba2||_0x429ba2===_0x24132d||!X(_0x2acee6,_0x34abac,{'fieldIds':[_0x24132d,_0x429ba2]}))return!0x1;let _0x551dc5=_0x56c76b[_0x3ec541(0x370)](_0x42c942),_0x2ba02a=_0x56c76b[_0x3ec541(0x370)](_0x195a57),_0xddd37e=_0x2acee6[_0x3ec541(0x1b7)](),_0x24ee44=new R()[_0x3ec541(0xef)](_0xddd37e,_0x34abac,_0x24132d,_0x3c3d56),_0x3775ac=new A()[_0x3ec541(0x1be)](_0xddd37e,_0x24ee44),_0x3095a6={'unitId':_0x5f1aa4,'op':_0x24ee44},_0x2dd37c={'unitId':_0x5f1aa4,'op':_0x3775ac};return _0x551dc5[_0x3ec541(0x362)](Y['id'],_0x3095a6)?(_0x2b9ab4[_0x3ec541(0x33c)](_0x5f1aa4),_0x2ba02a[_0x3ec541(0x1c1)]({'unitID':_0x5f1aa4,'undoMutations':[{'id':Y['id'],'params':_0x2dd37c}],'redoMutations':[{'id':Y['id'],'params':_0x3095a6}]}),!0x0):!0x1;}},Er={'id':_0x1040ac(0x356),'type':_0x579a13['COMMAND'],'handler':(_0x5d1fda,_0x371c75)=>{const _0x19efc5=_0x1040ac;var _0x283875;if(!_0x371c75)return!0x1;let _0x4b559e=_0x5d1fda[_0x19efc5(0x370)](_0x1c5465),{unitId:_0x31aaf9,tableId:_0x503f57,viewId:_0x3a6876,target:_0x6c323}=_0x371c75,_0x52b10d=_0x4b559e[_0x19efc5(0xb3)](_0x31aaf9,_0x5080c8[_0x19efc5(0x271)]),_0x3b9fcb=(_0x283875=_0x6c323[_0x19efc5(0xa3)])==null?_0x6c323['afterViewId']:_0x283875;if(!_0x52b10d||!_0x3b9fcb||_0x3b9fcb===_0x3a6876||!X(_0x52b10d,_0x503f57,{'viewIds':[_0x3a6876,_0x3b9fcb]}))return!0x1;let _0x29812b=_0x5d1fda[_0x19efc5(0x370)](_0x42c942),_0xdd70dc=_0x5d1fda[_0x19efc5(0x370)](_0x195a57),_0x402f8a=_0x52b10d[_0x19efc5(0x1b7)](),_0x44137f=new R()[_0x19efc5(0x2f3)](_0x402f8a,_0x503f57,_0x3a6876,_0x6c323),_0x41cdda=new A()[_0x19efc5(0x1be)](_0x402f8a,_0x44137f),_0x240333={'unitId':_0x31aaf9,'op':_0x44137f},_0x4ad864={'unitId':_0x31aaf9,'op':_0x41cdda};return _0x29812b[_0x19efc5(0x362)](Y['id'],_0x240333)?(_0x4b559e[_0x19efc5(0x33c)](_0x31aaf9),_0xdd70dc[_0x19efc5(0x1c1)]({'unitID':_0x31aaf9,'undoMutations':[{'id':Y['id'],'params':_0x4ad864}],'redoMutations':[{'id':Y['id'],'params':_0x240333}]}),!0x0):!0x1;}},Dr={'id':_0x1040ac(0x26f),'type':_0x579a13['COMMAND'],'handler':(_0xea6fa2,_0x391ef5)=>{const _0x251c5f=_0x1040ac;if(!_0x391ef5)return!0x1;let _0x346bf3=_0xea6fa2[_0x251c5f(0x370)](_0x1c5465),{unitId:_0x2e6720,tableId:_0x23cd32,name:_0x30f5d6}=_0x391ef5,_0x268b75=_0x346bf3[_0x251c5f(0xb3)](_0x2e6720,_0x5080c8['UNIVER_BASE']);if(!_0x268b75||!X(_0x268b75,_0x23cd32))return!0x1;let _0x4cffde=_0xea6fa2[_0x251c5f(0x370)](_0x42c942),_0x1787f4=_0xea6fa2['get'](_0x195a57),_0x38aca9=_0x268b75['getSnapshot'](),_0x3840d6=new R()[_0x251c5f(0x1fd)](_0x38aca9,_0x23cd32,_0x30f5d6),_0x1c193c=new A()[_0x251c5f(0x1be)](_0x38aca9,_0x3840d6),_0x322a51={'unitId':_0x2e6720,'op':_0x3840d6},_0x3beca8={'unitId':_0x2e6720,'op':_0x1c193c};return _0x4cffde[_0x251c5f(0x362)](Y['id'],_0x322a51)?(_0x346bf3[_0x251c5f(0x33c)](_0x2e6720),_0x1787f4['pushUndoRedo']({'unitID':_0x2e6720,'undoMutations':[{'id':Y['id'],'params':_0x3beca8}],'redoMutations':[{'id':Y['id'],'params':_0x322a51}]}),!0x0):!0x1;}},Or={'id':'base.command.rename-base-view','type':_0x579a13['COMMAND'],'handler':(_0x4192e8,_0x29eb7f)=>{const _0x4cfa7=_0x1040ac;if(!_0x29eb7f)return!0x1;let _0x4cccc5=_0x4192e8['get'](_0x1c5465),{unitId:_0x123db4,tableId:_0x4465e1,viewId:_0x1ff8a1,name:_0x6a6645}=_0x29eb7f,_0xdd1fb1=_0x4cccc5[_0x4cfa7(0xb3)](_0x123db4,_0x5080c8['UNIVER_BASE']);if(!_0xdd1fb1||!X(_0xdd1fb1,_0x4465e1,{'viewIds':[_0x1ff8a1]}))return!0x1;let _0x51000d=_0x4192e8[_0x4cfa7(0x370)](_0x42c942),_0x3e3a51=_0x4192e8[_0x4cfa7(0x370)](_0x195a57),_0x1ccf68=_0xdd1fb1[_0x4cfa7(0x1b7)](),_0xa8f290=new R()[_0x4cfa7(0xd1)](_0x1ccf68,_0x4465e1,_0x1ff8a1,_0x6a6645),_0x1010f9=new A()['invertOp'](_0x1ccf68,_0xa8f290),_0x30e65a={'unitId':_0x123db4,'op':_0xa8f290},_0x52e9c6={'unitId':_0x123db4,'op':_0x1010f9};return _0x51000d[_0x4cfa7(0x362)](Y['id'],_0x30e65a)?(_0x4cccc5[_0x4cfa7(0x33c)](_0x123db4),_0x3e3a51[_0x4cfa7(0x1c1)]({'unitID':_0x123db4,'undoMutations':[{'id':Y['id'],'params':_0x52e9c6}],'redoMutations':[{'id':Y['id'],'params':_0x30e65a}]}),!0x0):!0x1;}},kr={'id':_0x1040ac(0x2b9),'type':_0x579a13['COMMAND'],'handler':(_0x438c03,_0x468f0d)=>{const _0x445084=_0x1040ac;if(!_0x468f0d)return!0x1;let _0x2fc50b=_0x438c03['get'](_0x1c5465),{unitId:_0x5d1100,tableId:_0x5d43cd,viewId:_0x3f9155,fieldId:_0x4fd6a8}=_0x468f0d,_0x132ec8=_0x2fc50b[_0x445084(0xb3)](_0x5d1100,_0x5080c8[_0x445084(0x271)]);if(!_0x132ec8||!X(_0x132ec8,_0x5d43cd,{'viewIds':[_0x3f9155],'fieldIds':[_0x4fd6a8]}))return!0x1;let _0x50d17b=_0x438c03[_0x445084(0x370)](_0x42c942),_0x5144c4=_0x438c03[_0x445084(0x370)](_0x195a57),_0x5c1f18=_0x132ec8['getSnapshot'](),_0x16e98d=new R()[_0x445084(0x233)](_0x5c1f18,_0x5d43cd,_0x3f9155,{'groupFieldId':_0x4fd6a8}),_0x360ead=new A()['invertOp'](_0x5c1f18,_0x16e98d),_0x22b78f={'unitId':_0x5d1100,'op':_0x16e98d},_0x483e9f={'unitId':_0x5d1100,'op':_0x360ead};return _0x50d17b[_0x445084(0x362)](Y['id'],_0x22b78f)?(_0x2fc50b[_0x445084(0x33c)](_0x5d1100),_0x5144c4[_0x445084(0x1c1)]({'unitID':_0x5d1100,'undoMutations':[{'id':Y['id'],'params':_0x483e9f}],'redoMutations':[{'id':Y['id'],'params':_0x22b78f}]}),!0x0):!0x1;}},Ar={'id':_0x1040ac(0x14b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0xffb5d9,_0x43823f)=>{const _0x14b2b8=_0x1040ac;if(!_0x43823f)return!0x1;let _0x52c74a=_0xffb5d9[_0x14b2b8(0x370)](_0x1c5465),_0x53104b=_0x52c74a['getUnit'](_0x43823f[_0x14b2b8(0x2e7)],_0x5080c8[_0x14b2b8(0x271)]);if(!_0x53104b)return!0x1;let _0xa2c6ab=_0x53104b['getSnapshot']()[_0x14b2b8(0x27a)];if(_0xa2c6ab===_0x43823f[_0x14b2b8(0x27a)])return!0x0;let _0xdb56fb=new R(),_0x255011=new A(),_0x430b1d=[],_0x36376c=[],_0x1db9fd=[_0x53104b,..._0x52c74a[_0x14b2b8(0x10e)](_0x5080c8[_0x14b2b8(0x271)])[_0x14b2b8(0x308)](_0x169a7d=>_0x169a7d['getUnitId']()!==_0x43823f[_0x14b2b8(0x2e7)])];for(let _0x43e02f of _0x1db9fd){let _0x32ceec=_0x43e02f[_0x14b2b8(0x1b7)](),_0x3ae954=_0x43e02f===_0x53104b?_0xdb56fb[_0x14b2b8(0x2a1)](_0x32ceec,_0x43823f[_0x14b2b8(0x27a)]):_0xdb56fb[_0x14b2b8(0xa1)](_0x32ceec,_0xa2c6ab,_0x43823f[_0x14b2b8(0x27a)]);_0x3ae954&&(_0x430b1d[_0x14b2b8(0x143)]({'id':Y['id'],'params':{'unitId':_0x43e02f[_0x14b2b8(0x35a)](),'op':_0x3ae954,'trigger':Ar['id']}}),_0x36376c[_0x14b2b8(0x372)]({'id':Y['id'],'params':{'unitId':_0x43e02f['getUnitId'](),'op':_0x255011[_0x14b2b8(0x1be)](_0x32ceec,_0x3ae954),'trigger':Ar['id']}}));}let _0x1da6e2=_0xffb5d9[_0x14b2b8(0x370)](_0x42c942),_0x21a2c1=_0xffb5d9[_0x14b2b8(0x370)](_0x195a57),_0x16a816=_0x21a2c1[_0x14b2b8(0x301)](_0x43823f['unitId']);try{return _0x50782c(_0x430b1d,_0x1da6e2)[_0x14b2b8(0x294)]?(_0x52c74a[_0x14b2b8(0x33c)](_0x43823f[_0x14b2b8(0x2e7)]),_0x21a2c1[_0x14b2b8(0x1c1)]({'unitID':_0x43823f[_0x14b2b8(0x2e7)],'undoMutations':_0x36376c,'redoMutations':_0x430b1d}),!0x0):!0x1;}finally{_0x16a816['dispose']();}}},jr={'id':'base.command.set-base-range-values','type':_0x579a13['COMMAND'],'handler'(_0x1e1634,_0x5ac212){const _0x2ca134=_0x1040ac;if(!_0x5ac212)return!0x1;let _0x4bf316=_0x1e1634[_0x2ca134(0x370)](_0x1c5465),{unitId:_0xb2fba2,tableId:_0x254977,patches:_0x3dd40c}=_0x5ac212,_0x3b5b37=_0x4bf316[_0x2ca134(0xb3)](_0xb2fba2,_0x5080c8[_0x2ca134(0x271)]);if(!_0x3b5b37||!X(_0x3b5b37,_0x254977))return!0x1;let _0x4e1e09=_0x1e1634[_0x2ca134(0x370)](_0x42c942),_0x5133d4=_0x1e1634[_0x2ca134(0x370)](_0x195a57),_0x3895f5=_0x3b5b37[_0x2ca134(0x1b7)](),_0x257f10=E(_0x3895f5['tables'][_0x254977]),_0x4486b8=_0x3dd40c['map'](_0x40ba02=>{const _0x29aa15=_0x2ca134;var _0x5420f5;return _0x29aa15(0x158)in _0x40ba02?_0x40ba02[_0x29aa15(0x158)]:(_0x5420f5=_0x257f10[_0x29aa15(0x247)])==null?void 0x0:_0x5420f5[_0x40ba02[_0x29aa15(0x231)]];})['filter'](_0x27295d=>_0x27295d!=null),_0x594cfc=_0x3dd40c[_0x2ca134(0xb4)](_0x183411=>{const _0x134e76=_0x2ca134;var _0x3d45ff;return'fieldId'in _0x183411?_0x183411['fieldId']:(_0x3d45ff=_0x257f10[_0x134e76(0x2fa)])==null?void 0x0:_0x3d45ff[_0x183411[_0x134e76(0xb0)]];})[_0x2ca134(0x308)](_0x2cae94=>_0x2cae94!=null);if(_0x4486b8[_0x2ca134(0x1ac)]!==_0x3dd40c[_0x2ca134(0x1ac)]||_0x594cfc[_0x2ca134(0x1ac)]!==_0x3dd40c[_0x2ca134(0x1ac)]||!X(_0x3b5b37,_0x254977,{'recordIds':_0x4486b8,'fieldIds':_0x594cfc}))return!0x1;let _0x18f168=_0x3dd40c[_0x2ca134(0x1a6)](_0x12a91e=>{const _0x254431=_0x2ca134;var _0x19ac8f,_0x47969a;if(_0x254431(0x231)in _0x12a91e)return[_0x12a91e];let _0x1232b7=(_0x19ac8f=_0x257f10['rowIndex'])==null?void 0x0:_0x19ac8f[_0x12a91e[_0x254431(0x158)]],_0x35c215=(_0x47969a=_0x257f10[_0x254431(0x193)])==null?void 0x0:_0x47969a[_0x12a91e[_0x254431(0x1d4)]];return _0x1232b7==null||_0x35c215==null?[]:[{'row':_0x1232b7,'col':_0x35c215,'value':_0x12a91e[_0x254431(0x11a)]}];}),_0x24aec2=new R()[_0x2ca134(0x10b)](_0x3895f5,_0x254977,_0x18f168),_0x3bdfd4=new A()[_0x2ca134(0x1be)](_0x3895f5,_0x24aec2),_0x26e6e6={'unitId':_0xb2fba2,'op':_0x24aec2},_0x5c67f1={'unitId':_0xb2fba2,'op':_0x3bdfd4};return _0x4e1e09['syncExecuteCommand'](Y['id'],_0x26e6e6)?(_0x4bf316['focusUnit'](_0xb2fba2),_0x5133d4['pushUndoRedo']({'unitID':_0xb2fba2,'undoMutations':[{'id':Y['id'],'params':_0x5c67f1}],'redoMutations':[{'id':Y['id'],'params':_0x26e6e6}]}),!0x0):!0x1;}},Mr={'id':_0x1040ac(0x1e1),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0xa5377,_0x23bdec){const _0x52b9c0=_0x1040ac;if(!_0x23bdec)return!0x1;let _0x49474f=_0xa5377[_0x52b9c0(0x370)](_0x1c5465),{unitId:_0x1cfcbe,tableId:_0xc7cf20,patches:_0x12ca4f}=_0x23bdec,_0xa39974=_0x49474f['getUnit'](_0x1cfcbe,_0x5080c8['UNIVER_BASE']),_0x1d6eb9=_0x12ca4f[_0x52b9c0(0xb4)](_0x185e03=>_0x185e03[_0x52b9c0(0x158)]),_0x4888c4=_0x12ca4f['flatMap'](_0x1fc089=>Object['keys'](_0x1fc089['values']));if(!_0xa39974||!X(_0xa39974,_0xc7cf20,{'recordIds':_0x1d6eb9,'fieldIds':_0x4888c4}))return!0x1;let _0x4d273c=_0xa5377[_0x52b9c0(0x370)](_0x42c942),_0x172fa2=_0xa5377['get'](_0x195a57),_0x16fbad=_0xa5377[_0x52b9c0(0x370)](W)['createSetRecordValuesOp'](_0xa39974,_0xc7cf20,_0x12ca4f),_0x5177ca=new A()[_0x52b9c0(0x1be)](_0xa39974[_0x52b9c0(0x1b7)](),_0x16fbad),_0xf95ba7={'unitId':_0x1cfcbe,'op':_0x16fbad},_0x3df426={'unitId':_0x1cfcbe,'op':_0x5177ca};return _0x4d273c[_0x52b9c0(0x362)](Y['id'],_0xf95ba7)?(_0x49474f[_0x52b9c0(0x33c)](_0x1cfcbe),_0x172fa2[_0x52b9c0(0x1c1)]({'unitID':_0x1cfcbe,'undoMutations':[{'id':Y['id'],'params':_0x3df426}],'redoMutations':[{'id':Y['id'],'params':_0xf95ba7}]}),!0x0):!0x1;}},Nr={'id':_0x1040ac(0x1f3),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4810cb,_0x35cfd4)=>{const _0xcf37be=_0x1040ac;var _0x48a780;if(!_0x35cfd4)return!0x1;let _0x31c8c7=_0x4810cb[_0xcf37be(0x370)](_0x1c5465),{unitId:_0x3ac769,tableId:_0x5e6d3f,viewId:_0x1d8909,fieldId:_0x335216,target:_0x32015a}=_0x35cfd4,_0x5778f0=_0x31c8c7['getUnit'](_0x3ac769,_0x5080c8['UNIVER_BASE']),_0x29db40=(_0x48a780=_0x32015a[_0xcf37be(0x1f2)])==null?_0x32015a['afterFieldId']:_0x48a780;if(!_0x5778f0||!_0x29db40||_0x29db40===_0x335216||!X(_0x5778f0,_0x5e6d3f,{'viewIds':[_0x1d8909],'fieldIds':[_0x335216,_0x29db40]}))return!0x1;let _0x3682c8=_0x4810cb[_0xcf37be(0x370)](_0x42c942),_0x3dea3f=_0x4810cb[_0xcf37be(0x370)](_0x195a57),_0x2e2e73=_0x5778f0[_0xcf37be(0x1b7)](),_0x170a81=new R()[_0xcf37be(0x1f0)](_0x2e2e73,_0x5e6d3f,_0x1d8909,_0x335216,_0x32015a),_0x5656a7=new A()[_0xcf37be(0x1be)](_0x2e2e73,_0x170a81),_0x167838={'unitId':_0x3ac769,'op':_0x170a81},_0x5441bd={'unitId':_0x3ac769,'op':_0x5656a7};return _0x3682c8[_0xcf37be(0x362)](Y['id'],_0x167838)?(_0x31c8c7[_0xcf37be(0x33c)](_0x3ac769),_0x3dea3f[_0xcf37be(0x1c1)]({'unitID':_0x3ac769,'undoMutations':[{'id':Y['id'],'params':_0x5441bd}],'redoMutations':[{'id':Y['id'],'params':_0x167838}]}),!0x0):!0x1;}},Pr={'id':_0x1040ac(0x29e),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x10f7ec,_0x2e3b92){const _0x30dceb=_0x1040ac;if(!_0x2e3b92)return!0x1;let _0x15aae6=_0x10f7ec[_0x30dceb(0x370)](_0x1c5465),{unitId:_0x1f3829,tableId:_0x4470f3,viewId:_0x5eea80,fieldId:_0x57a2e6,visible:_0xdd17e4}=_0x2e3b92,_0x18fe50=_0x15aae6[_0x30dceb(0xb3)](_0x1f3829,_0x5080c8[_0x30dceb(0x271)]);if(!_0x18fe50||!X(_0x18fe50,_0x4470f3,{'viewIds':[_0x5eea80],'fieldIds':[_0x57a2e6]}))return!0x1;let _0x365aab=_0x10f7ec[_0x30dceb(0x370)](_0x42c942),_0x4408a7=_0x10f7ec[_0x30dceb(0x370)](_0x195a57),_0x5681db=_0x18fe50['getSnapshot'](),_0x490c72=new R()['setViewFieldVisible'](_0x5681db,_0x4470f3,_0x5eea80,_0x57a2e6,_0xdd17e4),_0x464296=new A()[_0x30dceb(0x1be)](_0x5681db,_0x490c72),_0x54b3b8={'unitId':_0x1f3829,'op':_0x490c72},_0x49a4af={'unitId':_0x1f3829,'op':_0x464296};return _0x365aab[_0x30dceb(0x362)](Y['id'],_0x54b3b8)?(_0x15aae6[_0x30dceb(0x33c)](_0x1f3829),_0x4408a7[_0x30dceb(0x1c1)]({'unitID':_0x1f3829,'undoMutations':[{'id':Y['id'],'params':_0x49a4af}],'redoMutations':[{'id':Y['id'],'params':_0x54b3b8}]}),!0x0):!0x1;}},Fr={'id':_0x1040ac(0x2ba),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x8f7e95,_0x18ac0c)=>{const _0x612dab=_0x1040ac;if(!_0x18ac0c)return!0x1;let _0x5ecaec=_0x8f7e95[_0x612dab(0x370)](_0x1c5465),{unitId:_0xcd3e1c,tableId:_0x465d85,viewId:_0x2fec51,fieldId:_0x320eef,width:_0x363d9c}=_0x18ac0c,_0x18a451=_0x5ecaec[_0x612dab(0xb3)](_0xcd3e1c,_0x5080c8[_0x612dab(0x271)]);if(!_0x18a451||!X(_0x18a451,_0x465d85,{'viewIds':[_0x2fec51],'fieldIds':[_0x320eef]}))return!0x1;let _0x2c4414=_0x8f7e95[_0x612dab(0x370)](_0x42c942),_0x124ac5=_0x8f7e95['get'](_0x195a57),_0x3ff1ed=_0x18a451['getSnapshot'](),_0x443fa6=new R()[_0x612dab(0x243)](_0x3ff1ed,_0x465d85,_0x2fec51,_0x320eef,_0x363d9c),_0x37fee8=new A()['invertOp'](_0x3ff1ed,_0x443fa6),_0xa019a6={'unitId':_0xcd3e1c,'op':_0x443fa6},_0x8a1f6b={'unitId':_0xcd3e1c,'op':_0x37fee8};return _0x2c4414[_0x612dab(0x362)](Y['id'],_0xa019a6)?(_0x5ecaec[_0x612dab(0x33c)](_0xcd3e1c),_0x124ac5[_0x612dab(0x1c1)]({'unitID':_0xcd3e1c,'undoMutations':[{'id':Y['id'],'params':_0x8a1f6b}],'redoMutations':[{'id':Y['id'],'params':_0xa019a6}]}),!0x0):!0x1;}},Ir={'id':_0x1040ac(0xde),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3ffebe,_0x1d6b95)=>{const _0x214f41=_0x1040ac;var _0x509190;if(!_0x1d6b95)return!0x1;let _0x1158d8=_0x3ffebe[_0x214f41(0x370)](_0x1c5465),{unitId:_0x64e276,tableId:_0x562194,viewId:_0x5de204,filter:_0x3d8250}=_0x1d6b95,_0x537a95=_0x1158d8[_0x214f41(0xb3)](_0x64e276,_0x5080c8['UNIVER_BASE']),_0x2a67ce=(_0x509190=_0x3d8250==null?void 0x0:_0x3d8250[_0x214f41(0x31d)][_0x214f41(0xb4)](_0x4890e9=>_0x4890e9[_0x214f41(0x1d4)]))==null?[]:_0x509190;if(!_0x537a95||!X(_0x537a95,_0x562194,{'viewIds':[_0x5de204],'fieldIds':_0x2a67ce}))return!0x1;let _0x5e8128=_0x3ffebe[_0x214f41(0x370)](_0x42c942),_0x1c7869=_0x3ffebe[_0x214f41(0x370)](_0x195a57),_0x39b343=_0x537a95[_0x214f41(0x1b7)](),_0x4fc808=new R()[_0x214f41(0x1ee)](_0x39b343,_0x562194,_0x5de204,_0x3d8250),_0x5195d1=new A()[_0x214f41(0x1be)](_0x39b343,_0x4fc808),_0x5e19ba={'unitId':_0x64e276,'op':_0x4fc808},_0x4878ba={'unitId':_0x64e276,'op':_0x5195d1};return _0x5e8128[_0x214f41(0x362)](Y['id'],_0x5e19ba)?(_0x1158d8[_0x214f41(0x33c)](_0x64e276),_0x1c7869['pushUndoRedo']({'unitID':_0x64e276,'undoMutations':[{'id':Y['id'],'params':_0x4878ba}],'redoMutations':[{'id':Y['id'],'params':_0x5e19ba}]}),!0x0):!0x1;}},Lr={'id':_0x1040ac(0x225),'type':_0x579a13['COMMAND'],'handler':(_0x14cf61,_0x3ad4a1)=>{const _0x3db23c=_0x1040ac;if(!_0x3ad4a1)return!0x1;let _0x37a135=_0x14cf61[_0x3db23c(0x370)](_0x1c5465),{unitId:_0x2d4eef,tableId:_0x2be41e,viewId:_0x171b50,group:_0x4ca725}=_0x3ad4a1,_0x3d8ee1=_0x37a135['getUnit'](_0x2d4eef,_0x5080c8[_0x3db23c(0x271)]);if(!_0x3d8ee1||!X(_0x3d8ee1,_0x2be41e,{'viewIds':[_0x171b50],'fieldIds':_0x4ca725[_0x3db23c(0xb4)](_0x2fc3e7=>_0x2fc3e7[_0x3db23c(0x1d4)])}))return!0x1;let _0x50bb6=_0x14cf61['get'](_0x42c942),_0x62b9ce=_0x14cf61[_0x3db23c(0x370)](_0x195a57),_0x311250=_0x3d8ee1[_0x3db23c(0x1b7)](),_0x487768=new R()['setViewGroup'](_0x311250,_0x2be41e,_0x171b50,_0x4ca725),_0x251ded=new A()['invertOp'](_0x311250,_0x487768),_0x4b689e={'unitId':_0x2d4eef,'op':_0x487768},_0x54cf34={'unitId':_0x2d4eef,'op':_0x251ded};return _0x50bb6[_0x3db23c(0x362)](Y['id'],_0x4b689e)?(_0x37a135[_0x3db23c(0x33c)](_0x2d4eef),_0x62b9ce[_0x3db23c(0x1c1)]({'unitID':_0x2d4eef,'undoMutations':[{'id':Y['id'],'params':_0x54cf34}],'redoMutations':[{'id':Y['id'],'params':_0x4b689e}]}),!0x0):!0x1;}},Rr={'id':_0x1040ac(0x182),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x31bd70,_0x617094)=>{const _0xe17c38=_0x1040ac;if(!_0x617094)return!0x1;let _0x47721d=_0x31bd70[_0xe17c38(0x370)](_0x1c5465),{unitId:_0x5ed449,tableId:_0xee8076,viewId:_0x3297e8,sort:_0x5bf1b5}=_0x617094,_0x41f680=_0x47721d['getUnit'](_0x5ed449,_0x5080c8[_0xe17c38(0x271)]);if(!_0x41f680||!X(_0x41f680,_0xee8076,{'viewIds':[_0x3297e8],'fieldIds':_0x5bf1b5[_0xe17c38(0xb4)](_0x42e261=>_0x42e261['fieldId'])}))return!0x1;let _0x43675f=_0x31bd70['get'](_0x42c942),_0x8eb586=_0x31bd70['get'](_0x195a57),_0x5c12c2=_0x41f680[_0xe17c38(0x1b7)](),_0x5ad238=new R()['setViewSort'](_0x5c12c2,_0xee8076,_0x3297e8,_0x5bf1b5),_0x5e5ba5=new A()[_0xe17c38(0x1be)](_0x5c12c2,_0x5ad238),_0x526e9e={'unitId':_0x5ed449,'op':_0x5ad238},_0x3b1b24={'unitId':_0x5ed449,'op':_0x5e5ba5};return _0x43675f[_0xe17c38(0x362)](Y['id'],_0x526e9e)?(_0x47721d[_0xe17c38(0x33c)](_0x5ed449),_0x8eb586[_0xe17c38(0x1c1)]({'unitID':_0x5ed449,'undoMutations':[{'id':Y['id'],'params':_0x3b1b24}],'redoMutations':[{'id':Y['id'],'params':_0x526e9e}]}),!0x0):!0x1;}},zr={'id':_0x1040ac(0x2ab),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x12c044,_0x439178){const _0x2195d8=_0x1040ac;if(!_0x439178)return!0x1;let _0x1ae2bc=_0x12c044['get'](_0x1c5465),{unitId:_0x15d8d8,tableId:_0x2057eb,recordId:_0x1aec1a,fieldId:_0x2c7abb,value:_0x5141df}=_0x439178,_0x5c5b1e=_0x1ae2bc['getUnit'](_0x15d8d8,_0x5080c8[_0x2195d8(0x271)]);if(!_0x5c5b1e||!X(_0x5c5b1e,_0x2057eb,{'recordIds':[_0x1aec1a],'fieldIds':[_0x2c7abb]}))return!0x1;let _0x30d98b=_0x12c044[_0x2195d8(0x370)](_0x42c942),_0x208da9=_0x12c044[_0x2195d8(0x370)](_0x195a57),_0x1cb8ec=_0x12c044[_0x2195d8(0x370)](W),_0x12ba6b;try{_0x12ba6b=_0x1cb8ec[_0x2195d8(0xf7)](_0x5c5b1e,_0x2057eb,_0x1aec1a,_0x2c7abb,_0x5141df);}catch(_0x21d8ee){return console[_0x2195d8(0x1bf)](_0x2195d8(0x153),_0x21d8ee),!0x1;}let _0x3475b3=new A()[_0x2195d8(0x1be)](_0x5c5b1e[_0x2195d8(0x1b7)](),_0x12ba6b),_0x5c3d25={'unitId':_0x15d8d8,'op':_0x12ba6b},_0x580b88={'unitId':_0x15d8d8,'op':_0x3475b3};return _0x30d98b[_0x2195d8(0x362)](Y['id'],_0x5c3d25)?(_0x1ae2bc[_0x2195d8(0x33c)](_0x15d8d8),_0x208da9[_0x2195d8(0x1c1)]({'unitID':_0x15d8d8,'undoMutations':[{'id':Y['id'],'params':_0x580b88}],'redoMutations':[{'id':Y['id'],'params':_0x5c3d25}]}),!0x0):!0x1;}},Br={'id':_0x1040ac(0x306),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x204d50,_0x3e1bd4){const _0x4d2363=_0x1040ac;if(!_0x3e1bd4)return!0x1;let _0xa88d8a=_0x204d50[_0x4d2363(0x370)](_0x1c5465),{unitId:_0x1ba7cd,tableId:_0x4dbe55,fieldId:_0x4f5f62}=_0x3e1bd4,_0x254eff=_0xa88d8a[_0x4d2363(0xb3)](_0x1ba7cd,_0x5080c8[_0x4d2363(0x271)]);if(!_0x254eff||!X(_0x254eff,_0x4dbe55,{'fieldIds':[_0x4f5f62]}))return!0x1;let _0x1eb538=_0x204d50[_0x4d2363(0x370)](_0x42c942),_0x3b7648=_0x204d50[_0x4d2363(0x370)](_0x195a57),_0x50950a=_0x254eff['getSnapshot'](),_0x1a7224=_0x3e1bd4['description'][_0x4d2363(0x1e6)](),_0x428817=new R()[_0x4d2363(0x22e)](_0x50950a,_0x4dbe55,_0x4f5f62,{'description':_0x1a7224}),_0x374ebd=new A()[_0x4d2363(0x1be)](_0x254eff[_0x4d2363(0x1b7)](),_0x428817),_0x19f446={'unitId':_0x1ba7cd,'op':_0x428817},_0x259f03={'unitId':_0x1ba7cd,'op':_0x374ebd};return _0x1eb538[_0x4d2363(0x362)](Y['id'],_0x19f446)?(_0xa88d8a[_0x4d2363(0x33c)](_0x1ba7cd),_0x3b7648[_0x4d2363(0x1c1)]({'unitID':_0x1ba7cd,'undoMutations':[{'id':Y['id'],'params':_0x259f03}],'redoMutations':[{'id':Y['id'],'params':_0x19f446}]}),!0x0):!0x1;}},Vr={'id':'base.command.update-base-field','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x5fce59,_0x318baf)=>{const _0x220fa1=_0x1040ac;if(!_0x318baf)return!0x1;let _0x2da82d=_0x5fce59[_0x220fa1(0x370)](_0x1c5465),{unitId:_0x54617b,tableId:_0x364be6,fieldId:_0xedeee,patch:_0x323af7}=_0x318baf,_0x2a2b01=_0x2da82d[_0x220fa1(0xb3)](_0x54617b,_0x5080c8[_0x220fa1(0x271)]);if(!_0x2a2b01||!X(_0x2a2b01,_0x364be6,{'fieldIds':[_0xedeee]}))return!0x1;let _0x39a13f=_0x5fce59[_0x220fa1(0x370)](_0x42c942),_0x4f5055=_0x5fce59[_0x220fa1(0x370)](_0x195a57),_0x349eb0=_0x2a2b01[_0x220fa1(0x1b7)](),_0x4e6f4e=new R()[_0x220fa1(0x22e)](_0x349eb0,_0x364be6,_0xedeee,_0x323af7),_0x2d5b78=new A()[_0x220fa1(0x1be)](_0x349eb0,_0x4e6f4e),_0x5a578d={'unitId':_0x54617b,'op':_0x4e6f4e},_0x45bc27={'unitId':_0x54617b,'op':_0x2d5b78};return _0x39a13f[_0x220fa1(0x362)](Y['id'],_0x5a578d)?(_0x2da82d[_0x220fa1(0x33c)](_0x54617b),_0x4f5055[_0x220fa1(0x1c1)]({'unitID':_0x54617b,'undoMutations':[{'id':Y['id'],'params':_0x45bc27}],'redoMutations':[{'id':Y['id'],'params':_0x5a578d}]}),!0x0):!0x1;}},Hr={'id':_0x1040ac(0x270),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4e5e5e,_0xb76331)=>{const _0x56c2bb=_0x1040ac;if(!_0xb76331)return!0x1;let _0x223297=_0x4e5e5e[_0x56c2bb(0x370)](_0x1c5465),{unitId:_0x258032,tableId:_0x32bcc9,viewId:_0x3c2d47,patch:_0x29c156}=_0xb76331,_0xa32d4d=_0x223297['getUnit'](_0x258032,_0x5080c8[_0x56c2bb(0x271)]);if(!_0xa32d4d||!X(_0xa32d4d,_0x32bcc9,{'viewIds':[_0x3c2d47]}))return!0x1;let _0x531295=_0x4e5e5e['get'](_0x42c942),_0x413b82=_0x4e5e5e[_0x56c2bb(0x370)](_0x195a57),_0x259d03=_0xa32d4d[_0x56c2bb(0x1b7)](),_0x21bc29=new R()[_0x56c2bb(0x233)](_0x259d03,_0x32bcc9,_0x3c2d47,_0x29c156),_0x13ebeb=new A()[_0x56c2bb(0x1be)](_0x259d03,_0x21bc29),_0x304dbf={'unitId':_0x258032,'op':_0x21bc29},_0x40f826={'unitId':_0x258032,'op':_0x13ebeb};return _0x531295[_0x56c2bb(0x362)](Y['id'],_0x304dbf)?(_0x223297[_0x56c2bb(0x33c)](_0x258032),_0x413b82[_0x56c2bb(0x1c1)]({'unitID':_0x258032,'undoMutations':[{'id':Y['id'],'params':_0x40f826}],'redoMutations':[{'id':Y['id'],'params':_0x304dbf}]}),!0x0):!0x1;}},Ur={'id':'base.command.update-base-record-order','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x318de7,_0x34e63c)=>{const _0x58272e=_0x1040ac;if(!_0x34e63c)return!0x1;let _0x66813c=_0x318de7[_0x58272e(0x370)](_0x1c5465),{unitId:_0x5323c6,tableId:_0x252191,recordId:_0x147470,orderKey:_0x5b3aaa}=_0x34e63c,_0x2c9393=_0x66813c[_0x58272e(0xb3)](_0x5323c6,_0x5080c8[_0x58272e(0x271)]);if(!_0x2c9393||!X(_0x2c9393,_0x252191,{'recordIds':[_0x147470]}))return!0x1;let _0x3589ac=_0x318de7[_0x58272e(0x370)](_0x42c942),_0x35dea6=_0x318de7[_0x58272e(0x370)](_0x195a57),_0x5ad88d=_0x2c9393[_0x58272e(0x1b7)](),_0x1fb6ad=new R()[_0x58272e(0x210)](_0x5ad88d,_0x252191,_0x147470,_0x5b3aaa),_0x1767c8=new A()[_0x58272e(0x1be)](_0x5ad88d,_0x1fb6ad),_0x455fe0={'unitId':_0x5323c6,'op':_0x1fb6ad},_0x1d7656={'unitId':_0x5323c6,'op':_0x1767c8};return _0x3589ac[_0x58272e(0x362)](Y['id'],_0x455fe0)?(_0x66813c[_0x58272e(0x33c)](_0x5323c6),_0x35dea6['pushUndoRedo']({'unitID':_0x5323c6,'undoMutations':[{'id':Y['id'],'params':_0x1d7656}],'redoMutations':[{'id':Y['id'],'params':_0x455fe0}]}),!0x0):!0x1;}},Wr={'id':_0x1040ac(0x23a),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4a0193,_0x46d829)=>{const _0x46fadf=_0x1040ac;if(!_0x46d829)return!0x1;let _0x5612ae=_0x4a0193[_0x46fadf(0x370)](_0x1c5465),{unitId:_0xc7e67b,tableId:_0x211af4,viewId:_0x37e8f4,patch:_0x36a8a2}=_0x46d829,_0x29d2a1=_0x5612ae[_0x46fadf(0xb3)](_0xc7e67b,_0x5080c8[_0x46fadf(0x271)]);if(!_0x29d2a1||!X(_0x29d2a1,_0x211af4,{'viewIds':[_0x37e8f4]}))return!0x1;let _0x23cd48=_0x4a0193['get'](_0x42c942),_0x19bcfb=_0x4a0193['get'](_0x195a57),_0x2152fa=_0x29d2a1['getSnapshot'](),_0xe26f4f=new R()[_0x46fadf(0x233)](_0x2152fa,_0x211af4,_0x37e8f4,_0x36a8a2),_0x353487=new A()['invertOp'](_0x2152fa,_0xe26f4f),_0x210b96={'unitId':_0xc7e67b,'op':_0xe26f4f},_0x526d20={'unitId':_0xc7e67b,'op':_0x353487};return _0x23cd48[_0x46fadf(0x362)](Y['id'],_0x210b96)?(_0x5612ae[_0x46fadf(0x33c)](_0xc7e67b),_0x19bcfb[_0x46fadf(0x1c1)]({'unitID':_0xc7e67b,'undoMutations':[{'id':Y['id'],'params':_0x526d20}],'redoMutations':[{'id':Y['id'],'params':_0x210b96}]}),!0x0):!0x1;}};function Gr(_0x11ab64){const _0x15368e=_0x1040ac;var _0x4346bf,_0x195212,_0x451235,_0x5441d7,_0x56c4ba;let _0x44f3b1=(_0x4346bf=_0x11ab64[_0x15368e(0x2c5)])==null?Date[_0x15368e(0x2c5)]():_0x4346bf,_0x3debc1=(_0x195212=_0x11ab64[_0x15368e(0x2a0)])==null?_0x11ab64['id']+_0x15368e(0x100):_0x195212,_0x38731e=(_0x451235=_0x11ab64[_0x15368e(0x338)])==null?_0x11ab64['id']+'-view-grid':_0x451235,_0x269bd8=(_0x5441d7=_0x11ab64['recordCount'])==null?0x5:_0x5441d7,_0x575859={'id':_0x3debc1,'name':(_0x56c4ba=_0x11ab64[_0x15368e(0x2ff)])==null?_0x15368e(0x1ec):_0x56c4ba,'type':_0x406b36['Text'],'config':{'placeholder':_0x15368e(0xe7)}},_0x13a2f5={},_0x35edb9=[],_0x4794c6={},_0x4b9f83={},_0x484e49={};for(let _0x4e03f7=0x0;_0x4e03f7<_0x269bd8;_0x4e03f7++){let _0x191352=_0x11ab64['id']+_0x15368e(0x254)+(_0x4e03f7+0x1);_0x13a2f5[_0x191352]={'id':_0x191352,'values':_0x11ab64[_0x15368e(0xff)]?{[_0x3debc1]:_0x11ab64['recordNamePrefix']+'\x20'+(_0x4e03f7+0x1)}:{},'orderKey':String(_0x4e03f7+0x1)['padStart'](0x4,'0'),'createdAt':_0x44f3b1,'updatedAt':_0x44f3b1},_0x35edb9[_0x15368e(0x143)](_0x191352),_0x4794c6[_0x191352]=_0x4e03f7,_0x4b9f83[_0x4e03f7]=_0x191352,_0x484e49[_0x4e03f7]={},_0x11ab64[_0x15368e(0xff)]&&(_0x484e49[_0x4e03f7][0x0]={'v':_0x11ab64[_0x15368e(0xff)]+'\x20'+(_0x4e03f7+0x1)});}let _0x21ed17={'id':_0x38731e,'tableId':_0x11ab64['id'],'name':_0x15368e(0x24e),'type':_0x7d70ae[_0x15368e(0x24e)],'fieldOrder':[_0x3debc1],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x11ab64['id'],'name':_0x11ab64['name'],'primaryFieldId':_0x3debc1,'fieldOrder':[_0x3debc1],'fields':{[_0x3debc1]:_0x575859},'records':_0x13a2f5,'recordOrder':_0x35edb9,'rowIndex':_0x4794c6,'rowId':_0x4b9f83,'colIndex':{[_0x3debc1]:0x0},'colId':{0x0:_0x3debc1},'cellData':_0x484e49,'views':{[_0x38731e]:_0x21ed17},'viewOrder':[_0x38731e]};}const Kr=_0x1040ac(0x334);function qr(_0x58ee83){const _0x54da78=_0x1040ac;var _0x55d6ca,_0x4a17a8;let _0xeca004=Gr({'id':_0x58ee83[_0x54da78(0x310)],'name':(_0x55d6ca=_0x58ee83['name'])==null?_0x58ee83[_0x54da78(0x12b)]:_0x55d6ca,'recordCount':0x0});return{..._0xeca004,'resources':{...(_0x4a17a8=_0xeca004[_0x54da78(0x9f)])==null?{}:_0x4a17a8,[Kr]:Xr(_0x58ee83)}};}function Jr(_0x320a13){const _0x3eda0e=_0x1040ac;return{'id':Y['id'],'params':{'unitId':_0x320a13['unitId'],'op':new R()['createTable'](_0x320a13[_0x3eda0e(0xe5)],_0x320a13[_0x3eda0e(0x2fc)],_0x320a13['index']),'trigger':_0x3eda0e(0x205)}};}function Yr(_0x3fff4d){const _0x25b47d=_0x1040ac;let _0x531e27=_0x3fff4d[_0x25b47d(0xe5)]['tableOrder'][_0x25b47d(0x28a)](_0x3fff4d[_0x25b47d(0x253)]);if(!(!_0x3fff4d['snapshot'][_0x25b47d(0x274)][_0x3fff4d[_0x25b47d(0x253)]]||_0x531e27<0x0))return{'id':Y['id'],'params':{'unitId':_0x3fff4d['unitId'],'op':new R()['deleteTable'](_0x3fff4d[_0x25b47d(0xe5)],_0x3fff4d[_0x25b47d(0x253)]),'trigger':_0x25b47d(0x205)}};}function Xr(_0x3caa96){const _0x51a264=_0x1040ac;return{'version':0x1,'embedId':_0x3caa96[_0x51a264(0x12b)],'hostAnchorId':_0x3caa96['hostAnchorId'],'childUnitId':_0x3caa96[_0x51a264(0x26d)],'childType':_0x3caa96['childType']};}function Zr(_0x219b80){const _0x28cf37=_0x1040ac;var _0x32d148;let _0x13f6a9=Math[_0x28cf37(0x2f7)](0x0,Number((_0x32d148=_0x219b80['decimalPlaces'])==null?0x0:_0x32d148)),_0x4c544f=_0x219b80['useThousands']===!0x1?'0':_0x28cf37(0x321),_0x2ee3b8=_0x13f6a9?'.'+'0'[_0x28cf37(0x261)](_0x13f6a9):'',_0x110efa=$r(_0x219b80[_0x28cf37(0x264)]);return''+(_0x219b80[_0x28cf37(0x118)]?ei(_0x219b80[_0x28cf37(0x118)]):'')+_0x4c544f+_0x2ee3b8+_0x110efa;}function Qr(_0x577fbd,_0x413fc8){const _0x53f134=_0x1040ac;let _0x93a2f0=Zr(_0x413fc8),_0x59b1da=_0x17245a[_0x53f134(0x25a)](_0x93a2f0,_0x577fbd,{'throws':!0x1});return ti(String(_0x59b1da),_0x413fc8[_0x53f134(0x284)],_0x413fc8[_0x53f134(0x14c)]);}function $r(_0x5b1519){const _0x4a63de=_0x1040ac;return _0x5b1519==='K'?_0x4a63de(0x1c8):_0x5b1519==='M'?_0x4a63de(0x272):_0x5b1519==='B'?_0x4a63de(0x156):'';}function ei(_0x61e18f){const _0x366c39=_0x1040ac;return/^[A-Z]+$/i[_0x366c39(0x34b)](_0x61e18f)?'\x22'+_0x61e18f+'\x22':_0x61e18f;}function ti(_0x427c81,_0x1f69a5,_0x5e09d4){const _0xb5c07b=_0x1040ac;let _0x1c99ea=_0x1f69a5===_0xb5c07b(0x2c0)?ni(_0x5e09d4):_0x1f69a5;return _0x1c99ea==='periodComma'?_0x427c81[_0xb5c07b(0xf8)](/,/g,'\x00')[_0xb5c07b(0xf8)](/\./g,',')[_0xb5c07b(0xf8)](/\0/g,'.'):_0x1c99ea===_0xb5c07b(0x337)?_0x427c81['replace'](/,/g,'\x20')[_0xb5c07b(0xf8)](/\./g,','):_0x1c99ea===_0xb5c07b(0x32c)?_0x427c81['replace'](/,/g,'\x20'):_0x427c81;}function ni(_0x3f113){const _0x59e2fe=_0x1040ac;var _0x205a89,_0xe44a6;let _0x1dc158=_0x3f113||Intl[_0x59e2fe(0xa2)]()[_0x59e2fe(0x273)]()[_0x59e2fe(0x14c)],_0x4df540;try{_0x4df540=new Intl['NumberFormat'](_0x1dc158,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x59e2fe(0x32d)](0xf4240);}catch{return _0x59e2fe(0x17d);}let _0x49537f=(_0x205a89=_0x4df540[_0x59e2fe(0x1cc)](_0x35e429=>_0x35e429[_0x59e2fe(0xd2)]===_0x59e2fe(0x1d1)))==null?void 0x0:_0x205a89[_0x59e2fe(0x11a)],_0x409675=(_0xe44a6=_0x4df540[_0x59e2fe(0x1cc)](_0x47e3bc=>_0x47e3bc[_0x59e2fe(0xd2)]===_0x59e2fe(0x2f0)))==null?void 0x0:_0xe44a6[_0x59e2fe(0x11a)],_0x4cdcb5=_0x49537f==='\u00a0'||_0x49537f==='\u202f'?'\x20':_0x49537f;return _0x4cdcb5==='.'&&_0x409675===','?_0x59e2fe(0x302):_0x4cdcb5==='\x20'&&_0x409675===','?_0x59e2fe(0x337):_0x4cdcb5==='\x20'&&_0x409675==='.'?'spacePeriod':_0x59e2fe(0x17d);}function ri(_0x1710d3,_0x4db54d){const _0x5f160d=_0x1040ac;var _0xaaa76f,_0x2d1a55;let _0x125a5b=_0x131bf1[_0x5f160d(0x263)](_0x1710d3),_0x205074=_0x4db54d[_0x5f160d(0x21d)]===!0x0,_0x19b60e=new Map(),_0x510a40=(_0xaaa76f=_0x4db54d[_0x5f160d(0xe0)])==null?()=>_0x5f160d(0x1f1)+_0x4322a8(0x8):_0xaaa76f,_0x546eb6=_0x125a5b[_0x5f160d(0x209)];return _0x4db54d[_0x5f160d(0x1ba)]&&(_0x546eb6=_0x125a5b['viewOrder'][_0x5f160d(0xb4)](_0x4f8224=>{let _0x2945b1=_0x510a40();return _0x19b60e['set'](_0x4f8224,_0x2945b1),_0x2945b1;})),{..._0x125a5b,'id':_0x4db54d['id'],'name':_0x4db54d[_0x5f160d(0x27a)],'records':_0x205074?_0x125a5b[_0x5f160d(0x1fa)]:{},'recordOrder':_0x205074?_0x125a5b[_0x5f160d(0x218)]:[],'rowIndex':_0x205074?_0x125a5b[_0x5f160d(0x2f6)]:{},'rowId':_0x205074?_0x125a5b['rowId']:{},'cellData':_0x205074?_0x125a5b[_0x5f160d(0x184)]:{},'resources':_0x205074?_0x125a5b[_0x5f160d(0x9f)]:{},'viewOrder':_0x546eb6,'views':Object[_0x5f160d(0x1fc)](Object[_0x5f160d(0x361)]((_0x2d1a55=_0x125a5b[_0x5f160d(0x165)])==null?{}:_0x2d1a55)[_0x5f160d(0xb4)](([_0x5185d3,_0x401c2f])=>{const _0x3a687c=_0x5f160d;var _0x51cdf4;let _0x3ab0d4=(_0x51cdf4=_0x19b60e[_0x3a687c(0x370)](_0x5185d3))==null?_0x4db54d['regenerateViewIds']?_0x510a40():_0x5185d3:_0x51cdf4;return[_0x3ab0d4,{..._0x401c2f,'id':_0x3ab0d4,'tableId':_0x4db54d['id']}];}))};}var ii=_0x1040ac(0x1cb),ai=_0x1040ac(0xcb);const oi={},si={};function ci(_0x4ad007){const _0x5ce56e=_0x1040ac;return new A()[_0x5ce56e(0x228)](_0x4ad007);}function li(_0x3bfd40){const _0x39a981=_0x1040ac;return _0x3bfd40[_0x39a981(0x1bc)][_0x39a981(0xb4)](_0x395453=>({'unitId':_0x3bfd40['unitId'],'sheetId':_0x3bfd40[_0x39a981(0x253)],'range':{'startRow':_0x395453['row'],'endRow':_0x395453[_0x39a981(0x231)],'startColumn':_0x395453[_0x39a981(0xb0)],'endColumn':_0x395453[_0x39a981(0xb0)]}}));}function ui(_0x3c7e0a,_0x3748cf){const _0x17d10e=_0x1040ac;return{[_0x3c7e0a]:Object[_0x17d10e(0x1fc)](_0x3748cf[_0x17d10e(0xb4)](_0x318d3f=>[_0x318d3f,'1']))};}let di=class extends _0x41e38b{constructor(_0x8dafa8,_0x46f0bb){const _0x2205a9=_0x1040ac;super(),this[_0x2205a9(0x2b0)]=_0x8dafa8,this['_univerInstanceService']=_0x46f0bb,this[_0x2205a9(0x2ef)]();}[_0x1040ac(0x2ef)](){const _0x4f192d=_0x1040ac;this[_0x4f192d(0x2b0)][_0x4f192d(0x1a5)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x2a1e9b=>this['_getJson1DirtyData'](_0x2a1e9b['params'])}),this[_0x4f192d(0x13d)](_0x5b27e8(()=>{const _0x5e1666=_0x4f192d;this[_0x5e1666(0x2b0)][_0x5e1666(0x2b3)](Y['id']);}));}[_0x1040ac(0x200)](_0x5a862d,_0x67a585){const _0x2df2c3=_0x1040ac;var _0x400d94;let _0x46161b=this['_univerInstanceService']['getUnit'](_0x5a862d,_0x5080c8[_0x2df2c3(0x271)]);return(_0x400d94=_0x46161b==null?void 0x0:_0x46161b[_0x2df2c3(0x1b7)]()[_0x2df2c3(0x274)][_0x67a585])==null?null:_0x400d94;}[_0x1040ac(0x2b2)](_0x22fd20){const _0x2f7280=_0x1040ac;if(_0x22fd20[_0x2f7280(0x2a5)]===_0x2f7280(0xad))return{};if(!_0x22fd20[_0x2f7280(0x2e7)]||!_0x22fd20['op'])return{'clearDependencyTreeCache':this[_0x2f7280(0x288)](),'forceCalculation':!0x0};let _0xd7d133=ci(_0x22fd20['op']),_0x26662e=this[_0x2f7280(0x199)](_0x22fd20[_0x2f7280(0x2e7)],_0xd7d133);if(_0x26662e[_0x2f7280(0x1ac)])return{'clearDependencyTreeCache':ui(_0x22fd20[_0x2f7280(0x2e7)],_0x26662e),'forceCalculation':!0x0};let _0x37bed6=Object[_0x2f7280(0x361)](this[_0x2f7280(0xbe)](_0x22fd20[_0x2f7280(0x2e7)],_0xd7d133))[_0x2f7280(0x1a6)](([_0x3bb47d,_0x2ab7ca])=>li({'unitId':_0x22fd20[_0x2f7280(0x2e7)],'tableId':_0x3bb47d,'patches':_0x2ab7ca}));return _0x37bed6[_0x2f7280(0x1ac)]?{'dirtyRanges':_0x37bed6}:{};}['_getStructureDirtyTableIds'](_0x40923b,_0x41bcff){const _0x501217=_0x1040ac;let _0x46f514=_0x41bcff['filter'](_0x1acb33=>_0x1acb33[_0x501217(0x160)]!=='cell')[_0x501217(0x1a6)](_0x31251c=>_0x31251c['tableId']?[_0x31251c['tableId']]:this[_0x501217(0x17b)](_0x40923b));return Array['from'](new Set(_0x46f514));}['_groupCellInvalidations'](_0x23df88,_0x2ecb9a){const _0x339de2=_0x1040ac;let _0x555a0f=new Set();return _0x2ecb9a[_0x339de2(0x2b8)]((_0x456403,_0x2c2b54)=>{const _0x207212=_0x339de2;var _0x9d6c5d;let _0x2d0e36=this['_toDirtyRangePatch'](_0x23df88,_0x2c2b54);if(!_0x2d0e36)return _0x456403;let _0x283147=_0x2c2b54[_0x207212(0x253)]+':'+_0x2d0e36['row']+':'+_0x2d0e36[_0x207212(0xb0)];return _0x555a0f[_0x207212(0x31e)](_0x283147)?_0x456403:(_0x555a0f[_0x207212(0xaa)](_0x283147),_0x456403[_0x2c2b54['tableId']]=(_0x9d6c5d=_0x456403[_0x2c2b54['tableId']])==null?[]:_0x9d6c5d,_0x456403[_0x2c2b54[_0x207212(0x253)]][_0x207212(0x143)](_0x2d0e36),_0x456403);},{});}['_toDirtyRangePatch'](_0x255312,_0x5404df){const _0xbf6f53=_0x1040ac;if(_0x5404df['reason']!==_0xbf6f53(0x2fb))return null;if(_0x5404df[_0xbf6f53(0x231)]!=null&&_0x5404df[_0xbf6f53(0x175)]!=null)return{'row':_0x5404df[_0xbf6f53(0x231)],'col':_0x5404df[_0xbf6f53(0x175)],'value':null};if(!_0x5404df[_0xbf6f53(0x158)]||!_0x5404df[_0xbf6f53(0x1d4)])return null;let _0x1df879=this['_getTable'](_0x255312,_0x5404df[_0xbf6f53(0x253)]);if(!_0x1df879)return null;let _0x503e25=we(_0x1df879,_0x5404df[_0xbf6f53(0x158)],_0x5404df[_0xbf6f53(0x1d4)]);return _0x503e25?{'row':_0x503e25[_0xbf6f53(0x231)],'col':_0x503e25[_0xbf6f53(0xb0)],'value':null}:null;}[_0x1040ac(0x17b)](_0x42116e){const _0x1975ae=_0x1040ac;var _0x3584ba;let _0x5a56ad=this[_0x1975ae(0x275)][_0x1975ae(0xb3)](_0x42116e,_0x5080c8['UNIVER_BASE']);return Object[_0x1975ae(0x29d)]((_0x3584ba=_0x5a56ad==null?void 0x0:_0x5a56ad[_0x1975ae(0x1b7)]()['tables'])==null?{}:_0x3584ba)['map'](_0x699948=>_0x699948['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0xf4098c=_0x1040ac;let _0x34e7ba=this[_0xf4098c(0x275)][_0xf4098c(0x10e)](_0x5080c8['UNIVER_BASE'])[_0xf4098c(0xb4)](_0x4da76c=>ui(_0x4da76c[_0xf4098c(0x35a)](),Object[_0xf4098c(0x1d0)](_0x4da76c[_0xf4098c(0x1b7)]()['tables'])));return Object[_0xf4098c(0x2bc)]({},..._0x34e7ba);}};di=U([H(0x0,_0x51097c),H(0x1,_0x1c5465)],di);const fi=_0x1d276[_0x1040ac(0x350)](String[_0x1040ac(0xd3)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x1d276['createRegExpFromSafeFragment'](String[_0x1040ac(0xd3)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x1d276[_0x1040ac(0x350)](String[_0x1040ac(0xd3)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x1d276['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x1040ac(0x369)](_0x558c69,_0x1c4c64=_0x558c69['id']){const _0x28d465=_0x1040ac;var _0x348982,_0x48a293;let _0x43df5b=(_0x348982=(_0x48a293=_0x558c69['recordOrder'])==null?void 0x0:_0x48a293[_0x28d465(0x1ac)])==null?Object[_0x28d465(0x29d)](_0x558c69[_0x28d465(0x1fa)])[_0x28d465(0x1ac)]:_0x348982;return{'sheetId':_0x1c4c64,'titleMap':new Map(_0x558c69[_0x28d465(0xce)][_0x28d465(0xb4)]((_0x2f3f44,_0x1d6c98)=>{const _0x1ecb52=_0x28d465;var _0x213836,_0x17712d;return[(_0x213836=(_0x17712d=_0x558c69[_0x1ecb52(0x351)][_0x2f3f44])==null?void 0x0:_0x17712d['name'])==null?_0x2f3f44:_0x213836,_0x1d6c98];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x43df5b-0x1),'startColumn':0x0,'endColumn':Math[_0x28d465(0x2f7)](0x0,_0x558c69[_0x28d465(0xce)][_0x28d465(0x1ac)]-0x1)},'showHeader':!0x1};}['registerSuperTable'](_0x33f8ed,_0x290806,_0x29b4be,_0x21a31b={}){const _0x1bcd68=_0x1040ac;var _0x995df6;let _0x386c85=this['createSuperTableReference'](_0x29b4be,(_0x995df6=_0x21a31b['sheetId'])==null?_0x29b4be['id']:_0x995df6);return new Set([_0x29b4be['id'],_0x29b4be['name'],_0x21a31b[_0x1bcd68(0x1a9)]][_0x1bcd68(0x308)](_0x92eb71=>!!_0x92eb71))['forEach'](_0x2799f8=>_0x33f8ed[_0x1bcd68(0x2b6)](_0x290806,_0x2799f8,_0x386c85)),_0x386c85;}['registerSuperTables'](_0x581706,_0x46e470){const _0x1cf0bd=_0x1040ac;let _0x1c942c=this[_0x1cf0bd(0x21e)](_0x46e470);return _0x1c942c[_0x1cf0bd(0x2d3)](({tableName:_0x5cf25c,reference:_0x40faf3})=>{_0x581706['registerTable'](_0x46e470['id'],_0x5cf25c,_0x40faf3);}),Array[_0x1cf0bd(0x136)](new Set(_0x1c942c[_0x1cf0bd(0xb4)](({reference:_0x5e792c})=>_0x5e792c)));}[_0x1040ac(0x21e)](_0x17bb16,_0xd19379){const _0x32417c=_0x1040ac;let _0x25186d=[],_0x53f222=_0xd19379?new Set(_0xd19379):null,_0x4193bd=new Map();return Object['values'](_0x17bb16[_0x32417c(0x274)])['forEach'](_0x3235ef=>{const _0x5a6a16=_0x32417c;var _0x3dd70c;let _0x5d5f2=_0x3235ef[_0x5a6a16(0x27a)][_0x5a6a16(0x1e6)]()['toLowerCase']();_0x4193bd[_0x5a6a16(0xdc)](_0x5d5f2,((_0x3dd70c=_0x4193bd['get'](_0x5d5f2))==null?0x0:_0x3dd70c)+0x1);}),Object[_0x32417c(0x29d)](_0x17bb16['tables'])[_0x32417c(0x308)](_0x164f59=>!_0x53f222||_0x53f222[_0x32417c(0x31e)](_0x164f59['id']))['forEach'](_0x100ddf=>{const _0x2181bb=_0x32417c;var _0x9ce7da;let _0x343400=this[_0x2181bb(0x369)](_0x100ddf,_0x100ddf['id']);_0x25186d[_0x2181bb(0x143)]({'tableId':_0x100ddf['id'],'tableName':_0x100ddf['id'],'reference':_0x343400}),((_0x9ce7da=_0x4193bd['get'](_0x100ddf['name'][_0x2181bb(0x1e6)]()[_0x2181bb(0x1da)]()))==null?0x0:_0x9ce7da)===0x1&&_0x25186d[_0x2181bb(0x143)]({'tableId':_0x100ddf['id'],'tableName':_0x100ddf[_0x2181bb(0x27a)],'reference':_0x343400});}),_0x25186d;}[_0x1040ac(0x169)](_0x48acf0,_0x218ffe,_0x4e471c={}){const _0x828f5e=_0x1040ac;let _0x244751=_0x48acf0['trim']();if(!_0x244751)return{'valid':!0x0};if(Ci(_0x244751))return{'valid':!0x1,'reason':_0x828f5e(0x339)};for(let _0xb2e093 of Si(_0x244751)){let _0x8c0301=ki(_0xb2e093,_0x218ffe,_0x4e471c['snapshot']);if(!_0x8c0301[_0x828f5e(0x2fc)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0xb2e093[_0x828f5e(0x1a9)]+_0x828f5e(0x1de)};if(!_0x8c0301['field'])return{'valid':!0x1,'reason':_0x828f5e(0x141)+_0xb2e093[_0x828f5e(0x2a6)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x1040ac(0x21a)](_0x54b1ba,_0x28769f,_0x5002fd={}){const _0x1fe080=_0x1040ac;let _0x3834d5=new Set();for(let _0x207bae of this['getStructuredDependencies'](_0x54b1ba,_0x28769f,_0x5002fd))_0x207bae[_0x1fe080(0x253)]===_0x28769f['id']&&_0x3834d5[_0x1fe080(0xaa)](_0x207bae[_0x1fe080(0x1d4)]);return Array[_0x1fe080(0x136)](_0x3834d5);}[_0x1040ac(0x111)](_0x298165,_0x28c98c,_0x3c6e09={}){const _0x955f9=_0x1040ac;let _0x4dcf80=new Map();for(let _0x4b2319 of Si(_0x298165)){let _0x2ed9e2=ki(_0x4b2319,_0x28c98c,_0x3c6e09[_0x955f9(0xe5)]);if(!_0x2ed9e2[_0x955f9(0x2fc)]||!_0x2ed9e2[_0x955f9(0x16b)])continue;let _0x5256f8=_0x2ed9e2[_0x955f9(0x2fc)]['id']+'\x1f'+_0x2ed9e2['field']['id'];_0x4dcf80[_0x955f9(0xdc)](_0x5256f8,{'tableId':_0x2ed9e2[_0x955f9(0x2fc)]['id'],'fieldId':_0x2ed9e2[_0x955f9(0x16b)]['id']});}return Array[_0x955f9(0x136)](_0x4dcf80[_0x955f9(0x29d)]());}};function vi(_0x232cbb,_0x42b65c){const _0x5b5505=_0x1040ac;var _0x2d7fa5;let _0xeed117=[],_0x436b89=(_0x2d7fa5=_0x42b65c['unitData'])==null?void 0x0:_0x2d7fa5[_0x232cbb['id']];return _0x436b89&&Object['entries'](_0x436b89)[_0x5b5505(0x2d3)](([_0x2bf13f,_0x155ea0])=>{const _0x164ffd=_0x5b5505;let _0x22a356=_0x232cbb['tables'][_0x2bf13f];if(!_0x22a356||!_0x155ea0)return;let _0x37bb72=E(_0x22a356),_0x220f59=[];new _0x512ea1(_0x155ea0)[_0x164ffd(0x1c9)]((_0x3e0792,_0x1ed58b,_0x3b9d88)=>{const _0x45160b=_0x164ffd;let _0x25c1a2=yi(_0x37bb72,_0x3e0792,_0x1ed58b,_0x3b9d88);_0x25c1a2&&_0x220f59[_0x45160b(0x143)](_0x25c1a2);}),_0x220f59[_0x164ffd(0x1ac)]&&_0xeed117['push']({'unitId':_0x232cbb['id'],'tableId':_0x2bf13f,'patches':_0x220f59});}),_0xeed117;}function yi(_0x4721df,_0xf9d760,_0xb394e2,_0x4a5c30){const _0x2c7a16=_0x1040ac;var _0x5c06cb,_0x29c5a4,_0x45835d,_0x911bc9,_0xe2013d;let _0x505918=(_0x5c06cb=_0x4721df[_0x2c7a16(0x247)])==null?void 0x0:_0x5c06cb[_0xf9d760],_0x2a0af0=(_0x29c5a4=_0x4721df[_0x2c7a16(0x2fa)])==null?void 0x0:_0x29c5a4[_0xb394e2];if(!_0x505918||!_0x4721df[_0x2c7a16(0x1fa)][_0x505918]||!_0x2a0af0)return null;let _0x23e33a=_0x4721df[_0x2c7a16(0x351)][_0x2a0af0];if(!_0x23e33a||_0x23e33a[_0x2c7a16(0xd2)]!==_0x2c7a16(0x345))return null;let _0x38e578=String((_0x45835d=(_0x911bc9=_0x23e33a['config'])==null?void 0x0:_0x911bc9[_0x2c7a16(0x345)])==null?'':_0x45835d)['trim'](),_0x181917=(_0xe2013d=_0x4a5c30==null?void 0x0:_0x4a5c30['v'])==null?null:_0xe2013d,_0x6b33a7={'v':_0x181917,'t':xi(_0x181917),..._0xf9d760===0x0&&_0x38e578?{'f':_0x38e578}:{},'si':_0x23e33a['id']};return bi(Te(_0x4721df,_0x505918,_0x2a0af0),_0x6b33a7)?null:{'row':_0xf9d760,'col':_0xb394e2,'value':_0x6b33a7};}function bi(_0xd5fd9,_0xe7847c){var _0x4523a3,_0x252c7a;return _0xd5fd9!=null&&Object['is']((_0x4523a3=_0xd5fd9['v'])==null?null:_0x4523a3,(_0x252c7a=_0xe7847c['v'])==null?null:_0x252c7a)&&_0xd5fd9['t']===_0xe7847c['t']&&_0xd5fd9['f']===_0xe7847c['f']&&_0xd5fd9['si']===_0xe7847c['si'];}function xi(_0x249960){const _0x13a8e4=_0x1040ac;return typeof _0x249960=='number'?_0xa873fd['NUMBER']:typeof _0x249960==_0x13a8e4(0x2e1)?_0xa873fd[_0x13a8e4(0x366)]:typeof _0x249960=='string'?_0xa873fd[_0x13a8e4(0xaf)]:null;}function Si(_0x58aba3){const _0x485805=_0x1040ac;_0x58aba3=wi(_0x58aba3,()=>'');let _0x195a17=new Map();for(let _0x48ff29 of _0x58aba3[_0x485805(0x330)](mi)){let _0x48a4b4={'fieldName':_0x48ff29[0x1]};_0x195a17[_0x485805(0xdc)]('\x1f'+_0x48a4b4[_0x485805(0x2a6)],_0x48a4b4);}for(let _0x5c9a57 of _0x58aba3[_0x485805(0x330)](hi)){let _0xeb4abf={'tableName':_0x5c9a57[0x1],'fieldName':_0x5c9a57[0x2]};_0x195a17[_0x485805(0xdc)](_0xeb4abf[_0x485805(0x1a9)]+'\x1f'+_0xeb4abf[_0x485805(0x2a6)],_0xeb4abf);}for(let _0x311b68 of _0x58aba3['matchAll'](gi)){let _0xc6331={'fieldName':_0x311b68[0x2]};_0x195a17[_0x485805(0xdc)]('\x1f'+_0xc6331['fieldName'],_0xc6331);}return Array[_0x485805(0x136)](_0x195a17[_0x485805(0x29d)]());}function Ci(_0xe040a1){const _0x4ef7f8=_0x1040ac;let _0x2fbaa4=Ti(_0xe040a1,()=>'\x20')[_0x4ef7f8(0xf8)](mi,'\x20')[_0x4ef7f8(0xf8)](hi,'\x20')[_0x4ef7f8(0xf8)](gi,_0x4ef7f8(0x206));return fi[_0x4ef7f8(0x34b)](_0x2fbaa4);}function wi(_0x99dd6b,_0x4b375a){return Di(Ti(_0x99dd6b,_0x4b375a),_0x4b375a);}function Ti(_0x326da7,_0x25acd5){const _0xb0c7e0=_0x1040ac;return pi[_0xb0c7e0(0x195)]=0x0,_0x326da7['replace'](pi,(_0x4e1335,_0x19c22b)=>Oi(_0x326da7,_0x19c22b)?_0x4e1335:_0x25acd5(_0x4e1335));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x51f4d6,_0xd794a2){const _0x57e271=_0x1040ac;let _0x270aac=[];Ei[_0x57e271(0x195)]=0x0;let _0x1f6eb0;for(;(_0x1f6eb0=Ei[_0x57e271(0x2de)](_0x51f4d6))!=null;){if(Oi(_0x51f4d6,_0x1f6eb0['index']))continue;let _0x5e7e41=Ei['lastIndex']-0x1,_0x3e97ca=0x0;for(let _0x1b0796=_0x5e7e41;_0x1b0796<_0x51f4d6[_0x57e271(0x1ac)];_0x1b0796++)if(_0x51f4d6[_0x1b0796]==='['&&_0x3e97ca++,_0x51f4d6[_0x1b0796]===']'&&(_0x3e97ca--,_0x3e97ca===0x0)){_0x270aac[_0x57e271(0x143)]({'start':_0x1f6eb0[_0x57e271(0x314)],'end':_0x1b0796+0x1}),Ei[_0x57e271(0x195)]=_0x1b0796+0x1;break;}}if(_0x270aac[_0x57e271(0x1ac)]===0x0)return _0x51f4d6;let _0x3f63db='',_0x3a75a8=0x0;for(let _0x4d5288 of _0x270aac)_0x3f63db+=_0x51f4d6[_0x57e271(0x35c)](_0x3a75a8,_0x4d5288['start']),_0x3f63db+=_0xd794a2(_0x51f4d6[_0x57e271(0x35c)](_0x4d5288['start'],_0x4d5288['end'])),_0x3a75a8=_0x4d5288[_0x57e271(0x23b)];return _0x3f63db+_0x51f4d6[_0x57e271(0x35c)](_0x3a75a8);}function Oi(_0x5de184,_0x5b00c1){let _0x129e4b=!0x1;for(let _0xf82c4c=0x0;_0xf82c4c<_0x5b00c1;_0xf82c4c++)if(_0x5de184[_0xf82c4c]==='\x22'){if(_0x129e4b&&_0x5de184[_0xf82c4c+0x1]==='\x22'){_0xf82c4c++;continue;}_0x129e4b=!_0x129e4b;}return _0x129e4b;}function ki(_0x212839,_0x1c24d5,_0x243c69){const _0x1d5874=_0x1040ac;let _0x4a997e=Ai(_0x212839[_0x1d5874(0x1a9)],_0x1c24d5,_0x243c69);return{'table':_0x4a997e,'field':_0x4a997e?Object[_0x1d5874(0x29d)](_0x4a997e['fields'])[_0x1d5874(0x1cc)](_0x38701f=>_0x38701f[_0x1d5874(0x27a)]===_0x212839[_0x1d5874(0x2a6)]):void 0x0};}function Ai(_0x816c50,_0x6e1876,_0x13aa98){const _0x40f37f=_0x1040ac;if(!_0x816c50||_0x816c50===_0x40f37f(0x2fc)||_0x816c50===_0x6e1876['id']||_0x816c50===_0x6e1876[_0x40f37f(0x27a)])return _0x6e1876;if(!_0x13aa98)return;let _0x4328e3=_0x13aa98[_0x40f37f(0x274)][_0x816c50];if(_0x4328e3)return _0x4328e3;let _0x1ad28f=Object[_0x40f37f(0x29d)](_0x13aa98['tables'])[_0x40f37f(0x308)](_0x3edc63=>_0x3edc63['name']===_0x816c50);return _0x1ad28f['length']===0x1?_0x1ad28f[0x0]:void 0x0;}let ji=class extends _0x41e38b{constructor(_0x107c2c,_0x1f3778,_0x413b52){const _0x2489e7=_0x1040ac;super(),this['_commandService']=_0x107c2c,this[_0x2489e7(0x275)]=_0x1f3778,B(this,_0x2489e7(0x1c3),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,_0x2489e7(0x191),Promise[_0x2489e7(0xe3)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x2489e7(0x2ef)]();}[_0x1040ac(0x2ef)](){const _0x252245=_0x1040ac;this['_univerInstanceService'][_0x252245(0x10e)](_0x5080c8['UNIVER_BASE'])['forEach'](_0x51926e=>{const _0x1c1de1=_0x252245;this[_0x1c1de1(0x2a7)](async()=>{const _0x403121=_0x1c1de1;await this[_0x403121(0x309)](_0x51926e);});}),this['disposeWithMe'](this['_univerInstanceService'][_0x252245(0x152)](_0x5080c8[_0x252245(0x271)])['subscribe'](({unit:_0x162c30})=>{const _0x35ea13=_0x252245;this[_0x35ea13(0x2a7)](async()=>{const _0x26a80b=_0x35ea13;await this[_0x26a80b(0x309)](_0x162c30);});})),this[_0x252245(0x13d)](this[_0x252245(0x275)][_0x252245(0xa9)](_0x5080c8[_0x252245(0x271)])[_0x252245(0x226)](_0x401078=>{const _0x124200=_0x252245;this[_0x124200(0x2a7)](()=>this[_0x124200(0xb8)](_0x401078[_0x124200(0x35a)]()));})),this[_0x252245(0x13d)](this[_0x252245(0x257)][_0x252245(0x149)](_0x401ce8=>this['_onCommandExecuted'](_0x401ce8)));}[_0x1040ac(0xfc)](_0x34dfb4){const _0x28b790=_0x1040ac;if(_0x34dfb4['id']===_0x13a86a['id']){Ni(_0x34dfb4[_0x28b790(0x196)])&&this[_0x28b790(0xc2)](_0x34dfb4[_0x28b790(0x196)]);return;}if(this[_0x28b790(0x16d)]||_0x34dfb4['id']!==Y['id'])return;let _0x4b123d=Mi(_0x34dfb4[_0x28b790(0x196)])?_0x34dfb4[_0x28b790(0x196)]:void 0x0,_0x91a6ad=_0x4b123d!=null&&_0x4b123d[_0x28b790(0x2e7)]?[this[_0x28b790(0x275)]['getUnit'](_0x4b123d[_0x28b790(0x2e7)],_0x5080c8[_0x28b790(0x271)])][_0x28b790(0x308)](_0x431310=>!!_0x431310):this[_0x28b790(0x275)][_0x28b790(0x10e)](_0x5080c8[_0x28b790(0x271)]),_0x1d4664=_0x4b123d==null?void 0x0:_0x4b123d['op'];_0x91a6ad[_0x28b790(0x2d3)](_0x4f2163=>{const _0x1ce5af=_0x28b790;let _0x34c11e=_0x1d4664?ci(_0x1d4664):[];(!_0x1d4664||_0x34c11e[_0x1ce5af(0x20d)](_0x391c82=>_0x391c82[_0x1ce5af(0x160)]!=='cell'))&&this[_0x1ce5af(0x2a7)](()=>this[_0x1ce5af(0x309)](_0x4f2163));});}async[_0x1040ac(0x309)](_0x545bee){const _0x5808db=_0x1040ac;var _0x1efb9a;let _0x87c8d=_0x545bee[_0x5808db(0x35a)](),_0x42d0aa=this[_0x5808db(0x1c3)][_0x5808db(0x21e)](_0x545bee[_0x5808db(0x1b7)]()),_0x12aafc=new Set(_0x42d0aa['map'](({tableName:_0x43a0d5})=>_0x43a0d5)),_0x288df0=(_0x1efb9a=this[_0x5808db(0x12f)][_0x5808db(0x370)](_0x87c8d))==null?new Set():_0x1efb9a;for(let _0x16607e of _0x288df0)_0x12aafc[_0x5808db(0x31e)](_0x16607e)||await this['_commandService'][_0x5808db(0x17a)](_0x42fb82['id'],{'unitId':_0x87c8d,'tableName':_0x16607e});for(let {tableName:_0x3a7044,reference:_0x2dcc04}of _0x42d0aa)await this[_0x5808db(0x257)][_0x5808db(0x17a)](_0x578ea3['id'],{'unitId':_0x87c8d,'tableName':_0x3a7044,'reference':_0x2dcc04});this[_0x5808db(0x12f)][_0x5808db(0xdc)](_0x87c8d,_0x12aafc);}async[_0x1040ac(0xb8)](_0x22fc20){const _0x58df72=_0x1040ac;var _0x6ad0f3;let _0x15fc6e=(_0x6ad0f3=this[_0x58df72(0x12f)][_0x58df72(0x370)](_0x22fc20))==null?new Set():_0x6ad0f3;for(let _0x4ac425 of _0x15fc6e)await this[_0x58df72(0x257)]['executeCommand'](_0x42fb82['id'],{'unitId':_0x22fc20,'tableName':_0x4ac425});this[_0x58df72(0x12f)]['delete'](_0x22fc20);}['_enqueueFormulaSync'](_0x34af3f){const _0x4b92e5=_0x1040ac;this[_0x4b92e5(0x191)]=this[_0x4b92e5(0x191)][_0x4b92e5(0xba)](_0x34af3f,_0x34af3f)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x5ed561){const _0x429221=_0x1040ac;let _0x26bb93=this[_0x429221(0x275)][_0x429221(0x10e)](_0x5080c8[_0x429221(0x271)])['flatMap'](_0x4c12f1=>vi(_0x4c12f1[_0x429221(0x1b7)](),_0x5ed561));if(!_0x26bb93[_0x429221(0x1ac)])return;let _0x53c319=new R(),_0x142db8=_0x26bb93[_0x429221(0x1a6)](_0x1e0aa6=>li({'unitId':_0x1e0aa6[_0x429221(0x2e7)],'tableId':_0x1e0aa6[_0x429221(0x253)],'patches':_0x1e0aa6[_0x429221(0x1bc)]}));this[_0x429221(0x16d)]=!0x0,(async()=>{const _0x112bf9=_0x429221;for(let _0x19e26d of _0x26bb93){let _0x123940=this[_0x112bf9(0x275)]['getUnit'](_0x19e26d[_0x112bf9(0x2e7)],_0x5080c8[_0x112bf9(0x271)]);_0x123940&&await this[_0x112bf9(0x257)][_0x112bf9(0x17a)](Y['id'],{'unitId':_0x19e26d[_0x112bf9(0x2e7)],'op':_0x53c319[_0x112bf9(0x10b)](_0x123940[_0x112bf9(0x1b7)](),_0x19e26d[_0x112bf9(0x253)],_0x19e26d[_0x112bf9(0x1bc)]),'trigger':_0x13a86a['id']},{'onlyLocal':!0x0});}await this[_0x112bf9(0x257)][_0x112bf9(0x17a)](_0x28b73a['id'],{'dirtyRanges':_0x142db8},{'onlyLocal':!0x0});})()[_0x429221(0xf3)](()=>{const _0x165053=_0x429221;this[_0x165053(0x16d)]=!0x1;});}};ji=U([H(0x0,_0x42c942),H(0x1,_0x1c5465),H(0x2,_0x43d182(_0x5c9fc2))],ji);function Mi(_0x331cb1){const _0x20b868=_0x1040ac;return typeof _0x331cb1==_0x20b868(0x101)&&!!_0x331cb1&&_0x20b868(0x2e7)in _0x331cb1&&typeof _0x331cb1[_0x20b868(0x2e7)]=='string'&&'op'in _0x331cb1&&Array['isArray'](_0x331cb1['op']);}function Ni(_0x1f3330){const _0x43457a=_0x1040ac;return typeof _0x1f3330==_0x43457a(0x101)&&!!_0x1f3330&&_0x43457a(0x190)in _0x1f3330&&_0x43457a(0xa5)in _0x1f3330;}const Pi=_0x43b5b5('base.resource.service');let Fi=class{constructor(_0x49438f){const _0x42cc47=_0x1040ac;this[_0x42cc47(0x275)]=_0x49438f;}['getBase'](_0x4bd7ed){const _0x1bcfa9=_0x1040ac;var _0x4af5aa;return(_0x4af5aa=this[_0x1bcfa9(0x275)][_0x1bcfa9(0xb3)](_0x4bd7ed,_0x5080c8[_0x1bcfa9(0x271)]))==null?null:_0x4af5aa;}[_0x1040ac(0x163)](){const _0x70a36d=_0x1040ac;return this[_0x70a36d(0x275)][_0x70a36d(0x10e)](_0x5080c8[_0x70a36d(0x271)]);}['createBase'](_0x152402){const _0x14c392=_0x1040ac;return this[_0x14c392(0x275)][_0x14c392(0x2af)](_0x5080c8[_0x14c392(0x271)],_0x152402);}};Fi=U([H(0x0,_0x1c5465)],Fi);const Ii=_0x43b5b5('base.view-registry.service');var Li=class extends _0x41e38b{constructor(..._0x37ea08){const _0x1e895a=_0x1040ac;super(..._0x37ea08),B(this,_0x1e895a(0x1bd),new Map());}[_0x1040ac(0x1a5)](_0x58957d){const _0x253397=_0x1040ac;return this[_0x253397(0x1bd)][_0x253397(0xdc)](_0x58957d['type'],_0x58957d),_0x5b27e8(()=>this[_0x253397(0x1bd)][_0x253397(0x2aa)](_0x58957d[_0x253397(0xd2)]));}['get'](_0x4934d0){const _0x4d43b8=_0x1040ac;let _0xeddce1=this['_plugins']['get'](_0x4934d0);if(!_0xeddce1)throw Error(_0x4d43b8(0x115)+_0x4934d0+_0x4d43b8(0x2e6));return _0xeddce1;}[_0x1040ac(0x15a)](){const _0x107c7c=_0x1040ac;return Array['from'](this['_plugins'][_0x107c7c(0x29d)]());}};const Ri=[Y];let Z=class extends _0x33a25c{constructor(_0x25b68a=oi,_0x208e2e,_0x592870,_0x46ba79,_0x33210d,_0x4b9426){const _0x3dab1d=_0x1040ac;super(),this['_config']=_0x25b68a,this[_0x3dab1d(0x1fb)]=_0x208e2e,this[_0x3dab1d(0x257)]=_0x592870,this[_0x3dab1d(0x275)]=_0x46ba79,this['_configService']=_0x33210d,this[_0x3dab1d(0x104)]=_0x4b9426,B(this,_0x3dab1d(0x125),new Map());let {..._0x534c0d}=_0x4343ea({},oi,this[_0x3dab1d(0x1f5)]);this['_configService'][_0x3dab1d(0x189)](_0x3dab1d(0x1e8),_0x534c0d),this['_univerInstanceService'][_0x3dab1d(0x1d2)](_0x5080c8[_0x3dab1d(0x271)],_0x3f9aba),this[_0x3dab1d(0x25f)](),this[_0x3dab1d(0x1bb)](),this[_0x3dab1d(0x128)](),this['_initDataSync']();}[_0x1040ac(0x1b8)](){const _0x4a22a3=_0x1040ac;_0x39d020(this['_injector'],[[Fi],[on],[di]]),this[_0x4a22a3(0x275)][_0x4a22a3(0x10e)](_0x5080c8[_0x4a22a3(0x271)])['forEach'](_0x138036=>this[_0x4a22a3(0x35f)](_0x138036[_0x4a22a3(0x35a)]())),_0x39d020(this[_0x4a22a3(0x1fb)],[[ji]]);}['_initDependencies'](){const _0x464dc7=_0x1040ac;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x464dc7(0x2d3)](_0x4372b6=>this['_injector'][_0x464dc7(0xaa)](_0x4372b6));}[_0x1040ac(0x1bb)](){const _0x4bdeb8=_0x1040ac;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri][_0x4bdeb8(0x2d3)](_0x3ddfd1=>this['disposeWithMe'](this[_0x4bdeb8(0x257)][_0x4bdeb8(0x23f)](_0x3ddfd1))),Ri['forEach'](_0x502866=>{const _0x319fb2=_0x4bdeb8;var _0x267982;return(_0x267982=this[_0x319fb2(0x104)])==null?void 0x0:_0x267982['registerSyncingMutations'](_0x502866);});}[_0x1040ac(0x358)](){const _0x5520b6=_0x1040ac;this[_0x5520b6(0x104)]&&(this['disposeWithMe'](this[_0x5520b6(0x275)]['getTypeOfUnitAdded$'](_0x5080c8[_0x5520b6(0x271)])[_0x5520b6(0x226)](({unit:_0x351e9b})=>{const _0x1be3d5=_0x5520b6;this[_0x1be3d5(0x35f)](_0x351e9b[_0x1be3d5(0x35a)]());})),this[_0x5520b6(0x13d)](this[_0x5520b6(0x275)][_0x5520b6(0xa9)](_0x5080c8[_0x5520b6(0x271)])[_0x5520b6(0x226)](_0x1ac933=>{const _0x59ccc9=_0x5520b6;var _0x2f4786;(_0x2f4786=this[_0x59ccc9(0x125)]['get'](_0x1ac933[_0x59ccc9(0x35a)]()))==null||_0x2f4786['dispose'](),this[_0x59ccc9(0x125)][_0x59ccc9(0x2aa)](_0x1ac933['getUnitId']());})));}[_0x1040ac(0x35f)](_0x2af426){const _0xe2c812=_0x1040ac;!this[_0xe2c812(0x104)]||this[_0xe2c812(0x125)]['has'](_0x2af426)||this[_0xe2c812(0x125)][_0xe2c812(0xdc)](_0x2af426,this[_0xe2c812(0x104)][_0xe2c812(0x364)](_0x2af426));}['_initRegistries'](){const _0x8a480c=_0x1040ac;let _0x43a65a=this[_0x8a480c(0x1fb)][_0x8a480c(0x370)](en);At()['forEach'](_0x470675=>_0x43a65a['register'](_0x470675));let _0xaf12f9=this['_injector'][_0x8a480c(0x370)](Ii),_0x27e97d=this[_0x8a480c(0x1fb)]['get'](_n);fn()['forEach'](_0x590048=>{const _0x526cfe=_0x8a480c;_0xaf12f9[_0x526cfe(0x1a5)](_0x590048),_0x27e97d[_0x526cfe(0x235)](_0x590048);});}};B(Z,_0x1040ac(0x332),'BASES_PLUGIN'),B(Z,_0x1040ac(0x333),ii),B(Z,_0x1040ac(0x33b),ai),B(Z,_0x1040ac(0xd2),_0x5080c8[_0x1040ac(0x271)]),Z=U([_0x4c3b1d(_0x55f49d,_0x372b1b),H(0x1,_0x43d182(_0x5f5298)),H(0x2,_0x42c942),H(0x3,_0x1c5465),H(0x4,_0x4eab42),H(0x5,_0x794887(_0x19aa01))],Z);let Q=class extends _0x33a25c{constructor(_0x6c5281=si,_0x4f3b46,_0x4135d5,_0xd17a60,_0x732b09){const _0x1c4d54=_0x1040ac;super(),this[_0x1c4d54(0x1f5)]=_0x6c5281,this[_0x1c4d54(0x1fb)]=_0x4f3b46,this[_0x1c4d54(0x257)]=_0x4135d5,this['_configService']=_0xd17a60,this[_0x1c4d54(0x275)]=_0x732b09;let {..._0x4b7443}=_0x4343ea({},si,this[_0x1c4d54(0x1f5)]);this[_0x1c4d54(0x16c)][_0x1c4d54(0x189)](_0x1c4d54(0x19d),_0x4b7443),this[_0x1c4d54(0x275)][_0x1c4d54(0x1d2)](_0x5080c8[_0x1c4d54(0x271)],_0x3f9aba),Ri[_0x1c4d54(0x2d3)](_0x1d450c=>this[_0x1c4d54(0x13d)](this[_0x1c4d54(0x257)]['registerCommand'](_0x1d450c)));}};B(Q,_0x1040ac(0x332),_0x1040ac(0x324)),B(Q,_0x1040ac(0x333),ii),B(Q,'version',ai),B(Q,'type',_0x5080c8[_0x1040ac(0x271)]),Q=U([_0x4c3b1d(_0x55f49d,_0x372b1b),H(0x1,_0x43d182(_0x5f5298)),H(0x2,_0x42c942),H(0x3,_0x4eab42),H(0x4,_0x1c5465)],Q);function zi(_0xaab4fd){const _0x55ef31=_0x1040ac;let _0xe46013=Qi(_0xaab4fd['query']);if(!_0xe46013)return{'query':'','total':0x0,'matches':[]};let _0x52f17f=[],_0x199608=[];for(let _0x1192a2=0x0;_0x1192a2<_0xaab4fd[_0x55ef31(0x25d)][_0x55ef31(0x1ac)];_0x1192a2++){if(!(_0x1192a2 in _0xaab4fd['fieldIds']))continue;let _0x10c38f=_0xaab4fd['table'][_0x55ef31(0x351)][_0xaab4fd['fieldIds'][_0x1192a2]];_0x10c38f&&_0x199608[_0x55ef31(0x143)]({'field':_0x10c38f,'fieldIndex':_0x1192a2});}_0xaab4fd['rows']['forEach']((_0x503a96,_0x49aaa8)=>{_0x199608['forEach'](({field:_0x247e49,fieldIndex:_0xf239bd})=>{const _0x4b05af=_0x4ff6;let _0x5be084=Bi(_0x503a96[_0x4b05af(0x29d)][_0x247e49['id']],_0x247e49);if(!_0x5be084)return;let _0x1dcb88=Zi(_0xe46013,_0x5be084[_0x4b05af(0x202)]);_0x1dcb88<=0x0||_0x52f17f[_0x4b05af(0x143)]({'recordId':_0x503a96[_0x4b05af(0x158)],'fieldId':_0x247e49['id'],'fieldType':_0x247e49[_0x4b05af(0xd2)],'text':_0x5be084[_0x4b05af(0x249)],'score':_0x1dcb88,'rowIndex':_0x49aaa8,'fieldIndex':_0xf239bd});});}),_0x52f17f['sort']((_0x4cd658,_0x501949)=>_0x501949[_0x55ef31(0x214)]-_0x4cd658[_0x55ef31(0x214)]||_0x4cd658[_0x55ef31(0x2f6)]-_0x501949[_0x55ef31(0x2f6)]||_0x4cd658['fieldIndex']-_0x501949[_0x55ef31(0x185)]);let _0x4412fd=_0xaab4fd[_0x55ef31(0x32a)]==null?_0x52f17f:_0x52f17f[_0x55ef31(0x35c)](0x0,Math[_0x55ef31(0x2f7)](0x0,_0xaab4fd[_0x55ef31(0x32a)]));return{'query':_0xe46013,'total':_0x52f17f[_0x55ef31(0x1ac)],'matches':ea(_0x4412fd)};}function Bi(_0x2c158b,_0x2c9319){const _0x3146b1=_0x1040ac;let _0x96a230=[];for(let _0x533ca3 of Hi(_0x2c158b,_0x2c9319)){let _0x23defa=Qi(_0x533ca3);_0x23defa&&_0x96a230[_0x3146b1(0x143)](_0x23defa);}return _0x96a230[_0x3146b1(0x1ac)]?{'displayText':Vi(_0x2c158b,_0x2c9319),'searchTexts':$i(_0x96a230)}:null;}function Vi(_0x2c3da6,_0x4b15b3){const _0x1435a1=_0x1040ac;switch(_0x4b15b3[_0x1435a1(0xd2)]){case _0x406b36[_0x1435a1(0x1c7)]:case _0x406b36[_0x1435a1(0x2ce)]:case _0x406b36['Group']:return Ui(_0x2c3da6,_0x4b15b3)['join'](',\x20');case _0x406b36[_0x1435a1(0xa6)]:return Ki(_0x2c3da6);case _0x406b36[_0x1435a1(0x107)]:case _0x406b36['CreatedAt']:case _0x406b36['UpdatedAt']:return qi(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x123)]:case _0x406b36['Currency']:return Ji(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x1fe)]:return Yi(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x32e)]:return _0x2c3da6?_0x1435a1(0x167):_0x1435a1(0x1ea);case _0x406b36[_0x1435a1(0x197)]:return Xi(_0x2c3da6)[_0x1435a1(0x134)](',\x20');default:return $(_0x2c3da6);}}function Hi(_0x125116,_0x1caa96){const _0x582804=_0x1040ac;switch(_0x1caa96['type']){case _0x406b36[_0x582804(0x1c7)]:case _0x406b36[_0x582804(0x2ce)]:case _0x406b36[_0x582804(0x26b)]:{let _0x36b97a=Ui(_0x125116,_0x1caa96);if(Array[_0x582804(0x1c5)](_0x125116)){let _0x29fd89=[..._0x36b97a];for(let _0x44cec1=0x0;_0x44cec1<_0x125116['length'];_0x44cec1++)_0x44cec1 in _0x125116&&_0x29fd89['push'](String(_0x125116[_0x44cec1]));return _0x29fd89;}return _0x125116==null?_0x36b97a:[..._0x36b97a,String(_0x125116)];}case _0x406b36[_0x582804(0xa6)]:{let _0x26c20e=Gi(_0x125116);return[_0x26c20e[_0x582804(0x2ea)],_0x26c20e[_0x582804(0x36e)]];}case _0x406b36[_0x582804(0x107)]:case _0x406b36[_0x582804(0x34e)]:case _0x406b36[_0x582804(0xc5)]:return[qi(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36[_0x582804(0x123)]:case _0x406b36[_0x582804(0xcf)]:return[Ji(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36['Progress']:return[Yi(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36[_0x582804(0x32e)]:return _0x125116?['Checked','Yes','True']:[_0x582804(0x1ea),'No',_0x582804(0x18e)];case _0x406b36[_0x582804(0x197)]:return Xi(_0x125116);default:return[$(_0x125116)];}}function Ui(_0x59b918,_0x576535){const _0x10cab6=_0x1040ac;var _0x30d84e;let _0x101f00=Array[_0x10cab6(0x1c5)]((_0x30d84e=_0x576535['config'])==null?void 0x0:_0x30d84e[_0x10cab6(0x1d9)])?_0x576535[_0x10cab6(0x2ed)][_0x10cab6(0x1d9)]:[],_0x2a520f=[];if(Array['isArray'](_0x59b918)){for(let _0x4f541d=0x0;_0x4f541d<_0x59b918[_0x10cab6(0x1ac)];_0x4f541d++){if(!(_0x4f541d in _0x59b918))continue;let _0x3e381a=String(_0x59b918[_0x4f541d]);_0x3e381a&&_0x2a520f[_0x10cab6(0x143)](Wi(_0x101f00,_0x3e381a));}return _0x2a520f;}if(_0x59b918!=null){let _0xf3fb90=String(_0x59b918);_0xf3fb90&&_0x2a520f[_0x10cab6(0x143)](Wi(_0x101f00,_0xf3fb90));}return _0x2a520f;}function Wi(_0x23a522,_0xbb6bf3){const _0x542287=_0x1040ac;for(let _0x4c50d0 of _0x23a522){if(typeof _0x4c50d0==_0x542287(0x2e9)&&_0x4c50d0===_0xbb6bf3)return _0x4c50d0;if(_0x4c50d0&&typeof _0x4c50d0==_0x542287(0x101)){var _0x46915c,_0x35d24e,_0x58c83e;let _0x5b9d3e=_0x4c50d0;if(String((_0x46915c=(_0x35d24e=_0x5b9d3e['id'])==null?_0x5b9d3e['name']:_0x35d24e)==null?'':_0x46915c)===_0xbb6bf3||String((_0x58c83e=_0x5b9d3e[_0x542287(0x27a)])==null?'':_0x58c83e)===_0xbb6bf3){var _0xdd81d7,_0x4b842c;return String((_0xdd81d7=(_0x4b842c=_0x5b9d3e[_0x542287(0x27a)])==null?_0x5b9d3e['id']:_0x4b842c)==null?_0xbb6bf3:_0xdd81d7);}}}return _0xbb6bf3;}function Gi(_0x941f71){const _0x3a7c3d=_0x1040ac;if(_0x941f71&&typeof _0x941f71=='object'&&!Array[_0x3a7c3d(0x1c5)](_0x941f71)){var _0x2f4d74,_0x2053e2,_0x5e03a7;let _0x4fe52d=_0x941f71;return{'text':String((_0x2f4d74=(_0x2053e2=_0x4fe52d[_0x3a7c3d(0x2ea)])==null?_0x4fe52d[_0x3a7c3d(0x36e)]:_0x2053e2)==null?'':_0x2f4d74),'url':String((_0x5e03a7=_0x4fe52d[_0x3a7c3d(0x36e)])==null?'':_0x5e03a7)};}return{'text':$(_0x941f71),'url':$(_0x941f71)};}function Ki(_0x39a9a9){const _0x13d8c3=_0x1040ac;let _0x744499=Gi(_0x39a9a9);return _0x744499[_0x13d8c3(0x2ea)]||_0x744499['url'];}function qi(_0x2974da,_0x27a955){const _0x4d33fa=_0x1040ac;return typeof _0x2974da!='number'||!Number[_0x4d33fa(0x299)](_0x2974da)?'':st(_0x2974da,_0x27a955[_0x4d33fa(0x2ed)]);}function Ji(_0x2d219d,_0x36aefb){const _0x2fb63d=_0x1040ac;let _0x4d97de=typeof _0x2d219d=='number'?_0x2d219d:Number(_0x2d219d);return Number['isFinite'](_0x4d97de)?Qr(_0x4d97de,_0x36aefb[_0x2fb63d(0x2ed)]):'';}function Yi(_0x5e5517,_0x5160e8){const _0x19c348=_0x1040ac;var _0x397430;let _0x42d09d=typeof _0x5e5517=='number'?_0x5e5517:Number(_0x5e5517);if(!Number['isFinite'](_0x42d09d))return'';let _0x5b506c=(_0x397430=_0x5160e8[_0x19c348(0x2ed)])==null?{}:_0x397430,_0x13ed6a=_0x5b506c[_0x19c348(0x204)]===0x1||_0x5b506c[_0x19c348(0x204)]===0x2?_0x5b506c['decimalPlaces']:0x0,_0x458a23=_0x42d09d[_0x19c348(0x357)](_0x13ed6a);return _0x5b506c[_0x19c348(0x25a)]==='number'?_0x458a23:_0x458a23+'%';}function Xi(_0x4a4af0){const _0x5f08d1=_0x1040ac;return Array[_0x5f08d1(0x1c5)](_0x4a4af0)?_0x4a4af0[_0x5f08d1(0x1a6)](_0x141cf1=>{const _0x3108d0=_0x5f08d1;var _0x2f9e40,_0x4b14b9;if(!_0x141cf1||typeof _0x141cf1!=_0x3108d0(0x101))return[];let _0x2423f1=_0x141cf1,_0x159be7=String((_0x2f9e40=(_0x4b14b9=_0x2423f1[_0x3108d0(0x27a)])==null?_0x2423f1[_0x3108d0(0x36e)]:_0x4b14b9)==null?'':_0x2f9e40)[_0x3108d0(0x1e6)]();return _0x159be7?[_0x159be7]:[];}):[];}function $(_0x16d145){const _0x14cfe4=_0x1040ac;if(_0x16d145==null)return'';if(typeof _0x16d145==_0x14cfe4(0x2e1))return _0x16d145?_0x14cfe4(0x20f):_0x14cfe4(0x129);if(typeof _0x16d145=='number')return String(_0x16d145);if(Array[_0x14cfe4(0x1c5)](_0x16d145)){let _0x1b6b38=[];for(let _0x25e878=0x0;_0x25e878<_0x16d145[_0x14cfe4(0x1ac)];_0x25e878++){if(!(_0x25e878 in _0x16d145))continue;let _0x8d1eb9=$(_0x16d145[_0x25e878]);_0x8d1eb9&&_0x1b6b38['push'](_0x8d1eb9);}return _0x1b6b38['join'](',\x20');}if(typeof _0x16d145==_0x14cfe4(0x101)){var _0x1e6d91,_0x332506,_0x1bccf3,_0x77271a;let _0x54f332=_0x16d145;return String((_0x1e6d91=(_0x332506=(_0x1bccf3=(_0x77271a=_0x54f332[_0x14cfe4(0x336)])==null?_0x54f332['name']:_0x77271a)==null?_0x54f332[_0x14cfe4(0x2ea)]:_0x1bccf3)==null?_0x54f332[_0x14cfe4(0x36e)]:_0x332506)==null?'':_0x1e6d91)[_0x14cfe4(0x1e6)]();}return String(_0x16d145);}function Zi(_0x49427c,_0x87553e){const _0x1f6a41=_0x1040ac;let _0x1cffa8=0x0;for(let _0x5d8308 of _0x87553e)if(_0x5d8308){if(_0x5d8308===_0x49427c){_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0x12c);continue;}if(_0x5d8308[_0x1f6a41(0xa7)](_0x49427c)){_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0xfa);continue;}_0x5d8308['includes'](_0x49427c)&&(_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0xc8));}return _0x1cffa8;}function Qi(_0x520d92){const _0x33bfd7=_0x1040ac;return _0x520d92[_0x33bfd7(0x1e6)]()[_0x33bfd7(0xf8)](/\s+/g,'\x20')['toLowerCase']();}function $i(_0x1f6d9a){const _0x1a77f5=_0x1040ac;return Array[_0x1a77f5(0x136)](new Set(_0x1f6d9a));}function ea(_0x690737){const _0x56b3ad=_0x1040ac;let _0x23a4f9=[];for(let {rowIndex:_0x4a8570,fieldIndex:_0x18d18f,..._0x5e0ea9}of _0x690737)_0x23a4f9[_0x56b3ad(0x143)](_0x5e0ea9);return _0x23a4f9;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};
|
|
1
|
+
const _0x396ed2=_0x5744;(function(_0x53fdf5,_0x49d7bf){const _0x29baf9=_0x5744,_0x57991f=_0x53fdf5();while(!![]){try{const _0x5c4075=parseInt(_0x29baf9(0x384))/0x1*(-parseInt(_0x29baf9(0x3a2))/0x2)+-parseInt(_0x29baf9(0x33a))/0x3*(parseInt(_0x29baf9(0x212))/0x4)+parseInt(_0x29baf9(0x1b9))/0x5*(parseInt(_0x29baf9(0x2fd))/0x6)+parseInt(_0x29baf9(0x318))/0x7+-parseInt(_0x29baf9(0x252))/0x8+parseInt(_0x29baf9(0x21b))/0x9+parseInt(_0x29baf9(0x1d1))/0xa;if(_0x5c4075===_0x49d7bf)break;else _0x57991f['push'](_0x57991f['shift']());}catch(_0x4675dc){_0x57991f['push'](_0x57991f['shift']());}}}(_0x3d4a,0x86535));import{BaseDataModel as _0x46e527,BaseFieldType as _0x1e4a6b,BaseFilterConjunction as _0x1b2ae1,BaseSortDirection as _0x54483d,BaseViewType as _0x51a654,CellValueType as _0x5e55fc,CommandType as _0x533ada,DependentOn as _0x58d15d,Disposable as _0x4c331b,ICommandService as _0x40924c,IConfigService as _0x20ec7f,IUndoRedoService as _0xf32056,IUniverInstanceService as _0x726745,Inject as _0x351210,Injector as _0x2217d0,JSON1 as _0x6fccb6,ObjectMatrix as _0x14ef58,Optional as _0x240cfb,Plugin as _0x3ca0db,Tools as _0x32f40f,UniverInstanceType as _0x545be5,createIdentifier as _0x2adec3,dateKit as _0x3392d4,generateRandomId as _0x42f468,merge as _0x46244f,numfmt as _0xac5c9d,regexp as _0x301934,sequenceExecute as _0x422ae7,toDisposable as _0x37a382,touchDependencies as _0x4e84d6}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x4c060b,IActiveDirtyManagerService as _0xe982eb,RemoveSuperTableMutation as _0x5f0ad7,SetFormulaCalculationResultMutation as _0x5dc15c,SetSuperTableMutation as _0x28033a,SetTriggerFormulaCalculationStartMutation as _0x39bd47,UniverProFormulaEnginePlugin as _0x21bd3b,refactorFormulaUnitQualifier as _0x8d3a01}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0xb68e7e}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x110092}from'@univerjs/rpc';let he=0x0;function ge(){const _0x12be33=_0x5744;if(globalThis[_0x12be33(0x3e7)]===!0x0)return!0x0;try{let _0x2455c9=typeof location>'u'?'':location[_0x12be33(0x40d)],_0x4a0cdc=new URLSearchParams(_0x2455c9);if(_0x4a0cdc[_0x12be33(0x2bb)](_0x12be33(0x41b))==='1'||_0x4a0cdc['get'](_0x12be33(0x41b))===_0x12be33(0x2a7)||_0x4a0cdc[_0x12be33(0x2bb)](_0x12be33(0x349))==='1')return!0x0;}catch{}try{let _0x58c1f4=typeof localStorage>'u'?null:localStorage[_0x12be33(0x272)](_0x12be33(0x41a));return _0x58c1f4==='1'||_0x58c1f4==='true';}catch{return!0x1;}}function T(_0x6a4a6f,_0x24cc64,_0x35efbf){const _0x9d613c=_0x5744;if(!ge())return _0x24cc64();let _0x59a57f=ve(),_0x29d757='base-perf-'+he++;ye(_0x29d757+_0x9d613c(0x382));try{return _0x24cc64();}finally{let _0x19ddae=ve()-_0x59a57f;ye(_0x29d757+_0x9d613c(0x322)),be(_0x6a4a6f,_0x29d757+_0x9d613c(0x382),_0x29d757+':end'),_e(_0x6a4a6f,_0x19ddae,_0x35efbf);}}function _e(_0x516af0,_0x12f893,_0x2dcde6){const _0x329778=_0x5744;if(!ge())return;let _0x3e0f63=Math[_0x329778(0x25c)](_0x12f893*0x64)/0x64,_0x1e3814=_0x2dcde6&&Object[_0x329778(0x234)](_0x2dcde6)[_0x329778(0x1dd)]?'\x20'+JSON[_0x329778(0x219)](_0x2dcde6):'';console[_0x329778(0x2dd)](_0x329778(0x3cb)+_0x516af0+':\x20'+_0x3e0f63+'ms'+_0x1e3814);}function ve(){const _0x138cf1=_0x5744;return typeof performance<'u'&&typeof performance[_0x138cf1(0x29f)]==_0x138cf1(0x1c5)?performance[_0x138cf1(0x29f)]():Date['now']();}function ye(_0x1bea2d){const _0x3801f5=_0x5744;try{if(typeof performance<'u'){var _0x31977a,_0x9c7291;(_0x31977a=(_0x9c7291=performance)['mark'])==null||_0x31977a[_0x3801f5(0x1c1)](_0x9c7291,_0x1bea2d);}}catch{}}function be(_0x4074e6,_0x2a28ae,_0x53fce5){const _0x3f10c4=_0x5744;try{if(typeof performance<'u'){var _0x46f445,_0x444a8e;(_0x46f445=(_0x444a8e=performance)['measure'])==null||_0x46f445[_0x3f10c4(0x1c1)](_0x444a8e,_0x3f10c4(0x3cb)+_0x4074e6,_0x2a28ae,_0x53fce5);}}catch{}}function E(_0x5418f9){const _0x19e320=_0x5744;var _0x5f4413,_0x231471;return ge()?T(_0x19e320(0x383),()=>xe(_0x5418f9),{'tableId':_0x5418f9['id'],'records':Object[_0x19e320(0x234)]((_0x5f4413=_0x5418f9['records'])==null?{}:_0x5f4413)[_0x19e320(0x1dd)],'fields':_0x5418f9[_0x19e320(0x201)][_0x19e320(0x1dd)],'hasRecordOrder':!!((_0x231471=_0x5418f9['recordOrder'])!=null&&_0x231471[_0x19e320(0x1dd)])}):xe(_0x5418f9);}function xe(_0x240b83){const _0x4e8a4d=_0x5744;var _0x18727b,_0x560d3d,_0x5573cd,_0x593dc1,_0x3cb1d5,_0x2be296,_0x1a1ce5,_0x16ed26,_0x5ac803,_0x2f466c;let _0x23764b=(_0x18727b=_0x240b83['records'])==null?{}:_0x18727b,_0x3255a0=(_0x560d3d=_0x240b83[_0x4e8a4d(0x2f3)])==null?{}:_0x560d3d,_0x2de0ed=(_0x5573cd=(_0x593dc1=_0x240b83[_0x4e8a4d(0x3ab)])==null?void 0x0:_0x593dc1[_0x4e8a4d(0x24f)](_0x5dcf6a=>_0x23764b[_0x5dcf6a]))==null?[]:_0x5573cd,_0x48107e=new Set(_0x2de0ed),_0x1e0ea5=[];for(let _0x4e494d of Object[_0x4e8a4d(0x33e)](_0x23764b))_0x48107e['has'](_0x4e494d['id'])||_0x1e0ea5[_0x4e8a4d(0x258)](_0x4e494d);let _0x5d8bc2=_0x1e0ea5[_0x4e8a4d(0x1dd)]?[..._0x2de0ed,...Be(_0x1e0ea5)]:_0x2de0ed,_0x5815e5=_0x240b83[_0x4e8a4d(0x201)][_0x4e8a4d(0x24f)](_0x52732a=>_0x3255a0[_0x52732a]),_0x874bb1={...(_0x3cb1d5=_0x240b83[_0x4e8a4d(0x2d2)])==null?{}:_0x3cb1d5},_0x72a107={...(_0x2be296=_0x240b83['colId'])==null?{}:_0x2be296},_0x200df9={...(_0x1a1ce5=_0x240b83[_0x4e8a4d(0x34c)])==null?{}:_0x1a1ce5};return _0x240b83[_0x4e8a4d(0x3ab)]=_0x5d8bc2,_0x240b83[_0x4e8a4d(0x2f0)]={},_0x240b83[_0x4e8a4d(0x2d2)]={},_0x240b83[_0x4e8a4d(0x158)]={},_0x240b83[_0x4e8a4d(0x32b)]={},_0x240b83[_0x4e8a4d(0x34c)]={},_0x240b83[_0x4e8a4d(0x421)]={...(_0x16ed26=_0x240b83['resources'])==null?{}:_0x16ed26},_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x1a3)]={...(_0x5ac803=_0x240b83['resources'][_0x4e8a4d(0x1a3)])==null?{}:_0x5ac803},_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x24b)]={...(_0x2f466c=_0x240b83[_0x4e8a4d(0x421)][_0x4e8a4d(0x24b)])==null?{}:_0x2f466c},_0x5d8bc2[_0x4e8a4d(0x3d3)]((_0x2498aa,_0x56d28a)=>{const _0x47797b=_0x4e8a4d;_0x240b83[_0x47797b(0x2f0)][_0x2498aa]=_0x56d28a,_0x240b83[_0x47797b(0x2d2)][_0x56d28a]=_0x2498aa;}),_0x5815e5[_0x4e8a4d(0x3d3)]((_0x1379d0,_0x36f20b)=>{const _0x27a658=_0x4e8a4d;_0x240b83[_0x27a658(0x158)][_0x1379d0]=_0x36f20b,_0x240b83[_0x27a658(0x32b)][_0x36f20b]=_0x1379d0;}),Object[_0x4e8a4d(0x236)](_0x200df9)[_0x4e8a4d(0x3d3)](([_0x35706e,_0xee3567])=>{const _0x53da89=_0x4e8a4d;var _0x84da42,_0x115319;let _0x414d4e=Number(_0x35706e),_0x479616=(_0x84da42=_0x874bb1[_0x414d4e])==null?_0x5d8bc2[_0x414d4e]:_0x84da42,_0x33cfee=_0x479616?_0x240b83[_0x53da89(0x2f0)][_0x479616]:void 0x0;_0x33cfee!=null&&(_0x240b83[_0x53da89(0x34c)][_0x33cfee]={...(_0x115319=_0x240b83[_0x53da89(0x34c)][_0x33cfee])==null?{}:_0x115319},Object[_0x53da89(0x236)](_0xee3567==null?{}:_0xee3567)[_0x53da89(0x3d3)](([_0x585bc1,_0x246461])=>{const _0x38a8f1=_0x53da89;var _0x531315;let _0x43e8e1=Number(_0x585bc1),_0x37ea85=(_0x531315=_0x72a107[_0x43e8e1])==null?_0x5815e5[_0x43e8e1]:_0x531315,_0x102bfa=_0x37ea85?_0x240b83['colIndex'][_0x37ea85]:void 0x0;_0x102bfa!=null&&(_0x240b83[_0x38a8f1(0x34c)][_0x33cfee][_0x102bfa]=Oe(_0x246461));}));}),Object[_0x4e8a4d(0x33e)](_0x23764b)[_0x4e8a4d(0x3d3)](_0x5b3a74=>{const _0x163ef5=_0x4e8a4d;var _0x3a414d,_0x23feff;let _0xbf8586=_0x240b83[_0x163ef5(0x2f0)][_0x5b3a74['id']];_0xbf8586!=null&&(_0x240b83[_0x163ef5(0x34c)][_0xbf8586]={...(_0x3a414d=_0x240b83[_0x163ef5(0x34c)][_0xbf8586])==null?{}:_0x3a414d},Object['entries']((_0x23feff=_0x5b3a74['values'])==null?{}:_0x23feff)[_0x163ef5(0x3d3)](([_0xc9b490,_0x3b85ca])=>{const _0x42d026=_0x163ef5;let _0x364414=_0x3255a0[_0xc9b490];(_0x364414==null?void 0x0:_0x364414[_0x42d026(0x415)])===_0x1e4a6b[_0x42d026(0x2da)]&&Ne(_0x240b83,_0x5b3a74['id'],_0xc9b490,_0x3b85ca);let _0x2c1610=_0x240b83[_0x42d026(0x158)][_0xc9b490];if(_0x2c1610==null)return;let _0x16f9f1=_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610];if(_0x16f9f1!=null){Ie(_0x16f9f1,_0x364414,_0x3b85ca)&&(_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610]=D(_0x3b85ca,_0x364414));return;}_0x240b83[_0x42d026(0x34c)][_0xbf8586][_0x2c1610]=D(_0x3b85ca,_0x364414);}));}),_0x240b83;}function Se(_0x187817){const _0x149e8c=_0x5744;var _0x2d6bd6;return E(_0x187817),Object[_0x149e8c(0x236)]((_0x2d6bd6=_0x187817[_0x149e8c(0x2d2)])==null?{}:_0x2d6bd6)[_0x149e8c(0x3d3)](([_0x519c13,_0x24144c])=>{const _0x31f250=_0x149e8c;var _0x4603ee,_0x4e2b73,_0x13f7d9;let _0x124cac=Number(_0x519c13),_0x2ab5ec=_0x187817[_0x31f250(0x1ce)][_0x24144c];_0x2ab5ec&&(_0x2ab5ec[_0x31f250(0x33e)]={...(_0x4603ee=_0x2ab5ec['values'])==null?{}:_0x4603ee},Object[_0x31f250(0x236)]((_0x4e2b73=(_0x13f7d9=_0x187817[_0x31f250(0x34c)])==null?void 0x0:_0x13f7d9[_0x124cac])==null?{}:_0x4e2b73)[_0x31f250(0x3d3)](([_0x1b5dde,_0x1d38b4])=>{const _0x33a206=_0x31f250;var _0x2ac980;let _0x10b7ba=(_0x2ac980=_0x187817[_0x33a206(0x32b)])==null?void 0x0:_0x2ac980[Number(_0x1b5dde)];_0x10b7ba&&(_0x2ab5ec[_0x33a206(0x33e)][_0x10b7ba]=ke(_0x1d38b4,_0x187817['fields'][_0x10b7ba],_0x187817,_0x24144c));}));}),_0x187817;}function Ce(_0x17ee94,_0x31047f){const _0x5684a1=_0x5744;for(let {row:_0x2ca5bc,col:_0x420b14}of _0x31047f){var _0xa09de1,_0x17500b,_0x193f88,_0x1ebb0a,_0x6f9c8f;let _0x317e42=(_0xa09de1=_0x17ee94[_0x5684a1(0x2d2)])==null?void 0x0:_0xa09de1[_0x2ca5bc],_0x415012=(_0x17500b=_0x17ee94['colId'])==null?void 0x0:_0x17500b[_0x420b14],_0x2e661b=_0x317e42?_0x17ee94[_0x5684a1(0x1ce)][_0x317e42]:void 0x0;if(!_0x2e661b||!_0x415012)continue;let _0x3fe3f0=(_0x193f88=_0x17ee94[_0x5684a1(0x34c)])==null||(_0x193f88=_0x193f88[_0x2ca5bc])==null?void 0x0:_0x193f88[_0x420b14];_0x3fe3f0==null&&!Object[_0x5684a1(0x3fd)][_0x5684a1(0x1c3)][_0x5684a1(0x1c1)]((_0x1ebb0a=_0x2e661b['values'])==null?{}:_0x1ebb0a,_0x415012)||(_0x2e661b[_0x5684a1(0x33e)]={...(_0x6f9c8f=_0x2e661b['values'])==null?{}:_0x6f9c8f},_0x2e661b[_0x5684a1(0x33e)][_0x415012]=ke(_0x3fe3f0,_0x17ee94['fields'][_0x415012],_0x17ee94,_0x317e42));}return _0x17ee94;}function we(_0x14a6a6,_0x39763a,_0x385ea5){const _0x47c946=_0x5744;var _0x2af547,_0xbcfd74,_0x1c8963,_0x1db9cd,_0x11a5e9,_0x1bf79e;let _0x280a40=(_0x2af547=_0x14a6a6[_0x47c946(0x2f0)])==null?void 0x0:_0x2af547[_0x39763a],_0x564b95=(_0xbcfd74=_0x14a6a6[_0x47c946(0x158)])==null?void 0x0:_0xbcfd74[_0x385ea5];if(_0x280a40!=null&&_0x564b95!=null&&((_0x1c8963=_0x14a6a6[_0x47c946(0x2d2)])==null?void 0x0:_0x1c8963[_0x280a40])===_0x39763a&&((_0x1db9cd=_0x14a6a6['colId'])==null?void 0x0:_0x1db9cd[_0x564b95])===_0x385ea5)return{'row':_0x280a40,'col':_0x564b95};let _0x476436=E(_0x14a6a6),_0x555eaa=(_0x11a5e9=_0x476436[_0x47c946(0x2f0)])==null?void 0x0:_0x11a5e9[_0x39763a],_0xc7b575=(_0x1bf79e=_0x476436['colIndex'])==null?void 0x0:_0x1bf79e[_0x385ea5];return _0x555eaa==null||_0xc7b575==null?null:{'row':_0x555eaa,'col':_0xc7b575};}function Te(_0x5e49cc,_0x2f13a9,_0x5bf28d){const _0x1c71a1=_0x5744;var _0x2a5107;let _0xfa5c86=we(_0x5e49cc,_0x2f13a9,_0x5bf28d);if(_0xfa5c86)return(_0x2a5107=_0x5e49cc['cellData'])==null||(_0x2a5107=_0x2a5107[_0xfa5c86['row']])==null?void 0x0:_0x2a5107[_0xfa5c86[_0x1c71a1(0x3b3)]];}function Ee(_0x348e7e,_0x57b66f,_0x57b0ae){const _0x3b4ea3=_0x5744;var _0x4c9a61,_0x51f2fd;let _0x21c819=Te(_0x348e7e,_0x57b66f,_0x57b0ae),_0x397275=_0x348e7e[_0x3b4ea3(0x2f3)][_0x57b0ae];if((_0x397275==null?void 0x0:_0x397275[_0x3b4ea3(0x415)])===_0x1e4a6b[_0x3b4ea3(0x2da)]){var _0x467f4d,_0xa06be6;return(_0x467f4d=Pe(_0x348e7e,_0x57b66f,_0x57b0ae))==null?O((_0xa06be6=_0x348e7e[_0x3b4ea3(0x1ce)][_0x57b66f])==null||(_0xa06be6=_0xa06be6[_0x3b4ea3(0x33e)])==null?void 0x0:_0xa06be6[_0x57b0ae]):_0x467f4d;}if(k(_0x397275)||(_0x397275==null?void 0x0:_0x397275[_0x3b4ea3(0x415)])===_0x1e4a6b[_0x3b4ea3(0x354)]){var _0x18212e;let _0x239873=(_0x18212e=_0x348e7e['records'][_0x57b66f])==null||(_0x18212e=_0x18212e['values'])==null?void 0x0:_0x18212e[_0x57b0ae];return _0x239873!=null&&_0x239873!==''?Fe(_0x239873,_0x397275):ke(_0x21c819,_0x397275,_0x348e7e,_0x57b66f);}if(_0x21c819&&Object[_0x3b4ea3(0x3fd)][_0x3b4ea3(0x1c3)][_0x3b4ea3(0x1c1)](_0x21c819,'v')){var _0x5c407f;return(_0x5c407f=_0x21c819['v'])==null?null:_0x5c407f;}return(_0x4c9a61=(_0x51f2fd=_0x348e7e[_0x3b4ea3(0x1ce)][_0x57b66f])==null||(_0x51f2fd=_0x51f2fd[_0x3b4ea3(0x33e)])==null?void 0x0:_0x51f2fd[_0x57b0ae])==null?null:_0x4c9a61;}function De(_0x52d98e,_0x30e3fd,_0x5fe4e3){const _0x45b84f=_0x5744;var _0x48334b,_0x495c22,_0x35b3ce;let _0x2d2a17=Te(_0x52d98e,_0x30e3fd,_0x5fe4e3);if(_0x2d2a17&&Object[_0x45b84f(0x3fd)][_0x45b84f(0x1c3)][_0x45b84f(0x1c1)](_0x2d2a17,'v')){var _0x1fc94a;return(_0x1fc94a=_0x2d2a17['v'])==null?null:_0x1fc94a;}let _0x1a94d5=_0x52d98e[_0x45b84f(0x2f3)][_0x5fe4e3];return(_0x48334b=D((_0x495c22=(_0x35b3ce=_0x52d98e[_0x45b84f(0x1ce)][_0x30e3fd])==null||(_0x35b3ce=_0x35b3ce[_0x45b84f(0x33e)])==null?void 0x0:_0x35b3ce[_0x5fe4e3])==null?null:_0x495c22,_0x1a94d5)['v'])==null?null:_0x48334b;}function D(_0x149df3,_0x202a94){const _0x2b75f0=_0x5744;if(je(_0x149df3))return(_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b['Attachment']?{..._0x149df3,'v':'','t':_0x5e55fc[_0x2b75f0(0x268)]}:Oe(_0x149df3);if((_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b[_0x2b75f0(0x2da)])return{'v':'','t':_0x5e55fc[_0x2b75f0(0x268)]};if(k(_0x202a94))return{'v':Le(_0x149df3)[_0x2b75f0(0x186)](',\x20'),'t':_0x5e55fc[_0x2b75f0(0x268)]};if((_0x202a94==null?void 0x0:_0x202a94[_0x2b75f0(0x415)])===_0x1e4a6b['Link']&&_0x149df3&&typeof _0x149df3==_0x2b75f0(0x25a)&&!Array[_0x2b75f0(0x3db)](_0x149df3)){var _0x2a5043,_0x4b9b92;let _0x422a96=_0x149df3;return{'v':String((_0x2a5043=(_0x4b9b92=_0x422a96['text'])==null?_0x422a96[_0x2b75f0(0x2f1)]:_0x4b9b92)==null?'':_0x2a5043),'t':_0x5e55fc[_0x2b75f0(0x268)]};}return _0x149df3===null||typeof _0x149df3==_0x2b75f0(0x247)||typeof _0x149df3=='number'||typeof _0x149df3==_0x2b75f0(0x424)?{'v':_0x149df3,'t':ze(_0x149df3)}:{'v':null,'t':null};}function Oe(_0x26ab44){let _0x41e103=Ve(_0x26ab44['t'],_0x26ab44['v']);if(_0x41e103===void 0x0){let {t:_0x361885,..._0x4c9710}=_0x26ab44;return _0x4c9710;}return{..._0x26ab44,'t':_0x41e103};}function ke(_0x4bb6f2,_0x20ae99,_0xe6ffb7,_0x5e461e){const _0x4170a5=_0x5744;if(!_0x4bb6f2)return null;if((_0x20ae99==null?void 0x0:_0x20ae99['type'])===_0x1e4a6b[_0x4170a5(0x2da)]){var _0x5f056c;return _0xe6ffb7&&_0x5e461e?(_0x5f056c=Pe(_0xe6ffb7,_0x5e461e,_0x20ae99['id']))==null?[]:_0x5f056c:[];}if(k(_0x20ae99))return Le(_0x4bb6f2['v']);if((_0x20ae99==null?void 0x0:_0x20ae99[_0x4170a5(0x415)])===_0x1e4a6b[_0x4170a5(0x354)]&&_0xe6ffb7&&_0x5e461e){var _0x3e1fd7;let _0x27ba33=(_0x3e1fd7=_0xe6ffb7['records'][_0x5e461e])==null||(_0x3e1fd7=_0x3e1fd7[_0x4170a5(0x33e)])==null?void 0x0:_0x3e1fd7[_0x20ae99['id']];if(_0x27ba33&&typeof _0x27ba33==_0x4170a5(0x25a)&&!Array[_0x4170a5(0x3db)](_0x27ba33))return _0x27ba33;}if(Object[_0x4170a5(0x3fd)]['hasOwnProperty'][_0x4170a5(0x1c1)](_0x4bb6f2,'v')){var _0x34cead;return(_0x34cead=_0x4bb6f2['v'])==null?null:_0x34cead;}return null;}function Ae(_0x19ea23,_0x4d7cc0,_0x2e25e1,_0x164569,_0x2abd00){const _0x1250e7=_0x5744;return(_0x2e25e1==null?void 0x0:_0x2e25e1[_0x1250e7(0x415)])===_0x1e4a6b[_0x1250e7(0x2da)]?O(_0x19ea23):k(_0x2e25e1)?Le(_0x19ea23):(_0x2e25e1==null?void 0x0:_0x2e25e1[_0x1250e7(0x415)])===_0x1e4a6b[_0x1250e7(0x354)]&&_0x19ea23&&typeof _0x19ea23==_0x1250e7(0x25a)&&!Array[_0x1250e7(0x3db)](_0x19ea23)&&!je(_0x19ea23)?_0x19ea23:ke(_0x4d7cc0,_0x2e25e1,_0x164569,_0x2abd00);}function je(_0x258697){const _0x5574e8=_0x5744;return!!_0x258697&&typeof _0x258697==_0x5574e8(0x25a)&&(Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'v')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'t')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'p')||Object['prototype'][_0x5574e8(0x1c3)][_0x5574e8(0x1c1)](_0x258697,'f')||Object[_0x5574e8(0x3fd)][_0x5574e8(0x1c3)]['call'](_0x258697,'si'));}function Me(_0x531ff3,_0x54b331){return _0x531ff3+'\x1f'+_0x54b331;}function _0x3d4a(){const _0x488909=['info','_onCommandExecuted','Start\x20date','_groupsCacheKey','searchTexts','setViewFieldVisible','apply','_permissionService','deleteTable','leftPaneWidth','[BaseFormula]:\x20table\x20\x22','Todo','system','_isGanttDateField','_fastSortRows','Gallery','doing','operand','_getJson1DirtyData','rowIndex','url','canDeleteField','fields','createDefaultValue','_isNonEmptyCellValue','_projectedViewRowsCache','next30','after','sheetId','_views','leftPaneCollapsed','disposeWithMe','78UHDdob','currencySymbol','canEditField','_createNumberingAllocators','invalid','h:mm\x20a','clearTablePermission','tableRevision','text','base.command.move-base-view','reduce','progressFieldId','[BaseCommandService]:\x20cannot\x20edit\x20cell.','base.command.set-base-view-field-order','undefined','normalize','startsWith','_injector','_ganttBarColor','getMonth','constructor','afterFieldId','_toDirtyRangePatch','sort','defineProperty','long','trim','3561068SonGQv','_isColorfulKanbanGroupField','startDateFieldId','showTodayLine','finally','executeCommand','calendar','conditions','_config','base.viewType.gallery',':end','includes','_getTable','exceptions','updateCell','_kanbanLaneTitle','table','toPlainText','setRecordValues','colId','COMMAND','snapshot','decimalPlaces','_filterRows','then','recordIds','MultiSelect','_commandService','_activeDirtyManagerService','[BaseCommandService]:\x20cannot\x20manage\x20view.','_replaceOptional','unknown','flatMap','setBasePermission','182481DFoWum','renameFormulaUnitReferences','pushUndoRedo','day','values','manual','splice','setViewFieldOrder','revision','Phone','[BaseField]:\x20invalid\x20progress\x20value.','canCreateField','_baseSyncDisposables','pluginName','recordId','base-perf','[BaseCommandService]:\x20cannot\x20delete\x20record.','from','cellData','setRangeValues','value','toFixed','rules','_resolveGalleryCoverFieldId','usableAsCardCover','Rating','Link','_createSystemFieldValuePatches','createSuperTableReference','lastIndex','allowMultiple','-field-name','fieldIds','createCreateRecordOp','result','timeZone','invertOp','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','yyyy/mm/dd','updateRecordOrder','index','cardLayout','-view-grid','_initDependencies','groups','Yes','usableAsGanttStart','base.command.update-base-record-order','kanban','min','base.command.create-base-view','_sortRows','syncExecuteCommand','columnSettings','params','padStart','timeslotSize','_plugins','size','order','createUpdateCellOp','NumberFormat','viewIndexes','_bumpTableRevision','False','_resolveGanttDateFieldId','_title','lessThanOrEqual','embed-ui','quarter','renameView','invertWithDoc',':start','IBaseCellData.ensureTableCellLayout','18541giPCId','_withModifiedSystemValues','BaseProjection.projectTableRows','set','isNot','packageName','createBase','_normalizeGanttConfig','check','DESC','_getKanbanConfiguredLanes','cell','locale','base.command.delete-base-table','card','_resolveKanbanGroupFieldId','embedId','CreatedBy','duplicateField','#,##0','path','Flow','validateFormula','dispose','_fieldRegistry','dateMode','updateField','_applyingFormulaResults','forValue','Checked','118WEwSvY','findIndex','_viewRowsCacheKey','base.viewType.calendar','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','removeOp','false','UTC','medium','recordOrder','focusUnit','base.command.move-base-field','Number','setViewFieldWidth','_applier','title','en-US','col','#BFDBFE','[BaseCommandService]:\x20cannot\x20delete\x20field.','BaseJson1.cloneForOp','usableAsCalendarDate','getSuperTableRegistrations','commaPeriod','base.command.change-base-field-type','_tableRevisions','getUTCMonth','_syncBaseUnit','invalidateByCell','major-','user','next7','reason','_findKanbanGroupField','decorate','parse','_createNumberingFieldValuePatches','createField','base.command.set-base-view-group','separatorStyle','createDefaultConfig','[BasePerf]\x20','delete','changed','MMM\x20D,\x20YYYY','majorHeaders','[BaseCommandService]:\x20cannot\x20delete\x20table.','BOOLEAN','deleteRecord','forEach','children','setBaseName','[BaseField]:\x20invalid\x20multi-value\x20reference.','formula.mutation.set-formula-calculation-result','changeFieldType','exec','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isArray','unitId','short','syncUnit','custom','spaceComma','thisWeek','createViewId','@univerjs-pro/bases','base.command.service','_createRecordWithDefaults','editable','__UNIVER_BASE_PERF__','MM-DD','attachmentSet','matchAll','_cellInvalidationsTouchFields','\x22\x20does\x20not\x20exist.','updateViewConfig','base.command.batch-delete-base-records','_buildGrid','Progress','DD/MM/YYYY','Unchecked','repeat','clearRecordPermission','decimal','base.view-registry.service','Group','_viewRevisionKey','base.command.set-base-kanban-group-field','_projectTableRows','autoIncrement','score','prototype','isNotEmpty','base.projection.service','indexOf','HH:mm','symbol','_apply','tables','operator','base.command.batch-create-base-records','replace','Formula','createRegExpFromSafeFragment','Summary','Uncategorized','deleteRecords','search','Gantt','_cellInvalidations','canManageView','__all__','beforeFieldId','createdAt','level','type','diffValue','setSnapshot','_fieldPermissions','tableName','univer.basePerf','basePerf','patches','pattern','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.set-base-view-field-visible','_setCachedProjection','resources','max','valid','boolean','setTablePermission','formatToParts','test','_isKanbanGroupField','Currency','#14b8a6','Name','_dataSyncPrimaryController','[BaseField]:\x20invalid\x20phone\x20value.','Button','base.mutation.apply-base-json1','_recordPermissions','_kanbanGroupKeys','_tablePermissions','[BaseCommandService]:\x20cannot\x20create\x20record.','projection','Person','_recordIds','toPrimitive','canEditCell','base.command.create-base-record','onReady','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','greaterThanOrEqual','view-','includeRecords','colIndex','_getOrderedRecords','_matchesGanttColorRule','year','beforeViewId','unitData','unitOtherData','deleteView','getDependencies','getCapabilities','registerSyncingMutations','readonly','_projectFields','SingleSelect','greaterThan','past30','getUTCDay','workingDays','FORCE_STRING','[BaseCommandService]:\x20cannot\x20edit\x20field.','contains','primaryFieldName','_setFormulaFieldCells',',,\x22M\x22','defaultValue',',\x22K\x22','edit','views','UNIVER_BASE','label','_resolveKanbanCardFieldIds','general','normal','_isAllDayGanttDateRange','viewId','UNIVER_EMBED_BASES_TABLE','base.command.delete-base-record','cardSize','_patchProjectedRowsForCellInvalidations','-record-','createdBy','Doing','lastIndexOf','moveView',',,,\x22B\x22','fromEntries','join','fld-','userID','split','_getTablesToNormalize','clearFieldPermission','UpdatedAt','registerSuperTables','start','scale','YYYY-MM-DD','_groupProjectionFieldIds','[BaseField]:\x20invalid\x20date\x20value.','fieldSettings','key','weekdays','bases.config','bases.fieldConfig.linkPlaceholder','options','_deleteAttachmentResources','resolve','registerSuperTable','_getCachedProjection','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_registeredSuperTableNames','_enqueueFormulaSync','description','_setViewFieldSetting','_configService','attachmentSets','coverFieldId','Email','clearBasePermission','query','displayColor','_rowTransformCacheSegment','subscribe','getCurrentUser','slice','toLowerCase','_formulaSyncQueue','createRecord','endDateFieldId','groupFieldId','direction','percent','CreatedAt','_getStructureDirtyTableIds','past7','getFullYear','view','7885Dkmqjd','[BaseField]:\x20invalid\x20email\x20value.','createRecords','_normalizeGanttDisplayColor','hidden','duplicateRecord','mode','trigger','call','has','hasOwnProperty','base.resource.service','function','rowIndexById','replaceOp','displayText','formula','#3b82f6','Checkbox','registerCommand','_findCalendarDateFieldId','records','getTypePlugin','getStructuredDependencies','12516440pEWncj','globalRevision','workingDaysOnly','compose','Grid','recordCount','__tempBatchingUndoRedo','createView','_projectionCache','isFinite','base.command.rename-base-table','_createRecordOrderOp','length','afterViewId','_createNumberingAllocator','group','updatedAt','manageView','limit','lastWeek','_cacheKey','allowNegative','createSetRecordValuesOp','Kanban','spacePeriod','_normalizeCalendarDisplayColor','onCommandExecuted','_getViewRevision','_buildGallery','registerView','1.0.0-alpha.7','_getCurrentUserId','createTable','attachment','selectField','YYYY/MM/DD','week','invalidDateField','format','base.command.update-base-view-config','getTypeOfUnitDisposed$','regenerateViewIds','BaseProjection.filterAndSortRows','hh:mm','hostAnchorId','tableOrder','_kanbanLaneColor','date','fieldOrder','setFieldPermission','setHours','lastMonth','_syncSuperTables','todo','updatedBy','Numbering','_resolveGalleryCardFieldIds','compare','General','_buildKanban','base.command.rename-base-view','_projectedGroupsCache','fieldId','gridViewId','working','20DTeagh','fieldName','invalidGanttStartField','_formulaService','base.command.duplicate-base-field','base.command.duplicate-base-record','#BBF7D0','stringify','invalidateByOp','7395705QfNeqv','_capabilities','_viewRevisions','width','frozenFieldCount','tomorrow','hourCycle','[BaseField]:\x20invalid\x20person\x20value.','applyOp','#FDE68A','Date','baseRows','setViewFilter','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','add','map','canDeleteTable','base.command.delete-base-field','_removeSuperTables','repairViewConfig','_patchCachedProjectedRows','invalidGanttEndField','_groupCellInvalidations','field','thisMonth','keys','record','entries','_normalizeCellValue','_normalizeCalendarConfig','h24','includeTime','_basePermissions','_filterSortFieldIds','canDeleteRecord','localeCompare','getAffectedRanges','base.command.update-base-field','Barcode','person','primaryFieldId','base.command.set-base-view-field-width','today','_calendarEventColor','string','getUnit','[BaseCommandService]:\x20cannot\x20create\x20field.','month','attachments','some','error','RecordId','filter','setViewSort','recordNamePrefix','5234904TJqheQ','base.command.update-base-field-description','getProjection','YYYY/MM/DD\x20HH:mm','base.viewType.kanban','local','push','_runtimeContext','object','Working\x20day','round','blue','validate','_univerInstanceService','unitWidth','end','_initialize','resolvedOptions','_getCellRevision','_projectGroups','showFieldNames','number','STRING','remove','_getAllTableIds','viewOrder','column','childUnitId','getBase','Location','rows','_cellRevisions','getItem','_factory','_isAllowedKanbanGroupField','insertOp','setRecordPermission','_materializeGroups','colorFieldId','setViewGroup','getCurrentUserId','color','getAllUnitsForType','toLocaleString','_projectRows','fromPlainText','_globalRevision','usableAsGanttEnd','True','getUTCFullYear','row','config','REMOTE_BASES_PLUGIN','exact','_getTableRevision','find','deepClone','registerCtorForType','name','deleteField','_applyFormulaResult','every','register','star','_projectedRowsCache','periodComma','canCreateRecord','version','\x22\x20is\x20not\x20registered.','base.command.create-base-field','conditional','abbreviation','renameTable','createUnit','editCell','uniqueTableName','createBatchCreateRecordsOp','now','[BaseField]:\x20invalid\x20number\x20value.','BaseProjection.getProjection','isNaN','[BaseFormula]:\x20field\x20\x22','base.command.set-base-record-values','_initRegistries','[BaseCommandService]:\x20field\x20\x22','true','getAll','orderKey','Calendar','raw','BASES_PLUGIN','registerTable','_initDataSync','_getAllBaseDependencyTreeCacheMap','_groupConfigCacheSegment','Failed\x20to\x20create\x20update\x20cell\x20operation:','_resolveCalendarDateFieldId','tableId','_resolveKanbanCoverFieldId','invalidateByView','none','setConfig','conjunction','TwoWayLink','canCreateTable','get','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','titleFieldId','UpdatedBy','done','_initCommands','notContains','getUnitId','endsWith','getTime','yesterday','createCreateFieldOp','invalidateByField','invalidGroupField','_setAttachmentResources','Lookup','[BaseField]:\x20invalid\x20checkbox\x20value.','gantt','_isCalendarDateField','Text','before','getTypeOfUnitAdded$','fieldIndex','rowId','moveField','[BaseProjectionService]:\x20missing\x20view\x20\x22','getUTCDate','option-','base.command.set-base-name','cellRevision','getSnapshot','Attachment','NUMBER','dependencyFieldId'];_0x3d4a=function(){return _0x488909;};return _0x3d4a();}function Ne(_0x27de72,_0x3e06a7,_0x5fa7ea,_0x23eb4c){const _0x2c1af9=_0x5744;var _0x4d0783,_0x148447,_0x2041ff;let _0x22f2d7=O(_0x23eb4c);_0x27de72[_0x2c1af9(0x421)]={...(_0x4d0783=_0x27de72[_0x2c1af9(0x421)])==null?{}:_0x4d0783},_0x27de72[_0x2c1af9(0x421)]['attachmentSets']={...(_0x148447=_0x27de72[_0x2c1af9(0x421)]['attachmentSets'])==null?{}:_0x148447},_0x27de72[_0x2c1af9(0x421)]['attachments']={...(_0x2041ff=_0x27de72[_0x2c1af9(0x421)][_0x2c1af9(0x24b)])==null?{}:_0x2041ff};let _0x147d43=Me(_0x5fa7ea,_0x3e06a7),_0x56441e=[];for(let _0x4f4eda=0x0;_0x4f4eda<_0x22f2d7[_0x2c1af9(0x1dd)];_0x4f4eda++){var _0x5076da;if(!(_0x4f4eda in _0x22f2d7))continue;let _0x4fe4c8=_0x22f2d7[_0x4f4eda],_0x2da21a=String((_0x5076da=_0x4fe4c8['id'])==null?_0x147d43+'\x1f'+_0x4f4eda:_0x5076da),_0x27a25e={..._0x4fe4c8,'id':_0x2da21a};_0x27de72[_0x2c1af9(0x421)][_0x2c1af9(0x24b)][_0x2da21a]=_0x27a25e,_0x56441e['push'](_0x2da21a);}_0x27de72[_0x2c1af9(0x421)]['attachmentSets'][_0x147d43]=_0x56441e;}function Pe(_0x1d120a,_0x345d2c,_0x3ad322){const _0x257448=_0x5744;var _0x4eeef2;let _0xc21f1b=Me(_0x3ad322,_0x345d2c),_0x14150a=(_0x4eeef2=_0x1d120a['resources'])==null||(_0x4eeef2=_0x4eeef2[_0x257448(0x1a3)])==null?void 0x0:_0x4eeef2[_0xc21f1b];if(!_0x14150a)return null;let _0x3ac24a=[];for(let _0x1ccbda=0x0;_0x1ccbda<_0x14150a[_0x257448(0x1dd)];_0x1ccbda++){var _0x3db5cf;if(!(_0x1ccbda in _0x14150a))continue;let _0x394c3a=(_0x3db5cf=_0x1d120a[_0x257448(0x421)])==null||(_0x3db5cf=_0x3db5cf[_0x257448(0x24b)])==null?void 0x0:_0x3db5cf[_0x14150a[_0x1ccbda]];_0x394c3a&&_0x3ac24a[_0x257448(0x258)]({..._0x394c3a});}return _0x3ac24a;}function O(_0x60575f){const _0x25c355=_0x5744;if(_0x60575f==null||_0x60575f===''||je(_0x60575f)&&!('id'in _0x60575f)&&!(_0x25c355(0x28c)in _0x60575f))return[];let _0x2f3df7=Array[_0x25c355(0x3db)](_0x60575f)?_0x60575f:[_0x60575f],_0x413ba5=[];for(let _0x2f2452=0x0;_0x2f2452<_0x2f3df7[_0x25c355(0x1dd)];_0x2f2452++){if(!(_0x2f2452 in _0x2f3df7))continue;let _0x11c663=_0x2f3df7[_0x2f2452],_0x40329d=_0x11c663&&typeof _0x11c663==_0x25c355(0x25a)?{..._0x11c663}:{'id':'attachment-'+_0x2f2452,'name':String(_0x11c663)};Object['keys'](_0x40329d)[_0x25c355(0x1dd)]>0x0&&_0x413ba5['push'](_0x40329d);}return _0x413ba5;}function Fe(_0x3f9854,_0x500333){const _0x1bc5a3=_0x5744;return(_0x500333==null?void 0x0:_0x500333[_0x1bc5a3(0x415)])===_0x1e4a6b[_0x1bc5a3(0x2da)]?O(_0x3f9854):k(_0x500333)?Le(_0x3f9854):_0x3f9854;}function Ie(_0x2bfc25,_0x15ee1a,_0x1cfc04){const _0x256483=_0x5744;return(_0x15ee1a==null?void 0x0:_0x15ee1a[_0x256483(0x415)])===_0x1e4a6b[_0x256483(0x2da)]?_0x2bfc25['v']!=='':k(_0x15ee1a)?Array[_0x256483(0x3db)](_0x1cfc04)&&(_0x2bfc25['v']==null||_0x2bfc25['v']===''):!0x1;}function k(_0x4b766b){const _0x426a4c=_0x5744;return(_0x4b766b==null?void 0x0:_0x4b766b[_0x426a4c(0x415)])===_0x1e4a6b['MultiSelect']||(_0x4b766b==null?void 0x0:_0x4b766b['type'])===_0x1e4a6b[_0x426a4c(0x435)]||(_0x4b766b==null?void 0x0:_0x4b766b[_0x426a4c(0x415)])===_0x1e4a6b['Group'];}function Le(_0x27ce01){const _0x4b9527=_0x5744;if(_0x27ce01==null||_0x27ce01==='')return[];let _0x4987c5=[];if(Array[_0x4b9527(0x3db)](_0x27ce01)){for(let _0x285352=0x0;_0x285352<_0x27ce01[_0x4b9527(0x1dd)];_0x285352++){if(!(_0x285352 in _0x27ce01))continue;let _0x138002=Re(_0x27ce01[_0x285352]);_0x138002&&_0x4987c5['push'](_0x138002);}return _0x4987c5;}for(let _0xc54902 of String(_0x27ce01)[_0x4b9527(0x189)](',')){let _0x2854e7=_0xc54902[_0x4b9527(0x317)]();_0x2854e7&&_0x4987c5[_0x4b9527(0x258)](_0x2854e7);}return _0x4987c5;}function Re(_0x50f9e3){const _0x1d6325=_0x5744;if(_0x50f9e3==null)return'';if(typeof _0x50f9e3==_0x1d6325(0x247)||typeof _0x50f9e3=='number'||typeof _0x50f9e3==_0x1d6325(0x424))return String(_0x50f9e3);if(typeof _0x50f9e3=='object'){var _0x244f74,_0x202395,_0x17b77a;let _0x5e8fe6=_0x50f9e3;return String((_0x244f74=(_0x202395=(_0x17b77a=_0x5e8fe6['id'])==null?_0x5e8fe6[_0x1d6325(0x28c)]:_0x17b77a)==null?_0x5e8fe6[_0x1d6325(0x305)]:_0x202395)==null?'':_0x244f74);}return String(_0x50f9e3);}function ze(_0x23214b){const _0x5c77cb=_0x5744;return _0x23214b==null?null:typeof _0x23214b==_0x5c77cb(0x267)?_0x5e55fc[_0x5c77cb(0x2db)]:typeof _0x23214b==_0x5c77cb(0x424)?_0x5e55fc[_0x5c77cb(0x3d1)]:_0x5e55fc[_0x5c77cb(0x268)];}function Be(_0x545e0f){const _0x136044=_0x5744;_0x545e0f[_0x136044(0x314)]((_0x5f6490,_0x3a127b)=>_0x5f6490['orderKey'][_0x136044(0x23e)](_0x3a127b[_0x136044(0x2a9)]));let _0x1baec7=[];for(let _0x53add3 of _0x545e0f)_0x1baec7[_0x136044(0x258)](_0x53add3['id']);return _0x1baec7;}function Ve(_0x4541a4,_0x4650c1){const _0x3921a5=_0x5744;return _0x4541a4===_0x5e55fc[_0x3921a5(0x268)]||_0x4541a4===_0x5e55fc['NUMBER']||_0x4541a4===_0x5e55fc[_0x3921a5(0x3d1)]||_0x4541a4===_0x5e55fc[_0x3921a5(0x16a)]||_0x4541a4==null?_0x4541a4:ze(_0x4650c1==null?null:_0x4650c1);}var A=class{['applyOp'](_0x4c48d9,_0x3917bf){const _0x4941de=_0x5744;let _0xd7dd5b=this[_0x4941de(0x23f)](_0x3917bf),_0x257b8f=T(_0x4941de(0x3b6),()=>Ye(_0x4c48d9,_0x3917bf),{'invalidations':_0xd7dd5b['length']}),_0x4fe375=T('BaseJson1.json1Apply',()=>_0x6fccb6[_0x4941de(0x415)][_0x4941de(0x2e3)](_0x257b8f,_0x3917bf),{'invalidations':_0xd7dd5b[_0x4941de(0x1dd)]});return He(_0x4fe375,_0xd7dd5b)||this[_0x4941de(0x18a)](_0x4fe375,_0xd7dd5b)['forEach'](_0x516fd3=>{Se(_0x516fd3);}),_0x4fe375;}[_0x396ed2(0x35e)](_0x2b0be9,_0x4a86e0){const _0x2f7340=_0x396ed2;return _0x6fccb6[_0x2f7340(0x415)][_0x2f7340(0x381)](_0x4a86e0,_0x2b0be9);}['getAffectedRanges'](_0x3708ea){const _0x326287=_0x396ed2;let _0x2f0aa2=Ke(_0x3708ea);return _0x2f0aa2[_0x326287(0x1dd)]?qe(_0x2f0aa2[_0x326287(0x338)](_0x16b8bc=>this['getAffectedRanges'](_0x16b8bc))):Ue(_0x3708ea);}[_0x396ed2(0x18a)](_0x307709,_0x519eeb){const _0x5777d5=_0x396ed2;if(!_0x519eeb['length'])return[];if(_0x519eeb[_0x5777d5(0x24c)](_0x5d6b15=>!_0x5d6b15[_0x5777d5(0x2b3)])){var _0x4ff1a7;return Object[_0x5777d5(0x33e)]((_0x4ff1a7=_0x307709[_0x5777d5(0x404)])==null?{}:_0x4ff1a7);}return Array[_0x5777d5(0x34b)](new Set(_0x519eeb[_0x5777d5(0x22a)](_0x5c1d3e=>_0x5c1d3e[_0x5777d5(0x2b3)])))[_0x5777d5(0x338)](_0x3d305c=>{var _0x3fc646;let _0x398f0b=(_0x3fc646=_0x307709['tables'])==null?void 0x0:_0x3fc646[_0x3d305c];return _0x398f0b?[_0x398f0b]:[];});}};function He(_0x1e0790,_0x11cc28){const _0x614890=_0x396ed2;if(!_0x11cc28[_0x614890(0x1dd)]||_0x11cc28['some'](_0x49027c=>_0x49027c[_0x614890(0x3c2)]!==_0x614890(0x38f)))return!0x1;let _0x2aa4a7=new Map();for(let _0x5f46a6 of _0x11cc28){var _0x29b1c9;if(!_0x5f46a6[_0x614890(0x2b3)]||_0x5f46a6[_0x614890(0x284)]==null||_0x5f46a6[_0x614890(0x26c)]==null)continue;let _0x4ffe8b=(_0x29b1c9=_0x2aa4a7[_0x614890(0x2bb)](_0x5f46a6['tableId']))==null?[]:_0x29b1c9;_0x4ffe8b[_0x614890(0x258)]({'row':_0x5f46a6[_0x614890(0x284)],'col':_0x5f46a6['column']}),_0x2aa4a7[_0x614890(0x387)](_0x5f46a6[_0x614890(0x2b3)],_0x4ffe8b);}return _0x2aa4a7[_0x614890(0x3d3)]((_0x5f1d84,_0x34c2a0)=>{var _0x502785;let _0x1a8531=(_0x502785=_0x1e0790['tables'])==null?void 0x0:_0x502785[_0x34c2a0];_0x1a8531&&Ce(_0x1a8531,_0x5f1d84);}),!0x0;}function Ue(_0x532270){const _0x573f78=_0x396ed2;if(!Array[_0x573f78(0x3db)](_0x532270)||_0x532270[_0x573f78(0x1dd)]<0x2)return[{'tableId':'','reason':_0x573f78(0x337)}];let _0x25c0ef=_0x532270,_0xb6927d=_0x25c0ef[_0x573f78(0x400)](_0x573f78(0x404));return _0xb6927d===-0x1||typeof _0x25c0ef[_0xb6927d+0x1]!=_0x573f78(0x247)?_0x25c0ef[0x0]===_0x573f78(0x1fe)?[]:[{'tableId':'','reason':_0x573f78(0x337)}]:We(_0x25c0ef,_0xb6927d,String(_0x25c0ef[_0xb6927d+0x1]));}function We(_0x32be62,_0x4e5162,_0x1c41f7){const _0xdd0bc8=_0x396ed2;let _0x3c8346=_0x32be62[_0x4e5162+0x2];return _0x3c8346===_0xdd0bc8(0x1ce)&&typeof _0x32be62[_0x4e5162+0x3]==_0xdd0bc8(0x247)?Ge(_0x32be62,_0x4e5162,_0x1c41f7,String(_0x32be62[_0x4e5162+0x3])):_0x3c8346==='cellData'&&_0x32be62[_0x4e5162+0x3]!=null&&_0x32be62[_0x4e5162+0x4]!=null?[{'tableId':_0x1c41f7,'reason':'cell','row':Number(_0x32be62[_0x4e5162+0x3]),'column':Number(_0x32be62[_0x4e5162+0x4])}]:_0x3c8346===_0xdd0bc8(0x2f3)&&typeof _0x32be62[_0x4e5162+0x3]=='string'?[{'tableId':_0x1c41f7,'reason':_0xdd0bc8(0x232),'fieldId':String(_0x32be62[_0x4e5162+0x3])}]:_0x3c8346===_0xdd0bc8(0x173)&&typeof _0x32be62[_0x4e5162+0x3]==_0xdd0bc8(0x247)?[{'tableId':_0x1c41f7,'reason':_0xdd0bc8(0x1b8),'viewId':String(_0x32be62[_0x4e5162+0x3])}]:[{'tableId':_0x1c41f7,'reason':_0x3c8346===void 0x0?'table':_0xdd0bc8(0x337)}];}function Ge(_0x2a3d93,_0x1809ef,_0x5c012a,_0x59cdbc){const _0x4781cc=_0x396ed2;return _0x2a3d93[_0x1809ef+0x4]===_0x4781cc(0x33e)&&typeof _0x2a3d93[_0x1809ef+0x5]==_0x4781cc(0x247)?[{'tableId':_0x5c012a,'reason':_0x4781cc(0x38f),'recordId':_0x59cdbc,'fieldId':String(_0x2a3d93[_0x1809ef+0x5])}]:_0x2a3d93[_0x1809ef+0x4]==='updatedAt'||_0x2a3d93[_0x1809ef+0x4]===_0x4781cc(0x207)?[]:[{'tableId':_0x5c012a,'reason':_0x4781cc(0x235),'recordId':_0x59cdbc}];}function Ke(_0x20f133){const _0x2851c6=_0x396ed2;if(!Array[_0x2851c6(0x3db)](_0x20f133))return[];let _0x1d713a=_0x20f133['filter'](Array[_0x2851c6(0x3db)]);if(_0x1d713a[_0x2851c6(0x1dd)]>0x1&&_0x1d713a['length']===_0x20f133[_0x2851c6(0x1dd)])return _0x1d713a;let _0x4ff611=_0x20f133[_0x2851c6(0x3a3)](Array[_0x2851c6(0x3db)]);if(_0x4ff611>0x0&&_0x20f133[_0x2851c6(0x1ac)](_0x4ff611)[_0x2851c6(0x28f)](Array[_0x2851c6(0x3db)])){let _0x44b6a6=_0x20f133[_0x2851c6(0x1ac)](0x0,_0x4ff611);return _0x20f133['slice'](_0x4ff611)[_0x2851c6(0x22a)](_0x473daa=>[..._0x44b6a6,..._0x473daa]);}let _0x41085c=_0x20f133[_0x2851c6(0x400)](_0x2851c6(0x404));if(_0x41085c===-0x1||typeof _0x20f133[_0x41085c+0x1]!=_0x2851c6(0x247))return[];let _0x44f1f0=String(_0x20f133[_0x41085c+0x1]),_0x3d1bc3=_0x20f133[_0x2851c6(0x1ac)](_0x41085c+0x2)[_0x2851c6(0x24f)](Array['isArray']);return _0x3d1bc3[_0x2851c6(0x1dd)]<=0x1?[]:_0x3d1bc3['map'](_0x3e066e=>[_0x2851c6(0x404),_0x44f1f0,..._0x3e066e]);}function qe(_0x1b1062){const _0xa27553=_0x396ed2;let _0x5b5c4b=new Set();return _0x1b1062[_0xa27553(0x24f)](_0x5a25d2=>{const _0x3598f4=_0xa27553;let _0x2c21aa=JSON[_0x3598f4(0x219)](_0x5a25d2);return _0x5b5c4b[_0x3598f4(0x1c2)](_0x2c21aa)?!0x1:(_0x5b5c4b['add'](_0x2c21aa),!0x0);});}function Je(_0x5d5c1e){const _0x7438e3=_0x396ed2;return _0x32f40f[_0x7438e3(0x28a)](_0x5d5c1e);}function Ye(_0x38b1f4,_0x254d13){const _0xdd932c=_0x396ed2;let _0x31d34f=Xe(_0x254d13);if(!_0x31d34f[_0xdd932c(0x1dd)])return Je(_0x38b1f4);let _0x533957=tt(_0x38b1f4);for(let _0x425767 of _0x31d34f)$e(_0x533957,_0x425767);return _0x533957;}function Xe(_0x54ba97){let _0x241c1d=[];return Ze(_0x54ba97,[],_0x241c1d),_0x241c1d;}function Ze(_0x5a7878,_0x18c16c,_0x28c41e){const _0x5dc01b=_0x396ed2;if(!Array[_0x5dc01b(0x3db)](_0x5a7878))return;let _0x290ffb=[];for(let _0x7b10b of _0x5a7878){if(Array[_0x5dc01b(0x3db)](_0x7b10b)){Ze(_0x7b10b,[..._0x18c16c,..._0x290ffb],_0x28c41e);continue;}if(Qe(_0x7b10b)){_0x28c41e[_0x5dc01b(0x258)]([..._0x18c16c,..._0x290ffb]);continue;}(typeof _0x7b10b=='string'||typeof _0x7b10b=='number')&&_0x290ffb[_0x5dc01b(0x258)](_0x7b10b);}}function Qe(_0x286c3c){const _0x382e54=_0x396ed2;if(!_0x286c3c||typeof _0x286c3c!=_0x382e54(0x25a)||Array[_0x382e54(0x3db)](_0x286c3c))return!0x1;let _0x269b54=_0x286c3c;return'i'in _0x269b54||'r'in _0x269b54||'p'in _0x269b54||'d'in _0x269b54||'es'in _0x269b54||'ena'in _0x269b54||'et'in _0x269b54;}function $e(_0x55385f,_0x54b3db){const _0x11c278=_0x396ed2;let _0x1c8717=_0x55385f;for(let _0x38be5a=0x0;_0x38be5a<_0x54b3db[_0x11c278(0x1dd)]-0x1;_0x38be5a++){let _0x529ea8=_0x54b3db[_0x38be5a],_0x1b1eb9=_0x1c8717==null?void 0x0:_0x1c8717[_0x529ea8];if(!et(_0x1b1eb9))return;let _0x5aa9a4=tt(_0x1b1eb9);_0x1c8717[_0x529ea8]=_0x5aa9a4,_0x1c8717=_0x5aa9a4;}}function et(_0x22d352){const _0x10e4bb=_0x396ed2;return!!_0x22d352&&typeof _0x22d352==_0x10e4bb(0x25a);}function tt(_0x3a12f6){const _0x4238f4=_0x396ed2;return Array[_0x4238f4(0x3db)](_0x3a12f6)?_0x3a12f6['slice']():{..._0x3a12f6};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x396ed2(0x360),at={'yyyy/mm/dd':_0x396ed2(0x1f4),'yyyy/mm/dd\x20hh:mm':_0x396ed2(0x255),'yyyy-mm-dd':_0x396ed2(0x190),'mm-dd':_0x396ed2(0x3e8),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x396ed2(0x3f1),'mmm\x20d,\x20yyyy':_0x396ed2(0x3ce)};function j(_0x4dfcbb){return _0x3392d4(_0x4dfcbb)['valueOf']()/nt+rt;}function ot(_0x5c9b1a){return(_0x5c9b1a-rt)*nt;}function M(_0x106b62){const _0xd5d292=_0x396ed2;if(_0x106b62==null||_0x106b62==='')return null;if(_0x106b62 instanceof Date)return j(_0x106b62);if(typeof _0x106b62==_0xd5d292(0x267))return Number[_0xd5d292(0x1da)](_0x106b62)?_0x106b62>0xf4240?j(_0x106b62):_0x106b62:null;let _0x531027=Date[_0xd5d292(0x3c5)](String(_0x106b62));return Number[_0xd5d292(0x2a2)](_0x531027)?null:j(_0x531027);}function N(_0x1ef923){let _0x2ecd4e=M(_0x1ef923);return _0x2ecd4e==null?null:ot(_0x2ecd4e);}function st(_0x595c27,_0x298f73={}){const _0x18f125=_0x396ed2;var _0x25a695,_0x462db0,_0x57a4be;let _0x53798c=N(_0x595c27);if(_0x53798c==null||!Number[_0x18f125(0x1da)](_0x53798c))return'';let _0xf862cf=String((_0x25a695=(_0x462db0=_0x298f73[_0x18f125(0x41d)])==null?_0x298f73[_0x18f125(0x1f7)]:_0x462db0)==null?it:_0x25a695),_0x2a2244=_0x298f73['includeTime']===!0x0||_0xf862cf['includes']('hh:mm'),_0x100135=String((_0x57a4be=_0x298f73[_0x18f125(0x221)])==null?_0x18f125(0x239):_0x57a4be);return _0x3392d4(_0x53798c)[_0x18f125(0x1f7)](ct(_0xf862cf,_0x2a2244,_0x100135));}function ct(_0x44e502,_0x440cfd,_0x118e52){const _0x612917=_0x396ed2;var _0x3f1b7e;let _0x5c1225=(_0x3f1b7e=at[_0x44e502])==null?at[it]:_0x3f1b7e;return!_0x440cfd||_0x44e502[_0x612917(0x323)](_0x612917(0x1fc))?_0x5c1225:_0x5c1225+'\x20'+(_0x118e52==='h12'?_0x612917(0x302):_0x612917(0x401));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x1e4a6b[_0x396ed2(0x2ca)],_0x1e4a6b[_0x396ed2(0x40a)],_0x1e4a6b[_0x396ed2(0x399)],_0x1e4a6b[_0x396ed2(0x42e)],_0x1e4a6b[_0x396ed2(0x26f)],_0x1e4a6b['TwoWayLink'],_0x1e4a6b['RecordId'],_0x1e4a6b[_0x396ed2(0x241)]]),P=0x5a0*0x3c*0x3e8;function dt(_0x5b3cdb,_0x3b3168){const _0x364079=_0x396ed2;return _0x5b3cdb==null&&_0x3b3168==null?0x0:_0x5b3cdb==null?-0x1:_0x3b3168==null?0x1:typeof _0x5b3cdb=='number'&&typeof _0x3b3168==_0x364079(0x267)?_0x5b3cdb-_0x3b3168:String(_0x5b3cdb)[_0x364079(0x23e)](String(_0x3b3168));}function ft(_0x1a1eb3,_0x457044,_0x57121d,_0x23c36f,_0x4a8ff6={}){const _0x30740c=_0x396ed2;if(_0x457044==='isEmpty')return pt(_0x1a1eb3);if(_0x457044===_0x30740c(0x3fe))return!pt(_0x1a1eb3);switch(_0x23c36f[_0x30740c(0x415)]){case _0x1e4a6b['Number']:case _0x1e4a6b['Currency']:case _0x1e4a6b['Progress']:case _0x1e4a6b['Rating']:return mt(_0x1a1eb3,_0x457044,_0x57121d);case _0x1e4a6b[_0x30740c(0x225)]:case _0x1e4a6b['CreatedAt']:case _0x1e4a6b['UpdatedAt']:return gt(_0x1a1eb3,_0x457044,_0x57121d,_0x4a8ff6);case _0x1e4a6b['Checkbox']:return St(_0x1a1eb3,_0x457044,_0x57121d);case _0x1e4a6b['SingleSelect']:case _0x1e4a6b[_0x30740c(0x332)]:case _0x1e4a6b[_0x30740c(0x435)]:case _0x1e4a6b[_0x30740c(0x3f7)]:return wt(_0x1a1eb3,_0x457044,_0x57121d,_0x23c36f);default:return Tt(_0x1a1eb3,_0x457044,_0x57121d);}}function pt(_0x55c346){const _0x197f87=_0x396ed2;return _0x55c346==null?!0x0:Array[_0x197f87(0x3db)](_0x55c346)?_0x55c346[_0x197f87(0x1dd)]===0x0:typeof _0x55c346==_0x197f87(0x247)?_0x55c346[_0x197f87(0x317)]()==='':!0x1;}function mt(_0x51691d,_0x2ec959,_0x225f8b){const _0x5ec875=_0x396ed2;let _0x100d2c=ht(_0x51691d),_0x470968=ht(_0x225f8b);if(_0x100d2c==null||_0x470968==null)return!0x1;switch(_0x2ec959){case'is':return _0x100d2c===_0x470968;case _0x5ec875(0x388):return _0x100d2c!==_0x470968;case _0x5ec875(0x166):return _0x100d2c>_0x470968;case _0x5ec875(0x43c):return _0x100d2c>=_0x470968;case'lessThan':return _0x100d2c<_0x470968;case _0x5ec875(0x37d):return _0x100d2c<=_0x470968;default:return!0x1;}}function ht(_0x4b12f3){if(_0x4b12f3==null||_0x4b12f3==='')return null;let _0x41eb8c=Number(_0x4b12f3);return Number['isFinite'](_0x41eb8c)?_0x41eb8c:null;}function gt(_0x3ad132,_0x5c30aa,_0x414fa8,_0x43b38f){const _0xee873a=_0x396ed2;var _0x19752d;let _0x361a45=vt(_0x3ad132);if(_0x361a45==null)return!0x1;let _0x47fd0f=_t((_0x19752d=_0x43b38f[_0xee873a(0x39d)])==null?'exact':_0x19752d,_0x414fa8,_0x43b38f[_0xee873a(0x29f)]);if(!_0x47fd0f)return!0x1;switch(_0x5c30aa){case'is':return _0x361a45>=_0x47fd0f[_0xee873a(0x18e)]&&_0x361a45<=_0x47fd0f[_0xee873a(0x261)];case _0xee873a(0x388):return _0x361a45<_0x47fd0f[_0xee873a(0x18e)]||_0x361a45>_0x47fd0f[_0xee873a(0x261)];case _0xee873a(0x2cf):return _0x361a45<_0x47fd0f['start'];case _0xee873a(0x2f8):return _0x361a45>_0x47fd0f['end'];default:return!0x1;}}function _t(_0x1ca417,_0x5bfe0a,_0x108b0e=Date[_0x396ed2(0x29f)]()){const _0x1003aa=_0x396ed2;let _0x22b7ae=yt(_0x108b0e);switch(_0x1ca417){case _0x1003aa(0x287):{let _0x2c5519=vt(_0x5bfe0a);return _0x2c5519==null?null:{'start':_0x2c5519,'end':_0x2c5519+P-0x1};}case _0x1003aa(0x245):return{'start':_0x22b7ae,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x220):return{'start':_0x22b7ae+P,'end':_0x22b7ae+P*0x2-0x1};case _0x1003aa(0x2c5):return{'start':_0x22b7ae-P,'end':_0x22b7ae-0x1};case _0x1003aa(0x3e1):return bt(_0x22b7ae,0x0);case _0x1003aa(0x1e4):return bt(_0x22b7ae,-0x1);case _0x1003aa(0x233):return xt(_0x22b7ae,0x0);case _0x1003aa(0x204):return xt(_0x22b7ae,-0x1);case _0x1003aa(0x1b6):return{'start':_0x22b7ae-P*0x6,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x3c1):return{'start':_0x22b7ae,'end':_0x22b7ae+P*0x7-0x1};case _0x1003aa(0x167):return{'start':_0x22b7ae-P*0x1d,'end':_0x22b7ae+P-0x1};case _0x1003aa(0x2f7):return{'start':_0x22b7ae,'end':_0x22b7ae+P*0x1e-0x1};}}function vt(_0x21a2d2){let _0x133883=M(_0x21a2d2);return _0x133883==null?null:yt(ot(_0x133883));}function yt(_0x5d4d74){const _0x25791f=_0x396ed2;let _0x272f20=new Date(_0x5d4d74);return _0x272f20[_0x25791f(0x203)](0x0,0x0,0x0,0x0),_0x272f20[_0x25791f(0x2c4)]();}function bt(_0x500ca4,_0x340f25){let _0x4d72c9=_0x500ca4-(new Date(_0x500ca4)['getDay']()+0x6)%0x7*P+_0x340f25*P*0x7;return{'start':_0x4d72c9,'end':_0x4d72c9+P*0x7-0x1};}function xt(_0x570382,_0x2327c0){const _0x25df21=_0x396ed2;let _0x3407b2=new Date(_0x570382),_0x229862=new Date(_0x3407b2[_0x25df21(0x1b7)](),_0x3407b2[_0x25df21(0x310)]()+_0x2327c0,0x1),_0x446b67=new Date(_0x3407b2[_0x25df21(0x1b7)](),_0x3407b2[_0x25df21(0x310)]()+_0x2327c0+0x1,0x1);return{'start':_0x229862[_0x25df21(0x2c4)](),'end':_0x446b67[_0x25df21(0x2c4)]()-0x1};}function St(_0x9d9dd1,_0x1cf243,_0x38e8dd){const _0x38e2ed=_0x396ed2;let _0x54f512=Ct(_0x9d9dd1),_0x3246fa=Ct(_0x38e8dd);switch(_0x1cf243){case'is':return _0x54f512===_0x3246fa;case _0x38e2ed(0x388):return _0x54f512!==_0x3246fa;default:return!0x1;}}function Ct(_0x56c108){const _0x3f5d7a=_0x396ed2;return _0x56c108===!0x0||_0x56c108===_0x3f5d7a(0x2a7)||_0x56c108===0x1||_0x56c108==='1';}function wt(_0x2785f6,_0x5b09a1,_0x47b578,_0xc4c501){const _0x41a0b9=_0x396ed2;let _0xfe0423=Dt(_0x2785f6,_0xc4c501),_0x1c91e2=Dt(_0x47b578,_0xc4c501),_0x601459=_0x1c91e2[_0x41a0b9(0x1dd)]>0x0&&_0x1c91e2[_0x41a0b9(0x24c)](_0x112581=>_0xfe0423[_0x41a0b9(0x323)](_0x112581));switch(_0x5b09a1){case'is':case _0x41a0b9(0x16c):return _0x601459;case'isNot':case'notContains':return!_0x601459;default:return!0x1;}}function Tt(_0x17469c,_0xfbe7ba,_0x585720){const _0x24bf4f=_0x396ed2;let _0x1ed4df=Et(_0x17469c),_0x510fc1=Et(_0x585720);switch(_0xfbe7ba){case'is':return _0x1ed4df===_0x510fc1;case _0x24bf4f(0x388):return _0x1ed4df!==_0x510fc1;case _0x24bf4f(0x16c):return _0x510fc1?_0x1ed4df[_0x24bf4f(0x323)](_0x510fc1):!0x1;case _0x24bf4f(0x2c1):return _0x510fc1?!_0x1ed4df[_0x24bf4f(0x323)](_0x510fc1):!0x0;default:return!0x1;}}function Et(_0x15b566){const _0xa24e1=_0x396ed2;if(Array['isArray'](_0x15b566))return _0x15b566[_0xa24e1(0x22a)](_0x2af886=>Et(_0x2af886))['join']('\x0a');if(_0x15b566&&typeof _0x15b566==_0xa24e1(0x25a)){var _0xb0e0ce,_0x4b3e49,_0x69604c,_0x16ce33,_0x156614;let _0x48a796=_0x15b566;return String((_0xb0e0ce=(_0x4b3e49=(_0x69604c=(_0x16ce33=(_0x156614=_0x48a796[_0xa24e1(0x28c)])==null?_0x48a796[_0xa24e1(0x175)]:_0x156614)==null?_0x48a796[_0xa24e1(0x305)]:_0x16ce33)==null?_0x48a796['value']:_0x69604c)==null?_0x48a796['id']:_0x4b3e49)==null?'':_0xb0e0ce)['trim']()['toLowerCase']();}return String(_0x15b566==null?'':_0x15b566)['trim']()['toLowerCase']();}function Dt(_0x368da6,_0x389ad9){const _0x4c445b=_0x396ed2;var _0x101419;let _0x4bd14e=Ot(_0x368da6),_0x333429=kt((_0x101419=_0x389ad9[_0x4c445b(0x285)])==null?{}:_0x101419);return _0x4bd14e[_0x4c445b(0x338)](_0x4cb9b5=>{const _0x4f21fd=_0x4c445b;var _0x43d1cc;return(_0x43d1cc=_0x333429[_0x4f21fd(0x2bb)](_0x4cb9b5))==null?[_0x4cb9b5]:_0x43d1cc;})[_0x4c445b(0x24f)]((_0x1ed4d6,_0x4e5ac0,_0x21dc55)=>_0x1ed4d6!==''&&_0x21dc55[_0x4c445b(0x400)](_0x1ed4d6)===_0x4e5ac0);}function Ot(_0x411940){const _0x17a389=_0x396ed2;if(_0x411940==null||_0x411940==='')return[];if(Array[_0x17a389(0x3db)](_0x411940))return _0x411940['flatMap'](_0x5268a0=>Ot(_0x5268a0));if(_0x411940&&typeof _0x411940=='object'){let _0x275033=_0x411940;return['id',_0x17a389(0x28c),_0x17a389(0x175),'value','text'][_0x17a389(0x338)](_0x1ce6da=>Ot(_0x275033[_0x1ce6da]))[_0x17a389(0x24f)]((_0x2d67ef,_0x2562e2,_0x2ad043)=>_0x2ad043['indexOf'](_0x2d67ef)===_0x2562e2);}return[Et(_0x411940)];}function kt(_0x43fdd1){const _0x5c057f=_0x396ed2;let _0x1b5b0b=new Map();return(Array['isArray'](_0x43fdd1[_0x5c057f(0x198)])?_0x43fdd1[_0x5c057f(0x198)]:[])['forEach'](_0x255695=>{const _0x3a310b=_0x5c057f;if(!_0x255695||typeof _0x255695!='object')return;let _0x2d2bae=Ot(_0x255695),_0x3815fc=_0x2d2bae['filter']((_0x1fdd78,_0x5a5bfb)=>_0x1fdd78!==''&&_0x2d2bae[_0x3a310b(0x400)](_0x1fdd78)===_0x5a5bfb);_0x3815fc[_0x3a310b(0x3d3)](_0x5453f2=>_0x1b5b0b[_0x3a310b(0x387)](_0x5453f2,_0x3815fc));}),_0x1b5b0b;}function F(_0x15c24c,_0x311499={},_0x11b321=_0x170e1c=>_0x170e1c,_0x4774d7={}){const _0x4b4736=_0x396ed2;var _0x43c909,_0x915ab,_0x389aaa,_0x1ccfe8;let _0x542113=!ut[_0x4b4736(0x1c2)](_0x15c24c),_0x5273ff=_0x11b321==null?_0x2de329=>_0x2de329:_0x11b321;return{'type':_0x15c24c,'i18nKey':'base.fieldType.'+_0x15c24c,'enabled':_0x542113,'visibleInCreateMenu':_0x542113,'createDefaultConfig':(_0x43c909=_0x4774d7[_0x4b4736(0x3ca)])==null?()=>({}):_0x43c909,'createDefaultValue':(_0x915ab=_0x4774d7[_0x4b4736(0x2f4)])==null?_0x2e9ba2=>{var _0x59aa68;return(_0x59aa68=_0x2e9ba2['defaultValue'])==null?null:_0x59aa68;}:_0x915ab,'normalize':(_0x401602,_0x45f6dc)=>_0x5273ff(_0x401602,_0x45f6dc),'validate':(_0x331f55,_0xc863fe)=>{const _0x2262ae=_0x4b4736;var _0x2ea8c5,_0x30c0ba;return _0x542113?(_0x2ea8c5=(_0x30c0ba=_0x4774d7[_0x2262ae(0x25e)])==null?void 0x0:_0x30c0ba[_0x2262ae(0x1c1)](_0x4774d7,_0x331f55,_0xc863fe))==null?{'valid':!0x0}:_0x2ea8c5:{'valid':!0x1};},'compare':(_0x267635,_0x4ba50c)=>dt(_0x267635,_0x4ba50c),'filter':(_0x8e67b8,_0x5b5804,_0x2c6d05,_0x2039c8)=>ft(_0x8e67b8,_0x5b5804,_0x2c6d05,_0x2039c8),'toPlainText':(_0x389aaa=_0x4774d7[_0x4b4736(0x329)])==null?_0x4af7a7=>_0x4af7a7==null?'':String(_0x4af7a7):_0x389aaa,'fromPlainText':(_0x1ccfe8=_0x4774d7[_0x4b4736(0x27f)])==null?_0x4c8fcb=>_0x5273ff(_0x4c8fcb,{'id':'','name':'','type':_0x15c24c,'config':{}}):_0x1ccfe8,'getCapabilities':()=>{const _0x689672=_0x4b4736;var _0x537771;return{...lt,..._0x311499,'editable':_0x542113&&((_0x537771=_0x311499[_0x689672(0x3e6)])==null?lt[_0x689672(0x3e6)]:_0x537771)};}};}function At(){const _0x589ee2=_0x396ed2;return[F(_0x1e4a6b['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x176e33=>{var _0x57bc45;return(_0x57bc45=_0x176e33['defaultValue'])==null?'':_0x57bc45;}}),F(_0x1e4a6b[_0x589ee2(0x165)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1bc7c3=>_0x1bc7c3==null||_0x1bc7c3===''?null:String(_0x1bc7c3),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x589ee2(0x33f)}})}),F(_0x1e4a6b['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4177eb=>Array[_0x589ee2(0x3db)](_0x4177eb)?_0x4177eb[_0x589ee2(0x22a)](String):_0x4177eb==null?[]:[String(_0x4177eb)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x589ee2(0x33f)}}),'createDefaultValue':_0x1b24cb=>{const _0x2ba863=_0x589ee2;var _0x577a30;return(_0x577a30=_0x1b24cb[_0x2ba863(0x170)])==null?[]:_0x577a30;}}),F(_0x1e4a6b[_0x589ee2(0x435)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x589ee2(0x242)}),'validate':Ft}),F(_0x1e4a6b[_0x589ee2(0x3f7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x589ee2(0x1e0)}),'createDefaultValue':_0x590a0b=>{var _0x593498;return(_0x593498=_0x590a0b['defaultValue'])==null?[]:_0x593498;},'validate':It}),F(_0x1e4a6b[_0x589ee2(0x225)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x278af9=>M(_0x278af9),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x2da)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x3aaa10=>_0x3aaa10==null?[]:Array[_0x589ee2(0x3db)](_0x3aaa10)?_0x3aaa10:[_0x3aaa10],{'createDefaultValue':_0x55b5d8=>{const _0x4aebd1=_0x589ee2;var _0x3fa753;return(_0x3fa753=_0x55b5d8[_0x4aebd1(0x170)])==null?[]:_0x3fa753;}}),F(_0x1e4a6b[_0x589ee2(0x3ae)],{},_0xb6793f=>_0xb6793f==null||_0xb6793f===''?null:Number(_0xb6793f),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x1e4a6b[_0x589ee2(0x1cb)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x272b82=>_0x272b82===!0x0||_0x272b82===_0x589ee2(0x2a7)||_0x272b82===0x1||_0x272b82==='1',{'createDefaultConfig':()=>({'icon':_0x589ee2(0x38c),'color':'#16a34a'}),'createDefaultValue':_0x3f680f=>{const _0x5c8a21=_0x589ee2;var _0x15a1ad;return(_0x15a1ad=_0x3f680f[_0x5c8a21(0x170)])==null?!0x1:_0x15a1ad;},'validate':_0x42eb7e=>typeof _0x42eb7e==_0x589ee2(0x424)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x2cb)}}),F(_0x1e4a6b[_0x589ee2(0x354)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':_0x589ee2(0x197)}),'toPlainText':_0x1f5c4b=>Vt(_0x1f5c4b),'fromPlainText':_0x1b9630=>Bt(_0x1b9630)}),F(_0x1e4a6b['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x589ee2(0x177),'pattern':_0x589ee2(0x20b)}}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x2ca)],{}),F(_0x1e4a6b['Flow'],{}),F(_0x1e4a6b[_0x589ee2(0x42e)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x1e4a6b[_0x589ee2(0x208)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x589ee2(0x3fb)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x343)],{'usableAsTitle':!0x0},_0x52b527=>_0x52b527==null?null:String(_0x52b527)['trim'](),{'validate':_0x12037b=>_0x12037b==null||_0x12037b===''||/^\+?[0-9 ()-]{6,20}$/[_0x589ee2(0x427)](String(_0x12037b))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x42d)}}),F(_0x1e4a6b[_0x589ee2(0x1a5)],{'usableAsTitle':!0x0},_0x13e0e1=>_0x13e0e1==null?null:String(_0x13e0e1)['trim'](),{'validate':_0x1aaed6=>_0x1aaed6==null||_0x1aaed6===''||Ut(String(_0x1aaed6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x589ee2(0x1ba)}}),F(_0x1e4a6b[_0x589ee2(0x26f)],{'usableAsTitle':!0x0}),F(_0x1e4a6b[_0x589ee2(0x241)],{'usableAsTitle':!0x0}),F(_0x1e4a6b[_0x589ee2(0x3f0)],{'usableAsGanttProgress':!0x0},_0x54d0ab=>_0x54d0ab==null||_0x54d0ab===''?null:Number(_0x54d0ab),{'createDefaultConfig':()=>({'format':_0x589ee2(0x1b3),'decimalPlaces':0x0,'color':_0x589ee2(0x25d),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x1011b8,_0x40ef38)=>zt(_0x1011b8,_0x40ef38,_0x589ee2(0x344))}),F(_0x1e4a6b['Currency'],{},_0x4872fd=>_0x4872fd==null||_0x4872fd===''?null:Number(_0x4872fd),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x1e4a6b[_0x589ee2(0x353)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x405489=>_0x405489==null||_0x405489===''?null:Number(_0x405489),{'createDefaultConfig':()=>({'icon':_0x589ee2(0x291),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3ebc5b,_0x46267a)=>zt(_0x3ebc5b,_0x46267a,'[BaseField]:\x20invalid\x20rating\x20value.')}),F(_0x1e4a6b[_0x589ee2(0x2b9)],{'supportsRelation':!0x0}),F(_0x1e4a6b[_0x589ee2(0x24e)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x1e4a6b['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x409b40=>_0x409b40==null?null:String(_0x409b40),{'createDefaultConfig':()=>({'provider':_0x589ee2(0x3c0)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x2be)],{'editable':!0x1,'groupable':!0x0},_0x13f179=>_0x13f179==null?null:String(_0x13f179),{'createDefaultConfig':()=>({'provider':_0x589ee2(0x3c0)}),'createDefaultValue':()=>null}),F(_0x1e4a6b[_0x589ee2(0x1b4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x208e1a=>M(_0x208e1a),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x18c)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x349f26=>M(_0x349f26),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1e4a6b[_0x589ee2(0x40a)],{})];}function jt(){const _0x3342e5=_0x396ed2;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x3342e5(0x257),'useThousands':!0x0,'abbreviation':_0x3342e5(0x2b6),'allowNegative':!0x0};}function Mt(){const _0x2b0a02=_0x396ed2;return{'locale':_0x2b0a02(0x3b2),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x2b0a02(0x239),'defaultMode':_0x2b0a02(0x2b6)};}function Nt(_0x23d8f1){const _0x1c3924=_0x396ed2;return _0x23d8f1==null||_0x23d8f1===''?[]:Array[_0x1c3924(0x3db)](_0x23d8f1)?_0x23d8f1[_0x1c3924(0x22a)](String):[String(_0x23d8f1)];}function Pt(_0x41d976,_0x248d97){const _0x180faa=_0x396ed2;var _0x4c7e3c;return _0x41d976==null||_0x41d976===''?_0x248d97[_0x180faa(0x285)]['allowMultiple']===!0x0?[]:null:_0x248d97[_0x180faa(0x285)][_0x180faa(0x358)]===!0x0?Array[_0x180faa(0x3db)](_0x41d976)?_0x41d976[_0x180faa(0x22a)](String):[String(_0x41d976)]:Array['isArray'](_0x41d976)?String((_0x4c7e3c=_0x41d976[0x0])==null?'':_0x4c7e3c)||null:String(_0x41d976);}function Ft(_0x34572a,_0x395c25){const _0x503ef4=_0x396ed2;return _0x395c25[_0x503ef4(0x285)]['allowMultiple']===!0x0?It(_0x34572a):_0x34572a==null||_0x34572a===''||typeof _0x34572a=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x503ef4(0x222)};}function It(_0x53aa4f){const _0x29614b=_0x396ed2;return _0x53aa4f==null||Array['isArray'](_0x53aa4f)&&_0x53aa4f[_0x29614b(0x28f)](_0x5a4fac=>typeof _0x5a4fac=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x29614b(0x3d6)};}function Lt(_0x512ca9){const _0x44eb37=_0x396ed2;return _0x512ca9==null||typeof _0x512ca9=='number'&&Number[_0x44eb37(0x1da)](_0x512ca9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x44eb37(0x192)};}function Rt(_0x4bb2e8,_0x4a3a67){const _0x29b069=_0x396ed2;return _0x4bb2e8==null||_0x4bb2e8===''?{'valid':!0x0}:typeof _0x4bb2e8!=_0x29b069(0x267)||!Number[_0x29b069(0x1da)](_0x4bb2e8)?{'valid':!0x1,'reason':_0x29b069(0x2a0)}:_0x4a3a67[_0x29b069(0x285)][_0x29b069(0x1e6)]===!0x1&&_0x4bb2e8<0x0?{'valid':!0x1,'reason':_0x29b069(0x35f)}:{'valid':!0x0};}function zt(_0x30378c,_0x10ecb9,_0x2fb34a){const _0x1e08e4=_0x396ed2;var _0x2f6814,_0xcec1a7,_0x25319f,_0x38c236;let _0x58f60a=Rt(_0x30378c,_0x10ecb9);if(!_0x58f60a[_0x1e08e4(0x423)]||_0x30378c==null||_0x30378c==='')return _0x58f60a;let _0x38218f=Number((_0x2f6814=(_0xcec1a7=_0x10ecb9['config'][_0x1e08e4(0x36b)])==null?_0x10ecb9[_0x1e08e4(0x285)][_0x1e08e4(0x18e)]:_0xcec1a7)==null?0x0:_0x2f6814),_0xd2b84e=Number((_0x25319f=(_0x38c236=_0x10ecb9['config']['max'])==null?_0x10ecb9[_0x1e08e4(0x285)][_0x1e08e4(0x261)]:_0x38c236)==null?0x64:_0x25319f),_0x2afc7c=Number(_0x30378c);return _0x2afc7c>=_0x38218f&&_0x2afc7c<=_0xd2b84e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2fb34a};}function Bt(_0x221492){const _0x44bcd9=_0x396ed2;if(_0x221492==null||_0x221492==='')return null;if(typeof _0x221492==_0x44bcd9(0x25a)&&!Array['isArray'](_0x221492)){let _0x266185=_0x221492,_0x15d438=typeof _0x266185[_0x44bcd9(0x305)]==_0x44bcd9(0x247)?_0x266185[_0x44bcd9(0x305)]['trim']():'',_0x19d065=typeof _0x266185[_0x44bcd9(0x2f1)]=='string'?_0x266185[_0x44bcd9(0x2f1)][_0x44bcd9(0x317)]():'',_0x2164bd=Ht(_0x19d065||_0x15d438);return _0x2164bd?{'text':_0x15d438||_0x19d065||_0x2164bd,'url':_0x2164bd}:null;}let _0x451f41=String(_0x221492)[_0x44bcd9(0x317)](),_0x297b5d=Ht(_0x451f41);return _0x297b5d?{'text':_0x451f41,'url':_0x297b5d}:null;}function Vt(_0x1fa09a){const _0x57f384=_0x396ed2;if(_0x1fa09a==null)return'';if(typeof _0x1fa09a=='object'&&!Array[_0x57f384(0x3db)](_0x1fa09a)){let _0x38667b=_0x1fa09a;return String(_0x38667b[_0x57f384(0x305)]||_0x38667b[_0x57f384(0x2f1)]||'');}return String(_0x1fa09a);}function Ht(_0x4e13d5){const _0x2dc895=_0x396ed2;let _0x1a0e8d=_0x4e13d5[_0x2dc895(0x317)]();return _0x1a0e8d?/^[a-z][a-z\d+.-]*:\/\//i['test'](_0x1a0e8d)?_0x1a0e8d:'https://'+_0x1a0e8d:'';}function Ut(_0x3f9340){const _0x37b418=_0x396ed2;let _0x584e6b=_0x3f9340[_0x37b418(0x400)]('@');if(_0x584e6b<=0x0||_0x584e6b!==_0x3f9340[_0x37b418(0x182)]('@'))return!0x1;let _0x33bb0a=_0x3f9340[_0x37b418(0x1ac)](_0x584e6b+0x1);return _0x33bb0a[_0x37b418(0x323)]('.')&&!_0x3f9340[_0x37b418(0x323)]('\x20')&&!_0x33bb0a[_0x37b418(0x30d)]('.')&&!_0x33bb0a['endsWith']('.');}const I={'table':_0x199efe=>[_0x396ed2(0x404),_0x199efe],'field':(_0xbf0519,_0x4ad51f)=>[_0x396ed2(0x404),_0xbf0519,'fields',_0x4ad51f],'fieldOrder':(_0x13c773,_0xfe9c90)=>['tables',_0x13c773,_0x396ed2(0x201),_0xfe9c90],'record':(_0x4d3b62,_0x24dd46)=>[_0x396ed2(0x404),_0x4d3b62,_0x396ed2(0x1ce),_0x24dd46],'cell':(_0x30701f,_0x330cb3,_0xb07a4a)=>[_0x396ed2(0x404),_0x30701f,_0x396ed2(0x1ce),_0x330cb3,'values',_0xb07a4a],'cellData':(_0x352676,_0x3e65fc,_0xd6bbec)=>[_0x396ed2(0x404),_0x352676,_0x396ed2(0x34c),String(_0x3e65fc),String(_0xd6bbec)],'attachmentSet':(_0x1b7ca4,_0x5a8e7c)=>[_0x396ed2(0x404),_0x1b7ca4,'resources',_0x396ed2(0x1a3),_0x5a8e7c],'attachment':(_0x150270,_0x252db0)=>[_0x396ed2(0x404),_0x150270,_0x396ed2(0x421),_0x396ed2(0x24b),_0x252db0],'view':(_0x46aa05,_0xb2bdf2)=>['tables',_0x46aa05,_0x396ed2(0x173),_0xb2bdf2],'viewFieldHidden':(_0x27f81c,_0x23f548,_0x261f4e)=>[_0x396ed2(0x404),_0x27f81c,_0x396ed2(0x173),_0x23f548,_0x396ed2(0x193),_0x261f4e,_0x396ed2(0x1bd)]};function L(_0xae928a){const _0x26c123=_0x396ed2;return _0xae928a[_0x26c123(0x307)]((_0x491692,_0x57f06a)=>_0x491692==null?_0x57f06a:_0x6fccb6['type'][_0x26c123(0x1d4)](_0x491692,_0x57f06a),void 0x0);}var R=class{['setBaseName'](_0x4889ba,_0x5280b4){const _0x159512=_0x396ed2;let _0x46c1ba=this[_0x159512(0x33b)](_0x4889ba,_0x4889ba[_0x159512(0x28c)],_0x5280b4);return L([this[_0x159512(0x336)]([_0x159512(0x28c)],_0x4889ba[_0x159512(0x28c)],_0x5280b4),..._0x46c1ba?[_0x46c1ba]:[]]);}[_0x396ed2(0x33b)](_0x44fc85,_0x111ff0,_0x4d9da8){const _0x10a96a=_0x396ed2;let _0x5188df=Object['values'](_0x44fc85['tables'])[_0x10a96a(0x338)](_0xda5229=>Object[_0x10a96a(0x33e)](_0xda5229['fields'])[_0x10a96a(0x338)](_0x4cdce6=>{const _0x5354b7=_0x10a96a;var _0x195680,_0x39f52,_0x18da0c;if(_0x4cdce6[_0x5354b7(0x415)]!==_0x1e4a6b['Formula'])return[];let _0x2936e8=String((_0x195680=(_0x39f52=_0x4cdce6['config'])==null?void 0x0:_0x39f52['formula'])==null?'':_0x195680),_0x5aef27=_0x8d3a01(_0x2936e8,_0x111ff0,_0x4d9da8);return _0x5aef27===_0x2936e8?[]:[this['_replaceOptional']([...I[_0x5354b7(0x232)](_0xda5229['id'],_0x4cdce6['id']),_0x5354b7(0x285),_0x5354b7(0x1c9)],(_0x18da0c=_0x4cdce6['config'])==null?void 0x0:_0x18da0c[_0x5354b7(0x1c9)],_0x5aef27)];}));return _0x5188df[_0x10a96a(0x1dd)]>0x0?L(_0x5188df):void 0x0;}[_0x396ed2(0x1f1)](_0x3bc4f1,_0x5b6a06,_0x44fa52=_0x3bc4f1['tableOrder'][_0x396ed2(0x1dd)]){const _0x3a18f8=_0x396ed2;return L([_0x6fccb6[_0x3a18f8(0x275)](I[_0x3a18f8(0x328)](_0x5b6a06['id']),_0x5b6a06),_0x6fccb6[_0x3a18f8(0x275)]([_0x3a18f8(0x1fe),_0x44fa52],_0x5b6a06['id'])]);}[_0x396ed2(0x29a)](_0x3213db,_0x1f7efc,_0x2ffaed){const _0x28c4d7=_0x396ed2;let _0x33b14a=_0x3213db['tables'][_0x1f7efc]['name'],_0xe1eee=Object[_0x28c4d7(0x33e)](_0x3213db[_0x28c4d7(0x404)])['flatMap'](_0x2c7e95=>Object[_0x28c4d7(0x33e)](_0x2c7e95[_0x28c4d7(0x2f3)])[_0x28c4d7(0x338)](_0xf9746e=>{const _0x2debc8=_0x28c4d7;var _0x337c2e,_0x596b17;if(_0xf9746e['type']!==_0x1e4a6b['Formula'])return[];let _0x2dacd3=String((_0x337c2e=(_0x596b17=_0xf9746e[_0x2debc8(0x285)])==null?void 0x0:_0x596b17['formula'])==null?'':_0x337c2e),_0x3d3221=Xt(_0x2dacd3,_0x33b14a,_0x2ffaed);return _0x3d3221===_0x2dacd3?[]:[this[_0x2debc8(0x39e)](_0x3213db,_0x2c7e95['id'],_0xf9746e['id'],{'config':{..._0xf9746e[_0x2debc8(0x285)],'formula':_0x3d3221}})];}));return L([_0x6fccb6[_0x28c4d7(0x1c7)]([...I[_0x28c4d7(0x328)](_0x1f7efc),_0x28c4d7(0x28c)],_0x33b14a,_0x2ffaed),..._0xe1eee]);}[_0x396ed2(0x2e5)](_0x5b280b,_0x5a380d){const _0x4a9448=_0x396ed2;let _0x4dfb70=_0x5b280b['tables'][_0x5a380d],_0x2664c7=_0x5b280b['tableOrder'][_0x4a9448(0x400)](_0x5a380d);return L([_0x6fccb6[_0x4a9448(0x3a7)](I[_0x4a9448(0x328)](_0x5a380d),_0x4dfb70),_0x6fccb6[_0x4a9448(0x3a7)]([_0x4a9448(0x1fe),_0x2664c7],_0x5a380d)]);}['createRecord'](_0x27d69e,_0x4a32f3,_0x47d5a0){const _0x14e677=_0x396ed2;return this[_0x14e677(0x1bb)](_0x27d69e,_0x4a32f3,[_0x47d5a0]);}[_0x396ed2(0x1bb)](_0x278dc3,_0x183b3c,_0x594bb7){const _0x27057d=_0x396ed2;let _0x15f1a6=_0x278dc3[_0x27057d(0x404)][_0x183b3c],_0xbe86ff=_0x594bb7[_0x27057d(0x24f)](_0x24e145=>_0x24e145&&!_0x15f1a6['records'][_0x24e145['id']]);return _0xbe86ff[_0x27057d(0x1dd)]?L([..._0xbe86ff[_0x27057d(0x22a)](_0x48d06c=>_0x6fccb6[_0x27057d(0x275)](I[_0x27057d(0x235)](_0x183b3c,_0x48d06c['id']),_0x48d06c)),this[_0x27057d(0x1dc)](_0x278dc3,_0x183b3c,_0xbe86ff)]):_0x6fccb6[_0x27057d(0x1c7)]([...I[_0x27057d(0x328)](_0x183b3c),_0x27057d(0x1ce)],_0x15f1a6[_0x27057d(0x1ce)],_0x15f1a6[_0x27057d(0x1ce)]);}['deleteRecord'](_0x1c4313,_0x23dc45,_0x406828){const _0x25cefb=_0x396ed2;return this[_0x25cefb(0x40c)](_0x1c4313,_0x23dc45,[_0x406828]);}[_0x396ed2(0x40c)](_0x17dc6f,_0x10b0f2,_0x4ebf1b){const _0x564721=_0x396ed2;let _0x82ca3c=_0x17dc6f[_0x564721(0x404)][_0x10b0f2],_0x578128=Array['from'](new Set(_0x4ebf1b))[_0x564721(0x24f)](_0x2a4af1=>_0x82ca3c[_0x564721(0x1ce)][_0x2a4af1]);if(!_0x578128[_0x564721(0x1dd)])return _0x6fccb6['replaceOp']([...I['table'](_0x10b0f2),_0x564721(0x1ce)],_0x82ca3c[_0x564721(0x1ce)],_0x82ca3c[_0x564721(0x1ce)]);let _0x3d2459=new Set(_0x578128),_0x42c0ca=_0x578128['map'](_0x5d2c25=>{const _0x4f008b=_0x564721;var _0x497967,_0x39b3f4;return{'recordId':_0x5d2c25,'index':(_0x497967=(_0x39b3f4=_0x82ca3c['recordOrder'])==null?void 0x0:_0x39b3f4[_0x4f008b(0x400)](_0x5d2c25))==null?-0x1:_0x497967};})[_0x564721(0x24f)](_0x56cc06=>_0x56cc06['index']>=0x0)['sort']((_0x3f12bb,_0x2317f9)=>_0x2317f9[_0x564721(0x362)]-_0x3f12bb[_0x564721(0x362)]);return L([..._0x578128['map'](_0x19fded=>_0x6fccb6[_0x564721(0x3a7)](I[_0x564721(0x235)](_0x10b0f2,_0x19fded),_0x82ca3c[_0x564721(0x1ce)][_0x19fded])),..._0x42c0ca['map'](({recordId:_0x3dc38e,index:_0x164807})=>_0x6fccb6[_0x564721(0x3a7)](['tables',_0x10b0f2,_0x564721(0x3ab),_0x164807],_0x3dc38e)),...this[_0x564721(0x199)](_0x82ca3c,_0x10b0f2,_0x123589=>{const _0x49a628=_0x564721;let _0x58fb29=_0x123589[_0x49a628(0x1ac)](_0x123589[_0x49a628(0x182)]('\x1f')+0x1);return _0x3d2459[_0x49a628(0x1c2)](_0x58fb29);})]);}[_0x396ed2(0x1be)](_0x39f88e,_0x15feaf,_0x24de52,_0x2de425){const _0x5186ae=_0x396ed2;return this[_0x5186ae(0x1af)](_0x39f88e,_0x15feaf,{..._0x2de425,'values':{..._0x39f88e[_0x5186ae(0x404)][_0x15feaf][_0x5186ae(0x1ce)][_0x24de52][_0x5186ae(0x33e)],..._0x2de425[_0x5186ae(0x33e)]}});}[_0x396ed2(0x361)](_0x388a80,_0x20f603,_0x2d3c01,_0xa13df6){const _0xd17118=_0x396ed2;let _0x1b01f6=_0x388a80['tables'][_0x20f603],_0x18e2b9=[...I[_0xd17118(0x235)](_0x20f603,_0x2d3c01),_0xd17118(0x2a9)],_0x168ec4=Object['values'](_0x1b01f6[_0xd17118(0x1ce)])[_0xd17118(0x22a)](_0x579fcb=>_0x579fcb['id']===_0x2d3c01?{..._0x579fcb,'orderKey':_0xa13df6}:_0x579fcb)[_0xd17118(0x314)]((_0x46476b,_0x2fd906)=>{const _0x3156b5=_0xd17118;var _0x4bd925,_0x37ac4a;return String((_0x4bd925=_0x46476b[_0x3156b5(0x2a9)])==null?_0x46476b['id']:_0x4bd925)[_0x3156b5(0x23e)](String((_0x37ac4a=_0x2fd906['orderKey'])==null?_0x2fd906['id']:_0x37ac4a));})['map'](_0x1e10f2=>_0x1e10f2['id']),_0x5dba43=[...I[_0xd17118(0x328)](_0x20f603),_0xd17118(0x3ab)];return L([_0x6fccb6[_0xd17118(0x1c7)](_0x18e2b9,_0x1b01f6[_0xd17118(0x1ce)][_0x2d3c01]['orderKey'],_0xa13df6),_0x1b01f6[_0xd17118(0x3ab)]?_0x6fccb6[_0xd17118(0x1c7)](_0x5dba43,_0x1b01f6[_0xd17118(0x3ab)],_0x168ec4):_0x6fccb6[_0xd17118(0x275)](_0x5dba43,_0x168ec4)]);}[_0x396ed2(0x326)](_0x2f62d9,_0x2e1b06,_0xa52d76,_0xf84848,_0x4e0f7d){const _0x3a6368=_0x396ed2;var _0x4b721b,_0x4a2ca9;let _0x16ad8c=_0x2f62d9[_0x3a6368(0x404)][_0x2e1b06],_0x12c09c=Wt(_0x16ad8c,_0xa52d76,_0xf84848)?_0x16ad8c:E(_0x16ad8c),_0x57b9a6=(_0x4b721b=_0x12c09c[_0x3a6368(0x2f0)])==null?void 0x0:_0x4b721b[_0xa52d76],_0x519d88=(_0x4a2ca9=_0x12c09c[_0x3a6368(0x158)])==null?void 0x0:_0x4a2ca9[_0xf84848];if(_0x57b9a6==null||_0x519d88==null){var _0x28c7ae;return this[_0x3a6368(0x336)](I[_0x3a6368(0x38f)](_0x2e1b06,_0xa52d76,_0xf84848),(_0x28c7ae=_0x2f62d9[_0x3a6368(0x404)][_0x2e1b06])==null||(_0x28c7ae=_0x28c7ae[_0x3a6368(0x1ce)][_0xa52d76])==null?void 0x0:_0x28c7ae[_0x3a6368(0x33e)][_0xf84848],_0x4e0f7d);}return this[_0x3a6368(0x34d)](_0x2f62d9,_0x2e1b06,[{'row':_0x57b9a6,'col':_0x519d88,'value':_0x4e0f7d}]);}[_0x396ed2(0x32a)](_0x29ef04,_0x843d0f,_0x419874){const _0x8f99e4=_0x396ed2;let _0x5e39a9=_0x29ef04[_0x8f99e4(0x404)][_0x843d0f],_0x4b607e=_0x419874[_0x8f99e4(0x28f)](_0x5f5650=>Object[_0x8f99e4(0x234)](_0x5f5650[_0x8f99e4(0x33e)])['every'](_0x3a9715=>Wt(_0x5e39a9,_0x5f5650[_0x8f99e4(0x348)],_0x3a9715)))?_0x5e39a9:E(_0x5e39a9),_0x43ccb2=_0x419874[_0x8f99e4(0x338)](_0x55196b=>Object[_0x8f99e4(0x236)](_0x55196b[_0x8f99e4(0x33e)])[_0x8f99e4(0x338)](([_0xb2404d,_0x49eade])=>{const _0x200d3f=_0x8f99e4;var _0x432530,_0x209804;let _0x282f97=(_0x432530=_0x4b607e[_0x200d3f(0x2f0)])==null?void 0x0:_0x432530[_0x55196b[_0x200d3f(0x348)]],_0x44a739=(_0x209804=_0x4b607e[_0x200d3f(0x158)])==null?void 0x0:_0x209804[_0xb2404d];return _0x282f97==null||_0x44a739==null?[]:[{'row':_0x282f97,'col':_0x44a739,'value':_0x49eade}];})),_0x3a1a0d=_0x419874[_0x8f99e4(0x338)](_0xfae61a=>{const _0x4025c0=_0x8f99e4;var _0x489cc7;return Object[_0x4025c0(0x236)]((_0x489cc7=_0xfae61a['recordPatch'])==null?{}:_0x489cc7)['map'](([_0x5be7f1,_0x51d97f])=>{const _0x43ac9d=_0x4025c0;var _0x1f9c4d;let _0x3fc7fd=[...I[_0x43ac9d(0x235)](_0x843d0f,_0xfae61a[_0x43ac9d(0x348)]),_0x5be7f1],_0xbbdc02=(_0x1f9c4d=_0x29ef04['tables'][_0x843d0f])==null||(_0x1f9c4d=_0x1f9c4d[_0x43ac9d(0x1ce)][_0xfae61a[_0x43ac9d(0x348)]])==null?void 0x0:_0x1f9c4d[_0x5be7f1];return this['_replaceOptional'](_0x3fc7fd,_0xbbdc02,_0x51d97f);});});return L([this[_0x8f99e4(0x34d)](_0x29ef04,_0x843d0f,_0x43ccb2),..._0x3a1a0d]);}[_0x396ed2(0x34d)](_0x304b2,_0x13b876,_0x6a847d){const _0x22327a=_0x396ed2;let _0x265aca=_0x304b2['tables'][_0x13b876],_0x23b779=_0x6a847d[_0x22327a(0x28f)](_0x2d6fc7=>Gt(_0x265aca,_0x2d6fc7[_0x22327a(0x284)],_0x2d6fc7[_0x22327a(0x3b3)]))?_0x265aca:E(_0x265aca),_0x2e3bd5=_0x6a847d['flatMap'](_0x51064a=>{const _0x3cde3f=_0x22327a;var _0x10558b,_0x478f07,_0x235737,_0x5a55fa;let _0x51182e=(_0x10558b=_0x23b779[_0x3cde3f(0x32b)])==null?void 0x0:_0x10558b[_0x51064a[_0x3cde3f(0x3b3)]],_0x3bad70=(_0x478f07=_0x23b779[_0x3cde3f(0x2d2)])==null?void 0x0:_0x478f07[_0x51064a[_0x3cde3f(0x284)]],_0x36d9a5=_0x51182e?_0x23b779[_0x3cde3f(0x2f3)][_0x51182e]:void 0x0,_0x3f3796=D(_0x51064a['value'],_0x36d9a5),_0x958711=(_0x235737=_0x23b779[_0x3cde3f(0x34c)])==null||(_0x235737=_0x235737[_0x51064a[_0x3cde3f(0x284)]])==null?void 0x0:_0x235737[_0x51064a['col']],_0x492cfb=this[_0x3cde3f(0x336)](I[_0x3cde3f(0x34c)](_0x13b876,_0x51064a[_0x3cde3f(0x284)],_0x51064a[_0x3cde3f(0x3b3)]),_0x958711,_0x3f3796);if(!_0x51182e||!_0x3bad70)return[_0x492cfb];let _0x3cd38b=(_0x5a55fa=_0x23b779[_0x3cde3f(0x1ce)][_0x3bad70])==null?void 0x0:_0x5a55fa[_0x3cde3f(0x33e)][_0x51182e],_0x42333e=(_0x36d9a5==null?void 0x0:_0x36d9a5[_0x3cde3f(0x415)])===_0x1e4a6b['Attachment']?O(_0x51064a[_0x3cde3f(0x34e)]):Ae(_0x51064a[_0x3cde3f(0x34e)],_0x3f3796,_0x36d9a5,_0x23b779,_0x3bad70),_0x458540=[_0x492cfb,this[_0x3cde3f(0x336)](I['cell'](_0x13b876,_0x3bad70,_0x51182e),_0x3cd38b,_0x42333e)];if((_0x36d9a5==null?void 0x0:_0x36d9a5[_0x3cde3f(0x415)])!==_0x1e4a6b[_0x3cde3f(0x2da)])return _0x458540;let _0x39498a=this[_0x3cde3f(0x2c9)](_0x23b779,_0x13b876,_0x3bad70,_0x51182e,_0x42333e);return[..._0x458540,..._0x39498a];});return _0x2e3bd5[_0x22327a(0x1dd)]?L(_0x2e3bd5):_0x6fccb6['replaceOp']([_0x22327a(0x404),_0x13b876,_0x22327a(0x34c)],_0x23b779[_0x22327a(0x34c)],_0x23b779[_0x22327a(0x34c)]);}[_0x396ed2(0x3c7)](_0x246aa4,_0x430a7a,_0x44dacf){const _0x172079=_0x396ed2;var _0x1e9504,_0x255e04;let _0x4e79e7=_0x246aa4[_0x172079(0x404)][_0x430a7a];if(_0x4e79e7[_0x172079(0x2f3)][_0x44dacf[_0x172079(0x232)]['id']]||_0x4e79e7[_0x172079(0x201)]['includes'](_0x44dacf['field']['id']))return _0x6fccb6['replaceOp']([_0x172079(0x404),_0x430a7a,'fieldOrder'],_0x4e79e7[_0x172079(0x201)],_0x4e79e7[_0x172079(0x201)]);let _0x4ebe53=(_0x1e9504=_0x44dacf['index'])==null?_0x4e79e7['fieldOrder'][_0x172079(0x1dd)]:_0x1e9504,_0x16ff95=Object[_0x172079(0x33e)]((_0x255e04=_0x4e79e7[_0x172079(0x173)])==null?{}:_0x255e04)[_0x172079(0x338)](_0x2f5b0a=>{const _0x2326f9=_0x172079;var _0xc58fe9,_0x4c91e9;if(!_0x2f5b0a[_0x2326f9(0x201)]||_0x2f5b0a[_0x2326f9(0x201)][_0x2326f9(0x323)](_0x44dacf['field']['id']))return[];let _0xead0fa=Yt((_0xc58fe9=(_0x4c91e9=_0x44dacf[_0x2326f9(0x378)])==null?void 0x0:_0x4c91e9[_0x2f5b0a['id']])==null?_0x4ebe53:_0xc58fe9,_0x2f5b0a['fieldOrder'][_0x2326f9(0x1dd)]);return[_0x6fccb6['insertOp']([...I['view'](_0x430a7a,_0x2f5b0a['id']),_0x2326f9(0x201),_0xead0fa],_0x44dacf['field']['id'])];});return L([_0x6fccb6['insertOp'](I['field'](_0x430a7a,_0x44dacf[_0x172079(0x232)]['id']),_0x44dacf[_0x172079(0x232)]),_0x6fccb6[_0x172079(0x275)](I['fieldOrder'](_0x430a7a,_0x4ebe53),_0x44dacf[_0x172079(0x232)]['id']),..._0x16ff95]);}['duplicateField'](_0x3307b0,_0x22e476,_0x3b5e80,_0x324506){const _0x216f5a=_0x396ed2;var _0x5c68b6,_0x1264a7;let _0x216505=_0x3307b0[_0x216f5a(0x404)][_0x22e476];if(!_0x216505[_0x216f5a(0x2f3)][_0x3b5e80]||_0x216505['fields'][_0x324506[_0x216f5a(0x232)]['id']]||_0x216505['fieldOrder'][_0x216f5a(0x323)](_0x324506[_0x216f5a(0x232)]['id']))return _0x6fccb6[_0x216f5a(0x1c7)]([_0x216f5a(0x404),_0x22e476,_0x216f5a(0x201)],_0x216505[_0x216f5a(0x201)],_0x216505['fieldOrder']);let _0x5163f8=(_0x5c68b6=_0x324506[_0x216f5a(0x362)])==null?_0x216505[_0x216f5a(0x201)][_0x216f5a(0x400)](_0x3b5e80)+0x1:_0x5c68b6,_0x206dd3=_0x216505[_0x216f5a(0x201)][_0x216f5a(0x24f)](_0x15acfc=>_0x15acfc!==_0x324506[_0x216f5a(0x232)]['id']),_0x22ac89=qt(_0x206dd3,_0x324506[_0x216f5a(0x232)]['id'],_0x5163f8),_0x22c7f5=Object['values']((_0x1264a7=_0x216505[_0x216f5a(0x173)])==null?{}:_0x1264a7)[_0x216f5a(0x338)](_0x258c90=>{const _0x1e9357=_0x216f5a;var _0x18a27b,_0x21cfd8,_0x3fffd9,_0x4f2eaa,_0x2bd1fa;let _0x588b07=(_0x18a27b=_0x258c90[_0x1e9357(0x201)])!=null&&_0x18a27b[_0x1e9357(0x1dd)]?_0x258c90[_0x1e9357(0x201)]:_0x206dd3;if(_0x588b07[_0x1e9357(0x323)](_0x324506[_0x1e9357(0x232)]['id']))return[];let _0x2571bd=qt(_0x588b07,_0x324506[_0x1e9357(0x232)]['id'],(_0x21cfd8=(_0x3fffd9=_0x324506['viewIndexes'])==null?void 0x0:_0x3fffd9[_0x258c90['id']])==null?_0x5163f8:_0x21cfd8),_0x20e959=(_0x4f2eaa=_0x258c90['fieldSettings'])==null?void 0x0:_0x4f2eaa[_0x3b5e80];return[this[_0x1e9357(0x336)]([...I[_0x1e9357(0x1b8)](_0x22e476,_0x258c90['id']),'fieldOrder'],_0x258c90[_0x1e9357(0x201)],_0x2571bd),..._0x20e959?[this[_0x1e9357(0x336)]([...I['view'](_0x22e476,_0x258c90['id']),'fieldSettings',_0x324506[_0x1e9357(0x232)]['id']],(_0x2bd1fa=_0x258c90[_0x1e9357(0x193)])==null?void 0x0:_0x2bd1fa[_0x324506[_0x1e9357(0x232)]['id']],_0x20e959)]:[]];}),_0x2feb99=Object[_0x216f5a(0x33e)](_0x216505[_0x216f5a(0x1ce)])['filter'](_0x394676=>Object[_0x216f5a(0x3fd)]['hasOwnProperty'][_0x216f5a(0x1c1)](_0x394676[_0x216f5a(0x33e)],_0x3b5e80))[_0x216f5a(0x22a)](_0x1740a7=>this['_replaceOptional'](I[_0x216f5a(0x38f)](_0x22e476,_0x1740a7['id'],_0x324506['field']['id']),_0x1740a7[_0x216f5a(0x33e)][_0x324506['field']['id']],_0x1740a7[_0x216f5a(0x33e)][_0x3b5e80]));return L([_0x6fccb6[_0x216f5a(0x275)](I[_0x216f5a(0x232)](_0x22e476,_0x324506[_0x216f5a(0x232)]['id']),_0x324506[_0x216f5a(0x232)]),_0x6fccb6['replaceOp'](['tables',_0x22e476,'fieldOrder'],_0x216505[_0x216f5a(0x201)],_0x22ac89),..._0x22c7f5,..._0x2feb99]);}[_0x396ed2(0x39e)](_0x512e3a,_0x4f14ee,_0x1a3d09,_0x10c9c6){const _0x2e05ee=_0x396ed2;let _0x26ac97=_0x512e3a[_0x2e05ee(0x404)][_0x4f14ee][_0x2e05ee(0x2f3)][_0x1a3d09],_0x5c9911={..._0x26ac97,..._0x10c9c6};Object[_0x2e05ee(0x234)](_0x10c9c6)[_0x2e05ee(0x3d3)](_0xc88896=>{_0x10c9c6[_0xc88896]===void 0x0&&delete _0x5c9911[_0xc88896];});let _0x1452e7=_0x6fccb6[_0x2e05ee(0x1c7)](I[_0x2e05ee(0x232)](_0x4f14ee,_0x1a3d09),_0x26ac97,_0x5c9911);return _0x5c9911['type']===_0x1e4a6b[_0x2e05ee(0x408)]?L([_0x1452e7,...this[_0x2e05ee(0x16e)](_0x512e3a,_0x4f14ee,_0x1a3d09,_0x5c9911)]):_0x1452e7;}[_0x396ed2(0x3d8)](_0x1b607e,_0x410765,_0x32e911,_0x1b20cc){const _0x27cb53=_0x396ed2;return this[_0x27cb53(0x39e)](_0x1b607e,_0x410765,_0x32e911,_0x1b20cc);}[_0x396ed2(0x28d)](_0x4ed0a8,_0x77a6a8,_0x11a87a){const _0x365122=_0x396ed2;let _0x36ae0d=_0x4ed0a8[_0x365122(0x404)][_0x77a6a8];if(!(_0x36ae0d!=null&&_0x36ae0d[_0x365122(0x2f3)][_0x11a87a])||_0x36ae0d[_0x365122(0x243)]===_0x11a87a)return _0x6fccb6[_0x365122(0x1c7)]([_0x365122(0x404),_0x77a6a8,_0x365122(0x201)],_0x36ae0d==null?void 0x0:_0x36ae0d[_0x365122(0x201)],_0x36ae0d==null?void 0x0:_0x36ae0d[_0x365122(0x201)]);let _0x59202c=_0x36ae0d[_0x365122(0x201)]['indexOf'](_0x11a87a),_0x3bbe8f=Object[_0x365122(0x33e)](_0x36ae0d[_0x365122(0x173)])[_0x365122(0x338)](_0x50f6dd=>{const _0x1b81c3=_0x365122;var _0x50cf46,_0x44a9da,_0x51138c,_0xee2fdf,_0x687bce,_0x20642c,_0x52be0a,_0x4f8bc9;let _0x2d9ca4=[],_0x5167a5=(_0x50cf46=(_0x44a9da=_0x50f6dd[_0x1b81c3(0x201)])==null?void 0x0:_0x44a9da[_0x1b81c3(0x400)](_0x11a87a))==null?-0x1:_0x50cf46;_0x5167a5>=0x0&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6[_0x1b81c3(0x3a7)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x201),_0x5167a5],_0x11a87a));let _0x18abda=(_0x51138c=_0x50f6dd['fieldSettings'])==null?void 0x0:_0x51138c[_0x11a87a];_0x18abda!==void 0x0&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6[_0x1b81c3(0x3a7)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'fieldSettings',_0x11a87a],_0x18abda));let _0x4b9c8f=_0x50f6dd[_0x1b81c3(0x24f)]?{..._0x50f6dd['filter'],'conditions':_0x50f6dd[_0x1b81c3(0x24f)][_0x1b81c3(0x31f)][_0x1b81c3(0x24f)](_0x59da68=>_0x59da68['fieldId']!==_0x11a87a)}:_0x50f6dd[_0x1b81c3(0x24f)];_0x4b9c8f&&_0x4b9c8f[_0x1b81c3(0x31f)][_0x1b81c3(0x1dd)]!==((_0xee2fdf=_0x50f6dd[_0x1b81c3(0x24f)])==null?void 0x0:_0xee2fdf[_0x1b81c3(0x31f)][_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this[_0x1b81c3(0x336)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x24f)],_0x50f6dd[_0x1b81c3(0x24f)],_0x4b9c8f));let _0x104886=(_0x687bce=_0x50f6dd['sort'])==null?void 0x0:_0x687bce[_0x1b81c3(0x24f)](_0x5b1ed4=>_0x5b1ed4[_0x1b81c3(0x20f)]!==_0x11a87a);_0x104886&&_0x104886[_0x1b81c3(0x1dd)]!==((_0x20642c=_0x50f6dd[_0x1b81c3(0x314)])==null?void 0x0:_0x20642c[_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this[_0x1b81c3(0x336)]([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'sort'],_0x50f6dd[_0x1b81c3(0x314)],_0x104886));let _0x39bf8a=(_0x52be0a=_0x50f6dd[_0x1b81c3(0x1e0)])==null?void 0x0:_0x52be0a[_0x1b81c3(0x24f)](_0x3c9991=>_0x3c9991[_0x1b81c3(0x20f)]!==_0x11a87a);_0x39bf8a&&_0x39bf8a[_0x1b81c3(0x1dd)]!==((_0x4f8bc9=_0x50f6dd['group'])==null?void 0x0:_0x4f8bc9[_0x1b81c3(0x1dd)])&&_0x2d9ca4[_0x1b81c3(0x258)](this['_replaceOptional']([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),_0x1b81c3(0x1e0)],_0x50f6dd[_0x1b81c3(0x1e0)],_0x39bf8a));let _0x1be149=Jt(_0x50f6dd[_0x1b81c3(0x285)],_0x11a87a);return JSON['stringify'](_0x1be149)!==JSON[_0x1b81c3(0x219)](_0x50f6dd['config'])&&_0x2d9ca4[_0x1b81c3(0x258)](_0x6fccb6['replaceOp']([...I[_0x1b81c3(0x1b8)](_0x77a6a8,_0x50f6dd['id']),'config'],_0x50f6dd[_0x1b81c3(0x285)],_0x1be149)),_0x2d9ca4;}),_0x379b57=Object['values'](_0x36ae0d[_0x365122(0x1ce)])[_0x365122(0x338)](_0x1a08ad=>Object[_0x365122(0x3fd)][_0x365122(0x1c3)]['call'](_0x1a08ad[_0x365122(0x33e)],_0x11a87a)?[_0x6fccb6[_0x365122(0x3a7)](I['cell'](_0x77a6a8,_0x1a08ad['id'],_0x11a87a),_0x1a08ad[_0x365122(0x33e)][_0x11a87a])]:[]);return L([_0x6fccb6[_0x365122(0x3a7)](I[_0x365122(0x232)](_0x77a6a8,_0x11a87a),_0x36ae0d['fields'][_0x11a87a]),_0x6fccb6['removeOp'](I[_0x365122(0x201)](_0x77a6a8,_0x59202c),_0x11a87a),..._0x3bbe8f,..._0x379b57,...this['_deleteAttachmentResources'](_0x36ae0d,_0x77a6a8,_0x48fcd1=>_0x48fcd1[_0x365122(0x30d)](_0x11a87a+'\x1f'))]);}[_0x396ed2(0x2d3)](_0x5bf94a,_0x3e2319,_0x4d199a,_0x5187f0){const _0x2e9856=_0x396ed2;let _0x2845cd=_0x5bf94a[_0x2e9856(0x404)][_0x3e2319][_0x2e9856(0x201)],_0xd54d42=Kt(_0x2845cd,_0x4d199a,_0x5187f0);return _0x6fccb6['replaceOp']([_0x2e9856(0x404),_0x3e2319,_0x2e9856(0x201)],_0x2845cd,_0xd54d42);}[_0x396ed2(0x1d8)](_0x13524c,_0x2dbc0b,_0x5607e5,_0x1dcd29=_0x13524c['tables'][_0x2dbc0b][_0x396ed2(0x26b)][_0x396ed2(0x1dd)]){const _0x59c6f0=_0x396ed2;return L([_0x6fccb6[_0x59c6f0(0x275)](I[_0x59c6f0(0x1b8)](_0x2dbc0b,_0x5607e5['id']),_0x5607e5),_0x6fccb6['insertOp']([_0x59c6f0(0x404),_0x2dbc0b,_0x59c6f0(0x26b),_0x1dcd29],_0x5607e5['id'])]);}['renameView'](_0x55e9a7,_0x26284f,_0x4e6ef3,_0x127f73){const _0x3e167c=_0x396ed2;return _0x6fccb6[_0x3e167c(0x1c7)]([...I['view'](_0x26284f,_0x4e6ef3),_0x3e167c(0x28c)],_0x55e9a7[_0x3e167c(0x404)][_0x26284f][_0x3e167c(0x173)][_0x4e6ef3]['name'],_0x127f73);}[_0x396ed2(0x15f)](_0x11874e,_0x35d358,_0x1bd05a){const _0x1946ee=_0x396ed2;let _0x4bfb15=_0x11874e['tables'][_0x35d358],_0x5ad633=_0x4bfb15[_0x1946ee(0x173)][_0x1bd05a],_0x5537ab=_0x4bfb15['viewOrder'][_0x1946ee(0x400)](_0x1bd05a);return L([_0x6fccb6[_0x1946ee(0x3a7)](I[_0x1946ee(0x1b8)](_0x35d358,_0x1bd05a),_0x5ad633),_0x6fccb6[_0x1946ee(0x3a7)]([_0x1946ee(0x404),_0x35d358,'viewOrder',_0x5537ab],_0x1bd05a)]);}['moveView'](_0x568f07,_0x5897b2,_0x75bce2,_0x7a02d){const _0xc571f7=_0x396ed2;let _0x2d7423=_0x568f07[_0xc571f7(0x404)][_0x5897b2][_0xc571f7(0x26b)],_0x327282=Kt(_0x2d7423,_0x75bce2,{'beforeFieldId':_0x7a02d[_0xc571f7(0x15c)],'afterFieldId':_0x7a02d[_0xc571f7(0x1de)]});return _0x6fccb6[_0xc571f7(0x1c7)]([_0xc571f7(0x404),_0x5897b2,_0xc571f7(0x26b)],_0x2d7423,_0x327282);}[_0x396ed2(0x3ed)](_0x56cdad,_0x17b8e4,_0x1011f6,_0x103191){const _0x4d8738=_0x396ed2;var _0x545297;let _0x34aa54=(_0x545297=_0x56cdad['tables'][_0x17b8e4][_0x4d8738(0x173)][_0x1011f6][_0x4d8738(0x285)])==null?{}:_0x545297,_0x30e497={..._0x34aa54,..._0x103191};return Object['keys'](_0x103191)['forEach'](_0x549fe6=>{_0x103191[_0x549fe6]===void 0x0&&delete _0x30e497[_0x549fe6];}),_0x6fccb6['replaceOp']([...I['view'](_0x17b8e4,_0x1011f6),_0x4d8738(0x285)],_0x34aa54,_0x30e497);}[_0x396ed2(0x227)](_0x3c7ca7,_0x427a7a,_0x14f487,_0x15df67){const _0x145d31=_0x396ed2;return this[_0x145d31(0x336)]([...I[_0x145d31(0x1b8)](_0x427a7a,_0x14f487),_0x145d31(0x24f)],_0x3c7ca7[_0x145d31(0x404)][_0x427a7a][_0x145d31(0x173)][_0x14f487][_0x145d31(0x24f)],_0x15df67);}['setViewSort'](_0x3c254e,_0x2b4a46,_0x333c29,_0x53e985){const _0x4e8321=_0x396ed2;return this[_0x4e8321(0x336)]([...I[_0x4e8321(0x1b8)](_0x2b4a46,_0x333c29),_0x4e8321(0x314)],_0x3c254e[_0x4e8321(0x404)][_0x2b4a46]['views'][_0x333c29]['sort'],_0x53e985);}[_0x396ed2(0x279)](_0x329f9c,_0x749430,_0x4a7730,_0x5424fd){const _0x266eda=_0x396ed2;return this[_0x266eda(0x336)]([...I[_0x266eda(0x1b8)](_0x749430,_0x4a7730),_0x266eda(0x1e0)],_0x329f9c[_0x266eda(0x404)][_0x749430][_0x266eda(0x173)][_0x4a7730][_0x266eda(0x1e0)],_0x5424fd);}[_0x396ed2(0x2e2)](_0x558400,_0x541fe1,_0x21b5d7,_0x2ebb5d,_0x1c33f6){const _0x5697e4=_0x396ed2;return this[_0x5697e4(0x1a1)](_0x558400,_0x541fe1,_0x21b5d7,_0x2ebb5d,{'hidden':!_0x1c33f6});}[_0x396ed2(0x3af)](_0x31a54c,_0x4a284b,_0x48f219,_0x183eca,_0x22f09a){const _0x44dea7=_0x396ed2;return this[_0x44dea7(0x1a1)](_0x31a54c,_0x4a284b,_0x48f219,_0x183eca,{'width':_0x22f09a});}[_0x396ed2(0x341)](_0x141358,_0x414f26,_0x341da3,_0x58e0e4,_0x4365de){const _0x157960=_0x396ed2;var _0xf153e0;let _0x109755=_0x141358[_0x157960(0x404)][_0x414f26][_0x157960(0x173)][_0x341da3],_0x32d20f=Kt((_0xf153e0=_0x109755[_0x157960(0x201)])==null?_0x141358['tables'][_0x414f26][_0x157960(0x201)]:_0xf153e0,_0x58e0e4,_0x4365de);return this['_replaceOptional']([...I['view'](_0x414f26,_0x341da3),_0x157960(0x201)],_0x109755[_0x157960(0x201)],_0x32d20f);}['_setViewFieldSetting'](_0x2b826c,_0x4eaa28,_0x10bd64,_0x2b901a,_0xa17e83){const _0x40d259=_0x396ed2;var _0x1f111e;let _0x35a233=(_0x1f111e=_0x2b826c[_0x40d259(0x404)][_0x4eaa28][_0x40d259(0x173)][_0x10bd64][_0x40d259(0x193)])==null?{}:_0x1f111e,_0x1335af={..._0x35a233,[_0x2b901a]:{..._0x35a233[_0x2b901a],..._0xa17e83}};return this[_0x40d259(0x336)]([...I[_0x40d259(0x1b8)](_0x4eaa28,_0x10bd64),_0x40d259(0x193)],_0x2b826c[_0x40d259(0x404)][_0x4eaa28][_0x40d259(0x173)][_0x10bd64][_0x40d259(0x193)],_0x1335af);}[_0x396ed2(0x1dc)](_0x2c250f,_0x2dd2ba,_0x22f5fa){const _0x908a39=_0x396ed2;let _0x56db09=_0x2c250f[_0x908a39(0x404)][_0x2dd2ba],_0x1dbb73=new Set(_0x22f5fa[_0x908a39(0x22a)](_0x2a500b=>_0x2a500b['id'])),_0x138f56=[...Object[_0x908a39(0x33e)](_0x56db09[_0x908a39(0x1ce)])['filter'](_0x389308=>!_0x1dbb73[_0x908a39(0x1c2)](_0x389308['id'])),..._0x22f5fa][_0x908a39(0x314)]((_0x4f714b,_0x3073fc)=>{const _0x2a6fc2=_0x908a39;var _0x165314,_0x2562c4;return String((_0x165314=_0x4f714b[_0x2a6fc2(0x2a9)])==null?_0x4f714b['id']:_0x165314)[_0x2a6fc2(0x23e)](String((_0x2562c4=_0x3073fc[_0x2a6fc2(0x2a9)])==null?_0x3073fc['id']:_0x2562c4));})[_0x908a39(0x22a)](_0x325238=>_0x325238['id']),_0x105039=[...I[_0x908a39(0x328)](_0x2dd2ba),_0x908a39(0x3ab)];return _0x56db09[_0x908a39(0x3ab)]?_0x6fccb6['replaceOp'](_0x105039,_0x56db09[_0x908a39(0x3ab)],_0x138f56):_0x6fccb6[_0x908a39(0x275)](_0x105039,_0x138f56);}[_0x396ed2(0x16e)](_0x71242c,_0x35a764,_0x28fa95,_0x24bfe9){const _0x416092=_0x396ed2;var _0x1b6f10,_0x5bc67a,_0xe4a4c6,_0x3e2de1;let _0x4199eb=E(_0x71242c[_0x416092(0x404)][_0x35a764]),_0x27ba4a=String((_0x1b6f10=(_0x5bc67a=_0x24bfe9[_0x416092(0x285)])==null?void 0x0:_0x5bc67a[_0x416092(0x1c9)])==null?'':_0x1b6f10)[_0x416092(0x317)](),_0x3eb781=(_0xe4a4c6=_0x4199eb['colIndex'])==null?void 0x0:_0xe4a4c6[_0x28fa95];if(_0x3eb781==null)return[];let _0x474fc2=(_0x3e2de1=_0x4199eb[_0x416092(0x3ab)])==null?Object[_0x416092(0x234)](_0x4199eb[_0x416092(0x1ce)]):_0x3e2de1,_0x223e93=_0x474fc2[_0x416092(0x22a)](_0x372252=>{const _0x52ddf3=_0x416092;var _0x83f26a;return(_0x83f26a=_0x4199eb[_0x52ddf3(0x2f0)])==null?void 0x0:_0x83f26a[_0x372252];})['find'](_0x383687=>_0x383687!=null);return _0x474fc2[_0x416092(0x338)](_0x9aa0c4=>{const _0x48327d=_0x416092;var _0x57291a,_0x5af1f2;let _0xe09b7d=(_0x57291a=_0x4199eb[_0x48327d(0x2f0)])==null?void 0x0:_0x57291a[_0x9aa0c4];if(_0xe09b7d==null)return[];let _0xf39979=(_0x5af1f2=_0x4199eb['cellData'])==null||(_0x5af1f2=_0x5af1f2[_0xe09b7d])==null?void 0x0:_0x5af1f2[_0x3eb781],_0x24dae3=_0x27ba4a?_0xe09b7d===_0x223e93?{'f':_0x27ba4a,'si':_0x28fa95}:{'si':_0x28fa95}:{'v':null,'t':null};return[this['_replaceOptional'](I[_0x48327d(0x34c)](_0x35a764,_0xe09b7d,_0x3eb781),_0xf39979,_0x24dae3)];});}['_setAttachmentResources'](_0x84035c,_0x1a2732,_0x3eda19,_0x35b4a6,_0x15d948){const _0x38902d=_0x396ed2;var _0x31f95c;let _0x4e3234=Me(_0x35b4a6,_0x3eda19),_0xb2875f=_0x15d948[_0x38902d(0x22a)]((_0x3ad5f0,_0x5cabee)=>{var _0x501ea1;return String((_0x501ea1=_0x3ad5f0['id'])==null?_0x4e3234+'\x1f'+_0x5cabee:_0x501ea1);});return[this[_0x38902d(0x336)](I[_0x38902d(0x3e9)](_0x1a2732,_0x4e3234),(_0x31f95c=_0x84035c[_0x38902d(0x421)])==null||(_0x31f95c=_0x31f95c[_0x38902d(0x1a3)])==null?void 0x0:_0x31f95c[_0x4e3234],_0xb2875f),..._0x15d948[_0x38902d(0x22a)]((_0x4f6c2b,_0x403e5e)=>{const _0x1eff55=_0x38902d;var _0x39c7ef;let _0x24e685=_0xb2875f[_0x403e5e];return this[_0x1eff55(0x336)](I[_0x1eff55(0x1f2)](_0x1a2732,_0x24e685),(_0x39c7ef=_0x84035c[_0x1eff55(0x421)])==null||(_0x39c7ef=_0x39c7ef['attachments'])==null?void 0x0:_0x39c7ef[_0x24e685],{..._0x4f6c2b,'id':_0x24e685});})];}[_0x396ed2(0x199)](_0x4d93b8,_0x2f0c5f,_0x4b3e90){const _0x11846a=_0x396ed2;var _0x467eb7,_0x2873e2;let _0x12a6e3=(_0x467eb7=(_0x2873e2=_0x4d93b8[_0x11846a(0x421)])==null?void 0x0:_0x2873e2[_0x11846a(0x1a3)])==null?{}:_0x467eb7,_0x4314a6=Object[_0x11846a(0x236)](_0x12a6e3)[_0x11846a(0x24f)](([_0x5b2671])=>_0x4b3e90(_0x5b2671));if(!_0x4314a6[_0x11846a(0x1dd)])return[];let _0x1353e3=new Set(Object['entries'](_0x12a6e3)[_0x11846a(0x24f)](([_0xa39717])=>!_0x4b3e90(_0xa39717))[_0x11846a(0x338)](([,_0x491050])=>_0x491050)),_0x566a3d=new Set(_0x4314a6['flatMap'](([,_0x173e47])=>_0x173e47));return[..._0x4314a6[_0x11846a(0x22a)](([_0x48f5a4,_0x528e92])=>_0x6fccb6['removeOp'](I['attachmentSet'](_0x2f0c5f,_0x48f5a4),_0x528e92)),...Array[_0x11846a(0x34b)](_0x566a3d)[_0x11846a(0x338)](_0x1e0d81=>{const _0x37984d=_0x11846a;var _0x501578;let _0x489e71=(_0x501578=_0x4d93b8[_0x37984d(0x421)])==null||(_0x501578=_0x501578['attachments'])==null?void 0x0:_0x501578[_0x1e0d81];return _0x489e71!==void 0x0&&!_0x1353e3[_0x37984d(0x1c2)](_0x1e0d81)?[_0x6fccb6[_0x37984d(0x3a7)](I['attachment'](_0x2f0c5f,_0x1e0d81),_0x489e71)]:[];})];}[_0x396ed2(0x336)](_0x2283f9,_0x396d8b,_0x4e1551){const _0x4d36be=_0x396ed2;return _0x396d8b===void 0x0?_0x6fccb6['insertOp'](_0x2283f9,_0x4e1551):_0x6fccb6[_0x4d36be(0x1c7)](_0x2283f9,_0x396d8b,_0x4e1551);}};function Wt(_0x11d446,_0x356a4a,_0x39ab6a){const _0x2a8e58=_0x396ed2;var _0x271089,_0x5e6fb1,_0xa25df1,_0x36eb67;let _0x2a7466=(_0x271089=_0x11d446['rowIndex'])==null?void 0x0:_0x271089[_0x356a4a],_0x157cbf=(_0x5e6fb1=_0x11d446[_0x2a8e58(0x158)])==null?void 0x0:_0x5e6fb1[_0x39ab6a];return _0x2a7466!=null&&_0x157cbf!=null&&((_0xa25df1=_0x11d446[_0x2a8e58(0x2d2)])==null?void 0x0:_0xa25df1[_0x2a7466])===_0x356a4a&&((_0x36eb67=_0x11d446[_0x2a8e58(0x32b)])==null?void 0x0:_0x36eb67[_0x157cbf])===_0x39ab6a&&_0x11d446['cellData']!=null;}function Gt(_0x17369b,_0x2c2aad,_0x5eaa8a){const _0x4a32a5=_0x396ed2;var _0x40d9e4,_0x5ef011;return((_0x40d9e4=_0x17369b[_0x4a32a5(0x2d2)])==null?void 0x0:_0x40d9e4[_0x2c2aad])!=null&&((_0x5ef011=_0x17369b[_0x4a32a5(0x32b)])==null?void 0x0:_0x5ef011[_0x5eaa8a])!=null&&_0x17369b[_0x4a32a5(0x34c)]!=null;}function Kt(_0x405303,_0x369622,_0x2b278e){const _0x183b0d=_0x396ed2;let _0x3518c4=_0x405303['filter'](_0x1d2095=>_0x1d2095!==_0x369622),_0x3da7d7=_0x2b278e[_0x183b0d(0x412)]?_0x3518c4[_0x183b0d(0x400)](_0x2b278e[_0x183b0d(0x412)]):_0x2b278e[_0x183b0d(0x312)]?_0x3518c4['indexOf'](_0x2b278e[_0x183b0d(0x312)])+0x1:_0x3518c4[_0x183b0d(0x1dd)];return _0x3518c4[_0x183b0d(0x340)](_0x3da7d7<0x0?_0x3518c4[_0x183b0d(0x1dd)]:_0x3da7d7,0x0,_0x369622),_0x3518c4;}function qt(_0x545d25,_0x314047,_0x370dfe){const _0x5ba98c=_0x396ed2;let _0x33a988=_0x545d25[_0x5ba98c(0x24f)](_0x51ecd4=>_0x51ecd4!==_0x314047);return _0x33a988[_0x5ba98c(0x340)](Yt(_0x370dfe,_0x33a988[_0x5ba98c(0x1dd)]),0x0,_0x314047),_0x33a988;}function Jt(_0x49afa1,_0x789c1d,_0x1dd140){const _0x1e6572=_0x396ed2;if(Array[_0x1e6572(0x3db)](_0x49afa1))return _0x1dd140===_0x1e6572(0x35a)?_0x49afa1[_0x1e6572(0x24f)](_0x4b727b=>_0x4b727b!==_0x789c1d):_0x49afa1[_0x1e6572(0x338)](_0x265643=>{const _0x7920ab=_0x1e6572;if(_0x265643&&typeof _0x265643==_0x7920ab(0x25a)&&!Array[_0x7920ab(0x3db)](_0x265643)&&_0x265643['fieldId']===_0x789c1d)return[];let _0x29aa61=Jt(_0x265643,_0x789c1d);return _0x29aa61===void 0x0?[]:[_0x29aa61];});if(!_0x49afa1||typeof _0x49afa1!='object')return _0x1dd140!=null&&_0x1dd140[_0x1e6572(0x2c3)]('FieldId')&&_0x49afa1===_0x789c1d?void 0x0:_0x49afa1;let _0x4b43bb=_0x49afa1;if(_0x4b43bb[_0x1e6572(0x20f)]!==_0x789c1d)return Object[_0x1e6572(0x185)](Object[_0x1e6572(0x236)](_0x4b43bb)['flatMap'](([_0x21a3e2,_0x2d5974])=>{const _0x2aa73a=_0x1e6572;if(_0x21a3e2===_0x789c1d&&_0x1dd140===_0x2aa73a(0x193))return[];let _0x511697=Jt(_0x2d5974,_0x789c1d,_0x21a3e2);return _0x511697===void 0x0?[]:[[_0x21a3e2,_0x511697]];}));}function Yt(_0x56cd75,_0x1c1f53){const _0x5dfa31=_0x396ed2;return Math[_0x5dfa31(0x422)](0x0,Math[_0x5dfa31(0x36b)](_0x56cd75,_0x1c1f53));}function Xt(_0x4200e1,_0x23f066,_0x368c29){const _0xfdc826=_0x396ed2;if(!_0x4200e1||!_0x23f066||_0x23f066===_0x368c29)return _0x4200e1;let _0x47962a='',_0x413bc6=!0x1,_0x26b4d7=_0x23f066[_0xfdc826(0x1ad)]();for(let _0x55d3e0=0x0;_0x55d3e0<_0x4200e1[_0xfdc826(0x1dd)];){let _0x54456f=_0x4200e1[_0x55d3e0];if(_0x54456f==='\x22'){if(_0x413bc6&&_0x4200e1[_0x55d3e0+0x1]==='\x22'){_0x47962a+='\x22\x22',_0x55d3e0+=0x2;continue;}_0x413bc6=!_0x413bc6,_0x47962a+=_0x54456f,_0x55d3e0++;continue;}if(!_0x413bc6&&_0x4200e1['slice'](_0x55d3e0,_0x55d3e0+_0x23f066['length'])[_0xfdc826(0x1ad)]()===_0x26b4d7&&Zt(_0x4200e1,_0x55d3e0,_0x23f066[_0xfdc826(0x1dd)])){_0x47962a+=_0x368c29,_0x55d3e0+=_0x23f066['length'];continue;}_0x47962a+=_0x54456f,_0x55d3e0++;}return _0x47962a;}function Zt(_0x4a95f5,_0x8d9dd7,_0x3e77ee){const _0x4c5861=_0x396ed2;var _0x4760db;let _0x18e62a=_0x4a95f5[_0x8d9dd7-0x1];if(_0x18e62a&&/[\w.]/[_0x4c5861(0x427)](_0x18e62a))return!0x1;let _0x1bd551=_0x8d9dd7+_0x3e77ee;for(;/\s/[_0x4c5861(0x427)]((_0x4760db=_0x4a95f5[_0x1bd551])==null?'':_0x4760db);)_0x1bd551++;return _0x4a95f5[_0x1bd551]==='[';}function z(_0x2aa8eb){'@babel/helpers - typeof';const _0xe1d186=_0x396ed2;return z=typeof Symbol==_0xe1d186(0x1c5)&&typeof Symbol['iterator']==_0xe1d186(0x402)?function(_0x506d67){return typeof _0x506d67;}:function(_0x4896d3){const _0x1ab6cb=_0xe1d186;return _0x4896d3&&typeof Symbol==_0x1ab6cb(0x1c5)&&_0x4896d3[_0x1ab6cb(0x311)]===Symbol&&_0x4896d3!==Symbol[_0x1ab6cb(0x3fd)]?_0x1ab6cb(0x402):typeof _0x4896d3;},z(_0x2aa8eb);}function Qt(_0x5c645c,_0x5058e9){const _0x5ab0c9=_0x396ed2;if(z(_0x5c645c)!='object'||!_0x5c645c)return _0x5c645c;var _0xd27936=_0x5c645c[Symbol[_0x5ab0c9(0x437)]];if(_0xd27936!==void 0x0){var _0x2f01db=_0xd27936[_0x5ab0c9(0x1c1)](_0x5c645c,_0x5058e9||'default');if(z(_0x2f01db)!=_0x5ab0c9(0x25a))return _0x2f01db;throw TypeError(_0x5ab0c9(0x3da));}return(_0x5058e9==='string'?String:Number)(_0x5c645c);}function $t(_0x3c0bfe){const _0x6c3598=_0x396ed2;var _0x5d846a=Qt(_0x3c0bfe,_0x6c3598(0x247));return z(_0x5d846a)==_0x6c3598(0x402)?_0x5d846a:_0x5d846a+'';}function B(_0x1c2ef7,_0x4dca24,_0x59db62){const _0x42fd5e=_0x396ed2;return(_0x4dca24=$t(_0x4dca24))in _0x1c2ef7?Object[_0x42fd5e(0x315)](_0x1c2ef7,_0x4dca24,{'value':_0x59db62,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c2ef7[_0x4dca24]=_0x59db62,_0x1c2ef7;}const en=_0x2adec3('base.field-registry.service');var tn=class extends _0x4c331b{constructor(..._0x1b472b){super(..._0x1b472b),B(this,'_plugins',new Map());}[_0x396ed2(0x290)](_0x8207a6){const _0xa950c9=_0x396ed2;return this[_0xa950c9(0x373)][_0xa950c9(0x387)](_0x8207a6['type'],_0x8207a6),_0x37a382(()=>this[_0xa950c9(0x373)][_0xa950c9(0x3cc)](_0x8207a6[_0xa950c9(0x415)]));}[_0x396ed2(0x2bb)](_0x4010b9){const _0x4c8527=_0x396ed2;let _0x107730=this['_plugins'][_0x4c8527(0x2bb)](_0x4010b9);if(!_0x107730)throw Error(_0x4c8527(0x3a6)+_0x4010b9+_0x4c8527(0x296));return _0x107730;}[_0x396ed2(0x1cf)](_0x56a927){const _0x480638=_0x396ed2;return this['_plugins'][_0x480638(0x2bb)](_0x56a927);}['getAll'](){const _0x10563c=_0x396ed2;return Array[_0x10563c(0x34b)](this[_0x10563c(0x373)]['values']());}};const nn=_0x2adec3('base.permission.service');var rn=class{constructor(){const _0x44a03c=_0x396ed2;B(this,_0x44a03c(0x23b),new Map()),B(this,'_tablePermissions',new Map()),B(this,'_fieldPermissions',new Map()),B(this,'_recordPermissions',new Map());}[_0x396ed2(0x2ba)](_0x1cb497){const _0x30d1e4=_0x396ed2;var _0x37d46b,_0x46a957;return(_0x37d46b=(_0x46a957=this[_0x30d1e4(0x23b)]['get'](_0x1cb497))==null?void 0x0:_0x46a957['createTable'])==null?!0x0:_0x37d46b;}[_0x396ed2(0x22b)](_0x686c75){const _0x164ae1=_0x396ed2;var _0x1fb41f,_0x3aea6a;return(_0x1fb41f=(_0x3aea6a=this[_0x164ae1(0x432)][_0x164ae1(0x2bb)](_0x686c75))==null?void 0x0:_0x3aea6a['delete'])==null?!0x0:_0x1fb41f;}[_0x396ed2(0x345)](_0x4fedca){const _0x4f7e37=_0x396ed2;var _0x4f34b2,_0x72b418;return(_0x4f34b2=(_0x72b418=this['_tablePermissions'][_0x4f7e37(0x2bb)](_0x4fedca))==null?void 0x0:_0x72b418[_0x4f7e37(0x3c7)])==null?!0x0:_0x4f34b2;}[_0x396ed2(0x2ff)](_0x2d4489,_0x4f9887){const _0xd2e647=_0x396ed2;var _0x129a73,_0x5cdc16;return(_0x129a73=(_0x5cdc16=this[_0xd2e647(0x418)]['get'](V(_0x2d4489,_0x4f9887)))==null?void 0x0:_0x5cdc16[_0xd2e647(0x172)])==null?!0x0:_0x129a73;}[_0x396ed2(0x2f2)](_0x45cd2b,_0x45faa4){var _0x28aca4,_0x368b18;return(_0x28aca4=(_0x368b18=this['_fieldPermissions']['get'](V(_0x45cd2b,_0x45faa4)))==null?void 0x0:_0x368b18['delete'])==null?!0x0:_0x28aca4;}[_0x396ed2(0x294)](_0x513713){const _0x5e769c=_0x396ed2;var _0x35d595,_0x46834b;return(_0x35d595=(_0x46834b=this[_0x5e769c(0x432)][_0x5e769c(0x2bb)](_0x513713))==null?void 0x0:_0x46834b[_0x5e769c(0x1af)])==null?!0x0:_0x35d595;}[_0x396ed2(0x23d)](_0x2fb4de,_0x30e52c){const _0x24eec5=_0x396ed2;var _0x3f750b,_0x3ced67;return(_0x3f750b=(_0x3ced67=this[_0x24eec5(0x430)][_0x24eec5(0x2bb)](an(_0x2fb4de,_0x30e52c)))==null?void 0x0:_0x3ced67[_0x24eec5(0x3cc)])==null?!0x0:_0x3f750b;}[_0x396ed2(0x438)](_0x493d49,_0x43f437,_0x5b16e3){const _0x1e8ae4=_0x396ed2;var _0x3ff93a,_0x3bbf52,_0x16a81f,_0x1e2a37;let _0x5f0484=this[_0x1e8ae4(0x418)][_0x1e8ae4(0x2bb)](V(_0x493d49,_0x5b16e3));return((_0x3ff93a=(_0x3bbf52=this[_0x1e8ae4(0x430)][_0x1e8ae4(0x2bb)](an(_0x493d49,_0x43f437)))==null?void 0x0:_0x3bbf52[_0x1e8ae4(0x29c)])==null?!0x0:_0x3ff93a)&&((_0x16a81f=_0x5f0484==null?void 0x0:_0x5f0484[_0x1e8ae4(0x172)])==null?!0x0:_0x16a81f)&&((_0x1e2a37=_0x5f0484==null?void 0x0:_0x5f0484[_0x1e8ae4(0x29c)])==null?!0x0:_0x1e2a37);}[_0x396ed2(0x410)](_0x75cbd6){const _0x588167=_0x396ed2;var _0xd7db90,_0x5ca373;return(_0xd7db90=(_0x5ca373=this['_tablePermissions']['get'](_0x75cbd6))==null?void 0x0:_0x5ca373[_0x588167(0x1e2)])==null?!0x0:_0xd7db90;}[_0x396ed2(0x339)](_0x335ad0,_0x2f070b){const _0x150ff5=_0x396ed2;this['_basePermissions']['set'](_0x335ad0,{...this[_0x150ff5(0x23b)][_0x150ff5(0x2bb)](_0x335ad0),..._0x2f070b});}[_0x396ed2(0x425)](_0x596919,_0x368a5d){const _0x2131f2=_0x396ed2;this['_tablePermissions']['set'](_0x596919,{...this[_0x2131f2(0x432)][_0x2131f2(0x2bb)](_0x596919),..._0x368a5d});}[_0x396ed2(0x202)](_0x370610,_0x1b1194,_0x43127a){const _0x1a634d=_0x396ed2;let _0x56a20c=V(_0x370610,_0x1b1194);this['_fieldPermissions'][_0x1a634d(0x387)](_0x56a20c,{...this[_0x1a634d(0x418)][_0x1a634d(0x2bb)](_0x56a20c),..._0x43127a});}[_0x396ed2(0x276)](_0x2799b4,_0x4e46db,_0x37260e){const _0x33f7c7=_0x396ed2;let _0x345c2c=an(_0x2799b4,_0x4e46db);this[_0x33f7c7(0x430)]['set'](_0x345c2c,{...this[_0x33f7c7(0x430)][_0x33f7c7(0x2bb)](_0x345c2c),..._0x37260e});}[_0x396ed2(0x1a6)](_0x2c713a){const _0x207f0c=_0x396ed2;this[_0x207f0c(0x23b)][_0x207f0c(0x3cc)](_0x2c713a);}[_0x396ed2(0x303)](_0x4e0f94){const _0x427bb3=_0x396ed2;this[_0x427bb3(0x432)][_0x427bb3(0x3cc)](_0x4e0f94);}[_0x396ed2(0x18b)](_0x4c2fb2,_0x4115e0){const _0x2b1f4d=_0x396ed2;this[_0x2b1f4d(0x418)]['delete'](V(_0x4c2fb2,_0x4115e0));}[_0x396ed2(0x3f4)](_0x2f7ba3,_0x5208f2){this['_recordPermissions']['delete'](an(_0x2f7ba3,_0x5208f2));}[_0x396ed2(0x2d9)](){const _0x16233c=_0x396ed2;return{'bases':Object['fromEntries'](this[_0x16233c(0x23b)]),'tables':Object['fromEntries'](this[_0x16233c(0x432)]),'fields':Object[_0x16233c(0x185)](this[_0x16233c(0x418)]),'records':Object['fromEntries'](this['_recordPermissions'])};}};function V(_0x270437,_0x355ab0){return _0x270437+'\x1f'+_0x355ab0;}function an(_0x10a5c0,_0xbc2222){return _0x10a5c0+'\x1f'+_0xbc2222;}function H(_0x2208f0,_0xee96e7){return function(_0x38b62b,_0x2009fa){_0xee96e7(_0x38b62b,_0x2009fa,_0x2208f0);};}function U(_0x156296,_0x112b22,_0x42a090,_0x4f0624){const _0x28204f=_0x396ed2;var _0x454f64=arguments[_0x28204f(0x1dd)],_0x1b9542=_0x454f64<0x3?_0x112b22:_0x4f0624===null?_0x4f0624=Object['getOwnPropertyDescriptor'](_0x112b22,_0x42a090):_0x4f0624,_0x2dadeb;if(typeof Reflect=='object'&&typeof Reflect[_0x28204f(0x3c4)]==_0x28204f(0x1c5))_0x1b9542=Reflect[_0x28204f(0x3c4)](_0x156296,_0x112b22,_0x42a090,_0x4f0624);else{for(var _0x5a29cd=_0x156296[_0x28204f(0x1dd)]-0x1;_0x5a29cd>=0x0;_0x5a29cd--)(_0x2dadeb=_0x156296[_0x5a29cd])&&(_0x1b9542=(_0x454f64<0x3?_0x2dadeb(_0x1b9542):_0x454f64>0x3?_0x2dadeb(_0x112b22,_0x42a090,_0x1b9542):_0x2dadeb(_0x112b22,_0x42a090))||_0x1b9542);}return _0x454f64>0x3&&_0x1b9542&&Object[_0x28204f(0x315)](_0x112b22,_0x42a090,_0x1b9542),_0x1b9542;}const W=_0x2adec3(_0x396ed2(0x3e4));let on=class{constructor(_0x4f2e51,_0x5adc57=sn(),_0x575df0={}){const _0x3740b1=_0x396ed2;this[_0x3740b1(0x2e4)]=_0x4f2e51,this[_0x3740b1(0x39c)]=_0x5adc57,this['_runtimeContext']=_0x575df0,B(this,'_factory',new R()),B(this,_0x3740b1(0x3b0),new A());}[_0x396ed2(0x1f1)](_0x556dee,_0x113a07,_0x306940){const _0x393cf1=_0x396ed2;if(!this['_permissionService'][_0x393cf1(0x2ba)](_0x556dee[_0x393cf1(0x2c2)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this[_0x393cf1(0x403)](_0x556dee,this[_0x393cf1(0x273)]['createTable'](_0x556dee[_0x393cf1(0x2d9)](),_0x113a07,_0x306940));}['renameTable'](_0xee031d,_0x5a9a29,_0x59dadc){const _0x295f3b=_0x396ed2;this[_0x295f3b(0x403)](_0xee031d,this['_factory'][_0x295f3b(0x29a)](_0xee031d['getSnapshot'](),_0x5a9a29,_0x59dadc));}[_0x396ed2(0x2e5)](_0x254dec,_0x1fa271){const _0x46b103=_0x396ed2;if(!this[_0x46b103(0x2e4)][_0x46b103(0x22b)](_0x1fa271))throw Error(_0x46b103(0x3d0));this[_0x46b103(0x403)](_0x254dec,this[_0x46b103(0x273)][_0x46b103(0x2e5)](_0x254dec[_0x46b103(0x2d9)](),_0x1fa271));}[_0x396ed2(0x326)](_0x15e9fa,_0x545daf,_0x369165,_0x1417fb,_0x35366d){const _0x10e92e=_0x396ed2;this[_0x10e92e(0x403)](_0x15e9fa,this[_0x10e92e(0x376)](_0x15e9fa,_0x545daf,_0x369165,_0x1417fb,_0x35366d));}[_0x396ed2(0x32a)](_0xbf121e,_0x21476c,_0x178c45){const _0x121b2c=_0x396ed2;this[_0x121b2c(0x403)](_0xbf121e,this[_0x121b2c(0x1e7)](_0xbf121e,_0x21476c,_0x178c45));}[_0x396ed2(0x1af)](_0x41ca8c,_0x364dbc,_0x202c90){const _0x1d9799=_0x396ed2;this[_0x1d9799(0x403)](_0x41ca8c,this[_0x1d9799(0x35b)](_0x41ca8c,_0x364dbc,_0x202c90));}['createUpdateCellOp'](_0x196bb9,_0x2a7e03,_0x30940c,_0x2acbce,_0x2a965f){const _0x167320=_0x396ed2;let _0x1013c9=_0x196bb9[_0x167320(0x2d9)](),_0x1d9b61=this['_normalizeCellValue'](_0x1013c9,_0x2a7e03,_0x30940c,_0x2acbce,_0x2a965f),_0x3f08eb=this[_0x167320(0x385)](_0x1013c9,_0x2a7e03,_0x30940c,{[_0x2acbce]:_0x1d9b61});return this[_0x167320(0x273)]['setRecordValues'](_0x1013c9,_0x2a7e03,[_0x3f08eb]);}[_0x396ed2(0x1e7)](_0x150904,_0x252f44,_0x28df90){const _0x455a1f=_0x396ed2;let _0x5cb0b8=_0x150904[_0x455a1f(0x2d9)](),_0x13a93f=_0x28df90[_0x455a1f(0x22a)](_0x56c12f=>this[_0x455a1f(0x385)](_0x5cb0b8,_0x252f44,_0x56c12f[_0x455a1f(0x348)],{...Object['fromEntries'](Object[_0x455a1f(0x236)](_0x56c12f[_0x455a1f(0x33e)])[_0x455a1f(0x22a)](([_0x198757,_0x131c08])=>[_0x198757,this[_0x455a1f(0x237)](_0x5cb0b8,_0x252f44,_0x56c12f['recordId'],_0x198757,_0x131c08)]))}));return this[_0x455a1f(0x273)][_0x455a1f(0x32a)](_0x5cb0b8,_0x252f44,_0x13a93f);}[_0x396ed2(0x35b)](_0x2d5d3b,_0x524286,_0x58709a){const _0xaf5e42=_0x396ed2;if(!this['_permissionService'][_0xaf5e42(0x294)](_0x524286))throw Error(_0xaf5e42(0x433));let _0x1309a8=_0x2d5d3b[_0xaf5e42(0x2d9)](),_0x43e4d8=this['_createNumberingAllocators'](_0x1309a8['tables'][_0x524286]);return this[_0xaf5e42(0x273)][_0xaf5e42(0x1af)](_0x1309a8,_0x524286,this[_0xaf5e42(0x3e5)](_0x1309a8,_0x524286,_0x58709a,_0x43e4d8));}[_0x396ed2(0x29e)](_0x5be43a,_0xe0e472,_0x2be188){const _0x54c0da=_0x396ed2;if(!this[_0x54c0da(0x2e4)][_0x54c0da(0x294)](_0xe0e472))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x2b0f4f=_0x5be43a[_0x54c0da(0x2d9)](),_0xeeebc=this[_0x54c0da(0x300)](_0x2b0f4f['tables'][_0xe0e472]);return this['_factory'][_0x54c0da(0x1bb)](_0x2b0f4f,_0xe0e472,_0x2be188[_0x54c0da(0x22a)](_0x22bb73=>this['_createRecordWithDefaults'](_0x2b0f4f,_0xe0e472,_0x22bb73,_0xeeebc)));}[_0x396ed2(0x2c6)](_0x10e817,_0x375ccb,_0x5b83a6,_0x250f05,_0x4d147e){const _0x22f12d=_0x396ed2;if(!this[_0x22f12d(0x2e4)][_0x22f12d(0x345)](_0x375ccb))throw Error(_0x22f12d(0x249));let _0x3f1857=_0x10e817[_0x22f12d(0x2d9)](),_0x47cd9a=this[_0x22f12d(0x273)][_0x22f12d(0x3c7)](_0x3f1857,_0x375ccb,{'field':_0x5b83a6,'index':_0x250f05,'viewIndexes':_0x4d147e}),_0xac2747=this[_0x22f12d(0x355)](_0x3f1857,_0x375ccb,_0x5b83a6);if(!_0xac2747[_0x22f12d(0x1dd)])return _0x47cd9a;let _0x539c54=this[_0x22f12d(0x3b0)]['applyOp'](_0x3f1857,_0x47cd9a);return L([_0x47cd9a,this['_factory'][_0x22f12d(0x32a)](_0x539c54,_0x375ccb,_0xac2747)]);}[_0x396ed2(0x3d2)](_0x5ba1c5,_0x2a6ff1,_0x1b379a){const _0x321f84=_0x396ed2;if(!this[_0x321f84(0x2e4)]['canDeleteRecord'](_0x2a6ff1,_0x1b379a))throw Error(_0x321f84(0x34a));this['_apply'](_0x5ba1c5,this[_0x321f84(0x273)][_0x321f84(0x3d2)](_0x5ba1c5[_0x321f84(0x2d9)](),_0x2a6ff1,_0x1b379a));}['duplicateRecord'](_0x35275d,_0x5063ed,_0x3302de,_0x3e1760){const _0x5195ee=_0x396ed2;this[_0x5195ee(0x403)](_0x35275d,this['_factory'][_0x5195ee(0x1be)](_0x35275d['getSnapshot'](),_0x5063ed,_0x3302de,_0x3e1760));}[_0x396ed2(0x361)](_0x575b48,_0x21469c,_0x3ed941,_0x1a0cf5){const _0x9f252e=_0x396ed2;this[_0x9f252e(0x403)](_0x575b48,this['_factory'][_0x9f252e(0x361)](_0x575b48['getSnapshot'](),_0x21469c,_0x3ed941,_0x1a0cf5));}[_0x396ed2(0x3c7)](_0xbb11c4,_0x445e2f,_0x11e346,_0x2da027,_0x139bae){const _0x2a7d0d=_0x396ed2;this[_0x2a7d0d(0x403)](_0xbb11c4,this[_0x2a7d0d(0x2c6)](_0xbb11c4,_0x445e2f,_0x11e346,_0x2da027,_0x139bae));}[_0x396ed2(0x39e)](_0x1a7dc9,_0x5e229d,_0x47e932,_0x4a0ee2){const _0x264bd2=_0x396ed2;if(!this[_0x264bd2(0x2e4)][_0x264bd2(0x2ff)](_0x5e229d,_0x47e932))throw Error(_0x264bd2(0x16b));this[_0x264bd2(0x403)](_0x1a7dc9,this[_0x264bd2(0x273)][_0x264bd2(0x39e)](_0x1a7dc9[_0x264bd2(0x2d9)](),_0x5e229d,_0x47e932,_0x4a0ee2));}[_0x396ed2(0x3d8)](_0x4c1e80,_0x11117d,_0x5db339,_0xc27c45){const _0x14160b=_0x396ed2;if(!this[_0x14160b(0x2e4)][_0x14160b(0x2ff)](_0x11117d,_0x5db339))throw Error(_0x14160b(0x16b));this[_0x14160b(0x403)](_0x4c1e80,this[_0x14160b(0x273)][_0x14160b(0x3d8)](_0x4c1e80[_0x14160b(0x2d9)](),_0x11117d,_0x5db339,_0xc27c45));}[_0x396ed2(0x28d)](_0x5a7ebe,_0x594aed,_0x173a2c){const _0x319a5c=_0x396ed2;var _0x6b8a35;if(((_0x6b8a35=_0x5a7ebe[_0x319a5c(0x2d9)]()['tables'][_0x594aed])==null?void 0x0:_0x6b8a35[_0x319a5c(0x243)])===_0x173a2c)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x319a5c(0x2e4)][_0x319a5c(0x2f2)](_0x594aed,_0x173a2c))throw Error(_0x319a5c(0x3b5));this[_0x319a5c(0x403)](_0x5a7ebe,this['_factory']['deleteField'](_0x5a7ebe['getSnapshot'](),_0x594aed,_0x173a2c));}[_0x396ed2(0x2d3)](_0x363ffa,_0x24cb66,_0x4c13dd,_0x4c85bb){const _0x272728=_0x396ed2;if(!this[_0x272728(0x2e4)]['canEditField'](_0x24cb66,_0x4c13dd))throw Error(_0x272728(0x16b));this[_0x272728(0x403)](_0x363ffa,this[_0x272728(0x273)][_0x272728(0x2d3)](_0x363ffa[_0x272728(0x2d9)](),_0x24cb66,_0x4c13dd,_0x4c85bb));}[_0x396ed2(0x1d8)](_0x235665,_0x45a9e4,_0x3e3d28,_0x4a07b6){const _0x857293=_0x396ed2;this[_0x857293(0x403)](_0x235665,this['_factory'][_0x857293(0x1d8)](_0x235665[_0x857293(0x2d9)](),_0x45a9e4,_0x3e3d28,_0x4a07b6));}[_0x396ed2(0x380)](_0x52e449,_0x2c6ec0,_0x1e7647,_0x19ff1b){const _0x219d1f=_0x396ed2;if(!this['_permissionService']['canManageView'](_0x2c6ec0,_0x1e7647))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x52e449,this['_factory']['renameView'](_0x52e449[_0x219d1f(0x2d9)](),_0x2c6ec0,_0x1e7647,_0x19ff1b));}[_0x396ed2(0x15f)](_0x5432b7,_0x146110,_0x3546ef){const _0x3265e9=_0x396ed2;if(!this[_0x3265e9(0x2e4)][_0x3265e9(0x410)](_0x146110,_0x3546ef))throw Error(_0x3265e9(0x335));this[_0x3265e9(0x403)](_0x5432b7,this['_factory'][_0x3265e9(0x15f)](_0x5432b7[_0x3265e9(0x2d9)](),_0x146110,_0x3546ef));}[_0x396ed2(0x183)](_0x546ecc,_0x3b35b2,_0x4c6b5d,_0x3e9079){const _0x20b697=_0x396ed2;if(!this[_0x20b697(0x2e4)][_0x20b697(0x410)](_0x3b35b2,_0x4c6b5d))throw Error(_0x20b697(0x335));this['_apply'](_0x546ecc,this[_0x20b697(0x273)][_0x20b697(0x183)](_0x546ecc[_0x20b697(0x2d9)](),_0x3b35b2,_0x4c6b5d,_0x3e9079));}[_0x396ed2(0x3ed)](_0x12dc3b,_0x467fb9,_0x293802,_0x49af54){const _0x3f51f3=_0x396ed2;if(!this[_0x3f51f3(0x2e4)][_0x3f51f3(0x410)](_0x467fb9,_0x293802))throw Error(_0x3f51f3(0x335));this['_apply'](_0x12dc3b,this[_0x3f51f3(0x273)][_0x3f51f3(0x3ed)](_0x12dc3b[_0x3f51f3(0x2d9)](),_0x467fb9,_0x293802,_0x49af54));}[_0x396ed2(0x227)](_0x193bf6,_0x588c5f,_0x754ec8,_0x20171a){const _0x3dadcd=_0x396ed2;this[_0x3dadcd(0x403)](_0x193bf6,this[_0x3dadcd(0x273)][_0x3dadcd(0x227)](_0x193bf6[_0x3dadcd(0x2d9)](),_0x588c5f,_0x754ec8,_0x20171a));}[_0x396ed2(0x250)](_0x4d90d4,_0x38d546,_0x371f2e,_0x283639){const _0x4f4de4=_0x396ed2;this[_0x4f4de4(0x403)](_0x4d90d4,this[_0x4f4de4(0x273)][_0x4f4de4(0x250)](_0x4d90d4[_0x4f4de4(0x2d9)](),_0x38d546,_0x371f2e,_0x283639));}[_0x396ed2(0x279)](_0x4b7596,_0x11340a,_0x38288f,_0x379de4){const _0x5396b5=_0x396ed2;this[_0x5396b5(0x403)](_0x4b7596,this[_0x5396b5(0x273)]['setViewGroup'](_0x4b7596[_0x5396b5(0x2d9)](),_0x11340a,_0x38288f,_0x379de4));}[_0x396ed2(0x2e2)](_0xa33a34,_0x2f00b4,_0x5c38af,_0x38ec78,_0xcf10b3){const _0x3d8380=_0x396ed2;if(!this[_0x3d8380(0x2e4)][_0x3d8380(0x410)](_0x2f00b4,_0x5c38af))throw Error(_0x3d8380(0x335));this[_0x3d8380(0x403)](_0xa33a34,this[_0x3d8380(0x273)]['setViewFieldVisible'](_0xa33a34[_0x3d8380(0x2d9)](),_0x2f00b4,_0x5c38af,_0x38ec78,_0xcf10b3));}[_0x396ed2(0x3af)](_0x3c04da,_0x507ad2,_0x13606c,_0x1d5d9d,_0x4ceed0){const _0x4157cd=_0x396ed2;this[_0x4157cd(0x403)](_0x3c04da,this[_0x4157cd(0x273)][_0x4157cd(0x3af)](_0x3c04da['getSnapshot'](),_0x507ad2,_0x13606c,_0x1d5d9d,_0x4ceed0));}[_0x396ed2(0x341)](_0x1c2656,_0x2f3a3e,_0x37c651,_0x36c7d4,_0xee1de5){const _0x17f885=_0x396ed2;this[_0x17f885(0x403)](_0x1c2656,this[_0x17f885(0x273)][_0x17f885(0x341)](_0x1c2656[_0x17f885(0x2d9)](),_0x2f3a3e,_0x37c651,_0x36c7d4,_0xee1de5));}[_0x396ed2(0x403)](_0xb85e46,_0x505180){const _0xd8e808=_0x396ed2;let _0x32380c=_0xb85e46[_0xd8e808(0x2d9)]();_0xb85e46[_0xd8e808(0x417)](this[_0xd8e808(0x3b0)][_0xd8e808(0x223)](_0x32380c,_0x505180));}[_0x396ed2(0x3e5)](_0x38738f,_0x5f53e9,_0x454837,_0x15e209=this[_0x396ed2(0x300)](_0x38738f[_0x396ed2(0x404)][_0x5f53e9])){const _0x4eb2eb=_0x396ed2;var _0x1b6d20,_0x22fbfb,_0x1d2e59,_0x5d1d0c;let _0x51f193=_0x38738f[_0x4eb2eb(0x404)][_0x5f53e9],_0x3f2cd3=(_0x1b6d20=(_0x22fbfb=_0x454837[_0x4eb2eb(0x180)])==null?_0x454837['updatedBy']:_0x22fbfb)==null?this[_0x4eb2eb(0x1f0)]():_0x1b6d20,_0x37b47c={..._0x454837,'createdBy':(_0x1d2e59=_0x454837[_0x4eb2eb(0x180)])==null?_0x3f2cd3:_0x1d2e59,'updatedBy':(_0x5d1d0c=_0x454837['updatedBy'])==null?_0x3f2cd3:_0x5d1d0c,'values':{..._0x454837[_0x4eb2eb(0x33e)]}};return _0x51f193[_0x4eb2eb(0x201)][_0x4eb2eb(0x3d3)](_0x10177f=>{const _0x1851c1=_0x4eb2eb;let _0x4faf04=_0x51f193[_0x1851c1(0x2f3)][_0x10177f];if(!(!_0x4faf04||_0x37b47c[_0x1851c1(0x33e)][_0x10177f]!==void 0x0))switch(_0x4faf04['type']){case _0x1e4a6b['Numbering']:var _0x51711f,_0xe995c2;_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=(_0x51711f=(_0xe995c2=_0x15e209[_0x1851c1(0x2bb)](_0x10177f))==null?void 0x0:_0xe995c2())==null?this[_0x1851c1(0x1df)](_0x51f193,_0x10177f)():_0x51711f;break;case _0x1e4a6b[_0x1851c1(0x395)]:_0x37b47c[_0x1851c1(0x180)]&&(_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=_0x37b47c[_0x1851c1(0x180)]);break;case _0x1e4a6b[_0x1851c1(0x2be)]:_0x37b47c[_0x1851c1(0x207)]&&(_0x37b47c[_0x1851c1(0x33e)][_0x10177f]=_0x37b47c[_0x1851c1(0x207)]);break;case _0x1e4a6b[_0x1851c1(0x1b4)]:_0x37b47c['values'][_0x10177f]=j(_0x37b47c[_0x1851c1(0x413)]);break;case _0x1e4a6b[_0x1851c1(0x18c)]:_0x37b47c['values'][_0x10177f]=j(_0x37b47c[_0x1851c1(0x1e1)]);break;default:{let _0x479826=_0x4faf04[_0x1851c1(0x170)];_0x479826!=null&&_0x479826!==''&&!(Array[_0x1851c1(0x3db)](_0x479826)&&_0x479826[_0x1851c1(0x1dd)]===0x0)&&(_0x37b47c['values'][_0x10177f]=_0x479826);}}}),_0x37b47c;}[_0x396ed2(0x385)](_0x42dac9,_0x29bf11,_0x170e42,_0x2930db){const _0x3681b1=_0x396ed2;var _0x3262ef,_0x8ae79c,_0x19d7b7;let _0x3f4d7e=_0x42dac9[_0x3681b1(0x404)][_0x29bf11],_0x293238=(_0x3262ef=(_0x8ae79c=(_0x19d7b7=this[_0x3681b1(0x259)])[_0x3681b1(0x29f)])==null?void 0x0:_0x8ae79c[_0x3681b1(0x1c1)](_0x19d7b7))==null?Date[_0x3681b1(0x29f)]():_0x3262ef,_0x292857=this[_0x3681b1(0x1f0)](),_0x46778d={..._0x2930db};return _0x3f4d7e[_0x3681b1(0x201)][_0x3681b1(0x3d3)](_0x2f6a9d=>{const _0x13d6b8=_0x3681b1;let _0x1e247c=_0x3f4d7e[_0x13d6b8(0x2f3)][_0x2f6a9d];_0x1e247c&&(_0x1e247c[_0x13d6b8(0x415)]===_0x1e4a6b[_0x13d6b8(0x18c)]&&(_0x46778d[_0x2f6a9d]=j(_0x293238)),_0x1e247c['type']===_0x1e4a6b[_0x13d6b8(0x2be)]&&_0x292857&&(_0x46778d[_0x2f6a9d]=_0x292857));}),{'recordId':_0x170e42,'values':_0x46778d,'recordPatch':{'updatedAt':_0x293238,..._0x292857?{'updatedBy':_0x292857}:{}}};}[_0x396ed2(0x355)](_0x181921,_0x38a32b,_0x480639){const _0x1723d8=_0x396ed2;let _0x11c90a=_0x181921['tables'][_0x38a32b];return!_0x11c90a||!cn(_0x480639)?[]:_0x480639[_0x1723d8(0x415)]===_0x1e4a6b[_0x1723d8(0x208)]?this['_createNumberingFieldValuePatches'](_0x11c90a,_0x480639['id']):Object[_0x1723d8(0x33e)](_0x11c90a[_0x1723d8(0x1ce)])[_0x1723d8(0x338)](_0x2d033c=>{let _0x44ded6=this['_getSystemFieldValue'](_0x480639,_0x2d033c);return _0x44ded6===void 0x0?[]:[{'recordId':_0x2d033c['id'],'values':{[_0x480639['id']]:_0x44ded6}}];});}['_getSystemFieldValue'](_0x25ef33,_0x117ab8){const _0x1a3272=_0x396ed2;switch(_0x25ef33[_0x1a3272(0x415)]){case _0x1e4a6b['CreatedBy']:var _0x45fb6e;return(_0x45fb6e=_0x117ab8[_0x1a3272(0x180)])==null?this['_getCurrentUserId']():_0x45fb6e;case _0x1e4a6b[_0x1a3272(0x2be)]:var _0x3022a6;return(_0x3022a6=_0x117ab8[_0x1a3272(0x207)])==null?this['_getCurrentUserId']():_0x3022a6;case _0x1e4a6b[_0x1a3272(0x1b4)]:var _0x4a2b86;return j((_0x4a2b86=_0x117ab8[_0x1a3272(0x413)])==null?Date['now']():_0x4a2b86);case _0x1e4a6b[_0x1a3272(0x18c)]:var _0x1b18a0;return j((_0x1b18a0=_0x117ab8['updatedAt'])==null?Date[_0x1a3272(0x29f)]():_0x1b18a0);default:return;}}[_0x396ed2(0x300)](_0x450277){const _0x146bab=_0x396ed2;let _0x50b582=new Map();return _0x450277&&_0x450277[_0x146bab(0x201)]['forEach'](_0xea80b0=>{const _0x3a0e71=_0x146bab;let _0x59aaa8=_0x450277[_0x3a0e71(0x2f3)][_0xea80b0];(_0x59aaa8==null?void 0x0:_0x59aaa8['type'])===_0x1e4a6b['Numbering']&&_0x50b582[_0x3a0e71(0x387)](_0xea80b0,this[_0x3a0e71(0x1df)](_0x450277,_0xea80b0));}),_0x50b582;}[_0x396ed2(0x1df)](_0x163387,_0x1e06e9){const _0x4a9f89=_0x396ed2;let _0x303daf=Object[_0x4a9f89(0x33e)](_0x163387[_0x4a9f89(0x1ce)])[_0x4a9f89(0x307)]((_0x3ba70c,_0x59d0a3)=>{let _0x1be236=Number(_0x59d0a3['values'][_0x1e06e9]);return Number['isFinite'](_0x1be236)?Math['max'](_0x3ba70c,_0x1be236):_0x3ba70c;},0x0);return()=>String(++_0x303daf);}[_0x396ed2(0x3c6)](_0x3b34e8,_0x56ae2e){const _0x5110a0=_0x396ed2;let _0x2650cd=this[_0x5110a0(0x159)](_0x3b34e8),_0x143f68=this['_createNumberingAllocator'](_0x3b34e8,_0x56ae2e);return _0x2650cd['flatMap'](_0x540603=>this['_isNonEmptyCellValue'](_0x540603[_0x5110a0(0x33e)][_0x56ae2e])?[]:[{'recordId':_0x540603['id'],'values':{[_0x56ae2e]:_0x143f68()}}]);}[_0x396ed2(0x159)](_0x2571d9){const _0x48b906=_0x396ed2;var _0x2202f6;let _0x369f0e=Object[_0x48b906(0x33e)](_0x2571d9[_0x48b906(0x1ce)]),_0x5e3c47=new Map(_0x369f0e[_0x48b906(0x22a)](_0x43cd74=>[_0x43cd74['id'],_0x43cd74])),_0x4841d5=[],_0x4e87c1=new Set();(_0x2202f6=_0x2571d9[_0x48b906(0x3ab)])==null||_0x2202f6[_0x48b906(0x3d3)](_0x42ef94=>{const _0x21d3c2=_0x48b906;let _0x3bdeec=_0x5e3c47[_0x21d3c2(0x2bb)](_0x42ef94);_0x3bdeec&&(_0x4841d5[_0x21d3c2(0x258)](_0x3bdeec),_0x4e87c1[_0x21d3c2(0x229)](_0x42ef94));});let _0x40da3d=_0x369f0e['filter'](_0xc6caa5=>!_0x4e87c1['has'](_0xc6caa5['id']))[_0x48b906(0x314)]((_0x11e4ff,_0xfb9d2a)=>{const _0xca8eae=_0x48b906;var _0x2bae73,_0x2fb06c;return String((_0x2bae73=_0x11e4ff[_0xca8eae(0x2a9)])==null?_0x11e4ff['id']:_0x2bae73)[_0xca8eae(0x23e)](String((_0x2fb06c=_0xfb9d2a[_0xca8eae(0x2a9)])==null?_0xfb9d2a['id']:_0x2fb06c))||_0x11e4ff['id'][_0xca8eae(0x23e)](_0xfb9d2a['id']);});return[..._0x4841d5,..._0x40da3d];}[_0x396ed2(0x2f5)](_0x1729d9){const _0xe4f988=_0x396ed2;return _0x1729d9!=null&&_0x1729d9!==''&&!(Array[_0xe4f988(0x3db)](_0x1729d9)&&_0x1729d9['length']===0x0);}[_0x396ed2(0x1f0)](){const _0x45e43a=_0x396ed2;var _0x3f3f62,_0x5ef06c,_0x4d0e3f,_0x1680f3,_0x15b26c,_0xd50c99;return(_0x3f3f62=(_0x5ef06c=(_0x4d0e3f=(_0x1680f3=this['_runtimeContext'])[_0x45e43a(0x27a)])==null?void 0x0:_0x4d0e3f['call'](_0x1680f3))==null?(_0x15b26c=(_0xd50c99=this['_runtimeContext'])[_0x45e43a(0x1ab)])==null||(_0x15b26c=_0x15b26c[_0x45e43a(0x1c1)](_0xd50c99))==null?void 0x0:_0x15b26c[_0x45e43a(0x188)]:_0x5ef06c)==null?void 0x0:_0x3f3f62;}[_0x396ed2(0x237)](_0x4af7b6,_0x1fcaab,_0x398d33,_0x579bd6,_0x20ec23){const _0x152e4d=_0x396ed2;var _0x4ed96e;if(!this['_permissionService'][_0x152e4d(0x438)](_0x1fcaab,_0x398d33,_0x579bd6))throw Error(_0x152e4d(0x309));let _0x218f46=(_0x4ed96e=_0x4af7b6[_0x152e4d(0x404)][_0x1fcaab])==null?void 0x0:_0x4ed96e[_0x152e4d(0x2f3)][_0x579bd6];if(!_0x218f46)throw Error(_0x152e4d(0x2a6)+_0x579bd6+'\x22\x20does\x20not\x20exist.');let _0x5cc75d=this['_fieldRegistry'][_0x152e4d(0x2bb)](_0x218f46['type']);if(_0x218f46[_0x152e4d(0x163)]||_0x218f46[_0x152e4d(0x2e9)]||!_0x5cc75d[_0x152e4d(0x161)](_0x218f46)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x38ba07=_0x5cc75d[_0x152e4d(0x30c)](_0x20ec23,_0x218f46),_0x1b228c=_0x5cc75d['validate'](_0x38ba07,_0x218f46);if(!_0x1b228c[_0x152e4d(0x423)]){var _0x1886b2;throw Error((_0x1886b2=_0x1b228c[_0x152e4d(0x3c2)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x1886b2);}return _0x38ba07;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0x5d5b4f=_0x396ed2;let _0x44e37a=new tn();return At()['forEach'](_0x325dad=>_0x44e37a[_0x5d5b4f(0x290)](_0x325dad)),_0x44e37a;}function cn(_0x36553a){const _0x1941b0=_0x396ed2;return _0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x208)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x395)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x2be)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x1b4)]||_0x36553a[_0x1941b0(0x415)]===_0x1e4a6b[_0x1941b0(0x18c)];}const ln=new Set([_0x1e4a6b[_0x396ed2(0x3f0)],_0x1e4a6b[_0x396ed2(0x353)],_0x1e4a6b[_0x396ed2(0x1cb)]]);function un(_0x2194f1){const _0x14e9a5=_0x396ed2;var _0x392836,_0x448d9a;let _0x21d293=_0x2194f1[_0x14e9a5(0x2f3)][_0x2194f1['primaryFieldId']];return!(_0x21d293&&(_0x21d293[_0x14e9a5(0x2e9)]===!0x0||_0x21d293['id']['toLowerCase']()==='id'||_0x21d293['name'][_0x14e9a5(0x317)]()[_0x14e9a5(0x1ad)]()==='id'))&&_0x21d293?_0x21d293['id']:(_0x392836=(_0x448d9a=_0x2194f1[_0x14e9a5(0x201)]['map'](_0x7fa9d9=>_0x2194f1[_0x14e9a5(0x2f3)][_0x7fa9d9])['find'](_0xd1f8fc=>_0xd1f8fc&&_0xd1f8fc['id']!==_0x2194f1['primaryFieldId']))==null?void 0x0:_0x448d9a['id'])==null?_0x2194f1[_0x14e9a5(0x243)]:_0x392836;}function dn(_0x4a84e9,_0x43b02c=[],_0x11926d=0x5){const _0xb7c2b2=_0x396ed2;let _0x5f1de2=new Set(_0x43b02c[_0xb7c2b2(0x24f)](_0x278a19=>!!_0x278a19)),_0x191781=_0x4a84e9['fieldOrder']['flatMap'](_0x196b16=>{const _0x469bd5=_0xb7c2b2;let _0x456c77=_0x4a84e9[_0x469bd5(0x2f3)][_0x196b16];return _0x456c77&&!_0x5f1de2['has'](_0x456c77['id'])?[_0x456c77]:[];}),_0x3af174=_0x191781[_0xb7c2b2(0x24f)](_0x43eabd=>ln[_0xb7c2b2(0x1c2)](_0x43eabd[_0xb7c2b2(0x415)])),_0x265235=_0x191781['filter'](_0x18ed1d=>!ln[_0xb7c2b2(0x1c2)](_0x18ed1d[_0xb7c2b2(0x415)]));return[..._0x3af174,..._0x265235]['slice'](0x0,_0x11926d)[_0xb7c2b2(0x22a)](_0x403737=>_0x403737['id']);}function fn(){const _0xa72c3a=_0x396ed2;return[{'type':_0x51a654[_0xa72c3a(0x1d5)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x41966e=_0xa72c3a;throw Error(_0x41966e(0x41e));}},{'type':_0x51a654['Kanban'],'i18nKey':_0xa72c3a(0x256),'createDefaultConfig':_0x306d1d=>{const _0x6657f=_0xa72c3a;let _0x1951d6=pn(_0x306d1d);return{'groupFieldId':_0x1951d6,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x306d1d['primaryFieldId'],'fieldIds':dn(_0x306d1d,[_0x306d1d[_0x6657f(0x243)],_0x1951d6])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x8c07b8=_0xa72c3a;throw Error(_0x8c07b8(0x43b));}},{'type':_0x51a654[_0xa72c3a(0x2aa)],'i18nKey':_0xa72c3a(0x3a5),'createDefaultConfig':_0x3f74e6=>{const _0x7468e7=_0xa72c3a;let _0x42ad4b=mn(_0x3f74e6);return{'startDateFieldId':_0x42ad4b,'endDateFieldId':hn(_0x3f74e6,_0x42ad4b),'titleFieldId':_0x3f74e6[_0x7468e7(0x243)],'mode':_0x7468e7(0x24a),'timeslotSize':_0x7468e7(0x3aa),'timeZone':'local','displayColor':{'type':_0x7468e7(0x3df),'color':_0x7468e7(0x1ca)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x51a654[_0xa72c3a(0x40e)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x42d535=>{const _0x160551=_0xa72c3a;var _0x75e53b;let _0x139563=mn(_0x42d535);return{'startDateFieldId':_0x139563,'endDateFieldId':(_0x75e53b=hn(_0x42d535,_0x139563))==null?_0x139563:_0x75e53b,'titleFieldId':_0x42d535[_0x160551(0x243)],'scale':_0x160551(0x24a),'showTodayLine':!0x0,'displayColor':{'type':_0x160551(0x3df),'color':_0x160551(0x42a)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4e7e4d=_0xa72c3a;throw Error(_0x4e7e4d(0x19d));}},{'type':_0x51a654['Gallery'],'i18nKey':_0xa72c3a(0x321),'createDefaultConfig':_0x429fd5=>{const _0x4bf12e=_0xa72c3a;let _0xbf9154=un(_0x429fd5);return{'coverFieldId':null,'cardLayout':_0x4bf12e(0x178),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xbf9154,'coverFieldId':null,'fieldIds':dn(_0x429fd5,[_0xbf9154,_0x429fd5[_0x4bf12e(0x243)]])},'cardSize':_0x4bf12e(0x3aa)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x290eb6=_0xa72c3a;throw Error(_0x290eb6(0x228));}}];}function pn(_0x49a50b){const _0x1cf0d2=_0x396ed2;var _0x51b0e6,_0x46a267,_0x122cde,_0x51788b,_0x2017e9,_0x439b7a;let _0x570e31=_0x49a50b[_0x1cf0d2(0x201)][_0x1cf0d2(0x22a)](_0x44242e=>_0x49a50b[_0x1cf0d2(0x2f3)][_0x44242e])[_0x1cf0d2(0x24f)](_0x59d288=>!!_0x59d288);return(_0x51b0e6=(_0x46a267=(_0x122cde=(_0x51788b=_0x570e31[_0x1cf0d2(0x289)](_0xae9b8f=>_0xae9b8f[_0x1cf0d2(0x415)]===_0x1e4a6b[_0x1cf0d2(0x165)]||_0xae9b8f[_0x1cf0d2(0x415)]===_0x1e4a6b['MultiSelect']||_0xae9b8f['type']===_0x1e4a6b[_0x1cf0d2(0x3f7)]))==null?void 0x0:_0x51788b['id'])==null?(_0x2017e9=_0x570e31[_0x1cf0d2(0x289)](_0x2033b4=>_0x2033b4[_0x1cf0d2(0x415)]===_0x1e4a6b[_0x1cf0d2(0x2ce)]))==null?void 0x0:_0x2017e9['id']:_0x122cde)==null?(_0x439b7a=_0x570e31[_0x1cf0d2(0x289)](_0x3fb407=>_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['Date']||_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['CreatedAt']||_0x3fb407[_0x1cf0d2(0x415)]===_0x1e4a6b['UpdatedAt']))==null?void 0x0:_0x439b7a['id']:_0x46a267)==null?_0x49a50b[_0x1cf0d2(0x243)]:_0x51b0e6;}function mn(_0x10701e){const _0x570467=_0x396ed2;var _0x50603e,_0x36657b;return(_0x50603e=(_0x36657b=_0x10701e[_0x570467(0x201)][_0x570467(0x22a)](_0x26a760=>_0x10701e['fields'][_0x26a760])[_0x570467(0x289)](gn))==null?void 0x0:_0x36657b['id'])==null?'':_0x50603e;}function hn(_0x194e1c,_0x212b36){const _0x578f20=_0x396ed2;var _0x6ab393;return(_0x6ab393=_0x194e1c[_0x578f20(0x201)][_0x578f20(0x22a)](_0xa1f55d=>_0x194e1c[_0x578f20(0x2f3)][_0xa1f55d])[_0x578f20(0x289)](_0x43dba5=>gn(_0x43dba5)&&_0x43dba5['id']!==_0x212b36))==null?void 0x0:_0x6ab393['id'];}function gn(_0x13e651){const _0x228c73=_0x396ed2;return!!_0x13e651&&_0x13e651['type']===_0x1e4a6b[_0x228c73(0x225)]&&_0x13e651[_0x228c73(0x163)]!==!0x0&&_0x13e651['system']!==!0x0;}const _n=_0x2adec3(_0x396ed2(0x3ff)),vn=new Set([_0x1e4a6b[_0x396ed2(0x3ae)],_0x1e4a6b['Currency'],_0x1e4a6b['Progress'],_0x1e4a6b[_0x396ed2(0x353)],_0x1e4a6b['Date'],_0x1e4a6b[_0x396ed2(0x1b4)],_0x1e4a6b['UpdatedAt'],_0x1e4a6b[_0x396ed2(0x1cb)]]);let yn=class extends _0x4c331b{constructor(_0x2c235a){const _0x403ba3=_0x396ed2;super(),this[_0x403ba3(0x39c)]=_0x2c235a,B(this,'_views',new Map()),B(this,_0x403ba3(0x1d9),new WeakMap()),B(this,_0x403ba3(0x292),new Map()),B(this,_0x403ba3(0x2f6),new Map()),B(this,_0x403ba3(0x20e),new Map()),B(this,_0x403ba3(0x280),0x0),B(this,_0x403ba3(0x3bb),new Map()),B(this,'_cellRevisions',new Map()),B(this,_0x403ba3(0x40f),new Map()),B(this,_0x403ba3(0x21d),new Map());}[_0x396ed2(0x1ee)](_0x33858c){const _0x312dcb=_0x396ed2;return this[_0x312dcb(0x2fa)][_0x312dcb(0x387)](_0x33858c[_0x312dcb(0x415)],_0x33858c),_0x37a382(()=>this['_views'][_0x312dcb(0x3cc)](_0x33858c[_0x312dcb(0x415)]));}[_0x396ed2(0x254)](_0x35b69a,_0x4b5bdf,_0x28841c){const _0x5ec4c1=_0x396ed2;var _0x26858d,_0xb41e31,_0x13e34a,_0x5d3fde,_0x277f1c;return T(_0x5ec4c1(0x2a1),()=>{const _0x2eb8eb=_0x5ec4c1;let _0x26fed8=this['_getCachedProjection'](_0x35b69a,_0x4b5bdf,_0x28841c);if(_0x26fed8)return _0x26fed8;let _0x409a54=_0x35b69a[_0x2eb8eb(0x404)][_0x4b5bdf],_0x43cdc8=_0x409a54==null?void 0x0:_0x409a54[_0x2eb8eb(0x173)][_0x28841c];if(!_0x409a54||!_0x43cdc8){var _0x511d4c;return this[_0x2eb8eb(0x420)](_0x35b69a,_0x4b5bdf,_0x28841c,{'type':_0x2eb8eb(0x301),'viewType':(_0x511d4c=_0x43cdc8==null?void 0x0:_0x43cdc8[_0x2eb8eb(0x415)])==null?_0x51a654[_0x2eb8eb(0x1d5)]:_0x511d4c,'reason':'missingField'});}let _0x1e6d26;switch(_0x43cdc8[_0x2eb8eb(0x415)]){case _0x51a654['Grid']:_0x1e6d26=this[_0x2eb8eb(0x3ef)](_0x409a54,_0x43cdc8);break;case _0x51a654['Gantt']:_0x1e6d26=this['_buildGantt'](_0x409a54,_0x43cdc8);break;case _0x51a654['Kanban']:_0x1e6d26=this[_0x2eb8eb(0x20c)](_0x409a54,_0x43cdc8);break;case _0x51a654[_0x2eb8eb(0x2aa)]:_0x1e6d26=this['_buildCalendar'](_0x409a54,_0x43cdc8);break;case _0x51a654[_0x2eb8eb(0x2ec)]:_0x1e6d26=this[_0x2eb8eb(0x1ed)](_0x409a54,_0x43cdc8);break;default:_0x1e6d26={'type':_0x2eb8eb(0x301),'viewType':_0x43cdc8['type'],'reason':'missingField'};}return this[_0x2eb8eb(0x420)](_0x35b69a,_0x4b5bdf,_0x28841c,_0x1e6d26);},{'tableId':_0x4b5bdf,'viewId':_0x28841c,'viewType':(_0x26858d=_0x35b69a[_0x5ec4c1(0x404)][_0x4b5bdf])==null||(_0x26858d=_0x26858d['views'][_0x28841c])==null?void 0x0:_0x26858d[_0x5ec4c1(0x415)],'records':(_0xb41e31=(_0x13e34a=_0x35b69a[_0x5ec4c1(0x404)][_0x4b5bdf])==null||(_0x13e34a=_0x13e34a[_0x5ec4c1(0x3ab)])==null?void 0x0:_0x13e34a[_0x5ec4c1(0x1dd)])==null?Object[_0x5ec4c1(0x234)]((_0x5d3fde=(_0x277f1c=_0x35b69a['tables'][_0x4b5bdf])==null?void 0x0:_0x277f1c[_0x5ec4c1(0x1ce)])==null?{}:_0x5d3fde)[_0x5ec4c1(0x1dd)]:_0xb41e31});}[_0x396ed2(0x22e)](_0x5e43f0,_0x452e58,_0x1e1b89){const _0x22b0ad=_0x396ed2;var _0x1f35fa,_0x350fd5,_0x1a6484,_0x5dd755;let _0x1b6ef9=_0x5e43f0[_0x22b0ad(0x404)][_0x452e58],_0x58cd46=_0x1b6ef9==null?void 0x0:_0x1b6ef9[_0x22b0ad(0x173)][_0x1e1b89];if(!_0x1b6ef9||!_0x58cd46)throw Error(_0x22b0ad(0x2d4)+_0x1e1b89+'\x22.');let _0x460353=_0x51241c=>!!_0x1b6ef9[_0x22b0ad(0x2f3)][_0x51241c],_0x235b81={..._0x58cd46,'filter':_0x58cd46[_0x22b0ad(0x24f)]?{..._0x58cd46['filter'],'conditions':_0x58cd46[_0x22b0ad(0x24f)]['conditions'][_0x22b0ad(0x24f)](_0x5be248=>_0x460353(_0x5be248['fieldId']))}:_0x58cd46[_0x22b0ad(0x24f)],'sort':(_0x1f35fa=_0x58cd46[_0x22b0ad(0x314)])==null?void 0x0:_0x1f35fa[_0x22b0ad(0x24f)](_0x3e4453=>_0x460353(_0x3e4453[_0x22b0ad(0x20f)])),'group':(_0x350fd5=_0x58cd46['group'])==null?void 0x0:_0x350fd5[_0x22b0ad(0x24f)](_0x222001=>_0x460353(_0x222001[_0x22b0ad(0x20f)])),'fieldOrder':(_0x1a6484=_0x58cd46[_0x22b0ad(0x201)])==null?void 0x0:_0x1a6484['filter'](_0x460353),'fieldSettings':Object[_0x22b0ad(0x185)](Object[_0x22b0ad(0x236)]((_0x5dd755=_0x58cd46['fieldSettings'])==null?{}:_0x5dd755)[_0x22b0ad(0x24f)](([_0x109195])=>_0x460353(_0x109195)))};if(_0x235b81[_0x22b0ad(0x415)]===_0x22b0ad(0x36a)){var _0x49e1dc,_0x2496fb,_0x2d9c65,_0x2593a4;let _0x3c724a=(_0x49e1dc=_0x235b81[_0x22b0ad(0x285)])==null?{}:_0x49e1dc,_0x3f6bf4=this['_resolveKanbanGroupFieldId'](_0x1b6ef9,_0x235b81);_0x235b81[_0x22b0ad(0x285)]={..._0x3c724a,'groupFieldId':_0x3f6bf4==null?_0x3c724a['groupFieldId']:_0x3f6bf4,'coverFieldId':this[_0x22b0ad(0x2b4)](_0x1b6ef9,_0x3c724a),'cardLayout':_0x3c724a[_0x22b0ad(0x363)]===_0x22b0ad(0x1d4)?'compose':_0x22b0ad(0x178),'showFieldNames':_0x3c724a['showFieldNames']!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x22b0ad(0x236)]((_0x2496fb=_0x3c724a[_0x22b0ad(0x193)])==null?{}:_0x2496fb)[_0x22b0ad(0x24f)](([_0x47481c])=>_0x460353(_0x47481c))),'columnSettings':(_0x2d9c65=_0x3c724a[_0x22b0ad(0x36f)])==null?{}:_0x2d9c65,'card':{...(_0x2593a4=_0x3c724a[_0x22b0ad(0x392)])==null?{}:_0x2593a4,'fieldIds':this[_0x22b0ad(0x176)](_0x1b6ef9,_0x235b81,_0x3f6bf4==null?'':_0x3f6bf4)}};}return{'repaired':JSON[_0x22b0ad(0x219)](_0x235b81)!==JSON['stringify'](_0x58cd46),'view':_0x235b81};}[_0x396ed2(0x21a)](){this['_globalRevision']++;}[_0x396ed2(0x3be)](_0x29fcde,_0x4f3607,_0x46560e){const _0x52f6b5=_0x396ed2;var _0x45c4f3;let _0x2cec45=this[_0x52f6b5(0x264)](_0x29fcde)+0x1;this[_0x52f6b5(0x271)][_0x52f6b5(0x387)](_0x29fcde,_0x2cec45);let _0x435853=(_0x45c4f3=this[_0x52f6b5(0x40f)][_0x52f6b5(0x2bb)](_0x29fcde))==null?[]:_0x45c4f3;_0x435853[_0x52f6b5(0x258)]({'revision':_0x2cec45,'recordId':_0x4f3607,'fieldId':_0x46560e}),this[_0x52f6b5(0x40f)][_0x52f6b5(0x387)](_0x29fcde,_0x435853);}[_0x396ed2(0x2c7)](_0x457fdd,_0x376aa0){const _0x4cf801=_0x396ed2;this[_0x4cf801(0x379)](_0x457fdd);}[_0x396ed2(0x2b5)](_0x38862c,_0x15aaee){const _0x6d49c0=_0x396ed2;this[_0x6d49c0(0x21d)][_0x6d49c0(0x387)](this[_0x6d49c0(0x3f8)](_0x38862c,_0x15aaee),this[_0x6d49c0(0x1ec)](_0x38862c,_0x15aaee)+0x1);}[_0x396ed2(0x19c)](_0x4ab0e2,_0x1b9055,_0x287fb9){const _0x344e9a=_0x396ed2;var _0x23bf6e;let _0x44e12f=(_0x23bf6e=this[_0x344e9a(0x1d9)][_0x344e9a(0x2bb)](_0x4ab0e2))==null?void 0x0:_0x23bf6e['get'](this['_cacheKey'](_0x1b9055,_0x287fb9));return _0x44e12f&&_0x44e12f[_0x344e9a(0x1d2)]===this[_0x344e9a(0x280)]&&_0x44e12f[_0x344e9a(0x304)]===this[_0x344e9a(0x288)](_0x1b9055)&&_0x44e12f[_0x344e9a(0x2d8)]===this[_0x344e9a(0x264)](_0x1b9055)&&_0x44e12f['viewRevision']===this[_0x344e9a(0x1ec)](_0x1b9055,_0x287fb9)?_0x44e12f[_0x344e9a(0x434)]:null;}['_setCachedProjection'](_0x4e4d42,_0x42ca24,_0x46bd7b,_0x382203){const _0xc4195=_0x396ed2;let _0x519740=this[_0xc4195(0x1d9)][_0xc4195(0x2bb)](_0x4e4d42);return _0x519740||(_0x519740=new Map(),this[_0xc4195(0x1d9)][_0xc4195(0x387)](_0x4e4d42,_0x519740)),_0x519740[_0xc4195(0x387)](this[_0xc4195(0x1e5)](_0x42ca24,_0x46bd7b),{'projection':_0x382203,'globalRevision':this[_0xc4195(0x280)],'tableRevision':this[_0xc4195(0x288)](_0x42ca24),'cellRevision':this[_0xc4195(0x264)](_0x42ca24),'viewRevision':this['_getViewRevision'](_0x42ca24,_0x46bd7b)}),_0x382203;}[_0x396ed2(0x379)](_0xc6b171){const _0x137b8a=_0x396ed2;this['_tableRevisions']['set'](_0xc6b171,this[_0x137b8a(0x288)](_0xc6b171)+0x1);}[_0x396ed2(0x288)](_0x3476db){const _0x462a39=_0x396ed2;var _0x503c0d;return(_0x503c0d=this[_0x462a39(0x3bb)][_0x462a39(0x2bb)](_0x3476db))==null?0x0:_0x503c0d;}[_0x396ed2(0x264)](_0x505462){const _0x235ebb=_0x396ed2;var _0x2e287a;return(_0x2e287a=this[_0x235ebb(0x271)][_0x235ebb(0x2bb)](_0x505462))==null?0x0:_0x2e287a;}[_0x396ed2(0x1ec)](_0x58b2e0,_0x113678){const _0x42edb7=_0x396ed2;var _0x3f9ad4;return(_0x3f9ad4=this[_0x42edb7(0x21d)][_0x42edb7(0x2bb)](this[_0x42edb7(0x3f8)](_0x58b2e0,_0x113678)))==null?0x0:_0x3f9ad4;}['_cacheKey'](_0x272a46,_0xd3a7a5){return _0x272a46+'\x00'+_0xd3a7a5;}['_viewRowsCacheKey'](_0xbf284f,_0x577922){const _0x1751fe=_0x396ed2;return _0xbf284f+'\x00'+this[_0x1751fe(0x1a9)](_0x577922);}[_0x396ed2(0x2e0)](_0x5cfa83,_0x3a4a0d,_0x49b159){const _0x2a633c=_0x396ed2;return _0x5cfa83+'\x00'+this[_0x2a633c(0x1a9)](_0x3a4a0d)+'\x00'+this[_0x2a633c(0x2b0)](_0x49b159);}[_0x396ed2(0x1a9)](_0xf7f925){const _0x1150d2=_0x396ed2;return _0xf7f925?Tn({'filter':Cn(_0xf7f925[_0x1150d2(0x24f)]),'sort':wn(_0xf7f925[_0x1150d2(0x314)])}):_0x1150d2(0x411);}['_groupConfigCacheSegment'](_0x2867c1){const _0x56836e=_0x396ed2;return Tn(_0x2867c1[_0x56836e(0x22a)](_0xb284dd=>{const _0x3328f5=_0x56836e;var _0x41609e;return{'fieldId':_0xb284dd[_0x3328f5(0x20f)],'direction':(_0x41609e=_0xb284dd[_0x3328f5(0x1b2)])==null?null:_0x41609e};}));}['_viewRevisionKey'](_0x1726fd,_0x41b4cf){return _0x1726fd+'\x00'+_0x41b4cf;}[_0x396ed2(0x3ef)](_0x35abd9,_0x27ac63){const _0x402176=_0x396ed2;let _0x4bd352=this['_projectRows'](_0x35abd9,_0x27ac63);return{'type':_0x51a654[_0x402176(0x1d5)],'fields':this[_0x402176(0x164)](_0x35abd9,_0x27ac63),'rows':_0x4bd352,'groups':this[_0x402176(0x265)](_0x35abd9,_0x27ac63,_0x4bd352),'frozenFieldCount':typeof _0x27ac63[_0x402176(0x285)][_0x402176(0x21f)]==_0x402176(0x267)?_0x27ac63[_0x402176(0x285)][_0x402176(0x21f)]:0x0};}['_buildKanban'](_0x3760af,_0x20dec5){const _0x45c97a=_0x396ed2;var _0x1c639e;let _0x9ce1a5=this[_0x45c97a(0x393)](_0x3760af,_0x20dec5),_0x59592d=_0x9ce1a5?_0x3760af['fields'][_0x9ce1a5]:void 0x0;if(!_0x59592d)return{'type':_0x45c97a(0x301),'viewType':_0x51a654['Kanban'],'reason':_0x45c97a(0x2c8),'fieldId':_0x20dec5[_0x45c97a(0x285)][_0x45c97a(0x1b1)]};let _0xe57275=this[_0x45c97a(0x27e)](_0x3760af,_0x20dec5),_0x4b7312=this[_0x45c97a(0x164)](_0x3760af,_0x20dec5),_0xdda9e4=(_0x1c639e=_0x20dec5[_0x45c97a(0x285)])==null?{}:_0x1c639e,_0x5b2d9c=this['_resolveKanbanCardFieldIds'](_0x3760af,_0x20dec5,_0x59592d['id']),_0x12756=new Map();return this[_0x45c97a(0x38e)](_0x59592d,_0xdda9e4)[_0x45c97a(0x3d3)](_0x1d2498=>_0x12756['set'](_0x1d2498['key'],{..._0x1d2498,'recordIds':[]})),_0xe57275[_0x45c97a(0x3d3)](_0x53a615=>{const _0x12e95e=_0x45c97a;this[_0x12e95e(0x431)](_0x59592d,_0x53a615['values'][_0x59592d['id']])[_0x12e95e(0x3d3)](_0x52dda0=>{const _0x104a2c=_0x12e95e;let _0x402740=_0x12756[_0x104a2c(0x2bb)](_0x52dda0),_0x34fd66=_0x402740==null?{'key':_0x52dda0,'title':this[_0x104a2c(0x327)](_0x59592d,_0x52dda0,_0xdda9e4),'color':this['_kanbanLaneColor'](_0x59592d,_0x52dda0,_0xdda9e4),'recordIds':[]}:_0x402740;_0x34fd66[_0x104a2c(0x331)][_0x104a2c(0x258)](_0x53a615['recordId']),_0x12756[_0x104a2c(0x387)](_0x52dda0,_0x34fd66);});}),{'type':_0x51a654[_0x45c97a(0x1e8)],'fields':_0x4b7312,'rows':_0xe57275,'groups':this['_projectGroups'](_0x3760af,_0x20dec5,_0xe57275),'groupFieldId':_0x59592d['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3760af,_0xdda9e4),'cardLayout':_0xdda9e4[_0x45c97a(0x363)]===_0x45c97a(0x1d4)?_0x45c97a(0x1d4):_0x45c97a(0x178),'showFieldNames':_0xdda9e4['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5b2d9c,'lanes':Array['from'](_0x12756[_0x45c97a(0x33e)]())};}[_0x396ed2(0x393)](_0x35ab2c,_0x1ace9c){const _0x24c224=_0x396ed2;var _0xdbe7d8;let _0x19dad8=(_0xdbe7d8=_0x1ace9c['config'])==null?void 0x0:_0xdbe7d8[_0x24c224(0x1b1)];return _0x19dad8&&this[_0x24c224(0x428)](_0x35ab2c,_0x19dad8)?_0x19dad8:this[_0x24c224(0x3c3)](_0x35ab2c,_0x4ac7f9=>this[_0x24c224(0x274)](_0x4ac7f9));}[_0x396ed2(0x3c3)](_0x18d01e,_0x547ae0){const _0x5ea293=_0x396ed2;for(let _0x306bfc of _0x18d01e[_0x5ea293(0x201)]){let _0x4d84e6=_0x18d01e[_0x5ea293(0x2f3)][_0x306bfc];if(_0x4d84e6&&_0x547ae0(_0x4d84e6))return _0x4d84e6['id'];}return null;}[_0x396ed2(0x428)](_0x3c164b,_0x2a499b){const _0x51ee02=_0x396ed2;let _0x4d4e16=_0x3c164b[_0x51ee02(0x2f3)][_0x2a499b];return this['_isAllowedKanbanGroupField'](_0x4d4e16);}[_0x396ed2(0x274)](_0x51d8b4){const _0x1e3834=_0x396ed2;return!!_0x51d8b4&&(_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x165)]||_0x51d8b4['type']===_0x1e4a6b[_0x1e3834(0x332)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x353)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x435)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b[_0x1e3834(0x3f7)]||_0x51d8b4[_0x1e3834(0x415)]===_0x1e4a6b['Checkbox']);}[_0x396ed2(0x319)](_0xf31eea){const _0x3e97f4=_0x396ed2;return _0xf31eea[_0x3e97f4(0x415)]===_0x1e4a6b[_0x3e97f4(0x165)]||_0xf31eea['type']===_0x1e4a6b[_0x3e97f4(0x332)];}[_0x396ed2(0x2b4)](_0x5660f9,_0x1b3288){const _0xc71066=_0x396ed2;var _0x15d31b,_0x2bc9e8,_0x5921a7;let _0x54724b=(_0x15d31b=(_0x2bc9e8=_0x1b3288[_0xc71066(0x1a4)])==null?(_0x5921a7=_0x1b3288[_0xc71066(0x392)])==null?void 0x0:_0x5921a7[_0xc71066(0x1a4)]:_0x2bc9e8)==null?null:_0x15d31b;if(!_0x54724b)return null;let _0x383c44=_0x5660f9[_0xc71066(0x2f3)][_0x54724b];return _0x383c44&&this[_0xc71066(0x21c)](_0x383c44)[_0xc71066(0x352)]?_0x383c44['id']:null;}[_0x396ed2(0x176)](_0x216407,_0x1a236e,_0x2e16ee){const _0x1aed3c=_0x396ed2;var _0x138522,_0x3546b8,_0x4ca373;let _0x51ef41=(_0x138522=_0x1a236e['config'])==null?{}:_0x138522,_0x13aea6=!((_0x3546b8=_0x51ef41['card'])==null||(_0x3546b8=_0x3546b8['fieldIds'])==null)&&_0x3546b8['length']?_0x51ef41[_0x1aed3c(0x392)][_0x1aed3c(0x35a)]:dn(_0x216407,[_0x216407['primaryFieldId'],_0x2e16ee]),_0x5a6d30=(_0x4ca373=_0x51ef41[_0x1aed3c(0x193)])==null?{}:_0x4ca373;return _0x13aea6[_0x1aed3c(0x24f)](_0x485467=>{const _0x49f4e2=_0x1aed3c;var _0x5bab44,_0x1e4d70;let _0x1d76d6=_0x216407[_0x49f4e2(0x2f3)][_0x485467];return!(!_0x1d76d6||_0x1d76d6['id']===_0x2e16ee||!((_0x5bab44=_0x1a236e[_0x49f4e2(0x193)])==null||(_0x5bab44=_0x5bab44[_0x485467])==null)&&_0x5bab44[_0x49f4e2(0x1bd)]||(_0x1e4d70=_0x5a6d30[_0x485467])!=null&&_0x1e4d70[_0x49f4e2(0x1bd)]);})[_0x1aed3c(0x314)]((_0x46abed,_0x5f310d)=>{const _0x4e02e1=_0x1aed3c;var _0xee517b,_0x44038a,_0x14c6eb,_0x22da16;return((_0xee517b=(_0x44038a=_0x5a6d30[_0x46abed])==null?void 0x0:_0x44038a['order'])==null?_0x13aea6[_0x4e02e1(0x400)](_0x46abed):_0xee517b)-((_0x14c6eb=(_0x22da16=_0x5a6d30[_0x5f310d])==null?void 0x0:_0x22da16[_0x4e02e1(0x375)])==null?_0x13aea6[_0x4e02e1(0x400)](_0x5f310d):_0x14c6eb);});}['_getKanbanConfiguredLanes'](_0x3b7bab,_0x66b2e7){const _0x56ceb8=_0x396ed2;var _0x44501d,_0x4b5cd6;let _0x313286=(Array[_0x56ceb8(0x3db)]((_0x44501d=_0x3b7bab[_0x56ceb8(0x285)])==null?void 0x0:_0x44501d[_0x56ceb8(0x198)])?_0x3b7bab['config'][_0x56ceb8(0x198)]:[])[_0x56ceb8(0x338)]((_0xef4d,_0x648454)=>{const _0x5ac45c=_0x56ceb8;var _0x3a3121,_0x2efc6c,_0xce64b0,_0x2c6644;if(_0xef4d==null)return[];let _0x492da4=typeof _0xef4d==_0x5ac45c(0x247)?{'id':_0xef4d,'name':_0xef4d,'color':void 0x0}:_0xef4d,_0x21062c=String((_0x3a3121=(_0x2efc6c=_0x492da4['id'])==null?_0x492da4[_0x5ac45c(0x28c)]:_0x2efc6c)==null?_0x5ac45c(0x2d6)+(_0x648454+0x1):_0x3a3121);return[{'key':_0x21062c,'title':String((_0xce64b0=(_0x2c6644=_0x492da4[_0x5ac45c(0x28c)])==null?_0x492da4['id']:_0x2c6644)==null?_0x21062c:_0xce64b0),'color':this[_0x5ac45c(0x1ff)](_0x3b7bab,_0x21062c,_0x66b2e7)}];});return Object[_0x56ceb8(0x236)]((_0x4b5cd6=_0x66b2e7[_0x56ceb8(0x36f)])==null?{}:_0x4b5cd6)['forEach'](([_0x360a52,_0x25a062])=>{const _0x25ff52=_0x56ceb8;var _0x39dfab;_0x313286[_0x25ff52(0x24c)](_0x28a0dc=>_0x28a0dc[_0x25ff52(0x194)]===_0x360a52)||_0x313286['push']({'key':_0x360a52,'title':this[_0x25ff52(0x319)](_0x3b7bab)?(_0x39dfab=_0x25a062['title'])==null?this['_kanbanLaneTitle'](_0x3b7bab,_0x360a52,_0x66b2e7):_0x39dfab:this[_0x25ff52(0x327)](_0x3b7bab,_0x360a52,_0x66b2e7),'color':this[_0x25ff52(0x1ff)](_0x3b7bab,_0x360a52,_0x66b2e7)});}),_0x313286;}[_0x396ed2(0x431)](_0x5159a4,_0xef26bf){const _0x4dbc13=_0x396ed2;let _0x13e383=_0x2bd1b6=>{const _0x153f09=_0x5744;var _0x542fba,_0x535eea;let _0x253cd6=_0x2bd1b6==null?'':String(_0x2bd1b6);return!_0x253cd6||!this[_0x153f09(0x319)](_0x5159a4)||(_0x542fba=(_0x535eea=J(_0x5159a4,_0x253cd6))==null?void 0x0:_0x535eea['id'])==null?_0x253cd6:_0x542fba;};if(Array[_0x4dbc13(0x3db)](_0xef26bf)){let _0x16f9f5=_0xef26bf[_0x4dbc13(0x22a)](_0x13e383)[_0x4dbc13(0x24f)](_0x4e58cb=>_0x4e58cb!=='');return _0x16f9f5[_0x4dbc13(0x1dd)]?_0x16f9f5:[''];}return[_0x13e383(_0xef26bf)];}[_0x396ed2(0x327)](_0x3f473a,_0x57704a,_0x42197b){const _0x3f5470=_0x396ed2;var _0x453546;if(!_0x57704a)return _0x3f5470(0x40b);let _0x277790=J(_0x3f473a,_0x57704a);return(_0x453546=_0x277790==null?void 0x0:_0x277790[_0x3f5470(0x28c)])==null?_0x57704a:_0x453546;}[_0x396ed2(0x1ff)](_0x18f7b3,_0x25ec69,_0x43393b){const _0x288d23=_0x396ed2;var _0x37e83f;if(this[_0x288d23(0x319)](_0x18f7b3))return(_0x37e83f=J(_0x18f7b3,_0x25ec69))==null?void 0x0:_0x37e83f[_0x288d23(0x27b)];}['_buildCalendar'](_0x30289c,_0x11d3b1){const _0x37ebff=_0x396ed2;var _0x188d9f;let _0x216c13=this[_0x37ebff(0x238)](_0x30289c,(_0x188d9f=_0x11d3b1['config'])==null?{}:_0x188d9f),_0x5aec27=_0x30289c[_0x37ebff(0x2f3)][_0x216c13[_0x37ebff(0x31a)]];if(!_0x5aec27||_0x5aec27[_0x37ebff(0x415)]!==_0x1e4a6b[_0x37ebff(0x225)]||_0x5aec27[_0x37ebff(0x163)]===!0x0||_0x5aec27[_0x37ebff(0x2e9)]===!0x0||!this['_capabilities'](_0x5aec27)['usableAsCalendarDate'])return{'type':_0x37ebff(0x301),'viewType':_0x51a654[_0x37ebff(0x2aa)],'reason':_0x37ebff(0x1f6),'fieldId':_0x216c13[_0x37ebff(0x31a)]};let _0x41b450=_0x216c13[_0x37ebff(0x1b0)]?_0x30289c['fields'][_0x216c13['endDateFieldId']]:void 0x0,_0x330765=this[_0x37ebff(0x27e)](_0x30289c,_0x11d3b1);return{'type':_0x51a654[_0x37ebff(0x2aa)],'config':_0x216c13,'fields':this[_0x37ebff(0x164)](_0x30289c,_0x11d3b1),'rows':_0x330765,'groups':this[_0x37ebff(0x265)](_0x30289c,_0x11d3b1,_0x330765),'events':_0x330765['flatMap'](_0x57c9bb=>{const _0x2d56d3=_0x37ebff;let _0x2b53e2=N(_0x57c9bb[_0x2d56d3(0x33e)][_0x216c13[_0x2d56d3(0x31a)]]);if(!Number[_0x2d56d3(0x1da)](_0x2b53e2))return[];let _0x14fc18=_0x57c9bb['values'][_0x216c13['startDateFieldId']],_0x5a8692=_0x216c13[_0x2d56d3(0x1b0)]==null?void 0x0:_0x57c9bb[_0x2d56d3(0x33e)][_0x216c13[_0x2d56d3(0x1b0)]],_0x547011=_0x216c13[_0x2d56d3(0x1b0)]==null?void 0x0:N(_0x5a8692),_0x36e36d=Number[_0x2d56d3(0x1da)](_0x547011)?_0x547011:void 0x0;return[{'recordId':_0x57c9bb[_0x2d56d3(0x348)],'title':this[_0x2d56d3(0x37c)](_0x30289c,_0x57c9bb,_0x216c13['titleFieldId']),'start':_0x2b53e2,'end':_0x36e36d,'color':this['_calendarEventColor'](_0x30289c,_0x57c9bb,_0x216c13),'startMs':_0x2b53e2,'endMs':_0x36e36d,'allDay':this['_isAllDayCalendarEvent'](_0x5aec27,_0x41b450,_0x14fc18,_0x5a8692),'fieldValues':_0x57c9bb['values']}];})};}[_0x396ed2(0x238)](_0x46dc06,_0x7fcfe4){const _0x527913=_0x396ed2;var _0x3f42d4,_0x4b4b5a;let _0x4ff7c6=this[_0x527913(0x2b2)](_0x46dc06,_0x7fcfe4[_0x527913(0x31a)]),_0x5a0df6=_0x7fcfe4[_0x527913(0x1b0)]&&this[_0x527913(0x2cd)](_0x46dc06,_0x7fcfe4['endDateFieldId'])?_0x7fcfe4['endDateFieldId']:(_0x3f42d4=this['_findCalendarDateFieldId'](_0x46dc06,_0x4ff7c6))==null?void 0x0:_0x3f42d4,_0xaef7db=_0x7fcfe4[_0x527913(0x2bd)]&&_0x46dc06[_0x527913(0x2f3)][_0x7fcfe4['titleFieldId']]?_0x7fcfe4['titleFieldId']:_0x46dc06[_0x527913(0x243)],_0x2af2a4=_0x7fcfe4[_0x527913(0x1bf)]===_0x527913(0x33d)||_0x7fcfe4['mode']===_0x527913(0x1f5)?_0x7fcfe4[_0x527913(0x1bf)]:_0x527913(0x24a),_0xe072bd=_0x7fcfe4[_0x527913(0x372)]===_0x527913(0x3dd)||_0x7fcfe4[_0x527913(0x372)]===_0x527913(0x316)?_0x7fcfe4[_0x527913(0x372)]:_0x527913(0x3aa),_0x5df71e=typeof _0x7fcfe4[_0x527913(0x35d)]=='string'&&_0x7fcfe4[_0x527913(0x35d)]['trim']()?_0x7fcfe4['timeZone']:_0x527913(0x257),_0x28be75=this['_normalizeCalendarDisplayColor'](_0x46dc06,_0x7fcfe4);return{..._0x7fcfe4,'startDateFieldId':_0x4ff7c6,'endDateFieldId':_0x5a0df6,'titleFieldId':_0xaef7db,'mode':_0x2af2a4,'timeslotSize':_0xe072bd,'timeZone':_0x5df71e,'displayColor':_0x28be75,'fieldSettings':Object[_0x527913(0x185)](Object['entries']((_0x4b4b5a=_0x7fcfe4[_0x527913(0x193)])==null?{}:_0x4b4b5a)['filter'](([_0x45ef02])=>!!_0x46dc06[_0x527913(0x2f3)][_0x45ef02]))};}[_0x396ed2(0x2b2)](_0x8c14fd,_0x50777d){const _0x5606a4=_0x396ed2;var _0x44a705,_0x4ee992;return _0x50777d&&this[_0x5606a4(0x2cd)](_0x8c14fd,_0x50777d)?_0x50777d:(_0x44a705=(_0x4ee992=this[_0x5606a4(0x1cd)](_0x8c14fd))==null?_0x50777d:_0x4ee992)==null?'':_0x44a705;}[_0x396ed2(0x1cd)](_0x33537f,_0x4be974){const _0x20a9b5=_0x396ed2;for(let _0x2f264 of _0x33537f[_0x20a9b5(0x201)])if(_0x2f264!==_0x4be974&&this[_0x20a9b5(0x2cd)](_0x33537f,_0x2f264))return _0x2f264;return null;}['_isCalendarDateField'](_0x3209b7,_0x11ad1e){const _0x5b26d3=_0x396ed2;let _0x32d827=_0x3209b7[_0x5b26d3(0x2f3)][_0x11ad1e];return!!_0x32d827&&_0x32d827[_0x5b26d3(0x415)]===_0x1e4a6b[_0x5b26d3(0x225)]&&_0x32d827[_0x5b26d3(0x163)]!==!0x0&&_0x32d827['system']!==!0x0&&this[_0x5b26d3(0x21c)](_0x32d827)[_0x5b26d3(0x3b7)];}[_0x396ed2(0x1ea)](_0x51c386,_0x4e39ec){const _0x57bf26=_0x396ed2;let _0x1250cc=_0x4e39ec[_0x57bf26(0x1a8)];if((_0x1250cc==null?void 0x0:_0x1250cc[_0x57bf26(0x415)])===_0x57bf26(0x1f3)){let _0x2bfb46=_0x51c386[_0x57bf26(0x2f3)][_0x1250cc[_0x57bf26(0x20f)]];if(_0x2bfb46&&_0x2bfb46[_0x57bf26(0x415)]===_0x1e4a6b[_0x57bf26(0x165)])return _0x1250cc;}if((_0x1250cc==null?void 0x0:_0x1250cc[_0x57bf26(0x415)])==='custom'&&typeof _0x1250cc[_0x57bf26(0x27b)]==_0x57bf26(0x247)&&_0x1250cc[_0x57bf26(0x27b)][_0x57bf26(0x317)]())return{'type':_0x57bf26(0x3df),'color':_0x1250cc[_0x57bf26(0x27b)]};if(_0x4e39ec[_0x57bf26(0x278)]){let _0x4a66c5=_0x51c386[_0x57bf26(0x2f3)][_0x4e39ec[_0x57bf26(0x278)]];if(_0x4a66c5&&_0x4a66c5[_0x57bf26(0x415)]===_0x1e4a6b[_0x57bf26(0x165)])return{'type':_0x57bf26(0x1f3),'fieldId':_0x4e39ec[_0x57bf26(0x278)]};}return{'type':_0x57bf26(0x3df),'color':_0x57bf26(0x1ca)};}[_0x396ed2(0x246)](_0x3d673e,_0xecd172,_0x125ade){const _0x201fc8=_0x396ed2;let _0x1ad8e0=_0x125ade[_0x201fc8(0x1a8)];if((_0x1ad8e0==null?void 0x0:_0x1ad8e0[_0x201fc8(0x415)])===_0x201fc8(0x1f3)){var _0x1b3bfa;let _0x25ecf6=_0x3d673e['fields'][_0x1ad8e0[_0x201fc8(0x20f)]];if(!_0x25ecf6)return;let _0x245612=_0xecd172[_0x201fc8(0x33e)][_0x1ad8e0['fieldId']],_0x59b009=Array[_0x201fc8(0x3db)](_0x245612)?_0x245612[0x0]:_0x245612;return _0x59b009==null||(_0x1b3bfa=J(_0x25ecf6,String(_0x59b009)))==null?void 0x0:_0x1b3bfa[_0x201fc8(0x27b)];}if((_0x1ad8e0==null?void 0x0:_0x1ad8e0[_0x201fc8(0x415)])===_0x201fc8(0x3df))return _0x1ad8e0[_0x201fc8(0x27b)];}['_isAllDayCalendarEvent'](_0x3d4a76,_0x223db2,_0x3ee637,_0x1a5008){const _0x2dc072=_0x396ed2;var _0x4700c2,_0x3bd33e;let _0x1ce885=((_0x4700c2=_0x3d4a76[_0x2dc072(0x285)])==null?void 0x0:_0x4700c2[_0x2dc072(0x23a)])===!0x0,_0xe942ec=(_0x223db2==null||(_0x3bd33e=_0x223db2['config'])==null?void 0x0:_0x3bd33e[_0x2dc072(0x23a)])===!0x0;return!_0x1ce885&&!_0xe942ec;}['_isAllDayGanttDateRange'](_0xd0dc47,_0x2a7bf6){const _0x444cd5=_0x396ed2;var _0x308155,_0x340b9b;let _0x5196a0=((_0x308155=_0xd0dc47[_0x444cd5(0x285)])==null?void 0x0:_0x308155['includeTime'])===!0x0,_0x5519be=((_0x340b9b=_0x2a7bf6['config'])==null?void 0x0:_0x340b9b[_0x444cd5(0x23a)])===!0x0;return!_0x5196a0&&!_0x5519be;}['_buildGantt'](_0x526c0f,_0x33c9d6){const _0x3bffcf=_0x396ed2;let _0x23378a=this[_0x3bffcf(0x38b)](_0x526c0f,_0x33c9d6[_0x3bffcf(0x285)]),_0xb0d4d=_0x526c0f[_0x3bffcf(0x2f3)][_0x23378a[_0x3bffcf(0x31a)]];if(!_0xb0d4d||_0xb0d4d['type']!==_0x1e4a6b[_0x3bffcf(0x225)]||_0xb0d4d[_0x3bffcf(0x163)]===!0x0||_0xb0d4d[_0x3bffcf(0x2e9)]===!0x0||!this[_0x3bffcf(0x21c)](_0xb0d4d)[_0x3bffcf(0x368)])return{'type':_0x3bffcf(0x301),'viewType':_0x51a654[_0x3bffcf(0x40e)],'reason':_0x3bffcf(0x214),'fieldId':_0x23378a[_0x3bffcf(0x31a)]};let _0x1913ff=_0x526c0f[_0x3bffcf(0x2f3)][_0x23378a[_0x3bffcf(0x1b0)]];if(!_0x1913ff||_0x1913ff[_0x3bffcf(0x415)]!==_0x1e4a6b['Date']||_0x1913ff[_0x3bffcf(0x163)]===!0x0||_0x1913ff[_0x3bffcf(0x2e9)]===!0x0||!this[_0x3bffcf(0x21c)](_0x1913ff)[_0x3bffcf(0x281)])return{'type':_0x3bffcf(0x301),'viewType':_0x51a654[_0x3bffcf(0x40e)],'reason':_0x3bffcf(0x230),'fieldId':_0x23378a[_0x3bffcf(0x1b0)]};let _0x33086c=this[_0x3bffcf(0x179)](_0xb0d4d,_0x1913ff),_0x649524=this[_0x3bffcf(0x27e)](_0x526c0f,_0x33c9d6),_0xb1a46d=_0x649524['flatMap'](_0x6adccd=>{const _0x22bfcf=_0x3bffcf;var _0x42fb94;let _0x78c88e=N(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a[_0x22bfcf(0x31a)]]),_0x5cacd0=N(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a[_0x22bfcf(0x1b0)]]);if(!Number[_0x22bfcf(0x1da)](_0x78c88e)||!Number[_0x22bfcf(0x1da)](_0x5cacd0))return[];let _0x584b77=Math['min'](_0x78c88e,_0x5cacd0),_0x2a905c=Math['max'](_0x78c88e,_0x5cacd0),_0x40a2b2=_0x23378a[_0x22bfcf(0x308)]==null?void 0x0:Number(_0x6adccd[_0x22bfcf(0x33e)][_0x23378a['progressFieldId']]);return[{'recordId':_0x6adccd[_0x22bfcf(0x348)],'title':this[_0x22bfcf(0x37c)](_0x526c0f,_0x6adccd,_0x23378a[_0x22bfcf(0x2bd)]),'start':_0x584b77,'end':_0x2a905c,'color':this[_0x22bfcf(0x30f)](_0x526c0f,_0x6adccd,_0x23378a),'progress':Number[_0x22bfcf(0x1da)](_0x40a2b2)?_0x40a2b2:void 0x0,'workingDayCount':_0x23378a[_0x22bfcf(0x1d3)]?In(_0x584b77,_0x2a905c,_0x23378a[_0x22bfcf(0x169)]):void 0x0,'dependencyRecordIds':this[_0x22bfcf(0x436)](_0x6adccd[_0x22bfcf(0x33e)][(_0x42fb94=_0x23378a[_0x22bfcf(0x2dc)])==null?'':_0x42fb94])}];}),_0xbda08b=_0xb1a46d[_0x3bffcf(0x1dd)]?K(Math[_0x3bffcf(0x36b)](..._0xb1a46d[_0x3bffcf(0x22a)](_0x36df94=>_0x36df94[_0x3bffcf(0x18e)]))-0x5a*G):K(Date[_0x3bffcf(0x29f)]()-0x5a*G),_0x3963c8=_0xb1a46d[_0x3bffcf(0x1dd)]?K(Math[_0x3bffcf(0x422)](..._0xb1a46d[_0x3bffcf(0x22a)](_0x136c36=>_0x136c36[_0x3bffcf(0x261)]))+0x5b*G):K(Date[_0x3bffcf(0x29f)]()+0x5b*G),_0x1ef3b7=On(_0x23378a['scale'],_0xbda08b,_0x3963c8,_0x23378a[_0x3bffcf(0x1d3)]?_0x23378a[_0x3bffcf(0x169)]:void 0x0);return{'type':_0x51a654[_0x3bffcf(0x40e)],'fields':this['_projectFields'](_0x526c0f,{..._0x33c9d6,'config':_0x23378a}),'rows':_0x649524,'groups':this[_0x3bffcf(0x265)](_0x526c0f,_0x33c9d6,_0x649524),'config':_0x23378a,'dateRangeAllDay':_0x33086c,'timeline':{'scale':_0x23378a[_0x3bffcf(0x18f)],'start':_0xbda08b,'end':_0x3963c8,'unitWidth':_0x1ef3b7[_0x3bffcf(0x260)],'majorHeaders':_0x1ef3b7[_0x3bffcf(0x3cf)],'columns':_0x1ef3b7['columns']},'bars':_0xb1a46d};}[_0x396ed2(0x38b)](_0x942e3a,_0x4a66bc){const _0xb1d144=_0x396ed2;var _0x451b74;let _0x385c9f=this[_0xb1d144(0x37b)](_0x942e3a,_0x4a66bc[_0xb1d144(0x31a)],'start'),_0x1b5a67=this[_0xb1d144(0x37b)](_0x942e3a,_0x4a66bc[_0xb1d144(0x1b0)],_0xb1d144(0x261))||_0x385c9f,_0x3b6edc=_0x4a66bc[_0xb1d144(0x2bd)]&&_0x942e3a[_0xb1d144(0x2f3)][_0x4a66bc['titleFieldId']]?_0x4a66bc[_0xb1d144(0x2bd)]:_0x942e3a['primaryFieldId'],_0x1ccc96=_0x4a66bc[_0xb1d144(0x18f)]==='week'||_0x4a66bc['scale']===_0xb1d144(0x37f)||_0x4a66bc[_0xb1d144(0x18f)]==='year'?_0x4a66bc[_0xb1d144(0x18f)]:'month',_0x36dc5b=Dn(_0x4a66bc[_0xb1d144(0x169)]);return{..._0x4a66bc,'startDateFieldId':_0x385c9f,'endDateFieldId':_0x1b5a67,'titleFieldId':_0x3b6edc,'scale':_0x1ccc96,'leftPaneWidth':typeof _0x4a66bc[_0xb1d144(0x2e6)]==_0xb1d144(0x267)?_0x4a66bc['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x4a66bc[_0xb1d144(0x2fb)]===!0x0,'showTodayLine':_0x4a66bc[_0xb1d144(0x31b)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x942e3a,_0x4a66bc),'fieldSettings':Object[_0xb1d144(0x185)](Object[_0xb1d144(0x236)]((_0x451b74=_0x4a66bc[_0xb1d144(0x193)])==null?{}:_0x451b74)[_0xb1d144(0x24f)](([_0x51d92e])=>!!_0x942e3a[_0xb1d144(0x2f3)][_0x51d92e])),'workingDaysOnly':_0x4a66bc['workingDaysOnly']===!0x0,'workingDays':_0x36dc5b};}[_0x396ed2(0x37b)](_0x38d783,_0x4bc78b,_0xfd9206){const _0xe4995e=_0x396ed2;if(_0x4bc78b&&this[_0xe4995e(0x2ea)](_0x38d783,_0x4bc78b,_0xfd9206)||_0x4bc78b)return _0x4bc78b;for(let _0x612561 of _0x38d783[_0xe4995e(0x201)])if(this[_0xe4995e(0x2ea)](_0x38d783,_0x612561,_0xfd9206))return _0x612561;return _0x4bc78b==null?'':_0x4bc78b;}['_isGanttDateField'](_0x382ad6,_0x50e502,_0x57530f){const _0x3d62fe=_0x396ed2;let _0x3fd059=_0x382ad6[_0x3d62fe(0x2f3)][_0x50e502];if(!_0x3fd059||_0x3fd059[_0x3d62fe(0x415)]!==_0x1e4a6b[_0x3d62fe(0x225)]||_0x3fd059[_0x3d62fe(0x163)]===!0x0||_0x3fd059[_0x3d62fe(0x2e9)]===!0x0)return!0x1;let _0x5c6bd0=this[_0x3d62fe(0x21c)](_0x3fd059);return _0x57530f==='start'?_0x5c6bd0[_0x3d62fe(0x368)]:_0x5c6bd0[_0x3d62fe(0x281)];}[_0x396ed2(0x1bc)](_0x1a67dc,_0x43d042){const _0x3d9cd8=_0x396ed2;let _0x5d3c10=_0x43d042[_0x3d9cd8(0x1a8)];if((_0x5d3c10==null?void 0x0:_0x5d3c10[_0x3d9cd8(0x415)])===_0x3d9cd8(0x1f3)){let _0x40e4eb=_0x1a67dc['fields'][_0x5d3c10[_0x3d9cd8(0x20f)]];if(_0x40e4eb&&_0x40e4eb[_0x3d9cd8(0x415)]===_0x1e4a6b[_0x3d9cd8(0x165)])return _0x5d3c10;}return(_0x5d3c10==null?void 0x0:_0x5d3c10['type'])==='conditional'&&Array[_0x3d9cd8(0x3db)](_0x5d3c10[_0x3d9cd8(0x350)])?{'type':_0x3d9cd8(0x298),'rules':_0x5d3c10[_0x3d9cd8(0x350)]['filter'](_0x19b8aa=>!!_0x1a67dc['fields'][_0x19b8aa[_0x3d9cd8(0x20f)]])}:(_0x5d3c10==null?void 0x0:_0x5d3c10['type'])===_0x3d9cd8(0x3df)&&typeof _0x5d3c10[_0x3d9cd8(0x27b)]==_0x3d9cd8(0x247)&&_0x5d3c10['color'][_0x3d9cd8(0x317)]()?{'type':'custom','color':_0x5d3c10[_0x3d9cd8(0x27b)]}:{'type':_0x3d9cd8(0x3df),'color':_0x3d9cd8(0x42a)};}[_0x396ed2(0x30f)](_0x2ac940,_0x24df47,_0x5378d1){const _0x3d00e9=_0x396ed2;let _0x1e0652=_0x5378d1[_0x3d00e9(0x1a8)];if((_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x298)){let _0x52b442=_0x1e0652['rules'][_0x3d00e9(0x289)](_0x265495=>this[_0x3d00e9(0x15a)](_0x2ac940,_0x24df47,_0x265495));if(_0x52b442)return _0x52b442['color'];}if((_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x1f3)){let _0x5592b9=_0x2ac940[_0x3d00e9(0x2f3)][_0x1e0652[_0x3d00e9(0x20f)]];if(_0x5592b9){var _0x3dd0de;let _0x323af8=_0x24df47[_0x3d00e9(0x33e)][_0x1e0652[_0x3d00e9(0x20f)]],_0x438b43=Array[_0x3d00e9(0x3db)](_0x323af8)?_0x323af8[0x0]:_0x323af8,_0x5d8151=_0x438b43==null||(_0x3dd0de=J(_0x5592b9,String(_0x438b43)))==null?void 0x0:_0x3dd0de[_0x3d00e9(0x27b)];if(_0x5d8151)return _0x5d8151;}}return(_0x1e0652==null?void 0x0:_0x1e0652[_0x3d00e9(0x415)])===_0x3d00e9(0x3df)?_0x1e0652[_0x3d00e9(0x27b)]:_0x3d00e9(0x42a);}[_0x396ed2(0x15a)](_0x5b5929,_0x10bbbf,_0x335b1b){const _0x39ec3b=_0x396ed2;let _0x4c480f=_0x5b5929[_0x39ec3b(0x2f3)][_0x335b1b[_0x39ec3b(0x20f)]];return _0x4c480f?ft(_0x10bbbf[_0x39ec3b(0x33e)][_0x4c480f['id']],_0x335b1b['operator'],_0x335b1b[_0x39ec3b(0x2ee)],_0x4c480f,{'dateMode':_0x335b1b[_0x39ec3b(0x39d)]}):!0x1;}[_0x396ed2(0x1ed)](_0xcde080,_0x398bfc){const _0x683aae=_0x396ed2;var _0x382099,_0x5bb4e6,_0x1f144e;let _0xddd45f=this['_projectRows'](_0xcde080,_0x398bfc),_0x522e8e=this['_normalizeGalleryConfig'](_0xcde080,(_0x382099=_0x398bfc[_0x683aae(0x285)])==null?{}:_0x382099),_0x534fb9=this[_0x683aae(0x164)](_0xcde080,_0x398bfc);return{'type':_0x51a654[_0x683aae(0x2ec)],'fields':_0x534fb9,'rows':_0xddd45f,'groups':this[_0x683aae(0x265)](_0xcde080,_0x398bfc,_0xddd45f),'coverFieldId':_0x522e8e['coverFieldId'],'cardLayout':(_0x5bb4e6=_0x522e8e[_0x683aae(0x363)])==null?_0x683aae(0x178):_0x5bb4e6,'showFieldNames':_0x522e8e[_0x683aae(0x266)]!==!0x1,'visibleCardFieldIds':this[_0x683aae(0x209)](_0xcde080,_0x398bfc,_0x522e8e),'cardSize':(_0x1f144e=_0x522e8e[_0x683aae(0x17d)])==null?_0x683aae(0x3aa):_0x1f144e,'cards':_0xddd45f[_0x683aae(0x22a)](_0x36d25f=>({'recordId':_0x36d25f[_0x683aae(0x348)],'title':this[_0x683aae(0x37c)](_0xcde080,_0x36d25f,_0x522e8e[_0x683aae(0x392)]['titleFieldId']),'values':_0x36d25f[_0x683aae(0x33e)]}))};}['_normalizeGalleryConfig'](_0x4c39f8,_0x168cb4){const _0x8d3532=_0x396ed2;var _0xc1b793,_0x56658d;let _0x377950=(_0xc1b793=_0x168cb4['card'])==null?{'fieldIds':[]}:_0xc1b793,_0x163a89=_0x377950['titleFieldId']&&_0x4c39f8['fields'][_0x377950['titleFieldId']]?_0x377950['titleFieldId']:un(_0x4c39f8),_0x455b89=this[_0x8d3532(0x351)](_0x4c39f8,_0x168cb4),_0x481c2d=_0x168cb4[_0x8d3532(0x17d)]==='small'||_0x168cb4[_0x8d3532(0x17d)]==='large'?_0x168cb4[_0x8d3532(0x17d)]:_0x8d3532(0x3aa);return{..._0x168cb4,'coverFieldId':_0x455b89,'cardLayout':_0x168cb4[_0x8d3532(0x363)]==='compose'?'compose':_0x8d3532(0x178),'showFieldNames':_0x168cb4[_0x8d3532(0x266)]!==!0x1,'fieldSettings':Object[_0x8d3532(0x185)](Object[_0x8d3532(0x236)]((_0x56658d=_0x168cb4[_0x8d3532(0x193)])==null?{}:_0x56658d)[_0x8d3532(0x24f)](([_0x3263e4])=>!!_0x4c39f8[_0x8d3532(0x2f3)][_0x3263e4])),'card':{..._0x377950,'titleFieldId':_0x163a89,'coverFieldId':_0x455b89,'fieldIds':Array[_0x8d3532(0x3db)](_0x377950[_0x8d3532(0x35a)])?_0x377950[_0x8d3532(0x35a)]:[]},'cardSize':_0x481c2d};}['_resolveGalleryCoverFieldId'](_0x72d16e,_0x29edc2){const _0x1a177e=_0x396ed2;var _0x28a93f,_0x371838,_0x221082;let _0xa0ab43=(_0x28a93f=(_0x371838=_0x29edc2[_0x1a177e(0x1a4)])==null?(_0x221082=_0x29edc2[_0x1a177e(0x392)])==null?void 0x0:_0x221082[_0x1a177e(0x1a4)]:_0x371838)==null?null:_0x28a93f;if(!_0xa0ab43)return null;let _0x1142b9=_0x72d16e[_0x1a177e(0x2f3)][_0xa0ab43];return _0x1142b9&&this[_0x1a177e(0x21c)](_0x1142b9)[_0x1a177e(0x352)]?_0x1142b9['id']:null;}[_0x396ed2(0x209)](_0x292a1e,_0x1666e1,_0x2e2d87){const _0xe73339=_0x396ed2;var _0x55d255,_0x2fae1f,_0x5408c8,_0x457524,_0x5a9044,_0x2061e8,_0x5bb5e2;let _0x1b1503=(_0x55d255=_0x2e2d87[_0xe73339(0x193)])==null?{}:_0x55d255,_0x2416b7=(_0x2fae1f=(_0x5408c8=_0x2e2d87[_0xe73339(0x392)])==null?void 0x0:_0x5408c8[_0xe73339(0x2bd)])==null?un(_0x292a1e):_0x2fae1f,_0x2ef8ca=(_0x457524=(_0x5a9044=_0x2e2d87['coverFieldId'])==null?(_0x2061e8=_0x2e2d87['card'])==null?void 0x0:_0x2061e8[_0xe73339(0x1a4)]:_0x5a9044)==null?null:_0x457524,_0x4c17e2=!((_0x5bb5e2=_0x2e2d87[_0xe73339(0x392)])==null||(_0x5bb5e2=_0x5bb5e2['fieldIds'])==null)&&_0x5bb5e2['length']?_0x2e2d87['card'][_0xe73339(0x35a)]:dn(_0x292a1e,[_0x2416b7,_0x2ef8ca,_0x292a1e[_0xe73339(0x243)]]);return _0x4c17e2['filter'](_0x14de2d=>{const _0x48b0e6=_0xe73339;var _0x4accb6,_0x15d621;let _0x332348=_0x292a1e['fields'][_0x14de2d];return!(!_0x332348||_0x332348['id']===_0x2416b7||_0x332348['id']===_0x2ef8ca||!((_0x4accb6=_0x1666e1['fieldSettings'])==null||(_0x4accb6=_0x4accb6[_0x14de2d])==null)&&_0x4accb6[_0x48b0e6(0x1bd)]||(_0x15d621=_0x1b1503[_0x14de2d])!=null&&_0x15d621['hidden']);})[_0xe73339(0x314)]((_0x38621e,_0xd03022)=>{const _0x4be953=_0xe73339;var _0x1f8b8c,_0x450860,_0x183cbe,_0xfbafe3;return((_0x1f8b8c=(_0x450860=_0x1b1503[_0x38621e])==null?void 0x0:_0x450860[_0x4be953(0x375)])==null?_0x4c17e2[_0x4be953(0x400)](_0x38621e):_0x1f8b8c)-((_0x183cbe=(_0xfbafe3=_0x1b1503[_0xd03022])==null?void 0x0:_0xfbafe3['order'])==null?_0x4c17e2[_0x4be953(0x400)](_0xd03022):_0x183cbe);});}[_0x396ed2(0x164)](_0x574d19,_0x46f772){const _0x4bb5f=_0x396ed2;var _0x2a43b7;return((_0x2a43b7=_0x46f772['fieldOrder'])!=null&&_0x2a43b7[_0x4bb5f(0x1dd)]?_0x46f772[_0x4bb5f(0x201)]:_0x574d19[_0x4bb5f(0x201)])['flatMap'](_0x181790=>{const _0x454acf=_0x4bb5f;var _0x3053bb,_0x8ae058;let _0x58b85a=_0x574d19[_0x454acf(0x2f3)][_0x181790],_0x503430=(_0x3053bb=(_0x8ae058=_0x46f772[_0x454acf(0x193)])==null?void 0x0:_0x8ae058[_0x181790])==null?{}:_0x3053bb;return!_0x58b85a||_0x503430[_0x454acf(0x1bd)]?[]:[{'id':_0x58b85a['id'],'name':_0x58b85a[_0x454acf(0x28c)],'description':_0x58b85a[_0x454acf(0x1a0)],'type':_0x58b85a['type'],'config':_0x58b85a['config'],'width':_0x503430[_0x454acf(0x21e)],'setting':_0x503430}];});}[_0x396ed2(0x27e)](_0x44caaf,_0x7d0206){const _0xe27cc1=_0x396ed2;var _0x430c2c,_0x46c756,_0xc5ccc8;return T('BaseProjection.projectRows',()=>{const _0x28af6b=_0x5744;var _0x23d197,_0xeefb42,_0x3dbd5d,_0x10622a;let _0xf50ca4=this[_0x28af6b(0x3fa)](_0x44caaf),_0x3b9369=this[_0x28af6b(0x3a4)](_0x44caaf['id'],_0x7d0206),_0x6598c0=this[_0x28af6b(0x264)](_0x44caaf['id']),_0xad4bdb=this['_projectedViewRowsCache']['get'](_0x3b9369);if(_0xad4bdb&&_0xad4bdb[_0x28af6b(0x1d2)]===this['_globalRevision']&&_0xad4bdb['tableRevision']===this[_0x28af6b(0x288)](_0x44caaf['id'])){if(_0xad4bdb[_0x28af6b(0x2d8)]===_0x6598c0&&_0xad4bdb[_0x28af6b(0x226)]===_0xf50ca4)return _0xad4bdb[_0x28af6b(0x270)];if(_0xad4bdb['cellRevision']!==_0x6598c0&&!this[_0x28af6b(0x3eb)](_0x44caaf['id'],_0xad4bdb[_0x28af6b(0x2d8)],_0x6598c0,this[_0x28af6b(0x23c)](_0x7d0206))){let _0x4393f4=_0xad4bdb[_0x28af6b(0x270)]===_0xad4bdb[_0x28af6b(0x226)]?_0xf50ca4:this[_0x28af6b(0x22f)](_0xad4bdb[_0x28af6b(0x270)],_0xf50ca4);if(_0x4393f4)return this[_0x28af6b(0x2f6)]['set'](_0x3b9369,{..._0xad4bdb,'rows':_0x4393f4,'baseRows':_0xf50ca4,'cellRevision':_0x6598c0}),_0x4393f4;}}let _0xdb931a=T(_0x28af6b(0x1fb),()=>this[_0x28af6b(0x36d)](_0x44caaf,_0x7d0206,this['_filterRows'](_0x44caaf,_0x7d0206,_0xf50ca4)),{'tableId':_0x44caaf['id'],'viewId':_0x7d0206==null?void 0x0:_0x7d0206['id'],'viewType':_0x7d0206==null?void 0x0:_0x7d0206['type'],'rows':_0xf50ca4[_0x28af6b(0x1dd)],'filters':(_0x23d197=_0x7d0206==null||(_0xeefb42=_0x7d0206[_0x28af6b(0x24f)])==null?void 0x0:_0xeefb42[_0x28af6b(0x31f)][_0x28af6b(0x1dd)])==null?0x0:_0x23d197,'sorts':(_0x3dbd5d=_0x7d0206==null||(_0x10622a=_0x7d0206[_0x28af6b(0x314)])==null?void 0x0:_0x10622a['length'])==null?0x0:_0x3dbd5d});return this[_0x28af6b(0x2f6)][_0x28af6b(0x387)](_0x3b9369,{'table':_0x44caaf,'rows':_0xdb931a,'baseRows':_0xf50ca4,'globalRevision':this[_0x28af6b(0x280)],'tableRevision':this['_getTableRevision'](_0x44caaf['id']),'cellRevision':_0x6598c0}),_0xdb931a;},{'tableId':_0x44caaf['id'],'viewId':_0x7d0206==null?void 0x0:_0x7d0206['id'],'viewType':_0x7d0206==null?void 0x0:_0x7d0206[_0xe27cc1(0x415)],'records':(_0x430c2c=(_0x46c756=_0x44caaf[_0xe27cc1(0x3ab)])==null?void 0x0:_0x46c756[_0xe27cc1(0x1dd)])==null?Object[_0xe27cc1(0x234)]((_0xc5ccc8=_0x44caaf[_0xe27cc1(0x1ce)])==null?{}:_0xc5ccc8)[_0xe27cc1(0x1dd)]:_0x430c2c});}[_0x396ed2(0x3fa)](_0xc6da22){const _0xe002c8=_0x396ed2;var _0x2ff6f0,_0x251baa,_0x23dd5d;return T(_0xe002c8(0x386),()=>{const _0x35e8bc=_0xe002c8;var _0x53dbe7;let _0x2b4f4a=this[_0x35e8bc(0x264)](_0xc6da22['id']),_0x5ec0bd=this[_0x35e8bc(0x292)][_0x35e8bc(0x2bb)](_0xc6da22['id']);if(_0x5ec0bd&&_0x5ec0bd[_0x35e8bc(0x1d2)]===this['_globalRevision']&&_0x5ec0bd[_0x35e8bc(0x304)]===this[_0x35e8bc(0x288)](_0xc6da22['id'])){if(_0x5ec0bd[_0x35e8bc(0x2d8)]===_0x2b4f4a&&_0x5ec0bd[_0x35e8bc(0x328)]===_0xc6da22)return _0x5ec0bd[_0x35e8bc(0x270)];let _0xbcb09c=this['_patchProjectedRowsForCellInvalidations'](_0xc6da22,_0x5ec0bd,_0x2b4f4a);if(_0xbcb09c)return _0xbcb09c;}Sn(_0xc6da22)||E(_0xc6da22);let _0x230d58=(_0x53dbe7=_0xc6da22['recordOrder'])!=null&&_0x53dbe7[_0x35e8bc(0x1dd)]?_0xc6da22[_0x35e8bc(0x3ab)]:En(_0xc6da22[_0x35e8bc(0x1ce)]),_0x42127f=T('BaseProjection.materializeTableRows',()=>{const _0x726ddb=_0x35e8bc;let _0x1f0dc9=[];for(let _0xc8f990 of _0x230d58){let _0x56b736=_0xc6da22[_0x726ddb(0x1ce)][_0xc8f990];if(!_0x56b736)continue;let _0x213031={};for(let _0x254158 of _0xc6da22['fieldOrder'])_0x213031[_0x254158]=Ee(_0xc6da22,_0x56b736['id'],_0x254158);_0x1f0dc9[_0x726ddb(0x258)]({'recordId':_0x56b736['id'],'values':_0x213031});}return _0x1f0dc9;},{'tableId':_0xc6da22['id'],'records':_0x230d58[_0x35e8bc(0x1dd)],'fields':_0xc6da22['fieldOrder'][_0x35e8bc(0x1dd)]});return this['_projectedRowsCache'][_0x35e8bc(0x387)](_0xc6da22['id'],{'table':_0xc6da22,'rows':_0x42127f,'rowIndexById':xn(_0x42127f),'globalRevision':this[_0x35e8bc(0x280)],'tableRevision':this[_0x35e8bc(0x288)](_0xc6da22['id']),'cellRevision':_0x2b4f4a}),_0x42127f;},{'tableId':_0xc6da22['id'],'records':(_0x2ff6f0=(_0x251baa=_0xc6da22[_0xe002c8(0x3ab)])==null?void 0x0:_0x251baa[_0xe002c8(0x1dd)])==null?Object['keys']((_0x23dd5d=_0xc6da22['records'])==null?{}:_0x23dd5d)[_0xe002c8(0x1dd)]:_0x2ff6f0,'fields':_0xc6da22[_0xe002c8(0x201)][_0xe002c8(0x1dd)]});}[_0x396ed2(0x17e)](_0x47206d,_0x170dc1,_0x2b5d39){const _0x29a247=_0x396ed2;var _0x552e9b,_0x667149;let _0x2fb8e9=((_0x552e9b=this[_0x29a247(0x40f)][_0x29a247(0x2bb)](_0x47206d['id']))==null?[]:_0x552e9b)['filter'](_0xe06e26=>_0xe06e26[_0x29a247(0x342)]>_0x170dc1[_0x29a247(0x2d8)]&&_0xe06e26[_0x29a247(0x342)]<=_0x2b5d39);if(!_0x2fb8e9[_0x29a247(0x1dd)])return _0x170dc1[_0x29a247(0x328)]===_0x47206d?_0x170dc1[_0x29a247(0x270)]:null;let _0x92f5c4=_0x170dc1[_0x29a247(0x270)],_0x3b2cfc=new Map();for(let _0x213bd8 of _0x2fb8e9){let _0x39247a=_0x3b2cfc['get'](_0x213bd8[_0x29a247(0x348)]);_0x39247a||(_0x39247a=new Set(),_0x3b2cfc[_0x29a247(0x387)](_0x213bd8[_0x29a247(0x348)],_0x39247a)),_0x39247a[_0x29a247(0x229)](_0x213bd8[_0x29a247(0x20f)]);}for(let [_0x14f87f,_0x41925f]of _0x3b2cfc){if(!_0x47206d[_0x29a247(0x1ce)][_0x14f87f])return null;let _0x5477fa=_0x170dc1['rowIndexById'][_0x29a247(0x2bb)](_0x14f87f);if(_0x5477fa==null)return null;_0x92f5c4===_0x170dc1[_0x29a247(0x270)]&&(_0x92f5c4=[..._0x170dc1[_0x29a247(0x270)]]);let _0x2388a2=_0x92f5c4[_0x5477fa],_0x48ac71={..._0x2388a2[_0x29a247(0x33e)]};_0x41925f[_0x29a247(0x3d3)](_0x33bb95=>{_0x48ac71[_0x33bb95]=Ee(_0x47206d,_0x14f87f,_0x33bb95);}),_0x92f5c4[_0x5477fa]={..._0x2388a2,'values':_0x48ac71};}let _0x10f87a={'table':_0x47206d,'rows':_0x92f5c4,'rowIndexById':_0x170dc1[_0x29a247(0x1c6)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x29a247(0x288)](_0x47206d['id']),'cellRevision':_0x2b5d39};return this[_0x29a247(0x292)][_0x29a247(0x387)](_0x47206d['id'],_0x10f87a),this[_0x29a247(0x40f)][_0x29a247(0x387)](_0x47206d['id'],((_0x667149=this[_0x29a247(0x40f)][_0x29a247(0x2bb)](_0x47206d['id']))==null?[]:_0x667149)[_0x29a247(0x24f)](_0x465b74=>_0x465b74[_0x29a247(0x342)]>Math[_0x29a247(0x422)](0x0,_0x2b5d39-0x100))),_0x92f5c4;}[_0x396ed2(0x22f)](_0x183cd0,_0x4605c3){const _0x4b0b4e=_0x396ed2;let _0x5c7891=new Map(_0x4605c3[_0x4b0b4e(0x22a)](_0x5b47c2=>[_0x5b47c2[_0x4b0b4e(0x348)],_0x5b47c2])),_0x5576c0=!0x1,_0x1a0bd7=_0x183cd0[_0x4b0b4e(0x22a)](_0x4a51db=>{const _0x590183=_0x4b0b4e;let _0x16ed5b=_0x5c7891['get'](_0x4a51db[_0x590183(0x348)]);return _0x16ed5b?_0x16ed5b===_0x4a51db?_0x4a51db:(_0x5576c0=!0x0,_0x16ed5b):_0x4a51db;});return _0x5576c0?_0x1a0bd7:_0x183cd0;}[_0x396ed2(0x3eb)](_0x535a27,_0x6e3cfd,_0x360b9b,_0x1ca6ef){const _0x393660=_0x396ed2;var _0x21c96c;return!_0x1ca6ef[_0x393660(0x374)]||_0x6e3cfd===_0x360b9b?!0x1:_0x360b9b-_0x6e3cfd>0x100?!0x0:((_0x21c96c=this[_0x393660(0x40f)][_0x393660(0x2bb)](_0x535a27))==null?[]:_0x21c96c)[_0x393660(0x24c)](_0x1772b8=>_0x1772b8[_0x393660(0x342)]>_0x6e3cfd&&_0x1772b8[_0x393660(0x342)]<=_0x360b9b&&_0x1ca6ef[_0x393660(0x1c2)](_0x1772b8[_0x393660(0x20f)]));}[_0x396ed2(0x23c)](_0x30ae64){const _0x322b1d=_0x396ed2;var _0x50189b,_0x1ed171;let _0x7ac8f4=new Set();return _0x30ae64==null||(_0x50189b=_0x30ae64['filter'])==null||_0x50189b[_0x322b1d(0x31f)][_0x322b1d(0x3d3)](_0x560e42=>_0x7ac8f4[_0x322b1d(0x229)](_0x560e42['fieldId'])),_0x30ae64==null||(_0x1ed171=_0x30ae64[_0x322b1d(0x314)])==null||_0x1ed171[_0x322b1d(0x3d3)](_0x372141=>_0x7ac8f4[_0x322b1d(0x229)](_0x372141['fieldId'])),_0x7ac8f4;}['_groupProjectionFieldIds'](_0x1a96ff){const _0x1ca8f5=_0x396ed2;var _0x15a3c6;let _0x140528=this[_0x1ca8f5(0x23c)](_0x1a96ff);return(_0x15a3c6=_0x1a96ff[_0x1ca8f5(0x1e0)])==null||_0x15a3c6[_0x1ca8f5(0x3d3)](_0x378e0c=>_0x140528[_0x1ca8f5(0x229)](_0x378e0c['fieldId'])),_0x140528;}[_0x396ed2(0x32f)](_0x7b3ada,_0x21f91d,_0x5f4765){const _0x3b0dbc=_0x396ed2;let _0x27eb1a=_0x21f91d==null?void 0x0:_0x21f91d['filter'];if(!(_0x27eb1a!=null&&_0x27eb1a[_0x3b0dbc(0x31f)][_0x3b0dbc(0x1dd)]))return _0x5f4765;let _0x5949db=_0x27eb1a[_0x3b0dbc(0x31f)]['filter'](_0x1a71e9=>!Kn(_0x1a71e9));return _0x5949db[_0x3b0dbc(0x1dd)]?_0x5f4765[_0x3b0dbc(0x24f)](_0x3c3b40=>{const _0x520227=_0x3b0dbc;if(_0x27eb1a[_0x520227(0x2b8)]===_0x1b2ae1['OR']){for(let _0x30b04a of _0x5949db){let _0x2d9575=_0x7b3ada[_0x520227(0x2f3)][_0x30b04a[_0x520227(0x20f)]];if(!_0x2d9575||this[_0x520227(0x39c)]['get'](_0x2d9575['type'])[_0x520227(0x24f)](_0x3c3b40['values'][_0x2d9575['id']],_0x30b04a[_0x520227(0x405)],_0x30b04a['operand'],_0x2d9575))return!0x0;}return!0x1;}for(let _0x44b0bb of _0x5949db){let _0x5bb083=_0x7b3ada[_0x520227(0x2f3)][_0x44b0bb[_0x520227(0x20f)]];if(_0x5bb083&&!this[_0x520227(0x39c)][_0x520227(0x2bb)](_0x5bb083[_0x520227(0x415)])[_0x520227(0x24f)](_0x3c3b40['values'][_0x5bb083['id']],_0x44b0bb[_0x520227(0x405)],_0x44b0bb[_0x520227(0x2ee)],_0x5bb083))return!0x1;}return!0x0;}):_0x5f4765;}[_0x396ed2(0x36d)](_0x42d42d,_0x61304c,_0x5e191a){const _0x21e9bd=_0x396ed2;var _0x18162a;let _0x4d5935=(_0x18162a=_0x61304c==null?void 0x0:_0x61304c[_0x21e9bd(0x314)])==null?[]:_0x18162a;if(!_0x4d5935[_0x21e9bd(0x1dd)])return _0x5e191a;let _0x2bade2=_0x4d5935['flatMap'](_0x477b18=>{const _0x4b2503=_0x21e9bd;let _0x270ee2=_0x42d42d['fields'][_0x477b18[_0x4b2503(0x20f)]];return _0x270ee2?[{..._0x477b18,'field':_0x270ee2}]:[];});return _0x2bade2[_0x21e9bd(0x1dd)]?this['_canUseFastSort'](_0x2bade2)?this[_0x21e9bd(0x2eb)](_0x2bade2,_0x5e191a):[..._0x5e191a][_0x21e9bd(0x314)]((_0x3f0f9c,_0x559cc6)=>{const _0x247428=_0x21e9bd;for(let _0x208989 of _0x2bade2){let _0x54a527=_0x208989[_0x247428(0x232)],_0x305e7b=this['_fieldRegistry'][_0x247428(0x2bb)](_0x54a527['type'])[_0x247428(0x20a)](_0x3f0f9c['values'][_0x54a527['id']],_0x559cc6[_0x247428(0x33e)][_0x54a527['id']],_0x54a527);if(_0x305e7b!==0x0)return _0x208989['direction']===_0x54483d[_0x247428(0x38d)]?-_0x305e7b:_0x305e7b;}return 0x0;}):_0x5e191a;}['_canUseFastSort'](_0x14963){const _0x541dac=_0x396ed2;return _0x14963[_0x541dac(0x28f)](_0x51d69e=>vn[_0x541dac(0x1c2)](_0x51d69e[_0x541dac(0x232)]['type']));}['_fastSortRows'](_0x5b4220,_0x177123){const _0x4de086=_0x396ed2;return _0x177123['map']((_0x1830cc,_0x28defc)=>({'row':_0x1830cc,'index':_0x28defc,'keys':_0x5b4220[_0x4de086(0x22a)](_0x1c091e=>_0x1830cc['values'][_0x1c091e['fieldId']])}))[_0x4de086(0x314)]((_0xfab8b7,_0x577c8f)=>{const _0x5c7323=_0x4de086;for(let _0x2ca567=0x0;_0x2ca567<_0x5b4220[_0x5c7323(0x1dd)];_0x2ca567++){let _0x3a7233=Gn(_0xfab8b7[_0x5c7323(0x234)][_0x2ca567],_0x577c8f['keys'][_0x2ca567]);if(_0x3a7233!==0x0)return _0x5b4220[_0x2ca567][_0x5c7323(0x1b2)]===_0x54483d[_0x5c7323(0x38d)]?-_0x3a7233:_0x3a7233;}return _0xfab8b7[_0x5c7323(0x362)]-_0x577c8f[_0x5c7323(0x362)];})['map'](_0x49001c=>_0x49001c[_0x4de086(0x284)]);}[_0x396ed2(0x265)](_0x58a2ce,_0x33d896,_0x1598b0){var _0x4d1108,_0x369194;return T('BaseProjection.projectGroups',()=>{const _0x97887=_0x5744;var _0x24de99;if(!((_0x24de99=_0x33d896['group'])!=null&&_0x24de99[_0x97887(0x1dd)]))return[];let _0x107381=_0x33d896[_0x97887(0x1e0)][_0x97887(0x24f)](_0x507742=>_0x58a2ce[_0x97887(0x2f3)][_0x507742[_0x97887(0x20f)]]);if(!_0x107381[_0x97887(0x1dd)])return[];let _0x5c6809=this[_0x97887(0x2e0)](_0x58a2ce['id'],_0x33d896,_0x107381),_0x33170b=this[_0x97887(0x264)](_0x58a2ce['id']),_0x5492f7=this[_0x97887(0x20e)]['get'](_0x5c6809);if(_0x5492f7&&_0x5492f7['globalRevision']===this[_0x97887(0x280)]&&_0x5492f7[_0x97887(0x304)]===this[_0x97887(0x288)](_0x58a2ce['id'])){if(_0x5492f7['cellRevision']===_0x33170b&&_0x5492f7['rows']===_0x1598b0)return _0x5492f7['groups'];if(_0x5492f7[_0x97887(0x2d8)]!==_0x33170b&&!this['_cellInvalidationsTouchFields'](_0x58a2ce['id'],_0x5492f7[_0x97887(0x2d8)],_0x33170b,this[_0x97887(0x191)](_0x33d896)))return this[_0x97887(0x20e)][_0x97887(0x387)](_0x5c6809,{..._0x5492f7,'rows':_0x1598b0,'cellRevision':_0x33170b}),_0x5492f7[_0x97887(0x366)];}let _0x3d0f52=new Map();for(let _0x28a88c of _0x1598b0){let _0x5d085a=_0x3d0f52,_0x10c9f4='';for(let _0x8b86c8=0x0;_0x8b86c8<_0x107381[_0x97887(0x1dd)];_0x8b86c8++){let _0x358409=_0x107381[_0x8b86c8],_0x3afdc7=_0x28a88c[_0x97887(0x33e)][_0x358409[_0x97887(0x20f)]],_0x9a0ce6=bn(_0x3afdc7),_0x1bb6c3=_0x358409[_0x97887(0x20f)]+'\x00'+_0x9a0ce6,_0x379b66=_0x10c9f4+'/'+_0x358409[_0x97887(0x20f)]+':'+_0x9a0ce6,_0x4c6852=_0x5d085a[_0x97887(0x2bb)](_0x1bb6c3);_0x4c6852||(_0x4c6852={'key':_0x9a0ce6,'value':_0x3afdc7,'path':_0x379b66,'label':_0x9a0ce6||'Empty','fieldId':_0x358409[_0x97887(0x20f)],'level':_0x8b86c8,'recordIds':[],'children':new Map()},_0x5d085a[_0x97887(0x387)](_0x1bb6c3,_0x4c6852)),_0x4c6852[_0x97887(0x331)]['push'](_0x28a88c[_0x97887(0x348)]),_0x5d085a=_0x4c6852[_0x97887(0x3d4)],_0x10c9f4=_0x379b66;}}let _0x4cfe1b=this['_materializeGroups'](_0x107381,_0x3d0f52,0x0);return this[_0x97887(0x20e)][_0x97887(0x387)](_0x5c6809,{'table':_0x58a2ce,'rows':_0x1598b0,'groups':_0x4cfe1b,'globalRevision':this[_0x97887(0x280)],'tableRevision':this[_0x97887(0x288)](_0x58a2ce['id']),'cellRevision':_0x33170b}),_0x4cfe1b;},{'tableId':_0x58a2ce['id'],'viewId':_0x33d896['id'],'viewType':_0x33d896['type'],'rows':_0x1598b0['length'],'groupFields':(_0x4d1108=(_0x369194=_0x33d896['group'])==null?void 0x0:_0x369194['length'])==null?0x0:_0x4d1108});}[_0x396ed2(0x277)](_0x4b4d3c,_0x26298a,_0x186cf3){const _0xda8a54=_0x396ed2;var _0x531fdc;let _0x2e5eab=Array[_0xda8a54(0x34b)](_0x26298a[_0xda8a54(0x33e)]()),_0x29ab8b=(_0x531fdc=_0x4b4d3c[_0x186cf3])==null?void 0x0:_0x531fdc['direction'];return _0x29ab8b&&_0x2e5eab[_0xda8a54(0x314)]((_0x490725,_0x3a924c)=>{const _0x120711=_0xda8a54;let _0x4e17d0=_0x490725[_0x120711(0x194)]['localeCompare'](_0x3a924c['key']);return _0x29ab8b===_0x54483d[_0x120711(0x38d)]?-_0x4e17d0:_0x4e17d0;}),_0x2e5eab[_0xda8a54(0x22a)](_0x3dbf25=>({'key':_0x3dbf25['key'],'value':_0x3dbf25[_0xda8a54(0x34e)],'path':_0x3dbf25[_0xda8a54(0x398)],'label':_0x3dbf25[_0xda8a54(0x175)],'fieldId':_0x3dbf25[_0xda8a54(0x20f)],'level':_0x3dbf25[_0xda8a54(0x414)],'recordIds':_0x3dbf25['recordIds'],'children':this[_0xda8a54(0x277)](_0x4b4d3c,_0x3dbf25[_0xda8a54(0x3d4)],_0x186cf3+0x1)}));}[_0x396ed2(0x37c)](_0x15f037,_0x2f0873,_0x164736){const _0x5742a4=_0x396ed2;let _0x2b505e=_0x164736==null?_0x15f037[_0x5742a4(0x243)]:_0x164736,_0xc59c28=_0x2f0873[_0x5742a4(0x33e)][_0x2b505e];return _0xc59c28==null?'':String(_0xc59c28);}[_0x396ed2(0x436)](_0x3e84cb){const _0x3f9f4b=_0x396ed2;if(Array[_0x3f9f4b(0x3db)](_0x3e84cb))return _0x3e84cb[_0x3f9f4b(0x22a)](String);if(typeof _0x3e84cb==_0x3f9f4b(0x247)&&_0x3e84cb)return[_0x3e84cb];}[_0x396ed2(0x21c)](_0x2e55e2){const _0x3d763e=_0x396ed2;return this[_0x3d763e(0x39c)][_0x3d763e(0x2bb)](_0x2e55e2['type'])[_0x3d763e(0x161)](_0x2e55e2);}};yn=U([H(0x0,_0x351210(en))],yn);function bn(_0x40139f){return _0x40139f==null?'':String(_0x40139f);}function xn(_0x146a8a){const _0x511218=_0x396ed2;return new Map(_0x146a8a[_0x511218(0x22a)]((_0x1c61d2,_0x10b19d)=>[_0x1c61d2[_0x511218(0x348)],_0x10b19d]));}function Sn(_0x1bb88a){const _0x3c3539=_0x396ed2;return!!(Array[_0x3c3539(0x3db)](_0x1bb88a[_0x3c3539(0x3ab)])&&_0x1bb88a[_0x3c3539(0x2f0)]&&_0x1bb88a[_0x3c3539(0x2d2)]&&_0x1bb88a[_0x3c3539(0x158)]&&_0x1bb88a['colId']&&_0x1bb88a[_0x3c3539(0x34c)]);}function Cn(_0xb39da1){const _0x12872c=_0x396ed2;return _0xb39da1!=null&&_0xb39da1['conditions'][_0x12872c(0x1dd)]?{'conjunction':_0xb39da1[_0x12872c(0x2b8)],'conditions':_0xb39da1[_0x12872c(0x31f)][_0x12872c(0x22a)](_0x44b1be=>({'fieldId':_0x44b1be[_0x12872c(0x20f)],'operator':_0x44b1be[_0x12872c(0x405)],'operand':_0x44b1be[_0x12872c(0x2ee)]}))}:null;}function wn(_0xc774e7){const _0x378f33=_0x396ed2;return _0xc774e7!=null&&_0xc774e7[_0x378f33(0x1dd)]?_0xc774e7[_0x378f33(0x22a)](_0x55428b=>({'fieldId':_0x55428b['fieldId'],'direction':_0x55428b[_0x378f33(0x1b2)]})):null;}function Tn(_0x20f38d){const _0x1ea40e=_0x396ed2;if(typeof _0x20f38d!=_0x1ea40e(0x25a)||!_0x20f38d){var _0x5521d2;return(_0x5521d2=JSON['stringify'](_0x20f38d))==null?_0x1ea40e(0x30b):_0x5521d2;}if(Array[_0x1ea40e(0x3db)](_0x20f38d))return'['+_0x20f38d[_0x1ea40e(0x22a)](Tn)['join'](',')+']';let _0x173eac=_0x20f38d;return'{'+Object[_0x1ea40e(0x234)](_0x173eac)[_0x1ea40e(0x314)]()[_0x1ea40e(0x22a)](_0x537e04=>JSON['stringify'](_0x537e04)+':'+Tn(_0x173eac[_0x537e04]))['join'](',')+'}';}function En(_0x3ec54e){const _0x228d8a=_0x396ed2;let _0x328f9c=Object[_0x228d8a(0x33e)](_0x3ec54e)[_0x228d8a(0x314)]((_0x381a7,_0x115fa3)=>_0x381a7[_0x228d8a(0x2a9)][_0x228d8a(0x23e)](_0x115fa3[_0x228d8a(0x2a9)])),_0x1fbaf9=[];for(let _0x216b2f of _0x328f9c)_0x1fbaf9[_0x228d8a(0x258)](_0x216b2f['id']);return _0x1fbaf9;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x4675a8){const _0x4537c1=_0x396ed2;return{'weekdays':Array[_0x4537c1(0x3db)](_0x4675a8==null?void 0x0:_0x4675a8[_0x4537c1(0x195)])&&_0x4675a8['weekdays'][_0x4537c1(0x1dd)]?[...new Set(_0x4675a8['weekdays'][_0x4537c1(0x24f)](_0x3d4ab2=>Number['isInteger'](_0x3d4ab2)&&_0x3d4ab2>=0x1&&_0x3d4ab2<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x4675a8==null?void 0x0:_0x4675a8[_0x4537c1(0x325)])?_0x4675a8[_0x4537c1(0x325)]['flatMap'](_0x27b17a=>!_0x27b17a||!Number[_0x4537c1(0x1da)](_0x27b17a['date'])?[]:[{'id':String(_0x27b17a['id']||'exception-'+_0x27b17a[_0x4537c1(0x200)]),'date':K(Number(_0x27b17a[_0x4537c1(0x200)])),'name':String(_0x27b17a[_0x4537c1(0x28c)]||_0x4537c1(0x25b)),'type':_0x27b17a[_0x4537c1(0x415)]===_0x4537c1(0x211)?'working':'off'}]):[]};}function On(_0x54fa7a,_0x31cecb,_0x360905,_0x4d60ca){let _0x10d710=Mn(_0x54fa7a,_0x31cecb),_0x4a3fd5=Nn(_0x54fa7a,_0x360905),_0x536ff8=kn(_0x54fa7a,_0x10d710,_0x4a3fd5,_0x4d60ca);return{'scale':_0x54fa7a,'start':_0x10d710,'end':_0x4a3fd5,'unitWidth':jn(_0x54fa7a),'majorHeaders':An(_0x54fa7a,_0x10d710,_0x4a3fd5),'columns':_0x536ff8};}function kn(_0x177185,_0x184212,_0x1709ef,_0x5f028e){const _0x3ddfb5=_0x396ed2;let _0xf4a5be=[],_0x5e8622=_0x184212;for(;_0x5e8622<_0x1709ef;){let _0x4f0e95=_0x177185==='quarter'?q(_0x5e8622,0x7):_0x177185===_0x3ddfb5(0x15b)?Hn(_0x5e8622,0x1):q(_0x5e8622,0x1);_0xf4a5be['push']({'id':_0x177185+'-'+_0x5e8622,'label':Pn(_0x177185,_0x5e8622,_0x4f0e95),'majorLabel':Fn(_0x177185,_0x5e8622),'start':_0x5e8622,'end':_0x4f0e95,'nonWorking':Ln(_0x5e8622,_0x4f0e95,_0x5f028e)}),_0x5e8622=_0x4f0e95;}return _0xf4a5be;}function An(_0x448bc3,_0x2ad657,_0x8af9b6){const _0x910398=_0x396ed2;let _0x58e66f=[],_0x4674cd=_0x448bc3==='year'?Vn(_0x2ad657):Bn(_0x2ad657);for(;_0x4674cd<_0x8af9b6;){let _0x5e58d1=_0x448bc3===_0x910398(0x15b)?Un(_0x4674cd,0x1):Hn(_0x4674cd,0x1);_0x58e66f[_0x910398(0x258)]({'id':_0x910398(0x3bf)+_0x4674cd,'label':_0x448bc3==='year'?String(new Date(_0x4674cd)['getUTCFullYear']()):Wn(_0x4674cd),'start':_0x4674cd,'end':_0x5e58d1}),_0x4674cd=_0x5e58d1;}return _0x58e66f;}function jn(_0x44548e){const _0x57ee57=_0x396ed2;switch(_0x44548e){case'week':return 0xac;case _0x57ee57(0x37f):return 0xac;case _0x57ee57(0x15b):return 0x88;default:return 0x56;}}function Mn(_0x5cb70e,_0x5208b1){const _0x178b53=_0x396ed2;return _0x5cb70e===_0x178b53(0x15b)?Vn(_0x5208b1):_0x5cb70e==='quarter'?zn(_0x5208b1):K(_0x5208b1);}function Nn(_0x225a74,_0x75004){const _0x3a8484=_0x396ed2;return _0x225a74===_0x3a8484(0x15b)?Un(Vn(_0x75004),0x1):_0x225a74==='quarter'?q(zn(_0x75004),0x7):q(K(_0x75004),0x1);}function Pn(_0x307fc6,_0x59994e,_0x3be7d9){const _0x31a686=_0x396ed2;let _0x488da6=new Date(_0x59994e);return _0x307fc6===_0x31a686(0x37f)?_0x488da6[_0x31a686(0x2d5)]()+'-'+new Date(_0x3be7d9-G)['getUTCDate']():_0x307fc6===_0x31a686(0x15b)?_0x488da6[_0x31a686(0x27d)](_0x31a686(0x3b2),{'month':_0x31a686(0x3dd),'timeZone':'UTC'}):String(_0x488da6[_0x31a686(0x2d5)]());}function Fn(_0xbd618a,_0x44a8b0){const _0x4df5a2=_0x396ed2;return _0xbd618a==='year'?String(new Date(_0x44a8b0)[_0x4df5a2(0x283)]()):Wn(_0x44a8b0);}function In(_0x5dba29,_0x1f64cb,_0x41fb45){let _0x4ad4d7=Dn(_0x41fb45),_0x24040e=0x0;for(let _0x381137=K(_0x5dba29);_0x381137<=K(_0x1f64cb);_0x381137=q(_0x381137,0x1))Rn(_0x381137,_0x4ad4d7)||_0x24040e++;return _0x24040e;}function Ln(_0x4b7cc1,_0x54cfd8,_0x49bf11){if(!_0x49bf11)return!0x1;let _0x5cac0a=Dn(_0x49bf11);for(let _0x49e360=K(_0x4b7cc1);_0x49e360<_0x54cfd8;_0x49e360=q(_0x49e360,0x1))if(!Rn(_0x49e360,_0x5cac0a))return!0x1;return!0x0;}function Rn(_0x5a6206,_0x2227b7){const _0x52787a=_0x396ed2;let _0x1ca3ee=K(_0x5a6206),_0x4b0818=_0x2227b7['exceptions']['find'](_0x37b065=>K(_0x37b065[_0x52787a(0x200)])===_0x1ca3ee);if(_0x4b0818)return _0x4b0818['type']==='off';let _0x52e408=new Date(_0x1ca3ee)['getUTCDay'](),_0x1aa8bb=_0x52e408===0x0?0x7:_0x52e408;return!_0x2227b7[_0x52787a(0x195)][_0x52787a(0x323)](_0x1aa8bb);}function K(_0x12728c){const _0x1371c7=_0x396ed2;let _0x4ebdd9=new Date(_0x12728c);return Date[_0x1371c7(0x3a9)](_0x4ebdd9[_0x1371c7(0x283)](),_0x4ebdd9[_0x1371c7(0x3bc)](),_0x4ebdd9['getUTCDate']());}function zn(_0x41fbef){const _0x22d550=_0x396ed2;let _0x30e95c=K(_0x41fbef),_0x3f6ec6=new Date(_0x30e95c)[_0x22d550(0x168)]();return q(_0x30e95c,-(_0x3f6ec6===0x0?0x6:_0x3f6ec6-0x1));}function Bn(_0x5729c3){const _0x5d2ea9=_0x396ed2;let _0x41d09e=new Date(_0x5729c3);return Date[_0x5d2ea9(0x3a9)](_0x41d09e[_0x5d2ea9(0x283)](),_0x41d09e['getUTCMonth'](),0x1);}function Vn(_0x56772b){const _0x26d37c=_0x396ed2;let _0x22105a=new Date(_0x56772b);return Date['UTC'](_0x22105a[_0x26d37c(0x283)](),0x0,0x1);}function q(_0x4e6cff,_0x2572b0){return _0x4e6cff+_0x2572b0*G;}function Hn(_0x53b9cd,_0x3d0527){const _0x16d766=_0x396ed2;let _0x43a0a5=new Date(_0x53b9cd);return Date[_0x16d766(0x3a9)](_0x43a0a5[_0x16d766(0x283)](),_0x43a0a5['getUTCMonth']()+_0x3d0527,0x1);}function Un(_0x329ae5,_0x48c081){const _0x157485=_0x396ed2;let _0x3c88a2=new Date(_0x329ae5);return Date[_0x157485(0x3a9)](_0x3c88a2['getUTCFullYear']()+_0x48c081,0x0,0x1);}function Wn(_0x378147){const _0x22b5b8=_0x396ed2;let _0x3308ff=new Date(_0x378147);return _0x3308ff[_0x22b5b8(0x27d)]('en-US',{'month':_0x22b5b8(0x3dd),'timeZone':'UTC'})+'\x20'+_0x3308ff[_0x22b5b8(0x283)]();}function Gn(_0x1b89b4,_0x449887){const _0x5950dc=_0x396ed2;if(_0x1b89b4==null&&_0x449887==null)return 0x0;if(_0x1b89b4==null)return-0x1;if(_0x449887==null)return 0x1;if(typeof _0x1b89b4==_0x5950dc(0x424)||typeof _0x449887==_0x5950dc(0x424))return Number(_0x1b89b4===!0x0)-Number(_0x449887===!0x0);let _0x3ec37e=Number(_0x1b89b4),_0x2a2ffa=Number(_0x449887),_0x4cbc8b=Number['isFinite'](_0x3ec37e),_0x45dd1c=Number[_0x5950dc(0x1da)](_0x2a2ffa);return _0x4cbc8b&&_0x45dd1c?_0x3ec37e-_0x2a2ffa:_0x4cbc8b?0x1:_0x45dd1c?-0x1:String(_0x1b89b4)[_0x5950dc(0x23e)](String(_0x449887));}function Kn(_0x49be49){const _0x572c17=_0x396ed2;if(_0x49be49[_0x572c17(0x405)]!=='is'&&_0x49be49[_0x572c17(0x405)]!==_0x572c17(0x388))return!0x1;let _0x263bae=_0x49be49['operand'];return _0x263bae==null?!0x0:typeof _0x263bae=='string'?_0x263bae[_0x572c17(0x317)]()==='':Array[_0x572c17(0x3db)](_0x263bae)?_0x263bae[_0x572c17(0x1dd)]===0x0:!0x1;}function J(_0x5a4c9f,_0x3ca0e4){const _0x37e742=_0x396ed2;var _0xa8715d;let _0x55c4a6=Array[_0x37e742(0x3db)]((_0xa8715d=_0x5a4c9f[_0x37e742(0x285)])==null?void 0x0:_0xa8715d[_0x37e742(0x198)])?_0x5a4c9f['config'][_0x37e742(0x198)]:[];for(let _0x3b0441 of _0x55c4a6){var _0x2d0bd4,_0x13432e,_0x49cb06,_0x2baffc;if(_0x3b0441==null)continue;if(typeof _0x3b0441==_0x37e742(0x247)){if(_0x3b0441===_0x3ca0e4)return{'id':_0x3b0441,'name':_0x3b0441};continue;}let _0xb110e5=_0x3b0441,_0x5bcff0=String((_0x2d0bd4=(_0x13432e=_0xb110e5['id'])==null?_0xb110e5['name']:_0x13432e)==null?'':_0x2d0bd4),_0x51e5dd=String((_0x49cb06=(_0x2baffc=_0xb110e5['name'])==null?_0xb110e5['id']:_0x2baffc)==null?_0x5bcff0:_0x49cb06);if(_0x5bcff0===_0x3ca0e4||_0x51e5dd===_0x3ca0e4)return{'id':_0x5bcff0,'name':_0x51e5dd,'color':_0xb110e5['color']==null?void 0x0:String(_0xb110e5[_0x37e742(0x27b)])};}return null;}const Y={'id':_0x396ed2(0x42f),'type':_0x533ada['MUTATION'],'handler'(_0x4806d4,_0x1ab367){const _0x3405d9=_0x396ed2;let {unitId:_0x5049fd,op:_0x5a1913}=_0x1ab367,_0x23e812=_0x4806d4[_0x3405d9(0x2bb)](_0x726745)[_0x3405d9(0x248)](_0x5049fd,_0x545be5['UNIVER_BASE']);if(!_0x23e812)return!0x1;let _0x9f7c4=_0x23e812[_0x3405d9(0x2d9)](),_0x3c7445=new A(),_0x3a3d80=_0x3c7445[_0x3405d9(0x23f)](_0x5a1913),_0x4d8e1a=_0x3c7445[_0x3405d9(0x223)](_0x9f7c4,_0x5a1913);return _0x23e812[_0x3405d9(0x417)](_0x4d8e1a),qn(_0x4d8e1a,_0x3a3d80,_0x4806d4[_0x3405d9(0x2bb)](_n)),!0x0;}};function qn(_0x2aafa2,_0x85bca1,_0x480da2){const _0x18222f=_0x396ed2;let _0x59c56a=new Set();for(let _0x4770fd of _0x85bca1){if(_0x4770fd[_0x18222f(0x3c2)]!==_0x18222f(0x38f)){_0x480da2[_0x18222f(0x21a)]();return;}let _0x5b958d=Jn(_0x2aafa2,_0x4770fd);if(!_0x5b958d){_0x480da2[_0x18222f(0x21a)]();return;}let _0x2b7b06=_0x5b958d[_0x18222f(0x2b3)]+'\x00'+_0x5b958d[_0x18222f(0x348)]+'\x00'+_0x5b958d[_0x18222f(0x20f)];_0x59c56a[_0x18222f(0x1c2)](_0x2b7b06)||(_0x59c56a[_0x18222f(0x229)](_0x2b7b06),_0x480da2['invalidateByCell'](_0x5b958d[_0x18222f(0x2b3)],_0x5b958d[_0x18222f(0x348)],_0x5b958d[_0x18222f(0x20f)]));}}function Jn(_0x44f92a,_0x6c16d9){const _0x4e612e=_0x396ed2;var _0x3f90dc,_0x282eb2;if(!_0x6c16d9[_0x4e612e(0x2b3)])return null;if(_0x6c16d9[_0x4e612e(0x348)]&&_0x6c16d9[_0x4e612e(0x20f)])return{'tableId':_0x6c16d9[_0x4e612e(0x2b3)],'recordId':_0x6c16d9[_0x4e612e(0x348)],'fieldId':_0x6c16d9[_0x4e612e(0x20f)]};if(_0x6c16d9[_0x4e612e(0x284)]==null||_0x6c16d9[_0x4e612e(0x26c)]==null)return null;let _0x5c1c43=_0x44f92a[_0x4e612e(0x404)][_0x6c16d9[_0x4e612e(0x2b3)]],_0x2bd6ef=_0x5c1c43==null||(_0x3f90dc=_0x5c1c43['rowId'])==null?void 0x0:_0x3f90dc[_0x6c16d9[_0x4e612e(0x284)]],_0x4da589=_0x5c1c43==null||(_0x282eb2=_0x5c1c43['colId'])==null?void 0x0:_0x282eb2[_0x6c16d9[_0x4e612e(0x26c)]];return!_0x2bd6ef||!_0x4da589?null:{'tableId':_0x6c16d9[_0x4e612e(0x2b3)],'recordId':_0x2bd6ef,'fieldId':_0x4da589};}function X(_0x275994,_0x5ef7eb,_0x532ba1){const _0x1cc6d3=_0x396ed2;let _0x2f3290=_0x275994['getSnapshot']()[_0x1cc6d3(0x404)][_0x5ef7eb];if(!_0x2f3290)return!0x1;let {viewIds:_0x4e43a5,fieldIds:_0x225794,recordIds:_0x1f10c4}=_0x532ba1||{};if(_0x4e43a5){for(let _0xc388ee of _0x4e43a5)if(!_0x2f3290[_0x1cc6d3(0x173)][_0xc388ee])return!0x1;}if(_0x225794){for(let _0x225c04 of _0x225794)if(!_0x2f3290[_0x1cc6d3(0x2f3)][_0x225c04])return!0x1;}if(_0x1f10c4){for(let _0x182d74 of _0x1f10c4)if(!_0x2f3290[_0x1cc6d3(0x1ce)][_0x182d74])return!0x1;}return!0x0;}const Yn={'id':_0x396ed2(0x406),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x2154b1,_0x2d2b19){const _0x40faf1=_0x396ed2;if(!_0x2d2b19)return!0x1;let _0x2355be=_0x2154b1['get'](_0x726745),{unitId:_0x502fa7,tableId:_0x206663,records:_0x4b8ae5}=_0x2d2b19,_0x5bd3f1=_0x2355be[_0x40faf1(0x248)](_0x502fa7,_0x545be5[_0x40faf1(0x174)]),_0x4346=_0x4b8ae5['map'](_0x40a717=>_0x40a717['id']);if(!_0x5bd3f1||!X(_0x5bd3f1,_0x206663)||new Set(_0x4346)[_0x40faf1(0x374)]!==_0x4346[_0x40faf1(0x1dd)]||_0x4346[_0x40faf1(0x24c)](_0x5cbe9d=>_0x5bd3f1[_0x40faf1(0x2d9)]()[_0x40faf1(0x404)][_0x206663]['records'][_0x5cbe9d]))return!0x1;let _0x289622=_0x2154b1[_0x40faf1(0x2bb)](_0x40924c),_0x5cfdf1=_0x2154b1[_0x40faf1(0x2bb)](_0xf32056),_0xcbc90d=_0x2154b1[_0x40faf1(0x2bb)](W)[_0x40faf1(0x29e)](_0x5bd3f1,_0x206663,_0x4b8ae5),_0x315055=new A()[_0x40faf1(0x35e)](_0x5bd3f1['getSnapshot'](),_0xcbc90d),_0x5e9442={'unitId':_0x502fa7,'op':_0xcbc90d},_0x5c49cb={'unitId':_0x502fa7,'op':_0x315055};return _0x289622[_0x40faf1(0x36e)](Y['id'],_0x5e9442)?(_0x2355be[_0x40faf1(0x3ac)](_0x502fa7),_0x5cfdf1[_0x40faf1(0x33c)]({'unitID':_0x502fa7,'undoMutations':[{'id':Y['id'],'params':_0x5c49cb}],'redoMutations':[{'id':Y['id'],'params':_0x5e9442}]}),!0x0):!0x1;}},Xn={'id':_0x396ed2(0x3ee),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x217cdf,_0x28255c)=>{const _0x3ef7b1=_0x396ed2;if(!_0x28255c)return!0x1;let _0x12bcd0=_0x217cdf[_0x3ef7b1(0x2bb)](_0x726745),{unitId:_0xc943b2,tableId:_0x56bb62,recordIds:_0x4b50d2}=_0x28255c,_0x2f5623=_0x12bcd0['getUnit'](_0xc943b2,_0x545be5[_0x3ef7b1(0x174)]);if(!_0x2f5623||!X(_0x2f5623,_0x56bb62,{'recordIds':_0x4b50d2}))return!0x1;let _0x3db58c=_0x217cdf[_0x3ef7b1(0x2bb)](_0x40924c),_0x2f4d4c=_0x217cdf[_0x3ef7b1(0x2bb)](_0xf32056),_0x357aec=_0x2f5623[_0x3ef7b1(0x2d9)](),_0x72dee7=new R()[_0x3ef7b1(0x40c)](_0x357aec,_0x56bb62,_0x4b50d2),_0x14e7c0=new A()[_0x3ef7b1(0x35e)](_0x357aec,_0x72dee7),_0x41d89b={'unitId':_0xc943b2,'op':_0x72dee7},_0x2fbb30={'unitId':_0xc943b2,'op':_0x14e7c0};return _0x3db58c[_0x3ef7b1(0x36e)](Y['id'],_0x41d89b)?(_0x12bcd0['focusUnit'](_0xc943b2),_0x2f4d4c[_0x3ef7b1(0x33c)]({'unitID':_0xc943b2,'undoMutations':[{'id':Y['id'],'params':_0x2fbb30}],'redoMutations':[{'id':Y['id'],'params':_0x41d89b}]}),!0x0):!0x1;}},Zn={'id':_0x396ed2(0x3ba),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x583914,_0x5bb3d1)=>{const _0x406331=_0x396ed2;if(!_0x5bb3d1)return!0x1;let _0x1b508c=_0x583914['get'](_0x726745),{unitId:_0x38f410,tableId:_0x491b6b,fieldId:_0x2d7d6a,input:_0x25a66a}=_0x5bb3d1,_0x21e170=_0x1b508c['getUnit'](_0x38f410,_0x545be5[_0x406331(0x174)]);if(!_0x21e170||!X(_0x21e170,_0x491b6b,{'fieldIds':[_0x2d7d6a]}))return!0x1;let _0x559c17=_0x583914['get'](_0x40924c),_0x330637=_0x583914[_0x406331(0x2bb)](_0xf32056),_0x44f9da=_0x21e170['getSnapshot'](),_0x567e59=new R()[_0x406331(0x3d8)](_0x44f9da,_0x491b6b,_0x2d7d6a,_0x25a66a),_0xa986ca=new A()[_0x406331(0x35e)](_0x44f9da,_0x567e59),_0x52345c={'unitId':_0x38f410,'op':_0x567e59},_0x41d91c={'unitId':_0x38f410,'op':_0xa986ca};return _0x559c17[_0x406331(0x36e)](Y['id'],_0x52345c)?(_0x1b508c[_0x406331(0x3ac)](_0x38f410),_0x330637['pushUndoRedo']({'unitID':_0x38f410,'undoMutations':[{'id':Y['id'],'params':_0x41d91c}],'redoMutations':[{'id':Y['id'],'params':_0x52345c}]}),!0x0):!0x1;}},Qn={'id':_0x396ed2(0x297),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x544618,_0x2307a6){const _0x1ac85e=_0x396ed2;if(!_0x2307a6)return!0x1;let _0x496079=_0x544618['get'](_0x726745),{unitId:_0xc7dfdd,tableId:_0x5a96c4,field:_0x48f382,index:_0xb6050d,viewIndexes:_0x1d4f7a}=_0x2307a6,_0x53abbb=_0x496079[_0x1ac85e(0x248)](_0xc7dfdd,_0x545be5['UNIVER_BASE']);if(!_0x53abbb||!X(_0x53abbb,_0x5a96c4)||_0x53abbb['getSnapshot']()[_0x1ac85e(0x404)][_0x5a96c4][_0x1ac85e(0x2f3)][_0x48f382['id']])return!0x1;let _0x4dd5f4=_0x544618[_0x1ac85e(0x2bb)](_0x40924c),_0x36f436=_0x544618[_0x1ac85e(0x2bb)](_0xf32056),_0x23976b=_0x544618[_0x1ac85e(0x2bb)](W)[_0x1ac85e(0x2c6)](_0x53abbb,_0x5a96c4,_0x48f382,_0xb6050d,_0x1d4f7a),_0x7979b8=new A()[_0x1ac85e(0x35e)](_0x53abbb[_0x1ac85e(0x2d9)](),_0x23976b),_0x226a80={'unitId':_0xc7dfdd,'op':_0x23976b},_0x113920={'unitId':_0xc7dfdd,'op':_0x7979b8};return _0x4dd5f4[_0x1ac85e(0x36e)](Y['id'],_0x226a80)?(_0x496079[_0x1ac85e(0x3ac)](_0xc7dfdd),_0x36f436[_0x1ac85e(0x33c)]({'unitID':_0xc7dfdd,'undoMutations':[{'id':Y['id'],'params':_0x113920}],'redoMutations':[{'id':Y['id'],'params':_0x226a80}]}),!0x0):!0x1;}},$n={'id':_0x396ed2(0x439),'type':_0x533ada['COMMAND'],'handler'(_0xde3adc,_0xb73f2e){const _0x454826=_0x396ed2;if(!_0xb73f2e)return!0x1;let _0x55477d=_0xde3adc[_0x454826(0x2bb)](_0x726745),{unitId:_0x1187c1,tableId:_0x1b32be,record:_0x23f150}=_0xb73f2e,_0x3d0c7d=_0x55477d['getUnit'](_0x1187c1,_0x545be5[_0x454826(0x174)]);if(!_0x3d0c7d||!X(_0x3d0c7d,_0x1b32be)||_0x3d0c7d[_0x454826(0x2d9)]()[_0x454826(0x404)][_0x1b32be][_0x454826(0x1ce)][_0x23f150['id']])return!0x1;let _0x46cab2=_0xde3adc[_0x454826(0x2bb)](_0x40924c),_0x3c8c32=_0xde3adc[_0x454826(0x2bb)](_0xf32056),_0x5bb5ae=_0xde3adc[_0x454826(0x2bb)](W)[_0x454826(0x35b)](_0x3d0c7d,_0x1b32be,_0x23f150),_0x493684=new A()['invertOp'](_0x3d0c7d['getSnapshot'](),_0x5bb5ae),_0x1ac0d9={'unitId':_0x1187c1,'op':_0x5bb5ae},_0x37af81={'unitId':_0x1187c1,'op':_0x493684};return _0x46cab2[_0x454826(0x36e)](Y['id'],_0x1ac0d9)?(_0x55477d[_0x454826(0x3ac)](_0x1187c1),_0x3c8c32['pushUndoRedo']({'unitID':_0x1187c1,'undoMutations':[{'id':Y['id'],'params':_0x37af81}],'redoMutations':[{'id':Y['id'],'params':_0x1ac0d9}]}),!0x0):!0x1;}},er={'id':'base.command.create-base-table','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x39c615,_0x24c59f)=>{const _0x320ebf=_0x396ed2;if(!_0x24c59f)return!0x1;let _0x352fe6=_0x39c615[_0x320ebf(0x2bb)](_0x726745),{unitId:_0x28f26f,table:_0x20704c,index:_0xc4de05}=_0x24c59f,_0x46e39=_0x352fe6[_0x320ebf(0x248)](_0x28f26f,_0x545be5[_0x320ebf(0x174)]);if(!_0x46e39||_0x46e39[_0x320ebf(0x2d9)]()[_0x320ebf(0x404)][_0x20704c['id']])return!0x1;let _0x16e384=_0x39c615[_0x320ebf(0x2bb)](_0x40924c),_0x3893ee=_0x39c615[_0x320ebf(0x2bb)](_0xf32056),_0x29eb20=_0x46e39['getSnapshot'](),_0x45103e={..._0x20704c,'name':_0x46e39[_0x320ebf(0x29d)](_0x20704c[_0x320ebf(0x28c)])},_0x11a4e5=new R()['createTable'](_0x29eb20,_0x45103e,_0xc4de05),_0x43c0ba=new A()[_0x320ebf(0x35e)](_0x29eb20,_0x11a4e5),_0x424636={'unitId':_0x28f26f,'op':_0x11a4e5},_0x2a8782={'unitId':_0x28f26f,'op':_0x43c0ba};return _0x16e384['syncExecuteCommand'](Y['id'],_0x424636)?(_0x352fe6[_0x320ebf(0x3ac)](_0x28f26f),_0x3893ee[_0x320ebf(0x33c)]({'unitID':_0x28f26f,'undoMutations':[{'id':Y['id'],'params':_0x2a8782}],'redoMutations':[{'id':Y['id'],'params':_0x424636}]}),!0x0):!0x1;}};function tr(_0x63eb0d,_0x573f3e,_0x3f6ee4=[]){const _0x3c4c97=_0x396ed2;let _0x549a86=new Set([...Object[_0x3c4c97(0x33e)](_0x63eb0d[_0x3c4c97(0x2f3)])[_0x3c4c97(0x24f)](_0xd73c06=>_0xd73c06)['map'](_0x3f6a12=>_0x3f6a12[_0x3c4c97(0x28c)]),..._0x3f6ee4[_0x3c4c97(0x22a)](_0x1b94b3=>_0x1b94b3['name'])]);if(!_0x549a86[_0x3c4c97(0x1c2)](_0x573f3e))return _0x573f3e;let _0x4c83f1=0x2;for(;_0x549a86[_0x3c4c97(0x1c2)](_0x573f3e+'\x20'+_0x4c83f1);)_0x4c83f1++;return _0x573f3e+'\x20'+_0x4c83f1;}function nr(_0x341a5d,_0x2a8837){const _0x31c029=_0x396ed2;if(!_0x341a5d||!_0x2a8837[_0x31c029(0x1dd)])return;let _0x262f36=[..._0x341a5d];return _0x2a8837['forEach'](_0x30eb84=>{const _0x40565e=_0x31c029;_0x262f36[_0x40565e(0x323)](_0x30eb84)||_0x262f36[_0x40565e(0x258)](_0x30eb84);}),_0x262f36;}const rr={'options':[{'id':_0x396ed2(0x206),'name':_0x396ed2(0x2e8),'color':_0x396ed2(0x3b4)},{'id':_0x396ed2(0x2ed),'name':_0x396ed2(0x181),'color':_0x396ed2(0x224)},{'id':_0x396ed2(0x2bf),'name':'Done','color':_0x396ed2(0x218)}]},ir={'locale':'en-US','pattern':_0x396ed2(0x360),'includeTime':!0x1,'hourCycle':_0x396ed2(0x239),'defaultMode':_0x396ed2(0x2b6)};function ar(_0x2ab5b5,_0x18b3d2,_0x222a95,_0x39af9d){const _0x33f07d=_0x396ed2;var _0x55895c;let _0x1bb6b2=new R(),_0x5a43bb=_0x2ab5b5[_0x33f07d(0x404)][_0x18b3d2];if(_0x5a43bb&&_0x222a95[_0x33f07d(0x415)]===_0x33f07d(0x36a)){var _0x5f47b5;let _0x67abc0=sr(_0x5a43bb,_0x222a95),_0x188ec7=_0x67abc0[_0x33f07d(0x3cd)]?{..._0x222a95,'config':_0x67abc0[_0x33f07d(0x285)],'fieldOrder':(_0x5f47b5=_0x67abc0[_0x33f07d(0x201)])==null?_0x222a95[_0x33f07d(0x201)]:_0x5f47b5}:_0x222a95;return L([..._0x67abc0[_0x33f07d(0x2f3)][_0x33f07d(0x22a)](_0x5aacda=>_0x1bb6b2['createField'](_0x2ab5b5,_0x18b3d2,{'field':_0x5aacda})),_0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x188ec7,_0x39af9d)]);}if(!_0x5a43bb||_0x222a95[_0x33f07d(0x415)]!=='calendar'&&_0x222a95[_0x33f07d(0x415)]!==_0x33f07d(0x2cc))return _0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x222a95,_0x39af9d);let _0x58db56=or(_0x5a43bb,_0x222a95),_0x1deac9=_0x58db56['changed']?{..._0x222a95,'config':_0x58db56[_0x33f07d(0x285)],'fieldOrder':(_0x55895c=_0x58db56[_0x33f07d(0x201)])==null?_0x222a95['fieldOrder']:_0x55895c}:_0x222a95;return _0x222a95[_0x33f07d(0x415)]===_0x33f07d(0x2cc)&&ur(_0x222a95)&&(_0x1deac9=dr(_0x5a43bb,_0x1deac9,_0x58db56[_0x33f07d(0x2f3)])),L([..._0x58db56[_0x33f07d(0x2f3)][_0x33f07d(0x22a)](_0x1f4275=>_0x1bb6b2[_0x33f07d(0x3c7)](_0x2ab5b5,_0x18b3d2,{'field':_0x1f4275})),_0x1bb6b2[_0x33f07d(0x1d8)](_0x2ab5b5,_0x18b3d2,_0x1deac9,_0x39af9d)]);}function or(_0x2bb978,_0x55fcab,_0xa23dad=!0x1){const _0x345c36=_0x396ed2;var _0x4c160b,_0x22f208,_0x5000da,_0x4c5b17;let _0x5176c4=_0x2bb978[_0x345c36(0x201)][_0x345c36(0x24f)](_0x4533aa=>pr(_0x2bb978,_0x4533aa)),_0x40a6df=[],_0x4c639b={...(_0x4c160b=_0x55fcab[_0x345c36(0x285)])==null?{}:_0x4c160b},_0xe6ddaf=typeof _0x4c639b[_0x345c36(0x31a)]==_0x345c36(0x247)&&pr(_0x2bb978,_0x4c639b[_0x345c36(0x31a)])?_0x4c639b[_0x345c36(0x31a)]:_0x5176c4[0x0],_0x1e1771=typeof _0x4c639b[_0x345c36(0x1b0)]==_0x345c36(0x247)&&pr(_0x2bb978,_0x4c639b['endDateFieldId'])&&_0x4c639b[_0x345c36(0x1b0)]!==_0xe6ddaf?_0x4c639b[_0x345c36(0x1b0)]:_0x5176c4[_0x345c36(0x289)](_0x5b7f26=>_0x5b7f26!==_0xe6ddaf);if(!_0xe6ddaf){let _0x24a398=mr(_0x2bb978,_0x40a6df,_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x2cc)?_0x345c36(0x2df):_0x345c36(0x225));_0x40a6df[_0x345c36(0x258)](_0x24a398),_0xe6ddaf=_0x24a398['id'];}if((_0x55fcab['type']===_0x345c36(0x2cc)||_0xa23dad)&&!_0x1e1771){let _0xb6a114=mr(_0x2bb978,_0x40a6df,'End\x20date');_0x40a6df['push'](_0xb6a114),_0x1e1771=_0xb6a114['id'];}if(_0x55fcab['type']===_0x345c36(0x31e)&&!_0x1e1771&&delete _0x4c639b[_0x345c36(0x1b0)],_0x4c639b[_0x345c36(0x31a)]=_0xe6ddaf,_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x31e)&&_0x1e1771&&(_0x4c639b['endDateFieldId']=_0x1e1771),_0x55fcab[_0x345c36(0x415)]===_0x345c36(0x2cc)){var _0x297c22;_0x4c639b[_0x345c36(0x1b0)]=(_0x297c22=_0x1e1771)==null?_0xe6ddaf:_0x297c22;}let _0x10c5b3=nr(_0x55fcab[_0x345c36(0x201)],_0x40a6df[_0x345c36(0x22a)](_0x68fcd5=>_0x68fcd5['id']));return{'changed':_0x40a6df['length']>0x0||_0x4c639b[_0x345c36(0x31a)]!==((_0x22f208=_0x55fcab[_0x345c36(0x285)])==null?void 0x0:_0x22f208[_0x345c36(0x31a)])||_0x4c639b[_0x345c36(0x1b0)]!==((_0x5000da=_0x55fcab[_0x345c36(0x285)])==null?void 0x0:_0x5000da[_0x345c36(0x1b0)])||!!(_0x10c5b3&&!_0x32f40f['diffValue'](_0x10c5b3,(_0x4c5b17=_0x55fcab['fieldOrder'])==null?[]:_0x4c5b17)),'fields':_0x40a6df,'config':_0x4c639b,'fieldOrder':_0x10c5b3};}function sr(_0xe2b70e,_0x5c5f1c){const _0x1c3467=_0x396ed2;var _0x6136c7,_0x52aa49,_0x2a1523;let _0x886e98=[],_0x4b1a2e={...(_0x6136c7=_0x5c5f1c['config'])==null?{}:_0x6136c7},_0x32de70=typeof _0x4b1a2e['groupFieldId']==_0x1c3467(0x247)&&cr(_0xe2b70e,_0x4b1a2e[_0x1c3467(0x1b1)])?_0x4b1a2e[_0x1c3467(0x1b1)]:_0xe2b70e[_0x1c3467(0x201)][_0x1c3467(0x289)](_0x2b2e1d=>cr(_0xe2b70e,_0x2b2e1d));if(!_0x32de70){let _0x557345=lr(_0xe2b70e,_0x886e98);_0x886e98[_0x1c3467(0x258)](_0x557345),_0x32de70=_0x557345['id'];}_0x4b1a2e[_0x1c3467(0x1b1)]=_0x32de70;let _0x1f9c01=nr(_0x5c5f1c[_0x1c3467(0x201)],_0x886e98[_0x1c3467(0x22a)](_0x2f1126=>_0x2f1126['id']));return{'changed':_0x886e98['length']>0x0||_0x4b1a2e[_0x1c3467(0x1b1)]!==((_0x52aa49=_0x5c5f1c['config'])==null?void 0x0:_0x52aa49[_0x1c3467(0x1b1)])||!!(_0x1f9c01&&!_0x32f40f[_0x1c3467(0x416)](_0x1f9c01,(_0x2a1523=_0x5c5f1c[_0x1c3467(0x201)])==null?[]:_0x2a1523)),'fields':_0x886e98,'config':_0x4b1a2e,'fieldOrder':_0x1f9c01};}function cr(_0xd256b1,_0x3cfe5e){const _0x1e8b59=_0x396ed2;let _0x43ed46=_0x3cfe5e?_0xd256b1[_0x1e8b59(0x2f3)][_0x3cfe5e]:null;return _0x43ed46?[_0x1e4a6b[_0x1e8b59(0x165)],_0x1e4a6b['MultiSelect'],_0x1e4a6b[_0x1e8b59(0x353)],_0x1e4a6b[_0x1e8b59(0x435)],_0x1e4a6b[_0x1e8b59(0x3f7)],_0x1e4a6b[_0x1e8b59(0x1cb)]][_0x1e8b59(0x323)](_0x43ed46[_0x1e8b59(0x415)]):!0x1;}function lr(_0x5d1f02,_0x44b77c){const _0xb31868=_0x396ed2;return{'id':_0xb31868(0x187)+_0x42f468(0x8),'name':tr(_0x5d1f02,'Status',_0x44b77c),'type':_0x1e4a6b[_0xb31868(0x165)],'config':_0x32f40f[_0xb31868(0x28a)](rr)};}function ur(_0x58c100){const _0x31e25a=_0x396ed2;var _0x4d97ce,_0x1e9142;return Object[_0x31e25a(0x234)]((_0x4d97ce=_0x58c100[_0x31e25a(0x285)])==null?{}:_0x4d97ce)[_0x31e25a(0x1dd)]===0x0&&Object['keys']((_0x1e9142=_0x58c100[_0x31e25a(0x193)])==null?{}:_0x1e9142)['length']===0x0;}function dr(_0x3d5e70,_0x28bd73,_0x3c4f49){const _0x123078=_0x396ed2;var _0x4991c6;let _0x1fbd77={...(_0x4991c6=_0x28bd73[_0x123078(0x285)])==null?{}:_0x4991c6},_0x33203e=_0x3c4f49[_0x123078(0x22a)](_0x10f921=>_0x10f921['id']),_0x183c5b=[..._0x3d5e70[_0x123078(0x201)],..._0x33203e],_0x51aff7=typeof _0x1fbd77['titleFieldId']==_0x123078(0x247)&&fr(_0x3d5e70,_0x3c4f49,_0x1fbd77[_0x123078(0x2bd)])?_0x1fbd77[_0x123078(0x2bd)]:_0x3d5e70[_0x123078(0x243)],_0x3bbbc2=typeof _0x1fbd77[_0x123078(0x31a)]==_0x123078(0x247)?_0x1fbd77[_0x123078(0x31a)]:'',_0x2b6e68=typeof _0x1fbd77['endDateFieldId']==_0x123078(0x247)?_0x1fbd77[_0x123078(0x1b0)]:_0x3bbbc2,_0x268852=new Set([_0x51aff7,_0x3bbbc2,_0x2b6e68][_0x123078(0x24f)](_0x4fd1bb=>_0x4fd1bb&&fr(_0x3d5e70,_0x3c4f49,_0x4fd1bb))),_0x31c6e9=Object[_0x123078(0x185)](_0x183c5b[_0x123078(0x338)](_0x5f3e15=>_0x268852['has'](_0x5f3e15)||!fr(_0x3d5e70,_0x3c4f49,_0x5f3e15)?[]:[[_0x5f3e15,{'hidden':!0x0}]]));return{..._0x28bd73,'config':{..._0x1fbd77,'titleFieldId':_0x51aff7},'fieldSettings':_0x31c6e9};}function fr(_0x1af924,_0x4c2652,_0x1d39b5){const _0x4199a6=_0x396ed2;var _0x4ed192;return!!((_0x4ed192=_0x1af924[_0x4199a6(0x2f3)][_0x1d39b5])==null?_0x4c2652[_0x4199a6(0x289)](_0x2f0566=>_0x2f0566['id']===_0x1d39b5):_0x4ed192)&&!0x0;}function pr(_0x171d8c,_0x4b40ef){const _0x46f7a8=_0x396ed2;let _0x1955b4=_0x4b40ef?_0x171d8c[_0x46f7a8(0x2f3)][_0x4b40ef]:null;return!!_0x1955b4&&_0x1955b4['type']===_0x1e4a6b[_0x46f7a8(0x225)]&&_0x1955b4[_0x46f7a8(0x163)]!==!0x0&&_0x1955b4[_0x46f7a8(0x2e9)]!==!0x0;}function mr(_0x107df3,_0xd12dcd,_0x3d524d){const _0x156640=_0x396ed2;let _0x51fb09=new Set([...Object['keys'](_0x107df3['fields']),..._0xd12dcd['map'](_0x359277=>_0x359277['id'])]),_0x155beb='fld-'+_0x42f468(0x8);for(;_0x51fb09['has'](_0x155beb);)_0x155beb='fld-'+_0x42f468(0x8);return{'id':_0x155beb,'name':tr(_0x107df3,_0x3d524d,_0xd12dcd),'type':_0x1e4a6b[_0x156640(0x225)],'config':{...ir}};}const hr={'id':_0x396ed2(0x36c),'type':_0x533ada['COMMAND'],'handler':(_0x594535,_0x644cb9)=>{const _0x2da936=_0x396ed2;if(!_0x644cb9)return!0x1;let _0xf7f3cb=_0x594535['get'](_0x726745),{unitId:_0x4c94d9,tableId:_0x1a054f,view:_0x4df265,index:_0x2854ac}=_0x644cb9,_0x782c33=_0xf7f3cb['getUnit'](_0x4c94d9,_0x545be5['UNIVER_BASE']);if(!_0x782c33||!X(_0x782c33,_0x1a054f)||_0x782c33[_0x2da936(0x2d9)]()[_0x2da936(0x404)][_0x1a054f][_0x2da936(0x173)][_0x4df265['id']])return!0x1;let _0x498afe=_0x594535['get'](_0x40924c),_0x4810d4=_0x594535[_0x2da936(0x2bb)](_0xf32056),_0x126cab=_0x782c33['getSnapshot'](),_0x235020=ar(_0x126cab,_0x1a054f,_0x4df265,_0x2854ac),_0x38b0e8=new A()['invertOp'](_0x126cab,_0x235020),_0x37e9f9={'unitId':_0x4c94d9,'op':_0x235020},_0x20f34a={'unitId':_0x4c94d9,'op':_0x38b0e8};return _0x498afe['syncExecuteCommand'](Y['id'],_0x37e9f9)?(_0xf7f3cb['focusUnit'](_0x4c94d9),_0x4810d4['pushUndoRedo']({'unitID':_0x4c94d9,'undoMutations':[{'id':Y['id'],'params':_0x20f34a}],'redoMutations':[{'id':Y['id'],'params':_0x37e9f9}]}),!0x0):!0x1;}},gr={'id':_0x396ed2(0x22c),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x34fef2,_0x35212f){const _0x4d8ace=_0x396ed2;if(!_0x35212f)return!0x1;let _0x14ed11=_0x34fef2[_0x4d8ace(0x2bb)](_0x726745),{unitId:_0x48b79b,tableId:_0x54c049,fieldId:_0x5ecc88}=_0x35212f,_0x4e6c7a=_0x14ed11[_0x4d8ace(0x248)](_0x48b79b,_0x545be5[_0x4d8ace(0x174)]);if(!_0x4e6c7a)return!0x1;let _0x36c26b=_0x4e6c7a[_0x4d8ace(0x2d9)](),_0x1c3ce6=_0x36c26b[_0x4d8ace(0x404)][_0x54c049];if(!X(_0x4e6c7a,_0x54c049,{'fieldIds':[_0x5ecc88]})||_0x1c3ce6['primaryFieldId']===_0x5ecc88)return!0x1;let _0x126de2=_0x34fef2[_0x4d8ace(0x2bb)](_0x40924c),_0x2bd5d4=_0x34fef2['get'](_0xf32056),_0x3ea340=new R()[_0x4d8ace(0x28d)](_0x36c26b,_0x54c049,_0x5ecc88),_0x5132f8=new A()[_0x4d8ace(0x35e)](_0x36c26b,_0x3ea340),_0x2a0dd9={'unitId':_0x48b79b,'op':_0x3ea340},_0x1df4b4={'unitId':_0x48b79b,'op':_0x5132f8};return _0x126de2['syncExecuteCommand'](Y['id'],_0x2a0dd9)?(_0x14ed11[_0x4d8ace(0x3ac)](_0x48b79b),_0x2bd5d4[_0x4d8ace(0x33c)]({'unitID':_0x48b79b,'undoMutations':[{'id':Y['id'],'params':_0x1df4b4}],'redoMutations':[{'id':Y['id'],'params':_0x2a0dd9}]}),!0x0):!0x1;}},_r={'id':_0x396ed2(0x17c),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x49a478,_0x4f8e9f)=>{const _0x108424=_0x396ed2;if(!_0x4f8e9f)return!0x1;let _0xf20082=_0x49a478[_0x108424(0x2bb)](_0x726745),{unitId:_0x2fbff0,tableId:_0x2b7225,recordId:_0xcf9254}=_0x4f8e9f,_0x186752=_0xf20082[_0x108424(0x248)](_0x2fbff0,_0x545be5['UNIVER_BASE']);if(!_0x186752||!X(_0x186752,_0x2b7225,{'recordIds':[_0xcf9254]}))return!0x1;let _0x1bf7de=_0x49a478[_0x108424(0x2bb)](_0x40924c),_0x5c6730=_0x49a478['get'](_0xf32056),_0x4604e1=_0x186752[_0x108424(0x2d9)](),_0x500a95=new R()['deleteRecord'](_0x4604e1,_0x2b7225,_0xcf9254),_0x513fe0=new A()[_0x108424(0x35e)](_0x4604e1,_0x500a95),_0x7bfe18={'unitId':_0x2fbff0,'op':_0x500a95},_0x174cbf={'unitId':_0x2fbff0,'op':_0x513fe0};return _0x1bf7de[_0x108424(0x36e)](Y['id'],_0x7bfe18)?(_0xf20082[_0x108424(0x3ac)](_0x2fbff0),_0x5c6730[_0x108424(0x33c)]({'unitID':_0x2fbff0,'undoMutations':[{'id':Y['id'],'params':_0x174cbf}],'redoMutations':[{'id':Y['id'],'params':_0x7bfe18}]}),!0x0):!0x1;}},vr={'id':_0x396ed2(0x391),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3e73c3,_0x39b8e2)=>{const _0x1bd096=_0x396ed2;if(!_0x39b8e2)return!0x1;let _0x4a7a50=_0x3e73c3[_0x1bd096(0x2bb)](_0x726745),{unitId:_0x514edf,tableId:_0x3b7b5f}=_0x39b8e2,_0x3d7312=_0x4a7a50[_0x1bd096(0x248)](_0x514edf,_0x545be5[_0x1bd096(0x174)]);if(!_0x3d7312||!X(_0x3d7312,_0x3b7b5f))return!0x1;let _0x373074=_0x3e73c3[_0x1bd096(0x2bb)](_0x40924c),_0x813ffd=_0x3e73c3[_0x1bd096(0x2bb)](_0xf32056),_0x2ffad8=_0x3d7312[_0x1bd096(0x2d9)](),_0x37d735=new R()[_0x1bd096(0x2e5)](_0x2ffad8,_0x3b7b5f),_0x5c3a85=new A()['invertOp'](_0x2ffad8,_0x37d735),_0x3095ec={'unitId':_0x514edf,'op':_0x37d735},_0x41f08d={'unitId':_0x514edf,'op':_0x5c3a85};return _0x373074[_0x1bd096(0x36e)](Y['id'],_0x3095ec)?(_0x4a7a50[_0x1bd096(0x3ac)](_0x514edf),_0x813ffd[_0x1bd096(0x33c)]({'unitID':_0x514edf,'undoMutations':[{'id':Y['id'],'params':_0x41f08d}],'redoMutations':[{'id':Y['id'],'params':_0x3095ec}]}),!0x0):!0x1;}},yr={'id':'base.command.delete-base-view','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x5abd89,_0xeb91f0)=>{const _0xc16671=_0x396ed2;if(!_0xeb91f0)return!0x1;let _0x407008=_0x5abd89[_0xc16671(0x2bb)](_0x726745),{unitId:_0x3fdbdf,tableId:_0x2de0c3,viewId:_0x6c57f6}=_0xeb91f0,_0x18356d=_0x407008[_0xc16671(0x248)](_0x3fdbdf,_0x545be5[_0xc16671(0x174)]);if(!_0x18356d||!X(_0x18356d,_0x2de0c3,{'viewIds':[_0x6c57f6]}))return!0x1;let _0x398076=_0x5abd89[_0xc16671(0x2bb)](_0x40924c),_0xcbb83a=_0x5abd89[_0xc16671(0x2bb)](_0xf32056),_0x52a98d=_0x18356d[_0xc16671(0x2d9)](),_0x2ecc28=new R()['deleteView'](_0x52a98d,_0x2de0c3,_0x6c57f6),_0x1624d9=new A()['invertOp'](_0x52a98d,_0x2ecc28),_0x8116b1={'unitId':_0x3fdbdf,'op':_0x2ecc28},_0x18ad35={'unitId':_0x3fdbdf,'op':_0x1624d9};return _0x398076[_0xc16671(0x36e)](Y['id'],_0x8116b1)?(_0x407008[_0xc16671(0x3ac)](_0x3fdbdf),_0xcbb83a[_0xc16671(0x33c)]({'unitID':_0x3fdbdf,'undoMutations':[{'id':Y['id'],'params':_0x18ad35}],'redoMutations':[{'id':Y['id'],'params':_0x8116b1}]}),!0x0):!0x1;}},br={'id':_0x396ed2(0x216),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0xe4ab04,_0x281106)=>{const _0x20b774=_0x396ed2;if(!_0x281106)return!0x1;let _0xc1296b=_0xe4ab04[_0x20b774(0x2bb)](_0x726745),{unitId:_0x3f3918,tableId:_0x56ce52,sourceFieldId:_0x2df740,field:_0x1d1e64,index:_0x3e3576,viewIndexes:_0x734384}=_0x281106,_0x4d758c=_0xc1296b[_0x20b774(0x248)](_0x3f3918,_0x545be5[_0x20b774(0x174)]);if(!_0x4d758c||!X(_0x4d758c,_0x56ce52,{'fieldIds':[_0x2df740]})||_0x4d758c[_0x20b774(0x2d9)]()[_0x20b774(0x404)][_0x56ce52][_0x20b774(0x2f3)][_0x1d1e64['id']])return!0x1;let _0x54a104=_0xe4ab04[_0x20b774(0x2bb)](_0x40924c),_0x57fb1f=_0xe4ab04['get'](_0xf32056),_0x17586d=_0x4d758c[_0x20b774(0x2d9)](),_0x186ce4=new R()[_0x20b774(0x396)](_0x17586d,_0x56ce52,_0x2df740,{'field':_0x1d1e64,'index':_0x3e3576,'viewIndexes':_0x734384}),_0x504eb7=new A()[_0x20b774(0x35e)](_0x17586d,_0x186ce4),_0x4b0dd7={'unitId':_0x3f3918,'op':_0x186ce4},_0x5d1023={'unitId':_0x3f3918,'op':_0x504eb7};return _0x54a104[_0x20b774(0x36e)](Y['id'],_0x4b0dd7)?(_0xc1296b[_0x20b774(0x3ac)](_0x3f3918),_0x57fb1f[_0x20b774(0x33c)]({'unitID':_0x3f3918,'undoMutations':[{'id':Y['id'],'params':_0x5d1023}],'redoMutations':[{'id':Y['id'],'params':_0x4b0dd7}]}),!0x0):!0x1;}},xr={'id':_0x396ed2(0x217),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x4a29e3,_0x72dde5)=>{const _0x9d7509=_0x396ed2;if(!_0x72dde5)return!0x1;let _0x2efe06=_0x4a29e3[_0x9d7509(0x2bb)](_0x726745),{unitId:_0xde936e,tableId:_0x2e80e6,sourceRecordId:_0x30f81a,record:_0x27c34c}=_0x72dde5,_0xa64579=_0x2efe06['getUnit'](_0xde936e,_0x545be5[_0x9d7509(0x174)]);if(!_0xa64579||!X(_0xa64579,_0x2e80e6,{'recordIds':[_0x30f81a]})||_0xa64579[_0x9d7509(0x2d9)]()[_0x9d7509(0x404)][_0x2e80e6][_0x9d7509(0x1ce)][_0x27c34c['id']])return!0x1;let _0x39da91=_0x4a29e3[_0x9d7509(0x2bb)](_0x40924c),_0x364f22=_0x4a29e3[_0x9d7509(0x2bb)](_0xf32056),_0x359bd9=_0xa64579[_0x9d7509(0x2d9)](),_0x4344e7=new R()['duplicateRecord'](_0x359bd9,_0x2e80e6,_0x30f81a,_0x27c34c),_0x3199a4=new A()[_0x9d7509(0x35e)](_0x359bd9,_0x4344e7),_0x44a30b={'unitId':_0xde936e,'op':_0x4344e7},_0x21a118={'unitId':_0xde936e,'op':_0x3199a4};return _0x39da91[_0x9d7509(0x36e)](Y['id'],_0x44a30b)?(_0x2efe06[_0x9d7509(0x3ac)](_0xde936e),_0x364f22[_0x9d7509(0x33c)]({'unitID':_0xde936e,'undoMutations':[{'id':Y['id'],'params':_0x21a118}],'redoMutations':[{'id':Y['id'],'params':_0x44a30b}]}),!0x0):!0x1;}},Sr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x533ada['COMMAND'],'handler'(_0x27d76e,_0xda145d){const _0x508bc2=_0x396ed2;if(!_0xda145d)return!0x1;let _0x121105=_0x27d76e[_0x508bc2(0x2bb)](_0x726745),{unitId:_0x24cbb1,tableId:_0x75df30,viewId:_0x89cf98,ensureEndDateField:_0xc166f}=_0xda145d,_0x2b3213=_0x121105[_0x508bc2(0x248)](_0x24cbb1,_0x545be5[_0x508bc2(0x174)]);if(!_0x2b3213||!X(_0x2b3213,_0x75df30,{'viewIds':[_0x89cf98]}))return!0x1;let _0x5e845e=_0x2b3213['getSnapshot'](),_0x18473c=_0x5e845e[_0x508bc2(0x404)][_0x75df30],_0x13ef1a=_0x18473c==null?void 0x0:_0x18473c['views'][_0x89cf98];if(!_0x18473c||!_0x13ef1a||_0x13ef1a[_0x508bc2(0x415)]!==_0x508bc2(0x31e)&&_0x13ef1a['type']!=='gantt')return!0x1;let _0x4fab0b=or(_0x18473c,_0x13ef1a,_0xc166f===!0x0);if(!_0x4fab0b[_0x508bc2(0x3cd)])return!0x1;let _0x4634f6=_0x27d76e[_0x508bc2(0x2bb)](_0x40924c),_0x3acb7f=_0x27d76e['get'](_0xf32056),_0x22d50c=new R(),_0x3e8007=[..._0x4fab0b[_0x508bc2(0x2f3)]['map'](_0x17d163=>_0x22d50c[_0x508bc2(0x3c7)](_0x5e845e,_0xda145d[_0x508bc2(0x2b3)],{'field':_0x17d163})),Cr([...wr(_0xda145d[_0x508bc2(0x2b3)],_0xda145d[_0x508bc2(0x17a)]),_0x508bc2(0x285)],_0x13ef1a[_0x508bc2(0x285)],_0x4fab0b[_0x508bc2(0x285)])];_0x4fab0b['fieldOrder']&&_0x3e8007['push'](Cr([...wr(_0xda145d[_0x508bc2(0x2b3)],_0xda145d[_0x508bc2(0x17a)]),_0x508bc2(0x201)],_0x13ef1a[_0x508bc2(0x201)],_0x4fab0b['fieldOrder']));let _0x516b70=L(_0x3e8007),_0x157e71=new A()[_0x508bc2(0x35e)](_0x5e845e,_0x516b70),_0x2b4e65={'unitId':_0x24cbb1,'op':_0x516b70},_0xe2969a={'unitId':_0x24cbb1,'op':_0x157e71};return _0x4634f6[_0x508bc2(0x36e)](Y['id'],_0x2b4e65)?(_0x121105[_0x508bc2(0x3ac)](_0x24cbb1),_0x3acb7f[_0x508bc2(0x33c)]({'unitID':_0x24cbb1,'undoMutations':[{'id':Y['id'],'params':_0xe2969a}],'redoMutations':[{'id':Y['id'],'params':_0x2b4e65}]}),!0x0):!0x1;}};function Cr(_0x13d332,_0x36e795,_0x3f61d4){const _0x2ef8e4=_0x396ed2;return _0x36e795===void 0x0?_0x6fccb6['insertOp'](_0x13d332,_0x3f61d4):_0x6fccb6[_0x2ef8e4(0x1c7)](_0x13d332,_0x36e795,_0x3f61d4);}function wr(_0x172f9b,_0x3758a6){const _0x1afb23=_0x396ed2;return[_0x1afb23(0x404),_0x172f9b,_0x1afb23(0x173),_0x3758a6];}const Tr={'id':_0x396ed2(0x3ad),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3d9f97,_0x24a62d)=>{const _0x4a6a1c=_0x396ed2;var _0x22b315;if(!_0x24a62d)return!0x1;let _0x565bec=_0x3d9f97['get'](_0x726745),{unitId:_0xf45ff2,tableId:_0x420332,fieldId:_0xa26752,target:_0x4922ec}=_0x24a62d,_0x312e8c=_0x565bec['getUnit'](_0xf45ff2,_0x545be5[_0x4a6a1c(0x174)]),_0x2f22c1=(_0x22b315=_0x4922ec[_0x4a6a1c(0x412)])==null?_0x4922ec['afterFieldId']:_0x22b315;if(!_0x312e8c||!!_0x4922ec['beforeFieldId']==!!_0x4922ec[_0x4a6a1c(0x312)]||!_0x2f22c1||_0x2f22c1===_0xa26752||!X(_0x312e8c,_0x420332,{'fieldIds':[_0xa26752,_0x2f22c1]}))return!0x1;let _0x57528b=_0x3d9f97[_0x4a6a1c(0x2bb)](_0x40924c),_0x45d4b8=_0x3d9f97[_0x4a6a1c(0x2bb)](_0xf32056),_0x507504=_0x312e8c[_0x4a6a1c(0x2d9)](),_0x3dbbf3=new R()['moveField'](_0x507504,_0x420332,_0xa26752,_0x4922ec),_0x41c19a=new A()[_0x4a6a1c(0x35e)](_0x507504,_0x3dbbf3),_0xb70fb0={'unitId':_0xf45ff2,'op':_0x3dbbf3},_0x1a5d30={'unitId':_0xf45ff2,'op':_0x41c19a};return _0x57528b[_0x4a6a1c(0x36e)](Y['id'],_0xb70fb0)?(_0x565bec[_0x4a6a1c(0x3ac)](_0xf45ff2),_0x45d4b8[_0x4a6a1c(0x33c)]({'unitID':_0xf45ff2,'undoMutations':[{'id':Y['id'],'params':_0x1a5d30}],'redoMutations':[{'id':Y['id'],'params':_0xb70fb0}]}),!0x0):!0x1;}},Er={'id':_0x396ed2(0x306),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x3c6751,_0x51b9fa)=>{const _0x368624=_0x396ed2;var _0x35e715;if(!_0x51b9fa)return!0x1;let _0xa4bd42=_0x3c6751['get'](_0x726745),{unitId:_0x4b618c,tableId:_0x5c489e,viewId:_0x2da52f,target:_0x3bbb41}=_0x51b9fa,_0x19127c=_0xa4bd42[_0x368624(0x248)](_0x4b618c,_0x545be5[_0x368624(0x174)]),_0x1267dd=(_0x35e715=_0x3bbb41['beforeViewId'])==null?_0x3bbb41[_0x368624(0x1de)]:_0x35e715;if(!_0x19127c||!_0x1267dd||_0x1267dd===_0x2da52f||!X(_0x19127c,_0x5c489e,{'viewIds':[_0x2da52f,_0x1267dd]}))return!0x1;let _0x3f3875=_0x3c6751[_0x368624(0x2bb)](_0x40924c),_0x3d9ac8=_0x3c6751['get'](_0xf32056),_0x3579ac=_0x19127c['getSnapshot'](),_0xa2b606=new R()[_0x368624(0x183)](_0x3579ac,_0x5c489e,_0x2da52f,_0x3bbb41),_0x2771c6=new A()[_0x368624(0x35e)](_0x3579ac,_0xa2b606),_0x431776={'unitId':_0x4b618c,'op':_0xa2b606},_0x58670b={'unitId':_0x4b618c,'op':_0x2771c6};return _0x3f3875[_0x368624(0x36e)](Y['id'],_0x431776)?(_0xa4bd42[_0x368624(0x3ac)](_0x4b618c),_0x3d9ac8[_0x368624(0x33c)]({'unitID':_0x4b618c,'undoMutations':[{'id':Y['id'],'params':_0x58670b}],'redoMutations':[{'id':Y['id'],'params':_0x431776}]}),!0x0):!0x1;}},Dr={'id':_0x396ed2(0x1db),'type':_0x533ada['COMMAND'],'handler':(_0x1079e3,_0x4e7b82)=>{const _0x356920=_0x396ed2;if(!_0x4e7b82)return!0x1;let _0x384d2f=_0x1079e3[_0x356920(0x2bb)](_0x726745),{unitId:_0x21d878,tableId:_0x1a05ec,name:_0x3f9385}=_0x4e7b82,_0x5d04c0=_0x384d2f['getUnit'](_0x21d878,_0x545be5[_0x356920(0x174)]);if(!_0x5d04c0||!X(_0x5d04c0,_0x1a05ec))return!0x1;let _0x5bb2ae=_0x1079e3['get'](_0x40924c),_0x217968=_0x1079e3['get'](_0xf32056),_0x1f97f5=_0x5d04c0[_0x356920(0x2d9)](),_0x2af88f=new R()['renameTable'](_0x1f97f5,_0x1a05ec,_0x3f9385),_0x47b8c6=new A()[_0x356920(0x35e)](_0x1f97f5,_0x2af88f),_0xdfafac={'unitId':_0x21d878,'op':_0x2af88f},_0x2e95a0={'unitId':_0x21d878,'op':_0x47b8c6};return _0x5bb2ae[_0x356920(0x36e)](Y['id'],_0xdfafac)?(_0x384d2f[_0x356920(0x3ac)](_0x21d878),_0x217968[_0x356920(0x33c)]({'unitID':_0x21d878,'undoMutations':[{'id':Y['id'],'params':_0x2e95a0}],'redoMutations':[{'id':Y['id'],'params':_0xdfafac}]}),!0x0):!0x1;}},Or={'id':_0x396ed2(0x20d),'type':_0x533ada['COMMAND'],'handler':(_0x27ce8f,_0x27c66a)=>{const _0x123153=_0x396ed2;if(!_0x27c66a)return!0x1;let _0x4068f3=_0x27ce8f['get'](_0x726745),{unitId:_0x1f7b80,tableId:_0x1332ed,viewId:_0x9ace7f,name:_0x5c4838}=_0x27c66a,_0x26acaa=_0x4068f3[_0x123153(0x248)](_0x1f7b80,_0x545be5[_0x123153(0x174)]);if(!_0x26acaa||!X(_0x26acaa,_0x1332ed,{'viewIds':[_0x9ace7f]}))return!0x1;let _0x3f04c5=_0x27ce8f[_0x123153(0x2bb)](_0x40924c),_0xe61d34=_0x27ce8f[_0x123153(0x2bb)](_0xf32056),_0xe81597=_0x26acaa[_0x123153(0x2d9)](),_0x3c5808=new R()[_0x123153(0x380)](_0xe81597,_0x1332ed,_0x9ace7f,_0x5c4838),_0x1994a7=new A()['invertOp'](_0xe81597,_0x3c5808),_0x37b4bf={'unitId':_0x1f7b80,'op':_0x3c5808},_0x52327e={'unitId':_0x1f7b80,'op':_0x1994a7};return _0x3f04c5[_0x123153(0x36e)](Y['id'],_0x37b4bf)?(_0x4068f3[_0x123153(0x3ac)](_0x1f7b80),_0xe61d34['pushUndoRedo']({'unitID':_0x1f7b80,'undoMutations':[{'id':Y['id'],'params':_0x52327e}],'redoMutations':[{'id':Y['id'],'params':_0x37b4bf}]}),!0x0):!0x1;}},kr={'id':_0x396ed2(0x3f9),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x41000f,_0x88aadc)=>{const _0x15eb4a=_0x396ed2;if(!_0x88aadc)return!0x1;let _0x108c6d=_0x41000f[_0x15eb4a(0x2bb)](_0x726745),{unitId:_0xd15587,tableId:_0x41d462,viewId:_0x405037,fieldId:_0x4cb6f7}=_0x88aadc,_0x1f4d3d=_0x108c6d[_0x15eb4a(0x248)](_0xd15587,_0x545be5[_0x15eb4a(0x174)]);if(!_0x1f4d3d||!X(_0x1f4d3d,_0x41d462,{'viewIds':[_0x405037],'fieldIds':[_0x4cb6f7]}))return!0x1;let _0xe81db5=_0x41000f['get'](_0x40924c),_0x4f2529=_0x41000f[_0x15eb4a(0x2bb)](_0xf32056),_0x46f127=_0x1f4d3d[_0x15eb4a(0x2d9)](),_0x5b18f1=new R()[_0x15eb4a(0x3ed)](_0x46f127,_0x41d462,_0x405037,{'groupFieldId':_0x4cb6f7}),_0x4c7045=new A()[_0x15eb4a(0x35e)](_0x46f127,_0x5b18f1),_0x1a48ca={'unitId':_0xd15587,'op':_0x5b18f1},_0x157a1d={'unitId':_0xd15587,'op':_0x4c7045};return _0xe81db5[_0x15eb4a(0x36e)](Y['id'],_0x1a48ca)?(_0x108c6d[_0x15eb4a(0x3ac)](_0xd15587),_0x4f2529[_0x15eb4a(0x33c)]({'unitID':_0xd15587,'undoMutations':[{'id':Y['id'],'params':_0x157a1d}],'redoMutations':[{'id':Y['id'],'params':_0x1a48ca}]}),!0x0):!0x1;}},Ar={'id':_0x396ed2(0x2d7),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x2a332a,_0x2100cc)=>{const _0x36beff=_0x396ed2;if(!_0x2100cc)return!0x1;let _0x47462a=_0x2a332a[_0x36beff(0x2bb)](_0x726745),_0x4a2fb6=_0x47462a[_0x36beff(0x248)](_0x2100cc['unitId'],_0x545be5[_0x36beff(0x174)]);if(!_0x4a2fb6)return!0x1;let _0x595ad0=_0x4a2fb6[_0x36beff(0x2d9)]()[_0x36beff(0x28c)];if(_0x595ad0===_0x2100cc['name'])return!0x0;let _0x2ba977=new R(),_0x17d2ca=new A(),_0x4d623b=[],_0x276d21=[],_0x40a224=[_0x4a2fb6,..._0x47462a['getAllUnitsForType'](_0x545be5[_0x36beff(0x174)])['filter'](_0x1a89b4=>_0x1a89b4['getUnitId']()!==_0x2100cc[_0x36beff(0x3dc)])];for(let _0x3f5891 of _0x40a224){let _0x28bdbb=_0x3f5891[_0x36beff(0x2d9)](),_0x5f0cd3=_0x3f5891===_0x4a2fb6?_0x2ba977[_0x36beff(0x3d5)](_0x28bdbb,_0x2100cc['name']):_0x2ba977['renameFormulaUnitReferences'](_0x28bdbb,_0x595ad0,_0x2100cc[_0x36beff(0x28c)]);_0x5f0cd3&&(_0x4d623b[_0x36beff(0x258)]({'id':Y['id'],'params':{'unitId':_0x3f5891[_0x36beff(0x2c2)](),'op':_0x5f0cd3,'trigger':Ar['id']}}),_0x276d21['unshift']({'id':Y['id'],'params':{'unitId':_0x3f5891[_0x36beff(0x2c2)](),'op':_0x17d2ca[_0x36beff(0x35e)](_0x28bdbb,_0x5f0cd3),'trigger':Ar['id']}}));}let _0xbbeda0=_0x2a332a['get'](_0x40924c),_0x1269d3=_0x2a332a[_0x36beff(0x2bb)](_0xf32056),_0x97b25a=_0x1269d3[_0x36beff(0x1d7)](_0x2100cc[_0x36beff(0x3dc)]);try{return _0x422ae7(_0x4d623b,_0xbbeda0)[_0x36beff(0x35c)]?(_0x47462a[_0x36beff(0x3ac)](_0x2100cc['unitId']),_0x1269d3[_0x36beff(0x33c)]({'unitID':_0x2100cc[_0x36beff(0x3dc)],'undoMutations':_0x276d21,'redoMutations':_0x4d623b}),!0x0):!0x1;}finally{_0x97b25a[_0x36beff(0x39b)]();}}},jr={'id':'base.command.set-base-range-values','type':_0x533ada['COMMAND'],'handler'(_0x3b9bc1,_0x2be08a){const _0x90450f=_0x396ed2;if(!_0x2be08a)return!0x1;let _0x24a219=_0x3b9bc1[_0x90450f(0x2bb)](_0x726745),{unitId:_0x5cef62,tableId:_0x10a185,patches:_0x197d3c}=_0x2be08a,_0x40212b=_0x24a219['getUnit'](_0x5cef62,_0x545be5[_0x90450f(0x174)]);if(!_0x40212b||!X(_0x40212b,_0x10a185))return!0x1;let _0xe6e451=_0x3b9bc1[_0x90450f(0x2bb)](_0x40924c),_0x3cdb6d=_0x3b9bc1[_0x90450f(0x2bb)](_0xf32056),_0x5d2b5b=_0x40212b[_0x90450f(0x2d9)](),_0x15c99d=E(_0x5d2b5b[_0x90450f(0x404)][_0x10a185]),_0x44bd19=_0x197d3c[_0x90450f(0x22a)](_0x896a7b=>{const _0x34eb14=_0x90450f;var _0x54a664;return _0x34eb14(0x348)in _0x896a7b?_0x896a7b['recordId']:(_0x54a664=_0x15c99d[_0x34eb14(0x2d2)])==null?void 0x0:_0x54a664[_0x896a7b['row']];})[_0x90450f(0x24f)](_0x33350c=>_0x33350c!=null),_0x5a6505=_0x197d3c[_0x90450f(0x22a)](_0x4eca1d=>{const _0x45f693=_0x90450f;var _0x474c7f;return _0x45f693(0x20f)in _0x4eca1d?_0x4eca1d[_0x45f693(0x20f)]:(_0x474c7f=_0x15c99d['colId'])==null?void 0x0:_0x474c7f[_0x4eca1d['col']];})[_0x90450f(0x24f)](_0x20131c=>_0x20131c!=null);if(_0x44bd19[_0x90450f(0x1dd)]!==_0x197d3c['length']||_0x5a6505[_0x90450f(0x1dd)]!==_0x197d3c[_0x90450f(0x1dd)]||!X(_0x40212b,_0x10a185,{'recordIds':_0x44bd19,'fieldIds':_0x5a6505}))return!0x1;let _0x154026=_0x197d3c[_0x90450f(0x338)](_0x556844=>{const _0x1c569a=_0x90450f;var _0x344a95,_0x1dcf0f;if('row'in _0x556844)return[_0x556844];let _0x5a73ce=(_0x344a95=_0x15c99d[_0x1c569a(0x2f0)])==null?void 0x0:_0x344a95[_0x556844[_0x1c569a(0x348)]],_0x5bacc5=(_0x1dcf0f=_0x15c99d['colIndex'])==null?void 0x0:_0x1dcf0f[_0x556844[_0x1c569a(0x20f)]];return _0x5a73ce==null||_0x5bacc5==null?[]:[{'row':_0x5a73ce,'col':_0x5bacc5,'value':_0x556844[_0x1c569a(0x34e)]}];}),_0x4fbbeb=new R()[_0x90450f(0x34d)](_0x5d2b5b,_0x10a185,_0x154026),_0x51894f=new A()[_0x90450f(0x35e)](_0x5d2b5b,_0x4fbbeb),_0x9a6718={'unitId':_0x5cef62,'op':_0x4fbbeb},_0x46bab1={'unitId':_0x5cef62,'op':_0x51894f};return _0xe6e451['syncExecuteCommand'](Y['id'],_0x9a6718)?(_0x24a219[_0x90450f(0x3ac)](_0x5cef62),_0x3cdb6d[_0x90450f(0x33c)]({'unitID':_0x5cef62,'undoMutations':[{'id':Y['id'],'params':_0x46bab1}],'redoMutations':[{'id':Y['id'],'params':_0x9a6718}]}),!0x0):!0x1;}},Mr={'id':_0x396ed2(0x2a4),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x479abb,_0x4720a4){const _0x9e8d06=_0x396ed2;if(!_0x4720a4)return!0x1;let _0x211531=_0x479abb[_0x9e8d06(0x2bb)](_0x726745),{unitId:_0x542526,tableId:_0x3b17e0,patches:_0x4d5808}=_0x4720a4,_0x50236e=_0x211531[_0x9e8d06(0x248)](_0x542526,_0x545be5[_0x9e8d06(0x174)]),_0x5bb10d=_0x4d5808[_0x9e8d06(0x22a)](_0x58580f=>_0x58580f[_0x9e8d06(0x348)]),_0x398bec=_0x4d5808[_0x9e8d06(0x338)](_0x58a1cc=>Object[_0x9e8d06(0x234)](_0x58a1cc[_0x9e8d06(0x33e)]));if(!_0x50236e||!X(_0x50236e,_0x3b17e0,{'recordIds':_0x5bb10d,'fieldIds':_0x398bec}))return!0x1;let _0x4fece3=_0x479abb[_0x9e8d06(0x2bb)](_0x40924c),_0x35fd69=_0x479abb['get'](_0xf32056),_0x2118ff=_0x479abb[_0x9e8d06(0x2bb)](W)[_0x9e8d06(0x1e7)](_0x50236e,_0x3b17e0,_0x4d5808),_0x133ced=new A()[_0x9e8d06(0x35e)](_0x50236e[_0x9e8d06(0x2d9)](),_0x2118ff),_0x11735b={'unitId':_0x542526,'op':_0x2118ff},_0x36699d={'unitId':_0x542526,'op':_0x133ced};return _0x4fece3[_0x9e8d06(0x36e)](Y['id'],_0x11735b)?(_0x211531[_0x9e8d06(0x3ac)](_0x542526),_0x35fd69[_0x9e8d06(0x33c)]({'unitID':_0x542526,'undoMutations':[{'id':Y['id'],'params':_0x36699d}],'redoMutations':[{'id':Y['id'],'params':_0x11735b}]}),!0x0):!0x1;}},Nr={'id':_0x396ed2(0x30a),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x311681,_0xeb999d)=>{const _0xba301f=_0x396ed2;var _0x3e46c5;if(!_0xeb999d)return!0x1;let _0x5271ab=_0x311681['get'](_0x726745),{unitId:_0x465a9d,tableId:_0x600c24,viewId:_0x87f3ef,fieldId:_0x69970b,target:_0x17cdd2}=_0xeb999d,_0x3b7621=_0x5271ab[_0xba301f(0x248)](_0x465a9d,_0x545be5[_0xba301f(0x174)]),_0x5a69b1=(_0x3e46c5=_0x17cdd2[_0xba301f(0x412)])==null?_0x17cdd2['afterFieldId']:_0x3e46c5;if(!_0x3b7621||!_0x5a69b1||_0x5a69b1===_0x69970b||!X(_0x3b7621,_0x600c24,{'viewIds':[_0x87f3ef],'fieldIds':[_0x69970b,_0x5a69b1]}))return!0x1;let _0x5c9337=_0x311681['get'](_0x40924c),_0x5047e2=_0x311681['get'](_0xf32056),_0x6119dc=_0x3b7621[_0xba301f(0x2d9)](),_0x16b070=new R()['setViewFieldOrder'](_0x6119dc,_0x600c24,_0x87f3ef,_0x69970b,_0x17cdd2),_0xad04f9=new A()[_0xba301f(0x35e)](_0x6119dc,_0x16b070),_0x180fb9={'unitId':_0x465a9d,'op':_0x16b070},_0x4c3e0d={'unitId':_0x465a9d,'op':_0xad04f9};return _0x5c9337[_0xba301f(0x36e)](Y['id'],_0x180fb9)?(_0x5271ab[_0xba301f(0x3ac)](_0x465a9d),_0x5047e2[_0xba301f(0x33c)]({'unitID':_0x465a9d,'undoMutations':[{'id':Y['id'],'params':_0x4c3e0d}],'redoMutations':[{'id':Y['id'],'params':_0x180fb9}]}),!0x0):!0x1;}},Pr={'id':_0x396ed2(0x41f),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x3d2c23,_0x2ec254){const _0x3e2ff5=_0x396ed2;if(!_0x2ec254)return!0x1;let _0x5b3d05=_0x3d2c23[_0x3e2ff5(0x2bb)](_0x726745),{unitId:_0x1041d4,tableId:_0x2a5997,viewId:_0x2f0208,fieldId:_0x4f828f,visible:_0x36c417}=_0x2ec254,_0x5c746d=_0x5b3d05['getUnit'](_0x1041d4,_0x545be5['UNIVER_BASE']);if(!_0x5c746d||!X(_0x5c746d,_0x2a5997,{'viewIds':[_0x2f0208],'fieldIds':[_0x4f828f]}))return!0x1;let _0x511be1=_0x3d2c23[_0x3e2ff5(0x2bb)](_0x40924c),_0x41f58f=_0x3d2c23['get'](_0xf32056),_0xd38106=_0x5c746d[_0x3e2ff5(0x2d9)](),_0x1dbb06=new R()[_0x3e2ff5(0x2e2)](_0xd38106,_0x2a5997,_0x2f0208,_0x4f828f,_0x36c417),_0x2c5597=new A()[_0x3e2ff5(0x35e)](_0xd38106,_0x1dbb06),_0x183bce={'unitId':_0x1041d4,'op':_0x1dbb06},_0x3043f3={'unitId':_0x1041d4,'op':_0x2c5597};return _0x511be1[_0x3e2ff5(0x36e)](Y['id'],_0x183bce)?(_0x5b3d05['focusUnit'](_0x1041d4),_0x41f58f[_0x3e2ff5(0x33c)]({'unitID':_0x1041d4,'undoMutations':[{'id':Y['id'],'params':_0x3043f3}],'redoMutations':[{'id':Y['id'],'params':_0x183bce}]}),!0x0):!0x1;}},Fr={'id':_0x396ed2(0x244),'type':_0x533ada['COMMAND'],'handler':(_0x28107b,_0x98df83)=>{const _0x447e08=_0x396ed2;if(!_0x98df83)return!0x1;let _0x210be9=_0x28107b[_0x447e08(0x2bb)](_0x726745),{unitId:_0x2a4422,tableId:_0x216cf7,viewId:_0x1561e1,fieldId:_0x1f9583,width:_0x58d3ce}=_0x98df83,_0x4adbc2=_0x210be9[_0x447e08(0x248)](_0x2a4422,_0x545be5[_0x447e08(0x174)]);if(!_0x4adbc2||!X(_0x4adbc2,_0x216cf7,{'viewIds':[_0x1561e1],'fieldIds':[_0x1f9583]}))return!0x1;let _0x2bafbd=_0x28107b[_0x447e08(0x2bb)](_0x40924c),_0x170c47=_0x28107b[_0x447e08(0x2bb)](_0xf32056),_0x200098=_0x4adbc2[_0x447e08(0x2d9)](),_0x57349a=new R()[_0x447e08(0x3af)](_0x200098,_0x216cf7,_0x1561e1,_0x1f9583,_0x58d3ce),_0x2c6cb7=new A()['invertOp'](_0x200098,_0x57349a),_0x502275={'unitId':_0x2a4422,'op':_0x57349a},_0x551ace={'unitId':_0x2a4422,'op':_0x2c6cb7};return _0x2bafbd[_0x447e08(0x36e)](Y['id'],_0x502275)?(_0x210be9['focusUnit'](_0x2a4422),_0x170c47[_0x447e08(0x33c)]({'unitID':_0x2a4422,'undoMutations':[{'id':Y['id'],'params':_0x551ace}],'redoMutations':[{'id':Y['id'],'params':_0x502275}]}),!0x0):!0x1;}},Ir={'id':'base.command.set-base-view-filter','type':_0x533ada['COMMAND'],'handler':(_0x556c20,_0x590c7d)=>{const _0x2350a7=_0x396ed2;var _0x50f2ef;if(!_0x590c7d)return!0x1;let _0x5ea954=_0x556c20[_0x2350a7(0x2bb)](_0x726745),{unitId:_0xc5dd17,tableId:_0x29a952,viewId:_0x46e8ee,filter:_0x8977f1}=_0x590c7d,_0x4d5658=_0x5ea954[_0x2350a7(0x248)](_0xc5dd17,_0x545be5[_0x2350a7(0x174)]),_0x1dcee8=(_0x50f2ef=_0x8977f1==null?void 0x0:_0x8977f1[_0x2350a7(0x31f)]['map'](_0x1c903e=>_0x1c903e[_0x2350a7(0x20f)]))==null?[]:_0x50f2ef;if(!_0x4d5658||!X(_0x4d5658,_0x29a952,{'viewIds':[_0x46e8ee],'fieldIds':_0x1dcee8}))return!0x1;let _0x49ddf6=_0x556c20[_0x2350a7(0x2bb)](_0x40924c),_0x319253=_0x556c20[_0x2350a7(0x2bb)](_0xf32056),_0x3470ba=_0x4d5658['getSnapshot'](),_0x124d9b=new R()['setViewFilter'](_0x3470ba,_0x29a952,_0x46e8ee,_0x8977f1),_0x566b1a=new A()[_0x2350a7(0x35e)](_0x3470ba,_0x124d9b),_0x4280cf={'unitId':_0xc5dd17,'op':_0x124d9b},_0x1629c8={'unitId':_0xc5dd17,'op':_0x566b1a};return _0x49ddf6[_0x2350a7(0x36e)](Y['id'],_0x4280cf)?(_0x5ea954[_0x2350a7(0x3ac)](_0xc5dd17),_0x319253[_0x2350a7(0x33c)]({'unitID':_0xc5dd17,'undoMutations':[{'id':Y['id'],'params':_0x1629c8}],'redoMutations':[{'id':Y['id'],'params':_0x4280cf}]}),!0x0):!0x1;}},Lr={'id':_0x396ed2(0x3c8),'type':_0x533ada['COMMAND'],'handler':(_0x1925ed,_0x31bda7)=>{const _0x1a68f5=_0x396ed2;if(!_0x31bda7)return!0x1;let _0x3d1b25=_0x1925ed[_0x1a68f5(0x2bb)](_0x726745),{unitId:_0x3ca5a6,tableId:_0x1aae13,viewId:_0x71477a,group:_0x38c38e}=_0x31bda7,_0x5254fe=_0x3d1b25[_0x1a68f5(0x248)](_0x3ca5a6,_0x545be5[_0x1a68f5(0x174)]);if(!_0x5254fe||!X(_0x5254fe,_0x1aae13,{'viewIds':[_0x71477a],'fieldIds':_0x38c38e[_0x1a68f5(0x22a)](_0xf18dcc=>_0xf18dcc[_0x1a68f5(0x20f)])}))return!0x1;let _0x2a0f28=_0x1925ed[_0x1a68f5(0x2bb)](_0x40924c),_0x546535=_0x1925ed[_0x1a68f5(0x2bb)](_0xf32056),_0x14939d=_0x5254fe[_0x1a68f5(0x2d9)](),_0x501e69=new R()[_0x1a68f5(0x279)](_0x14939d,_0x1aae13,_0x71477a,_0x38c38e),_0x26dea3=new A()['invertOp'](_0x14939d,_0x501e69),_0x2cfad1={'unitId':_0x3ca5a6,'op':_0x501e69},_0x5b9a95={'unitId':_0x3ca5a6,'op':_0x26dea3};return _0x2a0f28[_0x1a68f5(0x36e)](Y['id'],_0x2cfad1)?(_0x3d1b25[_0x1a68f5(0x3ac)](_0x3ca5a6),_0x546535['pushUndoRedo']({'unitID':_0x3ca5a6,'undoMutations':[{'id':Y['id'],'params':_0x5b9a95}],'redoMutations':[{'id':Y['id'],'params':_0x2cfad1}]}),!0x0):!0x1;}},Rr={'id':'base.command.set-base-view-sort','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x2f9f7f,_0x294b29)=>{const _0x1d8dec=_0x396ed2;if(!_0x294b29)return!0x1;let _0x2ecff9=_0x2f9f7f[_0x1d8dec(0x2bb)](_0x726745),{unitId:_0x328882,tableId:_0x5a414e,viewId:_0x5d453c,sort:_0x1ba15b}=_0x294b29,_0x545d7d=_0x2ecff9[_0x1d8dec(0x248)](_0x328882,_0x545be5[_0x1d8dec(0x174)]);if(!_0x545d7d||!X(_0x545d7d,_0x5a414e,{'viewIds':[_0x5d453c],'fieldIds':_0x1ba15b[_0x1d8dec(0x22a)](_0x39b899=>_0x39b899[_0x1d8dec(0x20f)])}))return!0x1;let _0x395e1f=_0x2f9f7f['get'](_0x40924c),_0x5ee7b9=_0x2f9f7f[_0x1d8dec(0x2bb)](_0xf32056),_0x1a5943=_0x545d7d[_0x1d8dec(0x2d9)](),_0x3a0f52=new R()[_0x1d8dec(0x250)](_0x1a5943,_0x5a414e,_0x5d453c,_0x1ba15b),_0x4b9425=new A()[_0x1d8dec(0x35e)](_0x1a5943,_0x3a0f52),_0x22fc98={'unitId':_0x328882,'op':_0x3a0f52},_0x4baa97={'unitId':_0x328882,'op':_0x4b9425};return _0x395e1f[_0x1d8dec(0x36e)](Y['id'],_0x22fc98)?(_0x2ecff9[_0x1d8dec(0x3ac)](_0x328882),_0x5ee7b9[_0x1d8dec(0x33c)]({'unitID':_0x328882,'undoMutations':[{'id':Y['id'],'params':_0x4baa97}],'redoMutations':[{'id':Y['id'],'params':_0x22fc98}]}),!0x0):!0x1;}},zr={'id':'base.command.update-base-cell','type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x4c1a78,_0x327c18){const _0x5d9ff7=_0x396ed2;if(!_0x327c18)return!0x1;let _0x36e925=_0x4c1a78[_0x5d9ff7(0x2bb)](_0x726745),{unitId:_0x1da9eb,tableId:_0x43d45f,recordId:_0x1e0aae,fieldId:_0x3f31ea,value:_0x156b8b}=_0x327c18,_0x25f848=_0x36e925[_0x5d9ff7(0x248)](_0x1da9eb,_0x545be5[_0x5d9ff7(0x174)]);if(!_0x25f848||!X(_0x25f848,_0x43d45f,{'recordIds':[_0x1e0aae],'fieldIds':[_0x3f31ea]}))return!0x1;let _0x3e500b=_0x4c1a78[_0x5d9ff7(0x2bb)](_0x40924c),_0x91e9e8=_0x4c1a78[_0x5d9ff7(0x2bb)](_0xf32056),_0x5e756d=_0x4c1a78[_0x5d9ff7(0x2bb)](W),_0x11d4a5;try{_0x11d4a5=_0x5e756d['createUpdateCellOp'](_0x25f848,_0x43d45f,_0x1e0aae,_0x3f31ea,_0x156b8b);}catch(_0x2e1345){return console[_0x5d9ff7(0x24d)](_0x5d9ff7(0x2b1),_0x2e1345),!0x1;}let _0x592875=new A()[_0x5d9ff7(0x35e)](_0x25f848[_0x5d9ff7(0x2d9)](),_0x11d4a5),_0x1205fe={'unitId':_0x1da9eb,'op':_0x11d4a5},_0x4130b4={'unitId':_0x1da9eb,'op':_0x592875};return _0x3e500b[_0x5d9ff7(0x36e)](Y['id'],_0x1205fe)?(_0x36e925[_0x5d9ff7(0x3ac)](_0x1da9eb),_0x91e9e8[_0x5d9ff7(0x33c)]({'unitID':_0x1da9eb,'undoMutations':[{'id':Y['id'],'params':_0x4130b4}],'redoMutations':[{'id':Y['id'],'params':_0x1205fe}]}),!0x0):!0x1;}},Br={'id':_0x396ed2(0x253),'type':_0x533ada[_0x396ed2(0x32c)],'handler'(_0x37c40d,_0x23a46f){const _0x4d6af1=_0x396ed2;if(!_0x23a46f)return!0x1;let _0x31531d=_0x37c40d[_0x4d6af1(0x2bb)](_0x726745),{unitId:_0x2e3a7b,tableId:_0x4c4d11,fieldId:_0xf6bc24}=_0x23a46f,_0x352af8=_0x31531d[_0x4d6af1(0x248)](_0x2e3a7b,_0x545be5['UNIVER_BASE']);if(!_0x352af8||!X(_0x352af8,_0x4c4d11,{'fieldIds':[_0xf6bc24]}))return!0x1;let _0x61076d=_0x37c40d[_0x4d6af1(0x2bb)](_0x40924c),_0xeeb052=_0x37c40d[_0x4d6af1(0x2bb)](_0xf32056),_0x457048=_0x352af8[_0x4d6af1(0x2d9)](),_0x3f420a=_0x23a46f[_0x4d6af1(0x1a0)][_0x4d6af1(0x317)](),_0x2feb95=new R()[_0x4d6af1(0x39e)](_0x457048,_0x4c4d11,_0xf6bc24,{'description':_0x3f420a}),_0x1752ac=new A()['invertOp'](_0x352af8[_0x4d6af1(0x2d9)](),_0x2feb95),_0x47369a={'unitId':_0x2e3a7b,'op':_0x2feb95},_0x108163={'unitId':_0x2e3a7b,'op':_0x1752ac};return _0x61076d[_0x4d6af1(0x36e)](Y['id'],_0x47369a)?(_0x31531d['focusUnit'](_0x2e3a7b),_0xeeb052[_0x4d6af1(0x33c)]({'unitID':_0x2e3a7b,'undoMutations':[{'id':Y['id'],'params':_0x108163}],'redoMutations':[{'id':Y['id'],'params':_0x47369a}]}),!0x0):!0x1;}},Vr={'id':_0x396ed2(0x240),'type':_0x533ada['COMMAND'],'handler':(_0x532658,_0x363409)=>{const _0x15ceea=_0x396ed2;if(!_0x363409)return!0x1;let _0x504466=_0x532658['get'](_0x726745),{unitId:_0x2e9cbd,tableId:_0x48a703,fieldId:_0x3d97e3,patch:_0x106966}=_0x363409,_0x481a2a=_0x504466[_0x15ceea(0x248)](_0x2e9cbd,_0x545be5[_0x15ceea(0x174)]);if(!_0x481a2a||!X(_0x481a2a,_0x48a703,{'fieldIds':[_0x3d97e3]}))return!0x1;let _0x15a9f5=_0x532658['get'](_0x40924c),_0x3d8752=_0x532658[_0x15ceea(0x2bb)](_0xf32056),_0x36ad86=_0x481a2a['getSnapshot'](),_0x328573=new R()[_0x15ceea(0x39e)](_0x36ad86,_0x48a703,_0x3d97e3,_0x106966),_0x27fd2e=new A()['invertOp'](_0x36ad86,_0x328573),_0x22c614={'unitId':_0x2e9cbd,'op':_0x328573},_0x3d28d2={'unitId':_0x2e9cbd,'op':_0x27fd2e};return _0x15a9f5[_0x15ceea(0x36e)](Y['id'],_0x22c614)?(_0x504466[_0x15ceea(0x3ac)](_0x2e9cbd),_0x3d8752[_0x15ceea(0x33c)]({'unitID':_0x2e9cbd,'undoMutations':[{'id':Y['id'],'params':_0x3d28d2}],'redoMutations':[{'id':Y['id'],'params':_0x22c614}]}),!0x0):!0x1;}},Hr={'id':'base.command.update-base-kanban-config','type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x5bcc2c,_0x3490cf)=>{const _0x38d777=_0x396ed2;if(!_0x3490cf)return!0x1;let _0x11a7f4=_0x5bcc2c[_0x38d777(0x2bb)](_0x726745),{unitId:_0x37e5a9,tableId:_0x1d0527,viewId:_0x59c6a2,patch:_0x3f7d44}=_0x3490cf,_0x5dff0c=_0x11a7f4[_0x38d777(0x248)](_0x37e5a9,_0x545be5[_0x38d777(0x174)]);if(!_0x5dff0c||!X(_0x5dff0c,_0x1d0527,{'viewIds':[_0x59c6a2]}))return!0x1;let _0x50cbd1=_0x5bcc2c[_0x38d777(0x2bb)](_0x40924c),_0x244bf3=_0x5bcc2c[_0x38d777(0x2bb)](_0xf32056),_0x4b07e6=_0x5dff0c[_0x38d777(0x2d9)](),_0x2324a1=new R()['updateViewConfig'](_0x4b07e6,_0x1d0527,_0x59c6a2,_0x3f7d44),_0x1fadc2=new A()[_0x38d777(0x35e)](_0x4b07e6,_0x2324a1),_0xf9e6ff={'unitId':_0x37e5a9,'op':_0x2324a1},_0x483529={'unitId':_0x37e5a9,'op':_0x1fadc2};return _0x50cbd1[_0x38d777(0x36e)](Y['id'],_0xf9e6ff)?(_0x11a7f4['focusUnit'](_0x37e5a9),_0x244bf3[_0x38d777(0x33c)]({'unitID':_0x37e5a9,'undoMutations':[{'id':Y['id'],'params':_0x483529}],'redoMutations':[{'id':Y['id'],'params':_0xf9e6ff}]}),!0x0):!0x1;}},Ur={'id':_0x396ed2(0x369),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x17b3df,_0x3d2816)=>{const _0x10a211=_0x396ed2;if(!_0x3d2816)return!0x1;let _0x42d372=_0x17b3df['get'](_0x726745),{unitId:_0x4af075,tableId:_0x11b581,recordId:_0x35f493,orderKey:_0x1cbf4a}=_0x3d2816,_0x1789ef=_0x42d372[_0x10a211(0x248)](_0x4af075,_0x545be5['UNIVER_BASE']);if(!_0x1789ef||!X(_0x1789ef,_0x11b581,{'recordIds':[_0x35f493]}))return!0x1;let _0x472d1b=_0x17b3df[_0x10a211(0x2bb)](_0x40924c),_0x318c42=_0x17b3df[_0x10a211(0x2bb)](_0xf32056),_0x54c90e=_0x1789ef['getSnapshot'](),_0x17d164=new R()[_0x10a211(0x361)](_0x54c90e,_0x11b581,_0x35f493,_0x1cbf4a),_0x1db84c=new A()['invertOp'](_0x54c90e,_0x17d164),_0x37f9ae={'unitId':_0x4af075,'op':_0x17d164},_0x9801ff={'unitId':_0x4af075,'op':_0x1db84c};return _0x472d1b[_0x10a211(0x36e)](Y['id'],_0x37f9ae)?(_0x42d372[_0x10a211(0x3ac)](_0x4af075),_0x318c42['pushUndoRedo']({'unitID':_0x4af075,'undoMutations':[{'id':Y['id'],'params':_0x9801ff}],'redoMutations':[{'id':Y['id'],'params':_0x37f9ae}]}),!0x0):!0x1;}},Wr={'id':_0x396ed2(0x1f8),'type':_0x533ada[_0x396ed2(0x32c)],'handler':(_0x297afa,_0x237088)=>{const _0xd78d06=_0x396ed2;if(!_0x237088)return!0x1;let _0x492409=_0x297afa[_0xd78d06(0x2bb)](_0x726745),{unitId:_0x169637,tableId:_0x4bfec4,viewId:_0x4fe794,patch:_0x499bb3}=_0x237088,_0x39bd17=_0x492409[_0xd78d06(0x248)](_0x169637,_0x545be5[_0xd78d06(0x174)]);if(!_0x39bd17||!X(_0x39bd17,_0x4bfec4,{'viewIds':[_0x4fe794]}))return!0x1;let _0x41a447=_0x297afa['get'](_0x40924c),_0x10ef83=_0x297afa[_0xd78d06(0x2bb)](_0xf32056),_0x5017be=_0x39bd17[_0xd78d06(0x2d9)](),_0x103fc2=new R()[_0xd78d06(0x3ed)](_0x5017be,_0x4bfec4,_0x4fe794,_0x499bb3),_0x277c7b=new A()[_0xd78d06(0x35e)](_0x5017be,_0x103fc2),_0x1afc3f={'unitId':_0x169637,'op':_0x103fc2},_0x173565={'unitId':_0x169637,'op':_0x277c7b};return _0x41a447[_0xd78d06(0x36e)](Y['id'],_0x1afc3f)?(_0x492409[_0xd78d06(0x3ac)](_0x169637),_0x10ef83[_0xd78d06(0x33c)]({'unitID':_0x169637,'undoMutations':[{'id':Y['id'],'params':_0x173565}],'redoMutations':[{'id':Y['id'],'params':_0x1afc3f}]}),!0x0):!0x1;}};function Gr(_0x168da1){const _0x5635c3=_0x396ed2;var _0x58a7d6,_0x2835cb,_0xa9af8f,_0x43e853,_0xedd373;let _0x557d2c=(_0x58a7d6=_0x168da1[_0x5635c3(0x29f)])==null?Date[_0x5635c3(0x29f)]():_0x58a7d6,_0x258d0f=(_0x2835cb=_0x168da1[_0x5635c3(0x243)])==null?_0x168da1['id']+_0x5635c3(0x359):_0x2835cb,_0x12bf76=(_0xa9af8f=_0x168da1[_0x5635c3(0x210)])==null?_0x168da1['id']+_0x5635c3(0x364):_0xa9af8f,_0x226eca=(_0x43e853=_0x168da1[_0x5635c3(0x1d6)])==null?0x5:_0x43e853,_0x40f8b9={'id':_0x258d0f,'name':(_0xedd373=_0x168da1[_0x5635c3(0x16d)])==null?_0x5635c3(0x42b):_0xedd373,'type':_0x1e4a6b[_0x5635c3(0x2ce)],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x67c10e={},_0x436f38=[],_0xc0275b={},_0xbe4743={},_0x107021={};for(let _0x499926=0x0;_0x499926<_0x226eca;_0x499926++){let _0x25c0b4=_0x168da1['id']+_0x5635c3(0x17f)+(_0x499926+0x1);_0x67c10e[_0x25c0b4]={'id':_0x25c0b4,'values':_0x168da1['recordNamePrefix']?{[_0x258d0f]:_0x168da1[_0x5635c3(0x251)]+'\x20'+(_0x499926+0x1)}:{},'orderKey':String(_0x499926+0x1)[_0x5635c3(0x371)](0x4,'0'),'createdAt':_0x557d2c,'updatedAt':_0x557d2c},_0x436f38['push'](_0x25c0b4),_0xc0275b[_0x25c0b4]=_0x499926,_0xbe4743[_0x499926]=_0x25c0b4,_0x107021[_0x499926]={},_0x168da1[_0x5635c3(0x251)]&&(_0x107021[_0x499926][0x0]={'v':_0x168da1['recordNamePrefix']+'\x20'+(_0x499926+0x1)});}let _0x23dd85={'id':_0x12bf76,'tableId':_0x168da1['id'],'name':_0x5635c3(0x1d5),'type':_0x51a654[_0x5635c3(0x1d5)],'fieldOrder':[_0x258d0f],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x168da1['id'],'name':_0x168da1[_0x5635c3(0x28c)],'primaryFieldId':_0x258d0f,'fieldOrder':[_0x258d0f],'fields':{[_0x258d0f]:_0x40f8b9},'records':_0x67c10e,'recordOrder':_0x436f38,'rowIndex':_0xc0275b,'rowId':_0xbe4743,'colIndex':{[_0x258d0f]:0x0},'colId':{0x0:_0x258d0f},'cellData':_0x107021,'views':{[_0x12bf76]:_0x23dd85},'viewOrder':[_0x12bf76]};}const Kr=_0x396ed2(0x17b);function qr(_0x5c56a4){const _0x317c23=_0x396ed2;var _0x558e30,_0x2f35df;let _0x2ffad4=Gr({'id':_0x5c56a4[_0x317c23(0x1fd)],'name':(_0x558e30=_0x5c56a4[_0x317c23(0x28c)])==null?_0x5c56a4[_0x317c23(0x394)]:_0x558e30,'recordCount':0x0});return{..._0x2ffad4,'resources':{...(_0x2f35df=_0x2ffad4[_0x317c23(0x421)])==null?{}:_0x2f35df,[Kr]:Xr(_0x5c56a4)}};}function Jr(_0x5a32f7){const _0x35ca15=_0x396ed2;return{'id':Y['id'],'params':{'unitId':_0x5a32f7[_0x35ca15(0x3dc)],'op':new R()['createTable'](_0x5a32f7[_0x35ca15(0x32d)],_0x5a32f7[_0x35ca15(0x328)],_0x5a32f7[_0x35ca15(0x362)]),'trigger':'embed-ui'}};}function Yr(_0x41715c){const _0x5a0deb=_0x396ed2;let _0x3f49d8=_0x41715c[_0x5a0deb(0x32d)][_0x5a0deb(0x1fe)][_0x5a0deb(0x400)](_0x41715c['tableId']);if(!(!_0x41715c['snapshot'][_0x5a0deb(0x404)][_0x41715c[_0x5a0deb(0x2b3)]]||_0x3f49d8<0x0))return{'id':Y['id'],'params':{'unitId':_0x41715c[_0x5a0deb(0x3dc)],'op':new R()[_0x5a0deb(0x2e5)](_0x41715c[_0x5a0deb(0x32d)],_0x41715c[_0x5a0deb(0x2b3)]),'trigger':_0x5a0deb(0x37e)}};}function _0x5744(_0xb38240,_0x14ed25){_0xb38240=_0xb38240-0x157;const _0x3d4acb=_0x3d4a();let _0x574407=_0x3d4acb[_0xb38240];return _0x574407;}function Xr(_0x724389){const _0x2f6d47=_0x396ed2;return{'version':0x1,'embedId':_0x724389['embedId'],'hostAnchorId':_0x724389[_0x2f6d47(0x1fd)],'childUnitId':_0x724389[_0x2f6d47(0x26d)],'childType':_0x724389['childType']};}function Zr(_0x48dd98){const _0x1d1c0e=_0x396ed2;var _0x2c7d77;let _0x4da687=Math[_0x1d1c0e(0x422)](0x0,Number((_0x2c7d77=_0x48dd98[_0x1d1c0e(0x32e)])==null?0x0:_0x2c7d77)),_0x2652aa=_0x48dd98['useThousands']===!0x1?'0':_0x1d1c0e(0x397),_0x8a5c1c=_0x4da687?'.'+'0'[_0x1d1c0e(0x3f3)](_0x4da687):'',_0x3d3013=$r(_0x48dd98[_0x1d1c0e(0x299)]);return''+(_0x48dd98[_0x1d1c0e(0x2fe)]?ei(_0x48dd98[_0x1d1c0e(0x2fe)]):'')+_0x2652aa+_0x8a5c1c+_0x3d3013;}function Qr(_0x467dbb,_0x4c3f54){const _0x367721=_0x396ed2;let _0x408792=Zr(_0x4c3f54),_0x21f0ce=_0xac5c9d[_0x367721(0x1f7)](_0x408792,_0x467dbb,{'throws':!0x1});return ti(String(_0x21f0ce),_0x4c3f54[_0x367721(0x3c9)],_0x4c3f54[_0x367721(0x390)]);}function $r(_0x149a58){const _0x2ff7a0=_0x396ed2;return _0x149a58==='K'?_0x2ff7a0(0x171):_0x149a58==='M'?_0x2ff7a0(0x16f):_0x149a58==='B'?_0x2ff7a0(0x184):'';}function ei(_0x2e04d1){const _0x349534=_0x396ed2;return/^[A-Z]+$/i[_0x349534(0x427)](_0x2e04d1)?'\x22'+_0x2e04d1+'\x22':_0x2e04d1;}function ti(_0xdd7624,_0x45fc35,_0x8dd4e9){const _0x3fdc68=_0x396ed2;let _0x4be383=_0x45fc35===_0x3fdc68(0x257)?ni(_0x8dd4e9):_0x45fc35;return _0x4be383===_0x3fdc68(0x293)?_0xdd7624['replace'](/,/g,'\x00')['replace'](/\./g,',')[_0x3fdc68(0x407)](/\0/g,'.'):_0x4be383==='spaceComma'?_0xdd7624[_0x3fdc68(0x407)](/,/g,'\x20')[_0x3fdc68(0x407)](/\./g,','):_0x4be383===_0x3fdc68(0x1e9)?_0xdd7624[_0x3fdc68(0x407)](/,/g,'\x20'):_0xdd7624;}function ni(_0x730d15){const _0x5b00ba=_0x396ed2;var _0x1fa2f2,_0x125024;let _0x356ec8=_0x730d15||Intl[_0x5b00ba(0x377)]()[_0x5b00ba(0x263)]()[_0x5b00ba(0x390)],_0x2eda57;try{_0x2eda57=new Intl[(_0x5b00ba(0x377))](_0x356ec8,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x5b00ba(0x426)](0xf4240);}catch{return _0x5b00ba(0x3b9);}let _0x3ec56e=(_0x1fa2f2=_0x2eda57[_0x5b00ba(0x289)](_0x5ed272=>_0x5ed272[_0x5b00ba(0x415)]===_0x5b00ba(0x1e0)))==null?void 0x0:_0x1fa2f2[_0x5b00ba(0x34e)],_0x6e4a2e=(_0x125024=_0x2eda57[_0x5b00ba(0x289)](_0x3d0148=>_0x3d0148[_0x5b00ba(0x415)]===_0x5b00ba(0x3f5)))==null?void 0x0:_0x125024[_0x5b00ba(0x34e)],_0xc930c8=_0x3ec56e==='\u00a0'||_0x3ec56e==='\u202f'?'\x20':_0x3ec56e;return _0xc930c8==='.'&&_0x6e4a2e===','?_0x5b00ba(0x293):_0xc930c8==='\x20'&&_0x6e4a2e===','?_0x5b00ba(0x3e0):_0xc930c8==='\x20'&&_0x6e4a2e==='.'?_0x5b00ba(0x1e9):_0x5b00ba(0x3b9);}function ri(_0x4e1dd6,_0x2b337a){const _0x443f58=_0x396ed2;var _0x45dcb0,_0x319326;let _0x19b890=_0x32f40f['deepClone'](_0x4e1dd6),_0x529603=_0x2b337a[_0x443f58(0x157)]===!0x0,_0x1fdcf8=new Map(),_0x3ca35a=(_0x45dcb0=_0x2b337a[_0x443f58(0x3e2)])==null?()=>_0x443f58(0x43d)+_0x42f468(0x8):_0x45dcb0,_0x347ba3=_0x19b890[_0x443f58(0x26b)];return _0x2b337a['regenerateViewIds']&&(_0x347ba3=_0x19b890['viewOrder'][_0x443f58(0x22a)](_0x5bdbe8=>{const _0x4e0ec3=_0x443f58;let _0x4880a9=_0x3ca35a();return _0x1fdcf8[_0x4e0ec3(0x387)](_0x5bdbe8,_0x4880a9),_0x4880a9;})),{..._0x19b890,'id':_0x2b337a['id'],'name':_0x2b337a['name'],'records':_0x529603?_0x19b890[_0x443f58(0x1ce)]:{},'recordOrder':_0x529603?_0x19b890[_0x443f58(0x3ab)]:[],'rowIndex':_0x529603?_0x19b890[_0x443f58(0x2f0)]:{},'rowId':_0x529603?_0x19b890[_0x443f58(0x2d2)]:{},'cellData':_0x529603?_0x19b890[_0x443f58(0x34c)]:{},'resources':_0x529603?_0x19b890[_0x443f58(0x421)]:{},'viewOrder':_0x347ba3,'views':Object[_0x443f58(0x185)](Object['entries']((_0x319326=_0x19b890[_0x443f58(0x173)])==null?{}:_0x319326)[_0x443f58(0x22a)](([_0x289b52,_0x5b7845])=>{const _0x5c7cf5=_0x443f58;var _0x2942fc;let _0x538275=(_0x2942fc=_0x1fdcf8[_0x5c7cf5(0x2bb)](_0x289b52))==null?_0x2b337a[_0x5c7cf5(0x1fa)]?_0x3ca35a():_0x289b52:_0x2942fc;return[_0x538275,{..._0x5b7845,'id':_0x538275,'tableId':_0x2b337a['id']}];}))};}var ii=_0x396ed2(0x3e3),ai=_0x396ed2(0x1ef);const oi={},si={};function ci(_0x4d971f){return new A()['getAffectedRanges'](_0x4d971f);}function li(_0x2976d2){const _0x2532db=_0x396ed2;return _0x2976d2[_0x2532db(0x41c)]['map'](_0x3a5252=>({'unitId':_0x2976d2[_0x2532db(0x3dc)],'sheetId':_0x2976d2[_0x2532db(0x2b3)],'range':{'startRow':_0x3a5252['row'],'endRow':_0x3a5252[_0x2532db(0x284)],'startColumn':_0x3a5252[_0x2532db(0x3b3)],'endColumn':_0x3a5252['col']}}));}function ui(_0x19949e,_0x276f76){const _0x5d1ae7=_0x396ed2;return{[_0x19949e]:Object['fromEntries'](_0x276f76[_0x5d1ae7(0x22a)](_0x58e0f3=>[_0x58e0f3,'1']))};}let di=class extends _0x4c331b{constructor(_0x1db32c,_0x5d63ef){const _0x3cb167=_0x396ed2;super(),this[_0x3cb167(0x334)]=_0x1db32c,this[_0x3cb167(0x25f)]=_0x5d63ef,this[_0x3cb167(0x262)]();}[_0x396ed2(0x262)](){const _0x546686=_0x396ed2;this[_0x546686(0x334)][_0x546686(0x290)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x66bc54=>this[_0x546686(0x2ef)](_0x66bc54[_0x546686(0x370)])}),this[_0x546686(0x2fc)](_0x37a382(()=>{const _0x502a0f=_0x546686;this[_0x502a0f(0x334)][_0x502a0f(0x269)](Y['id']);}));}[_0x396ed2(0x324)](_0x2fc168,_0x4d7c4b){const _0x6edb9c=_0x396ed2;var _0xe5b6c0;let _0x4e4574=this[_0x6edb9c(0x25f)][_0x6edb9c(0x248)](_0x2fc168,_0x545be5[_0x6edb9c(0x174)]);return(_0xe5b6c0=_0x4e4574==null?void 0x0:_0x4e4574[_0x6edb9c(0x2d9)]()[_0x6edb9c(0x404)][_0x4d7c4b])==null?null:_0xe5b6c0;}[_0x396ed2(0x2ef)](_0x2fa344){const _0x5ce785=_0x396ed2;if(_0x2fa344[_0x5ce785(0x1c0)]===_0x5ce785(0x3d7))return{};if(!_0x2fa344[_0x5ce785(0x3dc)]||!_0x2fa344['op'])return{'clearDependencyTreeCache':this[_0x5ce785(0x2af)](),'forceCalculation':!0x0};let _0x57f792=ci(_0x2fa344['op']),_0x2c6188=this[_0x5ce785(0x1b5)](_0x2fa344[_0x5ce785(0x3dc)],_0x57f792);if(_0x2c6188['length'])return{'clearDependencyTreeCache':ui(_0x2fa344['unitId'],_0x2c6188),'forceCalculation':!0x0};let _0x4f5083=Object[_0x5ce785(0x236)](this[_0x5ce785(0x231)](_0x2fa344[_0x5ce785(0x3dc)],_0x57f792))[_0x5ce785(0x338)](([_0x2ed157,_0x1b5969])=>li({'unitId':_0x2fa344[_0x5ce785(0x3dc)],'tableId':_0x2ed157,'patches':_0x1b5969}));return _0x4f5083[_0x5ce785(0x1dd)]?{'dirtyRanges':_0x4f5083}:{};}[_0x396ed2(0x1b5)](_0x8d2d8,_0x4e5c85){const _0xae0668=_0x396ed2;let _0x2c2c96=_0x4e5c85[_0xae0668(0x24f)](_0x12a209=>_0x12a209[_0xae0668(0x3c2)]!=='cell')['flatMap'](_0x4d7101=>_0x4d7101[_0xae0668(0x2b3)]?[_0x4d7101['tableId']]:this[_0xae0668(0x26a)](_0x8d2d8));return Array[_0xae0668(0x34b)](new Set(_0x2c2c96));}[_0x396ed2(0x231)](_0x50ac60,_0x1f48d7){const _0x18b81d=_0x396ed2;let _0x497392=new Set();return _0x1f48d7[_0x18b81d(0x307)]((_0x5a1e38,_0x34d832)=>{const _0x2f3edf=_0x18b81d;var _0x368ff7;let _0x408757=this[_0x2f3edf(0x313)](_0x50ac60,_0x34d832);if(!_0x408757)return _0x5a1e38;let _0x56dfc3=_0x34d832[_0x2f3edf(0x2b3)]+':'+_0x408757['row']+':'+_0x408757[_0x2f3edf(0x3b3)];return _0x497392['has'](_0x56dfc3)?_0x5a1e38:(_0x497392[_0x2f3edf(0x229)](_0x56dfc3),_0x5a1e38[_0x34d832[_0x2f3edf(0x2b3)]]=(_0x368ff7=_0x5a1e38[_0x34d832[_0x2f3edf(0x2b3)]])==null?[]:_0x368ff7,_0x5a1e38[_0x34d832['tableId']][_0x2f3edf(0x258)](_0x408757),_0x5a1e38);},{});}[_0x396ed2(0x313)](_0x48f5ff,_0x361430){const _0x3d63b6=_0x396ed2;if(_0x361430[_0x3d63b6(0x3c2)]!==_0x3d63b6(0x38f))return null;if(_0x361430[_0x3d63b6(0x284)]!=null&&_0x361430[_0x3d63b6(0x26c)]!=null)return{'row':_0x361430[_0x3d63b6(0x284)],'col':_0x361430[_0x3d63b6(0x26c)],'value':null};if(!_0x361430[_0x3d63b6(0x348)]||!_0x361430[_0x3d63b6(0x20f)])return null;let _0xce4094=this[_0x3d63b6(0x324)](_0x48f5ff,_0x361430['tableId']);if(!_0xce4094)return null;let _0xed35a3=we(_0xce4094,_0x361430['recordId'],_0x361430[_0x3d63b6(0x20f)]);return _0xed35a3?{'row':_0xed35a3[_0x3d63b6(0x284)],'col':_0xed35a3[_0x3d63b6(0x3b3)],'value':null}:null;}[_0x396ed2(0x26a)](_0x5e4992){const _0x5162d2=_0x396ed2;var _0x2921c4;let _0x17b07a=this[_0x5162d2(0x25f)]['getUnit'](_0x5e4992,_0x545be5[_0x5162d2(0x174)]);return Object[_0x5162d2(0x33e)]((_0x2921c4=_0x17b07a==null?void 0x0:_0x17b07a[_0x5162d2(0x2d9)]()[_0x5162d2(0x404)])==null?{}:_0x2921c4)[_0x5162d2(0x22a)](_0x225766=>_0x225766['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x37f09c=_0x396ed2;let _0x35bba5=this[_0x37f09c(0x25f)]['getAllUnitsForType'](_0x545be5['UNIVER_BASE'])[_0x37f09c(0x22a)](_0x375f5d=>ui(_0x375f5d[_0x37f09c(0x2c2)](),Object[_0x37f09c(0x234)](_0x375f5d[_0x37f09c(0x2d9)]()[_0x37f09c(0x404)])));return Object['assign']({},..._0x35bba5);}};di=U([H(0x0,_0xe982eb),H(0x1,_0x726745)],di);const fi=_0x301934[_0x396ed2(0x409)](String[_0x396ed2(0x2ab)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x301934['createRegExpFromSafeFragment'](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x301934[_0x396ed2(0x409)](String['raw']`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x301934[_0x396ed2(0x409)](String[_0x396ed2(0x2ab)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x396ed2(0x356)](_0x594c81,_0x397848=_0x594c81['id']){const _0x4fbb5a=_0x396ed2;var _0x1e2836,_0x2bd92c;let _0x159c40=(_0x1e2836=(_0x2bd92c=_0x594c81[_0x4fbb5a(0x3ab)])==null?void 0x0:_0x2bd92c[_0x4fbb5a(0x1dd)])==null?Object[_0x4fbb5a(0x33e)](_0x594c81[_0x4fbb5a(0x1ce)])[_0x4fbb5a(0x1dd)]:_0x1e2836;return{'sheetId':_0x397848,'titleMap':new Map(_0x594c81['fieldOrder'][_0x4fbb5a(0x22a)]((_0x560aad,_0x1af42d)=>{const _0x10f015=_0x4fbb5a;var _0x20400c,_0x512cac;return[(_0x20400c=(_0x512cac=_0x594c81[_0x10f015(0x2f3)][_0x560aad])==null?void 0x0:_0x512cac[_0x10f015(0x28c)])==null?_0x560aad:_0x20400c,_0x1af42d];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x159c40-0x1),'startColumn':0x0,'endColumn':Math[_0x4fbb5a(0x422)](0x0,_0x594c81[_0x4fbb5a(0x201)][_0x4fbb5a(0x1dd)]-0x1)},'showHeader':!0x1};}[_0x396ed2(0x19b)](_0xc84b1,_0x556b1b,_0x20945c,_0x3477d9={}){const _0x60b7cc=_0x396ed2;var _0x116196;let _0x3817ab=this[_0x60b7cc(0x356)](_0x20945c,(_0x116196=_0x3477d9[_0x60b7cc(0x2f9)])==null?_0x20945c['id']:_0x116196);return new Set([_0x20945c['id'],_0x20945c[_0x60b7cc(0x28c)],_0x3477d9[_0x60b7cc(0x419)]][_0x60b7cc(0x24f)](_0x290d1d=>!!_0x290d1d))['forEach'](_0x333a2e=>_0xc84b1[_0x60b7cc(0x2ad)](_0x556b1b,_0x333a2e,_0x3817ab)),_0x3817ab;}[_0x396ed2(0x18d)](_0x176fd3,_0x445d66){const _0x4f8ac8=_0x396ed2;let _0x121770=this[_0x4f8ac8(0x3b8)](_0x445d66);return _0x121770[_0x4f8ac8(0x3d3)](({tableName:_0x3a887b,reference:_0x1f3574})=>{_0x176fd3['registerTable'](_0x445d66['id'],_0x3a887b,_0x1f3574);}),Array[_0x4f8ac8(0x34b)](new Set(_0x121770[_0x4f8ac8(0x22a)](({reference:_0x52bdd4})=>_0x52bdd4)));}[_0x396ed2(0x3b8)](_0x43b409,_0x47875c){const _0x150191=_0x396ed2;let _0x57e9ab=[],_0x4278b1=_0x47875c?new Set(_0x47875c):null,_0x185816=new Map();return Object[_0x150191(0x33e)](_0x43b409[_0x150191(0x404)])['forEach'](_0x19b237=>{const _0x4e21f8=_0x150191;var _0x23675c;let _0x2a5f18=_0x19b237['name'][_0x4e21f8(0x317)]()['toLowerCase']();_0x185816[_0x4e21f8(0x387)](_0x2a5f18,((_0x23675c=_0x185816[_0x4e21f8(0x2bb)](_0x2a5f18))==null?0x0:_0x23675c)+0x1);}),Object[_0x150191(0x33e)](_0x43b409[_0x150191(0x404)])[_0x150191(0x24f)](_0x594782=>!_0x4278b1||_0x4278b1[_0x150191(0x1c2)](_0x594782['id']))[_0x150191(0x3d3)](_0x463e98=>{const _0x4ac024=_0x150191;var _0x41932d;let _0x216087=this['createSuperTableReference'](_0x463e98,_0x463e98['id']);_0x57e9ab[_0x4ac024(0x258)]({'tableId':_0x463e98['id'],'tableName':_0x463e98['id'],'reference':_0x216087}),((_0x41932d=_0x185816[_0x4ac024(0x2bb)](_0x463e98[_0x4ac024(0x28c)]['trim']()[_0x4ac024(0x1ad)]()))==null?0x0:_0x41932d)===0x1&&_0x57e9ab[_0x4ac024(0x258)]({'tableId':_0x463e98['id'],'tableName':_0x463e98[_0x4ac024(0x28c)],'reference':_0x216087});}),_0x57e9ab;}[_0x396ed2(0x39a)](_0x506787,_0x1736cb,_0x38e74d={}){const _0x7bf5cb=_0x396ed2;let _0x208d93=_0x506787[_0x7bf5cb(0x317)]();if(!_0x208d93)return{'valid':!0x0};if(Ci(_0x208d93))return{'valid':!0x1,'reason':_0x7bf5cb(0x2bc)};for(let _0x3633af of Si(_0x208d93)){let _0x57f781=ki(_0x3633af,_0x1736cb,_0x38e74d[_0x7bf5cb(0x32d)]);if(!_0x57f781[_0x7bf5cb(0x328)])return{'valid':!0x1,'reason':_0x7bf5cb(0x2e7)+_0x3633af[_0x7bf5cb(0x419)]+_0x7bf5cb(0x3ec)};if(!_0x57f781[_0x7bf5cb(0x232)])return{'valid':!0x1,'reason':_0x7bf5cb(0x2a3)+_0x3633af[_0x7bf5cb(0x213)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x396ed2(0x160)](_0x32d4f0,_0x373f30,_0x5850f6={}){const _0x515e5e=_0x396ed2;let _0x4d3c1b=new Set();for(let _0xb1952 of this[_0x515e5e(0x1d0)](_0x32d4f0,_0x373f30,_0x5850f6))_0xb1952[_0x515e5e(0x2b3)]===_0x373f30['id']&&_0x4d3c1b[_0x515e5e(0x229)](_0xb1952[_0x515e5e(0x20f)]);return Array[_0x515e5e(0x34b)](_0x4d3c1b);}[_0x396ed2(0x1d0)](_0x284ddb,_0x3206a2,_0x2478f8={}){const _0x270cce=_0x396ed2;let _0x3134b0=new Map();for(let _0xd1ca3e of Si(_0x284ddb)){let _0x3bd135=ki(_0xd1ca3e,_0x3206a2,_0x2478f8[_0x270cce(0x32d)]);if(!_0x3bd135[_0x270cce(0x328)]||!_0x3bd135[_0x270cce(0x232)])continue;let _0x403646=_0x3bd135[_0x270cce(0x328)]['id']+'\x1f'+_0x3bd135[_0x270cce(0x232)]['id'];_0x3134b0['set'](_0x403646,{'tableId':_0x3bd135[_0x270cce(0x328)]['id'],'fieldId':_0x3bd135[_0x270cce(0x232)]['id']});}return Array['from'](_0x3134b0['values']());}};function vi(_0x1f7055,_0xbd0390){const _0x395836=_0x396ed2;var _0x2cdc8e;let _0x16f8b9=[],_0x2808b6=(_0x2cdc8e=_0xbd0390[_0x395836(0x15d)])==null?void 0x0:_0x2cdc8e[_0x1f7055['id']];return _0x2808b6&&Object[_0x395836(0x236)](_0x2808b6)[_0x395836(0x3d3)](([_0x1a1dde,_0x30380e])=>{const _0x54204a=_0x395836;let _0x561ef8=_0x1f7055[_0x54204a(0x404)][_0x1a1dde];if(!_0x561ef8||!_0x30380e)return;let _0x17235d=E(_0x561ef8),_0x5dbd0c=[];new _0x14ef58(_0x30380e)[_0x54204a(0x3a0)]((_0x3e8645,_0x4a935c,_0x20bfdb)=>{const _0xe593db=_0x54204a;let _0x1c2c89=yi(_0x17235d,_0x3e8645,_0x4a935c,_0x20bfdb);_0x1c2c89&&_0x5dbd0c[_0xe593db(0x258)](_0x1c2c89);}),_0x5dbd0c[_0x54204a(0x1dd)]&&_0x16f8b9[_0x54204a(0x258)]({'unitId':_0x1f7055['id'],'tableId':_0x1a1dde,'patches':_0x5dbd0c});}),_0x16f8b9;}function yi(_0x576c36,_0x1a839a,_0x5497cb,_0xd88b6c){const _0xb64670=_0x396ed2;var _0x4e96f3,_0x1d9f44,_0x568013,_0x21bf52,_0x1a988a;let _0x3b231f=(_0x4e96f3=_0x576c36[_0xb64670(0x2d2)])==null?void 0x0:_0x4e96f3[_0x1a839a],_0x5dc251=(_0x1d9f44=_0x576c36['colId'])==null?void 0x0:_0x1d9f44[_0x5497cb];if(!_0x3b231f||!_0x576c36[_0xb64670(0x1ce)][_0x3b231f]||!_0x5dc251)return null;let _0x5c83bd=_0x576c36[_0xb64670(0x2f3)][_0x5dc251];if(!_0x5c83bd||_0x5c83bd[_0xb64670(0x415)]!==_0xb64670(0x1c9))return null;let _0x35aa16=String((_0x568013=(_0x21bf52=_0x5c83bd['config'])==null?void 0x0:_0x21bf52[_0xb64670(0x1c9)])==null?'':_0x568013)[_0xb64670(0x317)](),_0x3cc7ce=(_0x1a988a=_0xd88b6c==null?void 0x0:_0xd88b6c['v'])==null?null:_0x1a988a,_0x112dbe={'v':_0x3cc7ce,'t':xi(_0x3cc7ce),..._0x1a839a===0x0&&_0x35aa16?{'f':_0x35aa16}:{},'si':_0x5c83bd['id']};return bi(Te(_0x576c36,_0x3b231f,_0x5dc251),_0x112dbe)?null:{'row':_0x1a839a,'col':_0x5497cb,'value':_0x112dbe};}function bi(_0x191b2e,_0x3d0909){var _0x314a99,_0x44cef1;return _0x191b2e!=null&&Object['is']((_0x314a99=_0x191b2e['v'])==null?null:_0x314a99,(_0x44cef1=_0x3d0909['v'])==null?null:_0x44cef1)&&_0x191b2e['t']===_0x3d0909['t']&&_0x191b2e['f']===_0x3d0909['f']&&_0x191b2e['si']===_0x3d0909['si'];}function xi(_0x170118){const _0x3fb73e=_0x396ed2;return typeof _0x170118==_0x3fb73e(0x267)?_0x5e55fc[_0x3fb73e(0x2db)]:typeof _0x170118==_0x3fb73e(0x424)?_0x5e55fc[_0x3fb73e(0x3d1)]:typeof _0x170118==_0x3fb73e(0x247)?_0x5e55fc[_0x3fb73e(0x268)]:null;}function Si(_0x4edc22){const _0x71bd18=_0x396ed2;_0x4edc22=wi(_0x4edc22,()=>'');let _0x454e14=new Map();for(let _0x23aca6 of _0x4edc22[_0x71bd18(0x3ea)](mi)){let _0x4ce0e0={'fieldName':_0x23aca6[0x1]};_0x454e14['set']('\x1f'+_0x4ce0e0['fieldName'],_0x4ce0e0);}for(let _0x4a88e5 of _0x4edc22[_0x71bd18(0x3ea)](hi)){let _0x20c3e3={'tableName':_0x4a88e5[0x1],'fieldName':_0x4a88e5[0x2]};_0x454e14[_0x71bd18(0x387)](_0x20c3e3[_0x71bd18(0x419)]+'\x1f'+_0x20c3e3['fieldName'],_0x20c3e3);}for(let _0x1be4d5 of _0x4edc22[_0x71bd18(0x3ea)](gi)){let _0x350c44={'fieldName':_0x1be4d5[0x2]};_0x454e14[_0x71bd18(0x387)]('\x1f'+_0x350c44[_0x71bd18(0x213)],_0x350c44);}return Array[_0x71bd18(0x34b)](_0x454e14[_0x71bd18(0x33e)]());}function Ci(_0x1a08c1){const _0x4fe1a1=_0x396ed2;let _0x371f45=Ti(_0x1a08c1,()=>'\x20')[_0x4fe1a1(0x407)](mi,'\x20')[_0x4fe1a1(0x407)](hi,'\x20')[_0x4fe1a1(0x407)](gi,'$1\x20');return fi['test'](_0x371f45);}function wi(_0x24473f,_0xda0ad){return Di(Ti(_0x24473f,_0xda0ad),_0xda0ad);}function Ti(_0x1340ac,_0x5a1672){const _0xb1925d=_0x396ed2;return pi[_0xb1925d(0x357)]=0x0,_0x1340ac['replace'](pi,(_0x206af1,_0x505af1)=>Oi(_0x1340ac,_0x505af1)?_0x206af1:_0x5a1672(_0x206af1));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x1eb833,_0x597344){const _0x4d37ce=_0x396ed2;let _0x173341=[];Ei[_0x4d37ce(0x357)]=0x0;let _0x2242ac;for(;(_0x2242ac=Ei[_0x4d37ce(0x3d9)](_0x1eb833))!=null;){if(Oi(_0x1eb833,_0x2242ac[_0x4d37ce(0x362)]))continue;let _0x9161f3=Ei[_0x4d37ce(0x357)]-0x1,_0x5b1633=0x0;for(let _0x5b8ceb=_0x9161f3;_0x5b8ceb<_0x1eb833[_0x4d37ce(0x1dd)];_0x5b8ceb++)if(_0x1eb833[_0x5b8ceb]==='['&&_0x5b1633++,_0x1eb833[_0x5b8ceb]===']'&&(_0x5b1633--,_0x5b1633===0x0)){_0x173341[_0x4d37ce(0x258)]({'start':_0x2242ac[_0x4d37ce(0x362)],'end':_0x5b8ceb+0x1}),Ei[_0x4d37ce(0x357)]=_0x5b8ceb+0x1;break;}}if(_0x173341[_0x4d37ce(0x1dd)]===0x0)return _0x1eb833;let _0xf7a6b3='',_0x2e7ade=0x0;for(let _0x3200fc of _0x173341)_0xf7a6b3+=_0x1eb833[_0x4d37ce(0x1ac)](_0x2e7ade,_0x3200fc['start']),_0xf7a6b3+=_0x597344(_0x1eb833['slice'](_0x3200fc[_0x4d37ce(0x18e)],_0x3200fc[_0x4d37ce(0x261)])),_0x2e7ade=_0x3200fc[_0x4d37ce(0x261)];return _0xf7a6b3+_0x1eb833[_0x4d37ce(0x1ac)](_0x2e7ade);}function Oi(_0x5c3de9,_0x1323fa){let _0x292507=!0x1;for(let _0x5085bb=0x0;_0x5085bb<_0x1323fa;_0x5085bb++)if(_0x5c3de9[_0x5085bb]==='\x22'){if(_0x292507&&_0x5c3de9[_0x5085bb+0x1]==='\x22'){_0x5085bb++;continue;}_0x292507=!_0x292507;}return _0x292507;}function ki(_0x4a44b2,_0x50a190,_0x2da720){const _0x22fbf0=_0x396ed2;let _0x43d763=Ai(_0x4a44b2[_0x22fbf0(0x419)],_0x50a190,_0x2da720);return{'table':_0x43d763,'field':_0x43d763?Object['values'](_0x43d763[_0x22fbf0(0x2f3)])[_0x22fbf0(0x289)](_0x86eb6a=>_0x86eb6a['name']===_0x4a44b2[_0x22fbf0(0x213)]):void 0x0};}function Ai(_0x311993,_0x482280,_0x1893b1){const _0x269c5c=_0x396ed2;if(!_0x311993||_0x311993===_0x269c5c(0x328)||_0x311993===_0x482280['id']||_0x311993===_0x482280['name'])return _0x482280;if(!_0x1893b1)return;let _0x82de0a=_0x1893b1[_0x269c5c(0x404)][_0x311993];if(_0x82de0a)return _0x82de0a;let _0x444436=Object[_0x269c5c(0x33e)](_0x1893b1[_0x269c5c(0x404)])[_0x269c5c(0x24f)](_0x61867c=>_0x61867c['name']===_0x311993);return _0x444436[_0x269c5c(0x1dd)]===0x1?_0x444436[0x0]:void 0x0;}let ji=class extends _0x4c331b{constructor(_0x4e19c3,_0xa28272,_0x21c7b6){const _0x2dc9c8=_0x396ed2;super(),this['_commandService']=_0x4e19c3,this[_0x2dc9c8(0x25f)]=_0xa28272,B(this,_0x2dc9c8(0x215),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,'_formulaSyncQueue',Promise[_0x2dc9c8(0x19a)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x2dc9c8(0x262)]();}[_0x396ed2(0x262)](){const _0x3682e5=_0x396ed2;this[_0x3682e5(0x25f)][_0x3682e5(0x27c)](_0x545be5[_0x3682e5(0x174)])['forEach'](_0x44314b=>{const _0x1023a1=_0x3682e5;this[_0x1023a1(0x19f)](async()=>{await this['_syncSuperTables'](_0x44314b);});}),this['disposeWithMe'](this[_0x3682e5(0x25f)]['getTypeOfUnitAdded$'](_0x545be5[_0x3682e5(0x174)])[_0x3682e5(0x1aa)](({unit:_0x656c52})=>{this['_enqueueFormulaSync'](async()=>{await this['_syncSuperTables'](_0x656c52);});})),this[_0x3682e5(0x2fc)](this[_0x3682e5(0x25f)][_0x3682e5(0x1f9)](_0x545be5[_0x3682e5(0x174)])[_0x3682e5(0x1aa)](_0x1b0aca=>{const _0x2ed90d=_0x3682e5;this['_enqueueFormulaSync'](()=>this[_0x2ed90d(0x22d)](_0x1b0aca[_0x2ed90d(0x2c2)]()));})),this[_0x3682e5(0x2fc)](this['_commandService'][_0x3682e5(0x1eb)](_0xa49070=>this[_0x3682e5(0x2de)](_0xa49070)));}[_0x396ed2(0x2de)](_0xdf1ecb){const _0x3dcdd1=_0x396ed2;if(_0xdf1ecb['id']===_0x5dc15c['id']){Ni(_0xdf1ecb[_0x3dcdd1(0x370)])&&this[_0x3dcdd1(0x28e)](_0xdf1ecb[_0x3dcdd1(0x370)]);return;}if(this[_0x3dcdd1(0x39f)]||_0xdf1ecb['id']!==Y['id'])return;let _0x3bd23c=Mi(_0xdf1ecb['params'])?_0xdf1ecb[_0x3dcdd1(0x370)]:void 0x0,_0x4fba5c=_0x3bd23c!=null&&_0x3bd23c['unitId']?[this[_0x3dcdd1(0x25f)][_0x3dcdd1(0x248)](_0x3bd23c[_0x3dcdd1(0x3dc)],_0x545be5[_0x3dcdd1(0x174)])][_0x3dcdd1(0x24f)](_0x553104=>!!_0x553104):this[_0x3dcdd1(0x25f)][_0x3dcdd1(0x27c)](_0x545be5[_0x3dcdd1(0x174)]),_0x1f37a3=_0x3bd23c==null?void 0x0:_0x3bd23c['op'];_0x4fba5c[_0x3dcdd1(0x3d3)](_0x5f24e1=>{const _0x2eaa67=_0x3dcdd1;let _0x33e14d=_0x1f37a3?ci(_0x1f37a3):[];(!_0x1f37a3||_0x33e14d[_0x2eaa67(0x24c)](_0x2d064a=>_0x2d064a[_0x2eaa67(0x3c2)]!==_0x2eaa67(0x38f)))&&this[_0x2eaa67(0x19f)](()=>this[_0x2eaa67(0x205)](_0x5f24e1));});}async[_0x396ed2(0x205)](_0x3cff6f){const _0x3173c7=_0x396ed2;var _0x12149e;let _0x250951=_0x3cff6f['getUnitId'](),_0x4d2e04=this[_0x3173c7(0x215)][_0x3173c7(0x3b8)](_0x3cff6f[_0x3173c7(0x2d9)]()),_0x4e446d=new Set(_0x4d2e04[_0x3173c7(0x22a)](({tableName:_0x418c30})=>_0x418c30)),_0x242214=(_0x12149e=this[_0x3173c7(0x19e)]['get'](_0x250951))==null?new Set():_0x12149e;for(let _0x5e59f9 of _0x242214)_0x4e446d[_0x3173c7(0x1c2)](_0x5e59f9)||await this[_0x3173c7(0x333)][_0x3173c7(0x31d)](_0x5f0ad7['id'],{'unitId':_0x250951,'tableName':_0x5e59f9});for(let {tableName:_0x414085,reference:_0xa4ba87}of _0x4d2e04)await this[_0x3173c7(0x333)][_0x3173c7(0x31d)](_0x28033a['id'],{'unitId':_0x250951,'tableName':_0x414085,'reference':_0xa4ba87});this['_registeredSuperTableNames'][_0x3173c7(0x387)](_0x250951,_0x4e446d);}async[_0x396ed2(0x22d)](_0x1de3fa){const _0x16c888=_0x396ed2;var _0x41b375;let _0x2572b4=(_0x41b375=this[_0x16c888(0x19e)][_0x16c888(0x2bb)](_0x1de3fa))==null?new Set():_0x41b375;for(let _0x38686e of _0x2572b4)await this[_0x16c888(0x333)][_0x16c888(0x31d)](_0x5f0ad7['id'],{'unitId':_0x1de3fa,'tableName':_0x38686e});this[_0x16c888(0x19e)][_0x16c888(0x3cc)](_0x1de3fa);}['_enqueueFormulaSync'](_0x8355aa){const _0x12049d=_0x396ed2;this['_formulaSyncQueue']=this[_0x12049d(0x1ae)][_0x12049d(0x330)](_0x8355aa,_0x8355aa)['catch'](()=>void 0x0);}[_0x396ed2(0x28e)](_0xe26c63){const _0x735da5=_0x396ed2;let _0x1aac6e=this['_univerInstanceService'][_0x735da5(0x27c)](_0x545be5['UNIVER_BASE'])[_0x735da5(0x338)](_0x243d7c=>vi(_0x243d7c[_0x735da5(0x2d9)](),_0xe26c63));if(!_0x1aac6e[_0x735da5(0x1dd)])return;let _0x48ab91=new R(),_0xb16902=_0x1aac6e[_0x735da5(0x338)](_0x22505f=>li({'unitId':_0x22505f['unitId'],'tableId':_0x22505f['tableId'],'patches':_0x22505f[_0x735da5(0x41c)]}));this[_0x735da5(0x39f)]=!0x0,(async()=>{const _0x179c6e=_0x735da5;for(let _0x2b1ac2 of _0x1aac6e){let _0x57f46d=this[_0x179c6e(0x25f)][_0x179c6e(0x248)](_0x2b1ac2[_0x179c6e(0x3dc)],_0x545be5[_0x179c6e(0x174)]);_0x57f46d&&await this['_commandService'][_0x179c6e(0x31d)](Y['id'],{'unitId':_0x2b1ac2[_0x179c6e(0x3dc)],'op':_0x48ab91[_0x179c6e(0x34d)](_0x57f46d[_0x179c6e(0x2d9)](),_0x2b1ac2[_0x179c6e(0x2b3)],_0x2b1ac2['patches']),'trigger':_0x5dc15c['id']},{'onlyLocal':!0x0});}await this[_0x179c6e(0x333)][_0x179c6e(0x31d)](_0x39bd47['id'],{'dirtyRanges':_0xb16902},{'onlyLocal':!0x0});})()[_0x735da5(0x31c)](()=>{this['_applyingFormulaResults']=!0x1;});}};ji=U([H(0x0,_0x40924c),H(0x1,_0x726745),H(0x2,_0x351210(_0x4c060b))],ji);function Mi(_0x445078){const _0x2c09ec=_0x396ed2;return typeof _0x445078==_0x2c09ec(0x25a)&&!!_0x445078&&'unitId'in _0x445078&&typeof _0x445078[_0x2c09ec(0x3dc)]==_0x2c09ec(0x247)&&'op'in _0x445078&&Array[_0x2c09ec(0x3db)](_0x445078['op']);}function Ni(_0x105706){const _0x382e7a=_0x396ed2;return typeof _0x105706==_0x382e7a(0x25a)&&!!_0x105706&&_0x382e7a(0x15d)in _0x105706&&_0x382e7a(0x15e)in _0x105706;}const Pi=_0x2adec3(_0x396ed2(0x1c4));let Fi=class{constructor(_0x385244){const _0x39f3cf=_0x396ed2;this[_0x39f3cf(0x25f)]=_0x385244;}[_0x396ed2(0x26e)](_0x15b265){const _0x37f2d4=_0x396ed2;var _0x5a9264;return(_0x5a9264=this[_0x37f2d4(0x25f)][_0x37f2d4(0x248)](_0x15b265,_0x545be5[_0x37f2d4(0x174)]))==null?null:_0x5a9264;}['getAllBases'](){const _0x3c5905=_0x396ed2;return this[_0x3c5905(0x25f)][_0x3c5905(0x27c)](_0x545be5[_0x3c5905(0x174)]);}[_0x396ed2(0x38a)](_0x4d7c5e){const _0x1907cb=_0x396ed2;return this[_0x1907cb(0x25f)][_0x1907cb(0x29b)](_0x545be5[_0x1907cb(0x174)],_0x4d7c5e);}};Fi=U([H(0x0,_0x726745)],Fi);const Ii=_0x2adec3(_0x396ed2(0x3f6));var Li=class extends _0x4c331b{constructor(..._0x18addd){const _0x24c45c=_0x396ed2;super(..._0x18addd),B(this,_0x24c45c(0x373),new Map());}['register'](_0x469ad8){const _0x432b3a=_0x396ed2;return this['_plugins'][_0x432b3a(0x387)](_0x469ad8[_0x432b3a(0x415)],_0x469ad8),_0x37a382(()=>this[_0x432b3a(0x373)][_0x432b3a(0x3cc)](_0x469ad8[_0x432b3a(0x415)]));}['get'](_0x55724e){const _0x2aebc6=_0x396ed2;let _0x337e19=this[_0x2aebc6(0x373)][_0x2aebc6(0x2bb)](_0x55724e);if(!_0x337e19)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x55724e+_0x2aebc6(0x296));return _0x337e19;}[_0x396ed2(0x2a8)](){const _0x34cdf7=_0x396ed2;return Array[_0x34cdf7(0x34b)](this['_plugins'][_0x34cdf7(0x33e)]());}};const Ri=[Y];let Z=class extends _0x3ca0db{constructor(_0x54062a=oi,_0x37f83e,_0x3fe945,_0x134986,_0x54240b,_0x2e27ab){const _0x2f34ff=_0x396ed2;super(),this[_0x2f34ff(0x320)]=_0x54062a,this[_0x2f34ff(0x30e)]=_0x37f83e,this['_commandService']=_0x3fe945,this[_0x2f34ff(0x25f)]=_0x134986,this['_configService']=_0x54240b,this[_0x2f34ff(0x42c)]=_0x2e27ab,B(this,_0x2f34ff(0x346),new Map());let {..._0x636e69}=_0x46244f({},oi,this[_0x2f34ff(0x320)]);this[_0x2f34ff(0x1a2)][_0x2f34ff(0x2b7)](_0x2f34ff(0x196),_0x636e69),this[_0x2f34ff(0x25f)][_0x2f34ff(0x28b)](_0x545be5[_0x2f34ff(0x174)],_0x46e527),this[_0x2f34ff(0x365)](),this[_0x2f34ff(0x2c0)](),this[_0x2f34ff(0x2a5)](),this[_0x2f34ff(0x2ae)]();}[_0x396ed2(0x43a)](){const _0x100741=_0x396ed2;_0x4e84d6(this['_injector'],[[Fi],[on],[di]]),this[_0x100741(0x25f)][_0x100741(0x27c)](_0x545be5[_0x100741(0x174)])[_0x100741(0x3d3)](_0x515ab9=>this[_0x100741(0x3bd)](_0x515ab9['getUnitId']())),_0x4e84d6(this[_0x100741(0x30e)],[[ji]]);}[_0x396ed2(0x365)](){const _0x27b1f2=_0x396ed2;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x27b1f2(0x3d3)](_0x3560cb=>this['_injector'][_0x27b1f2(0x229)](_0x3560cb));}[_0x396ed2(0x2c0)](){const _0x5cbe50=_0x396ed2;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri][_0x5cbe50(0x3d3)](_0x53ecd5=>this[_0x5cbe50(0x2fc)](this[_0x5cbe50(0x333)][_0x5cbe50(0x1cc)](_0x53ecd5))),Ri[_0x5cbe50(0x3d3)](_0x334c04=>{const _0x441e23=_0x5cbe50;var _0x1aa478;return(_0x1aa478=this[_0x441e23(0x42c)])==null?void 0x0:_0x1aa478[_0x441e23(0x162)](_0x334c04);});}[_0x396ed2(0x2ae)](){const _0x498d6c=_0x396ed2;this['_dataSyncPrimaryController']&&(this[_0x498d6c(0x2fc)](this[_0x498d6c(0x25f)][_0x498d6c(0x2d0)](_0x545be5[_0x498d6c(0x174)])[_0x498d6c(0x1aa)](({unit:_0x4717ed})=>{const _0x168539=_0x498d6c;this[_0x168539(0x3bd)](_0x4717ed[_0x168539(0x2c2)]());})),this[_0x498d6c(0x2fc)](this[_0x498d6c(0x25f)]['getTypeOfUnitDisposed$'](_0x545be5['UNIVER_BASE'])[_0x498d6c(0x1aa)](_0x4e615b=>{const _0x34093a=_0x498d6c;var _0x2fe1f2;(_0x2fe1f2=this[_0x34093a(0x346)]['get'](_0x4e615b[_0x34093a(0x2c2)]()))==null||_0x2fe1f2[_0x34093a(0x39b)](),this['_baseSyncDisposables'][_0x34093a(0x3cc)](_0x4e615b[_0x34093a(0x2c2)]());})));}[_0x396ed2(0x3bd)](_0x366920){const _0x456bba=_0x396ed2;!this['_dataSyncPrimaryController']||this[_0x456bba(0x346)]['has'](_0x366920)||this[_0x456bba(0x346)][_0x456bba(0x387)](_0x366920,this['_dataSyncPrimaryController'][_0x456bba(0x3de)](_0x366920));}[_0x396ed2(0x2a5)](){const _0x38a7af=_0x396ed2;let _0x4d2a57=this[_0x38a7af(0x30e)][_0x38a7af(0x2bb)](en);At()[_0x38a7af(0x3d3)](_0x36bc4f=>_0x4d2a57[_0x38a7af(0x290)](_0x36bc4f));let _0x22b68d=this[_0x38a7af(0x30e)][_0x38a7af(0x2bb)](Ii),_0x417d76=this['_injector'][_0x38a7af(0x2bb)](_n);fn()['forEach'](_0x118ab1=>{const _0x197d9a=_0x38a7af;_0x22b68d[_0x197d9a(0x290)](_0x118ab1),_0x417d76[_0x197d9a(0x1ee)](_0x118ab1);});}};B(Z,'pluginName',_0x396ed2(0x2ac)),B(Z,'packageName',ii),B(Z,'version',ai),B(Z,'type',_0x545be5[_0x396ed2(0x174)]),Z=U([_0x58d15d(_0xb68e7e,_0x21bd3b),H(0x1,_0x351210(_0x2217d0)),H(0x2,_0x40924c),H(0x3,_0x726745),H(0x4,_0x20ec7f),H(0x5,_0x240cfb(_0x110092))],Z);let Q=class extends _0x3ca0db{constructor(_0x3f5cba=si,_0x2ee1f9,_0x54b3a8,_0x3d0d3a,_0x2a75aa){const _0x563887=_0x396ed2;super(),this[_0x563887(0x320)]=_0x3f5cba,this['_injector']=_0x2ee1f9,this[_0x563887(0x333)]=_0x54b3a8,this[_0x563887(0x1a2)]=_0x3d0d3a,this[_0x563887(0x25f)]=_0x2a75aa;let {..._0x3ff3ab}=_0x46244f({},si,this[_0x563887(0x320)]);this[_0x563887(0x1a2)][_0x563887(0x2b7)]('bases.remote.config',_0x3ff3ab),this[_0x563887(0x25f)][_0x563887(0x28b)](_0x545be5[_0x563887(0x174)],_0x46e527),Ri[_0x563887(0x3d3)](_0x26aa91=>this[_0x563887(0x2fc)](this[_0x563887(0x333)][_0x563887(0x1cc)](_0x26aa91)));}};B(Q,_0x396ed2(0x347),_0x396ed2(0x286)),B(Q,_0x396ed2(0x389),ii),B(Q,_0x396ed2(0x295),ai),B(Q,_0x396ed2(0x415),_0x545be5[_0x396ed2(0x174)]),Q=U([_0x58d15d(_0xb68e7e,_0x21bd3b),H(0x1,_0x351210(_0x2217d0)),H(0x2,_0x40924c),H(0x3,_0x20ec7f),H(0x4,_0x726745)],Q);function zi(_0x4aaec2){const _0x4a53f3=_0x396ed2;let _0x1a2933=Qi(_0x4aaec2[_0x4a53f3(0x1a7)]);if(!_0x1a2933)return{'query':'','total':0x0,'matches':[]};let _0x44a640=[],_0x1b1c8b=[];for(let _0x529109=0x0;_0x529109<_0x4aaec2[_0x4a53f3(0x35a)][_0x4a53f3(0x1dd)];_0x529109++){if(!(_0x529109 in _0x4aaec2[_0x4a53f3(0x35a)]))continue;let _0x553033=_0x4aaec2[_0x4a53f3(0x328)][_0x4a53f3(0x2f3)][_0x4aaec2[_0x4a53f3(0x35a)][_0x529109]];_0x553033&&_0x1b1c8b['push']({'field':_0x553033,'fieldIndex':_0x529109});}_0x4aaec2[_0x4a53f3(0x270)][_0x4a53f3(0x3d3)]((_0x5d6fe9,_0x1b86b0)=>{const _0x463595=_0x4a53f3;_0x1b1c8b[_0x463595(0x3d3)](({field:_0x521b57,fieldIndex:_0x3a5971})=>{const _0x4472d0=_0x463595;let _0x41f692=Bi(_0x5d6fe9['values'][_0x521b57['id']],_0x521b57);if(!_0x41f692)return;let _0xc58f07=Zi(_0x1a2933,_0x41f692[_0x4472d0(0x2e1)]);_0xc58f07<=0x0||_0x44a640[_0x4472d0(0x258)]({'recordId':_0x5d6fe9['recordId'],'fieldId':_0x521b57['id'],'fieldType':_0x521b57['type'],'text':_0x41f692[_0x4472d0(0x1c8)],'score':_0xc58f07,'rowIndex':_0x1b86b0,'fieldIndex':_0x3a5971});});}),_0x44a640[_0x4a53f3(0x314)]((_0x2a3d36,_0x6d262f)=>_0x6d262f[_0x4a53f3(0x3fc)]-_0x2a3d36[_0x4a53f3(0x3fc)]||_0x2a3d36[_0x4a53f3(0x2f0)]-_0x6d262f['rowIndex']||_0x2a3d36[_0x4a53f3(0x2d1)]-_0x6d262f[_0x4a53f3(0x2d1)]);let _0x17f963=_0x4aaec2[_0x4a53f3(0x1e3)]==null?_0x44a640:_0x44a640[_0x4a53f3(0x1ac)](0x0,Math['max'](0x0,_0x4aaec2[_0x4a53f3(0x1e3)]));return{'query':_0x1a2933,'total':_0x44a640['length'],'matches':ea(_0x17f963)};}function Bi(_0x349a2f,_0x2546c0){const _0x41933a=_0x396ed2;let _0x5234bf=[];for(let _0x1d3e4b of Hi(_0x349a2f,_0x2546c0)){let _0x51942a=Qi(_0x1d3e4b);_0x51942a&&_0x5234bf[_0x41933a(0x258)](_0x51942a);}return _0x5234bf['length']?{'displayText':Vi(_0x349a2f,_0x2546c0),'searchTexts':$i(_0x5234bf)}:null;}function Vi(_0x238cff,_0x126c28){const _0x4e6732=_0x396ed2;switch(_0x126c28[_0x4e6732(0x415)]){case _0x1e4a6b[_0x4e6732(0x165)]:case _0x1e4a6b['MultiSelect']:case _0x1e4a6b[_0x4e6732(0x3f7)]:return Ui(_0x238cff,_0x126c28)[_0x4e6732(0x186)](',\x20');case _0x1e4a6b[_0x4e6732(0x354)]:return Ki(_0x238cff);case _0x1e4a6b[_0x4e6732(0x225)]:case _0x1e4a6b[_0x4e6732(0x1b4)]:case _0x1e4a6b[_0x4e6732(0x18c)]:return qi(_0x238cff,_0x126c28);case _0x1e4a6b['Number']:case _0x1e4a6b['Currency']:return Ji(_0x238cff,_0x126c28);case _0x1e4a6b[_0x4e6732(0x3f0)]:return Yi(_0x238cff,_0x126c28);case _0x1e4a6b[_0x4e6732(0x1cb)]:return _0x238cff?'Checked':_0x4e6732(0x3f2);case _0x1e4a6b[_0x4e6732(0x2da)]:return Xi(_0x238cff)[_0x4e6732(0x186)](',\x20');default:return $(_0x238cff);}}function Hi(_0x3a6836,_0x2d9645){const _0x557f52=_0x396ed2;switch(_0x2d9645[_0x557f52(0x415)]){case _0x1e4a6b[_0x557f52(0x165)]:case _0x1e4a6b['MultiSelect']:case _0x1e4a6b[_0x557f52(0x3f7)]:{let _0x907e87=Ui(_0x3a6836,_0x2d9645);if(Array[_0x557f52(0x3db)](_0x3a6836)){let _0x53fc95=[..._0x907e87];for(let _0x5e7063=0x0;_0x5e7063<_0x3a6836[_0x557f52(0x1dd)];_0x5e7063++)_0x5e7063 in _0x3a6836&&_0x53fc95[_0x557f52(0x258)](String(_0x3a6836[_0x5e7063]));return _0x53fc95;}return _0x3a6836==null?_0x907e87:[..._0x907e87,String(_0x3a6836)];}case _0x1e4a6b[_0x557f52(0x354)]:{let _0x440020=Gi(_0x3a6836);return[_0x440020[_0x557f52(0x305)],_0x440020['url']];}case _0x1e4a6b[_0x557f52(0x225)]:case _0x1e4a6b[_0x557f52(0x1b4)]:case _0x1e4a6b['UpdatedAt']:return[qi(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b[_0x557f52(0x3ae)]:case _0x1e4a6b[_0x557f52(0x429)]:return[Ji(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b['Progress']:return[Yi(_0x3a6836,_0x2d9645),$(_0x3a6836)];case _0x1e4a6b[_0x557f52(0x1cb)]:return _0x3a6836?[_0x557f52(0x3a1),_0x557f52(0x367),_0x557f52(0x282)]:[_0x557f52(0x3f2),'No',_0x557f52(0x37a)];case _0x1e4a6b[_0x557f52(0x2da)]:return Xi(_0x3a6836);default:return[$(_0x3a6836)];}}function Ui(_0x1a92e9,_0x328ec4){const _0x1f984a=_0x396ed2;var _0xda75fe;let _0x400014=Array[_0x1f984a(0x3db)]((_0xda75fe=_0x328ec4[_0x1f984a(0x285)])==null?void 0x0:_0xda75fe[_0x1f984a(0x198)])?_0x328ec4[_0x1f984a(0x285)][_0x1f984a(0x198)]:[],_0x44e852=[];if(Array[_0x1f984a(0x3db)](_0x1a92e9)){for(let _0x3d062d=0x0;_0x3d062d<_0x1a92e9['length'];_0x3d062d++){if(!(_0x3d062d in _0x1a92e9))continue;let _0x1d4ba0=String(_0x1a92e9[_0x3d062d]);_0x1d4ba0&&_0x44e852[_0x1f984a(0x258)](Wi(_0x400014,_0x1d4ba0));}return _0x44e852;}if(_0x1a92e9!=null){let _0x2e3f9c=String(_0x1a92e9);_0x2e3f9c&&_0x44e852['push'](Wi(_0x400014,_0x2e3f9c));}return _0x44e852;}function Wi(_0x5be492,_0x30cf19){const _0x48920d=_0x396ed2;for(let _0x1e9c1f of _0x5be492){if(typeof _0x1e9c1f=='string'&&_0x1e9c1f===_0x30cf19)return _0x1e9c1f;if(_0x1e9c1f&&typeof _0x1e9c1f=='object'){var _0x50281e,_0x2206c2,_0x11c56b;let _0x1211d7=_0x1e9c1f;if(String((_0x50281e=(_0x2206c2=_0x1211d7['id'])==null?_0x1211d7[_0x48920d(0x28c)]:_0x2206c2)==null?'':_0x50281e)===_0x30cf19||String((_0x11c56b=_0x1211d7[_0x48920d(0x28c)])==null?'':_0x11c56b)===_0x30cf19){var _0x1864b9,_0xf8426b;return String((_0x1864b9=(_0xf8426b=_0x1211d7['name'])==null?_0x1211d7['id']:_0xf8426b)==null?_0x30cf19:_0x1864b9);}}}return _0x30cf19;}function Gi(_0x1ce37a){const _0x31c85d=_0x396ed2;if(_0x1ce37a&&typeof _0x1ce37a==_0x31c85d(0x25a)&&!Array[_0x31c85d(0x3db)](_0x1ce37a)){var _0x13456c,_0x8a46b4,_0x8b4e68;let _0x2ce4db=_0x1ce37a;return{'text':String((_0x13456c=(_0x8a46b4=_0x2ce4db[_0x31c85d(0x305)])==null?_0x2ce4db[_0x31c85d(0x2f1)]:_0x8a46b4)==null?'':_0x13456c),'url':String((_0x8b4e68=_0x2ce4db[_0x31c85d(0x2f1)])==null?'':_0x8b4e68)};}return{'text':$(_0x1ce37a),'url':$(_0x1ce37a)};}function Ki(_0x1455d2){const _0x2c74b4=_0x396ed2;let _0xe68af2=Gi(_0x1455d2);return _0xe68af2['text']||_0xe68af2[_0x2c74b4(0x2f1)];}function qi(_0xff5d6,_0x2ed50f){const _0x47d115=_0x396ed2;return typeof _0xff5d6!=_0x47d115(0x267)||!Number[_0x47d115(0x1da)](_0xff5d6)?'':st(_0xff5d6,_0x2ed50f['config']);}function Ji(_0x5e3559,_0x3bfbe5){const _0x83a31e=_0x396ed2;let _0x7bde54=typeof _0x5e3559==_0x83a31e(0x267)?_0x5e3559:Number(_0x5e3559);return Number[_0x83a31e(0x1da)](_0x7bde54)?Qr(_0x7bde54,_0x3bfbe5[_0x83a31e(0x285)]):'';}function Yi(_0x233d13,_0x2812d9){const _0x492e62=_0x396ed2;var _0x59c4d6;let _0x402a18=typeof _0x233d13==_0x492e62(0x267)?_0x233d13:Number(_0x233d13);if(!Number[_0x492e62(0x1da)](_0x402a18))return'';let _0x18c3d0=(_0x59c4d6=_0x2812d9[_0x492e62(0x285)])==null?{}:_0x59c4d6,_0x52db54=_0x18c3d0[_0x492e62(0x32e)]===0x1||_0x18c3d0[_0x492e62(0x32e)]===0x2?_0x18c3d0[_0x492e62(0x32e)]:0x0,_0x25cc2d=_0x402a18[_0x492e62(0x34f)](_0x52db54);return _0x18c3d0[_0x492e62(0x1f7)]==='number'?_0x25cc2d:_0x25cc2d+'%';}function Xi(_0x20dd53){const _0x50ac89=_0x396ed2;return Array[_0x50ac89(0x3db)](_0x20dd53)?_0x20dd53[_0x50ac89(0x338)](_0x50c835=>{const _0x1de850=_0x50ac89;var _0xfbbad,_0x2727d0;if(!_0x50c835||typeof _0x50c835!=_0x1de850(0x25a))return[];let _0x4be58d=_0x50c835,_0x3bfede=String((_0xfbbad=(_0x2727d0=_0x4be58d[_0x1de850(0x28c)])==null?_0x4be58d[_0x1de850(0x2f1)]:_0x2727d0)==null?'':_0xfbbad)['trim']();return _0x3bfede?[_0x3bfede]:[];}):[];}function $(_0x17eda0){const _0x2dd6e4=_0x396ed2;if(_0x17eda0==null)return'';if(typeof _0x17eda0=='boolean')return _0x17eda0?_0x2dd6e4(0x2a7):_0x2dd6e4(0x3a8);if(typeof _0x17eda0==_0x2dd6e4(0x267))return String(_0x17eda0);if(Array[_0x2dd6e4(0x3db)](_0x17eda0)){let _0x3826f4=[];for(let _0x1634a7=0x0;_0x1634a7<_0x17eda0['length'];_0x1634a7++){if(!(_0x1634a7 in _0x17eda0))continue;let _0x4d7855=$(_0x17eda0[_0x1634a7]);_0x4d7855&&_0x3826f4['push'](_0x4d7855);}return _0x3826f4[_0x2dd6e4(0x186)](',\x20');}if(typeof _0x17eda0=='object'){var _0x148878,_0x4a9646,_0x16682c,_0x1dd295;let _0x30ff2d=_0x17eda0;return String((_0x148878=(_0x4a9646=(_0x16682c=(_0x1dd295=_0x30ff2d[_0x2dd6e4(0x3b1)])==null?_0x30ff2d[_0x2dd6e4(0x28c)]:_0x1dd295)==null?_0x30ff2d[_0x2dd6e4(0x305)]:_0x16682c)==null?_0x30ff2d[_0x2dd6e4(0x2f1)]:_0x4a9646)==null?'':_0x148878)[_0x2dd6e4(0x317)]();}return String(_0x17eda0);}function Zi(_0x5d79dd,_0x2014fb){const _0xce2082=_0x396ed2;let _0x1138ff=0x0;for(let _0x195093 of _0x2014fb)if(_0x195093){if(_0x195093===_0x5d79dd){_0x1138ff=Math[_0xce2082(0x422)](_0x1138ff,0x12c);continue;}if(_0x195093[_0xce2082(0x30d)](_0x5d79dd)){_0x1138ff=Math[_0xce2082(0x422)](_0x1138ff,0xfa);continue;}_0x195093[_0xce2082(0x323)](_0x5d79dd)&&(_0x1138ff=Math['max'](_0x1138ff,0xc8));}return _0x1138ff;}function Qi(_0x3694f5){const _0x5b0554=_0x396ed2;return _0x3694f5['trim']()['replace'](/\s+/g,'\x20')[_0x5b0554(0x1ad)]();}function $i(_0x1b8ed7){const _0x33a2ae=_0x396ed2;return Array[_0x33a2ae(0x34b)](new Set(_0x1b8ed7));}function ea(_0x4f5cae){const _0x147cb9=_0x396ed2;let _0x38a29f=[];for(let {rowIndex:_0x5b90c0,fieldIndex:_0x42872d,..._0x1756aa}of _0x4f5cae)_0x38a29f[_0x147cb9(0x258)](_0x1756aa);return _0x38a29f;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};
|