@univerjs-pro/bases 1.0.0-alpha.0 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/types/config/config.d.ts +10 -0
- package/lib/types/controllers/base-remote-formula.controller.d.ts +2 -2
- package/lib/types/facade/index.d.ts +14 -7
- package/lib/types/index.d.ts +12 -44
- package/lib/types/plugin.d.ts +6 -3
- package/lib/types/services/base-command.service.d.ts +5 -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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x46d2a0=_0x2d01;(function(_0x426d51,_0x466806){const _0x5db674=_0x2d01,_0x3e5d50=_0x426d51();while(!![]){try{const _0x2790d0=-parseInt(_0x5db674(0x3be))/0x1*(parseInt(_0x5db674(0x210))/0x2)+-parseInt(_0x5db674(0x35b))/0x3*(parseInt(_0x5db674(0x2d4))/0x4)+-parseInt(_0x5db674(0x1e8))/0x5+-parseInt(_0x5db674(0x172))/0x6+parseInt(_0x5db674(0x1d7))/0x7+parseInt(_0x5db674(0x38f))/0x8*(parseInt(_0x5db674(0x1f1))/0x9)+parseInt(_0x5db674(0x274))/0xa;if(_0x2790d0===_0x466806)break;else _0x3e5d50['push'](_0x3e5d50['shift']());}catch(_0x317f48){_0x3e5d50['push'](_0x3e5d50['shift']());}}}(_0x1481,0x8aa9e));import{BaseDataModel as _0x573c5c,CellValueType as _0x3fad1c,CommandType as _0x5de53d,DependentOn as _0x16321c,Disposable as _0x4b1be4,ICommandService as _0x43f40c,IUndoRedoService as _0x2d1f6c,IUniverInstanceService as _0x569efc,Inject as _0xdfd2da,Injector as _0x5210c8,JSON1 as _0x58ebbb,ObjectMatrix as _0x143f33,Optional as _0x2896fd,Plugin as _0x4a0686,Tools as _0xef6ec6,UniverInstanceType as _0x3ae749,createIdentifier as _0x28c6bb,dateKit as _0x3e667f,generateRandomId as _0x26ccc7,numfmt as _0x1471f4,toDisposable as _0x30fdc4,touchDependencies as _0x105b8e}from'@univerjs/core';import{IActiveDirtyManagerService as _0x4b180e,ISuperTableService as _0x18b795,SetFormulaCalculationResultMutation as _0x1c0902,SetFormulaCalculationStartMutation as _0x371584,SetFormulaDataMutation as _0x2d1b6d,UniverProFormulaEnginePlugin as _0xc94849}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x2db387}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x34add2}from'@univerjs/rpc';let le=0x0;function x(){const _0x1fc054=_0x2d01;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x454090=typeof location>'u'?'':location[_0x1fc054(0x3e7)],_0xf98a2b=new URLSearchParams(_0x454090);if(_0xf98a2b[_0x1fc054(0x256)]('basePerf')==='1'||_0xf98a2b[_0x1fc054(0x256)](_0x1fc054(0x218))==='true'||_0xf98a2b[_0x1fc054(0x256)](_0x1fc054(0x328))==='1')return!0x0;}catch{}try{let _0x22f217=typeof localStorage>'u'?null:localStorage[_0x1fc054(0x336)](_0x1fc054(0x3fe));return _0x22f217==='1'||_0x22f217===_0x1fc054(0x2cd);}catch{return!0x1;}}function S(_0x1dbe74,_0x4b8784,_0x4397a4){const _0x470e17=_0x2d01;if(!x())return _0x4b8784();let _0xade992=fe(),_0x23bde3=_0x470e17(0x287)+le++;pe(_0x23bde3+_0x470e17(0x1df));try{return _0x4b8784();}finally{let _0x1ded06=fe()-_0xade992;pe(_0x23bde3+':end'),me(_0x1dbe74,_0x23bde3+_0x470e17(0x1df),_0x23bde3+_0x470e17(0x2b5)),de(_0x1dbe74,_0x1ded06,_0x4397a4);}}async function ue(_0x1ed270,_0x6fa8d8,_0x2a3aeb){const _0x3ac378=_0x2d01;if(!x())return _0x6fa8d8();let _0x40a6d6=fe(),_0xbde950=_0x3ac378(0x287)+le++;pe(_0xbde950+_0x3ac378(0x1df));try{return await _0x6fa8d8();}finally{let _0x848642=fe()-_0x40a6d6;pe(_0xbde950+_0x3ac378(0x2b5)),me(_0x1ed270,_0xbde950+_0x3ac378(0x1df),_0xbde950+_0x3ac378(0x2b5)),de(_0x1ed270,_0x848642,_0x2a3aeb);}}function de(_0x10119f,_0x3216a6,_0x32f3eb){const _0x28240e=_0x2d01;if(!x())return;let _0x9fcaa5=Math[_0x28240e(0x3df)](_0x3216a6*0x64)/0x64,_0x2ef5c2=_0x32f3eb&&Object[_0x28240e(0x34d)](_0x32f3eb)[_0x28240e(0x1f9)]?'\x20'+JSON['stringify'](_0x32f3eb):'';console[_0x28240e(0x200)](_0x28240e(0x375)+_0x10119f+':\x20'+_0x9fcaa5+'ms'+_0x2ef5c2);}function fe(){const _0x24bf85=_0x2d01;return typeof performance<'u'&&typeof performance['now']=='function'?performance[_0x24bf85(0x3ea)]():Date['now']();}function pe(_0xbe4765){const _0x212167=_0x2d01;try{if(typeof performance<'u'){var _0x2a2a3a,_0x4ef36a;(_0x2a2a3a=(_0x4ef36a=performance)[_0x212167(0x166)])==null||_0x2a2a3a[_0x212167(0x226)](_0x4ef36a,_0xbe4765);}}catch{}}function me(_0x4ffe92,_0x5bed31,_0x3d53fd){const _0x542956=_0x2d01;try{if(typeof performance<'u'){var _0x315e65,_0x50dcb1;(_0x315e65=(_0x50dcb1=performance)[_0x542956(0x341)])==null||_0x315e65['call'](_0x50dcb1,_0x542956(0x375)+_0x4ffe92,_0x5bed31,_0x3d53fd);}}catch{}}function C(_0x45cea7){const _0x277e=_0x2d01;var _0x619de7,_0x1c534c;return x()?S(_0x277e(0x24b),()=>he(_0x45cea7),{'tableId':_0x45cea7['id'],'records':Object[_0x277e(0x34d)]((_0x619de7=_0x45cea7[_0x277e(0x1ab)])==null?{}:_0x619de7)['length'],'fields':_0x45cea7['fieldOrder'][_0x277e(0x1f9)],'hasRecordOrder':!!((_0x1c534c=_0x45cea7[_0x277e(0x3fd)])!=null&&_0x1c534c['length'])}):he(_0x45cea7);}function he(_0x5c75af){const _0xcb65f9=_0x2d01;var _0x236f4a,_0x12e397,_0x1c8837,_0x4d4acb,_0x56186b,_0x46fcf7,_0x528729,_0x318aee,_0x6a259e,_0x3601c5;let _0x540cbd=(_0x236f4a=_0x5c75af[_0xcb65f9(0x1ab)])==null?{}:_0x236f4a,_0x54ac70=(_0x12e397=_0x5c75af['fields'])==null?{}:_0x12e397,_0x132f0e=(_0x1c8837=(_0x4d4acb=_0x5c75af[_0xcb65f9(0x3fd)])==null?void 0x0:_0x4d4acb[_0xcb65f9(0x3f5)](_0x56e002=>_0x540cbd[_0x56e002]))==null?[]:_0x1c8837,_0x2a571e=new Set(_0x132f0e),_0x397f42=Object[_0xcb65f9(0x260)](_0x540cbd)[_0xcb65f9(0x3f5)](_0x4c55f4=>!_0x2a571e[_0xcb65f9(0x3a9)](_0x4c55f4['id'])),_0x5a666d=_0x397f42[_0xcb65f9(0x1f9)]?[..._0x132f0e,..._0x397f42[_0xcb65f9(0x16d)]((_0x1dbd8d,_0x29c6a3)=>_0x1dbd8d[_0xcb65f9(0x224)][_0xcb65f9(0x349)](_0x29c6a3[_0xcb65f9(0x224)]))['map'](_0x4bd1b7=>_0x4bd1b7['id'])]:_0x132f0e,_0x579e58=_0x5c75af[_0xcb65f9(0x31e)][_0xcb65f9(0x3f5)](_0x104797=>_0x54ac70[_0x104797]),_0xfe720={...(_0x56186b=_0x5c75af[_0xcb65f9(0x185)])==null?{}:_0x56186b},_0x35e345={...(_0x46fcf7=_0x5c75af[_0xcb65f9(0x304)])==null?{}:_0x46fcf7},_0x176aae={...(_0x528729=_0x5c75af['cellData'])==null?{}:_0x528729};return _0x5c75af[_0xcb65f9(0x3fd)]=_0x5a666d,_0x5c75af[_0xcb65f9(0x267)]={},_0x5c75af[_0xcb65f9(0x185)]={},_0x5c75af['colIndex']={},_0x5c75af[_0xcb65f9(0x304)]={},_0x5c75af['cellData']={},_0x5c75af[_0xcb65f9(0x30b)]={...(_0x318aee=_0x5c75af[_0xcb65f9(0x30b)])==null?{}:_0x318aee},_0x5c75af[_0xcb65f9(0x30b)][_0xcb65f9(0x3ca)]={...(_0x6a259e=_0x5c75af[_0xcb65f9(0x30b)]['attachmentSets'])==null?{}:_0x6a259e},_0x5c75af[_0xcb65f9(0x30b)][_0xcb65f9(0x247)]={...(_0x3601c5=_0x5c75af[_0xcb65f9(0x30b)]['attachments'])==null?{}:_0x3601c5},_0x5a666d['forEach']((_0x29e6f0,_0x860f9c)=>{const _0x6b53f6=_0xcb65f9;_0x5c75af[_0x6b53f6(0x267)][_0x29e6f0]=_0x860f9c,_0x5c75af[_0x6b53f6(0x185)][_0x860f9c]=_0x29e6f0;}),_0x579e58[_0xcb65f9(0x3f2)]((_0x58b7d6,_0x5e54d2)=>{const _0x402651=_0xcb65f9;_0x5c75af['colIndex'][_0x58b7d6]=_0x5e54d2,_0x5c75af[_0x402651(0x304)][_0x5e54d2]=_0x58b7d6;}),Object[_0xcb65f9(0x384)](_0x176aae)[_0xcb65f9(0x3f2)](([_0x5ce1ee,_0xe68323])=>{const _0x36afde=_0xcb65f9;var _0x3d1321,_0x400e01;let _0x119c4a=Number(_0x5ce1ee),_0x273e46=(_0x3d1321=_0xfe720[_0x119c4a])==null?_0x5a666d[_0x119c4a]:_0x3d1321,_0xd5b482=_0x273e46?_0x5c75af[_0x36afde(0x267)][_0x273e46]:void 0x0;_0xd5b482!=null&&(_0x5c75af[_0x36afde(0x3a1)][_0xd5b482]={...(_0x400e01=_0x5c75af[_0x36afde(0x3a1)][_0xd5b482])==null?{}:_0x400e01},Object[_0x36afde(0x384)](_0xe68323==null?{}:_0xe68323)['forEach'](([_0xa8283a,_0x26f822])=>{const _0x9688dd=_0x36afde;var _0x426ee7;let _0x41a0be=Number(_0xa8283a),_0x36cd83=(_0x426ee7=_0x35e345[_0x41a0be])==null?_0x579e58[_0x41a0be]:_0x426ee7,_0x5528a0=_0x36cd83?_0x5c75af[_0x9688dd(0x3ff)][_0x36cd83]:void 0x0;_0x5528a0!=null&&(_0x5c75af[_0x9688dd(0x3a1)][_0xd5b482][_0x5528a0]=Ce(_0x26f822));}));}),Object[_0xcb65f9(0x260)](_0x540cbd)[_0xcb65f9(0x3f2)](_0x154e1f=>{const _0x1769ea=_0xcb65f9;var _0x5b5d00,_0x57b3d9;let _0x24923e=_0x5c75af[_0x1769ea(0x267)][_0x154e1f['id']];_0x24923e!=null&&(_0x5c75af[_0x1769ea(0x3a1)][_0x24923e]={...(_0x5b5d00=_0x5c75af[_0x1769ea(0x3a1)][_0x24923e])==null?{}:_0x5b5d00},Object[_0x1769ea(0x384)]((_0x57b3d9=_0x154e1f[_0x1769ea(0x260)])==null?{}:_0x57b3d9)[_0x1769ea(0x3f2)](([_0x3a19ec,_0x24c735])=>{const _0xece364=_0x1769ea;let _0x29c969=_0x54ac70[_0x3a19ec];(_0x29c969==null?void 0x0:_0x29c969[_0xece364(0x1c2)])===_0xece364(0x1ef)&&De(_0x5c75af,_0x154e1f['id'],_0x3a19ec,_0x24c735);let _0x8994ca=_0x5c75af['colIndex'][_0x3a19ec];if(_0x8994ca==null)return;let _0x5a049d=_0x5c75af['cellData'][_0x24923e][_0x8994ca];if(_0x5a049d!=null){Ae(_0x5a049d,_0x29c969,_0x24c735)&&(_0x5c75af['cellData'][_0x24923e][_0x8994ca]=w(_0x24c735,_0x29c969));return;}_0x5c75af[_0xece364(0x3a1)][_0x24923e][_0x8994ca]=w(_0x24c735,_0x29c969);}));}),_0x5c75af;}function ge(_0x1162be){const _0x186b55=_0x2d01;var _0x478615;return C(_0x1162be),Object[_0x186b55(0x384)]((_0x478615=_0x1162be[_0x186b55(0x185)])==null?{}:_0x478615)[_0x186b55(0x3f2)](([_0x37aadb,_0x136dbf])=>{const _0x19d435=_0x186b55;var _0x39a108,_0xa2295b,_0x3092dd;let _0x3569ac=Number(_0x37aadb),_0x31ad5a=_0x1162be['records'][_0x136dbf];_0x31ad5a&&(_0x31ad5a[_0x19d435(0x260)]={...(_0x39a108=_0x31ad5a[_0x19d435(0x260)])==null?{}:_0x39a108},Object[_0x19d435(0x384)]((_0xa2295b=(_0x3092dd=_0x1162be[_0x19d435(0x3a1)])==null?void 0x0:_0x3092dd[_0x3569ac])==null?{}:_0xa2295b)['forEach'](([_0x10b2ea,_0x5d0f8b])=>{const _0x598bbf=_0x19d435;var _0xa50594;let _0x50749e=(_0xa50594=_0x1162be[_0x598bbf(0x304)])==null?void 0x0:_0xa50594[Number(_0x10b2ea)];_0x50749e&&(_0x31ad5a['values'][_0x50749e]=T(_0x5d0f8b,_0x1162be['fields'][_0x50749e],_0x1162be,_0x136dbf));}));}),_0x1162be;}function _e(_0xda15da,_0x4ce69f){const _0x4fc662=_0x2d01;for(let {row:_0x128c68,col:_0x5a7a14}of _0x4ce69f){var _0x235882,_0x34fc4a,_0x35b9e1,_0x3a7ba1;let _0x16f76f=(_0x235882=_0xda15da[_0x4fc662(0x185)])==null?void 0x0:_0x235882[_0x128c68],_0xba595b=(_0x34fc4a=_0xda15da[_0x4fc662(0x304)])==null?void 0x0:_0x34fc4a[_0x5a7a14],_0xb51456=_0x16f76f?_0xda15da[_0x4fc662(0x1ab)][_0x16f76f]:void 0x0;!_0xb51456||!_0xba595b||(_0xb51456[_0x4fc662(0x260)]={...(_0x35b9e1=_0xb51456[_0x4fc662(0x260)])==null?{}:_0x35b9e1},_0xb51456[_0x4fc662(0x260)][_0xba595b]=T((_0x3a7ba1=_0xda15da['cellData'])==null||(_0x3a7ba1=_0x3a7ba1[_0x128c68])==null?void 0x0:_0x3a7ba1[_0x5a7a14],_0xda15da[_0x4fc662(0x263)][_0xba595b],_0xda15da,_0x16f76f));}return _0xda15da;}function ve(_0x40b917,_0x57c141,_0x3167aa){const _0xaa9d9a=_0x2d01;var _0x13a299,_0xd8a2fc,_0x1d8f39,_0x10226d,_0x23faa9,_0x6b11e8;let _0x27e188=(_0x13a299=_0x40b917[_0xaa9d9a(0x267)])==null?void 0x0:_0x13a299[_0x57c141],_0x2434b7=(_0xd8a2fc=_0x40b917[_0xaa9d9a(0x3ff)])==null?void 0x0:_0xd8a2fc[_0x3167aa];if(_0x27e188!=null&&_0x2434b7!=null&&((_0x1d8f39=_0x40b917[_0xaa9d9a(0x185)])==null?void 0x0:_0x1d8f39[_0x27e188])===_0x57c141&&((_0x10226d=_0x40b917[_0xaa9d9a(0x304)])==null?void 0x0:_0x10226d[_0x2434b7])===_0x3167aa)return{'row':_0x27e188,'col':_0x2434b7};let _0x2ed655=C(_0x40b917),_0x3a100e=(_0x23faa9=_0x2ed655[_0xaa9d9a(0x267)])==null?void 0x0:_0x23faa9[_0x57c141],_0x4cec61=(_0x6b11e8=_0x2ed655[_0xaa9d9a(0x3ff)])==null?void 0x0:_0x6b11e8[_0x3167aa];return _0x3a100e==null||_0x4cec61==null?null:{'row':_0x3a100e,'col':_0x4cec61};}function ye(_0x2d8703,_0x2adf8c,_0x4dc022){const _0x49d38d=_0x2d01;var _0x798f3c;let _0x237c87=ve(_0x2d8703,_0x2adf8c,_0x4dc022);if(_0x237c87)return(_0x798f3c=_0x2d8703[_0x49d38d(0x3a1)])==null||(_0x798f3c=_0x798f3c[_0x237c87[_0x49d38d(0x1c7)]])==null?void 0x0:_0x798f3c[_0x237c87[_0x49d38d(0x329)]];}function be(_0x6ec095,_0x1dbeb3,_0x1007dd){const _0x45bbb5=_0x2d01;var _0x1ea110,_0x389b3d;let _0x4ace81=ye(_0x6ec095,_0x1dbeb3,_0x1007dd),_0x5266bf=_0x6ec095[_0x45bbb5(0x263)][_0x1007dd];if((_0x5266bf==null?void 0x0:_0x5266bf[_0x45bbb5(0x1c2)])===_0x45bbb5(0x1ef)){var _0x2f19f4,_0x40eabe;return(_0x2f19f4=Oe(_0x6ec095,_0x1dbeb3,_0x1007dd))==null?E((_0x40eabe=_0x6ec095[_0x45bbb5(0x1ab)][_0x1dbeb3])==null||(_0x40eabe=_0x40eabe[_0x45bbb5(0x260)])==null?void 0x0:_0x40eabe[_0x1007dd]):_0x2f19f4;}if(D(_0x5266bf)||(_0x5266bf==null?void 0x0:_0x5266bf[_0x45bbb5(0x1c2)])===_0x45bbb5(0x3da)){var _0x370524;let _0x4c7c63=(_0x370524=_0x6ec095[_0x45bbb5(0x1ab)][_0x1dbeb3])==null||(_0x370524=_0x370524[_0x45bbb5(0x260)])==null?void 0x0:_0x370524[_0x1007dd];return _0x4c7c63!=null&&_0x4c7c63!==''?ke(_0x4c7c63,_0x5266bf):T(_0x4ace81,_0x5266bf,_0x6ec095,_0x1dbeb3);}if(_0x4ace81&&Object[_0x45bbb5(0x366)][_0x45bbb5(0x1a7)][_0x45bbb5(0x226)](_0x4ace81,'v')){var _0x1d282d;return(_0x1d282d=_0x4ace81['v'])==null?null:_0x1d282d;}return(_0x1ea110=(_0x389b3d=_0x6ec095[_0x45bbb5(0x1ab)][_0x1dbeb3])==null||(_0x389b3d=_0x389b3d[_0x45bbb5(0x260)])==null?void 0x0:_0x389b3d[_0x1007dd])==null?null:_0x1ea110;}function xe(_0x119a63,_0x5718aa,_0x5d38ca){const _0x171d36=_0x2d01;var _0x2df941,_0x44841a,_0x273b75;let _0x1fd512=ye(_0x119a63,_0x5718aa,_0x5d38ca);if(_0x1fd512&&Object[_0x171d36(0x366)]['hasOwnProperty']['call'](_0x1fd512,'v')){var _0x6ce3ff;return(_0x6ce3ff=_0x1fd512['v'])==null?null:_0x6ce3ff;}let _0xeac238=_0x119a63[_0x171d36(0x263)][_0x5d38ca];return(_0x2df941=w((_0x44841a=(_0x273b75=_0x119a63[_0x171d36(0x1ab)][_0x5718aa])==null||(_0x273b75=_0x273b75[_0x171d36(0x260)])==null?void 0x0:_0x273b75[_0x5d38ca])==null?null:_0x44841a,_0xeac238)['v'])==null?null:_0x2df941;}function Se(_0x3bcbdd,_0x5665cc,_0x316b42,_0x72357f){const _0x5bb981=_0x2d01;var _0x5d4ad6,_0x27916c,_0x57e2dc,_0x36a1d1;let _0xd0cef3=C(_0x3bcbdd),_0x499320=(_0x5d4ad6=_0xd0cef3['rowIndex'])==null?void 0x0:_0x5d4ad6[_0x5665cc],_0x2fe653=(_0x27916c=_0xd0cef3[_0x5bb981(0x3ff)])==null?void 0x0:_0x27916c[_0x316b42];_0x499320==null||_0x2fe653==null||(_0xd0cef3['cellData'][_0x499320]={...(_0x57e2dc=_0xd0cef3['cellData'][_0x499320])==null?{}:_0x57e2dc},_0xd0cef3[_0x5bb981(0x3a1)][_0x499320][_0x2fe653]=w(_0x72357f,_0xd0cef3[_0x5bb981(0x263)][_0x316b42]),((_0x36a1d1=_0xd0cef3[_0x5bb981(0x263)][_0x316b42])==null?void 0x0:_0x36a1d1[_0x5bb981(0x1c2)])===_0x5bb981(0x1ef)&&De(_0xd0cef3,_0x5665cc,_0x316b42,_0x72357f),_0xd0cef3[_0x5bb981(0x1ab)][_0x5665cc][_0x5bb981(0x260)][_0x316b42]=we(_0x72357f,_0xd0cef3[_0x5bb981(0x3a1)][_0x499320][_0x2fe653],_0xd0cef3[_0x5bb981(0x263)][_0x316b42],_0xd0cef3,_0x5665cc));}function w(_0x19aa5c,_0xd7847){const _0xdf60b1=_0x2d01;if(Te(_0x19aa5c))return(_0xd7847==null?void 0x0:_0xd7847['type'])===_0xdf60b1(0x1ef)?{..._0x19aa5c,'v':'','t':_0x3fad1c[_0xdf60b1(0x251)]}:Ce(_0x19aa5c);if((_0xd7847==null?void 0x0:_0xd7847[_0xdf60b1(0x1c2)])==='attachment')return{'v':'','t':_0x3fad1c['STRING']};if(D(_0xd7847))return{'v':je(_0x19aa5c)[_0xdf60b1(0x358)](',\x20'),'t':_0x3fad1c['STRING']};if((_0xd7847==null?void 0x0:_0xd7847[_0xdf60b1(0x1c2)])==='link'&&_0x19aa5c&&typeof _0x19aa5c==_0xdf60b1(0x28d)&&!Array[_0xdf60b1(0x316)](_0x19aa5c)){var _0x19859a,_0x19a0c2;let _0x546051=_0x19aa5c;return{'v':String((_0x19859a=(_0x19a0c2=_0x546051['text'])==null?_0x546051[_0xdf60b1(0x1ed)]:_0x19a0c2)==null?'':_0x19859a),'t':_0x3fad1c['STRING']};}return _0x19aa5c===null||typeof _0x19aa5c==_0xdf60b1(0x181)||typeof _0x19aa5c==_0xdf60b1(0x330)||typeof _0x19aa5c==_0xdf60b1(0x2f0)?{'v':_0x19aa5c,'t':Ne(_0x19aa5c)}:{'v':null,'t':null};}function Ce(_0x505aeb){let _0x10b557=Pe(_0x505aeb['t'],_0x505aeb['v']);if(_0x10b557===void 0x0){let {t:_0x32a5aa,..._0x274d7d}=_0x505aeb;return _0x274d7d;}return{..._0x505aeb,'t':_0x10b557};}function T(_0x203c06,_0x2f1059,_0x454fef,_0x48b0ef){const _0xc6b455=_0x2d01;if(!_0x203c06)return null;if((_0x2f1059==null?void 0x0:_0x2f1059[_0xc6b455(0x1c2)])===_0xc6b455(0x1ef)){var _0x536ab8;return _0x454fef&&_0x48b0ef?(_0x536ab8=Oe(_0x454fef,_0x48b0ef,_0x2f1059['id']))==null?[]:_0x536ab8:[];}if(D(_0x2f1059))return je(_0x203c06['v']);if((_0x2f1059==null?void 0x0:_0x2f1059[_0xc6b455(0x1c2)])==='link'&&_0x454fef&&_0x48b0ef){var _0x42b26c;let _0x20a48d=(_0x42b26c=_0x454fef[_0xc6b455(0x1ab)][_0x48b0ef])==null||(_0x42b26c=_0x42b26c[_0xc6b455(0x260)])==null?void 0x0:_0x42b26c[_0x2f1059['id']];if(_0x20a48d&&typeof _0x20a48d=='object'&&!Array['isArray'](_0x20a48d))return _0x20a48d;}if(Object[_0xc6b455(0x366)]['hasOwnProperty']['call'](_0x203c06,'v')){var _0x244a6b;return(_0x244a6b=_0x203c06['v'])==null?null:_0x244a6b;}return null;}function we(_0x455dbb,_0x4da111,_0x4134c2,_0x2927c6,_0x269397){const _0x2870fb=_0x2d01;return(_0x4134c2==null?void 0x0:_0x4134c2[_0x2870fb(0x1c2)])==='attachment'?E(_0x455dbb):D(_0x4134c2)?je(_0x455dbb):(_0x4134c2==null?void 0x0:_0x4134c2['type'])===_0x2870fb(0x3da)&&_0x455dbb&&typeof _0x455dbb=='object'&&!Array[_0x2870fb(0x316)](_0x455dbb)&&!Te(_0x455dbb)?_0x455dbb:T(_0x4da111,_0x4134c2,_0x2927c6,_0x269397);}function Te(_0x3c8c85){const _0x1b0160=_0x2d01;return!!_0x3c8c85&&typeof _0x3c8c85==_0x1b0160(0x28d)&&(Object['prototype'][_0x1b0160(0x1a7)]['call'](_0x3c8c85,'v')||Object[_0x1b0160(0x366)][_0x1b0160(0x1a7)]['call'](_0x3c8c85,'t')||Object[_0x1b0160(0x366)][_0x1b0160(0x1a7)][_0x1b0160(0x226)](_0x3c8c85,'p')||Object['prototype'][_0x1b0160(0x1a7)][_0x1b0160(0x226)](_0x3c8c85,'f')||Object['prototype'][_0x1b0160(0x1a7)][_0x1b0160(0x226)](_0x3c8c85,'si'));}function Ee(_0x14ad99,_0x3410b1){return _0x14ad99+'\x1f'+_0x3410b1;}function De(_0x350f61,_0x1ea3a8,_0x262334,_0x59c760){const _0xc7f9a8=_0x2d01;var _0x309dcb,_0x392b62,_0x19f9fb;let _0x6f0ac7=E(_0x59c760);_0x350f61[_0xc7f9a8(0x30b)]={...(_0x309dcb=_0x350f61['resources'])==null?{}:_0x309dcb},_0x350f61['resources'][_0xc7f9a8(0x3ca)]={...(_0x392b62=_0x350f61['resources'][_0xc7f9a8(0x3ca)])==null?{}:_0x392b62},_0x350f61['resources']['attachments']={...(_0x19f9fb=_0x350f61['resources'][_0xc7f9a8(0x247)])==null?{}:_0x19f9fb};let _0x6a10f8=Ee(_0x262334,_0x1ea3a8);_0x350f61[_0xc7f9a8(0x30b)][_0xc7f9a8(0x3ca)][_0x6a10f8]=_0x6f0ac7[_0xc7f9a8(0x3e2)]((_0x20a0e4,_0x1f7058)=>{const _0x5ca151=_0xc7f9a8;var _0x20fea2;let _0x528907=String((_0x20fea2=_0x20a0e4['id'])==null?_0x6a10f8+'\x1f'+_0x1f7058:_0x20fea2),_0xdf5ac1={..._0x20a0e4,'id':_0x528907};return _0x350f61[_0x5ca151(0x30b)][_0x5ca151(0x247)][_0x528907]=_0xdf5ac1,_0x528907;});}function Oe(_0x36d2ec,_0x32696d,_0x224da0){const _0x14df1e=_0x2d01;var _0x5c9b42;let _0x282d47=Ee(_0x224da0,_0x32696d),_0x16a7ff=(_0x5c9b42=_0x36d2ec[_0x14df1e(0x30b)])==null||(_0x5c9b42=_0x5c9b42[_0x14df1e(0x3ca)])==null?void 0x0:_0x5c9b42[_0x282d47];return _0x16a7ff?_0x16a7ff[_0x14df1e(0x3e2)](_0xe2781a=>{const _0x276f29=_0x14df1e;var _0x2ff053;return(_0x2ff053=_0x36d2ec[_0x276f29(0x30b)])==null||(_0x2ff053=_0x2ff053[_0x276f29(0x247)])==null?void 0x0:_0x2ff053[_0xe2781a];})[_0x14df1e(0x3f5)](_0x335000=>!!_0x335000)[_0x14df1e(0x3e2)](_0x104651=>({..._0x104651})):null;}function E(_0x3ce047){const _0x2b0ed2=_0x2d01;return _0x3ce047==null||_0x3ce047===''||Te(_0x3ce047)&&!('id'in _0x3ce047)&&!(_0x2b0ed2(0x3bb)in _0x3ce047)?[]:(Array['isArray'](_0x3ce047)?_0x3ce047:[_0x3ce047])[_0x2b0ed2(0x3e2)]((_0x59e8c1,_0xfac183)=>_0x59e8c1&&typeof _0x59e8c1==_0x2b0ed2(0x28d)?{..._0x59e8c1}:{'id':_0x2b0ed2(0x23b)+_0xfac183,'name':String(_0x59e8c1)})[_0x2b0ed2(0x3f5)](_0x246706=>Object[_0x2b0ed2(0x34d)](_0x246706)['length']>0x0);}function ke(_0xd328a4,_0x18ae56){const _0x2ba2ca=_0x2d01;return(_0x18ae56==null?void 0x0:_0x18ae56['type'])===_0x2ba2ca(0x1ef)?E(_0xd328a4):D(_0x18ae56)?je(_0xd328a4):_0xd328a4;}function Ae(_0x3d75f8,_0x27cf1d,_0x3f57d1){const _0x41f40f=_0x2d01;return(_0x27cf1d==null?void 0x0:_0x27cf1d[_0x41f40f(0x1c2)])===_0x41f40f(0x1ef)?_0x3d75f8['v']!=='':D(_0x27cf1d)?Array[_0x41f40f(0x316)](_0x3f57d1)&&(_0x3d75f8['v']==null||_0x3d75f8['v']===''):!0x1;}function D(_0x4109ca){const _0x4825f3=_0x2d01;return(_0x4109ca==null?void 0x0:_0x4109ca['type'])===_0x4825f3(0x3d0)||(_0x4109ca==null?void 0x0:_0x4109ca['type'])===_0x4825f3(0x34c)||(_0x4109ca==null?void 0x0:_0x4109ca[_0x4825f3(0x1c2)])===_0x4825f3(0x24e);}function je(_0x2f3515){const _0x262e34=_0x2d01;return _0x2f3515==null||_0x2f3515===''?[]:Array[_0x262e34(0x316)](_0x2f3515)?_0x2f3515[_0x262e34(0x3e2)](_0x3e0aac=>Me(_0x3e0aac))[_0x262e34(0x3f5)](Boolean):String(_0x2f3515)['split'](',')[_0x262e34(0x3e2)](_0x420066=>_0x420066['trim']())['filter'](Boolean);}function Me(_0x3d850b){const _0x2cf9ea=_0x2d01;if(_0x3d850b==null)return'';if(typeof _0x3d850b==_0x2cf9ea(0x181)||typeof _0x3d850b==_0x2cf9ea(0x330)||typeof _0x3d850b=='boolean')return String(_0x3d850b);if(typeof _0x3d850b==_0x2cf9ea(0x28d)){var _0x48ebef,_0x4d7728,_0x23e4ed;let _0x2d1a88=_0x3d850b;return String((_0x48ebef=(_0x4d7728=(_0x23e4ed=_0x2d1a88['id'])==null?_0x2d1a88[_0x2cf9ea(0x3bb)]:_0x23e4ed)==null?_0x2d1a88[_0x2cf9ea(0x35f)]:_0x4d7728)==null?'':_0x48ebef);}return String(_0x3d850b);}function Ne(_0xe0d627){const _0x900621=_0x2d01;return _0xe0d627==null?null:typeof _0xe0d627==_0x900621(0x330)?_0x3fad1c[_0x900621(0x261)]:typeof _0xe0d627=='boolean'?_0x3fad1c[_0x900621(0x194)]:_0x3fad1c[_0x900621(0x251)];}function Pe(_0x5aaee0,_0x108b60){const _0x35921e=_0x2d01;return _0x5aaee0===_0x3fad1c[_0x35921e(0x251)]||_0x5aaee0===_0x3fad1c[_0x35921e(0x261)]||_0x5aaee0===_0x3fad1c[_0x35921e(0x194)]||_0x5aaee0===_0x3fad1c[_0x35921e(0x29a)]||_0x5aaee0==null?_0x5aaee0:Ne(_0x108b60==null?null:_0x108b60);}var O=class{[_0x46d2a0(0x2e0)](_0x2491d1,_0x2ac11f){const _0x287dc8=_0x46d2a0;let _0xf9e015=this[_0x287dc8(0x25f)](_0x2ac11f),_0x56eb3d=S(_0x287dc8(0x19b),()=>He(_0x2491d1,_0x2ac11f),{'invalidations':_0xf9e015['length']}),_0x5a1043=S(_0x287dc8(0x29e),()=>_0x58ebbb[_0x287dc8(0x1c2)]['apply'](_0x56eb3d,_0x2ac11f),{'invalidations':_0xf9e015[_0x287dc8(0x1f9)]});return Fe(_0x5a1043,_0xf9e015)||this[_0x287dc8(0x1bb)](_0x5a1043,_0xf9e015)[_0x287dc8(0x3f2)](_0x32c489=>{ge(_0x32c489);}),_0x5a1043;}[_0x46d2a0(0x3f0)](_0xe97680,_0x56c693){const _0x38f188=_0x46d2a0;return _0x58ebbb[_0x38f188(0x1c2)][_0x38f188(0x3f4)](_0x56c693,_0xe97680);}['getAffectedRanges'](_0x298681){const _0x158ef5=_0x46d2a0;let _0x5a5c3a=ze(_0x298681);return _0x5a5c3a[_0x158ef5(0x1f9)]?Be(_0x5a5c3a[_0x158ef5(0x15f)](_0x5e5a13=>this[_0x158ef5(0x25f)](_0x5e5a13))):Ie(_0x298681);}['_getTablesToNormalize'](_0x565e35,_0x3676bf){const _0x45d7b3=_0x46d2a0;if(!_0x3676bf[_0x45d7b3(0x1f9)])return[];if(_0x3676bf['some'](_0x13de12=>!_0x13de12['tableId'])){var _0x5ace2a;return Object[_0x45d7b3(0x260)]((_0x5ace2a=_0x565e35['tables'])==null?{}:_0x5ace2a);}return Array[_0x45d7b3(0x368)](new Set(_0x3676bf[_0x45d7b3(0x3e2)](_0x8f867c=>_0x8f867c[_0x45d7b3(0x1e5)])))[_0x45d7b3(0x15f)](_0x1e1fb4=>{const _0x5b119e=_0x45d7b3;var _0x8f3df6;let _0x8f5597=(_0x8f3df6=_0x565e35[_0x5b119e(0x201)])==null?void 0x0:_0x8f3df6[_0x1e1fb4];return _0x8f5597?[_0x8f5597]:[];});}};function Fe(_0x4bf3ef,_0x4a5feb){const _0x3792d8=_0x46d2a0;if(!_0x4a5feb[_0x3792d8(0x1f9)]||_0x4a5feb[_0x3792d8(0x406)](_0x1fcd7d=>_0x1fcd7d[_0x3792d8(0x399)]!==_0x3792d8(0x395)))return!0x1;let _0x4244e0=new Map();for(let _0x358c39 of _0x4a5feb){var _0x2a90f6;if(!_0x358c39[_0x3792d8(0x1e5)]||_0x358c39[_0x3792d8(0x1c7)]==null||_0x358c39[_0x3792d8(0x3a3)]==null)continue;let _0x57f88f=(_0x2a90f6=_0x4244e0[_0x3792d8(0x256)](_0x358c39[_0x3792d8(0x1e5)]))==null?[]:_0x2a90f6;_0x57f88f[_0x3792d8(0x31f)]({'row':_0x358c39[_0x3792d8(0x1c7)],'col':_0x358c39[_0x3792d8(0x3a3)]}),_0x4244e0[_0x3792d8(0x3dc)](_0x358c39['tableId'],_0x57f88f);}return _0x4244e0['forEach']((_0x334412,_0x248352)=>{var _0x341e0d;let _0x12c058=(_0x341e0d=_0x4bf3ef['tables'])==null?void 0x0:_0x341e0d[_0x248352];_0x12c058&&_e(_0x12c058,_0x334412);}),!0x0;}function Ie(_0x5025c0){const _0x2d5646=_0x46d2a0;if(!Array[_0x2d5646(0x316)](_0x5025c0)||_0x5025c0[_0x2d5646(0x1f9)]<0x2)return[{'tableId':'','reason':_0x2d5646(0x321)}];let _0x536b32=_0x5025c0,_0x2067a3=_0x536b32[_0x2d5646(0x2b7)](_0x2d5646(0x201));return _0x2067a3===-0x1||typeof _0x536b32[_0x2067a3+0x1]!=_0x2d5646(0x181)?_0x536b32[0x0]===_0x2d5646(0x28a)?[]:[{'tableId':'','reason':_0x2d5646(0x321)}]:Le(_0x536b32,_0x2067a3,String(_0x536b32[_0x2067a3+0x1]));}function Le(_0x146cee,_0x5eccca,_0xe93dab){const _0x1a536b=_0x46d2a0;let _0x222552=_0x146cee[_0x5eccca+0x2];return _0x222552===_0x1a536b(0x1ab)&&typeof _0x146cee[_0x5eccca+0x3]==_0x1a536b(0x181)?Re(_0x146cee,_0x5eccca,_0xe93dab,String(_0x146cee[_0x5eccca+0x3])):_0x222552==='cellData'&&_0x146cee[_0x5eccca+0x3]!=null&&_0x146cee[_0x5eccca+0x4]!=null?[{'tableId':_0xe93dab,'reason':_0x1a536b(0x395),'row':Number(_0x146cee[_0x5eccca+0x3]),'column':Number(_0x146cee[_0x5eccca+0x4])}]:_0x222552===_0x1a536b(0x263)&&typeof _0x146cee[_0x5eccca+0x3]=='string'?[{'tableId':_0xe93dab,'reason':_0x1a536b(0x3e1),'fieldId':String(_0x146cee[_0x5eccca+0x3])}]:_0x222552==='views'&&typeof _0x146cee[_0x5eccca+0x3]==_0x1a536b(0x181)?[{'tableId':_0xe93dab,'reason':_0x1a536b(0x1b6),'viewId':String(_0x146cee[_0x5eccca+0x3])}]:[{'tableId':_0xe93dab,'reason':_0x222552===void 0x0?_0x1a536b(0x246):'unknown'}];}function Re(_0x13f3a8,_0x1c5c37,_0x1c6709,_0xac7611){const _0x2e99e5=_0x46d2a0;return _0x13f3a8[_0x1c5c37+0x4]===_0x2e99e5(0x260)&&typeof _0x13f3a8[_0x1c5c37+0x5]==_0x2e99e5(0x181)?[{'tableId':_0x1c6709,'reason':'cell','recordId':_0xac7611,'fieldId':String(_0x13f3a8[_0x1c5c37+0x5])}]:_0x13f3a8[_0x1c5c37+0x4]===_0x2e99e5(0x3b1)||_0x13f3a8[_0x1c5c37+0x4]===_0x2e99e5(0x2db)?[]:[{'tableId':_0x1c6709,'reason':'record','recordId':_0xac7611}];}function ze(_0xf2d11d){const _0x1228af=_0x46d2a0;if(!Array[_0x1228af(0x316)](_0xf2d11d))return[];let _0x2954ad=_0xf2d11d[_0x1228af(0x3f5)](Array[_0x1228af(0x316)]);if(_0x2954ad[_0x1228af(0x1f9)]>0x1&&_0x2954ad['length']===_0xf2d11d[_0x1228af(0x1f9)])return _0x2954ad;let _0x4c2f12=_0xf2d11d[_0x1228af(0x3c7)](Array[_0x1228af(0x316)]);if(_0x4c2f12>0x0&&_0xf2d11d['slice'](_0x4c2f12)[_0x1228af(0x403)](Array[_0x1228af(0x316)])){let _0x1db36f=_0xf2d11d[_0x1228af(0x2bd)](0x0,_0x4c2f12);return _0xf2d11d[_0x1228af(0x2bd)](_0x4c2f12)[_0x1228af(0x3e2)](_0x863699=>[..._0x1db36f,..._0x863699]);}let _0x53a903=_0xf2d11d['indexOf'](_0x1228af(0x201));if(_0x53a903===-0x1||typeof _0xf2d11d[_0x53a903+0x1]!=_0x1228af(0x181))return[];let _0x319c5b=String(_0xf2d11d[_0x53a903+0x1]),_0x1ff4f8=_0xf2d11d[_0x1228af(0x2bd)](_0x53a903+0x2)[_0x1228af(0x3f5)](Array[_0x1228af(0x316)]);return _0x1ff4f8[_0x1228af(0x1f9)]<=0x1?[]:_0x1ff4f8[_0x1228af(0x3e2)](_0x4d1341=>[_0x1228af(0x201),_0x319c5b,..._0x4d1341]);}function Be(_0x45f1f0){const _0x27e399=_0x46d2a0;let _0x266dd6=new Set();return _0x45f1f0[_0x27e399(0x3f5)](_0x2290e5=>{const _0x5c26e1=_0x27e399;let _0x1fbd93=JSON[_0x5c26e1(0x1b8)](_0x2290e5);return _0x266dd6['has'](_0x1fbd93)?!0x1:(_0x266dd6[_0x5c26e1(0x176)](_0x1fbd93),!0x0);});}function Ve(_0x4a272e){return _0xef6ec6['deepClone'](_0x4a272e);}function He(_0x2fc27a,_0x4d8633){let _0x4ba2cf=Ue(_0x4d8633);if(!_0x4ba2cf['length'])return Ve(_0x2fc27a);let _0x1e033c=Je(_0x2fc27a);for(let _0x1c6442 of _0x4ba2cf)Ke(_0x1e033c,_0x1c6442);return _0x1e033c;}function Ue(_0x39720f){let _0x5de741=[];return We(_0x39720f,[],_0x5de741),_0x5de741;}function We(_0x85d784,_0xddaecf,_0x5c2e5f){const _0x29af89=_0x46d2a0;if(!Array[_0x29af89(0x316)](_0x85d784))return;let _0x2f6668=[];for(let _0x280e08 of _0x85d784){if(Array[_0x29af89(0x316)](_0x280e08)){We(_0x280e08,[..._0xddaecf,..._0x2f6668],_0x5c2e5f);continue;}if(Ge(_0x280e08)){_0x5c2e5f[_0x29af89(0x31f)]([..._0xddaecf,..._0x2f6668]);continue;}(typeof _0x280e08==_0x29af89(0x181)||typeof _0x280e08=='number')&&_0x2f6668[_0x29af89(0x31f)](_0x280e08);}}function Ge(_0x4d67f0){const _0x4bb133=_0x46d2a0;if(!_0x4d67f0||typeof _0x4d67f0!='object'||Array[_0x4bb133(0x316)](_0x4d67f0))return!0x1;let _0x81ad55=_0x4d67f0;return'i'in _0x81ad55||'r'in _0x81ad55||'p'in _0x81ad55||'d'in _0x81ad55||'es'in _0x81ad55||_0x4bb133(0x1f4)in _0x81ad55||'et'in _0x81ad55;}function Ke(_0x28a7db,_0x27df7a){let _0x1a097b=_0x28a7db;for(let _0x271526=0x0;_0x271526<_0x27df7a['length']-0x1;_0x271526++){let _0x3bc862=_0x27df7a[_0x271526],_0x17fd59=_0x1a097b==null?void 0x0:_0x1a097b[_0x3bc862];if(!qe(_0x17fd59))return;let _0xa639b3=Je(_0x17fd59);_0x1a097b[_0x3bc862]=_0xa639b3,_0x1a097b=_0xa639b3;}}function qe(_0x5eb5e2){const _0x269eb9=_0x46d2a0;return!!_0x5eb5e2&&typeof _0x5eb5e2==_0x269eb9(0x28d);}function Je(_0x389c0f){return Array['isArray'](_0x389c0f)?_0x389c0f['slice']():{..._0x389c0f};}const Ye=0x5a0*0x3c*0x3e8,Xe=0x63e1,Ze='yyyy/mm/dd',Qe={'yyyy/mm/dd':_0x46d2a0(0x3c3),'yyyy/mm/dd\x20hh:mm':_0x46d2a0(0x241),'yyyy-mm-dd':_0x46d2a0(0x275),'mm-dd':_0x46d2a0(0x2bb),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':_0x46d2a0(0x190)};function k(_0x5caae4){const _0x4648c5=_0x46d2a0;return _0x3e667f(_0x5caae4)[_0x4648c5(0x243)]()/Ye+Xe;}function $e(_0x920ef7){return(_0x920ef7-Xe)*Ye;}function A(_0x5a9fd2){const _0x219a10=_0x46d2a0;if(_0x5a9fd2==null||_0x5a9fd2==='')return null;if(_0x5a9fd2 instanceof Date)return k(_0x5a9fd2);if(typeof _0x5a9fd2=='number')return Number[_0x219a10(0x20c)](_0x5a9fd2)?_0x5a9fd2>0xf4240?k(_0x5a9fd2):_0x5a9fd2:null;let _0x334851=Date[_0x219a10(0x2e6)](String(_0x5a9fd2));return Number[_0x219a10(0x2dc)](_0x334851)?null:k(_0x334851);}function j(_0x752c2a){let _0x1a322a=A(_0x752c2a);return _0x1a322a==null?null:$e(_0x1a322a);}function et(_0x55b4be,_0x79d1dc={}){const _0xcc5272=_0x46d2a0;var _0x52c680,_0xfd3732,_0x543b63;let _0x58bdb3=j(_0x55b4be);if(_0x58bdb3==null||!Number[_0xcc5272(0x20c)](_0x58bdb3))return'';let _0x2f2637=String((_0x52c680=(_0xfd3732=_0x79d1dc['pattern'])==null?_0x79d1dc[_0xcc5272(0x15c)]:_0xfd3732)==null?Ze:_0x52c680),_0x26defa=_0x79d1dc['includeTime']===!0x0||_0x2f2637[_0xcc5272(0x3ae)]('hh:mm'),_0x368472=String((_0x543b63=_0x79d1dc[_0xcc5272(0x31d)])==null?_0xcc5272(0x39f):_0x543b63);return _0x3e667f(_0x58bdb3)[_0xcc5272(0x15c)](tt(_0x2f2637,_0x26defa,_0x368472));}function tt(_0x57c1b6,_0x4b767f,_0x5eb271){const _0x59f2ca=_0x46d2a0;var _0x317f64;let _0x517814=(_0x317f64=Qe[_0x57c1b6])==null?Qe[Ze]:_0x317f64;return!_0x4b767f||_0x57c1b6[_0x59f2ca(0x3ae)](_0x59f2ca(0x20f))?_0x517814:_0x517814+'\x20'+(_0x5eb271===_0x59f2ca(0x2ed)?_0x59f2ca(0x22a):'HH:mm');}const nt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},rt=new Set([_0x46d2a0(0x2f9),_0x46d2a0(0x27c),_0x46d2a0(0x2ce),_0x46d2a0(0x1ba),_0x46d2a0(0x1f6),_0x46d2a0(0x293),_0x46d2a0(0x2c7),_0x46d2a0(0x242)]),M=0x5a0*0x3c*0x3e8;function it(_0x22b8b7,_0xfe52d4){const _0x58f506=_0x46d2a0;return _0x22b8b7==null&&_0xfe52d4==null?0x0:_0x22b8b7==null?-0x1:_0xfe52d4==null?0x1:typeof _0x22b8b7==_0x58f506(0x330)&&typeof _0xfe52d4==_0x58f506(0x330)?_0x22b8b7-_0xfe52d4:String(_0x22b8b7)[_0x58f506(0x349)](String(_0xfe52d4));}function at(_0x41418b,_0x29ef7f,_0xaa67c6,_0x4c4e4f,_0x535497={}){const _0x5eb228=_0x46d2a0;if(_0x29ef7f==='isEmpty')return ot(_0x41418b);if(_0x29ef7f===_0x5eb228(0x2a1))return!ot(_0x41418b);switch(_0x4c4e4f[_0x5eb228(0x1c2)]){case _0x5eb228(0x330):case _0x5eb228(0x285):case _0x5eb228(0x265):case _0x5eb228(0x1fc):return st(_0x41418b,_0x29ef7f,_0xaa67c6);case _0x5eb228(0x214):case _0x5eb228(0x21a):case _0x5eb228(0x3b1):return lt(_0x41418b,_0x29ef7f,_0xaa67c6,_0x535497);case _0x5eb228(0x1e0):return ht(_0x41418b,_0x29ef7f,_0xaa67c6);case _0x5eb228(0x295):case _0x5eb228(0x3d0):case _0x5eb228(0x34c):case'group':return _t(_0x41418b,_0x29ef7f,_0xaa67c6,_0x4c4e4f);default:return vt(_0x41418b,_0x29ef7f,_0xaa67c6);}}function ot(_0x5ced0f){const _0x277213=_0x46d2a0;return _0x5ced0f==null?!0x0:Array['isArray'](_0x5ced0f)?_0x5ced0f[_0x277213(0x1f9)]===0x0:typeof _0x5ced0f==_0x277213(0x181)?_0x5ced0f[_0x277213(0x2af)]()==='':!0x1;}function st(_0x2c8ed6,_0x46f0f5,_0x2441e7){const _0x4078e5=_0x46d2a0;let _0x555699=ct(_0x2c8ed6),_0x32e1b1=ct(_0x2441e7);if(_0x555699==null||_0x32e1b1==null)return!0x1;switch(_0x46f0f5){case'is':return _0x555699===_0x32e1b1;case'isNot':return _0x555699!==_0x32e1b1;case'greaterThan':return _0x555699>_0x32e1b1;case _0x4078e5(0x32a):return _0x555699>=_0x32e1b1;case _0x4078e5(0x347):return _0x555699<_0x32e1b1;case'lessThanOrEqual':return _0x555699<=_0x32e1b1;default:return!0x1;}}function ct(_0x5e60ee){const _0x3abb5b=_0x46d2a0;if(_0x5e60ee==null||_0x5e60ee==='')return null;let _0x4dfd98=Number(_0x5e60ee);return Number[_0x3abb5b(0x20c)](_0x4dfd98)?_0x4dfd98:null;}function lt(_0x70959a,_0x19177f,_0x56f81b,_0x316851){const _0x3cbd6f=_0x46d2a0;var _0x2f2dd3;let _0x423b55=dt(_0x70959a);if(_0x423b55==null)return!0x1;let _0x4cd4e2=ut((_0x2f2dd3=_0x316851[_0x3cbd6f(0x39d)])==null?_0x3cbd6f(0x167):_0x2f2dd3,_0x56f81b,_0x316851['now']);if(!_0x4cd4e2)return!0x1;switch(_0x19177f){case'is':return _0x423b55>=_0x4cd4e2[_0x3cbd6f(0x264)]&&_0x423b55<=_0x4cd4e2['end'];case _0x3cbd6f(0x2b3):return _0x423b55<_0x4cd4e2['start']||_0x423b55>_0x4cd4e2['end'];case _0x3cbd6f(0x1e4):return _0x423b55<_0x4cd4e2[_0x3cbd6f(0x264)];case _0x3cbd6f(0x228):return _0x423b55>_0x4cd4e2[_0x3cbd6f(0x30a)];default:return!0x1;}}function ut(_0x3f6b3d,_0x3de94f,_0x301fd8=Date[_0x46d2a0(0x3ea)]()){const _0x32445c=_0x46d2a0;let _0x2c367c=ft(_0x301fd8);switch(_0x3f6b3d){case _0x32445c(0x167):{let _0x29f0af=dt(_0x3de94f);return _0x29f0af==null?null:{'start':_0x29f0af,'end':_0x29f0af+M-0x1};}case _0x32445c(0x335):return{'start':_0x2c367c,'end':_0x2c367c+M-0x1};case'tomorrow':return{'start':_0x2c367c+M,'end':_0x2c367c+M*0x2-0x1};case _0x32445c(0x3d6):return{'start':_0x2c367c-M,'end':_0x2c367c-0x1};case'thisWeek':return pt(_0x2c367c,0x0);case _0x32445c(0x3e3):return pt(_0x2c367c,-0x1);case _0x32445c(0x21e):return mt(_0x2c367c,0x0);case _0x32445c(0x229):return mt(_0x2c367c,-0x1);case _0x32445c(0x208):return{'start':_0x2c367c-M*0x6,'end':_0x2c367c+M-0x1};case'next7':return{'start':_0x2c367c,'end':_0x2c367c+M*0x7-0x1};case _0x32445c(0x306):return{'start':_0x2c367c-M*0x1d,'end':_0x2c367c+M-0x1};case _0x32445c(0x405):return{'start':_0x2c367c,'end':_0x2c367c+M*0x1e-0x1};}}function dt(_0x484aef){let _0x7eabc6=A(_0x484aef);return _0x7eabc6==null?null:ft($e(_0x7eabc6));}function ft(_0x53c503){const _0x13f667=_0x46d2a0;let _0x3c156e=new Date(_0x53c503);return _0x3c156e[_0x13f667(0x3a8)](0x0,0x0,0x0,0x0),_0x3c156e[_0x13f667(0x178)]();}function pt(_0x4c2be7,_0x254531){let _0x4579d9=_0x4c2be7-(new Date(_0x4c2be7)['getDay']()+0x6)%0x7*M+_0x254531*M*0x7;return{'start':_0x4579d9,'end':_0x4579d9+M*0x7-0x1};}function mt(_0x12783d,_0x506445){const _0x1f207b=_0x46d2a0;let _0x118a96=new Date(_0x12783d),_0x5c94cb=new Date(_0x118a96[_0x1f207b(0x3e0)](),_0x118a96[_0x1f207b(0x1db)]()+_0x506445,0x1),_0x3f3d5a=new Date(_0x118a96['getFullYear'](),_0x118a96['getMonth']()+_0x506445+0x1,0x1);return{'start':_0x5c94cb['getTime'](),'end':_0x3f3d5a[_0x1f207b(0x178)]()-0x1};}function ht(_0x26f4d5,_0x4f6c71,_0x57151b){let _0x2668d8=gt(_0x26f4d5),_0x543cb7=gt(_0x57151b);switch(_0x4f6c71){case'is':return _0x2668d8===_0x543cb7;case'isNot':return _0x2668d8!==_0x543cb7;default:return!0x1;}}function gt(_0x59ddd1){return _0x59ddd1===!0x0||_0x59ddd1==='true'||_0x59ddd1===0x1||_0x59ddd1==='1';}function _t(_0x1d78af,_0x5b9307,_0x44ba62,_0x33c8b3){const _0x32fa76=_0x46d2a0;let _0x50bfd8=bt(_0x1d78af,_0x33c8b3),_0x4c10cf=bt(_0x44ba62,_0x33c8b3),_0x12e834=_0x4c10cf[_0x32fa76(0x1f9)]>0x0&&_0x4c10cf[_0x32fa76(0x406)](_0x4595d2=>_0x50bfd8[_0x32fa76(0x3ae)](_0x4595d2));switch(_0x5b9307){case'is':case _0x32fa76(0x3f9):return _0x12e834;case _0x32fa76(0x2b3):case'notContains':return!_0x12e834;default:return!0x1;}}function vt(_0x229ac4,_0x5003f3,_0x63a2e1){const _0x40af64=_0x46d2a0;let _0x30389e=yt(_0x229ac4),_0x5503f4=yt(_0x63a2e1);switch(_0x5003f3){case'is':return _0x30389e===_0x5503f4;case _0x40af64(0x2b3):return _0x30389e!==_0x5503f4;case'contains':return _0x5503f4?_0x30389e[_0x40af64(0x3ae)](_0x5503f4):!0x1;case _0x40af64(0x378):return _0x5503f4?!_0x30389e[_0x40af64(0x3ae)](_0x5503f4):!0x0;default:return!0x1;}}function yt(_0x2cacc1){const _0x549d5b=_0x46d2a0;if(Array[_0x549d5b(0x316)](_0x2cacc1))return _0x2cacc1[_0x549d5b(0x3e2)](_0x3b064a=>yt(_0x3b064a))[_0x549d5b(0x358)]('\x0a');if(_0x2cacc1&&typeof _0x2cacc1==_0x549d5b(0x28d)){var _0x587127,_0x545c60,_0x50a534,_0x49c277,_0x5c97ed;let _0x43fb2b=_0x2cacc1;return String((_0x587127=(_0x545c60=(_0x50a534=(_0x49c277=(_0x5c97ed=_0x43fb2b[_0x549d5b(0x3bb)])==null?_0x43fb2b[_0x549d5b(0x3cd)]:_0x5c97ed)==null?_0x43fb2b[_0x549d5b(0x35f)]:_0x49c277)==null?_0x43fb2b['value']:_0x50a534)==null?_0x43fb2b['id']:_0x545c60)==null?'':_0x587127)['trim']()[_0x549d5b(0x327)]();}return String(_0x2cacc1==null?'':_0x2cacc1)[_0x549d5b(0x2af)]()['toLowerCase']();}function bt(_0xae63f2,_0x44d017){const _0x299234=_0x46d2a0;var _0x2530f5;let _0x45be28=xt(_0xae63f2),_0x4e09ad=St((_0x2530f5=_0x44d017['config'])==null?{}:_0x2530f5);return _0x45be28[_0x299234(0x15f)](_0xe62dfd=>{var _0x74e38d;return(_0x74e38d=_0x4e09ad['get'](_0xe62dfd))==null?[_0xe62dfd]:_0x74e38d;})['filter']((_0x13fea5,_0x7ce5c3,_0x5b972b)=>_0x13fea5!==''&&_0x5b972b[_0x299234(0x2b7)](_0x13fea5)===_0x7ce5c3);}function xt(_0x306c78){const _0x2d9052=_0x46d2a0;if(_0x306c78==null||_0x306c78==='')return[];if(Array[_0x2d9052(0x316)](_0x306c78))return _0x306c78['flatMap'](_0x469fe7=>xt(_0x469fe7));if(_0x306c78&&typeof _0x306c78==_0x2d9052(0x28d)){let _0x34d3e8=_0x306c78;return['id',_0x2d9052(0x3bb),_0x2d9052(0x3cd),'value',_0x2d9052(0x35f)][_0x2d9052(0x15f)](_0x49f294=>xt(_0x34d3e8[_0x49f294]))[_0x2d9052(0x3f5)]((_0x4976a7,_0x14bb16,_0x51c16f)=>_0x51c16f['indexOf'](_0x4976a7)===_0x14bb16);}return[yt(_0x306c78)];}function St(_0x2670f5){const _0x1cf794=_0x46d2a0;let _0xa876b1=new Map();return(Array['isArray'](_0x2670f5[_0x1cf794(0x2a4)])?_0x2670f5[_0x1cf794(0x2a4)]:[])[_0x1cf794(0x3f2)](_0x1b071d=>{const _0x5c45c3=_0x1cf794;if(!_0x1b071d||typeof _0x1b071d!='object')return;let _0x307020=xt(_0x1b071d),_0xde277c=_0x307020[_0x5c45c3(0x3f5)]((_0x2b4df8,_0x4a657e)=>_0x2b4df8!==''&&_0x307020[_0x5c45c3(0x2b7)](_0x2b4df8)===_0x4a657e);_0xde277c[_0x5c45c3(0x3f2)](_0x536323=>_0xa876b1['set'](_0x536323,_0xde277c));}),_0xa876b1;}function N(_0xd8080e,_0x553f3c={},_0x55e26f=_0x79dc7f=>_0x79dc7f,_0x161e64={}){const _0xcbe3f7=_0x46d2a0;var _0x126248,_0x40dc2c,_0x280bf9,_0x25c43c;let _0x52eb76=!rt[_0xcbe3f7(0x3a9)](_0xd8080e),_0x365c99=_0x55e26f==null?_0x7428b9=>_0x7428b9:_0x55e26f;return{'type':_0xd8080e,'i18nKey':_0xcbe3f7(0x2a8)+_0xd8080e,'enabled':_0x52eb76,'visibleInCreateMenu':_0x52eb76,'createDefaultConfig':(_0x126248=_0x161e64['createDefaultConfig'])==null?()=>({}):_0x126248,'createDefaultValue':(_0x40dc2c=_0x161e64[_0xcbe3f7(0x17f)])==null?_0x32ad00=>{const _0x36b5dc=_0xcbe3f7;var _0x57932f;return(_0x57932f=_0x32ad00[_0x36b5dc(0x173)])==null?null:_0x57932f;}:_0x40dc2c,'normalize':(_0x458877,_0x20e65c)=>_0x365c99(_0x458877,_0x20e65c),'validate':(_0x2c93db,_0x2eb90c)=>{const _0x164bd7=_0xcbe3f7;var _0x18395a,_0x43321d;return _0x52eb76?(_0x18395a=(_0x43321d=_0x161e64[_0x164bd7(0x402)])==null?void 0x0:_0x43321d[_0x164bd7(0x226)](_0x161e64,_0x2c93db,_0x2eb90c))==null?{'valid':!0x0}:_0x18395a:{'valid':!0x1};},'compare':(_0x59d850,_0x4b808b)=>it(_0x59d850,_0x4b808b),'filter':(_0x385280,_0x566d5e,_0xece9be,_0x27d4f2)=>at(_0x385280,_0x566d5e,_0xece9be,_0x27d4f2),'toPlainText':(_0x280bf9=_0x161e64[_0xcbe3f7(0x1e7)])==null?_0x48790e=>_0x48790e==null?'':String(_0x48790e):_0x280bf9,'fromPlainText':(_0x25c43c=_0x161e64[_0xcbe3f7(0x1ec)])==null?_0x351e9c=>_0x365c99(_0x351e9c,{'id':'','name':'','type':_0xd8080e,'config':{}}):_0x25c43c,'getCapabilities':()=>{const _0x55e0da=_0xcbe3f7;var _0x52b98e;return{...nt,..._0x553f3c,'editable':_0x52eb76&&((_0x52b98e=_0x553f3c[_0x55e0da(0x3a5)])==null?nt[_0x55e0da(0x3a5)]:_0x52b98e)};}};}function Ct(){const _0x5218c0=_0x46d2a0;return[N('text',{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x3d85fd=>{var _0x11b6df;return(_0x11b6df=_0x3d85fd['defaultValue'])==null?'':_0x11b6df;}}),N(_0x5218c0(0x295),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x347884=>_0x347884==null||_0x347884===''?null:String(_0x347884),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x5218c0(0x310)}})}),N(_0x5218c0(0x3d0),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3ff1c4=>Array['isArray'](_0x3ff1c4)?_0x3ff1c4[_0x5218c0(0x3e2)](String):_0x3ff1c4==null?[]:[String(_0x3ff1c4)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x5218c0(0x310)}}),'createDefaultValue':_0x4b9c59=>{const _0x39afca=_0x5218c0;var _0x1928b2;return(_0x1928b2=_0x4b9c59[_0x39afca(0x173)])==null?[]:_0x1928b2;}}),N('person',{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Dt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x5218c0(0x34c)}),'validate':Ot}),N(_0x5218c0(0x24e),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Et,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x1d8e76=>{const _0x3ad811=_0x5218c0;var _0x55045a;return(_0x55045a=_0x1d8e76[_0x3ad811(0x173)])==null?[]:_0x55045a;},'validate':kt}),N('date',{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x227b01=>A(_0x227b01),{'createDefaultConfig':()=>Tt(),'validate':At}),N(_0x5218c0(0x1ef),{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x234b9a=>_0x234b9a==null?[]:Array[_0x5218c0(0x316)](_0x234b9a)?_0x234b9a:[_0x234b9a],{'createDefaultValue':_0x5e41ce=>{const _0x2b1288=_0x5218c0;var _0x1396d5;return(_0x1396d5=_0x5e41ce[_0x2b1288(0x173)])==null?[]:_0x1396d5;}}),N(_0x5218c0(0x330),{},_0x5327d3=>_0x5327d3==null||_0x5327d3===''?null:Number(_0x5327d3),{'createDefaultConfig':()=>wt(),'validate':jt}),N(_0x5218c0(0x1e0),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x47b3ed=>_0x47b3ed===!0x0||_0x47b3ed===_0x5218c0(0x2cd)||_0x47b3ed===0x1||_0x47b3ed==='1',{'createDefaultConfig':()=>({'icon':_0x5218c0(0x2a0),'color':_0x5218c0(0x3b5)}),'createDefaultValue':_0x3d3a12=>{const _0x52b9b7=_0x5218c0;var _0x2ac648;return(_0x2ac648=_0x3d3a12[_0x52b9b7(0x173)])==null?!0x1:_0x2ac648;},'validate':_0x2f9689=>typeof _0x2f9689==_0x5218c0(0x2f0)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5218c0(0x240)}}),N(_0x5218c0(0x3da),{'supportsRelation':!0x0},Nt,{'createDefaultConfig':()=>({'placeholder':_0x5218c0(0x1a8)}),'toPlainText':_0x2f6568=>Pt(_0x2f6568),'fromPlainText':_0x4332ac=>Nt(_0x4332ac)}),N(_0x5218c0(0x2c4),{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x5218c0(0x22e),'pattern':_0x5218c0(0x31a)}}),'createDefaultValue':()=>null}),N(_0x5218c0(0x2f9),{}),N('flow',{}),N('button',{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),N(_0x5218c0(0x23c),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),N(_0x5218c0(0x272),{'usableAsTitle':!0x0},_0x5828c9=>_0x5828c9==null?null:String(_0x5828c9)['trim'](),{'validate':_0x1b0287=>_0x1b0287==null||_0x1b0287===''||/^\+?[0-9 ()-]{6,20}$/[_0x5218c0(0x156)](String(_0x1b0287))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5218c0(0x283)}}),N(_0x5218c0(0x322),{'usableAsTitle':!0x0},_0x1d760d=>_0x1d760d==null?null:String(_0x1d760d)['trim'](),{'validate':_0x4b8f84=>_0x4b8f84==null||_0x4b8f84===''||It(String(_0x4b8f84))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5218c0(0x320)}}),N(_0x5218c0(0x1f6),{'usableAsTitle':!0x0}),N(_0x5218c0(0x242),{'usableAsTitle':!0x0}),N(_0x5218c0(0x265),{'usableAsGanttProgress':!0x0},_0x4dfdd0=>_0x4dfdd0==null||_0x4dfdd0===''?null:Number(_0x4dfdd0),{'createDefaultConfig':()=>({'format':_0x5218c0(0x1a5),'decimalPlaces':0x0,'color':_0x5218c0(0x233),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x43ffb2,_0x447765)=>Mt(_0x43ffb2,_0x447765,_0x5218c0(0x27a))}),N(_0x5218c0(0x285),{},_0x337893=>_0x337893==null||_0x337893===''?null:Number(_0x337893),{'createDefaultConfig':()=>({...wt(),'currencySymbol':'$'}),'validate':jt}),N('rating',{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1bd881=>_0x1bd881==null||_0x1bd881===''?null:Number(_0x1bd881),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3e1298,_0x402a43)=>Mt(_0x3e1298,_0x402a43,_0x5218c0(0x235))}),N(_0x5218c0(0x293),{'supportsRelation':!0x0}),N(_0x5218c0(0x2c7),{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),N(_0x5218c0(0x163),{'editable':!0x1,'groupable':!0x0},_0x4be77e=>_0x4be77e==null?null:String(_0x4be77e),{'createDefaultConfig':()=>({'provider':_0x5218c0(0x343)}),'createDefaultValue':()=>null}),N(_0x5218c0(0x2db),{'editable':!0x1,'groupable':!0x0},_0x5d2d38=>_0x5d2d38==null?null:String(_0x5d2d38),{'createDefaultConfig':()=>({'provider':_0x5218c0(0x343)}),'createDefaultValue':()=>null}),N(_0x5218c0(0x21a),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1dc9fd=>A(_0x1dc9fd),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0x5218c0(0x3b1),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x559872=>A(_0x559872),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N('summary',{})];}function wt(){const _0x422335=_0x46d2a0;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x422335(0x2f1),'useThousands':!0x0,'abbreviation':_0x422335(0x1eb),'allowNegative':!0x0};}function Tt(){const _0x28494b=_0x46d2a0;return{'locale':_0x28494b(0x2d7),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x28494b(0x39f),'defaultMode':_0x28494b(0x1eb)};}function Et(_0xb29011){const _0x412994=_0x46d2a0;return _0xb29011==null||_0xb29011===''?[]:Array[_0x412994(0x316)](_0xb29011)?_0xb29011[_0x412994(0x3e2)](String):[String(_0xb29011)];}function Dt(_0x189527,_0x534556){const _0x8d3b10=_0x46d2a0;var _0xe13ba0;return _0x189527==null||_0x189527===''?_0x534556['config'][_0x8d3b10(0x280)]===!0x0?[]:null:_0x534556[_0x8d3b10(0x2d2)][_0x8d3b10(0x280)]===!0x0?Array[_0x8d3b10(0x316)](_0x189527)?_0x189527[_0x8d3b10(0x3e2)](String):[String(_0x189527)]:Array[_0x8d3b10(0x316)](_0x189527)?String((_0xe13ba0=_0x189527[0x0])==null?'':_0xe13ba0)||null:String(_0x189527);}function Ot(_0x3ff8af,_0x4767ce){const _0x2879cc=_0x46d2a0;return _0x4767ce[_0x2879cc(0x2d2)][_0x2879cc(0x280)]===!0x0?kt(_0x3ff8af):_0x3ff8af==null||_0x3ff8af===''||typeof _0x3ff8af=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2879cc(0x27b)};}function kt(_0x5d9f59){const _0xe13262=_0x46d2a0;return _0x5d9f59==null||Array['isArray'](_0x5d9f59)&&_0x5d9f59[_0xe13262(0x403)](_0x495493=>typeof _0x495493==_0xe13262(0x181))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function At(_0x3c4dc7){const _0x3a4b2e=_0x46d2a0;return _0x3c4dc7==null||typeof _0x3c4dc7=='number'&&Number[_0x3a4b2e(0x20c)](_0x3c4dc7)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3a4b2e(0x35c)};}function jt(_0x27de45,_0x706861){const _0x15b185=_0x46d2a0;return _0x27de45==null||_0x27de45===''?{'valid':!0x0}:typeof _0x27de45!='number'||!Number['isFinite'](_0x27de45)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x706861[_0x15b185(0x2d2)][_0x15b185(0x3ee)]===!0x1&&_0x27de45<0x0?{'valid':!0x1,'reason':_0x15b185(0x2ad)}:{'valid':!0x0};}function Mt(_0x4bdcb0,_0x120653,_0x359bc7){const _0x373608=_0x46d2a0;var _0x3fc80f,_0x342e83,_0x419529,_0x165ffe;let _0x4c2c34=jt(_0x4bdcb0,_0x120653);if(!_0x4c2c34[_0x373608(0x1ca)]||_0x4bdcb0==null||_0x4bdcb0==='')return _0x4c2c34;let _0x329179=Number((_0x3fc80f=(_0x342e83=_0x120653['config'][_0x373608(0x39e)])==null?_0x120653['config']['start']:_0x342e83)==null?0x0:_0x3fc80f),_0x3240d2=Number((_0x419529=(_0x165ffe=_0x120653['config'][_0x373608(0x3d9)])==null?_0x120653['config'][_0x373608(0x30a)]:_0x165ffe)==null?0x64:_0x419529),_0x24d129=Number(_0x4bdcb0);return _0x24d129>=_0x329179&&_0x24d129<=_0x3240d2?{'valid':!0x0}:{'valid':!0x1,'reason':_0x359bc7};}function Nt(_0x4d63a3){const _0x53dfff=_0x46d2a0;if(_0x4d63a3==null||_0x4d63a3==='')return null;if(typeof _0x4d63a3==_0x53dfff(0x28d)&&!Array[_0x53dfff(0x316)](_0x4d63a3)){let _0x1745e4=_0x4d63a3,_0xe3a55f=typeof _0x1745e4[_0x53dfff(0x35f)]==_0x53dfff(0x181)?_0x1745e4[_0x53dfff(0x35f)][_0x53dfff(0x2af)]():'',_0x3f0df8=typeof _0x1745e4[_0x53dfff(0x1ed)]=='string'?_0x1745e4[_0x53dfff(0x1ed)][_0x53dfff(0x2af)]():'',_0x10d081=Ft(_0x3f0df8||_0xe3a55f);return _0x10d081?{'text':_0xe3a55f||_0x3f0df8||_0x10d081,'url':_0x10d081}:null;}let _0x339e45=String(_0x4d63a3)['trim'](),_0x11e9d5=Ft(_0x339e45);return _0x11e9d5?{'text':_0x339e45,'url':_0x11e9d5}:null;}function Pt(_0x104209){const _0x3fbe55=_0x46d2a0;if(_0x104209==null)return'';if(typeof _0x104209==_0x3fbe55(0x28d)&&!Array[_0x3fbe55(0x316)](_0x104209)){let _0x346584=_0x104209;return String(_0x346584[_0x3fbe55(0x35f)]||_0x346584[_0x3fbe55(0x1ed)]||'');}return String(_0x104209);}function Ft(_0x398754){const _0x47cc15=_0x46d2a0;let _0x4afa71=_0x398754[_0x47cc15(0x2af)]();return _0x4afa71?/^[a-z][a-z\d+.-]*:\/\//i[_0x47cc15(0x156)](_0x4afa71)?_0x4afa71:_0x47cc15(0x2c5)+_0x4afa71:'';}function It(_0x551dba){const _0x2bdafb=_0x46d2a0;let _0x3dc119=_0x551dba[_0x2bdafb(0x2b7)]('@');if(_0x3dc119<=0x0||_0x3dc119!==_0x551dba[_0x2bdafb(0x1be)]('@'))return!0x1;let _0x15b677=_0x551dba['slice'](_0x3dc119+0x1);return _0x15b677[_0x2bdafb(0x3ae)]('.')&&!_0x551dba[_0x2bdafb(0x3ae)]('\x20')&&!_0x15b677[_0x2bdafb(0x15d)]('.')&&!_0x15b677[_0x2bdafb(0x262)]('.');}const P={'table':_0x17d8ab=>[_0x46d2a0(0x201),_0x17d8ab],'field':(_0x625d3b,_0x234c66)=>['tables',_0x625d3b,'fields',_0x234c66],'fieldOrder':(_0x105c7a,_0x82ae2e)=>['tables',_0x105c7a,'fieldOrder',_0x82ae2e],'record':(_0x3a0774,_0x19fde8)=>[_0x46d2a0(0x201),_0x3a0774,_0x46d2a0(0x1ab),_0x19fde8],'cell':(_0x4bd850,_0x10e944,_0x5b51ac)=>[_0x46d2a0(0x201),_0x4bd850,_0x46d2a0(0x1ab),_0x10e944,_0x46d2a0(0x260),_0x5b51ac],'cellData':(_0x24f521,_0x34b8ba,_0x55658f)=>[_0x46d2a0(0x201),_0x24f521,'cellData',String(_0x34b8ba),String(_0x55658f)],'attachmentSet':(_0x3de425,_0x546a48)=>[_0x46d2a0(0x201),_0x3de425,_0x46d2a0(0x30b),'attachmentSets',_0x546a48],'attachment':(_0x4a0576,_0x5ecda6)=>[_0x46d2a0(0x201),_0x4a0576,_0x46d2a0(0x30b),_0x46d2a0(0x247),_0x5ecda6],'view':(_0x526c47,_0x3869a1)=>[_0x46d2a0(0x201),_0x526c47,_0x46d2a0(0x1a6),_0x3869a1],'viewFieldHidden':(_0x182b50,_0x5b697c,_0x34af28)=>[_0x46d2a0(0x201),_0x182b50,_0x46d2a0(0x1a6),_0x5b697c,_0x46d2a0(0x158),_0x34af28,_0x46d2a0(0x1d5)]};function F(_0x1f1927){const _0x2fd954=_0x46d2a0;return _0x1f1927[_0x2fd954(0x397)]((_0x3f954c,_0x2742b)=>_0x3f954c==null?_0x2742b:_0x58ebbb[_0x2fd954(0x1c2)]['compose'](_0x3f954c,_0x2742b),void 0x0);}var I=class{[_0x46d2a0(0x29f)](_0x3022de,_0x42b207,_0x272002=_0x3022de[_0x46d2a0(0x28a)]['length']){const _0x22787f=_0x46d2a0;return F([_0x58ebbb[_0x22787f(0x23f)](P[_0x22787f(0x246)](_0x42b207['id']),_0x42b207),_0x58ebbb['insertOp'](['tableOrder',_0x272002],_0x42b207['id'])]);}[_0x46d2a0(0x3b0)](_0x2f4ea3,_0x545791,_0x8ae7de){const _0x52b536=_0x46d2a0;return _0x58ebbb['replaceOp']([...P[_0x52b536(0x246)](_0x545791),_0x52b536(0x3bb)],_0x2f4ea3[_0x52b536(0x201)][_0x545791][_0x52b536(0x3bb)],_0x8ae7de);}[_0x46d2a0(0x2b2)](_0x20cebd,_0xa0b216){const _0x18ff57=_0x46d2a0;return this['_setDeleted']([...P[_0x18ff57(0x246)](_0xa0b216),'deleted'],_0x20cebd[_0x18ff57(0x201)][_0xa0b216][_0x18ff57(0x3a4)]);}[_0x46d2a0(0x351)](_0x12fd1e,_0x307fc0,_0x542b49){const _0x459e2a=_0x46d2a0;return this[_0x459e2a(0x207)](_0x12fd1e,_0x307fc0,[_0x542b49]);}['createRecords'](_0x297466,_0x389178,_0x288015){const _0x2c3ead=_0x46d2a0;let _0xae09a6=_0x297466[_0x2c3ead(0x201)][_0x389178],_0x2e89c4=_0x288015[_0x2c3ead(0x3f5)](_0x47bcea=>_0x47bcea&&!_0xae09a6['records'][_0x47bcea['id']]);return _0x2e89c4[_0x2c3ead(0x1f9)]?F([..._0x2e89c4[_0x2c3ead(0x3e2)](_0xd6ec97=>_0x58ebbb[_0x2c3ead(0x23f)](P[_0x2c3ead(0x1cd)](_0x389178,_0xd6ec97['id']),_0xd6ec97)),this[_0x2c3ead(0x15b)](_0x297466,_0x389178,_0x2e89c4)]):_0x58ebbb[_0x2c3ead(0x284)]([...P[_0x2c3ead(0x246)](_0x389178),_0x2c3ead(0x1ab)],_0xae09a6[_0x2c3ead(0x1ab)],_0xae09a6[_0x2c3ead(0x1ab)]);}['deleteRecord'](_0x4615c7,_0x274bb4,_0x35ac0b){const _0x7be336=_0x46d2a0;return this[_0x7be336(0x1d8)]([...P[_0x7be336(0x1cd)](_0x274bb4,_0x35ac0b),_0x7be336(0x3a4)],_0x4615c7['tables'][_0x274bb4][_0x7be336(0x1ab)][_0x35ac0b][_0x7be336(0x3a4)]);}['deleteRecords'](_0xf65a1c,_0x2a2e87,_0x556002){const _0x5595b3=_0x46d2a0;return F(_0x556002['map'](_0x339998=>this[_0x5595b3(0x3c9)](_0xf65a1c,_0x2a2e87,_0x339998)));}['duplicateRecord'](_0x34ad2a,_0x42fe16,_0x3f21f2,_0x58b423){const _0x574d74=_0x46d2a0;return this[_0x574d74(0x351)](_0x34ad2a,_0x42fe16,{..._0x58b423,'values':{..._0x34ad2a[_0x574d74(0x201)][_0x42fe16][_0x574d74(0x1ab)][_0x3f21f2][_0x574d74(0x260)],..._0x58b423['values']}});}[_0x46d2a0(0x2c1)](_0x466b57,_0x4b8ef1,_0x18a9fe,_0x926725){const _0x25c55b=_0x46d2a0;let _0x586d6a=_0x466b57[_0x25c55b(0x201)][_0x4b8ef1],_0x243f95=[...P[_0x25c55b(0x1cd)](_0x4b8ef1,_0x18a9fe),_0x25c55b(0x224)],_0x1a2d60=Object[_0x25c55b(0x260)](_0x586d6a[_0x25c55b(0x1ab)])[_0x25c55b(0x3f5)](_0x5752b9=>!_0x5752b9['deleted'])[_0x25c55b(0x3e2)](_0x14a370=>_0x14a370['id']===_0x18a9fe?{..._0x14a370,'orderKey':_0x926725}:_0x14a370)[_0x25c55b(0x16d)]((_0x1c9f4c,_0x1d970d)=>{const _0x5328f6=_0x25c55b;var _0x191320,_0x2f7d04;return String((_0x191320=_0x1c9f4c[_0x5328f6(0x224)])==null?_0x1c9f4c['id']:_0x191320)['localeCompare'](String((_0x2f7d04=_0x1d970d[_0x5328f6(0x224)])==null?_0x1d970d['id']:_0x2f7d04));})['map'](_0x38dc05=>_0x38dc05['id']),_0x4665b1=[...P[_0x25c55b(0x246)](_0x4b8ef1),_0x25c55b(0x3fd)];return F([_0x58ebbb[_0x25c55b(0x284)](_0x243f95,_0x586d6a[_0x25c55b(0x1ab)][_0x18a9fe]['orderKey'],_0x926725),_0x586d6a[_0x25c55b(0x3fd)]?_0x58ebbb[_0x25c55b(0x284)](_0x4665b1,_0x586d6a[_0x25c55b(0x3fd)],_0x1a2d60):_0x58ebbb['insertOp'](_0x4665b1,_0x1a2d60)]);}[_0x46d2a0(0x1a2)](_0xf8ac32,_0x20788f,_0x537309,_0x5c9dfb,_0xc19cd1){const _0x2b7894=_0x46d2a0;var _0x3c4a1b,_0x28ba1c;let _0x36eb8b=_0xf8ac32[_0x2b7894(0x201)][_0x20788f],_0x3ed69c=Lt(_0x36eb8b,_0x537309,_0x5c9dfb)?_0x36eb8b:C(_0x36eb8b),_0xf73489=(_0x3c4a1b=_0x3ed69c[_0x2b7894(0x267)])==null?void 0x0:_0x3c4a1b[_0x537309],_0x54a4d6=(_0x28ba1c=_0x3ed69c[_0x2b7894(0x3ff)])==null?void 0x0:_0x28ba1c[_0x5c9dfb];if(_0xf73489==null||_0x54a4d6==null){var _0x1a099b;return this[_0x2b7894(0x3ab)](P['cell'](_0x20788f,_0x537309,_0x5c9dfb),(_0x1a099b=_0xf8ac32['tables'][_0x20788f])==null||(_0x1a099b=_0x1a099b[_0x2b7894(0x1ab)][_0x537309])==null?void 0x0:_0x1a099b[_0x2b7894(0x260)][_0x5c9dfb],_0xc19cd1);}return this[_0x2b7894(0x16f)](_0xf8ac32,_0x20788f,[{'row':_0xf73489,'col':_0x54a4d6,'value':_0xc19cd1}]);}[_0x46d2a0(0x3b8)](_0x29d8d3,_0x1e8bf7,_0x27693c){const _0x264aab=_0x46d2a0;let _0x59138e=_0x29d8d3[_0x264aab(0x201)][_0x1e8bf7],_0x525444=_0x27693c['every'](_0x565f0d=>Object[_0x264aab(0x34d)](_0x565f0d['values'])['every'](_0x90e63a=>Lt(_0x59138e,_0x565f0d[_0x264aab(0x2c7)],_0x90e63a)))?_0x59138e:C(_0x59138e),_0x170b9e=_0x27693c[_0x264aab(0x15f)](_0x34c9f7=>Object['entries'](_0x34c9f7[_0x264aab(0x260)])[_0x264aab(0x15f)](([_0x5b6aa2,_0x552a5d])=>{const _0x1d662c=_0x264aab;var _0x468da8,_0x196da1;let _0x391a5f=(_0x468da8=_0x525444[_0x1d662c(0x267)])==null?void 0x0:_0x468da8[_0x34c9f7[_0x1d662c(0x2c7)]],_0x472f3a=(_0x196da1=_0x525444['colIndex'])==null?void 0x0:_0x196da1[_0x5b6aa2];return _0x391a5f==null||_0x472f3a==null?[]:[{'row':_0x391a5f,'col':_0x472f3a,'value':_0x552a5d}];})),_0x4f0446=_0x27693c['flatMap'](_0x6fdfd1=>{const _0x2c9d84=_0x264aab;var _0x34925d;return Object[_0x2c9d84(0x384)]((_0x34925d=_0x6fdfd1[_0x2c9d84(0x1f0)])==null?{}:_0x34925d)[_0x2c9d84(0x3e2)](([_0xd5670d,_0x378df1])=>{const _0xd419c1=_0x2c9d84;var _0x598732;let _0x5da82f=[...P[_0xd419c1(0x1cd)](_0x1e8bf7,_0x6fdfd1[_0xd419c1(0x2c7)]),_0xd5670d],_0x2d023c=(_0x598732=_0x29d8d3[_0xd419c1(0x201)][_0x1e8bf7])==null||(_0x598732=_0x598732[_0xd419c1(0x1ab)][_0x6fdfd1[_0xd419c1(0x2c7)]])==null?void 0x0:_0x598732[_0xd5670d];return this[_0xd419c1(0x3ab)](_0x5da82f,_0x2d023c,_0x378df1);});});return F([this[_0x264aab(0x16f)](_0x29d8d3,_0x1e8bf7,_0x170b9e),..._0x4f0446]);}[_0x46d2a0(0x16f)](_0x2a4f14,_0x375e7b,_0x29ff2f){const _0x5b1f03=_0x46d2a0;let _0x36352a=_0x2a4f14['tables'][_0x375e7b],_0x35f590=_0x29ff2f[_0x5b1f03(0x403)](_0x4ca153=>Rt(_0x36352a,_0x4ca153[_0x5b1f03(0x1c7)],_0x4ca153[_0x5b1f03(0x329)]))?_0x36352a:C(_0x36352a),_0x31580e=_0x29ff2f[_0x5b1f03(0x15f)](_0x4dcece=>{const _0x5b0d2e=_0x5b1f03;var _0x6b1975,_0x322b6f,_0x3c94a3,_0x1431d6;let _0x5b90b8=(_0x6b1975=_0x35f590['colId'])==null?void 0x0:_0x6b1975[_0x4dcece[_0x5b0d2e(0x329)]],_0x5181c5=(_0x322b6f=_0x35f590[_0x5b0d2e(0x185)])==null?void 0x0:_0x322b6f[_0x4dcece[_0x5b0d2e(0x1c7)]],_0x29d165=_0x5b90b8?_0x35f590['fields'][_0x5b90b8]:void 0x0,_0x1b2fc0=w(_0x4dcece['value'],_0x29d165),_0x33522e=(_0x3c94a3=_0x35f590[_0x5b0d2e(0x3a1)])==null||(_0x3c94a3=_0x3c94a3[_0x4dcece[_0x5b0d2e(0x1c7)]])==null?void 0x0:_0x3c94a3[_0x4dcece[_0x5b0d2e(0x329)]],_0x5bc8a1=this[_0x5b0d2e(0x3ab)](P[_0x5b0d2e(0x3a1)](_0x375e7b,_0x4dcece[_0x5b0d2e(0x1c7)],_0x4dcece[_0x5b0d2e(0x329)]),_0x33522e,_0x1b2fc0);if(!_0x5b90b8||!_0x5181c5)return[_0x5bc8a1];let _0x594756=(_0x1431d6=_0x35f590[_0x5b0d2e(0x1ab)][_0x5181c5])==null?void 0x0:_0x1431d6[_0x5b0d2e(0x260)][_0x5b90b8],_0x226e22=(_0x29d165==null?void 0x0:_0x29d165['type'])===_0x5b0d2e(0x1ef)?E(_0x4dcece[_0x5b0d2e(0x21c)]):we(_0x4dcece[_0x5b0d2e(0x21c)],_0x1b2fc0,_0x29d165,_0x35f590,_0x5181c5),_0x3727e=[_0x5bc8a1,this[_0x5b0d2e(0x3ab)](P[_0x5b0d2e(0x395)](_0x375e7b,_0x5181c5,_0x5b90b8),_0x594756,_0x226e22)];if((_0x29d165==null?void 0x0:_0x29d165['type'])!=='attachment')return _0x3727e;let _0x43756b=this[_0x5b0d2e(0x38d)](_0x35f590,_0x375e7b,_0x5181c5,_0x5b90b8,_0x226e22);return[..._0x3727e,..._0x43756b];});return _0x31580e[_0x5b1f03(0x1f9)]?F(_0x31580e):_0x58ebbb[_0x5b1f03(0x284)]([_0x5b1f03(0x201),_0x375e7b,_0x5b1f03(0x3a1)],_0x35f590[_0x5b1f03(0x3a1)],_0x35f590[_0x5b1f03(0x3a1)]);}[_0x46d2a0(0x32c)](_0x204af1,_0x2684e3,_0x22c58e){const _0x4ea152=_0x46d2a0;var _0x54fda4,_0x43af57;let _0x4499be=_0x204af1[_0x4ea152(0x201)][_0x2684e3];if(_0x4499be['fields'][_0x22c58e['field']['id']]||_0x4499be[_0x4ea152(0x31e)]['includes'](_0x22c58e['field']['id']))return _0x58ebbb[_0x4ea152(0x284)]([_0x4ea152(0x201),_0x2684e3,_0x4ea152(0x31e)],_0x4499be['fieldOrder'],_0x4499be['fieldOrder']);let _0xa1fd8c=(_0x54fda4=_0x22c58e[_0x4ea152(0x232)])==null?_0x4499be[_0x4ea152(0x31e)][_0x4ea152(0x1f9)]:_0x54fda4,_0x2ff368=Object[_0x4ea152(0x260)]((_0x43af57=_0x4499be[_0x4ea152(0x1a6)])==null?{}:_0x43af57)[_0x4ea152(0x15f)](_0x1645ce=>{const _0x401f7b=_0x4ea152;var _0x58ad37,_0x196302;if(!_0x1645ce['fieldOrder']||_0x1645ce[_0x401f7b(0x31e)][_0x401f7b(0x3ae)](_0x22c58e[_0x401f7b(0x3e1)]['id']))return[];let _0x5e958d=Vt((_0x58ad37=(_0x196302=_0x22c58e['viewIndexes'])==null?void 0x0:_0x196302[_0x1645ce['id']])==null?_0xa1fd8c:_0x58ad37,_0x1645ce[_0x401f7b(0x31e)]['length']);return[_0x58ebbb['insertOp']([...P[_0x401f7b(0x1b6)](_0x2684e3,_0x1645ce['id']),_0x401f7b(0x31e),_0x5e958d],_0x22c58e[_0x401f7b(0x3e1)]['id'])];});return F([_0x58ebbb[_0x4ea152(0x23f)](P[_0x4ea152(0x3e1)](_0x2684e3,_0x22c58e['field']['id']),_0x22c58e[_0x4ea152(0x3e1)]),_0x58ebbb[_0x4ea152(0x23f)](P[_0x4ea152(0x31e)](_0x2684e3,_0xa1fd8c),_0x22c58e['field']['id']),..._0x2ff368]);}['duplicateField'](_0x5efbde,_0x439885,_0x39cf33,_0x599f89){const _0x35ef4e=_0x46d2a0;var _0x5261d0,_0x28a726;let _0x256705=_0x5efbde[_0x35ef4e(0x201)][_0x439885];if(!_0x256705['fields'][_0x39cf33]||_0x256705[_0x35ef4e(0x263)][_0x599f89[_0x35ef4e(0x3e1)]['id']]||_0x256705[_0x35ef4e(0x31e)]['includes'](_0x599f89[_0x35ef4e(0x3e1)]['id']))return _0x58ebbb['replaceOp'](['tables',_0x439885,'fieldOrder'],_0x256705[_0x35ef4e(0x31e)],_0x256705[_0x35ef4e(0x31e)]);let _0x534d71=(_0x5261d0=_0x599f89[_0x35ef4e(0x232)])==null?_0x256705[_0x35ef4e(0x31e)]['indexOf'](_0x39cf33)+0x1:_0x5261d0,_0x4f4e6c=_0x256705[_0x35ef4e(0x31e)]['filter'](_0x12b051=>_0x12b051!==_0x599f89[_0x35ef4e(0x3e1)]['id']),_0x2fabab=Bt(_0x4f4e6c,_0x599f89[_0x35ef4e(0x3e1)]['id'],_0x534d71),_0x235646=Object[_0x35ef4e(0x260)]((_0x28a726=_0x256705[_0x35ef4e(0x1a6)])==null?{}:_0x28a726)[_0x35ef4e(0x15f)](_0x3222e4=>{const _0x436df7=_0x35ef4e;var _0x4a29ed,_0x3c9939,_0x1b7bb1,_0x5d1ba7,_0x5554a4;let _0x1feb95=(_0x4a29ed=_0x3222e4[_0x436df7(0x31e)])!=null&&_0x4a29ed[_0x436df7(0x1f9)]?_0x3222e4[_0x436df7(0x31e)]:_0x4f4e6c;if(_0x1feb95[_0x436df7(0x3ae)](_0x599f89[_0x436df7(0x3e1)]['id']))return[];let _0x4acdbb=Bt(_0x1feb95,_0x599f89[_0x436df7(0x3e1)]['id'],(_0x3c9939=(_0x1b7bb1=_0x599f89['viewIndexes'])==null?void 0x0:_0x1b7bb1[_0x3222e4['id']])==null?_0x534d71:_0x3c9939),_0x2e97d1=(_0x5d1ba7=_0x3222e4[_0x436df7(0x158)])==null?void 0x0:_0x5d1ba7[_0x39cf33];return[this[_0x436df7(0x3ab)]([...P[_0x436df7(0x1b6)](_0x439885,_0x3222e4['id']),_0x436df7(0x31e)],_0x3222e4[_0x436df7(0x31e)],_0x4acdbb),..._0x2e97d1?[this[_0x436df7(0x3ab)]([...P[_0x436df7(0x1b6)](_0x439885,_0x3222e4['id']),'fieldSettings',_0x599f89[_0x436df7(0x3e1)]['id']],(_0x5554a4=_0x3222e4[_0x436df7(0x158)])==null?void 0x0:_0x5554a4[_0x599f89[_0x436df7(0x3e1)]['id']],_0x2e97d1)]:[]];}),_0x11dd36=Object[_0x35ef4e(0x260)](_0x256705[_0x35ef4e(0x1ab)])[_0x35ef4e(0x3f5)](_0x429133=>!_0x429133['deleted']&&Object['prototype'][_0x35ef4e(0x1a7)][_0x35ef4e(0x226)](_0x429133[_0x35ef4e(0x260)],_0x39cf33))[_0x35ef4e(0x3e2)](_0x166fae=>this['_replaceOptional'](P[_0x35ef4e(0x395)](_0x439885,_0x166fae['id'],_0x599f89[_0x35ef4e(0x3e1)]['id']),_0x166fae['values'][_0x599f89[_0x35ef4e(0x3e1)]['id']],_0x166fae[_0x35ef4e(0x260)][_0x39cf33]));return F([_0x58ebbb['insertOp'](P['field'](_0x439885,_0x599f89[_0x35ef4e(0x3e1)]['id']),_0x599f89['field']),_0x58ebbb[_0x35ef4e(0x284)]([_0x35ef4e(0x201),_0x439885,'fieldOrder'],_0x256705[_0x35ef4e(0x31e)],_0x2fabab),..._0x235646,..._0x11dd36]);}[_0x46d2a0(0x36b)](_0x25fdb5,_0x514de2,_0x3c89a8,_0xa7b69a){const _0x2864c3=_0x46d2a0;let _0xd9bc4e=_0x25fdb5[_0x2864c3(0x201)][_0x514de2][_0x2864c3(0x263)][_0x3c89a8],_0x3db8ee={..._0xd9bc4e,..._0xa7b69a};Object[_0x2864c3(0x34d)](_0xa7b69a)['forEach'](_0x338c11=>{_0xa7b69a[_0x338c11]===void 0x0&&delete _0x3db8ee[_0x338c11];});let _0x47104c=_0x58ebbb['replaceOp'](P[_0x2864c3(0x3e1)](_0x514de2,_0x3c89a8),_0xd9bc4e,_0x3db8ee);return _0x3db8ee[_0x2864c3(0x1c2)]===_0x2864c3(0x2c4)?F([_0x47104c,...this[_0x2864c3(0x3b7)](_0x25fdb5,_0x514de2,_0x3c89a8,_0x3db8ee)]):_0x47104c;}[_0x46d2a0(0x3b6)](_0x133994,_0x22b1df,_0x498810,_0x287dac){return this['updateField'](_0x133994,_0x22b1df,_0x498810,_0x287dac);}[_0x46d2a0(0x3cf)](_0x3366e8,_0x562320,_0x2e9b90){const _0x141ae0=_0x46d2a0;let _0x82330f=_0x3366e8['tables'][_0x562320];return!(_0x82330f!=null&&_0x82330f[_0x141ae0(0x263)][_0x2e9b90])||_0x82330f[_0x141ae0(0x26a)]===_0x2e9b90?_0x58ebbb[_0x141ae0(0x284)]([_0x141ae0(0x201),_0x562320,_0x141ae0(0x31e)],_0x82330f==null?void 0x0:_0x82330f['fieldOrder'],_0x82330f==null?void 0x0:_0x82330f[_0x141ae0(0x31e)]):this[_0x141ae0(0x1d8)]([...P[_0x141ae0(0x3e1)](_0x562320,_0x2e9b90),_0x141ae0(0x3a4)],_0x82330f[_0x141ae0(0x263)][_0x2e9b90][_0x141ae0(0x3a4)]);}[_0x46d2a0(0x1b3)](_0x1b65ed,_0x29f129,_0x18bcf2,_0x5e2b4e){const _0x416733=_0x46d2a0;let _0x3daec1=_0x1b65ed[_0x416733(0x201)][_0x29f129][_0x416733(0x31e)],_0xab7f93=zt(_0x3daec1,_0x18bcf2,_0x5e2b4e);return _0x58ebbb['replaceOp']([_0x416733(0x201),_0x29f129,_0x416733(0x31e)],_0x3daec1,_0xab7f93);}[_0x46d2a0(0x1a1)](_0x206c8f,_0x101533,_0x1b6792,_0x17f1f3=_0x206c8f[_0x46d2a0(0x201)][_0x101533][_0x46d2a0(0x352)][_0x46d2a0(0x1f9)]){const _0x6fe30b=_0x46d2a0;return F([_0x58ebbb[_0x6fe30b(0x23f)](P[_0x6fe30b(0x1b6)](_0x101533,_0x1b6792['id']),_0x1b6792),_0x58ebbb[_0x6fe30b(0x23f)]([_0x6fe30b(0x201),_0x101533,_0x6fe30b(0x352),_0x17f1f3],_0x1b6792['id'])]);}[_0x46d2a0(0x3c4)](_0x40a4a9,_0x346838,_0x2201ce,_0x4044d2){const _0x2f4891=_0x46d2a0;return _0x58ebbb[_0x2f4891(0x284)]([...P[_0x2f4891(0x1b6)](_0x346838,_0x2201ce),_0x2f4891(0x3bb)],_0x40a4a9[_0x2f4891(0x201)][_0x346838][_0x2f4891(0x1a6)][_0x2201ce][_0x2f4891(0x3bb)],_0x4044d2);}[_0x46d2a0(0x16a)](_0x589afc,_0x1f7f18,_0x548969){const _0x52d1d5=_0x46d2a0;return this[_0x52d1d5(0x1d8)]([...P[_0x52d1d5(0x1b6)](_0x1f7f18,_0x548969),_0x52d1d5(0x3a4)],_0x589afc[_0x52d1d5(0x201)][_0x1f7f18]['views'][_0x548969]['deleted']);}['moveView'](_0x4ac375,_0x2878fd,_0x3deeda,_0x413872){const _0x4bc10d=_0x46d2a0;let _0x4173ed=_0x4ac375[_0x4bc10d(0x201)][_0x2878fd][_0x4bc10d(0x352)],_0x444136=zt(_0x4173ed,_0x3deeda,{'beforeFieldId':_0x413872['beforeViewId'],'afterFieldId':_0x413872['afterViewId']});return _0x58ebbb[_0x4bc10d(0x284)]([_0x4bc10d(0x201),_0x2878fd,'viewOrder'],_0x4173ed,_0x444136);}[_0x46d2a0(0x3b4)](_0x1ac176,_0x12fe78,_0x2cdbf2,_0x3a6367){const _0x38b99b=_0x46d2a0;var _0x1a2dfb;let _0x5bac15=(_0x1a2dfb=_0x1ac176[_0x38b99b(0x201)][_0x12fe78][_0x38b99b(0x1a6)][_0x2cdbf2][_0x38b99b(0x2d2)])==null?{}:_0x1a2dfb,_0x332ec0={..._0x5bac15,..._0x3a6367};return Object[_0x38b99b(0x34d)](_0x3a6367)[_0x38b99b(0x3f2)](_0x47d708=>{_0x3a6367[_0x47d708]===void 0x0&&delete _0x332ec0[_0x47d708];}),_0x58ebbb[_0x38b99b(0x284)]([...P[_0x38b99b(0x1b6)](_0x12fe78,_0x2cdbf2),_0x38b99b(0x2d2)],_0x5bac15,_0x332ec0);}[_0x46d2a0(0x38a)](_0x4cf76e,_0x2ec406,_0x30b7f7,_0x2606b4){const _0x550aea=_0x46d2a0;return this[_0x550aea(0x3ab)]([...P[_0x550aea(0x1b6)](_0x2ec406,_0x30b7f7),_0x550aea(0x3f5)],_0x4cf76e[_0x550aea(0x201)][_0x2ec406][_0x550aea(0x1a6)][_0x30b7f7][_0x550aea(0x3f5)],_0x2606b4);}[_0x46d2a0(0x189)](_0x5e68c8,_0x126b78,_0x3fb532,_0x342be7){const _0x349206=_0x46d2a0;return this[_0x349206(0x3ab)]([...P['view'](_0x126b78,_0x3fb532),_0x349206(0x16d)],_0x5e68c8[_0x349206(0x201)][_0x126b78][_0x349206(0x1a6)][_0x3fb532]['sort'],_0x342be7);}['setViewGroup'](_0x4878fc,_0x841612,_0x406f5c,_0x262414){const _0x2c6f70=_0x46d2a0;return this[_0x2c6f70(0x3ab)]([...P['view'](_0x841612,_0x406f5c),_0x2c6f70(0x24e)],_0x4878fc[_0x2c6f70(0x201)][_0x841612][_0x2c6f70(0x1a6)][_0x406f5c][_0x2c6f70(0x24e)],_0x262414);}[_0x46d2a0(0x2ff)](_0x22ca91,_0x150743,_0x547349,_0x139227,_0x35641d){const _0x101263=_0x46d2a0;return this[_0x101263(0x2ae)](_0x22ca91,_0x150743,_0x547349,_0x139227,{'hidden':!_0x35641d});}[_0x46d2a0(0x2fc)](_0x199915,_0x1b8922,_0x5d0acc,_0xe62e04,_0x2b79a){const _0x53d46d=_0x46d2a0;return this[_0x53d46d(0x2ae)](_0x199915,_0x1b8922,_0x5d0acc,_0xe62e04,{'width':_0x2b79a});}[_0x46d2a0(0x355)](_0x3efe61,_0x153896,_0x3f260c,_0x270339,_0x2137e4){const _0x181e03=_0x46d2a0;var _0x3d9392;let _0x369324=_0x3efe61[_0x181e03(0x201)][_0x153896][_0x181e03(0x1a6)][_0x3f260c],_0x4ec11f=zt((_0x3d9392=_0x369324['fieldOrder'])==null?_0x3efe61[_0x181e03(0x201)][_0x153896][_0x181e03(0x31e)]:_0x3d9392,_0x270339,_0x2137e4);return this[_0x181e03(0x3ab)]([...P['view'](_0x153896,_0x3f260c),'fieldOrder'],_0x369324[_0x181e03(0x31e)],_0x4ec11f);}[_0x46d2a0(0x2ae)](_0x10d0a4,_0x4f1d0d,_0x1b0de2,_0x47fdb9,_0x1bc18d){const _0x458b17=_0x46d2a0;var _0x3f0c57;let _0xe102ad=(_0x3f0c57=_0x10d0a4['tables'][_0x4f1d0d]['views'][_0x1b0de2][_0x458b17(0x158)])==null?{}:_0x3f0c57,_0x26eb6a={..._0xe102ad,[_0x47fdb9]:{..._0xe102ad[_0x47fdb9],..._0x1bc18d}};return this[_0x458b17(0x3ab)]([...P['view'](_0x4f1d0d,_0x1b0de2),'fieldSettings'],_0x10d0a4[_0x458b17(0x201)][_0x4f1d0d][_0x458b17(0x1a6)][_0x1b0de2][_0x458b17(0x158)],_0x26eb6a);}['_setDeleted'](_0x259603,_0x1d1479){return this['_replaceOptional'](_0x259603,_0x1d1479,!0x0);}[_0x46d2a0(0x15b)](_0x1bb83c,_0x5f189a,_0x2fc9e0){const _0x1ea1d8=_0x46d2a0;let _0x4d0e8a=_0x1bb83c['tables'][_0x5f189a],_0x16ad3f=new Set(_0x2fc9e0[_0x1ea1d8(0x3e2)](_0x3a4699=>_0x3a4699['id'])),_0x567618=[...Object[_0x1ea1d8(0x260)](_0x4d0e8a[_0x1ea1d8(0x1ab)])[_0x1ea1d8(0x3f5)](_0xd411a8=>!_0xd411a8['deleted']&&!_0x16ad3f[_0x1ea1d8(0x3a9)](_0xd411a8['id'])),..._0x2fc9e0['filter'](_0x4dcc2e=>!_0x4dcc2e[_0x1ea1d8(0x3a4)])][_0x1ea1d8(0x16d)]((_0x59e311,_0x3fa78f)=>{const _0x108a0a=_0x1ea1d8;var _0x19672b,_0x55310e;return String((_0x19672b=_0x59e311[_0x108a0a(0x224)])==null?_0x59e311['id']:_0x19672b)[_0x108a0a(0x349)](String((_0x55310e=_0x3fa78f[_0x108a0a(0x224)])==null?_0x3fa78f['id']:_0x55310e));})[_0x1ea1d8(0x3e2)](_0x1403dc=>_0x1403dc['id']),_0x16baeb=[...P[_0x1ea1d8(0x246)](_0x5f189a),'recordOrder'];return _0x4d0e8a[_0x1ea1d8(0x3fd)]?_0x58ebbb[_0x1ea1d8(0x284)](_0x16baeb,_0x4d0e8a[_0x1ea1d8(0x3fd)],_0x567618):_0x58ebbb[_0x1ea1d8(0x23f)](_0x16baeb,_0x567618);}['_setFormulaFieldCells'](_0x38760b,_0x40bdbc,_0xc11680,_0x148fa8){const _0xc6fb73=_0x46d2a0;var _0x572025,_0x318552,_0x32f630,_0x48a68c;let _0x3db21a=C(_0x38760b['tables'][_0x40bdbc]),_0xd608a0=String((_0x572025=(_0x318552=_0x148fa8[_0xc6fb73(0x2d2)])==null?void 0x0:_0x318552[_0xc6fb73(0x2c4)])==null?'':_0x572025)[_0xc6fb73(0x2af)](),_0x13bfe7=(_0x32f630=_0x3db21a[_0xc6fb73(0x3ff)])==null?void 0x0:_0x32f630[_0xc11680];if(_0x13bfe7==null)return[];let _0x2d9ae0=((_0x48a68c=_0x3db21a[_0xc6fb73(0x3fd)])==null?Object[_0xc6fb73(0x34d)](_0x3db21a[_0xc6fb73(0x1ab)]):_0x48a68c)[_0xc6fb73(0x3f5)](_0x1ff914=>{const _0x6b846c=_0xc6fb73;var _0x2e1f5d;return!((_0x2e1f5d=_0x3db21a[_0x6b846c(0x1ab)][_0x1ff914])!=null&&_0x2e1f5d[_0x6b846c(0x3a4)]);}),_0x394a34=_0x2d9ae0[_0xc6fb73(0x3e2)](_0x5907f5=>{var _0x9d8e1d;return(_0x9d8e1d=_0x3db21a['rowIndex'])==null?void 0x0:_0x9d8e1d[_0x5907f5];})['find'](_0x4d3ade=>_0x4d3ade!=null);return _0x2d9ae0[_0xc6fb73(0x15f)](_0x773808=>{const _0x4aa9c0=_0xc6fb73;var _0x23057a,_0x50f855;let _0x342243=(_0x23057a=_0x3db21a['rowIndex'])==null?void 0x0:_0x23057a[_0x773808];if(_0x342243==null)return[];let _0x197bf1=(_0x50f855=_0x3db21a['cellData'])==null||(_0x50f855=_0x50f855[_0x342243])==null?void 0x0:_0x50f855[_0x13bfe7],_0x1369cf=_0xd608a0?_0x342243===_0x394a34?{'f':_0xd608a0,'si':_0xc11680}:{'si':_0xc11680}:{'v':null,'t':null};return[this[_0x4aa9c0(0x3ab)](P[_0x4aa9c0(0x3a1)](_0x40bdbc,_0x342243,_0x13bfe7),_0x197bf1,_0x1369cf)];});}[_0x46d2a0(0x38d)](_0x4471e8,_0x1de8bc,_0x414f23,_0x96c433,_0x4ab69e){const _0x545c3e=_0x46d2a0;var _0xfad90a;let _0x1a2929=Ee(_0x96c433,_0x414f23),_0x37959c=_0x4ab69e[_0x545c3e(0x3e2)]((_0x51434b,_0x525757)=>{var _0x690dc6;return String((_0x690dc6=_0x51434b['id'])==null?_0x1a2929+'\x1f'+_0x525757:_0x690dc6);});return[this[_0x545c3e(0x3ab)](P[_0x545c3e(0x18b)](_0x1de8bc,_0x1a2929),(_0xfad90a=_0x4471e8[_0x545c3e(0x30b)])==null||(_0xfad90a=_0xfad90a['attachmentSets'])==null?void 0x0:_0xfad90a[_0x1a2929],_0x37959c),..._0x4ab69e[_0x545c3e(0x3e2)]((_0x3fda6f,_0x212201)=>{const _0x273859=_0x545c3e;var _0x2645ca;let _0x1133df=_0x37959c[_0x212201];return this[_0x273859(0x3ab)](P[_0x273859(0x1ef)](_0x1de8bc,_0x1133df),(_0x2645ca=_0x4471e8['resources'])==null||(_0x2645ca=_0x2645ca['attachments'])==null?void 0x0:_0x2645ca[_0x1133df],{..._0x3fda6f,'id':_0x1133df});})];}[_0x46d2a0(0x3ab)](_0x334c1a,_0x267e5d,_0x203753){const _0xbdf568=_0x46d2a0;return _0x267e5d===void 0x0?_0x58ebbb[_0xbdf568(0x23f)](_0x334c1a,_0x203753):_0x58ebbb[_0xbdf568(0x284)](_0x334c1a,_0x267e5d,_0x203753);}};function Lt(_0xf80902,_0x59578e,_0x2e1d81){const _0x3add8d=_0x46d2a0;var _0x41d144,_0x3ab5a8,_0x215daf,_0xfb1820;let _0x488a05=(_0x41d144=_0xf80902[_0x3add8d(0x267)])==null?void 0x0:_0x41d144[_0x59578e],_0x1a5816=(_0x3ab5a8=_0xf80902['colIndex'])==null?void 0x0:_0x3ab5a8[_0x2e1d81];return _0x488a05!=null&&_0x1a5816!=null&&((_0x215daf=_0xf80902[_0x3add8d(0x185)])==null?void 0x0:_0x215daf[_0x488a05])===_0x59578e&&((_0xfb1820=_0xf80902[_0x3add8d(0x304)])==null?void 0x0:_0xfb1820[_0x1a5816])===_0x2e1d81&&_0xf80902[_0x3add8d(0x3a1)]!=null;}function Rt(_0x889dda,_0x48590b,_0x418f78){const _0xa31bf9=_0x46d2a0;var _0x158908,_0x505e6f;return((_0x158908=_0x889dda[_0xa31bf9(0x185)])==null?void 0x0:_0x158908[_0x48590b])!=null&&((_0x505e6f=_0x889dda[_0xa31bf9(0x304)])==null?void 0x0:_0x505e6f[_0x418f78])!=null&&_0x889dda[_0xa31bf9(0x3a1)]!=null;}function zt(_0x19dcd4,_0x14efb2,_0x3c903d){const _0x35cb11=_0x46d2a0;let _0x31f543=_0x19dcd4[_0x35cb11(0x3f5)](_0x1e031b=>_0x1e031b!==_0x14efb2),_0x5a6ca6=_0x3c903d[_0x35cb11(0x183)]?_0x31f543[_0x35cb11(0x2b7)](_0x3c903d['beforeFieldId']):_0x3c903d[_0x35cb11(0x161)]?_0x31f543[_0x35cb11(0x2b7)](_0x3c903d[_0x35cb11(0x161)])+0x1:_0x31f543[_0x35cb11(0x1f9)];return _0x31f543[_0x35cb11(0x361)](_0x5a6ca6<0x0?_0x31f543['length']:_0x5a6ca6,0x0,_0x14efb2),_0x31f543;}function Bt(_0x33fdfe,_0x19775c,_0x44c27d){const _0x12be17=_0x46d2a0;let _0x39e883=_0x33fdfe[_0x12be17(0x3f5)](_0x351237=>_0x351237!==_0x19775c);return _0x39e883[_0x12be17(0x361)](Vt(_0x44c27d,_0x39e883[_0x12be17(0x1f9)]),0x0,_0x19775c),_0x39e883;}function Vt(_0x16c8a6,_0x487d0e){const _0x48e484=_0x46d2a0;return Math[_0x48e484(0x3d9)](0x0,Math[_0x48e484(0x39e)](_0x16c8a6,_0x487d0e));}function L(_0x238999){'@babel/helpers - typeof';const _0x7a07ac=_0x46d2a0;return L=typeof Symbol==_0x7a07ac(0x32d)&&typeof Symbol['iterator']==_0x7a07ac(0x205)?function(_0x4fe92c){return typeof _0x4fe92c;}:function(_0x573d31){const _0x29b8c2=_0x7a07ac;return _0x573d31&&typeof Symbol=='function'&&_0x573d31[_0x29b8c2(0x1c6)]===Symbol&&_0x573d31!==Symbol['prototype']?_0x29b8c2(0x205):typeof _0x573d31;},L(_0x238999);}function Ht(_0x41644e,_0x39e4af){const _0x5866a1=_0x46d2a0;if(L(_0x41644e)!=_0x5866a1(0x28d)||!_0x41644e)return _0x41644e;var _0xb4d128=_0x41644e[Symbol[_0x5866a1(0x312)]];if(_0xb4d128!==void 0x0){var _0x4fe1c9=_0xb4d128[_0x5866a1(0x226)](_0x41644e,_0x39e4af||'default');if(L(_0x4fe1c9)!=_0x5866a1(0x28d))return _0x4fe1c9;throw TypeError(_0x5866a1(0x1b0));}return(_0x39e4af===_0x5866a1(0x181)?String:Number)(_0x41644e);}function Ut(_0x34d096){const _0x91660b=_0x46d2a0;var _0x35b944=Ht(_0x34d096,_0x91660b(0x181));return L(_0x35b944)==_0x91660b(0x205)?_0x35b944:_0x35b944+'';}function R(_0x4be035,_0xada930,_0x445fe6){const _0x28e651=_0x46d2a0;return(_0xada930=Ut(_0xada930))in _0x4be035?Object[_0x28e651(0x288)](_0x4be035,_0xada930,{'value':_0x445fe6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4be035[_0xada930]=_0x445fe6,_0x4be035;}const Wt=_0x28c6bb('base.field-registry.service');var Gt=class extends _0x4b1be4{constructor(..._0x462443){const _0x2454e6=_0x46d2a0;super(..._0x462443),R(this,_0x2454e6(0x30d),new Map());}[_0x46d2a0(0x2c9)](_0x53c33f){const _0x448fd0=_0x46d2a0;return this[_0x448fd0(0x30d)][_0x448fd0(0x3dc)](_0x53c33f[_0x448fd0(0x1c2)],_0x53c33f),_0x30fdc4(()=>this['_plugins'][_0x448fd0(0x302)](_0x53c33f[_0x448fd0(0x1c2)]));}['get'](_0x1fd072){const _0x40c1d0=_0x46d2a0;let _0x3ca311=this['_plugins'][_0x40c1d0(0x256)](_0x1fd072);if(!_0x3ca311)throw Error(_0x40c1d0(0x23d)+_0x1fd072+_0x40c1d0(0x29d));return _0x3ca311;}[_0x46d2a0(0x1cb)](_0x4824ac){const _0x1e0e00=_0x46d2a0;return this[_0x1e0e00(0x30d)][_0x1e0e00(0x256)](_0x4824ac);}[_0x46d2a0(0x33a)](){const _0x17f249=_0x46d2a0;return Array[_0x17f249(0x368)](this['_plugins']['values']());}};const Kt=_0x28c6bb('base.permission.service');var qt=class{constructor(){const _0x2ef38a=_0x46d2a0;R(this,'_basePermissions',new Map()),R(this,_0x2ef38a(0x1d2),new Map()),R(this,_0x2ef38a(0x3aa),new Map()),R(this,_0x2ef38a(0x2e9),new Map());}[_0x46d2a0(0x184)](_0x5e8985){const _0x507a42=_0x46d2a0;var _0x5567fd,_0x3af805;return(_0x5567fd=(_0x3af805=this[_0x507a42(0x1ff)]['get'](_0x5e8985))==null?void 0x0:_0x3af805[_0x507a42(0x29f)])==null?!0x0:_0x5567fd;}[_0x46d2a0(0x315)](_0x2e2b28){const _0x1426ef=_0x46d2a0;var _0x54e893,_0x9f68c7;return(_0x54e893=(_0x9f68c7=this[_0x1426ef(0x1d2)][_0x1426ef(0x256)](_0x2e2b28))==null?void 0x0:_0x9f68c7['delete'])==null?!0x0:_0x54e893;}[_0x46d2a0(0x162)](_0x2f5e42){const _0x140f4c=_0x46d2a0;var _0x127b24,_0x592cdb;return(_0x127b24=(_0x592cdb=this[_0x140f4c(0x1d2)][_0x140f4c(0x256)](_0x2f5e42))==null?void 0x0:_0x592cdb[_0x140f4c(0x32c)])==null?!0x0:_0x127b24;}[_0x46d2a0(0x3d7)](_0x342ede,_0x68cf15){const _0x57a505=_0x46d2a0;var _0x1ecc9c,_0x21b323;return(_0x1ecc9c=(_0x21b323=this[_0x57a505(0x3aa)]['get'](Jt(_0x342ede,_0x68cf15)))==null?void 0x0:_0x21b323['edit'])==null?!0x0:_0x1ecc9c;}[_0x46d2a0(0x19f)](_0x5e9ee3,_0x19a4e5){const _0x2cf364=_0x46d2a0;var _0x78efff,_0x15ba59;return(_0x78efff=(_0x15ba59=this[_0x2cf364(0x3aa)][_0x2cf364(0x256)](Jt(_0x5e9ee3,_0x19a4e5)))==null?void 0x0:_0x15ba59['delete'])==null?!0x0:_0x78efff;}['canCreateRecord'](_0x35a437){const _0x46c310=_0x46d2a0;var _0x46340e,_0x3ef4c3;return(_0x46340e=(_0x3ef4c3=this['_tablePermissions'][_0x46c310(0x256)](_0x35a437))==null?void 0x0:_0x3ef4c3[_0x46c310(0x351)])==null?!0x0:_0x46340e;}[_0x46d2a0(0x25b)](_0x85c59e,_0x3d4bb9){const _0x228797=_0x46d2a0;var _0x2dd7cc,_0x21fe6f;return(_0x2dd7cc=(_0x21fe6f=this[_0x228797(0x2e9)]['get'](Yt(_0x85c59e,_0x3d4bb9)))==null?void 0x0:_0x21fe6f['delete'])==null?!0x0:_0x2dd7cc;}[_0x46d2a0(0x203)](_0x15ee0c,_0x5523b3,_0x52b2b4){const _0x2329c1=_0x46d2a0;var _0x4c2e7c,_0x12adaf,_0x47cb3d,_0x27450b;let _0x53df31=this[_0x2329c1(0x3aa)][_0x2329c1(0x256)](Jt(_0x15ee0c,_0x52b2b4));return((_0x4c2e7c=(_0x12adaf=this[_0x2329c1(0x2e9)][_0x2329c1(0x256)](Yt(_0x15ee0c,_0x5523b3)))==null?void 0x0:_0x12adaf[_0x2329c1(0x393)])==null?!0x0:_0x4c2e7c)&&((_0x47cb3d=_0x53df31==null?void 0x0:_0x53df31[_0x2329c1(0x216)])==null?!0x0:_0x47cb3d)&&((_0x27450b=_0x53df31==null?void 0x0:_0x53df31[_0x2329c1(0x393)])==null?!0x0:_0x27450b);}[_0x46d2a0(0x394)](_0x223a24){const _0x503743=_0x46d2a0;var _0x5511cc,_0xb797ae;return(_0x5511cc=(_0xb797ae=this[_0x503743(0x1d2)][_0x503743(0x256)](_0x223a24))==null?void 0x0:_0xb797ae['manageView'])==null?!0x0:_0x5511cc;}[_0x46d2a0(0x2e2)](_0x395638,_0x1bf8ce){const _0x2045f7=_0x46d2a0;this[_0x2045f7(0x1ff)][_0x2045f7(0x3dc)](_0x395638,{...this['_basePermissions'][_0x2045f7(0x256)](_0x395638),..._0x1bf8ce});}[_0x46d2a0(0x3f6)](_0x2e7f4e,_0x41b3ed){const _0x1850a7=_0x46d2a0;this[_0x1850a7(0x1d2)][_0x1850a7(0x3dc)](_0x2e7f4e,{...this[_0x1850a7(0x1d2)][_0x1850a7(0x256)](_0x2e7f4e),..._0x41b3ed});}[_0x46d2a0(0x2f2)](_0x2310a2,_0x1f357e,_0x857802){const _0x52686d=_0x46d2a0;let _0x2b26ef=Jt(_0x2310a2,_0x1f357e);this[_0x52686d(0x3aa)][_0x52686d(0x3dc)](_0x2b26ef,{...this[_0x52686d(0x3aa)]['get'](_0x2b26ef),..._0x857802});}[_0x46d2a0(0x35a)](_0x4555c8,_0x2f42dc,_0x3e46c7){const _0x12db85=_0x46d2a0;let _0x44096d=Yt(_0x4555c8,_0x2f42dc);this[_0x12db85(0x2e9)][_0x12db85(0x3dc)](_0x44096d,{...this[_0x12db85(0x2e9)][_0x12db85(0x256)](_0x44096d),..._0x3e46c7});}['clearBasePermission'](_0x1768b0){const _0x5d6196=_0x46d2a0;this[_0x5d6196(0x1ff)][_0x5d6196(0x302)](_0x1768b0);}[_0x46d2a0(0x38c)](_0x438aa3){const _0x397418=_0x46d2a0;this[_0x397418(0x1d2)][_0x397418(0x302)](_0x438aa3);}[_0x46d2a0(0x1d3)](_0x13f571,_0x228069){const _0x13a197=_0x46d2a0;this['_fieldPermissions'][_0x13a197(0x302)](Jt(_0x13f571,_0x228069));}[_0x46d2a0(0x279)](_0x6ed439,_0xfab0e){const _0x17dd8b=_0x46d2a0;this['_recordPermissions'][_0x17dd8b(0x302)](Yt(_0x6ed439,_0xfab0e));}[_0x46d2a0(0x364)](){const _0x27c686=_0x46d2a0;return{'bases':Object[_0x27c686(0x3ed)](this[_0x27c686(0x1ff)]),'tables':Object[_0x27c686(0x3ed)](this[_0x27c686(0x1d2)]),'fields':Object[_0x27c686(0x3ed)](this[_0x27c686(0x3aa)]),'records':Object['fromEntries'](this[_0x27c686(0x2e9)])};}};function Jt(_0x477a2f,_0x427ae7){return _0x477a2f+'\x1f'+_0x427ae7;}function Yt(_0x3122c6,_0x54eeec){return _0x3122c6+'\x1f'+_0x54eeec;}function z(_0x25175d,_0x2d3d9b){return function(_0x6ff722,_0x5a7c8d){_0x2d3d9b(_0x6ff722,_0x5a7c8d,_0x25175d);};}function B(_0x4b049d,_0x5016d1,_0x23ea21,_0x5d8875){const _0x7330fd=_0x46d2a0;var _0x5b2bfe=arguments[_0x7330fd(0x1f9)],_0x5e77b9=_0x5b2bfe<0x3?_0x5016d1:_0x5d8875===null?_0x5d8875=Object[_0x7330fd(0x18e)](_0x5016d1,_0x23ea21):_0x5d8875,_0x3aefc4;if(typeof Reflect==_0x7330fd(0x28d)&&typeof Reflect[_0x7330fd(0x334)]==_0x7330fd(0x32d))_0x5e77b9=Reflect[_0x7330fd(0x334)](_0x4b049d,_0x5016d1,_0x23ea21,_0x5d8875);else{for(var _0x598ad1=_0x4b049d[_0x7330fd(0x1f9)]-0x1;_0x598ad1>=0x0;_0x598ad1--)(_0x3aefc4=_0x4b049d[_0x598ad1])&&(_0x5e77b9=(_0x5b2bfe<0x3?_0x3aefc4(_0x5e77b9):_0x5b2bfe>0x3?_0x3aefc4(_0x5016d1,_0x23ea21,_0x5e77b9):_0x3aefc4(_0x5016d1,_0x23ea21))||_0x5e77b9);}return _0x5b2bfe>0x3&&_0x5e77b9&&Object[_0x7330fd(0x288)](_0x5016d1,_0x23ea21,_0x5e77b9),_0x5e77b9;}const V=_0x28c6bb(_0x46d2a0(0x22d));let H=class{constructor(_0x287e44,_0x1c7e30=Xt(),_0x16ee42={}){const _0x59b197=_0x46d2a0;this['_permissionService']=_0x287e44,this[_0x59b197(0x308)]=_0x1c7e30,this[_0x59b197(0x3cb)]=_0x16ee42,R(this,'_factory',new I()),R(this,_0x59b197(0x1b1),new O());}[_0x46d2a0(0x29f)](_0x40efb8,_0x5e8e16,_0x158d61){const _0x1c1e38=_0x46d2a0;if(!this[_0x1c1e38(0x2b1)][_0x1c1e38(0x184)](_0x40efb8['getUnitId']()))throw Error(_0x1c1e38(0x3c0));this[_0x1c1e38(0x2d3)](_0x40efb8,this[_0x1c1e38(0x33e)][_0x1c1e38(0x29f)](_0x40efb8['getSnapshot'](),_0x5e8e16,_0x158d61));}[_0x46d2a0(0x3b0)](_0x93c78c,_0x5130d1,_0x37d226){const _0x403bab=_0x46d2a0;this[_0x403bab(0x2d3)](_0x93c78c,this[_0x403bab(0x33e)][_0x403bab(0x3b0)](_0x93c78c['getSnapshot'](),_0x5130d1,_0x37d226));}[_0x46d2a0(0x2b2)](_0x14ba3f,_0x20f2d9){const _0x2be536=_0x46d2a0;if(!this[_0x2be536(0x2b1)]['canDeleteTable'](_0x20f2d9))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');this[_0x2be536(0x2d3)](_0x14ba3f,this[_0x2be536(0x33e)][_0x2be536(0x2b2)](_0x14ba3f['getSnapshot'](),_0x20f2d9));}['updateCell'](_0xad6c61,_0xd79f7e,_0x1693cc,_0xb86d92,_0x546244){const _0x3824be=_0x46d2a0;this[_0x3824be(0x2d3)](_0xad6c61,this[_0x3824be(0x245)](_0xad6c61,_0xd79f7e,_0x1693cc,_0xb86d92,_0x546244));}[_0x46d2a0(0x3b8)](_0x34e8a7,_0xb935c5,_0x3a1206){const _0x220b5e=_0x46d2a0;this['_apply'](_0x34e8a7,this[_0x220b5e(0x2de)](_0x34e8a7,_0xb935c5,_0x3a1206));}[_0x46d2a0(0x351)](_0x306d19,_0x5ca273,_0x31b40a){const _0x3780cf=_0x46d2a0;this[_0x3780cf(0x2d3)](_0x306d19,this[_0x3780cf(0x319)](_0x306d19,_0x5ca273,_0x31b40a));}['createUpdateCellOp'](_0x236564,_0x468c49,_0x5e349e,_0x19c537,_0x5088d2){const _0x2aa351=_0x46d2a0;let _0x5eb978=_0x236564[_0x2aa351(0x364)](),_0x5325e6=this[_0x2aa351(0x252)](_0x5eb978,_0x468c49,_0x5e349e,_0x19c537,_0x5088d2),_0x15f29e=this[_0x2aa351(0x211)](_0x5eb978,_0x468c49,_0x5e349e,{[_0x19c537]:_0x5325e6});return this[_0x2aa351(0x33e)][_0x2aa351(0x3b8)](_0x5eb978,_0x468c49,[_0x15f29e]);}[_0x46d2a0(0x2de)](_0x4f65b9,_0x38cfdc,_0x486b50){const _0x47efa2=_0x46d2a0;let _0x201110=_0x4f65b9[_0x47efa2(0x364)](),_0x26e13f=_0x486b50[_0x47efa2(0x3e2)](_0x25e6d7=>this[_0x47efa2(0x211)](_0x201110,_0x38cfdc,_0x25e6d7[_0x47efa2(0x2c7)],{...Object[_0x47efa2(0x3ed)](Object['entries'](_0x25e6d7[_0x47efa2(0x260)])[_0x47efa2(0x3e2)](([_0x537034,_0x349e14])=>[_0x537034,this['_normalizeCellValue'](_0x201110,_0x38cfdc,_0x25e6d7['recordId'],_0x537034,_0x349e14)]))}));return this[_0x47efa2(0x33e)][_0x47efa2(0x3b8)](_0x201110,_0x38cfdc,_0x26e13f);}[_0x46d2a0(0x319)](_0x5f4dbb,_0x2af82d,_0x3b8047){const _0x56aa70=_0x46d2a0;if(!this[_0x56aa70(0x2b1)][_0x56aa70(0x345)](_0x2af82d))throw Error(_0x56aa70(0x213));let _0x30677e=_0x5f4dbb['getSnapshot']();return this[_0x56aa70(0x33e)][_0x56aa70(0x351)](_0x30677e,_0x2af82d,this[_0x56aa70(0x25d)](_0x30677e,_0x2af82d,_0x3b8047));}[_0x46d2a0(0x21d)](_0x21487c,_0x3a60ae,_0x2cf602){const _0x1f4a1c=_0x46d2a0;if(!this[_0x1f4a1c(0x2b1)]['canCreateRecord'](_0x3a60ae))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x4f0860=_0x21487c[_0x1f4a1c(0x364)]();return this['_factory'][_0x1f4a1c(0x207)](_0x4f0860,_0x3a60ae,_0x2cf602[_0x1f4a1c(0x3e2)](_0x34689b=>this['_createRecordWithDefaults'](_0x4f0860,_0x3a60ae,_0x34689b)));}['createCreateFieldOp'](_0x1e5d87,_0x504d24,_0x3dcfa8,_0x1ce175,_0x51a216){const _0x4b1414=_0x46d2a0;if(!this['_permissionService']['canCreateField'](_0x504d24))throw Error(_0x4b1414(0x37e));let _0x24ffd7=_0x1e5d87[_0x4b1414(0x364)](),_0x3b587f=this[_0x4b1414(0x33e)][_0x4b1414(0x32c)](_0x24ffd7,_0x504d24,{'field':_0x3dcfa8,'index':_0x1ce175,'viewIndexes':_0x51a216}),_0x533d1e=this['_createSystemFieldValuePatches'](_0x24ffd7,_0x504d24,_0x3dcfa8);if(!_0x533d1e[_0x4b1414(0x1f9)])return _0x3b587f;let _0xce5721=this[_0x4b1414(0x1b1)][_0x4b1414(0x2e0)](_0x24ffd7,_0x3b587f);return F([_0x3b587f,this[_0x4b1414(0x33e)][_0x4b1414(0x3b8)](_0xce5721,_0x504d24,_0x533d1e)]);}[_0x46d2a0(0x3c9)](_0xf16006,_0x10027b,_0x153ca6){const _0x27494f=_0x46d2a0;if(!this[_0x27494f(0x2b1)][_0x27494f(0x25b)](_0x10027b,_0x153ca6))throw Error(_0x27494f(0x15a));this[_0x27494f(0x2d3)](_0xf16006,this[_0x27494f(0x33e)][_0x27494f(0x3c9)](_0xf16006[_0x27494f(0x364)](),_0x10027b,_0x153ca6));}[_0x46d2a0(0x170)](_0x499555,_0x119ac1,_0xf8699,_0x4dc717){const _0x3f36b9=_0x46d2a0;this[_0x3f36b9(0x2d3)](_0x499555,this['_factory'][_0x3f36b9(0x170)](_0x499555[_0x3f36b9(0x364)](),_0x119ac1,_0xf8699,_0x4dc717));}[_0x46d2a0(0x2c1)](_0x40ce86,_0x390ea7,_0x1bd109,_0x5aa98c){const _0x1d6d00=_0x46d2a0;this[_0x1d6d00(0x2d3)](_0x40ce86,this['_factory'][_0x1d6d00(0x2c1)](_0x40ce86[_0x1d6d00(0x364)](),_0x390ea7,_0x1bd109,_0x5aa98c));}['createField'](_0x4b1e5f,_0x3d2787,_0x2e5269,_0x46791c,_0x563614){const _0x5c0ab3=_0x46d2a0;this[_0x5c0ab3(0x2d3)](_0x4b1e5f,this['createCreateFieldOp'](_0x4b1e5f,_0x3d2787,_0x2e5269,_0x46791c,_0x563614));}[_0x46d2a0(0x36b)](_0x295efd,_0x151447,_0x2ffc82,_0x6777de){const _0x4ad4c1=_0x46d2a0;if(!this[_0x4ad4c1(0x2b1)]['canEditField'](_0x151447,_0x2ffc82))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this['_apply'](_0x295efd,this[_0x4ad4c1(0x33e)][_0x4ad4c1(0x36b)](_0x295efd['getSnapshot'](),_0x151447,_0x2ffc82,_0x6777de));}['changeFieldType'](_0x26ab70,_0x105a80,_0x29819f,_0x2beb6f){const _0x225ccf=_0x46d2a0;if(!this[_0x225ccf(0x2b1)][_0x225ccf(0x3d7)](_0x105a80,_0x29819f))throw Error(_0x225ccf(0x1fe));this[_0x225ccf(0x2d3)](_0x26ab70,this['_factory'][_0x225ccf(0x3b6)](_0x26ab70['getSnapshot'](),_0x105a80,_0x29819f,_0x2beb6f));}[_0x46d2a0(0x3cf)](_0xda99d4,_0x2e1fab,_0x5f4eab){const _0x1853f4=_0x46d2a0;var _0xe7db8b;if(((_0xe7db8b=_0xda99d4[_0x1853f4(0x364)]()[_0x1853f4(0x201)][_0x2e1fab])==null?void 0x0:_0xe7db8b[_0x1853f4(0x26a)])===_0x5f4eab)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x1853f4(0x2b1)][_0x1853f4(0x19f)](_0x2e1fab,_0x5f4eab))throw Error(_0x1853f4(0x1f2));this[_0x1853f4(0x2d3)](_0xda99d4,this[_0x1853f4(0x33e)][_0x1853f4(0x3cf)](_0xda99d4[_0x1853f4(0x364)](),_0x2e1fab,_0x5f4eab));}[_0x46d2a0(0x1b3)](_0x2eb96a,_0x272788,_0x377c56,_0x55079c){const _0x42f423=_0x46d2a0;if(!this[_0x42f423(0x2b1)][_0x42f423(0x3d7)](_0x272788,_0x377c56))throw Error(_0x42f423(0x1fe));this[_0x42f423(0x2d3)](_0x2eb96a,this['_factory'][_0x42f423(0x1b3)](_0x2eb96a['getSnapshot'](),_0x272788,_0x377c56,_0x55079c));}[_0x46d2a0(0x1a1)](_0x1d70b0,_0x54bf58,_0x11ea3a,_0x1b5477){const _0x3bcb68=_0x46d2a0;this[_0x3bcb68(0x2d3)](_0x1d70b0,this['_factory'][_0x3bcb68(0x1a1)](_0x1d70b0[_0x3bcb68(0x364)](),_0x54bf58,_0x11ea3a,_0x1b5477));}[_0x46d2a0(0x3c4)](_0x37d3b0,_0xe2f498,_0x41e5c8,_0x326232){const _0x49e3e7=_0x46d2a0;if(!this[_0x49e3e7(0x2b1)][_0x49e3e7(0x394)](_0xe2f498,_0x41e5c8))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x37d3b0,this[_0x49e3e7(0x33e)][_0x49e3e7(0x3c4)](_0x37d3b0['getSnapshot'](),_0xe2f498,_0x41e5c8,_0x326232));}[_0x46d2a0(0x16a)](_0x5c3c9d,_0x2db578,_0x3cada2){const _0x1ca62c=_0x46d2a0;if(!this[_0x1ca62c(0x2b1)][_0x1ca62c(0x394)](_0x2db578,_0x3cada2))throw Error(_0x1ca62c(0x188));this[_0x1ca62c(0x2d3)](_0x5c3c9d,this[_0x1ca62c(0x33e)][_0x1ca62c(0x16a)](_0x5c3c9d[_0x1ca62c(0x364)](),_0x2db578,_0x3cada2));}['moveView'](_0x12b853,_0x1a0f8c,_0x15826b,_0xa05982){const _0x58c0ca=_0x46d2a0;if(!this[_0x58c0ca(0x2b1)][_0x58c0ca(0x394)](_0x1a0f8c,_0x15826b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x58c0ca(0x2d3)](_0x12b853,this['_factory'][_0x58c0ca(0x1ce)](_0x12b853[_0x58c0ca(0x364)](),_0x1a0f8c,_0x15826b,_0xa05982));}[_0x46d2a0(0x3b4)](_0x33f067,_0x20c203,_0x1fdeb1,_0x239629){const _0x2e701c=_0x46d2a0;if(!this['_permissionService'][_0x2e701c(0x394)](_0x20c203,_0x1fdeb1))throw Error(_0x2e701c(0x188));this['_apply'](_0x33f067,this[_0x2e701c(0x33e)][_0x2e701c(0x3b4)](_0x33f067['getSnapshot'](),_0x20c203,_0x1fdeb1,_0x239629));}[_0x46d2a0(0x38a)](_0x1a7a54,_0x151853,_0x28418e,_0x13db1b){const _0x23ee65=_0x46d2a0;this[_0x23ee65(0x2d3)](_0x1a7a54,this[_0x23ee65(0x33e)][_0x23ee65(0x38a)](_0x1a7a54[_0x23ee65(0x364)](),_0x151853,_0x28418e,_0x13db1b));}[_0x46d2a0(0x189)](_0x3bda1b,_0x3137fd,_0x2c1d59,_0x51be28){const _0x39a817=_0x46d2a0;this[_0x39a817(0x2d3)](_0x3bda1b,this['_factory'][_0x39a817(0x189)](_0x3bda1b[_0x39a817(0x364)](),_0x3137fd,_0x2c1d59,_0x51be28));}[_0x46d2a0(0x359)](_0x4d7afa,_0x3fb3c2,_0x2105cc,_0x4a029a){const _0x4244be=_0x46d2a0;this[_0x4244be(0x2d3)](_0x4d7afa,this[_0x4244be(0x33e)][_0x4244be(0x359)](_0x4d7afa['getSnapshot'](),_0x3fb3c2,_0x2105cc,_0x4a029a));}[_0x46d2a0(0x2ff)](_0x20e3cf,_0x4683c3,_0x4581a4,_0x3952ae,_0x6c0921){const _0x1af7e0=_0x46d2a0;if(!this[_0x1af7e0(0x2b1)][_0x1af7e0(0x394)](_0x4683c3,_0x4581a4))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x20e3cf,this['_factory']['setViewFieldVisible'](_0x20e3cf[_0x1af7e0(0x364)](),_0x4683c3,_0x4581a4,_0x3952ae,_0x6c0921));}[_0x46d2a0(0x2fc)](_0x18a19c,_0x4abaf7,_0x3a3a63,_0x4aab4b,_0x36a69e){const _0x721c3b=_0x46d2a0;this[_0x721c3b(0x2d3)](_0x18a19c,this[_0x721c3b(0x33e)][_0x721c3b(0x2fc)](_0x18a19c[_0x721c3b(0x364)](),_0x4abaf7,_0x3a3a63,_0x4aab4b,_0x36a69e));}['setViewFieldOrder'](_0x289311,_0x32984c,_0x8cd55d,_0x18d3b6,_0x4162be){const _0x429dab=_0x46d2a0;this['_apply'](_0x289311,this[_0x429dab(0x33e)][_0x429dab(0x355)](_0x289311[_0x429dab(0x364)](),_0x32984c,_0x8cd55d,_0x18d3b6,_0x4162be));}['_apply'](_0x10955f,_0x5d037b){const _0x5a6660=_0x46d2a0;let _0x4de969=_0x10955f[_0x5a6660(0x364)]();_0x10955f[_0x5a6660(0x22b)](this[_0x5a6660(0x1b1)]['applyOp'](_0x4de969,_0x5d037b));}[_0x46d2a0(0x25d)](_0x3bf574,_0x1f08b2,_0x8208f8){const _0xc3e15c=_0x46d2a0;var _0x209669,_0x5a7c75,_0x279833,_0x699642;let _0x599fb1=_0x3bf574['tables'][_0x1f08b2],_0x3b6401=(_0x209669=(_0x5a7c75=_0x8208f8['createdBy'])==null?_0x8208f8[_0xc3e15c(0x2db)]:_0x5a7c75)==null?this[_0xc3e15c(0x377)]():_0x209669,_0x4b7a88={..._0x8208f8,'createdBy':(_0x279833=_0x8208f8[_0xc3e15c(0x163)])==null?_0x3b6401:_0x279833,'updatedBy':(_0x699642=_0x8208f8[_0xc3e15c(0x2db)])==null?_0x3b6401:_0x699642,'values':{..._0x8208f8[_0xc3e15c(0x260)]}};return _0x599fb1['fieldOrder'][_0xc3e15c(0x3f2)](_0x59bd8a=>{const _0xdc5af9=_0xc3e15c;let _0x4424ea=_0x599fb1[_0xdc5af9(0x263)][_0x59bd8a];if(!(!_0x4424ea||_0x4424ea[_0xdc5af9(0x3a4)]||_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]!==void 0x0))switch(_0x4424ea[_0xdc5af9(0x1c2)]){case _0xdc5af9(0x23c):_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]=this[_0xdc5af9(0x192)](_0x599fb1,_0x59bd8a);break;case'createdBy':_0x4b7a88[_0xdc5af9(0x163)]&&(_0x4b7a88['values'][_0x59bd8a]=_0x4b7a88['createdBy']);break;case'updatedBy':_0x4b7a88[_0xdc5af9(0x2db)]&&(_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]=_0x4b7a88['updatedBy']);break;case _0xdc5af9(0x21a):_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]=k(_0x4b7a88[_0xdc5af9(0x21a)]);break;case _0xdc5af9(0x3b1):_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]=k(_0x4b7a88[_0xdc5af9(0x3b1)]);break;default:{let _0xda9623=_0x4424ea[_0xdc5af9(0x173)];_0xda9623!=null&&_0xda9623!==''&&!(Array['isArray'](_0xda9623)&&_0xda9623[_0xdc5af9(0x1f9)]===0x0)&&(_0x4b7a88[_0xdc5af9(0x260)][_0x59bd8a]=_0xda9623);}}}),_0x4b7a88;}[_0x46d2a0(0x211)](_0x108e54,_0x418e69,_0x353612,_0x5659d9){const _0x498f7e=_0x46d2a0;var _0x172dd8,_0x477f31,_0x329a5d;let _0x1b55d8=_0x108e54[_0x498f7e(0x201)][_0x418e69],_0x11ad9c=(_0x172dd8=(_0x477f31=(_0x329a5d=this[_0x498f7e(0x3cb)])[_0x498f7e(0x3ea)])==null?void 0x0:_0x477f31[_0x498f7e(0x226)](_0x329a5d))==null?Date['now']():_0x172dd8,_0x103ca2=this['_getCurrentUserId'](),_0xa6d4a7={..._0x5659d9};return _0x1b55d8['fieldOrder'][_0x498f7e(0x3f2)](_0x2d2e03=>{const _0x1265c3=_0x498f7e;let _0x16d058=_0x1b55d8[_0x1265c3(0x263)][_0x2d2e03];!_0x16d058||_0x16d058[_0x1265c3(0x3a4)]||(_0x16d058['type']===_0x1265c3(0x3b1)&&(_0xa6d4a7[_0x2d2e03]=k(_0x11ad9c)),_0x16d058[_0x1265c3(0x1c2)]===_0x1265c3(0x2db)&&_0x103ca2&&(_0xa6d4a7[_0x2d2e03]=_0x103ca2));}),{'recordId':_0x353612,'values':_0xa6d4a7,'recordPatch':{'updatedAt':_0x11ad9c,..._0x103ca2?{'updatedBy':_0x103ca2}:{}}};}[_0x46d2a0(0x28e)](_0x2a1f8a,_0x2e12be,_0x307d0e){const _0xa384d9=_0x46d2a0;let _0x2a85ec=_0x2a1f8a[_0xa384d9(0x201)][_0x2e12be];return!_0x2a85ec||!Zt(_0x307d0e)?[]:Object['values'](_0x2a85ec[_0xa384d9(0x1ab)])['filter'](_0x1069ab=>!_0x1069ab['deleted'])[_0xa384d9(0x15f)](_0x224ae2=>{let _0x2664f7=this['_getSystemFieldValue'](_0x307d0e,_0x224ae2);return _0x2664f7===void 0x0?[]:[{'recordId':_0x224ae2['id'],'values':{[_0x307d0e['id']]:_0x2664f7}}];});}[_0x46d2a0(0x234)](_0x3119eb,_0x11b093){const _0x4cea85=_0x46d2a0;switch(_0x3119eb[_0x4cea85(0x1c2)]){case'createdBy':var _0x524e22;return(_0x524e22=_0x11b093['createdBy'])==null?this[_0x4cea85(0x377)]():_0x524e22;case _0x4cea85(0x2db):var _0x2a4972;return(_0x2a4972=_0x11b093[_0x4cea85(0x2db)])==null?this[_0x4cea85(0x377)]():_0x2a4972;case'createdAt':var _0x477923;return k((_0x477923=_0x11b093['createdAt'])==null?Date[_0x4cea85(0x3ea)]():_0x477923);case _0x4cea85(0x3b1):var _0x3dd3a5;return k((_0x3dd3a5=_0x11b093['updatedAt'])==null?Date[_0x4cea85(0x3ea)]():_0x3dd3a5);default:return;}}[_0x46d2a0(0x192)](_0x2555ce,_0xad81f1){const _0x393809=_0x46d2a0;let _0x1d6b4c=Object['values'](_0x2555ce[_0x393809(0x1ab)])[_0x393809(0x397)]((_0x35cd7a,_0xb59607)=>{const _0x57773d=_0x393809;if(_0xb59607['deleted'])return _0x35cd7a;let _0x45b9ba=Number(_0xb59607[_0x57773d(0x260)][_0xad81f1]);return Number[_0x57773d(0x20c)](_0x45b9ba)?Math[_0x57773d(0x3d9)](_0x35cd7a,_0x45b9ba):_0x35cd7a;},0x0);return String(_0x1d6b4c+0x1);}[_0x46d2a0(0x377)](){const _0x53ad21=_0x46d2a0;var _0x19f549,_0x2038c4,_0x1b596c,_0x30fa8b,_0x369137,_0x375998;return(_0x19f549=(_0x2038c4=(_0x1b596c=(_0x30fa8b=this[_0x53ad21(0x3cb)])[_0x53ad21(0x392)])==null?void 0x0:_0x1b596c[_0x53ad21(0x226)](_0x30fa8b))==null?(_0x369137=(_0x375998=this[_0x53ad21(0x3cb)])[_0x53ad21(0x307)])==null||(_0x369137=_0x369137['call'](_0x375998))==null?void 0x0:_0x369137['userID']:_0x2038c4)==null?void 0x0:_0x19f549;}[_0x46d2a0(0x252)](_0x2ad8e6,_0x56bdb0,_0x414894,_0x2b4c5c,_0x39c6ae){const _0x4df4a4=_0x46d2a0;var _0x500a97;if(!this[_0x4df4a4(0x2b1)][_0x4df4a4(0x203)](_0x56bdb0,_0x414894,_0x2b4c5c))throw Error(_0x4df4a4(0x2ac));let _0x4e4120=(_0x500a97=_0x2ad8e6[_0x4df4a4(0x201)][_0x56bdb0])==null?void 0x0:_0x500a97[_0x4df4a4(0x263)][_0x2b4c5c];if(!_0x4e4120||_0x4e4120[_0x4df4a4(0x3a4)])throw Error(_0x4df4a4(0x187)+_0x2b4c5c+_0x4df4a4(0x318));let _0x46ad7d=this[_0x4df4a4(0x308)][_0x4df4a4(0x256)](_0x4e4120[_0x4df4a4(0x1c2)]);if(_0x4e4120[_0x4df4a4(0x1b7)]||_0x4e4120[_0x4df4a4(0x35e)]||!_0x46ad7d[_0x4df4a4(0x27e)](_0x4e4120)[_0x4df4a4(0x3a5)])throw Error(_0x4df4a4(0x289));let _0xa99690=_0x46ad7d['normalize'](_0x39c6ae,_0x4e4120),_0x25c159=_0x46ad7d['validate'](_0xa99690,_0x4e4120);if(!_0x25c159[_0x4df4a4(0x1ca)]){var _0x59d6dc;throw Error((_0x59d6dc=_0x25c159[_0x4df4a4(0x399)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x59d6dc);}return _0xa99690;}};H=B([z(0x0,Kt),z(0x1,Wt)],H);function Xt(){const _0x21e976=_0x46d2a0;let _0x48c1cd=new Gt();return Ct()[_0x21e976(0x3f2)](_0xb495d5=>_0x48c1cd[_0x21e976(0x2c9)](_0xb495d5)),_0x48c1cd;}function Zt(_0x748626){const _0x42b582=_0x46d2a0;return _0x748626['type']==='numbering'||_0x748626['type']===_0x42b582(0x163)||_0x748626[_0x42b582(0x1c2)]==='updatedBy'||_0x748626[_0x42b582(0x1c2)]===_0x42b582(0x21a)||_0x748626[_0x42b582(0x1c2)]===_0x42b582(0x3b1);}const Qt=new Set([_0x46d2a0(0x265),_0x46d2a0(0x1fc),_0x46d2a0(0x1e0)]);function $t(_0x360d77){const _0x5d8ffa=_0x46d2a0;var _0x519d97,_0x16a5e9;let _0x2408b9=_0x360d77['fields'][_0x360d77['primaryFieldId']];return!(_0x2408b9&&(_0x2408b9[_0x5d8ffa(0x35e)]===!0x0||_0x2408b9['id'][_0x5d8ffa(0x327)]()==='id'||_0x2408b9[_0x5d8ffa(0x3bb)]['trim']()[_0x5d8ffa(0x327)]()==='id'))&&_0x2408b9&&!_0x2408b9[_0x5d8ffa(0x3a4)]?_0x2408b9['id']:(_0x519d97=(_0x16a5e9=_0x360d77['fieldOrder'][_0x5d8ffa(0x3e2)](_0x3f871d=>_0x360d77[_0x5d8ffa(0x263)][_0x3f871d])['find'](_0x31b008=>_0x31b008&&!_0x31b008[_0x5d8ffa(0x3a4)]&&_0x31b008['id']!==_0x360d77[_0x5d8ffa(0x26a)]))==null?void 0x0:_0x16a5e9['id'])==null?_0x360d77[_0x5d8ffa(0x26a)]:_0x519d97;}function en(_0x3b42f8,_0x1174fb=[],_0x360ceb=0x5){const _0x40ad66=_0x46d2a0;let _0x5a53e7=new Set(_0x1174fb[_0x40ad66(0x3f5)](_0x3ba917=>!!_0x3ba917)),_0x125c8f=_0x3b42f8['fieldOrder'][_0x40ad66(0x15f)](_0x2d81a3=>{let _0x43c1a8=_0x3b42f8['fields'][_0x2d81a3];return _0x43c1a8&&!_0x43c1a8['deleted']&&!_0x5a53e7['has'](_0x43c1a8['id'])?[_0x43c1a8]:[];}),_0x191e3e=_0x125c8f[_0x40ad66(0x3f5)](_0x421cc6=>Qt[_0x40ad66(0x3a9)](_0x421cc6[_0x40ad66(0x1c2)])),_0x330487=_0x125c8f[_0x40ad66(0x3f5)](_0x5b0ae4=>!Qt['has'](_0x5b0ae4[_0x40ad66(0x1c2)]));return[..._0x191e3e,..._0x330487][_0x40ad66(0x2bd)](0x0,_0x360ceb)['map'](_0x4ef197=>_0x4ef197['id']);}function tn(){const _0x11d545=_0x46d2a0;return[{'type':_0x11d545(0x400),'i18nKey':_0x11d545(0x32f),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x32d49a=_0x11d545;throw Error(_0x32d49a(0x3b3));}},{'type':_0x11d545(0x2c6),'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x342abf=>{const _0x2cfbb0=_0x11d545;let _0x2ea6e7=nn(_0x342abf);return{'groupFieldId':_0x2ea6e7,'coverFieldId':null,'cardLayout':_0x2cfbb0(0x195),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x342abf[_0x2cfbb0(0x26a)],'fieldIds':en(_0x342abf,[_0x342abf[_0x2cfbb0(0x26a)],_0x2ea6e7])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3faa07=_0x11d545;throw Error(_0x3faa07(0x24c));}},{'type':_0x11d545(0x2c0),'i18nKey':_0x11d545(0x238),'createDefaultConfig':_0x2a8188=>{const _0x4a2a48=_0x11d545;let _0x5bc2ac=rn(_0x2a8188);return{'startDateFieldId':_0x5bc2ac,'endDateFieldId':an(_0x2a8188,_0x5bc2ac),'titleFieldId':_0x2a8188[_0x4a2a48(0x26a)],'mode':'month','timeslotSize':'medium','timeZone':_0x4a2a48(0x2f1),'displayColor':{'type':_0x4a2a48(0x32b),'color':_0x4a2a48(0x169)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x11d545(0x2b6),'i18nKey':_0x11d545(0x3cc),'createDefaultConfig':_0x179fa8=>{const _0x5949a6=_0x11d545;var _0x26155c;let _0x4967d1=rn(_0x179fa8);return{'startDateFieldId':_0x4967d1,'endDateFieldId':(_0x26155c=an(_0x179fa8,_0x4967d1))==null?_0x4967d1:_0x26155c,'titleFieldId':_0x179fa8[_0x5949a6(0x26a)],'scale':_0x5949a6(0x18a),'showTodayLine':!0x0,'displayColor':{'type':_0x5949a6(0x32b),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x969776=_0x11d545;throw Error(_0x969776(0x2ca));}},{'type':'gallery','i18nKey':_0x11d545(0x3ac),'createDefaultConfig':_0x5b7526=>{const _0x12ece8=_0x11d545;let _0x3c8588=$t(_0x5b7526);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x3c8588,'coverFieldId':null,'fieldIds':en(_0x5b7526,[_0x3c8588,_0x5b7526[_0x12ece8(0x26a)]])},'cardSize':_0x12ece8(0x2ec)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function nn(_0x4bd3af){const _0x455fff=_0x46d2a0;var _0xd50b2c,_0x1dd5b7,_0x1f0739,_0x1131ec,_0x55cbc1,_0x284987;let _0x573aab=_0x4bd3af[_0x455fff(0x31e)][_0x455fff(0x3e2)](_0x3a3ebb=>_0x4bd3af[_0x455fff(0x263)][_0x3a3ebb])[_0x455fff(0x3f5)](_0x599268=>!!_0x599268&&!_0x599268['deleted']);return(_0xd50b2c=(_0x1dd5b7=(_0x1f0739=(_0x1131ec=_0x573aab[_0x455fff(0x323)](_0x4a3b06=>_0x4a3b06[_0x455fff(0x1c2)]===_0x455fff(0x295)||_0x4a3b06[_0x455fff(0x1c2)]===_0x455fff(0x3d0)||_0x4a3b06[_0x455fff(0x1c2)]===_0x455fff(0x24e)))==null?void 0x0:_0x1131ec['id'])==null?(_0x55cbc1=_0x573aab[_0x455fff(0x323)](_0x1c0a62=>_0x1c0a62[_0x455fff(0x1c2)]===_0x455fff(0x35f)))==null?void 0x0:_0x55cbc1['id']:_0x1f0739)==null?(_0x284987=_0x573aab[_0x455fff(0x323)](_0x16bdd8=>_0x16bdd8['type']===_0x455fff(0x214)||_0x16bdd8[_0x455fff(0x1c2)]===_0x455fff(0x21a)||_0x16bdd8[_0x455fff(0x1c2)]==='updatedAt'))==null?void 0x0:_0x284987['id']:_0x1dd5b7)==null?_0x4bd3af[_0x455fff(0x26a)]:_0xd50b2c;}function rn(_0x40005d){const _0x5d99d6=_0x46d2a0;var _0x3bd3f1,_0x1cc03f;return(_0x3bd3f1=(_0x1cc03f=_0x40005d[_0x5d99d6(0x31e)][_0x5d99d6(0x3e2)](_0x1fc3b6=>_0x40005d[_0x5d99d6(0x263)][_0x1fc3b6])['find'](on))==null?void 0x0:_0x1cc03f['id'])==null?'':_0x3bd3f1;}function an(_0x48950e,_0x5f0ca0){const _0x4193d4=_0x46d2a0;var _0x2baa04;return(_0x2baa04=_0x48950e['fieldOrder'][_0x4193d4(0x3e2)](_0x2bce7e=>_0x48950e[_0x4193d4(0x263)][_0x2bce7e])[_0x4193d4(0x323)](_0x5518b6=>on(_0x5518b6)&&_0x5518b6['id']!==_0x5f0ca0))==null?void 0x0:_0x2baa04['id'];}function on(_0x25bf9c){const _0x261ae7=_0x46d2a0;return!!_0x25bf9c&&!_0x25bf9c[_0x261ae7(0x3a4)]&&_0x25bf9c[_0x261ae7(0x1c2)]===_0x261ae7(0x214)&&_0x25bf9c[_0x261ae7(0x1b7)]!==!0x0&&_0x25bf9c[_0x261ae7(0x35e)]!==!0x0;}const sn=_0x28c6bb(_0x46d2a0(0x3d8)),cn=new Set([_0x46d2a0(0x330),_0x46d2a0(0x285),_0x46d2a0(0x265),'rating','date',_0x46d2a0(0x21a),_0x46d2a0(0x3b1),'checkbox']);let ln=class extends _0x4b1be4{constructor(_0x37973b){const _0x27dfe9=_0x46d2a0;super(),this['_fieldRegistry']=_0x37973b,R(this,'_views',new Map()),R(this,'_projectionCache',new WeakMap()),R(this,_0x27dfe9(0x2bf),new Map()),R(this,_0x27dfe9(0x3a2),new Map()),R(this,_0x27dfe9(0x1c0),new Map()),R(this,_0x27dfe9(0x171),0x0),R(this,'_tableRevisions',new Map()),R(this,_0x27dfe9(0x2b4),new Map()),R(this,_0x27dfe9(0x299),new Map()),R(this,'_viewRevisions',new Map());}[_0x46d2a0(0x3fb)](_0x2706cf){const _0x2bad1b=_0x46d2a0;return this[_0x2bad1b(0x25e)]['set'](_0x2706cf[_0x2bad1b(0x1c2)],_0x2706cf),_0x30fdc4(()=>this[_0x2bad1b(0x25e)]['delete'](_0x2706cf[_0x2bad1b(0x1c2)]));}[_0x46d2a0(0x1f5)](_0x115e20,_0x3e787f,_0x4decb9){const _0x302c9a=_0x46d2a0;var _0x5caa4a,_0x48690c,_0x71d4a7,_0x55f652,_0x2d9ddd;return S(_0x302c9a(0x3eb),()=>{const _0x39e98e=_0x302c9a;let _0x5c6a1c=this['_getCachedProjection'](_0x115e20,_0x3e787f,_0x4decb9);if(_0x5c6a1c)return _0x5c6a1c;let _0x32bf27=_0x115e20[_0x39e98e(0x201)][_0x3e787f],_0x3efbfc=_0x32bf27==null?void 0x0:_0x32bf27['views'][_0x4decb9];if(!_0x32bf27||!_0x3efbfc||_0x32bf27[_0x39e98e(0x3a4)]||_0x3efbfc[_0x39e98e(0x3a4)]){var _0x5e6e12;return this['_setCachedProjection'](_0x115e20,_0x3e787f,_0x4decb9,{'type':_0x39e98e(0x19d),'viewType':(_0x5e6e12=_0x3efbfc==null?void 0x0:_0x3efbfc['type'])==null?_0x39e98e(0x400):_0x5e6e12,'reason':_0x39e98e(0x1ad)});}let _0x57df70;switch(_0x3efbfc[_0x39e98e(0x1c2)]){case'grid':_0x57df70=this[_0x39e98e(0x2aa)](_0x32bf27,_0x3efbfc);break;case _0x39e98e(0x2b6):_0x57df70=this[_0x39e98e(0x1cf)](_0x32bf27,_0x3efbfc);break;case _0x39e98e(0x2c6):_0x57df70=this['_buildKanban'](_0x32bf27,_0x3efbfc);break;case _0x39e98e(0x2c0):_0x57df70=this['_buildCalendar'](_0x32bf27,_0x3efbfc);break;case _0x39e98e(0x26f):_0x57df70=this[_0x39e98e(0x20d)](_0x32bf27,_0x3efbfc);break;default:_0x57df70={'type':_0x39e98e(0x19d),'viewType':_0x3efbfc[_0x39e98e(0x1c2)],'reason':_0x39e98e(0x1ad)};}return this[_0x39e98e(0x2a3)](_0x115e20,_0x3e787f,_0x4decb9,_0x57df70);},{'tableId':_0x3e787f,'viewId':_0x4decb9,'viewType':(_0x5caa4a=_0x115e20['tables'][_0x3e787f])==null||(_0x5caa4a=_0x5caa4a[_0x302c9a(0x1a6)][_0x4decb9])==null?void 0x0:_0x5caa4a[_0x302c9a(0x1c2)],'records':(_0x48690c=(_0x71d4a7=_0x115e20[_0x302c9a(0x201)][_0x3e787f])==null||(_0x71d4a7=_0x71d4a7[_0x302c9a(0x3fd)])==null?void 0x0:_0x71d4a7[_0x302c9a(0x1f9)])==null?Object[_0x302c9a(0x34d)]((_0x55f652=(_0x2d9ddd=_0x115e20[_0x302c9a(0x201)][_0x3e787f])==null?void 0x0:_0x2d9ddd[_0x302c9a(0x1ab)])==null?{}:_0x55f652)[_0x302c9a(0x1f9)]:_0x48690c});}[_0x46d2a0(0x363)](_0x1226ff,_0x5f571d,_0x29e902){const _0xa7827f=_0x46d2a0;var _0x50b859,_0x36dd10,_0x34b88c,_0xe330ff;let _0xaefd5b=_0x1226ff[_0xa7827f(0x201)][_0x5f571d],_0x47d311=_0xaefd5b==null?void 0x0:_0xaefd5b[_0xa7827f(0x1a6)][_0x29e902];if(!_0xaefd5b||!_0x47d311)throw Error(_0xa7827f(0x303)+_0x29e902+'\x22.');let _0x209a09=_0x31a5bd=>{const _0x4b5eb2=_0xa7827f;let _0x3bea2e=_0xaefd5b[_0x4b5eb2(0x263)][_0x31a5bd];return!!_0x3bea2e&&!_0x3bea2e[_0x4b5eb2(0x3a4)];},_0x2a0537={..._0x47d311,'filter':_0x47d311['filter']?{..._0x47d311['filter'],'conditions':_0x47d311['filter']['conditions'][_0xa7827f(0x3f5)](_0x58d8be=>_0x209a09(_0x58d8be['fieldId']))}:_0x47d311['filter'],'sort':(_0x50b859=_0x47d311[_0xa7827f(0x16d)])==null?void 0x0:_0x50b859[_0xa7827f(0x3f5)](_0x1924c5=>_0x209a09(_0x1924c5['fieldId'])),'group':(_0x36dd10=_0x47d311[_0xa7827f(0x24e)])==null?void 0x0:_0x36dd10['filter'](_0x28b71e=>_0x209a09(_0x28b71e['fieldId'])),'fieldOrder':(_0x34b88c=_0x47d311[_0xa7827f(0x31e)])==null?void 0x0:_0x34b88c[_0xa7827f(0x3f5)](_0x209a09),'fieldSettings':Object['fromEntries'](Object[_0xa7827f(0x384)]((_0xe330ff=_0x47d311[_0xa7827f(0x158)])==null?{}:_0xe330ff)['filter'](([_0x5b3920])=>_0x209a09(_0x5b3920)))};if(_0x2a0537[_0xa7827f(0x1c2)]===_0xa7827f(0x2c6)){var _0x84882a,_0x4855c2,_0x1843e7,_0x145831;let _0x25960b=(_0x84882a=_0x2a0537[_0xa7827f(0x2d2)])==null?{}:_0x84882a,_0x150dc0=this[_0xa7827f(0x3a0)](_0xaefd5b,_0x2a0537);_0x2a0537['config']={..._0x25960b,'groupFieldId':_0x150dc0==null?_0x25960b[_0xa7827f(0x196)]:_0x150dc0,'coverFieldId':this[_0xa7827f(0x385)](_0xaefd5b,_0x25960b),'cardLayout':_0x25960b[_0xa7827f(0x372)]==='compose'?_0xa7827f(0x2ea):_0xa7827f(0x195),'showFieldNames':_0x25960b['showFieldNames']!==!0x1,'fieldSettings':Object[_0xa7827f(0x3ed)](Object[_0xa7827f(0x384)]((_0x4855c2=_0x25960b['fieldSettings'])==null?{}:_0x4855c2)['filter'](([_0xb5eaa9])=>_0x209a09(_0xb5eaa9))),'columnSettings':(_0x1843e7=_0x25960b[_0xa7827f(0x333)])==null?{}:_0x1843e7,'card':{...(_0x145831=_0x25960b['card'])==null?{}:_0x145831,'fieldIds':this[_0xa7827f(0x1b4)](_0xaefd5b,_0x2a0537,_0x150dc0==null?'':_0x150dc0)}};}return{'repaired':JSON[_0xa7827f(0x1b8)](_0x2a0537)!==JSON[_0xa7827f(0x1b8)](_0x47d311),'view':_0x2a0537};}['invalidateByOp'](){this['_globalRevision']++;}[_0x46d2a0(0x339)](_0x57f916,_0x166970,_0x3df92b){const _0x20c694=_0x46d2a0;var _0x100e54;let _0x22fa4e=this[_0x20c694(0x175)](_0x57f916)+0x1;this[_0x20c694(0x2b4)][_0x20c694(0x3dc)](_0x57f916,_0x22fa4e);let _0x155678=(_0x100e54=this['_cellInvalidations'][_0x20c694(0x256)](_0x57f916))==null?[]:_0x100e54;_0x155678[_0x20c694(0x31f)]({'revision':_0x22fa4e,'recordId':_0x166970,'fieldId':_0x3df92b}),this['_cellInvalidations'][_0x20c694(0x3dc)](_0x57f916,_0x155678);}[_0x46d2a0(0x230)](_0xa49d5b,_0x5c653a){const _0xc306b6=_0x46d2a0;this[_0xc306b6(0x1fd)](_0xa49d5b);}[_0x46d2a0(0x3c2)](_0x553284,_0x49bc0a){const _0x41d319=_0x46d2a0;this[_0x41d319(0x26c)][_0x41d319(0x3dc)](this[_0x41d319(0x3e4)](_0x553284,_0x49bc0a),this[_0x41d319(0x36d)](_0x553284,_0x49bc0a)+0x1);}[_0x46d2a0(0x24f)](_0xf431b4,_0x12903b,_0x1ff658){const _0xafbf4c=_0x46d2a0;var _0x17e441;let _0xb17745=(_0x17e441=this['_projectionCache']['get'](_0xf431b4))==null?void 0x0:_0x17e441['get'](this['_cacheKey'](_0x12903b,_0x1ff658));return _0xb17745&&_0xb17745[_0xafbf4c(0x2cf)]===this['_globalRevision']&&_0xb17745[_0xafbf4c(0x168)]===this[_0xafbf4c(0x24d)](_0x12903b)&&_0xb17745[_0xafbf4c(0x38e)]===this['_getCellRevision'](_0x12903b)&&_0xb17745[_0xafbf4c(0x1ac)]===this[_0xafbf4c(0x36d)](_0x12903b,_0x1ff658)?_0xb17745[_0xafbf4c(0x34e)]:null;}[_0x46d2a0(0x2a3)](_0x4e9485,_0xb84ccf,_0x1dfc58,_0x572a47){const _0x42b550=_0x46d2a0;let _0xc46a78=this[_0x42b550(0x186)][_0x42b550(0x256)](_0x4e9485);return _0xc46a78||(_0xc46a78=new Map(),this[_0x42b550(0x186)]['set'](_0x4e9485,_0xc46a78)),_0xc46a78[_0x42b550(0x3dc)](this[_0x42b550(0x154)](_0xb84ccf,_0x1dfc58),{'projection':_0x572a47,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x42b550(0x24d)](_0xb84ccf),'cellRevision':this['_getCellRevision'](_0xb84ccf),'viewRevision':this[_0x42b550(0x36d)](_0xb84ccf,_0x1dfc58)}),_0x572a47;}[_0x46d2a0(0x1fd)](_0x42a969){const _0x4382d3=_0x46d2a0;this[_0x4382d3(0x1de)][_0x4382d3(0x3dc)](_0x42a969,this[_0x4382d3(0x24d)](_0x42a969)+0x1);}[_0x46d2a0(0x24d)](_0x3c3185){const _0x20ffab=_0x46d2a0;var _0x195795;return(_0x195795=this['_tableRevisions'][_0x20ffab(0x256)](_0x3c3185))==null?0x0:_0x195795;}[_0x46d2a0(0x175)](_0x45ce1f){const _0x36f004=_0x46d2a0;var _0x2b28e7;return(_0x2b28e7=this['_cellRevisions'][_0x36f004(0x256)](_0x45ce1f))==null?0x0:_0x2b28e7;}['_getViewRevision'](_0x360c98,_0x58a519){const _0x2c729b=_0x46d2a0;var _0x5e6eca;return(_0x5e6eca=this[_0x2c729b(0x26c)][_0x2c729b(0x256)](this['_viewRevisionKey'](_0x360c98,_0x58a519)))==null?0x0:_0x5e6eca;}['_cacheKey'](_0x1ef81d,_0x2486e7){return _0x1ef81d+'\x00'+_0x2486e7;}[_0x46d2a0(0x2c3)](_0x4974b1,_0x574429){return _0x4974b1+'\x00'+this['_rowTransformCacheSegment'](_0x574429);}[_0x46d2a0(0x281)](_0x50c66a,_0x2f644c,_0x3e3f53){const _0x219677=_0x46d2a0;return _0x50c66a+'\x00'+this[_0x219677(0x309)](_0x2f644c)+'\x00'+this[_0x219677(0x2ef)](_0x3e3f53);}[_0x46d2a0(0x309)](_0x3c7c2f){const _0x3cac7c=_0x46d2a0;return _0x3c7c2f?hn({'filter':pn(_0x3c7c2f['filter']),'sort':mn(_0x3c7c2f[_0x3cac7c(0x16d)])}):_0x3cac7c(0x236);}['_groupConfigCacheSegment'](_0x3ffbc8){return hn(_0x3ffbc8['map'](_0x3764da=>{const _0x2ddaa7=_0x2d01;var _0x3d39b1;return{'fieldId':_0x3764da[_0x2ddaa7(0x3ef)],'direction':(_0x3d39b1=_0x3764da[_0x2ddaa7(0x30c)])==null?null:_0x3d39b1};}));}[_0x46d2a0(0x3e4)](_0xac2c31,_0x517ff9){return _0xac2c31+'\x00'+_0x517ff9;}[_0x46d2a0(0x2aa)](_0x348b70,_0x417f9e){const _0x3d50f1=_0x46d2a0;let _0x14d307=this[_0x3d50f1(0x362)](_0x348b70,_0x417f9e);return{'type':_0x3d50f1(0x400),'fields':this['_projectFields'](_0x348b70,_0x417f9e),'rows':_0x14d307,'groups':this[_0x3d50f1(0x2e7)](_0x348b70,_0x417f9e,_0x14d307),'frozenFieldCount':typeof _0x417f9e[_0x3d50f1(0x2d2)]['frozenFieldCount']=='number'?_0x417f9e[_0x3d50f1(0x2d2)][_0x3d50f1(0x1fb)]:0x0};}[_0x46d2a0(0x26d)](_0x14dbe0,_0x9de2){const _0x11042f=_0x46d2a0;var _0x28273f;let _0x3fccf9=this[_0x11042f(0x3a0)](_0x14dbe0,_0x9de2),_0x57ef4b=_0x3fccf9?_0x14dbe0['fields'][_0x3fccf9]:void 0x0;if(!_0x57ef4b||_0x57ef4b[_0x11042f(0x3a4)])return{'type':'invalid','viewType':'kanban','reason':_0x11042f(0x2a5),'fieldId':_0x9de2[_0x11042f(0x2d2)][_0x11042f(0x196)]};let _0x5bff93=this['_projectRows'](_0x14dbe0,_0x9de2),_0x4150c2=this[_0x11042f(0x23e)](_0x14dbe0,_0x9de2),_0x3944a3=(_0x28273f=_0x9de2[_0x11042f(0x2d2)])==null?{}:_0x28273f,_0x4942fa=this['_resolveKanbanCardFieldIds'](_0x14dbe0,_0x9de2,_0x57ef4b['id']),_0x416804=new Map();return this[_0x11042f(0x28f)](_0x57ef4b,_0x3944a3)['forEach'](_0x34e58b=>_0x416804[_0x11042f(0x3dc)](_0x34e58b[_0x11042f(0x30f)],{..._0x34e58b,'recordIds':[]})),_0x5bff93['forEach'](_0x52c407=>{const _0x5a672a=_0x11042f;this[_0x5a672a(0x3af)](_0x57ef4b,_0x52c407[_0x5a672a(0x260)][_0x57ef4b['id']])[_0x5a672a(0x3f2)](_0x484c7f=>{const _0x121775=_0x5a672a;let _0x129771=_0x416804[_0x121775(0x256)](_0x484c7f),_0x5703c4=_0x129771==null?{'key':_0x484c7f,'title':this[_0x121775(0x3b2)](_0x57ef4b,_0x484c7f,_0x3944a3),'color':this['_kanbanLaneColor'](_0x57ef4b,_0x484c7f,_0x3944a3),'recordIds':[]}:_0x129771;_0x5703c4[_0x121775(0x350)][_0x121775(0x31f)](_0x52c407[_0x121775(0x2c7)]),_0x416804[_0x121775(0x3dc)](_0x484c7f,_0x5703c4);});}),{'type':_0x11042f(0x2c6),'fields':_0x4150c2,'rows':_0x5bff93,'groups':this[_0x11042f(0x2e7)](_0x14dbe0,_0x9de2,_0x5bff93),'groupFieldId':_0x57ef4b['id'],'coverFieldId':this[_0x11042f(0x385)](_0x14dbe0,_0x3944a3),'cardLayout':_0x3944a3['cardLayout']==='compose'?'compose':_0x11042f(0x195),'showFieldNames':_0x3944a3[_0x11042f(0x2d0)]!==!0x1,'visibleCardFieldIds':_0x4942fa,'lanes':Array['from'](_0x416804[_0x11042f(0x260)]())};}['_resolveKanbanGroupFieldId'](_0x3ac9e5,_0x1e2d67){const _0x427a2b=_0x46d2a0;var _0x3a59b8;let _0x3b38db=(_0x3a59b8=_0x1e2d67[_0x427a2b(0x2d2)])==null?void 0x0:_0x3a59b8['groupFieldId'];return _0x3b38db&&this['_isKanbanGroupField'](_0x3ac9e5,_0x3b38db)?_0x3b38db:this[_0x427a2b(0x2a6)](_0x3ac9e5,_0x1dc056=>this['_isAllowedKanbanGroupField'](_0x1dc056));}[_0x46d2a0(0x2a6)](_0x3c895d,_0x57c2d7){const _0x593695=_0x46d2a0;for(let _0x6c52df of _0x3c895d['fieldOrder']){let _0x2abced=_0x3c895d[_0x593695(0x263)][_0x6c52df];if(_0x2abced&&!_0x2abced['deleted']&&_0x57c2d7(_0x2abced))return _0x2abced['id'];}return null;}[_0x46d2a0(0x27d)](_0x32ca78,_0xe17552){const _0x2c74f2=_0x46d2a0;let _0x1325e8=_0x32ca78[_0x2c74f2(0x263)][_0xe17552];return this['_isAllowedKanbanGroupField'](_0x1325e8);}[_0x46d2a0(0x342)](_0x575a5b){const _0x1261b2=_0x46d2a0;return!!_0x575a5b&&!_0x575a5b[_0x1261b2(0x3a4)]&&(_0x575a5b[_0x1261b2(0x1c2)]===_0x1261b2(0x295)||_0x575a5b[_0x1261b2(0x1c2)]===_0x1261b2(0x3d0)||_0x575a5b[_0x1261b2(0x1c2)]===_0x1261b2(0x1fc)||_0x575a5b[_0x1261b2(0x1c2)]===_0x1261b2(0x34c)||_0x575a5b[_0x1261b2(0x1c2)]===_0x1261b2(0x24e)||_0x575a5b[_0x1261b2(0x1c2)]==='checkbox');}[_0x46d2a0(0x28c)](_0x18abcc){const _0x5d2a8a=_0x46d2a0;return _0x18abcc[_0x5d2a8a(0x1c2)]===_0x5d2a8a(0x295)||_0x18abcc['type']==='multiSelect';}[_0x46d2a0(0x385)](_0x2329f9,_0xd528a3){const _0x934dca=_0x46d2a0;var _0xa8eb8c,_0x5f5a3d,_0x56983b;let _0x1b479d=(_0xa8eb8c=(_0x5f5a3d=_0xd528a3[_0x934dca(0x33f)])==null?(_0x56983b=_0xd528a3[_0x934dca(0x25a)])==null?void 0x0:_0x56983b['coverFieldId']:_0x5f5a3d)==null?null:_0xa8eb8c;if(!_0x1b479d)return null;let _0x54d43e=_0x2329f9['fields'][_0x1b479d];return _0x54d43e&&!_0x54d43e['deleted']&&this[_0x934dca(0x2e3)](_0x54d43e)[_0x934dca(0x2fd)]?_0x54d43e['id']:null;}[_0x46d2a0(0x1b4)](_0x197d8e,_0x462f30,_0x9b58aa){const _0x58f17b=_0x46d2a0;var _0x49b76a,_0x9d0f59,_0x23d53d;let _0x4b7489=(_0x49b76a=_0x462f30['config'])==null?{}:_0x49b76a,_0x4a779d=!((_0x9d0f59=_0x4b7489[_0x58f17b(0x25a)])==null||(_0x9d0f59=_0x9d0f59[_0x58f17b(0x2e5)])==null)&&_0x9d0f59[_0x58f17b(0x1f9)]?_0x4b7489[_0x58f17b(0x25a)][_0x58f17b(0x2e5)]:en(_0x197d8e,[_0x197d8e[_0x58f17b(0x26a)],_0x9b58aa]),_0x100f31=(_0x23d53d=_0x4b7489[_0x58f17b(0x158)])==null?{}:_0x23d53d;return _0x4a779d[_0x58f17b(0x3f5)](_0x243d59=>{const _0x227b21=_0x58f17b;var _0x1cfd6a,_0x297b5d;let _0x553e1a=_0x197d8e[_0x227b21(0x263)][_0x243d59];return!(!_0x553e1a||_0x553e1a[_0x227b21(0x3a4)]||_0x553e1a['id']===_0x9b58aa||!((_0x1cfd6a=_0x462f30[_0x227b21(0x158)])==null||(_0x1cfd6a=_0x1cfd6a[_0x243d59])==null)&&_0x1cfd6a[_0x227b21(0x1d5)]||(_0x297b5d=_0x100f31[_0x243d59])!=null&&_0x297b5d[_0x227b21(0x1d5)]);})['sort']((_0x1fe7ba,_0x4d009d)=>{const _0x5911e0=_0x58f17b;var _0x59d801,_0x530ee0,_0x3a0d97,_0x3735ff;return((_0x59d801=(_0x530ee0=_0x100f31[_0x1fe7ba])==null?void 0x0:_0x530ee0[_0x5911e0(0x30e)])==null?_0x4a779d[_0x5911e0(0x2b7)](_0x1fe7ba):_0x59d801)-((_0x3a0d97=(_0x3735ff=_0x100f31[_0x4d009d])==null?void 0x0:_0x3735ff[_0x5911e0(0x30e)])==null?_0x4a779d[_0x5911e0(0x2b7)](_0x4d009d):_0x3a0d97);});}[_0x46d2a0(0x28f)](_0x18ed1e,_0x23b8c8){const _0x6ed510=_0x46d2a0;var _0x2b979d,_0x394d46;let _0x3bc6f5=(Array['isArray']((_0x2b979d=_0x18ed1e[_0x6ed510(0x2d2)])==null?void 0x0:_0x2b979d[_0x6ed510(0x2a4)])?_0x18ed1e['config'][_0x6ed510(0x2a4)]:[])['flatMap']((_0x42a913,_0xed0613)=>{const _0x39c325=_0x6ed510;var _0x4f51a7,_0x4bc521,_0x3521e1,_0x378b93;if(_0x42a913==null)return[];let _0x3fd6f7=typeof _0x42a913=='string'?{'id':_0x42a913,'name':_0x42a913,'color':void 0x0}:_0x42a913,_0x2cb49d=String((_0x4f51a7=(_0x4bc521=_0x3fd6f7['id'])==null?_0x3fd6f7['name']:_0x4bc521)==null?'option-'+(_0xed0613+0x1):_0x4f51a7);return[{'key':_0x2cb49d,'title':String((_0x3521e1=(_0x378b93=_0x3fd6f7[_0x39c325(0x3bb)])==null?_0x3fd6f7['id']:_0x378b93)==null?_0x2cb49d:_0x3521e1),'color':this[_0x39c325(0x19a)](_0x18ed1e,_0x2cb49d,_0x23b8c8)}];});return Object[_0x6ed510(0x384)]((_0x394d46=_0x23b8c8['columnSettings'])==null?{}:_0x394d46)[_0x6ed510(0x3f2)](([_0x49f1a1,_0x334e57])=>{const _0x3b2387=_0x6ed510;var _0x2572f0;_0x3bc6f5['some'](_0x838332=>_0x838332[_0x3b2387(0x30f)]===_0x49f1a1)||_0x3bc6f5[_0x3b2387(0x31f)]({'key':_0x49f1a1,'title':this[_0x3b2387(0x28c)](_0x18ed1e)?(_0x2572f0=_0x334e57[_0x3b2387(0x2f5)])==null?this['_kanbanLaneTitle'](_0x18ed1e,_0x49f1a1,_0x23b8c8):_0x2572f0:this[_0x3b2387(0x3b2)](_0x18ed1e,_0x49f1a1,_0x23b8c8),'color':this[_0x3b2387(0x19a)](_0x18ed1e,_0x49f1a1,_0x23b8c8)});}),_0x3bc6f5;}[_0x46d2a0(0x3af)](_0x515571,_0xf80bfa){const _0x30126c=_0x46d2a0;let _0x5b8236=_0x319aad=>{const _0x21c2a0=_0x2d01;var _0x287354,_0x1ef208;let _0x4cc5f5=_0x319aad==null?'':String(_0x319aad);return!_0x4cc5f5||!this[_0x21c2a0(0x28c)](_0x515571)||(_0x287354=(_0x1ef208=K(_0x515571,_0x4cc5f5))==null?void 0x0:_0x1ef208['id'])==null?_0x4cc5f5:_0x287354;};if(Array['isArray'](_0xf80bfa)){let _0x406fa5=_0xf80bfa['map'](_0x5b8236)[_0x30126c(0x3f5)](_0x40ccff=>_0x40ccff!=='');return _0x406fa5['length']?_0x406fa5:[''];}return[_0x5b8236(_0xf80bfa)];}[_0x46d2a0(0x3b2)](_0x387642,_0x2b7603,_0x30e135){const _0x5e2159=_0x46d2a0;var _0x537bc7;if(!_0x2b7603)return _0x5e2159(0x2d9);let _0x38845c=K(_0x387642,_0x2b7603);return(_0x537bc7=_0x38845c==null?void 0x0:_0x38845c[_0x5e2159(0x3bb)])==null?_0x2b7603:_0x537bc7;}[_0x46d2a0(0x19a)](_0x3e765d,_0x45b6ba,_0x1619cd){const _0x25c432=_0x46d2a0;var _0x25db40;if(this[_0x25c432(0x28c)](_0x3e765d))return(_0x25db40=K(_0x3e765d,_0x45b6ba))==null?void 0x0:_0x25db40[_0x25c432(0x19c)];}[_0x46d2a0(0x353)](_0x250480,_0x45f443){const _0x5a97ac=_0x46d2a0;var _0x531f54;let _0x23f00f=this[_0x5a97ac(0x404)](_0x250480,(_0x531f54=_0x45f443[_0x5a97ac(0x2d2)])==null?{}:_0x531f54),_0x4f59ea=_0x250480[_0x5a97ac(0x263)][_0x23f00f[_0x5a97ac(0x21f)]];if(!_0x4f59ea||_0x4f59ea[_0x5a97ac(0x3a4)]||_0x4f59ea['type']!==_0x5a97ac(0x214)||_0x4f59ea[_0x5a97ac(0x1b7)]===!0x0||_0x4f59ea['system']===!0x0||!this[_0x5a97ac(0x2e3)](_0x4f59ea)[_0x5a97ac(0x257)])return{'type':_0x5a97ac(0x19d),'viewType':_0x5a97ac(0x2c0),'reason':_0x5a97ac(0x1bf),'fieldId':_0x23f00f[_0x5a97ac(0x21f)]};let _0x2ca069=_0x23f00f[_0x5a97ac(0x383)]?_0x250480[_0x5a97ac(0x263)][_0x23f00f[_0x5a97ac(0x383)]]:void 0x0,_0x4e7498=this[_0x5a97ac(0x362)](_0x250480,_0x45f443);return{'type':_0x5a97ac(0x2c0),'config':_0x23f00f,'fields':this[_0x5a97ac(0x23e)](_0x250480,_0x45f443),'rows':_0x4e7498,'groups':this[_0x5a97ac(0x2e7)](_0x250480,_0x45f443,_0x4e7498),'events':_0x4e7498['flatMap'](_0x181302=>{const _0x448937=_0x5a97ac;let _0x303618=j(_0x181302['values'][_0x23f00f[_0x448937(0x21f)]]);if(!Number[_0x448937(0x20c)](_0x303618))return[];let _0x4910c3=_0x181302[_0x448937(0x260)][_0x23f00f['startDateFieldId']],_0x24c80d=_0x23f00f[_0x448937(0x383)]==null?void 0x0:_0x181302[_0x448937(0x260)][_0x23f00f[_0x448937(0x383)]],_0x3590b3=_0x23f00f[_0x448937(0x383)]==null?void 0x0:j(_0x24c80d),_0x382d7e=Number['isFinite'](_0x3590b3)?_0x3590b3:void 0x0;return[{'recordId':_0x181302[_0x448937(0x2c7)],'title':this['_title'](_0x250480,_0x181302,_0x23f00f[_0x448937(0x2b9)]),'start':_0x303618,'end':_0x382d7e,'color':this[_0x448937(0x222)](_0x250480,_0x181302,_0x23f00f),'startMs':_0x303618,'endMs':_0x382d7e,'allDay':this[_0x448937(0x17b)](_0x4f59ea,_0x2ca069,_0x4910c3,_0x24c80d),'fieldValues':_0x181302[_0x448937(0x260)]}];})};}[_0x46d2a0(0x404)](_0x228c80,_0x21d35f){const _0xa3f865=_0x46d2a0;var _0x31de67,_0x277b17;let _0x5618fc=this[_0xa3f865(0x2f8)](_0x228c80,_0x21d35f['startDateFieldId']),_0x5d0cfd=_0x21d35f[_0xa3f865(0x383)]&&this[_0xa3f865(0x2fa)](_0x228c80,_0x21d35f[_0xa3f865(0x383)])?_0x21d35f[_0xa3f865(0x383)]:(_0x31de67=this[_0xa3f865(0x16e)](_0x228c80,_0x5618fc))==null?void 0x0:_0x31de67,_0x3411fa=_0x21d35f[_0xa3f865(0x2b9)]&&_0x228c80[_0xa3f865(0x263)][_0x21d35f[_0xa3f865(0x2b9)]]&&!_0x228c80[_0xa3f865(0x263)][_0x21d35f['titleFieldId']][_0xa3f865(0x3a4)]?_0x21d35f[_0xa3f865(0x2b9)]:_0x228c80['primaryFieldId'],_0x4dbff3=_0x21d35f[_0xa3f865(0x255)]==='day'||_0x21d35f[_0xa3f865(0x255)]==='week'?_0x21d35f['mode']:_0xa3f865(0x18a),_0x35b002=_0x21d35f['timeslotSize']==='short'||_0x21d35f[_0xa3f865(0x160)]===_0xa3f865(0x2be)?_0x21d35f[_0xa3f865(0x160)]:'medium',_0xf09f83=typeof _0x21d35f[_0xa3f865(0x17a)]=='string'&&_0x21d35f[_0xa3f865(0x17a)][_0xa3f865(0x2af)]()?_0x21d35f['timeZone']:_0xa3f865(0x2f1),_0x14898b=this[_0xa3f865(0x212)](_0x228c80,_0x21d35f);return{..._0x21d35f,'startDateFieldId':_0x5618fc,'endDateFieldId':_0x5d0cfd,'titleFieldId':_0x3411fa,'mode':_0x4dbff3,'timeslotSize':_0x35b002,'timeZone':_0xf09f83,'displayColor':_0x14898b,'fieldSettings':Object[_0xa3f865(0x3ed)](Object[_0xa3f865(0x384)]((_0x277b17=_0x21d35f[_0xa3f865(0x158)])==null?{}:_0x277b17)['filter'](([_0x23a77e])=>{const _0x1d87da=_0xa3f865;let _0x9fc273=_0x228c80[_0x1d87da(0x263)][_0x23a77e];return!!_0x9fc273&&!_0x9fc273['deleted'];}))};}[_0x46d2a0(0x2f8)](_0x442813,_0x1ece60){const _0x19f325=_0x46d2a0;var _0x613257,_0x4be4f4;return _0x1ece60&&this['_isCalendarDateField'](_0x442813,_0x1ece60)?_0x1ece60:(_0x613257=(_0x4be4f4=this[_0x19f325(0x16e)](_0x442813))==null?_0x1ece60:_0x4be4f4)==null?'':_0x613257;}['_findCalendarDateFieldId'](_0x59fdc3,_0x31cdc5){const _0x2c5080=_0x46d2a0;for(let _0x233715 of _0x59fdc3[_0x2c5080(0x31e)])if(_0x233715!==_0x31cdc5&&this[_0x2c5080(0x2fa)](_0x59fdc3,_0x233715))return _0x233715;return null;}[_0x46d2a0(0x2fa)](_0x2fc6f3,_0x1954cf){const _0x574917=_0x46d2a0;let _0x9b06eb=_0x2fc6f3[_0x574917(0x263)][_0x1954cf];return!!_0x9b06eb&&!_0x9b06eb[_0x574917(0x3a4)]&&_0x9b06eb[_0x574917(0x1c2)]===_0x574917(0x214)&&_0x9b06eb[_0x574917(0x1b7)]!==!0x0&&_0x9b06eb['system']!==!0x0&&this['_capabilities'](_0x9b06eb)[_0x574917(0x257)];}['_normalizeCalendarDisplayColor'](_0x2ac13a,_0x4a022c){const _0x1efea6=_0x46d2a0;let _0x4158b0=_0x4a022c[_0x1efea6(0x2bc)];if((_0x4158b0==null?void 0x0:_0x4158b0[_0x1efea6(0x1c2)])===_0x1efea6(0x273)){let _0x135a9e=_0x2ac13a['fields'][_0x4158b0[_0x1efea6(0x3ef)]];if(_0x135a9e&&!_0x135a9e['deleted']&&_0x135a9e['type']===_0x1efea6(0x295))return _0x4158b0;}if((_0x4158b0==null?void 0x0:_0x4158b0[_0x1efea6(0x1c2)])==='custom'&&typeof _0x4158b0[_0x1efea6(0x19c)]==_0x1efea6(0x181)&&_0x4158b0['color']['trim']())return{'type':_0x1efea6(0x32b),'color':_0x4158b0[_0x1efea6(0x19c)]};if(_0x4a022c[_0x1efea6(0x325)]){let _0x337745=_0x2ac13a[_0x1efea6(0x263)][_0x4a022c['colorFieldId']];if(_0x337745&&!_0x337745[_0x1efea6(0x3a4)]&&_0x337745[_0x1efea6(0x1c2)]===_0x1efea6(0x295))return{'type':_0x1efea6(0x273),'fieldId':_0x4a022c['colorFieldId']};}return{'type':_0x1efea6(0x32b),'color':_0x1efea6(0x169)};}[_0x46d2a0(0x222)](_0x188f79,_0x204cd0,_0x52be7e){const _0x207723=_0x46d2a0;let _0x13d6b3=_0x52be7e[_0x207723(0x2bc)];if((_0x13d6b3==null?void 0x0:_0x13d6b3[_0x207723(0x1c2)])==='selectField'){var _0x113fab;let _0x273328=_0x188f79[_0x207723(0x263)][_0x13d6b3[_0x207723(0x3ef)]];if(!_0x273328||_0x273328['deleted'])return;let _0x359caf=_0x204cd0[_0x207723(0x260)][_0x13d6b3[_0x207723(0x3ef)]],_0x162d5f=Array[_0x207723(0x316)](_0x359caf)?_0x359caf[0x0]:_0x359caf;return _0x162d5f==null||(_0x113fab=K(_0x273328,String(_0x162d5f)))==null?void 0x0:_0x113fab[_0x207723(0x19c)];}if((_0x13d6b3==null?void 0x0:_0x13d6b3[_0x207723(0x1c2)])==='custom')return _0x13d6b3[_0x207723(0x19c)];}['_isAllDayCalendarEvent'](_0x5213fd,_0x46a26f,_0x4c718d,_0x20a037){const _0x48485b=_0x46d2a0;var _0x39c2e5,_0x4c3696;let _0x2debcd=((_0x39c2e5=_0x5213fd[_0x48485b(0x2d2)])==null?void 0x0:_0x39c2e5['includeTime'])===!0x0,_0x59d438=(_0x46a26f==null||(_0x4c3696=_0x46a26f[_0x48485b(0x2d2)])==null?void 0x0:_0x4c3696[_0x48485b(0x297)])===!0x0;return!_0x2debcd&&!_0x59d438;}[_0x46d2a0(0x1b2)](_0xd85154,_0x1f5c04){const _0x38851b=_0x46d2a0;var _0x38e296,_0x20d923;let _0x2a30f8=((_0x38e296=_0xd85154['config'])==null?void 0x0:_0x38e296[_0x38851b(0x297)])===!0x0,_0x2094f0=((_0x20d923=_0x1f5c04[_0x38851b(0x2d2)])==null?void 0x0:_0x20d923[_0x38851b(0x297)])===!0x0;return!_0x2a30f8&&!_0x2094f0;}['_buildGantt'](_0x3c7c2a,_0x39cb90){const _0x331924=_0x46d2a0;let _0x10ba1d=this[_0x331924(0x31c)](_0x3c7c2a,_0x39cb90[_0x331924(0x2d2)]),_0x2290ff=_0x3c7c2a['fields'][_0x10ba1d[_0x331924(0x21f)]];if(!_0x2290ff||_0x2290ff['deleted']||_0x2290ff[_0x331924(0x1c2)]!==_0x331924(0x214)||_0x2290ff['readonly']===!0x0||_0x2290ff[_0x331924(0x35e)]===!0x0||!this[_0x331924(0x2e3)](_0x2290ff)[_0x331924(0x209)])return{'type':'invalid','viewType':_0x331924(0x2b6),'reason':_0x331924(0x3d4),'fieldId':_0x10ba1d[_0x331924(0x21f)]};let _0x560aca=_0x3c7c2a[_0x331924(0x263)][_0x10ba1d[_0x331924(0x383)]];if(!_0x560aca||_0x560aca[_0x331924(0x3a4)]||_0x560aca[_0x331924(0x1c2)]!=='date'||_0x560aca[_0x331924(0x1b7)]===!0x0||_0x560aca[_0x331924(0x35e)]===!0x0||!this['_capabilities'](_0x560aca)[_0x331924(0x3a6)])return{'type':'invalid','viewType':'gantt','reason':_0x331924(0x20a),'fieldId':_0x10ba1d[_0x331924(0x383)]};let _0x5e032c=this[_0x331924(0x1b2)](_0x2290ff,_0x560aca),_0x473373=this['_projectRows'](_0x3c7c2a,_0x39cb90),_0x90af6b=_0x473373['flatMap'](_0x23832f=>{const _0xe58ae3=_0x331924;var _0x47b3ca;let _0x1d0d15=j(_0x23832f[_0xe58ae3(0x260)][_0x10ba1d['startDateFieldId']]),_0xc680b=j(_0x23832f['values'][_0x10ba1d['endDateFieldId']]);if(!Number[_0xe58ae3(0x20c)](_0x1d0d15)||!Number['isFinite'](_0xc680b))return[];let _0x5a4a3a=Math['min'](_0x1d0d15,_0xc680b),_0x21ac77=Math['max'](_0x1d0d15,_0xc680b),_0x4b9228=_0x10ba1d['progressFieldId']==null?void 0x0:Number(_0x23832f[_0xe58ae3(0x260)][_0x10ba1d[_0xe58ae3(0x3e6)]]);return[{'recordId':_0x23832f[_0xe58ae3(0x2c7)],'title':this['_title'](_0x3c7c2a,_0x23832f,_0x10ba1d[_0xe58ae3(0x2b9)]),'start':_0x5a4a3a,'end':_0x21ac77,'color':this[_0xe58ae3(0x34b)](_0x3c7c2a,_0x23832f,_0x10ba1d),'progress':Number['isFinite'](_0x4b9228)?_0x4b9228:void 0x0,'workingDayCount':_0x10ba1d[_0xe58ae3(0x18f)]?Tn(_0x5a4a3a,_0x21ac77,_0x10ba1d['workingDays']):void 0x0,'dependencyRecordIds':this[_0xe58ae3(0x407)](_0x23832f[_0xe58ae3(0x260)][(_0x47b3ca=_0x10ba1d[_0xe58ae3(0x20b)])==null?'':_0x47b3ca])}];}),_0x2ea34d=_0x90af6b[_0x331924(0x1f9)]?W(Math[_0x331924(0x39e)](..._0x90af6b['map'](_0x9c7067=>_0x9c7067['start']))-0x5a*U):W(Date[_0x331924(0x3ea)]()-0x5a*U),_0x4471ea=_0x90af6b[_0x331924(0x1f9)]?W(Math['max'](..._0x90af6b[_0x331924(0x3e2)](_0x23849d=>_0x23849d[_0x331924(0x30a)]))+0x5b*U):W(Date[_0x331924(0x3ea)]()+0x5b*U),_0x5ba714=_n(_0x10ba1d[_0x331924(0x32e)],_0x2ea34d,_0x4471ea,_0x10ba1d[_0x331924(0x18f)]?_0x10ba1d[_0x331924(0x391)]:void 0x0);return{'type':'gantt','fields':this[_0x331924(0x23e)](_0x3c7c2a,{..._0x39cb90,'config':_0x10ba1d}),'rows':_0x473373,'groups':this[_0x331924(0x2e7)](_0x3c7c2a,_0x39cb90,_0x473373),'config':_0x10ba1d,'dateRangeAllDay':_0x5e032c,'timeline':{'scale':_0x10ba1d['scale'],'start':_0x2ea34d,'end':_0x4471ea,'unitWidth':_0x5ba714['unitWidth'],'majorHeaders':_0x5ba714[_0x331924(0x1d9)],'columns':_0x5ba714[_0x331924(0x26b)]},'bars':_0x90af6b};}[_0x46d2a0(0x31c)](_0x59a7af,_0x133594){const _0x1ed08a=_0x46d2a0;var _0x93de58;let _0x5af607=this['_resolveGanttDateFieldId'](_0x59a7af,_0x133594[_0x1ed08a(0x21f)],_0x1ed08a(0x264)),_0x43a55d=this['_resolveGanttDateFieldId'](_0x59a7af,_0x133594[_0x1ed08a(0x383)],_0x1ed08a(0x30a))||_0x5af607,_0x58f2d7=_0x133594[_0x1ed08a(0x2b9)]&&_0x59a7af[_0x1ed08a(0x263)][_0x133594[_0x1ed08a(0x2b9)]]&&!_0x59a7af[_0x1ed08a(0x263)][_0x133594[_0x1ed08a(0x2b9)]]['deleted']?_0x133594['titleFieldId']:_0x59a7af[_0x1ed08a(0x26a)],_0x4ed1c9=_0x133594[_0x1ed08a(0x32e)]==='week'||_0x133594[_0x1ed08a(0x32e)]==='quarter'||_0x133594[_0x1ed08a(0x32e)]===_0x1ed08a(0x296)?_0x133594[_0x1ed08a(0x32e)]:_0x1ed08a(0x18a),_0x1f95bf=gn(_0x133594['workingDays']);return{..._0x133594,'startDateFieldId':_0x5af607,'endDateFieldId':_0x43a55d,'titleFieldId':_0x58f2d7,'scale':_0x4ed1c9,'leftPaneWidth':typeof _0x133594[_0x1ed08a(0x3b9)]==_0x1ed08a(0x330)?_0x133594['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x133594[_0x1ed08a(0x2b0)]===!0x0,'showTodayLine':_0x133594['showTodayLine']!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x59a7af,_0x133594),'fieldSettings':Object[_0x1ed08a(0x3ed)](Object[_0x1ed08a(0x384)]((_0x93de58=_0x133594[_0x1ed08a(0x158)])==null?{}:_0x93de58)[_0x1ed08a(0x3f5)](([_0x2a1613])=>{const _0x192f12=_0x1ed08a;let _0x5e1a62=_0x59a7af[_0x192f12(0x263)][_0x2a1613];return!!_0x5e1a62&&!_0x5e1a62[_0x192f12(0x3a4)];})),'workingDaysOnly':_0x133594[_0x1ed08a(0x18f)]===!0x0,'workingDays':_0x1f95bf};}[_0x46d2a0(0x18c)](_0x594c13,_0x122d17,_0x39d5bf){const _0x52bea0=_0x46d2a0;if(_0x122d17&&this[_0x52bea0(0x1dd)](_0x594c13,_0x122d17,_0x39d5bf)||_0x122d17)return _0x122d17;for(let _0x42e8cb of _0x594c13[_0x52bea0(0x31e)])if(this[_0x52bea0(0x1dd)](_0x594c13,_0x42e8cb,_0x39d5bf))return _0x42e8cb;return _0x122d17==null?'':_0x122d17;}['_isGanttDateField'](_0x1393b5,_0x34bb50,_0x86f73e){const _0x331923=_0x46d2a0;let _0x1ae923=_0x1393b5[_0x331923(0x263)][_0x34bb50];if(!_0x1ae923||_0x1ae923[_0x331923(0x3a4)]||_0x1ae923[_0x331923(0x1c2)]!==_0x331923(0x214)||_0x1ae923[_0x331923(0x1b7)]===!0x0||_0x1ae923[_0x331923(0x35e)]===!0x0)return!0x1;let _0x27b022=this[_0x331923(0x2e3)](_0x1ae923);return _0x86f73e===_0x331923(0x264)?_0x27b022['usableAsGanttStart']:_0x27b022['usableAsGanttEnd'];}[_0x46d2a0(0x2da)](_0x4c9d10,_0x4620e5){const _0x518860=_0x46d2a0;let _0x83f06b=_0x4620e5[_0x518860(0x2bc)];if((_0x83f06b==null?void 0x0:_0x83f06b['type'])===_0x518860(0x273)){let _0x350760=_0x4c9d10['fields'][_0x83f06b[_0x518860(0x3ef)]];if(_0x350760&&!_0x350760[_0x518860(0x3a4)]&&_0x350760[_0x518860(0x1c2)]===_0x518860(0x295))return _0x83f06b;}return(_0x83f06b==null?void 0x0:_0x83f06b[_0x518860(0x1c2)])===_0x518860(0x1af)&&Array[_0x518860(0x316)](_0x83f06b[_0x518860(0x3dd)])?{'type':_0x518860(0x1af),'rules':_0x83f06b[_0x518860(0x3dd)][_0x518860(0x3f5)](_0x4f2aa1=>{const _0xcdcdf6=_0x518860;let _0x3aa10a=_0x4c9d10['fields'][_0x4f2aa1[_0xcdcdf6(0x3ef)]];return!!_0x3aa10a&&!_0x3aa10a[_0xcdcdf6(0x3a4)];})}:(_0x83f06b==null?void 0x0:_0x83f06b[_0x518860(0x1c2)])===_0x518860(0x32b)&&typeof _0x83f06b[_0x518860(0x19c)]==_0x518860(0x181)&&_0x83f06b[_0x518860(0x19c)][_0x518860(0x2af)]()?{'type':_0x518860(0x32b),'color':_0x83f06b[_0x518860(0x19c)]}:{'type':_0x518860(0x32b),'color':'#14b8a6'};}[_0x46d2a0(0x34b)](_0x37227b,_0x37cdaa,_0x3ba42b){const _0x343b35=_0x46d2a0;let _0x48d458=_0x3ba42b[_0x343b35(0x2bc)];if((_0x48d458==null?void 0x0:_0x48d458[_0x343b35(0x1c2)])===_0x343b35(0x1af)){let _0x3900ef=_0x48d458[_0x343b35(0x3dd)][_0x343b35(0x323)](_0x255723=>this[_0x343b35(0x294)](_0x37227b,_0x37cdaa,_0x255723));if(_0x3900ef)return _0x3900ef[_0x343b35(0x19c)];}if((_0x48d458==null?void 0x0:_0x48d458[_0x343b35(0x1c2)])===_0x343b35(0x273)){let _0x4e5ad0=_0x37227b['fields'][_0x48d458['fieldId']];if(_0x4e5ad0&&!_0x4e5ad0[_0x343b35(0x3a4)]){var _0xb67022;let _0x222235=_0x37cdaa[_0x343b35(0x260)][_0x48d458['fieldId']],_0x402aae=Array[_0x343b35(0x316)](_0x222235)?_0x222235[0x0]:_0x222235,_0x218cbf=_0x402aae==null||(_0xb67022=K(_0x4e5ad0,String(_0x402aae)))==null?void 0x0:_0xb67022[_0x343b35(0x19c)];if(_0x218cbf)return _0x218cbf;}}return(_0x48d458==null?void 0x0:_0x48d458[_0x343b35(0x1c2)])===_0x343b35(0x32b)?_0x48d458['color']:_0x343b35(0x374);}['_matchesGanttColorRule'](_0x567ae4,_0x22c8b3,_0x47a5f3){const _0x5411ea=_0x46d2a0;let _0x592120=_0x567ae4['fields'][_0x47a5f3[_0x5411ea(0x3ef)]];return!_0x592120||_0x592120['deleted']?!0x1:at(_0x22c8b3[_0x5411ea(0x260)][_0x592120['id']],_0x47a5f3[_0x5411ea(0x3bd)],_0x47a5f3[_0x5411ea(0x2ee)],_0x592120,{'dateMode':_0x47a5f3[_0x5411ea(0x39d)]});}[_0x46d2a0(0x20d)](_0xb4f1f6,_0x1276f9){const _0x5b69bf=_0x46d2a0;var _0x967901,_0x7a7812,_0x10ac62;let _0x177aa9=this[_0x5b69bf(0x362)](_0xb4f1f6,_0x1276f9),_0x1c4308=this[_0x5b69bf(0x1a4)](_0xb4f1f6,(_0x967901=_0x1276f9['config'])==null?{}:_0x967901);return{'type':_0x5b69bf(0x26f),'fields':this[_0x5b69bf(0x23e)](_0xb4f1f6,_0x1276f9),'rows':_0x177aa9,'groups':this[_0x5b69bf(0x2e7)](_0xb4f1f6,_0x1276f9,_0x177aa9),'coverFieldId':_0x1c4308[_0x5b69bf(0x33f)],'cardLayout':(_0x7a7812=_0x1c4308[_0x5b69bf(0x372)])==null?_0x5b69bf(0x195):_0x7a7812,'showFieldNames':_0x1c4308[_0x5b69bf(0x2d0)]!==!0x1,'visibleCardFieldIds':this[_0x5b69bf(0x225)](_0xb4f1f6,_0x1276f9,_0x1c4308),'cardSize':(_0x10ac62=_0x1c4308[_0x5b69bf(0x3c8)])==null?'medium':_0x10ac62,'cards':_0x177aa9[_0x5b69bf(0x3e2)](_0x260b6a=>({'recordId':_0x260b6a[_0x5b69bf(0x2c7)],'title':this[_0x5b69bf(0x164)](_0xb4f1f6,_0x260b6a,_0x1c4308[_0x5b69bf(0x25a)]['titleFieldId']),'values':_0x260b6a['values']}))};}['_normalizeGalleryConfig'](_0xaddf53,_0x161d9d){const _0x200dcb=_0x46d2a0;var _0x5839fb,_0x3f6475;let _0x2c2fcc=(_0x5839fb=_0x161d9d[_0x200dcb(0x25a)])==null?{'fieldIds':[]}:_0x5839fb,_0x3dce0c=_0x2c2fcc[_0x200dcb(0x2b9)]&&_0xaddf53[_0x200dcb(0x263)][_0x2c2fcc['titleFieldId']]&&!_0xaddf53[_0x200dcb(0x263)][_0x2c2fcc[_0x200dcb(0x2b9)]][_0x200dcb(0x3a4)]?_0x2c2fcc[_0x200dcb(0x2b9)]:$t(_0xaddf53),_0x5c473f=this[_0x200dcb(0x259)](_0xaddf53,_0x161d9d),_0x58b89a=_0x161d9d['cardSize']==='small'||_0x161d9d[_0x200dcb(0x3c8)]===_0x200dcb(0x387)?_0x161d9d[_0x200dcb(0x3c8)]:_0x200dcb(0x2ec);return{..._0x161d9d,'coverFieldId':_0x5c473f,'cardLayout':_0x161d9d[_0x200dcb(0x372)]===_0x200dcb(0x2ea)?_0x200dcb(0x2ea):_0x200dcb(0x195),'showFieldNames':_0x161d9d[_0x200dcb(0x2d0)]!==!0x1,'fieldSettings':Object[_0x200dcb(0x3ed)](Object[_0x200dcb(0x384)]((_0x3f6475=_0x161d9d['fieldSettings'])==null?{}:_0x3f6475)[_0x200dcb(0x3f5)](([_0x590388])=>{const _0x5f42a3=_0x200dcb;let _0x3a83ec=_0xaddf53['fields'][_0x590388];return!!_0x3a83ec&&!_0x3a83ec[_0x5f42a3(0x3a4)];})),'card':{..._0x2c2fcc,'titleFieldId':_0x3dce0c,'coverFieldId':_0x5c473f,'fieldIds':Array[_0x200dcb(0x316)](_0x2c2fcc[_0x200dcb(0x2e5)])?_0x2c2fcc[_0x200dcb(0x2e5)]:[]},'cardSize':_0x58b89a};}['_resolveGalleryCoverFieldId'](_0x3e6bda,_0x122b2a){const _0x462254=_0x46d2a0;var _0x30117a,_0xe22b5c,_0x4916fa;let _0x10eb5e=(_0x30117a=(_0xe22b5c=_0x122b2a[_0x462254(0x33f)])==null?(_0x4916fa=_0x122b2a[_0x462254(0x25a)])==null?void 0x0:_0x4916fa['coverFieldId']:_0xe22b5c)==null?null:_0x30117a;if(!_0x10eb5e)return null;let _0xfd5f66=_0x3e6bda[_0x462254(0x263)][_0x10eb5e];return _0xfd5f66&&!_0xfd5f66[_0x462254(0x3a4)]&&this[_0x462254(0x2e3)](_0xfd5f66)[_0x462254(0x2fd)]?_0xfd5f66['id']:null;}[_0x46d2a0(0x225)](_0x300465,_0x560e68,_0x36c29b){const _0x31ffdb=_0x46d2a0;var _0x9799ef,_0x49fc4f,_0x801b9b,_0x8a24ff,_0x41968c,_0xfcc824,_0x19f433;let _0xfce06=(_0x9799ef=_0x36c29b[_0x31ffdb(0x158)])==null?{}:_0x9799ef,_0x15c426=(_0x49fc4f=(_0x801b9b=_0x36c29b[_0x31ffdb(0x25a)])==null?void 0x0:_0x801b9b[_0x31ffdb(0x2b9)])==null?$t(_0x300465):_0x49fc4f,_0x131213=(_0x8a24ff=(_0x41968c=_0x36c29b[_0x31ffdb(0x33f)])==null?(_0xfcc824=_0x36c29b[_0x31ffdb(0x25a)])==null?void 0x0:_0xfcc824[_0x31ffdb(0x33f)]:_0x41968c)==null?null:_0x8a24ff,_0x3e0e6a=!((_0x19f433=_0x36c29b['card'])==null||(_0x19f433=_0x19f433[_0x31ffdb(0x2e5)])==null)&&_0x19f433['length']?_0x36c29b['card'][_0x31ffdb(0x2e5)]:en(_0x300465,[_0x15c426,_0x131213,_0x300465[_0x31ffdb(0x26a)]]);return _0x3e0e6a[_0x31ffdb(0x3f5)](_0x4a9590=>{const _0x39b827=_0x31ffdb;var _0x53a55f,_0x54bc30;let _0xb9302b=_0x300465[_0x39b827(0x263)][_0x4a9590];return!(!_0xb9302b||_0xb9302b[_0x39b827(0x3a4)]||_0xb9302b['id']===_0x15c426||_0xb9302b['id']===_0x131213||!((_0x53a55f=_0x560e68[_0x39b827(0x158)])==null||(_0x53a55f=_0x53a55f[_0x4a9590])==null)&&_0x53a55f['hidden']||(_0x54bc30=_0xfce06[_0x4a9590])!=null&&_0x54bc30[_0x39b827(0x1d5)]);})[_0x31ffdb(0x16d)]((_0x5124d2,_0x36e105)=>{const _0x207558=_0x31ffdb;var _0x2b9667,_0x52b197,_0x5ae03c,_0x5d8ec8;return((_0x2b9667=(_0x52b197=_0xfce06[_0x5124d2])==null?void 0x0:_0x52b197[_0x207558(0x30e)])==null?_0x3e0e6a[_0x207558(0x2b7)](_0x5124d2):_0x2b9667)-((_0x5ae03c=(_0x5d8ec8=_0xfce06[_0x36e105])==null?void 0x0:_0x5d8ec8['order'])==null?_0x3e0e6a[_0x207558(0x2b7)](_0x36e105):_0x5ae03c);});}[_0x46d2a0(0x23e)](_0x230873,_0x229d02){const _0x2b0fda=_0x46d2a0;var _0x209608;return((_0x209608=_0x229d02['fieldOrder'])!=null&&_0x209608['length']?_0x229d02['fieldOrder']:_0x230873[_0x2b0fda(0x31e)])[_0x2b0fda(0x15f)](_0x554085=>{const _0x158ac7=_0x2b0fda;var _0x4c28d4,_0x2e8a5d;let _0x5b4a49=_0x230873['fields'][_0x554085],_0x5a62e0=(_0x4c28d4=(_0x2e8a5d=_0x229d02[_0x158ac7(0x158)])==null?void 0x0:_0x2e8a5d[_0x554085])==null?{}:_0x4c28d4;return!_0x5b4a49||_0x5b4a49['deleted']||_0x5a62e0[_0x158ac7(0x1d5)]?[]:[{'id':_0x5b4a49['id'],'name':_0x5b4a49[_0x158ac7(0x3bb)],'description':_0x5b4a49['description'],'type':_0x5b4a49[_0x158ac7(0x1c2)],'config':_0x5b4a49[_0x158ac7(0x2d2)],'width':_0x5a62e0['width'],'setting':_0x5a62e0}];});}[_0x46d2a0(0x362)](_0x3edc2a,_0x53a2bd){const _0x5b79d5=_0x46d2a0;var _0x29956b,_0x4357ee,_0x2f18af;return S(_0x5b79d5(0x3f3),()=>{const _0x169fcd=_0x5b79d5;var _0x372955,_0x290549,_0x4a6e85,_0x2b6a3b;let _0x48fa91=this['_projectTableRows'](_0x3edc2a),_0x3581e6=this[_0x169fcd(0x2c3)](_0x3edc2a['id'],_0x53a2bd),_0x545df9=this[_0x169fcd(0x175)](_0x3edc2a['id']),_0xc4c1df=this[_0x169fcd(0x3a2)][_0x169fcd(0x256)](_0x3581e6);if(_0xc4c1df&&_0xc4c1df[_0x169fcd(0x2cf)]===this[_0x169fcd(0x171)]&&_0xc4c1df[_0x169fcd(0x168)]===this['_getTableRevision'](_0x3edc2a['id'])){if(_0xc4c1df[_0x169fcd(0x38e)]===_0x545df9&&_0xc4c1df[_0x169fcd(0x376)]===_0x48fa91)return _0xc4c1df['rows'];if(_0xc4c1df[_0x169fcd(0x38e)]!==_0x545df9&&!this[_0x169fcd(0x1b9)](_0x3edc2a['id'],_0xc4c1df[_0x169fcd(0x38e)],_0x545df9,this[_0x169fcd(0x381)](_0x53a2bd))){let _0x213c7d=_0xc4c1df[_0x169fcd(0x1c3)]===_0xc4c1df[_0x169fcd(0x376)]?_0x48fa91:this[_0x169fcd(0x3fa)](_0xc4c1df[_0x169fcd(0x1c3)],_0x48fa91);if(_0x213c7d)return this['_projectedViewRowsCache'][_0x169fcd(0x3dc)](_0x3581e6,{..._0xc4c1df,'rows':_0x213c7d,'baseRows':_0x48fa91,'cellRevision':_0x545df9}),_0x213c7d;}}let _0x34461a=S(_0x169fcd(0x16b),()=>this[_0x169fcd(0x215)](_0x3edc2a,_0x53a2bd,this[_0x169fcd(0x314)](_0x3edc2a,_0x53a2bd,_0x48fa91)),{'tableId':_0x3edc2a['id'],'viewId':_0x53a2bd==null?void 0x0:_0x53a2bd['id'],'viewType':_0x53a2bd==null?void 0x0:_0x53a2bd[_0x169fcd(0x1c2)],'rows':_0x48fa91['length'],'filters':(_0x372955=_0x53a2bd==null||(_0x290549=_0x53a2bd[_0x169fcd(0x3f5)])==null?void 0x0:_0x290549[_0x169fcd(0x3ce)][_0x169fcd(0x1f9)])==null?0x0:_0x372955,'sorts':(_0x4a6e85=_0x53a2bd==null||(_0x2b6a3b=_0x53a2bd[_0x169fcd(0x16d)])==null?void 0x0:_0x2b6a3b[_0x169fcd(0x1f9)])==null?0x0:_0x4a6e85});return this[_0x169fcd(0x3a2)][_0x169fcd(0x3dc)](_0x3581e6,{'table':_0x3edc2a,'rows':_0x34461a,'baseRows':_0x48fa91,'globalRevision':this[_0x169fcd(0x171)],'tableRevision':this[_0x169fcd(0x24d)](_0x3edc2a['id']),'cellRevision':_0x545df9}),_0x34461a;},{'tableId':_0x3edc2a['id'],'viewId':_0x53a2bd==null?void 0x0:_0x53a2bd['id'],'viewType':_0x53a2bd==null?void 0x0:_0x53a2bd['type'],'records':(_0x29956b=(_0x4357ee=_0x3edc2a[_0x5b79d5(0x3fd)])==null?void 0x0:_0x4357ee[_0x5b79d5(0x1f9)])==null?Object[_0x5b79d5(0x34d)]((_0x2f18af=_0x3edc2a[_0x5b79d5(0x1ab)])==null?{}:_0x2f18af)[_0x5b79d5(0x1f9)]:_0x29956b});}[_0x46d2a0(0x35d)](_0x1fbe6f){const _0x1ef61b=_0x46d2a0;var _0x3664a5,_0x1f3a6c,_0x4ad066;return S(_0x1ef61b(0x2c8),()=>{const _0x5b25ec=_0x1ef61b;var _0x303550;let _0x12ec3a=this[_0x5b25ec(0x175)](_0x1fbe6f['id']),_0x3e1733=this[_0x5b25ec(0x2bf)][_0x5b25ec(0x256)](_0x1fbe6f['id']);if(_0x3e1733&&_0x3e1733['globalRevision']===this[_0x5b25ec(0x171)]&&_0x3e1733[_0x5b25ec(0x168)]===this[_0x5b25ec(0x24d)](_0x1fbe6f['id'])){if(_0x3e1733[_0x5b25ec(0x38e)]===_0x12ec3a&&_0x3e1733[_0x5b25ec(0x246)]===_0x1fbe6f)return _0x3e1733[_0x5b25ec(0x1c3)];let _0x908d9a=this[_0x5b25ec(0x182)](_0x1fbe6f,_0x3e1733,_0x12ec3a);if(_0x908d9a)return _0x908d9a;}fn(_0x1fbe6f)||C(_0x1fbe6f);let _0x4e5d8e=(_0x303550=_0x1fbe6f[_0x5b25ec(0x3fd)])!=null&&_0x303550[_0x5b25ec(0x1f9)]?_0x1fbe6f['recordOrder']:Object['values'](_0x1fbe6f[_0x5b25ec(0x1ab)])[_0x5b25ec(0x16d)]((_0x409257,_0x3481af)=>_0x409257['orderKey'][_0x5b25ec(0x349)](_0x3481af['orderKey']))['map'](_0x46e928=>_0x46e928['id']),_0x51655e=S('BaseProjection.materializeTableRows',()=>_0x4e5d8e[_0x5b25ec(0x3e2)](_0x2548aa=>_0x1fbe6f[_0x5b25ec(0x1ab)][_0x2548aa])['filter'](_0x86a901=>!!_0x86a901)[_0x5b25ec(0x3f5)](_0x4142dd=>!_0x4142dd[_0x5b25ec(0x3a4)])[_0x5b25ec(0x3e2)](_0x48ca80=>{let _0x1f5bb1={};for(let _0x41aa82 of _0x1fbe6f['fieldOrder'])_0x1f5bb1[_0x41aa82]=be(_0x1fbe6f,_0x48ca80['id'],_0x41aa82);return{'recordId':_0x48ca80['id'],'values':_0x1f5bb1};}),{'tableId':_0x1fbe6f['id'],'records':_0x4e5d8e[_0x5b25ec(0x1f9)],'fields':_0x1fbe6f['fieldOrder'][_0x5b25ec(0x1f9)]});return this[_0x5b25ec(0x2bf)][_0x5b25ec(0x3dc)](_0x1fbe6f['id'],{'table':_0x1fbe6f,'rows':_0x51655e,'rowIndexById':dn(_0x51655e),'globalRevision':this[_0x5b25ec(0x171)],'tableRevision':this['_getTableRevision'](_0x1fbe6f['id']),'cellRevision':_0x12ec3a}),_0x51655e;},{'tableId':_0x1fbe6f['id'],'records':(_0x3664a5=(_0x1f3a6c=_0x1fbe6f[_0x1ef61b(0x3fd)])==null?void 0x0:_0x1f3a6c['length'])==null?Object[_0x1ef61b(0x34d)]((_0x4ad066=_0x1fbe6f[_0x1ef61b(0x1ab)])==null?{}:_0x4ad066)[_0x1ef61b(0x1f9)]:_0x3664a5,'fields':_0x1fbe6f[_0x1ef61b(0x31e)][_0x1ef61b(0x1f9)]});}['_patchProjectedRowsForCellInvalidations'](_0x4b832b,_0x36193f,_0x44d9e9){const _0x11fdf1=_0x46d2a0;var _0x4062fd,_0x582c25;let _0x4c9dbe=((_0x4062fd=this[_0x11fdf1(0x299)]['get'](_0x4b832b['id']))==null?[]:_0x4062fd)['filter'](_0x195a18=>_0x195a18['revision']>_0x36193f[_0x11fdf1(0x38e)]&&_0x195a18['revision']<=_0x44d9e9);if(!_0x4c9dbe[_0x11fdf1(0x1f9)])return _0x36193f['table']===_0x4b832b?_0x36193f[_0x11fdf1(0x1c3)]:null;let _0x5eaa3a=_0x36193f['rows'],_0x1fb7d7=new Map();for(let _0x18b0ed of _0x4c9dbe){let _0x505a5b=_0x1fb7d7[_0x11fdf1(0x256)](_0x18b0ed[_0x11fdf1(0x2c7)]);_0x505a5b||(_0x505a5b=new Set(),_0x1fb7d7[_0x11fdf1(0x3dc)](_0x18b0ed[_0x11fdf1(0x2c7)],_0x505a5b)),_0x505a5b[_0x11fdf1(0x176)](_0x18b0ed[_0x11fdf1(0x3ef)]);}for(let [_0x971e63,_0x4f437c]of _0x1fb7d7){let _0x450db8=_0x4b832b['records'][_0x971e63];if(!_0x450db8||_0x450db8['deleted'])return null;let _0x1474e6=_0x36193f[_0x11fdf1(0x270)][_0x11fdf1(0x256)](_0x971e63);if(_0x1474e6==null)return null;_0x5eaa3a===_0x36193f['rows']&&(_0x5eaa3a=[..._0x36193f[_0x11fdf1(0x1c3)]]);let _0x10799a=_0x5eaa3a[_0x1474e6],_0x19459e={..._0x10799a[_0x11fdf1(0x260)]};_0x4f437c['forEach'](_0x414c33=>{_0x19459e[_0x414c33]=be(_0x4b832b,_0x971e63,_0x414c33);}),_0x5eaa3a[_0x1474e6]={..._0x10799a,'values':_0x19459e};}let _0xb8f437={'table':_0x4b832b,'rows':_0x5eaa3a,'rowIndexById':_0x36193f[_0x11fdf1(0x270)],'globalRevision':this[_0x11fdf1(0x171)],'tableRevision':this['_getTableRevision'](_0x4b832b['id']),'cellRevision':_0x44d9e9};return this[_0x11fdf1(0x2bf)]['set'](_0x4b832b['id'],_0xb8f437),this['_cellInvalidations'][_0x11fdf1(0x3dc)](_0x4b832b['id'],((_0x582c25=this[_0x11fdf1(0x299)]['get'](_0x4b832b['id']))==null?[]:_0x582c25)[_0x11fdf1(0x3f5)](_0x324f55=>_0x324f55['revision']>Math[_0x11fdf1(0x3d9)](0x0,_0x44d9e9-0x100))),_0x5eaa3a;}[_0x46d2a0(0x3fa)](_0x2e5f16,_0x4198cd){const _0x33e655=_0x46d2a0;let _0x5c4791=new Map(_0x4198cd[_0x33e655(0x3e2)](_0x5cc4db=>[_0x5cc4db[_0x33e655(0x2c7)],_0x5cc4db])),_0x5318c4=!0x1,_0x1ba14b=_0x2e5f16[_0x33e655(0x3e2)](_0x17b8bd=>{const _0x187723=_0x33e655;let _0x4b95ee=_0x5c4791[_0x187723(0x256)](_0x17b8bd['recordId']);return _0x4b95ee?_0x4b95ee===_0x17b8bd?_0x17b8bd:(_0x5318c4=!0x0,_0x4b95ee):_0x17b8bd;});return _0x5318c4?_0x1ba14b:_0x2e5f16;}[_0x46d2a0(0x1b9)](_0x452f44,_0x2924c2,_0x14d63e,_0x313473){const _0x1a5fde=_0x46d2a0;var _0x187d5a;return!_0x313473[_0x1a5fde(0x2ab)]||_0x2924c2===_0x14d63e?!0x1:_0x14d63e-_0x2924c2>0x100?!0x0:((_0x187d5a=this['_cellInvalidations'][_0x1a5fde(0x256)](_0x452f44))==null?[]:_0x187d5a)['some'](_0x56799b=>_0x56799b[_0x1a5fde(0x1e2)]>_0x2924c2&&_0x56799b[_0x1a5fde(0x1e2)]<=_0x14d63e&&_0x313473['has'](_0x56799b['fieldId']));}['_filterSortFieldIds'](_0x5a609f){const _0x30c3a0=_0x46d2a0;var _0x242850,_0x2c2b17;let _0x218ba5=new Set();return _0x5a609f==null||(_0x242850=_0x5a609f[_0x30c3a0(0x3f5)])==null||_0x242850[_0x30c3a0(0x3ce)][_0x30c3a0(0x3f2)](_0x46fe5e=>_0x218ba5['add'](_0x46fe5e[_0x30c3a0(0x3ef)])),_0x5a609f==null||(_0x2c2b17=_0x5a609f[_0x30c3a0(0x16d)])==null||_0x2c2b17[_0x30c3a0(0x3f2)](_0x4cd2eb=>_0x218ba5['add'](_0x4cd2eb[_0x30c3a0(0x3ef)])),_0x218ba5;}[_0x46d2a0(0x17e)](_0x53e0b0){const _0x441882=_0x46d2a0;var _0x12d9c6;let _0x4d7a72=this[_0x441882(0x381)](_0x53e0b0);return(_0x12d9c6=_0x53e0b0[_0x441882(0x24e)])==null||_0x12d9c6['forEach'](_0x5574b5=>_0x4d7a72[_0x441882(0x176)](_0x5574b5[_0x441882(0x3ef)])),_0x4d7a72;}[_0x46d2a0(0x314)](_0x5319af,_0x52f329,_0x4960cb){const _0x26a2f0=_0x46d2a0;let _0x3d1189=_0x52f329==null?void 0x0:_0x52f329[_0x26a2f0(0x3f5)];if(!(_0x3d1189!=null&&_0x3d1189['conditions'][_0x26a2f0(0x1f9)]))return _0x4960cb;let _0x16040d=_0x3d1189[_0x26a2f0(0x3ce)][_0x26a2f0(0x3f5)](_0x80a12=>!Fn(_0x80a12));return _0x16040d[_0x26a2f0(0x1f9)]?_0x4960cb[_0x26a2f0(0x3f5)](_0x44cd8b=>{const _0x3806d3=_0x26a2f0;if(_0x3d1189[_0x3806d3(0x1cc)]==='or'){for(let _0x55e6ff of _0x16040d){let _0x5a4d7e=_0x5319af[_0x3806d3(0x263)][_0x55e6ff[_0x3806d3(0x3ef)]];if(!_0x5a4d7e||_0x5a4d7e[_0x3806d3(0x3a4)]||this[_0x3806d3(0x308)][_0x3806d3(0x256)](_0x5a4d7e[_0x3806d3(0x1c2)])[_0x3806d3(0x3f5)](_0x44cd8b['values'][_0x5a4d7e['id']],_0x55e6ff['operator'],_0x55e6ff['operand'],_0x5a4d7e))return!0x0;}return!0x1;}for(let _0x21b238 of _0x16040d){let _0x1a957c=_0x5319af['fields'][_0x21b238[_0x3806d3(0x3ef)]];if(!(!_0x1a957c||_0x1a957c['deleted'])&&!this['_fieldRegistry'][_0x3806d3(0x256)](_0x1a957c[_0x3806d3(0x1c2)])[_0x3806d3(0x3f5)](_0x44cd8b[_0x3806d3(0x260)][_0x1a957c['id']],_0x21b238[_0x3806d3(0x3bd)],_0x21b238['operand'],_0x1a957c))return!0x1;}return!0x0;}):_0x4960cb;}[_0x46d2a0(0x215)](_0x2dcea2,_0x260feb,_0x3f0bc4){const _0x19030c=_0x46d2a0;var _0x4b2c6b;let _0x42a2b7=(_0x4b2c6b=_0x260feb==null?void 0x0:_0x260feb[_0x19030c(0x16d)])==null?[]:_0x4b2c6b;if(!_0x42a2b7[_0x19030c(0x1f9)])return _0x3f0bc4;let _0x1c8371=_0x42a2b7['flatMap'](_0x27a674=>{const _0xdc409a=_0x19030c;let _0x34bf0f=_0x2dcea2[_0xdc409a(0x263)][_0x27a674['fieldId']];return _0x34bf0f&&!_0x34bf0f[_0xdc409a(0x3a4)]?[{..._0x27a674,'field':_0x34bf0f}]:[];});return _0x1c8371[_0x19030c(0x1f9)]?this[_0x19030c(0x40b)](_0x1c8371)?this[_0x19030c(0x31b)](_0x1c8371,_0x3f0bc4):[..._0x3f0bc4][_0x19030c(0x16d)]((_0x10a51f,_0x117f1e)=>{const _0x3a8421=_0x19030c;for(let _0x174b38 of _0x1c8371){let _0x10d97c=_0x174b38[_0x3a8421(0x3e1)],_0x149255=this[_0x3a8421(0x308)][_0x3a8421(0x256)](_0x10d97c[_0x3a8421(0x1c2)])['compare'](_0x10a51f[_0x3a8421(0x260)][_0x10d97c['id']],_0x117f1e[_0x3a8421(0x260)][_0x10d97c['id']],_0x10d97c);if(_0x149255!==0x0)return _0x174b38[_0x3a8421(0x30c)]===_0x3a8421(0x34f)?-_0x149255:_0x149255;}return 0x0;}):_0x3f0bc4;}[_0x46d2a0(0x40b)](_0x4f2942){const _0x3bb931=_0x46d2a0;return _0x4f2942[_0x3bb931(0x403)](_0x2e0ae4=>cn[_0x3bb931(0x3a9)](_0x2e0ae4[_0x3bb931(0x3e1)][_0x3bb931(0x1c2)]));}[_0x46d2a0(0x31b)](_0x4f55c9,_0x50fa61){const _0x537d1e=_0x46d2a0;return _0x50fa61[_0x537d1e(0x3e2)]((_0x35dcaa,_0x8f0d4a)=>({'row':_0x35dcaa,'index':_0x8f0d4a,'keys':_0x4f55c9['map'](_0x8dbecb=>_0x35dcaa[_0x537d1e(0x260)][_0x8dbecb[_0x537d1e(0x3ef)]])}))[_0x537d1e(0x16d)]((_0x2793ef,_0x207a03)=>{const _0x13dc62=_0x537d1e;for(let _0x9297e=0x0;_0x9297e<_0x4f55c9[_0x13dc62(0x1f9)];_0x9297e++){let _0x2224ef=Pn(_0x2793ef['keys'][_0x9297e],_0x207a03[_0x13dc62(0x34d)][_0x9297e]);if(_0x2224ef!==0x0)return _0x4f55c9[_0x9297e]['direction']==='desc'?-_0x2224ef:_0x2224ef;}return _0x2793ef[_0x13dc62(0x232)]-_0x207a03[_0x13dc62(0x232)];})[_0x537d1e(0x3e2)](_0x1c2ab4=>_0x1c2ab4[_0x537d1e(0x1c7)]);}[_0x46d2a0(0x2e7)](_0xe04c29,_0x528754,_0xa73782){const _0x5231ee=_0x46d2a0;var _0xcb5ea4,_0x175519;return S(_0x5231ee(0x1c4),()=>{const _0x6a5075=_0x5231ee;var _0x4ef453;if(!((_0x4ef453=_0x528754[_0x6a5075(0x24e)])!=null&&_0x4ef453[_0x6a5075(0x1f9)]))return[];let _0x241c2b=_0x528754[_0x6a5075(0x24e)][_0x6a5075(0x3f5)](_0x1b1f67=>{const _0x4b830e=_0x6a5075;let _0x2c7061=_0xe04c29[_0x4b830e(0x263)][_0x1b1f67[_0x4b830e(0x3ef)]];return _0x2c7061&&!_0x2c7061[_0x4b830e(0x3a4)];});if(!_0x241c2b['length'])return[];let _0x5008dd=this[_0x6a5075(0x281)](_0xe04c29['id'],_0x528754,_0x241c2b),_0x3c470a=this[_0x6a5075(0x175)](_0xe04c29['id']),_0x23d046=this[_0x6a5075(0x1c0)][_0x6a5075(0x256)](_0x5008dd);if(_0x23d046&&_0x23d046[_0x6a5075(0x2cf)]===this[_0x6a5075(0x171)]&&_0x23d046['tableRevision']===this[_0x6a5075(0x24d)](_0xe04c29['id'])){if(_0x23d046[_0x6a5075(0x38e)]===_0x3c470a&&_0x23d046['rows']===_0xa73782)return _0x23d046['groups'];if(_0x23d046[_0x6a5075(0x38e)]!==_0x3c470a&&!this[_0x6a5075(0x1b9)](_0xe04c29['id'],_0x23d046[_0x6a5075(0x38e)],_0x3c470a,this[_0x6a5075(0x17e)](_0x528754)))return this['_projectedGroupsCache']['set'](_0x5008dd,{..._0x23d046,'rows':_0xa73782,'cellRevision':_0x3c470a}),_0x23d046['groups'];}let _0xef80b5=new Map();for(let _0x1e1267 of _0xa73782){let _0x6939bd=_0xef80b5,_0x4afd70='';for(let _0x308c27=0x0;_0x308c27<_0x241c2b[_0x6a5075(0x1f9)];_0x308c27++){let _0x2a0a21=_0x241c2b[_0x308c27],_0x50a6c0=_0x1e1267['values'][_0x2a0a21[_0x6a5075(0x3ef)]],_0x4bb198=un(_0x50a6c0),_0x17be39=_0x2a0a21['fieldId']+'\x00'+_0x4bb198,_0x38e618=_0x4afd70+'/'+_0x2a0a21[_0x6a5075(0x3ef)]+':'+_0x4bb198,_0x49c765=_0x6939bd[_0x6a5075(0x256)](_0x17be39);_0x49c765||(_0x49c765={'key':_0x4bb198,'value':_0x50a6c0,'path':_0x38e618,'label':_0x4bb198||_0x6a5075(0x24a),'fieldId':_0x2a0a21[_0x6a5075(0x3ef)],'level':_0x308c27,'recordIds':[],'children':new Map()},_0x6939bd[_0x6a5075(0x3dc)](_0x17be39,_0x49c765)),_0x49c765[_0x6a5075(0x350)][_0x6a5075(0x31f)](_0x1e1267[_0x6a5075(0x2c7)]),_0x6939bd=_0x49c765[_0x6a5075(0x244)],_0x4afd70=_0x38e618;}}let _0x3027e9=this[_0x6a5075(0x3c1)](_0x241c2b,_0xef80b5,0x0);return this[_0x6a5075(0x1c0)]['set'](_0x5008dd,{'table':_0xe04c29,'rows':_0xa73782,'groups':_0x3027e9,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0xe04c29['id']),'cellRevision':_0x3c470a}),_0x3027e9;},{'tableId':_0xe04c29['id'],'viewId':_0x528754['id'],'viewType':_0x528754['type'],'rows':_0xa73782[_0x5231ee(0x1f9)],'groupFields':(_0xcb5ea4=(_0x175519=_0x528754[_0x5231ee(0x24e)])==null?void 0x0:_0x175519[_0x5231ee(0x1f9)])==null?0x0:_0xcb5ea4});}[_0x46d2a0(0x3c1)](_0x41a50a,_0x227bb3,_0x2672aa){const _0x37e24e=_0x46d2a0;var _0x2b176e;let _0x45fc23=Array[_0x37e24e(0x368)](_0x227bb3[_0x37e24e(0x260)]()),_0x54f0f0=(_0x2b176e=_0x41a50a[_0x2672aa])==null?void 0x0:_0x2b176e[_0x37e24e(0x30c)];return _0x54f0f0&&_0x45fc23[_0x37e24e(0x16d)]((_0x5d82c1,_0x7cc1ac)=>{const _0xcc0322=_0x37e24e;let _0x2eddd9=_0x5d82c1[_0xcc0322(0x30f)][_0xcc0322(0x349)](_0x7cc1ac[_0xcc0322(0x30f)]);return _0x54f0f0===_0xcc0322(0x34f)?-_0x2eddd9:_0x2eddd9;}),_0x45fc23['map'](_0x4424bc=>({'key':_0x4424bc[_0x37e24e(0x30f)],'value':_0x4424bc[_0x37e24e(0x21c)],'path':_0x4424bc[_0x37e24e(0x239)],'label':_0x4424bc[_0x37e24e(0x3cd)],'fieldId':_0x4424bc['fieldId'],'level':_0x4424bc[_0x37e24e(0x398)],'recordIds':_0x4424bc[_0x37e24e(0x350)],'children':this[_0x37e24e(0x3c1)](_0x41a50a,_0x4424bc[_0x37e24e(0x244)],_0x2672aa+0x1)}));}[_0x46d2a0(0x164)](_0x26f4d7,_0x2880e7,_0x4cc6cd){const _0x449d42=_0x46d2a0;let _0xdc8c7f=_0x4cc6cd==null?_0x26f4d7[_0x449d42(0x26a)]:_0x4cc6cd,_0x1835a4=_0x2880e7['values'][_0xdc8c7f];return _0x1835a4==null?'':String(_0x1835a4);}[_0x46d2a0(0x407)](_0x437688){const _0x59103a=_0x46d2a0;if(Array[_0x59103a(0x316)](_0x437688))return _0x437688[_0x59103a(0x3e2)](String);if(typeof _0x437688==_0x59103a(0x181)&&_0x437688)return[_0x437688];}[_0x46d2a0(0x2e3)](_0x4036b9){const _0x16886f=_0x46d2a0;return this[_0x16886f(0x308)]['get'](_0x4036b9[_0x16886f(0x1c2)])[_0x16886f(0x27e)](_0x4036b9);}};ln=B([z(0x0,_0xdfd2da(Wt))],ln);function un(_0x49a761){return _0x49a761==null?'':String(_0x49a761);}function dn(_0x3eafc8){const _0xadc97a=_0x46d2a0;return new Map(_0x3eafc8['map']((_0x4d3a7e,_0x102fb7)=>[_0x4d3a7e[_0xadc97a(0x2c7)],_0x102fb7]));}function fn(_0x498192){const _0x74aa84=_0x46d2a0;return!!(Array['isArray'](_0x498192[_0x74aa84(0x3fd)])&&_0x498192[_0x74aa84(0x267)]&&_0x498192[_0x74aa84(0x185)]&&_0x498192[_0x74aa84(0x3ff)]&&_0x498192[_0x74aa84(0x304)]&&_0x498192['cellData']);}function pn(_0x37b427){const _0x210da5=_0x46d2a0;return _0x37b427!=null&&_0x37b427[_0x210da5(0x3ce)][_0x210da5(0x1f9)]?{'conjunction':_0x37b427[_0x210da5(0x1cc)],'conditions':_0x37b427[_0x210da5(0x3ce)][_0x210da5(0x3e2)](_0x4746c2=>({'fieldId':_0x4746c2[_0x210da5(0x3ef)],'operator':_0x4746c2[_0x210da5(0x3bd)],'operand':_0x4746c2[_0x210da5(0x2ee)]}))}:null;}function mn(_0x2dcc62){const _0xbd5d0a=_0x46d2a0;return _0x2dcc62!=null&&_0x2dcc62[_0xbd5d0a(0x1f9)]?_0x2dcc62[_0xbd5d0a(0x3e2)](_0x41aa46=>({'fieldId':_0x41aa46[_0xbd5d0a(0x3ef)],'direction':_0x41aa46[_0xbd5d0a(0x30c)]})):null;}function hn(_0x1642ae){const _0xc71eca=_0x46d2a0;if(typeof _0x1642ae!=_0xc71eca(0x28d)||!_0x1642ae){var _0x3aa7e5;return(_0x3aa7e5=JSON[_0xc71eca(0x1b8)](_0x1642ae))==null?_0xc71eca(0x2a9):_0x3aa7e5;}if(Array[_0xc71eca(0x316)](_0x1642ae))return'['+_0x1642ae[_0xc71eca(0x3e2)](hn)[_0xc71eca(0x358)](',')+']';let _0x2666f4=_0x1642ae;return'{'+Object[_0xc71eca(0x34d)](_0x2666f4)['sort']()[_0xc71eca(0x3e2)](_0x462198=>JSON[_0xc71eca(0x1b8)](_0x462198)+':'+hn(_0x2666f4[_0x462198]))[_0xc71eca(0x358)](',')+'}';}const U=0x5a0*0x3c*0x3e8;function gn(_0x402b18){const _0x5092d5=_0x46d2a0;return{'weekdays':Array[_0x5092d5(0x316)](_0x402b18==null?void 0x0:_0x402b18[_0x5092d5(0x2f3)])&&_0x402b18[_0x5092d5(0x2f3)][_0x5092d5(0x1f9)]?[...new Set(_0x402b18[_0x5092d5(0x2f3)][_0x5092d5(0x3f5)](_0x31eb73=>Number['isInteger'](_0x31eb73)&&_0x31eb73>=0x1&&_0x31eb73<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x402b18==null?void 0x0:_0x402b18[_0x5092d5(0x258)])?_0x402b18[_0x5092d5(0x258)][_0x5092d5(0x15f)](_0x5f3b0c=>!_0x5f3b0c||!Number[_0x5092d5(0x20c)](_0x5f3b0c['date'])?[]:[{'id':String(_0x5f3b0c['id']||_0x5092d5(0x396)+_0x5f3b0c['date']),'date':W(Number(_0x5f3b0c['date'])),'name':String(_0x5f3b0c[_0x5092d5(0x3bb)]||_0x5092d5(0x1f7)),'type':_0x5f3b0c[_0x5092d5(0x1c2)]===_0x5092d5(0x1f3)?_0x5092d5(0x1f3):'off'}]):[]};}function _n(_0x1cc172,_0x40b8cb,_0x1db345,_0x524d60){let _0x59654e=xn(_0x1cc172,_0x40b8cb),_0x24219e=Sn(_0x1cc172,_0x1db345),_0x5ce509=vn(_0x1cc172,_0x59654e,_0x24219e,_0x524d60);return{'scale':_0x1cc172,'start':_0x59654e,'end':_0x24219e,'unitWidth':bn(_0x1cc172),'majorHeaders':yn(_0x1cc172,_0x59654e,_0x24219e),'columns':_0x5ce509};}function vn(_0x4f9e83,_0x121f27,_0x1f1d1c,_0x1bb940){const _0x5db549=_0x46d2a0;let _0x196038=[],_0x2cca8f=_0x121f27;for(;_0x2cca8f<_0x1f1d1c;){let _0xc3a67d=_0x4f9e83===_0x5db549(0x33c)?G(_0x2cca8f,0x7):_0x4f9e83===_0x5db549(0x296)?jn(_0x2cca8f,0x1):G(_0x2cca8f,0x1);_0x196038[_0x5db549(0x31f)]({'id':_0x4f9e83+'-'+_0x2cca8f,'label':Cn(_0x4f9e83,_0x2cca8f,_0xc3a67d),'majorLabel':wn(_0x4f9e83,_0x2cca8f),'start':_0x2cca8f,'end':_0xc3a67d,'nonWorking':En(_0x2cca8f,_0xc3a67d,_0x1bb940)}),_0x2cca8f=_0xc3a67d;}return _0x196038;}function yn(_0x562c98,_0x2f8f61,_0xda1e27){const _0x2112e2=_0x46d2a0;let _0x4215e4=[],_0x246fa2=_0x562c98===_0x2112e2(0x296)?An(_0x2f8f61):kn(_0x2f8f61);for(;_0x246fa2<_0xda1e27;){let _0x4f880d=_0x562c98==='year'?Mn(_0x246fa2,0x1):jn(_0x246fa2,0x1);_0x4215e4[_0x2112e2(0x31f)]({'id':'major-'+_0x246fa2,'label':_0x562c98===_0x2112e2(0x296)?String(new Date(_0x246fa2)['getUTCFullYear']()):Nn(_0x246fa2),'start':_0x246fa2,'end':_0x4f880d}),_0x246fa2=_0x4f880d;}return _0x4215e4;}function bn(_0x107f7f){const _0x32d054=_0x46d2a0;switch(_0x107f7f){case _0x32d054(0x19e):return 0xac;case _0x32d054(0x33c):return 0xac;case _0x32d054(0x296):return 0x88;default:return 0x56;}}function xn(_0x2a0299,_0x819a99){const _0x2b2365=_0x46d2a0;return _0x2a0299==='year'?An(_0x819a99):_0x2a0299===_0x2b2365(0x33c)?On(_0x819a99):W(_0x819a99);}function Sn(_0x496d2a,_0x2f7939){const _0x10759c=_0x46d2a0;return _0x496d2a===_0x10759c(0x296)?Mn(An(_0x2f7939),0x1):_0x496d2a===_0x10759c(0x33c)?G(On(_0x2f7939),0x7):G(W(_0x2f7939),0x1);}function Cn(_0x4977c4,_0x1a74b2,_0x150e0d){const _0x54a77c=_0x46d2a0;let _0x15c8b0=new Date(_0x1a74b2);return _0x4977c4==='quarter'?_0x15c8b0[_0x54a77c(0x3a7)]()+'-'+new Date(_0x150e0d-U)[_0x54a77c(0x3a7)]():_0x4977c4==='year'?_0x15c8b0[_0x54a77c(0x2f7)]('en-US',{'month':_0x54a77c(0x1d4),'timeZone':_0x54a77c(0x3d3)}):String(_0x15c8b0[_0x54a77c(0x3a7)]());}function wn(_0x5499bf,_0x54e7b1){const _0x5b8798=_0x46d2a0;return _0x5499bf==='year'?String(new Date(_0x54e7b1)[_0x5b8798(0x3ec)]()):Nn(_0x54e7b1);}function Tn(_0x2cdebc,_0x3c824c,_0x1e73c8){let _0x5d9626=gn(_0x1e73c8),_0x119504=0x0;for(let _0x3b2575=W(_0x2cdebc);_0x3b2575<=W(_0x3c824c);_0x3b2575=G(_0x3b2575,0x1))Dn(_0x3b2575,_0x5d9626)||_0x119504++;return _0x119504;}function En(_0x40fe6f,_0x241746,_0x22b2b3){if(!_0x22b2b3)return!0x1;let _0x598e68=gn(_0x22b2b3);for(let _0x5bfd95=W(_0x40fe6f);_0x5bfd95<_0x241746;_0x5bfd95=G(_0x5bfd95,0x1))if(!Dn(_0x5bfd95,_0x598e68))return!0x1;return!0x0;}function Dn(_0x2f210e,_0x288042){const _0x4314fc=_0x46d2a0;let _0x11e287=W(_0x2f210e),_0x4f5288=_0x288042[_0x4314fc(0x258)][_0x4314fc(0x323)](_0x22b95e=>W(_0x22b95e[_0x4314fc(0x214)])===_0x11e287);if(_0x4f5288)return _0x4f5288['type']==='off';let _0x1fb0df=new Date(_0x11e287)[_0x4314fc(0x2f6)](),_0x2a5d5e=_0x1fb0df===0x0?0x7:_0x1fb0df;return!_0x288042['weekdays'][_0x4314fc(0x3ae)](_0x2a5d5e);}function W(_0x237335){const _0x8303b2=_0x46d2a0;let _0x57030d=new Date(_0x237335);return Date['UTC'](_0x57030d['getUTCFullYear'](),_0x57030d[_0x8303b2(0x27f)](),_0x57030d['getUTCDate']());}function On(_0x3c7923){const _0x63684d=_0x46d2a0;let _0x22b94c=W(_0x3c7923),_0x32ff54=new Date(_0x22b94c)[_0x63684d(0x2f6)]();return G(_0x22b94c,-(_0x32ff54===0x0?0x6:_0x32ff54-0x1));}function kn(_0x5d1198){const _0x4467a0=_0x46d2a0;let _0x35783b=new Date(_0x5d1198);return Date[_0x4467a0(0x3d3)](_0x35783b[_0x4467a0(0x3ec)](),_0x35783b[_0x4467a0(0x27f)](),0x1);}function An(_0x57cda6){const _0x3c2d66=_0x46d2a0;let _0x169f12=new Date(_0x57cda6);return Date['UTC'](_0x169f12[_0x3c2d66(0x3ec)](),0x0,0x1);}function G(_0x379f6d,_0x461573){return _0x379f6d+_0x461573*U;}function jn(_0x1de78f,_0x12057b){const _0x49faa6=_0x46d2a0;let _0x5d8f13=new Date(_0x1de78f);return Date[_0x49faa6(0x3d3)](_0x5d8f13[_0x49faa6(0x3ec)](),_0x5d8f13['getUTCMonth']()+_0x12057b,0x1);}function Mn(_0xde1b13,_0xcd96e2){const _0x55fb0c=_0x46d2a0;let _0x24a96e=new Date(_0xde1b13);return Date[_0x55fb0c(0x3d3)](_0x24a96e[_0x55fb0c(0x3ec)]()+_0xcd96e2,0x0,0x1);}function Nn(_0x14c157){const _0x2a4110=_0x46d2a0;let _0x4d888e=new Date(_0x14c157);return _0x4d888e[_0x2a4110(0x2f7)](_0x2a4110(0x2d7),{'month':'short','timeZone':_0x2a4110(0x3d3)})+'\x20'+_0x4d888e[_0x2a4110(0x3ec)]();}function Pn(_0x2de93e,_0x1bb9e3){const _0x25a064=_0x46d2a0;if(_0x2de93e==null&&_0x1bb9e3==null)return 0x0;if(_0x2de93e==null)return-0x1;if(_0x1bb9e3==null)return 0x1;if(typeof _0x2de93e==_0x25a064(0x2f0)||typeof _0x1bb9e3=='boolean')return Number(_0x2de93e===!0x0)-Number(_0x1bb9e3===!0x0);let _0x2f698d=Number(_0x2de93e),_0x517fa3=Number(_0x1bb9e3),_0x11eb4e=Number[_0x25a064(0x20c)](_0x2f698d),_0x3442d4=Number[_0x25a064(0x20c)](_0x517fa3);return _0x11eb4e&&_0x3442d4?_0x2f698d-_0x517fa3:_0x11eb4e?0x1:_0x3442d4?-0x1:String(_0x2de93e)['localeCompare'](String(_0x1bb9e3));}function Fn(_0x532bf9){const _0x2da7c1=_0x46d2a0;if(_0x532bf9[_0x2da7c1(0x3bd)]!=='is'&&_0x532bf9['operator']!==_0x2da7c1(0x2b3))return!0x1;let _0x2ac57b=_0x532bf9[_0x2da7c1(0x2ee)];return _0x2ac57b==null?!0x0:typeof _0x2ac57b==_0x2da7c1(0x181)?_0x2ac57b[_0x2da7c1(0x2af)]()==='':Array[_0x2da7c1(0x316)](_0x2ac57b)?_0x2ac57b[_0x2da7c1(0x1f9)]===0x0:!0x1;}function K(_0x3be694,_0x5739c7){const _0x40b443=_0x46d2a0;var _0x5bbf40;let _0x178b75=Array[_0x40b443(0x316)]((_0x5bbf40=_0x3be694[_0x40b443(0x2d2)])==null?void 0x0:_0x5bbf40['options'])?_0x3be694['config']['options']:[];for(let _0x383af9 of _0x178b75){var _0x4cfd13,_0x268c14,_0x11df79,_0x2121b9;if(_0x383af9==null)continue;if(typeof _0x383af9==_0x40b443(0x181)){if(_0x383af9===_0x5739c7)return{'id':_0x383af9,'name':_0x383af9};continue;}let _0x23f325=_0x383af9,_0x5353e2=String((_0x4cfd13=(_0x268c14=_0x23f325['id'])==null?_0x23f325[_0x40b443(0x3bb)]:_0x268c14)==null?'':_0x4cfd13),_0x14e8e0=String((_0x11df79=(_0x2121b9=_0x23f325[_0x40b443(0x3bb)])==null?_0x23f325['id']:_0x2121b9)==null?_0x5353e2:_0x11df79);if(_0x5353e2===_0x5739c7||_0x14e8e0===_0x5739c7)return{'id':_0x5353e2,'name':_0x14e8e0,'color':_0x23f325[_0x40b443(0x19c)]==null?void 0x0:String(_0x23f325[_0x40b443(0x19c)])};}return null;}const q={'id':_0x46d2a0(0x193),'type':_0x5de53d['MUTATION'],'handler'(_0xafaa1,_0x1cc44a){const _0x1ba040=_0x46d2a0;let {unitId:_0x1b3578,op:_0x25eeb2}=_0x1cc44a,_0x1542ec=_0xafaa1[_0x1ba040(0x256)](_0x569efc)[_0x1ba040(0x221)](_0x1b3578,_0x3ae749[_0x1ba040(0x2a2)]);if(!_0x1542ec)return!0x1;let _0x170453=_0x1542ec[_0x1ba040(0x364)](),_0x4a92a0=new O(),_0x4444ed=_0x4a92a0[_0x1ba040(0x25f)](_0x25eeb2),_0x261145=_0x4a92a0['applyOp'](_0x170453,_0x25eeb2);return _0x1542ec[_0x1ba040(0x22b)](_0x261145),In(_0x261145,_0x4444ed,_0xafaa1[_0x1ba040(0x256)](sn)),!0x0;}};function In(_0x51b5cb,_0x4d7745,_0x128b08){const _0xcb7a7e=_0x46d2a0;let _0x3fb7ac=new Set();for(let _0x10578e of _0x4d7745){if(_0x10578e[_0xcb7a7e(0x399)]!==_0xcb7a7e(0x395)){_0x128b08['invalidateByOp']();return;}let _0x2c70fc=Ln(_0x51b5cb,_0x10578e);if(!_0x2c70fc){_0x128b08[_0xcb7a7e(0x1da)]();return;}let _0x515150=_0x2c70fc[_0xcb7a7e(0x1e5)]+'\x00'+_0x2c70fc[_0xcb7a7e(0x2c7)]+'\x00'+_0x2c70fc[_0xcb7a7e(0x3ef)];_0x3fb7ac[_0xcb7a7e(0x3a9)](_0x515150)||(_0x3fb7ac[_0xcb7a7e(0x176)](_0x515150),_0x128b08[_0xcb7a7e(0x339)](_0x2c70fc[_0xcb7a7e(0x1e5)],_0x2c70fc[_0xcb7a7e(0x2c7)],_0x2c70fc['fieldId']));}}function Ln(_0x33812b,_0x1e9405){const _0x3fdf0c=_0x46d2a0;var _0x48db10,_0x461d9e;if(!_0x1e9405[_0x3fdf0c(0x1e5)])return null;if(_0x1e9405[_0x3fdf0c(0x2c7)]&&_0x1e9405[_0x3fdf0c(0x3ef)])return{'tableId':_0x1e9405[_0x3fdf0c(0x1e5)],'recordId':_0x1e9405[_0x3fdf0c(0x2c7)],'fieldId':_0x1e9405[_0x3fdf0c(0x3ef)]};if(_0x1e9405[_0x3fdf0c(0x1c7)]==null||_0x1e9405[_0x3fdf0c(0x3a3)]==null)return null;let _0x102be3=_0x33812b[_0x3fdf0c(0x201)][_0x1e9405[_0x3fdf0c(0x1e5)]],_0x319ba3=_0x102be3==null||(_0x48db10=_0x102be3['rowId'])==null?void 0x0:_0x48db10[_0x1e9405[_0x3fdf0c(0x1c7)]],_0x3aed2b=_0x102be3==null||(_0x461d9e=_0x102be3['colId'])==null?void 0x0:_0x461d9e[_0x1e9405[_0x3fdf0c(0x3a3)]];return!_0x319ba3||!_0x3aed2b?null:{'tableId':_0x1e9405[_0x3fdf0c(0x1e5)],'recordId':_0x319ba3,'fieldId':_0x3aed2b};}const Rn={'id':_0x46d2a0(0x3e8),'type':_0x5de53d['COMMAND'],'handler'(_0xdecaf6,_0x4b08bf){const _0x35acb2=_0x46d2a0;if(!_0x4b08bf)return!0x1;let _0x58c10c=_0xdecaf6[_0x35acb2(0x256)](_0x569efc),{unitId:_0x4df3b3,tableId:_0x57cef6,records:_0x20f8b9}=_0x4b08bf,_0x3e03fe=_0x58c10c[_0x35acb2(0x221)](_0x4df3b3,_0x3ae749[_0x35acb2(0x2a2)]);if(!_0x3e03fe)return!0x1;let _0x2805d6=_0xdecaf6[_0x35acb2(0x256)](_0x43f40c),_0x48056d=_0xdecaf6['get'](_0x2d1f6c),_0x4ec636=_0xdecaf6[_0x35acb2(0x256)](V)['createBatchCreateRecordsOp'](_0x3e03fe,_0x57cef6,_0x20f8b9),_0x51b953=new O()[_0x35acb2(0x3f0)](_0x3e03fe[_0x35acb2(0x364)](),_0x4ec636),_0x1423c5={'unitId':_0x4df3b3,'op':_0x4ec636},_0x556a65={'unitId':_0x4df3b3,'op':_0x51b953};return _0x2805d6[_0x35acb2(0x25c)](q['id'],_0x1423c5)?(_0x58c10c[_0x35acb2(0x37a)](_0x4df3b3),_0x48056d['pushUndoRedo']({'unitID':_0x4df3b3,'undoMutations':[{'id':q['id'],'params':_0x556a65}],'redoMutations':[{'id':q['id'],'params':_0x1423c5}]}),!0x0):!0x1;}},zn={'id':'base.command.batch-delete-base-records','type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x3eb52f,_0x18c5cf)=>{const _0x1ebc15=_0x46d2a0;if(!_0x18c5cf)return!0x1;let _0xa3b5=_0x3eb52f[_0x1ebc15(0x256)](_0x569efc),{unitId:_0x39fe30,tableId:_0x4fad57,recordIds:_0x53cb6a}=_0x18c5cf,_0x5d4bc2=_0xa3b5[_0x1ebc15(0x221)](_0x39fe30,_0x3ae749[_0x1ebc15(0x2a2)]);if(!_0x5d4bc2)return!0x1;let _0x27c8ae=_0x3eb52f[_0x1ebc15(0x256)](_0x43f40c),_0x186e1f=_0x3eb52f['get'](_0x2d1f6c),_0x3ac3d2=_0x5d4bc2['getSnapshot'](),_0x42f500=new I()['deleteRecords'](_0x3ac3d2,_0x4fad57,_0x53cb6a),_0x128317=new O()['invertOp'](_0x3ac3d2,_0x42f500),_0x342491={'unitId':_0x39fe30,'op':_0x42f500},_0x4ae3c5={'unitId':_0x39fe30,'op':_0x128317};return _0x27c8ae[_0x1ebc15(0x25c)](q['id'],_0x342491)?(_0xa3b5['focusUnit'](_0x39fe30),_0x186e1f[_0x1ebc15(0x1fa)]({'unitID':_0x39fe30,'undoMutations':[{'id':q['id'],'params':_0x4ae3c5}],'redoMutations':[{'id':q['id'],'params':_0x342491}]}),!0x0):!0x1;}},Bn={'id':_0x46d2a0(0x191),'type':_0x5de53d['COMMAND'],'handler':(_0x4edceb,_0x2148b2)=>{const _0x398bfe=_0x46d2a0;if(!_0x2148b2)return!0x1;let _0x11d554=_0x4edceb['get'](_0x569efc),{unitId:_0x5cc86f,tableId:_0x5f3579,fieldId:_0x4c7618,input:_0x3fbd4d}=_0x2148b2,_0x5a0f2e=_0x11d554[_0x398bfe(0x221)](_0x5cc86f,_0x3ae749[_0x398bfe(0x2a2)]);if(!_0x5a0f2e)return!0x1;let _0x343b88=_0x4edceb['get'](_0x43f40c),_0x18d1ab=_0x4edceb[_0x398bfe(0x256)](_0x2d1f6c),_0x1b8cd1=_0x5a0f2e[_0x398bfe(0x364)](),_0x4c54e3=new I()[_0x398bfe(0x3b6)](_0x1b8cd1,_0x5f3579,_0x4c7618,_0x3fbd4d),_0x5aa316=new O()[_0x398bfe(0x3f0)](_0x1b8cd1,_0x4c54e3),_0x182ee4={'unitId':_0x5cc86f,'op':_0x4c54e3},_0x39da8c={'unitId':_0x5cc86f,'op':_0x5aa316};return _0x343b88[_0x398bfe(0x25c)](q['id'],_0x182ee4)?(_0x11d554[_0x398bfe(0x37a)](_0x5cc86f),_0x18d1ab['pushUndoRedo']({'unitID':_0x5cc86f,'undoMutations':[{'id':q['id'],'params':_0x39da8c}],'redoMutations':[{'id':q['id'],'params':_0x182ee4}]}),!0x0):!0x1;}},Vn={'id':_0x46d2a0(0x36a),'type':_0x5de53d['COMMAND'],'handler'(_0xe85cad,_0x2b737c){const _0x18bf6f=_0x46d2a0;if(!_0x2b737c)return!0x1;let _0xdbb040=_0xe85cad[_0x18bf6f(0x256)](_0x569efc),{unitId:_0x312e6b,tableId:_0x561c49,field:_0x34b906,index:_0x42eda1,viewIndexes:_0x599076}=_0x2b737c,_0x9e010a=_0xdbb040[_0x18bf6f(0x221)](_0x312e6b,_0x3ae749['UNIVER_BASE']);if(!_0x9e010a)return!0x1;let _0x2d9f84=_0xe85cad['get'](_0x43f40c),_0xdeadf4=_0xe85cad[_0x18bf6f(0x256)](_0x2d1f6c),_0x45c987=_0xe85cad['get'](V)[_0x18bf6f(0x206)](_0x9e010a,_0x561c49,_0x34b906,_0x42eda1,_0x599076),_0x388d86=new O()['invertOp'](_0x9e010a[_0x18bf6f(0x364)](),_0x45c987),_0x584565={'unitId':_0x312e6b,'op':_0x45c987},_0x9d6120={'unitId':_0x312e6b,'op':_0x388d86};return _0x2d9f84['syncExecuteCommand'](q['id'],_0x584565)?(_0xdbb040['focusUnit'](_0x312e6b),_0xdeadf4['pushUndoRedo']({'unitID':_0x312e6b,'undoMutations':[{'id':q['id'],'params':_0x9d6120}],'redoMutations':[{'id':q['id'],'params':_0x584565}]}),!0x0):!0x1;}},Hn={'id':_0x46d2a0(0x2a7),'type':_0x5de53d[_0x46d2a0(0x382)],'handler'(_0x3e8ee8,_0x198586){const _0x524139=_0x46d2a0;if(!_0x198586)return!0x1;let _0x102265=_0x3e8ee8[_0x524139(0x256)](_0x569efc),{unitId:_0x446762,tableId:_0x389ee3,record:_0x14420f}=_0x198586,_0x423534=_0x102265[_0x524139(0x221)](_0x446762,_0x3ae749[_0x524139(0x2a2)]);if(!_0x423534)return!0x1;let _0x16de08=_0x3e8ee8[_0x524139(0x256)](_0x43f40c),_0x583a26=_0x3e8ee8[_0x524139(0x256)](_0x2d1f6c),_0x473e1d=_0x3e8ee8[_0x524139(0x256)](V)[_0x524139(0x319)](_0x423534,_0x389ee3,_0x14420f),_0x545141=new O()[_0x524139(0x3f0)](_0x423534['getSnapshot'](),_0x473e1d),_0x20443d={'unitId':_0x446762,'op':_0x473e1d},_0x26b2ae={'unitId':_0x446762,'op':_0x545141};return _0x16de08[_0x524139(0x25c)](q['id'],_0x20443d)?(_0x102265[_0x524139(0x37a)](_0x446762),_0x583a26['pushUndoRedo']({'unitID':_0x446762,'undoMutations':[{'id':q['id'],'params':_0x26b2ae}],'redoMutations':[{'id':q['id'],'params':_0x20443d}]}),!0x0):!0x1;}},Un={'id':_0x46d2a0(0x198),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x373ea7,_0x2eaad6)=>{const _0x2f5fd5=_0x46d2a0;if(!_0x2eaad6)return!0x1;let _0x370b97=_0x373ea7[_0x2f5fd5(0x256)](_0x569efc),{unitId:_0x2fd357,table:_0x26be32,index:_0x482c82}=_0x2eaad6,_0x5d6c3f=_0x370b97['getUnit'](_0x2fd357,_0x3ae749[_0x2f5fd5(0x2a2)]);if(!_0x5d6c3f)return!0x1;let _0x4e5fdb=_0x373ea7[_0x2f5fd5(0x256)](_0x43f40c),_0x1502a0=_0x373ea7[_0x2f5fd5(0x256)](_0x2d1f6c),_0x2a5c4d=_0x5d6c3f['getSnapshot'](),_0x32bd62=new I()[_0x2f5fd5(0x29f)](_0x2a5c4d,_0x26be32,_0x482c82),_0x1b27c4=new O()[_0x2f5fd5(0x3f0)](_0x2a5c4d,_0x32bd62),_0x4ae321={'unitId':_0x2fd357,'op':_0x32bd62},_0x1048a6={'unitId':_0x2fd357,'op':_0x1b27c4};return _0x4e5fdb['syncExecuteCommand'](q['id'],_0x4ae321)?(_0x370b97[_0x2f5fd5(0x37a)](_0x2fd357),_0x1502a0['pushUndoRedo']({'unitID':_0x2fd357,'undoMutations':[{'id':q['id'],'params':_0x1048a6}],'redoMutations':[{'id':q['id'],'params':_0x4ae321}]}),!0x0):!0x1;}};function Wn(_0xc5e599,_0xd1a01b,_0x518c8e=[]){const _0x39ab71=_0x46d2a0;let _0x5ab8d3=new Set([...Object[_0x39ab71(0x260)](_0xc5e599[_0x39ab71(0x263)])[_0x39ab71(0x3f5)](_0xfb42b3=>_0xfb42b3&&!_0xfb42b3['deleted'])[_0x39ab71(0x3e2)](_0x250a09=>_0x250a09[_0x39ab71(0x3bb)]),..._0x518c8e['map'](_0x107485=>_0x107485[_0x39ab71(0x3bb)])]);if(!_0x5ab8d3[_0x39ab71(0x3a9)](_0xd1a01b))return _0xd1a01b;let _0x9e0104=0x2;for(;_0x5ab8d3[_0x39ab71(0x3a9)](_0xd1a01b+'\x20'+_0x9e0104);)_0x9e0104++;return _0xd1a01b+'\x20'+_0x9e0104;}function Gn(_0x2d3c12,_0x1cd504){const _0x1350aa=_0x46d2a0;if(!_0x2d3c12||!_0x1cd504[_0x1350aa(0x1f9)])return;let _0x526b0d=[..._0x2d3c12];return _0x1cd504['forEach'](_0x421e60=>{const _0x3978d4=_0x1350aa;_0x526b0d[_0x3978d4(0x3ae)](_0x421e60)||_0x526b0d[_0x3978d4(0x31f)](_0x421e60);}),_0x526b0d;}const Kn={'options':[{'id':'todo','name':_0x46d2a0(0x348),'color':_0x46d2a0(0x29b)},{'id':_0x46d2a0(0x1d0),'name':_0x46d2a0(0x360),'color':'#FDE68A'},{'id':'done','name':_0x46d2a0(0x165),'color':_0x46d2a0(0x2fe)}]},qn={'locale':'en-US','pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x46d2a0(0x1eb)};function Jn(_0x3aeccf,_0x1f20f0,_0x56e171,_0x3761e7){const _0x256914=_0x46d2a0;var _0xf20885;let _0x5c223e=new I(),_0x2d8550=_0x3aeccf[_0x256914(0x201)][_0x1f20f0];if(_0x2d8550&&_0x56e171['type']===_0x256914(0x2c6)){var _0x30094a;let _0x16935b=Xn(_0x2d8550,_0x56e171),_0xf9b6d7=_0x16935b[_0x256914(0x2df)]?{..._0x56e171,'config':_0x16935b['config'],'fieldOrder':(_0x30094a=_0x16935b['fieldOrder'])==null?_0x56e171[_0x256914(0x31e)]:_0x30094a}:_0x56e171;return F([..._0x16935b[_0x256914(0x263)]['map'](_0x53326c=>_0x5c223e[_0x256914(0x32c)](_0x3aeccf,_0x1f20f0,{'field':_0x53326c})),_0x5c223e[_0x256914(0x1a1)](_0x3aeccf,_0x1f20f0,_0xf9b6d7,_0x3761e7)]);}if(!_0x2d8550||_0x56e171[_0x256914(0x1c2)]!=='calendar'&&_0x56e171[_0x256914(0x1c2)]!==_0x256914(0x2b6))return _0x5c223e[_0x256914(0x1a1)](_0x3aeccf,_0x1f20f0,_0x56e171,_0x3761e7);let _0x28fb6a=Yn(_0x2d8550,_0x56e171),_0x244922=_0x28fb6a[_0x256914(0x2df)]?{..._0x56e171,'config':_0x28fb6a[_0x256914(0x2d2)],'fieldOrder':(_0xf20885=_0x28fb6a['fieldOrder'])==null?_0x56e171[_0x256914(0x31e)]:_0xf20885}:_0x56e171;return _0x56e171[_0x256914(0x1c2)]===_0x256914(0x2b6)&&$n(_0x56e171)&&(_0x244922=er(_0x2d8550,_0x244922,_0x28fb6a[_0x256914(0x263)])),F([..._0x28fb6a[_0x256914(0x263)][_0x256914(0x3e2)](_0x368737=>_0x5c223e[_0x256914(0x32c)](_0x3aeccf,_0x1f20f0,{'field':_0x368737})),_0x5c223e[_0x256914(0x1a1)](_0x3aeccf,_0x1f20f0,_0x244922,_0x3761e7)]);}function Yn(_0x487397,_0x57f717,_0x2313e0=!0x1){const _0xa763d7=_0x46d2a0;var _0x3de2d6,_0x491736,_0xe1402b,_0x43644e;let _0x2c3602=_0x487397[_0xa763d7(0x31e)][_0xa763d7(0x3f5)](_0x474c49=>nr(_0x487397,_0x474c49)),_0x977151=[],_0x16acb9={...(_0x3de2d6=_0x57f717[_0xa763d7(0x2d2)])==null?{}:_0x3de2d6},_0x24185b=typeof _0x16acb9[_0xa763d7(0x21f)]==_0xa763d7(0x181)&&nr(_0x487397,_0x16acb9[_0xa763d7(0x21f)])?_0x16acb9[_0xa763d7(0x21f)]:_0x2c3602[0x0],_0xdaf737=typeof _0x16acb9['endDateFieldId']==_0xa763d7(0x181)&&nr(_0x487397,_0x16acb9['endDateFieldId'])&&_0x16acb9['endDateFieldId']!==_0x24185b?_0x16acb9['endDateFieldId']:_0x2c3602[_0xa763d7(0x323)](_0x254647=>_0x254647!==_0x24185b);if(!_0x24185b){let _0x1c134f=rr(_0x487397,_0x977151,_0x57f717[_0xa763d7(0x1c2)]===_0xa763d7(0x2b6)?_0xa763d7(0x389):_0xa763d7(0x3bf));_0x977151[_0xa763d7(0x31f)](_0x1c134f),_0x24185b=_0x1c134f['id'];}if((_0x57f717[_0xa763d7(0x1c2)]===_0xa763d7(0x2b6)||_0x2313e0)&&!_0xdaf737){let _0x5aaba4=rr(_0x487397,_0x977151,'End\x20date');_0x977151[_0xa763d7(0x31f)](_0x5aaba4),_0xdaf737=_0x5aaba4['id'];}if(_0x57f717[_0xa763d7(0x1c2)]===_0xa763d7(0x2c0)&&!_0xdaf737&&delete _0x16acb9[_0xa763d7(0x383)],_0x16acb9[_0xa763d7(0x21f)]=_0x24185b,_0x57f717[_0xa763d7(0x1c2)]===_0xa763d7(0x2c0)&&_0xdaf737&&(_0x16acb9['endDateFieldId']=_0xdaf737),_0x57f717['type']===_0xa763d7(0x2b6)){var _0x49ab68;_0x16acb9['endDateFieldId']=(_0x49ab68=_0xdaf737)==null?_0x24185b:_0x49ab68;}let _0x3b6e79=Gn(_0x57f717[_0xa763d7(0x31e)],_0x977151[_0xa763d7(0x3e2)](_0x447818=>_0x447818['id']));return{'changed':_0x977151['length']>0x0||_0x16acb9[_0xa763d7(0x21f)]!==((_0x491736=_0x57f717['config'])==null?void 0x0:_0x491736[_0xa763d7(0x21f)])||_0x16acb9[_0xa763d7(0x383)]!==((_0xe1402b=_0x57f717[_0xa763d7(0x2d2)])==null?void 0x0:_0xe1402b['endDateFieldId'])||!!(_0x3b6e79&&!_0xef6ec6[_0xa763d7(0x1d1)](_0x3b6e79,(_0x43644e=_0x57f717[_0xa763d7(0x31e)])==null?[]:_0x43644e)),'fields':_0x977151,'config':_0x16acb9,'fieldOrder':_0x3b6e79};}function Xn(_0x1990ff,_0x1500b2){const _0x4237fa=_0x46d2a0;var _0x5df01d,_0x1aa62d,_0x5d9106;let _0x24020f=[],_0x5b2cde={...(_0x5df01d=_0x1500b2[_0x4237fa(0x2d2)])==null?{}:_0x5df01d},_0x4c7051=typeof _0x5b2cde[_0x4237fa(0x196)]==_0x4237fa(0x181)&&Zn(_0x1990ff,_0x5b2cde[_0x4237fa(0x196)])?_0x5b2cde['groupFieldId']:_0x1990ff[_0x4237fa(0x31e)]['find'](_0x143d0e=>Zn(_0x1990ff,_0x143d0e));if(!_0x4c7051){let _0x2b1cce=Qn(_0x1990ff,_0x24020f);_0x24020f[_0x4237fa(0x31f)](_0x2b1cce),_0x4c7051=_0x2b1cce['id'];}_0x5b2cde['groupFieldId']=_0x4c7051;let _0x3d936c=Gn(_0x1500b2['fieldOrder'],_0x24020f['map'](_0x3a559f=>_0x3a559f['id']));return{'changed':_0x24020f['length']>0x0||_0x5b2cde[_0x4237fa(0x196)]!==((_0x1aa62d=_0x1500b2['config'])==null?void 0x0:_0x1aa62d['groupFieldId'])||!!(_0x3d936c&&!_0xef6ec6['diffValue'](_0x3d936c,(_0x5d9106=_0x1500b2['fieldOrder'])==null?[]:_0x5d9106)),'fields':_0x24020f,'config':_0x5b2cde,'fieldOrder':_0x3d936c};}function Zn(_0x319f7d,_0x52092e){const _0x13eac0=_0x46d2a0;let _0x5a6d2f=_0x52092e?_0x319f7d[_0x13eac0(0x263)][_0x52092e]:null;return!_0x5a6d2f||_0x5a6d2f[_0x13eac0(0x3a4)]?!0x1:[_0x13eac0(0x295),_0x13eac0(0x3d0),'rating',_0x13eac0(0x34c),_0x13eac0(0x24e),_0x13eac0(0x1e0)][_0x13eac0(0x3ae)](_0x5a6d2f[_0x13eac0(0x1c2)]);}function Qn(_0x53b4e0,_0x530e10){const _0x28ade8=_0x46d2a0;return{'id':_0x28ade8(0x37f)+_0x26ccc7(0x8),'name':Wn(_0x53b4e0,_0x28ade8(0x370),_0x530e10),'type':_0x28ade8(0x295),'config':_0xef6ec6['deepClone'](Kn)};}function $n(_0x3df1e3){const _0x10159f=_0x46d2a0;var _0x3dcfa6,_0x5b35d4;return Object[_0x10159f(0x34d)]((_0x3dcfa6=_0x3df1e3['config'])==null?{}:_0x3dcfa6)[_0x10159f(0x1f9)]===0x0&&Object[_0x10159f(0x34d)]((_0x5b35d4=_0x3df1e3[_0x10159f(0x158)])==null?{}:_0x5b35d4)[_0x10159f(0x1f9)]===0x0;}function er(_0x3cf049,_0x2ea4ae,_0x5cd415){const _0x4e32d5=_0x46d2a0;var _0x4ed442;let _0x4479ca={...(_0x4ed442=_0x2ea4ae[_0x4e32d5(0x2d2)])==null?{}:_0x4ed442},_0x38ed4d=_0x5cd415[_0x4e32d5(0x3e2)](_0x149d73=>_0x149d73['id']),_0x260478=[..._0x3cf049[_0x4e32d5(0x31e)],..._0x38ed4d],_0x593d87=typeof _0x4479ca[_0x4e32d5(0x2b9)]==_0x4e32d5(0x181)&&tr(_0x3cf049,_0x5cd415,_0x4479ca[_0x4e32d5(0x2b9)])?_0x4479ca['titleFieldId']:_0x3cf049[_0x4e32d5(0x26a)],_0x420896=typeof _0x4479ca[_0x4e32d5(0x21f)]==_0x4e32d5(0x181)?_0x4479ca['startDateFieldId']:'',_0x29b0d9=typeof _0x4479ca['endDateFieldId']==_0x4e32d5(0x181)?_0x4479ca[_0x4e32d5(0x383)]:_0x420896,_0x3858e4=new Set([_0x593d87,_0x420896,_0x29b0d9][_0x4e32d5(0x3f5)](_0x4c8baf=>_0x4c8baf&&tr(_0x3cf049,_0x5cd415,_0x4c8baf))),_0x45aeba=Object[_0x4e32d5(0x3ed)](_0x260478['flatMap'](_0x266d22=>_0x3858e4['has'](_0x266d22)||!tr(_0x3cf049,_0x5cd415,_0x266d22)?[]:[[_0x266d22,{'hidden':!0x0}]]));return{..._0x2ea4ae,'config':{..._0x4479ca,'titleFieldId':_0x593d87},'fieldSettings':_0x45aeba};}function tr(_0x51393b,_0xb53cdb,_0x3355e0){const _0x5151f7=_0x46d2a0;var _0x1d8eed;let _0x222aa0=(_0x1d8eed=_0x51393b[_0x5151f7(0x263)][_0x3355e0])==null?_0xb53cdb[_0x5151f7(0x323)](_0x48128d=>_0x48128d['id']===_0x3355e0):_0x1d8eed;return!!_0x222aa0&&_0x222aa0[_0x5151f7(0x3a4)]!==!0x0;}function nr(_0x38482a,_0x51a50e){const _0x1553cc=_0x46d2a0;let _0x427d11=_0x51a50e?_0x38482a[_0x1553cc(0x263)][_0x51a50e]:null;return!!_0x427d11&&!_0x427d11[_0x1553cc(0x3a4)]&&_0x427d11['type']===_0x1553cc(0x214)&&_0x427d11[_0x1553cc(0x1b7)]!==!0x0&&_0x427d11[_0x1553cc(0x35e)]!==!0x0;}function rr(_0x5af05e,_0x33238c,_0x47ef7b){const _0x4e9cbb=_0x46d2a0;let _0x4b05a1=new Set([...Object[_0x4e9cbb(0x34d)](_0x5af05e[_0x4e9cbb(0x263)]),..._0x33238c[_0x4e9cbb(0x3e2)](_0x166974=>_0x166974['id'])]),_0x239121=_0x4e9cbb(0x37f)+_0x26ccc7(0x8);for(;_0x4b05a1[_0x4e9cbb(0x3a9)](_0x239121);)_0x239121=_0x4e9cbb(0x37f)+_0x26ccc7(0x8);return{'id':_0x239121,'name':Wn(_0x5af05e,_0x47ef7b,_0x33238c),'type':_0x4e9cbb(0x214),'config':{...qn}};}const ir={'id':_0x46d2a0(0x2d6),'type':_0x5de53d['COMMAND'],'handler':(_0x864f6d,_0x3d6e3b)=>{const _0x6b97ce=_0x46d2a0;if(!_0x3d6e3b)return!0x1;let _0x3da0eb=_0x864f6d[_0x6b97ce(0x256)](_0x569efc),{unitId:_0xef304c,tableId:_0x4dad13,view:_0x4a3486,index:_0x2b18bd}=_0x3d6e3b,_0x156f5e=_0x3da0eb[_0x6b97ce(0x221)](_0xef304c,_0x3ae749[_0x6b97ce(0x2a2)]);if(!_0x156f5e)return!0x1;let _0x4d1625=_0x864f6d[_0x6b97ce(0x256)](_0x43f40c),_0x207f13=_0x864f6d['get'](_0x2d1f6c),_0x3a7b6e=_0x156f5e['getSnapshot'](),_0x3ef2f5=Jn(_0x3a7b6e,_0x4dad13,_0x4a3486,_0x2b18bd),_0x198246=new O()[_0x6b97ce(0x3f0)](_0x3a7b6e,_0x3ef2f5),_0x33461a={'unitId':_0xef304c,'op':_0x3ef2f5},_0xcfb2ea={'unitId':_0xef304c,'op':_0x198246};return _0x4d1625['syncExecuteCommand'](q['id'],_0x33461a)?(_0x3da0eb[_0x6b97ce(0x37a)](_0xef304c),_0x207f13[_0x6b97ce(0x1fa)]({'unitID':_0xef304c,'undoMutations':[{'id':q['id'],'params':_0xcfb2ea}],'redoMutations':[{'id':q['id'],'params':_0x33461a}]}),!0x0):!0x1;}},ar={'id':_0x46d2a0(0x371),'type':_0x5de53d[_0x46d2a0(0x382)],'handler'(_0x2add4a,_0xdf2798){const _0x4589b8=_0x46d2a0;if(!_0xdf2798)return!0x1;let _0x509dac=_0x2add4a[_0x4589b8(0x256)](_0x569efc),{unitId:_0x4fd621,tableId:_0x1c10e9,fieldId:_0x47a686}=_0xdf2798,_0x1b1c68=_0x509dac['getUnit'](_0x4fd621,_0x3ae749[_0x4589b8(0x2a2)]);if(!_0x1b1c68)return!0x1;let _0x2c91ee=_0x1b1c68['getSnapshot'](),_0x3a3537=_0x2c91ee[_0x4589b8(0x201)][_0x1c10e9];if(!_0x3a3537||_0x3a3537['primaryFieldId']===_0x47a686)return!0x1;let _0x5dc516=_0x2add4a[_0x4589b8(0x256)](_0x43f40c),_0x4536e8=_0x2add4a[_0x4589b8(0x256)](_0x2d1f6c),_0x132bd7=new I()[_0x4589b8(0x3cf)](_0x2c91ee,_0x1c10e9,_0x47a686),_0x2e434a=new O()[_0x4589b8(0x3f0)](_0x2c91ee,_0x132bd7),_0x2391a9={'unitId':_0x4fd621,'op':_0x132bd7},_0x19ba85={'unitId':_0x4fd621,'op':_0x2e434a};return _0x5dc516[_0x4589b8(0x25c)](q['id'],_0x2391a9)?(_0x509dac['focusUnit'](_0x4fd621),_0x4536e8[_0x4589b8(0x1fa)]({'unitID':_0x4fd621,'undoMutations':[{'id':q['id'],'params':_0x19ba85}],'redoMutations':[{'id':q['id'],'params':_0x2391a9}]}),!0x0):!0x1;}},or={'id':_0x46d2a0(0x227),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x1fa09b,_0x36cc3f)=>{const _0x1e421f=_0x46d2a0;if(!_0x36cc3f)return!0x1;let _0x1b6e0b=_0x1fa09b[_0x1e421f(0x256)](_0x569efc),{unitId:_0x105da8,tableId:_0x138d1f,recordId:_0xc21aa3}=_0x36cc3f,_0x5a4e11=_0x1b6e0b[_0x1e421f(0x221)](_0x105da8,_0x3ae749[_0x1e421f(0x2a2)]);if(!_0x5a4e11)return!0x1;let _0x4f989f=_0x1fa09b[_0x1e421f(0x256)](_0x43f40c),_0x403713=_0x1fa09b[_0x1e421f(0x256)](_0x2d1f6c),_0x214f1e=_0x5a4e11[_0x1e421f(0x364)](),_0xf2b92a=new I()['deleteRecord'](_0x214f1e,_0x138d1f,_0xc21aa3),_0x8671d1=new O()[_0x1e421f(0x3f0)](_0x214f1e,_0xf2b92a),_0x2c5984={'unitId':_0x105da8,'op':_0xf2b92a},_0x3cc920={'unitId':_0x105da8,'op':_0x8671d1};return _0x4f989f[_0x1e421f(0x25c)](q['id'],_0x2c5984)?(_0x1b6e0b[_0x1e421f(0x37a)](_0x105da8),_0x403713[_0x1e421f(0x1fa)]({'unitID':_0x105da8,'undoMutations':[{'id':q['id'],'params':_0x3cc920}],'redoMutations':[{'id':q['id'],'params':_0x2c5984}]}),!0x0):!0x1;}},sr={'id':_0x46d2a0(0x401),'type':_0x5de53d['COMMAND'],'handler':(_0x173e8e,_0x4348a5)=>{const _0x553938=_0x46d2a0;if(!_0x4348a5)return!0x1;let _0x2c1c4f=_0x173e8e[_0x553938(0x256)](_0x569efc),{unitId:_0x17431a,tableId:_0x53582f}=_0x4348a5,_0x3836e=_0x2c1c4f[_0x553938(0x221)](_0x17431a,_0x3ae749[_0x553938(0x2a2)]);if(!_0x3836e)return!0x1;let _0x6b7276=_0x173e8e[_0x553938(0x256)](_0x43f40c),_0x3994cc=_0x173e8e['get'](_0x2d1f6c),_0xd59b9c=_0x3836e[_0x553938(0x364)](),_0x58a4df=new I()[_0x553938(0x2b2)](_0xd59b9c,_0x53582f),_0x3b34a2=new O()[_0x553938(0x3f0)](_0xd59b9c,_0x58a4df),_0xa871fc={'unitId':_0x17431a,'op':_0x58a4df},_0x330b51={'unitId':_0x17431a,'op':_0x3b34a2};return _0x6b7276[_0x553938(0x25c)](q['id'],_0xa871fc)?(_0x2c1c4f[_0x553938(0x37a)](_0x17431a),_0x3994cc[_0x553938(0x1fa)]({'unitID':_0x17431a,'undoMutations':[{'id':q['id'],'params':_0x330b51}],'redoMutations':[{'id':q['id'],'params':_0xa871fc}]}),!0x0):!0x1;}},cr={'id':_0x46d2a0(0x39c),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x1fc894,_0x3e8590)=>{const _0x2a713b=_0x46d2a0;if(!_0x3e8590)return!0x1;let _0x5ae5d3=_0x1fc894['get'](_0x569efc),{unitId:_0x173017,tableId:_0x5f2b5e,viewId:_0x32f918}=_0x3e8590,_0x4e4afb=_0x5ae5d3[_0x2a713b(0x221)](_0x173017,_0x3ae749[_0x2a713b(0x2a2)]);if(!_0x4e4afb)return!0x1;let _0xe68515=_0x1fc894[_0x2a713b(0x256)](_0x43f40c),_0x2c7019=_0x1fc894[_0x2a713b(0x256)](_0x2d1f6c),_0x29f1a4=_0x4e4afb[_0x2a713b(0x364)](),_0x279a52=new I()['deleteView'](_0x29f1a4,_0x5f2b5e,_0x32f918),_0x2bc846=new O()[_0x2a713b(0x3f0)](_0x29f1a4,_0x279a52),_0x5c9ebc={'unitId':_0x173017,'op':_0x279a52},_0x5ddc9b={'unitId':_0x173017,'op':_0x2bc846};return _0xe68515['syncExecuteCommand'](q['id'],_0x5c9ebc)?(_0x5ae5d3[_0x2a713b(0x37a)](_0x173017),_0x2c7019[_0x2a713b(0x1fa)]({'unitID':_0x173017,'undoMutations':[{'id':q['id'],'params':_0x5ddc9b}],'redoMutations':[{'id':q['id'],'params':_0x5c9ebc}]}),!0x0):!0x1;}},lr={'id':_0x46d2a0(0x386),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x4d4bf4,_0x2648f5)=>{const _0x5b11ad=_0x46d2a0;if(!_0x2648f5)return!0x1;let _0x43528b=_0x4d4bf4[_0x5b11ad(0x256)](_0x569efc),{unitId:_0x4f7dd1,tableId:_0x8897c2,sourceFieldId:_0x3582bf,field:_0x55768c,index:_0x230e42,viewIndexes:_0x20b7d0}=_0x2648f5,_0x525846=_0x43528b['getUnit'](_0x4f7dd1,_0x3ae749[_0x5b11ad(0x2a2)]);if(!_0x525846)return!0x1;let _0x26a7d9=_0x4d4bf4[_0x5b11ad(0x256)](_0x43f40c),_0x22e7d9=_0x4d4bf4[_0x5b11ad(0x256)](_0x2d1f6c),_0x388063=_0x525846['getSnapshot'](),_0x24b340=new I()['duplicateField'](_0x388063,_0x8897c2,_0x3582bf,{'field':_0x55768c,'index':_0x230e42,'viewIndexes':_0x20b7d0}),_0x220e41=new O()[_0x5b11ad(0x3f0)](_0x388063,_0x24b340),_0x133037={'unitId':_0x4f7dd1,'op':_0x24b340},_0x1ffaba={'unitId':_0x4f7dd1,'op':_0x220e41};return _0x26a7d9[_0x5b11ad(0x25c)](q['id'],_0x133037)?(_0x43528b[_0x5b11ad(0x37a)](_0x4f7dd1),_0x22e7d9[_0x5b11ad(0x1fa)]({'unitID':_0x4f7dd1,'undoMutations':[{'id':q['id'],'params':_0x1ffaba}],'redoMutations':[{'id':q['id'],'params':_0x133037}]}),!0x0):!0x1;}},ur={'id':_0x46d2a0(0x276),'type':_0x5de53d['COMMAND'],'handler':(_0x20c388,_0x46aee7)=>{const _0x21d78e=_0x46d2a0;if(!_0x46aee7)return!0x1;let _0x191a0f=_0x20c388[_0x21d78e(0x256)](_0x569efc),{unitId:_0x56ad6e,tableId:_0x1fd888,sourceRecordId:_0x25eece,record:_0x1aa2a7}=_0x46aee7,_0x41da0c=_0x191a0f[_0x21d78e(0x221)](_0x56ad6e,_0x3ae749['UNIVER_BASE']);if(!_0x41da0c)return!0x1;let _0x3287af=_0x20c388[_0x21d78e(0x256)](_0x43f40c),_0x22f2af=_0x20c388[_0x21d78e(0x256)](_0x2d1f6c),_0x24d592=_0x41da0c[_0x21d78e(0x364)](),_0x32f3ca=new I()[_0x21d78e(0x170)](_0x24d592,_0x1fd888,_0x25eece,_0x1aa2a7),_0x2efb9=new O()['invertOp'](_0x24d592,_0x32f3ca),_0x4c458f={'unitId':_0x56ad6e,'op':_0x32f3ca},_0x246d63={'unitId':_0x56ad6e,'op':_0x2efb9};return _0x3287af['syncExecuteCommand'](q['id'],_0x4c458f)?(_0x191a0f[_0x21d78e(0x37a)](_0x56ad6e),_0x22f2af[_0x21d78e(0x1fa)]({'unitID':_0x56ad6e,'undoMutations':[{'id':q['id'],'params':_0x246d63}],'redoMutations':[{'id':q['id'],'params':_0x4c458f}]}),!0x0):!0x1;}},dr={'id':_0x46d2a0(0x344),'type':_0x5de53d['COMMAND'],'handler'(_0x15b43d,_0x379995){const _0x557176=_0x46d2a0;if(!_0x379995)return!0x1;let _0x8809d0=_0x15b43d[_0x557176(0x256)](_0x569efc),{unitId:_0x397b3d,tableId:_0x49da9d,viewId:_0x2ebe67,ensureEndDateField:_0x4c31a9}=_0x379995,_0x2c925b=_0x8809d0['getUnit'](_0x397b3d,_0x3ae749[_0x557176(0x2a2)]);if(!_0x2c925b)return!0x1;let _0x35f56b=_0x2c925b['getSnapshot'](),_0x2f8b3e=_0x35f56b[_0x557176(0x201)][_0x49da9d],_0x508edb=_0x2f8b3e==null?void 0x0:_0x2f8b3e['views'][_0x2ebe67];if(!_0x2f8b3e||!_0x508edb||_0x508edb[_0x557176(0x3a4)]||_0x508edb[_0x557176(0x1c2)]!==_0x557176(0x2c0)&&_0x508edb[_0x557176(0x1c2)]!==_0x557176(0x2b6))return!0x1;let _0x12a433=Yn(_0x2f8b3e,_0x508edb,_0x4c31a9===!0x0);if(!_0x12a433[_0x557176(0x2df)])return!0x1;let _0x1694b3=_0x15b43d[_0x557176(0x256)](_0x43f40c),_0xf3825=_0x15b43d[_0x557176(0x256)](_0x2d1f6c),_0x4efb76=new I(),_0x178ac6=[..._0x12a433[_0x557176(0x263)]['map'](_0x4613d8=>_0x4efb76[_0x557176(0x32c)](_0x35f56b,_0x379995[_0x557176(0x1e5)],{'field':_0x4613d8})),fr([...pr(_0x379995[_0x557176(0x1e5)],_0x379995[_0x557176(0x155)]),_0x557176(0x2d2)],_0x508edb['config'],_0x12a433[_0x557176(0x2d2)])];_0x12a433[_0x557176(0x31e)]&&_0x178ac6[_0x557176(0x31f)](fr([...pr(_0x379995['tableId'],_0x379995[_0x557176(0x155)]),'fieldOrder'],_0x508edb['fieldOrder'],_0x12a433['fieldOrder']));let _0x5b281d=F(_0x178ac6),_0x2dd206=new O()[_0x557176(0x3f0)](_0x35f56b,_0x5b281d),_0x29d11d={'unitId':_0x397b3d,'op':_0x5b281d},_0x200396={'unitId':_0x397b3d,'op':_0x2dd206};return _0x1694b3[_0x557176(0x25c)](q['id'],_0x29d11d)?(_0x8809d0['focusUnit'](_0x397b3d),_0xf3825[_0x557176(0x1fa)]({'unitID':_0x397b3d,'undoMutations':[{'id':q['id'],'params':_0x200396}],'redoMutations':[{'id':q['id'],'params':_0x29d11d}]}),!0x0):!0x1;}};function fr(_0x47abce,_0x5edbe5,_0x387b30){const _0xe769a3=_0x46d2a0;return _0x5edbe5===void 0x0?_0x58ebbb[_0xe769a3(0x23f)](_0x47abce,_0x387b30):_0x58ebbb['replaceOp'](_0x47abce,_0x5edbe5,_0x387b30);}function pr(_0x3fad6d,_0x14cd90){const _0x36fef3=_0x46d2a0;return['tables',_0x3fad6d,_0x36fef3(0x1a6),_0x14cd90];}const mr={'id':_0x46d2a0(0x250),'type':_0x5de53d['COMMAND'],'handler':(_0x24b20b,_0x225dd6)=>{const _0x36749f=_0x46d2a0;if(!_0x225dd6)return!0x1;let _0x4fa212=_0x24b20b[_0x36749f(0x256)](_0x569efc),{unitId:_0xa0d614,tableId:_0x2fde68,fieldId:_0x2a7865,target:_0x3167b1}=_0x225dd6,_0x240ef9=_0x4fa212[_0x36749f(0x221)](_0xa0d614,_0x3ae749[_0x36749f(0x2a2)]);if(!_0x240ef9)return!0x1;let _0x2d315b=_0x24b20b['get'](_0x43f40c),_0x45192a=_0x24b20b[_0x36749f(0x256)](_0x2d1f6c),_0x3016d2=_0x240ef9[_0x36749f(0x364)](),_0x51d2b3=new I()[_0x36749f(0x1b3)](_0x3016d2,_0x2fde68,_0x2a7865,_0x3167b1),_0x1cdbca=new O()[_0x36749f(0x3f0)](_0x3016d2,_0x51d2b3),_0x10cc89={'unitId':_0xa0d614,'op':_0x51d2b3},_0x587ca4={'unitId':_0xa0d614,'op':_0x1cdbca};return _0x2d315b[_0x36749f(0x25c)](q['id'],_0x10cc89)?(_0x4fa212['focusUnit'](_0xa0d614),_0x45192a[_0x36749f(0x1fa)]({'unitID':_0xa0d614,'undoMutations':[{'id':q['id'],'params':_0x587ca4}],'redoMutations':[{'id':q['id'],'params':_0x10cc89}]}),!0x0):!0x1;}},hr={'id':_0x46d2a0(0x271),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x414d1d,_0x215121)=>{const _0xd6f568=_0x46d2a0;if(!_0x215121)return!0x1;let _0x38a52d=_0x414d1d[_0xd6f568(0x256)](_0x569efc),{unitId:_0x235be1,tableId:_0x50ef4f,viewId:_0x17fc2d,target:_0x28797f}=_0x215121,_0x550e92=_0x38a52d[_0xd6f568(0x221)](_0x235be1,_0x3ae749[_0xd6f568(0x2a2)]);if(!_0x550e92)return!0x1;let _0x592254=_0x414d1d[_0xd6f568(0x256)](_0x43f40c),_0x1bae58=_0x414d1d[_0xd6f568(0x256)](_0x2d1f6c),_0x187e22=_0x550e92['getSnapshot'](),_0x4180bd=new I()[_0xd6f568(0x1ce)](_0x187e22,_0x50ef4f,_0x17fc2d,_0x28797f),_0x5d9e13=new O()['invertOp'](_0x187e22,_0x4180bd),_0x3dd9ec={'unitId':_0x235be1,'op':_0x4180bd},_0x627626={'unitId':_0x235be1,'op':_0x5d9e13};return _0x592254[_0xd6f568(0x25c)](q['id'],_0x3dd9ec)?(_0x38a52d[_0xd6f568(0x37a)](_0x235be1),_0x1bae58[_0xd6f568(0x1fa)]({'unitID':_0x235be1,'undoMutations':[{'id':q['id'],'params':_0x627626}],'redoMutations':[{'id':q['id'],'params':_0x3dd9ec}]}),!0x0):!0x1;}},gr={'id':_0x46d2a0(0x332),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x1115c1,_0x3be1ae)=>{const _0x3fdeb3=_0x46d2a0;if(!_0x3be1ae)return!0x1;let _0xc08d27=_0x1115c1[_0x3fdeb3(0x256)](_0x569efc),{unitId:_0x3722d5,tableId:_0x55f112,name:_0x3101df}=_0x3be1ae,_0x45ef6a=_0xc08d27[_0x3fdeb3(0x221)](_0x3722d5,_0x3ae749['UNIVER_BASE']);if(!_0x45ef6a)return!0x1;let _0xf7afc4=_0x1115c1[_0x3fdeb3(0x256)](_0x43f40c),_0x106cd0=_0x1115c1[_0x3fdeb3(0x256)](_0x2d1f6c),_0x2dbfea=_0x45ef6a[_0x3fdeb3(0x364)](),_0x4b7490=new I()[_0x3fdeb3(0x3b0)](_0x2dbfea,_0x55f112,_0x3101df),_0x4949a7=new O()[_0x3fdeb3(0x3f0)](_0x2dbfea,_0x4b7490),_0x37dcdd={'unitId':_0x3722d5,'op':_0x4b7490},_0x4d5e2b={'unitId':_0x3722d5,'op':_0x4949a7};return _0xf7afc4[_0x3fdeb3(0x25c)](q['id'],_0x37dcdd)?(_0xc08d27[_0x3fdeb3(0x37a)](_0x3722d5),_0x106cd0[_0x3fdeb3(0x1fa)]({'unitID':_0x3722d5,'undoMutations':[{'id':q['id'],'params':_0x4d5e2b}],'redoMutations':[{'id':q['id'],'params':_0x37dcdd}]}),!0x0):!0x1;}},_r={'id':_0x46d2a0(0x2d5),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x4f31e7,_0x404be7)=>{const _0x88c517=_0x46d2a0;if(!_0x404be7)return!0x1;let _0x52ec28=_0x4f31e7[_0x88c517(0x256)](_0x569efc),{unitId:_0x413fc7,tableId:_0x203fed,viewId:_0x4310cc,name:_0x5ab810}=_0x404be7,_0x2abb25=_0x52ec28[_0x88c517(0x221)](_0x413fc7,_0x3ae749[_0x88c517(0x2a2)]);if(!_0x2abb25)return!0x1;let _0x4e5af8=_0x4f31e7[_0x88c517(0x256)](_0x43f40c),_0x1812f3=_0x4f31e7[_0x88c517(0x256)](_0x2d1f6c),_0x5e9aad=_0x2abb25['getSnapshot'](),_0xc5014=new I()[_0x88c517(0x3c4)](_0x5e9aad,_0x203fed,_0x4310cc,_0x5ab810),_0x3bdd04=new O()[_0x88c517(0x3f0)](_0x5e9aad,_0xc5014),_0x4257c5={'unitId':_0x413fc7,'op':_0xc5014},_0x178a68={'unitId':_0x413fc7,'op':_0x3bdd04};return _0x4e5af8[_0x88c517(0x25c)](q['id'],_0x4257c5)?(_0x52ec28[_0x88c517(0x37a)](_0x413fc7),_0x1812f3['pushUndoRedo']({'unitID':_0x413fc7,'undoMutations':[{'id':q['id'],'params':_0x178a68}],'redoMutations':[{'id':q['id'],'params':_0x4257c5}]}),!0x0):!0x1;}},vr={'id':'base.command.set-base-kanban-group-field','type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x2177c0,_0x33f276)=>{const _0xc59ff4=_0x46d2a0;if(!_0x33f276)return!0x1;let _0x37d20f=_0x2177c0[_0xc59ff4(0x256)](_0x569efc),{unitId:_0x6a5b93,tableId:_0x630a4a,viewId:_0x5d47ee,fieldId:_0x1baf7e}=_0x33f276,_0xed90a5=_0x37d20f[_0xc59ff4(0x221)](_0x6a5b93,_0x3ae749[_0xc59ff4(0x2a2)]);if(!_0xed90a5)return!0x1;let _0x4e03b3=_0x2177c0[_0xc59ff4(0x256)](_0x43f40c),_0x205272=_0x2177c0[_0xc59ff4(0x256)](_0x2d1f6c),_0x32668d=_0xed90a5[_0xc59ff4(0x364)](),_0x3daa46=new I()['updateViewConfig'](_0x32668d,_0x630a4a,_0x5d47ee,{'groupFieldId':_0x1baf7e}),_0x29cfe4=new O()[_0xc59ff4(0x3f0)](_0x32668d,_0x3daa46),_0x4a473c={'unitId':_0x6a5b93,'op':_0x3daa46},_0x2066b2={'unitId':_0x6a5b93,'op':_0x29cfe4};return _0x4e03b3[_0xc59ff4(0x25c)](q['id'],_0x4a473c)?(_0x37d20f[_0xc59ff4(0x37a)](_0x6a5b93),_0x205272[_0xc59ff4(0x1fa)]({'unitID':_0x6a5b93,'undoMutations':[{'id':q['id'],'params':_0x2066b2}],'redoMutations':[{'id':q['id'],'params':_0x4a473c}]}),!0x0):!0x1;}},yr={'id':_0x46d2a0(0x2dd),'type':_0x5de53d['COMMAND'],'handler'(_0xd7bfe0,_0x17f2e9){const _0x4f599b=_0x46d2a0;if(!_0x17f2e9)return!0x1;let _0x221ff1=_0xd7bfe0[_0x4f599b(0x256)](_0x569efc),{unitId:_0x2e9f9b,tableId:_0xb72a0d,patches:_0x3fa25b}=_0x17f2e9,_0x2f0737=_0x221ff1[_0x4f599b(0x221)](_0x2e9f9b,_0x3ae749[_0x4f599b(0x2a2)]);if(!_0x2f0737)return!0x1;let _0x6724d3=_0xd7bfe0[_0x4f599b(0x256)](_0x43f40c),_0x284d86=_0xd7bfe0[_0x4f599b(0x256)](_0x2d1f6c),_0x29a10f=_0x2f0737[_0x4f599b(0x364)](),_0x32fc42=C(_0x29a10f[_0x4f599b(0x201)][_0xb72a0d]),_0x5d89cb=_0x3fa25b[_0x4f599b(0x15f)](_0x4afe69=>{const _0x42a4c5=_0x4f599b;var _0x241ab7,_0x17cc8f;if(_0x42a4c5(0x1c7)in _0x4afe69)return[_0x4afe69];let _0x2efbd2=(_0x241ab7=_0x32fc42['rowIndex'])==null?void 0x0:_0x241ab7[_0x4afe69['recordId']],_0x46aaa0=(_0x17cc8f=_0x32fc42['colIndex'])==null?void 0x0:_0x17cc8f[_0x4afe69[_0x42a4c5(0x3ef)]];return _0x2efbd2==null||_0x46aaa0==null?[]:[{'row':_0x2efbd2,'col':_0x46aaa0,'value':_0x4afe69[_0x42a4c5(0x21c)]}];}),_0x26c52d=new I()[_0x4f599b(0x16f)](_0x29a10f,_0xb72a0d,_0x5d89cb),_0x1b037c=new O()[_0x4f599b(0x3f0)](_0x29a10f,_0x26c52d),_0x2725d0={'unitId':_0x2e9f9b,'op':_0x26c52d},_0x2d8fe8={'unitId':_0x2e9f9b,'op':_0x1b037c};return _0x6724d3[_0x4f599b(0x25c)](q['id'],_0x2725d0)?(_0x221ff1[_0x4f599b(0x37a)](_0x2e9f9b),_0x284d86[_0x4f599b(0x1fa)]({'unitID':_0x2e9f9b,'undoMutations':[{'id':q['id'],'params':_0x2d8fe8}],'redoMutations':[{'id':q['id'],'params':_0x2725d0}]}),!0x0):!0x1;}},br={'id':_0x46d2a0(0x1e6),'type':_0x5de53d[_0x46d2a0(0x382)],'handler'(_0x9e1a67,_0x9cb055){const _0x46f2aa=_0x46d2a0;if(!_0x9cb055)return!0x1;let _0x3b89bc=_0x9e1a67[_0x46f2aa(0x256)](_0x569efc),{unitId:_0x26132a,tableId:_0xf07b1a,patches:_0x596ad6}=_0x9cb055,_0x30f886=_0x3b89bc[_0x46f2aa(0x221)](_0x26132a,_0x3ae749[_0x46f2aa(0x2a2)]);if(!_0x30f886)return!0x1;let _0x2a3591=_0x9e1a67[_0x46f2aa(0x256)](_0x43f40c),_0x5ae7e2=_0x9e1a67['get'](_0x2d1f6c),_0x194a22=_0x9e1a67[_0x46f2aa(0x256)](V)[_0x46f2aa(0x2de)](_0x30f886,_0xf07b1a,_0x596ad6),_0x5a87f3=new O()[_0x46f2aa(0x3f0)](_0x30f886[_0x46f2aa(0x364)](),_0x194a22),_0x26c975={'unitId':_0x26132a,'op':_0x194a22},_0x57f24c={'unitId':_0x26132a,'op':_0x5a87f3};return _0x2a3591[_0x46f2aa(0x25c)](q['id'],_0x26c975)?(_0x3b89bc[_0x46f2aa(0x37a)](_0x26132a),_0x5ae7e2[_0x46f2aa(0x1fa)]({'unitID':_0x26132a,'undoMutations':[{'id':q['id'],'params':_0x57f24c}],'redoMutations':[{'id':q['id'],'params':_0x26c975}]}),!0x0):!0x1;}},xr={'id':_0x46d2a0(0x317),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x4c1dfb,_0x38ec25)=>{const _0x1b4d8e=_0x46d2a0;if(!_0x38ec25)return!0x1;let _0x408e64=_0x4c1dfb[_0x1b4d8e(0x256)](_0x569efc),{unitId:_0x401228,tableId:_0x2e3858,viewId:_0x5ae043,fieldId:_0x44bb71,target:_0x2ce66c}=_0x38ec25,_0x5a7c9d=_0x408e64[_0x1b4d8e(0x221)](_0x401228,_0x3ae749[_0x1b4d8e(0x2a2)]);if(!_0x5a7c9d)return!0x1;let _0x35cc0a=_0x4c1dfb[_0x1b4d8e(0x256)](_0x43f40c),_0x479f41=_0x4c1dfb[_0x1b4d8e(0x256)](_0x2d1f6c),_0x384781=_0x5a7c9d[_0x1b4d8e(0x364)](),_0x1d634e=new I()[_0x1b4d8e(0x355)](_0x384781,_0x2e3858,_0x5ae043,_0x44bb71,_0x2ce66c),_0xfb9e7d=new O()[_0x1b4d8e(0x3f0)](_0x384781,_0x1d634e),_0x3e0d9d={'unitId':_0x401228,'op':_0x1d634e},_0x2ff9b4={'unitId':_0x401228,'op':_0xfb9e7d};return _0x35cc0a[_0x1b4d8e(0x25c)](q['id'],_0x3e0d9d)?(_0x408e64[_0x1b4d8e(0x37a)](_0x401228),_0x479f41[_0x1b4d8e(0x1fa)]({'unitID':_0x401228,'undoMutations':[{'id':q['id'],'params':_0x2ff9b4}],'redoMutations':[{'id':q['id'],'params':_0x3e0d9d}]}),!0x0):!0x1;}},Sr={'id':_0x46d2a0(0x174),'type':_0x5de53d['COMMAND'],'handler'(_0x28e1b4,_0x93b2bd){const _0x522313=_0x46d2a0;if(!_0x93b2bd)return!0x1;let _0x33624f=_0x28e1b4[_0x522313(0x256)](_0x569efc),{unitId:_0x1a2362,tableId:_0x2aa594,viewId:_0xf0c778,fieldId:_0x47f968,visible:_0x37d268}=_0x93b2bd,_0x122550=_0x33624f[_0x522313(0x221)](_0x1a2362,_0x3ae749['UNIVER_BASE']);if(!_0x122550)return!0x1;let _0x36d966=_0x28e1b4[_0x522313(0x256)](_0x43f40c),_0x15067e=_0x28e1b4[_0x522313(0x256)](_0x2d1f6c),_0x48e5fe=_0x122550[_0x522313(0x364)](),_0x35b4d6=new I()[_0x522313(0x2ff)](_0x48e5fe,_0x2aa594,_0xf0c778,_0x47f968,_0x37d268),_0x3b91e7=new O()['invertOp'](_0x48e5fe,_0x35b4d6),_0x32d2d5={'unitId':_0x1a2362,'op':_0x35b4d6},_0x250e8d={'unitId':_0x1a2362,'op':_0x3b91e7};return _0x36d966[_0x522313(0x25c)](q['id'],_0x32d2d5)?(_0x33624f[_0x522313(0x37a)](_0x1a2362),_0x15067e['pushUndoRedo']({'unitID':_0x1a2362,'undoMutations':[{'id':q['id'],'params':_0x250e8d}],'redoMutations':[{'id':q['id'],'params':_0x32d2d5}]}),!0x0):!0x1;}},Cr={'id':_0x46d2a0(0x1aa),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x37c439,_0x2152b2)=>{const _0x530f01=_0x46d2a0;if(!_0x2152b2)return!0x1;let _0x1f660f=_0x37c439[_0x530f01(0x256)](_0x569efc),{unitId:_0x2a4f4c,tableId:_0x27f672,viewId:_0x4623e2,fieldId:_0x4d25e7,width:_0xb0437c}=_0x2152b2,_0x5ea143=_0x1f660f[_0x530f01(0x221)](_0x2a4f4c,_0x3ae749[_0x530f01(0x2a2)]);if(!_0x5ea143)return!0x1;let _0x247890=_0x37c439[_0x530f01(0x256)](_0x43f40c),_0x5449fd=_0x37c439[_0x530f01(0x256)](_0x2d1f6c),_0x14a07e=_0x5ea143[_0x530f01(0x364)](),_0x532e2e=new I()[_0x530f01(0x2fc)](_0x14a07e,_0x27f672,_0x4623e2,_0x4d25e7,_0xb0437c),_0x1f9047=new O()['invertOp'](_0x14a07e,_0x532e2e),_0x99d581={'unitId':_0x2a4f4c,'op':_0x532e2e},_0x174e7f={'unitId':_0x2a4f4c,'op':_0x1f9047};return _0x247890['syncExecuteCommand'](q['id'],_0x99d581)?(_0x1f660f[_0x530f01(0x37a)](_0x2a4f4c),_0x5449fd[_0x530f01(0x1fa)]({'unitID':_0x2a4f4c,'undoMutations':[{'id':q['id'],'params':_0x174e7f}],'redoMutations':[{'id':q['id'],'params':_0x99d581}]}),!0x0):!0x1;}},wr={'id':_0x46d2a0(0x268),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x46666f,_0x56d30d)=>{const _0x3e74f7=_0x46d2a0;if(!_0x56d30d)return!0x1;let _0x565314=_0x46666f[_0x3e74f7(0x256)](_0x569efc),{unitId:_0x57a676,tableId:_0x26d2bf,viewId:_0x302856,filter:_0x50536b}=_0x56d30d,_0x594a6a=_0x565314[_0x3e74f7(0x221)](_0x57a676,_0x3ae749[_0x3e74f7(0x2a2)]);if(!_0x594a6a)return!0x1;let _0x20346b=_0x46666f[_0x3e74f7(0x256)](_0x43f40c),_0x13cc5b=_0x46666f['get'](_0x2d1f6c),_0x491580=_0x594a6a[_0x3e74f7(0x364)](),_0x46ac09=new I()[_0x3e74f7(0x38a)](_0x491580,_0x26d2bf,_0x302856,_0x50536b),_0x1a9038=new O()[_0x3e74f7(0x3f0)](_0x491580,_0x46ac09),_0x452acd={'unitId':_0x57a676,'op':_0x46ac09},_0x234c54={'unitId':_0x57a676,'op':_0x1a9038};return _0x20346b['syncExecuteCommand'](q['id'],_0x452acd)?(_0x565314[_0x3e74f7(0x37a)](_0x57a676),_0x13cc5b['pushUndoRedo']({'unitID':_0x57a676,'undoMutations':[{'id':q['id'],'params':_0x234c54}],'redoMutations':[{'id':q['id'],'params':_0x452acd}]}),!0x0):!0x1;}},Tr={'id':'base.command.set-base-view-group','type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x4f63ce,_0x46a612)=>{const _0xfbd784=_0x46d2a0;if(!_0x46a612)return!0x1;let _0x2f848b=_0x4f63ce[_0xfbd784(0x256)](_0x569efc),{unitId:_0x416a2c,tableId:_0xc75788,viewId:_0x3b6555,group:_0x1dc1a3}=_0x46a612,_0x57c428=_0x2f848b['getUnit'](_0x416a2c,_0x3ae749[_0xfbd784(0x2a2)]);if(!_0x57c428)return!0x1;let _0x4b3aab=_0x4f63ce[_0xfbd784(0x256)](_0x43f40c),_0x5b7bb1=_0x4f63ce[_0xfbd784(0x256)](_0x2d1f6c),_0x48784a=_0x57c428[_0xfbd784(0x364)](),_0xe562d3=new I()[_0xfbd784(0x359)](_0x48784a,_0xc75788,_0x3b6555,_0x1dc1a3),_0x5819a9=new O()[_0xfbd784(0x3f0)](_0x48784a,_0xe562d3),_0x3b8f65={'unitId':_0x416a2c,'op':_0xe562d3},_0x120422={'unitId':_0x416a2c,'op':_0x5819a9};return _0x4b3aab[_0xfbd784(0x25c)](q['id'],_0x3b8f65)?(_0x2f848b['focusUnit'](_0x416a2c),_0x5b7bb1[_0xfbd784(0x1fa)]({'unitID':_0x416a2c,'undoMutations':[{'id':q['id'],'params':_0x120422}],'redoMutations':[{'id':q['id'],'params':_0x3b8f65}]}),!0x0):!0x1;}},Er={'id':_0x46d2a0(0x2ba),'type':_0x5de53d['COMMAND'],'handler':(_0x1fc43e,_0x2c9de8)=>{const _0x226af9=_0x46d2a0;if(!_0x2c9de8)return!0x1;let _0x8a7317=_0x1fc43e[_0x226af9(0x256)](_0x569efc),{unitId:_0x5e2bb3,tableId:_0x19e144,viewId:_0x3466ae,sort:_0x3cfc5d}=_0x2c9de8,_0x5c70d8=_0x8a7317[_0x226af9(0x221)](_0x5e2bb3,_0x3ae749['UNIVER_BASE']);if(!_0x5c70d8)return!0x1;let _0x2c8ba7=_0x1fc43e['get'](_0x43f40c),_0xb4f52d=_0x1fc43e[_0x226af9(0x256)](_0x2d1f6c),_0x3befc1=_0x5c70d8['getSnapshot'](),_0x5a41c3=new I()[_0x226af9(0x189)](_0x3befc1,_0x19e144,_0x3466ae,_0x3cfc5d),_0x17beb3=new O()[_0x226af9(0x3f0)](_0x3befc1,_0x5a41c3),_0x2d2286={'unitId':_0x5e2bb3,'op':_0x5a41c3},_0x29005e={'unitId':_0x5e2bb3,'op':_0x17beb3};return _0x2c8ba7[_0x226af9(0x25c)](q['id'],_0x2d2286)?(_0x8a7317[_0x226af9(0x37a)](_0x5e2bb3),_0xb4f52d[_0x226af9(0x1fa)]({'unitID':_0x5e2bb3,'undoMutations':[{'id':q['id'],'params':_0x29005e}],'redoMutations':[{'id':q['id'],'params':_0x2d2286}]}),!0x0):!0x1;}},Dr={'id':_0x46d2a0(0x2f4),'type':_0x5de53d[_0x46d2a0(0x382)],'handler'(_0x1f873e,_0x58ab3c){const _0x2ed73e=_0x46d2a0;if(!_0x58ab3c)return!0x1;let _0x1c931c=_0x1f873e[_0x2ed73e(0x256)](_0x569efc),{unitId:_0x12b371,tableId:_0x3f2bb0,recordId:_0x1c6b33,fieldId:_0x26cea3,value:_0xba3fc5}=_0x58ab3c,_0x7230d=_0x1c931c[_0x2ed73e(0x221)](_0x12b371,_0x3ae749[_0x2ed73e(0x2a2)]);if(!_0x7230d)return!0x1;let _0x275a49=_0x1f873e[_0x2ed73e(0x256)](_0x43f40c),_0x464d3c=_0x1f873e[_0x2ed73e(0x256)](_0x2d1f6c),_0x1134b4=_0x1f873e[_0x2ed73e(0x256)](V),_0x3d2599;try{_0x3d2599=_0x1134b4[_0x2ed73e(0x245)](_0x7230d,_0x3f2bb0,_0x1c6b33,_0x26cea3,_0xba3fc5);}catch(_0x2431a5){return console['error']('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x2431a5),!0x1;}let _0x5e69ce=new O()[_0x2ed73e(0x3f0)](_0x7230d[_0x2ed73e(0x364)](),_0x3d2599),_0x5dcb73={'unitId':_0x12b371,'op':_0x3d2599},_0x54a659={'unitId':_0x12b371,'op':_0x5e69ce};return _0x275a49[_0x2ed73e(0x25c)](q['id'],_0x5dcb73)?(_0x1c931c[_0x2ed73e(0x37a)](_0x12b371),_0x464d3c[_0x2ed73e(0x1fa)]({'unitID':_0x12b371,'undoMutations':[{'id':q['id'],'params':_0x54a659}],'redoMutations':[{'id':q['id'],'params':_0x5dcb73}]}),!0x0):!0x1;}},Or={'id':_0x46d2a0(0x301),'type':_0x5de53d[_0x46d2a0(0x382)],'handler'(_0xebaa25,_0x3c0a56){const _0x5ec360=_0x46d2a0;if(!_0x3c0a56)return!0x1;let _0x5afa2f=_0xebaa25['get'](_0x569efc),{unitId:_0xf77c82,tableId:_0x3d6742,fieldId:_0x587024}=_0x3c0a56,_0x48623a=_0x5afa2f['getUnit'](_0xf77c82,_0x3ae749[_0x5ec360(0x2a2)]);if(!_0x48623a)return!0x1;let _0x29e142=_0xebaa25[_0x5ec360(0x256)](_0x43f40c),_0xdc994d=_0xebaa25[_0x5ec360(0x256)](_0x2d1f6c),_0x4cf1d6=_0x48623a[_0x5ec360(0x364)](),_0x48d46d=_0x3c0a56['description'][_0x5ec360(0x2af)](),_0x2d345c=new I()[_0x5ec360(0x36b)](_0x4cf1d6,_0x3d6742,_0x587024,{'description':_0x48d46d}),_0x5ec24d=new O()['invertOp'](_0x48623a['getSnapshot'](),_0x2d345c),_0x13e781={'unitId':_0xf77c82,'op':_0x2d345c},_0x59a2ca={'unitId':_0xf77c82,'op':_0x5ec24d};return _0x29e142[_0x5ec360(0x25c)](q['id'],_0x13e781)?(_0x5afa2f[_0x5ec360(0x37a)](_0xf77c82),_0xdc994d['pushUndoRedo']({'unitID':_0xf77c82,'undoMutations':[{'id':q['id'],'params':_0x59a2ca}],'redoMutations':[{'id':q['id'],'params':_0x13e781}]}),!0x0):!0x1;}},kr={'id':_0x46d2a0(0x1c8),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x15eb7d,_0x271bb2)=>{const _0xae5ab0=_0x46d2a0;if(!_0x271bb2)return!0x1;let _0x18aa08=_0x15eb7d[_0xae5ab0(0x256)](_0x569efc),{unitId:_0x1b535b,tableId:_0x52c466,fieldId:_0x2ed76c,patch:_0x1739b9}=_0x271bb2,_0x265f68=_0x18aa08[_0xae5ab0(0x221)](_0x1b535b,_0x3ae749[_0xae5ab0(0x2a2)]);if(!_0x265f68)return!0x1;let _0x2992a0=_0x15eb7d[_0xae5ab0(0x256)](_0x43f40c),_0x535c83=_0x15eb7d[_0xae5ab0(0x256)](_0x2d1f6c),_0x2f9506=_0x265f68[_0xae5ab0(0x364)](),_0x50ea30=new I()[_0xae5ab0(0x36b)](_0x2f9506,_0x52c466,_0x2ed76c,_0x1739b9),_0x2f4cf1=new O()[_0xae5ab0(0x3f0)](_0x2f9506,_0x50ea30),_0x17c95e={'unitId':_0x1b535b,'op':_0x50ea30},_0x46f7f4={'unitId':_0x1b535b,'op':_0x2f4cf1};return _0x2992a0['syncExecuteCommand'](q['id'],_0x17c95e)?(_0x18aa08[_0xae5ab0(0x37a)](_0x1b535b),_0x535c83[_0xae5ab0(0x1fa)]({'unitID':_0x1b535b,'undoMutations':[{'id':q['id'],'params':_0x46f7f4}],'redoMutations':[{'id':q['id'],'params':_0x17c95e}]}),!0x0):!0x1;}},Ar={'id':_0x46d2a0(0x269),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x5f4c3f,_0x198aad)=>{const _0x4f21b4=_0x46d2a0;if(!_0x198aad)return!0x1;let _0x4aff39=_0x5f4c3f[_0x4f21b4(0x256)](_0x569efc),{unitId:_0x3aa929,tableId:_0x17a4d2,viewId:_0x4bfc18,patch:_0x5db145}=_0x198aad,_0xf38af6=_0x4aff39[_0x4f21b4(0x221)](_0x3aa929,_0x3ae749[_0x4f21b4(0x2a2)]);if(!_0xf38af6)return!0x1;let _0x25c953=_0x5f4c3f[_0x4f21b4(0x256)](_0x43f40c),_0x43e22d=_0x5f4c3f[_0x4f21b4(0x256)](_0x2d1f6c),_0x549c16=_0xf38af6['getSnapshot'](),_0x137de3=new I()[_0x4f21b4(0x3b4)](_0x549c16,_0x17a4d2,_0x4bfc18,_0x5db145),_0x4ba7b2=new O()[_0x4f21b4(0x3f0)](_0x549c16,_0x137de3),_0x3e7ab2={'unitId':_0x3aa929,'op':_0x137de3},_0x1d0573={'unitId':_0x3aa929,'op':_0x4ba7b2};return _0x25c953[_0x4f21b4(0x25c)](q['id'],_0x3e7ab2)?(_0x4aff39[_0x4f21b4(0x37a)](_0x3aa929),_0x43e22d[_0x4f21b4(0x1fa)]({'unitID':_0x3aa929,'undoMutations':[{'id':q['id'],'params':_0x1d0573}],'redoMutations':[{'id':q['id'],'params':_0x3e7ab2}]}),!0x0):!0x1;}},jr={'id':_0x46d2a0(0x278),'type':_0x5de53d[_0x46d2a0(0x382)],'handler':(_0x36c705,_0x4e9a49)=>{const _0x4db5d0=_0x46d2a0;if(!_0x4e9a49)return!0x1;let _0x26c00c=_0x36c705['get'](_0x569efc),{unitId:_0x13e5a1,tableId:_0x2dd269,recordId:_0xf43530,orderKey:_0x3bd81d}=_0x4e9a49,_0x18440a=_0x26c00c[_0x4db5d0(0x221)](_0x13e5a1,_0x3ae749['UNIVER_BASE']);if(!_0x18440a)return!0x1;let _0xd0e7a1=_0x36c705[_0x4db5d0(0x256)](_0x43f40c),_0x5d2b29=_0x36c705[_0x4db5d0(0x256)](_0x2d1f6c),_0x513773=_0x18440a[_0x4db5d0(0x364)](),_0x2efed2=new I()[_0x4db5d0(0x2c1)](_0x513773,_0x2dd269,_0xf43530,_0x3bd81d),_0x31f895=new O()[_0x4db5d0(0x3f0)](_0x513773,_0x2efed2),_0x1ef50c={'unitId':_0x13e5a1,'op':_0x2efed2},_0xfc4365={'unitId':_0x13e5a1,'op':_0x31f895};return _0xd0e7a1[_0x4db5d0(0x25c)](q['id'],_0x1ef50c)?(_0x26c00c[_0x4db5d0(0x37a)](_0x13e5a1),_0x5d2b29['pushUndoRedo']({'unitID':_0x13e5a1,'undoMutations':[{'id':q['id'],'params':_0xfc4365}],'redoMutations':[{'id':q['id'],'params':_0x1ef50c}]}),!0x0):!0x1;}},Mr={'id':_0x46d2a0(0x311),'type':_0x5de53d['COMMAND'],'handler':(_0x4653bd,_0x12983a)=>{const _0x5725da=_0x46d2a0;if(!_0x12983a)return!0x1;let _0x1c94c5=_0x4653bd[_0x5725da(0x256)](_0x569efc),{unitId:_0xf36483,tableId:_0x463ca7,viewId:_0x5ea8d0,patch:_0x3c4a05}=_0x12983a,_0x290e7c=_0x1c94c5['getUnit'](_0xf36483,_0x3ae749[_0x5725da(0x2a2)]);if(!_0x290e7c)return!0x1;let _0x1955d8=_0x4653bd['get'](_0x43f40c),_0x40e896=_0x4653bd['get'](_0x2d1f6c),_0x2f1c4c=_0x290e7c[_0x5725da(0x364)](),_0x2afdf9=new I()[_0x5725da(0x3b4)](_0x2f1c4c,_0x463ca7,_0x5ea8d0,_0x3c4a05),_0x4bbcd8=new O()['invertOp'](_0x2f1c4c,_0x2afdf9),_0x503cf8={'unitId':_0xf36483,'op':_0x2afdf9},_0x3f4321={'unitId':_0xf36483,'op':_0x4bbcd8};return _0x1955d8['syncExecuteCommand'](q['id'],_0x503cf8)?(_0x1c94c5['focusUnit'](_0xf36483),_0x40e896[_0x5725da(0x1fa)]({'unitID':_0xf36483,'undoMutations':[{'id':q['id'],'params':_0x3f4321}],'redoMutations':[{'id':q['id'],'params':_0x503cf8}]}),!0x0):!0x1;}};function J(_0x5313dc){const _0x4b6a45=_0x46d2a0;return new O()[_0x4b6a45(0x25f)](_0x5313dc);}function Nr(_0x222cfe){const _0x4a16ce=_0x46d2a0;return _0x222cfe[_0x4a16ce(0x249)][_0x4a16ce(0x3e2)](_0x31af74=>({'unitId':_0x222cfe[_0x4a16ce(0x2e4)],'sheetId':_0x222cfe[_0x4a16ce(0x1e5)],'range':{'startRow':_0x31af74[_0x4a16ce(0x1c7)],'endRow':_0x31af74[_0x4a16ce(0x1c7)],'startColumn':_0x31af74['col'],'endColumn':_0x31af74[_0x4a16ce(0x329)]}}));}function Pr(_0x513e86,_0x600b63){const _0x546f54=_0x46d2a0;return{[_0x513e86]:Object[_0x546f54(0x3ed)](_0x600b63[_0x546f54(0x3e2)](_0x36a3d9=>[_0x36a3d9,'1']))};}let Y=class extends _0x4b1be4{constructor(_0x572df6,_0x2fe1fa){const _0x486c87=_0x46d2a0;super(),this[_0x486c87(0x1ea)]=_0x572df6,this[_0x486c87(0x204)]=_0x2fe1fa,this[_0x486c87(0x37c)]();}[_0x46d2a0(0x37c)](){const _0x19f8d4=_0x46d2a0;let _0x46b45b=this[_0x19f8d4(0x202)]();_0x46b45b&&(_0x46b45b[_0x19f8d4(0x2c9)](q['id'],{'commandId':q['id'],'getDirtyData':_0x1ba94a=>this['_getJson1DirtyData'](_0x1ba94a['params'])}),this['disposeWithMe'](_0x30fdc4(()=>{const _0x54c8c5=_0x19f8d4;_0x46b45b[_0x54c8c5(0x326)](q['id']);})));}['_getActiveDirtyManagerService'](){const _0x2ad35a=_0x46d2a0;try{return this[_0x2ad35a(0x1ea)][_0x2ad35a(0x256)](_0x4b180e);}catch{return null;}}[_0x46d2a0(0x266)](_0x11ec2e,_0xa01986){const _0x2179de=_0x46d2a0;var _0x128fe7;let _0x8591b2=this['_univerInstanceService']['getUnit'](_0x11ec2e,_0x3ae749[_0x2179de(0x2a2)]);return(_0x128fe7=_0x8591b2==null?void 0x0:_0x8591b2[_0x2179de(0x364)]()[_0x2179de(0x201)][_0xa01986])==null?null:_0x128fe7;}[_0x46d2a0(0x15e)](_0x588923){const _0xc5608f=_0x46d2a0;if(_0x588923['trigger']===_0xc5608f(0x1ee))return{};if(!_0x588923['unitId']||!_0x588923['op']){let _0x27cffb=this['_getAllBaseDirtySuperTableMap']();return{'dirtySuperTableMap':_0x27cffb,'clearDependencyTreeCache':_0x27cffb};}let _0x5d833a=J(_0x588923['op']),_0x9688aa=this[_0xc5608f(0x39b)](_0x588923[_0xc5608f(0x2e4)],_0x5d833a);if(_0x9688aa[_0xc5608f(0x1f9)])return{'dirtySuperTableMap':this[_0xc5608f(0x3bc)](_0x588923[_0xc5608f(0x2e4)],_0x9688aa),'clearDependencyTreeCache':this['_getDirtySuperTableMap'](_0x588923[_0xc5608f(0x2e4)],_0x9688aa)};let _0x14aa32=Object[_0xc5608f(0x384)](this[_0xc5608f(0x197)](_0x588923[_0xc5608f(0x2e4)],_0x5d833a))[_0xc5608f(0x15f)](([_0x3eddf4,_0x9197cd])=>Nr({'unitId':_0x588923[_0xc5608f(0x2e4)],'tableId':_0x3eddf4,'patches':_0x9197cd}));return _0x14aa32[_0xc5608f(0x1f9)]?{'dirtyRanges':_0x14aa32}:{};}[_0x46d2a0(0x39b)](_0x4e90a3,_0x30dc7a){const _0x51ac14=_0x46d2a0;let _0x2624f8=_0x30dc7a['filter'](_0x34e4fd=>_0x34e4fd[_0x51ac14(0x399)]!==_0x51ac14(0x395))[_0x51ac14(0x15f)](_0x3f779f=>_0x3f779f['tableId']?[_0x3f779f[_0x51ac14(0x1e5)]]:this[_0x51ac14(0x1d6)](_0x4e90a3));return Array['from'](new Set(_0x2624f8));}[_0x46d2a0(0x197)](_0x44b701,_0x30137d){let _0x12dcde=new Set();return _0x30137d['reduce']((_0x260a3e,_0x28c966)=>{const _0x135d96=_0x2d01;var _0x111389;let _0x9c9066=this[_0x135d96(0x2e1)](_0x44b701,_0x28c966);if(!_0x9c9066)return _0x260a3e;let _0x1033e4=_0x28c966['tableId']+':'+_0x9c9066[_0x135d96(0x1c7)]+':'+_0x9c9066[_0x135d96(0x329)];return _0x12dcde[_0x135d96(0x3a9)](_0x1033e4)?_0x260a3e:(_0x12dcde[_0x135d96(0x176)](_0x1033e4),_0x260a3e[_0x28c966[_0x135d96(0x1e5)]]=(_0x111389=_0x260a3e[_0x28c966[_0x135d96(0x1e5)]])==null?[]:_0x111389,_0x260a3e[_0x28c966[_0x135d96(0x1e5)]]['push'](_0x9c9066),_0x260a3e);},{});}[_0x46d2a0(0x2e1)](_0x2a27d8,_0x54ca73){const _0x248c6a=_0x46d2a0;if(_0x54ca73['reason']!==_0x248c6a(0x395))return null;if(_0x54ca73[_0x248c6a(0x1c7)]!=null&&_0x54ca73[_0x248c6a(0x3a3)]!=null)return{'row':_0x54ca73['row'],'col':_0x54ca73[_0x248c6a(0x3a3)],'value':null};if(!_0x54ca73[_0x248c6a(0x2c7)]||!_0x54ca73[_0x248c6a(0x3ef)])return null;let _0x5f2a31=this[_0x248c6a(0x266)](_0x2a27d8,_0x54ca73['tableId']);if(!_0x5f2a31)return null;let _0x4f3b81=ve(_0x5f2a31,_0x54ca73[_0x248c6a(0x2c7)],_0x54ca73[_0x248c6a(0x3ef)]);return _0x4f3b81?{'row':_0x4f3b81['row'],'col':_0x4f3b81[_0x248c6a(0x329)],'value':null}:null;}[_0x46d2a0(0x1d6)](_0x2c2a8a){const _0x55b893=_0x46d2a0;var _0x1d25ee;let _0x40bcd0=this[_0x55b893(0x204)][_0x55b893(0x221)](_0x2c2a8a,_0x3ae749['UNIVER_BASE']);return Object[_0x55b893(0x260)]((_0x1d25ee=_0x40bcd0==null?void 0x0:_0x40bcd0['getSnapshot']()[_0x55b893(0x201)])==null?{}:_0x1d25ee)[_0x55b893(0x3f5)](_0x3b2e53=>!_0x3b2e53[_0x55b893(0x3a4)])['map'](_0x24bed8=>_0x24bed8['id']);}['_getDirtySuperTableMap'](_0x2912ef,_0x5a9c10){return Pr(_0x2912ef,_0x5a9c10);}[_0x46d2a0(0x340)](){const _0x480f76=_0x46d2a0;let _0x4b3e31=this[_0x480f76(0x204)][_0x480f76(0x3c5)](_0x3ae749[_0x480f76(0x2a2)])[_0x480f76(0x3e2)](_0x46510f=>Pr(_0x46510f[_0x480f76(0x408)](),this[_0x480f76(0x1d6)](_0x46510f['getUnitId']())));return Object[_0x480f76(0x1bd)]({},..._0x4b3e31);}};Y=B([z(0x0,_0xdfd2da(_0x5210c8)),z(0x1,_0x569efc)],Y);const Fr=new RegExp(String[_0x46d2a0(0x253)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Ir=/\{([^}]+)\}/g,Lr=new RegExp(String[_0x46d2a0(0x253)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Rr=new RegExp(String[_0x46d2a0(0x253)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var zr=class{[_0x46d2a0(0x26e)](_0x26f43f,_0x1a5442=_0x26f43f['id']){const _0x1dd681=_0x46d2a0;return{'sheetId':_0x1a5442,'titleMap':new Map(_0x26f43f[_0x1dd681(0x31e)][_0x1dd681(0x3e2)]((_0x40ea48,_0x3f67d4)=>{const _0x50f70c=_0x1dd681;var _0x4a266e,_0x2a918e;return[(_0x4a266e=(_0x2a918e=_0x26f43f[_0x50f70c(0x263)][_0x40ea48])==null?void 0x0:_0x2a918e['name'])==null?_0x40ea48:_0x4a266e,_0x3f67d4];})),'range':{'startRow':0x0,'endRow':Object['values'](_0x26f43f[_0x1dd681(0x1ab)])[_0x1dd681(0x3f5)](_0x1ba443=>!_0x1ba443[_0x1dd681(0x3a4)])[_0x1dd681(0x1f9)],'startColumn':0x0,'endColumn':Math[_0x1dd681(0x3d9)](0x0,_0x26f43f[_0x1dd681(0x31e)]['length']-0x1)}};}['registerSuperTable'](_0x154b02,_0x333940,_0x41a6c7,_0x2b88ab={}){const _0xb50b21=_0x46d2a0;var _0x162f62;let _0x39c75d=this[_0xb50b21(0x26e)](_0x41a6c7,(_0x162f62=_0x2b88ab['sheetId'])==null?_0x41a6c7['id']:_0x162f62);return new Set([_0x41a6c7['id'],_0x41a6c7['name'],_0x2b88ab[_0xb50b21(0x300)]]['filter'](_0x396441=>!!_0x396441))[_0xb50b21(0x3f2)](_0x2a7c7f=>_0x154b02[_0xb50b21(0x217)](_0x333940,_0x2a7c7f,_0x39c75d)),_0x39c75d;}[_0x46d2a0(0x338)](_0x36809e,_0x189760){const _0x351077=_0x46d2a0;let _0x2b985a=[],_0x39d107=new Map();return Object[_0x351077(0x260)](_0x189760['tables'])['filter'](_0x1bd1dc=>!_0x1bd1dc['deleted'])[_0x351077(0x3f2)](_0x24dd02=>{const _0x1fd511=_0x351077;var _0x5526ab;let _0x2eb994=_0x24dd02[_0x1fd511(0x3bb)]['trim']()['toLowerCase']();_0x39d107[_0x1fd511(0x3dc)](_0x2eb994,((_0x5526ab=_0x39d107[_0x1fd511(0x256)](_0x2eb994))==null?0x0:_0x5526ab)+0x1);}),Object['values'](_0x189760[_0x351077(0x201)])[_0x351077(0x3f5)](_0x175a0f=>!_0x175a0f[_0x351077(0x3a4)])['forEach'](_0x28f2cb=>{const _0x52f747=_0x351077;var _0x4bba5c;let _0x1ac764=this[_0x52f747(0x26e)](_0x28f2cb,_0x28f2cb['id']);_0x36809e['registerTable'](_0x189760['id'],_0x28f2cb['id'],_0x1ac764),((_0x4bba5c=_0x39d107[_0x52f747(0x256)](_0x28f2cb['name'][_0x52f747(0x2af)]()['toLowerCase']()))==null?0x0:_0x4bba5c)===0x1&&_0x36809e['registerTable'](_0x189760['id'],_0x28f2cb['name'],_0x1ac764),_0x2b985a[_0x52f747(0x31f)](_0x1ac764);}),_0x2b985a;}[_0x46d2a0(0x29c)](_0x547b0a,_0x463108,_0x56eacc={}){const _0xfe0e2c=_0x46d2a0;let _0x56535f=_0x547b0a[_0xfe0e2c(0x2af)]();if(!_0x56535f)return{'valid':!0x0};if(Fr['test'](_0x56535f))return{'valid':!0x1,'reason':_0xfe0e2c(0x1c5)};for(let _0x2166de of Ur(_0x56535f)){let _0x18afd5=qr(_0x2166de,_0x463108,_0x56eacc[_0xfe0e2c(0x1dc)]);if(!_0x18afd5[_0xfe0e2c(0x246)])return{'valid':!0x1,'reason':_0xfe0e2c(0x220)+_0x2166de[_0xfe0e2c(0x300)]+'\x22\x20does\x20not\x20exist.'};if(!_0x18afd5[_0xfe0e2c(0x3e1)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x2166de[_0xfe0e2c(0x1a3)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x46d2a0(0x1a9)](_0x1ef54e,_0x1d3782,_0x53c44b={}){const _0x209a25=_0x46d2a0;let _0x475200=new Set();for(let _0x3058ec of this[_0x209a25(0x365)](_0x1ef54e,_0x1d3782,_0x53c44b))_0x3058ec[_0x209a25(0x1e5)]===_0x1d3782['id']&&_0x475200['add'](_0x3058ec['fieldId']);return Array[_0x209a25(0x368)](_0x475200);}[_0x46d2a0(0x365)](_0x173356,_0x2b85a1,_0x351b67={}){const _0x2a448c=_0x46d2a0;let _0x405ebe=new Map();for(let _0x4c5b0b of Ur(_0x173356)){let _0x41b327=qr(_0x4c5b0b,_0x2b85a1,_0x351b67[_0x2a448c(0x1dc)]);if(!_0x41b327[_0x2a448c(0x246)]||!_0x41b327['field'])continue;let _0x495f89=_0x41b327[_0x2a448c(0x246)]['id']+'\x1f'+_0x41b327[_0x2a448c(0x3e1)]['id'];_0x405ebe[_0x2a448c(0x3dc)](_0x495f89,{'tableId':_0x41b327[_0x2a448c(0x246)]['id'],'fieldId':_0x41b327['field']['id']});}return Array[_0x2a448c(0x368)](_0x405ebe['values']());}};function Br(_0x59989b){const _0x143136=_0x46d2a0;let _0x70c232={},_0xe904b9={},_0x182b78={[_0x59989b['id']]:{}},_0x570a94={[_0x59989b['id']]:{}};return _0x70c232[_0x59989b['id']]={},_0xe904b9[_0x59989b['id']]={},Object[_0x143136(0x260)](_0x59989b['tables'])[_0x143136(0x3f5)](_0x2b2917=>!_0x2b2917[_0x143136(0x3a4)])[_0x143136(0x3f2)](_0x4c8c85=>{const _0xec1b08=_0x143136;var _0x40e761,_0x152d88,_0x1e38e0;let _0x2998b1=C(_0x4c8c85),_0x17a60e=new _0x143f33(),_0x2be1f0={};(_0x40e761=_0x2998b1[_0xec1b08(0x3fd)])==null||_0x40e761['forEach']((_0xc93b55,_0x3ce5e3)=>{const _0x4902ff=_0xec1b08;let _0x4bd2f1=_0x2998b1['records'][_0xc93b55];!_0x4bd2f1||_0x4bd2f1['deleted']||_0x2998b1[_0x4902ff(0x31e)][_0x4902ff(0x3f2)]((_0x2407d0,_0x589d25)=>{const _0x33793b=_0x4902ff;let _0x70564=_0x2998b1[_0x33793b(0x263)][_0x2407d0];if(!_0x70564||_0x70564[_0x33793b(0x3a4)])return;let _0x93a53d=be(_0x2998b1,_0xc93b55,_0x2407d0);if(_0x93a53d!==void 0x0&&_0x17a60e[_0x33793b(0x2eb)](_0x3ce5e3,_0x589d25,w(_0x93a53d,_0x70564)),_0x70564[_0x33793b(0x1c2)]==='formula'){var _0x5e7c8f,_0x3bacc7;let _0xc71535=String((_0x5e7c8f=(_0x3bacc7=_0x70564[_0x33793b(0x2d2)])==null?void 0x0:_0x3bacc7['formula'])==null?'':_0x5e7c8f)[_0x33793b(0x2af)]();_0xc71535&&(_0x2be1f0[_0x3ce5e3]!=null||(_0x2be1f0[_0x3ce5e3]={}),_0x2be1f0[_0x3ce5e3][_0x589d25]={'f':Wr(_0xc71535,_0x2998b1,_0x59989b),'si':_0x70564['id']});}});}),_0x70c232[_0x59989b['id']][_0x2998b1['id']]=_0x2be1f0,_0xe904b9[_0x59989b['id']][_0x2998b1['id']]={'cellData':_0x17a60e,'rowCount':(_0x152d88=(_0x1e38e0=_0x2998b1[_0xec1b08(0x3fd)])==null?void 0x0:_0x1e38e0[_0xec1b08(0x3f5)](_0x4d7fac=>{const _0x5dca7b=_0xec1b08;var _0x1813f2;return!((_0x1813f2=_0x2998b1['records'][_0x4d7fac])!=null&&_0x1813f2[_0x5dca7b(0x3a4)]);})['length'])==null?0x0:_0x152d88,'columnCount':_0x2998b1[_0xec1b08(0x31e)][_0xec1b08(0x3f5)](_0x2639fd=>{const _0xca6e69=_0xec1b08;var _0x30d328;return!((_0x30d328=_0x2998b1[_0xca6e69(0x263)][_0x2639fd])!=null&&_0x30d328['deleted']);})[_0xec1b08(0x1f9)],'rowData':{},'columnData':{}},_0x570a94[_0x59989b['id']][_0x2998b1[_0xec1b08(0x3bb)]]=_0x2998b1['id'];}),{'formulaData':_0x70c232,'allUnitData':_0xe904b9,'unitStylesData':_0x182b78,'unitSheetNameMap':_0x570a94};}function Vr(_0x476730,_0x4799a0){const _0x13dc1c=_0x46d2a0;var _0x8bd411;let _0x492359=[],_0x39dcdc=(_0x8bd411=_0x4799a0[_0x13dc1c(0x390)])==null?void 0x0:_0x8bd411[_0x476730['id']];return _0x39dcdc&&Object['entries'](_0x39dcdc)[_0x13dc1c(0x3f2)](([_0x441389,_0x4db539])=>{const _0xd9e825=_0x13dc1c;let _0x1aeafc=_0x476730[_0xd9e825(0x201)][_0x441389];if(!_0x1aeafc||_0x1aeafc[_0xd9e825(0x3a4)]||!_0x4db539)return;let _0x2a4308=C(_0x1aeafc),_0x50ab37=[];Object[_0xd9e825(0x384)](_0x4db539)[_0xd9e825(0x3f2)](([_0x5799a3,_0x16197d])=>{const _0x2c2ee8=_0xd9e825;let _0x3aaece=Number(_0x5799a3);_0x16197d&&Object[_0x2c2ee8(0x384)](_0x16197d)[_0x2c2ee8(0x3f2)](([_0x1654c7,_0x429948])=>{const _0xee1825=_0x2c2ee8;var _0x413449,_0x1ff781,_0x1f582b,_0x409004,_0x41ba36,_0x2d8de3,_0xa2e235,_0x451a15;let _0x11cab0=Number(_0x1654c7),_0x77e81d=(_0x413449=_0x2a4308[_0xee1825(0x185)])==null?void 0x0:_0x413449[_0x3aaece],_0x3a5f6f=_0x77e81d?_0x2a4308[_0xee1825(0x1ab)][_0x77e81d]:null;if(!_0x3a5f6f||_0x3a5f6f[_0xee1825(0x3a4)])return;let _0x1bfb63=(_0x1ff781=_0x2a4308[_0xee1825(0x304)])==null?void 0x0:_0x1ff781[_0x11cab0],_0x246c47=_0x1bfb63?_0x2a4308['fields'][_0x1bfb63]:null;if(!_0x246c47||_0x246c47[_0xee1825(0x3a4)]||_0x246c47[_0xee1825(0x1c2)]!==_0xee1825(0x2c4))return;let _0x154833=String((_0x1f582b=(_0x409004=_0x246c47[_0xee1825(0x2d2)])==null?void 0x0:_0x409004[_0xee1825(0x2c4)])==null?'':_0x1f582b)[_0xee1825(0x2af)](),_0x5f370b=_0x3aaece===0x0&&_0x154833?{..._0x429948==null?{}:_0x429948,'v':(_0x41ba36=_0x429948==null?void 0x0:_0x429948['v'])==null?null:_0x41ba36,'t':Hr((_0x2d8de3=_0x429948==null?void 0x0:_0x429948['v'])==null?null:_0x2d8de3),'f':_0x154833,'si':_0x246c47['id']}:{..._0x429948==null?{}:_0x429948,'v':(_0xa2e235=_0x429948==null?void 0x0:_0x429948['v'])==null?null:_0xa2e235,'t':Hr((_0x451a15=_0x429948==null?void 0x0:_0x429948['v'])==null?null:_0x451a15),'si':_0x246c47['id']};_0x50ab37[_0xee1825(0x31f)]({'row':_0x3aaece,'col':_0x11cab0,'value':_0x5f370b});});}),_0x50ab37['length']&&_0x492359[_0xd9e825(0x31f)]({'unitId':_0x476730['id'],'tableId':_0x441389,'patches':_0x50ab37});}),_0x492359;}function Hr(_0x4a4a4a){const _0x4a3c5=_0x46d2a0;return typeof _0x4a4a4a==_0x4a3c5(0x330)?_0x3fad1c[_0x4a3c5(0x261)]:typeof _0x4a4a4a==_0x4a3c5(0x2f0)?_0x3fad1c[_0x4a3c5(0x194)]:typeof _0x4a4a4a==_0x4a3c5(0x181)?_0x3fad1c['STRING']:null;}function Ur(_0x18cafe){const _0x95c482=_0x46d2a0;let _0x3405cb=new Map();for(let _0x338f44 of _0x18cafe[_0x95c482(0x254)](Ir)){let _0x4efce3={'fieldName':_0x338f44[0x1]};_0x3405cb['set']('\x1f'+_0x4efce3[_0x95c482(0x1a3)],_0x4efce3);}for(let _0x55f321 of _0x18cafe['matchAll'](Lr)){let _0x509826={'tableName':_0x55f321[0x1],'fieldName':_0x55f321[0x2]};_0x3405cb[_0x95c482(0x3dc)](_0x509826[_0x95c482(0x300)]+'\x1f'+_0x509826[_0x95c482(0x1a3)],_0x509826);}for(let _0x2a5628 of _0x18cafe['matchAll'](Rr)){let _0x431713={'fieldName':_0x2a5628[0x2]};_0x3405cb['set']('\x1f'+_0x431713[_0x95c482(0x1a3)],_0x431713);}return Array[_0x95c482(0x368)](_0x3405cb[_0x95c482(0x260)]());}function Wr(_0x388f1e,_0x54b796,_0x34621a){const _0x3a0bd4=_0x46d2a0;let _0x4eae42=[],_0x2334f6=_0x532f26=>'__BASE_FORMULA_REF_'+(_0x4eae42[_0x3a0bd4(0x31f)](_0x532f26)-0x1)+'__';return _0x388f1e['replace'](Ir,(_0x300868,_0x39716f)=>_0x2334f6(Kr(_0x54b796,_0x39716f,_0x34621a)))[_0x3a0bd4(0x248)](Lr,(_0x2085a3,_0x335888,_0x419319)=>{let _0x2c9542=Jr(_0x335888,_0x54b796,_0x34621a);return _0x2c9542?_0x2334f6(Kr(_0x2c9542,_0x419319,_0x34621a)):_0x335888+'['+_0x419319+']';})[_0x3a0bd4(0x248)](Rr,(_0x4d77d0,_0x3ef9ac,_0x441aac)=>''+_0x3ef9ac+_0x2334f6(Kr(_0x54b796,_0x441aac,_0x34621a)))[_0x3a0bd4(0x248)](/__BASE_FORMULA_REF_(\d+)__/g,(_0x2cfe0e,_0x37863e)=>{var _0x258b85;return(_0x258b85=_0x4eae42[Number(_0x37863e)])==null?'':_0x258b85;});}function Gr(_0x51d23d,_0x26d6f1){const _0x2589e8=_0x46d2a0;return Object[_0x2589e8(0x260)](_0x26d6f1[_0x2589e8(0x201)])[_0x2589e8(0x3f5)](_0x10a2c8=>!_0x10a2c8[_0x2589e8(0x3a4)]&&_0x10a2c8[_0x2589e8(0x3bb)]===_0x51d23d['name'])[_0x2589e8(0x1f9)]===0x1?_0x51d23d['name']:_0x51d23d['id'];}function Kr(_0x47c36d,_0x4484fe,_0x2c6786){const _0x2c0bf0=_0x46d2a0;return Gr(_0x47c36d,_0x2c6786)+_0x2c0bf0(0x3c6)+_0x4484fe+']]';}function qr(_0x36ecbd,_0x24cee3,_0x2274ca){const _0x5a183e=_0x46d2a0;let _0x4ce35e=Jr(_0x36ecbd[_0x5a183e(0x300)],_0x24cee3,_0x2274ca);return{'table':_0x4ce35e,'field':_0x4ce35e?Object[_0x5a183e(0x260)](_0x4ce35e[_0x5a183e(0x263)])[_0x5a183e(0x323)](_0x5cb172=>_0x5cb172[_0x5a183e(0x3bb)]===_0x36ecbd[_0x5a183e(0x1a3)]&&!_0x5cb172['deleted']):void 0x0};}function Jr(_0xd497f1,_0x294a5a,_0x19fe33){const _0x19cd78=_0x46d2a0;if(!_0xd497f1||_0xd497f1===_0x19cd78(0x246)||_0xd497f1===_0x294a5a['id']||_0xd497f1===_0x294a5a[_0x19cd78(0x3bb)])return _0x294a5a;if(!_0x19fe33)return;let _0x51d5fd=_0x19fe33[_0x19cd78(0x201)][_0xd497f1];if(_0x51d5fd&&!_0x51d5fd[_0x19cd78(0x3a4)])return _0x51d5fd;let _0x1a5464=Object[_0x19cd78(0x260)](_0x19fe33['tables'])[_0x19cd78(0x3f5)](_0x3a7581=>!_0x3a7581[_0x19cd78(0x3a4)]&&_0x3a7581['name']===_0xd497f1);return _0x1a5464[_0x19cd78(0x1f9)]===0x1?_0x1a5464[0x0]:void 0x0;}function _0x1481(){const _0x595e81=['https://','kanban','recordId','BaseProjection.projectTableRows','register','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','version','decimalPlaces','true','flow','globalRevision','showFieldNames','dispose','config','_apply','1991340ZlVwQJ','base.command.rename-base-view','base.command.create-base-view','en-US','deepClone','Uncategorized','_normalizeGanttDisplayColor','updatedBy','isNaN','base.command.set-base-range-values','createSetRecordValuesOp','changed','applyOp','_toDirtyRangePatch','setBasePermission','_capabilities','unitId','fieldIds','parse','_projectGroups','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_recordPermissions','compose','setValue','medium','h12','operand','_groupConfigCacheSegment','boolean','local','setFieldPermission','weekdays','base.command.update-base-cell','title','getUTCDay','toLocaleString','_resolveCalendarDateFieldId','lookup','_isCalendarDateField','currencySymbol','setViewFieldWidth','usableAsCardCover','#BBF7D0','setViewFieldVisible','tableName','base.command.update-base-field-description','delete','[BaseProjectionService]:\x20missing\x20view\x20\x22','colId','registerCommand','past30','getCurrentUser','_fieldRegistry','_rowTransformCacheSegment','end','resources','direction','_plugins','order','key','manual','base.command.update-base-view-config','toPrimitive','_applyFormulaResult','_filterRows','canDeleteTable','isArray','base.command.set-base-view-field-order','\x22\x20does\x20not\x20exist.','createCreateRecordOp','General','_fastSortRows','_normalizeGanttConfig','hourCycle','fieldOrder','push','[BaseField]:\x20invalid\x20email\x20value.','unknown','email','find','@univerjs-pro/bases','colorFieldId','remove','toLowerCase','base-perf','col','greaterThanOrEqual','custom','createField','function','scale','base.viewType.grid','number','_superTableService','base.command.rename-base-table','columnSettings','decorate','today','getItem','base.view-registry.service','registerSuperTables','invalidateByCell','getAll','True','quarter','params','_factory','coverFieldId','_getAllBaseDirtySuperTableMap','measure','_isAllowedKanbanGroupField','user','base.command.ensure-base-temporal-view-date-fields','canCreateRecord','executeCommand','lessThan','Todo','localeCompare','packageName','_ganttBarColor','person','keys','projection','desc','recordIds','createRecord','viewOrder','_buildCalendar','displayText','setViewFieldOrder','_syncBaseUnit','onReady','join','setViewGroup','setRecordPermission','3EdJlrV','[BaseField]:\x20invalid\x20date\x20value.','_projectTableRows','system','text','Doing','splice','_projectRows','repairViewConfig','getSnapshot','getStructuredDependencies','prototype','catch','from','REMOTE_BASES_PLUGIN','base.command.create-base-field','updateField','score','_getViewRevision','getTypeOfUnitAdded$','locale','Status','base.command.delete-base-field','cardLayout','limit','#14b8a6','[BasePerf]\x20','baseRows','_getCurrentUserId','notContains','_baseSyncDisposables','focusUnit','regenerateViewIds','_initialize','_createDirtyData','[BaseCommandService]:\x20cannot\x20create\x20field.','fld-','_config','_filterSortFieldIds','COMMAND','endDateFieldId','entries','_resolveKanbanCoverFieldId','base.command.duplicate-base-field','large','onCommandExecuted','Start\x20date','setViewFilter','NumberFormat','clearTablePermission','_setAttachmentResources','cellRevision','204072iOZSHM','unitData','workingDays','getCurrentUserId','editCell','canManageView','cell','exception-','reduce','level','reason','_initDependencies','_getStructureDirtyTableIds','base.command.delete-base-view','dateMode','min','h24','_resolveKanbanGroupFieldId','cellData','_projectedViewRowsCache','column','deleted','editable','usableAsGanttEnd','getUTCDate','setHours','has','_fieldPermissions','_replaceOptional','base.viewType.gallery','useThousands','includes','_kanbanGroupKeys','renameTable','updatedAt','_kanbanLaneTitle','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','updateViewConfig','#16a34a','changeFieldType','_setFormulaFieldCells','setRecordValues','leftPaneWidth','createUnit','name','_getDirtySuperTableMap','operator','134259bobirk','Date','[BaseCommandService]:\x20cannot\x20create\x20table.','_materializeGroups','invalidateByView','YYYY/MM/DD','renameView','getAllUnitsForType','[[#This\x20Row],[','findIndex','cardSize','deleteRecord','attachmentSets','_runtimeContext','base.viewType.gantt','label','conditions','deleteField','multiSelect','Unchecked','_commandService','UTC','invalidGanttStartField','1.0.0-alpha.0','yesterday','canEditField','base.projection.service','max','link','createBase','set','rules','BASES_PLUGIN','round','getFullYear','field','map','lastWeek','_viewRevisionKey',',,,\x22B\x22','progressFieldId','search','base.command.batch-create-base-records','_applyingFormulaResults','now','BaseProjection.getProjection','getUTCFullYear','fromEntries','allowNegative','fieldId','invertOp','base.resource.service','forEach','BaseProjection.projectRows','invertWithDoc','filter','setTablePermission','kind','_getSuperTableService','contains','_patchCachedProjectedRows','registerView','formatToParts','recordOrder','univer.basePerf','colIndex','grid','base.command.delete-base-table','validate','every','_normalizeCalendarConfig','next30','some','_recordIds','getUnitId','spacePeriod','_syncFormulaData','_canUseFastSort','_cacheKey','viewId','test','abbreviation','fieldSettings','_onCommandExecuted','[BaseCommandService]:\x20cannot\x20delete\x20record.','_createRecordOrderOp','format','startsWith','_getJson1DirtyData','flatMap','timeslotSize','afterFieldId','canCreateField','createdBy','_title','Done','mark','exact','tableRevision','#3b82f6','deleteView','BaseProjection.filterAndSortRows','false','sort','_findCalendarDateFieldId','setRangeValues','duplicateRecord','_globalRevision','636618RyTcAu','defaultValue','base.command.set-base-view-field-visible','_getCellRevision','add','_shouldSyncFormulaData','getTime',',,\x22M\x22','timeZone','_isAllDayCalendarEvent','_createStructureDirtyData','registerCtorForType','_groupProjectionFieldIds','createDefaultValue','_formulaService','string','_patchProjectedRowsForCellInvalidations','beforeFieldId','canCreateTable','rowId','_projectionCache','[BaseCommandService]:\x20field\x20\x22','[BaseCommandService]:\x20cannot\x20manage\x20view.','setViewSort','month','attachmentSet','_resolveGanttDateFieldId','getBase','getOwnPropertyDescriptor','workingDaysOnly','MMM\x20D,\x20YYYY','base.command.change-base-field-type','_nextNumberingValue','base.mutation.apply-base-json1','BOOLEAN','normal','groupFieldId','_groupCellInvalidations','base.command.create-base-table','separatorStyle','_kanbanLaneColor','BaseJson1.cloneForOp','color','invalid','week','canDeleteField','[BaseJson1Adapter]:\x20unsupported\x20command\x20','createView','updateCell','fieldName','_normalizeGalleryConfig','percent','views','hasOwnProperty','bases.fieldConfig.linkPlaceholder','getDependencies','base.command.set-base-view-field-width','records','viewRevision','missingField','base-snapshot-v1','conditional','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_applier','_isAllDayGanttDateRange','moveField','_resolveKanbanCardFieldIds','repeat','view','readonly','stringify','_cellInvalidationsTouchFields','button','_getTablesToNormalize','includeRecords','assign','lastIndexOf','invalidDateField','_projectedGroupsCache','disposeWithMe','type','rows','BaseProjection.projectGroups','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','constructor','row','base.command.update-base-field','commaPeriod','valid','getTypePlugin','conjunction','record','moveView','_buildGantt','doing','diffValue','_tablePermissions','clearFieldPermission','short','hidden','_getAllTableIds','6869534bBcGot','_setDeleted','majorHeaders','invalidateByOp','getMonth','snapshot','_isGanttDateField','_tableRevisions',':start','checkbox','_initRegistries','revision','subscribe','before','tableId','base.command.set-base-record-values','toPlainText','2491610WsTemF','Yes','_injector','none','fromPlainText','url','formula.mutation.set-formula-calculation-result','attachment','recordPatch','18nSmgxI','[BaseCommandService]:\x20cannot\x20delete\x20field.','working','ena','getProjection','location','Working\x20day','spaceComma','length','pushUndoRedo','frozenFieldCount','rating','_bumpTableRevision','[BaseCommandService]:\x20cannot\x20edit\x20field.','_basePermissions','info','tables','_getActiveDirtyManagerService','canEditCell','_univerInstanceService','symbol','createCreateFieldOp','createRecords','past7','usableAsGanttStart','invalidGanttEndField','dependencyFieldId','isFinite','_buildGallery','patch','hh:mm','16kCaKMn','_withModifiedSystemValues','_normalizeCalendarDisplayColor','[BaseCommandService]:\x20cannot\x20create\x20record.','date','_sortRows','edit','registerTable','basePerf','_registerSuperTables','createdAt','pluginName','value','createBatchCreateRecordsOp','thisMonth','startDateFieldId','[BaseFormula]:\x20table\x20\x22','getUnit','_calendarEventColor','Checked','orderKey','_resolveGalleryCardFieldIds','call','base.command.delete-base-record','after','lastMonth','h:mm\x20a','setSnapshot','toFixed','base.command.service','general','_dataSyncPrimaryController','invalidateByField','createViewId','index','blue','_getSystemFieldValue','[BaseField]:\x20invalid\x20rating\x20value.','__all__','_initDataSync','base.viewType.calendar','path','_initCommands','attachment-','numbering','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','_projectFields','insertOp','[BaseField]:\x20invalid\x20checkbox\x20value.','YYYY/MM/DD\x20HH:mm','barcode','valueOf','children','createUpdateCellOp','table','attachments','replace','patches','Empty','BaseCellData.ensureTableCellLayout','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_getTableRevision','group','_getCachedProjection','base.command.move-base-field','STRING','_normalizeCellValue','raw','matchAll','mode','get','usableAsCalendarDate','exceptions','_resolveGalleryCoverFieldId','card','canDeleteRecord','syncExecuteCommand','_createRecordWithDefaults','_views','getAffectedRanges','values','NUMBER','endsWith','fields','start','progress','_getTable','rowIndex','base.command.set-base-view-filter','base.command.update-base-kanban-config','primaryFieldId','columns','_viewRevisions','_buildKanban','createSuperTableReference','gallery','rowIndexById','base.command.move-base-view','phone','selectField','17119180jKbUnn','YYYY-MM-DD','base.command.duplicate-base-record','_shouldRefreshSuperTables','base.command.update-base-record-order','clearRecordPermission','[BaseField]:\x20invalid\x20progress\x20value.','[BaseField]:\x20invalid\x20person\x20value.','summary','_isKanbanGroupField','getCapabilities','getUTCMonth','allowMultiple','_groupsCacheKey','formulaData','[BaseField]:\x20invalid\x20phone\x20value.','replaceOp','currency','#,##0','base-perf-','defineProperty','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','tableOrder','fieldIndex','_isColorfulKanbanGroupField','object','_createSystemFieldValuePatches','_getKanbanConfiguredLanes','finally','_createJson1DirtyData','searchTexts','twoWayLink','_matchesGanttColorRule','singleSelect','year','includeTime','base-range-values-v1','_cellInvalidations','FORCE_STRING','#BFDBFE','validateFormula','\x22\x20is\x20not\x20registered.','BaseJson1.json1Apply','createTable','check','isNotEmpty','UNIVER_BASE','_setCachedProjection','options','invalidGroupField','_findKanbanGroupField','base.command.create-base-record','base.fieldType.','undefined','_buildGrid','size','[BaseCommandService]:\x20cannot\x20edit\x20cell.','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','_setViewFieldSetting','trim','leftPaneCollapsed','_permissionService','deleteTable','isNot','_cellRevisions',':end','gantt','indexOf','view-','titleFieldId','base.command.set-base-view-sort','MM-DD','displayColor','slice','long','_projectedRowsCache','calendar','updateRecordOrder','_requestCalculation','_viewRowsCacheKey','formula'];_0x1481=function(){return _0x595e81;};return _0x1481();}let X=class extends _0x4b1be4{constructor(_0x3de2a3,_0x494cde,_0x1960b5){const _0x152f68=_0x46d2a0;super(),this[_0x152f68(0x1ea)]=_0x3de2a3,this[_0x152f68(0x3d2)]=_0x494cde,this[_0x152f68(0x204)]=_0x1960b5,R(this,_0x152f68(0x180),new zr()),R(this,_0x152f68(0x3e9),!0x1),this['_initialize']();}['_initialize'](){const _0x210925=_0x46d2a0;this[_0x210925(0x204)][_0x210925(0x3c5)](_0x3ae749[_0x210925(0x2a2)])[_0x210925(0x3f2)](_0x41e61d=>{const _0x5ea8ea=_0x210925;this[_0x5ea8ea(0x219)](_0x41e61d),this[_0x5ea8ea(0x40a)](_0x41e61d),this[_0x5ea8ea(0x2c2)]({'forceCalculation':!0x0});}),this[_0x210925(0x1c1)](this[_0x210925(0x204)][_0x210925(0x36e)](_0x3ae749[_0x210925(0x2a2)])['subscribe'](({unit:_0x3614a4})=>{const _0x278c01=_0x210925;this[_0x278c01(0x219)](_0x3614a4),this[_0x278c01(0x40a)](_0x3614a4),this[_0x278c01(0x2c2)]({'forceCalculation':!0x0});})),this[_0x210925(0x1c1)](this['_commandService'][_0x210925(0x388)](_0x339328=>this[_0x210925(0x159)](_0x339328)));}[_0x46d2a0(0x159)](_0x3488b7){const _0x29f1ae=_0x46d2a0;if(_0x3488b7['id']===_0x1c0902['id']){this['_applyFormulaResult'](_0x3488b7[_0x29f1ae(0x33d)]);return;}if(this[_0x29f1ae(0x3e9)]||_0x3488b7['id']!==q['id'])return;let _0x2f42aa=_0x3488b7[_0x29f1ae(0x33d)];(_0x2f42aa!=null&&_0x2f42aa['unitId']?[this[_0x29f1ae(0x204)][_0x29f1ae(0x221)](_0x2f42aa[_0x29f1ae(0x2e4)],_0x3ae749['UNIVER_BASE'])][_0x29f1ae(0x3f5)](_0x25d37a=>!!_0x25d37a):this[_0x29f1ae(0x204)][_0x29f1ae(0x3c5)](_0x3ae749['UNIVER_BASE']))['forEach'](_0x17ca33=>{const _0x1342d9=_0x29f1ae;this[_0x1342d9(0x177)](_0x3488b7,_0x17ca33)&&(this[_0x1342d9(0x219)](_0x17ca33),this['_syncFormulaData'](_0x17ca33)),this['_requestCalculation'](this[_0x1342d9(0x37d)](_0x3488b7,_0x17ca33));});}[_0x46d2a0(0x177)](_0x134a53,_0xe3f659){const _0x3b15c8=_0x46d2a0;var _0x381f16;if(_0x134a53['id']!==q['id'])return!0x1;let _0x4f64e6=(_0x381f16=_0x134a53['params'])==null?void 0x0:_0x381f16['op'];return _0x4f64e6?J(_0x4f64e6)[_0x3b15c8(0x406)](_0x3d6498=>_0x3d6498['reason']==='cell'?!_0xe3f659[_0x3b15c8(0x364)]()[_0x3b15c8(0x201)][_0x3d6498[_0x3b15c8(0x1e5)]]:!0x0):!0x0;}['_registerSuperTables'](_0x5eab70){const _0x5d533d=_0x46d2a0;let _0x14341d=this[_0x5d533d(0x3f8)]();_0x14341d&&this[_0x5d533d(0x180)][_0x5d533d(0x338)](_0x14341d,_0x5eab70[_0x5d533d(0x364)]());}[_0x46d2a0(0x2c2)](_0x26a7d8={}){const _0x269707=_0x46d2a0;this[_0x269707(0x3d2)]['executeCommand'](_0x371584['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0x26a7d8},{'onlyLocal':!0x0})[_0x269707(0x367)](()=>void 0x0);}['_syncFormulaData'](_0x7d666f){const _0x30272a=_0x46d2a0;let _0x2eabe1=Br(_0x7d666f[_0x30272a(0x364)]());this[_0x30272a(0x3d2)][_0x30272a(0x346)](_0x2d1b6d['id'],{'formulaData':_0x2eabe1[_0x30272a(0x282)]},{'onlyLocal':!0x0})[_0x30272a(0x367)](()=>void 0x0);}[_0x46d2a0(0x313)](_0x3a9dea){const _0x1e9e98=_0x46d2a0;let _0x2db2a2=this[_0x1e9e98(0x204)][_0x1e9e98(0x3c5)](_0x3ae749['UNIVER_BASE'])[_0x1e9e98(0x15f)](_0x3294e4=>Vr(_0x3294e4['getSnapshot'](),_0x3a9dea));if(!_0x2db2a2[_0x1e9e98(0x1f9)])return;let _0xbb0de6=new I();this[_0x1e9e98(0x3e9)]=!0x0,(async()=>{const _0x3f0849=_0x1e9e98;for(let _0x412dc8 of _0x2db2a2){let _0xaaf723=this[_0x3f0849(0x204)]['getUnit'](_0x412dc8['unitId'],_0x3ae749[_0x3f0849(0x2a2)]);_0xaaf723&&await this[_0x3f0849(0x3d2)][_0x3f0849(0x346)](q['id'],{'unitId':_0x412dc8[_0x3f0849(0x2e4)],'op':_0xbb0de6[_0x3f0849(0x16f)](_0xaaf723['getSnapshot'](),_0x412dc8[_0x3f0849(0x1e5)],_0x412dc8[_0x3f0849(0x249)]),'trigger':_0x1c0902['id']},{'onlyLocal':!0x0});}})()[_0x1e9e98(0x290)](()=>{const _0xcd4010=_0x1e9e98;this[_0xcd4010(0x3e9)]=!0x1;});}['_getSuperTableService'](){const _0x1bbc83=_0x46d2a0;try{return this[_0x1bbc83(0x1ea)][_0x1bbc83(0x256)](_0x18b795);}catch{return null;}}['_createDirtyData'](_0x51c447,_0x2275c0){const _0x112a05=_0x46d2a0;return _0x51c447['id']===q['id']?this['_createJson1DirtyData'](_0x51c447[_0x112a05(0x33d)],_0x2275c0):this[_0x112a05(0x17c)](_0x2275c0);}[_0x46d2a0(0x291)](_0x5c6856,_0x392c98){const _0x10b649=_0x46d2a0;if(!_0x5c6856['op'])return this[_0x10b649(0x17c)](_0x392c98);let _0x211663=J(_0x5c6856['op']),_0x50ef40=this[_0x10b649(0x39b)](_0x211663,_0x392c98);if(_0x50ef40[_0x10b649(0x1f9)])return this[_0x10b649(0x17c)](_0x392c98,_0x50ef40);let _0x43563b=Object[_0x10b649(0x384)](this[_0x10b649(0x197)](_0x211663,_0x392c98))[_0x10b649(0x15f)](([_0x3133d6,_0x14e822])=>Nr({'unitId':_0x392c98[_0x10b649(0x408)](),'tableId':_0x3133d6,'patches':_0x14e822}));return _0x43563b[_0x10b649(0x1f9)]?{'dirtyRanges':_0x43563b}:this[_0x10b649(0x17c)](_0x392c98);}[_0x46d2a0(0x39b)](_0x1d4e56,_0x402b77){const _0x340209=_0x46d2a0;let _0x252bd3=_0x1d4e56[_0x340209(0x3f5)](_0x2495cd=>_0x2495cd['reason']!==_0x340209(0x395))[_0x340209(0x15f)](_0x44f093=>_0x44f093['tableId']?[_0x44f093[_0x340209(0x1e5)]]:Object[_0x340209(0x34d)](_0x402b77[_0x340209(0x364)]()[_0x340209(0x201)]));return Array[_0x340209(0x368)](new Set(_0x252bd3));}[_0x46d2a0(0x197)](_0x56a0ca,_0x3a822d){const _0x219089=_0x46d2a0;let _0x178060=new Set();return _0x56a0ca[_0x219089(0x397)]((_0x171bfa,_0x270da9)=>{const _0x52a029=_0x219089;var _0x1a8511;let _0x421c94=this[_0x52a029(0x2e1)](_0x270da9,_0x3a822d);if(!_0x421c94)return _0x171bfa;let _0x2f2c6c=_0x270da9[_0x52a029(0x1e5)]+':'+_0x421c94['row']+':'+_0x421c94[_0x52a029(0x329)];return _0x178060[_0x52a029(0x3a9)](_0x2f2c6c)?_0x171bfa:(_0x178060[_0x52a029(0x176)](_0x2f2c6c),_0x171bfa[_0x270da9[_0x52a029(0x1e5)]]=(_0x1a8511=_0x171bfa[_0x270da9[_0x52a029(0x1e5)]])==null?[]:_0x1a8511,_0x171bfa[_0x270da9[_0x52a029(0x1e5)]][_0x52a029(0x31f)](_0x421c94),_0x171bfa);},{});}['_toDirtyRangePatch'](_0x1de871,_0x398b31){const _0x485917=_0x46d2a0;if(_0x1de871[_0x485917(0x399)]!==_0x485917(0x395))return null;if(_0x1de871['row']!=null&&_0x1de871['column']!=null)return{'row':_0x1de871[_0x485917(0x1c7)],'col':_0x1de871[_0x485917(0x3a3)],'value':null};let _0x58dee2=_0x398b31[_0x485917(0x364)]()[_0x485917(0x201)][_0x1de871[_0x485917(0x1e5)]];if(!_0x58dee2||!_0x1de871[_0x485917(0x2c7)]||!_0x1de871[_0x485917(0x3ef)])return null;let _0x4d60b7=ve(_0x58dee2,_0x1de871[_0x485917(0x2c7)],_0x1de871[_0x485917(0x3ef)]);return _0x4d60b7?{'row':_0x4d60b7['row'],'col':_0x4d60b7['col'],'value':null}:null;}[_0x46d2a0(0x17c)](_0x3a3d2e,_0x2b45d2){const _0x1de7a0=_0x46d2a0;let _0x32f37e=_0x2b45d2==null?Object[_0x1de7a0(0x260)](_0x3a3d2e[_0x1de7a0(0x364)]()['tables'])[_0x1de7a0(0x3f5)](_0x2220a5=>!_0x2220a5[_0x1de7a0(0x3a4)])['map'](_0x1490e0=>_0x1490e0['id']):_0x2b45d2,_0x1a4e33=Pr(_0x3a3d2e[_0x1de7a0(0x408)](),_0x32f37e);return{'dirtySuperTableMap':_0x1a4e33,'clearDependencyTreeCache':_0x1a4e33,'forceCalculation':!0x0};}};X=B([z(0x0,_0xdfd2da(_0x5210c8)),z(0x1,_0x43f40c),z(0x2,_0x569efc)],X);function Yr(_0x553bfa){const _0x5a5eb1=_0x46d2a0;var _0x4d85a5;let _0x5b2df5=Math[_0x5a5eb1(0x3d9)](0x0,Number((_0x4d85a5=_0x553bfa[_0x5a5eb1(0x2cc)])==null?0x0:_0x4d85a5)),_0x5279fd=_0x553bfa[_0x5a5eb1(0x3ad)]===!0x1?'0':_0x5a5eb1(0x286),_0x343175=_0x5b2df5?'.'+'0'[_0x5a5eb1(0x1b5)](_0x5b2df5):'',_0x379623=Zr(_0x553bfa[_0x5a5eb1(0x157)]);return''+(_0x553bfa[_0x5a5eb1(0x2fb)]?Qr(_0x553bfa['currencySymbol']):'')+_0x5279fd+_0x343175+_0x379623;}function Xr(_0x2da4f4,_0x5cf3cf){const _0x5bde32=_0x46d2a0;let _0x201fe0=Yr(_0x5cf3cf),_0x13c679=_0x1471f4['format'](_0x201fe0,_0x2da4f4,{'throws':!0x1});return $r(String(_0x13c679),_0x5cf3cf[_0x5bde32(0x199)],_0x5cf3cf[_0x5bde32(0x36f)]);}function Zr(_0x1baf9f){const _0x3e694e=_0x46d2a0;return _0x1baf9f==='K'?',\x22K\x22':_0x1baf9f==='M'?_0x3e694e(0x179):_0x1baf9f==='B'?_0x3e694e(0x3e5):'';}function Qr(_0x3b0384){const _0x5ce863=_0x46d2a0;return/^[A-Z]+$/i[_0x5ce863(0x156)](_0x3b0384)?'\x22'+_0x3b0384+'\x22':_0x3b0384;}function $r(_0x1fc8b5,_0x3a4be6,_0x281ddd){const _0x1ffc05=_0x46d2a0;let _0x408758=_0x3a4be6===_0x1ffc05(0x2f1)?ei(_0x281ddd):_0x3a4be6;return _0x408758==='periodComma'?_0x1fc8b5[_0x1ffc05(0x248)](/,/g,'\x00')[_0x1ffc05(0x248)](/\./g,',')[_0x1ffc05(0x248)](/\0/g,'.'):_0x408758===_0x1ffc05(0x1f8)?_0x1fc8b5[_0x1ffc05(0x248)](/,/g,'\x20')[_0x1ffc05(0x248)](/\./g,','):_0x408758==='spacePeriod'?_0x1fc8b5[_0x1ffc05(0x248)](/,/g,'\x20'):_0x1fc8b5;}function ei(_0x3a22b2){const _0x4b1a0c=_0x46d2a0;var _0x418cc3,_0x14a230;let _0x32beba=_0x3a22b2||Intl[_0x4b1a0c(0x38b)]()['resolvedOptions']()[_0x4b1a0c(0x36f)],_0x53af50;try{_0x53af50=new Intl[(_0x4b1a0c(0x38b))](_0x32beba,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x4b1a0c(0x3fc)](0xf4240);}catch{return _0x4b1a0c(0x1c9);}let _0x16738b=(_0x418cc3=_0x53af50['find'](_0x4b6cd5=>_0x4b6cd5[_0x4b1a0c(0x1c2)]===_0x4b1a0c(0x24e)))==null?void 0x0:_0x418cc3['value'],_0x114b99=(_0x14a230=_0x53af50['find'](_0x429e90=>_0x429e90[_0x4b1a0c(0x1c2)]==='decimal'))==null?void 0x0:_0x14a230[_0x4b1a0c(0x21c)],_0x8660f=_0x16738b==='\u00a0'||_0x16738b==='\u202f'?'\x20':_0x16738b;return _0x8660f==='.'&&_0x114b99===','?'periodComma':_0x8660f==='\x20'&&_0x114b99===','?_0x4b1a0c(0x1f8):_0x8660f==='\x20'&&_0x114b99==='.'?_0x4b1a0c(0x409):_0x4b1a0c(0x1c9);}function ti(_0x585865,_0xd3e2f1){const _0x905d25=_0x46d2a0;var _0x24f63b,_0x5795a1;let _0x215330=_0xef6ec6[_0x905d25(0x2d8)](_0x585865),_0x23882f=_0xd3e2f1[_0x905d25(0x1bc)]===!0x0,_0x2b2966=new Map(),_0x12fe1d=(_0x24f63b=_0xd3e2f1[_0x905d25(0x231)])==null?()=>_0x905d25(0x2b8)+_0x26ccc7(0x8):_0x24f63b,_0x4f50dc=_0x215330['viewOrder'];return _0xd3e2f1['regenerateViewIds']&&(_0x4f50dc=_0x215330[_0x905d25(0x352)][_0x905d25(0x3e2)](_0x4f2d63=>{const _0x398308=_0x905d25;let _0x3f2933=_0x12fe1d();return _0x2b2966[_0x398308(0x3dc)](_0x4f2d63,_0x3f2933),_0x3f2933;})),{..._0x215330,'id':_0xd3e2f1['id'],'name':_0xd3e2f1[_0x905d25(0x3bb)],'deleted':void 0x0,'records':_0x23882f?_0x215330['records']:{},'recordOrder':_0x23882f?_0x215330[_0x905d25(0x3fd)]:[],'rowIndex':_0x23882f?_0x215330[_0x905d25(0x267)]:{},'rowId':_0x23882f?_0x215330[_0x905d25(0x185)]:{},'cellData':_0x23882f?_0x215330[_0x905d25(0x3a1)]:{},'resources':_0x23882f?_0x215330[_0x905d25(0x30b)]:{},'viewOrder':_0x4f50dc,'views':Object[_0x905d25(0x3ed)](Object['entries']((_0x5795a1=_0x215330[_0x905d25(0x1a6)])==null?{}:_0x5795a1)['map'](([_0x4e866f,_0x3a9864])=>{const _0x93733=_0x905d25;var _0x314650;let _0x23e1df=(_0x314650=_0x2b2966[_0x93733(0x256)](_0x4e866f))==null?_0xd3e2f1[_0x93733(0x37b)]?_0x12fe1d():_0x4e866f:_0x314650;return[_0x23e1df,{..._0x3a9864,'id':_0x23e1df,'tableId':_0xd3e2f1['id'],'deleted':void 0x0}];}))};}var ni=class{constructor(){const _0x259497=_0x46d2a0;R(this,_0x259497(0x33e),new I()),R(this,_0x259497(0x1b1),new O());}['createOp'](_0x45ff36,_0xbf1dd6){const _0x59e9b0=_0x46d2a0;switch(_0x45ff36[_0x59e9b0(0x1c2)]){case _0x59e9b0(0x29f):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x29f)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x246)],_0x45ff36[_0x59e9b0(0x232)]);case _0x59e9b0(0x3b0):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x3b0)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36['name']);case'deleteTable':return this[_0x59e9b0(0x33e)]['deleteTable'](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)]);case'createField':return this[_0x59e9b0(0x33e)][_0x59e9b0(0x32c)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],{'field':_0x45ff36['field'],'index':_0x45ff36[_0x59e9b0(0x232)]});case _0x59e9b0(0x36b):return this[_0x59e9b0(0x33e)]['updateField'](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36['fieldId'],_0x45ff36[_0x59e9b0(0x20e)]);case _0x59e9b0(0x3cf):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x3cf)](_0xbf1dd6,_0x45ff36['tableId'],_0x45ff36[_0x59e9b0(0x3ef)]);case _0x59e9b0(0x351):return this['_factory']['createRecord'](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x1cd)]);case _0x59e9b0(0x3c9):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x3c9)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x2c7)]);case'updateRecordOrder':return this[_0x59e9b0(0x33e)][_0x59e9b0(0x2c1)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x2c7)],_0x45ff36['orderKey']);case _0x59e9b0(0x1a2):return this['_factory']['updateCell'](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x2c7)],_0x45ff36[_0x59e9b0(0x3ef)],_0x45ff36['value']);case _0x59e9b0(0x3b8):return this[_0x59e9b0(0x33e)]['setRecordValues'](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x249)]);case _0x59e9b0(0x16f):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x16f)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x249)]);case'createView':return this[_0x59e9b0(0x33e)][_0x59e9b0(0x1a1)](_0xbf1dd6,_0x45ff36['tableId'],_0x45ff36[_0x59e9b0(0x1b6)],_0x45ff36[_0x59e9b0(0x232)]);case _0x59e9b0(0x16a):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x16a)](_0xbf1dd6,_0x45ff36[_0x59e9b0(0x1e5)],_0x45ff36[_0x59e9b0(0x155)]);case _0x59e9b0(0x3b4):return this[_0x59e9b0(0x33e)][_0x59e9b0(0x3b4)](_0xbf1dd6,_0x45ff36['tableId'],_0x45ff36['viewId'],_0x45ff36[_0x59e9b0(0x20e)]);default:return ri(_0x45ff36);}}['createCollaborativeOp'](_0x421a89){return{..._0x421a89,'unitType':'base'};}[_0x46d2a0(0x2e0)](_0x51663b,_0xae5276){const _0x10132f=_0x46d2a0;return this['_applier'][_0x10132f(0x2e0)](_0x51663b,_0xae5276);}[_0x46d2a0(0x3f0)](_0x1c2e93,_0x1493ee){const _0x33206a=_0x46d2a0;return this[_0x33206a(0x1b1)][_0x33206a(0x3f0)](_0x1c2e93,_0x1493ee);}[_0x46d2a0(0x25f)](_0x34ddbe){const _0x1bf346=_0x46d2a0;return this['_applier'][_0x1bf346(0x25f)](_0x34ddbe);}};function _0x2d01(_0x1de7fb,_0x42e828){_0x1de7fb=_0x1de7fb-0x154;const _0x14811c=_0x1481();let _0x2d01f9=_0x14811c[_0x1de7fb];return _0x2d01f9;}function ri(_0x5ed549){const _0x2bb827=_0x46d2a0;throw Error(_0x2bb827(0x1a0)+_0x5ed549[_0x2bb827(0x1c2)]);}var ii=_0x46d2a0(0x324),ai=_0x46d2a0(0x3d5);let oi=class extends _0x4b1be4{constructor(_0xe7561,_0x1bf444,_0x204c79){const _0x24d09a=_0x46d2a0;super(),this[_0x24d09a(0x3d2)]=_0xe7561,this[_0x24d09a(0x204)]=_0x1bf444,this[_0x24d09a(0x331)]=_0x204c79,R(this,_0x24d09a(0x180),new zr()),this['_initialize']();}[_0x46d2a0(0x37c)](){const _0x2ff14b=_0x46d2a0;this[_0x2ff14b(0x204)][_0x2ff14b(0x3c5)](_0x3ae749[_0x2ff14b(0x2a2)])[_0x2ff14b(0x3f2)](_0x3f841c=>{this['_registerSuperTables'](_0x3f841c);}),this[_0x2ff14b(0x1c1)](this[_0x2ff14b(0x204)][_0x2ff14b(0x36e)](_0x3ae749[_0x2ff14b(0x2a2)])[_0x2ff14b(0x1e3)](({unit:_0x36d1c8})=>{const _0x58ae33=_0x2ff14b;this[_0x58ae33(0x219)](_0x36d1c8);})),this[_0x2ff14b(0x1c1)](this[_0x2ff14b(0x3d2)][_0x2ff14b(0x388)](_0x546b2b=>this[_0x2ff14b(0x159)](_0x546b2b)));}[_0x46d2a0(0x159)](_0x310441){const _0x44c2a8=_0x46d2a0;if(!this[_0x44c2a8(0x277)](_0x310441))return;let _0x2cb0a7=_0x310441[_0x44c2a8(0x33d)];(_0x2cb0a7!=null&&_0x2cb0a7['unitId']?[this['_univerInstanceService']['getUnit'](_0x2cb0a7['unitId'],_0x3ae749['UNIVER_BASE'])][_0x44c2a8(0x3f5)](_0x4f63f5=>!!_0x4f63f5):this['_univerInstanceService'][_0x44c2a8(0x3c5)](_0x3ae749['UNIVER_BASE']))['forEach'](_0x35c6a7=>this[_0x44c2a8(0x219)](_0x35c6a7));}[_0x46d2a0(0x277)](_0x4870d7){const _0x99da0e=_0x46d2a0;var _0x4ac1be;if(_0x4870d7['id']!==q['id'])return!0x1;let _0x53de1c=(_0x4ac1be=_0x4870d7[_0x99da0e(0x33d)])==null?void 0x0:_0x4ac1be['op'];return!_0x53de1c||J(_0x53de1c)[_0x99da0e(0x406)](_0x4cb3d4=>_0x4cb3d4[_0x99da0e(0x399)]!==_0x99da0e(0x395));}[_0x46d2a0(0x219)](_0x29656b){const _0x53a74b=_0x46d2a0;this[_0x53a74b(0x331)]&&this[_0x53a74b(0x180)][_0x53a74b(0x338)](this[_0x53a74b(0x331)],_0x29656b[_0x53a74b(0x364)]());}};oi=B([z(0x0,_0x43f40c),z(0x1,_0x569efc),z(0x2,_0x2896fd(_0x18b795))],oi);const si=_0x28c6bb(_0x46d2a0(0x3f1));let ci=class{constructor(_0x1af28c){const _0x369396=_0x46d2a0;this[_0x369396(0x204)]=_0x1af28c;}[_0x46d2a0(0x18d)](_0x4299f6){const _0x4d81f6=_0x46d2a0;var _0x5bab16;return(_0x5bab16=this['_univerInstanceService'][_0x4d81f6(0x221)](_0x4299f6,_0x3ae749[_0x4d81f6(0x2a2)]))==null?null:_0x5bab16;}['getAllBases'](){const _0xe40a34=_0x46d2a0;return this[_0xe40a34(0x204)][_0xe40a34(0x3c5)](_0x3ae749['UNIVER_BASE']);}[_0x46d2a0(0x3db)](_0x1ff770){const _0x498a45=_0x46d2a0;return this[_0x498a45(0x204)][_0x498a45(0x3ba)](_0x3ae749[_0x498a45(0x2a2)],_0x1ff770);}};ci=B([z(0x0,_0x569efc)],ci);const li=_0x28c6bb(_0x46d2a0(0x337));var ui=class extends _0x4b1be4{constructor(..._0x5ea8fc){const _0x12b66c=_0x46d2a0;super(..._0x5ea8fc),R(this,_0x12b66c(0x30d),new Map());}[_0x46d2a0(0x2c9)](_0x2e1414){const _0x56f3a4=_0x46d2a0;return this[_0x56f3a4(0x30d)][_0x56f3a4(0x3dc)](_0x2e1414[_0x56f3a4(0x1c2)],_0x2e1414),_0x30fdc4(()=>this[_0x56f3a4(0x30d)][_0x56f3a4(0x302)](_0x2e1414['type']));}[_0x46d2a0(0x256)](_0x300140){const _0x3f10f7=_0x46d2a0;let _0x101731=this[_0x3f10f7(0x30d)][_0x3f10f7(0x256)](_0x300140);if(!_0x101731)throw Error(_0x3f10f7(0x2e8)+_0x300140+_0x3f10f7(0x29d));return _0x101731;}['getAll'](){const _0x57df64=_0x46d2a0;return Array[_0x57df64(0x368)](this[_0x57df64(0x30d)]['values']());}};const di=_0x46d2a0(0x3de),fi=[q];let Z=class extends _0x4a0686{constructor(_0x35669e={},_0x5e8112,_0x134a75,_0x4bd169,_0x19c703){const _0x5cd541=_0x46d2a0;super(),this[_0x5cd541(0x380)]=_0x35669e,this['_injector']=_0x5e8112,this[_0x5cd541(0x3d2)]=_0x134a75,this['_univerInstanceService']=_0x4bd169,this[_0x5cd541(0x22f)]=_0x19c703,R(this,'_baseSyncDisposables',new Map()),this[_0x5cd541(0x204)][_0x5cd541(0x17d)](_0x3ae749['UNIVER_BASE'],_0x573c5c),this[_0x5cd541(0x39a)](),this['_initCommands'](),this['_initRegistries'](),this[_0x5cd541(0x237)]();}['onReady'](){const _0x1715c7=_0x46d2a0;_0x105b8e(this['_injector'],[[ci],[H],[Y],[X]]),this[_0x1715c7(0x204)]['getAllUnitsForType'](_0x3ae749[_0x1715c7(0x2a2)])[_0x1715c7(0x3f2)](_0x107e4f=>this[_0x1715c7(0x356)](_0x107e4f[_0x1715c7(0x408)]()));}[_0x46d2a0(0x39a)](){const _0x2ea37f=_0x46d2a0;[[Wt,{'useClass':Gt}],[li,{'useClass':ui}],[sn,{'useClass':ln}],[si,{'useClass':ci}],[Kt,{'useClass':qt}],[V,{'useClass':H}],[Y],[X]][_0x2ea37f(0x3f2)](_0x501874=>this[_0x2ea37f(0x1ea)][_0x2ea37f(0x176)](_0x501874));}[_0x46d2a0(0x23a)](){const _0xf9bf46=_0x46d2a0;[Un,gr,sr,Dr,br,yr,Hn,Rn,or,zn,ur,jr,Vn,lr,kr,Or,Bn,ar,mr,ir,dr,_r,cr,hr,Mr,vr,Ar,wr,Er,Tr,Sr,Cr,xr,...fi][_0xf9bf46(0x3f2)](_0x480a9b=>this[_0xf9bf46(0x1c1)](this['_commandService'][_0xf9bf46(0x305)](_0x480a9b))),fi[_0xf9bf46(0x3f2)](_0x37fd28=>{const _0x226d9a=_0xf9bf46;var _0x1f7787;return(_0x1f7787=this[_0x226d9a(0x22f)])==null?void 0x0:_0x1f7787['registerSyncingMutations'](_0x37fd28);});}[_0x46d2a0(0x237)](){const _0x2972cb=_0x46d2a0;this[_0x2972cb(0x22f)]&&(this[_0x2972cb(0x1c1)](this[_0x2972cb(0x204)][_0x2972cb(0x36e)](_0x3ae749[_0x2972cb(0x2a2)])[_0x2972cb(0x1e3)](({unit:_0x46b3cc})=>{const _0x37f56a=_0x2972cb;this[_0x37f56a(0x356)](_0x46b3cc['getUnitId']());})),this[_0x2972cb(0x1c1)](this[_0x2972cb(0x204)]['getTypeOfUnitDisposed$'](_0x3ae749['UNIVER_BASE'])[_0x2972cb(0x1e3)](_0x28d7a2=>{const _0x2c610c=_0x2972cb;var _0xcddbf4;(_0xcddbf4=this['_baseSyncDisposables']['get'](_0x28d7a2[_0x2c610c(0x408)]()))==null||_0xcddbf4[_0x2c610c(0x2d1)](),this[_0x2c610c(0x379)][_0x2c610c(0x302)](_0x28d7a2[_0x2c610c(0x408)]());})));}[_0x46d2a0(0x356)](_0x1afcf3){const _0x1e09bf=_0x46d2a0;!this[_0x1e09bf(0x22f)]||this[_0x1e09bf(0x379)][_0x1e09bf(0x3a9)](_0x1afcf3)||this[_0x1e09bf(0x379)]['set'](_0x1afcf3,this[_0x1e09bf(0x22f)]['syncUnit'](_0x1afcf3));}[_0x46d2a0(0x1e1)](){const _0x587a88=_0x46d2a0;let _0x56f341=this[_0x587a88(0x1ea)][_0x587a88(0x256)](Wt);Ct()[_0x587a88(0x3f2)](_0x45de68=>_0x56f341['register'](_0x45de68));let _0x4bf915=this['_injector'][_0x587a88(0x256)](li),_0x5e8afd=this[_0x587a88(0x1ea)][_0x587a88(0x256)](sn);tn()[_0x587a88(0x3f2)](_0x65e572=>{const _0x394079=_0x587a88;_0x4bf915[_0x394079(0x2c9)](_0x65e572),_0x5e8afd[_0x394079(0x3fb)](_0x65e572);});}};R(Z,_0x46d2a0(0x21b),di),R(Z,'packageName',ii),R(Z,_0x46d2a0(0x2cb),ai),R(Z,'type',_0x3ae749[_0x46d2a0(0x2a2)]),Z=B([_0x16321c(_0x2db387,_0xc94849),z(0x1,_0xdfd2da(_0x5210c8)),z(0x2,_0x43f40c),z(0x3,_0x569efc),z(0x4,_0x2896fd(_0x34add2))],Z);let Q=class extends _0x4a0686{constructor(_0x440717={},_0x1b6299,_0x2eb255,_0x34001d){const _0x4feb51=_0x46d2a0;super(),this['_config']=_0x440717,this[_0x4feb51(0x1ea)]=_0x1b6299,this[_0x4feb51(0x3d2)]=_0x2eb255,this['_univerInstanceService']=_0x34001d,this['_univerInstanceService'][_0x4feb51(0x17d)](_0x3ae749[_0x4feb51(0x2a2)],_0x573c5c),this[_0x4feb51(0x1ea)][_0x4feb51(0x176)]([oi]),fi[_0x4feb51(0x3f2)](_0x4d844b=>this[_0x4feb51(0x1c1)](this[_0x4feb51(0x3d2)]['registerCommand'](_0x4d844b)));}[_0x46d2a0(0x357)](){_0x105b8e(this['_injector'],[[oi]]);}};R(Q,'pluginName',_0x46d2a0(0x369)),R(Q,_0x46d2a0(0x34a),ii),R(Q,_0x46d2a0(0x2cb),ai),R(Q,_0x46d2a0(0x1c2),_0x3ae749[_0x46d2a0(0x2a2)]),Q=B([_0x16321c(_0xc94849),z(0x1,_0xdfd2da(_0x5210c8)),z(0x2,_0x43f40c),z(0x3,_0x569efc)],Q);function pi(_0xb08c92){const _0x54e319=_0x46d2a0;let _0x27b03e=Ei(_0xb08c92['query']);if(!_0x27b03e)return{'query':'','total':0x0,'matches':[]};let _0x9e4e1b=[],_0x84eb81=_0xb08c92[_0x54e319(0x2e5)][_0x54e319(0x3e2)]((_0x13dd53,_0xac7a77)=>({'field':_0xb08c92[_0x54e319(0x246)][_0x54e319(0x263)][_0x13dd53],'fieldIndex':_0xac7a77}))[_0x54e319(0x3f5)](_0x4c87bd=>!!(_0x4c87bd['field']&&!_0x4c87bd[_0x54e319(0x3e1)][_0x54e319(0x3a4)]));_0xb08c92['rows'][_0x54e319(0x3f2)]((_0x4da164,_0x45614c)=>{const _0x3118e9=_0x54e319;_0x84eb81[_0x3118e9(0x3f2)](({field:_0x2cc4b2,fieldIndex:_0x340e1e})=>{const _0x2815b2=_0x3118e9;let _0x1bb1ec=mi(_0x4da164['values'][_0x2cc4b2['id']],_0x2cc4b2);if(!_0x1bb1ec)return;let _0x67faeb=Ti(_0x27b03e,_0x1bb1ec[_0x2815b2(0x292)]);_0x67faeb<=0x0||_0x9e4e1b[_0x2815b2(0x31f)]({'recordId':_0x4da164['recordId'],'fieldId':_0x2cc4b2['id'],'fieldType':_0x2cc4b2['type'],'text':_0x1bb1ec[_0x2815b2(0x354)],'score':_0x67faeb,'rowIndex':_0x45614c,'fieldIndex':_0x340e1e});});}),_0x9e4e1b['sort']((_0x37cc95,_0x137026)=>_0x137026[_0x54e319(0x36c)]-_0x37cc95[_0x54e319(0x36c)]||_0x37cc95[_0x54e319(0x267)]-_0x137026[_0x54e319(0x267)]||_0x37cc95[_0x54e319(0x28b)]-_0x137026[_0x54e319(0x28b)]);let _0x17b920=_0xb08c92['limit']==null?_0x9e4e1b:_0x9e4e1b[_0x54e319(0x2bd)](0x0,Math[_0x54e319(0x3d9)](0x0,_0xb08c92[_0x54e319(0x373)]));return{'query':_0x27b03e,'total':_0x9e4e1b[_0x54e319(0x1f9)],'matches':_0x17b920[_0x54e319(0x3e2)](({rowIndex:_0x2ecc7e,fieldIndex:_0x40acf9,..._0x238071})=>_0x238071)};}function mi(_0x578b25,_0x534fde){const _0x2dca69=_0x46d2a0;let _0x31bb3a=gi(_0x578b25,_0x534fde)['map'](Ei)[_0x2dca69(0x3f5)](Boolean);return _0x31bb3a['length']?{'displayText':hi(_0x578b25,_0x534fde),'searchTexts':Di(_0x31bb3a)}:null;}function hi(_0x41199f,_0x3255a8){const _0x4f5511=_0x46d2a0;switch(_0x3255a8[_0x4f5511(0x1c2)]){case _0x4f5511(0x295):case'multiSelect':case'group':return _i(_0x41199f,_0x3255a8)['join'](',\x20');case _0x4f5511(0x3da):return bi(_0x41199f);case _0x4f5511(0x214):case _0x4f5511(0x21a):case _0x4f5511(0x3b1):return xi(_0x41199f,_0x3255a8);case'number':case _0x4f5511(0x285):return Si(_0x41199f,_0x3255a8);case _0x4f5511(0x265):return Ci(_0x41199f,_0x3255a8);case _0x4f5511(0x1e0):return _0x41199f?_0x4f5511(0x223):_0x4f5511(0x3d1);case _0x4f5511(0x1ef):return wi(_0x41199f)['join'](',\x20');default:return $(_0x41199f);}}function gi(_0x3c870e,_0x22017f){const _0x532812=_0x46d2a0;switch(_0x22017f[_0x532812(0x1c2)]){case _0x532812(0x295):case _0x532812(0x3d0):case _0x532812(0x24e):{let _0x2d2f43=_i(_0x3c870e,_0x22017f),_0x51bd5e=Array['isArray'](_0x3c870e)?_0x3c870e[_0x532812(0x3e2)](String):_0x3c870e==null?[]:[String(_0x3c870e)];return[..._0x2d2f43,..._0x51bd5e];}case _0x532812(0x3da):{let _0x2fd115=yi(_0x3c870e);return[_0x2fd115[_0x532812(0x35f)],_0x2fd115[_0x532812(0x1ed)]];}case _0x532812(0x214):case _0x532812(0x21a):case _0x532812(0x3b1):return[xi(_0x3c870e,_0x22017f),$(_0x3c870e)];case _0x532812(0x330):case _0x532812(0x285):return[Si(_0x3c870e,_0x22017f),$(_0x3c870e)];case _0x532812(0x265):return[Ci(_0x3c870e,_0x22017f),$(_0x3c870e)];case _0x532812(0x1e0):return _0x3c870e?['Checked',_0x532812(0x1e9),_0x532812(0x33b)]:[_0x532812(0x3d1),'No','False'];case'attachment':return wi(_0x3c870e);default:return[$(_0x3c870e)];}}function _i(_0x50b375,_0x7b2115){const _0x43d715=_0x46d2a0;var _0x1cd04c;let _0x22d162=Array[_0x43d715(0x316)]((_0x1cd04c=_0x7b2115[_0x43d715(0x2d2)])==null?void 0x0:_0x1cd04c[_0x43d715(0x2a4)])?_0x7b2115[_0x43d715(0x2d2)][_0x43d715(0x2a4)]:[];return(Array[_0x43d715(0x316)](_0x50b375)?_0x50b375[_0x43d715(0x3e2)](String):_0x50b375==null?[]:[String(_0x50b375)])[_0x43d715(0x3f5)](Boolean)[_0x43d715(0x3e2)](_0x2c5f6c=>vi(_0x22d162,_0x2c5f6c));}function vi(_0x45912b,_0x4df7ab){const _0x448de3=_0x46d2a0;for(let _0x530b93 of _0x45912b){if(typeof _0x530b93=='string'&&_0x530b93===_0x4df7ab)return _0x530b93;if(_0x530b93&&typeof _0x530b93=='object'){var _0x9b8499,_0x31edfd,_0x352976;let _0x52932d=_0x530b93;if(String((_0x9b8499=(_0x31edfd=_0x52932d['id'])==null?_0x52932d['name']:_0x31edfd)==null?'':_0x9b8499)===_0x4df7ab||String((_0x352976=_0x52932d[_0x448de3(0x3bb)])==null?'':_0x352976)===_0x4df7ab){var _0x430d49,_0x34cc0a;return String((_0x430d49=(_0x34cc0a=_0x52932d[_0x448de3(0x3bb)])==null?_0x52932d['id']:_0x34cc0a)==null?_0x4df7ab:_0x430d49);}}}return _0x4df7ab;}function yi(_0x443320){const _0x39c1a1=_0x46d2a0;if(_0x443320&&typeof _0x443320==_0x39c1a1(0x28d)&&!Array[_0x39c1a1(0x316)](_0x443320)){var _0x5e48eb,_0x3f4559,_0x13c229;let _0x2d8b5e=_0x443320;return{'text':String((_0x5e48eb=(_0x3f4559=_0x2d8b5e[_0x39c1a1(0x35f)])==null?_0x2d8b5e[_0x39c1a1(0x1ed)]:_0x3f4559)==null?'':_0x5e48eb),'url':String((_0x13c229=_0x2d8b5e[_0x39c1a1(0x1ed)])==null?'':_0x13c229)};}return{'text':$(_0x443320),'url':$(_0x443320)};}function bi(_0x1eee5b){const _0x1cc0d5=_0x46d2a0;let _0x3b1f6f=yi(_0x1eee5b);return _0x3b1f6f[_0x1cc0d5(0x35f)]||_0x3b1f6f[_0x1cc0d5(0x1ed)];}function xi(_0x699560,_0x4616f5){const _0x404e4a=_0x46d2a0;return typeof _0x699560!=_0x404e4a(0x330)||!Number[_0x404e4a(0x20c)](_0x699560)?'':et(_0x699560,_0x4616f5[_0x404e4a(0x2d2)]);}function Si(_0x498ef9,_0xc14ee2){const _0xcbdf57=_0x46d2a0;let _0x22a4d0=typeof _0x498ef9=='number'?_0x498ef9:Number(_0x498ef9);return Number['isFinite'](_0x22a4d0)?Xr(_0x22a4d0,_0xc14ee2[_0xcbdf57(0x2d2)]):'';}function Ci(_0x1f953d,_0xebecfa){const _0x31974f=_0x46d2a0;var _0x11f4d3;let _0x294220=typeof _0x1f953d==_0x31974f(0x330)?_0x1f953d:Number(_0x1f953d);if(!Number[_0x31974f(0x20c)](_0x294220))return'';let _0x9b0f9a=(_0x11f4d3=_0xebecfa[_0x31974f(0x2d2)])==null?{}:_0x11f4d3,_0x1cd0be=_0x9b0f9a[_0x31974f(0x2cc)]===0x1||_0x9b0f9a[_0x31974f(0x2cc)]===0x2?_0x9b0f9a[_0x31974f(0x2cc)]:0x0,_0xcc5194=_0x294220[_0x31974f(0x22c)](_0x1cd0be);return _0x9b0f9a['format']==='number'?_0xcc5194:_0xcc5194+'%';}function wi(_0xebb8aa){const _0x363ab4=_0x46d2a0;return Array[_0x363ab4(0x316)](_0xebb8aa)?_0xebb8aa[_0x363ab4(0x15f)](_0x4ec5d5=>{const _0x21b7d5=_0x363ab4;var _0x1ac68f,_0x185c3f;if(!_0x4ec5d5||typeof _0x4ec5d5!='object')return[];let _0x1b54c4=_0x4ec5d5,_0x55b149=String((_0x1ac68f=(_0x185c3f=_0x1b54c4[_0x21b7d5(0x3bb)])==null?_0x1b54c4[_0x21b7d5(0x1ed)]:_0x185c3f)==null?'':_0x1ac68f)[_0x21b7d5(0x2af)]();return _0x55b149?[_0x55b149]:[];}):[];}function $(_0x46ab5a){const _0x4ef38c=_0x46d2a0;if(_0x46ab5a==null)return'';if(typeof _0x46ab5a==_0x4ef38c(0x2f0))return _0x46ab5a?'true':_0x4ef38c(0x16c);if(typeof _0x46ab5a==_0x4ef38c(0x330))return String(_0x46ab5a);if(Array[_0x4ef38c(0x316)](_0x46ab5a))return _0x46ab5a[_0x4ef38c(0x3e2)](_0x275006=>$(_0x275006))[_0x4ef38c(0x3f5)](Boolean)['join'](',\x20');if(typeof _0x46ab5a==_0x4ef38c(0x28d)){var _0x57a7ea,_0x5a895e,_0x2fb22b,_0x230148;let _0x3e66f2=_0x46ab5a;return String((_0x57a7ea=(_0x5a895e=(_0x2fb22b=(_0x230148=_0x3e66f2['title'])==null?_0x3e66f2[_0x4ef38c(0x3bb)]:_0x230148)==null?_0x3e66f2[_0x4ef38c(0x35f)]:_0x2fb22b)==null?_0x3e66f2[_0x4ef38c(0x1ed)]:_0x5a895e)==null?'':_0x57a7ea)['trim']();}return String(_0x46ab5a);}function Ti(_0x130f13,_0x1bbe77){const _0x47e66f=_0x46d2a0;let _0x23336d=0x0;for(let _0x3f2ec1 of _0x1bbe77)if(_0x3f2ec1){if(_0x3f2ec1===_0x130f13){_0x23336d=Math[_0x47e66f(0x3d9)](_0x23336d,0x12c);continue;}if(_0x3f2ec1[_0x47e66f(0x15d)](_0x130f13)){_0x23336d=Math[_0x47e66f(0x3d9)](_0x23336d,0xfa);continue;}_0x3f2ec1[_0x47e66f(0x3ae)](_0x130f13)&&(_0x23336d=Math['max'](_0x23336d,0xc8));}return _0x23336d;}function Ei(_0x5dafb1){const _0x3136b4=_0x46d2a0;return _0x5dafb1[_0x3136b4(0x2af)]()[_0x3136b4(0x248)](/\s+/g,'\x20')[_0x3136b4(0x327)]();}function Di(_0x480275){return Array['from'](new Set(_0x480275));}function Oi(_0x5a4f19){const _0x5e81a6=_0x46d2a0;return{'compress':!0x0,'kind':_0x5e81a6(0x298),'u':_0x5a4f19[_0x5e81a6(0x2e4)],'t':_0x5a4f19[_0x5e81a6(0x1e5)],'p':_0x5a4f19[_0x5e81a6(0x249)][_0x5e81a6(0x3e2)](_0x3b1244=>[_0x3b1244['row'],_0x3b1244['col'],Ri(_0x3b1244[_0x5e81a6(0x21c)])])};}function ki(_0x574196){const _0x1c6025=_0x46d2a0;return Ai(_0x574196)?{'unitId':_0x574196['u'],'tableId':_0x574196['t'],'patches':_0x574196['p'][_0x1c6025(0x3e2)](([_0x1f91bf,_0x3deb91,_0x45aa87])=>({'row':_0x1f91bf,'col':_0x3deb91,'value':zi(_0x45aa87)}))}:_0x574196;}function Ai(_0x1d7713){const _0x5a6f93=_0x46d2a0;return!!_0x1d7713&&typeof _0x1d7713==_0x5a6f93(0x28d)&&_0x1d7713[_0x5a6f93(0x3f7)]==='base-range-values-v1';}function ji(_0x251581){const _0x4e5012=_0x46d2a0;return{..._0x251581,'compress':!0x0,'kind':_0x4e5012(0x1ae),'tables':Object[_0x4e5012(0x3ed)](Object[_0x4e5012(0x384)](_0x251581['tables'])['map'](([_0x236355,_0x5b267c])=>[_0x236355,Pi(_0x5b267c)]))};}function Mi(_0x46faca){const _0x5082e0=_0x46d2a0;if(!Ni(_0x46faca))return _0x46faca;let {compress:_0x548cd1,kind:_0x8c78a6,tables:_0x3f229c,..._0x3b3432}=_0x46faca;return{..._0x3b3432,'tables':Object[_0x5082e0(0x3ed)](Object[_0x5082e0(0x384)](_0x3f229c)[_0x5082e0(0x3e2)](([_0x3a72a1,_0x57fdb1])=>[_0x3a72a1,Fi(_0x57fdb1)]))};}function Ni(_0x189817){const _0x47c74f=_0x46d2a0;return!!_0x189817&&typeof _0x189817=='object'&&_0x189817[_0x47c74f(0x3f7)]===_0x47c74f(0x1ae);}function Pi(_0x3038fd){let {cellData:_0x3e1c1e,..._0x32b865}=_0x3038fd,_0x25be6d=Ii(_0x3e1c1e);return _0x25be6d['length']?{..._0x32b865,'cd':_0x25be6d}:_0x32b865;}function Fi(_0x2e1071){let {cd:_0x4e5da6,..._0x1216fd}=_0x2e1071;return{..._0x1216fd,'cellData':Li(_0x4e5da6)};}function Ii(_0x5ec12d){const _0x4691dd=_0x46d2a0;return _0x5ec12d?Object[_0x4691dd(0x384)](_0x5ec12d)[_0x4691dd(0x15f)](([_0x2bd3a0,_0x2adca8])=>Object[_0x4691dd(0x384)](_0x2adca8==null?{}:_0x2adca8)[_0x4691dd(0x3e2)](([_0x909bf7,_0x4290f4])=>[Number(_0x2bd3a0),Number(_0x909bf7),Bi(_0x4290f4)])):[];}function Li(_0x266fa0){let _0xe4e745={};for(let [_0x3ad815,_0x5e7c5b,_0x4a6268]of _0x266fa0==null?[]:_0x266fa0){var _0x1e0569;_0xe4e745[_0x3ad815]=(_0x1e0569=_0xe4e745[_0x3ad815])==null?{}:_0x1e0569,_0xe4e745[_0x3ad815][_0x5e7c5b]=Vi(_0x4a6268);}return _0xe4e745;}function Ri(_0x3bbaa9){return Hi(_0x3bbaa9)?Bi(_0x3bbaa9):_0x3bbaa9;}function zi(_0x563882){return Ui(_0x563882)?Vi(_0x563882):_0x563882;}function Bi(_0x388a7e){return{'c':0x1,..._0x388a7e['v']===void 0x0?{}:{'v':_0x388a7e['v']},..._0x388a7e['t']!==void 0x0&&_0x388a7e['t']!==null?{'t':_0x388a7e['t']}:_0x388a7e['t']===null?{'t':null}:{},..._0x388a7e['f']!==void 0x0&&_0x388a7e['f']!==null?{'f':_0x388a7e['f']}:_0x388a7e['f']===null?{'f':null}:{},..._0x388a7e['si']!==void 0x0&&_0x388a7e['si']!==null?{'si':_0x388a7e['si']}:_0x388a7e['si']===null?{'si':null}:{},..._0x388a7e['p']!==void 0x0&&_0x388a7e['p']!==null?{'p':_0x388a7e['p']}:_0x388a7e['p']===null?{'p':null}:{}};}function Vi(_0xfb45aa){return{..._0xfb45aa['v']===void 0x0?{}:{'v':_0xfb45aa['v']},..._0xfb45aa['t']===void 0x0?{}:{'t':_0xfb45aa['t']},..._0xfb45aa['f']===void 0x0?{}:{'f':_0xfb45aa['f']},..._0xfb45aa['si']===void 0x0?{}:{'si':_0xfb45aa['si']},..._0xfb45aa['p']===void 0x0?{}:{'p':_0xfb45aa['p']}};}function Hi(_0x12c5c2){const _0x224870=_0x46d2a0;return!!_0x12c5c2&&typeof _0x12c5c2==_0x224870(0x28d)&&!Array[_0x224870(0x316)](_0x12c5c2)&&(Object[_0x224870(0x366)]['hasOwnProperty'][_0x224870(0x226)](_0x12c5c2,'v')||Object[_0x224870(0x366)][_0x224870(0x1a7)][_0x224870(0x226)](_0x12c5c2,'t')||Object['prototype']['hasOwnProperty'][_0x224870(0x226)](_0x12c5c2,'p')||Object[_0x224870(0x366)][_0x224870(0x1a7)][_0x224870(0x226)](_0x12c5c2,'f')||Object[_0x224870(0x366)][_0x224870(0x1a7)][_0x224870(0x226)](_0x12c5c2,'si'));}function Ui(_0x3e2c6c){return!!_0x3e2c6c&&typeof _0x3e2c6c=='object'&&!Array['isArray'](_0x3e2c6c)&&_0x3e2c6c['c']===0x1;}export{q as ApplyBaseJson1Mutation,di as BASES_PLUGIN_NAME,fi as BASE_SYNC_MUTATIONS,Y as BaseActiveDirtyController,H as BaseCommandService,Gt as BaseFieldRegistryService,X as BaseFormulaCalculationController,zr as BaseFormulaService,ni as BaseJson1Adapter,O as BaseJson1OpApplier,I as BaseJson1OpFactory,qt as BasePermissionService,ln as BaseProjectionService,ci as BaseResourceService,ui as BaseViewRegistryService,Rn as BatchCreateBaseRecordsCommand,zn as BatchDeleteBaseRecordsCommand,Bn as ChangeBaseFieldTypeCommand,Vn as CreateBaseFieldCommand,Hn as CreateBaseRecordCommand,Un as CreateBaseTableCommand,ir as CreateBaseViewCommand,ar as DeleteBaseFieldCommand,or as DeleteBaseRecordCommand,sr as DeleteBaseTableCommand,cr as DeleteBaseViewCommand,lr as DuplicateBaseFieldCommand,ur as DuplicateBaseRecordCommand,dr as EnsureBaseTemporalViewDateFieldsCommand,V as IBaseCommandService,Wt as IBaseFieldRegistryService,Kt as IBasePermissionService,sn as IBaseProjectionService,si as IBaseResourceService,li as IBaseViewRegistryService,mr as MoveBaseFieldCommand,hr as MoveBaseViewCommand,gr as RenameBaseTableCommand,_r as RenameBaseViewCommand,vr as SetBaseKanbanGroupFieldCommand,yr as SetBaseRangeValuesCommand,br as SetBaseRecordValuesCommand,xr as SetBaseViewFieldOrderCommand,Sr as SetBaseViewFieldVisibleCommand,Cr as SetBaseViewFieldWidthCommand,wr as SetBaseViewFilterCommand,Tr as SetBaseViewGroupCommand,Er as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Dr as UpdateBaseCellCommand,kr as UpdateBaseFieldCommand,Or as UpdateBaseFieldDescriptionCommand,Ar as UpdateBaseKanbanConfigCommand,jr as UpdateBaseRecordOrderCommand,Mr as UpdateBaseViewConfigCommand,j as baseDateSerialToDateMs,P as baseJson1Path,Yr as buildBaseNumberFormatPattern,F as composeJson1Ops,Oi as compressBaseRangeValuesPayload,ji as compressBaseSnapshot,ti as copyBaseTableSnapshot,Br as createBaseFormulaCalculationDataset,Vr as createBaseFormulaResultPatches,Pr as createBaseStructureDirtySuperTableMap,Ct as createCoreFieldPlugins,tn as createCoreViewPlugins,k as dateToExcelSerial,ki as decompressBaseRangeValuesPayload,Mi as decompressBaseSnapshot,C as ensureBaseTableCellLayout,$e as excelSerialToDateMs,et as formatBaseDateValue,Xr as formatBaseNumberValue,T as fromBaseCellData,Ee as getBaseAttachmentResourceKey,ye as getBaseCell,xe as getBaseCellFormulaValue,be as getBaseCellValue,J as getBaseInvalidationsFromJson1,ei as inferBaseSeparatorStyle,x as isBasePerformanceTracingEnabled,Ai as isCompressedBaseRangeValuesPayload,Ni as isCompressedBaseSnapshot,de as logBasePerformance,at as matchesBaseCondition,E as normalizeAttachmentValue,A as normalizeBaseDateSerial,Oe as readAttachmentResources,pi as searchBaseTable,Se as setBaseCell,Nr as setBaseRangeValuesToDirtyRanges,w as toBaseCellData,we as toBaseRecordValue,S as traceBasePerformance,ue as traceBasePerformanceAsync,Wn as uniqueFieldName,De as writeAttachmentResources};
|
|
1
|
+
const _0x3401ce=_0x4a40;(function(_0xa82aa3,_0x172823){const _0x8a4c6b=_0x4a40,_0x3ff96b=_0xa82aa3();while(!![]){try{const _0x2313f9=parseInt(_0x8a4c6b(0x238))/0x1+parseInt(_0x8a4c6b(0x175))/0x2*(parseInt(_0x8a4c6b(0x36a))/0x3)+-parseInt(_0x8a4c6b(0x2b0))/0x4*(parseInt(_0x8a4c6b(0x37a))/0x5)+-parseInt(_0x8a4c6b(0x1bf))/0x6+parseInt(_0x8a4c6b(0x231))/0x7+parseInt(_0x8a4c6b(0x154))/0x8*(-parseInt(_0x8a4c6b(0x2a5))/0x9)+-parseInt(_0x8a4c6b(0x209))/0xa;if(_0x2313f9===_0x172823)break;else _0x3ff96b['push'](_0x3ff96b['shift']());}catch(_0xb93dba){_0x3ff96b['push'](_0x3ff96b['shift']());}}}(_0x3d2d,0xb1ad7));import{BaseDataModel as _0x214695,CellValueType as _0x44215b,CommandType as _0x33ec1c,DependentOn as _0x51bed4,Disposable as _0x4b5308,ICommandService as _0x27a4ab,IConfigService as _0x29d163,IUndoRedoService as _0x595044,IUniverInstanceService as _0x594baa,Inject as _0x501764,Injector as _0x736133,JSON1 as _0x1811e5,ObjectMatrix as _0x358cd4,Optional as _0x6b4241,Plugin as _0xdb962,Tools as _0x2c5b3b,UniverInstanceType as _0x28d586,createIdentifier as _0x53452b,dateKit as _0x80569f,generateRandomId as _0x425b8e,merge as _0x302022,numfmt as _0x56f9da,toDisposable as _0x200b81,touchDependencies as _0x4ff5ed}from'@univerjs/core';import{IActiveDirtyManagerService as _0x5cedb5,ISuperTableService as _0x3d817d,SetFormulaCalculationResultMutation as _0xd732b0,SetFormulaCalculationStartMutation as _0x78da86,SetFormulaDataMutation as _0x581d70,UniverProFormulaEnginePlugin as _0x48dab4}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x513848}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x242116}from'@univerjs/rpc';let ue=0x0;function de(){const _0xe54388=_0x4a40;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x31c027=typeof location>'u'?'':location[_0xe54388(0x358)],_0x11de7b=new URLSearchParams(_0x31c027);if(_0x11de7b[_0xe54388(0x192)](_0xe54388(0x1fa))==='1'||_0x11de7b[_0xe54388(0x192)](_0xe54388(0x1fa))===_0xe54388(0x36d)||_0x11de7b['get'](_0xe54388(0x3f9))==='1')return!0x0;}catch{}try{let _0x13bc9c=typeof localStorage>'u'?null:localStorage[_0xe54388(0x35f)](_0xe54388(0x26b));return _0x13bc9c==='1'||_0x13bc9c===_0xe54388(0x36d);}catch{return!0x1;}}function S(_0x605a71,_0x208558,_0x13c59c){const _0x51e5a3=_0x4a40;if(!de())return _0x208558();let _0x27cd2e=pe(),_0x467c5b=_0x51e5a3(0x25c)+ue++;me(_0x467c5b+':start');try{return _0x208558();}finally{let _0x3c5e74=pe()-_0x27cd2e;me(_0x467c5b+':end'),he(_0x605a71,_0x467c5b+_0x51e5a3(0x273),_0x467c5b+_0x51e5a3(0x1f2)),fe(_0x605a71,_0x3c5e74,_0x13c59c);}}function fe(_0xeb195e,_0xc4cc22,_0x3a0d4d){const _0x319787=_0x4a40;if(!de())return;let _0x233852=Math[_0x319787(0x393)](_0xc4cc22*0x64)/0x64,_0x12df09=_0x3a0d4d&&Object[_0x319787(0x2fe)](_0x3a0d4d)['length']?'\x20'+JSON[_0x319787(0x2e9)](_0x3a0d4d):'';console[_0x319787(0x3d1)](_0x319787(0x386)+_0xeb195e+':\x20'+_0x233852+'ms'+_0x12df09);}function pe(){const _0x4e009b=_0x4a40;return typeof performance<'u'&&typeof performance[_0x4e009b(0x3b2)]==_0x4e009b(0x366)?performance[_0x4e009b(0x3b2)]():Date['now']();}function me(_0x4f9a6f){const _0x3e577e=_0x4a40;try{if(typeof performance<'u'){var _0x2b655c,_0x5ffc5b;(_0x2b655c=(_0x5ffc5b=performance)[_0x3e577e(0x2a9)])==null||_0x2b655c[_0x3e577e(0x1b4)](_0x5ffc5b,_0x4f9a6f);}}catch{}}function he(_0x2e6442,_0x1a0cb5,_0x82e2df){const _0x19cd12=_0x4a40;try{if(typeof performance<'u'){var _0x60297c,_0x1588b6;(_0x60297c=(_0x1588b6=performance)[_0x19cd12(0x357)])==null||_0x60297c['call'](_0x1588b6,_0x19cd12(0x386)+_0x2e6442,_0x1a0cb5,_0x82e2df);}}catch{}}function C(_0x2dc884){const _0x49fc4c=_0x4a40;var _0x264db8,_0x2d2450;return de()?S(_0x49fc4c(0x323),()=>ge(_0x2dc884),{'tableId':_0x2dc884['id'],'records':Object[_0x49fc4c(0x2fe)]((_0x264db8=_0x2dc884[_0x49fc4c(0x320)])==null?{}:_0x264db8)[_0x49fc4c(0x2b1)],'fields':_0x2dc884[_0x49fc4c(0x264)][_0x49fc4c(0x2b1)],'hasRecordOrder':!!((_0x2d2450=_0x2dc884[_0x49fc4c(0x275)])!=null&&_0x2d2450['length'])}):ge(_0x2dc884);}function ge(_0xb42583){const _0x5db352=_0x4a40;var _0x150ea1,_0x4ae8fc,_0x4eb162,_0xd55c10,_0x3c517b,_0x4ea340,_0x354ed9,_0x130c6f,_0xcf9de5,_0x2a70ad;let _0x36985b=(_0x150ea1=_0xb42583[_0x5db352(0x320)])==null?{}:_0x150ea1,_0x10579f=(_0x4ae8fc=_0xb42583['fields'])==null?{}:_0x4ae8fc,_0x1651ba=(_0x4eb162=(_0xd55c10=_0xb42583[_0x5db352(0x275)])==null?void 0x0:_0xd55c10['filter'](_0x5e99a3=>_0x36985b[_0x5e99a3]))==null?[]:_0x4eb162,_0x57dbe9=new Set(_0x1651ba),_0x5f0a5c=Object[_0x5db352(0x288)](_0x36985b)[_0x5db352(0x2db)](_0x3552cd=>!_0x57dbe9[_0x5db352(0x356)](_0x3552cd['id'])),_0x592e3b=_0x5f0a5c['length']?[..._0x1651ba,..._0x5f0a5c[_0x5db352(0x22f)]((_0x345a1c,_0x3349c1)=>_0x345a1c[_0x5db352(0x20e)][_0x5db352(0x16a)](_0x3349c1[_0x5db352(0x20e)]))['map'](_0xddfd9e=>_0xddfd9e['id'])]:_0x1651ba,_0x4ccf96=_0xb42583[_0x5db352(0x264)][_0x5db352(0x2db)](_0x55e1e5=>_0x10579f[_0x55e1e5]),_0x2ad93a={...(_0x3c517b=_0xb42583[_0x5db352(0x21e)])==null?{}:_0x3c517b},_0x9e5122={...(_0x4ea340=_0xb42583[_0x5db352(0x359)])==null?{}:_0x4ea340},_0x1077a1={...(_0x354ed9=_0xb42583[_0x5db352(0x29d)])==null?{}:_0x354ed9};return _0xb42583[_0x5db352(0x275)]=_0x592e3b,_0xb42583[_0x5db352(0x1dd)]={},_0xb42583[_0x5db352(0x21e)]={},_0xb42583[_0x5db352(0x3e6)]={},_0xb42583[_0x5db352(0x359)]={},_0xb42583[_0x5db352(0x29d)]={},_0xb42583['resources']={...(_0x130c6f=_0xb42583[_0x5db352(0x244)])==null?{}:_0x130c6f},_0xb42583[_0x5db352(0x244)][_0x5db352(0x1e0)]={...(_0xcf9de5=_0xb42583[_0x5db352(0x244)][_0x5db352(0x1e0)])==null?{}:_0xcf9de5},_0xb42583['resources'][_0x5db352(0x2a4)]={...(_0x2a70ad=_0xb42583[_0x5db352(0x244)]['attachments'])==null?{}:_0x2a70ad},_0x592e3b[_0x5db352(0x3f4)]((_0x286dea,_0x4c466b)=>{const _0x51a30e=_0x5db352;_0xb42583['rowIndex'][_0x286dea]=_0x4c466b,_0xb42583[_0x51a30e(0x21e)][_0x4c466b]=_0x286dea;}),_0x4ccf96[_0x5db352(0x3f4)]((_0x246131,_0x39868a)=>{const _0xf43135=_0x5db352;_0xb42583['colIndex'][_0x246131]=_0x39868a,_0xb42583[_0xf43135(0x359)][_0x39868a]=_0x246131;}),Object[_0x5db352(0x184)](_0x1077a1)['forEach'](([_0x449644,_0x20af6c])=>{const _0x4f2fbe=_0x5db352;var _0x4c9cbe,_0x1ed3dd;let _0x334376=Number(_0x449644),_0x169596=(_0x4c9cbe=_0x2ad93a[_0x334376])==null?_0x592e3b[_0x334376]:_0x4c9cbe,_0xeb25ed=_0x169596?_0xb42583[_0x4f2fbe(0x1dd)][_0x169596]:void 0x0;_0xeb25ed!=null&&(_0xb42583[_0x4f2fbe(0x29d)][_0xeb25ed]={...(_0x1ed3dd=_0xb42583[_0x4f2fbe(0x29d)][_0xeb25ed])==null?{}:_0x1ed3dd},Object[_0x4f2fbe(0x184)](_0x20af6c==null?{}:_0x20af6c)[_0x4f2fbe(0x3f4)](([_0x479303,_0x18c03c])=>{const _0xf1cb0=_0x4f2fbe;var _0x5ad270;let _0x13508f=Number(_0x479303),_0x59b0f5=(_0x5ad270=_0x9e5122[_0x13508f])==null?_0x4ccf96[_0x13508f]:_0x5ad270,_0xcfda28=_0x59b0f5?_0xb42583[_0xf1cb0(0x3e6)][_0x59b0f5]:void 0x0;_0xcfda28!=null&&(_0xb42583[_0xf1cb0(0x29d)][_0xeb25ed][_0xcfda28]=Ce(_0x18c03c));}));}),Object[_0x5db352(0x288)](_0x36985b)[_0x5db352(0x3f4)](_0x48a6a8=>{const _0x468218=_0x5db352;var _0xadf135,_0x2defcb;let _0x4584a0=_0xb42583[_0x468218(0x1dd)][_0x48a6a8['id']];_0x4584a0!=null&&(_0xb42583[_0x468218(0x29d)][_0x4584a0]={...(_0xadf135=_0xb42583[_0x468218(0x29d)][_0x4584a0])==null?{}:_0xadf135},Object[_0x468218(0x184)]((_0x2defcb=_0x48a6a8['values'])==null?{}:_0x2defcb)['forEach'](([_0x45432c,_0x460b28])=>{const _0x1fce6b=_0x468218;let _0x10343c=_0x10579f[_0x45432c];(_0x10343c==null?void 0x0:_0x10343c['type'])===_0x1fce6b(0x375)&&Oe(_0xb42583,_0x48a6a8['id'],_0x45432c,_0x460b28);let _0xccba62=_0xb42583[_0x1fce6b(0x3e6)][_0x45432c];if(_0xccba62==null)return;let _0x10c99a=_0xb42583[_0x1fce6b(0x29d)][_0x4584a0][_0xccba62];if(_0x10c99a!=null){je(_0x10c99a,_0x10343c,_0x460b28)&&(_0xb42583[_0x1fce6b(0x29d)][_0x4584a0][_0xccba62]=w(_0x460b28,_0x10343c));return;}_0xb42583['cellData'][_0x4584a0][_0xccba62]=w(_0x460b28,_0x10343c);}));}),_0xb42583;}function _e(_0x1edd94){const _0xc5182e=_0x4a40;var _0x23fd80;return C(_0x1edd94),Object[_0xc5182e(0x184)]((_0x23fd80=_0x1edd94[_0xc5182e(0x21e)])==null?{}:_0x23fd80)[_0xc5182e(0x3f4)](([_0x26e5ea,_0xf4cee3])=>{const _0x4a96fb=_0xc5182e;var _0x347ef1,_0x212092,_0x42516d;let _0x3819e5=Number(_0x26e5ea),_0x57ff6f=_0x1edd94['records'][_0xf4cee3];_0x57ff6f&&(_0x57ff6f[_0x4a96fb(0x288)]={...(_0x347ef1=_0x57ff6f[_0x4a96fb(0x288)])==null?{}:_0x347ef1},Object[_0x4a96fb(0x184)]((_0x212092=(_0x42516d=_0x1edd94[_0x4a96fb(0x29d)])==null?void 0x0:_0x42516d[_0x3819e5])==null?{}:_0x212092)[_0x4a96fb(0x3f4)](([_0x250b5f,_0x521da4])=>{const _0xc04f0=_0x4a96fb;var _0x4cc0f7;let _0xa76692=(_0x4cc0f7=_0x1edd94[_0xc04f0(0x359)])==null?void 0x0:_0x4cc0f7[Number(_0x250b5f)];_0xa76692&&(_0x57ff6f[_0xc04f0(0x288)][_0xa76692]=we(_0x521da4,_0x1edd94[_0xc04f0(0x204)][_0xa76692],_0x1edd94,_0xf4cee3));}));}),_0x1edd94;}function ve(_0x4b4c3a,_0x250892){const _0x24aa0a=_0x4a40;for(let {row:_0xdde7d7,col:_0x33f58b}of _0x250892){var _0x1169eb,_0x49990a,_0x8d0959,_0x15592b;let _0xd6dc7e=(_0x1169eb=_0x4b4c3a[_0x24aa0a(0x21e)])==null?void 0x0:_0x1169eb[_0xdde7d7],_0x2ad4d1=(_0x49990a=_0x4b4c3a[_0x24aa0a(0x359)])==null?void 0x0:_0x49990a[_0x33f58b],_0xfc3875=_0xd6dc7e?_0x4b4c3a[_0x24aa0a(0x320)][_0xd6dc7e]:void 0x0;!_0xfc3875||!_0x2ad4d1||(_0xfc3875['values']={...(_0x8d0959=_0xfc3875['values'])==null?{}:_0x8d0959},_0xfc3875[_0x24aa0a(0x288)][_0x2ad4d1]=we((_0x15592b=_0x4b4c3a[_0x24aa0a(0x29d)])==null||(_0x15592b=_0x15592b[_0xdde7d7])==null?void 0x0:_0x15592b[_0x33f58b],_0x4b4c3a[_0x24aa0a(0x204)][_0x2ad4d1],_0x4b4c3a,_0xd6dc7e));}return _0x4b4c3a;}function ye(_0x5e60b7,_0x1a0d94,_0x3a5d00){const _0x5dd9aa=_0x4a40;var _0x43a4a2,_0x1ad7f4,_0x4ce9af,_0x123e73,_0x69dca,_0x57935c;let _0x1f6c09=(_0x43a4a2=_0x5e60b7[_0x5dd9aa(0x1dd)])==null?void 0x0:_0x43a4a2[_0x1a0d94],_0x514f50=(_0x1ad7f4=_0x5e60b7[_0x5dd9aa(0x3e6)])==null?void 0x0:_0x1ad7f4[_0x3a5d00];if(_0x1f6c09!=null&&_0x514f50!=null&&((_0x4ce9af=_0x5e60b7[_0x5dd9aa(0x21e)])==null?void 0x0:_0x4ce9af[_0x1f6c09])===_0x1a0d94&&((_0x123e73=_0x5e60b7['colId'])==null?void 0x0:_0x123e73[_0x514f50])===_0x3a5d00)return{'row':_0x1f6c09,'col':_0x514f50};let _0x3d02df=C(_0x5e60b7),_0x169d9a=(_0x69dca=_0x3d02df[_0x5dd9aa(0x1dd)])==null?void 0x0:_0x69dca[_0x1a0d94],_0x68e835=(_0x57935c=_0x3d02df['colIndex'])==null?void 0x0:_0x57935c[_0x3a5d00];return _0x169d9a==null||_0x68e835==null?null:{'row':_0x169d9a,'col':_0x68e835};}function be(_0x1778c2,_0x304c59,_0x4836ee){const _0x555f5e=_0x4a40;var _0x1908dd;let _0x54379e=ye(_0x1778c2,_0x304c59,_0x4836ee);if(_0x54379e)return(_0x1908dd=_0x1778c2[_0x555f5e(0x29d)])==null||(_0x1908dd=_0x1908dd[_0x54379e[_0x555f5e(0x2d5)]])==null?void 0x0:_0x1908dd[_0x54379e[_0x555f5e(0x3e2)]];}function xe(_0x316444,_0x3e79ea,_0x275c1e){const _0x439563=_0x4a40;var _0x243386,_0x4eb0c9;let _0x4d6a4d=be(_0x316444,_0x3e79ea,_0x275c1e),_0x2f406e=_0x316444[_0x439563(0x204)][_0x275c1e];if((_0x2f406e==null?void 0x0:_0x2f406e[_0x439563(0x1b1)])===_0x439563(0x375)){var _0x42ae08,_0x2b9e60;return(_0x42ae08=ke(_0x316444,_0x3e79ea,_0x275c1e))==null?T((_0x2b9e60=_0x316444[_0x439563(0x320)][_0x3e79ea])==null||(_0x2b9e60=_0x2b9e60[_0x439563(0x288)])==null?void 0x0:_0x2b9e60[_0x275c1e]):_0x42ae08;}if(E(_0x2f406e)||(_0x2f406e==null?void 0x0:_0x2f406e[_0x439563(0x1b1)])===_0x439563(0x2ff)){var _0x902cba;let _0x5d1912=(_0x902cba=_0x316444['records'][_0x3e79ea])==null||(_0x902cba=_0x902cba['values'])==null?void 0x0:_0x902cba[_0x275c1e];return _0x5d1912!=null&&_0x5d1912!==''?Ae(_0x5d1912,_0x2f406e):we(_0x4d6a4d,_0x2f406e,_0x316444,_0x3e79ea);}if(_0x4d6a4d&&Object[_0x439563(0x402)][_0x439563(0x224)]['call'](_0x4d6a4d,'v')){var _0x5d942e;return(_0x5d942e=_0x4d6a4d['v'])==null?null:_0x5d942e;}return(_0x243386=(_0x4eb0c9=_0x316444[_0x439563(0x320)][_0x3e79ea])==null||(_0x4eb0c9=_0x4eb0c9['values'])==null?void 0x0:_0x4eb0c9[_0x275c1e])==null?null:_0x243386;}function Se(_0x51b1ab,_0xc51bbb,_0x4b643d){const _0x2cf760=_0x4a40;var _0x1c4638,_0x35532c,_0x53e32f;let _0x29e247=be(_0x51b1ab,_0xc51bbb,_0x4b643d);if(_0x29e247&&Object['prototype'][_0x2cf760(0x224)][_0x2cf760(0x1b4)](_0x29e247,'v')){var _0xf878c3;return(_0xf878c3=_0x29e247['v'])==null?null:_0xf878c3;}let _0xa56a7=_0x51b1ab['fields'][_0x4b643d];return(_0x1c4638=w((_0x35532c=(_0x53e32f=_0x51b1ab[_0x2cf760(0x320)][_0xc51bbb])==null||(_0x53e32f=_0x53e32f[_0x2cf760(0x288)])==null?void 0x0:_0x53e32f[_0x4b643d])==null?null:_0x35532c,_0xa56a7)['v'])==null?null:_0x1c4638;}function w(_0x2f94d7,_0x3f730c){const _0xe67502=_0x4a40;if(Ee(_0x2f94d7))return(_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x375)?{..._0x2f94d7,'v':'','t':_0x44215b['STRING']}:Ce(_0x2f94d7);if((_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x375))return{'v':'','t':_0x44215b[_0xe67502(0x1ec)]};if(E(_0x3f730c))return{'v':Me(_0x2f94d7)[_0xe67502(0x1dc)](',\x20'),'t':_0x44215b[_0xe67502(0x1ec)]};if((_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x2ff)&&_0x2f94d7&&typeof _0x2f94d7==_0xe67502(0x331)&&!Array[_0xe67502(0x23e)](_0x2f94d7)){var _0x1c5a77,_0x40ce46;let _0x441b19=_0x2f94d7;return{'v':String((_0x1c5a77=(_0x40ce46=_0x441b19[_0xe67502(0x1a1)])==null?_0x441b19[_0xe67502(0x3af)]:_0x40ce46)==null?'':_0x1c5a77),'t':_0x44215b[_0xe67502(0x1ec)]};}return _0x2f94d7===null||typeof _0x2f94d7=='string'||typeof _0x2f94d7==_0xe67502(0x1e4)||typeof _0x2f94d7==_0xe67502(0x2b2)?{'v':_0x2f94d7,'t':Pe(_0x2f94d7)}:{'v':null,'t':null};}function Ce(_0x17f3ab){let _0x4f55ed=Fe(_0x17f3ab['t'],_0x17f3ab['v']);if(_0x4f55ed===void 0x0){let {t:_0x4c003f,..._0x48ea03}=_0x17f3ab;return _0x48ea03;}return{..._0x17f3ab,'t':_0x4f55ed};}function we(_0x49c076,_0x4c9220,_0x1360c3,_0x789349){const _0x44c4cf=_0x4a40;if(!_0x49c076)return null;if((_0x4c9220==null?void 0x0:_0x4c9220['type'])===_0x44c4cf(0x375)){var _0x5a0ce0;return _0x1360c3&&_0x789349?(_0x5a0ce0=ke(_0x1360c3,_0x789349,_0x4c9220['id']))==null?[]:_0x5a0ce0:[];}if(E(_0x4c9220))return Me(_0x49c076['v']);if((_0x4c9220==null?void 0x0:_0x4c9220['type'])===_0x44c4cf(0x2ff)&&_0x1360c3&&_0x789349){var _0x5e4d10;let _0x11f15e=(_0x5e4d10=_0x1360c3[_0x44c4cf(0x320)][_0x789349])==null||(_0x5e4d10=_0x5e4d10[_0x44c4cf(0x288)])==null?void 0x0:_0x5e4d10[_0x4c9220['id']];if(_0x11f15e&&typeof _0x11f15e==_0x44c4cf(0x331)&&!Array['isArray'](_0x11f15e))return _0x11f15e;}if(Object['prototype']['hasOwnProperty'][_0x44c4cf(0x1b4)](_0x49c076,'v')){var _0x32b764;return(_0x32b764=_0x49c076['v'])==null?null:_0x32b764;}return null;}function Te(_0x2b4584,_0x218390,_0x213cc6,_0xb30baa,_0x1f8660){const _0x41bd84=_0x4a40;return(_0x213cc6==null?void 0x0:_0x213cc6['type'])==='attachment'?T(_0x2b4584):E(_0x213cc6)?Me(_0x2b4584):(_0x213cc6==null?void 0x0:_0x213cc6[_0x41bd84(0x1b1)])===_0x41bd84(0x2ff)&&_0x2b4584&&typeof _0x2b4584==_0x41bd84(0x331)&&!Array[_0x41bd84(0x23e)](_0x2b4584)&&!Ee(_0x2b4584)?_0x2b4584:we(_0x218390,_0x213cc6,_0xb30baa,_0x1f8660);}function Ee(_0xe27a0e){const _0x569ac3=_0x4a40;return!!_0xe27a0e&&typeof _0xe27a0e==_0x569ac3(0x331)&&(Object['prototype'][_0x569ac3(0x224)][_0x569ac3(0x1b4)](_0xe27a0e,'v')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'t')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'p')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'f')||Object[_0x569ac3(0x402)][_0x569ac3(0x224)]['call'](_0xe27a0e,'si'));}function De(_0x13cf6c,_0x584cb5){return _0x13cf6c+'\x1f'+_0x584cb5;}function Oe(_0x388e39,_0x169727,_0x322726,_0x50b766){const _0x2242fa=_0x4a40;var _0x427fdd,_0x125bee,_0x5992ce;let _0x1b50dd=T(_0x50b766);_0x388e39[_0x2242fa(0x244)]={...(_0x427fdd=_0x388e39[_0x2242fa(0x244)])==null?{}:_0x427fdd},_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)]={...(_0x125bee=_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)])==null?{}:_0x125bee},_0x388e39['resources']['attachments']={...(_0x5992ce=_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x2a4)])==null?{}:_0x5992ce};let _0x34ff4b=De(_0x322726,_0x169727);_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)][_0x34ff4b]=_0x1b50dd[_0x2242fa(0x1d3)]((_0x2f9daf,_0x455fcc)=>{const _0x2297b8=_0x2242fa;var _0x43e68f;let _0x19e2b4=String((_0x43e68f=_0x2f9daf['id'])==null?_0x34ff4b+'\x1f'+_0x455fcc:_0x43e68f),_0x366bf6={..._0x2f9daf,'id':_0x19e2b4};return _0x388e39[_0x2297b8(0x244)][_0x2297b8(0x2a4)][_0x19e2b4]=_0x366bf6,_0x19e2b4;});}function ke(_0x3f6d6d,_0x3542fb,_0x3ca4fa){const _0x49709b=_0x4a40;var _0x47954e;let _0x1b69ff=De(_0x3ca4fa,_0x3542fb),_0x4f45b8=(_0x47954e=_0x3f6d6d['resources'])==null||(_0x47954e=_0x47954e[_0x49709b(0x1e0)])==null?void 0x0:_0x47954e[_0x1b69ff];return _0x4f45b8?_0x4f45b8[_0x49709b(0x1d3)](_0x1c39cb=>{const _0x277ece=_0x49709b;var _0x4a96e3;return(_0x4a96e3=_0x3f6d6d[_0x277ece(0x244)])==null||(_0x4a96e3=_0x4a96e3[_0x277ece(0x2a4)])==null?void 0x0:_0x4a96e3[_0x1c39cb];})['filter'](_0x3a08f8=>!!_0x3a08f8)[_0x49709b(0x1d3)](_0x5c8933=>({..._0x5c8933})):null;}function T(_0x1cda29){const _0x83030d=_0x4a40;return _0x1cda29==null||_0x1cda29===''||Ee(_0x1cda29)&&!('id'in _0x1cda29)&&!('name'in _0x1cda29)?[]:(Array['isArray'](_0x1cda29)?_0x1cda29:[_0x1cda29])[_0x83030d(0x1d3)]((_0x5e10e5,_0x58eadc)=>_0x5e10e5&&typeof _0x5e10e5==_0x83030d(0x331)?{..._0x5e10e5}:{'id':_0x83030d(0x205)+_0x58eadc,'name':String(_0x5e10e5)})[_0x83030d(0x2db)](_0x1dc9dd=>Object[_0x83030d(0x2fe)](_0x1dc9dd)['length']>0x0);}function Ae(_0x3483e4,_0x2f41f9){const _0x1665b0=_0x4a40;return(_0x2f41f9==null?void 0x0:_0x2f41f9[_0x1665b0(0x1b1)])===_0x1665b0(0x375)?T(_0x3483e4):E(_0x2f41f9)?Me(_0x3483e4):_0x3483e4;}function je(_0x4d9ab6,_0x171213,_0x309a5e){const _0x5d65e6=_0x4a40;return(_0x171213==null?void 0x0:_0x171213[_0x5d65e6(0x1b1)])==='attachment'?_0x4d9ab6['v']!=='':E(_0x171213)?Array[_0x5d65e6(0x23e)](_0x309a5e)&&(_0x4d9ab6['v']==null||_0x4d9ab6['v']===''):!0x1;}function E(_0x4a45dd){const _0x1a04f0=_0x4a40;return(_0x4a45dd==null?void 0x0:_0x4a45dd[_0x1a04f0(0x1b1)])===_0x1a04f0(0x380)||(_0x4a45dd==null?void 0x0:_0x4a45dd[_0x1a04f0(0x1b1)])===_0x1a04f0(0x3e3)||(_0x4a45dd==null?void 0x0:_0x4a45dd['type'])===_0x1a04f0(0x403);}function Me(_0x25ea99){const _0x2214f3=_0x4a40;return _0x25ea99==null||_0x25ea99===''?[]:Array[_0x2214f3(0x23e)](_0x25ea99)?_0x25ea99['map'](_0x13d6ef=>Ne(_0x13d6ef))[_0x2214f3(0x2db)](Boolean):String(_0x25ea99)[_0x2214f3(0x3ef)](',')[_0x2214f3(0x1d3)](_0x276f64=>_0x276f64[_0x2214f3(0x297)]())[_0x2214f3(0x2db)](Boolean);}function Ne(_0x10f6ea){const _0xd3cae5=_0x4a40;if(_0x10f6ea==null)return'';if(typeof _0x10f6ea==_0xd3cae5(0x3f7)||typeof _0x10f6ea==_0xd3cae5(0x1e4)||typeof _0x10f6ea==_0xd3cae5(0x2b2))return String(_0x10f6ea);if(typeof _0x10f6ea=='object'){var _0x3920d9,_0x1e5db3,_0x1a4258;let _0x362bf6=_0x10f6ea;return String((_0x3920d9=(_0x1e5db3=(_0x1a4258=_0x362bf6['id'])==null?_0x362bf6[_0xd3cae5(0x1fe)]:_0x1a4258)==null?_0x362bf6['text']:_0x1e5db3)==null?'':_0x3920d9);}return String(_0x10f6ea);}function Pe(_0x5546f5){const _0x1f1ac4=_0x4a40;return _0x5546f5==null?null:typeof _0x5546f5==_0x1f1ac4(0x1e4)?_0x44215b['NUMBER']:typeof _0x5546f5==_0x1f1ac4(0x2b2)?_0x44215b[_0x1f1ac4(0x2d8)]:_0x44215b[_0x1f1ac4(0x1ec)];}function Fe(_0x1665a0,_0x41b892){const _0x42d28f=_0x4a40;return _0x1665a0===_0x44215b[_0x42d28f(0x1ec)]||_0x1665a0===_0x44215b[_0x42d28f(0x3fd)]||_0x1665a0===_0x44215b['BOOLEAN']||_0x1665a0===_0x44215b[_0x42d28f(0x302)]||_0x1665a0==null?_0x1665a0:Pe(_0x41b892==null?null:_0x41b892);}var D=class{[_0x3401ce(0x197)](_0x2dac25,_0x2be471){const _0x296106=_0x3401ce;let _0x46e9f2=this[_0x296106(0x19a)](_0x2be471),_0x1a7d97=S(_0x296106(0x26e),()=>Ue(_0x2dac25,_0x2be471),{'invalidations':_0x46e9f2['length']}),_0x57c492=S(_0x296106(0x206),()=>_0x1811e5[_0x296106(0x1b1)][_0x296106(0x39e)](_0x1a7d97,_0x2be471),{'invalidations':_0x46e9f2[_0x296106(0x2b1)]});return Ie(_0x57c492,_0x46e9f2)||this[_0x296106(0x3c1)](_0x57c492,_0x46e9f2)[_0x296106(0x3f4)](_0x1ce559=>{_e(_0x1ce559);}),_0x57c492;}[_0x3401ce(0x3ee)](_0x1cb14b,_0x16f878){const _0x3ca819=_0x3401ce;return _0x1811e5[_0x3ca819(0x1b1)][_0x3ca819(0x2e1)](_0x16f878,_0x1cb14b);}[_0x3401ce(0x19a)](_0x16f982){const _0x56dd1c=_0x3401ce;let _0x133df2=Be(_0x16f982);return _0x133df2[_0x56dd1c(0x2b1)]?Ve(_0x133df2[_0x56dd1c(0x278)](_0x59f165=>this[_0x56dd1c(0x19a)](_0x59f165))):Le(_0x16f982);}['_getTablesToNormalize'](_0x17ef47,_0x5e6350){const _0x56fc48=_0x3401ce;if(!_0x5e6350['length'])return[];if(_0x5e6350[_0x56fc48(0x341)](_0x43eb6f=>!_0x43eb6f[_0x56fc48(0x18a)])){var _0x3d7204;return Object[_0x56fc48(0x288)]((_0x3d7204=_0x17ef47[_0x56fc48(0x391)])==null?{}:_0x3d7204);}return Array[_0x56fc48(0x33e)](new Set(_0x5e6350[_0x56fc48(0x1d3)](_0x221d85=>_0x221d85['tableId'])))[_0x56fc48(0x278)](_0x7263b6=>{const _0x4b54ba=_0x56fc48;var _0x8dc44e;let _0x39aa2f=(_0x8dc44e=_0x17ef47[_0x4b54ba(0x391)])==null?void 0x0:_0x8dc44e[_0x7263b6];return _0x39aa2f?[_0x39aa2f]:[];});}};function Ie(_0x439785,_0x5008c2){const _0x599937=_0x3401ce;if(!_0x5008c2[_0x599937(0x2b1)]||_0x5008c2['some'](_0x56eeb1=>_0x56eeb1[_0x599937(0x35d)]!==_0x599937(0x3ad)))return!0x1;let _0x3b5c9e=new Map();for(let _0x44901d of _0x5008c2){var _0x2050f3;if(!_0x44901d[_0x599937(0x18a)]||_0x44901d[_0x599937(0x2d5)]==null||_0x44901d[_0x599937(0x311)]==null)continue;let _0x4a91b9=(_0x2050f3=_0x3b5c9e[_0x599937(0x192)](_0x44901d['tableId']))==null?[]:_0x2050f3;_0x4a91b9[_0x599937(0x2b5)]({'row':_0x44901d['row'],'col':_0x44901d[_0x599937(0x311)]}),_0x3b5c9e[_0x599937(0x270)](_0x44901d[_0x599937(0x18a)],_0x4a91b9);}return _0x3b5c9e[_0x599937(0x3f4)]((_0x79bb70,_0x23de87)=>{var _0x22154f;let _0x3d050c=(_0x22154f=_0x439785['tables'])==null?void 0x0:_0x22154f[_0x23de87];_0x3d050c&&ve(_0x3d050c,_0x79bb70);}),!0x0;}function Le(_0x687ae){const _0x14e1ca=_0x3401ce;if(!Array[_0x14e1ca(0x23e)](_0x687ae)||_0x687ae[_0x14e1ca(0x2b1)]<0x2)return[{'tableId':'','reason':_0x14e1ca(0x3f2)}];let _0x5b0d79=_0x687ae,_0x2c7d69=_0x5b0d79[_0x14e1ca(0x255)](_0x14e1ca(0x391));return _0x2c7d69===-0x1||typeof _0x5b0d79[_0x2c7d69+0x1]!=_0x14e1ca(0x3f7)?_0x5b0d79[0x0]===_0x14e1ca(0x207)?[]:[{'tableId':'','reason':'unknown'}]:Re(_0x5b0d79,_0x2c7d69,String(_0x5b0d79[_0x2c7d69+0x1]));}function Re(_0x868db5,_0x3c2505,_0x5e12fe){const _0x47900f=_0x3401ce;let _0x3fcb04=_0x868db5[_0x3c2505+0x2];return _0x3fcb04===_0x47900f(0x320)&&typeof _0x868db5[_0x3c2505+0x3]==_0x47900f(0x3f7)?ze(_0x868db5,_0x3c2505,_0x5e12fe,String(_0x868db5[_0x3c2505+0x3])):_0x3fcb04==='cellData'&&_0x868db5[_0x3c2505+0x3]!=null&&_0x868db5[_0x3c2505+0x4]!=null?[{'tableId':_0x5e12fe,'reason':_0x47900f(0x3ad),'row':Number(_0x868db5[_0x3c2505+0x3]),'column':Number(_0x868db5[_0x3c2505+0x4])}]:_0x3fcb04===_0x47900f(0x204)&&typeof _0x868db5[_0x3c2505+0x3]=='string'?[{'tableId':_0x5e12fe,'reason':_0x47900f(0x1a4),'fieldId':String(_0x868db5[_0x3c2505+0x3])}]:_0x3fcb04===_0x47900f(0x2ae)&&typeof _0x868db5[_0x3c2505+0x3]==_0x47900f(0x3f7)?[{'tableId':_0x5e12fe,'reason':'view','viewId':String(_0x868db5[_0x3c2505+0x3])}]:[{'tableId':_0x5e12fe,'reason':_0x3fcb04===void 0x0?_0x47900f(0x39c):_0x47900f(0x3f2)}];}function ze(_0x31e2dc,_0x2eead3,_0x3acac5,_0x397938){const _0x4b5e63=_0x3401ce;return _0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x288)&&typeof _0x31e2dc[_0x2eead3+0x5]==_0x4b5e63(0x3f7)?[{'tableId':_0x3acac5,'reason':'cell','recordId':_0x397938,'fieldId':String(_0x31e2dc[_0x2eead3+0x5])}]:_0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x1c8)||_0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x389)?[]:[{'tableId':_0x3acac5,'reason':_0x4b5e63(0x305),'recordId':_0x397938}];}function Be(_0x57c368){const _0xfaed5c=_0x3401ce;if(!Array['isArray'](_0x57c368))return[];let _0x367a98=_0x57c368[_0xfaed5c(0x2db)](Array['isArray']);if(_0x367a98[_0xfaed5c(0x2b1)]>0x1&&_0x367a98[_0xfaed5c(0x2b1)]===_0x57c368[_0xfaed5c(0x2b1)])return _0x367a98;let _0x14868a=_0x57c368[_0xfaed5c(0x3a8)](Array[_0xfaed5c(0x23e)]);if(_0x14868a>0x0&&_0x57c368[_0xfaed5c(0x18b)](_0x14868a)[_0xfaed5c(0x27b)](Array[_0xfaed5c(0x23e)])){let _0x1ee95d=_0x57c368[_0xfaed5c(0x18b)](0x0,_0x14868a);return _0x57c368[_0xfaed5c(0x18b)](_0x14868a)[_0xfaed5c(0x1d3)](_0x1641fe=>[..._0x1ee95d,..._0x1641fe]);}let _0x22989b=_0x57c368['indexOf'](_0xfaed5c(0x391));if(_0x22989b===-0x1||typeof _0x57c368[_0x22989b+0x1]!=_0xfaed5c(0x3f7))return[];let _0x2fe4b5=String(_0x57c368[_0x22989b+0x1]),_0xa7ac57=_0x57c368['slice'](_0x22989b+0x2)[_0xfaed5c(0x2db)](Array[_0xfaed5c(0x23e)]);return _0xa7ac57[_0xfaed5c(0x2b1)]<=0x1?[]:_0xa7ac57[_0xfaed5c(0x1d3)](_0x28be10=>['tables',_0x2fe4b5,..._0x28be10]);}function Ve(_0x307ec8){const _0x397d33=_0x3401ce;let _0x440299=new Set();return _0x307ec8[_0x397d33(0x2db)](_0x29a53f=>{const _0x29e772=_0x397d33;let _0x249efd=JSON[_0x29e772(0x2e9)](_0x29a53f);return _0x440299['has'](_0x249efd)?!0x1:(_0x440299['add'](_0x249efd),!0x0);});}function He(_0x248e44){const _0x8b690e=_0x3401ce;return _0x2c5b3b[_0x8b690e(0x328)](_0x248e44);}function Ue(_0x5a8fb6,_0x37f0e2){let _0x5a1315=We(_0x37f0e2);if(!_0x5a1315['length'])return He(_0x5a8fb6);let _0x178074=Ye(_0x5a8fb6);for(let _0x5c6bc9 of _0x5a1315)qe(_0x178074,_0x5c6bc9);return _0x178074;}function We(_0x84cc33){let _0x4e206b=[];return Ge(_0x84cc33,[],_0x4e206b),_0x4e206b;}function Ge(_0x43e32c,_0x5981bc,_0x5243bb){const _0x60983c=_0x3401ce;if(!Array['isArray'](_0x43e32c))return;let _0x5b6f93=[];for(let _0x5a1a95 of _0x43e32c){if(Array[_0x60983c(0x23e)](_0x5a1a95)){Ge(_0x5a1a95,[..._0x5981bc,..._0x5b6f93],_0x5243bb);continue;}if(Ke(_0x5a1a95)){_0x5243bb[_0x60983c(0x2b5)]([..._0x5981bc,..._0x5b6f93]);continue;}(typeof _0x5a1a95==_0x60983c(0x3f7)||typeof _0x5a1a95==_0x60983c(0x1e4))&&_0x5b6f93[_0x60983c(0x2b5)](_0x5a1a95);}}function Ke(_0x3c4c2f){const _0x12bbb8=_0x3401ce;if(!_0x3c4c2f||typeof _0x3c4c2f!=_0x12bbb8(0x331)||Array[_0x12bbb8(0x23e)](_0x3c4c2f))return!0x1;let _0x4a0999=_0x3c4c2f;return'i'in _0x4a0999||'r'in _0x4a0999||'p'in _0x4a0999||'d'in _0x4a0999||'es'in _0x4a0999||'ena'in _0x4a0999||'et'in _0x4a0999;}function qe(_0x1d71d4,_0x445d50){const _0x23b7fb=_0x3401ce;let _0x164b9e=_0x1d71d4;for(let _0x54ef06=0x0;_0x54ef06<_0x445d50[_0x23b7fb(0x2b1)]-0x1;_0x54ef06++){let _0x2972ff=_0x445d50[_0x54ef06],_0x1ddd77=_0x164b9e==null?void 0x0:_0x164b9e[_0x2972ff];if(!Je(_0x1ddd77))return;let _0x1f62bc=Ye(_0x1ddd77);_0x164b9e[_0x2972ff]=_0x1f62bc,_0x164b9e=_0x1f62bc;}}function Je(_0x4ab977){const _0xacdf9c=_0x3401ce;return!!_0x4ab977&&typeof _0x4ab977==_0xacdf9c(0x331);}function _0x4a40(_0x56fb35,_0x310a1f){_0x56fb35=_0x56fb35-0x154;const _0x3d2d6b=_0x3d2d();let _0x4a40e2=_0x3d2d6b[_0x56fb35];return _0x4a40e2;}function Ye(_0x557086){const _0x4fdf84=_0x3401ce;return Array[_0x4fdf84(0x23e)](_0x557086)?_0x557086[_0x4fdf84(0x18b)]():{..._0x557086};}const Xe=0x5a0*0x3c*0x3e8,Ze=0x63e1,Qe=_0x3401ce(0x3bf),$e={'yyyy/mm/dd':_0x3401ce(0x185),'yyyy/mm/dd\x20hh:mm':_0x3401ce(0x1d7),'yyyy-mm-dd':_0x3401ce(0x3ed),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x3401ce(0x406),'mmm\x20d,\x20yyyy':_0x3401ce(0x3a5)};function O(_0x375c7a){const _0x8f7108=_0x3401ce;return _0x80569f(_0x375c7a)[_0x8f7108(0x248)]()/Xe+Ze;}function et(_0x9876bf){return(_0x9876bf-Ze)*Xe;}function k(_0xc2d273){const _0x10c6a3=_0x3401ce;if(_0xc2d273==null||_0xc2d273==='')return null;if(_0xc2d273 instanceof Date)return O(_0xc2d273);if(typeof _0xc2d273==_0x10c6a3(0x1e4))return Number[_0x10c6a3(0x2fd)](_0xc2d273)?_0xc2d273>0xf4240?O(_0xc2d273):_0xc2d273:null;let _0x148737=Date['parse'](String(_0xc2d273));return Number['isNaN'](_0x148737)?null:O(_0x148737);}function A(_0x295149){let _0x3b323f=k(_0x295149);return _0x3b323f==null?null:et(_0x3b323f);}function _0x3d2d(){const _0x44c977=['_kanbanLaneTitle','lastIndexOf','base-perf-','getTypeOfUnitAdded$','desc','thisWeek','remove','system','canDeleteRecord','[BaseFormula]:\x20field\x20\x22','fieldOrder','_initialize','base.command.update-base-kanban-config','fld-','decimal','sheetId','BaseProjection.projectRows','univer.basePerf','_getCellRevision','next30','BaseJson1.cloneForOp','endsWith','set','includeRecords','_rowTransformCacheSegment',':start','#FDE68A','recordOrder','summary','getUTCDate','flatMap','setHours','changed','every','COMMAND','manual','_setViewFieldSetting','executeCommand','_dataSyncPrimaryController','calendar','_filterRows','h:mm\x20a','checkbox','_materializeGroups','_isAllDayGanttDateRange','_cellInvalidationsTouchFields','values','Doing','dateMode','formulaData','_calendarEventColor','year','_shouldRefreshSuperTables','percent','base.fieldType.','formula','setViewFieldWidth','_buildGallery','week','barcode','end','trim','conditions','_filterSortFieldIds','base.command.move-base-field','short','createRecord','cellData','options','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','#14b8a6','createRecords','working','NumberFormat','attachments','1272393tbTFEd','replace','progress','[BaseField]:\x20invalid\x20phone\x20value.','mark','_findCalendarDateFieldId','deleteRecord','base.field-registry.service','diffValue','views','useThousands','37984rKXmnF','length','boolean','path','columnSettings','push','_getTable','base.command.set-base-range-values','BaseProjection.filterAndSortRows','[BaseCommandService]:\x20cannot\x20edit\x20field.','toPrimitive','default','_initCommands','progressFieldId','[BaseCommandService]:\x20cannot\x20delete\x20table.','createViewId','query','recordPatch','getStructuredDependencies','canManageView','_projectionCache','base.command.set-base-view-field-width','Failed\x20to\x20create\x20update\x20cell\x20operation:','createBatchCreateRecordsOp','__all__','start','_univerInstanceService','children','direction','False','_views','hidden','getUTCFullYear','deleteView','afterFieldId','workingDays','toFixed','row','regenerateViewIds','createdAt','BOOLEAN','bases.remote.config','_projectFields','filter','next7','__BASE_FORMULA_REF_','REMOTE_BASES_PLUGIN','level','_permissionService','invertWithDoc','coverFieldId','_getSystemFieldValue','limit','reduce','isNot','register','focusUnit','stringify','colorFieldId','cardLayout','_syncFormulaData','base.command.set-base-view-filter','edit','_kanbanLaneColor','title','option-','registerSyncingMutations','registerTable','base.mutation.apply-base-json1','_normalizeCalendarDisplayColor','clearBasePermission','canEditCell','_registerSuperTables','setRecordValues','rows','general','_resolveGanttDateFieldId','isFinite','keys','link','fromEntries','weekdays','FORCE_STRING','local','base.resource.service','record','_getJson1DirtyData','star','off','canCreateTable','value','custom','base.command.create-base-table','_configService','fieldIndex','_getOrderedActiveRecords','size','column','exceptions','True','base.command.create-base-view','[BaseCommandService]:\x20cannot\x20delete\x20field.','Todo','_sortRows','_getStructureDirtyTableIds','params','base.command.create-base-record','_isCalendarDateField','_patchProjectedRowsForCellInvalidations','invalidateByOp','patches','_getAllBaseDirtySuperTableMap','records','_viewRowsCacheKey','canCreateField','BaseCellData.ensureTableCellLayout','_capabilities','large','_viewRevisions','getSnapshot','deepClone','getUTCDay','_buildGrid','invalidGroupField','userID','recordIds','#,##0','_buildGantt','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','object','base.command.change-base-field-type','_fastSortRows','formatToParts','singleSelect','version','getCurrentUserId','[BaseCommandService]:\x20cannot\x20create\x20record.','projection','[BaseField]:\x20invalid\x20multi-value\x20reference.','conjunction','repeat','_createDirtyData','from','_isKanbanGroupField','after','some','thisMonth','allowMultiple','constructor','_projectedViewRowsCache','primaryFieldId','_projectedRowsCache','syncUnit','_matchesGanttColorRule','onReady','tableRevision','past30','updateField','gantt','registerView','_plugins','todo','moveView','view-','viewRevision','normalize','has','measure','search','colId','updateCell','conditional','BASES_PLUGIN','reason','toLocaleString','getItem','getBase','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20checkbox\x20value.','tomorrow','getAllUnitsForType','_runtimeContext','function','timeslotSize','trigger','_title','879HnysqW','_groupsCacheKey','selectField','true','Start\x20date','small','gallery','[BaseField]:\x20invalid\x20rating\x20value.','base.command.batch-delete-base-records','usableAsGanttStart','rowIndexById','attachment','[BaseCommandService]:\x20cannot\x20create\x20table.','en-US','updateViewConfig','month','100XgqJVd','h12','_normalizeCellValue','abbreviation','includes','includeTime','multiSelect',',\x22K\x22','snapshot','tableName','_syncBaseUnit','order','[BasePerf]\x20','find','displayColor','updatedBy','base.command.duplicate-base-record','insertOp','unitData','_patchCachedProjectedRows','[BaseCommandService]:\x20invalid\x20cell\x20value.','_normalizeGanttDisplayColor','[[#This\x20Row],[','tables','timeZone','round','base.command.update-base-field','setViewSort','email','createView','operand','getUnit','General','major-','table','renameView','apply','Done','base.viewType.kanban','operator','createTable','@univerjs-pro/bases','_findKanbanGroupField','MMM\x20D,\x20YYYY','day','matchAll','findIndex','_recordPermissions','setFieldPermission','moveField','_resolveGalleryCoverFieldId','cell','valid','url','\x22\x20is\x20not\x20registered.','_shouldSyncFormulaData','now','#3b82f6','setViewFieldOrder','setViewFieldVisible','UTC','contains','setViewGroup','deleteRecords','mode','getTypePlugin','false','commaPeriod','getTime','yyyy/mm/dd','base.command.delete-base-field','_getTablesToNormalize','_projectGroups','globalRevision','_injector','renameTable','packageName','createCreateFieldOp','unitId','usableAsGanttEnd','_isNonEmptyCellValue','config','base.view-registry.service','attachmentSet','viewIndexes','decorate','_createSystemFieldValuePatches','info','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','grid','base.viewType.gallery','getUnitId','greaterThan','clearTablePermission','_applyFormulaResult','_formulaService','pattern','pluginName','flow','_commandService','description','raw','registerSuperTables','cellRevision','col','person','Working\x20day','readonly','colIndex','phone','_resolveKanbanCoverFieldId','normal','invalidGanttEndField','_getCachedProjection','UNIVER_BASE','YYYY-MM-DD','invertOp','split','base.command.delete-base-table','setConfig','unknown','_fieldRegistry','forEach','deleteField','Unchecked','string','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','base-perf',',,\x22M\x22','base.command.set-base-kanban-group-field','toPlainText','NUMBER','updateRecordOrder','repairViewConfig','invalid','_resolveCalendarDateFieldId','prototype','group','base.viewType.grid','isNotEmpty','DD/MM/YYYY','canCreateRecord','_applyingFormulaResults','fieldId','Empty','_applier','base.command.update-base-record-order','8NwNUXQ','subscribe','showFieldNames','_getActiveDirtyManagerService','_replaceOptional','_projectTableRows','searchTexts','canDeleteTable','label','_createNumberingAllocator','_kanbanGroupKeys','columns','rating','_getKanbanConfiguredLanes','invalidateByCell','recordId','hh:mm','_isAllDayCalendarEvent','format','bases.fieldConfig.textPlaceholder','finally','lookup','localeCompare','_tablePermissions','max','quarter','editable','symbol','Yes','_cellRevisions','spaceComma','_canUseFastSort','_apply','4390JsldSh','editCell','date','https://','createField','h24','none','groupFieldId','registerCommand','index','user','getDay','setViewFilter','_config','\x22\x20does\x20not\x20exist.','entries','YYYY/MM/DD','disposeWithMe','unitWidth','getAll','canEditField','tableId','slice','cardSize','createdBy','_buildCalendar','createUpdateCellOp','replaceOp','_cacheKey','get','changeFieldType','[BaseCommandService]:\x20cannot\x20edit\x20cell.','createCreateRecordOp','decimalPlaces','applyOp','rules','getProjection','getAffectedRanges','test','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_setAttachmentResources',',,,\x22B\x22','allowNegative','createSetRecordValuesOp','text','[BaseCommandService]:\x20cannot\x20manage\x20view.','catch','field','_resolveKanbanGroupFieldId','beforeViewId','min','_groupCellInvalidations','getTypeOfUnitDisposed$','[BaseProjectionService]:\x20missing\x20view\x20\x22','usableAsCardCover','startsWith','_viewRevisionKey','defineProperty','exact','_superTableService','type','card','_getSuperTableService','call','registerCtorForType','_groupProjectionFieldIds','_setDeleted','_getTableRevision','viewOrder','_resolveGalleryCardFieldIds','_bumpTableRevision','Uncategorized','exception-','base.command.delete-base-view','1222044WhFgRu','deleteTable','currencySymbol','base.command.create-base-field','setSnapshot','_resolveKanbanCardFieldIds','beforeFieldId','doing','setRangeValues','updatedAt','view','_fieldPermissions','createUnit','canDeleteField','currency','_getDirtySuperTableMap','lastWeek','setValue','medium','invalidateByField','map','titleFieldId','_toDirtyRangePatch','delete','YYYY/MM/DD\x20HH:mm','_groupConfigCacheSegment','_requestCalculation','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseField]:\x20invalid\x20email\x20value.','join','rowIndex','scale','createDefaultValue','attachmentSets','_getCurrentUserId','check','setBasePermission','number','compose','_createNumberingAllocators','_onCommandExecuted','_isColorfulKanbanGroupField','syncExecuteCommand','defaultValue','workingDaysOnly','STRING','getMonth','revision','frozenFieldCount','_projectRows','twoWayLink',':end','_normalizeGalleryConfig','getFullYear','usableAsCalendarDate','autoIncrement','BaseProjection.getProjection','spacePeriod','_baseSyncDisposables','basePerf','[BaseField]:\x20invalid\x20date\x20value.','_initDependencies','fieldSettings','name','fieldIds','_buildKanban','showTodayLine','_ganttBarColor','_setCachedProjection','fields','attachment-','BaseJson1.json1Apply','tableOrder','_normalizeCalendarConfig','10400900tNbawE','numbering','lastMonth','isInteger','duplicateRecord','orderKey','_normalizeGanttConfig','clearFieldPermission','HH:mm','base.command.duplicate-base-field','_createStructureDirtyData','groups','_basePermissions','_withModifiedSystemValues','createSuperTableReference','Checked','deleted','_globalRevision','blue','getUTCMonth','manageView','rowId','endDateFieldId','invalidGanttStartField','add','_getViewRevision','base.command.set-base-view-field-visible','hasOwnProperty','_createNumberingFieldValuePatches','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_recordIds','_getAllTableIds','leftPaneWidth','End\x20date','_createJson1DirtyData','done','leftPaneCollapsed','validate','sort','kanban','8141357KQNyTQ','_createRecordWithDefaults','[BaseField]:\x20invalid\x20person\x20value.','hourCycle','#BBF7D0','locale','getCapabilities','496642DcoQtu','past7','_isGanttDateField','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','fieldName','splice','isArray','pushUndoRedo','key','_projectedGroupsCache','toLowerCase','base.command.update-base-field-description','resources','periodComma','location','resolvedOptions','valueOf','base.command.delete-base-record','viewId','lessThanOrEqual','_tableRevisions','_factory','Date','_initRegistries','_cellInvalidations','startDateFieldId','_createRecordOrderOp','missingField','base.command.ensure-base-temporal-view-date-fields','indexOf','_isAllowedKanbanGroupField','color','isEmpty','getAllBases'];_0x3d2d=function(){return _0x44c977;};return _0x3d2d();}function tt(_0x4e0d6a,_0x4f1a85={}){const _0x129a13=_0x3401ce;var _0x5d1221,_0x354883,_0x5ec627;let _0x110376=A(_0x4e0d6a);if(_0x110376==null||!Number['isFinite'](_0x110376))return'';let _0x12ed0b=String((_0x5d1221=(_0x354883=_0x4f1a85[_0x129a13(0x3da)])==null?_0x4f1a85[_0x129a13(0x166)]:_0x354883)==null?Qe:_0x5d1221),_0x484e92=_0x4f1a85[_0x129a13(0x37f)]===!0x0||_0x12ed0b[_0x129a13(0x37e)]('hh:mm'),_0x2ee920=String((_0x5ec627=_0x4f1a85[_0x129a13(0x234)])==null?'h24':_0x5ec627);return _0x80569f(_0x110376)[_0x129a13(0x166)](nt(_0x12ed0b,_0x484e92,_0x2ee920));}function nt(_0x3b78e2,_0x5ea88e,_0x48bd92){const _0x24d866=_0x3401ce;var _0x597a70;let _0x5812e3=(_0x597a70=$e[_0x3b78e2])==null?$e[Qe]:_0x597a70;return!_0x5ea88e||_0x3b78e2['includes'](_0x24d866(0x164))?_0x5812e3:_0x5812e3+'\x20'+(_0x48bd92===_0x24d866(0x37b)?_0x24d866(0x283):_0x24d866(0x211));}const rt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},it=new Set([_0x3401ce(0x169),'summary',_0x3401ce(0x3dc),'button',_0x3401ce(0x246),_0x3401ce(0x1f1),_0x3401ce(0x163),_0x3401ce(0x295)]),j=0x5a0*0x3c*0x3e8;function at(_0x1f6ae8,_0x1da771){const _0x5d7948=_0x3401ce;return _0x1f6ae8==null&&_0x1da771==null?0x0:_0x1f6ae8==null?-0x1:_0x1da771==null?0x1:typeof _0x1f6ae8==_0x5d7948(0x1e4)&&typeof _0x1da771=='number'?_0x1f6ae8-_0x1da771:String(_0x1f6ae8)['localeCompare'](String(_0x1da771));}function ot(_0x31c34b,_0x587b18,_0x287c29,_0x533049,_0x52cac9={}){const _0x554499=_0x3401ce;if(_0x587b18===_0x554499(0x258))return st(_0x31c34b);if(_0x587b18===_0x554499(0x405))return!st(_0x31c34b);switch(_0x533049[_0x554499(0x1b1)]){case _0x554499(0x1e4):case _0x554499(0x1cd):case _0x554499(0x2a7):case _0x554499(0x160):return ct(_0x31c34b,_0x587b18,_0x287c29);case _0x554499(0x177):case'createdAt':case'updatedAt':return ut(_0x31c34b,_0x587b18,_0x287c29,_0x52cac9);case _0x554499(0x284):return gt(_0x31c34b,_0x587b18,_0x287c29);case _0x554499(0x335):case _0x554499(0x380):case'person':case _0x554499(0x403):return vt(_0x31c34b,_0x587b18,_0x287c29,_0x533049);default:return yt(_0x31c34b,_0x587b18,_0x287c29);}}function st(_0x155905){const _0x15adbf=_0x3401ce;return _0x155905==null?!0x0:Array[_0x15adbf(0x23e)](_0x155905)?_0x155905[_0x15adbf(0x2b1)]===0x0:typeof _0x155905==_0x15adbf(0x3f7)?_0x155905[_0x15adbf(0x297)]()==='':!0x1;}function ct(_0x5b3d0c,_0x1a4e13,_0x24e361){const _0x110577=_0x3401ce;let _0x3c8c84=lt(_0x5b3d0c),_0x578421=lt(_0x24e361);if(_0x3c8c84==null||_0x578421==null)return!0x1;switch(_0x1a4e13){case'is':return _0x3c8c84===_0x578421;case'isNot':return _0x3c8c84!==_0x578421;case _0x110577(0x3d6):return _0x3c8c84>_0x578421;case'greaterThanOrEqual':return _0x3c8c84>=_0x578421;case'lessThan':return _0x3c8c84<_0x578421;case _0x110577(0x24b):return _0x3c8c84<=_0x578421;default:return!0x1;}}function lt(_0x367aac){const _0x3572ae=_0x3401ce;if(_0x367aac==null||_0x367aac==='')return null;let _0x42bfbc=Number(_0x367aac);return Number[_0x3572ae(0x2fd)](_0x42bfbc)?_0x42bfbc:null;}function ut(_0x5704c3,_0x3dee60,_0x1eb0eb,_0x1c69ba){const _0x5f0563=_0x3401ce;var _0x5526a9;let _0x12f06b=ft(_0x5704c3);if(_0x12f06b==null)return!0x1;let _0x356bf7=dt((_0x5526a9=_0x1c69ba[_0x5f0563(0x28a)])==null?_0x5f0563(0x1af):_0x5526a9,_0x1eb0eb,_0x1c69ba[_0x5f0563(0x3b2)]);if(!_0x356bf7)return!0x1;switch(_0x3dee60){case'is':return _0x12f06b>=_0x356bf7['start']&&_0x12f06b<=_0x356bf7['end'];case'isNot':return _0x12f06b<_0x356bf7[_0x5f0563(0x2c9)]||_0x12f06b>_0x356bf7[_0x5f0563(0x296)];case'before':return _0x12f06b<_0x356bf7[_0x5f0563(0x2c9)];case _0x5f0563(0x340):return _0x12f06b>_0x356bf7[_0x5f0563(0x296)];default:return!0x1;}}function dt(_0x4a4c8e,_0x43a999,_0x171d2c=Date[_0x3401ce(0x3b2)]()){const _0x36b28e=_0x3401ce;let _0x1da0e4=pt(_0x171d2c);switch(_0x4a4c8e){case _0x36b28e(0x1af):{let _0x4783f8=ft(_0x43a999);return _0x4783f8==null?null:{'start':_0x4783f8,'end':_0x4783f8+j-0x1};}case'today':return{'start':_0x1da0e4,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x363):return{'start':_0x1da0e4+j,'end':_0x1da0e4+j*0x2-0x1};case'yesterday':return{'start':_0x1da0e4-j,'end':_0x1da0e4-0x1};case _0x36b28e(0x25f):return mt(_0x1da0e4,0x0);case _0x36b28e(0x1cf):return mt(_0x1da0e4,-0x1);case _0x36b28e(0x342):return ht(_0x1da0e4,0x0);case _0x36b28e(0x20b):return ht(_0x1da0e4,-0x1);case _0x36b28e(0x239):return{'start':_0x1da0e4-j*0x6,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x2dc):return{'start':_0x1da0e4,'end':_0x1da0e4+j*0x7-0x1};case _0x36b28e(0x34c):return{'start':_0x1da0e4-j*0x1d,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x26d):return{'start':_0x1da0e4,'end':_0x1da0e4+j*0x1e-0x1};}}function ft(_0xa8deb5){let _0x1ca4cb=k(_0xa8deb5);return _0x1ca4cb==null?null:pt(et(_0x1ca4cb));}function pt(_0x109f71){const _0x1398a3=_0x3401ce;let _0x1e9428=new Date(_0x109f71);return _0x1e9428[_0x1398a3(0x279)](0x0,0x0,0x0,0x0),_0x1e9428[_0x1398a3(0x3be)]();}function mt(_0x3cb821,_0x5eafe0){const _0x125dc8=_0x3401ce;let _0x1c3a20=_0x3cb821-(new Date(_0x3cb821)[_0x125dc8(0x180)]()+0x6)%0x7*j+_0x5eafe0*j*0x7;return{'start':_0x1c3a20,'end':_0x1c3a20+j*0x7-0x1};}function ht(_0xf94da0,_0x3408a7){const _0x3f642a=_0x3401ce;let _0x344f5b=new Date(_0xf94da0),_0x1434a1=new Date(_0x344f5b[_0x3f642a(0x1f4)](),_0x344f5b[_0x3f642a(0x1ed)]()+_0x3408a7,0x1),_0x4f1d0=new Date(_0x344f5b[_0x3f642a(0x1f4)](),_0x344f5b[_0x3f642a(0x1ed)]()+_0x3408a7+0x1,0x1);return{'start':_0x1434a1['getTime'](),'end':_0x4f1d0[_0x3f642a(0x3be)]()-0x1};}function gt(_0x5ce3e5,_0xcfa1fa,_0x42c2cc){const _0x35eb9f=_0x3401ce;let _0x23870a=_t(_0x5ce3e5),_0x2659a5=_t(_0x42c2cc);switch(_0xcfa1fa){case'is':return _0x23870a===_0x2659a5;case _0x35eb9f(0x2e6):return _0x23870a!==_0x2659a5;default:return!0x1;}}function _t(_0x5224c7){const _0x39e8e0=_0x3401ce;return _0x5224c7===!0x0||_0x5224c7===_0x39e8e0(0x36d)||_0x5224c7===0x1||_0x5224c7==='1';}function vt(_0x18f073,_0x38b754,_0x51d440,_0x137668){const _0x3ed897=_0x3401ce;let _0x3070a8=bt(_0x18f073,_0x137668),_0x37d290=bt(_0x51d440,_0x137668),_0x1148be=_0x37d290[_0x3ed897(0x2b1)]>0x0&&_0x37d290['some'](_0x40d550=>_0x3070a8[_0x3ed897(0x37e)](_0x40d550));switch(_0x38b754){case'is':case'contains':return _0x1148be;case _0x3ed897(0x2e6):case'notContains':return!_0x1148be;default:return!0x1;}}function yt(_0xb6b0e5,_0x2e5295,_0x20cd01){const _0x102f62=_0x3401ce;let _0x5bfa6a=M(_0xb6b0e5),_0x487acb=M(_0x20cd01);switch(_0x2e5295){case'is':return _0x5bfa6a===_0x487acb;case'isNot':return _0x5bfa6a!==_0x487acb;case _0x102f62(0x3b7):return _0x487acb?_0x5bfa6a[_0x102f62(0x37e)](_0x487acb):!0x1;case'notContains':return _0x487acb?!_0x5bfa6a['includes'](_0x487acb):!0x0;default:return!0x1;}}function M(_0x5c91fe){const _0x1df6c3=_0x3401ce;if(Array[_0x1df6c3(0x23e)](_0x5c91fe))return _0x5c91fe[_0x1df6c3(0x1d3)](_0x480371=>M(_0x480371))[_0x1df6c3(0x1dc)]('\x0a');if(_0x5c91fe&&typeof _0x5c91fe==_0x1df6c3(0x331)){var _0x14c3a9,_0x30d313,_0x3f3364,_0x5bd72b,_0x47b748;let _0x34e494=_0x5c91fe;return String((_0x14c3a9=(_0x30d313=(_0x3f3364=(_0x5bd72b=(_0x47b748=_0x34e494[_0x1df6c3(0x1fe)])==null?_0x34e494[_0x1df6c3(0x15c)]:_0x47b748)==null?_0x34e494['text']:_0x5bd72b)==null?_0x34e494['value']:_0x3f3364)==null?_0x34e494['id']:_0x30d313)==null?'':_0x14c3a9)[_0x1df6c3(0x297)]()[_0x1df6c3(0x242)]();}return String(_0x5c91fe==null?'':_0x5c91fe)[_0x1df6c3(0x297)]()['toLowerCase']();}function bt(_0x34d293,_0x575f86){const _0x301edd=_0x3401ce;var _0x5e5fc1;let _0x59922a=xt(_0x34d293),_0x2eea41=St((_0x5e5fc1=_0x575f86['config'])==null?{}:_0x5e5fc1);return _0x59922a[_0x301edd(0x278)](_0x21b085=>{const _0x282f77=_0x301edd;var _0x5a7e2e;return(_0x5a7e2e=_0x2eea41[_0x282f77(0x192)](_0x21b085))==null?[_0x21b085]:_0x5a7e2e;})[_0x301edd(0x2db)]((_0x556e9a,_0x5c5b5b,_0x4152db)=>_0x556e9a!==''&&_0x4152db[_0x301edd(0x255)](_0x556e9a)===_0x5c5b5b);}function xt(_0x7b5841){const _0x492b10=_0x3401ce;if(_0x7b5841==null||_0x7b5841==='')return[];if(Array[_0x492b10(0x23e)](_0x7b5841))return _0x7b5841[_0x492b10(0x278)](_0x4b34f0=>xt(_0x4b34f0));if(_0x7b5841&&typeof _0x7b5841==_0x492b10(0x331)){let _0x2b6b72=_0x7b5841;return['id',_0x492b10(0x1fe),_0x492b10(0x15c),_0x492b10(0x30a),_0x492b10(0x1a1)][_0x492b10(0x278)](_0x1b527c=>xt(_0x2b6b72[_0x1b527c]))[_0x492b10(0x2db)]((_0x2ae0db,_0x102cf7,_0x4e8f5e)=>_0x4e8f5e[_0x492b10(0x255)](_0x2ae0db)===_0x102cf7);}return[M(_0x7b5841)];}function St(_0x50a8b6){const _0x22a5f0=_0x3401ce;let _0x3cfe33=new Map();return(Array[_0x22a5f0(0x23e)](_0x50a8b6[_0x22a5f0(0x29e)])?_0x50a8b6[_0x22a5f0(0x29e)]:[])['forEach'](_0x45ad1e=>{const _0x26006b=_0x22a5f0;if(!_0x45ad1e||typeof _0x45ad1e!=_0x26006b(0x331))return;let _0x22eed0=xt(_0x45ad1e),_0x29384f=_0x22eed0[_0x26006b(0x2db)]((_0x2241fc,_0x49430d)=>_0x2241fc!==''&&_0x22eed0['indexOf'](_0x2241fc)===_0x49430d);_0x29384f[_0x26006b(0x3f4)](_0x2c85cd=>_0x3cfe33['set'](_0x2c85cd,_0x29384f));}),_0x3cfe33;}function N(_0xe5ae9,_0x577210={},_0x28e665=_0x3c56da=>_0x3c56da,_0x3c5d51={}){const _0x593330=_0x3401ce;var _0x3012f1,_0x4efe9e,_0x31df93,_0x1e333d;let _0x1e64d8=!it[_0x593330(0x356)](_0xe5ae9),_0x4295cd=_0x28e665==null?_0x202eb2=>_0x202eb2:_0x28e665;return{'type':_0xe5ae9,'i18nKey':_0x593330(0x290)+_0xe5ae9,'enabled':_0x1e64d8,'visibleInCreateMenu':_0x1e64d8,'createDefaultConfig':(_0x3012f1=_0x3c5d51['createDefaultConfig'])==null?()=>({}):_0x3012f1,'createDefaultValue':(_0x4efe9e=_0x3c5d51[_0x593330(0x1df)])==null?_0x2942ba=>{const _0x521ec4=_0x593330;var _0x1f32f7;return(_0x1f32f7=_0x2942ba[_0x521ec4(0x1ea)])==null?null:_0x1f32f7;}:_0x4efe9e,'normalize':(_0x302b8b,_0x5ec9ae)=>_0x4295cd(_0x302b8b,_0x5ec9ae),'validate':(_0x455744,_0x5914e8)=>{const _0x57448c=_0x593330;var _0x296c94,_0x255909;return _0x1e64d8?(_0x296c94=(_0x255909=_0x3c5d51[_0x57448c(0x22e)])==null?void 0x0:_0x255909[_0x57448c(0x1b4)](_0x3c5d51,_0x455744,_0x5914e8))==null?{'valid':!0x0}:_0x296c94:{'valid':!0x1};},'compare':(_0x5baf77,_0x4d7ce2)=>at(_0x5baf77,_0x4d7ce2),'filter':(_0x177a57,_0x37a63d,_0x3e1fc6,_0x309afb)=>ot(_0x177a57,_0x37a63d,_0x3e1fc6,_0x309afb),'toPlainText':(_0x31df93=_0x3c5d51[_0x593330(0x3fc)])==null?_0x4abadc=>_0x4abadc==null?'':String(_0x4abadc):_0x31df93,'fromPlainText':(_0x1e333d=_0x3c5d51['fromPlainText'])==null?_0x3b6554=>_0x4295cd(_0x3b6554,{'id':'','name':'','type':_0xe5ae9,'config':{}}):_0x1e333d,'getCapabilities':()=>{const _0x4e8cf8=_0x593330;var _0x50fb13;return{...rt,..._0x577210,'editable':_0x1e64d8&&((_0x50fb13=_0x577210[_0x4e8cf8(0x16e)])==null?rt[_0x4e8cf8(0x16e)]:_0x50fb13)};}};}function Ct(){const _0xc831a9=_0x3401ce;return[N(_0xc831a9(0x1a1),{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xc831a9(0x167)}),'createDefaultValue':_0x295466=>{const _0x65bb0=_0xc831a9;var _0x38b2cf;return(_0x38b2cf=_0x295466[_0x65bb0(0x1ea)])==null?'':_0x38b2cf;}}),N(_0xc831a9(0x335),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x3ba0c2=>_0x3ba0c2==null||_0x3ba0c2===''?null:String(_0x3ba0c2),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),N(_0xc831a9(0x380),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x43ef77=>Array[_0xc831a9(0x23e)](_0x43ef77)?_0x43ef77['map'](String):_0x43ef77==null?[]:[String(_0x43ef77)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xc831a9(0x27d)}}),'createDefaultValue':_0x16766f=>{var _0x3ba916;return(_0x3ba916=_0x16766f['defaultValue'])==null?[]:_0x3ba916;}}),N(_0xc831a9(0x3e3),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Dt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xc831a9(0x3e3)}),'validate':Ot}),N('group',{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Et,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x55eab6=>{const _0x4fc195=_0xc831a9;var _0x3e935f;return(_0x3e935f=_0x55eab6[_0x4fc195(0x1ea)])==null?[]:_0x3e935f;},'validate':kt}),N(_0xc831a9(0x177),{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x540426=>k(_0x540426),{'createDefaultConfig':()=>Tt(),'validate':At}),N(_0xc831a9(0x375),{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2774c3=>_0x2774c3==null?[]:Array[_0xc831a9(0x23e)](_0x2774c3)?_0x2774c3:[_0x2774c3],{'createDefaultValue':_0x208d59=>{const _0xc934f3=_0xc831a9;var _0x392508;return(_0x392508=_0x208d59[_0xc934f3(0x1ea)])==null?[]:_0x392508;}}),N(_0xc831a9(0x1e4),{},_0x35151b=>_0x35151b==null||_0x35151b===''?null:Number(_0x35151b),{'createDefaultConfig':()=>wt(),'validate':jt}),N('checkbox',{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x28a823=>_0x28a823===!0x0||_0x28a823===_0xc831a9(0x36d)||_0x28a823===0x1||_0x28a823==='1',{'createDefaultConfig':()=>({'icon':_0xc831a9(0x1e2),'color':'#16a34a'}),'createDefaultValue':_0x2cacd5=>{var _0x45ac6e;return(_0x45ac6e=_0x2cacd5['defaultValue'])==null?!0x1:_0x45ac6e;},'validate':_0x2b30c3=>typeof _0x2b30c3==_0xc831a9(0x2b2)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x362)}}),N(_0xc831a9(0x2ff),{'supportsRelation':!0x0},Nt,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x115cf8=>Pt(_0x115cf8),'fromPlainText':_0x2007bc=>Nt(_0x2007bc)}),N(_0xc831a9(0x291),{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xc831a9(0x2fb),'pattern':_0xc831a9(0x39a)}}),'createDefaultValue':()=>null}),N(_0xc831a9(0x169),{}),N(_0xc831a9(0x3dc),{}),N('button',{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),N(_0xc831a9(0x20a),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xc831a9(0x1f6)}),'createDefaultValue':()=>null}),N(_0xc831a9(0x3e7),{'usableAsTitle':!0x0},_0x215de3=>_0x215de3==null?null:String(_0x215de3)[_0xc831a9(0x297)](),{'validate':_0x5bcc0a=>_0x5bcc0a==null||_0x5bcc0a===''||/^\+?[0-9 ()-]{6,20}$/[_0xc831a9(0x19b)](String(_0x5bcc0a))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x2a8)}}),N(_0xc831a9(0x396),{'usableAsTitle':!0x0},_0x11a0fc=>_0x11a0fc==null?null:String(_0x11a0fc)[_0xc831a9(0x297)](),{'validate':_0x5c8c1f=>_0x5c8c1f==null||_0x5c8c1f===''||It(String(_0x5c8c1f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x1db)}}),N(_0xc831a9(0x246),{'usableAsTitle':!0x0}),N(_0xc831a9(0x295),{'usableAsTitle':!0x0}),N(_0xc831a9(0x2a7),{'usableAsGanttProgress':!0x0},_0x9d44eb=>_0x9d44eb==null||_0x9d44eb===''?null:Number(_0x9d44eb),{'createDefaultConfig':()=>({'format':_0xc831a9(0x28f),'decimalPlaces':0x0,'color':_0xc831a9(0x21b),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4ded90,_0x69d51)=>Mt(_0x4ded90,_0x69d51,'[BaseField]:\x20invalid\x20progress\x20value.')}),N(_0xc831a9(0x1cd),{},_0x3f2fbd=>_0x3f2fbd==null||_0x3f2fbd===''?null:Number(_0x3f2fbd),{'createDefaultConfig':()=>({...wt(),'currencySymbol':'$'}),'validate':jt}),N(_0xc831a9(0x160),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2b1b13=>_0x2b1b13==null||_0x2b1b13===''?null:Number(_0x2b1b13),{'createDefaultConfig':()=>({'icon':_0xc831a9(0x307),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x178385,_0x40ec1a)=>Mt(_0x178385,_0x40ec1a,_0xc831a9(0x371))}),N('twoWayLink',{'supportsRelation':!0x0}),N(_0xc831a9(0x163),{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),N(_0xc831a9(0x18d),{'editable':!0x1,'groupable':!0x0},_0x1d77cc=>_0x1d77cc==null?null:String(_0x1d77cc),{'createDefaultConfig':()=>({'provider':_0xc831a9(0x17f)}),'createDefaultValue':()=>null}),N(_0xc831a9(0x389),{'editable':!0x1,'groupable':!0x0},_0x43f938=>_0x43f938==null?null:String(_0x43f938),{'createDefaultConfig':()=>({'provider':_0xc831a9(0x17f)}),'createDefaultValue':()=>null}),N('createdAt',{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x2ed630=>k(_0x2ed630),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0xc831a9(0x1c8),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5b2f39=>k(_0x5b2f39),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0xc831a9(0x276),{})];}function wt(){const _0x3b3cdc=_0x3401ce;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':_0x3b3cdc(0x17b),'allowNegative':!0x0};}function Tt(){const _0x899084=_0x3401ce;return{'locale':_0x899084(0x377),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x899084(0x17a),'defaultMode':_0x899084(0x17b)};}function Et(_0x486c4c){const _0x396729=_0x3401ce;return _0x486c4c==null||_0x486c4c===''?[]:Array[_0x396729(0x23e)](_0x486c4c)?_0x486c4c[_0x396729(0x1d3)](String):[String(_0x486c4c)];}function Dt(_0x5504a1,_0x5dd1ed){const _0xcdfae6=_0x3401ce;var _0x1d0d32;return _0x5504a1==null||_0x5504a1===''?_0x5dd1ed['config'][_0xcdfae6(0x343)]===!0x0?[]:null:_0x5dd1ed['config']['allowMultiple']===!0x0?Array[_0xcdfae6(0x23e)](_0x5504a1)?_0x5504a1[_0xcdfae6(0x1d3)](String):[String(_0x5504a1)]:Array[_0xcdfae6(0x23e)](_0x5504a1)?String((_0x1d0d32=_0x5504a1[0x0])==null?'':_0x1d0d32)||null:String(_0x5504a1);}function Ot(_0x4ffe7b,_0x2d57ad){const _0x3aff5e=_0x3401ce;return _0x2d57ad['config'][_0x3aff5e(0x343)]===!0x0?kt(_0x4ffe7b):_0x4ffe7b==null||_0x4ffe7b===''||typeof _0x4ffe7b=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3aff5e(0x233)};}function kt(_0x535250){const _0x23a8e4=_0x3401ce;return _0x535250==null||Array[_0x23a8e4(0x23e)](_0x535250)&&_0x535250[_0x23a8e4(0x27b)](_0x512a75=>typeof _0x512a75==_0x23a8e4(0x3f7))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x23a8e4(0x33a)};}function At(_0x13bc85){const _0x3bec2e=_0x3401ce;return _0x13bc85==null||typeof _0x13bc85==_0x3bec2e(0x1e4)&&Number['isFinite'](_0x13bc85)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3bec2e(0x1fb)};}function jt(_0xf5776a,_0x1b9a30){const _0x10eb86=_0x3401ce;return _0xf5776a==null||_0xf5776a===''?{'valid':!0x0}:typeof _0xf5776a!=_0x10eb86(0x1e4)||!Number[_0x10eb86(0x2fd)](_0xf5776a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x1b9a30[_0x10eb86(0x3cb)][_0x10eb86(0x19f)]===!0x1&&_0xf5776a<0x0?{'valid':!0x1,'reason':_0x10eb86(0x1da)}:{'valid':!0x0};}function Mt(_0x36b38c,_0x3632c6,_0x5246b9){const _0x4e020b=_0x3401ce;var _0x225fe3,_0x27a8d7,_0x38398d,_0x13943e;let _0x168e7c=jt(_0x36b38c,_0x3632c6);if(!_0x168e7c['valid']||_0x36b38c==null||_0x36b38c==='')return _0x168e7c;let _0xa702fc=Number((_0x225fe3=(_0x27a8d7=_0x3632c6[_0x4e020b(0x3cb)][_0x4e020b(0x1a7)])==null?_0x3632c6[_0x4e020b(0x3cb)]['start']:_0x27a8d7)==null?0x0:_0x225fe3),_0x558d19=Number((_0x38398d=(_0x13943e=_0x3632c6[_0x4e020b(0x3cb)]['max'])==null?_0x3632c6[_0x4e020b(0x3cb)]['end']:_0x13943e)==null?0x64:_0x38398d),_0xd6fdfe=Number(_0x36b38c);return _0xd6fdfe>=_0xa702fc&&_0xd6fdfe<=_0x558d19?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5246b9};}function Nt(_0x4fa6e5){const _0x1eed3b=_0x3401ce;if(_0x4fa6e5==null||_0x4fa6e5==='')return null;if(typeof _0x4fa6e5==_0x1eed3b(0x331)&&!Array['isArray'](_0x4fa6e5)){let _0x5c267c=_0x4fa6e5,_0x10948b=typeof _0x5c267c[_0x1eed3b(0x1a1)]=='string'?_0x5c267c[_0x1eed3b(0x1a1)][_0x1eed3b(0x297)]():'',_0x33e0c8=typeof _0x5c267c[_0x1eed3b(0x3af)]=='string'?_0x5c267c['url'][_0x1eed3b(0x297)]():'',_0x5c4005=Ft(_0x33e0c8||_0x10948b);return _0x5c4005?{'text':_0x10948b||_0x33e0c8||_0x5c4005,'url':_0x5c4005}:null;}let _0x10cd98=String(_0x4fa6e5)[_0x1eed3b(0x297)](),_0xbe69a7=Ft(_0x10cd98);return _0xbe69a7?{'text':_0x10cd98,'url':_0xbe69a7}:null;}function Pt(_0x2410f1){const _0xa317a3=_0x3401ce;if(_0x2410f1==null)return'';if(typeof _0x2410f1==_0xa317a3(0x331)&&!Array[_0xa317a3(0x23e)](_0x2410f1)){let _0x1a93d5=_0x2410f1;return String(_0x1a93d5[_0xa317a3(0x1a1)]||_0x1a93d5[_0xa317a3(0x3af)]||'');}return String(_0x2410f1);}function Ft(_0x568a6c){const _0x50d8c9=_0x3401ce;let _0x3f405e=_0x568a6c['trim']();return _0x3f405e?/^[a-z][a-z\d+.-]*:\/\//i[_0x50d8c9(0x19b)](_0x3f405e)?_0x3f405e:_0x50d8c9(0x178)+_0x3f405e:'';}function It(_0x51cd3b){const _0xbf202d=_0x3401ce;let _0x223f99=_0x51cd3b[_0xbf202d(0x255)]('@');if(_0x223f99<=0x0||_0x223f99!==_0x51cd3b[_0xbf202d(0x25b)]('@'))return!0x1;let _0x54b6b7=_0x51cd3b[_0xbf202d(0x18b)](_0x223f99+0x1);return _0x54b6b7['includes']('.')&&!_0x51cd3b[_0xbf202d(0x37e)]('\x20')&&!_0x54b6b7[_0xbf202d(0x1ac)]('.')&&!_0x54b6b7[_0xbf202d(0x26f)]('.');}const P={'table':_0x1a4899=>[_0x3401ce(0x391),_0x1a4899],'field':(_0x1eb949,_0x10150b)=>[_0x3401ce(0x391),_0x1eb949,_0x3401ce(0x204),_0x10150b],'fieldOrder':(_0x55848f,_0xc19c7f)=>[_0x3401ce(0x391),_0x55848f,_0x3401ce(0x264),_0xc19c7f],'record':(_0x2aaf9d,_0x30ba4a)=>[_0x3401ce(0x391),_0x2aaf9d,_0x3401ce(0x320),_0x30ba4a],'cell':(_0x3490c1,_0x2d8db0,_0x2c799b)=>[_0x3401ce(0x391),_0x3490c1,_0x3401ce(0x320),_0x2d8db0,_0x3401ce(0x288),_0x2c799b],'cellData':(_0x3cd865,_0x13ad34,_0x500fd5)=>[_0x3401ce(0x391),_0x3cd865,_0x3401ce(0x29d),String(_0x13ad34),String(_0x500fd5)],'attachmentSet':(_0x465f5b,_0x4432bb)=>['tables',_0x465f5b,'resources',_0x3401ce(0x1e0),_0x4432bb],'attachment':(_0x3167c1,_0x5726)=>['tables',_0x3167c1,_0x3401ce(0x244),'attachments',_0x5726],'view':(_0x268b8f,_0x107171)=>[_0x3401ce(0x391),_0x268b8f,_0x3401ce(0x2ae),_0x107171],'viewFieldHidden':(_0x38107d,_0x1faff9,_0x254c2f)=>[_0x3401ce(0x391),_0x38107d,_0x3401ce(0x2ae),_0x1faff9,'fieldSettings',_0x254c2f,_0x3401ce(0x2cf)]};function F(_0x33761d){const _0x262502=_0x3401ce;return _0x33761d[_0x262502(0x2e5)]((_0x5d8193,_0xc83c28)=>_0x5d8193==null?_0xc83c28:_0x1811e5['type'][_0x262502(0x1e5)](_0x5d8193,_0xc83c28),void 0x0);}var I=class{[_0x3401ce(0x3a2)](_0x3e8186,_0xbc9792,_0x5e0f02=_0x3e8186[_0x3401ce(0x207)][_0x3401ce(0x2b1)]){const _0x2dd91c=_0x3401ce;return F([_0x1811e5[_0x2dd91c(0x38b)](P[_0x2dd91c(0x39c)](_0xbc9792['id']),_0xbc9792),_0x1811e5['insertOp']([_0x2dd91c(0x207),_0x5e0f02],_0xbc9792['id'])]);}['renameTable'](_0x1b0cab,_0x1bc207,_0x42acb5){const _0x45b8eb=_0x3401ce;return _0x1811e5[_0x45b8eb(0x190)]([...P['table'](_0x1bc207),'name'],_0x1b0cab[_0x45b8eb(0x391)][_0x1bc207][_0x45b8eb(0x1fe)],_0x42acb5);}['deleteTable'](_0xa887f4,_0x586110){const _0x4ea3aa=_0x3401ce;return this['_setDeleted']([...P[_0x4ea3aa(0x39c)](_0x586110),_0x4ea3aa(0x219)],_0xa887f4[_0x4ea3aa(0x391)][_0x586110][_0x4ea3aa(0x219)]);}[_0x3401ce(0x29c)](_0x136a8a,_0x3aab3f,_0x355363){const _0x257962=_0x3401ce;return this[_0x257962(0x2a1)](_0x136a8a,_0x3aab3f,[_0x355363]);}[_0x3401ce(0x2a1)](_0xdd5adb,_0x3ecf93,_0x3af044){const _0x25afef=_0x3401ce;let _0x2e355e=_0xdd5adb['tables'][_0x3ecf93],_0x255eff=_0x3af044['filter'](_0x316cbf=>_0x316cbf&&!_0x2e355e[_0x25afef(0x320)][_0x316cbf['id']]);return _0x255eff[_0x25afef(0x2b1)]?F([..._0x255eff[_0x25afef(0x1d3)](_0xf5d1f2=>_0x1811e5[_0x25afef(0x38b)](P[_0x25afef(0x305)](_0x3ecf93,_0xf5d1f2['id']),_0xf5d1f2)),this[_0x25afef(0x252)](_0xdd5adb,_0x3ecf93,_0x255eff)]):_0x1811e5[_0x25afef(0x190)]([...P[_0x25afef(0x39c)](_0x3ecf93),_0x25afef(0x320)],_0x2e355e[_0x25afef(0x320)],_0x2e355e['records']);}[_0x3401ce(0x2ab)](_0x4c9122,_0x2d15da,_0x74a66d){const _0x6f0db5=_0x3401ce;return this[_0x6f0db5(0x1b7)]([...P['record'](_0x2d15da,_0x74a66d),_0x6f0db5(0x219)],_0x4c9122[_0x6f0db5(0x391)][_0x2d15da]['records'][_0x74a66d][_0x6f0db5(0x219)]);}[_0x3401ce(0x3b9)](_0x50bd10,_0x47c6bd,_0x1eedc2){const _0x523c1c=_0x3401ce;return F(_0x1eedc2[_0x523c1c(0x1d3)](_0x2aafb8=>this[_0x523c1c(0x2ab)](_0x50bd10,_0x47c6bd,_0x2aafb8)));}[_0x3401ce(0x20d)](_0x19c2aa,_0x3a2913,_0x5be08d,_0x505a90){const _0x331e0d=_0x3401ce;return this[_0x331e0d(0x29c)](_0x19c2aa,_0x3a2913,{..._0x505a90,'values':{..._0x19c2aa[_0x331e0d(0x391)][_0x3a2913]['records'][_0x5be08d][_0x331e0d(0x288)],..._0x505a90[_0x331e0d(0x288)]}});}[_0x3401ce(0x3fe)](_0x4b1a5c,_0x3fab4e,_0x440b69,_0x3d7a94){const _0x57c64f=_0x3401ce;let _0x3ac590=_0x4b1a5c['tables'][_0x3fab4e],_0x3c8f7c=[...P[_0x57c64f(0x305)](_0x3fab4e,_0x440b69),_0x57c64f(0x20e)],_0x12112d=Object[_0x57c64f(0x288)](_0x3ac590['records'])[_0x57c64f(0x2db)](_0x33a3ab=>!_0x33a3ab[_0x57c64f(0x219)])['map'](_0x49ab3a=>_0x49ab3a['id']===_0x440b69?{..._0x49ab3a,'orderKey':_0x3d7a94}:_0x49ab3a)[_0x57c64f(0x22f)]((_0x23b223,_0x1b43c0)=>{const _0xcb01ca=_0x57c64f;var _0x29d866,_0x4b67e1;return String((_0x29d866=_0x23b223['orderKey'])==null?_0x23b223['id']:_0x29d866)[_0xcb01ca(0x16a)](String((_0x4b67e1=_0x1b43c0[_0xcb01ca(0x20e)])==null?_0x1b43c0['id']:_0x4b67e1));})[_0x57c64f(0x1d3)](_0x41d168=>_0x41d168['id']),_0x8b041d=[...P['table'](_0x3fab4e),_0x57c64f(0x275)];return F([_0x1811e5['replaceOp'](_0x3c8f7c,_0x3ac590['records'][_0x440b69]['orderKey'],_0x3d7a94),_0x3ac590[_0x57c64f(0x275)]?_0x1811e5[_0x57c64f(0x190)](_0x8b041d,_0x3ac590['recordOrder'],_0x12112d):_0x1811e5[_0x57c64f(0x38b)](_0x8b041d,_0x12112d)]);}[_0x3401ce(0x35a)](_0x72598e,_0x25c6e1,_0x5cfe25,_0xd80bc8,_0x33af5f){const _0x227158=_0x3401ce;var _0x407144,_0x5ebfc3;let _0x57c868=_0x72598e[_0x227158(0x391)][_0x25c6e1],_0x3ab8ab=Lt(_0x57c868,_0x5cfe25,_0xd80bc8)?_0x57c868:C(_0x57c868),_0x52ad9d=(_0x407144=_0x3ab8ab[_0x227158(0x1dd)])==null?void 0x0:_0x407144[_0x5cfe25],_0x5ec196=(_0x5ebfc3=_0x3ab8ab[_0x227158(0x3e6)])==null?void 0x0:_0x5ebfc3[_0xd80bc8];if(_0x52ad9d==null||_0x5ec196==null){var _0x3b10b6;return this['_replaceOptional'](P[_0x227158(0x3ad)](_0x25c6e1,_0x5cfe25,_0xd80bc8),(_0x3b10b6=_0x72598e[_0x227158(0x391)][_0x25c6e1])==null||(_0x3b10b6=_0x3b10b6[_0x227158(0x320)][_0x5cfe25])==null?void 0x0:_0x3b10b6[_0x227158(0x288)][_0xd80bc8],_0x33af5f);}return this['setRangeValues'](_0x72598e,_0x25c6e1,[{'row':_0x52ad9d,'col':_0x5ec196,'value':_0x33af5f}]);}['setRecordValues'](_0x415ac3,_0x43a31b,_0x3c202c){const _0x51f787=_0x3401ce;let _0x610cb=_0x415ac3[_0x51f787(0x391)][_0x43a31b],_0x8740d=_0x3c202c[_0x51f787(0x27b)](_0x55acdc=>Object['keys'](_0x55acdc[_0x51f787(0x288)])[_0x51f787(0x27b)](_0x51b675=>Lt(_0x610cb,_0x55acdc[_0x51f787(0x163)],_0x51b675)))?_0x610cb:C(_0x610cb),_0x9ca20=_0x3c202c[_0x51f787(0x278)](_0x4bcead=>Object['entries'](_0x4bcead[_0x51f787(0x288)])[_0x51f787(0x278)](([_0x4126da,_0x373741])=>{const _0x519cf8=_0x51f787;var _0xaf51a4,_0x1fff67;let _0x4995c5=(_0xaf51a4=_0x8740d['rowIndex'])==null?void 0x0:_0xaf51a4[_0x4bcead['recordId']],_0x17bb4a=(_0x1fff67=_0x8740d[_0x519cf8(0x3e6)])==null?void 0x0:_0x1fff67[_0x4126da];return _0x4995c5==null||_0x17bb4a==null?[]:[{'row':_0x4995c5,'col':_0x17bb4a,'value':_0x373741}];})),_0x43462a=_0x3c202c[_0x51f787(0x278)](_0xc8b117=>{const _0x1bdfab=_0x51f787;var _0x427dc4;return Object['entries']((_0x427dc4=_0xc8b117[_0x1bdfab(0x2c1)])==null?{}:_0x427dc4)[_0x1bdfab(0x1d3)](([_0x3e2601,_0xd2b541])=>{const _0x2e1c32=_0x1bdfab;var _0xd6d83a;let _0x13a80c=[...P['record'](_0x43a31b,_0xc8b117[_0x2e1c32(0x163)]),_0x3e2601],_0x39b243=(_0xd6d83a=_0x415ac3[_0x2e1c32(0x391)][_0x43a31b])==null||(_0xd6d83a=_0xd6d83a[_0x2e1c32(0x320)][_0xc8b117[_0x2e1c32(0x163)]])==null?void 0x0:_0xd6d83a[_0x3e2601];return this[_0x2e1c32(0x158)](_0x13a80c,_0x39b243,_0xd2b541);});});return F([this[_0x51f787(0x1c7)](_0x415ac3,_0x43a31b,_0x9ca20),..._0x43462a]);}[_0x3401ce(0x1c7)](_0x503098,_0xb6a93d,_0x5a10a4){const _0x4204ae=_0x3401ce;let _0x582585=_0x503098[_0x4204ae(0x391)][_0xb6a93d],_0x2a8886=_0x5a10a4[_0x4204ae(0x27b)](_0xe7283a=>Rt(_0x582585,_0xe7283a['row'],_0xe7283a[_0x4204ae(0x3e2)]))?_0x582585:C(_0x582585),_0x5d3f74=_0x5a10a4[_0x4204ae(0x278)](_0x24bfb2=>{const _0x2d53b9=_0x4204ae;var _0x32ff05,_0x5c46d7,_0x10261d,_0x1d9e64;let _0x44fc07=(_0x32ff05=_0x2a8886[_0x2d53b9(0x359)])==null?void 0x0:_0x32ff05[_0x24bfb2[_0x2d53b9(0x3e2)]],_0x467ca7=(_0x5c46d7=_0x2a8886[_0x2d53b9(0x21e)])==null?void 0x0:_0x5c46d7[_0x24bfb2['row']],_0x183f89=_0x44fc07?_0x2a8886['fields'][_0x44fc07]:void 0x0,_0x3931a9=w(_0x24bfb2[_0x2d53b9(0x30a)],_0x183f89),_0x2936ef=(_0x10261d=_0x2a8886[_0x2d53b9(0x29d)])==null||(_0x10261d=_0x10261d[_0x24bfb2[_0x2d53b9(0x2d5)]])==null?void 0x0:_0x10261d[_0x24bfb2[_0x2d53b9(0x3e2)]],_0x595cfe=this[_0x2d53b9(0x158)](P[_0x2d53b9(0x29d)](_0xb6a93d,_0x24bfb2[_0x2d53b9(0x2d5)],_0x24bfb2['col']),_0x2936ef,_0x3931a9);if(!_0x44fc07||!_0x467ca7)return[_0x595cfe];let _0x13b891=(_0x1d9e64=_0x2a8886[_0x2d53b9(0x320)][_0x467ca7])==null?void 0x0:_0x1d9e64[_0x2d53b9(0x288)][_0x44fc07],_0x5c6cfd=(_0x183f89==null?void 0x0:_0x183f89[_0x2d53b9(0x1b1)])===_0x2d53b9(0x375)?T(_0x24bfb2['value']):Te(_0x24bfb2[_0x2d53b9(0x30a)],_0x3931a9,_0x183f89,_0x2a8886,_0x467ca7),_0x2e2d00=[_0x595cfe,this[_0x2d53b9(0x158)](P[_0x2d53b9(0x3ad)](_0xb6a93d,_0x467ca7,_0x44fc07),_0x13b891,_0x5c6cfd)];if((_0x183f89==null?void 0x0:_0x183f89['type'])!==_0x2d53b9(0x375))return _0x2e2d00;let _0x555118=this['_setAttachmentResources'](_0x2a8886,_0xb6a93d,_0x467ca7,_0x44fc07,_0x5c6cfd);return[..._0x2e2d00,..._0x555118];});return _0x5d3f74[_0x4204ae(0x2b1)]?F(_0x5d3f74):_0x1811e5[_0x4204ae(0x190)]([_0x4204ae(0x391),_0xb6a93d,_0x4204ae(0x29d)],_0x2a8886[_0x4204ae(0x29d)],_0x2a8886[_0x4204ae(0x29d)]);}[_0x3401ce(0x179)](_0x169530,_0x4a7f40,_0xc5abf0){const _0x3571bf=_0x3401ce;var _0x20863e,_0x25d01e;let _0x17dbb4=_0x169530['tables'][_0x4a7f40];if(_0x17dbb4['fields'][_0xc5abf0[_0x3571bf(0x1a4)]['id']]||_0x17dbb4['fieldOrder'][_0x3571bf(0x37e)](_0xc5abf0['field']['id']))return _0x1811e5[_0x3571bf(0x190)](['tables',_0x4a7f40,_0x3571bf(0x264)],_0x17dbb4[_0x3571bf(0x264)],_0x17dbb4['fieldOrder']);let _0x1b67ef=(_0x20863e=_0xc5abf0[_0x3571bf(0x17e)])==null?_0x17dbb4[_0x3571bf(0x264)]['length']:_0x20863e,_0x4bf563=Object[_0x3571bf(0x288)]((_0x25d01e=_0x17dbb4[_0x3571bf(0x2ae)])==null?{}:_0x25d01e)[_0x3571bf(0x278)](_0x155215=>{const _0x1d15bc=_0x3571bf;var _0x45943d,_0x52dc4c;if(!_0x155215[_0x1d15bc(0x264)]||_0x155215[_0x1d15bc(0x264)]['includes'](_0xc5abf0['field']['id']))return[];let _0x1d70d1=Vt((_0x45943d=(_0x52dc4c=_0xc5abf0[_0x1d15bc(0x3ce)])==null?void 0x0:_0x52dc4c[_0x155215['id']])==null?_0x1b67ef:_0x45943d,_0x155215[_0x1d15bc(0x264)][_0x1d15bc(0x2b1)]);return[_0x1811e5[_0x1d15bc(0x38b)]([...P[_0x1d15bc(0x1c9)](_0x4a7f40,_0x155215['id']),'fieldOrder',_0x1d70d1],_0xc5abf0[_0x1d15bc(0x1a4)]['id'])];});return F([_0x1811e5[_0x3571bf(0x38b)](P[_0x3571bf(0x1a4)](_0x4a7f40,_0xc5abf0['field']['id']),_0xc5abf0[_0x3571bf(0x1a4)]),_0x1811e5[_0x3571bf(0x38b)](P[_0x3571bf(0x264)](_0x4a7f40,_0x1b67ef),_0xc5abf0['field']['id']),..._0x4bf563]);}['duplicateField'](_0x2dce39,_0x43618c,_0x24e1e9,_0x18878c){const _0xf89223=_0x3401ce;var _0x55f8e0,_0x1c7e99;let _0xb6b958=_0x2dce39[_0xf89223(0x391)][_0x43618c];if(!_0xb6b958[_0xf89223(0x204)][_0x24e1e9]||_0xb6b958[_0xf89223(0x204)][_0x18878c[_0xf89223(0x1a4)]['id']]||_0xb6b958[_0xf89223(0x264)][_0xf89223(0x37e)](_0x18878c[_0xf89223(0x1a4)]['id']))return _0x1811e5[_0xf89223(0x190)]([_0xf89223(0x391),_0x43618c,_0xf89223(0x264)],_0xb6b958[_0xf89223(0x264)],_0xb6b958['fieldOrder']);let _0x40547d=(_0x55f8e0=_0x18878c[_0xf89223(0x17e)])==null?_0xb6b958[_0xf89223(0x264)]['indexOf'](_0x24e1e9)+0x1:_0x55f8e0,_0x2a768b=_0xb6b958[_0xf89223(0x264)][_0xf89223(0x2db)](_0x40996d=>_0x40996d!==_0x18878c[_0xf89223(0x1a4)]['id']),_0x9f397a=Bt(_0x2a768b,_0x18878c['field']['id'],_0x40547d),_0x3c6eb3=Object[_0xf89223(0x288)]((_0x1c7e99=_0xb6b958['views'])==null?{}:_0x1c7e99)['flatMap'](_0x4068ff=>{const _0x2039f8=_0xf89223;var _0x3fa919,_0x1b5d26,_0x3ddad8,_0x5e7245,_0x4da36e;let _0x321456=(_0x3fa919=_0x4068ff['fieldOrder'])!=null&&_0x3fa919[_0x2039f8(0x2b1)]?_0x4068ff[_0x2039f8(0x264)]:_0x2a768b;if(_0x321456[_0x2039f8(0x37e)](_0x18878c['field']['id']))return[];let _0x117ac6=Bt(_0x321456,_0x18878c[_0x2039f8(0x1a4)]['id'],(_0x1b5d26=(_0x3ddad8=_0x18878c[_0x2039f8(0x3ce)])==null?void 0x0:_0x3ddad8[_0x4068ff['id']])==null?_0x40547d:_0x1b5d26),_0x3fcf45=(_0x5e7245=_0x4068ff[_0x2039f8(0x1fd)])==null?void 0x0:_0x5e7245[_0x24e1e9];return[this[_0x2039f8(0x158)]([...P['view'](_0x43618c,_0x4068ff['id']),_0x2039f8(0x264)],_0x4068ff[_0x2039f8(0x264)],_0x117ac6),..._0x3fcf45?[this[_0x2039f8(0x158)]([...P['view'](_0x43618c,_0x4068ff['id']),'fieldSettings',_0x18878c[_0x2039f8(0x1a4)]['id']],(_0x4da36e=_0x4068ff[_0x2039f8(0x1fd)])==null?void 0x0:_0x4da36e[_0x18878c[_0x2039f8(0x1a4)]['id']],_0x3fcf45)]:[]];}),_0x235dfe=Object[_0xf89223(0x288)](_0xb6b958[_0xf89223(0x320)])[_0xf89223(0x2db)](_0x141775=>!_0x141775[_0xf89223(0x219)]&&Object[_0xf89223(0x402)][_0xf89223(0x224)][_0xf89223(0x1b4)](_0x141775['values'],_0x24e1e9))[_0xf89223(0x1d3)](_0x2856f9=>this[_0xf89223(0x158)](P[_0xf89223(0x3ad)](_0x43618c,_0x2856f9['id'],_0x18878c[_0xf89223(0x1a4)]['id']),_0x2856f9[_0xf89223(0x288)][_0x18878c[_0xf89223(0x1a4)]['id']],_0x2856f9['values'][_0x24e1e9]));return F([_0x1811e5[_0xf89223(0x38b)](P[_0xf89223(0x1a4)](_0x43618c,_0x18878c['field']['id']),_0x18878c[_0xf89223(0x1a4)]),_0x1811e5[_0xf89223(0x190)]([_0xf89223(0x391),_0x43618c,_0xf89223(0x264)],_0xb6b958[_0xf89223(0x264)],_0x9f397a),..._0x3c6eb3,..._0x235dfe]);}['updateField'](_0x276a65,_0x1ec92b,_0x413461,_0x2a1a3b){const _0x35670d=_0x3401ce;let _0x36499b=_0x276a65[_0x35670d(0x391)][_0x1ec92b][_0x35670d(0x204)][_0x413461],_0x14a158={..._0x36499b,..._0x2a1a3b};Object[_0x35670d(0x2fe)](_0x2a1a3b)['forEach'](_0x44fe32=>{_0x2a1a3b[_0x44fe32]===void 0x0&&delete _0x14a158[_0x44fe32];});let _0x2ce422=_0x1811e5['replaceOp'](P[_0x35670d(0x1a4)](_0x1ec92b,_0x413461),_0x36499b,_0x14a158);return _0x14a158[_0x35670d(0x1b1)]===_0x35670d(0x291)?F([_0x2ce422,...this['_setFormulaFieldCells'](_0x276a65,_0x1ec92b,_0x413461,_0x14a158)]):_0x2ce422;}[_0x3401ce(0x193)](_0xabc2e1,_0x473fa4,_0x3229ef,_0x51dc4f){return this['updateField'](_0xabc2e1,_0x473fa4,_0x3229ef,_0x51dc4f);}['deleteField'](_0xef8534,_0x3ae1f9,_0x13d7ad){const _0x454358=_0x3401ce;let _0x2ea675=_0xef8534['tables'][_0x3ae1f9];return!(_0x2ea675!=null&&_0x2ea675[_0x454358(0x204)][_0x13d7ad])||_0x2ea675[_0x454358(0x346)]===_0x13d7ad?_0x1811e5[_0x454358(0x190)]([_0x454358(0x391),_0x3ae1f9,'fieldOrder'],_0x2ea675==null?void 0x0:_0x2ea675[_0x454358(0x264)],_0x2ea675==null?void 0x0:_0x2ea675[_0x454358(0x264)]):this[_0x454358(0x1b7)]([...P[_0x454358(0x1a4)](_0x3ae1f9,_0x13d7ad),_0x454358(0x219)],_0x2ea675[_0x454358(0x204)][_0x13d7ad][_0x454358(0x219)]);}[_0x3401ce(0x3ab)](_0x446a01,_0x3b54b4,_0x56d399,_0x48b4d8){const _0x94840c=_0x3401ce;let _0x15cd56=_0x446a01[_0x94840c(0x391)][_0x3b54b4][_0x94840c(0x264)],_0x30b5f0=zt(_0x15cd56,_0x56d399,_0x48b4d8);return _0x1811e5[_0x94840c(0x190)]([_0x94840c(0x391),_0x3b54b4,'fieldOrder'],_0x15cd56,_0x30b5f0);}[_0x3401ce(0x397)](_0x5ea8af,_0x90e7db,_0x7d4921,_0x5aa65e=_0x5ea8af[_0x3401ce(0x391)][_0x90e7db][_0x3401ce(0x1b9)][_0x3401ce(0x2b1)]){const _0x1549d5=_0x3401ce;return F([_0x1811e5[_0x1549d5(0x38b)](P['view'](_0x90e7db,_0x7d4921['id']),_0x7d4921),_0x1811e5['insertOp']([_0x1549d5(0x391),_0x90e7db,'viewOrder',_0x5aa65e],_0x7d4921['id'])]);}[_0x3401ce(0x39d)](_0x22cab2,_0x20c1d3,_0x3dbf0c,_0x5cde01){const _0x3f2bd2=_0x3401ce;return _0x1811e5['replaceOp']([...P[_0x3f2bd2(0x1c9)](_0x20c1d3,_0x3dbf0c),_0x3f2bd2(0x1fe)],_0x22cab2[_0x3f2bd2(0x391)][_0x20c1d3]['views'][_0x3dbf0c]['name'],_0x5cde01);}['deleteView'](_0x5e458d,_0x3e7cd3,_0x2eda77){const _0x237ab7=_0x3401ce;return this[_0x237ab7(0x1b7)]([...P[_0x237ab7(0x1c9)](_0x3e7cd3,_0x2eda77),_0x237ab7(0x219)],_0x5e458d[_0x237ab7(0x391)][_0x3e7cd3][_0x237ab7(0x2ae)][_0x2eda77][_0x237ab7(0x219)]);}[_0x3401ce(0x352)](_0x1ffb11,_0x2600a6,_0x16c65f,_0x5cb824){const _0x130dd3=_0x3401ce;let _0x34647a=_0x1ffb11[_0x130dd3(0x391)][_0x2600a6][_0x130dd3(0x1b9)],_0x178fc8=zt(_0x34647a,_0x16c65f,{'beforeFieldId':_0x5cb824[_0x130dd3(0x1a6)],'afterFieldId':_0x5cb824['afterViewId']});return _0x1811e5[_0x130dd3(0x190)]([_0x130dd3(0x391),_0x2600a6,_0x130dd3(0x1b9)],_0x34647a,_0x178fc8);}[_0x3401ce(0x378)](_0x593c28,_0x5b880a,_0x2acce1,_0x1129ba){const _0x5ce2f5=_0x3401ce;var _0x1472f4;let _0x193ea7=(_0x1472f4=_0x593c28[_0x5ce2f5(0x391)][_0x5b880a][_0x5ce2f5(0x2ae)][_0x2acce1][_0x5ce2f5(0x3cb)])==null?{}:_0x1472f4,_0x537741={..._0x193ea7,..._0x1129ba};return Object[_0x5ce2f5(0x2fe)](_0x1129ba)[_0x5ce2f5(0x3f4)](_0x2066c7=>{_0x1129ba[_0x2066c7]===void 0x0&&delete _0x537741[_0x2066c7];}),_0x1811e5[_0x5ce2f5(0x190)]([...P[_0x5ce2f5(0x1c9)](_0x5b880a,_0x2acce1),_0x5ce2f5(0x3cb)],_0x193ea7,_0x537741);}[_0x3401ce(0x181)](_0x4df31b,_0x35de97,_0x1e46c6,_0x465708){const _0x3b606b=_0x3401ce;return this[_0x3b606b(0x158)]([...P['view'](_0x35de97,_0x1e46c6),_0x3b606b(0x2db)],_0x4df31b['tables'][_0x35de97][_0x3b606b(0x2ae)][_0x1e46c6]['filter'],_0x465708);}[_0x3401ce(0x395)](_0x222701,_0x2bd918,_0x1151f2,_0x7f36ef){const _0x2008d5=_0x3401ce;return this[_0x2008d5(0x158)]([...P[_0x2008d5(0x1c9)](_0x2bd918,_0x1151f2),_0x2008d5(0x22f)],_0x222701[_0x2008d5(0x391)][_0x2bd918]['views'][_0x1151f2][_0x2008d5(0x22f)],_0x7f36ef);}[_0x3401ce(0x3b8)](_0x14a774,_0x15c561,_0x25a322,_0x50f75e){const _0x4fe771=_0x3401ce;return this[_0x4fe771(0x158)]([...P[_0x4fe771(0x1c9)](_0x15c561,_0x25a322),'group'],_0x14a774[_0x4fe771(0x391)][_0x15c561][_0x4fe771(0x2ae)][_0x25a322][_0x4fe771(0x403)],_0x50f75e);}['setViewFieldVisible'](_0x2d0725,_0x41eb22,_0x536120,_0x56f1c4,_0x2f3969){const _0x5a5aed=_0x3401ce;return this[_0x5a5aed(0x27e)](_0x2d0725,_0x41eb22,_0x536120,_0x56f1c4,{'hidden':!_0x2f3969});}['setViewFieldWidth'](_0x28697c,_0xdd5f1,_0x4b0b02,_0x107211,_0x5705b0){const _0x5b333a=_0x3401ce;return this[_0x5b333a(0x27e)](_0x28697c,_0xdd5f1,_0x4b0b02,_0x107211,{'width':_0x5705b0});}[_0x3401ce(0x3b4)](_0x3450b6,_0x72d7f3,_0x5ce0d9,_0x990688,_0x58716e){const _0x5399ac=_0x3401ce;var _0x3d293a;let _0x367c44=_0x3450b6[_0x5399ac(0x391)][_0x72d7f3][_0x5399ac(0x2ae)][_0x5ce0d9],_0x378c2d=zt((_0x3d293a=_0x367c44[_0x5399ac(0x264)])==null?_0x3450b6[_0x5399ac(0x391)][_0x72d7f3]['fieldOrder']:_0x3d293a,_0x990688,_0x58716e);return this['_replaceOptional']([...P[_0x5399ac(0x1c9)](_0x72d7f3,_0x5ce0d9),'fieldOrder'],_0x367c44[_0x5399ac(0x264)],_0x378c2d);}[_0x3401ce(0x27e)](_0x3febcf,_0x4b890a,_0x1e0eb4,_0x224e2d,_0x17d23d){const _0x69eb72=_0x3401ce;var _0x4d0b49;let _0x5f45dc=(_0x4d0b49=_0x3febcf['tables'][_0x4b890a][_0x69eb72(0x2ae)][_0x1e0eb4]['fieldSettings'])==null?{}:_0x4d0b49,_0x3b528e={..._0x5f45dc,[_0x224e2d]:{..._0x5f45dc[_0x224e2d],..._0x17d23d}};return this[_0x69eb72(0x158)]([...P['view'](_0x4b890a,_0x1e0eb4),_0x69eb72(0x1fd)],_0x3febcf['tables'][_0x4b890a][_0x69eb72(0x2ae)][_0x1e0eb4][_0x69eb72(0x1fd)],_0x3b528e);}[_0x3401ce(0x1b7)](_0x2e25ff,_0x3ae3aa){const _0xb2cacc=_0x3401ce;return this[_0xb2cacc(0x158)](_0x2e25ff,_0x3ae3aa,!0x0);}['_createRecordOrderOp'](_0x2efaf8,_0x49b055,_0x2e91d9){const _0x55881f=_0x3401ce;let _0x2f7869=_0x2efaf8['tables'][_0x49b055],_0x146f77=new Set(_0x2e91d9['map'](_0x4da067=>_0x4da067['id'])),_0x1e8f3f=[...Object['values'](_0x2f7869['records'])['filter'](_0x404520=>!_0x404520[_0x55881f(0x219)]&&!_0x146f77[_0x55881f(0x356)](_0x404520['id'])),..._0x2e91d9['filter'](_0x33760d=>!_0x33760d['deleted'])][_0x55881f(0x22f)]((_0x32a0fe,_0x5799c6)=>{const _0x4c77e2=_0x55881f;var _0x204dcd,_0x3b48f2;return String((_0x204dcd=_0x32a0fe[_0x4c77e2(0x20e)])==null?_0x32a0fe['id']:_0x204dcd)[_0x4c77e2(0x16a)](String((_0x3b48f2=_0x5799c6['orderKey'])==null?_0x5799c6['id']:_0x3b48f2));})[_0x55881f(0x1d3)](_0x4b2553=>_0x4b2553['id']),_0x5b6f76=[...P['table'](_0x49b055),_0x55881f(0x275)];return _0x2f7869[_0x55881f(0x275)]?_0x1811e5['replaceOp'](_0x5b6f76,_0x2f7869[_0x55881f(0x275)],_0x1e8f3f):_0x1811e5[_0x55881f(0x38b)](_0x5b6f76,_0x1e8f3f);}['_setFormulaFieldCells'](_0x40834d,_0x42f1d7,_0x1f9370,_0x186e6a){const _0x310700=_0x3401ce;var _0x1003b5,_0x4f6d04,_0xb42026,_0x219203;let _0x2a9419=C(_0x40834d[_0x310700(0x391)][_0x42f1d7]),_0xa4d11e=String((_0x1003b5=(_0x4f6d04=_0x186e6a[_0x310700(0x3cb)])==null?void 0x0:_0x4f6d04['formula'])==null?'':_0x1003b5)['trim'](),_0x310b2e=(_0xb42026=_0x2a9419[_0x310700(0x3e6)])==null?void 0x0:_0xb42026[_0x1f9370];if(_0x310b2e==null)return[];let _0x17c77c=((_0x219203=_0x2a9419['recordOrder'])==null?Object[_0x310700(0x2fe)](_0x2a9419[_0x310700(0x320)]):_0x219203)[_0x310700(0x2db)](_0x4d0339=>{const _0x580a3e=_0x310700;var _0x29376e;return!((_0x29376e=_0x2a9419[_0x580a3e(0x320)][_0x4d0339])!=null&&_0x29376e[_0x580a3e(0x219)]);}),_0x113927=_0x17c77c[_0x310700(0x1d3)](_0x440665=>{const _0x372a1a=_0x310700;var _0xc61c7c;return(_0xc61c7c=_0x2a9419[_0x372a1a(0x1dd)])==null?void 0x0:_0xc61c7c[_0x440665];})[_0x310700(0x387)](_0x1c3654=>_0x1c3654!=null);return _0x17c77c[_0x310700(0x278)](_0x944ed0=>{const _0x3b8598=_0x310700;var _0x2cdfcb,_0x1d6cf8;let _0xfb2fcb=(_0x2cdfcb=_0x2a9419['rowIndex'])==null?void 0x0:_0x2cdfcb[_0x944ed0];if(_0xfb2fcb==null)return[];let _0x5e54ef=(_0x1d6cf8=_0x2a9419[_0x3b8598(0x29d)])==null||(_0x1d6cf8=_0x1d6cf8[_0xfb2fcb])==null?void 0x0:_0x1d6cf8[_0x310b2e],_0x236b2e=_0xa4d11e?_0xfb2fcb===_0x113927?{'f':_0xa4d11e,'si':_0x1f9370}:{'si':_0x1f9370}:{'v':null,'t':null};return[this[_0x3b8598(0x158)](P[_0x3b8598(0x29d)](_0x42f1d7,_0xfb2fcb,_0x310b2e),_0x5e54ef,_0x236b2e)];});}[_0x3401ce(0x19d)](_0x5c28d7,_0x142481,_0x18ebf9,_0x5594e0,_0x3e9297){const _0x23bd95=_0x3401ce;var _0x1cdda7;let _0x49db2c=De(_0x5594e0,_0x18ebf9),_0x504127=_0x3e9297[_0x23bd95(0x1d3)]((_0x189740,_0x401cc3)=>{var _0x1acbff;return String((_0x1acbff=_0x189740['id'])==null?_0x49db2c+'\x1f'+_0x401cc3:_0x1acbff);});return[this[_0x23bd95(0x158)](P[_0x23bd95(0x3cd)](_0x142481,_0x49db2c),(_0x1cdda7=_0x5c28d7['resources'])==null||(_0x1cdda7=_0x1cdda7[_0x23bd95(0x1e0)])==null?void 0x0:_0x1cdda7[_0x49db2c],_0x504127),..._0x3e9297[_0x23bd95(0x1d3)]((_0x409605,_0x24df9f)=>{const _0x31b392=_0x23bd95;var _0x1f638d;let _0x2b8534=_0x504127[_0x24df9f];return this[_0x31b392(0x158)](P[_0x31b392(0x375)](_0x142481,_0x2b8534),(_0x1f638d=_0x5c28d7['resources'])==null||(_0x1f638d=_0x1f638d['attachments'])==null?void 0x0:_0x1f638d[_0x2b8534],{..._0x409605,'id':_0x2b8534});})];}[_0x3401ce(0x158)](_0x27eaaf,_0x28503d,_0x24289d){const _0x353f94=_0x3401ce;return _0x28503d===void 0x0?_0x1811e5[_0x353f94(0x38b)](_0x27eaaf,_0x24289d):_0x1811e5['replaceOp'](_0x27eaaf,_0x28503d,_0x24289d);}};function Lt(_0x421f96,_0x156166,_0x17afa8){const _0x14c610=_0x3401ce;var _0x45ee1c,_0x54e7c3,_0x10368e,_0x12a782;let _0x5c7900=(_0x45ee1c=_0x421f96[_0x14c610(0x1dd)])==null?void 0x0:_0x45ee1c[_0x156166],_0x4ae2bf=(_0x54e7c3=_0x421f96[_0x14c610(0x3e6)])==null?void 0x0:_0x54e7c3[_0x17afa8];return _0x5c7900!=null&&_0x4ae2bf!=null&&((_0x10368e=_0x421f96[_0x14c610(0x21e)])==null?void 0x0:_0x10368e[_0x5c7900])===_0x156166&&((_0x12a782=_0x421f96[_0x14c610(0x359)])==null?void 0x0:_0x12a782[_0x4ae2bf])===_0x17afa8&&_0x421f96[_0x14c610(0x29d)]!=null;}function Rt(_0xb3215,_0x281761,_0x541e42){const _0x57b862=_0x3401ce;var _0xf83e82,_0x471865;return((_0xf83e82=_0xb3215[_0x57b862(0x21e)])==null?void 0x0:_0xf83e82[_0x281761])!=null&&((_0x471865=_0xb3215[_0x57b862(0x359)])==null?void 0x0:_0x471865[_0x541e42])!=null&&_0xb3215[_0x57b862(0x29d)]!=null;}function zt(_0xc95e57,_0x1cdad1,_0x5abf83){const _0x157824=_0x3401ce;let _0x3997e5=_0xc95e57[_0x157824(0x2db)](_0x2d221e=>_0x2d221e!==_0x1cdad1),_0x462d76=_0x5abf83[_0x157824(0x1c5)]?_0x3997e5[_0x157824(0x255)](_0x5abf83['beforeFieldId']):_0x5abf83[_0x157824(0x2d2)]?_0x3997e5[_0x157824(0x255)](_0x5abf83[_0x157824(0x2d2)])+0x1:_0x3997e5['length'];return _0x3997e5[_0x157824(0x23d)](_0x462d76<0x0?_0x3997e5[_0x157824(0x2b1)]:_0x462d76,0x0,_0x1cdad1),_0x3997e5;}function Bt(_0x15e127,_0x23847d,_0x325a63){const _0x2b74cd=_0x3401ce;let _0x36449f=_0x15e127[_0x2b74cd(0x2db)](_0x5d4b66=>_0x5d4b66!==_0x23847d);return _0x36449f[_0x2b74cd(0x23d)](Vt(_0x325a63,_0x36449f[_0x2b74cd(0x2b1)]),0x0,_0x23847d),_0x36449f;}function Vt(_0x2fb8d2,_0x562708){const _0x455117=_0x3401ce;return Math[_0x455117(0x16c)](0x0,Math['min'](_0x2fb8d2,_0x562708));}function L(_0x3f23d7){'@babel/helpers - typeof';const _0x5840ef=_0x3401ce;return L=typeof Symbol==_0x5840ef(0x366)&&typeof Symbol['iterator']==_0x5840ef(0x16f)?function(_0x2e8b35){return typeof _0x2e8b35;}:function(_0x4e26e5){const _0x31798c=_0x5840ef;return _0x4e26e5&&typeof Symbol==_0x31798c(0x366)&&_0x4e26e5[_0x31798c(0x344)]===Symbol&&_0x4e26e5!==Symbol['prototype']?'symbol':typeof _0x4e26e5;},L(_0x3f23d7);}function Ht(_0x160fd5,_0x4f577a){const _0x17f3b2=_0x3401ce;if(L(_0x160fd5)!=_0x17f3b2(0x331)||!_0x160fd5)return _0x160fd5;var _0x4d931a=_0x160fd5[Symbol[_0x17f3b2(0x2ba)]];if(_0x4d931a!==void 0x0){var _0xa716cc=_0x4d931a[_0x17f3b2(0x1b4)](_0x160fd5,_0x4f577a||_0x17f3b2(0x2bb));if(L(_0xa716cc)!='object')return _0xa716cc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4f577a===_0x17f3b2(0x3f7)?String:Number)(_0x160fd5);}function Ut(_0x2ed5ed){const _0x2e778f=_0x3401ce;var _0x1f1ba8=Ht(_0x2ed5ed,_0x2e778f(0x3f7));return L(_0x1f1ba8)==_0x2e778f(0x16f)?_0x1f1ba8:_0x1f1ba8+'';}function R(_0x59a621,_0x5470c9,_0x3dae98){return(_0x5470c9=Ut(_0x5470c9))in _0x59a621?Object['defineProperty'](_0x59a621,_0x5470c9,{'value':_0x3dae98,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59a621[_0x5470c9]=_0x3dae98,_0x59a621;}const z=_0x53452b(_0x3401ce(0x2ac));var Wt=class extends _0x4b5308{constructor(..._0x1b318c){const _0x2fe0ae=_0x3401ce;super(..._0x1b318c),R(this,_0x2fe0ae(0x350),new Map());}[_0x3401ce(0x2e7)](_0x55c9fe){const _0x5ad732=_0x3401ce;return this[_0x5ad732(0x350)]['set'](_0x55c9fe['type'],_0x55c9fe),_0x200b81(()=>this[_0x5ad732(0x350)][_0x5ad732(0x1d6)](_0x55c9fe[_0x5ad732(0x1b1)]));}[_0x3401ce(0x192)](_0x5d02b9){const _0x9734d3=_0x3401ce;let _0x8a8988=this[_0x9734d3(0x350)][_0x9734d3(0x192)](_0x5d02b9);if(!_0x8a8988)throw Error(_0x9734d3(0x29f)+_0x5d02b9+_0x9734d3(0x3b0));return _0x8a8988;}[_0x3401ce(0x3bb)](_0x11f0f8){const _0x2dc830=_0x3401ce;return this[_0x2dc830(0x350)][_0x2dc830(0x192)](_0x11f0f8);}[_0x3401ce(0x188)](){const _0x318876=_0x3401ce;return Array[_0x318876(0x33e)](this['_plugins']['values']());}};const Gt=_0x53452b('base.permission.service');var Kt=class{constructor(){const _0x19094e=_0x3401ce;R(this,_0x19094e(0x215),new Map()),R(this,_0x19094e(0x16b),new Map()),R(this,_0x19094e(0x1ca),new Map()),R(this,'_recordPermissions',new Map());}[_0x3401ce(0x309)](_0x4c4955){const _0x36d8bd=_0x3401ce;var _0x32642b,_0x3f2827;return(_0x32642b=(_0x3f2827=this[_0x36d8bd(0x215)][_0x36d8bd(0x192)](_0x4c4955))==null?void 0x0:_0x3f2827[_0x36d8bd(0x3a2)])==null?!0x0:_0x32642b;}['canDeleteTable'](_0x2faefb){const _0x508f23=_0x3401ce;var _0x3c9af9,_0x4ca5d6;return(_0x3c9af9=(_0x4ca5d6=this['_tablePermissions'][_0x508f23(0x192)](_0x2faefb))==null?void 0x0:_0x4ca5d6[_0x508f23(0x1d6)])==null?!0x0:_0x3c9af9;}[_0x3401ce(0x322)](_0xee1bf2){const _0x5b7dc6=_0x3401ce;var _0x5a8a96,_0x2331a0;return(_0x5a8a96=(_0x2331a0=this[_0x5b7dc6(0x16b)]['get'](_0xee1bf2))==null?void 0x0:_0x2331a0[_0x5b7dc6(0x179)])==null?!0x0:_0x5a8a96;}['canEditField'](_0x370435,_0x5f47e4){const _0x25af93=_0x3401ce;var _0x434d8a,_0x8ced00;return(_0x434d8a=(_0x8ced00=this[_0x25af93(0x1ca)][_0x25af93(0x192)](B(_0x370435,_0x5f47e4)))==null?void 0x0:_0x8ced00[_0x25af93(0x2ee)])==null?!0x0:_0x434d8a;}[_0x3401ce(0x1cc)](_0x4b8da5,_0x471b02){const _0x1c0e20=_0x3401ce;var _0x5f45a3,_0x5c6afe;return(_0x5f45a3=(_0x5c6afe=this[_0x1c0e20(0x1ca)][_0x1c0e20(0x192)](B(_0x4b8da5,_0x471b02)))==null?void 0x0:_0x5c6afe['delete'])==null?!0x0:_0x5f45a3;}[_0x3401ce(0x407)](_0x16bd1c){const _0x1b9d27=_0x3401ce;var _0x52ec3d,_0x3d4c38;return(_0x52ec3d=(_0x3d4c38=this[_0x1b9d27(0x16b)]['get'](_0x16bd1c))==null?void 0x0:_0x3d4c38['createRecord'])==null?!0x0:_0x52ec3d;}[_0x3401ce(0x262)](_0x172055,_0x257a7e){const _0x3af20b=_0x3401ce;var _0x55f98f,_0x28f86a;return(_0x55f98f=(_0x28f86a=this['_recordPermissions'][_0x3af20b(0x192)](V(_0x172055,_0x257a7e)))==null?void 0x0:_0x28f86a[_0x3af20b(0x1d6)])==null?!0x0:_0x55f98f;}[_0x3401ce(0x2f7)](_0x7b9b9f,_0x5baff9,_0x2b0366){const _0x4e7756=_0x3401ce;var _0x3e9cf1,_0x59bda0,_0x5acd94,_0x3e3d49;let _0x4dc82b=this[_0x4e7756(0x1ca)][_0x4e7756(0x192)](B(_0x7b9b9f,_0x2b0366));return((_0x3e9cf1=(_0x59bda0=this[_0x4e7756(0x3a9)][_0x4e7756(0x192)](V(_0x7b9b9f,_0x5baff9)))==null?void 0x0:_0x59bda0[_0x4e7756(0x176)])==null?!0x0:_0x3e9cf1)&&((_0x5acd94=_0x4dc82b==null?void 0x0:_0x4dc82b[_0x4e7756(0x2ee)])==null?!0x0:_0x5acd94)&&((_0x3e3d49=_0x4dc82b==null?void 0x0:_0x4dc82b['editCell'])==null?!0x0:_0x3e3d49);}[_0x3401ce(0x2c3)](_0x368cb0){const _0x3ff537=_0x3401ce;var _0x27c207,_0x2b5e34;return(_0x27c207=(_0x2b5e34=this[_0x3ff537(0x16b)]['get'](_0x368cb0))==null?void 0x0:_0x2b5e34[_0x3ff537(0x21d)])==null?!0x0:_0x27c207;}[_0x3401ce(0x1e3)](_0x28cd5d,_0x580e53){const _0x4f15d6=_0x3401ce;this[_0x4f15d6(0x215)][_0x4f15d6(0x270)](_0x28cd5d,{...this[_0x4f15d6(0x215)][_0x4f15d6(0x192)](_0x28cd5d),..._0x580e53});}['setTablePermission'](_0x2a3775,_0x1809f6){const _0x44e6c1=_0x3401ce;this[_0x44e6c1(0x16b)][_0x44e6c1(0x270)](_0x2a3775,{...this[_0x44e6c1(0x16b)]['get'](_0x2a3775),..._0x1809f6});}[_0x3401ce(0x3aa)](_0x5c6fe9,_0x429d1,_0x15cb4d){const _0x104979=_0x3401ce;let _0x2cdbfb=B(_0x5c6fe9,_0x429d1);this['_fieldPermissions']['set'](_0x2cdbfb,{...this['_fieldPermissions'][_0x104979(0x192)](_0x2cdbfb),..._0x15cb4d});}['setRecordPermission'](_0x464b5c,_0x3c073c,_0x537a23){const _0x44b779=_0x3401ce;let _0x20618a=V(_0x464b5c,_0x3c073c);this[_0x44b779(0x3a9)]['set'](_0x20618a,{...this['_recordPermissions'][_0x44b779(0x192)](_0x20618a),..._0x537a23});}[_0x3401ce(0x2f6)](_0x300ffc){const _0x14eb38=_0x3401ce;this[_0x14eb38(0x215)][_0x14eb38(0x1d6)](_0x300ffc);}[_0x3401ce(0x3d7)](_0x31fbba){const _0xfc44d6=_0x3401ce;this[_0xfc44d6(0x16b)]['delete'](_0x31fbba);}[_0x3401ce(0x210)](_0x56a819,_0x158103){const _0x59d46c=_0x3401ce;this[_0x59d46c(0x1ca)][_0x59d46c(0x1d6)](B(_0x56a819,_0x158103));}['clearRecordPermission'](_0x3e4759,_0x5174f0){const _0x10bc22=_0x3401ce;this[_0x10bc22(0x3a9)][_0x10bc22(0x1d6)](V(_0x3e4759,_0x5174f0));}[_0x3401ce(0x327)](){const _0x329dd2=_0x3401ce;return{'bases':Object[_0x329dd2(0x300)](this['_basePermissions']),'tables':Object[_0x329dd2(0x300)](this[_0x329dd2(0x16b)]),'fields':Object[_0x329dd2(0x300)](this[_0x329dd2(0x1ca)]),'records':Object['fromEntries'](this['_recordPermissions'])};}};function B(_0x442942,_0x2f5b03){return _0x442942+'\x1f'+_0x2f5b03;}function V(_0x3350fe,_0x1fcd09){return _0x3350fe+'\x1f'+_0x1fcd09;}function H(_0x3db8d6,_0x12f366){return function(_0x30e8ce,_0x45aa3e){_0x12f366(_0x30e8ce,_0x45aa3e,_0x3db8d6);};}function U(_0x4f72b4,_0x1a9e05,_0x112447,_0x6b2c91){const _0x57f299=_0x3401ce;var _0x4eb264=arguments[_0x57f299(0x2b1)],_0x3c4f7f=_0x4eb264<0x3?_0x1a9e05:_0x6b2c91===null?_0x6b2c91=Object['getOwnPropertyDescriptor'](_0x1a9e05,_0x112447):_0x6b2c91,_0x41603f;if(typeof Reflect==_0x57f299(0x331)&&typeof Reflect[_0x57f299(0x3cf)]==_0x57f299(0x366))_0x3c4f7f=Reflect[_0x57f299(0x3cf)](_0x4f72b4,_0x1a9e05,_0x112447,_0x6b2c91);else{for(var _0x40cbe7=_0x4f72b4[_0x57f299(0x2b1)]-0x1;_0x40cbe7>=0x0;_0x40cbe7--)(_0x41603f=_0x4f72b4[_0x40cbe7])&&(_0x3c4f7f=(_0x4eb264<0x3?_0x41603f(_0x3c4f7f):_0x4eb264>0x3?_0x41603f(_0x1a9e05,_0x112447,_0x3c4f7f):_0x41603f(_0x1a9e05,_0x112447))||_0x3c4f7f);}return _0x4eb264>0x3&&_0x3c4f7f&&Object[_0x57f299(0x1ae)](_0x1a9e05,_0x112447,_0x3c4f7f),_0x3c4f7f;}const W=_0x53452b('base.command.service');let qt=class{constructor(_0x11bb3c,_0x503154=Jt(),_0x558a37={}){const _0x47bafb=_0x3401ce;this[_0x47bafb(0x2e0)]=_0x11bb3c,this[_0x47bafb(0x3f3)]=_0x503154,this[_0x47bafb(0x365)]=_0x558a37,R(this,'_factory',new I()),R(this,_0x47bafb(0x40b),new D());}[_0x3401ce(0x3a2)](_0x5d5da6,_0x1762a9,_0x43adab){const _0x16da94=_0x3401ce;if(!this[_0x16da94(0x2e0)][_0x16da94(0x309)](_0x5d5da6[_0x16da94(0x3d5)]()))throw Error(_0x16da94(0x376));this[_0x16da94(0x174)](_0x5d5da6,this[_0x16da94(0x24d)][_0x16da94(0x3a2)](_0x5d5da6[_0x16da94(0x327)](),_0x1762a9,_0x43adab));}['renameTable'](_0x2c1d83,_0x236510,_0x32b519){const _0x4c6783=_0x3401ce;this[_0x4c6783(0x174)](_0x2c1d83,this[_0x4c6783(0x24d)][_0x4c6783(0x3c5)](_0x2c1d83[_0x4c6783(0x327)](),_0x236510,_0x32b519));}[_0x3401ce(0x1c0)](_0x3bd2b7,_0x5d0774){const _0x268487=_0x3401ce;if(!this[_0x268487(0x2e0)][_0x268487(0x15b)](_0x5d0774))throw Error(_0x268487(0x2be));this[_0x268487(0x174)](_0x3bd2b7,this[_0x268487(0x24d)][_0x268487(0x1c0)](_0x3bd2b7[_0x268487(0x327)](),_0x5d0774));}[_0x3401ce(0x35a)](_0x38cf39,_0x4fc122,_0x323d16,_0x30467f,_0x430bd5){const _0x2af171=_0x3401ce;this[_0x2af171(0x174)](_0x38cf39,this[_0x2af171(0x18f)](_0x38cf39,_0x4fc122,_0x323d16,_0x30467f,_0x430bd5));}['setRecordValues'](_0xa1bb92,_0x34e03c,_0x590bfc){const _0x8b52ea=_0x3401ce;this[_0x8b52ea(0x174)](_0xa1bb92,this[_0x8b52ea(0x1a0)](_0xa1bb92,_0x34e03c,_0x590bfc));}[_0x3401ce(0x29c)](_0x11108e,_0xce451e,_0x58cb73){const _0x83c40=_0x3401ce;this[_0x83c40(0x174)](_0x11108e,this[_0x83c40(0x195)](_0x11108e,_0xce451e,_0x58cb73));}[_0x3401ce(0x18f)](_0x546cb4,_0x49bbde,_0x372b79,_0x42a91e,_0x402b89){const _0x32af0f=_0x3401ce;let _0x321941=_0x546cb4['getSnapshot'](),_0x396b0f=this[_0x32af0f(0x37c)](_0x321941,_0x49bbde,_0x372b79,_0x42a91e,_0x402b89),_0x67081b=this[_0x32af0f(0x216)](_0x321941,_0x49bbde,_0x372b79,{[_0x42a91e]:_0x396b0f});return this[_0x32af0f(0x24d)]['setRecordValues'](_0x321941,_0x49bbde,[_0x67081b]);}['createSetRecordValuesOp'](_0x11dd08,_0x41dd3c,_0x585d9e){const _0x18b954=_0x3401ce;let _0x2088fc=_0x11dd08[_0x18b954(0x327)](),_0x45777b=_0x585d9e[_0x18b954(0x1d3)](_0x505d64=>this[_0x18b954(0x216)](_0x2088fc,_0x41dd3c,_0x505d64[_0x18b954(0x163)],{...Object[_0x18b954(0x300)](Object[_0x18b954(0x184)](_0x505d64[_0x18b954(0x288)])['map'](([_0xa395e6,_0x2f1002])=>[_0xa395e6,this[_0x18b954(0x37c)](_0x2088fc,_0x41dd3c,_0x505d64[_0x18b954(0x163)],_0xa395e6,_0x2f1002)]))}));return this[_0x18b954(0x24d)][_0x18b954(0x2f9)](_0x2088fc,_0x41dd3c,_0x45777b);}[_0x3401ce(0x195)](_0x4a6058,_0x369c50,_0x37b3ce){const _0x4449e6=_0x3401ce;if(!this[_0x4449e6(0x2e0)][_0x4449e6(0x407)](_0x369c50))throw Error(_0x4449e6(0x338));let _0x44d876=_0x4a6058[_0x4449e6(0x327)](),_0x5683c0=this['_createNumberingAllocators'](_0x44d876[_0x4449e6(0x391)][_0x369c50]);return this[_0x4449e6(0x24d)][_0x4449e6(0x29c)](_0x44d876,_0x369c50,this['_createRecordWithDefaults'](_0x44d876,_0x369c50,_0x37b3ce,_0x5683c0));}[_0x3401ce(0x2c7)](_0xe9e9a2,_0x32b959,_0x12381b){const _0x5eb671=_0x3401ce;if(!this[_0x5eb671(0x2e0)][_0x5eb671(0x407)](_0x32b959))throw Error(_0x5eb671(0x338));let _0x41ca28=_0xe9e9a2[_0x5eb671(0x327)](),_0x44528e=this[_0x5eb671(0x1e6)](_0x41ca28[_0x5eb671(0x391)][_0x32b959]);return this[_0x5eb671(0x24d)][_0x5eb671(0x2a1)](_0x41ca28,_0x32b959,_0x12381b[_0x5eb671(0x1d3)](_0x32ce89=>this[_0x5eb671(0x232)](_0x41ca28,_0x32b959,_0x32ce89,_0x44528e)));}['createCreateFieldOp'](_0x4fa06e,_0x550cda,_0x59bd7c,_0x5c9ca2,_0x5e1de6){const _0x55332d=_0x3401ce;if(!this[_0x55332d(0x2e0)][_0x55332d(0x322)](_0x550cda))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x54be7f=_0x4fa06e[_0x55332d(0x327)](),_0x5dbe25=this['_factory']['createField'](_0x54be7f,_0x550cda,{'field':_0x59bd7c,'index':_0x5c9ca2,'viewIndexes':_0x5e1de6}),_0x31fcb9=this['_createSystemFieldValuePatches'](_0x54be7f,_0x550cda,_0x59bd7c);if(!_0x31fcb9[_0x55332d(0x2b1)])return _0x5dbe25;let _0x7471ea=this[_0x55332d(0x40b)]['applyOp'](_0x54be7f,_0x5dbe25);return F([_0x5dbe25,this['_factory'][_0x55332d(0x2f9)](_0x7471ea,_0x550cda,_0x31fcb9)]);}[_0x3401ce(0x2ab)](_0x3ef5d9,_0x5eb1e1,_0x37464c){const _0x4edb6b=_0x3401ce;if(!this['_permissionService']['canDeleteRecord'](_0x5eb1e1,_0x37464c))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this['_apply'](_0x3ef5d9,this[_0x4edb6b(0x24d)][_0x4edb6b(0x2ab)](_0x3ef5d9[_0x4edb6b(0x327)](),_0x5eb1e1,_0x37464c));}['duplicateRecord'](_0x47d739,_0x345a7d,_0x892dfa,_0x2115d1){const _0x4600a2=_0x3401ce;this[_0x4600a2(0x174)](_0x47d739,this[_0x4600a2(0x24d)][_0x4600a2(0x20d)](_0x47d739[_0x4600a2(0x327)](),_0x345a7d,_0x892dfa,_0x2115d1));}[_0x3401ce(0x3fe)](_0x3f6c1a,_0x341217,_0x5800cd,_0x32fbe9){const _0x45066c=_0x3401ce;this[_0x45066c(0x174)](_0x3f6c1a,this[_0x45066c(0x24d)][_0x45066c(0x3fe)](_0x3f6c1a['getSnapshot'](),_0x341217,_0x5800cd,_0x32fbe9));}[_0x3401ce(0x179)](_0x5f5a32,_0x3c6fca,_0x40a2c8,_0x5f4e5f,_0x1f73a0){const _0x27e39a=_0x3401ce;this[_0x27e39a(0x174)](_0x5f5a32,this[_0x27e39a(0x3c7)](_0x5f5a32,_0x3c6fca,_0x40a2c8,_0x5f4e5f,_0x1f73a0));}[_0x3401ce(0x34d)](_0x1c66b1,_0x2d5113,_0x43fe01,_0x1d923f){const _0x4c5a78=_0x3401ce;if(!this[_0x4c5a78(0x2e0)][_0x4c5a78(0x189)](_0x2d5113,_0x43fe01))throw Error(_0x4c5a78(0x2b9));this[_0x4c5a78(0x174)](_0x1c66b1,this[_0x4c5a78(0x24d)][_0x4c5a78(0x34d)](_0x1c66b1[_0x4c5a78(0x327)](),_0x2d5113,_0x43fe01,_0x1d923f));}[_0x3401ce(0x193)](_0x4b2433,_0x515253,_0x11dbde,_0x1e717f){const _0x2231a1=_0x3401ce;if(!this['_permissionService'][_0x2231a1(0x189)](_0x515253,_0x11dbde))throw Error(_0x2231a1(0x2b9));this['_apply'](_0x4b2433,this['_factory'][_0x2231a1(0x193)](_0x4b2433[_0x2231a1(0x327)](),_0x515253,_0x11dbde,_0x1e717f));}[_0x3401ce(0x3f5)](_0x504b1f,_0x256038,_0x16f885){const _0x4a5ce8=_0x3401ce;var _0x341bdc;if(((_0x341bdc=_0x504b1f['getSnapshot']()[_0x4a5ce8(0x391)][_0x256038])==null?void 0x0:_0x341bdc['primaryFieldId'])===_0x16f885)throw Error(_0x4a5ce8(0x3f8));if(!this[_0x4a5ce8(0x2e0)][_0x4a5ce8(0x1cc)](_0x256038,_0x16f885))throw Error(_0x4a5ce8(0x315));this[_0x4a5ce8(0x174)](_0x504b1f,this[_0x4a5ce8(0x24d)]['deleteField'](_0x504b1f['getSnapshot'](),_0x256038,_0x16f885));}[_0x3401ce(0x3ab)](_0x3a8065,_0x3cb4cd,_0x11f5d8,_0x5e894e){const _0xc6f56a=_0x3401ce;if(!this[_0xc6f56a(0x2e0)]['canEditField'](_0x3cb4cd,_0x11f5d8))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0xc6f56a(0x174)](_0x3a8065,this['_factory'][_0xc6f56a(0x3ab)](_0x3a8065[_0xc6f56a(0x327)](),_0x3cb4cd,_0x11f5d8,_0x5e894e));}[_0x3401ce(0x397)](_0x270055,_0x9ea178,_0xf85707,_0x5ea92e){const _0x3fc284=_0x3401ce;this[_0x3fc284(0x174)](_0x270055,this[_0x3fc284(0x24d)]['createView'](_0x270055['getSnapshot'](),_0x9ea178,_0xf85707,_0x5ea92e));}[_0x3401ce(0x39d)](_0x5b004d,_0x3ef4c5,_0x44cf81,_0x195906){const _0x36dd21=_0x3401ce;if(!this[_0x36dd21(0x2e0)][_0x36dd21(0x2c3)](_0x3ef4c5,_0x44cf81))throw Error(_0x36dd21(0x1a2));this[_0x36dd21(0x174)](_0x5b004d,this['_factory'][_0x36dd21(0x39d)](_0x5b004d['getSnapshot'](),_0x3ef4c5,_0x44cf81,_0x195906));}['deleteView'](_0x43f78d,_0x3c52b4,_0x106444){const _0x56d708=_0x3401ce;if(!this[_0x56d708(0x2e0)]['canManageView'](_0x3c52b4,_0x106444))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x56d708(0x174)](_0x43f78d,this[_0x56d708(0x24d)]['deleteView'](_0x43f78d[_0x56d708(0x327)](),_0x3c52b4,_0x106444));}[_0x3401ce(0x352)](_0x594d74,_0x272511,_0x186fab,_0x471d65){const _0x3d7544=_0x3401ce;if(!this[_0x3d7544(0x2e0)]['canManageView'](_0x272511,_0x186fab))throw Error(_0x3d7544(0x1a2));this[_0x3d7544(0x174)](_0x594d74,this[_0x3d7544(0x24d)][_0x3d7544(0x352)](_0x594d74[_0x3d7544(0x327)](),_0x272511,_0x186fab,_0x471d65));}[_0x3401ce(0x378)](_0x5eb776,_0x57a8ab,_0x248a56,_0x333211){const _0x534b19=_0x3401ce;if(!this[_0x534b19(0x2e0)][_0x534b19(0x2c3)](_0x57a8ab,_0x248a56))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x5eb776,this[_0x534b19(0x24d)][_0x534b19(0x378)](_0x5eb776[_0x534b19(0x327)](),_0x57a8ab,_0x248a56,_0x333211));}[_0x3401ce(0x181)](_0x5b6d9b,_0x42280c,_0x5432ee,_0x3a602c){const _0x924a69=_0x3401ce;this[_0x924a69(0x174)](_0x5b6d9b,this[_0x924a69(0x24d)][_0x924a69(0x181)](_0x5b6d9b[_0x924a69(0x327)](),_0x42280c,_0x5432ee,_0x3a602c));}[_0x3401ce(0x395)](_0x5842fd,_0x1a3160,_0x4d1a7d,_0x5b61fb){const _0x481065=_0x3401ce;this[_0x481065(0x174)](_0x5842fd,this[_0x481065(0x24d)][_0x481065(0x395)](_0x5842fd[_0x481065(0x327)](),_0x1a3160,_0x4d1a7d,_0x5b61fb));}[_0x3401ce(0x3b8)](_0x58ff54,_0x22e246,_0x570663,_0x5dbbd4){const _0x991c22=_0x3401ce;this[_0x991c22(0x174)](_0x58ff54,this[_0x991c22(0x24d)][_0x991c22(0x3b8)](_0x58ff54[_0x991c22(0x327)](),_0x22e246,_0x570663,_0x5dbbd4));}['setViewFieldVisible'](_0x29706f,_0x53cd41,_0x5412c1,_0x579cfb,_0x48515d){const _0x340043=_0x3401ce;if(!this[_0x340043(0x2e0)][_0x340043(0x2c3)](_0x53cd41,_0x5412c1))throw Error(_0x340043(0x1a2));this[_0x340043(0x174)](_0x29706f,this[_0x340043(0x24d)][_0x340043(0x3b5)](_0x29706f[_0x340043(0x327)](),_0x53cd41,_0x5412c1,_0x579cfb,_0x48515d));}[_0x3401ce(0x292)](_0x231768,_0x1ea47e,_0x5d3191,_0x54adf7,_0xd40fbf){const _0x5b133a=_0x3401ce;this['_apply'](_0x231768,this[_0x5b133a(0x24d)]['setViewFieldWidth'](_0x231768['getSnapshot'](),_0x1ea47e,_0x5d3191,_0x54adf7,_0xd40fbf));}['setViewFieldOrder'](_0x4dc664,_0x36abad,_0x5915c8,_0x3f81ee,_0x14fc3e){const _0x47aa03=_0x3401ce;this[_0x47aa03(0x174)](_0x4dc664,this[_0x47aa03(0x24d)][_0x47aa03(0x3b4)](_0x4dc664[_0x47aa03(0x327)](),_0x36abad,_0x5915c8,_0x3f81ee,_0x14fc3e));}[_0x3401ce(0x174)](_0x5a871e,_0x5dc0d0){const _0x84345a=_0x3401ce;let _0x25a502=_0x5a871e[_0x84345a(0x327)]();_0x5a871e[_0x84345a(0x1c3)](this['_applier'][_0x84345a(0x197)](_0x25a502,_0x5dc0d0));}['_createRecordWithDefaults'](_0x3cc925,_0x42fe0c,_0x3201aa,_0x863f87=this[_0x3401ce(0x1e6)](_0x3cc925[_0x3401ce(0x391)][_0x42fe0c])){const _0x3215e1=_0x3401ce;var _0x1dd602,_0x4bf878,_0x5c19cc,_0x1ccc60;let _0x125f84=_0x3cc925[_0x3215e1(0x391)][_0x42fe0c],_0x139bbe=(_0x1dd602=(_0x4bf878=_0x3201aa[_0x3215e1(0x18d)])==null?_0x3201aa[_0x3215e1(0x389)]:_0x4bf878)==null?this[_0x3215e1(0x1e1)]():_0x1dd602,_0x5d2970={..._0x3201aa,'createdBy':(_0x5c19cc=_0x3201aa[_0x3215e1(0x18d)])==null?_0x139bbe:_0x5c19cc,'updatedBy':(_0x1ccc60=_0x3201aa['updatedBy'])==null?_0x139bbe:_0x1ccc60,'values':{..._0x3201aa[_0x3215e1(0x288)]}};return _0x125f84[_0x3215e1(0x264)][_0x3215e1(0x3f4)](_0x44a2d8=>{const _0x36b069=_0x3215e1;let _0x1c94b1=_0x125f84[_0x36b069(0x204)][_0x44a2d8];if(!(!_0x1c94b1||_0x1c94b1[_0x36b069(0x219)]||_0x5d2970[_0x36b069(0x288)][_0x44a2d8]!==void 0x0))switch(_0x1c94b1[_0x36b069(0x1b1)]){case _0x36b069(0x20a):var _0x395230,_0x5f2316;_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=(_0x395230=(_0x5f2316=_0x863f87[_0x36b069(0x192)](_0x44a2d8))==null?void 0x0:_0x5f2316())==null?this[_0x36b069(0x15d)](_0x125f84,_0x44a2d8)():_0x395230;break;case _0x36b069(0x18d):_0x5d2970[_0x36b069(0x18d)]&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0x5d2970[_0x36b069(0x18d)]);break;case _0x36b069(0x389):_0x5d2970[_0x36b069(0x389)]&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0x5d2970['updatedBy']);break;case'createdAt':_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=O(_0x5d2970[_0x36b069(0x2d7)]);break;case _0x36b069(0x1c8):_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=O(_0x5d2970[_0x36b069(0x1c8)]);break;default:{let _0xd8da5c=_0x1c94b1[_0x36b069(0x1ea)];_0xd8da5c!=null&&_0xd8da5c!==''&&!(Array['isArray'](_0xd8da5c)&&_0xd8da5c['length']===0x0)&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0xd8da5c);}}}),_0x5d2970;}[_0x3401ce(0x216)](_0xd16e5f,_0x30297c,_0x419c94,_0xa7293a){const _0x4a6c60=_0x3401ce;var _0x172354,_0x244cd1,_0x59799a;let _0xf1b95d=_0xd16e5f[_0x4a6c60(0x391)][_0x30297c],_0x149418=(_0x172354=(_0x244cd1=(_0x59799a=this[_0x4a6c60(0x365)])[_0x4a6c60(0x3b2)])==null?void 0x0:_0x244cd1[_0x4a6c60(0x1b4)](_0x59799a))==null?Date[_0x4a6c60(0x3b2)]():_0x172354,_0x502d7c=this[_0x4a6c60(0x1e1)](),_0x171ced={..._0xa7293a};return _0xf1b95d[_0x4a6c60(0x264)][_0x4a6c60(0x3f4)](_0x54cde7=>{const _0x2e40e6=_0x4a6c60;let _0x1b5626=_0xf1b95d[_0x2e40e6(0x204)][_0x54cde7];!_0x1b5626||_0x1b5626[_0x2e40e6(0x219)]||(_0x1b5626['type']===_0x2e40e6(0x1c8)&&(_0x171ced[_0x54cde7]=O(_0x149418)),_0x1b5626['type']===_0x2e40e6(0x389)&&_0x502d7c&&(_0x171ced[_0x54cde7]=_0x502d7c));}),{'recordId':_0x419c94,'values':_0x171ced,'recordPatch':{'updatedAt':_0x149418,..._0x502d7c?{'updatedBy':_0x502d7c}:{}}};}[_0x3401ce(0x3d0)](_0x2f9348,_0x1bd33a,_0x35ae82){const _0x2a0b56=_0x3401ce;let _0x9ef6b4=_0x2f9348[_0x2a0b56(0x391)][_0x1bd33a];return!_0x9ef6b4||!Yt(_0x35ae82)?[]:_0x35ae82[_0x2a0b56(0x1b1)]===_0x2a0b56(0x20a)?this['_createNumberingFieldValuePatches'](_0x9ef6b4,_0x35ae82['id']):Object['values'](_0x9ef6b4[_0x2a0b56(0x320)])[_0x2a0b56(0x2db)](_0x5da047=>!_0x5da047[_0x2a0b56(0x219)])['flatMap'](_0x303831=>{const _0x23395d=_0x2a0b56;let _0x4ca50c=this[_0x23395d(0x2e3)](_0x35ae82,_0x303831);return _0x4ca50c===void 0x0?[]:[{'recordId':_0x303831['id'],'values':{[_0x35ae82['id']]:_0x4ca50c}}];});}[_0x3401ce(0x2e3)](_0x27b858,_0x17ca2a){const _0xb3e327=_0x3401ce;switch(_0x27b858[_0xb3e327(0x1b1)]){case _0xb3e327(0x18d):var _0x27a7a3;return(_0x27a7a3=_0x17ca2a[_0xb3e327(0x18d)])==null?this[_0xb3e327(0x1e1)]():_0x27a7a3;case'updatedBy':var _0x10dc4b;return(_0x10dc4b=_0x17ca2a[_0xb3e327(0x389)])==null?this[_0xb3e327(0x1e1)]():_0x10dc4b;case _0xb3e327(0x2d7):var _0x4644c2;return O((_0x4644c2=_0x17ca2a[_0xb3e327(0x2d7)])==null?Date[_0xb3e327(0x3b2)]():_0x4644c2);case _0xb3e327(0x1c8):var _0x1b7a0c;return O((_0x1b7a0c=_0x17ca2a[_0xb3e327(0x1c8)])==null?Date[_0xb3e327(0x3b2)]():_0x1b7a0c);default:return;}}[_0x3401ce(0x1e6)](_0x431894){const _0x215392=_0x3401ce;let _0x1acc30=new Map();return _0x431894&&_0x431894[_0x215392(0x264)][_0x215392(0x3f4)](_0x2558a4=>{const _0x297d2a=_0x215392;let _0x3582ce=_0x431894[_0x297d2a(0x204)][_0x2558a4];(_0x3582ce==null?void 0x0:_0x3582ce[_0x297d2a(0x1b1)])===_0x297d2a(0x20a)&&!_0x3582ce[_0x297d2a(0x219)]&&_0x1acc30[_0x297d2a(0x270)](_0x2558a4,this[_0x297d2a(0x15d)](_0x431894,_0x2558a4));}),_0x1acc30;}[_0x3401ce(0x15d)](_0x554b3a,_0xf44df0){const _0x4db1f8=_0x3401ce;let _0x28a82f=Object[_0x4db1f8(0x288)](_0x554b3a[_0x4db1f8(0x320)])[_0x4db1f8(0x2e5)]((_0xf31590,_0x55c053)=>{const _0x3019db=_0x4db1f8;if(_0x55c053['deleted'])return _0xf31590;let _0x4046f1=Number(_0x55c053[_0x3019db(0x288)][_0xf44df0]);return Number[_0x3019db(0x2fd)](_0x4046f1)?Math['max'](_0xf31590,_0x4046f1):_0xf31590;},0x0);return()=>String(++_0x28a82f);}[_0x3401ce(0x225)](_0x322f37,_0x330c9b){const _0x5a290e=_0x3401ce;let _0x4b5163=this[_0x5a290e(0x30f)](_0x322f37),_0x23a18c=this[_0x5a290e(0x15d)](_0x322f37,_0x330c9b);return _0x4b5163[_0x5a290e(0x278)](_0x6c872f=>this[_0x5a290e(0x3ca)](_0x6c872f[_0x5a290e(0x288)][_0x330c9b])?[]:[{'recordId':_0x6c872f['id'],'values':{[_0x330c9b]:_0x23a18c()}}]);}['_getOrderedActiveRecords'](_0x2ce60e){const _0x2b134f=_0x3401ce;var _0x1bac73;let _0x267958=Object[_0x2b134f(0x288)](_0x2ce60e[_0x2b134f(0x320)])[_0x2b134f(0x2db)](_0x548ef5=>!_0x548ef5[_0x2b134f(0x219)]),_0x394743=new Map(_0x267958['map'](_0x3397b4=>[_0x3397b4['id'],_0x3397b4])),_0x1df294=[],_0x3140c5=new Set();(_0x1bac73=_0x2ce60e[_0x2b134f(0x275)])==null||_0x1bac73[_0x2b134f(0x3f4)](_0x55e7ba=>{const _0x5e0515=_0x2b134f;let _0x1d6223=_0x394743['get'](_0x55e7ba);_0x1d6223&&(_0x1df294['push'](_0x1d6223),_0x3140c5[_0x5e0515(0x221)](_0x55e7ba));});let _0x10bb3c=_0x267958['filter'](_0x30cc04=>!_0x3140c5[_0x2b134f(0x356)](_0x30cc04['id']))[_0x2b134f(0x22f)]((_0x3e171c,_0x221674)=>{const _0x53a3ce=_0x2b134f;var _0x1a433b,_0x1ac50c;return String((_0x1a433b=_0x3e171c[_0x53a3ce(0x20e)])==null?_0x3e171c['id']:_0x1a433b)[_0x53a3ce(0x16a)](String((_0x1ac50c=_0x221674[_0x53a3ce(0x20e)])==null?_0x221674['id']:_0x1ac50c))||_0x3e171c['id']['localeCompare'](_0x221674['id']);});return[..._0x1df294,..._0x10bb3c];}[_0x3401ce(0x3ca)](_0x4ffdb8){const _0x2920fc=_0x3401ce;return _0x4ffdb8!=null&&_0x4ffdb8!==''&&!(Array[_0x2920fc(0x23e)](_0x4ffdb8)&&_0x4ffdb8[_0x2920fc(0x2b1)]===0x0);}[_0x3401ce(0x1e1)](){const _0xf80352=_0x3401ce;var _0x181047,_0x235a7a,_0x24890e,_0x179bd2,_0x984cc7,_0x51070d;return(_0x181047=(_0x235a7a=(_0x24890e=(_0x179bd2=this['_runtimeContext'])[_0xf80352(0x337)])==null?void 0x0:_0x24890e[_0xf80352(0x1b4)](_0x179bd2))==null?(_0x984cc7=(_0x51070d=this[_0xf80352(0x365)])['getCurrentUser'])==null||(_0x984cc7=_0x984cc7['call'](_0x51070d))==null?void 0x0:_0x984cc7[_0xf80352(0x32c)]:_0x235a7a)==null?void 0x0:_0x181047;}['_normalizeCellValue'](_0x14df5c,_0xa31eb2,_0x242572,_0x5f284f,_0x162ec9){const _0x255047=_0x3401ce;var _0x1d408d;if(!this[_0x255047(0x2e0)]['canEditCell'](_0xa31eb2,_0x242572,_0x5f284f))throw Error(_0x255047(0x194));let _0x3b52a4=(_0x1d408d=_0x14df5c['tables'][_0xa31eb2])==null?void 0x0:_0x1d408d[_0x255047(0x204)][_0x5f284f];if(!_0x3b52a4||_0x3b52a4[_0x255047(0x219)])throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x5f284f+'\x22\x20does\x20not\x20exist.');let _0xcc56a4=this[_0x255047(0x3f3)][_0x255047(0x192)](_0x3b52a4[_0x255047(0x1b1)]);if(_0x3b52a4[_0x255047(0x3e5)]||_0x3b52a4['system']||!_0xcc56a4[_0x255047(0x237)](_0x3b52a4)[_0x255047(0x16e)])throw Error(_0x255047(0x330));let _0x2a2226=_0xcc56a4[_0x255047(0x355)](_0x162ec9,_0x3b52a4),_0x4602f8=_0xcc56a4[_0x255047(0x22e)](_0x2a2226,_0x3b52a4);if(!_0x4602f8[_0x255047(0x3ae)]){var _0x4244e3;throw Error((_0x4244e3=_0x4602f8['reason'])==null?_0x255047(0x38e):_0x4244e3);}return _0x2a2226;}};qt=U([H(0x0,Gt),H(0x1,z)],qt);function Jt(){const _0x217964=_0x3401ce;let _0x133571=new Wt();return Ct()[_0x217964(0x3f4)](_0x17ad1d=>_0x133571[_0x217964(0x2e7)](_0x17ad1d)),_0x133571;}function Yt(_0x8f0db){const _0x3a62f1=_0x3401ce;return _0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x20a)||_0x8f0db['type']==='createdBy'||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x389)||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x2d7)||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x1c8);}const Xt=new Set(['progress',_0x3401ce(0x160),_0x3401ce(0x284)]);function Zt(_0x306e6c){const _0x147fbc=_0x3401ce;var _0x20d8e4,_0x4f5870;let _0x52927d=_0x306e6c[_0x147fbc(0x204)][_0x306e6c['primaryFieldId']];return!(_0x52927d&&(_0x52927d[_0x147fbc(0x261)]===!0x0||_0x52927d['id']['toLowerCase']()==='id'||_0x52927d[_0x147fbc(0x1fe)][_0x147fbc(0x297)]()[_0x147fbc(0x242)]()==='id'))&&_0x52927d&&!_0x52927d[_0x147fbc(0x219)]?_0x52927d['id']:(_0x20d8e4=(_0x4f5870=_0x306e6c[_0x147fbc(0x264)][_0x147fbc(0x1d3)](_0x1e680f=>_0x306e6c[_0x147fbc(0x204)][_0x1e680f])['find'](_0x2e3978=>_0x2e3978&&!_0x2e3978[_0x147fbc(0x219)]&&_0x2e3978['id']!==_0x306e6c['primaryFieldId']))==null?void 0x0:_0x4f5870['id'])==null?_0x306e6c[_0x147fbc(0x346)]:_0x20d8e4;}function Qt(_0xc583b,_0xa61a13=[],_0x43aa7c=0x5){const _0x45a2c2=_0x3401ce;let _0x28d22f=new Set(_0xa61a13['filter'](_0x456ca0=>!!_0x456ca0)),_0x12fd7b=_0xc583b[_0x45a2c2(0x264)][_0x45a2c2(0x278)](_0x2ec51d=>{const _0x558af9=_0x45a2c2;let _0x5ebe68=_0xc583b['fields'][_0x2ec51d];return _0x5ebe68&&!_0x5ebe68[_0x558af9(0x219)]&&!_0x28d22f['has'](_0x5ebe68['id'])?[_0x5ebe68]:[];}),_0x519d4c=_0x12fd7b['filter'](_0x24bb2a=>Xt['has'](_0x24bb2a[_0x45a2c2(0x1b1)])),_0x59e797=_0x12fd7b['filter'](_0x34cbf3=>!Xt[_0x45a2c2(0x356)](_0x34cbf3[_0x45a2c2(0x1b1)]));return[..._0x519d4c,..._0x59e797][_0x45a2c2(0x18b)](0x0,_0x43aa7c)[_0x45a2c2(0x1d3)](_0x34e5e9=>_0x34e5e9['id']);}function $t(){const _0x2639bf=_0x3401ce;return[{'type':_0x2639bf(0x3d3),'i18nKey':_0x2639bf(0x404),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x36deaa=_0x2639bf;throw Error(_0x36deaa(0x226));}},{'type':_0x2639bf(0x230),'i18nKey':_0x2639bf(0x3a0),'createDefaultConfig':_0x5ed079=>{const _0x5bcb5d=_0x2639bf;let _0xe5f7f0=en(_0x5ed079);return{'groupFieldId':_0xe5f7f0,'coverFieldId':null,'cardLayout':_0x5bcb5d(0x3e9),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5ed079[_0x5bcb5d(0x346)],'fieldIds':Qt(_0x5ed079,[_0x5ed079[_0x5bcb5d(0x346)],_0xe5f7f0])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':'calendar','i18nKey':'base.viewType.calendar','createDefaultConfig':_0x277273=>{const _0x28a5c6=_0x2639bf;let _0x1e6ce7=tn(_0x277273);return{'startDateFieldId':_0x1e6ce7,'endDateFieldId':nn(_0x277273,_0x1e6ce7),'titleFieldId':_0x277273[_0x28a5c6(0x346)],'mode':'month','timeslotSize':_0x28a5c6(0x1d1),'timeZone':_0x28a5c6(0x303),'displayColor':{'type':_0x28a5c6(0x30b),'color':_0x28a5c6(0x3b3)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5d6fac=_0x2639bf;throw Error(_0x5d6fac(0x3d2));}},{'type':'gantt','i18nKey':'base.viewType.gantt','createDefaultConfig':_0x3bec21=>{const _0x3b9a00=_0x2639bf;var _0x44f778;let _0x15f005=tn(_0x3bec21);return{'startDateFieldId':_0x15f005,'endDateFieldId':(_0x44f778=nn(_0x3bec21,_0x15f005))==null?_0x15f005:_0x44f778,'titleFieldId':_0x3bec21[_0x3b9a00(0x346)],'scale':_0x3b9a00(0x379),'showTodayLine':!0x0,'displayColor':{'type':_0x3b9a00(0x30b),'color':_0x3b9a00(0x2a0)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1392ac=_0x2639bf;throw Error(_0x1392ac(0x19c));}},{'type':_0x2639bf(0x370),'i18nKey':_0x2639bf(0x3d4),'createDefaultConfig':_0x2c1913=>{const _0x4dc1b6=_0x2639bf;let _0x1744e9=Zt(_0x2c1913);return{'coverFieldId':null,'cardLayout':_0x4dc1b6(0x3e9),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x1744e9,'coverFieldId':null,'fieldIds':Qt(_0x2c1913,[_0x1744e9,_0x2c1913['primaryFieldId']])},'cardSize':_0x4dc1b6(0x1d1)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function en(_0x4cae67){const _0x50202d=_0x3401ce;var _0x2fa0f2,_0x24967c,_0x437847,_0x1b3015,_0x4fb1c5,_0x12baae;let _0x5e1deb=_0x4cae67[_0x50202d(0x264)][_0x50202d(0x1d3)](_0x3eb644=>_0x4cae67['fields'][_0x3eb644])[_0x50202d(0x2db)](_0x16421d=>!!_0x16421d&&!_0x16421d[_0x50202d(0x219)]);return(_0x2fa0f2=(_0x24967c=(_0x437847=(_0x1b3015=_0x5e1deb[_0x50202d(0x387)](_0x262cf4=>_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x335)||_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x380)||_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x403)))==null?void 0x0:_0x1b3015['id'])==null?(_0x4fb1c5=_0x5e1deb[_0x50202d(0x387)](_0x3d7280=>_0x3d7280[_0x50202d(0x1b1)]==='text'))==null?void 0x0:_0x4fb1c5['id']:_0x437847)==null?(_0x12baae=_0x5e1deb[_0x50202d(0x387)](_0x3bf418=>_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x177)||_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x2d7)||_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x1c8)))==null?void 0x0:_0x12baae['id']:_0x24967c)==null?_0x4cae67[_0x50202d(0x346)]:_0x2fa0f2;}function tn(_0x19a772){const _0x32d41c=_0x3401ce;var _0x156d17,_0x245819;return(_0x156d17=(_0x245819=_0x19a772[_0x32d41c(0x264)][_0x32d41c(0x1d3)](_0x540765=>_0x19a772[_0x32d41c(0x204)][_0x540765])['find'](rn))==null?void 0x0:_0x245819['id'])==null?'':_0x156d17;}function nn(_0x36a624,_0x20f35b){const _0x79e42b=_0x3401ce;var _0x26fbbe;return(_0x26fbbe=_0x36a624[_0x79e42b(0x264)][_0x79e42b(0x1d3)](_0x394750=>_0x36a624['fields'][_0x394750])[_0x79e42b(0x387)](_0x45e90c=>rn(_0x45e90c)&&_0x45e90c['id']!==_0x20f35b))==null?void 0x0:_0x26fbbe['id'];}function rn(_0x194f97){const _0x26413b=_0x3401ce;return!!_0x194f97&&!_0x194f97[_0x26413b(0x219)]&&_0x194f97[_0x26413b(0x1b1)]===_0x26413b(0x177)&&_0x194f97[_0x26413b(0x3e5)]!==!0x0&&_0x194f97[_0x26413b(0x261)]!==!0x0;}const an=_0x53452b('base.projection.service'),on=new Set(['number','currency','progress','rating',_0x3401ce(0x177),_0x3401ce(0x2d7),_0x3401ce(0x1c8),_0x3401ce(0x284)]);let sn=class extends _0x4b5308{constructor(_0x572f87){const _0x15875c=_0x3401ce;super(),this[_0x15875c(0x3f3)]=_0x572f87,R(this,'_views',new Map()),R(this,_0x15875c(0x2c4),new WeakMap()),R(this,_0x15875c(0x347),new Map()),R(this,_0x15875c(0x345),new Map()),R(this,'_projectedGroupsCache',new Map()),R(this,_0x15875c(0x21a),0x0),R(this,_0x15875c(0x24c),new Map()),R(this,_0x15875c(0x171),new Map()),R(this,_0x15875c(0x250),new Map()),R(this,_0x15875c(0x326),new Map());}[_0x3401ce(0x34f)](_0x24c4fa){const _0x21702e=_0x3401ce;return this[_0x21702e(0x2ce)][_0x21702e(0x270)](_0x24c4fa[_0x21702e(0x1b1)],_0x24c4fa),_0x200b81(()=>this['_views'][_0x21702e(0x1d6)](_0x24c4fa[_0x21702e(0x1b1)]));}[_0x3401ce(0x199)](_0x2a1d2d,_0x245e8a,_0x5f3aca){const _0x2e72f9=_0x3401ce;var _0x3a3083,_0x391d0f,_0x3c8452,_0x55b97f,_0x283f06;return S(_0x2e72f9(0x1f7),()=>{const _0x1812b0=_0x2e72f9;let _0x2b2b8e=this[_0x1812b0(0x3eb)](_0x2a1d2d,_0x245e8a,_0x5f3aca);if(_0x2b2b8e)return _0x2b2b8e;let _0x4db32b=_0x2a1d2d['tables'][_0x245e8a],_0x36915d=_0x4db32b==null?void 0x0:_0x4db32b['views'][_0x5f3aca];if(!_0x4db32b||!_0x36915d||_0x4db32b['deleted']||_0x36915d['deleted']){var _0x252d62;return this[_0x1812b0(0x203)](_0x2a1d2d,_0x245e8a,_0x5f3aca,{'type':_0x1812b0(0x400),'viewType':(_0x252d62=_0x36915d==null?void 0x0:_0x36915d[_0x1812b0(0x1b1)])==null?_0x1812b0(0x3d3):_0x252d62,'reason':'missingField'});}let _0x3500d1;switch(_0x36915d[_0x1812b0(0x1b1)]){case _0x1812b0(0x3d3):_0x3500d1=this[_0x1812b0(0x32a)](_0x4db32b,_0x36915d);break;case'gantt':_0x3500d1=this[_0x1812b0(0x32f)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x230):_0x3500d1=this[_0x1812b0(0x200)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x281):_0x3500d1=this[_0x1812b0(0x18e)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x370):_0x3500d1=this[_0x1812b0(0x293)](_0x4db32b,_0x36915d);break;default:_0x3500d1={'type':_0x1812b0(0x400),'viewType':_0x36915d[_0x1812b0(0x1b1)],'reason':_0x1812b0(0x253)};}return this[_0x1812b0(0x203)](_0x2a1d2d,_0x245e8a,_0x5f3aca,_0x3500d1);},{'tableId':_0x245e8a,'viewId':_0x5f3aca,'viewType':(_0x3a3083=_0x2a1d2d['tables'][_0x245e8a])==null||(_0x3a3083=_0x3a3083[_0x2e72f9(0x2ae)][_0x5f3aca])==null?void 0x0:_0x3a3083[_0x2e72f9(0x1b1)],'records':(_0x391d0f=(_0x3c8452=_0x2a1d2d[_0x2e72f9(0x391)][_0x245e8a])==null||(_0x3c8452=_0x3c8452['recordOrder'])==null?void 0x0:_0x3c8452[_0x2e72f9(0x2b1)])==null?Object['keys']((_0x55b97f=(_0x283f06=_0x2a1d2d['tables'][_0x245e8a])==null?void 0x0:_0x283f06[_0x2e72f9(0x320)])==null?{}:_0x55b97f)[_0x2e72f9(0x2b1)]:_0x391d0f});}[_0x3401ce(0x3ff)](_0x1d7aba,_0xf69b57,_0x6c3a32){const _0x5eec22=_0x3401ce;var _0x1ccbc5,_0x2f2168,_0x50d59a,_0x7d55f5;let _0x4ecdd6=_0x1d7aba[_0x5eec22(0x391)][_0xf69b57],_0x17f029=_0x4ecdd6==null?void 0x0:_0x4ecdd6['views'][_0x6c3a32];if(!_0x4ecdd6||!_0x17f029)throw Error(_0x5eec22(0x1aa)+_0x6c3a32+'\x22.');let _0x4ddd36=_0x300b9f=>{const _0x19bf21=_0x5eec22;let _0x210974=_0x4ecdd6[_0x19bf21(0x204)][_0x300b9f];return!!_0x210974&&!_0x210974[_0x19bf21(0x219)];},_0x3e1b61={..._0x17f029,'filter':_0x17f029['filter']?{..._0x17f029[_0x5eec22(0x2db)],'conditions':_0x17f029[_0x5eec22(0x2db)][_0x5eec22(0x298)][_0x5eec22(0x2db)](_0x438a71=>_0x4ddd36(_0x438a71['fieldId']))}:_0x17f029[_0x5eec22(0x2db)],'sort':(_0x1ccbc5=_0x17f029['sort'])==null?void 0x0:_0x1ccbc5[_0x5eec22(0x2db)](_0x43acf8=>_0x4ddd36(_0x43acf8['fieldId'])),'group':(_0x2f2168=_0x17f029['group'])==null?void 0x0:_0x2f2168['filter'](_0x4afb58=>_0x4ddd36(_0x4afb58[_0x5eec22(0x409)])),'fieldOrder':(_0x50d59a=_0x17f029['fieldOrder'])==null?void 0x0:_0x50d59a[_0x5eec22(0x2db)](_0x4ddd36),'fieldSettings':Object[_0x5eec22(0x300)](Object[_0x5eec22(0x184)]((_0x7d55f5=_0x17f029[_0x5eec22(0x1fd)])==null?{}:_0x7d55f5)[_0x5eec22(0x2db)](([_0x711168])=>_0x4ddd36(_0x711168)))};if(_0x3e1b61['type']==='kanban'){var _0x2363cf,_0x37b563,_0x24a408,_0x5dcf78;let _0x9e186f=(_0x2363cf=_0x3e1b61[_0x5eec22(0x3cb)])==null?{}:_0x2363cf,_0x3dbd5e=this[_0x5eec22(0x1a5)](_0x4ecdd6,_0x3e1b61);_0x3e1b61['config']={..._0x9e186f,'groupFieldId':_0x3dbd5e==null?_0x9e186f[_0x5eec22(0x17c)]:_0x3dbd5e,'coverFieldId':this[_0x5eec22(0x3e8)](_0x4ecdd6,_0x9e186f),'cardLayout':_0x9e186f[_0x5eec22(0x2eb)]===_0x5eec22(0x1e5)?_0x5eec22(0x1e5):_0x5eec22(0x3e9),'showFieldNames':_0x9e186f[_0x5eec22(0x156)]!==!0x1,'fieldSettings':Object[_0x5eec22(0x300)](Object['entries']((_0x37b563=_0x9e186f[_0x5eec22(0x1fd)])==null?{}:_0x37b563)['filter'](([_0x735d22])=>_0x4ddd36(_0x735d22))),'columnSettings':(_0x24a408=_0x9e186f[_0x5eec22(0x2b4)])==null?{}:_0x24a408,'card':{...(_0x5dcf78=_0x9e186f[_0x5eec22(0x1b2)])==null?{}:_0x5dcf78,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x4ecdd6,_0x3e1b61,_0x3dbd5e==null?'':_0x3dbd5e)}};}return{'repaired':JSON['stringify'](_0x3e1b61)!==JSON[_0x5eec22(0x2e9)](_0x17f029),'view':_0x3e1b61};}['invalidateByOp'](){this['_globalRevision']++;}[_0x3401ce(0x162)](_0x34efe9,_0x3118aa,_0x35057e){const _0x157689=_0x3401ce;var _0x45055b;let _0x4d87fb=this[_0x157689(0x26c)](_0x34efe9)+0x1;this[_0x157689(0x171)][_0x157689(0x270)](_0x34efe9,_0x4d87fb);let _0x4ffe61=(_0x45055b=this[_0x157689(0x250)][_0x157689(0x192)](_0x34efe9))==null?[]:_0x45055b;_0x4ffe61[_0x157689(0x2b5)]({'revision':_0x4d87fb,'recordId':_0x3118aa,'fieldId':_0x35057e}),this[_0x157689(0x250)]['set'](_0x34efe9,_0x4ffe61);}[_0x3401ce(0x1d2)](_0x40ce22,_0x18137a){const _0x19f8ca=_0x3401ce;this[_0x19f8ca(0x1bb)](_0x40ce22);}['invalidateByView'](_0x40e85c,_0x1d2cda){const _0x55d3e6=_0x3401ce;this[_0x55d3e6(0x326)]['set'](this[_0x55d3e6(0x1ad)](_0x40e85c,_0x1d2cda),this[_0x55d3e6(0x222)](_0x40e85c,_0x1d2cda)+0x1);}['_getCachedProjection'](_0x7abb7d,_0xa7f475,_0x310000){const _0x1a891d=_0x3401ce;var _0x3be84b;let _0x2e2345=(_0x3be84b=this[_0x1a891d(0x2c4)][_0x1a891d(0x192)](_0x7abb7d))==null?void 0x0:_0x3be84b[_0x1a891d(0x192)](this[_0x1a891d(0x191)](_0xa7f475,_0x310000));return _0x2e2345&&_0x2e2345[_0x1a891d(0x3c3)]===this[_0x1a891d(0x21a)]&&_0x2e2345[_0x1a891d(0x34b)]===this[_0x1a891d(0x1b8)](_0xa7f475)&&_0x2e2345[_0x1a891d(0x3e1)]===this[_0x1a891d(0x26c)](_0xa7f475)&&_0x2e2345[_0x1a891d(0x354)]===this[_0x1a891d(0x222)](_0xa7f475,_0x310000)?_0x2e2345[_0x1a891d(0x339)]:null;}['_setCachedProjection'](_0x4cc1a1,_0x1631c5,_0x1d787e,_0x2490fc){const _0x1edac3=_0x3401ce;let _0x4606de=this['_projectionCache'][_0x1edac3(0x192)](_0x4cc1a1);return _0x4606de||(_0x4606de=new Map(),this[_0x1edac3(0x2c4)][_0x1edac3(0x270)](_0x4cc1a1,_0x4606de)),_0x4606de[_0x1edac3(0x270)](this[_0x1edac3(0x191)](_0x1631c5,_0x1d787e),{'projection':_0x2490fc,'globalRevision':this[_0x1edac3(0x21a)],'tableRevision':this['_getTableRevision'](_0x1631c5),'cellRevision':this[_0x1edac3(0x26c)](_0x1631c5),'viewRevision':this[_0x1edac3(0x222)](_0x1631c5,_0x1d787e)}),_0x2490fc;}[_0x3401ce(0x1bb)](_0x55ffa2){const _0x3d99a5=_0x3401ce;this[_0x3d99a5(0x24c)][_0x3d99a5(0x270)](_0x55ffa2,this['_getTableRevision'](_0x55ffa2)+0x1);}['_getTableRevision'](_0x3899b3){const _0x54ecf1=_0x3401ce;var _0x3c59e3;return(_0x3c59e3=this[_0x54ecf1(0x24c)]['get'](_0x3899b3))==null?0x0:_0x3c59e3;}[_0x3401ce(0x26c)](_0x13b44e){const _0x4c3033=_0x3401ce;var _0xb4de84;return(_0xb4de84=this[_0x4c3033(0x171)][_0x4c3033(0x192)](_0x13b44e))==null?0x0:_0xb4de84;}[_0x3401ce(0x222)](_0x5a3d9a,_0x53fcc6){const _0x2ab5ff=_0x3401ce;var _0x4a7668;return(_0x4a7668=this[_0x2ab5ff(0x326)][_0x2ab5ff(0x192)](this[_0x2ab5ff(0x1ad)](_0x5a3d9a,_0x53fcc6)))==null?0x0:_0x4a7668;}[_0x3401ce(0x191)](_0x4c5a29,_0x36feee){return _0x4c5a29+'\x00'+_0x36feee;}[_0x3401ce(0x321)](_0x1f701c,_0xe12f29){const _0x48b166=_0x3401ce;return _0x1f701c+'\x00'+this[_0x48b166(0x272)](_0xe12f29);}[_0x3401ce(0x36b)](_0x1286c8,_0x2f0e3c,_0x57a531){const _0x4baa58=_0x3401ce;return _0x1286c8+'\x00'+this[_0x4baa58(0x272)](_0x2f0e3c)+'\x00'+this[_0x4baa58(0x1d8)](_0x57a531);}[_0x3401ce(0x272)](_0x47d8e2){const _0x386236=_0x3401ce;return _0x47d8e2?pn({'filter':dn(_0x47d8e2[_0x386236(0x2db)]),'sort':fn(_0x47d8e2[_0x386236(0x22f)])}):_0x386236(0x2c8);}[_0x3401ce(0x1d8)](_0x18278d){const _0xc86933=_0x3401ce;return pn(_0x18278d[_0xc86933(0x1d3)](_0x4225fa=>{const _0x47aa76=_0xc86933;var _0x56c6b2;return{'fieldId':_0x4225fa[_0x47aa76(0x409)],'direction':(_0x56c6b2=_0x4225fa[_0x47aa76(0x2cc)])==null?null:_0x56c6b2};}));}['_viewRevisionKey'](_0x5456af,_0x4db7e6){return _0x5456af+'\x00'+_0x4db7e6;}['_buildGrid'](_0x3796d2,_0x42d877){const _0x186db4=_0x3401ce;let _0x815644=this['_projectRows'](_0x3796d2,_0x42d877);return{'type':'grid','fields':this[_0x186db4(0x2da)](_0x3796d2,_0x42d877),'rows':_0x815644,'groups':this['_projectGroups'](_0x3796d2,_0x42d877,_0x815644),'frozenFieldCount':typeof _0x42d877[_0x186db4(0x3cb)]['frozenFieldCount']==_0x186db4(0x1e4)?_0x42d877[_0x186db4(0x3cb)][_0x186db4(0x1ef)]:0x0};}['_buildKanban'](_0x2f4a81,_0x905607){const _0x129ec3=_0x3401ce;var _0x1ea97f;let _0x33f4e2=this[_0x129ec3(0x1a5)](_0x2f4a81,_0x905607),_0x887446=_0x33f4e2?_0x2f4a81[_0x129ec3(0x204)][_0x33f4e2]:void 0x0;if(!_0x887446||_0x887446[_0x129ec3(0x219)])return{'type':_0x129ec3(0x400),'viewType':'kanban','reason':_0x129ec3(0x32b),'fieldId':_0x905607[_0x129ec3(0x3cb)][_0x129ec3(0x17c)]};let _0x57969f=this[_0x129ec3(0x1f0)](_0x2f4a81,_0x905607),_0xb7be44=this['_projectFields'](_0x2f4a81,_0x905607),_0x522a97=(_0x1ea97f=_0x905607[_0x129ec3(0x3cb)])==null?{}:_0x1ea97f,_0x4f431c=this[_0x129ec3(0x1c4)](_0x2f4a81,_0x905607,_0x887446['id']),_0x2f9eb8=new Map();return this[_0x129ec3(0x161)](_0x887446,_0x522a97)[_0x129ec3(0x3f4)](_0x1e4f98=>_0x2f9eb8[_0x129ec3(0x270)](_0x1e4f98[_0x129ec3(0x240)],{..._0x1e4f98,'recordIds':[]})),_0x57969f[_0x129ec3(0x3f4)](_0x2be7c3=>{const _0x4a9426=_0x129ec3;this['_kanbanGroupKeys'](_0x887446,_0x2be7c3[_0x4a9426(0x288)][_0x887446['id']])['forEach'](_0x359e8c=>{const _0x4f3c19=_0x4a9426;let _0x2f7542=_0x2f9eb8['get'](_0x359e8c),_0x3d642e=_0x2f7542==null?{'key':_0x359e8c,'title':this[_0x4f3c19(0x25a)](_0x887446,_0x359e8c,_0x522a97),'color':this[_0x4f3c19(0x2ef)](_0x887446,_0x359e8c,_0x522a97),'recordIds':[]}:_0x2f7542;_0x3d642e[_0x4f3c19(0x32d)]['push'](_0x2be7c3[_0x4f3c19(0x163)]),_0x2f9eb8[_0x4f3c19(0x270)](_0x359e8c,_0x3d642e);});}),{'type':_0x129ec3(0x230),'fields':_0xb7be44,'rows':_0x57969f,'groups':this[_0x129ec3(0x3c2)](_0x2f4a81,_0x905607,_0x57969f),'groupFieldId':_0x887446['id'],'coverFieldId':this[_0x129ec3(0x3e8)](_0x2f4a81,_0x522a97),'cardLayout':_0x522a97['cardLayout']===_0x129ec3(0x1e5)?_0x129ec3(0x1e5):_0x129ec3(0x3e9),'showFieldNames':_0x522a97[_0x129ec3(0x156)]!==!0x1,'visibleCardFieldIds':_0x4f431c,'lanes':Array[_0x129ec3(0x33e)](_0x2f9eb8[_0x129ec3(0x288)]())};}[_0x3401ce(0x1a5)](_0x4903bd,_0x14f6cd){const _0x4fba28=_0x3401ce;var _0xce96fe;let _0x52db04=(_0xce96fe=_0x14f6cd[_0x4fba28(0x3cb)])==null?void 0x0:_0xce96fe[_0x4fba28(0x17c)];return _0x52db04&&this['_isKanbanGroupField'](_0x4903bd,_0x52db04)?_0x52db04:this['_findKanbanGroupField'](_0x4903bd,_0x22c7cb=>this[_0x4fba28(0x256)](_0x22c7cb));}[_0x3401ce(0x3a4)](_0x5f2dfb,_0x579810){const _0x1fe5c4=_0x3401ce;for(let _0x17afd2 of _0x5f2dfb[_0x1fe5c4(0x264)]){let _0x3c267a=_0x5f2dfb['fields'][_0x17afd2];if(_0x3c267a&&!_0x3c267a['deleted']&&_0x579810(_0x3c267a))return _0x3c267a['id'];}return null;}[_0x3401ce(0x33f)](_0xa2b885,_0x1a9a7d){const _0x2d8343=_0x3401ce;let _0x2d1626=_0xa2b885[_0x2d8343(0x204)][_0x1a9a7d];return this['_isAllowedKanbanGroupField'](_0x2d1626);}[_0x3401ce(0x256)](_0x2c6118){const _0x125743=_0x3401ce;return!!_0x2c6118&&!_0x2c6118[_0x125743(0x219)]&&(_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x335)||_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x380)||_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x160)||_0x2c6118[_0x125743(0x1b1)]==='person'||_0x2c6118[_0x125743(0x1b1)]==='group'||_0x2c6118[_0x125743(0x1b1)]==='checkbox');}[_0x3401ce(0x1e8)](_0x2be779){const _0x2743f3=_0x3401ce;return _0x2be779[_0x2743f3(0x1b1)]===_0x2743f3(0x335)||_0x2be779['type']===_0x2743f3(0x380);}[_0x3401ce(0x3e8)](_0x3f2d1d,_0x35502e){const _0x2a1b73=_0x3401ce;var _0x28696b,_0x39f311,_0x4fa07c;let _0x56cb34=(_0x28696b=(_0x39f311=_0x35502e[_0x2a1b73(0x2e2)])==null?(_0x4fa07c=_0x35502e[_0x2a1b73(0x1b2)])==null?void 0x0:_0x4fa07c['coverFieldId']:_0x39f311)==null?null:_0x28696b;if(!_0x56cb34)return null;let _0x32f9e7=_0x3f2d1d[_0x2a1b73(0x204)][_0x56cb34];return _0x32f9e7&&!_0x32f9e7['deleted']&&this[_0x2a1b73(0x324)](_0x32f9e7)[_0x2a1b73(0x1ab)]?_0x32f9e7['id']:null;}[_0x3401ce(0x1c4)](_0x4ec9c6,_0x546ee0,_0x45303e){const _0xa083a=_0x3401ce;var _0x2e8490,_0x23da9a,_0x16819b;let _0x15d268=(_0x2e8490=_0x546ee0['config'])==null?{}:_0x2e8490,_0x3e6794=!((_0x23da9a=_0x15d268[_0xa083a(0x1b2)])==null||(_0x23da9a=_0x23da9a['fieldIds'])==null)&&_0x23da9a[_0xa083a(0x2b1)]?_0x15d268['card'][_0xa083a(0x1ff)]:Qt(_0x4ec9c6,[_0x4ec9c6[_0xa083a(0x346)],_0x45303e]),_0x45f208=(_0x16819b=_0x15d268[_0xa083a(0x1fd)])==null?{}:_0x16819b;return _0x3e6794['filter'](_0x54d74c=>{const _0x24e0e9=_0xa083a;var _0x3cf268,_0x5eb138;let _0x5453ad=_0x4ec9c6[_0x24e0e9(0x204)][_0x54d74c];return!(!_0x5453ad||_0x5453ad[_0x24e0e9(0x219)]||_0x5453ad['id']===_0x45303e||!((_0x3cf268=_0x546ee0[_0x24e0e9(0x1fd)])==null||(_0x3cf268=_0x3cf268[_0x54d74c])==null)&&_0x3cf268[_0x24e0e9(0x2cf)]||(_0x5eb138=_0x45f208[_0x54d74c])!=null&&_0x5eb138[_0x24e0e9(0x2cf)]);})[_0xa083a(0x22f)]((_0x1f150a,_0x307170)=>{const _0x3ba8a1=_0xa083a;var _0x33574a,_0x2eafe1,_0x3b8474,_0x29f81b;return((_0x33574a=(_0x2eafe1=_0x45f208[_0x1f150a])==null?void 0x0:_0x2eafe1[_0x3ba8a1(0x385)])==null?_0x3e6794[_0x3ba8a1(0x255)](_0x1f150a):_0x33574a)-((_0x3b8474=(_0x29f81b=_0x45f208[_0x307170])==null?void 0x0:_0x29f81b[_0x3ba8a1(0x385)])==null?_0x3e6794[_0x3ba8a1(0x255)](_0x307170):_0x3b8474);});}[_0x3401ce(0x161)](_0x386ed9,_0x39da44){const _0x30d615=_0x3401ce;var _0x5e38fd,_0xac6606;let _0x34db91=(Array[_0x30d615(0x23e)]((_0x5e38fd=_0x386ed9['config'])==null?void 0x0:_0x5e38fd[_0x30d615(0x29e)])?_0x386ed9['config']['options']:[])['flatMap']((_0x33ab76,_0x33cab5)=>{const _0x2bd301=_0x30d615;var _0x385168,_0x4a0922,_0x4b2e24,_0x21e4ff;if(_0x33ab76==null)return[];let _0x787e=typeof _0x33ab76=='string'?{'id':_0x33ab76,'name':_0x33ab76,'color':void 0x0}:_0x33ab76,_0x4d2973=String((_0x385168=(_0x4a0922=_0x787e['id'])==null?_0x787e['name']:_0x4a0922)==null?_0x2bd301(0x2f1)+(_0x33cab5+0x1):_0x385168);return[{'key':_0x4d2973,'title':String((_0x4b2e24=(_0x21e4ff=_0x787e[_0x2bd301(0x1fe)])==null?_0x787e['id']:_0x21e4ff)==null?_0x4d2973:_0x4b2e24),'color':this[_0x2bd301(0x2ef)](_0x386ed9,_0x4d2973,_0x39da44)}];});return Object['entries']((_0xac6606=_0x39da44[_0x30d615(0x2b4)])==null?{}:_0xac6606)[_0x30d615(0x3f4)](([_0x15e3f8,_0x394132])=>{const _0x64b9c2=_0x30d615;var _0x99b954;_0x34db91[_0x64b9c2(0x341)](_0x2812cf=>_0x2812cf[_0x64b9c2(0x240)]===_0x15e3f8)||_0x34db91['push']({'key':_0x15e3f8,'title':this[_0x64b9c2(0x1e8)](_0x386ed9)?(_0x99b954=_0x394132[_0x64b9c2(0x2f0)])==null?this[_0x64b9c2(0x25a)](_0x386ed9,_0x15e3f8,_0x39da44):_0x99b954:this[_0x64b9c2(0x25a)](_0x386ed9,_0x15e3f8,_0x39da44),'color':this[_0x64b9c2(0x2ef)](_0x386ed9,_0x15e3f8,_0x39da44)});}),_0x34db91;}[_0x3401ce(0x15e)](_0x1981f5,_0x3333bb){const _0x585807=_0x3401ce;let _0x493390=_0x91c170=>{var _0xbcfd0,_0x47cf62;let _0x56ef4a=_0x91c170==null?'':String(_0x91c170);return!_0x56ef4a||!this['_isColorfulKanbanGroupField'](_0x1981f5)||(_0xbcfd0=(_0x47cf62=J(_0x1981f5,_0x56ef4a))==null?void 0x0:_0x47cf62['id'])==null?_0x56ef4a:_0xbcfd0;};if(Array[_0x585807(0x23e)](_0x3333bb)){let _0x2b5a18=_0x3333bb[_0x585807(0x1d3)](_0x493390)[_0x585807(0x2db)](_0x149528=>_0x149528!=='');return _0x2b5a18[_0x585807(0x2b1)]?_0x2b5a18:[''];}return[_0x493390(_0x3333bb)];}[_0x3401ce(0x25a)](_0x4b65fb,_0x47ac39,_0x1e4bdf){const _0x427529=_0x3401ce;var _0x7ce874;if(!_0x47ac39)return _0x427529(0x1bc);let _0x1577dc=J(_0x4b65fb,_0x47ac39);return(_0x7ce874=_0x1577dc==null?void 0x0:_0x1577dc['name'])==null?_0x47ac39:_0x7ce874;}[_0x3401ce(0x2ef)](_0xb1171f,_0x28b3b9,_0x32a930){var _0x265f34;if(this['_isColorfulKanbanGroupField'](_0xb1171f))return(_0x265f34=J(_0xb1171f,_0x28b3b9))==null?void 0x0:_0x265f34['color'];}[_0x3401ce(0x18e)](_0x39fb99,_0x49519a){const _0xb42618=_0x3401ce;var _0x26344c;let _0xee7190=this[_0xb42618(0x208)](_0x39fb99,(_0x26344c=_0x49519a[_0xb42618(0x3cb)])==null?{}:_0x26344c),_0x5ceee4=_0x39fb99['fields'][_0xee7190[_0xb42618(0x251)]];if(!_0x5ceee4||_0x5ceee4[_0xb42618(0x219)]||_0x5ceee4['type']!==_0xb42618(0x177)||_0x5ceee4[_0xb42618(0x3e5)]===!0x0||_0x5ceee4[_0xb42618(0x261)]===!0x0||!this['_capabilities'](_0x5ceee4)[_0xb42618(0x1f5)])return{'type':'invalid','viewType':_0xb42618(0x281),'reason':'invalidDateField','fieldId':_0xee7190[_0xb42618(0x251)]};let _0x25bdb7=_0xee7190[_0xb42618(0x21f)]?_0x39fb99['fields'][_0xee7190[_0xb42618(0x21f)]]:void 0x0,_0x5c6fcc=this[_0xb42618(0x1f0)](_0x39fb99,_0x49519a);return{'type':_0xb42618(0x281),'config':_0xee7190,'fields':this['_projectFields'](_0x39fb99,_0x49519a),'rows':_0x5c6fcc,'groups':this[_0xb42618(0x3c2)](_0x39fb99,_0x49519a,_0x5c6fcc),'events':_0x5c6fcc[_0xb42618(0x278)](_0x5b4e3c=>{const _0x4269b4=_0xb42618;let _0xe904ed=A(_0x5b4e3c['values'][_0xee7190[_0x4269b4(0x251)]]);if(!Number[_0x4269b4(0x2fd)](_0xe904ed))return[];let _0xb97729=_0x5b4e3c['values'][_0xee7190['startDateFieldId']],_0x53686=_0xee7190[_0x4269b4(0x21f)]==null?void 0x0:_0x5b4e3c[_0x4269b4(0x288)][_0xee7190['endDateFieldId']],_0x56aea5=_0xee7190[_0x4269b4(0x21f)]==null?void 0x0:A(_0x53686),_0x55d472=Number[_0x4269b4(0x2fd)](_0x56aea5)?_0x56aea5:void 0x0;return[{'recordId':_0x5b4e3c[_0x4269b4(0x163)],'title':this[_0x4269b4(0x369)](_0x39fb99,_0x5b4e3c,_0xee7190[_0x4269b4(0x1d4)]),'start':_0xe904ed,'end':_0x55d472,'color':this[_0x4269b4(0x28c)](_0x39fb99,_0x5b4e3c,_0xee7190),'startMs':_0xe904ed,'endMs':_0x55d472,'allDay':this[_0x4269b4(0x165)](_0x5ceee4,_0x25bdb7,_0xb97729,_0x53686),'fieldValues':_0x5b4e3c[_0x4269b4(0x288)]}];})};}[_0x3401ce(0x208)](_0x3551a1,_0x1db430){const _0x82ded=_0x3401ce;var _0x4b0218,_0x1a9f85;let _0x999fa4=this[_0x82ded(0x401)](_0x3551a1,_0x1db430['startDateFieldId']),_0xdce67=_0x1db430[_0x82ded(0x21f)]&&this[_0x82ded(0x31b)](_0x3551a1,_0x1db430[_0x82ded(0x21f)])?_0x1db430[_0x82ded(0x21f)]:(_0x4b0218=this[_0x82ded(0x2aa)](_0x3551a1,_0x999fa4))==null?void 0x0:_0x4b0218,_0x28fe17=_0x1db430[_0x82ded(0x1d4)]&&_0x3551a1['fields'][_0x1db430[_0x82ded(0x1d4)]]&&!_0x3551a1['fields'][_0x1db430[_0x82ded(0x1d4)]][_0x82ded(0x219)]?_0x1db430[_0x82ded(0x1d4)]:_0x3551a1[_0x82ded(0x346)],_0x395f33=_0x1db430[_0x82ded(0x3ba)]===_0x82ded(0x3a6)||_0x1db430[_0x82ded(0x3ba)]===_0x82ded(0x294)?_0x1db430['mode']:_0x82ded(0x379),_0x2ce90f=_0x1db430[_0x82ded(0x367)]===_0x82ded(0x29b)||_0x1db430[_0x82ded(0x367)]==='long'?_0x1db430[_0x82ded(0x367)]:'medium',_0x5c5a0f=typeof _0x1db430[_0x82ded(0x392)]==_0x82ded(0x3f7)&&_0x1db430[_0x82ded(0x392)][_0x82ded(0x297)]()?_0x1db430[_0x82ded(0x392)]:_0x82ded(0x303),_0x193733=this[_0x82ded(0x2f5)](_0x3551a1,_0x1db430);return{..._0x1db430,'startDateFieldId':_0x999fa4,'endDateFieldId':_0xdce67,'titleFieldId':_0x28fe17,'mode':_0x395f33,'timeslotSize':_0x2ce90f,'timeZone':_0x5c5a0f,'displayColor':_0x193733,'fieldSettings':Object[_0x82ded(0x300)](Object[_0x82ded(0x184)]((_0x1a9f85=_0x1db430['fieldSettings'])==null?{}:_0x1a9f85)[_0x82ded(0x2db)](([_0x225ea4])=>{const _0x11d34d=_0x82ded;let _0x5cc41e=_0x3551a1[_0x11d34d(0x204)][_0x225ea4];return!!_0x5cc41e&&!_0x5cc41e[_0x11d34d(0x219)];}))};}[_0x3401ce(0x401)](_0x1f74a2,_0x2394b8){const _0x31dc56=_0x3401ce;var _0x3add45,_0x341d9a;return _0x2394b8&&this['_isCalendarDateField'](_0x1f74a2,_0x2394b8)?_0x2394b8:(_0x3add45=(_0x341d9a=this[_0x31dc56(0x2aa)](_0x1f74a2))==null?_0x2394b8:_0x341d9a)==null?'':_0x3add45;}[_0x3401ce(0x2aa)](_0x35c5f1,_0x26ec1a){const _0x34f18b=_0x3401ce;for(let _0x28b6cc of _0x35c5f1[_0x34f18b(0x264)])if(_0x28b6cc!==_0x26ec1a&&this['_isCalendarDateField'](_0x35c5f1,_0x28b6cc))return _0x28b6cc;return null;}[_0x3401ce(0x31b)](_0x574f97,_0x8c1ab){const _0x9fb39a=_0x3401ce;let _0x1fc311=_0x574f97[_0x9fb39a(0x204)][_0x8c1ab];return!!_0x1fc311&&!_0x1fc311[_0x9fb39a(0x219)]&&_0x1fc311[_0x9fb39a(0x1b1)]===_0x9fb39a(0x177)&&_0x1fc311[_0x9fb39a(0x3e5)]!==!0x0&&_0x1fc311[_0x9fb39a(0x261)]!==!0x0&&this['_capabilities'](_0x1fc311)['usableAsCalendarDate'];}[_0x3401ce(0x2f5)](_0x26be99,_0x471c95){const _0x2c6629=_0x3401ce;let _0xf9e6c2=_0x471c95['displayColor'];if((_0xf9e6c2==null?void 0x0:_0xf9e6c2['type'])===_0x2c6629(0x36c)){let _0x194f73=_0x26be99[_0x2c6629(0x204)][_0xf9e6c2[_0x2c6629(0x409)]];if(_0x194f73&&!_0x194f73[_0x2c6629(0x219)]&&_0x194f73['type']==='singleSelect')return _0xf9e6c2;}if((_0xf9e6c2==null?void 0x0:_0xf9e6c2[_0x2c6629(0x1b1)])==='custom'&&typeof _0xf9e6c2[_0x2c6629(0x257)]==_0x2c6629(0x3f7)&&_0xf9e6c2[_0x2c6629(0x257)]['trim']())return{'type':_0x2c6629(0x30b),'color':_0xf9e6c2[_0x2c6629(0x257)]};if(_0x471c95['colorFieldId']){let _0x50339f=_0x26be99[_0x2c6629(0x204)][_0x471c95['colorFieldId']];if(_0x50339f&&!_0x50339f['deleted']&&_0x50339f['type']===_0x2c6629(0x335))return{'type':'selectField','fieldId':_0x471c95[_0x2c6629(0x2ea)]};}return{'type':_0x2c6629(0x30b),'color':'#3b82f6'};}[_0x3401ce(0x28c)](_0x450996,_0x6b2226,_0x1f537c){const _0xeb7b9a=_0x3401ce;let _0x1d6d10=_0x1f537c['displayColor'];if((_0x1d6d10==null?void 0x0:_0x1d6d10[_0xeb7b9a(0x1b1)])===_0xeb7b9a(0x36c)){var _0x32b91f;let _0x50d6c0=_0x450996[_0xeb7b9a(0x204)][_0x1d6d10['fieldId']];if(!_0x50d6c0||_0x50d6c0[_0xeb7b9a(0x219)])return;let _0xd87234=_0x6b2226[_0xeb7b9a(0x288)][_0x1d6d10[_0xeb7b9a(0x409)]],_0x3f2fd5=Array['isArray'](_0xd87234)?_0xd87234[0x0]:_0xd87234;return _0x3f2fd5==null||(_0x32b91f=J(_0x50d6c0,String(_0x3f2fd5)))==null?void 0x0:_0x32b91f['color'];}if((_0x1d6d10==null?void 0x0:_0x1d6d10['type'])===_0xeb7b9a(0x30b))return _0x1d6d10['color'];}['_isAllDayCalendarEvent'](_0x19d118,_0x466fbc,_0x4d38cb,_0x31f152){const _0x8ef38f=_0x3401ce;var _0x335a88,_0x297df4;let _0x1cf677=((_0x335a88=_0x19d118['config'])==null?void 0x0:_0x335a88[_0x8ef38f(0x37f)])===!0x0,_0x2a36c2=(_0x466fbc==null||(_0x297df4=_0x466fbc[_0x8ef38f(0x3cb)])==null?void 0x0:_0x297df4['includeTime'])===!0x0;return!_0x1cf677&&!_0x2a36c2;}[_0x3401ce(0x286)](_0x2d5986,_0x48db16){const _0x5b4c48=_0x3401ce;var _0x345f23,_0x39b3f4;let _0x2c85d3=((_0x345f23=_0x2d5986[_0x5b4c48(0x3cb)])==null?void 0x0:_0x345f23[_0x5b4c48(0x37f)])===!0x0,_0x7f5fc8=((_0x39b3f4=_0x48db16['config'])==null?void 0x0:_0x39b3f4[_0x5b4c48(0x37f)])===!0x0;return!_0x2c85d3&&!_0x7f5fc8;}[_0x3401ce(0x32f)](_0x34df6f,_0x2a070e){const _0x50709c=_0x3401ce;let _0x460a9b=this[_0x50709c(0x20f)](_0x34df6f,_0x2a070e['config']),_0x3fdff7=_0x34df6f[_0x50709c(0x204)][_0x460a9b[_0x50709c(0x251)]];if(!_0x3fdff7||_0x3fdff7[_0x50709c(0x219)]||_0x3fdff7[_0x50709c(0x1b1)]!==_0x50709c(0x177)||_0x3fdff7[_0x50709c(0x3e5)]===!0x0||_0x3fdff7[_0x50709c(0x261)]===!0x0||!this[_0x50709c(0x324)](_0x3fdff7)[_0x50709c(0x373)])return{'type':'invalid','viewType':_0x50709c(0x34e),'reason':_0x50709c(0x220),'fieldId':_0x460a9b['startDateFieldId']};let _0x35db3b=_0x34df6f['fields'][_0x460a9b[_0x50709c(0x21f)]];if(!_0x35db3b||_0x35db3b['deleted']||_0x35db3b['type']!==_0x50709c(0x177)||_0x35db3b[_0x50709c(0x3e5)]===!0x0||_0x35db3b[_0x50709c(0x261)]===!0x0||!this[_0x50709c(0x324)](_0x35db3b)[_0x50709c(0x3c9)])return{'type':'invalid','viewType':_0x50709c(0x34e),'reason':_0x50709c(0x3ea),'fieldId':_0x460a9b[_0x50709c(0x21f)]};let _0x5342b4=this[_0x50709c(0x286)](_0x3fdff7,_0x35db3b),_0x440b0e=this[_0x50709c(0x1f0)](_0x34df6f,_0x2a070e),_0x581fe0=_0x440b0e[_0x50709c(0x278)](_0x484bb8=>{const _0x2c52c9=_0x50709c;var _0x1c9701;let _0x1aa3ed=A(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b[_0x2c52c9(0x251)]]),_0x27d457=A(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b[_0x2c52c9(0x21f)]]);if(!Number[_0x2c52c9(0x2fd)](_0x1aa3ed)||!Number['isFinite'](_0x27d457))return[];let _0x30d3ca=Math[_0x2c52c9(0x1a7)](_0x1aa3ed,_0x27d457),_0x3b1b47=Math[_0x2c52c9(0x16c)](_0x1aa3ed,_0x27d457),_0x118906=_0x460a9b[_0x2c52c9(0x2bd)]==null?void 0x0:Number(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b['progressFieldId']]);return[{'recordId':_0x484bb8['recordId'],'title':this[_0x2c52c9(0x369)](_0x34df6f,_0x484bb8,_0x460a9b['titleFieldId']),'start':_0x30d3ca,'end':_0x3b1b47,'color':this[_0x2c52c9(0x202)](_0x34df6f,_0x484bb8,_0x460a9b),'progress':Number['isFinite'](_0x118906)?_0x118906:void 0x0,'workingDayCount':_0x460a9b[_0x2c52c9(0x1eb)]?Cn(_0x30d3ca,_0x3b1b47,_0x460a9b[_0x2c52c9(0x2d3)]):void 0x0,'dependencyRecordIds':this[_0x2c52c9(0x227)](_0x484bb8[_0x2c52c9(0x288)][(_0x1c9701=_0x460a9b['dependencyFieldId'])==null?'':_0x1c9701])}];}),_0x31d426=_0x581fe0[_0x50709c(0x2b1)]?K(Math[_0x50709c(0x1a7)](..._0x581fe0[_0x50709c(0x1d3)](_0x1be294=>_0x1be294[_0x50709c(0x2c9)]))-0x5a*G):K(Date['now']()-0x5a*G),_0x5da39c=_0x581fe0[_0x50709c(0x2b1)]?K(Math[_0x50709c(0x16c)](..._0x581fe0[_0x50709c(0x1d3)](_0xf06076=>_0xf06076['end']))+0x5b*G):K(Date[_0x50709c(0x3b2)]()+0x5b*G),_0x2181b4=hn(_0x460a9b[_0x50709c(0x1de)],_0x31d426,_0x5da39c,_0x460a9b[_0x50709c(0x1eb)]?_0x460a9b['workingDays']:void 0x0);return{'type':_0x50709c(0x34e),'fields':this[_0x50709c(0x2da)](_0x34df6f,{..._0x2a070e,'config':_0x460a9b}),'rows':_0x440b0e,'groups':this['_projectGroups'](_0x34df6f,_0x2a070e,_0x440b0e),'config':_0x460a9b,'dateRangeAllDay':_0x5342b4,'timeline':{'scale':_0x460a9b['scale'],'start':_0x31d426,'end':_0x5da39c,'unitWidth':_0x2181b4[_0x50709c(0x187)],'majorHeaders':_0x2181b4['majorHeaders'],'columns':_0x2181b4[_0x50709c(0x15f)]},'bars':_0x581fe0};}[_0x3401ce(0x20f)](_0x301c39,_0x29a5fc){const _0x2e2c35=_0x3401ce;var _0x34d772;let _0x356ae8=this[_0x2e2c35(0x2fc)](_0x301c39,_0x29a5fc[_0x2e2c35(0x251)],'start'),_0xdbcafa=this[_0x2e2c35(0x2fc)](_0x301c39,_0x29a5fc[_0x2e2c35(0x21f)],_0x2e2c35(0x296))||_0x356ae8,_0x42cedb=_0x29a5fc[_0x2e2c35(0x1d4)]&&_0x301c39['fields'][_0x29a5fc[_0x2e2c35(0x1d4)]]&&!_0x301c39[_0x2e2c35(0x204)][_0x29a5fc[_0x2e2c35(0x1d4)]][_0x2e2c35(0x219)]?_0x29a5fc['titleFieldId']:_0x301c39[_0x2e2c35(0x346)],_0x194d55=_0x29a5fc[_0x2e2c35(0x1de)]===_0x2e2c35(0x294)||_0x29a5fc['scale']==='quarter'||_0x29a5fc['scale']==='year'?_0x29a5fc[_0x2e2c35(0x1de)]:_0x2e2c35(0x379),_0x179672=mn(_0x29a5fc[_0x2e2c35(0x2d3)]);return{..._0x29a5fc,'startDateFieldId':_0x356ae8,'endDateFieldId':_0xdbcafa,'titleFieldId':_0x42cedb,'scale':_0x194d55,'leftPaneWidth':typeof _0x29a5fc[_0x2e2c35(0x229)]==_0x2e2c35(0x1e4)?_0x29a5fc['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x29a5fc[_0x2e2c35(0x22d)]===!0x0,'showTodayLine':_0x29a5fc[_0x2e2c35(0x201)]!==!0x1,'displayColor':this[_0x2e2c35(0x38f)](_0x301c39,_0x29a5fc),'fieldSettings':Object[_0x2e2c35(0x300)](Object['entries']((_0x34d772=_0x29a5fc['fieldSettings'])==null?{}:_0x34d772)[_0x2e2c35(0x2db)](([_0xc0a87])=>{const _0x305096=_0x2e2c35;let _0x52fa93=_0x301c39[_0x305096(0x204)][_0xc0a87];return!!_0x52fa93&&!_0x52fa93[_0x305096(0x219)];})),'workingDaysOnly':_0x29a5fc[_0x2e2c35(0x1eb)]===!0x0,'workingDays':_0x179672};}[_0x3401ce(0x2fc)](_0x3a8389,_0x1fd70f,_0x5e6179){const _0x316c7b=_0x3401ce;if(_0x1fd70f&&this[_0x316c7b(0x23a)](_0x3a8389,_0x1fd70f,_0x5e6179)||_0x1fd70f)return _0x1fd70f;for(let _0x50977a of _0x3a8389[_0x316c7b(0x264)])if(this[_0x316c7b(0x23a)](_0x3a8389,_0x50977a,_0x5e6179))return _0x50977a;return _0x1fd70f==null?'':_0x1fd70f;}[_0x3401ce(0x23a)](_0x5b47d8,_0x56e0d7,_0x25f639){const _0x35cb27=_0x3401ce;let _0x9e0c58=_0x5b47d8[_0x35cb27(0x204)][_0x56e0d7];if(!_0x9e0c58||_0x9e0c58[_0x35cb27(0x219)]||_0x9e0c58['type']!==_0x35cb27(0x177)||_0x9e0c58[_0x35cb27(0x3e5)]===!0x0||_0x9e0c58[_0x35cb27(0x261)]===!0x0)return!0x1;let _0x13446f=this[_0x35cb27(0x324)](_0x9e0c58);return _0x25f639===_0x35cb27(0x2c9)?_0x13446f[_0x35cb27(0x373)]:_0x13446f[_0x35cb27(0x3c9)];}['_normalizeGanttDisplayColor'](_0x5d23b1,_0x3cfe5e){const _0x53e1af=_0x3401ce;let _0xf171d=_0x3cfe5e['displayColor'];if((_0xf171d==null?void 0x0:_0xf171d['type'])===_0x53e1af(0x36c)){let _0x51ac1d=_0x5d23b1[_0x53e1af(0x204)][_0xf171d[_0x53e1af(0x409)]];if(_0x51ac1d&&!_0x51ac1d[_0x53e1af(0x219)]&&_0x51ac1d[_0x53e1af(0x1b1)]===_0x53e1af(0x335))return _0xf171d;}return(_0xf171d==null?void 0x0:_0xf171d[_0x53e1af(0x1b1)])===_0x53e1af(0x35b)&&Array['isArray'](_0xf171d[_0x53e1af(0x198)])?{'type':_0x53e1af(0x35b),'rules':_0xf171d['rules'][_0x53e1af(0x2db)](_0xde23c=>{const _0x483563=_0x53e1af;let _0x3e1054=_0x5d23b1[_0x483563(0x204)][_0xde23c[_0x483563(0x409)]];return!!_0x3e1054&&!_0x3e1054[_0x483563(0x219)];})}:(_0xf171d==null?void 0x0:_0xf171d[_0x53e1af(0x1b1)])===_0x53e1af(0x30b)&&typeof _0xf171d[_0x53e1af(0x257)]==_0x53e1af(0x3f7)&&_0xf171d[_0x53e1af(0x257)]['trim']()?{'type':'custom','color':_0xf171d[_0x53e1af(0x257)]}:{'type':_0x53e1af(0x30b),'color':_0x53e1af(0x2a0)};}['_ganttBarColor'](_0x18fe46,_0x336726,_0x478aa8){const _0x363c3e=_0x3401ce;let _0x2e16a7=_0x478aa8[_0x363c3e(0x388)];if((_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])===_0x363c3e(0x35b)){let _0x1b4ec1=_0x2e16a7[_0x363c3e(0x198)][_0x363c3e(0x387)](_0x15fe68=>this[_0x363c3e(0x349)](_0x18fe46,_0x336726,_0x15fe68));if(_0x1b4ec1)return _0x1b4ec1[_0x363c3e(0x257)];}if((_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])===_0x363c3e(0x36c)){let _0x281eb4=_0x18fe46['fields'][_0x2e16a7[_0x363c3e(0x409)]];if(_0x281eb4&&!_0x281eb4[_0x363c3e(0x219)]){var _0x54699f;let _0x27c771=_0x336726[_0x363c3e(0x288)][_0x2e16a7[_0x363c3e(0x409)]],_0x35828e=Array['isArray'](_0x27c771)?_0x27c771[0x0]:_0x27c771,_0x32caa5=_0x35828e==null||(_0x54699f=J(_0x281eb4,String(_0x35828e)))==null?void 0x0:_0x54699f['color'];if(_0x32caa5)return _0x32caa5;}}return(_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])==='custom'?_0x2e16a7[_0x363c3e(0x257)]:_0x363c3e(0x2a0);}[_0x3401ce(0x349)](_0x1b43dc,_0x535615,_0x1fb517){const _0x365ac8=_0x3401ce;let _0x479f15=_0x1b43dc[_0x365ac8(0x204)][_0x1fb517[_0x365ac8(0x409)]];return!_0x479f15||_0x479f15[_0x365ac8(0x219)]?!0x1:ot(_0x535615[_0x365ac8(0x288)][_0x479f15['id']],_0x1fb517[_0x365ac8(0x3a1)],_0x1fb517[_0x365ac8(0x398)],_0x479f15,{'dateMode':_0x1fb517['dateMode']});}[_0x3401ce(0x293)](_0x1f601c,_0x4cc2c0){const _0x5d8860=_0x3401ce;var _0x2dfa1b,_0x4f42a0,_0x364248;let _0x33e8f1=this[_0x5d8860(0x1f0)](_0x1f601c,_0x4cc2c0),_0x3fa354=this['_normalizeGalleryConfig'](_0x1f601c,(_0x2dfa1b=_0x4cc2c0['config'])==null?{}:_0x2dfa1b);return{'type':_0x5d8860(0x370),'fields':this['_projectFields'](_0x1f601c,_0x4cc2c0),'rows':_0x33e8f1,'groups':this[_0x5d8860(0x3c2)](_0x1f601c,_0x4cc2c0,_0x33e8f1),'coverFieldId':_0x3fa354[_0x5d8860(0x2e2)],'cardLayout':(_0x4f42a0=_0x3fa354[_0x5d8860(0x2eb)])==null?_0x5d8860(0x3e9):_0x4f42a0,'showFieldNames':_0x3fa354[_0x5d8860(0x156)]!==!0x1,'visibleCardFieldIds':this[_0x5d8860(0x1ba)](_0x1f601c,_0x4cc2c0,_0x3fa354),'cardSize':(_0x364248=_0x3fa354['cardSize'])==null?_0x5d8860(0x1d1):_0x364248,'cards':_0x33e8f1[_0x5d8860(0x1d3)](_0x46348a=>({'recordId':_0x46348a[_0x5d8860(0x163)],'title':this[_0x5d8860(0x369)](_0x1f601c,_0x46348a,_0x3fa354[_0x5d8860(0x1b2)][_0x5d8860(0x1d4)]),'values':_0x46348a[_0x5d8860(0x288)]}))};}[_0x3401ce(0x1f3)](_0x365a03,_0x3038e5){const _0x1bc39d=_0x3401ce;var _0x42fd75,_0x55c727;let _0x2ecf93=(_0x42fd75=_0x3038e5['card'])==null?{'fieldIds':[]}:_0x42fd75,_0x3f046f=_0x2ecf93[_0x1bc39d(0x1d4)]&&_0x365a03['fields'][_0x2ecf93[_0x1bc39d(0x1d4)]]&&!_0x365a03[_0x1bc39d(0x204)][_0x2ecf93[_0x1bc39d(0x1d4)]][_0x1bc39d(0x219)]?_0x2ecf93[_0x1bc39d(0x1d4)]:Zt(_0x365a03),_0x3f9b7c=this[_0x1bc39d(0x3ac)](_0x365a03,_0x3038e5),_0x52a64c=_0x3038e5[_0x1bc39d(0x18c)]===_0x1bc39d(0x36f)||_0x3038e5[_0x1bc39d(0x18c)]===_0x1bc39d(0x325)?_0x3038e5[_0x1bc39d(0x18c)]:_0x1bc39d(0x1d1);return{..._0x3038e5,'coverFieldId':_0x3f9b7c,'cardLayout':_0x3038e5['cardLayout']===_0x1bc39d(0x1e5)?_0x1bc39d(0x1e5):_0x1bc39d(0x3e9),'showFieldNames':_0x3038e5[_0x1bc39d(0x156)]!==!0x1,'fieldSettings':Object[_0x1bc39d(0x300)](Object['entries']((_0x55c727=_0x3038e5[_0x1bc39d(0x1fd)])==null?{}:_0x55c727)[_0x1bc39d(0x2db)](([_0x5b54cd])=>{const _0x2fe37=_0x1bc39d;let _0x3975b6=_0x365a03[_0x2fe37(0x204)][_0x5b54cd];return!!_0x3975b6&&!_0x3975b6[_0x2fe37(0x219)];})),'card':{..._0x2ecf93,'titleFieldId':_0x3f046f,'coverFieldId':_0x3f9b7c,'fieldIds':Array['isArray'](_0x2ecf93[_0x1bc39d(0x1ff)])?_0x2ecf93['fieldIds']:[]},'cardSize':_0x52a64c};}['_resolveGalleryCoverFieldId'](_0x587e7c,_0x4ab886){const _0x1a16cc=_0x3401ce;var _0x348369,_0x1cb4d1,_0x1a1e98;let _0x49c1f0=(_0x348369=(_0x1cb4d1=_0x4ab886['coverFieldId'])==null?(_0x1a1e98=_0x4ab886['card'])==null?void 0x0:_0x1a1e98['coverFieldId']:_0x1cb4d1)==null?null:_0x348369;if(!_0x49c1f0)return null;let _0x410e7e=_0x587e7c[_0x1a16cc(0x204)][_0x49c1f0];return _0x410e7e&&!_0x410e7e[_0x1a16cc(0x219)]&&this[_0x1a16cc(0x324)](_0x410e7e)[_0x1a16cc(0x1ab)]?_0x410e7e['id']:null;}['_resolveGalleryCardFieldIds'](_0x1d4f5e,_0x148eb1,_0x12f370){const _0x28063d=_0x3401ce;var _0x8c51f0,_0x56cc0f,_0x24127,_0x535a4f,_0x597bf1,_0x4fd220,_0xfd6fc8;let _0x143daa=(_0x8c51f0=_0x12f370[_0x28063d(0x1fd)])==null?{}:_0x8c51f0,_0x4ba13c=(_0x56cc0f=(_0x24127=_0x12f370['card'])==null?void 0x0:_0x24127[_0x28063d(0x1d4)])==null?Zt(_0x1d4f5e):_0x56cc0f,_0x54376d=(_0x535a4f=(_0x597bf1=_0x12f370[_0x28063d(0x2e2)])==null?(_0x4fd220=_0x12f370[_0x28063d(0x1b2)])==null?void 0x0:_0x4fd220['coverFieldId']:_0x597bf1)==null?null:_0x535a4f,_0x3e8f1a=!((_0xfd6fc8=_0x12f370[_0x28063d(0x1b2)])==null||(_0xfd6fc8=_0xfd6fc8[_0x28063d(0x1ff)])==null)&&_0xfd6fc8[_0x28063d(0x2b1)]?_0x12f370['card'][_0x28063d(0x1ff)]:Qt(_0x1d4f5e,[_0x4ba13c,_0x54376d,_0x1d4f5e[_0x28063d(0x346)]]);return _0x3e8f1a['filter'](_0x1478b9=>{const _0x3c3315=_0x28063d;var _0x46853d,_0x29576b;let _0x2ac59b=_0x1d4f5e['fields'][_0x1478b9];return!(!_0x2ac59b||_0x2ac59b[_0x3c3315(0x219)]||_0x2ac59b['id']===_0x4ba13c||_0x2ac59b['id']===_0x54376d||!((_0x46853d=_0x148eb1[_0x3c3315(0x1fd)])==null||(_0x46853d=_0x46853d[_0x1478b9])==null)&&_0x46853d[_0x3c3315(0x2cf)]||(_0x29576b=_0x143daa[_0x1478b9])!=null&&_0x29576b[_0x3c3315(0x2cf)]);})[_0x28063d(0x22f)]((_0x3378ca,_0x21d74e)=>{const _0x60e93b=_0x28063d;var _0x3ccd84,_0x576ab1,_0x35768a,_0x5841f7;return((_0x3ccd84=(_0x576ab1=_0x143daa[_0x3378ca])==null?void 0x0:_0x576ab1[_0x60e93b(0x385)])==null?_0x3e8f1a['indexOf'](_0x3378ca):_0x3ccd84)-((_0x35768a=(_0x5841f7=_0x143daa[_0x21d74e])==null?void 0x0:_0x5841f7[_0x60e93b(0x385)])==null?_0x3e8f1a['indexOf'](_0x21d74e):_0x35768a);});}[_0x3401ce(0x2da)](_0x523a0e,_0x5ba3a9){const _0xcc5c18=_0x3401ce;var _0x3a1590;return((_0x3a1590=_0x5ba3a9[_0xcc5c18(0x264)])!=null&&_0x3a1590[_0xcc5c18(0x2b1)]?_0x5ba3a9[_0xcc5c18(0x264)]:_0x523a0e[_0xcc5c18(0x264)])[_0xcc5c18(0x278)](_0x5b7bfb=>{const _0x211f60=_0xcc5c18;var _0x500488,_0x3e7d03;let _0x3f96db=_0x523a0e[_0x211f60(0x204)][_0x5b7bfb],_0x422ffd=(_0x500488=(_0x3e7d03=_0x5ba3a9[_0x211f60(0x1fd)])==null?void 0x0:_0x3e7d03[_0x5b7bfb])==null?{}:_0x500488;return!_0x3f96db||_0x3f96db[_0x211f60(0x219)]||_0x422ffd['hidden']?[]:[{'id':_0x3f96db['id'],'name':_0x3f96db[_0x211f60(0x1fe)],'description':_0x3f96db[_0x211f60(0x3de)],'type':_0x3f96db[_0x211f60(0x1b1)],'config':_0x3f96db['config'],'width':_0x422ffd['width'],'setting':_0x422ffd}];});}[_0x3401ce(0x1f0)](_0x4ba425,_0x53c5f1){const _0x59f1ac=_0x3401ce;var _0x332c92,_0x25645a,_0x589085;return S(_0x59f1ac(0x26a),()=>{const _0x5d8621=_0x59f1ac;var _0x3861ff,_0x229320,_0x5c9dfb,_0x64978f;let _0x4a898d=this[_0x5d8621(0x159)](_0x4ba425),_0x197f4e=this['_viewRowsCacheKey'](_0x4ba425['id'],_0x53c5f1),_0xfc78ca=this[_0x5d8621(0x26c)](_0x4ba425['id']),_0x273dce=this[_0x5d8621(0x345)]['get'](_0x197f4e);if(_0x273dce&&_0x273dce[_0x5d8621(0x3c3)]===this[_0x5d8621(0x21a)]&&_0x273dce['tableRevision']===this['_getTableRevision'](_0x4ba425['id'])){if(_0x273dce[_0x5d8621(0x3e1)]===_0xfc78ca&&_0x273dce['baseRows']===_0x4a898d)return _0x273dce[_0x5d8621(0x2fa)];if(_0x273dce[_0x5d8621(0x3e1)]!==_0xfc78ca&&!this['_cellInvalidationsTouchFields'](_0x4ba425['id'],_0x273dce['cellRevision'],_0xfc78ca,this[_0x5d8621(0x299)](_0x53c5f1))){let _0x28f7a0=_0x273dce[_0x5d8621(0x2fa)]===_0x273dce['baseRows']?_0x4a898d:this[_0x5d8621(0x38d)](_0x273dce[_0x5d8621(0x2fa)],_0x4a898d);if(_0x28f7a0)return this[_0x5d8621(0x345)][_0x5d8621(0x270)](_0x197f4e,{..._0x273dce,'rows':_0x28f7a0,'baseRows':_0x4a898d,'cellRevision':_0xfc78ca}),_0x28f7a0;}}let _0x1d3a0c=S(_0x5d8621(0x2b8),()=>this[_0x5d8621(0x317)](_0x4ba425,_0x53c5f1,this['_filterRows'](_0x4ba425,_0x53c5f1,_0x4a898d)),{'tableId':_0x4ba425['id'],'viewId':_0x53c5f1==null?void 0x0:_0x53c5f1['id'],'viewType':_0x53c5f1==null?void 0x0:_0x53c5f1[_0x5d8621(0x1b1)],'rows':_0x4a898d[_0x5d8621(0x2b1)],'filters':(_0x3861ff=_0x53c5f1==null||(_0x229320=_0x53c5f1[_0x5d8621(0x2db)])==null?void 0x0:_0x229320['conditions'][_0x5d8621(0x2b1)])==null?0x0:_0x3861ff,'sorts':(_0x5c9dfb=_0x53c5f1==null||(_0x64978f=_0x53c5f1['sort'])==null?void 0x0:_0x64978f[_0x5d8621(0x2b1)])==null?0x0:_0x5c9dfb});return this['_projectedViewRowsCache']['set'](_0x197f4e,{'table':_0x4ba425,'rows':_0x1d3a0c,'baseRows':_0x4a898d,'globalRevision':this[_0x5d8621(0x21a)],'tableRevision':this[_0x5d8621(0x1b8)](_0x4ba425['id']),'cellRevision':_0xfc78ca}),_0x1d3a0c;},{'tableId':_0x4ba425['id'],'viewId':_0x53c5f1==null?void 0x0:_0x53c5f1['id'],'viewType':_0x53c5f1==null?void 0x0:_0x53c5f1[_0x59f1ac(0x1b1)],'records':(_0x332c92=(_0x25645a=_0x4ba425['recordOrder'])==null?void 0x0:_0x25645a[_0x59f1ac(0x2b1)])==null?Object[_0x59f1ac(0x2fe)]((_0x589085=_0x4ba425[_0x59f1ac(0x320)])==null?{}:_0x589085)['length']:_0x332c92});}[_0x3401ce(0x159)](_0x53e428){const _0xde190e=_0x3401ce;var _0x2296ab,_0x371df1,_0x10361e;return S('BaseProjection.projectTableRows',()=>{const _0x21b069=_0x4a40;var _0x1b5218;let _0x366bb5=this['_getCellRevision'](_0x53e428['id']),_0x18f0e3=this['_projectedRowsCache'][_0x21b069(0x192)](_0x53e428['id']);if(_0x18f0e3&&_0x18f0e3[_0x21b069(0x3c3)]===this['_globalRevision']&&_0x18f0e3[_0x21b069(0x34b)]===this[_0x21b069(0x1b8)](_0x53e428['id'])){if(_0x18f0e3[_0x21b069(0x3e1)]===_0x366bb5&&_0x18f0e3[_0x21b069(0x39c)]===_0x53e428)return _0x18f0e3[_0x21b069(0x2fa)];let _0x290b9a=this['_patchProjectedRowsForCellInvalidations'](_0x53e428,_0x18f0e3,_0x366bb5);if(_0x290b9a)return _0x290b9a;}un(_0x53e428)||C(_0x53e428);let _0x257e34=(_0x1b5218=_0x53e428[_0x21b069(0x275)])!=null&&_0x1b5218['length']?_0x53e428[_0x21b069(0x275)]:Object[_0x21b069(0x288)](_0x53e428[_0x21b069(0x320)])[_0x21b069(0x22f)]((_0x16c7e7,_0x208ec2)=>_0x16c7e7[_0x21b069(0x20e)][_0x21b069(0x16a)](_0x208ec2[_0x21b069(0x20e)]))['map'](_0x21afb6=>_0x21afb6['id']),_0x564883=S('BaseProjection.materializeTableRows',()=>_0x257e34['map'](_0x3297c7=>_0x53e428[_0x21b069(0x320)][_0x3297c7])[_0x21b069(0x2db)](_0x41f066=>!!_0x41f066)[_0x21b069(0x2db)](_0x1b5539=>!_0x1b5539['deleted'])['map'](_0x5238c8=>{let _0xd19b87={};for(let _0x4078ea of _0x53e428['fieldOrder'])_0xd19b87[_0x4078ea]=xe(_0x53e428,_0x5238c8['id'],_0x4078ea);return{'recordId':_0x5238c8['id'],'values':_0xd19b87};}),{'tableId':_0x53e428['id'],'records':_0x257e34['length'],'fields':_0x53e428['fieldOrder'][_0x21b069(0x2b1)]});return this[_0x21b069(0x347)]['set'](_0x53e428['id'],{'table':_0x53e428,'rows':_0x564883,'rowIndexById':ln(_0x564883),'globalRevision':this[_0x21b069(0x21a)],'tableRevision':this[_0x21b069(0x1b8)](_0x53e428['id']),'cellRevision':_0x366bb5}),_0x564883;},{'tableId':_0x53e428['id'],'records':(_0x2296ab=(_0x371df1=_0x53e428[_0xde190e(0x275)])==null?void 0x0:_0x371df1['length'])==null?Object[_0xde190e(0x2fe)]((_0x10361e=_0x53e428[_0xde190e(0x320)])==null?{}:_0x10361e)['length']:_0x2296ab,'fields':_0x53e428['fieldOrder'][_0xde190e(0x2b1)]});}[_0x3401ce(0x31c)](_0x10ba9b,_0x4a11ab,_0x40ad2d){const _0x531a67=_0x3401ce;var _0x1168f3,_0x501f2d;let _0x290c64=((_0x1168f3=this[_0x531a67(0x250)][_0x531a67(0x192)](_0x10ba9b['id']))==null?[]:_0x1168f3)[_0x531a67(0x2db)](_0x125af5=>_0x125af5['revision']>_0x4a11ab[_0x531a67(0x3e1)]&&_0x125af5['revision']<=_0x40ad2d);if(!_0x290c64[_0x531a67(0x2b1)])return _0x4a11ab[_0x531a67(0x39c)]===_0x10ba9b?_0x4a11ab[_0x531a67(0x2fa)]:null;let _0x27c22a=_0x4a11ab[_0x531a67(0x2fa)],_0x5dfc05=new Map();for(let _0x21c61a of _0x290c64){let _0x36e38e=_0x5dfc05[_0x531a67(0x192)](_0x21c61a[_0x531a67(0x163)]);_0x36e38e||(_0x36e38e=new Set(),_0x5dfc05[_0x531a67(0x270)](_0x21c61a[_0x531a67(0x163)],_0x36e38e)),_0x36e38e[_0x531a67(0x221)](_0x21c61a[_0x531a67(0x409)]);}for(let [_0x20a720,_0x44ab5c]of _0x5dfc05){let _0x32ad45=_0x10ba9b['records'][_0x20a720];if(!_0x32ad45||_0x32ad45[_0x531a67(0x219)])return null;let _0x4b7205=_0x4a11ab[_0x531a67(0x374)][_0x531a67(0x192)](_0x20a720);if(_0x4b7205==null)return null;_0x27c22a===_0x4a11ab[_0x531a67(0x2fa)]&&(_0x27c22a=[..._0x4a11ab[_0x531a67(0x2fa)]]);let _0x3d363a=_0x27c22a[_0x4b7205],_0x1f9900={..._0x3d363a[_0x531a67(0x288)]};_0x44ab5c[_0x531a67(0x3f4)](_0x2a8374=>{_0x1f9900[_0x2a8374]=xe(_0x10ba9b,_0x20a720,_0x2a8374);}),_0x27c22a[_0x4b7205]={..._0x3d363a,'values':_0x1f9900};}let _0x124e39={'table':_0x10ba9b,'rows':_0x27c22a,'rowIndexById':_0x4a11ab[_0x531a67(0x374)],'globalRevision':this[_0x531a67(0x21a)],'tableRevision':this[_0x531a67(0x1b8)](_0x10ba9b['id']),'cellRevision':_0x40ad2d};return this[_0x531a67(0x347)][_0x531a67(0x270)](_0x10ba9b['id'],_0x124e39),this[_0x531a67(0x250)][_0x531a67(0x270)](_0x10ba9b['id'],((_0x501f2d=this['_cellInvalidations'][_0x531a67(0x192)](_0x10ba9b['id']))==null?[]:_0x501f2d)[_0x531a67(0x2db)](_0x4de949=>_0x4de949[_0x531a67(0x1ee)]>Math['max'](0x0,_0x40ad2d-0x100))),_0x27c22a;}[_0x3401ce(0x38d)](_0x33f0cb,_0x1ed15b){const _0x5ca503=_0x3401ce;let _0x49ec03=new Map(_0x1ed15b[_0x5ca503(0x1d3)](_0x360765=>[_0x360765[_0x5ca503(0x163)],_0x360765])),_0x124b93=!0x1,_0xa6eb3=_0x33f0cb[_0x5ca503(0x1d3)](_0xd7af82=>{const _0x3905fd=_0x5ca503;let _0x168e76=_0x49ec03[_0x3905fd(0x192)](_0xd7af82[_0x3905fd(0x163)]);return _0x168e76?_0x168e76===_0xd7af82?_0xd7af82:(_0x124b93=!0x0,_0x168e76):_0xd7af82;});return _0x124b93?_0xa6eb3:_0x33f0cb;}[_0x3401ce(0x287)](_0x23378a,_0x3bcc10,_0xb286cb,_0x58209a){const _0x679363=_0x3401ce;var _0x11d75d;return!_0x58209a[_0x679363(0x310)]||_0x3bcc10===_0xb286cb?!0x1:_0xb286cb-_0x3bcc10>0x100?!0x0:((_0x11d75d=this[_0x679363(0x250)]['get'](_0x23378a))==null?[]:_0x11d75d)[_0x679363(0x341)](_0x4f6e57=>_0x4f6e57[_0x679363(0x1ee)]>_0x3bcc10&&_0x4f6e57['revision']<=_0xb286cb&&_0x58209a[_0x679363(0x356)](_0x4f6e57[_0x679363(0x409)]));}['_filterSortFieldIds'](_0x10edc6){const _0x3a1260=_0x3401ce;var _0x311942,_0x3d418c;let _0x2a240c=new Set();return _0x10edc6==null||(_0x311942=_0x10edc6[_0x3a1260(0x2db)])==null||_0x311942[_0x3a1260(0x298)][_0x3a1260(0x3f4)](_0x3171d9=>_0x2a240c[_0x3a1260(0x221)](_0x3171d9[_0x3a1260(0x409)])),_0x10edc6==null||(_0x3d418c=_0x10edc6[_0x3a1260(0x22f)])==null||_0x3d418c[_0x3a1260(0x3f4)](_0x40072d=>_0x2a240c[_0x3a1260(0x221)](_0x40072d[_0x3a1260(0x409)])),_0x2a240c;}[_0x3401ce(0x1b6)](_0x539dc8){const _0x5f213=_0x3401ce;var _0x331d97;let _0x221c04=this[_0x5f213(0x299)](_0x539dc8);return(_0x331d97=_0x539dc8['group'])==null||_0x331d97[_0x5f213(0x3f4)](_0x53513d=>_0x221c04[_0x5f213(0x221)](_0x53513d[_0x5f213(0x409)])),_0x221c04;}[_0x3401ce(0x282)](_0x68b7fb,_0x452c08,_0x308c6e){const _0x1b3237=_0x3401ce;let _0x383260=_0x452c08==null?void 0x0:_0x452c08[_0x1b3237(0x2db)];if(!(_0x383260!=null&&_0x383260[_0x1b3237(0x298)][_0x1b3237(0x2b1)]))return _0x308c6e;let _0x429c56=_0x383260[_0x1b3237(0x298)][_0x1b3237(0x2db)](_0x59c3ed=>!Nn(_0x59c3ed));return _0x429c56[_0x1b3237(0x2b1)]?_0x308c6e[_0x1b3237(0x2db)](_0x567d2c=>{const _0x5d882d=_0x1b3237;if(_0x383260[_0x5d882d(0x33b)]==='or'){for(let _0xe4b61a of _0x429c56){let _0x5e1ef0=_0x68b7fb[_0x5d882d(0x204)][_0xe4b61a[_0x5d882d(0x409)]];if(!_0x5e1ef0||_0x5e1ef0[_0x5d882d(0x219)]||this[_0x5d882d(0x3f3)]['get'](_0x5e1ef0[_0x5d882d(0x1b1)])['filter'](_0x567d2c[_0x5d882d(0x288)][_0x5e1ef0['id']],_0xe4b61a[_0x5d882d(0x3a1)],_0xe4b61a[_0x5d882d(0x398)],_0x5e1ef0))return!0x0;}return!0x1;}for(let _0x293e39 of _0x429c56){let _0x320433=_0x68b7fb[_0x5d882d(0x204)][_0x293e39[_0x5d882d(0x409)]];if(!(!_0x320433||_0x320433[_0x5d882d(0x219)])&&!this[_0x5d882d(0x3f3)]['get'](_0x320433[_0x5d882d(0x1b1)])[_0x5d882d(0x2db)](_0x567d2c[_0x5d882d(0x288)][_0x320433['id']],_0x293e39[_0x5d882d(0x3a1)],_0x293e39[_0x5d882d(0x398)],_0x320433))return!0x1;}return!0x0;}):_0x308c6e;}[_0x3401ce(0x317)](_0x3bce55,_0xd70e42,_0x4f0a0f){const _0x28f312=_0x3401ce;var _0x447acc;let _0x3b020b=(_0x447acc=_0xd70e42==null?void 0x0:_0xd70e42[_0x28f312(0x22f)])==null?[]:_0x447acc;if(!_0x3b020b[_0x28f312(0x2b1)])return _0x4f0a0f;let _0x133e76=_0x3b020b[_0x28f312(0x278)](_0x574ef7=>{const _0x543175=_0x28f312;let _0xf8062=_0x3bce55[_0x543175(0x204)][_0x574ef7[_0x543175(0x409)]];return _0xf8062&&!_0xf8062['deleted']?[{..._0x574ef7,'field':_0xf8062}]:[];});return _0x133e76[_0x28f312(0x2b1)]?this[_0x28f312(0x173)](_0x133e76)?this[_0x28f312(0x333)](_0x133e76,_0x4f0a0f):[..._0x4f0a0f]['sort']((_0x56b560,_0x100f71)=>{const _0x1e07a0=_0x28f312;for(let _0x1123a9 of _0x133e76){let _0x2f1591=_0x1123a9[_0x1e07a0(0x1a4)],_0x2a00dd=this[_0x1e07a0(0x3f3)][_0x1e07a0(0x192)](_0x2f1591[_0x1e07a0(0x1b1)])['compare'](_0x56b560['values'][_0x2f1591['id']],_0x100f71[_0x1e07a0(0x288)][_0x2f1591['id']],_0x2f1591);if(_0x2a00dd!==0x0)return _0x1123a9[_0x1e07a0(0x2cc)]==='desc'?-_0x2a00dd:_0x2a00dd;}return 0x0;}):_0x4f0a0f;}['_canUseFastSort'](_0x18648f){const _0x48c599=_0x3401ce;return _0x18648f[_0x48c599(0x27b)](_0xcba232=>on['has'](_0xcba232['field']['type']));}['_fastSortRows'](_0x18666e,_0x435065){const _0x269858=_0x3401ce;return _0x435065[_0x269858(0x1d3)]((_0x458a2f,_0x51486d)=>({'row':_0x458a2f,'index':_0x51486d,'keys':_0x18666e[_0x269858(0x1d3)](_0x50bc07=>_0x458a2f[_0x269858(0x288)][_0x50bc07[_0x269858(0x409)]])}))[_0x269858(0x22f)]((_0x448b5c,_0x31bd03)=>{const _0x1d9920=_0x269858;for(let _0x56f111=0x0;_0x56f111<_0x18666e[_0x1d9920(0x2b1)];_0x56f111++){let _0x415e5b=Mn(_0x448b5c[_0x1d9920(0x2fe)][_0x56f111],_0x31bd03['keys'][_0x56f111]);if(_0x415e5b!==0x0)return _0x18666e[_0x56f111][_0x1d9920(0x2cc)]===_0x1d9920(0x25e)?-_0x415e5b:_0x415e5b;}return _0x448b5c[_0x1d9920(0x17e)]-_0x31bd03['index'];})[_0x269858(0x1d3)](_0x485a6e=>_0x485a6e[_0x269858(0x2d5)]);}['_projectGroups'](_0x168df6,_0x474d75,_0x565607){const _0x383f98=_0x3401ce;var _0x522da1,_0x597911;return S('BaseProjection.projectGroups',()=>{const _0x5325a7=_0x4a40;var _0x5a06f4;if(!((_0x5a06f4=_0x474d75[_0x5325a7(0x403)])!=null&&_0x5a06f4[_0x5325a7(0x2b1)]))return[];let _0x4f1c14=_0x474d75[_0x5325a7(0x403)][_0x5325a7(0x2db)](_0x1f15b6=>{const _0x406e8f=_0x5325a7;let _0x2a5218=_0x168df6[_0x406e8f(0x204)][_0x1f15b6[_0x406e8f(0x409)]];return _0x2a5218&&!_0x2a5218[_0x406e8f(0x219)];});if(!_0x4f1c14['length'])return[];let _0x4a1f68=this[_0x5325a7(0x36b)](_0x168df6['id'],_0x474d75,_0x4f1c14),_0x4f0c69=this[_0x5325a7(0x26c)](_0x168df6['id']),_0x3ca8d7=this['_projectedGroupsCache'][_0x5325a7(0x192)](_0x4a1f68);if(_0x3ca8d7&&_0x3ca8d7[_0x5325a7(0x3c3)]===this['_globalRevision']&&_0x3ca8d7['tableRevision']===this[_0x5325a7(0x1b8)](_0x168df6['id'])){if(_0x3ca8d7[_0x5325a7(0x3e1)]===_0x4f0c69&&_0x3ca8d7[_0x5325a7(0x2fa)]===_0x565607)return _0x3ca8d7[_0x5325a7(0x214)];if(_0x3ca8d7['cellRevision']!==_0x4f0c69&&!this[_0x5325a7(0x287)](_0x168df6['id'],_0x3ca8d7['cellRevision'],_0x4f0c69,this[_0x5325a7(0x1b6)](_0x474d75)))return this[_0x5325a7(0x241)][_0x5325a7(0x270)](_0x4a1f68,{..._0x3ca8d7,'rows':_0x565607,'cellRevision':_0x4f0c69}),_0x3ca8d7[_0x5325a7(0x214)];}let _0x5ab948=new Map();for(let _0x1b4383 of _0x565607){let _0x5c7e41=_0x5ab948,_0x234a55='';for(let _0x4da6ff=0x0;_0x4da6ff<_0x4f1c14[_0x5325a7(0x2b1)];_0x4da6ff++){let _0x32140e=_0x4f1c14[_0x4da6ff],_0x4ff14e=_0x1b4383[_0x5325a7(0x288)][_0x32140e[_0x5325a7(0x409)]],_0x2ded3d=cn(_0x4ff14e),_0x219bd1=_0x32140e[_0x5325a7(0x409)]+'\x00'+_0x2ded3d,_0x4aecb5=_0x234a55+'/'+_0x32140e[_0x5325a7(0x409)]+':'+_0x2ded3d,_0x26d069=_0x5c7e41[_0x5325a7(0x192)](_0x219bd1);_0x26d069||(_0x26d069={'key':_0x2ded3d,'value':_0x4ff14e,'path':_0x4aecb5,'label':_0x2ded3d||_0x5325a7(0x40a),'fieldId':_0x32140e[_0x5325a7(0x409)],'level':_0x4da6ff,'recordIds':[],'children':new Map()},_0x5c7e41[_0x5325a7(0x270)](_0x219bd1,_0x26d069)),_0x26d069[_0x5325a7(0x32d)][_0x5325a7(0x2b5)](_0x1b4383[_0x5325a7(0x163)]),_0x5c7e41=_0x26d069[_0x5325a7(0x2cb)],_0x234a55=_0x4aecb5;}}let _0x5ac9fe=this[_0x5325a7(0x285)](_0x4f1c14,_0x5ab948,0x0);return this[_0x5325a7(0x241)]['set'](_0x4a1f68,{'table':_0x168df6,'rows':_0x565607,'groups':_0x5ac9fe,'globalRevision':this[_0x5325a7(0x21a)],'tableRevision':this[_0x5325a7(0x1b8)](_0x168df6['id']),'cellRevision':_0x4f0c69}),_0x5ac9fe;},{'tableId':_0x168df6['id'],'viewId':_0x474d75['id'],'viewType':_0x474d75[_0x383f98(0x1b1)],'rows':_0x565607['length'],'groupFields':(_0x522da1=(_0x597911=_0x474d75[_0x383f98(0x403)])==null?void 0x0:_0x597911[_0x383f98(0x2b1)])==null?0x0:_0x522da1});}['_materializeGroups'](_0x20af81,_0x3fbaa9,_0x3404f3){const _0x24505f=_0x3401ce;var _0x4aa89a;let _0x53a5c4=Array[_0x24505f(0x33e)](_0x3fbaa9[_0x24505f(0x288)]()),_0x334991=(_0x4aa89a=_0x20af81[_0x3404f3])==null?void 0x0:_0x4aa89a[_0x24505f(0x2cc)];return _0x334991&&_0x53a5c4['sort']((_0x2b4f43,_0xc0a644)=>{const _0x592d67=_0x24505f;let _0x26d9aa=_0x2b4f43[_0x592d67(0x240)][_0x592d67(0x16a)](_0xc0a644[_0x592d67(0x240)]);return _0x334991==='desc'?-_0x26d9aa:_0x26d9aa;}),_0x53a5c4['map'](_0x292866=>({'key':_0x292866['key'],'value':_0x292866[_0x24505f(0x30a)],'path':_0x292866[_0x24505f(0x2b3)],'label':_0x292866[_0x24505f(0x15c)],'fieldId':_0x292866[_0x24505f(0x409)],'level':_0x292866[_0x24505f(0x2df)],'recordIds':_0x292866[_0x24505f(0x32d)],'children':this[_0x24505f(0x285)](_0x20af81,_0x292866[_0x24505f(0x2cb)],_0x3404f3+0x1)}));}[_0x3401ce(0x369)](_0x12fec6,_0xa81a90,_0x25a706){const _0x4bc252=_0x3401ce;let _0x249263=_0x25a706==null?_0x12fec6[_0x4bc252(0x346)]:_0x25a706,_0x42fea5=_0xa81a90['values'][_0x249263];return _0x42fea5==null?'':String(_0x42fea5);}[_0x3401ce(0x227)](_0x4fd15c){const _0x2a3a3c=_0x3401ce;if(Array[_0x2a3a3c(0x23e)](_0x4fd15c))return _0x4fd15c[_0x2a3a3c(0x1d3)](String);if(typeof _0x4fd15c=='string'&&_0x4fd15c)return[_0x4fd15c];}[_0x3401ce(0x324)](_0x586599){const _0xa88739=_0x3401ce;return this[_0xa88739(0x3f3)][_0xa88739(0x192)](_0x586599[_0xa88739(0x1b1)])[_0xa88739(0x237)](_0x586599);}};sn=U([H(0x0,_0x501764(z))],sn);function cn(_0x339650){return _0x339650==null?'':String(_0x339650);}function ln(_0x949e88){const _0x369b42=_0x3401ce;return new Map(_0x949e88[_0x369b42(0x1d3)]((_0x161b68,_0x374c81)=>[_0x161b68[_0x369b42(0x163)],_0x374c81]));}function un(_0x269cfd){const _0xd5ea4d=_0x3401ce;return!!(Array['isArray'](_0x269cfd['recordOrder'])&&_0x269cfd[_0xd5ea4d(0x1dd)]&&_0x269cfd[_0xd5ea4d(0x21e)]&&_0x269cfd[_0xd5ea4d(0x3e6)]&&_0x269cfd[_0xd5ea4d(0x359)]&&_0x269cfd[_0xd5ea4d(0x29d)]);}function dn(_0x2a3be3){const _0x32f1fb=_0x3401ce;return _0x2a3be3!=null&&_0x2a3be3[_0x32f1fb(0x298)][_0x32f1fb(0x2b1)]?{'conjunction':_0x2a3be3[_0x32f1fb(0x33b)],'conditions':_0x2a3be3[_0x32f1fb(0x298)][_0x32f1fb(0x1d3)](_0x5d931b=>({'fieldId':_0x5d931b['fieldId'],'operator':_0x5d931b[_0x32f1fb(0x3a1)],'operand':_0x5d931b['operand']}))}:null;}function fn(_0x188b37){const _0x1c1961=_0x3401ce;return _0x188b37!=null&&_0x188b37[_0x1c1961(0x2b1)]?_0x188b37[_0x1c1961(0x1d3)](_0xad16d9=>({'fieldId':_0xad16d9['fieldId'],'direction':_0xad16d9[_0x1c1961(0x2cc)]})):null;}function pn(_0x50031d){const _0x1d1b50=_0x3401ce;if(typeof _0x50031d!=_0x1d1b50(0x331)||!_0x50031d){var _0x2d19b0;return(_0x2d19b0=JSON[_0x1d1b50(0x2e9)](_0x50031d))==null?'undefined':_0x2d19b0;}if(Array['isArray'](_0x50031d))return'['+_0x50031d[_0x1d1b50(0x1d3)](pn)[_0x1d1b50(0x1dc)](',')+']';let _0x11e144=_0x50031d;return'{'+Object[_0x1d1b50(0x2fe)](_0x11e144)[_0x1d1b50(0x22f)]()[_0x1d1b50(0x1d3)](_0xce1b95=>JSON['stringify'](_0xce1b95)+':'+pn(_0x11e144[_0xce1b95]))[_0x1d1b50(0x1dc)](',')+'}';}const G=0x5a0*0x3c*0x3e8;function mn(_0x468f08){const _0x2ab3b0=_0x3401ce;return{'weekdays':Array['isArray'](_0x468f08==null?void 0x0:_0x468f08[_0x2ab3b0(0x301)])&&_0x468f08[_0x2ab3b0(0x301)][_0x2ab3b0(0x2b1)]?[...new Set(_0x468f08[_0x2ab3b0(0x301)][_0x2ab3b0(0x2db)](_0x325e88=>Number[_0x2ab3b0(0x20c)](_0x325e88)&&_0x325e88>=0x1&&_0x325e88<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2ab3b0(0x23e)](_0x468f08==null?void 0x0:_0x468f08[_0x2ab3b0(0x312)])?_0x468f08[_0x2ab3b0(0x312)][_0x2ab3b0(0x278)](_0x37f100=>!_0x37f100||!Number[_0x2ab3b0(0x2fd)](_0x37f100[_0x2ab3b0(0x177)])?[]:[{'id':String(_0x37f100['id']||_0x2ab3b0(0x1bd)+_0x37f100['date']),'date':K(Number(_0x37f100['date'])),'name':String(_0x37f100[_0x2ab3b0(0x1fe)]||_0x2ab3b0(0x3e4)),'type':_0x37f100[_0x2ab3b0(0x1b1)]==='working'?_0x2ab3b0(0x2a2):_0x2ab3b0(0x308)}]):[]};}function hn(_0x59d344,_0x196e89,_0x334e75,_0x3f4607){let _0x529ea3=yn(_0x59d344,_0x196e89),_0x4c8186=bn(_0x59d344,_0x334e75),_0x5243c6=gn(_0x59d344,_0x529ea3,_0x4c8186,_0x3f4607);return{'scale':_0x59d344,'start':_0x529ea3,'end':_0x4c8186,'unitWidth':vn(_0x59d344),'majorHeaders':_n(_0x59d344,_0x529ea3,_0x4c8186),'columns':_0x5243c6};}function gn(_0x294af5,_0x48ab7a,_0x93f7df,_0x32115a){const _0x585ff2=_0x3401ce;let _0x4b58d4=[],_0x1d8f9c=_0x48ab7a;for(;_0x1d8f9c<_0x93f7df;){let _0x514255=_0x294af5===_0x585ff2(0x16d)?q(_0x1d8f9c,0x7):_0x294af5===_0x585ff2(0x28d)?kn(_0x1d8f9c,0x1):q(_0x1d8f9c,0x1);_0x4b58d4[_0x585ff2(0x2b5)]({'id':_0x294af5+'-'+_0x1d8f9c,'label':xn(_0x294af5,_0x1d8f9c,_0x514255),'majorLabel':Sn(_0x294af5,_0x1d8f9c),'start':_0x1d8f9c,'end':_0x514255,'nonWorking':wn(_0x1d8f9c,_0x514255,_0x32115a)}),_0x1d8f9c=_0x514255;}return _0x4b58d4;}function _n(_0xa46b4d,_0x142c8f,_0x16b5f2){const _0x569b26=_0x3401ce;let _0x4230e6=[],_0x3a4911=_0xa46b4d===_0x569b26(0x28d)?On(_0x142c8f):Dn(_0x142c8f);for(;_0x3a4911<_0x16b5f2;){let _0x4fb6c5=_0xa46b4d===_0x569b26(0x28d)?An(_0x3a4911,0x1):kn(_0x3a4911,0x1);_0x4230e6[_0x569b26(0x2b5)]({'id':_0x569b26(0x39b)+_0x3a4911,'label':_0xa46b4d==='year'?String(new Date(_0x3a4911)[_0x569b26(0x2d0)]()):jn(_0x3a4911),'start':_0x3a4911,'end':_0x4fb6c5}),_0x3a4911=_0x4fb6c5;}return _0x4230e6;}function vn(_0x2c22ce){const _0xff014d=_0x3401ce;switch(_0x2c22ce){case'week':return 0xac;case _0xff014d(0x16d):return 0xac;case'year':return 0x88;default:return 0x56;}}function yn(_0x4ff30c,_0x35f5ec){return _0x4ff30c==='year'?On(_0x35f5ec):_0x4ff30c==='quarter'?En(_0x35f5ec):K(_0x35f5ec);}function bn(_0x4c1467,_0x51c5b9){const _0x36cc55=_0x3401ce;return _0x4c1467===_0x36cc55(0x28d)?An(On(_0x51c5b9),0x1):_0x4c1467===_0x36cc55(0x16d)?q(En(_0x51c5b9),0x7):q(K(_0x51c5b9),0x1);}function xn(_0x2d2e2d,_0x4e1b3d,_0x3d47d6){const _0x38220c=_0x3401ce;let _0x219ce1=new Date(_0x4e1b3d);return _0x2d2e2d==='quarter'?_0x219ce1['getUTCDate']()+'-'+new Date(_0x3d47d6-G)[_0x38220c(0x277)]():_0x2d2e2d===_0x38220c(0x28d)?_0x219ce1[_0x38220c(0x35e)](_0x38220c(0x377),{'month':_0x38220c(0x29b),'timeZone':'UTC'}):String(_0x219ce1[_0x38220c(0x277)]());}function Sn(_0x5c75b9,_0x5f8d33){const _0x2adde4=_0x3401ce;return _0x5c75b9===_0x2adde4(0x28d)?String(new Date(_0x5f8d33)['getUTCFullYear']()):jn(_0x5f8d33);}function Cn(_0x3702ae,_0x56524d,_0x321cc0){let _0x5eeb77=mn(_0x321cc0),_0x5a845a=0x0;for(let _0x2be951=K(_0x3702ae);_0x2be951<=K(_0x56524d);_0x2be951=q(_0x2be951,0x1))Tn(_0x2be951,_0x5eeb77)||_0x5a845a++;return _0x5a845a;}function wn(_0x24d40a,_0x204137,_0x46bb56){if(!_0x46bb56)return!0x1;let _0x3aeabc=mn(_0x46bb56);for(let _0x79eab4=K(_0x24d40a);_0x79eab4<_0x204137;_0x79eab4=q(_0x79eab4,0x1))if(!Tn(_0x79eab4,_0x3aeabc))return!0x1;return!0x0;}function Tn(_0x4888ea,_0x213593){const _0x52fc8b=_0x3401ce;let _0x594259=K(_0x4888ea),_0x1fac72=_0x213593[_0x52fc8b(0x312)][_0x52fc8b(0x387)](_0x26dbbf=>K(_0x26dbbf['date'])===_0x594259);if(_0x1fac72)return _0x1fac72[_0x52fc8b(0x1b1)]===_0x52fc8b(0x308);let _0x3ef6da=new Date(_0x594259)[_0x52fc8b(0x329)](),_0xeca125=_0x3ef6da===0x0?0x7:_0x3ef6da;return!_0x213593['weekdays'][_0x52fc8b(0x37e)](_0xeca125);}function K(_0x9a6306){const _0x54b704=_0x3401ce;let _0x594dd5=new Date(_0x9a6306);return Date[_0x54b704(0x3b6)](_0x594dd5[_0x54b704(0x2d0)](),_0x594dd5[_0x54b704(0x21c)](),_0x594dd5[_0x54b704(0x277)]());}function En(_0x4dd674){const _0x1fefdf=_0x3401ce;let _0x23d13b=K(_0x4dd674),_0xb310f6=new Date(_0x23d13b)[_0x1fefdf(0x329)]();return q(_0x23d13b,-(_0xb310f6===0x0?0x6:_0xb310f6-0x1));}function Dn(_0xbc4ecc){const _0x128cbb=_0x3401ce;let _0x18fa4f=new Date(_0xbc4ecc);return Date[_0x128cbb(0x3b6)](_0x18fa4f['getUTCFullYear'](),_0x18fa4f[_0x128cbb(0x21c)](),0x1);}function On(_0x1df41e){const _0x238d9b=_0x3401ce;let _0x104951=new Date(_0x1df41e);return Date[_0x238d9b(0x3b6)](_0x104951['getUTCFullYear'](),0x0,0x1);}function q(_0x239832,_0x1261b3){return _0x239832+_0x1261b3*G;}function kn(_0x38e858,_0xbe32f7){const _0x1192a8=_0x3401ce;let _0x15b639=new Date(_0x38e858);return Date[_0x1192a8(0x3b6)](_0x15b639[_0x1192a8(0x2d0)](),_0x15b639[_0x1192a8(0x21c)]()+_0xbe32f7,0x1);}function An(_0x1a81a0,_0x7adae7){let _0x53f5b=new Date(_0x1a81a0);return Date['UTC'](_0x53f5b['getUTCFullYear']()+_0x7adae7,0x0,0x1);}function jn(_0x41581f){const _0x536849=_0x3401ce;let _0x3831d5=new Date(_0x41581f);return _0x3831d5[_0x536849(0x35e)](_0x536849(0x377),{'month':_0x536849(0x29b),'timeZone':_0x536849(0x3b6)})+'\x20'+_0x3831d5['getUTCFullYear']();}function Mn(_0x5e1d20,_0x4ccdc0){const _0x4879c0=_0x3401ce;if(_0x5e1d20==null&&_0x4ccdc0==null)return 0x0;if(_0x5e1d20==null)return-0x1;if(_0x4ccdc0==null)return 0x1;if(typeof _0x5e1d20==_0x4879c0(0x2b2)||typeof _0x4ccdc0=='boolean')return Number(_0x5e1d20===!0x0)-Number(_0x4ccdc0===!0x0);let _0x3e6b27=Number(_0x5e1d20),_0x55c0e9=Number(_0x4ccdc0),_0x30ede4=Number[_0x4879c0(0x2fd)](_0x3e6b27),_0x5122a6=Number['isFinite'](_0x55c0e9);return _0x30ede4&&_0x5122a6?_0x3e6b27-_0x55c0e9:_0x30ede4?0x1:_0x5122a6?-0x1:String(_0x5e1d20)[_0x4879c0(0x16a)](String(_0x4ccdc0));}function Nn(_0x35727c){const _0x56b840=_0x3401ce;if(_0x35727c['operator']!=='is'&&_0x35727c[_0x56b840(0x3a1)]!==_0x56b840(0x2e6))return!0x1;let _0x58fd66=_0x35727c[_0x56b840(0x398)];return _0x58fd66==null?!0x0:typeof _0x58fd66==_0x56b840(0x3f7)?_0x58fd66[_0x56b840(0x297)]()==='':Array['isArray'](_0x58fd66)?_0x58fd66[_0x56b840(0x2b1)]===0x0:!0x1;}function J(_0x5036e6,_0x4a574b){const _0x56595d=_0x3401ce;var _0x4cd61f;let _0x36ad65=Array[_0x56595d(0x23e)]((_0x4cd61f=_0x5036e6[_0x56595d(0x3cb)])==null?void 0x0:_0x4cd61f['options'])?_0x5036e6['config'][_0x56595d(0x29e)]:[];for(let _0xe6d069 of _0x36ad65){var _0x1d39f0,_0xbf1038,_0x2ebb1f,_0x381ad8;if(_0xe6d069==null)continue;if(typeof _0xe6d069==_0x56595d(0x3f7)){if(_0xe6d069===_0x4a574b)return{'id':_0xe6d069,'name':_0xe6d069};continue;}let _0x274451=_0xe6d069,_0x703a67=String((_0x1d39f0=(_0xbf1038=_0x274451['id'])==null?_0x274451[_0x56595d(0x1fe)]:_0xbf1038)==null?'':_0x1d39f0),_0x3533a4=String((_0x2ebb1f=(_0x381ad8=_0x274451[_0x56595d(0x1fe)])==null?_0x274451['id']:_0x381ad8)==null?_0x703a67:_0x2ebb1f);if(_0x703a67===_0x4a574b||_0x3533a4===_0x4a574b)return{'id':_0x703a67,'name':_0x3533a4,'color':_0x274451[_0x56595d(0x257)]==null?void 0x0:String(_0x274451['color'])};}return null;}const Y={'id':_0x3401ce(0x2f4),'type':_0x33ec1c['MUTATION'],'handler'(_0x4c16ef,_0x408647){const _0x50535d=_0x3401ce;let {unitId:_0x4e4261,op:_0x4b309b}=_0x408647,_0x32d999=_0x4c16ef[_0x50535d(0x192)](_0x594baa)['getUnit'](_0x4e4261,_0x28d586['UNIVER_BASE']);if(!_0x32d999)return!0x1;let _0x3bb81c=_0x32d999[_0x50535d(0x327)](),_0x5e6aea=new D(),_0x1e4b2e=_0x5e6aea[_0x50535d(0x19a)](_0x4b309b),_0x260338=_0x5e6aea['applyOp'](_0x3bb81c,_0x4b309b);return _0x32d999[_0x50535d(0x1c3)](_0x260338),Pn(_0x260338,_0x1e4b2e,_0x4c16ef[_0x50535d(0x192)](an)),!0x0;}};function Pn(_0x373574,_0x26ea66,_0x565532){const _0xbc4878=_0x3401ce;let _0x2fc223=new Set();for(let _0x5a665a of _0x26ea66){if(_0x5a665a[_0xbc4878(0x35d)]!==_0xbc4878(0x3ad)){_0x565532[_0xbc4878(0x31d)]();return;}let _0xa466c5=Fn(_0x373574,_0x5a665a);if(!_0xa466c5){_0x565532['invalidateByOp']();return;}let _0x4641d3=_0xa466c5['tableId']+'\x00'+_0xa466c5[_0xbc4878(0x163)]+'\x00'+_0xa466c5[_0xbc4878(0x409)];_0x2fc223[_0xbc4878(0x356)](_0x4641d3)||(_0x2fc223[_0xbc4878(0x221)](_0x4641d3),_0x565532[_0xbc4878(0x162)](_0xa466c5[_0xbc4878(0x18a)],_0xa466c5[_0xbc4878(0x163)],_0xa466c5[_0xbc4878(0x409)]));}}function Fn(_0x20fff8,_0x53e8f2){const _0x8943d5=_0x3401ce;var _0x332c1c,_0x13587f;if(!_0x53e8f2[_0x8943d5(0x18a)])return null;if(_0x53e8f2[_0x8943d5(0x163)]&&_0x53e8f2[_0x8943d5(0x409)])return{'tableId':_0x53e8f2['tableId'],'recordId':_0x53e8f2[_0x8943d5(0x163)],'fieldId':_0x53e8f2[_0x8943d5(0x409)]};if(_0x53e8f2['row']==null||_0x53e8f2['column']==null)return null;let _0x5dcb31=_0x20fff8[_0x8943d5(0x391)][_0x53e8f2['tableId']],_0x488634=_0x5dcb31==null||(_0x332c1c=_0x5dcb31[_0x8943d5(0x21e)])==null?void 0x0:_0x332c1c[_0x53e8f2[_0x8943d5(0x2d5)]],_0xcc24fa=_0x5dcb31==null||(_0x13587f=_0x5dcb31[_0x8943d5(0x359)])==null?void 0x0:_0x13587f[_0x53e8f2[_0x8943d5(0x311)]];return!_0x488634||!_0xcc24fa?null:{'tableId':_0x53e8f2[_0x8943d5(0x18a)],'recordId':_0x488634,'fieldId':_0xcc24fa};}const In={'id':'base.command.batch-create-base-records','type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x4f24ab,_0x1318e7){const _0x2fd209=_0x3401ce;if(!_0x1318e7)return!0x1;let _0x580cf4=_0x4f24ab['get'](_0x594baa),{unitId:_0x35f5b1,tableId:_0xfac1f9,records:_0x3d837f}=_0x1318e7,_0x133bb4=_0x580cf4[_0x2fd209(0x399)](_0x35f5b1,_0x28d586['UNIVER_BASE']);if(!_0x133bb4)return!0x1;let _0x68acf0=_0x4f24ab[_0x2fd209(0x192)](_0x27a4ab),_0x112103=_0x4f24ab['get'](_0x595044),_0x18c867=_0x4f24ab['get'](W)[_0x2fd209(0x2c7)](_0x133bb4,_0xfac1f9,_0x3d837f),_0x3df985=new D()[_0x2fd209(0x3ee)](_0x133bb4[_0x2fd209(0x327)](),_0x18c867),_0xc14b84={'unitId':_0x35f5b1,'op':_0x18c867},_0x52f54a={'unitId':_0x35f5b1,'op':_0x3df985};return _0x68acf0[_0x2fd209(0x1e9)](Y['id'],_0xc14b84)?(_0x580cf4['focusUnit'](_0x35f5b1),_0x112103[_0x2fd209(0x23f)]({'unitID':_0x35f5b1,'undoMutations':[{'id':Y['id'],'params':_0x52f54a}],'redoMutations':[{'id':Y['id'],'params':_0xc14b84}]}),!0x0):!0x1;}},Ln={'id':_0x3401ce(0x372),'type':_0x33ec1c['COMMAND'],'handler':(_0x529109,_0x12aa75)=>{const _0x12f6c9=_0x3401ce;if(!_0x12aa75)return!0x1;let _0x30d6a4=_0x529109[_0x12f6c9(0x192)](_0x594baa),{unitId:_0x49ddde,tableId:_0x187d61,recordIds:_0x8ad109}=_0x12aa75,_0x5bb11f=_0x30d6a4[_0x12f6c9(0x399)](_0x49ddde,_0x28d586[_0x12f6c9(0x3ec)]);if(!_0x5bb11f)return!0x1;let _0x2698b8=_0x529109[_0x12f6c9(0x192)](_0x27a4ab),_0x35b110=_0x529109[_0x12f6c9(0x192)](_0x595044),_0x3bee83=_0x5bb11f[_0x12f6c9(0x327)](),_0x1c97e5=new I()[_0x12f6c9(0x3b9)](_0x3bee83,_0x187d61,_0x8ad109),_0x4d7a09=new D()[_0x12f6c9(0x3ee)](_0x3bee83,_0x1c97e5),_0x505de6={'unitId':_0x49ddde,'op':_0x1c97e5},_0x3f4937={'unitId':_0x49ddde,'op':_0x4d7a09};return _0x2698b8[_0x12f6c9(0x1e9)](Y['id'],_0x505de6)?(_0x30d6a4[_0x12f6c9(0x2e8)](_0x49ddde),_0x35b110[_0x12f6c9(0x23f)]({'unitID':_0x49ddde,'undoMutations':[{'id':Y['id'],'params':_0x3f4937}],'redoMutations':[{'id':Y['id'],'params':_0x505de6}]}),!0x0):!0x1;}},Rn={'id':_0x3401ce(0x332),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2fc8d0,_0x2c3612)=>{const _0x39f531=_0x3401ce;if(!_0x2c3612)return!0x1;let _0x4c8104=_0x2fc8d0[_0x39f531(0x192)](_0x594baa),{unitId:_0x22611c,tableId:_0x1726a6,fieldId:_0x157e20,input:_0x1f776b}=_0x2c3612,_0x46b917=_0x4c8104[_0x39f531(0x399)](_0x22611c,_0x28d586[_0x39f531(0x3ec)]);if(!_0x46b917)return!0x1;let _0x5dc727=_0x2fc8d0[_0x39f531(0x192)](_0x27a4ab),_0x4d328e=_0x2fc8d0[_0x39f531(0x192)](_0x595044),_0x12836a=_0x46b917[_0x39f531(0x327)](),_0x3ca37d=new I()[_0x39f531(0x193)](_0x12836a,_0x1726a6,_0x157e20,_0x1f776b),_0x37b413=new D()[_0x39f531(0x3ee)](_0x12836a,_0x3ca37d),_0x56fd64={'unitId':_0x22611c,'op':_0x3ca37d},_0x1d29b4={'unitId':_0x22611c,'op':_0x37b413};return _0x5dc727[_0x39f531(0x1e9)](Y['id'],_0x56fd64)?(_0x4c8104['focusUnit'](_0x22611c),_0x4d328e[_0x39f531(0x23f)]({'unitID':_0x22611c,'undoMutations':[{'id':Y['id'],'params':_0x1d29b4}],'redoMutations':[{'id':Y['id'],'params':_0x56fd64}]}),!0x0):!0x1;}},zn={'id':_0x3401ce(0x1c2),'type':_0x33ec1c['COMMAND'],'handler'(_0x411cce,_0x11bf8c){const _0x32b28f=_0x3401ce;if(!_0x11bf8c)return!0x1;let _0x2b58b5=_0x411cce['get'](_0x594baa),{unitId:_0x2645f6,tableId:_0x4699b7,field:_0x4232f1,index:_0x2d5521,viewIndexes:_0xb5724e}=_0x11bf8c,_0x58fb9d=_0x2b58b5[_0x32b28f(0x399)](_0x2645f6,_0x28d586['UNIVER_BASE']);if(!_0x58fb9d)return!0x1;let _0x53e143=_0x411cce['get'](_0x27a4ab),_0x569500=_0x411cce[_0x32b28f(0x192)](_0x595044),_0x4a84b2=_0x411cce['get'](W)['createCreateFieldOp'](_0x58fb9d,_0x4699b7,_0x4232f1,_0x2d5521,_0xb5724e),_0x200b5b=new D()[_0x32b28f(0x3ee)](_0x58fb9d[_0x32b28f(0x327)](),_0x4a84b2),_0x2c10e7={'unitId':_0x2645f6,'op':_0x4a84b2},_0x25d1d1={'unitId':_0x2645f6,'op':_0x200b5b};return _0x53e143[_0x32b28f(0x1e9)](Y['id'],_0x2c10e7)?(_0x2b58b5['focusUnit'](_0x2645f6),_0x569500[_0x32b28f(0x23f)]({'unitID':_0x2645f6,'undoMutations':[{'id':Y['id'],'params':_0x25d1d1}],'redoMutations':[{'id':Y['id'],'params':_0x2c10e7}]}),!0x0):!0x1;}},Bn={'id':_0x3401ce(0x31a),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x4a81df,_0x5d84fe){const _0x16dff6=_0x3401ce;if(!_0x5d84fe)return!0x1;let _0xa100e6=_0x4a81df[_0x16dff6(0x192)](_0x594baa),{unitId:_0x3cab8c,tableId:_0x4dc754,record:_0x5c877e}=_0x5d84fe,_0x271e80=_0xa100e6[_0x16dff6(0x399)](_0x3cab8c,_0x28d586[_0x16dff6(0x3ec)]);if(!_0x271e80)return!0x1;let _0x5183fa=_0x4a81df[_0x16dff6(0x192)](_0x27a4ab),_0x2f035c=_0x4a81df[_0x16dff6(0x192)](_0x595044),_0x469b9c=_0x4a81df[_0x16dff6(0x192)](W)[_0x16dff6(0x195)](_0x271e80,_0x4dc754,_0x5c877e),_0x45654=new D()['invertOp'](_0x271e80[_0x16dff6(0x327)](),_0x469b9c),_0x2cfe03={'unitId':_0x3cab8c,'op':_0x469b9c},_0xde2ef9={'unitId':_0x3cab8c,'op':_0x45654};return _0x5183fa[_0x16dff6(0x1e9)](Y['id'],_0x2cfe03)?(_0xa100e6['focusUnit'](_0x3cab8c),_0x2f035c[_0x16dff6(0x23f)]({'unitID':_0x3cab8c,'undoMutations':[{'id':Y['id'],'params':_0xde2ef9}],'redoMutations':[{'id':Y['id'],'params':_0x2cfe03}]}),!0x0):!0x1;}},Vn={'id':_0x3401ce(0x30c),'type':_0x33ec1c['COMMAND'],'handler':(_0x3a4a09,_0x30fb37)=>{const _0x35c9a3=_0x3401ce;if(!_0x30fb37)return!0x1;let _0x49715c=_0x3a4a09[_0x35c9a3(0x192)](_0x594baa),{unitId:_0x4e1c6e,table:_0x2dca67,index:_0x50d216}=_0x30fb37,_0x4f9ca=_0x49715c['getUnit'](_0x4e1c6e,_0x28d586['UNIVER_BASE']);if(!_0x4f9ca)return!0x1;let _0x579222=_0x3a4a09[_0x35c9a3(0x192)](_0x27a4ab),_0xd95929=_0x3a4a09[_0x35c9a3(0x192)](_0x595044),_0x18584f=_0x4f9ca[_0x35c9a3(0x327)](),_0x2c9c5c=new I()[_0x35c9a3(0x3a2)](_0x18584f,_0x2dca67,_0x50d216),_0x332613=new D()[_0x35c9a3(0x3ee)](_0x18584f,_0x2c9c5c),_0x310ae2={'unitId':_0x4e1c6e,'op':_0x2c9c5c},_0x2fd896={'unitId':_0x4e1c6e,'op':_0x332613};return _0x579222[_0x35c9a3(0x1e9)](Y['id'],_0x310ae2)?(_0x49715c['focusUnit'](_0x4e1c6e),_0xd95929[_0x35c9a3(0x23f)]({'unitID':_0x4e1c6e,'undoMutations':[{'id':Y['id'],'params':_0x2fd896}],'redoMutations':[{'id':Y['id'],'params':_0x310ae2}]}),!0x0):!0x1;}};function Hn(_0x407cc1,_0x2a0044,_0x9b75b5=[]){const _0x360527=_0x3401ce;let _0x37e5cd=new Set([...Object[_0x360527(0x288)](_0x407cc1[_0x360527(0x204)])[_0x360527(0x2db)](_0x2c5982=>_0x2c5982&&!_0x2c5982['deleted'])[_0x360527(0x1d3)](_0x447379=>_0x447379[_0x360527(0x1fe)]),..._0x9b75b5[_0x360527(0x1d3)](_0x478c56=>_0x478c56[_0x360527(0x1fe)])]);if(!_0x37e5cd[_0x360527(0x356)](_0x2a0044))return _0x2a0044;let _0x38d1d8=0x2;for(;_0x37e5cd[_0x360527(0x356)](_0x2a0044+'\x20'+_0x38d1d8);)_0x38d1d8++;return _0x2a0044+'\x20'+_0x38d1d8;}function Un(_0xf4c527,_0x19973c){const _0x5ed214=_0x3401ce;if(!_0xf4c527||!_0x19973c['length'])return;let _0x23398e=[..._0xf4c527];return _0x19973c[_0x5ed214(0x3f4)](_0x59347e=>{const _0x30a7b7=_0x5ed214;_0x23398e[_0x30a7b7(0x37e)](_0x59347e)||_0x23398e[_0x30a7b7(0x2b5)](_0x59347e);}),_0x23398e;}const Wn={'options':[{'id':_0x3401ce(0x351),'name':_0x3401ce(0x316),'color':'#BFDBFE'},{'id':_0x3401ce(0x1c6),'name':_0x3401ce(0x289),'color':_0x3401ce(0x274)},{'id':_0x3401ce(0x22c),'name':_0x3401ce(0x39f),'color':_0x3401ce(0x235)}]},Gn={'locale':'en-US','pattern':_0x3401ce(0x3bf),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x3401ce(0x17b)};function Kn(_0x4fcb23,_0x1fd973,_0x24f376,_0x193023){const _0x5b2743=_0x3401ce;var _0x5c609d;let _0x4973a2=new I(),_0x5d61fe=_0x4fcb23[_0x5b2743(0x391)][_0x1fd973];if(_0x5d61fe&&_0x24f376[_0x5b2743(0x1b1)]===_0x5b2743(0x230)){var _0x12c980;let _0x317ce4=Jn(_0x5d61fe,_0x24f376),_0x2956d9=_0x317ce4[_0x5b2743(0x27a)]?{..._0x24f376,'config':_0x317ce4['config'],'fieldOrder':(_0x12c980=_0x317ce4[_0x5b2743(0x264)])==null?_0x24f376[_0x5b2743(0x264)]:_0x12c980}:_0x24f376;return F([..._0x317ce4[_0x5b2743(0x204)][_0x5b2743(0x1d3)](_0x3e3a62=>_0x4973a2['createField'](_0x4fcb23,_0x1fd973,{'field':_0x3e3a62})),_0x4973a2[_0x5b2743(0x397)](_0x4fcb23,_0x1fd973,_0x2956d9,_0x193023)]);}if(!_0x5d61fe||_0x24f376[_0x5b2743(0x1b1)]!=='calendar'&&_0x24f376[_0x5b2743(0x1b1)]!==_0x5b2743(0x34e))return _0x4973a2['createView'](_0x4fcb23,_0x1fd973,_0x24f376,_0x193023);let _0x79a8c4=qn(_0x5d61fe,_0x24f376),_0x3ba4e0=_0x79a8c4[_0x5b2743(0x27a)]?{..._0x24f376,'config':_0x79a8c4[_0x5b2743(0x3cb)],'fieldOrder':(_0x5c609d=_0x79a8c4[_0x5b2743(0x264)])==null?_0x24f376[_0x5b2743(0x264)]:_0x5c609d}:_0x24f376;return _0x24f376[_0x5b2743(0x1b1)]===_0x5b2743(0x34e)&&Zn(_0x24f376)&&(_0x3ba4e0=Qn(_0x5d61fe,_0x3ba4e0,_0x79a8c4[_0x5b2743(0x204)])),F([..._0x79a8c4[_0x5b2743(0x204)][_0x5b2743(0x1d3)](_0x2c8ca9=>_0x4973a2[_0x5b2743(0x179)](_0x4fcb23,_0x1fd973,{'field':_0x2c8ca9})),_0x4973a2[_0x5b2743(0x397)](_0x4fcb23,_0x1fd973,_0x3ba4e0,_0x193023)]);}function qn(_0x34b06c,_0x30cdb8,_0x3b88af=!0x1){const _0x4ed61a=_0x3401ce;var _0x58b611,_0x268caa,_0x266837,_0x879eb3;let _0x401e99=_0x34b06c[_0x4ed61a(0x264)][_0x4ed61a(0x2db)](_0x5365d2=>er(_0x34b06c,_0x5365d2)),_0x3ed6cc=[],_0x46a1db={...(_0x58b611=_0x30cdb8[_0x4ed61a(0x3cb)])==null?{}:_0x58b611},_0x3e1bb7=typeof _0x46a1db[_0x4ed61a(0x251)]=='string'&&er(_0x34b06c,_0x46a1db[_0x4ed61a(0x251)])?_0x46a1db[_0x4ed61a(0x251)]:_0x401e99[0x0],_0x187e11=typeof _0x46a1db[_0x4ed61a(0x21f)]=='string'&&er(_0x34b06c,_0x46a1db[_0x4ed61a(0x21f)])&&_0x46a1db[_0x4ed61a(0x21f)]!==_0x3e1bb7?_0x46a1db[_0x4ed61a(0x21f)]:_0x401e99[_0x4ed61a(0x387)](_0x46da09=>_0x46da09!==_0x3e1bb7);if(!_0x3e1bb7){let _0x246b12=tr(_0x34b06c,_0x3ed6cc,_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x34e)?_0x4ed61a(0x36e):_0x4ed61a(0x24e));_0x3ed6cc[_0x4ed61a(0x2b5)](_0x246b12),_0x3e1bb7=_0x246b12['id'];}if((_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x34e)||_0x3b88af)&&!_0x187e11){let _0x1ee59b=tr(_0x34b06c,_0x3ed6cc,_0x4ed61a(0x22a));_0x3ed6cc[_0x4ed61a(0x2b5)](_0x1ee59b),_0x187e11=_0x1ee59b['id'];}if(_0x30cdb8['type']===_0x4ed61a(0x281)&&!_0x187e11&&delete _0x46a1db[_0x4ed61a(0x21f)],_0x46a1db['startDateFieldId']=_0x3e1bb7,_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x281)&&_0x187e11&&(_0x46a1db[_0x4ed61a(0x21f)]=_0x187e11),_0x30cdb8['type']===_0x4ed61a(0x34e)){var _0x4db9df;_0x46a1db[_0x4ed61a(0x21f)]=(_0x4db9df=_0x187e11)==null?_0x3e1bb7:_0x4db9df;}let _0x5ec8fe=Un(_0x30cdb8[_0x4ed61a(0x264)],_0x3ed6cc[_0x4ed61a(0x1d3)](_0xbec9fc=>_0xbec9fc['id']));return{'changed':_0x3ed6cc[_0x4ed61a(0x2b1)]>0x0||_0x46a1db[_0x4ed61a(0x251)]!==((_0x268caa=_0x30cdb8[_0x4ed61a(0x3cb)])==null?void 0x0:_0x268caa['startDateFieldId'])||_0x46a1db[_0x4ed61a(0x21f)]!==((_0x266837=_0x30cdb8[_0x4ed61a(0x3cb)])==null?void 0x0:_0x266837['endDateFieldId'])||!!(_0x5ec8fe&&!_0x2c5b3b[_0x4ed61a(0x2ad)](_0x5ec8fe,(_0x879eb3=_0x30cdb8[_0x4ed61a(0x264)])==null?[]:_0x879eb3)),'fields':_0x3ed6cc,'config':_0x46a1db,'fieldOrder':_0x5ec8fe};}function Jn(_0x1551ec,_0x24c8c5){const _0x53fe7b=_0x3401ce;var _0x138d9f,_0x2a55fd,_0x68fd84;let _0x59bccc=[],_0x1f9637={...(_0x138d9f=_0x24c8c5[_0x53fe7b(0x3cb)])==null?{}:_0x138d9f},_0xcf67b6=typeof _0x1f9637[_0x53fe7b(0x17c)]=='string'&&Yn(_0x1551ec,_0x1f9637[_0x53fe7b(0x17c)])?_0x1f9637[_0x53fe7b(0x17c)]:_0x1551ec[_0x53fe7b(0x264)]['find'](_0x1ebb6f=>Yn(_0x1551ec,_0x1ebb6f));if(!_0xcf67b6){let _0x44e8fd=Xn(_0x1551ec,_0x59bccc);_0x59bccc[_0x53fe7b(0x2b5)](_0x44e8fd),_0xcf67b6=_0x44e8fd['id'];}_0x1f9637[_0x53fe7b(0x17c)]=_0xcf67b6;let _0x39c067=Un(_0x24c8c5[_0x53fe7b(0x264)],_0x59bccc[_0x53fe7b(0x1d3)](_0x4628fc=>_0x4628fc['id']));return{'changed':_0x59bccc[_0x53fe7b(0x2b1)]>0x0||_0x1f9637[_0x53fe7b(0x17c)]!==((_0x2a55fd=_0x24c8c5[_0x53fe7b(0x3cb)])==null?void 0x0:_0x2a55fd['groupFieldId'])||!!(_0x39c067&&!_0x2c5b3b[_0x53fe7b(0x2ad)](_0x39c067,(_0x68fd84=_0x24c8c5[_0x53fe7b(0x264)])==null?[]:_0x68fd84)),'fields':_0x59bccc,'config':_0x1f9637,'fieldOrder':_0x39c067};}function Yn(_0x3a7cfe,_0x1a10d8){const _0x159a71=_0x3401ce;let _0xc30a7=_0x1a10d8?_0x3a7cfe[_0x159a71(0x204)][_0x1a10d8]:null;return!_0xc30a7||_0xc30a7[_0x159a71(0x219)]?!0x1:[_0x159a71(0x335),'multiSelect',_0x159a71(0x160),_0x159a71(0x3e3),'group',_0x159a71(0x284)]['includes'](_0xc30a7[_0x159a71(0x1b1)]);}function Xn(_0x22e761,_0x439c12){const _0x112cf2=_0x3401ce;return{'id':_0x112cf2(0x267)+_0x425b8e(0x8),'name':Hn(_0x22e761,'Status',_0x439c12),'type':_0x112cf2(0x335),'config':_0x2c5b3b[_0x112cf2(0x328)](Wn)};}function Zn(_0x45de69){const _0x100cdc=_0x3401ce;var _0x7c0679,_0xdbf87c;return Object[_0x100cdc(0x2fe)]((_0x7c0679=_0x45de69[_0x100cdc(0x3cb)])==null?{}:_0x7c0679)[_0x100cdc(0x2b1)]===0x0&&Object[_0x100cdc(0x2fe)]((_0xdbf87c=_0x45de69[_0x100cdc(0x1fd)])==null?{}:_0xdbf87c)[_0x100cdc(0x2b1)]===0x0;}function Qn(_0x492c4c,_0x5a18d2,_0x5c8264){const _0x4c4387=_0x3401ce;var _0x282c0c;let _0x2f94bc={...(_0x282c0c=_0x5a18d2['config'])==null?{}:_0x282c0c},_0x4b20e1=_0x5c8264[_0x4c4387(0x1d3)](_0x349646=>_0x349646['id']),_0x4b8a53=[..._0x492c4c[_0x4c4387(0x264)],..._0x4b20e1],_0x6ae1bd=typeof _0x2f94bc[_0x4c4387(0x1d4)]==_0x4c4387(0x3f7)&&$n(_0x492c4c,_0x5c8264,_0x2f94bc['titleFieldId'])?_0x2f94bc['titleFieldId']:_0x492c4c['primaryFieldId'],_0x40d9f8=typeof _0x2f94bc[_0x4c4387(0x251)]==_0x4c4387(0x3f7)?_0x2f94bc['startDateFieldId']:'',_0x1856bd=typeof _0x2f94bc[_0x4c4387(0x21f)]==_0x4c4387(0x3f7)?_0x2f94bc['endDateFieldId']:_0x40d9f8,_0x5f1349=new Set([_0x6ae1bd,_0x40d9f8,_0x1856bd]['filter'](_0x42cfcd=>_0x42cfcd&&$n(_0x492c4c,_0x5c8264,_0x42cfcd))),_0x570a35=Object['fromEntries'](_0x4b8a53['flatMap'](_0x3b2977=>_0x5f1349[_0x4c4387(0x356)](_0x3b2977)||!$n(_0x492c4c,_0x5c8264,_0x3b2977)?[]:[[_0x3b2977,{'hidden':!0x0}]]));return{..._0x5a18d2,'config':{..._0x2f94bc,'titleFieldId':_0x6ae1bd},'fieldSettings':_0x570a35};}function $n(_0xbf7e2a,_0x362fb0,_0x5375fb){const _0x298c39=_0x3401ce;var _0x3cbe7f;let _0x4c31af=(_0x3cbe7f=_0xbf7e2a['fields'][_0x5375fb])==null?_0x362fb0[_0x298c39(0x387)](_0x23912a=>_0x23912a['id']===_0x5375fb):_0x3cbe7f;return!!_0x4c31af&&_0x4c31af[_0x298c39(0x219)]!==!0x0;}function er(_0x26723c,_0x3efc87){const _0x165a15=_0x3401ce;let _0x5585af=_0x3efc87?_0x26723c[_0x165a15(0x204)][_0x3efc87]:null;return!!_0x5585af&&!_0x5585af[_0x165a15(0x219)]&&_0x5585af[_0x165a15(0x1b1)]===_0x165a15(0x177)&&_0x5585af['readonly']!==!0x0&&_0x5585af[_0x165a15(0x261)]!==!0x0;}function tr(_0x45190a,_0x404bfb,_0x1d9f5c){const _0x20e58=_0x3401ce;let _0x5609b5=new Set([...Object['keys'](_0x45190a['fields']),..._0x404bfb['map'](_0x31dd9e=>_0x31dd9e['id'])]),_0x50444a=_0x20e58(0x267)+_0x425b8e(0x8);for(;_0x5609b5['has'](_0x50444a);)_0x50444a=_0x20e58(0x267)+_0x425b8e(0x8);return{'id':_0x50444a,'name':Hn(_0x45190a,_0x1d9f5c,_0x404bfb),'type':_0x20e58(0x177),'config':{...Gn}};}const nr={'id':_0x3401ce(0x314),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x21af5b,_0x55e3bb)=>{const _0x299117=_0x3401ce;if(!_0x55e3bb)return!0x1;let _0x1de6d7=_0x21af5b[_0x299117(0x192)](_0x594baa),{unitId:_0x2fd089,tableId:_0xdb4929,view:_0x207628,index:_0x48baf8}=_0x55e3bb,_0x3dfdb2=_0x1de6d7['getUnit'](_0x2fd089,_0x28d586[_0x299117(0x3ec)]);if(!_0x3dfdb2)return!0x1;let _0x4c5b85=_0x21af5b[_0x299117(0x192)](_0x27a4ab),_0x4e2ab5=_0x21af5b[_0x299117(0x192)](_0x595044),_0x56b5d4=_0x3dfdb2[_0x299117(0x327)](),_0x5604db=Kn(_0x56b5d4,_0xdb4929,_0x207628,_0x48baf8),_0x1adc87=new D()[_0x299117(0x3ee)](_0x56b5d4,_0x5604db),_0x4f03ea={'unitId':_0x2fd089,'op':_0x5604db},_0x11c6dd={'unitId':_0x2fd089,'op':_0x1adc87};return _0x4c5b85[_0x299117(0x1e9)](Y['id'],_0x4f03ea)?(_0x1de6d7[_0x299117(0x2e8)](_0x2fd089),_0x4e2ab5[_0x299117(0x23f)]({'unitID':_0x2fd089,'undoMutations':[{'id':Y['id'],'params':_0x11c6dd}],'redoMutations':[{'id':Y['id'],'params':_0x4f03ea}]}),!0x0):!0x1;}},rr={'id':_0x3401ce(0x3c0),'type':_0x33ec1c['COMMAND'],'handler'(_0x4fdfb3,_0x29423c){const _0xc74474=_0x3401ce;if(!_0x29423c)return!0x1;let _0x4a7e3c=_0x4fdfb3[_0xc74474(0x192)](_0x594baa),{unitId:_0x56dc8f,tableId:_0x1e5653,fieldId:_0x14483a}=_0x29423c,_0x44f7b6=_0x4a7e3c[_0xc74474(0x399)](_0x56dc8f,_0x28d586[_0xc74474(0x3ec)]);if(!_0x44f7b6)return!0x1;let _0x35aa20=_0x44f7b6[_0xc74474(0x327)](),_0x44578f=_0x35aa20[_0xc74474(0x391)][_0x1e5653];if(!_0x44578f||_0x44578f[_0xc74474(0x346)]===_0x14483a)return!0x1;let _0x1e6e82=_0x4fdfb3[_0xc74474(0x192)](_0x27a4ab),_0x3bad89=_0x4fdfb3['get'](_0x595044),_0x1d9c0b=new I()['deleteField'](_0x35aa20,_0x1e5653,_0x14483a),_0x324ee1=new D()[_0xc74474(0x3ee)](_0x35aa20,_0x1d9c0b),_0x57c8fe={'unitId':_0x56dc8f,'op':_0x1d9c0b},_0x2c8a50={'unitId':_0x56dc8f,'op':_0x324ee1};return _0x1e6e82[_0xc74474(0x1e9)](Y['id'],_0x57c8fe)?(_0x4a7e3c[_0xc74474(0x2e8)](_0x56dc8f),_0x3bad89[_0xc74474(0x23f)]({'unitID':_0x56dc8f,'undoMutations':[{'id':Y['id'],'params':_0x2c8a50}],'redoMutations':[{'id':Y['id'],'params':_0x57c8fe}]}),!0x0):!0x1;}},ir={'id':_0x3401ce(0x249),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2a5ab2,_0x397fb0)=>{const _0x5c4e23=_0x3401ce;if(!_0x397fb0)return!0x1;let _0x13bb86=_0x2a5ab2['get'](_0x594baa),{unitId:_0x5ecd11,tableId:_0x31556c,recordId:_0x171256}=_0x397fb0,_0x24c710=_0x13bb86[_0x5c4e23(0x399)](_0x5ecd11,_0x28d586[_0x5c4e23(0x3ec)]);if(!_0x24c710)return!0x1;let _0x257f1b=_0x2a5ab2['get'](_0x27a4ab),_0x417aa5=_0x2a5ab2[_0x5c4e23(0x192)](_0x595044),_0x4f4c6e=_0x24c710[_0x5c4e23(0x327)](),_0x55901a=new I()[_0x5c4e23(0x2ab)](_0x4f4c6e,_0x31556c,_0x171256),_0x3022af=new D()[_0x5c4e23(0x3ee)](_0x4f4c6e,_0x55901a),_0x27202e={'unitId':_0x5ecd11,'op':_0x55901a},_0x12a333={'unitId':_0x5ecd11,'op':_0x3022af};return _0x257f1b[_0x5c4e23(0x1e9)](Y['id'],_0x27202e)?(_0x13bb86[_0x5c4e23(0x2e8)](_0x5ecd11),_0x417aa5[_0x5c4e23(0x23f)]({'unitID':_0x5ecd11,'undoMutations':[{'id':Y['id'],'params':_0x12a333}],'redoMutations':[{'id':Y['id'],'params':_0x27202e}]}),!0x0):!0x1;}},ar={'id':_0x3401ce(0x3f0),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x3af2d3,_0x2ce30f)=>{const _0x61223c=_0x3401ce;if(!_0x2ce30f)return!0x1;let _0x36d516=_0x3af2d3['get'](_0x594baa),{unitId:_0x2b3013,tableId:_0x33cb8d}=_0x2ce30f,_0x1ae3c5=_0x36d516[_0x61223c(0x399)](_0x2b3013,_0x28d586[_0x61223c(0x3ec)]);if(!_0x1ae3c5)return!0x1;let _0x55d33a=_0x3af2d3[_0x61223c(0x192)](_0x27a4ab),_0x36afdd=_0x3af2d3[_0x61223c(0x192)](_0x595044),_0x41c9f7=_0x1ae3c5[_0x61223c(0x327)](),_0x2ff155=new I()[_0x61223c(0x1c0)](_0x41c9f7,_0x33cb8d),_0x356896=new D()[_0x61223c(0x3ee)](_0x41c9f7,_0x2ff155),_0x3df388={'unitId':_0x2b3013,'op':_0x2ff155},_0x5151ec={'unitId':_0x2b3013,'op':_0x356896};return _0x55d33a[_0x61223c(0x1e9)](Y['id'],_0x3df388)?(_0x36d516[_0x61223c(0x2e8)](_0x2b3013),_0x36afdd[_0x61223c(0x23f)]({'unitID':_0x2b3013,'undoMutations':[{'id':Y['id'],'params':_0x5151ec}],'redoMutations':[{'id':Y['id'],'params':_0x3df388}]}),!0x0):!0x1;}},or={'id':_0x3401ce(0x1be),'type':_0x33ec1c['COMMAND'],'handler':(_0x1085a2,_0x5af97e)=>{const _0x47edd8=_0x3401ce;if(!_0x5af97e)return!0x1;let _0x248991=_0x1085a2[_0x47edd8(0x192)](_0x594baa),{unitId:_0x43dc49,tableId:_0x26aed4,viewId:_0x3e70ed}=_0x5af97e,_0x1dd6ba=_0x248991[_0x47edd8(0x399)](_0x43dc49,_0x28d586[_0x47edd8(0x3ec)]);if(!_0x1dd6ba)return!0x1;let _0x351e9b=_0x1085a2['get'](_0x27a4ab),_0x27c3e6=_0x1085a2[_0x47edd8(0x192)](_0x595044),_0xaac691=_0x1dd6ba[_0x47edd8(0x327)](),_0xd70790=new I()[_0x47edd8(0x2d1)](_0xaac691,_0x26aed4,_0x3e70ed),_0x20f8ef=new D()[_0x47edd8(0x3ee)](_0xaac691,_0xd70790),_0x4894c6={'unitId':_0x43dc49,'op':_0xd70790},_0x597e3c={'unitId':_0x43dc49,'op':_0x20f8ef};return _0x351e9b[_0x47edd8(0x1e9)](Y['id'],_0x4894c6)?(_0x248991[_0x47edd8(0x2e8)](_0x43dc49),_0x27c3e6[_0x47edd8(0x23f)]({'unitID':_0x43dc49,'undoMutations':[{'id':Y['id'],'params':_0x597e3c}],'redoMutations':[{'id':Y['id'],'params':_0x4894c6}]}),!0x0):!0x1;}},sr={'id':_0x3401ce(0x212),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x437002,_0x44cafa)=>{const _0x424e6a=_0x3401ce;if(!_0x44cafa)return!0x1;let _0x42b687=_0x437002[_0x424e6a(0x192)](_0x594baa),{unitId:_0x241801,tableId:_0x16724d,sourceFieldId:_0x793b81,field:_0xf0a756,index:_0x4de63e,viewIndexes:_0x55ee46}=_0x44cafa,_0x44b94e=_0x42b687[_0x424e6a(0x399)](_0x241801,_0x28d586[_0x424e6a(0x3ec)]);if(!_0x44b94e)return!0x1;let _0x32380d=_0x437002['get'](_0x27a4ab),_0x1b7c43=_0x437002[_0x424e6a(0x192)](_0x595044),_0x3eb8ee=_0x44b94e[_0x424e6a(0x327)](),_0x46c695=new I()['duplicateField'](_0x3eb8ee,_0x16724d,_0x793b81,{'field':_0xf0a756,'index':_0x4de63e,'viewIndexes':_0x55ee46}),_0x35b778=new D()['invertOp'](_0x3eb8ee,_0x46c695),_0x1c1e08={'unitId':_0x241801,'op':_0x46c695},_0x59114e={'unitId':_0x241801,'op':_0x35b778};return _0x32380d[_0x424e6a(0x1e9)](Y['id'],_0x1c1e08)?(_0x42b687[_0x424e6a(0x2e8)](_0x241801),_0x1b7c43[_0x424e6a(0x23f)]({'unitID':_0x241801,'undoMutations':[{'id':Y['id'],'params':_0x59114e}],'redoMutations':[{'id':Y['id'],'params':_0x1c1e08}]}),!0x0):!0x1;}},cr={'id':_0x3401ce(0x38a),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x133287,_0x3f690f)=>{const _0x3ceed3=_0x3401ce;if(!_0x3f690f)return!0x1;let _0x544b39=_0x133287['get'](_0x594baa),{unitId:_0x2a4241,tableId:_0x4da3cc,sourceRecordId:_0x1879a2,record:_0x27efd2}=_0x3f690f,_0x135463=_0x544b39['getUnit'](_0x2a4241,_0x28d586[_0x3ceed3(0x3ec)]);if(!_0x135463)return!0x1;let _0x331b06=_0x133287[_0x3ceed3(0x192)](_0x27a4ab),_0x286514=_0x133287[_0x3ceed3(0x192)](_0x595044),_0xaabebf=_0x135463[_0x3ceed3(0x327)](),_0x4790e5=new I()[_0x3ceed3(0x20d)](_0xaabebf,_0x4da3cc,_0x1879a2,_0x27efd2),_0x57263a=new D()['invertOp'](_0xaabebf,_0x4790e5),_0x46ace6={'unitId':_0x2a4241,'op':_0x4790e5},_0x1a6d20={'unitId':_0x2a4241,'op':_0x57263a};return _0x331b06[_0x3ceed3(0x1e9)](Y['id'],_0x46ace6)?(_0x544b39[_0x3ceed3(0x2e8)](_0x2a4241),_0x286514[_0x3ceed3(0x23f)]({'unitID':_0x2a4241,'undoMutations':[{'id':Y['id'],'params':_0x1a6d20}],'redoMutations':[{'id':Y['id'],'params':_0x46ace6}]}),!0x0):!0x1;}},lr={'id':_0x3401ce(0x254),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x3d6327,_0x4facbd){const _0x272ae3=_0x3401ce;if(!_0x4facbd)return!0x1;let _0x4d316a=_0x3d6327['get'](_0x594baa),{unitId:_0x5a413f,tableId:_0x3c4fd3,viewId:_0x474742,ensureEndDateField:_0x4252c4}=_0x4facbd,_0x1e3cdd=_0x4d316a['getUnit'](_0x5a413f,_0x28d586[_0x272ae3(0x3ec)]);if(!_0x1e3cdd)return!0x1;let _0x1ec90a=_0x1e3cdd[_0x272ae3(0x327)](),_0xc38bd6=_0x1ec90a[_0x272ae3(0x391)][_0x3c4fd3],_0xf8d772=_0xc38bd6==null?void 0x0:_0xc38bd6[_0x272ae3(0x2ae)][_0x474742];if(!_0xc38bd6||!_0xf8d772||_0xf8d772['deleted']||_0xf8d772[_0x272ae3(0x1b1)]!==_0x272ae3(0x281)&&_0xf8d772['type']!=='gantt')return!0x1;let _0x45097e=qn(_0xc38bd6,_0xf8d772,_0x4252c4===!0x0);if(!_0x45097e[_0x272ae3(0x27a)])return!0x1;let _0x3edbdf=_0x3d6327[_0x272ae3(0x192)](_0x27a4ab),_0x4c218c=_0x3d6327[_0x272ae3(0x192)](_0x595044),_0x1cc7c1=new I(),_0x428bd7=[..._0x45097e[_0x272ae3(0x204)][_0x272ae3(0x1d3)](_0x17a976=>_0x1cc7c1[_0x272ae3(0x179)](_0x1ec90a,_0x4facbd[_0x272ae3(0x18a)],{'field':_0x17a976})),ur([...dr(_0x4facbd['tableId'],_0x4facbd[_0x272ae3(0x24a)]),_0x272ae3(0x3cb)],_0xf8d772[_0x272ae3(0x3cb)],_0x45097e['config'])];_0x45097e[_0x272ae3(0x264)]&&_0x428bd7[_0x272ae3(0x2b5)](ur([...dr(_0x4facbd[_0x272ae3(0x18a)],_0x4facbd[_0x272ae3(0x24a)]),_0x272ae3(0x264)],_0xf8d772[_0x272ae3(0x264)],_0x45097e[_0x272ae3(0x264)]));let _0x426117=F(_0x428bd7),_0x5c353b=new D()['invertOp'](_0x1ec90a,_0x426117),_0x5efd49={'unitId':_0x5a413f,'op':_0x426117},_0x1206ef={'unitId':_0x5a413f,'op':_0x5c353b};return _0x3edbdf[_0x272ae3(0x1e9)](Y['id'],_0x5efd49)?(_0x4d316a[_0x272ae3(0x2e8)](_0x5a413f),_0x4c218c['pushUndoRedo']({'unitID':_0x5a413f,'undoMutations':[{'id':Y['id'],'params':_0x1206ef}],'redoMutations':[{'id':Y['id'],'params':_0x5efd49}]}),!0x0):!0x1;}};function ur(_0x2ac491,_0x26e83a,_0x4f70e2){const _0x51cea7=_0x3401ce;return _0x26e83a===void 0x0?_0x1811e5[_0x51cea7(0x38b)](_0x2ac491,_0x4f70e2):_0x1811e5[_0x51cea7(0x190)](_0x2ac491,_0x26e83a,_0x4f70e2);}function dr(_0x172a15,_0x4ea338){const _0x3ef482=_0x3401ce;return[_0x3ef482(0x391),_0x172a15,_0x3ef482(0x2ae),_0x4ea338];}const fr={'id':_0x3401ce(0x29a),'type':_0x33ec1c['COMMAND'],'handler':(_0x3d0fd8,_0x33005d)=>{const _0x3187dd=_0x3401ce;if(!_0x33005d)return!0x1;let _0x485cd6=_0x3d0fd8[_0x3187dd(0x192)](_0x594baa),{unitId:_0x2a7b03,tableId:_0x97a003,fieldId:_0x169f7f,target:_0x1ece0a}=_0x33005d,_0x261ad1=_0x485cd6[_0x3187dd(0x399)](_0x2a7b03,_0x28d586[_0x3187dd(0x3ec)]);if(!_0x261ad1)return!0x1;let _0x15fbc3=_0x3d0fd8[_0x3187dd(0x192)](_0x27a4ab),_0xb0a152=_0x3d0fd8[_0x3187dd(0x192)](_0x595044),_0x156d69=_0x261ad1[_0x3187dd(0x327)](),_0x4ae45b=new I()['moveField'](_0x156d69,_0x97a003,_0x169f7f,_0x1ece0a),_0x11f445=new D()[_0x3187dd(0x3ee)](_0x156d69,_0x4ae45b),_0x142095={'unitId':_0x2a7b03,'op':_0x4ae45b},_0x22a5e7={'unitId':_0x2a7b03,'op':_0x11f445};return _0x15fbc3[_0x3187dd(0x1e9)](Y['id'],_0x142095)?(_0x485cd6[_0x3187dd(0x2e8)](_0x2a7b03),_0xb0a152[_0x3187dd(0x23f)]({'unitID':_0x2a7b03,'undoMutations':[{'id':Y['id'],'params':_0x22a5e7}],'redoMutations':[{'id':Y['id'],'params':_0x142095}]}),!0x0):!0x1;}},pr={'id':'base.command.move-base-view','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x424006,_0x2f3262)=>{const _0x24e36c=_0x3401ce;if(!_0x2f3262)return!0x1;let _0x2b0187=_0x424006[_0x24e36c(0x192)](_0x594baa),{unitId:_0x30a579,tableId:_0x11866b,viewId:_0x4c703a,target:_0xa996eb}=_0x2f3262,_0x340652=_0x2b0187[_0x24e36c(0x399)](_0x30a579,_0x28d586[_0x24e36c(0x3ec)]);if(!_0x340652)return!0x1;let _0x384fe8=_0x424006['get'](_0x27a4ab),_0x53eca8=_0x424006[_0x24e36c(0x192)](_0x595044),_0x2d6a08=_0x340652[_0x24e36c(0x327)](),_0xbb3901=new I()[_0x24e36c(0x352)](_0x2d6a08,_0x11866b,_0x4c703a,_0xa996eb),_0x1ad864=new D()[_0x24e36c(0x3ee)](_0x2d6a08,_0xbb3901),_0x3e1850={'unitId':_0x30a579,'op':_0xbb3901},_0x5e2571={'unitId':_0x30a579,'op':_0x1ad864};return _0x384fe8[_0x24e36c(0x1e9)](Y['id'],_0x3e1850)?(_0x2b0187['focusUnit'](_0x30a579),_0x53eca8[_0x24e36c(0x23f)]({'unitID':_0x30a579,'undoMutations':[{'id':Y['id'],'params':_0x5e2571}],'redoMutations':[{'id':Y['id'],'params':_0x3e1850}]}),!0x0):!0x1;}},mr={'id':'base.command.rename-base-table','type':_0x33ec1c['COMMAND'],'handler':(_0x5a3f79,_0x23fe82)=>{const _0x25e92a=_0x3401ce;if(!_0x23fe82)return!0x1;let _0x2980a0=_0x5a3f79[_0x25e92a(0x192)](_0x594baa),{unitId:_0x361931,tableId:_0x5ba328,name:_0x26fbd9}=_0x23fe82,_0x3900cc=_0x2980a0['getUnit'](_0x361931,_0x28d586[_0x25e92a(0x3ec)]);if(!_0x3900cc)return!0x1;let _0x2b32b9=_0x5a3f79[_0x25e92a(0x192)](_0x27a4ab),_0x22f98f=_0x5a3f79[_0x25e92a(0x192)](_0x595044),_0x587a21=_0x3900cc[_0x25e92a(0x327)](),_0x2c2149=new I()[_0x25e92a(0x3c5)](_0x587a21,_0x5ba328,_0x26fbd9),_0x2f4bed=new D()[_0x25e92a(0x3ee)](_0x587a21,_0x2c2149),_0xbb81c5={'unitId':_0x361931,'op':_0x2c2149},_0x11a030={'unitId':_0x361931,'op':_0x2f4bed};return _0x2b32b9['syncExecuteCommand'](Y['id'],_0xbb81c5)?(_0x2980a0[_0x25e92a(0x2e8)](_0x361931),_0x22f98f['pushUndoRedo']({'unitID':_0x361931,'undoMutations':[{'id':Y['id'],'params':_0x11a030}],'redoMutations':[{'id':Y['id'],'params':_0xbb81c5}]}),!0x0):!0x1;}},hr={'id':'base.command.rename-base-view','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x14ef45,_0x5b1d54)=>{const _0xf304ea=_0x3401ce;if(!_0x5b1d54)return!0x1;let _0x1a4842=_0x14ef45[_0xf304ea(0x192)](_0x594baa),{unitId:_0x55970c,tableId:_0x311468,viewId:_0x451169,name:_0x4de397}=_0x5b1d54,_0x2a89f2=_0x1a4842[_0xf304ea(0x399)](_0x55970c,_0x28d586[_0xf304ea(0x3ec)]);if(!_0x2a89f2)return!0x1;let _0x3a210b=_0x14ef45['get'](_0x27a4ab),_0x2179a8=_0x14ef45[_0xf304ea(0x192)](_0x595044),_0x25d3f9=_0x2a89f2[_0xf304ea(0x327)](),_0x2684e9=new I()[_0xf304ea(0x39d)](_0x25d3f9,_0x311468,_0x451169,_0x4de397),_0xe90428=new D()[_0xf304ea(0x3ee)](_0x25d3f9,_0x2684e9),_0x45e3a0={'unitId':_0x55970c,'op':_0x2684e9},_0x1900d6={'unitId':_0x55970c,'op':_0xe90428};return _0x3a210b['syncExecuteCommand'](Y['id'],_0x45e3a0)?(_0x1a4842[_0xf304ea(0x2e8)](_0x55970c),_0x2179a8[_0xf304ea(0x23f)]({'unitID':_0x55970c,'undoMutations':[{'id':Y['id'],'params':_0x1900d6}],'redoMutations':[{'id':Y['id'],'params':_0x45e3a0}]}),!0x0):!0x1;}},gr={'id':_0x3401ce(0x3fb),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x460928,_0x2f2595)=>{const _0x5b0578=_0x3401ce;if(!_0x2f2595)return!0x1;let _0x512995=_0x460928[_0x5b0578(0x192)](_0x594baa),{unitId:_0x476c9d,tableId:_0x320cb6,viewId:_0x5242bb,fieldId:_0x47d4d8}=_0x2f2595,_0x4f5594=_0x512995['getUnit'](_0x476c9d,_0x28d586[_0x5b0578(0x3ec)]);if(!_0x4f5594)return!0x1;let _0xd2682e=_0x460928[_0x5b0578(0x192)](_0x27a4ab),_0x1ee4be=_0x460928[_0x5b0578(0x192)](_0x595044),_0x1a84d4=_0x4f5594[_0x5b0578(0x327)](),_0x1f4e43=new I()[_0x5b0578(0x378)](_0x1a84d4,_0x320cb6,_0x5242bb,{'groupFieldId':_0x47d4d8}),_0x26d4cc=new D()[_0x5b0578(0x3ee)](_0x1a84d4,_0x1f4e43),_0x589c31={'unitId':_0x476c9d,'op':_0x1f4e43},_0x59ba23={'unitId':_0x476c9d,'op':_0x26d4cc};return _0xd2682e[_0x5b0578(0x1e9)](Y['id'],_0x589c31)?(_0x512995['focusUnit'](_0x476c9d),_0x1ee4be[_0x5b0578(0x23f)]({'unitID':_0x476c9d,'undoMutations':[{'id':Y['id'],'params':_0x59ba23}],'redoMutations':[{'id':Y['id'],'params':_0x589c31}]}),!0x0):!0x1;}},_r={'id':_0x3401ce(0x2b7),'type':_0x33ec1c['COMMAND'],'handler'(_0xea87f1,_0x401dc4){const _0x47b20c=_0x3401ce;if(!_0x401dc4)return!0x1;let _0x1331bc=_0xea87f1['get'](_0x594baa),{unitId:_0x523e26,tableId:_0x5e4620,patches:_0xe4f79e}=_0x401dc4,_0x5ef484=_0x1331bc[_0x47b20c(0x399)](_0x523e26,_0x28d586['UNIVER_BASE']);if(!_0x5ef484)return!0x1;let _0x3204d4=_0xea87f1[_0x47b20c(0x192)](_0x27a4ab),_0x4f11f4=_0xea87f1[_0x47b20c(0x192)](_0x595044),_0x24ab12=_0x5ef484[_0x47b20c(0x327)](),_0x8697f=C(_0x24ab12['tables'][_0x5e4620]),_0x4579e5=_0xe4f79e[_0x47b20c(0x278)](_0x5996e0=>{const _0x398d07=_0x47b20c;var _0x50ff9b,_0x2fe86a;if('row'in _0x5996e0)return[_0x5996e0];let _0x496865=(_0x50ff9b=_0x8697f['rowIndex'])==null?void 0x0:_0x50ff9b[_0x5996e0[_0x398d07(0x163)]],_0x22002a=(_0x2fe86a=_0x8697f['colIndex'])==null?void 0x0:_0x2fe86a[_0x5996e0[_0x398d07(0x409)]];return _0x496865==null||_0x22002a==null?[]:[{'row':_0x496865,'col':_0x22002a,'value':_0x5996e0[_0x398d07(0x30a)]}];}),_0x1c0771=new I()[_0x47b20c(0x1c7)](_0x24ab12,_0x5e4620,_0x4579e5),_0x49c91a=new D()[_0x47b20c(0x3ee)](_0x24ab12,_0x1c0771),_0x485b5c={'unitId':_0x523e26,'op':_0x1c0771},_0x4cdb2f={'unitId':_0x523e26,'op':_0x49c91a};return _0x3204d4[_0x47b20c(0x1e9)](Y['id'],_0x485b5c)?(_0x1331bc[_0x47b20c(0x2e8)](_0x523e26),_0x4f11f4[_0x47b20c(0x23f)]({'unitID':_0x523e26,'undoMutations':[{'id':Y['id'],'params':_0x4cdb2f}],'redoMutations':[{'id':Y['id'],'params':_0x485b5c}]}),!0x0):!0x1;}},vr={'id':'base.command.set-base-record-values','type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x31b849,_0x48d4bb){const _0x407ffe=_0x3401ce;if(!_0x48d4bb)return!0x1;let _0x1c9523=_0x31b849['get'](_0x594baa),{unitId:_0x513fed,tableId:_0x5a60be,patches:_0x34ae5a}=_0x48d4bb,_0x3a3ee8=_0x1c9523['getUnit'](_0x513fed,_0x28d586[_0x407ffe(0x3ec)]);if(!_0x3a3ee8)return!0x1;let _0x4a9709=_0x31b849[_0x407ffe(0x192)](_0x27a4ab),_0x115791=_0x31b849[_0x407ffe(0x192)](_0x595044),_0x3b9e2d=_0x31b849[_0x407ffe(0x192)](W)[_0x407ffe(0x1a0)](_0x3a3ee8,_0x5a60be,_0x34ae5a),_0x3cfa59=new D()[_0x407ffe(0x3ee)](_0x3a3ee8['getSnapshot'](),_0x3b9e2d),_0x3af38e={'unitId':_0x513fed,'op':_0x3b9e2d},_0x226a3b={'unitId':_0x513fed,'op':_0x3cfa59};return _0x4a9709[_0x407ffe(0x1e9)](Y['id'],_0x3af38e)?(_0x1c9523[_0x407ffe(0x2e8)](_0x513fed),_0x115791[_0x407ffe(0x23f)]({'unitID':_0x513fed,'undoMutations':[{'id':Y['id'],'params':_0x226a3b}],'redoMutations':[{'id':Y['id'],'params':_0x3af38e}]}),!0x0):!0x1;}},yr={'id':'base.command.set-base-view-field-order','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x93f2,_0x12e63e)=>{const _0x5eed9f=_0x3401ce;if(!_0x12e63e)return!0x1;let _0xbd4a75=_0x93f2[_0x5eed9f(0x192)](_0x594baa),{unitId:_0x5d004d,tableId:_0x46c2c2,viewId:_0x4d1218,fieldId:_0x53c9e4,target:_0x430321}=_0x12e63e,_0xbff57b=_0xbd4a75[_0x5eed9f(0x399)](_0x5d004d,_0x28d586[_0x5eed9f(0x3ec)]);if(!_0xbff57b)return!0x1;let _0x2c437f=_0x93f2[_0x5eed9f(0x192)](_0x27a4ab),_0x1cc3de=_0x93f2[_0x5eed9f(0x192)](_0x595044),_0xd94e23=_0xbff57b[_0x5eed9f(0x327)](),_0x5864c7=new I()['setViewFieldOrder'](_0xd94e23,_0x46c2c2,_0x4d1218,_0x53c9e4,_0x430321),_0x1a6eec=new D()['invertOp'](_0xd94e23,_0x5864c7),_0x52352d={'unitId':_0x5d004d,'op':_0x5864c7},_0x3ecc3c={'unitId':_0x5d004d,'op':_0x1a6eec};return _0x2c437f[_0x5eed9f(0x1e9)](Y['id'],_0x52352d)?(_0xbd4a75[_0x5eed9f(0x2e8)](_0x5d004d),_0x1cc3de[_0x5eed9f(0x23f)]({'unitID':_0x5d004d,'undoMutations':[{'id':Y['id'],'params':_0x3ecc3c}],'redoMutations':[{'id':Y['id'],'params':_0x52352d}]}),!0x0):!0x1;}},br={'id':_0x3401ce(0x223),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x1bb4c5,_0x509ea7){const _0x3dd148=_0x3401ce;if(!_0x509ea7)return!0x1;let _0x2cabdf=_0x1bb4c5[_0x3dd148(0x192)](_0x594baa),{unitId:_0x5d872a,tableId:_0x326b52,viewId:_0x4cb541,fieldId:_0xb64e52,visible:_0x916704}=_0x509ea7,_0x5add61=_0x2cabdf[_0x3dd148(0x399)](_0x5d872a,_0x28d586[_0x3dd148(0x3ec)]);if(!_0x5add61)return!0x1;let _0x3c7a8b=_0x1bb4c5[_0x3dd148(0x192)](_0x27a4ab),_0x27abf0=_0x1bb4c5[_0x3dd148(0x192)](_0x595044),_0x439998=_0x5add61['getSnapshot'](),_0x5aa461=new I()[_0x3dd148(0x3b5)](_0x439998,_0x326b52,_0x4cb541,_0xb64e52,_0x916704),_0xdb1d9e=new D()[_0x3dd148(0x3ee)](_0x439998,_0x5aa461),_0x2b0fd5={'unitId':_0x5d872a,'op':_0x5aa461},_0x27dbea={'unitId':_0x5d872a,'op':_0xdb1d9e};return _0x3c7a8b['syncExecuteCommand'](Y['id'],_0x2b0fd5)?(_0x2cabdf['focusUnit'](_0x5d872a),_0x27abf0[_0x3dd148(0x23f)]({'unitID':_0x5d872a,'undoMutations':[{'id':Y['id'],'params':_0x27dbea}],'redoMutations':[{'id':Y['id'],'params':_0x2b0fd5}]}),!0x0):!0x1;}},xr={'id':_0x3401ce(0x2c5),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x3962d4,_0x411e25)=>{const _0x3095d5=_0x3401ce;if(!_0x411e25)return!0x1;let _0x2b586a=_0x3962d4[_0x3095d5(0x192)](_0x594baa),{unitId:_0x2b3cc1,tableId:_0x5d82fd,viewId:_0x3dbc7b,fieldId:_0x89b1d3,width:_0x1ee27d}=_0x411e25,_0x2e728e=_0x2b586a[_0x3095d5(0x399)](_0x2b3cc1,_0x28d586['UNIVER_BASE']);if(!_0x2e728e)return!0x1;let _0x29f125=_0x3962d4[_0x3095d5(0x192)](_0x27a4ab),_0x1da253=_0x3962d4[_0x3095d5(0x192)](_0x595044),_0x3f3888=_0x2e728e[_0x3095d5(0x327)](),_0x1f74f1=new I()[_0x3095d5(0x292)](_0x3f3888,_0x5d82fd,_0x3dbc7b,_0x89b1d3,_0x1ee27d),_0x4f1015=new D()[_0x3095d5(0x3ee)](_0x3f3888,_0x1f74f1),_0x5650ed={'unitId':_0x2b3cc1,'op':_0x1f74f1},_0x38413e={'unitId':_0x2b3cc1,'op':_0x4f1015};return _0x29f125[_0x3095d5(0x1e9)](Y['id'],_0x5650ed)?(_0x2b586a['focusUnit'](_0x2b3cc1),_0x1da253[_0x3095d5(0x23f)]({'unitID':_0x2b3cc1,'undoMutations':[{'id':Y['id'],'params':_0x38413e}],'redoMutations':[{'id':Y['id'],'params':_0x5650ed}]}),!0x0):!0x1;}},Sr={'id':_0x3401ce(0x2ed),'type':_0x33ec1c['COMMAND'],'handler':(_0x501873,_0x1d975b)=>{const _0x139dee=_0x3401ce;if(!_0x1d975b)return!0x1;let _0x5a2ac2=_0x501873[_0x139dee(0x192)](_0x594baa),{unitId:_0x35476c,tableId:_0x3a76cd,viewId:_0x3cfbe,filter:_0x4b84d9}=_0x1d975b,_0x178e11=_0x5a2ac2[_0x139dee(0x399)](_0x35476c,_0x28d586['UNIVER_BASE']);if(!_0x178e11)return!0x1;let _0x462c97=_0x501873[_0x139dee(0x192)](_0x27a4ab),_0x1bb705=_0x501873[_0x139dee(0x192)](_0x595044),_0x4cdda0=_0x178e11['getSnapshot'](),_0x5d064b=new I()[_0x139dee(0x181)](_0x4cdda0,_0x3a76cd,_0x3cfbe,_0x4b84d9),_0xf97750=new D()[_0x139dee(0x3ee)](_0x4cdda0,_0x5d064b),_0x299f0e={'unitId':_0x35476c,'op':_0x5d064b},_0x5a1237={'unitId':_0x35476c,'op':_0xf97750};return _0x462c97[_0x139dee(0x1e9)](Y['id'],_0x299f0e)?(_0x5a2ac2[_0x139dee(0x2e8)](_0x35476c),_0x1bb705['pushUndoRedo']({'unitID':_0x35476c,'undoMutations':[{'id':Y['id'],'params':_0x5a1237}],'redoMutations':[{'id':Y['id'],'params':_0x299f0e}]}),!0x0):!0x1;}},Cr={'id':'base.command.set-base-view-group','type':_0x33ec1c['COMMAND'],'handler':(_0x2e9b3c,_0x3bd504)=>{const _0x4e549e=_0x3401ce;if(!_0x3bd504)return!0x1;let _0x5d19f9=_0x2e9b3c[_0x4e549e(0x192)](_0x594baa),{unitId:_0x32fbc5,tableId:_0x54ee89,viewId:_0x43837d,group:_0x5bb508}=_0x3bd504,_0x5d2123=_0x5d19f9[_0x4e549e(0x399)](_0x32fbc5,_0x28d586['UNIVER_BASE']);if(!_0x5d2123)return!0x1;let _0xae7278=_0x2e9b3c[_0x4e549e(0x192)](_0x27a4ab),_0x5086df=_0x2e9b3c[_0x4e549e(0x192)](_0x595044),_0xd5984f=_0x5d2123[_0x4e549e(0x327)](),_0x5d4413=new I()[_0x4e549e(0x3b8)](_0xd5984f,_0x54ee89,_0x43837d,_0x5bb508),_0x528752=new D()[_0x4e549e(0x3ee)](_0xd5984f,_0x5d4413),_0x11b86d={'unitId':_0x32fbc5,'op':_0x5d4413},_0x2d7301={'unitId':_0x32fbc5,'op':_0x528752};return _0xae7278[_0x4e549e(0x1e9)](Y['id'],_0x11b86d)?(_0x5d19f9[_0x4e549e(0x2e8)](_0x32fbc5),_0x5086df['pushUndoRedo']({'unitID':_0x32fbc5,'undoMutations':[{'id':Y['id'],'params':_0x2d7301}],'redoMutations':[{'id':Y['id'],'params':_0x11b86d}]}),!0x0):!0x1;}},wr={'id':'base.command.set-base-view-sort','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x5da0e2,_0x142863)=>{const _0x6093c4=_0x3401ce;if(!_0x142863)return!0x1;let _0x478f7c=_0x5da0e2[_0x6093c4(0x192)](_0x594baa),{unitId:_0x280cae,tableId:_0x20ddab,viewId:_0x3a5f2e,sort:_0x3d4782}=_0x142863,_0x4a153f=_0x478f7c[_0x6093c4(0x399)](_0x280cae,_0x28d586[_0x6093c4(0x3ec)]);if(!_0x4a153f)return!0x1;let _0x2e3931=_0x5da0e2[_0x6093c4(0x192)](_0x27a4ab),_0x46c2fa=_0x5da0e2[_0x6093c4(0x192)](_0x595044),_0x30238e=_0x4a153f[_0x6093c4(0x327)](),_0x327596=new I()[_0x6093c4(0x395)](_0x30238e,_0x20ddab,_0x3a5f2e,_0x3d4782),_0x40fc13=new D()['invertOp'](_0x30238e,_0x327596),_0x362ce7={'unitId':_0x280cae,'op':_0x327596},_0xc88f70={'unitId':_0x280cae,'op':_0x40fc13};return _0x2e3931[_0x6093c4(0x1e9)](Y['id'],_0x362ce7)?(_0x478f7c['focusUnit'](_0x280cae),_0x46c2fa['pushUndoRedo']({'unitID':_0x280cae,'undoMutations':[{'id':Y['id'],'params':_0xc88f70}],'redoMutations':[{'id':Y['id'],'params':_0x362ce7}]}),!0x0):!0x1;}},Tr={'id':'base.command.update-base-cell','type':_0x33ec1c['COMMAND'],'handler'(_0x599628,_0x396ab6){const _0x34bfd1=_0x3401ce;if(!_0x396ab6)return!0x1;let _0x5b1954=_0x599628[_0x34bfd1(0x192)](_0x594baa),{unitId:_0x467c9e,tableId:_0x26730e,recordId:_0x2e1735,fieldId:_0x3c9222,value:_0x536d0f}=_0x396ab6,_0x4a55d5=_0x5b1954[_0x34bfd1(0x399)](_0x467c9e,_0x28d586[_0x34bfd1(0x3ec)]);if(!_0x4a55d5)return!0x1;let _0x5c1c23=_0x599628['get'](_0x27a4ab),_0xf1babe=_0x599628[_0x34bfd1(0x192)](_0x595044),_0x1ffcca=_0x599628['get'](W),_0x42f295;try{_0x42f295=_0x1ffcca['createUpdateCellOp'](_0x4a55d5,_0x26730e,_0x2e1735,_0x3c9222,_0x536d0f);}catch(_0x6921cd){return console['error'](_0x34bfd1(0x2c6),_0x6921cd),!0x1;}let _0x21866f=new D()['invertOp'](_0x4a55d5[_0x34bfd1(0x327)](),_0x42f295),_0x269113={'unitId':_0x467c9e,'op':_0x42f295},_0x3348bd={'unitId':_0x467c9e,'op':_0x21866f};return _0x5c1c23[_0x34bfd1(0x1e9)](Y['id'],_0x269113)?(_0x5b1954['focusUnit'](_0x467c9e),_0xf1babe['pushUndoRedo']({'unitID':_0x467c9e,'undoMutations':[{'id':Y['id'],'params':_0x3348bd}],'redoMutations':[{'id':Y['id'],'params':_0x269113}]}),!0x0):!0x1;}},Er={'id':_0x3401ce(0x243),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x5a64e3,_0x31fcca){const _0x38eeef=_0x3401ce;if(!_0x31fcca)return!0x1;let _0x8af517=_0x5a64e3['get'](_0x594baa),{unitId:_0x357a80,tableId:_0x6abe07,fieldId:_0x49b5ec}=_0x31fcca,_0x581b9a=_0x8af517['getUnit'](_0x357a80,_0x28d586['UNIVER_BASE']);if(!_0x581b9a)return!0x1;let _0x1a369a=_0x5a64e3['get'](_0x27a4ab),_0x10ccaf=_0x5a64e3['get'](_0x595044),_0x2aa5f0=_0x581b9a[_0x38eeef(0x327)](),_0x21a70b=_0x31fcca[_0x38eeef(0x3de)]['trim'](),_0x66666d=new I()[_0x38eeef(0x34d)](_0x2aa5f0,_0x6abe07,_0x49b5ec,{'description':_0x21a70b}),_0x10f1f8=new D()[_0x38eeef(0x3ee)](_0x581b9a[_0x38eeef(0x327)](),_0x66666d),_0x2aa3a9={'unitId':_0x357a80,'op':_0x66666d},_0x22fc44={'unitId':_0x357a80,'op':_0x10f1f8};return _0x1a369a[_0x38eeef(0x1e9)](Y['id'],_0x2aa3a9)?(_0x8af517['focusUnit'](_0x357a80),_0x10ccaf[_0x38eeef(0x23f)]({'unitID':_0x357a80,'undoMutations':[{'id':Y['id'],'params':_0x22fc44}],'redoMutations':[{'id':Y['id'],'params':_0x2aa3a9}]}),!0x0):!0x1;}},Dr={'id':_0x3401ce(0x394),'type':_0x33ec1c['COMMAND'],'handler':(_0x5b3f7f,_0x5063d8)=>{const _0x4f386a=_0x3401ce;if(!_0x5063d8)return!0x1;let _0xcaeb55=_0x5b3f7f['get'](_0x594baa),{unitId:_0x49244c,tableId:_0x422bd1,fieldId:_0x4f403b,patch:_0x50ff06}=_0x5063d8,_0x13d79f=_0xcaeb55[_0x4f386a(0x399)](_0x49244c,_0x28d586['UNIVER_BASE']);if(!_0x13d79f)return!0x1;let _0x278f89=_0x5b3f7f[_0x4f386a(0x192)](_0x27a4ab),_0x4cd693=_0x5b3f7f[_0x4f386a(0x192)](_0x595044),_0x38a085=_0x13d79f[_0x4f386a(0x327)](),_0x3e7a2c=new I()[_0x4f386a(0x34d)](_0x38a085,_0x422bd1,_0x4f403b,_0x50ff06),_0x310ad5=new D()[_0x4f386a(0x3ee)](_0x38a085,_0x3e7a2c),_0x50d57b={'unitId':_0x49244c,'op':_0x3e7a2c},_0x12ce38={'unitId':_0x49244c,'op':_0x310ad5};return _0x278f89[_0x4f386a(0x1e9)](Y['id'],_0x50d57b)?(_0xcaeb55[_0x4f386a(0x2e8)](_0x49244c),_0x4cd693['pushUndoRedo']({'unitID':_0x49244c,'undoMutations':[{'id':Y['id'],'params':_0x12ce38}],'redoMutations':[{'id':Y['id'],'params':_0x50d57b}]}),!0x0):!0x1;}},Or={'id':_0x3401ce(0x266),'type':_0x33ec1c['COMMAND'],'handler':(_0x390f10,_0x3de0b4)=>{const _0x1f5ae4=_0x3401ce;if(!_0x3de0b4)return!0x1;let _0x51ff2a=_0x390f10[_0x1f5ae4(0x192)](_0x594baa),{unitId:_0x15996a,tableId:_0x283fe5,viewId:_0x2a0743,patch:_0x2851a6}=_0x3de0b4,_0x3735b6=_0x51ff2a[_0x1f5ae4(0x399)](_0x15996a,_0x28d586[_0x1f5ae4(0x3ec)]);if(!_0x3735b6)return!0x1;let _0x1fc4c4=_0x390f10[_0x1f5ae4(0x192)](_0x27a4ab),_0x10eb0a=_0x390f10[_0x1f5ae4(0x192)](_0x595044),_0x40a4ab=_0x3735b6[_0x1f5ae4(0x327)](),_0x414855=new I()['updateViewConfig'](_0x40a4ab,_0x283fe5,_0x2a0743,_0x2851a6),_0x2d3ff7=new D()[_0x1f5ae4(0x3ee)](_0x40a4ab,_0x414855),_0x2a7022={'unitId':_0x15996a,'op':_0x414855},_0x227757={'unitId':_0x15996a,'op':_0x2d3ff7};return _0x1fc4c4[_0x1f5ae4(0x1e9)](Y['id'],_0x2a7022)?(_0x51ff2a[_0x1f5ae4(0x2e8)](_0x15996a),_0x10eb0a[_0x1f5ae4(0x23f)]({'unitID':_0x15996a,'undoMutations':[{'id':Y['id'],'params':_0x227757}],'redoMutations':[{'id':Y['id'],'params':_0x2a7022}]}),!0x0):!0x1;}},kr={'id':_0x3401ce(0x40c),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0xb3b6f2,_0x43da9b)=>{const _0x57bfb6=_0x3401ce;if(!_0x43da9b)return!0x1;let _0x359ea4=_0xb3b6f2[_0x57bfb6(0x192)](_0x594baa),{unitId:_0x34484b,tableId:_0x5c50,recordId:_0x382dc0,orderKey:_0x59ad02}=_0x43da9b,_0x12d89b=_0x359ea4[_0x57bfb6(0x399)](_0x34484b,_0x28d586[_0x57bfb6(0x3ec)]);if(!_0x12d89b)return!0x1;let _0x38211c=_0xb3b6f2[_0x57bfb6(0x192)](_0x27a4ab),_0x278818=_0xb3b6f2[_0x57bfb6(0x192)](_0x595044),_0x208769=_0x12d89b[_0x57bfb6(0x327)](),_0x1f4b78=new I()[_0x57bfb6(0x3fe)](_0x208769,_0x5c50,_0x382dc0,_0x59ad02),_0x320d57=new D()[_0x57bfb6(0x3ee)](_0x208769,_0x1f4b78),_0x170914={'unitId':_0x34484b,'op':_0x1f4b78},_0x4d8d37={'unitId':_0x34484b,'op':_0x320d57};return _0x38211c[_0x57bfb6(0x1e9)](Y['id'],_0x170914)?(_0x359ea4[_0x57bfb6(0x2e8)](_0x34484b),_0x278818['pushUndoRedo']({'unitID':_0x34484b,'undoMutations':[{'id':Y['id'],'params':_0x4d8d37}],'redoMutations':[{'id':Y['id'],'params':_0x170914}]}),!0x0):!0x1;}},Ar={'id':'base.command.update-base-view-config','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2ad865,_0x1ea380)=>{const _0x469905=_0x3401ce;if(!_0x1ea380)return!0x1;let _0x1500a1=_0x2ad865[_0x469905(0x192)](_0x594baa),{unitId:_0x15d219,tableId:_0x2d5cef,viewId:_0x5bd20c,patch:_0x4a214d}=_0x1ea380,_0x474d15=_0x1500a1[_0x469905(0x399)](_0x15d219,_0x28d586[_0x469905(0x3ec)]);if(!_0x474d15)return!0x1;let _0x51243d=_0x2ad865[_0x469905(0x192)](_0x27a4ab),_0x2aec20=_0x2ad865[_0x469905(0x192)](_0x595044),_0x2b6bbb=_0x474d15[_0x469905(0x327)](),_0x56ab04=new I()[_0x469905(0x378)](_0x2b6bbb,_0x2d5cef,_0x5bd20c,_0x4a214d),_0xa25c62=new D()[_0x469905(0x3ee)](_0x2b6bbb,_0x56ab04),_0xa79bdf={'unitId':_0x15d219,'op':_0x56ab04},_0x1a1f58={'unitId':_0x15d219,'op':_0xa25c62};return _0x51243d[_0x469905(0x1e9)](Y['id'],_0xa79bdf)?(_0x1500a1[_0x469905(0x2e8)](_0x15d219),_0x2aec20[_0x469905(0x23f)]({'unitID':_0x15d219,'undoMutations':[{'id':Y['id'],'params':_0x1a1f58}],'redoMutations':[{'id':Y['id'],'params':_0xa79bdf}]}),!0x0):!0x1;}};function jr(_0x207e1f){const _0x2df61d=_0x3401ce;var _0xcb8108;let _0x5d3dc6=Math[_0x2df61d(0x16c)](0x0,Number((_0xcb8108=_0x207e1f[_0x2df61d(0x196)])==null?0x0:_0xcb8108)),_0x61b7e1=_0x207e1f[_0x2df61d(0x2af)]===!0x1?'0':_0x2df61d(0x32e),_0x131220=_0x5d3dc6?'.'+'0'[_0x2df61d(0x33c)](_0x5d3dc6):'',_0x289d29=Nr(_0x207e1f[_0x2df61d(0x37d)]);return''+(_0x207e1f[_0x2df61d(0x1c1)]?Pr(_0x207e1f['currencySymbol']):'')+_0x61b7e1+_0x131220+_0x289d29;}function Mr(_0x4e5e32,_0x52fb09){const _0x1e55f2=_0x3401ce;let _0x493b67=jr(_0x52fb09),_0x532d7b=_0x56f9da[_0x1e55f2(0x166)](_0x493b67,_0x4e5e32,{'throws':!0x1});return Fr(String(_0x532d7b),_0x52fb09['separatorStyle'],_0x52fb09[_0x1e55f2(0x236)]);}function Nr(_0x535135){const _0x2207bd=_0x3401ce;return _0x535135==='K'?_0x2207bd(0x381):_0x535135==='M'?_0x2207bd(0x3fa):_0x535135==='B'?_0x2207bd(0x19e):'';}function Pr(_0x4b325f){const _0xf766fb=_0x3401ce;return/^[A-Z]+$/i[_0xf766fb(0x19b)](_0x4b325f)?'\x22'+_0x4b325f+'\x22':_0x4b325f;}function Fr(_0xc61a7b,_0x50494f,_0x7741f){const _0xd45696=_0x3401ce;let _0x32f60d=_0x50494f===_0xd45696(0x303)?Ir(_0x7741f):_0x50494f;return _0x32f60d==='periodComma'?_0xc61a7b[_0xd45696(0x2a6)](/,/g,'\x00')[_0xd45696(0x2a6)](/\./g,',')[_0xd45696(0x2a6)](/\0/g,'.'):_0x32f60d===_0xd45696(0x172)?_0xc61a7b['replace'](/,/g,'\x20')['replace'](/\./g,','):_0x32f60d===_0xd45696(0x1f8)?_0xc61a7b[_0xd45696(0x2a6)](/,/g,'\x20'):_0xc61a7b;}function Ir(_0x204fe1){const _0x3c2b6e=_0x3401ce;var _0x59cb0f,_0x209b7e;let _0x3ec6cb=_0x204fe1||Intl['NumberFormat']()[_0x3c2b6e(0x247)]()[_0x3c2b6e(0x236)],_0x43f156;try{_0x43f156=new Intl[(_0x3c2b6e(0x2a3))](_0x3ec6cb,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x3c2b6e(0x334)](0xf4240);}catch{return _0x3c2b6e(0x3bd);}let _0x4e9c2c=(_0x59cb0f=_0x43f156[_0x3c2b6e(0x387)](_0xf74b6a=>_0xf74b6a[_0x3c2b6e(0x1b1)]==='group'))==null?void 0x0:_0x59cb0f['value'],_0x5f3b74=(_0x209b7e=_0x43f156['find'](_0x49c5cd=>_0x49c5cd[_0x3c2b6e(0x1b1)]===_0x3c2b6e(0x268)))==null?void 0x0:_0x209b7e['value'],_0x4f27b8=_0x4e9c2c==='\u00a0'||_0x4e9c2c==='\u202f'?'\x20':_0x4e9c2c;return _0x4f27b8==='.'&&_0x5f3b74===','?_0x3c2b6e(0x245):_0x4f27b8==='\x20'&&_0x5f3b74===','?_0x3c2b6e(0x172):_0x4f27b8==='\x20'&&_0x5f3b74==='.'?_0x3c2b6e(0x1f8):'commaPeriod';}function Lr(_0xd7ce45,_0x194372){const _0x42687=_0x3401ce;var _0x2e9423,_0x57b24b;let _0x37f80a=_0x2c5b3b[_0x42687(0x328)](_0xd7ce45),_0x4fe32c=_0x194372[_0x42687(0x271)]===!0x0,_0x287b5b=new Map(),_0x1c2acb=(_0x2e9423=_0x194372[_0x42687(0x2bf)])==null?()=>_0x42687(0x353)+_0x425b8e(0x8):_0x2e9423,_0x5fa104=_0x37f80a[_0x42687(0x1b9)];return _0x194372[_0x42687(0x2d6)]&&(_0x5fa104=_0x37f80a[_0x42687(0x1b9)]['map'](_0x574441=>{const _0x1d6add=_0x42687;let _0x9b00f3=_0x1c2acb();return _0x287b5b[_0x1d6add(0x270)](_0x574441,_0x9b00f3),_0x9b00f3;})),{..._0x37f80a,'id':_0x194372['id'],'name':_0x194372[_0x42687(0x1fe)],'deleted':void 0x0,'records':_0x4fe32c?_0x37f80a[_0x42687(0x320)]:{},'recordOrder':_0x4fe32c?_0x37f80a[_0x42687(0x275)]:[],'rowIndex':_0x4fe32c?_0x37f80a['rowIndex']:{},'rowId':_0x4fe32c?_0x37f80a['rowId']:{},'cellData':_0x4fe32c?_0x37f80a[_0x42687(0x29d)]:{},'resources':_0x4fe32c?_0x37f80a[_0x42687(0x244)]:{},'viewOrder':_0x5fa104,'views':Object[_0x42687(0x300)](Object[_0x42687(0x184)]((_0x57b24b=_0x37f80a[_0x42687(0x2ae)])==null?{}:_0x57b24b)[_0x42687(0x1d3)](([_0x168aaa,_0x134953])=>{const _0x5dc634=_0x42687;var _0x4e2d01;let _0xfe0cd8=(_0x4e2d01=_0x287b5b[_0x5dc634(0x192)](_0x168aaa))==null?_0x194372[_0x5dc634(0x2d6)]?_0x1c2acb():_0x168aaa:_0x4e2d01;return[_0xfe0cd8,{..._0x134953,'id':_0xfe0cd8,'tableId':_0x194372['id'],'deleted':void 0x0}];}))};}var Rr=_0x3401ce(0x3a3),zr='1.0.0-alpha.2';const Br={},Vr={};function Hr(_0x27e84f){const _0x52e8f8=_0x3401ce;return new D()[_0x52e8f8(0x19a)](_0x27e84f);}function Ur(_0x101251){const _0xeecbaf=_0x3401ce;return _0x101251[_0xeecbaf(0x31e)][_0xeecbaf(0x1d3)](_0x4dd516=>({'unitId':_0x101251[_0xeecbaf(0x3c8)],'sheetId':_0x101251[_0xeecbaf(0x18a)],'range':{'startRow':_0x4dd516[_0xeecbaf(0x2d5)],'endRow':_0x4dd516['row'],'startColumn':_0x4dd516[_0xeecbaf(0x3e2)],'endColumn':_0x4dd516[_0xeecbaf(0x3e2)]}}));}function Wr(_0x19d279,_0x26c20f){const _0x5b0a8f=_0x3401ce;return{[_0x19d279]:Object[_0x5b0a8f(0x300)](_0x26c20f['map'](_0x198fea=>[_0x198fea,'1']))};}let Gr=class extends _0x4b5308{constructor(_0x424683,_0x51e3a1){const _0x20fd50=_0x3401ce;super(),this[_0x20fd50(0x3c4)]=_0x424683,this['_univerInstanceService']=_0x51e3a1,this[_0x20fd50(0x265)]();}[_0x3401ce(0x265)](){const _0x1d9202=_0x3401ce;let _0x279480=this[_0x1d9202(0x157)]();_0x279480&&(_0x279480[_0x1d9202(0x2e7)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x460a8c=>this[_0x1d9202(0x306)](_0x460a8c['params'])}),this[_0x1d9202(0x186)](_0x200b81(()=>{const _0x19f124=_0x1d9202;_0x279480[_0x19f124(0x260)](Y['id']);})));}['_getActiveDirtyManagerService'](){const _0x399459=_0x3401ce;try{return this[_0x399459(0x3c4)][_0x399459(0x192)](_0x5cedb5);}catch{return null;}}[_0x3401ce(0x2b6)](_0x1787cc,_0x179a16){const _0x1860cd=_0x3401ce;var _0xd5c5f2;let _0xdeebf8=this[_0x1860cd(0x2ca)][_0x1860cd(0x399)](_0x1787cc,_0x28d586[_0x1860cd(0x3ec)]);return(_0xd5c5f2=_0xdeebf8==null?void 0x0:_0xdeebf8[_0x1860cd(0x327)]()['tables'][_0x179a16])==null?null:_0xd5c5f2;}[_0x3401ce(0x306)](_0x5bebb2){const _0x189f8f=_0x3401ce;if(_0x5bebb2[_0x189f8f(0x368)]===_0x189f8f(0x361))return{};if(!_0x5bebb2[_0x189f8f(0x3c8)]||!_0x5bebb2['op']){let _0x5ad345=this['_getAllBaseDirtySuperTableMap']();return{'dirtySuperTableMap':_0x5ad345,'clearDependencyTreeCache':_0x5ad345};}let _0x5e4ccc=Hr(_0x5bebb2['op']),_0x2dd142=this[_0x189f8f(0x318)](_0x5bebb2[_0x189f8f(0x3c8)],_0x5e4ccc);if(_0x2dd142['length'])return{'dirtySuperTableMap':this['_getDirtySuperTableMap'](_0x5bebb2['unitId'],_0x2dd142),'clearDependencyTreeCache':this[_0x189f8f(0x1ce)](_0x5bebb2['unitId'],_0x2dd142)};let _0x53dcee=Object[_0x189f8f(0x184)](this[_0x189f8f(0x1a8)](_0x5bebb2[_0x189f8f(0x3c8)],_0x5e4ccc))['flatMap'](([_0x28205b,_0x3eebe1])=>Ur({'unitId':_0x5bebb2[_0x189f8f(0x3c8)],'tableId':_0x28205b,'patches':_0x3eebe1}));return _0x53dcee['length']?{'dirtyRanges':_0x53dcee}:{};}[_0x3401ce(0x318)](_0x4debcf,_0xd48079){const _0x537223=_0x3401ce;let _0x5127e5=_0xd48079[_0x537223(0x2db)](_0x4bfaa2=>_0x4bfaa2[_0x537223(0x35d)]!==_0x537223(0x3ad))['flatMap'](_0x3b3d57=>_0x3b3d57[_0x537223(0x18a)]?[_0x3b3d57[_0x537223(0x18a)]]:this['_getAllTableIds'](_0x4debcf));return Array[_0x537223(0x33e)](new Set(_0x5127e5));}[_0x3401ce(0x1a8)](_0x2be198,_0x4bc6ef){let _0x24b5de=new Set();return _0x4bc6ef['reduce']((_0x111085,_0x2d4169)=>{const _0x15ce63=_0x4a40;var _0x250b4b;let _0x188db0=this[_0x15ce63(0x1d5)](_0x2be198,_0x2d4169);if(!_0x188db0)return _0x111085;let _0x10a621=_0x2d4169['tableId']+':'+_0x188db0[_0x15ce63(0x2d5)]+':'+_0x188db0['col'];return _0x24b5de[_0x15ce63(0x356)](_0x10a621)?_0x111085:(_0x24b5de['add'](_0x10a621),_0x111085[_0x2d4169['tableId']]=(_0x250b4b=_0x111085[_0x2d4169[_0x15ce63(0x18a)]])==null?[]:_0x250b4b,_0x111085[_0x2d4169['tableId']][_0x15ce63(0x2b5)](_0x188db0),_0x111085);},{});}[_0x3401ce(0x1d5)](_0xabfafb,_0xf51397){const _0x859c42=_0x3401ce;if(_0xf51397[_0x859c42(0x35d)]!==_0x859c42(0x3ad))return null;if(_0xf51397['row']!=null&&_0xf51397[_0x859c42(0x311)]!=null)return{'row':_0xf51397[_0x859c42(0x2d5)],'col':_0xf51397[_0x859c42(0x311)],'value':null};if(!_0xf51397[_0x859c42(0x163)]||!_0xf51397['fieldId'])return null;let _0x308b70=this[_0x859c42(0x2b6)](_0xabfafb,_0xf51397[_0x859c42(0x18a)]);if(!_0x308b70)return null;let _0x457a3b=ye(_0x308b70,_0xf51397[_0x859c42(0x163)],_0xf51397[_0x859c42(0x409)]);return _0x457a3b?{'row':_0x457a3b[_0x859c42(0x2d5)],'col':_0x457a3b[_0x859c42(0x3e2)],'value':null}:null;}[_0x3401ce(0x228)](_0x5139c7){const _0x2e6687=_0x3401ce;var _0xeb14;let _0x51fba9=this[_0x2e6687(0x2ca)][_0x2e6687(0x399)](_0x5139c7,_0x28d586['UNIVER_BASE']);return Object[_0x2e6687(0x288)]((_0xeb14=_0x51fba9==null?void 0x0:_0x51fba9[_0x2e6687(0x327)]()[_0x2e6687(0x391)])==null?{}:_0xeb14)[_0x2e6687(0x2db)](_0x4eb321=>!_0x4eb321['deleted'])['map'](_0x129b22=>_0x129b22['id']);}[_0x3401ce(0x1ce)](_0x235e0e,_0x18132c){return Wr(_0x235e0e,_0x18132c);}[_0x3401ce(0x31f)](){const _0x5a0ffd=_0x3401ce;let _0x33008d=this['_univerInstanceService']['getAllUnitsForType'](_0x28d586['UNIVER_BASE'])[_0x5a0ffd(0x1d3)](_0x2b878b=>Wr(_0x2b878b[_0x5a0ffd(0x3d5)](),this[_0x5a0ffd(0x228)](_0x2b878b[_0x5a0ffd(0x3d5)]())));return Object['assign']({},..._0x33008d);}};Gr=U([H(0x0,_0x501764(_0x736133)),H(0x1,_0x594baa)],Gr);const Kr=new RegExp(String[_0x3401ce(0x3df)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),qr=/\{([^}]+)\}/g,Jr=new RegExp(String[_0x3401ce(0x3df)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Yr=new RegExp(String[_0x3401ce(0x3df)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Xr=class{[_0x3401ce(0x217)](_0x352451,_0x2f725d=_0x352451['id']){const _0xb436e7=_0x3401ce;return{'sheetId':_0x2f725d,'titleMap':new Map(_0x352451[_0xb436e7(0x264)][_0xb436e7(0x1d3)]((_0x379be9,_0xeb32f8)=>{const _0x2a8faa=_0xb436e7;var _0x3b059c,_0x40eca9;return[(_0x3b059c=(_0x40eca9=_0x352451['fields'][_0x379be9])==null?void 0x0:_0x40eca9[_0x2a8faa(0x1fe)])==null?_0x379be9:_0x3b059c,_0xeb32f8];})),'range':{'startRow':0x0,'endRow':Object[_0xb436e7(0x288)](_0x352451[_0xb436e7(0x320)])[_0xb436e7(0x2db)](_0x4eaf69=>!_0x4eaf69[_0xb436e7(0x219)])[_0xb436e7(0x2b1)],'startColumn':0x0,'endColumn':Math['max'](0x0,_0x352451[_0xb436e7(0x264)][_0xb436e7(0x2b1)]-0x1)}};}['registerSuperTable'](_0x5c244e,_0x513cf0,_0x3c3e72,_0x684230={}){const _0x1e114b=_0x3401ce;var _0x7bec20;let _0x35efd9=this['createSuperTableReference'](_0x3c3e72,(_0x7bec20=_0x684230[_0x1e114b(0x269)])==null?_0x3c3e72['id']:_0x7bec20);return new Set([_0x3c3e72['id'],_0x3c3e72[_0x1e114b(0x1fe)],_0x684230['tableName']]['filter'](_0x2fcd31=>!!_0x2fcd31))[_0x1e114b(0x3f4)](_0x4f7a33=>_0x5c244e[_0x1e114b(0x2f3)](_0x513cf0,_0x4f7a33,_0x35efd9)),_0x35efd9;}['registerSuperTables'](_0x1e7bf2,_0x39fe7){const _0x100b4f=_0x3401ce;let _0x4cbb12=[],_0x337c16=new Map();return Object['values'](_0x39fe7[_0x100b4f(0x391)])[_0x100b4f(0x2db)](_0x16416d=>!_0x16416d[_0x100b4f(0x219)])[_0x100b4f(0x3f4)](_0xc69ad3=>{const _0x324d53=_0x100b4f;var _0xccec8e;let _0x15c121=_0xc69ad3[_0x324d53(0x1fe)][_0x324d53(0x297)]()[_0x324d53(0x242)]();_0x337c16[_0x324d53(0x270)](_0x15c121,((_0xccec8e=_0x337c16[_0x324d53(0x192)](_0x15c121))==null?0x0:_0xccec8e)+0x1);}),Object[_0x100b4f(0x288)](_0x39fe7[_0x100b4f(0x391)])[_0x100b4f(0x2db)](_0x4b0d09=>!_0x4b0d09['deleted'])[_0x100b4f(0x3f4)](_0x1e0841=>{const _0x4b67b8=_0x100b4f;var _0x2256af;let _0x46f6c5=this[_0x4b67b8(0x217)](_0x1e0841,_0x1e0841['id']);_0x1e7bf2[_0x4b67b8(0x2f3)](_0x39fe7['id'],_0x1e0841['id'],_0x46f6c5),((_0x2256af=_0x337c16['get'](_0x1e0841[_0x4b67b8(0x1fe)][_0x4b67b8(0x297)]()['toLowerCase']()))==null?0x0:_0x2256af)===0x1&&_0x1e7bf2[_0x4b67b8(0x2f3)](_0x39fe7['id'],_0x1e0841[_0x4b67b8(0x1fe)],_0x46f6c5),_0x4cbb12[_0x4b67b8(0x2b5)](_0x46f6c5);}),_0x4cbb12;}['validateFormula'](_0x5e2706,_0x4640d5,_0x36eb59={}){const _0x500e7a=_0x3401ce;let _0x3a43e0=_0x5e2706[_0x500e7a(0x297)]();if(!_0x3a43e0)return{'valid':!0x0};if(Kr[_0x500e7a(0x19b)](_0x3a43e0))return{'valid':!0x1,'reason':_0x500e7a(0x23b)};for(let _0x221935 of ei(_0x3a43e0)){let _0x21f6f3=ii(_0x221935,_0x4640d5,_0x36eb59[_0x500e7a(0x382)]);if(!_0x21f6f3[_0x500e7a(0x39c)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x221935[_0x500e7a(0x383)]+_0x500e7a(0x183)};if(!_0x21f6f3['field'])return{'valid':!0x1,'reason':_0x500e7a(0x263)+_0x221935[_0x500e7a(0x23c)]+_0x500e7a(0x183)};}return{'valid':!0x0};}['getDependencies'](_0x5d830b,_0xd6c914,_0x5017eb={}){const _0x1fc21f=_0x3401ce;let _0x4af37d=new Set();for(let _0x5e530a of this[_0x1fc21f(0x2c2)](_0x5d830b,_0xd6c914,_0x5017eb))_0x5e530a[_0x1fc21f(0x18a)]===_0xd6c914['id']&&_0x4af37d[_0x1fc21f(0x221)](_0x5e530a[_0x1fc21f(0x409)]);return Array[_0x1fc21f(0x33e)](_0x4af37d);}['getStructuredDependencies'](_0xe6bed6,_0xce4dec,_0x2e4423={}){const _0x20b4e8=_0x3401ce;let _0x95108a=new Map();for(let _0x3f7083 of ei(_0xe6bed6)){let _0x395da9=ii(_0x3f7083,_0xce4dec,_0x2e4423['snapshot']);if(!_0x395da9['table']||!_0x395da9[_0x20b4e8(0x1a4)])continue;let _0x1048eb=_0x395da9[_0x20b4e8(0x39c)]['id']+'\x1f'+_0x395da9[_0x20b4e8(0x1a4)]['id'];_0x95108a[_0x20b4e8(0x270)](_0x1048eb,{'tableId':_0x395da9[_0x20b4e8(0x39c)]['id'],'fieldId':_0x395da9['field']['id']});}return Array[_0x20b4e8(0x33e)](_0x95108a[_0x20b4e8(0x288)]());}};function Zr(_0x597e9a){const _0x455009=_0x3401ce;let _0x992c9c={},_0x189407={},_0x354edc={[_0x597e9a['id']]:{}},_0x16a619={[_0x597e9a['id']]:{}};return _0x992c9c[_0x597e9a['id']]={},_0x189407[_0x597e9a['id']]={},Object['values'](_0x597e9a[_0x455009(0x391)])[_0x455009(0x2db)](_0x56964d=>!_0x56964d[_0x455009(0x219)])[_0x455009(0x3f4)](_0x59eae3=>{const _0x378a8d=_0x455009;var _0x56a786,_0x324527,_0x1dbe92;let _0x2c9b0d=C(_0x59eae3),_0x4bc881=new _0x358cd4(),_0x2816ee={};(_0x56a786=_0x2c9b0d[_0x378a8d(0x275)])==null||_0x56a786[_0x378a8d(0x3f4)]((_0x24803e,_0x76b444)=>{const _0x1c650b=_0x378a8d;let _0x43cfa2=_0x2c9b0d[_0x1c650b(0x320)][_0x24803e];!_0x43cfa2||_0x43cfa2[_0x1c650b(0x219)]||_0x2c9b0d['fieldOrder']['forEach']((_0x139878,_0x140abd)=>{const _0x273369=_0x1c650b;let _0x2212bf=_0x2c9b0d[_0x273369(0x204)][_0x139878];if(!_0x2212bf||_0x2212bf['deleted'])return;let _0x3869d9=xe(_0x2c9b0d,_0x24803e,_0x139878);if(_0x3869d9!==void 0x0&&_0x4bc881[_0x273369(0x1d0)](_0x76b444,_0x140abd,w(_0x3869d9,_0x2212bf)),_0x2212bf[_0x273369(0x1b1)]==='formula'){var _0x251f6d,_0x4af9b2;let _0x1988af=String((_0x251f6d=(_0x4af9b2=_0x2212bf['config'])==null?void 0x0:_0x4af9b2[_0x273369(0x291)])==null?'':_0x251f6d)[_0x273369(0x297)]();_0x1988af&&(_0x2816ee[_0x76b444]!=null||(_0x2816ee[_0x76b444]={}),_0x2816ee[_0x76b444][_0x140abd]={'f':ti(_0x1988af,_0x2c9b0d,_0x597e9a),'si':_0x2212bf['id']});}});}),_0x992c9c[_0x597e9a['id']][_0x2c9b0d['id']]=_0x2816ee,_0x189407[_0x597e9a['id']][_0x2c9b0d['id']]={'cellData':_0x4bc881,'rowCount':(_0x324527=(_0x1dbe92=_0x2c9b0d['recordOrder'])==null?void 0x0:_0x1dbe92[_0x378a8d(0x2db)](_0x82e521=>{const _0x24823e=_0x378a8d;var _0x149eea;return!((_0x149eea=_0x2c9b0d['records'][_0x82e521])!=null&&_0x149eea[_0x24823e(0x219)]);})[_0x378a8d(0x2b1)])==null?0x0:_0x324527,'columnCount':_0x2c9b0d[_0x378a8d(0x264)][_0x378a8d(0x2db)](_0x566aea=>{const _0xb1aa90=_0x378a8d;var _0x3de024;return!((_0x3de024=_0x2c9b0d['fields'][_0x566aea])!=null&&_0x3de024[_0xb1aa90(0x219)]);})[_0x378a8d(0x2b1)],'rowData':{},'columnData':{}},_0x16a619[_0x597e9a['id']][_0x2c9b0d[_0x378a8d(0x1fe)]]=_0x2c9b0d['id'];}),{'formulaData':_0x992c9c,'allUnitData':_0x189407,'unitStylesData':_0x354edc,'unitSheetNameMap':_0x16a619};}function Qr(_0x1ec279,_0x1ecf3c){const _0x3bc8e8=_0x3401ce;var _0x13df90;let _0x27cbce=[],_0x5df86b=(_0x13df90=_0x1ecf3c[_0x3bc8e8(0x38c)])==null?void 0x0:_0x13df90[_0x1ec279['id']];return _0x5df86b&&Object[_0x3bc8e8(0x184)](_0x5df86b)['forEach'](([_0x4d1292,_0x4310aa])=>{const _0x3d561d=_0x3bc8e8;let _0x2d4c05=_0x1ec279[_0x3d561d(0x391)][_0x4d1292];if(!_0x2d4c05||_0x2d4c05[_0x3d561d(0x219)]||!_0x4310aa)return;let _0x3afc12=C(_0x2d4c05),_0x4de8ba=[];Object['entries'](_0x4310aa)[_0x3d561d(0x3f4)](([_0x17e518,_0x3eae90])=>{const _0xe774b=_0x3d561d;let _0x432dae=Number(_0x17e518);_0x3eae90&&Object[_0xe774b(0x184)](_0x3eae90)[_0xe774b(0x3f4)](([_0x1c1d87,_0x493974])=>{const _0x5dbd8f=_0xe774b;var _0x3fb009,_0x41b388,_0x154fe6,_0x325130,_0x2cd730,_0x1cd73e,_0x2a0367,_0x684c80;let _0x1155b9=Number(_0x1c1d87),_0x4f7bca=(_0x3fb009=_0x3afc12[_0x5dbd8f(0x21e)])==null?void 0x0:_0x3fb009[_0x432dae],_0x28181a=_0x4f7bca?_0x3afc12[_0x5dbd8f(0x320)][_0x4f7bca]:null;if(!_0x28181a||_0x28181a[_0x5dbd8f(0x219)])return;let _0x18f89f=(_0x41b388=_0x3afc12[_0x5dbd8f(0x359)])==null?void 0x0:_0x41b388[_0x1155b9],_0x4fa61f=_0x18f89f?_0x3afc12[_0x5dbd8f(0x204)][_0x18f89f]:null;if(!_0x4fa61f||_0x4fa61f[_0x5dbd8f(0x219)]||_0x4fa61f[_0x5dbd8f(0x1b1)]!==_0x5dbd8f(0x291))return;let _0x3307f4=String((_0x154fe6=(_0x325130=_0x4fa61f['config'])==null?void 0x0:_0x325130[_0x5dbd8f(0x291)])==null?'':_0x154fe6)['trim'](),_0x43763b=_0x432dae===0x0&&_0x3307f4?{..._0x493974==null?{}:_0x493974,'v':(_0x2cd730=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x2cd730,'t':$r((_0x1cd73e=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x1cd73e),'f':_0x3307f4,'si':_0x4fa61f['id']}:{..._0x493974==null?{}:_0x493974,'v':(_0x2a0367=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x2a0367,'t':$r((_0x684c80=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x684c80),'si':_0x4fa61f['id']};_0x4de8ba['push']({'row':_0x432dae,'col':_0x1155b9,'value':_0x43763b});});}),_0x4de8ba['length']&&_0x27cbce[_0x3d561d(0x2b5)]({'unitId':_0x1ec279['id'],'tableId':_0x4d1292,'patches':_0x4de8ba});}),_0x27cbce;}function $r(_0x21f416){const _0x4e55ac=_0x3401ce;return typeof _0x21f416==_0x4e55ac(0x1e4)?_0x44215b[_0x4e55ac(0x3fd)]:typeof _0x21f416=='boolean'?_0x44215b[_0x4e55ac(0x2d8)]:typeof _0x21f416==_0x4e55ac(0x3f7)?_0x44215b[_0x4e55ac(0x1ec)]:null;}function ei(_0x32bb82){const _0x2ade62=_0x3401ce;let _0x4ce2ca=new Map();for(let _0x39b13f of _0x32bb82[_0x2ade62(0x3a7)](qr)){let _0x1bbf67={'fieldName':_0x39b13f[0x1]};_0x4ce2ca[_0x2ade62(0x270)]('\x1f'+_0x1bbf67['fieldName'],_0x1bbf67);}for(let _0x424f52 of _0x32bb82[_0x2ade62(0x3a7)](Jr)){let _0x1df0f2={'tableName':_0x424f52[0x1],'fieldName':_0x424f52[0x2]};_0x4ce2ca[_0x2ade62(0x270)](_0x1df0f2[_0x2ade62(0x383)]+'\x1f'+_0x1df0f2[_0x2ade62(0x23c)],_0x1df0f2);}for(let _0x356198 of _0x32bb82['matchAll'](Yr)){let _0x22fce7={'fieldName':_0x356198[0x2]};_0x4ce2ca[_0x2ade62(0x270)]('\x1f'+_0x22fce7[_0x2ade62(0x23c)],_0x22fce7);}return Array[_0x2ade62(0x33e)](_0x4ce2ca[_0x2ade62(0x288)]());}function ti(_0x49f851,_0x31396c,_0x41f39e){const _0x23727c=_0x3401ce;let _0x233f0d=[],_0x5e1b3c=_0x5c9211=>_0x23727c(0x2dd)+(_0x233f0d[_0x23727c(0x2b5)](_0x5c9211)-0x1)+'__';return _0x49f851[_0x23727c(0x2a6)](qr,(_0x46e61e,_0x42c4b6)=>_0x5e1b3c(ri(_0x31396c,_0x42c4b6,_0x41f39e)))[_0x23727c(0x2a6)](Jr,(_0x4f3035,_0x404e02,_0x2d1a1d)=>{let _0x44e36f=ai(_0x404e02,_0x31396c,_0x41f39e);return _0x44e36f?_0x5e1b3c(ri(_0x44e36f,_0x2d1a1d,_0x41f39e)):_0x404e02+'['+_0x2d1a1d+']';})['replace'](Yr,(_0x506b56,_0x131ae2,_0x1c6ad1)=>''+_0x131ae2+_0x5e1b3c(ri(_0x31396c,_0x1c6ad1,_0x41f39e)))[_0x23727c(0x2a6)](/__BASE_FORMULA_REF_(\d+)__/g,(_0xd31010,_0x1ba388)=>{var _0x30608e;return(_0x30608e=_0x233f0d[Number(_0x1ba388)])==null?'':_0x30608e;});}function ni(_0x30c31d,_0x2207b9){const _0x27c281=_0x3401ce;return Object[_0x27c281(0x288)](_0x2207b9[_0x27c281(0x391)])[_0x27c281(0x2db)](_0x49bf23=>!_0x49bf23[_0x27c281(0x219)]&&_0x49bf23[_0x27c281(0x1fe)]===_0x30c31d[_0x27c281(0x1fe)])['length']===0x1?_0x30c31d['name']:_0x30c31d['id'];}function ri(_0x7b06a6,_0x26fb02,_0x1c5e3a){const _0x51be66=_0x3401ce;return ni(_0x7b06a6,_0x1c5e3a)+_0x51be66(0x390)+_0x26fb02+']]';}function ii(_0x215273,_0x54d22e,_0x1f27db){const _0x7d5d88=_0x3401ce;let _0x6c258a=ai(_0x215273[_0x7d5d88(0x383)],_0x54d22e,_0x1f27db);return{'table':_0x6c258a,'field':_0x6c258a?Object[_0x7d5d88(0x288)](_0x6c258a[_0x7d5d88(0x204)])['find'](_0x209039=>_0x209039[_0x7d5d88(0x1fe)]===_0x215273[_0x7d5d88(0x23c)]&&!_0x209039[_0x7d5d88(0x219)]):void 0x0};}function ai(_0x5bc6eb,_0x4d14c9,_0x22e147){const _0x24062e=_0x3401ce;if(!_0x5bc6eb||_0x5bc6eb===_0x24062e(0x39c)||_0x5bc6eb===_0x4d14c9['id']||_0x5bc6eb===_0x4d14c9[_0x24062e(0x1fe)])return _0x4d14c9;if(!_0x22e147)return;let _0x4c5ee2=_0x22e147[_0x24062e(0x391)][_0x5bc6eb];if(_0x4c5ee2&&!_0x4c5ee2[_0x24062e(0x219)])return _0x4c5ee2;let _0x224db7=Object[_0x24062e(0x288)](_0x22e147[_0x24062e(0x391)])[_0x24062e(0x2db)](_0x23e697=>!_0x23e697[_0x24062e(0x219)]&&_0x23e697['name']===_0x5bc6eb);return _0x224db7[_0x24062e(0x2b1)]===0x1?_0x224db7[0x0]:void 0x0;}let X=class extends _0x4b5308{constructor(_0x245a00,_0x118937,_0x5881fc){const _0x215b58=_0x3401ce;super(),this[_0x215b58(0x3c4)]=_0x245a00,this[_0x215b58(0x3dd)]=_0x118937,this[_0x215b58(0x2ca)]=_0x5881fc,R(this,_0x215b58(0x3d9),new Xr()),R(this,'_applyingFormulaResults',!0x1),this['_initialize']();}[_0x3401ce(0x265)](){const _0x4fcf91=_0x3401ce;this[_0x4fcf91(0x2ca)]['getAllUnitsForType'](_0x28d586[_0x4fcf91(0x3ec)])[_0x4fcf91(0x3f4)](_0x1fa5ac=>{const _0x43501c=_0x4fcf91;this[_0x43501c(0x2f8)](_0x1fa5ac),this[_0x43501c(0x2ec)](_0x1fa5ac),this[_0x43501c(0x1d9)]({'forceCalculation':!0x0});}),this[_0x4fcf91(0x186)](this['_univerInstanceService'][_0x4fcf91(0x25d)](_0x28d586[_0x4fcf91(0x3ec)])[_0x4fcf91(0x155)](({unit:_0x467a13})=>{const _0x517888=_0x4fcf91;this[_0x517888(0x2f8)](_0x467a13),this[_0x517888(0x2ec)](_0x467a13),this[_0x517888(0x1d9)]({'forceCalculation':!0x0});})),this[_0x4fcf91(0x186)](this[_0x4fcf91(0x3dd)]['onCommandExecuted'](_0x42561b=>this[_0x4fcf91(0x1e7)](_0x42561b)));}[_0x3401ce(0x1e7)](_0x242330){const _0x187c0c=_0x3401ce;if(_0x242330['id']===_0xd732b0['id']){this['_applyFormulaResult'](_0x242330['params']);return;}if(this[_0x187c0c(0x408)]||_0x242330['id']!==Y['id'])return;let _0x1b831e=_0x242330[_0x187c0c(0x319)];(_0x1b831e!=null&&_0x1b831e[_0x187c0c(0x3c8)]?[this[_0x187c0c(0x2ca)][_0x187c0c(0x399)](_0x1b831e[_0x187c0c(0x3c8)],_0x28d586['UNIVER_BASE'])][_0x187c0c(0x2db)](_0x11201a=>!!_0x11201a):this[_0x187c0c(0x2ca)]['getAllUnitsForType'](_0x28d586[_0x187c0c(0x3ec)]))[_0x187c0c(0x3f4)](_0x41b8cb=>{const _0x3e71b3=_0x187c0c;this['_shouldSyncFormulaData'](_0x242330,_0x41b8cb)&&(this[_0x3e71b3(0x2f8)](_0x41b8cb),this[_0x3e71b3(0x2ec)](_0x41b8cb)),this['_requestCalculation'](this[_0x3e71b3(0x33d)](_0x242330,_0x41b8cb));});}[_0x3401ce(0x3b1)](_0x399862,_0x44b087){const _0x4d7fa9=_0x3401ce;var _0xa59320;if(_0x399862['id']!==Y['id'])return!0x1;let _0x2f0272=(_0xa59320=_0x399862['params'])==null?void 0x0:_0xa59320['op'];return _0x2f0272?Hr(_0x2f0272)[_0x4d7fa9(0x341)](_0x17664c=>_0x17664c[_0x4d7fa9(0x35d)]===_0x4d7fa9(0x3ad)?!_0x44b087[_0x4d7fa9(0x327)]()[_0x4d7fa9(0x391)][_0x17664c[_0x4d7fa9(0x18a)]]:!0x0):!0x0;}[_0x3401ce(0x2f8)](_0x3c5875){const _0x1448e2=_0x3401ce;let _0x483aae=this['_getSuperTableService']();_0x483aae&&this[_0x1448e2(0x3d9)][_0x1448e2(0x3e0)](_0x483aae,_0x3c5875['getSnapshot']());}[_0x3401ce(0x1d9)](_0x55ccf0={}){const _0x43d810=_0x3401ce;this[_0x43d810(0x3dd)][_0x43d810(0x27f)](_0x78da86['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0x55ccf0},{'onlyLocal':!0x0})[_0x43d810(0x1a3)](()=>void 0x0);}[_0x3401ce(0x2ec)](_0x47ef10){const _0x2b4a84=_0x3401ce;let _0x11ef2e=Zr(_0x47ef10['getSnapshot']());this['_commandService'][_0x2b4a84(0x27f)](_0x581d70['id'],{'formulaData':_0x11ef2e[_0x2b4a84(0x28b)]},{'onlyLocal':!0x0})[_0x2b4a84(0x1a3)](()=>void 0x0);}[_0x3401ce(0x3d8)](_0x30aa40){const _0x4dc467=_0x3401ce;let _0x4c0089=this[_0x4dc467(0x2ca)][_0x4dc467(0x364)](_0x28d586[_0x4dc467(0x3ec)])[_0x4dc467(0x278)](_0x340fc7=>Qr(_0x340fc7[_0x4dc467(0x327)](),_0x30aa40));if(!_0x4c0089[_0x4dc467(0x2b1)])return;let _0x1201d9=new I();this[_0x4dc467(0x408)]=!0x0,(async()=>{const _0x1fccff=_0x4dc467;for(let _0x219224 of _0x4c0089){let _0x3e8547=this[_0x1fccff(0x2ca)][_0x1fccff(0x399)](_0x219224[_0x1fccff(0x3c8)],_0x28d586[_0x1fccff(0x3ec)]);_0x3e8547&&await this['_commandService'][_0x1fccff(0x27f)](Y['id'],{'unitId':_0x219224[_0x1fccff(0x3c8)],'op':_0x1201d9[_0x1fccff(0x1c7)](_0x3e8547[_0x1fccff(0x327)](),_0x219224[_0x1fccff(0x18a)],_0x219224['patches']),'trigger':_0xd732b0['id']},{'onlyLocal':!0x0});}})()[_0x4dc467(0x168)](()=>{const _0x485a00=_0x4dc467;this[_0x485a00(0x408)]=!0x1;});}[_0x3401ce(0x1b3)](){try{return this['_injector']['get'](_0x3d817d);}catch{return null;}}[_0x3401ce(0x33d)](_0x3f7046,_0x3dec9d){const _0x5d9b2b=_0x3401ce;return _0x3f7046['id']===Y['id']?this[_0x5d9b2b(0x22b)](_0x3f7046[_0x5d9b2b(0x319)],_0x3dec9d):this['_createStructureDirtyData'](_0x3dec9d);}['_createJson1DirtyData'](_0x1b5549,_0x2addb7){const _0x2daff6=_0x3401ce;if(!_0x1b5549['op'])return this[_0x2daff6(0x213)](_0x2addb7);let _0x55bcc5=Hr(_0x1b5549['op']),_0xb3e19=this['_getStructureDirtyTableIds'](_0x55bcc5,_0x2addb7);if(_0xb3e19[_0x2daff6(0x2b1)])return this[_0x2daff6(0x213)](_0x2addb7,_0xb3e19);let _0x530e02=Object[_0x2daff6(0x184)](this[_0x2daff6(0x1a8)](_0x55bcc5,_0x2addb7))[_0x2daff6(0x278)](([_0x935752,_0x30bc71])=>Ur({'unitId':_0x2addb7[_0x2daff6(0x3d5)](),'tableId':_0x935752,'patches':_0x30bc71}));return _0x530e02[_0x2daff6(0x2b1)]?{'dirtyRanges':_0x530e02}:this['_createStructureDirtyData'](_0x2addb7);}[_0x3401ce(0x318)](_0x5eeb39,_0x620408){const _0xfb0e5d=_0x3401ce;let _0x356a4c=_0x5eeb39[_0xfb0e5d(0x2db)](_0x228c01=>_0x228c01[_0xfb0e5d(0x35d)]!=='cell')[_0xfb0e5d(0x278)](_0x41be7f=>_0x41be7f['tableId']?[_0x41be7f[_0xfb0e5d(0x18a)]]:Object[_0xfb0e5d(0x2fe)](_0x620408[_0xfb0e5d(0x327)]()['tables']));return Array[_0xfb0e5d(0x33e)](new Set(_0x356a4c));}[_0x3401ce(0x1a8)](_0x47b954,_0x8c8c49){const _0xde01e5=_0x3401ce;let _0x1eaf01=new Set();return _0x47b954[_0xde01e5(0x2e5)]((_0xcbce13,_0xddd004)=>{const _0x20526d=_0xde01e5;var _0x3c788a;let _0x31caa6=this[_0x20526d(0x1d5)](_0xddd004,_0x8c8c49);if(!_0x31caa6)return _0xcbce13;let _0x5b6f14=_0xddd004[_0x20526d(0x18a)]+':'+_0x31caa6[_0x20526d(0x2d5)]+':'+_0x31caa6[_0x20526d(0x3e2)];return _0x1eaf01[_0x20526d(0x356)](_0x5b6f14)?_0xcbce13:(_0x1eaf01[_0x20526d(0x221)](_0x5b6f14),_0xcbce13[_0xddd004[_0x20526d(0x18a)]]=(_0x3c788a=_0xcbce13[_0xddd004['tableId']])==null?[]:_0x3c788a,_0xcbce13[_0xddd004[_0x20526d(0x18a)]]['push'](_0x31caa6),_0xcbce13);},{});}['_toDirtyRangePatch'](_0x387381,_0x188e28){const _0x26e32a=_0x3401ce;if(_0x387381[_0x26e32a(0x35d)]!==_0x26e32a(0x3ad))return null;if(_0x387381[_0x26e32a(0x2d5)]!=null&&_0x387381['column']!=null)return{'row':_0x387381[_0x26e32a(0x2d5)],'col':_0x387381[_0x26e32a(0x311)],'value':null};let _0x39dac1=_0x188e28[_0x26e32a(0x327)]()['tables'][_0x387381[_0x26e32a(0x18a)]];if(!_0x39dac1||!_0x387381[_0x26e32a(0x163)]||!_0x387381[_0x26e32a(0x409)])return null;let _0x33b6d8=ye(_0x39dac1,_0x387381[_0x26e32a(0x163)],_0x387381['fieldId']);return _0x33b6d8?{'row':_0x33b6d8[_0x26e32a(0x2d5)],'col':_0x33b6d8['col'],'value':null}:null;}[_0x3401ce(0x213)](_0x4860af,_0x4e4f2a){const _0x5d56a6=_0x3401ce;let _0x778bdf=_0x4e4f2a==null?Object[_0x5d56a6(0x288)](_0x4860af[_0x5d56a6(0x327)]()['tables'])[_0x5d56a6(0x2db)](_0x1efc5e=>!_0x1efc5e[_0x5d56a6(0x219)])[_0x5d56a6(0x1d3)](_0xb98b7d=>_0xb98b7d['id']):_0x4e4f2a,_0x3f1a6f=Wr(_0x4860af[_0x5d56a6(0x3d5)](),_0x778bdf);return{'dirtySuperTableMap':_0x3f1a6f,'clearDependencyTreeCache':_0x3f1a6f,'forceCalculation':!0x0};}};X=U([H(0x0,_0x501764(_0x736133)),H(0x1,_0x27a4ab),H(0x2,_0x594baa)],X);let oi=class extends _0x4b5308{constructor(_0x93e66e,_0x3a874a,_0x4522d2){const _0x54859c=_0x3401ce;super(),this[_0x54859c(0x3dd)]=_0x93e66e,this[_0x54859c(0x2ca)]=_0x3a874a,this[_0x54859c(0x1b0)]=_0x4522d2,R(this,_0x54859c(0x3d9),new Xr()),this['_initialize']();}[_0x3401ce(0x265)](){const _0x310fb4=_0x3401ce;this[_0x310fb4(0x2ca)][_0x310fb4(0x364)](_0x28d586[_0x310fb4(0x3ec)])['forEach'](_0x50324f=>{this['_registerSuperTables'](_0x50324f);}),this[_0x310fb4(0x186)](this[_0x310fb4(0x2ca)][_0x310fb4(0x25d)](_0x28d586[_0x310fb4(0x3ec)])['subscribe'](({unit:_0x1c6809})=>{const _0x3f14e0=_0x310fb4;this[_0x3f14e0(0x2f8)](_0x1c6809);})),this['disposeWithMe'](this[_0x310fb4(0x3dd)]['onCommandExecuted'](_0x11e432=>this[_0x310fb4(0x1e7)](_0x11e432)));}[_0x3401ce(0x1e7)](_0x449112){const _0x48c095=_0x3401ce;if(!this[_0x48c095(0x28e)](_0x449112))return;let _0x5fa330=_0x449112['params'];(_0x5fa330!=null&&_0x5fa330['unitId']?[this[_0x48c095(0x2ca)][_0x48c095(0x399)](_0x5fa330[_0x48c095(0x3c8)],_0x28d586[_0x48c095(0x3ec)])]['filter'](_0x4903e4=>!!_0x4903e4):this[_0x48c095(0x2ca)]['getAllUnitsForType'](_0x28d586['UNIVER_BASE']))['forEach'](_0x1b8089=>this[_0x48c095(0x2f8)](_0x1b8089));}['_shouldRefreshSuperTables'](_0x44b557){const _0x123614=_0x3401ce;var _0x4914d2;if(_0x44b557['id']!==Y['id'])return!0x1;let _0x578bf8=(_0x4914d2=_0x44b557['params'])==null?void 0x0:_0x4914d2['op'];return!_0x578bf8||Hr(_0x578bf8)[_0x123614(0x341)](_0x28cee2=>_0x28cee2[_0x123614(0x35d)]!=='cell');}[_0x3401ce(0x2f8)](_0x2f28fd){const _0x2171ea=_0x3401ce;this[_0x2171ea(0x1b0)]&&this['_formulaService']['registerSuperTables'](this[_0x2171ea(0x1b0)],_0x2f28fd['getSnapshot']());}};oi=U([H(0x0,_0x27a4ab),H(0x1,_0x594baa),H(0x2,_0x6b4241(_0x3d817d))],oi);const si=_0x53452b(_0x3401ce(0x304));let ci=class{constructor(_0x38bedd){const _0x4beaed=_0x3401ce;this[_0x4beaed(0x2ca)]=_0x38bedd;}[_0x3401ce(0x360)](_0x2f49b6){const _0x402863=_0x3401ce;var _0x2d913b;return(_0x2d913b=this[_0x402863(0x2ca)][_0x402863(0x399)](_0x2f49b6,_0x28d586[_0x402863(0x3ec)]))==null?null:_0x2d913b;}[_0x3401ce(0x259)](){const _0x513844=_0x3401ce;return this[_0x513844(0x2ca)][_0x513844(0x364)](_0x28d586[_0x513844(0x3ec)]);}['createBase'](_0x492a06){const _0x47af69=_0x3401ce;return this['_univerInstanceService'][_0x47af69(0x1cb)](_0x28d586[_0x47af69(0x3ec)],_0x492a06);}};ci=U([H(0x0,_0x594baa)],ci);const li=_0x53452b(_0x3401ce(0x3cc));var ui=class extends _0x4b5308{constructor(..._0x1f9faa){const _0x34984b=_0x3401ce;super(..._0x1f9faa),R(this,_0x34984b(0x350),new Map());}[_0x3401ce(0x2e7)](_0x41957f){const _0x1cbc8f=_0x3401ce;return this[_0x1cbc8f(0x350)][_0x1cbc8f(0x270)](_0x41957f[_0x1cbc8f(0x1b1)],_0x41957f),_0x200b81(()=>this[_0x1cbc8f(0x350)][_0x1cbc8f(0x1d6)](_0x41957f[_0x1cbc8f(0x1b1)]));}[_0x3401ce(0x192)](_0x930749){const _0xd188f0=_0x3401ce;let _0x2cccb7=this[_0xd188f0(0x350)]['get'](_0x930749);if(!_0x2cccb7)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x930749+_0xd188f0(0x3b0));return _0x2cccb7;}[_0x3401ce(0x188)](){const _0x53cb93=_0x3401ce;return Array[_0x53cb93(0x33e)](this['_plugins'][_0x53cb93(0x288)]());}};const di=[Y];let Z=class extends _0xdb962{constructor(_0x41f503=Br,_0x5edfe4,_0x45815f,_0x3aa882,_0x4c0345,_0x3a61b0){const _0x2e397f=_0x3401ce;super(),this[_0x2e397f(0x182)]=_0x41f503,this[_0x2e397f(0x3c4)]=_0x5edfe4,this[_0x2e397f(0x3dd)]=_0x45815f,this[_0x2e397f(0x2ca)]=_0x3aa882,this[_0x2e397f(0x30d)]=_0x4c0345,this['_dataSyncPrimaryController']=_0x3a61b0,R(this,_0x2e397f(0x1f9),new Map());let {..._0x3b6f98}=_0x302022({},Br,this['_config']);this[_0x2e397f(0x30d)][_0x2e397f(0x3f1)]('bases.config',_0x3b6f98),this['_univerInstanceService'][_0x2e397f(0x1b5)](_0x28d586[_0x2e397f(0x3ec)],_0x214695),this[_0x2e397f(0x1fc)](),this[_0x2e397f(0x2bc)](),this['_initRegistries'](),this['_initDataSync']();}['onReady'](){const _0x397172=_0x3401ce;_0x4ff5ed(this['_injector'],[[ci],[qt],[Gr],[X]]),this[_0x397172(0x2ca)][_0x397172(0x364)](_0x28d586['UNIVER_BASE'])[_0x397172(0x3f4)](_0x3085eb=>this[_0x397172(0x384)](_0x3085eb[_0x397172(0x3d5)]()));}[_0x3401ce(0x1fc)](){const _0x1b80f4=_0x3401ce;[[z,{'useClass':Wt}],[li,{'useClass':ui}],[an,{'useClass':sn}],[si,{'useClass':ci}],[Gt,{'useClass':Kt}],[W,{'useClass':qt}],[Gr],[X]]['forEach'](_0x5e8f16=>this[_0x1b80f4(0x3c4)]['add'](_0x5e8f16));}['_initCommands'](){const _0x5b7664=_0x3401ce;[Vn,mr,ar,Tr,vr,_r,Bn,In,ir,Ln,cr,kr,zn,sr,Dr,Er,Rn,rr,fr,nr,lr,hr,or,pr,Ar,gr,Or,Sr,wr,Cr,br,xr,yr,...di]['forEach'](_0x4f064b=>this['disposeWithMe'](this[_0x5b7664(0x3dd)][_0x5b7664(0x17d)](_0x4f064b))),di[_0x5b7664(0x3f4)](_0x39dac9=>{const _0x4c9ed7=_0x5b7664;var _0x4a52cd;return(_0x4a52cd=this[_0x4c9ed7(0x280)])==null?void 0x0:_0x4a52cd[_0x4c9ed7(0x2f2)](_0x39dac9);});}['_initDataSync'](){const _0x9ba0c=_0x3401ce;this['_dataSyncPrimaryController']&&(this[_0x9ba0c(0x186)](this[_0x9ba0c(0x2ca)]['getTypeOfUnitAdded$'](_0x28d586[_0x9ba0c(0x3ec)])['subscribe'](({unit:_0x2437cb})=>{const _0x2d4639=_0x9ba0c;this[_0x2d4639(0x384)](_0x2437cb[_0x2d4639(0x3d5)]());})),this[_0x9ba0c(0x186)](this[_0x9ba0c(0x2ca)][_0x9ba0c(0x1a9)](_0x28d586[_0x9ba0c(0x3ec)])[_0x9ba0c(0x155)](_0x2f0a9f=>{const _0x500a02=_0x9ba0c;var _0x33957f;(_0x33957f=this[_0x500a02(0x1f9)][_0x500a02(0x192)](_0x2f0a9f[_0x500a02(0x3d5)]()))==null||_0x33957f['dispose'](),this['_baseSyncDisposables'][_0x500a02(0x1d6)](_0x2f0a9f['getUnitId']());})));}['_syncBaseUnit'](_0x35ec85){const _0x2f2c3d=_0x3401ce;!this[_0x2f2c3d(0x280)]||this[_0x2f2c3d(0x1f9)][_0x2f2c3d(0x356)](_0x35ec85)||this[_0x2f2c3d(0x1f9)]['set'](_0x35ec85,this['_dataSyncPrimaryController'][_0x2f2c3d(0x348)](_0x35ec85));}[_0x3401ce(0x24f)](){const _0x4789ce=_0x3401ce;let _0x5d3b32=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](z);Ct()[_0x4789ce(0x3f4)](_0x2c7ade=>_0x5d3b32[_0x4789ce(0x2e7)](_0x2c7ade));let _0x30b65c=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](li),_0x30ae1e=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](an);$t()[_0x4789ce(0x3f4)](_0x2861ee=>{const _0x5686a4=_0x4789ce;_0x30b65c[_0x5686a4(0x2e7)](_0x2861ee),_0x30ae1e['registerView'](_0x2861ee);});}};R(Z,_0x3401ce(0x3db),_0x3401ce(0x35c)),R(Z,_0x3401ce(0x3c6),Rr),R(Z,_0x3401ce(0x336),zr),R(Z,'type',_0x28d586[_0x3401ce(0x3ec)]),Z=U([_0x51bed4(_0x513848,_0x48dab4),H(0x1,_0x501764(_0x736133)),H(0x2,_0x27a4ab),H(0x3,_0x594baa),H(0x4,_0x29d163),H(0x5,_0x6b4241(_0x242116))],Z);let Q=class extends _0xdb962{constructor(_0x90894d=Vr,_0x48604f,_0x3bde7b,_0x6308e7,_0x6aa4c2){const _0x54474c=_0x3401ce;super(),this[_0x54474c(0x182)]=_0x90894d,this['_injector']=_0x48604f,this['_commandService']=_0x3bde7b,this['_configService']=_0x6308e7,this[_0x54474c(0x2ca)]=_0x6aa4c2;let {..._0x57042a}=_0x302022({},Vr,this[_0x54474c(0x182)]);this[_0x54474c(0x30d)]['setConfig'](_0x54474c(0x2d9),_0x57042a),this['_univerInstanceService']['registerCtorForType'](_0x28d586[_0x54474c(0x3ec)],_0x214695),this['_injector'][_0x54474c(0x221)]([oi]),di['forEach'](_0x46d97f=>this[_0x54474c(0x186)](this[_0x54474c(0x3dd)][_0x54474c(0x17d)](_0x46d97f)));}[_0x3401ce(0x34a)](){const _0x51723b=_0x3401ce;_0x4ff5ed(this[_0x51723b(0x3c4)],[[oi]]);}};R(Q,_0x3401ce(0x3db),_0x3401ce(0x2de)),R(Q,'packageName',Rr),R(Q,'version',zr),R(Q,'type',_0x28d586['UNIVER_BASE']),Q=U([_0x51bed4(_0x48dab4),H(0x1,_0x501764(_0x736133)),H(0x2,_0x27a4ab),H(0x3,_0x29d163),H(0x4,_0x594baa)],Q);function fi(_0x42fca9){const _0x5b58dc=_0x3401ce;let _0x4b9285=Ti(_0x42fca9[_0x5b58dc(0x2c0)]);if(!_0x4b9285)return{'query':'','total':0x0,'matches':[]};let _0x4513eb=[],_0x485ee9=_0x42fca9[_0x5b58dc(0x1ff)][_0x5b58dc(0x1d3)]((_0xeccb76,_0x146208)=>({'field':_0x42fca9[_0x5b58dc(0x39c)]['fields'][_0xeccb76],'fieldIndex':_0x146208}))[_0x5b58dc(0x2db)](_0x4d475c=>!!(_0x4d475c[_0x5b58dc(0x1a4)]&&!_0x4d475c[_0x5b58dc(0x1a4)]['deleted']));_0x42fca9['rows']['forEach']((_0xcbeb1b,_0x15461a)=>{const _0x4da70a=_0x5b58dc;_0x485ee9[_0x4da70a(0x3f4)](({field:_0x243a95,fieldIndex:_0x319e0d})=>{const _0x3211ac=_0x4da70a;let _0x174a31=pi(_0xcbeb1b[_0x3211ac(0x288)][_0x243a95['id']],_0x243a95);if(!_0x174a31)return;let _0x279069=wi(_0x4b9285,_0x174a31[_0x3211ac(0x15a)]);_0x279069<=0x0||_0x4513eb[_0x3211ac(0x2b5)]({'recordId':_0xcbeb1b['recordId'],'fieldId':_0x243a95['id'],'fieldType':_0x243a95['type'],'text':_0x174a31['displayText'],'score':_0x279069,'rowIndex':_0x15461a,'fieldIndex':_0x319e0d});});}),_0x4513eb[_0x5b58dc(0x22f)]((_0x34644a,_0x59fbf7)=>_0x59fbf7['score']-_0x34644a['score']||_0x34644a[_0x5b58dc(0x1dd)]-_0x59fbf7[_0x5b58dc(0x1dd)]||_0x34644a[_0x5b58dc(0x30e)]-_0x59fbf7[_0x5b58dc(0x30e)]);let _0x13ca9c=_0x42fca9['limit']==null?_0x4513eb:_0x4513eb[_0x5b58dc(0x18b)](0x0,Math[_0x5b58dc(0x16c)](0x0,_0x42fca9[_0x5b58dc(0x2e4)]));return{'query':_0x4b9285,'total':_0x4513eb[_0x5b58dc(0x2b1)],'matches':_0x13ca9c[_0x5b58dc(0x1d3)](({rowIndex:_0x47ee2,fieldIndex:_0x542033,..._0x41fc24})=>_0x41fc24)};}function pi(_0x5e70b8,_0x5b816a){const _0x2e8eb5=_0x3401ce;let _0x46695c=hi(_0x5e70b8,_0x5b816a)[_0x2e8eb5(0x1d3)](Ti)[_0x2e8eb5(0x2db)](Boolean);return _0x46695c['length']?{'displayText':mi(_0x5e70b8,_0x5b816a),'searchTexts':Ei(_0x46695c)}:null;}function mi(_0x1a4702,_0x5e4af1){const _0x1817d6=_0x3401ce;switch(_0x5e4af1[_0x1817d6(0x1b1)]){case _0x1817d6(0x335):case _0x1817d6(0x380):case'group':return gi(_0x1a4702,_0x5e4af1)[_0x1817d6(0x1dc)](',\x20');case _0x1817d6(0x2ff):return yi(_0x1a4702);case _0x1817d6(0x177):case _0x1817d6(0x2d7):case _0x1817d6(0x1c8):return bi(_0x1a4702,_0x5e4af1);case _0x1817d6(0x1e4):case _0x1817d6(0x1cd):return xi(_0x1a4702,_0x5e4af1);case'progress':return Si(_0x1a4702,_0x5e4af1);case _0x1817d6(0x284):return _0x1a4702?_0x1817d6(0x218):_0x1817d6(0x3f6);case _0x1817d6(0x375):return Ci(_0x1a4702)[_0x1817d6(0x1dc)](',\x20');default:return $(_0x1a4702);}}function hi(_0x4d4f1a,_0x1ccc69){const _0x3bdc2b=_0x3401ce;switch(_0x1ccc69[_0x3bdc2b(0x1b1)]){case'singleSelect':case _0x3bdc2b(0x380):case _0x3bdc2b(0x403):{let _0x3b17d2=gi(_0x4d4f1a,_0x1ccc69),_0x3e3a12=Array['isArray'](_0x4d4f1a)?_0x4d4f1a[_0x3bdc2b(0x1d3)](String):_0x4d4f1a==null?[]:[String(_0x4d4f1a)];return[..._0x3b17d2,..._0x3e3a12];}case _0x3bdc2b(0x2ff):{let _0x233748=vi(_0x4d4f1a);return[_0x233748[_0x3bdc2b(0x1a1)],_0x233748[_0x3bdc2b(0x3af)]];}case _0x3bdc2b(0x177):case'createdAt':case _0x3bdc2b(0x1c8):return[bi(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x1e4):case _0x3bdc2b(0x1cd):return[xi(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x2a7):return[Si(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x284):return _0x4d4f1a?['Checked',_0x3bdc2b(0x170),_0x3bdc2b(0x313)]:['Unchecked','No',_0x3bdc2b(0x2cd)];case _0x3bdc2b(0x375):return Ci(_0x4d4f1a);default:return[$(_0x4d4f1a)];}}function gi(_0x48fcf8,_0x3e515f){const _0x5a44f6=_0x3401ce;var _0x49c412;let _0x47c261=Array['isArray']((_0x49c412=_0x3e515f['config'])==null?void 0x0:_0x49c412[_0x5a44f6(0x29e)])?_0x3e515f[_0x5a44f6(0x3cb)][_0x5a44f6(0x29e)]:[];return(Array['isArray'](_0x48fcf8)?_0x48fcf8[_0x5a44f6(0x1d3)](String):_0x48fcf8==null?[]:[String(_0x48fcf8)])[_0x5a44f6(0x2db)](Boolean)['map'](_0x5a7a9d=>_i(_0x47c261,_0x5a7a9d));}function _i(_0x16b12d,_0x2e2e3a){const _0x46d4f0=_0x3401ce;for(let _0x3acc3e of _0x16b12d){if(typeof _0x3acc3e==_0x46d4f0(0x3f7)&&_0x3acc3e===_0x2e2e3a)return _0x3acc3e;if(_0x3acc3e&&typeof _0x3acc3e=='object'){var _0x5b04f3,_0x137ca4,_0x378e7b;let _0x5bd658=_0x3acc3e;if(String((_0x5b04f3=(_0x137ca4=_0x5bd658['id'])==null?_0x5bd658[_0x46d4f0(0x1fe)]:_0x137ca4)==null?'':_0x5b04f3)===_0x2e2e3a||String((_0x378e7b=_0x5bd658[_0x46d4f0(0x1fe)])==null?'':_0x378e7b)===_0x2e2e3a){var _0x4c6aa4,_0x32fe46;return String((_0x4c6aa4=(_0x32fe46=_0x5bd658[_0x46d4f0(0x1fe)])==null?_0x5bd658['id']:_0x32fe46)==null?_0x2e2e3a:_0x4c6aa4);}}}return _0x2e2e3a;}function vi(_0x399b85){const _0x38db28=_0x3401ce;if(_0x399b85&&typeof _0x399b85==_0x38db28(0x331)&&!Array['isArray'](_0x399b85)){var _0x1fcae5,_0x18a7a9,_0x204a2b;let _0x33247a=_0x399b85;return{'text':String((_0x1fcae5=(_0x18a7a9=_0x33247a[_0x38db28(0x1a1)])==null?_0x33247a['url']:_0x18a7a9)==null?'':_0x1fcae5),'url':String((_0x204a2b=_0x33247a['url'])==null?'':_0x204a2b)};}return{'text':$(_0x399b85),'url':$(_0x399b85)};}function yi(_0x31b47){const _0x59ea0c=_0x3401ce;let _0x2b6e06=vi(_0x31b47);return _0x2b6e06[_0x59ea0c(0x1a1)]||_0x2b6e06['url'];}function bi(_0xcc5d6a,_0x4d3696){const _0x272e49=_0x3401ce;return typeof _0xcc5d6a!=_0x272e49(0x1e4)||!Number[_0x272e49(0x2fd)](_0xcc5d6a)?'':tt(_0xcc5d6a,_0x4d3696[_0x272e49(0x3cb)]);}function xi(_0x521cd1,_0x5d56cc){const _0xd45ee=_0x3401ce;let _0x329e8c=typeof _0x521cd1=='number'?_0x521cd1:Number(_0x521cd1);return Number[_0xd45ee(0x2fd)](_0x329e8c)?Mr(_0x329e8c,_0x5d56cc[_0xd45ee(0x3cb)]):'';}function Si(_0x3f207d,_0x59f72b){const _0x53ab20=_0x3401ce;var _0xb97403;let _0x370320=typeof _0x3f207d==_0x53ab20(0x1e4)?_0x3f207d:Number(_0x3f207d);if(!Number[_0x53ab20(0x2fd)](_0x370320))return'';let _0x316a32=(_0xb97403=_0x59f72b[_0x53ab20(0x3cb)])==null?{}:_0xb97403,_0xb0b147=_0x316a32[_0x53ab20(0x196)]===0x1||_0x316a32[_0x53ab20(0x196)]===0x2?_0x316a32['decimalPlaces']:0x0,_0x5ad1f2=_0x370320[_0x53ab20(0x2d4)](_0xb0b147);return _0x316a32[_0x53ab20(0x166)]===_0x53ab20(0x1e4)?_0x5ad1f2:_0x5ad1f2+'%';}function Ci(_0x2c63b2){const _0x531605=_0x3401ce;return Array['isArray'](_0x2c63b2)?_0x2c63b2[_0x531605(0x278)](_0x4a195f=>{const _0x463bce=_0x531605;var _0x2c54b8,_0x439e2c;if(!_0x4a195f||typeof _0x4a195f!=_0x463bce(0x331))return[];let _0x1a4d7a=_0x4a195f,_0x3c4f0f=String((_0x2c54b8=(_0x439e2c=_0x1a4d7a[_0x463bce(0x1fe)])==null?_0x1a4d7a[_0x463bce(0x3af)]:_0x439e2c)==null?'':_0x2c54b8)[_0x463bce(0x297)]();return _0x3c4f0f?[_0x3c4f0f]:[];}):[];}function $(_0x5110c7){const _0x48e1bc=_0x3401ce;if(_0x5110c7==null)return'';if(typeof _0x5110c7==_0x48e1bc(0x2b2))return _0x5110c7?'true':_0x48e1bc(0x3bc);if(typeof _0x5110c7==_0x48e1bc(0x1e4))return String(_0x5110c7);if(Array[_0x48e1bc(0x23e)](_0x5110c7))return _0x5110c7[_0x48e1bc(0x1d3)](_0x443d62=>$(_0x443d62))[_0x48e1bc(0x2db)](Boolean)[_0x48e1bc(0x1dc)](',\x20');if(typeof _0x5110c7==_0x48e1bc(0x331)){var _0x597d14,_0x2bd1d4,_0xc71756,_0x3d6f84;let _0x4c5554=_0x5110c7;return String((_0x597d14=(_0x2bd1d4=(_0xc71756=(_0x3d6f84=_0x4c5554[_0x48e1bc(0x2f0)])==null?_0x4c5554[_0x48e1bc(0x1fe)]:_0x3d6f84)==null?_0x4c5554[_0x48e1bc(0x1a1)]:_0xc71756)==null?_0x4c5554[_0x48e1bc(0x3af)]:_0x2bd1d4)==null?'':_0x597d14)[_0x48e1bc(0x297)]();}return String(_0x5110c7);}function wi(_0x315fc5,_0x22e980){const _0x5b397b=_0x3401ce;let _0x1659d8=0x0;for(let _0x26fd30 of _0x22e980)if(_0x26fd30){if(_0x26fd30===_0x315fc5){_0x1659d8=Math['max'](_0x1659d8,0x12c);continue;}if(_0x26fd30[_0x5b397b(0x1ac)](_0x315fc5)){_0x1659d8=Math[_0x5b397b(0x16c)](_0x1659d8,0xfa);continue;}_0x26fd30['includes'](_0x315fc5)&&(_0x1659d8=Math[_0x5b397b(0x16c)](_0x1659d8,0xc8));}return _0x1659d8;}function Ti(_0x7cdd5e){const _0x164fcf=_0x3401ce;return _0x7cdd5e[_0x164fcf(0x297)]()[_0x164fcf(0x2a6)](/\s+/g,'\x20')[_0x164fcf(0x242)]();}function Ei(_0x3217ef){const _0x226df0=_0x3401ce;return Array[_0x226df0(0x33e)](new Set(_0x3217ef));}export{Y as ApplyBaseJson1Mutation,D as BaseJson1OpApplier,I as BaseJson1OpFactory,In as BatchCreateBaseRecordsCommand,Ln as BatchDeleteBaseRecordsCommand,Rn as ChangeBaseFieldTypeCommand,zn as CreateBaseFieldCommand,Bn as CreateBaseRecordCommand,Vn as CreateBaseTableCommand,nr as CreateBaseViewCommand,rr as DeleteBaseFieldCommand,ir as DeleteBaseRecordCommand,ar as DeleteBaseTableCommand,or as DeleteBaseViewCommand,sr as DuplicateBaseFieldCommand,cr as DuplicateBaseRecordCommand,lr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,Gt as IBasePermissionService,an as IBaseProjectionService,li as IBaseViewRegistryService,fr as MoveBaseFieldCommand,pr as MoveBaseViewCommand,mr as RenameBaseTableCommand,hr as RenameBaseViewCommand,gr as SetBaseKanbanGroupFieldCommand,_r as SetBaseRangeValuesCommand,vr as SetBaseRecordValuesCommand,yr as SetBaseViewFieldOrderCommand,br as SetBaseViewFieldVisibleCommand,xr as SetBaseViewFieldWidthCommand,Sr as SetBaseViewFilterCommand,Cr as SetBaseViewGroupCommand,wr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Tr as UpdateBaseCellCommand,Dr as UpdateBaseFieldCommand,Er as UpdateBaseFieldDescriptionCommand,Or as UpdateBaseKanbanConfigCommand,kr as UpdateBaseRecordOrderCommand,Ar as UpdateBaseViewConfigCommand,A as baseDateSerialToDateMs,Lr as copyBaseTableSnapshot,O as dateToExcelSerial,C as ensureBaseTableCellLayout,tt as formatBaseDateValue,Mr as formatBaseNumberValue,Se as getBaseCellFormulaValue,xe as getBaseCellValue,Ir as inferBaseSeparatorStyle,ot as matchesBaseCondition,k as normalizeBaseDateSerial,fi as searchBaseTable,S as traceBasePerformance,Hn as uniqueFieldName};
|